From aa47272029f5156dcc94a3044755c499ccd77ce9 Mon Sep 17 00:00:00 2001 From: Andrei Mihu Date: Sun, 30 Dec 2018 17:37:08 +0000 Subject: [PATCH] Update 'grpc-gateway' and 'genproto' dependencies. --- Gopkg.lock | 14 +- Gopkg.toml | 10 +- .../grpc-gateway/.circleci/Dockerfile | 36 + .../grpc-gateway/.circleci/README.md | 22 + .../grpc-gateway/.circleci/config.yml | 102 + .../grpc-ecosystem/grpc-gateway/.gitignore | 3 + .../grpc-gateway/.goreleaser.yml | 27 + .../grpc-ecosystem/grpc-gateway/.travis.yml | 81 - .../grpc-gateway/.travis/bazel-build.sh | 10 - .../grpc-gateway/.travis/bazel-test.sh | 12 - .../grpc-gateway/.travis/install-bazel.sh | 20 - .../grpc-gateway/.travis/install-protoc.sh | 19 - .../.travis/install-swagger-codegen.sh | 9 - .../grpc-ecosystem/grpc-gateway/BUILD | 11 + .../grpc-ecosystem/grpc-gateway/CHANGELOG.md | 190 +- .../grpc-gateway/CONTRIBUTING.md | 15 + .../grpc-ecosystem/grpc-gateway/Gopkg.lock | 190 + .../grpc-ecosystem/grpc-gateway/Gopkg.toml | 66 + .../grpc-gateway/ISSUE_TEMPLATE.md | 43 +- .../grpc-ecosystem/grpc-gateway/Makefile | 48 +- .../grpc-ecosystem/grpc-gateway/README.md | 58 +- .../grpc-ecosystem/grpc-gateway/WORKSPACE | 64 +- .../grpc-gateway/codegenerator/BUILD.bazel | 8 +- .../docs/_docs/customizingyourgateway.md | 46 + .../grpc-gateway/docs/_docs/patch.md | 66 + .../grpc-gateway/docs/_docs/usage.md | 5 +- .../grpc-ecosystem/grpc-gateway/docs/index.md | 2 +- .../a_bit_of_everything_service.spec.js | 45 +- .../examples/browser/package.json | 6 +- .../examples/clients/abe/BUILD.bazel | 14 +- .../abe/a_bit_of_everything_service_api.go | 409 +- .../abe/camel_case_service_name_api.go | 6 +- .../examples/clients/abe/enum_helper.go | 46 + .../abe/examplepb_a_bit_of_everything.go | 9 +- .../examplepb_a_bit_of_everything_repeated.go | 46 + ...mpty.go => examplepb_update_v2_request.go} | 7 +- .../abe/message_path_enum_nested_path_enum.go | 14 + .../clients/abe/pathenum_path_enum.go | 14 + .../clients/abe/protobuf_field_mask.go | 18 + .../examples/clients/echo/echo_service_api.go | 8 +- .../examples/clients/responsebody/.gitignore | 24 + .../responsebody/.swagger-codegen-ignore | 23 + .../examples/clients/responsebody/BUILD.bazel | 19 + .../clients/responsebody/api_client.go | 164 + .../clients/responsebody/api_response.go | 44 + .../clients/responsebody/configuration.go | 67 + .../docs/ExamplepbResponseBodyMessage.md | 11 + .../ExamplepbResponseBodyMessageResponse.md | 10 + .../docs/ExamplepbResponseBodyOut.md | 10 + .../docs/ExamplepbResponseBodyOutResponse.md | 10 + .../docs/ExamplepbResponseBodyReq.md | 10 + .../docs/ResponseBodyServiceApi.md | 36 + .../examplepb_response_body_message.go | 18 + ...xamplepb_response_body_message_response.go | 16 + .../examplepb_response_body_out.go | 16 + .../examplepb_response_body_out_response.go | 16 + .../examplepb_response_body_req.go | 16 + .../responsebody/response_body_service_api.go | 99 + .../unannotated_echo_service_api.go | 4 +- .../grpc-gateway/examples/gateway/gateway.go | 1 + .../grpc-gateway/examples/gateway/handlers.go | 5 + .../examples/integration/BUILD.bazel | 10 +- .../examples/integration/client_test.go | 9 + .../examples/integration/integration_test.go | 384 +- .../examples/integration/proto_error_test.go | 4 +- .../pbwrappers/helloworld/BUILD.bazel | 39 + .../pbwrappers/helloworld/helloworld.pb.go | 288 + .../pbwrappers/helloworld/helloworld.pb.gw.go | 664 + .../pbwrappers/helloworld/helloworld.proto | 58 + .../examples/proto/examplepb/BUILD.bazel | 24 +- .../proto/examplepb/a_bit_of_everything.pb.go | 773 +- .../examplepb/a_bit_of_everything.pb.gw.go | 660 +- .../proto/examplepb/a_bit_of_everything.proto | 337 +- .../a_bit_of_everything.swagger.json | 914 +- .../proto/examplepb/echo_service.pb.go | 90 +- .../proto/examplepb/echo_service.pb.gw.go | 77 +- .../proto/examplepb/echo_service.swagger.json | 18 +- .../proto/examplepb/flow_combination.pb.go | 16 +- .../proto/examplepb/flow_combination.pb.gw.go | 348 +- .../examplepb/response_body_service.pb.go | 242 + .../examplepb/response_body_service.pb.gw.go | 134 + .../examplepb/response_body_service.proto | 26 + .../response_body_service.swagger.json | 61 + .../examples/proto/examplepb/stream.pb.gw.go | 69 +- .../examplepb/unannotated_echo_service.pb.go | 6 +- .../unannotated_echo_service.pb.gw.go | 50 +- .../unannotated_echo_service.swagger.json | 10 +- .../examples/proto/examplepb/wrappers.pb.go | 437 +- .../proto/examplepb/wrappers.pb.gw.go | 435 +- .../examples/proto/examplepb/wrappers.proto | 65 + .../proto/examplepb/wrappers.swagger.json | 292 +- .../examples/proto/pathenum/BUILD.bazel | 21 + .../examples/proto/pathenum/path_enum.pb.go | 120 + .../examples/proto/pathenum/path_enum.proto | 15 + .../examples/proto/sub2/message.pb.go | 2 +- .../grpc-gateway/examples/server/BUILD.bazel | 18 +- .../examples/server/a_bit_of_everything.go | 46 +- .../examples/server/fieldmask_helper.go | 55 + .../examples/server/fieldmask_helper_test.go | 92 + .../grpc-gateway/examples/server/main.go | 1 + .../examples/server/responsebody.go | 23 + .../protoc-gen-grpc-gateway/BUILD.bazel | 3 +- .../descriptor/BUILD.bazel | 14 +- .../descriptor/registry.go | 77 + .../descriptor/services.go | 26 +- .../descriptor/services_test.go | 2 +- .../descriptor/types.go | 119 +- .../generator/BUILD.bazel | 2 +- .../gengateway/BUILD.bazel | 6 +- .../gengateway/generator.go | 67 +- .../gengateway/generator_test.go | 24 +- .../gengateway/template.go | 206 +- .../gengateway/template_test.go | 10 +- .../protoc-gen-grpc-gateway/main.go | 35 +- .../protoc-gen-swagger/BUILD.bazel | 2 +- .../grpc-gateway/protoc-gen-swagger/defs.bzl | 58 +- .../protoc-gen-swagger/genswagger/BUILD.bazel | 8 +- .../protoc-gen-swagger/genswagger/template.go | 565 +- .../genswagger/template_test.go | 278 +- .../protoc-gen-swagger/genswagger/types.go | 41 +- .../grpc-gateway/protoc-gen-swagger/main.go | 32 +- .../protoc-gen-swagger/options/BUILD.bazel | 24 +- .../options/annotations.pb.go | 58 +- .../options/annotations.proto | 7 + .../options/openapiv2.pb.go | 545 +- .../options/openapiv2.proto | 46 +- .../grpc-gateway/repositories.bzl | 49 - .../grpc-gateway/runtime/BUILD.bazel | 42 +- .../grpc-gateway/runtime/context.go | 31 +- .../grpc-gateway/runtime/context_test.go | 27 +- .../grpc-gateway/runtime/convert.go | 227 +- .../grpc-gateway/runtime/errors.go | 32 +- .../grpc-gateway/runtime/errors_test.go | 40 +- .../grpc-gateway/runtime/fieldmask.go | 70 + .../grpc-gateway/runtime/fieldmask_test.go | 87 + .../grpc-gateway/runtime/handler.go | 37 +- .../grpc-gateway/runtime/internal/BUILD.bazel | 1 - .../runtime/internal/stream_chunk.pb.go | 10 +- .../runtime/marshal_jsonpb_test.go | 4 +- .../grpc-gateway/runtime/mux.go | 2 +- .../grpc-gateway/runtime/mux_test.go | 62 + .../grpc-gateway/runtime/pattern.go | 16 +- .../grpc-gateway/runtime/proto_errors.go | 8 +- .../grpc-gateway/runtime/query.go | 41 +- .../grpc-gateway/runtime/query_test.go | 64 + .../googleapis/README.grpc-gateway | 2 +- .../googleapis/google/api/http.proto | 77 +- .../grpc-gateway/utilities/BUILD.bazel | 5 +- .../grpc-gateway/utilities/readerfactory.go | 20 + .../genproto/.github/CODEOWNERS | 2 +- vendor/google.golang.org/genproto/.travis.yml | 12 - vendor/google.golang.org/genproto/README.md | 5 +- vendor/google.golang.org/genproto/go.mod | 7 + vendor/google.golang.org/genproto/go.sum | 26 + .../googleads/v0/common/ad_type_infos.pb.go | 1205 ++ .../ads/googleads/v0/common/bidding.pb.go | 725 + .../ads/googleads/v0/common/criteria.pb.go | 2575 +++ .../criterion_category_availability.pb.go | 257 + .../v0/common/custom_parameter.pb.go | 99 + .../ads/googleads/v0/common/dates.pb.go | 98 + .../explorer_auto_optimizer_setting.pb.go | 92 + .../ads/googleads/v0/common/feed_common.pb.go | 100 + .../googleads/v0/common/frequency_cap.pb.go | 181 + .../v0/common/keyword_plan_common.pb.go | 105 + .../v0/common/matching_function.pb.go | 106 + .../ads/googleads/v0/common/metrics.pb.go | 707 + .../ads/googleads/v0/common/policy.pb.go | 1098 + .../v0/common/real_time_bidding_setting.pb.go | 90 + .../ads/googleads/v0/common/tag_snippet.pb.go | 128 + .../ads/googleads/v0/common/user_lists.pb.go | 172 + .../ads/googleads/v0/common/value.pb.go | 277 + .../googleads/v0/enums/access_reason.pb.go | 128 + .../account_budget_proposal_status.pb.go | 133 + .../enums/account_budget_proposal_type.pb.go | 124 + .../v0/enums/account_budget_status.pb.go | 119 + .../ad_customizer_placeholder_field.pb.go | 124 + .../v0/enums/ad_group_ad_rotation_mode.pb.go | 118 + .../v0/enums/ad_group_ad_status.pb.go | 121 + .../v0/enums/ad_group_criterion_status.pb.go | 121 + .../googleads/v0/enums/ad_group_status.pb.go | 120 + .../googleads/v0/enums/ad_group_type.pb.go | 158 + .../googleads/v0/enums/ad_network_type.pb.go | 133 + .../ad_serving_optimization_status.pb.go | 135 + .../ads/googleads/v0/enums/ad_type.pb.go | 164 + .../enums/advertising_channel_sub_type.pb.go | 145 + .../v0/enums/advertising_channel_type.pb.go | 130 + ...iate_location_feed_relationship_type.pb.go | 115 + .../googleads/v0/enums/age_range_type.pb.go | 138 + .../v0/enums/app_placeholder_field.pb.go | 150 + .../v0/enums/attribution_model.pb.go | 150 + .../v0/enums/bid_modifier_source.pb.go | 115 + .../googleads/v0/enums/bidding_source.pb.go | 120 + .../v0/enums/bidding_strategy_type.pb.go | 176 + .../v0/enums/billing_setup_status.pb.go | 126 + .../v0/enums/budget_delivery_method.pb.go | 118 + .../googleads/v0/enums/budget_status.pb.go | 113 + .../call_conversion_reporting_state.pb.go | 125 + .../v0/enums/call_placeholder_field.pb.go | 137 + .../v0/enums/callout_placeholder_field.pb.go | 110 + .../v0/enums/campaign_group_status.pb.go | 114 + .../v0/enums/campaign_serving_status.pb.go | 130 + .../v0/enums/campaign_shared_set_status.pb.go | 115 + .../googleads/v0/enums/campaign_status.pb.go | 118 + .../v0/enums/change_status_operation.pb.go | 120 + .../enums/change_status_resource_type.pb.go | 131 + .../v0/enums/content_label_type.pb.go | 177 + .../v0/enums/conversion_action_category.pb.go | 135 + .../conversion_action_counting_type.pb.go | 118 + .../v0/enums/conversion_action_status.pb.go | 120 + .../v0/enums/conversion_action_type.pb.go | 149 + ...n_category_channel_availability_mode.pb.go | 131 + ...on_category_locale_availability_mode.pb.go | 136 + .../googleads/v0/enums/criterion_type.pb.go | 203 + .../v0/enums/custom_placeholder_field.pb.go | 225 + .../customer_match_upload_key_type.pb.go | 123 + .../v0/enums/data_driven_model_status.pb.go | 131 + .../ads/googleads/v0/enums/day_of_week.pb.go | 136 + .../ads/googleads/v0/enums/device.pb.go | 118 + .../v0/enums/display_ad_format_setting.pb.go | 121 + .../enums/education_placeholder_field.pb.go | 203 + .../v0/enums/feed_attribute_type.pb.go | 165 + .../googleads/v0/enums/feed_item_status.pb.go | 114 + .../googleads/v0/enums/feed_link_status.pb.go | 114 + .../enums/feed_mapping_criterion_type.pb.go | 117 + .../v0/enums/feed_mapping_status.pb.go | 114 + .../ads/googleads/v0/enums/feed_origin.pb.go | 116 + .../ads/googleads/v0/enums/feed_status.pb.go | 113 + .../v0/enums/flight_placeholder_field.pb.go | 209 + .../v0/enums/frequency_cap_event_type.pb.go | 115 + .../v0/enums/frequency_cap_level.pb.go | 120 + .../v0/enums/frequency_cap_time_unit.pb.go | 119 + .../ads/googleads/v0/enums/gender_type.pb.go | 118 + .../v0/enums/geo_target_constant_status.pb.go | 117 + .../v0/enums/geo_targeting_restriction.pb.go | 113 + .../v0/enums/google_ads_field_category.pb.go | 129 + .../v0/enums/google_ads_field_data_type.pb.go | 175 + .../v0/enums/hotel_date_selection_type.pb.go | 116 + .../v0/enums/hotel_placeholder_field.pb.go | 220 + .../v0/enums/income_range_type.pb.go | 139 + .../googleads/v0/enums/interaction_type.pb.go | 109 + .../v0/enums/job_placeholder_field.pb.go | 206 + .../v0/enums/keyword_match_type.pb.go | 119 + .../keyword_plan_competition_level.pb.go | 124 + .../keyword_plan_forecast_interval.pb.go | 123 + .../v0/enums/keyword_plan_network.pb.go | 115 + .../listing_custom_attribute_index.pb.go | 129 + .../v0/enums/listing_group_type.pb.go | 116 + .../v0/enums/local_placeholder_field.pb.go | 213 + .../v0/enums/manager_link_status.pb.go | 130 + .../ads/googleads/v0/enums/media_type.pb.go | 134 + .../v0/enums/message_placeholder_field.pb.go | 132 + .../ads/googleads/v0/enums/mime_type.pb.go | 162 + .../googleads/v0/enums/minute_of_hour.pb.go | 123 + .../googleads/v0/enums/month_of_year.pb.go | 159 + .../page_one_promoted_strategy_goal.pb.go | 117 + .../v0/enums/parental_status_type.pb.go | 120 + .../googleads/v0/enums/placeholder_type.pb.go | 194 + .../v0/enums/policy_approval_status.pb.go | 130 + .../v0/enums/policy_review_status.pb.go | 123 + .../v0/enums/policy_topic_entry_type.pb.go | 133 + ...idence_destination_mismatch_url_type.pb.go | 138 + .../v0/enums/preferred_content_type.pb.go | 111 + .../v0/enums/price_placeholder_field.pb.go | 382 + .../googleads/v0/enums/product_channel.pb.go | 114 + .../enums/product_channel_exclusivity.pb.go | 117 + .../v0/enums/product_condition.pb.go | 119 + .../v0/enums/product_type_level.pb.go | 127 + .../enums/promotion_placeholder_field.pb.go | 182 + .../v0/enums/proximity_radius_units.pb.go | 115 + .../v0/enums/quality_score_bucket.pb.go | 119 + .../enums/real_estate_placeholder_field.pb.go | 208 + .../v0/enums/recommendation_type.pb.go | 154 + .../v0/enums/search_term_match_type.pb.go | 128 + .../enums/search_term_targeting_status.pb.go | 126 + .../v0/enums/shared_set_status.pb.go | 114 + .../googleads/v0/enums/shared_set_type.pb.go | 115 + .../v0/enums/sitelink_placeholder_field.pb.go | 143 + .../ads/googleads/v0/enums/slot.pb.go | 137 + .../v0/enums/spending_limit_type.pb.go | 111 + ...structured_snippet_placeholder_field.pb.go | 122 + ...arget_cpa_opt_in_recommendation_goal.pb.go | 127 + .../v0/enums/targeting_dimension.pb.go | 149 + .../ads/googleads/v0/enums/time_type.pb.go | 114 + .../v0/enums/tracking_code_page_format.pb.go | 117 + .../v0/enums/tracking_code_type.pb.go | 123 + .../v0/enums/travel_placeholder_field.pb.go | 224 + .../enums/user_interest_taxonomy_type.pb.go | 131 + .../v0/enums/user_list_access_status.pb.go | 114 + .../v0/enums/user_list_closing_reason.pb.go | 111 + .../user_list_crm_data_source_type.pb.go | 122 + .../enums/user_list_membership_status.pb.go | 117 + .../v0/enums/user_list_size_range.pb.go | 183 + .../googleads/v0/enums/user_list_type.pb.go | 135 + .../account_budget_proposal_error.pb.go | 222 + .../v0/errors/ad_customizer_error.pb.go | 131 + .../ads/googleads/v0/errors/ad_error.pb.go | 754 + .../v0/errors/ad_group_ad_error.pb.go | 149 + .../errors/ad_group_bid_modifier_error.pb.go | 119 + .../v0/errors/ad_group_criterion_error.pb.go | 306 + .../googleads/v0/errors/ad_group_error.pb.go | 173 + .../v0/errors/ad_group_feed_error.pb.go | 145 + .../v0/errors/ad_sharing_error.pb.go | 123 + .../ads/googleads/v0/errors/adx_error.pb.go | 109 + .../v0/errors/authentication_error.pb.go | 199 + .../v0/errors/authorization_error.pb.go | 144 + .../googleads/v0/errors/bidding_error.pb.go | 215 + .../v0/errors/bidding_strategy_error.pb.go | 128 + .../v0/errors/billing_setup_error.pb.go | 195 + .../v0/errors/campaign_budget_error.pb.go | 188 + .../v0/errors/campaign_criterion_error.pb.go | 168 + .../googleads/v0/errors/campaign_error.pb.go | 304 + .../v0/errors/campaign_feed_error.pb.go | 138 + .../v0/errors/campaign_group_error.pb.go | 123 + .../v0/errors/campaign_shared_set_error.pb.go | 111 + .../v0/errors/change_status_error.pb.go | 110 + .../v0/errors/collection_size_error.pb.go | 114 + .../googleads/v0/errors/context_error.pb.go | 116 + .../v0/errors/conversion_action_error.pb.go | 154 + .../googleads/v0/errors/criterion_error.pb.go | 544 + .../errors/customer_client_link_error.pb.go | 144 + .../googleads/v0/errors/customer_error.pb.go | 118 + .../v0/errors/customer_feed_error.pb.go | 144 + .../errors/customer_manager_link_error.pb.go | 153 + .../googleads/v0/errors/database_error.pb.go | 111 + .../ads/googleads/v0/errors/date_error.pb.go | 150 + .../v0/errors/date_range_error.pb.go | 132 + .../googleads/v0/errors/distinct_error.pb.go | 114 + .../ads/googleads/v0/errors/enum_error.pb.go | 110 + .../ads/googleads/v0/errors/errors.pb.go | 2962 +++ .../feed_attribute_reference_error.pb.go | 122 + .../ads/googleads/v0/errors/feed_error.pb.go | 202 + .../googleads/v0/errors/feed_item_error.pb.go | 153 + .../v0/errors/feed_mapping_error.pb.go | 191 + .../ads/googleads/v0/errors/field_error.pb.go | 135 + .../v0/errors/field_mask_error.pb.go | 127 + .../googleads/v0/errors/function_error.pb.go | 186 + .../v0/errors/function_parsing_error.pb.go | 162 + ...geo_target_constant_suggestion_error.pb.go | 129 + .../googleads/v0/errors/header_error.pb.go | 115 + .../ads/googleads/v0/errors/id_error.pb.go | 109 + .../ads/googleads/v0/errors/image_error.pb.go | 285 + .../googleads/v0/errors/internal_error.pb.go | 122 + .../errors/keyword_plan_ad_group_error.pb.go | 119 + .../errors/keyword_plan_campaign_error.pb.go | 133 + .../v0/errors/keyword_plan_error.pb.go | 178 + .../v0/errors/keyword_plan_idea_error.pb.go | 116 + .../errors/keyword_plan_keyword_error.pb.go | 138 + .../keyword_plan_negative_keyword_error.pb.go | 108 + .../v0/errors/list_operation_error.pb.go | 116 + .../v0/errors/media_bundle_error.pb.go | 215 + .../v0/errors/media_file_error.pb.go | 221 + .../v0/errors/multiplier_error.pb.go | 169 + .../googleads/v0/errors/mutate_error.pb.go | 127 + .../errors/new_resource_creation_error.pb.go | 123 + .../googleads/v0/errors/not_empty_error.pb.go | 109 + .../ads/googleads/v0/errors/null_error.pb.go | 109 + .../operation_access_denied_error.pb.go | 155 + .../googleads/v0/errors/operator_error.pb.go | 110 + .../v0/errors/policy_finding_error.pb.go | 116 + .../ads/googleads/v0/errors/query_error.pb.go | 353 + .../ads/googleads/v0/errors/quota_error.pb.go | 120 + .../ads/googleads/v0/errors/range_error.pb.go | 113 + .../v0/errors/recommendation_error.pb.go | 174 + .../v0/errors/region_code_error.pb.go | 110 + .../googleads/v0/errors/request_error.pb.go | 188 + .../errors/resource_access_denied_error.pb.go | 111 + .../resource_count_limit_exceeded_error.pb.go | 167 + .../googleads/v0/errors/setting_error.pb.go | 208 + .../v0/errors/shared_criterion_error.pb.go | 112 + .../v0/errors/shared_set_error.pb.go | 126 + .../v0/errors/string_format_error.pb.go | 115 + .../v0/errors/string_length_error.pb.go | 114 + .../googleads/v0/errors/url_field_error.pb.go | 359 + .../googleads/v0/errors/user_list_error.pb.go | 227 + .../v0/resources/account_budget.pb.go | 1051 + .../resources/account_budget_proposal.pb.go | 710 + .../ads/googleads/v0/resources/ad.pb.go | 635 + .../ads/googleads/v0/resources/ad_group.pb.go | 295 + .../googleads/v0/resources/ad_group_ad.pb.go | 206 + .../v0/resources/ad_group_audience_view.pb.go | 92 + .../v0/resources/ad_group_bid_modifier.pb.go | 420 + .../v0/resources/ad_group_criterion.pb.go | 960 + .../v0/resources/ad_group_feed.pb.go | 155 + .../v0/resources/age_range_view.pb.go | 89 + .../v0/resources/bidding_strategy.pb.go | 397 + .../v0/resources/billing_setup.pb.go | 460 + .../ads/googleads/v0/resources/campaign.pb.go | 1039 + .../v0/resources/campaign_audience_view.pb.go | 94 + .../v0/resources/campaign_bid_modifier.pb.go | 215 + .../v0/resources/campaign_budget.pb.go | 217 + .../v0/resources/campaign_criterion.pb.go | 895 + .../v0/resources/campaign_feed.pb.go | 155 + .../v0/resources/campaign_group.pb.go | 133 + .../v0/resources/campaign_shared_set.pb.go | 131 + .../v0/resources/carrier_constant.pb.go | 124 + .../v0/resources/change_status.pb.go | 181 + .../v0/resources/conversion_action.pb.go | 401 + .../ads/googleads/v0/resources/customer.pb.go | 258 + .../v0/resources/customer_client.pb.go | 123 + .../v0/resources/customer_client_link.pb.go | 139 + .../v0/resources/customer_feed.pb.go | 145 + .../v0/resources/customer_manager_link.pb.go | 127 + .../v0/resources/display_keyword_view.pb.go | 89 + .../ads/googleads/v0/resources/feed.pb.go | 679 + .../googleads/v0/resources/feed_item.pb.go | 343 + .../googleads/v0/resources/feed_mapping.pb.go | 867 + .../googleads/v0/resources/gender_view.pb.go | 88 + .../v0/resources/geo_target_constant.pb.go | 146 + .../v0/resources/google_ads_field.pb.go | 246 + .../v0/resources/hotel_group_view.pb.go | 89 + .../v0/resources/hotel_performance_view.pb.go | 89 + .../googleads/v0/resources/keyword_plan.pb.go | 280 + .../v0/resources/keyword_plan_ad_group.pb.go | 139 + .../v0/resources/keyword_plan_campaign.pb.go | 222 + .../v0/resources/keyword_plan_keyword.pb.go | 149 + .../keyword_plan_negative_keyword.pb.go | 138 + .../googleads/v0/resources/keyword_view.pb.go | 88 + .../v0/resources/language_constant.pb.go | 123 + .../v0/resources/managed_placement_view.pb.go | 90 + .../googleads/v0/resources/media_file.pb.go | 363 + .../v0/resources/parental_status_view.pb.go | 89 + .../v0/resources/payments_account.pb.go | 148 + .../v0/resources/product_group_view.pb.go | 89 + .../v0/resources/recommendation.pb.go | 1267 ++ .../v0/resources/search_term_view.pb.go | 129 + .../v0/resources/shared_criterion.pb.go | 323 + .../googleads/v0/resources/shared_set.pb.go | 163 + .../v0/resources/topic_constant.pb.go | 132 + .../googleads/v0/resources/topic_view.pb.go | 88 + .../v0/resources/user_interest.pb.go | 162 + .../googleads/v0/resources/user_list.pb.go | 438 + .../ads/googleads/v0/resources/video.pb.go | 132 + .../account_budget_proposal_service.pb.go | 521 + .../v0/services/account_budget_service.pb.go | 175 + .../v0/services/ad_group_ad_service.pb.go | 558 + .../ad_group_audience_view_service.pb.go | 175 + .../ad_group_bid_modifier_service.pb.go | 547 + .../services/ad_group_criterion_service.pb.go | 545 + .../v0/services/ad_group_feed_service.pb.go | 547 + .../v0/services/ad_group_service.pb.go | 544 + .../v0/services/age_range_view_service.pb.go | 174 + .../services/bidding_strategy_service.pb.go | 547 + .../v0/services/billing_setup_service.pb.go | 500 + .../campaign_audience_view_service.pb.go | 175 + .../campaign_bid_modifier_service.pb.go | 548 + .../v0/services/campaign_budget_service.pb.go | 547 + .../services/campaign_criterion_service.pb.go | 545 + .../v0/services/campaign_feed_service.pb.go | 547 + .../v0/services/campaign_group_service.pb.go | 547 + .../v0/services/campaign_service.pb.go | 544 + .../campaign_shared_set_service.pb.go | 498 + .../services/carrier_constant_service.pb.go | 173 + .../v0/services/change_status_service.pb.go | 174 + .../services/conversion_action_service.pb.go | 547 + .../customer_client_link_service.pb.go | 174 + .../v0/services/customer_client_service.pb.go | 174 + .../v0/services/customer_feed_service.pb.go | 546 + .../customer_manager_link_service.pb.go | 174 + .../v0/services/customer_service.pb.go | 653 + .../display_keyword_view_service.pb.go | 175 + .../v0/services/feed_item_service.pb.go | 546 + .../v0/services/feed_mapping_service.pb.go | 500 + .../googleads/v0/services/feed_service.pb.go | 546 + .../v0/services/gender_view_service.pb.go | 174 + .../geo_target_constant_service.pb.go | 615 + .../services/google_ads_field_service.pb.go | 344 + .../v0/services/google_ads_service.pb.go | 2504 +++ .../services/hotel_group_view_service.pb.go | 174 + .../hotel_performance_view_service.pb.go | 175 + .../keyword_plan_ad_group_service.pb.go | 549 + .../keyword_plan_campaign_service.pb.go | 550 + .../services/keyword_plan_idea_service.pb.go | 604 + .../keyword_plan_keyword_service.pb.go | 548 + ...eyword_plan_negative_keyword_service.pb.go | 559 + .../v0/services/keyword_plan_service.pb.go | 1129 + .../v0/services/keyword_view_service.pb.go | 174 + .../services/language_constant_service.pb.go | 173 + .../managed_placement_view_service.pb.go | 175 + .../v0/services/media_file_service.pb.go | 468 + .../parental_status_view_service.pb.go | 175 + .../services/payments_account_service.pb.go | 221 + .../services/product_group_view_service.pb.go | 174 + .../v0/services/recommendation_service.pb.go | 1094 + .../services/search_term_view_service.pb.go | 174 + .../services/shared_criterion_service.pb.go | 498 + .../v0/services/shared_set_service.pb.go | 544 + .../v0/services/topic_constant_service.pb.go | 173 + .../v0/services/topic_view_service.pb.go | 174 + .../v0/services/user_interest_service.pb.go | 174 + .../v0/services/user_list_service.pb.go | 544 + .../googleads/v0/services/video_service.pb.go | 173 + .../api/annotations/annotations.pb.go | 4 +- .../googleapis/api/annotations/http.pb.go | 110 +- .../googleapis/api/authorization_config.pb.go | 6 +- .../api/configchange/config_change.pb.go | 10 +- .../api/distribution/distribution.pb.go | 24 +- .../googleapis/api/experimental.pb.go | 6 +- .../api/expr/v1alpha1/cel_service.pb.go | 195 + .../api/expr/v1alpha1/checked.pb.go | 1428 ++ .../expr/v1alpha1/conformance_service.pb.go | 799 + .../googleapis/api/expr/v1alpha1/eval.pb.go | 427 + .../api/expr/v1alpha1/explain.pb.go | 157 + .../googleapis/api/expr/v1alpha1/syntax.pb.go | 1572 ++ .../googleapis/api/expr/v1alpha1/value.pb.go | 708 + .../googleapis/api/expr/v1beta1/decl.pb.go | 403 + .../googleapis/api/expr/v1beta1/eval.pb.go | 470 + .../googleapis/api/expr/v1beta1/expr.pb.go | 1351 ++ .../googleapis/api/expr/v1beta1/source.pb.go | 189 + .../googleapis/api/expr/v1beta1/value.pb.go | 708 + .../googleapis/api/httpbody/httpbody.pb.go | 6 +- .../genproto/googleapis/api/label/label.pb.go | 8 +- .../googleapis/api/launch_stage.pb.go | 110 + .../googleapis/api/metric/metric.pb.go | 24 +- .../api/monitoredres/monitored_resource.pb.go | 10 +- .../googleapis/api/serviceconfig/auth.pb.go | 14 +- .../api/serviceconfig/backend.pb.go | 8 +- .../api/serviceconfig/billing.pb.go | 8 +- .../api/serviceconfig/consumer.pb.go | 10 +- .../api/serviceconfig/context.pb.go | 8 +- .../api/serviceconfig/control.pb.go | 6 +- .../api/serviceconfig/documentation.pb.go | 10 +- .../api/serviceconfig/endpoint.pb.go | 6 +- .../googleapis/api/serviceconfig/log.pb.go | 6 +- .../api/serviceconfig/logging.pb.go | 8 +- .../api/serviceconfig/monitoring.pb.go | 8 +- .../googleapis/api/serviceconfig/quota.pb.go | 10 +- .../api/serviceconfig/service.pb.go | 6 +- .../api/serviceconfig/source_info.pb.go | 6 +- .../api/serviceconfig/system_parameter.pb.go | 10 +- .../googleapis/api/serviceconfig/usage.pb.go | 8 +- .../api/servicecontrol/v1/check_error.pb.go | 8 +- .../api/servicecontrol/v1/distribution.pb.go | 66 +- .../api/servicecontrol/v1/log_entry.pb.go | 60 +- .../api/servicecontrol/v1/metric_value.pb.go | 66 +- .../api/servicecontrol/v1/operation.pb.go | 8 +- .../servicecontrol/v1/quota_controller.pb.go | 16 +- .../v1/service_controller.pb.go | 18 +- .../api/servicemanagement/v1/resources.pb.go | 78 +- .../servicemanagement/v1/servicemanager.pb.go | 48 +- .../appengine/legacy/audit_data.pb.go | 6 +- .../appengine/logging/v1/request_log.pb.go | 12 +- .../googleapis/appengine/v1/app_yaml.pb.go | 50 +- .../googleapis/appengine/v1/appengine.pb.go | 42 +- .../googleapis/appengine/v1/application.pb.go | 8 +- .../googleapis/appengine/v1/audit_data.pb.go | 12 +- .../googleapis/appengine/v1/deploy.pb.go | 12 +- .../googleapis/appengine/v1/instance.pb.go | 8 +- .../googleapis/appengine/v1/location.pb.go | 6 +- .../googleapis/appengine/v1/operation.pb.go | 6 +- .../googleapis/appengine/v1/service.pb.go | 10 +- .../googleapis/appengine/v1/version.pb.go | 64 +- .../v1alpha1/embedded_assistant.pb.go | 44 +- .../v1alpha2/embedded_assistant.pb.go | 60 +- .../cluster/v1/bigtable_cluster_data.pb.go | 16 +- .../cluster/v1/bigtable_cluster_service.pb.go | 4 +- .../bigtable_cluster_service_messages.pb.go | 28 +- .../admin/table/v1/bigtable_table_data.pb.go | 28 +- .../table/v1/bigtable_table_service.pb.go | 4 +- .../v1/bigtable_table_service_messages.pb.go | 40 +- .../admin/v2/bigtable_instance_admin.pb.go | 294 +- .../admin/v2/bigtable_table_admin.pb.go | 281 +- .../googleapis/bigtable/admin/v2/common.pb.go | 10 +- .../bigtable/admin/v2/instance.pb.go | 64 +- .../googleapis/bigtable/admin/v2/table.pb.go | 40 +- .../bigtable/v1/bigtable_data.pb.go | 254 +- .../bigtable/v1/bigtable_service.pb.go | 4 +- .../v1/bigtable_service_messages.pb.go | 58 +- .../googleapis/bigtable/v2/bigtable.pb.go | 78 +- .../googleapis/bigtable/v2/data.pb.go | 302 +- .../googleapis/bytestream/bytestream.pb.go | 16 +- .../cloud/asset/v1beta1/asset_service.pb.go | 657 + .../cloud/asset/v1beta1/assets.pb.go | 358 + .../googleapis/cloud/audit/audit_log.pb.go | 12 +- .../automl/v1beta1/annotation_payload.pb.go | 55 +- .../cloud/automl/v1beta1/classification.pb.go | 97 +- .../cloud/automl/v1beta1/data_items.pb.go | 74 +- .../cloud/automl/v1beta1/dataset.pb.go | 72 +- .../cloud/automl/v1beta1/image.pb.go | 59 +- .../googleapis/cloud/automl/v1beta1/io.pb.go | 58 +- .../cloud/automl/v1beta1/model.pb.go | 87 +- .../automl/v1beta1/model_evaluation.pb.go | 67 +- .../cloud/automl/v1beta1/operations.pb.go | 64 +- .../automl/v1beta1/prediction_service.pb.go | 68 +- .../cloud/automl/v1beta1/service.pb.go | 181 +- .../cloud/automl/v1beta1/text.pb.go | 42 +- .../cloud/automl/v1beta1/translation.pb.go | 63 +- .../datatransfer/v1/datatransfer.pb.go | 54 +- .../bigquery/datatransfer/v1/transfer.pb.go | 22 +- .../bigquery/logging/v1/audit_data.pb.go | 226 +- .../cloud/bigquery/storage/v1beta1/avro.pb.go | 138 + .../storage/v1beta1/read_options.pb.go | 102 + .../bigquery/storage/v1beta1/storage.pb.go | 1317 ++ .../storage/v1beta1/table_reference.pb.go | 149 + .../cloud/billing/v1/cloud_billing.pb.go | 22 +- .../cloud/dataproc/v1/clusters.pb.go | 570 +- .../googleapis/cloud/dataproc/v1/jobs.pb.go | 466 +- .../cloud/dataproc/v1/operations.pb.go | 107 +- .../dataproc/v1/workflow_templates.pb.go | 2517 +++ .../cloud/dataproc/v1beta2/clusters.pb.go | 421 +- .../cloud/dataproc/v1beta2/jobs.pb.go | 451 +- .../cloud/dataproc/v1beta2/operations.pb.go | 10 +- .../cloud/dataproc/v1beta2/shared.pb.go | 4 +- .../dataproc/v1beta2/workflow_templates.pb.go | 775 +- .../cloud/dialogflow/v2/agent.pb.go | 64 +- .../cloud/dialogflow/v2/context.pb.go | 20 +- .../cloud/dialogflow/v2/entity_type.pb.go | 54 +- .../cloud/dialogflow/v2/intent.pb.go | 138 +- .../cloud/dialogflow/v2/session.pb.go | 38 +- .../dialogflow/v2/session_entity_type.pb.go | 20 +- .../cloud/dialogflow/v2/webhook.pb.go | 10 +- .../cloud/dialogflow/v2beta1/agent.pb.go | 64 +- .../dialogflow/v2beta1/audio_config.pb.go | 14 +- .../cloud/dialogflow/v2beta1/context.pb.go | 20 +- .../cloud/dialogflow/v2beta1/document.pb.go | 70 +- .../dialogflow/v2beta1/entity_type.pb.go | 54 +- .../cloud/dialogflow/v2beta1/intent.pb.go | 158 +- .../dialogflow/v2beta1/knowledge_base.pb.go | 16 +- .../cloud/dialogflow/v2beta1/session.pb.go | 78 +- .../v2beta1/session_entity_type.pb.go | 20 +- .../cloud/dialogflow/v2beta1/webhook.pb.go | 10 +- .../cloud/functions/v1beta2/functions.pb.go | 122 +- .../cloud/functions/v1beta2/operations.pb.go | 8 +- .../cloud/iot/v1/device_manager.pb.go | 874 +- .../googleapis/cloud/iot/v1/resources.pb.go | 462 +- .../googleapis/cloud/kms/v1/resources.pb.go | 638 +- .../googleapis/cloud/kms/v1/service.pb.go | 882 +- .../cloud/language/v1/language_service.pb.go | 102 +- .../language/v1beta1/language_service.pb.go | 92 +- .../language/v1beta2/language_service.pb.go | 102 +- .../googleapis/cloud/location/locations.pb.go | 12 +- .../googleapis/cloud/ml/v1/job_service.pb.go | 118 +- .../cloud/ml/v1/model_service.pb.go | 32 +- .../cloud/ml/v1/operation_metadata.pb.go | 8 +- .../cloud/ml/v1/prediction_service.pb.go | 6 +- .../cloud/ml/v1/project_service.pb.go | 8 +- .../cloud/oslogin/common/common.pb.go | 8 +- .../googleapis/cloud/oslogin/v1/oslogin.pb.go | 20 +- .../cloud/oslogin/v1alpha/oslogin.pb.go | 20 +- .../cloud/oslogin/v1beta/oslogin.pb.go | 20 +- .../cloud/redis/v1/cloud_redis.pb.go | 1200 ++ .../cloud/redis/v1beta1/cloud_redis.pb.go | 26 +- .../cloud/resourcemanager/v2/folders.pb.go | 32 +- .../runtimeconfig/v1beta1/resources.pb.go | 36 +- .../runtimeconfig/v1beta1/runtimeconfig.pb.go | 40 +- .../scheduler/v1beta1/cloudscheduler.pb.go | 910 + .../cloud/scheduler/v1beta1/job.pb.go | 567 + .../cloud/scheduler/v1beta1/target.pb.go | 568 + .../cloud/securitycenter/v1beta1/asset.pb.go | 248 + .../securitycenter/v1beta1/finding.pb.go | 244 + .../v1beta1/organization_settings.pb.go | 215 + .../v1beta1/security_marks.pb.go | 110 + .../v1beta1/securitycenter_service.pb.go | 2498 +++ .../cloud/securitycenter/v1beta1/source.pb.go | 121 + .../cloud/speech/v1/cloud_speech.pb.go | 402 +- .../cloud/speech/v1p1beta1/cloud_speech.pb.go | 397 +- .../cloud/support/common/common.pb.go | 52 +- .../support/v1alpha1/cloud_support.pb.go | 28 +- .../cloud/tasks/v2beta2/cloudtasks.pb.go | 44 +- .../cloud/tasks/v2beta2/queue.pb.go | 34 +- .../cloud/tasks/v2beta2/target.pb.go | 26 +- .../googleapis/cloud/tasks/v2beta2/task.pb.go | 30 +- .../cloud/tasks/v2beta3/cloudtasks.pb.go | 1879 ++ .../cloud/tasks/v2beta3/queue.pb.go | 629 + .../cloud/tasks/v2beta3/target.pb.go | 476 + .../googleapis/cloud/tasks/v2beta3/task.pb.go | 414 + .../cloud/texttospeech/v1/cloud_tts.pb.go | 32 +- .../texttospeech/v1beta1/cloud_tts.pb.go | 32 +- .../v1/video_intelligence.pb.go | 738 +- .../v1beta1/video_intelligence.pb.go | 38 +- .../v1beta2/video_intelligence.pb.go | 52 +- .../v1p1beta1/video_intelligence.pb.go | 52 +- .../v1p2beta1/video_intelligence.pb.go | 1855 ++ .../googleapis/cloud/vision/v1/geometry.pb.go | 52 +- .../cloud/vision/v1/image_annotator.pb.go | 577 +- .../cloud/vision/v1/product_search.pb.go | 317 + .../vision/v1/product_search_service.pb.go | 2970 +++ .../cloud/vision/v1/text_annotation.pb.go | 32 +- .../cloud/vision/v1/web_detection.pb.go | 17 +- .../cloud/vision/v1p1beta1/geometry.pb.go | 10 +- .../vision/v1p1beta1/image_annotator.pb.go | 54 +- .../vision/v1p1beta1/text_annotation.pb.go | 26 +- .../vision/v1p1beta1/web_detection.pb.go | 14 +- .../cloud/vision/v1p2beta1/geometry.pb.go | 12 +- .../vision/v1p2beta1/image_annotator.pb.go | 78 +- .../vision/v1p2beta1/text_annotation.pb.go | 26 +- .../vision/v1p2beta1/web_detection.pb.go | 14 +- .../cloud/vision/v1p3beta1/geometry.pb.go | 14 +- .../vision/v1p3beta1/image_annotator.pb.go | 80 +- .../vision/v1p3beta1/product_search.pb.go | 20 +- .../v1p3beta1/product_search_service.pb.go | 66 +- .../vision/v1p3beta1/text_annotation.pb.go | 26 +- .../vision/v1p3beta1/web_detection.pb.go | 14 +- .../v1alpha/crawled_url.pb.go | 6 +- .../websecurityscanner/v1alpha/finding.pb.go | 8 +- .../v1alpha/finding_addon.pb.go | 12 +- .../v1alpha/finding_type_stats.pb.go | 6 +- .../v1alpha/scan_config.pb.go | 20 +- .../websecurityscanner/v1alpha/scan_run.pb.go | 10 +- .../v1alpha/web_security_scanner.pb.go | 40 +- .../container/v1/cluster_service.pb.go | 2059 +- .../container/v1alpha1/cluster_service.pb.go | 136 +- .../container/v1beta1/cluster_service.pb.go | 6715 ++++-- .../datastore/admin/v1/datastore_admin.pb.go | 480 +- .../googleapis/datastore/admin/v1/index.pb.go | 324 + .../admin/v1beta1/datastore_admin.pb.go | 24 +- .../googleapis/datastore/v1/datastore.pb.go | 172 +- .../googleapis/datastore/v1/entity.pb.go | 74 +- .../googleapis/datastore/v1/query.pb.go | 54 +- .../datastore/v1beta3/datastore.pb.go | 172 +- .../googleapis/datastore/v1beta3/entity.pb.go | 74 +- .../googleapis/datastore/v1beta3/query.pb.go | 54 +- .../devtools/build/v1/build_events.pb.go | 248 +- .../devtools/build/v1/build_status.pb.go | 8 +- .../build/v1/publish_build_event.pb.go | 160 +- .../devtools/cloudbuild/v1/cloudbuild.pb.go | 782 +- .../clouddebugger/v2/controller.pb.go | 18 +- .../devtools/clouddebugger/v2/data.pb.go | 217 +- .../devtools/clouddebugger/v2/debugger.pb.go | 134 +- .../clouderrorreporting/v1beta1/common.pb.go | 18 +- .../v1beta1/error_group_service.pb.go | 8 +- .../v1beta1/error_stats_service.pb.go | 30 +- .../v1beta1/report_errors_service.pb.go | 10 +- .../devtools/cloudprofiler/v2/profiler.pb.go | 139 +- .../devtools/cloudtrace/v1/trace.pb.go | 22 +- .../devtools/cloudtrace/v2/trace.pb.go | 62 +- .../devtools/cloudtrace/v2/tracing.pb.go | 6 +- .../v1alpha1/bill_of_materials.pb.go | 20 +- .../v1alpha1/containeranalysis.pb.go | 304 +- .../v1alpha1/image_basis.pb.go | 16 +- .../v1alpha1/package_vulnerability.pb.go | 20 +- .../v1alpha1/provenance.pb.go | 62 +- .../v1alpha1/source_context.pb.go | 82 +- .../v1beta1/attestation/attestation.pb.go | 500 + .../v1beta1/build/build.pb.go | 287 + .../v1beta1/common/common.pb.go | 152 + .../v1beta1/containeranalysis.pb.go | 670 + .../v1beta1/deployment/deployment.pb.go | 272 + .../v1beta1/discovery/discovery.pb.go | 297 + .../v1beta1/grafeas/grafeas.pb.go | 2739 +++ .../v1beta1/image/image.pb.go | 442 + .../v1beta1/package/package.pb.go | 499 + .../v1beta1/provenance/provenance.pb.go | 592 + .../v1beta1/source/source.pb.go | 919 + .../v1beta1/vulnerability/vulnerability.pb.go | 520 + .../v1test/remote_execution.pb.go | 64 +- .../devtools/remoteworkers/v1test2/bots.pb.go | 32 +- .../remoteworkers/v1test2/command.pb.go | 28 +- .../remoteworkers/v1test2/tasks.pb.go | 16 +- .../remoteworkers/v1test2/worker.pb.go | 14 +- .../devtools/resultstore/v2/action.pb.go | 306 +- .../devtools/resultstore/v2/common.pb.go | 126 +- .../resultstore/v2/configuration.pb.go | 10 +- .../resultstore/v2/configured_target.pb.go | 96 +- .../devtools/resultstore/v2/coverage.pb.go | 12 +- .../resultstore/v2/coverage_summary.pb.go | 10 +- .../devtools/resultstore/v2/file.pb.go | 126 +- .../devtools/resultstore/v2/file_set.pb.go | 8 +- .../devtools/resultstore/v2/invocation.pb.go | 186 +- .../resultstore/v2/resultstore_download.pb.go | 242 +- .../v2/resultstore_file_download.pb.go | 12 +- .../resultstore/v2/resultstore_upload.pb.go | 2197 ++ .../devtools/resultstore/v2/target.pb.go | 102 +- .../devtools/resultstore/v2/test_suite.pb.go | 137 +- .../devtools/source/v1/source_context.pb.go | 207 +- .../devtools/sourcerepo/v1/sourcerepo.pb.go | 18 +- .../example/library/v1/library.pb.go | 34 +- .../admin/v1beta1/firestore_admin.pb.go | 665 +- .../firestore/admin/v1beta1/index.pb.go | 74 +- .../firestore/admin/v1beta2/field.pb.go | 213 + .../admin/v1beta2/firestore_admin.pb.go | 475 + .../firestore/admin/v1beta2/index.pb.go | 446 + .../firestore/admin/v1beta2/operation.pb.go | 361 + .../googleapis/firestore/v1beta1/common.pb.go | 22 +- .../firestore/v1beta1/document.pb.go | 54 +- .../firestore/v1beta1/firestore.pb.go | 618 +- .../googleapis/firestore/v1beta1/query.pb.go | 183 +- .../googleapis/firestore/v1beta1/write.pb.go | 225 +- .../googleapis/genomics/v1/annotations.pb.go | 120 +- .../googleapis/genomics/v1/cigar.pb.go | 8 +- .../googleapis/genomics/v1/datasets.pb.go | 20 +- .../googleapis/genomics/v1/operations.pb.go | 8 +- .../googleapis/genomics/v1/position.pb.go | 6 +- .../googleapis/genomics/v1/range.pb.go | 6 +- .../genomics/v1/readalignment.pb.go | 8 +- .../googleapis/genomics/v1/readgroup.pb.go | 10 +- .../googleapis/genomics/v1/readgroupset.pb.go | 6 +- .../googleapis/genomics/v1/reads.pb.go | 36 +- .../googleapis/genomics/v1/references.pb.go | 24 +- .../googleapis/genomics/v1/variants.pb.go | 72 +- .../genomics/v1alpha2/pipelines.pb.go | 88 +- .../googleapis/home/graph/v1/device.pb.go | 10 +- .../googleapis/home/graph/v1/homegraph.pb.go | 38 +- .../googleapis/iam/admin/v1/iam.pb.go | 78 +- .../iam/credentials/v1/common.pb.go | 716 + .../iam/credentials/v1/iamcredentials.pb.go | 276 + .../googleapis/iam/v1/iam_policy.pb.go | 12 +- .../iam/v1/logging/audit_data.pb.go | 6 +- .../genproto/googleapis/iam/v1/policy.pb.go | 14 +- .../logging/type/http_request.pb.go | 6 +- .../logging/type/log_severity.pb.go | 6 +- .../googleapis/logging/v2/log_entry.pb.go | 174 +- .../googleapis/logging/v2/logging.pb.go | 68 +- .../logging/v2/logging_config.pb.go | 48 +- .../logging/v2/logging_metrics.pb.go | 141 +- .../googleapis/longrunning/operations.pb.go | 60 +- .../googleapis/monitoring/v3/alert.pb.go | 75 +- .../monitoring/v3/alert_service.pb.go | 16 +- .../googleapis/monitoring/v3/common.pb.go | 165 +- .../monitoring/v3/dropped_labels.pb.go | 101 + .../googleapis/monitoring/v3/group.pb.go | 6 +- .../monitoring/v3/group_service.pb.go | 42 +- .../googleapis/monitoring/v3/metric.pb.go | 104 +- .../monitoring/v3/metric_service.pb.go | 201 +- .../monitoring/v3/mutation_record.pb.go | 6 +- .../monitoring/v3/notification.pb.go | 91 +- .../monitoring/v3/notification_service.pb.go | 161 +- .../monitoring/v3/span_context.pb.go | 96 + .../googleapis/monitoring/v3/uptime.pb.go | 452 +- .../monitoring/v3/uptime_service.pb.go | 157 +- .../googleapis/privacy/dlp/v2/dlp.pb.go | 17871 +++++++++------- .../googleapis/privacy/dlp/v2/storage.pb.go | 826 +- .../googleapis/pubsub/v1/pubsub.pb.go | 504 +- .../googleapis/pubsub/v1beta2/pubsub.pb.go | 48 +- .../genproto/googleapis/rpc/code/code.pb.go | 6 +- .../rpc/errdetails/error_details.pb.go | 30 +- .../googleapis/rpc/status/status.pb.go | 6 +- .../database/v1/spanner_database_admin.pb.go | 28 +- .../instance/v1/spanner_instance_admin.pb.go | 32 +- .../genproto/googleapis/spanner/v1/keys.pb.go | 52 +- .../googleapis/spanner/v1/mutation.pb.go | 26 +- .../googleapis/spanner/v1/query_plan.pb.go | 14 +- .../googleapis/spanner/v1/result_set.pb.go | 213 +- .../googleapis/spanner/v1/spanner.pb.go | 365 +- .../googleapis/spanner/v1/transaction.pb.go | 253 +- .../genproto/googleapis/spanner/v1/type.pb.go | 12 +- .../storagetransfer/v1/transfer.pb.go | 20 +- .../storagetransfer/v1/transfer_types.pb.go | 74 +- .../streetview/publish/v1/resources.pb.go | 18 +- .../streetview/publish/v1/rpcmessages.pb.go | 32 +- .../publish/v1/streetview_publish.pb.go | 4 +- .../googleapis/type/color/color.pb.go | 6 +- .../genproto/googleapis/type/date/date.pb.go | 6 +- .../googleapis/type/dayofweek/dayofweek.pb.go | 6 +- .../googleapis/type/latlng/latlng.pb.go | 6 +- .../googleapis/type/money/money.pb.go | 6 +- .../type/postaladdress/postal_address.pb.go | 6 +- .../googleapis/type/timeofday/timeofday.pb.go | 6 +- .../googleapis/watcher/v1/watch.pb.go | 12 +- .../internal/kokoro/check_incompat_changes.sh | 41 + .../genproto/internal/kokoro/test.sh | 31 + .../genproto/internal/kokoro/trampoline.sh | 24 + .../genproto/internal/kokoro/vet.sh | 32 + .../genproto/protobuf/api/api.pb.go | 10 +- .../protobuf/field_mask/field_mask.pb.go | 62 +- .../genproto/protobuf/ptype/type.pb.go | 20 +- .../source_context/source_context.pb.go | 6 +- 856 files changed, 170175 insertions(+), 22689 deletions(-) create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/Dockerfile create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/README.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/config.yml create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/.goreleaser.yml delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/.travis.yml delete mode 100755 vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-build.sh delete mode 100755 vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-test.sh delete mode 100755 vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-bazel.sh delete mode 100755 vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-protoc.sh delete mode 100755 vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-swagger-codegen.sh create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.lock create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.toml create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/patch.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/enum_helper.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything_repeated.go rename vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/{protobuf_empty.go => examplepb_update_v2_request.go} (60%) create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/message_path_enum_nested_path_enum.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/pathenum_path_enum.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_field_mask.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.gitignore create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.swagger-codegen-ignore create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/BUILD.bazel create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_client.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_response.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/configuration.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessage.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessageResponse.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOut.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOutResponse.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyReq.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ResponseBodyServiceApi.md create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message_response.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out_response.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_req.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/response_body_service_api.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/BUILD.bazel create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.gw.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.proto create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.gw.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.proto create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.swagger.json create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/BUILD.bazel create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.proto create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper_test.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/responsebody.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/repositories.bzl create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask_test.go create mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/readerfactory.go delete mode 100644 vendor/google.golang.org/genproto/.travis.yml create mode 100644 vendor/google.golang.org/genproto/go.mod create mode 100644 vendor/google.golang.org/genproto/go.sum create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/ad_type_infos.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/bidding.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criteria.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criterion_category_availability.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/custom_parameter.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/dates.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/explorer_auto_optimizer_setting.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/feed_common.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/frequency_cap.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/keyword_plan_common.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/matching_function.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/metrics.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/policy.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/real_time_bidding_setting.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/tag_snippet.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/user_lists.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/value.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/access_reason.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_customizer_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_rotation_mode.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_criterion_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_network_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_serving_optimization_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_sub_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/affiliate_location_feed_relationship_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/age_range_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/app_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/attribution_model.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bid_modifier_source.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_source.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_strategy_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/billing_setup_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_delivery_method.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_conversion_reporting_state.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/callout_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_group_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_serving_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_shared_set_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_operation.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_resource_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/content_label_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_category.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_counting_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_channel_availability_mode.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_locale_availability_mode.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/custom_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/customer_match_upload_key_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/data_driven_model_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/day_of_week.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/device.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/display_ad_format_setting.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/education_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_attribute_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_item_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_link_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_criterion_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_origin.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/flight_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_event_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_level.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_time_unit.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/gender_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_target_constant_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_targeting_restriction.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_category.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_data_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_date_selection_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/income_range_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/interaction_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/job_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_match_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_competition_level.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_forecast_interval.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_network.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_custom_attribute_index.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_group_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/local_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/manager_link_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/media_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/message_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/mime_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/minute_of_hour.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/month_of_year.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/page_one_promoted_strategy_goal.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/parental_status_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/placeholder_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_approval_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_review_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_entry_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/preferred_content_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/price_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel_exclusivity.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_condition.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_type_level.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/promotion_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/proximity_radius_units.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/quality_score_bucket.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/real_estate_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/recommendation_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_match_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_targeting_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/sitelink_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/slot.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/spending_limit_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/structured_snippet_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/target_cpa_opt_in_recommendation_goal.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/targeting_dimension.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/time_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_page_format.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/travel_placeholder_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_interest_taxonomy_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_access_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_closing_reason.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_crm_data_source_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_membership_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_size_range.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_type.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/account_budget_proposal_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_customizer_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_ad_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_bid_modifier_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_criterion_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_feed_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_sharing_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/adx_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authentication_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authorization_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_strategy_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/billing_setup_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_budget_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_criterion_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_feed_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_group_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_shared_set_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/change_status_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/collection_size_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/context_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/conversion_action_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/criterion_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_client_link_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_feed_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_manager_link_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/database_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_range_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/distinct_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/enum_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/errors.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_attribute_reference_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_item_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_mapping_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_mask_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_parsing_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/geo_target_constant_suggestion_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/header_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/id_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/image_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/internal_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_ad_group_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_campaign_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_idea_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_keyword_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_negative_keyword_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/list_operation_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_bundle_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_file_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/multiplier_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/mutate_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/new_resource_creation_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/not_empty_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/null_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operation_access_denied_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operator_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/policy_finding_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/query_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/quota_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/range_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/recommendation_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/region_code_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/request_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_access_denied_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_count_limit_exceeded_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/setting_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_criterion_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_set_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_format_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_length_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/url_field_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/user_list_error.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget_proposal.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_ad.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_audience_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_bid_modifier.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_criterion.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_feed.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/age_range_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/bidding_strategy.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/billing_setup.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_audience_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_bid_modifier.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_budget.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_criterion.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_feed.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_group.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_shared_set.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/carrier_constant.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/change_status.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/conversion_action.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client_link.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_feed.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_manager_link.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/display_keyword_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_item.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_mapping.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/gender_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/geo_target_constant.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/google_ads_field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_group_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_performance_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_ad_group.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_campaign.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_keyword.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_negative_keyword.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/language_constant.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/managed_placement_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/media_file.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/parental_status_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/payments_account.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/product_group_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/recommendation.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/search_term_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_criterion.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_set.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_constant.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_view.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_interest.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_list.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/video.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_proposal_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_ad_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_audience_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_bid_modifier_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_criterion_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_feed_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/age_range_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/bidding_strategy_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/billing_setup_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_audience_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_bid_modifier_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_budget_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_criterion_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_feed_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_group_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_shared_set_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/carrier_constant_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/change_status_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/conversion_action_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_link_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_feed_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_manager_link_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/display_keyword_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_item_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_mapping_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/gender_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/geo_target_constant_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_field_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_group_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_performance_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_ad_group_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_campaign_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_idea_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_keyword_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_negative_keyword_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/language_constant_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/managed_placement_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/media_file_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/parental_status_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/payments_account_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/product_group_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/recommendation_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/search_term_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_criterion_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_set_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_constant_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_view_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_interest_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_list_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/video_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/asset_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/assets.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/avro.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/read_options.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/storage.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/table_reference.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/workflow_templates.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/redis/v1/cloud_redis.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/cloudscheduler.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/job.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/target.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/cloudtasks.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/queue.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/target.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/task.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1/video_intelligence.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search_service.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/index.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common/common.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/containeranalysis.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas/grafeas.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image/image.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package/package.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance/provenance.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source/source.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_upload.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/field.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/firestore_admin.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/index.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/operation.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/common.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/iamcredentials.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go create mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go create mode 100755 vendor/google.golang.org/genproto/internal/kokoro/check_incompat_changes.sh create mode 100755 vendor/google.golang.org/genproto/internal/kokoro/test.sh create mode 100644 vendor/google.golang.org/genproto/internal/kokoro/trampoline.sh create mode 100755 vendor/google.golang.org/genproto/internal/kokoro/vet.sh diff --git a/Gopkg.lock b/Gopkg.lock index 915582b32..8aeb97965 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -206,6 +206,9 @@ "jsonpb", "proto", "protoc-gen-go/descriptor", + "protoc-gen-go/generator", + "protoc-gen-go/generator/internal/remap", + "protoc-gen-go/plugin", "ptypes", "ptypes/any", "ptypes/duration", @@ -273,7 +276,7 @@ revision = "95ba29eb981bbb27d92e1f70bf8a1949452d926b" [[projects]] - digest = "1:b563eec078077ba5cedc795462cbd6d7c75a106a4d2e3d02940093c80e28de28" + digest = "1:67fa7fe174716264688b0d1c69ee4bfa75191d311ff8080f4b06caffbcc17ba6" name = "github.com/grpc-ecosystem/grpc-gateway" packages = [ "protoc-gen-swagger/options", @@ -282,8 +285,8 @@ "utilities", ] pruneopts = "" - revision = "92583770e3f01b09a0d3e9bdf64321d8bebd48f2" - version = "v1.4.1" + revision = "719aaadb1a4f7b11606d454e266fe5c5f789796f" + version = "v1.6.3" [[projects]] digest = "1:7df5a9695a743c3e1626b28bb8741602c8c15527e1efaeaec48ab2ff9a23f74c" @@ -637,8 +640,7 @@ version = "v1.1.0" [[projects]] - branch = "master" - digest = "1:6b740cfb473f7a3a1a5de40e48be84a3890a85832f51a647cca9e1deb00cf8d7" + digest = "1:8c7bf8f974d0b63a83834e83b6dd39c2b40d61d409d76172c81d67eba8fee4a8" name = "google.golang.org/genproto" packages = [ "googleapis/api/annotations", @@ -652,7 +654,7 @@ "protobuf/field_mask", ] pruneopts = "" - revision = "02b4e95473316948020af0b7a4f0f22c73929b0e" + revision = "bd9b4fb69e2ffd37621a6caa54dcbead29b546f2" [[projects]] digest = "1:d141efe4aaad714e3059c340901aab3147b6253e58c85dafbcca3dd8b0e88ad6" diff --git a/Gopkg.toml b/Gopkg.toml index e16a8bfe0..7adc48ae6 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -2,7 +2,7 @@ name = "go.uber.org/zap" version = "~1.9.1" -[[constraint]] +[[override]] name = "github.com/golang/protobuf" version = "~1.2.0" @@ -10,6 +10,14 @@ name = "google.golang.org/grpc" version = "~1.17.0" +[[constraint]] + name = "github.com/grpc-ecosystem/grpc-gateway" + version = "~1.6.3" + +[[override]] + name = "google.golang.org/genproto" + revision = "bd9b4fb69e2ffd37621a6caa54dcbead29b546f2" + [[constraint]] name = "github.com/go-yaml/yaml" revision = "51d6538a90f86fe93ac480b35f37b2be17fef232" diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/Dockerfile b/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/Dockerfile new file mode 100644 index 000000000..9285342ec --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/Dockerfile @@ -0,0 +1,36 @@ +FROM golang:latest + +## Warm apt cache +RUN apt-get update + +# Install swagger-codegen +ENV SWAGGER_CODEGEN_VERSION=2.2.2 +RUN apt-get install -y openjdk-8-jre wget && \ + wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/${SWAGGER_CODEGEN_VERSION}/swagger-codegen-cli-${SWAGGER_CODEGEN_VERSION}.jar \ + -O /usr/local/bin/swagger-codegen-cli.jar && \ + apt-get remove -y wget +ENV SWAGGER_CODEGEN="java -jar /usr/local/bin/swagger-codegen-cli.jar" + +# Install protoc +ENV PROTOC_VERSION=3.1.0 +RUN apt-get install -y wget unzip && \ + wget https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip \ + -O /protoc-${PROTOC_VERSION}-linux-x86_64.zip && \ + unzip /protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local/ && \ + rm -f /protoc-${PROTOC_VERSION}-linux-x86_64.zip && \ + apt-get remove -y unzip wget + +# Install node +ENV NODE_VERSION=v6.1 +RUN apt-get install -y wget bzip2 && \ + wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && \ + apt-get remove -y wget + +# Install dep +RUN apt-get install -y wget && \ + wget -qO- https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \ + apt-get remove -y wget + +# Clean up +RUN apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/README.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/README.md new file mode 100644 index 000000000..6fe89053b --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/README.md @@ -0,0 +1,22 @@ +## gRPC-Gateway CI testing setup + +Contained within is the CI test setup for the Gateway. It runs on Circle CI. + +### I want to regenerate the files after making changes! + +Great, it should be as simple as thus (run from the root of the directory): + +```bash +$ docker run -v $(pwd):/go/src/github.com/grpc-ecosystem/grpc-gateway --rm jfbrandhorst/grpc-gateway-build-env \ + /bin/bash -c 'cd /go/src/github.com/grpc-ecosystem/grpc-gateway && \ + make realclean && \ + make examples SWAGGER_CODEGEN="${SWAGGER_CODEGEN}"' +``` + +If this has resulted in some file changes in the repo, please ensure you check those in with your merge request. + +### Whats up with the Dockerfile? + +The `Dockerfile` in this folder is used as the build environment when regenerating the files (see above). +The canonical repository for this Dockerfile is `jfbrandhorst/grpc-gateway-build-env`. Please request access +before attempting to make any changes to the Dockerfile. diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/config.yml b/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/config.yml new file mode 100644 index 000000000..68dd572a8 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/.circleci/config.yml @@ -0,0 +1,102 @@ +version: 2 +jobs: + build: + docker: + - image: jfbrandhorst/grpc-gateway-build-env + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + steps: + - checkout + - run: dep ensure --vendor-only + - run: go build ./... + test: + docker: + - image: jfbrandhorst/grpc-gateway-build-env + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + environment: + GLOG_logtostderr: "1" + steps: + - checkout + - run: dep ensure --vendor-only + - run: go test -race -coverprofile=coverage.txt ./... + - run: bash <(curl -s https://codecov.io/bash) + node_test: + docker: + - image: jfbrandhorst/grpc-gateway-build-env + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + steps: + - checkout + - run: dep ensure --vendor-only + - run: > + . $HOME/.nvm/nvm.sh && + cd examples/browser && + npm install gulp-cli && + npm install && + ./node_modules/.bin/gulp + generate: + docker: + - image: jfbrandhorst/grpc-gateway-build-env + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + steps: + - checkout + - run: make realclean + - run: make examples SWAGGER_CODEGEN="${SWAGGER_CODEGEN}" # Set in Docker image + - run: git diff --exit-code + lint: + docker: + - image: jfbrandhorst/grpc-gateway-build-env + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + steps: + - checkout + - run: dep ensure --vendor-only + - run: go get golang.org/x/lint/golint + - run: make lint + bazel: + docker: + - image: l.gcr.io/google/bazel:latest + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + steps: + - checkout + - run: + name: Create Bazel config file (.bazelrc) + command: | + cat > .bazelrc << EOF + startup --output_base $HOME/.cache/_grpc_gateway_bazel + build --test_output errors + build --features race + EOF + - run: + name: Check that Bazel BUILD files are up-to-date + command: 'test -z "$(bazel run //:gazelle_diff)" || + (echo "ERROR: Bazel files out-of-date, please run \`bazel run :gazelle_fix\`" >&2; exit 1)' + - run: + name: Run tests with Bazel + command: bazel test //... + - run: + name: Check formatting of Bazel BUILD files + command: 'bazel run //:buildifier_check || + (echo "ERROR: Bazel files not formatted, please run \`bazel run :buildifier\`" >&2; exit 1)' + when: always + release: + docker: + - image: jfbrandhorst/grpc-gateway-build-env + working_directory: /go/src/github.com/grpc-ecosystem/grpc-gateway + steps: + - checkout + - run: dep ensure --vendor-only + - run: curl -sL https://git.io/goreleaser | bash +workflows: + version: 2 + all: + jobs: + - build + - test + - node_test + - generate + - lint + - bazel + - release: + filters: + branches: + ignore: /.*/ + tags: + only: /v[0-9]+(\.[0-9]+)*(-.*)*/ diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.gitignore b/vendor/github.com/grpc-ecosystem/grpc-gateway/.gitignore index 55e4918ab..7c349d62a 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.gitignore +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/.gitignore @@ -7,3 +7,6 @@ bazel-genfiles bazel-grpc-gateway bazel-out bazel-testlogs + +# Go vendor directory +vendor diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.goreleaser.yml b/vendor/github.com/grpc-ecosystem/grpc-gateway/.goreleaser.yml new file mode 100644 index 000000000..28131d84f --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/.goreleaser.yml @@ -0,0 +1,27 @@ +builds: + - main: ./protoc-gen-grpc-gateway/main.go + binary: protoc-gen-grpc-gateway + env: + - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - amd64 + - main: ./protoc-gen-swagger/main.go + binary: protoc-gen-swagger + env: + - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - amd64 +archive: + name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" + format: binary + replacements: + amd64: x86_64 +dist: _output diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis.yml b/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis.yml deleted file mode 100644 index 323a46450..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis.yml +++ /dev/null @@ -1,81 +0,0 @@ -language: go -sudo: false -go: - - 1.9.x - - 1.10.x - - master -go_import_path: github.com/grpc-ecosystem/grpc-gateway -cache: - directories: - - $HOME/local - - ${TRAVIS_BUILD_DIR}/examples/browser/node_modules - - $HOME/.cache/_grpc_gateway_bazel -before_install: - - if [ "${USE_BAZEL}" = true ]; then ./.travis/install-bazel.sh $BAZEL_VERSION; fi - - test "${USE_BAZEL}" = true || ./.travis/install-protoc.sh $PROTOC_VERSION - - test "${USE_BAZEL}" = true || ./.travis/install-swagger-codegen.sh $SWAGGER_CODEGEN_VERSION - - test "${USE_BAZEL}" = true || (nvm install $NODE_VERSION && nvm use $NODE_VERSION && node --version) - - test "${USE_BAZEL}" = true || go get github.com/golang/lint/golint - - test "${USE_BAZEL}" = true || go get github.com/dghubble/sling - - test "${USE_BAZEL}" = true || go get github.com/go-resty/resty -install: - # Make sure externally referenced packages are go-gettable. - - test "${USE_BAZEL}" = true || - go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway - - test "${USE_BAZEL}" = true || - go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger - - test "${USE_BAZEL}" = true || - go get github.com/grpc-ecosystem/grpc-gateway/runtime - - test "${USE_BAZEL}" = true || - go get github.com/grpc-ecosystem/grpc-gateway/examples/cmd/example-grpc-server - - test "${USE_BAZEL}" = true || - go get github.com/grpc-ecosystem/grpc-gateway/examples/cmd/example-gateway-server - - # Just build if USE_BAZEL - - if [ "${USE_BAZEL}" = true ]; then ./.travis/bazel-build.sh; fi -before_script: - - test "${USE_BAZEL}" = true || - (cd examples/browser && npm install) -script: - # Make sure examples of generated files are up-to-date - - test "${USE_BAZEL}" = true || - (make realclean && make examples SWAGGER_CODEGEN="java -jar $HOME/local/swagger-codegen-cli.jar") - - if [ -z "${USE_BAZEL}" ] && - (go version | grep -q "${GO_VERSION_TO_DIFF_TEST}") && - [ -z "${GATEWAY_PLUGIN_FLAGS}" ]; then - test -z "$(git status --porcelain)" || (git status; git diff; exit 1); - fi - - # Unit tests, integration tests and code health checks - - test "${USE_BAZEL}" = true || - env GLOG_logtostderr=1 go test -race -v github.com/grpc-ecosystem/grpc-gateway/... - - test "${USE_BAZEL}" = true || - make lint - - test "${USE_BAZEL}" = true || - sh -c 'cd examples/browser && node ./node_modules/gulp/bin/gulp' - - - if [ "${USE_BAZEL}" = true ]; then ./.travis/bazel-test.sh; fi - - # test coverage - - if (go version | grep -q "${GO_VERSION_TO_DIFF_TEST}") && - [ -z "${GATEWAY_PLUGIN_FLAGS}" ]; then - env GLOG_logtostderr=1 ./bin/coverage; - fi -after_success: - - bash <(curl -s https://codecov.io/bash) - -env: - global: - - "PATH=$PATH:$HOME/local/bin" - - GO_VERSION_TO_DIFF_TEST="go version go1\.10\.[0-9]\+ linux/amd64" - - BAZEL_VERSION=0.12.0 - - NODE_VERSION=v6.1 - - PROTOC_VERSION=3.1.0 - - SWAGGER_CODEGEN_VERSION=2.2.2 - matrix: - - GATEWAY_PLUGIN_FLAGS= - - GATEWAY_PLUGIN_FLAGS=request_context=false -matrix: - include: - - go: master - env: USE_BAZEL=true diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-build.sh b/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-build.sh deleted file mode 100755 index f46781d41..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -eu - -bazel \ - --batch \ - --output_base=$HOME/.cache/_grpc_gateway_bazel \ - --host_jvm_args=-Xmx500m \ - --host_jvm_args=-Xms500m \ - build \ - --local_resources=400,1,1.0 \ - //... diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-test.sh b/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-test.sh deleted file mode 100755 index 86dbbf327..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/bazel-test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -eu - -bazel \ - --batch \ - --output_base=$HOME/.cache/_grpc_gateway_bazel \ - --host_jvm_args=-Xmx500m \ - --host_jvm_args=-Xms500m \ - test \ - --local_resources=400,1,1.0 \ - --test_output=errors \ - --features=race \ - //... diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-bazel.sh b/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-bazel.sh deleted file mode 100755 index 9bebe44cd..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-bazel.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -eu - -bazel_version=$1 - -if test -z "${bazel_version}"; then - echo "Usage: .travis/install-bazel.sh bazel-version" - exit 1 -fi - -if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then - OS=darwin -else - OS=linux -fi - -filename=bazel-${bazel_version}-installer-${OS}-x86_64.sh -wget https://github.com/bazelbuild/bazel/releases/download/${bazel_version}/${filename} -chmod +x $filename -./$filename --user -rm -f $filename diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-protoc.sh b/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-protoc.sh deleted file mode 100755 index d96c25927..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-protoc.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -eu -protoc_version=$1 -if test -z "${protoc_version}"; then - echo "Usage: .travis/install-protoc.sh protoc-version" - exit 1 -fi -if [ "`$HOME/local/bin/protoc-${protoc_version} --version 2>/dev/null | cut -d' ' -f 2`" != ${protoc_version} ]; then - rm -rf $HOME/local/bin $HOME/local/include - - mkdir -p $HOME/tmp $HOME/local - cd $HOME/tmp - wget https://github.com/google/protobuf/releases/download/v${protoc_version}/protoc-${protoc_version}-linux-x86_64.zip - unzip protoc-${protoc_version}-linux-x86_64.zip - mv bin $HOME/local/bin - mv include $HOME/local/include -fi - -echo \$ $HOME/local/bin/protoc --version -$HOME/local/bin/protoc --version diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-swagger-codegen.sh b/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-swagger-codegen.sh deleted file mode 100755 index ad4c8b568..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/.travis/install-swagger-codegen.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -eu -codegen_version=$1 -if test -z "${codegen_version}"; then - echo "Usage: .travis/install-swagger-codegen.sh codegen-version" - exit 1 -fi - -wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/${codegen_version}/swagger-codegen-cli-${codegen_version}.jar \ - -O $HOME/local/swagger-codegen-cli.jar diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/BUILD b/vendor/github.com/grpc-ecosystem/grpc-gateway/BUILD index 0ab0afa13..a9997cb5a 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/BUILD +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/BUILD @@ -1,6 +1,17 @@ load("@bazel_gazelle//:def.bzl", "gazelle") +load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier") + +buildifier( + name = "buildifier", +) + +buildifier( + name = "buildifier_check", + mode = "check", +) # gazelle:exclude third_party +# gazelle:exclude vendor gazelle( name = "gazelle_diff", diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/CHANGELOG.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/CHANGELOG.md index bc7f219ea..19c081f8c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/CHANGELOG.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/CHANGELOG.md @@ -1,5 +1,179 @@ # Change Log +## [v1.6.3](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.6.3) (2018-12-21) +[Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.6.2...v1.6.3) + +**Fixed bugs:** + +- Comments of rpc method gets copied if multiple services are present in a proto file. [\#746](https://github.com/grpc-ecosystem/grpc-gateway/issues/746) + +**Closed issues:** + +- Issue with google.protobuf.Empty representation in swagger file [\#831](https://github.com/grpc-ecosystem/grpc-gateway/issues/831) + +**Merged pull requests:** + +- protoc-gen-swagger: check typeIndex when typeName is Method [\#833](https://github.com/grpc-ecosystem/grpc-gateway/pull/833) ([hexfusion](https://github.com/hexfusion)) +- Replace complicated circle CI release with goreleaser. [\#828](https://github.com/grpc-ecosystem/grpc-gateway/pull/828) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Stop the publishing recursion [\#827](https://github.com/grpc-ecosystem/grpc-gateway/pull/827) ([achew22](https://github.com/achew22)) + +## [v1.6.2](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.6.2) (2018-12-07) +[Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.6.0...v1.6.2) + +## [v1.6.0](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.6.0) (2018-12-07) +[Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.6.1...v1.6.0) + +## [v1.6.1](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.6.1) (2018-12-07) +[Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.5.1...v1.6.1) + +**Implemented enhancements:** + +- Add 'License' message to the annotation proto. [\#644](https://github.com/grpc-ecosystem/grpc-gateway/pull/644) ([ensonic](https://github.com/ensonic)) + +**Fixed bugs:** + +- Cannot return HTTP header using "Grpc-Metadata-" prefix [\#782](https://github.com/grpc-ecosystem/grpc-gateway/issues/782) +- protoc-gen-swagger throws the error: Any JSON doesn't have '@type' [\#771](https://github.com/grpc-ecosystem/grpc-gateway/issues/771) +- proto-gen-swagger: provide default description for HTTP 200 responses [\#766](https://github.com/grpc-ecosystem/grpc-gateway/issues/766) + +**Closed issues:** + +- Please release the repo, IOReaderFactory is not available on the latest release! [\#823](https://github.com/grpc-ecosystem/grpc-gateway/issues/823) +- Bazel CI breaks frequently [\#817](https://github.com/grpc-ecosystem/grpc-gateway/issues/817) +- Unable to add protobuf wrappers in url template option [\#808](https://github.com/grpc-ecosystem/grpc-gateway/issues/808) +- Class 'GPBMetadata\ProtocGenSwagger\Options\Annotations' not found [\#794](https://github.com/grpc-ecosystem/grpc-gateway/issues/794) +- REST gateway over RPCS? [\#789](https://github.com/grpc-ecosystem/grpc-gateway/issues/789) +- Why the rctx is substituted by a new empty context? [\#788](https://github.com/grpc-ecosystem/grpc-gateway/issues/788) +- grpc gateway intercepter [\#785](https://github.com/grpc-ecosystem/grpc-gateway/issues/785) +- "error" and "message" fields in error response [\#768](https://github.com/grpc-ecosystem/grpc-gateway/issues/768) +- Go1.11: http.CloseNotifier is deprecated [\#736](https://github.com/grpc-ecosystem/grpc-gateway/issues/736) +- Access to raw post body [\#652](https://github.com/grpc-ecosystem/grpc-gateway/issues/652) + +**Merged pull requests:** + +- Write version to intermediate file for release publish [\#826](https://github.com/grpc-ecosystem/grpc-gateway/pull/826) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Check out code before calling ghr [\#825](https://github.com/grpc-ecosystem/grpc-gateway/pull/825) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Generate changelog for 1.6.0 [\#824](https://github.com/grpc-ecosystem/grpc-gateway/pull/824) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Add filegroup for options proto files [\#821](https://github.com/grpc-ecosystem/grpc-gateway/pull/821) ([kellycampbell](https://github.com/kellycampbell)) +- Added support for more WKT [\#816](https://github.com/grpc-ecosystem/grpc-gateway/pull/816) ([mayankcpdixit](https://github.com/mayankcpdixit)) +- Fix protobuf repository's owner name on README.md [\#814](https://github.com/grpc-ecosystem/grpc-gateway/pull/814) ([micnncim](https://github.com/micnncim)) +- Revert "Adding support for more well known types in descriptor" [\#813](https://github.com/grpc-ecosystem/grpc-gateway/pull/813) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Feature/patch2 rebased [\#812](https://github.com/grpc-ecosystem/grpc-gateway/pull/812) ([razamiDev](https://github.com/razamiDev)) +- Correct wellKnownTypeConv function references [\#811](https://github.com/grpc-ecosystem/grpc-gateway/pull/811) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Adding support for more well known types in descriptor [\#809](https://github.com/grpc-ecosystem/grpc-gateway/pull/809) ([mayankcpdixit](https://github.com/mayankcpdixit)) +- Make Bazel CI failures clearer [\#807](https://github.com/grpc-ecosystem/grpc-gateway/pull/807) ([drigz](https://github.com/drigz)) +- fix bug: the resource name of custom method doesn't be retained [\#805](https://github.com/grpc-ecosystem/grpc-gateway/pull/805) ([ch3rub1m](https://github.com/ch3rub1m)) +- Update rules\_go and gazelle [\#802](https://github.com/grpc-ecosystem/grpc-gateway/pull/802) ([drigz](https://github.com/drigz)) +- Properly omit wrappers and google.protobuf.empty from swagger definitions [\#801](https://github.com/grpc-ecosystem/grpc-gateway/pull/801) ([birdayz](https://github.com/birdayz)) +- Use newer Bazel repo rules [\#798](https://github.com/grpc-ecosystem/grpc-gateway/pull/798) ([drigz](https://github.com/drigz)) +- Run buildifer on Bazel files [\#797](https://github.com/grpc-ecosystem/grpc-gateway/pull/797) ([drigz](https://github.com/drigz)) +- protoc-gen-swagger: Fix formatting of license field definition. [\#796](https://github.com/grpc-ecosystem/grpc-gateway/pull/796) ([ivucica](https://github.com/ivucica)) +- Remove http.CloseNotifier code from Go \>= 1.7 builds [\#795](https://github.com/grpc-ecosystem/grpc-gateway/pull/795) ([SpikesDivZero](https://github.com/SpikesDivZero)) +- ci: add job for building binaries for releases [\#793](https://github.com/grpc-ecosystem/grpc-gateway/pull/793) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Add documentation to the rest of methods on the examples [\#791](https://github.com/grpc-ecosystem/grpc-gateway/pull/791) ([rvegas](https://github.com/rvegas)) +- fix \#782 Cannot return HTTP header using "Grpc-Metadata-" prefix [\#784](https://github.com/grpc-ecosystem/grpc-gateway/pull/784) ([joelclouddistrict](https://github.com/joelclouddistrict)) +- Fix CircleCI configuration [\#777](https://github.com/grpc-ecosystem/grpc-gateway/pull/777) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- tests: s/iotuil/ioutil/ typo [\#775](https://github.com/grpc-ecosystem/grpc-gateway/pull/775) ([srenatus](https://github.com/srenatus)) +- Replace travis with CircleCI for easier testing [\#772](https://github.com/grpc-ecosystem/grpc-gateway/pull/772) ([johanbrandhorst](https://github.com/johanbrandhorst)) + +## [v1.5.1](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.5.1) (2018-10-02) +[Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.5.0...v1.5.1) + +**Implemented enhancements:** + +- protobuf well known types aren't represented in swagger output correctly [\#160](https://github.com/grpc-ecosystem/grpc-gateway/issues/160) + +**Fixed bugs:** + +- URLs using verb no longer work after upgrading to v1.5.0 [\#760](https://github.com/grpc-ecosystem/grpc-gateway/issues/760) +- protoc-gen-swagger doesn't generate any request objects for GET/DELETE [\#747](https://github.com/grpc-ecosystem/grpc-gateway/issues/747) + +**Closed issues:** + +- how to get proper fields name for method [\#745](https://github.com/grpc-ecosystem/grpc-gateway/issues/745) +- Make a new release [\#733](https://github.com/grpc-ecosystem/grpc-gateway/issues/733) +- how to provide interface type inside proto for grpc-gateway [\#723](https://github.com/grpc-ecosystem/grpc-gateway/issues/723) +- Is there any way we can remove fields from the response json in grpc-gateway? [\#710](https://github.com/grpc-ecosystem/grpc-gateway/issues/710) +- How to write tests for the gateway? [\#699](https://github.com/grpc-ecosystem/grpc-gateway/issues/699) +- protoc-gen-swagger: No comments for path parameters [\#694](https://github.com/grpc-ecosystem/grpc-gateway/issues/694) +- Can you differentiate between an empty map vs field not provided? [\#552](https://github.com/grpc-ecosystem/grpc-gateway/issues/552) +- import\_path option not working as intended [\#536](https://github.com/grpc-ecosystem/grpc-gateway/issues/536) + +**Merged pull requests:** + +- Add default value for swagger 200 response [\#767](https://github.com/grpc-ecosystem/grpc-gateway/pull/767) ([johnchildren](https://github.com/johnchildren)) +- Generate changelog for release v1.5.1 [\#764](https://github.com/grpc-ecosystem/grpc-gateway/pull/764) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Revert \#708 since it breaks backwards compatibility [\#761](https://github.com/grpc-ecosystem/grpc-gateway/pull/761) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Update README.md [\#757](https://github.com/grpc-ecosystem/grpc-gateway/pull/757) ([wora](https://github.com/wora)) +- Added camelCase Example [\#751](https://github.com/grpc-ecosystem/grpc-gateway/pull/751) ([srikrsna](https://github.com/srikrsna)) +- Add more guidance to issue template [\#750](https://github.com/grpc-ecosystem/grpc-gateway/pull/750) ([johanbrandhorst](https://github.com/johanbrandhorst)) + +## [v1.5.0](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.5.0) (2018-09-09) +[Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.4.1...v1.5.0) + +**Fixed bugs:** + +- forwarding binary metadata is broken [\#218](https://github.com/grpc-ecosystem/grpc-gateway/issues/218) + +**Closed issues:** + +- something wrong with service [\#748](https://github.com/grpc-ecosystem/grpc-gateway/issues/748) +- Support for repeated path parameters [\#741](https://github.com/grpc-ecosystem/grpc-gateway/issues/741) +- Uint64 is represented as type:"string" in the swagger docs. [\#735](https://github.com/grpc-ecosystem/grpc-gateway/issues/735) +- autoregister all provided services [\#732](https://github.com/grpc-ecosystem/grpc-gateway/issues/732) +- `go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway` fails on clean environment [\#731](https://github.com/grpc-ecosystem/grpc-gateway/issues/731) +- format tool [\#729](https://github.com/grpc-ecosystem/grpc-gateway/issues/729) +- how to do tls auth in grpc+grpc-gateway [\#727](https://github.com/grpc-ecosystem/grpc-gateway/issues/727) +- Let service choose it's own marshaller [\#725](https://github.com/grpc-ecosystem/grpc-gateway/issues/725) +- why gateway proxy can not distribute the http request to local server? prompt 404 [\#722](https://github.com/grpc-ecosystem/grpc-gateway/issues/722) +- enc.SetIndent undefined \(type \*json.Encoder has no field or method SetIndent\) [\#717](https://github.com/grpc-ecosystem/grpc-gateway/issues/717) +- Travis CI fails on master branch [\#714](https://github.com/grpc-ecosystem/grpc-gateway/issues/714) +- google/protobuf/descriptor.proto: File not found. ? [\#713](https://github.com/grpc-ecosystem/grpc-gateway/issues/713) +- APIs with grpc-gateway \(S3,WebDav\) [\#709](https://github.com/grpc-ecosystem/grpc-gateway/issues/709) +- FR: Promote a field in the returned JSON message to a top-level returned value [\#707](https://github.com/grpc-ecosystem/grpc-gateway/issues/707) +- Does grpc-gateway support the HTTP 2.0 protocol? [\#703](https://github.com/grpc-ecosystem/grpc-gateway/issues/703) +- The swagger plugin couldn’t distinguish two rpcs if we use the resource name design style. [\#702](https://github.com/grpc-ecosystem/grpc-gateway/issues/702) +- Handling of optional parameters [\#697](https://github.com/grpc-ecosystem/grpc-gateway/issues/697) +- Vendor dependencies [\#689](https://github.com/grpc-ecosystem/grpc-gateway/issues/689) +- Output swagger seems incorrect [\#688](https://github.com/grpc-ecosystem/grpc-gateway/issues/688) +- how to use this in java? [\#685](https://github.com/grpc-ecosystem/grpc-gateway/issues/685) +- r [\#684](https://github.com/grpc-ecosystem/grpc-gateway/issues/684) +- url query parameters should support semicolon in value field [\#680](https://github.com/grpc-ecosystem/grpc-gateway/issues/680) +- how to install swagger-codegen@2.2.2? [\#670](https://github.com/grpc-ecosystem/grpc-gateway/issues/670) +- Merging swagger specs fails to use rpc comments [\#664](https://github.com/grpc-ecosystem/grpc-gateway/issues/664) +- Impossible to use gogo/protobuf registered types in gRPC Status errors [\#576](https://github.com/grpc-ecosystem/grpc-gateway/issues/576) +- Path parameters can't have URL encoded values [\#566](https://github.com/grpc-ecosystem/grpc-gateway/issues/566) +- docs: show example of tracing over http-\>grpc boundary [\#348](https://github.com/grpc-ecosystem/grpc-gateway/issues/348) +- Response codes and descriptions in Swagger docs [\#304](https://github.com/grpc-ecosystem/grpc-gateway/issues/304) + +**Merged pull requests:** + +- Generate release notes for v1.5.0 [\#749](https://github.com/grpc-ecosystem/grpc-gateway/pull/749) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Add missing modules to browser example [\#743](https://github.com/grpc-ecosystem/grpc-gateway/pull/743) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Added support for path param repeated fields [\#742](https://github.com/grpc-ecosystem/grpc-gateway/pull/742) ([maros7](https://github.com/maros7)) +- Add support for enum path parameters [\#738](https://github.com/grpc-ecosystem/grpc-gateway/pull/738) ([maros7](https://github.com/maros7)) +- Add support to forward grpc binary metadata [\#737](https://github.com/grpc-ecosystem/grpc-gateway/pull/737) ([timonwong](https://github.com/timonwong)) +- Lock versions to tags where possible [\#724](https://github.com/grpc-ecosystem/grpc-gateway/pull/724) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- install-protoc was checking version from wrong executable path [\#721](https://github.com/grpc-ecosystem/grpc-gateway/pull/721) ([temoto](https://github.com/temoto)) +- Fix naming convention of JSON Schema didn't matched with the spec [\#719](https://github.com/grpc-ecosystem/grpc-gateway/pull/719) ([co3k](https://github.com/co3k)) +- Add message field to the error message emitted by grpc-gateway [\#718](https://github.com/grpc-ecosystem/grpc-gateway/pull/718) ([ffredsh](https://github.com/ffredsh)) +- Fix up examples [\#715](https://github.com/grpc-ecosystem/grpc-gateway/pull/715) ([achew22](https://github.com/achew22)) +- Support HttpRule with field response [\#712](https://github.com/grpc-ecosystem/grpc-gateway/pull/712) ([doroginin](https://github.com/doroginin)) +- Make support paths option [\#711](https://github.com/grpc-ecosystem/grpc-gateway/pull/711) ([izumin5210](https://github.com/izumin5210)) +- Add test case and proposed fix for path component with trailing colon \(and string\) [\#708](https://github.com/grpc-ecosystem/grpc-gateway/pull/708) ([jfhamlin](https://github.com/jfhamlin)) +- add OpenTracing support to docs [\#705](https://github.com/grpc-ecosystem/grpc-gateway/pull/705) ([theRealWardo](https://github.com/theRealWardo)) +- add support for resource name in swagger plugin \(\#702\) [\#704](https://github.com/grpc-ecosystem/grpc-gateway/pull/704) ([ch3rub1m](https://github.com/ch3rub1m)) +- Add explicit dependency versions [\#696](https://github.com/grpc-ecosystem/grpc-gateway/pull/696) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- protoc-gen-swagger: support all well-known wrapper types [\#695](https://github.com/grpc-ecosystem/grpc-gateway/pull/695) ([jriecken](https://github.com/jriecken)) +- runtime: add support for time types in query parameters [\#693](https://github.com/grpc-ecosystem/grpc-gateway/pull/693) ([johanbrandhorst](https://github.com/johanbrandhorst)) +- Populate swagger method parameter description from message comments [\#692](https://github.com/grpc-ecosystem/grpc-gateway/pull/692) ([co3k](https://github.com/co3k)) +- Updated doc and comments to reflect Permanent HTTP header keys prefixing [\#691](https://github.com/grpc-ecosystem/grpc-gateway/pull/691) ([crozzy](https://github.com/crozzy)) +- protoc-gen-swagger: support JSON Schema Validation properties and add openapiv2\_field option [\#687](https://github.com/grpc-ecosystem/grpc-gateway/pull/687) ([co3k](https://github.com/co3k)) +- Bazel expose protoc-gen-grpc-gateway [\#668](https://github.com/grpc-ecosystem/grpc-gateway/pull/668) ([afking](https://github.com/afking)) +- Fix protoc-gen-swagger to output gRPC method summary and descriptions as Swagger's them [\#667](https://github.com/grpc-ecosystem/grpc-gateway/pull/667) ([co3k](https://github.com/co3k)) +- Allow explicit empty security definition to overwrite existing definitions [\#666](https://github.com/grpc-ecosystem/grpc-gateway/pull/666) ([co3k](https://github.com/co3k)) +- protoc-gen-swagger: Add ability to specify custom response objects [\#663](https://github.com/grpc-ecosystem/grpc-gateway/pull/663) ([johanbrandhorst](https://github.com/johanbrandhorst)) + ## [v1.4.1](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.4.1) (2018-05-23) [Full Changelog](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/compare/v1.4.0...v1.4.1) @@ -9,6 +183,7 @@ **Merged pull requests:** +- Generate release notes for v1.4.1 [\#659](https://github.com/grpc-ecosystem/grpc-gateway/pull/659) ([achew22](https://github.com/achew22)) - Translate gRPC FailedPrecondition as HTTP PreconditionFailed [\#657](https://github.com/grpc-ecosystem/grpc-gateway/pull/657) ([slomek](https://github.com/slomek)) ## [v1.4.0](https://grpc-ecosystem.github.io/grpc-gateway/grpc-ecosystem/grpc-gateway/tree/v1.4.0) (2018-05-20) @@ -33,7 +208,6 @@ - Import "google/api/annotations.proto" was not found or had errors. [\#574](https://github.com/grpc-ecosystem/grpc-gateway/issues/574) - is there has a way to let grpc-gateway server support multiple endpoints [\#573](https://github.com/grpc-ecosystem/grpc-gateway/issues/573) - would it be possible to avoid vendoring "third\_party/googleapis/" [\#572](https://github.com/grpc-ecosystem/grpc-gateway/issues/572) -- Path parameters can't have URL encoded values [\#566](https://github.com/grpc-ecosystem/grpc-gateway/issues/566) - Is there anyway to output the access log of grpc gateway [\#556](https://github.com/grpc-ecosystem/grpc-gateway/issues/556) - proto: no slice oenc for \*reflect.rtype = \[\]\*reflect.rtype [\#551](https://github.com/grpc-ecosystem/grpc-gateway/issues/551) - autoreconf not found [\#549](https://github.com/grpc-ecosystem/grpc-gateway/issues/549) @@ -58,6 +232,7 @@ - Generate a single swagger definition on demand [\#658](https://github.com/grpc-ecosystem/grpc-gateway/pull/658) ([achew22](https://github.com/achew22)) - Regenerate example files [\#656](https://github.com/grpc-ecosystem/grpc-gateway/pull/656) ([achew22](https://github.com/achew22)) - Add v1.4.0 changelog [\#655](https://github.com/grpc-ecosystem/grpc-gateway/pull/655) ([achew22](https://github.com/achew22)) +- Replace the deprecated grpclog.Printf with grpclog.Infof [\#654](https://github.com/grpc-ecosystem/grpc-gateway/pull/654) ([a-robinson](https://github.com/a-robinson)) - Add README.md for examples [\#645](https://github.com/grpc-ecosystem/grpc-gateway/pull/645) ([liukgg](https://github.com/liukgg)) - JSONPb marshaler panics if input is nil interface [\#639](https://github.com/grpc-ecosystem/grpc-gateway/pull/639) ([jhump](https://github.com/jhump)) - provide access to underlying \*json.Decoder from JSONPb.NewDecoder [\#637](https://github.com/grpc-ecosystem/grpc-gateway/pull/637) ([jhump](https://github.com/jhump)) @@ -84,7 +259,9 @@ - Support cases where the request is done with transfer-encoding chunked [\#589](https://github.com/grpc-ecosystem/grpc-gateway/pull/589) ([jacksontj](https://github.com/jacksontj)) - Support multiple metadata annotators [\#586](https://github.com/grpc-ecosystem/grpc-gateway/pull/586) ([dmacthedestroyer](https://github.com/dmacthedestroyer)) - Changed to use more appropriate http status code for ResourceExhausted [\#580](https://github.com/grpc-ecosystem/grpc-gateway/pull/580) ([eleniums](https://github.com/eleniums)) +- Stop marshalling any.Any types unnecessarily. [\#577](https://github.com/grpc-ecosystem/grpc-gateway/pull/577) ([johanbrandhorst](https://github.com/johanbrandhorst)) - fix racy access of err variable [\#575](https://github.com/grpc-ecosystem/grpc-gateway/pull/575) ([jhump](https://github.com/jhump)) +- option to tweak generated Register\* function names [\#571](https://github.com/grpc-ecosystem/grpc-gateway/pull/571) ([jhump](https://github.com/jhump)) - runtime: return 503 not 403 with ResourceExhausted. [\#569](https://github.com/grpc-ecosystem/grpc-gateway/pull/569) ([hexfusion](https://github.com/hexfusion)) - \[\]byte in query now uses base64.StdEncoding [\#565](https://github.com/grpc-ecosystem/grpc-gateway/pull/565) ([lucasvo](https://github.com/lucasvo)) - Add 3rd party rpc protos in order to have access to status and error [\#563](https://github.com/grpc-ecosystem/grpc-gateway/pull/563) ([rvegas](https://github.com/rvegas)) @@ -123,7 +300,6 @@ - Are gateway metrics available? [\#498](https://github.com/grpc-ecosystem/grpc-gateway/issues/498) - Backwards incompatible change to chunked encoding [\#495](https://github.com/grpc-ecosystem/grpc-gateway/issues/495) - Map of list [\#493](https://github.com/grpc-ecosystem/grpc-gateway/issues/493) -- Repeated nested messages doesn't work in GET requests queries. [\#492](https://github.com/grpc-ecosystem/grpc-gateway/issues/492) - How to run `makefile` for this repo? [\#491](https://github.com/grpc-ecosystem/grpc-gateway/issues/491) - all SubConns are in TransientFailure [\#490](https://github.com/grpc-ecosystem/grpc-gateway/issues/490) - Appengine Standard Environment: "not an Appengine context" [\#487](https://github.com/grpc-ecosystem/grpc-gateway/issues/487) @@ -153,7 +329,7 @@ - swagger: Unclear comments' parser behaviour [\#352](https://github.com/grpc-ecosystem/grpc-gateway/issues/352) - Support semicolon syntax in go\_package protobuf option [\#341](https://github.com/grpc-ecosystem/grpc-gateway/issues/341) - Add SOAP proxy [\#339](https://github.com/grpc-ecosystem/grpc-gateway/issues/339) -- Support combination of query params and body for POSTs [\#234](https://github.com/grpc-ecosystem/grpc-gateway/issues/234) +- Support combination of query params and body for POSTs with body: "\*" [\#234](https://github.com/grpc-ecosystem/grpc-gateway/issues/234) - Interceptor [\#221](https://github.com/grpc-ecosystem/grpc-gateway/issues/221) **Merged pull requests:** @@ -236,7 +412,7 @@ - ci: regen with current protoc-gen-go [\#385](https://github.com/grpc-ecosystem/grpc-gateway/pull/385) ([tmc](https://github.com/tmc)) - Use status package for error and introduce WithProtoErrorHandler option [\#378](https://github.com/grpc-ecosystem/grpc-gateway/pull/378) ([kazegusuri](https://github.com/kazegusuri)) - Return response headers from grpc server [\#374](https://github.com/grpc-ecosystem/grpc-gateway/pull/374) ([tamalsaha](https://github.com/tamalsaha)) -- Skip unreferenced messages in definitions. [\#371](https://github.com/grpc-ecosystem/grpc-gateway/pull/371) ([Lantame](https://github.com/Lantame)) +- Skip unreferenced messages in definitions. [\#371](https://github.com/grpc-ecosystem/grpc-gateway/pull/371) ([lantame](https://github.com/lantame)) - Use canonical header form in default header matcher. [\#369](https://github.com/grpc-ecosystem/grpc-gateway/pull/369) ([tamalsaha](https://github.com/tamalsaha)) - support allow\_delete\_body for protoc-gen-grpc-gateway [\#318](https://github.com/grpc-ecosystem/grpc-gateway/pull/318) ([flisky](https://github.com/flisky)) - fixes package name override doesn't work [\#277](https://github.com/grpc-ecosystem/grpc-gateway/pull/277) ([favadi](https://github.com/favadi)) @@ -531,7 +707,7 @@ - fixes missing swagger operation objects [\#109](https://github.com/grpc-ecosystem/grpc-gateway/pull/109) ([t-yuki](https://github.com/t-yuki)) - Add parser and swagger support for enum, no gengateway yet [\#108](https://github.com/grpc-ecosystem/grpc-gateway/pull/108) ([t-yuki](https://github.com/t-yuki)) - README: add protoc-gen-swagger too [\#105](https://github.com/grpc-ecosystem/grpc-gateway/pull/105) ([philips](https://github.com/philips)) -- README: Suggest go get -u by default. [\#104](https://github.com/grpc-ecosystem/grpc-gateway/pull/104) ([shurcooL](https://github.com/shurcooL)) +- README: Suggest go get -u by default. [\#104](https://github.com/grpc-ecosystem/grpc-gateway/pull/104) ([dmitshur](https://github.com/dmitshur)) - Cancel context when HTTP connection is closed [\#102](https://github.com/grpc-ecosystem/grpc-gateway/pull/102) ([floridoo](https://github.com/floridoo)) - wait test server up [\#100](https://github.com/grpc-ecosystem/grpc-gateway/pull/100) ([kazegusuri](https://github.com/kazegusuri)) - Fix the swagger section of the README.md [\#98](https://github.com/grpc-ecosystem/grpc-gateway/pull/98) ([naibaf0](https://github.com/naibaf0)) @@ -574,13 +750,13 @@ - Format error message in JSON [\#29](https://github.com/grpc-ecosystem/grpc-gateway/pull/29) ([yugui](https://github.com/yugui)) - Update examples with HTTP header context annotation [\#28](https://github.com/grpc-ecosystem/grpc-gateway/pull/28) ([yugui](https://github.com/yugui)) - Report semantic errors in the source to protoc [\#27](https://github.com/grpc-ecosystem/grpc-gateway/pull/27) ([yugui](https://github.com/yugui)) -- Add support for non-nullable nested messages. [\#21](https://github.com/grpc-ecosystem/grpc-gateway/pull/21) ([shurcooL](https://github.com/shurcooL)) +- Add support for non-nullable nested messages. [\#21](https://github.com/grpc-ecosystem/grpc-gateway/pull/21) ([dmitshur](https://github.com/dmitshur)) - Receive GRPC metadata from HTTP headers. [\#18](https://github.com/grpc-ecosystem/grpc-gateway/pull/18) ([crast](https://github.com/crast)) - Implement detailed specs of google.api.http [\#14](https://github.com/grpc-ecosystem/grpc-gateway/pull/14) ([yugui](https://github.com/yugui)) - Configure travis CI [\#13](https://github.com/grpc-ecosystem/grpc-gateway/pull/13) ([yugui](https://github.com/yugui)) - Replace our own custom option with the one defined by Google [\#12](https://github.com/grpc-ecosystem/grpc-gateway/pull/12) ([yugui](https://github.com/yugui)) - Remove useless context setup [\#11](https://github.com/grpc-ecosystem/grpc-gateway/pull/11) ([iamqizhao](https://github.com/iamqizhao)) -- Fix typo, path, missing semicolon. [\#10](https://github.com/grpc-ecosystem/grpc-gateway/pull/10) ([shurcooL](https://github.com/shurcooL)) +- Fix typo, path, missing semicolon. [\#10](https://github.com/grpc-ecosystem/grpc-gateway/pull/10) ([dmitshur](https://github.com/dmitshur)) - Use a globally unique id for the custom option [\#3](https://github.com/grpc-ecosystem/grpc-gateway/pull/3) ([yugui](https://github.com/yugui)) - implement ABitOfEverythingService [\#2](https://github.com/grpc-ecosystem/grpc-gateway/pull/2) ([mattn](https://github.com/mattn)) - support streaming API calls [\#1](https://github.com/grpc-ecosystem/grpc-gateway/pull/1) ([yugui](https://github.com/yugui)) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/CONTRIBUTING.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/CONTRIBUTING.md index 4f0c59eea..a7d09ce6c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/CONTRIBUTING.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/CONTRIBUTING.md @@ -18,3 +18,18 @@ with us through the issue tracker. ### Code reviews All submissions, including submissions by project members, require review. + +### I want to regenerate the files after making changes! + +Great, it should be as simple as thus (run from the root of the directory): + +```bash +docker run -v $(pwd):/go/src/github.com/grpc-ecosystem/grpc-gateway --rm jfbrandhorst/grpc-gateway-build-env \ + /bin/bash -c 'cd /go/src/github.com/grpc-ecosystem/grpc-gateway && \ + make realclean && \ + make examples SWAGGER_CODEGEN="${SWAGGER_CODEGEN}"' +docker run -itv $(pwd):/grpc-gateway -w /grpc-gateway --entrypoint /bin/bash --rm \ + l.gcr.io/google/bazel -c 'bazel run :gazelle_fix; bazel run :buildifier' +``` + +If this has resulted in some file changes in the repo, please ensure you check those in with your merge request. diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.lock b/vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.lock new file mode 100644 index 000000000..1bbc8d615 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.lock @@ -0,0 +1,190 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + digest = "1:2cd7915ab26ede7d95b8749e6b1f933f1c6d5398030684e6505940a10f31cfda" + name = "github.com/ghodss/yaml" + packages = ["."] + pruneopts = "UT" + revision = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7" + +[[projects]] + digest = "1:5cae6c173646d9230aecf8074c171edb4fb9a37f074c5c89ba2fece20b6703b6" + name = "github.com/go-resty/resty" + packages = ["."] + pruneopts = "UT" + revision = "f8815663de1e64d57cdd4ee9e2b2fa96977a030e" + +[[projects]] + digest = "1:1ba1d79f2810270045c328ae5d674321db34e3aae468eb4233883b473c5c0467" + name = "github.com/golang/glog" + packages = ["."] + pruneopts = "UT" + revision = "23def4e6c14b4da8ac2ed8007337bc5eb5007998" + +[[projects]] + digest = "1:77303a120dcd145972685b3465e58e1a0910544fcb323ca24755e073c1ea6d2c" + name = "github.com/golang/protobuf" + packages = [ + "jsonpb", + "proto", + "protoc-gen-go", + "protoc-gen-go/descriptor", + "protoc-gen-go/generator", + "protoc-gen-go/generator/internal/remap", + "protoc-gen-go/grpc", + "protoc-gen-go/plugin", + "ptypes", + "ptypes/any", + "ptypes/duration", + "ptypes/empty", + "ptypes/struct", + "ptypes/timestamp", + "ptypes/wrappers", + ] + pruneopts = "UT" + revision = "aa810b61a9c79d51363740d207bb46cf8e620ed5" + +[[projects]] + digest = "1:d673e95129a1107bfd04e093751a5e1267faabc27d218d824fb013f57ac08f55" + name = "github.com/rogpeppe/fastuuid" + packages = ["."] + pruneopts = "UT" + revision = "6724a57986aff9bff1a1770e9347036def7c89f6" + +[[projects]] + digest = "1:c0b7af9789502fec69b7ab40035a2180e43b9663c32101084ba51c844ea416e9" + name = "golang.org/x/net" + packages = [ + "context", + "http/httpguts", + "http2", + "http2/hpack", + "idna", + "internal/timeseries", + "publicsuffix", + "trace", + ] + pruneopts = "UT" + revision = "4dfa2610cdf3b287375bbba5b8f2a14d3b01d8de" + +[[projects]] + branch = "master" + digest = "1:7ba061af4131fb44b30448572acd0d6fefbf63a61b97b7ef1dea0be5871c2742" + name = "golang.org/x/sys" + packages = ["unix"] + pruneopts = "UT" + revision = "66b7b1311ac80bbafcd2daeef9a5e6e2cd1e2399" + +[[projects]] + digest = "1:a2ab62866c75542dd18d2b069fec854577a20211d7c0ea6ae746072a1dccdd18" + name = "golang.org/x/text" + packages = [ + "collate", + "collate/build", + "internal/colltab", + "internal/gen", + "internal/tag", + "internal/triegen", + "internal/ucd", + "language", + "secure/bidirule", + "transform", + "unicode/bidi", + "unicode/cldr", + "unicode/norm", + "unicode/rangetable", + ] + pruneopts = "UT" + revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" + version = "v0.3.0" + +[[projects]] + digest = "1:46be2f6b4d4e4b89f8102668902e68013234da1684fc78da602da95e745f285d" + name = "google.golang.org/genproto" + packages = [ + "googleapis/api/annotations", + "googleapis/rpc/errdetails", + "googleapis/rpc/status", + "protobuf/field_mask", + ] + pruneopts = "UT" + revision = "383e8b2c3b9e36c4076b235b32537292176bae20" + +[[projects]] + digest = "1:c3ad9841823db6da420a5625b367913b4ff54bbe60e8e3c98bd20e243e62e2d2" + name = "google.golang.org/grpc" + packages = [ + ".", + "balancer", + "balancer/base", + "balancer/roundrobin", + "codes", + "connectivity", + "credentials", + "encoding", + "encoding/proto", + "grpclog", + "internal", + "internal/backoff", + "internal/channelz", + "internal/envconfig", + "internal/grpcrand", + "internal/transport", + "keepalive", + "metadata", + "naming", + "peer", + "resolver", + "resolver/dns", + "resolver/passthrough", + "stats", + "status", + "tap", + ] + pruneopts = "UT" + revision = "2e463a05d100327ca47ac218281906921038fd95" + version = "v1.16.0" + +[[projects]] + digest = "1:6570992c02a2137a20be83990a979b6fe892e20ecdc6b756449989b2a7efb8ae" + name = "gopkg.in/yaml.v2" + packages = ["."] + pruneopts = "UT" + revision = "eb3733d160e74a9c7e442f435eb3bea458e1d19f" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + input-imports = [ + "github.com/ghodss/yaml", + "github.com/go-resty/resty", + "github.com/golang/glog", + "github.com/golang/protobuf/jsonpb", + "github.com/golang/protobuf/proto", + "github.com/golang/protobuf/protoc-gen-go", + "github.com/golang/protobuf/protoc-gen-go/descriptor", + "github.com/golang/protobuf/protoc-gen-go/generator", + "github.com/golang/protobuf/protoc-gen-go/plugin", + "github.com/golang/protobuf/ptypes", + "github.com/golang/protobuf/ptypes/any", + "github.com/golang/protobuf/ptypes/duration", + "github.com/golang/protobuf/ptypes/empty", + "github.com/golang/protobuf/ptypes/struct", + "github.com/golang/protobuf/ptypes/timestamp", + "github.com/golang/protobuf/ptypes/wrappers", + "github.com/rogpeppe/fastuuid", + "golang.org/x/net/context", + "google.golang.org/genproto/googleapis/api/annotations", + "google.golang.org/genproto/googleapis/rpc/errdetails", + "google.golang.org/genproto/googleapis/rpc/status", + "google.golang.org/genproto/protobuf/field_mask", + "google.golang.org/grpc", + "google.golang.org/grpc/codes", + "google.golang.org/grpc/connectivity", + "google.golang.org/grpc/grpclog", + "google.golang.org/grpc/metadata", + "google.golang.org/grpc/status", + ] + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.toml b/vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.toml new file mode 100644 index 000000000..e4c78e94a --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/Gopkg.toml @@ -0,0 +1,66 @@ +required = [ + "github.com/golang/protobuf/protoc-gen-go", +] + +[prune] + go-tests = true + unused-packages = true + +# Constrained versions that are defined in WORKSPACE are at the top + +[[constraint]] + # Also defined in WORKSPACE + revision = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7" + name = "github.com/ghodss/yaml" + +[[constraint]] + # Also defined in WORKSPACE + revision = "f8815663de1e64d57cdd4ee9e2b2fa96977a030e" + name = "github.com/go-resty/resty" + +[[constraint]] + # Also defined in WORKSPACE + revision = "6724a57986aff9bff1a1770e9347036def7c89f6" + name = "github.com/rogpeppe/fastuuid" + +[[constraint]] + # Also defined in WORKSPACE + revision = "383e8b2c3b9e36c4076b235b32537292176bae20" + name = "google.golang.org/genproto" + +[[override]] + # Also defined in WORKSPACE + revision = "eb3733d160e74a9c7e442f435eb3bea458e1d19f" + name = "gopkg.in/yaml.v2" + +# These versions are constrained transitively by bazelbuild/rules_go + +[[constraint]] + # Also defined in bazelbuild/rules_go + # https://github.com/bazelbuild/rules_go/blob/109c520465fcb418f2c4be967f3744d959ad66d3/go/private/repositories.bzl#L52 + revision = "aa810b61a9c79d51363740d207bb46cf8e620ed5" + name = "github.com/golang/protobuf" + +[[constraint]] + # Also defined in bazelbuild/rules_go + # https://github.com/bazelbuild/rules_go/blob/109c520465fcb418f2c4be967f3744d959ad66d3/go/private/repositories.bzl#L96 + revision = "4dfa2610cdf3b287375bbba5b8f2a14d3b01d8de" + name = "golang.org/x/net" + +[[constraint]] + # Also defined in bazelbuild/rules_go + # https://github.com/bazelbuild/rules_go/blob/109c520465fcb418f2c4be967f3744d959ad66d3/go/private/repositories.bzl#L123 + version = "1.15.0" + name = "google.golang.org/grpc" + +[[constraint]] + # Also defined in bazelbuild/rules_go + # https://github.com/bazelbuild/rules_go/blob/109c520465fcb418f2c4be967f3744d959ad66d3/go/private/repositories.bzl#L160 + revision = "23def4e6c14b4da8ac2ed8007337bc5eb5007998" + name = "github.com/golang/glog" + +[[override]] + # Also defined in bazelbuild/rules_go + # https://github.com/bazelbuild/rules_go/blob/109c520465fcb418f2c4be967f3744d959ad66d3/go/private/repositories.bzl#L117 + version = "0.3.0" + name = "golang.org/x/text" diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/ISSUE_TEMPLATE.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/ISSUE_TEMPLATE.md index 9edbaa64c..e732a82f0 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/ISSUE_TEMPLATE.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/ISSUE_TEMPLATE.md @@ -1,41 +1,66 @@ +# The gRPC-Gateway project is maintained by volunteers in their spare time. Please follow these troubleshooting steps before submitting an issue. -# Please follow the general troubleshooting steps first: - -- [ ] Update your protoc to the [latest version](https://github.com/google/protobuf/releases) -- [ ] Update your copy of `grpc-gateway` to the latest version from github. with - `git fetch https://github.com/grpc-ecosystem/grpc-gateway master && git reset --hard FETCH_HEAD` +- [ ] Check if your issue has already been reported (https://github.com/grpc-ecosystem/grpc-gateway/issues). +- [ ] Update your protoc to the [latest version](https://github.com/google/protobuf/releases). +- [ ] Update your copy of the `grpc-gateway` library to the latest version from github: + ```sh + go get -u github.com/grpc-ecosystem/grpc-gateway + ``` - [ ] Delete the `protoc-gen-grpc-gateway` and `protoc-gen-swagger` binary from your `PATH`, - and install locally built binaries. + and reinstall the latest versions: + ```sh + go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway + go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger + ``` + +## I still have a problem! + +Please consider reaching out for help on a chat forum, such as +[Gophers Slack](https://invite.slack.golangbridge.org/) (channel #grpc-gateway). +It's much easier to help with common debugging steps in a chat, and some of +the maintainers are reading the channel regularly. If you +submit an issue which is clearly an environment setup problem, or it's obvious +you haven't tried seeking help somewhere else first, we may close your issue. + +## I still have a problem! + +Please follow these steps to submit a bug report: ### Bug reports: Fill in the following sections with explanations of what's gone wrong. -Steps you follow to reproduce the error: +### Steps you follow to reproduce the error: +```html +``` Your steps here. -What did you expect to happen instead: +### What did you expect to happen instead: +```html +``` Your answer here. -What's your theory on why it isn't working: +### What's your theory on why it isn't working: +```html +``` Your theory here. diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/Makefile b/vendor/github.com/grpc-ecosystem/grpc-gateway/Makefile index a690bb77a..cdc140a0c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/Makefile +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/Makefile @@ -51,7 +51,7 @@ RUNTIME_GO=$(RUNTIME_PROTO:.proto=.pb.go) OPENAPIV2_PROTO=protoc-gen-swagger/options/openapiv2.proto protoc-gen-swagger/options/annotations.proto OPENAPIV2_GO=$(OPENAPIV2_PROTO:.proto=.pb.go) -PKGMAP=Mgoogle/protobuf/descriptor.proto=$(GO_PLUGIN_PKG)/descriptor,Mexamples/proto/sub/message.proto=$(PKG)/examples/proto/sub +PKGMAP=Mgoogle/protobuf/field_mask.proto=google.golang.org/genproto/protobuf/field_mask,Mgoogle/protobuf/descriptor.proto=$(GO_PLUGIN_PKG)/descriptor,Mexamples/proto/sub/message.proto=$(PKG)/examples/proto/sub ADDITIONAL_GW_FLAGS= ifneq "$(GATEWAY_PLUGIN_FLAGS)" "" ADDITIONAL_GW_FLAGS=,$(GATEWAY_PLUGIN_FLAGS) @@ -63,17 +63,21 @@ endif SWAGGER_EXAMPLES=examples/proto/examplepb/echo_service.proto \ examples/proto/examplepb/a_bit_of_everything.proto \ examples/proto/examplepb/wrappers.proto \ - examples/proto/examplepb/unannotated_echo_service.proto + examples/proto/examplepb/unannotated_echo_service.proto \ + examples/proto/examplepb/response_body_service.proto + EXAMPLES=examples/proto/examplepb/echo_service.proto \ examples/proto/examplepb/a_bit_of_everything.proto \ examples/proto/examplepb/stream.proto \ examples/proto/examplepb/flow_combination.proto \ examples/proto/examplepb/wrappers.proto \ - examples/proto/examplepb/unannotated_echo_service.proto + examples/proto/examplepb/unannotated_echo_service.proto \ + examples/proto/examplepb/response_body_service.proto + EXAMPLE_SVCSRCS=$(EXAMPLES:.proto=.pb.go) EXAMPLE_GWSRCS=$(EXAMPLES:.proto=.pb.gw.go) EXAMPLE_SWAGGERSRCS=$(SWAGGER_EXAMPLES:.proto=.swagger.json) -EXAMPLE_DEPS=examples/proto/sub/message.proto examples/proto/sub2/message.proto +EXAMPLE_DEPS=examples/proto/pathenum/path_enum.proto examples/proto/sub/message.proto examples/proto/sub2/message.proto EXAMPLE_DEPSRCS=$(EXAMPLE_DEPS:.proto=.pb.go) EXAMPLE_CLIENT_DIR=examples/clients @@ -97,7 +101,6 @@ ABE_EXAMPLE_SRCS=$(EXAMPLE_CLIENT_DIR)/abe/a_bit_of_everything_nested.go \ $(EXAMPLE_CLIENT_DIR)/abe/examplepb_body.go \ $(EXAMPLE_CLIENT_DIR)/abe/examplepb_numeric_enum.go \ $(EXAMPLE_CLIENT_DIR)/abe/nested_deep_enum.go \ - $(EXAMPLE_CLIENT_DIR)/abe/protobuf_empty.go \ $(EXAMPLE_CLIENT_DIR)/abe/sub_string_message.go UNANNOTATED_ECHO_EXAMPLE_SPEC=examples/proto/examplepb/unannotated_echo_service.swagger.json UNANNOTATED_ECHO_EXAMPLE_SRCS=$(EXAMPLE_CLIENT_DIR)/unannotatedecho/api_client.go \ @@ -105,7 +108,14 @@ UNANNOTATED_ECHO_EXAMPLE_SRCS=$(EXAMPLE_CLIENT_DIR)/unannotatedecho/api_client.g $(EXAMPLE_CLIENT_DIR)/unannotatedecho/configuration.go \ $(EXAMPLE_CLIENT_DIR)/unannotatedecho/examplepb_unannotated_simple_message.go \ $(EXAMPLE_CLIENT_DIR)/unannotatedecho/unannotated_echo_service_api.go -EXAMPLE_CLIENT_SRCS=$(ECHO_EXAMPLE_SRCS) $(ABE_EXAMPLE_SRCS) $(UNANNOTATED_ECHO_EXAMPLE_SRCS) +RESPONSE_BODY_EXAMPLE_SPEC=examples/proto/examplepb/response_body_service.swagger.json +RESPONSE_BODY_EXAMPLE_SRCS=$(EXAMPLE_CLIENT_DIR)/responsebody/api_client.go \ + $(EXAMPLE_CLIENT_DIR)/responsebody/api_response.go \ + $(EXAMPLE_CLIENT_DIR)/responsebody/configuration.go \ + $(EXAMPLE_CLIENT_DIR)/responsebody/examplepb_response_body.go \ + $(EXAMPLE_CLIENT_DIR)/responsebody/response_body_service_api.go + +EXAMPLE_CLIENT_SRCS=$(ECHO_EXAMPLE_SRCS) $(ABE_EXAMPLE_SRCS) $(UNANNOTATED_ECHO_EXAMPLE_SRCS) $(RESPONSE_BODY_EXAMPLE_SRCS) SWAGGER_CODEGEN=swagger-codegen PROTOC_INC_PATH=$(dir $(shell which protoc))/../include @@ -115,8 +125,8 @@ generate: $(RUNTIME_GO) .SUFFIXES: .go .proto $(GO_PLUGIN): - go get $(GO_PLUGIN_PKG) - go build -o $@ $(GO_PLUGIN_PKG) + dep ensure -vendor-only + go build -o $@ ./vendor/$(GO_PLUGIN_PKG) $(RUNTIME_GO): $(RUNTIME_PROTO) $(GO_PLUGIN) protoc -I $(PROTOC_INC_PATH) --plugin=$(GO_PLUGIN) -I $(GOPATH)/src/$(GO_PTYPES_ANY_PKG) -I. --go_out=$(PKGMAP):. $(RUNTIME_PROTO) @@ -149,22 +159,24 @@ $(ECHO_EXAMPLE_SRCS): $(ECHO_EXAMPLE_SPEC) $(SWAGGER_CODEGEN) generate -i $(ECHO_EXAMPLE_SPEC) \ -l go -o examples/clients/echo --additional-properties packageName=echo @rm -f $(EXAMPLE_CLIENT_DIR)/echo/README.md \ - $(EXAMPLE_CLIENT_DIR)/echo/git_push.sh \ - $(EXAMPLE_CLIENT_DIR)/echo/.travis.yml + $(EXAMPLE_CLIENT_DIR)/echo/git_push.sh $(ABE_EXAMPLE_SRCS): $(ABE_EXAMPLE_SPEC) $(SWAGGER_CODEGEN) generate -i $(ABE_EXAMPLE_SPEC) \ -l go -o examples/clients/abe --additional-properties packageName=abe @rm -f $(EXAMPLE_CLIENT_DIR)/abe/README.md \ - $(EXAMPLE_CLIENT_DIR)/abe/git_push.sh \ - $(EXAMPLE_CLIENT_DIR)/abe/.travis.yml + $(EXAMPLE_CLIENT_DIR)/abe/git_push.sh $(UNANNOTATED_ECHO_EXAMPLE_SRCS): $(UNANNOTATED_ECHO_EXAMPLE_SPEC) $(SWAGGER_CODEGEN) generate -i $(UNANNOTATED_ECHO_EXAMPLE_SPEC) \ -l go -o examples/clients/unannotatedecho --additional-properties packageName=unannotatedecho @rm -f $(EXAMPLE_CLIENT_DIR)/unannotatedecho/README.md \ - $(EXAMPLE_CLIENT_DIR)/unannotatedecho/git_push.sh \ - $(EXAMPLE_CLIENT_DIR)/unannotatedecho/.travis.yml - -examples: $(EXAMPLE_SVCSRCS) $(EXAMPLE_GWSRCS) $(EXAMPLE_DEPSRCS) $(EXAMPLE_SWAGGERSRCS) $(EXAMPLE_CLIENT_SRCS) + $(EXAMPLE_CLIENT_DIR)/unannotatedecho/git_push.sh +$(RESPONSE_BODY_EXAMPLE_SRCS): $(RESPONSE_BODY_EXAMPLE_SPEC) + $(SWAGGER_CODEGEN) generate -i $(RESPONSE_BODY_EXAMPLE_SPEC) \ + -l go -o examples/clients/responsebody --additional-properties packageName=responsebody + @rm -f $(EXAMPLE_CLIENT_DIR)/responsebody/README.md \ + $(EXAMPLE_CLIENT_DIR)/responsebody/git_push.sh + +examples: $(EXAMPLE_DEPSRCS) $(EXAMPLE_SVCSRCS) $(EXAMPLE_GWSRCS) $(EXAMPLE_SWAGGERSRCS) $(EXAMPLE_CLIENT_SRCS) test: examples go test -race $(PKG)/... go test -race $(PKG)/examples/integration -args -network=unix -endpoint=test.sock @@ -174,14 +186,14 @@ changelog: --tty \ -e "CHANGELOG_GITHUB_TOKEN=${CHANGELOG_GITHUB_TOKEN}" \ -v "$(PWD):/usr/local/src/your-app" \ - ferrarimarco/github-changelog-generator \ + ferrarimarco/github-changelog-generator:1.14.3 \ -u grpc-ecosystem \ -p grpc-gateway \ --author \ --compare-link \ --github-site=https://grpc-ecosystem.github.io/grpc-gateway \ --unreleased-label "**Next release**" \ - --future-release=v1.4.1 + --future-release=v1.6.3 lint: golint --set_exit_status $(PKG)/runtime golint --set_exit_status $(PKG)/utilities/... diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/README.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/README.md index ccb7d7409..b32b0e762 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/README.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/README.md @@ -1,11 +1,13 @@ # grpc-gateway -[![Build Status](https://travis-ci.org/grpc-ecosystem/grpc-gateway.svg?branch=master)](https://travis-ci.org/grpc-ecosystem/grpc-gateway) +[![CircleCI](https://circleci.com/gh/grpc-ecosystem/grpc-gateway.svg?style=svg)](https://circleci.com/gh/grpc-ecosystem/grpc-gateway) grpc-gateway is a plugin of [protoc](http://github.com/google/protobuf). It reads [gRPC](http://github.com/grpc/grpc-common) service definition, and generates a reverse-proxy server which translates a RESTful JSON API into gRPC. -This server is generated according to [custom options](https://cloud.google.com/service-management/reference/rpc/google.api#http) in your gRPC definition. +This server is generated according to the +[`google.api.http`](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto#L46) +annotation in your gRPC service definition. It helps you to provide your APIs in both gRPC and RESTful style at the same time. @@ -20,12 +22,12 @@ However, you might still want to provide a traditional RESTful API as well. Reas This project aims to provide that HTTP+JSON interface to your gRPC service. A small amount of configuration in your service to attach HTTP semantics is all that's needed to generate a reverse-proxy with this library. ## Installation -First you need to install ProtocolBuffers 3.0.0-beta-3 or later. +First you need to install ProtocolBuffers 3.0.0 or later. ```sh mkdir tmp cd tmp -git clone https://github.com/google/protobuf +git clone https://github.com/protocolbuffers/protobuf cd protobuf ./autogen.sh ./configure @@ -41,12 +43,12 @@ go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger go get -u github.com/golang/protobuf/protoc-gen-go ``` - + ## Usage Make sure that your `$GOPATH/bin` is in your `$PATH`. 1. Define your service in gRPC - + your_service.proto: ```protobuf syntax = "proto3"; @@ -54,13 +56,13 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. message StringMessage { string value = 1; } - + service YourService { rpc Echo(StringMessage) returns (StringMessage) {} } ``` -2. Add a [custom option](https://cloud.google.com/service-management/reference/rpc/google.api#http) to the .proto file - +2. Add a [`google.api.http`](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto#L46) to your .proto file + your_service.proto: ```diff syntax = "proto3"; @@ -71,7 +73,7 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. message StringMessage { string value = 1; } - + service YourService { - rpc Echo(StringMessage) returns (StringMessage) {} + rpc Echo(StringMessage) returns (StringMessage) { @@ -83,10 +85,10 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. } ``` - If you do not want to modify the proto file for use with grpc-gateway you can alternatively use an external [gRPC API Configuration](https://cloud.google.com/endpoints/docs/grpc/grpc-service-config) file. [Check our documentation](https://grpc-ecosystem.github.io/grpc-gateway/docs/grpcapiconfiguration.html) for more information. + If you do not want to modify the proto file for use with grpc-gateway you can alternatively use an external [gRPC Service Configuration](https://cloud.google.com/endpoints/docs/grpc/grpc-service-config) file. [Check our documentation](https://grpc-ecosystem.github.io/grpc-gateway/docs/grpcapiconfiguration.html) for more information. 3. Generate gRPC stub - + ```sh protoc -I/usr/local/include -I. \ -I$GOPATH/src \ @@ -94,11 +96,11 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. --go_out=plugins=grpc:. \ path/to/your_service.proto ``` - + It will generate a stub file `path/to/your_service.pb.go`. 4. Implement your service in gRPC as usual 1. (Optional) Generate gRPC stub in the language you want. - + e.g. ```sh protoc -I/usr/local/include -I. \ @@ -106,7 +108,7 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --ruby_out=. \ path/to/your/service_proto - + protoc -I/usr/local/include -I. \ -I$GOPATH/src \ -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ @@ -116,9 +118,9 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. ``` 2. Add the googleapis-common-protos gem (or your language equivalent) as a dependency to your project. 3. Implement your service - + 5. Generate reverse-proxy - + ```sh protoc -I/usr/local/include -I. \ -I$GOPATH/src \ @@ -126,13 +128,13 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. --grpc-gateway_out=logtostderr=true:. \ path/to/your_service.proto ``` - + It will generate a reverse proxy `path/to/your_service.pb.gw.go`. Note: After generating the code for each of the stubs, in order to build the code, you will want to run ```go get .``` from the directory containing the stubs. 6. Write an entrypoint - + Now you need to write an entrypoint of the proxy server. ```go package main @@ -140,38 +142,38 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`. import ( "flag" "net/http" - + "github.com/golang/glog" "golang.org/x/net/context" "github.com/grpc-ecosystem/grpc-gateway/runtime" "google.golang.org/grpc" - + gw "path/to/your_service_package" ) - + var ( echoEndpoint = flag.String("echo_endpoint", "localhost:9090", "endpoint of YourService") ) - + func run() error { ctx := context.Background() ctx, cancel := context.WithCancel(ctx) defer cancel() - + mux := runtime.NewServeMux() opts := []grpc.DialOption{grpc.WithInsecure()} err := gw.RegisterYourServiceHandlerFromEndpoint(ctx, mux, *echoEndpoint, opts) if err != nil { return err } - + return http.ListenAndServe(":8080", mux) } - + func main() { flag.Parse() defer glog.Flush() - + if err := run(); err != nil { glog.Fatal(err) } @@ -238,7 +240,7 @@ But patch is welcome. * [How gRPC error codes map to HTTP status codes in the response](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go#L15) * HTTP request source IP is added as `X-Forwarded-For` gRPC request header * HTTP request host is added as `X-Forwarded-Host` gRPC request header -* HTTP `Authorization` header is added as `authorization` gRPC request header +* HTTP `Authorization` header is added as `authorization` gRPC request header * Remaining Permanent HTTP header keys (as specified by the IANA [here](http://www.iana.org/assignments/message-headers/message-headers.xhtml) are prefixed with `grpcgateway-` and added with their values to gRPC request header * HTTP headers that start with 'Grpc-Metadata-' are mapped to gRPC metadata (prefixed with `grpcgateway-`) * While configurable, the default {un,}marshaling uses [jsonpb](https://godoc.org/github.com/golang/protobuf/jsonpb) with `OrigName: true`. diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/WORKSPACE b/vendor/github.com/grpc-ecosystem/grpc-gateway/WORKSPACE index 225d01817..6dc67684d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/WORKSPACE +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/WORKSPACE @@ -1,53 +1,79 @@ workspace(name = "grpc_ecosystem_grpc_gateway") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +# master as of 2018-11-09. This should be updated when a new release is tagged. http_archive( name = "io_bazel_rules_go", - url = "https://github.com/bazelbuild/rules_go/releases/download/0.10.3/rules_go-0.10.3.tar.gz", - sha256 = "feba3278c13cde8d67e341a837f69a029f698d7a27ddbb2a202be7a10b22142a", + sha256 = "c23db3b50b8822e153bc5accfea75baeecedb481a162391c4f3b9aec451e34b4", + strip_prefix = "rules_go-109c520465fcb418f2c4be967f3744d959ad66d3", + urls = [ + "https://github.com/bazelbuild/rules_go/archive/109c520465fcb418f2c4be967f3744d959ad66d3.tar.gz", + ], ) +# master as of 2018-11-09. This should be updated when a new release is tagged. http_archive( name = "bazel_gazelle", - url = "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.10.1/bazel-gazelle-0.10.1.tar.gz", - sha256 = "d03625db67e9fb0905bbd206fa97e32ae9da894fe234a493e7517fd25faec914", + sha256 = "a3af4a61d7b2f2c5386761f94a21f474871a32f0e94b13f08824248c4df25229", + strip_prefix = "bazel-gazelle-7b1e3c6eb5447c6647955fc93c012635f274f0f0", + urls = [ + "https://github.com/bazelbuild/bazel-gazelle/archive/7b1e3c6eb5447c6647955fc93c012635f274f0f0.tar.gz", + ], ) -load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains") - -go_rules_dependencies() - -go_register_toolchains() +http_archive( + name = "com_github_bazelbuild_buildtools", + sha256 = "e4c83a7a5d0712e2cea2077112a5eb6bb1af75a84e34c8c9b77330e322966b8b", + strip_prefix = "buildtools-e90e7cc6ef3e6d08d4ca8a982935c3eed638e058", + url = "https://github.com/bazelbuild/buildtools/archive/e90e7cc6ef3e6d08d4ca8a982935c3eed638e058.tar.gz", +) -load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") gazelle_dependencies() -load("@io_bazel_rules_go//go:def.bzl", "go_repository") +load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies") +# Also define in Gopkg.toml +go_repository( + name = "org_golang_google_genproto", + commit = "383e8b2c3b9e36c4076b235b32537292176bae20", + importpath = "google.golang.org/genproto", +) + +# Also define in Gopkg.toml go_repository( name = "com_github_rogpeppe_fastuuid", commit = "6724a57986aff9bff1a1770e9347036def7c89f6", importpath = "github.com/rogpeppe/fastuuid", ) +# Also define in Gopkg.toml go_repository( name = "com_github_go_resty_resty", commit = "f8815663de1e64d57cdd4ee9e2b2fa96977a030e", importpath = "github.com/go-resty/resty", ) +# Also define in Gopkg.toml go_repository( - name = "com_github_ghodss_yaml", - commit = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7", - importpath = "github.com/ghodss/yaml", + name = "com_github_ghodss_yaml", + commit = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7", + importpath = "github.com/ghodss/yaml", ) +# Also define in Gopkg.toml go_repository( - name = "in_gopkg_yaml_v2", - commit = "eb3733d160e74a9c7e442f435eb3bea458e1d19f", - importpath = "gopkg.in/yaml.v2", + name = "in_gopkg_yaml_v2", + commit = "eb3733d160e74a9c7e442f435eb3bea458e1d19f", + importpath = "gopkg.in/yaml.v2", ) -load("//:repositories.bzl", "repositories") +go_rules_dependencies() + +go_register_toolchains() + +load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_dependencies") -repositories() +buildifier_dependencies() diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/codegenerator/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/codegenerator/BUILD.bazel index 1eddaaf73..651177fa1 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/codegenerator/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/codegenerator/BUILD.bazel @@ -11,16 +11,16 @@ go_library( importpath = "github.com/grpc-ecosystem/grpc-gateway/codegenerator", deps = [ "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", ], ) go_test( - name = "go_default_xtest", + name = "go_default_test", srcs = ["parse_req_test.go"], + embed = [":go_default_library"], deps = [ - ":go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/customizingyourgateway.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/customizingyourgateway.md index 758611f27..a8071cb17 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/customizingyourgateway.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/customizingyourgateway.md @@ -7,6 +7,7 @@ order: 101 # Customizing your gateway ## Message serialization +### Custom serializer You might want to serialize request/response messages in MessagePack instead of JSON, for example. @@ -20,6 +21,13 @@ You might want to serialize request/response messages in MessagePack instead of You can see [the default implementation for JSON](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/marshal_jsonpb.go) for reference. +### Using camelCase for JSON + +The protocol buffer compiler generates camelCase JSON tags that can be used with jsonpb package. By default jsonpb Marshaller uses `OrigName: true` which uses the exact case used in the proto files. To use camelCase for the JSON representation, + ```go + mux := runtime.NewServeMux(runtime.WithMarshalerOption(runtime.MIMEWildcard, &runtime.JSONPb{OrigName:false})) + ``` + ## Mapping from HTTP request headers to gRPC client metadata You might not like [the default mapping rule](http://godoc.org/github.com/grpc-ecosystem/grpc-gateway/runtime#DefaultHeaderMatcher) and might want to pass through all the HTTP headers, for example. @@ -59,6 +67,44 @@ Or you might want to mutate the response messages to be returned. mux := runtime.NewServeMux(runtime.WithForwardResponseOption(myFilter)) ``` +## OpenTracing Support + +If your project uses [OpenTracing](https://github.com/opentracing/opentracing-go) and you'd like spans to propagate through the gateway, you can add some middleware which parses the incoming HTTP headers to create a new span correctly. + +```go +import ( + ... + "github.com/opentracing/opentracing-go" + "github.com/opentracing/opentracing-go/ext" +) + +var grpcGatewayTag = opentracing.Tag{Key: string(ext.Component), Value: "grpc-gateway"} + +func tracingWrapper(h http.Handler) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + parentSpanContext, err := opentracing.GlobalTracer().Extract( + opentracing.HTTPHeaders, + opentracing.HTTPHeadersCarrier(r.Header)) + if err == nil || err == opentracing.ErrSpanContextNotFound { + serverSpan := opentracing.GlobalTracer().StartSpan( + "ServeHTTP", + // this is magical, it attaches the new span to the parent parentSpanContext, and creates an unparented one if empty. + ext.RPCServerOption(parentSpanContext), + grpcGatewayTag, + ) + r = r.WithContext(opentracing.ContextWithSpan(r.Context(), serverSpan)) + defer serverSpan.Finish() + } + h.ServeHTTP(w, r) + }) +} + +// Then just wrap the mux returned by runtime.NewServeMux() like this +if err := http.ListenAndServe(":8080", tracingWrapper(mux)); err != nil { + log.Fatalf("failed to start gateway server on 8080: %v", err) +} +``` + ## Error handler http://mycodesmells.com/post/grpc-gateway-error-handler diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/patch.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/patch.md new file mode 100644 index 000000000..c395b7f61 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/patch.md @@ -0,0 +1,66 @@ +--- +category: documentation +--- + +# Patch Feature +The HTTP PATCH method allows a resource to be partially updated. + +The idea, If a binding is mapped to patch and the request message has exactly one FieldMask message in it, additional code is rendered for the gateway handler that will populate the FieldMask based on the request body. +This handles two scenarios: +- The FieldMask is hidden from the REST request (as in the [UpdateV2](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/examples/proto/examplepb/a_bit_of_everything.proto#L286) example). In this case, the FieldMask is updated from the request body and set in the gRPC request message. +- The FieldMask is exposed to the REST request (as in the [PatchWithFieldMaskInBody](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/examples/proto/examplepb/a_bit_of_everything.proto#L295) example). For this case, a check is made as to whether the FieldMask is nil/empty prior to populating with the request body. + +If it's not nil, then it converts the FieldMask paths from the REST (snake_case) to gRPC (PascalCase) format. Otherwise, it acts like the previous case. + +## Example Usage +1. Create PATCH request. + + The PATCH request needs to include the message and the update mask. +```golang +// UpdateV2Request request for update includes the message and the update mask +message UpdateV2Request { + ABitOfEverything abe = 1; + google.protobuf.FieldMask update_mask = 2; +} +``` +2. Define your service in gRPC + +If you want to use PATCH with fieldmask hidden from REST request only include the request message in the body. + +```golang +rpc UpdateV2(UpdateV2Request) returns (google.protobuf.Empty) { + option (google.api.http) = { + put: "/v2/example/a_bit_of_everything/{abe.uuid}" + body: "abe" + additional_bindings { + patch: "/v2/example/a_bit_of_everything/{abe.uuid}" + body: "abe" + } + }; +} +``` + +If you want to use PATCH wtih fieldmask exposed to the REST request then include the entire request message. + +```golang +rpc PatchWithFieldMaskInBody(UpdateV2Request) returns (google.protobuf.Empty) { + option (google.api.http) = { + patch: "/v2a/example/a_bit_of_everything/{abe.uuid}" + body: "*" + }; +} +``` + +3. Generate gRPC and reverse-proxy stubs and implement your service. + +## Curl examples + +In the example below we will partially update our ABitOfEverything resource by passing only the field we want to change. Since we are using the endpoint with field mask hidden we only need to pass the field we want to change ("string_value") and it will keep everything else in our resource the same. +``` +curl --data '{"string_value": "strprefix/foo"}' -X PATCH http://address:port/v2/example/a_bit_of_everything/1 +``` + +If we know what fields we want to update then we can use PATCH with field mask approach. For this we need to pass the resource and the update_mask. Below only the "single_nested" will get updated because that is what we specify in the field_mask. +``` +curl --data '{"abe":{"single_nested":{"amount":457},"string_value":"some value that won't get updated because not in the field mask"},"update_mask":{"paths":["single_nested"]}}' -X PATCH http://address:port/v2a/example/a_bit_of_everything/1 +``` \ No newline at end of file diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/usage.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/usage.md index 8862c5232..2bb0f22cb 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/usage.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/_docs/usage.md @@ -187,8 +187,7 @@ This parameter can be useful to pass request scoped context between the gateway * [How gRPC error codes map to HTTP status codes in the response](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go#L15) * HTTP request source IP is added as `X-Forwarded-For` gRPC request header * HTTP request host is added as `X-Forwarded-Host` gRPC request header -* HTTP `Authorization` header is added as `authorization` gRPC request header +* HTTP `Authorization` header is added as `authorization` gRPC request header * Remaining Permanent HTTP header keys (as specified by the IANA [here](http://www.iana.org/assignments/message-headers/message-headers.xhtml) are prefixed with `grpcgateway-` and added with their values to gRPC request header -* HTTP headers that start with 'Grpc-Metadata-' are mapped to gRPC metadata (prefixed with `grpcgateway-`) +* HTTP headers that start with 'Grpc-Metadata-' are mapped to gRPC metadata (after removing prefix 'Grpc-Metadata-') * While configurable, the default {un,}marshaling uses [jsonpb](https://godoc.org/github.com/golang/protobuf/jsonpb) with `OrigName: true`. - diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/index.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/index.md index 47b6ec026..bb36263e7 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/index.md +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/docs/index.md @@ -1,6 +1,6 @@ # grpc-gateway -[![Build Status](https://travis-ci.org/grpc-ecosystem/grpc-gateway.svg?branch=master)](https://travis-ci.org/grpc-ecosystem/grpc-gateway) +[![CircleCI](https://circleci.com/gh/johanbrandhorst/grpc-gateway.svg?style=svg)](https://circleci.com/gh/johanbrandhorst/grpc-gateway) grpc-gateway is a plugin of [protoc](http://github.com/google/protobuf). It reads [gRPC](http://github.com/grpc/grpc-common) service definition, diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/a_bit_of_everything_service.spec.js b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/a_bit_of_everything_service.spec.js index edcbebe11..5d8e792fd 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/a_bit_of_everything_service.spec.js +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/a_bit_of_everything_service.spec.js @@ -34,6 +34,9 @@ describe('ABitOfEverythingService', function() { sint32_value: 2147483647, sint64_value: "4611686018427387903", nonConventionalNameValue: "camelCase", + enum_value: "ONE", + path_enum_value: "DEF", + nested_path_enum_value: "JKL", }; beforeEach(function(done) { @@ -72,6 +75,9 @@ describe('ABitOfEverythingService', function() { sint32_value: 2147483647, sint64_value: "4611686018427387903", nonConventionalNameValue: "camelCase", + enum_value: "ONE", + path_enum_value: "DEF", + nested_path_enum_value: "JKL", nested: [ { name: "bar", amount: 10 }, @@ -79,8 +85,7 @@ describe('ABitOfEverythingService', function() { ], repeated_string_value: ["a", "b", "c"], oneof_string: "x", - // TODO(yugui) Support enum by name - map_value: { a: 1, b: 2 }, + map_value: { a: "ONE", b: 2 }, mapped_string_value: { a: "x", b: "y" }, mapped_nested_value: { a: { name: "x", amount: 1 }, @@ -181,5 +186,41 @@ describe('ABitOfEverythingService', function() { }).finally(done); }); }); + + describe('GetRepeatedQuery', function() { + var repeated; + var expected = { + path_repeated_float_value: [1.5, -1.5], + path_repeated_double_value: [2.5, -2.5], + path_repeated_int64_value: ["4294967296", "-4294967296"], + path_repeated_uint64_value: ["0", "9223372036854775807"], + path_repeated_int32_value: [2147483647, -2147483648], + path_repeated_fixed64_value: ["0", "9223372036854775807"], + path_repeated_fixed32_value: [0, 4294967295], + path_repeated_bool_value: [true, false], + path_repeated_string_value: ["foo", "bar"], + path_repeated_bytes_value: ["AA==", "_w=="], + path_repeated_uint32_value: [4294967295, 0], + path_repeated_enum_value: ["ONE", "ONE"], + path_repeated_sfixed32_value: [-2147483648, 2147483647], + path_repeated_sfixed64_value: ["-4294967296", "4294967296"], + path_repeated_sint32_value: [2147483646, -2147483647], + path_repeated_sint64_value: ["4611686018427387903", "-4611686018427387904"] + }; + + beforeEach(function(done) { + client.ABitOfEverythingService.GetRepeatedQuery(expected).then(function(resp) { + repeated = resp.obj; + }).catch(function(err) { + done.fail(err); + }).then(done); + }); + + it('should echo the request back', function() { + // API will echo a non URL safe encoding + expected.path_repeated_bytes_value = ["AA==", "/w=="]; + expect(repeated).toEqual(expected); + }); + }); }); diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/package.json b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/package.json index 963f4cd6c..8771fa5f0 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/package.json +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/package.json @@ -18,6 +18,10 @@ "jasmine": "^2.4.1", "phantomjs": "^2.1.7", "swagger-client": "^2.1.28", - "webpack-stream": "^3.2.0" + "webpack-stream": "^3.2.0", + "bower-logger": "^0.2.2", + "mout": "^1.1.0", + "bower-config": "^0.6.2", + "configstore": "^4.0.0" } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/BUILD.bazel index fad5b6619..4d3c3546e 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/BUILD.bazel @@ -13,13 +13,23 @@ go_library( "configuration.go", "echo_rpc_api.go", "echo_service_api.go", + "enum_helper.go", "examplepb_a_bit_of_everything.go", + "examplepb_a_bit_of_everything_repeated.go", "examplepb_body.go", "examplepb_numeric_enum.go", + "examplepb_update_v2_request.go", + "message_path_enum_nested_path_enum.go", "nested_deep_enum.go", - "protobuf_empty.go", + "pathenum_path_enum.go", + "protobuf_field_mask.go", "sub_string_message.go", ], importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe", - deps = ["@com_github_go_resty_resty//:go_default_library"], + deps = [ + "//examples/proto/examplepb:go_default_library", + "//examples/proto/pathenum:go_default_library", + "//runtime:go_default_library", + "@com_github_go_resty_resty//:go_default_library", + ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/a_bit_of_everything_service_api.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/a_bit_of_everything_service_api.go index 19c6fdaa7..85e864ca8 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/a_bit_of_everything_service_api.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/a_bit_of_everything_service_api.go @@ -39,7 +39,8 @@ func NewABitOfEverythingServiceApiWithBasePath(basePath string) *ABitOfEverythin } /** - * + * Create a new ABitOfEverything + * This API creates a new ABitOfEverything * * @param floatValue * @param doubleValue @@ -56,13 +57,16 @@ func NewABitOfEverythingServiceApiWithBasePath(basePath string) *ABitOfEverythin * @param sint32Value * @param sint64Value * @param nonConventionalNameValue + * @param enumValue + * @param pathEnumValue + * @param nestedPathEnumValue * @return *ExamplepbABitOfEverything */ -func (a ABitOfEverythingServiceApi) Create(floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, uint32Value int64, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, nonConventionalNameValue string) (*ExamplepbABitOfEverything, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) Create(floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, uint32Value int64, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, nonConventionalNameValue string, enumValue string, pathEnumValue string, nestedPathEnumValue string) (*ExamplepbABitOfEverything, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Post") // create path and map variables - localVarPath := a.Configuration.BasePath + "/v1/example/a_bit_of_everything/{float_value}/{double_value}/{int64_value}/separator/{uint64_value}/{int32_value}/{fixed64_value}/{fixed32_value}/{bool_value}/{string_value}/{uint32_value}/{sfixed32_value}/{sfixed64_value}/{sint32_value}/{sint64_value}/{nonConventionalNameValue}" + localVarPath := a.Configuration.BasePath + "/v1/example/a_bit_of_everything/{float_value}/{double_value}/{int64_value}/separator/{uint64_value}/{int32_value}/{fixed64_value}/{fixed32_value}/{bool_value}/{string_value}/{uint32_value}/{sfixed32_value}/{sfixed64_value}/{sint32_value}/{sint64_value}/{nonConventionalNameValue}/{enum_value}/{path_enum_value}/{nested_path_enum_value}" localVarPath = strings.Replace(localVarPath, "{"+"float_value"+"}", fmt.Sprintf("%v", floatValue), -1) localVarPath = strings.Replace(localVarPath, "{"+"double_value"+"}", fmt.Sprintf("%v", doubleValue), -1) localVarPath = strings.Replace(localVarPath, "{"+"int64_value"+"}", fmt.Sprintf("%v", int64Value), -1) @@ -78,6 +82,9 @@ func (a ABitOfEverythingServiceApi) Create(floatValue float32, doubleValue float localVarPath = strings.Replace(localVarPath, "{"+"sint32_value"+"}", fmt.Sprintf("%v", sint32Value), -1) localVarPath = strings.Replace(localVarPath, "{"+"sint64_value"+"}", fmt.Sprintf("%v", sint64Value), -1) localVarPath = strings.Replace(localVarPath, "{"+"nonConventionalNameValue"+"}", fmt.Sprintf("%v", nonConventionalNameValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"enum_value"+"}", fmt.Sprintf("%v", enumValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_enum_value"+"}", fmt.Sprintf("%v", pathEnumValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"nested_path_enum_value"+"}", fmt.Sprintf("%v", nestedPathEnumValue), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -218,7 +225,7 @@ func (a ABitOfEverythingServiceApi) CreateBody(body ExamplepbABitOfEverything) ( /** * * - * @param singleNestedName + * @param singleNestedName name is nested field. * @param body * @return *ExamplepbABitOfEverything */ @@ -296,9 +303,9 @@ func (a ABitOfEverythingServiceApi) DeepPathEcho(singleNestedName string, body E * * * @param uuid - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) Delete(uuid string) (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) Delete(uuid string) (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Delete") // create path and map variables @@ -343,7 +350,7 @@ func (a ABitOfEverythingServiceApi) Delete(uuid string) (*ProtobufEmpty, *APIRes if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -364,9 +371,9 @@ func (a ABitOfEverythingServiceApi) Delete(uuid string) (*ProtobufEmpty, *APIRes /** * * - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) ErrorWithDetails() (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) ErrorWithDetails() (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Get") // create path and map variables @@ -415,7 +422,7 @@ func (a ABitOfEverythingServiceApi) ErrorWithDetails() (*ProtobufEmpty, *APIResp if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -438,9 +445,9 @@ func (a ABitOfEverythingServiceApi) ErrorWithDetails() (*ProtobufEmpty, *APIResp * * @param id * @param body - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) GetMessageWithBody(id string, body ExamplepbBody) (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) GetMessageWithBody(id string, body ExamplepbBody) (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Post") // create path and map variables @@ -492,7 +499,7 @@ func (a ABitOfEverythingServiceApi) GetMessageWithBody(id string, body Examplepb } // body params localVarPostBody = &body - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -529,6 +536,8 @@ func (a ABitOfEverythingServiceApi) GetMessageWithBody(id string, body Examplepb * @param bytesValue * @param uint32Value * @param enumValue - ZERO: ZERO means 0 - ONE: ONE means 1 + * @param pathEnumValue + * @param nestedPathEnumValue * @param sfixed32Value * @param sfixed64Value * @param sint32Value @@ -538,9 +547,9 @@ func (a ABitOfEverythingServiceApi) GetMessageWithBody(id string, body Examplepb * @param nonConventionalNameValue * @param timestampValue * @param repeatedEnumValue repeated enum value. it is comma-separated in query. - ZERO: ZERO means 0 - ONE: ONE means 1 - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName string, singleNestedAmount int64, singleNestedOk string, floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, bytesValue string, uint32Value int64, enumValue string, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, repeatedStringValue []string, oneofString string, nonConventionalNameValue string, timestampValue time.Time, repeatedEnumValue []string) (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName string, singleNestedAmount int64, singleNestedOk string, floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, bytesValue string, uint32Value int64, enumValue string, pathEnumValue string, nestedPathEnumValue string, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, repeatedStringValue []string, oneofString string, nonConventionalNameValue string, timestampValue time.Time, repeatedEnumValue []string) (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Get") // create path and map variables @@ -553,19 +562,6 @@ func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName strin var localVarPostBody interface{} var localVarFileName string var localVarFileBytes []byte - // authentication '(OAuth2)' required - // oauth required - if a.Configuration.AccessToken != ""{ - localVarHeaderParams["Authorization"] = "Bearer " + a.Configuration.AccessToken - } - // authentication '(BasicAuth)' required - // http basic authentication required - if a.Configuration.Username != "" || a.Configuration.Password != ""{ - localVarHeaderParams["Authorization"] = "Basic " + a.Configuration.GetBasicAuthEncodedString() - } - // authentication '(ApiKeyAuth)' required - // set key with prefix in header - localVarHeaderParams["X-API-Key"] = a.Configuration.GetAPIKeyWithPrefix("X-API-Key") // add default headers if any for key := range a.Configuration.DefaultHeader { localVarHeaderParams[key] = a.Configuration.DefaultHeader[key] @@ -585,6 +581,8 @@ func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName strin localVarQueryParams.Add("bytes_value", a.Configuration.APIClient.ParameterToString(bytesValue, "")) localVarQueryParams.Add("uint32_value", a.Configuration.APIClient.ParameterToString(uint32Value, "")) localVarQueryParams.Add("enum_value", a.Configuration.APIClient.ParameterToString(enumValue, "")) + localVarQueryParams.Add("path_enum_value", a.Configuration.APIClient.ParameterToString(pathEnumValue, "")) + localVarQueryParams.Add("nested_path_enum_value", a.Configuration.APIClient.ParameterToString(nestedPathEnumValue, "")) localVarQueryParams.Add("sfixed32_value", a.Configuration.APIClient.ParameterToString(sfixed32Value, "")) localVarQueryParams.Add("sfixed64_value", a.Configuration.APIClient.ParameterToString(sfixed64Value, "")) localVarQueryParams.Add("sint32_value", a.Configuration.APIClient.ParameterToString(sint32Value, "")) @@ -618,7 +616,7 @@ func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName strin if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -636,6 +634,110 @@ func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName strin return successPayload, localVarAPIResponse, err } +/** + * + * + * @param pathRepeatedFloatValue repeated values. they are comma-separated in path + * @param pathRepeatedDoubleValue + * @param pathRepeatedInt64Value + * @param pathRepeatedUint64Value + * @param pathRepeatedInt32Value + * @param pathRepeatedFixed64Value + * @param pathRepeatedFixed32Value + * @param pathRepeatedBoolValue + * @param pathRepeatedStringValue + * @param pathRepeatedBytesValue + * @param pathRepeatedUint32Value + * @param pathRepeatedEnumValue + * @param pathRepeatedSfixed32Value + * @param pathRepeatedSfixed64Value + * @param pathRepeatedSint32Value + * @param pathRepeatedSint64Value + * @return *ExamplepbABitOfEverythingRepeated + */ +func (a ABitOfEverythingServiceApi) GetRepeatedQuery(pathRepeatedFloatValue []float32, pathRepeatedDoubleValue []float64, pathRepeatedInt64Value []string, pathRepeatedUint64Value []string, pathRepeatedInt32Value []int32, pathRepeatedFixed64Value []string, pathRepeatedFixed32Value []int64, pathRepeatedBoolValue []bool, pathRepeatedStringValue []string, pathRepeatedBytesValue []string, pathRepeatedUint32Value []int64, pathRepeatedEnumValue []string, pathRepeatedSfixed32Value []int32, pathRepeatedSfixed64Value []string, pathRepeatedSint32Value []int32, pathRepeatedSint64Value []string) (*ExamplepbABitOfEverythingRepeated, *APIResponse, error) { + + var localVarHttpMethod = strings.ToUpper("Get") + // create path and map variables + localVarPath := a.Configuration.BasePath + "/v1/example/a_bit_of_everything_repeated/{path_repeated_float_value}/{path_repeated_double_value}/{path_repeated_int64_value}/{path_repeated_uint64_value}/{path_repeated_int32_value}/{path_repeated_fixed64_value}/{path_repeated_fixed32_value}/{path_repeated_bool_value}/{path_repeated_string_value}/{path_repeated_bytes_value}/{path_repeated_uint32_value}/{path_repeated_enum_value}/{path_repeated_sfixed32_value}/{path_repeated_sfixed64_value}/{path_repeated_sint32_value}/{path_repeated_sint64_value}" + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_float_value"+"}", fmt.Sprintf("%v", pathRepeatedFloatValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_double_value"+"}", fmt.Sprintf("%v", pathRepeatedDoubleValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_int64_value"+"}", fmt.Sprintf("%v", pathRepeatedInt64Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_uint64_value"+"}", fmt.Sprintf("%v", pathRepeatedUint64Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_int32_value"+"}", fmt.Sprintf("%v", pathRepeatedInt32Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_fixed64_value"+"}", fmt.Sprintf("%v", pathRepeatedFixed64Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_fixed32_value"+"}", fmt.Sprintf("%v", pathRepeatedFixed32Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_bool_value"+"}", fmt.Sprintf("%v", pathRepeatedBoolValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_string_value"+"}", fmt.Sprintf("%v", pathRepeatedStringValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_bytes_value"+"}", fmt.Sprintf("%v", pathRepeatedBytesValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_uint32_value"+"}", fmt.Sprintf("%v", pathRepeatedUint32Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_enum_value"+"}", fmt.Sprintf("%v", pathRepeatedEnumValue), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_sfixed32_value"+"}", fmt.Sprintf("%v", pathRepeatedSfixed32Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_sfixed64_value"+"}", fmt.Sprintf("%v", pathRepeatedSfixed64Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_sint32_value"+"}", fmt.Sprintf("%v", pathRepeatedSint32Value), -1) + localVarPath = strings.Replace(localVarPath, "{"+"path_repeated_sint64_value"+"}", fmt.Sprintf("%v", pathRepeatedSint64Value), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := make(map[string]string) + var localVarPostBody interface{} + var localVarFileName string + var localVarFileBytes []byte + // authentication '(OAuth2)' required + // oauth required + if a.Configuration.AccessToken != ""{ + localVarHeaderParams["Authorization"] = "Bearer " + a.Configuration.AccessToken + } + // authentication '(BasicAuth)' required + // http basic authentication required + if a.Configuration.Username != "" || a.Configuration.Password != ""{ + localVarHeaderParams["Authorization"] = "Basic " + a.Configuration.GetBasicAuthEncodedString() + } + // authentication '(ApiKeyAuth)' required + // set key with prefix in header + localVarHeaderParams["X-API-Key"] = a.Configuration.GetAPIKeyWithPrefix("X-API-Key") + // add default headers if any + for key := range a.Configuration.DefaultHeader { + localVarHeaderParams[key] = a.Configuration.DefaultHeader[key] + } + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/json", "application/x-foo-mime", } + + // set Content-Type header + localVarHttpContentType := a.Configuration.APIClient.SelectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + "application/json", + "application/x-foo-mime", + } + + // set Accept header + localVarHttpHeaderAccept := a.Configuration.APIClient.SelectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + var successPayload = new(ExamplepbABitOfEverythingRepeated) + localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + + var localVarURL, _ = url.Parse(localVarPath) + localVarURL.RawQuery = localVarQueryParams.Encode() + var localVarAPIResponse = &APIResponse{Operation: "GetRepeatedQuery", Method: localVarHttpMethod, RequestURL: localVarURL.String()} + if localVarHttpResponse != nil { + localVarAPIResponse.Response = localVarHttpResponse.RawResponse + localVarAPIResponse.Payload = localVarHttpResponse.Body() + } + + if err != nil { + return successPayload, localVarAPIResponse, err + } + err = json.Unmarshal(localVarHttpResponse.Body(), &successPayload) + return successPayload, localVarAPIResponse, err +} + /** * * @@ -710,14 +812,91 @@ func (a ABitOfEverythingServiceApi) Lookup(uuid string) (*ExamplepbABitOfEveryth return successPayload, localVarAPIResponse, err } +/** + * + * + * @param abeUuid + * @param body + * @return *interface{} + */ +func (a ABitOfEverythingServiceApi) PatchWithFieldMaskInBody(abeUuid string, body ExamplepbUpdateV2Request) (*interface{}, *APIResponse, error) { + + var localVarHttpMethod = strings.ToUpper("Patch") + // create path and map variables + localVarPath := a.Configuration.BasePath + "/v2a/example/a_bit_of_everything/{abe.uuid}" + localVarPath = strings.Replace(localVarPath, "{"+"abe.uuid"+"}", fmt.Sprintf("%v", abeUuid), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := make(map[string]string) + var localVarPostBody interface{} + var localVarFileName string + var localVarFileBytes []byte + // authentication '(OAuth2)' required + // oauth required + if a.Configuration.AccessToken != ""{ + localVarHeaderParams["Authorization"] = "Bearer " + a.Configuration.AccessToken + } + // authentication '(BasicAuth)' required + // http basic authentication required + if a.Configuration.Username != "" || a.Configuration.Password != ""{ + localVarHeaderParams["Authorization"] = "Basic " + a.Configuration.GetBasicAuthEncodedString() + } + // authentication '(ApiKeyAuth)' required + // set key with prefix in header + localVarHeaderParams["X-API-Key"] = a.Configuration.GetAPIKeyWithPrefix("X-API-Key") + // add default headers if any + for key := range a.Configuration.DefaultHeader { + localVarHeaderParams[key] = a.Configuration.DefaultHeader[key] + } + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/json", "application/x-foo-mime", } + + // set Content-Type header + localVarHttpContentType := a.Configuration.APIClient.SelectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + "application/json", + "application/x-foo-mime", + } + + // set Accept header + localVarHttpHeaderAccept := a.Configuration.APIClient.SelectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + var successPayload = new(interface{}) + localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + + var localVarURL, _ = url.Parse(localVarPath) + localVarURL.RawQuery = localVarQueryParams.Encode() + var localVarAPIResponse = &APIResponse{Operation: "PatchWithFieldMaskInBody", Method: localVarHttpMethod, RequestURL: localVarURL.String()} + if localVarHttpResponse != nil { + localVarAPIResponse.Response = localVarHttpResponse.RawResponse + localVarAPIResponse.Payload = localVarHttpResponse.Body() + } + + if err != nil { + return successPayload, localVarAPIResponse, err + } + err = json.Unmarshal(localVarHttpResponse.Body(), &successPayload) + return successPayload, localVarAPIResponse, err +} + /** * * * @param name * @param body - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) PostWithEmptyBody(name string, body ExamplepbBody) (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) PostWithEmptyBody(name string, body ExamplepbBody) (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Post") // create path and map variables @@ -769,7 +948,7 @@ func (a ABitOfEverythingServiceApi) PostWithEmptyBody(name string, body Examplep } // body params localVarPostBody = &body - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -790,9 +969,9 @@ func (a ABitOfEverythingServiceApi) PostWithEmptyBody(name string, body Examplep /** * * - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) Timeout() (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) Timeout() (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Get") // create path and map variables @@ -841,7 +1020,7 @@ func (a ABitOfEverythingServiceApi) Timeout() (*ProtobufEmpty, *APIResponse, err if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -864,9 +1043,9 @@ func (a ABitOfEverythingServiceApi) Timeout() (*ProtobufEmpty, *APIResponse, err * * @param uuid * @param body - * @return *ProtobufEmpty + * @return *interface{} */ -func (a ABitOfEverythingServiceApi) Update(uuid string, body ExamplepbABitOfEverything) (*ProtobufEmpty, *APIResponse, error) { +func (a ABitOfEverythingServiceApi) Update(uuid string, body ExamplepbABitOfEverything) (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Put") // create path and map variables @@ -918,7 +1097,7 @@ func (a ABitOfEverythingServiceApi) Update(uuid string, body ExamplepbABitOfEver } // body params localVarPostBody = &body - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) @@ -936,3 +1115,157 @@ func (a ABitOfEverythingServiceApi) Update(uuid string, body ExamplepbABitOfEver return successPayload, localVarAPIResponse, err } +/** + * + * + * @param abeUuid + * @param body + * @return *interface{} + */ +func (a ABitOfEverythingServiceApi) UpdateV2(abeUuid string, body ExamplepbABitOfEverything) (*interface{}, *APIResponse, error) { + + var localVarHttpMethod = strings.ToUpper("Put") + // create path and map variables + localVarPath := a.Configuration.BasePath + "/v2/example/a_bit_of_everything/{abe.uuid}" + localVarPath = strings.Replace(localVarPath, "{"+"abe.uuid"+"}", fmt.Sprintf("%v", abeUuid), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := make(map[string]string) + var localVarPostBody interface{} + var localVarFileName string + var localVarFileBytes []byte + // authentication '(OAuth2)' required + // oauth required + if a.Configuration.AccessToken != ""{ + localVarHeaderParams["Authorization"] = "Bearer " + a.Configuration.AccessToken + } + // authentication '(BasicAuth)' required + // http basic authentication required + if a.Configuration.Username != "" || a.Configuration.Password != ""{ + localVarHeaderParams["Authorization"] = "Basic " + a.Configuration.GetBasicAuthEncodedString() + } + // authentication '(ApiKeyAuth)' required + // set key with prefix in header + localVarHeaderParams["X-API-Key"] = a.Configuration.GetAPIKeyWithPrefix("X-API-Key") + // add default headers if any + for key := range a.Configuration.DefaultHeader { + localVarHeaderParams[key] = a.Configuration.DefaultHeader[key] + } + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/json", "application/x-foo-mime", } + + // set Content-Type header + localVarHttpContentType := a.Configuration.APIClient.SelectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + "application/json", + "application/x-foo-mime", + } + + // set Accept header + localVarHttpHeaderAccept := a.Configuration.APIClient.SelectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + var successPayload = new(interface{}) + localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + + var localVarURL, _ = url.Parse(localVarPath) + localVarURL.RawQuery = localVarQueryParams.Encode() + var localVarAPIResponse = &APIResponse{Operation: "UpdateV2", Method: localVarHttpMethod, RequestURL: localVarURL.String()} + if localVarHttpResponse != nil { + localVarAPIResponse.Response = localVarHttpResponse.RawResponse + localVarAPIResponse.Payload = localVarHttpResponse.Body() + } + + if err != nil { + return successPayload, localVarAPIResponse, err + } + err = json.Unmarshal(localVarHttpResponse.Body(), &successPayload) + return successPayload, localVarAPIResponse, err +} + +/** + * + * + * @param abeUuid + * @param body + * @return *interface{} + */ +func (a ABitOfEverythingServiceApi) UpdateV22(abeUuid string, body ExamplepbABitOfEverything) (*interface{}, *APIResponse, error) { + + var localVarHttpMethod = strings.ToUpper("Patch") + // create path and map variables + localVarPath := a.Configuration.BasePath + "/v2/example/a_bit_of_everything/{abe.uuid}" + localVarPath = strings.Replace(localVarPath, "{"+"abe.uuid"+"}", fmt.Sprintf("%v", abeUuid), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := make(map[string]string) + var localVarPostBody interface{} + var localVarFileName string + var localVarFileBytes []byte + // authentication '(OAuth2)' required + // oauth required + if a.Configuration.AccessToken != ""{ + localVarHeaderParams["Authorization"] = "Bearer " + a.Configuration.AccessToken + } + // authentication '(BasicAuth)' required + // http basic authentication required + if a.Configuration.Username != "" || a.Configuration.Password != ""{ + localVarHeaderParams["Authorization"] = "Basic " + a.Configuration.GetBasicAuthEncodedString() + } + // authentication '(ApiKeyAuth)' required + // set key with prefix in header + localVarHeaderParams["X-API-Key"] = a.Configuration.GetAPIKeyWithPrefix("X-API-Key") + // add default headers if any + for key := range a.Configuration.DefaultHeader { + localVarHeaderParams[key] = a.Configuration.DefaultHeader[key] + } + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/json", "application/x-foo-mime", } + + // set Content-Type header + localVarHttpContentType := a.Configuration.APIClient.SelectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + "application/json", + "application/x-foo-mime", + } + + // set Accept header + localVarHttpHeaderAccept := a.Configuration.APIClient.SelectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + var successPayload = new(interface{}) + localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + + var localVarURL, _ = url.Parse(localVarPath) + localVarURL.RawQuery = localVarQueryParams.Encode() + var localVarAPIResponse = &APIResponse{Operation: "UpdateV22", Method: localVarHttpMethod, RequestURL: localVarURL.String()} + if localVarHttpResponse != nil { + localVarAPIResponse.Response = localVarHttpResponse.RawResponse + localVarAPIResponse.Payload = localVarHttpResponse.Body() + } + + if err != nil { + return successPayload, localVarAPIResponse, err + } + err = json.Unmarshal(localVarHttpResponse.Body(), &successPayload) + return successPayload, localVarAPIResponse, err +} + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/camel_case_service_name_api.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/camel_case_service_name_api.go index 43c92f741..d761b1978 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/camel_case_service_name_api.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/camel_case_service_name_api.go @@ -39,9 +39,9 @@ func NewCamelCaseServiceNameApiWithBasePath(basePath string) *CamelCaseServiceNa /** * * - * @return *ProtobufEmpty + * @return *interface{} */ -func (a CamelCaseServiceNameApi) Empty() (*ProtobufEmpty, *APIResponse, error) { +func (a CamelCaseServiceNameApi) Empty() (*interface{}, *APIResponse, error) { var localVarHttpMethod = strings.ToUpper("Get") // create path and map variables @@ -90,7 +90,7 @@ func (a CamelCaseServiceNameApi) Empty() (*ProtobufEmpty, *APIResponse, error) { if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - var successPayload = new(ProtobufEmpty) + var successPayload = new(interface{}) localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) var localVarURL, _ = url.Parse(localVarPath) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/enum_helper.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/enum_helper.go new file mode 100644 index 000000000..df9e20fb6 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/enum_helper.go @@ -0,0 +1,46 @@ +package abe + +import ( + pbexamplepb "github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb" + pbpathenum "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum" + "github.com/grpc-ecosystem/grpc-gateway/runtime" +) + +// String returns a string representation of "NumericEnum" +func (e ExamplepbNumericEnum) String() string { + return pbexamplepb.NumericEnum_ONE.String() +} + +// UnmarshalJSON does a no-op unmarshal to ExamplepbNumericEnum. +// It just validates that the input is sane. +func (e ExamplepbNumericEnum) UnmarshalJSON(b []byte) error { + return unmarshalJSONEnum(b, pbexamplepb.NumericEnum_value) +} + +// String returns a string representation of "MessagePathEnum" +func (e MessagePathEnumNestedPathEnum) String() string { + return pbpathenum.MessagePathEnum_JKL.String() +} + +// UnmarshalJSON does a no-op unmarshal to MessagePathEnumNestedPathEnum. +// It just validates that the input is sane. +func (e MessagePathEnumNestedPathEnum) UnmarshalJSON(b []byte) error { + return unmarshalJSONEnum(b, pbpathenum.MessagePathEnum_NestedPathEnum_value) +} + +// String returns a string representation of "PathEnum" +func (e PathenumPathEnum) String() string { + return pbpathenum.PathEnum_DEF.String() +} + +// UnmarshalJSON does a no-op unmarshal to PathenumPathEnum. +// It just validates that the input is sane. +func (e PathenumPathEnum) UnmarshalJSON(b []byte) error { + return unmarshalJSONEnum(b, pbpathenum.PathEnum_value) +} + +func unmarshalJSONEnum(b []byte, enumValMap map[string]int32) error { + val := string(b[1 : len(b)-1]) + _, err := runtime.Enum(val, enumValMap) + return err +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything.go index cb6fb3a48..9701914d1 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything.go @@ -14,11 +14,12 @@ import ( "time" ) +// Intentionaly complicated message type to cover many features of Protobuf. type ExamplepbABitOfEverything struct { SingleNested ABitOfEverythingNested `json:"single_nested,omitempty"` - Uuid string `json:"uuid,omitempty"` + Uuid string `json:"uuid"` Nested []ABitOfEverythingNested `json:"nested,omitempty"` @@ -46,6 +47,10 @@ type ExamplepbABitOfEverything struct { EnumValue ExamplepbNumericEnum `json:"enum_value,omitempty"` + PathEnumValue PathenumPathEnum `json:"path_enum_value,omitempty"` + + NestedPathEnumValue MessagePathEnumNestedPathEnum `json:"nested_path_enum_value,omitempty"` + Sfixed32Value int32 `json:"sfixed32_value,omitempty"` Sfixed64Value string `json:"sfixed64_value,omitempty"` @@ -56,7 +61,7 @@ type ExamplepbABitOfEverything struct { RepeatedStringValue []string `json:"repeated_string_value,omitempty"` - OneofEmpty ProtobufEmpty `json:"oneof_empty,omitempty"` + OneofEmpty interface{} `json:"oneof_empty,omitempty"` OneofString string `json:"oneof_string,omitempty"` diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything_repeated.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything_repeated.go new file mode 100644 index 000000000..35f588ccf --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_a_bit_of_everything_repeated.go @@ -0,0 +1,46 @@ +/* + * A Bit of Everything + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 1.0 + * Contact: none@example.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package abe + +type ExamplepbABitOfEverythingRepeated struct { + + PathRepeatedFloatValue []float32 `json:"path_repeated_float_value,omitempty"` + + PathRepeatedDoubleValue []float64 `json:"path_repeated_double_value,omitempty"` + + PathRepeatedInt64Value []string `json:"path_repeated_int64_value,omitempty"` + + PathRepeatedUint64Value []string `json:"path_repeated_uint64_value,omitempty"` + + PathRepeatedInt32Value []int32 `json:"path_repeated_int32_value,omitempty"` + + PathRepeatedFixed64Value []string `json:"path_repeated_fixed64_value,omitempty"` + + PathRepeatedFixed32Value []int64 `json:"path_repeated_fixed32_value,omitempty"` + + PathRepeatedBoolValue []bool `json:"path_repeated_bool_value,omitempty"` + + PathRepeatedStringValue []string `json:"path_repeated_string_value,omitempty"` + + PathRepeatedBytesValue []string `json:"path_repeated_bytes_value,omitempty"` + + PathRepeatedUint32Value []int64 `json:"path_repeated_uint32_value,omitempty"` + + PathRepeatedEnumValue []ExamplepbNumericEnum `json:"path_repeated_enum_value,omitempty"` + + PathRepeatedSfixed32Value []int32 `json:"path_repeated_sfixed32_value,omitempty"` + + PathRepeatedSfixed64Value []string `json:"path_repeated_sfixed64_value,omitempty"` + + PathRepeatedSint32Value []int32 `json:"path_repeated_sint32_value,omitempty"` + + PathRepeatedSint64Value []string `json:"path_repeated_sint64_value,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_empty.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_update_v2_request.go similarity index 60% rename from vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_empty.go rename to vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_update_v2_request.go index 97c7bf612..9d021f824 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_empty.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/examplepb_update_v2_request.go @@ -10,6 +10,9 @@ package abe -// service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. -type ProtobufEmpty struct { +type ExamplepbUpdateV2Request struct { + + Abe ExamplepbABitOfEverything `json:"abe,omitempty"` + + UpdateMask ProtobufFieldMask `json:"update_mask,omitempty"` } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/message_path_enum_nested_path_enum.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/message_path_enum_nested_path_enum.go new file mode 100644 index 000000000..a6d9a579f --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/message_path_enum_nested_path_enum.go @@ -0,0 +1,14 @@ +/* + * A Bit of Everything + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 1.0 + * Contact: none@example.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package abe + +type MessagePathEnumNestedPathEnum struct { +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/pathenum_path_enum.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/pathenum_path_enum.go new file mode 100644 index 000000000..76e4f8765 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/pathenum_path_enum.go @@ -0,0 +1,14 @@ +/* + * A Bit of Everything + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 1.0 + * Contact: none@example.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package abe + +type PathenumPathEnum struct { +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_field_mask.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_field_mask.go new file mode 100644 index 000000000..f30f25317 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe/protobuf_field_mask.go @@ -0,0 +1,18 @@ +/* + * A Bit of Everything + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 1.0 + * Contact: none@example.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package abe + +// paths: \"f.a\" paths: \"f.b.d\" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`. Field masks are used to specify a subset of fields that should be returned by a get operation or modified by an update operation. Field masks also have a custom JSON encoding (see below). # Field Masks in Projections When used in the context of a projection, a response message or sub-message is filtered by the API to only contain those fields as specified in the mask. For example, if the mask in the previous example is applied to a response message as follows: f { a : 22 b { d : 1 x : 2 } y : 13 } z: 8 The result will not contain specific values for fields x,y and z (their value will be set to the default, and omitted in proto text output): f { a : 22 b { d : 1 } } A repeated field is not allowed except at the last position of a paths string. If a FieldMask object is not present in a get operation, the operation applies to all fields (as if a FieldMask of all fields had been specified). Note that a field mask does not necessarily apply to the top-level response message. In case of a REST get operation, the field mask applies directly to the response, but in case of a REST list operation, the mask instead applies to each individual message in the returned resource list. In case of a REST custom method, other definitions may be used. Where the mask applies will be clearly documented together with its declaration in the API. In any case, the effect on the returned resource/resources is required behavior for APIs. # Field Masks in Update Operations A field mask in update operations specifies which fields of the targeted resource are going to be updated. The API is required to only change the values of the fields as specified in the mask and leave the others untouched. If a resource is passed in to describe the updated values, the API ignores the values of all fields not covered by the mask. If a repeated field is specified for an update operation, the existing repeated values in the target resource will be overwritten by the new values. Note that a repeated field is only allowed in the last position of a `paths` string. If a sub-message is specified in the last position of the field mask for an update operation, then the existing sub-message in the target resource is overwritten. Given the target message: f { b { d : 1 x : 2 } c : 1 } And an update message: f { b { d : 10 } } then if the field mask is: paths: \"f.b\" then the result will be: f { b { d : 10 } c : 1 } However, if the update mask was: paths: \"f.b.d\" then the result would be: f { b { d : 10 x : 2 } c : 1 } In order to reset a field's value to the default, the field must be in the mask and set to the default value in the provided resource. Hence, in order to reset all fields of a resource, provide a default instance of the resource and set all fields in the mask, or do not provide a mask as described below. If a field mask is not present on update, the operation applies to all fields (as if a field mask of all fields has been specified). Note that in the presence of schema evolution, this may mean that fields the client does not know and has therefore not filled into the request will be reset to their default. If this is unwanted behavior, a specific service may require a client to always specify a field mask, producing an error if not. As with get operations, the location of the resource which describes the updated values in the request message depends on the operation kind. In any case, the effect of the field mask is required to be honored by the API. ## Considerations for HTTP REST The HTTP kind of an update operation which uses a field mask must be set to PATCH instead of PUT in order to satisfy HTTP semantics (PUT must only be used for full updates). # JSON Encoding of Field Masks In JSON, a field mask is encoded as a single string where paths are separated by a comma. Fields name in each path are converted to/from lower-camel naming conventions. As an example, consider the following message declarations: message Profile { User user = 1; Photo photo = 2; } message User { string display_name = 1; string address = 2; } In proto a field mask for `Profile` may look as such: mask { paths: \"user.display_name\" paths: \"photo\" } In JSON, the same mask is represented as below: { mask: \"user.displayName,photo\" } # Field Masks and Oneof Fields Field masks treat fields in oneofs just as regular fields. Consider the following message: message SampleMessage { oneof test_oneof { string name = 4; SubMessage sub_message = 9; } } The field mask can be: mask { paths: \"name\" } Or: mask { paths: \"sub_message\" } Note that oneof type names (\"test_oneof\" in this case) cannot be used in paths. +type ProtobufFieldMask struct { + + // The set of field mask paths. + Paths []string `json:"paths,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/echo/echo_service_api.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/echo/echo_service_api.go index 775d0b3a7..6ae7cf85a 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/echo/echo_service_api.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/echo/echo_service_api.go @@ -41,7 +41,7 @@ func NewEchoServiceApiWithBasePath(basePath string) *EchoServiceApi { * Echo method receives a simple message and returns it. * The message posted as the id parameter will also be returned. * - * @param id + * @param id Id represents the message identifier. * @return *ExamplepbSimpleMessage */ func (a EchoServiceApi) Echo(id string) (*ExamplepbSimpleMessage, *APIResponse, error) { @@ -102,7 +102,7 @@ func (a EchoServiceApi) Echo(id string) (*ExamplepbSimpleMessage, *APIResponse, * Echo method receives a simple message and returns it. * The message posted as the id parameter will also be returned. * - * @param id + * @param id Id represents the message identifier. * @param num * @param lineNum * @param lang @@ -179,7 +179,7 @@ func (a EchoServiceApi) Echo2(id string, num string, lineNum string, lang string * Echo method receives a simple message and returns it. * The message posted as the id parameter will also be returned. * - * @param id + * @param id Id represents the message identifier. * @param num * @param lang * @param lineNum @@ -256,7 +256,7 @@ func (a EchoServiceApi) Echo3(id string, num string, lang string, lineNum string * Echo method receives a simple message and returns it. * The message posted as the id parameter will also be returned. * - * @param id + * @param id Id represents the message identifier. * @param lineNum * @param statusNote * @param num diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.gitignore b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.gitignore new file mode 100644 index 000000000..daf913b1b --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.gitignore @@ -0,0 +1,24 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.swagger-codegen-ignore b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/BUILD.bazel new file mode 100644 index 000000000..bdbc237a8 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "api_client.go", + "api_response.go", + "configuration.go", + "examplepb_response_body_message.go", + "examplepb_response_body_message_response.go", + "examplepb_response_body_out.go", + "examplepb_response_body_out_response.go", + "examplepb_response_body_req.go", + "response_body_service_api.go", + ], + importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody", + visibility = ["//visibility:public"], + deps = ["@com_github_go_resty_resty//:go_default_library"], +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_client.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_client.go new file mode 100644 index 000000000..1f7354b61 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_client.go @@ -0,0 +1,164 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +import ( + "bytes" + "fmt" + "path/filepath" + "reflect" + "strings" + "net/url" + "io/ioutil" + "github.com/go-resty/resty" +) + +type APIClient struct { + config *Configuration +} + +func (c *APIClient) SelectHeaderContentType(contentTypes []string) string { + + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +func (c *APIClient) SelectHeaderAccept(accepts []string) string { + + if len(accepts) == 0 { + return "" + } + if contains(accepts, "application/json") { + return "application/json" + } + return strings.Join(accepts, ",") +} + +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.ToLower(a) == strings.ToLower(needle) { + return true + } + } + return false +} + +func (c *APIClient) CallAPI(path string, method string, + postBody interface{}, + headerParams map[string]string, + queryParams url.Values, + formParams map[string]string, + fileName string, + fileBytes []byte) (*resty.Response, error) { + + rClient := c.prepareClient() + request := c.prepareRequest(rClient, postBody, headerParams, queryParams, formParams, fileName, fileBytes) + + switch strings.ToUpper(method) { + case "GET": + response, err := request.Get(path) + return response, err + case "POST": + response, err := request.Post(path) + return response, err + case "PUT": + response, err := request.Put(path) + return response, err + case "PATCH": + response, err := request.Patch(path) + return response, err + case "DELETE": + response, err := request.Delete(path) + return response, err + } + + return nil, fmt.Errorf("invalid method %v", method) +} + +func (c *APIClient) ParameterToString(obj interface{}, collectionFormat string) string { + delimiter := "" + switch collectionFormat { + case "pipes": + delimiter = "|" + case "ssv": + delimiter = " " + case "tsv": + delimiter = "\t" + case "csv": + delimiter = "," + } + + if reflect.TypeOf(obj).Kind() == reflect.Slice { + return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") + } + + return fmt.Sprintf("%v", obj) +} + +func (c *APIClient) prepareClient() *resty.Client { + + rClient := resty.New() + + rClient.SetDebug(c.config.Debug) + if c.config.Transport != nil { + rClient.SetTransport(c.config.Transport) + } + + if c.config.Timeout != nil { + rClient.SetTimeout(*c.config.Timeout) + } + rClient.SetLogger(ioutil.Discard) + return rClient +} + +func (c *APIClient) prepareRequest( + rClient *resty.Client, + postBody interface{}, + headerParams map[string]string, + queryParams url.Values, + formParams map[string]string, + fileName string, + fileBytes []byte) *resty.Request { + + + request := rClient.R() + request.SetBody(postBody) + + if c.config.UserAgent != "" { + request.SetHeader("User-Agent", c.config.UserAgent) + } + + // add header parameter, if any + if len(headerParams) > 0 { + request.SetHeaders(headerParams) + } + + // add query parameter, if any + if len(queryParams) > 0 { + request.SetMultiValueQueryParams(queryParams) + } + + // add form parameter, if any + if len(formParams) > 0 { + request.SetFormData(formParams) + } + + if len(fileBytes) > 0 && fileName != "" { + _, fileNm := filepath.Split(fileName) + request.SetFileReader("file", fileNm, bytes.NewReader(fileBytes)) + } + return request +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_response.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_response.go new file mode 100644 index 000000000..225d12176 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/api_response.go @@ -0,0 +1,44 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +import ( + "net/http" +) + +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the swagger operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/configuration.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/configuration.go new file mode 100644 index 000000000..0ffa917b4 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/configuration.go @@ -0,0 +1,67 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +import ( + "encoding/base64" + "net/http" + "time" +) + + +type Configuration struct { + Username string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` + APIKeyPrefix map[string]string `json:"APIKeyPrefix,omitempty"` + APIKey map[string]string `json:"APIKey,omitempty"` + Debug bool `json:"debug,omitempty"` + DebugFile string `json:"debugFile,omitempty"` + OAuthToken string `json:"oAuthToken,omitempty"` + BasePath string `json:"basePath,omitempty"` + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + AccessToken string `json:"accessToken,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + APIClient *APIClient + Transport *http.Transport + Timeout *time.Duration `json:"timeout,omitempty"` +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + BasePath: "http://localhost", + DefaultHeader: make(map[string]string), + APIKey: make(map[string]string), + APIKeyPrefix: make(map[string]string), + UserAgent: "Swagger-Codegen/1.0.0/go", + APIClient: &APIClient{}, + } + + cfg.APIClient.config = cfg + return cfg +} + +func (c *Configuration) GetBasicAuthEncodedString() string { + return base64.StdEncoding.EncodeToString([]byte(c.Username + ":" + c.Password)) +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +func (c *Configuration) GetAPIKeyWithPrefix(APIKeyIdentifier string) string { + if c.APIKeyPrefix[APIKeyIdentifier] != "" { + return c.APIKeyPrefix[APIKeyIdentifier] + " " + c.APIKey[APIKeyIdentifier] + } + + return c.APIKey[APIKeyIdentifier] +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessage.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessage.md new file mode 100644 index 000000000..5b7749a7b --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessage.md @@ -0,0 +1,11 @@ +# ExamplepbResponseBodyMessage + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Request** | **string** | | [optional] [default to null] +**Response** | [**ExamplepbResponseBodyMessageResponse**](examplepbResponseBodyMessageResponse.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessageResponse.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessageResponse.md new file mode 100644 index 000000000..d0990f90f --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyMessageResponse.md @@ -0,0 +1,10 @@ +# ExamplepbResponseBodyMessageResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOut.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOut.md new file mode 100644 index 000000000..a26ce7530 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOut.md @@ -0,0 +1,10 @@ +# ExamplepbResponseBodyOut + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Response** | [**ExamplepbResponseBodyOutResponse**](examplepbResponseBodyOutResponse.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOutResponse.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOutResponse.md new file mode 100644 index 000000000..aff3fe461 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyOutResponse.md @@ -0,0 +1,10 @@ +# ExamplepbResponseBodyOutResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyReq.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyReq.md new file mode 100644 index 000000000..84c87bf9a --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ExamplepbResponseBodyReq.md @@ -0,0 +1,10 @@ +# ExamplepbResponseBodyReq + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ResponseBodyServiceApi.md b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ResponseBodyServiceApi.md new file mode 100644 index 000000000..7c4506cc9 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/docs/ResponseBodyServiceApi.md @@ -0,0 +1,36 @@ +# \ResponseBodyServiceApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetResponseBody**](ResponseBodyServiceApi.md#GetResponseBody) | **Get** /responsebody/{data} | + + +# **GetResponseBody** +> ExamplepbResponseBodyOutResponse GetResponseBody($data) + + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data** | **string**| | + +### Return type + +[**ExamplepbResponseBodyOutResponse**](examplepbResponseBodyOutResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message.go new file mode 100644 index 000000000..6dfcea383 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message.go @@ -0,0 +1,18 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +type ExamplepbResponseBodyMessage struct { + + Request string `json:"request,omitempty"` + + Response ExamplepbResponseBodyMessageResponse `json:"response,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message_response.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message_response.go new file mode 100644 index 000000000..436f1dff6 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_message_response.go @@ -0,0 +1,16 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +type ExamplepbResponseBodyMessageResponse struct { + + Data string `json:"data,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out.go new file mode 100644 index 000000000..72fae8bd5 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out.go @@ -0,0 +1,16 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +type ExamplepbResponseBodyOut struct { + + Response ExamplepbResponseBodyOutResponse `json:"response,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out_response.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out_response.go new file mode 100644 index 000000000..ca14fa3e6 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_out_response.go @@ -0,0 +1,16 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +type ExamplepbResponseBodyOutResponse struct { + + Data string `json:"data,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_req.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_req.go new file mode 100644 index 000000000..5d9a56d95 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/examplepb_response_body_req.go @@ -0,0 +1,16 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +type ExamplepbResponseBodyReq struct { + + Data string `json:"data,omitempty"` +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/response_body_service_api.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/response_body_service_api.go new file mode 100644 index 000000000..15fa4e5bb --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/responsebody/response_body_service_api.go @@ -0,0 +1,99 @@ +/* + * examples/proto/examplepb/response_body_service.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: version not set + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +package responsebody + +import ( + "net/url" + "strings" + "encoding/json" + "fmt" +) + +type ResponseBodyServiceApi struct { + Configuration *Configuration +} + +func NewResponseBodyServiceApi() *ResponseBodyServiceApi { + configuration := NewConfiguration() + return &ResponseBodyServiceApi{ + Configuration: configuration, + } +} + +func NewResponseBodyServiceApiWithBasePath(basePath string) *ResponseBodyServiceApi { + configuration := NewConfiguration() + configuration.BasePath = basePath + + return &ResponseBodyServiceApi{ + Configuration: configuration, + } +} + +/** + * + * + * @param data + * @return *ExamplepbResponseBodyOutResponse + */ +func (a ResponseBodyServiceApi) GetResponseBody(data string) (*ExamplepbResponseBodyOutResponse, *APIResponse, error) { + + var localVarHttpMethod = strings.ToUpper("Get") + // create path and map variables + localVarPath := a.Configuration.BasePath + "/responsebody/{data}" + localVarPath = strings.Replace(localVarPath, "{"+"data"+"}", fmt.Sprintf("%v", data), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := make(map[string]string) + var localVarPostBody interface{} + var localVarFileName string + var localVarFileBytes []byte + // add default headers if any + for key := range a.Configuration.DefaultHeader { + localVarHeaderParams[key] = a.Configuration.DefaultHeader[key] + } + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/json", } + + // set Content-Type header + localVarHttpContentType := a.Configuration.APIClient.SelectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + "application/json", + } + + // set Accept header + localVarHttpHeaderAccept := a.Configuration.APIClient.SelectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + var successPayload = new(ExamplepbResponseBodyOutResponse) + localVarHttpResponse, err := a.Configuration.APIClient.CallAPI(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + + var localVarURL, _ = url.Parse(localVarPath) + localVarURL.RawQuery = localVarQueryParams.Encode() + var localVarAPIResponse = &APIResponse{Operation: "GetResponseBody", Method: localVarHttpMethod, RequestURL: localVarURL.String()} + if localVarHttpResponse != nil { + localVarAPIResponse.Response = localVarHttpResponse.RawResponse + localVarAPIResponse.Payload = localVarHttpResponse.Body() + } + + if err != nil { + return successPayload, localVarAPIResponse, err + } + err = json.Unmarshal(localVarHttpResponse.Body(), &successPayload) + return successPayload, localVarAPIResponse, err +} + diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/unannotatedecho/unannotated_echo_service_api.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/unannotatedecho/unannotated_echo_service_api.go index 99f02f08d..cb3efdde4 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/unannotatedecho/unannotated_echo_service_api.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/clients/unannotatedecho/unannotated_echo_service_api.go @@ -41,7 +41,7 @@ func NewUnannotatedEchoServiceApiWithBasePath(basePath string) *UnannotatedEchoS * Echo method receives a simple message and returns it. * The message posted as the id parameter will also be returned. * - * @param id + * @param id Id represents the message identifier. * @return *ExamplepbUnannotatedSimpleMessage */ func (a UnannotatedEchoServiceApi) Echo(id string) (*ExamplepbUnannotatedSimpleMessage, *APIResponse, error) { @@ -102,7 +102,7 @@ func (a UnannotatedEchoServiceApi) Echo(id string) (*ExamplepbUnannotatedSimpleM * Echo method receives a simple message and returns it. * The message posted as the id parameter will also be returned. * - * @param id + * @param id Id represents the message identifier. * @param num * @param duration * @return *ExamplepbUnannotatedSimpleMessage diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/gateway.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/gateway.go index ffdbe2ca2..297ebe63d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/gateway.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/gateway.go @@ -22,6 +22,7 @@ func newGateway(ctx context.Context, conn *grpc.ClientConn, opts []gwruntime.Ser examplepb.RegisterStreamServiceHandler, examplepb.RegisterABitOfEverythingServiceHandler, examplepb.RegisterFlowCombinationHandler, + examplepb.RegisterResponseBodyServiceHandler, } { if err := f(ctx, mux, conn); err != nil { return nil, err diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/handlers.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/handlers.go index d52580f52..3db3fc3bf 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/handlers.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/gateway/handlers.go @@ -11,6 +11,7 @@ import ( "google.golang.org/grpc/connectivity" ) +// swaggerServer returns swagger specification files located under "/swagger/" func swaggerServer(dir string) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { if !strings.HasSuffix(r.URL.Path, ".swagger.json") { @@ -41,6 +42,9 @@ func allowCORS(h http.Handler) http.Handler { }) } +// preflightHandler adds the necessary headers in order to serve +// CORS from any origin using the methods "GET", "HEAD", "POST", "PUT", "DELETE" +// We insist, don't do this without consideration in production systems. func preflightHandler(w http.ResponseWriter, r *http.Request) { headers := []string{"Content-Type", "Accept"} w.Header().Set("Access-Control-Allow-Headers", strings.Join(headers, ",")) @@ -49,6 +53,7 @@ func preflightHandler(w http.ResponseWriter, r *http.Request) { glog.Infof("preflight request for %s", r.URL.Path) } +// healthzServer returns a simple health handler which returns ok. func healthzServer(conn *grpc.ClientConn) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/plain") diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/BUILD.bazel index c603d01e1..b37ad78ec 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/BUILD.bazel @@ -1,7 +1,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_test") go_test( - name = "go_default_xtest", + name = "go_default_test", srcs = [ "client_test.go", "integration_test.go", @@ -14,14 +14,16 @@ go_test( "//examples/clients/unannotatedecho:go_default_library", "//examples/gateway:go_default_library", "//examples/proto/examplepb:go_default_library", + "//examples/proto/pathenum:go_default_library", "//examples/proto/sub:go_default_library", "//examples/server:go_default_library", "//runtime:go_default_library", "@com_github_golang_glog//:go_default_library", - "@com_github_golang_protobuf//jsonpb:go_default_library", + "@com_github_golang_protobuf//jsonpb:go_default_library_gen", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//ptypes/empty:go_default_library", - "@org_golang_google_genproto//googleapis/rpc/status:go_default_library", + "@go_googleapis//google/rpc:status_go_proto", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@io_bazel_rules_go//proto/wkt:field_mask_go_proto", "@org_golang_google_grpc//codes:go_default_library", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/client_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/client_test.go index b49a2f31f..bbcfed59c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/client_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/client_test.go @@ -73,6 +73,9 @@ func testABEClientCreate(t *testing.T, cl *abe.ABitOfEverythingServiceApi) { Sint32Value: 2147483647, Sint64Value: "4611686018427387903", NonConventionalNameValue: "camelCase", + EnumValue: abe.ExamplepbNumericEnum{}, + PathEnumValue: abe.PathenumPathEnum{}, + NestedPathEnumValue: abe.MessagePathEnumNestedPathEnum{}, } resp, _, err := cl.Create( want.FloatValue, @@ -90,6 +93,9 @@ func testABEClientCreate(t *testing.T, cl *abe.ABitOfEverythingServiceApi) { want.Sint32Value, want.Sint64Value, want.NonConventionalNameValue, + want.EnumValue.String(), + want.PathEnumValue.String(), + want.NestedPathEnumValue.String(), ) if err != nil { t.Errorf("cl.Create(%#v) failed with %v; want success", want, err) @@ -123,6 +129,9 @@ func testABEClientCreateBody(t *testing.T, cl *abe.ABitOfEverythingServiceApi) { Sint32Value: 2147483647, Sint64Value: "4611686018427387903", NonConventionalNameValue: "camelCase", + EnumValue: abe.ExamplepbNumericEnum{}, + PathEnumValue: abe.PathenumPathEnum{}, + NestedPathEnumValue: abe.MessagePathEnumNestedPathEnum{}, Nested: []abe.ABitOfEverythingNested{ { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/integration_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/integration_test.go index 0c2885c45..96b36d04b 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/integration_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/integration_test.go @@ -3,6 +3,7 @@ package integration_test import ( "bytes" "context" + "encoding/base64" "encoding/json" "fmt" "io" @@ -18,8 +19,10 @@ import ( "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" gw "github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb" - sub "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" + "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum" + "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "google.golang.org/genproto/protobuf/field_mask" "google.golang.org/grpc/codes" ) @@ -78,7 +81,7 @@ func testEcho(t *testing.T, port int, contentType string) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -111,7 +114,7 @@ func testEchoOneof(t *testing.T, port int, contentType string) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -144,7 +147,7 @@ func testEchoOneof1(t *testing.T, port int, contentType string) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -177,7 +180,7 @@ func testEchoOneof2(t *testing.T, port int, contentType string) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -217,7 +220,7 @@ func testEchoBody(t *testing.T, port int) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -265,6 +268,7 @@ func TestABE(t *testing.T) { testABEBulkEcho(t, 8080) testABEBulkEchoZeroLength(t, 8080) testAdditionalBindings(t, 8080) + testABERepeated(t, 8080) } func testABECreate(t *testing.T, port int) { @@ -284,8 +288,11 @@ func testABECreate(t *testing.T, port int) { Sint32Value: 2147483647, Sint64Value: 4611686018427387903, NonConventionalNameValue: "camelCase", + EnumValue: gw.NumericEnum_ZERO, + PathEnumValue: pathenum.PathEnum_DEF, + NestedPathEnumValue: pathenum.MessagePathEnum_JKL, } - url := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything/%f/%f/%d/separator/%d/%d/%d/%d/%v/%s/%d/%d/%d/%d/%d/%s", port, want.FloatValue, want.DoubleValue, want.Int64Value, want.Uint64Value, want.Int32Value, want.Fixed64Value, want.Fixed32Value, want.BoolValue, want.StringValue, want.Uint32Value, want.Sfixed32Value, want.Sfixed64Value, want.Sint32Value, want.Sint64Value, want.NonConventionalNameValue) + url := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything/%f/%f/%d/separator/%d/%d/%d/%d/%v/%s/%d/%d/%d/%d/%d/%s/%s/%s/%s", port, want.FloatValue, want.DoubleValue, want.Int64Value, want.Uint64Value, want.Int32Value, want.Fixed64Value, want.Fixed32Value, want.BoolValue, want.StringValue, want.Uint32Value, want.Sfixed32Value, want.Sfixed64Value, want.Sint32Value, want.Sint64Value, want.NonConventionalNameValue, want.EnumValue, want.PathEnumValue, want.NestedPathEnumValue) resp, err := http.Post(url, "application/json", strings.NewReader("{}")) if err != nil { @@ -295,7 +302,7 @@ func testABECreate(t *testing.T, port int) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -335,6 +342,9 @@ func testABECreateBody(t *testing.T, port int) { Sint32Value: 2147483647, Sint64Value: 4611686018427387903, NonConventionalNameValue: "camelCase", + EnumValue: gw.NumericEnum_ONE, + PathEnumValue: pathenum.PathEnum_ABC, + NestedPathEnumValue: pathenum.MessagePathEnum_GHI, Nested: []*gw.ABitOfEverything_Nested{ { @@ -378,7 +388,7 @@ func testABECreateBody(t *testing.T, port int) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -429,6 +439,9 @@ func testABEBulkCreate(t *testing.T, port int) { Sint32Value: 2147483647, Sint64Value: 4611686018427387903, NonConventionalNameValue: "camelCase", + EnumValue: gw.NumericEnum_ONE, + PathEnumValue: pathenum.PathEnum_ABC, + NestedPathEnumValue: pathenum.MessagePathEnum_GHI, Nested: []*gw.ABitOfEverything_Nested{ { @@ -461,7 +474,7 @@ func testABEBulkCreate(t *testing.T, port int) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -500,7 +513,7 @@ func testABELookup(t *testing.T, port int) { defer cresp.Body.Close() buf, err := ioutil.ReadAll(cresp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(cresp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(cresp.Body) failed with %v; want success", err) return } if got, want := cresp.StatusCode, http.StatusOK; got != want { @@ -543,6 +556,193 @@ func testABELookup(t *testing.T, port int) { } } +// TestABEPatch demonstrates partially updating a resource. +// First, we'll create an ABE resource with known values for string_value and int32_value +// Then, issue a PATCH request updating only the string_value +// Then, GET the resource and verify that string_value is changed, but int32_value isn't +func TestABEPatch(t *testing.T) { + port := 8080 + + // create a record with a known string_value and int32_value + uuid := postABE(t, port, gw.ABitOfEverything{StringValue: "strprefix/bar", Int32Value: 32}) + + // issue PATCH request, only updating string_value + req, err := http.NewRequest( + http.MethodPatch, + fmt.Sprintf("http://localhost:%d/v2/example/a_bit_of_everything/%s", port, uuid), + strings.NewReader(`{"string_value": "strprefix/foo"}`), + ) + if err != nil { + t.Fatalf("http.NewRequest(PATCH) failed with %v; want success", err) + } + patchResp, err := http.DefaultClient.Do(req) + if err != nil { + t.Fatalf("failed to issue PATCH request: %v", err) + } + if got, want := patchResp.StatusCode, http.StatusOK; got != want { + if body, err := ioutil.ReadAll(patchResp.Body); err != nil { + t.Errorf("patchResp body couldn't be read: %v", err) + } else { + t.Errorf("patchResp.StatusCode= %d; want %d resp: %v", got, want, string(body)) + } + } + + // issue GET request, verifying that string_value is changed and int32_value is not + getRespBody := getABE(t, port, uuid) + if got, want := getRespBody.StringValue, "strprefix/foo"; got != want { + t.Errorf("string_value= %q; want %q", got, want) + } + if got, want := getRespBody.Int32Value, int32(32); got != want { + t.Errorf("int_32_value= %d; want %d", got, want) + } +} + +// TestABEPatchBody demonstrates the ability to specify an update mask within the request body. +func TestABEPatchBody(t *testing.T) { + port := 8080 + + for _, tc := range []struct { + name string + originalValue gw.ABitOfEverything + input gw.UpdateV2Request + want gw.ABitOfEverything + }{ + { + name: "with fieldmask provided", + originalValue: gw.ABitOfEverything{ + StringValue: "rabbit", + SingleNested: &gw.ABitOfEverything_Nested{Name: "some value that will get overwritten", Amount: 345}, + }, + input: gw.UpdateV2Request{Abe: &gw.ABitOfEverything{ + StringValue: "some value that won't get updated because it's not in the field mask", + SingleNested: &gw.ABitOfEverything_Nested{Amount: 456}, + }, UpdateMask: &field_mask.FieldMask{Paths: []string{"single_nested"}}}, + want: gw.ABitOfEverything{StringValue: "rabbit", SingleNested: &gw.ABitOfEverything_Nested{Amount: 456}}, + }, + { + name: "with empty fieldmask", + originalValue: gw.ABitOfEverything{ + StringValue: "some value that will get overwritten", + SingleNested: &gw.ABitOfEverything_Nested{Name: "value that will get empty", Amount: 345}, + }, + input: gw.UpdateV2Request{Abe: &gw.ABitOfEverything{ + StringValue: "some updated value because the fieldMask is nil", + SingleNested: &gw.ABitOfEverything_Nested{Amount: 456}, + }, UpdateMask: &field_mask.FieldMask{}}, + want: gw.ABitOfEverything{ + StringValue: "some updated value because the fieldMask is nil", + SingleNested: &gw.ABitOfEverything_Nested{Amount: 456}, + }, + }, + { + name: "with nil fieldmask", + originalValue: gw.ABitOfEverything{ + StringValue: "some value that will get overwritten", + SingleNested: &gw.ABitOfEverything_Nested{Name: "value that will get empty", Amount: 123}, + }, + input: gw.UpdateV2Request{Abe: &gw.ABitOfEverything{ + StringValue: "some updated value because the fieldMask is nil", + SingleNested: &gw.ABitOfEverything_Nested{Amount: 657}, + }, UpdateMask: nil}, + want: gw.ABitOfEverything{ + StringValue: "some updated value because the fieldMask is nil", + SingleNested: &gw.ABitOfEverything_Nested{Amount: 657}, + }, + }, + } { + t.Run(tc.name, func(t *testing.T) { + originalABE := tc.originalValue + uuid := postABE(t, port, originalABE) + + patchBody := tc.input + patchReq, err := http.NewRequest( + http.MethodPatch, + fmt.Sprintf("http://localhost:%d/v2a/example/a_bit_of_everything/%s", port, uuid), + strings.NewReader(mustMarshal(t, patchBody)), + ) + if err != nil { + t.Fatalf("http.NewRequest(PATCH) failed with %v; want success", err) + } + patchResp, err := http.DefaultClient.Do(patchReq) + if err != nil { + t.Fatalf("failed to issue PATCH request: %v", err) + } + if got, want := patchResp.StatusCode, http.StatusOK; got != want { + if body, err := ioutil.ReadAll(patchResp.Body); err != nil { + t.Errorf("patchResp body couldn't be read: %v", err) + } else { + t.Errorf("patchResp.StatusCode= %d; want %d resp: %v", got, want, string(body)) + } + } + + want, got := tc.want, getABE(t, port, uuid) + got.Uuid = "" // empty out uuid so we don't need to worry about it in comparisons + if !reflect.DeepEqual(want, got) { + t.Errorf("want %v\ngot %v", want, got) + } + }) + } +} + +// mustMarshal marshals the given object into a json string, calling t.Fatal if an error occurs. Useful in testing to +// inline marshalling whenever you don't expect the marshalling to return an error +func mustMarshal(t *testing.T, i interface{}) string { + b, err := json.Marshal(i) + if err != nil { + t.Fatalf("failed to marshal %#v: %v", i, err) + } + + return string(b) +} + +// postABE conveniently creates a new ABE record for ease in testing +func postABE(t *testing.T, port int, abe gw.ABitOfEverything) (uuid string) { + url := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything", port) + postResp, err := http.Post(url, "application/json", strings.NewReader(mustMarshal(t, abe))) + if err != nil { + t.Fatalf("http.Post(%q) failed with %v; want success", url, err) + return + } + body, err := ioutil.ReadAll(postResp.Body) + if err != nil { + t.Fatalf("postResp body couldn't be read: %v", err) + } + var f struct { + UUID string `json:"uuid"` + } + if err := json.Unmarshal(body, &f); err != nil { + t.Fatalf("postResp body couldn't be unmarshalled: %v. body: %s", err, string(body)) + } + if f.UUID == "" { + t.Fatalf("want uuid from postResp, but got none. body: %s", string(body)) + } + return f.UUID +} + +// getABE conveniently fetches an ABE record for ease in testing +func getABE(t *testing.T, port int, uuid string) gw.ABitOfEverything { + gURL := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything/%s", port, uuid) + getResp, err := http.Get(gURL) + if err != nil { + t.Fatalf("http.Get(%s) failed with %v; want success", gURL, err) + } + defer getResp.Body.Close() + + if got, want := getResp.StatusCode, http.StatusOK; got != want { + t.Fatalf("getResp.StatusCode= %d, want %d. resp: %v", got, want, getResp) + } + var getRespBody gw.ABitOfEverything + body, err := ioutil.ReadAll(getResp.Body) + if err != nil { + t.Fatalf("getResp body couldn't be read: %v", err) + } + if err := json.Unmarshal(body, &getRespBody); err != nil { + t.Fatalf("getResp body couldn't be unmarshalled: %v body: %s", err, string(body)) + } + + return getRespBody +} + func testABELookupNotFound(t *testing.T, port int) { url := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything", port) uuid := "not_exist" @@ -806,7 +1006,7 @@ func testAdditionalBindings(t *testing.T, port int) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success; i=%d", err, i) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success; i=%d", err, i) return } if got, want := resp.StatusCode, http.StatusOK; got != want { @@ -825,6 +1025,125 @@ func testAdditionalBindings(t *testing.T, port int) { } } +func testABERepeated(t *testing.T, port int) { + f := func(v reflect.Value) string { + var f func(v reflect.Value, idx int) string + s := make([]string, v.Len()) + switch v.Index(0).Kind() { + case reflect.Slice: + f = func(v reflect.Value, idx int) string { + t := v.Index(idx).Type().Elem().Kind() + if t == reflect.Uint8 { + return base64.URLEncoding.EncodeToString(v.Index(idx).Interface().([]byte)) + } + // Could handle more elegantly + panic("unknown slice of type: " + t.String()) + } + default: + f = func(v reflect.Value, idx int) string { + return fmt.Sprintf("%v", v.Index(idx).Interface()) + } + } + for i := 0; i < v.Len(); i++ { + s[i] = f(v, i) + } + return strings.Join(s, ",") + } + want := gw.ABitOfEverythingRepeated{ + PathRepeatedFloatValue: []float32{ + 1.5, + -1.5, + }, + PathRepeatedDoubleValue: []float64{ + 2.5, + -2.5, + }, + PathRepeatedInt64Value: []int64{ + 4294967296, + -4294967296, + }, + PathRepeatedUint64Value: []uint64{ + 0, + 9223372036854775807, + }, + PathRepeatedInt32Value: []int32{ + 2147483647, + -2147483648, + }, + PathRepeatedFixed64Value: []uint64{ + 0, + 9223372036854775807, + }, + PathRepeatedFixed32Value: []uint32{ + 0, + 4294967295, + }, + PathRepeatedBoolValue: []bool{ + true, + false, + }, + PathRepeatedStringValue: []string{ + "foo", + "bar", + }, + PathRepeatedBytesValue: [][]byte{ + []byte{0x00}, + []byte{0xFF}, + }, + PathRepeatedUint32Value: []uint32{ + 0, + 4294967295, + }, + PathRepeatedEnumValue: []gw.NumericEnum{ + gw.NumericEnum_ZERO, + gw.NumericEnum_ONE, + }, + PathRepeatedSfixed32Value: []int32{ + 2147483647, + -2147483648, + }, + PathRepeatedSfixed64Value: []int64{ + 4294967296, + -4294967296, + }, + PathRepeatedSint32Value: []int32{ + 2147483647, + -2147483648, + }, + PathRepeatedSint64Value: []int64{ + 4611686018427387903, + -4611686018427387904, + }, + } + url := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything_repeated/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s/%s", port, f(reflect.ValueOf(want.PathRepeatedFloatValue)), f(reflect.ValueOf(want.PathRepeatedDoubleValue)), f(reflect.ValueOf(want.PathRepeatedInt64Value)), f(reflect.ValueOf(want.PathRepeatedUint64Value)), f(reflect.ValueOf(want.PathRepeatedInt32Value)), f(reflect.ValueOf(want.PathRepeatedFixed64Value)), f(reflect.ValueOf(want.PathRepeatedFixed32Value)), f(reflect.ValueOf(want.PathRepeatedBoolValue)), f(reflect.ValueOf(want.PathRepeatedStringValue)), f(reflect.ValueOf(want.PathRepeatedBytesValue)), f(reflect.ValueOf(want.PathRepeatedUint32Value)), f(reflect.ValueOf(want.PathRepeatedEnumValue)), f(reflect.ValueOf(want.PathRepeatedSfixed32Value)), f(reflect.ValueOf(want.PathRepeatedSfixed64Value)), f(reflect.ValueOf(want.PathRepeatedSint32Value)), f(reflect.ValueOf(want.PathRepeatedSint64Value))) + + resp, err := http.Get(url) + if err != nil { + t.Errorf("http.Post(%q) failed with %v; want success", url, err) + return + } + defer resp.Body.Close() + buf, err := ioutil.ReadAll(resp.Body) + if err != nil { + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) + return + } + + if got, want := resp.StatusCode, http.StatusOK; got != want { + t.Errorf("resp.StatusCode = %d; want %d", got, want) + t.Logf("%s", buf) + } + + var msg gw.ABitOfEverythingRepeated + if err := jsonpb.UnmarshalString(string(buf), &msg); err != nil { + t.Errorf("jsonpb.UnmarshalString(%s, &msg) failed with %v; want success", buf, err) + return + } + if got := msg; !reflect.DeepEqual(got, want) { + t.Errorf("msg= %v; want %v", &got, &want) + } +} + func TestTimeout(t *testing.T) { url := "http://localhost:8080/v2/example/timeout" req, err := http.NewRequest("GET", url, nil) @@ -856,7 +1175,7 @@ func TestErrorWithDetails(t *testing.T) { buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Fatalf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Fatalf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) } if got, want := resp.StatusCode, http.StatusInternalServerError; got != want { @@ -931,7 +1250,7 @@ func TestUnknownPath(t *testing.T) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -951,7 +1270,7 @@ func TestMethodNotAllowed(t *testing.T) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -971,7 +1290,7 @@ func TestInvalidArgument(t *testing.T) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -980,3 +1299,36 @@ func TestInvalidArgument(t *testing.T) { t.Logf("%s", buf) } } + +func TestResponseBody(t *testing.T) { + if testing.Short() { + t.Skip() + return + } + + testResponseBody(t, 8080) +} + +func testResponseBody(t *testing.T, port int) { + url := fmt.Sprintf("http://localhost:%d/responsebody/foo", port) + resp, err := http.Get(url) + if err != nil { + t.Errorf("http.Get(%q) failed with %v; want success", url, err) + return + } + defer resp.Body.Close() + buf, err := ioutil.ReadAll(resp.Body) + if err != nil { + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) + return + } + + if got, want := resp.StatusCode, http.StatusOK; got != want { + t.Errorf("resp.StatusCode = %d; want %d", got, want) + t.Logf("%s", buf) + } + + if got, want := string(buf), `{"data":"foo"}`; got != want { + t.Errorf("response = %q; want %q", got, want) + } +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/proto_error_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/proto_error_test.go index 84a631f9b..5aa263b3d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/proto_error_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/integration/proto_error_test.go @@ -133,7 +133,7 @@ func TestUnknownPathWithProtoError(t *testing.T) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } @@ -180,7 +180,7 @@ func TestMethodNotAllowedWithProtoError(t *testing.T) { defer resp.Body.Close() buf, err := ioutil.ReadAll(resp.Body) if err != nil { - t.Errorf("iotuil.ReadAll(resp.Body) failed with %v; want success", err) + t.Errorf("ioutil.ReadAll(resp.Body) failed with %v; want success", err) return } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/BUILD.bazel new file mode 100644 index 000000000..0b6c67f80 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/BUILD.bazel @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( + name = "helloworld_proto", + srcs = ["helloworld.proto"], + visibility = ["//visibility:public"], + deps = [ + "@com_google_protobuf//:wrappers_proto", + "@go_googleapis//google/api:annotations_proto", + ], +) + +go_proto_library( + name = "helloworld_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld", + proto = ":helloworld_proto", + visibility = ["//visibility:public"], + deps = ["@go_googleapis//google/api:annotations_go_proto"], +) + +go_library( + name = "go_default_library", + srcs = ["helloworld.pb.gw.go"], + embed = [":helloworld_go_proto"], + importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld", + visibility = ["//visibility:public"], + deps = [ + "//runtime:go_default_library", + "//utilities:go_default_library", + "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//grpclog:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_x_net//context:go_default_library", + ], +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.go new file mode 100644 index 000000000..9225dfd1f --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.go @@ -0,0 +1,288 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: helloworld.proto + +package helloworld + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +type HelloRequest struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + StrVal *wrappers.StringValue `protobuf:"bytes,2,opt,name=strVal,proto3" json:"strVal,omitempty"` + FloatVal *wrappers.FloatValue `protobuf:"bytes,3,opt,name=floatVal,proto3" json:"floatVal,omitempty"` + DoubleVal *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=doubleVal,proto3" json:"doubleVal,omitempty"` + BoolVal *wrappers.BoolValue `protobuf:"bytes,5,opt,name=boolVal,proto3" json:"boolVal,omitempty"` + BytesVal *wrappers.BytesValue `protobuf:"bytes,6,opt,name=bytesVal,proto3" json:"bytesVal,omitempty"` + Int32Val *wrappers.Int32Value `protobuf:"bytes,7,opt,name=int32Val,proto3" json:"int32Val,omitempty"` + Uint32Val *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=uint32Val,proto3" json:"uint32Val,omitempty"` + Int64Val *wrappers.Int64Value `protobuf:"bytes,9,opt,name=int64Val,proto3" json:"int64Val,omitempty"` + Uint64Val *wrappers.UInt64Value `protobuf:"bytes,10,opt,name=uint64Val,proto3" json:"uint64Val,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HelloRequest) Reset() { *m = HelloRequest{} } +func (m *HelloRequest) String() string { return proto.CompactTextString(m) } +func (*HelloRequest) ProtoMessage() {} +func (*HelloRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_17b8c58d586b62f2, []int{0} +} + +func (m *HelloRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HelloRequest.Unmarshal(m, b) +} +func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HelloRequest.Marshal(b, m, deterministic) +} +func (m *HelloRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HelloRequest.Merge(m, src) +} +func (m *HelloRequest) XXX_Size() int { + return xxx_messageInfo_HelloRequest.Size(m) +} +func (m *HelloRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HelloRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HelloRequest proto.InternalMessageInfo + +func (m *HelloRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *HelloRequest) GetStrVal() *wrappers.StringValue { + if m != nil { + return m.StrVal + } + return nil +} + +func (m *HelloRequest) GetFloatVal() *wrappers.FloatValue { + if m != nil { + return m.FloatVal + } + return nil +} + +func (m *HelloRequest) GetDoubleVal() *wrappers.DoubleValue { + if m != nil { + return m.DoubleVal + } + return nil +} + +func (m *HelloRequest) GetBoolVal() *wrappers.BoolValue { + if m != nil { + return m.BoolVal + } + return nil +} + +func (m *HelloRequest) GetBytesVal() *wrappers.BytesValue { + if m != nil { + return m.BytesVal + } + return nil +} + +func (m *HelloRequest) GetInt32Val() *wrappers.Int32Value { + if m != nil { + return m.Int32Val + } + return nil +} + +func (m *HelloRequest) GetUint32Val() *wrappers.UInt32Value { + if m != nil { + return m.Uint32Val + } + return nil +} + +func (m *HelloRequest) GetInt64Val() *wrappers.Int64Value { + if m != nil { + return m.Int64Val + } + return nil +} + +func (m *HelloRequest) GetUint64Val() *wrappers.UInt64Value { + if m != nil { + return m.Uint64Val + } + return nil +} + +type HelloReply struct { + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HelloReply) Reset() { *m = HelloReply{} } +func (m *HelloReply) String() string { return proto.CompactTextString(m) } +func (*HelloReply) ProtoMessage() {} +func (*HelloReply) Descriptor() ([]byte, []int) { + return fileDescriptor_17b8c58d586b62f2, []int{1} +} + +func (m *HelloReply) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HelloReply.Unmarshal(m, b) +} +func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HelloReply.Marshal(b, m, deterministic) +} +func (m *HelloReply) XXX_Merge(src proto.Message) { + xxx_messageInfo_HelloReply.Merge(m, src) +} +func (m *HelloReply) XXX_Size() int { + return xxx_messageInfo_HelloReply.Size(m) +} +func (m *HelloReply) XXX_DiscardUnknown() { + xxx_messageInfo_HelloReply.DiscardUnknown(m) +} + +var xxx_messageInfo_HelloReply proto.InternalMessageInfo + +func (m *HelloReply) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + +func init() { + proto.RegisterType((*HelloRequest)(nil), "helloworld.HelloRequest") + proto.RegisterType((*HelloReply)(nil), "helloworld.HelloReply") +} + +func init() { proto.RegisterFile("helloworld.proto", fileDescriptor_17b8c58d586b62f2) } + +var fileDescriptor_17b8c58d586b62f2 = []byte{ + // 468 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 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x13, 0x3c, 0x2a, 0x2d, 0x3f, 0x31, 0x9e, 0xdd, 0x75, + 0x75, 0x6b, 0xf7, 0x09, 0x8d, 0xf1, 0x3d, 0xf6, 0x08, 0x15, 0xdf, 0xa8, 0x76, 0xbf, 0xa6, 0x09, + 0x6a, 0x5d, 0x51, 0x50, 0xec, 0x3b, 0xd3, 0xee, 0x63, 0xba, 0x42, 0xd5, 0xd6, 0x01, 0x35, 0xd7, + 0x8b, 0x30, 0x13, 0x17, 0xde, 0x49, 0x6e, 0xf5, 0x41, 0xc3, 0xbd, 0xa0, 0xe6, 0x37, 0x14, 0xf2, + 0x4c, 0x10, 0x4d, 0x50, 0x07, 0xe4, 0xd9, 0xce, 0x93, 0xf8, 0x9b, 0xff, 0x26, 0x9d, 0xd8, 0x2f, + 0xa1, 0x2d, 0x66, 0xb8, 0xa6, 0xd3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x65, 0xa5, 0x95, 0xa8, + 0x13, 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GreeterClient is the client API for Greeter service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GreeterClient interface { + SayHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error) +} + +type greeterClient struct { + cc *grpc.ClientConn +} + +func NewGreeterClient(cc *grpc.ClientConn) GreeterClient { + return &greeterClient{cc} +} + +func (c *greeterClient) SayHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error) { + out := new(HelloReply) + err := c.cc.Invoke(ctx, "/helloworld.Greeter/SayHello", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GreeterServer is the server API for Greeter service. +type GreeterServer interface { + SayHello(context.Context, *HelloRequest) (*HelloReply, error) +} + +func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) { + s.RegisterService(&_Greeter_serviceDesc, srv) +} + +func _Greeter_SayHello_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(HelloRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GreeterServer).SayHello(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/helloworld.Greeter/SayHello", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GreeterServer).SayHello(ctx, req.(*HelloRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _Greeter_serviceDesc = grpc.ServiceDesc{ + ServiceName: "helloworld.Greeter", + HandlerType: (*GreeterServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SayHello", + Handler: _Greeter_SayHello_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "helloworld.proto", +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.gw.go new file mode 100644 index 000000000..c09fe741e --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.gw.go @@ -0,0 +1,664 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: helloworld.proto + +/* +Package helloworld is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package helloworld + +import ( + "io" + "net/http" + + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "golang.org/x/net/context" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/status" +) + +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray + +var ( + filter_Greeter_SayHello_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_0(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_1 = &utilities.DoubleArray{Encoding: map[string]int{"strVal": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_1(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["strVal"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "strVal") + } + + protoReq.StrVal, err = runtime.StringValue(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "strVal", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_2 = &utilities.DoubleArray{Encoding: map[string]int{"floatVal": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_2(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["floatVal"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "floatVal") + } + + protoReq.FloatVal, err = runtime.FloatValue(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "floatVal", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_3 = &utilities.DoubleArray{Encoding: map[string]int{"doubleVal": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_3(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["doubleVal"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "doubleVal") + } + + protoReq.DoubleVal, err = runtime.DoubleValue(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "doubleVal", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_4 = &utilities.DoubleArray{Encoding: map[string]int{"boolVal": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_4(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["boolVal"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "boolVal") + } + + protoReq.BoolVal, err = runtime.BoolValue(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "boolVal", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_4); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_5 = &utilities.DoubleArray{Encoding: map[string]int{"bytesVal": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_5(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["bytesVal"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "bytesVal") + } + + protoReq.BytesVal, err = runtime.BytesValue(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "bytesVal", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_5); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_6 = &utilities.DoubleArray{Encoding: map[string]int{"int32Val": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_6(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["int32Val"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "int32Val") + } + + protoReq.Int32Val, err = runtime.Int32Value(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "int32Val", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_6); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_7 = &utilities.DoubleArray{Encoding: map[string]int{"uint32Val": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_7(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["uint32Val"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uint32Val") + } + + protoReq.Uint32Val, err = runtime.UInt32Value(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uint32Val", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_7); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_8 = &utilities.DoubleArray{Encoding: map[string]int{"int64Val": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_8(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["int64Val"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "int64Val") + } + + protoReq.Int64Val, err = runtime.Int64Value(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "int64Val", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_8); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_Greeter_SayHello_9 = &utilities.DoubleArray{Encoding: map[string]int{"uint64Val": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Greeter_SayHello_9(ctx context.Context, marshaler runtime.Marshaler, client GreeterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq HelloRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["uint64Val"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uint64Val") + } + + protoReq.Uint64Val, err = runtime.UInt64Value(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uint64Val", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Greeter_SayHello_9); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SayHello(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +// RegisterGreeterHandlerFromEndpoint is same as RegisterGreeterHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterGreeterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterGreeterHandler(ctx, mux, conn) +} + +// RegisterGreeterHandler registers the http handlers for service Greeter to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterGreeterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterGreeterHandlerClient(ctx, mux, NewGreeterClient(conn)) +} + +// RegisterGreeterHandlerClient registers the http handlers for service Greeter +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GreeterClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GreeterClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "GreeterClient" to call the correct interceptors. +func RegisterGreeterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GreeterClient) error { + + mux.Handle("GET", pattern_Greeter_SayHello_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_2(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_3(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_4, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_4(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_4(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_5, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_5(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_5(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_6, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_6(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_6(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_7, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_7(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_7(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_8, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_8(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_8(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Greeter_SayHello_9, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Greeter_SayHello_9(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Greeter_SayHello_9(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_Greeter_SayHello_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1}, []string{"say", "name"}, "")) + + pattern_Greeter_SayHello_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "strval", "strVal"}, "")) + + pattern_Greeter_SayHello_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "floatval", "floatVal"}, "")) + + pattern_Greeter_SayHello_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "doubleval", "doubleVal"}, "")) + + pattern_Greeter_SayHello_4 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "boolval", "boolVal"}, "")) + + pattern_Greeter_SayHello_5 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "bytesval", "bytesVal"}, "")) + + pattern_Greeter_SayHello_6 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "int32val", "int32Val"}, "")) + + pattern_Greeter_SayHello_7 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "uint32val", "uint32Val"}, "")) + + pattern_Greeter_SayHello_8 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "int64val", "int64Val"}, "")) + + pattern_Greeter_SayHello_9 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"say", "uint64val", "uint64Val"}, "")) +) + +var ( + forward_Greeter_SayHello_0 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_1 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_2 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_3 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_4 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_5 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_6 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_7 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_8 = runtime.ForwardResponseMessage + + forward_Greeter_SayHello_9 = runtime.ForwardResponseMessage +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.proto new file mode 100644 index 000000000..a685c65b8 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.proto @@ -0,0 +1,58 @@ +syntax = "proto3"; + +package helloworld; + +import "google/api/annotations.proto"; +import "google/protobuf/wrappers.proto"; + +service Greeter { + rpc SayHello (HelloRequest) returns (HelloReply) { + option (google.api.http) = { + get: "/say/{name}" + additional_bindings: { + get: "/say/strval/{strVal}", + } + additional_bindings: { + get: "/say/floatval/{floatVal}", + } + additional_bindings: { + get: "/say/doubleval/{doubleVal}", + } + additional_bindings: { + get: "/say/boolval/{boolVal}", + } + additional_bindings: { + get: "/say/bytesval/{bytesVal}", + } + additional_bindings: { + get: "/say/int32val/{int32Val}", + } + additional_bindings: { + get: "/say/uint32val/{uint32Val}", + } + additional_bindings: { + get: "/say/int64val/{int64Val}", + } + additional_bindings: { + get: "/say/uint64val/{uint64Val}", + } + }; + } +} + +message HelloRequest { + string name = 1; + google.protobuf.StringValue strVal = 2; + google.protobuf.FloatValue floatVal = 3; + google.protobuf.DoubleValue doubleVal = 4; + google.protobuf.BoolValue boolVal = 5; + google.protobuf.BytesValue bytesVal = 6; + google.protobuf.Int32Value int32Val = 7; + google.protobuf.UInt32Value uint32Val = 8; + google.protobuf.Int64Value int64Val = 9; + google.protobuf.UInt64Value uint64Val = 10; +} + +message HelloReply { + string message = 1; +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/BUILD.bazel index 066ccd467..f819a9472 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/BUILD.bazel @@ -9,6 +9,7 @@ package(default_visibility = ["//visibility:public"]) # gazelle:exclude flow_combination.pb.gw.go # gazelle:exclude stream.pb.gw.go # gazelle:exclude wrappers.pb.gw.go +# gazelle:exclude response_body_service.pb.gw.go proto_library( name = "examplepb_proto", @@ -16,19 +17,22 @@ proto_library( "a_bit_of_everything.proto", "echo_service.proto", "flow_combination.proto", + "response_body_service.proto", "stream.proto", "unannotated_echo_service.proto", "wrappers.proto", ], deps = [ + "//examples/proto/pathenum:pathenum_proto", "//examples/proto/sub:sub_proto", "//examples/proto/sub2:sub2_proto", "//protoc-gen-swagger/options:options_proto", - "@com_github_googleapis_googleapis//google/api:api_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", "@com_google_protobuf//:wrappers_proto", + "@go_googleapis//google/api:annotations_proto", ], ) @@ -41,21 +45,29 @@ go_proto_library( importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb", proto = ":examplepb_proto", deps = [ + "//examples/proto/pathenum:go_default_library", "//examples/proto/sub:go_default_library", "//examples/proto/sub2:go_default_library", "//protoc-gen-swagger/options:go_default_library", - "@com_github_golang_protobuf//ptypes/duration:go_default_library", - "@com_github_golang_protobuf//ptypes/empty:go_default_library", - "@com_github_golang_protobuf//ptypes/timestamp:go_default_library", - "@com_github_golang_protobuf//ptypes/wrappers:go_default_library", - "@com_github_googleapis_googleapis//google/api:go_default_library", + "@go_googleapis//google/api:annotations_go_proto", ], ) go_library( name = "go_default_library", + srcs = ["unannotated_echo_service.pb.gw.go"], embed = [":examplepb_go_proto"], importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb", + deps = [ + "//runtime:go_default_library", + "//utilities:go_default_library", + "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//grpclog:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_x_net//context:go_default_library", + ], ) protoc_gen_swagger( diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.go index 520dae9c3..4f29c98d9 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.go @@ -9,10 +9,12 @@ import math "math" import duration "github.com/golang/protobuf/ptypes/duration" import empty "github.com/golang/protobuf/ptypes/empty" import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import pathenum "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum" import sub "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" import sub2 "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2" import _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" import ( context "golang.org/x/net/context" @@ -53,7 +55,7 @@ func (x NumericEnum) String() string { return proto.EnumName(NumericEnum_name, int32(x)) } func (NumericEnum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_f27080d9602a5f10, []int{0} + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{0} } // DeepEnum is one or zero. @@ -79,43 +81,45 @@ func (x ABitOfEverything_Nested_DeepEnum) String() string { return proto.EnumName(ABitOfEverything_Nested_DeepEnum_name, int32(x)) } func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_f27080d9602a5f10, []int{0, 0, 0} + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{0, 0, 0} } -// Intentionaly complicated message type to cover much features of Protobuf. +// Intentionaly complicated message type to cover many features of Protobuf. // NEXT ID: 30 type ABitOfEverything struct { - SingleNested *ABitOfEverything_Nested `protobuf:"bytes,25,opt,name=single_nested,json=singleNested" json:"single_nested,omitempty"` - Uuid string `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"` - Nested []*ABitOfEverything_Nested `protobuf:"bytes,2,rep,name=nested" json:"nested,omitempty"` - FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue" json:"float_value,omitempty"` - DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` - Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"` - Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value" json:"uint64_value,omitempty"` - Int32Value int32 `protobuf:"varint,7,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"` - Fixed64Value uint64 `protobuf:"fixed64,8,opt,name=fixed64_value,json=fixed64Value" json:"fixed64_value,omitempty"` - Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value" json:"fixed32_value,omitempty"` - BoolValue bool `protobuf:"varint,10,opt,name=bool_value,json=boolValue" json:"bool_value,omitempty"` - StringValue string `protobuf:"bytes,11,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` - BytesValue []byte `protobuf:"bytes,29,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` - Uint32Value uint32 `protobuf:"varint,13,opt,name=uint32_value,json=uint32Value" json:"uint32_value,omitempty"` - EnumValue NumericEnum `protobuf:"varint,14,opt,name=enum_value,json=enumValue,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"enum_value,omitempty"` - Sfixed32Value int32 `protobuf:"fixed32,15,opt,name=sfixed32_value,json=sfixed32Value" json:"sfixed32_value,omitempty"` - Sfixed64Value int64 `protobuf:"fixed64,16,opt,name=sfixed64_value,json=sfixed64Value" json:"sfixed64_value,omitempty"` - Sint32Value int32 `protobuf:"zigzag32,17,opt,name=sint32_value,json=sint32Value" json:"sint32_value,omitempty"` - Sint64Value int64 `protobuf:"zigzag64,18,opt,name=sint64_value,json=sint64Value" json:"sint64_value,omitempty"` - RepeatedStringValue []string `protobuf:"bytes,19,rep,name=repeated_string_value,json=repeatedStringValue" json:"repeated_string_value,omitempty"` + SingleNested *ABitOfEverything_Nested `protobuf:"bytes,25,opt,name=single_nested,json=singleNested,proto3" json:"single_nested,omitempty"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + Nested []*ABitOfEverything_Nested `protobuf:"bytes,2,rep,name=nested,proto3" json:"nested,omitempty"` + FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` + DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` + Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` + Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` + Int32Value int32 `protobuf:"varint,7,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` + Fixed64Value uint64 `protobuf:"fixed64,8,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"` + Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"` + BoolValue bool `protobuf:"varint,10,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` + StringValue string `protobuf:"bytes,11,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` + BytesValue []byte `protobuf:"bytes,29,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` + Uint32Value uint32 `protobuf:"varint,13,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` + EnumValue NumericEnum `protobuf:"varint,14,opt,name=enum_value,json=enumValue,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"enum_value,omitempty"` + PathEnumValue pathenum.PathEnum `protobuf:"varint,30,opt,name=path_enum_value,json=pathEnumValue,proto3,enum=grpc.gateway.examples.pathenum.PathEnum" json:"path_enum_value,omitempty"` + NestedPathEnumValue pathenum.MessagePathEnum_NestedPathEnum `protobuf:"varint,31,opt,name=nested_path_enum_value,json=nestedPathEnumValue,proto3,enum=grpc.gateway.examples.pathenum.MessagePathEnum_NestedPathEnum" json:"nested_path_enum_value,omitempty"` + Sfixed32Value int32 `protobuf:"fixed32,15,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"` + Sfixed64Value int64 `protobuf:"fixed64,16,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"` + Sint32Value int32 `protobuf:"zigzag32,17,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"` + Sint64Value int64 `protobuf:"zigzag64,18,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"` + RepeatedStringValue []string `protobuf:"bytes,19,rep,name=repeated_string_value,json=repeatedStringValue,proto3" json:"repeated_string_value,omitempty"` // Types that are valid to be assigned to OneofValue: // *ABitOfEverything_OneofEmpty // *ABitOfEverything_OneofString OneofValue isABitOfEverything_OneofValue `protobuf_oneof:"oneof_value"` - MapValue map[string]NumericEnum `protobuf:"bytes,22,rep,name=map_value,json=mapValue" json:"map_value,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=grpc.gateway.examples.examplepb.NumericEnum"` - MappedStringValue map[string]string `protobuf:"bytes,23,rep,name=mapped_string_value,json=mappedStringValue" json:"mapped_string_value,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - MappedNestedValue map[string]*ABitOfEverything_Nested `protobuf:"bytes,24,rep,name=mapped_nested_value,json=mappedNestedValue" json:"mapped_nested_value,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - NonConventionalNameValue string `protobuf:"bytes,26,opt,name=nonConventionalNameValue" json:"nonConventionalNameValue,omitempty"` - TimestampValue *timestamp.Timestamp `protobuf:"bytes,27,opt,name=timestamp_value,json=timestampValue" json:"timestamp_value,omitempty"` + MapValue map[string]NumericEnum `protobuf:"bytes,22,rep,name=map_value,json=mapValue,proto3" json:"map_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum"` + MappedStringValue map[string]string `protobuf:"bytes,23,rep,name=mapped_string_value,json=mappedStringValue,proto3" json:"mapped_string_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MappedNestedValue map[string]*ABitOfEverything_Nested `protobuf:"bytes,24,rep,name=mapped_nested_value,json=mappedNestedValue,proto3" json:"mapped_nested_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NonConventionalNameValue string `protobuf:"bytes,26,opt,name=nonConventionalNameValue,proto3" json:"nonConventionalNameValue,omitempty"` + TimestampValue *timestamp.Timestamp `protobuf:"bytes,27,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"` // repeated enum value. it is comma-separated in query - RepeatedEnumValue []NumericEnum `protobuf:"varint,28,rep,packed,name=repeated_enum_value,json=repeatedEnumValue,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"repeated_enum_value,omitempty"` + RepeatedEnumValue []NumericEnum `protobuf:"varint,28,rep,packed,name=repeated_enum_value,json=repeatedEnumValue,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"repeated_enum_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -125,7 +129,7 @@ func (m *ABitOfEverything) Reset() { *m = ABitOfEverything{} } func (m *ABitOfEverything) String() string { return proto.CompactTextString(m) } func (*ABitOfEverything) ProtoMessage() {} func (*ABitOfEverything) Descriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_f27080d9602a5f10, []int{0} + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{0} } func (m *ABitOfEverything) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ABitOfEverything.Unmarshal(m, b) @@ -145,27 +149,6 @@ func (m *ABitOfEverything) XXX_DiscardUnknown() { var xxx_messageInfo_ABitOfEverything proto.InternalMessageInfo -type isABitOfEverything_OneofValue interface { - isABitOfEverything_OneofValue() -} - -type ABitOfEverything_OneofEmpty struct { - OneofEmpty *empty.Empty `protobuf:"bytes,20,opt,name=oneof_empty,json=oneofEmpty,oneof"` -} -type ABitOfEverything_OneofString struct { - OneofString string `protobuf:"bytes,21,opt,name=oneof_string,json=oneofString,oneof"` -} - -func (*ABitOfEverything_OneofEmpty) isABitOfEverything_OneofValue() {} -func (*ABitOfEverything_OneofString) isABitOfEverything_OneofValue() {} - -func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue { - if m != nil { - return m.OneofValue - } - return nil -} - func (m *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested { if m != nil { return m.SingleNested @@ -271,6 +254,20 @@ func (m *ABitOfEverything) GetEnumValue() NumericEnum { return NumericEnum_ZERO } +func (m *ABitOfEverything) GetPathEnumValue() pathenum.PathEnum { + if m != nil { + return m.PathEnumValue + } + return pathenum.PathEnum_ABC +} + +func (m *ABitOfEverything) GetNestedPathEnumValue() pathenum.MessagePathEnum_NestedPathEnum { + if m != nil { + return m.NestedPathEnumValue + } + return pathenum.MessagePathEnum_GHI +} + func (m *ABitOfEverything) GetSfixed32Value() int32 { if m != nil { return m.Sfixed32Value @@ -306,6 +303,29 @@ func (m *ABitOfEverything) GetRepeatedStringValue() []string { return nil } +type isABitOfEverything_OneofValue interface { + isABitOfEverything_OneofValue() +} + +type ABitOfEverything_OneofEmpty struct { + OneofEmpty *empty.Empty `protobuf:"bytes,20,opt,name=oneof_empty,json=oneofEmpty,proto3,oneof"` +} + +type ABitOfEverything_OneofString struct { + OneofString string `protobuf:"bytes,21,opt,name=oneof_string,json=oneofString,proto3,oneof"` +} + +func (*ABitOfEverything_OneofEmpty) isABitOfEverything_OneofValue() {} + +func (*ABitOfEverything_OneofString) isABitOfEverything_OneofValue() {} + +func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue { + if m != nil { + return m.OneofValue + } + return nil +} + func (m *ABitOfEverything) GetOneofEmpty() *empty.Empty { if x, ok := m.GetOneofValue().(*ABitOfEverything_OneofEmpty); ok { return x.OneofEmpty @@ -435,9 +455,9 @@ func _ABitOfEverything_OneofSizer(msg proto.Message) (n int) { // Nested is nested type. type ABitOfEverything_Nested struct { // name is nested field. - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Amount uint32 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"` - Ok ABitOfEverything_Nested_DeepEnum `protobuf:"varint,3,opt,name=ok,enum=grpc.gateway.examples.examplepb.ABitOfEverything_Nested_DeepEnum" json:"ok,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` + Ok ABitOfEverything_Nested_DeepEnum `protobuf:"varint,3,opt,name=ok,proto3,enum=grpc.gateway.examples.examplepb.ABitOfEverything_Nested_DeepEnum" json:"ok,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -447,7 +467,7 @@ func (m *ABitOfEverything_Nested) Reset() { *m = ABitOfEverything_Nested func (m *ABitOfEverything_Nested) String() string { return proto.CompactTextString(m) } func (*ABitOfEverything_Nested) ProtoMessage() {} func (*ABitOfEverything_Nested) Descriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_f27080d9602a5f10, []int{0, 0} + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{0, 0} } func (m *ABitOfEverything_Nested) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ABitOfEverything_Nested.Unmarshal(m, b) @@ -488,8 +508,168 @@ func (m *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum { return ABitOfEverything_Nested_FALSE } +// ABitOfEverythingRepeated is used to validate repeated path parameter functionality +type ABitOfEverythingRepeated struct { + // repeated values. they are comma-separated in path + PathRepeatedFloatValue []float32 `protobuf:"fixed32,1,rep,packed,name=path_repeated_float_value,json=pathRepeatedFloatValue,proto3" json:"path_repeated_float_value,omitempty"` + PathRepeatedDoubleValue []float64 `protobuf:"fixed64,2,rep,packed,name=path_repeated_double_value,json=pathRepeatedDoubleValue,proto3" json:"path_repeated_double_value,omitempty"` + PathRepeatedInt64Value []int64 `protobuf:"varint,3,rep,packed,name=path_repeated_int64_value,json=pathRepeatedInt64Value,proto3" json:"path_repeated_int64_value,omitempty"` + PathRepeatedUint64Value []uint64 `protobuf:"varint,4,rep,packed,name=path_repeated_uint64_value,json=pathRepeatedUint64Value,proto3" json:"path_repeated_uint64_value,omitempty"` + PathRepeatedInt32Value []int32 `protobuf:"varint,5,rep,packed,name=path_repeated_int32_value,json=pathRepeatedInt32Value,proto3" json:"path_repeated_int32_value,omitempty"` + PathRepeatedFixed64Value []uint64 `protobuf:"fixed64,6,rep,packed,name=path_repeated_fixed64_value,json=pathRepeatedFixed64Value,proto3" json:"path_repeated_fixed64_value,omitempty"` + PathRepeatedFixed32Value []uint32 `protobuf:"fixed32,7,rep,packed,name=path_repeated_fixed32_value,json=pathRepeatedFixed32Value,proto3" json:"path_repeated_fixed32_value,omitempty"` + PathRepeatedBoolValue []bool `protobuf:"varint,8,rep,packed,name=path_repeated_bool_value,json=pathRepeatedBoolValue,proto3" json:"path_repeated_bool_value,omitempty"` + PathRepeatedStringValue []string `protobuf:"bytes,9,rep,name=path_repeated_string_value,json=pathRepeatedStringValue,proto3" json:"path_repeated_string_value,omitempty"` + PathRepeatedBytesValue [][]byte `protobuf:"bytes,10,rep,name=path_repeated_bytes_value,json=pathRepeatedBytesValue,proto3" json:"path_repeated_bytes_value,omitempty"` + PathRepeatedUint32Value []uint32 `protobuf:"varint,11,rep,packed,name=path_repeated_uint32_value,json=pathRepeatedUint32Value,proto3" json:"path_repeated_uint32_value,omitempty"` + PathRepeatedEnumValue []NumericEnum `protobuf:"varint,12,rep,packed,name=path_repeated_enum_value,json=pathRepeatedEnumValue,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"path_repeated_enum_value,omitempty"` + PathRepeatedSfixed32Value []int32 `protobuf:"fixed32,13,rep,packed,name=path_repeated_sfixed32_value,json=pathRepeatedSfixed32Value,proto3" json:"path_repeated_sfixed32_value,omitempty"` + PathRepeatedSfixed64Value []int64 `protobuf:"fixed64,14,rep,packed,name=path_repeated_sfixed64_value,json=pathRepeatedSfixed64Value,proto3" json:"path_repeated_sfixed64_value,omitempty"` + PathRepeatedSint32Value []int32 `protobuf:"zigzag32,15,rep,packed,name=path_repeated_sint32_value,json=pathRepeatedSint32Value,proto3" json:"path_repeated_sint32_value,omitempty"` + PathRepeatedSint64Value []int64 `protobuf:"zigzag64,16,rep,packed,name=path_repeated_sint64_value,json=pathRepeatedSint64Value,proto3" json:"path_repeated_sint64_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ABitOfEverythingRepeated) Reset() { *m = ABitOfEverythingRepeated{} } +func (m *ABitOfEverythingRepeated) String() string { return proto.CompactTextString(m) } +func (*ABitOfEverythingRepeated) ProtoMessage() {} +func (*ABitOfEverythingRepeated) Descriptor() ([]byte, []int) { + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{1} +} +func (m *ABitOfEverythingRepeated) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ABitOfEverythingRepeated.Unmarshal(m, b) +} +func (m *ABitOfEverythingRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ABitOfEverythingRepeated.Marshal(b, m, deterministic) +} +func (dst *ABitOfEverythingRepeated) XXX_Merge(src proto.Message) { + xxx_messageInfo_ABitOfEverythingRepeated.Merge(dst, src) +} +func (m *ABitOfEverythingRepeated) XXX_Size() int { + return xxx_messageInfo_ABitOfEverythingRepeated.Size(m) +} +func (m *ABitOfEverythingRepeated) XXX_DiscardUnknown() { + xxx_messageInfo_ABitOfEverythingRepeated.DiscardUnknown(m) +} + +var xxx_messageInfo_ABitOfEverythingRepeated proto.InternalMessageInfo + +func (m *ABitOfEverythingRepeated) GetPathRepeatedFloatValue() []float32 { + if m != nil { + return m.PathRepeatedFloatValue + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedDoubleValue() []float64 { + if m != nil { + return m.PathRepeatedDoubleValue + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedInt64Value() []int64 { + if m != nil { + return m.PathRepeatedInt64Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedUint64Value() []uint64 { + if m != nil { + return m.PathRepeatedUint64Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedInt32Value() []int32 { + if m != nil { + return m.PathRepeatedInt32Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedFixed64Value() []uint64 { + if m != nil { + return m.PathRepeatedFixed64Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedFixed32Value() []uint32 { + if m != nil { + return m.PathRepeatedFixed32Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedBoolValue() []bool { + if m != nil { + return m.PathRepeatedBoolValue + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedStringValue() []string { + if m != nil { + return m.PathRepeatedStringValue + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedBytesValue() [][]byte { + if m != nil { + return m.PathRepeatedBytesValue + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedUint32Value() []uint32 { + if m != nil { + return m.PathRepeatedUint32Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedEnumValue() []NumericEnum { + if m != nil { + return m.PathRepeatedEnumValue + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedSfixed32Value() []int32 { + if m != nil { + return m.PathRepeatedSfixed32Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedSfixed64Value() []int64 { + if m != nil { + return m.PathRepeatedSfixed64Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedSint32Value() []int32 { + if m != nil { + return m.PathRepeatedSint32Value + } + return nil +} + +func (m *ABitOfEverythingRepeated) GetPathRepeatedSint64Value() []int64 { + if m != nil { + return m.PathRepeatedSint64Value + } + return nil +} + type Body struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -499,7 +679,7 @@ func (m *Body) Reset() { *m = Body{} } func (m *Body) String() string { return proto.CompactTextString(m) } func (*Body) ProtoMessage() {} func (*Body) Descriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_f27080d9602a5f10, []int{1} + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{2} } func (m *Body) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Body.Unmarshal(m, b) @@ -527,8 +707,8 @@ func (m *Body) GetName() string { } type MessageWithBody struct { - Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Data *Body `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Data *Body `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -538,7 +718,7 @@ func (m *MessageWithBody) Reset() { *m = MessageWithBody{} } func (m *MessageWithBody) String() string { return proto.CompactTextString(m) } func (*MessageWithBody) ProtoMessage() {} func (*MessageWithBody) Descriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_f27080d9602a5f10, []int{2} + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{3} } func (m *MessageWithBody) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MessageWithBody.Unmarshal(m, b) @@ -572,14 +752,63 @@ func (m *MessageWithBody) GetData() *Body { return nil } +// UpdateV2Request request for update includes the message and the update mask +type UpdateV2Request struct { + Abe *ABitOfEverything `protobuf:"bytes,1,opt,name=abe,proto3" json:"abe,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateV2Request) Reset() { *m = UpdateV2Request{} } +func (m *UpdateV2Request) String() string { return proto.CompactTextString(m) } +func (*UpdateV2Request) ProtoMessage() {} +func (*UpdateV2Request) Descriptor() ([]byte, []int) { + return fileDescriptor_a_bit_of_everything_7494e8194e1b43f3, []int{4} +} +func (m *UpdateV2Request) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateV2Request.Unmarshal(m, b) +} +func (m *UpdateV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateV2Request.Marshal(b, m, deterministic) +} +func (dst *UpdateV2Request) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateV2Request.Merge(dst, src) +} +func (m *UpdateV2Request) XXX_Size() int { + return xxx_messageInfo_UpdateV2Request.Size(m) +} +func (m *UpdateV2Request) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateV2Request.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateV2Request proto.InternalMessageInfo + +func (m *UpdateV2Request) GetAbe() *ABitOfEverything { + if m != nil { + return m.Abe + } + return nil +} + +func (m *UpdateV2Request) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + func init() { proto.RegisterType((*ABitOfEverything)(nil), "grpc.gateway.examples.examplepb.ABitOfEverything") proto.RegisterMapType((map[string]NumericEnum)(nil), "grpc.gateway.examples.examplepb.ABitOfEverything.MapValueEntry") proto.RegisterMapType((map[string]*ABitOfEverything_Nested)(nil), "grpc.gateway.examples.examplepb.ABitOfEverything.MappedNestedValueEntry") proto.RegisterMapType((map[string]string)(nil), "grpc.gateway.examples.examplepb.ABitOfEverything.MappedStringValueEntry") proto.RegisterType((*ABitOfEverything_Nested)(nil), "grpc.gateway.examples.examplepb.ABitOfEverything.Nested") + proto.RegisterType((*ABitOfEverythingRepeated)(nil), "grpc.gateway.examples.examplepb.ABitOfEverythingRepeated") proto.RegisterType((*Body)(nil), "grpc.gateway.examples.examplepb.Body") proto.RegisterType((*MessageWithBody)(nil), "grpc.gateway.examples.examplepb.MessageWithBody") + proto.RegisterType((*UpdateV2Request)(nil), "grpc.gateway.examples.examplepb.UpdateV2Request") proto.RegisterEnum("grpc.gateway.examples.examplepb.NumericEnum", NumericEnum_name, NumericEnum_value) proto.RegisterEnum("grpc.gateway.examples.examplepb.ABitOfEverything_Nested_DeepEnum", ABitOfEverything_Nested_DeepEnum_name, ABitOfEverything_Nested_DeepEnum_value) } @@ -596,12 +825,18 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ABitOfEverythingServiceClient interface { + // Create a new ABitOfEverything + // + // This API creates a new ABitOfEverything Create(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) CreateBody(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) Lookup(ctx context.Context, in *sub2.IdMessage, opts ...grpc.CallOption) (*ABitOfEverything, error) Update(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*empty.Empty, error) + UpdateV2(ctx context.Context, in *UpdateV2Request, opts ...grpc.CallOption) (*empty.Empty, error) + PatchWithFieldMaskInBody(ctx context.Context, in *UpdateV2Request, opts ...grpc.CallOption) (*empty.Empty, error) Delete(ctx context.Context, in *sub2.IdMessage, opts ...grpc.CallOption) (*empty.Empty, error) GetQuery(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*empty.Empty, error) + GetRepeatedQuery(ctx context.Context, in *ABitOfEverythingRepeated, opts ...grpc.CallOption) (*ABitOfEverythingRepeated, error) // Echo allows posting a StringMessage value. // // It also exposes multiple bindings. @@ -662,6 +897,24 @@ func (c *aBitOfEverythingServiceClient) Update(ctx context.Context, in *ABitOfEv return out, nil } +func (c *aBitOfEverythingServiceClient) UpdateV2(ctx context.Context, in *UpdateV2Request, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/UpdateV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aBitOfEverythingServiceClient) PatchWithFieldMaskInBody(ctx context.Context, in *UpdateV2Request, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/PatchWithFieldMaskInBody", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *aBitOfEverythingServiceClient) Delete(ctx context.Context, in *sub2.IdMessage, opts ...grpc.CallOption) (*empty.Empty, error) { out := new(empty.Empty) err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Delete", in, out, opts...) @@ -680,6 +933,15 @@ func (c *aBitOfEverythingServiceClient) GetQuery(ctx context.Context, in *ABitOf return out, nil } +func (c *aBitOfEverythingServiceClient) GetRepeatedQuery(ctx context.Context, in *ABitOfEverythingRepeated, opts ...grpc.CallOption) (*ABitOfEverythingRepeated, error) { + out := new(ABitOfEverythingRepeated) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/GetRepeatedQuery", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *aBitOfEverythingServiceClient) Echo(ctx context.Context, in *sub.StringMessage, opts ...grpc.CallOption) (*sub.StringMessage, error) { out := new(sub.StringMessage) err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Echo", in, out, opts...) @@ -745,12 +1007,18 @@ func (c *aBitOfEverythingServiceClient) PostWithEmptyBody(ctx context.Context, i // ABitOfEverythingServiceServer is the server API for ABitOfEverythingService service. type ABitOfEverythingServiceServer interface { + // Create a new ABitOfEverything + // + // This API creates a new ABitOfEverything Create(context.Context, *ABitOfEverything) (*ABitOfEverything, error) CreateBody(context.Context, *ABitOfEverything) (*ABitOfEverything, error) Lookup(context.Context, *sub2.IdMessage) (*ABitOfEverything, error) Update(context.Context, *ABitOfEverything) (*empty.Empty, error) + UpdateV2(context.Context, *UpdateV2Request) (*empty.Empty, error) + PatchWithFieldMaskInBody(context.Context, *UpdateV2Request) (*empty.Empty, error) Delete(context.Context, *sub2.IdMessage) (*empty.Empty, error) GetQuery(context.Context, *ABitOfEverything) (*empty.Empty, error) + GetRepeatedQuery(context.Context, *ABitOfEverythingRepeated) (*ABitOfEverythingRepeated, error) // Echo allows posting a StringMessage value. // // It also exposes multiple bindings. @@ -843,6 +1111,42 @@ func _ABitOfEverythingService_Update_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } +func _ABitOfEverythingService_UpdateV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateV2Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ABitOfEverythingServiceServer).UpdateV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/UpdateV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ABitOfEverythingServiceServer).UpdateV2(ctx, req.(*UpdateV2Request)) + } + return interceptor(ctx, in, info, handler) +} + +func _ABitOfEverythingService_PatchWithFieldMaskInBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateV2Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ABitOfEverythingServiceServer).PatchWithFieldMaskInBody(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/PatchWithFieldMaskInBody", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ABitOfEverythingServiceServer).PatchWithFieldMaskInBody(ctx, req.(*UpdateV2Request)) + } + return interceptor(ctx, in, info, handler) +} + func _ABitOfEverythingService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sub2.IdMessage) if err := dec(in); err != nil { @@ -879,6 +1183,24 @@ func _ABitOfEverythingService_GetQuery_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _ABitOfEverythingService_GetRepeatedQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ABitOfEverythingRepeated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ABitOfEverythingServiceServer).GetRepeatedQuery(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/GetRepeatedQuery", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ABitOfEverythingServiceServer).GetRepeatedQuery(ctx, req.(*ABitOfEverythingRepeated)) + } + return interceptor(ctx, in, info, handler) +} + func _ABitOfEverythingService_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sub.StringMessage) if err := dec(in); err != nil { @@ -1025,6 +1347,14 @@ var _ABitOfEverythingService_serviceDesc = grpc.ServiceDesc{ MethodName: "Update", Handler: _ABitOfEverythingService_Update_Handler, }, + { + MethodName: "UpdateV2", + Handler: _ABitOfEverythingService_UpdateV2_Handler, + }, + { + MethodName: "PatchWithFieldMaskInBody", + Handler: _ABitOfEverythingService_PatchWithFieldMaskInBody_Handler, + }, { MethodName: "Delete", Handler: _ABitOfEverythingService_Delete_Handler, @@ -1033,6 +1363,10 @@ var _ABitOfEverythingService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetQuery", Handler: _ABitOfEverythingService_GetQuery_Handler, }, + { + MethodName: "GetRepeatedQuery", + Handler: _ABitOfEverythingService_GetRepeatedQuery_Handler, + }, { MethodName: "Echo", Handler: _ABitOfEverythingService_Echo_Handler, @@ -1195,136 +1529,191 @@ var _AnotherServiceWithNoBindings_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("examples/proto/examplepb/a_bit_of_everything.proto", fileDescriptor_a_bit_of_everything_f27080d9602a5f10) -} - -var fileDescriptor_a_bit_of_everything_f27080d9602a5f10 = []byte{ - // 2019 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0xdb, 0xc8, - 0x15, 0xf7, 0x48, 0xb2, 0x22, 0x3d, 0xf9, 0x43, 0x1e, 0xe7, 0xc3, 0x51, 0x9c, 0xf5, 0x44, 0xc9, - 0xb6, 0x8c, 0x37,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x80, 0xe0, 0xe2, 0xc8, 0x4b, - 0xbe, 0x58, 0xc8, 0x54, 0x8a, 0x4f, 0x6a, 0xcd, 0x07, 0x77, 0x6a, 0x77, 0xe9, 0x80, 0x64, 0xe0, - 0x5f, 0x68, 0xf8, 0xb2, 0xff, 0x03, 0x15, 0xb2, 0x4a, 0xae, 0x7e, 0x39, 0x71, 0x32, 0xc5, 0x5b, - 0x63, 0x46, 0xc8, 0x7b, 0x9a, 0xf8, 0x87, 0xf9, 0xf6, 0x4f, 0x68, 0x63, 0x6d, 0x32, 0x88, 0xb3, - 0x17, 0xd4, 0xdd, 0xf8, 0x39, 0x54, 0xa2, 0x41, 0x01, 0xe3, 0x5b, 0xbe, 0xe1, 0xf2, 0x80, 0x88, - 0x05, 0x31, 0x4c, 0x93, 0x06, 0x01, 0xac, 0xc6, 0xe3, 0x03, 0x5e, 0x8e, 0x0f, 0xe5, 0x2a, 0x39, - 0xdd, 0x84, 0x59, 0xc3, 0x72, 0x6c, 0x17, 0x37, 0x46, 0x44, 0x5d, 0x6b, 0x04, 0x46, 0x38, 0x23, - 0x12, 0x66, 0x07, 0x5c, 0xf4, 0xd3, 0x5d, 0x4a, 0x6c, 0xb7, 0xc3, 0x7c, 0x47, 0x86, 0xa5, 0xbd, - 0x06, 0xf3, 0xe9, 0x50, 0xcc, 0x8c, 0x8f, 0x34, 0xed, 0xab, 0x13, 0x87, 0x9a, 0x71, 0xa8, 0x7f, - 0x07, 0xce, 0xdd, 0x7b, 0x5d, 0x43, 0xe9, 0xd4, 0x98, 0x36, 0x25, 0x9e, 0x16, 0x87, 0xfd, 0xa5, - 0x9d, 0x97, 0x59, 0x79, 0xe3, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x60, 0xd8, 0x68, 0xe8, 0x2d, - 0x17, 0x00, 0x00, + proto.RegisterFile("examples/proto/examplepb/a_bit_of_everything.proto", fileDescriptor_a_bit_of_everything_7494e8194e1b43f3) +} + +var fileDescriptor_a_bit_of_everything_7494e8194e1b43f3 = []byte{ + // 2901 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x6f, 0x1b, 0xd7, + 0xb5, 0xd7, 0x70, 0xa8, 0xaf, 0xa3, 0x2f, 0xea, 0xca, 0x1f, 0x32, 0xad, 0x44, 0xd7, 0x8c, 0xf3, + 0x32, 0x51, 0x42, 0x8e, 0x4d, 0xfb, 0xe5, 0xd9, 0x0a, 0x12, 0x3f, 0xea, 0xc3, 0xb6, 0x62, 0x5b, + 0x96, 0xc7, 0x8e, 0x5f, 0xe0, 0xe7, 0x44, 0xb8, 0x24, 0xaf, 0xc8, 0xb1, 0x39, 0x73, 0x27, 0x73, + 0xef, 0xc8, 0x66, 0x55, 0xb5, 0x69, 0x0b, 0xb4, 0x68, 0xb3, 0x28, 0xe0, 0x74, 0x55, 0x14, 0x5d, + 0x77, 0xd1, 0x6d, 0x57, 0x59, 0xb4, 0x5d, 0xa4, 0x9b, 0xee, 0xda, 0x22, 0x40, 0x51, 0xa0, 0x9b, + 0xb6, 0x40, 0xff, 0x82, 0x02, 0xdd, 0x15, 0x73, 0x67, 0x86, 0x9a, 0x19, 0x92, 0x96, 0x69, 0x07, + 0xd9, 0x48, 0x73, 0xe7, 0x9e, 0xf3, 0x3b, 0x9f, 0xf7, 0x9c, 0x73, 0x87, 0x50, 0xa6, 0x8f, 0x89, + 0xe5, 0xb4, 0x28, 0xd7, 0x1d, 0x97, 0x09, 0xa6, 0x87, 0x4b, 0xa7, 0xaa, 0x93, 0xed, 0xaa, 0x29, + 0xb6, 0xd9, 0xce, 0x36, 0xdd, 0xa5, 0x6e, 0x5b, 0x34, 0x4d, 0xbb, 0x51, 0x92, 0x34, 0x68, 0xb1, + 0xe1, 0x3a, 0xb5, 0x52, 0x83, 0x08, 0xfa, 0x88, 0xb4, 0x4b, 0x11, 0x40, 0xa9, 0xc3, 0x9a, 0x5f, + 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0xc1, 0xbb, 0x8e, + 0xb2, 0xd5, 0xb6, 0xa0, 0x3c, 0xa4, 0x78, 0x09, 0x2b, 0xda, 0xa4, 0x01, 0xf2, 0x55, 0xc2, 0xe0, + 0x8e, 0x1a, 0x53, 0x58, 0xd1, 0xa6, 0x02, 0x83, 0x23, 0x2d, 0xae, 0x01, 0xf8, 0x47, 0x29, 0x24, + 0x98, 0xc6, 0x8a, 0x36, 0x5d, 0x7e, 0xf3, 0xd0, 0x70, 0x6e, 0x7a, 0x16, 0x75, 0xcd, 0xda, 0xba, + 0xed, 0x59, 0xc6, 0xb8, 0xcf, 0x1f, 0x80, 0x6d, 0xc1, 0x4c, 0xe7, 0x70, 0x86, 0x88, 0x2f, 0x4b, + 0x44, 0xad, 0x0f, 0x62, 0x74, 0xa6, 0x4b, 0x5b, 0x44, 0x34, 0x25, 0xda, 0x94, 0x13, 0x3e, 0x05, + 0x88, 0x1c, 0x8e, 0x05, 0x19, 0xb2, 0x9d, 0x06, 0x5e, 0x94, 0xc0, 0xef, 0x1e, 0x06, 0x7c, 0x23, + 0x38, 0xe5, 0x11, 0x7e, 0x98, 0x77, 0x1d, 0x71, 0x73, 0x76, 0x62, 0x1d, 0x08, 0x7d, 0x15, 0xa6, + 0x79, 0x32, 0x7e, 0x33, 0x58, 0xd1, 0x66, 0x8c, 0x29, 0x9e, 0x08, 0x60, 0x87, 0xac, 0x93, 0x0b, + 0x39, 0xac, 0x68, 0xb9, 0x88, 0x2c, 0x96, 0x75, 0x3c, 0x1e, 0x84, 0x59, 0xac, 0x68, 0xb3, 0xc6, + 0x04, 0x8f, 0x05, 0x21, 0x24, 0xe9, 0xe0, 0x20, 0xac, 0x68, 0x28, 0x20, 0x89, 0x50, 0xca, 0x70, + 0xd4, 0xa5, 0x0e, 0x25, 0xbe, 0x2b, 0x12, 0x79, 0x31, 0x87, 0x55, 0x6d, 0xdc, 0x98, 0x8b, 0x36, + 0x6f, 0xc7, 0xf2, 0xe3, 0x22, 0x4c, 0x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0x73, 0x9a, 0xaa, 0x8d, 0xf6, 0x60, + 0x8f, 0xa4, 0xff, 0x0f, 0xcc, 0x27, 0xd9, 0x63, 0x93, 0xd7, 0x18, 0x56, 0xb5, 0x31, 0xe3, 0x68, + 0x9c, 0x77, 0xa5, 0x33, 0x85, 0x75, 0xb9, 0x2b, 0xd1, 0x8b, 0xc6, 0x65, 0xef, 0x4d, 0xb8, 0x2b, + 0xd9, 0x7f, 0x53, 0xee, 0x8a, 0x4f, 0x6b, 0x80, 0x55, 0x6d, 0x32, 0xe9, 0xae, 0x95, 0x83, 0xc9, + 0xad, 0x67, 0x98, 0x3a, 0xe6, 0x4e, 0x60, 0x55, 0x9b, 0xea, 0x0e, 0x53, 0x64, 0x2d, 0x4d, 0x5b, + 0x1b, 0xab, 0xe4, 0x93, 0xcf, 0x51, 0xc9, 0x13, 0xbe, 0x39, 0x18, 0x93, 0x2e, 0xc1, 0x42, 0xca, + 0x37, 0xc9, 0xa0, 0x4c, 0x61, 0x55, 0x9b, 0x31, 0x4e, 0x24, 0xbc, 0x93, 0x18, 0xa0, 0xfa, 0x00, + 0x74, 0x92, 0x62, 0x1a, 0xab, 0x5a, 0xae, 0x17, 0x40, 0xdf, 0x64, 0x4e, 0x0c, 0x5a, 0x33, 0x58, + 0xd5, 0x66, 0x53, 0xd1, 0x89, 0x79, 0xa9, 0x27, 0x73, 0x6c, 0x94, 0x53, 0x35, 0xd4, 0xcd, 0x1c, + 0x4a, 0x2e, 0xe4, 0x21, 0xbb, 0xc2, 0xea, 0xed, 0x5e, 0x6d, 0xac, 0x70, 0x1f, 0x66, 0xc2, 0xa9, + 0xf3, 0xff, 0x4c, 0xd1, 0x94, 0x64, 0xd3, 0x90, 0x89, 0x2e, 0x66, 0x46, 0xc6, 0xf4, 0x0b, 0x47, + 0xb6, 0x4e, 0x04, 0x09, 0xeb, 0xef, 0xab, 0x87, 0x46, 0xc3, 0x07, 0x31, 0x24, 0x4b, 0xe1, 0x33, + 0x05, 0x66, 0x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xd6, 0xe4, 0xfc, 0x9f, 0x19, 0x53, 0xe0, + 0xa5, 0xc4, 0x8d, 0x60, 0x66, 0x2c, 0x93, 0x1f, 0xff, 0xa0, 0x58, 0xd9, 0xda, 0x28, 0x5e, 0xa3, + 0x6d, 0x9c, 0x81, 0x2f, 0x95, 0xce, 0x0d, 0xe1, 0xf7, 0xca, 0x98, 0xaa, 0x65, 0xcb, 0xaf, 0x44, + 0x31, 0x8c, 0x05, 0x5c, 0x67, 0xc4, 0x13, 0x4d, 0xdd, 0xff, 0xc3, 0x5c, 0xf3, 0x1b, 0x74, 0x79, + 0xb1, 0x3f, 0x91, 0x60, 0x0f, 0xa9, 0xbd, 0xf2, 0x6d, 0xc8, 0x07, 0x17, 0x0e, 0x84, 0xae, 0xb8, + 0xc4, 0x16, 0x1c, 0xfb, 0x8b, 0xd0, 0x7b, 0xb0, 0x10, 0x5e, 0x43, 0xd0, 0x5c, 0xb8, 0x29, 0x57, + 0xd1, 0xee, 0x2a, 0x0c, 0x93, 0xba, 0x65, 0xda, 0x68, 0x39, 0xc1, 0x6a, 0xd7, 0x13, 0x64, 0x32, + 0x18, 0x3e, 0x99, 0xc9, 0x85, 0xdf, 0x89, 0x76, 0x29, 0x36, 0xed, 0x1d, 0xe6, 0x5a, 0x32, 0xde, + 0xd5, 0x45, 0x98, 0x8a, 0xbb, 0x62, 0x28, 0x7d, 0x35, 0xaa, 0xbe, 0xde, 0xf7, 0x72, 0x94, 0x26, + 0x75, 0x37, 0xe0, 0xf8, 0x8d, 0x83, 0xea, 0x13, 0x3f, 0x53, 0x83, 0x9e, 0xa5, 0x7b, 0xe3, 0x9d, + 0xc8, 0x55, 0x47, 0xe4, 0x79, 0x3e, 0xf7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x52, 0x42, 0x5e, + 0xa6, 0x8f, 0x23, 0x00, 0x00, } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.gw.go index f863b09ac..2d9070eef 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.gw.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.gw.go @@ -14,6 +14,7 @@ import ( "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum" "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2" "github.com/grpc-ecosystem/grpc-gateway/runtime" @@ -32,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var ( - filter_ABitOfEverythingService_Create_0 = &utilities.DoubleArray{Encoding: map[string]int{"float_value": 0, "double_value": 1, "int64_value": 2, "uint64_value": 3, "int32_value": 4, "fixed64_value": 5, "fixed32_value": 6, "bool_value": 7, "string_value": 8, "uint32_value": 9, "sfixed32_value": 10, "sfixed64_value": 11, "sint32_value": 12, "sint64_value": 13, "nonConventionalNameValue": 14}, Base: []int{1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}} + filter_ABitOfEverythingService_Create_0 = &utilities.DoubleArray{Encoding: map[string]int{"float_value": 0, "double_value": 1, "int64_value": 2, "uint64_value": 3, "int32_value": 4, "fixed64_value": 5, "fixed32_value": 6, "bool_value": 7, "string_value": 8, "uint32_value": 9, "sfixed32_value": 10, "sfixed64_value": 11, "sint32_value": 12, "sint64_value": 13, "nonConventionalNameValue": 14, "enum_value": 15, "path_enum_value": 16, "nested_path_enum_value": 17}, Base: []int{1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}} ) func request_ABitOfEverythingService_Create_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -41,6 +42,7 @@ func request_ABitOfEverythingService_Create_0(ctx context.Context, marshaler run var ( val string + e int32 ok bool err error _ = err @@ -211,6 +213,45 @@ func request_ABitOfEverythingService_Create_0(ctx context.Context, marshaler run return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "nonConventionalNameValue", err) } + val, ok = pathParams["enum_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "enum_value") + } + + e, err = runtime.Enum(val, NumericEnum_value) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "enum_value", err) + } + + protoReq.EnumValue = NumericEnum(e) + + val, ok = pathParams["path_enum_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_enum_value") + } + + e, err = runtime.Enum(val, pathenum.PathEnum_value) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_enum_value", err) + } + + protoReq.PathEnumValue = pathenum.PathEnum(e) + + val, ok = pathParams["nested_path_enum_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "nested_path_enum_value") + } + + e, err = runtime.Enum(val, pathenum.MessagePathEnum_NestedPathEnum_value) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "nested_path_enum_value", err) + } + + protoReq.NestedPathEnumValue = pathenum.MessagePathEnum_NestedPathEnum(e) + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_Create_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -224,7 +265,11 @@ func request_ABitOfEverythingService_CreateBody_0(ctx context.Context, marshaler var protoReq ABitOfEverything var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -264,7 +309,11 @@ func request_ABitOfEverythingService_Update_0(ctx context.Context, marshaler run var protoReq ABitOfEverything var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -291,6 +340,139 @@ func request_ABitOfEverythingService_Update_0(ctx context.Context, marshaler run } +var ( + filter_ABitOfEverythingService_UpdateV2_0 = &utilities.DoubleArray{Encoding: map[string]int{"abe": 0, "uuid": 1}, Base: []int{1, 2, 1, 0, 0}, Check: []int{0, 1, 2, 3, 2}} +) + +func request_ABitOfEverythingService_UpdateV2_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateV2Request + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Abe); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["abe.uuid"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "abe.uuid") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "abe.uuid", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "abe.uuid", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_UpdateV2_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.UpdateV2(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ABitOfEverythingService_UpdateV2_1 = &utilities.DoubleArray{Encoding: map[string]int{"abe": 0, "uuid": 1}, Base: []int{1, 2, 1, 0, 0}, Check: []int{0, 1, 2, 3, 2}} +) + +func request_ABitOfEverythingService_UpdateV2_1(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateV2Request + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Abe); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if protoReq.UpdateMask != nil && len(protoReq.UpdateMask.GetPaths()) > 0 { + runtime.CamelCaseFieldMask(protoReq.UpdateMask) + } else { + if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader()); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } else { + protoReq.UpdateMask = fieldMask + } + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["abe.uuid"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "abe.uuid") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "abe.uuid", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "abe.uuid", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_UpdateV2_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.UpdateV2(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_ABitOfEverythingService_PatchWithFieldMaskInBody_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateV2Request + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if protoReq.UpdateMask != nil && len(protoReq.UpdateMask.GetPaths()) > 0 { + runtime.CamelCaseFieldMask(protoReq.UpdateMask) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["abe.uuid"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "abe.uuid") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "abe.uuid", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "abe.uuid", err) + } + + msg, err := client.PatchWithFieldMaskInBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + func request_ABitOfEverythingService_Delete_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sub2.IdMessage var metadata runtime.ServerMetadata @@ -353,6 +535,205 @@ func request_ABitOfEverythingService_GetQuery_0(ctx context.Context, marshaler r } +func request_ABitOfEverythingService_GetRepeatedQuery_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ABitOfEverythingRepeated + var metadata runtime.ServerMetadata + + var ( + val string + es []int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["path_repeated_float_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_float_value") + } + + protoReq.PathRepeatedFloatValue, err = runtime.Float32Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_float_value", err) + } + + val, ok = pathParams["path_repeated_double_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_double_value") + } + + protoReq.PathRepeatedDoubleValue, err = runtime.Float64Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_double_value", err) + } + + val, ok = pathParams["path_repeated_int64_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_int64_value") + } + + protoReq.PathRepeatedInt64Value, err = runtime.Int64Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_int64_value", err) + } + + val, ok = pathParams["path_repeated_uint64_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_uint64_value") + } + + protoReq.PathRepeatedUint64Value, err = runtime.Uint64Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_uint64_value", err) + } + + val, ok = pathParams["path_repeated_int32_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_int32_value") + } + + protoReq.PathRepeatedInt32Value, err = runtime.Int32Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_int32_value", err) + } + + val, ok = pathParams["path_repeated_fixed64_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_fixed64_value") + } + + protoReq.PathRepeatedFixed64Value, err = runtime.Uint64Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_fixed64_value", err) + } + + val, ok = pathParams["path_repeated_fixed32_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_fixed32_value") + } + + protoReq.PathRepeatedFixed32Value, err = runtime.Uint32Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_fixed32_value", err) + } + + val, ok = pathParams["path_repeated_bool_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_bool_value") + } + + protoReq.PathRepeatedBoolValue, err = runtime.BoolSlice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_bool_value", err) + } + + val, ok = pathParams["path_repeated_string_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_string_value") + } + + protoReq.PathRepeatedStringValue, err = runtime.StringSlice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_string_value", err) + } + + val, ok = pathParams["path_repeated_bytes_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_bytes_value") + } + + protoReq.PathRepeatedBytesValue, err = runtime.BytesSlice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_bytes_value", err) + } + + val, ok = pathParams["path_repeated_uint32_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_uint32_value") + } + + protoReq.PathRepeatedUint32Value, err = runtime.Uint32Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_uint32_value", err) + } + + val, ok = pathParams["path_repeated_enum_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_enum_value") + } + + es, err = runtime.EnumSlice(val, ",", NumericEnum_value) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_enum_value", err) + } + + s := make([]NumericEnum, len(es)) + for i, v := range es { + s[i] = NumericEnum(v) + } + protoReq.PathRepeatedEnumValue = s + + val, ok = pathParams["path_repeated_sfixed32_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_sfixed32_value") + } + + protoReq.PathRepeatedSfixed32Value, err = runtime.Int32Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_sfixed32_value", err) + } + + val, ok = pathParams["path_repeated_sfixed64_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_sfixed64_value") + } + + protoReq.PathRepeatedSfixed64Value, err = runtime.Int64Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_sfixed64_value", err) + } + + val, ok = pathParams["path_repeated_sint32_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_sint32_value") + } + + protoReq.PathRepeatedSint32Value, err = runtime.Int32Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_sint32_value", err) + } + + val, ok = pathParams["path_repeated_sint64_value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "path_repeated_sint64_value") + } + + protoReq.PathRepeatedSint64Value, err = runtime.Int64Slice(val, ",") + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "path_repeated_sint64_value", err) + } + + msg, err := client.GetRepeatedQuery(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + func request_ABitOfEverythingService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sub.StringMessage var metadata runtime.ServerMetadata @@ -384,7 +765,11 @@ func request_ABitOfEverythingService_Echo_1(ctx context.Context, marshaler runti var protoReq sub.StringMessage var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.Value); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Value); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -414,7 +799,11 @@ func request_ABitOfEverythingService_DeepPathEcho_0(ctx context.Context, marshal var protoReq ABitOfEverything var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -463,7 +852,11 @@ func request_ABitOfEverythingService_GetMessageWithBody_0(ctx context.Context, m var protoReq MessageWithBody var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.Data); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Data); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -494,7 +887,11 @@ func request_ABitOfEverythingService_PostWithEmptyBody_0(ctx context.Context, ma var protoReq Body var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -540,14 +937,14 @@ func RegisterABitOfEverythingServiceHandlerFromEndpoint(ctx context.Context, mux defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -561,8 +958,8 @@ func RegisterABitOfEverythingServiceHandler(ctx context.Context, mux *runtime.Se return RegisterABitOfEverythingServiceHandlerClient(ctx, mux, NewABitOfEverythingServiceClient(conn)) } -// RegisterABitOfEverythingServiceHandler registers the http handlers for service ABitOfEverythingService to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "ABitOfEverythingServiceClient". +// RegisterABitOfEverythingServiceHandlerClient registers the http handlers for service ABitOfEverythingService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ABitOfEverythingServiceClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ABitOfEverythingServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "ABitOfEverythingServiceClient" to call the correct interceptors. @@ -571,15 +968,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("POST", pattern_ABitOfEverythingService_Create_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -600,15 +988,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("POST", pattern_ABitOfEverythingService_CreateBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -629,15 +1008,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("GET", pattern_ABitOfEverythingService_Lookup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -658,15 +1028,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("PUT", pattern_ABitOfEverythingService_Update_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -684,18 +1045,69 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt }) - mux.Handle("DELETE", pattern_ABitOfEverythingService_Delete_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_ABitOfEverythingService_UpdateV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ABitOfEverythingService_UpdateV2_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ABitOfEverythingService_UpdateV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PATCH", pattern_ABitOfEverythingService_UpdateV2_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ABitOfEverythingService_UpdateV2_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ABitOfEverythingService_UpdateV2_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PATCH", pattern_ABitOfEverythingService_PatchWithFieldMaskInBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ABitOfEverythingService_PatchWithFieldMaskInBody_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return } + + forward_ABitOfEverythingService_PatchWithFieldMaskInBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_ABitOfEverythingService_Delete_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -716,15 +1128,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("GET", pattern_ABitOfEverythingService_GetQuery_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -742,18 +1145,29 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt }) - mux.Handle("GET", pattern_ABitOfEverythingService_Echo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ABitOfEverythingService_GetRepeatedQuery_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ABitOfEverythingService_GetRepeatedQuery_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return } + + forward_ABitOfEverythingService_GetRepeatedQuery_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ABitOfEverythingService_Echo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -774,15 +1188,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("POST", pattern_ABitOfEverythingService_Echo_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -803,15 +1208,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("GET", pattern_ABitOfEverythingService_Echo_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -832,15 +1228,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("POST", pattern_ABitOfEverythingService_DeepPathEcho_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -861,15 +1248,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("GET", pattern_ABitOfEverythingService_Timeout_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -890,15 +1268,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("GET", pattern_ABitOfEverythingService_ErrorWithDetails_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -919,15 +1288,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("POST", pattern_ABitOfEverythingService_GetMessageWithBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -948,15 +1308,6 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt mux.Handle("POST", pattern_ABitOfEverythingService_PostWithEmptyBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -978,7 +1329,7 @@ func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runt } var ( - pattern_ABitOfEverythingService_Create_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9, 1, 0, 4, 1, 5, 10, 1, 0, 4, 1, 5, 11, 2, 12, 1, 0, 4, 2, 5, 13, 1, 0, 4, 1, 5, 14, 1, 0, 4, 1, 5, 15, 1, 0, 4, 1, 5, 16, 1, 0, 4, 1, 5, 17, 1, 0, 4, 1, 5, 18, 1, 0, 4, 1, 5, 19}, []string{"v1", "example", "a_bit_of_everything", "float_value", "double_value", "int64_value", "separator", "uint64_value", "int32_value", "fixed64_value", "fixed32_value", "bool_value", "strprefix", "string_value", "uint32_value", "sfixed32_value", "sfixed64_value", "sint32_value", "sint64_value", "nonConventionalNameValue"}, "")) + pattern_ABitOfEverythingService_Create_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9, 1, 0, 4, 1, 5, 10, 1, 0, 4, 1, 5, 11, 2, 12, 1, 0, 4, 2, 5, 13, 1, 0, 4, 1, 5, 14, 1, 0, 4, 1, 5, 15, 1, 0, 4, 1, 5, 16, 1, 0, 4, 1, 5, 17, 1, 0, 4, 1, 5, 18, 1, 0, 4, 1, 5, 19, 1, 0, 4, 1, 5, 20, 1, 0, 4, 1, 5, 21, 1, 0, 4, 1, 5, 22}, []string{"v1", "example", "a_bit_of_everything", "float_value", "double_value", "int64_value", "separator", "uint64_value", "int32_value", "fixed64_value", "fixed32_value", "bool_value", "strprefix", "string_value", "uint32_value", "sfixed32_value", "sfixed64_value", "sint32_value", "sint64_value", "nonConventionalNameValue", "enum_value", "path_enum_value", "nested_path_enum_value"}, "")) pattern_ABitOfEverythingService_CreateBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "a_bit_of_everything"}, "")) @@ -986,10 +1337,18 @@ var ( pattern_ABitOfEverythingService_Update_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v1", "example", "a_bit_of_everything", "uuid"}, "")) + pattern_ABitOfEverythingService_UpdateV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v2", "example", "a_bit_of_everything", "abe.uuid"}, "")) + + pattern_ABitOfEverythingService_UpdateV2_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v2", "example", "a_bit_of_everything", "abe.uuid"}, "")) + + pattern_ABitOfEverythingService_PatchWithFieldMaskInBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v2a", "example", "a_bit_of_everything", "abe.uuid"}, "")) + pattern_ABitOfEverythingService_Delete_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v1", "example", "a_bit_of_everything", "uuid"}, "")) pattern_ABitOfEverythingService_GetQuery_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v1", "example", "a_bit_of_everything", "query", "uuid"}, "")) + pattern_ABitOfEverythingService_GetRepeatedQuery_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9, 1, 0, 4, 1, 5, 10, 1, 0, 4, 1, 5, 11, 1, 0, 4, 1, 5, 12, 1, 0, 4, 1, 5, 13, 1, 0, 4, 1, 5, 14, 1, 0, 4, 1, 5, 15, 1, 0, 4, 1, 5, 16, 1, 0, 4, 1, 5, 17, 1, 0, 4, 1, 5, 18}, []string{"v1", "example", "a_bit_of_everything_repeated", "path_repeated_float_value", "path_repeated_double_value", "path_repeated_int64_value", "path_repeated_uint64_value", "path_repeated_int32_value", "path_repeated_fixed64_value", "path_repeated_fixed32_value", "path_repeated_bool_value", "path_repeated_string_value", "path_repeated_bytes_value", "path_repeated_uint32_value", "path_repeated_enum_value", "path_repeated_sfixed32_value", "path_repeated_sfixed64_value", "path_repeated_sint32_value", "path_repeated_sint64_value"}, "")) + pattern_ABitOfEverythingService_Echo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v1", "example", "a_bit_of_everything", "echo", "value"}, "")) pattern_ABitOfEverythingService_Echo_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "example", "echo"}, "")) @@ -1016,10 +1375,18 @@ var ( forward_ABitOfEverythingService_Update_0 = runtime.ForwardResponseMessage + forward_ABitOfEverythingService_UpdateV2_0 = runtime.ForwardResponseMessage + + forward_ABitOfEverythingService_UpdateV2_1 = runtime.ForwardResponseMessage + + forward_ABitOfEverythingService_PatchWithFieldMaskInBody_0 = runtime.ForwardResponseMessage + forward_ABitOfEverythingService_Delete_0 = runtime.ForwardResponseMessage forward_ABitOfEverythingService_GetQuery_0 = runtime.ForwardResponseMessage + forward_ABitOfEverythingService_GetRepeatedQuery_0 = runtime.ForwardResponseMessage + forward_ABitOfEverythingService_Echo_0 = runtime.ForwardResponseMessage forward_ABitOfEverythingService_Echo_1 = runtime.ForwardResponseMessage @@ -1047,14 +1414,14 @@ func RegisterCamelCaseServiceNameHandlerFromEndpoint(ctx context.Context, mux *r defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -1068,8 +1435,8 @@ func RegisterCamelCaseServiceNameHandler(ctx context.Context, mux *runtime.Serve return RegisterCamelCaseServiceNameHandlerClient(ctx, mux, NewCamelCaseServiceNameClient(conn)) } -// RegisterCamelCaseServiceNameHandler registers the http handlers for service CamelCaseServiceName to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "CamelCaseServiceNameClient". +// RegisterCamelCaseServiceNameHandlerClient registers the http handlers for service CamelCaseServiceName +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CamelCaseServiceNameClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CamelCaseServiceNameClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "CamelCaseServiceNameClient" to call the correct interceptors. @@ -1078,15 +1445,6 @@ func RegisterCamelCaseServiceNameHandlerClient(ctx context.Context, mux *runtime mux.Handle("GET", pattern_CamelCaseServiceName_Empty_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.proto index 6eaa7d8fd..e07b09789 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.proto +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.proto @@ -3,104 +3,143 @@ option go_package = "examplepb"; package grpc.gateway.examples.examplepb; import "google/api/annotations.proto"; +import "google/protobuf/field_mask.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/duration.proto"; +import "examples/proto/pathenum/path_enum.proto"; import "examples/proto/sub/message.proto"; import "examples/proto/sub2/message.proto"; import "google/protobuf/timestamp.proto"; import "protoc-gen-swagger/options/annotations.proto"; option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = { - info: { - title: "A Bit of Everything"; - version: "1.0"; - contact: { - name: "gRPC-Gateway project"; - url: "https://github.com/grpc-ecosystem/grpc-gateway"; - email: "none@example.com"; - }; - }; - // Overwriting host entry breaks tests, so this is not done here. - external_docs: { - url: "https://github.com/grpc-ecosystem/grpc-gateway"; - description: "More about gRPC-Gateway"; - } - schemes: HTTP; - schemes: HTTPS; - schemes: WSS; - consumes: "application/json"; - consumes: "application/x-foo-mime"; - produces: "application/json"; - produces: "application/x-foo-mime"; - security_definitions: { - security: { - key: "BasicAuth"; - value: { - type: TYPE_BASIC; - } - } - security: { - key: "ApiKeyAuth"; - value: { - type: TYPE_API_KEY; - in: IN_HEADER; - name: "X-API-Key"; - } - } - security: { - key: "OAuth2"; - value: { - type: TYPE_OAUTH2; - flow: FLOW_ACCESS_CODE; - authorization_url: "https://example.com/oauth/authorize"; - token_url: "https://example.com/oauth/token"; - scopes: { - scope: { - key: "read"; - value: "Grants read access"; - } - scope: { - key: "write"; - value: "Grants write access"; - } - scope: { - key: "admin"; - value: "Grants read and write access to administrative information"; - } + info: { + title: "A Bit of Everything"; + version: "1.0"; + contact: { + name: "gRPC-Gateway project"; + url: "https://github.com/grpc-ecosystem/grpc-gateway"; + email: "none@example.com"; + }; + license: { + name: "BSD 3-Clause License"; + url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; + }; + }; + // Overwriting host entry breaks tests, so this is not done here. + external_docs: { + url: "https://github.com/grpc-ecosystem/grpc-gateway"; + description: "More about gRPC-Gateway"; + } + schemes: HTTP; + schemes: HTTPS; + schemes: WSS; + consumes: "application/json"; + consumes: "application/x-foo-mime"; + produces: "application/json"; + produces: "application/x-foo-mime"; + security_definitions: { + security: { + key: "BasicAuth"; + value: { + type: TYPE_BASIC; + } + } + security: { + key: "ApiKeyAuth"; + value: { + type: TYPE_API_KEY; + in: IN_HEADER; + name: "X-API-Key"; + } + } + security: { + key: "OAuth2"; + value: { + type: TYPE_OAUTH2; + flow: FLOW_ACCESS_CODE; + authorization_url: "https://example.com/oauth/authorize"; + token_url: "https://example.com/oauth/token"; + scopes: { + scope: { + key: "read"; + value: "Grants read access"; + } + scope: { + key: "write"; + value: "Grants write access"; + } + scope: { + key: "admin"; + value: "Grants read and write access to administrative information"; + } + } + } + } + } + security: { + security_requirement: { + key: "BasicAuth"; + value: {}; + } + security_requirement: { + key: "ApiKeyAuth"; + value: {}; + } + } + security: { + security_requirement: { + key: "OAuth2"; + value: { + scope: "read"; + scope: "write"; + } + } + security_requirement: { + key: "ApiKeyAuth"; + value: {}; + } + } + responses: { + key: "403"; + value: { + description: "Returned when the user does not have permission to access the resource."; + } + } + responses: { + key: "404"; + value: { + description: "Returned when the resource does not exist."; + schema: { + json_schema: { + type: STRING; + } + } + } + } + responses: { + key: "418"; + value: { + description: "I'm a teapot."; + schema: { + json_schema: { + ref: ".grpc.gateway.examples.examplepb.NumericEnum"; + } + } + } } - } - } - } - security: { - security_requirement: { - key: "BasicAuth"; - value: {}; - } - security_requirement: { - key: "ApiKeyAuth"; - value: {}; - } - } - security: { - security_requirement: { - key: "OAuth2"; - value: { - scope: "read"; - scope: "write"; - } - } - security_requirement: { - key: "ApiKeyAuth"; - value: {}; - } - } }; -// Intentionaly complicated message type to cover much features of Protobuf. +// Intentionaly complicated message type to cover many features of Protobuf. // NEXT ID: 30 message ABitOfEverything { option (grpc.gateway.protoc_gen_swagger.options.openapiv2_schema) = { + json_schema: { + title: "A bit of everything" + description: "Intentionaly complicated message type to cover many features of Protobuf." + required: ["uuid"] + } external_docs: { url: "https://github.com/grpc-ecosystem/grpc-gateway"; description: "Find out more about ABitOfEverything"; @@ -123,7 +162,7 @@ message ABitOfEverything { } Nested single_nested = 25; - string uuid = 1; + string uuid = 1 [(grpc.gateway.protoc_gen_swagger.options.openapiv2_field) = {pattern: "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", min_length: 1}]; repeated Nested nested = 2; float float_value = 3; double double_value = 4; @@ -137,6 +176,8 @@ message ABitOfEverything { bytes bytes_value = 29; uint32 uint32_value = 13; NumericEnum enum_value = 14; + pathenum.PathEnum path_enum_value = 30; + pathenum.MessagePathEnum.NestedPathEnum nested_path_enum_value = 31; sfixed32 sfixed32_value = 15; sfixed64 sfixed64_value = 16; sint32 sint32_value = 17; @@ -155,10 +196,32 @@ message ABitOfEverything { google.protobuf.Timestamp timestamp_value = 27; - // repeated enum value. it is comma-separated in query + // repeated enum value. it is comma-separated in query repeated NumericEnum repeated_enum_value = 28; } +// ABitOfEverythingRepeated is used to validate repeated path parameter functionality +message ABitOfEverythingRepeated { + + // repeated values. they are comma-separated in path + repeated float path_repeated_float_value = 1; + repeated double path_repeated_double_value = 2; + repeated int64 path_repeated_int64_value = 3; + repeated uint64 path_repeated_uint64_value = 4; + repeated int32 path_repeated_int32_value = 5; + repeated fixed64 path_repeated_fixed64_value = 6; + repeated fixed32 path_repeated_fixed32_value = 7; + repeated bool path_repeated_bool_value = 8; + repeated string path_repeated_string_value = 9; + repeated bytes path_repeated_bytes_value = 10; + repeated uint32 path_repeated_uint32_value = 11; + repeated NumericEnum path_repeated_enum_value = 12; + repeated sfixed32 path_repeated_sfixed32_value = 13; + repeated sfixed64 path_repeated_sfixed64_value = 14; + repeated sint32 path_repeated_sint32_value = 15; + repeated sint64 path_repeated_sint64_value = 16; +} + message Body { string name = 1; } @@ -174,7 +237,13 @@ enum NumericEnum { // ZERO means 0 ZERO = 0; // ONE means 1 - ONE = 1; + ONE = 1; +} + +// UpdateV2Request request for update includes the message and the update mask +message UpdateV2Request { + ABitOfEverything abe = 1; + google.protobuf.FieldMask update_mask = 2; } // ABitOfEverything service is used to validate that APIs with complicated @@ -189,10 +258,12 @@ service ABitOfEverythingService { } }; + // Create a new ABitOfEverything + // + // This API creates a new ABitOfEverything rpc Create(ABitOfEverything) returns (ABitOfEverything) { - // TODO add enum_value option (google.api.http) = { - post: "/v1/example/a_bit_of_everything/{float_value}/{double_value}/{int64_value}/separator/{uint64_value}/{int32_value}/{fixed64_value}/{fixed32_value}/{bool_value}/{string_value=strprefix/*}/{uint32_value}/{sfixed32_value}/{sfixed64_value}/{sint32_value}/{sint64_value}/{nonConventionalNameValue}" + post: "/v1/example/a_bit_of_everything/{float_value}/{double_value}/{int64_value}/separator/{uint64_value}/{int32_value}/{fixed64_value}/{fixed32_value}/{bool_value}/{string_value=strprefix/*}/{uint32_value}/{sfixed32_value}/{sfixed64_value}/{sint32_value}/{sint64_value}/{nonConventionalNameValue}/{enum_value}/{path_enum_value}/{nested_path_enum_value}" }; } rpc CreateBody(ABitOfEverything) returns (ABitOfEverything) { @@ -212,24 +283,40 @@ service ABitOfEverythingService { body: "*" }; } + rpc UpdateV2(UpdateV2Request) returns (google.protobuf.Empty) { + option (google.api.http) = { + put: "/v2/example/a_bit_of_everything/{abe.uuid}" + body: "abe" + additional_bindings { + patch: "/v2/example/a_bit_of_everything/{abe.uuid}" + body: "abe" + } + }; + } + rpc PatchWithFieldMaskInBody(UpdateV2Request) returns (google.protobuf.Empty) { + option (google.api.http) = { + patch: "/v2a/example/a_bit_of_everything/{abe.uuid}" + body: "*" + }; + } rpc Delete(sub2.IdMessage) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/example/a_bit_of_everything/{uuid}" }; option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - security: { - security_requirement: { - key: "ApiKeyAuth"; - value: {} - } - security_requirement: { - key: "OAuth2"; - value: { - scope: "read"; - scope: "write"; - } - } - } + security: { + security_requirement: { + key: "ApiKeyAuth"; + value: {} + } + security_requirement: { + key: "OAuth2"; + value: { + scope: "read"; + scope: "write"; + } + } + } }; } rpc GetQuery(ABitOfEverything) returns (google.protobuf.Empty) { @@ -237,11 +324,18 @@ service ABitOfEverythingService { get: "/v1/example/a_bit_of_everything/query/{uuid}" }; option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - deprecated: true // For testing purposes. - external_docs: { - url: "https://github.com/grpc-ecosystem/grpc-gateway"; - description: "Find out more about GetQuery"; - } + deprecated: true // For testing purposes. + external_docs: { + url: "https://github.com/grpc-ecosystem/grpc-gateway"; + description: "Find out more about GetQuery"; + } + security: { + } + }; + } + rpc GetRepeatedQuery(ABitOfEverythingRepeated) returns (ABitOfEverythingRepeated) { + option (google.api.http) = { + get: "/v1/example/a_bit_of_everything_repeated/{path_repeated_float_value}/{path_repeated_double_value}/{path_repeated_int64_value}/{path_repeated_uint64_value}/{path_repeated_int32_value}/{path_repeated_fixed64_value}/{path_repeated_fixed32_value}/{path_repeated_bool_value}/{path_repeated_string_value}/{path_repeated_bytes_value}/{path_repeated_uint32_value}/{path_repeated_enum_value}/{path_repeated_sfixed32_value}/{path_repeated_sfixed64_value}/{path_repeated_sint32_value}/{path_repeated_sint64_value}" }; } // Echo allows posting a StringMessage value. @@ -271,6 +365,24 @@ service ABitOfEverythingService { url: "https://github.com/grpc-ecosystem/grpc-gateway"; description: "Find out more Echo"; } + responses: { + key: "503"; + value: { + description: "Returned when the resource is temporarily unavailable."; + } + } + responses: { + // Overwrites global definition. + key: "404"; + value: { + description: "Returned when the resource does not exist."; + schema: { + json_schema: { + type: INTEGER; + } + } + } + } }; } rpc DeepPathEcho(ABitOfEverything) returns (ABitOfEverything) { @@ -296,20 +408,21 @@ service ABitOfEverythingService { body: "data" }; } - rpc PostWithEmptyBody(Body) returns (google.protobuf.Empty) { - option (google.api.http) = { + rpc PostWithEmptyBody(Body) returns (google.protobuf.Empty) { + option (google.api.http) = { post: "/v2/example/postwithemptybody/{name}", body: "*" }; - } + } } + // camelCase and lowercase service names are valid but not recommended (use TitleCase instead) service camelCaseServiceName { - rpc Empty(google.protobuf.Empty) returns (google.protobuf.Empty) { - option (google.api.http) = { + rpc Empty(google.protobuf.Empty) returns (google.protobuf.Empty) { + option (google.api.http) = { get: "/v2/example/empty", }; - } + } } service AnotherServiceWithNoBindings { rpc NoBindings(google.protobuf.Empty) returns (google.protobuf.Empty) {} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.swagger.json b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.swagger.json index aa7f24790..7ca5c8699 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.swagger.json +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.swagger.json @@ -7,6 +7,10 @@ "name": "gRPC-Gateway project", "url": "https://github.com/grpc-ecosystem/grpc-gateway", "email": "none@example.com" + }, + "license": { + "name": "BSD 3-Clause License", + "url": "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt" } }, "schemes": [ @@ -28,10 +32,26 @@ "operationId": "CreateBody", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbABitOfEverything" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } } }, "parameters": [ @@ -56,10 +76,31 @@ "operationId": "Echo", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/subStringMessage" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "type": "int32", + "format": "integer" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + }, + "503": { + "description": "Returned when the resource is temporarily unavailable.", + "schema": {} } }, "parameters": [ @@ -85,9 +126,25 @@ "operationId": "GetQuery", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -212,6 +269,28 @@ ], "default": "ZERO" }, + { + "name": "path_enum_value", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "ABC", + "DEF" + ], + "default": "ABC" + }, + { + "name": "nested_path_enum_value", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "GHI", + "JKL" + ], + "default": "GHI" + }, { "name": "sfixed32_value", "in": "query", @@ -287,21 +366,40 @@ "ABitOfEverythingService" ], "deprecated": true, + "security": [], "externalDocs": { "description": "Find out more about GetQuery", "url": "https://github.com/grpc-ecosystem/grpc-gateway" } } }, - "/v1/example/a_bit_of_everything/{float_value}/{double_value}/{int64_value}/separator/{uint64_value}/{int32_value}/{fixed64_value}/{fixed32_value}/{bool_value}/{string_value}/{uint32_value}/{sfixed32_value}/{sfixed64_value}/{sint32_value}/{sint64_value}/{nonConventionalNameValue}": { + "/v1/example/a_bit_of_everything/{float_value}/{double_value}/{int64_value}/separator/{uint64_value}/{int32_value}/{fixed64_value}/{fixed32_value}/{bool_value}/{string_value}/{uint32_value}/{sfixed32_value}/{sfixed64_value}/{sint32_value}/{sint64_value}/{nonConventionalNameValue}/{enum_value}/{path_enum_value}/{nested_path_enum_value}": { "post": { + "summary": "Create a new ABitOfEverything", + "description": "This API creates a new ABitOfEverything", "operationId": "Create", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbABitOfEverything" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } } }, "parameters": [ @@ -407,6 +505,36 @@ "in": "path", "required": true, "type": "string" + }, + { + "name": "enum_value", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "ZERO", + "ONE" + ] + }, + { + "name": "path_enum_value", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "ABC", + "DEF" + ] + }, + { + "name": "nested_path_enum_value", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "GHI", + "JKL" + ] } ], "tags": [ @@ -419,15 +547,32 @@ "operationId": "DeepPathEcho", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbABitOfEverything" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } } }, "parameters": [ { "name": "single_nested.name", + "description": "name is nested field.", "in": "path", "required": true, "type": "string" @@ -451,10 +596,26 @@ "operationId": "Lookup", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbABitOfEverything" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } } }, "parameters": [ @@ -473,9 +634,25 @@ "operationId": "Delete", "responses": { "200": { - "description": "", + "description": "A successful response.", + "schema": { + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -504,9 +681,25 @@ "operationId": "Update", "responses": { "200": { - "description": "", + "description": "A successful response.", + "schema": { + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -531,6 +724,329 @@ ] } }, + "/v1/example/a_bit_of_everything_repeated/{path_repeated_float_value}/{path_repeated_double_value}/{path_repeated_int64_value}/{path_repeated_uint64_value}/{path_repeated_int32_value}/{path_repeated_fixed64_value}/{path_repeated_fixed32_value}/{path_repeated_bool_value}/{path_repeated_string_value}/{path_repeated_bytes_value}/{path_repeated_uint32_value}/{path_repeated_enum_value}/{path_repeated_sfixed32_value}/{path_repeated_sfixed64_value}/{path_repeated_sint32_value}/{path_repeated_sint64_value}": { + "get": { + "operationId": "GetRepeatedQuery", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplepbABitOfEverythingRepeated" + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + } + }, + "parameters": [ + { + "name": "path_repeated_float_value", + "description": "repeated values. they are comma-separated in path", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "number", + "format": "float" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_double_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "number", + "format": "double" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_int64_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "format": "int64" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_uint64_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "format": "uint64" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_int32_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_fixed64_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "format": "uint64" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_fixed32_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_bool_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "boolean", + "format": "boolean" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_string_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_bytes_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_uint32_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_enum_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "enum": [ + "ZERO", + "ONE" + ] + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_sfixed32_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_sfixed64_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "format": "int64" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_sint32_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "collectionFormat": "csv", + "minItems": 1 + }, + { + "name": "path_repeated_sint64_value", + "in": "path", + "required": true, + "type": "array", + "items": { + "type": "string", + "format": "int64" + }, + "collectionFormat": "csv", + "minItems": 1 + } + ], + "tags": [ + "ABitOfEverythingService" + ] + } + }, + "/v2/example/a_bit_of_everything/{abe.uuid}": { + "put": { + "operationId": "UpdateV2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + } + }, + "parameters": [ + { + "name": "abe.uuid", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/examplepbABitOfEverything" + } + } + ], + "tags": [ + "ABitOfEverythingService" + ] + }, + "patch": { + "operationId": "UpdateV22", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + } + }, + "parameters": [ + { + "name": "abe.uuid", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/examplepbABitOfEverything" + } + } + ], + "tags": [ + "ABitOfEverythingService" + ] + } + }, "/v2/example/echo": { "get": { "summary": "Summary: Echo rpc", @@ -538,10 +1054,31 @@ "operationId": "Echo3", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/subStringMessage" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "type": "int32", + "format": "integer" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + }, + "503": { + "description": "Returned when the resource is temporarily unavailable.", + "schema": {} } }, "parameters": [ @@ -567,10 +1104,31 @@ "operationId": "Echo2", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/subStringMessage" } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "type": "int32", + "format": "integer" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + }, + "503": { + "description": "Returned when the resource is temporarily unavailable.", + "schema": {} } }, "parameters": [ @@ -598,9 +1156,25 @@ "operationId": "Empty", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -614,9 +1188,25 @@ "operationId": "ErrorWithDetails", "responses": { "200": { - "description": "", + "description": "A successful response.", + "schema": { + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -630,9 +1220,25 @@ "operationId": "PostWithEmptyBody", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -662,9 +1268,25 @@ "operationId": "Timeout", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -678,9 +1300,25 @@ "operationId": "GetMessageWithBody", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/protobufEmpty" + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" } } }, @@ -704,6 +1342,54 @@ "ABitOfEverythingService" ] } + }, + "/v2a/example/a_bit_of_everything/{abe.uuid}": { + "patch": { + "operationId": "PatchWithFieldMaskInBody", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "properties": {} + } + }, + "403": { + "description": "Returned when the user does not have permission to access the resource.", + "schema": {} + }, + "404": { + "description": "Returned when the resource does not exist.", + "schema": { + "format": "string" + } + }, + "418": { + "description": "I'm a teapot.", + "schema": { + "$ref": "#/definitions/examplepbNumericEnum" + } + } + }, + "parameters": [ + { + "name": "abe.uuid", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/examplepbUpdateV2Request" + } + } + ], + "tags": [ + "ABitOfEverythingService" + ] + } } }, "definitions": { @@ -724,6 +1410,14 @@ }, "description": "Nested is nested type." }, + "MessagePathEnumNestedPathEnum": { + "type": "string", + "enum": [ + "GHI", + "JKL" + ], + "default": "GHI" + }, "NestedDeepEnum": { "type": "string", "enum": [ @@ -740,7 +1434,9 @@ "$ref": "#/definitions/ABitOfEverythingNested" }, "uuid": { - "type": "string" + "type": "string", + "minLength": 1, + "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}" }, "nested": { "type": "array", @@ -794,6 +1490,12 @@ "enum_value": { "$ref": "#/definitions/examplepbNumericEnum" }, + "path_enum_value": { + "$ref": "#/definitions/pathenumPathEnum" + }, + "nested_path_enum_value": { + "$ref": "#/definitions/MessagePathEnumNestedPathEnum" + }, "sfixed32_value": { "type": "integer", "format": "int32" @@ -817,7 +1519,7 @@ } }, "oneof_empty": { - "$ref": "#/definitions/protobufEmpty" + "properties": {} }, "oneof_string": { "type": "string" @@ -855,11 +1557,132 @@ "title": "repeated enum value. it is comma-separated in query" } }, - "title": "Intentionaly complicated message type to cover much features of Protobuf.\nNEXT ID: 30", + "description": "Intentionaly complicated message type to cover many features of Protobuf.", + "title": "A bit of everything", "externalDocs": { "description": "Find out more about ABitOfEverything", "url": "https://github.com/grpc-ecosystem/grpc-gateway" - } + }, + "required": [ + "uuid" + ] + }, + "examplepbABitOfEverythingRepeated": { + "type": "object", + "properties": { + "path_repeated_float_value": { + "type": "array", + "items": { + "type": "number", + "format": "float" + }, + "title": "repeated values. they are comma-separated in path" + }, + "path_repeated_double_value": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + }, + "path_repeated_int64_value": { + "type": "array", + "items": { + "type": "string", + "format": "int64" + } + }, + "path_repeated_uint64_value": { + "type": "array", + "items": { + "type": "string", + "format": "uint64" + } + }, + "path_repeated_int32_value": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "path_repeated_fixed64_value": { + "type": "array", + "items": { + "type": "string", + "format": "uint64" + } + }, + "path_repeated_fixed32_value": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "path_repeated_bool_value": { + "type": "array", + "items": { + "type": "boolean", + "format": "boolean" + } + }, + "path_repeated_string_value": { + "type": "array", + "items": { + "type": "string" + } + }, + "path_repeated_bytes_value": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + }, + "path_repeated_uint32_value": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "path_repeated_enum_value": { + "type": "array", + "items": { + "$ref": "#/definitions/examplepbNumericEnum" + } + }, + "path_repeated_sfixed32_value": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "path_repeated_sfixed64_value": { + "type": "array", + "items": { + "type": "string", + "format": "int64" + } + }, + "path_repeated_sint32_value": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "path_repeated_sint64_value": { + "type": "array", + "items": { + "type": "string", + "format": "int64" + } + } + }, + "title": "ABitOfEverythingRepeated is used to validate repeated path parameter functionality" }, "examplepbBody": { "type": "object", @@ -878,10 +1701,39 @@ "default": "ZERO", "description": "NumericEnum is one or zero.\n\n - ZERO: ZERO means 0\n - ONE: ONE means 1" }, - "protobufEmpty": { + "examplepbUpdateV2Request": { "type": "object", - "description": "service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "title": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:" + "properties": { + "abe": { + "$ref": "#/definitions/examplepbABitOfEverything" + }, + "update_mask": { + "$ref": "#/definitions/protobufFieldMask" + } + }, + "title": "UpdateV2Request request for update includes the message and the update mask" + }, + "pathenumPathEnum": { + "type": "string", + "enum": [ + "ABC", + "DEF" + ], + "default": "ABC" + }, + "protobufFieldMask": { + "type": "object", + "properties": { + "paths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of field mask paths." + } + }, + "description": "paths: \"f.a\"\n paths: \"f.b.d\"\n\nHere `f` represents a field in some root message, `a` and `b`\nfields in the message found in `f`, and `d` a field found in the\nmessage in `f.b`.\n\nField masks are used to specify a subset of fields that should be\nreturned by a get operation or modified by an update operation.\nField masks also have a custom JSON encoding (see below).\n\n# Field Masks in Projections\n\nWhen used in the context of a projection, a response message or\nsub-message is filtered by the API to only contain those fields as\nspecified in the mask. For example, if the mask in the previous\nexample is applied to a response message as follows:\n\n f {\n a : 22\n b {\n d : 1\n x : 2\n }\n y : 13\n }\n z: 8\n\nThe result will not contain specific values for fields x,y and z\n(their value will be set to the default, and omitted in proto text\noutput):\n\n\n f {\n a : 22\n b {\n d : 1\n }\n }\n\nA repeated field is not allowed except at the last position of a\npaths string.\n\nIf a FieldMask object is not present in a get operation, the\noperation applies to all fields (as if a FieldMask of all fields\nhad been specified).\n\nNote that a field mask does not necessarily apply to the\ntop-level response message. In case of a REST get operation, the\nfield mask applies directly to the response, but in case of a REST\nlist operation, the mask instead applies to each individual message\nin the returned resource list. In case of a REST custom method,\nother definitions may be used. Where the mask applies will be\nclearly documented together with its declaration in the API. In\nany case, the effect on the returned resource/resources is required\nbehavior for APIs.\n\n# Field Masks in Update Operations\n\nA field mask in update operations specifies which fields of the\ntargeted resource are going to be updated. The API is required\nto only change the values of the fields as specified in the mask\nand leave the others untouched. If a resource is passed in to\ndescribe the updated values, the API ignores the values of all\nfields not covered by the mask.\n\nIf a repeated field is specified for an update operation, the existing\nrepeated values in the target resource will be overwritten by the new values.\nNote that a repeated field is only allowed in the last position of a `paths`\nstring.\n\nIf a sub-message is specified in the last position of the field mask for an\nupdate operation, then the existing sub-message in the target resource is\noverwritten. Given the target message:\n\n f {\n b {\n d : 1\n x : 2\n }\n c : 1\n }\n\nAnd an update message:\n\n f {\n b {\n d : 10\n }\n }\n\nthen if the field mask is:\n\n paths: \"f.b\"\n\nthen the result will be:\n\n f {\n b {\n d : 10\n }\n c : 1\n }\n\nHowever, if the update mask was:\n\n paths: \"f.b.d\"\n\nthen the result would be:\n\n f {\n b {\n d : 10\n x : 2\n }\n c : 1\n }\n\nIn order to reset a field's value to the default, the field must\nbe in the mask and set to the default value in the provided resource.\nHence, in order to reset all fields of a resource, provide a default\ninstance of the resource and set all fields in the mask, or do\nnot provide a mask as described below.\n\nIf a field mask is not present on update, the operation applies to\nall fields (as if a field mask of all fields has been specified).\nNote that in the presence of schema evolution, this may mean that\nfields the client does not know and has therefore not filled into\nthe request will be reset to their default. If this is unwanted\nbehavior, a specific service may require a client to always specify\na field mask, producing an error if not.\n\nAs with get operations, the location of the resource which\ndescribes the updated values in the request message depends on the\noperation kind. In any case, the effect of the field mask is\nrequired to be honored by the API.\n\n## Considerations for HTTP REST\n\nThe HTTP kind of an update operation which uses a field mask must\nbe set to PATCH instead of PUT in order to satisfy HTTP semantics\n(PUT must only be used for full updates).\n\n# JSON Encoding of Field Masks\n\nIn JSON, a field mask is encoded as a single string where paths are\nseparated by a comma. Fields name in each path are converted\nto/from lower-camel naming conventions.\n\nAs an example, consider the following message declarations:\n\n message Profile {\n User user = 1;\n Photo photo = 2;\n }\n message User {\n string display_name = 1;\n string address = 2;\n }\n\nIn proto a field mask for `Profile` may look as such:\n\n mask {\n paths: \"user.display_name\"\n paths: \"photo\"\n }\n\nIn JSON, the same mask is represented as below:\n\n {\n mask: \"user.displayName,photo\"\n }\n\n# Field Masks and Oneof Fields\n\nField masks treat fields in oneofs just as regular fields. Consider the\nfollowing message:\n\n message SampleMessage {\n oneof test_oneof {\n string name = 4;\n SubMessage sub_message = 9;\n }\n }\n\nThe field mask can be:\n\n mask {\n paths: \"name\"\n }\n\nOr:\n\n mask {\n paths: \"sub_message\"\n }\n\nNote that oneof type names (\"test_oneof\" in this case) cannot be used in\npaths.", + "title": "`FieldMask` represents a set of symbolic field paths, for example:" }, "subStringMessage": { "type": "object", diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.go index 42a70d155..da8af13fb 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.go @@ -71,14 +71,16 @@ type isEmbedded_Mark interface { } type Embedded_Progress struct { - Progress int64 `protobuf:"varint,1,opt,name=progress,oneof"` + Progress int64 `protobuf:"varint,1,opt,name=progress,proto3,oneof"` } + type Embedded_Note struct { - Note string `protobuf:"bytes,2,opt,name=note,oneof"` + Note string `protobuf:"bytes,2,opt,name=note,proto3,oneof"` } func (*Embedded_Progress) isEmbedded_Mark() {} -func (*Embedded_Note) isEmbedded_Mark() {} + +func (*Embedded_Note) isEmbedded_Mark() {} func (m *Embedded) GetMark() isEmbedded_Mark { if m != nil { @@ -169,13 +171,13 @@ func _Embedded_OneofSizer(msg proto.Message) (n int) { // SimpleMessage represents a simple message sent to the Echo service. type SimpleMessage struct { // Id represents the message identifier. - Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Num int64 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` // Types that are valid to be assigned to Code: // *SimpleMessage_LineNum // *SimpleMessage_Lang Code isSimpleMessage_Code `protobuf_oneof:"code"` - Status *Embedded `protobuf:"bytes,5,opt,name=status" json:"status,omitempty"` + Status *Embedded `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // Types that are valid to be assigned to Ext: // *SimpleMessage_En // *SimpleMessage_No @@ -209,30 +211,35 @@ func (m *SimpleMessage) XXX_DiscardUnknown() { var xxx_messageInfo_SimpleMessage proto.InternalMessageInfo +func (m *SimpleMessage) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *SimpleMessage) GetNum() int64 { + if m != nil { + return m.Num + } + return 0 +} + type isSimpleMessage_Code interface { isSimpleMessage_Code() } -type isSimpleMessage_Ext interface { - isSimpleMessage_Ext() -} type SimpleMessage_LineNum struct { - LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=lineNum,oneof"` + LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=lineNum,proto3,oneof"` } + type SimpleMessage_Lang struct { - Lang string `protobuf:"bytes,4,opt,name=lang,oneof"` -} -type SimpleMessage_En struct { - En int64 `protobuf:"varint,6,opt,name=en,oneof"` -} -type SimpleMessage_No struct { - No *Embedded `protobuf:"bytes,7,opt,name=no,oneof"` + Lang string `protobuf:"bytes,4,opt,name=lang,proto3,oneof"` } func (*SimpleMessage_LineNum) isSimpleMessage_Code() {} -func (*SimpleMessage_Lang) isSimpleMessage_Code() {} -func (*SimpleMessage_En) isSimpleMessage_Ext() {} -func (*SimpleMessage_No) isSimpleMessage_Ext() {} + +func (*SimpleMessage_Lang) isSimpleMessage_Code() {} func (m *SimpleMessage) GetCode() isSimpleMessage_Code { if m != nil { @@ -240,26 +247,6 @@ func (m *SimpleMessage) GetCode() isSimpleMessage_Code { } return nil } -func (m *SimpleMessage) GetExt() isSimpleMessage_Ext { - if m != nil { - return m.Ext - } - return nil -} - -func (m *SimpleMessage) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *SimpleMessage) GetNum() int64 { - if m != nil { - return m.Num - } - return 0 -} func (m *SimpleMessage) GetLineNum() int64 { if x, ok := m.GetCode().(*SimpleMessage_LineNum); ok { @@ -282,6 +269,29 @@ func (m *SimpleMessage) GetStatus() *Embedded { return nil } +type isSimpleMessage_Ext interface { + isSimpleMessage_Ext() +} + +type SimpleMessage_En struct { + En int64 `protobuf:"varint,6,opt,name=en,proto3,oneof"` +} + +type SimpleMessage_No struct { + No *Embedded `protobuf:"bytes,7,opt,name=no,proto3,oneof"` +} + +func (*SimpleMessage_En) isSimpleMessage_Ext() {} + +func (*SimpleMessage_No) isSimpleMessage_Ext() {} + +func (m *SimpleMessage) GetExt() isSimpleMessage_Ext { + if m != nil { + return m.Ext + } + return nil +} + func (m *SimpleMessage) GetEn() int64 { if x, ok := m.GetExt().(*SimpleMessage_En); ok { return x.En diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.gw.go index 844ef1418..5e9efc9be 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.gw.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.gw.go @@ -272,7 +272,11 @@ func request_EchoService_EchoBody_0(ctx context.Context, marshaler runtime.Marsh var protoReq SimpleMessage var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -308,14 +312,14 @@ func RegisterEchoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.Se defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -329,8 +333,8 @@ func RegisterEchoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn return RegisterEchoServiceHandlerClient(ctx, mux, NewEchoServiceClient(conn)) } -// RegisterEchoServiceHandler registers the http handlers for service EchoService to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "EchoServiceClient". +// RegisterEchoServiceHandlerClient registers the http handlers for service EchoService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EchoServiceClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EchoServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "EchoServiceClient" to call the correct interceptors. @@ -339,15 +343,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("POST", pattern_EchoService_Echo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -368,15 +363,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("GET", pattern_EchoService_Echo_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -397,15 +383,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("GET", pattern_EchoService_Echo_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -426,15 +403,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("GET", pattern_EchoService_Echo_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -455,15 +423,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("GET", pattern_EchoService_Echo_4, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -484,15 +443,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("POST", pattern_EchoService_EchoBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -513,15 +463,6 @@ func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux mux.Handle("DELETE", pattern_EchoService_EchoDelete_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.swagger.json b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.swagger.json index c14354ffb..f1687bccf 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.swagger.json +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.swagger.json @@ -23,7 +23,7 @@ "operationId": "Echo", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } @@ -32,6 +32,7 @@ "parameters": [ { "name": "id", + "description": "Id represents the message identifier.", "in": "path", "required": true, "type": "string" @@ -49,7 +50,7 @@ "operationId": "Echo2", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } @@ -58,6 +59,7 @@ "parameters": [ { "name": "id", + "description": "Id represents the message identifier.", "in": "path", "required": true, "type": "string" @@ -128,7 +130,7 @@ "operationId": "Echo3", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } @@ -137,6 +139,7 @@ "parameters": [ { "name": "id", + "description": "Id represents the message identifier.", "in": "path", "required": true, "type": "string" @@ -207,7 +210,7 @@ "operationId": "Echo4", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } @@ -216,6 +219,7 @@ "parameters": [ { "name": "id", + "description": "Id represents the message identifier.", "in": "path", "required": true, "type": "string" @@ -280,7 +284,7 @@ "operationId": "Echo5", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } @@ -353,7 +357,7 @@ "operationId": "EchoBody", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } @@ -380,7 +384,7 @@ "operationId": "EchoDelete", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbSimpleMessage" } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.go index 55be4381b..25e2b775e 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.go @@ -55,9 +55,9 @@ func (m *EmptyProto) XXX_DiscardUnknown() { var xxx_messageInfo_EmptyProto proto.InternalMessageInfo type NonEmptyProto struct { - A string `protobuf:"bytes,1,opt,name=a" json:"a,omitempty"` - B string `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"` - C string `protobuf:"bytes,3,opt,name=c" json:"c,omitempty"` + A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` + B string `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` + C string `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -109,7 +109,7 @@ func (m *NonEmptyProto) GetC() string { } type UnaryProto struct { - Str string `protobuf:"bytes,1,opt,name=str" json:"str,omitempty"` + Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -147,9 +147,9 @@ func (m *UnaryProto) GetStr() string { } type NestedProto struct { - A *UnaryProto `protobuf:"bytes,1,opt,name=a" json:"a,omitempty"` - B string `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"` - C string `protobuf:"bytes,3,opt,name=c" json:"c,omitempty"` + A *UnaryProto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` + B string `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` + C string `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -201,7 +201,7 @@ func (m *NestedProto) GetC() string { } type SingleNestedProto struct { - A *UnaryProto `protobuf:"bytes,1,opt,name=a" json:"a,omitempty"` + A *UnaryProto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.gw.go index 9bc328898..b4ae06a19 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.gw.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.gw.go @@ -58,10 +58,14 @@ func request_FlowCombination_StreamEmptyRpc_0(ctx context.Context, marshaler run var metadata runtime.ServerMetadata stream, err := client.StreamEmptyRpc(ctx) if err != nil { - grpclog.Printf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } - dec := marshaler.NewDecoder(req.Body) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + dec := marshaler.NewDecoder(newReader()) for { var protoReq EmptyProto err = dec.Decode(&protoReq) @@ -69,22 +73,22 @@ func request_FlowCombination_StreamEmptyRpc_0(ctx context.Context, marshaler run break } if err != nil { - grpclog.Printf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { - grpclog.Printf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Printf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Printf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -99,10 +103,14 @@ func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler var metadata runtime.ServerMetadata stream, err := client.StreamEmptyStream(ctx) if err != nil { - grpclog.Printf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } - dec := marshaler.NewDecoder(req.Body) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, berr + } + dec := marshaler.NewDecoder(newReader()) handleSend := func() error { var protoReq EmptyProto err := dec.Decode(&protoReq) @@ -110,18 +118,18 @@ func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler return err } if err != nil { - grpclog.Printf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Printf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil } if err := handleSend(); err != nil { if cerr := stream.CloseSend(); cerr != nil { - grpclog.Printf("Failed to terminate client stream: %v", cerr) + grpclog.Infof("Failed to terminate client stream: %v", cerr) } if err == io.EOF { return stream, metadata, nil @@ -135,12 +143,12 @@ func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler } } if err := stream.CloseSend(); err != nil { - grpclog.Printf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Printf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -151,7 +159,11 @@ func request_FlowCombination_RpcBodyRpc_0(ctx context.Context, marshaler runtime var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -230,7 +242,11 @@ func request_FlowCombination_RpcBodyRpc_3(ctx context.Context, marshaler runtime var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -276,7 +292,11 @@ func request_FlowCombination_RpcBodyRpc_4(ctx context.Context, marshaler runtime var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -297,7 +317,11 @@ func request_FlowCombination_RpcBodyRpc_5(ctx context.Context, marshaler runtime var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -406,7 +430,11 @@ func request_FlowCombination_RpcPathNestedRpc_0(ctx context.Context, marshaler r var protoReq NestedProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -491,7 +519,11 @@ func request_FlowCombination_RpcPathNestedRpc_2(ctx context.Context, marshaler r var protoReq NestedProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -526,7 +558,11 @@ func request_FlowCombination_RpcBodyStream_0(ctx context.Context, marshaler runt var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -629,7 +665,11 @@ func request_FlowCombination_RpcBodyStream_3(ctx context.Context, marshaler runt var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -683,7 +723,11 @@ func request_FlowCombination_RpcBodyStream_4(ctx context.Context, marshaler runt var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -712,7 +756,11 @@ func request_FlowCombination_RpcBodyStream_5(ctx context.Context, marshaler runt var protoReq NonEmptyProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -845,7 +893,11 @@ func request_FlowCombination_RpcPathNestedStream_0(ctx context.Context, marshale var protoReq NestedProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -946,7 +998,11 @@ func request_FlowCombination_RpcPathNestedStream_2(ctx context.Context, marshale var protoReq NestedProto var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.C); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.C); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -995,14 +1051,14 @@ func RegisterFlowCombinationHandlerFromEndpoint(ctx context.Context, mux *runtim defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -1016,8 +1072,8 @@ func RegisterFlowCombinationHandler(ctx context.Context, mux *runtime.ServeMux, return RegisterFlowCombinationHandlerClient(ctx, mux, NewFlowCombinationClient(conn)) } -// RegisterFlowCombinationHandler registers the http handlers for service FlowCombination to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "FlowCombinationClient". +// RegisterFlowCombinationHandlerClient registers the http handlers for service FlowCombination +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FlowCombinationClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FlowCombinationClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "FlowCombinationClient" to call the correct interceptors. @@ -1026,15 +1082,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcEmptyRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1055,15 +1102,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcEmptyStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1084,15 +1122,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_StreamEmptyRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1113,15 +1142,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_StreamEmptyStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1142,15 +1162,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1171,15 +1182,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1200,15 +1202,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1229,15 +1222,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1258,15 +1242,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_4, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1287,15 +1262,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_5, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1316,15 +1282,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyRpc_6, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1345,15 +1302,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathSingleNestedRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1374,15 +1322,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathNestedRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1403,15 +1342,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathNestedRpc_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1432,15 +1362,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathNestedRpc_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1461,15 +1382,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1490,15 +1402,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1519,15 +1422,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1548,15 +1442,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1577,15 +1462,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_4, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1606,15 +1482,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_5, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1635,15 +1502,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_6, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1664,15 +1522,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathSingleNestedStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1693,15 +1542,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathNestedStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1722,15 +1562,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathNestedStream_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -1751,15 +1582,6 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_FlowCombination_RpcPathNestedStream_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.go new file mode 100644 index 000000000..fcad76e58 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.go @@ -0,0 +1,242 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: examples/proto/examplepb/response_body_service.proto + +package examplepb + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +type ResponseBodyIn struct { + Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResponseBodyIn) Reset() { *m = ResponseBodyIn{} } +func (m *ResponseBodyIn) String() string { return proto.CompactTextString(m) } +func (*ResponseBodyIn) ProtoMessage() {} +func (*ResponseBodyIn) Descriptor() ([]byte, []int) { + return fileDescriptor_response_body_service_5010ebf28bf7b965, []int{0} +} +func (m *ResponseBodyIn) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResponseBodyIn.Unmarshal(m, b) +} +func (m *ResponseBodyIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResponseBodyIn.Marshal(b, m, deterministic) +} +func (dst *ResponseBodyIn) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResponseBodyIn.Merge(dst, src) +} +func (m *ResponseBodyIn) XXX_Size() int { + return xxx_messageInfo_ResponseBodyIn.Size(m) +} +func (m *ResponseBodyIn) XXX_DiscardUnknown() { + xxx_messageInfo_ResponseBodyIn.DiscardUnknown(m) +} + +var xxx_messageInfo_ResponseBodyIn proto.InternalMessageInfo + +func (m *ResponseBodyIn) GetData() string { + if m != nil { + return m.Data + } + return "" +} + +type ResponseBodyOut struct { + Response *ResponseBodyOut_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResponseBodyOut) Reset() { *m = ResponseBodyOut{} } +func (m *ResponseBodyOut) String() string { return proto.CompactTextString(m) } +func (*ResponseBodyOut) ProtoMessage() {} +func (*ResponseBodyOut) Descriptor() ([]byte, []int) { + return fileDescriptor_response_body_service_5010ebf28bf7b965, []int{1} +} +func (m *ResponseBodyOut) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResponseBodyOut.Unmarshal(m, b) +} +func (m *ResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResponseBodyOut.Marshal(b, m, deterministic) +} +func (dst *ResponseBodyOut) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResponseBodyOut.Merge(dst, src) +} +func (m *ResponseBodyOut) XXX_Size() int { + return xxx_messageInfo_ResponseBodyOut.Size(m) +} +func (m *ResponseBodyOut) XXX_DiscardUnknown() { + xxx_messageInfo_ResponseBodyOut.DiscardUnknown(m) +} + +var xxx_messageInfo_ResponseBodyOut proto.InternalMessageInfo + +func (m *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response { + if m != nil { + return m.Response + } + return nil +} + +type ResponseBodyOut_Response struct { + Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResponseBodyOut_Response) Reset() { *m = ResponseBodyOut_Response{} } +func (m *ResponseBodyOut_Response) String() string { return proto.CompactTextString(m) } +func (*ResponseBodyOut_Response) ProtoMessage() {} +func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int) { + return fileDescriptor_response_body_service_5010ebf28bf7b965, []int{1, 0} +} +func (m *ResponseBodyOut_Response) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResponseBodyOut_Response.Unmarshal(m, b) +} +func (m *ResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResponseBodyOut_Response.Marshal(b, m, deterministic) +} +func (dst *ResponseBodyOut_Response) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResponseBodyOut_Response.Merge(dst, src) +} +func (m *ResponseBodyOut_Response) XXX_Size() int { + return xxx_messageInfo_ResponseBodyOut_Response.Size(m) +} +func (m *ResponseBodyOut_Response) XXX_DiscardUnknown() { + xxx_messageInfo_ResponseBodyOut_Response.DiscardUnknown(m) +} + +var xxx_messageInfo_ResponseBodyOut_Response proto.InternalMessageInfo + +func (m *ResponseBodyOut_Response) GetData() string { + if m != nil { + return m.Data + } + return "" +} + +func init() { + proto.RegisterType((*ResponseBodyIn)(nil), "grpc.gateway.examples.examplepb.ResponseBodyIn") + proto.RegisterType((*ResponseBodyOut)(nil), "grpc.gateway.examples.examplepb.ResponseBodyOut") + proto.RegisterType((*ResponseBodyOut_Response)(nil), "grpc.gateway.examples.examplepb.ResponseBodyOut.Response") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ResponseBodyServiceClient is the client API for ResponseBodyService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ResponseBodyServiceClient interface { + GetResponseBody(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*ResponseBodyOut, error) +} + +type responseBodyServiceClient struct { + cc *grpc.ClientConn +} + +func NewResponseBodyServiceClient(cc *grpc.ClientConn) ResponseBodyServiceClient { + return &responseBodyServiceClient{cc} +} + +func (c *responseBodyServiceClient) GetResponseBody(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*ResponseBodyOut, error) { + out := new(ResponseBodyOut) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ResponseBodyService/GetResponseBody", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ResponseBodyServiceServer is the server API for ResponseBodyService service. +type ResponseBodyServiceServer interface { + GetResponseBody(context.Context, *ResponseBodyIn) (*ResponseBodyOut, error) +} + +func RegisterResponseBodyServiceServer(s *grpc.Server, srv ResponseBodyServiceServer) { + s.RegisterService(&_ResponseBodyService_serviceDesc, srv) +} + +func _ResponseBodyService_GetResponseBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResponseBodyIn) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResponseBodyServiceServer).GetResponseBody(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.ResponseBodyService/GetResponseBody", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResponseBodyServiceServer).GetResponseBody(ctx, req.(*ResponseBodyIn)) + } + return interceptor(ctx, in, info, handler) +} + +var _ResponseBodyService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "grpc.gateway.examples.examplepb.ResponseBodyService", + HandlerType: (*ResponseBodyServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetResponseBody", + Handler: _ResponseBodyService_GetResponseBody_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "examples/proto/examplepb/response_body_service.proto", +} + +func init() { + proto.RegisterFile("examples/proto/examplepb/response_body_service.proto", fileDescriptor_response_body_service_5010ebf28bf7b965) +} + +var fileDescriptor_response_body_service_5010ebf28bf7b965 = []byte{ + // 257 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xad, 0x48, 0xcc, + 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x87, 0x72, 0x0b, 0x92, 0xf4, + 0x8b, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0xe3, 0x93, 0xf2, 0x53, 0x2a, 0xe3, 0x8b, 0x53, + 0x8b, 0xca, 0x32, 0x93, 0x53, 0xf5, 0xc0, 0xaa, 0x84, 0xe4, 0xd3, 0x8b, 0x0a, 0x92, 0xf5, 0xd2, + 0x13, 0x4b, 0x52, 0xcb, 0x13, 0x2b, 0xf5, 0x60, 0x46, 0xe8, 0xc1, 0x35, 0x4b, 0xc9, 0xa4, 0xe7, + 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x27, 0x16, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, + 0x64, 0xe6, 0xe7, 0x15, 0x43, 0xb4, 0x2b, 0xa9, 0x70, 0xf1, 0x05, 0x41, 0x4d, 0x77, 0xca, 0x4f, + 0xa9, 0xf4, 0xcc, 0x13, 0x12, 0xe2, 0x62, 0x49, 0x49, 0x2c, 0x49, 0x94, 0x60, 0x54, 0x60, 0xd4, + 0xe0, 0x0c, 0x02, 0xb3, 0x95, 0x3a, 0x18, 0xb9, 0xf8, 0x91, 0x95, 0xf9, 0x97, 0x96, 0x08, 0x85, + 0x72, 0x71, 0xc0, 0xdc, 0x25, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x6d, 0x64, 0xa9, 0x47, 0xc0, 0x2d, + 0x7a, 0x68, 0x66, 0xc0, 0xf9, 0x41, 0x70, 0xa3, 0xa4, 0xe4, 0xb8, 0x38, 0x60, 0xa2, 0xd8, 0x9c, + 0x62, 0xb4, 0x85, 0x91, 0x4b, 0x18, 0xd9, 0x98, 0x60, 0x48, 0x68, 0x08, 0xcd, 0x61, 0xe4, 0xe2, + 0x77, 0x4f, 0x2d, 0x41, 0x96, 0x12, 0xd2, 0x27, 0xc9, 0x41, 0x9e, 0x79, 0x52, 0x06, 0xa4, 0xfa, + 0x40, 0x49, 0xad, 0xe9, 0xf2, 0x93, 0xc9, 0x4c, 0x0a, 0x42, 0x22, 0xf0, 0x48, 0x02, 0xc5, 0x91, + 0x7e, 0x35, 0xc8, 0xad, 0xb5, 0x49, 0x70, 0x6f, 0x39, 0x71, 0x47, 0x71, 0xc2, 0x0d, 0x49, 0x62, + 0x03, 0x87, 0xbd, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x4a, 0x08, 0x5b, 0xf2, 0x01, 0x00, + 0x00, +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.gw.go new file mode 100644 index 000000000..41480f44b --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.gw.go @@ -0,0 +1,134 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: examples/proto/examplepb/response_body_service.proto + +/* +Package examplepb is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package examplepb + +import ( + "io" + "net/http" + + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "golang.org/x/net/context" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/status" +) + +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray + +func request_ResponseBodyService_GetResponseBody_0(ctx context.Context, marshaler runtime.Marshaler, client ResponseBodyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ResponseBodyIn + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["data"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "data") + } + + protoReq.Data, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "data", err) + } + + msg, err := client.GetResponseBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +// RegisterResponseBodyServiceHandlerFromEndpoint is same as RegisterResponseBodyServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterResponseBodyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterResponseBodyServiceHandler(ctx, mux, conn) +} + +// RegisterResponseBodyServiceHandler registers the http handlers for service ResponseBodyService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterResponseBodyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterResponseBodyServiceHandlerClient(ctx, mux, NewResponseBodyServiceClient(conn)) +} + +// RegisterResponseBodyServiceHandlerClient registers the http handlers for service ResponseBodyService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResponseBodyServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResponseBodyServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "ResponseBodyServiceClient" to call the correct interceptors. +func RegisterResponseBodyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResponseBodyServiceClient) error { + + mux.Handle("GET", pattern_ResponseBodyService_GetResponseBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ResponseBodyService_GetResponseBody_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ResponseBodyService_GetResponseBody_0(ctx, mux, outboundMarshaler, w, req, response_ResponseBodyService_GetResponseBody_0{resp}, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +type response_ResponseBodyService_GetResponseBody_0 struct { + proto.Message +} + +func (m response_ResponseBodyService_GetResponseBody_0) XXX_ResponseBody() interface{} { + response := m.Message.(*ResponseBodyOut) + return response.Response +} + +var ( + pattern_ResponseBodyService_GetResponseBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1}, []string{"responsebody", "data"}, "")) +) + +var ( + forward_ResponseBodyService_GetResponseBody_0 = runtime.ForwardResponseMessage +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.proto new file mode 100644 index 000000000..65d430e34 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +option go_package = "examplepb"; + +package grpc.gateway.examples.examplepb; + +import "google/api/annotations.proto"; + +message ResponseBodyIn { + string data = 1; +} + +message ResponseBodyOut { + message Response { + string data = 1; + } + Response response = 2; +} + +service ResponseBodyService { + rpc GetResponseBody(ResponseBodyIn) returns (ResponseBodyOut) { + option (google.api.http) = { + get: "/responsebody/{data}" + response_body: "response" + }; + } +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.swagger.json b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.swagger.json new file mode 100644 index 000000000..c13e7646b --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.swagger.json @@ -0,0 +1,61 @@ +{ + "swagger": "2.0", + "info": { + "title": "examples/proto/examplepb/response_body_service.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/responsebody/{data}": { + "get": { + "operationId": "GetResponseBody", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/examplepbResponseBodyOutResponse" + } + } + }, + "parameters": [ + { + "name": "data", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "ResponseBodyService" + ] + } + } + }, + "definitions": { + "examplepbResponseBodyOut": { + "type": "object", + "properties": { + "response": { + "$ref": "#/definitions/examplepbResponseBodyOutResponse" + } + } + }, + "examplepbResponseBodyOutResponse": { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + } +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.gw.go index 642d59a28..f43c517b1 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.gw.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.gw.go @@ -34,10 +34,14 @@ func request_StreamService_BulkCreate_0(ctx context.Context, marshaler runtime.M var metadata runtime.ServerMetadata stream, err := client.BulkCreate(ctx) if err != nil { - grpclog.Printf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } - dec := marshaler.NewDecoder(req.Body) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + dec := marshaler.NewDecoder(newReader()) for { var protoReq ABitOfEverything err = dec.Decode(&protoReq) @@ -45,22 +49,22 @@ func request_StreamService_BulkCreate_0(ctx context.Context, marshaler runtime.M break } if err != nil { - grpclog.Printf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { - grpclog.Printf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Printf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Printf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -92,10 +96,14 @@ func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Mar var metadata runtime.ServerMetadata stream, err := client.BulkEcho(ctx) if err != nil { - grpclog.Printf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } - dec := marshaler.NewDecoder(req.Body) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, berr + } + dec := marshaler.NewDecoder(newReader()) handleSend := func() error { var protoReq sub.StringMessage err := dec.Decode(&protoReq) @@ -103,18 +111,18 @@ func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Mar return err } if err != nil { - grpclog.Printf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Printf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil } if err := handleSend(); err != nil { if cerr := stream.CloseSend(); cerr != nil { - grpclog.Printf("Failed to terminate client stream: %v", cerr) + grpclog.Infof("Failed to terminate client stream: %v", cerr) } if err == io.EOF { return stream, metadata, nil @@ -128,12 +136,12 @@ func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Mar } } if err := stream.CloseSend(); err != nil { - grpclog.Printf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Printf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -150,14 +158,14 @@ func RegisterStreamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime. defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -171,8 +179,8 @@ func RegisterStreamServiceHandler(ctx context.Context, mux *runtime.ServeMux, co return RegisterStreamServiceHandlerClient(ctx, mux, NewStreamServiceClient(conn)) } -// RegisterStreamServiceHandler registers the http handlers for service StreamService to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "StreamServiceClient". +// RegisterStreamServiceHandlerClient registers the http handlers for service StreamService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "StreamServiceClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "StreamServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "StreamServiceClient" to call the correct interceptors. @@ -181,15 +189,6 @@ func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeM mux.Handle("POST", pattern_StreamService_BulkCreate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -210,15 +209,6 @@ func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeM mux.Handle("GET", pattern_StreamService_List_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -239,15 +229,6 @@ func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeM mux.Handle("POST", pattern_StreamService_BulkEcho_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.go index 733ab6e81..28f0d7311 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.go @@ -37,9 +37,9 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // UnannotatedSimpleMessage represents a simple message sent to the unannotated Echo service. type UnannotatedSimpleMessage struct { // Id represents the message identifier. - Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Num int64 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` - Duration *duration.Duration `protobuf:"bytes,3,opt,name=duration" json:"duration,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` + Duration *duration.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.gw.go index 65007db69..01764c0f9 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.gw.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.gw.go @@ -113,7 +113,11 @@ func request_UnannotatedEchoService_EchoBody_0(ctx context.Context, marshaler ru var protoReq UnannotatedSimpleMessage var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -149,14 +153,14 @@ func RegisterUnannotatedEchoServiceHandlerFromEndpoint(ctx context.Context, mux defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -170,8 +174,8 @@ func RegisterUnannotatedEchoServiceHandler(ctx context.Context, mux *runtime.Ser return RegisterUnannotatedEchoServiceHandlerClient(ctx, mux, NewUnannotatedEchoServiceClient(conn)) } -// RegisterUnannotatedEchoServiceHandler registers the http handlers for service UnannotatedEchoService to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "UnannotatedEchoServiceClient". +// RegisterUnannotatedEchoServiceHandlerClient registers the http handlers for service UnannotatedEchoService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UnannotatedEchoServiceClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UnannotatedEchoServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "UnannotatedEchoServiceClient" to call the correct interceptors. @@ -180,15 +184,6 @@ func RegisterUnannotatedEchoServiceHandlerClient(ctx context.Context, mux *runti mux.Handle("POST", pattern_UnannotatedEchoService_Echo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -209,15 +204,6 @@ func RegisterUnannotatedEchoServiceHandlerClient(ctx context.Context, mux *runti mux.Handle("GET", pattern_UnannotatedEchoService_Echo_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -238,15 +224,6 @@ func RegisterUnannotatedEchoServiceHandlerClient(ctx context.Context, mux *runti mux.Handle("POST", pattern_UnannotatedEchoService_EchoBody_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -267,15 +244,6 @@ func RegisterUnannotatedEchoServiceHandlerClient(ctx context.Context, mux *runti mux.Handle("DELETE", pattern_UnannotatedEchoService_EchoDelete_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.swagger.json b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.swagger.json index 9bfa9f28b..488259850 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.swagger.json +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.swagger.json @@ -23,7 +23,7 @@ "operationId": "Echo", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbUnannotatedSimpleMessage" } @@ -32,6 +32,7 @@ "parameters": [ { "name": "id", + "description": "Id represents the message identifier.", "in": "path", "required": true, "type": "string" @@ -49,7 +50,7 @@ "operationId": "Echo2", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbUnannotatedSimpleMessage" } @@ -58,6 +59,7 @@ "parameters": [ { "name": "id", + "description": "Id represents the message identifier.", "in": "path", "required": true, "type": "string" @@ -87,7 +89,7 @@ "operationId": "EchoBody", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbUnannotatedSimpleMessage" } @@ -114,7 +116,7 @@ "operationId": "EchoDelete", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbUnannotatedSimpleMessage" } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.go index a5065f9d3..0b0616ee6 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.go @@ -6,6 +6,7 @@ package examplepb import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" import wrappers "github.com/golang/protobuf/ptypes/wrappers" import _ "google.golang.org/genproto/googleapis/api/annotations" @@ -26,12 +27,15 @@ var _ = math.Inf const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type Wrappers struct { - StringValue *wrappers.StringValue `protobuf:"bytes,1,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` - Int32Value *wrappers.Int32Value `protobuf:"bytes,2,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"` - Int64Value *wrappers.Int64Value `protobuf:"bytes,3,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"` - FloatValue *wrappers.FloatValue `protobuf:"bytes,4,opt,name=float_value,json=floatValue" json:"float_value,omitempty"` - DoubleValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` - BoolValue *wrappers.BoolValue `protobuf:"bytes,6,opt,name=bool_value,json=boolValue" json:"bool_value,omitempty"` + StringValue *wrappers.StringValue `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` + Int32Value *wrappers.Int32Value `protobuf:"bytes,2,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` + Int64Value *wrappers.Int64Value `protobuf:"bytes,3,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` + FloatValue *wrappers.FloatValue `protobuf:"bytes,4,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` + DoubleValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` + BoolValue *wrappers.BoolValue `protobuf:"bytes,6,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` + Uint32Value *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` + Uint64Value *wrappers.UInt64Value `protobuf:"bytes,8,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` + BytesValue *wrappers.BytesValue `protobuf:"bytes,9,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -41,7 +45,7 @@ func (m *Wrappers) Reset() { *m = Wrappers{} } func (m *Wrappers) String() string { return proto.CompactTextString(m) } func (*Wrappers) ProtoMessage() {} func (*Wrappers) Descriptor() ([]byte, []int) { - return fileDescriptor_wrappers_c39e75a579a3cddc, []int{0} + return fileDescriptor_wrappers_3d2e9c7780d635b4, []int{0} } func (m *Wrappers) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Wrappers.Unmarshal(m, b) @@ -103,6 +107,27 @@ func (m *Wrappers) GetBoolValue() *wrappers.BoolValue { return nil } +func (m *Wrappers) GetUint32Value() *wrappers.UInt32Value { + if m != nil { + return m.Uint32Value + } + return nil +} + +func (m *Wrappers) GetUint64Value() *wrappers.UInt64Value { + if m != nil { + return m.Uint64Value + } + return nil +} + +func (m *Wrappers) GetBytesValue() *wrappers.BytesValue { + if m != nil { + return m.BytesValue + } + return nil +} + func init() { proto.RegisterType((*Wrappers)(nil), "grpc.gateway.examples.examplepb.Wrappers") } @@ -120,6 +145,16 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type WrappersServiceClient interface { Create(ctx context.Context, in *Wrappers, opts ...grpc.CallOption) (*Wrappers, error) + CreateStringValue(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error) + CreateInt32Value(ctx context.Context, in *wrappers.Int32Value, opts ...grpc.CallOption) (*wrappers.Int32Value, error) + CreateInt64Value(ctx context.Context, in *wrappers.Int64Value, opts ...grpc.CallOption) (*wrappers.Int64Value, error) + CreateFloatValue(ctx context.Context, in *wrappers.FloatValue, opts ...grpc.CallOption) (*wrappers.FloatValue, error) + CreateDoubleValue(ctx context.Context, in *wrappers.DoubleValue, opts ...grpc.CallOption) (*wrappers.DoubleValue, error) + CreateBoolValue(ctx context.Context, in *wrappers.BoolValue, opts ...grpc.CallOption) (*wrappers.BoolValue, error) + CreateUInt32Value(ctx context.Context, in *wrappers.UInt32Value, opts ...grpc.CallOption) (*wrappers.UInt32Value, error) + CreateUInt64Value(ctx context.Context, in *wrappers.UInt64Value, opts ...grpc.CallOption) (*wrappers.UInt64Value, error) + CreateBytesValue(ctx context.Context, in *wrappers.BytesValue, opts ...grpc.CallOption) (*wrappers.BytesValue, error) + CreateEmpty(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) } type wrappersServiceClient struct { @@ -139,9 +174,109 @@ func (c *wrappersServiceClient) Create(ctx context.Context, in *Wrappers, opts . return out, nil } +func (c *wrappersServiceClient) CreateStringValue(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error) { + out := new(wrappers.StringValue) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateStringValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateInt32Value(ctx context.Context, in *wrappers.Int32Value, opts ...grpc.CallOption) (*wrappers.Int32Value, error) { + out := new(wrappers.Int32Value) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateInt32Value", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateInt64Value(ctx context.Context, in *wrappers.Int64Value, opts ...grpc.CallOption) (*wrappers.Int64Value, error) { + out := new(wrappers.Int64Value) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateInt64Value", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateFloatValue(ctx context.Context, in *wrappers.FloatValue, opts ...grpc.CallOption) (*wrappers.FloatValue, error) { + out := new(wrappers.FloatValue) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateFloatValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateDoubleValue(ctx context.Context, in *wrappers.DoubleValue, opts ...grpc.CallOption) (*wrappers.DoubleValue, error) { + out := new(wrappers.DoubleValue) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateDoubleValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateBoolValue(ctx context.Context, in *wrappers.BoolValue, opts ...grpc.CallOption) (*wrappers.BoolValue, error) { + out := new(wrappers.BoolValue) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateBoolValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateUInt32Value(ctx context.Context, in *wrappers.UInt32Value, opts ...grpc.CallOption) (*wrappers.UInt32Value, error) { + out := new(wrappers.UInt32Value) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateUInt32Value", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateUInt64Value(ctx context.Context, in *wrappers.UInt64Value, opts ...grpc.CallOption) (*wrappers.UInt64Value, error) { + out := new(wrappers.UInt64Value) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateUInt64Value", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateBytesValue(ctx context.Context, in *wrappers.BytesValue, opts ...grpc.CallOption) (*wrappers.BytesValue, error) { + out := new(wrappers.BytesValue) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateBytesValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *wrappersServiceClient) CreateEmpty(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/CreateEmpty", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // WrappersServiceServer is the server API for WrappersService service. type WrappersServiceServer interface { Create(context.Context, *Wrappers) (*Wrappers, error) + CreateStringValue(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error) + CreateInt32Value(context.Context, *wrappers.Int32Value) (*wrappers.Int32Value, error) + CreateInt64Value(context.Context, *wrappers.Int64Value) (*wrappers.Int64Value, error) + CreateFloatValue(context.Context, *wrappers.FloatValue) (*wrappers.FloatValue, error) + CreateDoubleValue(context.Context, *wrappers.DoubleValue) (*wrappers.DoubleValue, error) + CreateBoolValue(context.Context, *wrappers.BoolValue) (*wrappers.BoolValue, error) + CreateUInt32Value(context.Context, *wrappers.UInt32Value) (*wrappers.UInt32Value, error) + CreateUInt64Value(context.Context, *wrappers.UInt64Value) (*wrappers.UInt64Value, error) + CreateBytesValue(context.Context, *wrappers.BytesValue) (*wrappers.BytesValue, error) + CreateEmpty(context.Context, *empty.Empty) (*empty.Empty, error) } func RegisterWrappersServiceServer(s *grpc.Server, srv WrappersServiceServer) { @@ -166,6 +301,186 @@ func _WrappersService_Create_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _WrappersService_CreateStringValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.StringValue) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateStringValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateStringValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateStringValue(ctx, req.(*wrappers.StringValue)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateInt32Value_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.Int32Value) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateInt32Value(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateInt32Value", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateInt32Value(ctx, req.(*wrappers.Int32Value)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateInt64Value_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.Int64Value) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateInt64Value(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateInt64Value", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateInt64Value(ctx, req.(*wrappers.Int64Value)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateFloatValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.FloatValue) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateFloatValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateFloatValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateFloatValue(ctx, req.(*wrappers.FloatValue)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateDoubleValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.DoubleValue) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateDoubleValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateDoubleValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateDoubleValue(ctx, req.(*wrappers.DoubleValue)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateBoolValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.BoolValue) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateBoolValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateBoolValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateBoolValue(ctx, req.(*wrappers.BoolValue)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateUInt32Value_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.UInt32Value) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateUInt32Value(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateUInt32Value", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateUInt32Value(ctx, req.(*wrappers.UInt32Value)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateUInt64Value_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.UInt64Value) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateUInt64Value(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateUInt64Value", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateUInt64Value(ctx, req.(*wrappers.UInt64Value)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateBytesValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrappers.BytesValue) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateBytesValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateBytesValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateBytesValue(ctx, req.(*wrappers.BytesValue)) + } + return interceptor(ctx, in, info, handler) +} + +func _WrappersService_CreateEmpty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(empty.Empty) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WrappersServiceServer).CreateEmpty(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/CreateEmpty", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WrappersServiceServer).CreateEmpty(ctx, req.(*empty.Empty)) + } + return interceptor(ctx, in, info, handler) +} + var _WrappersService_serviceDesc = grpc.ServiceDesc{ ServiceName: "grpc.gateway.examples.examplepb.WrappersService", HandlerType: (*WrappersServiceServer)(nil), @@ -174,36 +489,92 @@ var _WrappersService_serviceDesc = grpc.ServiceDesc{ MethodName: "Create", Handler: _WrappersService_Create_Handler, }, + { + MethodName: "CreateStringValue", + Handler: _WrappersService_CreateStringValue_Handler, + }, + { + MethodName: "CreateInt32Value", + Handler: _WrappersService_CreateInt32Value_Handler, + }, + { + MethodName: "CreateInt64Value", + Handler: _WrappersService_CreateInt64Value_Handler, + }, + { + MethodName: "CreateFloatValue", + Handler: _WrappersService_CreateFloatValue_Handler, + }, + { + MethodName: "CreateDoubleValue", + Handler: _WrappersService_CreateDoubleValue_Handler, + }, + { + MethodName: "CreateBoolValue", + Handler: _WrappersService_CreateBoolValue_Handler, + }, + { + MethodName: "CreateUInt32Value", + Handler: _WrappersService_CreateUInt32Value_Handler, + }, + { + MethodName: "CreateUInt64Value", + Handler: _WrappersService_CreateUInt64Value_Handler, + }, + { + MethodName: "CreateBytesValue", + Handler: _WrappersService_CreateBytesValue_Handler, + }, + { + MethodName: "CreateEmpty", + Handler: _WrappersService_CreateEmpty_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "examples/proto/examplepb/wrappers.proto", } func init() { - proto.RegisterFile("examples/proto/examplepb/wrappers.proto", fileDescriptor_wrappers_c39e75a579a3cddc) -} - -var fileDescriptor_wrappers_c39e75a579a3cddc = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd2, 0xcf, 0x4a, 0x3b, 0x31, - 0x10, 0x07, 0x70, 0xb6, 0xfd, 0xfd, 0x8a, 0xcd, 0x0a, 0xc2, 0xe2, 0x41, 0xd7, 0x62, 0xa5, 0x17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56, 0xc0, 0x2c, 0xea, 0x7f, 0x2b, 0xf4, 0x55, 0x91, 0x41, - 0x3d, 0x2e, 0xeb, 0x62, 0xf5, 0x11, 0x4c, 0xb8, 0x12, 0xc8, 0xff, 0xaf, 0x58, 0xfd, 0xd2, 0x85, - 0x70, 0xf5, 0xd1, 0xa2, 0x89, 0x4e, 0x08, 0xe1, 0x00, 0x0a, 0x79, 0xcd, 0xf1, 0x78, 0x89, 0xf7, - 0x01, 0xd4, 0x1c, 0xd7, 0xb9, 0x2f, 0xdb, 0xef, 0x01, 0xd9, 0xf0, 0xff, 0x60, 0x20, 0xcc, 0x54, - 0x0e, 0x45, 0xf4, 0x42, 0x6a, 0x17, 0x46, 0x30, 0x2b, 0xa2, 0x43, 0xfa, 0xcb, 0x05, 0x50, 0x6f, - 0xe3, 0xbf, 0x47, 0x5b, 0xcd, 0xb7, 0xcf, 0xaf, 0x8f, 0xca, 0x76, 0x6b, 0x33, 0x99, 0x1e, 0xfb, - 0xe3, 0x2b, 0x6f, 0xe3, 0x34, 0x38, 0xea, 0x87, 0xf7, 0xf5, 0x92, 0xf1, 0x9a, 0x5b, 0xa0, 0xf3, - 0x1d, 0x00, 0x00, 0xff, 0xff, 0x3f, 0xa4, 0x0c, 0xe1, 0xb6, 0x02, 0x00, 0x00, + proto.RegisterFile("examples/proto/examplepb/wrappers.proto", fileDescriptor_wrappers_3d2e9c7780d635b4) +} + +var fileDescriptor_wrappers_3d2e9c7780d635b4 = []byte{ + // 578 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdd, 0x6e, 0xd3, 0x30, + 0x14, 0xc7, 0xd5, 0x31, 0xca, 0xea, 0x0c, 0xc6, 0x0c, 0x82, 0xcd, 0x9b, 0x18, 0xca, 0x0d, 0xb0, + 0x8b, 0x44, 0x74, 0x55, 0x25, 0x26, 0x24, 0xa4, 0xf2, 0x21, 0x71, 0xc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, 0xa2, 0xf2, 0x9a, 0xa3, 0xbb, 0xc6, 0xab, 0xbe, 0x20, 0x0c, + 0x75, 0x3d, 0x81, 0x44, 0x7f, 0x47, 0x1b, 0x61, 0xff, 0xb6, 0x33, 0xd2, 0xda, 0xaa, 0x8f, 0xbb, + 0x3a, 0x68, 0x3e, 0x08, 0x24, 0x5e, 0xeb, 0x33, 0x9d, 0xb4, 0x7c, 0xea, 0x61, 0xc1, 0xd0, 0x24, + 0x11, 0x48, 0xec, 0xfa, 0x68, 0xad, 0x75, 0x47, 0x8d, 0xa9, 0xc2, 0xe0, 0xcc, 0x11, 0x50, 0xed, + 0xde, 0x91, 0x11, 0x95, 0x17, 0x43, 0x5b, 0xc6, 0xab, 0x1a, 0x41, 0x0c, 0x8c, 0x27, 0x01, 0x34, + 0xff, 0xa1, 0x76, 0xd9, 0xf6, 0x37, 0x9d, 0x8b, 0x92, 0x5a, 0xe7, 0x69, 0x4c, 0x2a, 0x06, 0xe7, + 0x98, 0x80, 0x6a, 0xf7, 0x3c, 0xa7, 0xb1, 0xeb, 0x85, 0x96, 0x97, 0x6b, 0x06, 0x70, 0xe4, 0x09, + 0xa8, 0x5e, 0xef, 0xb5, 0xd2, 0x0f, 0xf5, 0x03, 0x80, 0xa1, 0xd7, 0x81, 0x40, 0x62, 0xb7, 0x1f, + 0xb4, 0xa6, 0x7c, 0xce, 0x90, 0x67, 0x7c, 0xde, 0xaa, 0x7f, 0x28, 0xfc, 0xa0, 0x93, 0x45, 0x7f, + 0x27, 0x3d, 0xdf, 0xbb, 0x89, 0xf5, 0xe7, 0xe3, 0xc1, 0xe1, 0xcc, 0xfb, 0x34, 0xaa, 0xde, 0x10, + 0x36, 0xd4, 0xd8, 0xd1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x05, 0x83, 0xaf, 0x71, 0xa0, 0x07, + 0x00, 0x00, } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.gw.go index b42c7715e..703f2e604 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.gw.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.gw.go @@ -13,6 +13,8 @@ import ( "net/http" "github.com/golang/protobuf/proto" + "github.com/golang/protobuf/ptypes/empty" + "github.com/golang/protobuf/ptypes/wrappers" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/grpc-ecosystem/grpc-gateway/utilities" "golang.org/x/net/context" @@ -32,7 +34,11 @@ func request_WrappersService_Create_0(ctx context.Context, marshaler runtime.Mar var protoReq Wrappers var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -41,6 +47,176 @@ func request_WrappersService_Create_0(ctx context.Context, marshaler runtime.Mar } +func request_WrappersService_CreateStringValue_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.StringValue + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateStringValue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateInt32Value_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.Int32Value + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateInt32Value(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateInt64Value_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.Int64Value + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateInt64Value(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateFloatValue_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.FloatValue + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateFloatValue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateDoubleValue_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.DoubleValue + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateDoubleValue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateBoolValue_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.BoolValue + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateBoolValue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateUInt32Value_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.UInt32Value + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateUInt32Value(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateUInt64Value_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.UInt64Value + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateUInt64Value(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateBytesValue_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq wrappers.BytesValue + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateBytesValue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func request_WrappersService_CreateEmpty_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq empty.Empty + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateEmpty(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + // RegisterWrappersServiceHandlerFromEndpoint is same as RegisterWrappersServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterWrappersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { @@ -51,14 +227,14 @@ func RegisterWrappersServiceHandlerFromEndpoint(ctx context.Context, mux *runtim defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -72,8 +248,8 @@ func RegisterWrappersServiceHandler(ctx context.Context, mux *runtime.ServeMux, return RegisterWrappersServiceHandlerClient(ctx, mux, NewWrappersServiceClient(conn)) } -// RegisterWrappersServiceHandler registers the http handlers for service WrappersService to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "WrappersServiceClient". +// RegisterWrappersServiceHandlerClient registers the http handlers for service WrappersService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WrappersServiceClient". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WrappersServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "WrappersServiceClient" to call the correct interceptors. @@ -82,15 +258,6 @@ func RegisterWrappersServiceHandlerClient(ctx context.Context, mux *runtime.Serv mux.Handle("POST", pattern_WrappersService_Create_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -108,13 +275,253 @@ func RegisterWrappersServiceHandlerClient(ctx context.Context, mux *runtime.Serv }) + mux.Handle("POST", pattern_WrappersService_CreateStringValue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateStringValue_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateStringValue_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateInt32Value_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateInt32Value_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateInt32Value_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateInt64Value_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateInt64Value_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateInt64Value_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateFloatValue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateFloatValue_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateFloatValue_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateDoubleValue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateDoubleValue_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateDoubleValue_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateBoolValue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateBoolValue_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateBoolValue_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateUInt32Value_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateUInt32Value_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateUInt32Value_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateUInt64Value_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateUInt64Value_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateUInt64Value_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateBytesValue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateBytesValue_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateBytesValue_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_WrappersService_CreateEmpty_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_WrappersService_CreateEmpty_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_WrappersService_CreateEmpty_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( pattern_WrappersService_Create_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "wrappers"}, "")) + + pattern_WrappersService_CreateStringValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testString"}, "")) + + pattern_WrappersService_CreateInt32Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testInt32"}, "")) + + pattern_WrappersService_CreateInt64Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testInt64"}, "")) + + pattern_WrappersService_CreateFloatValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testFloat"}, "")) + + pattern_WrappersService_CreateDoubleValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testDouble"}, "")) + + pattern_WrappersService_CreateBoolValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testBool"}, "")) + + pattern_WrappersService_CreateUInt32Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testUint32"}, "")) + + pattern_WrappersService_CreateUInt64Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testUint64"}, "")) + + pattern_WrappersService_CreateBytesValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testBytes"}, "")) + + pattern_WrappersService_CreateEmpty_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testEmpty"}, "")) ) var ( forward_WrappersService_Create_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateStringValue_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateInt32Value_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateInt64Value_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateFloatValue_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateDoubleValue_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateBoolValue_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateUInt32Value_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateUInt64Value_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateBytesValue_0 = runtime.ForwardResponseMessage + + forward_WrappersService_CreateEmpty_0 = runtime.ForwardResponseMessage ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.proto index 094b0a4c6..46b2552a3 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.proto +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.proto @@ -4,6 +4,7 @@ package grpc.gateway.examples.examplepb; import "google/api/annotations.proto"; import "google/protobuf/wrappers.proto"; +import "google/protobuf/empty.proto"; message Wrappers { google.protobuf.StringValue string_value = 1; @@ -12,6 +13,9 @@ message Wrappers { google.protobuf.FloatValue float_value = 4; google.protobuf.DoubleValue double_value = 5; google.protobuf.BoolValue bool_value = 6; + google.protobuf.UInt32Value uint32_value = 7; + google.protobuf.UInt64Value uint64_value = 8; + google.protobuf.BytesValue bytes_value = 9; } service WrappersService { @@ -21,4 +25,65 @@ service WrappersService { body: "*" }; } + + rpc CreateStringValue(google.protobuf.StringValue) returns (google.protobuf.StringValue) { + option (google.api.http) = { + post: "/v1/testString" + body: "*" + }; + } + rpc CreateInt32Value(google.protobuf.Int32Value) returns (google.protobuf.Int32Value) { + option (google.api.http) = { + post: "/v1/testInt32" + body: "*" + }; + } + rpc CreateInt64Value(google.protobuf.Int64Value) returns (google.protobuf.Int64Value){ + option (google.api.http) = { + post: "/v1/testInt64" + body: "*" + }; + } + rpc CreateFloatValue(google.protobuf.FloatValue) returns (google.protobuf.FloatValue){ + option (google.api.http) = { + post: "/v1/testFloat" + body: "*" + }; + } + rpc CreateDoubleValue(google.protobuf.DoubleValue) returns (google.protobuf.DoubleValue){ + option (google.api.http) = { + post: "/v1/testDouble" + body: "*" + }; + } + rpc CreateBoolValue(google.protobuf.BoolValue) returns (google.protobuf.BoolValue){ + option (google.api.http) = { + post: "/v1/testBool" + body: "*" + }; + } + rpc CreateUInt32Value(google.protobuf.UInt32Value) returns (google.protobuf.UInt32Value){ + option (google.api.http) = { + post: "/v1/testUint32" + body: "*" + }; + } + rpc CreateUInt64Value(google.protobuf.UInt64Value) returns (google.protobuf.UInt64Value){ + option (google.api.http) = { + post: "/v1/testUint64" + body: "*" + }; + } + rpc CreateBytesValue(google.protobuf.BytesValue) returns (google.protobuf.BytesValue){ + option (google.api.http) = { + post: "/v1/testBytes" + body: "*" + }; + } + rpc CreateEmpty(google.protobuf.Empty) returns (google.protobuf.Empty){ + option (google.api.http) = { + post: "/v1/testEmpty" + body: "*" + }; + } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.swagger.json b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.swagger.json index 37c6144ae..f45b512e1 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.swagger.json +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.swagger.json @@ -20,7 +20,7 @@ "operationId": "Create", "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { "$ref": "#/definitions/examplepbWrappers" } @@ -40,6 +40,282 @@ "WrappersService" ] } + }, + "/v1/testBool": { + "post": { + "operationId": "CreateBoolValue", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "boolean", + "format": "boolean" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "boolean", + "format": "boolean" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testBytes": { + "post": { + "operationId": "CreateBytesValue", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "string", + "format": "byte" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "string", + "format": "byte" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testDouble": { + "post": { + "operationId": "CreateDoubleValue", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "number", + "format": "double" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "number", + "format": "double" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testEmpty": { + "post": { + "operationId": "CreateEmpty", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "properties": {} + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "properties": {} + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testFloat": { + "post": { + "operationId": "CreateFloatValue", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "number", + "format": "float" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "number", + "format": "float" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testInt32": { + "post": { + "operationId": "CreateInt32Value", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "integer", + "format": "int32" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testInt64": { + "post": { + "operationId": "CreateInt64Value", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "string", + "format": "int64" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "string", + "format": "int64" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testString": { + "post": { + "operationId": "CreateStringValue", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "string" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testUint32": { + "post": { + "operationId": "CreateUInt32Value", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "integer", + "format": "int64" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "tags": [ + "WrappersService" + ] + } + }, + "/v1/testUint64": { + "post": { + "operationId": "CreateUInt64Value", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "string", + "format": "uint64" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "string", + "format": "uint64" + } + } + ], + "tags": [ + "WrappersService" + ] + } } }, "definitions": { @@ -54,7 +330,7 @@ "format": "int32" }, "int64_value": { - "type": "integer", + "type": "string", "format": "int64" }, "float_value": { @@ -68,6 +344,18 @@ "bool_value": { "type": "boolean", "format": "boolean" + }, + "uint32_value": { + "type": "integer", + "format": "int64" + }, + "uint64_value": { + "type": "string", + "format": "uint64" + }, + "bytes_value": { + "type": "string", + "format": "byte" } } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/BUILD.bazel new file mode 100644 index 000000000..26b3efc19 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +package(default_visibility = ["//visibility:public"]) + +proto_library( + name = "pathenum_proto", + srcs = ["path_enum.proto"], +) + +go_proto_library( + name = "pathenum_go_proto", + importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum", + proto = ":pathenum_proto", +) + +go_library( + name = "go_default_library", + embed = [":pathenum_go_proto"], + importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum", +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go new file mode 100644 index 000000000..6de950374 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: examples/proto/pathenum/path_enum.proto + +package pathenum // import "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +type PathEnum int32 + +const ( + PathEnum_ABC PathEnum = 0 + PathEnum_DEF PathEnum = 1 +) + +var PathEnum_name = map[int32]string{ + 0: "ABC", + 1: "DEF", +} +var PathEnum_value = map[string]int32{ + "ABC": 0, + "DEF": 1, +} + +func (x PathEnum) String() string { + return proto.EnumName(PathEnum_name, int32(x)) +} +func (PathEnum) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_path_enum_f14abf5268452f40, []int{0} +} + +type MessagePathEnum_NestedPathEnum int32 + +const ( + MessagePathEnum_GHI MessagePathEnum_NestedPathEnum = 0 + MessagePathEnum_JKL MessagePathEnum_NestedPathEnum = 1 +) + +var MessagePathEnum_NestedPathEnum_name = map[int32]string{ + 0: "GHI", + 1: "JKL", +} +var MessagePathEnum_NestedPathEnum_value = map[string]int32{ + "GHI": 0, + "JKL": 1, +} + +func (x MessagePathEnum_NestedPathEnum) String() string { + return proto.EnumName(MessagePathEnum_NestedPathEnum_name, int32(x)) +} +func (MessagePathEnum_NestedPathEnum) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_path_enum_f14abf5268452f40, []int{0, 0} +} + +type MessagePathEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MessagePathEnum) Reset() { *m = MessagePathEnum{} } +func (m *MessagePathEnum) String() string { return proto.CompactTextString(m) } +func (*MessagePathEnum) ProtoMessage() {} +func (*MessagePathEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_path_enum_f14abf5268452f40, []int{0} +} +func (m *MessagePathEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MessagePathEnum.Unmarshal(m, b) +} +func (m *MessagePathEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MessagePathEnum.Marshal(b, m, deterministic) +} +func (dst *MessagePathEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MessagePathEnum.Merge(dst, src) +} +func (m *MessagePathEnum) XXX_Size() int { + return xxx_messageInfo_MessagePathEnum.Size(m) +} +func (m *MessagePathEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MessagePathEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MessagePathEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MessagePathEnum)(nil), "grpc.gateway.examples.pathenum.MessagePathEnum") + proto.RegisterEnum("grpc.gateway.examples.pathenum.PathEnum", PathEnum_name, PathEnum_value) + proto.RegisterEnum("grpc.gateway.examples.pathenum.MessagePathEnum_NestedPathEnum", MessagePathEnum_NestedPathEnum_name, MessagePathEnum_NestedPathEnum_value) +} + +func init() { + proto.RegisterFile("examples/proto/pathenum/path_enum.proto", fileDescriptor_path_enum_f14abf5268452f40) +} + +var fileDescriptor_path_enum_f14abf5268452f40 = []byte{ + // 175 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xad, 0x48, 0xcc, + 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x48, 0x2c, 0xc9, 0x48, + 0xcd, 0x2b, 0xcd, 0x05, 0x33, 0xe2, 0x41, 0x2c, 0x3d, 0xb0, 0x84, 0x90, 0x5c, 0x7a, 0x51, 0x41, + 0xb2, 0x5e, 0x7a, 0x62, 0x49, 0x6a, 0x79, 0x62, 0xa5, 0x1e, 0x4c, 0x97, 0x1e, 0x4c, 0xbd, 0x92, + 0x29, 0x17, 0xbf, 0x6f, 0x6a, 0x71, 0x71, 0x62, 0x7a, 0x6a, 0x40, 0x62, 0x49, 0x86, 0x2b, 0x48, + 0x48, 0x89, 0x8b, 0xcf, 0x2f, 0xb5, 0xb8, 0x24, 0x35, 0x05, 0x26, 0x22, 0xc4, 0xce, 0xc5, 0xec, + 0xee, 0xe1, 0x29, 0xc0, 0x00, 0x62, 0x78, 0x79, 0xfb, 0x08, 0x30, 0x6a, 0xc9, 0x70, 0x71, 0x20, + 0xcb, 0x3a, 0x3a, 0x39, 0x43, 0x64, 0x5d, 0x5c, 0xdd, 0x04, 0x18, 0x9d, 0x1c, 0xa2, 0xec, 0xd2, + 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x41, 0x2e, 0xd0, 0x4d, 0x4d, 0xce, + 0x2f, 0xae, 0x2c, 0x2e, 0x49, 0x85, 0x72, 0xa1, 0x0e, 0xd2, 0xc7, 0xe1, 0x8d, 0x24, 0x36, 0x30, + 0xdf, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x9a, 0x10, 0xfc, 0xe8, 0x00, 0x00, 0x00, +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.proto new file mode 100644 index 000000000..5c926ff71 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +option go_package = "github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum"; +package grpc.gateway.examples.pathenum; + +enum PathEnum { + ABC = 0; + DEF = 1; +} + +message MessagePathEnum { + enum NestedPathEnum { + GHI = 0; + JKL = 1; + } +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2/message.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2/message.pb.go index a0a812c7d..6819b67ae 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2/message.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2/message.pb.go @@ -19,7 +19,7 @@ var _ = math.Inf const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type IdMessage struct { - Uuid string `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/BUILD.bazel index 61fff8ab6..6a35faff5 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/BUILD.bazel @@ -1,4 +1,4 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library") +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") package(default_visibility = ["//visibility:public"]) @@ -7,8 +7,10 @@ go_library( srcs = [ "a_bit_of_everything.go", "echo.go", + "fieldmask_helper.go", "flow_combination.go", "main.go", + "responsebody.go", "unannotatedecho.go", ], importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/server", @@ -18,13 +20,21 @@ go_library( "//examples/proto/sub2:go_default_library", "@com_github_golang_glog//:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//ptypes/duration:go_default_library", - "@com_github_golang_protobuf//ptypes/empty:go_default_library", "@com_github_rogpeppe_fastuuid//:go_default_library", - "@org_golang_google_genproto//googleapis/rpc/errdetails:go_default_library", + "@go_googleapis//google/rpc:errdetails_go_proto", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@io_bazel_rules_go//proto/wkt:field_mask_go_proto", "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes:go_default_library", "@org_golang_google_grpc//metadata:go_default_library", "@org_golang_google_grpc//status:go_default_library", ], ) + +go_test( + name = "go_default_test", + srcs = ["fieldmask_helper_test.go"], + embed = [":go_default_library"], + deps = ["@io_bazel_rules_go//proto/wkt:field_mask_go_proto"], +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/a_bit_of_everything.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/a_bit_of_everything.go index 2d8dec55c..384638cab 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/a_bit_of_everything.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/a_bit_of_everything.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "io" + "strings" "sync" "github.com/golang/glog" @@ -11,8 +12,8 @@ import ( "github.com/golang/protobuf/ptypes/duration" "github.com/golang/protobuf/ptypes/empty" examples "github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb" - sub "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" - sub2 "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2" + "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" + "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2" "github.com/rogpeppe/fastuuid" "google.golang.org/genproto/googleapis/rpc/errdetails" "google.golang.org/grpc" @@ -161,6 +162,39 @@ func (s *_ABitOfEverythingServer) Update(ctx context.Context, msg *examples.ABit return new(empty.Empty), nil } +func (s *_ABitOfEverythingServer) UpdateV2(ctx context.Context, msg *examples.UpdateV2Request) (*empty.Empty, error) { + glog.Info(msg) + // If there is no update mask do a regular update + if msg.UpdateMask == nil || len(msg.UpdateMask.GetPaths()) == 0 { + return s.Update(ctx, msg.Abe) + } + + s.m.Lock() + defer s.m.Unlock() + if a, ok := s.v[msg.Abe.Uuid]; ok { + applyFieldMask(a, msg.Abe, msg.UpdateMask) + } else { + return nil, status.Errorf(codes.NotFound, "not found") + } + return new(empty.Empty), nil +} + +// PatchWithFieldMaskInBody differs from UpdateV2 only in that this method exposes the field mask in the request body, +// so that clients can specify their mask explicitly +func (s *_ABitOfEverythingServer) PatchWithFieldMaskInBody(ctx context.Context, request *examples.UpdateV2Request) (*empty.Empty, error) { + // low-effort attempt to modify the field mask to only include paths for the ABE struct. Since this is only for the + // integration tests, this narrow implementaion is fine. + if request.UpdateMask != nil { + var shifted []string + for _, path := range request.UpdateMask.GetPaths() { + shifted = append(shifted, strings.TrimPrefix(path, "Abe.")) + } + request.UpdateMask.Paths = shifted + } + + return s.UpdateV2(ctx, request) +} + func (s *_ABitOfEverythingServer) Delete(ctx context.Context, msg *sub2.IdMessage) (*empty.Empty, error) { s.m.Lock() defer s.m.Unlock() @@ -187,6 +221,14 @@ func (s *_ABitOfEverythingServer) GetQuery(ctx context.Context, msg *examples.AB return new(empty.Empty), nil } +func (s *_ABitOfEverythingServer) GetRepeatedQuery(ctx context.Context, msg *examples.ABitOfEverythingRepeated) (*examples.ABitOfEverythingRepeated, error) { + s.m.Lock() + defer s.m.Unlock() + + glog.Info(msg) + return msg, nil +} + func (s *_ABitOfEverythingServer) Echo(ctx context.Context, msg *sub.StringMessage) (*sub.StringMessage, error) { s.m.Lock() defer s.m.Unlock() diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper.go new file mode 100644 index 000000000..d0cac43c5 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper.go @@ -0,0 +1,55 @@ +package server + +import ( + "log" + "reflect" + "strings" + + "google.golang.org/genproto/protobuf/field_mask" +) + +func applyFieldMask(patchee, patcher interface{}, mask *field_mask.FieldMask) { + if mask == nil { + return + } + + for _, path := range mask.GetPaths() { + val := getField(patcher, path) + if val.IsValid() { + setValue(patchee, val, path) + } + } +} + +func getField(obj interface{}, path string) (val reflect.Value) { + // this func is lazy -- if anything bad happens just return nil + defer func() { + if r := recover(); r != nil { + log.Printf("failed to get field:\npath: %q\nobj: %#v\nerr: %v", path, obj, r) + val = reflect.Value{} + } + }() + + v := reflect.ValueOf(obj) + if len(path) == 0 { + return v + } + + for _, s := range strings.Split(path, ".") { + if v.Kind() == reflect.Ptr { + v = reflect.Indirect(v) + } + v = v.FieldByName(s) + } + + return v +} + +func setValue(obj interface{}, newValue reflect.Value, path string) { + defer func() { + if r := recover(); r != nil { + log.Printf("failed to set value:\nnewValue: %#v\npath: %q\nobj: %#v\nerr: %v", newValue, path, obj, r) + } + }() + getField(obj, path).Set(newValue) +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper_test.go new file mode 100644 index 000000000..c735fdd7a --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/fieldmask_helper_test.go @@ -0,0 +1,92 @@ +package server + +import ( + "reflect" + "testing" + + "google.golang.org/genproto/protobuf/field_mask" +) + +func TestApplyFieldMask(t *testing.T) { + for _, test := range []struct { + name string + patchee interface{} + patcher interface{} + fieldMask *field_mask.FieldMask + expected interface{} + }{ + {"nil fieldMask", &a{E: 64}, &a{E: 42}, nil, &a{E: 64}}, + {"empty paths", &a{E: 63}, &a{E: 42}, &field_mask.FieldMask{}, &a{E: 63}}, + {"simple path", &a{E: 23, F: "test"}, &a{B: &b{}, E: 42}, &field_mask.FieldMask{Paths: []string{"E"}}, &a{E: 42, F: "test"}}, + {"nested", &a{B: &b{C: 85}}, &a{B: &b{C: 58, D: nil}}, &field_mask.FieldMask{Paths: []string{"B.C"}}, &a{B: &b{C: 58}}}, + {"multiple paths", &a{B: &b{C: 40, D: []int{1, 2, 3}}, E: 34, F: "catapult"}, &a{B: &b{C: 56}, F: "lettuce"}, &field_mask.FieldMask{Paths: []string{"B.C", "F"}}, &a{B: &b{C: 56, D: []int{1, 2, 3}}, E: 34, F: "lettuce"}}, + } { + t.Run(test.name, func(t *testing.T) { + applyFieldMask(test.patchee, test.patcher, test.fieldMask) + if !reflect.DeepEqual(test.patchee, test.expected) { + t.Errorf("expected %v, but was %v", test.expected, test.patchee) + } + }) + } +} + +func TestGetValue(t *testing.T) { + for _, test := range []struct { + name string + input interface{} + path string + expected interface{} + }{ + {"empty", &a{E: 45, F: "test"}, "", &a{E: 45, F: "test"}}, + {"pointer-simple", &a{E: 45}, "E", 45}, + {"pointer-nested", &a{B: &b{C: 42}}, "B.C", 42}, + {"pointer-complex type", &a{B: &b{D: []int{1, 2}}}, "B.D", []int{1, 2}}, + {"pointer-invalid path", &a{F: "test"}, "X.Y", nil}, + {"simple", a{E: 45}, "E", 45}, + {"nested", a{B: &b{C: 42}}, "B.C", 42}, + {"complex type", a{B: &b{D: []int{1, 2}}}, "B.D", []int{1, 2}}, + {"invalid path", a{F: "test"}, "X.Y", nil}, + } { + t.Run(test.name, func(t *testing.T) { + if actual := getField(test.input, test.path); actual.IsValid() { + if !reflect.DeepEqual(test.expected, actual.Interface()) { + t.Errorf("expected %v, but got %v", test.expected, actual) + } + } else if test.expected != nil { + t.Errorf("expected nil, but was %v", actual) + } + }) + } +} + +func TestSetValue(t *testing.T) { + for _, test := range []struct { + name string + obj interface{} + newValue interface{} + path string + expected interface{} + }{ + {"simple", &a{E: 45}, 34, "E", 34}, + {"nested", &a{B: &b{C: 54}}, 43, "B.C", 43}, + {"complex type", &a{B: &b{D: []int{1, 2}}}, []int{3, 4}, "B.D", []int{3, 4}}, + } { + t.Run(test.name, func(t *testing.T) { + setValue(test.obj, reflect.ValueOf(test.newValue), test.path) + if actual := getField(test.obj, test.path).Interface(); !reflect.DeepEqual(actual, test.expected) { + t.Errorf("expected %v, but got %v", test.newValue, actual) + } + }) + } +} + +type a struct { + B *b + E int + F string +} + +type b struct { + C int + D []int +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/main.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/main.go index 4cd385f87..179485a36 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/main.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/main.go @@ -29,6 +29,7 @@ func Run(ctx context.Context, network, address string) error { abe := newABitOfEverythingServer() examples.RegisterABitOfEverythingServiceServer(s, abe) examples.RegisterStreamServiceServer(s, abe) + examples.RegisterResponseBodyServiceServer(s, newResponseBodyServer()) go func() { defer s.GracefulStop() diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/responsebody.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/responsebody.go new file mode 100644 index 000000000..62cff2f47 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/server/responsebody.go @@ -0,0 +1,23 @@ +package server + +import ( + "context" + + examples "github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb" +) + +// Implements of ResponseBodyServiceServer + +type responseBodyServer struct{} + +func newResponseBodyServer() examples.ResponseBodyServiceServer { + return new(responseBodyServer) +} + +func (s *responseBodyServer) GetResponseBody(ctx context.Context, req *examples.ResponseBodyIn) (*examples.ResponseBodyOut, error) { + return &examples.ResponseBodyOut{ + Response: &examples.ResponseBodyOut_Response{ + Data: req.Data, + }, + }, nil +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/BUILD.bazel index fc4850fb6..1af07f27f 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/BUILD.bazel @@ -13,13 +13,14 @@ go_library( "//protoc-gen-grpc-gateway/gengateway:go_default_library", "@com_github_golang_glog//:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", ], ) go_binary( name = "protoc-gen-grpc-gateway", embed = [":go_default_library"], + visibility = ["//visibility:public"], ) go_proto_compiler( diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/BUILD.bazel index 93670c527..cfbdc277a 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/BUILD.bazel @@ -16,12 +16,12 @@ go_library( "//protoc-gen-grpc-gateway/httprule:go_default_library", "@com_github_ghodss_yaml//:go_default_library", "@com_github_golang_glog//:go_default_library", - "@com_github_golang_protobuf//jsonpb:go_default_library", + "@com_github_golang_protobuf//jsonpb:go_default_library_gen", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", - "@org_golang_google_genproto//googleapis/api/annotations:go_default_library", + "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen", + "@go_googleapis//google/api:annotations_go_proto", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) @@ -38,7 +38,7 @@ go_test( deps = [ "//protoc-gen-grpc-gateway/httprule:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/registry.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/registry.go index b09e193c3..9a201112b 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/registry.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/registry.go @@ -46,6 +46,22 @@ type Registry struct { // mergeFileName target swagger file name after merge mergeFileName string + + // allowRepeatedFieldsInBody permits repeated field in body field path of `google.api.http` annotation option + allowRepeatedFieldsInBody bool + + // repeatedPathParamSeparator specifies how path parameter repeated fields are separated + repeatedPathParamSeparator repeatedFieldSeparator + + // useJSONNamesForFields if true json tag name is used for generating fields in swagger definitions, + // otherwise the original proto name is used. It's helpful for synchronizing the swagger definition + // with grpc-gateway response, if it uses json tags for marshaling. + useJSONNamesForFields bool +} + +type repeatedFieldSeparator struct { + name string + sep rune } // NewRegistry returns a new Registry. @@ -57,6 +73,10 @@ func NewRegistry() *Registry { pkgMap: make(map[string]string), pkgAliases: make(map[string]string), externalHTTPRules: make(map[string][]*annotations.HttpRule), + repeatedPathParamSeparator: repeatedFieldSeparator{ + name: "csv", + sep: ',', + }, } } @@ -318,6 +338,63 @@ func (r *Registry) SetMergeFileName(mergeFileName string) { r.mergeFileName = mergeFileName } +// SetAllowRepeatedFieldsInBody controls whether repeated field can be used +// in `body` and `response_body` (`google.api.http` annotation option) field path or not +func (r *Registry) SetAllowRepeatedFieldsInBody(allow bool) { + r.allowRepeatedFieldsInBody = allow +} + +// IsAllowRepeatedFieldsInBody checks if repeated field can be used +// in `body` and `response_body` (`google.api.http` annotation option) field path or not +func (r *Registry) IsAllowRepeatedFieldsInBody() bool { + return r.allowRepeatedFieldsInBody +} + +// GetRepeatedPathParamSeparator returns a rune spcifying how +// path parameter repeated fields are separated. +func (r *Registry) GetRepeatedPathParamSeparator() rune { + return r.repeatedPathParamSeparator.sep +} + +// GetRepeatedPathParamSeparatorName returns the name path parameter repeated +// fields repeatedFieldSeparator. I.e. 'csv', 'pipe', 'ssv' or 'tsv' +func (r *Registry) GetRepeatedPathParamSeparatorName() string { + return r.repeatedPathParamSeparator.name +} + +// SetRepeatedPathParamSeparator sets how path parameter repeated fields are +// separated. Allowed names are 'csv', 'pipe', 'ssv' and 'tsv'. +func (r *Registry) SetRepeatedPathParamSeparator(name string) error { + var sep rune + switch name { + case "csv": + sep = ',' + case "pipes": + sep = '|' + case "ssv": + sep = ' ' + case "tsv": + sep = '\t' + default: + return fmt.Errorf("unknown repeated path parameter separator: %s", name) + } + r.repeatedPathParamSeparator = repeatedFieldSeparator{ + name: name, + sep: sep, + } + return nil +} + +// SetUseJSONNamesForFields sets useJSONNamesForFields +func (r *Registry) SetUseJSONNamesForFields(use bool) { + r.useJSONNamesForFields = use +} + +// GetUseJSONNamesForFields returns useJSONNamesForFields +func (r *Registry) GetUseJSONNamesForFields() bool { + return r.useJSONNamesForFields +} + // GetMergeFileName return the target merge swagger file name func (r *Registry) GetMergeFileName() string { return r.mergeFileName diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services.go index c200e57e2..8916d316d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services.go @@ -143,6 +143,11 @@ func (r *Registry) newMethod(svc *Service, md *descriptor.MethodDescriptorProto, return nil, err } + b.ResponseBody, err = r.newResponse(meth, opts.ResponseBody) + if err != nil { + return nil, err + } + return b, nil } @@ -198,7 +203,7 @@ func extractAPIOptions(meth *descriptor.MethodDescriptorProto) (*options.HttpRul func (r *Registry) newParam(meth *Method, path string) (Parameter, error) { msg := meth.RequestType - fields, err := r.resolveFieldPath(msg, path) + fields, err := r.resolveFieldPath(msg, path, true) if err != nil { return Parameter{}, err } @@ -231,7 +236,20 @@ func (r *Registry) newBody(meth *Method, path string) (*Body, error) { case "*": return &Body{FieldPath: nil}, nil } - fields, err := r.resolveFieldPath(msg, path) + fields, err := r.resolveFieldPath(msg, path, false) + if err != nil { + return nil, err + } + return &Body{FieldPath: FieldPath(fields)}, nil +} + +func (r *Registry) newResponse(meth *Method, path string) (*Body, error) { + msg := meth.ResponseType + switch path { + case "", "*": + return nil, nil + } + fields, err := r.resolveFieldPath(msg, path, false) if err != nil { return nil, err } @@ -250,7 +268,7 @@ func lookupField(msg *Message, name string) *Field { } // resolveFieldPath resolves "path" into a list of fieldDescriptor, starting from "msg". -func (r *Registry) resolveFieldPath(msg *Message, path string) ([]FieldPathComponent, error) { +func (r *Registry) resolveFieldPath(msg *Message, path string, isPathParam bool) ([]FieldPathComponent, error) { if path == "" { return nil, nil } @@ -277,7 +295,7 @@ func (r *Registry) resolveFieldPath(msg *Message, path string) ([]FieldPathCompo if f == nil { return nil, fmt.Errorf("no field %q found in %s", path, root.GetName()) } - if f.GetLabel() == descriptor.FieldDescriptorProto_LABEL_REPEATED { + if !(isPathParam || r.allowRepeatedFieldsInBody) && f.GetLabel() == descriptor.FieldDescriptorProto_LABEL_REPEATED { return nil, fmt.Errorf("repeated field not allowed in field path: %s in %s", f.GetName(), path) } result = append(result, FieldPathComponent{Name: c, Target: f}) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services_test.go index 93a8f67ce..355ce6099 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/services_test.go @@ -1097,7 +1097,7 @@ func TestResolveFieldPath(t *testing.T) { if err != nil { t.Fatalf("reg.LookupFile(%q) failed with %v; want success; on file=%s", file.GetName(), err, spec.src) } - _, err = reg.resolveFieldPath(f.Messages[0], spec.path) + _, err = reg.resolveFieldPath(f.Messages[0], spec.path, false) if got, want := err != nil, spec.wantErr; got != want { if want { t.Errorf("reg.resolveFiledPath(%q, %q) succeeded; want an error", f.Messages[0].GetName(), spec.path) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/types.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/types.go index 6346b68e9..4aa75f85d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/types.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor/types.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + "github.com/golang/protobuf/protoc-gen-go/descriptor" gogen "github.com/golang/protobuf/protoc-gen-go/generator" "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/httprule" ) @@ -121,6 +121,25 @@ func (e *Enum) FQEN() string { return strings.Join(components, ".") } +// GoType returns a go type name for the enum type. +// It prefixes the type name with the package alias if +// its belonging package is not "currentPackage". +func (e *Enum) GoType(currentPackage string) string { + var components []string + components = append(components, e.Outers...) + components = append(components, e.GetName()) + + name := strings.Join(components, "_") + if e.File.GoPkg.Path == currentPackage { + return name + } + pkg := e.File.GoPkg.Name + if alias := e.File.GoPkg.Alias; alias != "" { + pkg = alias + } + return fmt.Sprintf("%s.%s", pkg, name) +} + // Service wraps descriptor.ServiceDescriptorProto for richer features. type Service struct { // File is the file where this service is defined. @@ -175,6 +194,8 @@ type Binding struct { PathParams []Parameter // Body describes parameters provided in HTTP request body. Body *Body + // ResponseBody describes field in response struct to marshal in HTTP response body. + ResponseBody *Body } // ExplicitParams returns a list of explicitly bound parameters of "b", @@ -213,8 +234,12 @@ type Parameter struct { // The converter function converts a string into a value for the parameter. func (p Parameter) ConvertFuncExpr() (string, error) { tbl := proto3ConvertFuncs - if p.Target.Message.File.proto2() { + if !p.IsProto2() && p.IsRepeated() { + tbl = proto3RepeatedConvertFuncs + } else if p.IsProto2() && !p.IsRepeated() { tbl = proto2ConvertFuncs + } else if p.IsProto2() && p.IsRepeated() { + tbl = proto2RepeatedConvertFuncs } typ := p.Target.GetType() conv, ok := tbl[typ] @@ -227,10 +252,26 @@ func (p Parameter) ConvertFuncExpr() (string, error) { return conv, nil } -// Body describes a http requtest body to be sent to the method. +// IsEnum returns true if the field is an enum type, otherwise false is returned. +func (p Parameter) IsEnum() bool { + return p.Target.GetType() == descriptor.FieldDescriptorProto_TYPE_ENUM +} + +// IsRepeated returns true if the field is repeated, otherwise false is returned. +func (p Parameter) IsRepeated() bool { + return p.Target.GetLabel() == descriptor.FieldDescriptorProto_LABEL_REPEATED +} + +// IsProto2 returns true if the field is proto2, otherwise false is returned. +func (p Parameter) IsProto2() bool { + return p.Target.Message.File.proto2() +} + +// Body describes a http (request|response) body to be sent to the (method|client). +// This is used in body and response_body options in google.api.HttpRule type Body struct { - // FieldPath is a path to a proto field which the request body is mapped to. - // The request body is mapped to the request type itself if FieldPath is empty. + // FieldPath is a path to a proto field which the (request|response) body is mapped to. + // The (request|response) body is mapped to the (request|response) type itself if FieldPath is empty. FieldPath FieldPath } @@ -335,16 +376,36 @@ var ( descriptor.FieldDescriptorProto_TYPE_STRING: "runtime.String", // FieldDescriptorProto_TYPE_GROUP // FieldDescriptorProto_TYPE_MESSAGE - descriptor.FieldDescriptorProto_TYPE_BYTES: "runtime.Bytes", - descriptor.FieldDescriptorProto_TYPE_UINT32: "runtime.Uint32", - // FieldDescriptorProto_TYPE_ENUM - // TODO(yugui) Handle Enum + descriptor.FieldDescriptorProto_TYPE_BYTES: "runtime.Bytes", + descriptor.FieldDescriptorProto_TYPE_UINT32: "runtime.Uint32", + descriptor.FieldDescriptorProto_TYPE_ENUM: "runtime.Enum", descriptor.FieldDescriptorProto_TYPE_SFIXED32: "runtime.Int32", descriptor.FieldDescriptorProto_TYPE_SFIXED64: "runtime.Int64", descriptor.FieldDescriptorProto_TYPE_SINT32: "runtime.Int32", descriptor.FieldDescriptorProto_TYPE_SINT64: "runtime.Int64", } + proto3RepeatedConvertFuncs = map[descriptor.FieldDescriptorProto_Type]string{ + descriptor.FieldDescriptorProto_TYPE_DOUBLE: "runtime.Float64Slice", + descriptor.FieldDescriptorProto_TYPE_FLOAT: "runtime.Float32Slice", + descriptor.FieldDescriptorProto_TYPE_INT64: "runtime.Int64Slice", + descriptor.FieldDescriptorProto_TYPE_UINT64: "runtime.Uint64Slice", + descriptor.FieldDescriptorProto_TYPE_INT32: "runtime.Int32Slice", + descriptor.FieldDescriptorProto_TYPE_FIXED64: "runtime.Uint64Slice", + descriptor.FieldDescriptorProto_TYPE_FIXED32: "runtime.Uint32Slice", + descriptor.FieldDescriptorProto_TYPE_BOOL: "runtime.BoolSlice", + descriptor.FieldDescriptorProto_TYPE_STRING: "runtime.StringSlice", + // FieldDescriptorProto_TYPE_GROUP + // FieldDescriptorProto_TYPE_MESSAGE + descriptor.FieldDescriptorProto_TYPE_BYTES: "runtime.BytesSlice", + descriptor.FieldDescriptorProto_TYPE_UINT32: "runtime.Uint32Slice", + descriptor.FieldDescriptorProto_TYPE_ENUM: "runtime.EnumSlice", + descriptor.FieldDescriptorProto_TYPE_SFIXED32: "runtime.Int32Slice", + descriptor.FieldDescriptorProto_TYPE_SFIXED64: "runtime.Int64Slice", + descriptor.FieldDescriptorProto_TYPE_SINT32: "runtime.Int32Slice", + descriptor.FieldDescriptorProto_TYPE_SINT64: "runtime.Int64Slice", + } + proto2ConvertFuncs = map[descriptor.FieldDescriptorProto_Type]string{ descriptor.FieldDescriptorProto_TYPE_DOUBLE: "runtime.Float64P", descriptor.FieldDescriptorProto_TYPE_FLOAT: "runtime.Float32P", @@ -359,17 +420,47 @@ var ( // FieldDescriptorProto_TYPE_MESSAGE // FieldDescriptorProto_TYPE_BYTES // TODO(yugui) Handle bytes - descriptor.FieldDescriptorProto_TYPE_UINT32: "runtime.Uint32P", - // FieldDescriptorProto_TYPE_ENUM - // TODO(yugui) Handle Enum + descriptor.FieldDescriptorProto_TYPE_UINT32: "runtime.Uint32P", + descriptor.FieldDescriptorProto_TYPE_ENUM: "runtime.EnumP", descriptor.FieldDescriptorProto_TYPE_SFIXED32: "runtime.Int32P", descriptor.FieldDescriptorProto_TYPE_SFIXED64: "runtime.Int64P", descriptor.FieldDescriptorProto_TYPE_SINT32: "runtime.Int32P", descriptor.FieldDescriptorProto_TYPE_SINT64: "runtime.Int64P", } + proto2RepeatedConvertFuncs = map[descriptor.FieldDescriptorProto_Type]string{ + descriptor.FieldDescriptorProto_TYPE_DOUBLE: "runtime.Float64Slice", + descriptor.FieldDescriptorProto_TYPE_FLOAT: "runtime.Float32Slice", + descriptor.FieldDescriptorProto_TYPE_INT64: "runtime.Int64Slice", + descriptor.FieldDescriptorProto_TYPE_UINT64: "runtime.Uint64Slice", + descriptor.FieldDescriptorProto_TYPE_INT32: "runtime.Int32Slice", + descriptor.FieldDescriptorProto_TYPE_FIXED64: "runtime.Uint64Slice", + descriptor.FieldDescriptorProto_TYPE_FIXED32: "runtime.Uint32Slice", + descriptor.FieldDescriptorProto_TYPE_BOOL: "runtime.BoolSlice", + descriptor.FieldDescriptorProto_TYPE_STRING: "runtime.StringSlice", + // FieldDescriptorProto_TYPE_GROUP + // FieldDescriptorProto_TYPE_MESSAGE + // FieldDescriptorProto_TYPE_BYTES + // TODO(maros7) Handle bytes + descriptor.FieldDescriptorProto_TYPE_UINT32: "runtime.Uint32Slice", + descriptor.FieldDescriptorProto_TYPE_ENUM: "runtime.EnumSlice", + descriptor.FieldDescriptorProto_TYPE_SFIXED32: "runtime.Int32Slice", + descriptor.FieldDescriptorProto_TYPE_SFIXED64: "runtime.Int64Slice", + descriptor.FieldDescriptorProto_TYPE_SINT32: "runtime.Int32Slice", + descriptor.FieldDescriptorProto_TYPE_SINT64: "runtime.Int64Slice", + } + wellKnownTypeConv = map[string]string{ - ".google.protobuf.Timestamp": "runtime.Timestamp", - ".google.protobuf.Duration": "runtime.Duration", + ".google.protobuf.Timestamp": "runtime.Timestamp", + ".google.protobuf.Duration": "runtime.Duration", + ".google.protobuf.StringValue": "runtime.StringValue", + ".google.protobuf.FloatValue": "runtime.FloatValue", + ".google.protobuf.DoubleValue": "runtime.DoubleValue", + ".google.protobuf.BoolValue": "runtime.BoolValue", + ".google.protobuf.BytesValue": "runtime.BytesValue", + ".google.protobuf.Int32Value": "runtime.Int32Value", + ".google.protobuf.UInt32Value": "runtime.UInt32Value", + ".google.protobuf.Int64Value": "runtime.Int64Value", + ".google.protobuf.UInt64Value": "runtime.UInt64Value", } ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator/BUILD.bazel index 5995e5df8..6cb2162d8 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator/BUILD.bazel @@ -8,6 +8,6 @@ go_library( importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator", deps = [ "//protoc-gen-grpc-gateway/descriptor:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/BUILD.bazel index 517909b50..316010f50 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/BUILD.bazel @@ -16,8 +16,8 @@ go_library( "//utilities:go_default_library", "@com_github_golang_glog//:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", - "@org_golang_google_genproto//googleapis/api/annotations:go_default_library", + "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", ], ) @@ -33,6 +33,6 @@ go_test( "//protoc-gen-grpc-gateway/descriptor:go_default_library", "//protoc-gen-grpc-gateway/httprule:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator.go index 2bd8ee415..a619fae39 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator.go @@ -19,14 +19,23 @@ var ( errNoTargetService = errors.New("no target service defined in the file") ) +type pathType int + +const ( + pathTypeImport pathType = iota + pathTypeSourceRelative +) + type generator struct { - reg *descriptor.Registry - baseImports []descriptor.GoPackage - useRequestContext bool + reg *descriptor.Registry + baseImports []descriptor.GoPackage + useRequestContext bool + registerFuncSuffix string + pathType pathType } // New returns a new generator which generates grpc gateway files. -func New(reg *descriptor.Registry, useRequestContext bool) gen.Generator { +func New(reg *descriptor.Registry, useRequestContext bool, registerFuncSuffix, pathTypeString string) gen.Generator { var imports []descriptor.GoPackage for _, pkgpath := range []string{ "io", @@ -56,7 +65,24 @@ func New(reg *descriptor.Registry, useRequestContext bool) gen.Generator { } imports = append(imports, pkg) } - return &generator{reg: reg, baseImports: imports, useRequestContext: useRequestContext} + + var pathType pathType + switch pathTypeString { + case "", "import": + // paths=import is default + case "source_relative": + pathType = pathTypeSourceRelative + default: + glog.Fatalf(`Unknown path type %q: want "import" or "source_relative".`, pathTypeString) + } + + return &generator{ + reg: reg, + baseImports: imports, + useRequestContext: useRequestContext, + registerFuncSuffix: registerFuncSuffix, + pathType: pathType, + } } func (g *generator) Generate(targets []*descriptor.File) ([]*plugin.CodeGeneratorResponse_File, error) { @@ -77,7 +103,7 @@ func (g *generator) Generate(targets []*descriptor.File) ([]*plugin.CodeGenerato return nil, err } name := file.GetName() - if file.GoPkg.Path != "" { + if g.pathType == pathTypeImport && file.GoPkg.Path != "" { name = fmt.Sprintf("%s/%s", file.GoPkg.Path, filepath.Base(name)) } ext := filepath.Ext(name) @@ -101,6 +127,7 @@ func (g *generator) generate(file *descriptor.File) (string, error) { } for _, svc := range file.Services { for _, m := range svc.Methods { + imports = append(imports, g.addEnumPathParamImports(file, m, pkgSeen)...) pkg := m.RequestType.File.GoPkg if len(m.Bindings) == 0 || pkg == file.GoPkg || pkgSeen[pkg.Path] { @@ -110,5 +137,31 @@ func (g *generator) generate(file *descriptor.File) (string, error) { imports = append(imports, pkg) } } - return applyTemplate(param{File: file, Imports: imports, UseRequestContext: g.useRequestContext}) + params := param{ + File: file, + Imports: imports, + UseRequestContext: g.useRequestContext, + RegisterFuncSuffix: g.registerFuncSuffix, + } + return applyTemplate(params, g.reg) +} + +// addEnumPathParamImports handles adding import of enum path parameter go packages +func (g *generator) addEnumPathParamImports(file *descriptor.File, m *descriptor.Method, pkgSeen map[string]bool) []descriptor.GoPackage { + var imports []descriptor.GoPackage + for _, b := range m.Bindings { + for _, p := range b.PathParams { + e, err := g.reg.LookupEnum("", p.Target.GetTypeName()) + if err != nil { + continue + } + pkg := e.File.GoPkg + if pkg == file.GoPkg || pkgSeen[pkg.Path] { + continue + } + pkgSeen[pkg.Path] = true + imports = append(imports, pkg) + } + } + return imports } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator_test.go index 986ff4151..39e5f141d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/generator_test.go @@ -101,6 +101,7 @@ func TestGenerateServiceWithoutBindings(t *testing.T) { func TestGenerateOutputPath(t *testing.T) { cases := []struct { file *descriptor.File + pathType pathType expected string }{ { @@ -121,10 +122,31 @@ func TestGenerateOutputPath(t *testing.T) { ), expected: "example", }, + { + file: newExampleFileDescriptorWithGoPkg( + &descriptor.GoPackage{ + Path: "example.com/path/to/example", + Name: "example_pb", + }, + ), + pathType: pathTypeSourceRelative, + expected: ".", + }, + { + file: newExampleFileDescriptorWithGoPkg( + &descriptor.GoPackage{ + Path: "example", + Name: "example_pb", + }, + ), + pathType: pathTypeSourceRelative, + expected: ".", + }, } - g := &generator{} for _, c := range cases { + g := &generator{pathType: c.pathType} + file := c.file gots, err := g.Generate([]*descriptor.File{crossLinkFixture(file)}) if err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template.go index 435a14051..fad1392c0 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template.go @@ -7,18 +7,29 @@ import ( "text/template" "github.com/golang/glog" + generator2 "github.com/golang/protobuf/protoc-gen-go/generator" "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor" "github.com/grpc-ecosystem/grpc-gateway/utilities" ) type param struct { *descriptor.File - Imports []descriptor.GoPackage - UseRequestContext bool + Imports []descriptor.GoPackage + UseRequestContext bool + RegisterFuncSuffix string } type binding struct { *descriptor.Binding + Registry *descriptor.Registry +} + +// GetBodyFieldPath returns the binding body's fieldpath. +func (b binding) GetBodyFieldPath() string { + if b.Body != nil && len(b.Body.FieldPath) != 0 { + return b.Body.FieldPath.String() + } + return "*" } // HasQueryParam determines if the binding needs parameters in query string. @@ -53,6 +64,59 @@ func (b binding) QueryParamFilter() queryParamFilter { return queryParamFilter{utilities.NewDoubleArray(seqs)} } +// HasEnumPathParam returns true if the path parameter slice contains a parameter +// that maps to an enum proto field that is not repeated, if not false is returned. +func (b binding) HasEnumPathParam() bool { + return b.hasEnumPathParam(false) +} + +// HasRepeatedEnumPathParam returns true if the path parameter slice contains a parameter +// that maps to a repeated enum proto field, if not false is returned. +func (b binding) HasRepeatedEnumPathParam() bool { + return b.hasEnumPathParam(true) +} + +// hasEnumPathParam returns true if the path parameter slice contains a parameter +// that maps to a enum proto field and that the enum proto field is or isn't repeated +// based on the provided 'repeated' parameter. +func (b binding) hasEnumPathParam(repeated bool) bool { + for _, p := range b.PathParams { + if p.IsEnum() && p.IsRepeated() == repeated { + return true + } + } + return false +} + +// LookupEnum looks up a enum type by path parameter. +func (b binding) LookupEnum(p descriptor.Parameter) *descriptor.Enum { + e, err := b.Registry.LookupEnum("", p.Target.GetTypeName()) + if err != nil { + return nil + } + return e +} + +// FieldMaskField returns the golang-style name of the variable for a FieldMask, if there is exactly one of that type in +// the message. Otherwise, it returns an empty string. +func (b binding) FieldMaskField() string { + var fieldMaskField *descriptor.Field + for _, f := range b.Method.RequestType.Fields { + if f.GetTypeName() == ".google.protobuf.FieldMask" { + // if there is more than 1 FieldMask for this request, then return none + if fieldMaskField != nil { + return "" + } + fieldMaskField = f + } + } + + if fieldMaskField != nil { + return generator2.CamelCase(fieldMaskField.GetName()) + } + return "" +} + // queryParamFilter is a wrapper of utilities.DoubleArray which provides String() to output DoubleArray.Encoding in a stable and predictable format. type queryParamFilter struct { *utilities.DoubleArray @@ -68,11 +132,12 @@ func (f queryParamFilter) String() string { } type trailerParams struct { - Services []*descriptor.Service - UseRequestContext bool + Services []*descriptor.Service + UseRequestContext bool + RegisterFuncSuffix string } -func applyTemplate(p param) (string, error) { +func applyTemplate(p param, reg *descriptor.Registry) (string, error) { w := bytes.NewBuffer(nil) if err := headerTemplate.Execute(w, p); err != nil { return "", err @@ -88,7 +153,7 @@ func applyTemplate(p param) (string, error) { meth.Name = &methName for _, b := range meth.Bindings { methodWithBindingsSeen = true - if err := handlerTemplate.Execute(w, binding{Binding: b}); err != nil { + if err := handlerTemplate.Execute(w, binding{Binding: b, Registry: reg}); err != nil { return "", err } } @@ -102,8 +167,9 @@ func applyTemplate(p param) (string, error) { } tp := trailerParams{ - Services: targetServices, - UseRequestContext: p.UseRequestContext, + Services: targetServices, + UseRequestContext: p.UseRequestContext, + RegisterFuncSuffix: p.RegisterFuncSuffix, } if err := trailerTemplate.Execute(w, tp); err != nil { return "", err @@ -157,10 +223,14 @@ func request_{{.Method.Service.GetName}}_{{.Method.GetName}}_{{.Index}}(ctx cont var metadata runtime.ServerMetadata stream, err := client.{{.Method.GetName}}(ctx) if err != nil { - grpclog.Printf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } - dec := marshaler.NewDecoder(req.Body) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + dec := marshaler.NewDecoder(newReader()) for { var protoReq {{.Method.RequestType.GoType .Method.Service.File.GoPkg.Path}} err = dec.Decode(&protoReq) @@ -168,22 +238,22 @@ func request_{{.Method.Service.GetName}}_{{.Method.GetName}}_{{.Index}}(ctx cont break } if err != nil { - grpclog.Printf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { - grpclog.Printf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Printf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Printf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -207,30 +277,64 @@ var ( var protoReq {{.Method.RequestType.GoType .Method.Service.File.GoPkg.Path}} var metadata runtime.ServerMetadata {{if .Body}} - if err := marshaler.NewDecoder(req.Body).Decode(&{{.Body.AssignableExpr "protoReq"}}); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&{{.Body.AssignableExpr "protoReq"}}); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } + {{- if and (eq (.HTTPMethod) "PATCH") (.FieldMaskField)}} + if protoReq.{{.FieldMaskField}} != nil && len(protoReq.{{.FieldMaskField}}.GetPaths()) > 0 { + runtime.CamelCaseFieldMask(protoReq.{{.FieldMaskField}}) + } {{if not (eq "*" .GetBodyFieldPath)}} else { + if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader()); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } else { + protoReq.{{.FieldMaskField}} = fieldMask + } + } {{end}} + {{end}} {{end}} {{if .PathParams}} var ( val string +{{- if .HasEnumPathParam}} + e int32 +{{- end}} +{{- if .HasRepeatedEnumPathParam}} + es []int32 +{{- end}} ok bool err error _ = err ) + {{$binding := .}} {{range $param := .PathParams}} + {{$enum := $binding.LookupEnum $param}} val, ok = pathParams[{{$param | printf "%q"}}] if !ok { return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", {{$param | printf "%q"}}) } -{{if $param.IsNestedProto3 }} +{{if $param.IsNestedProto3}} err = runtime.PopulateFieldFromPath(&protoReq, {{$param | printf "%q"}}, val) +{{else if $enum}} + e{{if $param.IsRepeated}}s{{end}}, err = {{$param.ConvertFuncExpr}}(val{{if $param.IsRepeated}}, {{$binding.Registry.GetRepeatedPathParamSeparator | printf "%c" | printf "%q"}}{{end}}, {{$enum.GoType $param.Target.Message.File.GoPkg.Path}}_value) {{else}} - {{$param.AssignableExpr "protoReq"}}, err = {{$param.ConvertFuncExpr}}(val) + {{$param.AssignableExpr "protoReq"}}, err = {{$param.ConvertFuncExpr}}(val{{if $param.IsRepeated}}, {{$binding.Registry.GetRepeatedPathParamSeparator | printf "%c" | printf "%q"}}{{end}}) {{end}} if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", {{$param | printf "%q"}}, err) } +{{if and $enum $param.IsRepeated}} + s := make([]{{$enum.GoType $param.Target.Message.File.GoPkg.Path}}, len(es)) + for i, v := range es { + s[i] = {{$enum.GoType $param.Target.Message.File.GoPkg.Path}}(v) + } + {{$param.AssignableExpr "protoReq"}} = s +{{else if $enum}} + {{$param.AssignableExpr "protoReq"}} = {{$enum.GoType $param.Target.Message.File.GoPkg.Path}}(e) +{{end}} {{end}} {{end}} {{if .HasQueryParam}} @@ -260,10 +364,14 @@ var ( var metadata runtime.ServerMetadata stream, err := client.{{.Method.GetName}}(ctx) if err != nil { - grpclog.Printf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } - dec := marshaler.NewDecoder(req.Body) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, berr + } + dec := marshaler.NewDecoder(newReader()) handleSend := func() error { var protoReq {{.Method.RequestType.GoType .Method.Service.File.GoPkg.Path}} err := dec.Decode(&protoReq) @@ -271,18 +379,18 @@ var ( return err } if err != nil { - grpclog.Printf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Printf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil } if err := handleSend(); err != nil { if cerr := stream.CloseSend(); cerr != nil { - grpclog.Printf("Failed to terminate client stream: %v", cerr) + grpclog.Infof("Failed to terminate client stream: %v", cerr) } if err == io.EOF { return stream, metadata, nil @@ -296,12 +404,12 @@ var ( } } if err := stream.CloseSend(); err != nil { - grpclog.Printf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Printf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -312,9 +420,9 @@ var ( trailerTemplate = template.Must(template.New("trailer").Parse(` {{$UseRequestContext := .UseRequestContext}} {{range $svc := .Services}} -// Register{{$svc.GetName}}HandlerFromEndpoint is same as Register{{$svc.GetName}}Handler but +// Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}FromEndpoint is same as Register{{$svc.GetName}}{{$.RegisterFuncSuffix}} but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func Register{{$svc.GetName}}HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}FromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -322,33 +430,33 @@ func Register{{$svc.GetName}}HandlerFromEndpoint(ctx context.Context, mux *runti defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Printf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() - return Register{{$svc.GetName}}Handler(ctx, mux, conn) + return Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}(ctx, mux, conn) } -// Register{{$svc.GetName}}Handler registers the http handlers for service {{$svc.GetName}} to "mux". +// Register{{$svc.GetName}}{{$.RegisterFuncSuffix}} registers the http handlers for service {{$svc.GetName}} to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func Register{{$svc.GetName}}Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return Register{{$svc.GetName}}HandlerClient(ctx, mux, New{{$svc.GetName}}Client(conn)) +func Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}Client(ctx, mux, New{{$svc.GetName}}Client(conn)) } -// Register{{$svc.GetName}}Handler registers the http handlers for service {{$svc.GetName}} to "mux". -// The handlers forward requests to the grpc endpoint over the given implementation of "{{$svc.GetName}}Client". +// Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}Client registers the http handlers for service {{$svc.GetName}} +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "{{$svc.GetName}}Client". // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "{{$svc.GetName}}Client" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "{{$svc.GetName}}Client" to call the correct interceptors. -func Register{{$svc.GetName}}HandlerClient(ctx context.Context, mux *runtime.ServeMux, client {{$svc.GetName}}Client) error { +func Register{{$svc.GetName}}{{$.RegisterFuncSuffix}}Client(ctx context.Context, mux *runtime.ServeMux, client {{$svc.GetName}}Client) error { {{range $m := $svc.Methods}} {{range $b := $m.Bindings}} mux.Handle({{$b.HTTPMethod | printf "%q"}}, pattern_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}}, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -358,15 +466,6 @@ func Register{{$svc.GetName}}HandlerClient(ctx context.Context, mux *runtime.Ser ctx, cancel := context.WithCancel(ctx) {{- end }} defer cancel() - if cn, ok := w.(http.CloseNotifier); ok { - go func(done <-chan struct{}, closed <-chan bool) { - select { - case <-done: - case <-closed: - cancel() - } - }(ctx.Done(), cn.CloseNotify()) - } inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateContext(ctx, mux, req) if err != nil { @@ -382,14 +481,33 @@ func Register{{$svc.GetName}}HandlerClient(ctx context.Context, mux *runtime.Ser {{if $m.GetServerStreaming}} forward_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}}(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) {{else}} + {{ if $b.ResponseBody }} + forward_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}}(ctx, mux, outboundMarshaler, w, req, response_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}}{resp}, mux.GetForwardResponseOptions()...) + {{ else }} forward_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}}(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) {{end}} + {{end}} }) {{end}} {{end}} return nil } +{{range $m := $svc.Methods}} +{{range $b := $m.Bindings}} +{{if $b.ResponseBody}} +type response_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}} struct { + proto.Message +} + +func (m response_{{$svc.GetName}}_{{$m.GetName}}_{{$b.Index}}) XXX_ResponseBody() interface{} { + response := m.Message.(*{{$m.ResponseType.GoType $m.Service.File.GoPkg.Path}}) + return {{$b.ResponseBody.AssignableExpr "response"}} +} +{{end}} +{{end}} +{{end}} + var ( {{range $m := $svc.Methods}} {{range $b := $m.Bindings}} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template_test.go index c5fb2f93e..ca9e587a6 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/gengateway/template_test.go @@ -77,7 +77,7 @@ func TestApplyTemplateHeader(t *testing.T) { }, }, } - got, err := applyTemplate(param{File: crossLinkFixture(&file)}) + got, err := applyTemplate(param{File: crossLinkFixture(&file), RegisterFuncSuffix: "Handler"}, descriptor.NewRegistry()) if err != nil { t.Errorf("applyTemplate(%#v) failed with %v; want success", file, err) return @@ -222,7 +222,7 @@ func TestApplyTemplateRequestWithoutClientStreaming(t *testing.T) { }, }, } - got, err := applyTemplate(param{File: crossLinkFixture(&file)}) + got, err := applyTemplate(param{File: crossLinkFixture(&file), RegisterFuncSuffix: "Handler"}, descriptor.NewRegistry()) if err != nil { t.Errorf("applyTemplate(%#v) failed with %v; want success", file, err) return @@ -230,7 +230,7 @@ func TestApplyTemplateRequestWithoutClientStreaming(t *testing.T) { if want := spec.sigWant; !strings.Contains(got, want) { t.Errorf("applyTemplate(%#v) = %s; want to contain %s", file, got, want) } - if want := `marshaler.NewDecoder(req.Body).Decode(&protoReq.GetNested().Bool)`; !strings.Contains(got, want) { + if want := `marshaler.NewDecoder(newReader()).Decode(&protoReq.GetNested().Bool)`; !strings.Contains(got, want) { t.Errorf("applyTemplate(%#v) = %s; want to contain %s", file, got, want) } if want := `val, ok = pathParams["nested.int32"]`; !strings.Contains(got, want) { @@ -383,7 +383,7 @@ func TestApplyTemplateRequestWithClientStreaming(t *testing.T) { }, }, } - got, err := applyTemplate(param{File: crossLinkFixture(&file)}) + got, err := applyTemplate(param{File: crossLinkFixture(&file), RegisterFuncSuffix: "Handler"}, descriptor.NewRegistry()) if err != nil { t.Errorf("applyTemplate(%#v) failed with %v; want success", file, err) return @@ -391,7 +391,7 @@ func TestApplyTemplateRequestWithClientStreaming(t *testing.T) { if want := spec.sigWant; !strings.Contains(got, want) { t.Errorf("applyTemplate(%#v) = %s; want to contain %s", file, got, want) } - if want := `marshaler.NewDecoder(req.Body)`; !strings.Contains(got, want) { + if want := `marshaler.NewDecoder(newReader()`; !strings.Contains(got, want) { t.Errorf("applyTemplate(%#v) = %s; want to contain %s", file, got, want) } if want := `func RegisterExampleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {`; !strings.Contains(got, want) { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/main.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/main.go index 3037d68b8..39ceb256f 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/main.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/main.go @@ -10,6 +10,7 @@ package main import ( "flag" + "fmt" "os" "strings" @@ -22,17 +23,34 @@ import ( ) var ( - importPrefix = flag.String("import_prefix", "", "prefix to be added to go package paths for imported proto files") - importPath = flag.String("import_path", "", "used as the package if no input files declare go_package. If it contains slashes, everything up to the rightmost slash is ignored.") - useRequestContext = flag.Bool("request_context", true, "determine whether to use http.Request's context or not") - allowDeleteBody = flag.Bool("allow_delete_body", false, "unless set, HTTP DELETE methods may not have a body") - grpcAPIConfiguration = flag.String("grpc_api_configuration", "", "path to gRPC API Configuration in YAML format") + importPrefix = flag.String("import_prefix", "", "prefix to be added to go package paths for imported proto files") + importPath = flag.String("import_path", "", "used as the package if no input files declare go_package. If it contains slashes, everything up to the rightmost slash is ignored.") + registerFuncSuffix = flag.String("register_func_suffix", "Handler", "used to construct names of generated Register* methods.") + useRequestContext = flag.Bool("request_context", true, "determine whether to use http.Request's context or not") + allowDeleteBody = flag.Bool("allow_delete_body", false, "unless set, HTTP DELETE methods may not have a body") + grpcAPIConfiguration = flag.String("grpc_api_configuration", "", "path to gRPC API Configuration in YAML format") + pathType = flag.String("paths", "", "specifies how the paths of generated files are structured") + allowRepeatedFieldsInBody = flag.Bool("allow_repeated_fields_in_body", false, "allows to use repeated field in `body` and `response_body` field of `google.api.http` annotation option") + repeatedPathParamSeparator = flag.String("repeated_path_param_separator", "csv", "configures how repeated fields should be split. Allowed values are `csv`, `pipes`, `ssv` and `tsv`.") + versionFlag = flag.Bool("version", false, "print the current verison") +) + +// Variables set by goreleaser at build time +var ( + version = "dev" + commit = "unknown" + date = "unknown" ) func main() { flag.Parse() defer glog.Flush() + if *versionFlag { + fmt.Printf("Version %v, commit %v, built at %v\n", version, commit, date) + os.Exit(0) + } + reg := descriptor.NewRegistry() glog.V(1).Info("Parsing code generator request") @@ -61,7 +79,7 @@ func main() { } } - g := gengateway.New(reg, *useRequestContext) + g := gengateway.New(reg, *useRequestContext, *registerFuncSuffix, *pathType) if *grpcAPIConfiguration != "" { if err := reg.LoadGrpcAPIServiceFromYAML(*grpcAPIConfiguration); err != nil { @@ -73,6 +91,11 @@ func main() { reg.SetPrefix(*importPrefix) reg.SetImportPath(*importPath) reg.SetAllowDeleteBody(*allowDeleteBody) + reg.SetAllowRepeatedFieldsInBody(*allowRepeatedFieldsInBody) + if err := reg.SetRepeatedPathParamSeparator(*repeatedPathParamSeparator); err != nil { + emitError(err) + return + } if err := reg.Load(req); err != nil { emitError(err) return diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/BUILD.bazel index 62384ef34..d5a1d05fc 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "//protoc-gen-swagger/genswagger:go_default_library", "@com_github_golang_glog//:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/defs.bzl b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/defs.bzl index ada033139..a2933cdbe 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/defs.bzl +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/defs.bzl @@ -33,34 +33,34 @@ def _collect_includes(gen_dir, srcs): def _run_proto_gen_swagger(ctx, direct_proto_srcs, transitive_proto_srcs, actions, protoc, protoc_gen_swagger, grpc_api_configuration): swagger_files = [] for proto in direct_proto_srcs: - swagger_file = actions.declare_file( - "%s.swagger.json" % proto.basename[:-len(".proto")], - sibling = proto, - ) + swagger_file = actions.declare_file( + "%s.swagger.json" % proto.basename[:-len(".proto")], + sibling = proto, + ) - inputs = direct_proto_srcs + transitive_proto_srcs + [protoc_gen_swagger] + inputs = direct_proto_srcs + transitive_proto_srcs + [protoc_gen_swagger] - options=["logtostderr=true"] - if grpc_api_configuration: - options.append("grpc_api_configuration=%s" % grpc_api_configuration.path) - inputs.append(grpc_api_configuration) + options = ["logtostderr=true"] + if grpc_api_configuration: + options.append("grpc_api_configuration=%s" % grpc_api_configuration.path) + inputs.append(grpc_api_configuration) - includes = _collect_includes(ctx.genfiles_dir.path, direct_proto_srcs + transitive_proto_srcs) + includes = _collect_includes(ctx.genfiles_dir.path, direct_proto_srcs + transitive_proto_srcs) - args = actions.args() - args.add("--plugin=%s" % protoc_gen_swagger.path) - args.add("--swagger_out=%s:%s" % (",".join(options), ctx.bin_dir.path)) - args.add(["-I%s" % include for include in includes]) - args.add(proto.path) + args = actions.args() + args.add("--plugin=%s" % protoc_gen_swagger.path) + args.add("--swagger_out=%s:%s" % (",".join(options), ctx.bin_dir.path)) + args.add(["-I%s" % include for include in includes]) + args.add(proto.path) - actions.run( - executable = protoc, - inputs = inputs, - outputs = [swagger_file], - arguments = [args], - ) + actions.run( + executable = protoc, + inputs = inputs, + outputs = [swagger_file], + arguments = [args], + ) - swagger_files.append(swagger_file) + swagger_files.append(swagger_file) return swagger_files @@ -69,7 +69,7 @@ def _proto_gen_swagger_impl(ctx): grpc_api_configuration = ctx.file.grpc_api_configuration return struct( - files=depset( + files = depset( _run_proto_gen_swagger( ctx, direct_proto_srcs = proto.direct_sources, @@ -77,9 +77,9 @@ def _proto_gen_swagger_impl(ctx): actions = ctx.actions, protoc = ctx.executable._protoc, protoc_gen_swagger = ctx.executable._protoc_gen_swagger, - grpc_api_configuration = grpc_api_configuration - ) - ) + grpc_api_configuration = grpc_api_configuration, + ), + ), ) protoc_gen_swagger = rule( @@ -87,11 +87,11 @@ protoc_gen_swagger = rule( "proto": attr.label( allow_rules = ["proto_library"], mandatory = True, - providers = ['proto'], + providers = ["proto"], ), "grpc_api_configuration": attr.label( - allow_single_file=True, - mandatory=False + allow_single_file = True, + mandatory = False, ), "_protoc": attr.label( default = "@com_google_protobuf//:protoc", diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/BUILD.bazel index 7f34844a7..172330ad8 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/BUILD.bazel @@ -17,8 +17,8 @@ go_library( "//protoc-gen-swagger/options:go_default_library", "@com_github_golang_glog//:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) @@ -31,7 +31,7 @@ go_test( "//protoc-gen-grpc-gateway/descriptor:go_default_library", "//protoc-gen-grpc-gateway/httprule:go_default_library", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/plugin:go_default_library", + "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template.go index c4f2b8d81..e579d953d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template.go @@ -26,14 +26,26 @@ var wktSchemas = map[string]schemaCore{ ".google.protobuf.StringValue": schemaCore{ Type: "string", }, + ".google.protobuf.BytesValue": schemaCore{ + Type: "string", + Format: "byte", + }, ".google.protobuf.Int32Value": schemaCore{ Type: "integer", Format: "int32", }, - ".google.protobuf.Int64Value": schemaCore{ + ".google.protobuf.UInt32Value": schemaCore{ Type: "integer", Format: "int64", }, + ".google.protobuf.Int64Value": schemaCore{ + Type: "string", + Format: "int64", + }, + ".google.protobuf.UInt64Value": schemaCore{ + Type: "string", + Format: "uint64", + }, ".google.protobuf.FloatValue": schemaCore{ Type: "number", Format: "float", @@ -46,6 +58,7 @@ var wktSchemas = map[string]schemaCore{ Type: "boolean", Format: "boolean", }, + ".google.protobuf.Empty": schemaCore{}, } func listEnumNames(enum *descriptor.Enum) (names []string) { @@ -84,7 +97,7 @@ func queryParams(message *descriptor.Message, field *descriptor.Field, prefix st return nil, nil } } - schema := schemaOfField(field, reg) + schema := schemaOfField(field, reg, nil) fieldType := field.GetTypeName() if message.File != nil { comments := fieldProtoComments(reg, message, field) @@ -158,11 +171,15 @@ func findServicesMessagesAndEnumerations(s []*descriptor.Service, reg *descripto for _, meth := range svc.Methods { // Request may be fully included in query if _, ok := refs[fmt.Sprintf("#/definitions/%s", fullyQualifiedNameToSwaggerName(meth.RequestType.FQMN(), reg))]; ok { - m[fullyQualifiedNameToSwaggerName(meth.RequestType.FQMN(), reg)] = meth.RequestType + if !skipRenderingRef(meth.RequestType.FQMN()) { + m[fullyQualifiedNameToSwaggerName(meth.RequestType.FQMN(), reg)] = meth.RequestType + } } findNestedMessagesAndEnumerations(meth.RequestType, reg, m, e) - m[fullyQualifiedNameToSwaggerName(meth.ResponseType.FQMN(), reg)] = meth.ResponseType + if !skipRenderingRef(meth.ResponseType.FQMN()) { + m[fullyQualifiedNameToSwaggerName(meth.ResponseType.FQMN(), reg)] = meth.ResponseType + } findNestedMessagesAndEnumerations(meth.ResponseType, reg, m, e) } } @@ -192,26 +209,19 @@ func findNestedMessagesAndEnumerations(message *descriptor.Message, reg *descrip } } -func renderMessagesAsDefinition(messages messageMap, d swaggerDefinitionsObject, reg *descriptor.Registry) { +func skipRenderingRef(refName string) bool { + if _, ok := wktSchemas[refName]; ok { + return true + } + return false +} + +func renderMessagesAsDefinition(messages messageMap, d swaggerDefinitionsObject, reg *descriptor.Registry, customRefs refMap) { for name, msg := range messages { - switch name { - case ".google.protobuf.Timestamp": - continue - case ".google.protobuf.Duration": - continue - case ".google.protobuf.StringValue": - continue - case ".google.protobuf.Int32Value": - continue - case ".google.protobuf.Int64Value": - continue - case ".google.protobuf.FloatValue": - continue - case ".google.protobuf.DoubleValue": - continue - case ".google.protobuf.BoolValue": + if skipRenderingRef(name) { continue } + if opt := msg.GetOptions(); opt != nil && opt.MapEntry != nil && *opt.MapEntry { continue } @@ -229,36 +239,59 @@ func renderMessagesAsDefinition(messages messageMap, d swaggerDefinitionsObject, panic(err) } if opts != nil { - if opts.ExternalDocs != nil { - if schema.ExternalDocs == nil { - schema.ExternalDocs = &swaggerExternalDocumentationObject{} - } - if opts.ExternalDocs.Description != "" { - schema.ExternalDocs.Description = opts.ExternalDocs.Description - } - if opts.ExternalDocs.Url != "" { - schema.ExternalDocs.URL = opts.ExternalDocs.Url - } + protoSchema := swaggerSchemaFromProtoSchema(opts, reg, customRefs) + + // Warning: Make sure not to overwrite any fields already set on the schema type. + schema.ExternalDocs = protoSchema.ExternalDocs + schema.MultipleOf = protoSchema.MultipleOf + schema.Maximum = protoSchema.Maximum + schema.ExclusiveMaximum = protoSchema.ExclusiveMaximum + schema.Minimum = protoSchema.Minimum + schema.ExclusiveMinimum = protoSchema.ExclusiveMinimum + schema.MaxLength = protoSchema.MaxLength + schema.MinLength = protoSchema.MinLength + schema.Pattern = protoSchema.Pattern + schema.MaxItems = protoSchema.MaxItems + schema.MinItems = protoSchema.MinItems + schema.UniqueItems = protoSchema.UniqueItems + schema.MaxProperties = protoSchema.MaxProperties + schema.MinProperties = protoSchema.MinProperties + schema.Required = protoSchema.Required + if protoSchema.schemaCore.Type != "" || protoSchema.schemaCore.Ref != "" { + schema.schemaCore = protoSchema.schemaCore + } + if protoSchema.Title != "" { + schema.Title = protoSchema.Title + } + if protoSchema.Description != "" { + schema.Description = protoSchema.Description } - - // TODO(ivucica): add remaining fields of schema object } for _, f := range msg.Fields { - fieldValue := schemaOfField(f, reg) + fieldValue := schemaOfField(f, reg, customRefs) comments := fieldProtoComments(reg, msg, f) if err := updateSwaggerDataFromComments(&fieldValue, comments); err != nil { panic(err) } - schema.Properties = append(schema.Properties, keyVal{f.GetName(), fieldValue}) + kv := keyVal{Value: fieldValue} + if reg.GetUseJSONNamesForFields() { + kv.Key = f.GetJsonName() + } else { + kv.Key = f.GetName() + } + if schema.Properties == nil { + schema.Properties = &swaggerSchemaObjectProperties{} + } + *schema.Properties = append(*schema.Properties, kv) } d[fullyQualifiedNameToSwaggerName(msg.FQMN(), reg)] = schema } } // schemaOfField returns a swagger Schema Object for a protobuf field. -func schemaOfField(f *descriptor.Field, reg *descriptor.Registry) swaggerSchemaObject { +func schemaOfField(f *descriptor.Field, reg *descriptor.Registry, refs refMap) swaggerSchemaObject { const ( singular = 0 array = 1 @@ -280,14 +313,24 @@ func schemaOfField(f *descriptor.Field, reg *descriptor.Registry) swaggerSchemaO aggregate = array } + var props *swaggerSchemaObjectProperties + switch ft := fd.GetType(); ft { case pbdescriptor.FieldDescriptorProto_TYPE_ENUM, pbdescriptor.FieldDescriptorProto_TYPE_MESSAGE, pbdescriptor.FieldDescriptorProto_TYPE_GROUP: if wktSchema, ok := wktSchemas[fd.GetTypeName()]; ok { core = wktSchema + + if fd.GetTypeName() == ".google.protobuf.Empty" { + props = &swaggerSchemaObjectProperties{} + } } else { core = schemaCore{ Ref: "#/definitions/" + fullyQualifiedNameToSwaggerName(fd.GetTypeName(), reg), } + if refs != nil { + refs[fd.GetTypeName()] = struct{}{} + + } } default: ftype, format, ok := primitiveSchema(ft) @@ -297,6 +340,7 @@ func schemaOfField(f *descriptor.Field, reg *descriptor.Registry) swaggerSchemaO core = schemaCore{Type: ft.String(), Format: "UNKNOWN"} } } + switch aggregate { case array: return swaggerSchemaObject{ @@ -310,10 +354,17 @@ func schemaOfField(f *descriptor.Field, reg *descriptor.Registry) swaggerSchemaO schemaCore: schemaCore{ Type: "object", }, - AdditionalProperties: &swaggerSchemaObject{schemaCore: core}, + AdditionalProperties: &swaggerSchemaObject{Properties: props, schemaCore: core}, } default: - return swaggerSchemaObject{schemaCore: core} + ret := swaggerSchemaObject{ + schemaCore: core, + Properties: props, + } + if j, err := extractJSONSchemaFromFieldDescriptor(fd); err == nil { + updateSwaggerObjectFromJSONSchema(&ret, j) + } + return ret } } @@ -483,7 +534,7 @@ func templateToSwaggerPath(path string) string { } // Pop from the stack depth-- - buffer += "}" + buffer += string(char) case '/': if depth == 0 { parts = append(parts, buffer) @@ -492,6 +543,7 @@ func templateToSwaggerPath(path string) string { // section. continue } + buffer += string(char) default: buffer += string(char) break @@ -506,13 +558,27 @@ func templateToSwaggerPath(path string) string { // memory. re := regexp.MustCompile("{([a-zA-Z][a-zA-Z0-9_.]*).*}") for index, part := range parts { + // If part is a resource name such as "parent", "name", "user.name", the format info must be retained. + prefix := re.ReplaceAllString(part, "$1") + if isResourceName(prefix) { + continue + } parts[index] = re.ReplaceAllString(part, "{$1}") } return strings.Join(parts, "/") } -func renderServices(services []*descriptor.Service, paths swaggerPathsObject, reg *descriptor.Registry, refs refMap) error { +func isResourceName(prefix string) bool { + words := strings.Split(prefix, ".") + l := len(words) + field := words[l-1] + words = strings.Split(field, ":") + field = words[0] + return field == "parent" || field == "name" +} + +func renderServices(services []*descriptor.Service, paths swaggerPathsObject, reg *descriptor.Registry, requestResponseRefs, customRefs refMap) error { // Correctness of svcIdx and methIdx depends on 'services' containing the services in the same order as the 'file.Service' array. for svcIdx, svc := range services { for methIdx, meth := range svc.Methods { @@ -521,19 +587,31 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re parameters := swaggerParametersObject{} for _, parameter := range b.PathParams { - var paramType, paramFormat string + var paramType, paramFormat, desc, collectionFormat string + var enumNames []string + var items *swaggerItemsObject + var minItems *int switch pt := parameter.Target.GetType(); pt { case pbdescriptor.FieldDescriptorProto_TYPE_GROUP, pbdescriptor.FieldDescriptorProto_TYPE_MESSAGE: if descriptor.IsWellKnownType(parameter.Target.GetTypeName()) { - schema := schemaOfField(parameter.Target, reg) + if parameter.IsRepeated() { + return fmt.Errorf("only primitive and enum types are allowed in repeated path parameters") + } + schema := schemaOfField(parameter.Target, reg, customRefs) paramType = schema.Type paramFormat = schema.Format + desc = schema.Description } else { return fmt.Errorf("only primitive and well-known types are allowed in path parameters") } case pbdescriptor.FieldDescriptorProto_TYPE_ENUM: - paramType = fullyQualifiedNameToSwaggerName(parameter.Target.GetTypeName(), reg) + paramType = "string" paramFormat = "" + enum, err := reg.LookupEnum("", parameter.Target.GetTypeName()) + if err != nil { + return err + } + enumNames = listEnumNames(enum) default: var ok bool paramType, paramFormat, ok = primitiveSchema(pt) @@ -542,33 +620,72 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re } } + if parameter.IsRepeated() { + core := schemaCore{Type: paramType, Format: paramFormat} + if parameter.IsEnum() { + var s []string + core.Enum = enumNames + enumNames = s + } + items = (*swaggerItemsObject)(&core) + paramType = "array" + paramFormat = "" + collectionFormat = reg.GetRepeatedPathParamSeparatorName() + minItems = new(int) + *minItems = 1 + } + + if desc == "" { + desc = fieldProtoComments(reg, parameter.Target.Message, parameter.Target) + } + parameters = append(parameters, swaggerParameterObject{ - Name: parameter.String(), - In: "path", - Required: true, + Name: parameter.String(), + Description: desc, + In: "path", + Required: true, // Parameters in gRPC-Gateway can only be strings? - Type: paramType, - Format: paramFormat, + Type: paramType, + Format: paramFormat, + Enum: enumNames, + Items: items, + CollectionFormat: collectionFormat, + MinItems: minItems, }) } // Now check if there is a body parameter if b.Body != nil { var schema swaggerSchemaObject + desc := "" if len(b.Body.FieldPath) == 0 { schema = swaggerSchemaObject{ - schemaCore: schemaCore{ - Ref: fmt.Sprintf("#/definitions/%s", fullyQualifiedNameToSwaggerName(meth.RequestType.FQMN(), reg)), - }, + schemaCore: schemaCore{}, + } + + wknSchemaCore, isWkn := wktSchemas[meth.RequestType.FQMN()] + if !isWkn { + schema.Ref = fmt.Sprintf("#/definitions/%s", fullyQualifiedNameToSwaggerName(meth.RequestType.FQMN(), reg)) + } else { + schema.schemaCore = wknSchemaCore + + // Special workaround for Empty: it's well-known type but wknSchemas only returns schema.schemaCore; but we need to set schema.Properties which is a level higher. + if meth.RequestType.FQMN() == ".google.protobuf.Empty" { + schema.Properties = &swaggerSchemaObjectProperties{} + } } } else { lastField := b.Body.FieldPath[len(b.Body.FieldPath)-1] - schema = schemaOfField(lastField.Target, reg) + schema = schemaOfField(lastField.Target, reg, customRefs) + if schema.Description != "" { + desc = schema.Description + } else { + desc = fieldProtoComments(reg, lastField.Target.Message, lastField.Target) + } } - desc := "" if meth.GetClientStreaming() { - desc = "(streaming inputs)" + desc += " (streaming inputs)" } parameters = append(parameters, swaggerParameterObject{ Name: "body", @@ -592,7 +709,39 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re } methProtoPath := protoPathIndex(reflect.TypeOf((*pbdescriptor.ServiceDescriptorProto)(nil)), "Method") - desc := "" + desc := "A successful response." + var responseSchema swaggerSchemaObject + + if b.ResponseBody == nil || len(b.ResponseBody.FieldPath) == 0 { + responseSchema = swaggerSchemaObject{ + schemaCore: schemaCore{}, + } + + // Don't link to a full definition for + // empty; it's overly verbose. + // schema.Properties{} renders it as + // well, without a definition + wknSchemaCore, isWkn := wktSchemas[meth.ResponseType.FQMN()] + if !isWkn { + responseSchema.Ref = fmt.Sprintf("#/definitions/%s", fullyQualifiedNameToSwaggerName(meth.ResponseType.FQMN(), reg)) + } else { + responseSchema.schemaCore = wknSchemaCore + + // Special workaround for Empty: it's well-known type but wknSchemas only returns schema.schemaCore; but we need to set schema.Properties which is a level higher. + if meth.ResponseType.FQMN() == ".google.protobuf.Empty" { + responseSchema.Properties = &swaggerSchemaObjectProperties{} + } + } + } else { + // This is resolving the value of response_body in the google.api.HttpRule + lastField := b.ResponseBody.FieldPath[len(b.ResponseBody.FieldPath)-1] + responseSchema = schemaOfField(lastField.Target, reg, customRefs) + if responseSchema.Description != "" { + desc = responseSchema.Description + } else { + desc = fieldProtoComments(reg, lastField.Target.Message, lastField.Target) + } + } if meth.GetServerStreaming() { desc += "(streaming responses)" } @@ -602,11 +751,7 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re Responses: swaggerResponsesObject{ "200": swaggerResponseObject{ Description: desc, - Schema: swaggerSchemaObject{ - schemaCore: schemaCore{ - Ref: fmt.Sprintf("#/definitions/%s", fullyQualifiedNameToSwaggerName(meth.ResponseType.FQMN(), reg)), - }, - }, + Schema: responseSchema, }, }, } @@ -620,11 +765,11 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re // Fill reference map with referenced request messages for _, param := range operationObject.Parameters { if param.Schema != nil && param.Schema.Ref != "" { - refs[param.Schema.Ref] = struct{}{} + requestResponseRefs[param.Schema.Ref] = struct{}{} } } - methComments := protoComments(reg, svc.File, nil, "Service", int32(svcIdx), methProtoPath, int32(methIdx)) + methComments := protoComments(reg, svc.File, nil, "Method", int32(svcIdx), methProtoPath, int32(methIdx)) if err := updateSwaggerDataFromComments(operationObject, methComments); err != nil { panic(err) } @@ -634,17 +779,7 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re if err != nil { panic(err) } - if opts.ExternalDocs != nil { - if operationObject.ExternalDocs == nil { - operationObject.ExternalDocs = &swaggerExternalDocumentationObject{} - } - if opts.ExternalDocs.Description != "" { - operationObject.ExternalDocs.Description = opts.ExternalDocs.Description - } - if opts.ExternalDocs.Url != "" { - operationObject.ExternalDocs.URL = opts.ExternalDocs.Url - } - } + operationObject.ExternalDocs = protoExternalDocumentationToSwaggerExternalDocumentation(opts.ExternalDocs) // TODO(ivucica): this would be better supported by looking whether the method is deprecated in the proto file operationObject.Deprecated = opts.Deprecated @@ -660,21 +795,34 @@ func renderServices(services []*descriptor.Service, paths swaggerPathsObject, re } if opts.Security != nil { newSecurity := []swaggerSecurityRequirementObject{} - if operationObject.Security == nil { - newSecurity = []swaggerSecurityRequirementObject{} - } else { - newSecurity = operationObject.Security + if operationObject.Security != nil { + newSecurity = *operationObject.Security } for _, secReq := range opts.Security { newSecReq := swaggerSecurityRequirementObject{} for secReqKey, secReqValue := range secReq.SecurityRequirement { + if secReqValue == nil { + continue + } + newSecReqValue := make([]string, len(secReqValue.Scope)) copy(newSecReqValue, secReqValue.Scope) newSecReq[secReqKey] = newSecReqValue } - newSecurity = append(newSecurity, newSecReq) + + if len(newSecReq) > 0 { + newSecurity = append(newSecurity, newSecReq) + } + } + operationObject.Security = &newSecurity + } + if opts.Responses != nil { + for name, resp := range opts.Responses { + operationObject.Responses[name] = swaggerResponseObject{ + Description: resp.Description, + Schema: swaggerSchemaFromProtoSchema(resp.Schema, reg, customRefs), + } } - operationObject.Security = newSecurity } // TODO(ivucica): add remaining fields of operation object @@ -726,17 +874,18 @@ func applyTemplate(p param) (*swaggerObject, error) { // Loops through all the services and their exposed GET/POST/PUT/DELETE definitions // and create entries for all of them. - refs := refMap{} - if err := renderServices(p.Services, s.Paths, p.reg, refs); err != nil { + // Also adds custom user specified references to second map. + requestResponseRefs, customRefs := refMap{}, refMap{} + if err := renderServices(p.Services, s.Paths, p.reg, requestResponseRefs, customRefs); err != nil { panic(err) } - // Find all the service's messages and enumerations that are defined (recursively) and then - // write their request and response types out as definition objects. + // Find all the service's messages and enumerations that are defined (recursively) + // and write request, response and other custom (but referenced) types out as definition objects. m := messageMap{} e := enumMap{} - findServicesMessagesAndEnumerations(p.Services, p.reg, m, e, refs) - renderMessagesAsDefinition(m, s.Definitions, p.reg) + findServicesMessagesAndEnumerations(p.Services, p.reg, m, e, requestResponseRefs) + renderMessagesAsDefinition(m, s.Definitions, p.reg, customRefs) renderEnumerationsAsDefinition(e, s.Definitions, p.reg) // File itself might have some comments and metadata. @@ -782,6 +931,17 @@ func applyTemplate(p param) (*swaggerObject, error) { s.Info.Contact.Email = spb.Info.Contact.Email } } + if spb.Info.License != nil { + if s.Info.License == nil { + s.Info.License = &swaggerLicenseObject{} + } + if spb.Info.License.Name != "" { + s.Info.License.Name = spb.Info.License.Name + } + if spb.Info.License.Url != "" { + s.Info.License.URL = spb.Info.License.Url + } + } } if spb.Host != "" { s.Host = spb.Host @@ -885,15 +1045,40 @@ func applyTemplate(p param) (*swaggerObject, error) { } s.Security = newSecurity } - if spb.ExternalDocs != nil { - if s.ExternalDocs == nil { - s.ExternalDocs = &swaggerExternalDocumentationObject{} - } - if spb.ExternalDocs.Description != "" { - s.ExternalDocs.Description = spb.ExternalDocs.Description - } - if spb.ExternalDocs.Url != "" { - s.ExternalDocs.URL = spb.ExternalDocs.Url + s.ExternalDocs = protoExternalDocumentationToSwaggerExternalDocumentation(spb.ExternalDocs) + // Populate all Paths with Responses set at top level, + // preferring Responses already set over those at the top level. + if spb.Responses != nil { + for _, verbs := range s.Paths { + var maps []swaggerResponsesObject + if verbs.Delete != nil { + maps = append(maps, verbs.Delete.Responses) + } + if verbs.Get != nil { + maps = append(maps, verbs.Get.Responses) + } + if verbs.Post != nil { + maps = append(maps, verbs.Post.Responses) + } + if verbs.Put != nil { + maps = append(maps, verbs.Put.Responses) + } + if verbs.Patch != nil { + maps = append(maps, verbs.Patch.Responses) + } + + for k, v := range spb.Responses { + for _, respMap := range maps { + if _, ok := respMap[k]; ok { + // Don't overwrite already existing Responses + continue + } + respMap[k] = swaggerResponseObject{ + Description: v.Description, + Schema: swaggerSchemaFromProtoSchema(v.Schema, p.reg, customRefs), + } + } + } } } @@ -901,6 +1086,10 @@ func applyTemplate(p param) (*swaggerObject, error) { // should be added here, once supported in the proto. } + // Finally add any references added by users that aren't + // otherwise rendered. + addCustomRefs(s.Definitions, p.reg, customRefs) + return &s, nil } @@ -1038,6 +1227,8 @@ func protoComments(reg *descriptor.Registry, file *descriptor.File, outers []str var messageProtoPath = protoPathIndex(reflect.TypeOf((*pbdescriptor.FileDescriptorProto)(nil)), "MessageType") var nestedProtoPath = protoPathIndex(reflect.TypeOf((*pbdescriptor.DescriptorProto)(nil)), "NestedType") var packageProtoPath = protoPathIndex(reflect.TypeOf((*pbdescriptor.FileDescriptorProto)(nil)), "Package") +var serviceProtoPath = protoPathIndex(reflect.TypeOf((*pbdescriptor.FileDescriptorProto)(nil)), "Service") +var methodProtoPath = protoPathIndex(reflect.TypeOf((*pbdescriptor.ServiceDescriptorProto)(nil)), "Method") func isProtoPathMatches(paths []int32, outerPaths []int32, typeName string, typeIndex int32, fieldPaths []int32) bool { if typeName == "Package" && typeIndex == packageProtoPath { @@ -1053,31 +1244,39 @@ func isProtoPathMatches(paths []int32, outerPaths []int32, typeName string, type return false } - typeNameDescriptor := reflect.TypeOf((*pbdescriptor.FileDescriptorProto)(nil)) - if len(outerPaths) > 0 { - if paths[0] != messageProtoPath || paths[1] != outerPaths[0] { + if typeName == "Method" { + if paths[0] != serviceProtoPath || paths[1] != typeIndex || paths[2] != methodProtoPath { return false } paths = paths[2:] - outerPaths = outerPaths[1:] + } else { + typeNameDescriptor := reflect.TypeOf((*pbdescriptor.FileDescriptorProto)(nil)) - for i, v := range outerPaths { - if paths[i*2] != nestedProtoPath || paths[i*2+1] != v { + if len(outerPaths) > 0 { + if paths[0] != messageProtoPath || paths[1] != outerPaths[0] { return false } - } - paths = paths[len(outerPaths)*2:] + paths = paths[2:] + outerPaths = outerPaths[1:] + + for i, v := range outerPaths { + if paths[i*2] != nestedProtoPath || paths[i*2+1] != v { + return false + } + } + paths = paths[len(outerPaths)*2:] - if typeName == "MessageType" { - typeName = "NestedType" + if typeName == "MessageType" { + typeName = "NestedType" + } + typeNameDescriptor = reflect.TypeOf((*pbdescriptor.DescriptorProto)(nil)) } - typeNameDescriptor = reflect.TypeOf((*pbdescriptor.DescriptorProto)(nil)) - } - if paths[0] != protoPathIndex(typeNameDescriptor, typeName) || paths[1] != typeIndex { - return false + if paths[0] != protoPathIndex(typeNameDescriptor, typeName) || paths[1] != typeIndex { + return false + } + paths = paths[2:] } - paths = paths[2:] for i, v := range fieldPaths { if paths[i] != v { @@ -1187,3 +1386,151 @@ func extractSwaggerOptionFromFileDescriptor(file *pbdescriptor.FileDescriptorPro } return opts, nil } + +func extractJSONSchemaFromFieldDescriptor(fd *pbdescriptor.FieldDescriptorProto) (*swagger_options.JSONSchema, error) { + if fd.Options == nil { + return nil, nil + } + if !proto.HasExtension(fd.Options, swagger_options.E_Openapiv2Field) { + return nil, nil + } + ext, err := proto.GetExtension(fd.Options, swagger_options.E_Openapiv2Field) + if err != nil { + return nil, err + } + opts, ok := ext.(*swagger_options.JSONSchema) + if !ok { + return nil, fmt.Errorf("extension is %T; want a JSONSchema object", ext) + } + return opts, nil +} + +func protoJSONSchemaToSwaggerSchemaCore(j *swagger_options.JSONSchema, reg *descriptor.Registry, refs refMap) schemaCore { + ret := schemaCore{} + + if j.GetRef() != "" { + swaggerName := fullyQualifiedNameToSwaggerName(j.GetRef(), reg) + if swaggerName != "" { + ret.Ref = "#/definitions/" + swaggerName + if refs != nil { + refs[j.GetRef()] = struct{}{} + } + } else { + ret.Ref += j.GetRef() + } + } else { + f, t := protoJSONSchemaTypeToFormat(j.GetType()) + ret.Format = f + ret.Type = t + } + + return ret +} + +func updateSwaggerObjectFromJSONSchema(s *swaggerSchemaObject, j *swagger_options.JSONSchema) { + s.Title = j.GetTitle() + s.Description = j.GetDescription() + s.MultipleOf = j.GetMultipleOf() + s.Maximum = j.GetMaximum() + s.ExclusiveMaximum = j.GetExclusiveMaximum() + s.Minimum = j.GetMinimum() + s.ExclusiveMinimum = j.GetExclusiveMinimum() + s.MaxLength = j.GetMaxLength() + s.MinLength = j.GetMinLength() + s.Pattern = j.GetPattern() + s.MaxItems = j.GetMaxItems() + s.MinItems = j.GetMinItems() + s.UniqueItems = j.GetUniqueItems() + s.MaxProperties = j.GetMaxProperties() + s.MinProperties = j.GetMinProperties() + s.Required = j.GetRequired() +} + +func swaggerSchemaFromProtoSchema(s *swagger_options.Schema, reg *descriptor.Registry, refs refMap) swaggerSchemaObject { + ret := swaggerSchemaObject{ + ExternalDocs: protoExternalDocumentationToSwaggerExternalDocumentation(s.GetExternalDocs()), + } + + ret.schemaCore = protoJSONSchemaToSwaggerSchemaCore(s.GetJsonSchema(), reg, refs) + updateSwaggerObjectFromJSONSchema(&ret, s.GetJsonSchema()) + + return ret +} + +func protoJSONSchemaTypeToFormat(in []swagger_options.JSONSchema_JSONSchemaSimpleTypes) (string, string) { + if len(in) == 0 { + return "", "" + } + + // Can't support more than 1 type, just return the first element. + // This is due to an inconsistency in the design of the openapiv2 proto + // and that used in schemaCore. schemaCore uses the v3 definition of types, + // which only allows a single string, while the openapiv2 proto uses the OpenAPI v2 + // definition, which defers to the JSON schema definition, which allows a string or an array. + // Sources: + // https://swagger.io/specification/#itemsObject + // https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.2 + switch in[0] { + case swagger_options.JSONSchema_UNKNOWN, swagger_options.JSONSchema_NULL: + return "", "" + case swagger_options.JSONSchema_OBJECT: + return "object", "" + case swagger_options.JSONSchema_ARRAY: + return "array", "" + case swagger_options.JSONSchema_BOOLEAN: + return "boolean", "boolean" + case swagger_options.JSONSchema_INTEGER: + return "integer", "int32" + case swagger_options.JSONSchema_NUMBER: + return "number", "double" + case swagger_options.JSONSchema_STRING: + // NOTE: in swagger specifition, format should be empty on string type + return "string", "" + default: + // Maybe panic? + return "", "" + } +} + +func protoExternalDocumentationToSwaggerExternalDocumentation(in *swagger_options.ExternalDocumentation) *swaggerExternalDocumentationObject { + if in == nil { + return nil + } + + return &swaggerExternalDocumentationObject{ + Description: in.Description, + URL: in.Url, + } +} + +func addCustomRefs(d swaggerDefinitionsObject, reg *descriptor.Registry, refs refMap) { + if len(refs) == 0 { + return + } + msgMap := make(messageMap) + enumMap := make(enumMap) + for ref := range refs { + if _, ok := d[fullyQualifiedNameToSwaggerName(ref, reg)]; ok { + // Skip already existing definitions + delete(refs, ref) + continue + } + msg, err := reg.LookupMsg("", ref) + if err == nil { + msgMap[fullyQualifiedNameToSwaggerName(ref, reg)] = msg + continue + } + enum, err := reg.LookupEnum("", ref) + if err == nil { + enumMap[fullyQualifiedNameToSwaggerName(ref, reg)] = enum + continue + } + + // ?? Should be either enum or msg + } + renderMessagesAsDefinition(msgMap, d, reg, refs) + renderEnumerationsAsDefinition(enumMap, d, reg) + + // Run again in case any new refs were added + addCustomRefs(d, reg, refs) +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template_test.go index e01bbc34e..359a1b92d 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/template_test.go @@ -1,6 +1,7 @@ package genswagger import ( + "fmt" "reflect" "testing" @@ -9,7 +10,6 @@ import ( plugin "github.com/golang/protobuf/protoc-gen-go/plugin" "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor" "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/httprule" - "fmt" ) func crossLinkFixture(f *descriptor.File) *descriptor.File { @@ -697,6 +697,16 @@ func TestTemplateToSwaggerPath(t *testing.T) { {"/{test=prefix/that/has/multiple/parts/to/it/*}", "/{test}"}, {"/{test1}/{test2}", "/{test1}/{test2}"}, {"/{test1}/{test2}/", "/{test1}/{test2}/"}, + {"/{name=prefix/*}", "/{name=prefix/*}"}, + {"/{name=prefix1/*/prefix2/*}", "/{name=prefix1/*/prefix2/*}"}, + {"/{user.name=prefix/*}", "/{user.name=prefix/*}"}, + {"/{user.name=prefix1/*/prefix2/*}", "/{user.name=prefix1/*/prefix2/*}"}, + {"/{parent=prefix/*}/children", "/{parent=prefix/*}/children"}, + {"/{name=prefix/*}:customMethod", "/{name=prefix/*}:customMethod"}, + {"/{name=prefix1/*/prefix2/*}:customMethod", "/{name=prefix1/*/prefix2/*}:customMethod"}, + {"/{user.name=prefix/*}:customMethod", "/{user.name=prefix/*}:customMethod"}, + {"/{user.name=prefix1/*/prefix2/*}:customMethod", "/{user.name=prefix1/*/prefix2/*}:customMethod"}, + {"/{parent=prefix/*}/children:customMethod", "/{parent=prefix/*}/children:customMethod"}, } for _, data := range tests { @@ -773,6 +783,7 @@ func TestFQMNtoSwaggerName(t *testing.T) { func TestSchemaOfField(t *testing.T) { type test struct { field *descriptor.Field + refs refMap expected schemaCore } @@ -784,6 +795,7 @@ func TestSchemaOfField(t *testing.T) { Type: protodescriptor.FieldDescriptorProto_TYPE_STRING.Enum(), }, }, + refs: make(refMap), expected: schemaCore{ Type: "string", }, @@ -796,6 +808,7 @@ func TestSchemaOfField(t *testing.T) { Label: protodescriptor.FieldDescriptorProto_LABEL_REPEATED.Enum(), }, }, + refs: make(refMap), expected: schemaCore{ Type: "array", Items: &swaggerItemsObject{ @@ -811,6 +824,7 @@ func TestSchemaOfField(t *testing.T) { Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), }, }, + refs: make(refMap), expected: schemaCore{ Type: "string", }, @@ -824,6 +838,7 @@ func TestSchemaOfField(t *testing.T) { Label: protodescriptor.FieldDescriptorProto_LABEL_REPEATED.Enum(), }, }, + refs: make(refMap), expected: schemaCore{ Type: "array", Items: &swaggerItemsObject{ @@ -831,6 +846,118 @@ func TestSchemaOfField(t *testing.T) { }, }, }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.BytesValue"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "string", + Format: "bytes", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.Int32Value"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "integer", + Format: "int32", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.UInt32Value"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "integer", + Format: "int64", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.Int64Value"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "string", + Format: "int64", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.UInt64Value"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "string", + Format: "uint64", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.FloatValue"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "number", + Format: "float", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.DoubleValue"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "number", + Format: "double", + }, + }, + { + field: &descriptor.Field{ + FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ + Name: proto.String("wrapped_field"), + TypeName: proto.String(".google.protobuf.BoolValue"), + Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), + }, + }, + refs: make(refMap), + expected: schemaCore{ + Type: "boolean", + Format: "boolean", + }, + }, { field: &descriptor.Field{ FieldDescriptorProto: &protodescriptor.FieldDescriptorProto{ @@ -839,6 +966,7 @@ func TestSchemaOfField(t *testing.T) { Type: protodescriptor.FieldDescriptorProto_TYPE_MESSAGE.Enum(), }, }, + refs: refMap{".example.Message": struct{}{}}, expected: schemaCore{ Ref: "#/definitions/exampleMessage", }, @@ -875,7 +1003,8 @@ func TestSchemaOfField(t *testing.T) { }) for _, test := range tests { - actual := schemaOfField(test.field, reg) + refs := make(refMap) + actual := schemaOfField(test.field, reg, refs) if e, a := test.expected.Type, actual.Type; e != a { t.Errorf("Expected schemaOfField(%v).Type = %s, actual: %s", test.field, e, a) } @@ -885,5 +1014,150 @@ func TestSchemaOfField(t *testing.T) { if e, a := test.expected.Items.getType(), actual.Items.getType(); e != a { t.Errorf("Expected schemaOfField(%v).Items.Type = %v, actual.Type: %v", test.field, e, a) } + if !reflect.DeepEqual(refs, test.refs) { + t.Errorf("Expected schemaOfField(%v) to add refs %v, not %v", test.field, test.refs, refs) + } + } +} + +func fileFixtureServices(services []string) *descriptor.File { + var ( + svcdesc = []*protodescriptor.ServiceDescriptorProto{} + loc = []*protodescriptor.SourceCodeInfo_Location{} + msgdesc = []*protodescriptor.DescriptorProto{} + methdesc = []*protodescriptor.MethodDescriptorProto{} + msg = []*descriptor.Message{} + svc = []*descriptor.Service{} + ) + + for _, service := range services { + // loc + sc := &protodescriptor.SourceCodeInfo_Location{ + LeadingComments: proto.String(fmt.Sprintf("%s message", service)), + } + loc = append(loc, sc) + // methdesc + md := &protodescriptor.MethodDescriptorProto{ + Name: proto.String(service), + InputType: proto.String(fmt.Sprintf("%sMessage", service)), + OutputType: proto.String(fmt.Sprintf("%sMessage", service)), + } + methdesc = append(methdesc, md) + // svcdesc + sd := &protodescriptor.ServiceDescriptorProto{ + Name: proto.String(fmt.Sprintf("%sService", service)), + Method: []*protodescriptor.MethodDescriptorProto{md}, + } + svcdesc = append(svcdesc, sd) + // msgdesc + d := &protodescriptor.DescriptorProto{ + Name: proto.String(fmt.Sprintf("%sRequest", service)), + } + msgdesc = append(msgdesc, d) + // msg + m := &descriptor.Message{ + DescriptorProto: d, + } + msg = append(msg, m) + // methods + meth := &descriptor.Method{ + MethodDescriptorProto: md, + RequestType: m, + ResponseType: m, + Bindings: []*descriptor.Binding{ + { + HTTPMethod: "POST", + Body: &descriptor.Body{FieldPath: nil}, + PathTmpl: httprule.Template{ + Version: 1, + OpCodes: []int{0, 0}, + Template: fmt.Sprintf("/v1/%s", service), + }, + }, + }, + } + s := &descriptor.Service{ + ServiceDescriptorProto: sd, + Methods: []*descriptor.Method{meth}, + } + svc = append(svc, s) + } + + file := descriptor.File{ + FileDescriptorProto: &protodescriptor.FileDescriptorProto{ + SourceCodeInfo: &protodescriptor.SourceCodeInfo{ + Location: loc, + }, + Name: proto.String("example.proto"), + Package: proto.String("example"), + Dependency: []string{}, + MessageType: msgdesc, + Service: svcdesc, + }, + GoPkg: descriptor.GoPackage{ + Path: "example.com/path/to/example/example1.pb", + Name: "example_pb", + }, + Messages: msg, + Services: svc, + } + return &file +} + +func TestIsProtoPathMatches(t *testing.T) { + for _, test := range []struct { + path []int32 + outerPaths []int32 + typeName string + typeIndex int32 + fieldPaths []int32 + want bool + }{ + {[]int32{6, 0, 2, 0}, []int32{}, "Method", 1, []int32{2, 0}, false}, + {[]int32{6, 0, 2, 0, 1}, []int32{}, "Method", 1, []int32{2, 0}, false}, + {[]int32{6, 0, 2, 0}, []int32{}, "Method", 0, []int32{2, 0}, true}, + {[]int32{}, []int32{}, "Package", 2, []int32{}, false}, + {[]int32{2}, []int32{}, "Package", 3, []int32{}, false}, + {[]int32{2}, []int32{}, "Package", 2, []int32{}, true}, + {[]int32{4, 0}, []int32{}, "MessageType", 1, []int32{}, false}, + {[]int32{4, 0, 2, 0}, []int32{}, "MessageType", 0, []int32{4, 0}, false}, + } { + got := isProtoPathMatches(test.path, test.outerPaths, test.typeName, test.typeIndex, test.fieldPaths) + if got != test.want { + t.Errorf("isProtoPathMatches(%v) got (%t) want %t", test, got, test.want) + } + } +} + +func TestProtoComments(t *testing.T) { + for _, test := range []struct { + services []string + startPath []int32 + outers []string + typeName string + typeIndex int32 + fieldPaths []int32 + want string + }{ + {[]string{"Foo", "Bar"}, []int32{6, 0, 2, 0}, []string{}, "Method", 0, []int32{2, 0}, "Foo message"}, + {[]string{"Foo", "Bar"}, []int32{6, 0, 2, 0}, []string{}, "Method", 1, []int32{2, 0}, "Bar message"}, + {[]string{"Foo", "Bar"}, []int32{6, 0, 2, 0}, []string{}, "Method", 2, []int32{2, 0}, ""}, + {[]string{"Foo", "Bar"}, []int32{4, 0, 1}, []string{}, "Method", 0, []int32{2, 0}, ""}, + {[]string{"Foo", "Bar"}, []int32{6, 0, 1, 1}, []string{}, "Method", 0, []int32{2, 0}, ""}, + {[]string{"Foo", "Bar", "Baz"}, []int32{6, 0, 2, 0}, []string{}, "Method", 2, []int32{2, 0}, "Baz message"}, + } { + file := fileFixtureServices(test.services) + for i, loc := range file.SourceCodeInfo.Location { + test.startPath[1] = int32(i) + loc.Path = append(loc.Path, test.startPath...) + } + reg := descriptor.NewRegistry() + reg.Load(&plugin.CodeGeneratorRequest{ + ProtoFile: []*protodescriptor.FileDescriptorProto{file.FileDescriptorProto}, + }) + got := protoComments(reg, file, test.outers, test.typeName, test.typeIndex, test.fieldPaths...) + if got != test.want { + t.Errorf("protoComments(%v) got (%s) want %s", test, got, test.want) + } } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/types.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/types.go index 0c85d9411..b66450cda 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/types.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/types.go @@ -105,7 +105,7 @@ type swaggerOperationObject struct { Tags []string `json:"tags,omitempty"` Deprecated bool `json:"deprecated,omitempty"` - Security []swaggerSecurityRequirementObject `json:"security,omitempty"` + Security *[]swaggerSecurityRequirementObject `json:"security,omitempty"` ExternalDocs *swaggerExternalDocumentationObject `json:"externalDocs,omitempty"` } @@ -113,15 +113,17 @@ type swaggerParametersObject []swaggerParameterObject // http://swagger.io/specification/#parameterObject type swaggerParameterObject struct { - Name string `json:"name"` - Description string `json:"description,omitempty"` - In string `json:"in,omitempty"` - Required bool `json:"required"` - Type string `json:"type,omitempty"` - Format string `json:"format,omitempty"` - Items *swaggerItemsObject `json:"items,omitempty"` - Enum []string `json:"enum,omitempty"` - Default string `json:"default,omitempty"` + Name string `json:"name"` + Description string `json:"description,omitempty"` + In string `json:"in,omitempty"` + Required bool `json:"required"` + Type string `json:"type,omitempty"` + Format string `json:"format,omitempty"` + Items *swaggerItemsObject `json:"items,omitempty"` + Enum []string `json:"enum,omitempty"` + CollectionFormat string `json:"collectionFormat,omitempty"` + Default string `json:"default,omitempty"` + MinItems *int `json:"minItems,omitempty"` // Or you can explicitly refer to another type. If this is defined all // other fields should be empty @@ -197,13 +199,28 @@ func (op swaggerSchemaObjectProperties) MarshalJSON() ([]byte, error) { type swaggerSchemaObject struct { schemaCore // Properties can be recursively defined - Properties swaggerSchemaObjectProperties `json:"properties,omitempty"` - AdditionalProperties *swaggerSchemaObject `json:"additionalProperties,omitempty"` + Properties *swaggerSchemaObjectProperties `json:"properties,omitempty"` + AdditionalProperties *swaggerSchemaObject `json:"additionalProperties,omitempty"` Description string `json:"description,omitempty"` Title string `json:"title,omitempty"` ExternalDocs *swaggerExternalDocumentationObject `json:"externalDocs,omitempty"` + + MultipleOf float64 `json:"multipleOf,omitempty"` + Maximum float64 `json:"maximum,omitempty"` + ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty"` + Minimum float64 `json:"minimum,omitempty"` + ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty"` + MaxLength uint64 `json:"maxLength,omitempty"` + MinLength uint64 `json:"minLength,omitempty"` + Pattern string `json:"pattern,omitempty"` + MaxItems uint64 `json:"maxItems,omitempty"` + MinItems uint64 `json:"minItems,omitempty"` + UniqueItems bool `json:"uniqueItems,omitempty"` + MaxProperties uint64 `json:"maxProperties,omitempty"` + MinProperties uint64 `json:"minProperties,omitempty"` + Required []string `json:"required,omitempty"` } // http://swagger.io/specification/#referenceObject diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/main.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/main.go index 674af5c8b..5c921f6e1 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/main.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/main.go @@ -15,18 +15,33 @@ import ( ) var ( - importPrefix = flag.String("import_prefix", "", "prefix to be added to go package paths for imported proto files") - file = flag.String("file", "-", "where to load data from") - allowDeleteBody = flag.Bool("allow_delete_body", false, "unless set, HTTP DELETE methods may not have a body") - grpcAPIConfiguration = flag.String("grpc_api_configuration", "", "path to gRPC API Configuration in YAML format") - allowMerge = flag.Bool("allow_merge", false, "if set, generation one swagger file out of multiple protos") - mergeFileName = flag.String("merge_file_name", "apidocs", "target swagger file name prefix after merge") + importPrefix = flag.String("import_prefix", "", "prefix to be added to go package paths for imported proto files") + file = flag.String("file", "-", "where to load data from") + allowDeleteBody = flag.Bool("allow_delete_body", false, "unless set, HTTP DELETE methods may not have a body") + grpcAPIConfiguration = flag.String("grpc_api_configuration", "", "path to gRPC API Configuration in YAML format") + allowMerge = flag.Bool("allow_merge", false, "if set, generation one swagger file out of multiple protos") + mergeFileName = flag.String("merge_file_name", "apidocs", "target swagger file name prefix after merge") + useJSONNamesForFields = flag.Bool("json_names_for_fields", false, "if it sets Field.GetJsonName() will be used for generating swagger definitions, otherwise Field.GetName() will be used") + repeatedPathParamSeparator = flag.String("repeated_path_param_separator", "csv", "configures how repeated fields should be split. Allowed values are `csv`, `pipes`, `ssv` and `tsv`.") + versionFlag = flag.Bool("version", false, "print the current verison") +) + +// Variables set by goreleaser at build time +var ( + version = "dev" + commit = "unknown" + date = "unknown" ) func main() { flag.Parse() defer glog.Flush() + if *versionFlag { + fmt.Printf("Version %v, commit %v, built at %v\n", version, commit, date) + os.Exit(0) + } + reg := descriptor.NewRegistry() glog.V(1).Info("Processing code generator request") @@ -56,6 +71,11 @@ func main() { reg.SetAllowDeleteBody(*allowDeleteBody) reg.SetAllowMerge(*allowMerge) reg.SetMergeFileName(*mergeFileName) + reg.SetUseJSONNamesForFields(*useJSONNamesForFields) + if err := reg.SetRepeatedPathParamSeparator(*repeatedPathParamSeparator); err != nil { + emitError(err) + return + } for k, v := range pkgMap { reg.AddPkgMap(k, v) } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/BUILD.bazel index 476cb59db..7a51fd7c7 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/BUILD.bazel @@ -3,6 +3,20 @@ load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") package(default_visibility = ["//visibility:public"]) +filegroup( + name = "options_proto_files", + srcs = [ + "annotations.proto", + "openapiv2.proto", + ], +) + +go_library( + name = "go_default_library", + embed = [":options_go_proto"], + importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options", +) + proto_library( name = "options_proto", srcs = [ @@ -20,14 +34,4 @@ go_proto_library( compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options", proto = ":options_proto", - deps = [ - "@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library", - "@com_github_golang_protobuf//ptypes/any:go_default_library", - ], -) - -go_library( - name = "go_default_library", - embed = [":options_go_proto"], - importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options", ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.pb.go index b8fffb69a..a743078b4 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.pb.go @@ -55,37 +55,49 @@ var E_Openapiv2Tag = &proto.ExtensionDesc{ Filename: "protoc-gen-swagger/options/annotations.proto", } +var E_Openapiv2Field = &proto.ExtensionDesc{ + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*JSONSchema)(nil), + Field: 1042, + Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_field", + Tag: "bytes,1042,opt,name=openapiv2_field,json=openapiv2Field", + Filename: "protoc-gen-swagger/options/annotations.proto", +} + func init() { proto.RegisterExtension(E_Openapiv2Swagger) proto.RegisterExtension(E_Openapiv2Operation) proto.RegisterExtension(E_Openapiv2Schema) proto.RegisterExtension(E_Openapiv2Tag) + proto.RegisterExtension(E_Openapiv2Field) } func init() { - proto.RegisterFile("protoc-gen-swagger/options/annotations.proto", fileDescriptor_annotations_a3ffb1266b13d7a2) + proto.RegisterFile("protoc-gen-swagger/options/annotations.proto", fileDescriptor_annotations_24d91a1b8877b604) } -var fileDescriptor_annotations_a3ffb1266b13d7a2 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x4b, 0x03, 0x31, - 0x10, 0x85, 0xe9, 0x45, 0x64, 0x55, 0xac, 0xeb, 0x45, 0x8a, 0x68, 0x6f, 0x8a, 0xb4, 0x89, 0xd4, - 0xdb, 0xde, 0x54, 0xf0, 0x26, 0x85, 0x6d, 0x4f, 0x5e, 0x4a, 0x9a, 0x8e, 0xd3, 0x40, 0x9b, 0x09, - 0x49, 0xda, 0x52, 0xe8, 0xd1, 0x5f, 0xe0, 0x2f, 0x16, 0x93, 0xed, 0x56, 0xd6, 0x2a, 0x7b, 0xdb, - 0x99, 0x9d, 0xf7, 0xbe, 0xc7, 0x23, 0x49, 0xc7, 0x58, 0xf2, 0x24, 0xbb, 0x08, 0xba, 0xeb, 0x56, - 0x02, 0x11, 0x2c, 0x27, 0xe3, 0x15, 0x69, 0xc7, 0x85, 0xd6, 0xe4, 0x45, 0xf8, 0x66, 0xe1, 0x2c, - 0xbd, 0x41, 0x6b, 0x24, 0x43, 0xe1, 0x61, 0x25, 0xd6, 0x71, 0x27, 0x47, 0x08, 0x7a, 0x54, 0x48, - 0x59, 0x21, 0x6d, 0xdd, 0xfd, 0x63, 0x4b, 0x06, 0xb4, 0x30, 0x6a, 0xd9, 0x8b, 0x06, 0xad, 0x36, - 0x12, 0xe1, 0x0c, 0x78, 0x98, 0xc6, 0x8b, 0x77, 0x3e, 0x01, 0x27, 0xad, 0x32, 0x9e, 0x6c, 0xbc, - 0xc8, 0x36, 0xc9, 0x59, 0x29, 0xda, 0xa2, 0xd2, 0x4b, 0x16, 0x75, 0x6c, 0xab, 0x63, 0x2f, 0x6a, - 0x06, 0xfd, 0x08, 0xb9, 0xf8, 0x3c, 0x6c, 0x37, 0x6e, 0x8f, 0x7a, 0xf7, 0xac, 0x66, 0x62, 0x36, - 0x88, 0x73, 0xde, 0x2c, 0x49, 0xc5, 0x26, 0xfb, 0x68, 0x24, 0xe7, 0x3b, 0x3c, 0x19, 0xb0, 0xa1, - 0x93, 0xf4, 0xea, 0x57, 0x80, 0x57, 0xf0, 0x53, 0x9a, 0x54, 0x22, 0xf4, 0x6a, 0x47, 0xe8, 0x6f, - 0xad, 0xf3, 0xb4, 0xe4, 0x95, 0xbb, 0x6c, 0x93, 0x34, 0x7f, 0x94, 0x20, 0xa7, 0x30, 0x17, 0xe9, - 0xf5, 0x9e, 0x08, 0xce, 0x09, 0xac, 0xd6, 0xc0, 0xeb, 0xd7, 0x10, 0x8c, 0xf3, 0xd3, 0x5d, 0x0b, - 0x61, 0x91, 0xb9, 0xe4, 0x64, 0x47, 0xf7, 0x02, 0xf7, 0xa0, 0x07, 0x60, 0x97, 0x4a, 0x56, 0xd1, - 0x9d, 0xda, 0xe8, 0xa1, 0xc0, 0xfc, 0xb8, 0x84, 0x0c, 0x05, 0x3e, 0x3d, 0xbf, 0x3d, 0xa2, 0xf2, - 0xd3, 0xc5, 0x98, 0x49, 0x9a, 0xf3, 0x6f, 0x9f, 0x2e, 0x48, 0x72, 0x6b, 0xe7, 0xa1, 0x18, 0x0b, - 0x5b, 0xfe, 0xf7, 0x73, 0x1b, 0x1f, 0x84, 0x7f, 0x0f, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x80, - 0x7f, 0xc1, 0x6a, 0xea, 0x02, 0x00, 0x00, +var fileDescriptor_annotations_24d91a1b8877b604 = []byte{ + // 346 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x4f, 0xea, 0x40, + 0x14, 0xc5, 0xc3, 0xe6, 0xe5, 0xa5, 0xef, 0xa9, 0x58, 0x37, 0x86, 0xf8, 0x87, 0x9d, 0xc6, 0xc0, + 0x8c, 0x81, 0x5d, 0x77, 0x6a, 0xe2, 0xc2, 0x44, 0x49, 0x0a, 0x2b, 0x37, 0x64, 0x18, 0x2e, 0x97, + 0x49, 0x4a, 0xef, 0x64, 0x66, 0x80, 0x90, 0xb0, 0xf4, 0x13, 0xf8, 0x89, 0x8d, 0xd3, 0xd2, 0x9a, + 0x8a, 0xa6, 0xbb, 0xde, 0xdb, 0x39, 0xe7, 0x77, 0x7a, 0x3a, 0x41, 0x47, 0x1b, 0x72, 0x24, 0xbb, + 0x08, 0x69, 0xd7, 0xae, 0x05, 0x22, 0x18, 0x4e, 0xda, 0x29, 0x4a, 0x2d, 0x17, 0x69, 0x4a, 0x4e, + 0xf8, 0x67, 0xe6, 0x8f, 0x85, 0x57, 0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 0x48, 0xaa, 0x9d, + 0xf7, 0x6b, 0x43, 0x9f, 0x86, 0x83, 0x97, 0xfc, 0x9b, 0x0f, 0x0b, 0x96, 0xb7, 0xbc, 0x7f, 0x78, + 0xbd, 0x43, 0xe5, 0xe6, 0xcb, 0x09, 0x93, 0xb4, 0xe0, 0x9f, 0x86, 0x5d, 0x90, 0x64, 0x37, 0xd6, + 0x41, 0x3e, 0xe6, 0xfe, 0xfc, 0xe7, 0xcb, 0x3e, 0xf9, 0xe3, 0xdf, 0xf5, 0x3f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x4b, 0xc4, 0x41, 0xfb, 0x68, 0x03, 0x00, 0x00, } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.proto index 8746192b7..2c0f59447 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.proto +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.proto @@ -35,3 +35,10 @@ extend google.protobuf.ServiceOptions { // different descriptor messages. Tag openapiv2_tag = 1042; } +extend google.protobuf.FieldOptions { + // ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project. + // + // All IDs are the same, as assigned. It is okay that they are the same, as they extend + // different descriptor messages. + JSONSchema openapiv2_field = 1042; +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go index be2342b71..ccdb18fe0 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go @@ -48,7 +48,7 @@ func (x Swagger_SwaggerScheme) String() string { return proto.EnumName(Swagger_SwaggerScheme_name, int32(x)) } func (Swagger_SwaggerScheme) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{0, 0} + return fileDescriptor_openapiv2_ae281b352364822e, []int{0, 0} } type JSONSchema_JSONSchemaSimpleTypes int32 @@ -89,7 +89,7 @@ func (x JSONSchema_JSONSchemaSimpleTypes) String() string { return proto.EnumName(JSONSchema_JSONSchemaSimpleTypes_name, int32(x)) } func (JSONSchema_JSONSchemaSimpleTypes) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{6, 0} + return fileDescriptor_openapiv2_ae281b352364822e, []int{8, 0} } // Required. The type of the security scheme. Valid values are "basic", @@ -120,7 +120,7 @@ func (x SecurityScheme_Type) String() string { return proto.EnumName(SecurityScheme_Type_name, int32(x)) } func (SecurityScheme_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{9, 0} + return fileDescriptor_openapiv2_ae281b352364822e, []int{11, 0} } // Required. The location of the API key. Valid values are "query" or "header". @@ -147,7 +147,7 @@ func (x SecurityScheme_In) String() string { return proto.EnumName(SecurityScheme_In_name, int32(x)) } func (SecurityScheme_In) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{9, 1} + return fileDescriptor_openapiv2_ae281b352364822e, []int{11, 1} } // Required. The flow used by the OAuth2 security scheme. Valid values are @@ -181,7 +181,7 @@ func (x SecurityScheme_Flow) String() string { return proto.EnumName(SecurityScheme_Flow_name, int32(x)) } func (SecurityScheme_Flow) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{9, 2} + return fileDescriptor_openapiv2_ae281b352364822e, []int{11, 2} } // `Swagger` is a representation of OpenAPI v2 specification's Swagger object. @@ -190,16 +190,17 @@ func (SecurityScheme_Flow) EnumDescriptor() ([]byte, []int) { // // TODO(ivucica): document fields type Swagger struct { - Swagger string `protobuf:"bytes,1,opt,name=swagger" json:"swagger,omitempty"` - Info *Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` - Host string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"` - BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath" json:"base_path,omitempty"` - Schemes []Swagger_SwaggerScheme `protobuf:"varint,5,rep,packed,name=schemes,enum=grpc.gateway.protoc_gen_swagger.options.Swagger_SwaggerScheme" json:"schemes,omitempty"` - Consumes []string `protobuf:"bytes,6,rep,name=consumes" json:"consumes,omitempty"` - Produces []string `protobuf:"bytes,7,rep,name=produces" json:"produces,omitempty"` - SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,11,opt,name=security_definitions,json=securityDefinitions" json:"security_definitions,omitempty"` - Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security" json:"security,omitempty"` - ExternalDocs *ExternalDocumentation `protobuf:"bytes,14,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` + Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"` + Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` + BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"` + Schemes []Swagger_SwaggerScheme `protobuf:"varint,5,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_swagger.options.Swagger_SwaggerScheme" json:"schemes,omitempty"` + Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"` + Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"` + Responses map[string]*Response `protobuf:"bytes,10,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,11,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"` + Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"` + ExternalDocs *ExternalDocumentation `protobuf:"bytes,14,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -209,7 +210,7 @@ func (m *Swagger) Reset() { *m = Swagger{} } func (m *Swagger) String() string { return proto.CompactTextString(m) } func (*Swagger) ProtoMessage() {} func (*Swagger) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{0} + return fileDescriptor_openapiv2_ae281b352364822e, []int{0} } func (m *Swagger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Swagger.Unmarshal(m, b) @@ -278,6 +279,13 @@ func (m *Swagger) GetProduces() []string { return nil } +func (m *Swagger) GetResponses() map[string]*Response { + if m != nil { + return m.Responses + } + return nil +} + func (m *Swagger) GetSecurityDefinitions() *SecurityDefinitions { if m != nil { return m.SecurityDefinitions @@ -305,16 +313,17 @@ func (m *Swagger) GetExternalDocs() *ExternalDocumentation { // // TODO(ivucica): document fields type Operation struct { - Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` - Summary string `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` - ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` - OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"` - Consumes []string `protobuf:"bytes,6,rep,name=consumes" json:"consumes,omitempty"` - Produces []string `protobuf:"bytes,7,rep,name=produces" json:"produces,omitempty"` - Schemes []string `protobuf:"bytes,10,rep,name=schemes" json:"schemes,omitempty"` - Deprecated bool `protobuf:"varint,11,opt,name=deprecated" json:"deprecated,omitempty"` - Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security" json:"security,omitempty"` + Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` + Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` + OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` + Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"` + Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"` + Responses map[string]*Response `protobuf:"bytes,9,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Schemes []string `protobuf:"bytes,10,rep,name=schemes,proto3" json:"schemes,omitempty"` + Deprecated bool `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -324,7 +333,7 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{1} + return fileDescriptor_openapiv2_ae281b352364822e, []int{1} } func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) @@ -393,6 +402,13 @@ func (m *Operation) GetProduces() []string { return nil } +func (m *Operation) GetResponses() map[string]*Response { + if m != nil { + return m.Responses + } + return nil +} + func (m *Operation) GetSchemes() []string { if m != nil { return m.Schemes @@ -414,17 +430,72 @@ func (m *Operation) GetSecurity() []*SecurityRequirement { return nil } +// `Response` is a representation of OpenAPI v2 specification's Response object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject +// +type Response struct { + // `Description` is a short description of the response. + // GFM syntax can be used for rich text representation. + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + // `Schema` optionally defines the structure of the response. + // If `Schema` is not provided, it means there is no content to the response. + Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Response) Reset() { *m = Response{} } +func (m *Response) String() string { return proto.CompactTextString(m) } +func (*Response) ProtoMessage() {} +func (*Response) Descriptor() ([]byte, []int) { + return fileDescriptor_openapiv2_ae281b352364822e, []int{2} +} +func (m *Response) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Response.Unmarshal(m, b) +} +func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Response.Marshal(b, m, deterministic) +} +func (dst *Response) XXX_Merge(src proto.Message) { + xxx_messageInfo_Response.Merge(dst, src) +} +func (m *Response) XXX_Size() int { + return xxx_messageInfo_Response.Size(m) +} +func (m *Response) XXX_DiscardUnknown() { + xxx_messageInfo_Response.DiscardUnknown(m) +} + +var xxx_messageInfo_Response proto.InternalMessageInfo + +func (m *Response) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Response) GetSchema() *Schema { + if m != nil { + return m.Schema + } + return nil +} + // `Info` is a representation of OpenAPI v2 specification's Info object. // // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject // // TODO(ivucica): document fields type Info struct { - Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService" json:"terms_of_service,omitempty"` - Contact *Contact `protobuf:"bytes,4,opt,name=contact" json:"contact,omitempty"` - Version string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` + Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"` + License *License `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"` + Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -434,7 +505,7 @@ func (m *Info) Reset() { *m = Info{} } func (m *Info) String() string { return proto.CompactTextString(m) } func (*Info) ProtoMessage() {} func (*Info) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{2} + return fileDescriptor_openapiv2_ae281b352364822e, []int{3} } func (m *Info) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Info.Unmarshal(m, b) @@ -482,6 +553,13 @@ func (m *Info) GetContact() *Contact { return nil } +func (m *Info) GetLicense() *License { + if m != nil { + return m.License + } + return nil +} + func (m *Info) GetVersion() string { if m != nil { return m.Version @@ -495,9 +573,9 @@ func (m *Info) GetVersion() string { // // TODO(ivucica): document fields type Contact struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` - Email string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -507,7 +585,7 @@ func (m *Contact) Reset() { *m = Contact{} } func (m *Contact) String() string { return proto.CompactTextString(m) } func (*Contact) ProtoMessage() {} func (*Contact) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{3} + return fileDescriptor_openapiv2_ae281b352364822e, []int{4} } func (m *Contact) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Contact.Unmarshal(m, b) @@ -548,6 +626,58 @@ func (m *Contact) GetEmail() string { return "" } +// `License` is a representation of OpenAPI v2 specification's License object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject +// +type License struct { + // Required. The license name used for the API. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // A URL to the license used for the API. + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *License) Reset() { *m = License{} } +func (m *License) String() string { return proto.CompactTextString(m) } +func (*License) ProtoMessage() {} +func (*License) Descriptor() ([]byte, []int) { + return fileDescriptor_openapiv2_ae281b352364822e, []int{5} +} +func (m *License) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_License.Unmarshal(m, b) +} +func (m *License) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_License.Marshal(b, m, deterministic) +} +func (dst *License) XXX_Merge(src proto.Message) { + xxx_messageInfo_License.Merge(dst, src) +} +func (m *License) XXX_Size() int { + return xxx_messageInfo_License.Size(m) +} +func (m *License) XXX_DiscardUnknown() { + xxx_messageInfo_License.DiscardUnknown(m) +} + +var xxx_messageInfo_License proto.InternalMessageInfo + +func (m *License) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *License) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + // `ExternalDocumentation` is a representation of OpenAPI v2 specification's // ExternalDocumentation object. // @@ -555,8 +685,8 @@ func (m *Contact) GetEmail() string { // // TODO(ivucica): document fields type ExternalDocumentation struct { - Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -566,7 +696,7 @@ func (m *ExternalDocumentation) Reset() { *m = ExternalDocumentation{} } func (m *ExternalDocumentation) String() string { return proto.CompactTextString(m) } func (*ExternalDocumentation) ProtoMessage() {} func (*ExternalDocumentation) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{4} + return fileDescriptor_openapiv2_ae281b352364822e, []int{6} } func (m *ExternalDocumentation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExternalDocumentation.Unmarshal(m, b) @@ -606,11 +736,11 @@ func (m *ExternalDocumentation) GetUrl() string { // // TODO(ivucica): document fields type Schema struct { - JsonSchema *JSONSchema `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema" json:"json_schema,omitempty"` - Discriminator string `protobuf:"bytes,2,opt,name=discriminator" json:"discriminator,omitempty"` - ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly" json:"read_only,omitempty"` - ExternalDocs *ExternalDocumentation `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` - Example *any.Any `protobuf:"bytes,6,opt,name=example" json:"example,omitempty"` + JsonSchema *JSONSchema `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"` + Discriminator string `protobuf:"bytes,2,opt,name=discriminator,proto3" json:"discriminator,omitempty"` + ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` + ExternalDocs *ExternalDocumentation `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` + Example *any.Any `protobuf:"bytes,6,opt,name=example,proto3" json:"example,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -620,7 +750,7 @@ func (m *Schema) Reset() { *m = Schema{} } func (m *Schema) String() string { return proto.CompactTextString(m) } func (*Schema) ProtoMessage() {} func (*Schema) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{5} + return fileDescriptor_openapiv2_ae281b352364822e, []int{7} } func (m *Schema) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Schema.Unmarshal(m, b) @@ -687,26 +817,33 @@ func (m *Schema) GetExample() *any.Any { // // TODO(ivucica): document fields type JSONSchema struct { - Title string `protobuf:"bytes,5,opt,name=title" json:"title,omitempty"` - Description string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"` - Default string `protobuf:"bytes,7,opt,name=default" json:"default,omitempty"` - MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` - Maximum float64 `protobuf:"fixed64,11,opt,name=maximum" json:"maximum,omitempty"` - ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` - Minimum float64 `protobuf:"fixed64,13,opt,name=minimum" json:"minimum,omitempty"` - ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` - MaxLength uint64 `protobuf:"varint,15,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` - MinLength uint64 `protobuf:"varint,16,opt,name=min_length,json=minLength" json:"min_length,omitempty"` - Pattern string `protobuf:"bytes,17,opt,name=pattern" json:"pattern,omitempty"` - MaxItems uint64 `protobuf:"varint,20,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` - MinItems uint64 `protobuf:"varint,21,opt,name=min_items,json=minItems" json:"min_items,omitempty"` - UniqueItems bool `protobuf:"varint,22,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` - MaxProperties uint64 `protobuf:"varint,24,opt,name=max_properties,json=maxProperties" json:"max_properties,omitempty"` - MinProperties uint64 `protobuf:"varint,25,opt,name=min_properties,json=minProperties" json:"min_properties,omitempty"` - Required []string `protobuf:"bytes,26,rep,name=required" json:"required,omitempty"` + // Ref is used to define an external reference to include in the message. + // This could be a fully qualified proto message reference, and that type must be imported + // into the protofile. If no message is identified, the Ref will be used verbatim in + // the output. + // For example: + // `ref: ".google.protobuf.Timestamp"`. + Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` + Default string `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"` + MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` + Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"` + ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` + Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"` + ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` + MaxLength uint64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` + MinLength uint64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` + Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"` + MaxItems uint64 `protobuf:"varint,20,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` + MinItems uint64 `protobuf:"varint,21,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` + UniqueItems bool `protobuf:"varint,22,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` + MaxProperties uint64 `protobuf:"varint,24,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"` + MinProperties uint64 `protobuf:"varint,25,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"` + Required []string `protobuf:"bytes,26,rep,name=required,proto3" json:"required,omitempty"` // Items in 'array' must be unique. - Array []string `protobuf:"bytes,34,rep,name=array" json:"array,omitempty"` - Type []JSONSchema_JSONSchemaSimpleTypes `protobuf:"varint,35,rep,packed,name=type,enum=grpc.gateway.protoc_gen_swagger.options.JSONSchema_JSONSchemaSimpleTypes" json:"type,omitempty"` + Array []string `protobuf:"bytes,34,rep,name=array,proto3" json:"array,omitempty"` + Type []JSONSchema_JSONSchemaSimpleTypes `protobuf:"varint,35,rep,packed,name=type,proto3,enum=grpc.gateway.protoc_gen_swagger.options.JSONSchema_JSONSchemaSimpleTypes" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -716,7 +853,7 @@ func (m *JSONSchema) Reset() { *m = JSONSchema{} } func (m *JSONSchema) String() string { return proto.CompactTextString(m) } func (*JSONSchema) ProtoMessage() {} func (*JSONSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{6} + return fileDescriptor_openapiv2_ae281b352364822e, []int{8} } func (m *JSONSchema) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JSONSchema.Unmarshal(m, b) @@ -736,6 +873,13 @@ func (m *JSONSchema) XXX_DiscardUnknown() { var xxx_messageInfo_JSONSchema proto.InternalMessageInfo +func (m *JSONSchema) GetRef() string { + if m != nil { + return m.Ref + } + return "" +} + func (m *JSONSchema) GetTitle() string { if m != nil { return m.Title @@ -877,8 +1021,8 @@ func (m *JSONSchema) GetType() []JSONSchema_JSONSchemaSimpleTypes { type Tag struct { // TODO(ivucica): Description should be extracted from comments on the proto // service object. - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -888,7 +1032,7 @@ func (m *Tag) Reset() { *m = Tag{} } func (m *Tag) String() string { return proto.CompactTextString(m) } func (*Tag) ProtoMessage() {} func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{7} + return fileDescriptor_openapiv2_ae281b352364822e, []int{9} } func (m *Tag) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Tag.Unmarshal(m, b) @@ -932,7 +1076,7 @@ func (m *Tag) GetExternalDocs() *ExternalDocumentation { // and only serves to provide the relevant details for each scheme. type SecurityDefinitions struct { // A single security scheme definition, mapping a "name" to the scheme it defines. - Security map[string]*SecurityScheme `protobuf:"bytes,1,rep,name=security" json:"security,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Security map[string]*SecurityScheme `protobuf:"bytes,1,rep,name=security,proto3" json:"security,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -942,7 +1086,7 @@ func (m *SecurityDefinitions) Reset() { *m = SecurityDefinitions{} } func (m *SecurityDefinitions) String() string { return proto.CompactTextString(m) } func (*SecurityDefinitions) ProtoMessage() {} func (*SecurityDefinitions) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{8} + return fileDescriptor_openapiv2_ae281b352364822e, []int{10} } func (m *SecurityDefinitions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SecurityDefinitions.Unmarshal(m, b) @@ -981,36 +1125,36 @@ func (m *SecurityDefinitions) GetSecurity() map[string]*SecurityScheme { type SecurityScheme struct { // Required. The type of the security scheme. Valid values are "basic", // "apiKey" or "oauth2". - Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,enum=grpc.gateway.protoc_gen_swagger.options.SecurityScheme_Type" json:"type,omitempty"` + Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_swagger.options.SecurityScheme_Type" json:"type,omitempty"` // A short description for security scheme. - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Required. The name of the header or query parameter to be used. // // Valid for apiKey. - Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Required. The location of the API key. Valid values are "query" or "header". // // Valid for apiKey. - In SecurityScheme_In `protobuf:"varint,4,opt,name=in,enum=grpc.gateway.protoc_gen_swagger.options.SecurityScheme_In" json:"in,omitempty"` + In SecurityScheme_In `protobuf:"varint,4,opt,name=in,proto3,enum=grpc.gateway.protoc_gen_swagger.options.SecurityScheme_In" json:"in,omitempty"` // Required. The flow used by the OAuth2 security scheme. Valid values are // "implicit", "password", "application" or "accessCode". // // Valid for oauth2. - Flow SecurityScheme_Flow `protobuf:"varint,5,opt,name=flow,enum=grpc.gateway.protoc_gen_swagger.options.SecurityScheme_Flow" json:"flow,omitempty"` + Flow SecurityScheme_Flow `protobuf:"varint,5,opt,name=flow,proto3,enum=grpc.gateway.protoc_gen_swagger.options.SecurityScheme_Flow" json:"flow,omitempty"` // Required. The authorization URL to be used for this flow. This SHOULD be in // the form of a URL. // // Valid for oauth2/implicit and oauth2/accessCode. - AuthorizationUrl string `protobuf:"bytes,6,opt,name=authorization_url,json=authorizationUrl" json:"authorization_url,omitempty"` + AuthorizationUrl string `protobuf:"bytes,6,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` // Required. The token URL to be used for this flow. This SHOULD be in the // form of a URL. // // Valid for oauth2/password, oauth2/application and oauth2/accessCode. - TokenUrl string `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl" json:"token_url,omitempty"` + TokenUrl string `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` // Required. The available scopes for the OAuth2 security scheme. // // Valid for oauth2. - Scopes *Scopes `protobuf:"bytes,8,opt,name=scopes" json:"scopes,omitempty"` + Scopes *Scopes `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1020,7 +1164,7 @@ func (m *SecurityScheme) Reset() { *m = SecurityScheme{} } func (m *SecurityScheme) String() string { return proto.CompactTextString(m) } func (*SecurityScheme) ProtoMessage() {} func (*SecurityScheme) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{9} + return fileDescriptor_openapiv2_ae281b352364822e, []int{11} } func (m *SecurityScheme) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SecurityScheme.Unmarshal(m, b) @@ -1112,7 +1256,7 @@ type SecurityRequirement struct { // the Security Definitions. If the security scheme is of type "oauth2", // then the value is a list of scope names required for the execution. // For other security scheme types, the array MUST be empty. - SecurityRequirement map[string]*SecurityRequirement_SecurityRequirementValue `protobuf:"bytes,1,rep,name=security_requirement,json=securityRequirement" json:"security_requirement,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + SecurityRequirement map[string]*SecurityRequirement_SecurityRequirementValue `protobuf:"bytes,1,rep,name=security_requirement,json=securityRequirement,proto3" json:"security_requirement,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1122,7 +1266,7 @@ func (m *SecurityRequirement) Reset() { *m = SecurityRequirement{} } func (m *SecurityRequirement) String() string { return proto.CompactTextString(m) } func (*SecurityRequirement) ProtoMessage() {} func (*SecurityRequirement) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{10} + return fileDescriptor_openapiv2_ae281b352364822e, []int{12} } func (m *SecurityRequirement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SecurityRequirement.Unmarshal(m, b) @@ -1153,7 +1297,7 @@ func (m *SecurityRequirement) GetSecurityRequirement() map[string]*SecurityRequi // scope names required for the execution. For other security scheme types, // the array MUST be empty. type SecurityRequirement_SecurityRequirementValue struct { - Scope []string `protobuf:"bytes,1,rep,name=scope" json:"scope,omitempty"` + Scope []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1167,7 +1311,7 @@ func (m *SecurityRequirement_SecurityRequirementValue) String() string { } func (*SecurityRequirement_SecurityRequirementValue) ProtoMessage() {} func (*SecurityRequirement_SecurityRequirementValue) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{10, 0} + return fileDescriptor_openapiv2_ae281b352364822e, []int{12, 0} } func (m *SecurityRequirement_SecurityRequirementValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SecurityRequirement_SecurityRequirementValue.Unmarshal(m, b) @@ -1202,7 +1346,7 @@ func (m *SecurityRequirement_SecurityRequirementValue) GetScope() []string { type Scopes struct { // Maps between a name of a scope to a short description of it (as the value // of the property). - Scope map[string]string `protobuf:"bytes,1,rep,name=scope" json:"scope,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Scope map[string]string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1212,7 +1356,7 @@ func (m *Scopes) Reset() { *m = Scopes{} } func (m *Scopes) String() string { return proto.CompactTextString(m) } func (*Scopes) ProtoMessage() {} func (*Scopes) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_4346354ad6fc20e0, []int{11} + return fileDescriptor_openapiv2_ae281b352364822e, []int{13} } func (m *Scopes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Scopes.Unmarshal(m, b) @@ -1241,9 +1385,13 @@ func (m *Scopes) GetScope() map[string]string { func init() { proto.RegisterType((*Swagger)(nil), "grpc.gateway.protoc_gen_swagger.options.Swagger") + proto.RegisterMapType((map[string]*Response)(nil), "grpc.gateway.protoc_gen_swagger.options.Swagger.ResponsesEntry") proto.RegisterType((*Operation)(nil), "grpc.gateway.protoc_gen_swagger.options.Operation") + proto.RegisterMapType((map[string]*Response)(nil), "grpc.gateway.protoc_gen_swagger.options.Operation.ResponsesEntry") + proto.RegisterType((*Response)(nil), "grpc.gateway.protoc_gen_swagger.options.Response") proto.RegisterType((*Info)(nil), "grpc.gateway.protoc_gen_swagger.options.Info") proto.RegisterType((*Contact)(nil), "grpc.gateway.protoc_gen_swagger.options.Contact") + proto.RegisterType((*License)(nil), "grpc.gateway.protoc_gen_swagger.options.License") proto.RegisterType((*ExternalDocumentation)(nil), "grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation") proto.RegisterType((*Schema)(nil), "grpc.gateway.protoc_gen_swagger.options.Schema") proto.RegisterType((*JSONSchema)(nil), "grpc.gateway.protoc_gen_swagger.options.JSONSchema") @@ -1264,113 +1412,120 @@ func init() { } func init() { - proto.RegisterFile("protoc-gen-swagger/options/openapiv2.proto", fileDescriptor_openapiv2_4346354ad6fc20e0) -} - -var fileDescriptor_openapiv2_4346354ad6fc20e0 = []byte{ - // 1664 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x5b, 0x73, 0xdb, 0xc6, - 0x15, 0x0e, 0xc8, 0x25, 0x09, 0x1e, 0x4a, 0xcc, 0x7a, 0x2d, 0xb7, 0x88, 0x12, 0xbb, 0x0a, 0x9a, - 0x4e, 0x35, 0xf6, 0x98, 0x4a, 0x95, 0x87, 0x66, 0x32, 0x9d, 0xce, 0x50, 0x12, 0x63, 0x03, 0x96, - 0x49, 0x16, 0xa4, 0xa2, 0xb8, 0x33, 0x1d, 0xcc, 0x1a, 0x5c, 0x52, 0x88, 0x71, 0x61, 0x70, 0x91, - 0xc4, 0xfe, 0x82, 0x3e, 0x77, 0xfa, 0xda, 0x9f, 0xd1, 0xa7, 0xf6, 0x67, 0xf4, 0x97, 0xb4, 0x6f, - 0x7d, 0xea, 0xec, 0x05, 0x24, 0x74, 0x49, 0x86, 0x91, 0xed, 0x27, 0xee, 0xf9, 0xce, 0x65, 0xf7, - 0x5c, 0xf6, 0x9c, 0x05, 0xe1, 0xf1, 0x3c, 0x89, 0xb3, 0xd8, 0x7b, 0x3a, 0x63, 0xd1, 0xd3, 0xf4, - 0x82, 0xce, 0x66, 0x2c, 0xd9, 0x8b, 0xe7, 0x99, 0x1f, 0x47, 0xe9, 0x5e, 0x3c, 0x67, 0x11, 0x9d, - 0xfb, 0xe7, 0xfb, 0x1d, 0x21, 0x44, 0x7e, 0x3d, 0x4b, 0xe6, 0x5e, 0x67, 0x46, 0x33, 0x76, 0x41, - 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0x3f, 0x85, 0xbe, 0xfc, 0x91, 0xc1, 0x53, - 0xce, 0x7f, 0x09, 0xb0, 0x02, 0x6f, 0xf1, 0x76, 0xab, 0xec, 0x6d, 0xb3, 0x74, 0xac, 0x83, 0xc3, - 0x3f, 0x76, 0x67, 0x7e, 0x76, 0x96, 0xbf, 0xee, 0x78, 0x71, 0xb8, 0xc7, 0x0f, 0xf2, 0x94, 0x79, - 0x71, 0xba, 0x48, 0x33, 0xa6, 0x48, 0x75, 0xae, 0xbd, 0x1f, 0xfe, 0x13, 0xe6, 0x75, 0x5d, 0xf0, - 0xbe, 0xf8, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xb7, 0xe4, 0x3d, 0xa9, 0x11, 0x00, 0x00, + proto.RegisterFile("protoc-gen-swagger/options/openapiv2.proto", fileDescriptor_openapiv2_ae281b352364822e) +} + +var fileDescriptor_openapiv2_ae281b352364822e = []byte{ + // 1773 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x73, 0xdb, 0xc6, + 0x11, 0x0f, 0x48, 0x90, 0x04, 0x97, 0x22, 0x73, 0x3e, 0xcb, 0x2d, 0xa2, 0xc4, 0xae, 0xc2, 0xa6, + 0x53, 0x8d, 0x3d, 0xa6, 0x12, 0xe5, 0xa1, 0x99, 0x4c, 0xa7, 0x1d, 0x4a, 0x62, 0x6c, 0xc0, 0x32, + 0xc9, 0x82, 0x54, 0x14, 0x77, 0x26, 0x83, 0x81, 0xc1, 0x23, 0x85, 0x18, 0x38, 0x20, 0xf8, 0x90, + 0xc4, 0xbe, 0xf5, 0xa5, 0xed, 0x73, 0xa7, 0x4f, 0x9d, 0xe9, 0x9f, 0xd1, 0xb7, 0xfe, 0x55, 0xed, + 0x1f, 0xd0, 0xce, 0x7d, 0x80, 0x04, 0x25, 0x26, 0x43, 0xf9, 0xa3, 0x4f, 0xbc, 0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0xe3, 0x86, 0xc1, 0x3e, 0x73, 0xe4, 0x31, 0x71, 0xc3, 0x64, 0x9e, + 0xa4, 0x44, 0x92, 0xd2, 0xaf, 0xfd, 0x1f, 0xfe, 0x87, 0xf0, 0x65, 0x95, 0xcb, 0x3e, 0xff, 0x5f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xc4, 0x0e, 0x83, 0x46, 0x14, 0x00, 0x00, } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.proto index b3b9b89d9..18b6c89da 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.proto +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.proto @@ -31,8 +31,7 @@ message Swagger { // field 9 is reserved for 'definitions', which at this time are already // exposed as and customizable as proto messages. reserved 9; - // field 10 is reserved for 'responses'. - reserved 10; + map responses = 10; SecurityDefinitions security_definitions = 11; repeated SecurityRequirement security = 12; // field 13 is reserved for 'tags', which are supposed to be exposed as and @@ -57,13 +56,29 @@ message Operation { repeated string produces = 7; // field 8 is reserved for 'parameters'. reserved 8; - // field 9 is reserved for 'responses'. - reserved 9; + map responses = 9; repeated string schemes = 10; bool deprecated = 11; repeated SecurityRequirement security = 12; } +// `Response` is a representation of OpenAPI v2 specification's Response object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject +// +message Response { + // `Description` is a short description of the response. + // GFM syntax can be used for rich text representation. + string description = 1; + // `Schema` optionally defines the structure of the response. + // If `Schema` is not provided, it means there is no content to the response. + Schema schema = 2; + // field 3 is reserved for 'headers'. + reserved 3; + // field 3 is reserved for 'example'. + reserved 4; +} + // `Info` is a representation of OpenAPI v2 specification's Info object. // // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject @@ -74,8 +89,7 @@ message Info { string description = 2; string terms_of_service = 3; Contact contact = 4; - // field 5 is reserved for 'license'. - reserved 5; + License license = 5; string version = 6; } @@ -90,6 +104,17 @@ message Contact { string email = 3; } +// `License` is a representation of OpenAPI v2 specification's License object. +// +// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject +// +message License { + // Required. The license name used for the API. + string name = 1; + // A URL to the license used for the API. + string url = 2; +} + // `ExternalDocumentation` is a representation of OpenAPI v2 specification's // ExternalDocumentation object. // @@ -132,8 +157,13 @@ message JSONSchema { reserved 1; // field 2 is reserved for '$schema', omitted from OpenAPI v2. reserved 2; - // field 3 is reserved for '$ref', although it is unclear how it would be used. - reserved 3; + // Ref is used to define an external reference to include in the message. + // This could be a fully qualified proto message reference, and that type must be imported + // into the protofile. If no message is identified, the Ref will be used verbatim in + // the output. + // For example: + // `ref: ".google.protobuf.Timestamp"`. + string ref = 3; // field 4 is reserved for '$comment', omitted from OpenAPI v2. reserved 4; string title = 5; diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/repositories.bzl b/vendor/github.com/grpc-ecosystem/grpc-gateway/repositories.bzl deleted file mode 100644 index 959b20cff..000000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/repositories.bzl +++ /dev/null @@ -1,49 +0,0 @@ -GOOGLEAPIS_GOOGLE_API_BUILD_CONTENTS = """ -load("@io_bazel_rules_go//go:def.bzl", "go_library") -load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") - -package(default_visibility = ["//visibility:public"]) - -proto_library( - name = "api_proto", - srcs = [ - "annotations.proto", - "http.proto", - ], - deps = ["@com_google_protobuf//:descriptor_proto"], -) - -go_proto_library( - name = "api_go_proto", - importpath = "google.golang.org/genproto/googleapis/api/annotations", - proto = ":api_proto", - deps = ["@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library"], -) - -go_library( - name = "go_default_library", - embed = [":api_go_proto"], - importpath = "google.golang.org/genproto/googleapis/api/annotations", -) -""" - -def _googleapis_repository_impl(ctx): - googleapis_commit = "e1c0c726290a55065c0c46a62dacc9372939973b" - ctx.download_and_extract( - url = "https://github.com/googleapis/googleapis/archive/{commit}.tar.gz".format( - commit = googleapis_commit, - ), - sha256 = "9508971cb4a7c0fe03bc1bfafbd0abc9654c80b4c70e360a6c534938d06d8fb9", - stripPrefix = "googleapis-{}".format(googleapis_commit), - ) - - ctx.file("google/api/BUILD.bazel", GOOGLEAPIS_GOOGLE_API_BUILD_CONTENTS) - - -_googleapis_repository = repository_rule( - implementation = _googleapis_repository_impl, -) - - -def repositories(): - _googleapis_repository(name = "com_github_googleapis_googleapis") diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel index e04db4f70..059e20335 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel @@ -9,6 +9,7 @@ go_library( "convert.go", "doc.go", "errors.go", + "fieldmask.go", "handler.go", "marshal_json.go", "marshal_jsonpb.go", @@ -25,12 +26,14 @@ go_library( deps = [ "//runtime/internal:go_default_library", "//utilities:go_default_library", - "@com_github_golang_protobuf//jsonpb:go_default_library", + "@com_github_golang_protobuf//jsonpb:go_default_library_gen", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//ptypes:go_default_library", - "@com_github_golang_protobuf//ptypes/any:go_default_library", - "@com_github_golang_protobuf//ptypes/duration:go_default_library", - "@com_github_golang_protobuf//ptypes/timestamp:go_default_library", + "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen", + "@io_bazel_rules_go//proto/wkt:any_go_proto", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", + "@io_bazel_rules_go//proto/wkt:field_mask_go_proto", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@io_bazel_rules_go//proto/wkt:wrappers_go_proto", "@org_golang_google_grpc//codes:go_default_library", "@org_golang_google_grpc//grpclog:go_default_library", "@org_golang_google_grpc//metadata:go_default_library", @@ -41,39 +44,34 @@ go_library( go_test( name = "go_default_test", size = "small", - srcs = ["pattern_test.go"], - embed = [":go_default_library"], - deps = ["//utilities:go_default_library"], -) - -go_test( - name = "go_default_xtest", - size = "small", srcs = [ "context_test.go", "errors_test.go", + "fieldmask_test.go", "handler_test.go", "marshal_json_test.go", "marshal_jsonpb_test.go", "marshal_proto_test.go", "marshaler_registry_test.go", "mux_test.go", + "pattern_test.go", "query_test.go", ], + embed = [":go_default_library"], deps = [ - ":go_default_library", "//examples/proto/examplepb:go_default_library", "//runtime/internal:go_default_library", "//utilities:go_default_library", - "@com_github_golang_protobuf//jsonpb:go_default_library", + "@com_github_golang_protobuf//jsonpb:go_default_library_gen", "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//ptypes:go_default_library", - "@com_github_golang_protobuf//ptypes/duration:go_default_library", - "@com_github_golang_protobuf//ptypes/empty:go_default_library", - "@com_github_golang_protobuf//ptypes/struct:go_default_library", - "@com_github_golang_protobuf//ptypes/timestamp:go_default_library", - "@com_github_golang_protobuf//ptypes/wrappers:go_default_library", - "@org_golang_google_genproto//protobuf/field_mask:go_default_library", + "@com_github_golang_protobuf//ptypes:go_default_library_gen", + "@go_googleapis//google/rpc:errdetails_go_proto", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@io_bazel_rules_go//proto/wkt:field_mask_go_proto", + "@io_bazel_rules_go//proto/wkt:struct_go_proto", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@io_bazel_rules_go//proto/wkt:wrappers_go_proto", "@org_golang_google_grpc//:go_default_library", "@org_golang_google_grpc//codes:go_default_library", "@org_golang_google_grpc//metadata:go_default_library", diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context.go index a745074c9..896057e1e 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context.go @@ -1,14 +1,16 @@ package runtime import ( + "context" + "encoding/base64" "fmt" "net" "net/http" + "net/textproto" "strconv" "strings" "time" - "context" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/metadata" @@ -19,7 +21,8 @@ import ( // parameters to or from a gRPC call. const MetadataHeaderPrefix = "Grpc-Metadata-" -// MetadataPrefix is the prefix for grpc-gateway supplied custom metadata fields. +// MetadataPrefix is prepended to permanent HTTP header keys (as specified +// by the IANA) when added to the gRPC context. const MetadataPrefix = "grpcgateway-" // MetadataTrailerPrefix is prepended to gRPC metadata as it is converted to @@ -27,6 +30,7 @@ const MetadataPrefix = "grpcgateway-" const MetadataTrailerPrefix = "Grpc-Trailer-" const metadataGrpcTimeout = "Grpc-Timeout" +const metadataHeaderBinarySuffix = "-Bin" const xForwardedFor = "X-Forwarded-For" const xForwardedHost = "X-Forwarded-Host" @@ -37,6 +41,14 @@ var ( DefaultContextTimeout = 0 * time.Second ) +func decodeBinHeader(v string) ([]byte, error) { + if len(v)%4 == 0 { + // Input was padded, or padding was not necessary. + return base64.StdEncoding.DecodeString(v) + } + return base64.RawStdEncoding.DecodeString(v) +} + /* AnnotateContext adds context information such as metadata from the request. @@ -57,11 +69,22 @@ func AnnotateContext(ctx context.Context, mux *ServeMux, req *http.Request) (con for key, vals := range req.Header { for _, val := range vals { + key = textproto.CanonicalMIMEHeaderKey(key) // For backwards-compatibility, pass through 'authorization' header with no prefix. - if strings.ToLower(key) == "authorization" { + if key == "Authorization" { pairs = append(pairs, "authorization", val) } if h, ok := mux.incomingHeaderMatcher(key); ok { + // Handles "-bin" metadata in grpc, since grpc will do another base64 + // encode before sending to server, we need to decode it first. + if strings.HasSuffix(key, metadataHeaderBinarySuffix) { + b, err := decodeBinHeader(val) + if err != nil { + return nil, status.Errorf(codes.InvalidArgument, "invalid binary header %s: %s", key, err) + } + + val = string(b) + } pairs = append(pairs, h, val) } } @@ -80,7 +103,7 @@ func AnnotateContext(ctx context.Context, mux *ServeMux, req *http.Request) (con pairs = append(pairs, strings.ToLower(xForwardedFor), fmt.Sprintf("%s, %s", fwd, remoteIP)) } } else { - grpclog.Printf("invalid remote addr: %s", addr) + grpclog.Infof("invalid remote addr: %s", addr) } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context_test.go index e78a037d0..5f752408a 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/context_test.go @@ -1,12 +1,13 @@ package runtime_test import ( + "context" + "encoding/base64" "net/http" "reflect" "testing" "time" - "context" "github.com/grpc-ecosystem/grpc-gateway/runtime" "google.golang.org/grpc/metadata" ) @@ -68,6 +69,30 @@ func TestAnnotateContext_ForwardsGrpcMetadata(t *testing.T) { } } +func TestAnnotateContext_ForwardGrpcBinaryMetadata(t *testing.T) { + ctx := context.Background() + request, err := http.NewRequest("GET", "http://www.example.com", nil) + if err != nil { + t.Fatalf("http.NewRequest(%q, %q, nil) failed with %v; want success", "GET", "http://www.example.com", err) + } + + binData := []byte("\x00test-binary-data") + request.Header.Add("Grpc-Metadata-Test-Bin", base64.StdEncoding.EncodeToString(binData)) + + annotated, err := runtime.AnnotateContext(ctx, runtime.NewServeMux(), request) + if err != nil { + t.Errorf("runtime.AnnotateContext(ctx, %#v) failed with %v; want success", request, err) + return + } + md, ok := metadata.FromOutgoingContext(annotated) + if !ok || len(md) != emptyForwardMetaCount+1 { + t.Errorf("Expected %d metadata items in context; got %v", emptyForwardMetaCount+1, md) + } + if got, want := md["test-bin"], []string{string(binData)}; !reflect.DeepEqual(got, want) { + t.Errorf(`md["test-bin"] = %q want %q`, got, want) + } +} + func TestAnnotateContext_XForwardedFor(t *testing.T) { ctx := context.Background() request, err := http.NewRequest("GET", "http://bar.foo.example.com", nil) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/convert.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/convert.go index 903ae2340..a5b3bd6a7 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/convert.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/convert.go @@ -2,11 +2,14 @@ package runtime import ( "encoding/base64" + "fmt" "strconv" + "strings" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/ptypes/duration" "github.com/golang/protobuf/ptypes/timestamp" + "github.com/golang/protobuf/ptypes/wrappers" ) // String just returns the given string. @@ -15,16 +18,52 @@ func String(val string) (string, error) { return val, nil } +// StringSlice converts 'val' where individual strings are separated by +// 'sep' into a string slice. +func StringSlice(val, sep string) ([]string, error) { + return strings.Split(val, sep), nil +} + // Bool converts the given string representation of a boolean value into bool. func Bool(val string) (bool, error) { return strconv.ParseBool(val) } +// BoolSlice converts 'val' where individual booleans are separated by +// 'sep' into a bool slice. +func BoolSlice(val, sep string) ([]bool, error) { + s := strings.Split(val, sep) + values := make([]bool, len(s)) + for i, v := range s { + value, err := Bool(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Float64 converts the given string representation into representation of a floating point number into float64. func Float64(val string) (float64, error) { return strconv.ParseFloat(val, 64) } +// Float64Slice converts 'val' where individual floating point numbers are separated by +// 'sep' into a float64 slice. +func Float64Slice(val, sep string) ([]float64, error) { + s := strings.Split(val, sep) + values := make([]float64, len(s)) + for i, v := range s { + value, err := Float64(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Float32 converts the given string representation of a floating point number into float32. func Float32(val string) (float32, error) { f, err := strconv.ParseFloat(val, 32) @@ -34,11 +73,41 @@ func Float32(val string) (float32, error) { return float32(f), nil } +// Float32Slice converts 'val' where individual floating point numbers are separated by +// 'sep' into a float32 slice. +func Float32Slice(val, sep string) ([]float32, error) { + s := strings.Split(val, sep) + values := make([]float32, len(s)) + for i, v := range s { + value, err := Float32(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Int64 converts the given string representation of an integer into int64. func Int64(val string) (int64, error) { return strconv.ParseInt(val, 0, 64) } +// Int64Slice converts 'val' where individual integers are separated by +// 'sep' into a int64 slice. +func Int64Slice(val, sep string) ([]int64, error) { + s := strings.Split(val, sep) + values := make([]int64, len(s)) + for i, v := range s { + value, err := Int64(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Int32 converts the given string representation of an integer into int32. func Int32(val string) (int32, error) { i, err := strconv.ParseInt(val, 0, 32) @@ -48,11 +117,41 @@ func Int32(val string) (int32, error) { return int32(i), nil } +// Int32Slice converts 'val' where individual integers are separated by +// 'sep' into a int32 slice. +func Int32Slice(val, sep string) ([]int32, error) { + s := strings.Split(val, sep) + values := make([]int32, len(s)) + for i, v := range s { + value, err := Int32(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Uint64 converts the given string representation of an integer into uint64. func Uint64(val string) (uint64, error) { return strconv.ParseUint(val, 0, 64) } +// Uint64Slice converts 'val' where individual integers are separated by +// 'sep' into a uint64 slice. +func Uint64Slice(val, sep string) ([]uint64, error) { + s := strings.Split(val, sep) + values := make([]uint64, len(s)) + for i, v := range s { + value, err := Uint64(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Uint32 converts the given string representation of an integer into uint32. func Uint32(val string) (uint32, error) { i, err := strconv.ParseUint(val, 0, 32) @@ -62,16 +161,49 @@ func Uint32(val string) (uint32, error) { return uint32(i), nil } +// Uint32Slice converts 'val' where individual integers are separated by +// 'sep' into a uint32 slice. +func Uint32Slice(val, sep string) ([]uint32, error) { + s := strings.Split(val, sep) + values := make([]uint32, len(s)) + for i, v := range s { + value, err := Uint32(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Bytes converts the given string representation of a byte sequence into a slice of bytes // A bytes sequence is encoded in URL-safe base64 without padding func Bytes(val string) ([]byte, error) { b, err := base64.StdEncoding.DecodeString(val) if err != nil { - return nil, err + b, err = base64.URLEncoding.DecodeString(val) + if err != nil { + return nil, err + } } return b, nil } +// BytesSlice converts 'val' where individual bytes sequences, encoded in URL-safe +// base64 without padding, are separated by 'sep' into a slice of bytes slices slice. +func BytesSlice(val, sep string) ([][]byte, error) { + s := strings.Split(val, sep) + values := make([][]byte, len(s)) + for i, v := range s { + value, err := Bytes(v) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + // Timestamp converts the given RFC3339 formatted string into a timestamp.Timestamp. func Timestamp(val string) (*timestamp.Timestamp, error) { var r *timestamp.Timestamp @@ -85,3 +217,96 @@ func Duration(val string) (*duration.Duration, error) { err := jsonpb.UnmarshalString(val, r) return r, err } + +// Enum converts the given string into an int32 that should be type casted into the +// correct enum proto type. +func Enum(val string, enumValMap map[string]int32) (int32, error) { + e, ok := enumValMap[val] + if ok { + return e, nil + } + + i, err := Int32(val) + if err != nil { + return 0, fmt.Errorf("%s is not valid", val) + } + for _, v := range enumValMap { + if v == i { + return i, nil + } + } + return 0, fmt.Errorf("%s is not valid", val) +} + +// EnumSlice converts 'val' where individual enums are separated by 'sep' +// into a int32 slice. Each individual int32 should be type casted into the +// correct enum proto type. +func EnumSlice(val, sep string, enumValMap map[string]int32) ([]int32, error) { + s := strings.Split(val, sep) + values := make([]int32, len(s)) + for i, v := range s { + value, err := Enum(v, enumValMap) + if err != nil { + return values, err + } + values[i] = value + } + return values, nil +} + +/* + Support fot google.protobuf.wrappers on top of primitive types +*/ + +// StringValue well-known type support as wrapper around string type +func StringValue(val string) (*wrappers.StringValue, error) { + return &wrappers.StringValue{Value: val}, nil +} + +// FloatValue well-known type support as wrapper around float32 type +func FloatValue(val string) (*wrappers.FloatValue, error) { + parsedVal, err := Float32(val) + return &wrappers.FloatValue{Value: parsedVal}, err +} + +// DoubleValue well-known type support as wrapper around float64 type +func DoubleValue(val string) (*wrappers.DoubleValue, error) { + parsedVal, err := Float64(val) + return &wrappers.DoubleValue{Value: parsedVal}, err +} + +// BoolValue well-known type support as wrapper around bool type +func BoolValue(val string) (*wrappers.BoolValue, error) { + parsedVal, err := Bool(val) + return &wrappers.BoolValue{Value: parsedVal}, err +} + +// Int32Value well-known type support as wrapper around int32 type +func Int32Value(val string) (*wrappers.Int32Value, error) { + parsedVal, err := Int32(val) + return &wrappers.Int32Value{Value: parsedVal}, err +} + +// UInt32Value well-known type support as wrapper around uint32 type +func UInt32Value(val string) (*wrappers.UInt32Value, error) { + parsedVal, err := Uint32(val) + return &wrappers.UInt32Value{Value: parsedVal}, err +} + +// Int64Value well-known type support as wrapper around int64 type +func Int64Value(val string) (*wrappers.Int64Value, error) { + parsedVal, err := Int64(val) + return &wrappers.Int64Value{Value: parsedVal}, err +} + +// UInt64Value well-known type support as wrapper around uint64 type +func UInt64Value(val string) (*wrappers.UInt64Value, error) { + parsedVal, err := Uint64(val) + return &wrappers.UInt64Value{Value: parsedVal}, err +} + +// BytesValue well-known type support as wrapper around bytes[] type +func BytesValue(val string) (*wrappers.BytesValue, error) { + parsedVal, err := Bytes(val) + return &wrappers.BytesValue{Value: parsedVal}, err +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors.go index 0e2bdf445..b39f55ea8 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors.go @@ -6,7 +6,6 @@ import ( "net/http" "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes" "github.com/golang/protobuf/ptypes/any" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -53,7 +52,7 @@ func HTTPStatusFromCode(code codes.Code) int { return http.StatusInternalServerError } - grpclog.Printf("Unknown gRPC error code: %v", code) + grpclog.Infof("Unknown gRPC error code: %v", code) return http.StatusInternalServerError } @@ -67,6 +66,10 @@ var ( type errorBody struct { Error string `protobuf:"bytes,1,name=error" json:"error"` + // This is to make the error more compatible with users that expect errors to be Status objects: + // https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto + // It should be the exact same message as the Error field. + Message string `protobuf:"bytes,1,name=message" json:"message"` Code int32 `protobuf:"varint,2,name=code" json:"code"` Details []*any.Any `protobuf:"bytes,3,rep,name=details" json:"details,omitempty"` } @@ -94,34 +97,25 @@ func DefaultHTTPError(ctx context.Context, mux *ServeMux, marshaler Marshaler, w } body := &errorBody{ - Error: s.Message(), - Code: int32(s.Code()), - } - - for _, detail := range s.Details() { - if det, ok := detail.(proto.Message); ok { - a, err := ptypes.MarshalAny(det) - if err != nil { - grpclog.Printf("Failed to marshal any: %v", err) - } else { - body.Details = append(body.Details, a) - } - } + Error: s.Message(), + Message: s.Message(), + Code: int32(s.Code()), + Details: s.Proto().GetDetails(), } buf, merr := marshaler.Marshal(body) if merr != nil { - grpclog.Printf("Failed to marshal error message %q: %v", body, merr) + grpclog.Infof("Failed to marshal error message %q: %v", body, merr) w.WriteHeader(http.StatusInternalServerError) if _, err := io.WriteString(w, fallback); err != nil { - grpclog.Printf("Failed to write response: %v", err) + grpclog.Infof("Failed to write response: %v", err) } return } md, ok := ServerMetadataFromContext(ctx) if !ok { - grpclog.Printf("Failed to extract ServerMetadata from context") + grpclog.Infof("Failed to extract ServerMetadata from context") } handleForwardResponseServerMetadata(w, mux, md) @@ -129,7 +123,7 @@ func DefaultHTTPError(ctx context.Context, mux *ServeMux, marshaler Marshaler, w st := HTTPStatusFromCode(s.Code()) w.WriteHeader(st) if _, err := w.Write(buf); err != nil { - grpclog.Printf("Failed to write response: %v", err) + grpclog.Infof("Failed to write response: %v", err) } handleForwardResponseTrailer(w, md) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors_test.go index 2c7ecf186..f59537571 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/errors_test.go @@ -1,6 +1,7 @@ package runtime_test import ( + "context" "encoding/json" "fmt" "net/http" @@ -8,8 +9,8 @@ import ( "strings" "testing" - "context" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "google.golang.org/genproto/googleapis/rpc/errdetails" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) @@ -17,10 +18,15 @@ import ( func TestDefaultHTTPError(t *testing.T) { ctx := context.Background() + statusWithDetails, _ := status.New(codes.FailedPrecondition, "failed precondition").WithDetails( + &errdetails.PreconditionFailure{}, + ) + for _, spec := range []struct { - err error - status int - msg string + err error + status int + msg string + details string }{ { err: fmt.Errorf("example error"), @@ -32,10 +38,16 @@ func TestDefaultHTTPError(t *testing.T) { status: http.StatusNotFound, msg: "no such resource", }, + { + err: statusWithDetails.Err(), + status: http.StatusPreconditionFailed, + msg: "failed precondition", + details: "type.googleapis.com/google.rpc.PreconditionFailure", + }, } { w := httptest.NewRecorder() req, _ := http.NewRequest("", "", nil) // Pass in an empty request to match the signature - runtime.DefaultHTTPError(ctx, &runtime.ServeMux{}, &runtime.JSONBuiltin{}, w, req, spec.err) + runtime.DefaultHTTPError(ctx, &runtime.ServeMux{}, &runtime.JSONPb{}, w, req, spec.err) if got, want := w.Header().Get("Content-Type"), "application/json"; got != want { t.Errorf(`w.Header().Get("Content-Type") = %q; want %q; on spec.err=%v`, got, want, spec.err) @@ -53,5 +65,23 @@ func TestDefaultHTTPError(t *testing.T) { if got, want := body["error"].(string), spec.msg; !strings.Contains(got, want) { t.Errorf(`body["error"] = %q; want %q; on spec.err=%v`, got, want, spec.err) } + if got, want := body["message"].(string), spec.msg; !strings.Contains(got, want) { + t.Errorf(`body["message"] = %q; want %q; on spec.err=%v`, got, want, spec.err) + } + + if spec.details != "" { + details, ok := body["details"].([]interface{}) + if !ok { + t.Errorf(`body["details"] = %T; want %T`, body["details"], []interface{}{}) + continue + } + if len(details) != 1 { + t.Errorf(`len(body["details"]) = %v; want 1`, len(details)) + continue + } + if details[0].(map[string]interface{})["@type"] != spec.details { + t.Errorf(`details.@type = %s; want %s`, details[0].(map[string]interface{})["@type"], spec.details) + } + } } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask.go new file mode 100644 index 000000000..e1cf7a914 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask.go @@ -0,0 +1,70 @@ +package runtime + +import ( + "encoding/json" + "io" + "strings" + + "github.com/golang/protobuf/protoc-gen-go/generator" + "google.golang.org/genproto/protobuf/field_mask" +) + +// FieldMaskFromRequestBody creates a FieldMask printing all complete paths from the JSON body. +func FieldMaskFromRequestBody(r io.Reader) (*field_mask.FieldMask, error) { + fm := &field_mask.FieldMask{} + var root interface{} + if err := json.NewDecoder(r).Decode(&root); err != nil { + if err == io.EOF { + return fm, nil + } + return nil, err + } + + queue := []fieldMaskPathItem{{node: root}} + for len(queue) > 0 { + // dequeue an item + item := queue[0] + queue = queue[1:] + + if m, ok := item.node.(map[string]interface{}); ok { + // if the item is an object, then enqueue all of its children + for k, v := range m { + queue = append(queue, fieldMaskPathItem{path: append(item.path, generator.CamelCase(k)), node: v}) + } + } else if len(item.path) > 0 { + // otherwise, it's a leaf node so print its path + fm.Paths = append(fm.Paths, strings.Join(item.path, ".")) + } + } + + return fm, nil +} + +// fieldMaskPathItem stores a in-progress deconstruction of a path for a fieldmask +type fieldMaskPathItem struct { + // the list of prior fields leading up to node + path []string + + // a generic decoded json object the current item to inspect for further path extraction + node interface{} +} + +// CamelCaseFieldMask updates the given FieldMask by converting all of its paths to CamelCase, using the same heuristic +// that's used for naming protobuf fields in Go. +func CamelCaseFieldMask(mask *field_mask.FieldMask) { + if mask == nil || mask.Paths == nil { + return + } + + var newPaths []string + for _, path := range mask.Paths { + lowerCasedParts := strings.Split(path, ".") + var camelCasedParts []string + for _, part := range lowerCasedParts { + camelCasedParts = append(camelCasedParts, generator.CamelCase(part)) + } + newPaths = append(newPaths, strings.Join(camelCasedParts, ".")) + } + + mask.Paths = newPaths +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask_test.go new file mode 100644 index 000000000..3c097878a --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/fieldmask_test.go @@ -0,0 +1,87 @@ +package runtime + +import ( + "bytes" + "fmt" + "testing" + + "google.golang.org/genproto/protobuf/field_mask" +) + +func fieldMasksEqual(fm1, fm2 *field_mask.FieldMask) bool { + if fm1 == nil && fm2 == nil { + return true + } + if fm1 == nil || fm2 == nil { + return false + } + if len(fm1.GetPaths()) != len(fm2.GetPaths()) { + return false + } + + paths := make(map[string]bool) + for _, path := range fm1.GetPaths() { + paths[path] = true + } + for _, path := range fm2.GetPaths() { + if _, ok := paths[path]; !ok { + return false + } + } + + return true +} + +func newFieldMask(paths ...string) *field_mask.FieldMask { + return &field_mask.FieldMask{Paths: paths} +} + +func fieldMaskString(fm *field_mask.FieldMask) string { + if fm == nil { + return "" + } + return fmt.Sprintf("%v", fm.GetPaths()) +} + +func TestFieldMaskFromRequestBody(t *testing.T) { + for _, tc := range []struct { + name string + input string + expected *field_mask.FieldMask + expectedErr error + }{ + {name: "empty", expected: newFieldMask()}, + {name: "simple", input: `{"foo":1, "bar":"baz"}`, expected: newFieldMask("Foo", "Bar")}, + {name: "nested", input: `{"foo": {"bar":1, "baz": 2}, "qux": 3}`, expected: newFieldMask("Foo.Bar", "Foo.Baz", "Qux")}, + {name: "canonical", input: `{"f": {"b": {"d": 1, "x": 2}, "c": 1}}`, expected: newFieldMask("F.B.D", "F.B.X", "F.C")}, + } { + t.Run(tc.name, func(t *testing.T) { + actual, err := FieldMaskFromRequestBody(bytes.NewReader([]byte(tc.input))) + if !fieldMasksEqual(actual, tc.expected) { + t.Errorf("want %v; got %v", fieldMaskString(tc.expected), fieldMaskString(actual)) + } + if err != tc.expectedErr { + t.Errorf("want %v; got %v", tc.expectedErr, err) + } + }) + } +} + +func TestCamelCaseFieldMask(t *testing.T) { + for _, tc := range []struct { + name string + input *field_mask.FieldMask + expected *field_mask.FieldMask + }{ + {"nil", nil, nil}, + {"empty", &field_mask.FieldMask{Paths: nil}, &field_mask.FieldMask{Paths: nil}}, + {"main usage", newFieldMask("a", "a.b", "some_field.some_sub_field"), newFieldMask("A", "A.B", "SomeField.SomeSubField")}, + } { + t.Run(tc.name, func(t *testing.T) { + CamelCaseFieldMask(tc.input) + if expected, actual := tc.expected, tc.input; !fieldMasksEqual(expected, actual) { + t.Errorf("want %v; got %v", fieldMaskString(expected), fieldMaskString(actual)) + } + }) + } +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/handler.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/handler.go index 1b3c65035..8ad9d766e 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/handler.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/handler.go @@ -19,14 +19,14 @@ import ( func ForwardResponseStream(ctx context.Context, mux *ServeMux, marshaler Marshaler, w http.ResponseWriter, req *http.Request, recv func() (proto.Message, error), opts ...func(context.Context, http.ResponseWriter, proto.Message) error) { f, ok := w.(http.Flusher) if !ok { - grpclog.Printf("Flush not supported in %T", w) + grpclog.Infof("Flush not supported in %T", w) http.Error(w, "unexpected type of web server", http.StatusInternalServerError) return } md, ok := ServerMetadataFromContext(ctx) if !ok { - grpclog.Printf("Failed to extract ServerMetadata from context") + grpclog.Infof("Failed to extract ServerMetadata from context") http.Error(w, "unexpected error", http.StatusInternalServerError) return } @@ -63,17 +63,17 @@ func ForwardResponseStream(ctx context.Context, mux *ServeMux, marshaler Marshal buf, err := marshaler.Marshal(streamChunk(resp, nil)) if err != nil { - grpclog.Printf("Failed to marshal response chunk: %v", err) + grpclog.Infof("Failed to marshal response chunk: %v", err) handleForwardResponseStreamError(wroteHeader, marshaler, w, err) return } if _, err = w.Write(buf); err != nil { - grpclog.Printf("Failed to send response chunk: %v", err) + grpclog.Infof("Failed to send response chunk: %v", err) return } wroteHeader = true if _, err = w.Write(delimiter); err != nil { - grpclog.Printf("Failed to send delimiter chunk: %v", err) + grpclog.Infof("Failed to send delimiter chunk: %v", err) return } f.Flush() @@ -106,11 +106,17 @@ func handleForwardResponseTrailer(w http.ResponseWriter, md ServerMetadata) { } } +// responseBody interface contains method for getting field for marshaling to the response body +// this method is generated for response struct from the value of `response_body` in the `google.api.HttpRule` +type responseBody interface { + XXX_ResponseBody() interface{} +} + // ForwardResponseMessage forwards the message "resp" from gRPC server to REST client. func ForwardResponseMessage(ctx context.Context, mux *ServeMux, marshaler Marshaler, w http.ResponseWriter, req *http.Request, resp proto.Message, opts ...func(context.Context, http.ResponseWriter, proto.Message) error) { md, ok := ServerMetadataFromContext(ctx) if !ok { - grpclog.Printf("Failed to extract ServerMetadata from context") + grpclog.Infof("Failed to extract ServerMetadata from context") } handleForwardResponseServerMetadata(w, mux, md) @@ -120,16 +126,21 @@ func ForwardResponseMessage(ctx context.Context, mux *ServeMux, marshaler Marsha HTTPError(ctx, mux, marshaler, w, req, err) return } - - buf, err := marshaler.Marshal(resp) + var buf []byte + var err error + if rb, ok := resp.(responseBody); ok { + buf, err = marshaler.Marshal(rb.XXX_ResponseBody()) + } else { + buf, err = marshaler.Marshal(resp) + } if err != nil { - grpclog.Printf("Marshal error: %v", err) + grpclog.Infof("Marshal error: %v", err) HTTPError(ctx, mux, marshaler, w, req, err) return } if _, err = w.Write(buf); err != nil { - grpclog.Printf("Failed to write response: %v", err) + grpclog.Infof("Failed to write response: %v", err) } handleForwardResponseTrailer(w, md) @@ -141,7 +152,7 @@ func handleForwardResponseOptions(ctx context.Context, w http.ResponseWriter, re } for _, opt := range opts { if err := opt(ctx, w, resp); err != nil { - grpclog.Printf("Error handling ForwardResponseOptions: %v", err) + grpclog.Infof("Error handling ForwardResponseOptions: %v", err) return err } } @@ -151,7 +162,7 @@ func handleForwardResponseOptions(ctx context.Context, w http.ResponseWriter, re func handleForwardResponseStreamError(wroteHeader bool, marshaler Marshaler, w http.ResponseWriter, err error) { buf, merr := marshaler.Marshal(streamChunk(nil, err)) if merr != nil { - grpclog.Printf("Failed to marshal an error: %v", merr) + grpclog.Infof("Failed to marshal an error: %v", merr) return } if !wroteHeader { @@ -162,7 +173,7 @@ func handleForwardResponseStreamError(wroteHeader bool, marshaler Marshaler, w h w.WriteHeader(HTTPStatusFromCode(s.Code())) } if _, werr := w.Write(buf); werr != nil { - grpclog.Printf("Failed to notify error to client: %v", werr) + grpclog.Infof("Failed to notify error to client: %v", werr) return } } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/BUILD.bazel index 937e66089..635657304 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/BUILD.bazel @@ -13,7 +13,6 @@ go_proto_library( name = "internal_go_proto", importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime/internal", proto = ":internal_proto", - deps = ["@com_github_golang_protobuf//ptypes/any:go_default_library"], ) go_library( diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/stream_chunk.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/stream_chunk.pb.go index a06c722c1..f4af07480 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/stream_chunk.pb.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/stream_chunk.pb.go @@ -22,11 +22,11 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // StreamError is a response type which is returned when // streaming rpc returns an error. type StreamError struct { - GrpcCode int32 `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode" json:"grpc_code,omitempty"` - HttpCode int32 `protobuf:"varint,2,opt,name=http_code,json=httpCode" json:"http_code,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` - HttpStatus string `protobuf:"bytes,4,opt,name=http_status,json=httpStatus" json:"http_status,omitempty"` - Details []*any.Any `protobuf:"bytes,5,rep,name=details" json:"details,omitempty"` + GrpcCode int32 `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode,proto3" json:"grpc_code,omitempty"` + HttpCode int32 `protobuf:"varint,2,opt,name=http_code,json=httpCode,proto3" json:"http_code,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + HttpStatus string `protobuf:"bytes,4,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"` + Details []*any.Any `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_jsonpb_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_jsonpb_test.go index 0c3d01bfe..00dcfd99c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_jsonpb_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_jsonpb_test.go @@ -270,8 +270,8 @@ func TestJSONPbEncoder(t *testing.T) { if strings.ContainsAny(json, " \t\r\n") { t.Errorf("strings.ContainsAny(%q, %q) = true; want false", json, " \t\r\n") } - if strings.Contains(json, "ONE") { - t.Errorf(`strings.Contains(%q, "ONE") = true; want false`, json) + if !strings.Contains(json, "ONE") { + t.Errorf(`strings.Contains(%q, "ONE") = false; want true`, json) } if want := "uint64Value"; !strings.Contains(json, want) { t.Errorf(`strings.Contains(%q, %q) = false; want true`, json, want) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux.go index 1d4c75760..3064c69ec 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux.go @@ -1,12 +1,12 @@ package runtime import ( + "context" "fmt" "net/http" "net/textproto" "strings" - "context" "github.com/golang/protobuf/proto" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux_test.go index bb90a7306..f3ecbf633 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux_test.go @@ -176,6 +176,28 @@ func TestMuxServeHTTP(t *testing.T) { respStatus: http.StatusOK, respContent: "POST /foo:bar", }, + { + patterns: []stubPattern{ + { + method: "GET", + ops: []int{int(utilities.OpLitPush), 0, int(utilities.OpPush), 0, int(utilities.OpConcatN), 1, int(utilities.OpCapture), 1}, + pool: []string{"foo", "id"}, + }, + { + method: "GET", + ops: []int{int(utilities.OpLitPush), 0, int(utilities.OpPush), 0, int(utilities.OpConcatN), 1, int(utilities.OpCapture), 1}, + pool: []string{"foo", "id"}, + verb: "verb", + }, + }, + reqMethod: "GET", + reqPath: "/foo/bar:verb", + headers: map[string]string{ + "Content-Type": "application/json", + }, + respStatus: http.StatusOK, + respContent: "GET /foo/{id=*}:verb", + }, } { mux := runtime.NewServeMux() for _, p := range spec.patterns { @@ -211,3 +233,43 @@ func TestMuxServeHTTP(t *testing.T) { } } } + +var defaultHeaderMatcherTests = []struct { + name string + in string + outValue string + outValid bool +}{ + { + "permanent HTTP header should return prefixed", + "Accept", + "grpcgateway-Accept", + true, + }, + { + "key prefixed with MetadataHeaderPrefix should return without the prefix", + "Grpc-Metadata-Custom-Header", + "Custom-Header", + true, + }, + { + "non-permanent HTTP header key without prefix should not return", + "Custom-Header", + "", + false, + }, +} + +func TestDefaultHeaderMatcher(t *testing.T) { + for _, tt := range defaultHeaderMatcherTests { + t.Run(tt.name, func(t *testing.T) { + out, valid := runtime.DefaultHeaderMatcher(tt.in) + if out != tt.outValue { + t.Errorf("got %v, want %v", out, tt.outValue) + } + if valid != tt.outValid { + t.Errorf("got %v, want %v", valid, tt.outValid) + } + }) + } +} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/pattern.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/pattern.go index 8a9ec2cda..f16a84ad3 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/pattern.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/pattern.go @@ -44,13 +44,13 @@ type Pattern struct { // It returns an error if the given definition is invalid. func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, error) { if version != 1 { - grpclog.Printf("unsupported version: %d", version) + grpclog.Infof("unsupported version: %d", version) return Pattern{}, ErrInvalidPattern } l := len(ops) if l%2 != 0 { - grpclog.Printf("odd number of ops codes: %d", l) + grpclog.Infof("odd number of ops codes: %d", l) return Pattern{}, ErrInvalidPattern } @@ -73,14 +73,14 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er stack++ case utilities.OpPushM: if pushMSeen { - grpclog.Printf("pushM appears twice") + grpclog.Infof("pushM appears twice") return Pattern{}, ErrInvalidPattern } pushMSeen = true stack++ case utilities.OpLitPush: if op.operand < 0 || len(pool) <= op.operand { - grpclog.Printf("negative literal index: %d", op.operand) + grpclog.Infof("negative literal index: %d", op.operand) return Pattern{}, ErrInvalidPattern } if pushMSeen { @@ -89,7 +89,7 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er stack++ case utilities.OpConcatN: if op.operand <= 0 { - grpclog.Printf("negative concat size: %d", op.operand) + grpclog.Infof("negative concat size: %d", op.operand) return Pattern{}, ErrInvalidPattern } stack -= op.operand @@ -100,7 +100,7 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er stack++ case utilities.OpCapture: if op.operand < 0 || len(pool) <= op.operand { - grpclog.Printf("variable name index out of bound: %d", op.operand) + grpclog.Infof("variable name index out of bound: %d", op.operand) return Pattern{}, ErrInvalidPattern } v := pool[op.operand] @@ -108,11 +108,11 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er vars = append(vars, v) stack-- if stack < 0 { - grpclog.Printf("stack underflow") + grpclog.Infof("stack underflow") return Pattern{}, ErrInvalidPattern } default: - grpclog.Printf("invalid opcode: %d", op.code) + grpclog.Infof("invalid opcode: %d", op.code) return Pattern{}, ErrInvalidPattern } diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/proto_errors.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/proto_errors.go index 059928c28..43fafca7c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/proto_errors.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/proto_errors.go @@ -36,17 +36,17 @@ func DefaultHTTPProtoErrorHandler(ctx context.Context, mux *ServeMux, marshaler buf, merr := marshaler.Marshal(s.Proto()) if merr != nil { - grpclog.Printf("Failed to marshal error message %q: %v", s.Proto(), merr) + grpclog.Infof("Failed to marshal error message %q: %v", s.Proto(), merr) w.WriteHeader(http.StatusInternalServerError) if _, err := io.WriteString(w, fallback); err != nil { - grpclog.Printf("Failed to write response: %v", err) + grpclog.Infof("Failed to write response: %v", err) } return } md, ok := ServerMetadataFromContext(ctx) if !ok { - grpclog.Printf("Failed to extract ServerMetadata from context") + grpclog.Infof("Failed to extract ServerMetadata from context") } handleForwardResponseServerMetadata(w, mux, md) @@ -54,7 +54,7 @@ func DefaultHTTPProtoErrorHandler(ctx context.Context, mux *ServeMux, marshaler st := HTTPStatusFromCode(s.Code()) w.WriteHeader(st) if _, err := w.Write(buf); err != nil { - grpclog.Printf("Failed to write response: %v", err) + grpclog.Infof("Failed to write response: %v", err) } handleForwardResponseTrailer(w, md) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query.go index 07d0ff8c5..bb9359f17 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query.go @@ -64,7 +64,7 @@ func populateFieldValueFromPath(msg proto.Message, fieldPath []string, values [] if err != nil { return err } else if !f.IsValid() { - grpclog.Printf("field not found in %T: %s", msg, strings.Join(fieldPath, ".")) + grpclog.Infof("field not found in %T: %s", msg, strings.Join(fieldPath, ".")) return nil } @@ -108,7 +108,7 @@ func populateFieldValueFromPath(msg proto.Message, fieldPath []string, values [] return fmt.Errorf("no value of field: %s", strings.Join(fieldPath, ".")) case 1: default: - grpclog.Printf("too many field values: %s", strings.Join(fieldPath, ".")) + grpclog.Infof("too many field values: %s", strings.Join(fieldPath, ".")) } return populateField(m, values[0], props) } @@ -221,6 +221,23 @@ func populateField(f reflect.Value, value string, props *proto.Properties) error f.Field(0).SetInt(int64(t.Unix())) f.Field(1).SetInt(int64(t.Nanosecond())) return nil + case "Duration": + if value == "null" { + f.Field(0).SetInt(0) + f.Field(1).SetInt(0) + return nil + } + d, err := time.ParseDuration(value) + if err != nil { + return fmt.Errorf("bad Duration: %v", err) + } + + ns := d.Nanoseconds() + s := ns / 1e9 + ns %= 1e9 + f.Field(0).SetInt(s) + f.Field(1).SetInt(ns) + return nil case "DoubleValue": fallthrough case "FloatValue": @@ -284,6 +301,24 @@ func populateField(f reflect.Value, value string, props *proto.Properties) error } } + // Handle Time and Duration stdlib types + switch t := i.(type) { + case *time.Time: + pt, err := time.Parse(time.RFC3339Nano, value) + if err != nil { + return fmt.Errorf("bad Timestamp: %v", err) + } + *t = pt + return nil + case *time.Duration: + d, err := time.ParseDuration(value) + if err != nil { + return fmt.Errorf("bad Duration: %v", err) + } + *t = d + return nil + } + // is the destination field an enumeration type? if enumValMap := proto.EnumValueMap(props.Enum); enumValMap != nil { return populateFieldEnum(f, value, enumValMap) @@ -291,7 +326,7 @@ func populateField(f reflect.Value, value string, props *proto.Properties) error conv, ok := convFromType[f.Kind()] if !ok { - return fmt.Errorf("unsupported field type %T", f) + return fmt.Errorf("field type %T is not supported in query parameters", i) } result := conv.Call([]reflect.Value{reflect.ValueOf(value)}) if err := result[1].Interface(); err != nil { diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query_test.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query_test.go index 904be4992..358847928 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query_test.go +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/query_test.go @@ -10,6 +10,7 @@ import ( "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes" + "github.com/golang/protobuf/ptypes/duration" "github.com/golang/protobuf/ptypes/timestamp" "github.com/golang/protobuf/ptypes/wrappers" "github.com/grpc-ecosystem/grpc-gateway/runtime" @@ -25,6 +26,10 @@ func TestPopulateParameters(t *testing.T) { t.Fatalf("Couldn't setup timestamp in Protobuf format: %v", err) } + durationT := 13 * time.Hour + durationStr := durationT.String() + durationPb := ptypes.DurationProto(durationT) + fieldmaskStr := "float_value,double_value" fieldmaskPb := &field_mask.FieldMask{Paths: []string{"float_value", "double_value"}} @@ -49,6 +54,7 @@ func TestPopulateParameters(t *testing.T) { "enum_value": {"1"}, "repeated_enum": {"1", "2", "0"}, "timestamp_value": {timeStr}, + "duration_value": {durationStr}, "fieldmask_value": {fieldmaskStr}, "wrapper_float_value": {"1.5"}, "wrapper_double_value": {"2.5"}, @@ -94,6 +100,7 @@ func TestPopulateParameters(t *testing.T) { EnumValue: EnumValue_Y, RepeatedEnum: []EnumValue{EnumValue_Y, EnumValue_Z, EnumValue_X}, TimestampValue: timePb, + DurationValue: durationPb, FieldMaskValue: fieldmaskPb, WrapperFloatValue: &wrappers.FloatValue{Value: 1.5}, WrapperDoubleValue: &wrappers.DoubleValue{Value: 2.5}, @@ -142,6 +149,7 @@ func TestPopulateParameters(t *testing.T) { "enumValue": {"1"}, "repeatedEnum": {"1", "2", "0"}, "timestampValue": {timeStr}, + "durationValue": {durationStr}, "fieldmaskValue": {fieldmaskStr}, "wrapperFloatValue": {"1.5"}, "wrapperDoubleValue": {"2.5"}, @@ -168,6 +176,7 @@ func TestPopulateParameters(t *testing.T) { EnumValue: EnumValue_Y, RepeatedEnum: []EnumValue{EnumValue_Y, EnumValue_Z, EnumValue_X}, TimestampValue: timePb, + DurationValue: durationPb, FieldMaskValue: fieldmaskPb, WrapperFloatValue: &wrappers.FloatValue{Value: 1.5}, WrapperDoubleValue: &wrappers.DoubleValue{Value: 2.5}, @@ -338,6 +347,51 @@ func TestPopulateParameters(t *testing.T) { } } +func TestPopulateParametersWithNativeTypes(t *testing.T) { + timeT := time.Date(2016, time.December, 15, 12, 23, 32, 49, time.UTC) + timeStr := timeT.Format(time.RFC3339Nano) + + durationT := 13 * time.Hour + durationStr := durationT.String() + + for _, spec := range []struct { + values url.Values + want *nativeProto3Message + }{ + { + values: url.Values{ + "native_timestamp_value": {timeStr}, + "native_duration_value": {durationStr}, + }, + want: &nativeProto3Message{ + NativeTimeValue: &timeT, + NativeDurationValue: &durationT, + }, + }, + { + values: url.Values{ + "nativeTimestampValue": {timeStr}, + "nativeDurationValue": {durationStr}, + }, + want: &nativeProto3Message{ + NativeTimeValue: &timeT, + NativeDurationValue: &durationT, + }, + }, + } { + msg := new(nativeProto3Message) + err := runtime.PopulateQueryParameters(msg, spec.values, utilities.NewDoubleArray(nil)) + + if err != nil { + t.Errorf("runtime.PopulateQueryParameters(msg, %v, utilities.NewDoubleArray(nil)) failed with %v; want success", spec.values, err) + continue + } + if got, want := msg, spec.want; !proto.Equal(got, want) { + t.Errorf("runtime.PopulateQueryParameters(msg, %v, utilities.NewDoubleArray(nil)) = %v; want %v", spec.values, got, want) + } + } +} + func TestPopulateParametersWithFilters(t *testing.T) { for _, spec := range []struct { values url.Values @@ -537,6 +591,7 @@ type proto3Message struct { EnumValue EnumValue `protobuf:"varint,11,opt,name=enum_value,json=enumValue,enum=runtime_test_api.EnumValue" json:"enum_value,omitempty"` RepeatedEnum []EnumValue `protobuf:"varint,12,rep,packed,name=repeated_enum,json=repeatedEnum,enum=runtime_test_api.EnumValue" json:"repeated_enum,omitempty"` TimestampValue *timestamp.Timestamp `protobuf:"bytes,16,opt,name=timestamp_value,json=timestampValue" json:"timestamp_value,omitempty"` + DurationValue *duration.Duration `protobuf:"bytes,42,opt,name=duration_value,json=durationValue" json:"duration_value,omitempty"` FieldMaskValue *field_mask.FieldMask `protobuf:"bytes,27,opt,name=fieldmask_value,json=fieldmaskValue" json:"fieldmask_value,omitempty"` OneofValue proto3Message_OneofValue `protobuf_oneof:"oneof_value"` WrapperDoubleValue *wrappers.DoubleValue `protobuf:"bytes,17,opt,name=wrapper_double_value,json=wrapperDoubleValue" json:"wrapper_double_value,omitempty"` @@ -680,6 +735,15 @@ func _proto3Message_OneofSizer(msg proto.Message) (n int) { return n } +type nativeProto3Message struct { + NativeTimeValue *time.Time `protobuf:"bytes,1,opt,name=native_timestamp_value,json=nativeTimestampValue" json:"native_timestamp_value,omitempty"` + NativeDurationValue *time.Duration `protobuf:"bytes,2,opt,name=native_duration_value,json=nativeDurationValue" json:"native_duration_value,omitempty"` +} + +func (m *nativeProto3Message) Reset() { *m = nativeProto3Message{} } +func (m *nativeProto3Message) String() string { return proto.CompactTextString(m) } +func (*nativeProto3Message) ProtoMessage() {} + type proto2Message struct { Nested *proto3Message `protobuf:"bytes,1,opt,name=nested,json=nested" json:"nested,omitempty"` FloatValue *float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue" json:"float_value,omitempty"` diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/README.grpc-gateway b/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/README.grpc-gateway index cd723e520..5c77aece6 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/README.grpc-gateway +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/README.grpc-gateway @@ -3,7 +3,7 @@ Google APIs Project: Google APIs URL: https://github.com/google/googleapis -Revision: a9fb190cdb78ed9bb2d6bb3fb5b9ef46effa5df3 +Revision: 3544ab16c3342d790b00764251e348705991ea4b License: Apache License 2.0 diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/http.proto b/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/http.proto index 5f8538a01..2bd3a19bf 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/http.proto +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/http.proto @@ -1,4 +1,4 @@ -// Copyright 2016 Google Inc. +// 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. @@ -24,7 +24,7 @@ option java_package = "com.google.api"; option objc_class_prefix = "GAPI"; -// Defines the HTTP configuration for a service. It contains a list of +// Defines the HTTP configuration for an API service. It contains a list of // [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method // to one or more HTTP REST API methods. message Http { @@ -32,14 +32,22 @@ message Http { // // **NOTE:** All service configuration rules follow "last one wins" order. repeated HttpRule rules = 1; + + // When set to true, URL path parmeters will be fully URI-decoded except in + // cases of single segment matches in reserved expansion, where "%2F" will be + // left encoded. + // + // The default behavior is to not decode RFC 6570 reserved characters in multi + // segment matches. + bool fully_decode_reserved_expansion = 2; } // `HttpRule` defines the mapping of an RPC method to one or more HTTP -// REST APIs. The mapping determines what portions of the request -// message are populated from the path, query parameters, or body of -// the HTTP request. The mapping is typically specified as an -// `google.api.http` annotation, see "google/api/annotations.proto" -// for details. +// REST API methods. The mapping specifies how different portions of the RPC +// request message are mapped to URL path, URL query parameters, and +// HTTP request body. The mapping is typically specified as an +// `google.api.http` annotation on the RPC method, +// see "google/api/annotations.proto" for details. // // The mapping consists of a field specifying the path template and // method kind. The path template can refer to fields in the request @@ -87,6 +95,11 @@ message Http { // parameters. Assume the following definition of the request message: // // +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http).get = "/v1/messages/{message_id}"; +// } +// } // message GetMessageRequest { // message SubMessage { // string subfield = 1; @@ -199,7 +212,7 @@ message Http { // to the request message are as follows: // // 1. The `body` field specifies either `*` or a field path, or is -// omitted. If omitted, it assumes there is no HTTP body. +// omitted. If omitted, it indicates there is no HTTP request body. // 2. Leaf fields (recursive expansion of nested messages in the // request) can be classified into three types: // (a) Matched in the URL template. @@ -218,28 +231,34 @@ message Http { // FieldPath = IDENT { "." IDENT } ; // Verb = ":" LITERAL ; // -// The syntax `*` matches a single path segment. It follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion. -// -// The syntax `**` matches zero or more path segments. It follows the semantics -// of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved -// Expansion. NOTE: it must be the last segment in the path except the Verb. +// The syntax `*` matches a single path segment. The syntax `**` matches zero +// or more path segments, which must be the last part of the path except the +// `Verb`. The syntax `LITERAL` matches literal text in the path. // -// The syntax `LITERAL` matches literal text in the URL path. -// -// The syntax `Variable` matches the entire path as specified by its template; -// this nested template must not contain further variables. If a variable +// The syntax `Variable` matches part of the URL path as specified by its +// template. A variable template must not contain other variables. If a variable // matches a single path segment, its template may be omitted, e.g. `{var}` // is equivalent to `{var=*}`. // +// If a variable contains exactly one path segment, such as `"{var}"` or +// `"{var=*}"`, when such a variable is expanded into a URL path, all characters +// except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the +// Discovery Document as `{var}`. +// +// If a variable contains one or more path segments, such as `"{var=foo/*}"` +// or `"{var=**}"`, when such a variable is expanded into a URL path, all +// characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables +// show up in the Discovery Document as `{+var}`. +// +// NOTE: While the single segment variable matches the semantics of +// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 +// Simple String Expansion, the multi segment variable **does not** match +// RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion +// does not expand special characters like `?` and `#`, which would lead +// to invalid URLs. +// // NOTE: the field paths in variables and in the `body` must not refer to // repeated fields or map fields. -// -// Use CustomHttpPattern to specify any HTTP method that is not included in the -// `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for -// a given URL path rule. The wild-card rule is useful for services that provide -// content to Web (HTML) clients. message HttpRule { // Selects methods to which this rule applies. // @@ -265,7 +284,10 @@ message HttpRule { // Used for updating a resource. string patch = 6; - // Custom pattern is used for defining custom verbs. + // The custom pattern is used for specifying an HTTP method that is not + // included in the `pattern` field, such as HEAD, or "*" to leave the + // HTTP method unspecified for this rule. The wild-card rule is useful + // for services that provide content to Web (HTML) clients. CustomHttpPattern custom = 8; } @@ -275,6 +297,11 @@ message HttpRule { // present at the top-level of request message type. string body = 7; + // Optional. The name of the response field whose value is mapped to the HTTP + // body of response. Other response fields are ignored. When + // not set, the response message will be used as HTTP body of response. + string response_body = 12; + // Additional HTTP bindings for the selector. Nested bindings must // not contain an `additional_bindings` field themselves (that is, // the nesting may only be one level deep). diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel index 58d291c37..7109d7932 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel @@ -7,14 +7,15 @@ go_library( srcs = [ "doc.go", "pattern.go", + "readerfactory.go", "trie.go", ], importpath = "github.com/grpc-ecosystem/grpc-gateway/utilities", ) go_test( - name = "go_default_xtest", + name = "go_default_test", size = "small", srcs = ["trie_test.go"], - deps = [":go_default_library"], + embed = [":go_default_library"], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/readerfactory.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/readerfactory.go new file mode 100644 index 000000000..6dd385466 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/readerfactory.go @@ -0,0 +1,20 @@ +package utilities + +import ( + "bytes" + "io" + "io/ioutil" +) + +// IOReaderFactory takes in an io.Reader and returns a function that will allow you to create a new reader that begins +// at the start of the stream +func IOReaderFactory(r io.Reader) (func() io.Reader, error) { + b, err := ioutil.ReadAll(r) + if err != nil { + return nil, err + } + + return func() io.Reader { + return bytes.NewReader(b) + }, nil +} diff --git a/vendor/google.golang.org/genproto/.github/CODEOWNERS b/vendor/google.golang.org/genproto/.github/CODEOWNERS index 7104b62dd..086c7a3dc 100644 --- a/vendor/google.golang.org/genproto/.github/CODEOWNERS +++ b/vendor/google.golang.org/genproto/.github/CODEOWNERS @@ -1 +1 @@ -* @pongad @jba +* @deklerk @enocom diff --git a/vendor/google.golang.org/genproto/.travis.yml b/vendor/google.golang.org/genproto/.travis.yml deleted file mode 100644 index e673e05e6..000000000 --- a/vendor/google.golang.org/genproto/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: go -go: - - 1.6 - - 1.7 - - 1.8 -go_import_path: google.golang.org/genproto - -script: -- go test -v ./... -- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then - go get -u -v cloud.google.com/go/...; - fi diff --git a/vendor/google.golang.org/genproto/README.md b/vendor/google.golang.org/genproto/README.md index 51d0bae5f..52e084b66 100644 --- a/vendor/google.golang.org/genproto/README.md +++ b/vendor/google.golang.org/genproto/README.md @@ -1,9 +1,12 @@ Go generated proto packages =========================== -[![Build Status](https://travis-ci.org/google/go-genproto.svg?branch=master)](https://travis-ci.org/google/go-genproto) [![GoDoc](https://godoc.org/google.golang.org/genproto?status.svg)](https://godoc.org/google.golang.org/genproto) +``` +go get google.golang.org/genproto +``` + > **IMPORTANT** This repository is currently experimental. The structure > of the contained packages is subject to change. Please see the original > source repositories (listed below) to find out the status of the each diff --git a/vendor/google.golang.org/genproto/go.mod b/vendor/google.golang.org/genproto/go.mod new file mode 100644 index 000000000..d81a7c327 --- /dev/null +++ b/vendor/google.golang.org/genproto/go.mod @@ -0,0 +1,7 @@ +module google.golang.org/genproto + +require ( + github.com/golang/protobuf v1.2.0 + golang.org/x/net v0.0.0-20181106065722-10aee1819953 + google.golang.org/grpc v1.16.0 +) diff --git a/vendor/google.golang.org/genproto/go.sum b/vendor/google.golang.org/genproto/go.sum new file mode 100644 index 000000000..623d8f8f2 --- /dev/null +++ b/vendor/google.golang.org/genproto/go.sum @@ -0,0 +1,26 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181106065722-10aee1819953 h1:LuZIitY8waaxUfNIdtajyE/YzA/zyf0YxXG27VpLrkg= +golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522 h1:Ve1ORMCxvRmSXBwJK+t3Oy+V2vRW2OetUQBq4rJIkZE= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/grpc v1.16.0 h1:dz5IJGuC2BB7qXR5AyHNwAUBhZscK2xVez7mznh72sY= +google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/ad_type_infos.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/ad_type_infos.pb.go new file mode 100644 index 000000000..f07af7872 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/ad_type_infos.pb.go @@ -0,0 +1,1205 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/ad_type_infos.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A text ad. +type TextAdInfo struct { + // The headline of the ad. + Headline *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"` + // The first line of the ad's description. + Description1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=description1,proto3" json:"description1,omitempty"` + // The second line of the ad's description. + Description2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=description2,proto3" json:"description2,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TextAdInfo) Reset() { *m = TextAdInfo{} } +func (m *TextAdInfo) String() string { return proto.CompactTextString(m) } +func (*TextAdInfo) ProtoMessage() {} +func (*TextAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{0} +} +func (m *TextAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TextAdInfo.Unmarshal(m, b) +} +func (m *TextAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TextAdInfo.Marshal(b, m, deterministic) +} +func (dst *TextAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_TextAdInfo.Merge(dst, src) +} +func (m *TextAdInfo) XXX_Size() int { + return xxx_messageInfo_TextAdInfo.Size(m) +} +func (m *TextAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_TextAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_TextAdInfo proto.InternalMessageInfo + +func (m *TextAdInfo) GetHeadline() *wrappers.StringValue { + if m != nil { + return m.Headline + } + return nil +} + +func (m *TextAdInfo) GetDescription1() *wrappers.StringValue { + if m != nil { + return m.Description1 + } + return nil +} + +func (m *TextAdInfo) GetDescription2() *wrappers.StringValue { + if m != nil { + return m.Description2 + } + return nil +} + +// An expanded text ad. +type ExpandedTextAdInfo struct { + // The first part of the ad's headline. + HeadlinePart1 *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline_part1,json=headlinePart1,proto3" json:"headline_part1,omitempty"` + // The second part of the ad's headline. + HeadlinePart2 *wrappers.StringValue `protobuf:"bytes,2,opt,name=headline_part2,json=headlinePart2,proto3" json:"headline_part2,omitempty"` + // The third part of the ad's headline. + HeadlinePart3 *wrappers.StringValue `protobuf:"bytes,6,opt,name=headline_part3,json=headlinePart3,proto3" json:"headline_part3,omitempty"` + // The description of the ad. + Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // The second description of the ad. + Description2 *wrappers.StringValue `protobuf:"bytes,7,opt,name=description2,proto3" json:"description2,omitempty"` + // The text that can appear alongside the ad's displayed URL. + Path1 *wrappers.StringValue `protobuf:"bytes,4,opt,name=path1,proto3" json:"path1,omitempty"` + // Additional text that can appear alongside the ad's displayed URL. + Path2 *wrappers.StringValue `protobuf:"bytes,5,opt,name=path2,proto3" json:"path2,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExpandedTextAdInfo) Reset() { *m = ExpandedTextAdInfo{} } +func (m *ExpandedTextAdInfo) String() string { return proto.CompactTextString(m) } +func (*ExpandedTextAdInfo) ProtoMessage() {} +func (*ExpandedTextAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{1} +} +func (m *ExpandedTextAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExpandedTextAdInfo.Unmarshal(m, b) +} +func (m *ExpandedTextAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExpandedTextAdInfo.Marshal(b, m, deterministic) +} +func (dst *ExpandedTextAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExpandedTextAdInfo.Merge(dst, src) +} +func (m *ExpandedTextAdInfo) XXX_Size() int { + return xxx_messageInfo_ExpandedTextAdInfo.Size(m) +} +func (m *ExpandedTextAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ExpandedTextAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ExpandedTextAdInfo proto.InternalMessageInfo + +func (m *ExpandedTextAdInfo) GetHeadlinePart1() *wrappers.StringValue { + if m != nil { + return m.HeadlinePart1 + } + return nil +} + +func (m *ExpandedTextAdInfo) GetHeadlinePart2() *wrappers.StringValue { + if m != nil { + return m.HeadlinePart2 + } + return nil +} + +func (m *ExpandedTextAdInfo) GetHeadlinePart3() *wrappers.StringValue { + if m != nil { + return m.HeadlinePart3 + } + return nil +} + +func (m *ExpandedTextAdInfo) GetDescription() *wrappers.StringValue { + if m != nil { + return m.Description + } + return nil +} + +func (m *ExpandedTextAdInfo) GetDescription2() *wrappers.StringValue { + if m != nil { + return m.Description2 + } + return nil +} + +func (m *ExpandedTextAdInfo) GetPath1() *wrappers.StringValue { + if m != nil { + return m.Path1 + } + return nil +} + +func (m *ExpandedTextAdInfo) GetPath2() *wrappers.StringValue { + if m != nil { + return m.Path2 + } + return nil +} + +// A dynamic search ad. +type DynamicSearchAdInfo struct { + // The first line of the ad's description. + Description1 *wrappers.StringValue `protobuf:"bytes,1,opt,name=description1,proto3" json:"description1,omitempty"` + // The second line of the ad's description. + Description2 *wrappers.StringValue `protobuf:"bytes,2,opt,name=description2,proto3" json:"description2,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DynamicSearchAdInfo) Reset() { *m = DynamicSearchAdInfo{} } +func (m *DynamicSearchAdInfo) String() string { return proto.CompactTextString(m) } +func (*DynamicSearchAdInfo) ProtoMessage() {} +func (*DynamicSearchAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{2} +} +func (m *DynamicSearchAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DynamicSearchAdInfo.Unmarshal(m, b) +} +func (m *DynamicSearchAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DynamicSearchAdInfo.Marshal(b, m, deterministic) +} +func (dst *DynamicSearchAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_DynamicSearchAdInfo.Merge(dst, src) +} +func (m *DynamicSearchAdInfo) XXX_Size() int { + return xxx_messageInfo_DynamicSearchAdInfo.Size(m) +} +func (m *DynamicSearchAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_DynamicSearchAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_DynamicSearchAdInfo proto.InternalMessageInfo + +func (m *DynamicSearchAdInfo) GetDescription1() *wrappers.StringValue { + if m != nil { + return m.Description1 + } + return nil +} + +func (m *DynamicSearchAdInfo) GetDescription2() *wrappers.StringValue { + if m != nil { + return m.Description2 + } + return nil +} + +// A responsive display ad. +type ResponsiveDisplayAdInfo struct { + // The short version of the ad's headline. + ShortHeadline *wrappers.StringValue `protobuf:"bytes,1,opt,name=short_headline,json=shortHeadline,proto3" json:"short_headline,omitempty"` + // The long version of the ad's headline. + LongHeadline *wrappers.StringValue `protobuf:"bytes,2,opt,name=long_headline,json=longHeadline,proto3" json:"long_headline,omitempty"` + // The description of the ad. + Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // The business name in the ad. + BusinessName *wrappers.StringValue `protobuf:"bytes,4,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` + // Advertiser's consent to allow flexible color. When true, the ad may be + // served with different color if necessary. When false, the ad will be served + // with the specified colors or a neutral color. + // The default value is true. + // Must be true if main_color and accent_color are not set. + AllowFlexibleColor *wrappers.BoolValue `protobuf:"bytes,5,opt,name=allow_flexible_color,json=allowFlexibleColor,proto3" json:"allow_flexible_color,omitempty"` + // The accent color of the ad in hexadecimal, e.g. #ffffff for white. + // If one of main_color and accent_color is set, the other is required as + // well. + AccentColor *wrappers.StringValue `protobuf:"bytes,6,opt,name=accent_color,json=accentColor,proto3" json:"accent_color,omitempty"` + // The main color of the ad in hexadecimal, e.g. #ffffff for white. + // If one of main_color and accent_color is set, the other is required as + // well. + MainColor *wrappers.StringValue `protobuf:"bytes,7,opt,name=main_color,json=mainColor,proto3" json:"main_color,omitempty"` + // The call-to-action text for the ad. + CallToActionText *wrappers.StringValue `protobuf:"bytes,8,opt,name=call_to_action_text,json=callToActionText,proto3" json:"call_to_action_text,omitempty"` + // The MediaFile resource name of the logo image used in the ad. + LogoImage *wrappers.StringValue `protobuf:"bytes,9,opt,name=logo_image,json=logoImage,proto3" json:"logo_image,omitempty"` + // The MediaFile resource name of the square logo image used in the ad. + SquareLogoImage *wrappers.StringValue `protobuf:"bytes,10,opt,name=square_logo_image,json=squareLogoImage,proto3" json:"square_logo_image,omitempty"` + // The MediaFile resource name of the marketing image used in the ad. + MarketingImage *wrappers.StringValue `protobuf:"bytes,11,opt,name=marketing_image,json=marketingImage,proto3" json:"marketing_image,omitempty"` + // The MediaFile resource name of the square marketing image used in the ad. + SquareMarketingImage *wrappers.StringValue `protobuf:"bytes,12,opt,name=square_marketing_image,json=squareMarketingImage,proto3" json:"square_marketing_image,omitempty"` + // Specifies which format the ad will be served in. Default is ALL_FORMATS. + FormatSetting enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting `protobuf:"varint,13,opt,name=format_setting,json=formatSetting,proto3,enum=google.ads.googleads.v0.enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting" json:"format_setting,omitempty"` + // Prefix before price. E.g. 'as low as'. + PricePrefix *wrappers.StringValue `protobuf:"bytes,14,opt,name=price_prefix,json=pricePrefix,proto3" json:"price_prefix,omitempty"` + // Promotion text used for dyanmic formats of responsive ads. For example + // 'Free two-day shipping'. + PromoText *wrappers.StringValue `protobuf:"bytes,15,opt,name=promo_text,json=promoText,proto3" json:"promo_text,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResponsiveDisplayAdInfo) Reset() { *m = ResponsiveDisplayAdInfo{} } +func (m *ResponsiveDisplayAdInfo) String() string { return proto.CompactTextString(m) } +func (*ResponsiveDisplayAdInfo) ProtoMessage() {} +func (*ResponsiveDisplayAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{3} +} +func (m *ResponsiveDisplayAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResponsiveDisplayAdInfo.Unmarshal(m, b) +} +func (m *ResponsiveDisplayAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResponsiveDisplayAdInfo.Marshal(b, m, deterministic) +} +func (dst *ResponsiveDisplayAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResponsiveDisplayAdInfo.Merge(dst, src) +} +func (m *ResponsiveDisplayAdInfo) XXX_Size() int { + return xxx_messageInfo_ResponsiveDisplayAdInfo.Size(m) +} +func (m *ResponsiveDisplayAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ResponsiveDisplayAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ResponsiveDisplayAdInfo proto.InternalMessageInfo + +func (m *ResponsiveDisplayAdInfo) GetShortHeadline() *wrappers.StringValue { + if m != nil { + return m.ShortHeadline + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetLongHeadline() *wrappers.StringValue { + if m != nil { + return m.LongHeadline + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetDescription() *wrappers.StringValue { + if m != nil { + return m.Description + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetBusinessName() *wrappers.StringValue { + if m != nil { + return m.BusinessName + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetAllowFlexibleColor() *wrappers.BoolValue { + if m != nil { + return m.AllowFlexibleColor + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetAccentColor() *wrappers.StringValue { + if m != nil { + return m.AccentColor + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetMainColor() *wrappers.StringValue { + if m != nil { + return m.MainColor + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetCallToActionText() *wrappers.StringValue { + if m != nil { + return m.CallToActionText + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetLogoImage() *wrappers.StringValue { + if m != nil { + return m.LogoImage + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetSquareLogoImage() *wrappers.StringValue { + if m != nil { + return m.SquareLogoImage + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetMarketingImage() *wrappers.StringValue { + if m != nil { + return m.MarketingImage + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetSquareMarketingImage() *wrappers.StringValue { + if m != nil { + return m.SquareMarketingImage + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetFormatSetting() enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting { + if m != nil { + return m.FormatSetting + } + return enums.DisplayAdFormatSettingEnum_UNSPECIFIED +} + +func (m *ResponsiveDisplayAdInfo) GetPricePrefix() *wrappers.StringValue { + if m != nil { + return m.PricePrefix + } + return nil +} + +func (m *ResponsiveDisplayAdInfo) GetPromoText() *wrappers.StringValue { + if m != nil { + return m.PromoText + } + return nil +} + +// A call-only ad. +type CallOnlyAdInfo struct { + // The country code in the ad. + CountryCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + // The phone number in the ad. + PhoneNumber *wrappers.StringValue `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` + // The business name in the ad. + BusinessName *wrappers.StringValue `protobuf:"bytes,3,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` + // The first line of the ad's description. + Description1 *wrappers.StringValue `protobuf:"bytes,4,opt,name=description1,proto3" json:"description1,omitempty"` + // The second line of the ad's description. + Description2 *wrappers.StringValue `protobuf:"bytes,5,opt,name=description2,proto3" json:"description2,omitempty"` + // Whether to enable call tracking for the creative. Enabling call + // tracking also enables call conversions. + CallTracked *wrappers.BoolValue `protobuf:"bytes,6,opt,name=call_tracked,json=callTracked,proto3" json:"call_tracked,omitempty"` + // Whether to disable call conversion for the creative. + // If set to `true`, disables call conversions even when `call_tracked` is + // `true`. + // If `call_tracked` is `false`, this field is ignored. + DisableCallConversion *wrappers.BoolValue `protobuf:"bytes,7,opt,name=disable_call_conversion,json=disableCallConversion,proto3" json:"disable_call_conversion,omitempty"` + // The URL to be used for phone number verification. + PhoneNumberVerificationUrl *wrappers.StringValue `protobuf:"bytes,8,opt,name=phone_number_verification_url,json=phoneNumberVerificationUrl,proto3" json:"phone_number_verification_url,omitempty"` + // The conversion action to attribute a call conversion to. If not set a + // default conversion action is used. This field only has effect if + // call_tracked is set to true. Otherwise this field is ignored. + ConversionAction *wrappers.StringValue `protobuf:"bytes,9,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` + // The call conversion behavior of this call only ad. It can use its own call + // conversion setting, inherit the account level setting, or be disabled. + ConversionReportingState enums.CallConversionReportingStateEnum_CallConversionReportingState `protobuf:"varint,10,opt,name=conversion_reporting_state,json=conversionReportingState,proto3,enum=google.ads.googleads.v0.enums.CallConversionReportingStateEnum_CallConversionReportingState" json:"conversion_reporting_state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CallOnlyAdInfo) Reset() { *m = CallOnlyAdInfo{} } +func (m *CallOnlyAdInfo) String() string { return proto.CompactTextString(m) } +func (*CallOnlyAdInfo) ProtoMessage() {} +func (*CallOnlyAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{4} +} +func (m *CallOnlyAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CallOnlyAdInfo.Unmarshal(m, b) +} +func (m *CallOnlyAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CallOnlyAdInfo.Marshal(b, m, deterministic) +} +func (dst *CallOnlyAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CallOnlyAdInfo.Merge(dst, src) +} +func (m *CallOnlyAdInfo) XXX_Size() int { + return xxx_messageInfo_CallOnlyAdInfo.Size(m) +} +func (m *CallOnlyAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CallOnlyAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_CallOnlyAdInfo proto.InternalMessageInfo + +func (m *CallOnlyAdInfo) GetCountryCode() *wrappers.StringValue { + if m != nil { + return m.CountryCode + } + return nil +} + +func (m *CallOnlyAdInfo) GetPhoneNumber() *wrappers.StringValue { + if m != nil { + return m.PhoneNumber + } + return nil +} + +func (m *CallOnlyAdInfo) GetBusinessName() *wrappers.StringValue { + if m != nil { + return m.BusinessName + } + return nil +} + +func (m *CallOnlyAdInfo) GetDescription1() *wrappers.StringValue { + if m != nil { + return m.Description1 + } + return nil +} + +func (m *CallOnlyAdInfo) GetDescription2() *wrappers.StringValue { + if m != nil { + return m.Description2 + } + return nil +} + +func (m *CallOnlyAdInfo) GetCallTracked() *wrappers.BoolValue { + if m != nil { + return m.CallTracked + } + return nil +} + +func (m *CallOnlyAdInfo) GetDisableCallConversion() *wrappers.BoolValue { + if m != nil { + return m.DisableCallConversion + } + return nil +} + +func (m *CallOnlyAdInfo) GetPhoneNumberVerificationUrl() *wrappers.StringValue { + if m != nil { + return m.PhoneNumberVerificationUrl + } + return nil +} + +func (m *CallOnlyAdInfo) GetConversionAction() *wrappers.StringValue { + if m != nil { + return m.ConversionAction + } + return nil +} + +func (m *CallOnlyAdInfo) GetConversionReportingState() enums.CallConversionReportingStateEnum_CallConversionReportingState { + if m != nil { + return m.ConversionReportingState + } + return enums.CallConversionReportingStateEnum_UNSPECIFIED +} + +// An expanded dynamic search ad. +type ExpandedDynamicSearchAdInfo struct { + // The description of the ad. + Description *wrappers.StringValue `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExpandedDynamicSearchAdInfo) Reset() { *m = ExpandedDynamicSearchAdInfo{} } +func (m *ExpandedDynamicSearchAdInfo) String() string { return proto.CompactTextString(m) } +func (*ExpandedDynamicSearchAdInfo) ProtoMessage() {} +func (*ExpandedDynamicSearchAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{5} +} +func (m *ExpandedDynamicSearchAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExpandedDynamicSearchAdInfo.Unmarshal(m, b) +} +func (m *ExpandedDynamicSearchAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExpandedDynamicSearchAdInfo.Marshal(b, m, deterministic) +} +func (dst *ExpandedDynamicSearchAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExpandedDynamicSearchAdInfo.Merge(dst, src) +} +func (m *ExpandedDynamicSearchAdInfo) XXX_Size() int { + return xxx_messageInfo_ExpandedDynamicSearchAdInfo.Size(m) +} +func (m *ExpandedDynamicSearchAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ExpandedDynamicSearchAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ExpandedDynamicSearchAdInfo proto.InternalMessageInfo + +func (m *ExpandedDynamicSearchAdInfo) GetDescription() *wrappers.StringValue { + if m != nil { + return m.Description + } + return nil +} + +// A hotel ad. +type HotelAdInfo struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelAdInfo) Reset() { *m = HotelAdInfo{} } +func (m *HotelAdInfo) String() string { return proto.CompactTextString(m) } +func (*HotelAdInfo) ProtoMessage() {} +func (*HotelAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{6} +} +func (m *HotelAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelAdInfo.Unmarshal(m, b) +} +func (m *HotelAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelAdInfo.Marshal(b, m, deterministic) +} +func (dst *HotelAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelAdInfo.Merge(dst, src) +} +func (m *HotelAdInfo) XXX_Size() int { + return xxx_messageInfo_HotelAdInfo.Size(m) +} +func (m *HotelAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelAdInfo proto.InternalMessageInfo + +// A Smart Shopping ad. +type ShoppingSmartAdInfo struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ShoppingSmartAdInfo) Reset() { *m = ShoppingSmartAdInfo{} } +func (m *ShoppingSmartAdInfo) String() string { return proto.CompactTextString(m) } +func (*ShoppingSmartAdInfo) ProtoMessage() {} +func (*ShoppingSmartAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{7} +} +func (m *ShoppingSmartAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShoppingSmartAdInfo.Unmarshal(m, b) +} +func (m *ShoppingSmartAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShoppingSmartAdInfo.Marshal(b, m, deterministic) +} +func (dst *ShoppingSmartAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShoppingSmartAdInfo.Merge(dst, src) +} +func (m *ShoppingSmartAdInfo) XXX_Size() int { + return xxx_messageInfo_ShoppingSmartAdInfo.Size(m) +} +func (m *ShoppingSmartAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ShoppingSmartAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ShoppingSmartAdInfo proto.InternalMessageInfo + +// A standard Shopping ad. +type ShoppingProductAdInfo struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ShoppingProductAdInfo) Reset() { *m = ShoppingProductAdInfo{} } +func (m *ShoppingProductAdInfo) String() string { return proto.CompactTextString(m) } +func (*ShoppingProductAdInfo) ProtoMessage() {} +func (*ShoppingProductAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{8} +} +func (m *ShoppingProductAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShoppingProductAdInfo.Unmarshal(m, b) +} +func (m *ShoppingProductAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShoppingProductAdInfo.Marshal(b, m, deterministic) +} +func (dst *ShoppingProductAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShoppingProductAdInfo.Merge(dst, src) +} +func (m *ShoppingProductAdInfo) XXX_Size() int { + return xxx_messageInfo_ShoppingProductAdInfo.Size(m) +} +func (m *ShoppingProductAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ShoppingProductAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ShoppingProductAdInfo proto.InternalMessageInfo + +// A Gmail ad. +type GmailAdInfo struct { + // The Gmail teaser. + Teaser *GmailTeaser `protobuf:"bytes,1,opt,name=teaser,proto3" json:"teaser,omitempty"` + // The MediaFile resource name of the header image. Valid image types are GIF, + // JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must + // be between 3:1 and 5:1 (+-1%). + HeaderImage *wrappers.StringValue `protobuf:"bytes,2,opt,name=header_image,json=headerImage,proto3" json:"header_image,omitempty"` + // The MediaFile resource name of the marketing image. Valid image types are + // GIF, JPEG and PNG. The image must either be landscape with a minimum size + // of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a + // minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) + MarketingImage *wrappers.StringValue `protobuf:"bytes,3,opt,name=marketing_image,json=marketingImage,proto3" json:"marketing_image,omitempty"` + // Headline of the marketing image. + MarketingImageHeadline *wrappers.StringValue `protobuf:"bytes,4,opt,name=marketing_image_headline,json=marketingImageHeadline,proto3" json:"marketing_image_headline,omitempty"` + // Description of the marketing image. + MarketingImageDescription *wrappers.StringValue `protobuf:"bytes,5,opt,name=marketing_image_description,json=marketingImageDescription,proto3" json:"marketing_image_description,omitempty"` + // Display-call-to-action of the marketing image. + MarketingImageDisplayCallToAction *DisplayCallToAction `protobuf:"bytes,6,opt,name=marketing_image_display_call_to_action,json=marketingImageDisplayCallToAction,proto3" json:"marketing_image_display_call_to_action,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GmailAdInfo) Reset() { *m = GmailAdInfo{} } +func (m *GmailAdInfo) String() string { return proto.CompactTextString(m) } +func (*GmailAdInfo) ProtoMessage() {} +func (*GmailAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{9} +} +func (m *GmailAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GmailAdInfo.Unmarshal(m, b) +} +func (m *GmailAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GmailAdInfo.Marshal(b, m, deterministic) +} +func (dst *GmailAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_GmailAdInfo.Merge(dst, src) +} +func (m *GmailAdInfo) XXX_Size() int { + return xxx_messageInfo_GmailAdInfo.Size(m) +} +func (m *GmailAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_GmailAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_GmailAdInfo proto.InternalMessageInfo + +func (m *GmailAdInfo) GetTeaser() *GmailTeaser { + if m != nil { + return m.Teaser + } + return nil +} + +func (m *GmailAdInfo) GetHeaderImage() *wrappers.StringValue { + if m != nil { + return m.HeaderImage + } + return nil +} + +func (m *GmailAdInfo) GetMarketingImage() *wrappers.StringValue { + if m != nil { + return m.MarketingImage + } + return nil +} + +func (m *GmailAdInfo) GetMarketingImageHeadline() *wrappers.StringValue { + if m != nil { + return m.MarketingImageHeadline + } + return nil +} + +func (m *GmailAdInfo) GetMarketingImageDescription() *wrappers.StringValue { + if m != nil { + return m.MarketingImageDescription + } + return nil +} + +func (m *GmailAdInfo) GetMarketingImageDisplayCallToAction() *DisplayCallToAction { + if m != nil { + return m.MarketingImageDisplayCallToAction + } + return nil +} + +// Gmail teaser data. The teaser is a small header that acts as an invitation +// to view the rest of the ad (the body). +type GmailTeaser struct { + // Headline of the teaser. + Headline *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"` + // Description of the teaser. + Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Business name of the advertiser. + BusinessName *wrappers.StringValue `protobuf:"bytes,3,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` + // The MediaFile resource name of the logo image. Valid image types are GIF, + // JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must + // be 1:1 (+-1%). + LogoImage *wrappers.StringValue `protobuf:"bytes,4,opt,name=logo_image,json=logoImage,proto3" json:"logo_image,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GmailTeaser) Reset() { *m = GmailTeaser{} } +func (m *GmailTeaser) String() string { return proto.CompactTextString(m) } +func (*GmailTeaser) ProtoMessage() {} +func (*GmailTeaser) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{10} +} +func (m *GmailTeaser) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GmailTeaser.Unmarshal(m, b) +} +func (m *GmailTeaser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GmailTeaser.Marshal(b, m, deterministic) +} +func (dst *GmailTeaser) XXX_Merge(src proto.Message) { + xxx_messageInfo_GmailTeaser.Merge(dst, src) +} +func (m *GmailTeaser) XXX_Size() int { + return xxx_messageInfo_GmailTeaser.Size(m) +} +func (m *GmailTeaser) XXX_DiscardUnknown() { + xxx_messageInfo_GmailTeaser.DiscardUnknown(m) +} + +var xxx_messageInfo_GmailTeaser proto.InternalMessageInfo + +func (m *GmailTeaser) GetHeadline() *wrappers.StringValue { + if m != nil { + return m.Headline + } + return nil +} + +func (m *GmailTeaser) GetDescription() *wrappers.StringValue { + if m != nil { + return m.Description + } + return nil +} + +func (m *GmailTeaser) GetBusinessName() *wrappers.StringValue { + if m != nil { + return m.BusinessName + } + return nil +} + +func (m *GmailTeaser) GetLogoImage() *wrappers.StringValue { + if m != nil { + return m.LogoImage + } + return nil +} + +// Data for display call to action. The call to action is a piece of the ad +// that prompts the user to do something. Like clicking a link or making a phone +// call. +type DisplayCallToAction struct { + // Text for the display-call-to-action. + Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + // Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for + // white. + TextColor *wrappers.StringValue `protobuf:"bytes,2,opt,name=text_color,json=textColor,proto3" json:"text_color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisplayCallToAction) Reset() { *m = DisplayCallToAction{} } +func (m *DisplayCallToAction) String() string { return proto.CompactTextString(m) } +func (*DisplayCallToAction) ProtoMessage() {} +func (*DisplayCallToAction) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{11} +} +func (m *DisplayCallToAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisplayCallToAction.Unmarshal(m, b) +} +func (m *DisplayCallToAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisplayCallToAction.Marshal(b, m, deterministic) +} +func (dst *DisplayCallToAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisplayCallToAction.Merge(dst, src) +} +func (m *DisplayCallToAction) XXX_Size() int { + return xxx_messageInfo_DisplayCallToAction.Size(m) +} +func (m *DisplayCallToAction) XXX_DiscardUnknown() { + xxx_messageInfo_DisplayCallToAction.DiscardUnknown(m) +} + +var xxx_messageInfo_DisplayCallToAction proto.InternalMessageInfo + +func (m *DisplayCallToAction) GetText() *wrappers.StringValue { + if m != nil { + return m.Text + } + return nil +} + +func (m *DisplayCallToAction) GetTextColor() *wrappers.StringValue { + if m != nil { + return m.TextColor + } + return nil +} + +// An image ad. +type ImageAdInfo struct { + // Width in pixels of the full size image. + PixelWidth *wrappers.Int64Value `protobuf:"bytes,4,opt,name=pixel_width,json=pixelWidth,proto3" json:"pixel_width,omitempty"` + // Height in pixels of the full size image. + PixelHeight *wrappers.Int64Value `protobuf:"bytes,5,opt,name=pixel_height,json=pixelHeight,proto3" json:"pixel_height,omitempty"` + // URL of the full size image. + ImageUrl *wrappers.StringValue `protobuf:"bytes,6,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` + // Width in pixels of the preview size image. + PreviewPixelWidth *wrappers.Int64Value `protobuf:"bytes,7,opt,name=preview_pixel_width,json=previewPixelWidth,proto3" json:"preview_pixel_width,omitempty"` + // Height in pixels of the preview size image. + PreviewPixelHeight *wrappers.Int64Value `protobuf:"bytes,8,opt,name=preview_pixel_height,json=previewPixelHeight,proto3" json:"preview_pixel_height,omitempty"` + // URL of the preview size image. + PreviewImageUrl *wrappers.StringValue `protobuf:"bytes,9,opt,name=preview_image_url,json=previewImageUrl,proto3" json:"preview_image_url,omitempty"` + // The mime type of the image. + MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,10,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v0.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` + // The name of the image. If the image was created from a MediaFile, this is + // the MediaFile's name. If the image was created from bytes, this is empty. + Name *wrappers.StringValue `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` + // The image to create the ImageAd from. This can be specified in one of + // two ways. + // 1. An existing MediaFile resource. + // 2. The raw image data as bytes. + // + // Types that are valid to be assigned to Image: + // *ImageAdInfo_MediaFile + // *ImageAdInfo_Data + Image isImageAdInfo_Image `protobuf_oneof:"image"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImageAdInfo) Reset() { *m = ImageAdInfo{} } +func (m *ImageAdInfo) String() string { return proto.CompactTextString(m) } +func (*ImageAdInfo) ProtoMessage() {} +func (*ImageAdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_infos_88d22de745f5a930, []int{12} +} +func (m *ImageAdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImageAdInfo.Unmarshal(m, b) +} +func (m *ImageAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImageAdInfo.Marshal(b, m, deterministic) +} +func (dst *ImageAdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImageAdInfo.Merge(dst, src) +} +func (m *ImageAdInfo) XXX_Size() int { + return xxx_messageInfo_ImageAdInfo.Size(m) +} +func (m *ImageAdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ImageAdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ImageAdInfo proto.InternalMessageInfo + +func (m *ImageAdInfo) GetPixelWidth() *wrappers.Int64Value { + if m != nil { + return m.PixelWidth + } + return nil +} + +func (m *ImageAdInfo) GetPixelHeight() *wrappers.Int64Value { + if m != nil { + return m.PixelHeight + } + return nil +} + +func (m *ImageAdInfo) GetImageUrl() *wrappers.StringValue { + if m != nil { + return m.ImageUrl + } + return nil +} + +func (m *ImageAdInfo) GetPreviewPixelWidth() *wrappers.Int64Value { + if m != nil { + return m.PreviewPixelWidth + } + return nil +} + +func (m *ImageAdInfo) GetPreviewPixelHeight() *wrappers.Int64Value { + if m != nil { + return m.PreviewPixelHeight + } + return nil +} + +func (m *ImageAdInfo) GetPreviewImageUrl() *wrappers.StringValue { + if m != nil { + return m.PreviewImageUrl + } + return nil +} + +func (m *ImageAdInfo) GetMimeType() enums.MimeTypeEnum_MimeType { + if m != nil { + return m.MimeType + } + return enums.MimeTypeEnum_UNSPECIFIED +} + +func (m *ImageAdInfo) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +type isImageAdInfo_Image interface { + isImageAdInfo_Image() +} + +type ImageAdInfo_MediaFile struct { + MediaFile *wrappers.StringValue `protobuf:"bytes,1,opt,name=media_file,json=mediaFile,proto3,oneof"` +} + +type ImageAdInfo_Data struct { + Data *wrappers.BytesValue `protobuf:"bytes,2,opt,name=data,proto3,oneof"` +} + +func (*ImageAdInfo_MediaFile) isImageAdInfo_Image() {} + +func (*ImageAdInfo_Data) isImageAdInfo_Image() {} + +func (m *ImageAdInfo) GetImage() isImageAdInfo_Image { + if m != nil { + return m.Image + } + return nil +} + +func (m *ImageAdInfo) GetMediaFile() *wrappers.StringValue { + if x, ok := m.GetImage().(*ImageAdInfo_MediaFile); ok { + return x.MediaFile + } + return nil +} + +func (m *ImageAdInfo) GetData() *wrappers.BytesValue { + if x, ok := m.GetImage().(*ImageAdInfo_Data); ok { + return x.Data + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ImageAdInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ImageAdInfo_OneofMarshaler, _ImageAdInfo_OneofUnmarshaler, _ImageAdInfo_OneofSizer, []interface{}{ + (*ImageAdInfo_MediaFile)(nil), + (*ImageAdInfo_Data)(nil), + } +} + +func _ImageAdInfo_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ImageAdInfo) + // image + switch x := m.Image.(type) { + case *ImageAdInfo_MediaFile: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MediaFile); err != nil { + return err + } + case *ImageAdInfo_Data: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Data); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ImageAdInfo.Image has unexpected type %T", x) + } + return nil +} + +func _ImageAdInfo_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ImageAdInfo) + switch tag { + case 1: // image.media_file + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.Image = &ImageAdInfo_MediaFile{msg} + return true, err + case 2: // image.data + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.BytesValue) + err := b.DecodeMessage(msg) + m.Image = &ImageAdInfo_Data{msg} + return true, err + default: + return false, nil + } +} + +func _ImageAdInfo_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ImageAdInfo) + // image + switch x := m.Image.(type) { + case *ImageAdInfo_MediaFile: + s := proto.Size(x.MediaFile) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ImageAdInfo_Data: + s := proto.Size(x.Data) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*TextAdInfo)(nil), "google.ads.googleads.v0.common.TextAdInfo") + proto.RegisterType((*ExpandedTextAdInfo)(nil), "google.ads.googleads.v0.common.ExpandedTextAdInfo") + proto.RegisterType((*DynamicSearchAdInfo)(nil), "google.ads.googleads.v0.common.DynamicSearchAdInfo") + proto.RegisterType((*ResponsiveDisplayAdInfo)(nil), "google.ads.googleads.v0.common.ResponsiveDisplayAdInfo") + proto.RegisterType((*CallOnlyAdInfo)(nil), "google.ads.googleads.v0.common.CallOnlyAdInfo") + proto.RegisterType((*ExpandedDynamicSearchAdInfo)(nil), "google.ads.googleads.v0.common.ExpandedDynamicSearchAdInfo") + proto.RegisterType((*HotelAdInfo)(nil), "google.ads.googleads.v0.common.HotelAdInfo") + proto.RegisterType((*ShoppingSmartAdInfo)(nil), "google.ads.googleads.v0.common.ShoppingSmartAdInfo") + proto.RegisterType((*ShoppingProductAdInfo)(nil), "google.ads.googleads.v0.common.ShoppingProductAdInfo") + proto.RegisterType((*GmailAdInfo)(nil), "google.ads.googleads.v0.common.GmailAdInfo") + proto.RegisterType((*GmailTeaser)(nil), "google.ads.googleads.v0.common.GmailTeaser") + proto.RegisterType((*DisplayCallToAction)(nil), "google.ads.googleads.v0.common.DisplayCallToAction") + proto.RegisterType((*ImageAdInfo)(nil), "google.ads.googleads.v0.common.ImageAdInfo") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/ad_type_infos.proto", fileDescriptor_ad_type_infos_88d22de745f5a930) +} + +var fileDescriptor_ad_type_infos_88d22de745f5a930 = []byte{ + // 1392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x5b, 0x6f, 0x1b, 0x45, + 0x14, 0xc6, 0xb9, 0x35, 0x39, 0xbe, 0xa4, 0xdd, 0xf4, 0x62, 0x52, 0xa8, 0x8a, 0x1f, 0x50, 0x25, + 0xc4, 0x3a, 0x71, 0x2a, 0x04, 0x2a, 0x6d, 0x71, 0x9c, 0xb6, 0x89, 0xda, 0x14, 0xe3, 0x84, 0x20, + 0xa1, 0xa0, 0xd1, 0x64, 0x77, 0x6c, 0x8f, 0xba, 0x3b, 0xb3, 0xcc, 0xae, 0x73, 0x79, 0x47, 0xf0, + 0x1b, 0xca, 0x23, 0x8f, 0x88, 0x57, 0xfe, 0x02, 0x0f, 0x95, 0x78, 0xe5, 0xf7, 0xa0, 0xb9, 0xac, + 0xb3, 0xb6, 0xb1, 0x3d, 0x26, 0x4f, 0x59, 0xc7, 0xdf, 0xf7, 0xcd, 0x9c, 0x99, 0x73, 0xbe, 0x73, + 0xbc, 0x50, 0xeb, 0x70, 0xde, 0x09, 0x48, 0x15, 0xfb, 0x71, 0x55, 0x3f, 0xca, 0xa7, 0xd3, 0x8d, + 0xaa, 0xc7, 0xc3, 0x90, 0xb3, 0x2a, 0xf6, 0x51, 0x72, 0x11, 0x11,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 0xd5, 0x80, 0x52, 0xba, 0x4d, 0x14, 0x61, 0x91, 0x6c, 0x5a, 0x85, 0x56, 0x4c, 0x39, + 0x4d, 0x49, 0x19, 0x11, 0xa9, 0x59, 0x45, 0x38, 0x20, 0x52, 0x1b, 0x11, 0xd9, 0x2a, 0x2f, 0xcd, + 0x2a, 0xb2, 0xe5, 0x3c, 0x81, 0x7c, 0x26, 0x6a, 0xab, 0x63, 0xca, 0x12, 0x46, 0xce, 0xf9, 0xda, + 0xac, 0xe7, 0xec, 0xd4, 0x60, 0x31, 0xc2, 0x49, 0x77, 0xb3, 0xbc, 0x60, 0x41, 0xd5, 0xd0, 0x94, + 0x53, 0x2b, 0x2f, 0xda, 0x72, 0x6a, 0x95, 0xb7, 0x39, 0x58, 0xdb, 0xb9, 0x60, 0x38, 0xa4, 0xde, + 0x01, 0xc1, 0xc2, 0xeb, 0x9a, 0x0b, 0x1d, 0xce, 0xb5, 0xdc, 0x95, 0x73, 0x6d, 0x6e, 0xe6, 0x5c, + 0xfb, 0x67, 0x19, 0xee, 0xb4, 0x48, 0x1c, 0x71, 0x16, 0xd3, 0x53, 0xb2, 0xa3, 0xab, 0xf6, 0x32, + 0xe1, 0xe2, 0x2e, 0x17, 0x09, 0x9a, 0xa9, 0x96, 0x8a, 0x8a, 0xb3, 0x9b, 0x16, 0x54, 0x1d, 0x8a, + 0x01, 0x67, 0x9d, 0x4b, 0x0d, 0xab, 0x3d, 0x4a, 0x4a, 0x5f, 0xe2, 0xaa, 0x99, 0x52, 0x87, 0xe2, + 0x49, 0x2f, 0xa6, 0x8c, 0xc4, 0x31, 0x62, 0x38, 0x24, 0x56, 0xf7, 0x5d, 0x48, 0x29, 0xaf, 0x71, + 0x48, 0x9c, 0x57, 0x70, 0x13, 0x07, 0x01, 0x3f, 0x43, 0xed, 0x80, 0x9c, 0xd3, 0x93, 0x80, 0x20, + 0x8f, 0x07, 0x5c, 0x98, 0x2c, 0x58, 0x1f, 0x51, 0xda, 0xe6, 0x3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6, 0x69, 0x48, 0x0e, 0x2f, 0x22, 0xdd, 0x70, 0xd2, 0x0f, 0xad, 0xe5, 0xd0, + 0x3c, 0xc9, 0x84, 0x53, 0xf9, 0x6f, 0x33, 0x0b, 0x2b, 0xa4, 0xf3, 0x18, 0x20, 0x24, 0x3e, 0xc5, + 0xa8, 0x4d, 0x03, 0xab, 0xb2, 0xdd, 0x7d, 0xaf, 0xb5, 0xa2, 0x18, 0xcf, 0x69, 0x40, 0x9c, 0x4d, + 0x58, 0xf0, 0x71, 0x82, 0x4d, 0xa6, 0x8e, 0x1e, 0xe6, 0xf6, 0x45, 0x42, 0xe2, 0x94, 0xa7, 0xa0, + 0xdb, 0xd7, 0x60, 0x51, 0x1d, 0xdc, 0xf6, 0x5f, 0x39, 0xa8, 0x78, 0x3c, 0x9c, 0xe2, 0x4e, 0xdb, + 0xd7, 0xeb, 0xbe, 0x8c, 0x4d, 0x66, 0x74, 0xdc, 0x94, 0xba, 0xcd, 0xdc, 0xf7, 0x3b, 0x86, 0xd3, + 0xe1, 0x01, 0x66, 0x1d, 0x97, 0x8b, 0x4e, 0xb5, 0x43, 0x98, 0x5a, 0x35, 0x7d, 0xbb, 0x14, 0xd1, + 0x78, 0xdc, 0x4b, 0xb4, 0x47, 0xfa, 0xcf, 0x6f, 0x73, 0xf3, 0x2f, 0xea, 0xf5, 0xdf, 0xe7, 0xee, + 0xbd, 0xd0, 0x62, 0x75, 0x3f, 0x76, 0xf5, 0xa3, 0x7c, 0x3a, 0xda, 0x70, 0x1b, 0x0a, 0xf6, 0x2e, + 0x05, 0x1c, 0xd7, 0xfd, 0xf8, 0xb8, 0x0f, 0x38, 0x3e, 0xda, 0x38, 0xd6, 0x80, 0x93, 0x25, 0xb5, + 0xf0, 0xd6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xfe, 0x1c, 0xea, 0xbc, 0x13, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/bidding.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/bidding.pb.go new file mode 100644 index 000000000..68331d714 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/bidding.pb.go @@ -0,0 +1,725 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/bidding.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An automated bidding strategy that raises bids for clicks +// that seem more likely to lead to a conversion and lowers +// them for clicks where they seem less likely. +type EnhancedCpc struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnhancedCpc) Reset() { *m = EnhancedCpc{} } +func (m *EnhancedCpc) String() string { return proto.CompactTextString(m) } +func (*EnhancedCpc) ProtoMessage() {} +func (*EnhancedCpc) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{0} +} +func (m *EnhancedCpc) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnhancedCpc.Unmarshal(m, b) +} +func (m *EnhancedCpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnhancedCpc.Marshal(b, m, deterministic) +} +func (dst *EnhancedCpc) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnhancedCpc.Merge(dst, src) +} +func (m *EnhancedCpc) XXX_Size() int { + return xxx_messageInfo_EnhancedCpc.Size(m) +} +func (m *EnhancedCpc) XXX_DiscardUnknown() { + xxx_messageInfo_EnhancedCpc.DiscardUnknown(m) +} + +var xxx_messageInfo_EnhancedCpc proto.InternalMessageInfo + +// Manual click-based bidding where user pays per click. +type ManualCpc struct { + // Whether bids are to be enhanced based on conversion optimizer data. + EnhancedCpcEnabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=enhanced_cpc_enabled,json=enhancedCpcEnabled,proto3" json:"enhanced_cpc_enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManualCpc) Reset() { *m = ManualCpc{} } +func (m *ManualCpc) String() string { return proto.CompactTextString(m) } +func (*ManualCpc) ProtoMessage() {} +func (*ManualCpc) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{1} +} +func (m *ManualCpc) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManualCpc.Unmarshal(m, b) +} +func (m *ManualCpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManualCpc.Marshal(b, m, deterministic) +} +func (dst *ManualCpc) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManualCpc.Merge(dst, src) +} +func (m *ManualCpc) XXX_Size() int { + return xxx_messageInfo_ManualCpc.Size(m) +} +func (m *ManualCpc) XXX_DiscardUnknown() { + xxx_messageInfo_ManualCpc.DiscardUnknown(m) +} + +var xxx_messageInfo_ManualCpc proto.InternalMessageInfo + +func (m *ManualCpc) GetEnhancedCpcEnabled() *wrappers.BoolValue { + if m != nil { + return m.EnhancedCpcEnabled + } + return nil +} + +// Manual impression-based bidding where user pays per thousand impressions. +type ManualCpm struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManualCpm) Reset() { *m = ManualCpm{} } +func (m *ManualCpm) String() string { return proto.CompactTextString(m) } +func (*ManualCpm) ProtoMessage() {} +func (*ManualCpm) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{2} +} +func (m *ManualCpm) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManualCpm.Unmarshal(m, b) +} +func (m *ManualCpm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManualCpm.Marshal(b, m, deterministic) +} +func (dst *ManualCpm) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManualCpm.Merge(dst, src) +} +func (m *ManualCpm) XXX_Size() int { + return xxx_messageInfo_ManualCpm.Size(m) +} +func (m *ManualCpm) XXX_DiscardUnknown() { + xxx_messageInfo_ManualCpm.DiscardUnknown(m) +} + +var xxx_messageInfo_ManualCpm proto.InternalMessageInfo + +// View based bidding where user pays per video view. +type ManualCpv struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManualCpv) Reset() { *m = ManualCpv{} } +func (m *ManualCpv) String() string { return proto.CompactTextString(m) } +func (*ManualCpv) ProtoMessage() {} +func (*ManualCpv) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{3} +} +func (m *ManualCpv) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManualCpv.Unmarshal(m, b) +} +func (m *ManualCpv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManualCpv.Marshal(b, m, deterministic) +} +func (dst *ManualCpv) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManualCpv.Merge(dst, src) +} +func (m *ManualCpv) XXX_Size() int { + return xxx_messageInfo_ManualCpv.Size(m) +} +func (m *ManualCpv) XXX_DiscardUnknown() { + xxx_messageInfo_ManualCpv.DiscardUnknown(m) +} + +var xxx_messageInfo_ManualCpv proto.InternalMessageInfo + +// An automated bidding strategy that sets bids to help get the most conversions +// for your campaign while spending your budget. +type MaximizeConversions struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MaximizeConversions) Reset() { *m = MaximizeConversions{} } +func (m *MaximizeConversions) String() string { return proto.CompactTextString(m) } +func (*MaximizeConversions) ProtoMessage() {} +func (*MaximizeConversions) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{4} +} +func (m *MaximizeConversions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MaximizeConversions.Unmarshal(m, b) +} +func (m *MaximizeConversions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MaximizeConversions.Marshal(b, m, deterministic) +} +func (dst *MaximizeConversions) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaximizeConversions.Merge(dst, src) +} +func (m *MaximizeConversions) XXX_Size() int { + return xxx_messageInfo_MaximizeConversions.Size(m) +} +func (m *MaximizeConversions) XXX_DiscardUnknown() { + xxx_messageInfo_MaximizeConversions.DiscardUnknown(m) +} + +var xxx_messageInfo_MaximizeConversions proto.InternalMessageInfo + +// An automated bidding strategy which tries to maximize conversion value +// given a daily budget. +type MaximizeConversionValue struct { + // The target return on ad spend (ROAS) option. If set, the bid strategy will + // maximize revenue while averaging the target return on ad spend. If the + // target ROAS is high, the bid strategy may not be able to spend the full + // budget. If the target ROAS is not set, the bid strategy will aim to + // achieve the highest possible ROAS for the budget. + TargetRoas *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=target_roas,json=targetRoas,proto3" json:"target_roas,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MaximizeConversionValue) Reset() { *m = MaximizeConversionValue{} } +func (m *MaximizeConversionValue) String() string { return proto.CompactTextString(m) } +func (*MaximizeConversionValue) ProtoMessage() {} +func (*MaximizeConversionValue) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{5} +} +func (m *MaximizeConversionValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MaximizeConversionValue.Unmarshal(m, b) +} +func (m *MaximizeConversionValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MaximizeConversionValue.Marshal(b, m, deterministic) +} +func (dst *MaximizeConversionValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaximizeConversionValue.Merge(dst, src) +} +func (m *MaximizeConversionValue) XXX_Size() int { + return xxx_messageInfo_MaximizeConversionValue.Size(m) +} +func (m *MaximizeConversionValue) XXX_DiscardUnknown() { + xxx_messageInfo_MaximizeConversionValue.DiscardUnknown(m) +} + +var xxx_messageInfo_MaximizeConversionValue proto.InternalMessageInfo + +func (m *MaximizeConversionValue) GetTargetRoas() *wrappers.DoubleValue { + if m != nil { + return m.TargetRoas + } + return nil +} + +// An automated bidding strategy which sets CPC bids to target impressions on +// page one, or page one promoted slots on google.com. +type PageOnePromoted struct { + // The strategy goal of where impressions are desired to be shown on + // search result pages. + StrategyGoal enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal `protobuf:"varint,1,opt,name=strategy_goal,json=strategyGoal,proto3,enum=google.ads.googleads.v0.enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal" json:"strategy_goal,omitempty"` + // Maximum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"` + // Bid multiplier to be applied to the relevant bid estimate (depending on + // the `strategy_goal`) in determining a keyword's new CPC bid. + BidModifier *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` + // Whether the strategy should always follow bid estimate changes, or only + // increase. + // If false, always sets a keyword's new bid to the current bid estimate. + // If true, only updates a keyword's bid if the current bid estimate is + // greater than the current bid. + OnlyRaiseCpcBids *wrappers.BoolValue `protobuf:"bytes,4,opt,name=only_raise_cpc_bids,json=onlyRaiseCpcBids,proto3" json:"only_raise_cpc_bids,omitempty"` + // Whether the strategy is allowed to raise bids when the throttling + // rate of the budget it is serving out of rises above a threshold. + RaiseCpcBidWhenBudgetConstrained *wrappers.BoolValue `protobuf:"bytes,5,opt,name=raise_cpc_bid_when_budget_constrained,json=raiseCpcBidWhenBudgetConstrained,proto3" json:"raise_cpc_bid_when_budget_constrained,omitempty"` + // Whether the strategy is allowed to raise bids on keywords with + // lower-range quality scores. + RaiseCpcBidWhenQualityScoreIsLow *wrappers.BoolValue `protobuf:"bytes,6,opt,name=raise_cpc_bid_when_quality_score_is_low,json=raiseCpcBidWhenQualityScoreIsLow,proto3" json:"raise_cpc_bid_when_quality_score_is_low,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PageOnePromoted) Reset() { *m = PageOnePromoted{} } +func (m *PageOnePromoted) String() string { return proto.CompactTextString(m) } +func (*PageOnePromoted) ProtoMessage() {} +func (*PageOnePromoted) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{6} +} +func (m *PageOnePromoted) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PageOnePromoted.Unmarshal(m, b) +} +func (m *PageOnePromoted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PageOnePromoted.Marshal(b, m, deterministic) +} +func (dst *PageOnePromoted) XXX_Merge(src proto.Message) { + xxx_messageInfo_PageOnePromoted.Merge(dst, src) +} +func (m *PageOnePromoted) XXX_Size() int { + return xxx_messageInfo_PageOnePromoted.Size(m) +} +func (m *PageOnePromoted) XXX_DiscardUnknown() { + xxx_messageInfo_PageOnePromoted.DiscardUnknown(m) +} + +var xxx_messageInfo_PageOnePromoted proto.InternalMessageInfo + +func (m *PageOnePromoted) GetStrategyGoal() enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal { + if m != nil { + return m.StrategyGoal + } + return enums.PageOnePromotedStrategyGoalEnum_UNSPECIFIED +} + +func (m *PageOnePromoted) GetCpcBidCeilingMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidCeilingMicros + } + return nil +} + +func (m *PageOnePromoted) GetBidModifier() *wrappers.DoubleValue { + if m != nil { + return m.BidModifier + } + return nil +} + +func (m *PageOnePromoted) GetOnlyRaiseCpcBids() *wrappers.BoolValue { + if m != nil { + return m.OnlyRaiseCpcBids + } + return nil +} + +func (m *PageOnePromoted) GetRaiseCpcBidWhenBudgetConstrained() *wrappers.BoolValue { + if m != nil { + return m.RaiseCpcBidWhenBudgetConstrained + } + return nil +} + +func (m *PageOnePromoted) GetRaiseCpcBidWhenQualityScoreIsLow() *wrappers.BoolValue { + if m != nil { + return m.RaiseCpcBidWhenQualityScoreIsLow + } + return nil +} + +// An automated bid strategy that sets bids to help get as many conversions as +// possible at the target cost-per-acquisition (CPA) you set. +type TargetCpa struct { + // Average CPA target. + // This target should be greater than or equal to minimum billable unit based + // on the currency for the account. + TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_micros,omitempty"` + // Maximum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"` + // Minimum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidFloorMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_floor_micros,json=cpcBidFloorMicros,proto3" json:"cpc_bid_floor_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetCpa) Reset() { *m = TargetCpa{} } +func (m *TargetCpa) String() string { return proto.CompactTextString(m) } +func (*TargetCpa) ProtoMessage() {} +func (*TargetCpa) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{7} +} +func (m *TargetCpa) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetCpa.Unmarshal(m, b) +} +func (m *TargetCpa) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetCpa.Marshal(b, m, deterministic) +} +func (dst *TargetCpa) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetCpa.Merge(dst, src) +} +func (m *TargetCpa) XXX_Size() int { + return xxx_messageInfo_TargetCpa.Size(m) +} +func (m *TargetCpa) XXX_DiscardUnknown() { + xxx_messageInfo_TargetCpa.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetCpa proto.InternalMessageInfo + +func (m *TargetCpa) GetTargetCpaMicros() *wrappers.Int64Value { + if m != nil { + return m.TargetCpaMicros + } + return nil +} + +func (m *TargetCpa) GetCpcBidCeilingMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidCeilingMicros + } + return nil +} + +func (m *TargetCpa) GetCpcBidFloorMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidFloorMicros + } + return nil +} + +// An automated bidding strategy that sets bids based on the target fraction of +// auctions where the advertiser should outrank a specific competitor. +type TargetOutrankShare struct { + // The target fraction of auctions where the advertiser should outrank the + // competitor. + // The advertiser outranks the competitor in an auction if either the + // advertiser appears above the competitor in the search results, or appears + // in the search results when the competitor does not. + // Value must be between 1 and 1000000, inclusive. + TargetOutrankShareMicros *wrappers.Int32Value `protobuf:"bytes,1,opt,name=target_outrank_share_micros,json=targetOutrankShareMicros,proto3" json:"target_outrank_share_micros,omitempty"` + // Competitor's visible domain URL. + CompetitorDomain *wrappers.StringValue `protobuf:"bytes,2,opt,name=competitor_domain,json=competitorDomain,proto3" json:"competitor_domain,omitempty"` + // Maximum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"` + // Whether the strategy should always follow bid estimate changes, + // or only increase. + // If false, always set a keyword's new bid to the current bid estimate. + // If true, only updates a keyword's bid if the current bid estimate is + // greater than the current bid. + OnlyRaiseCpcBids *wrappers.BoolValue `protobuf:"bytes,4,opt,name=only_raise_cpc_bids,json=onlyRaiseCpcBids,proto3" json:"only_raise_cpc_bids,omitempty"` + // Whether the strategy is allowed to raise bids on keywords with + // lower-range quality scores. + RaiseCpcBidWhenQualityScoreIsLow *wrappers.BoolValue `protobuf:"bytes,5,opt,name=raise_cpc_bid_when_quality_score_is_low,json=raiseCpcBidWhenQualityScoreIsLow,proto3" json:"raise_cpc_bid_when_quality_score_is_low,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetOutrankShare) Reset() { *m = TargetOutrankShare{} } +func (m *TargetOutrankShare) String() string { return proto.CompactTextString(m) } +func (*TargetOutrankShare) ProtoMessage() {} +func (*TargetOutrankShare) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{8} +} +func (m *TargetOutrankShare) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetOutrankShare.Unmarshal(m, b) +} +func (m *TargetOutrankShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetOutrankShare.Marshal(b, m, deterministic) +} +func (dst *TargetOutrankShare) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetOutrankShare.Merge(dst, src) +} +func (m *TargetOutrankShare) XXX_Size() int { + return xxx_messageInfo_TargetOutrankShare.Size(m) +} +func (m *TargetOutrankShare) XXX_DiscardUnknown() { + xxx_messageInfo_TargetOutrankShare.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetOutrankShare proto.InternalMessageInfo + +func (m *TargetOutrankShare) GetTargetOutrankShareMicros() *wrappers.Int32Value { + if m != nil { + return m.TargetOutrankShareMicros + } + return nil +} + +func (m *TargetOutrankShare) GetCompetitorDomain() *wrappers.StringValue { + if m != nil { + return m.CompetitorDomain + } + return nil +} + +func (m *TargetOutrankShare) GetCpcBidCeilingMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidCeilingMicros + } + return nil +} + +func (m *TargetOutrankShare) GetOnlyRaiseCpcBids() *wrappers.BoolValue { + if m != nil { + return m.OnlyRaiseCpcBids + } + return nil +} + +func (m *TargetOutrankShare) GetRaiseCpcBidWhenQualityScoreIsLow() *wrappers.BoolValue { + if m != nil { + return m.RaiseCpcBidWhenQualityScoreIsLow + } + return nil +} + +// An automated bidding strategy that helps you maximize revenue while +// averaging a specific target return on ad spend (ROAS). +type TargetRoas struct { + // Required. The desired revenue (based on conversion data) per unit of spend. + // Value must be between 0.01 and 1000.0, inclusive. + TargetRoas *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=target_roas,json=targetRoas,proto3" json:"target_roas,omitempty"` + // Maximum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"` + // Minimum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidFloorMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_floor_micros,json=cpcBidFloorMicros,proto3" json:"cpc_bid_floor_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetRoas) Reset() { *m = TargetRoas{} } +func (m *TargetRoas) String() string { return proto.CompactTextString(m) } +func (*TargetRoas) ProtoMessage() {} +func (*TargetRoas) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{9} +} +func (m *TargetRoas) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetRoas.Unmarshal(m, b) +} +func (m *TargetRoas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetRoas.Marshal(b, m, deterministic) +} +func (dst *TargetRoas) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetRoas.Merge(dst, src) +} +func (m *TargetRoas) XXX_Size() int { + return xxx_messageInfo_TargetRoas.Size(m) +} +func (m *TargetRoas) XXX_DiscardUnknown() { + xxx_messageInfo_TargetRoas.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetRoas proto.InternalMessageInfo + +func (m *TargetRoas) GetTargetRoas() *wrappers.DoubleValue { + if m != nil { + return m.TargetRoas + } + return nil +} + +func (m *TargetRoas) GetCpcBidCeilingMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidCeilingMicros + } + return nil +} + +func (m *TargetRoas) GetCpcBidFloorMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidFloorMicros + } + return nil +} + +// An automated bid strategy that sets your bids to help get as many clicks +// as possible within your budget. +type TargetSpend struct { + // The spend target under which to maximize clicks. + // A TargetSpend bidder will attempt to spend the smaller of this value + // or the natural throttling spend amount. + // If not specified, the budget is used as the spend target. + TargetSpendMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_spend_micros,json=targetSpendMicros,proto3" json:"target_spend_micros,omitempty"` + // Maximum bid limit that can be set by the bid strategy. + // The limit applies to all keywords managed by the strategy. + CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetSpend) Reset() { *m = TargetSpend{} } +func (m *TargetSpend) String() string { return proto.CompactTextString(m) } +func (*TargetSpend) ProtoMessage() {} +func (*TargetSpend) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{10} +} +func (m *TargetSpend) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetSpend.Unmarshal(m, b) +} +func (m *TargetSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetSpend.Marshal(b, m, deterministic) +} +func (dst *TargetSpend) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetSpend.Merge(dst, src) +} +func (m *TargetSpend) XXX_Size() int { + return xxx_messageInfo_TargetSpend.Size(m) +} +func (m *TargetSpend) XXX_DiscardUnknown() { + xxx_messageInfo_TargetSpend.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetSpend proto.InternalMessageInfo + +func (m *TargetSpend) GetTargetSpendMicros() *wrappers.Int64Value { + if m != nil { + return m.TargetSpendMicros + } + return nil +} + +func (m *TargetSpend) GetCpcBidCeilingMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidCeilingMicros + } + return nil +} + +// A bidding strategy where bids are a fraction of the advertised price for +// some good or service. +type PercentCpc struct { + // Maximum bid limit that can be set by the bid strategy. This is + // an optional field entered by the advertiser and specified in local micros. + // Note: A zero value is interpreted in the same way as having bid_ceiling + // undefined. + CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"` + // Adjusts the bid for each auction upward or downward, depending on the + // likelihood of a conversion. Individual bids may exceed + // cpc_bid_ceiling_micros, but the average bid amount for a campaign should + // not. + EnhancedCpcEnabled *wrappers.BoolValue `protobuf:"bytes,2,opt,name=enhanced_cpc_enabled,json=enhancedCpcEnabled,proto3" json:"enhanced_cpc_enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PercentCpc) Reset() { *m = PercentCpc{} } +func (m *PercentCpc) String() string { return proto.CompactTextString(m) } +func (*PercentCpc) ProtoMessage() {} +func (*PercentCpc) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_3ebd125ac4f88b12, []int{11} +} +func (m *PercentCpc) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PercentCpc.Unmarshal(m, b) +} +func (m *PercentCpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PercentCpc.Marshal(b, m, deterministic) +} +func (dst *PercentCpc) XXX_Merge(src proto.Message) { + xxx_messageInfo_PercentCpc.Merge(dst, src) +} +func (m *PercentCpc) XXX_Size() int { + return xxx_messageInfo_PercentCpc.Size(m) +} +func (m *PercentCpc) XXX_DiscardUnknown() { + xxx_messageInfo_PercentCpc.DiscardUnknown(m) +} + +var xxx_messageInfo_PercentCpc proto.InternalMessageInfo + +func (m *PercentCpc) GetCpcBidCeilingMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidCeilingMicros + } + return nil +} + +func (m *PercentCpc) GetEnhancedCpcEnabled() *wrappers.BoolValue { + if m != nil { + return m.EnhancedCpcEnabled + } + return nil +} + +func init() { + proto.RegisterType((*EnhancedCpc)(nil), "google.ads.googleads.v0.common.EnhancedCpc") + proto.RegisterType((*ManualCpc)(nil), "google.ads.googleads.v0.common.ManualCpc") + proto.RegisterType((*ManualCpm)(nil), "google.ads.googleads.v0.common.ManualCpm") + proto.RegisterType((*ManualCpv)(nil), "google.ads.googleads.v0.common.ManualCpv") + proto.RegisterType((*MaximizeConversions)(nil), "google.ads.googleads.v0.common.MaximizeConversions") + proto.RegisterType((*MaximizeConversionValue)(nil), "google.ads.googleads.v0.common.MaximizeConversionValue") + proto.RegisterType((*PageOnePromoted)(nil), "google.ads.googleads.v0.common.PageOnePromoted") + proto.RegisterType((*TargetCpa)(nil), "google.ads.googleads.v0.common.TargetCpa") + proto.RegisterType((*TargetOutrankShare)(nil), "google.ads.googleads.v0.common.TargetOutrankShare") + proto.RegisterType((*TargetRoas)(nil), "google.ads.googleads.v0.common.TargetRoas") + proto.RegisterType((*TargetSpend)(nil), "google.ads.googleads.v0.common.TargetSpend") + proto.RegisterType((*PercentCpc)(nil), "google.ads.googleads.v0.common.PercentCpc") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/bidding.proto", fileDescriptor_bidding_3ebd125ac4f88b12) +} + +var fileDescriptor_bidding_3ebd125ac4f88b12 = []byte{ + // 805 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xc0, 0xb5, 0x71, 0x5b, 0xa9, 0xe3, 0x94, 0x92, 0x4d, 0x01, 0x2b, 0x45, 0x55, 0xb5, 0x12, + 0x82, 0x03, 0xda, 0x8d, 0x52, 0xc4, 0x05, 0x21, 0x14, 0x6f, 0x42, 0x64, 0x11, 0xab, 0xc6, 0xae, + 0x02, 0x44, 0x96, 0x46, 0xb3, 0x33, 0x2f, 0xeb, 0x51, 0x77, 0xe7, 0x2d, 0x33, 0xbb, 0x36, 0xe1, + 0xc2, 0x77, 0xe1, 0x88, 0xf8, 0x14, 0x5c, 0x90, 0x10, 0xdf, 0x84, 0x2b, 0x1f, 0x00, 0xed, 0xce, + 0x38, 0x6e, 0x71, 0x1d, 0x37, 0x21, 0x48, 0x3d, 0xed, 0xfc, 0x79, 0xef, 0xf7, 0xfe, 0xce, 0xce, + 0x90, 0x8f, 0x53, 0xc4, 0x34, 0x83, 0x88, 0x09, 0x13, 0xd9, 0x61, 0x3d, 0x9a, 0xee, 0x46, 0x1c, + 0xf3, 0x1c, 0x55, 0x94, 0x48, 0x21, 0xa4, 0x4a, 0xc3, 0x42, 0x63,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, 0x57, + 0x38, 0xb2, 0xee, 0xa0, 0x37, 0x98, 0xff, 0xeb, 0xd0, 0xd6, 0xee, 0x92, 0x01, 0x68, 0x0e, 0xaa, + 0xac, 0x2f, 0xe5, 0xd5, 0x06, 0xbc, 0xeb, 0x67, 0xf7, 0x95, 0xd7, 0xfc, 0xc6, 0x75, 0xae, 0xf9, + 0xee, 0x6f, 0x1e, 0x09, 0x38, 0xe6, 0xe1, 0xe5, 0x8f, 0x9b, 0xee, 0x66, 0xd7, 0xbe, 0x85, 0x06, + 0x35, 0x75, 0xe0, 0x9d, 0x1e, 0x38, 0xf9, 0x14, 0x33, 0xa6, 0xd2, 0x10, 0x75, 0x1a, 0xa5, 0xa0, + 0x1a, 0x9b, 0xf3, 0xc7, 0x4f, 0x21, 0xcd, 0xaa, 0x97, 0xd5, 0x67, 0xf6, 0xf3, 0xf3, 0x46, 0xeb, + 0x68, 0x7f, 0xff, 0x97, 0x8d, 0x47, 0x47, 0x16, 0xb6, 0x2f, 0x4c, 0x68, 0x87, 0xf5, 0xe8, 0x64, + 0x37, 0x8c, 0x1b, 0xb1, 0x3f, 0xe6, 0x02, 0xe3, 0x7d, 0x61, 0xc6, 0x17, 0x02, 0xe3, 0x93, 0xdd, + 0xb1, 0x15, 0x48, 0xee, 0x34, 0x86, 0x9f, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xde, 0x2e, + 0x2b, 0xd1, 0x09, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criteria.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criteria.pb.go new file mode 100644 index 000000000..f25af79db --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criteria.pb.go @@ -0,0 +1,2575 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/criteria.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A keyword criterion. +type KeywordInfo struct { + // The text of the keyword (at most 80 characters and 10 words). + Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + // The match type of the keyword. + MatchType enums.KeywordMatchTypeEnum_KeywordMatchType `protobuf:"varint,2,opt,name=match_type,json=matchType,proto3,enum=google.ads.googleads.v0.enums.KeywordMatchTypeEnum_KeywordMatchType" json:"match_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordInfo) Reset() { *m = KeywordInfo{} } +func (m *KeywordInfo) String() string { return proto.CompactTextString(m) } +func (*KeywordInfo) ProtoMessage() {} +func (*KeywordInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{0} +} +func (m *KeywordInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordInfo.Unmarshal(m, b) +} +func (m *KeywordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordInfo.Marshal(b, m, deterministic) +} +func (dst *KeywordInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordInfo.Merge(dst, src) +} +func (m *KeywordInfo) XXX_Size() int { + return xxx_messageInfo_KeywordInfo.Size(m) +} +func (m *KeywordInfo) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordInfo proto.InternalMessageInfo + +func (m *KeywordInfo) GetText() *wrappers.StringValue { + if m != nil { + return m.Text + } + return nil +} + +func (m *KeywordInfo) GetMatchType() enums.KeywordMatchTypeEnum_KeywordMatchType { + if m != nil { + return m.MatchType + } + return enums.KeywordMatchTypeEnum_UNSPECIFIED +} + +// A placement criterion. This can be used to modify bids for sites when +// targeting the content network. +type PlacementInfo struct { + // URL of the placement. + // + // For example, "http://www.domain.com". + Url *wrappers.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PlacementInfo) Reset() { *m = PlacementInfo{} } +func (m *PlacementInfo) String() string { return proto.CompactTextString(m) } +func (*PlacementInfo) ProtoMessage() {} +func (*PlacementInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{1} +} +func (m *PlacementInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PlacementInfo.Unmarshal(m, b) +} +func (m *PlacementInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PlacementInfo.Marshal(b, m, deterministic) +} +func (dst *PlacementInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PlacementInfo.Merge(dst, src) +} +func (m *PlacementInfo) XXX_Size() int { + return xxx_messageInfo_PlacementInfo.Size(m) +} +func (m *PlacementInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PlacementInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PlacementInfo proto.InternalMessageInfo + +func (m *PlacementInfo) GetUrl() *wrappers.StringValue { + if m != nil { + return m.Url + } + return nil +} + +// A location criterion. +type LocationInfo struct { + // The geo target constant resource name. + GeoTargetConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocationInfo) Reset() { *m = LocationInfo{} } +func (m *LocationInfo) String() string { return proto.CompactTextString(m) } +func (*LocationInfo) ProtoMessage() {} +func (*LocationInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{2} +} +func (m *LocationInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocationInfo.Unmarshal(m, b) +} +func (m *LocationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocationInfo.Marshal(b, m, deterministic) +} +func (dst *LocationInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocationInfo.Merge(dst, src) +} +func (m *LocationInfo) XXX_Size() int { + return xxx_messageInfo_LocationInfo.Size(m) +} +func (m *LocationInfo) XXX_DiscardUnknown() { + xxx_messageInfo_LocationInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_LocationInfo proto.InternalMessageInfo + +func (m *LocationInfo) GetGeoTargetConstant() *wrappers.StringValue { + if m != nil { + return m.GeoTargetConstant + } + return nil +} + +// A device criterion. +type DeviceInfo struct { + // Type of the device. + Type enums.DeviceEnum_Device `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.DeviceEnum_Device" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeviceInfo) Reset() { *m = DeviceInfo{} } +func (m *DeviceInfo) String() string { return proto.CompactTextString(m) } +func (*DeviceInfo) ProtoMessage() {} +func (*DeviceInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{3} +} +func (m *DeviceInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeviceInfo.Unmarshal(m, b) +} +func (m *DeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeviceInfo.Marshal(b, m, deterministic) +} +func (dst *DeviceInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeviceInfo.Merge(dst, src) +} +func (m *DeviceInfo) XXX_Size() int { + return xxx_messageInfo_DeviceInfo.Size(m) +} +func (m *DeviceInfo) XXX_DiscardUnknown() { + xxx_messageInfo_DeviceInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_DeviceInfo proto.InternalMessageInfo + +func (m *DeviceInfo) GetType() enums.DeviceEnum_Device { + if m != nil { + return m.Type + } + return enums.DeviceEnum_UNSPECIFIED +} + +// A preferred content criterion. +type PreferredContentInfo struct { + // Type of the preferred content. + Type enums.PreferredContentTypeEnum_PreferredContentType `protobuf:"varint,2,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.PreferredContentTypeEnum_PreferredContentType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PreferredContentInfo) Reset() { *m = PreferredContentInfo{} } +func (m *PreferredContentInfo) String() string { return proto.CompactTextString(m) } +func (*PreferredContentInfo) ProtoMessage() {} +func (*PreferredContentInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{4} +} +func (m *PreferredContentInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PreferredContentInfo.Unmarshal(m, b) +} +func (m *PreferredContentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PreferredContentInfo.Marshal(b, m, deterministic) +} +func (dst *PreferredContentInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PreferredContentInfo.Merge(dst, src) +} +func (m *PreferredContentInfo) XXX_Size() int { + return xxx_messageInfo_PreferredContentInfo.Size(m) +} +func (m *PreferredContentInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PreferredContentInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PreferredContentInfo proto.InternalMessageInfo + +func (m *PreferredContentInfo) GetType() enums.PreferredContentTypeEnum_PreferredContentType { + if m != nil { + return m.Type + } + return enums.PreferredContentTypeEnum_UNSPECIFIED +} + +// A listing group criterion. +type ListingGroupInfo struct { + // Type of the listing group. + Type enums.ListingGroupTypeEnum_ListingGroupType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.ListingGroupTypeEnum_ListingGroupType" json:"type,omitempty"` + // Dimension value with which this listing group is refining its parent. + // Undefined for the root group. + CaseValue *ListingDimensionInfo `protobuf:"bytes,2,opt,name=case_value,json=caseValue,proto3" json:"case_value,omitempty"` + // Resource name of ad group criterion which is the parent listing group + // subdivision. Null for the root group. + ParentAdGroupCriterion *wrappers.StringValue `protobuf:"bytes,3,opt,name=parent_ad_group_criterion,json=parentAdGroupCriterion,proto3" json:"parent_ad_group_criterion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingGroupInfo) Reset() { *m = ListingGroupInfo{} } +func (m *ListingGroupInfo) String() string { return proto.CompactTextString(m) } +func (*ListingGroupInfo) ProtoMessage() {} +func (*ListingGroupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{5} +} +func (m *ListingGroupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingGroupInfo.Unmarshal(m, b) +} +func (m *ListingGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingGroupInfo.Marshal(b, m, deterministic) +} +func (dst *ListingGroupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingGroupInfo.Merge(dst, src) +} +func (m *ListingGroupInfo) XXX_Size() int { + return xxx_messageInfo_ListingGroupInfo.Size(m) +} +func (m *ListingGroupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ListingGroupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingGroupInfo proto.InternalMessageInfo + +func (m *ListingGroupInfo) GetType() enums.ListingGroupTypeEnum_ListingGroupType { + if m != nil { + return m.Type + } + return enums.ListingGroupTypeEnum_UNSPECIFIED +} + +func (m *ListingGroupInfo) GetCaseValue() *ListingDimensionInfo { + if m != nil { + return m.CaseValue + } + return nil +} + +func (m *ListingGroupInfo) GetParentAdGroupCriterion() *wrappers.StringValue { + if m != nil { + return m.ParentAdGroupCriterion + } + return nil +} + +// A listing scope criterion. +type ListingScopeInfo struct { + // Scope of the campaign criterion. + Dimensions []*ListingDimensionInfo `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingScopeInfo) Reset() { *m = ListingScopeInfo{} } +func (m *ListingScopeInfo) String() string { return proto.CompactTextString(m) } +func (*ListingScopeInfo) ProtoMessage() {} +func (*ListingScopeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{6} +} +func (m *ListingScopeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingScopeInfo.Unmarshal(m, b) +} +func (m *ListingScopeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingScopeInfo.Marshal(b, m, deterministic) +} +func (dst *ListingScopeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingScopeInfo.Merge(dst, src) +} +func (m *ListingScopeInfo) XXX_Size() int { + return xxx_messageInfo_ListingScopeInfo.Size(m) +} +func (m *ListingScopeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ListingScopeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingScopeInfo proto.InternalMessageInfo + +func (m *ListingScopeInfo) GetDimensions() []*ListingDimensionInfo { + if m != nil { + return m.Dimensions + } + return nil +} + +// Listing dimensions for listing group criterion. +type ListingDimensionInfo struct { + // Dimension of one of the types below is always present. + // + // Types that are valid to be assigned to Dimension: + // *ListingDimensionInfo_ListingBrand + // *ListingDimensionInfo_HotelId + // *ListingDimensionInfo_HotelClass + // *ListingDimensionInfo_HotelCountryRegion + // *ListingDimensionInfo_HotelState + // *ListingDimensionInfo_HotelCity + // *ListingDimensionInfo_ListingCustomAttribute + // *ListingDimensionInfo_ProductChannel + // *ListingDimensionInfo_ProductChannelExclusivity + // *ListingDimensionInfo_ProductCondition + // *ListingDimensionInfo_ProductOfferId + // *ListingDimensionInfo_ProductType + Dimension isListingDimensionInfo_Dimension `protobuf_oneof:"dimension"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingDimensionInfo) Reset() { *m = ListingDimensionInfo{} } +func (m *ListingDimensionInfo) String() string { return proto.CompactTextString(m) } +func (*ListingDimensionInfo) ProtoMessage() {} +func (*ListingDimensionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{7} +} +func (m *ListingDimensionInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingDimensionInfo.Unmarshal(m, b) +} +func (m *ListingDimensionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingDimensionInfo.Marshal(b, m, deterministic) +} +func (dst *ListingDimensionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingDimensionInfo.Merge(dst, src) +} +func (m *ListingDimensionInfo) XXX_Size() int { + return xxx_messageInfo_ListingDimensionInfo.Size(m) +} +func (m *ListingDimensionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ListingDimensionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingDimensionInfo proto.InternalMessageInfo + +type isListingDimensionInfo_Dimension interface { + isListingDimensionInfo_Dimension() +} + +type ListingDimensionInfo_ListingBrand struct { + ListingBrand *ListingBrandInfo `protobuf:"bytes,1,opt,name=listing_brand,json=listingBrand,proto3,oneof"` +} + +type ListingDimensionInfo_HotelId struct { + HotelId *HotelIdInfo `protobuf:"bytes,2,opt,name=hotel_id,json=hotelId,proto3,oneof"` +} + +type ListingDimensionInfo_HotelClass struct { + HotelClass *HotelClassInfo `protobuf:"bytes,3,opt,name=hotel_class,json=hotelClass,proto3,oneof"` +} + +type ListingDimensionInfo_HotelCountryRegion struct { + HotelCountryRegion *HotelCountryRegionInfo `protobuf:"bytes,4,opt,name=hotel_country_region,json=hotelCountryRegion,proto3,oneof"` +} + +type ListingDimensionInfo_HotelState struct { + HotelState *HotelStateInfo `protobuf:"bytes,5,opt,name=hotel_state,json=hotelState,proto3,oneof"` +} + +type ListingDimensionInfo_HotelCity struct { + HotelCity *HotelCityInfo `protobuf:"bytes,6,opt,name=hotel_city,json=hotelCity,proto3,oneof"` +} + +type ListingDimensionInfo_ListingCustomAttribute struct { + ListingCustomAttribute *ListingCustomAttributeInfo `protobuf:"bytes,7,opt,name=listing_custom_attribute,json=listingCustomAttribute,proto3,oneof"` +} + +type ListingDimensionInfo_ProductChannel struct { + ProductChannel *ProductChannelInfo `protobuf:"bytes,8,opt,name=product_channel,json=productChannel,proto3,oneof"` +} + +type ListingDimensionInfo_ProductChannelExclusivity struct { + ProductChannelExclusivity *ProductChannelExclusivityInfo `protobuf:"bytes,9,opt,name=product_channel_exclusivity,json=productChannelExclusivity,proto3,oneof"` +} + +type ListingDimensionInfo_ProductCondition struct { + ProductCondition *ProductConditionInfo `protobuf:"bytes,10,opt,name=product_condition,json=productCondition,proto3,oneof"` +} + +type ListingDimensionInfo_ProductOfferId struct { + ProductOfferId *ProductOfferIdInfo `protobuf:"bytes,11,opt,name=product_offer_id,json=productOfferId,proto3,oneof"` +} + +type ListingDimensionInfo_ProductType struct { + ProductType *ProductTypeInfo `protobuf:"bytes,12,opt,name=product_type,json=productType,proto3,oneof"` +} + +func (*ListingDimensionInfo_ListingBrand) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_HotelId) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_HotelClass) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_HotelCountryRegion) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_HotelState) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_HotelCity) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_ListingCustomAttribute) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_ProductChannel) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_ProductChannelExclusivity) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_ProductCondition) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_ProductOfferId) isListingDimensionInfo_Dimension() {} + +func (*ListingDimensionInfo_ProductType) isListingDimensionInfo_Dimension() {} + +func (m *ListingDimensionInfo) GetDimension() isListingDimensionInfo_Dimension { + if m != nil { + return m.Dimension + } + return nil +} + +func (m *ListingDimensionInfo) GetListingBrand() *ListingBrandInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ListingBrand); ok { + return x.ListingBrand + } + return nil +} + +func (m *ListingDimensionInfo) GetHotelId() *HotelIdInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_HotelId); ok { + return x.HotelId + } + return nil +} + +func (m *ListingDimensionInfo) GetHotelClass() *HotelClassInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_HotelClass); ok { + return x.HotelClass + } + return nil +} + +func (m *ListingDimensionInfo) GetHotelCountryRegion() *HotelCountryRegionInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_HotelCountryRegion); ok { + return x.HotelCountryRegion + } + return nil +} + +func (m *ListingDimensionInfo) GetHotelState() *HotelStateInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_HotelState); ok { + return x.HotelState + } + return nil +} + +func (m *ListingDimensionInfo) GetHotelCity() *HotelCityInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_HotelCity); ok { + return x.HotelCity + } + return nil +} + +func (m *ListingDimensionInfo) GetListingCustomAttribute() *ListingCustomAttributeInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ListingCustomAttribute); ok { + return x.ListingCustomAttribute + } + return nil +} + +func (m *ListingDimensionInfo) GetProductChannel() *ProductChannelInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductChannel); ok { + return x.ProductChannel + } + return nil +} + +func (m *ListingDimensionInfo) GetProductChannelExclusivity() *ProductChannelExclusivityInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductChannelExclusivity); ok { + return x.ProductChannelExclusivity + } + return nil +} + +func (m *ListingDimensionInfo) GetProductCondition() *ProductConditionInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductCondition); ok { + return x.ProductCondition + } + return nil +} + +func (m *ListingDimensionInfo) GetProductOfferId() *ProductOfferIdInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductOfferId); ok { + return x.ProductOfferId + } + return nil +} + +func (m *ListingDimensionInfo) GetProductType() *ProductTypeInfo { + if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductType); ok { + return x.ProductType + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ListingDimensionInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ListingDimensionInfo_OneofMarshaler, _ListingDimensionInfo_OneofUnmarshaler, _ListingDimensionInfo_OneofSizer, []interface{}{ + (*ListingDimensionInfo_ListingBrand)(nil), + (*ListingDimensionInfo_HotelId)(nil), + (*ListingDimensionInfo_HotelClass)(nil), + (*ListingDimensionInfo_HotelCountryRegion)(nil), + (*ListingDimensionInfo_HotelState)(nil), + (*ListingDimensionInfo_HotelCity)(nil), + (*ListingDimensionInfo_ListingCustomAttribute)(nil), + (*ListingDimensionInfo_ProductChannel)(nil), + (*ListingDimensionInfo_ProductChannelExclusivity)(nil), + (*ListingDimensionInfo_ProductCondition)(nil), + (*ListingDimensionInfo_ProductOfferId)(nil), + (*ListingDimensionInfo_ProductType)(nil), + } +} + +func _ListingDimensionInfo_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ListingDimensionInfo) + // dimension + switch x := m.Dimension.(type) { + case *ListingDimensionInfo_ListingBrand: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListingBrand); err != nil { + return err + } + case *ListingDimensionInfo_HotelId: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelId); err != nil { + return err + } + case *ListingDimensionInfo_HotelClass: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelClass); err != nil { + return err + } + case *ListingDimensionInfo_HotelCountryRegion: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelCountryRegion); err != nil { + return err + } + case *ListingDimensionInfo_HotelState: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelState); err != nil { + return err + } + case *ListingDimensionInfo_HotelCity: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelCity); err != nil { + return err + } + case *ListingDimensionInfo_ListingCustomAttribute: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListingCustomAttribute); err != nil { + return err + } + case *ListingDimensionInfo_ProductChannel: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProductChannel); err != nil { + return err + } + case *ListingDimensionInfo_ProductChannelExclusivity: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProductChannelExclusivity); err != nil { + return err + } + case *ListingDimensionInfo_ProductCondition: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProductCondition); err != nil { + return err + } + case *ListingDimensionInfo_ProductOfferId: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProductOfferId); err != nil { + return err + } + case *ListingDimensionInfo_ProductType: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProductType); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ListingDimensionInfo.Dimension has unexpected type %T", x) + } + return nil +} + +func _ListingDimensionInfo_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ListingDimensionInfo) + switch tag { + case 1: // dimension.listing_brand + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ListingBrandInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ListingBrand{msg} + return true, err + case 2: // dimension.hotel_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HotelIdInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_HotelId{msg} + return true, err + case 3: // dimension.hotel_class + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HotelClassInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_HotelClass{msg} + return true, err + case 4: // dimension.hotel_country_region + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HotelCountryRegionInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_HotelCountryRegion{msg} + return true, err + case 5: // dimension.hotel_state + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HotelStateInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_HotelState{msg} + return true, err + case 6: // dimension.hotel_city + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HotelCityInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_HotelCity{msg} + return true, err + case 7: // dimension.listing_custom_attribute + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ListingCustomAttributeInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ListingCustomAttribute{msg} + return true, err + case 8: // dimension.product_channel + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ProductChannelInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ProductChannel{msg} + return true, err + case 9: // dimension.product_channel_exclusivity + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ProductChannelExclusivityInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ProductChannelExclusivity{msg} + return true, err + case 10: // dimension.product_condition + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ProductConditionInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ProductCondition{msg} + return true, err + case 11: // dimension.product_offer_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ProductOfferIdInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ProductOfferId{msg} + return true, err + case 12: // dimension.product_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ProductTypeInfo) + err := b.DecodeMessage(msg) + m.Dimension = &ListingDimensionInfo_ProductType{msg} + return true, err + default: + return false, nil + } +} + +func _ListingDimensionInfo_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ListingDimensionInfo) + // dimension + switch x := m.Dimension.(type) { + case *ListingDimensionInfo_ListingBrand: + s := proto.Size(x.ListingBrand) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_HotelId: + s := proto.Size(x.HotelId) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_HotelClass: + s := proto.Size(x.HotelClass) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_HotelCountryRegion: + s := proto.Size(x.HotelCountryRegion) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_HotelState: + s := proto.Size(x.HotelState) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_HotelCity: + s := proto.Size(x.HotelCity) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_ListingCustomAttribute: + s := proto.Size(x.ListingCustomAttribute) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_ProductChannel: + s := proto.Size(x.ProductChannel) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_ProductChannelExclusivity: + s := proto.Size(x.ProductChannelExclusivity) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_ProductCondition: + s := proto.Size(x.ProductCondition) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_ProductOfferId: + s := proto.Size(x.ProductOfferId) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ListingDimensionInfo_ProductType: + s := proto.Size(x.ProductType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Brand of the listing. +type ListingBrandInfo struct { + // String value of the listing brand. + Value *wrappers.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingBrandInfo) Reset() { *m = ListingBrandInfo{} } +func (m *ListingBrandInfo) String() string { return proto.CompactTextString(m) } +func (*ListingBrandInfo) ProtoMessage() {} +func (*ListingBrandInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{8} +} +func (m *ListingBrandInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingBrandInfo.Unmarshal(m, b) +} +func (m *ListingBrandInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingBrandInfo.Marshal(b, m, deterministic) +} +func (dst *ListingBrandInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingBrandInfo.Merge(dst, src) +} +func (m *ListingBrandInfo) XXX_Size() int { + return xxx_messageInfo_ListingBrandInfo.Size(m) +} +func (m *ListingBrandInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ListingBrandInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingBrandInfo proto.InternalMessageInfo + +func (m *ListingBrandInfo) GetValue() *wrappers.StringValue { + if m != nil { + return m.Value + } + return nil +} + +// Advertiser-specific hotel ID. +type HotelIdInfo struct { + // String value of the hotel ID. + Value *wrappers.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelIdInfo) Reset() { *m = HotelIdInfo{} } +func (m *HotelIdInfo) String() string { return proto.CompactTextString(m) } +func (*HotelIdInfo) ProtoMessage() {} +func (*HotelIdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{9} +} +func (m *HotelIdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelIdInfo.Unmarshal(m, b) +} +func (m *HotelIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelIdInfo.Marshal(b, m, deterministic) +} +func (dst *HotelIdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelIdInfo.Merge(dst, src) +} +func (m *HotelIdInfo) XXX_Size() int { + return xxx_messageInfo_HotelIdInfo.Size(m) +} +func (m *HotelIdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelIdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelIdInfo proto.InternalMessageInfo + +func (m *HotelIdInfo) GetValue() *wrappers.StringValue { + if m != nil { + return m.Value + } + return nil +} + +// Class of the hotel as a number of stars 1 to 5. +type HotelClassInfo struct { + // Long value of the hotel class. + Value *wrappers.Int64Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelClassInfo) Reset() { *m = HotelClassInfo{} } +func (m *HotelClassInfo) String() string { return proto.CompactTextString(m) } +func (*HotelClassInfo) ProtoMessage() {} +func (*HotelClassInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{10} +} +func (m *HotelClassInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelClassInfo.Unmarshal(m, b) +} +func (m *HotelClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelClassInfo.Marshal(b, m, deterministic) +} +func (dst *HotelClassInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelClassInfo.Merge(dst, src) +} +func (m *HotelClassInfo) XXX_Size() int { + return xxx_messageInfo_HotelClassInfo.Size(m) +} +func (m *HotelClassInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelClassInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelClassInfo proto.InternalMessageInfo + +func (m *HotelClassInfo) GetValue() *wrappers.Int64Value { + if m != nil { + return m.Value + } + return nil +} + +// Country or Region the hotel is located in. +type HotelCountryRegionInfo struct { + // The Geo Target Constant resource name. + CountryRegionCriterion *wrappers.StringValue `protobuf:"bytes,1,opt,name=country_region_criterion,json=countryRegionCriterion,proto3" json:"country_region_criterion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelCountryRegionInfo) Reset() { *m = HotelCountryRegionInfo{} } +func (m *HotelCountryRegionInfo) String() string { return proto.CompactTextString(m) } +func (*HotelCountryRegionInfo) ProtoMessage() {} +func (*HotelCountryRegionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{11} +} +func (m *HotelCountryRegionInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelCountryRegionInfo.Unmarshal(m, b) +} +func (m *HotelCountryRegionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelCountryRegionInfo.Marshal(b, m, deterministic) +} +func (dst *HotelCountryRegionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelCountryRegionInfo.Merge(dst, src) +} +func (m *HotelCountryRegionInfo) XXX_Size() int { + return xxx_messageInfo_HotelCountryRegionInfo.Size(m) +} +func (m *HotelCountryRegionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelCountryRegionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelCountryRegionInfo proto.InternalMessageInfo + +func (m *HotelCountryRegionInfo) GetCountryRegionCriterion() *wrappers.StringValue { + if m != nil { + return m.CountryRegionCriterion + } + return nil +} + +// State the hotel is located in. +type HotelStateInfo struct { + // The Geo Target Constant resource name. + StateCriterion *wrappers.StringValue `protobuf:"bytes,1,opt,name=state_criterion,json=stateCriterion,proto3" json:"state_criterion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelStateInfo) Reset() { *m = HotelStateInfo{} } +func (m *HotelStateInfo) String() string { return proto.CompactTextString(m) } +func (*HotelStateInfo) ProtoMessage() {} +func (*HotelStateInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{12} +} +func (m *HotelStateInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelStateInfo.Unmarshal(m, b) +} +func (m *HotelStateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelStateInfo.Marshal(b, m, deterministic) +} +func (dst *HotelStateInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelStateInfo.Merge(dst, src) +} +func (m *HotelStateInfo) XXX_Size() int { + return xxx_messageInfo_HotelStateInfo.Size(m) +} +func (m *HotelStateInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelStateInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelStateInfo proto.InternalMessageInfo + +func (m *HotelStateInfo) GetStateCriterion() *wrappers.StringValue { + if m != nil { + return m.StateCriterion + } + return nil +} + +// City the hotel is located in. +type HotelCityInfo struct { + // The Geo Target Constant resource name. + CityCriterion *wrappers.StringValue `protobuf:"bytes,1,opt,name=city_criterion,json=cityCriterion,proto3" json:"city_criterion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelCityInfo) Reset() { *m = HotelCityInfo{} } +func (m *HotelCityInfo) String() string { return proto.CompactTextString(m) } +func (*HotelCityInfo) ProtoMessage() {} +func (*HotelCityInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{13} +} +func (m *HotelCityInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelCityInfo.Unmarshal(m, b) +} +func (m *HotelCityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelCityInfo.Marshal(b, m, deterministic) +} +func (dst *HotelCityInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelCityInfo.Merge(dst, src) +} +func (m *HotelCityInfo) XXX_Size() int { + return xxx_messageInfo_HotelCityInfo.Size(m) +} +func (m *HotelCityInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelCityInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelCityInfo proto.InternalMessageInfo + +func (m *HotelCityInfo) GetCityCriterion() *wrappers.StringValue { + if m != nil { + return m.CityCriterion + } + return nil +} + +// Listing custom attribute. +type ListingCustomAttributeInfo struct { + // String value of the listing custom attribute. + Value *wrappers.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Indicates the index of the custom attribute. + Index enums.ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex `protobuf:"varint,2,opt,name=index,proto3,enum=google.ads.googleads.v0.enums.ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex" json:"index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingCustomAttributeInfo) Reset() { *m = ListingCustomAttributeInfo{} } +func (m *ListingCustomAttributeInfo) String() string { return proto.CompactTextString(m) } +func (*ListingCustomAttributeInfo) ProtoMessage() {} +func (*ListingCustomAttributeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{14} +} +func (m *ListingCustomAttributeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingCustomAttributeInfo.Unmarshal(m, b) +} +func (m *ListingCustomAttributeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingCustomAttributeInfo.Marshal(b, m, deterministic) +} +func (dst *ListingCustomAttributeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingCustomAttributeInfo.Merge(dst, src) +} +func (m *ListingCustomAttributeInfo) XXX_Size() int { + return xxx_messageInfo_ListingCustomAttributeInfo.Size(m) +} +func (m *ListingCustomAttributeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ListingCustomAttributeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingCustomAttributeInfo proto.InternalMessageInfo + +func (m *ListingCustomAttributeInfo) GetValue() *wrappers.StringValue { + if m != nil { + return m.Value + } + return nil +} + +func (m *ListingCustomAttributeInfo) GetIndex() enums.ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex { + if m != nil { + return m.Index + } + return enums.ListingCustomAttributeIndexEnum_UNSPECIFIED +} + +// Locality of a product offer. +type ProductChannelInfo struct { + // Value of the locality. + Channel enums.ProductChannelEnum_ProductChannel `protobuf:"varint,1,opt,name=channel,proto3,enum=google.ads.googleads.v0.enums.ProductChannelEnum_ProductChannel" json:"channel,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductChannelInfo) Reset() { *m = ProductChannelInfo{} } +func (m *ProductChannelInfo) String() string { return proto.CompactTextString(m) } +func (*ProductChannelInfo) ProtoMessage() {} +func (*ProductChannelInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{15} +} +func (m *ProductChannelInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductChannelInfo.Unmarshal(m, b) +} +func (m *ProductChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductChannelInfo.Marshal(b, m, deterministic) +} +func (dst *ProductChannelInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductChannelInfo.Merge(dst, src) +} +func (m *ProductChannelInfo) XXX_Size() int { + return xxx_messageInfo_ProductChannelInfo.Size(m) +} +func (m *ProductChannelInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ProductChannelInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductChannelInfo proto.InternalMessageInfo + +func (m *ProductChannelInfo) GetChannel() enums.ProductChannelEnum_ProductChannel { + if m != nil { + return m.Channel + } + return enums.ProductChannelEnum_UNSPECIFIED +} + +// Availability of a product offer. +type ProductChannelExclusivityInfo struct { + // Value of the availability. + ChannelExclusivity enums.ProductChannelExclusivityEnum_ProductChannelExclusivity `protobuf:"varint,1,opt,name=channel_exclusivity,json=channelExclusivity,proto3,enum=google.ads.googleads.v0.enums.ProductChannelExclusivityEnum_ProductChannelExclusivity" json:"channel_exclusivity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductChannelExclusivityInfo) Reset() { *m = ProductChannelExclusivityInfo{} } +func (m *ProductChannelExclusivityInfo) String() string { return proto.CompactTextString(m) } +func (*ProductChannelExclusivityInfo) ProtoMessage() {} +func (*ProductChannelExclusivityInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{16} +} +func (m *ProductChannelExclusivityInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductChannelExclusivityInfo.Unmarshal(m, b) +} +func (m *ProductChannelExclusivityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductChannelExclusivityInfo.Marshal(b, m, deterministic) +} +func (dst *ProductChannelExclusivityInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductChannelExclusivityInfo.Merge(dst, src) +} +func (m *ProductChannelExclusivityInfo) XXX_Size() int { + return xxx_messageInfo_ProductChannelExclusivityInfo.Size(m) +} +func (m *ProductChannelExclusivityInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ProductChannelExclusivityInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductChannelExclusivityInfo proto.InternalMessageInfo + +func (m *ProductChannelExclusivityInfo) GetChannelExclusivity() enums.ProductChannelExclusivityEnum_ProductChannelExclusivity { + if m != nil { + return m.ChannelExclusivity + } + return enums.ProductChannelExclusivityEnum_UNSPECIFIED +} + +// Condition of a product offer. +type ProductConditionInfo struct { + // Value of the condition. + Condition enums.ProductConditionEnum_ProductCondition `protobuf:"varint,1,opt,name=condition,proto3,enum=google.ads.googleads.v0.enums.ProductConditionEnum_ProductCondition" json:"condition,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductConditionInfo) Reset() { *m = ProductConditionInfo{} } +func (m *ProductConditionInfo) String() string { return proto.CompactTextString(m) } +func (*ProductConditionInfo) ProtoMessage() {} +func (*ProductConditionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{17} +} +func (m *ProductConditionInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductConditionInfo.Unmarshal(m, b) +} +func (m *ProductConditionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductConditionInfo.Marshal(b, m, deterministic) +} +func (dst *ProductConditionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductConditionInfo.Merge(dst, src) +} +func (m *ProductConditionInfo) XXX_Size() int { + return xxx_messageInfo_ProductConditionInfo.Size(m) +} +func (m *ProductConditionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ProductConditionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductConditionInfo proto.InternalMessageInfo + +func (m *ProductConditionInfo) GetCondition() enums.ProductConditionEnum_ProductCondition { + if m != nil { + return m.Condition + } + return enums.ProductConditionEnum_UNSPECIFIED +} + +// Id of a product offer. +type ProductOfferIdInfo struct { + // Value of the id. + Value *wrappers.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductOfferIdInfo) Reset() { *m = ProductOfferIdInfo{} } +func (m *ProductOfferIdInfo) String() string { return proto.CompactTextString(m) } +func (*ProductOfferIdInfo) ProtoMessage() {} +func (*ProductOfferIdInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{18} +} +func (m *ProductOfferIdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductOfferIdInfo.Unmarshal(m, b) +} +func (m *ProductOfferIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductOfferIdInfo.Marshal(b, m, deterministic) +} +func (dst *ProductOfferIdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductOfferIdInfo.Merge(dst, src) +} +func (m *ProductOfferIdInfo) XXX_Size() int { + return xxx_messageInfo_ProductOfferIdInfo.Size(m) +} +func (m *ProductOfferIdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ProductOfferIdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductOfferIdInfo proto.InternalMessageInfo + +func (m *ProductOfferIdInfo) GetValue() *wrappers.StringValue { + if m != nil { + return m.Value + } + return nil +} + +// Type of a product offer. +type ProductTypeInfo struct { + // Value of the type. + Value *wrappers.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Level of the type. + Level enums.ProductTypeLevelEnum_ProductTypeLevel `protobuf:"varint,2,opt,name=level,proto3,enum=google.ads.googleads.v0.enums.ProductTypeLevelEnum_ProductTypeLevel" json:"level,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductTypeInfo) Reset() { *m = ProductTypeInfo{} } +func (m *ProductTypeInfo) String() string { return proto.CompactTextString(m) } +func (*ProductTypeInfo) ProtoMessage() {} +func (*ProductTypeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{19} +} +func (m *ProductTypeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductTypeInfo.Unmarshal(m, b) +} +func (m *ProductTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductTypeInfo.Marshal(b, m, deterministic) +} +func (dst *ProductTypeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductTypeInfo.Merge(dst, src) +} +func (m *ProductTypeInfo) XXX_Size() int { + return xxx_messageInfo_ProductTypeInfo.Size(m) +} +func (m *ProductTypeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ProductTypeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductTypeInfo proto.InternalMessageInfo + +func (m *ProductTypeInfo) GetValue() *wrappers.StringValue { + if m != nil { + return m.Value + } + return nil +} + +func (m *ProductTypeInfo) GetLevel() enums.ProductTypeLevelEnum_ProductTypeLevel { + if m != nil { + return m.Level + } + return enums.ProductTypeLevelEnum_UNSPECIFIED +} + +// Criterion for hotel date selection (default dates vs. user selected). +type HotelDateSelectionTypeInfo struct { + // Type of the hotel date selection + Type enums.HotelDateSelectionTypeEnum_HotelDateSelectionType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelDateSelectionTypeInfo) Reset() { *m = HotelDateSelectionTypeInfo{} } +func (m *HotelDateSelectionTypeInfo) String() string { return proto.CompactTextString(m) } +func (*HotelDateSelectionTypeInfo) ProtoMessage() {} +func (*HotelDateSelectionTypeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{20} +} +func (m *HotelDateSelectionTypeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelDateSelectionTypeInfo.Unmarshal(m, b) +} +func (m *HotelDateSelectionTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelDateSelectionTypeInfo.Marshal(b, m, deterministic) +} +func (dst *HotelDateSelectionTypeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelDateSelectionTypeInfo.Merge(dst, src) +} +func (m *HotelDateSelectionTypeInfo) XXX_Size() int { + return xxx_messageInfo_HotelDateSelectionTypeInfo.Size(m) +} +func (m *HotelDateSelectionTypeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelDateSelectionTypeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelDateSelectionTypeInfo proto.InternalMessageInfo + +func (m *HotelDateSelectionTypeInfo) GetType() enums.HotelDateSelectionTypeEnum_HotelDateSelectionType { + if m != nil { + return m.Type + } + return enums.HotelDateSelectionTypeEnum_UNSPECIFIED +} + +// Criterion for number of days prior to the stay the booking is being made. +type HotelAdvanceBookingWindowInfo struct { + // Low end of the number of days prior to the stay. + MinDays *wrappers.Int64Value `protobuf:"bytes,1,opt,name=min_days,json=minDays,proto3" json:"min_days,omitempty"` + // High end of the number of days prior to the stay. + MaxDays *wrappers.Int64Value `protobuf:"bytes,2,opt,name=max_days,json=maxDays,proto3" json:"max_days,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelAdvanceBookingWindowInfo) Reset() { *m = HotelAdvanceBookingWindowInfo{} } +func (m *HotelAdvanceBookingWindowInfo) String() string { return proto.CompactTextString(m) } +func (*HotelAdvanceBookingWindowInfo) ProtoMessage() {} +func (*HotelAdvanceBookingWindowInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{21} +} +func (m *HotelAdvanceBookingWindowInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelAdvanceBookingWindowInfo.Unmarshal(m, b) +} +func (m *HotelAdvanceBookingWindowInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelAdvanceBookingWindowInfo.Marshal(b, m, deterministic) +} +func (dst *HotelAdvanceBookingWindowInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelAdvanceBookingWindowInfo.Merge(dst, src) +} +func (m *HotelAdvanceBookingWindowInfo) XXX_Size() int { + return xxx_messageInfo_HotelAdvanceBookingWindowInfo.Size(m) +} +func (m *HotelAdvanceBookingWindowInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelAdvanceBookingWindowInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelAdvanceBookingWindowInfo proto.InternalMessageInfo + +func (m *HotelAdvanceBookingWindowInfo) GetMinDays() *wrappers.Int64Value { + if m != nil { + return m.MinDays + } + return nil +} + +func (m *HotelAdvanceBookingWindowInfo) GetMaxDays() *wrappers.Int64Value { + if m != nil { + return m.MaxDays + } + return nil +} + +// Criterion for length of hotel stay in nights. +type HotelLengthOfStayInfo struct { + // Low end of the number of nights in the stay. + MinNights *wrappers.Int64Value `protobuf:"bytes,1,opt,name=min_nights,json=minNights,proto3" json:"min_nights,omitempty"` + // High end of the number of nights in the stay. + MaxNights *wrappers.Int64Value `protobuf:"bytes,2,opt,name=max_nights,json=maxNights,proto3" json:"max_nights,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelLengthOfStayInfo) Reset() { *m = HotelLengthOfStayInfo{} } +func (m *HotelLengthOfStayInfo) String() string { return proto.CompactTextString(m) } +func (*HotelLengthOfStayInfo) ProtoMessage() {} +func (*HotelLengthOfStayInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{22} +} +func (m *HotelLengthOfStayInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelLengthOfStayInfo.Unmarshal(m, b) +} +func (m *HotelLengthOfStayInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelLengthOfStayInfo.Marshal(b, m, deterministic) +} +func (dst *HotelLengthOfStayInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelLengthOfStayInfo.Merge(dst, src) +} +func (m *HotelLengthOfStayInfo) XXX_Size() int { + return xxx_messageInfo_HotelLengthOfStayInfo.Size(m) +} +func (m *HotelLengthOfStayInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelLengthOfStayInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelLengthOfStayInfo proto.InternalMessageInfo + +func (m *HotelLengthOfStayInfo) GetMinNights() *wrappers.Int64Value { + if m != nil { + return m.MinNights + } + return nil +} + +func (m *HotelLengthOfStayInfo) GetMaxNights() *wrappers.Int64Value { + if m != nil { + return m.MaxNights + } + return nil +} + +// Criterion for day of the week the booking is for. +type HotelCheckInDayInfo struct { + // The day of the week. + DayOfWeek enums.DayOfWeekEnum_DayOfWeek `protobuf:"varint,1,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.ads.googleads.v0.enums.DayOfWeekEnum_DayOfWeek" json:"day_of_week,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelCheckInDayInfo) Reset() { *m = HotelCheckInDayInfo{} } +func (m *HotelCheckInDayInfo) String() string { return proto.CompactTextString(m) } +func (*HotelCheckInDayInfo) ProtoMessage() {} +func (*HotelCheckInDayInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{23} +} +func (m *HotelCheckInDayInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelCheckInDayInfo.Unmarshal(m, b) +} +func (m *HotelCheckInDayInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelCheckInDayInfo.Marshal(b, m, deterministic) +} +func (dst *HotelCheckInDayInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelCheckInDayInfo.Merge(dst, src) +} +func (m *HotelCheckInDayInfo) XXX_Size() int { + return xxx_messageInfo_HotelCheckInDayInfo.Size(m) +} +func (m *HotelCheckInDayInfo) XXX_DiscardUnknown() { + xxx_messageInfo_HotelCheckInDayInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelCheckInDayInfo proto.InternalMessageInfo + +func (m *HotelCheckInDayInfo) GetDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { + if m != nil { + return m.DayOfWeek + } + return enums.DayOfWeekEnum_UNSPECIFIED +} + +// Criterion for Interaction Type. +type InteractionTypeInfo struct { + // The interaction type. + Type enums.InteractionTypeEnum_InteractionType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.InteractionTypeEnum_InteractionType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InteractionTypeInfo) Reset() { *m = InteractionTypeInfo{} } +func (m *InteractionTypeInfo) String() string { return proto.CompactTextString(m) } +func (*InteractionTypeInfo) ProtoMessage() {} +func (*InteractionTypeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{24} +} +func (m *InteractionTypeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InteractionTypeInfo.Unmarshal(m, b) +} +func (m *InteractionTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InteractionTypeInfo.Marshal(b, m, deterministic) +} +func (dst *InteractionTypeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_InteractionTypeInfo.Merge(dst, src) +} +func (m *InteractionTypeInfo) XXX_Size() int { + return xxx_messageInfo_InteractionTypeInfo.Size(m) +} +func (m *InteractionTypeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_InteractionTypeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_InteractionTypeInfo proto.InternalMessageInfo + +func (m *InteractionTypeInfo) GetType() enums.InteractionTypeEnum_InteractionType { + if m != nil { + return m.Type + } + return enums.InteractionTypeEnum_UNSPECIFIED +} + +// Represents an AdSchedule criterion. +// +// AdSchedule is specified as the day of the week and a time interval +// within which ads will be shown. +// +// No more than six AdSchedules can be added for the same day. +type AdScheduleInfo struct { + // Minutes after the start hour at which this schedule starts. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + StartMinute enums.MinuteOfHourEnum_MinuteOfHour `protobuf:"varint,1,opt,name=start_minute,json=startMinute,proto3,enum=google.ads.googleads.v0.enums.MinuteOfHourEnum_MinuteOfHour" json:"start_minute,omitempty"` + // Minutes after the end hour at which this schedule ends. The schedule is + // exclusive of the end minute. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + EndMinute enums.MinuteOfHourEnum_MinuteOfHour `protobuf:"varint,2,opt,name=end_minute,json=endMinute,proto3,enum=google.ads.googleads.v0.enums.MinuteOfHourEnum_MinuteOfHour" json:"end_minute,omitempty"` + // Starting hour in 24 hour time. + // This field must be between 0 and 23, inclusive. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + StartHour *wrappers.Int32Value `protobuf:"bytes,3,opt,name=start_hour,json=startHour,proto3" json:"start_hour,omitempty"` + // Ending hour in 24 hour time; 24 signifies end of the day. + // This field must be between 0 and 24, inclusive. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + EndHour *wrappers.Int32Value `protobuf:"bytes,4,opt,name=end_hour,json=endHour,proto3" json:"end_hour,omitempty"` + // Day of the week the schedule applies to. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + DayOfWeek enums.DayOfWeekEnum_DayOfWeek `protobuf:"varint,5,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.ads.googleads.v0.enums.DayOfWeekEnum_DayOfWeek" json:"day_of_week,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdScheduleInfo) Reset() { *m = AdScheduleInfo{} } +func (m *AdScheduleInfo) String() string { return proto.CompactTextString(m) } +func (*AdScheduleInfo) ProtoMessage() {} +func (*AdScheduleInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{25} +} +func (m *AdScheduleInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdScheduleInfo.Unmarshal(m, b) +} +func (m *AdScheduleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdScheduleInfo.Marshal(b, m, deterministic) +} +func (dst *AdScheduleInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdScheduleInfo.Merge(dst, src) +} +func (m *AdScheduleInfo) XXX_Size() int { + return xxx_messageInfo_AdScheduleInfo.Size(m) +} +func (m *AdScheduleInfo) XXX_DiscardUnknown() { + xxx_messageInfo_AdScheduleInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_AdScheduleInfo proto.InternalMessageInfo + +func (m *AdScheduleInfo) GetStartMinute() enums.MinuteOfHourEnum_MinuteOfHour { + if m != nil { + return m.StartMinute + } + return enums.MinuteOfHourEnum_UNSPECIFIED +} + +func (m *AdScheduleInfo) GetEndMinute() enums.MinuteOfHourEnum_MinuteOfHour { + if m != nil { + return m.EndMinute + } + return enums.MinuteOfHourEnum_UNSPECIFIED +} + +func (m *AdScheduleInfo) GetStartHour() *wrappers.Int32Value { + if m != nil { + return m.StartHour + } + return nil +} + +func (m *AdScheduleInfo) GetEndHour() *wrappers.Int32Value { + if m != nil { + return m.EndHour + } + return nil +} + +func (m *AdScheduleInfo) GetDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { + if m != nil { + return m.DayOfWeek + } + return enums.DayOfWeekEnum_UNSPECIFIED +} + +// An age range criterion. +type AgeRangeInfo struct { + // Type of the age range. + Type enums.AgeRangeTypeEnum_AgeRangeType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.AgeRangeTypeEnum_AgeRangeType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AgeRangeInfo) Reset() { *m = AgeRangeInfo{} } +func (m *AgeRangeInfo) String() string { return proto.CompactTextString(m) } +func (*AgeRangeInfo) ProtoMessage() {} +func (*AgeRangeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{26} +} +func (m *AgeRangeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AgeRangeInfo.Unmarshal(m, b) +} +func (m *AgeRangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AgeRangeInfo.Marshal(b, m, deterministic) +} +func (dst *AgeRangeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_AgeRangeInfo.Merge(dst, src) +} +func (m *AgeRangeInfo) XXX_Size() int { + return xxx_messageInfo_AgeRangeInfo.Size(m) +} +func (m *AgeRangeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_AgeRangeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_AgeRangeInfo proto.InternalMessageInfo + +func (m *AgeRangeInfo) GetType() enums.AgeRangeTypeEnum_AgeRangeType { + if m != nil { + return m.Type + } + return enums.AgeRangeTypeEnum_UNSPECIFIED +} + +// A gender criterion. +type GenderInfo struct { + // Type of the gender. + Type enums.GenderTypeEnum_GenderType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.GenderTypeEnum_GenderType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenderInfo) Reset() { *m = GenderInfo{} } +func (m *GenderInfo) String() string { return proto.CompactTextString(m) } +func (*GenderInfo) ProtoMessage() {} +func (*GenderInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{27} +} +func (m *GenderInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenderInfo.Unmarshal(m, b) +} +func (m *GenderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenderInfo.Marshal(b, m, deterministic) +} +func (dst *GenderInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenderInfo.Merge(dst, src) +} +func (m *GenderInfo) XXX_Size() int { + return xxx_messageInfo_GenderInfo.Size(m) +} +func (m *GenderInfo) XXX_DiscardUnknown() { + xxx_messageInfo_GenderInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_GenderInfo proto.InternalMessageInfo + +func (m *GenderInfo) GetType() enums.GenderTypeEnum_GenderType { + if m != nil { + return m.Type + } + return enums.GenderTypeEnum_UNSPECIFIED +} + +// An income range criterion. +type IncomeRangeInfo struct { + // Type of the income range. + Type enums.IncomeRangeTypeEnum_IncomeRangeType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.IncomeRangeTypeEnum_IncomeRangeType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IncomeRangeInfo) Reset() { *m = IncomeRangeInfo{} } +func (m *IncomeRangeInfo) String() string { return proto.CompactTextString(m) } +func (*IncomeRangeInfo) ProtoMessage() {} +func (*IncomeRangeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{28} +} +func (m *IncomeRangeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IncomeRangeInfo.Unmarshal(m, b) +} +func (m *IncomeRangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IncomeRangeInfo.Marshal(b, m, deterministic) +} +func (dst *IncomeRangeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_IncomeRangeInfo.Merge(dst, src) +} +func (m *IncomeRangeInfo) XXX_Size() int { + return xxx_messageInfo_IncomeRangeInfo.Size(m) +} +func (m *IncomeRangeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_IncomeRangeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_IncomeRangeInfo proto.InternalMessageInfo + +func (m *IncomeRangeInfo) GetType() enums.IncomeRangeTypeEnum_IncomeRangeType { + if m != nil { + return m.Type + } + return enums.IncomeRangeTypeEnum_UNSPECIFIED +} + +// A parental status criterion. +type ParentalStatusInfo struct { + // Type of the parental status. + Type enums.ParentalStatusTypeEnum_ParentalStatusType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.ParentalStatusTypeEnum_ParentalStatusType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParentalStatusInfo) Reset() { *m = ParentalStatusInfo{} } +func (m *ParentalStatusInfo) String() string { return proto.CompactTextString(m) } +func (*ParentalStatusInfo) ProtoMessage() {} +func (*ParentalStatusInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{29} +} +func (m *ParentalStatusInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParentalStatusInfo.Unmarshal(m, b) +} +func (m *ParentalStatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParentalStatusInfo.Marshal(b, m, deterministic) +} +func (dst *ParentalStatusInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParentalStatusInfo.Merge(dst, src) +} +func (m *ParentalStatusInfo) XXX_Size() int { + return xxx_messageInfo_ParentalStatusInfo.Size(m) +} +func (m *ParentalStatusInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ParentalStatusInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ParentalStatusInfo proto.InternalMessageInfo + +func (m *ParentalStatusInfo) GetType() enums.ParentalStatusTypeEnum_ParentalStatusType { + if m != nil { + return m.Type + } + return enums.ParentalStatusTypeEnum_UNSPECIFIED +} + +// A YouTube Video criterion. +type YouTubeVideoInfo struct { + // YouTube video id as it appears on the YouTube watch page. + VideoId *wrappers.StringValue `protobuf:"bytes,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *YouTubeVideoInfo) Reset() { *m = YouTubeVideoInfo{} } +func (m *YouTubeVideoInfo) String() string { return proto.CompactTextString(m) } +func (*YouTubeVideoInfo) ProtoMessage() {} +func (*YouTubeVideoInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{30} +} +func (m *YouTubeVideoInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_YouTubeVideoInfo.Unmarshal(m, b) +} +func (m *YouTubeVideoInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_YouTubeVideoInfo.Marshal(b, m, deterministic) +} +func (dst *YouTubeVideoInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_YouTubeVideoInfo.Merge(dst, src) +} +func (m *YouTubeVideoInfo) XXX_Size() int { + return xxx_messageInfo_YouTubeVideoInfo.Size(m) +} +func (m *YouTubeVideoInfo) XXX_DiscardUnknown() { + xxx_messageInfo_YouTubeVideoInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_YouTubeVideoInfo proto.InternalMessageInfo + +func (m *YouTubeVideoInfo) GetVideoId() *wrappers.StringValue { + if m != nil { + return m.VideoId + } + return nil +} + +// A YouTube Channel criterion. +type YouTubeChannelInfo struct { + // The YouTube uploader channel id or the channel code of a YouTube channel. + ChannelId *wrappers.StringValue `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *YouTubeChannelInfo) Reset() { *m = YouTubeChannelInfo{} } +func (m *YouTubeChannelInfo) String() string { return proto.CompactTextString(m) } +func (*YouTubeChannelInfo) ProtoMessage() {} +func (*YouTubeChannelInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{31} +} +func (m *YouTubeChannelInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_YouTubeChannelInfo.Unmarshal(m, b) +} +func (m *YouTubeChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_YouTubeChannelInfo.Marshal(b, m, deterministic) +} +func (dst *YouTubeChannelInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_YouTubeChannelInfo.Merge(dst, src) +} +func (m *YouTubeChannelInfo) XXX_Size() int { + return xxx_messageInfo_YouTubeChannelInfo.Size(m) +} +func (m *YouTubeChannelInfo) XXX_DiscardUnknown() { + xxx_messageInfo_YouTubeChannelInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_YouTubeChannelInfo proto.InternalMessageInfo + +func (m *YouTubeChannelInfo) GetChannelId() *wrappers.StringValue { + if m != nil { + return m.ChannelId + } + return nil +} + +// A User List criterion. Represents a user list that is defined by the +// advertiser to be targeted. +type UserListInfo struct { + // The User List resource name. + UserList *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_list,json=userList,proto3" json:"user_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListInfo) Reset() { *m = UserListInfo{} } +func (m *UserListInfo) String() string { return proto.CompactTextString(m) } +func (*UserListInfo) ProtoMessage() {} +func (*UserListInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{32} +} +func (m *UserListInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListInfo.Unmarshal(m, b) +} +func (m *UserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListInfo.Marshal(b, m, deterministic) +} +func (dst *UserListInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListInfo.Merge(dst, src) +} +func (m *UserListInfo) XXX_Size() int { + return xxx_messageInfo_UserListInfo.Size(m) +} +func (m *UserListInfo) XXX_DiscardUnknown() { + xxx_messageInfo_UserListInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListInfo proto.InternalMessageInfo + +func (m *UserListInfo) GetUserList() *wrappers.StringValue { + if m != nil { + return m.UserList + } + return nil +} + +// A Proximity criterion. The geo point and radius determine what geographical +// area is included. The address is a description of the geo point that does +// not affect ad serving. +// +// There are two ways to create a proximity. First, by setting an address +// and radius. The geo point will be automatically computed. Second, by +// setting a geo point and radius. The address is an optional label that won't +// be validated. +type ProximityInfo struct { + // Latitude and longitude. + GeoPoint *GeoPointInfo `protobuf:"bytes,1,opt,name=geo_point,json=geoPoint,proto3" json:"geo_point,omitempty"` + // The radius of the proximity. + Radius *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=radius,proto3" json:"radius,omitempty"` + // The unit of measurement of the radius. Default is KILOMETERS. + RadiusUnits enums.ProximityRadiusUnitsEnum_ProximityRadiusUnits `protobuf:"varint,3,opt,name=radius_units,json=radiusUnits,proto3,enum=google.ads.googleads.v0.enums.ProximityRadiusUnitsEnum_ProximityRadiusUnits" json:"radius_units,omitempty"` + // Full address. + Address *AddressInfo `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProximityInfo) Reset() { *m = ProximityInfo{} } +func (m *ProximityInfo) String() string { return proto.CompactTextString(m) } +func (*ProximityInfo) ProtoMessage() {} +func (*ProximityInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{33} +} +func (m *ProximityInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProximityInfo.Unmarshal(m, b) +} +func (m *ProximityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProximityInfo.Marshal(b, m, deterministic) +} +func (dst *ProximityInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProximityInfo.Merge(dst, src) +} +func (m *ProximityInfo) XXX_Size() int { + return xxx_messageInfo_ProximityInfo.Size(m) +} +func (m *ProximityInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ProximityInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ProximityInfo proto.InternalMessageInfo + +func (m *ProximityInfo) GetGeoPoint() *GeoPointInfo { + if m != nil { + return m.GeoPoint + } + return nil +} + +func (m *ProximityInfo) GetRadius() *wrappers.DoubleValue { + if m != nil { + return m.Radius + } + return nil +} + +func (m *ProximityInfo) GetRadiusUnits() enums.ProximityRadiusUnitsEnum_ProximityRadiusUnits { + if m != nil { + return m.RadiusUnits + } + return enums.ProximityRadiusUnitsEnum_UNSPECIFIED +} + +func (m *ProximityInfo) GetAddress() *AddressInfo { + if m != nil { + return m.Address + } + return nil +} + +// Geo point for proximity criterion. +type GeoPointInfo struct { + // Micro degrees for the longitude. + LongitudeInMicroDegrees *wrappers.Int32Value `protobuf:"bytes,1,opt,name=longitude_in_micro_degrees,json=longitudeInMicroDegrees,proto3" json:"longitude_in_micro_degrees,omitempty"` + // Micro degrees for the latitude. + LatitudeInMicroDegrees *wrappers.Int32Value `protobuf:"bytes,2,opt,name=latitude_in_micro_degrees,json=latitudeInMicroDegrees,proto3" json:"latitude_in_micro_degrees,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GeoPointInfo) Reset() { *m = GeoPointInfo{} } +func (m *GeoPointInfo) String() string { return proto.CompactTextString(m) } +func (*GeoPointInfo) ProtoMessage() {} +func (*GeoPointInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{34} +} +func (m *GeoPointInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GeoPointInfo.Unmarshal(m, b) +} +func (m *GeoPointInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GeoPointInfo.Marshal(b, m, deterministic) +} +func (dst *GeoPointInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_GeoPointInfo.Merge(dst, src) +} +func (m *GeoPointInfo) XXX_Size() int { + return xxx_messageInfo_GeoPointInfo.Size(m) +} +func (m *GeoPointInfo) XXX_DiscardUnknown() { + xxx_messageInfo_GeoPointInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_GeoPointInfo proto.InternalMessageInfo + +func (m *GeoPointInfo) GetLongitudeInMicroDegrees() *wrappers.Int32Value { + if m != nil { + return m.LongitudeInMicroDegrees + } + return nil +} + +func (m *GeoPointInfo) GetLatitudeInMicroDegrees() *wrappers.Int32Value { + if m != nil { + return m.LatitudeInMicroDegrees + } + return nil +} + +// Address for proximity criterion. +type AddressInfo struct { + // Postal code. + PostalCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` + // Province or state code. + ProvinceCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=province_code,json=provinceCode,proto3" json:"province_code,omitempty"` + // Country code. + CountryCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + // Province or state name. + ProvinceName *wrappers.StringValue `protobuf:"bytes,4,opt,name=province_name,json=provinceName,proto3" json:"province_name,omitempty"` + // Street address line 1. + StreetAddress *wrappers.StringValue `protobuf:"bytes,5,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + // Street address line 2. This field is write-only. It is only used for + // calculating the longitude and latitude of an address when geo_point is + // empty. + StreetAddress2 *wrappers.StringValue `protobuf:"bytes,6,opt,name=street_address2,json=streetAddress2,proto3" json:"street_address2,omitempty"` + // Name of the city. + CityName *wrappers.StringValue `protobuf:"bytes,7,opt,name=city_name,json=cityName,proto3" json:"city_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddressInfo) Reset() { *m = AddressInfo{} } +func (m *AddressInfo) String() string { return proto.CompactTextString(m) } +func (*AddressInfo) ProtoMessage() {} +func (*AddressInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{35} +} +func (m *AddressInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddressInfo.Unmarshal(m, b) +} +func (m *AddressInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddressInfo.Marshal(b, m, deterministic) +} +func (dst *AddressInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddressInfo.Merge(dst, src) +} +func (m *AddressInfo) XXX_Size() int { + return xxx_messageInfo_AddressInfo.Size(m) +} +func (m *AddressInfo) XXX_DiscardUnknown() { + xxx_messageInfo_AddressInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_AddressInfo proto.InternalMessageInfo + +func (m *AddressInfo) GetPostalCode() *wrappers.StringValue { + if m != nil { + return m.PostalCode + } + return nil +} + +func (m *AddressInfo) GetProvinceCode() *wrappers.StringValue { + if m != nil { + return m.ProvinceCode + } + return nil +} + +func (m *AddressInfo) GetCountryCode() *wrappers.StringValue { + if m != nil { + return m.CountryCode + } + return nil +} + +func (m *AddressInfo) GetProvinceName() *wrappers.StringValue { + if m != nil { + return m.ProvinceName + } + return nil +} + +func (m *AddressInfo) GetStreetAddress() *wrappers.StringValue { + if m != nil { + return m.StreetAddress + } + return nil +} + +func (m *AddressInfo) GetStreetAddress2() *wrappers.StringValue { + if m != nil { + return m.StreetAddress2 + } + return nil +} + +func (m *AddressInfo) GetCityName() *wrappers.StringValue { + if m != nil { + return m.CityName + } + return nil +} + +// A topic criterion. Use topics to target or exclude placements in the +// Google Display Network based on the category into which the placement falls +// (for example, "Pets & Animals/Pets/Dogs"). +type TopicInfo struct { + // The Topic Constant resource name. + TopicConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=topic_constant,json=topicConstant,proto3" json:"topic_constant,omitempty"` + // The category to target or exclude. Each subsequent element in the array + // describes a more specific sub-category. For example, + // "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" + // category. + Path []*wrappers.StringValue `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TopicInfo) Reset() { *m = TopicInfo{} } +func (m *TopicInfo) String() string { return proto.CompactTextString(m) } +func (*TopicInfo) ProtoMessage() {} +func (*TopicInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{36} +} +func (m *TopicInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TopicInfo.Unmarshal(m, b) +} +func (m *TopicInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TopicInfo.Marshal(b, m, deterministic) +} +func (dst *TopicInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_TopicInfo.Merge(dst, src) +} +func (m *TopicInfo) XXX_Size() int { + return xxx_messageInfo_TopicInfo.Size(m) +} +func (m *TopicInfo) XXX_DiscardUnknown() { + xxx_messageInfo_TopicInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_TopicInfo proto.InternalMessageInfo + +func (m *TopicInfo) GetTopicConstant() *wrappers.StringValue { + if m != nil { + return m.TopicConstant + } + return nil +} + +func (m *TopicInfo) GetPath() []*wrappers.StringValue { + if m != nil { + return m.Path + } + return nil +} + +// A language criterion. +type LanguageInfo struct { + // The language constant resource name. + LanguageConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=language_constant,json=languageConstant,proto3" json:"language_constant,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LanguageInfo) Reset() { *m = LanguageInfo{} } +func (m *LanguageInfo) String() string { return proto.CompactTextString(m) } +func (*LanguageInfo) ProtoMessage() {} +func (*LanguageInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{37} +} +func (m *LanguageInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LanguageInfo.Unmarshal(m, b) +} +func (m *LanguageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LanguageInfo.Marshal(b, m, deterministic) +} +func (dst *LanguageInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_LanguageInfo.Merge(dst, src) +} +func (m *LanguageInfo) XXX_Size() int { + return xxx_messageInfo_LanguageInfo.Size(m) +} +func (m *LanguageInfo) XXX_DiscardUnknown() { + xxx_messageInfo_LanguageInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_LanguageInfo proto.InternalMessageInfo + +func (m *LanguageInfo) GetLanguageConstant() *wrappers.StringValue { + if m != nil { + return m.LanguageConstant + } + return nil +} + +// An IpBlock criterion used for IP exclusions. We allow: +// - IPv4 and IPv6 addresses +// - individual addresses (192.168.0.1) +// - masks for individual addresses (192.168.0.1/32) +// - masks for Class C networks (192.168.0.1/24) +type IpBlockInfo struct { + // The IP address of this IP block. + IpAddress *wrappers.StringValue `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IpBlockInfo) Reset() { *m = IpBlockInfo{} } +func (m *IpBlockInfo) String() string { return proto.CompactTextString(m) } +func (*IpBlockInfo) ProtoMessage() {} +func (*IpBlockInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{38} +} +func (m *IpBlockInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IpBlockInfo.Unmarshal(m, b) +} +func (m *IpBlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IpBlockInfo.Marshal(b, m, deterministic) +} +func (dst *IpBlockInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_IpBlockInfo.Merge(dst, src) +} +func (m *IpBlockInfo) XXX_Size() int { + return xxx_messageInfo_IpBlockInfo.Size(m) +} +func (m *IpBlockInfo) XXX_DiscardUnknown() { + xxx_messageInfo_IpBlockInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_IpBlockInfo proto.InternalMessageInfo + +func (m *IpBlockInfo) GetIpAddress() *wrappers.StringValue { + if m != nil { + return m.IpAddress + } + return nil +} + +// Content Label for category exclusion. +type ContentLabelInfo struct { + // Content label type, required for CREATE operations. + Type enums.ContentLabelTypeEnum_ContentLabelType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.ContentLabelTypeEnum_ContentLabelType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContentLabelInfo) Reset() { *m = ContentLabelInfo{} } +func (m *ContentLabelInfo) String() string { return proto.CompactTextString(m) } +func (*ContentLabelInfo) ProtoMessage() {} +func (*ContentLabelInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{39} +} +func (m *ContentLabelInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContentLabelInfo.Unmarshal(m, b) +} +func (m *ContentLabelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContentLabelInfo.Marshal(b, m, deterministic) +} +func (dst *ContentLabelInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContentLabelInfo.Merge(dst, src) +} +func (m *ContentLabelInfo) XXX_Size() int { + return xxx_messageInfo_ContentLabelInfo.Size(m) +} +func (m *ContentLabelInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ContentLabelInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ContentLabelInfo proto.InternalMessageInfo + +func (m *ContentLabelInfo) GetType() enums.ContentLabelTypeEnum_ContentLabelType { + if m != nil { + return m.Type + } + return enums.ContentLabelTypeEnum_UNSPECIFIED +} + +// Represents a Carrier Criterion. +type CarrierInfo struct { + // The Carrier constant resource name. + CarrierConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=carrier_constant,json=carrierConstant,proto3" json:"carrier_constant,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CarrierInfo) Reset() { *m = CarrierInfo{} } +func (m *CarrierInfo) String() string { return proto.CompactTextString(m) } +func (*CarrierInfo) ProtoMessage() {} +func (*CarrierInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{40} +} +func (m *CarrierInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CarrierInfo.Unmarshal(m, b) +} +func (m *CarrierInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CarrierInfo.Marshal(b, m, deterministic) +} +func (dst *CarrierInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CarrierInfo.Merge(dst, src) +} +func (m *CarrierInfo) XXX_Size() int { + return xxx_messageInfo_CarrierInfo.Size(m) +} +func (m *CarrierInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CarrierInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_CarrierInfo proto.InternalMessageInfo + +func (m *CarrierInfo) GetCarrierConstant() *wrappers.StringValue { + if m != nil { + return m.CarrierConstant + } + return nil +} + +// Represents a particular interest-based topic to be targeted. +type UserInterestInfo struct { + // The UserInterest resource name. + UserInterestCategory *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_interest_category,json=userInterestCategory,proto3" json:"user_interest_category,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserInterestInfo) Reset() { *m = UserInterestInfo{} } +func (m *UserInterestInfo) String() string { return proto.CompactTextString(m) } +func (*UserInterestInfo) ProtoMessage() {} +func (*UserInterestInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_criteria_9296a1565f76dc58, []int{41} +} +func (m *UserInterestInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserInterestInfo.Unmarshal(m, b) +} +func (m *UserInterestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserInterestInfo.Marshal(b, m, deterministic) +} +func (dst *UserInterestInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserInterestInfo.Merge(dst, src) +} +func (m *UserInterestInfo) XXX_Size() int { + return xxx_messageInfo_UserInterestInfo.Size(m) +} +func (m *UserInterestInfo) XXX_DiscardUnknown() { + xxx_messageInfo_UserInterestInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_UserInterestInfo proto.InternalMessageInfo + +func (m *UserInterestInfo) GetUserInterestCategory() *wrappers.StringValue { + if m != nil { + return m.UserInterestCategory + } + return nil +} + +func init() { + proto.RegisterType((*KeywordInfo)(nil), "google.ads.googleads.v0.common.KeywordInfo") + proto.RegisterType((*PlacementInfo)(nil), "google.ads.googleads.v0.common.PlacementInfo") + proto.RegisterType((*LocationInfo)(nil), "google.ads.googleads.v0.common.LocationInfo") + proto.RegisterType((*DeviceInfo)(nil), "google.ads.googleads.v0.common.DeviceInfo") + proto.RegisterType((*PreferredContentInfo)(nil), "google.ads.googleads.v0.common.PreferredContentInfo") + proto.RegisterType((*ListingGroupInfo)(nil), "google.ads.googleads.v0.common.ListingGroupInfo") + proto.RegisterType((*ListingScopeInfo)(nil), "google.ads.googleads.v0.common.ListingScopeInfo") + proto.RegisterType((*ListingDimensionInfo)(nil), "google.ads.googleads.v0.common.ListingDimensionInfo") + proto.RegisterType((*ListingBrandInfo)(nil), "google.ads.googleads.v0.common.ListingBrandInfo") + proto.RegisterType((*HotelIdInfo)(nil), "google.ads.googleads.v0.common.HotelIdInfo") + proto.RegisterType((*HotelClassInfo)(nil), "google.ads.googleads.v0.common.HotelClassInfo") + proto.RegisterType((*HotelCountryRegionInfo)(nil), "google.ads.googleads.v0.common.HotelCountryRegionInfo") + proto.RegisterType((*HotelStateInfo)(nil), "google.ads.googleads.v0.common.HotelStateInfo") + proto.RegisterType((*HotelCityInfo)(nil), "google.ads.googleads.v0.common.HotelCityInfo") + proto.RegisterType((*ListingCustomAttributeInfo)(nil), "google.ads.googleads.v0.common.ListingCustomAttributeInfo") + proto.RegisterType((*ProductChannelInfo)(nil), "google.ads.googleads.v0.common.ProductChannelInfo") + proto.RegisterType((*ProductChannelExclusivityInfo)(nil), "google.ads.googleads.v0.common.ProductChannelExclusivityInfo") + proto.RegisterType((*ProductConditionInfo)(nil), "google.ads.googleads.v0.common.ProductConditionInfo") + proto.RegisterType((*ProductOfferIdInfo)(nil), "google.ads.googleads.v0.common.ProductOfferIdInfo") + proto.RegisterType((*ProductTypeInfo)(nil), "google.ads.googleads.v0.common.ProductTypeInfo") + proto.RegisterType((*HotelDateSelectionTypeInfo)(nil), "google.ads.googleads.v0.common.HotelDateSelectionTypeInfo") + proto.RegisterType((*HotelAdvanceBookingWindowInfo)(nil), "google.ads.googleads.v0.common.HotelAdvanceBookingWindowInfo") + proto.RegisterType((*HotelLengthOfStayInfo)(nil), "google.ads.googleads.v0.common.HotelLengthOfStayInfo") + proto.RegisterType((*HotelCheckInDayInfo)(nil), "google.ads.googleads.v0.common.HotelCheckInDayInfo") + proto.RegisterType((*InteractionTypeInfo)(nil), "google.ads.googleads.v0.common.InteractionTypeInfo") + proto.RegisterType((*AdScheduleInfo)(nil), "google.ads.googleads.v0.common.AdScheduleInfo") + proto.RegisterType((*AgeRangeInfo)(nil), "google.ads.googleads.v0.common.AgeRangeInfo") + proto.RegisterType((*GenderInfo)(nil), "google.ads.googleads.v0.common.GenderInfo") + proto.RegisterType((*IncomeRangeInfo)(nil), "google.ads.googleads.v0.common.IncomeRangeInfo") + proto.RegisterType((*ParentalStatusInfo)(nil), "google.ads.googleads.v0.common.ParentalStatusInfo") + proto.RegisterType((*YouTubeVideoInfo)(nil), "google.ads.googleads.v0.common.YouTubeVideoInfo") + proto.RegisterType((*YouTubeChannelInfo)(nil), "google.ads.googleads.v0.common.YouTubeChannelInfo") + proto.RegisterType((*UserListInfo)(nil), "google.ads.googleads.v0.common.UserListInfo") + proto.RegisterType((*ProximityInfo)(nil), "google.ads.googleads.v0.common.ProximityInfo") + proto.RegisterType((*GeoPointInfo)(nil), "google.ads.googleads.v0.common.GeoPointInfo") + proto.RegisterType((*AddressInfo)(nil), "google.ads.googleads.v0.common.AddressInfo") + proto.RegisterType((*TopicInfo)(nil), "google.ads.googleads.v0.common.TopicInfo") + proto.RegisterType((*LanguageInfo)(nil), "google.ads.googleads.v0.common.LanguageInfo") + proto.RegisterType((*IpBlockInfo)(nil), "google.ads.googleads.v0.common.IpBlockInfo") + proto.RegisterType((*ContentLabelInfo)(nil), "google.ads.googleads.v0.common.ContentLabelInfo") + proto.RegisterType((*CarrierInfo)(nil), "google.ads.googleads.v0.common.CarrierInfo") + proto.RegisterType((*UserInterestInfo)(nil), "google.ads.googleads.v0.common.UserInterestInfo") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/criteria.proto", fileDescriptor_criteria_9296a1565f76dc58) +} + +var fileDescriptor_criteria_9296a1565f76dc58 = []byte{ + // 2205 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x4f, 0x73, 0x1b, 0x49, + 0x15, 0x47, 0x72, 0xbc, 0xb6, 0x9e, 0x64, 0xc7, 0x99, 0x04, 0xa3, 0x64, 0xd9, 0xad, 0xd4, 0x9c, + 0xb6, 0x80, 0x95, 0x8d, 0x13, 0xc2, 0x92, 0x25, 0x15, 0x64, 0x39, 0xd8, 0x62, 0x9d, 0xc4, 0x2b, + 0x7b, 0x9d, 0xdd, 0x60, 0x98, 0x6d, 0xcf, 0xb4, 0x46, 0x4d, 0x46, 0xdd, 0x53, 0x3d, 0x3d, 0x8e, + 0xc5, 0x85, 0x2a, 0x2e, 0x1c, 0xb9, 0xc3, 0x09, 0x8a, 0x0b, 0x7c, 0x0a, 0x0a, 0x2e, 0x14, 0x1f, + 0x81, 0x4f, 0x43, 0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0x7f, 0x2b, 0x8f, 0x9c, 0xd3, 0x12, + 0xe6, 0x9c, 0x43, 0x6d, 0xac, 0x85, 0xe5, 0x0e, 0x80, 0x57, 0x79, 0x26, 0xb2, 0xb1, 0xc6, 0xde, + 0x98, 0xd6, 0x3d, 0xc8, 0x56, 0x26, 0x27, 0x6d, 0xef, 0x24, 0x07, 0x7f, 0xa9, 0xc0, 0xcd, 0x2b, + 0x4a, 0xf6, 0x4e, 0xbb, 0xf3, 0x35, 0x2c, 0xab, 0x5b, 0x58, 0xc9, 0x3b, 0x4d, 0x2e, 0xe4, 0xa1, + 0x84, 0xe5, 0x47, 0x9c, 0x19, 0x7b, 0x9a, 0xd2, 0xfd, 0x7d, 0x05, 0xee, 0xa9, 0x6f, 0x74, 0x0f, + 0x09, 0x7c, 0x6c, 0x9b, 0x14, 0x59, 0xba, 0xc1, 0xc4, 0x61, 0xfb, 0xa8, 0x20, 0xf2, 0x6c, 0x22, + 0x15, 0x7f, 0xf6, 0x2b, 0x73, 0xce, 0xff, 0x63, 0x05, 0x3e, 0x50, 0x0e, 0xed, 0xe0, 0x02, 0x51, + 0x1f, 0xef, 0x32, 0xf6, 0x86, 0xd0, 0xf0, 0x15, 0xa1, 0x01, 0x7b, 0xab, 0xf2, 0x78, 0x04, 0xab, + 0x43, 0x42, 0xbd, 0x00, 0x8d, 0x92, 0x32, 0x52, 0xba, 0x32, 0x24, 0x74, 0x0f, 0x8d, 0x12, 0x85, + 0x43, 0x97, 0x1a, 0x57, 0x2d, 0x83, 0x43, 0x97, 0x12, 0x27, 0x33, 0xfa, 0xb6, 0xca, 0xe8, 0x10, + 0xd3, 0x50, 0x0c, 0x5e, 0xf6, 0x8f, 0x05, 0xd2, 0x1f, 0xc9, 0x63, 0x00, 0x99, 0x09, 0x25, 0xe1, + 0x40, 0x94, 0xca, 0xa5, 0x36, 0x24, 0xf4, 0x85, 0xf2, 0x56, 0x58, 0x74, 0x69, 0xb1, 0xd5, 0x32, + 0x58, 0x74, 0x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+ 0x4b, 0xcf, 0x23, 0xdd, 0xd5, 0xe9, 0x19, 0x5f, 0x87, 0x41, 0x23, 0xdf, 0xeb, 0x54, 0x1f, 0x7a, + 0x99, 0x5e, 0x98, 0x19, 0x44, 0x4f, 0x61, 0xbf, 0x90, 0x50, 0x5b, 0xa5, 0xa7, 0x5e, 0xf4, 0xea, + 0x7c, 0xfc, 0xe0, 0x3c, 0x83, 0x15, 0x14, 0x04, 0x1c, 0x27, 0x89, 0x91, 0x86, 0xc2, 0xc6, 0x48, + 0x5b, 0xbb, 0xab, 0xe1, 0x5a, 0xac, 0xfb, 0xcf, 0x0a, 0x34, 0xf2, 0x13, 0xe1, 0x7c, 0x09, 0xf7, + 0x22, 0x46, 0x43, 0x22, 0xd2, 0x00, 0x7b, 0x84, 0x7a, 0x43, 0xe2, 0x73, 0xe6, 0x05, 0x38, 0xe4, + 0x18, 0xcf, 0x2d, 0x73, 0x56, 0x85, 0xbe, 0x93, 0xc1, 0xbb, 0xf4, 0xb9, 0x04, 0xef, 0x69, 0xac, + 0x73, 0x0a, 0x77, 0x23, 0x24, 0xae, 0x21, 0xae, 0x16, 0x13, 0x6f, 0x5a, 0xf4, 0x24, 0xaf, 0xfb, + 0xbf, 0x25, 0xa8, 0xe7, 0xc6, 0xe6, 0x3c, 0x81, 0x7a, 0xcc, 0x12, 0x81, 0x22, 0xcf, 0x67, 0x41, + 0xb9, 0xf3, 0x15, 0x68, 0x40, 0x87, 0x05, 0xd8, 0x69, 0xc3, 0x5a, 0xcc, 0xd9, 0x05, 0xa1, 0x3e, + 0xd6, 0x04, 0xd5, 0x12, 0x04, 0x0d, 0x0b, 0x51, 0x14, 0x4f, 0xa1, 0x61, 0xef, 0x67, 0x8a, 0xa1, + 0x4c, 0x77, 0xaf, 0x6e, 0x10, 0x53, 0x39, 0x50, 0x34, 0xc4, 0x66, 0x89, 0x4b, 0xe6, 0xf0, 0x02, + 0x0d, 0xb1, 0xbc, 0x61, 0x25, 0x82, 0x63, 0x2c,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e, 0x2a, 0x15, 0xe2, + 0x4e, 0x9a, 0xe3, 0xeb, 0x18, 0xe4, 0xee, 0xbf, 0x2b, 0xe0, 0xfa, 0x6c, 0x58, 0xa0, 0x9a, 0xbb, + 0x6b, 0xa6, 0xdf, 0x80, 0x8e, 0x24, 0xf5, 0x51, 0xe5, 0xf5, 0x9e, 0x01, 0x84, 0x4c, 0x2e, 0x66, + 0x8b, 0xf1, 0x70, 0x2b, 0xc4, 0x54, 0x05, 0xb6, 0xff, 0x0b, 0x8b, 0x49, 0x72, 0xdd, 0xbf, 0xd4, + 0x3f, 0xd5, 0x7f, 0xfe, 0x5a, 0x5d, 0xda, 0x6f, 0xb7, 0xff, 0x51, 0xfd, 0x70, 0x5f, 0x93, 0xb5, + 0x83, 0xa4, 0xa5, 0x7f, 0xca, 0x5f, 0xa7, 0xdb, 0xad, 0x8e, 0x72, 0xfb, 0xaf, 0x75, 0x38, 0x6b, + 0x07, 0xc9, 0x59, 0xe6, 0x70, 0x76, 0xba, 0x7d, 0xa6, 0x1d, 0xce, 0xdf, 0x53, 0x81, 0x1f, 0xfc, + 0x3f, 0x00, 0x00, 0xff, 0xff, 0xea, 0x0f, 0xf8, 0x73, 0xca, 0x1f, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criterion_category_availability.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criterion_category_availability.pb.go new file mode 100644 index 000000000..169bcbfd4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/criterion_category_availability.pb.go @@ -0,0 +1,257 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/criterion_category_availability.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Information of category availability, per advertising channel. +type CriterionCategoryAvailability struct { + // Channel types and subtypes that are available to the category. + Channel *CriterionCategoryChannelAvailability `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` + // Locales that are available to the category for the channel. + Locale []*CriterionCategoryLocaleAvailability `protobuf:"bytes,2,rep,name=locale,proto3" json:"locale,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionCategoryAvailability) Reset() { *m = CriterionCategoryAvailability{} } +func (m *CriterionCategoryAvailability) String() string { return proto.CompactTextString(m) } +func (*CriterionCategoryAvailability) ProtoMessage() {} +func (*CriterionCategoryAvailability) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_availability_529df28267b0fcc5, []int{0} +} +func (m *CriterionCategoryAvailability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionCategoryAvailability.Unmarshal(m, b) +} +func (m *CriterionCategoryAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionCategoryAvailability.Marshal(b, m, deterministic) +} +func (dst *CriterionCategoryAvailability) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionCategoryAvailability.Merge(dst, src) +} +func (m *CriterionCategoryAvailability) XXX_Size() int { + return xxx_messageInfo_CriterionCategoryAvailability.Size(m) +} +func (m *CriterionCategoryAvailability) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionCategoryAvailability.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionCategoryAvailability proto.InternalMessageInfo + +func (m *CriterionCategoryAvailability) GetChannel() *CriterionCategoryChannelAvailability { + if m != nil { + return m.Channel + } + return nil +} + +func (m *CriterionCategoryAvailability) GetLocale() []*CriterionCategoryLocaleAvailability { + if m != nil { + return m.Locale + } + return nil +} + +// Information of advertising channel type and subtypes a category is available +// in. +type CriterionCategoryChannelAvailability struct { + // Format of the channel availability. Can be ALL_CHANNELS (the rest of the + // fields will not be set), CHANNEL_TYPE (only advertising_channel_type type + // will be set, the category is available to all sub types under it) or + // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + // advertising_channel_sub_type, and include_default_channel_sub_type will all + // be set). + AvailabilityMode enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode `protobuf:"varint,1,opt,name=availability_mode,json=availabilityMode,proto3,enum=google.ads.googleads.v0.enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode" json:"availability_mode,omitempty"` + // Channel type the category is available to. + AdvertisingChannelType enums.AdvertisingChannelTypeEnum_AdvertisingChannelType `protobuf:"varint,2,opt,name=advertising_channel_type,json=advertisingChannelType,proto3,enum=google.ads.googleads.v0.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType" json:"advertising_channel_type,omitempty"` + // Channel subtypes under the channel type the category is available to. + AdvertisingChannelSubType []enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType `protobuf:"varint,3,rep,packed,name=advertising_channel_sub_type,json=advertisingChannelSubType,proto3,enum=google.ads.googleads.v0.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType" json:"advertising_channel_sub_type,omitempty"` + // Whether default channel sub type is included. For example, + // advertising_channel_type being DISPLAY and include_default_channel_sub_type + // being false means that the default display campaign where channel sub type + // is not set is not included in this availability configuration. + IncludeDefaultChannelSubType *wrappers.BoolValue `protobuf:"bytes,4,opt,name=include_default_channel_sub_type,json=includeDefaultChannelSubType,proto3" json:"include_default_channel_sub_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionCategoryChannelAvailability) Reset() { *m = CriterionCategoryChannelAvailability{} } +func (m *CriterionCategoryChannelAvailability) String() string { return proto.CompactTextString(m) } +func (*CriterionCategoryChannelAvailability) ProtoMessage() {} +func (*CriterionCategoryChannelAvailability) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_availability_529df28267b0fcc5, []int{1} +} +func (m *CriterionCategoryChannelAvailability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionCategoryChannelAvailability.Unmarshal(m, b) +} +func (m *CriterionCategoryChannelAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionCategoryChannelAvailability.Marshal(b, m, deterministic) +} +func (dst *CriterionCategoryChannelAvailability) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionCategoryChannelAvailability.Merge(dst, src) +} +func (m *CriterionCategoryChannelAvailability) XXX_Size() int { + return xxx_messageInfo_CriterionCategoryChannelAvailability.Size(m) +} +func (m *CriterionCategoryChannelAvailability) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionCategoryChannelAvailability.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionCategoryChannelAvailability proto.InternalMessageInfo + +func (m *CriterionCategoryChannelAvailability) GetAvailabilityMode() enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode { + if m != nil { + return m.AvailabilityMode + } + return enums.CriterionCategoryChannelAvailabilityModeEnum_UNSPECIFIED +} + +func (m *CriterionCategoryChannelAvailability) GetAdvertisingChannelType() enums.AdvertisingChannelTypeEnum_AdvertisingChannelType { + if m != nil { + return m.AdvertisingChannelType + } + return enums.AdvertisingChannelTypeEnum_UNSPECIFIED +} + +func (m *CriterionCategoryChannelAvailability) GetAdvertisingChannelSubType() []enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType { + if m != nil { + return m.AdvertisingChannelSubType + } + return nil +} + +func (m *CriterionCategoryChannelAvailability) GetIncludeDefaultChannelSubType() *wrappers.BoolValue { + if m != nil { + return m.IncludeDefaultChannelSubType + } + return nil +} + +// Information about which locales a category is available in. +type CriterionCategoryLocaleAvailability struct { + // Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and + // language will be empty), COUNTRY (only country will be set), LANGUAGE (only + // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will + // be set). + AvailabilityMode enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode `protobuf:"varint,1,opt,name=availability_mode,json=availabilityMode,proto3,enum=google.ads.googleads.v0.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode" json:"availability_mode,omitempty"` + // Code of the country. + CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + // Code of the language. + LanguageCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionCategoryLocaleAvailability) Reset() { *m = CriterionCategoryLocaleAvailability{} } +func (m *CriterionCategoryLocaleAvailability) String() string { return proto.CompactTextString(m) } +func (*CriterionCategoryLocaleAvailability) ProtoMessage() {} +func (*CriterionCategoryLocaleAvailability) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_availability_529df28267b0fcc5, []int{2} +} +func (m *CriterionCategoryLocaleAvailability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionCategoryLocaleAvailability.Unmarshal(m, b) +} +func (m *CriterionCategoryLocaleAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionCategoryLocaleAvailability.Marshal(b, m, deterministic) +} +func (dst *CriterionCategoryLocaleAvailability) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionCategoryLocaleAvailability.Merge(dst, src) +} +func (m *CriterionCategoryLocaleAvailability) XXX_Size() int { + return xxx_messageInfo_CriterionCategoryLocaleAvailability.Size(m) +} +func (m *CriterionCategoryLocaleAvailability) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionCategoryLocaleAvailability.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionCategoryLocaleAvailability proto.InternalMessageInfo + +func (m *CriterionCategoryLocaleAvailability) GetAvailabilityMode() enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode { + if m != nil { + return m.AvailabilityMode + } + return enums.CriterionCategoryLocaleAvailabilityModeEnum_UNSPECIFIED +} + +func (m *CriterionCategoryLocaleAvailability) GetCountryCode() *wrappers.StringValue { + if m != nil { + return m.CountryCode + } + return nil +} + +func (m *CriterionCategoryLocaleAvailability) GetLanguageCode() *wrappers.StringValue { + if m != nil { + return m.LanguageCode + } + return nil +} + +func init() { + proto.RegisterType((*CriterionCategoryAvailability)(nil), "google.ads.googleads.v0.common.CriterionCategoryAvailability") + proto.RegisterType((*CriterionCategoryChannelAvailability)(nil), "google.ads.googleads.v0.common.CriterionCategoryChannelAvailability") + proto.RegisterType((*CriterionCategoryLocaleAvailability)(nil), "google.ads.googleads.v0.common.CriterionCategoryLocaleAvailability") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/criterion_category_availability.proto", fileDescriptor_criterion_category_availability_529df28267b0fcc5) +} + +var fileDescriptor_criterion_category_availability_529df28267b0fcc5 = []byte{ + // 574 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xc1, 0x8e, 0xd3, 0x30, + 0x10, 0x86, 0x95, 0x74, 0xb5, 0x48, 0xee, 0xb2, 0x82, 0x1c, 0x50, 0xa9, 0xca, 0xaa, 0x2a, 0x1c, + 0x7a, 0x72, 0xaa, 0x72, 0x04, 0x09, 0xd2, 0x14, 0xed, 0x05, 0x44, 0xd5, 0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xd3, 0x06, 0x0f, 0xf7, 0x98, 0x43, + 0xe7, 0x4b, 0xc3, 0x58, 0x89, 0x43, 0xc7, 0x6a, 0x9b, 0x5f, 0x3f, 0x55, 0xbb, 0x63, 0x77, 0x0c, + 0xd5, 0x33, 0x70, 0x12, 0x71, 0xc5, 0x64, 0x71, 0x39, 0x15, 0xde, 0x6c, 0xdd, 0x99, 0xde, 0x56, + 0x67, 0x2e, 0xa4, 0x20, 0x2c, 0x31, 0xbd, 0x69, 0x97, 0x0a, 0xbf, 0x00, 0x78, 0xe0, 0x36, 0x45, + 0x2c, 0x51, 0x28, 0xc1, 0x86, 0xd0, 0xda, 0x83, 0x70, 0x52, 0x49, 0x0a, 0xc4, 0xe4, 0xb7, 0x05, + 0x06, 0x11, 0x4f, 0x6f, 0x38, 0xf8, 0x93, 0x41, 0xe3, 0x45, 0x35, 0x2b, 0xf2, 0xcc, 0xac, 0xb7, + 0xe5, 0xa7, 0x07, 0x26, 0xbc, 0xc8, 0x01, 0xb9, 0x48, 0xdc, 0x04, 0x33, 0xed, 0xa2, 0xba, 0x52, + 0x33, 0x92, 0xd7, 0x7d, 0x99, 0x9e, 0x98, 0x9f, 0x6f, 0x76, 0xeb, 0xdc, 0xf3, 0xbe, 0xdb, 0x67, + 0xe7, 0x06, 0xe6, 0xc5, 0x39, 0x34, 0xcb, 0x62, 0xb5, 0x18, 0x41, 0x5f, 0x87, 0xfd, 0xa8, 0x02, + 0x96, 0x5e, 0x9c, 0x2f, 0xaf, 0x02, 0x96, 0x8b, 0xd1, 0xd2, 0x04, 0x84, 0xc7, 0x3a, 0xf1, 0xe3, + 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x29, 0xe2, 0xf4, 0x0c, 0x11, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/custom_parameter.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/custom_parameter.pb.go new file mode 100644 index 000000000..df2e0b66d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/custom_parameter.pb.go @@ -0,0 +1,99 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/custom_parameter.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A mapping that can be used by custom parameter tags in a +// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. +type CustomParameter struct { + // The key matching the parameter tag name. + Key *wrappers.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // The value to be substituted. + Value *wrappers.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomParameter) Reset() { *m = CustomParameter{} } +func (m *CustomParameter) String() string { return proto.CompactTextString(m) } +func (*CustomParameter) ProtoMessage() {} +func (*CustomParameter) Descriptor() ([]byte, []int) { + return fileDescriptor_custom_parameter_7e46384f1a98f62b, []int{0} +} +func (m *CustomParameter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomParameter.Unmarshal(m, b) +} +func (m *CustomParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomParameter.Marshal(b, m, deterministic) +} +func (dst *CustomParameter) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomParameter.Merge(dst, src) +} +func (m *CustomParameter) XXX_Size() int { + return xxx_messageInfo_CustomParameter.Size(m) +} +func (m *CustomParameter) XXX_DiscardUnknown() { + xxx_messageInfo_CustomParameter.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomParameter proto.InternalMessageInfo + +func (m *CustomParameter) GetKey() *wrappers.StringValue { + if m != nil { + return m.Key + } + return nil +} + +func (m *CustomParameter) GetValue() *wrappers.StringValue { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*CustomParameter)(nil), "google.ads.googleads.v0.common.CustomParameter") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/custom_parameter.proto", fileDescriptor_custom_parameter_7e46384f1a98f62b) +} + +var fileDescriptor_custom_parameter_7e46384f1a98f62b = []byte{ + // 265 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x4a, 0xc4, 0x40, + 0x10, 0x86, 0x49, 0x0e, 0x2d, 0xd6, 0x42, 0x08, 0x16, 0x87, 0xc8, 0x21, 0x57, 0x59, 0xcd, 0x86, + 0x13, 0x2b, 0xab, 0xdc, 0x09, 0xd7, 0x06, 0x85, 0x14, 0x12, 0x90, 0xbd, 0x64, 0x5d, 0x0e, 0xb3, + 0x99, 0x65, 0x37, 0x89, 0xf8, 0x3a, 0x96, 0x3e, 0xca, 0x3d, 0x95, 0xec, 0x4e, 0x72, 0x85, 0xa0, + 0x58, 0xe5, 0x0f, 0xfb, 0xfd, 0xdf, 0x0c, 0xc3, 0xee, 0x14, 0xa2, 0x6a, 0x24, 0x17, 0xb5, 0xe3, + 0x14, 0x7d, 0x1a, 0x52, 0x5e, 0xa1, 0xd6, 0xd8, 0xf2, 0xaa, 0x77, 0x1d, 0xea, 0x17, 0x23, 0xac, + 0xd0, 0xb2, 0x93, 0x16, 0x8c, 0xc5, 0x0e, 0x93, 0x05, 0xb1, 0x20, 0x6a, 0x07, 0xc7, 0x1a, 0x0c, + 0x29, 0x50, 0xed, 0x72, 0x7c, 0xe7, 0x81, 0xde, 0xf5, 0xaf, 0xfc, 0xdd, 0x0a, 0x63, 0xa4, 0x75, + 0xd4, 0x5f, 0xf6, 0xec, 0x7c, 0x13, 0xcc, 0xf9, 0x24, 0x4e, 0x80, 0xcd, 0xde, 0xe4, 0xc7, 0x3c, + 0xba, 0x8e, 0x6e, 0xce, 0x56, 0x57, 0xa3, 0x15, 0x26, 0x01, 0x3c, 0x75, 0x76, 0xdf, 0xaa, 0x42, + 0x34, 0xbd, 0x7c, 0xf4, 0x60, 0xb2, 0x62, 0x27, 0x83, 0xff, 0x9b, 0xc7, 0xff, 0x68, 0x10, 0xba, + 0x3e, 0x44, 0x6c, 0x59, 0xa1, 0x86, 0xbf, 0xb7, 0x5f, 0x5f, 0xfc, 0xd8, 0x2d, 0xf7, 0xca, 0x3c, + 0x7a, 0x7e, 0x18, 0x7b, 0x0a, 0x1b, 0xd1, 0x2a, 0x40, 0xab, 0xb8, 0x92, 0x6d, 0x18, 0x38, 0x1d, + 0xcf, 0xec, 0xdd, 0x6f, 0xb7, 0xbc, 0xa7, 0xcf, 0x67, 0x3c, 0xdb, 0x66, 0xd9, 0x57, 0xbc, 0xd8, + 0x92, 0x2c, 0xab, 0x1d, 0x50, 0xf4, 0xa9, 0x48, 0x61, 0x13, 0xb0, 0xc3, 0x04, 0x94, 0x59, 0xed, + 0xca, 0x23, 0x50, 0x16, 0x69, 0x49, 0xc0, 0xee, 0x34, 0x0c, 0xbe, 0xfd, 0x0e, 0x00, 0x00, 0xff, + 0xff, 0xc3, 0x33, 0x4d, 0xc8, 0xc3, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/dates.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/dates.pb.go new file mode 100644 index 000000000..06162f96a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/dates.pb.go @@ -0,0 +1,98 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/dates.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A date range. +type DateRange struct { + // The start date, in yyyy-mm-dd format. + StartDate *wrappers.StringValue `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` + // The end date, in yyyy-mm-dd format. + EndDate *wrappers.StringValue `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DateRange) Reset() { *m = DateRange{} } +func (m *DateRange) String() string { return proto.CompactTextString(m) } +func (*DateRange) ProtoMessage() {} +func (*DateRange) Descriptor() ([]byte, []int) { + return fileDescriptor_dates_68fc4d867dec9fcb, []int{0} +} +func (m *DateRange) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateRange.Unmarshal(m, b) +} +func (m *DateRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateRange.Marshal(b, m, deterministic) +} +func (dst *DateRange) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateRange.Merge(dst, src) +} +func (m *DateRange) XXX_Size() int { + return xxx_messageInfo_DateRange.Size(m) +} +func (m *DateRange) XXX_DiscardUnknown() { + xxx_messageInfo_DateRange.DiscardUnknown(m) +} + +var xxx_messageInfo_DateRange proto.InternalMessageInfo + +func (m *DateRange) GetStartDate() *wrappers.StringValue { + if m != nil { + return m.StartDate + } + return nil +} + +func (m *DateRange) GetEndDate() *wrappers.StringValue { + if m != nil { + return m.EndDate + } + return nil +} + +func init() { + proto.RegisterType((*DateRange)(nil), "google.ads.googleads.v0.common.DateRange") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/dates.proto", fileDescriptor_dates_68fc4d867dec9fcb) +} + +var fileDescriptor_dates_68fc4d867dec9fcb = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x03, 0x31, + 0x18, 0x86, 0xc9, 0x09, 0x6a, 0xe3, 0x76, 0x93, 0x88, 0x14, 0xe9, 0x24, 0x0e, 0x5f, 0x0e, 0x1d, + 0x1c, 0x3a, 0x5d, 0x2d, 0x74, 0x2d, 0x15, 0x6e, 0x90, 0x03, 0x49, 0x9b, 0xcf, 0x50, 0xb8, 0xcb, + 0x77, 0x24, 0x69, 0x9d, 0xfd, 0x2b, 0x8e, 0xfe, 0x0a, 0x67, 0x7f, 0x95, 0x24, 0xb9, 0xeb, 0xa6, + 0x74, 0xba, 0x17, 0xee, 0x79, 0x9f, 0x97, 0x7c, 0xfc, 0x4e, 0x13, 0xe9, 0x06, 0x85, 0x54, 0x4e, + 0xa4, 0x18, 0xd2, 0xbe, 0x10, 0x1b, 0x6a, 0x5b, 0x32, 0x42, 0x49, 0x8f, 0x0e, 0x3a, 0x4b, 0x9e, + 0xf2, 0x71, 0x02, 0x40, 0x2a, 0x07, 0x07, 0x16, 0xf6, 0x05, 0x24, 0xf6, 0xaa, 0xff, 0x2f, 0x22, + 0xbd, 0xde, 0xbd, 0x89, 0x77, 0x2b, 0xbb, 0x0e, 0x6d, 0xdf, 0x9f, 0x7c, 0x30, 0x3e, 0x9a, 0x4b, + 0x8f, 0x2b, 0x69, 0x34, 0xe6, 0x53, 0xce, 0x9d, 0x97, 0xd6, 0xbf, 0x86, 0x89, 0x4b, 0x76, 0xc3, + 0x6e, 0x2f, 0xee, 0xaf, 0x7b, 0x2f, 0x0c, 0x0a, 0x78, 0xf6, 0x76, 0x6b, 0x74, 0x25, 0x9b, 0x1d, + 0xae, 0x46, 0x91, 0x0f, 0x86, 0xfc, 0x91, 0x9f, 0xa3, 0x51, 0xa9, 0x9a, 0x1d, 0x51, 0x3d, 0x43, + 0xa3, 0x42, 0x71, 0xf6, 0xcd, 0xf8, 0x64, 0x43, 0x2d, 0xfc, 0xff, 0x94, 0x19, 0x0f, 0xb0, 0x5b, + 0x06, 0xd5, 0x92, 0xbd, 0xcc, 0x7b, 0x5a, 0x53, 0x23, 0x8d, 0x06, 0xb2, 0x5a, 0x68, 0x34, 0x71, + 0x68, 0x38, 0x5a, 0xb7, 0x75, 0x7f, 0xdd, 0x70, 0x9a, 0x3e, 0x9f, 0xd9, 0xc9, 0xa2, 0x2c, 0xbf, + 0xb2, 0xf1, 0x22, 0xc9, 0x4a, 0xe5, 0x20, 0xc5, 0x90, 0xaa, 0x02, 0x9e, 0x22, 0xf6, 0x33, 0x00, + 0x75, 0xa9, 0x5c, 0x7d, 0x00, 0xea, 0xaa, 0xa8, 0x13, 0xb0, 0x3e, 0x8d, 0xc3, 0x0f, 0xbf, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x29, 0x33, 0x41, 0x4f, 0xbb, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/explorer_auto_optimizer_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/explorer_auto_optimizer_setting.pb.go new file mode 100644 index 000000000..09412cf76 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/explorer_auto_optimizer_setting.pb.go @@ -0,0 +1,92 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/explorer_auto_optimizer_setting.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Settings for the +// +// Display Campaign Optimizer, initially termed "Explorer". +type ExplorerAutoOptimizerSetting struct { + // Indicates whether the optimizer is turned on. + OptIn *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_in,json=optIn,proto3" json:"opt_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExplorerAutoOptimizerSetting) Reset() { *m = ExplorerAutoOptimizerSetting{} } +func (m *ExplorerAutoOptimizerSetting) String() string { return proto.CompactTextString(m) } +func (*ExplorerAutoOptimizerSetting) ProtoMessage() {} +func (*ExplorerAutoOptimizerSetting) Descriptor() ([]byte, []int) { + return fileDescriptor_explorer_auto_optimizer_setting_f844f2dcfafe2751, []int{0} +} +func (m *ExplorerAutoOptimizerSetting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExplorerAutoOptimizerSetting.Unmarshal(m, b) +} +func (m *ExplorerAutoOptimizerSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExplorerAutoOptimizerSetting.Marshal(b, m, deterministic) +} +func (dst *ExplorerAutoOptimizerSetting) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExplorerAutoOptimizerSetting.Merge(dst, src) +} +func (m *ExplorerAutoOptimizerSetting) XXX_Size() int { + return xxx_messageInfo_ExplorerAutoOptimizerSetting.Size(m) +} +func (m *ExplorerAutoOptimizerSetting) XXX_DiscardUnknown() { + xxx_messageInfo_ExplorerAutoOptimizerSetting.DiscardUnknown(m) +} + +var xxx_messageInfo_ExplorerAutoOptimizerSetting proto.InternalMessageInfo + +func (m *ExplorerAutoOptimizerSetting) GetOptIn() *wrappers.BoolValue { + if m != nil { + return m.OptIn + } + return nil +} + +func init() { + proto.RegisterType((*ExplorerAutoOptimizerSetting)(nil), "google.ads.googleads.v0.common.ExplorerAutoOptimizerSetting") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/explorer_auto_optimizer_setting.proto", fileDescriptor_explorer_auto_optimizer_setting_f844f2dcfafe2751) +} + +var fileDescriptor_explorer_auto_optimizer_setting_f844f2dcfafe2751 = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xf3, 0x30, + 0x14, 0x85, 0x95, 0xfe, 0xfa, 0x3b, 0x84, 0xad, 0x13, 0xaa, 0x50, 0x05, 0x9d, 0x98, 0xae, 0x03, + 0x8c, 0x4c, 0x0e, 0xa0, 0x8a, 0x89, 0x02, 0x52, 0x06, 0x14, 0x29, 0x72, 0x1b, 0x63, 0x59, 0x72, + 0x7c, 0x2d, 0xdb, 0x29, 0x88, 0xc7, 0x61, 0xe4, 0x51, 0x78, 0x01, 0x5e, 0x07, 0x25, 0x37, 0xe9, + 0x46, 0xa7, 0x1c, 0x29, 0xe7, 0x7e, 0x9f, 0x75, 0xd2, 0x5b, 0x85, 0xa8, 0x8c, 0x64, 0xa2, 0x0e, + 0x8c, 0x62, 0x97, 0x76, 0x19, 0xdb, 0x62, 0xd3, 0xa0, 0x65, 0xf2, 0xdd, 0x19, 0xf4, 0xd2, 0x57, + 0xa2, 0x8d, 0x58, 0xa1, 0x8b, 0xba, 0xd1, 0x1f, 0xd2, 0x57, 0x41, 0xc6, 0xa8, 0xad, 0x02, 0xe7, + 0x31, 0xe2, 0x6c, 0x41, 0xa7, 0x20, 0xea, 0x00, 0x7b, 0x0a, 0xec, 0x32, 0x20, 0xca, 0x7c, 0xf8, + 0xcf, 0xfa, 0xf6, 0xa6, 0x7d, 0x65, 0x6f, 0x5e, 0x38, 0x27, 0x7d, 0xa0, 0xfb, 0xe5, 0x63, 0x7a, + 0x72, 0x37, 0x88, 0x78, 0x1b, 0xf1, 0x61, 0xd4, 0x3c, 0x93, 0x65, 0x76, 0x91, 0x4e, 0xd1, 0xc5, + 0x4a, 0xdb, 0xe3, 0xe4, 0x34, 0x39, 0x3f, 0xba, 0x9c, 0x0f, 0x16, 0x18, 0x81, 0x90, 0x23, 0x9a, + 0x42, 0x98, 0x56, 0x3e, 0xfd, 0x47, 0x17, 0xef, 0x6d, 0xfe, 0x93, 0xa4, 0xcb, 0x2d, 0x36, 0x70, + 0xf8, 0x65, 0xf9, 0xd9, 0x21, 0xef, 0xba, 0xa3, 0xaf, 0x93, 0x97, 0x61, 0x24, 0x50, 0x68, 0x84, + 0x55, 0x80, 0x5e, 0x31, 0x25, 0x6d, 0xef, 0x1e, 0x47, 0x73, 0x3a, 0xfc, 0xb5, 0xe1, 0x35, 0x7d, + 0x3e, 0x27, 0xff, 0x56, 0x9c, 0x7f, 0x4d, 0x16, 0x2b, 0x82, 0xf1, 0x3a, 0x00, 0xc5, 0x2e, 0x15, + 0x19, 0xdc, 0xf4, 0xb5, 0xef, 0xb1, 0x50, 0xf2, 0x3a, 0x94, 0xfb, 0x42, 0x59, 0x64, 0x25, 0x15, + 0x36, 0xd3, 0x5e, 0x7c, 0xf5, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x15, 0xed, 0xa1, 0xbb, 0xbb, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/feed_common.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/feed_common.pb.go new file mode 100644 index 000000000..fd8004170 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/feed_common.pb.go @@ -0,0 +1,100 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/feed_common.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents a price in a particular currency. +type Price struct { + // Three-character ISO 4217 currency code. + CurrencyCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` + // Amount in micros. One million is equivalent to one unit. + AmountMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=amount_micros,json=amountMicros,proto3" json:"amount_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Price) Reset() { *m = Price{} } +func (m *Price) String() string { return proto.CompactTextString(m) } +func (*Price) ProtoMessage() {} +func (*Price) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_common_3c465e0e5062e040, []int{0} +} +func (m *Price) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Price.Unmarshal(m, b) +} +func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Price.Marshal(b, m, deterministic) +} +func (dst *Price) XXX_Merge(src proto.Message) { + xxx_messageInfo_Price.Merge(dst, src) +} +func (m *Price) XXX_Size() int { + return xxx_messageInfo_Price.Size(m) +} +func (m *Price) XXX_DiscardUnknown() { + xxx_messageInfo_Price.DiscardUnknown(m) +} + +var xxx_messageInfo_Price proto.InternalMessageInfo + +func (m *Price) GetCurrencyCode() *wrappers.StringValue { + if m != nil { + return m.CurrencyCode + } + return nil +} + +func (m *Price) GetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.AmountMicros + } + return nil +} + +func init() { + proto.RegisterType((*Price)(nil), "google.ads.googleads.v0.common.Price") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/feed_common.proto", fileDescriptor_feed_common_3c465e0e5062e040) +} + +var fileDescriptor_feed_common_3c465e0e5062e040 = []byte{ + // 294 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, + 0x14, 0x85, 0x49, 0x7f, 0x7e, 0x17, 0xd1, 0x22, 0x74, 0x55, 0x54, 0x8a, 0x74, 0xe5, 0x6a, 0x26, + 0xa8, 0xb8, 0x71, 0x63, 0x5a, 0xb1, 0xb8, 0x10, 0x82, 0x42, 0x16, 0x12, 0x08, 0xd3, 0x99, 0xdb, + 0x21, 0x90, 0xcc, 0x0d, 0x33, 0x49, 0xc5, 0x77, 0xf0, 0x29, 0x5c, 0xfa, 0x1e, 0x6e, 0x7c, 0x2a, + 0xc9, 0xdc, 0xa4, 0x1b, 0xd1, 0x55, 0x0e, 0xe4, 0x7c, 0xdf, 0x61, 0x6e, 0x18, 0x69, 0x44, 0x5d, + 0x02, 0x17, 0xca, 0x71, 0x8a, 0x5d, 0xda, 0x46, 0x5c, 0x62, 0x55, 0xa1, 0xe1, 0x1b, 0x00, 0x95, + 0x53, 0x66, 0xb5, 0xc5, 0x06, 0x27, 0x33, 0xaa, 0x31, 0xa1, 0x1c, 0xdb, 0x11, 0x6c, 0x1b, 0x31, + 0x6a, 0x1d, 0xf5, 0xff, 0xb9, 0x6f, 0xaf, 0xdb, 0x0d, 0x7f, 0xb1, 0xa2, 0xae, 0xc1, 0x3a, 0xe2, + 0xe7, 0x6f, 0x41, 0xf8, 0x3f, 0xb1, 0x85, 0x84, 0x49, 0x1c, 0x8e, 0x65, 0x6b, 0x2d, 0x18, 0xf9, + 0x9a, 0x4b, 0x54, 0x30, 0x0d, 0x4e, 0x83, 0xb3, 0xfd, 0xf3, 0x93, 0x5e, 0xcb, 0x06, 0x03, 0x7b, + 0x6a, 0x6c, 0x61, 0x74, 0x2a, 0xca, 0x16, 0x1e, 0x0f, 0x06, 0x64, 0x89, 0x0a, 0x26, 0x37, 0xe1, + 0x58, 0x54, 0xd8, 0x9a, 0x26, 0xaf, 0x0a, 0x69, 0xd1, 0x4d, 0x47, 0x5e, 0x71, 0xfc, 0x43, 0x71, + 0x6f, 0x9a, 0xab, 0xcb, 0xde, 0x40, 0xc4, 0x83, 0x07, 0x16, 0x9f, 0x41, 0x38, 0x97, 0x58, 0xb1, + 0xbf, 0x5f, 0xb5, 0x38, 0xbc, 0x03, 0x50, 0x4b, 0x9f, 0x93, 0xce, 0x99, 0x04, 0xcf, 0xb7, 0x3d, + 0xa2, 0xb1, 0x14, 0x46, 0x33, 0xb4, 0x9a, 0x6b, 0x30, 0x7e, 0x71, 0x38, 0x65, 0x5d, 0xb8, 0xdf, + 0x2e, 0x7b, 0x4d, 0x9f, 0xf7, 0xd1, 0xbf, 0x55, 0x1c, 0x7f, 0x8c, 0x66, 0x2b, 0x92, 0xc5, 0xca, + 0x31, 0x8a, 0x5d, 0x4a, 0x23, 0x46, 0x9b, 0x5f, 0x43, 0x21, 0x8b, 0x95, 0xcb, 0x76, 0x85, 0x2c, + 0x8d, 0x32, 0x2a, 0xac, 0xf7, 0xfc, 0xf0, 0xc5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x3c, + 0x7c, 0x9a, 0xd1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/frequency_cap.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/frequency_cap.pb.go new file mode 100644 index 000000000..a32d726d9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/frequency_cap.pb.go @@ -0,0 +1,181 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/frequency_cap.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A rule specifying the maximum number of times an ad (or some set of ads) can +// be shown to a user over a particular time period. +type FrequencyCapEntry struct { + // The key of a particular frequency cap. There can be no more + // than one frequency cap with the same key. + Key *FrequencyCapKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Maximum number of events allowed during the time range by this cap. + Cap *wrappers.Int32Value `protobuf:"bytes,2,opt,name=cap,proto3" json:"cap,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrequencyCapEntry) Reset() { *m = FrequencyCapEntry{} } +func (m *FrequencyCapEntry) String() string { return proto.CompactTextString(m) } +func (*FrequencyCapEntry) ProtoMessage() {} +func (*FrequencyCapEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_753d8e89250afc52, []int{0} +} +func (m *FrequencyCapEntry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrequencyCapEntry.Unmarshal(m, b) +} +func (m *FrequencyCapEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrequencyCapEntry.Marshal(b, m, deterministic) +} +func (dst *FrequencyCapEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrequencyCapEntry.Merge(dst, src) +} +func (m *FrequencyCapEntry) XXX_Size() int { + return xxx_messageInfo_FrequencyCapEntry.Size(m) +} +func (m *FrequencyCapEntry) XXX_DiscardUnknown() { + xxx_messageInfo_FrequencyCapEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_FrequencyCapEntry proto.InternalMessageInfo + +func (m *FrequencyCapEntry) GetKey() *FrequencyCapKey { + if m != nil { + return m.Key + } + return nil +} + +func (m *FrequencyCapEntry) GetCap() *wrappers.Int32Value { + if m != nil { + return m.Cap + } + return nil +} + +// A group of fields used as keys for a frequency cap. +// There can be no more than one frequency cap with the same key. +type FrequencyCapKey struct { + // The level on which the cap is to be applied (e.g. ad group ad, ad group). + // The cap is applied to all the entities of this level. + Level enums.FrequencyCapLevelEnum_FrequencyCapLevel `protobuf:"varint,1,opt,name=level,proto3,enum=google.ads.googleads.v0.enums.FrequencyCapLevelEnum_FrequencyCapLevel" json:"level,omitempty"` + // The type of event that the cap applies to (e.g. impression). + EventType enums.FrequencyCapEventTypeEnum_FrequencyCapEventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=google.ads.googleads.v0.enums.FrequencyCapEventTypeEnum_FrequencyCapEventType" json:"event_type,omitempty"` + // Unit of time the cap is defined at (e.g. day, week). + TimeUnit enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit `protobuf:"varint,2,opt,name=time_unit,json=timeUnit,proto3,enum=google.ads.googleads.v0.enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit" json:"time_unit,omitempty"` + // Number of time units the cap lasts. + TimeLength *wrappers.Int32Value `protobuf:"bytes,4,opt,name=time_length,json=timeLength,proto3" json:"time_length,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrequencyCapKey) Reset() { *m = FrequencyCapKey{} } +func (m *FrequencyCapKey) String() string { return proto.CompactTextString(m) } +func (*FrequencyCapKey) ProtoMessage() {} +func (*FrequencyCapKey) Descriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_753d8e89250afc52, []int{1} +} +func (m *FrequencyCapKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrequencyCapKey.Unmarshal(m, b) +} +func (m *FrequencyCapKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrequencyCapKey.Marshal(b, m, deterministic) +} +func (dst *FrequencyCapKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrequencyCapKey.Merge(dst, src) +} +func (m *FrequencyCapKey) XXX_Size() int { + return xxx_messageInfo_FrequencyCapKey.Size(m) +} +func (m *FrequencyCapKey) XXX_DiscardUnknown() { + xxx_messageInfo_FrequencyCapKey.DiscardUnknown(m) +} + +var xxx_messageInfo_FrequencyCapKey proto.InternalMessageInfo + +func (m *FrequencyCapKey) GetLevel() enums.FrequencyCapLevelEnum_FrequencyCapLevel { + if m != nil { + return m.Level + } + return enums.FrequencyCapLevelEnum_UNSPECIFIED +} + +func (m *FrequencyCapKey) GetEventType() enums.FrequencyCapEventTypeEnum_FrequencyCapEventType { + if m != nil { + return m.EventType + } + return enums.FrequencyCapEventTypeEnum_UNSPECIFIED +} + +func (m *FrequencyCapKey) GetTimeUnit() enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit { + if m != nil { + return m.TimeUnit + } + return enums.FrequencyCapTimeUnitEnum_UNSPECIFIED +} + +func (m *FrequencyCapKey) GetTimeLength() *wrappers.Int32Value { + if m != nil { + return m.TimeLength + } + return nil +} + +func init() { + proto.RegisterType((*FrequencyCapEntry)(nil), "google.ads.googleads.v0.common.FrequencyCapEntry") + proto.RegisterType((*FrequencyCapKey)(nil), "google.ads.googleads.v0.common.FrequencyCapKey") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/frequency_cap.proto", fileDescriptor_frequency_cap_753d8e89250afc52) +} + +var fileDescriptor_frequency_cap_753d8e89250afc52 = []byte{ + // 432 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08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e, 0x12, 0x87, 0xa3, 0x2b, 0x8b, 0x7a, 0xd7, 0xa5, 0x3c, 0xb3, 0x8f, 0xef, 0x33, 0xf7, 0x3a, + 0x0c, 0x7f, 0xcc, 0x4e, 0xae, 0xad, 0x59, 0x98, 0xd5, 0xd8, 0x42, 0x8d, 0xd6, 0x3e, 0xbe, 0x34, + 0xb4, 0x5f, 0x03, 0x21, 0x0e, 0xb3, 0x3a, 0x1e, 0x09, 0xf1, 0xda, 0x8f, 0x2d, 0xe1, 0xee, 0x91, + 0x09, 0x3e, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x51, 0x58, 0xef, 0xf8, 0x0c, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/keyword_plan_common.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/keyword_plan_common.pb.go new file mode 100644 index 000000000..4cdbb4ec5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/keyword_plan_common.pb.go @@ -0,0 +1,105 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/keyword_plan_common.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Historical metrics. +type KeywordPlanHistoricalMetrics struct { + // Average monthly searches for the past 12 months. + AvgMonthlySearches *wrappers.Int64Value `protobuf:"bytes,1,opt,name=avg_monthly_searches,json=avgMonthlySearches,proto3" json:"avg_monthly_searches,omitempty"` + // The competition level for the query. + Competition enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel `protobuf:"varint,2,opt,name=competition,proto3,enum=google.ads.googleads.v0.enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel" json:"competition,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanHistoricalMetrics) Reset() { *m = KeywordPlanHistoricalMetrics{} } +func (m *KeywordPlanHistoricalMetrics) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanHistoricalMetrics) ProtoMessage() {} +func (*KeywordPlanHistoricalMetrics) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_common_f1ae42b0d746bad1, []int{0} +} +func (m *KeywordPlanHistoricalMetrics) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanHistoricalMetrics.Unmarshal(m, b) +} +func (m *KeywordPlanHistoricalMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanHistoricalMetrics.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanHistoricalMetrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanHistoricalMetrics.Merge(dst, src) +} +func (m *KeywordPlanHistoricalMetrics) XXX_Size() int { + return xxx_messageInfo_KeywordPlanHistoricalMetrics.Size(m) +} +func (m *KeywordPlanHistoricalMetrics) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanHistoricalMetrics.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanHistoricalMetrics proto.InternalMessageInfo + +func (m *KeywordPlanHistoricalMetrics) GetAvgMonthlySearches() *wrappers.Int64Value { + if m != nil { + return m.AvgMonthlySearches + } + return nil +} + +func (m *KeywordPlanHistoricalMetrics) GetCompetition() enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel { + if m != nil { + return m.Competition + } + return enums.KeywordPlanCompetitionLevelEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*KeywordPlanHistoricalMetrics)(nil), "google.ads.googleads.v0.common.KeywordPlanHistoricalMetrics") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/keyword_plan_common.proto", fileDescriptor_keyword_plan_common_f1ae42b0d746bad1) +} + +var fileDescriptor_keyword_plan_common_f1ae42b0d746bad1 = []byte{ + // 354 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcd, 0x4a, 0xeb, 0x40, + 0x14, 0x26, 0xbd, 0x70, 0x17, 0x29, 0xdc, 0x45, 0xb8, 0x48, 0xa9, 0x52, 0x4a, 0x57, 0x5d, 0xcd, + 0x84, 0x2a, 0x22, 0xb8, 0x4a, 0x55, 0xaa, 0x68, 0xa1, 0x54, 0xe8, 0xa2, 0x04, 0xc2, 0x34, 0x19, + 0xa7, 0xc1, 0x99, 0x39, 0x61, 0x66, 0x92, 0x52, 0xf0, 0x69, 0x5c, 0xfa, 0x28, 0xe2, 0x9b, 0xf8, + 0x12, 0x92, 0x4c, 0x5a, 0x2b, 0xd2, 0xae, 0xf2, 0x25, 0xf3, 0xfd, 0x9c, 0xef, 0x64, 0xdc, 0x0b, + 0x06, 0xc0, 0x38, 0xc5, 0x24, 0xd1, 0xd8, 0xc2, 0x12, 0x15, 0x3e, 0x8e, 0x41, 0x08, 0x90, 0xf8, + 0x99, 0xae, 0x57, 0xa0, 0x92, 0x28, 0xe3, 0x44, 0x46, 0xf6, 0x1b, 0xca, 0x14, 0x18, 0xf0, 0x3a, + 0x96, 0x8e, 0x48, 0xa2, 0xd1, 0x56, 0x89, 0x0a, 0x1f, 0x59, 0x56, 0x7b, 0xb8, 0xcf, 0x99, 0xca, + 0x5c, 0xe8, 0x5f, 0xc6, 0x19, 0x35, 0xa9, 0x49, 0x41, 0x46, 0x9c, 0x16, 0x94,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x43, 0x08, 0x83, 0x44, 0x87, 0x5b, 0x42, 0x38, 0xf3, 0x43, 0x4b, 0x58, + 0xfc, 0xad, 0x82, 0x4f, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x86, 0x43, 0x77, 0x3f, 0x83, 0x02, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/matching_function.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/matching_function.pb.go new file mode 100644 index 000000000..a5d07719b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/matching_function.pb.go @@ -0,0 +1,106 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/matching_function.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Matching function associated with a +// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used +// to filter the set of feed items selected. +type MatchingFunction struct { + // String representation of the Function. + // + // Examples: + // 1) IDENTITY(true) or IDENTITY(false). All or none feed items serve. + // 2) EQUALS(CONTEXT.DEVICE,"Mobile") + // 3) IN(FEED_ITEM_ID,{1000001,1000002,1000003}) + // 4) CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) + // 5) AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) + // See + // https: + // //developers.google.com/adwords/api/docs/guides/feed-matching-functions + // + // Note that because multiple strings may represent the same underlying + // function (whitespace and single versus double quotation marks, for + // example), the value returned may not be identical to the string sent in a + // mutate request. + FunctionString *wrappers.StringValue `protobuf:"bytes,1,opt,name=function_string,json=functionString,proto3" json:"function_string,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MatchingFunction) Reset() { *m = MatchingFunction{} } +func (m *MatchingFunction) String() string { return proto.CompactTextString(m) } +func (*MatchingFunction) ProtoMessage() {} +func (*MatchingFunction) Descriptor() ([]byte, []int) { + return fileDescriptor_matching_function_ced7df2e67441782, []int{0} +} +func (m *MatchingFunction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MatchingFunction.Unmarshal(m, b) +} +func (m *MatchingFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MatchingFunction.Marshal(b, m, deterministic) +} +func (dst *MatchingFunction) XXX_Merge(src proto.Message) { + xxx_messageInfo_MatchingFunction.Merge(dst, src) +} +func (m *MatchingFunction) XXX_Size() int { + return xxx_messageInfo_MatchingFunction.Size(m) +} +func (m *MatchingFunction) XXX_DiscardUnknown() { + xxx_messageInfo_MatchingFunction.DiscardUnknown(m) +} + +var xxx_messageInfo_MatchingFunction proto.InternalMessageInfo + +func (m *MatchingFunction) GetFunctionString() *wrappers.StringValue { + if m != nil { + return m.FunctionString + } + return nil +} + +func init() { + proto.RegisterType((*MatchingFunction)(nil), "google.ads.googleads.v0.common.MatchingFunction") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/matching_function.proto", fileDescriptor_matching_function_ced7df2e67441782) +} + +var fileDescriptor_matching_function_ced7df2e67441782 = []byte{ + // 261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x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c, 0x21, 0x86, 0x39, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, 0x56, 0x98, 0x81, 0x9e, 0x33, + 0x58, 0xd9, 0x29, 0x98, 0x82, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x82, 0x98, 0x30, 0x83, 0x18, + 0x88, 0x82, 0x24, 0x36, 0xb0, 0xc5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x1d, 0x10, + 0x51, 0xa9, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/metrics.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/metrics.pb.go new file mode 100644 index 000000000..81942023c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/metrics.pb.go @@ -0,0 +1,707 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/metrics.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Metrics data. +type Metrics struct { + // All conversions from interactions (as oppose to view through conversions) + // divided by the number of ad interactions. + AllConversionsFromInteractionsRate *wrappers.DoubleValue `protobuf:"bytes,65,opt,name=all_conversions_from_interactions_rate,json=allConversionsFromInteractionsRate,proto3" json:"all_conversions_from_interactions_rate,omitempty"` + // The total value of all conversions. + AllConversionsValue *wrappers.DoubleValue `protobuf:"bytes,66,opt,name=all_conversions_value,json=allConversionsValue,proto3" json:"all_conversions_value,omitempty"` + // The total number of conversions. This includes "Conversions" plus + // conversions that have their "Include in Conversions" setting unchecked. + AllConversions *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=all_conversions,json=allConversions,proto3" json:"all_conversions,omitempty"` + // The value of all conversions divided by the total cost of ad interactions + // (such as clicks for text ads or views for video ads). + AllConversionsValuePerCost *wrappers.DoubleValue `protobuf:"bytes,62,opt,name=all_conversions_value_per_cost,json=allConversionsValuePerCost,proto3" json:"all_conversions_value_per_cost,omitempty"` + // The value of all conversions from interactions divided by the total number + // of interactions. + AllConversionsFromInteractionsValuePerInteraction *wrappers.DoubleValue `protobuf:"bytes,67,opt,name=all_conversions_from_interactions_value_per_interaction,json=allConversionsFromInteractionsValuePerInteraction,proto3" json:"all_conversions_from_interactions_value_per_interaction,omitempty"` + // The average amount you pay per interaction. This amount is the total cost + // of your ads divided by the total number of interactions. + AverageCost *wrappers.DoubleValue `protobuf:"bytes,8,opt,name=average_cost,json=averageCost,proto3" json:"average_cost,omitempty"` + // The total cost of all clicks divided by the total number of clicks + // received. + AverageCpc *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=average_cpc,json=averageCpc,proto3" json:"average_cpc,omitempty"` + // Average cost-per-thousand impressions (CPM). + AverageCpm *wrappers.DoubleValue `protobuf:"bytes,10,opt,name=average_cpm,json=averageCpm,proto3" json:"average_cpm,omitempty"` + // The average amount you pay each time someone views your ad. + // The average CPV is defined by the total cost of all ad views divided by + // the number of views. + AverageCpv *wrappers.DoubleValue `protobuf:"bytes,11,opt,name=average_cpv,json=averageCpv,proto3" json:"average_cpv,omitempty"` + // Your ad's position relative to those of other advertisers. + AveragePosition *wrappers.DoubleValue `protobuf:"bytes,13,opt,name=average_position,json=averagePosition,proto3" json:"average_position,omitempty"` + // An indication on how other advertisers' Shopping ads for similar products + // are performing based on how often people who see their ad click on it. + BenchmarkCtr *wrappers.DoubleValue `protobuf:"bytes,77,opt,name=benchmark_ctr,json=benchmarkCtr,proto3" json:"benchmark_ctr,omitempty"` + // Percentage of clicks where the user only visited a single page on your + // site. Imported from Google Analytics. + BounceRate *wrappers.DoubleValue `protobuf:"bytes,15,opt,name=bounce_rate,json=bounceRate,proto3" json:"bounce_rate,omitempty"` + // The number of clicks. + Clicks *wrappers.Int64Value `protobuf:"bytes,19,opt,name=clicks,proto3" json:"clicks,omitempty"` + // The estimated percent of times that your ad was eligible to show + // on the Display Network but didn't because your budget was too low. + // Note: Content budget lost impression share is reported in the range of 0 + // to 0.9. Any value above 0.9 is reported as 0.9001. + ContentBudgetLostImpressionShare *wrappers.DoubleValue `protobuf:"bytes,20,opt,name=content_budget_lost_impression_share,json=contentBudgetLostImpressionShare,proto3" json:"content_budget_lost_impression_share,omitempty"` + // The impressions you've received on the Display Network divided + // by the estimated number of impressions you were eligible to receive. + // Note: Content impression share is reported in the range of 0.1 to 1. Any + // value below 0.1 is reported as 0.0999. + ContentImpressionShare *wrappers.DoubleValue `protobuf:"bytes,21,opt,name=content_impression_share,json=contentImpressionShare,proto3" json:"content_impression_share,omitempty"` + // The last date/time a conversion tag for this conversion action successfully + // fired and was seen by Google Ads. This firing event may not have been the + // result of an attributable conversion (e.g. because the tag was fired from a + // browser that did not previously click an ad from an appropriate + // advertiser). The date/time is in the customer's time zone. + ConversionLastReceivedRequestDateTime *wrappers.StringValue `protobuf:"bytes,73,opt,name=conversion_last_received_request_date_time,json=conversionLastReceivedRequestDateTime,proto3" json:"conversion_last_received_request_date_time,omitempty"` + // The date of the most recent conversion for this conversion action. The date + // is in the customer's time zone. + ConversionLastConversionDate *wrappers.StringValue `protobuf:"bytes,74,opt,name=conversion_last_conversion_date,json=conversionLastConversionDate,proto3" json:"conversion_last_conversion_date,omitempty"` + // The estimated percentage of impressions on the Display Network + // that your ads didn't receive due to poor Ad Rank. + // Note: Content rank lost impression share is reported in the range of 0 + // to 0.9. Any value above 0.9 is reported as 0.9001. + ContentRankLostImpressionShare *wrappers.DoubleValue `protobuf:"bytes,22,opt,name=content_rank_lost_impression_share,json=contentRankLostImpressionShare,proto3" json:"content_rank_lost_impression_share,omitempty"` + // Conversions from interactions divided by the number of ad interactions + // (such as clicks for text ads or views for video ads). + ConversionsFromInteractionsRate *wrappers.DoubleValue `protobuf:"bytes,69,opt,name=conversions_from_interactions_rate,json=conversionsFromInteractionsRate,proto3" json:"conversions_from_interactions_rate,omitempty"` + // The total value of conversions. + ConversionsValue *wrappers.DoubleValue `protobuf:"bytes,70,opt,name=conversions_value,json=conversionsValue,proto3" json:"conversions_value,omitempty"` + // The value of conversions divided by the cost of ad interactions. + ConversionsValuePerCost *wrappers.DoubleValue `protobuf:"bytes,71,opt,name=conversions_value_per_cost,json=conversionsValuePerCost,proto3" json:"conversions_value_per_cost,omitempty"` + // The value of conversions from interactions divided by the number of ad + // interactions. + ConversionsFromInteractionsValuePerInteraction *wrappers.DoubleValue `protobuf:"bytes,72,opt,name=conversions_from_interactions_value_per_interaction,json=conversionsFromInteractionsValuePerInteraction,proto3" json:"conversions_from_interactions_value_per_interaction,omitempty"` + // The number of conversions. This only includes conversion actions which have + // "Include in Conversions" checked. + Conversions *wrappers.DoubleValue `protobuf:"bytes,25,opt,name=conversions,proto3" json:"conversions,omitempty"` + // The sum of your cost-per-click (CPC) and cost-per-thousand impressions + // (CPM) costs during this period. + CostMicros *wrappers.Int64Value `protobuf:"bytes,26,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` + // The cost of ad interactions divided by all conversions. + CostPerAllConversions *wrappers.DoubleValue `protobuf:"bytes,68,opt,name=cost_per_all_conversions,json=costPerAllConversions,proto3" json:"cost_per_all_conversions,omitempty"` + // The cost of ad interactions divided by conversions. + CostPerConversion *wrappers.DoubleValue `protobuf:"bytes,28,opt,name=cost_per_conversion,json=costPerConversion,proto3" json:"cost_per_conversion,omitempty"` + // Conversions from when a customer clicks on a Google Ads ad on one device, + // then converts on a different device or browser. + // Cross-device conversions are already included in all_conversions. + CrossDeviceConversions *wrappers.DoubleValue `protobuf:"bytes,29,opt,name=cross_device_conversions,json=crossDeviceConversions,proto3" json:"cross_device_conversions,omitempty"` + // The number of clicks your ad receives (Clicks) divided by the number + // of times your ad is shown (Impressions). + Ctr *wrappers.DoubleValue `protobuf:"bytes,30,opt,name=ctr,proto3" json:"ctr,omitempty"` + // How often people engage with your ad after it's shown to them. This is the + // number of ad expansions divided by the number of times your ad is shown. + EngagementRate *wrappers.DoubleValue `protobuf:"bytes,31,opt,name=engagement_rate,json=engagementRate,proto3" json:"engagement_rate,omitempty"` + // The number of engagements. + // An engagement occurs when a viewer expands your Lightbox ad. Also, in the + // future, other ad types may support engagement metrics. + Engagements *wrappers.Int64Value `protobuf:"bytes,32,opt,name=engagements,proto3" json:"engagements,omitempty"` + // Average lead value of hotel. + HotelAverageLeadValueMicros *wrappers.DoubleValue `protobuf:"bytes,75,opt,name=hotel_average_lead_value_micros,json=hotelAverageLeadValueMicros,proto3" json:"hotel_average_lead_value_micros,omitempty"` + // Count of how often your ad has appeared on a search results page or + // website on the Google Network. + Impressions *wrappers.Int64Value `protobuf:"bytes,37,opt,name=impressions,proto3" json:"impressions,omitempty"` + // How often people interact with your ad after it is shown to them. + // This is the number of interactions divided by the number of times your ad + // is shown. + InteractionRate *wrappers.DoubleValue `protobuf:"bytes,38,opt,name=interaction_rate,json=interactionRate,proto3" json:"interaction_rate,omitempty"` + // The number of interactions. + // An interaction is the main user action associated with an ad format-clicks + // for text and shopping ads, views for video ads, and so on. + Interactions *wrappers.Int64Value `protobuf:"bytes,39,opt,name=interactions,proto3" json:"interactions,omitempty"` + // The percentage of clicks filtered out of your total number of clicks + // (filtered + non-filtered clicks) during the reporting period. + InvalidClickRate *wrappers.DoubleValue `protobuf:"bytes,40,opt,name=invalid_click_rate,json=invalidClickRate,proto3" json:"invalid_click_rate,omitempty"` + // Number of clicks Google considers illegitimate and doesn't charge you for. + InvalidClicks *wrappers.Int64Value `protobuf:"bytes,41,opt,name=invalid_clicks,json=invalidClicks,proto3" json:"invalid_clicks,omitempty"` + // Percentage of first-time sessions (from people who had never visited your + // site before). Imported from Google Analytics. + PercentNewVisitors *wrappers.DoubleValue `protobuf:"bytes,42,opt,name=percent_new_visitors,json=percentNewVisitors,proto3" json:"percent_new_visitors,omitempty"` + // Number of offline phone calls. + PhoneCalls *wrappers.Int64Value `protobuf:"bytes,43,opt,name=phone_calls,json=phoneCalls,proto3" json:"phone_calls,omitempty"` + // Number of offline phone impressions. + PhoneImpressions *wrappers.Int64Value `protobuf:"bytes,44,opt,name=phone_impressions,json=phoneImpressions,proto3" json:"phone_impressions,omitempty"` + // Number of phone calls received (phone_calls) divided by the number of + // times your phone number is shown (phone_impressions). + PhoneThroughRate *wrappers.DoubleValue `protobuf:"bytes,45,opt,name=phone_through_rate,json=phoneThroughRate,proto3" json:"phone_through_rate,omitempty"` + // Your clickthrough rate (Ctr) divided by the average clickthrough rate of + // all advertisers on the websites that show your ads. Measures how your ads + // perform on Display Network sites compared to other ads on the same sites. + RelativeCtr *wrappers.DoubleValue `protobuf:"bytes,46,opt,name=relative_ctr,json=relativeCtr,proto3" json:"relative_ctr,omitempty"` + // The percentage of the customer's Shopping ad impressions that are shown in + // the most prominent Shopping position. See + // this Merchant + // Center article for details. Any value below 0.1 is reported as 0.0999. + SearchAbsoluteTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,78,opt,name=search_absolute_top_impression_share,json=searchAbsoluteTopImpressionShare,proto3" json:"search_absolute_top_impression_share,omitempty"` + // The estimated percent of times that your ad was eligible to show on the + // Search Network but didn't because your budget was too low. Note: Search + // budget lost impression share is reported in the range of 0 to 0.9. Any + // value above 0.9 is reported as 0.9001. + SearchBudgetLostImpressionShare *wrappers.DoubleValue `protobuf:"bytes,47,opt,name=search_budget_lost_impression_share,json=searchBudgetLostImpressionShare,proto3" json:"search_budget_lost_impression_share,omitempty"` + // The impressions you've received divided by the estimated number of + // impressions you were eligible to receive on the Search Network for search + // terms that matched your keywords exactly (or were close variants of your + // keyword), regardless of your keyword match types. Note: Search exact match + // impression share is reported in the range of 0.1 to 1. Any value below 0.1 + // is reported as 0.0999. + SearchExactMatchImpressionShare *wrappers.DoubleValue `protobuf:"bytes,49,opt,name=search_exact_match_impression_share,json=searchExactMatchImpressionShare,proto3" json:"search_exact_match_impression_share,omitempty"` + // The impressions you've received on the Search Network divided + // by the estimated number of impressions you were eligible to receive. + // Note: Search impression share is reported in the range of 0.1 to 1. Any + // value below 0.1 is reported as 0.0999. + SearchImpressionShare *wrappers.DoubleValue `protobuf:"bytes,50,opt,name=search_impression_share,json=searchImpressionShare,proto3" json:"search_impression_share,omitempty"` + // The estimated percentage of impressions on the Search Network + // that your ads didn't receive due to poor Ad Rank. + // Note: Search rank lost impression share is reported in the range of 0 to + // 0.9. Any value above 0.9 is reported as 0.9001. + SearchRankLostImpressionShare *wrappers.DoubleValue `protobuf:"bytes,51,opt,name=search_rank_lost_impression_share,json=searchRankLostImpressionShare,proto3" json:"search_rank_lost_impression_share,omitempty"` + // The value of all conversions divided by the number of all conversions. + ValuePerAllConversions *wrappers.DoubleValue `protobuf:"bytes,52,opt,name=value_per_all_conversions,json=valuePerAllConversions,proto3" json:"value_per_all_conversions,omitempty"` + // The value of conversions divided by the number of conversions. + ValuePerConversion *wrappers.DoubleValue `protobuf:"bytes,53,opt,name=value_per_conversion,json=valuePerConversion,proto3" json:"value_per_conversion,omitempty"` + // Percentage of impressions where the viewer watched all of your video. + VideoQuartile_100Rate *wrappers.DoubleValue `protobuf:"bytes,54,opt,name=video_quartile_100_rate,json=videoQuartile100Rate,proto3" json:"video_quartile_100_rate,omitempty"` + // Percentage of impressions where the viewer watched 25% of your video. + VideoQuartile_25Rate *wrappers.DoubleValue `protobuf:"bytes,55,opt,name=video_quartile_25_rate,json=videoQuartile25Rate,proto3" json:"video_quartile_25_rate,omitempty"` + // Percentage of impressions where the viewer watched 50% of your video. + VideoQuartile_50Rate *wrappers.DoubleValue `protobuf:"bytes,56,opt,name=video_quartile_50_rate,json=videoQuartile50Rate,proto3" json:"video_quartile_50_rate,omitempty"` + // Percentage of impressions where the viewer watched 75% of your video. + VideoQuartile_75Rate *wrappers.DoubleValue `protobuf:"bytes,57,opt,name=video_quartile_75_rate,json=videoQuartile75Rate,proto3" json:"video_quartile_75_rate,omitempty"` + // The number of views your TrueView video ad receives divided by its number + // of impressions, including thumbnail impressions for TrueView in-display + // ads. + VideoViewRate *wrappers.DoubleValue `protobuf:"bytes,58,opt,name=video_view_rate,json=videoViewRate,proto3" json:"video_view_rate,omitempty"` + // The number of times your video ads were viewed. + VideoViews *wrappers.Int64Value `protobuf:"bytes,59,opt,name=video_views,json=videoViews,proto3" json:"video_views,omitempty"` + // The total number of view-through conversions. + // These happen when a customer sees an image or rich media ad, then later + // completes a conversion on your site without interacting with (e.g., + // clicking on) another ad. + ViewThroughConversions *wrappers.Int64Value `protobuf:"bytes,60,opt,name=view_through_conversions,json=viewThroughConversions,proto3" json:"view_through_conversions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Metrics) Reset() { *m = Metrics{} } +func (m *Metrics) String() string { return proto.CompactTextString(m) } +func (*Metrics) ProtoMessage() {} +func (*Metrics) Descriptor() ([]byte, []int) { + return fileDescriptor_metrics_7c5dfe462d366304, []int{0} +} +func (m *Metrics) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Metrics.Unmarshal(m, b) +} +func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Metrics.Marshal(b, m, deterministic) +} +func (dst *Metrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_Metrics.Merge(dst, src) +} +func (m *Metrics) XXX_Size() int { + return xxx_messageInfo_Metrics.Size(m) +} +func (m *Metrics) XXX_DiscardUnknown() { + xxx_messageInfo_Metrics.DiscardUnknown(m) +} + +var xxx_messageInfo_Metrics proto.InternalMessageInfo + +func (m *Metrics) GetAllConversionsFromInteractionsRate() *wrappers.DoubleValue { + if m != nil { + return m.AllConversionsFromInteractionsRate + } + return nil +} + +func (m *Metrics) GetAllConversionsValue() *wrappers.DoubleValue { + if m != nil { + return m.AllConversionsValue + } + return nil +} + +func (m *Metrics) GetAllConversions() *wrappers.DoubleValue { + if m != nil { + return m.AllConversions + } + return nil +} + +func (m *Metrics) GetAllConversionsValuePerCost() *wrappers.DoubleValue { + if m != nil { + return m.AllConversionsValuePerCost + } + return nil +} + +func (m *Metrics) GetAllConversionsFromInteractionsValuePerInteraction() *wrappers.DoubleValue { + if m != nil { + return m.AllConversionsFromInteractionsValuePerInteraction + } + return nil +} + +func (m *Metrics) GetAverageCost() *wrappers.DoubleValue { + if m != nil { + return m.AverageCost + } + return nil +} + +func (m *Metrics) GetAverageCpc() *wrappers.DoubleValue { + if m != nil { + return m.AverageCpc + } + return nil +} + +func (m *Metrics) GetAverageCpm() *wrappers.DoubleValue { + if m != nil { + return m.AverageCpm + } + return nil +} + +func (m *Metrics) GetAverageCpv() *wrappers.DoubleValue { + if m != nil { + return m.AverageCpv + } + return nil +} + +func (m *Metrics) GetAveragePosition() *wrappers.DoubleValue { + if m != nil { + return m.AveragePosition + } + return nil +} + +func (m *Metrics) GetBenchmarkCtr() *wrappers.DoubleValue { + if m != nil { + return m.BenchmarkCtr + } + return nil +} + +func (m *Metrics) GetBounceRate() *wrappers.DoubleValue { + if m != nil { + return m.BounceRate + } + return nil +} + +func (m *Metrics) GetClicks() *wrappers.Int64Value { + if m != nil { + return m.Clicks + } + return nil +} + +func (m *Metrics) GetContentBudgetLostImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.ContentBudgetLostImpressionShare + } + return nil +} + +func (m *Metrics) GetContentImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.ContentImpressionShare + } + return nil +} + +func (m *Metrics) GetConversionLastReceivedRequestDateTime() *wrappers.StringValue { + if m != nil { + return m.ConversionLastReceivedRequestDateTime + } + return nil +} + +func (m *Metrics) GetConversionLastConversionDate() *wrappers.StringValue { + if m != nil { + return m.ConversionLastConversionDate + } + return nil +} + +func (m *Metrics) GetContentRankLostImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.ContentRankLostImpressionShare + } + return nil +} + +func (m *Metrics) GetConversionsFromInteractionsRate() *wrappers.DoubleValue { + if m != nil { + return m.ConversionsFromInteractionsRate + } + return nil +} + +func (m *Metrics) GetConversionsValue() *wrappers.DoubleValue { + if m != nil { + return m.ConversionsValue + } + return nil +} + +func (m *Metrics) GetConversionsValuePerCost() *wrappers.DoubleValue { + if m != nil { + return m.ConversionsValuePerCost + } + return nil +} + +func (m *Metrics) GetConversionsFromInteractionsValuePerInteraction() *wrappers.DoubleValue { + if m != nil { + return m.ConversionsFromInteractionsValuePerInteraction + } + return nil +} + +func (m *Metrics) GetConversions() *wrappers.DoubleValue { + if m != nil { + return m.Conversions + } + return nil +} + +func (m *Metrics) GetCostMicros() *wrappers.Int64Value { + if m != nil { + return m.CostMicros + } + return nil +} + +func (m *Metrics) GetCostPerAllConversions() *wrappers.DoubleValue { + if m != nil { + return m.CostPerAllConversions + } + return nil +} + +func (m *Metrics) GetCostPerConversion() *wrappers.DoubleValue { + if m != nil { + return m.CostPerConversion + } + return nil +} + +func (m *Metrics) GetCrossDeviceConversions() *wrappers.DoubleValue { + if m != nil { + return m.CrossDeviceConversions + } + return nil +} + +func (m *Metrics) GetCtr() *wrappers.DoubleValue { + if m != nil { + return m.Ctr + } + return nil +} + +func (m *Metrics) GetEngagementRate() *wrappers.DoubleValue { + if m != nil { + return m.EngagementRate + } + return nil +} + +func (m *Metrics) GetEngagements() *wrappers.Int64Value { + if m != nil { + return m.Engagements + } + return nil +} + +func (m *Metrics) GetHotelAverageLeadValueMicros() *wrappers.DoubleValue { + if m != nil { + return m.HotelAverageLeadValueMicros + } + return nil +} + +func (m *Metrics) GetImpressions() *wrappers.Int64Value { + if m != nil { + return m.Impressions + } + return nil +} + +func (m *Metrics) GetInteractionRate() *wrappers.DoubleValue { + if m != nil { + return m.InteractionRate + } + return nil +} + +func (m *Metrics) GetInteractions() *wrappers.Int64Value { + if m != nil { + return m.Interactions + } + return nil +} + +func (m *Metrics) GetInvalidClickRate() *wrappers.DoubleValue { + if m != nil { + return m.InvalidClickRate + } + return nil +} + +func (m *Metrics) GetInvalidClicks() *wrappers.Int64Value { + if m != nil { + return m.InvalidClicks + } + return nil +} + +func (m *Metrics) GetPercentNewVisitors() *wrappers.DoubleValue { + if m != nil { + return m.PercentNewVisitors + } + return nil +} + +func (m *Metrics) GetPhoneCalls() *wrappers.Int64Value { + if m != nil { + return m.PhoneCalls + } + return nil +} + +func (m *Metrics) GetPhoneImpressions() *wrappers.Int64Value { + if m != nil { + return m.PhoneImpressions + } + return nil +} + +func (m *Metrics) GetPhoneThroughRate() *wrappers.DoubleValue { + if m != nil { + return m.PhoneThroughRate + } + return nil +} + +func (m *Metrics) GetRelativeCtr() *wrappers.DoubleValue { + if m != nil { + return m.RelativeCtr + } + return nil +} + +func (m *Metrics) GetSearchAbsoluteTopImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.SearchAbsoluteTopImpressionShare + } + return nil +} + +func (m *Metrics) GetSearchBudgetLostImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.SearchBudgetLostImpressionShare + } + return nil +} + +func (m *Metrics) GetSearchExactMatchImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.SearchExactMatchImpressionShare + } + return nil +} + +func (m *Metrics) GetSearchImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.SearchImpressionShare + } + return nil +} + +func (m *Metrics) GetSearchRankLostImpressionShare() *wrappers.DoubleValue { + if m != nil { + return m.SearchRankLostImpressionShare + } + return nil +} + +func (m *Metrics) GetValuePerAllConversions() *wrappers.DoubleValue { + if m != nil { + return m.ValuePerAllConversions + } + return nil +} + +func (m *Metrics) GetValuePerConversion() *wrappers.DoubleValue { + if m != nil { + return m.ValuePerConversion + } + return nil +} + +func (m *Metrics) GetVideoQuartile_100Rate() *wrappers.DoubleValue { + if m != nil { + return m.VideoQuartile_100Rate + } + return nil +} + +func (m *Metrics) GetVideoQuartile_25Rate() *wrappers.DoubleValue { + if m != nil { + return m.VideoQuartile_25Rate + } + return nil +} + +func (m *Metrics) GetVideoQuartile_50Rate() *wrappers.DoubleValue { + if m != nil { + return m.VideoQuartile_50Rate + } + return nil +} + +func (m *Metrics) GetVideoQuartile_75Rate() *wrappers.DoubleValue { + if m != nil { + return m.VideoQuartile_75Rate + } + return nil +} + +func (m *Metrics) GetVideoViewRate() *wrappers.DoubleValue { + if m != nil { + return m.VideoViewRate + } + return nil +} + +func (m *Metrics) GetVideoViews() *wrappers.Int64Value { + if m != nil { + return m.VideoViews + } + return nil +} + +func (m *Metrics) GetViewThroughConversions() *wrappers.Int64Value { + if m != nil { + return m.ViewThroughConversions + } + return nil +} + +func init() { + proto.RegisterType((*Metrics)(nil), "google.ads.googleads.v0.common.Metrics") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/metrics.proto", fileDescriptor_metrics_7c5dfe462d366304) +} + +var fileDescriptor_metrics_7c5dfe462d366304 = []byte{ + // 1314 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0xed, 0x52, 0xdb, 0x46, + 0x17, 0xc7, 0x87, 0x64, 0x26, 0x79, 0x9e, 0x35, 0x84, 0x44, 0x21, 0x44, 0x21, 0x09, 0x49, 0xf3, + 0xd6, 0x34, 0x4d, 0x65, 0x03, 0x21, 0xb4, 0xcd, 0xdb, 0x18, 0x93, 0x10, 0x52, 0x60, 0x08, 0xa1, + 0x74, 0xda, 0x61, 0x66, 0xbb, 0x5e, 0x9f, 0xd8, 0x2a, 0x92, 0x56, 0xd9, 0x5d, 0x8b, 0xde, 0x42, + 0xbf, 0xf5, 0x1a, 0xfa, 0xb1, 0x97, 0xd1, 0x8f, 0xbd, 0x85, 0xde, 0x4c, 0x67, 0x5f, 0x6c, 0xc9, + 0x32, 0xc6, 0x4b, 0x3f, 0x21, 0xc4, 0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0x1c, 0x55, 0x72, 0x8a, + 0xf0, 0x9f, 0x39, 0x54, 0xd5, 0x3e, 0x40, 0xcf, 0x54, 0xda, 0xbd, 0x57, 0x0a, 0x8b, 0x3b, 0xef, + 0xf9, 0x78, 0xd4, 0xac, 0x12, 0xdb, 0x7a, 0x58, 0xd8, 0x78, 0xab, 0x7f, 0x4d, 0xa8, 0x31, 0x3e, + 0x0e, 0x4e, 0xfe, 0x48, 0xb4, 0x3a, 0x69, 0xbf, 0x00, 0xed, 0x28, 0xf4, 0xce, 0xc4, 0x4f, 0x6b, + 0x36, 0xbe, 0xcd, 0x22, 0x92, 0xb4, 0x03, 0xc6, 0xdb, 0xd5, 0x36, 0x24, 0xda, 0xb8, 0xf7, 0x49, + 0x2a, 0x0d, 0xc5, 0xa8, 0x2f, 0x54, 0xcf, 0xcc, 0x8f, 0x3f, 0xce, 0x9c, 0x5d, 0xaf, 0xd7, 0xff, + 0x3c, 0x33, 0xbf, 0x6e, 0x60, 0xf5, 0x96, 0x08, 0xcc, 0xa5, 0xba, 0xda, 0xaf, 0x05, 0x0d, 0x1d, + 0xf6, 0x77, 0x2f, 0xe0, 0xa0, 0xde, 0x12, 0x07, 0xfd, 0x80, 0x83, 0xfd, 0xda, 0x81, 0x09, 0x68, + 0x9e, 0xd3, 0xc6, 0x4b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x6f, 0x5e, 0x32, 0x19, 0x13, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/policy.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/policy.pb.go new file mode 100644 index 000000000..1fc027dae --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/policy.pb.go @@ -0,0 +1,1098 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/policy.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Key of the violation. The key is used for referring to a violation +// when filing an exemption request. +type PolicyViolationKey struct { + // Unique ID of the violated policy. + PolicyName *wrappers.StringValue `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` + // The text that violates the policy if specified. + // Otherwise, refers to the policy in general + // (e.g., when requesting to be exempt from the whole policy). + // If not specified for criterion exemptions, the whole policy is implied. + // Must be specified for ad exemptions. + ViolatingText *wrappers.StringValue `protobuf:"bytes,2,opt,name=violating_text,json=violatingText,proto3" json:"violating_text,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyViolationKey) Reset() { *m = PolicyViolationKey{} } +func (m *PolicyViolationKey) String() string { return proto.CompactTextString(m) } +func (*PolicyViolationKey) ProtoMessage() {} +func (*PolicyViolationKey) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{0} +} +func (m *PolicyViolationKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyViolationKey.Unmarshal(m, b) +} +func (m *PolicyViolationKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyViolationKey.Marshal(b, m, deterministic) +} +func (dst *PolicyViolationKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyViolationKey.Merge(dst, src) +} +func (m *PolicyViolationKey) XXX_Size() int { + return xxx_messageInfo_PolicyViolationKey.Size(m) +} +func (m *PolicyViolationKey) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyViolationKey.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyViolationKey proto.InternalMessageInfo + +func (m *PolicyViolationKey) GetPolicyName() *wrappers.StringValue { + if m != nil { + return m.PolicyName + } + return nil +} + +func (m *PolicyViolationKey) GetViolatingText() *wrappers.StringValue { + if m != nil { + return m.ViolatingText + } + return nil +} + +// Parameter for controlling how policy checking is done. +type PolicyValidationParameter struct { + // The list of policy topics that should not cause a PolicyFindingError to + // be reported. This field is currently only compatible with Enhanced Text Ad. + // It corresponds to the PolicyTopicEntry.topic field. + // + // Resources violating these policies will be saved, but will not be eligible + // to serve. They may begin serving at a later time due to a change in + // policies, re-review of the resource, or a change in advertiser + // certificates. + IgnorablePolicyTopics []*wrappers.StringValue `protobuf:"bytes,1,rep,name=ignorable_policy_topics,json=ignorablePolicyTopics,proto3" json:"ignorable_policy_topics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyValidationParameter) Reset() { *m = PolicyValidationParameter{} } +func (m *PolicyValidationParameter) String() string { return proto.CompactTextString(m) } +func (*PolicyValidationParameter) ProtoMessage() {} +func (*PolicyValidationParameter) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{1} +} +func (m *PolicyValidationParameter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyValidationParameter.Unmarshal(m, b) +} +func (m *PolicyValidationParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyValidationParameter.Marshal(b, m, deterministic) +} +func (dst *PolicyValidationParameter) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyValidationParameter.Merge(dst, src) +} +func (m *PolicyValidationParameter) XXX_Size() int { + return xxx_messageInfo_PolicyValidationParameter.Size(m) +} +func (m *PolicyValidationParameter) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyValidationParameter.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyValidationParameter proto.InternalMessageInfo + +func (m *PolicyValidationParameter) GetIgnorablePolicyTopics() []*wrappers.StringValue { + if m != nil { + return m.IgnorablePolicyTopics + } + return nil +} + +// Policy finding attached to a resource (e.g. alcohol policy associated with +// a site that sells alcohol). +// +// Each PolicyTopicEntry has a topic that indicates the specific ads policy +// the entry is about and a type to indicate the effect that the entry will have +// on serving. It may optionally have one or more evidences that indicate the +// reason for the finding. It may also optionally have one or more constraints +// that provide details about how serving may be restricted. +// +// Next tag: 5 +type PolicyTopicEntry struct { + // Policy topic this finding refers to. For example, "ALCOHOL", + // "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible + // policy topics is not fixed for a particular API version and may change + // at any time. + Topic *wrappers.StringValue `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` + // Describes the negative or positive effect this policy will have on serving. + Type enums.PolicyTopicEntryTypeEnum_PolicyTopicEntryType `protobuf:"varint,2,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.PolicyTopicEntryTypeEnum_PolicyTopicEntryType" json:"type,omitempty"` + // Additional information that explains policy finding + // (e.g. the brand name for a trademark finding). + Evidences []*PolicyTopicEvidence `protobuf:"bytes,3,rep,name=evidences,proto3" json:"evidences,omitempty"` + // Indicates how serving of this resource may be affected (e.g. not serving + // in a country). + Constraints []*PolicyTopicConstraint `protobuf:"bytes,4,rep,name=constraints,proto3" json:"constraints,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEntry) Reset() { *m = PolicyTopicEntry{} } +func (m *PolicyTopicEntry) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEntry) ProtoMessage() {} +func (*PolicyTopicEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{2} +} +func (m *PolicyTopicEntry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEntry.Unmarshal(m, b) +} +func (m *PolicyTopicEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEntry.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEntry.Merge(dst, src) +} +func (m *PolicyTopicEntry) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEntry.Size(m) +} +func (m *PolicyTopicEntry) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEntry proto.InternalMessageInfo + +func (m *PolicyTopicEntry) GetTopic() *wrappers.StringValue { + if m != nil { + return m.Topic + } + return nil +} + +func (m *PolicyTopicEntry) GetType() enums.PolicyTopicEntryTypeEnum_PolicyTopicEntryType { + if m != nil { + return m.Type + } + return enums.PolicyTopicEntryTypeEnum_UNSPECIFIED +} + +func (m *PolicyTopicEntry) GetEvidences() []*PolicyTopicEvidence { + if m != nil { + return m.Evidences + } + return nil +} + +func (m *PolicyTopicEntry) GetConstraints() []*PolicyTopicConstraint { + if m != nil { + return m.Constraints + } + return nil +} + +// Additional information that explains a policy finding. +// +// Next Id: 8 +type PolicyTopicEvidence struct { + // Specific evidence information depending on the evidence type. + // + // Types that are valid to be assigned to Value: + // *PolicyTopicEvidence_HttpCode + // *PolicyTopicEvidence_WebsiteList_ + // *PolicyTopicEvidence_TextList_ + // *PolicyTopicEvidence_LanguageCode + // *PolicyTopicEvidence_DestinationTextList_ + // *PolicyTopicEvidence_DestinationMismatch_ + Value isPolicyTopicEvidence_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEvidence) Reset() { *m = PolicyTopicEvidence{} } +func (m *PolicyTopicEvidence) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEvidence) ProtoMessage() {} +func (*PolicyTopicEvidence) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{3} +} +func (m *PolicyTopicEvidence) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEvidence.Unmarshal(m, b) +} +func (m *PolicyTopicEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEvidence.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEvidence) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEvidence.Merge(dst, src) +} +func (m *PolicyTopicEvidence) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEvidence.Size(m) +} +func (m *PolicyTopicEvidence) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEvidence.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEvidence proto.InternalMessageInfo + +type isPolicyTopicEvidence_Value interface { + isPolicyTopicEvidence_Value() +} + +type PolicyTopicEvidence_HttpCode struct { + HttpCode *wrappers.Int32Value `protobuf:"bytes,2,opt,name=http_code,json=httpCode,proto3,oneof"` +} + +type PolicyTopicEvidence_WebsiteList_ struct { + WebsiteList *PolicyTopicEvidence_WebsiteList `protobuf:"bytes,3,opt,name=website_list,json=websiteList,proto3,oneof"` +} + +type PolicyTopicEvidence_TextList_ struct { + TextList *PolicyTopicEvidence_TextList `protobuf:"bytes,4,opt,name=text_list,json=textList,proto3,oneof"` +} + +type PolicyTopicEvidence_LanguageCode struct { + LanguageCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3,oneof"` +} + +type PolicyTopicEvidence_DestinationTextList_ struct { + DestinationTextList *PolicyTopicEvidence_DestinationTextList `protobuf:"bytes,6,opt,name=destination_text_list,json=destinationTextList,proto3,oneof"` +} + +type PolicyTopicEvidence_DestinationMismatch_ struct { + DestinationMismatch *PolicyTopicEvidence_DestinationMismatch `protobuf:"bytes,7,opt,name=destination_mismatch,json=destinationMismatch,proto3,oneof"` +} + +func (*PolicyTopicEvidence_HttpCode) isPolicyTopicEvidence_Value() {} + +func (*PolicyTopicEvidence_WebsiteList_) isPolicyTopicEvidence_Value() {} + +func (*PolicyTopicEvidence_TextList_) isPolicyTopicEvidence_Value() {} + +func (*PolicyTopicEvidence_LanguageCode) isPolicyTopicEvidence_Value() {} + +func (*PolicyTopicEvidence_DestinationTextList_) isPolicyTopicEvidence_Value() {} + +func (*PolicyTopicEvidence_DestinationMismatch_) isPolicyTopicEvidence_Value() {} + +func (m *PolicyTopicEvidence) GetValue() isPolicyTopicEvidence_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *PolicyTopicEvidence) GetHttpCode() *wrappers.Int32Value { + if x, ok := m.GetValue().(*PolicyTopicEvidence_HttpCode); ok { + return x.HttpCode + } + return nil +} + +func (m *PolicyTopicEvidence) GetWebsiteList() *PolicyTopicEvidence_WebsiteList { + if x, ok := m.GetValue().(*PolicyTopicEvidence_WebsiteList_); ok { + return x.WebsiteList + } + return nil +} + +func (m *PolicyTopicEvidence) GetTextList() *PolicyTopicEvidence_TextList { + if x, ok := m.GetValue().(*PolicyTopicEvidence_TextList_); ok { + return x.TextList + } + return nil +} + +func (m *PolicyTopicEvidence) GetLanguageCode() *wrappers.StringValue { + if x, ok := m.GetValue().(*PolicyTopicEvidence_LanguageCode); ok { + return x.LanguageCode + } + return nil +} + +func (m *PolicyTopicEvidence) GetDestinationTextList() *PolicyTopicEvidence_DestinationTextList { + if x, ok := m.GetValue().(*PolicyTopicEvidence_DestinationTextList_); ok { + return x.DestinationTextList + } + return nil +} + +func (m *PolicyTopicEvidence) GetDestinationMismatch() *PolicyTopicEvidence_DestinationMismatch { + if x, ok := m.GetValue().(*PolicyTopicEvidence_DestinationMismatch_); ok { + return x.DestinationMismatch + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*PolicyTopicEvidence) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _PolicyTopicEvidence_OneofMarshaler, _PolicyTopicEvidence_OneofUnmarshaler, _PolicyTopicEvidence_OneofSizer, []interface{}{ + (*PolicyTopicEvidence_HttpCode)(nil), + (*PolicyTopicEvidence_WebsiteList_)(nil), + (*PolicyTopicEvidence_TextList_)(nil), + (*PolicyTopicEvidence_LanguageCode)(nil), + (*PolicyTopicEvidence_DestinationTextList_)(nil), + (*PolicyTopicEvidence_DestinationMismatch_)(nil), + } +} + +func _PolicyTopicEvidence_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*PolicyTopicEvidence) + // value + switch x := m.Value.(type) { + case *PolicyTopicEvidence_HttpCode: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HttpCode); err != nil { + return err + } + case *PolicyTopicEvidence_WebsiteList_: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.WebsiteList); err != nil { + return err + } + case *PolicyTopicEvidence_TextList_: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TextList); err != nil { + return err + } + case *PolicyTopicEvidence_LanguageCode: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.LanguageCode); err != nil { + return err + } + case *PolicyTopicEvidence_DestinationTextList_: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DestinationTextList); err != nil { + return err + } + case *PolicyTopicEvidence_DestinationMismatch_: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DestinationMismatch); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("PolicyTopicEvidence.Value has unexpected type %T", x) + } + return nil +} + +func _PolicyTopicEvidence_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*PolicyTopicEvidence) + switch tag { + case 2: // value.http_code + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int32Value) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicEvidence_HttpCode{msg} + return true, err + case 3: // value.website_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicEvidence_WebsiteList) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicEvidence_WebsiteList_{msg} + return true, err + case 4: // value.text_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicEvidence_TextList) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicEvidence_TextList_{msg} + return true, err + case 5: // value.language_code + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicEvidence_LanguageCode{msg} + return true, err + case 6: // value.destination_text_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicEvidence_DestinationTextList) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicEvidence_DestinationTextList_{msg} + return true, err + case 7: // value.destination_mismatch + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicEvidence_DestinationMismatch) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicEvidence_DestinationMismatch_{msg} + return true, err + default: + return false, nil + } +} + +func _PolicyTopicEvidence_OneofSizer(msg proto.Message) (n int) { + m := msg.(*PolicyTopicEvidence) + // value + switch x := m.Value.(type) { + case *PolicyTopicEvidence_HttpCode: + s := proto.Size(x.HttpCode) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicEvidence_WebsiteList_: + s := proto.Size(x.WebsiteList) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicEvidence_TextList_: + s := proto.Size(x.TextList) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicEvidence_LanguageCode: + s := proto.Size(x.LanguageCode) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicEvidence_DestinationTextList_: + s := proto.Size(x.DestinationTextList) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicEvidence_DestinationMismatch_: + s := proto.Size(x.DestinationMismatch) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A list of fragments of text that violated a policy. +// +// Next Id: 2 +type PolicyTopicEvidence_TextList struct { + // The fragments of text from the resource that caused the policy finding. + Texts []*wrappers.StringValue `protobuf:"bytes,1,rep,name=texts,proto3" json:"texts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEvidence_TextList) Reset() { *m = PolicyTopicEvidence_TextList{} } +func (m *PolicyTopicEvidence_TextList) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEvidence_TextList) ProtoMessage() {} +func (*PolicyTopicEvidence_TextList) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{3, 0} +} +func (m *PolicyTopicEvidence_TextList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEvidence_TextList.Unmarshal(m, b) +} +func (m *PolicyTopicEvidence_TextList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEvidence_TextList.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEvidence_TextList) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEvidence_TextList.Merge(dst, src) +} +func (m *PolicyTopicEvidence_TextList) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEvidence_TextList.Size(m) +} +func (m *PolicyTopicEvidence_TextList) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEvidence_TextList.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEvidence_TextList proto.InternalMessageInfo + +func (m *PolicyTopicEvidence_TextList) GetTexts() []*wrappers.StringValue { + if m != nil { + return m.Texts + } + return nil +} + +// A list of websites that caused a policy finding. Used for +// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more +// than five websites, only the top five (those that appear in resources the +// most) will be listed here. +// +// Next Id: 2 +type PolicyTopicEvidence_WebsiteList struct { + // Websites that caused the policy finding. + Websites []*wrappers.StringValue `protobuf:"bytes,1,rep,name=websites,proto3" json:"websites,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEvidence_WebsiteList) Reset() { *m = PolicyTopicEvidence_WebsiteList{} } +func (m *PolicyTopicEvidence_WebsiteList) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEvidence_WebsiteList) ProtoMessage() {} +func (*PolicyTopicEvidence_WebsiteList) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{3, 1} +} +func (m *PolicyTopicEvidence_WebsiteList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEvidence_WebsiteList.Unmarshal(m, b) +} +func (m *PolicyTopicEvidence_WebsiteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEvidence_WebsiteList.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEvidence_WebsiteList) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEvidence_WebsiteList.Merge(dst, src) +} +func (m *PolicyTopicEvidence_WebsiteList) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEvidence_WebsiteList.Size(m) +} +func (m *PolicyTopicEvidence_WebsiteList) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEvidence_WebsiteList.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEvidence_WebsiteList proto.InternalMessageInfo + +func (m *PolicyTopicEvidence_WebsiteList) GetWebsites() []*wrappers.StringValue { + if m != nil { + return m.Websites + } + return nil +} + +// A list of strings found in a destination page that caused a policy +// finding. +// +// Next Id: 2 +type PolicyTopicEvidence_DestinationTextList struct { + // List of text found in the resource's destination page. + DestinationTexts []*wrappers.StringValue `protobuf:"bytes,1,rep,name=destination_texts,json=destinationTexts,proto3" json:"destination_texts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEvidence_DestinationTextList) Reset() { + *m = PolicyTopicEvidence_DestinationTextList{} +} +func (m *PolicyTopicEvidence_DestinationTextList) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEvidence_DestinationTextList) ProtoMessage() {} +func (*PolicyTopicEvidence_DestinationTextList) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{3, 2} +} +func (m *PolicyTopicEvidence_DestinationTextList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.Unmarshal(m, b) +} +func (m *PolicyTopicEvidence_DestinationTextList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEvidence_DestinationTextList) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.Merge(dst, src) +} +func (m *PolicyTopicEvidence_DestinationTextList) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.Size(m) +} +func (m *PolicyTopicEvidence_DestinationTextList) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEvidence_DestinationTextList proto.InternalMessageInfo + +func (m *PolicyTopicEvidence_DestinationTextList) GetDestinationTexts() []*wrappers.StringValue { + if m != nil { + return m.DestinationTexts + } + return nil +} + +// Evidence of mismatches between the URLs of a resource. +// +// Next Id: 2 +type PolicyTopicEvidence_DestinationMismatch struct { + // The set of URLs that did not match each other. + UrlTypes []enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType `protobuf:"varint,1,rep,packed,name=url_types,json=urlTypes,proto3,enum=google.ads.googleads.v0.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType" json:"url_types,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEvidence_DestinationMismatch) Reset() { + *m = PolicyTopicEvidence_DestinationMismatch{} +} +func (m *PolicyTopicEvidence_DestinationMismatch) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEvidence_DestinationMismatch) ProtoMessage() {} +func (*PolicyTopicEvidence_DestinationMismatch) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{3, 3} +} +func (m *PolicyTopicEvidence_DestinationMismatch) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.Unmarshal(m, b) +} +func (m *PolicyTopicEvidence_DestinationMismatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEvidence_DestinationMismatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.Merge(dst, src) +} +func (m *PolicyTopicEvidence_DestinationMismatch) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.Size(m) +} +func (m *PolicyTopicEvidence_DestinationMismatch) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch proto.InternalMessageInfo + +func (m *PolicyTopicEvidence_DestinationMismatch) GetUrlTypes() []enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType { + if m != nil { + return m.UrlTypes + } + return nil +} + +// Describes the effect on serving that a policy topic entry will have. +// +// Next Id: 5 +type PolicyTopicConstraint struct { + // Specific information about the constraint. + // + // Types that are valid to be assigned to Value: + // *PolicyTopicConstraint_CountryConstraintList_ + // *PolicyTopicConstraint_ResellerConstraint_ + // *PolicyTopicConstraint_CertificateMissingInCountryList + // *PolicyTopicConstraint_CertificateDomainMismatchInCountryList + Value isPolicyTopicConstraint_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicConstraint) Reset() { *m = PolicyTopicConstraint{} } +func (m *PolicyTopicConstraint) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicConstraint) ProtoMessage() {} +func (*PolicyTopicConstraint) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{4} +} +func (m *PolicyTopicConstraint) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicConstraint.Unmarshal(m, b) +} +func (m *PolicyTopicConstraint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicConstraint.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicConstraint) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicConstraint.Merge(dst, src) +} +func (m *PolicyTopicConstraint) XXX_Size() int { + return xxx_messageInfo_PolicyTopicConstraint.Size(m) +} +func (m *PolicyTopicConstraint) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicConstraint.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicConstraint proto.InternalMessageInfo + +type isPolicyTopicConstraint_Value interface { + isPolicyTopicConstraint_Value() +} + +type PolicyTopicConstraint_CountryConstraintList_ struct { + CountryConstraintList *PolicyTopicConstraint_CountryConstraintList `protobuf:"bytes,1,opt,name=country_constraint_list,json=countryConstraintList,proto3,oneof"` +} + +type PolicyTopicConstraint_ResellerConstraint_ struct { + ResellerConstraint *PolicyTopicConstraint_ResellerConstraint `protobuf:"bytes,2,opt,name=reseller_constraint,json=resellerConstraint,proto3,oneof"` +} + +type PolicyTopicConstraint_CertificateMissingInCountryList struct { + CertificateMissingInCountryList *PolicyTopicConstraint_CountryConstraintList `protobuf:"bytes,3,opt,name=certificate_missing_in_country_list,json=certificateMissingInCountryList,proto3,oneof"` +} + +type PolicyTopicConstraint_CertificateDomainMismatchInCountryList struct { + CertificateDomainMismatchInCountryList *PolicyTopicConstraint_CountryConstraintList `protobuf:"bytes,4,opt,name=certificate_domain_mismatch_in_country_list,json=certificateDomainMismatchInCountryList,proto3,oneof"` +} + +func (*PolicyTopicConstraint_CountryConstraintList_) isPolicyTopicConstraint_Value() {} + +func (*PolicyTopicConstraint_ResellerConstraint_) isPolicyTopicConstraint_Value() {} + +func (*PolicyTopicConstraint_CertificateMissingInCountryList) isPolicyTopicConstraint_Value() {} + +func (*PolicyTopicConstraint_CertificateDomainMismatchInCountryList) isPolicyTopicConstraint_Value() {} + +func (m *PolicyTopicConstraint) GetValue() isPolicyTopicConstraint_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *PolicyTopicConstraint) GetCountryConstraintList() *PolicyTopicConstraint_CountryConstraintList { + if x, ok := m.GetValue().(*PolicyTopicConstraint_CountryConstraintList_); ok { + return x.CountryConstraintList + } + return nil +} + +func (m *PolicyTopicConstraint) GetResellerConstraint() *PolicyTopicConstraint_ResellerConstraint { + if x, ok := m.GetValue().(*PolicyTopicConstraint_ResellerConstraint_); ok { + return x.ResellerConstraint + } + return nil +} + +func (m *PolicyTopicConstraint) GetCertificateMissingInCountryList() *PolicyTopicConstraint_CountryConstraintList { + if x, ok := m.GetValue().(*PolicyTopicConstraint_CertificateMissingInCountryList); ok { + return x.CertificateMissingInCountryList + } + return nil +} + +func (m *PolicyTopicConstraint) GetCertificateDomainMismatchInCountryList() *PolicyTopicConstraint_CountryConstraintList { + if x, ok := m.GetValue().(*PolicyTopicConstraint_CertificateDomainMismatchInCountryList); ok { + return x.CertificateDomainMismatchInCountryList + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*PolicyTopicConstraint) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _PolicyTopicConstraint_OneofMarshaler, _PolicyTopicConstraint_OneofUnmarshaler, _PolicyTopicConstraint_OneofSizer, []interface{}{ + (*PolicyTopicConstraint_CountryConstraintList_)(nil), + (*PolicyTopicConstraint_ResellerConstraint_)(nil), + (*PolicyTopicConstraint_CertificateMissingInCountryList)(nil), + (*PolicyTopicConstraint_CertificateDomainMismatchInCountryList)(nil), + } +} + +func _PolicyTopicConstraint_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*PolicyTopicConstraint) + // value + switch x := m.Value.(type) { + case *PolicyTopicConstraint_CountryConstraintList_: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CountryConstraintList); err != nil { + return err + } + case *PolicyTopicConstraint_ResellerConstraint_: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ResellerConstraint); err != nil { + return err + } + case *PolicyTopicConstraint_CertificateMissingInCountryList: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CertificateMissingInCountryList); err != nil { + return err + } + case *PolicyTopicConstraint_CertificateDomainMismatchInCountryList: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CertificateDomainMismatchInCountryList); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("PolicyTopicConstraint.Value has unexpected type %T", x) + } + return nil +} + +func _PolicyTopicConstraint_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*PolicyTopicConstraint) + switch tag { + case 1: // value.country_constraint_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicConstraint_CountryConstraintList) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicConstraint_CountryConstraintList_{msg} + return true, err + case 2: // value.reseller_constraint + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicConstraint_ResellerConstraint) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicConstraint_ResellerConstraint_{msg} + return true, err + case 3: // value.certificate_missing_in_country_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicConstraint_CountryConstraintList) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicConstraint_CertificateMissingInCountryList{msg} + return true, err + case 4: // value.certificate_domain_mismatch_in_country_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PolicyTopicConstraint_CountryConstraintList) + err := b.DecodeMessage(msg) + m.Value = &PolicyTopicConstraint_CertificateDomainMismatchInCountryList{msg} + return true, err + default: + return false, nil + } +} + +func _PolicyTopicConstraint_OneofSizer(msg proto.Message) (n int) { + m := msg.(*PolicyTopicConstraint) + // value + switch x := m.Value.(type) { + case *PolicyTopicConstraint_CountryConstraintList_: + s := proto.Size(x.CountryConstraintList) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicConstraint_ResellerConstraint_: + s := proto.Size(x.ResellerConstraint) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicConstraint_CertificateMissingInCountryList: + s := proto.Size(x.CertificateMissingInCountryList) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PolicyTopicConstraint_CertificateDomainMismatchInCountryList: + s := proto.Size(x.CertificateDomainMismatchInCountryList) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A list of countries where a resource's serving is constrained. +// +// Next Id: 3 +type PolicyTopicConstraint_CountryConstraintList struct { + // Total number of countries targeted by the resource. + TotalTargetedCountries *wrappers.Int32Value `protobuf:"bytes,1,opt,name=total_targeted_countries,json=totalTargetedCountries,proto3" json:"total_targeted_countries,omitempty"` + // Countries in which serving is restricted. + Countries []*PolicyTopicConstraint_CountryConstraint `protobuf:"bytes,2,rep,name=countries,proto3" json:"countries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicConstraint_CountryConstraintList) Reset() { + *m = PolicyTopicConstraint_CountryConstraintList{} +} +func (m *PolicyTopicConstraint_CountryConstraintList) String() string { + return proto.CompactTextString(m) +} +func (*PolicyTopicConstraint_CountryConstraintList) ProtoMessage() {} +func (*PolicyTopicConstraint_CountryConstraintList) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{4, 0} +} +func (m *PolicyTopicConstraint_CountryConstraintList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.Unmarshal(m, b) +} +func (m *PolicyTopicConstraint_CountryConstraintList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicConstraint_CountryConstraintList) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.Merge(dst, src) +} +func (m *PolicyTopicConstraint_CountryConstraintList) XXX_Size() int { + return xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.Size(m) +} +func (m *PolicyTopicConstraint_CountryConstraintList) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList proto.InternalMessageInfo + +func (m *PolicyTopicConstraint_CountryConstraintList) GetTotalTargetedCountries() *wrappers.Int32Value { + if m != nil { + return m.TotalTargetedCountries + } + return nil +} + +func (m *PolicyTopicConstraint_CountryConstraintList) GetCountries() []*PolicyTopicConstraint_CountryConstraint { + if m != nil { + return m.Countries + } + return nil +} + +// Indicates that a policy topic was constrained due to disapproval of the +// website for reseller purposes. +// +// Next Id: 1 +type PolicyTopicConstraint_ResellerConstraint struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicConstraint_ResellerConstraint) Reset() { + *m = PolicyTopicConstraint_ResellerConstraint{} +} +func (m *PolicyTopicConstraint_ResellerConstraint) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicConstraint_ResellerConstraint) ProtoMessage() {} +func (*PolicyTopicConstraint_ResellerConstraint) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{4, 1} +} +func (m *PolicyTopicConstraint_ResellerConstraint) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.Unmarshal(m, b) +} +func (m *PolicyTopicConstraint_ResellerConstraint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicConstraint_ResellerConstraint) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.Merge(dst, src) +} +func (m *PolicyTopicConstraint_ResellerConstraint) XXX_Size() int { + return xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.Size(m) +} +func (m *PolicyTopicConstraint_ResellerConstraint) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint proto.InternalMessageInfo + +// Indicates that a resource's ability to serve in a particular country is +// constrained. +// +// Next Id: 2 +type PolicyTopicConstraint_CountryConstraint struct { + // Geo target constant resource name of the country in which serving is + // constrained. + CountryCriterion *wrappers.StringValue `protobuf:"bytes,1,opt,name=country_criterion,json=countryCriterion,proto3" json:"country_criterion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicConstraint_CountryConstraint) Reset() { + *m = PolicyTopicConstraint_CountryConstraint{} +} +func (m *PolicyTopicConstraint_CountryConstraint) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicConstraint_CountryConstraint) ProtoMessage() {} +func (*PolicyTopicConstraint_CountryConstraint) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_92661ff34caa4cee, []int{4, 2} +} +func (m *PolicyTopicConstraint_CountryConstraint) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.Unmarshal(m, b) +} +func (m *PolicyTopicConstraint_CountryConstraint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicConstraint_CountryConstraint) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.Merge(dst, src) +} +func (m *PolicyTopicConstraint_CountryConstraint) XXX_Size() int { + return xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.Size(m) +} +func (m *PolicyTopicConstraint_CountryConstraint) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicConstraint_CountryConstraint proto.InternalMessageInfo + +func (m *PolicyTopicConstraint_CountryConstraint) GetCountryCriterion() *wrappers.StringValue { + if m != nil { + return m.CountryCriterion + } + return nil +} + +func init() { + proto.RegisterType((*PolicyViolationKey)(nil), "google.ads.googleads.v0.common.PolicyViolationKey") + proto.RegisterType((*PolicyValidationParameter)(nil), "google.ads.googleads.v0.common.PolicyValidationParameter") + proto.RegisterType((*PolicyTopicEntry)(nil), "google.ads.googleads.v0.common.PolicyTopicEntry") + proto.RegisterType((*PolicyTopicEvidence)(nil), "google.ads.googleads.v0.common.PolicyTopicEvidence") + proto.RegisterType((*PolicyTopicEvidence_TextList)(nil), "google.ads.googleads.v0.common.PolicyTopicEvidence.TextList") + proto.RegisterType((*PolicyTopicEvidence_WebsiteList)(nil), "google.ads.googleads.v0.common.PolicyTopicEvidence.WebsiteList") + proto.RegisterType((*PolicyTopicEvidence_DestinationTextList)(nil), "google.ads.googleads.v0.common.PolicyTopicEvidence.DestinationTextList") + proto.RegisterType((*PolicyTopicEvidence_DestinationMismatch)(nil), "google.ads.googleads.v0.common.PolicyTopicEvidence.DestinationMismatch") + proto.RegisterType((*PolicyTopicConstraint)(nil), "google.ads.googleads.v0.common.PolicyTopicConstraint") + proto.RegisterType((*PolicyTopicConstraint_CountryConstraintList)(nil), "google.ads.googleads.v0.common.PolicyTopicConstraint.CountryConstraintList") + proto.RegisterType((*PolicyTopicConstraint_ResellerConstraint)(nil), "google.ads.googleads.v0.common.PolicyTopicConstraint.ResellerConstraint") + proto.RegisterType((*PolicyTopicConstraint_CountryConstraint)(nil), "google.ads.googleads.v0.common.PolicyTopicConstraint.CountryConstraint") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/policy.proto", fileDescriptor_policy_92661ff34caa4cee) +} + +var fileDescriptor_policy_92661ff34caa4cee = []byte{ + // 964 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x96, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0xb3, 0x4e, 0xda, 0xd8, 0xcf, 0x6d, 0x94, 0x4e, 0x6a, 0x6a, 0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0, 0xe4, 0x68, 0xfb, 0xc4, + 0x18, 0x9c, 0xde, 0xd4, 0x81, 0x77, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x05, 0x08, 0x96, + 0xf8, 0x0b, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/real_time_bidding_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/real_time_bidding_setting.pb.go new file mode 100644 index 000000000..6e68391c6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/real_time_bidding_setting.pb.go @@ -0,0 +1,90 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/real_time_bidding_setting.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Settings for Real-Time Bidding, a feature only available for campaigns +// targeting the Ad Exchange network. +type RealTimeBiddingSetting struct { + // Whether the campaign is opted in to real-time bidding. + OptIn *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_in,json=optIn,proto3" json:"opt_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RealTimeBiddingSetting) Reset() { *m = RealTimeBiddingSetting{} } +func (m *RealTimeBiddingSetting) String() string { return proto.CompactTextString(m) } +func (*RealTimeBiddingSetting) ProtoMessage() {} +func (*RealTimeBiddingSetting) Descriptor() ([]byte, []int) { + return fileDescriptor_real_time_bidding_setting_bb30570aed4e7c68, []int{0} +} +func (m *RealTimeBiddingSetting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RealTimeBiddingSetting.Unmarshal(m, b) +} +func (m *RealTimeBiddingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RealTimeBiddingSetting.Marshal(b, m, deterministic) +} +func (dst *RealTimeBiddingSetting) XXX_Merge(src proto.Message) { + xxx_messageInfo_RealTimeBiddingSetting.Merge(dst, src) +} +func (m *RealTimeBiddingSetting) XXX_Size() int { + return xxx_messageInfo_RealTimeBiddingSetting.Size(m) +} +func (m *RealTimeBiddingSetting) XXX_DiscardUnknown() { + xxx_messageInfo_RealTimeBiddingSetting.DiscardUnknown(m) +} + +var xxx_messageInfo_RealTimeBiddingSetting proto.InternalMessageInfo + +func (m *RealTimeBiddingSetting) GetOptIn() *wrappers.BoolValue { + if m != nil { + return m.OptIn + } + return nil +} + +func init() { + proto.RegisterType((*RealTimeBiddingSetting)(nil), "google.ads.googleads.v0.common.RealTimeBiddingSetting") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/real_time_bidding_setting.proto", fileDescriptor_real_time_bidding_setting_bb30570aed4e7c68) +} + +var fileDescriptor_real_time_bidding_setting_bb30570aed4e7c68 = []byte{ + // 269 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, + 0x18, 0x86, 0xe9, 0xc4, 0x1d, 0xea, 0x6d, 0x07, 0x91, 0x09, 0x43, 0x76, 0xf2, 0xf4, 0xa5, 0xea, + 0x51, 0x10, 0x5a, 0x85, 0x21, 0x5e, 0xc6, 0x94, 0x1e, 0xa4, 0x50, 0xd2, 0x25, 0x86, 0x40, 0x9a, + 0x2f, 0x24, 0xd9, 0xfc, 0x3f, 0x1e, 0xfd, 0x29, 0xde, 0xfc, 0x47, 0xd2, 0x7e, 0x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, 0x54, 0xb9, 0x08, 0xd5, 0xa1, 0x50, 0x95, 0x59, 0x45, 0x85, 0x66, 0xda, 0x0f, 0xdf, 0xfc, + 0x04, 0x00, 0x00, 0xff, 0xff, 0x06, 0x56, 0x26, 0xd9, 0xa9, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/tag_snippet.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/tag_snippet.pb.go new file mode 100644 index 000000000..4d7d4710c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/tag_snippet.pb.go @@ -0,0 +1,128 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/tag_snippet.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The site tag and event snippet pair for a TrackingCodeType. +type TagSnippet struct { + // The type of the generated tag snippets for tracking conversions. + Type enums.TrackingCodeTypeEnum_TrackingCodeType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.TrackingCodeTypeEnum_TrackingCodeType" json:"type,omitempty"` + // The format of the web page where the tracking tag and snippet will be + // installed, e.g. HTML. + PageFormat enums.TrackingCodePageFormatEnum_TrackingCodePageFormat `protobuf:"varint,2,opt,name=page_format,json=pageFormat,proto3,enum=google.ads.googleads.v0.enums.TrackingCodePageFormatEnum_TrackingCodePageFormat" json:"page_format,omitempty"` + // The site tag that adds visitors to your basic remarketing lists and sets + // new cookies on your domain. + GlobalSiteTag *wrappers.StringValue `protobuf:"bytes,3,opt,name=global_site_tag,json=globalSiteTag,proto3" json:"global_site_tag,omitempty"` + // The event snippet that works with the site tag to track actions that + // should be counted as conversions. + EventSnippet *wrappers.StringValue `protobuf:"bytes,4,opt,name=event_snippet,json=eventSnippet,proto3" json:"event_snippet,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TagSnippet) Reset() { *m = TagSnippet{} } +func (m *TagSnippet) String() string { return proto.CompactTextString(m) } +func (*TagSnippet) ProtoMessage() {} +func (*TagSnippet) Descriptor() ([]byte, []int) { + return fileDescriptor_tag_snippet_41d6e556b94abd18, []int{0} +} +func (m *TagSnippet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TagSnippet.Unmarshal(m, b) +} +func (m *TagSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TagSnippet.Marshal(b, m, deterministic) +} +func (dst *TagSnippet) XXX_Merge(src proto.Message) { + xxx_messageInfo_TagSnippet.Merge(dst, src) +} +func (m *TagSnippet) XXX_Size() int { + return xxx_messageInfo_TagSnippet.Size(m) +} +func (m *TagSnippet) XXX_DiscardUnknown() { + xxx_messageInfo_TagSnippet.DiscardUnknown(m) +} + +var xxx_messageInfo_TagSnippet proto.InternalMessageInfo + +func (m *TagSnippet) GetType() enums.TrackingCodeTypeEnum_TrackingCodeType { + if m != nil { + return m.Type + } + return enums.TrackingCodeTypeEnum_UNSPECIFIED +} + +func (m *TagSnippet) GetPageFormat() enums.TrackingCodePageFormatEnum_TrackingCodePageFormat { + if m != nil { + return m.PageFormat + } + return enums.TrackingCodePageFormatEnum_UNSPECIFIED +} + +func (m *TagSnippet) GetGlobalSiteTag() *wrappers.StringValue { + if m != nil { + return m.GlobalSiteTag + } + return nil +} + +func (m *TagSnippet) GetEventSnippet() *wrappers.StringValue { + if m != nil { + return m.EventSnippet + } + return nil +} + +func init() { + proto.RegisterType((*TagSnippet)(nil), "google.ads.googleads.v0.common.TagSnippet") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/tag_snippet.proto", fileDescriptor_tag_snippet_41d6e556b94abd18) +} + +var fileDescriptor_tag_snippet_41d6e556b94abd18 = []byte{ + // 387 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x41, 0xcb, 0xda, 0x30, + 0x1c, 0xc6, 0x69, 0xdf, 0x97, 0x1d, 0xe2, 0x9c, 0xd0, 0x53, 0x91, 0x21, 0xe2, 0xc9, 0x53, 0x52, + 0x1c, 0xec, 0x32, 0x76, 0xa8, 0xba, 0x79, 0x2d, 0x5a, 0x64, 0x8c, 0x42, 0x89, 0xed, 0xdf, 0x50, + 0xd6, 0x26, 0x59, 0x93, 0x3a, 0xfc, 0x3a, 0x3b, 0xee, 0x7b, 0xec, 0xb2, 0x8f, 0xb1, 0x4f, 0x32, + 0x9a, 0xb4, 0x3a, 0x10, 0xc7, 0x3c, 0xf5, 0x69, 0xf3, 0xfc, 0x9e, 0xa7, 0x49, 0xfe, 0x28, 0x60, + 0x42, 0xb0, 0x12, 0x08, 0xcd, 0x15, 0xb1, 0xb2, 0x55, 0xa7, 0x80, 0x64, 0xa2, 0xaa, 0x04, 0x27, + 0x9a, 0xb2, 0x54, 0xf1, 0x42, 0x4a, 0xd0, 0x58, 0xd6, 0x42, 0x0b, 0x6f, 0x62, 0x6d, 0x98, 0xe6, + 0x0a, 0x5f, 0x08, 0x7c, 0x0a, 0xb0, 0x25, 0xc6, 0xef, 0xef, 0x25, 0x02, 0x6f, 0x2a, 0x45, 0x74, + 0x4d, 0xb3, 0x2f, 0x05, 0x67, 0x69, 0x26, 0x72, 0x48, 0x25, 0x65, 0x90, 0x1e, 0x45, 0x5d, 0xd1, + 0x2e, 0x7e, 0xfc, 0x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x4c, 0xdf, 0xd9, 0xc7, 0x77, + 0xf7, 0x69, 0x13, 0x86, 0x3f, 0xdc, 0xc9, 0xc6, 0x86, 0x85, 0xb9, 0xc2, 0x56, 0xb6, 0x6a, 0x1f, + 0xe0, 0x95, 0xb1, 0xfd, 0xea, 0x0d, 0x49, 0x98, 0xab, 0xe4, 0x62, 0x48, 0xf6, 0x41, 0x62, 0x0d, + 0x87, 0x17, 0xa6, 0xf8, 0xcd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xc4, 0x9f, 0x11, 0x1e, + 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/user_lists.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/user_lists.pb.go new file mode 100644 index 000000000..246acbac9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/user_lists.pb.go @@ -0,0 +1,172 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/user_lists.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// SimilarUserList is a list of users which are similar to users from another +// UserList. These lists are read-only and automatically created by Google. +type SimilarUserListInfo struct { + // Seed UserList from which this list is derived. + SeedUserList *wrappers.StringValue `protobuf:"bytes,1,opt,name=seed_user_list,json=seedUserList,proto3" json:"seed_user_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SimilarUserListInfo) Reset() { *m = SimilarUserListInfo{} } +func (m *SimilarUserListInfo) String() string { return proto.CompactTextString(m) } +func (*SimilarUserListInfo) ProtoMessage() {} +func (*SimilarUserListInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_user_lists_7f01f78cb9521749, []int{0} +} +func (m *SimilarUserListInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SimilarUserListInfo.Unmarshal(m, b) +} +func (m *SimilarUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SimilarUserListInfo.Marshal(b, m, deterministic) +} +func (dst *SimilarUserListInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SimilarUserListInfo.Merge(dst, src) +} +func (m *SimilarUserListInfo) XXX_Size() int { + return xxx_messageInfo_SimilarUserListInfo.Size(m) +} +func (m *SimilarUserListInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SimilarUserListInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SimilarUserListInfo proto.InternalMessageInfo + +func (m *SimilarUserListInfo) GetSeedUserList() *wrappers.StringValue { + if m != nil { + return m.SeedUserList + } + return nil +} + +// UserList of CRM users provided by the advertiser. +type CrmBasedUserListInfo struct { + // A string that uniquely identifies a mobile application from which the data + // was collected to the Google Ads API. + // For iOS, the ID string is the 9 digit string that appears at the end of an + // App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is + // http://itunes.apple.com/us/app/flood-it!-2/id476943146). + // For Android, the ID string is the application's package name + // (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link + // https://play.google.com/store/apps/details?id=com.labpixies.colordrips). + // Required when creating CrmBasedUserList for uploading mobile advertising + // IDs. + AppId *wrappers.StringValue `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` + // Matching key type of the list. + // Mixed data types are not allowed on the same list. + // This field is required for an ADD operation. + UploadKeyType enums.CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType `protobuf:"varint,2,opt,name=upload_key_type,json=uploadKeyType,proto3,enum=google.ads.googleads.v0.enums.CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType" json:"upload_key_type,omitempty"` + // Data source of the list. Default value is FIRST_PARTY. + // Only whitelisted customers can create third party sourced crm lists. + DataSourceType enums.UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType `protobuf:"varint,3,opt,name=data_source_type,json=dataSourceType,proto3,enum=google.ads.googleads.v0.enums.UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType" json:"data_source_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CrmBasedUserListInfo) Reset() { *m = CrmBasedUserListInfo{} } +func (m *CrmBasedUserListInfo) String() string { return proto.CompactTextString(m) } +func (*CrmBasedUserListInfo) ProtoMessage() {} +func (*CrmBasedUserListInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_user_lists_7f01f78cb9521749, []int{1} +} +func (m *CrmBasedUserListInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CrmBasedUserListInfo.Unmarshal(m, b) +} +func (m *CrmBasedUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CrmBasedUserListInfo.Marshal(b, m, deterministic) +} +func (dst *CrmBasedUserListInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CrmBasedUserListInfo.Merge(dst, src) +} +func (m *CrmBasedUserListInfo) XXX_Size() int { + return xxx_messageInfo_CrmBasedUserListInfo.Size(m) +} +func (m *CrmBasedUserListInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CrmBasedUserListInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_CrmBasedUserListInfo proto.InternalMessageInfo + +func (m *CrmBasedUserListInfo) GetAppId() *wrappers.StringValue { + if m != nil { + return m.AppId + } + return nil +} + +func (m *CrmBasedUserListInfo) GetUploadKeyType() enums.CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType { + if m != nil { + return m.UploadKeyType + } + return enums.CustomerMatchUploadKeyTypeEnum_UNSPECIFIED +} + +func (m *CrmBasedUserListInfo) GetDataSourceType() enums.UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType { + if m != nil { + return m.DataSourceType + } + return enums.UserListCrmDataSourceTypeEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*SimilarUserListInfo)(nil), "google.ads.googleads.v0.common.SimilarUserListInfo") + proto.RegisterType((*CrmBasedUserListInfo)(nil), "google.ads.googleads.v0.common.CrmBasedUserListInfo") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/user_lists.proto", fileDescriptor_user_lists_7f01f78cb9521749) +} + +var fileDescriptor_user_lists_7f01f78cb9521749 = []byte{ + // 427 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6e, 0xd4, 0x30, + 0x10, 0xc6, 0x95, 0x54, 0xf4, 0x10, 0x20, 0xa0, 0x85, 0xc3, 0x0a, 0xa1, 0xaa, 0xda, 0x53, 0x4f, + 0x76, 0xd4, 0x1e, 0x39, 0x25, 0x29, 0xaa, 0x2a, 0x40, 0xaa, 0x76, 0x69, 0x04, 0x28, 0x92, 0xe5, + 0xc6, 0x6e, 0x88, 0x88, 0x63, 0xcb, 0x63, 0x17, 0xe5, 0xc6, 0xb3, 0x70, 0xe4, 0x39, 0x38, 0x71, + 0xe3, 0x8d, 0x50, 0x9c, 0x3f, 0x94, 0x95, 0xb2, 0xcb, 0x69, 0x67, 0xd6, 0x33, 0xbf, 0xf9, 0xe6, + 0xcb, 0x04, 0xb8, 0x94, 0xb2, 0xac, 0x39, 0xa6, 0x0c, 0x86, 0xb0, 0x8b, 0xee, 0x22, 0x5c, 0x48, + 0x21, 0x64, 0x83, 0x2d, 0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xd7, 0xef, 0x3a, 0xab, 0xaf, 0x1d, 0xe2, + 0x0d, 0x6f, 0xdf, 0xb7, 0x8a, 0xbf, 0x6e, 0xac, 0xd8, 0xf1, 0xbc, 0x7e, 0x6c, 0xef, 0xa7, 0x9d, + 0x84, 0xa7, 0xdb, 0x36, 0x2f, 0x0f, 0x9c, 0x86, 0x6c, 0x8f, 0x86, 0x71, 0xff, 0x54, 0x8b, 0x73, + 0x6a, 0xe8, 0xc6, 0x01, 0x26, 0x09, 0xb3, 0xaf, 0xeb, 0x90, 0xfd, 0x93, 0x27, 0x3f, 0xbd, 0x60, + 0x55, 0x48, 0x81, 0x76, 0x5f, 0x5f, 0x12, 0x8e, 0x44, 0xb8, 0xea, 0x2c, 0xbd, 0xf2, 0x3e, 0x9d, + 0x0f, 0x1d, 0xa5, 0xac, 0x69, 0x53, 0x22, 0xa9, 0x4b, 0x5c, 0xf2, 0xc6, 0x19, 0x3e, 0xde, 0x96, + 0xaa, 0x60, 0xee, 0xfe, 0x5f, 0xf5, 0x3f, 0xdf, 0xfd, 0x83, 0x8b, 0x38, 0xfe, 0xe1, 0x1f, 0x5d, + 0xf4, 0xb0, 0x98, 0x01, 0xea, 0xc3, 0x2e, 0xca, 0x22, 0x94, 0xba, 0xb2, 0x5f, 0x63, 0x41, 0x1e, + 0x33, 0xc8, 0xa7, 0x82, 0x3c, 0x8b, 0xf2, 0xbe, 0xe0, 0xe6, 0xd0, 0x0d, 0x3e, 0xfb, 0x13, 0x00, + 0x00, 0xff, 0xff, 0x74, 0x93, 0xe3, 0x13, 0x77, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/value.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/value.pb.go new file mode 100644 index 000000000..eded53842 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/common/value.pb.go @@ -0,0 +1,277 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/common/value.proto + +package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A generic data container. +type Value struct { + // A value. + // + // Types that are valid to be assigned to Value: + // *Value_BooleanValue + // *Value_Int64Value + // *Value_FloatValue + // *Value_DoubleValue + // *Value_StringValue + Value isValue_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Value) Reset() { *m = Value{} } +func (m *Value) String() string { return proto.CompactTextString(m) } +func (*Value) ProtoMessage() {} +func (*Value) Descriptor() ([]byte, []int) { + return fileDescriptor_value_e9174d7d4390b938, []int{0} +} +func (m *Value) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Value.Unmarshal(m, b) +} +func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Value.Marshal(b, m, deterministic) +} +func (dst *Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_Value.Merge(dst, src) +} +func (m *Value) XXX_Size() int { + return xxx_messageInfo_Value.Size(m) +} +func (m *Value) XXX_DiscardUnknown() { + xxx_messageInfo_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_Value proto.InternalMessageInfo + +type isValue_Value interface { + isValue_Value() +} + +type Value_BooleanValue struct { + BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"` +} + +type Value_Int64Value struct { + Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"` +} + +type Value_FloatValue struct { + FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3,oneof"` +} + +type Value_DoubleValue struct { + DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"` +} + +type Value_StringValue struct { + StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +func (*Value_BooleanValue) isValue_Value() {} + +func (*Value_Int64Value) isValue_Value() {} + +func (*Value_FloatValue) isValue_Value() {} + +func (*Value_DoubleValue) isValue_Value() {} + +func (*Value_StringValue) isValue_Value() {} + +func (m *Value) GetValue() isValue_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *Value) GetBooleanValue() bool { + if x, ok := m.GetValue().(*Value_BooleanValue); ok { + return x.BooleanValue + } + return false +} + +func (m *Value) GetInt64Value() int64 { + if x, ok := m.GetValue().(*Value_Int64Value); ok { + return x.Int64Value + } + return 0 +} + +func (m *Value) GetFloatValue() float32 { + if x, ok := m.GetValue().(*Value_FloatValue); ok { + return x.FloatValue + } + return 0 +} + +func (m *Value) GetDoubleValue() float64 { + if x, ok := m.GetValue().(*Value_DoubleValue); ok { + return x.DoubleValue + } + return 0 +} + +func (m *Value) GetStringValue() string { + if x, ok := m.GetValue().(*Value_StringValue); ok { + return x.StringValue + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{ + (*Value_BooleanValue)(nil), + (*Value_Int64Value)(nil), + (*Value_FloatValue)(nil), + (*Value_DoubleValue)(nil), + (*Value_StringValue)(nil), + } +} + +func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Value) + // value + switch x := m.Value.(type) { + case *Value_BooleanValue: + t := uint64(0) + if x.BooleanValue { + t = 1 + } + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(t) + case *Value_Int64Value: + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Int64Value)) + case *Value_FloatValue: + b.EncodeVarint(3<<3 | proto.WireFixed32) + b.EncodeFixed32(uint64(math.Float32bits(x.FloatValue))) + case *Value_DoubleValue: + b.EncodeVarint(4<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.DoubleValue)) + case *Value_StringValue: + b.EncodeVarint(5<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case nil: + default: + return fmt.Errorf("Value.Value has unexpected type %T", x) + } + return nil +} + +func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Value) + switch tag { + case 1: // value.boolean_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Value = &Value_BooleanValue{x != 0} + return true, err + case 2: // value.int64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Value = &Value_Int64Value{int64(x)} + return true, err + case 3: // value.float_value + if wire != proto.WireFixed32 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed32() + m.Value = &Value_FloatValue{math.Float32frombits(uint32(x))} + return true, err + case 4: // value.double_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.Value = &Value_DoubleValue{math.Float64frombits(x)} + return true, err + case 5: // value.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Value = &Value_StringValue{x} + return true, err + default: + return false, nil + } +} + +func _Value_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Value) + // value + switch x := m.Value.(type) { + case *Value_BooleanValue: + n += 1 // tag and wire + n += 1 + case *Value_Int64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Int64Value)) + case *Value_FloatValue: + n += 1 // tag and wire + n += 4 + case *Value_DoubleValue: + n += 1 // tag and wire + n += 8 + case *Value_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*Value)(nil), "google.ads.googleads.v0.common.Value") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/common/value.proto", fileDescriptor_value_e9174d7d4390b938) +} + +var fileDescriptor_value_e9174d7d4390b938 = []byte{ + // 292 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd0, 0x3f, 0x4f, 0x83, 0x40, + 0x18, 0x06, 0xf0, 0x1e, 0xb5, 0xfe, 0xb9, 0xd6, 0xa5, 0x93, 0x53, 0x83, 0x35, 0x26, 0xc4, 0xe1, + 0x20, 0xd1, 0xb8, 0x38, 0x81, 0x26, 0x65, 0x6c, 0x18, 0x18, 0x0c, 0x89, 0x39, 0x0a, 0x5e, 0x48, + 0x8e, 0x7b, 0x1b, 0x8e, 0xf2, 0x81, 0x1c, 0xfd, 0x14, 0x6e, 0x26, 0x7e, 0x2a, 0x73, 0xf7, 0x5e, + 0xd9, 0x74, 0xe2, 0xc9, 0xc3, 0x8f, 0x23, 0xf7, 0xd0, 0x3b, 0x01, 0x20, 0x64, 0x1d, 0xf2, 0x4a, + 0x87, 0x18, 0x4d, 0x1a, 0xa2, 0x70, 0x07, 0x6d, 0x0b, 0x2a, 0x1c, 0xb8, 0x3c, 0xd4, 0x6c, 0xdf, + 0x41, 0x0f, 0xcb, 0x15, 0x02, 0xc6, 0x2b, 0xcd, 0x46, 0xcb, 0x86, 0x88, 0xa1, 0x5d, 0x7f, 0x13, + 0x3a, 0xcb, 0x8d, 0x5f, 0xde, 0xd2, 0xcb, 0x12, 0x40, 0xd6, 0x5c, 0xbd, 0xd9, 0x03, 0xae, 0x88, + 0x4f, 0x82, 0xf3, 0x74, 0x92, 0x2d, 0x5c, 0x8d, 0xec, 0x9a, 0xce, 0x1b, 0xd5, 0x3f, 0x3e, 0x38, + 0xe4, 0xf9, 0x24, 0x98, 0xa6, 0x93, 0x8c, 0xda, 0x72, 0x24, 0xef, 0x12, 0x78, 0xef, 0xc8, 0xd4, + 0x27, 0x81, 0x67, 0x88, 0x2d, 0x91, 0xdc, 0xd0, 0x45, 0x05, 0x87, 0x52, 0xd6, 0xce, 0x9c, 0xf8, + 0x24, 0x20, 0xe9, 0x24, 0x9b, 0x63, 0x3b, 0x22, 0xdd, 0x77, 0x8d, 0x12, 0x0e, 0xcd, 0x7c, 0x12, + 0x5c, 0x18, 0x84, 0xad, 0x45, 0xc9, 0x19, 0x9d, 0xd9, 0xb7, 0xc9, 0x17, 0xa1, 0xeb, 0x1d, 0xb4, + 0xec, 0xff, 0x0b, 0x27, 0xd4, 0x7e, 0xb6, 0x35, 0xe3, 0x6c, 0xc9, 0xeb, 0x8b, 0xd3, 0x02, 0x24, + 0x57, 0x82, 0x41, 0x27, 0x42, 0x51, 0x2b, 0x3b, 0xdd, 0x71, 0xda, 0x7d, 0xa3, 0xff, 0x5a, 0xfa, + 0x09, 0x1f, 0x1f, 0xde, 0x74, 0x13, 0xc7, 0x9f, 0xde, 0x6a, 0x83, 0x87, 0xc5, 0x95, 0x66, 0x18, + 0x4d, 0xca, 0x23, 0xf6, 0x6c, 0xd9, 0xcf, 0x11, 0x14, 0x71, 0xa5, 0x8b, 0x11, 0x14, 0x79, 0x54, + 0x20, 0x28, 0x4f, 0xed, 0x8f, 0xef, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa7, 0x0b, 0x36, 0xc8, + 0xe1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/access_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/access_reason.pb.go new file mode 100644 index 000000000..943a2dd67 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/access_reason.pb.go @@ -0,0 +1,128 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/access_reason.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible access reasons. +type AccessReasonEnum_AccessReason int32 + +const ( + // Not specified. + AccessReasonEnum_UNSPECIFIED AccessReasonEnum_AccessReason = 0 + // Used for return value only. Represents value unknown in this version. + AccessReasonEnum_UNKNOWN AccessReasonEnum_AccessReason = 1 + // The entity is owned by the user. + AccessReasonEnum_OWNED AccessReasonEnum_AccessReason = 2 + // The entity is shared to the user. + AccessReasonEnum_SHARED AccessReasonEnum_AccessReason = 3 + // The entity is licensed to the user. + AccessReasonEnum_LICENSED AccessReasonEnum_AccessReason = 4 + // The user subscribed to the entity. + AccessReasonEnum_SUBSCRIBED AccessReasonEnum_AccessReason = 5 + // The entity is accessible to the user. + AccessReasonEnum_AFFILIATED AccessReasonEnum_AccessReason = 6 +) + +var AccessReasonEnum_AccessReason_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "OWNED", + 3: "SHARED", + 4: "LICENSED", + 5: "SUBSCRIBED", + 6: "AFFILIATED", +} +var AccessReasonEnum_AccessReason_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "OWNED": 2, + "SHARED": 3, + "LICENSED": 4, + "SUBSCRIBED": 5, + "AFFILIATED": 6, +} + +func (x AccessReasonEnum_AccessReason) String() string { + return proto.EnumName(AccessReasonEnum_AccessReason_name, int32(x)) +} +func (AccessReasonEnum_AccessReason) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_access_reason_757eb5f4e3d691fd, []int{0, 0} +} + +// Indicates the way the entity such as user list is related to a user. +type AccessReasonEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccessReasonEnum) Reset() { *m = AccessReasonEnum{} } +func (m *AccessReasonEnum) String() string { return proto.CompactTextString(m) } +func (*AccessReasonEnum) ProtoMessage() {} +func (*AccessReasonEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_access_reason_757eb5f4e3d691fd, []int{0} +} +func (m *AccessReasonEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccessReasonEnum.Unmarshal(m, b) +} +func (m *AccessReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccessReasonEnum.Marshal(b, m, deterministic) +} +func (dst *AccessReasonEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessReasonEnum.Merge(dst, src) +} +func (m *AccessReasonEnum) XXX_Size() int { + return xxx_messageInfo_AccessReasonEnum.Size(m) +} +func (m *AccessReasonEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AccessReasonEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AccessReasonEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AccessReasonEnum)(nil), "google.ads.googleads.v0.enums.AccessReasonEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AccessReasonEnum_AccessReason", AccessReasonEnum_AccessReason_name, AccessReasonEnum_AccessReason_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/access_reason.proto", fileDescriptor_access_reason_757eb5f4e3d691fd) +} + +var fileDescriptor_access_reason_757eb5f4e3d691fd = []byte{ + // 298 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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 0x14, 0x08, 0x9f, 0x33, + 0xd4, 0xa9, 0xf7, 0x74, 0x3c, 0x16, 0x53, 0x41, 0x1f, 0x38, 0x43, 0x5d, 0xff, 0xcb, 0x81, 0xab, + 0x54, 0x17, 0xe4, 0xdf, 0x69, 0xfd, 0xcb, 0xc3, 0xb1, 0xe6, 0x75, 0xbe, 0xb9, 0xf3, 0xe8, 0xff, + 0x32, 0x4a, 0xaf, 0x92, 0x52, 0x11, 0x5d, 0x29, 0x57, 0xe5, 0xa5, 0x4d, 0xbf, 0x2b, 0x69, 0xfd, + 0x62, 0xfe, 0xe8, 0xec, 0xd6, 0xae, 0x1f, 0xad, 0xf6, 0x84, 0xd2, 0xcf, 0xd6, 0x60, 0xd2, 0x3c, + 0x45, 0x33, 0x43, 0x1a, 0x59, 0xab, 0x85, 0x47, 0xea, 0x5a, 0xcc, 0xf7, 0xce, 0x8f, 0x69, 0x66, + 0xe2, 0xbd, 0x1f, 0x2f, 0xbc, 0xd8, 0xfa, 0xcf, 0x5d, 0xfb, 0xe9, 0xcd, 0x4f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xd0, 0x24, 0x60, 0xa5, 0xa7, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_status.pb.go new file mode 100644 index 000000000..f40a49132 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_status.pb.go @@ -0,0 +1,133 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/account_budget_proposal_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of an AccountBudgetProposal. +type AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus int32 + +const ( + // Not specified. + AccountBudgetProposalStatusEnum_UNSPECIFIED AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 0 + // Used for return value only. Represents value unknown in this version. + AccountBudgetProposalStatusEnum_UNKNOWN AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 1 + // The proposal is pending approval. + AccountBudgetProposalStatusEnum_PENDING AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 2 + // The proposal has been approved but the corresponding billing setup + // has not. This can occur for proposals that set up the first budget + // when signing up for billing or when performing a change of bill-to + // operation. + AccountBudgetProposalStatusEnum_APPROVED_HELD AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 3 + // The proposal has been approved. + AccountBudgetProposalStatusEnum_APPROVED AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 4 + // The proposal has been cancelled by the user. + AccountBudgetProposalStatusEnum_CANCELLED AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 5 + // The proposal has been rejected by the user, e.g. by rejecting an + // acceptance email. + AccountBudgetProposalStatusEnum_REJECTED AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus = 6 +) + +var AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PENDING", + 3: "APPROVED_HELD", + 4: "APPROVED", + 5: "CANCELLED", + 6: "REJECTED", +} +var AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PENDING": 2, + "APPROVED_HELD": 3, + "APPROVED": 4, + "CANCELLED": 5, + "REJECTED": 6, +} + +func (x AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus) String() string { + return proto.EnumName(AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_name, int32(x)) +} +func (AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_status_b35417438480c65c, []int{0, 0} +} + +// Message describing AccountBudgetProposal statuses. +type AccountBudgetProposalStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudgetProposalStatusEnum) Reset() { *m = AccountBudgetProposalStatusEnum{} } +func (m *AccountBudgetProposalStatusEnum) String() string { return proto.CompactTextString(m) } +func (*AccountBudgetProposalStatusEnum) ProtoMessage() {} +func (*AccountBudgetProposalStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_status_b35417438480c65c, []int{0} +} +func (m *AccountBudgetProposalStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudgetProposalStatusEnum.Unmarshal(m, b) +} +func (m *AccountBudgetProposalStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudgetProposalStatusEnum.Marshal(b, m, deterministic) +} +func (dst *AccountBudgetProposalStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudgetProposalStatusEnum.Merge(dst, src) +} +func (m *AccountBudgetProposalStatusEnum) XXX_Size() int { + return xxx_messageInfo_AccountBudgetProposalStatusEnum.Size(m) +} +func (m *AccountBudgetProposalStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudgetProposalStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudgetProposalStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AccountBudgetProposalStatusEnum)(nil), "google.ads.googleads.v0.enums.AccountBudgetProposalStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus", AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_name, AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/account_budget_proposal_status.proto", fileDescriptor_account_budget_proposal_status_b35417438480c65c) +} + +var fileDescriptor_account_budget_proposal_status_b35417438480c65c = []byte{ + // 317 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xf2, 0x30, + 0x00, 0xc7, 0xbf, 0xc1, 0x27, 0x6a, 0x91, 0x58, 0x7b, 0x35, 0x44, 0xe5, 0x01, 0xba, 0x25, 0x1e, + 0x3d, 0x75, 0x6b, 0x45, 0x94, 0x94, 0x06, 0x04, 0x13, 0xb3, 0x64, 0x29, 0x6c, 0x69, 0x4c, 0x60, + 0x5d, 0xe8, 0xc6, 0x23, 0xf8, 0x20, 0x1e, 0x79, 0x14, 0x6f, 0xbe, 0x91, 0x69, 0x07, 0xdc, 0xe4, + 0xd2, 0xfc, 0xdb, 0x7f, 0xfb, 0x6b, 0xfb, 0x03, 0xa1, 0xd2, 0x5a, 0x2d, 0x33, 0x5f, 0xa6, 0xc6, + 0xaf, 0xa3, 0x4d, 0x9b, 0xc0, 0xcf, 0xf2, 0x6a, 0x65, 0x7c, 0xb9, 0x58, 0xe8, 0x2a, 0x2f, 0x93, + 0x79, 0x95, 0xaa, 0xac, 0x4c, 0x8a, 0xb5, 0x2e, 0xb4, 0x91, 0xcb, 0xc4, 0x94, 0xb2, 0xac, 0x0c, + 0x2e, 0xd6, 0xba, 0xd4, 0xa8, 0x5b, 0x1f, 0xc4, 0x32, 0x35, 0xf8, 0xc0, 0xc0, 0x9b, 0x00, 0x3b, + 0x46, 0x6f, 0xeb, 0x81, 0x1b, 0x52, 0x73, 0x42, 0x87, 0x11, 0x3b, 0xca, 0xc4, 0x41, 0x58, 0x5e, + 0xad, 0x7a, 0x9f, 0x1e, 0xb8, 0x3e, 0xb2, 0x07, 0x5d, 0x82, 0xf6, 0x94, 0x4f, 0x04, 0x8b, 0x06, + 0x8f, 0x03, 0x46, 0xe1, 0x3f, 0xd4, 0x06, 0xa7, 0x53, 0xfe, 0xc2, 0x47, 0x6f, 0x1c, 0x7a, 0x76, + 0x22, 0x18, 0xa7, 0x03, 0xde, 0x87, 0x0d, 0x74, 0x05, 0x3a, 0x44, 0x88, 0xf1, 0x68, 0xc6, 0x68, + 0xf2, 0xc4, 0x86, 0x14, 0x36, 0xd1, 0x05, 0x38, 0xdb, 0x2f, 0xc1, 0xff, 0xa8, 0x03, 0xce, 0x23, + 0xc2, 0x23, 0x36, 0x1c, 0x32, 0x0a, 0x4f, 0x6c, 0x39, 0x66, 0xcf, 0x2c, 0x7a, 0x65, 0x14, 0xb6, + 0xc2, 0x1f, 0x0f, 0xdc, 0x2d, 0xf4, 0x0a, 0x1f, 0xfd, 0x52, 0x78, 0x7b, 0xe4, 0xad, 0xc2, 0x3a, + 0x11, 0xde, 0xfb, 0xce, 0x2c, 0x56, 0x7a, 0x29, 0x73, 0x85, 0xf5, 0x5a, 0xf9, 0x2a, 0xcb, 0x9d, + 0xb1, 0xbd, 0xe9, 0xe2, 0xc3, 0xfc, 0x21, 0xfe, 0xc1, 0x8d, 0x5f, 0x8d, 0x66, 0x9f, 0x90, 0x6d, + 0xa3, 0xdb, 0xaf, 0x51, 0x24, 0x35, 0xb8, 0x8e, 0x36, 0xcd, 0x02, 0x6c, 0xdd, 0x99, 0xef, 0x7d, + 0x1f, 0x93, 0xd4, 0xc4, 0x87, 0x3e, 0x9e, 0x05, 0xb1, 0xeb, 0xe7, 0x2d, 0x77, 0xe9, 0xfd, 0x6f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x3d, 0x6f, 0x58, 0xec, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_type.pb.go new file mode 100644 index 000000000..5fb349bce --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_proposal_type.pb.go @@ -0,0 +1,124 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/account_budget_proposal_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible types of an AccountBudgetProposal. +type AccountBudgetProposalTypeEnum_AccountBudgetProposalType int32 + +const ( + // Not specified. + AccountBudgetProposalTypeEnum_UNSPECIFIED AccountBudgetProposalTypeEnum_AccountBudgetProposalType = 0 + // Used for return value only. Represents value unknown in this version. + AccountBudgetProposalTypeEnum_UNKNOWN AccountBudgetProposalTypeEnum_AccountBudgetProposalType = 1 + // Identifies a request to create a new budget. + AccountBudgetProposalTypeEnum_CREATE AccountBudgetProposalTypeEnum_AccountBudgetProposalType = 2 + // Identifies a request to edit an existing budget. + AccountBudgetProposalTypeEnum_UPDATE AccountBudgetProposalTypeEnum_AccountBudgetProposalType = 3 + // Identifies a request to end a budget that has already started. + AccountBudgetProposalTypeEnum_END AccountBudgetProposalTypeEnum_AccountBudgetProposalType = 4 + // Identifies a request to remove a budget that hasn't started yet. + AccountBudgetProposalTypeEnum_REMOVE AccountBudgetProposalTypeEnum_AccountBudgetProposalType = 5 +) + +var AccountBudgetProposalTypeEnum_AccountBudgetProposalType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CREATE", + 3: "UPDATE", + 4: "END", + 5: "REMOVE", +} +var AccountBudgetProposalTypeEnum_AccountBudgetProposalType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CREATE": 2, + "UPDATE": 3, + "END": 4, + "REMOVE": 5, +} + +func (x AccountBudgetProposalTypeEnum_AccountBudgetProposalType) String() string { + return proto.EnumName(AccountBudgetProposalTypeEnum_AccountBudgetProposalType_name, int32(x)) +} +func (AccountBudgetProposalTypeEnum_AccountBudgetProposalType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_type_b26bf84569e65178, []int{0, 0} +} + +// Message describing AccountBudgetProposal types. +type AccountBudgetProposalTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudgetProposalTypeEnum) Reset() { *m = AccountBudgetProposalTypeEnum{} } +func (m *AccountBudgetProposalTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AccountBudgetProposalTypeEnum) ProtoMessage() {} +func (*AccountBudgetProposalTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_type_b26bf84569e65178, []int{0} +} +func (m *AccountBudgetProposalTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudgetProposalTypeEnum.Unmarshal(m, b) +} +func (m *AccountBudgetProposalTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudgetProposalTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AccountBudgetProposalTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudgetProposalTypeEnum.Merge(dst, src) +} +func (m *AccountBudgetProposalTypeEnum) XXX_Size() int { + return xxx_messageInfo_AccountBudgetProposalTypeEnum.Size(m) +} +func (m *AccountBudgetProposalTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudgetProposalTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudgetProposalTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AccountBudgetProposalTypeEnum)(nil), "google.ads.googleads.v0.enums.AccountBudgetProposalTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType", AccountBudgetProposalTypeEnum_AccountBudgetProposalType_name, AccountBudgetProposalTypeEnum_AccountBudgetProposalType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/account_budget_proposal_type.proto", fileDescriptor_account_budget_proposal_type_b26bf84569e65178) +} + +var fileDescriptor_account_budget_proposal_type_b26bf84569e65178 = []byte{ + // 296 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0xbb, 0x30, + 0x1c, 0xc7, 0xff, 0xea, 0x7f, 0x2d, 0xa4, 0x87, 0x89, 0xb7, 0x1d, 0x1c, 0xac, 0x0f, 0x10, 0x85, + 0x1d, 0x77, 0x59, 0xac, 0x59, 0x29, 0x63, 0x56, 0xba, 0xea, 0x60, 0x08, 0x62, 0x35, 0x0b, 0x03, + 0x35, 0xc1, 0x68, 0xa1, 0x4f, 0xb0, 0xf7, 0xd8, 0x71, 0x8f, 0xb2, 0xcb, 0x5e, 0x69, 0x24, 0x69, + 0x7b, 0x73, 0x97, 0xf0, 0x21, 0xdf, 0xe4, 0x93, 0x5f, 0xbe, 0xe0, 0x9e, 0x32, 0x46, 0x6b, 0xe2, + 0x15, 0x95, 0xf0, 0x34, 0x4a, 0xda, 0xfb, 0x1e, 0x69, 0x87, 0x46, 0x78, 0x45, 0x59, 0xb2, 0xa1, + 0xed, 0xf3, 0xdd, 0x50, 0x51, 0xd2, 0xe7, 0xbc, 0x63, 0x9c, 0x89, 0xa2, 0xce, 0xfb, 0x03, 0x27, + 0x90, 0x77, 0xac, 0x67, 0x8e, 0xab, 0xaf, 0xc1, 0xa2, 0x12, 0xf0, 0x6c, 0x80, 0x7b, 0x1f, 0x2a, + 0xc3, 0xfc, 0xc3, 0x00, 0x2e, 0xd2, 0x96, 0x40, 0x49, 0xe2, 0xa3, 0x63, 0x7b, 0xe0, 0x04, 0xb7, + 0x43, 0x33, 0x7f, 0x03, 0x57, 0xa3, 0x07, 0x9c, 0x4b, 0x30, 0x4b, 0xa2, 0xe7, 0x18, 0x2f, 0x56, + 0x0f, 0x2b, 0x1c, 0xda, 0xff, 0x9c, 0x19, 0x98, 0x26, 0xd1, 0x63, 0xb4, 0x7e, 0x89, 0x6c, 0xc3, + 0x01, 0x60, 0xb2, 0xd8, 0x60, 0xb4, 0xc5, 0xb6, 0x29, 0x39, 0x89, 0x43, 0xc9, 0x96, 0x33, 0x05, + 0x16, 0x8e, 0x42, 0xfb, 0xbf, 0xdc, 0xdc, 0xe0, 0xa7, 0x75, 0x8a, 0xed, 0x8b, 0xe0, 0xc7, 0x00, + 0x37, 0x25, 0x6b, 0xe0, 0x9f, 0xf3, 0x06, 0xd7, 0xa3, 0xb3, 0xc4, 0xf2, 0xbb, 0xb1, 0xf1, 0x1a, + 0x1c, 0x05, 0x94, 0xd5, 0x45, 0x4b, 0x21, 0xeb, 0xa8, 0x47, 0x49, 0xab, 0xca, 0x38, 0x55, 0xc8, + 0xdf, 0xc5, 0x48, 0xa3, 0x77, 0x6a, 0xfd, 0x34, 0xad, 0x25, 0x42, 0x5f, 0xa6, 0xbb, 0xd4, 0x2a, + 0x54, 0x09, 0xa8, 0x51, 0x52, 0xea, 0x43, 0x59, 0x8c, 0xf8, 0x3e, 0xe5, 0x19, 0xaa, 0x44, 0x76, + 0xce, 0xb3, 0xd4, 0xcf, 0x54, 0xbe, 0x9b, 0xa8, 0x47, 0x6f, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, + 0x37, 0x86, 0x1d, 0x51, 0xc5, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_status.pb.go new file mode 100644 index 000000000..3467027be --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/account_budget_status.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/account_budget_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of an AccountBudget. +type AccountBudgetStatusEnum_AccountBudgetStatus int32 + +const ( + // Not specified. + AccountBudgetStatusEnum_UNSPECIFIED AccountBudgetStatusEnum_AccountBudgetStatus = 0 + // Used for return value only. Represents value unknown in this version. + AccountBudgetStatusEnum_UNKNOWN AccountBudgetStatusEnum_AccountBudgetStatus = 1 + // The account budget is pending approval. + AccountBudgetStatusEnum_PENDING AccountBudgetStatusEnum_AccountBudgetStatus = 2 + // The account budget has been approved. + AccountBudgetStatusEnum_APPROVED AccountBudgetStatusEnum_AccountBudgetStatus = 3 + // The account budget has been cancelled by the user. + AccountBudgetStatusEnum_CANCELLED AccountBudgetStatusEnum_AccountBudgetStatus = 4 +) + +var AccountBudgetStatusEnum_AccountBudgetStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PENDING", + 3: "APPROVED", + 4: "CANCELLED", +} +var AccountBudgetStatusEnum_AccountBudgetStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PENDING": 2, + "APPROVED": 3, + "CANCELLED": 4, +} + +func (x AccountBudgetStatusEnum_AccountBudgetStatus) String() string { + return proto.EnumName(AccountBudgetStatusEnum_AccountBudgetStatus_name, int32(x)) +} +func (AccountBudgetStatusEnum_AccountBudgetStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_account_budget_status_2620bffae5958f60, []int{0, 0} +} + +// Message describing AccountBudget statuses. +type AccountBudgetStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudgetStatusEnum) Reset() { *m = AccountBudgetStatusEnum{} } +func (m *AccountBudgetStatusEnum) String() string { return proto.CompactTextString(m) } +func (*AccountBudgetStatusEnum) ProtoMessage() {} +func (*AccountBudgetStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_status_2620bffae5958f60, []int{0} +} +func (m *AccountBudgetStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudgetStatusEnum.Unmarshal(m, b) +} +func (m *AccountBudgetStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudgetStatusEnum.Marshal(b, m, deterministic) +} +func (dst *AccountBudgetStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudgetStatusEnum.Merge(dst, src) +} +func (m *AccountBudgetStatusEnum) XXX_Size() int { + return xxx_messageInfo_AccountBudgetStatusEnum.Size(m) +} +func (m *AccountBudgetStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudgetStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudgetStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AccountBudgetStatusEnum)(nil), "google.ads.googleads.v0.enums.AccountBudgetStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AccountBudgetStatusEnum_AccountBudgetStatus", AccountBudgetStatusEnum_AccountBudgetStatus_name, AccountBudgetStatusEnum_AccountBudgetStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/account_budget_status.proto", fileDescriptor_account_budget_status_2620bffae5958f60) +} + +var fileDescriptor_account_budget_status_2620bffae5958f60 = []byte{ + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, + 0x18, 0xc6, 0x5d, 0x27, 0xfe, 0xc9, 0x14, 0x4b, 0x3d, 0xe8, 0x65, 0x07, 0xf7, 0x01, 0xd2, 0x82, + 0x27, 0xf1, 0x94, 0xb6, 0xb1, 0x14, 0x47, 0x16, 0x1c, 0xab, 0x20, 0x95, 0xd1, 0xb5, 0x25, 0x08, + 0x6b, 0x32, 0x96, 0x64, 0xf8, 0x79, 0x3c, 0xfa, 0x4d, 0xf4, 0x53, 0x49, 0x12, 0xb7, 0xd3, 0xf4, + 0x12, 0x9e, 0xf0, 0xe4, 0x97, 0xf7, 0x7d, 0x1e, 0x70, 0xc7, 0x84, 0x60, 0xcb, 0x36, 0xac, 0x1a, + 0x19, 0x3a, 0x69, 0xd4, 0x26, 0x0a, 0x5b, 0xae, 0x3b, 0x19, 0x56, 0x75, 0x2d, 0x34, 0x57, 0xf3, + 0x85, 0x6e, 0x58, 0xab, 0xe6, 0x52, 0x55, 0x4a, 0x4b, 0xb8, 0x5a, 0x0b, 0x25, 0x82, 0xa1, 0x7b, + 0x0f, 0xab, 0x46, 0xc2, 0x1d, 0x0a, 0x37, 0x11, 0xb4, 0xe8, 0xe8, 0x1d, 0x5c, 0x21, 0x47, 0xc7, + 0x16, 0x9e, 0x5a, 0x16, 0x73, 0xdd, 0x8d, 0x5e, 0xc1, 0xe5, 0x1e, 0x2b, 0xb8, 0x00, 0x83, 0x19, + 0x99, 0x52, 0x9c, 0xe4, 0x0f, 0x39, 0x4e, 0xfd, 0x83, 0x60, 0x00, 0x8e, 0x67, 0xe4, 0x91, 0x4c, + 0x9e, 0x89, 0xdf, 0x33, 0x17, 0x8a, 0x49, 0x9a, 0x93, 0xcc, 0xf7, 0x82, 0x33, 0x70, 0x82, 0x28, + 0x7d, 0x9a, 0x14, 0x38, 0xf5, 0xfb, 0xc1, 0x39, 0x38, 0x4d, 0x10, 0x49, 0xf0, 0x78, 0x8c, 0x53, + 0xff, 0x30, 0xfe, 0xea, 0x81, 0x9b, 0x5a, 0x74, 0xf0, 0xdf, 0xfd, 0xe2, 0xeb, 0x3d, 0x2b, 0x50, + 0x13, 0x8c, 0xf6, 0x5e, 0xe2, 0x5f, 0x94, 0x89, 0x65, 0xc5, 0x19, 0x14, 0x6b, 0x16, 0xb2, 0x96, + 0xdb, 0xd8, 0xdb, 0x96, 0x56, 0x6f, 0xf2, 0x8f, 0xd2, 0xee, 0xed, 0xf9, 0xe1, 0xf5, 0x33, 0x84, + 0x3e, 0xbd, 0x61, 0xe6, 0xbe, 0x42, 0x8d, 0x84, 0x4e, 0x1a, 0x55, 0x44, 0xd0, 0x34, 0x21, 0xbf, + 0xb7, 0x7e, 0x89, 0x1a, 0x59, 0xee, 0xfc, 0xb2, 0x88, 0x4a, 0xeb, 0x2f, 0x8e, 0xec, 0xd0, 0xdb, + 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0x1d, 0xbe, 0x41, 0xa8, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_customizer_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_customizer_placeholder_field.pb.go new file mode 100644 index 000000000..8bffac6be --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_customizer_placeholder_field.pb.go @@ -0,0 +1,124 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_customizer_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Ad Customizers placeholder fields. +type AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField int32 + +const ( + // Not specified. + AdCustomizerPlaceholderFieldEnum_UNSPECIFIED AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + AdCustomizerPlaceholderFieldEnum_UNKNOWN AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField = 1 + // Data Type: INT64. Integer value to be inserted. + AdCustomizerPlaceholderFieldEnum_INTEGER AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField = 2 + // Data Type: STRING. Price value to be inserted. + AdCustomizerPlaceholderFieldEnum_PRICE AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField = 3 + // Data Type: DATE_TIME. Date value to be inserted. + AdCustomizerPlaceholderFieldEnum_DATE AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField = 4 + // Data Type: STRING. String value to be inserted. + AdCustomizerPlaceholderFieldEnum_STRING AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField = 5 +) + +var AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INTEGER", + 3: "PRICE", + 4: "DATE", + 5: "STRING", +} +var AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INTEGER": 2, + "PRICE": 3, + "DATE": 4, + "STRING": 5, +} + +func (x AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField) String() string { + return proto.EnumName(AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_name, int32(x)) +} +func (AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_customizer_placeholder_field_2555744dcdb89a47, []int{0, 0} +} + +// Values for Ad Customizer placeholder fields. +type AdCustomizerPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdCustomizerPlaceholderFieldEnum) Reset() { *m = AdCustomizerPlaceholderFieldEnum{} } +func (m *AdCustomizerPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*AdCustomizerPlaceholderFieldEnum) ProtoMessage() {} +func (*AdCustomizerPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_customizer_placeholder_field_2555744dcdb89a47, []int{0} +} +func (m *AdCustomizerPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *AdCustomizerPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *AdCustomizerPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.Merge(dst, src) +} +func (m *AdCustomizerPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.Size(m) +} +func (m *AdCustomizerPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdCustomizerPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdCustomizerPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.AdCustomizerPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField", AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_name, AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_customizer_placeholder_field.proto", fileDescriptor_ad_customizer_placeholder_field_2555744dcdb89a47) +} + +var fileDescriptor_ad_customizer_placeholder_field_2555744dcdb89a47 = []byte{ + // 302 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x3d, 0x4e, 0xf3, 0x30, + 0x1c, 0xc6, 0xdf, 0xf4, 0xeb, 0x05, 0x77, 0xc0, 0xf2, 0x4c, 0x25, 0xda, 0x03, 0x38, 0x91, 0x18, + 0x99, 0xdc, 0xd4, 0x8d, 0x22, 0x24, 0x13, 0xf5, 0x0b, 0x09, 0x45, 0xaa, 0x42, 0x6c, 0x4c, 0x50, + 0x12, 0x47, 0x71, 0xd3, 0x81, 0x43, 0x70, 0x08, 0x46, 0x8e, 0xc2, 0xc8, 0x89, 0x90, 0x13, 0x1a, + 0x26, 0xb2, 0x58, 0x8f, 0xf5, 0xd8, 0x3f, 0xff, 0xfd, 0x03, 0xae, 0x54, 0x4a, 0xa6, 0xc2, 0x8e, + 0xb8, 0xb6, 0x9b, 0x68, 0xd2, 0xd1, 0xb1, 0x45, 0x5e, 0x65, 0xda, 0x8e, 0xf8, 0x3e, 0xae, 0xf4, + 0x41, 0x65, 0xc9, 0xab, 0x28, 0xf7, 0x45, 0x1a, 0xc5, 0xe2, 0x59, 0xa5, 0x5c, 0x94, 0xfb, 0xa7, + 0x44, 0xa4, 0x1c, 0x17, 0xa5, 0x3a, 0x28, 0x34, 0x69, 0x6e, 0xe2, 0x88, 0x6b, 0xdc, 0x42, 0xf0, + 0xd1, 0xc1, 0x35, 0x64, 0xf6, 0x66, 0x81, 0x2b, 0xc2, 0xdd, 0x96, 0x13, 0xfc, 0x62, 0x96, 0x86, + 0x42, 0xf3, 0x2a, 0x9b, 0xbd, 0x80, 0xcb, 0xae, 0x33, 0xe8, 0x02, 0x8c, 0xb7, 0x6c, 0x1d, 0x50, + 0xd7, 0x5f, 0xfa, 0x74, 0x01, 0xff, 0xa1, 0x31, 0xf8, 0xbf, 0x65, 0xb7, 0xec, 0xee, 0x9e, 0x41, + 0xcb, 0x6c, 0x7c, 0xb6, 0xa1, 0x1e, 0x5d, 0xc1, 0x1e, 0x3a, 0x07, 0xc3, 0x60, 0xe5, 0xbb, 0x14, + 0xf6, 0xd1, 0x19, 0x18, 0x2c, 0xc8, 0x86, 0xc2, 0x01, 0x02, 0x60, 0xb4, 0xde, 0xac, 0x7c, 0xe6, + 0xc1, 0xe1, 0xfc, 0xcb, 0x02, 0xd3, 0x58, 0x65, 0xb8, 0x73, 0xec, 0xf9, 0xb4, 0x6b, 0x9e, 0xc0, + 0x7c, 0x3c, 0xb0, 0x1e, 0xe6, 0x3f, 0x0c, 0xa9, 0xd2, 0x28, 0x97, 0x58, 0x95, 0xd2, 0x96, 0x22, + 0xaf, 0xb5, 0x9c, 0x7c, 0x16, 0x89, 0xfe, 0x43, 0xef, 0x4d, 0xbd, 0xbe, 0xf7, 0xfa, 0x1e, 0x21, + 0x1f, 0xbd, 0x89, 0xd7, 0xa0, 0x08, 0xd7, 0xb8, 0x89, 0x26, 0xed, 0x1c, 0x6c, 0xfc, 0xe8, 0xcf, + 0x53, 0x1f, 0x12, 0xae, 0xc3, 0xb6, 0x0f, 0x77, 0x4e, 0x58, 0xf7, 0x8f, 0xa3, 0xfa, 0xd1, 0xeb, + 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x56, 0xb7, 0x95, 0xd2, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_rotation_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_rotation_mode.pb.go new file mode 100644 index 000000000..241baba05 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_rotation_mode.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_group_ad_rotation_mode.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible ad rotation modes of an ad group. +type AdGroupAdRotationModeEnum_AdGroupAdRotationMode int32 + +const ( + // The ad rotation mode has not been specified. + AdGroupAdRotationModeEnum_UNSPECIFIED AdGroupAdRotationModeEnum_AdGroupAdRotationMode = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdGroupAdRotationModeEnum_UNKNOWN AdGroupAdRotationModeEnum_AdGroupAdRotationMode = 1 + // Optimize ad group ads based on clicks or conversions. + AdGroupAdRotationModeEnum_OPTIMIZE AdGroupAdRotationModeEnum_AdGroupAdRotationMode = 2 + // Rotate evenly forever. + AdGroupAdRotationModeEnum_ROTATE_FOREVER AdGroupAdRotationModeEnum_AdGroupAdRotationMode = 3 +) + +var AdGroupAdRotationModeEnum_AdGroupAdRotationMode_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "OPTIMIZE", + 3: "ROTATE_FOREVER", +} +var AdGroupAdRotationModeEnum_AdGroupAdRotationMode_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "OPTIMIZE": 2, + "ROTATE_FOREVER": 3, +} + +func (x AdGroupAdRotationModeEnum_AdGroupAdRotationMode) String() string { + return proto.EnumName(AdGroupAdRotationModeEnum_AdGroupAdRotationMode_name, int32(x)) +} +func (AdGroupAdRotationModeEnum_AdGroupAdRotationMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_rotation_mode_3fa52ee91bad9207, []int{0, 0} +} + +// Container for enum describing possible ad rotation modes of ads within an +// ad group. +type AdGroupAdRotationModeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAdRotationModeEnum) Reset() { *m = AdGroupAdRotationModeEnum{} } +func (m *AdGroupAdRotationModeEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupAdRotationModeEnum) ProtoMessage() {} +func (*AdGroupAdRotationModeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_rotation_mode_3fa52ee91bad9207, []int{0} +} +func (m *AdGroupAdRotationModeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAdRotationModeEnum.Unmarshal(m, b) +} +func (m *AdGroupAdRotationModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAdRotationModeEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupAdRotationModeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAdRotationModeEnum.Merge(dst, src) +} +func (m *AdGroupAdRotationModeEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupAdRotationModeEnum.Size(m) +} +func (m *AdGroupAdRotationModeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAdRotationModeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAdRotationModeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupAdRotationModeEnum)(nil), "google.ads.googleads.v0.enums.AdGroupAdRotationModeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode", AdGroupAdRotationModeEnum_AdGroupAdRotationMode_name, AdGroupAdRotationModeEnum_AdGroupAdRotationMode_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_group_ad_rotation_mode.proto", fileDescriptor_ad_group_ad_rotation_mode_3fa52ee91bad9207) +} + +var fileDescriptor_ad_group_ad_rotation_mode_3fa52ee91bad9207 = []byte{ + // 285 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, + 0x14, 0x86, 0x6d, 0x07, 0x2a, 0x99, 0x68, 0x09, 0x78, 0xa1, 0xb0, 0x0b, 0xf7, 0x00, 0x69, 0xc1, + 0x4b, 0xf1, 0x22, 0xd5, 0xac, 0x14, 0x59, 0x5b, 0x6a, 0xd7, 0xc1, 0x28, 0x94, 0x68, 0x4a, 0x18, + 0xac, 0x3d, 0xa5, 0x69, 0xf7, 0x40, 0x5e, 0xfa, 0x28, 0xfa, 0x52, 0xd2, 0x74, 0xdb, 0xd5, 0xdc, + 0x4d, 0xf8, 0xe1, 0xe3, 0x3b, 0x27, 0xe7, 0x47, 0xcf, 0x12, 0x40, 0x6e, 0x0a, 0x9b, 0x0b, 0x65, + 0x0f, 0xb1, 0x4f, 0x5b, 0xc7, 0x2e, 0xaa, 0xae, 0x54, 0x36, 0x17, 0xb9, 0x6c, 0xa0, 0xab, 0x73, + 0x2e, 0xf2, 0x06, 0x5a, 0xde, 0xae, 0xa1, 0xca, 0x4b, 0x10, 0x05, 0xa9, 0x1b, 0x68, 0x01, 0x4f, + 0x06, 0x87, 0x70, 0xa1, 0xc8, 0x41, 0x27, 0x5b, 0x87, 0x68, 0x7d, 0xda, 0xa2, 0x3b, 0x2a, 0xbc, + 0x7e, 0x00, 0x15, 0xf1, 0x4e, 0x9f, 0x83, 0x28, 0x58, 0xd5, 0x95, 0xd3, 0x25, 0xba, 0x3d, 0x0a, + 0xf1, 0x0d, 0x1a, 0x2f, 0x82, 0xf7, 0x88, 0xbd, 0xf8, 0x33, 0x9f, 0xbd, 0x5a, 0x67, 0x78, 0x8c, + 0x2e, 0x16, 0xc1, 0x5b, 0x10, 0x2e, 0x03, 0xcb, 0xc0, 0x57, 0xe8, 0x32, 0x8c, 0x12, 0x7f, 0xee, + 0xaf, 0x98, 0x65, 0x62, 0x8c, 0xae, 0xe3, 0x30, 0xa1, 0x09, 0xcb, 0x67, 0x61, 0xcc, 0x52, 0x16, + 0x5b, 0x23, 0xf7, 0xd7, 0x40, 0x0f, 0x9f, 0x50, 0x92, 0x93, 0x7f, 0x73, 0xef, 0x8f, 0x2e, 0x8f, + 0xfa, 0xb3, 0x22, 0x63, 0xe5, 0xee, 0x64, 0x09, 0x1b, 0x5e, 0x49, 0x02, 0x8d, 0xb4, 0x65, 0x51, + 0xe9, 0xa3, 0xf7, 0x3d, 0xd5, 0x6b, 0xf5, 0x4f, 0x6d, 0x4f, 0xfa, 0xfd, 0x32, 0x47, 0x1e, 0xa5, + 0xdf, 0xe6, 0xc4, 0x1b, 0x46, 0x51, 0xa1, 0xc8, 0x10, 0xfb, 0x94, 0x3a, 0xa4, 0x6f, 0x41, 0xfd, + 0xec, 0x79, 0x46, 0x85, 0xca, 0x0e, 0x3c, 0x4b, 0x9d, 0x4c, 0xf3, 0x8f, 0x73, 0xbd, 0xf4, 0xf1, + 0x2f, 0x00, 0x00, 0xff, 0xff, 0x00, 0x71, 0x7c, 0xc5, 0xaa, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_status.pb.go new file mode 100644 index 000000000..e706582dc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_ad_status.pb.go @@ -0,0 +1,121 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_group_ad_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of an AdGroupAd. +type AdGroupAdStatusEnum_AdGroupAdStatus int32 + +const ( + // No value has been specified. + AdGroupAdStatusEnum_UNSPECIFIED AdGroupAdStatusEnum_AdGroupAdStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdGroupAdStatusEnum_UNKNOWN AdGroupAdStatusEnum_AdGroupAdStatus = 1 + // The ad group ad is enabled. + AdGroupAdStatusEnum_ENABLED AdGroupAdStatusEnum_AdGroupAdStatus = 2 + // The ad group ad is paused. + AdGroupAdStatusEnum_PAUSED AdGroupAdStatusEnum_AdGroupAdStatus = 3 + // The ad group ad is removed. + AdGroupAdStatusEnum_REMOVED AdGroupAdStatusEnum_AdGroupAdStatus = 4 +) + +var AdGroupAdStatusEnum_AdGroupAdStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "PAUSED", + 4: "REMOVED", +} +var AdGroupAdStatusEnum_AdGroupAdStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "PAUSED": 3, + "REMOVED": 4, +} + +func (x AdGroupAdStatusEnum_AdGroupAdStatus) String() string { + return proto.EnumName(AdGroupAdStatusEnum_AdGroupAdStatus_name, int32(x)) +} +func (AdGroupAdStatusEnum_AdGroupAdStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_status_b5908d4fbaec2768, []int{0, 0} +} + +// Container for enum describing possible statuses of an AdGroupAd. +type AdGroupAdStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAdStatusEnum) Reset() { *m = AdGroupAdStatusEnum{} } +func (m *AdGroupAdStatusEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupAdStatusEnum) ProtoMessage() {} +func (*AdGroupAdStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_status_b5908d4fbaec2768, []int{0} +} +func (m *AdGroupAdStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAdStatusEnum.Unmarshal(m, b) +} +func (m *AdGroupAdStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAdStatusEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupAdStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAdStatusEnum.Merge(dst, src) +} +func (m *AdGroupAdStatusEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupAdStatusEnum.Size(m) +} +func (m *AdGroupAdStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAdStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAdStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupAdStatusEnum)(nil), "google.ads.googleads.v0.enums.AdGroupAdStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdGroupAdStatusEnum_AdGroupAdStatus", AdGroupAdStatusEnum_AdGroupAdStatus_name, AdGroupAdStatusEnum_AdGroupAdStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_group_ad_status.proto", fileDescriptor_ad_group_ad_status_b5908d4fbaec2768) +} + +var fileDescriptor_ad_group_ad_status_b5908d4fbaec2768 = []byte{ + // 276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8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de, 0x69, 0xf8, 0xe5, 0xa0, 0xcb, 0x37, 0xdd, 0xe0, + 0x7f, 0xff, 0x14, 0x5e, 0x1c, 0x8d, 0x4e, 0x4c, 0x90, 0xc4, 0x79, 0x09, 0x7f, 0x31, 0xa5, 0x6b, + 0xd1, 0x2a, 0xac, 0x7b, 0x45, 0x54, 0xd5, 0xda, 0x98, 0xfb, 0x4a, 0xba, 0x77, 0xf8, 0xa3, 0xa1, + 0x1b, 0xbb, 0x7e, 0xb8, 0xb3, 0x98, 0xd2, 0x4f, 0x77, 0x15, 0x4f, 0x4f, 0x51, 0x09, 0x78, 0x92, + 0x46, 0xe5, 0x01, 0x36, 0xe9, 0xe1, 0x7b, 0xef, 0x17, 0x54, 0x42, 0x71, 0xf0, 0x8b, 0x3c, 0x28, + 0xac, 0xff, 0x3a, 0xb7, 0x43, 0xaf, 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x17, 0x63, 0xf0, 0x2a, + 0x95, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_criterion_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_criterion_status.pb.go new file mode 100644 index 000000000..eee7c7a3d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_criterion_status.pb.go @@ -0,0 +1,121 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_group_criterion_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of an AdGroupCriterion. +type AdGroupCriterionStatusEnum_AdGroupCriterionStatus int32 + +const ( + // No value has been specified. + AdGroupCriterionStatusEnum_UNSPECIFIED AdGroupCriterionStatusEnum_AdGroupCriterionStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdGroupCriterionStatusEnum_UNKNOWN AdGroupCriterionStatusEnum_AdGroupCriterionStatus = 1 + // The ad group criterion is enabled. + AdGroupCriterionStatusEnum_ENABLED AdGroupCriterionStatusEnum_AdGroupCriterionStatus = 2 + // The ad group criterion is paused. + AdGroupCriterionStatusEnum_PAUSED AdGroupCriterionStatusEnum_AdGroupCriterionStatus = 3 + // The ad group criterion is removed. + AdGroupCriterionStatusEnum_REMOVED AdGroupCriterionStatusEnum_AdGroupCriterionStatus = 4 +) + +var AdGroupCriterionStatusEnum_AdGroupCriterionStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "PAUSED", + 4: "REMOVED", +} +var AdGroupCriterionStatusEnum_AdGroupCriterionStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "PAUSED": 3, + "REMOVED": 4, +} + +func (x AdGroupCriterionStatusEnum_AdGroupCriterionStatus) String() string { + return proto.EnumName(AdGroupCriterionStatusEnum_AdGroupCriterionStatus_name, int32(x)) +} +func (AdGroupCriterionStatusEnum_AdGroupCriterionStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_status_677787c819c505bf, []int{0, 0} +} + +// Message describing AdGroupCriterion statuses. +type AdGroupCriterionStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupCriterionStatusEnum) Reset() { *m = AdGroupCriterionStatusEnum{} } +func (m *AdGroupCriterionStatusEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupCriterionStatusEnum) ProtoMessage() {} +func (*AdGroupCriterionStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_status_677787c819c505bf, []int{0} +} +func (m *AdGroupCriterionStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupCriterionStatusEnum.Unmarshal(m, b) +} +func (m *AdGroupCriterionStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupCriterionStatusEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupCriterionStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupCriterionStatusEnum.Merge(dst, src) +} +func (m *AdGroupCriterionStatusEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupCriterionStatusEnum.Size(m) +} +func (m *AdGroupCriterionStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupCriterionStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupCriterionStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupCriterionStatusEnum)(nil), "google.ads.googleads.v0.enums.AdGroupCriterionStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdGroupCriterionStatusEnum_AdGroupCriterionStatus", AdGroupCriterionStatusEnum_AdGroupCriterionStatus_name, AdGroupCriterionStatusEnum_AdGroupCriterionStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_group_criterion_status.proto", fileDescriptor_ad_group_criterion_status_677787c819c505bf) +} + +var fileDescriptor_ad_group_criterion_status_677787c819c505bf = []byte{ + // 285 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0x5d, 0x27, 0x13, 0xb2, 0x83, 0xa5, 0x07, 0x0f, 0xca, 0x0e, 0xee, 0x01, 0xd2, 0x82, + 0x47, 0xf1, 0x90, 0xae, 0xb1, 0x0c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0x43, 0xa9, 0xb8, 0xcf, 0x2b, + 0x61, 0x6f, 0x1f, 0xeb, 0x6a, 0x6b, 0xfd, 0x47, 0x7b, 0xb7, 0xf6, 0xfb, 0xe1, 0x4c, 0x63, 0x84, + 0x3e, 0x9d, 0x45, 0x3c, 0x8c, 0x42, 0x4c, 0xc3, 0x21, 0x9a, 0x54, 0x04, 0xd0, 0x74, 0xa1, 0xbf, + 0x46, 0x4e, 0x10, 0xd3, 0xe4, 0xc0, 0x49, 0x11, 0x10, 0xcb, 0xdf, 0x66, 0xf6, 0xd1, 0x9b, 0x9f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xd0, 0xd4, 0x02, 0xb1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_status.pb.go new file mode 100644 index 000000000..d47fccc49 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_status.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_group_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of an ad group. +type AdGroupStatusEnum_AdGroupStatus int32 + +const ( + // The status has not been specified. + AdGroupStatusEnum_UNSPECIFIED AdGroupStatusEnum_AdGroupStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdGroupStatusEnum_UNKNOWN AdGroupStatusEnum_AdGroupStatus = 1 + // The ad group is enabled. + AdGroupStatusEnum_ENABLED AdGroupStatusEnum_AdGroupStatus = 2 + // The ad group is paused. + AdGroupStatusEnum_PAUSED AdGroupStatusEnum_AdGroupStatus = 3 + // The ad group is removed. + AdGroupStatusEnum_REMOVED AdGroupStatusEnum_AdGroupStatus = 4 +) + +var AdGroupStatusEnum_AdGroupStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "PAUSED", + 4: "REMOVED", +} +var AdGroupStatusEnum_AdGroupStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "PAUSED": 3, + "REMOVED": 4, +} + +func (x AdGroupStatusEnum_AdGroupStatus) String() string { + return proto.EnumName(AdGroupStatusEnum_AdGroupStatus_name, int32(x)) +} +func (AdGroupStatusEnum_AdGroupStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_status_8f21159d221de842, []int{0, 0} +} + +// Container for enum describing possible statuses of an ad group. +type AdGroupStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupStatusEnum) Reset() { *m = AdGroupStatusEnum{} } +func (m *AdGroupStatusEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupStatusEnum) ProtoMessage() {} +func (*AdGroupStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_status_8f21159d221de842, []int{0} +} +func (m *AdGroupStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupStatusEnum.Unmarshal(m, b) +} +func (m *AdGroupStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupStatusEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupStatusEnum.Merge(dst, src) +} +func (m *AdGroupStatusEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupStatusEnum.Size(m) +} +func (m *AdGroupStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupStatusEnum)(nil), "google.ads.googleads.v0.enums.AdGroupStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdGroupStatusEnum_AdGroupStatus", AdGroupStatusEnum_AdGroupStatus_name, AdGroupStatusEnum_AdGroupStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_group_status.proto", fileDescriptor_ad_group_status_8f21159d221de842) +} + +var fileDescriptor_ad_group_status_8f21159d221de842 = []byte{ + // 271 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x1c, 0xc6, 0x6d, 0x27, 0x13, 0x32, 0xc4, 0x9a, 0xfb, 0x0e, 0xee, 0x01, 0x92, 0xc2, 0x8e, 0x9e, + 0x52, 0x1b, 0xcb, 0x50, 0xb3, 0x62, 0x69, 0x05, 0x29, 0x8c, 0x68, 0x4a, 0x14, 0xd6, 0xa6, 0xf4, + 0xdf, 0xee, 0x81, 0x3c, 0xfa, 0x1a, 0xde, 0x7c, 0x2a, 0x49, 0xea, 0x06, 0x3b, 0xe8, 0x25, 0x7c, + 0xc9, 0x97, 0x5f, 0xfe, 0xf9, 0x3e, 0xb4, 0xd4, 0xc6, 0xe8, 0x6d, 0x45, 0xa5, 0x02, 0x3a, 0x4a, + 0xab, 0x76, 0x21, 0xad, 0x9a, 0xa1, 0x06, 0x2a, 0xd5, 0x46, 0x77, 0x66, 0x68, 0x37, 0xd0, 0xcb, + 0x7e, 0x00, 0xd2, 0x76, 0xa6, 0x37, 0x78, 0x3e, 0xde, 0x24, 0x52, 0x01, 0x39, 0x40, 0x64, 0x17, + 0x12, 0x07, 0x2d, 0xde, 0xd0, 0x25, 0x53, 0x89, 0xc5, 0x32, 0x47, 0xf1, 0x66, 0xa8, 0x17, 0x19, + 0x3a, 0x3f, 0x3a, 0xc4, 0x17, 0x68, 0x96, 0x8b, 0x2c, 0xe5, 0x37, 0xab, 0xdb, 0x15, 0x8f, 0x83, + 0x13, 0x3c, 0x43, 0x67, 0xb9, 0xb8, 0x13, 0xeb, 0x27, 0x11, 0x78, 0x76, 0xc3, 0x05, 0x8b, 0xee, + 0x79, 0x1c, 0xf8, 0x18, 0xa1, 0x69, 0xca, 0xf2, 0x8c, 0xc7, 0xc1, 0xc4, 0x1a, 0x8f, 0xfc, 0x61, + 0x5d, 0xf0, 0x38, 0x38, 0x8d, 0xbe, 0x3c, 0x74, 0xf5, 0x6a, 0x6a, 0xf2, 0xef, 0x7f, 0x22, 0x7c, + 0x34, 0x38, 0xb5, 0x11, 0x52, 0xef, 0x39, 0xfa, 0x85, 0xb4, 0xd9, 0xca, 0x46, 0x13, 0xd3, 0x69, + 0xaa, 0xab, 0xc6, 0x05, 0xdc, 0x37, 0xd1, 0xbe, 0xc3, 0x1f, 0xc5, 0x5c, 0xbb, 0xf5, 0xc3, 0x9f, + 0x24, 0x8c, 0x7d, 0xfa, 0xf3, 0x64, 0x7c, 0x8a, 0x29, 0x20, 0xa3, 0xb4, 0xaa, 0x08, 0x89, 0x4d, + 0x0e, 0xdf, 0x7b, 0xbf, 0x64, 0x0a, 0xca, 0x83, 0x5f, 0x16, 0x61, 0xe9, 0xfc, 0x97, 0xa9, 0x1b, + 0xba, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xd9, 0xc8, 0xff, 0x8c, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_type.pb.go new file mode 100644 index 000000000..b3e7cfec1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_group_type.pb.go @@ -0,0 +1,158 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_group_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the possible types of an ad group. +type AdGroupTypeEnum_AdGroupType int32 + +const ( + // The type has not been specified. + AdGroupTypeEnum_UNSPECIFIED AdGroupTypeEnum_AdGroupType = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdGroupTypeEnum_UNKNOWN AdGroupTypeEnum_AdGroupType = 1 + // The default ad group type for Search campaigns. + AdGroupTypeEnum_SEARCH_STANDARD AdGroupTypeEnum_AdGroupType = 2 + // The default ad group type for Display campaigns. + AdGroupTypeEnum_DISPLAY_STANDARD AdGroupTypeEnum_AdGroupType = 3 + // The ad group type for Shopping campaigns serving standard product ads. + AdGroupTypeEnum_SHOPPING_PRODUCT_ADS AdGroupTypeEnum_AdGroupType = 4 + // The default ad group type for Hotel campaigns. + AdGroupTypeEnum_HOTEL_ADS AdGroupTypeEnum_AdGroupType = 6 + // The type for ad groups in Smart Shopping campaigns. + AdGroupTypeEnum_SHOPPING_SMART_ADS AdGroupTypeEnum_AdGroupType = 7 + // Short unskippable in-stream video ads. + AdGroupTypeEnum_VIDEO_BUMPER AdGroupTypeEnum_AdGroupType = 8 + // TrueView (skippable) in-stream video ads. + AdGroupTypeEnum_VIDEO_TRUE_VIEW_IN_STREAM AdGroupTypeEnum_AdGroupType = 9 + // TrueView in-display video ads. + AdGroupTypeEnum_VIDEO_TRUE_VIEW_IN_DISPLAY AdGroupTypeEnum_AdGroupType = 10 + // Unskippable in-stream video ads. + AdGroupTypeEnum_VIDEO_NON_SKIPPABLE_IN_STREAM AdGroupTypeEnum_AdGroupType = 11 + // Outstream video ads. + AdGroupTypeEnum_VIDEO_OUTSTREAM AdGroupTypeEnum_AdGroupType = 12 +) + +var AdGroupTypeEnum_AdGroupType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SEARCH_STANDARD", + 3: "DISPLAY_STANDARD", + 4: "SHOPPING_PRODUCT_ADS", + 6: "HOTEL_ADS", + 7: "SHOPPING_SMART_ADS", + 8: "VIDEO_BUMPER", + 9: "VIDEO_TRUE_VIEW_IN_STREAM", + 10: "VIDEO_TRUE_VIEW_IN_DISPLAY", + 11: "VIDEO_NON_SKIPPABLE_IN_STREAM", + 12: "VIDEO_OUTSTREAM", +} +var AdGroupTypeEnum_AdGroupType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SEARCH_STANDARD": 2, + "DISPLAY_STANDARD": 3, + "SHOPPING_PRODUCT_ADS": 4, + "HOTEL_ADS": 6, + "SHOPPING_SMART_ADS": 7, + "VIDEO_BUMPER": 8, + "VIDEO_TRUE_VIEW_IN_STREAM": 9, + "VIDEO_TRUE_VIEW_IN_DISPLAY": 10, + "VIDEO_NON_SKIPPABLE_IN_STREAM": 11, + "VIDEO_OUTSTREAM": 12, +} + +func (x AdGroupTypeEnum_AdGroupType) String() string { + return proto.EnumName(AdGroupTypeEnum_AdGroupType_name, int32(x)) +} +func (AdGroupTypeEnum_AdGroupType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_type_3b9233b105e8c706, []int{0, 0} +} + +// Defines types of an ad group, specific to a particular campaign channel +// type. This type drives validations that restrict which entities can be +// added to the ad group. +type AdGroupTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupTypeEnum) Reset() { *m = AdGroupTypeEnum{} } +func (m *AdGroupTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupTypeEnum) ProtoMessage() {} +func (*AdGroupTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_type_3b9233b105e8c706, []int{0} +} +func (m *AdGroupTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupTypeEnum.Unmarshal(m, b) +} +func (m *AdGroupTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupTypeEnum.Merge(dst, src) +} +func (m *AdGroupTypeEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupTypeEnum.Size(m) +} +func (m *AdGroupTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupTypeEnum)(nil), "google.ads.googleads.v0.enums.AdGroupTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdGroupTypeEnum_AdGroupType", AdGroupTypeEnum_AdGroupType_name, AdGroupTypeEnum_AdGroupType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_group_type.proto", fileDescriptor_ad_group_type_3b9233b105e8c706) +} + +var fileDescriptor_ad_group_type_3b9233b105e8c706 = []byte{ + // 395 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x6e, 0xd3, 0x30, + 0x18, 0xa7, 0x19, 0xda, 0xd8, 0xd7, 0xa1, 0x5a, 0x66, 0x42, 0x80, 0x14, 0xa4, 0xed, 0x01, 0x9c, + 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--git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_network_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_network_type.pb.go new file mode 100644 index 000000000..4da881ddf --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_network_type.pb.go @@ -0,0 +1,133 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_network_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates Google Ads network types. +type AdNetworkTypeEnum_AdNetworkType int32 + +const ( + // Not specified. + AdNetworkTypeEnum_UNSPECIFIED AdNetworkTypeEnum_AdNetworkType = 0 + // The value is unknown in this version. + AdNetworkTypeEnum_UNKNOWN AdNetworkTypeEnum_AdNetworkType = 1 + // Google search. + AdNetworkTypeEnum_SEARCH AdNetworkTypeEnum_AdNetworkType = 2 + // Search partners. + AdNetworkTypeEnum_SEARCH_PARTNERS AdNetworkTypeEnum_AdNetworkType = 3 + // Display Network. + AdNetworkTypeEnum_CONTENT AdNetworkTypeEnum_AdNetworkType = 4 + // YouTube Search. + AdNetworkTypeEnum_YOUTUBE_SEARCH AdNetworkTypeEnum_AdNetworkType = 5 + // YouTube Videos + AdNetworkTypeEnum_YOUTUBE_WATCH AdNetworkTypeEnum_AdNetworkType = 6 + // Cross-network. + AdNetworkTypeEnum_MIXED AdNetworkTypeEnum_AdNetworkType = 7 +) + +var AdNetworkTypeEnum_AdNetworkType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SEARCH", + 3: "SEARCH_PARTNERS", + 4: "CONTENT", + 5: "YOUTUBE_SEARCH", + 6: "YOUTUBE_WATCH", + 7: "MIXED", +} +var AdNetworkTypeEnum_AdNetworkType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SEARCH": 2, + "SEARCH_PARTNERS": 3, + "CONTENT": 4, + "YOUTUBE_SEARCH": 5, + "YOUTUBE_WATCH": 6, + "MIXED": 7, +} + +func (x AdNetworkTypeEnum_AdNetworkType) String() string { + return proto.EnumName(AdNetworkTypeEnum_AdNetworkType_name, int32(x)) +} +func (AdNetworkTypeEnum_AdNetworkType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_network_type_8e7c5c4b59c79566, []int{0, 0} +} + +// Container for enumeration of Google Ads network types. +type AdNetworkTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdNetworkTypeEnum) Reset() { *m = AdNetworkTypeEnum{} } +func (m *AdNetworkTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AdNetworkTypeEnum) ProtoMessage() {} +func (*AdNetworkTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_network_type_8e7c5c4b59c79566, []int{0} +} +func (m *AdNetworkTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdNetworkTypeEnum.Unmarshal(m, b) +} +func (m *AdNetworkTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdNetworkTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AdNetworkTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdNetworkTypeEnum.Merge(dst, src) +} +func (m *AdNetworkTypeEnum) XXX_Size() int { + return xxx_messageInfo_AdNetworkTypeEnum.Size(m) +} +func (m *AdNetworkTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdNetworkTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdNetworkTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdNetworkTypeEnum)(nil), "google.ads.googleads.v0.enums.AdNetworkTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdNetworkTypeEnum_AdNetworkType", AdNetworkTypeEnum_AdNetworkType_name, AdNetworkTypeEnum_AdNetworkType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_network_type.proto", fileDescriptor_ad_network_type_8e7c5c4b59c79566) +} + +var fileDescriptor_ad_network_type_8e7c5c4b59c79566 = []byte{ + // 318 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4e, 0xf2, 0x30, + 0x14, 0xc7, 0xbf, 0xc1, 0x07, 0xc4, 0x43, 0x90, 0x52, 0xaf, 0xb9, 0x90, 0x07, 0xe8, 0x96, 0x70, + 0xe9, 0x55, 0x37, 0x2a, 0x10, 0x63, 0x59, 0x60, 0x03, 0x35, 0x4b, 0x96, 0xe9, 0x96, 0xc6, 0x08, + 0xeb, 0x42, 0x01, 0xc3, 0x43, 0xf8, 0x12, 0x7a, 0xe7, 0x6b, 0x78, 0xe7, 0x53, 0x99, 0xad, 0x8c, + 0x84, 0x0b, 0xbd, 0x69, 0x7e, 0x39, 0xe7, 0xfc, 0xda, 0x9e, 0x3f, 0xf4, 0x85, 0x94, 0x62, 0x99, + 0x98, 0x51, 0xac, 0x4c, 0x8d, 0x39, 0xed, 0x2c, 0x33, 0x49, 0xb7, 0x2b, 0x65, 0x46, 0x71, 0x98, + 0x26, 0x9b, 0x57, 0xb9, 0x7e, 0x09, 0x37, 0xfb, 0x2c, 0x21, 0xd9, 0x5a, 0x6e, 0x24, 0xee, 0xea, + 0x49, 0x12, 0xc5, 0x8a, 0x1c, 0x25, 0xb2, 0xb3, 0x48, 0x21, 0xf5, 0x3e, 0x0c,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x00, 0xff, 0xff, 0x9c, 0xe6, 0xe0, 0x73, 0xc8, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_serving_optimization_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_serving_optimization_status.pb.go new file mode 100644 index 000000000..e585cda46 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_serving_optimization_status.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_serving_optimization_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible serving statuses. +type AdServingOptimizationStatusEnum_AdServingOptimizationStatus int32 + +const ( + // No value has been specified. + AdServingOptimizationStatusEnum_UNSPECIFIED AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdServingOptimizationStatusEnum_UNKNOWN AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 1 + // Ad serving is optimized based on CTR for the campaign. + AdServingOptimizationStatusEnum_OPTIMIZE AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 2 + // Ad serving is optimized based on CTR * Conversion for the campaign. If + // the campaign is not in the conversion optimizer bidding strategy, it will + // default to OPTIMIZED. + AdServingOptimizationStatusEnum_CONVERSION_OPTIMIZE AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 3 + // Ads are rotated evenly for 90 days, then optimized for clicks. + AdServingOptimizationStatusEnum_ROTATE AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 4 + // Show lower performing ads more evenly with higher performing ads, and do + // not optimize. + AdServingOptimizationStatusEnum_ROTATE_INDEFINITELY AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 5 + // Ad serving optimization status is not available. + AdServingOptimizationStatusEnum_UNAVAILABLE AdServingOptimizationStatusEnum_AdServingOptimizationStatus = 6 +) + +var AdServingOptimizationStatusEnum_AdServingOptimizationStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "OPTIMIZE", + 3: "CONVERSION_OPTIMIZE", + 4: "ROTATE", + 5: "ROTATE_INDEFINITELY", + 6: "UNAVAILABLE", +} +var AdServingOptimizationStatusEnum_AdServingOptimizationStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "OPTIMIZE": 2, + "CONVERSION_OPTIMIZE": 3, + "ROTATE": 4, + "ROTATE_INDEFINITELY": 5, + "UNAVAILABLE": 6, +} + +func (x AdServingOptimizationStatusEnum_AdServingOptimizationStatus) String() string { + return proto.EnumName(AdServingOptimizationStatusEnum_AdServingOptimizationStatus_name, int32(x)) +} +func (AdServingOptimizationStatusEnum_AdServingOptimizationStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_serving_optimization_status_897e6671d350f9ab, []int{0, 0} +} + +// Possible ad serving statuses of a campaign. +type AdServingOptimizationStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdServingOptimizationStatusEnum) Reset() { *m = AdServingOptimizationStatusEnum{} } +func (m *AdServingOptimizationStatusEnum) String() string { return proto.CompactTextString(m) } +func (*AdServingOptimizationStatusEnum) ProtoMessage() {} +func (*AdServingOptimizationStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_serving_optimization_status_897e6671d350f9ab, []int{0} +} +func (m *AdServingOptimizationStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdServingOptimizationStatusEnum.Unmarshal(m, b) +} +func (m *AdServingOptimizationStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdServingOptimizationStatusEnum.Marshal(b, m, deterministic) +} +func (dst *AdServingOptimizationStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdServingOptimizationStatusEnum.Merge(dst, src) +} +func (m *AdServingOptimizationStatusEnum) XXX_Size() int { + return xxx_messageInfo_AdServingOptimizationStatusEnum.Size(m) +} +func (m *AdServingOptimizationStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdServingOptimizationStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdServingOptimizationStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdServingOptimizationStatusEnum)(nil), "google.ads.googleads.v0.enums.AdServingOptimizationStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdServingOptimizationStatusEnum_AdServingOptimizationStatus", AdServingOptimizationStatusEnum_AdServingOptimizationStatus_name, AdServingOptimizationStatusEnum_AdServingOptimizationStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_serving_optimization_status.proto", fileDescriptor_ad_serving_optimization_status_897e6671d350f9ab) +} + +var fileDescriptor_ad_serving_optimization_status_897e6671d350f9ab = []byte{ + // 330 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0xed, 0xa6, 0x53, 0x32, 0xc1, 0x52, 0x0f, 0x1e, 0x64, 0xa8, 0x7b, 0x80, 0xb4, 0xe0, + 0xd1, 0x53, 0xba, 0x65, 0x23, 0x38, 0xd3, 0xb2, 0x76, 0x15, 0x47, 0xa1, 0x54, 0x53, 0x42, 0x61, + 0x4d, 0xc6, 0xd2, 0xed, 0xe0, 0x93, 0x78, 0xf6, 0xe8, 0x33, 0xf8, 0x04, 0xde, 0x7c, 0x23, 0x69, + 0xe2, 0x86, 0x17, 0x77, 0x29, 0x7f, 0xf8, 0x7f, 0xfd, 0x7d, 0xc9, 0x2f, 0xc0, 0xe7, 0x52, 0xf2, + 0x45, 0xe1, 0xe6, 0x4c, 0xb9, 0x26, 0x36, 0x69, 0xe3, 0xb9, 0x85, 0x58, 0x57, 0xca, 0xcd, 0x59, + 0xa6, 0x8a, 0xd5, 0xa6, 0x14, 0x3c, 0x93, 0xcb, 0xba, 0xac, 0xca, 0xd7, 0xbc, 0x2e, 0xa5, 0xc8, + 0x54, 0x9d, 0xd7, 0x6b, 0x05, 0x97, 0x2b, 0x59, 0x4b, 0xa7, 0x67, 0x7e, 0x84, 0x39, 0x53, 0x70, + 0xc7, 0x80, 0x1b, 0x0f, 0x6a, 0x46, 0xff, 0xd3, 0x02, 0x57, 0x88, 0x45, 0x06, 0x13, 0xfc, 0xa1, + 0x44, 0x1a, 0x82, 0xc5, 0xba, 0xea, 0xbf, 0x59, 0xe0, 0x72, 0xcf, 0x8c, 0x73, 0x06, 0xba, 0x33, + 0x1a, 0x85, 0x78, 0x40, 0x46, 0x04, 0x0f, 0xed, 0x03, 0xa7, 0x0b, 0x8e, 0x67, 0xf4, 0x9e, 0x06, + 0x8f, 0xd4, 0xb6, 0x9c, 0x53, 0x70, 0x12, 0x84, 0x31, 0x79, 0x20, 0x73, 0x6c, 0xb7, 0x9c, 0x0b, + 0x70, 0x3e, 0x08, 0x68, 0x82, 0xa7, 0x11, 0x09, 0x68, 0xb6, 0x2b, 0xda, 0x0e, 0x00, 0x9d, 0x69, + 0x10, 0xa3, 0x18, 0xdb, 0x87, 0xcd, 0x90, 0xc9, 0x19, 0xa1, 0x43, 0x3c, 0x22, 0x94, 0xc4, 0x78, + 0xf2, 0x64, 0x1f, 0x99, 0x4d, 0x28, 0x41, 0x64, 0x82, 0xfc, 0x09, 0xb6, 0x3b, 0xfe, 0xb7, 0x05, + 0x6e, 0x5e, 0x64, 0x05, 0xf7, 0x5e, 0xd2, 0xbf, 0xde, 0x73, 0xfa, 0xb0, 0xb1, 0x14, 0x5a, 0xf3, + 0x5f, 0xd7, 0x90, 0xcb, 0x45, 0x2e, 0x38, 0x94, 0x2b, 0xee, 0xf2, 0x42, 0x68, 0x87, 0x5b, 0xf7, + 0xcb, 0x52, 0xfd, 0xf3, 0x14, 0x77, 0xfa, 0xfb, 0xde, 0x6a, 0x8f, 0x11, 0xfa, 0x68, 0xf5, 0xc6, + 0x06, 0x85, 0x98, 0x82, 0x26, 0x36, 0x29, 0xf1, 0x60, 0x63, 0x53, 0x7d, 0x6d, 0xfb, 0x14, 0x31, + 0x95, 0xee, 0xfa, 0x34, 0xf1, 0x52, 0xdd, 0x3f, 0x77, 0xf4, 0xd2, 0xdb, 0x9f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x6b, 0x1e, 0x9a, 0x55, 0xfe, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_type.pb.go new file mode 100644 index 000000000..aba8a8521 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/ad_type.pb.go @@ -0,0 +1,164 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/ad_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible types of an ad. +type AdTypeEnum_AdType int32 + +const ( + // No value has been specified. + AdTypeEnum_UNSPECIFIED AdTypeEnum_AdType = 0 + // The received value is not known in this version. + // + // This is a response-only value. + AdTypeEnum_UNKNOWN AdTypeEnum_AdType = 1 + // The ad is a text ad. + AdTypeEnum_TEXT_AD AdTypeEnum_AdType = 2 + // The ad is an expanded text ad. + AdTypeEnum_EXPANDED_TEXT_AD AdTypeEnum_AdType = 3 + // The ad is a dynamic search ad. + AdTypeEnum_DYNAMIC_SEARCH_AD AdTypeEnum_AdType = 4 + // The ad is a responsive display ad. + AdTypeEnum_RESPONSIVE_DISPLAY_AD AdTypeEnum_AdType = 5 + // The ad is a call only ad. + AdTypeEnum_CALL_ONLY_AD AdTypeEnum_AdType = 6 + // The ad is an expanded dynamic search ad. + AdTypeEnum_EXPANDED_DYNAMIC_SEARCH_AD AdTypeEnum_AdType = 7 + // The ad is a hotel ad. + AdTypeEnum_HOTEL_AD AdTypeEnum_AdType = 8 + // The ad is a Smart Shopping ad. + AdTypeEnum_SHOPPING_SMART_AD AdTypeEnum_AdType = 9 + // The ad is a standard Shopping ad. + AdTypeEnum_SHOPPING_PRODUCT_AD AdTypeEnum_AdType = 10 + // The ad is a video ad. + AdTypeEnum_VIDEO_AD AdTypeEnum_AdType = 12 + // This ad is a Gmail ad. + AdTypeEnum_GMAIL_AD AdTypeEnum_AdType = 13 + // This ad is an Image ad. + AdTypeEnum_IMAGE_AD AdTypeEnum_AdType = 14 +) + +var AdTypeEnum_AdType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "TEXT_AD", + 3: "EXPANDED_TEXT_AD", + 4: "DYNAMIC_SEARCH_AD", + 5: "RESPONSIVE_DISPLAY_AD", + 6: "CALL_ONLY_AD", + 7: "EXPANDED_DYNAMIC_SEARCH_AD", + 8: "HOTEL_AD", + 9: "SHOPPING_SMART_AD", + 10: "SHOPPING_PRODUCT_AD", + 12: "VIDEO_AD", + 13: "GMAIL_AD", + 14: "IMAGE_AD", +} +var AdTypeEnum_AdType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "TEXT_AD": 2, + "EXPANDED_TEXT_AD": 3, + "DYNAMIC_SEARCH_AD": 4, + "RESPONSIVE_DISPLAY_AD": 5, + "CALL_ONLY_AD": 6, + "EXPANDED_DYNAMIC_SEARCH_AD": 7, + "HOTEL_AD": 8, + "SHOPPING_SMART_AD": 9, + "SHOPPING_PRODUCT_AD": 10, + "VIDEO_AD": 12, + "GMAIL_AD": 13, + "IMAGE_AD": 14, +} + +func (x AdTypeEnum_AdType) String() string { + return proto.EnumName(AdTypeEnum_AdType_name, int32(x)) +} +func (AdTypeEnum_AdType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_type_0178b510acb3ad28, []int{0, 0} +} + +// Container for enum describing possible types of an ad. +type AdTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdTypeEnum) Reset() { *m = AdTypeEnum{} } +func (m *AdTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AdTypeEnum) ProtoMessage() {} +func (*AdTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_type_0178b510acb3ad28, []int{0} +} +func (m *AdTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdTypeEnum.Unmarshal(m, b) +} +func (m *AdTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AdTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdTypeEnum.Merge(dst, src) +} +func (m *AdTypeEnum) XXX_Size() int { + return xxx_messageInfo_AdTypeEnum.Size(m) +} +func (m *AdTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdTypeEnum)(nil), "google.ads.googleads.v0.enums.AdTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdTypeEnum_AdType", AdTypeEnum_AdType_name, AdTypeEnum_AdType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/ad_type.proto", fileDescriptor_ad_type_0178b510acb3ad28) +} + +var fileDescriptor_ad_type_0178b510acb3ad28 = []byte{ + // 386 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdd, 0x8a, 0xd3, 0x40, + 0x14, 0xb6, 0xa9, 0xb6, 0x75, 0x5a, 0x35, 0x8e, 0x16, 0x51, 0xa8, 0x60, 0x6f, 0x85, 0x49, 0xc0, + 0x4b, 0xaf, 0xa6, 0x99, 0x31, 0x1d, 0x4c, 0x26, 0x43, 0x92, 0xc6, 0x56, 0x02, 0x21, 0x9a, 0x10, + 0x84, 0x36, 0x09, 0x4d, 0x5b, 0xe8, 0x83, 0xf8, 0x02, 0xe2, 0xd5, 0x3e, 0xc3, 0x3e, 0xc1, 0x3e, + 0xd5, 0x32, 0x93, 0x6d, 0x6e, 0x96, 0xdd, 0x9b, 0x70, 0xbe, 0x9f, 0x7c, 0x67, 0x38, 0x1f, 0xf8, + 0x5c, 0x54, 0x55, 0xb1, 0xcd, 0x8d, 0x34, 0x6b, 0x8c, 0x76, 0x94, 0xd3, 0xc9, 0x34, 0xf2, 0xf2, + 0xb8, 0x6b, 0x8c, 0x34, 0x4b, 0x0e, 0xe7, 0x3a, 0x47, 0xf5, 0xbe, 0x3a, 0x54, 0x70, 0xd6, 0x3a, + 0x50, 0x9a, 0x35, 0xa8, 0x33, 0xa3, 0x93, 0x89, 0x94, 0x79, 0xfe, 0x5f, 0x03, 0x00, 0x67, 0xe1, + 0xb9, 0xce, 0x69, 0x79, 0xdc, 0xcd, 0xff, 0x6a, 0x60, 0xd0, 0x42, 0xf8, 0x0a, 0x8c, 0x57, 0x3c, + 0x10, 0xd4, 0x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0x7f, 0x9a, 0x07, 0x6a, 0xfc, 0xaa, 0xbe, 0xff, + 0xb4, 0xbe, 0x8d, 0xf1, 0x95, 0x36, 0xb3, 0xdb, 0x28, 0x9c, 0x35, 0xa8, 0x1d, 0xe5, 0x14, 0x99, + 0x48, 0xb6, 0xd6, 0xdc, 0x5c, 0xf4, 0x18, 0x67, 0x4d, 0xdc, 0xe9, 0x71, 0x64, 0xc6, 0x4a, 0xff, + 0x35, 0x50, 0x4b, 0xbf, 0xdc, 0x06, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xf6, 0xba, 0x75, 0x3a, 0x02, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_sub_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_sub_type.pb.go new file mode 100644 index 000000000..e75105446 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_sub_type.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/advertising_channel_sub_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing the different channel subtypes. +type AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType int32 + +const ( + // Not specified. + AdvertisingChannelSubTypeEnum_UNSPECIFIED AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 0 + // Used as a return value only. Represents value unknown in this version. + AdvertisingChannelSubTypeEnum_UNKNOWN AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 1 + // Mobile app campaigns for Search. + AdvertisingChannelSubTypeEnum_SEARCH_MOBILE_APP AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 2 + // Mobile app campaigns for Display. + AdvertisingChannelSubTypeEnum_DISPLAY_MOBILE_APP AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 3 + // AdWords express campaigns for search. + AdvertisingChannelSubTypeEnum_SEARCH_EXPRESS AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 4 + // AdWords Express campaigns for display. + AdvertisingChannelSubTypeEnum_DISPLAY_EXPRESS AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 5 + // Smart Shopping campaigns. + AdvertisingChannelSubTypeEnum_SHOPPING_SMART_ADS AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 6 + // Gmail Ad campaigns. + AdvertisingChannelSubTypeEnum_DISPLAY_GMAIL_AD AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 7 + // Smart display campaigns. + AdvertisingChannelSubTypeEnum_DISPLAY_SMART_CAMPAIGN AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 8 + // Video Outstream campaigns. + AdvertisingChannelSubTypeEnum_VIDEO_OUTSTREAM AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 9 +) + +var AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SEARCH_MOBILE_APP", + 3: "DISPLAY_MOBILE_APP", + 4: "SEARCH_EXPRESS", + 5: "DISPLAY_EXPRESS", + 6: "SHOPPING_SMART_ADS", + 7: "DISPLAY_GMAIL_AD", + 8: "DISPLAY_SMART_CAMPAIGN", + 9: "VIDEO_OUTSTREAM", +} +var AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SEARCH_MOBILE_APP": 2, + "DISPLAY_MOBILE_APP": 3, + "SEARCH_EXPRESS": 4, + "DISPLAY_EXPRESS": 5, + "SHOPPING_SMART_ADS": 6, + "DISPLAY_GMAIL_AD": 7, + "DISPLAY_SMART_CAMPAIGN": 8, + "VIDEO_OUTSTREAM": 9, +} + +func (x AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType) String() string { + return proto.EnumName(AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name, int32(x)) +} +func (AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_advertising_channel_sub_type_ce75430c9173807b, []int{0, 0} +} + +// An immutable specialization of an Advertising Channel. +type AdvertisingChannelSubTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdvertisingChannelSubTypeEnum) Reset() { *m = AdvertisingChannelSubTypeEnum{} } +func (m *AdvertisingChannelSubTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AdvertisingChannelSubTypeEnum) ProtoMessage() {} +func (*AdvertisingChannelSubTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_advertising_channel_sub_type_ce75430c9173807b, []int{0} +} +func (m *AdvertisingChannelSubTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdvertisingChannelSubTypeEnum.Unmarshal(m, b) +} +func (m *AdvertisingChannelSubTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdvertisingChannelSubTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AdvertisingChannelSubTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdvertisingChannelSubTypeEnum.Merge(dst, src) +} +func (m *AdvertisingChannelSubTypeEnum) XXX_Size() int { + return xxx_messageInfo_AdvertisingChannelSubTypeEnum.Size(m) +} +func (m *AdvertisingChannelSubTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdvertisingChannelSubTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdvertisingChannelSubTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdvertisingChannelSubTypeEnum)(nil), "google.ads.googleads.v0.enums.AdvertisingChannelSubTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType", AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name, AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/advertising_channel_sub_type.proto", fileDescriptor_advertising_channel_sub_type_ce75430c9173807b) +} + +var fileDescriptor_advertising_channel_sub_type_ce75430c9173807b = []byte{ + // 382 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0xee, 0x93, 0x30, + 0x1c, 0xc5, 0x85, 0x9f, 0x6e, 0xda, 0x25, 0xae, 0x56, 0x5d, 0xa2, 0xc9, 0x4c, 0xdc, 0x03, 0x14, + 0x12, 0x2f, 0xbd, 0xb1, 0x40, 0x65, 0x8d, 0x03, 0x1a, 0xca, 0xe6, 0x9f, 0x90, 0x34, 0x6c, 0x10, + 0x5c, 0xb2, 0x01, 0x59, 0xc7, 0x92, 0xbd, 0x86, 0x8f, 0xe0, 0xa5, 0x8f, 0xe2, 0x8d, 0xaf, 0xe2, + 0x23, 0x18, 0x60, 0x4c, 0x6f, 0xe6, 0x0d, 0x39, 0xf9, 0x9e, 0xc3, 0xa7, 0xc9, 0x39, 0xe0, 0x5d, + 0x5e, 0x96, 0xf9, 0x2e, 0x33, 0x92, 0x54, 0x19, 0x9d, 0x6c, 0xd4, 0xc9, 0x34, 0xb2, 0xa2, 0xde, + 0x2b, 0x23, 0x49, 0x4f, 0xd9, 0xe1, 0xb8, 0x55, 0xdb, 0x22, 0x97, 0x9b, 0xaf, 0x49, 0x51, 0x64, + 0x3b, 0xa9, 0xea,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a, 0xeb, 0xd5, 0xcd, 0x56, 0x78, 0xd3, 0x3c, + 0xd7, 0xbe, 0x58, 0x17, 0x40, 0x5e, 0xee, 0x92, 0x22, 0xc7, 0xe5, 0x21, 0x37, 0xf2, 0xac, 0x68, + 0x77, 0xe9, 0xd7, 0xac, 0xb6, 0xea, 0xc6, 0xb8, 0x6f, 0xdb, 0xef, 0x77, 0xfd, 0xce, 0x25, 0xe4, + 0x87, 0x3e, 0x75, 0x3b, 0x14, 0x49, 0x15, 0xee, 0x64, 0xa3, 0x56, 0x26, 0x6e, 0x36, 0x52, 0x3f, + 0x7b, 0x3f, 0x26, 0xa9, 0x8a, 0xaf, 0x7e, 0xbc, 0x32, 0xe3, 0xd6, 0x5f, 0x0f, 0xda, 0x47, 0xdf, + 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xbc, 0x94, 0x11, 0x50, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_type.pb.go new file mode 100644 index 000000000..c644726a9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/advertising_channel_type.pb.go @@ -0,0 +1,130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/advertising_channel_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing the various advertising channel types. +type AdvertisingChannelTypeEnum_AdvertisingChannelType int32 + +const ( + // Not specified. + AdvertisingChannelTypeEnum_UNSPECIFIED AdvertisingChannelTypeEnum_AdvertisingChannelType = 0 + // Used for return value only. Represents value unknown in this version. + AdvertisingChannelTypeEnum_UNKNOWN AdvertisingChannelTypeEnum_AdvertisingChannelType = 1 + // Search Network. Includes display bundled, and Search+ campaigns. + AdvertisingChannelTypeEnum_SEARCH AdvertisingChannelTypeEnum_AdvertisingChannelType = 2 + // Google Display Network only. + AdvertisingChannelTypeEnum_DISPLAY AdvertisingChannelTypeEnum_AdvertisingChannelType = 3 + // Shopping campaigns serve on the shopping property + // and on google.com search results. + AdvertisingChannelTypeEnum_SHOPPING AdvertisingChannelTypeEnum_AdvertisingChannelType = 4 + // Hotel Ads campaigns. + AdvertisingChannelTypeEnum_HOTEL AdvertisingChannelTypeEnum_AdvertisingChannelType = 5 + // Video campaigns. + AdvertisingChannelTypeEnum_VIDEO AdvertisingChannelTypeEnum_AdvertisingChannelType = 6 +) + +var AdvertisingChannelTypeEnum_AdvertisingChannelType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SEARCH", + 3: "DISPLAY", + 4: "SHOPPING", + 5: "HOTEL", + 6: "VIDEO", +} +var AdvertisingChannelTypeEnum_AdvertisingChannelType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SEARCH": 2, + "DISPLAY": 3, + "SHOPPING": 4, + "HOTEL": 5, + "VIDEO": 6, +} + +func (x AdvertisingChannelTypeEnum_AdvertisingChannelType) String() string { + return proto.EnumName(AdvertisingChannelTypeEnum_AdvertisingChannelType_name, int32(x)) +} +func (AdvertisingChannelTypeEnum_AdvertisingChannelType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_advertising_channel_type_5cc528374513ea09, []int{0, 0} +} + +// The channel type a campaign may target to serve on. +type AdvertisingChannelTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdvertisingChannelTypeEnum) Reset() { *m = AdvertisingChannelTypeEnum{} } +func (m *AdvertisingChannelTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AdvertisingChannelTypeEnum) ProtoMessage() {} +func (*AdvertisingChannelTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_advertising_channel_type_5cc528374513ea09, []int{0} +} +func (m *AdvertisingChannelTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdvertisingChannelTypeEnum.Unmarshal(m, b) +} +func (m *AdvertisingChannelTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdvertisingChannelTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AdvertisingChannelTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdvertisingChannelTypeEnum.Merge(dst, src) +} +func (m *AdvertisingChannelTypeEnum) XXX_Size() int { + return xxx_messageInfo_AdvertisingChannelTypeEnum.Size(m) +} +func (m *AdvertisingChannelTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdvertisingChannelTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdvertisingChannelTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdvertisingChannelTypeEnum)(nil), "google.ads.googleads.v0.enums.AdvertisingChannelTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType", AdvertisingChannelTypeEnum_AdvertisingChannelType_name, AdvertisingChannelTypeEnum_AdvertisingChannelType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/advertising_channel_type.proto", fileDescriptor_advertising_channel_type_5cc528374513ea09) +} + +var fileDescriptor_advertising_channel_type_5cc528374513ea09 = []byte{ + // 307 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x1c, 0xc6, 0xed, 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 0xd6, 0xd8, 0x9f, 0xd2, 0x09, 0x6c, 0x19, + 0x9c, 0xbb, 0x43, 0xea, 0xc3, 0x76, 0xff, 0xcb, 0x02, 0x57, 0x4b, 0x95, 0xe2, 0x7f, 0x2f, 0xef, + 0x5f, 0xee, 0x3f, 0x8c, 0x99, 0x57, 0x33, 0xeb, 0xb9, 0xff, 0x93, 0x16, 0x2a, 0x89, 0xa4, 0xc0, + 0x2a, 0x17, 0xb6, 0xe0, 0xb2, 0xda, 0x64, 0xbb, 0x62, 0xb6, 0xd2, 0x7f, 0x8c, 0x7a, 0x53, 0x7d, + 0xdf, 0x1b, 0xcd, 0x11, 0x21, 0x1f, 0x8d, 0xee, 0xa8, 0xae, 0x22, 0xb1, 0xc6, 0x35, 0x1a, 0x9a, + 0x3b, 0xd8, 0x4c, 0xa4, 0x3f, 0xb7, 0x3e, 0x24, 0xb1, 0x0e, 0x77, 0x3e, 0x9c, 0x3b, 0x61, 0xe5, + 0x5f, 0xda, 0xd5, 0x4f, 0xaf, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x80, 0x05, 0x51, 0xf4, 0xc8, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/affiliate_location_feed_relationship_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/affiliate_location_feed_relationship_type.pb.go new file mode 100644 index 000000000..e7fea9d39 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/affiliate_location_feed_relationship_type.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/affiliate_location_feed_relationship_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for a relationship type for an affiliate location feed. +type AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType int32 + +const ( + // Not specified. + AffiliateLocationFeedRelationshipTypeEnum_UNSPECIFIED AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType = 0 + // Used for return value only. Represents value unknown in this version. + AffiliateLocationFeedRelationshipTypeEnum_UNKNOWN AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType = 1 + // General retailer relationship. + AffiliateLocationFeedRelationshipTypeEnum_GENERAL_RETAILER AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType = 2 +) + +var AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "GENERAL_RETAILER", +} +var AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "GENERAL_RETAILER": 2, +} + +func (x AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType) String() string { + return proto.EnumName(AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_name, int32(x)) +} +func (AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_affiliate_location_feed_relationship_type_623152188cd1ee87, []int{0, 0} +} + +// Container for enum describing possible values for a relationship type for +// an affiliate location feed. +type AffiliateLocationFeedRelationshipTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AffiliateLocationFeedRelationshipTypeEnum) Reset() { + *m = AffiliateLocationFeedRelationshipTypeEnum{} +} +func (m *AffiliateLocationFeedRelationshipTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AffiliateLocationFeedRelationshipTypeEnum) ProtoMessage() {} +func (*AffiliateLocationFeedRelationshipTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_affiliate_location_feed_relationship_type_623152188cd1ee87, []int{0} +} +func (m *AffiliateLocationFeedRelationshipTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.Unmarshal(m, b) +} +func (m *AffiliateLocationFeedRelationshipTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AffiliateLocationFeedRelationshipTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.Merge(dst, src) +} +func (m *AffiliateLocationFeedRelationshipTypeEnum) XXX_Size() int { + return xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.Size(m) +} +func (m *AffiliateLocationFeedRelationshipTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AffiliateLocationFeedRelationshipTypeEnum)(nil), "google.ads.googleads.v0.enums.AffiliateLocationFeedRelationshipTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType", AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_name, AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/affiliate_location_feed_relationship_type.proto", fileDescriptor_affiliate_location_feed_relationship_type_623152188cd1ee87) +} + +var fileDescriptor_affiliate_location_feed_relationship_type_623152188cd1ee87 = []byte{ + // 295 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xc4, 0xb4, 0xb4, 0xcc, 0x9c, 0xcc, 0xc4, 0x92, 0xd4, 0xf8, 0x9c, 0xfc, + 0xe4, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, 0xf8, 0xb4, 0xd4, 0xd4, 0x94, 0xf8, 0xa2, 0xd4, 0x1c, 0x30, + 0xaf, 0x38, 0x23, 0xb3, 0x20, 0xbe, 0xa4, 0xb2, 0x20, 0x55, 0xaf, 0xa0, 0x28, 0xbf, 0x24, 0x5f, + 0x48, 0x16, 0x62, 0x86, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0xdc, 0x38, 0xbd, 0x32, 0x03, 0x3d, 0xb0, + 0x71, 0x4a, 0x1d, 0x8c, 0x5c, 0x9a, 0x8e, 0x30, 0x23, 0x7d, 0xa0, 0x26, 0xba, 0xa5, 0xa6, 0xa6, + 0x04, 0x21, 0x99, 0x17, 0x52, 0x59, 0x90, 0xea, 0x9a, 0x57, 0x9a, 0xab, 0x14, 0xcd, 0xa5, 0x4a, + 0x94, 0x62, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, + 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, + 0x21, 0x11, 0x2e, 0x01, 0x77, 0x57, 0x3f, 0xd7, 0x20, 0x47, 0x9f, 0xf8, 0x20, 0xd7, 0x10, 0x47, + 0x4f, 0x1f, 0xd7, 0x20, 0x01, 0x26, 0xa7, 0xdb, 0x8c, 0x5c, 0x8a, 0xc9, 0xf9, 0xb9, 0x7a, 0x78, + 0x1d, 0xec, 0xa4, 0x45, 0x94, 0x03, 0x02, 0x40, 0x7e, 0x0f, 0x60, 0x8c, 0x72, 0x82, 0x1a, 0x96, + 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0x0e, 0x19, + 0x58, 0xe0, 0x16, 0x64, 0x16, 0xe3, 0x08, 0x6b, 0x6b, 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, 0xd1, + 0x71, 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, + 0xd0, 0x03, 0x85, 0x4c, 0xf1, 0x29, 0x98, 0x7c, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x3e, 0x26, + 0xcc, 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x44, + 0xd5, 0x6c, 0xea, 0xdf, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/age_range_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/age_range_type.pb.go new file mode 100644 index 000000000..c2aa273b8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/age_range_type.pb.go @@ -0,0 +1,138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/age_range_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of demographic age ranges (e.g. between 18 and 24 years old). +type AgeRangeTypeEnum_AgeRangeType int32 + +const ( + // Not specified. + AgeRangeTypeEnum_UNSPECIFIED AgeRangeTypeEnum_AgeRangeType = 0 + // Used for return value only. Represents value unknown in this version. + AgeRangeTypeEnum_UNKNOWN AgeRangeTypeEnum_AgeRangeType = 1 + // Between 18 and 24 years old. + AgeRangeTypeEnum_AGE_RANGE_18_24 AgeRangeTypeEnum_AgeRangeType = 503001 + // Between 25 and 34 years old. + AgeRangeTypeEnum_AGE_RANGE_25_34 AgeRangeTypeEnum_AgeRangeType = 503002 + // Between 35 and 44 years old. + AgeRangeTypeEnum_AGE_RANGE_35_44 AgeRangeTypeEnum_AgeRangeType = 503003 + // Between 45 and 54 years old. + AgeRangeTypeEnum_AGE_RANGE_45_54 AgeRangeTypeEnum_AgeRangeType = 503004 + // Between 55 and 64 years old. + AgeRangeTypeEnum_AGE_RANGE_55_64 AgeRangeTypeEnum_AgeRangeType = 503005 + // 65 years old and beyond. + AgeRangeTypeEnum_AGE_RANGE_65_UP AgeRangeTypeEnum_AgeRangeType = 503006 + // Undetermined age range. + AgeRangeTypeEnum_AGE_RANGE_UNDETERMINED AgeRangeTypeEnum_AgeRangeType = 503999 +) + +var AgeRangeTypeEnum_AgeRangeType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 503001: "AGE_RANGE_18_24", + 503002: "AGE_RANGE_25_34", + 503003: "AGE_RANGE_35_44", + 503004: "AGE_RANGE_45_54", + 503005: "AGE_RANGE_55_64", + 503006: "AGE_RANGE_65_UP", + 503999: "AGE_RANGE_UNDETERMINED", +} +var AgeRangeTypeEnum_AgeRangeType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AGE_RANGE_18_24": 503001, + "AGE_RANGE_25_34": 503002, + "AGE_RANGE_35_44": 503003, + "AGE_RANGE_45_54": 503004, + "AGE_RANGE_55_64": 503005, + "AGE_RANGE_65_UP": 503006, + "AGE_RANGE_UNDETERMINED": 503999, +} + +func (x AgeRangeTypeEnum_AgeRangeType) String() string { + return proto.EnumName(AgeRangeTypeEnum_AgeRangeType_name, int32(x)) +} +func (AgeRangeTypeEnum_AgeRangeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_age_range_type_846fc75750f12f7f, []int{0, 0} +} + +// Container for enum describing the type of demographic age ranges. +type AgeRangeTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AgeRangeTypeEnum) Reset() { *m = AgeRangeTypeEnum{} } +func (m *AgeRangeTypeEnum) String() string { return proto.CompactTextString(m) } +func (*AgeRangeTypeEnum) ProtoMessage() {} +func (*AgeRangeTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_age_range_type_846fc75750f12f7f, []int{0} +} +func (m *AgeRangeTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AgeRangeTypeEnum.Unmarshal(m, b) +} +func (m *AgeRangeTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AgeRangeTypeEnum.Marshal(b, m, deterministic) +} +func (dst *AgeRangeTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AgeRangeTypeEnum.Merge(dst, src) +} +func (m *AgeRangeTypeEnum) XXX_Size() int { + return xxx_messageInfo_AgeRangeTypeEnum.Size(m) +} +func (m *AgeRangeTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AgeRangeTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AgeRangeTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AgeRangeTypeEnum)(nil), "google.ads.googleads.v0.enums.AgeRangeTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AgeRangeTypeEnum_AgeRangeType", AgeRangeTypeEnum_AgeRangeType_name, AgeRangeTypeEnum_AgeRangeType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/age_range_type.proto", fileDescriptor_age_range_type_846fc75750f12f7f) +} + +var fileDescriptor_age_range_type_846fc75750f12f7f = []byte{ + // 336 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xc4, 0xf4, 0xd4, 0xf8, 0xa2, 0xc4, 0xbc, 0xf4, 0xd4, 0xf8, 0x92, 0xca, + 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x42, 0xbd, 0xc4, 0x94, 0x62, + 0x3d, 0xb8, 0x1e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x1e, 0xa5, 0x97, 0x8c, 0x5c, 0x02, 0x8e, 0xe9, + 0xa9, 0x41, 0x20, 0x6d, 0x21, 0x95, 0x05, 0xa9, 0xae, 0x79, 0xa5, 0xb9, 0x4a, 0x57, 0x18, 0xb9, + 0x78, 0x90, 0x05, 0x85, 0xf8, 0xb9, 0xb8, 0x43, 0xfd, 0x82, 0x03, 0x5c, 0x9d, 0x3d, 0xdd, 0x3c, + 0x5d, 0x5d, 0x04, 0x18, 0x84, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, 0xfd, 0x04, + 0x18, 0x85, 0x44, 0xb9, 0xf8, 0x1d, 0xdd, 0x5d, 0xe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0x52, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x72, 0xdc, 0x47, 0x0c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/app_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/app_placeholder_field.pb.go new file mode 100644 index 000000000..0f3853442 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/app_placeholder_field.pb.go @@ -0,0 +1,150 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/app_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for App placeholder fields. +type AppPlaceholderFieldEnum_AppPlaceholderField int32 + +const ( + // Not specified. + AppPlaceholderFieldEnum_UNSPECIFIED AppPlaceholderFieldEnum_AppPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + AppPlaceholderFieldEnum_UNKNOWN AppPlaceholderFieldEnum_AppPlaceholderField = 1 + // Data Type: INT64. The application store that the target application + // belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play + // Store. + AppPlaceholderFieldEnum_STORE AppPlaceholderFieldEnum_AppPlaceholderField = 2 + // Data Type: STRING. The store-specific ID for the target application. + AppPlaceholderFieldEnum_ID AppPlaceholderFieldEnum_AppPlaceholderField = 3 + // Data Type: STRING. The visible text displayed when the link is rendered + // in an ad. + AppPlaceholderFieldEnum_LINK_TEXT AppPlaceholderFieldEnum_AppPlaceholderField = 4 + // Data Type: STRING. The destination URL of the in-app link. + AppPlaceholderFieldEnum_URL AppPlaceholderFieldEnum_AppPlaceholderField = 5 + // Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded + // URLs. + AppPlaceholderFieldEnum_FINAL_URLS AppPlaceholderFieldEnum_AppPlaceholderField = 6 + // Data Type: URL_LIST. Final Mobile URLs for the in-app link when using + // Upgraded URLs. + AppPlaceholderFieldEnum_FINAL_MOBILE_URLS AppPlaceholderFieldEnum_AppPlaceholderField = 7 + // Data Type: URL. Tracking template for the in-app link when using Upgraded + // URLs. + AppPlaceholderFieldEnum_TRACKING_URL AppPlaceholderFieldEnum_AppPlaceholderField = 8 + // Data Type: STRING. Final URL suffix for the in-app link when using + // parallel tracking. + AppPlaceholderFieldEnum_FINAL_URL_SUFFIX AppPlaceholderFieldEnum_AppPlaceholderField = 9 +) + +var AppPlaceholderFieldEnum_AppPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "STORE", + 3: "ID", + 4: "LINK_TEXT", + 5: "URL", + 6: "FINAL_URLS", + 7: "FINAL_MOBILE_URLS", + 8: "TRACKING_URL", + 9: "FINAL_URL_SUFFIX", +} +var AppPlaceholderFieldEnum_AppPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "STORE": 2, + "ID": 3, + "LINK_TEXT": 4, + "URL": 5, + "FINAL_URLS": 6, + "FINAL_MOBILE_URLS": 7, + "TRACKING_URL": 8, + "FINAL_URL_SUFFIX": 9, +} + +func (x AppPlaceholderFieldEnum_AppPlaceholderField) String() string { + return proto.EnumName(AppPlaceholderFieldEnum_AppPlaceholderField_name, int32(x)) +} +func (AppPlaceholderFieldEnum_AppPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_app_placeholder_field_f3f678b0f2e2b317, []int{0, 0} +} + +// Values for App placeholder fields. +type AppPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AppPlaceholderFieldEnum) Reset() { *m = AppPlaceholderFieldEnum{} } +func (m *AppPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*AppPlaceholderFieldEnum) ProtoMessage() {} +func (*AppPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_app_placeholder_field_f3f678b0f2e2b317, []int{0} +} +func (m *AppPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AppPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *AppPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AppPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *AppPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AppPlaceholderFieldEnum.Merge(dst, src) +} +func (m *AppPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_AppPlaceholderFieldEnum.Size(m) +} +func (m *AppPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AppPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AppPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AppPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.AppPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AppPlaceholderFieldEnum_AppPlaceholderField", AppPlaceholderFieldEnum_AppPlaceholderField_name, AppPlaceholderFieldEnum_AppPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/app_placeholder_field.proto", fileDescriptor_app_placeholder_field_f3f678b0f2e2b317) +} + +var fileDescriptor_app_placeholder_field_f3f678b0f2e2b317 = []byte{ + // 345 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x4e, 0xea, 0x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7, 0xa1, 0x11, 0xb8, 0x16, 0x6a, 0xe2, 0xff, 0x00, 0x26, 0xb5, + 0x35, 0x2b, 0x0a, 0x5c, 0xcb, 0x43, 0x2d, 0x7c, 0x06, 0xc7, 0xf5, 0xfe, 0x76, 0xa2, 0x53, 0xcb, + 0xa8, 0xc7, 0x6d, 0x8c, 0xe0, 0xaf, 0xef, 0x6a, 0x83, 0x31, 0xb5, 0x47, 0xe5, 0x08, 0xfd, 0xc1, + 0xa7, 0x80, 0xf6, 0x60, 0xe4, 0x05, 0xa6, 0x49, 0x67, 0xa8, 0xa3, 0x6f, 0x25, 0xb8, 0x9c, 0xb3, + 0x25, 0xf9, 0x31, 0xb1, 0x7e, 0x71, 0x20, 0x92, 0x53, 0x56, 0xe5, 0x48, 0xf7, 0xfa, 0x27, 0x9a, + 0xb1, 0x3c, 0x2e, 0x32, 0xc2, 0x56, 0x99, 0x92, 0xa5, 0x45, 0x55, 0xe4, 0xae, 0x77, 0xbe, 0x10, + 0xdf, 0x7c, 0xc3, 0x4d, 0xb5, 0xbe, 0xc8, 0x8d, 0x91, 0xa6, 0xbd, 0xca, 0xbd, 0x51, 0x7d, 0x95, + 0x96, 0x08, 0x52, 0xcb, 0x52, 0x4d, 0x55, 0x52, 0x56, 0x2b, 0xde, 0x77, 0x7e, 0xa8, 0x25, 0x22, + 0xdc, 0xfb, 0xe1, 0x54, 0x0d, 0x2b, 0xff, 0xa1, 0x55, 0x3d, 0x7a, 0xf5, 0x11, 0x00, 0x00, 0xff, + 0xff, 0xec, 0x9f, 0x59, 0xbc, 0xfa, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/attribution_model.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/attribution_model.pb.go new file mode 100644 index 000000000..ad0d17be5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/attribution_model.pb.go @@ -0,0 +1,150 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/attribution_model.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The attribution model that describes how to distribute credit for a +// particular conversion across potentially many prior interactions. +type AttributionModelEnum_AttributionModel int32 + +const ( + // Not specified. + AttributionModelEnum_UNSPECIFIED AttributionModelEnum_AttributionModel = 0 + // Used for return value only. Represents value unknown in this version. + AttributionModelEnum_UNKNOWN AttributionModelEnum_AttributionModel = 1 + // Uses external attribution. + AttributionModelEnum_EXTERNAL AttributionModelEnum_AttributionModel = 100 + // Attributes all credit for a conversion to its last click. + AttributionModelEnum_GOOGLE_ADS_LAST_CLICK AttributionModelEnum_AttributionModel = 101 + // Attributes all credit for a conversion to its first click using Google + // Search attribution. + AttributionModelEnum_GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK AttributionModelEnum_AttributionModel = 102 + // Attributes credit for a conversion equally across all of its clicks using + // Google Search attribution. + AttributionModelEnum_GOOGLE_SEARCH_ATTRIBUTION_LINEAR AttributionModelEnum_AttributionModel = 103 + // Attributes exponentially more credit for a conversion to its more recent + // clicks using Google Search attribution (half-life is 1 week). + AttributionModelEnum_GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY AttributionModelEnum_AttributionModel = 104 + // Attributes 40% of the credit for a conversion to its first and last + // clicks. Remaining 20% is evenly distributed across all other clicks. This + // uses Google Search attribution. + AttributionModelEnum_GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED AttributionModelEnum_AttributionModel = 105 + // Flexible model that uses machine learning to determine the appropriate + // distribution of credit among clicks using Google Search attribution. + AttributionModelEnum_GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN AttributionModelEnum_AttributionModel = 106 +) + +var AttributionModelEnum_AttributionModel_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 100: "EXTERNAL", + 101: "GOOGLE_ADS_LAST_CLICK", + 102: "GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK", + 103: "GOOGLE_SEARCH_ATTRIBUTION_LINEAR", + 104: "GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY", + 105: "GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED", + 106: "GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN", +} +var AttributionModelEnum_AttributionModel_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "EXTERNAL": 100, + "GOOGLE_ADS_LAST_CLICK": 101, + "GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK": 102, + "GOOGLE_SEARCH_ATTRIBUTION_LINEAR": 103, + "GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY": 104, + "GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED": 105, + "GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN": 106, +} + +func (x AttributionModelEnum_AttributionModel) String() string { + return proto.EnumName(AttributionModelEnum_AttributionModel_name, int32(x)) +} +func (AttributionModelEnum_AttributionModel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_attribution_model_03c15a84641f0f34, []int{0, 0} +} + +// Container for enum representing the attribution model that describes how to +// distribute credit for a particular conversion across potentially many prior +// interactions. +type AttributionModelEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AttributionModelEnum) Reset() { *m = AttributionModelEnum{} } +func (m *AttributionModelEnum) String() string { return proto.CompactTextString(m) } +func (*AttributionModelEnum) ProtoMessage() {} +func (*AttributionModelEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_attribution_model_03c15a84641f0f34, []int{0} +} +func (m *AttributionModelEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AttributionModelEnum.Unmarshal(m, b) +} +func (m *AttributionModelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AttributionModelEnum.Marshal(b, m, deterministic) +} +func (dst *AttributionModelEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttributionModelEnum.Merge(dst, src) +} +func (m *AttributionModelEnum) XXX_Size() int { + return xxx_messageInfo_AttributionModelEnum.Size(m) +} +func (m *AttributionModelEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AttributionModelEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AttributionModelEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AttributionModelEnum)(nil), "google.ads.googleads.v0.enums.AttributionModelEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.AttributionModelEnum_AttributionModel", AttributionModelEnum_AttributionModel_name, AttributionModelEnum_AttributionModel_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/attribution_model.proto", fileDescriptor_attribution_model_03c15a84641f0f34) +} + +var fileDescriptor_attribution_model_03c15a84641f0f34 = []byte{ + // 369 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8b, 0x9b, 0x40, + 0x00, 0xc5, 0x1b, 0x0b, 0x6d, 0x99, 0x14, 0x3a, 0x0c, 0xcd, 0xa1, 0x87, 0x40, 0x1b, 0x52, 0x48, + 0xa1, 0x8c, 0x42, 0xe9, 0xa9, 0xa7, 0x51, 0x27, 0x76, 0x88, 0x19, 0x45, 0x4d, 0xfa, 0x07, 0x61, + 0x30, 0xd5, 0xba, 0x2e, 0xd1, 0x09, 0xd1, 0xe4, 0x03, 0xed, 0x71, 0x61, 0xbf, 0x46, 0x0e, 0xfb, + 0x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x06, 0x7d, 0x05, 0x93, 0xee, 0xa4, 0xeb, 0xf8, 0xac, + 0x11, 0x3a, 0xf1, 0xa9, 0x09, 0xb3, 0xeb, 0x1f, 0x35, 0x49, 0x40, 0x84, 0xe9, 0xb1, 0x25, 0xe5, + 0xf0, 0x56, 0x3f, 0xf4, 0xc0, 0xa7, 0x7f, 0x32, 0xc7, 0x57, 0xe7, 0xd6, 0x07, 0x97, 0x93, 0xba, + 0x35, 0x24, 0xb7, 0xf7, 0x57, 0x3f, 0xf6, 0x52, 0xb9, 0x8e, 0x8a, 0x14, 0xcb, 0x6d, 0xaa, 0xa6, + 0x49, 0xd1, 0x20, 0x3c, 0xd1, 0xde, 0x64, 0x65, 0x07, 0xfc, 0x1f, 0xcd, 0x79, 0xa7, 0xbc, 0xb4, + 0x08, 0xb9, 0x57, 0x86, 0x56, 0x7b, 0x15, 0x89, 0x4b, 0xdc, 0xca, 0x5a, 0x2d, 0x35, 0x5c, 0x73, + 0x2d, 0x1f, 0x4f, 0x7e, 0x48, 0xe2, 0x32, 0x3c, 0xfb, 0xe1, 0x52, 0x0b, 0x1b, 0x7f, 0xf5, 0xaa, + 0x79, 0xf4, 0xdb, 0x53, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x00, 0xb5, 0x3a, 0x70, 0x02, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bid_modifier_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bid_modifier_source.pb.go new file mode 100644 index 000000000..bc1a08736 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bid_modifier_source.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/bid_modifier_source.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible bid modifier sources. +type BidModifierSourceEnum_BidModifierSource int32 + +const ( + // Not specified. + BidModifierSourceEnum_UNSPECIFIED BidModifierSourceEnum_BidModifierSource = 0 + // Used for return value only. Represents value unknown in this version. + BidModifierSourceEnum_UNKNOWN BidModifierSourceEnum_BidModifierSource = 1 + // The bid modifier is specified at the campaign level, on the campaign + // level criterion. + BidModifierSourceEnum_CAMPAIGN BidModifierSourceEnum_BidModifierSource = 2 + // The bid modifier is specified (overridden) at the ad group level. + BidModifierSourceEnum_AD_GROUP BidModifierSourceEnum_BidModifierSource = 3 +) + +var BidModifierSourceEnum_BidModifierSource_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CAMPAIGN", + 3: "AD_GROUP", +} +var BidModifierSourceEnum_BidModifierSource_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CAMPAIGN": 2, + "AD_GROUP": 3, +} + +func (x BidModifierSourceEnum_BidModifierSource) String() string { + return proto.EnumName(BidModifierSourceEnum_BidModifierSource_name, int32(x)) +} +func (BidModifierSourceEnum_BidModifierSource) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bid_modifier_source_f02ca399af0ade5b, []int{0, 0} +} + +// Container for enum describing possible bid modifier sources. +type BidModifierSourceEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BidModifierSourceEnum) Reset() { *m = BidModifierSourceEnum{} } +func (m *BidModifierSourceEnum) String() string { return proto.CompactTextString(m) } +func (*BidModifierSourceEnum) ProtoMessage() {} +func (*BidModifierSourceEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_bid_modifier_source_f02ca399af0ade5b, []int{0} +} +func (m *BidModifierSourceEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BidModifierSourceEnum.Unmarshal(m, b) +} +func (m *BidModifierSourceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BidModifierSourceEnum.Marshal(b, m, deterministic) +} +func (dst *BidModifierSourceEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BidModifierSourceEnum.Merge(dst, src) +} +func (m *BidModifierSourceEnum) XXX_Size() int { + return xxx_messageInfo_BidModifierSourceEnum.Size(m) +} +func (m *BidModifierSourceEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BidModifierSourceEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BidModifierSourceEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BidModifierSourceEnum)(nil), "google.ads.googleads.v0.enums.BidModifierSourceEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.BidModifierSourceEnum_BidModifierSource", BidModifierSourceEnum_BidModifierSource_name, BidModifierSourceEnum_BidModifierSource_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/bid_modifier_source.proto", fileDescriptor_bid_modifier_source_f02ca399af0ade5b) +} + +var fileDescriptor_bid_modifier_source_f02ca399af0ade5b = []byte{ + // 269 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xa4, 0xcc, 0x94, 0xf8, 0xdc, 0xfc, 0x94, 0xcc, 0xb4, 0xcc, 0xd4, 0xa2, + 0xf8, 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, + 0x6a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x46, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x46, 0xa5, 0x34, + 0x2e, 0x51, 0xa7, 0xcc, 0x14, 0x5f, 0xa8, 0xd6, 0x60, 0xb0, 0x4e, 0xd7, 0xbc, 0xd2, 0x5c, 0x25, + 0x5f, 0x2e, 0x41, 0x0c, 0x09, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, + 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, + 0x3f, 0x01, 0x46, 0x21, 0x1e, 0x2e, 0x0e, 0x67, 0x47, 0xdf, 0x00, 0x47, 0x4f, 0x77, 0x3f, 0x01, + 0x26, 0x10, 0xcf, 0xd1, 0x25, 0xde, 0x3d, 0xc8, 0x3f, 0x34, 0x40, 0x80, 0xd9, 0xe9, 0x38, 0x23, + 0x97, 0x62, 0x72, 0x7e, 0xae, 0x1e, 0x5e, 0xd7, 0x38, 0x89, 0x61, 0x58, 0x19, 0x00, 0xf2, 0x44, + 0x00, 0x63, 0x94, 0x13, 0x54, 0x63, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0xba, + 0x7e, 0x7a, 0x6a, 0x1e, 0xd8, 0x8b, 0xb0, 0xf0, 0x28, 0xc8, 0x2c, 0xc6, 0x11, 0x3c, 0xd6, 0x60, + 0x72, 0x11, 0x13, 0xb3, 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x59, 0x77, 0x88, 0x51, 0x8e, 0x29, 0xc5, + 0x7a, 0x10, 0x26, 0x88, 0x15, 0x66, 0xa0, 0x07, 0xf2, 0x77, 0xf1, 0x29, 0x98, 0x7c, 0x8c, 0x63, + 0x4a, 0x71, 0x0c, 0x5c, 0x3e, 0x26, 0xcc, 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, 0xd4, 0x18, + 0x10, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xa8, 0xae, 0xc8, 0x92, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_source.pb.go new file mode 100644 index 000000000..d05116509 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_source.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/bidding_source.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible bidding sources. +type BiddingSourceEnum_BiddingSource int32 + +const ( + // Not specified. + BiddingSourceEnum_UNSPECIFIED BiddingSourceEnum_BiddingSource = 0 + // Used for return value only. Represents value unknown in this version. + BiddingSourceEnum_UNKNOWN BiddingSourceEnum_BiddingSource = 1 + // Bidding entity is defined on the ad group. + BiddingSourceEnum_ADGROUP BiddingSourceEnum_BiddingSource = 2 + // Bidding entity is defined on the ad group criterion. + BiddingSourceEnum_CRITERION BiddingSourceEnum_BiddingSource = 3 + // Effective bidding entity is inherited from campaign bidding strategy. + BiddingSourceEnum_CAMPAIGN_BIDDING_STRATEGY BiddingSourceEnum_BiddingSource = 5 +) + +var BiddingSourceEnum_BiddingSource_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ADGROUP", + 3: "CRITERION", + 5: "CAMPAIGN_BIDDING_STRATEGY", +} +var BiddingSourceEnum_BiddingSource_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ADGROUP": 2, + "CRITERION": 3, + "CAMPAIGN_BIDDING_STRATEGY": 5, +} + +func (x BiddingSourceEnum_BiddingSource) String() string { + return proto.EnumName(BiddingSourceEnum_BiddingSource_name, int32(x)) +} +func (BiddingSourceEnum_BiddingSource) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bidding_source_8ff63990646de11f, []int{0, 0} +} + +// Container for enum describing possible bidding sources. +type BiddingSourceEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BiddingSourceEnum) Reset() { *m = BiddingSourceEnum{} } +func (m *BiddingSourceEnum) String() string { return proto.CompactTextString(m) } +func (*BiddingSourceEnum) ProtoMessage() {} +func (*BiddingSourceEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_source_8ff63990646de11f, []int{0} +} +func (m *BiddingSourceEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BiddingSourceEnum.Unmarshal(m, b) +} +func (m *BiddingSourceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BiddingSourceEnum.Marshal(b, m, deterministic) +} +func (dst *BiddingSourceEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BiddingSourceEnum.Merge(dst, src) +} +func (m *BiddingSourceEnum) XXX_Size() int { + return xxx_messageInfo_BiddingSourceEnum.Size(m) +} +func (m *BiddingSourceEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BiddingSourceEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BiddingSourceEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BiddingSourceEnum)(nil), "google.ads.googleads.v0.enums.BiddingSourceEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.BiddingSourceEnum_BiddingSource", BiddingSourceEnum_BiddingSource_name, BiddingSourceEnum_BiddingSource_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/bidding_source.proto", fileDescriptor_bidding_source_8ff63990646de11f) +} + +var fileDescriptor_bidding_source_8ff63990646de11f = []byte{ + // 293 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xa4, 0xcc, 0x94, 0x94, 0xcc, 0xbc, 0xf4, 0xf8, 0xe2, 0xfc, 0xd2, 0xa2, + 0xe4, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x42, 0xbd, 0xc4, 0x94, 0x62, + 0x3d, 0xb8, 0x1e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x1e, 0xa5, 0x5a, 0x2e, 0x41, 0x27, 0x88, 0xb6, + 0x60, 0xb0, 0x2e, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, 0x0c, 0x2e, 0x5e, 0x14, 0x41, 0x21, 0x7e, 0x2e, + 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, + 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, 0x10, 0xc7, 0xd1, 0xc5, 0x3d, + 0xc8, 0x3f, 0x34, 0x40, 0x80, 0x49, 0x88, 0x97, 0x8b, 0xd3, 0x39, 0xc8, 0x33, 0xc4, 0x35, 0xc8, + 0xd3, 0xdf, 0x4f, 0x80, 0x59, 0x48, 0x96, 0x4b, 0xd2, 0xd9, 0xd1, 0x37, 0xc0, 0xd1, 0xd3, 0xdd, + 0x2f, 0xde, 0xc9, 0xd3, 0xc5, 0xc5, 0xd3, 0xcf, 0x3d, 0x3e, 0x38, 0x24, 0xc8, 0x31, 0xc4, 0xd5, + 0x3d, 0x52, 0x80, 0xd5, 0xe9, 0x30, 0x23, 0x97, 0x62, 0x72, 0x7e, 0xae, 0x1e, 0x5e, 0x47, 0x3a, + 0x09, 0xa1, 0xb8, 0x26, 0x00, 0xe4, 0xaf, 0x00, 0xc6, 0x28, 0x27, 0xa8, 0xa6, 0xf4, 0xfc, 0x9c, + 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0xaf, 0x61, 0xa1, 0x53, + 0x90, 0x59, 0x8c, 0x23, 0xb0, 0xac, 0xc1, 0xe4, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, + 0xb2, 0xee, 0x10, 0xa3, 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0x14, + 0x1c, 0xc5, 0xa7, 0x60, 0xf2, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0xf9, 0x98, 0x30, 0x83, 0x18, + 0xb0, 0x7c, 0x12, 0x1b, 0xd8, 0x52, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x35, 0x27, 0x67, + 0xa1, 0xa0, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_strategy_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_strategy_type.pb.go new file mode 100644 index 000000000..e8112e5ef --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/bidding_strategy_type.pb.go @@ -0,0 +1,176 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/bidding_strategy_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible bidding strategy types. +type BiddingStrategyTypeEnum_BiddingStrategyType int32 + +const ( + // Not specified. + BiddingStrategyTypeEnum_UNSPECIFIED BiddingStrategyTypeEnum_BiddingStrategyType = 0 + // Used for return value only. Represents value unknown in this version. + BiddingStrategyTypeEnum_UNKNOWN BiddingStrategyTypeEnum_BiddingStrategyType = 1 + // Enhanced CPC is a bidding strategy that raises bids for clicks + // that seem more likely to lead to a conversion and lowers + // them for clicks where they seem less likely. + BiddingStrategyTypeEnum_ENHANCED_CPC BiddingStrategyTypeEnum_BiddingStrategyType = 2 + // Manual click based bidding where user pays per click. + BiddingStrategyTypeEnum_MANUAL_CPC BiddingStrategyTypeEnum_BiddingStrategyType = 3 + // Manual impression based bidding + // where user pays per thousand impressions. + BiddingStrategyTypeEnum_MANUAL_CPM BiddingStrategyTypeEnum_BiddingStrategyType = 4 + // A bidding strategy that pays a configurable amount per video view. + BiddingStrategyTypeEnum_MANUAL_CPV BiddingStrategyTypeEnum_BiddingStrategyType = 13 + // A bidding strategy that automatically maximizes number of conversions + // given a daily budget. + BiddingStrategyTypeEnum_MAXIMIZE_CONVERSIONS BiddingStrategyTypeEnum_BiddingStrategyType = 10 + // An automated bidding strategy that automatically sets bids to maximize + // revenue while spending your budget. + BiddingStrategyTypeEnum_MAXIMIZE_CONVERSION_VALUE BiddingStrategyTypeEnum_BiddingStrategyType = 11 + // Page-One Promoted bidding scheme, which sets max cpc bids to + // target impressions on page one or page one promoted slots on google.com. + BiddingStrategyTypeEnum_PAGE_ONE_PROMOTED BiddingStrategyTypeEnum_BiddingStrategyType = 5 + // Percent Cpc is bidding strategy where bids are a fraction of the + // advertised price for some good or service. + BiddingStrategyTypeEnum_PERCENT_CPC BiddingStrategyTypeEnum_BiddingStrategyType = 12 + // Target CPA is an automated bid strategy that sets bids + // to help get as many conversions as possible + // at the target cost-per-acquisition (CPA) you set. + BiddingStrategyTypeEnum_TARGET_CPA BiddingStrategyTypeEnum_BiddingStrategyType = 6 + // Target Outrank Share is an automated bidding strategy that sets bids + // based on the target fraction of auctions where the advertiser + // should outrank a specific competitor. + BiddingStrategyTypeEnum_TARGET_OUTRANK_SHARE BiddingStrategyTypeEnum_BiddingStrategyType = 7 + // Target ROAS is an automated bidding strategy + // that helps you maximize revenue while averaging + // a specific target Return On Average Spend (ROAS). + BiddingStrategyTypeEnum_TARGET_ROAS BiddingStrategyTypeEnum_BiddingStrategyType = 8 + // Target Spend is an automated bid strategy that sets your bids + // to help get as many clicks as possible within your budget. + BiddingStrategyTypeEnum_TARGET_SPEND BiddingStrategyTypeEnum_BiddingStrategyType = 9 +) + +var BiddingStrategyTypeEnum_BiddingStrategyType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENHANCED_CPC", + 3: "MANUAL_CPC", + 4: "MANUAL_CPM", + 13: "MANUAL_CPV", + 10: "MAXIMIZE_CONVERSIONS", + 11: "MAXIMIZE_CONVERSION_VALUE", + 5: "PAGE_ONE_PROMOTED", + 12: "PERCENT_CPC", + 6: "TARGET_CPA", + 7: "TARGET_OUTRANK_SHARE", + 8: "TARGET_ROAS", + 9: "TARGET_SPEND", +} +var BiddingStrategyTypeEnum_BiddingStrategyType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENHANCED_CPC": 2, + "MANUAL_CPC": 3, + "MANUAL_CPM": 4, + "MANUAL_CPV": 13, + "MAXIMIZE_CONVERSIONS": 10, + "MAXIMIZE_CONVERSION_VALUE": 11, + "PAGE_ONE_PROMOTED": 5, + "PERCENT_CPC": 12, + "TARGET_CPA": 6, + "TARGET_OUTRANK_SHARE": 7, + "TARGET_ROAS": 8, + "TARGET_SPEND": 9, +} + +func (x BiddingStrategyTypeEnum_BiddingStrategyType) String() string { + return proto.EnumName(BiddingStrategyTypeEnum_BiddingStrategyType_name, int32(x)) +} +func (BiddingStrategyTypeEnum_BiddingStrategyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_type_59808af5df705879, []int{0, 0} +} + +// Container for enum describing possible bidding strategy types. +type BiddingStrategyTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BiddingStrategyTypeEnum) Reset() { *m = BiddingStrategyTypeEnum{} } +func (m *BiddingStrategyTypeEnum) String() string { return proto.CompactTextString(m) } +func (*BiddingStrategyTypeEnum) ProtoMessage() {} +func (*BiddingStrategyTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_type_59808af5df705879, []int{0} +} +func (m *BiddingStrategyTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BiddingStrategyTypeEnum.Unmarshal(m, b) +} +func (m *BiddingStrategyTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BiddingStrategyTypeEnum.Marshal(b, m, deterministic) +} +func (dst *BiddingStrategyTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BiddingStrategyTypeEnum.Merge(dst, src) +} +func (m *BiddingStrategyTypeEnum) XXX_Size() int { + return xxx_messageInfo_BiddingStrategyTypeEnum.Size(m) +} +func (m *BiddingStrategyTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BiddingStrategyTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BiddingStrategyTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BiddingStrategyTypeEnum)(nil), "google.ads.googleads.v0.enums.BiddingStrategyTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.BiddingStrategyTypeEnum_BiddingStrategyType", BiddingStrategyTypeEnum_BiddingStrategyType_name, BiddingStrategyTypeEnum_BiddingStrategyType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/bidding_strategy_type.proto", fileDescriptor_bidding_strategy_type_59808af5df705879) +} + +var fileDescriptor_bidding_strategy_type_59808af5df705879 = []byte{ + // 398 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x6e, 0xd4, 0x30, + 0x18, 0x64, 0x53, 0x68, 0xc1, 0x5b, 0xc0, 0x18, 0x10, 0xe5, 0xb0, 0x07, 0xfa, 0x00, 0xce, 0x4a, + 0x9c, 0x10, 0x27, 0x6f, 0xf6, 0x23, 0x8d, 0xda, 0xd8, 0x56, 0xfe, 0x40, 0x55, 0x24, 0x2b, 0x25, + 0x91, 0xb5, 0x52, 0x37, 0x89, 0xd6, 0x69, 0xa5, 0x7d, 0x1d, 0xb8, 0xf1, 0x12, 0x9c, 0xe1, 0xa9, + 0x90, 0x93, 0xb4, 0xd2, 0x4a, 0x4b, 0x2f, 0xd1, 0x4c, 0xc6, 0xe3, 0xf9, 0xfc, 0x0d, 0xfa, 0xa4, + 0x9b, 0x46, 0x5f, 0x57, 0x6e, 0x51, 0x1a, 0x77, 0x80, 0x16, 0xdd, 0xce, 0xdd, 0xaa, 0xbe, 0x59, + 0x1b, 0xf7, 0x6a, 0x55, 0x96, 0xab, 0x5a, 0x2b, 0xd3, 0x6d, 0x8a, 0xae, 0xd2, 0x5b, 0xd5, 0x6d, + 0xdb, 0x8a, 0xb6, 0x9b, 0xa6, 0x6b, 0xc8, 0x6c, 0x38, 0x4f, 0x8b, 0xd2, 0xd0, 0x7b, 0x2b, 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, 0x83, 0x7b, 0x5e, 0x9c, 0xec, 0x59, 0xa4, 0xb4, 0x05, 0xc9, + 0xc9, 0xe5, 0x62, 0xb4, 0xea, 0xe6, 0xba, 0xa8, 0x35, 0x6d, 0x36, 0xda, 0xd5, 0x55, 0xdd, 0xd7, + 0x77, 0xd7, 0x76, 0xbb, 0x32, 0xff, 0x29, 0xff, 0x73, 0xff, 0xfd, 0xe1, 0x1c, 0xf8, 0x8c, 0xfd, + 0x72, 0x66, 0xfe, 0x70, 0x15, 0x2b, 0x0d, 0x1d, 0xa0, 0x45, 0xd9, 0x9c, 0xda, 0x42, 0xcd, 0xdf, + 0x3b, 0x3d, 0x67, 0xa5, 0xc9, 0xef, 0xf5, 0x3c, 0x9b, 0xe7, 0xbd, 0x7e, 0x75, 0xd8, 0x87, 0x7e, + 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x98, 0xc2, 0x78, 0x70, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/billing_setup_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/billing_setup_status.pb.go new file mode 100644 index 000000000..3b628d61e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/billing_setup_status.pb.go @@ -0,0 +1,126 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/billing_setup_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of a BillingSetup. +type BillingSetupStatusEnum_BillingSetupStatus int32 + +const ( + // Not specified. + BillingSetupStatusEnum_UNSPECIFIED BillingSetupStatusEnum_BillingSetupStatus = 0 + // Used for return value only. Represents value unknown in this version. + BillingSetupStatusEnum_UNKNOWN BillingSetupStatusEnum_BillingSetupStatus = 1 + // The billing setup is pending approval. + BillingSetupStatusEnum_PENDING BillingSetupStatusEnum_BillingSetupStatus = 2 + // The billing setup has been approved but the corresponding first budget + // has not. This can only occur for billing setups configured for monthly + // invoicing. + BillingSetupStatusEnum_APPROVED_HELD BillingSetupStatusEnum_BillingSetupStatus = 3 + // The billing setup has been approved. + BillingSetupStatusEnum_APPROVED BillingSetupStatusEnum_BillingSetupStatus = 4 + // The billing setup was cancelled by the user prior to approval. + BillingSetupStatusEnum_CANCELLED BillingSetupStatusEnum_BillingSetupStatus = 5 +) + +var BillingSetupStatusEnum_BillingSetupStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PENDING", + 3: "APPROVED_HELD", + 4: "APPROVED", + 5: "CANCELLED", +} +var BillingSetupStatusEnum_BillingSetupStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PENDING": 2, + "APPROVED_HELD": 3, + "APPROVED": 4, + "CANCELLED": 5, +} + +func (x BillingSetupStatusEnum_BillingSetupStatus) String() string { + return proto.EnumName(BillingSetupStatusEnum_BillingSetupStatus_name, int32(x)) +} +func (BillingSetupStatusEnum_BillingSetupStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_status_668c8b84286f82ef, []int{0, 0} +} + +// Message describing BillingSetup statuses. +type BillingSetupStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BillingSetupStatusEnum) Reset() { *m = BillingSetupStatusEnum{} } +func (m *BillingSetupStatusEnum) String() string { return proto.CompactTextString(m) } +func (*BillingSetupStatusEnum) ProtoMessage() {} +func (*BillingSetupStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_status_668c8b84286f82ef, []int{0} +} +func (m *BillingSetupStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BillingSetupStatusEnum.Unmarshal(m, b) +} +func (m *BillingSetupStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BillingSetupStatusEnum.Marshal(b, m, deterministic) +} +func (dst *BillingSetupStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingSetupStatusEnum.Merge(dst, src) +} +func (m *BillingSetupStatusEnum) XXX_Size() int { + return xxx_messageInfo_BillingSetupStatusEnum.Size(m) +} +func (m *BillingSetupStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BillingSetupStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingSetupStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BillingSetupStatusEnum)(nil), "google.ads.googleads.v0.enums.BillingSetupStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.BillingSetupStatusEnum_BillingSetupStatus", BillingSetupStatusEnum_BillingSetupStatus_name, BillingSetupStatusEnum_BillingSetupStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/billing_setup_status.proto", fileDescriptor_billing_setup_status_668c8b84286f82ef) +} + +var fileDescriptor_billing_setup_status_668c8b84286f82ef = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdd, 0x4a, 0xc3, 0x30, + 0x1c, 0xc5, 0xed, 0xe6, 0x67, 0xe6, 0x30, 0xe6, 0x42, 0xaf, 0x76, 0xe1, 0x1e, 0x20, 0x2d, 0x78, + 0x23, 0x78, 0x95, 0xae, 0x71, 0x0e, 0x4b, 0x16, 0x2c, 0xab, 0x20, 0x85, 0xd2, 0xd9, 0x12, 0x0a, + 0x6d, 0x53, 0x96, 0x76,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32, 0x3d, 0xf4, 0xad, 0xd5, + 0xb9, 0xfa, 0xa3, 0xc4, 0x7b, 0xb3, 0x7e, 0x0c, 0x86, 0x73, 0x42, 0x3e, 0x07, 0x93, 0x79, 0xf7, + 0x14, 0x49, 0x15, 0xee, 0xa4, 0x56, 0xa1, 0x83, 0x75, 0x35, 0xea, 0xbb, 0xf7, 0x23, 0x92, 0xaa, + 0x68, 0xe7, 0x47, 0xa1, 0x13, 0x19, 0x7f, 0x7d, 0x6c, 0x3e, 0xbd, 0xfd, 0x09, 0x00, 0x00, 0xff, + 0xff, 0x75, 0xae, 0xb1, 0x4e, 0xb8, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_delivery_method.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_delivery_method.pb.go new file mode 100644 index 000000000..c1cc4616c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_delivery_method.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/budget_delivery_method.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible delivery methods of a Budget. +type BudgetDeliveryMethodEnum_BudgetDeliveryMethod int32 + +const ( + // Not specified. + BudgetDeliveryMethodEnum_UNSPECIFIED BudgetDeliveryMethodEnum_BudgetDeliveryMethod = 0 + // Used for return value only. Represents value unknown in this version. + BudgetDeliveryMethodEnum_UNKNOWN BudgetDeliveryMethodEnum_BudgetDeliveryMethod = 1 + // The budget server will throttle serving evenly across + // the entire time period. + BudgetDeliveryMethodEnum_STANDARD BudgetDeliveryMethodEnum_BudgetDeliveryMethod = 2 + // The budget server will not throttle serving, + // and ads will serve as fast as possible. + BudgetDeliveryMethodEnum_ACCELERATED BudgetDeliveryMethodEnum_BudgetDeliveryMethod = 3 +) + +var BudgetDeliveryMethodEnum_BudgetDeliveryMethod_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "STANDARD", + 3: "ACCELERATED", +} +var BudgetDeliveryMethodEnum_BudgetDeliveryMethod_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "STANDARD": 2, + "ACCELERATED": 3, +} + +func (x BudgetDeliveryMethodEnum_BudgetDeliveryMethod) String() string { + return proto.EnumName(BudgetDeliveryMethodEnum_BudgetDeliveryMethod_name, int32(x)) +} +func (BudgetDeliveryMethodEnum_BudgetDeliveryMethod) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_budget_delivery_method_20c0b5dc6c2cec81, []int{0, 0} +} + +// Message describing Budget delivery methods. A delivery method determines the +// rate at which the Budget is spent. +type BudgetDeliveryMethodEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BudgetDeliveryMethodEnum) Reset() { *m = BudgetDeliveryMethodEnum{} } +func (m *BudgetDeliveryMethodEnum) String() string { return proto.CompactTextString(m) } +func (*BudgetDeliveryMethodEnum) ProtoMessage() {} +func (*BudgetDeliveryMethodEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_budget_delivery_method_20c0b5dc6c2cec81, []int{0} +} +func (m *BudgetDeliveryMethodEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BudgetDeliveryMethodEnum.Unmarshal(m, b) +} +func (m *BudgetDeliveryMethodEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BudgetDeliveryMethodEnum.Marshal(b, m, deterministic) +} +func (dst *BudgetDeliveryMethodEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BudgetDeliveryMethodEnum.Merge(dst, src) +} +func (m *BudgetDeliveryMethodEnum) XXX_Size() int { + return xxx_messageInfo_BudgetDeliveryMethodEnum.Size(m) +} +func (m *BudgetDeliveryMethodEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BudgetDeliveryMethodEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BudgetDeliveryMethodEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BudgetDeliveryMethodEnum)(nil), "google.ads.googleads.v0.enums.BudgetDeliveryMethodEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod", BudgetDeliveryMethodEnum_BudgetDeliveryMethod_name, BudgetDeliveryMethodEnum_BudgetDeliveryMethod_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/budget_delivery_method.proto", fileDescriptor_budget_delivery_method_20c0b5dc6c2cec81) +} + +var fileDescriptor_budget_delivery_method_20c0b5dc6c2cec81 = []byte{ + // 276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xa4, 0xd2, 0x94, 0xf4, 0xd4, 0x92, 0xf8, 0x94, 0xd4, 0x9c, 0xcc, 0xb2, + 0xd4, 0xa2, 0xca, 0xf8, 0xdc, 0xd4, 0x92, 0x8c, 0xfc, 0x14, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, + 0x21, 0x59, 0x88, 0x06, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x5e, 0xbd,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xd8, 0xc0, 0x96, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x60, 0x4f, 0x2e, 0xcb, + 0xa1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_status.pb.go new file mode 100644 index 000000000..92029d50a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/budget_status.pb.go @@ -0,0 +1,113 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/budget_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a Budget. +type BudgetStatusEnum_BudgetStatus int32 + +const ( + // Not specified. + BudgetStatusEnum_UNSPECIFIED BudgetStatusEnum_BudgetStatus = 0 + // Used for return value only. Represents value unknown in this version. + BudgetStatusEnum_UNKNOWN BudgetStatusEnum_BudgetStatus = 1 + // Budget is enabled. + BudgetStatusEnum_ENABLED BudgetStatusEnum_BudgetStatus = 2 + // Budget is removed. + BudgetStatusEnum_REMOVED BudgetStatusEnum_BudgetStatus = 3 +) + +var BudgetStatusEnum_BudgetStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var BudgetStatusEnum_BudgetStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x BudgetStatusEnum_BudgetStatus) String() string { + return proto.EnumName(BudgetStatusEnum_BudgetStatus_name, int32(x)) +} +func (BudgetStatusEnum_BudgetStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_budget_status_b79aada4454e9811, []int{0, 0} +} + +// Message describing a Budget status +type BudgetStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BudgetStatusEnum) Reset() { *m = BudgetStatusEnum{} } +func (m *BudgetStatusEnum) String() string { return proto.CompactTextString(m) } +func (*BudgetStatusEnum) ProtoMessage() {} +func (*BudgetStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_budget_status_b79aada4454e9811, []int{0} +} +func (m *BudgetStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BudgetStatusEnum.Unmarshal(m, b) +} +func (m *BudgetStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BudgetStatusEnum.Marshal(b, m, deterministic) +} +func (dst *BudgetStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BudgetStatusEnum.Merge(dst, src) +} +func (m *BudgetStatusEnum) XXX_Size() int { + return xxx_messageInfo_BudgetStatusEnum.Size(m) +} +func (m *BudgetStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BudgetStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BudgetStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BudgetStatusEnum)(nil), "google.ads.googleads.v0.enums.BudgetStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.BudgetStatusEnum_BudgetStatus", BudgetStatusEnum_BudgetStatus_name, BudgetStatusEnum_BudgetStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/budget_status.proto", fileDescriptor_budget_status_b79aada4454e9811) +} + +var fileDescriptor_budget_status_b79aada4454e9811 = []byte{ + // 256 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08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, 0x05, 0x99, 0xc5, 0x38, 0xc2, + 0xc1, 0x1a, 0x4c, 0x2e, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24, 0xeb, 0x0e, 0x31, 0xca, + 0x31, 0xa5, 0x58, 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x40, 0x7e, 0x2d, 0x3e, 0x05, 0x93, + 0x8f, 0x71, 0x4c, 0x29, 0x8e, 0x81, 0xcb, 0xc7, 0x84, 0x19, 0xc4, 0x80, 0xe5, 0x93, 0xd8, 0xc0, + 0x96, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xbd, 0x23, 0x9e, 0x7b, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_conversion_reporting_state.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_conversion_reporting_state.pb.go new file mode 100644 index 000000000..de6dddcc9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_conversion_reporting_state.pb.go @@ -0,0 +1,125 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/call_conversion_reporting_state.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible data types for a call conversion action state. +type CallConversionReportingStateEnum_CallConversionReportingState int32 + +const ( + // Not specified. + CallConversionReportingStateEnum_UNSPECIFIED CallConversionReportingStateEnum_CallConversionReportingState = 0 + // Used for return value only. Represents value unknown in this version. + CallConversionReportingStateEnum_UNKNOWN CallConversionReportingStateEnum_CallConversionReportingState = 1 + // Call conversion action is disabled. + CallConversionReportingStateEnum_DISABLED CallConversionReportingStateEnum_CallConversionReportingState = 2 + // Call conversion action will use call conversion type set at the + // account level. + CallConversionReportingStateEnum_USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION CallConversionReportingStateEnum_CallConversionReportingState = 3 + // Call conversion action will use call conversion type set at the resource + // (call only ads/call extensions) level. + CallConversionReportingStateEnum_USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION CallConversionReportingStateEnum_CallConversionReportingState = 4 +) + +var CallConversionReportingStateEnum_CallConversionReportingState_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DISABLED", + 3: "USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION", + 4: "USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION", +} +var CallConversionReportingStateEnum_CallConversionReportingState_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DISABLED": 2, + "USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION": 3, + "USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION": 4, +} + +func (x CallConversionReportingStateEnum_CallConversionReportingState) String() string { + return proto.EnumName(CallConversionReportingStateEnum_CallConversionReportingState_name, int32(x)) +} +func (CallConversionReportingStateEnum_CallConversionReportingState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_call_conversion_reporting_state_7cdcaa6987dc2f7b, []int{0, 0} +} + +// Container for enum describing possible data types for call conversion +// reporting state. +type CallConversionReportingStateEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CallConversionReportingStateEnum) Reset() { *m = CallConversionReportingStateEnum{} } +func (m *CallConversionReportingStateEnum) String() string { return proto.CompactTextString(m) } +func (*CallConversionReportingStateEnum) ProtoMessage() {} +func (*CallConversionReportingStateEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_call_conversion_reporting_state_7cdcaa6987dc2f7b, []int{0} +} +func (m *CallConversionReportingStateEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CallConversionReportingStateEnum.Unmarshal(m, b) +} +func (m *CallConversionReportingStateEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CallConversionReportingStateEnum.Marshal(b, m, deterministic) +} +func (dst *CallConversionReportingStateEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CallConversionReportingStateEnum.Merge(dst, src) +} +func (m *CallConversionReportingStateEnum) XXX_Size() int { + return xxx_messageInfo_CallConversionReportingStateEnum.Size(m) +} +func (m *CallConversionReportingStateEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CallConversionReportingStateEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CallConversionReportingStateEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CallConversionReportingStateEnum)(nil), "google.ads.googleads.v0.enums.CallConversionReportingStateEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CallConversionReportingStateEnum_CallConversionReportingState", CallConversionReportingStateEnum_CallConversionReportingState_name, CallConversionReportingStateEnum_CallConversionReportingState_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/call_conversion_reporting_state.proto", fileDescriptor_call_conversion_reporting_state_7cdcaa6987dc2f7b) +} + +var fileDescriptor_call_conversion_reporting_state_7cdcaa6987dc2f7b = []byte{ + // 328 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xfb, 0x30, + 0x18, 0xc6, 0xff, 0xdd, 0xfe, 0xa8, 0x64, 0x82, 0xa5, 0x67, 0x07, 0x6e, 0x27, 0x05, 0x4d, 0x0b, + 0x1e, 0x3d, 0xa5, 0x59, 0x1c, 0xc5, 0x92, 0x8e, 0x76, 0xad, 0x20, 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0x74, 0x4c, 0x92, 0x28, 0x8d, 0x31, 0xe9, 0x8f, 0xff, 0xf7, 0xbf, 0x2d, 0x30, 0x59, + 0xa9, 0x0d, 0xec, 0x5d, 0xda, 0x9f, 0xf4, 0x2d, 0xb3, 0x30, 0xb5, 0x2d, 0xac, 0x17, 0xff, 0x97, + 0xc1, 0x95, 0x28, 0x24, 0x87, 0xaa, 0xe6, 0x2e, 0xaf, 0x64, 0x5b, 0xea, 0xe1, 0x1a, 0xdb, 0xb5, + 0xfe, 0xe3, 0x38, 0x0f, 0xed, 0xfb, 0x36, 0x18, 0xce, 0x11, 0xfa, 0x18, 0x8c, 0xe7, 0x1d, 0x0a, + 0x95, 0x1a, 0x76, 0xd2, 0xa8, 0xcc, 0x83, 0xa6, 0x5d, 0xfd, 0x79, 0xf0, 0x73, 0x54, 0xea, 0xfc, + 0xe8, 0xe7, 0x99, 0x97, 0xb7, 0xfe, 0xeb, 0x49, 0x3b, 0xf4, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, + 0xc1, 0xfc, 0x20, 0x51, 0x10, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_placeholder_field.pb.go new file mode 100644 index 000000000..a64f4e340 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/call_placeholder_field.pb.go @@ -0,0 +1,137 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/call_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Call placeholder fields. +type CallPlaceholderFieldEnum_CallPlaceholderField int32 + +const ( + // Not specified. + CallPlaceholderFieldEnum_UNSPECIFIED CallPlaceholderFieldEnum_CallPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + CallPlaceholderFieldEnum_UNKNOWN CallPlaceholderFieldEnum_CallPlaceholderField = 1 + // Data Type: STRING. The advertiser's phone number to append to the ad. + CallPlaceholderFieldEnum_PHONE_NUMBER CallPlaceholderFieldEnum_CallPlaceholderField = 2 + // Data Type: STRING. Uppercase two-letter country code of the advertiser's + // phone number. + CallPlaceholderFieldEnum_COUNTRY_CODE CallPlaceholderFieldEnum_CallPlaceholderField = 3 + // Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: + // true. + CallPlaceholderFieldEnum_TRACKED CallPlaceholderFieldEnum_CallPlaceholderField = 4 + // Data Type: INT64. The ID of an AdCallMetricsConversion object. This + // object contains the phoneCallDurationfield which is the minimum duration + // (in seconds) of a call to be considered a conversion. + CallPlaceholderFieldEnum_CONVERSION_TYPE_ID CallPlaceholderFieldEnum_CallPlaceholderField = 5 + // Data Type: STRING. Indicates whether this call extension uses its own + // call conversion setting or follows the account level setting. + // Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and + // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + CallPlaceholderFieldEnum_CONVERSION_REPORTING_STATE CallPlaceholderFieldEnum_CallPlaceholderField = 6 +) + +var CallPlaceholderFieldEnum_CallPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PHONE_NUMBER", + 3: "COUNTRY_CODE", + 4: "TRACKED", + 5: "CONVERSION_TYPE_ID", + 6: "CONVERSION_REPORTING_STATE", +} +var CallPlaceholderFieldEnum_CallPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PHONE_NUMBER": 2, + "COUNTRY_CODE": 3, + "TRACKED": 4, + "CONVERSION_TYPE_ID": 5, + "CONVERSION_REPORTING_STATE": 6, +} + +func (x CallPlaceholderFieldEnum_CallPlaceholderField) String() string { + return proto.EnumName(CallPlaceholderFieldEnum_CallPlaceholderField_name, int32(x)) +} +func (CallPlaceholderFieldEnum_CallPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_call_placeholder_field_1efb02a4392b5d2d, []int{0, 0} +} + +// Values for Call placeholder fields. +type CallPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CallPlaceholderFieldEnum) Reset() { *m = CallPlaceholderFieldEnum{} } +func (m *CallPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*CallPlaceholderFieldEnum) ProtoMessage() {} +func (*CallPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_call_placeholder_field_1efb02a4392b5d2d, []int{0} +} +func (m *CallPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CallPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *CallPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CallPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *CallPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CallPlaceholderFieldEnum.Merge(dst, src) +} +func (m *CallPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_CallPlaceholderFieldEnum.Size(m) +} +func (m *CallPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CallPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CallPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CallPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.CallPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CallPlaceholderFieldEnum_CallPlaceholderField", CallPlaceholderFieldEnum_CallPlaceholderField_name, CallPlaceholderFieldEnum_CallPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/call_placeholder_field.proto", fileDescriptor_call_placeholder_field_1efb02a4392b5d2d) +} + +var fileDescriptor_call_placeholder_field_1efb02a4392b5d2d = []byte{ + // 332 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30, + 0x14, 0xc6, 0xed, 0xa6, 0x13, 0x32, 0xc1, 0x50, 0x44, 0x54, 0x98, 0xe0, 0x1e, 0x20, 0x2d, 0x78, + 0xa7, 0x57, 0xfd, 0x93, 0xcd, 0x32, 0x4c, 0x42, 0xd7, 0x4e, 0x26, 0x85, 0x50, 0xd7, 0x5a, 0x07, + 0x59, 0x33, 0x16, 0xb7, 0xb7, 0xf1, 0xc6, 0x4b, 0x1f, 0xc1, 0x47, 0xd8, 0x53, 0x49, 0x5a, 0x37, + 0xbd, 0x98, 0xde, 0x84, 0x8f, 0xf3, 0xf1, 0xcb, 0xe1, 0xfc, 0xc0, 0x4d, 0x21, 0x65, 0x21, 0x72, + 0x2b, 0xcd, 0x94, 0x55, 0x47, 0x9d, 0x56, 0xb6, 0x95, 0x97, 0xcb, 0x99, 0xb2, 0x26, 0xa9, 0x10, + 0x7c, 0x2e, 0xd2, 0x49, 0xfe, 0x22, 0x45, 0x96, 0x2f, 0xf8, 0xf3, 0x34, 0x17, 0x19, 0x9a, 0x2f, + 0xe4, 0xab, 0x34, 0x3b, 0x35, 0x80, 0xd2, 0x4c, 0xa1, 0x2d, 0x8b, 0x56, 0x36, 0xaa, 0xd8, 0xee, + 0xa7, 0x01, 0xce, 0xbc, 0x54, 0x08, 0xf6, 0x83, 0xf7, 0x34, 0x8d, 0xcb, 0xe5, 0xac, 0xfb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0xf5, 0x10, 0x42, 0xed, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/callout_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/callout_placeholder_field.pb.go new file mode 100644 index 000000000..a2efc2256 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/callout_placeholder_field.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/callout_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Callout placeholder fields. +type CalloutPlaceholderFieldEnum_CalloutPlaceholderField int32 + +const ( + // Not specified. + CalloutPlaceholderFieldEnum_UNSPECIFIED CalloutPlaceholderFieldEnum_CalloutPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + CalloutPlaceholderFieldEnum_UNKNOWN CalloutPlaceholderFieldEnum_CalloutPlaceholderField = 1 + // Data Type: STRING. Callout text. + CalloutPlaceholderFieldEnum_CALLOUT_TEXT CalloutPlaceholderFieldEnum_CalloutPlaceholderField = 2 +) + +var CalloutPlaceholderFieldEnum_CalloutPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CALLOUT_TEXT", +} +var CalloutPlaceholderFieldEnum_CalloutPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CALLOUT_TEXT": 2, +} + +func (x CalloutPlaceholderFieldEnum_CalloutPlaceholderField) String() string { + return proto.EnumName(CalloutPlaceholderFieldEnum_CalloutPlaceholderField_name, int32(x)) +} +func (CalloutPlaceholderFieldEnum_CalloutPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_callout_placeholder_field_4df33348e5fa305d, []int{0, 0} +} + +// Values for Callout placeholder fields. +type CalloutPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CalloutPlaceholderFieldEnum) Reset() { *m = CalloutPlaceholderFieldEnum{} } +func (m *CalloutPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*CalloutPlaceholderFieldEnum) ProtoMessage() {} +func (*CalloutPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_callout_placeholder_field_4df33348e5fa305d, []int{0} +} +func (m *CalloutPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CalloutPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *CalloutPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CalloutPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *CalloutPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CalloutPlaceholderFieldEnum.Merge(dst, src) +} +func (m *CalloutPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_CalloutPlaceholderFieldEnum.Size(m) +} +func (m *CalloutPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CalloutPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CalloutPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CalloutPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.CalloutPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField", CalloutPlaceholderFieldEnum_CalloutPlaceholderField_name, CalloutPlaceholderFieldEnum_CalloutPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/callout_placeholder_field.proto", fileDescriptor_callout_placeholder_field_4df33348e5fa305d) +} + +var fileDescriptor_callout_placeholder_field_4df33348e5fa305d = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0xc4, 0x9c, 0x9c, 0xfc, 0xd2, 0x92, 0xf8, 0x82, 0x9c, 0xc4, 0xe4, + 0xd4, 0x8c, 0xfc, 0x9c, 0x94, 0xd4, 0xa2, 0xf8, 0xb4, 0xcc, 0xd4, 0x9c, 0x14, 0xbd, 0x82, 0xa2, + 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x1e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x76, 0xbd, 0x32, + 0x03, 0x3d, 0xb0, 0x76, 0xa5, 0x0c, 0x2e, 0x69, 0x67, 0x88, 0x09, 0x01, 0x08, 0x03, 0xdc, 0x40, + 0xfa, 0x5d, 0xf3, 0x4a, 0x73, 0x95, 0x3c, 0xb9, 0xc4, 0x71, 0x48, 0x0b, 0xf1, 0x73, 0x71, 0x87, + 0xfa, 0x05, 0x07, 0xb8, 0x3a, 0x7b, 0xba, 0x79, 0xba, 0xba, 0x08, 0x30, 0x08, 0x71, 0x73, 0xb1, + 0x87, 0xfa, 0x79, 0xfb, 0xf9, 0x87, 0xfb, 0x09, 0x30, 0x0a, 0x09, 0x70, 0xf1, 0x38, 0x3b, 0xfa, + 0xf8, 0xf8, 0x87, 0x86, 0xc4, 0x87, 0xb8, 0x46, 0x84, 0x08, 0x30, 0x39, 0x9d, 0x65, 0xe4, 0x52, + 0x4c, 0xce, 0xcf, 0xd5, 0xc3, 0xeb, 0x1e, 0x27, 0x19, 0x1c, 0xd6, 0x05, 0x80, 0x3c, 0x13, 0xc0, + 0x18, 0xe5, 0x04, 0xd5, 0x9e, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, + 0x9e, 0x9a, 0x07, 0xf6, 0x2a, 0x2c, 0x74, 0x0a, 0x32, 0x8b, 0x71, 0x04, 0x96, 0x35, 0x98, 0x5c, + 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, 0x1e, + 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, 0x81, 0x7c, 0x5e, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, + 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x88, 0x01, 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0xff, 0x10, 0x36, 0x00, 0xa0, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_group_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_group_status.pb.go new file mode 100644 index 000000000..916822704 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_group_status.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/campaign_group_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a CampaignGroup. +type CampaignGroupStatusEnum_CampaignGroupStatus int32 + +const ( + // Not specified. + CampaignGroupStatusEnum_UNSPECIFIED CampaignGroupStatusEnum_CampaignGroupStatus = 0 + // Used for return value only. Represents value unknown in this version. + CampaignGroupStatusEnum_UNKNOWN CampaignGroupStatusEnum_CampaignGroupStatus = 1 + // Campaign group is currently serving ads depending on budget information. + CampaignGroupStatusEnum_ENABLED CampaignGroupStatusEnum_CampaignGroupStatus = 2 + // Campaign group has been removed. + CampaignGroupStatusEnum_REMOVED CampaignGroupStatusEnum_CampaignGroupStatus = 4 +) + +var CampaignGroupStatusEnum_CampaignGroupStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 4: "REMOVED", +} +var CampaignGroupStatusEnum_CampaignGroupStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 4, +} + +func (x CampaignGroupStatusEnum_CampaignGroupStatus) String() string { + return proto.EnumName(CampaignGroupStatusEnum_CampaignGroupStatus_name, int32(x)) +} +func (CampaignGroupStatusEnum_CampaignGroupStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_status_0530aace33372d44, []int{0, 0} +} + +// Message describing CampaignGroup statuses. +type CampaignGroupStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignGroupStatusEnum) Reset() { *m = CampaignGroupStatusEnum{} } +func (m *CampaignGroupStatusEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignGroupStatusEnum) ProtoMessage() {} +func (*CampaignGroupStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_status_0530aace33372d44, []int{0} +} +func (m *CampaignGroupStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignGroupStatusEnum.Unmarshal(m, b) +} +func (m *CampaignGroupStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignGroupStatusEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignGroupStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignGroupStatusEnum.Merge(dst, src) +} +func (m *CampaignGroupStatusEnum) XXX_Size() int { + return xxx_messageInfo_CampaignGroupStatusEnum.Size(m) +} +func (m *CampaignGroupStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignGroupStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignGroupStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignGroupStatusEnum)(nil), "google.ads.googleads.v0.enums.CampaignGroupStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CampaignGroupStatusEnum_CampaignGroupStatus", CampaignGroupStatusEnum_CampaignGroupStatus_name, CampaignGroupStatusEnum_CampaignGroupStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/campaign_group_status.proto", fileDescriptor_campaign_group_status_0530aace33372d44) +} + +var fileDescriptor_campaign_group_status_0530aace33372d44 = []byte{ + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4c, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0xc4, 0xdc, 0x82, 0xc4, 0xcc, 0xf4, 0xbc, 0xf8, 0xf4, 0xa2, 0xfc, + 0xd2, 0x82, 0xf8, 0x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98, 0x7c, 0x8c, 0x63, 0x4a, 0x71, + 0x0c, 0x5c, 0x3e, 0x26, 0xcc, 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, 0xd4, 0x18, 0x10, 0x00, + 0x00, 0xff, 0xff, 0x2f, 0xcf, 0x77, 0xdc, 0x98, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_serving_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_serving_status.pb.go new file mode 100644 index 000000000..f131fd682 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_serving_status.pb.go @@ -0,0 +1,130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/campaign_serving_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible serving statuses of a campaign. +type CampaignServingStatusEnum_CampaignServingStatus int32 + +const ( + // No value has been specified. + CampaignServingStatusEnum_UNSPECIFIED CampaignServingStatusEnum_CampaignServingStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + CampaignServingStatusEnum_UNKNOWN CampaignServingStatusEnum_CampaignServingStatus = 1 + // Serving. + CampaignServingStatusEnum_SERVING CampaignServingStatusEnum_CampaignServingStatus = 2 + // None. + CampaignServingStatusEnum_NONE CampaignServingStatusEnum_CampaignServingStatus = 3 + // Ended. + CampaignServingStatusEnum_ENDED CampaignServingStatusEnum_CampaignServingStatus = 4 + // Pending. + CampaignServingStatusEnum_PENDING CampaignServingStatusEnum_CampaignServingStatus = 5 + // Suspended. + CampaignServingStatusEnum_SUSPENDED CampaignServingStatusEnum_CampaignServingStatus = 6 +) + +var CampaignServingStatusEnum_CampaignServingStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SERVING", + 3: "NONE", + 4: "ENDED", + 5: "PENDING", + 6: "SUSPENDED", +} +var CampaignServingStatusEnum_CampaignServingStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SERVING": 2, + "NONE": 3, + "ENDED": 4, + "PENDING": 5, + "SUSPENDED": 6, +} + +func (x CampaignServingStatusEnum_CampaignServingStatus) String() string { + return proto.EnumName(CampaignServingStatusEnum_CampaignServingStatus_name, int32(x)) +} +func (CampaignServingStatusEnum_CampaignServingStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_serving_status_73372c2f9572d776, []int{0, 0} +} + +// Message describing Campaign serving statuses. +type CampaignServingStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignServingStatusEnum) Reset() { *m = CampaignServingStatusEnum{} } +func (m *CampaignServingStatusEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignServingStatusEnum) ProtoMessage() {} +func (*CampaignServingStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_serving_status_73372c2f9572d776, []int{0} +} +func (m *CampaignServingStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignServingStatusEnum.Unmarshal(m, b) +} +func (m *CampaignServingStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignServingStatusEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignServingStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignServingStatusEnum.Merge(dst, src) +} +func (m *CampaignServingStatusEnum) XXX_Size() int { + return xxx_messageInfo_CampaignServingStatusEnum.Size(m) +} +func (m *CampaignServingStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignServingStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignServingStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignServingStatusEnum)(nil), "google.ads.googleads.v0.enums.CampaignServingStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CampaignServingStatusEnum_CampaignServingStatus", CampaignServingStatusEnum_CampaignServingStatus_name, CampaignServingStatusEnum_CampaignServingStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/campaign_serving_status.proto", fileDescriptor_campaign_serving_status_73372c2f9572d776) +} + +var fileDescriptor_campaign_serving_status_73372c2f9572d776 = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30, + 0x18, 0xc5, 0xed, 0xfe, 0xe9, 0x32, 0xc4, 0x12, 0xf0, 0x42, 0x61, 0x17, 0xee, 0x01, 0xd2, 0x82, + 0x97, 0xbb, 0xea, 0xd6, 0x38, 0x86, 0x90, 0x15, 0x43, 0x2b, 0x48, 0x61, 0xc4, 0xb5, 0x84, 0xc2, + 0x9a, 0x94, 0xa6, 0xed, 0x73, 0xf8, 0x0c, 0x5e, 0xfa, 0x28, 0xfa, 0x52, 0x92, 0x64, 0xdb, 0xd5, + 0xf4, 0x26, 0x9c, 0x70, 0xbe, 0xdf, 0x97, 0x93, 0x03, 0xe6, 0x5c, 0x4a, 0xbe, 0xcf, 0x3d, 0x96, + 0x29, 0xcf, 0x4a, 0xad, 0x3a, 0xdf, 0xcb, 0x45, 0x5b, 0x2a, 0x6f, 0xc7, 0xca, 0x8a, 0x15, 0x5c, + 0x6c, 0x55, 0x5e, 0x77, 0x85, 0xe0, 0x5b, 0xd5, 0xb0, 0xa6, 0x55, 0xa8, 0xaa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30, 0x07, 0xeb, 0xc5, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_shared_set_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_shared_set_status.pb.go new file mode 100644 index 000000000..72a082ebd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_shared_set_status.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/campaign_shared_set_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the possible campaign shared set statuses. +type CampaignSharedSetStatusEnum_CampaignSharedSetStatus int32 + +const ( + // Not specified. + CampaignSharedSetStatusEnum_UNSPECIFIED CampaignSharedSetStatusEnum_CampaignSharedSetStatus = 0 + // Used for return value only. Represents value unknown in this version. + CampaignSharedSetStatusEnum_UNKNOWN CampaignSharedSetStatusEnum_CampaignSharedSetStatus = 1 + // The campaign shared set is enabled. + CampaignSharedSetStatusEnum_ENABLED CampaignSharedSetStatusEnum_CampaignSharedSetStatus = 2 + // The campaign shared set is removed and can no longer be used. + CampaignSharedSetStatusEnum_REMOVED CampaignSharedSetStatusEnum_CampaignSharedSetStatus = 3 +) + +var CampaignSharedSetStatusEnum_CampaignSharedSetStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var CampaignSharedSetStatusEnum_CampaignSharedSetStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x CampaignSharedSetStatusEnum_CampaignSharedSetStatus) String() string { + return proto.EnumName(CampaignSharedSetStatusEnum_CampaignSharedSetStatus_name, int32(x)) +} +func (CampaignSharedSetStatusEnum_CampaignSharedSetStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_status_82017bcab3cc753a, []int{0, 0} +} + +// Container for enum describing types of campaign shared set statuses. +type CampaignSharedSetStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignSharedSetStatusEnum) Reset() { *m = CampaignSharedSetStatusEnum{} } +func (m *CampaignSharedSetStatusEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignSharedSetStatusEnum) ProtoMessage() {} +func (*CampaignSharedSetStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_status_82017bcab3cc753a, []int{0} +} +func (m *CampaignSharedSetStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignSharedSetStatusEnum.Unmarshal(m, b) +} +func (m *CampaignSharedSetStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignSharedSetStatusEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignSharedSetStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignSharedSetStatusEnum.Merge(dst, src) +} +func (m *CampaignSharedSetStatusEnum) XXX_Size() int { + return xxx_messageInfo_CampaignSharedSetStatusEnum.Size(m) +} +func (m *CampaignSharedSetStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignSharedSetStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignSharedSetStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignSharedSetStatusEnum)(nil), "google.ads.googleads.v0.enums.CampaignSharedSetStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus", CampaignSharedSetStatusEnum_CampaignSharedSetStatus_name, CampaignSharedSetStatusEnum_CampaignSharedSetStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/campaign_shared_set_status.proto", fileDescriptor_campaign_shared_set_status_82017bcab3cc753a) +} + +var fileDescriptor_campaign_shared_set_status_82017bcab3cc753a = []byte{ + // 276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0xc4, 0xdc, 0x82, 0xc4, 0xcc, 0xf4, 0xbc, 0xf8, 0xe2, 0x8c, 0xc4, + 0xa2, 0xd4, 0x94, 0xf8, 0xe2, 0xd4, 0x92, 0xf8, 0xe2, 0x92, 0xc4, 0x92, 0xd2, 0x62, 0xbd, 0x82, + 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x26, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x7e, 0xbd, + 0x32, 0x03, 0x3d, 0xb0, 0x7e, 0xa5, 0x02, 0x2e, 0x69, 0x67, 0xa8, 0x11, 0xc1, 0x60, 0x13, 0x82, + 0x53, 0x4b, 0x82, 0xc1, 0xfa, 0x5d, 0xf3, 0x4a, 0x73, 0x95, 0x02, 0xb9, 0xc4, 0x71, 0x48, 0x0b, + 0xf1, 0x73, 0x71, 0x87, 0xfa, 0x05, 0x07, 0xb8, 0x3a, 0x7b, 0xba, 0x79, 0xba, 0xba, 0x08, 0x30, + 0x08, 0x71, 0x73, 0xb1, 0x87, 0xfa, 0x79, 0xfb, 0xf9, 0x87, 0xfb, 0x09, 0x30, 0x82, 0x38, 0xae, + 0x7e, 0x8e, 0x4e, 0x3e, 0xae, 0x2e, 0x02, 0x4c, 0x20, 0x4e, 0x90, 0xab, 0xaf, 0x7f, 0x98, 0xab, + 0x8b, 0x00, 0xb3, 0xd3, 0x59, 0x46, 0x2e, 0xc5, 0xe4, 0xfc, 0x5c, 0x3d, 0xbc, 0xee, 0x72, 0x92, + 0xc1, 0x61, 0x6d, 0x00, 0xc8, 0x53, 0x01, 0x8c, 0x51, 0x4e, 0x50, 0xed, 0xe9, 0xf9, 0x39, 0x89, + 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0x2f, 0xc3, 0x82, 0xa9, 0x20, + 0xb3, 0x18, 0x47, 0xa8, 0x59, 0x83, 0xc9, 0x45, 0x4c, 0xcc, 0xee, 0x8e, 0x8e, 0xab, 0x98, 0x64, + 0xdd, 0x21, 0x46, 0x39, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, 0x56, 0x98, 0x81, 0x1e, 0x28, 0x04, + 0x8a, 0x4f, 0xc1, 0xe4, 0x63, 0x1c, 0x53, 0x8a, 0x63, 0xe0, 0xf2, 0x31, 0x61, 0x06, 0x31, 0x60, + 0xf9, 0x24, 0x36, 0xb0, 0xa5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xcf, 0xee, 0xb5, + 0xa9, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_status.pb.go new file mode 100644 index 000000000..afb605c57 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/campaign_status.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/campaign_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a campaign. +type CampaignStatusEnum_CampaignStatus int32 + +const ( + // Not specified. + CampaignStatusEnum_UNSPECIFIED CampaignStatusEnum_CampaignStatus = 0 + // Used for return value only. Represents value unknown in this version. + CampaignStatusEnum_UNKNOWN CampaignStatusEnum_CampaignStatus = 1 + // Campaign is currently serving ads depending on budget information. + CampaignStatusEnum_ENABLED CampaignStatusEnum_CampaignStatus = 2 + // Campaign has been paused by the user. + CampaignStatusEnum_PAUSED CampaignStatusEnum_CampaignStatus = 3 + // Campaign has been removed. + CampaignStatusEnum_REMOVED CampaignStatusEnum_CampaignStatus = 4 +) + +var CampaignStatusEnum_CampaignStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "PAUSED", + 4: "REMOVED", +} +var CampaignStatusEnum_CampaignStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "PAUSED": 3, + "REMOVED": 4, +} + +func (x CampaignStatusEnum_CampaignStatus) String() string { + return proto.EnumName(CampaignStatusEnum_CampaignStatus_name, int32(x)) +} +func (CampaignStatusEnum_CampaignStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_status_a4946b8bf190e841, []int{0, 0} +} + +// Container for enum describing possible statuses of a campaign. +type CampaignStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignStatusEnum) Reset() { *m = CampaignStatusEnum{} } +func (m *CampaignStatusEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignStatusEnum) ProtoMessage() {} +func (*CampaignStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_status_a4946b8bf190e841, []int{0} +} +func (m *CampaignStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignStatusEnum.Unmarshal(m, b) +} +func (m *CampaignStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignStatusEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignStatusEnum.Merge(dst, src) +} +func (m *CampaignStatusEnum) XXX_Size() int { + return xxx_messageInfo_CampaignStatusEnum.Size(m) +} +func (m *CampaignStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignStatusEnum)(nil), "google.ads.googleads.v0.enums.CampaignStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CampaignStatusEnum_CampaignStatus", CampaignStatusEnum_CampaignStatus_name, CampaignStatusEnum_CampaignStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/campaign_status.proto", fileDescriptor_campaign_status_a4946b8bf190e841) +} + +var fileDescriptor_campaign_status_a4946b8bf190e841 = []byte{ + // 270 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0xc4, 0xdc, 0x82, 0xc4, 0xcc, 0xf4, 0xbc, 0xf8, 0xe2, 0x92, 0xc4, + 0x92, 0xd2, 0x62, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x4a, 0xbd, 0xc4, 0x94, + 0x62, 0x3d, 0xb8, 0x26, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x26, 0xa5, 0x2c, 0x2e, 0x21, 0x67, 0xa8, + 0xbe, 0x60, 0xb0, 0x36, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, 0x10, 0x2e, 0x3e, 0x54, 0x51, 0x21, 0x7e, + 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, + 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, 0x10, 0xc7, 0xd5, 0xcf, + 0xd1, 0xc9, 0xc7, 0xd5, 0x45, 0x80, 0x49, 0x88, 0x8b, 0x8b, 0x2d, 0xc0, 0x31, 0x34, 0xd8, 0xd5, + 0x45, 0x80, 0x19, 0x24, 0x11, 0xe4, 0xea, 0xeb, 0x1f, 0xe6, 0xea, 0x22, 0xc0, 0xe2, 0x74, 0x84, + 0x91, 0x4b, 0x31, 0x39, 0x3f, 0x57, 0x0f, 0xaf, 0x8b, 0x9c, 0x84, 0x51, 0x6d, 0x0e, 0x00, 0xf9, + 0x22, 0x80, 0x31, 0xca, 0x09, 0xaa, 0x2b, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, + 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x47, 0x58, 0x60, 0x14, 0x64, 0x16, 0xe3, 0x08, 0x1b, 0x6b, + 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, 0x94, + 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, 0xf9, 0xbd, 0xf8, 0x14, 0x4c, 0x3e, 0xc6, + 0x31, 0xa5, 0x38, 0x06, 0x2e, 0x1f, 0x13, 0x66, 0x10, 0x03, 0x96, 0x4f, 0x62, 0x03, 0x5b, 0x6a, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x73, 0xa2, 0x1a, 0x8f, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_operation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_operation.pb.go new file mode 100644 index 000000000..32751d9f8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_operation.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/change_status_operation.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Status of the changed resource +type ChangeStatusOperationEnum_ChangeStatusOperation int32 + +const ( + // No value has been specified. + ChangeStatusOperationEnum_UNSPECIFIED ChangeStatusOperationEnum_ChangeStatusOperation = 0 + // Used for return value only. Represents an unclassified resource unknown + // in this version. + ChangeStatusOperationEnum_UNKNOWN ChangeStatusOperationEnum_ChangeStatusOperation = 1 + // The resource was created. + ChangeStatusOperationEnum_ADDED ChangeStatusOperationEnum_ChangeStatusOperation = 2 + // The resource was modified. + ChangeStatusOperationEnum_CHANGED ChangeStatusOperationEnum_ChangeStatusOperation = 3 + // The resource was removed. + ChangeStatusOperationEnum_REMOVED ChangeStatusOperationEnum_ChangeStatusOperation = 4 +) + +var ChangeStatusOperationEnum_ChangeStatusOperation_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ADDED", + 3: "CHANGED", + 4: "REMOVED", +} +var ChangeStatusOperationEnum_ChangeStatusOperation_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ADDED": 2, + "CHANGED": 3, + "REMOVED": 4, +} + +func (x ChangeStatusOperationEnum_ChangeStatusOperation) String() string { + return proto.EnumName(ChangeStatusOperationEnum_ChangeStatusOperation_name, int32(x)) +} +func (ChangeStatusOperationEnum_ChangeStatusOperation) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_change_status_operation_b1df569575e87122, []int{0, 0} +} + +// Container for enum describing operations for the ChangeStatus resource. +type ChangeStatusOperationEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChangeStatusOperationEnum) Reset() { *m = ChangeStatusOperationEnum{} } +func (m *ChangeStatusOperationEnum) String() string { return proto.CompactTextString(m) } +func (*ChangeStatusOperationEnum) ProtoMessage() {} +func (*ChangeStatusOperationEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_change_status_operation_b1df569575e87122, []int{0} +} +func (m *ChangeStatusOperationEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChangeStatusOperationEnum.Unmarshal(m, b) +} +func (m *ChangeStatusOperationEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChangeStatusOperationEnum.Marshal(b, m, deterministic) +} +func (dst *ChangeStatusOperationEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangeStatusOperationEnum.Merge(dst, src) +} +func (m *ChangeStatusOperationEnum) XXX_Size() int { + return xxx_messageInfo_ChangeStatusOperationEnum.Size(m) +} +func (m *ChangeStatusOperationEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ChangeStatusOperationEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ChangeStatusOperationEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ChangeStatusOperationEnum)(nil), "google.ads.googleads.v0.enums.ChangeStatusOperationEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ChangeStatusOperationEnum_ChangeStatusOperation", ChangeStatusOperationEnum_ChangeStatusOperation_name, ChangeStatusOperationEnum_ChangeStatusOperation_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/change_status_operation.proto", fileDescriptor_change_status_operation_b1df569575e87122) +} + +var fileDescriptor_change_status_operation_b1df569575e87122 = []byte{ + // 281 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0x8c, 0xc4, 0xbc, 0xf4, 0xd4, 0xf8, 0xe2, 0x92, 0xc4, 0x92, 0xd2, + 0xe2, 0xf8, 0xfc, 0x82, 0xd4, 0xa2, 0xc4, 0x92, 0xcc, 0xfc, 0x3c, 0xbd, 0x82, 0xa2, 0xfc, 0x92, + 0x7c, 0x21, 0x59, 0x88, 0x0e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x66, 0xbd, 0x32, 0x03, 0x3d, + 0xb0, 0x66, 0xa5, 0x72, 0x2e, 0x49, 0x67, 0xb0, 0xfe, 0x60, 0xb0, 0x76, 0x7f, 0x98, 0x6e, 0xd7, + 0xbc, 0xd2, 0x5c, 0xa5, 0x28, 0x2e, 0x51, 0xac, 0x92, 0x42, 0xfc, 0x5c, 0xdc, 0xa1, 0x7e, 0xc1, + 0x01, 0xae, 0xce, 0x9e, 0x6e, 0x9e, 0xae, 0x2e, 0x02, 0x0c, 0x42, 0xdc, 0x5c, 0xec, 0xa1, 0x7e, + 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0x02, 0x8c, 0x42, 0x9c, 0x5c, 0xac, 0x8e, 0x2e, 0x2e, 0xae, 0x2e, + 0x02, 0x4c, 0x20, 0x71, 0x67, 0x0f, 0x47, 0x3f, 0x77, 0x57, 0x17, 0x01, 0x66, 0x10, 0x27, 0xc8, + 0xd5, 0xd7, 0x3f, 0xcc, 0xd5, 0x45, 0x80, 0xc5, 0xe9, 0x34, 0x23, 0x97, 0x62, 0x72, 0x7e, 0xae, + 0x1e, 0x5e, 0xe7, 0x39, 0x49, 0x61, 0xb5, 0x3f, 0x00, 0xe4, 0xb3, 0x00, 0xc6, 0x28, 0x27, 0xa8, + 0xe6, 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, + 0xbf, 0x61, 0x01, 0x55, 0x90, 0x59, 0x8c, 0x23, 0xdc, 0xac, 0xc1, 0xe4, 0x22, 0x26, 0x66, 0x77, + 0x47, 0xc7, 0x55, 0x4c, 0xb2, 0xee, 0x10, 0xa3, 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, + 0xcc, 0x40, 0x0f, 0x14, 0x10, 0xc5, 0xa7, 0x60, 0xf2, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0xf9, + 0x98, 0x30, 0x83, 0x18, 0xb0, 0x7c, 0x12, 0x1b, 0xd8, 0x52, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x02, 0xe5, 0xee, 0xbb, 0xab, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_resource_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_resource_type.pb.go new file mode 100644 index 000000000..7a91f1cb6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/change_status_resource_type.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/change_status_resource_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the resource types support by the ChangeStatus resource. +type ChangeStatusResourceTypeEnum_ChangeStatusResourceType int32 + +const ( + // No value has been specified. + ChangeStatusResourceTypeEnum_UNSPECIFIED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 0 + // Used for return value only. Represents an unclassified resource unknown + // in this version. + ChangeStatusResourceTypeEnum_UNKNOWN ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 1 + // An AdGroup resource change. + ChangeStatusResourceTypeEnum_AD_GROUP ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 3 + // An AdGroupAd resource change. + ChangeStatusResourceTypeEnum_AD_GROUP_AD ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 4 + // An AdGroupCriterion resource change. + ChangeStatusResourceTypeEnum_AD_GROUP_CRITERION ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 5 + // A Campaign resource change. + ChangeStatusResourceTypeEnum_CAMPAIGN ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 6 + // A CampaignCriterion resource change. + ChangeStatusResourceTypeEnum_CAMPAIGN_CRITERION ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 7 +) + +var ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "AD_GROUP", + 4: "AD_GROUP_AD", + 5: "AD_GROUP_CRITERION", + 6: "CAMPAIGN", + 7: "CAMPAIGN_CRITERION", +} +var ChangeStatusResourceTypeEnum_ChangeStatusResourceType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_GROUP": 3, + "AD_GROUP_AD": 4, + "AD_GROUP_CRITERION": 5, + "CAMPAIGN": 6, + "CAMPAIGN_CRITERION": 7, +} + +func (x ChangeStatusResourceTypeEnum_ChangeStatusResourceType) String() string { + return proto.EnumName(ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name, int32(x)) +} +func (ChangeStatusResourceTypeEnum_ChangeStatusResourceType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_change_status_resource_type_21cfa4bee3165095, []int{0, 0} +} + +// Container for enum describing supported resource types for the ChangeStatus +// resource. +type ChangeStatusResourceTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChangeStatusResourceTypeEnum) Reset() { *m = ChangeStatusResourceTypeEnum{} } +func (m *ChangeStatusResourceTypeEnum) String() string { return proto.CompactTextString(m) } +func (*ChangeStatusResourceTypeEnum) ProtoMessage() {} +func (*ChangeStatusResourceTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_change_status_resource_type_21cfa4bee3165095, []int{0} +} +func (m *ChangeStatusResourceTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChangeStatusResourceTypeEnum.Unmarshal(m, b) +} +func (m *ChangeStatusResourceTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChangeStatusResourceTypeEnum.Marshal(b, m, deterministic) +} +func (dst *ChangeStatusResourceTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangeStatusResourceTypeEnum.Merge(dst, src) +} +func (m *ChangeStatusResourceTypeEnum) XXX_Size() int { + return xxx_messageInfo_ChangeStatusResourceTypeEnum.Size(m) +} +func (m *ChangeStatusResourceTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ChangeStatusResourceTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ChangeStatusResourceTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ChangeStatusResourceTypeEnum)(nil), "google.ads.googleads.v0.enums.ChangeStatusResourceTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType", ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name, ChangeStatusResourceTypeEnum_ChangeStatusResourceType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/change_status_resource_type.proto", fileDescriptor_change_status_resource_type_21cfa4bee3165095) +} + +var fileDescriptor_change_status_resource_type_21cfa4bee3165095 = []byte{ + // 318 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0x8c, 0xc4, 0xbc, 0xf4, 0xd4, 0xf8, 0xe2, 0x92, 0xc4, 0x92, 0xd2, + 0xe2, 0xf8, 0xa2, 0xd4, 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, + 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x2e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x01, + 0x7a, 0x65, 0x06, 0x7a, 0x60, 0x03, 0x94, 0xb6, 0x31, 0x72, 0xc9, 0x38, 0x83, 0x0d, 0x09, 0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x03, 0x3d, 0x50, 0x38, 0x16, 0x9f, 0x82, 0xc9, 0xc7, 0x38, + 0xa6, 0x14, 0xc7, 0xc0, 0xe5, 0x63, 0xc2, 0x0c, 0x62, 0xc0, 0xf2, 0x49, 0x6c, 0x60, 0x4b, 0x8d, + 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x54, 0x8c, 0x19, 0xf2, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/content_label_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/content_label_type.pb.go new file mode 100644 index 000000000..f1a7c5373 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/content_label_type.pb.go @@ -0,0 +1,177 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/content_label_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the content label types supported by ContentLabel criterion. +type ContentLabelTypeEnum_ContentLabelType int32 + +const ( + // Not specified. + ContentLabelTypeEnum_UNSPECIFIED ContentLabelTypeEnum_ContentLabelType = 0 + // Used for return value only. Represents value unknown in this version. + ContentLabelTypeEnum_UNKNOWN ContentLabelTypeEnum_ContentLabelType = 1 + // Sexually suggestive content. + ContentLabelTypeEnum_SEXUALLY_SUGGESTIVE ContentLabelTypeEnum_ContentLabelType = 2 + // Below the fold placement. + ContentLabelTypeEnum_BELOW_THE_FOLD ContentLabelTypeEnum_ContentLabelType = 3 + // Parked domain. + ContentLabelTypeEnum_PARKED_DOMAIN ContentLabelTypeEnum_ContentLabelType = 4 + // Game. + ContentLabelTypeEnum_GAME ContentLabelTypeEnum_ContentLabelType = 5 + // Juvenile, gross & bizarre content. + ContentLabelTypeEnum_JUVENILE ContentLabelTypeEnum_ContentLabelType = 6 + // Profanity & rough language. + ContentLabelTypeEnum_PROFANITY ContentLabelTypeEnum_ContentLabelType = 7 + // Death & tragedy. + ContentLabelTypeEnum_TRAGEDY ContentLabelTypeEnum_ContentLabelType = 8 + // Video. + ContentLabelTypeEnum_VIDEO ContentLabelTypeEnum_ContentLabelType = 9 + // Content rating: G. + ContentLabelTypeEnum_VIDEO_RATING_DV_G ContentLabelTypeEnum_ContentLabelType = 10 + // Content rating: PG. + ContentLabelTypeEnum_VIDEO_RATING_DV_PG ContentLabelTypeEnum_ContentLabelType = 11 + // Content rating: T. + ContentLabelTypeEnum_VIDEO_RATING_DV_T ContentLabelTypeEnum_ContentLabelType = 12 + // Content rating: MA. + ContentLabelTypeEnum_VIDEO_RATING_DV_MA ContentLabelTypeEnum_ContentLabelType = 13 + // Content rating: not yet rated. + ContentLabelTypeEnum_VIDEO_NOT_YET_RATED ContentLabelTypeEnum_ContentLabelType = 14 + // Embedded video. + ContentLabelTypeEnum_EMBEDDED_VIDEO ContentLabelTypeEnum_ContentLabelType = 15 + // Live streaming video. + ContentLabelTypeEnum_LIVE_STREAMING_VIDEO ContentLabelTypeEnum_ContentLabelType = 16 +) + +var ContentLabelTypeEnum_ContentLabelType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SEXUALLY_SUGGESTIVE", + 3: "BELOW_THE_FOLD", + 4: "PARKED_DOMAIN", + 5: "GAME", + 6: "JUVENILE", + 7: "PROFANITY", + 8: "TRAGEDY", + 9: "VIDEO", + 10: "VIDEO_RATING_DV_G", + 11: "VIDEO_RATING_DV_PG", + 12: "VIDEO_RATING_DV_T", + 13: "VIDEO_RATING_DV_MA", + 14: "VIDEO_NOT_YET_RATED", + 15: "EMBEDDED_VIDEO", + 16: "LIVE_STREAMING_VIDEO", +} +var ContentLabelTypeEnum_ContentLabelType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SEXUALLY_SUGGESTIVE": 2, + "BELOW_THE_FOLD": 3, + "PARKED_DOMAIN": 4, + "GAME": 5, + "JUVENILE": 6, + "PROFANITY": 7, + "TRAGEDY": 8, + "VIDEO": 9, + "VIDEO_RATING_DV_G": 10, + "VIDEO_RATING_DV_PG": 11, + "VIDEO_RATING_DV_T": 12, + "VIDEO_RATING_DV_MA": 13, + "VIDEO_NOT_YET_RATED": 14, + "EMBEDDED_VIDEO": 15, + "LIVE_STREAMING_VIDEO": 16, +} + +func (x ContentLabelTypeEnum_ContentLabelType) String() string { + return proto.EnumName(ContentLabelTypeEnum_ContentLabelType_name, int32(x)) +} +func (ContentLabelTypeEnum_ContentLabelType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_content_label_type_29d39b60679e7f56, []int{0, 0} +} + +// Container for enum describing content label types in ContentLabel. +type ContentLabelTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContentLabelTypeEnum) Reset() { *m = ContentLabelTypeEnum{} } +func (m *ContentLabelTypeEnum) String() string { return proto.CompactTextString(m) } +func (*ContentLabelTypeEnum) ProtoMessage() {} +func (*ContentLabelTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_content_label_type_29d39b60679e7f56, []int{0} +} +func (m *ContentLabelTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContentLabelTypeEnum.Unmarshal(m, b) +} +func (m *ContentLabelTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContentLabelTypeEnum.Marshal(b, m, deterministic) +} +func (dst *ContentLabelTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContentLabelTypeEnum.Merge(dst, src) +} +func (m *ContentLabelTypeEnum) XXX_Size() int { + return xxx_messageInfo_ContentLabelTypeEnum.Size(m) +} +func (m *ContentLabelTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ContentLabelTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ContentLabelTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ContentLabelTypeEnum)(nil), "google.ads.googleads.v0.enums.ContentLabelTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ContentLabelTypeEnum_ContentLabelType", ContentLabelTypeEnum_ContentLabelType_name, ContentLabelTypeEnum_ContentLabelType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/content_label_type.proto", fileDescriptor_content_label_type_29d39b60679e7f56) +} + +var fileDescriptor_content_label_type_29d39b60679e7f56 = []byte{ + // 438 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0x26, 0xee, 0x5f, 0xb2, 0x69, 0xda, 0xed, 0xd2, 0x02, 0x97, 0x1e, 0xe8, 0x03, 0xac, 0x23, + 0x21, 0x71, 0xe1, 0xb4, 0xee, 0x4e, 0x96, 0xa5, 0xf6, 0xda, 0xb2, 0xd7, 0x2e, 0x41, 0x91, 0x56, + 0x69, 0x63, 0x59, 0x48, 0x89, 0x1d, 0xd5, 0x6e, 0xa5, 0xbe, 0x0e, 0x47, 0x1e, 0x84, 0x03, 0x67, + 0x5e, 0x83, 0x77, 0x40, 0x6b, 0xd3, 0x1e, 0xa2, 0xc0, 0xc5, 0xfa, 0x34, 0xdf, 0xf7, 0xcd, 0x78, + 0xf6, 0x1b, 0xf4, 0xbe, 0xa8, 0xaa, 0x62, 0x99, 0xbb, 0xf3, 0x45, 0xed, 0x76, 0xd0, 0xa2, 0x87, + 0xb1, 0x9b, 0x97, 0xf7, 0xab, 0xda, 0xbd, 0xad, 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9b, + 0xe5, 0x48, 0xe0, 0xe1, 0x36, 0xb9, 0xc6, 0x87, 0xdb, 0xe4, 0x01, 0xc3, 0x23, 0xbb, 0x5c, 0x57, + 0x57, 0xa1, 0x36, 0x53, 0xd0, 0x96, 0x07, 0x8e, 0x8f, 0xec, 0x72, 0x10, 0x78, 0xc0, 0x39, 0x70, + 0xd3, 0xfd, 0xca, 0x31, 0x79, 0x83, 0x4e, 0x7d, 0x99, 0x81, 0x49, 0x74, 0x0c, 0x2c, 0xb0, 0x6d, + 0x3a, 0x06, 0x7b, 0x3f, 0x7a, 0xe8, 0xed, 0x6d, 0xb5, 0xa2, 0xff, 0x4d, 0xc5, 0x3b, 0xdb, 0x7c, + 0xf9, 0xc8, 0x66, 0x19, 0xf5, 0xbe, 0x78, 0x7f, 0x7d, 0x45, 0xb5, 0x9c, 0x97, 0x05, 0xad, 0xee, + 0x0a, 0xb7, 0xc8, 0xcb, 0x36, 0xe9, 0xa7, 0xab, 0x58, 0x7f, 0xad, 0xff, 0x71, 0x24, 0x1f, 0xda, + 0xef, 0x37, 0x67, 0x47, 0x30, 0xf6, 0xdd, 0x39, 0x17, 0x5d, 0x2b, 0xb6, 0xa8, 0x69, 0x07, 0x2d, + 0xca, 0xc6, 0xd4, 0xc6, 0x5f, 0xff, 0x7c, 0xe2, 0x67, 0x6c, 0x51, 0xcf, 0x9e, 0xf9, 0x59, 0x36, + 0x9e, 0xb5, 0xfc, 0xcd, 0x7e, 0x3b, 0xf4, 0xdd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x05, 0xeb, + 0x43, 0x52, 0x98, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_category.pb.go new file mode 100644 index 000000000..048ac5aeb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_category.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/conversion_action_category.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The category of conversions that are associated with a ConversionAction. +type ConversionActionCategoryEnum_ConversionActionCategory int32 + +const ( + // Not specified. + ConversionActionCategoryEnum_UNSPECIFIED ConversionActionCategoryEnum_ConversionActionCategory = 0 + // Used for return value only. Represents value unknown in this version. + ConversionActionCategoryEnum_UNKNOWN ConversionActionCategoryEnum_ConversionActionCategory = 1 + // Default category. + ConversionActionCategoryEnum_DEFAULT ConversionActionCategoryEnum_ConversionActionCategory = 2 + // User visiting a page. + ConversionActionCategoryEnum_PAGE_VIEW ConversionActionCategoryEnum_ConversionActionCategory = 3 + // Purchase, sales, or "order placed" event. + ConversionActionCategoryEnum_PURCHASE ConversionActionCategoryEnum_ConversionActionCategory = 4 + // Signup user action. + ConversionActionCategoryEnum_SIGNUP ConversionActionCategoryEnum_ConversionActionCategory = 5 + // Lead-generating action. + ConversionActionCategoryEnum_LEAD ConversionActionCategoryEnum_ConversionActionCategory = 6 + // Software download action (as for an app). + ConversionActionCategoryEnum_DOWNLOAD ConversionActionCategoryEnum_ConversionActionCategory = 7 +) + +var ConversionActionCategoryEnum_ConversionActionCategory_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DEFAULT", + 3: "PAGE_VIEW", + 4: "PURCHASE", + 5: "SIGNUP", + 6: "LEAD", + 7: "DOWNLOAD", +} +var ConversionActionCategoryEnum_ConversionActionCategory_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DEFAULT": 2, + "PAGE_VIEW": 3, + "PURCHASE": 4, + "SIGNUP": 5, + "LEAD": 6, + "DOWNLOAD": 7, +} + +func (x ConversionActionCategoryEnum_ConversionActionCategory) String() string { + return proto.EnumName(ConversionActionCategoryEnum_ConversionActionCategory_name, int32(x)) +} +func (ConversionActionCategoryEnum_ConversionActionCategory) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_category_58fddaaaba20c6a0, []int{0, 0} +} + +// Container for enum describing the category of conversions that are associated +// with a ConversionAction. +type ConversionActionCategoryEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionActionCategoryEnum) Reset() { *m = ConversionActionCategoryEnum{} } +func (m *ConversionActionCategoryEnum) String() string { return proto.CompactTextString(m) } +func (*ConversionActionCategoryEnum) ProtoMessage() {} +func (*ConversionActionCategoryEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_category_58fddaaaba20c6a0, []int{0} +} +func (m *ConversionActionCategoryEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionActionCategoryEnum.Unmarshal(m, b) +} +func (m *ConversionActionCategoryEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionActionCategoryEnum.Marshal(b, m, deterministic) +} +func (dst *ConversionActionCategoryEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionActionCategoryEnum.Merge(dst, src) +} +func (m *ConversionActionCategoryEnum) XXX_Size() int { + return xxx_messageInfo_ConversionActionCategoryEnum.Size(m) +} +func (m *ConversionActionCategoryEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionActionCategoryEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionActionCategoryEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ConversionActionCategoryEnum)(nil), "google.ads.googleads.v0.enums.ConversionActionCategoryEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ConversionActionCategoryEnum_ConversionActionCategory", ConversionActionCategoryEnum_ConversionActionCategory_name, ConversionActionCategoryEnum_ConversionActionCategory_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/conversion_action_category.proto", fileDescriptor_conversion_action_category_58fddaaaba20c6a0) +} + +var fileDescriptor_conversion_action_category_58fddaaaba20c6a0 = []byte{ + // 322 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x6a, 0xf2, 0x30, + 0x1c, 0xc5, 0xbf, 0xaa, 0x9f, 0xba, 0xb8, 0xb1, 0x90, 0xab, 0x5d, 0xcc, 0x8b, 0xf9, 0x00, 0x69, + 0x61, 0x97, 0x83, 0x41, 0x6c, 0x63, 0x57, 0x26, 0x31, 0xcc, 0x55, 0x61, 0x14, 0xa4, 0x6b, 0x4b, + 0x10, 0x34, 0x91, 0x46, 0x85, 0xbd, 0xc0, 0x1e, 0x64, 0x37, 0x83, 0x3d, 0xca, 0x2e, 0xf6, 0x4c, + 0x23, 0xa9, 0x7a, 0xd7, 0xdd, 0x24, 0x27, 0x9c, 0xff, 0x39, 0x49, 0x7e, 0xe0, 0x5e, 0x28, 0x25, + 0x56, 0x85, 0x9b, 0xe6, 0xda, 0xad, 0xa4, 0x51, 0x7b, 0xcf, 0x2d, 0xe4, 0x6e, 0xad, 0xdd, 0x4c, + 0xc9, 0x7d, 0x51, 0xea, 0xa5, 0x92, 0x8b, 0x34, 0xdb, 0x9a, 0x2d, 0x4b, 0xb7, 0x85, 0x50, 0xe5, + 0x1b, 0xde, 0x94, 0x6a, 0xab, 0x50, 0xbf, 0x0a, 0xe1, 0x34, 0xd7, 0xf8, 0x94, 0xc7, 0x7b, 0x0f, + 0xdb, 0xfc, 0xe0, 0xd3, 0x01, 0xd7, 0xfe, 0xa9, 0x83, 0xd8, 0x0a, 0xff, 0xd0, 0x40, 0xe5, 0x6e, + 0x3d, 0x78, 0x77, 0xc0, 0x55, 0xdd, 0x00, 0xba, 0x04, 0xbd, 0x98, 0x4d, 0x39, 0xf5, 0xa3, 0x51, + 0x44, 0x03, 0xf8, 0x0f, 0xf5, 0x40, 0x27, 0x66, 0x8f, 0x6c, 0x32, 0x67, 0xd0, 0x31, 0x87, 0x80, + 0x8e, 0x48, 0x3c, 0x7e, 0x86, 0x0d, 0x74, 0x01, 0xce, 0x38, 0x09, 0xe9, 0x62, 0x16, 0xd1, 0x39, + 0x6c, 0xa2, 0x73, 0xd0, 0xe5, 0xf1, 0x93, 0xff, 0x40, 0xa6, 0x14, 0xb6, 0x10, 0x00, 0xed, 0x69, + 0x14, 0xb2, 0x98, 0xc3, 0xff, 0xa8, 0x0b, 0x5a, 0x63, 0x4a, 0x02, 0xd8, 0x36, 0x33, 0xc1, 0x64, + 0xce, 0xc6, 0x13, 0x12, 0xc0, 0xce, 0xf0, 0xc7, 0x01, 0x37, 0x99, 0x5a, 0xe3, 0x3f, 0xff, 0x33, + 0xec, 0xd7, 0xbd, 0x95, 0x1b, 0x1a, 0xdc, 0x79, 0x19, 0x1e, 0xf2, 0x42, 0xad, 0x52, 0x29, 0xb0, + 0x2a, 0x85, 0x2b, 0x0a, 0x69, 0x59, 0x1d, 0xf9, 0x6e, 0x96, 0xba, 0x06, 0xf7, 0x9d, 0x5d, 0x3f, + 0x1a, 0xcd, 0x90, 0x90, 0xaf, 0x46, 0x3f, 0xac, 0xaa, 0x48, 0xae, 0x71, 0x25, 0x8d, 0x9a, 0x79, + 0xd8, 0x80, 0xd3, 0xdf, 0x47, 0x3f, 0x21, 0xb9, 0x4e, 0x4e, 0x7e, 0x32, 0xf3, 0x12, 0xeb, 0xbf, + 0xb6, 0xed, 0xa5, 0xb7, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x28, 0x09, 0x80, 0xdc, 0xe2, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_counting_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_counting_type.pb.go new file mode 100644 index 000000000..d85d721ec --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_counting_type.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/conversion_action_counting_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Indicates how conversions for this action will be counted. For more +// information, see https://support.google.com/google-ads/answer/3438531. +type ConversionActionCountingTypeEnum_ConversionActionCountingType int32 + +const ( + // Not specified. + ConversionActionCountingTypeEnum_UNSPECIFIED ConversionActionCountingTypeEnum_ConversionActionCountingType = 0 + // Used for return value only. Represents value unknown in this version. + ConversionActionCountingTypeEnum_UNKNOWN ConversionActionCountingTypeEnum_ConversionActionCountingType = 1 + // Count only one conversion per click. + ConversionActionCountingTypeEnum_ONE_PER_CLICK ConversionActionCountingTypeEnum_ConversionActionCountingType = 2 + // Count all conversions per click. + ConversionActionCountingTypeEnum_MANY_PER_CLICK ConversionActionCountingTypeEnum_ConversionActionCountingType = 3 +) + +var ConversionActionCountingTypeEnum_ConversionActionCountingType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ONE_PER_CLICK", + 3: "MANY_PER_CLICK", +} +var ConversionActionCountingTypeEnum_ConversionActionCountingType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ONE_PER_CLICK": 2, + "MANY_PER_CLICK": 3, +} + +func (x ConversionActionCountingTypeEnum_ConversionActionCountingType) String() string { + return proto.EnumName(ConversionActionCountingTypeEnum_ConversionActionCountingType_name, int32(x)) +} +func (ConversionActionCountingTypeEnum_ConversionActionCountingType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_counting_type_a5ab9312a541ab18, []int{0, 0} +} + +// Container for enum describing the conversion deduplication mode for +// conversion optimizer. +type ConversionActionCountingTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionActionCountingTypeEnum) Reset() { *m = ConversionActionCountingTypeEnum{} } +func (m *ConversionActionCountingTypeEnum) String() string { return proto.CompactTextString(m) } +func (*ConversionActionCountingTypeEnum) ProtoMessage() {} +func (*ConversionActionCountingTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_counting_type_a5ab9312a541ab18, []int{0} +} +func (m *ConversionActionCountingTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionActionCountingTypeEnum.Unmarshal(m, b) +} +func (m *ConversionActionCountingTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionActionCountingTypeEnum.Marshal(b, m, deterministic) +} +func (dst *ConversionActionCountingTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionActionCountingTypeEnum.Merge(dst, src) +} +func (m *ConversionActionCountingTypeEnum) XXX_Size() int { + return xxx_messageInfo_ConversionActionCountingTypeEnum.Size(m) +} +func (m *ConversionActionCountingTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionActionCountingTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionActionCountingTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ConversionActionCountingTypeEnum)(nil), "google.ads.googleads.v0.enums.ConversionActionCountingTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ConversionActionCountingTypeEnum_ConversionActionCountingType", ConversionActionCountingTypeEnum_ConversionActionCountingType_name, ConversionActionCountingTypeEnum_ConversionActionCountingType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/conversion_action_counting_type.proto", fileDescriptor_conversion_action_counting_type_a5ab9312a541ab18) +} + +var fileDescriptor_conversion_action_counting_type_a5ab9312a541ab18 = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x1c, 0xc6, 0xed, 0x06, 0x0a, 0x19, 0x6a, 0xcd, 0xd9, 0x81, 0xdb, 0x03, 0xa4, 0x05, 0x8f, 0x9e, + 0xd2, 0x58, 0x47, 0x99, 0x66, 0x45, 0xdd, 0x44, 0x29, 0x94, 0xda, 0x86, 0x50, 0x58, 0x93, 0xd2, + 0xb4, 0x85, 0x3d, 0x81, 0xef, 0xe1, 0xd1, 0x47, 0xf1, 0xe8, 0x13, 0x49, 0xd2, 0xad, 0x78, 0xb1, + 0x97, 0xe4, 0x23, 0x5f, 0xf2, 0xcb, 0xf7, 0xff, 0x00, 0xe1, 0x52, 0xf2, 0x2d, 0x73, 0x92, 0x4c, + 0x39, 0x9d, 0xd4, 0xaa, 0x75, 0x1d, 0x26, 0x9a, 0x42, 0x39, 0xa9, 0x14, 0x2d, 0xab, 0x54, 0x2e, + 0x45, 0x9c, 0xa4, 0xb5, 0xde, 0x52, 0xd9, 0x88, 0x3a, 0x17, 0x3c, 0xae, 0x77, 0x25, 0x43, 0x65, + 0x25, 0x6b, 0x09, 0xa7, 0xdd, 0x4b, 0x94, 0x64, 0x0a, 0xf5, 0x10, 0xd4, 0xba, 0xc8, 0x40, 0xe6, + 0x1f, 0x16, 0xb8, 0x22, 0x3d, 0x08, 0x1b, 0x0e, 0xd9, 0x63, 0x9e, 0x77, 0x25, 0xf3, 0x45, 0x53, + 0xcc, 0x53, 0x70, 0x39, 0x74, 0x07, 0x9e, 0x83, 0xc9, 0x9a, 0x3e, 0x85, 0x3e, 0x09, 0xee, 0x02, + 0xff, 0xd6, 0x3e, 0x82, 0x13, 0x70, 0xb2, 0xa6, 0x4b, 0xba, 0x7a, 0xa1, 0xb6, 0x05, 0x2f, 0xc0, + 0xe9, 0x8a, 0xfa, 0x71, 0xe8, 0x3f, 0xc6, 0xe4, 0x3e, 0x20, 0x4b, 0x7b, 0x04, 0x21, 0x38, 0x7b, + 0xc0, 0xf4, 0xf5, 0xcf, 0xd9, 0xd8, 0xfb, 0xb1, 0xc0, 0x2c, 0x95, 0x05, 0x1a, 0xcc, 0xeb, 0xcd, + 0x86, 0x82, 0x84, 0x7a, 0xe2, 0xd0, 0x7a, 0xf3, 0xf6, 0x0c, 0x2e, 0xb7, 0x89, 0xe0, 0x48, 0x56, + 0xdc, 0xe1, 0x4c, 0x98, 0x3e, 0x0e, 0x45, 0x96, 0xb9, 0xfa, 0xa7, 0xd7, 0x1b, 0xb3, 0x7e, 0x8e, + 0xc6, 0x0b, 0x8c, 0xbf, 0x46, 0xd3, 0x45, 0x87, 0xc2, 0x99, 0x42, 0x9d, 0xd4, 0x6a, 0xe3, 0x22, + 0x5d, 0x8c, 0xfa, 0x3e, 0xf8, 0x11, 0xce, 0x54, 0xd4, 0xfb, 0xd1, 0xc6, 0x8d, 0x8c, 0xff, 0x7e, + 0x6c, 0x3e, 0xbd, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x44, 0xe6, 0xb3, 0xcb, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_status.pb.go new file mode 100644 index 000000000..973a73c75 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_status.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/conversion_action_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a conversion action. +type ConversionActionStatusEnum_ConversionActionStatus int32 + +const ( + // Not specified. + ConversionActionStatusEnum_UNSPECIFIED ConversionActionStatusEnum_ConversionActionStatus = 0 + // Used for return value only. Represents value unknown in this version. + ConversionActionStatusEnum_UNKNOWN ConversionActionStatusEnum_ConversionActionStatus = 1 + // Conversions will be recorded. + ConversionActionStatusEnum_ENABLED ConversionActionStatusEnum_ConversionActionStatus = 2 + // Conversions will not be recorded. + ConversionActionStatusEnum_REMOVED ConversionActionStatusEnum_ConversionActionStatus = 3 + // Conversions will not be recorded and the conversion action will not + // appear in the UI. + ConversionActionStatusEnum_HIDDEN ConversionActionStatusEnum_ConversionActionStatus = 4 +) + +var ConversionActionStatusEnum_ConversionActionStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", + 4: "HIDDEN", +} +var ConversionActionStatusEnum_ConversionActionStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, + "HIDDEN": 4, +} + +func (x ConversionActionStatusEnum_ConversionActionStatus) String() string { + return proto.EnumName(ConversionActionStatusEnum_ConversionActionStatus_name, int32(x)) +} +func (ConversionActionStatusEnum_ConversionActionStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_status_b2b7ef780a9c4a8e, []int{0, 0} +} + +// Container for enum describing possible statuses of a conversion action. +type ConversionActionStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionActionStatusEnum) Reset() { *m = ConversionActionStatusEnum{} } +func (m *ConversionActionStatusEnum) String() string { return proto.CompactTextString(m) } +func (*ConversionActionStatusEnum) ProtoMessage() {} +func (*ConversionActionStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_status_b2b7ef780a9c4a8e, []int{0} +} +func (m *ConversionActionStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionActionStatusEnum.Unmarshal(m, b) +} +func (m *ConversionActionStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionActionStatusEnum.Marshal(b, m, deterministic) +} +func (dst *ConversionActionStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionActionStatusEnum.Merge(dst, src) +} +func (m *ConversionActionStatusEnum) XXX_Size() int { + return xxx_messageInfo_ConversionActionStatusEnum.Size(m) +} +func (m *ConversionActionStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionActionStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionActionStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ConversionActionStatusEnum)(nil), "google.ads.googleads.v0.enums.ConversionActionStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ConversionActionStatusEnum_ConversionActionStatus", ConversionActionStatusEnum_ConversionActionStatus_name, ConversionActionStatusEnum_ConversionActionStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/conversion_action_status.proto", fileDescriptor_conversion_action_status_b2b7ef780a9c4a8e) +} + +var fileDescriptor_conversion_action_status_b2b7ef780a9c4a8e = []byte{ + // 280 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe4, 0xfc, 0xbc, 0xb2, 0xd4, 0xa2, 0xe2, 0xcc, 0xfc, 0xbc, 0xf8, 0xc4, + 0xe4, 0x12, 0x10, 0x55, 0x5c, 0x92, 0x58, 0x52, 0x5a, 0xac, 0x57, 0x50, 0x94, 0x5f, 0x92, 0x2f, + 0x24, 0x0b, 0xd1, 0xa2, 0x97, 0x98, 0x52, 0xac, 0x07, 0xd7, 0xad, 0x57, 0x66, 0xa0, 0x07, 0xd6, + 0xad, 0x54, 0xc5, 0x25, 0xe5, 0x0c, 0x37, 0xc0, 0x11, 0xac, 0x3f, 0x18, 0xac, 0xdd, 0x35, 0xaf, + 0x34, 0x57, 0x29, 0x86, 0x4b, 0x0c, 0xbb, 0xac, 0x10, 0x3f, 0x17, 0x77, 0xa8, 0x5f, 0x70, 0x80, + 0xab, 0xb3, 0xa7, 0x9b, 0xa7, 0xab, 0x8b, 0x00, 0x83, 0x10, 0x37, 0x17, 0x7b, 0xa8, 0x9f, 0xb7, + 0x9f, 0x7f, 0xb8, 0x9f, 0x00, 0x23, 0x88, 0xe3, 0xea, 0xe7, 0xe8, 0xe4, 0xe3, 0xea, 0x22, 0xc0, + 0x04, 0xe2, 0x04, 0xb9, 0xfa, 0xfa, 0x87, 0xb9, 0xba, 0x08, 0x30, 0x0b, 0x71, 0x71, 0xb1, 0x79, + 0x78, 0xba, 0xb8, 0xb8, 0xfa, 0x09, 0xb0, 0x38, 0x9d, 0x61, 0xe4, 0x52, 0x4c, 0xce, 0xcf, 0xd5, + 0xc3, 0xeb, 0x42, 0x27, 0x69, 0xec, 0x2e, 0x08, 0x00, 0xf9, 0x2e, 0x80, 0x31, 0xca, 0x09, 0xaa, + 0x3b, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, + 0x77, 0x58, 0x68, 0x15, 0x64, 0x16, 0xe3, 0x08, 0x3c, 0x6b, 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, + 0xd1, 0x71, 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, + 0x33, 0xd0, 0x03, 0x85, 0x45, 0xf1, 0x29, 0x98, 0x7c, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x3e, + 0x26, 0xcc, 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, + 0x5f, 0x8e, 0x82, 0x7b, 0xb0, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_type.pb.go new file mode 100644 index 000000000..ef7f2caf1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/conversion_action_type.pb.go @@ -0,0 +1,149 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/conversion_action_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible types of a conversion action. +type ConversionActionTypeEnum_ConversionActionType int32 + +const ( + // Not specified. + ConversionActionTypeEnum_UNSPECIFIED ConversionActionTypeEnum_ConversionActionType = 0 + // Used for return value only. Represents value unknown in this version. + ConversionActionTypeEnum_UNKNOWN ConversionActionTypeEnum_ConversionActionType = 1 + // Conversions that occur when a user clicks on an ad's call extension. + ConversionActionTypeEnum_AD_CALL ConversionActionTypeEnum_ConversionActionType = 2 + // Conversions that occur when a user on a mobile device clicks a phone + // number. + ConversionActionTypeEnum_CLICK_TO_CALL ConversionActionTypeEnum_ConversionActionType = 3 + // Conversions that occur when a user downloads a mobile app from the Google + // Play Store. + ConversionActionTypeEnum_GOOGLE_PLAY_DOWNLOAD ConversionActionTypeEnum_ConversionActionType = 4 + // Conversions that occur when a user makes a purchase in an app through + // Android billing. + ConversionActionTypeEnum_GOOGLE_PLAY_IN_APP_PURCHASE ConversionActionTypeEnum_ConversionActionType = 5 + // Call conversions that are tracked by the advertiser and uploaded. + ConversionActionTypeEnum_UPLOAD_CALLS ConversionActionTypeEnum_ConversionActionType = 6 + // Conversions that are tracked by the advertiser and uploaded with + // attributed clicks. + ConversionActionTypeEnum_UPLOAD_CLICKS ConversionActionTypeEnum_ConversionActionType = 7 + // Conversions that occur on a webpage. + ConversionActionTypeEnum_WEBPAGE ConversionActionTypeEnum_ConversionActionType = 8 + // Conversions that occur when a user calls a dynamically-generated phone + // number from an advertiser's website. + ConversionActionTypeEnum_WEBSITE_CALL ConversionActionTypeEnum_ConversionActionType = 9 +) + +var ConversionActionTypeEnum_ConversionActionType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AD_CALL", + 3: "CLICK_TO_CALL", + 4: "GOOGLE_PLAY_DOWNLOAD", + 5: "GOOGLE_PLAY_IN_APP_PURCHASE", + 6: "UPLOAD_CALLS", + 7: "UPLOAD_CLICKS", + 8: "WEBPAGE", + 9: "WEBSITE_CALL", +} +var ConversionActionTypeEnum_ConversionActionType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_CALL": 2, + "CLICK_TO_CALL": 3, + "GOOGLE_PLAY_DOWNLOAD": 4, + "GOOGLE_PLAY_IN_APP_PURCHASE": 5, + "UPLOAD_CALLS": 6, + "UPLOAD_CLICKS": 7, + "WEBPAGE": 8, + "WEBSITE_CALL": 9, +} + +func (x ConversionActionTypeEnum_ConversionActionType) String() string { + return proto.EnumName(ConversionActionTypeEnum_ConversionActionType_name, int32(x)) +} +func (ConversionActionTypeEnum_ConversionActionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_type_b6eff01350215c1e, []int{0, 0} +} + +// Container for enum describing possible types of a conversion action. +type ConversionActionTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionActionTypeEnum) Reset() { *m = ConversionActionTypeEnum{} } +func (m *ConversionActionTypeEnum) String() string { return proto.CompactTextString(m) } +func (*ConversionActionTypeEnum) ProtoMessage() {} +func (*ConversionActionTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_type_b6eff01350215c1e, []int{0} +} +func (m *ConversionActionTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionActionTypeEnum.Unmarshal(m, b) +} +func (m *ConversionActionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionActionTypeEnum.Marshal(b, m, deterministic) +} +func (dst *ConversionActionTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionActionTypeEnum.Merge(dst, src) +} +func (m *ConversionActionTypeEnum) XXX_Size() int { + return xxx_messageInfo_ConversionActionTypeEnum.Size(m) +} +func (m *ConversionActionTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionActionTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionActionTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ConversionActionTypeEnum)(nil), "google.ads.googleads.v0.enums.ConversionActionTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ConversionActionTypeEnum_ConversionActionType", ConversionActionTypeEnum_ConversionActionType_name, ConversionActionTypeEnum_ConversionActionType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/conversion_action_type.proto", fileDescriptor_conversion_action_type_b6eff01350215c1e) +} + +var fileDescriptor_conversion_action_type_b6eff01350215c1e = []byte{ + // 360 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x4e, 0xbb, 0x30, + 0x14, 0xc6, 0xff, 0x6c, 0x7f, 0x37, 0xed, 0x34, 0x56, 0xb2, 0x8b, 0x19, 0xb3, 0x18, 0xf7, 0x00, + 0x85, 0xc4, 0x3b, 0xbd, 0x2a, 0x50, 0x91, 0x8c, 0x40, 0x23, 0x63, 0x44, 0x43, 0x42, 0x70, 0x10, + 0xb2, 0x64, 0xa3, 0x64, 0xdd, 0x96, 0xec, 0x75, 0xbc, 0xf4, 0x51, 0x76, 0xeb, 0x8b, 0xf8, 0x08, + 0xa6, 0xc5, 0x2d, 0x5e, 0x4c, 0x6f, 0xe0, 0xeb, 0xf9, 0xfa, 0x3b, 0x5f, 0x7a, 0x0e, 0xb8, 0x2b, + 0x18, 0x2b, 0x66, 0xb9, 0x96, 0x66, 0x5c, 0xab, 0xa5, 0x50, 0x6b, 0x5d, 0xcb, 0xcb, 0xd5, 0x9c, + 0x6b, 0x13, 0x56, 0xae, 0xf3, 0x05, 0x9f, 0xb2, 0x32, 0x49, 0x27, 0x4b, 0xf1, 0x5b, 0x6e, 0xaa, + 0x1c, 0x55, 0x0b, 0xb6, 0x64, 0x6a, 0xbf, 0x06, 0x50, 0x9a, 0x71, 0xb4, 0x67, 0xd1, 0x5a, 0x47, + 0x92, 0x1d, 0x7c, 0x2a, 0xa0, 0x67, 0xee, 0x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, 0x6f, 0xd7, 0xad, 0x70, + 0xc6, 0x51, 0x2d, 0x85, 0x1a, 0xeb, 0x48, 0x6c, 0x80, 0x6f, 0x77, 0x7e, 0x8c, 0x33, 0x1e, 0xef, + 0xfd, 0x78, 0xac, 0xc7, 0xd2, 0x7f, 0x6d, 0xc9, 0xd0, 0xdb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x2c, 0xd4, 0xfc, 0x8a, 0x23, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_channel_availability_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_channel_availability_mode.pb.go new file mode 100644 index 000000000..08a50cae2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_channel_availability_mode.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/criterion_category_channel_availability_mode.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing the possible CriterionCategoryChannelAvailabilityMode. +type CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode int32 + +const ( + // Not specified. + CriterionCategoryChannelAvailabilityModeEnum_UNSPECIFIED CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode = 0 + // Used for return value only. Represents value unknown in this version. + CriterionCategoryChannelAvailabilityModeEnum_UNKNOWN CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode = 1 + // The category is available to campaigns of all channel types and subtypes. + CriterionCategoryChannelAvailabilityModeEnum_ALL_CHANNELS CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode = 2 + // The category is available to campaigns of a specific channel type, + // including all subtypes under it. + CriterionCategoryChannelAvailabilityModeEnum_CHANNEL_TYPE_AND_ALL_SUBTYPES CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode = 3 + // The category is available to campaigns of a specific channel type and + // subtype(s). + CriterionCategoryChannelAvailabilityModeEnum_CHANNEL_TYPE_AND_SUBSET_SUBTYPES CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode = 4 +) + +var CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ALL_CHANNELS", + 3: "CHANNEL_TYPE_AND_ALL_SUBTYPES", + 4: "CHANNEL_TYPE_AND_SUBSET_SUBTYPES", +} +var CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ALL_CHANNELS": 2, + "CHANNEL_TYPE_AND_ALL_SUBTYPES": 3, + "CHANNEL_TYPE_AND_SUBSET_SUBTYPES": 4, +} + +func (x CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode) String() string { + return proto.EnumName(CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_name, int32(x)) +} +func (CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_channel_availability_mode_9b4137a1b0eff9b7, []int{0, 0} +} + +// Describes channel availability mode for a criterion availability - whether +// the availability is meant to include all advertising channels, or a +// particular channel with all its channel subtypes, or a channel with a certain +// subset of channel subtypes. +type CriterionCategoryChannelAvailabilityModeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionCategoryChannelAvailabilityModeEnum) Reset() { + *m = CriterionCategoryChannelAvailabilityModeEnum{} +} +func (m *CriterionCategoryChannelAvailabilityModeEnum) String() string { + return proto.CompactTextString(m) +} +func (*CriterionCategoryChannelAvailabilityModeEnum) ProtoMessage() {} +func (*CriterionCategoryChannelAvailabilityModeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_channel_availability_mode_9b4137a1b0eff9b7, []int{0} +} +func (m *CriterionCategoryChannelAvailabilityModeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.Unmarshal(m, b) +} +func (m *CriterionCategoryChannelAvailabilityModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.Marshal(b, m, deterministic) +} +func (dst *CriterionCategoryChannelAvailabilityModeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.Merge(dst, src) +} +func (m *CriterionCategoryChannelAvailabilityModeEnum) XXX_Size() int { + return xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.Size(m) +} +func (m *CriterionCategoryChannelAvailabilityModeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CriterionCategoryChannelAvailabilityModeEnum)(nil), "google.ads.googleads.v0.enums.CriterionCategoryChannelAvailabilityModeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode", CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_name, CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/criterion_category_channel_availability_mode.proto", fileDescriptor_criterion_category_channel_availability_mode_9b4137a1b0eff9b7) +} + +var fileDescriptor_criterion_category_channel_availability_mode_9b4137a1b0eff9b7 = []byte{ + // 332 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xc3, 0x30, + 0x1c, 0xc5, 0xed, 0x26, 0x0a, 0x99, 0x60, 0xe9, 0x7d, 0xe0, 0x86, 0x07, 0x0f, 0x9a, 0x16, 0x3c, + 0x7a, 0x4a, 0xbb, 0x3a, 0x87, 0x33, 0x16, 0xba, 0x4e, 0x94, 0x42, 0xc8, 0xda, 0x10, 0x0b, 0x6d, + 0x32, 0x9a, 0x6e, 0xb0, 0xaf, 0xa3, 0x37, 0x3f, 0x8a, 0x67, 0xcf, 0x7e, 0x16, 0x49, 0xbb, 0x4d, + 0x41, 0x94, 0x5d, 0xca, 0xfb, 0xf3, 0x5e, 0x7f, 0xe1, 0xff, 0xfe, 0x20, 0xe0, 0x52, 0xf2, 0x9c, + 0xd9, 0x34, 0x55, 0x76, 0x23, 0xb5, 0x5a, 0x3a, 0x36, 0x13, 0x8b, 0x42, 0xd9, 0x49, 0x99, 0x55, + 0xac, 0xcc, 0xa4, 0x20, 0x09, 0xad, 0x18, 0x97, 0xe5, 0x8a, 0x24, 0xcf, 0x54, 0x08, 0x96, 0x13, + 0xba, 0xa4, 0x59, 0x4e, 0x67, 0x59, 0x9e, 0x55, 0x2b, 0x52, 0xc8, 0x94, 0xc1, 0x79, 0x29, 0x2b, + 0x69, 0x75, 0x1b, 0x0c, 0xa4, 0xa9, 0x82, 0x5b, 0x22, 0x5c, 0x3a, 0xb0, 0x26, 0xf6, 0x3f, 0x0c, + 0x70, 0xee, 0x6d, 0xa8, 0xde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 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_locale_availability_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_locale_availability_mode.pb.go new file mode 100644 index 000000000..b83cbc56e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_category_locale_availability_mode.pb.go @@ -0,0 +1,136 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/criterion_category_locale_availability_mode.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. +type CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode int32 + +const ( + // Not specified. + CriterionCategoryLocaleAvailabilityModeEnum_UNSPECIFIED CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 0 + // Used for return value only. Represents value unknown in this version. + CriterionCategoryLocaleAvailabilityModeEnum_UNKNOWN CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 1 + // The category is available to campaigns of all locales. + CriterionCategoryLocaleAvailabilityModeEnum_ALL_LOCALES CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 2 + // The category is available to campaigns within a list of countries, + // regardless of language. + CriterionCategoryLocaleAvailabilityModeEnum_COUNTRY_AND_ALL_LANGUAGES CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 3 + // The category is available to campaigns within a list of languages, + // regardless of country. + CriterionCategoryLocaleAvailabilityModeEnum_LANGUAGE_AND_ALL_COUNTRIES CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 4 + // The category is available to campaigns within a list of country, language + // pairs. + CriterionCategoryLocaleAvailabilityModeEnum_COUNTRY_AND_LANGUAGE CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode = 5 +) + +var CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ALL_LOCALES", + 3: "COUNTRY_AND_ALL_LANGUAGES", + 4: "LANGUAGE_AND_ALL_COUNTRIES", + 5: "COUNTRY_AND_LANGUAGE", +} +var CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ALL_LOCALES": 2, + "COUNTRY_AND_ALL_LANGUAGES": 3, + "LANGUAGE_AND_ALL_COUNTRIES": 4, + "COUNTRY_AND_LANGUAGE": 5, +} + +func (x CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode) String() string { + return proto.EnumName(CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name, int32(x)) +} +func (CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_locale_availability_mode_3ad4b9809399a3b4, []int{0, 0} +} + +// Describes locale availabilty mode for a criterion availability - whether +// it's available globally, or a particular country with all languages, or a +// particular language with all countries, or a country-language pair. +type CriterionCategoryLocaleAvailabilityModeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionCategoryLocaleAvailabilityModeEnum) Reset() { + *m = CriterionCategoryLocaleAvailabilityModeEnum{} +} +func (m *CriterionCategoryLocaleAvailabilityModeEnum) String() string { + return proto.CompactTextString(m) +} +func (*CriterionCategoryLocaleAvailabilityModeEnum) ProtoMessage() {} +func (*CriterionCategoryLocaleAvailabilityModeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_category_locale_availability_mode_3ad4b9809399a3b4, []int{0} +} +func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Unmarshal(m, b) +} +func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Marshal(b, m, deterministic) +} +func (dst *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Merge(dst, src) +} +func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Size() int { + return xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Size(m) +} +func (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CriterionCategoryLocaleAvailabilityModeEnum)(nil), "google.ads.googleads.v0.enums.CriterionCategoryLocaleAvailabilityModeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode", CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name, CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/criterion_category_locale_availability_mode.proto", fileDescriptor_criterion_category_locale_availability_mode_3ad4b9809399a3b4) +} + +var fileDescriptor_criterion_category_locale_availability_mode_3ad4b9809399a3b4 = []byte{ + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30, + 0x1c, 0xc7, 0xed, 0xe6, 0x1f, 0xc8, 0x0e, 0x96, 0xe2, 0x41, 0x85, 0x09, 0xee, 0xe2, 0x41, 0x49, + 0x0b, 0x1e, 0x3d, 0x65, 0x5d, 0x2d, 0xc3, 0x9a, 0x0e, 0x6b, 0x27, 0x4a, 0x21, 0x64, 0x6d, 0x08, + 0x85, 0xb6, 0x19, 0x4d, 0x37, 0xd8, 0xeb, 0x78, 0xf4, 0xe6, 0x6b, 0xf8, 0x0e, 0x1e, 0x7c, 0x13, + 0x69, 0xba, 0x8e, 0x5d, 0x94, 0x5d, 0xca, 0xb7, 0x7c, 0x7e, 0xf9, 0x84, 0x7c, 0x7f, 0xc0, 0xe7, + 0x42, 0xf0, 0x8c, 0x99, 0x34, 0x91, 0x66, 0x13, 0xeb, 0xb4, 0xb4, 0x4c, 0x56, 0x2c, 0x72, 0x69, + 0xc6, 0x65, 0x5a, 0xb1, 0x32, 0x15, 0x05, 0x89, 0x69, 0xc5, 0xb8, 0x28, 0x57, 0x24, 0x13, 0x31, + 0xcd, 0x18, 0xa1, 0x4b, 0x9a, 0x66, 0x74, 0x96, 0x66, 0x69, 0xb5, 0x22, 0xb9, 0x48, 0x18, 0x9c, + 0x97, 0xa2, 0x12, 0x46, 0xbf, 0xb1, 0x40, 0x9a, 0x48, 0xb8, 0x11, 0xc2, 0xa5, 0x05, 0x95, 0x70, + 0xf0, 0xa3, 0x81, 0x6b, 0xbb, 0x95, 0xda, 0x6b, 0xa7, 0xa7, 0x94, 0x68, 0xcb, 0xf8, 0x28, 0x12, + 0xe6, 0x14, 0x8b, 0x7c, 0xf0, 0xa9, 0x81, 0xab, 0x1d, 0xe7, 0x8d, 0x63, 0xd0, 0x0b, 0x71, 0x30, + 0x71, 0xec, 0xf1, 0xfd, 0xd8, 0x19, 0xe9, 0x7b, 0x46, 0x0f, 0x1c, 0x85, 0xf8, 0x01, 0xfb, 0x2f, + 0x58, 0xd7, 0x6a, 0x8a, 0x3c, 0x8f, 0x78, 0xbe, 0x8d, 0x3c, 0x27, 0xd0, 0x3b, 0x46, 0x1f, 0x9c, + 0xd9, 0x7e, 0x88, 0x9f, 0x9f, 0x5e, 0x09, 0xc2, 0x23, 0xa2, 0x20, 0xc2, 0x6e, 0x88, 0x5c, 0x27, + 0xd0, 0xbb, 0xc6, 0x05, 0x38, 0x6f, 0x7f, 0x37, 0xbc, 0x99, 0x1f, 0x3b, 0x81, 0xbe, 0x6f, 0x9c, + 0x82, 0x93, 0xed, 0xe3, 0xed, 0xac, 0x7e, 0x30, 0xfc, 0xd6, 0xc0, 0x65, 0x2c, 0x72, 0xf8, 0x6f, + 0x13, 0xc3, 0x9b, 0x1d, 0x9f, 0x35, 0xa9, 0x6b, 0x9d, 0x68, 0x6f, 0xc3, 0xb5, 0x8e, 0x8b, 0x8c, + 0x16, 0x1c, 0x8a, 0x92, 0x9b, 0x9c, 0x15, 0xaa, 0xf4, 0x76, 0x73, 0xf3, 0x54, 0xfe, 0xb1, 0xc8, + 0x3b, 0xf5, 0x7d, 0xef, 0x74, 0x5d, 0x84, 0x3e, 0x3a, 0x7d, 0xb7, 0x51, 0xa1, 0x44, 0xc2, 0x26, + 0xd6, 0x69, 0x6a, 0xc1, 0xba, 0x72, 0xf9, 0xd5, 0xf2, 0x08, 0x25, 0x32, 0xda, 0xf0, 0x68, 0x6a, + 0x45, 0x8a, 0xcf, 0x0e, 0xd5, 0xa5, 0xb7, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xfc, 0x96, + 0x5b, 0x3c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_type.pb.go new file mode 100644 index 000000000..9316cb32b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/criterion_type.pb.go @@ -0,0 +1,203 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/criterion_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible criterion types. +type CriterionTypeEnum_CriterionType int32 + +const ( + // Not specified. + CriterionTypeEnum_UNSPECIFIED CriterionTypeEnum_CriterionType = 0 + // Used for return value only. Represents value unknown in this version. + CriterionTypeEnum_UNKNOWN CriterionTypeEnum_CriterionType = 1 + // Keyword. e.g. 'mars cruise'. + CriterionTypeEnum_KEYWORD CriterionTypeEnum_CriterionType = 2 + // Placement, aka Website. e.g. 'www.flowers4sale.com' + CriterionTypeEnum_PLACEMENT CriterionTypeEnum_CriterionType = 3 + // Devices to target. + CriterionTypeEnum_DEVICE CriterionTypeEnum_CriterionType = 6 + // Locations to target. + CriterionTypeEnum_LOCATION CriterionTypeEnum_CriterionType = 7 + // Listing groups to target. + CriterionTypeEnum_LISTING_GROUP CriterionTypeEnum_CriterionType = 8 + // Ad Schedule. + CriterionTypeEnum_AD_SCHEDULE CriterionTypeEnum_CriterionType = 9 + // Age range. + CriterionTypeEnum_AGE_RANGE CriterionTypeEnum_CriterionType = 10 + // Gender. + CriterionTypeEnum_GENDER CriterionTypeEnum_CriterionType = 11 + // Income Range. + CriterionTypeEnum_INCOME_RANGE CriterionTypeEnum_CriterionType = 12 + // Parental status. + CriterionTypeEnum_PARENTAL_STATUS CriterionTypeEnum_CriterionType = 13 + // YouTube Video. + CriterionTypeEnum_YOUTUBE_VIDEO CriterionTypeEnum_CriterionType = 14 + // YouTube Channel. + CriterionTypeEnum_YOUTUBE_CHANNEL CriterionTypeEnum_CriterionType = 15 + // User list. + CriterionTypeEnum_USER_LIST CriterionTypeEnum_CriterionType = 16 + // Proximity. + CriterionTypeEnum_PROXIMITY CriterionTypeEnum_CriterionType = 17 + // A topic target on the display network (e.g. "Pets & Animals"). + CriterionTypeEnum_TOPIC CriterionTypeEnum_CriterionType = 18 + // Listing scope to target. + CriterionTypeEnum_LISTING_SCOPE CriterionTypeEnum_CriterionType = 19 + // Language. + CriterionTypeEnum_LANGUAGE CriterionTypeEnum_CriterionType = 20 + // IpBlock. + CriterionTypeEnum_IP_BLOCK CriterionTypeEnum_CriterionType = 21 + // Content Label for category exclusion. + CriterionTypeEnum_CONTENT_LABEL CriterionTypeEnum_CriterionType = 22 + // Carrier. + CriterionTypeEnum_CARRIER CriterionTypeEnum_CriterionType = 23 + // A category the user is interested in. + CriterionTypeEnum_USER_INTEREST CriterionTypeEnum_CriterionType = 24 +) + +var CriterionTypeEnum_CriterionType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "KEYWORD", + 3: "PLACEMENT", + 6: "DEVICE", + 7: "LOCATION", + 8: "LISTING_GROUP", + 9: "AD_SCHEDULE", + 10: "AGE_RANGE", + 11: "GENDER", + 12: "INCOME_RANGE", + 13: "PARENTAL_STATUS", + 14: "YOUTUBE_VIDEO", + 15: "YOUTUBE_CHANNEL", + 16: "USER_LIST", + 17: "PROXIMITY", + 18: "TOPIC", + 19: "LISTING_SCOPE", + 20: "LANGUAGE", + 21: "IP_BLOCK", + 22: "CONTENT_LABEL", + 23: "CARRIER", + 24: "USER_INTEREST", +} +var CriterionTypeEnum_CriterionType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "KEYWORD": 2, + "PLACEMENT": 3, + "DEVICE": 6, + "LOCATION": 7, + "LISTING_GROUP": 8, + "AD_SCHEDULE": 9, + "AGE_RANGE": 10, + "GENDER": 11, + "INCOME_RANGE": 12, + "PARENTAL_STATUS": 13, + "YOUTUBE_VIDEO": 14, + "YOUTUBE_CHANNEL": 15, + "USER_LIST": 16, + "PROXIMITY": 17, + "TOPIC": 18, + "LISTING_SCOPE": 19, + "LANGUAGE": 20, + "IP_BLOCK": 21, + "CONTENT_LABEL": 22, + "CARRIER": 23, + "USER_INTEREST": 24, +} + +func (x CriterionTypeEnum_CriterionType) String() string { + return proto.EnumName(CriterionTypeEnum_CriterionType_name, int32(x)) +} +func (CriterionTypeEnum_CriterionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_criterion_type_f43400bfbfc8f5e1, []int{0, 0} +} + +// The possible types of a criterion. +type CriterionTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionTypeEnum) Reset() { *m = CriterionTypeEnum{} } +func (m *CriterionTypeEnum) String() string { return proto.CompactTextString(m) } +func (*CriterionTypeEnum) ProtoMessage() {} +func (*CriterionTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_type_f43400bfbfc8f5e1, []int{0} +} +func (m *CriterionTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionTypeEnum.Unmarshal(m, b) +} +func (m *CriterionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionTypeEnum.Marshal(b, m, deterministic) +} +func (dst *CriterionTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionTypeEnum.Merge(dst, src) +} +func (m *CriterionTypeEnum) XXX_Size() int { + return xxx_messageInfo_CriterionTypeEnum.Size(m) +} +func (m *CriterionTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CriterionTypeEnum)(nil), "google.ads.googleads.v0.enums.CriterionTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CriterionTypeEnum_CriterionType", CriterionTypeEnum_CriterionType_name, CriterionTypeEnum_CriterionType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/criterion_type.proto", fileDescriptor_criterion_type_f43400bfbfc8f5e1) +} + +var fileDescriptor_criterion_type_f43400bfbfc8f5e1 = []byte{ + // 473 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcd, 0x6e, 0xda, 0x40, + 0x10, 0x2e, 0xa0, 0x92, 0xb0, 0x40, 0x19, 0x36, 0xfd, 0xbb, 0xe4, 0xd0, 0x3c, 0x80, 0x8d, 0xda, + 0x63, 0x4f, 0xeb, 0xf5, 0xd4, 0x59, 0x61, 0x76, 0xad, 0xf5, 0x9a, 0x94, 0x0a, 0xc9, 0xa2, 0xc1, + 0xb2, 0x90, 0x82, 0x8d, 0x30, 0x89, 0x94, 0xd7, 0xe8, 0x23, 0xf4, 0xd8, 0xd7, 0xe8, 0xad, 0xcf, + 0xd4, 0x43, 0xb5, 0xa6, 0x8e, 0x9a, 0x43, 0x73, 0xb1, 0xbe, 0xdd, 0x6f, 0xbe, 0xf9, 0x76, 0x3c, + 0x1f, 0x79, 0x9f, 0x97, 0x65, 0x7e, 0x93, 0xb9, 0xab, 0x75, 0xe5, 0x1e, 0xa1, 0x45, 0x77, 0x13, + 0x37, 0x2b, 0x6e, 0xb7, 0x95, 0x7b, 0xbd, 0xdf, 0x1c, 0xb2, 0xfd, 0xa6, 0x2c, 0xd2, 0xc3, 0xfd, + 0x2e, 0x73, 0x76, 0xfb, 0xf2, 0x50, 0xd2, 0xf3, 0x63, 0xa1, 0xb3, 0x5a, 0x57, 0xce, 0x83, 0xc6, + 0xb9, 0x9b, 0x38, 0xb5, 0xe6, 0xe2, 0x5b, 0x87, 0x8c, 0x79, 0xa3, 0x33, 0xf7, 0xbb, 0x0c, 0x8b, + 0xdb, 0xed, 0xc5, 0xef, 0x36, 0x19, 0x3e, 0xba, 0xa5, 0x23, 0xd2, 0x4f, 0x64, 0x1c, 0x21, 0x17, + 0x9f, 0x04, 0xfa, 0xf0, 0x8c, 0xf6, 0xc9, 0x49, 0x22, 0xa7, 0x52, 0x5d, 0x49, 0x68, 0xd9, 0xc3, + 0x14, 0x17, 0x57, 0x4a, 0xfb, 0xd0, 0xa6, 0x43, 0xd2, 0x8b, 0x42, 0xc6, 0x71, 0x86, 0xd2, 0x40, + 0x87, 0x12, 0xd2, 0xf5, 0x71, 0x2e, 0x38, 0x42, 0x97, 0x0e, 0xc8, 0x69, 0xa8, 0x38, 0x33, 0x42, + 0x49, 0x38, 0xa1, 0x63, 0x32, 0x0c, 0x45, 0x6c, 0x84, 0x0c, 0xd2, 0x40, 0xab, 0x24, 0x82, 0x53, + 0x6b, 0xc3, 0xfc, 0x34, 0xe6, 0x97, 0xe8, 0x27, 0x21, 0x42, 0xcf, 0x36, 0x63, 0x01, 0xa6, 0x9a, + 0xc9, 0x00, 0x81, 0xd8, 0x66, 0x01, 0x4a, 0x1f, 0x35, 0xf4, 0x29, 0x90, 0x81, 0x90, 0x5c, 0xcd, + 0x1a, 0x76, 0x40, 0xcf, 0xc8, 0x28, 0x62, 0x1a, 0xa5, 0x61, 0x61, 0x1a, 0x1b, 0x66, 0x92, 0x18, + 0x86, 0xd6, 0x65, 0xa1, 0x12, 0x93, 0x78, 0x98, 0xce, 0x85, 0x8f, 0x0a, 0x5e, 0xd8, 0xba, 0xe6, + 0x8a, 0x5f, 0x32, 0x29, 0x31, 0x84, 0x91, 0x75, 0x4a, 0x62, 0xd4, 0xa9, 0x7d, 0x12, 0x40, 0x3d, + 0x85, 0x56, 0x9f, 0xc5, 0x4c, 0x98, 0x05, 0x8c, 0x69, 0x8f, 0x3c, 0x37, 0x2a, 0x12, 0x1c, 0xe8, + 0xbf, 0xcf, 0x8e, 0xb9, 0x8a, 0x10, 0xce, 0xea, 0xb9, 0x98, 0x0c, 0x12, 0x16, 0x20, 0xbc, 0xb4, + 0x27, 0x11, 0xa5, 0x5e, 0xa8, 0xf8, 0x14, 0x5e, 0xd9, 0x72, 0xae, 0xa4, 0x41, 0x69, 0xd2, 0x90, + 0x79, 0x18, 0xc2, 0x6b, 0xfb, 0xbb, 0x38, 0xd3, 0x5a, 0xa0, 0x86, 0x37, 0x96, 0xaf, 0x7d, 0x85, + 0x34, 0xa8, 0x31, 0x36, 0xf0, 0xd6, 0xfb, 0xd9, 0x22, 0xef, 0xae, 0xcb, 0xad, 0xf3, 0xe4, 0xea, + 0x3c, 0xfa, 0x68, 0x43, 0x91, 0xdd, 0x76, 0xd4, 0xfa, 0xe2, 0xfd, 0x15, 0xe5, 0xe5, 0xcd, 0xaa, + 0xc8, 0x9d, 0x72, 0x9f, 0xbb, 0x79, 0x56, 0xd4, 0x59, 0x68, 0x32, 0xb3, 0xdb, 0x54, 0xff, 0x89, + 0xd0, 0xc7, 0xfa, 0xfb, 0xbd, 0xdd, 0x09, 0x18, 0xfb, 0xd1, 0x3e, 0x0f, 0x8e, 0xad, 0xd8, 0xba, + 0x72, 0x8e, 0xd0, 0xa2, 0xf9, 0xc4, 0xb1, 0x19, 0xa9, 0x7e, 0x35, 0xfc, 0x92, 0xad, 0xab, 0xe5, + 0x03, 0xbf, 0x9c, 0x4f, 0x96, 0x35, 0xff, 0xb5, 0x5b, 0x9b, 0x7e, 0xf8, 0x13, 0x00, 0x00, 0xff, + 0xff, 0xd0, 0xd6, 0x60, 0x96, 0xb6, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/custom_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/custom_placeholder_field.pb.go new file mode 100644 index 000000000..263800cdc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/custom_placeholder_field.pb.go @@ -0,0 +1,225 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/custom_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Custom placeholder fields. +type CustomPlaceholderFieldEnum_CustomPlaceholderField int32 + +const ( + // Not specified. + CustomPlaceholderFieldEnum_UNSPECIFIED CustomPlaceholderFieldEnum_CustomPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + CustomPlaceholderFieldEnum_UNKNOWN CustomPlaceholderFieldEnum_CustomPlaceholderField = 1 + // Data Type: STRING. Required. Combination ID and ID2 must be unique per + // offer. + CustomPlaceholderFieldEnum_ID CustomPlaceholderFieldEnum_CustomPlaceholderField = 2 + // Data Type: STRING. Combination ID and ID2 must be unique per offer. + CustomPlaceholderFieldEnum_ID2 CustomPlaceholderFieldEnum_CustomPlaceholderField = 3 + // Data Type: STRING. Required. Main headline with product name to be shown + // in dynamic ad. + CustomPlaceholderFieldEnum_ITEM_TITLE CustomPlaceholderFieldEnum_CustomPlaceholderField = 4 + // Data Type: STRING. Optional text to be shown in the image ad. + CustomPlaceholderFieldEnum_ITEM_SUBTITLE CustomPlaceholderFieldEnum_CustomPlaceholderField = 5 + // Data Type: STRING. Optional description of the product to be shown in the + // ad. + CustomPlaceholderFieldEnum_ITEM_DESCRIPTION CustomPlaceholderFieldEnum_CustomPlaceholderField = 6 + // Data Type: STRING. Full address of your offer or service, including + // postal code. This will be used to identify the closest product to the + // user when there are multiple offers in the feed that are relevant to the + // user. + CustomPlaceholderFieldEnum_ITEM_ADDRESS CustomPlaceholderFieldEnum_CustomPlaceholderField = 7 + // Data Type: STRING. Price to be shown in the ad. + // Example: "100.00 USD" + CustomPlaceholderFieldEnum_PRICE CustomPlaceholderFieldEnum_CustomPlaceholderField = 8 + // Data Type: STRING. Formatted price to be shown in the ad. + // Example: "Starting at $100.00 USD", "$80 - $100" + CustomPlaceholderFieldEnum_FORMATTED_PRICE CustomPlaceholderFieldEnum_CustomPlaceholderField = 9 + // Data Type: STRING. Sale price to be shown in the ad. + // Example: "80.00 USD" + CustomPlaceholderFieldEnum_SALE_PRICE CustomPlaceholderFieldEnum_CustomPlaceholderField = 10 + // Data Type: STRING. Formatted sale price to be shown in the ad. + // Example: "On sale for $80.00", "$60 - $80" + CustomPlaceholderFieldEnum_FORMATTED_SALE_PRICE CustomPlaceholderFieldEnum_CustomPlaceholderField = 11 + // Data Type: URL. Image to be displayed in the ad. Highly recommended for + // image ads. + CustomPlaceholderFieldEnum_IMAGE_URL CustomPlaceholderFieldEnum_CustomPlaceholderField = 12 + // Data Type: STRING. Used as a recommendation engine signal to serve items + // in the same category. + CustomPlaceholderFieldEnum_ITEM_CATEGORY CustomPlaceholderFieldEnum_CustomPlaceholderField = 13 + // Data Type: URL_LIST. Final URLs for the ad when using Upgraded + // URLs. User will be redirected to these URLs when they click on an ad, or + // when they click on a specific product for ads that have multiple + // products. + CustomPlaceholderFieldEnum_FINAL_URLS CustomPlaceholderFieldEnum_CustomPlaceholderField = 14 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + CustomPlaceholderFieldEnum_FINAL_MOBILE_URLS CustomPlaceholderFieldEnum_CustomPlaceholderField = 15 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + CustomPlaceholderFieldEnum_TRACKING_URL CustomPlaceholderFieldEnum_CustomPlaceholderField = 16 + // Data Type: STRING_LIST. Keywords used for product retrieval. + CustomPlaceholderFieldEnum_CONTEXTUAL_KEYWORDS CustomPlaceholderFieldEnum_CustomPlaceholderField = 17 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + CustomPlaceholderFieldEnum_ANDROID_APP_LINK CustomPlaceholderFieldEnum_CustomPlaceholderField = 18 + // Data Type: STRING_LIST. List of recommended IDs to show together with + // this item. + CustomPlaceholderFieldEnum_SIMILAR_IDS CustomPlaceholderFieldEnum_CustomPlaceholderField = 19 + // Data Type: STRING. iOS app link. + CustomPlaceholderFieldEnum_IOS_APP_LINK CustomPlaceholderFieldEnum_CustomPlaceholderField = 20 + // Data Type: INT64. iOS app store ID. + CustomPlaceholderFieldEnum_IOS_APP_STORE_ID CustomPlaceholderFieldEnum_CustomPlaceholderField = 21 +) + +var CustomPlaceholderFieldEnum_CustomPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ID", + 3: "ID2", + 4: "ITEM_TITLE", + 5: "ITEM_SUBTITLE", + 6: "ITEM_DESCRIPTION", + 7: "ITEM_ADDRESS", + 8: "PRICE", + 9: "FORMATTED_PRICE", + 10: "SALE_PRICE", + 11: "FORMATTED_SALE_PRICE", + 12: "IMAGE_URL", + 13: "ITEM_CATEGORY", + 14: "FINAL_URLS", + 15: "FINAL_MOBILE_URLS", + 16: "TRACKING_URL", + 17: "CONTEXTUAL_KEYWORDS", + 18: "ANDROID_APP_LINK", + 19: "SIMILAR_IDS", + 20: "IOS_APP_LINK", + 21: "IOS_APP_STORE_ID", +} +var CustomPlaceholderFieldEnum_CustomPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ID": 2, + "ID2": 3, + "ITEM_TITLE": 4, + "ITEM_SUBTITLE": 5, + "ITEM_DESCRIPTION": 6, + "ITEM_ADDRESS": 7, + "PRICE": 8, + "FORMATTED_PRICE": 9, + "SALE_PRICE": 10, + "FORMATTED_SALE_PRICE": 11, + "IMAGE_URL": 12, + "ITEM_CATEGORY": 13, + "FINAL_URLS": 14, + "FINAL_MOBILE_URLS": 15, + "TRACKING_URL": 16, + "CONTEXTUAL_KEYWORDS": 17, + "ANDROID_APP_LINK": 18, + "SIMILAR_IDS": 19, + "IOS_APP_LINK": 20, + "IOS_APP_STORE_ID": 21, +} + +func (x CustomPlaceholderFieldEnum_CustomPlaceholderField) String() string { + return proto.EnumName(CustomPlaceholderFieldEnum_CustomPlaceholderField_name, int32(x)) +} +func (CustomPlaceholderFieldEnum_CustomPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_custom_placeholder_field_da1fc5fdf27a9f46, []int{0, 0} +} + +// Values for Custom placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type CustomPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomPlaceholderFieldEnum) Reset() { *m = CustomPlaceholderFieldEnum{} } +func (m *CustomPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*CustomPlaceholderFieldEnum) ProtoMessage() {} +func (*CustomPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_custom_placeholder_field_da1fc5fdf27a9f46, []int{0} +} +func (m *CustomPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *CustomPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *CustomPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomPlaceholderFieldEnum.Merge(dst, src) +} +func (m *CustomPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_CustomPlaceholderFieldEnum.Size(m) +} +func (m *CustomPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CustomPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CustomPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.CustomPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField", CustomPlaceholderFieldEnum_CustomPlaceholderField_name, CustomPlaceholderFieldEnum_CustomPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/custom_placeholder_field.proto", fileDescriptor_custom_placeholder_field_da1fc5fdf27a9f46) +} + +var fileDescriptor_custom_placeholder_field_da1fc5fdf27a9f46 = []byte{ + // 484 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x8e, 0x12, 0x31, + 0x18, 0x15, 0x70, 0x41, 0x3e, 0x96, 0xa5, 0x14, 0x56, 0x8d, 0x66, 0x2f, 0xdc, 0x07, 0x18, 0x88, + 0x5e, 0xea, 0x4d, 0x99, 0x16, 0xd2, 0x30, 0x4c, 0x27, 0x6d, 0xd9, 0x75, 0x0d, 0x49, 0x83, 0xcc, + 0x38, 0x6e, 0x02, 0x0c, 0x61, 0x96, 0x7d, 0x1d, 0x13, 0x2f, 0x7d, 0x08, 0x1f, 0xc0, 0xf8, 0x50, + 0xa6, 0x1d, 0x16, 0xbc, 0x58, 0xbd, 0x69, 0xbe, 0xef, 0x9c, 0xef, 0x9c, 0xfe, 0x1d, 0xf8, 0x90, + 0x66, 0x59, 0xba, 0x4c, 0x7a, 0xf3, 0x38, 0xef, 0x15, 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x03, 0x3f, 0x23, 0x71, 0x3e, 0x3b, 0xf0, 0xb3, 0xab, 0xfe, 0xcc, + 0xf1, 0x9f, 0xab, 0x6e, 0xd3, 0x77, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x58, 0x53, 0x00, 0x84, + 0xf5, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/customer_match_upload_key_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/customer_match_upload_key_type.pb.go new file mode 100644 index 000000000..495f0e3fa --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/customer_match_upload_key_type.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/customer_match_upload_key_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible customer match upload key types. +type CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType int32 + +const ( + // Not specified. + CustomerMatchUploadKeyTypeEnum_UNSPECIFIED CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType = 0 + // Used for return value only. Represents value unknown in this version. + CustomerMatchUploadKeyTypeEnum_UNKNOWN CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType = 1 + // Members are matched from customer info such as email address, phone + // number or physical address. + CustomerMatchUploadKeyTypeEnum_CONTACT_INFO CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType = 2 + // Members are matched from a user id generated and assigned by the + // advertiser. + CustomerMatchUploadKeyTypeEnum_CRM_ID CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType = 3 + // Members are matched from mobile advertising ids. + CustomerMatchUploadKeyTypeEnum_MOBILE_ADVERTISING_ID CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType = 4 +) + +var CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CONTACT_INFO", + 3: "CRM_ID", + 4: "MOBILE_ADVERTISING_ID", +} +var CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CONTACT_INFO": 2, + "CRM_ID": 3, + "MOBILE_ADVERTISING_ID": 4, +} + +func (x CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType) String() string { + return proto.EnumName(CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_name, int32(x)) +} +func (CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_customer_match_upload_key_type_49e9fec7ee2e2de4, []int{0, 0} +} + +// Indicates what type of data are the user list's members matched from. +type CustomerMatchUploadKeyTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerMatchUploadKeyTypeEnum) Reset() { *m = CustomerMatchUploadKeyTypeEnum{} } +func (m *CustomerMatchUploadKeyTypeEnum) String() string { return proto.CompactTextString(m) } +func (*CustomerMatchUploadKeyTypeEnum) ProtoMessage() {} +func (*CustomerMatchUploadKeyTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_match_upload_key_type_49e9fec7ee2e2de4, []int{0} +} +func (m *CustomerMatchUploadKeyTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.Unmarshal(m, b) +} +func (m *CustomerMatchUploadKeyTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.Marshal(b, m, deterministic) +} +func (dst *CustomerMatchUploadKeyTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.Merge(dst, src) +} +func (m *CustomerMatchUploadKeyTypeEnum) XXX_Size() int { + return xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.Size(m) +} +func (m *CustomerMatchUploadKeyTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerMatchUploadKeyTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CustomerMatchUploadKeyTypeEnum)(nil), "google.ads.googleads.v0.enums.CustomerMatchUploadKeyTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType", CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_name, CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/customer_match_upload_key_type.proto", fileDescriptor_customer_match_upload_key_type_49e9fec7ee2e2de4) +} + +var fileDescriptor_customer_match_upload_key_type_49e9fec7ee2e2de4 = []byte{ + // 315 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, + 0x18, 0x86, 0xff, 0x6e, 0x3f, 0x13, 0x32, 0xc1, 0x12, 0xf0, 0x40, 0x61, 0x8a, 0xbb, 0x80, 0xb4, + 0xe0, 0xa1, 0x47, 0x69, 0xd7, 0x8d, 0x30, 0x97, 0x8e, 0xad, 0x9b, 0x20, 0x85, 0x50, 0xd7, 0x10, + 0xc5, 0xb5, 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b, 0xb7, 0xed, 0x83, 0xcd, 0xf5, 0xf6, 0x73, + 0xeb, 0xf9, 0xe0, 0x10, 0x09, 0xb9, 0x4d, 0x72, 0x81, 0xe4, 0x4e, 0x38, 0x82, 0xe7, 0xc6, 0xcd, + 0xd1, 0x69, 0xf1, 0xa6, 0x5a, 0x14, 0x3f, 0x98, 0xf3, 0xb3, 0xd3, 0x9d, 0x60, 0xfc, 0xd5, 0x19, + 0x4c, 0x1a, 0x14, 0x4e, 0x15, 0x6a, 0xa2, 0x4e, 0x6b, 0x17, 0x69, 0x4d, 0xea, 0xfb, 0xd8, 0xc7, + 0x38, 0x55, 0xf1, 0xa9, 0x8f, 0xd7, 0x6e, 0x6c, 0xfa, 0x97, 0x9e, 0xf9, 0xf4, 0xfe, 0x37, 0x00, + 0x00, 0xff, 0xff, 0x99, 0xad, 0x2f, 0x13, 0xd6, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/data_driven_model_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/data_driven_model_status.pb.go new file mode 100644 index 000000000..ac14f2b49 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/data_driven_model_status.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/data_driven_model_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates data driven model statuses. +type DataDrivenModelStatusEnum_DataDrivenModelStatus int32 + +const ( + // Not specified. + DataDrivenModelStatusEnum_UNSPECIFIED DataDrivenModelStatusEnum_DataDrivenModelStatus = 0 + // Used for return value only. Represents value unknown in this version. + DataDrivenModelStatusEnum_UNKNOWN DataDrivenModelStatusEnum_DataDrivenModelStatus = 1 + // The data driven model is available. + DataDrivenModelStatusEnum_AVAILABLE DataDrivenModelStatusEnum_DataDrivenModelStatus = 2 + // The data driven model is stale. It hasn't been updated for at least 7 + // days. It is still being used, but will become expired if it does not get + // updated for 30 days. + DataDrivenModelStatusEnum_STALE DataDrivenModelStatusEnum_DataDrivenModelStatus = 3 + // The data driven model expired. It hasn't been updated for at least 30 + // days and cannot be used. Most commonly this is because there hasn't been + // the required number of events in a recent 30-day period. + DataDrivenModelStatusEnum_EXPIRED DataDrivenModelStatusEnum_DataDrivenModelStatus = 4 + // The data driven model has never been generated. Most commonly this is + // because there has never been the required number of events in any 30-day + // period. + DataDrivenModelStatusEnum_NEVER_GENERATED DataDrivenModelStatusEnum_DataDrivenModelStatus = 5 +) + +var DataDrivenModelStatusEnum_DataDrivenModelStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AVAILABLE", + 3: "STALE", + 4: "EXPIRED", + 5: "NEVER_GENERATED", +} +var DataDrivenModelStatusEnum_DataDrivenModelStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AVAILABLE": 2, + "STALE": 3, + "EXPIRED": 4, + "NEVER_GENERATED": 5, +} + +func (x DataDrivenModelStatusEnum_DataDrivenModelStatus) String() string { + return proto.EnumName(DataDrivenModelStatusEnum_DataDrivenModelStatus_name, int32(x)) +} +func (DataDrivenModelStatusEnum_DataDrivenModelStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_data_driven_model_status_0a8e32904769d8b5, []int{0, 0} +} + +// Container for enum indicating data driven model status. +type DataDrivenModelStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataDrivenModelStatusEnum) Reset() { *m = DataDrivenModelStatusEnum{} } +func (m *DataDrivenModelStatusEnum) String() string { return proto.CompactTextString(m) } +func (*DataDrivenModelStatusEnum) ProtoMessage() {} +func (*DataDrivenModelStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_data_driven_model_status_0a8e32904769d8b5, []int{0} +} +func (m *DataDrivenModelStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DataDrivenModelStatusEnum.Unmarshal(m, b) +} +func (m *DataDrivenModelStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DataDrivenModelStatusEnum.Marshal(b, m, deterministic) +} +func (dst *DataDrivenModelStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataDrivenModelStatusEnum.Merge(dst, src) +} +func (m *DataDrivenModelStatusEnum) XXX_Size() int { + return xxx_messageInfo_DataDrivenModelStatusEnum.Size(m) +} +func (m *DataDrivenModelStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DataDrivenModelStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DataDrivenModelStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DataDrivenModelStatusEnum)(nil), "google.ads.googleads.v0.enums.DataDrivenModelStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.DataDrivenModelStatusEnum_DataDrivenModelStatus", DataDrivenModelStatusEnum_DataDrivenModelStatus_name, DataDrivenModelStatusEnum_DataDrivenModelStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/data_driven_model_status.proto", fileDescriptor_data_driven_model_status_0a8e32904769d8b5) +} + +var fileDescriptor_data_driven_model_status_0a8e32904769d8b5 = []byte{ + // 308 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xf3, 0x30, + 0x18, 0xc6, 0xbf,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x1f, 0x1f, 0xa3, 0x3e, 0x83, 0x04, 0x26, 0xd9, + 0x08, 0x18, 0x4c, 0xe8, 0x0c, 0x42, 0xb7, 0x13, 0x7c, 0x39, 0xe8, 0xfc, 0x45, 0x15, 0xe4, 0xcf, + 0xb5, 0x83, 0xb3, 0xbd, 0x6b, 0xc5, 0xe6, 0xc7, 0xb1, 0xf3, 0x14, 0xfc, 0xc0, 0x52, 0x2d, 0x79, + 0x29, 0x89, 0x5a, 0x4b, 0x4f, 0xe6, 0xa5, 0xf5, 0xb1, 0x35, 0xb8, 0x5a, 0xe8, 0x5f, 0x84, 0x5e, + 0xda, 0xf3, 0xbd, 0xd5, 0x1e, 0x51, 0xfa, 0xd1, 0x1a, 0x8c, 0x9a, 0x51, 0x54, 0x68, 0xd2, 0x44, + 0x93, 0x12, 0x9f, 0x18, 0x3f, 0xfa, 0x73, 0xdb, 0xa7, 0x54, 0xe8, 0x74, 0xd7, 0xa7, 0x89, 0x9f, + 0xda, 0xfe, 0xf9, 0xc0, 0x3e, 0x7a, 0xf1, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x5e, 0x3b, 0x28, + 0xc4, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/day_of_week.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/day_of_week.pb.go new file mode 100644 index 000000000..435af0752 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/day_of_week.pb.go @@ -0,0 +1,136 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/day_of_week.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates days of the week, e.g., "Monday". +type DayOfWeekEnum_DayOfWeek int32 + +const ( + // Not specified. + DayOfWeekEnum_UNSPECIFIED DayOfWeekEnum_DayOfWeek = 0 + // The value is unknown in this version. + DayOfWeekEnum_UNKNOWN DayOfWeekEnum_DayOfWeek = 1 + // Monday. + DayOfWeekEnum_MONDAY DayOfWeekEnum_DayOfWeek = 2 + // Tuesday. + DayOfWeekEnum_TUESDAY DayOfWeekEnum_DayOfWeek = 3 + // Wednesday. + DayOfWeekEnum_WEDNESDAY DayOfWeekEnum_DayOfWeek = 4 + // Thursday. + DayOfWeekEnum_THURSDAY DayOfWeekEnum_DayOfWeek = 5 + // Friday. + DayOfWeekEnum_FRIDAY DayOfWeekEnum_DayOfWeek = 6 + // Saturday. + DayOfWeekEnum_SATURDAY DayOfWeekEnum_DayOfWeek = 7 + // Sunday. + DayOfWeekEnum_SUNDAY DayOfWeekEnum_DayOfWeek = 8 +) + +var DayOfWeekEnum_DayOfWeek_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "MONDAY", + 3: "TUESDAY", + 4: "WEDNESDAY", + 5: "THURSDAY", + 6: "FRIDAY", + 7: "SATURDAY", + 8: "SUNDAY", +} +var DayOfWeekEnum_DayOfWeek_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "MONDAY": 2, + "TUESDAY": 3, + "WEDNESDAY": 4, + "THURSDAY": 5, + "FRIDAY": 6, + "SATURDAY": 7, + "SUNDAY": 8, +} + +func (x DayOfWeekEnum_DayOfWeek) String() string { + return proto.EnumName(DayOfWeekEnum_DayOfWeek_name, int32(x)) +} +func (DayOfWeekEnum_DayOfWeek) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_day_of_week_8b74b2709672516d, []int{0, 0} +} + +// Container for enumeration of days of the week, e.g., "Monday". +type DayOfWeekEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DayOfWeekEnum) Reset() { *m = DayOfWeekEnum{} } +func (m *DayOfWeekEnum) String() string { return proto.CompactTextString(m) } +func (*DayOfWeekEnum) ProtoMessage() {} +func (*DayOfWeekEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_day_of_week_8b74b2709672516d, []int{0} +} +func (m *DayOfWeekEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DayOfWeekEnum.Unmarshal(m, b) +} +func (m *DayOfWeekEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DayOfWeekEnum.Marshal(b, m, deterministic) +} +func (dst *DayOfWeekEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DayOfWeekEnum.Merge(dst, src) +} +func (m *DayOfWeekEnum) XXX_Size() int { + return xxx_messageInfo_DayOfWeekEnum.Size(m) +} +func (m *DayOfWeekEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DayOfWeekEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DayOfWeekEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DayOfWeekEnum)(nil), "google.ads.googleads.v0.enums.DayOfWeekEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.DayOfWeekEnum_DayOfWeek", DayOfWeekEnum_DayOfWeek_name, DayOfWeekEnum_DayOfWeek_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/day_of_week.proto", fileDescriptor_day_of_week_8b74b2709672516d) +} + +var fileDescriptor_day_of_week_8b74b2709672516d = []byte{ + // 303 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0x86, 0x32, 0x41, 0xac, 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b, 0xc0, 0x18, 0xe5, 0x04, 0xd5, 0x90, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0x0e, 0x0c, 0x58, 0x88, 0x15, 0x64, 0x16, 0xe3, 0x08, 0x40, + 0x6b, 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, + 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, 0x05, 0x54, 0xf1, 0x29, 0x98, 0x7c, + 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x3e, 0x26, 0xcc, 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, + 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xeb, 0xea, 0x27, 0x3e, 0xb4, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/device.pb.go new file mode 100644 index 000000000..34eaa09f3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/device.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/device.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates Google Ads devices available for targeting. +type DeviceEnum_Device int32 + +const ( + // Not specified. + DeviceEnum_UNSPECIFIED DeviceEnum_Device = 0 + // The value is unknown in this version. + DeviceEnum_UNKNOWN DeviceEnum_Device = 1 + // Mobile devices with full browsers. + DeviceEnum_MOBILE DeviceEnum_Device = 2 + // Tablets with full browsers. + DeviceEnum_TABLET DeviceEnum_Device = 3 + // Computers. + DeviceEnum_DESKTOP DeviceEnum_Device = 4 +) + +var DeviceEnum_Device_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "MOBILE", + 3: "TABLET", + 4: "DESKTOP", +} +var DeviceEnum_Device_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "MOBILE": 2, + "TABLET": 3, + "DESKTOP": 4, +} + +func (x DeviceEnum_Device) String() string { + return proto.EnumName(DeviceEnum_Device_name, int32(x)) +} +func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_device_8acc755801fd4e7c, []int{0, 0} +} + +// Container for enumeration of Google Ads devices available for targeting. +type DeviceEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeviceEnum) Reset() { *m = DeviceEnum{} } +func (m *DeviceEnum) String() string { return proto.CompactTextString(m) } +func (*DeviceEnum) ProtoMessage() {} +func (*DeviceEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_device_8acc755801fd4e7c, []int{0} +} +func (m *DeviceEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeviceEnum.Unmarshal(m, b) +} +func (m *DeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeviceEnum.Marshal(b, m, deterministic) +} +func (dst *DeviceEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeviceEnum.Merge(dst, src) +} +func (m *DeviceEnum) XXX_Size() int { + return xxx_messageInfo_DeviceEnum.Size(m) +} +func (m *DeviceEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DeviceEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DeviceEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DeviceEnum)(nil), "google.ads.googleads.v0.enums.DeviceEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.DeviceEnum_Device", DeviceEnum_Device_name, DeviceEnum_Device_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/device.proto", fileDescriptor_device_8acc755801fd4e7c) +} + +var fileDescriptor_device_8acc755801fd4e7c = []byte{ + // 257 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x94, 0xd4, 0xb2, 0xcc, 0xe4, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, + 0x21, 0x59, 0x88, 0x02, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x5a, 0xbd, 0x32, 0x03, 0x3d, 0xb0, + 0x5a, 0xa5, 0x48, 0x2e, 0x2e, 0x17, 0xb0, 0x72, 0xd7, 0xbc, 0xd2, 0x5c, 0x25, 0x6f, 0x2e, 0x36, + 0x08, 0x4f, 0x88, 0x9f, 0x8b, 0x3b, 0xd4, 0x2f, 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, 0xd5, + 0x45, 0x80, 0x41, 0x88, 0x9b, 0x8b, 0x3d, 0xd4, 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, 0x51, + 0x88, 0x8b, 0x8b, 0xcd, 0xd7, 0xdf, 0xc9, 0xd3, 0xc7, 0x55, 0x80, 0x09, 0xc4, 0x0e, 0x71, 0x74, + 0xf2, 0x71, 0x0d, 0x11, 0x60, 0x06, 0x29, 0x72, 0x71, 0x0d, 0xf6, 0x0e, 0xf1, 0x0f, 0x10, 0x60, + 0x71, 0xda, 0xc3, 0xc8, 0xa5, 0x98, 0x9c, 0x9f, 0xab, 0x87, 0xd7, 0x01, 0x4e, 0xdc, 0x10, 0x0b, + 0x03, 0x40, 0x8e, 0x0d, 0x60, 0x8c, 0x72, 0x82, 0xaa, 0x4e, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0xd7, + 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0x7b, 0x05, 0xe6, 0xd5, 0x82, 0xcc, 0x62, 0x1c, + 0x3e, 0xb7, 0x06, 0x93, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0xc9, 0xba, 0x43, 0x8c, + 0x72, 0x4c, 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0x3d, 0x90, 0x57, 0x8b, 0x4f, 0xc1, + 0xe4, 0x63, 0x1c, 0x53, 0x8a, 0x63, 0xe0, 0xf2, 0x31, 0x61, 0x06, 0x31, 0x60, 0xf9, 0x24, 0x36, + 0xb0, 0xa5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x99, 0x03, 0x92, 0x6d, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/display_ad_format_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/display_ad_format_setting.pb.go new file mode 100644 index 000000000..2637fd2d4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/display_ad_format_setting.pb.go @@ -0,0 +1,121 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/display_ad_format_setting.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates display ad format settings. +type DisplayAdFormatSettingEnum_DisplayAdFormatSetting int32 + +const ( + // Not specified. + DisplayAdFormatSettingEnum_UNSPECIFIED DisplayAdFormatSettingEnum_DisplayAdFormatSetting = 0 + // The value is unknown in this version. + DisplayAdFormatSettingEnum_UNKNOWN DisplayAdFormatSettingEnum_DisplayAdFormatSetting = 1 + // Text, image and native formats. + DisplayAdFormatSettingEnum_ALL_FORMATS DisplayAdFormatSettingEnum_DisplayAdFormatSetting = 2 + // Text and image formats. + DisplayAdFormatSettingEnum_NON_NATIVE DisplayAdFormatSettingEnum_DisplayAdFormatSetting = 3 + // Native format, i.e. the format rendering is controlled by the publisher + // and not by Google. + DisplayAdFormatSettingEnum_NATIVE DisplayAdFormatSettingEnum_DisplayAdFormatSetting = 4 +) + +var DisplayAdFormatSettingEnum_DisplayAdFormatSetting_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ALL_FORMATS", + 3: "NON_NATIVE", + 4: "NATIVE", +} +var DisplayAdFormatSettingEnum_DisplayAdFormatSetting_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ALL_FORMATS": 2, + "NON_NATIVE": 3, + "NATIVE": 4, +} + +func (x DisplayAdFormatSettingEnum_DisplayAdFormatSetting) String() string { + return proto.EnumName(DisplayAdFormatSettingEnum_DisplayAdFormatSetting_name, int32(x)) +} +func (DisplayAdFormatSettingEnum_DisplayAdFormatSetting) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_display_ad_format_setting_4e0440badaec0ae7, []int{0, 0} +} + +// Container for display ad format settings. +type DisplayAdFormatSettingEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisplayAdFormatSettingEnum) Reset() { *m = DisplayAdFormatSettingEnum{} } +func (m *DisplayAdFormatSettingEnum) String() string { return proto.CompactTextString(m) } +func (*DisplayAdFormatSettingEnum) ProtoMessage() {} +func (*DisplayAdFormatSettingEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_display_ad_format_setting_4e0440badaec0ae7, []int{0} +} +func (m *DisplayAdFormatSettingEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisplayAdFormatSettingEnum.Unmarshal(m, b) +} +func (m *DisplayAdFormatSettingEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisplayAdFormatSettingEnum.Marshal(b, m, deterministic) +} +func (dst *DisplayAdFormatSettingEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisplayAdFormatSettingEnum.Merge(dst, src) +} +func (m *DisplayAdFormatSettingEnum) XXX_Size() int { + return xxx_messageInfo_DisplayAdFormatSettingEnum.Size(m) +} +func (m *DisplayAdFormatSettingEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DisplayAdFormatSettingEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DisplayAdFormatSettingEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DisplayAdFormatSettingEnum)(nil), "google.ads.googleads.v0.enums.DisplayAdFormatSettingEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting", DisplayAdFormatSettingEnum_DisplayAdFormatSetting_name, DisplayAdFormatSettingEnum_DisplayAdFormatSetting_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/display_ad_format_setting.proto", fileDescriptor_display_ad_format_setting_4e0440badaec0ae7) +} + +var fileDescriptor_display_ad_format_setting_4e0440badaec0ae7 = []byte{ + // 291 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b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1c, 0x00, 0x1c, 0xe1, 0x1c, 0xa3, 0x45, 0x98, 0xfa, + 0xd6, 0xc0, 0x06, 0x60, 0xb8, 0xcd, 0xa7, 0xde, 0xaf, 0x01, 0x6e, 0x56, 0xbc, 0x86, 0x47, 0x2f, + 0xf5, 0xae, 0x0f, 0x1f, 0x12, 0xcb, 0x57, 0xc6, 0xc6, 0xab, 0xb7, 0xb5, 0x19, 0xaf, 0x48, 0xc3, + 0x20, 0xef, 0x98, 0xc3, 0x8a, 0x46, 0x6d, 0xb0, 0x9b, 0xad, 0x2d, 0xc5, 0x3f, 0x2b, 0xde, 0xa9, + 0xef, 0x97, 0x39, 0x98, 0x21, 0xf4, 0x6d, 0x8e, 0x67, 0xba, 0x0a, 0x51, 0x01, 0x75, 0x94, 0x29, + 0x75, 0xa1, 0x9c, 0x44, 0xfc, 0xec, 0x78, 0x86, 0xa8, 0xc8, 0xf6, 0x3c, 0x4b, 0xdd, 0x4c, 0xf1, + 0xb7, 0xa1, 0xfa, 0xe9, 0xed, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x9a, 0x0f, 0xb8, 0xb9, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/education_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/education_placeholder_field.pb.go new file mode 100644 index 000000000..85c03ed74 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/education_placeholder_field.pb.go @@ -0,0 +1,203 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/education_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Education placeholder fields. +type EducationPlaceholderFieldEnum_EducationPlaceholderField int32 + +const ( + // Not specified. + EducationPlaceholderFieldEnum_UNSPECIFIED EducationPlaceholderFieldEnum_EducationPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + EducationPlaceholderFieldEnum_UNKNOWN EducationPlaceholderFieldEnum_EducationPlaceholderField = 1 + // Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID + // must be unique per offer. + EducationPlaceholderFieldEnum_PROGRAM_ID EducationPlaceholderFieldEnum_EducationPlaceholderField = 2 + // Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be + // unique per offer. + EducationPlaceholderFieldEnum_LOCATION_ID EducationPlaceholderFieldEnum_EducationPlaceholderField = 3 + // Data Type: STRING. Required. Main headline with program name to be shown + // in dynamic ad. + EducationPlaceholderFieldEnum_PROGRAM_NAME EducationPlaceholderFieldEnum_EducationPlaceholderField = 4 + // Data Type: STRING. Area of study that can be shown in dynamic ad. + EducationPlaceholderFieldEnum_AREA_OF_STUDY EducationPlaceholderFieldEnum_EducationPlaceholderField = 5 + // Data Type: STRING. Description of program that can be shown in dynamic + // ad. + EducationPlaceholderFieldEnum_PROGRAM_DESCRIPTION EducationPlaceholderFieldEnum_EducationPlaceholderField = 6 + // Data Type: STRING. Name of school that can be shown in dynamic ad. + EducationPlaceholderFieldEnum_SCHOOL_NAME EducationPlaceholderFieldEnum_EducationPlaceholderField = 7 + // Data Type: STRING. Complete school address, including postal code. + EducationPlaceholderFieldEnum_ADDRESS EducationPlaceholderFieldEnum_EducationPlaceholderField = 8 + // Data Type: URL. Image to be displayed in ads. + EducationPlaceholderFieldEnum_THUMBNAIL_IMAGE_URL EducationPlaceholderFieldEnum_EducationPlaceholderField = 9 + // Data Type: URL. Alternative hosted file of image to be used in the ad. + EducationPlaceholderFieldEnum_ALTERNATIVE_THUMBNAIL_IMAGE_URL EducationPlaceholderFieldEnum_EducationPlaceholderField = 10 + // Data Type: URL_LIST. Required. Final URLs to be used in ad when using + // Upgraded URLs; the more specific the better (e.g. the individual URL of a + // specific program and its location). + EducationPlaceholderFieldEnum_FINAL_URLS EducationPlaceholderFieldEnum_EducationPlaceholderField = 11 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + EducationPlaceholderFieldEnum_FINAL_MOBILE_URLS EducationPlaceholderFieldEnum_EducationPlaceholderField = 12 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + EducationPlaceholderFieldEnum_TRACKING_URL EducationPlaceholderFieldEnum_EducationPlaceholderField = 13 + // Data Type: STRING_LIST. Keywords used for product retrieval. + EducationPlaceholderFieldEnum_CONTEXTUAL_KEYWORDS EducationPlaceholderFieldEnum_EducationPlaceholderField = 14 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + EducationPlaceholderFieldEnum_ANDROID_APP_LINK EducationPlaceholderFieldEnum_EducationPlaceholderField = 15 + // Data Type: STRING_LIST. List of recommended program IDs to show together + // with this item. + EducationPlaceholderFieldEnum_SIMILAR_PROGRAM_IDS EducationPlaceholderFieldEnum_EducationPlaceholderField = 16 + // Data Type: STRING. iOS app link. + EducationPlaceholderFieldEnum_IOS_APP_LINK EducationPlaceholderFieldEnum_EducationPlaceholderField = 17 + // Data Type: INT64. iOS app store ID. + EducationPlaceholderFieldEnum_IOS_APP_STORE_ID EducationPlaceholderFieldEnum_EducationPlaceholderField = 18 +) + +var EducationPlaceholderFieldEnum_EducationPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PROGRAM_ID", + 3: "LOCATION_ID", + 4: "PROGRAM_NAME", + 5: "AREA_OF_STUDY", + 6: "PROGRAM_DESCRIPTION", + 7: "SCHOOL_NAME", + 8: "ADDRESS", + 9: "THUMBNAIL_IMAGE_URL", + 10: "ALTERNATIVE_THUMBNAIL_IMAGE_URL", + 11: "FINAL_URLS", + 12: "FINAL_MOBILE_URLS", + 13: "TRACKING_URL", + 14: "CONTEXTUAL_KEYWORDS", + 15: "ANDROID_APP_LINK", + 16: "SIMILAR_PROGRAM_IDS", + 17: "IOS_APP_LINK", + 18: "IOS_APP_STORE_ID", +} +var EducationPlaceholderFieldEnum_EducationPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PROGRAM_ID": 2, + "LOCATION_ID": 3, + "PROGRAM_NAME": 4, + "AREA_OF_STUDY": 5, + "PROGRAM_DESCRIPTION": 6, + "SCHOOL_NAME": 7, + "ADDRESS": 8, + "THUMBNAIL_IMAGE_URL": 9, + "ALTERNATIVE_THUMBNAIL_IMAGE_URL": 10, + "FINAL_URLS": 11, + "FINAL_MOBILE_URLS": 12, + "TRACKING_URL": 13, + "CONTEXTUAL_KEYWORDS": 14, + "ANDROID_APP_LINK": 15, + "SIMILAR_PROGRAM_IDS": 16, + "IOS_APP_LINK": 17, + "IOS_APP_STORE_ID": 18, +} + +func (x EducationPlaceholderFieldEnum_EducationPlaceholderField) String() string { + return proto.EnumName(EducationPlaceholderFieldEnum_EducationPlaceholderField_name, int32(x)) +} +func (EducationPlaceholderFieldEnum_EducationPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_education_placeholder_field_d137ac4ba72ea1ae, []int{0, 0} +} + +// Values for Education placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type EducationPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EducationPlaceholderFieldEnum) Reset() { *m = EducationPlaceholderFieldEnum{} } +func (m *EducationPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*EducationPlaceholderFieldEnum) ProtoMessage() {} +func (*EducationPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_education_placeholder_field_d137ac4ba72ea1ae, []int{0} +} +func (m *EducationPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EducationPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *EducationPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EducationPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *EducationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_EducationPlaceholderFieldEnum.Merge(dst, src) +} +func (m *EducationPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_EducationPlaceholderFieldEnum.Size(m) +} +func (m *EducationPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_EducationPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_EducationPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*EducationPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.EducationPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField", EducationPlaceholderFieldEnum_EducationPlaceholderField_name, EducationPlaceholderFieldEnum_EducationPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/education_placeholder_field.proto", fileDescriptor_education_placeholder_field_d137ac4ba72ea1ae) +} + +var fileDescriptor_education_placeholder_field_d137ac4ba72ea1ae = []byte{ + // 477 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x8e, 0xd3, 0x30, + 0x10, 0xc6, 0xd9, 0x16, 0x76, 0xc1, 0xdd, 0x3f, 0xae, 0x01, 0x21, 0x0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0xb8, 0xc2, 0xc0, 0xda, 0x24, 0x38, 0xfa, 0x34, 0xfe, 0x0b, + 0xc8, 0xca, 0x3c, 0x2e, 0x32, 0xa7, 0xdc, 0x66, 0xc3, 0x2c, 0x2d, 0x6a, 0x13, 0xb5, 0xce, 0xdb, + 0xac, 0xaa, 0x03, 0x46, 0x7c, 0x5f, 0x7f, 0xbf, 0x77, 0xba, 0x53, 0x80, 0x1f, 0x9d, 0xc1, 0xb4, + 0x41, 0x41, 0x52, 0x39, 0x4d, 0x68, 0xa3, 0xf9, 0xc8, 0xb1, 0x86, 0xaa, 0x7e, 0xb5, 0xf5, 0x05, + 0x24, 0xd5, 0xe2, 0xbe, 0xbe, 0x98, 0x8f, 0x16, 0x75, 0xfd, 0xf3, 0x71, 0x3d, 0xf4, 0xdd, 0x9f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x8b, 0x0c, 0x41, 0xfc, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_attribute_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_attribute_type.pb.go new file mode 100644 index 000000000..6a68f1909 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_attribute_type.pb.go @@ -0,0 +1,165 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_attribute_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible data types for a feed attribute. +type FeedAttributeTypeEnum_FeedAttributeType int32 + +const ( + // Not specified. + FeedAttributeTypeEnum_UNSPECIFIED FeedAttributeTypeEnum_FeedAttributeType = 0 + // Used for return value only. Represents value unknown in this version. + FeedAttributeTypeEnum_UNKNOWN FeedAttributeTypeEnum_FeedAttributeType = 1 + // Int64. + FeedAttributeTypeEnum_INT64 FeedAttributeTypeEnum_FeedAttributeType = 2 + // Double. + FeedAttributeTypeEnum_DOUBLE FeedAttributeTypeEnum_FeedAttributeType = 3 + // String. + FeedAttributeTypeEnum_STRING FeedAttributeTypeEnum_FeedAttributeType = 4 + // Boolean. + FeedAttributeTypeEnum_BOOLEAN FeedAttributeTypeEnum_FeedAttributeType = 5 + // Url. + FeedAttributeTypeEnum_URL FeedAttributeTypeEnum_FeedAttributeType = 6 + // Datetime. + FeedAttributeTypeEnum_DATE_TIME FeedAttributeTypeEnum_FeedAttributeType = 7 + // Int64 list. + FeedAttributeTypeEnum_INT64_LIST FeedAttributeTypeEnum_FeedAttributeType = 8 + // Double (8 bytes) list. + FeedAttributeTypeEnum_DOUBLE_LIST FeedAttributeTypeEnum_FeedAttributeType = 9 + // String list. + FeedAttributeTypeEnum_STRING_LIST FeedAttributeTypeEnum_FeedAttributeType = 10 + // Boolean list. + FeedAttributeTypeEnum_BOOLEAN_LIST FeedAttributeTypeEnum_FeedAttributeType = 11 + // Url list. + FeedAttributeTypeEnum_URL_LIST FeedAttributeTypeEnum_FeedAttributeType = 12 + // Datetime list. + FeedAttributeTypeEnum_DATE_TIME_LIST FeedAttributeTypeEnum_FeedAttributeType = 13 + // Price. + FeedAttributeTypeEnum_PRICE FeedAttributeTypeEnum_FeedAttributeType = 14 +) + +var FeedAttributeTypeEnum_FeedAttributeType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INT64", + 3: "DOUBLE", + 4: "STRING", + 5: "BOOLEAN", + 6: "URL", + 7: "DATE_TIME", + 8: "INT64_LIST", + 9: "DOUBLE_LIST", + 10: "STRING_LIST", + 11: "BOOLEAN_LIST", + 12: "URL_LIST", + 13: "DATE_TIME_LIST", + 14: "PRICE", +} +var FeedAttributeTypeEnum_FeedAttributeType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INT64": 2, + "DOUBLE": 3, + "STRING": 4, + "BOOLEAN": 5, + "URL": 6, + "DATE_TIME": 7, + "INT64_LIST": 8, + "DOUBLE_LIST": 9, + "STRING_LIST": 10, + "BOOLEAN_LIST": 11, + "URL_LIST": 12, + "DATE_TIME_LIST": 13, + "PRICE": 14, +} + +func (x FeedAttributeTypeEnum_FeedAttributeType) String() string { + return proto.EnumName(FeedAttributeTypeEnum_FeedAttributeType_name, int32(x)) +} +func (FeedAttributeTypeEnum_FeedAttributeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_attribute_type_f28cb50283557059, []int{0, 0} +} + +// Container for enum describing possible data types for a feed attribute. +type FeedAttributeTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedAttributeTypeEnum) Reset() { *m = FeedAttributeTypeEnum{} } +func (m *FeedAttributeTypeEnum) String() string { return proto.CompactTextString(m) } +func (*FeedAttributeTypeEnum) ProtoMessage() {} +func (*FeedAttributeTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_attribute_type_f28cb50283557059, []int{0} +} +func (m *FeedAttributeTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedAttributeTypeEnum.Unmarshal(m, b) +} +func (m *FeedAttributeTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedAttributeTypeEnum.Marshal(b, m, deterministic) +} +func (dst *FeedAttributeTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedAttributeTypeEnum.Merge(dst, src) +} +func (m *FeedAttributeTypeEnum) XXX_Size() int { + return xxx_messageInfo_FeedAttributeTypeEnum.Size(m) +} +func (m *FeedAttributeTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedAttributeTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedAttributeTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedAttributeTypeEnum)(nil), "google.ads.googleads.v0.enums.FeedAttributeTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedAttributeTypeEnum_FeedAttributeType", FeedAttributeTypeEnum_FeedAttributeType_name, FeedAttributeTypeEnum_FeedAttributeType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_attribute_type.proto", fileDescriptor_feed_attribute_type_f28cb50283557059) +} + +var fileDescriptor_feed_attribute_type_f28cb50283557059 = []byte{ + // 369 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x6a, 0xab, 0x40, + 0x18, 0xbd, 0x9a, 0x9b, 0xbf, 0x2f, 0x3f, 0x77, 0xee, 0xc0, 0xbd, 0xbb, 0x2c, 0x9a, 0x07, 0x18, + 0x85, 0x96, 0x76, 0xd1, 0x95, 0x26, 0x93, 0x20, 0xb5, 0x2a, 0x46, 0x53, 0x28, 0x82, 0x98, 0x3a, + 0x95, 0x40, 0xa2, 0x12, 0x4d, 0x20, 0xfb, 0x3e, 0x49, 0x97, 0x7d, 0x91, 0x42, 0x1f, 0xa5, 0x4f, + 0x51, 0xc6, 0x49, 0xb2, 0x09, 0xed, 0x46, 0x8e, 0xe7, 0x7c, 0xe7, 0x7c, 0xc3, 0x77, 0xe0, 0x26, + 0xc9, 0xb2, 0x64, 0xc5, 0x94, 0x28, 0x2e, 0x14, 0x01, 0x39, 0xda, 0xa9, 0x0a, 0x4b, 0xb7, 0xeb, + 0x42, 0x79, 0x66, 0x2c, 0x0e, 0xa3, 0xb2, 0xdc, 0x2c, 0x17, 0xdb, 0x92, 0x85, 0xe5, 0x3e, 0x67, + 0x24, 0xd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0f, 0xc6, 0x24, 0x5b, 0x45, 0x69, 0x42, 0xb2, 0x4d, 0xa2, + 0x24, 0x2c, 0xad, 0x1a, 0x38, 0xd6, 0x95, 0x2f, 0x8b, 0x6f, 0xda, 0xbb, 0xad, 0xbe, 0xaf, 0x72, + 0x6d, 0xaa, 0x69, 0x6f, 0xf2, 0x60, 0x2a, 0xa2, 0xb4, 0xb8, 0x20, 0x02, 0x72, 0x34, 0x57, 0x09, + 0x6f, 0xa5, 0xf8, 0x38, 0xea, 0x81, 0x16, 0x17, 0xc1, 0x49, 0x0f, 0xe6, 0x6a, 0x50, 0xe9, 0x8b, + 0x46, 0xb5, 0xf4, 0xf2, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xaa, 0xb4, 0xcc, 0xb0, 0x31, 0x02, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_item_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_item_status.pb.go new file mode 100644 index 000000000..894bdd575 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_item_status.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_item_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a feed item. +type FeedItemStatusEnum_FeedItemStatus int32 + +const ( + // Not specified. + FeedItemStatusEnum_UNSPECIFIED FeedItemStatusEnum_FeedItemStatus = 0 + // Used for return value only. Represents value unknown in this version. + FeedItemStatusEnum_UNKNOWN FeedItemStatusEnum_FeedItemStatus = 1 + // Feed item is enabled. + FeedItemStatusEnum_ENABLED FeedItemStatusEnum_FeedItemStatus = 2 + // Feed item has been removed. + FeedItemStatusEnum_REMOVED FeedItemStatusEnum_FeedItemStatus = 3 +) + +var FeedItemStatusEnum_FeedItemStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var FeedItemStatusEnum_FeedItemStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x FeedItemStatusEnum_FeedItemStatus) String() string { + return proto.EnumName(FeedItemStatusEnum_FeedItemStatus_name, int32(x)) +} +func (FeedItemStatusEnum_FeedItemStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_item_status_fb1ba51d1ba4287a, []int{0, 0} +} + +// Container for enum describing possible statuses of a feed item. +type FeedItemStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedItemStatusEnum) Reset() { *m = FeedItemStatusEnum{} } +func (m *FeedItemStatusEnum) String() string { return proto.CompactTextString(m) } +func (*FeedItemStatusEnum) ProtoMessage() {} +func (*FeedItemStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_status_fb1ba51d1ba4287a, []int{0} +} +func (m *FeedItemStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedItemStatusEnum.Unmarshal(m, b) +} +func (m *FeedItemStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedItemStatusEnum.Marshal(b, m, deterministic) +} +func (dst *FeedItemStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedItemStatusEnum.Merge(dst, src) +} +func (m *FeedItemStatusEnum) XXX_Size() int { + return xxx_messageInfo_FeedItemStatusEnum.Size(m) +} +func (m *FeedItemStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedItemStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedItemStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedItemStatusEnum)(nil), "google.ads.googleads.v0.enums.FeedItemStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedItemStatusEnum_FeedItemStatus", FeedItemStatusEnum_FeedItemStatus_name, FeedItemStatusEnum_FeedItemStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_item_status.proto", fileDescriptor_feed_item_status_fb1ba51d1ba4287a) +} + +var fileDescriptor_feed_item_status_fb1ba51d1ba4287a = []byte{ + // 264 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xb4, 0xd4, 0xd4, 0x94, 0xf8, 0xcc, 0x92, 0xd4, 0xdc, 0xf8, 0xe2, 0x92, + 0xc4, 0x92, 0xd2, 0x62, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x52, 0xbd, 0xc4, + 0x94, 0x62, 0x3d, 0xb8, 0x2e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x2e, 0xa5, 0x38, 0x2e, 0x21, 0xb7, + 0xd4, 0xd4, 0x14, 0xcf, 0x92, 0xd4, 0xdc, 0x60, 0xb0, 0x36, 0xd7, 0xbc, 0xd2, 0x5c, 0x25, 0x0f, + 0x2e, 0x3e, 0x54, 0x51, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, + 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, + 0x01, 0x46, 0x10, 0xc7, 0xd5, 0xcf, 0xd1, 0xc9, 0xc7, 0xd5, 0x45, 0x80, 0x09, 0xc4, 0x09, 0x72, + 0xf5, 0xf5, 0x0f, 0x73, 0x75, 0x11, 0x60, 0x76, 0x3a, 0xc2, 0xc8, 0xa5, 0x98, 0x9c, 0x9f, 0xab, + 0x87, 0xd7, 0x15, 0x4e, 0xc2, 0xa8, 0xb6, 0x05, 0x80, 0x5c, 0x1e, 0xc0, 0x18, 0xe5, 0x04, 0xd5, + 0x95, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0xf6, + 0x17, 0x2c, 0x04, 0x0a, 0x32, 0x8b, 0x71, 0x04, 0x88, 0x35, 0x98, 0x5c, 0xc4, 0xc4, 0xec, 0xee, + 0xe8, 0xb8, 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, + 0x19, 0xe8, 0x81, 0xfc, 0x5b, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, + 0x09, 0x33, 0x88, 0x01, 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x86, 0xa7, 0xa3, 0xa7, 0x84, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_link_status.pb.go new file mode 100644 index 000000000..c5f30086d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_link_status.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_link_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a feed link. +type FeedLinkStatusEnum_FeedLinkStatus int32 + +const ( + // Not specified. + FeedLinkStatusEnum_UNSPECIFIED FeedLinkStatusEnum_FeedLinkStatus = 0 + // Used for return value only. Represents value unknown in this version. + FeedLinkStatusEnum_UNKNOWN FeedLinkStatusEnum_FeedLinkStatus = 1 + // Feed link is enabled. + FeedLinkStatusEnum_ENABLED FeedLinkStatusEnum_FeedLinkStatus = 2 + // Feed link has been removed. + FeedLinkStatusEnum_REMOVED FeedLinkStatusEnum_FeedLinkStatus = 3 +) + +var FeedLinkStatusEnum_FeedLinkStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var FeedLinkStatusEnum_FeedLinkStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x FeedLinkStatusEnum_FeedLinkStatus) String() string { + return proto.EnumName(FeedLinkStatusEnum_FeedLinkStatus_name, int32(x)) +} +func (FeedLinkStatusEnum_FeedLinkStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_link_status_46af2d1278b1086e, []int{0, 0} +} + +// Container for an enum describing possible statuses of a feed link. +type FeedLinkStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedLinkStatusEnum) Reset() { *m = FeedLinkStatusEnum{} } +func (m *FeedLinkStatusEnum) String() string { return proto.CompactTextString(m) } +func (*FeedLinkStatusEnum) ProtoMessage() {} +func (*FeedLinkStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_link_status_46af2d1278b1086e, []int{0} +} +func (m *FeedLinkStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedLinkStatusEnum.Unmarshal(m, b) +} +func (m *FeedLinkStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedLinkStatusEnum.Marshal(b, m, deterministic) +} +func (dst *FeedLinkStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedLinkStatusEnum.Merge(dst, src) +} +func (m *FeedLinkStatusEnum) XXX_Size() int { + return xxx_messageInfo_FeedLinkStatusEnum.Size(m) +} +func (m *FeedLinkStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedLinkStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedLinkStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedLinkStatusEnum)(nil), "google.ads.googleads.v0.enums.FeedLinkStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedLinkStatusEnum_FeedLinkStatus", FeedLinkStatusEnum_FeedLinkStatus_name, FeedLinkStatusEnum_FeedLinkStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_link_status.proto", fileDescriptor_feed_link_status_46af2d1278b1086e) +} + +var fileDescriptor_feed_link_status_46af2d1278b1086e = []byte{ + // 264 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 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0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, + 0x19, 0xe8, 0x81, 0xfc, 0x5b, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, + 0x09, 0x33, 0x88, 0x01, 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x4d, 0x2b, 0x63, 0x50, 0x84, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_criterion_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_criterion_type.pb.go new file mode 100644 index 000000000..0e8be2c3f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_criterion_type.pb.go @@ -0,0 +1,117 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_mapping_criterion_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible placeholder types for a feed mapping. +type FeedMappingCriterionTypeEnum_FeedMappingCriterionType int32 + +const ( + // Not specified. + FeedMappingCriterionTypeEnum_UNSPECIFIED FeedMappingCriterionTypeEnum_FeedMappingCriterionType = 0 + // Used for return value only. Represents value unknown in this version. + FeedMappingCriterionTypeEnum_UNKNOWN FeedMappingCriterionTypeEnum_FeedMappingCriterionType = 1 + // Allows campaign targeting at locations within a location feed. + FeedMappingCriterionTypeEnum_CAMPAIGN_LOCATION_TARGETS FeedMappingCriterionTypeEnum_FeedMappingCriterionType = 2 + // Allows url targeting for your dynamic search ads within a page feed. + FeedMappingCriterionTypeEnum_DSA_PAGE_FEED FeedMappingCriterionTypeEnum_FeedMappingCriterionType = 3 +) + +var FeedMappingCriterionTypeEnum_FeedMappingCriterionType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CAMPAIGN_LOCATION_TARGETS", + 3: "DSA_PAGE_FEED", +} +var FeedMappingCriterionTypeEnum_FeedMappingCriterionType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CAMPAIGN_LOCATION_TARGETS": 2, + "DSA_PAGE_FEED": 3, +} + +func (x FeedMappingCriterionTypeEnum_FeedMappingCriterionType) String() string { + return proto.EnumName(FeedMappingCriterionTypeEnum_FeedMappingCriterionType_name, int32(x)) +} +func (FeedMappingCriterionTypeEnum_FeedMappingCriterionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_criterion_type_93ad8a18e2c6175b, []int{0, 0} +} + +// Container for enum describing possible criterion types for a feed mapping. +type FeedMappingCriterionTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedMappingCriterionTypeEnum) Reset() { *m = FeedMappingCriterionTypeEnum{} } +func (m *FeedMappingCriterionTypeEnum) String() string { return proto.CompactTextString(m) } +func (*FeedMappingCriterionTypeEnum) ProtoMessage() {} +func (*FeedMappingCriterionTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_criterion_type_93ad8a18e2c6175b, []int{0} +} +func (m *FeedMappingCriterionTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedMappingCriterionTypeEnum.Unmarshal(m, b) +} +func (m *FeedMappingCriterionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedMappingCriterionTypeEnum.Marshal(b, m, deterministic) +} +func (dst *FeedMappingCriterionTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedMappingCriterionTypeEnum.Merge(dst, src) +} +func (m *FeedMappingCriterionTypeEnum) XXX_Size() int { + return xxx_messageInfo_FeedMappingCriterionTypeEnum.Size(m) +} +func (m *FeedMappingCriterionTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedMappingCriterionTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedMappingCriterionTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedMappingCriterionTypeEnum)(nil), "google.ads.googleads.v0.enums.FeedMappingCriterionTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType", FeedMappingCriterionTypeEnum_FeedMappingCriterionType_name, FeedMappingCriterionTypeEnum_FeedMappingCriterionType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_mapping_criterion_type.proto", fileDescriptor_feed_mapping_criterion_type_93ad8a18e2c6175b) +} + +var fileDescriptor_feed_mapping_criterion_type_93ad8a18e2c6175b = []byte{ + // 306 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, + 0x18, 0x86, 0xff, 0x6e, 0xf0, 0x0b, 0x19, 0x62, 0xed, 0x91, 0x82, 0x3d, 0x70, 0x17, 0x90, 0x16, + 0x3c, 0xf4, 0x40, 0xb2, 0x2e, 0x2b, 0x45, 0x97, 0x15, 0xd7, 0x4d, 0x90, 0x42, 0xa8, 0x4b, 0x0c, + 0x95, 0x35, 0x09, 0x4d, 0x37, 0xd8, 0x2d, 0x78, 0x19, 0x1e, 0x7a, 0x29, 0x1e, 0x78, 0x4d, 0xd2, + 0xd6, 0xee, 0xac, 0x9e, 0x84, 0x17, 0x5e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f3, 0x7e, + 0x0c, 0x86, 0x21, 0x42, 0x9f, 0x03, 0x37, 0x6c, 0x51, 0x88, 0x19, 0xd8, 0xc6, 0x3a, 0xad, 0x7d, + 0x58, 0xbb, 0x31, 0x5f, 0x5d, 0x9f, 0x22, 0x66, 0xd2, 0x63, 0x9f, 0xae, 0xfd, 0xb4, 0xe9, 0x5f, + 0xfe, 0x37, 0x9f, 0xde, 0xfc, 0x04, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xc4, 0xa2, 0x02, 0xc6, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_status.pb.go new file mode 100644 index 000000000..ea5d396c6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_mapping_status.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_mapping_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a feed mapping. +type FeedMappingStatusEnum_FeedMappingStatus int32 + +const ( + // Not specified. + FeedMappingStatusEnum_UNSPECIFIED FeedMappingStatusEnum_FeedMappingStatus = 0 + // Used for return value only. Represents value unknown in this version. + FeedMappingStatusEnum_UNKNOWN FeedMappingStatusEnum_FeedMappingStatus = 1 + // Feed mapping is enabled. + FeedMappingStatusEnum_ENABLED FeedMappingStatusEnum_FeedMappingStatus = 2 + // Feed mapping has been removed. + FeedMappingStatusEnum_REMOVED FeedMappingStatusEnum_FeedMappingStatus = 3 +) + +var FeedMappingStatusEnum_FeedMappingStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var FeedMappingStatusEnum_FeedMappingStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x FeedMappingStatusEnum_FeedMappingStatus) String() string { + return proto.EnumName(FeedMappingStatusEnum_FeedMappingStatus_name, int32(x)) +} +func (FeedMappingStatusEnum_FeedMappingStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_status_654747732e989e69, []int{0, 0} +} + +// Container for enum describing possible statuses of a feed mapping. +type FeedMappingStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedMappingStatusEnum) Reset() { *m = FeedMappingStatusEnum{} } +func (m *FeedMappingStatusEnum) String() string { return proto.CompactTextString(m) } +func (*FeedMappingStatusEnum) ProtoMessage() {} +func (*FeedMappingStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_status_654747732e989e69, []int{0} +} +func (m *FeedMappingStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedMappingStatusEnum.Unmarshal(m, b) +} +func (m *FeedMappingStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedMappingStatusEnum.Marshal(b, m, deterministic) +} +func (dst *FeedMappingStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedMappingStatusEnum.Merge(dst, src) +} +func (m *FeedMappingStatusEnum) XXX_Size() int { + return xxx_messageInfo_FeedMappingStatusEnum.Size(m) +} +func (m *FeedMappingStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedMappingStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedMappingStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedMappingStatusEnum)(nil), "google.ads.googleads.v0.enums.FeedMappingStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedMappingStatusEnum_FeedMappingStatus", FeedMappingStatusEnum_FeedMappingStatus_name, FeedMappingStatusEnum_FeedMappingStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_mapping_status.proto", fileDescriptor_feed_mapping_status_654747732e989e69) +} + +var fileDescriptor_feed_mapping_status_654747732e989e69 = []byte{ + // 266 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xb4, 0xd4, 0xd4, 0x94, 0xf8, 0xdc, 0xc4, 0x82, 0x82, 0xcc, 0xbc, 0xf4, + 0xf8, 0xe2, 0x92, 0xc4, 0x92, 0xd2, 0x62, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, + 0x6a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x46, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x46, 0xa5, 0x14, + 0x2e, 0x51, 0xb7, 0xd4, 0xd4, 0x14, 0x5f, 0x88, 0xd6, 0x60, 0xb0, 0x4e, 0xd7, 0xbc, 0xd2, 0x5c, + 0x25, 0x6f, 0x2e, 0x41, 0x0c, 0x09, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, + 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, + 0x70, 0x3f, 0x01, 0x46, 0x10, 0xc7, 0xd5, 0xcf, 0xd1, 0xc9, 0xc7, 0xd5, 0x45, 0x80, 0x09, 0xc4, + 0x09, 0x72, 0xf5, 0xf5, 0x0f, 0x73, 0x75, 0x11, 0x60, 0x76, 0x3a, 0xce, 0xc8, 0xa5, 0x98, 0x9c, + 0x9f, 0xab, 0x87, 0xd7, 0x2d, 0x4e, 0x62, 0x18, 0x16, 0x06, 0x80, 0xbc, 0x10, 0xc0, 0x18, 0xe5, + 0x04, 0xd5, 0x98, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, + 0x07, 0xf6, 0x20, 0x2c, 0x34, 0x0a, 0x32, 0x8b, 0x71, 0x04, 0x8e, 0x35, 0x98, 0x5c, 0xc4, 0xc4, + 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, 0x1e, 0x84, 0x09, + 0x62, 0x85, 0x19, 0xe8, 0x81, 0x7c, 0x5d, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, + 0x97, 0x8f, 0x09, 0x33, 0x88, 0x01, 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, 0x00, 0x00, + 0xff, 0xff, 0x4f, 0x07, 0xd5, 0x76, 0x90, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_origin.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_origin.pb.go new file mode 100644 index 000000000..23fae1b74 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_origin.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_origin.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for a feed origin. +type FeedOriginEnum_FeedOrigin int32 + +const ( + // Not specified. + FeedOriginEnum_UNSPECIFIED FeedOriginEnum_FeedOrigin = 0 + // Used for return value only. Represents value unknown in this version. + FeedOriginEnum_UNKNOWN FeedOriginEnum_FeedOrigin = 1 + // The FeedAttributes for this Feed are managed by the + // user. Users can add FeedAttributes to this Feed. + FeedOriginEnum_USER FeedOriginEnum_FeedOrigin = 2 + // The FeedAttributes for an GOOGLE Feed are created by Google. A feed of + // this type is maintained by Google and will have the correct attributes + // for the placeholder type of the feed. + FeedOriginEnum_GOOGLE FeedOriginEnum_FeedOrigin = 3 +) + +var FeedOriginEnum_FeedOrigin_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "USER", + 3: "GOOGLE", +} +var FeedOriginEnum_FeedOrigin_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "USER": 2, + "GOOGLE": 3, +} + +func (x FeedOriginEnum_FeedOrigin) String() string { + return proto.EnumName(FeedOriginEnum_FeedOrigin_name, int32(x)) +} +func (FeedOriginEnum_FeedOrigin) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_origin_5aa9a66e5b46cb8f, []int{0, 0} +} + +// Container for enum describing possible values for a feed origin. +type FeedOriginEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedOriginEnum) Reset() { *m = FeedOriginEnum{} } +func (m *FeedOriginEnum) String() string { return proto.CompactTextString(m) } +func (*FeedOriginEnum) ProtoMessage() {} +func (*FeedOriginEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_origin_5aa9a66e5b46cb8f, []int{0} +} +func (m *FeedOriginEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedOriginEnum.Unmarshal(m, b) +} +func (m *FeedOriginEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedOriginEnum.Marshal(b, m, deterministic) +} +func (dst *FeedOriginEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedOriginEnum.Merge(dst, src) +} +func (m *FeedOriginEnum) XXX_Size() int { + return xxx_messageInfo_FeedOriginEnum.Size(m) +} +func (m *FeedOriginEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedOriginEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedOriginEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedOriginEnum)(nil), "google.ads.googleads.v0.enums.FeedOriginEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedOriginEnum_FeedOrigin", FeedOriginEnum_FeedOrigin_name, FeedOriginEnum_FeedOrigin_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_origin.proto", fileDescriptor_feed_origin_5aa9a66e5b46cb8f) +} + +var fileDescriptor_feed_origin_5aa9a66e5b46cb8f = []byte{ + // 254 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0x86, 0x32, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, 0xd2, + 0xdc, 0x62, 0xfd, 0xb4, 0xd4, 0xd4, 0x94, 0xf8, 0xfc, 0xa2, 0xcc, 0xf4, 0xcc, 0x3c, 0xbd, 0x82, + 0xa2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0x19, 0xc4, 0x80, 0xe5, 0x93, 0xd8, 0xc0, 0x96, 0x1a, + 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x41, 0xa0, 0x95, 0x7f, 0x6f, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_status.pb.go new file mode 100644 index 000000000..ec7938a07 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/feed_status.pb.go @@ -0,0 +1,113 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/feed_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a feed. +type FeedStatusEnum_FeedStatus int32 + +const ( + // Not specified. + FeedStatusEnum_UNSPECIFIED FeedStatusEnum_FeedStatus = 0 + // Used for return value only. Represents value unknown in this version. + FeedStatusEnum_UNKNOWN FeedStatusEnum_FeedStatus = 1 + // Feed is enabled. + FeedStatusEnum_ENABLED FeedStatusEnum_FeedStatus = 2 + // Feed has been removed. + FeedStatusEnum_REMOVED FeedStatusEnum_FeedStatus = 3 +) + +var FeedStatusEnum_FeedStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var FeedStatusEnum_FeedStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x FeedStatusEnum_FeedStatus) String() string { + return proto.EnumName(FeedStatusEnum_FeedStatus_name, int32(x)) +} +func (FeedStatusEnum_FeedStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_status_dd159d67991f6ccc, []int{0, 0} +} + +// Container for enum describing possible statuses of a feed. +type FeedStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedStatusEnum) Reset() { *m = FeedStatusEnum{} } +func (m *FeedStatusEnum) String() string { return proto.CompactTextString(m) } +func (*FeedStatusEnum) ProtoMessage() {} +func (*FeedStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_status_dd159d67991f6ccc, []int{0} +} +func (m *FeedStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedStatusEnum.Unmarshal(m, b) +} +func (m *FeedStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedStatusEnum.Marshal(b, m, deterministic) +} +func (dst *FeedStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedStatusEnum.Merge(dst, src) +} +func (m *FeedStatusEnum) XXX_Size() int { + return xxx_messageInfo_FeedStatusEnum.Size(m) +} +func (m *FeedStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedStatusEnum)(nil), "google.ads.googleads.v0.enums.FeedStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FeedStatusEnum_FeedStatus", FeedStatusEnum_FeedStatus_name, FeedStatusEnum_FeedStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/feed_status.proto", fileDescriptor_feed_status_dd159d67991f6ccc) +} + +var fileDescriptor_feed_status_dd159d67991f6ccc = []byte{ + // 253 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00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0x20, 0xb3, 0x18, 0x87, 0xff, 0xad, 0xc1, + 0xe4, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0xb2, 0xee, 0x10, 0xa3, 0x1c, 0x53, 0x8a, + 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0xe4, 0xcf, 0xe2, 0x53, 0x30, 0xf9, 0x18, 0xc7, + 0x94, 0xe2, 0x18, 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, 0x3e, 0x89, 0x0d, 0x6c, 0xa9, 0x31, + 0x20, 0x00, 0x00, 0xff, 0xff, 0x60, 0x36, 0x0a, 0x4e, 0x73, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/flight_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/flight_placeholder_field.pb.go new file mode 100644 index 000000000..d8c855cd7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/flight_placeholder_field.pb.go @@ -0,0 +1,209 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/flight_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Flight placeholder fields. +type FlightPlaceholderFieldEnum_FlightPlaceholderField int32 + +const ( + // Not specified. + FlightPlaceholderFieldEnum_UNSPECIFIED FlightPlaceholderFieldEnum_FlightPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + FlightPlaceholderFieldEnum_UNKNOWN FlightPlaceholderFieldEnum_FlightPlaceholderField = 1 + // Data Type: STRING. Required. Destination id. Example: PAR, LON. + // For feed items that only have destination id, destination id must be a + // unique key. For feed items that have both destination id and origin id, + // then the combination must be a unique key. + FlightPlaceholderFieldEnum_DESTINATION_ID FlightPlaceholderFieldEnum_FlightPlaceholderField = 2 + // Data Type: STRING. Origin id. Example: PAR, LON. + // Optional. Combination of destination id and origin id must be unique per + // offer. + FlightPlaceholderFieldEnum_ORIGIN_ID FlightPlaceholderFieldEnum_FlightPlaceholderField = 3 + // Data Type: STRING. Required. Main headline with product name to be shown + // in dynamic ad. + FlightPlaceholderFieldEnum_FLIGHT_DESCRIPTION FlightPlaceholderFieldEnum_FlightPlaceholderField = 4 + // Data Type: STRING. Shorter names are recommended. + FlightPlaceholderFieldEnum_ORIGIN_NAME FlightPlaceholderFieldEnum_FlightPlaceholderField = 5 + // Data Type: STRING. Shorter names are recommended. + FlightPlaceholderFieldEnum_DESTINATION_NAME FlightPlaceholderFieldEnum_FlightPlaceholderField = 6 + // Data Type: STRING. Price to be shown in the ad. + // Example: "100.00 USD" + FlightPlaceholderFieldEnum_FLIGHT_PRICE FlightPlaceholderFieldEnum_FlightPlaceholderField = 7 + // Data Type: STRING. Formatted price to be shown in the ad. + // Example: "Starting at $100.00 USD", "$80 - $100" + FlightPlaceholderFieldEnum_FORMATTED_PRICE FlightPlaceholderFieldEnum_FlightPlaceholderField = 8 + // Data Type: STRING. Sale price to be shown in the ad. + // Example: "80.00 USD" + FlightPlaceholderFieldEnum_FLIGHT_SALE_PRICE FlightPlaceholderFieldEnum_FlightPlaceholderField = 9 + // Data Type: STRING. Formatted sale price to be shown in the ad. + // Example: "On sale for $80.00", "$60 - $80" + FlightPlaceholderFieldEnum_FORMATTED_SALE_PRICE FlightPlaceholderFieldEnum_FlightPlaceholderField = 10 + // Data Type: URL. Image to be displayed in the ad. + FlightPlaceholderFieldEnum_IMAGE_URL FlightPlaceholderFieldEnum_FlightPlaceholderField = 11 + // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + // URLs. User will be redirected to these URLs when they click on an ad, or + // when they click on a specific flight for ads that show multiple + // flights. + FlightPlaceholderFieldEnum_FINAL_URLS FlightPlaceholderFieldEnum_FlightPlaceholderField = 12 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + FlightPlaceholderFieldEnum_FINAL_MOBILE_URLS FlightPlaceholderFieldEnum_FlightPlaceholderField = 13 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + FlightPlaceholderFieldEnum_TRACKING_URL FlightPlaceholderFieldEnum_FlightPlaceholderField = 14 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + FlightPlaceholderFieldEnum_ANDROID_APP_LINK FlightPlaceholderFieldEnum_FlightPlaceholderField = 15 + // Data Type: STRING_LIST. List of recommended destination IDs to show + // together with this item. + FlightPlaceholderFieldEnum_SIMILAR_DESTINATION_IDS FlightPlaceholderFieldEnum_FlightPlaceholderField = 16 + // Data Type: STRING. iOS app link. + FlightPlaceholderFieldEnum_IOS_APP_LINK FlightPlaceholderFieldEnum_FlightPlaceholderField = 17 + // Data Type: INT64. iOS app store ID. + FlightPlaceholderFieldEnum_IOS_APP_STORE_ID FlightPlaceholderFieldEnum_FlightPlaceholderField = 18 +) + +var FlightPlaceholderFieldEnum_FlightPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DESTINATION_ID", + 3: "ORIGIN_ID", + 4: "FLIGHT_DESCRIPTION", + 5: "ORIGIN_NAME", + 6: "DESTINATION_NAME", + 7: "FLIGHT_PRICE", + 8: "FORMATTED_PRICE", + 9: "FLIGHT_SALE_PRICE", + 10: "FORMATTED_SALE_PRICE", + 11: "IMAGE_URL", + 12: "FINAL_URLS", + 13: "FINAL_MOBILE_URLS", + 14: "TRACKING_URL", + 15: "ANDROID_APP_LINK", + 16: "SIMILAR_DESTINATION_IDS", + 17: "IOS_APP_LINK", + 18: "IOS_APP_STORE_ID", +} +var FlightPlaceholderFieldEnum_FlightPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DESTINATION_ID": 2, + "ORIGIN_ID": 3, + "FLIGHT_DESCRIPTION": 4, + "ORIGIN_NAME": 5, + "DESTINATION_NAME": 6, + "FLIGHT_PRICE": 7, + "FORMATTED_PRICE": 8, + "FLIGHT_SALE_PRICE": 9, + "FORMATTED_SALE_PRICE": 10, + "IMAGE_URL": 11, + "FINAL_URLS": 12, + "FINAL_MOBILE_URLS": 13, + "TRACKING_URL": 14, + "ANDROID_APP_LINK": 15, + "SIMILAR_DESTINATION_IDS": 16, + "IOS_APP_LINK": 17, + "IOS_APP_STORE_ID": 18, +} + +func (x FlightPlaceholderFieldEnum_FlightPlaceholderField) String() string { + return proto.EnumName(FlightPlaceholderFieldEnum_FlightPlaceholderField_name, int32(x)) +} +func (FlightPlaceholderFieldEnum_FlightPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_flight_placeholder_field_b2b97ba1cb854d8c, []int{0, 0} +} + +// Values for Flight placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type FlightPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FlightPlaceholderFieldEnum) Reset() { *m = FlightPlaceholderFieldEnum{} } +func (m *FlightPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*FlightPlaceholderFieldEnum) ProtoMessage() {} +func (*FlightPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_flight_placeholder_field_b2b97ba1cb854d8c, []int{0} +} +func (m *FlightPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlightPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *FlightPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlightPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *FlightPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlightPlaceholderFieldEnum.Merge(dst, src) +} +func (m *FlightPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_FlightPlaceholderFieldEnum.Size(m) +} +func (m *FlightPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FlightPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FlightPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FlightPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.FlightPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField", FlightPlaceholderFieldEnum_FlightPlaceholderField_name, FlightPlaceholderFieldEnum_FlightPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/flight_placeholder_field.proto", fileDescriptor_flight_placeholder_field_b2b97ba1cb854d8c) +} + +var fileDescriptor_flight_placeholder_field_b2b97ba1cb854d8c = []byte{ + // 459 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0x26, 0x09, 0xb4, 0x74, 0xd2, 0x26, 0xdb, 0xa5, 0x14, 0x04, 0xf4, 0x40, 0x1f, 0xc0, 0x8e, + 0xc4, 0x11, 0x2e, 0x9b, 0x78, 0x6d, 0x46, 0xb1, 0xd7, 0xd6, 0xae, 0x53, 0x24, 0x14, 0xc9, 0x0a, + 0xb5, 0xeb, 0x46, 0x72, 0xe2, 0x28, 0x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b, 0x2b, 0xab, 0x2e, 0x75, 0x75, 0x31, 0xb0, 0x74, 0x88, 0xaa, 0x9f, 0x1b, 0x7c, 0xca, 0xd2, + 0x6a, 0x7a, 0x8f, 0x4f, 0x2f, 0x06, 0x53, 0x83, 0x7f, 0xd9, 0x33, 0x3f, 0x7d, 0xf7, 0x3b, 0x00, + 0x00, 0xff, 0xff, 0xad, 0x22, 0x49, 0x9f, 0xea, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_event_type.pb.go new file mode 100644 index 000000000..569600efa --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_event_type.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/frequency_cap_event_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of event that the cap applies to (e.g. impression). +type FrequencyCapEventTypeEnum_FrequencyCapEventType int32 + +const ( + // Not specified. + FrequencyCapEventTypeEnum_UNSPECIFIED FrequencyCapEventTypeEnum_FrequencyCapEventType = 0 + // Used for return value only. Represents value unknown in this version. + FrequencyCapEventTypeEnum_UNKNOWN FrequencyCapEventTypeEnum_FrequencyCapEventType = 1 + // The cap applies on ad impressions. + FrequencyCapEventTypeEnum_IMPRESSION FrequencyCapEventTypeEnum_FrequencyCapEventType = 2 + // The cap applies on video ad views. + FrequencyCapEventTypeEnum_VIDEO_VIEW FrequencyCapEventTypeEnum_FrequencyCapEventType = 3 +) + +var FrequencyCapEventTypeEnum_FrequencyCapEventType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "IMPRESSION", + 3: "VIDEO_VIEW", +} +var FrequencyCapEventTypeEnum_FrequencyCapEventType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "IMPRESSION": 2, + "VIDEO_VIEW": 3, +} + +func (x FrequencyCapEventTypeEnum_FrequencyCapEventType) String() string { + return proto.EnumName(FrequencyCapEventTypeEnum_FrequencyCapEventType_name, int32(x)) +} +func (FrequencyCapEventTypeEnum_FrequencyCapEventType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_event_type_c321322f57b41e88, []int{0, 0} +} + +// Container for enum describing the type of event that the cap applies to. +type FrequencyCapEventTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrequencyCapEventTypeEnum) Reset() { *m = FrequencyCapEventTypeEnum{} } +func (m *FrequencyCapEventTypeEnum) String() string { return proto.CompactTextString(m) } +func (*FrequencyCapEventTypeEnum) ProtoMessage() {} +func (*FrequencyCapEventTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_event_type_c321322f57b41e88, []int{0} +} +func (m *FrequencyCapEventTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrequencyCapEventTypeEnum.Unmarshal(m, b) +} +func (m *FrequencyCapEventTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrequencyCapEventTypeEnum.Marshal(b, m, deterministic) +} +func (dst *FrequencyCapEventTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrequencyCapEventTypeEnum.Merge(dst, src) +} +func (m *FrequencyCapEventTypeEnum) XXX_Size() int { + return xxx_messageInfo_FrequencyCapEventTypeEnum.Size(m) +} +func (m *FrequencyCapEventTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FrequencyCapEventTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FrequencyCapEventTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FrequencyCapEventTypeEnum)(nil), "google.ads.googleads.v0.enums.FrequencyCapEventTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FrequencyCapEventTypeEnum_FrequencyCapEventType", FrequencyCapEventTypeEnum_FrequencyCapEventType_name, FrequencyCapEventTypeEnum_FrequencyCapEventType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/frequency_cap_event_type.proto", fileDescriptor_frequency_cap_event_type_c321322f57b41e88) +} + +var fileDescriptor_frequency_cap_event_type_c321322f57b41e88 = []byte{ + // 283 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xb4, 0xa2, 0xd4, 0xc2, 0xd2, 0xd4, 0xbc, 0xe4, 0xca, 0xf8, 0xe4, 0xc4, + 0x82, 0xf8, 0xd4, 0xb2, 0xd4, 0xbc, 0x92, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, + 0x92, 0x7c, 0x21, 0x59, 0x88, 0x16, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x6e, 0xbd, 0x32, 0x03, + 0x3d, 0xb0, 0x6e, 0xa5, 0x22, 0x2e, 0x49, 0x37, 0x98, 0x01, 0xce, 0x89, 0x05, 0xae, 0x20, 0xed, + 0x21, 0x95, 0x05, 0xa9, 0xae, 0x79, 0xa5, 0xb9, 0x4a, 0xa1, 0x5c, 0xa2, 0x58, 0x25, 0x85, 0xf8, + 0xb9, 0xb8, 0x43, 0xfd, 0x82, 0x03, 0x5c, 0x9d, 0x3d, 0xdd, 0x3c, 0x5d, 0x5d, 0x04, 0x18, 0x84, + 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, 0xfd, 0x04, 0x18, 0x85, 0xf8, 0xb8, 0xb8, + 0x3c, 0x7d, 0x03, 0x82, 0x5c, 0x83, 0x83, 0x3d, 0xfd, 0xfd, 0x04, 0x98, 0x40, 0xfc, 0x30, 0x4f, + 0x17, 0x57, 0xff, 0xf8, 0x30, 0x4f, 0xd7, 0x70, 0x01, 0x66, 0xa7, 0xd3, 0x8c, 0x5c, 0x8a, 0xc9, + 0xf9, 0xb9, 0x7a, 0x78, 0x5d, 0xe6, 0x24, 0x85, 0xd5, 0xea, 0x00, 0x90, 0xa7, 0x02, 0x18, 0xa3, + 0x9c, 0xa0, 0x9a, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, + 0xf3, 0xc0, 0x5e, 0x86, 0x05, 0x52, 0x41, 0x66, 0x31, 0x8e, 0x30, 0xb3, 0x06, 0x93, 0x8b, 0x98, + 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0xc9, 0xba, 0x43, 0x8c, 0x72, 0x4c, 0x29, 0xd6, 0x83, 0x30, + 0x41, 0xac, 0x30, 0x03, 0x3d, 0x50, 0x18, 0x14, 0x9f, 0x82, 0xc9, 0xc7, 0x38, 0xa6, 0x14, 0xc7, + 0xc0, 0xe5, 0x63, 0xc2, 0x0c, 0x62, 0xc0, 0xf2, 0x49, 0x6c, 0x60, 0x4b, 0x8d, 0x01, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x2a, 0x2b, 0x21, 0xfe, 0xa7, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_level.pb.go new file mode 100644 index 000000000..f45fbdb83 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_level.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/frequency_cap_level.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The level on which the cap is to be applied (e.g ad group ad, ad group). +// Cap is applied to all the resources of this level. +type FrequencyCapLevelEnum_FrequencyCapLevel int32 + +const ( + // Not specified. + FrequencyCapLevelEnum_UNSPECIFIED FrequencyCapLevelEnum_FrequencyCapLevel = 0 + // Used for return value only. Represents value unknown in this version. + FrequencyCapLevelEnum_UNKNOWN FrequencyCapLevelEnum_FrequencyCapLevel = 1 + // The cap is applied at the ad group ad level. + FrequencyCapLevelEnum_AD_GROUP_AD FrequencyCapLevelEnum_FrequencyCapLevel = 2 + // The cap is applied at the ad group level. + FrequencyCapLevelEnum_AD_GROUP FrequencyCapLevelEnum_FrequencyCapLevel = 3 + // The cap is applied at the campaign level. + FrequencyCapLevelEnum_CAMPAIGN FrequencyCapLevelEnum_FrequencyCapLevel = 4 +) + +var FrequencyCapLevelEnum_FrequencyCapLevel_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AD_GROUP_AD", + 3: "AD_GROUP", + 4: "CAMPAIGN", +} +var FrequencyCapLevelEnum_FrequencyCapLevel_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_GROUP_AD": 2, + "AD_GROUP": 3, + "CAMPAIGN": 4, +} + +func (x FrequencyCapLevelEnum_FrequencyCapLevel) String() string { + return proto.EnumName(FrequencyCapLevelEnum_FrequencyCapLevel_name, int32(x)) +} +func (FrequencyCapLevelEnum_FrequencyCapLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_level_35a61c6952c59b53, []int{0, 0} +} + +// Container for enum describing the level on which the cap is to be applied. +type FrequencyCapLevelEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrequencyCapLevelEnum) Reset() { *m = FrequencyCapLevelEnum{} } +func (m *FrequencyCapLevelEnum) String() string { return proto.CompactTextString(m) } +func (*FrequencyCapLevelEnum) ProtoMessage() {} +func (*FrequencyCapLevelEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_level_35a61c6952c59b53, []int{0} +} +func (m *FrequencyCapLevelEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrequencyCapLevelEnum.Unmarshal(m, b) +} +func (m *FrequencyCapLevelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrequencyCapLevelEnum.Marshal(b, m, deterministic) +} +func (dst *FrequencyCapLevelEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrequencyCapLevelEnum.Merge(dst, src) +} +func (m *FrequencyCapLevelEnum) XXX_Size() int { + return xxx_messageInfo_FrequencyCapLevelEnum.Size(m) +} +func (m *FrequencyCapLevelEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FrequencyCapLevelEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FrequencyCapLevelEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FrequencyCapLevelEnum)(nil), "google.ads.googleads.v0.enums.FrequencyCapLevelEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FrequencyCapLevelEnum_FrequencyCapLevel", FrequencyCapLevelEnum_FrequencyCapLevel_name, FrequencyCapLevelEnum_FrequencyCapLevel_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/frequency_cap_level.proto", fileDescriptor_frequency_cap_level_35a61c6952c59b53) +} + +var fileDescriptor_frequency_cap_level_35a61c6952c59b53 = []byte{ + // 278 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xb4, 0xa2, 0xd4, 0xc2, 0xd2, 0xd4, 0xbc, 0xe4, 0xca, 0xf8, 0xe4, 0xc4, + 0x82, 0xf8, 0x9c, 0xd4, 0xb2, 0xd4, 0x1c, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, + 0x6a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x46, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x46, 0xa5, 0x72, + 0x2e, 0x51, 0x37, 0x98, 0x5e, 0xe7, 0xc4, 0x02, 0x1f, 0x90, 0x4e, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, + 0x38, 0x2e, 0x41, 0x0c, 0x09, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, + 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, + 0x3f, 0x01, 0x46, 0x90, 0xac, 0xa3, 0x4b, 0xbc, 0x7b, 0x90, 0x7f, 0x68, 0x40, 0xbc, 0xa3, 0x8b, + 0x00, 0x93, 0x10, 0x0f, 0x17, 0x07, 0x4c, 0x40, 0x80, 0x19, 0xc4, 0x73, 0x76, 0xf4, 0x0d, 0x70, + 0xf4, 0x74, 0xf7, 0x13, 0x60, 0x71, 0x3a, 0xce, 0xc8, 0xa5, 0x98, 0x9c, 0x9f, 0xab, 0x87, 0xd7, + 0x79, 0x4e, 0x62, 0x18, 0x6e, 0x08, 0x00, 0xf9, 0x2a, 0x80, 0x31, 0xca, 0x09, 0xaa, 0x31, 0x3d, + 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x67, 0x58, + 0x00, 0x15, 0x64, 0x16, 0xe3, 0x08, 0x2f, 0x6b, 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, + 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, + 0x03, 0x05, 0x44, 0xf1, 0x29, 0x98, 0x7c, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x3e, 0x26, 0xcc, + 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xa9, 0xd4, + 0x7b, 0x7f, 0xa3, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_time_unit.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_time_unit.pb.go new file mode 100644 index 000000000..cbe8c3eba --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/frequency_cap_time_unit.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/frequency_cap_time_unit.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Unit of time the cap is defined at (e.g. day, week). +type FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit int32 + +const ( + // Not specified. + FrequencyCapTimeUnitEnum_UNSPECIFIED FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit = 0 + // Used for return value only. Represents value unknown in this version. + FrequencyCapTimeUnitEnum_UNKNOWN FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit = 1 + // The cap would define limit per one day. + FrequencyCapTimeUnitEnum_DAY FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit = 2 + // The cap would define limit per one week. + FrequencyCapTimeUnitEnum_WEEK FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit = 3 + // The cap would define limit per one month. + FrequencyCapTimeUnitEnum_MONTH FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit = 4 +) + +var FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DAY", + 3: "WEEK", + 4: "MONTH", +} +var FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DAY": 2, + "WEEK": 3, + "MONTH": 4, +} + +func (x FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit) String() string { + return proto.EnumName(FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_name, int32(x)) +} +func (FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_time_unit_53c48a163d408dee, []int{0, 0} +} + +// Container for enum describing the unit of time the cap is defined at. +type FrequencyCapTimeUnitEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FrequencyCapTimeUnitEnum) Reset() { *m = FrequencyCapTimeUnitEnum{} } +func (m *FrequencyCapTimeUnitEnum) String() string { return proto.CompactTextString(m) } +func (*FrequencyCapTimeUnitEnum) ProtoMessage() {} +func (*FrequencyCapTimeUnitEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_frequency_cap_time_unit_53c48a163d408dee, []int{0} +} +func (m *FrequencyCapTimeUnitEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FrequencyCapTimeUnitEnum.Unmarshal(m, b) +} +func (m *FrequencyCapTimeUnitEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FrequencyCapTimeUnitEnum.Marshal(b, m, deterministic) +} +func (dst *FrequencyCapTimeUnitEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FrequencyCapTimeUnitEnum.Merge(dst, src) +} +func (m *FrequencyCapTimeUnitEnum) XXX_Size() int { + return xxx_messageInfo_FrequencyCapTimeUnitEnum.Size(m) +} +func (m *FrequencyCapTimeUnitEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FrequencyCapTimeUnitEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FrequencyCapTimeUnitEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FrequencyCapTimeUnitEnum)(nil), "google.ads.googleads.v0.enums.FrequencyCapTimeUnitEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit", FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_name, FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/frequency_cap_time_unit.proto", fileDescriptor_frequency_cap_time_unit_53c48a163d408dee) +} + +var fileDescriptor_frequency_cap_time_unit_53c48a163d408dee = []byte{ + // 283 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xb4, 0xa2, 0xd4, 0xc2, 0xd2, 0xd4, 0xbc, 0xe4, 0xca, 0xf8, 0xe4, 0xc4, + 0x82, 0xf8, 0x92, 0xcc, 0xdc, 0xd4, 0xf8, 0xd2, 0xbc, 0xcc, 0x12, 0xbd, 0x82, 0xa2, 0xfc, 0x92, + 0x7c, 0x21, 0x59, 0x88, 0x0e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x66, 0xbd, 0x32, 0x03, 0x3d, + 0xb0, 0x66, 0xa5, 0x3c, 0x2e, 0x09, 0x37, 0x98, 0x7e, 0xe7, 0xc4, 0x82, 0x90, 0xcc, 0xdc, 0xd4, + 0xd0, 0xbc, 0xcc, 0x12, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, 0x20, 0x2e, 0x11, 0x6c, 0x72, 0x42, 0xfc, + 0x5c, 0xdc, 0xa1, 0x7e, 0xc1, 0x01, 0xae, 0xce, 0x9e, 0x6e, 0x9e, 0xae, 0x2e, 0x02, 0x0c, 0x42, + 0xdc, 0x5c, 0xec, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0x02, 0x8c, 0x42, 0xec, 0x5c, 0xcc, + 0x2e, 0x8e, 0x91, 0x02, 0x4c, 0x42, 0x1c, 0x5c, 0x2c, 0xe1, 0xae, 0xae, 0xde, 0x02, 0xcc, 0x42, + 0x9c, 0x5c, 0xac, 0xbe, 0xfe, 0x7e, 0x21, 0x1e, 0x02, 0x2c, 0x4e, 0xa7, 0x18, 0xb9, 0x14, 0x93, + 0xf3, 0x73, 0xf5, 0xf0, 0xba, 0xca, 0x49, 0x12, 0x9b, 0xbd, 0x01, 0x20, 0xff, 0x04, 0x30, 0x46, + 0x39, 0x41, 0xf5, 0xa6, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5, 0xeb, 0xa7, 0xa7, + 0xe6, 0x81, 0x7d, 0x0b, 0x0b, 0x9e, 0x82, 0xcc, 0x62, 0x1c, 0xa1, 0x65, 0x0d, 0x26, 0x17, 0x31, + 0x31, 0xbb, 0x3b, 0x3a, 0xae, 0x62, 0x92, 0x75, 0x87, 0x18, 0xe5, 0x98, 0x52, 0xac, 0x07, 0x61, + 0x82, 0x58, 0x61, 0x06, 0x7a, 0x20, 0xff, 0x17, 0x9f, 0x82, 0xc9, 0xc7, 0x38, 0xa6, 0x14, 0xc7, + 0xc0, 0xe5, 0x63, 0xc2, 0x0c, 0x62, 0xc0, 0xf2, 0x49, 0x6c, 0x60, 0x4b, 0x8d, 0x01, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x08, 0x5e, 0x5d, 0x49, 0xa1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/gender_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/gender_type.pb.go new file mode 100644 index 000000000..25f0720a4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/gender_type.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/gender_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of demographic genders (e.g. female). +type GenderTypeEnum_GenderType int32 + +const ( + // Not specified. + GenderTypeEnum_UNSPECIFIED GenderTypeEnum_GenderType = 0 + // Used for return value only. Represents value unknown in this version. + GenderTypeEnum_UNKNOWN GenderTypeEnum_GenderType = 1 + // Male. + GenderTypeEnum_MALE GenderTypeEnum_GenderType = 10 + // Female. + GenderTypeEnum_FEMALE GenderTypeEnum_GenderType = 11 + // Undetermined gender. + GenderTypeEnum_UNDETERMINED GenderTypeEnum_GenderType = 20 +) + +var GenderTypeEnum_GenderType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 10: "MALE", + 11: "FEMALE", + 20: "UNDETERMINED", +} +var GenderTypeEnum_GenderType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "MALE": 10, + "FEMALE": 11, + "UNDETERMINED": 20, +} + +func (x GenderTypeEnum_GenderType) String() string { + return proto.EnumName(GenderTypeEnum_GenderType_name, int32(x)) +} +func (GenderTypeEnum_GenderType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_gender_type_224225f2f930dba5, []int{0, 0} +} + +// Container for enum describing the type of demographic genders. +type GenderTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenderTypeEnum) Reset() { *m = GenderTypeEnum{} } +func (m *GenderTypeEnum) String() string { return proto.CompactTextString(m) } +func (*GenderTypeEnum) ProtoMessage() {} +func (*GenderTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_gender_type_224225f2f930dba5, []int{0} +} +func (m *GenderTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenderTypeEnum.Unmarshal(m, b) +} +func (m *GenderTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenderTypeEnum.Marshal(b, m, deterministic) +} +func (dst *GenderTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenderTypeEnum.Merge(dst, src) +} +func (m *GenderTypeEnum) XXX_Size() int { + return xxx_messageInfo_GenderTypeEnum.Size(m) +} +func (m *GenderTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_GenderTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_GenderTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GenderTypeEnum)(nil), "google.ads.googleads.v0.enums.GenderTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.GenderTypeEnum_GenderType", GenderTypeEnum_GenderType_name, GenderTypeEnum_GenderType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/gender_type.proto", fileDescriptor_gender_type_224225f2f930dba5) +} + +var fileDescriptor_gender_type_224225f2f930dba5 = []byte{ + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0x86, 0x32, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, 0xd2, + 0xdc, 0x62, 0xfd, 0xf4, 0xd4, 0xbc, 0x94, 0xd4, 0xa2, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, + 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x2a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x06, 0xbd, + 0x32, 0x03, 0x3d, 0xb0, 0x06, 0xa5, 0x14, 0x2e, 0x3e, 0x77, 0xb0, 0x9e, 0x90, 0xca, 0x82, 0x54, + 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, 0x20, 0x2e, 0x2e, 0x84, 0x88, 0x10, 0x3f, 0x17, 0x77, 0xa8, 0x5f, + 0x70, 0x80, 0xab, 0xb3, 0xa7, 0x9b, 0xa7, 0xab, 0x8b, 0x00, 0x83, 0x10, 0x37, 0x17, 0x7b, 0xa8, + 0x9f, 0xb7, 0x9f, 0x7f, 0xb8, 0x9f, 0x00, 0xa3, 0x10, 0x07, 0x17, 0x8b, 0xaf, 0xa3, 0x8f, 0xab, + 0x00, 0x97, 0x10, 0x17, 0x17, 0x9b, 0x9b, 0x2b, 0x98, 0xcd, 0x2d, 0x24, 0xc0, 0xc5, 0x13, 0xea, + 0xe7, 0xe2, 0x1a, 0xe2, 0x1a, 0xe4, 0xeb, 0xe9, 0xe7, 0xea, 0x22, 0x20, 0xe2, 0x74, 0x80, 0x91, + 0x4b, 0x31, 0x39, 0x3f, 0x57, 0x0f, 0xaf, 0x5b, 0x9c, 0xf8, 0x11, 0xf6, 0x06, 0x80, 0xdc, 0x1e, + 0xc0, 0x18, 0xe5, 0x04, 0xd5, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0x0e, + 0xf2, 0x22, 0xd8, 0x67, 0x30, 0xef, 0x17, 0x64, 0x16, 0xe3, 0x08, 0x0d, 0x6b, 0x30, 0xb9, 0x88, + 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, 0x94, 0x62, 0x3d, 0x08, + 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, 0xf9, 0xba, 0xf8, 0x14, 0x4c, 0x3e, 0xc6, 0x31, 0xa5, 0x38, + 0x06, 0x2e, 0x1f, 0x13, 0x66, 0x10, 0x03, 0x96, 0x4f, 0x62, 0x03, 0x5b, 0x6a, 0x0c, 0x08, 0x00, + 0x00, 0xff, 0xff, 0xc3, 0x0d, 0x58, 0x77, 0x81, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_target_constant_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_target_constant_status.pb.go new file mode 100644 index 000000000..5d79f3b1d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_target_constant_status.pb.go @@ -0,0 +1,117 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/geo_target_constant_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible statuses of a geo target constant. +type GeoTargetConstantStatusEnum_GeoTargetConstantStatus int32 + +const ( + // No value has been specified. + GeoTargetConstantStatusEnum_UNSPECIFIED GeoTargetConstantStatusEnum_GeoTargetConstantStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + GeoTargetConstantStatusEnum_UNKNOWN GeoTargetConstantStatusEnum_GeoTargetConstantStatus = 1 + // The geo target constant is valid. + GeoTargetConstantStatusEnum_ENABLED GeoTargetConstantStatusEnum_GeoTargetConstantStatus = 2 + // The geo target constant is obsolete and will be removed. + GeoTargetConstantStatusEnum_REMOVAL_PLANNED GeoTargetConstantStatusEnum_GeoTargetConstantStatus = 3 +) + +var GeoTargetConstantStatusEnum_GeoTargetConstantStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVAL_PLANNED", +} +var GeoTargetConstantStatusEnum_GeoTargetConstantStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVAL_PLANNED": 3, +} + +func (x GeoTargetConstantStatusEnum_GeoTargetConstantStatus) String() string { + return proto.EnumName(GeoTargetConstantStatusEnum_GeoTargetConstantStatus_name, int32(x)) +} +func (GeoTargetConstantStatusEnum_GeoTargetConstantStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_status_01172c2684dfd41a, []int{0, 0} +} + +// Container for describing the status of a geo target constant. +type GeoTargetConstantStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GeoTargetConstantStatusEnum) Reset() { *m = GeoTargetConstantStatusEnum{} } +func (m *GeoTargetConstantStatusEnum) String() string { return proto.CompactTextString(m) } +func (*GeoTargetConstantStatusEnum) ProtoMessage() {} +func (*GeoTargetConstantStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_status_01172c2684dfd41a, []int{0} +} +func (m *GeoTargetConstantStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GeoTargetConstantStatusEnum.Unmarshal(m, b) +} +func (m *GeoTargetConstantStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GeoTargetConstantStatusEnum.Marshal(b, m, deterministic) +} +func (dst *GeoTargetConstantStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_GeoTargetConstantStatusEnum.Merge(dst, src) +} +func (m *GeoTargetConstantStatusEnum) XXX_Size() int { + return xxx_messageInfo_GeoTargetConstantStatusEnum.Size(m) +} +func (m *GeoTargetConstantStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_GeoTargetConstantStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_GeoTargetConstantStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GeoTargetConstantStatusEnum)(nil), "google.ads.googleads.v0.enums.GeoTargetConstantStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus", GeoTargetConstantStatusEnum_GeoTargetConstantStatus_name, GeoTargetConstantStatusEnum_GeoTargetConstantStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/geo_target_constant_status.proto", fileDescriptor_geo_target_constant_status_01172c2684dfd41a) +} + +var fileDescriptor_geo_target_constant_status_01172c2684dfd41a = []byte{ + // 285 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, + 0x18, 0x86, 0x5d, 0x07, 0x0a, 0xd9, 0x61, 0xa5, 0x1e, 0x3c, 0xe8, 0x0e, 0xee, 0x07, 0xa4, 0x05, + 0x8f, 0x82, 0x90, 0xae, 0xb1, 0x0c, 0x6b, 0x56, 0x9c, 0xab, 0x28, 0x85, 0x12, 0xd7, 0x10, 0x84, + 0x35, 0x19, 0xfd, 0xd2, 0xe1, 0xef, 0xf1, 0xe8, 0x4f, 0x11, 0xfc, 0x4f, 0xd2, 0x74, 0xdb, 0xad, + 0x5e, 0xc2, 0x1b, 0x5e, 0x9e, 0xf7, 0xfb, 0xbe, 0x17, 0xdd, 0x49, 0xad, 0xe5, 0x46, 0xf8, 0xbc, + 0x04, 0xbf, 0x93, 0xad, 0xda, 0x05, 0xbe, 0x50, 0x4d, 0x05, 0xbe, 0x14, 0xba, 0x30, 0xbc, 0x96, + 0xc2, 0x14, 0x6b, 0xad, 0xc0, 0x70, 0x65, 0x0a, 0x30, 0xdc, 0x34, 0x80, 0xb7, 0xb5, 0x36, 0xda, + 0x9b, 0x74, 0x10, 0xe6, 0x25, 0xe0, 0x23, 0x8f, 0x77, 0x01, 0xb6, 0xfc, 0xf4, 0x13, 0x5d, 0xc6, + 0x42, 0x3f, 0xdb, 0x84, 0xd9, 0x3e, 0x60, 0x69, 0x79, 0xaa, 0x9a, 0x6a, 0xfa, 0x8a, 0x2e, 0x7a, + 0x6c, 0x6f, 0x8c, 0x46, 0x2b, 0xb6, 0x4c, 0xe9, 0x6c, 0x7e, 0x3f, 0xa7, 0x91, 0x7b, 0xe2, 0x8d, + 0xd0, 0xd9, 0x8a, 0x3d, 0xb0, 0xc5, 0x0b, 0x73, 0x07, 0xed, 0x87, 0x32, 0x12, 0x26, 0x34, 0x72, + 0x1d, 0xef, 0x1c, 0x8d, 0x9f, 0xe8, 0xe3, 0x22, 0x23, 0x49, 0x91, 0x26, 0x84, 0x31, 0x1a, 0xb9, + 0xc3, 0xf0, 0x77, 0x80, 0xae, 0xd7, 0xba, 0xc2, 0xff, 0xee, 0x17, 0x5e, 0xf5, 0x8c, 0x4f, 0xdb, + 0xe3, 0xd2, 0xc1, 0x5b, 0xb8, 0xc7, 0xa5, 0xde, 0x70, 0x25, 0xb1, 0xae, 0xa5, 0x2f, 0x85, 0xb2, + 0xa7, 0x1f, 0xea, 0xda, 0x7e, 0x40, 0x4f, 0x7b, 0xb7, 0xf6, 0xfd, 0x72, 0x86, 0x31, 0x21, 0xdf, + 0xce, 0x24, 0xee, 0xa2, 0x48, 0x09, 0xb8, 0x93, 0xad, 0xca, 0x02, 0xdc, 0x36, 0x01, 0x3f, 0x07, + 0x3f, 0x27, 0x25, 0xe4, 0x47, 0x3f, 0xcf, 0x82, 0xdc, 0xfa, 0xef, 0xa7, 0x76, 0xe8, 0xcd, 0x5f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x49, 0x25, 0x72, 0x39, 0xb1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_targeting_restriction.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_targeting_restriction.pb.go new file mode 100644 index 000000000..a7e898482 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/geo_targeting_restriction.pb.go @@ -0,0 +1,113 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/geo_targeting_restriction.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A restriction used to determine if the request context's +// geo should be matched. +type GeoTargetingRestrictionEnum_GeoTargetingRestriction int32 + +const ( + // Not specified. + GeoTargetingRestrictionEnum_UNSPECIFIED GeoTargetingRestrictionEnum_GeoTargetingRestriction = 0 + // Used for return value only. Represents value unknown in this version. + GeoTargetingRestrictionEnum_UNKNOWN GeoTargetingRestrictionEnum_GeoTargetingRestriction = 1 + // Indicates that request context should match the physical location of + // the user. + GeoTargetingRestrictionEnum_LOCATION_OF_PRESENCE GeoTargetingRestrictionEnum_GeoTargetingRestriction = 2 +) + +var GeoTargetingRestrictionEnum_GeoTargetingRestriction_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "LOCATION_OF_PRESENCE", +} +var GeoTargetingRestrictionEnum_GeoTargetingRestriction_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "LOCATION_OF_PRESENCE": 2, +} + +func (x GeoTargetingRestrictionEnum_GeoTargetingRestriction) String() string { + return proto.EnumName(GeoTargetingRestrictionEnum_GeoTargetingRestriction_name, int32(x)) +} +func (GeoTargetingRestrictionEnum_GeoTargetingRestriction) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_geo_targeting_restriction_f1a4d0dcbbcc21ed, []int{0, 0} +} + +// Message describing feed item geo targeting restriction. +type GeoTargetingRestrictionEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GeoTargetingRestrictionEnum) Reset() { *m = GeoTargetingRestrictionEnum{} } +func (m *GeoTargetingRestrictionEnum) String() string { return proto.CompactTextString(m) } +func (*GeoTargetingRestrictionEnum) ProtoMessage() {} +func (*GeoTargetingRestrictionEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_targeting_restriction_f1a4d0dcbbcc21ed, []int{0} +} +func (m *GeoTargetingRestrictionEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GeoTargetingRestrictionEnum.Unmarshal(m, b) +} +func (m *GeoTargetingRestrictionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GeoTargetingRestrictionEnum.Marshal(b, m, deterministic) +} +func (dst *GeoTargetingRestrictionEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_GeoTargetingRestrictionEnum.Merge(dst, src) +} +func (m *GeoTargetingRestrictionEnum) XXX_Size() int { + return xxx_messageInfo_GeoTargetingRestrictionEnum.Size(m) +} +func (m *GeoTargetingRestrictionEnum) XXX_DiscardUnknown() { + xxx_messageInfo_GeoTargetingRestrictionEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_GeoTargetingRestrictionEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GeoTargetingRestrictionEnum)(nil), "google.ads.googleads.v0.enums.GeoTargetingRestrictionEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction", GeoTargetingRestrictionEnum_GeoTargetingRestriction_name, GeoTargetingRestrictionEnum_GeoTargetingRestriction_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/geo_targeting_restriction.proto", fileDescriptor_geo_targeting_restriction_f1a4d0dcbbcc21ed) +} + +var fileDescriptor_geo_targeting_restriction_f1a4d0dcbbcc21ed = []byte{ + // 276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xc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 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0x7b, 0x19, 0x16, 0x4a, 0x05, + 0x99, 0xc5, 0x38, 0x02, 0xcd, 0x1a, 0x4c, 0x2e, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24, + 0xeb, 0x0e, 0x31, 0xca, 0x31, 0xa5, 0x58, 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x40, 0x21, + 0x50, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x88, 0x01, + 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xda, 0x14, 0x81, + 0xa8, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_category.pb.go new file mode 100644 index 000000000..85e842554 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_category.pb.go @@ -0,0 +1,129 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/google_ads_field_category.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The category of the artifact. +type GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory int32 + +const ( + // Unspecified + GoogleAdsFieldCategoryEnum_UNSPECIFIED GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory = 0 + // Unknown + GoogleAdsFieldCategoryEnum_UNKNOWN GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory = 1 + // The described artifact is a resource. + GoogleAdsFieldCategoryEnum_RESOURCE GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory = 2 + // The described artifact is a field and is an attribute of a resource. + // Including a resource attribute field in a query may segment the query if + // the resource to which it is attributed segments the resource found in + // the FROM clause. + GoogleAdsFieldCategoryEnum_ATTRIBUTE GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory = 3 + // The described artifact is a field and always segments search queries. + GoogleAdsFieldCategoryEnum_SEGMENT GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory = 5 + // The described artifact is a field and is a metric. It never segments + // search queries. + GoogleAdsFieldCategoryEnum_METRIC GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory = 6 +) + +var GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "RESOURCE", + 3: "ATTRIBUTE", + 5: "SEGMENT", + 6: "METRIC", +} +var GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "RESOURCE": 2, + "ATTRIBUTE": 3, + "SEGMENT": 5, + "METRIC": 6, +} + +func (x GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory) String() string { + return proto.EnumName(GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_name, int32(x)) +} +func (GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_category_97cde39ce3aca2c0, []int{0, 0} +} + +// Container for enum that determines if the described artifact is a resource +// or a field, and if it is a field, when it segments search queries. +type GoogleAdsFieldCategoryEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GoogleAdsFieldCategoryEnum) Reset() { *m = GoogleAdsFieldCategoryEnum{} } +func (m *GoogleAdsFieldCategoryEnum) String() string { return proto.CompactTextString(m) } +func (*GoogleAdsFieldCategoryEnum) ProtoMessage() {} +func (*GoogleAdsFieldCategoryEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_category_97cde39ce3aca2c0, []int{0} +} +func (m *GoogleAdsFieldCategoryEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GoogleAdsFieldCategoryEnum.Unmarshal(m, b) +} +func (m *GoogleAdsFieldCategoryEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GoogleAdsFieldCategoryEnum.Marshal(b, m, deterministic) +} +func (dst *GoogleAdsFieldCategoryEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_GoogleAdsFieldCategoryEnum.Merge(dst, src) +} +func (m *GoogleAdsFieldCategoryEnum) XXX_Size() int { + return xxx_messageInfo_GoogleAdsFieldCategoryEnum.Size(m) +} +func (m *GoogleAdsFieldCategoryEnum) XXX_DiscardUnknown() { + xxx_messageInfo_GoogleAdsFieldCategoryEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_GoogleAdsFieldCategoryEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GoogleAdsFieldCategoryEnum)(nil), "google.ads.googleads.v0.enums.GoogleAdsFieldCategoryEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory", GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_name, GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/google_ads_field_category.proto", fileDescriptor_google_ads_field_category_97cde39ce3aca2c0) +} + +var fileDescriptor_google_ads_field_category_97cde39ce3aca2c0 = []byte{ + // 300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0x5c, 0x98, 0x50, 0x7c, 0x62, 0x4a, 0x71, 0x7c, 0x5a, 0x66, 0x6a, 0x4e, 0x4a, 0x7c, 0x72, + 0x62, 0x49, 0x6a, 0x7a, 0x7e, 0x51, 0xa5, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x2c, 0x44, + 0x81, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xbb, 0x5e, 0x99, 0x81, 0x1e, 0x58, 0xbb, 0x52, 0x17, + 0x23, 0x97, 0x94, 0x3b, 0x58, 0xd8, 0x31, 0xa5, 0xd8, 0x0d, 0x64, 0x80, 0x33, 0x54, 0xbf, 0x6b, + 0x5e, 0x69, 0xae, 0x52, 0x0e, 0x97, 0x18, 0x76, 0x59, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, + 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, + 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, 0x21, 0x1e, 0x2e, 0x8e, 0x20, 0xd7, 0x60, 0xff, 0xd0, + 0x20, 0x67, 0x57, 0x01, 0x26, 0x21, 0x5e, 0x2e, 0x4e, 0xc7, 0x90, 0x90, 0x20, 0x4f, 0xa7, 0xd0, + 0x10, 0x57, 0x01, 0x66, 0x90, 0xca, 0x60, 0x57, 0x77, 0x5f, 0x57, 0xbf, 0x10, 0x01, 0x56, 0x21, + 0x2e, 0x2e, 0x36, 0x5f, 0xd7, 0x90, 0x20, 0x4f, 0x67, 0x01, 0x36, 0xa7, 0x33, 0x8c, 0x5c, 0x8a, + 0xc9, 0xf9, 0xb9, 0x7a, 0x78, 0x9d, 0xec, 0x24, 0x8d, 0xdd, 0x45, 0x01, 0x20, 0xef, 0x06, 0x30, + 0x46, 0x39, 0x41, 0x75, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5, 0xeb, 0xa7, + 0xa7, 0xe6, 0x81, 0x03, 0x03, 0x16, 0x7e, 0x05, 0x99, 0xc5, 0x38, 0x82, 0xd3, 0x1a, 0x4c, 0x2e, + 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24, 0x0b, 0xb1, 0x49, 0xcf, 0x31, 0xa5, 0x58, 0x0f, + 0x6e, 0xa9, 0x5e, 0x98, 0x81, 0x1e, 0x28, 0x6c, 0x8a, 0x4f, 0xc1, 0xe4, 0x63, 0x1c, 0x53, 0x8a, + 0x63, 0xe0, 0xf2, 0x31, 0x61, 0x06, 0x31, 0x60, 0xf9, 0x24, 0x36, 0xb0, 0xa5, 0xc6, 0x80, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xb3, 0x56, 0xff, 0x0d, 0xc2, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_data_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_data_type.pb.go new file mode 100644 index 000000000..0623405d2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/google_ads_field_data_type.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/google_ads_field_data_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// These are the various types a GoogleAdsService artifact may take on. +type GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType int32 + +const ( + // Unspecified + GoogleAdsFieldDataTypeEnum_UNSPECIFIED GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 0 + // Unknown + GoogleAdsFieldDataTypeEnum_UNKNOWN GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 1 + // Maps to google.protobuf.BoolValue + // + // Applicable operators: =, != + GoogleAdsFieldDataTypeEnum_BOOLEAN GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 2 + // Maps to google.protobuf.StringValue. It can be compared using the set of + // operators specific to dates however. + // + // Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN + GoogleAdsFieldDataTypeEnum_DATE GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 3 + // Maps to google.protobuf.DoubleValue + // + // Applicable operators: =, !=, <, >, IN, NOT IN + GoogleAdsFieldDataTypeEnum_DOUBLE GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 4 + // Maps to an enum. It's specific definition can be found at type_url. + // + // Applicable operators: =, !=, IN, NOT IN + GoogleAdsFieldDataTypeEnum_ENUM GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 5 + // Maps to google.protobuf.FloatValue + // + // Applicable operators: =, !=, <, >, IN, NOT IN + GoogleAdsFieldDataTypeEnum_FLOAT GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 6 + // Maps to google.protobuf.Int32Value + // + // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + GoogleAdsFieldDataTypeEnum_INT32 GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 7 + // Maps to google.protobuf.Int64Value + // + // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + GoogleAdsFieldDataTypeEnum_INT64 GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 8 + // Maps to a protocol buffer message type. The data type's details can be + // found in type_url. + // + // No operators work with MESSAGE fields. + GoogleAdsFieldDataTypeEnum_MESSAGE GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 9 + // Maps to google.protobuf.StringValue. Represents the resource name + // (unique id) of a resource or one of its foreign keys. + // + // No operators work with RESOURCE_NAME fields. + GoogleAdsFieldDataTypeEnum_RESOURCE_NAME GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 10 + // Maps to google.protobuf.StringValue. + // + // Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN + GoogleAdsFieldDataTypeEnum_STRING GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 11 +) + +var GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BOOLEAN", + 3: "DATE", + 4: "DOUBLE", + 5: "ENUM", + 6: "FLOAT", + 7: "INT32", + 8: "INT64", + 9: "MESSAGE", + 10: "RESOURCE_NAME", + 11: "STRING", +} +var GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BOOLEAN": 2, + "DATE": 3, + "DOUBLE": 4, + "ENUM": 5, + "FLOAT": 6, + "INT32": 7, + "INT64": 8, + "MESSAGE": 9, + "RESOURCE_NAME": 10, + "STRING": 11, +} + +func (x GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) String() string { + return proto.EnumName(GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, int32(x)) +} +func (GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_data_type_48f8da58e8f99892, []int{0, 0} +} + +// Container holding the various data types. +type GoogleAdsFieldDataTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GoogleAdsFieldDataTypeEnum) Reset() { *m = GoogleAdsFieldDataTypeEnum{} } +func (m *GoogleAdsFieldDataTypeEnum) String() string { return proto.CompactTextString(m) } +func (*GoogleAdsFieldDataTypeEnum) ProtoMessage() {} +func (*GoogleAdsFieldDataTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_data_type_48f8da58e8f99892, []int{0} +} +func (m *GoogleAdsFieldDataTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Unmarshal(m, b) +} +func (m *GoogleAdsFieldDataTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Marshal(b, m, deterministic) +} +func (dst *GoogleAdsFieldDataTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Merge(dst, src) +} +func (m *GoogleAdsFieldDataTypeEnum) XXX_Size() int { + return xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Size(m) +} +func (m *GoogleAdsFieldDataTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_GoogleAdsFieldDataTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_GoogleAdsFieldDataTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GoogleAdsFieldDataTypeEnum)(nil), "google.ads.googleads.v0.enums.GoogleAdsFieldDataTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType", GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/google_ads_field_data_type.proto", fileDescriptor_google_ads_field_data_type_48f8da58e8f99892) +} + +var fileDescriptor_google_ads_field_data_type_48f8da58e8f99892 = []byte{ + // 353 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x4a, 0xeb, 0x40, + 0x18, 0xbd, 0xe9, 0x7f, 0xa7, 0x5c, 0xee, 0xdc, 0x2c, 0x5c, 0x28, 0x5d, 0xd8, 0x07, 0x98, 0x04, + 0x2b, 0x6e, 0x04, 0x61, 0xd2, 0x4c, 0x43, 0xb0, 0x9d, 0x94, 0x26, 0xa9, 0x20, 0x81, 0x30, 0x3a, + 0x31, 0x14, 0xda, 0x4c, 0xe8, 0xa4, 0x85, 0xbe, 0x8e, 0x4b, 0x57, 0x3e, 0x87, 0x08, 0xbe, 0x92, + 0x4c, 0xfa, 0xb3, 0xaa, 0x6e, 0xc2, 0xc9, 0x77, 0xe6, 0x9c, 0xc3, 0x77, 0x3e, 0x70, 0x97, 0x0a, + 0x91, 0x2e, 0x12, 0x83, 0x71, 0x69, 0xec, 0xa0, 0x42, 0x1b, 0xd3, 0x48, 0xb2, 0xf5, 0xf2, 0x30, + 0x8a, 0x19, 0x97, 0xf1, 0xcb, 0x3c, 0x59, 0xf0, 0x98, 0xb3, 0x82, 0xc5, 0xc5, 0x36, 0x4f, 0x50, + 0xbe, 0x12, 0x85, 0xd0, 0xbb, 0xbb, 0x17, 0x88, 0x71, 0x89, 0x8e, 0x7a, 0xb4, 0x31, 0x51, 0xa9, + 0xef, 0x7d, 0x69, 0xe0, 0xdc, 0x29, 0xc7, 0x98, 0xcb, 0xa1, 0x72, 0xb0, 0x59, 0xc1, 0x82, 0x6d, + 0x9e, 0x90, 0x6c, 0xbd, 0xec, 0xbd, 0x6b, 0xe0, 0xec, 0x34, 0xad, 0xff, 0x03, 0x9d, 0x90, 0xfa, + 0x13, 0x32, 0x70, 0x87, 0x2e, 0xb1, 0xe1, 0x1f, 0xbd, 0x03, 0x9a, 0x21, 0xbd, 0xa7, 0xde, 0x03, + 0x85, 0x9a, 0xfa, 0xb1, 0x3c, 0x6f, 0x44, 0x30, 0x85, 0x15, 0xbd, 0x05, 0x6a, 0x36, 0x0e, 0x08, + 0xac, 0xea, 0x00, 0x34, 0x6c, 0x2f, 0xb4, 0x46, 0x04, 0xd6, 0xd4, 0x94, 0xd0, 0x70, 0x0c, 0xeb, + 0x7a, 0x1b, 0xd4, 0x87, 0x23, 0x0f, 0x07, 0xb0, 0xa1, 0xa0, 0x4b, 0x83, 0xfe, 0x15, 0x6c, 0xee, + 0xe1, 0xcd, 0x35, 0x6c, 0x29, 0xb7, 0x31, 0xf1, 0x7d, 0xec, 0x10, 0xd8, 0xd6, 0xff, 0x83, 0xbf, + 0x53, 0xe2, 0x7b, 0xe1, 0x74, 0x40, 0x62, 0x8a, 0xc7, 0x04, 0x02, 0x65, 0xeb, 0x07, 0x53, 0x97, + 0x3a, 0xb0, 0x63, 0x7d, 0x6a, 0xe0, 0xf2, 0x59, 0x2c, 0xd1, 0xaf, 0x7b, 0x5b, 0x17, 0xa7, 0xb7, + 0x9a, 0xa8, 0xce, 0x26, 0xda, 0xa3, 0xb5, 0x57, 0xa7, 0x62, 0xc1, 0xb2, 0x14, 0x89, 0x55, 0x6a, + 0xa4, 0x49, 0x56, 0x36, 0x7a, 0xb8, 0x42, 0x3e, 0x97, 0x3f, 0x1c, 0xe5, 0xb6, 0xfc, 0xbe, 0x56, + 0xaa, 0x0e, 0xc6, 0x6f, 0x95, 0xee, 0x2e, 0x09, 0x61, 0x2e, 0xd1, 0x31, 0x14, 0xcd, 0x4c, 0xa4, + 0x0a, 0x96, 0x1f, 0x07, 0x3e, 0xc2, 0x5c, 0x46, 0x47, 0x3e, 0x9a, 0x99, 0x51, 0xc9, 0x3f, 0x35, + 0xca, 0xd0, 0xfe, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x96, 0x06, 0xb3, 0xb7, 0x08, 0x02, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_date_selection_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_date_selection_type.pb.go new file mode 100644 index 000000000..0d873d9af --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_date_selection_type.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/hotel_date_selection_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible hotel date selection types. +type HotelDateSelectionTypeEnum_HotelDateSelectionType int32 + +const ( + // Not specified. + HotelDateSelectionTypeEnum_UNSPECIFIED HotelDateSelectionTypeEnum_HotelDateSelectionType = 0 + // Used for return value only. Represents value unknown in this version. + HotelDateSelectionTypeEnum_UNKNOWN HotelDateSelectionTypeEnum_HotelDateSelectionType = 1 + // Dates selected by default. + HotelDateSelectionTypeEnum_DEFAULT_SELECTION HotelDateSelectionTypeEnum_HotelDateSelectionType = 50 + // Dates selected by the user. + HotelDateSelectionTypeEnum_USER_SELECTED HotelDateSelectionTypeEnum_HotelDateSelectionType = 51 +) + +var HotelDateSelectionTypeEnum_HotelDateSelectionType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 50: "DEFAULT_SELECTION", + 51: "USER_SELECTED", +} +var HotelDateSelectionTypeEnum_HotelDateSelectionType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DEFAULT_SELECTION": 50, + "USER_SELECTED": 51, +} + +func (x HotelDateSelectionTypeEnum_HotelDateSelectionType) String() string { + return proto.EnumName(HotelDateSelectionTypeEnum_HotelDateSelectionType_name, int32(x)) +} +func (HotelDateSelectionTypeEnum_HotelDateSelectionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_hotel_date_selection_type_2e676c6d0c7214c3, []int{0, 0} +} + +// Container for enum describing possible hotel date selection types +type HotelDateSelectionTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelDateSelectionTypeEnum) Reset() { *m = HotelDateSelectionTypeEnum{} } +func (m *HotelDateSelectionTypeEnum) String() string { return proto.CompactTextString(m) } +func (*HotelDateSelectionTypeEnum) ProtoMessage() {} +func (*HotelDateSelectionTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_hotel_date_selection_type_2e676c6d0c7214c3, []int{0} +} +func (m *HotelDateSelectionTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelDateSelectionTypeEnum.Unmarshal(m, b) +} +func (m *HotelDateSelectionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelDateSelectionTypeEnum.Marshal(b, m, deterministic) +} +func (dst *HotelDateSelectionTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelDateSelectionTypeEnum.Merge(dst, src) +} +func (m *HotelDateSelectionTypeEnum) XXX_Size() int { + return xxx_messageInfo_HotelDateSelectionTypeEnum.Size(m) +} +func (m *HotelDateSelectionTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_HotelDateSelectionTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelDateSelectionTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*HotelDateSelectionTypeEnum)(nil), "google.ads.googleads.v0.enums.HotelDateSelectionTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType", HotelDateSelectionTypeEnum_HotelDateSelectionType_name, HotelDateSelectionTypeEnum_HotelDateSelectionType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/hotel_date_selection_type.proto", fileDescriptor_hotel_date_selection_type_2e676c6d0c7214c3) +} + +var fileDescriptor_hotel_date_selection_type_2e676c6d0c7214c3 = []byte{ + // 292 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x8c, 0xfc, 0x92, 0xd4, 0x9c, 0xf8, 0x94, 0xc4, 0x92, 0xd4, 0xf8, 0xe2, + 0xd4, 0x9c, 0xd4, 0xe4, 0x92, 0xcc, 0xfc, 0xbc, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, + 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x1e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x76, 0xbd, 0x32, + 0x03, 0x3d, 0xb0, 0x76, 0xa5, 0x3a, 0x2e, 0x29, 0x0f, 0x90, 0x09, 0x2e, 0x89, 0x25, 0xa9, 0xc1, + 0x30, 0xfd, 0x21, 0x95, 0x05, 0xa9, 0xae, 0x79, 0xa5, 0xb9, 0x4a, 0x09, 0x5c, 0x62, 0xd8, 0x65, + 0x85, 0xf8, 0xb9, 0xb8, 0x43, 0xfd, 0x82, 0x03, 0x5c, 0x9d, 0x3d, 0xdd, 0x3c, 0x5d, 0x5d, 0x04, + 0x18, 0x84, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, 0xfd, 0x04, 0x18, 0x85, 0x44, + 0xb9, 0x04, 0x5d, 0x5c, 0xdd, 0x1c, 0x43, 0x7d, 0x42, 0xe2, 0x83, 0x5d, 0x7d, 0x5c, 0x9d, 0x43, + 0x3c, 0xfd, 0xfd, 0x04, 0x8c, 0x84, 0x04, 0xb9, 0x78, 0x43, 0x83, 0x5d, 0x83, 0xa0, 0x62, 0xae, + 0x2e, 0x02, 0xc6, 0x4e, 0x67, 0x18, 0xb9, 0x14, 0x93, 0xf3, 0x73, 0xf5, 0xf0, 0xba, 0xd2, 0x49, + 0x1a, 0xbb, 0x2b, 0x02, 0x40, 0x3e, 0x0c, 0x60, 0x8c, 0x72, 0x82, 0xea, 0x4e, 0xcf, 0xcf, 0x49, + 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0xfb, 0x1f, 0x16, 0x64, 0x05, + 0x99, 0xc5, 0x38, 0x42, 0xd0, 0x1a, 0x4c, 0x2e, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24, + 0xeb, 0x0e, 0x31, 0xca, 0x31, 0xa5, 0x58, 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x40, 0xe1, + 0x51, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x88, 0x01, + 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x6a, 0x9a, 0xc2, 0x8b, + 0xb5, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_placeholder_field.pb.go new file mode 100644 index 000000000..2547edf24 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/hotel_placeholder_field.pb.go @@ -0,0 +1,220 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/hotel_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Hotel placeholder fields. +type HotelPlaceholderFieldEnum_HotelPlaceholderField int32 + +const ( + // Not specified. + HotelPlaceholderFieldEnum_UNSPECIFIED HotelPlaceholderFieldEnum_HotelPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + HotelPlaceholderFieldEnum_UNKNOWN HotelPlaceholderFieldEnum_HotelPlaceholderField = 1 + // Data Type: STRING. Required. Unique ID. + HotelPlaceholderFieldEnum_PROPERTY_ID HotelPlaceholderFieldEnum_HotelPlaceholderField = 2 + // Data Type: STRING. Required. Main headline with property name to be shown + // in dynamic ad. + HotelPlaceholderFieldEnum_PROPERTY_NAME HotelPlaceholderFieldEnum_HotelPlaceholderField = 3 + // Data Type: STRING. Name of destination to be shown in dynamic ad. + HotelPlaceholderFieldEnum_DESTINATION_NAME HotelPlaceholderFieldEnum_HotelPlaceholderField = 4 + // Data Type: STRING. Description of destination to be shown in dynamic ad. + HotelPlaceholderFieldEnum_DESCRIPTION HotelPlaceholderFieldEnum_HotelPlaceholderField = 5 + // Data Type: STRING. Complete property address, including postal code. + HotelPlaceholderFieldEnum_ADDRESS HotelPlaceholderFieldEnum_HotelPlaceholderField = 6 + // Data Type: STRING. Price to be shown in the ad. + // Example: "100.00 USD" + HotelPlaceholderFieldEnum_PRICE HotelPlaceholderFieldEnum_HotelPlaceholderField = 7 + // Data Type: STRING. Formatted price to be shown in the ad. + // Example: "Starting at $100.00 USD", "$80 - $100" + HotelPlaceholderFieldEnum_FORMATTED_PRICE HotelPlaceholderFieldEnum_HotelPlaceholderField = 8 + // Data Type: STRING. Sale price to be shown in the ad. + // Example: "80.00 USD" + HotelPlaceholderFieldEnum_SALE_PRICE HotelPlaceholderFieldEnum_HotelPlaceholderField = 9 + // Data Type: STRING. Formatted sale price to be shown in the ad. + // Example: "On sale for $80.00", "$60 - $80" + HotelPlaceholderFieldEnum_FORMATTED_SALE_PRICE HotelPlaceholderFieldEnum_HotelPlaceholderField = 10 + // Data Type: URL. Image to be displayed in the ad. + HotelPlaceholderFieldEnum_IMAGE_URL HotelPlaceholderFieldEnum_HotelPlaceholderField = 11 + // Data Type: STRING. Category of property used to group like items together + // for recommendation engine. + HotelPlaceholderFieldEnum_CATEGORY HotelPlaceholderFieldEnum_HotelPlaceholderField = 12 + // Data Type: INT64. Star rating (1 to 5) used to group like items + // together for recommendation engine. + HotelPlaceholderFieldEnum_STAR_RATING HotelPlaceholderFieldEnum_HotelPlaceholderField = 13 + // Data Type: STRING_LIST. Keywords used for product retrieval. + HotelPlaceholderFieldEnum_CONTEXTUAL_KEYWORDS HotelPlaceholderFieldEnum_HotelPlaceholderField = 14 + // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + // URLs. User will be redirected to these URLs when they click on an ad, or + // when they click on a specific flight for ads that show multiple + // flights. + HotelPlaceholderFieldEnum_FINAL_URLS HotelPlaceholderFieldEnum_HotelPlaceholderField = 15 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + HotelPlaceholderFieldEnum_FINAL_MOBILE_URLS HotelPlaceholderFieldEnum_HotelPlaceholderField = 16 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + HotelPlaceholderFieldEnum_TRACKING_URL HotelPlaceholderFieldEnum_HotelPlaceholderField = 17 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + HotelPlaceholderFieldEnum_ANDROID_APP_LINK HotelPlaceholderFieldEnum_HotelPlaceholderField = 18 + // Data Type: STRING_LIST. List of recommended property IDs to show together + // with this item. + HotelPlaceholderFieldEnum_SIMILAR_PROPERTY_IDS HotelPlaceholderFieldEnum_HotelPlaceholderField = 19 + // Data Type: STRING. iOS app link. + HotelPlaceholderFieldEnum_IOS_APP_LINK HotelPlaceholderFieldEnum_HotelPlaceholderField = 20 + // Data Type: INT64. iOS app store ID. + HotelPlaceholderFieldEnum_IOS_APP_STORE_ID HotelPlaceholderFieldEnum_HotelPlaceholderField = 21 +) + +var HotelPlaceholderFieldEnum_HotelPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PROPERTY_ID", + 3: "PROPERTY_NAME", + 4: "DESTINATION_NAME", + 5: "DESCRIPTION", + 6: "ADDRESS", + 7: "PRICE", + 8: "FORMATTED_PRICE", + 9: "SALE_PRICE", + 10: "FORMATTED_SALE_PRICE", + 11: "IMAGE_URL", + 12: "CATEGORY", + 13: "STAR_RATING", + 14: "CONTEXTUAL_KEYWORDS", + 15: "FINAL_URLS", + 16: "FINAL_MOBILE_URLS", + 17: "TRACKING_URL", + 18: "ANDROID_APP_LINK", + 19: "SIMILAR_PROPERTY_IDS", + 20: "IOS_APP_LINK", + 21: "IOS_APP_STORE_ID", +} +var HotelPlaceholderFieldEnum_HotelPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PROPERTY_ID": 2, + "PROPERTY_NAME": 3, + "DESTINATION_NAME": 4, + "DESCRIPTION": 5, + "ADDRESS": 6, + "PRICE": 7, + "FORMATTED_PRICE": 8, + "SALE_PRICE": 9, + "FORMATTED_SALE_PRICE": 10, + "IMAGE_URL": 11, + "CATEGORY": 12, + "STAR_RATING": 13, + "CONTEXTUAL_KEYWORDS": 14, + "FINAL_URLS": 15, + "FINAL_MOBILE_URLS": 16, + "TRACKING_URL": 17, + "ANDROID_APP_LINK": 18, + "SIMILAR_PROPERTY_IDS": 19, + "IOS_APP_LINK": 20, + "IOS_APP_STORE_ID": 21, +} + +func (x HotelPlaceholderFieldEnum_HotelPlaceholderField) String() string { + return proto.EnumName(HotelPlaceholderFieldEnum_HotelPlaceholderField_name, int32(x)) +} +func (HotelPlaceholderFieldEnum_HotelPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_hotel_placeholder_field_e2aef94dde7f15bf, []int{0, 0} +} + +// Values for Hotel placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type HotelPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelPlaceholderFieldEnum) Reset() { *m = HotelPlaceholderFieldEnum{} } +func (m *HotelPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*HotelPlaceholderFieldEnum) ProtoMessage() {} +func (*HotelPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_hotel_placeholder_field_e2aef94dde7f15bf, []int{0} +} +func (m *HotelPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *HotelPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *HotelPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelPlaceholderFieldEnum.Merge(dst, src) +} +func (m *HotelPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_HotelPlaceholderFieldEnum.Size(m) +} +func (m *HotelPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_HotelPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*HotelPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.HotelPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField", HotelPlaceholderFieldEnum_HotelPlaceholderField_name, HotelPlaceholderFieldEnum_HotelPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/hotel_placeholder_field.proto", fileDescriptor_hotel_placeholder_field_e2aef94dde7f15bf) +} + +var fileDescriptor_hotel_placeholder_field_e2aef94dde7f15bf = []byte{ + // 491 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xda, 0x30, + 0x18, 0x1d, 0xb0, 0xfe, 0x60, 0xa0, 0x18, 0x03, 0xda, 0xa6, 0xa9, 0x17, 0xeb, 0x03, 0x04, 0xa4, + 0x5d, 0xf6, 0xca, 0xc4, 0x26, 0xb3, 0x08, 0xb6, 0x65, 0x9b, 0x76, 0x4c, 0x48, 0x16, 0x6b, 0xb2, + 0xb4, 0x52, 0x20, 0x88, 0xb4, 0x7d, 0xa0, 0x5d, 0xee, 0x66, 0xef, 0x31, 0x6d, 0xef, 0x34, 0x39, + 0x29, 0x50, 0x4d, 0xdb, 0x6e, 0xa2, 0xcf, 0xe7, 0xf8, 0x9c, 0xcf, 0xf9, 0xbe, 0x03, 0x2e, 0x93, + 0x2c, 0x4b, 0xd2, 0x78, 0xb0, 0x8c, 0xf2, 0x41, 0x59, 0xba, 0xea, 0x71, 0x38, 0x88, 0xd7, 0x0f, + 0xab, 0x7c, 0x70, 0x9b, 0xdd, 0xc7, 0xa9, 0xdd, 0xa4, 0xcb, 0x9b, 0xf8, 0x36, 0x4b, 0xa3, 0x78, + 0x6b, 0xbf, 0xdc, 0xc5, 0x69, 0xe4, 0x6d, 0xb6, 0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0x1f, 0x90, 0xbe, 0x03, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/income_range_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/income_range_type.pb.go new file mode 100644 index 000000000..0a8b70acd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/income_range_type.pb.go @@ -0,0 +1,139 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/income_range_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of demographic income ranges (e.g. between 0% to 50%). +type IncomeRangeTypeEnum_IncomeRangeType int32 + +const ( + // Not specified. + IncomeRangeTypeEnum_UNSPECIFIED IncomeRangeTypeEnum_IncomeRangeType = 0 + // Used for return value only. Represents value unknown in this version. + IncomeRangeTypeEnum_UNKNOWN IncomeRangeTypeEnum_IncomeRangeType = 1 + // 0%-50%. + IncomeRangeTypeEnum_INCOME_RANGE_0_50 IncomeRangeTypeEnum_IncomeRangeType = 510001 + // 50% to 60%. + IncomeRangeTypeEnum_INCOME_RANGE_50_60 IncomeRangeTypeEnum_IncomeRangeType = 510002 + // 60% to 70%. + IncomeRangeTypeEnum_INCOME_RANGE_60_70 IncomeRangeTypeEnum_IncomeRangeType = 510003 + // 70% to 80%. + IncomeRangeTypeEnum_INCOME_RANGE_70_80 IncomeRangeTypeEnum_IncomeRangeType = 510004 + // 80% to 90%. + IncomeRangeTypeEnum_INCOME_RANGE_80_90 IncomeRangeTypeEnum_IncomeRangeType = 510005 + // Greater than 90%. + IncomeRangeTypeEnum_INCOME_RANGE_90_UP IncomeRangeTypeEnum_IncomeRangeType = 510006 + // Undetermined income range. + IncomeRangeTypeEnum_INCOME_RANGE_UNDETERMINED IncomeRangeTypeEnum_IncomeRangeType = 510000 +) + +var IncomeRangeTypeEnum_IncomeRangeType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 510001: "INCOME_RANGE_0_50", + 510002: "INCOME_RANGE_50_60", + 510003: "INCOME_RANGE_60_70", + 510004: "INCOME_RANGE_70_80", + 510005: "INCOME_RANGE_80_90", + 510006: "INCOME_RANGE_90_UP", + 510000: "INCOME_RANGE_UNDETERMINED", +} +var IncomeRangeTypeEnum_IncomeRangeType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INCOME_RANGE_0_50": 510001, + "INCOME_RANGE_50_60": 510002, + "INCOME_RANGE_60_70": 510003, + "INCOME_RANGE_70_80": 510004, + "INCOME_RANGE_80_90": 510005, + "INCOME_RANGE_90_UP": 510006, + "INCOME_RANGE_UNDETERMINED": 510000, +} + +func (x IncomeRangeTypeEnum_IncomeRangeType) String() string { + return proto.EnumName(IncomeRangeTypeEnum_IncomeRangeType_name, int32(x)) +} +func (IncomeRangeTypeEnum_IncomeRangeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_income_range_type_7650859890133832, []int{0, 0} +} + +// Container for enum describing the type of demographic income ranges. +type IncomeRangeTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IncomeRangeTypeEnum) Reset() { *m = IncomeRangeTypeEnum{} } +func (m *IncomeRangeTypeEnum) String() string { return proto.CompactTextString(m) } +func (*IncomeRangeTypeEnum) ProtoMessage() {} +func (*IncomeRangeTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_income_range_type_7650859890133832, []int{0} +} +func (m *IncomeRangeTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IncomeRangeTypeEnum.Unmarshal(m, b) +} +func (m *IncomeRangeTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IncomeRangeTypeEnum.Marshal(b, m, deterministic) +} +func (dst *IncomeRangeTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_IncomeRangeTypeEnum.Merge(dst, src) +} +func (m *IncomeRangeTypeEnum) XXX_Size() int { + return xxx_messageInfo_IncomeRangeTypeEnum.Size(m) +} +func (m *IncomeRangeTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_IncomeRangeTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_IncomeRangeTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*IncomeRangeTypeEnum)(nil), "google.ads.googleads.v0.enums.IncomeRangeTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.IncomeRangeTypeEnum_IncomeRangeType", IncomeRangeTypeEnum_IncomeRangeType_name, IncomeRangeTypeEnum_IncomeRangeType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/income_range_type.proto", fileDescriptor_income_range_type_7650859890133832) +} + +var fileDescriptor_income_range_type_7650859890133832 = []byte{ + // 344 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4d, 0x4a, 0xc3, 0x40, + 0x1c, 0xc5, 0x4d, 0x05, 0x85, 0xe9, 0xa2, 0x63, 0x14, 0xd4, 0x45, 0x09, 0xf6, 0x00, 0x93, 0x3f, + 0x48, 0xbf, 0x70, 0x95, 0xb6, 0x63, 0x09, 0xd2, 0x69, 0xa8, 0x4d, 0x05, 0x09, 0x0c, 0xb1, 0x09, + 0xa1, 0xd0, 0x64, 0x42, 0xd3, 0x16, 0xba, 0xf6, 0x02, 0x3d, 0x83, 0x4b, 0x57, 0x7e, 0xdf, 0xc0, + 0x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0x9f, 0x96, 0x4a, 0xe3, 0x53, 0x42, 0x67, 0x43, 0xe1, 0x93, + 0x7f, 0xbb, 0x6a, 0x1c, 0x6d, 0x15, 0x62, 0xc4, 0x05, 0x1b, 0xd2, 0x6d, 0xe3, 0x57, 0xf3, 0xc4, + 0xd8, 0x0e, 0x3c, 0x22, 0x26, 0x9e, 0xea, 0xb9, 0x41, 0x52, 0xff, 0x6a, 0xa9, 0x70, 0x14, 0xfd, + 0x31, 0xdc, 0x45, 0xf2, 0x7d, 0xc8, 0xed, 0xb6, 0x35, 0xed, 0x31, 0x57, 0x6c, 0xa7, 0x57, 0x69, + 0x4e, 0x44, 0xd2, 0x18, 0xa7, 0x01, 0x90, 0x78, 0x94, 0xe8, 0x6b, 0xc5, 0x2d, 0xcd, 0x89, 0xac, + 0x35, 0xb7, 0x06, 0x60, 0x25, 0xfc, 0x6e, 0x2f, 0x79, 0xf4, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff, + 0x7c, 0x81, 0x86, 0x1b, 0x2c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/interaction_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/interaction_type.pb.go new file mode 100644 index 000000000..91c7d776e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/interaction_type.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/interaction_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible interaction types. +type InteractionTypeEnum_InteractionType int32 + +const ( + // Not specified. + InteractionTypeEnum_UNSPECIFIED InteractionTypeEnum_InteractionType = 0 + // Used for return value only. Represents value unknown in this version. + InteractionTypeEnum_UNKNOWN InteractionTypeEnum_InteractionType = 1 + // Calls. + InteractionTypeEnum_CALLS InteractionTypeEnum_InteractionType = 8000 +) + +var InteractionTypeEnum_InteractionType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 8000: "CALLS", +} +var InteractionTypeEnum_InteractionType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CALLS": 8000, +} + +func (x InteractionTypeEnum_InteractionType) String() string { + return proto.EnumName(InteractionTypeEnum_InteractionType_name, int32(x)) +} +func (InteractionTypeEnum_InteractionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_interaction_type_e3686e1d7e48d812, []int{0, 0} +} + +// Container for enum describing possible interaction types. +type InteractionTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InteractionTypeEnum) Reset() { *m = InteractionTypeEnum{} } +func (m *InteractionTypeEnum) String() string { return proto.CompactTextString(m) } +func (*InteractionTypeEnum) ProtoMessage() {} +func (*InteractionTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_interaction_type_e3686e1d7e48d812, []int{0} +} +func (m *InteractionTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InteractionTypeEnum.Unmarshal(m, b) +} +func (m *InteractionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InteractionTypeEnum.Marshal(b, m, deterministic) +} +func (dst *InteractionTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_InteractionTypeEnum.Merge(dst, src) +} +func (m *InteractionTypeEnum) XXX_Size() int { + return xxx_messageInfo_InteractionTypeEnum.Size(m) +} +func (m *InteractionTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_InteractionTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_InteractionTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*InteractionTypeEnum)(nil), "google.ads.googleads.v0.enums.InteractionTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.InteractionTypeEnum_InteractionType", InteractionTypeEnum_InteractionType_name, InteractionTypeEnum_InteractionType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/interaction_type.proto", fileDescriptor_interaction_type_e3686e1d7e48d812) +} + +var fileDescriptor_interaction_type_e3686e1d7e48d812 = []byte{ + // 250 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xcc, 0xbc, 0x92, 0xd4, 0xa2, 0xc4, 0xe4, 0x92, 0xcc, 0xfc, 0xbc, 0xf8, + 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x52, 0xbd, 0xc4, + 0x94, 0x62, 0x3d, 0xb8, 0x2e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x2e, 0xa5, 0x20, 0x2e, 0x61, 0x4f, + 0x84, 0xc6, 0x90, 0xca, 0x82, 0x54, 0xd7, 0xbc, 0xd2, 0x5c, 0x25, 0x6b, 0x2e, 0x7e, 0x34, 0x61, + 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, + 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, 0x21, 0x2e, + 0x2e, 0x56, 0x67, 0x47, 0x1f, 0x9f, 0x60, 0x81, 0x03, 0x76, 0x4e, 0x47, 0x19, 0xb9, 0x14, 0x93, + 0xf3, 0x73, 0xf5, 0xf0, 0xda, 0xec, 0x24, 0x82, 0x66, 0x41, 0x00, 0xc8, 0xb9, 0x01, 0x8c, 0x51, + 0x4e, 0x50, 0x6d, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, + 0x79, 0x60, 0xcf, 0xc0, 0xbc, 0x5d, 0x90, 0x59, 0x8c, 0x23, 0x14, 0xac, 0xc1, 0xe4, 0x22, 0x26, + 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0xb2, 0xee, 0x10, 0xa3, 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, + 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0xe4, 0xc7, 0xe2, 0x53, 0x30, 0xf9, 0x18, 0xc7, 0x94, 0xe2, 0x18, + 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, 0x3e, 0x89, 0x0d, 0x6c, 0xa9, 0x31, 0x20, 0x00, 0x00, + 0xff, 0xff, 0x9e, 0x4d, 0x5b, 0x36, 0x79, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/job_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/job_placeholder_field.pb.go new file mode 100644 index 000000000..ad617b8d0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/job_placeholder_field.pb.go @@ -0,0 +1,206 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/job_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Job placeholder fields. +type JobPlaceholderFieldEnum_JobPlaceholderField int32 + +const ( + // Not specified. + JobPlaceholderFieldEnum_UNSPECIFIED JobPlaceholderFieldEnum_JobPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + JobPlaceholderFieldEnum_UNKNOWN JobPlaceholderFieldEnum_JobPlaceholderField = 1 + // Data Type: STRING. Required. If only JOB_ID is specified, then it must be + // unique. If both JOB_ID and LOCATION_ID are specified, then the + // pair must be unique. + // ID) pair must be unique. + JobPlaceholderFieldEnum_JOB_ID JobPlaceholderFieldEnum_JobPlaceholderField = 2 + // Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique + // per offer. + JobPlaceholderFieldEnum_LOCATION_ID JobPlaceholderFieldEnum_JobPlaceholderField = 3 + // Data Type: STRING. Required. Main headline with job title to be shown in + // dynamic ad. + JobPlaceholderFieldEnum_TITLE JobPlaceholderFieldEnum_JobPlaceholderField = 4 + // Data Type: STRING. Job subtitle to be shown in dynamic ad. + JobPlaceholderFieldEnum_SUBTITLE JobPlaceholderFieldEnum_JobPlaceholderField = 5 + // Data Type: STRING. Description of job to be shown in dynamic ad. + JobPlaceholderFieldEnum_DESCRIPTION JobPlaceholderFieldEnum_JobPlaceholderField = 6 + // Data Type: URL. Image to be displayed in the ad. Highly recommended for + // image ads. + JobPlaceholderFieldEnum_IMAGE_URL JobPlaceholderFieldEnum_JobPlaceholderField = 7 + // Data Type: STRING. Category of property used to group like items together + // for recommendation engine. + JobPlaceholderFieldEnum_CATEGORY JobPlaceholderFieldEnum_JobPlaceholderField = 8 + // Data Type: STRING_LIST. Keywords used for product retrieval. + JobPlaceholderFieldEnum_CONTEXTUAL_KEYWORDS JobPlaceholderFieldEnum_JobPlaceholderField = 9 + // Data Type: STRING. Complete property address, including postal code. + JobPlaceholderFieldEnum_ADDRESS JobPlaceholderFieldEnum_JobPlaceholderField = 10 + // Data Type: STRING. Salary or salary range of job to be shown in dynamic + // ad. + JobPlaceholderFieldEnum_SALARY JobPlaceholderFieldEnum_JobPlaceholderField = 11 + // Data Type: URL_LIST. Required. Final URLs to be used in ad when using + // Upgraded URLs; the more specific the better (e.g. the individual URL of a + // specific job and its location). + JobPlaceholderFieldEnum_FINAL_URLS JobPlaceholderFieldEnum_JobPlaceholderField = 12 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + JobPlaceholderFieldEnum_FINAL_MOBILE_URLS JobPlaceholderFieldEnum_JobPlaceholderField = 14 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + JobPlaceholderFieldEnum_TRACKING_URL JobPlaceholderFieldEnum_JobPlaceholderField = 15 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + JobPlaceholderFieldEnum_ANDROID_APP_LINK JobPlaceholderFieldEnum_JobPlaceholderField = 16 + // Data Type: STRING_LIST. List of recommended job IDs to show together with + // this item. + JobPlaceholderFieldEnum_SIMILAR_JOB_IDS JobPlaceholderFieldEnum_JobPlaceholderField = 17 + // Data Type: STRING. iOS app link. + JobPlaceholderFieldEnum_IOS_APP_LINK JobPlaceholderFieldEnum_JobPlaceholderField = 18 + // Data Type: INT64. iOS app store ID. + JobPlaceholderFieldEnum_IOS_APP_STORE_ID JobPlaceholderFieldEnum_JobPlaceholderField = 19 +) + +var JobPlaceholderFieldEnum_JobPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "JOB_ID", + 3: "LOCATION_ID", + 4: "TITLE", + 5: "SUBTITLE", + 6: "DESCRIPTION", + 7: "IMAGE_URL", + 8: "CATEGORY", + 9: "CONTEXTUAL_KEYWORDS", + 10: "ADDRESS", + 11: "SALARY", + 12: "FINAL_URLS", + 14: "FINAL_MOBILE_URLS", + 15: "TRACKING_URL", + 16: "ANDROID_APP_LINK", + 17: "SIMILAR_JOB_IDS", + 18: "IOS_APP_LINK", + 19: "IOS_APP_STORE_ID", +} +var JobPlaceholderFieldEnum_JobPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "JOB_ID": 2, + "LOCATION_ID": 3, + "TITLE": 4, + "SUBTITLE": 5, + "DESCRIPTION": 6, + "IMAGE_URL": 7, + "CATEGORY": 8, + "CONTEXTUAL_KEYWORDS": 9, + "ADDRESS": 10, + "SALARY": 11, + "FINAL_URLS": 12, + "FINAL_MOBILE_URLS": 14, + "TRACKING_URL": 15, + "ANDROID_APP_LINK": 16, + "SIMILAR_JOB_IDS": 17, + "IOS_APP_LINK": 18, + "IOS_APP_STORE_ID": 19, +} + +func (x JobPlaceholderFieldEnum_JobPlaceholderField) String() string { + return proto.EnumName(JobPlaceholderFieldEnum_JobPlaceholderField_name, int32(x)) +} +func (JobPlaceholderFieldEnum_JobPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_job_placeholder_field_11ce2f9d6d7c7d9d, []int{0, 0} +} + +// Values for Job placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type JobPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *JobPlaceholderFieldEnum) Reset() { *m = JobPlaceholderFieldEnum{} } +func (m *JobPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*JobPlaceholderFieldEnum) ProtoMessage() {} +func (*JobPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_job_placeholder_field_11ce2f9d6d7c7d9d, []int{0} +} +func (m *JobPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_JobPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *JobPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_JobPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *JobPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobPlaceholderFieldEnum.Merge(dst, src) +} +func (m *JobPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_JobPlaceholderFieldEnum.Size(m) +} +func (m *JobPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_JobPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_JobPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*JobPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.JobPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.JobPlaceholderFieldEnum_JobPlaceholderField", JobPlaceholderFieldEnum_JobPlaceholderField_name, JobPlaceholderFieldEnum_JobPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/job_placeholder_field.proto", fileDescriptor_job_placeholder_field_11ce2f9d6d7c7d9d) +} + +var fileDescriptor_job_placeholder_field_11ce2f9d6d7c7d9d = []byte{ + // 454 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xc1, 0x6e, 0xd3, 0x40, + 0x10, 0xa5, 0x2e, 0x4d, 0x9b, 0x49, 0x68, 0xb6, 0x1b, 0x50, 0xc5, 0xa1, 0x07, 0xfa, 0x01, 0x76, + 0x24, 0x4e, 0x88, 0xd3, 0xda, 0xde, 0x58, 0x9b, 0x6c, 0x76, 0xad, 0x5d, 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c, 0x44, 0x34, 0x4b, 0x15, 0x47, 0xc7, 0x56, 0x1d, 0x90, 0x84, 0x46, 0x52, 0xcd, + 0xd1, 0x09, 0x3e, 0x87, 0x61, 0x20, 0x45, 0x42, 0x3f, 0x24, 0x29, 0xe1, 0xd9, 0x94, 0xce, 0xaf, + 0xa5, 0x0a, 0x35, 0xea, 0xda, 0x4e, 0x48, 0x18, 0x2a, 0xaa, 0x35, 0x02, 0xdb, 0x89, 0x26, 0x9c, + 0xa8, 0x39, 0xea, 0xe1, 0x53, 0x80, 0x31, 0x13, 0x84, 0xdb, 0x74, 0x1a, 0xf5, 0xf1, 0x2b, 0x38, + 0x6b, 0xdf, 0x33, 0xe9, 0x33, 0x4e, 0xdb, 0xf0, 0x29, 0x46, 0xd0, 0x4f, 0x14, 0x09, 0xa6, 0x4c, + 0x44, 0x4d, 0xe1, 0x01, 0x7e, 0x09, 0x88, 0x88, 0x50, 0x49, 0x16, 0x66, 0x24, 0x8e, 0x33, 0xce, + 0xc4, 0x14, 0x21, 0x3c, 0x84, 0x81, 0x66, 0x33, 0xc6, 0x89, 0xca, 0xda, 0x9f, 0xd5, 0xe8, 0xcc, + 0x9a, 0x99, 0xd4, 0x4f, 0x32, 0x6c, 0xcd, 0xfb, 0x88, 0x4e, 0xa4, 0xa2, 0x76, 0x08, 0x43, 0xff, + 0xe1, 0x00, 0xde, 0xdc, 0x98, 0xb5, 0xfb, 0xdf, 0xcd, 0xf8, 0xaf, 0x27, 0x66, 0x55, 0xff, 0x39, + 0xfb, 0xd8, 0xee, 0x34, 0x3e, 0xf8, 0xe8, 0xff, 0xf6, 0x96, 0xa6, 0x5a, 0x6e, 0x4a, 0xd7, 0xec, + 0x4a, 0xaf, 0x2c, 0x36, 0xcd, 0xc6, 0xf7, 0x07, 0xb2, 0xbd, 0xad, 0xff, 0x71, 0x2f, 0xef, 0x9b, + 0xef, 0x37, 0xe7, 0x30, 0x22, 0xe4, 0xbb, 0x73, 0x11, 0xb5, 0xa9, 0x48, 0x5e, 0xbb, 0x2d, 0xb4, + 0xe8, 0x6a, 0xe4, 0xda, 0x1b, 0xa8, 0x1f, 0xf6, 0xfc, 0x82, 0xe4, 0xf5, 0xe2, 0x91, 0x5f, 0x5c, + 0x8d, 0x16, 0x0d, 0xbf, 0xea, 0x34, 0x45, 0xdf, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x41, 0xa3, + 0x7b, 0x35, 0xa3, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_match_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_match_type.pb.go new file mode 100644 index 000000000..a67176f2f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_match_type.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/keyword_match_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible Keyword match types. +type KeywordMatchTypeEnum_KeywordMatchType int32 + +const ( + // Not specified. + KeywordMatchTypeEnum_UNSPECIFIED KeywordMatchTypeEnum_KeywordMatchType = 0 + // Used for return value only. Represents value unknown in this version. + KeywordMatchTypeEnum_UNKNOWN KeywordMatchTypeEnum_KeywordMatchType = 1 + // Exact match. + KeywordMatchTypeEnum_EXACT KeywordMatchTypeEnum_KeywordMatchType = 2 + // Phrase match. + KeywordMatchTypeEnum_PHRASE KeywordMatchTypeEnum_KeywordMatchType = 3 + // Broad match. + KeywordMatchTypeEnum_BROAD KeywordMatchTypeEnum_KeywordMatchType = 4 +) + +var KeywordMatchTypeEnum_KeywordMatchType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "EXACT", + 3: "PHRASE", + 4: "BROAD", +} +var KeywordMatchTypeEnum_KeywordMatchType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "EXACT": 2, + "PHRASE": 3, + "BROAD": 4, +} + +func (x KeywordMatchTypeEnum_KeywordMatchType) String() string { + return proto.EnumName(KeywordMatchTypeEnum_KeywordMatchType_name, int32(x)) +} +func (KeywordMatchTypeEnum_KeywordMatchType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_match_type_ee22d7efa4d15984, []int{0, 0} +} + +// Message describing Keyword match types. +type KeywordMatchTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordMatchTypeEnum) Reset() { *m = KeywordMatchTypeEnum{} } +func (m *KeywordMatchTypeEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordMatchTypeEnum) ProtoMessage() {} +func (*KeywordMatchTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_match_type_ee22d7efa4d15984, []int{0} +} +func (m *KeywordMatchTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordMatchTypeEnum.Unmarshal(m, b) +} +func (m *KeywordMatchTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordMatchTypeEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordMatchTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordMatchTypeEnum.Merge(dst, src) +} +func (m *KeywordMatchTypeEnum) XXX_Size() int { + return xxx_messageInfo_KeywordMatchTypeEnum.Size(m) +} +func (m *KeywordMatchTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordMatchTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordMatchTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordMatchTypeEnum)(nil), "google.ads.googleads.v0.enums.KeywordMatchTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.KeywordMatchTypeEnum_KeywordMatchType", KeywordMatchTypeEnum_KeywordMatchType_name, KeywordMatchTypeEnum_KeywordMatchType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/keyword_match_type.proto", fileDescriptor_keyword_match_type_ee22d7efa4d15984) +} + +var fileDescriptor_keyword_match_type_ee22d7efa4d15984 = []byte{ + // 275 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xec, 0xd4, 0xca, 0xf2, 0xfc, 0xa2, 0x94, 0xf8, 0xdc, 0xc4, 0x92, 0xe4, + 0x8c, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x62, + 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x3e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x3e, 0xa5, 0x2c, 0x2e, + 0x11, 0x6f, 0x88, 0x56, 0x5f, 0x90, 0xce, 0x90, 0xca, 0x82, 0x54, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, + 0x20, 0x2e, 0x01, 0x74, 0x71, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, + 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, + 0x3f, 0x01, 0x46, 0x21, 0x4e, 0x2e, 0x56, 0xd7, 0x08, 0x47, 0xe7, 0x10, 0x01, 0x26, 0x21, 0x2e, + 0x2e, 0xb6, 0x00, 0x8f, 0x20, 0xc7, 0x60, 0x57, 0x01, 0x66, 0x90, 0xb0, 0x53, 0x90, 0xbf, 0xa3, + 0x8b, 0x00, 0x8b, 0xd3, 0x31, 0x46, 0x2e, 0xc5, 0xe4, 0xfc, 0x5c, 0x3d, 0xbc, 0x2e, 0x72, 0x12, + 0x45, 0xb7, 0x37, 0x00, 0xe4, 0x8f, 0x00, 0xc6, 0x28, 0x27, 0xa8, 0xbe, 0xf4, 0xfc, 0x9c, 0xc4, + 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x2f, 0x61, 0x21, 0x52, 0x90, + 0x59, 0x8c, 0x23, 0x80, 0xac, 0xc1, 0xe4, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0xb2, + 0xee, 0x10, 0xa3, 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0xe4, 0xf7, + 0xe2, 0x53, 0x30, 0xf9, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, + 0x3e, 0x89, 0x0d, 0x6c, 0xa9, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x94, 0x89, 0x6e, 0x8a, 0x94, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_competition_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_competition_level.pb.go new file mode 100644 index 000000000..d3dd791c2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_competition_level.pb.go @@ -0,0 +1,124 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/keyword_plan_competition_level.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Competition level of a keyword. +type KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel int32 + +const ( + // Not specified. + KeywordPlanCompetitionLevelEnum_UNSPECIFIED KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel = 0 + // The value is unknown in this version. + KeywordPlanCompetitionLevelEnum_UNKNOWN KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel = 1 + // Low competition. + KeywordPlanCompetitionLevelEnum_LOW KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel = 2 + // Medium competition. + KeywordPlanCompetitionLevelEnum_MEDIUM KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel = 3 + // High competition. + KeywordPlanCompetitionLevelEnum_HIGH KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel = 4 +) + +var KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "LOW", + 3: "MEDIUM", + 4: "HIGH", +} +var KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "LOW": 2, + "MEDIUM": 3, + "HIGH": 4, +} + +func (x KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel) String() string { + return proto.EnumName(KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_name, int32(x)) +} +func (KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_competition_level_253209b650169a13, []int{0, 0} +} + +// Container for enumeration of keyword competition levels. The competition +// level indicates how competitive ad placement is for a keyword and +// is determined by the number of advertisers bidding on that keyword relative +// to all keywords across Google. The competition level can depend on the +// location and Search Network targeting options you've selected. +type KeywordPlanCompetitionLevelEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanCompetitionLevelEnum) Reset() { *m = KeywordPlanCompetitionLevelEnum{} } +func (m *KeywordPlanCompetitionLevelEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanCompetitionLevelEnum) ProtoMessage() {} +func (*KeywordPlanCompetitionLevelEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_competition_level_253209b650169a13, []int{0} +} +func (m *KeywordPlanCompetitionLevelEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanCompetitionLevelEnum.Unmarshal(m, b) +} +func (m *KeywordPlanCompetitionLevelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanCompetitionLevelEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanCompetitionLevelEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanCompetitionLevelEnum.Merge(dst, src) +} +func (m *KeywordPlanCompetitionLevelEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanCompetitionLevelEnum.Size(m) +} +func (m *KeywordPlanCompetitionLevelEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanCompetitionLevelEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanCompetitionLevelEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanCompetitionLevelEnum)(nil), "google.ads.googleads.v0.enums.KeywordPlanCompetitionLevelEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel", KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_name, KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/keyword_plan_competition_level.proto", fileDescriptor_keyword_plan_competition_level_253209b650169a13) +} + +var fileDescriptor_keyword_plan_competition_level_253209b650169a13 = []byte{ + // 291 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0x83, 0x30, + 0x18, 0xc7, 0xa7, 0x96, 0x76, 0xa4, 0x87, 0x49, 0xae, 0xa3, 0x6c, 0xeb, 0x03, 0x44, 0x61, 0xc7, + 0x9d, 0xb4, 0x75, 0x56, 0xda, 0x5a, 0x61, 0xd8, 0x42, 0x11, 0xc4, 0xd5, 0x10, 0x64, 0x31, 0x9f, + 0x18, 0xeb, 0xd8, 0x61, 0x2f, 0xb3, 0xe3, 0x1e, 0x65, 0xb7, 0xbd, 0xd1, 0x50, 0xd7, 0xee, 0x34, + 0x2f, 0xe1, 0x0f, 0xff, 0xe4, 0xf7, 0xe5, 0xfb, 0x21, 0x9b, 0x01, 0x30, 0x4e, 0x8d, 0x24, 0x95, + 0x46, 0x17, 0x9b, 0x54, 0x9b, 0x06, 0x15, 0xc7, 0x5c, 0x1a, 0x2f, 0xf4, 0xed, 0x15, 0xca, 0x34, + 0x2e, 0x78, 0x22, 0xe2, 0x03, 0xe4, 0x05, 0xad, 0xb2, 0x2a, 0x03, 0x11, 0x73, 0x5a, 0x53, 0x4e, + 0x8a, 0x12, 0x2a, 0xc0, 0x93, 0xee, 0x21, 0x49, 0x52, 0x49, 0xce, 0x0c, 0x52, 0x9b, 0xa4, 0x65, + 0x4c, 0xdf, 0xd1, 0xcd, 0xb2, 0xc3, 0x04, 0x3c, 0x11, 0xb3, 0x3f, 0xc8, 0xaa, 0x61, 0x38, 0xe2, + 0x98, 0x4f, 0xf7, 0xe8, 0xba, 0xe7, 0x0a, 0xbe, 0x42, 0xe3, 0xd0, 0x7f, 0x0a, 0x9c, 0x99, 0xf7, + 0xe8, 0x39, 0x73, 0xfd, 0x02, 0x8f, 0xd1, 0x28, 0xf4, 0x97, 0xfe, 0x66, 0xe7, 0xeb, 0x0a, 0x1e, + 0x21, 0x6d, 0xb5, 0xd9, 0xe9, 0x2a, 0x46, 0x68, 0xb8, 0x76, 0xe6, 0x5e, 0xb8, 0xd6, 0x35, 0x7c, + 0x89, 0x06, 0x0b, 0xcf, 0x5d, 0xe8, 0x03, 0xfb, 0x5b, 0x41, 0x77, 0x07, 0xc8, 0x49, 0xef, 0x27, + 0xed, 0xdb, 0x9e, 0xf9, 0x41, 0xb3, 0x65, 0xa0, 0xec, 0x7f, 0x5d, 0x11, 0x06, 0x3c, 0x11, 0x8c, + 0x40, 0xc9, 0x0c, 0x46, 0x45, 0xeb, 0xe0, 0xe4, 0xae, 0xc8, 0xe4, 0x3f, 0x2a, 0x1f, 0xda, 0xf3, + 0x43, 0xd5, 0x5c, 0xcb, 0xfa, 0x54, 0x27, 0x6e, 0x87, 0xb2, 0x52, 0x49, 0xba, 0xd8, 0xa4, 0xad, + 0x49, 0x1a, 0x1d, 0xf2, 0xeb, 0xd4, 0x47, 0x56, 0x2a, 0xa3, 0x73, 0x1f, 0x6d, 0xcd, 0xa8, 0xed, + 0x9f, 0x87, 0xed, 0xd0, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x98, 0xeb, 0x0f, 0xbe, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_forecast_interval.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_forecast_interval.pb.go new file mode 100644 index 000000000..6b323ade5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_forecast_interval.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/keyword_plan_forecast_interval.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Forecast intervals. +type KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval int32 + +const ( + // Not specified. + KeywordPlanForecastIntervalEnum_UNSPECIFIED KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval = 0 + // The value is unknown in this version. + KeywordPlanForecastIntervalEnum_UNKNOWN KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval = 1 + // The next week date range for keyword plan. The next week is based + // on the default locale of the user's account and is mostly SUN-SAT or + // MON-SUN. + // This can be different from next-7 days. + KeywordPlanForecastIntervalEnum_NEXT_WEEK KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval = 3 + // The next month date range for keyword plan. + KeywordPlanForecastIntervalEnum_NEXT_MONTH KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval = 4 + // The next quarter date range for keyword plan. + KeywordPlanForecastIntervalEnum_NEXT_QUARTER KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval = 5 +) + +var KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "NEXT_WEEK", + 4: "NEXT_MONTH", + 5: "NEXT_QUARTER", +} +var KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NEXT_WEEK": 3, + "NEXT_MONTH": 4, + "NEXT_QUARTER": 5, +} + +func (x KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval) String() string { + return proto.EnumName(KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_name, int32(x)) +} +func (KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_forecast_interval_48060c037199c7ef, []int{0, 0} +} + +// Container for enumeration of forecast intervals. +type KeywordPlanForecastIntervalEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanForecastIntervalEnum) Reset() { *m = KeywordPlanForecastIntervalEnum{} } +func (m *KeywordPlanForecastIntervalEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanForecastIntervalEnum) ProtoMessage() {} +func (*KeywordPlanForecastIntervalEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_forecast_interval_48060c037199c7ef, []int{0} +} +func (m *KeywordPlanForecastIntervalEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanForecastIntervalEnum.Unmarshal(m, b) +} +func (m *KeywordPlanForecastIntervalEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanForecastIntervalEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanForecastIntervalEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanForecastIntervalEnum.Merge(dst, src) +} +func (m *KeywordPlanForecastIntervalEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanForecastIntervalEnum.Size(m) +} +func (m *KeywordPlanForecastIntervalEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanForecastIntervalEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanForecastIntervalEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanForecastIntervalEnum)(nil), "google.ads.googleads.v0.enums.KeywordPlanForecastIntervalEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval", KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_name, KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/keyword_plan_forecast_interval.proto", fileDescriptor_keyword_plan_forecast_interval_48060c037199c7ef) +} + +var fileDescriptor_keyword_plan_forecast_interval_48060c037199c7ef = []byte{ + // 303 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4b, 0x4e, 0xc3, 0x30, + 0x14, 0x45, 0x49, 0xcb, 0x47, 0xb8, 0x7c, 0x2c, 0x4f, 0x51, 0x05, 0x74, 0x01, 0x4e, 0x24, 0x86, + 0x8c, 0x52, 0x70, 0x4b, 0x55, 0xe1, 0x86, 0xd2, 0x0f, 0x42, 0x91, 0x22, 0xd3, 0x18, 0xab, 0xc2, + 0xb5, 0xa3, 0x38, 0x0d, 0x62, 0x15, 0xec, 0x81, 0x21, 0x4b, 0x61, 0xc6, 0x8e, 0x50, 0x9c, 0xb4, + 0x33, 0x32, 0x89, 0xee, 0xd3, 0x8d, 0x8f, 0x9f, 0x0f, 0xe8, 0x0a, 0xad, 0x85, 0xe4, 0x2e, 0x8b, + 0x8d, 0x5b, 0xc6, 0x22, 0xe5, 0x9e, 0xcb, 0xd5, 0x7a, 0x65, 0xdc, 0x37, 0xfe, 0xf1, 0xae, 0xd3, + 0x38, 0x4a, 0x24, 0x53, 0xd1, 0xab, 0x4e, 0xf9, 0x82, 0x99, 0x2c, 0x5a, 0xaa, 0x8c, 0xa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ff, 0xff, 0xc0, 0x3c, 0x2c, 0x01, 0xd1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_network.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_network.pb.go new file mode 100644 index 000000000..4d6bf0ae8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/keyword_plan_network.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/keyword_plan_network.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates keyword plan forecastable network types. +type KeywordPlanNetworkEnum_KeywordPlanNetwork int32 + +const ( + // Not specified. + KeywordPlanNetworkEnum_UNSPECIFIED KeywordPlanNetworkEnum_KeywordPlanNetwork = 0 + // The value is unknown in this version. + KeywordPlanNetworkEnum_UNKNOWN KeywordPlanNetworkEnum_KeywordPlanNetwork = 1 + // Google Search. + KeywordPlanNetworkEnum_GOOGLE_SEARCH KeywordPlanNetworkEnum_KeywordPlanNetwork = 2 + // Google Search + Search partners. + KeywordPlanNetworkEnum_GOOGLE_SEARCH_AND_PARTNERS KeywordPlanNetworkEnum_KeywordPlanNetwork = 3 +) + +var KeywordPlanNetworkEnum_KeywordPlanNetwork_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "GOOGLE_SEARCH", + 3: "GOOGLE_SEARCH_AND_PARTNERS", +} +var KeywordPlanNetworkEnum_KeywordPlanNetwork_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "GOOGLE_SEARCH": 2, + "GOOGLE_SEARCH_AND_PARTNERS": 3, +} + +func (x KeywordPlanNetworkEnum_KeywordPlanNetwork) String() string { + return proto.EnumName(KeywordPlanNetworkEnum_KeywordPlanNetwork_name, int32(x)) +} +func (KeywordPlanNetworkEnum_KeywordPlanNetwork) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_network_bcfc8cc44ad88964, []int{0, 0} +} + +// Container for enumeration of keyword plan forecastable network types. +type KeywordPlanNetworkEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanNetworkEnum) Reset() { *m = KeywordPlanNetworkEnum{} } +func (m *KeywordPlanNetworkEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanNetworkEnum) ProtoMessage() {} +func (*KeywordPlanNetworkEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_network_bcfc8cc44ad88964, []int{0} +} +func (m *KeywordPlanNetworkEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanNetworkEnum.Unmarshal(m, b) +} +func (m *KeywordPlanNetworkEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanNetworkEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanNetworkEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanNetworkEnum.Merge(dst, src) +} +func (m *KeywordPlanNetworkEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanNetworkEnum.Size(m) +} +func (m *KeywordPlanNetworkEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanNetworkEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanNetworkEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanNetworkEnum)(nil), "google.ads.googleads.v0.enums.KeywordPlanNetworkEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork", KeywordPlanNetworkEnum_KeywordPlanNetwork_name, KeywordPlanNetworkEnum_KeywordPlanNetwork_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/keyword_plan_network.proto", fileDescriptor_keyword_plan_network_bcfc8cc44ad88964) +} + +var fileDescriptor_keyword_plan_network_bcfc8cc44ad88964 = []byte{ + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xec, 0xd4, 0xca, 0xf2, 0xfc, 0xa2, 0x94, 0xf8, 0x82, 0x9c, 0xc4, 0xbc, + 0xf8, 0xbc, 0xd4, 0x92, 0xf2, 0xfc, 0xa2, 0x6c, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, + 0x88, 0x72, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x4e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x4e, 0xa5, + 0x7a, 0x2e, 0x31, 0x6f, 0x88, 0xe6, 0x80, 0x9c, 0xc4, 0x3c, 0x3f, 0x88, 0x56, 0xd7, 0xbc, 0xd2, + 0x5c, 0xa5, 0x54, 0x2e, 0x21, 0x4c, 0x19, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, + 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, + 0xff, 0x70, 0x3f, 0x01, 0x46, 0x21, 0x41, 0x2e, 0x5e, 0x77, 0x7f, 0x7f, 0x77, 0x1f, 0xd7, 0xf8, + 0x60, 0x57, 0xc7, 0x20, 0x67, 0x0f, 0x01, 0x26, 0x21, 0x39, 0x2e, 0x29, 0x14, 0xa1, 0x78, 0x47, + 0x3f, 0x97, 0xf8, 0x00, 0xc7, 0xa0, 0x10, 0x3f, 0xd7, 0xa0, 0x60, 0x01, 0x66, 0xa7, 0x13, 0x8c, + 0x5c, 0x8a, 0xc9, 0xf9, 0xb9, 0x7a, 0x78, 0x9d, 0xe9, 0x24, 0x8e, 0xe9, 0x94, 0x00, 0x90, 0xf7, + 0x02, 0x18, 0xa3, 0x9c, 0xa0, 0x3a, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, + 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0x9e, 0x87, 0x05, 0x55, 0x41, 0x66, 0x31, 0x8e, 0x90, 0xb3, 0x06, + 0x93, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0xc9, 0xba, 0x43, 0x8c, 0x72, 0x4c, 0x29, + 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0x3d, 0x50, 0x80, 0x14, 0x9f, 0x82, 0xc9, 0xc7, 0x38, + 0xa6, 0x14, 0xc7, 0xc0, 0xe5, 0x63, 0xc2, 0x0c, 0x62, 0xc0, 0xf2, 0x49, 0x6c, 0x60, 0x4b, 0x8d, + 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x21, 0x62, 0xf1, 0x14, 0xad, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_custom_attribute_index.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_custom_attribute_index.pb.go new file mode 100644 index 000000000..56af308a4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_custom_attribute_index.pb.go @@ -0,0 +1,129 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/listing_custom_attribute_index.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The index of the listing custom attribute. +type ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex int32 + +const ( + // Not specified. + ListingCustomAttributeIndexEnum_UNSPECIFIED ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 0 + // Used for return value only. Represents value unknown in this version. + ListingCustomAttributeIndexEnum_UNKNOWN ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 1 + // First listing custom attribute. + ListingCustomAttributeIndexEnum_CUSTOM_ATTRIBUTE_0 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 2 + // Second listing custom attribute. + ListingCustomAttributeIndexEnum_CUSTOM_ATTRIBUTE_1 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 3 + // Third listing custom attribute. + ListingCustomAttributeIndexEnum_CUSTOM_ATTRIBUTE_2 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 4 + // Fourth listing custom attribute. + ListingCustomAttributeIndexEnum_CUSTOM_ATTRIBUTE_3 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 5 + // Fifth listing custom attribute. + ListingCustomAttributeIndexEnum_CUSTOM_ATTRIBUTE_4 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 6 +) + +var ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CUSTOM_ATTRIBUTE_0", + 3: "CUSTOM_ATTRIBUTE_1", + 4: "CUSTOM_ATTRIBUTE_2", + 5: "CUSTOM_ATTRIBUTE_3", + 6: "CUSTOM_ATTRIBUTE_4", +} +var ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CUSTOM_ATTRIBUTE_0": 2, + "CUSTOM_ATTRIBUTE_1": 3, + "CUSTOM_ATTRIBUTE_2": 4, + "CUSTOM_ATTRIBUTE_3": 5, + "CUSTOM_ATTRIBUTE_4": 6, +} + +func (x ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex) String() string { + return proto.EnumName(ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name, int32(x)) +} +func (ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_listing_custom_attribute_index_238055c47db24f86, []int{0, 0} +} + +// Container for enum describing the index of the listing custom attribute. +type ListingCustomAttributeIndexEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingCustomAttributeIndexEnum) Reset() { *m = ListingCustomAttributeIndexEnum{} } +func (m *ListingCustomAttributeIndexEnum) String() string { return proto.CompactTextString(m) } +func (*ListingCustomAttributeIndexEnum) ProtoMessage() {} +func (*ListingCustomAttributeIndexEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_listing_custom_attribute_index_238055c47db24f86, []int{0} +} +func (m *ListingCustomAttributeIndexEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingCustomAttributeIndexEnum.Unmarshal(m, b) +} +func (m *ListingCustomAttributeIndexEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingCustomAttributeIndexEnum.Marshal(b, m, deterministic) +} +func (dst *ListingCustomAttributeIndexEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingCustomAttributeIndexEnum.Merge(dst, src) +} +func (m *ListingCustomAttributeIndexEnum) XXX_Size() int { + return xxx_messageInfo_ListingCustomAttributeIndexEnum.Size(m) +} +func (m *ListingCustomAttributeIndexEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ListingCustomAttributeIndexEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingCustomAttributeIndexEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListingCustomAttributeIndexEnum)(nil), "google.ads.googleads.v0.enums.ListingCustomAttributeIndexEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex", ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name, ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/listing_custom_attribute_index.proto", fileDescriptor_listing_custom_attribute_index_238055c47db24f86) +} + +var fileDescriptor_listing_custom_attribute_index_238055c47db24f86 = []byte{ + // 306 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x9c, 0xcc, 0xe2, 0x92, 0xcc, 0xbc, 0xf4, 0xf8, 0xe4, 0xd2, 0xe2, 0x92, + 0xfc, 0xdc, 0xf8, 0xc4, 0x92, 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0xf8, 0xcc, 0xbc, 0x94, + 0xd4, 0x0a, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x46, 0xbd, 0xc4, 0x94, 0x62, + 0x3d, 0xb8, 0x19, 0x7a, 0x65, 0x06, 0x7a, 0x60, 0x33, 0x94, 0xae, 0x33, 0x72, 0xc9, 0xfb, 0x40, + 0xcc, 0x71, 0x06, 0x1b, 0xe3, 0x08, 0x33, 0xc5, 0x13, 0x64, 0x88, 0x6b, 0x5e, 0x69, 0xae, 0xd2, + 0x66, 0x46, 0x2e, 0x69, 0x3c, 0x6a, 0x84, 0xf8, 0xb9, 0xb8, 0x43, 0xfd, 0x82, 0x03, 0x5c, 0x9d, + 0x3d, 0xdd, 0x3c, 0x5d, 0x5d, 0x04, 0x18, 0x84, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, + 0xc3, 0xfd, 0x04, 0x18, 0x85, 0xc4, 0xb8, 0x84, 0x9c, 0x43, 0x83, 0x43, 0xfc, 0x7d, 0xe3, 0x1d, + 0x43, 0x42, 0x82, 0x3c, 0x9d, 0x42, 0x43, 0x5c, 0xe3, 0x0d, 0x04, 0x98, 0xb0, 0x8a, 0x1b, 0x0a, + 0x30, 0x63, 0x15, 0x37, 0x12, 0x60, 0xc1, 0x2a, 0x6e, 0x2c, 0xc0, 0x8a, 0x55, 0xdc, 0x44, 0x80, + 0xcd, 0xe9, 0x22, 0x23, 0x97, 0x62, 0x72, 0x7e, 0xae, 0x1e, 0x5e, 0xff, 0x3b, 0x29, 0xe0, 0xf1, + 0x58, 0x00, 0x28, 0x00, 0x03, 0x18, 0xa3, 0xa0, 0xd1, 0xa0, 0x97, 0x9e, 0x9f, 0x93, 0x98, 0x97, + 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0x0e, 0x5e, 0x58, 0xb4, 0x14, 0x64, 0x16, + 0xe3, 0x88, 0x25, 0x6b, 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0xac, 0x3b, + 0xc4, 0x28, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, 0x05, 0x74, 0xf1, + 0x29, 0x98, 0x7c, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x3e, 0x26, 0xcc, 0x20, 0x06, 0x2c, 0x9f, + 0xc4, 0x06, 0xb6, 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x05, 0xe3, 0x48, 0x19, 0x02, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_group_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_group_type.pb.go new file mode 100644 index 000000000..a95c33de3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/listing_group_type.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/listing_group_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of the listing group. +type ListingGroupTypeEnum_ListingGroupType int32 + +const ( + // Not specified. + ListingGroupTypeEnum_UNSPECIFIED ListingGroupTypeEnum_ListingGroupType = 0 + // Used for return value only. Represents value unknown in this version. + ListingGroupTypeEnum_UNKNOWN ListingGroupTypeEnum_ListingGroupType = 1 + // Subdivision of products along some listing dimension. These nodes + // are not used by serving to target listing entries, but is purely + // to define the structure of the tree. + ListingGroupTypeEnum_SUBDIVISION ListingGroupTypeEnum_ListingGroupType = 2 + // Listing group unit that defines a bid. + ListingGroupTypeEnum_UNIT ListingGroupTypeEnum_ListingGroupType = 3 +) + +var ListingGroupTypeEnum_ListingGroupType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SUBDIVISION", + 3: "UNIT", +} +var ListingGroupTypeEnum_ListingGroupType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SUBDIVISION": 2, + "UNIT": 3, +} + +func (x ListingGroupTypeEnum_ListingGroupType) String() string { + return proto.EnumName(ListingGroupTypeEnum_ListingGroupType_name, int32(x)) +} +func (ListingGroupTypeEnum_ListingGroupType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_listing_group_type_2f6adbfc1adad4a7, []int{0, 0} +} + +// Container for enum describing the type of the listing group. +type ListingGroupTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListingGroupTypeEnum) Reset() { *m = ListingGroupTypeEnum{} } +func (m *ListingGroupTypeEnum) String() string { return proto.CompactTextString(m) } +func (*ListingGroupTypeEnum) ProtoMessage() {} +func (*ListingGroupTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_listing_group_type_2f6adbfc1adad4a7, []int{0} +} +func (m *ListingGroupTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListingGroupTypeEnum.Unmarshal(m, b) +} +func (m *ListingGroupTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListingGroupTypeEnum.Marshal(b, m, deterministic) +} +func (dst *ListingGroupTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListingGroupTypeEnum.Merge(dst, src) +} +func (m *ListingGroupTypeEnum) XXX_Size() int { + return xxx_messageInfo_ListingGroupTypeEnum.Size(m) +} +func (m *ListingGroupTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ListingGroupTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ListingGroupTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListingGroupTypeEnum)(nil), "google.ads.googleads.v0.enums.ListingGroupTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ListingGroupTypeEnum_ListingGroupType", ListingGroupTypeEnum_ListingGroupType_name, ListingGroupTypeEnum_ListingGroupType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/listing_group_type.proto", fileDescriptor_listing_group_type_2f6adbfc1adad4a7) +} + +var fileDescriptor_listing_group_type_2f6adbfc1adad4a7 = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x9c, 0xcc, 0xe2, 0x92, 0xcc, 0xbc, 0xf4, 0xf8, 0xf4, 0xa2, 0xfc, 0xd2, + 0x82, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x62, + 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x3e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x3e, 0xa5, 0x64, 0x2e, + 0x11, 0x1f, 0x88, 0x56, 0x77, 0x90, 0xce, 0x90, 0xca, 0x82, 0x54, 0xd7, 0xbc, 0xd2, 0x5c, 0x25, + 0x6f, 0x2e, 0x01, 0x74, 0x71, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, + 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, + 0x3f, 0x01, 0x46, 0x90, 0x6c, 0x70, 0xa8, 0x93, 0x8b, 0x67, 0x98, 0x67, 0xb0, 0xa7, 0xbf, 0x9f, + 0x00, 0x93, 0x10, 0x07, 0x17, 0x4b, 0xa8, 0x9f, 0x67, 0x88, 0x00, 0xb3, 0xd3, 0x31, 0x46, 0x2e, + 0xc5, 0xe4, 0xfc, 0x5c, 0x3d, 0xbc, 0x4e, 0x71, 0x12, 0x45, 0xb7, 0x30, 0x00, 0xe4, 0x81, 0x00, + 0xc6, 0x28, 0x27, 0xa8, 0xbe, 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, + 0xf4, 0xd4, 0x3c, 0xb0, 0xf7, 0x60, 0x41, 0x51, 0x90, 0x59, 0x8c, 0x23, 0x64, 0xac, 0xc1, 0xe4, + 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0xb2, 0xee, 0x10, 0xa3, 0x1c, 0x53, 0x8a, 0xf5, + 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0xe4, 0xe9, 0xe2, 0x53, 0x30, 0xf9, 0x18, 0xc7, 0x94, + 0xe2, 0x18, 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, 0x3e, 0x89, 0x0d, 0x6c, 0xa9, 0x31, 0x20, + 0x00, 0x00, 0xff, 0xff, 0x44, 0x5a, 0x2e, 0x34, 0x8d, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/local_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/local_placeholder_field.pb.go new file mode 100644 index 000000000..478751fdb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/local_placeholder_field.pb.go @@ -0,0 +1,213 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/local_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Local placeholder fields. +type LocalPlaceholderFieldEnum_LocalPlaceholderField int32 + +const ( + // Not specified. + LocalPlaceholderFieldEnum_UNSPECIFIED LocalPlaceholderFieldEnum_LocalPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + LocalPlaceholderFieldEnum_UNKNOWN LocalPlaceholderFieldEnum_LocalPlaceholderField = 1 + // Data Type: STRING. Required. Unique ID. + LocalPlaceholderFieldEnum_DEAL_ID LocalPlaceholderFieldEnum_LocalPlaceholderField = 2 + // Data Type: STRING. Required. Main headline with local deal title to be + // shown in dynamic ad. + LocalPlaceholderFieldEnum_DEAL_NAME LocalPlaceholderFieldEnum_LocalPlaceholderField = 3 + // Data Type: STRING. Local deal subtitle to be shown in dynamic ad. + LocalPlaceholderFieldEnum_SUBTITLE LocalPlaceholderFieldEnum_LocalPlaceholderField = 4 + // Data Type: STRING. Description of local deal to be shown in dynamic ad. + LocalPlaceholderFieldEnum_DESCRIPTION LocalPlaceholderFieldEnum_LocalPlaceholderField = 5 + // Data Type: STRING. Price to be shown in the ad. Highly recommended for + // dynamic ads. Example: "100.00 USD" + LocalPlaceholderFieldEnum_PRICE LocalPlaceholderFieldEnum_LocalPlaceholderField = 6 + // Data Type: STRING. Formatted price to be shown in the ad. + // Example: "Starting at $100.00 USD", "$80 - $100" + LocalPlaceholderFieldEnum_FORMATTED_PRICE LocalPlaceholderFieldEnum_LocalPlaceholderField = 7 + // Data Type: STRING. Sale price to be shown in the ad. + // Example: "80.00 USD" + LocalPlaceholderFieldEnum_SALE_PRICE LocalPlaceholderFieldEnum_LocalPlaceholderField = 8 + // Data Type: STRING. Formatted sale price to be shown in the ad. + // Example: "On sale for $80.00", "$60 - $80" + LocalPlaceholderFieldEnum_FORMATTED_SALE_PRICE LocalPlaceholderFieldEnum_LocalPlaceholderField = 9 + // Data Type: URL. Image to be displayed in the ad. + LocalPlaceholderFieldEnum_IMAGE_URL LocalPlaceholderFieldEnum_LocalPlaceholderField = 10 + // Data Type: STRING. Complete property address, including postal code. + LocalPlaceholderFieldEnum_ADDRESS LocalPlaceholderFieldEnum_LocalPlaceholderField = 11 + // Data Type: STRING. Category of local deal used to group like items + // together for recommendation engine. + LocalPlaceholderFieldEnum_CATEGORY LocalPlaceholderFieldEnum_LocalPlaceholderField = 12 + // Data Type: STRING_LIST. Keywords used for product retrieval. + LocalPlaceholderFieldEnum_CONTEXTUAL_KEYWORDS LocalPlaceholderFieldEnum_LocalPlaceholderField = 13 + // Data Type: URL_LIST. Required. Final URLs to be used in ad when using + // Upgraded URLs; the more specific the better (e.g. the individual URL of a + // specific local deal and its location). + LocalPlaceholderFieldEnum_FINAL_URLS LocalPlaceholderFieldEnum_LocalPlaceholderField = 14 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + LocalPlaceholderFieldEnum_FINAL_MOBILE_URLS LocalPlaceholderFieldEnum_LocalPlaceholderField = 15 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + LocalPlaceholderFieldEnum_TRACKING_URL LocalPlaceholderFieldEnum_LocalPlaceholderField = 16 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + LocalPlaceholderFieldEnum_ANDROID_APP_LINK LocalPlaceholderFieldEnum_LocalPlaceholderField = 17 + // Data Type: STRING_LIST. List of recommended local deal IDs to show + // together with this item. + LocalPlaceholderFieldEnum_SIMILAR_DEAL_IDS LocalPlaceholderFieldEnum_LocalPlaceholderField = 18 + // Data Type: STRING. iOS app link. + LocalPlaceholderFieldEnum_IOS_APP_LINK LocalPlaceholderFieldEnum_LocalPlaceholderField = 19 + // Data Type: INT64. iOS app store ID. + LocalPlaceholderFieldEnum_IOS_APP_STORE_ID LocalPlaceholderFieldEnum_LocalPlaceholderField = 20 +) + +var LocalPlaceholderFieldEnum_LocalPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DEAL_ID", + 3: "DEAL_NAME", + 4: "SUBTITLE", + 5: "DESCRIPTION", + 6: "PRICE", + 7: "FORMATTED_PRICE", + 8: "SALE_PRICE", + 9: "FORMATTED_SALE_PRICE", + 10: "IMAGE_URL", + 11: "ADDRESS", + 12: "CATEGORY", + 13: "CONTEXTUAL_KEYWORDS", + 14: "FINAL_URLS", + 15: "FINAL_MOBILE_URLS", + 16: "TRACKING_URL", + 17: "ANDROID_APP_LINK", + 18: "SIMILAR_DEAL_IDS", + 19: "IOS_APP_LINK", + 20: "IOS_APP_STORE_ID", +} +var LocalPlaceholderFieldEnum_LocalPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DEAL_ID": 2, + "DEAL_NAME": 3, + "SUBTITLE": 4, + "DESCRIPTION": 5, + "PRICE": 6, + "FORMATTED_PRICE": 7, + "SALE_PRICE": 8, + "FORMATTED_SALE_PRICE": 9, + "IMAGE_URL": 10, + "ADDRESS": 11, + "CATEGORY": 12, + "CONTEXTUAL_KEYWORDS": 13, + "FINAL_URLS": 14, + "FINAL_MOBILE_URLS": 15, + "TRACKING_URL": 16, + "ANDROID_APP_LINK": 17, + "SIMILAR_DEAL_IDS": 18, + "IOS_APP_LINK": 19, + "IOS_APP_STORE_ID": 20, +} + +func (x LocalPlaceholderFieldEnum_LocalPlaceholderField) String() string { + return proto.EnumName(LocalPlaceholderFieldEnum_LocalPlaceholderField_name, int32(x)) +} +func (LocalPlaceholderFieldEnum_LocalPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_local_placeholder_field_023a7c86e9401707, []int{0, 0} +} + +// Values for Local placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type LocalPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalPlaceholderFieldEnum) Reset() { *m = LocalPlaceholderFieldEnum{} } +func (m *LocalPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*LocalPlaceholderFieldEnum) ProtoMessage() {} +func (*LocalPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_local_placeholder_field_023a7c86e9401707, []int{0} +} +func (m *LocalPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *LocalPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *LocalPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPlaceholderFieldEnum.Merge(dst, src) +} +func (m *LocalPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_LocalPlaceholderFieldEnum.Size(m) +} +func (m *LocalPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*LocalPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.LocalPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField", LocalPlaceholderFieldEnum_LocalPlaceholderField_name, LocalPlaceholderFieldEnum_LocalPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/local_placeholder_field.proto", fileDescriptor_local_placeholder_field_023a7c86e9401707) +} + +var fileDescriptor_local_placeholder_field_023a7c86e9401707 = []byte{ + // 472 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4b, 0x6e, 0xdb, 0x30, + 0x14, 0x6c, 0xec, 0xe6, 0x63, 0xda, 0x89, 0x19, 0xda, 0x41, 0x3f, 0x40, 0x16, 0xcd, 0x01, 0x24, + 0x03, 0x5d, 0x66, 0x45, 0x89, 0xb4, 0x40, 0x98, 0x22, 0x05, 0x92, 0x4a, 0x9a, 0xc2, 0x80, 0xa0, + 0x5a, 0xaa, 0x1a, 0x40, 0xb6, 0x0c, 0xab, 0xc9, 0x21, 0x7a, 0x8c, 0xae, 0x8a, 0x1e, 0xa5, 0xbd, + 0x54, 0x41, 0xc9, 0x8e, 0xbb, 0x48, 0xbb, 0x21, 0xde, 0x7b, 0xf3, 0x66, 0x86, 0x20, 0x07, 0x5c, + 0x17, 0x55, 0x55, 0x94, 0xb9, 0x9b, 0x66, 0xb5, 0xdb, 0x96, 0xb6, 0x7a, 0x9c, 0xb8, 0xf9, 0xea, + 0x61, 0x59, 0xbb, 0x65, 0xb5, 0x48, 0xcb, 0x64, 0x5d, 0xa6, 0x8b, 0xfc, 0x4b, 0x55, 0x66, 0xf9, + 0x26, 0xf9, 0x7c, 0x9f, 0x97, 0x99, 0xb3, 0xde, 0x54, 0x5f, 0x2b, 0x74, 0xd9, 0x32, 0x9c, 0x34, + 0xab, 0x9d, 0x27, 0xb2, 0xf3, 0x38, 0x71, 0x1a, 0xf2, 0xd5, 0x8f, 0x2e, 0x78, 0xc3, 0xad, 0x40, + 0xb4, 0xe7, 0x4f, 0x2d, 0x9d, 0xae, 0x1e, 0x96, 0x57, 0xdf, 0xba, 0xe0, 0xe2, 0x59, 0x14, 0x0d, + 0x41, 0x3f, 0x16, 0x3a, 0xa2, 0x3e, 0x9b, 0x32, 0x4a, 0xe0, 0x0b, 0xd4, 0x07, 0xc7, 0xb1, 0x98, + 0x09, 0x79, 0x2b, 0xe0, 0x81, 0x6d, 0x08, 0xc5, 0x3c, 0x61, 0x04, 0x76, 0xd0, 0x29, 0xe8, 0x35, + 0x8d, 0xc0, 0x21, 0x85, 0x5d, 0x34, 0x00, 0x27, 0x3a, 0xf6, 0x0c, 0x33, 0x9c, 0xc2, 0x97, 0x56, + 0x87, 0x50, 0xed, 0x2b, 0x16, 0x19, 0x26, 0x05, 0x3c, 0x44, 0x3d, 0x70, 0x18, 0x29, 0xe6, 0x53, + 0x78, 0x84, 0x46, 0x60, 0x38, 0x95, 0x2a, 0xc4, 0xc6, 0x50, 0x92, 0xb4, 0xc3, 0x63, 0x74, 0x06, + 0x80, 0xc6, 0x9c, 0x6e, 0xfb, 0x13, 0xf4, 0x1a, 0x8c, 0xf7, 0x4b, 0x7f, 0x21, 0x3d, 0xeb, 0xcb, + 0x42, 0x1c, 0xd0, 0x24, 0x56, 0x1c, 0x02, 0x7b, 0x27, 0x4c, 0x88, 0xa2, 0x5a, 0xc3, 0xbe, 0xbd, + 0x84, 0x8f, 0x0d, 0x0d, 0xa4, 0xba, 0x83, 0x03, 0xf4, 0x0a, 0x8c, 0x7c, 0x29, 0x0c, 0xfd, 0x60, + 0x62, 0xcc, 0x93, 0x19, 0xbd, 0xbb, 0x95, 0x8a, 0x68, 0x78, 0x6a, 0xcd, 0xa6, 0x4c, 0x60, 0x6e, + 0x25, 0x34, 0x3c, 0x43, 0x17, 0xe0, 0xbc, 0xed, 0x43, 0xe9, 0x31, 0x4e, 0xdb, 0xf1, 0x10, 0x41, + 0x30, 0x30, 0x0a, 0xfb, 0x33, 0x26, 0x82, 0xc6, 0x0c, 0xa2, 0x31, 0x80, 0x58, 0x10, 0x25, 0x19, + 0x49, 0x70, 0x14, 0x25, 0x9c, 0x89, 0x19, 0x3c, 0xb7, 0x53, 0xcd, 0x42, 0xc6, 0xb1, 0x4a, 0xb6, + 0xcf, 0xa3, 0x21, 0xb2, 0x6c, 0x26, 0xf5, 0x7e, 0x6f, 0x64, 0xf7, 0x76, 0x13, 0x6d, 0xa4, 0xa2, + 0xf6, 0x1d, 0xc7, 0xde, 0xef, 0x03, 0xf0, 0x6e, 0x51, 0x2d, 0x9d, 0xff, 0x7e, 0xa8, 0xf7, 0xf6, + 0xd9, 0xff, 0x8a, 0x6c, 0x16, 0xa2, 0x83, 0x8f, 0xde, 0x96, 0x5c, 0x54, 0x65, 0xba, 0x2a, 0x9c, + 0x6a, 0x53, 0xb8, 0x45, 0xbe, 0x6a, 0x92, 0xb2, 0x8b, 0xd6, 0xfa, 0xbe, 0xfe, 0x47, 0xd2, 0xae, + 0x9b, 0xf3, 0x7b, 0xa7, 0x1b, 0x60, 0xfc, 0xb3, 0x73, 0x19, 0xb4, 0x52, 0x38, 0xab, 0x9d, 0xb6, + 0xb4, 0xd5, 0xcd, 0xc4, 0xb1, 0xc9, 0xa9, 0x7f, 0xed, 0xf0, 0x39, 0xce, 0xea, 0xf9, 0x13, 0x3e, + 0xbf, 0x99, 0xcc, 0x1b, 0xfc, 0xd3, 0x51, 0x63, 0xfa, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x06, 0xf2, 0xd4, 0x06, 0xdd, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/manager_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/manager_link_status.pb.go new file mode 100644 index 000000000..9acda89c1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/manager_link_status.pb.go @@ -0,0 +1,130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/manager_link_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible statuses of a link. +type ManagerLinkStatusEnum_ManagerLinkStatus int32 + +const ( + // Not specified. + ManagerLinkStatusEnum_UNSPECIFIED ManagerLinkStatusEnum_ManagerLinkStatus = 0 + // Used for return value only. Represents value unknown in this version. + ManagerLinkStatusEnum_UNKNOWN ManagerLinkStatusEnum_ManagerLinkStatus = 1 + // Indicates current in-effect relationship + ManagerLinkStatusEnum_ACTIVE ManagerLinkStatusEnum_ManagerLinkStatus = 2 + // Indicates terminated relationship + ManagerLinkStatusEnum_INACTIVE ManagerLinkStatusEnum_ManagerLinkStatus = 3 + // Indicates relationship has been requested by manager, but the client + // hasn't accepted yet. + ManagerLinkStatusEnum_PENDING ManagerLinkStatusEnum_ManagerLinkStatus = 4 + // Relationship was requested by the manager, but the client has refused. + ManagerLinkStatusEnum_REFUSED ManagerLinkStatusEnum_ManagerLinkStatus = 5 + // Indicates relationship has been requested by manager, but manager + // canceled it. + ManagerLinkStatusEnum_CANCELED ManagerLinkStatusEnum_ManagerLinkStatus = 6 +) + +var ManagerLinkStatusEnum_ManagerLinkStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ACTIVE", + 3: "INACTIVE", + 4: "PENDING", + 5: "REFUSED", + 6: "CANCELED", +} +var ManagerLinkStatusEnum_ManagerLinkStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ACTIVE": 2, + "INACTIVE": 3, + "PENDING": 4, + "REFUSED": 5, + "CANCELED": 6, +} + +func (x ManagerLinkStatusEnum_ManagerLinkStatus) String() string { + return proto.EnumName(ManagerLinkStatusEnum_ManagerLinkStatus_name, int32(x)) +} +func (ManagerLinkStatusEnum_ManagerLinkStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_manager_link_status_1264462a2bb5df34, []int{0, 0} +} + +// Container for enum describing possible status of a manager and client link. +type ManagerLinkStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManagerLinkStatusEnum) Reset() { *m = ManagerLinkStatusEnum{} } +func (m *ManagerLinkStatusEnum) String() string { return proto.CompactTextString(m) } +func (*ManagerLinkStatusEnum) ProtoMessage() {} +func (*ManagerLinkStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_manager_link_status_1264462a2bb5df34, []int{0} +} +func (m *ManagerLinkStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManagerLinkStatusEnum.Unmarshal(m, b) +} +func (m *ManagerLinkStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManagerLinkStatusEnum.Marshal(b, m, deterministic) +} +func (dst *ManagerLinkStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagerLinkStatusEnum.Merge(dst, src) +} +func (m *ManagerLinkStatusEnum) XXX_Size() int { + return xxx_messageInfo_ManagerLinkStatusEnum.Size(m) +} +func (m *ManagerLinkStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ManagerLinkStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagerLinkStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ManagerLinkStatusEnum)(nil), "google.ads.googleads.v0.enums.ManagerLinkStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ManagerLinkStatusEnum_ManagerLinkStatus", ManagerLinkStatusEnum_ManagerLinkStatus_name, ManagerLinkStatusEnum_ManagerLinkStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/manager_link_status.proto", fileDescriptor_manager_link_status_1264462a2bb5df34) +} + +var fileDescriptor_manager_link_status_1264462a2bb5df34 = []byte{ + // 300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xdc, 0xc4, 0xbc, 0xc4, 0xf4, 0xd4, 0xa2, 0xf8, 0x9c, 0xcc, 0xbc, 0xec, + 0xf8, 0xe2, 0x92, 0xc4, 0x92, 0xd2, 0x62, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, + 0x6a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x46, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x46, 0xa5, 0x1e, + 0x46, 0x2e, 0x51, 0x5f, 0x88, 0x66, 0x9f, 0xcc, 0xbc, 0xec, 0x60, 0xb0, 0x56, 0xd7, 0xbc, 0xd2, + 0x5c, 0xa5, 0x62, 0x2e, 0x41, 0x0c, 0x09, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, + 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, + 0xff, 0x70, 0x3f, 0x01, 0x46, 0x21, 0x2e, 0x2e, 0x36, 0x47, 0xe7, 0x10, 0xcf, 0x30, 0x57, 0x01, + 0x26, 0x21, 0x1e, 0x2e, 0x0e, 0x4f, 0x3f, 0x28, 0x8f, 0x19, 0xa4, 0x2c, 0xc0, 0xd5, 0xcf, 0xc5, + 0xd3, 0xcf, 0x5d, 0x80, 0x05, 0xc4, 0x09, 0x72, 0x75, 0x0b, 0x0d, 0x76, 0x75, 0x11, 0x60, 0x05, + 0xa9, 0x73, 0x76, 0xf4, 0x73, 0x76, 0xf5, 0x71, 0x75, 0x11, 0x60, 0x73, 0x3a, 0xce, 0xc8, 0xa5, + 0x98, 0x9c, 0x9f, 0xab, 0x87, 0xd7, 0xd1, 0x4e, 0x62, 0x18, 0x0e, 0x0b, 0x00, 0xf9, 0x35, 0x80, + 0x31, 0xca, 0x09, 0xaa, 0x31, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, + 0x3d, 0x35, 0x0f, 0x1c, 0x12, 0xb0, 0x60, 0x2b, 0xc8, 0x2c, 0xc6, 0x11, 0x8a, 0xd6, 0x60, 0x72, + 0x11, 0x13, 0xb3, 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x59, 0x77, 0x88, 0x51, 0x8e, 0x29, 0xc5, 0x7a, + 0x10, 0x26, 0x88, 0x15, 0x66, 0xa0, 0x07, 0x0a, 0x9d, 0xe2, 0x53, 0x30, 0xf9, 0x18, 0xc7, 0x94, + 0xe2, 0x18, 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, 0x3e, 0x89, 0x0d, 0x6c, 0xa9, 0x31, 0x20, + 0x00, 0x00, 0xff, 0xff, 0xa3, 0xd0, 0xba, 0x7b, 0xb9, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/media_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/media_type.pb.go new file mode 100644 index 000000000..e1a486b6b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/media_type.pb.go @@ -0,0 +1,134 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/media_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of media. +type MediaTypeEnum_MediaType int32 + +const ( + // The media type has not been specified. + MediaTypeEnum_UNSPECIFIED MediaTypeEnum_MediaType = 0 + // The received value is not known in this version. + // + // This is a response-only value. + MediaTypeEnum_UNKNOWN MediaTypeEnum_MediaType = 1 + // Static image, used for image ad. + MediaTypeEnum_IMAGE MediaTypeEnum_MediaType = 2 + // Small image, used for map ad. + MediaTypeEnum_ICON MediaTypeEnum_MediaType = 3 + // ZIP file, used in fields of template ads. + MediaTypeEnum_MEDIA_BUNDLE MediaTypeEnum_MediaType = 4 + // Audio file. + MediaTypeEnum_AUDIO MediaTypeEnum_MediaType = 5 + // Video file. + MediaTypeEnum_VIDEO MediaTypeEnum_MediaType = 6 + // Animated image, such as animated GIF. + MediaTypeEnum_DYNAMIC_IMAGE MediaTypeEnum_MediaType = 7 +) + +var MediaTypeEnum_MediaType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "IMAGE", + 3: "ICON", + 4: "MEDIA_BUNDLE", + 5: "AUDIO", + 6: "VIDEO", + 7: "DYNAMIC_IMAGE", +} +var MediaTypeEnum_MediaType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "IMAGE": 2, + "ICON": 3, + "MEDIA_BUNDLE": 4, + "AUDIO": 5, + "VIDEO": 6, + "DYNAMIC_IMAGE": 7, +} + +func (x MediaTypeEnum_MediaType) String() string { + return proto.EnumName(MediaTypeEnum_MediaType_name, int32(x)) +} +func (MediaTypeEnum_MediaType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_media_type_f416f7e8a8d21052, []int{0, 0} +} + +// Container for enum describing the types of media. +type MediaTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaTypeEnum) Reset() { *m = MediaTypeEnum{} } +func (m *MediaTypeEnum) String() string { return proto.CompactTextString(m) } +func (*MediaTypeEnum) ProtoMessage() {} +func (*MediaTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_media_type_f416f7e8a8d21052, []int{0} +} +func (m *MediaTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaTypeEnum.Unmarshal(m, b) +} +func (m *MediaTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaTypeEnum.Marshal(b, m, deterministic) +} +func (dst *MediaTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaTypeEnum.Merge(dst, src) +} +func (m *MediaTypeEnum) XXX_Size() int { + return xxx_messageInfo_MediaTypeEnum.Size(m) +} +func (m *MediaTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MediaTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MediaTypeEnum)(nil), "google.ads.googleads.v0.enums.MediaTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.MediaTypeEnum_MediaType", MediaTypeEnum_MediaType_name, MediaTypeEnum_MediaType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/media_type.proto", fileDescriptor_media_type_f416f7e8a8d21052) +} + +var fileDescriptor_media_type_f416f7e8a8d21052 = []byte{ + // 299 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xc3, 0x30, + 0x1c, 0xc7, 0xed, 0xfe, 0xba, 0xcc, 0x69, 0xcc, 0x7d, 0x07, 0xf7, 0x00, 0x69, 0xc1, 0xa3, 0xa7, + 0x74, 0x89, 0x23, 0x68, 0xd3, 0x81, 0x76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, 0x4b, 0xe7, + 0xc5, 0xff, 0x2d, 0x50, 0x7a, 0x93, 0x16, 0x0a, 0xeb, 0xad, 0x72, 0x95, 0x2c, 0xea, 0xfb, 0x8f, + 0x19, 0x95, 0x6b, 0xf3, 0x47, 0x64, 0x37, 0xf5, 0xfb, 0xd1, 0xe9, 0x2e, 0x08, 0xf9, 0xec, 0x4c, + 0x17, 0x4d, 0x2b, 0x92, 0x19, 0xdc, 0xa0, 0xa5, 0x95, 0x87, 0x6d, 0x36, 0xe6, 0xfb, 0xa8, 0xc7, + 0x24, 0x33, 0x71, 0xab, 0xc7, 0x2b, 0x2f, 0xae, 0xf5, 0xd7, 0x41, 0x3d, 0xf4, 0xfa, 0x27, 0x00, + 0x00, 0xff, 0xff, 0x7b, 0x20, 0xa1, 0xf0, 0xa6, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/message_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/message_placeholder_field.pb.go new file mode 100644 index 000000000..e136e8df7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/message_placeholder_field.pb.go @@ -0,0 +1,132 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/message_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Message placeholder fields. +type MessagePlaceholderFieldEnum_MessagePlaceholderField int32 + +const ( + // Not specified. + MessagePlaceholderFieldEnum_UNSPECIFIED MessagePlaceholderFieldEnum_MessagePlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + MessagePlaceholderFieldEnum_UNKNOWN MessagePlaceholderFieldEnum_MessagePlaceholderField = 1 + // Data Type: STRING. The name of your business. + MessagePlaceholderFieldEnum_BUSINESS_NAME MessagePlaceholderFieldEnum_MessagePlaceholderField = 2 + // Data Type: STRING. Country code of phone number. + MessagePlaceholderFieldEnum_COUNTRY_CODE MessagePlaceholderFieldEnum_MessagePlaceholderField = 3 + // Data Type: STRING. A phone number that's capable of sending and receiving + // text messages. + MessagePlaceholderFieldEnum_PHONE_NUMBER MessagePlaceholderFieldEnum_MessagePlaceholderField = 4 + // Data Type: STRING. The text that will go in your click-to-message ad. + MessagePlaceholderFieldEnum_MESSAGE_EXTENSION_TEXT MessagePlaceholderFieldEnum_MessagePlaceholderField = 5 + // Data Type: STRING. The message text automatically shows in people's + // messaging apps when they tap to send you a message. + MessagePlaceholderFieldEnum_MESSAGE_TEXT MessagePlaceholderFieldEnum_MessagePlaceholderField = 6 +) + +var MessagePlaceholderFieldEnum_MessagePlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BUSINESS_NAME", + 3: "COUNTRY_CODE", + 4: "PHONE_NUMBER", + 5: "MESSAGE_EXTENSION_TEXT", + 6: "MESSAGE_TEXT", +} +var MessagePlaceholderFieldEnum_MessagePlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BUSINESS_NAME": 2, + "COUNTRY_CODE": 3, + "PHONE_NUMBER": 4, + "MESSAGE_EXTENSION_TEXT": 5, + "MESSAGE_TEXT": 6, +} + +func (x MessagePlaceholderFieldEnum_MessagePlaceholderField) String() string { + return proto.EnumName(MessagePlaceholderFieldEnum_MessagePlaceholderField_name, int32(x)) +} +func (MessagePlaceholderFieldEnum_MessagePlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_message_placeholder_field_4313c91f38e4b5b2, []int{0, 0} +} + +// Values for Message placeholder fields. +type MessagePlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MessagePlaceholderFieldEnum) Reset() { *m = MessagePlaceholderFieldEnum{} } +func (m *MessagePlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*MessagePlaceholderFieldEnum) ProtoMessage() {} +func (*MessagePlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_message_placeholder_field_4313c91f38e4b5b2, []int{0} +} +func (m *MessagePlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MessagePlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *MessagePlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MessagePlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *MessagePlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MessagePlaceholderFieldEnum.Merge(dst, src) +} +func (m *MessagePlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_MessagePlaceholderFieldEnum.Size(m) +} +func (m *MessagePlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MessagePlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MessagePlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MessagePlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.MessagePlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField", MessagePlaceholderFieldEnum_MessagePlaceholderField_name, MessagePlaceholderFieldEnum_MessagePlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/message_placeholder_field.proto", fileDescriptor_message_placeholder_field_4313c91f38e4b5b2) +} + +var fileDescriptor_message_placeholder_field_4313c91f38e4b5b2 = []byte{ + // 333 bytes of a gzipped File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, 0x4a, 0x19, 0x71, 0x7c, 0x0c, 0x1b, 0x26, 0x04, 0x07, 0xbd, 0x20, + 0x26, 0xd1, 0xe8, 0x81, 0xf5, 0x82, 0x3e, 0x86, 0x4d, 0x3d, 0x09, 0x6f, 0x03, 0x82, 0x19, 0x89, + 0x7d, 0x17, 0x8f, 0xe0, 0xae, 0x79, 0x06, 0x4e, 0x7c, 0x4c, 0xa9, 0x33, 0xc4, 0x0c, 0x4f, 0x22, + 0x4c, 0xa8, 0x17, 0x10, 0x16, 0xe1, 0x49, 0x04, 0xf7, 0xf4, 0xed, 0x35, 0xab, 0x26, 0x2d, 0xf7, + 0xdb, 0x00, 0x97, 0x53, 0x59, 0xa0, 0x7f, 0x97, 0x74, 0x2f, 0xb6, 0x6c, 0x10, 0xea, 0x86, 0x42, + 0xe3, 0xd1, 0xfd, 0xb5, 0x0b, 0x99, 0xa7, 0xa5, 0x40, 0x72, 0x21, 0x2c, 0xc1, 0xcb, 0xaa, 0xbf, + 0x75, 0xe5, 0xf3, 0x99, 0xda, 0xf2, 0x03, 0xd7, 0xd5, 0xf9, 0xde, 0x68, 0x0e, 0x1d, 0xe7, 0xa3, + 0xd1, 0x19, 0xd6, 0x51, 0x4e, 0xa6, 0x50, 0x2d, 0xb5, 0x1a, 0xdb, 0x48, 0xb7, 0xa9, 0xbe, 0xd6, + 0x3c, 0x71, 0x32, 0x95, 0x6c, 0x78, 0x32, 0xb6, 0x93, 0x8a, 0x3f, 0xb5, 0xaa, 0x47, 0xaf, 0x7e, + 0x02, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x09, 0x2c, 0x49, 0xf5, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/mime_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/mime_type.pb.go new file mode 100644 index 000000000..e63e18bb0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/mime_type.pb.go @@ -0,0 +1,162 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/mime_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The mime type +type MimeTypeEnum_MimeType int32 + +const ( + // The mime type has not been specified. + MimeTypeEnum_UNSPECIFIED MimeTypeEnum_MimeType = 0 + // The received value is not known in this version. + // + // This is a response-only value. + MimeTypeEnum_UNKNOWN MimeTypeEnum_MimeType = 1 + // MIME type of image/jpeg. + MimeTypeEnum_IMAGE_JPEG MimeTypeEnum_MimeType = 2 + // MIME type of image/gif. + MimeTypeEnum_IMAGE_GIF MimeTypeEnum_MimeType = 3 + // MIME type of image/png. + MimeTypeEnum_IMAGE_PNG MimeTypeEnum_MimeType = 4 + // MIME type of application/x-shockwave-flash. + MimeTypeEnum_FLASH MimeTypeEnum_MimeType = 5 + // MIME type of text/html. + MimeTypeEnum_TEXT_HTML MimeTypeEnum_MimeType = 6 + // MIME type of application/pdf. + MimeTypeEnum_PDF MimeTypeEnum_MimeType = 7 + // MIME type of application/msword. + MimeTypeEnum_MSWORD MimeTypeEnum_MimeType = 8 + // MIME type of application/vnd.ms-excel. + MimeTypeEnum_MSEXCEL MimeTypeEnum_MimeType = 9 + // MIME type of application/rtf. + MimeTypeEnum_RTF MimeTypeEnum_MimeType = 10 + // MIME type of audio/wav. + MimeTypeEnum_AUDIO_WAV MimeTypeEnum_MimeType = 11 + // MIME type of audio/mp3. + MimeTypeEnum_AUDIO_MP3 MimeTypeEnum_MimeType = 12 + // MIME type of application/x-html5-ad-zip. + MimeTypeEnum_HTML5_AD_ZIP MimeTypeEnum_MimeType = 13 +) + +var MimeTypeEnum_MimeType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "IMAGE_JPEG", + 3: "IMAGE_GIF", + 4: "IMAGE_PNG", + 5: "FLASH", + 6: "TEXT_HTML", + 7: "PDF", + 8: "MSWORD", + 9: "MSEXCEL", + 10: "RTF", + 11: "AUDIO_WAV", + 12: "AUDIO_MP3", + 13: "HTML5_AD_ZIP", +} +var MimeTypeEnum_MimeType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "IMAGE_JPEG": 2, + "IMAGE_GIF": 3, + "IMAGE_PNG": 4, + "FLASH": 5, + "TEXT_HTML": 6, + "PDF": 7, + "MSWORD": 8, + "MSEXCEL": 9, + "RTF": 10, + "AUDIO_WAV": 11, + "AUDIO_MP3": 12, + "HTML5_AD_ZIP": 13, +} + +func (x MimeTypeEnum_MimeType) String() string { + return proto.EnumName(MimeTypeEnum_MimeType_name, int32(x)) +} +func (MimeTypeEnum_MimeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_mime_type_488ab8ea3bec433a, []int{0, 0} +} + +// Container for enum describing the mime types. +type MimeTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MimeTypeEnum) Reset() { *m = MimeTypeEnum{} } +func (m *MimeTypeEnum) String() string { return proto.CompactTextString(m) } +func (*MimeTypeEnum) ProtoMessage() {} +func (*MimeTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_mime_type_488ab8ea3bec433a, []int{0} +} +func (m *MimeTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MimeTypeEnum.Unmarshal(m, b) +} +func (m *MimeTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MimeTypeEnum.Marshal(b, m, deterministic) +} +func (dst *MimeTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MimeTypeEnum.Merge(dst, src) +} +func (m *MimeTypeEnum) XXX_Size() int { + return xxx_messageInfo_MimeTypeEnum.Size(m) +} +func (m *MimeTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MimeTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MimeTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MimeTypeEnum)(nil), "google.ads.googleads.v0.enums.MimeTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.MimeTypeEnum_MimeType", MimeTypeEnum_MimeType_name, MimeTypeEnum_MimeType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/mime_type.proto", fileDescriptor_mime_type_488ab8ea3bec433a) +} + +var fileDescriptor_mime_type_488ab8ea3bec433a = []byte{ + // 356 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcd, 0x6e, 0xaa, 0x40, + 0x1c, 0xc5, 0x2f, 0x7a, 0xfd, 0x1a, 0xf5, 0xde, 0x7f, 0x66, 0xef, 0xa2, 0xee, 0x3b, 0x90, 0x98, + 0xae, 0xba, 0x1a, 0x65, 0x40, 0x5a, 0xc1, 0x89, 0xe0, 0x47, 0x0c, 0x09, 0xb1, 0x85, 0x10, 0x13, + 0xf9, 0x88, 0xa8, 0x89, 0xaf, 0xd3, 0x65, 0x1f, 0xa2, 0x0f, 0xd0, 0xbe, 0x42, 0x1f, 0xa6, 0x19, + 0x28, 0xba, 0x6a, 0x37, 0xe4, 0x1c, 0xce, 0x99, 0xff, 0x3f, 0xf3, 0x1b, 0x74, 0x1b, 0x26, 0x49, + 0xb8, 0x0b, 0xe4, 0x8d, 0x9f, 0xc9, 0x85, 0x14, 0xea, 0xa4, 0xc8, 0x41, 0x7c, 0x8c, 0x32, 0x39, + 0xda, 0x46, 0x81, 0x77, 0x38, 0xa7, 0x01, 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, 0x6d, 0xe2, 0x90, + 0x24, 0xfb, 0x50, 0x0e, 0x83, 0x38, 0x07, 0x5a, 0x32, 0x4f, 0xb7, 0xd9, 0x0f, 0x4f, 0x70, 0x9f, + 0x7f, 0x5f, 0x2a, 0x55, 0x9d, 0xd2, 0xd7, 0x4a, 0x4f, 0x2f, 0x46, 0x51, 0x3f, 0x23, 0x85, 0x14, + 0x6a, 0xa1, 0x10, 0x41, 0x3b, 0x7b, 0x2f, 0x73, 0x97, 0xfa, 0x99, 0x7b, 0xc9, 0xdd, 0x85, 0xe2, + 0xe6, 0xf9, 0x53, 0x3d, 0x5f, 0x3a, 0xf8, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x64, 0xde, 0xc3, + 0xf6, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/minute_of_hour.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/minute_of_hour.pb.go new file mode 100644 index 000000000..d46d2fd03 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/minute_of_hour.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/minute_of_hour.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates of quarter-hours. E.g. "FIFTEEN" +type MinuteOfHourEnum_MinuteOfHour int32 + +const ( + // Not specified. + MinuteOfHourEnum_UNSPECIFIED MinuteOfHourEnum_MinuteOfHour = 0 + // The value is unknown in this version. + MinuteOfHourEnum_UNKNOWN MinuteOfHourEnum_MinuteOfHour = 1 + // Zero minutes past the hour. + MinuteOfHourEnum_ZERO MinuteOfHourEnum_MinuteOfHour = 2 + // Fifteen minutes past the hour. + MinuteOfHourEnum_FIFTEEN MinuteOfHourEnum_MinuteOfHour = 3 + // Thirty minutes past the hour. + MinuteOfHourEnum_THIRTY MinuteOfHourEnum_MinuteOfHour = 4 + // Forty-five minutes past the hour. + MinuteOfHourEnum_FORTY_FIVE MinuteOfHourEnum_MinuteOfHour = 5 +) + +var MinuteOfHourEnum_MinuteOfHour_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ZERO", + 3: "FIFTEEN", + 4: "THIRTY", + 5: "FORTY_FIVE", +} +var MinuteOfHourEnum_MinuteOfHour_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ZERO": 2, + "FIFTEEN": 3, + "THIRTY": 4, + "FORTY_FIVE": 5, +} + +func (x MinuteOfHourEnum_MinuteOfHour) String() string { + return proto.EnumName(MinuteOfHourEnum_MinuteOfHour_name, int32(x)) +} +func (MinuteOfHourEnum_MinuteOfHour) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_minute_of_hour_498f12470e9a0321, []int{0, 0} +} + +// Container for enumeration of quarter-hours. +type MinuteOfHourEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MinuteOfHourEnum) Reset() { *m = MinuteOfHourEnum{} } +func (m *MinuteOfHourEnum) String() string { return proto.CompactTextString(m) } +func (*MinuteOfHourEnum) ProtoMessage() {} +func (*MinuteOfHourEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_minute_of_hour_498f12470e9a0321, []int{0} +} +func (m *MinuteOfHourEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MinuteOfHourEnum.Unmarshal(m, b) +} +func (m *MinuteOfHourEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MinuteOfHourEnum.Marshal(b, m, deterministic) +} +func (dst *MinuteOfHourEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MinuteOfHourEnum.Merge(dst, src) +} +func (m *MinuteOfHourEnum) XXX_Size() int { + return xxx_messageInfo_MinuteOfHourEnum.Size(m) +} +func (m *MinuteOfHourEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MinuteOfHourEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MinuteOfHourEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MinuteOfHourEnum)(nil), "google.ads.googleads.v0.enums.MinuteOfHourEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.MinuteOfHourEnum_MinuteOfHour", MinuteOfHourEnum_MinuteOfHour_name, MinuteOfHourEnum_MinuteOfHour_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/minute_of_hour.proto", fileDescriptor_minute_of_hour_498f12470e9a0321) +} + +var fileDescriptor_minute_of_hour_498f12470e9a0321 = []byte{ + // 287 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xb3, 0x40, + 0x14, 0x85, 0x7f, 0x68, 0xff, 0x6a, 0x6e, 0x8d, 0x8e, 0xb3, 0xef, 0xc2, 0x3e, 0xc0, 0x40, 0x74, + 0xe9, 0x0a, 0x74, 0x68, 0x89, 0x11, 0x08, 0x52, 0x4c, 0x1b, 0x12, 0x82, 0x42, 0xc7, 0x26, 0x85, + 0xdb, 0x30, 0xa5, 0x0f, 0xe4, 0xd2, 0xc7, 0x70, 0xe9, 0x53, 0x19, 0x06, 0xdb, 0x74, 0xa3, 0x9b, + 0xc9, 0xc9, 0x3d, 0xf3, 0xcd, 0xdc, 0x73, 0xe0, 0x5a, 0x20, 0x8a, 0x75, 0x61, 0x64, 0xb9, 0x34, + 0x3a, 0xd9, 0xaa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c4, 0x66, 0xa2, 0xfc, 0x97, 0x81, 0xfa, + 0xf4, 0xe6, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x96, 0x97, 0x89, 0x95, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/month_of_year.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/month_of_year.pb.go new file mode 100644 index 000000000..1b7a71ec9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/month_of_year.pb.go @@ -0,0 +1,159 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/month_of_year.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates months of the year, e.g., "January". +type MonthOfYearEnum_MonthOfYear int32 + +const ( + // Not specified. + MonthOfYearEnum_UNSPECIFIED MonthOfYearEnum_MonthOfYear = 0 + // The value is unknown in this version. + MonthOfYearEnum_UNKNOWN MonthOfYearEnum_MonthOfYear = 1 + // January. + MonthOfYearEnum_JANUARY MonthOfYearEnum_MonthOfYear = 2 + // February. + MonthOfYearEnum_FEBRUARY MonthOfYearEnum_MonthOfYear = 3 + // March. + MonthOfYearEnum_MARCH MonthOfYearEnum_MonthOfYear = 4 + // April. + MonthOfYearEnum_APRIL MonthOfYearEnum_MonthOfYear = 5 + // May. + MonthOfYearEnum_MAY MonthOfYearEnum_MonthOfYear = 6 + // June. + MonthOfYearEnum_JUNE MonthOfYearEnum_MonthOfYear = 7 + // July. + MonthOfYearEnum_JULY MonthOfYearEnum_MonthOfYear = 8 + // August. + MonthOfYearEnum_AUGUST MonthOfYearEnum_MonthOfYear = 9 + // September. + MonthOfYearEnum_SEPTEMBER MonthOfYearEnum_MonthOfYear = 10 + // October. + MonthOfYearEnum_OCTOBER MonthOfYearEnum_MonthOfYear = 11 + // November. + MonthOfYearEnum_NOVEMBER MonthOfYearEnum_MonthOfYear = 12 + // December. + MonthOfYearEnum_DECEMBER MonthOfYearEnum_MonthOfYear = 13 +) + +var MonthOfYearEnum_MonthOfYear_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "JANUARY", + 3: "FEBRUARY", + 4: "MARCH", + 5: "APRIL", + 6: "MAY", + 7: "JUNE", + 8: "JULY", + 9: "AUGUST", + 10: "SEPTEMBER", + 11: "OCTOBER", + 12: "NOVEMBER", + 13: "DECEMBER", +} +var MonthOfYearEnum_MonthOfYear_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "JANUARY": 2, + "FEBRUARY": 3, + "MARCH": 4, + "APRIL": 5, + "MAY": 6, + "JUNE": 7, + "JULY": 8, + "AUGUST": 9, + "SEPTEMBER": 10, + "OCTOBER": 11, + "NOVEMBER": 12, + "DECEMBER": 13, +} + +func (x MonthOfYearEnum_MonthOfYear) String() string { + return proto.EnumName(MonthOfYearEnum_MonthOfYear_name, int32(x)) +} +func (MonthOfYearEnum_MonthOfYear) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_month_of_year_0ecbc5ae6aea17e4, []int{0, 0} +} + +// Container for enumeration of months of the year, e.g., "January". +type MonthOfYearEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MonthOfYearEnum) Reset() { *m = MonthOfYearEnum{} } +func (m *MonthOfYearEnum) String() string { return proto.CompactTextString(m) } +func (*MonthOfYearEnum) ProtoMessage() {} +func (*MonthOfYearEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_month_of_year_0ecbc5ae6aea17e4, []int{0} +} +func (m *MonthOfYearEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MonthOfYearEnum.Unmarshal(m, b) +} +func (m *MonthOfYearEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MonthOfYearEnum.Marshal(b, m, deterministic) +} +func (dst *MonthOfYearEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MonthOfYearEnum.Merge(dst, src) +} +func (m *MonthOfYearEnum) XXX_Size() int { + return xxx_messageInfo_MonthOfYearEnum.Size(m) +} +func (m *MonthOfYearEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MonthOfYearEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MonthOfYearEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MonthOfYearEnum)(nil), "google.ads.googleads.v0.enums.MonthOfYearEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.MonthOfYearEnum_MonthOfYear", MonthOfYearEnum_MonthOfYear_name, MonthOfYearEnum_MonthOfYear_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/month_of_year.proto", fileDescriptor_month_of_year_0ecbc5ae6aea17e4) +} + +var fileDescriptor_month_of_year_0ecbc5ae6aea17e4 = []byte{ + // 344 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcd, 0x4e, 0xc2, 0x40, + 0x14, 0x85, 0x2d, 0xff, 0xdc, 0x42, 0x98, 0xcc, 0x9e, 0x85, 0x3c, 0xc0, 0xb4, 0xc6, 0xa5, 0xab, + 0x69, 0x19, 0x10, 0xa4, 0x3f, 0x29, 0x14, 0x53, 0xd3, 0x84, 0x54, 0x5b, 0xaa, 0x09, 0xed, 0x90, + 0x16, 0x48, 0x7c, 0x1d, 0x97, 0xbe, 0x83, 0x0b, 0xb7, 0xee, 0x7c, 0x23, 0x33, 0xad, 0x10, 0x36, + 0xba, 0x99, 0x7c, 0x67, 0xce, 0x9c, 0xb9, 0xb9, 0x07, 0xae, 0x62, 0xce, 0xe3, 0x4d, 0xa4, 0x04, + 0x61, 0xae, 0x94, 0x28, 0xe8, 0xa0, 0x2a, 0x51, 0xba, 0x4f, 0x72, 0x25, 0xe1, 0xe9, 0xee, 0x79, + 0xc5, 0xd7, 0xab, 0xd7, 0x28, 0xc8, 0xc8, 0x36, 0xe3, 0x3b, 0x8e, 0xfb, 0xe5, 0x3b, 0x12, 0x84, + 0x39, 0x39, 0x45, 0xc8, 0x41, 0x25, 0x45, 0x64, 0xf0, 0x2d, 0x41, 0xcf, 0x10, 0x31, 0x6b, 0xed, + 0x45, 0x41, 0xc6, 0xd2, 0x7d, 0x32, 0xf8, 0x90, 0x40, 0x3e, 0xbb, 0xc3, 0x3d, 0x90, 0x5d, 0x73, + 0x6e, 0x33, 0x7d, 0x32, 0x9a, 0xb0, 0x21, 0xba, 0xc0, 0x32, 0x34, 0x5d, 0xf3, 0xce, 0xb4, 0xee, + 0x4d, 0x24, 0x09, 0x31, 0xa5, 0xa6, 0x4b, 0x1d, 0x0f, 0x55, 0x70, 0x07, 0x5a, 0x23, 0xa6, 0x39, + 0x85, 0xaa, 0xe2, 0x36, 0xd4, 0x0d, 0xea, 0xe8, 0xb7, 0xa8, 0x26, 0x90, 0xda, 0xce, 0x64, 0x86, + 0xea, 0xb8, 0x09, 0x55, 0x83, 0x7a, 0xa8, 0x81, 0x5b, 0x50, 0x9b, 0xba, 0x26, 0x43, 0xcd, 0x92, + 0x66, 0x1e, 0x6a, 0x61, 0x80, 0x06, 0x75, 0xc7, 0xee, 0x7c, 0x81, 0xda, 0xb8, 0x0b, 0xed, 0x39, + 0xb3, 0x17, 0xcc, 0xd0, 0x98, 0x83, 0x40, 0x0c, 0xb2, 0xf4, 0x85, 0x25, 0x84, 0x2c, 0x06, 0x99, + 0xd6, 0xb2, 0xb4, 0x3a, 0x42, 0x0d, 0x99, 0x5e, 0xaa, 0xae, 0xf6, 0x29, 0xc1, 0xe5, 0x13, 0x4f, + 0xc8, 0xbf, 0x9b, 0x6b, 0xe8, 0x6c, 0x45, 0x5b, 0x54, 0x65, 0x4b, 0x0f, 0xda, 0x6f, 0x24, 0xe6, + 0x9b, 0x20, 0x8d, 0x09, 0xcf, 0x62, 0x25, 0x8e, 0xd2, 0xa2, 0xc8, 0x63, 0xdf, 0xdb, 0x97, 0xfc, + 0x8f, 0xfa, 0x6f, 0x8a, 0xf3, 0xad, 0x52, 0x1d, 0x53, 0xfa, 0x5e, 0xe9, 0x8f, 0xcb, 0xaf, 0x68, + 0x98, 0x93, 0x12, 0x05, 0x2d, 0x55, 0x22, 0x2a, 0xce, 0xbf, 0x8e, 0xbe, 0x4f, 0xc3, 0xdc, 0x3f, + 0xf9, 0xfe, 0x52, 0xf5, 0x0b, 0xff, 0xb1, 0x51, 0x0c, 0xbd, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, + 0xce, 0x84, 0x46, 0xe2, 0xf2, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/page_one_promoted_strategy_goal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/page_one_promoted_strategy_goal.pb.go new file mode 100644 index 000000000..63ea9cfd7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/page_one_promoted_strategy_goal.pb.go @@ -0,0 +1,117 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/page_one_promoted_strategy_goal.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible strategy goals. +type PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal int32 + +const ( + // Not specified. + PageOnePromotedStrategyGoalEnum_UNSPECIFIED PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal = 0 + // Used for return value only. Represents value unknown in this version. + PageOnePromotedStrategyGoalEnum_UNKNOWN PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal = 1 + // First page on google.com. + PageOnePromotedStrategyGoalEnum_FIRST_PAGE PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal = 2 + // Top slots of the first page on google.com. + PageOnePromotedStrategyGoalEnum_FIRST_PAGE_PROMOTED PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal = 3 +) + +var PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "FIRST_PAGE", + 3: "FIRST_PAGE_PROMOTED", +} +var PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FIRST_PAGE": 2, + "FIRST_PAGE_PROMOTED": 3, +} + +func (x PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal) String() string { + return proto.EnumName(PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_name, int32(x)) +} +func (PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_page_one_promoted_strategy_goal_9679274d22e7547d, []int{0, 0} +} + +// Container for enum describing possible strategy goals: where impressions are +// desired to be shown on search result pages. +type PageOnePromotedStrategyGoalEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PageOnePromotedStrategyGoalEnum) Reset() { *m = PageOnePromotedStrategyGoalEnum{} } +func (m *PageOnePromotedStrategyGoalEnum) String() string { return proto.CompactTextString(m) } +func (*PageOnePromotedStrategyGoalEnum) ProtoMessage() {} +func (*PageOnePromotedStrategyGoalEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_page_one_promoted_strategy_goal_9679274d22e7547d, []int{0} +} +func (m *PageOnePromotedStrategyGoalEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PageOnePromotedStrategyGoalEnum.Unmarshal(m, b) +} +func (m *PageOnePromotedStrategyGoalEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PageOnePromotedStrategyGoalEnum.Marshal(b, m, deterministic) +} +func (dst *PageOnePromotedStrategyGoalEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PageOnePromotedStrategyGoalEnum.Merge(dst, src) +} +func (m *PageOnePromotedStrategyGoalEnum) XXX_Size() int { + return xxx_messageInfo_PageOnePromotedStrategyGoalEnum.Size(m) +} +func (m *PageOnePromotedStrategyGoalEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PageOnePromotedStrategyGoalEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PageOnePromotedStrategyGoalEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PageOnePromotedStrategyGoalEnum)(nil), "google.ads.googleads.v0.enums.PageOnePromotedStrategyGoalEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal", PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_name, PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/page_one_promoted_strategy_goal.proto", fileDescriptor_page_one_promoted_strategy_goal_9679274d22e7547d) +} + +var fileDescriptor_page_one_promoted_strategy_goal_9679274d22e7547d = []byte{ + // 295 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xc3, 0x30, + 0x1c, 0xc7, 0x6d, 0x07, 0x0a, 0x19, 0x68, 0xa9, 0x07, 0x0f, 0x32, 0xd4, 0x3d, 0x40, 0x5a, 0xf0, + 0xe8, 0xa9, 0xdd, 0xba, 0x52, 0xc4, 0x36, 0xac, 0xdb, 0x04, 0x29, 0x84, 0x68, 0x42, 0x10, 0xda, + 0xfc, 0x4a, 0xd3, 0x0d, 0x7c, 0x02, 0xdf, 0xc3, 0xa3, 0x8f, 0xe2, 0xcd, 0x37, 0x92, 0xfe, 0xd9, + 0x3c, 0xad, 0x97, 0xf0, 0x0d, 0xdf, 0xe4, 0x93, 0x5f, 0x3e, 0x68, 0x26, 0x01, 0x64, 0x2e, 0x1c, + 0xc6, 0xb5, 0xd3, 0xc5, 0x26, 0xed, 0x5c, 0x47, 0xa8, 0x6d, 0xa1, 0x9d, 0x92, 0x49, 0x41, 0x41, + 0x09, 0x5a, 0x56, 0x50, 0x40, 0x2d, 0x38, 0xd5, 0x75, 0xc5, 0x6a, 0x21, 0x3f, 0xa8, 0x04, 0x96, + 0xe3, 0xb2, 0x82, 0x1a, 0xec, 0x49, 0x77, 0x13, 0x33, 0xae, 0xf1, 0x01, 0x82, 0x77, 0x2e, 0x6e, + 0x21, 0xd3, 0x4f, 0x03, 0xdd, 0x10, 0x26, 0x45, 0xa2, 0x04, 0xe9, 0x31, 0x69, 0x4f, 0x09, 0x81, + 0xe5, 0x81, 0xda, 0x16, 0x53, 0x8e, 0xae, 0x07, 0x8e, 0xd8, 0x17, 0x68, 0xbc, 0x8e, 0x53, 0x12, + 0xcc, 0xa2, 0x45, 0x14, 0xcc, 0xad, 0x13, 0x7b, 0x8c, 0xce, 0xd6, 0xf1, 0x63, 0x9c, 0x3c, 0xc7, + 0x96, 0x61, 0x9f, 0x23, 0xb4, 0x88, 0x96, 0xe9, 0x8a, 0x12, 0x2f, 0x0c, 0x2c, 0xd3, 0xbe, 0x42, + 0x97, 0xff, 0x7b, 0x4a, 0x96, 0xc9, 0x53, 0xb2, 0x0a, 0xe6, 0xd6, 0xc8, 0xff, 0x35, 0xd0, 0xdd, + 0x1b, 0x14, 0x78, 0x70, 0x5e, 0xff, 0x76, 0x60, 0x12, 0xd2, 0x7c, 0x98, 0x18, 0x2f, 0x7e, 0x8f, + 0x90, 0x90, 0x33, 0x25, 0x31, 0x54, 0xd2, 0x91, 0x42, 0xb5, 0x3a, 0xf6, 0x1e, 0xcb, 0x77, 0x7d, + 0x44, 0xeb, 0x43, 0xbb, 0x7e, 0x99, 0xa3, 0xd0, 0xf3, 0xbe, 0xcd, 0x49, 0xd8, 0xa1, 0x3c, 0xae, + 0x71, 0x17, 0x9b, 0xb4, 0x71, 0x71, 0x23, 0x46, 0xff, 0xec, 0xfb, 0xcc, 0xe3, 0x3a, 0x3b, 0xf4, + 0xd9, 0xc6, 0xcd, 0xda, 0xfe, 0xf5, 0xb4, 0x7d, 0xf4, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x95, + 0x7d, 0x22, 0x31, 0xca, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/parental_status_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/parental_status_type.pb.go new file mode 100644 index 000000000..240e7b2bc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/parental_status_type.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/parental_status_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of parental statuses (e.g. not a parent). +type ParentalStatusTypeEnum_ParentalStatusType int32 + +const ( + // Not specified. + ParentalStatusTypeEnum_UNSPECIFIED ParentalStatusTypeEnum_ParentalStatusType = 0 + // Used for return value only. Represents value unknown in this version. + ParentalStatusTypeEnum_UNKNOWN ParentalStatusTypeEnum_ParentalStatusType = 1 + // Parent. + ParentalStatusTypeEnum_PARENT ParentalStatusTypeEnum_ParentalStatusType = 300 + // Not a parent. + ParentalStatusTypeEnum_NOT_A_PARENT ParentalStatusTypeEnum_ParentalStatusType = 301 + // Undetermined parental status. + ParentalStatusTypeEnum_UNDETERMINED ParentalStatusTypeEnum_ParentalStatusType = 302 +) + +var ParentalStatusTypeEnum_ParentalStatusType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 300: "PARENT", + 301: "NOT_A_PARENT", + 302: "UNDETERMINED", +} +var ParentalStatusTypeEnum_ParentalStatusType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PARENT": 300, + "NOT_A_PARENT": 301, + "UNDETERMINED": 302, +} + +func (x ParentalStatusTypeEnum_ParentalStatusType) String() string { + return proto.EnumName(ParentalStatusTypeEnum_ParentalStatusType_name, int32(x)) +} +func (ParentalStatusTypeEnum_ParentalStatusType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_parental_status_type_345646dd1d155058, []int{0, 0} +} + +// Container for enum describing the type of demographic parental statuses. +type ParentalStatusTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParentalStatusTypeEnum) Reset() { *m = ParentalStatusTypeEnum{} } +func (m *ParentalStatusTypeEnum) String() string { return proto.CompactTextString(m) } +func (*ParentalStatusTypeEnum) ProtoMessage() {} +func (*ParentalStatusTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_parental_status_type_345646dd1d155058, []int{0} +} +func (m *ParentalStatusTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParentalStatusTypeEnum.Unmarshal(m, b) +} +func (m *ParentalStatusTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParentalStatusTypeEnum.Marshal(b, m, deterministic) +} +func (dst *ParentalStatusTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParentalStatusTypeEnum.Merge(dst, src) +} +func (m *ParentalStatusTypeEnum) XXX_Size() int { + return xxx_messageInfo_ParentalStatusTypeEnum.Size(m) +} +func (m *ParentalStatusTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ParentalStatusTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ParentalStatusTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ParentalStatusTypeEnum)(nil), "google.ads.googleads.v0.enums.ParentalStatusTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ParentalStatusTypeEnum_ParentalStatusType", ParentalStatusTypeEnum_ParentalStatusType_name, ParentalStatusTypeEnum_ParentalStatusType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/parental_status_type.proto", fileDescriptor_parental_status_type_345646dd1d155058) +} + +var fileDescriptor_parental_status_type_345646dd1d155058 = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x82, 0xc4, 0xa2, 0xd4, 0xbc, 0x92, 0xc4, 0x9c, 0xf8, 0xe2, 0x92, 0xc4, + 0x92, 0xd2, 0xe2, 0xf8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62, 0x92, 0x75, 0x87, 0x18, + 0xe5, 0x98, 0x52, 0xac, 0x07, 0x61, 0x82, 0x58, 0x61, 0x06, 0x7a, 0xa0, 0x00, 0x29, 0x3e, 0x05, + 0x93, 0x8f, 0x71, 0x4c, 0x29, 0x8e, 0x81, 0xcb, 0xc7, 0x84, 0x19, 0xc4, 0x80, 0xe5, 0x93, 0xd8, + 0xc0, 0x96, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x60, 0xad, 0x5c, 0x54, 0xad, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/placeholder_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/placeholder_type.pb.go new file mode 100644 index 000000000..d50889d87 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/placeholder_type.pb.go @@ -0,0 +1,194 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/placeholder_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible placeholder types for a feed mapping. +type PlaceholderTypeEnum_PlaceholderType int32 + +const ( + // Not specified. + PlaceholderTypeEnum_UNSPECIFIED PlaceholderTypeEnum_PlaceholderType = 0 + // Used for return value only. Represents value unknown in this version. + PlaceholderTypeEnum_UNKNOWN PlaceholderTypeEnum_PlaceholderType = 1 + // Sitelink. + PlaceholderTypeEnum_SITELINK PlaceholderTypeEnum_PlaceholderType = 2 + // Call. + PlaceholderTypeEnum_CALL PlaceholderTypeEnum_PlaceholderType = 3 + // App. + PlaceholderTypeEnum_APP PlaceholderTypeEnum_PlaceholderType = 4 + // Location. + PlaceholderTypeEnum_LOCATION PlaceholderTypeEnum_PlaceholderType = 5 + // Affiliate location. + PlaceholderTypeEnum_AFFILIATE_LOCATION PlaceholderTypeEnum_PlaceholderType = 6 + // Callout. + PlaceholderTypeEnum_CALLOUT PlaceholderTypeEnum_PlaceholderType = 7 + // Structured snippet. + PlaceholderTypeEnum_STRUCTURED_SNIPPET PlaceholderTypeEnum_PlaceholderType = 8 + // Message. + PlaceholderTypeEnum_MESSAGE PlaceholderTypeEnum_PlaceholderType = 9 + // Price. + PlaceholderTypeEnum_PRICE PlaceholderTypeEnum_PlaceholderType = 10 + // Promotion. + PlaceholderTypeEnum_PROMOTION PlaceholderTypeEnum_PlaceholderType = 11 + // Ad customizer. + PlaceholderTypeEnum_AD_CUSTOMIZER PlaceholderTypeEnum_PlaceholderType = 12 + // Dynamic education. + PlaceholderTypeEnum_DYNAMIC_EDUCATION PlaceholderTypeEnum_PlaceholderType = 13 + // Dynamic flights. + PlaceholderTypeEnum_DYNAMIC_FLIGHT PlaceholderTypeEnum_PlaceholderType = 14 + // Dynamic custom. + PlaceholderTypeEnum_DYNAMIC_CUSTOM PlaceholderTypeEnum_PlaceholderType = 15 + // Dynamic hotels. + PlaceholderTypeEnum_DYNAMIC_HOTEL PlaceholderTypeEnum_PlaceholderType = 16 + // Dynamic real estate. + PlaceholderTypeEnum_DYNAMIC_REAL_ESTATE PlaceholderTypeEnum_PlaceholderType = 17 + // Dynamic travel. + PlaceholderTypeEnum_DYNAMIC_TRAVEL PlaceholderTypeEnum_PlaceholderType = 18 + // Dynamic local. + PlaceholderTypeEnum_DYNAMIC_LOCAL PlaceholderTypeEnum_PlaceholderType = 19 + // Dynamic jobs. + PlaceholderTypeEnum_DYNAMIC_JOB PlaceholderTypeEnum_PlaceholderType = 20 +) + +var PlaceholderTypeEnum_PlaceholderType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SITELINK", + 3: "CALL", + 4: "APP", + 5: "LOCATION", + 6: "AFFILIATE_LOCATION", + 7: "CALLOUT", + 8: "STRUCTURED_SNIPPET", + 9: "MESSAGE", + 10: "PRICE", + 11: "PROMOTION", + 12: "AD_CUSTOMIZER", + 13: "DYNAMIC_EDUCATION", + 14: "DYNAMIC_FLIGHT", + 15: "DYNAMIC_CUSTOM", + 16: "DYNAMIC_HOTEL", + 17: "DYNAMIC_REAL_ESTATE", + 18: "DYNAMIC_TRAVEL", + 19: "DYNAMIC_LOCAL", + 20: "DYNAMIC_JOB", +} +var PlaceholderTypeEnum_PlaceholderType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SITELINK": 2, + "CALL": 3, + "APP": 4, + "LOCATION": 5, + "AFFILIATE_LOCATION": 6, + "CALLOUT": 7, + "STRUCTURED_SNIPPET": 8, + "MESSAGE": 9, + "PRICE": 10, + "PROMOTION": 11, + "AD_CUSTOMIZER": 12, + "DYNAMIC_EDUCATION": 13, + "DYNAMIC_FLIGHT": 14, + "DYNAMIC_CUSTOM": 15, + "DYNAMIC_HOTEL": 16, + "DYNAMIC_REAL_ESTATE": 17, + "DYNAMIC_TRAVEL": 18, + "DYNAMIC_LOCAL": 19, + "DYNAMIC_JOB": 20, +} + +func (x PlaceholderTypeEnum_PlaceholderType) String() string { + return proto.EnumName(PlaceholderTypeEnum_PlaceholderType_name, int32(x)) +} +func (PlaceholderTypeEnum_PlaceholderType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_placeholder_type_816ab67b31ba6b71, []int{0, 0} +} + +// Container for enum describing possible placeholder types for a feed mapping. +type PlaceholderTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PlaceholderTypeEnum) Reset() { *m = PlaceholderTypeEnum{} } +func (m *PlaceholderTypeEnum) String() string { return proto.CompactTextString(m) } +func (*PlaceholderTypeEnum) ProtoMessage() {} +func (*PlaceholderTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_placeholder_type_816ab67b31ba6b71, []int{0} +} +func (m *PlaceholderTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PlaceholderTypeEnum.Unmarshal(m, b) +} +func (m *PlaceholderTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PlaceholderTypeEnum.Marshal(b, m, deterministic) +} +func (dst *PlaceholderTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PlaceholderTypeEnum.Merge(dst, src) +} +func (m *PlaceholderTypeEnum) XXX_Size() int { + return xxx_messageInfo_PlaceholderTypeEnum.Size(m) +} +func (m *PlaceholderTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PlaceholderTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PlaceholderTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PlaceholderTypeEnum)(nil), "google.ads.googleads.v0.enums.PlaceholderTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PlaceholderTypeEnum_PlaceholderType", PlaceholderTypeEnum_PlaceholderType_name, PlaceholderTypeEnum_PlaceholderType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/placeholder_type.proto", fileDescriptor_placeholder_type_816ab67b31ba6b71) +} + +var fileDescriptor_placeholder_type_816ab67b31ba6b71 = []byte{ + // 451 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xc1, 0x6e, 0xda, 0x40, + 0x14, 0x2c, 0x90, 0x04, 0x58, 0x42, 0x78, 0x2c, 0x69, 0x7b, 0xca, 0xa1, 0xf9, 0x00, 0x1b, 0xa9, + 0xbd, 0xf5, 0xb4, 0xd8, 0x0f, 0xb2, 0xcd, 0xe2, 0x5d, 0xd9, 0x6b, 0xaa,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a, 0x8a, 0xc5, 0x85, 0x55, 0x41, 0x83, 0x16, 0x63, 0xcb, + 0x34, 0xa4, 0xf8, 0x55, 0xcf, 0x97, 0x2c, 0x2e, 0x96, 0xfb, 0xf9, 0x72, 0x31, 0x5e, 0x96, 0xf3, + 0xcf, 0x27, 0xe5, 0xd2, 0xb7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1f, 0xd3, 0x86, 0x87, 0xb8, + 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_approval_status.pb.go new file mode 100644 index 000000000..7e3455130 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_approval_status.pb.go @@ -0,0 +1,130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/policy_approval_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible policy approval statuses. When there are several approval +// statuses available the most severe one will be used. The order of severity +// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. +type PolicyApprovalStatusEnum_PolicyApprovalStatus int32 + +const ( + // No value has been specified. + PolicyApprovalStatusEnum_UNSPECIFIED PolicyApprovalStatusEnum_PolicyApprovalStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + PolicyApprovalStatusEnum_UNKNOWN PolicyApprovalStatusEnum_PolicyApprovalStatus = 1 + // Will not serve. + PolicyApprovalStatusEnum_DISAPPROVED PolicyApprovalStatusEnum_PolicyApprovalStatus = 2 + // Serves with restrictions. + PolicyApprovalStatusEnum_APPROVED_LIMITED PolicyApprovalStatusEnum_PolicyApprovalStatus = 3 + // Serves without restrictions. + PolicyApprovalStatusEnum_APPROVED PolicyApprovalStatusEnum_PolicyApprovalStatus = 4 + // Will not serve in targeted countries, but may serve for users who are + // searching for information about the targeted countries. + PolicyApprovalStatusEnum_AREA_OF_INTEREST_ONLY PolicyApprovalStatusEnum_PolicyApprovalStatus = 5 +) + +var PolicyApprovalStatusEnum_PolicyApprovalStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DISAPPROVED", + 3: "APPROVED_LIMITED", + 4: "APPROVED", + 5: "AREA_OF_INTEREST_ONLY", +} +var PolicyApprovalStatusEnum_PolicyApprovalStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DISAPPROVED": 2, + "APPROVED_LIMITED": 3, + "APPROVED": 4, + "AREA_OF_INTEREST_ONLY": 5, +} + +func (x PolicyApprovalStatusEnum_PolicyApprovalStatus) String() string { + return proto.EnumName(PolicyApprovalStatusEnum_PolicyApprovalStatus_name, int32(x)) +} +func (PolicyApprovalStatusEnum_PolicyApprovalStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_policy_approval_status_2ba8a47eda115be6, []int{0, 0} +} + +// Container for enum describing possible policy approval statuses. +type PolicyApprovalStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyApprovalStatusEnum) Reset() { *m = PolicyApprovalStatusEnum{} } +func (m *PolicyApprovalStatusEnum) String() string { return proto.CompactTextString(m) } +func (*PolicyApprovalStatusEnum) ProtoMessage() {} +func (*PolicyApprovalStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_approval_status_2ba8a47eda115be6, []int{0} +} +func (m *PolicyApprovalStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyApprovalStatusEnum.Unmarshal(m, b) +} +func (m *PolicyApprovalStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyApprovalStatusEnum.Marshal(b, m, deterministic) +} +func (dst *PolicyApprovalStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyApprovalStatusEnum.Merge(dst, src) +} +func (m *PolicyApprovalStatusEnum) XXX_Size() int { + return xxx_messageInfo_PolicyApprovalStatusEnum.Size(m) +} +func (m *PolicyApprovalStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyApprovalStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyApprovalStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PolicyApprovalStatusEnum)(nil), "google.ads.googleads.v0.enums.PolicyApprovalStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus", PolicyApprovalStatusEnum_PolicyApprovalStatus_name, PolicyApprovalStatusEnum_PolicyApprovalStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/policy_approval_status.proto", fileDescriptor_policy_approval_status_2ba8a47eda115be6) +} + +var fileDescriptor_policy_approval_status_2ba8a47eda115be6 = []byte{ + // 311 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x6b, 0xf2, 0x30, + 0x1c, 0xc7, 0x9f, 0xea, 0xb3, 0x3f, 0xc4, 0xc1, 0x42, 0x70, 0x30, 0x0f, 0x1e, 0xe6, 0x0b, 0x48, + 0x0b, 0xbb, 0x6d, 0xa7, 0xb8, 0x46, 0x09, 0x73, 0x69, 0xb0, 0xea, 0xd8, 0x28, 0x84, 0xcc, 0x4a, + 0x10, 0x6a, 0x53, 0x8c, 0x0a, 0xbb, 0xef, 0x8d, 0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, 0x1d, 0xab, + 0x4d, 0xa6, 0x72, 0x8d, 0xcd, 0x52, 0xfb, 0x7a, 0x96, 0x3b, 0x43, 0x7b, 0xa3, 0xc5, 0xdc, 0xfe, + 0x22, 0xf8, 0xde, 0xad, 0x5f, 0xb5, 0x7a, 0x9f, 0x90, 0xef, 0x5a, 0xbb, 0x5f, 0x5d, 0x45, 0x52, + 0x8b, 0xab, 0x58, 0xa6, 0x49, 0x80, 0x4b, 0x65, 0x76, 0xbb, 0xef, 0x13, 0x92, 0xda, 0xe4, 0xd0, + 0x27, 0x93, 0x20, 0x71, 0xfd, 0xdb, 0xa9, 0x7b, 0xf4, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x3a, + 0x71, 0xbe, 0xc1, 0xd4, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_review_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_review_status.pb.go new file mode 100644 index 000000000..6f67337c0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_review_status.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/policy_review_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible policy review statuses. +type PolicyReviewStatusEnum_PolicyReviewStatus int32 + +const ( + // No value has been specified. + PolicyReviewStatusEnum_UNSPECIFIED PolicyReviewStatusEnum_PolicyReviewStatus = 0 + // The received value is not known in this version. + // + // This is a response-only value. + PolicyReviewStatusEnum_UNKNOWN PolicyReviewStatusEnum_PolicyReviewStatus = 1 + // Currently under review. + PolicyReviewStatusEnum_REVIEW_IN_PROGRESS PolicyReviewStatusEnum_PolicyReviewStatus = 2 + // Primary review complete. Other reviews may be continuing. + PolicyReviewStatusEnum_REVIEWED PolicyReviewStatusEnum_PolicyReviewStatus = 3 + // The resource has been resubmitted for approval or its policy decision has + // been appealed. + PolicyReviewStatusEnum_UNDER_APPEAL PolicyReviewStatusEnum_PolicyReviewStatus = 4 +) + +var PolicyReviewStatusEnum_PolicyReviewStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "REVIEW_IN_PROGRESS", + 3: "REVIEWED", + 4: "UNDER_APPEAL", +} +var PolicyReviewStatusEnum_PolicyReviewStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "REVIEW_IN_PROGRESS": 2, + "REVIEWED": 3, + "UNDER_APPEAL": 4, +} + +func (x PolicyReviewStatusEnum_PolicyReviewStatus) String() string { + return proto.EnumName(PolicyReviewStatusEnum_PolicyReviewStatus_name, int32(x)) +} +func (PolicyReviewStatusEnum_PolicyReviewStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_policy_review_status_bda03f767fc6a7da, []int{0, 0} +} + +// Container for enum describing possible policy review statuses. +type PolicyReviewStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyReviewStatusEnum) Reset() { *m = PolicyReviewStatusEnum{} } +func (m *PolicyReviewStatusEnum) String() string { return proto.CompactTextString(m) } +func (*PolicyReviewStatusEnum) ProtoMessage() {} +func (*PolicyReviewStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_review_status_bda03f767fc6a7da, []int{0} +} +func (m *PolicyReviewStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyReviewStatusEnum.Unmarshal(m, b) +} +func (m *PolicyReviewStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyReviewStatusEnum.Marshal(b, m, deterministic) +} +func (dst *PolicyReviewStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyReviewStatusEnum.Merge(dst, src) +} +func (m *PolicyReviewStatusEnum) XXX_Size() int { + return xxx_messageInfo_PolicyReviewStatusEnum.Size(m) +} +func (m *PolicyReviewStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyReviewStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyReviewStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PolicyReviewStatusEnum)(nil), "google.ads.googleads.v0.enums.PolicyReviewStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PolicyReviewStatusEnum_PolicyReviewStatus", PolicyReviewStatusEnum_PolicyReviewStatus_name, PolicyReviewStatusEnum_PolicyReviewStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/policy_review_status.proto", fileDescriptor_policy_review_status_bda03f767fc6a7da) +} + +var fileDescriptor_policy_review_status_bda03f767fc6a7da = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xfb, 0x30, + 0x1c, 0xc7, 0xff, 0xdd, 0xfe, 0xa8, 0x64, 0x03, 0x43, 0x0e, 0xf3, 0xb4, 0x83, 0x7b, 0x80, 0xb4, + 0xe0, 0x45, 0xf0, 0x94, 0xd9, 0x58, 0x8a, 0x92, 0x85, 0x96, 0x76, 0x20, 0x85, 0x52, 0xd7, 0x12, + 0x2a, 0x6d, 0x53, 0x9a, 0xb6, 0xe2, 0xdd, 0x27, 0xf1, 0xe8, 0x93, 0x88, 0x4f, 0x25, 0x4d, 0xdd, + 0x2e, 0x43, 0x2f, 0xe1, 0x4b, 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x7c, 0x4c, 0x96, 0xce, 0x78, 0x15, + 0x49, 0x15, 0x1e, 0xe3, 0x90, 0x42, 0x0b, 0x0f, 0x56, 0xd4, 0xd7, 0xbe, 0x8f, 0x48, 0xaa, 0xa2, + 0x43, 0x1f, 0x85, 0x56, 0xa4, 0xfb, 0xa7, 0x13, 0xfd, 0xe8, 0xd5, 0x77, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xaa, 0xe0, 0x6f, 0x5b, 0xb3, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_entry_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_entry_type.pb.go new file mode 100644 index 000000000..0c34069d3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_entry_type.pb.go @@ -0,0 +1,133 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/policy_topic_entry_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible policy topic entry types. +type PolicyTopicEntryTypeEnum_PolicyTopicEntryType int32 + +const ( + // No value has been specified. + PolicyTopicEntryTypeEnum_UNSPECIFIED PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 0 + // The received value is not known in this version. + // + // This is a response-only value. + PolicyTopicEntryTypeEnum_UNKNOWN PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 1 + // The resource will not be served. + PolicyTopicEntryTypeEnum_PROHIBITED PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 2 + // The resource will not be served under some circumstances. + PolicyTopicEntryTypeEnum_LIMITED PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 4 + // May be of interest, but does not limit how the resource is served. + PolicyTopicEntryTypeEnum_DESCRIPTIVE PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 5 + // Could increase coverage beyond normal. + PolicyTopicEntryTypeEnum_BROADENING PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 6 + // Constrained for all targeted countries, but may serve in other countries + // through area of interest. + PolicyTopicEntryTypeEnum_AREA_OF_INTEREST_ONLY PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 7 +) + +var PolicyTopicEntryTypeEnum_PolicyTopicEntryType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PROHIBITED", + 4: "LIMITED", + 5: "DESCRIPTIVE", + 6: "BROADENING", + 7: "AREA_OF_INTEREST_ONLY", +} +var PolicyTopicEntryTypeEnum_PolicyTopicEntryType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PROHIBITED": 2, + "LIMITED": 4, + "DESCRIPTIVE": 5, + "BROADENING": 6, + "AREA_OF_INTEREST_ONLY": 7, +} + +func (x PolicyTopicEntryTypeEnum_PolicyTopicEntryType) String() string { + return proto.EnumName(PolicyTopicEntryTypeEnum_PolicyTopicEntryType_name, int32(x)) +} +func (PolicyTopicEntryTypeEnum_PolicyTopicEntryType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_policy_topic_entry_type_52b04dc0fc027921, []int{0, 0} +} + +// Container for enum describing possible policy topic entry types. +type PolicyTopicEntryTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEntryTypeEnum) Reset() { *m = PolicyTopicEntryTypeEnum{} } +func (m *PolicyTopicEntryTypeEnum) String() string { return proto.CompactTextString(m) } +func (*PolicyTopicEntryTypeEnum) ProtoMessage() {} +func (*PolicyTopicEntryTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_topic_entry_type_52b04dc0fc027921, []int{0} +} +func (m *PolicyTopicEntryTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEntryTypeEnum.Unmarshal(m, b) +} +func (m *PolicyTopicEntryTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEntryTypeEnum.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEntryTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEntryTypeEnum.Merge(dst, src) +} +func (m *PolicyTopicEntryTypeEnum) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEntryTypeEnum.Size(m) +} +func (m *PolicyTopicEntryTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEntryTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEntryTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PolicyTopicEntryTypeEnum)(nil), "google.ads.googleads.v0.enums.PolicyTopicEntryTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PolicyTopicEntryTypeEnum_PolicyTopicEntryType", PolicyTopicEntryTypeEnum_PolicyTopicEntryType_name, PolicyTopicEntryTypeEnum_PolicyTopicEntryType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/policy_topic_entry_type.proto", fileDescriptor_policy_topic_entry_type_52b04dc0fc027921) +} + +var fileDescriptor_policy_topic_entry_type_52b04dc0fc027921 = []byte{ + // 324 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0xc2, 0x30, + 0x1c, 0xc6, 0x57, 0xb7, 0x29, 0x44, 0xd8, 0x4a, 0xd9, 0x60, 0x1e, 0x3c, 0xcc, 0x07, 0x48, 0x0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xa3, 0x18, 0xa3, 0x2c, 0x1c, 0x66, 0x84, 0x26, 0x38, 0xc6, + 0x93, 0x24, 0x0b, 0xe9, 0xf8, 0xdd, 0x6e, 0xf9, 0x07, 0x0b, 0x3c, 0x2e, 0xc4, 0x1a, 0xfe, 0xfb, + 0x25, 0xbf, 0x73, 0xee, 0xc9, 0x91, 0x96, 0x11, 0x59, 0x1f, 0xfe, 0x2f, 0xcb, 0xc5, 0x6a, 0x5e, + 0x70, 0x28, 0x36, 0xdc, 0xe5, 0xac, 0x30, 0xaa, 0x8e, 0x6e, 0xe5, 0x52, 0xfd, 0xa1, 0xba, 0x6f, + 0xd6, 0xef, 0xc6, 0xe5, 0x08, 0xa1, 0x7d, 0xa3, 0x3b, 0xaa, 0x47, 0xa1, 0x5c, 0xc1, 0x3a, 0xea, + 0x34, 0xf3, 0xa0, 0x76, 0xa7, 0x0e, 0xc7, 0x3e, 0x45, 0xb9, 0x4a, 0x4f, 0x7d, 0x3a, 0xf3, 0x52, + 0xd3, 0x7f, 0x36, 0xcd, 0xa5, 0x4f, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x35, 0x02, 0xfc, 0x7f, + 0xde, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go new file mode 100644 index 000000000..66c539f93 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go @@ -0,0 +1,138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible policy topic evidence destination mismatch url types. +type PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType int32 + +const ( + // No value has been specified. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_UNSPECIFIED PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 0 + // The received value is not known in this version. + // + // This is a response-only value. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_UNKNOWN PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 1 + // The display url. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_DISPLAY_URL PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 2 + // The final url. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_FINAL_URL PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 3 + // The final mobile url. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_FINAL_MOBILE_URL PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 4 + // The tracking url template, with substituted desktop url. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_TRACKING_URL PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 5 + // The tracking url template, with substituted mobile url. + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_MOBILE_TRACKING_URL PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType = 6 +) + +var PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DISPLAY_URL", + 3: "FINAL_URL", + 4: "FINAL_MOBILE_URL", + 5: "TRACKING_URL", + 6: "MOBILE_TRACKING_URL", +} +var PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DISPLAY_URL": 2, + "FINAL_URL": 3, + "FINAL_MOBILE_URL": 4, + "TRACKING_URL": 5, + "MOBILE_TRACKING_URL": 6, +} + +func (x PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType) String() string { + return proto.EnumName(PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_name, int32(x)) +} +func (PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_policy_topic_evidence_destination_mismatch_url_type_d09c4b0e366cf65b, []int{0, 0} +} + +// Container for enum describing possible policy topic evidence destination +// mismatch url types. +type PolicyTopicEvidenceDestinationMismatchUrlTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) Reset() { + *m = PolicyTopicEvidenceDestinationMismatchUrlTypeEnum{} +} +func (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) String() string { + return proto.CompactTextString(m) +} +func (*PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) ProtoMessage() {} +func (*PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_topic_evidence_destination_mismatch_url_type_d09c4b0e366cf65b, []int{0} +} +func (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.Unmarshal(m, b) +} +func (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.Marshal(b, m, deterministic) +} +func (dst *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.Merge(dst, src) +} +func (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_Size() int { + return xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.Size(m) +} +func (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PolicyTopicEvidenceDestinationMismatchUrlTypeEnum)(nil), "google.ads.googleads.v0.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType", PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_name, PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type.proto", fileDescriptor_policy_topic_evidence_destination_mismatch_url_type_d09c4b0e366cf65b) +} + +var fileDescriptor_policy_topic_evidence_destination_mismatch_url_type_d09c4b0e366cf65b = []byte{ + // 351 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xc1, 0x4e, 0x83, 0x30, + 0x18, 0xc7, 0x65, 0xd3, 0x19, 0x3b, 0x8d, 0x04, 0x4d, 0x3c, 0xed, 0xe0, 0xee, 0x16, 0xd4, 0xa3, + 0x27, 0xd8, 0xd8, 0x42, 0xc6, 0x18, 0xd9, 0xc6, 0x16, 0x0d, 0x49, 0x83, 0xd0, 0x60, 0x13, 0x68, + 0x09, 0x65, 0x4b, 0xf6, 0x3a, 0x1e, 0x3d, 0xf8, 0x20, 0xbe, 0x86, 0x3e, 0x88, 0xa1, 0xb0, 0x19, + 0x0f, 0x9a, 0xec, 0xd2, 0xfc, 0xbf, 0xef, 0xdf, 0xfe, 0x9a, 0xef, 0xff, 0x81, 0x65, 0xcc, 0x58, + 0x9c, 0x60, 0x35, 0x88, 0xb8, 0x5a, 0xc9, 0x52, 0xad, 0x35, 0x15, 0xd3, 0x55, 0xca, 0xd5, 0x8c, + 0x25, 0x24, 0xdc, 0xa0, 0x82, 0x65, 0x24, 0x44, 0x78, 0x4d, 0x22, 0x4c, 0x43, 0x8c, 0x22, 0xcc, + 0x0b, 0x42, 0x83, 0x82, 0x30, 0x8a, 0x52, 0xc2, 0xd3, 0xa0, 0x08, 0x5f, 0xd0, 0x2a, 0x4f, 0x50, + 0xb1, 0xc9, 0x30, 0xcc, 0x72, 0x56, 0x30, 0xa5, 0x53, 0xd1, 0x60, 0x10, 0x71, 0xb8, 0x03, 0xc3, + 0xb5, 0x06, 0x05, 0xb8, 0xfb, 0x25, 0x81, 0x5b, 0x57, 0xc0, 0xe7, 0x25, 0xdb, 0xac, 0xd1, 0xfd, + 0x1f, 0xf2, 0xb8, 0x06, 0x7b, 0x79, 0x32, 0xdf, 0x64, 0xd8, 0xa4, 0xab, 0xb4, 0xfb, 0x2e, 0x81, + 0x9b, 0xbd, 0x5e, 0x29, 0xe7, 0xa0, 0xed, 0x39, 0x33, 0xd7, 0xec, 0x59, 0x03, 0xcb, 0xec, 0xcb, + 0x07, 0x4a, 0x1b, 0x1c, 0x7b, 0xce, 0xc8, 0x99, 0x2c, 0x1d, 0x59, 0x2a, 0xdd, 0xbe, 0x35, 0x73, + 0x6d, 0xfd, 0x11, 0x79, 0x53, 0x5b, 0x6e, 0x28, 0x67, 0xe0, 0x64, 0x60, 0x39, 0xba, 0x2d, 0xca, + 0xa6, 0x72, 0x09, 0xe4, 0xaa, 0x1c, 0x4f, 0x0c, 0xcb, 0x36, 0x45, 0xf7, 0x50, 0x91, 0xc1, 0xe9, + 0x7c, 0xaa, 0xf7, 0x46, 0x96, 0x33, 0x14, 0x9d, 0x23, 0xe5, 0x0a, 0x5c, 0xd4, 0x37, 0x7e, 0x19, + 0x2d, 0xe3, 0x53, 0x02, 0xd7, 0x21, 0x4b, 0xe1, 0xbf, 0x61, 0x18, 0x77, 0x7b, 0xcd, 0xe4, 0x96, + 0xf9, 0xba, 0xd2, 0x93, 0x51, 0x43, 0x63, 0x96, 0x04, 0x34, 0x86, 0x2c, 0x8f, 0xd5, 0x18, 0x53, + 0x91, 0xfe, 0x76, 0x95, 0x19, 0xe1, 0x7f, 0x6c, 0xf6, 0x41, 0x9c, 0xaf, 0x8d, 0xe6, 0x50, 0xd7, + 0xdf, 0x1a, 0x9d, 0x61, 0x85, 0xd2, 0x23, 0x0e, 0x2b, 0x59, 0xaa, 0x85, 0x06, 0xcb, 0xd4, 0xf9, + 0xc7, 0xd6, 0xf7, 0xf5, 0x88, 0xfb, 0x3b, 0xdf, 0x5f, 0x68, 0xbe, 0xf0, 0x9f, 0x5b, 0xe2, 0xd3, + 0xfb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x46, 0x2f, 0x08, 0x4d, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/preferred_content_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/preferred_content_type.pb.go new file mode 100644 index 000000000..733c5836b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/preferred_content_type.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/preferred_content_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates preferred content criterion type. +type PreferredContentTypeEnum_PreferredContentType int32 + +const ( + // Not specified. + PreferredContentTypeEnum_UNSPECIFIED PreferredContentTypeEnum_PreferredContentType = 0 + // The value is unknown in this version. + PreferredContentTypeEnum_UNKNOWN PreferredContentTypeEnum_PreferredContentType = 1 + // Represents top content on YouTube. + PreferredContentTypeEnum_YOUTUBE_TOP_CONTENT PreferredContentTypeEnum_PreferredContentType = 400 +) + +var PreferredContentTypeEnum_PreferredContentType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 400: "YOUTUBE_TOP_CONTENT", +} +var PreferredContentTypeEnum_PreferredContentType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "YOUTUBE_TOP_CONTENT": 400, +} + +func (x PreferredContentTypeEnum_PreferredContentType) String() string { + return proto.EnumName(PreferredContentTypeEnum_PreferredContentType_name, int32(x)) +} +func (PreferredContentTypeEnum_PreferredContentType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_preferred_content_type_153c6f2bd55c50c3, []int{0, 0} +} + +// Container for enumeration of preferred content criterion type. +type PreferredContentTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PreferredContentTypeEnum) Reset() { *m = PreferredContentTypeEnum{} } +func (m *PreferredContentTypeEnum) String() string { return proto.CompactTextString(m) } +func (*PreferredContentTypeEnum) ProtoMessage() {} +func (*PreferredContentTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_preferred_content_type_153c6f2bd55c50c3, []int{0} +} +func (m *PreferredContentTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PreferredContentTypeEnum.Unmarshal(m, b) +} +func (m *PreferredContentTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PreferredContentTypeEnum.Marshal(b, m, deterministic) +} +func (dst *PreferredContentTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PreferredContentTypeEnum.Merge(dst, src) +} +func (m *PreferredContentTypeEnum) XXX_Size() int { + return xxx_messageInfo_PreferredContentTypeEnum.Size(m) +} +func (m *PreferredContentTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PreferredContentTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PreferredContentTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PreferredContentTypeEnum)(nil), "google.ads.googleads.v0.enums.PreferredContentTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PreferredContentTypeEnum_PreferredContentType", PreferredContentTypeEnum_PreferredContentType_name, PreferredContentTypeEnum_PreferredContentType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/preferred_content_type.proto", fileDescriptor_preferred_content_type_153c6f2bd55c50c3) +} + +var fileDescriptor_preferred_content_type_153c6f2bd55c50c3 = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4a, 0xcf, 0xcf, 0x4f, + 0x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0xcd, 0x03, 0xfb, 0x14, 0x16, 0x32, 0x05, 0x99, 0xc5, + 0x38, 0x02, 0xca, 0x1a, 0x4c, 0x2e, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24, 0xeb, 0x0e, + 0x31, 0xca, 0x31, 0xa5, 0x58, 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x40, 0x7e, 0x2f, 0x3e, + 0x05, 0x93, 0x8f, 0x71, 0x4c, 0x29, 0x8e, 0x81, 0xcb, 0xc7, 0x84, 0x19, 0xc4, 0x80, 0xe5, 0x93, + 0xd8, 0xc0, 0x96, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xfb, 0x86, 0xdb, 0x9c, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/price_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/price_placeholder_field.pb.go new file mode 100644 index 000000000..cd40c6d03 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/price_placeholder_field.pb.go @@ -0,0 +1,382 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/price_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Price placeholder fields. +type PricePlaceholderFieldEnum_PricePlaceholderField int32 + +const ( + // Not specified. + PricePlaceholderFieldEnum_UNSPECIFIED PricePlaceholderFieldEnum_PricePlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + PricePlaceholderFieldEnum_UNKNOWN PricePlaceholderFieldEnum_PricePlaceholderField = 1 + // Data Type: STRING. The type of your price feed. Must match one of the + // predefined price feed type exactly. + PricePlaceholderFieldEnum_TYPE PricePlaceholderFieldEnum_PricePlaceholderField = 2 + // Data Type: STRING. The qualifier of each price. Must match one of the + // predefined price qualifiers exactly. + PricePlaceholderFieldEnum_PRICE_QUALIFIER PricePlaceholderFieldEnum_PricePlaceholderField = 3 + // Data Type: URL. Tracking template for the price feed when using Upgraded + // URLs. + PricePlaceholderFieldEnum_TRACKING_TEMPLATE PricePlaceholderFieldEnum_PricePlaceholderField = 4 + // Data Type: STRING. Language of the price feed. Must match one of the + // available available locale codes exactly. + PricePlaceholderFieldEnum_LANGUAGE PricePlaceholderFieldEnum_PricePlaceholderField = 5 + // Data Type: STRING. Final URL suffix for the price feed when using + // parallel tracking. + PricePlaceholderFieldEnum_FINAL_URL_SUFFIX PricePlaceholderFieldEnum_PricePlaceholderField = 6 + // Data Type: STRING. The header of item 1 of the table. + PricePlaceholderFieldEnum_ITEM_1_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 100 + // Data Type: STRING. The description of item 1 of the table. + PricePlaceholderFieldEnum_ITEM_1_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 101 + // Data Type: PRICE. The price (money with currency) of item 1 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_1_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 102 + // Data Type: STRING. The price unit of item 1 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_1_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 103 + // Data Type: URL_LIST. The final URLs of item 1 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_1_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 104 + // Data Type: URL_LIST. The final mobile URLs of item 1 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_1_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 105 + // Data Type: STRING. The header of item 2 of the table. + PricePlaceholderFieldEnum_ITEM_2_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 200 + // Data Type: STRING. The description of item 2 of the table. + PricePlaceholderFieldEnum_ITEM_2_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 201 + // Data Type: PRICE. The price (money with currency) of item 2 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_2_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 202 + // Data Type: STRING. The price unit of item 2 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_2_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 203 + // Data Type: URL_LIST. The final URLs of item 2 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_2_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 204 + // Data Type: URL_LIST. The final mobile URLs of item 2 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_2_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 205 + // Data Type: STRING. The header of item 3 of the table. + PricePlaceholderFieldEnum_ITEM_3_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 300 + // Data Type: STRING. The description of item 3 of the table. + PricePlaceholderFieldEnum_ITEM_3_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 301 + // Data Type: PRICE. The price (money with currency) of item 3 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_3_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 302 + // Data Type: STRING. The price unit of item 3 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_3_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 303 + // Data Type: URL_LIST. The final URLs of item 3 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_3_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 304 + // Data Type: URL_LIST. The final mobile URLs of item 3 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_3_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 305 + // Data Type: STRING. The header of item 4 of the table. + PricePlaceholderFieldEnum_ITEM_4_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 400 + // Data Type: STRING. The description of item 4 of the table. + PricePlaceholderFieldEnum_ITEM_4_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 401 + // Data Type: PRICE. The price (money with currency) of item 4 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_4_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 402 + // Data Type: STRING. The price unit of item 4 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_4_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 403 + // Data Type: URL_LIST. The final URLs of item 4 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_4_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 404 + // Data Type: URL_LIST. The final mobile URLs of item 4 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_4_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 405 + // Data Type: STRING. The header of item 5 of the table. + PricePlaceholderFieldEnum_ITEM_5_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 500 + // Data Type: STRING. The description of item 5 of the table. + PricePlaceholderFieldEnum_ITEM_5_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 501 + // Data Type: PRICE. The price (money with currency) of item 5 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_5_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 502 + // Data Type: STRING. The price unit of item 5 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_5_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 503 + // Data Type: URL_LIST. The final URLs of item 5 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_5_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 504 + // Data Type: URL_LIST. The final mobile URLs of item 5 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_5_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 505 + // Data Type: STRING. The header of item 6 of the table. + PricePlaceholderFieldEnum_ITEM_6_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 600 + // Data Type: STRING. The description of item 6 of the table. + PricePlaceholderFieldEnum_ITEM_6_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 601 + // Data Type: PRICE. The price (money with currency) of item 6 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_6_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 602 + // Data Type: STRING. The price unit of item 6 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_6_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 603 + // Data Type: URL_LIST. The final URLs of item 6 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_6_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 604 + // Data Type: URL_LIST. The final mobile URLs of item 6 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_6_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 605 + // Data Type: STRING. The header of item 7 of the table. + PricePlaceholderFieldEnum_ITEM_7_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 700 + // Data Type: STRING. The description of item 7 of the table. + PricePlaceholderFieldEnum_ITEM_7_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 701 + // Data Type: PRICE. The price (money with currency) of item 7 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_7_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 702 + // Data Type: STRING. The price unit of item 7 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_7_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 703 + // Data Type: URL_LIST. The final URLs of item 7 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_7_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 704 + // Data Type: URL_LIST. The final mobile URLs of item 7 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_7_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 705 + // Data Type: STRING. The header of item 8 of the table. + PricePlaceholderFieldEnum_ITEM_8_HEADER PricePlaceholderFieldEnum_PricePlaceholderField = 800 + // Data Type: STRING. The description of item 8 of the table. + PricePlaceholderFieldEnum_ITEM_8_DESCRIPTION PricePlaceholderFieldEnum_PricePlaceholderField = 801 + // Data Type: PRICE. The price (money with currency) of item 8 of the table, + // e.g., 30 USD. The currency must match one of the available currencies. + PricePlaceholderFieldEnum_ITEM_8_PRICE PricePlaceholderFieldEnum_PricePlaceholderField = 802 + // Data Type: STRING. The price unit of item 8 of the table. Must match one + // of the predefined price units. + PricePlaceholderFieldEnum_ITEM_8_UNIT PricePlaceholderFieldEnum_PricePlaceholderField = 803 + // Data Type: URL_LIST. The final URLs of item 8 of the table when using + // Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_8_FINAL_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 804 + // Data Type: URL_LIST. The final mobile URLs of item 8 of the table when + // using Upgraded URLs. + PricePlaceholderFieldEnum_ITEM_8_FINAL_MOBILE_URLS PricePlaceholderFieldEnum_PricePlaceholderField = 805 +) + +var PricePlaceholderFieldEnum_PricePlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "TYPE", + 3: "PRICE_QUALIFIER", + 4: "TRACKING_TEMPLATE", + 5: "LANGUAGE", + 6: "FINAL_URL_SUFFIX", + 100: "ITEM_1_HEADER", + 101: "ITEM_1_DESCRIPTION", + 102: "ITEM_1_PRICE", + 103: "ITEM_1_UNIT", + 104: "ITEM_1_FINAL_URLS", + 105: "ITEM_1_FINAL_MOBILE_URLS", + 200: "ITEM_2_HEADER", + 201: "ITEM_2_DESCRIPTION", + 202: "ITEM_2_PRICE", + 203: "ITEM_2_UNIT", + 204: "ITEM_2_FINAL_URLS", + 205: "ITEM_2_FINAL_MOBILE_URLS", + 300: "ITEM_3_HEADER", + 301: "ITEM_3_DESCRIPTION", + 302: "ITEM_3_PRICE", + 303: "ITEM_3_UNIT", + 304: "ITEM_3_FINAL_URLS", + 305: "ITEM_3_FINAL_MOBILE_URLS", + 400: "ITEM_4_HEADER", + 401: "ITEM_4_DESCRIPTION", + 402: "ITEM_4_PRICE", + 403: "ITEM_4_UNIT", + 404: "ITEM_4_FINAL_URLS", + 405: "ITEM_4_FINAL_MOBILE_URLS", + 500: "ITEM_5_HEADER", + 501: "ITEM_5_DESCRIPTION", + 502: "ITEM_5_PRICE", + 503: "ITEM_5_UNIT", + 504: "ITEM_5_FINAL_URLS", + 505: "ITEM_5_FINAL_MOBILE_URLS", + 600: "ITEM_6_HEADER", + 601: "ITEM_6_DESCRIPTION", + 602: "ITEM_6_PRICE", + 603: "ITEM_6_UNIT", + 604: "ITEM_6_FINAL_URLS", + 605: "ITEM_6_FINAL_MOBILE_URLS", + 700: "ITEM_7_HEADER", + 701: "ITEM_7_DESCRIPTION", + 702: "ITEM_7_PRICE", + 703: "ITEM_7_UNIT", + 704: "ITEM_7_FINAL_URLS", + 705: "ITEM_7_FINAL_MOBILE_URLS", + 800: "ITEM_8_HEADER", + 801: "ITEM_8_DESCRIPTION", + 802: "ITEM_8_PRICE", + 803: "ITEM_8_UNIT", + 804: "ITEM_8_FINAL_URLS", + 805: "ITEM_8_FINAL_MOBILE_URLS", +} +var PricePlaceholderFieldEnum_PricePlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "TYPE": 2, + "PRICE_QUALIFIER": 3, + "TRACKING_TEMPLATE": 4, + "LANGUAGE": 5, + "FINAL_URL_SUFFIX": 6, + "ITEM_1_HEADER": 100, + "ITEM_1_DESCRIPTION": 101, + "ITEM_1_PRICE": 102, + "ITEM_1_UNIT": 103, + "ITEM_1_FINAL_URLS": 104, + "ITEM_1_FINAL_MOBILE_URLS": 105, + "ITEM_2_HEADER": 200, + "ITEM_2_DESCRIPTION": 201, + "ITEM_2_PRICE": 202, + "ITEM_2_UNIT": 203, + "ITEM_2_FINAL_URLS": 204, + "ITEM_2_FINAL_MOBILE_URLS": 205, + "ITEM_3_HEADER": 300, + "ITEM_3_DESCRIPTION": 301, + "ITEM_3_PRICE": 302, + "ITEM_3_UNIT": 303, + "ITEM_3_FINAL_URLS": 304, + "ITEM_3_FINAL_MOBILE_URLS": 305, + "ITEM_4_HEADER": 400, + "ITEM_4_DESCRIPTION": 401, + "ITEM_4_PRICE": 402, + "ITEM_4_UNIT": 403, + "ITEM_4_FINAL_URLS": 404, + "ITEM_4_FINAL_MOBILE_URLS": 405, + "ITEM_5_HEADER": 500, + "ITEM_5_DESCRIPTION": 501, + "ITEM_5_PRICE": 502, + "ITEM_5_UNIT": 503, + "ITEM_5_FINAL_URLS": 504, + "ITEM_5_FINAL_MOBILE_URLS": 505, + "ITEM_6_HEADER": 600, + "ITEM_6_DESCRIPTION": 601, + "ITEM_6_PRICE": 602, + "ITEM_6_UNIT": 603, + "ITEM_6_FINAL_URLS": 604, + "ITEM_6_FINAL_MOBILE_URLS": 605, + "ITEM_7_HEADER": 700, + "ITEM_7_DESCRIPTION": 701, + "ITEM_7_PRICE": 702, + "ITEM_7_UNIT": 703, + "ITEM_7_FINAL_URLS": 704, + "ITEM_7_FINAL_MOBILE_URLS": 705, + "ITEM_8_HEADER": 800, + "ITEM_8_DESCRIPTION": 801, + "ITEM_8_PRICE": 802, + "ITEM_8_UNIT": 803, + "ITEM_8_FINAL_URLS": 804, + "ITEM_8_FINAL_MOBILE_URLS": 805, +} + +func (x PricePlaceholderFieldEnum_PricePlaceholderField) String() string { + return proto.EnumName(PricePlaceholderFieldEnum_PricePlaceholderField_name, int32(x)) +} +func (PricePlaceholderFieldEnum_PricePlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_price_placeholder_field_d206949894631163, []int{0, 0} +} + +// Values for Price placeholder fields. +type PricePlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PricePlaceholderFieldEnum) Reset() { *m = PricePlaceholderFieldEnum{} } +func (m *PricePlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*PricePlaceholderFieldEnum) ProtoMessage() {} +func (*PricePlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_price_placeholder_field_d206949894631163, []int{0} +} +func (m *PricePlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PricePlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *PricePlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PricePlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *PricePlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PricePlaceholderFieldEnum.Merge(dst, src) +} +func (m *PricePlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_PricePlaceholderFieldEnum.Size(m) +} +func (m *PricePlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PricePlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PricePlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PricePlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.PricePlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PricePlaceholderFieldEnum_PricePlaceholderField", PricePlaceholderFieldEnum_PricePlaceholderField_name, PricePlaceholderFieldEnum_PricePlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/price_placeholder_field.proto", fileDescriptor_price_placeholder_field_d206949894631163) +} + +var fileDescriptor_price_placeholder_field_d206949894631163 = []byte{ + // 692 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd4, 0x49, 0x6f, 0xd3, 0x5a, + 0x14, 0x07, 0xf0, 0xe7, 0x21, 0x7e, 0xed, 0x6d, 0x9f, 0x7a, 0x7b, 0xdf, 0x6b, 0x1f, 0x20, 0xba, + 0xa0, 0x1f, 0xc0, 0x09, 0x99, 0xa5, 0xae, 0x9c, 0xd4, 0x09, 0x56, 0x53, 0xd7, 0x24, 0x71, 0x19, + 0x14, 0xc9, 0x0a, 0xb5, 0xeb, 0x46, 0x4a, 0xe3, 0x28, 0xa6, 0xfd, 0x1c, 0x8c, 0x7b, 0x28, 0xb0, + 0x41, 0x8c, 0x7b, 0xc6, 0x1d, 0xb4, 0xb0, 0x60, 0xc7, 0xf8, 0x19, 0xd8, 0x30, 0xee, 0x90, 0xe3, + 0xeb, 0x63, 0x5b, 0x32, 0x6c, 0xa2, 0xa3, 0x73, 0xf2, 0xf7, 0xfd, 0xad, 0xfe, 0x68, 0xc9, 0x76, + 0x1c, 0xbb, 0x6f, 0xa5, 0xbb, 0xa6, 0x9b, 0xf6, 0x47, 0x6f, 0xda, 0xcd, 0xa4, 0xad, 0xc1, 0xce, + 0xb6, 0x9b, 0x1e, 0x8e, 0x7a, 0x1b, 0x96, 0x31, 0xec, 0x77, 0x37, 0xac, 0x2d, 0xa7, 0x6f, 0x5a, + 0x23, 0x63, 0xb3, 0x67, 0xf5, 0x4d, 0x71, 0x38, 0x72, 0xce, 0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05, 0x3c, 0xd5, 0xc2, 0x5b, 0xe4, 0x28, 0x3a, 0x14, 0x5b, 0xaf, 0xae, 0x55, 0x94, 0x86, + 0xec, 0x5f, 0x7b, 0x84, 0x50, 0x42, 0x36, 0x20, 0xbc, 0x60, 0xc8, 0xff, 0xd4, 0x90, 0x8d, 0x19, + 0x5e, 0x32, 0x64, 0x96, 0x22, 0xb2, 0x14, 0xb1, 0xcf, 0x10, 0x4c, 0x15, 0x59, 0x5f, 0x71, 0xc0, + 0x90, 0x79, 0xca, 0xc8, 0x46, 0x19, 0xaf, 0x18, 0xb2, 0x40, 0x1d, 0xd9, 0x04, 0xc7, 0x6b, 0x06, + 0x20, 0xb9, 0x00, 0x72, 0x87, 0x05, 0x48, 0x2e, 0x06, 0xb9, 0xcb, 0x02, 0x24, 0x47, 0x21, 0xf7, + 0x58, 0x80, 0xe4, 0x7c, 0xc8, 0x7d, 0x16, 0x20, 0xb9, 0x28, 0xe4, 0x01, 0x0b, 0x90, 0x5c, 0x02, + 0xe4, 0x21, 0x0b, 0x90, 0x7c, 0x00, 0xb9, 0xc0, 0x01, 0x24, 0x1f, 0x83, 0x5c, 0xe4, 0x00, 0x92, + 0xa7, 0x90, 0x4b, 0x1c, 0x40, 0xf2, 0x3e, 0xe4, 0x32, 0x07, 0x90, 0x7c, 0x14, 0x72, 0x85, 0x03, + 0x48, 0x3e, 0x01, 0x72, 0x95, 0x03, 0x48, 0x21, 0x80, 0x7c, 0x09, 0x21, 0x85, 0x18, 0xe4, 0x6b, + 0x08, 0x29, 0x50, 0xc8, 0xb7, 0x10, 0x52, 0xf0, 0x21, 0xdf, 0x43, 0x48, 0x21, 0x0a, 0xf9, 0x11, + 0x42, 0x0a, 0x09, 0x90, 0x9f, 0x21, 0xa4, 0x18, 0x40, 0xde, 0xf2, 0x00, 0x29, 0xc6, 0x20, 0xef, + 0x78, 0x80, 0x14, 0x29, 0xe4, 0x3d, 0x0f, 0x90, 0xa2, 0x0f, 0xf9, 0xc0, 0x03, 0xa4, 0x18, 0x85, + 0x7c, 0xe4, 0x01, 0x52, 0x4c, 0x80, 0x7c, 0xe2, 0x01, 0x52, 0x0a, 0x20, 0x8f, 0x52, 0x00, 0x29, + 0xc5, 0x20, 0x8f, 0x53, 0x00, 0x29, 0x51, 0xc8, 0x93, 0x14, 0x40, 0x4a, 0x3e, 0xe4, 0x69, 0x0a, + 0x20, 0xa5, 0x28, 0xe4, 0x59, 0x0a, 0x20, 0xa5, 0x04, 0xc8, 0xf3, 0x14, 0x40, 0xca, 0x01, 0xe4, + 0x9a, 0x00, 0x90, 0x72, 0x0c, 0x72, 0x5d, 0x00, 0x48, 0x99, 0x42, 0xf6, 0x04, 0x80, 0x94, 0x7d, + 0xc8, 0x0d, 0x01, 0x20, 0xe5, 0x28, 0xe4, 0xa6, 0x00, 0x90, 0x72, 0x02, 0xe4, 0x96, 0x50, 0x39, + 0x60, 0xd0, 0xb1, 0x0d, 0x67, 0x5b, 0xfc, 0x63, 0x2f, 0x56, 0x8e, 0x24, 0xd6, 0x9e, 0xe6, 0x55, + 0xaa, 0xc6, 0x9c, 0xad, 0xd0, 0xb0, 0xed, 0xf4, 0xbb, 0x03, 0x5b, 0x74, 0x46, 0x76, 0xda, 0xb6, + 0x06, 0xe3, 0xc2, 0x0d, 0x1a, 0x7a, 0xd8, 0x73, 0x7f, 0x53, 0xd8, 0x4b, 0xe3, 0xdf, 0x3d, 0x96, + 0xab, 0x4b, 0xd2, 0x6d, 0x76, 0xa1, 0xee, 0x7f, 0x4a, 0x32, 0x5d, 0xd1, 0x1f, 0xbd, 0x69, 0x3d, + 0x23, 0x7a, 0x05, 0xec, 0xee, 0x07, 0xf7, 0x8e, 0x64, 0xba, 0x1d, 0xb8, 0x77, 0xd6, 0x33, 0x9d, + 0xf1, 0xfd, 0x9c, 0x30, 0x7e, 0x34, 0xf7, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x4a, 0x19, 0xe7, + 0x24, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel.pb.go new file mode 100644 index 000000000..01939e553 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/product_channel.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing the locality of a product offer. +type ProductChannelEnum_ProductChannel int32 + +const ( + // Not specified. + ProductChannelEnum_UNSPECIFIED ProductChannelEnum_ProductChannel = 0 + // Used for return value only. Represents value unknown in this version. + ProductChannelEnum_UNKNOWN ProductChannelEnum_ProductChannel = 1 + // The item is sold online. + ProductChannelEnum_ONLINE ProductChannelEnum_ProductChannel = 2 + // The item is sold in local stores. + ProductChannelEnum_LOCAL ProductChannelEnum_ProductChannel = 3 +) + +var ProductChannelEnum_ProductChannel_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ONLINE", + 3: "LOCAL", +} +var ProductChannelEnum_ProductChannel_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ONLINE": 2, + "LOCAL": 3, +} + +func (x ProductChannelEnum_ProductChannel) String() string { + return proto.EnumName(ProductChannelEnum_ProductChannel_name, int32(x)) +} +func (ProductChannelEnum_ProductChannel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_product_channel_81186d77dbd458b5, []int{0, 0} +} + +// Locality of a product offer. +type ProductChannelEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductChannelEnum) Reset() { *m = ProductChannelEnum{} } +func (m *ProductChannelEnum) String() string { return proto.CompactTextString(m) } +func (*ProductChannelEnum) ProtoMessage() {} +func (*ProductChannelEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_product_channel_81186d77dbd458b5, []int{0} +} +func (m *ProductChannelEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductChannelEnum.Unmarshal(m, b) +} +func (m *ProductChannelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductChannelEnum.Marshal(b, m, deterministic) +} +func (dst *ProductChannelEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductChannelEnum.Merge(dst, src) +} +func (m *ProductChannelEnum) XXX_Size() int { + return xxx_messageInfo_ProductChannelEnum.Size(m) +} +func (m *ProductChannelEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ProductChannelEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductChannelEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ProductChannelEnum)(nil), "google.ads.googleads.v0.enums.ProductChannelEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ProductChannelEnum_ProductChannel", ProductChannelEnum_ProductChannel_name, ProductChannelEnum_ProductChannel_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/product_channel.proto", fileDescriptor_product_channel_81186d77dbd458b5) +} + +var fileDescriptor_product_channel_81186d77dbd458b5 = []byte{ + // 259 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03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, 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0xe4, 0xd9, + 0xe2, 0x53, 0x30, 0xf9, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, + 0x3e, 0x89, 0x0d, 0x6c, 0xa9, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x47, 0xf7, 0x35, 0x74, 0x80, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel_exclusivity.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel_exclusivity.pb.go new file mode 100644 index 000000000..095db05d2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_channel_exclusivity.pb.go @@ -0,0 +1,117 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/product_channel_exclusivity.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing the availability of a product offer. +type ProductChannelExclusivityEnum_ProductChannelExclusivity int32 + +const ( + // Not specified. + ProductChannelExclusivityEnum_UNSPECIFIED ProductChannelExclusivityEnum_ProductChannelExclusivity = 0 + // Used for return value only. Represents value unknown in this version. + ProductChannelExclusivityEnum_UNKNOWN ProductChannelExclusivityEnum_ProductChannelExclusivity = 1 + // The item is sold through one channel only, either local stores or online + // as indicated by its ProductChannel. + ProductChannelExclusivityEnum_SINGLE_CHANNEL ProductChannelExclusivityEnum_ProductChannelExclusivity = 2 + // The item is matched to its online or local stores counterpart, indicating + // it is available for purchase in both ShoppingProductChannels. + ProductChannelExclusivityEnum_MULTI_CHANNEL ProductChannelExclusivityEnum_ProductChannelExclusivity = 3 +) + +var ProductChannelExclusivityEnum_ProductChannelExclusivity_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SINGLE_CHANNEL", + 3: "MULTI_CHANNEL", +} +var ProductChannelExclusivityEnum_ProductChannelExclusivity_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SINGLE_CHANNEL": 2, + "MULTI_CHANNEL": 3, +} + +func (x ProductChannelExclusivityEnum_ProductChannelExclusivity) String() string { + return proto.EnumName(ProductChannelExclusivityEnum_ProductChannelExclusivity_name, int32(x)) +} +func (ProductChannelExclusivityEnum_ProductChannelExclusivity) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_product_channel_exclusivity_8ac2b04352a1c000, []int{0, 0} +} + +// Availability of a product offer. +type ProductChannelExclusivityEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductChannelExclusivityEnum) Reset() { *m = ProductChannelExclusivityEnum{} } +func (m *ProductChannelExclusivityEnum) String() string { return proto.CompactTextString(m) } +func (*ProductChannelExclusivityEnum) ProtoMessage() {} +func (*ProductChannelExclusivityEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_product_channel_exclusivity_8ac2b04352a1c000, []int{0} +} +func (m *ProductChannelExclusivityEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductChannelExclusivityEnum.Unmarshal(m, b) +} +func (m *ProductChannelExclusivityEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductChannelExclusivityEnum.Marshal(b, m, deterministic) +} +func (dst *ProductChannelExclusivityEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductChannelExclusivityEnum.Merge(dst, src) +} +func (m *ProductChannelExclusivityEnum) XXX_Size() int { + return xxx_messageInfo_ProductChannelExclusivityEnum.Size(m) +} +func (m *ProductChannelExclusivityEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ProductChannelExclusivityEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductChannelExclusivityEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ProductChannelExclusivityEnum)(nil), "google.ads.googleads.v0.enums.ProductChannelExclusivityEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ProductChannelExclusivityEnum_ProductChannelExclusivity", ProductChannelExclusivityEnum_ProductChannelExclusivity_name, ProductChannelExclusivityEnum_ProductChannelExclusivity_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/product_channel_exclusivity.proto", fileDescriptor_product_channel_exclusivity_8ac2b04352a1c000) +} + +var fileDescriptor_product_channel_exclusivity_8ac2b04352a1c000 = []byte{ + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x82, 0xa2, 0xfc, 0x94, 0xd2, 0xe4, 0x92, 0xf8, 0xe4, 0x8c, 0xc4, 0xbc, + 0xbc, 0xd4, 0x9c, 0xf8, 0xd4, 0x8a, 0xe4, 0x9c, 0xd2, 0xe2, 0xcc, 0xb2, 0xcc, 0x92, 0x4a, 0xbd, + 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x2e, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x01, + 0x7a, 0x65, 0x06, 0x7a, 0x60, 0x03, 0x94, 0x1a, 0x19, 0xb9, 0x64, 0x03, 0x20, 0x86, 0x38, 0x43, + 0xcc, 0x70, 0x45, 0x18, 0xe1, 0x9a, 0x57, 0x9a, 0xab, 0x94, 0xc0, 0x25, 0x89, 0x53, 0x81, 0x10, + 0x3f, 0x17, 0x77, 0xa8, 0x5f, 0x70, 0x80, 0xab, 0xb3, 0xa7, 0x9b, 0xa7, 0xab, 0x8b, 0x00, 0x83, + 0x10, 0x37, 0x17, 0x7b, 0xa8, 0x9f, 0xb7, 0x9f, 0x7f, 0xb8, 0x9f, 0x00, 0xa3, 0x90, 0x10, 0x17, + 0x5f, 0xb0, 0xa7, 0x9f, 0xbb, 0x8f, 0x6b, 0xbc, 0xb3, 0x87, 0xa3, 0x9f, 0x9f, 0xab, 0x8f, 0x00, + 0x93, 0x90, 0x20, 0x17, 0xaf, 0x6f, 0xa8, 0x4f, 0x88, 0x27, 0x5c, 0x88, 0xd9, 0xe9, 0x3c, 0x23, + 0x97, 0x62, 0x72, 0x7e, 0xae, 0x1e, 0x5e, 0x97, 0x3a, 0xc9, 0xe1, 0x74, 0x45, 0x00, 0xc8, 0xa3, + 0x01, 0x8c, 0x51, 0x4e, 0x50, 0x03, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, + 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xc1, 0x00, 0x0b, 0xbb, 0x82, 0xcc, 0x62, 0x1c, 0x41, 0x69, 0x0d, + 0x26, 0x17, 0x31, 0x31, 0xbb, 0x3b, 0x3a, 0xae, 0x62, 0x92, 0x75, 0x87, 0x18, 0xe5, 0x98, 0x52, + 0xac, 0x07, 0x61, 0x82, 0x58, 0x61, 0x06, 0x7a, 0xa0, 0x20, 0x29, 0x3e, 0x05, 0x93, 0x8f, 0x71, + 0x4c, 0x29, 0x8e, 0x81, 0xcb, 0xc7, 0x84, 0x19, 0xc4, 0x80, 0xe5, 0x93, 0xd8, 0xc0, 0x96, 0x1a, + 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xf1, 0xef, 0x78, 0xbe, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_condition.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_condition.pb.go new file mode 100644 index 000000000..adebe3ff6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_condition.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/product_condition.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing the condition of a product offer. +type ProductConditionEnum_ProductCondition int32 + +const ( + // Not specified. + ProductConditionEnum_UNSPECIFIED ProductConditionEnum_ProductCondition = 0 + // Used for return value only. Represents value unknown in this version. + ProductConditionEnum_UNKNOWN ProductConditionEnum_ProductCondition = 1 + // The product condition is new. + ProductConditionEnum_NEW ProductConditionEnum_ProductCondition = 3 + // The product condition is refurbished. + ProductConditionEnum_REFURBISHED ProductConditionEnum_ProductCondition = 4 + // The product condition is used. + ProductConditionEnum_USED ProductConditionEnum_ProductCondition = 5 +) + +var ProductConditionEnum_ProductCondition_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "NEW", + 4: "REFURBISHED", + 5: "USED", +} +var ProductConditionEnum_ProductCondition_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NEW": 3, + "REFURBISHED": 4, + "USED": 5, +} + +func (x ProductConditionEnum_ProductCondition) String() string { + return proto.EnumName(ProductConditionEnum_ProductCondition_name, int32(x)) +} +func (ProductConditionEnum_ProductCondition) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_product_condition_929fee96e58b4c70, []int{0, 0} +} + +// Condition of a product offer. +type ProductConditionEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductConditionEnum) Reset() { *m = ProductConditionEnum{} } +func (m *ProductConditionEnum) String() string { return proto.CompactTextString(m) } +func (*ProductConditionEnum) ProtoMessage() {} +func (*ProductConditionEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_product_condition_929fee96e58b4c70, []int{0} +} +func (m *ProductConditionEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductConditionEnum.Unmarshal(m, b) +} +func (m *ProductConditionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductConditionEnum.Marshal(b, m, deterministic) +} +func (dst *ProductConditionEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductConditionEnum.Merge(dst, src) +} +func (m *ProductConditionEnum) XXX_Size() int { + return xxx_messageInfo_ProductConditionEnum.Size(m) +} +func (m *ProductConditionEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ProductConditionEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductConditionEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ProductConditionEnum)(nil), "google.ads.googleads.v0.enums.ProductConditionEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ProductConditionEnum_ProductCondition", ProductConditionEnum_ProductCondition_name, ProductConditionEnum_ProductCondition_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/product_condition.proto", fileDescriptor_product_condition_929fee96e58b4c70) +} + +var fileDescriptor_product_condition_929fee96e58b4c70 = []byte{ + // 273 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x82, 0xa2, 0xfc, 0x94, 0xd2, 0xe4, 0x92, 0xf8, 0xe4, 0xfc, 0xbc, 0x94, + 0xcc, 0x92, 0xcc, 0xfc, 0x3c, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x5a, 0xbd, + 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x36, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x36, 0xa5, 0x1c, 0x2e, 0x91, + 0x00, 0x88, 0x4e, 0x67, 0x98, 0x46, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, 0x10, 0x2e, 0x01, 0x74, 0x71, + 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, + 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, 0x21, 0x76, + 0x2e, 0x66, 0x3f, 0xd7, 0x70, 0x01, 0x66, 0x90, 0xb2, 0x20, 0x57, 0xb7, 0xd0, 0x20, 0x27, 0xcf, + 0x60, 0x0f, 0x57, 0x17, 0x01, 0x16, 0x21, 0x0e, 0x2e, 0x96, 0xd0, 0x60, 0x57, 0x17, 0x01, 0x56, + 0xa7, 0x63, 0x8c, 0x5c, 0x8a, 0xc9, 0xf9, 0xb9, 0x7a, 0x78, 0xdd, 0xe4, 0x24, 0x8a, 0x6e, 0x73, + 0x00, 0xc8, 0x27, 0x01, 0x8c, 0x51, 0x4e, 0x50, 0x7d, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, + 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0x7f, 0xc2, 0x82, 0xa4, 0x20, 0xb3, 0x18, 0x47, + 0x08, 0x59, 0x83, 0xc9, 0x45, 0x4c, 0xcc, 0xee, 0x8e, 0x8e, 0xab, 0x98, 0x64, 0xdd, 0x21, 0x46, + 0x39, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, 0x56, 0x98, 0x81, 0x1e, 0xc8, 0xf7, 0xc5, 0xa7, 0x60, + 0xf2, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0xf9, 0x98, 0x30, 0x83, 0x18, 0xb0, 0x7c, 0x12, 0x1b, + 0xd8, 0x52, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x98, 0xa4, 0xf5, 0x40, 0x95, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_type_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_type_level.pb.go new file mode 100644 index 000000000..9f61214e9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/product_type_level.pb.go @@ -0,0 +1,127 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/product_type_level.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing the level of the type of a product offer. +type ProductTypeLevelEnum_ProductTypeLevel int32 + +const ( + // Not specified. + ProductTypeLevelEnum_UNSPECIFIED ProductTypeLevelEnum_ProductTypeLevel = 0 + // Used for return value only. Represents value unknown in this version. + ProductTypeLevelEnum_UNKNOWN ProductTypeLevelEnum_ProductTypeLevel = 1 + // Level 1. + ProductTypeLevelEnum_PRODUCT_TYPE_L1 ProductTypeLevelEnum_ProductTypeLevel = 2 + // Level 2. + ProductTypeLevelEnum_PRODUCT_TYPE_L2 ProductTypeLevelEnum_ProductTypeLevel = 3 + // Level 3. + ProductTypeLevelEnum_PRODUCT_TYPE_L3 ProductTypeLevelEnum_ProductTypeLevel = 4 + // Level 4. + ProductTypeLevelEnum_PRODUCT_TYPE_L4 ProductTypeLevelEnum_ProductTypeLevel = 5 + // Level 5. + ProductTypeLevelEnum_PRODUCT_TYPE_L5 ProductTypeLevelEnum_ProductTypeLevel = 6 +) + +var ProductTypeLevelEnum_ProductTypeLevel_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PRODUCT_TYPE_L1", + 3: "PRODUCT_TYPE_L2", + 4: "PRODUCT_TYPE_L3", + 5: "PRODUCT_TYPE_L4", + 6: "PRODUCT_TYPE_L5", +} +var ProductTypeLevelEnum_ProductTypeLevel_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PRODUCT_TYPE_L1": 2, + "PRODUCT_TYPE_L2": 3, + "PRODUCT_TYPE_L3": 4, + "PRODUCT_TYPE_L4": 5, + "PRODUCT_TYPE_L5": 6, +} + +func (x ProductTypeLevelEnum_ProductTypeLevel) String() string { + return proto.EnumName(ProductTypeLevelEnum_ProductTypeLevel_name, int32(x)) +} +func (ProductTypeLevelEnum_ProductTypeLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_product_type_level_e9b6c5214d538040, []int{0, 0} +} + +// Level of the type of a product offer. +type ProductTypeLevelEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductTypeLevelEnum) Reset() { *m = ProductTypeLevelEnum{} } +func (m *ProductTypeLevelEnum) String() string { return proto.CompactTextString(m) } +func (*ProductTypeLevelEnum) ProtoMessage() {} +func (*ProductTypeLevelEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_product_type_level_e9b6c5214d538040, []int{0} +} +func (m *ProductTypeLevelEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductTypeLevelEnum.Unmarshal(m, b) +} +func (m *ProductTypeLevelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductTypeLevelEnum.Marshal(b, m, deterministic) +} +func (dst *ProductTypeLevelEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductTypeLevelEnum.Merge(dst, src) +} +func (m *ProductTypeLevelEnum) XXX_Size() int { + return xxx_messageInfo_ProductTypeLevelEnum.Size(m) +} +func (m *ProductTypeLevelEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ProductTypeLevelEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductTypeLevelEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ProductTypeLevelEnum)(nil), "google.ads.googleads.v0.enums.ProductTypeLevelEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ProductTypeLevelEnum_ProductTypeLevel", ProductTypeLevelEnum_ProductTypeLevel_name, ProductTypeLevelEnum_ProductTypeLevel_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/product_type_level.proto", fileDescriptor_product_type_level_e9b6c5214d538040) +} + +var fileDescriptor_product_type_level_e9b6c5214d538040 = []byte{ + // 287 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x82, 0x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e3, 0x08, 0x69, + 0x6b, 0x30, 0xb9, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0xac, 0x3b, 0xc4, 0x28, 0xc7, + 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, 0x85, 0x61, 0xf1, 0x29, 0x98, 0x7c, + 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x3e, 0x26, 0xcc, 0x20, 0x06, 0x2c, 0x9f, 0xc4, 0x06, 0xb6, + 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xae, 0x5a, 0x72, 0x1e, 0xdd, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/promotion_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/promotion_placeholder_field.pb.go new file mode 100644 index 000000000..0b67b6c47 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/promotion_placeholder_field.pb.go @@ -0,0 +1,182 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/promotion_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Promotion placeholder fields. +type PromotionPlaceholderFieldEnum_PromotionPlaceholderField int32 + +const ( + // Not specified. + PromotionPlaceholderFieldEnum_UNSPECIFIED PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + PromotionPlaceholderFieldEnum_UNKNOWN PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 1 + // Data Type: STRING. The text that appears on the ad when the extension is + // shown. + PromotionPlaceholderFieldEnum_PROMOTION_TARGET PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 2 + // Data Type: STRING. Allows you to add "up to" phrase to the promotion, + // in case you have variable promotion rates. + PromotionPlaceholderFieldEnum_DISCOUNT_MODIFIER PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 3 + // Data Type: INT64. Takes a value in micros, where 1 million micros + // represents 1%, and is shown as a percentage when rendered. + PromotionPlaceholderFieldEnum_PERCENT_OFF PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 4 + // Data Type: PRICE. Requires a currency and an amount of money. + PromotionPlaceholderFieldEnum_MONEY_AMOUNT_OFF PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 5 + // Data Type: STRING. A string that the user enters to get the discount. + PromotionPlaceholderFieldEnum_PROMOTION_CODE PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 6 + // Data Type: PRICE. A minimum spend before the user qualifies for the + // promotion. + PromotionPlaceholderFieldEnum_ORDERS_OVER_AMOUNT PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 7 + // Data Type: DATE. The start date of the promotion. + PromotionPlaceholderFieldEnum_PROMOTION_START PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 8 + // Data Type: DATE. The end date of the promotion. + PromotionPlaceholderFieldEnum_PROMOTION_END PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 9 + // Data Type: STRING. Describes the associated event for the promotion using + // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. + PromotionPlaceholderFieldEnum_OCCASION PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 10 + // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded + // URLs. + PromotionPlaceholderFieldEnum_FINAL_URLS PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 11 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + PromotionPlaceholderFieldEnum_FINAL_MOBILE_URLS PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 12 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + PromotionPlaceholderFieldEnum_TRACKING_URL PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 13 + // Data Type: STRING. A string represented by a language code for the + // promotion. + PromotionPlaceholderFieldEnum_LANGUAGE PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 14 + // Data Type: STRING. Final URL suffix for the ad when using parallel + // tracking. + PromotionPlaceholderFieldEnum_FINAL_URL_SUFFIX PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 15 +) + +var PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "PROMOTION_TARGET", + 3: "DISCOUNT_MODIFIER", + 4: "PERCENT_OFF", + 5: "MONEY_AMOUNT_OFF", + 6: "PROMOTION_CODE", + 7: "ORDERS_OVER_AMOUNT", + 8: "PROMOTION_START", + 9: "PROMOTION_END", + 10: "OCCASION", + 11: "FINAL_URLS", + 12: "FINAL_MOBILE_URLS", + 13: "TRACKING_URL", + 14: "LANGUAGE", + 15: "FINAL_URL_SUFFIX", +} +var PromotionPlaceholderFieldEnum_PromotionPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "PROMOTION_TARGET": 2, + "DISCOUNT_MODIFIER": 3, + "PERCENT_OFF": 4, + "MONEY_AMOUNT_OFF": 5, + "PROMOTION_CODE": 6, + "ORDERS_OVER_AMOUNT": 7, + "PROMOTION_START": 8, + "PROMOTION_END": 9, + "OCCASION": 10, + "FINAL_URLS": 11, + "FINAL_MOBILE_URLS": 12, + "TRACKING_URL": 13, + "LANGUAGE": 14, + "FINAL_URL_SUFFIX": 15, +} + +func (x PromotionPlaceholderFieldEnum_PromotionPlaceholderField) String() string { + return proto.EnumName(PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name, int32(x)) +} +func (PromotionPlaceholderFieldEnum_PromotionPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_promotion_placeholder_field_6a43d446aaa76383, []int{0, 0} +} + +// Values for Promotion placeholder fields. +type PromotionPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PromotionPlaceholderFieldEnum) Reset() { *m = PromotionPlaceholderFieldEnum{} } +func (m *PromotionPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*PromotionPlaceholderFieldEnum) ProtoMessage() {} +func (*PromotionPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_promotion_placeholder_field_6a43d446aaa76383, []int{0} +} +func (m *PromotionPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PromotionPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *PromotionPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PromotionPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *PromotionPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PromotionPlaceholderFieldEnum.Merge(dst, src) +} +func (m *PromotionPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_PromotionPlaceholderFieldEnum.Size(m) +} +func (m *PromotionPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PromotionPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PromotionPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PromotionPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.PromotionPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField", PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name, PromotionPlaceholderFieldEnum_PromotionPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/promotion_placeholder_field.proto", fileDescriptor_promotion_placeholder_field_6a43d446aaa76383) +} + +var fileDescriptor_promotion_placeholder_field_6a43d446aaa76383 = []byte{ + // 438 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6e, 0x9b, 0x30, + 0x18, 0xc5, 0x17, 0xba, 0xb5, 0xdd, 0x97, 0x34, 0x71, 0xbd, 0x3f, 0xd2, 0x2e, 0x32, 0x69, 0x7d, + 0x00, 0x13, 0x69, 0x97, 0xbb, 0x98, 0x1c, 0x30, 0xc8, 0x6a, 0xb0, 0x91, 0x81, 0xec, 0x8f, 0x22, + 0x59, 0x59, 0x61, 0x2c, 0x12, 0xc1, 0x51, 0x68, 0xfb, 0x40, 0xbb, 0xdc, 0xa3, 0x4c, 0x93, 0xf6, + 0x26, 0x7b, 0x86, 0xc9, 0xd0, 0x24, 0x57, 0xe9, 0x0d, 0x3a, 0x9c, 0xef, 0x7c, 0x3f, 0x2c, 0x8e, + 0xe1, 0x63, 0x69, 0x4c, 0x59, 0x15, 0xee, 0x32, 0x6f, 0xdc, 0x4e, 0x5a, 0x75, 0x3f, 0x71, 0x8b, + 0xfa, 0x6e, 0xdd, 0xb8, 0x9b, 0xad, 0x59, 0x9b, 0xdb, 0x95, 0xa9, 0xf5, 0xa6, 0x5a, 0xde, 0x14, + 0x3f, 0x4c, 0x95, 0x17, 0x5b, 0xfd, 0x7d, 0x55, 0x54, 0x39, 0xd9, 0x6c, 0xcd, 0xad, 0xc1, 0xe3, + 0x6e, 0x8b, 0x2c, 0xf3, 0x86, 0xec, 0x01, 0xe4, 0x7e, 0x42, 0x5a, 0xc0, 0xd5, 0x3f, 0x07, 0xc6, + 0xf1, 0x0e, 0x12, 0x1f, 0x18, 0x81, 0x45, 0xb0, 0xfa, 0x6e, 0x7d, 0xf5, 0xc7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 0xb7, 0x07, 0xef, 0x6e, 0xcc, 0x9a, 0x3c, 0x5a, 0xcb, 0xf4, 0xed, 0xd1, + 0x3f, 0x1e, 0xdb, 0x56, 0xe3, 0xde, 0xd7, 0xe9, 0x03, 0xa0, 0x34, 0xd5, 0xb2, 0x2e, 0x89, 0xd9, + 0x96, 0x6e, 0x59, 0xd4, 0x6d, 0xe7, 0xbb, 0x8b, 0xb2, 0x59, 0x35, 0x47, 0xee, 0xcd, 0x87, 0xf6, + 0xf9, 0xd3, 0x39, 0x09, 0x29, 0xfd, 0xe5, 0x8c, 0xc3, 0x0e, 0x45, 0xf3, 0x86, 0x74, 0xd2, 0xaa, + 0xf9, 0x84, 0xd8, 0xfe, 0x9b, 0xdf, 0xbb, 0xf9, 0x82, 0xe6, 0xcd, 0x62, 0x3f, 0x5f, 0xcc, 0x27, + 0x8b, 0x76, 0xfe, 0xed, 0xb4, 0xfd, 0xe8, 0xfb, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2b, 0xb1, + 0x0f, 0xf2, 0xab, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/proximity_radius_units.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/proximity_radius_units.pb.go new file mode 100644 index 000000000..e4e121613 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/proximity_radius_units.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/proximity_radius_units.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The unit of radius distance in proximity (e.g. MILES) +type ProximityRadiusUnitsEnum_ProximityRadiusUnits int32 + +const ( + // Not specified. + ProximityRadiusUnitsEnum_UNSPECIFIED ProximityRadiusUnitsEnum_ProximityRadiusUnits = 0 + // Used for return value only. Represents value unknown in this version. + ProximityRadiusUnitsEnum_UNKNOWN ProximityRadiusUnitsEnum_ProximityRadiusUnits = 1 + // Miles + ProximityRadiusUnitsEnum_MILES ProximityRadiusUnitsEnum_ProximityRadiusUnits = 2 + // Kilometers + ProximityRadiusUnitsEnum_KILOMETERS ProximityRadiusUnitsEnum_ProximityRadiusUnits = 3 +) + +var ProximityRadiusUnitsEnum_ProximityRadiusUnits_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "MILES", + 3: "KILOMETERS", +} +var ProximityRadiusUnitsEnum_ProximityRadiusUnits_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "MILES": 2, + "KILOMETERS": 3, +} + +func (x ProximityRadiusUnitsEnum_ProximityRadiusUnits) String() string { + return proto.EnumName(ProximityRadiusUnitsEnum_ProximityRadiusUnits_name, int32(x)) +} +func (ProximityRadiusUnitsEnum_ProximityRadiusUnits) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_proximity_radius_units_5dd96de9f46de87e, []int{0, 0} +} + +// Container for enum describing unit of radius in proximity. +type ProximityRadiusUnitsEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProximityRadiusUnitsEnum) Reset() { *m = ProximityRadiusUnitsEnum{} } +func (m *ProximityRadiusUnitsEnum) String() string { return proto.CompactTextString(m) } +func (*ProximityRadiusUnitsEnum) ProtoMessage() {} +func (*ProximityRadiusUnitsEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_proximity_radius_units_5dd96de9f46de87e, []int{0} +} +func (m *ProximityRadiusUnitsEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProximityRadiusUnitsEnum.Unmarshal(m, b) +} +func (m *ProximityRadiusUnitsEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProximityRadiusUnitsEnum.Marshal(b, m, deterministic) +} +func (dst *ProximityRadiusUnitsEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProximityRadiusUnitsEnum.Merge(dst, src) +} +func (m *ProximityRadiusUnitsEnum) XXX_Size() int { + return xxx_messageInfo_ProximityRadiusUnitsEnum.Size(m) +} +func (m *ProximityRadiusUnitsEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ProximityRadiusUnitsEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ProximityRadiusUnitsEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ProximityRadiusUnitsEnum)(nil), "google.ads.googleads.v0.enums.ProximityRadiusUnitsEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.ProximityRadiusUnitsEnum_ProximityRadiusUnits", ProximityRadiusUnitsEnum_ProximityRadiusUnits_name, ProximityRadiusUnitsEnum_ProximityRadiusUnits_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/proximity_radius_units.proto", fileDescriptor_proximity_radius_units_5dd96de9f46de87e) +} + +var fileDescriptor_proximity_radius_units_5dd96de9f46de87e = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x82, 0xa2, 0xfc, 0x8a, 0xcc, 0xdc, 0xcc, 0x92, 0xca, 0xf8, 0xa2, 0xc4, + 0x94, 0xcc, 0xd2, 0xe2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x06, 0x7a, 0x20, 0xcf, 0x17, 0x9f, + 0x82, 0xc9, 0xc7, 0x38, 0xa6, 0x14, 0xc7, 0xc0, 0xe5, 0x63, 0xc2, 0x0c, 0x62, 0xc0, 0xf2, 0x49, + 0x6c, 0x60, 0x4b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x05, 0xa6, 0x15, 0x88, 0x9d, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/quality_score_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/quality_score_bucket.pb.go new file mode 100644 index 000000000..4b1330ef4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/quality_score_bucket.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/quality_score_bucket.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the possible quality score buckets. +type QualityScoreBucketEnum_QualityScoreBucket int32 + +const ( + // Not specified. + QualityScoreBucketEnum_UNSPECIFIED QualityScoreBucketEnum_QualityScoreBucket = 0 + // Used for return value only. Represents value unknown in this version. + QualityScoreBucketEnum_UNKNOWN QualityScoreBucketEnum_QualityScoreBucket = 1 + // Quality of the creative is below average. + QualityScoreBucketEnum_BELOW_AVERAGE QualityScoreBucketEnum_QualityScoreBucket = 2 + // Quality of the creative is average. + QualityScoreBucketEnum_AVERAGE QualityScoreBucketEnum_QualityScoreBucket = 3 + // Quality of the creative is above average. + QualityScoreBucketEnum_ABOVE_AVERAGE QualityScoreBucketEnum_QualityScoreBucket = 4 +) + +var QualityScoreBucketEnum_QualityScoreBucket_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BELOW_AVERAGE", + 3: "AVERAGE", + 4: "ABOVE_AVERAGE", +} +var QualityScoreBucketEnum_QualityScoreBucket_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BELOW_AVERAGE": 2, + "AVERAGE": 3, + "ABOVE_AVERAGE": 4, +} + +func (x QualityScoreBucketEnum_QualityScoreBucket) String() string { + return proto.EnumName(QualityScoreBucketEnum_QualityScoreBucket_name, int32(x)) +} +func (QualityScoreBucketEnum_QualityScoreBucket) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_quality_score_bucket_4a13fc1ac760516e, []int{0, 0} +} + +// The relative performance compared to other advertisers. +type QualityScoreBucketEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QualityScoreBucketEnum) Reset() { *m = QualityScoreBucketEnum{} } +func (m *QualityScoreBucketEnum) String() string { return proto.CompactTextString(m) } +func (*QualityScoreBucketEnum) ProtoMessage() {} +func (*QualityScoreBucketEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_quality_score_bucket_4a13fc1ac760516e, []int{0} +} +func (m *QualityScoreBucketEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QualityScoreBucketEnum.Unmarshal(m, b) +} +func (m *QualityScoreBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QualityScoreBucketEnum.Marshal(b, m, deterministic) +} +func (dst *QualityScoreBucketEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_QualityScoreBucketEnum.Merge(dst, src) +} +func (m *QualityScoreBucketEnum) XXX_Size() int { + return xxx_messageInfo_QualityScoreBucketEnum.Size(m) +} +func (m *QualityScoreBucketEnum) XXX_DiscardUnknown() { + xxx_messageInfo_QualityScoreBucketEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_QualityScoreBucketEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*QualityScoreBucketEnum)(nil), "google.ads.googleads.v0.enums.QualityScoreBucketEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.QualityScoreBucketEnum_QualityScoreBucket", QualityScoreBucketEnum_QualityScoreBucket_name, QualityScoreBucketEnum_QualityScoreBucket_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/quality_score_bucket.proto", fileDescriptor_quality_score_bucket_4a13fc1ac760516e) +} + +var fileDescriptor_quality_score_bucket_4a13fc1ac760516e = []byte{ + // 278 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xc2, 0xd2, 0xc4, 0x9c, 0xcc, 0x92, 0xca, 0xf8, 0xe2, 0xe4, 0xfc, 0xa2, + 0xd4, 0xf8, 0xa4, 0xd2, 0xe4, 0xec, 0xd4, 0x12, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, + 0x88, 0x72, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x4e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x4e, 0xa5, + 0x7a, 0x2e, 0xb1, 0x40, 0x88, 0xe6, 0x60, 0x90, 0x5e, 0x27, 0xb0, 0x56, 0xd7, 0xbc, 0xd2, 0x5c, + 0xa5, 0x54, 0x2e, 0x21, 0x4c, 0x19, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, + 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, + 0x70, 0x3f, 0x01, 0x46, 0x21, 0x41, 0x2e, 0x5e, 0x27, 0x57, 0x1f, 0xff, 0xf0, 0x78, 0xc7, 0x30, + 0xd7, 0x20, 0x47, 0x77, 0x57, 0x01, 0x26, 0x90, 0x3c, 0x8c, 0xc3, 0x0c, 0x92, 0x77, 0x74, 0xf2, + 0x0f, 0x73, 0x85, 0xcb, 0xb3, 0x38, 0x9d, 0x60, 0xe4, 0x52, 0x4c, 0xce, 0xcf, 0xd5, 0xc3, 0xeb, + 0x4c, 0x27, 0x71, 0x4c, 0xa7, 0x04, 0x80, 0xbc, 0x17, 0xc0, 0x18, 0xe5, 0x04, 0xd5, 0x99, 0x9e, + 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0xf6, 0x3c, 0x2c, + 0xa8, 0x0a, 0x32, 0x8b, 0x71, 0x84, 0x9c, 0x35, 0x98, 0x5c, 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, + 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, + 0x81, 0x02, 0xa4, 0xf8, 0x14, 0x4c, 0x3e, 0xc6, 0x31, 0xa5, 0x38, 0x06, 0x2e, 0x1f, 0x13, 0x66, + 0x10, 0x03, 0x96, 0x4f, 0x62, 0x03, 0x5b, 0x6a, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x20, + 0x20, 0x4c, 0xad, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/real_estate_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/real_estate_placeholder_field.pb.go new file mode 100644 index 000000000..4504de9fd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/real_estate_placeholder_field.pb.go @@ -0,0 +1,208 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/real_estate_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Real Estate placeholder fields. +type RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField int32 + +const ( + // Not specified. + RealEstatePlaceholderFieldEnum_UNSPECIFIED RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + RealEstatePlaceholderFieldEnum_UNKNOWN RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 1 + // Data Type: STRING. Unique ID. + RealEstatePlaceholderFieldEnum_LISTING_ID RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 2 + // Data Type: STRING. Main headline with listing name to be shown in dynamic + // ad. + RealEstatePlaceholderFieldEnum_LISTING_NAME RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 3 + // Data Type: STRING. City name to be shown in dynamic ad. + RealEstatePlaceholderFieldEnum_CITY_NAME RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 4 + // Data Type: STRING. Description of listing to be shown in dynamic ad. + RealEstatePlaceholderFieldEnum_DESCRIPTION RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 5 + // Data Type: STRING. Complete listing address, including postal code. + RealEstatePlaceholderFieldEnum_ADDRESS RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 6 + // Data Type: STRING. Price to be shown in the ad. + // Example: "100.00 USD" + RealEstatePlaceholderFieldEnum_PRICE RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 7 + // Data Type: STRING. Formatted price to be shown in the ad. + // Example: "Starting at $100.00 USD", "$80 - $100" + RealEstatePlaceholderFieldEnum_FORMATTED_PRICE RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 8 + // Data Type: URL. Image to be displayed in the ad. + RealEstatePlaceholderFieldEnum_IMAGE_URL RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 9 + // Data Type: STRING. Type of property (house, condo, apartment, etc.) used + // to group like items together for recommendation engine. + RealEstatePlaceholderFieldEnum_PROPERTY_TYPE RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 10 + // Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) + // used to group like items together for recommendation engine. + RealEstatePlaceholderFieldEnum_LISTING_TYPE RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 11 + // Data Type: STRING_LIST. Keywords used for product retrieval. + RealEstatePlaceholderFieldEnum_CONTEXTUAL_KEYWORDS RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 12 + // Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded + // URLs; the more specific the better (e.g. the individual URL of a specific + // listing and its location). + RealEstatePlaceholderFieldEnum_FINAL_URLS RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 13 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + RealEstatePlaceholderFieldEnum_FINAL_MOBILE_URLS RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 14 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + RealEstatePlaceholderFieldEnum_TRACKING_URL RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 15 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + RealEstatePlaceholderFieldEnum_ANDROID_APP_LINK RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 16 + // Data Type: STRING_LIST. List of recommended listing IDs to show together + // with this item. + RealEstatePlaceholderFieldEnum_SIMILAR_LISTING_IDS RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 17 + // Data Type: STRING. iOS app link. + RealEstatePlaceholderFieldEnum_IOS_APP_LINK RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 18 + // Data Type: INT64. iOS app store ID. + RealEstatePlaceholderFieldEnum_IOS_APP_STORE_ID RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField = 19 +) + +var RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "LISTING_ID", + 3: "LISTING_NAME", + 4: "CITY_NAME", + 5: "DESCRIPTION", + 6: "ADDRESS", + 7: "PRICE", + 8: "FORMATTED_PRICE", + 9: "IMAGE_URL", + 10: "PROPERTY_TYPE", + 11: "LISTING_TYPE", + 12: "CONTEXTUAL_KEYWORDS", + 13: "FINAL_URLS", + 14: "FINAL_MOBILE_URLS", + 15: "TRACKING_URL", + 16: "ANDROID_APP_LINK", + 17: "SIMILAR_LISTING_IDS", + 18: "IOS_APP_LINK", + 19: "IOS_APP_STORE_ID", +} +var RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "LISTING_ID": 2, + "LISTING_NAME": 3, + "CITY_NAME": 4, + "DESCRIPTION": 5, + "ADDRESS": 6, + "PRICE": 7, + "FORMATTED_PRICE": 8, + "IMAGE_URL": 9, + "PROPERTY_TYPE": 10, + "LISTING_TYPE": 11, + "CONTEXTUAL_KEYWORDS": 12, + "FINAL_URLS": 13, + "FINAL_MOBILE_URLS": 14, + "TRACKING_URL": 15, + "ANDROID_APP_LINK": 16, + "SIMILAR_LISTING_IDS": 17, + "IOS_APP_LINK": 18, + "IOS_APP_STORE_ID": 19, +} + +func (x RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField) String() string { + return proto.EnumName(RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_name, int32(x)) +} +func (RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_real_estate_placeholder_field_e43e61bd7be00afd, []int{0, 0} +} + +// Values for Real Estate placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type RealEstatePlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RealEstatePlaceholderFieldEnum) Reset() { *m = RealEstatePlaceholderFieldEnum{} } +func (m *RealEstatePlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*RealEstatePlaceholderFieldEnum) ProtoMessage() {} +func (*RealEstatePlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_real_estate_placeholder_field_e43e61bd7be00afd, []int{0} +} +func (m *RealEstatePlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RealEstatePlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *RealEstatePlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RealEstatePlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *RealEstatePlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_RealEstatePlaceholderFieldEnum.Merge(dst, src) +} +func (m *RealEstatePlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_RealEstatePlaceholderFieldEnum.Size(m) +} +func (m *RealEstatePlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_RealEstatePlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_RealEstatePlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*RealEstatePlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.RealEstatePlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField", RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_name, RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/real_estate_placeholder_field.proto", fileDescriptor_real_estate_placeholder_field_e43e61bd7be00afd) +} + +var fileDescriptor_real_estate_placeholder_field_e43e61bd7be00afd = []byte{ + // 472 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, + 0x14, 0x86, 0x69, 0xcb, 0x36, 0xea, 0xae, 0xab, 0xeb, 0x82, 0x90, 0x90, 0x06, 0x62, 0x0f, 0x90, + 0x56, 0xe2, 0x92, 0x2b, 0x37, 0x76, 0x2b, 0xab, 0x89, 0x6d, 0xd9, 0xee, 0x46, 0x51, 0x25, 0x2b, + 0x2c, 0x26, 0x4c, 0x4a, 0x9b, 0xaa, 0xe9, 0xf6, 0x08, 0x3c, 0x08, 0x77, 0xf0, 0x28, 0x5c, 0xf1, + 0x48, 0xc8, 0x09, 0x5d, 0xb9, 0xe9, 0x6e, 0xa2, 0xff, 0xfc, 0xc7, 0xf9, 0x8e, 0xe5, 0xf3, 0x03, + 0x9c, 0x15, 0x45, 0x96, 0xbb, 0x61, 0x92, 0x96, 0xc3, 0x5a, 0x7a, 0xf5, 0x30, 0x1a, 0xba, 0xf5, + 0xfd, 0xaa, 0x1c, 0x6e, 0x5d, 0x92, 0x5b, 0x57, 0xee, 0x92, 0x9d, 0xb3, 0x9b, 0x3c, 0xb9, 0x75, + 0xdf, 0x8a, 0x3c, 0x75, 0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 0xb9, 0xbf, 0xfb, 0x84, 0x71, + 0x1c, 0x79, 0x98, 0x86, 0x5d, 0xf4, 0x0a, 0xf4, 0xeb, 0x3a, 0x16, 0x63, 0x16, 0xd1, 0xda, 0xbe, + 0xf0, 0x44, 0xa3, 0x70, 0x38, 0xf3, 0x48, 0x3f, 0xb6, 0x87, 0x5e, 0x02, 0x88, 0x39, 0x51, 0x82, + 0x11, 0x8b, 0xa5, 0xb4, 0x11, 0xe3, 0x33, 0x08, 0xfd, 0x1c, 0xcd, 0x62, 0x16, 0x61, 0x65, 0x0f, + 0x4f, 0xa2, 0x61, 0xdf, 0x03, 0x98, 0xd0, 0x87, 0xa3, 0xc8, 0x03, 0xf6, 0x8e, 0x36, 0x42, 0x51, + 0xff, 0x76, 0x83, 0xf1, 0x9f, 0x06, 0x78, 0x7f, 0x5b, 0xac, 0x82, 0x27, 0x37, 0x3a, 0x7e, 0x77, + 0x7c, 0x57, 0xd2, 0x27, 0x42, 0x36, 0x3e, 0x8f, 0xff, 0x11, 0xb2, 0x22, 0x4f, 0xd6, 0x59, 0x50, + 0x6c, 0xb3, 0x61, 0xe6, 0xd6, 0x55, 0x5e, 0xf6, 0x31, 0xdb, 0xdc, 0x95, 0x47, 0x52, 0xf7, 0xb1, + 0xfa, 0xfe, 0x68, 0xb6, 0xa6, 0x18, 0xff, 0x6a, 0x5e, 0x4e, 0x6b, 0x14, 0x4e, 0xcb, 0xa0, 0x96, + 0x5e, 0x5d, 0x8f, 0x02, 0x1f, 0x9d, 0xf2, 0xf7, 0xbe, 0xbf, 0xc4, 0x69, 0xb9, 0x7c, 0xec, 0x2f, + 0xaf, 0x47, 0xcb, 0xaa, 0xff, 0xe5, 0xb4, 0x1a, 0xfa, 0xe1, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x03, 0xff, 0x7e, 0x7c, 0xe9, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/recommendation_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/recommendation_type.pb.go new file mode 100644 index 000000000..668e7b5c9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/recommendation_type.pb.go @@ -0,0 +1,154 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/recommendation_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Types of recommendations. +type RecommendationTypeEnum_RecommendationType int32 + +const ( + // Not specified. + RecommendationTypeEnum_UNSPECIFIED RecommendationTypeEnum_RecommendationType = 0 + // Used for return value only. Represents value unknown in this version. + RecommendationTypeEnum_UNKNOWN RecommendationTypeEnum_RecommendationType = 1 + // Budget recommendation for budget constrained campaigns. + RecommendationTypeEnum_CAMPAIGN_BUDGET RecommendationTypeEnum_RecommendationType = 2 + // Keyword recommendation. + RecommendationTypeEnum_KEYWORD RecommendationTypeEnum_RecommendationType = 3 + // Recommendation to add a new text ad. + RecommendationTypeEnum_TEXT_AD RecommendationTypeEnum_RecommendationType = 4 + // Recommendation to update a campaign to use a Target CPA bidding strategy. + RecommendationTypeEnum_TARGET_CPA_OPT_IN RecommendationTypeEnum_RecommendationType = 5 + // Recommendation to update a campaign to use the Maximize Conversions + // bidding strategy. + RecommendationTypeEnum_MAXIMIZE_CONVERSIONS_OPT_IN RecommendationTypeEnum_RecommendationType = 6 + // Recommendation to enable Enhanced Cost Per Click for a campaign. + RecommendationTypeEnum_ENHANCED_CPC_OPT_IN RecommendationTypeEnum_RecommendationType = 7 + // Recommendation to start showing your campaign's ads on Google Search + // Partners Websites. + RecommendationTypeEnum_SEARCH_PARTNERS_OPT_IN RecommendationTypeEnum_RecommendationType = 8 + // Recommendation to update a campaign to use a Maximize Clicks bidding + // strategy. + RecommendationTypeEnum_MAXIMIZE_CLICKS_OPT_IN RecommendationTypeEnum_RecommendationType = 9 + // Recommendation to start using the "Optimize" ad rotation setting for the + // given ad group. + RecommendationTypeEnum_OPTIMIZE_AD_ROTATION RecommendationTypeEnum_RecommendationType = 10 +) + +var RecommendationTypeEnum_RecommendationType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CAMPAIGN_BUDGET", + 3: "KEYWORD", + 4: "TEXT_AD", + 5: "TARGET_CPA_OPT_IN", + 6: "MAXIMIZE_CONVERSIONS_OPT_IN", + 7: "ENHANCED_CPC_OPT_IN", + 8: "SEARCH_PARTNERS_OPT_IN", + 9: "MAXIMIZE_CLICKS_OPT_IN", + 10: "OPTIMIZE_AD_ROTATION", +} +var RecommendationTypeEnum_RecommendationType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CAMPAIGN_BUDGET": 2, + "KEYWORD": 3, + "TEXT_AD": 4, + "TARGET_CPA_OPT_IN": 5, + "MAXIMIZE_CONVERSIONS_OPT_IN": 6, + "ENHANCED_CPC_OPT_IN": 7, + "SEARCH_PARTNERS_OPT_IN": 8, + "MAXIMIZE_CLICKS_OPT_IN": 9, + "OPTIMIZE_AD_ROTATION": 10, +} + +func (x RecommendationTypeEnum_RecommendationType) String() string { + return proto.EnumName(RecommendationTypeEnum_RecommendationType_name, int32(x)) +} +func (RecommendationTypeEnum_RecommendationType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_recommendation_type_7c3269b466303113, []int{0, 0} +} + +// Container for enum describing types of recommendations. +type RecommendationTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecommendationTypeEnum) Reset() { *m = RecommendationTypeEnum{} } +func (m *RecommendationTypeEnum) String() string { return proto.CompactTextString(m) } +func (*RecommendationTypeEnum) ProtoMessage() {} +func (*RecommendationTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_type_7c3269b466303113, []int{0} +} +func (m *RecommendationTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecommendationTypeEnum.Unmarshal(m, b) +} +func (m *RecommendationTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecommendationTypeEnum.Marshal(b, m, deterministic) +} +func (dst *RecommendationTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecommendationTypeEnum.Merge(dst, src) +} +func (m *RecommendationTypeEnum) XXX_Size() int { + return xxx_messageInfo_RecommendationTypeEnum.Size(m) +} +func (m *RecommendationTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_RecommendationTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_RecommendationTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*RecommendationTypeEnum)(nil), "google.ads.googleads.v0.enums.RecommendationTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.RecommendationTypeEnum_RecommendationType", RecommendationTypeEnum_RecommendationType_name, RecommendationTypeEnum_RecommendationType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/recommendation_type.proto", fileDescriptor_recommendation_type_7c3269b466303113) +} + +var fileDescriptor_recommendation_type_7c3269b466303113 = []byte{ + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x6b, 0xd4, 0x40, + 0x1c, 0xc5, 0xdd, 0x54, 0x5b, 0x9d, 0x1e, 0x1a, 0xa7, 0xda, 0x8a, 0x52, 0xc4, 0x7e, 0x80, 0x49, + 0xc0, 0x83, 0x07, 0x4f, 0x93, 0xc9, 0x98, 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f, 0xc1, 0xd7, + 0xe0, 0xd5, 0x0c, 0xdf, 0xb0, 0x19, 0xbb, 0xa5, 0x86, 0x08, 0xbe, 0xa0, 0x2a, 0x66, 0x82, 0xc7, + 0x83, 0xe1, 0x10, 0x9e, 0x83, 0x53, 0xca, 0xaf, 0x30, 0x27, 0x34, 0x34, 0x44, 0x92, 0x01, 0x1c, + 0xc1, 0x97, 0xe0, 0x2c, 0xa6, 0x58, 0x91, 0x2b, 0x23, 0xb1, 0xd2, 0x9c, 0xaa, 0x31, 0xf4, 0xb8, + 0x65, 0x7f, 0xae, 0x7e, 0x64, 0x64, 0x3a, 0xb2, 0x27, 0xf0, 0x05, 0x78, 0x26, 0xa4, 0xee, 0x19, + 0x0e, 0x8d, 0x12, 0x1a, 0x6b, 0x26, 0xb8, 0x0b, 0x82, 0x1f, 0x13, 0xf0, 0xe6, 0xce, 0x96, 0xe8, + 0xbf, 0x3d, 0x06, 0xe7, 0xfb, 0x4d, 0xc9, 0xb6, 0x7f, 0x39, 0xb9, 0x0d, 0x7e, 0x27, 0x0b, 0xbb, + 0x4c, 0xab, 0x02, 0xd9, 0x55, 0xe1, 0x15, 0x79, 0xd5, 0xad, 0x33, 0x4c, 0x59, 0xdf, 0x37, 0xff, + 0x58, 0xf6, 0x7d, 0xf7, 0xfd, 0xe6, 0x1c, 0x44, 0x18, 0x7f, 0x77, 0x2e, 0xa2, 0xfe, 0x14, 0xce, + 0x1a, 0xd4, 0xcb, 0x56, 0x2d, 0x7c, 0xd4, 0x0e, 0xd6, 0xfc, 0x1c, 0x78, 0x82, 0xb3, 0x26, 0x19, + 0x79, 0xb2, 0xf0, 0x93, 0x8e, 0x7f, 0x3e, 0xec, 0x1e, 0x7d, 0xfb, 0x2b, 0x00, 0x00, 0xff, 0xff, + 0x47, 0x43, 0x4a, 0x0d, 0x4d, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_match_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_match_type.pb.go new file mode 100644 index 000000000..3ff0fee9b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_match_type.pb.go @@ -0,0 +1,128 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/search_term_match_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible match types for a keyword triggering an ad, including variants. +type SearchTermMatchTypeEnum_SearchTermMatchType int32 + +const ( + // Not specified. + SearchTermMatchTypeEnum_UNSPECIFIED SearchTermMatchTypeEnum_SearchTermMatchType = 0 + // Used for return value only. Represents value unknown in this version. + SearchTermMatchTypeEnum_UNKNOWN SearchTermMatchTypeEnum_SearchTermMatchType = 1 + // Broad match. + SearchTermMatchTypeEnum_BROAD SearchTermMatchTypeEnum_SearchTermMatchType = 2 + // Exact match. + SearchTermMatchTypeEnum_EXACT SearchTermMatchTypeEnum_SearchTermMatchType = 3 + // Phrase match. + SearchTermMatchTypeEnum_PHRASE SearchTermMatchTypeEnum_SearchTermMatchType = 4 + // Exact match (close variant). + SearchTermMatchTypeEnum_NEAR_EXACT SearchTermMatchTypeEnum_SearchTermMatchType = 5 + // Phrase match (close variant). + SearchTermMatchTypeEnum_NEAR_PHRASE SearchTermMatchTypeEnum_SearchTermMatchType = 6 +) + +var SearchTermMatchTypeEnum_SearchTermMatchType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BROAD", + 3: "EXACT", + 4: "PHRASE", + 5: "NEAR_EXACT", + 6: "NEAR_PHRASE", +} +var SearchTermMatchTypeEnum_SearchTermMatchType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BROAD": 2, + "EXACT": 3, + "PHRASE": 4, + "NEAR_EXACT": 5, + "NEAR_PHRASE": 6, +} + +func (x SearchTermMatchTypeEnum_SearchTermMatchType) String() string { + return proto.EnumName(SearchTermMatchTypeEnum_SearchTermMatchType_name, int32(x)) +} +func (SearchTermMatchTypeEnum_SearchTermMatchType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_search_term_match_type_e09c4b2680f9d005, []int{0, 0} +} + +// Container for enum describing match types for a keyword triggering an ad. +type SearchTermMatchTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchTermMatchTypeEnum) Reset() { *m = SearchTermMatchTypeEnum{} } +func (m *SearchTermMatchTypeEnum) String() string { return proto.CompactTextString(m) } +func (*SearchTermMatchTypeEnum) ProtoMessage() {} +func (*SearchTermMatchTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_search_term_match_type_e09c4b2680f9d005, []int{0} +} +func (m *SearchTermMatchTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchTermMatchTypeEnum.Unmarshal(m, b) +} +func (m *SearchTermMatchTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchTermMatchTypeEnum.Marshal(b, m, deterministic) +} +func (dst *SearchTermMatchTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchTermMatchTypeEnum.Merge(dst, src) +} +func (m *SearchTermMatchTypeEnum) XXX_Size() int { + return xxx_messageInfo_SearchTermMatchTypeEnum.Size(m) +} +func (m *SearchTermMatchTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SearchTermMatchTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchTermMatchTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SearchTermMatchTypeEnum)(nil), "google.ads.googleads.v0.enums.SearchTermMatchTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SearchTermMatchTypeEnum_SearchTermMatchType", SearchTermMatchTypeEnum_SearchTermMatchType_name, SearchTermMatchTypeEnum_SearchTermMatchType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/search_term_match_type.proto", fileDescriptor_search_term_match_type_e09c4b2680f9d005) +} + +var fileDescriptor_search_term_match_type_e09c4b2680f9d005 = []byte{ + // 300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0x83, 0x30, + 0x18, 0xc7, 0x85, 0x39, 0x8c, 0x5d, 0xa2, 0xa4, 0x1e, 0xf4, 0xb2, 0x83, 0x7b, 0x80, 0x42, 0xe2, + 0x4d, 0x4f, 0x65, 0xab, 0x73, 0x31, 0x32, 0x02, 0x6c, 0x1a, 0x43, 0x42, 0x70, 0x34, 0xd5, 0x64, + 0xa5, 0x84, 0x32, 0x92, 0x3d, 0x86, 0xaf, 0xe0, 0xd1, 0x37, 0xd1, 0xa7, 0x32, 0x2d, 0xdb, 0x4e, + 0x73, 0x17, 0xf2, 0x23, 0xff, 0xfe, 0xbe, 0x7e, 0xfd, 0x83, 0x5b, 0x26, 0x04, 0x5b, 0x52, 0x27, + 0xcb, 0xa5, 0xd3, 0xa2, 0xa2, 0xc6, 0x75, 0x68, 0xb1, 0xe2, 0xd2, 0x91, 0x34, 0xab, 0x16, 0xef, + 0x69, 0x4d, 0x2b, 0x9e, 0xf2, 0xac, 0x56, 0xb8, 0x2e, 0x29, 0x2a, 0x2b, 0x51, 0x0b, 0xd8, 0x6f, + 0x05, 0x94, 0xe5, 0x12, 0xed, 0x5c, 0xd4, 0xb8, 0x48, 0xbb, 0x83, 0x4f, 0x03, 0x5c, 0x46, 0xda, + 0x8f, 0x69, 0xc5, 0x9f, 0x94, 0x1d, 0xaf, 0x4b, 0x4a, 0x8a, 0x15, 0x1f, 0x34, 0xe0, 0x62, 0x4f, + 0x04, 0xcf, 0x41, 0x6f, 0xe6, 0x47, 0x01, 0x19, 0x4e, 0xee, 0x27, 0x64, 0x64, 0x1f, 0xc1, 0x1e, + 0x38, 0x99, 0xf9, 0x8f, 0xfe, 0xf4, 0xd9, 0xb7, 0x0d, 0x78, 0x0a, 0xba, 0x5e, 0x38, 0xc5, 0x23, + 0xdb, 0x54, 0x48, 0x5e, 0xf0, 0x30, 0xb6, 0x3b, 0x10, 0x00, 0x2b, 0x78, 0x08, 0x71, 0x44, 0xec, + 0x63, 0x78, 0x06, 0x80, 0x4f, 0x70, 0x98, 0xb6, 0x59, 0x57, 0xcd, 0xd3, 0xff, 0x9b, 0x03, 0x96, + 0xf7, 0x63, 0x80, 0xeb, 0x85, 0xe0, 0xe8, 0xe0, 0xe6, 0xde, 0xd5, 0x9e, 0xdd, 0x02, 0xf5, 0xe4, + 0xc0, 0x78, 0xf5, 0x36, 0x2a, 0x13, 0xcb, 0xac, 0x60, 0x48, 0x54, 0xcc, 0x61, 0xb4, 0xd0, 0x85, + 0x6c, 0x0b, 0x2c, 0x3f, 0xe4, 0x3f, 0x7d, 0xde, 0xe9, 0xef, 0x97, 0xd9, 0x19, 0x63, 0xfc, 0x6d, + 0xf6, 0xc7, 0xed, 0x28, 0x9c, 0x4b, 0xd4, 0xa2, 0xa2, 0xb9, 0x8b, 0x54, 0x45, 0xf2, 0x77, 0x9b, + 0x27, 0x38, 0x97, 0xc9, 0x2e, 0x4f, 0xe6, 0x6e, 0xa2, 0xf3, 0x37, 0x4b, 0x5f, 0x7a, 0xf3, 0x17, + 0x00, 0x00, 0xff, 0xff, 0xe3, 0x18, 0x85, 0xc8, 0xc3, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_targeting_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_targeting_status.pb.go new file mode 100644 index 000000000..cba3a15b6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/search_term_targeting_status.pb.go @@ -0,0 +1,126 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/search_term_targeting_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Indicates whether the search term is one of your targeted or excluded +// keywords. +type SearchTermTargetingStatusEnum_SearchTermTargetingStatus int32 + +const ( + // Not specified. + SearchTermTargetingStatusEnum_UNSPECIFIED SearchTermTargetingStatusEnum_SearchTermTargetingStatus = 0 + // Used for return value only. Represents value unknown in this version. + SearchTermTargetingStatusEnum_UNKNOWN SearchTermTargetingStatusEnum_SearchTermTargetingStatus = 1 + // Search term is added to targeted keywords. + SearchTermTargetingStatusEnum_ADDED SearchTermTargetingStatusEnum_SearchTermTargetingStatus = 2 + // Search term matches a negative keyword. + SearchTermTargetingStatusEnum_EXCLUDED SearchTermTargetingStatusEnum_SearchTermTargetingStatus = 3 + // Search term has been both added and excluded. + SearchTermTargetingStatusEnum_ADDED_EXCLUDED SearchTermTargetingStatusEnum_SearchTermTargetingStatus = 4 + // Search term is neither targeted nor excluded. + SearchTermTargetingStatusEnum_NONE SearchTermTargetingStatusEnum_SearchTermTargetingStatus = 5 +) + +var SearchTermTargetingStatusEnum_SearchTermTargetingStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ADDED", + 3: "EXCLUDED", + 4: "ADDED_EXCLUDED", + 5: "NONE", +} +var SearchTermTargetingStatusEnum_SearchTermTargetingStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ADDED": 2, + "EXCLUDED": 3, + "ADDED_EXCLUDED": 4, + "NONE": 5, +} + +func (x SearchTermTargetingStatusEnum_SearchTermTargetingStatus) String() string { + return proto.EnumName(SearchTermTargetingStatusEnum_SearchTermTargetingStatus_name, int32(x)) +} +func (SearchTermTargetingStatusEnum_SearchTermTargetingStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_search_term_targeting_status_1ae39de7a4166d06, []int{0, 0} +} + +// Container for enum indicating whether a search term is one of your targeted +// or excluded keywords. +type SearchTermTargetingStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchTermTargetingStatusEnum) Reset() { *m = SearchTermTargetingStatusEnum{} } +func (m *SearchTermTargetingStatusEnum) String() string { return proto.CompactTextString(m) } +func (*SearchTermTargetingStatusEnum) ProtoMessage() {} +func (*SearchTermTargetingStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_search_term_targeting_status_1ae39de7a4166d06, []int{0} +} +func (m *SearchTermTargetingStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchTermTargetingStatusEnum.Unmarshal(m, b) +} +func (m *SearchTermTargetingStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchTermTargetingStatusEnum.Marshal(b, m, deterministic) +} +func (dst *SearchTermTargetingStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchTermTargetingStatusEnum.Merge(dst, src) +} +func (m *SearchTermTargetingStatusEnum) XXX_Size() int { + return xxx_messageInfo_SearchTermTargetingStatusEnum.Size(m) +} +func (m *SearchTermTargetingStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SearchTermTargetingStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchTermTargetingStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SearchTermTargetingStatusEnum)(nil), "google.ads.googleads.v0.enums.SearchTermTargetingStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus", SearchTermTargetingStatusEnum_SearchTermTargetingStatus_name, SearchTermTargetingStatusEnum_SearchTermTargetingStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/search_term_targeting_status.proto", fileDescriptor_search_term_targeting_status_1ae39de7a4166d06) +} + +var fileDescriptor_search_term_targeting_status_1ae39de7a4166d06 = []byte{ + // 300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4e, 0xbb, 0x30, + 0x1c, 0xc5, 0x7f, 0xec, 0xcf, 0xcf, 0xd9, 0x19, 0x25, 0xbd, 0xf3, 0x62, 0x26, 0xee, 0x01, 0x0a, + 0x89, 0x97, 0xde, 0x08, 0xa3, 0x2e, 0x8b, 0xa6, 0x23, 0x61, 0x4c, 0x63, 0x48, 0x48, 0x1d, 0x4d, + 0x5d, 0x32, 0x28, 0x69, 0xcb, 0xde, 0xc3, 0x57, 0xf0, 0xd2, 0x47, 0xf1, 0xc6, 0x57, 0x32, 0x14, + 0xe1, 0x0e, 0x6f, 0x9a, 0xd3, 0x9e, 0xf6, 0xd3, 0xf3, 0x3d, 0xe0, 0x8e, 0x0b, 0xc1, 0x0f, 0xcc, + 0xa1, 0x99, 0x72, 0x1a, 0x59, 0xab, 0xa3, 0xeb, 0xb0, 0xa2, 0xca, 0x95, 0xa3, 0x18, 0x95, 0xbb, + 0xb7, 0x54, 0x33, 0x99, 0xa7, 0x9a, 0x4a, 0xce, 0xf4, 0xbe, 0xe0, 0xa9, 0xd2, 0x54, 0x57, 0x0a, + 0x95, 0x52, 0x68, 0x01, 0x67, 0xcd, 0x33, 0x44, 0x33, 0x85, 0x3a, 0x02, 0x3a, 0xba, 0xc8, 0x10, + 0xe6, 0xef, 0x16, 0x98, 0x45, 0x86, 0xb2, 0x61, 0x32, 0xdf, 0xb4, 0x8c, 0xc8, 0x20, 0x70, 0x51, + 0xe5, 0xf3, 0x12, 0x5c, 0xf6, 0x5e, 0x80, 0x17, 0x60, 0x1a, 0x93, 0x28, 0xc4, 0x8b, 0xd5, 0xfd, + 0x0a, 0x07, 0xf6, 0x3f, 0x38, 0x05, 0x27, 0x31, 0x79, 0x20, 0xeb, 0x27, 0x62, 0x5b, 0xf0, 0x14, + 0x8c, 0xbd, 0x20, 0xc0, 0x81, 0x3d, 0x80, 0x67, 0x60, 0x82, 0x9f, 0x17, 0x8f, 0x71, 0xbd, 0x1b, + 0x42, 0x08, 0xce, 0x8d, 0x91, 0x76, 0x67, 0x23, 0x38, 0x01, 0x23, 0xb2, 0x26, 0xd8, 0x1e, 0xfb, + 0xdf, 0x16, 0xb8, 0xde, 0x89, 0x1c, 0xfd, 0x99, 0xdc, 0xbf, 0xea, 0x4d, 0x15, 0xd6, 0x83, 0x87, + 0xd6, 0x8b, 0xff, 0x0b, 0xe0, 0xe2, 0x40, 0x0b, 0x8e, 0x84, 0xe4, 0x0e, 0x67, 0x85, 0xa9, 0xa5, + 0x2d, 0xb3, 0xdc, 0xab, 0x9e, 0x6e, 0x6f, 0xcd, 0xfa, 0x31, 0x18, 0x2e, 0x3d, 0xef, 0x73, 0x30, + 0x5b, 0x36, 0x28, 0x2f, 0x53, 0xa8, 0x91, 0xb5, 0xda, 0xba, 0xa8, 0xae, 0x48, 0x7d, 0xb5, 0x7e, + 0xe2, 0x65, 0x2a, 0xe9, 0xfc, 0x64, 0xeb, 0x26, 0xc6, 0x7f, 0xfd, 0x6f, 0x3e, 0xbd, 0xf9, 0x09, + 0x00, 0x00, 0xff, 0xff, 0x67, 0x8b, 0xe4, 0x66, 0xcf, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_status.pb.go new file mode 100644 index 000000000..5f774ba95 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_status.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/shared_set_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the possible shared set statuses. +type SharedSetStatusEnum_SharedSetStatus int32 + +const ( + // Not specified. + SharedSetStatusEnum_UNSPECIFIED SharedSetStatusEnum_SharedSetStatus = 0 + // Used for return value only. Represents value unknown in this version. + SharedSetStatusEnum_UNKNOWN SharedSetStatusEnum_SharedSetStatus = 1 + // The shared set is enabled. + SharedSetStatusEnum_ENABLED SharedSetStatusEnum_SharedSetStatus = 2 + // The shared set is removed and can no longer be used. + SharedSetStatusEnum_REMOVED SharedSetStatusEnum_SharedSetStatus = 3 +) + +var SharedSetStatusEnum_SharedSetStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "REMOVED", +} +var SharedSetStatusEnum_SharedSetStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "REMOVED": 3, +} + +func (x SharedSetStatusEnum_SharedSetStatus) String() string { + return proto.EnumName(SharedSetStatusEnum_SharedSetStatus_name, int32(x)) +} +func (SharedSetStatusEnum_SharedSetStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_shared_set_status_11341c2190eea701, []int{0, 0} +} + +// Container for enum describing types of shared set statuses. +type SharedSetStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedSetStatusEnum) Reset() { *m = SharedSetStatusEnum{} } +func (m *SharedSetStatusEnum) String() string { return proto.CompactTextString(m) } +func (*SharedSetStatusEnum) ProtoMessage() {} +func (*SharedSetStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_status_11341c2190eea701, []int{0} +} +func (m *SharedSetStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedSetStatusEnum.Unmarshal(m, b) +} +func (m *SharedSetStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedSetStatusEnum.Marshal(b, m, deterministic) +} +func (dst *SharedSetStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedSetStatusEnum.Merge(dst, src) +} +func (m *SharedSetStatusEnum) XXX_Size() int { + return xxx_messageInfo_SharedSetStatusEnum.Size(m) +} +func (m *SharedSetStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SharedSetStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedSetStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SharedSetStatusEnum)(nil), "google.ads.googleads.v0.enums.SharedSetStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SharedSetStatusEnum_SharedSetStatus", SharedSetStatusEnum_SharedSetStatus_name, SharedSetStatusEnum_SharedSetStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/shared_set_status.proto", fileDescriptor_shared_set_status_11341c2190eea701) +} + +var fileDescriptor_shared_set_status_11341c2190eea701 = []byte{ + // 263 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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9a, 0x07, 0xf6, 0x1a, + 0x2c, 0x14, 0x0a, 0x32, 0x8b, 0x71, 0x04, 0x8a, 0x35, 0x98, 0x5c, 0xc4, 0xc4, 0xec, 0xee, 0xe8, + 0xb8, 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, + 0xe8, 0x81, 0x7c, 0x5c, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, + 0x33, 0x88, 0x01, 0xcb, 0x27, 0xb1, 0x81, 0x2d, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x74, + 0x72, 0x4c, 0x3e, 0x88, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_type.pb.go new file mode 100644 index 000000000..58dff42e0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/shared_set_type.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/shared_set_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum listing the possible shared set types. +type SharedSetTypeEnum_SharedSetType int32 + +const ( + // Not specified. + SharedSetTypeEnum_UNSPECIFIED SharedSetTypeEnum_SharedSetType = 0 + // Used for return value only. Represents value unknown in this version. + SharedSetTypeEnum_UNKNOWN SharedSetTypeEnum_SharedSetType = 1 + // A set of keywords that can be excluded from targeting. + SharedSetTypeEnum_NEGATIVE_KEYWORDS SharedSetTypeEnum_SharedSetType = 2 + // A set of placements that can be excluded from targeting. + SharedSetTypeEnum_NEGATIVE_PLACEMENTS SharedSetTypeEnum_SharedSetType = 3 +) + +var SharedSetTypeEnum_SharedSetType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NEGATIVE_KEYWORDS", + 3: "NEGATIVE_PLACEMENTS", +} +var SharedSetTypeEnum_SharedSetType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NEGATIVE_KEYWORDS": 2, + "NEGATIVE_PLACEMENTS": 3, +} + +func (x SharedSetTypeEnum_SharedSetType) String() string { + return proto.EnumName(SharedSetTypeEnum_SharedSetType_name, int32(x)) +} +func (SharedSetTypeEnum_SharedSetType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_shared_set_type_2742d987288196bb, []int{0, 0} +} + +// Container for enum describing types of shared sets. +type SharedSetTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedSetTypeEnum) Reset() { *m = SharedSetTypeEnum{} } +func (m *SharedSetTypeEnum) String() string { return proto.CompactTextString(m) } +func (*SharedSetTypeEnum) ProtoMessage() {} +func (*SharedSetTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_type_2742d987288196bb, []int{0} +} +func (m *SharedSetTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedSetTypeEnum.Unmarshal(m, b) +} +func (m *SharedSetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedSetTypeEnum.Marshal(b, m, deterministic) +} +func (dst *SharedSetTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedSetTypeEnum.Merge(dst, src) +} +func (m *SharedSetTypeEnum) XXX_Size() int { + return xxx_messageInfo_SharedSetTypeEnum.Size(m) +} +func (m *SharedSetTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SharedSetTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedSetTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SharedSetTypeEnum)(nil), "google.ads.googleads.v0.enums.SharedSetTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SharedSetTypeEnum_SharedSetType", SharedSetTypeEnum_SharedSetType_name, SharedSetTypeEnum_SharedSetType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/shared_set_type.proto", fileDescriptor_shared_set_type_2742d987288196bb) +} + +var fileDescriptor_shared_set_type_2742d987288196bb = []byte{ + // 282 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe2, 0x8c, 0xc4, 0xa2, 0xd4, 0x94, 0xf8, 0xe2, 0xd4, 0x92, 0xf8, 0x92, + 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x4a, 0xbd, 0xc4, 0x94, + 0x62, 0x3d, 0xb8, 0x26, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x26, 0xa5, 0x22, 0x2e, 0xc1, 0x60, 0xb0, + 0xbe, 0xe0, 0xd4, 0x92, 0x90, 0xca, 0x82, 0x54, 0xd7, 0xbc, 0xd2, 0x5c, 0xa5, 0x58, 0x2e, 0x5e, + 0x14, 0x41, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f, 0x37, 0x4f, 0x57, + 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0x3f, 0x01, 0x46, + 0x21, 0x51, 0x2e, 0x41, 0x3f, 0x57, 0x77, 0xc7, 0x10, 0xcf, 0x30, 0xd7, 0x78, 0x6f, 0xd7, 0xc8, + 0x70, 0xff, 0x20, 0x97, 0x60, 0x01, 0x26, 0x21, 0x71, 0x2e, 0x61, 0xb8, 0x70, 0x80, 0x8f, 0xa3, + 0xb3, 0xab, 0xaf, 0xab, 0x5f, 0x48, 0xb0, 0x00, 0xb3, 0xd3, 0x61, 0x46, 0x2e, 0xc5, 0xe4, 0xfc, + 0x5c, 0x3d, 0xbc, 0x2e, 0x73, 0x12, 0x42, 0x71, 0x42, 0x00, 0xc8, 0x33, 0x01, 0x8c, 0x51, 0x4e, + 0x50, 0x4d, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, + 0x60, 0xaf, 0xc2, 0xc2, 0xa4, 0x20, 0xb3, 0x18, 0x47, 0x10, 0x59, 0x83, 0xc9, 0x45, 0x4c, 0xcc, + 0xee, 0x8e, 0x8e, 0xab, 0x98, 0x64, 0xdd, 0x21, 0x46, 0x39, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, + 0x56, 0x98, 0x81, 0x1e, 0x28, 0x0c, 0x8a, 0x4f, 0xc1, 0xe4, 0x63, 0x1c, 0x53, 0x8a, 0x63, 0xe0, + 0xf2, 0x31, 0x61, 0x06, 0x31, 0x60, 0xf9, 0x24, 0x36, 0xb0, 0xa5, 0xc6, 0x80, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x31, 0xeb, 0x1d, 0x88, 0x96, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/sitelink_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/sitelink_placeholder_field.pb.go new file mode 100644 index 000000000..b334ea6bf --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/sitelink_placeholder_field.pb.go @@ -0,0 +1,143 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/sitelink_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Sitelink placeholder fields. +type SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField int32 + +const ( + // Not specified. + SitelinkPlaceholderFieldEnum_UNSPECIFIED SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + SitelinkPlaceholderFieldEnum_UNKNOWN SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 1 + // Data Type: STRING. The link text for your sitelink. + SitelinkPlaceholderFieldEnum_TEXT SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 2 + // Data Type: STRING. First line of the sitelink description. + SitelinkPlaceholderFieldEnum_LINE_1 SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 3 + // Data Type: STRING. Second line of the sitelink description. + SitelinkPlaceholderFieldEnum_LINE_2 SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 4 + // Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded + // URLs. + SitelinkPlaceholderFieldEnum_FINAL_URLS SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 5 + // Data Type: URL_LIST. Final Mobile URLs for the sitelink when using + // Upgraded URLs. + SitelinkPlaceholderFieldEnum_FINAL_MOBILE_URLS SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 6 + // Data Type: URL. Tracking template for the sitelink when using Upgraded + // URLs. + SitelinkPlaceholderFieldEnum_TRACKING_URL SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 7 + // Data Type: STRING. Final URL suffix for sitelink when using parallel + // tracking. + SitelinkPlaceholderFieldEnum_FINAL_URL_SUFFIX SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField = 8 +) + +var SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "TEXT", + 3: "LINE_1", + 4: "LINE_2", + 5: "FINAL_URLS", + 6: "FINAL_MOBILE_URLS", + 7: "TRACKING_URL", + 8: "FINAL_URL_SUFFIX", +} +var SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "TEXT": 2, + "LINE_1": 3, + "LINE_2": 4, + "FINAL_URLS": 5, + "FINAL_MOBILE_URLS": 6, + "TRACKING_URL": 7, + "FINAL_URL_SUFFIX": 8, +} + +func (x SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField) String() string { + return proto.EnumName(SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_name, int32(x)) +} +func (SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_sitelink_placeholder_field_1dbac5ed08bf4cb2, []int{0, 0} +} + +// Values for Sitelink placeholder fields. +type SitelinkPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SitelinkPlaceholderFieldEnum) Reset() { *m = SitelinkPlaceholderFieldEnum{} } +func (m *SitelinkPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*SitelinkPlaceholderFieldEnum) ProtoMessage() {} +func (*SitelinkPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_sitelink_placeholder_field_1dbac5ed08bf4cb2, []int{0} +} +func (m *SitelinkPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SitelinkPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *SitelinkPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SitelinkPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *SitelinkPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SitelinkPlaceholderFieldEnum.Merge(dst, src) +} +func (m *SitelinkPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_SitelinkPlaceholderFieldEnum.Size(m) +} +func (m *SitelinkPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SitelinkPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SitelinkPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SitelinkPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.SitelinkPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField", SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_name, SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/sitelink_placeholder_field.proto", fileDescriptor_sitelink_placeholder_field_1dbac5ed08bf4cb2) +} + +var fileDescriptor_sitelink_placeholder_field_1dbac5ed08bf4cb2 = []byte{ + // 339 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4e, 0xea, 0x40, + 0x14, 0x86, 0x6f, 0x81, 0x0b, 0xe4, 0x70, 0x73, 0xef, 0xdc, 0x89, 0x26, 0x2e, 0x64, 0x21, 0x0f, + 0x30, 0xad, 0xba, 0x34, 0x31, 0x69, 0xb1, 0x25, 0x13, 0xea, 0xd0, 0x50, 0x8a, 0xc4, 0x34, 0x69, + 0x2a, 0x1d, 0x6b, 0x63, 0xe9, 0x10, 0x06, 0x78, 0x20, 0x77, 0xfa, 0x28, 0x2c, 0x7c, 0x26, 0xd3, + 0x16, 0xea, 0x0a, 0x37, 0x93, 0x7f, 0xce, 0x99, 0xef, 0x9f, 0x9c, 0xff, 0xc0, 0x6d, 0x2c, 0x44, + 0x9c, 0x72, 0x35, 0x8c, 0xa4, 0x5a, 0xca, 0x5c, 0x6d, 0x35, 0x95, 0x67, 0x9b, 0x85, 0x54, 0x65, + 0xb2, 0xe6, 0x69, 0x92, 0xbd, 0x06, 0xcb, 0x34, 0x9c, 0xf3, 0x17, 0x91, 0x46, 0x7c, 0x15, 0x3c, + 0x27, 0x3c, 0x8d, 0xc8, 0x72, 0x25, 0xd6, 0x02, 0x77, 0x4b, 0x88, 0x84, 0x91, 0x24, 0x15, 0x4f, + 0xb6, 0x1a, 0x29, 0xf8, 0xde, 0x4e, 0x81, 0x73, 0x77, 0xef, 0xe1, 0x7c, 0x5b, 0x58, 0xb9, 0x83, + 0x99, 0x6d, 0x16, 0xbd, 0x77, 0x05, 0xce, 0x8e, 0x3d, 0xc0, 0xff, 0xa0, 0xe3, 0x31, 0xd7, 0x31, + 0xfb, 0xd4, 0xa2, 0xe6, 0x1d, 0xfa, 0x85, 0x3b, 0xd0, 0xf2, 0xd8, 0x90, 0x8d, 0x1e, 0x18, 0x52, + 0x70, 0x1b, 0x1a, 0x13, 0x73, 0x36, 0x41, 0x35, 0x0c, 0xd0, 0xb4, 0x29, 0x33, 0x83, 0x4b, 0x54, + 0xaf, 0xf4, 0x15, 0x6a, 0xe0, 0xbf, 0x00, 0x16, 0x65, 0xba, 0x1d, 0x78, 0x63, 0xdb, 0x45, 0xbf, + 0xf1, 0x29, 0xfc, 0x2f, 0xef, 0xf7, 0x23, 0x83, 0xda, 0x66, 0x59, 0x6e, 0x62, 0x04, 0x7f, 0x26, + 0x63, 0xbd, 0x3f, 0xa4, 0x6c, 0x90, 0x97, 0x50, 0x0b, 0x9f, 0x00, 0xaa, 0xc0, 0xc0, 0xf5, 0x2c, + 0x8b, 0xce, 0x50, 0xdb, 0xf8, 0x54, 0xe0, 0x62, 0x2e, 0x16, 0xe4, 0xc7, 0x91, 0x8d, 0xee, 0xb1, + 0x71, 0x9c, 0x3c, 0x30, 0x47, 0x79, 0x34, 0xf6, 0x7c, 0x2c, 0xd2, 0x30, 0x8b, 0x89, 0x58, 0xc5, + 0x6a, 0xcc, 0xb3, 0x22, 0xce, 0xc3, 0x0a, 0x96, 0x89, 0x3c, 0xb2, 0x91, 0x9b, 0xe2, 0x7c, 0xab, + 0xd5, 0x07, 0xba, 0xfe, 0x51, 0xeb, 0x0e, 0x4a, 0x2b, 0x3d, 0x92, 0xa4, 0x94, 0xb9, 0x9a, 0x6a, + 0x24, 0xcf, 0x56, 0xee, 0x0e, 0x7d, 0x5f, 0x8f, 0xa4, 0x5f, 0xf5, 0xfd, 0xa9, 0xe6, 0x17, 0xfd, + 0xa7, 0x66, 0xf1, 0xe9, 0xf5, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, 0xa3, 0x37, 0xa7, 0x05, + 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/slot.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/slot.pb.go new file mode 100644 index 000000000..8f83c0bd2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/slot.pb.go @@ -0,0 +1,137 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/slot.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates possible positions of the Ad. +type SlotEnum_Slot int32 + +const ( + // Not specified. + SlotEnum_UNSPECIFIED SlotEnum_Slot = 0 + // The value is unknown in this version. + SlotEnum_UNKNOWN SlotEnum_Slot = 1 + // Google search: Side. + SlotEnum_SEARCH_SIDE SlotEnum_Slot = 2 + // Google search: Top. + SlotEnum_SEARCH_TOP SlotEnum_Slot = 3 + // Google search: Other. + SlotEnum_SEARCH_OTHER SlotEnum_Slot = 4 + // Google Display Network. + SlotEnum_CONTENT SlotEnum_Slot = 5 + // Search partners: Top. + SlotEnum_SEARCH_PARTNER_TOP SlotEnum_Slot = 6 + // Search partners: Other. + SlotEnum_SEARCH_PARTNER_OTHER SlotEnum_Slot = 7 + // Cross-network. + SlotEnum_MIXED SlotEnum_Slot = 8 +) + +var SlotEnum_Slot_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SEARCH_SIDE", + 3: "SEARCH_TOP", + 4: "SEARCH_OTHER", + 5: "CONTENT", + 6: "SEARCH_PARTNER_TOP", + 7: "SEARCH_PARTNER_OTHER", + 8: "MIXED", +} +var SlotEnum_Slot_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SEARCH_SIDE": 2, + "SEARCH_TOP": 3, + "SEARCH_OTHER": 4, + "CONTENT": 5, + "SEARCH_PARTNER_TOP": 6, + "SEARCH_PARTNER_OTHER": 7, + "MIXED": 8, +} + +func (x SlotEnum_Slot) String() string { + return proto.EnumName(SlotEnum_Slot_name, int32(x)) +} +func (SlotEnum_Slot) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_slot_595ff7b86bb21b12, []int{0, 0} +} + +// Container for enumeration of possible positions of the Ad. +type SlotEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SlotEnum) Reset() { *m = SlotEnum{} } +func (m *SlotEnum) String() string { return proto.CompactTextString(m) } +func (*SlotEnum) ProtoMessage() {} +func (*SlotEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_slot_595ff7b86bb21b12, []int{0} +} +func (m *SlotEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SlotEnum.Unmarshal(m, b) +} +func (m *SlotEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SlotEnum.Marshal(b, m, deterministic) +} +func (dst *SlotEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SlotEnum.Merge(dst, src) +} +func (m *SlotEnum) XXX_Size() int { + return xxx_messageInfo_SlotEnum.Size(m) +} +func (m *SlotEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SlotEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SlotEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SlotEnum)(nil), "google.ads.googleads.v0.enums.SlotEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SlotEnum_Slot", SlotEnum_Slot_name, SlotEnum_Slot_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/slot.proto", fileDescriptor_slot_595ff7b86bb21b12) +} + +var fileDescriptor_slot_595ff7b86bb21b12 = []byte{ + // 310 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xf3, 0x40, + 0x14, 0xc5, 0xbf, 0xf4, 0x7f, 0x6f, 0x3f, 0x74, 0x18, 0x44, 0xdc, 0x74, 0x61, 0x57, 0xae, 0x26, + 0x01, 0x97, 0xae, 0xa6, 0xed, 0xd8,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f9, 0xb3, 0xcc, 0xc9, + 0x9f, 0x67, 0x8d, 0xfb, 0xfa, 0x0c, 0x5f, 0x17, 0xe0, 0x5b, 0x0f, 0xe3, 0xda, 0x2b, 0x64, 0xb6, + 0x2a, 0x04, 0x91, 0x1b, 0x61, 0x8b, 0xb4, 0x30, 0xf5, 0xec, 0xcb, 0x5b, 0xbf, 0xa8, 0x5f, 0xba, + 0xbc, 0x32, 0xdf, 0xb7, 0x46, 0x73, 0x46, 0xe9, 0x7b, 0x63, 0x38, 0xab, 0x7e, 0x45, 0x13, 0x45, + 0x2a, 0xa9, 0xd5, 0xd2, 0x21, 0xba, 0x3f, 0xf5, 0xb5, 0xe7, 0x31, 0x4d, 0x54, 0x7c, 0xe0, 0xf1, + 0xd2, 0x89, 0x0d, 0x7f, 0xea, 0x98, 0x47, 0x2f, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x68, 0x82, + 0x7a, 0x46, 0xbf, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/spending_limit_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/spending_limit_type.pb.go new file mode 100644 index 000000000..3ec63f02f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/spending_limit_type.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/spending_limit_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible spending limit types used by certain resources as an +// alternative to absolute money values in micros. +type SpendingLimitTypeEnum_SpendingLimitType int32 + +const ( + // Not specified. + SpendingLimitTypeEnum_UNSPECIFIED SpendingLimitTypeEnum_SpendingLimitType = 0 + // Used for return value only. Represents value unknown in this version. + SpendingLimitTypeEnum_UNKNOWN SpendingLimitTypeEnum_SpendingLimitType = 1 + // Infinite, indicates unlimited spending power. + SpendingLimitTypeEnum_INFINITE SpendingLimitTypeEnum_SpendingLimitType = 2 +) + +var SpendingLimitTypeEnum_SpendingLimitType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INFINITE", +} +var SpendingLimitTypeEnum_SpendingLimitType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INFINITE": 2, +} + +func (x SpendingLimitTypeEnum_SpendingLimitType) String() string { + return proto.EnumName(SpendingLimitTypeEnum_SpendingLimitType_name, int32(x)) +} +func (SpendingLimitTypeEnum_SpendingLimitType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_spending_limit_type_5f13fab4ccb8ebff, []int{0, 0} +} + +// Message describing spending limit types. +type SpendingLimitTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SpendingLimitTypeEnum) Reset() { *m = SpendingLimitTypeEnum{} } +func (m *SpendingLimitTypeEnum) String() string { return proto.CompactTextString(m) } +func (*SpendingLimitTypeEnum) ProtoMessage() {} +func (*SpendingLimitTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_spending_limit_type_5f13fab4ccb8ebff, []int{0} +} +func (m *SpendingLimitTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SpendingLimitTypeEnum.Unmarshal(m, b) +} +func (m *SpendingLimitTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SpendingLimitTypeEnum.Marshal(b, m, deterministic) +} +func (dst *SpendingLimitTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpendingLimitTypeEnum.Merge(dst, src) +} +func (m *SpendingLimitTypeEnum) XXX_Size() int { + return xxx_messageInfo_SpendingLimitTypeEnum.Size(m) +} +func (m *SpendingLimitTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SpendingLimitTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SpendingLimitTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SpendingLimitTypeEnum)(nil), "google.ads.googleads.v0.enums.SpendingLimitTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType", SpendingLimitTypeEnum_SpendingLimitType_name, SpendingLimitTypeEnum_SpendingLimitType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/spending_limit_type.proto", fileDescriptor_spending_limit_type_5f13fab4ccb8ebff) +} + +var fileDescriptor_spending_limit_type_5f13fab4ccb8ebff = []byte{ + // 258 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xe2, 0x82, 0xd4, 0xbc, 0x94, 0xcc, 0xbc, 0xf4, 0xf8, 0x9c, 0xcc, 0xdc, + 0xcc, 0x92, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, + 0x6a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x46, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x46, 0xa5, 0x08, + 0x2e, 0xd1, 0x60, 0xa8, 0x5e, 0x1f, 0x90, 0xd6, 0x90, 0xca, 0x82, 0x54, 0xd7, 0xbc, 0xd2, 0x5c, + 0x25, 0x7b, 0x2e, 0x41, 0x0c, 0x09, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, + 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, + 0x70, 0x3f, 0x01, 0x46, 0x21, 0x1e, 0x2e, 0x0e, 0x4f, 0x3f, 0x37, 0x4f, 0x3f, 0xcf, 0x10, 0x57, + 0x01, 0x26, 0xa7, 0xe3, 0x8c, 0x5c, 0x8a, 0xc9, 0xf9, 0xb9, 0x7a, 0x78, 0xed, 0x77, 0x12, 0xc3, + 0xb0, 0x24, 0x00, 0xe4, 0xec, 0x00, 0xc6, 0x28, 0x27, 0xa8, 0xc6, 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, + 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0xa7, 0x60, 0x21, 0x50, 0x90, 0x59, + 0x8c, 0x23, 0x40, 0xac, 0xc1, 0xe4, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0xb2, 0xee, + 0x10, 0xa3, 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0xe4, 0xd3, 0xe2, + 0x53, 0x30, 0xf9, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x7c, 0x4c, 0x98, 0x41, 0x0c, 0x58, 0x3e, + 0x89, 0x0d, 0x6c, 0xa9, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x86, 0x41, 0xe0, 0xb2, 0x84, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/structured_snippet_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/structured_snippet_placeholder_field.pb.go new file mode 100644 index 000000000..bb34b9686 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/structured_snippet_placeholder_field.pb.go @@ -0,0 +1,122 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/structured_snippet_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Structured Snippet placeholder fields. +type StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField int32 + +const ( + // Not specified. + StructuredSnippetPlaceholderFieldEnum_UNSPECIFIED StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + StructuredSnippetPlaceholderFieldEnum_UNKNOWN StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField = 1 + // Data Type: STRING. The category of snippet of your products/services. + // Must match one of the predefined structured snippets headers exactly. + // See + // https://developers.google.com/adwords/api + // /docs/appendix/structured-snippet-headers + StructuredSnippetPlaceholderFieldEnum_HEADER StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField = 2 + // Data Type: STRING_LIST. Text values that describe your products/services. + // All text must be family safe. Special or non-ASCII characters are not + // permitted. A snippet can be at most 25 characters. + StructuredSnippetPlaceholderFieldEnum_SNIPPETS StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField = 3 +) + +var StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "HEADER", + 3: "SNIPPETS", +} +var StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "HEADER": 2, + "SNIPPETS": 3, +} + +func (x StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField) String() string { + return proto.EnumName(StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_name, int32(x)) +} +func (StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_structured_snippet_placeholder_field_83f6792b7ed6205b, []int{0, 0} +} + +// Values for Structured Snippet placeholder fields. +type StructuredSnippetPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StructuredSnippetPlaceholderFieldEnum) Reset() { *m = StructuredSnippetPlaceholderFieldEnum{} } +func (m *StructuredSnippetPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*StructuredSnippetPlaceholderFieldEnum) ProtoMessage() {} +func (*StructuredSnippetPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_structured_snippet_placeholder_field_83f6792b7ed6205b, []int{0} +} +func (m *StructuredSnippetPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *StructuredSnippetPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *StructuredSnippetPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.Merge(dst, src) +} +func (m *StructuredSnippetPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.Size(m) +} +func (m *StructuredSnippetPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*StructuredSnippetPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.StructuredSnippetPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField", StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_name, StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/structured_snippet_placeholder_field.proto", fileDescriptor_structured_snippet_placeholder_field_83f6792b7ed6205b) +} + +var fileDescriptor_structured_snippet_placeholder_field_83f6792b7ed6205b = []byte{ + // 291 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0x6d, 0x07, 0x53, 0x32, 0xc1, 0xd2, 0xfb, 0x0e, 0x1b, 0xe8, 0x31, 0x2d, 0x78, 0xf4, + 0xd4, 0xba, 0x6c, 0x2b, 0x42, 0x0d, 0xd6, 0x4d, 0xd0, 0x42, 0xa9, 0x4d, 0x8c, 0x85, 0xb6, 0x29, + 0x49, 0xbb, 0x27, 0xf0, 0x49, 0x3c, 0xfa, 0x28, 0xbe, 0x80, 0xaf, 0x23, 0x49, 0x5c, 0x3d, 0xe9, + 0x2e, 0xe1, 0x0f, 0xff, 0xe4, 0x97, 0xef, 0xfb, 0x81, 0x35, 0xe3, 0x9c, 0x55, 0xd4, 0xcb, 0x89, + 0xf4, 0x4c, 0x54, 0x69, 0xe7, 0x7b, 0xb4, 0xe9, 0x6b, 0xe9, 0xc9, 0x4e, 0xf4, 0x45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, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0xa3, 0x08, 0x30, 0xd2, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/target_cpa_opt_in_recommendation_goal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/target_cpa_opt_in_recommendation_goal.pb.go new file mode 100644 index 000000000..cb71fbf2d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/target_cpa_opt_in_recommendation_goal.pb.go @@ -0,0 +1,127 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/target_cpa_opt_in_recommendation_goal.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Goal of TargetCpaOptIn recommendation. +type TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal int32 + +const ( + // Not specified. + TargetCpaOptInRecommendationGoalEnum_UNSPECIFIED TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal = 0 + // Used for return value only. Represents value unknown in this version. + TargetCpaOptInRecommendationGoalEnum_UNKNOWN TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal = 1 + // Recommendation to set Target CPA to maintain the same cost. + TargetCpaOptInRecommendationGoalEnum_SAME_COST TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal = 2 + // Recommendation to set Target CPA to maintain the same conversions. + TargetCpaOptInRecommendationGoalEnum_SAME_CONVERSIONS TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal = 3 + // Recommendation to set Target CPA to maintain the same CPA. + TargetCpaOptInRecommendationGoalEnum_SAME_CPA TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal = 4 + // Recommendation to set Target CPA to a value that is as close as possible + // to, yet lower than, the actual CPA (computed for past 28 days). + TargetCpaOptInRecommendationGoalEnum_CLOSEST_CPA TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal = 5 +) + +var TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SAME_COST", + 3: "SAME_CONVERSIONS", + 4: "SAME_CPA", + 5: "CLOSEST_CPA", +} +var TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SAME_COST": 2, + "SAME_CONVERSIONS": 3, + "SAME_CPA": 4, + "CLOSEST_CPA": 5, +} + +func (x TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal) String() string { + return proto.EnumName(TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_name, int32(x)) +} +func (TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_target_cpa_opt_in_recommendation_goal_ca9ee4bf5aa58147, []int{0, 0} +} + +// Container for enum describing goals for TargetCpaOptIn recommendation. +type TargetCpaOptInRecommendationGoalEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetCpaOptInRecommendationGoalEnum) Reset() { *m = TargetCpaOptInRecommendationGoalEnum{} } +func (m *TargetCpaOptInRecommendationGoalEnum) String() string { return proto.CompactTextString(m) } +func (*TargetCpaOptInRecommendationGoalEnum) ProtoMessage() {} +func (*TargetCpaOptInRecommendationGoalEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_target_cpa_opt_in_recommendation_goal_ca9ee4bf5aa58147, []int{0} +} +func (m *TargetCpaOptInRecommendationGoalEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.Unmarshal(m, b) +} +func (m *TargetCpaOptInRecommendationGoalEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.Marshal(b, m, deterministic) +} +func (dst *TargetCpaOptInRecommendationGoalEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.Merge(dst, src) +} +func (m *TargetCpaOptInRecommendationGoalEnum) XXX_Size() int { + return xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.Size(m) +} +func (m *TargetCpaOptInRecommendationGoalEnum) XXX_DiscardUnknown() { + xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TargetCpaOptInRecommendationGoalEnum)(nil), "google.ads.googleads.v0.enums.TargetCpaOptInRecommendationGoalEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal", TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_name, TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/target_cpa_opt_in_recommendation_goal.proto", fileDescriptor_target_cpa_opt_in_recommendation_goal_ca9ee4bf5aa58147) +} + +var fileDescriptor_target_cpa_opt_in_recommendation_goal_ca9ee4bf5aa58147 = []byte{ + // 323 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xdf, 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 0x42, 0x26, 0x76, 0xc7, 0x39, 0x43, 0xf6, 0x7a, 0x1a, 0xcf, 0xc2, 0x31, 0x89, + 0x92, 0x98, 0xd8, 0x5d, 0xe7, 0x18, 0x1d, 0xb6, 0x6e, 0xea, 0xdb, 0xff, 0x1b, 0x60, 0xf0, 0x90, + 0x90, 0x90, 0x4c, 0x8c, 0xb1, 0x37, 0xfc, 0xb2, 0xd0, 0xc5, 0x1c, 0x2a, 0xfc, 0xe7, 0xab, 0x86, + 0x57, 0xbb, 0x6e, 0x9a, 0x36, 0xdd, 0xa4, 0xd6, 0xf3, 0x70, 0xcd, 0xe1, 0x50, 0x52, 0xc1, 0x31, + 0xd4, 0xdc, 0xe5, 0x4c, 0x98, 0xe6, 0x36, 0xc5, 0xcb, 0x85, 0xfa, 0xe5, 0x1f, 0x6e, 0xcc, 0xf8, + 0xd6, 0xe9, 0x8e, 0x7c, 0xff, 0xbd, 0xd3, 0x1f, 0xb5, 0x28, 0xbf, 0x50, 0xb8, 0x95, 0x8d, 0x9a, + 0x79, 0xb8, 0xa9, 0x4f, 0x7d, 0x6e, 0xf2, 0xcc, 0x2f, 0x54, 0xb6, 0xcd, 0xb3, 0x99, 0x97, 0x99, + 0xfc, 0x65, 0xdf, 0x1c, 0x7a, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xb8, 0x78, 0x0d, 0xfb, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/targeting_dimension.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/targeting_dimension.pb.go new file mode 100644 index 000000000..53ba2141b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/targeting_dimension.pb.go @@ -0,0 +1,149 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/targeting_dimension.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible targeting dimensions. +type TargetingDimensionEnum_TargetingDimension int32 + +const ( + // Not specified. + TargetingDimensionEnum_UNSPECIFIED TargetingDimensionEnum_TargetingDimension = 0 + // Used for return value only. Represents value unknown in this version. + TargetingDimensionEnum_UNKNOWN TargetingDimensionEnum_TargetingDimension = 1 + // Keyword criteria, e.g. 'mars cruise'. KEYWORD may be used as a custom bid + // dimension. Keywords are always a targeting dimension, so may not be set + // as a target "ALL" dimension with TargetRestriction. + TargetingDimensionEnum_KEYWORD TargetingDimensionEnum_TargetingDimension = 2 + // Audience criteria, which include user list, user interest, custom + // affinity, and custom in market. + TargetingDimensionEnum_AUDIENCE TargetingDimensionEnum_TargetingDimension = 3 + // Topic criteria for targeting categories of content, e.g. + // 'category::Animals>Pets' Used for Display and Video targeting. + TargetingDimensionEnum_TOPIC TargetingDimensionEnum_TargetingDimension = 4 + // Criteria for targeting gender. + TargetingDimensionEnum_GENDER TargetingDimensionEnum_TargetingDimension = 5 + // Criteria for targeting age ranges. + TargetingDimensionEnum_AGE_RANGE TargetingDimensionEnum_TargetingDimension = 6 + // Placement criteria, which include websites like 'www.flowers4sale.com', + // as well as mobile applications, mobile app categories, YouTube videos, + // and YouTube channels. + TargetingDimensionEnum_PLACEMENT TargetingDimensionEnum_TargetingDimension = 7 + // Criteria for parental status targeting. + TargetingDimensionEnum_PARENTAL_STATUS TargetingDimensionEnum_TargetingDimension = 8 + // Criteria for income range targeting. + TargetingDimensionEnum_INCOME_RANGE TargetingDimensionEnum_TargetingDimension = 9 +) + +var TargetingDimensionEnum_TargetingDimension_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "KEYWORD", + 3: "AUDIENCE", + 4: "TOPIC", + 5: "GENDER", + 6: "AGE_RANGE", + 7: "PLACEMENT", + 8: "PARENTAL_STATUS", + 9: "INCOME_RANGE", +} +var TargetingDimensionEnum_TargetingDimension_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "KEYWORD": 2, + "AUDIENCE": 3, + "TOPIC": 4, + "GENDER": 5, + "AGE_RANGE": 6, + "PLACEMENT": 7, + "PARENTAL_STATUS": 8, + "INCOME_RANGE": 9, +} + +func (x TargetingDimensionEnum_TargetingDimension) String() string { + return proto.EnumName(TargetingDimensionEnum_TargetingDimension_name, int32(x)) +} +func (TargetingDimensionEnum_TargetingDimension) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_targeting_dimension_91506e51c2bbdcdf, []int{0, 0} +} + +// The dimensions that can be targeted. +type TargetingDimensionEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetingDimensionEnum) Reset() { *m = TargetingDimensionEnum{} } +func (m *TargetingDimensionEnum) String() string { return proto.CompactTextString(m) } +func (*TargetingDimensionEnum) ProtoMessage() {} +func (*TargetingDimensionEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_targeting_dimension_91506e51c2bbdcdf, []int{0} +} +func (m *TargetingDimensionEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetingDimensionEnum.Unmarshal(m, b) +} +func (m *TargetingDimensionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetingDimensionEnum.Marshal(b, m, deterministic) +} +func (dst *TargetingDimensionEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetingDimensionEnum.Merge(dst, src) +} +func (m *TargetingDimensionEnum) XXX_Size() int { + return xxx_messageInfo_TargetingDimensionEnum.Size(m) +} +func (m *TargetingDimensionEnum) XXX_DiscardUnknown() { + xxx_messageInfo_TargetingDimensionEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetingDimensionEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TargetingDimensionEnum)(nil), "google.ads.googleads.v0.enums.TargetingDimensionEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.TargetingDimensionEnum_TargetingDimension", TargetingDimensionEnum_TargetingDimension_name, TargetingDimensionEnum_TargetingDimension_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/targeting_dimension.proto", fileDescriptor_targeting_dimension_91506e51c2bbdcdf) +} + +var fileDescriptor_targeting_dimension_91506e51c2bbdcdf = []byte{ + // 339 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x6b, 0xf2, 0x30, + 0x1c, 0xc7, 0x9f, 0xea, 0xe3, 0xbf, 0xe8, 0x30, 0x64, 0xb0, 0x9d, 0x3c, 0xcc, 0x17, 0x90, 0x16, + 0x76, 0xd8, 0x61, 0xa7, 0xd8, 0x66, 0xa5, 0xa8, 0x69, 0xa9, 0xad, 0xb2, 0x51, 0x90, 0x6e, 0x2d, + 0xa1, 0x60, 0x13, 0x31, 0xea, 0x0b, 0xda, 0x6d, 0x7b, 0x1d, 0x3b, 0x8c, 0xbd, 0xaa, 0xd1, 0x76, + 0xf5, 0x22, 0xdb, 0x25, 0x7c, 0x7f, 0x7c, 0xf3, 0x49, 0xf8, 0x7d, 0xc0, 0x1d, 0x97, 0x92, 0x6f, + 0x52, 0x3d, 0x4e, 0x94, 0x5e, 0xc5, 0x22, 0x1d, 0x0d, 0x3d, 0x15, 0x87, 0x5c, 0xe9, 0xfb, 0x78, + 0xc7, 0xd3, 0x7d, 0x26, 0xf8, 0x3a, 0xc9, 0xf2, 0x54, 0xa8, 0x4c, 0x0a, 0xbc, 0xdd, 0xc9, 0xbd, + 0x44, 0xa3, 0xea, 0x36,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14, 0x49, 0x14, 0xae, 0x62, 0x91, 0x96, + 0x06, 0x2e, 0xac, 0xaa, 0xaf, 0xba, 0x8f, 0x48, 0xa2, 0xa2, 0x53, 0x1f, 0x2d, 0x8d, 0xa8, 0xec, + 0x9f, 0xdb, 0xe5, 0xa7, 0xb7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x09, 0x9d, 0xce, 0xbf, 0xf2, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/time_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/time_type.pb.go new file mode 100644 index 000000000..0c59e7902 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/time_type.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/time_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The possible time types used by certain resources as an alternative to +// absolute timestamps. +type TimeTypeEnum_TimeType int32 + +const ( + // Not specified. + TimeTypeEnum_UNSPECIFIED TimeTypeEnum_TimeType = 0 + // Used for return value only. Represents value unknown in this version. + TimeTypeEnum_UNKNOWN TimeTypeEnum_TimeType = 1 + // As soon as possible. + TimeTypeEnum_NOW TimeTypeEnum_TimeType = 2 + // An infinite point in the future. + TimeTypeEnum_FOREVER TimeTypeEnum_TimeType = 3 +) + +var TimeTypeEnum_TimeType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NOW", + 3: "FOREVER", +} +var TimeTypeEnum_TimeType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NOW": 2, + "FOREVER": 3, +} + +func (x TimeTypeEnum_TimeType) String() string { + return proto.EnumName(TimeTypeEnum_TimeType_name, int32(x)) +} +func (TimeTypeEnum_TimeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_time_type_5fcdbdb55d070640, []int{0, 0} +} + +// Message describing time types. +type TimeTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimeTypeEnum) Reset() { *m = TimeTypeEnum{} } +func (m *TimeTypeEnum) String() string { return proto.CompactTextString(m) } +func (*TimeTypeEnum) ProtoMessage() {} +func (*TimeTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_time_type_5fcdbdb55d070640, []int{0} +} +func (m *TimeTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimeTypeEnum.Unmarshal(m, b) +} +func (m *TimeTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimeTypeEnum.Marshal(b, m, deterministic) +} +func (dst *TimeTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimeTypeEnum.Merge(dst, src) +} +func (m *TimeTypeEnum) XXX_Size() int { + return xxx_messageInfo_TimeTypeEnum.Size(m) +} +func (m *TimeTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_TimeTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_TimeTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TimeTypeEnum)(nil), "google.ads.googleads.v0.enums.TimeTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.TimeTypeEnum_TimeType", TimeTypeEnum_TimeType_name, TimeTypeEnum_TimeType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/time_type.proto", fileDescriptor_time_type_5fcdbdb55d070640) +} + +var fileDescriptor_time_type_5fcdbdb55d070640 = []byte{ + // 252 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x92, 0xcc, 0xdc, 0xd4, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, + 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x1a, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x72, 0xbd, 0x32, + 0x03, 0x3d, 0xb0, 0x72, 0x25, 0x3f, 0x2e, 0x9e, 0x90, 0xcc, 0xdc, 0xd4, 0x90, 0xca, 0x82, 0x54, + 0xd7, 0xbc, 0xd2, 0x5c, 0x25, 0x3b, 0x2e, 0x0e, 0x18, 0x5f, 0x88, 0x9f, 0x8b, 0x3b, 0xd4, 0x2f, + 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, 0xd5, 0x45, 0x80, 0x41, 0x88, 0x9b, 0x8b, 0x3d, 0xd4, + 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, 0x51, 0x88, 0x9d, 0x8b, 0xd9, 0xcf, 0x3f, 0x5c, 0x80, + 0x09, 0x24, 0xea, 0xe6, 0x1f, 0xe4, 0x1a, 0xe6, 0x1a, 0x24, 0xc0, 0xec, 0xb4, 0x8f, 0x91, 0x4b, + 0x31, 0x39, 0x3f, 0x57, 0x0f, 0xaf, 0xad, 0x4e, 0xbc, 0x30, 0x3b, 0x02, 0x40, 0x6e, 0x0c, 0x60, + 0x8c, 0x72, 0x82, 0xaa, 0x4f, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, + 0x4f, 0xcd, 0x03, 0xfb, 0x00, 0xe6, 0xc9, 0x82, 0xcc, 0x62, 0x1c, 0x7e, 0xb6, 0x06, 0x93, 0x8b, + 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0xc9, 0xba, 0x43, 0x8c, 0x72, 0x4c, 0x29, 0xd6, 0x83, + 0x30, 0x41, 0xac, 0x30, 0x03, 0x3d, 0x90, 0xff, 0x8a, 0x4f, 0xc1, 0xe4, 0x63, 0x1c, 0x53, 0x8a, + 0x63, 0xe0, 0xf2, 0x31, 0x61, 0x06, 0x31, 0x60, 0xf9, 0x24, 0x36, 0xb0, 0xa5, 0xc6, 0x80, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xb3, 0xaf, 0x4d, 0x2b, 0x67, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_page_format.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_page_format.pb.go new file mode 100644 index 000000000..3318cc3bc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_page_format.pb.go @@ -0,0 +1,117 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/tracking_code_page_format.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The format of the web page where the tracking tag and snippet will be +// installed. +type TrackingCodePageFormatEnum_TrackingCodePageFormat int32 + +const ( + // Not specified. + TrackingCodePageFormatEnum_UNSPECIFIED TrackingCodePageFormatEnum_TrackingCodePageFormat = 0 + // Used for return value only. Represents value unknown in this version. + TrackingCodePageFormatEnum_UNKNOWN TrackingCodePageFormatEnum_TrackingCodePageFormat = 1 + // Standard HTML page format. + TrackingCodePageFormatEnum_HTML TrackingCodePageFormatEnum_TrackingCodePageFormat = 2 + // Google AMP page format. + TrackingCodePageFormatEnum_AMP TrackingCodePageFormatEnum_TrackingCodePageFormat = 3 +) + +var TrackingCodePageFormatEnum_TrackingCodePageFormat_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "HTML", + 3: "AMP", +} +var TrackingCodePageFormatEnum_TrackingCodePageFormat_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "HTML": 2, + "AMP": 3, +} + +func (x TrackingCodePageFormatEnum_TrackingCodePageFormat) String() string { + return proto.EnumName(TrackingCodePageFormatEnum_TrackingCodePageFormat_name, int32(x)) +} +func (TrackingCodePageFormatEnum_TrackingCodePageFormat) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_tracking_code_page_format_dedd59df73042aa1, []int{0, 0} +} + +// Container for enum describing the format of the web page where the tracking +// tag and snippet will be installed. +type TrackingCodePageFormatEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TrackingCodePageFormatEnum) Reset() { *m = TrackingCodePageFormatEnum{} } +func (m *TrackingCodePageFormatEnum) String() string { return proto.CompactTextString(m) } +func (*TrackingCodePageFormatEnum) ProtoMessage() {} +func (*TrackingCodePageFormatEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_tracking_code_page_format_dedd59df73042aa1, []int{0} +} +func (m *TrackingCodePageFormatEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrackingCodePageFormatEnum.Unmarshal(m, b) +} +func (m *TrackingCodePageFormatEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrackingCodePageFormatEnum.Marshal(b, m, deterministic) +} +func (dst *TrackingCodePageFormatEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrackingCodePageFormatEnum.Merge(dst, src) +} +func (m *TrackingCodePageFormatEnum) XXX_Size() int { + return xxx_messageInfo_TrackingCodePageFormatEnum.Size(m) +} +func (m *TrackingCodePageFormatEnum) XXX_DiscardUnknown() { + xxx_messageInfo_TrackingCodePageFormatEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_TrackingCodePageFormatEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TrackingCodePageFormatEnum)(nil), "google.ads.googleads.v0.enums.TrackingCodePageFormatEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.TrackingCodePageFormatEnum_TrackingCodePageFormat", TrackingCodePageFormatEnum_TrackingCodePageFormat_name, TrackingCodePageFormatEnum_TrackingCodePageFormat_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/tracking_code_page_format.proto", fileDescriptor_tracking_code_page_format_dedd59df73042aa1) +} + +var fileDescriptor_tracking_code_page_format_dedd59df73042aa1 = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x92, 0xa2, 0xc4, 0xe4, 0xec, 0xcc, 0xbc, 0xf4, 0xf8, 0xe4, 0xfc, 0x94, + 0xd4, 0xf8, 0x82, 0xc4, 0xf4, 0xd4, 0xf8, 0xb4, 0xfc, 0xa2, 0xdc, 0xc4, 0x12, 0xbd, 0x82, 0xa2, + 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x1e, 0xbd, 0xc4, 0x94, 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xc0, 0x96, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x49, 0x08, 0x44, 0x9e, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_type.pb.go new file mode 100644 index 000000000..3d50aee66 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/tracking_code_type.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/tracking_code_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of the generated tag snippets for tracking conversions. +type TrackingCodeTypeEnum_TrackingCodeType int32 + +const ( + // Not specified. + TrackingCodeTypeEnum_UNSPECIFIED TrackingCodeTypeEnum_TrackingCodeType = 0 + // Used for return value only. Represents value unknown in this version. + TrackingCodeTypeEnum_UNKNOWN TrackingCodeTypeEnum_TrackingCodeType = 1 + // The snippet that is fired as a result of a website page loading. + TrackingCodeTypeEnum_WEBPAGE TrackingCodeTypeEnum_TrackingCodeType = 2 + // The snippet contains a JavaScript function which fires the tag. This + // function is typically called from an onClick handler added to a link or + // button element on the page. + TrackingCodeTypeEnum_WEBPAGE_ONCLICK TrackingCodeTypeEnum_TrackingCodeType = 3 + // For embedding on a mobile webpage. The snippet contains a JavaScript + // function which fires the tag. + TrackingCodeTypeEnum_CLICK_TO_CALL TrackingCodeTypeEnum_TrackingCodeType = 4 +) + +var TrackingCodeTypeEnum_TrackingCodeType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "WEBPAGE", + 3: "WEBPAGE_ONCLICK", + 4: "CLICK_TO_CALL", +} +var TrackingCodeTypeEnum_TrackingCodeType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "WEBPAGE": 2, + "WEBPAGE_ONCLICK": 3, + "CLICK_TO_CALL": 4, +} + +func (x TrackingCodeTypeEnum_TrackingCodeType) String() string { + return proto.EnumName(TrackingCodeTypeEnum_TrackingCodeType_name, int32(x)) +} +func (TrackingCodeTypeEnum_TrackingCodeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_tracking_code_type_637cc16341c8b183, []int{0, 0} +} + +// Container for enum describing the type of the generated tag snippets for +// tracking conversions. +type TrackingCodeTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TrackingCodeTypeEnum) Reset() { *m = TrackingCodeTypeEnum{} } +func (m *TrackingCodeTypeEnum) String() string { return proto.CompactTextString(m) } +func (*TrackingCodeTypeEnum) ProtoMessage() {} +func (*TrackingCodeTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_tracking_code_type_637cc16341c8b183, []int{0} +} +func (m *TrackingCodeTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrackingCodeTypeEnum.Unmarshal(m, b) +} +func (m *TrackingCodeTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrackingCodeTypeEnum.Marshal(b, m, deterministic) +} +func (dst *TrackingCodeTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrackingCodeTypeEnum.Merge(dst, src) +} +func (m *TrackingCodeTypeEnum) XXX_Size() int { + return xxx_messageInfo_TrackingCodeTypeEnum.Size(m) +} +func (m *TrackingCodeTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_TrackingCodeTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_TrackingCodeTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TrackingCodeTypeEnum)(nil), "google.ads.googleads.v0.enums.TrackingCodeTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.TrackingCodeTypeEnum_TrackingCodeType", TrackingCodeTypeEnum_TrackingCodeType_name, TrackingCodeTypeEnum_TrackingCodeType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/tracking_code_type.proto", fileDescriptor_tracking_code_type_637cc16341c8b183) +} + +var fileDescriptor_tracking_code_type_637cc16341c8b183 = []byte{ + // 287 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0x92, 0xa2, 0xc4, 0xe4, 0xec, 0xcc, 0xbc, 0xf4, 0xf8, 0xe4, 0xfc, 0x94, + 0xd4, 0xf8, 0x92, 0xca, 0x82, 0x54, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x59, 0x88, 0x62, + 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x3e, 0xbd, 0x32, 0x03, 0x3d, 0xb0, 0x3e, 0xa5, 0x5a, 0x2e, + 0x91, 0x10, 0xa8, 0x56, 0xe7, 0xfc, 0x94, 0xd4, 0x90, 0xca, 0x82, 0x54, 0xd7, 0xbc, 0xd2, 0x5c, + 0xa5, 0x54, 0x2e, 0x01, 0x74, 0x71, 0x21, 0x7e, 0x2e, 0xee, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, + 0x4f, 0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x6e, 0x2e, 0xf6, 0x50, 0x3f, 0x6f, 0x3f, 0xff, + 0x70, 0x3f, 0x01, 0x46, 0x10, 0x27, 0xdc, 0xd5, 0x29, 0xc0, 0xd1, 0xdd, 0x55, 0x80, 0x49, 0x48, + 0x98, 0x8b, 0x1f, 0xca, 0x89, 0xf7, 0xf7, 0x73, 0xf6, 0xf1, 0x74, 0xf6, 0x16, 0x60, 0x16, 0x12, + 0xe4, 0xe2, 0x05, 0x33, 0xe3, 0x43, 0xfc, 0xe3, 0x9d, 0x1d, 0x7d, 0x7c, 0x04, 0x58, 0x9c, 0x8e, + 0x31, 0x72, 0x29, 0x26, 0xe7, 0xe7, 0xea, 0xe1, 0x75, 0xa4, 0x93, 0x28, 0xba, 0x53, 0x02, 0x40, + 0x5e, 0x0b, 0x60, 0x8c, 0x72, 0x82, 0xea, 0x4b, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, + 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0x7b, 0x1c, 0x16, 0x48, 0x05, 0x99, 0xc5, 0x38, 0xc2, 0xcc, + 0x1a, 0x4c, 0x2e, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0x24, 0xeb, 0x0e, 0x31, 0xca, 0x31, + 0xa5, 0x58, 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x40, 0xc1, 0x51, 0x7c, 0x0a, 0x26, 0x1f, + 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x88, 0x01, 0xcb, 0x27, 0xb1, 0x81, 0x2d, + 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x3a, 0x69, 0xa9, 0xa7, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/travel_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/travel_placeholder_field.pb.go new file mode 100644 index 000000000..b226f88f2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/travel_placeholder_field.pb.go @@ -0,0 +1,224 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/travel_placeholder_field.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Possible values for Travel placeholder fields. +type TravelPlaceholderFieldEnum_TravelPlaceholderField int32 + +const ( + // Not specified. + TravelPlaceholderFieldEnum_UNSPECIFIED TravelPlaceholderFieldEnum_TravelPlaceholderField = 0 + // Used for return value only. Represents value unknown in this version. + TravelPlaceholderFieldEnum_UNKNOWN TravelPlaceholderFieldEnum_TravelPlaceholderField = 1 + // Data Type: STRING. Required. Destination id. Example: PAR, LON. + // For feed items that only have destination id, destination id must be a + // unique key. For feed items that have both destination id and origin id, + // then the combination must be a unique key. + TravelPlaceholderFieldEnum_DESTINATION_ID TravelPlaceholderFieldEnum_TravelPlaceholderField = 2 + // Data Type: STRING. Origin id. Example: PAR, LON. + // Combination of DESTINATION_ID and ORIGIN_ID must be + // unique per offer. + TravelPlaceholderFieldEnum_ORIGIN_ID TravelPlaceholderFieldEnum_TravelPlaceholderField = 3 + // Data Type: STRING. Required. Main headline with name to be shown in + // dynamic ad. + TravelPlaceholderFieldEnum_TITLE TravelPlaceholderFieldEnum_TravelPlaceholderField = 4 + // Data Type: STRING. The destination name. Shorter names are recommended. + TravelPlaceholderFieldEnum_DESTINATION_NAME TravelPlaceholderFieldEnum_TravelPlaceholderField = 5 + // Data Type: STRING. Origin name. Shorter names are recommended. + TravelPlaceholderFieldEnum_ORIGIN_NAME TravelPlaceholderFieldEnum_TravelPlaceholderField = 6 + // Data Type: STRING. Price to be shown in the ad. Highly recommended for + // dynamic ads. + // Example: "100.00 USD" + TravelPlaceholderFieldEnum_PRICE TravelPlaceholderFieldEnum_TravelPlaceholderField = 7 + // Data Type: STRING. Formatted price to be shown in the ad. + // Example: "Starting at $100.00 USD", "$80 - $100" + TravelPlaceholderFieldEnum_FORMATTED_PRICE TravelPlaceholderFieldEnum_TravelPlaceholderField = 8 + // Data Type: STRING. Sale price to be shown in the ad. + // Example: "80.00 USD" + TravelPlaceholderFieldEnum_SALE_PRICE TravelPlaceholderFieldEnum_TravelPlaceholderField = 9 + // Data Type: STRING. Formatted sale price to be shown in the ad. + // Example: "On sale for $80.00", "$60 - $80" + TravelPlaceholderFieldEnum_FORMATTED_SALE_PRICE TravelPlaceholderFieldEnum_TravelPlaceholderField = 10 + // Data Type: URL. Image to be displayed in the ad. + TravelPlaceholderFieldEnum_IMAGE_URL TravelPlaceholderFieldEnum_TravelPlaceholderField = 11 + // Data Type: STRING. Category of travel offer used to group like items + // together for recommendation engine. + TravelPlaceholderFieldEnum_CATEGORY TravelPlaceholderFieldEnum_TravelPlaceholderField = 12 + // Data Type: STRING_LIST. Keywords used for product retrieval. + TravelPlaceholderFieldEnum_CONTEXTUAL_KEYWORDS TravelPlaceholderFieldEnum_TravelPlaceholderField = 13 + // Data Type: STRING. Address of travel offer, including postal code. + TravelPlaceholderFieldEnum_DESTINATION_ADDRESS TravelPlaceholderFieldEnum_TravelPlaceholderField = 14 + // Data Type: URL_LIST. Required. Final URLs to be used in ad, when using + // Upgraded URLs; the more specific the better (e.g. the individual URL of a + // specific travel offer and its location). + TravelPlaceholderFieldEnum_FINAL_URL TravelPlaceholderFieldEnum_TravelPlaceholderField = 15 + // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + // URLs. + TravelPlaceholderFieldEnum_FINAL_MOBILE_URLS TravelPlaceholderFieldEnum_TravelPlaceholderField = 16 + // Data Type: URL. Tracking template for the ad when using Upgraded URLs. + TravelPlaceholderFieldEnum_TRACKING_URL TravelPlaceholderFieldEnum_TravelPlaceholderField = 17 + // Data Type: STRING. Android app link. Must be formatted as: + // android-app://{package_id}/{scheme}/{host_path}. + // The components are defined as follows: + // package_id: app ID as specified in Google Play. + // scheme: the scheme to pass to the application. Can be HTTP, or a custom + // scheme. + // host_path: identifies the specific content within your application. + TravelPlaceholderFieldEnum_ANDROID_APP_LINK TravelPlaceholderFieldEnum_TravelPlaceholderField = 18 + // Data Type: STRING_LIST. List of recommended destination IDs to show + // together with this item. + TravelPlaceholderFieldEnum_SIMILAR_DESTINATION_IDS TravelPlaceholderFieldEnum_TravelPlaceholderField = 19 + // Data Type: STRING. iOS app link. + TravelPlaceholderFieldEnum_IOS_APP_LINK TravelPlaceholderFieldEnum_TravelPlaceholderField = 20 + // Data Type: INT64. iOS app store ID. + TravelPlaceholderFieldEnum_IOS_APP_STORE_ID TravelPlaceholderFieldEnum_TravelPlaceholderField = 21 +) + +var TravelPlaceholderFieldEnum_TravelPlaceholderField_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DESTINATION_ID", + 3: "ORIGIN_ID", + 4: "TITLE", + 5: "DESTINATION_NAME", + 6: "ORIGIN_NAME", + 7: "PRICE", + 8: "FORMATTED_PRICE", + 9: "SALE_PRICE", + 10: "FORMATTED_SALE_PRICE", + 11: "IMAGE_URL", + 12: "CATEGORY", + 13: "CONTEXTUAL_KEYWORDS", + 14: "DESTINATION_ADDRESS", + 15: "FINAL_URL", + 16: "FINAL_MOBILE_URLS", + 17: "TRACKING_URL", + 18: "ANDROID_APP_LINK", + 19: "SIMILAR_DESTINATION_IDS", + 20: "IOS_APP_LINK", + 21: "IOS_APP_STORE_ID", +} +var TravelPlaceholderFieldEnum_TravelPlaceholderField_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DESTINATION_ID": 2, + "ORIGIN_ID": 3, + "TITLE": 4, + "DESTINATION_NAME": 5, + "ORIGIN_NAME": 6, + "PRICE": 7, + "FORMATTED_PRICE": 8, + "SALE_PRICE": 9, + "FORMATTED_SALE_PRICE": 10, + "IMAGE_URL": 11, + "CATEGORY": 12, + "CONTEXTUAL_KEYWORDS": 13, + "DESTINATION_ADDRESS": 14, + "FINAL_URL": 15, + "FINAL_MOBILE_URLS": 16, + "TRACKING_URL": 17, + "ANDROID_APP_LINK": 18, + "SIMILAR_DESTINATION_IDS": 19, + "IOS_APP_LINK": 20, + "IOS_APP_STORE_ID": 21, +} + +func (x TravelPlaceholderFieldEnum_TravelPlaceholderField) String() string { + return proto.EnumName(TravelPlaceholderFieldEnum_TravelPlaceholderField_name, int32(x)) +} +func (TravelPlaceholderFieldEnum_TravelPlaceholderField) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_travel_placeholder_field_dcb19d408bed3d7c, []int{0, 0} +} + +// Values for Travel placeholder fields. +// For more information about dynamic remarketing feeds, see +// https://support.google.com/google-ads/answer/6053288. +type TravelPlaceholderFieldEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TravelPlaceholderFieldEnum) Reset() { *m = TravelPlaceholderFieldEnum{} } +func (m *TravelPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } +func (*TravelPlaceholderFieldEnum) ProtoMessage() {} +func (*TravelPlaceholderFieldEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_travel_placeholder_field_dcb19d408bed3d7c, []int{0} +} +func (m *TravelPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TravelPlaceholderFieldEnum.Unmarshal(m, b) +} +func (m *TravelPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TravelPlaceholderFieldEnum.Marshal(b, m, deterministic) +} +func (dst *TravelPlaceholderFieldEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_TravelPlaceholderFieldEnum.Merge(dst, src) +} +func (m *TravelPlaceholderFieldEnum) XXX_Size() int { + return xxx_messageInfo_TravelPlaceholderFieldEnum.Size(m) +} +func (m *TravelPlaceholderFieldEnum) XXX_DiscardUnknown() { + xxx_messageInfo_TravelPlaceholderFieldEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_TravelPlaceholderFieldEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*TravelPlaceholderFieldEnum)(nil), "google.ads.googleads.v0.enums.TravelPlaceholderFieldEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField", TravelPlaceholderFieldEnum_TravelPlaceholderField_name, TravelPlaceholderFieldEnum_TravelPlaceholderField_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/travel_placeholder_field.proto", fileDescriptor_travel_placeholder_field_dcb19d408bed3d7c) +} + +var fileDescriptor_travel_placeholder_field_dcb19d408bed3d7c = []byte{ + // 484 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xda, 0x30, + 0x14, 0x1e, 0xb0, 0xfe, 0x70, 0xa0, 0xe0, 0x1a, 0xba, 0x4e, 0xab, 0x7a, 0xb1, 0x3e, 0x40, 0x40, + 0xda, 0xe5, 0x76, 0x63, 0x88, 0x89, 0x2c, 0x82, 0x1d, 0xd9, 0xa6, 0x5d, 0x27, 0xa4, 0x28, 0x6b, + 0xb2, 0xac, 0x52, 0x20, 0x88, 0xb4, 0x3c, 0xd0, 0x2e, 0xf7, 0x02, 0x7b, 0x87, 0x69, 0xd7, 0x7b, + 0x9e, 0xc9, 0x0e, 0x14, 0x26, 0x75, 0xbb, 0x89, 0xce, 0x39, 0xdf, 0xcf, 0x71, 0xec, 0x0f, 0x3e, + 0xa4, 0x79, 0x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0xef, 0x98, 0x9c, 0x15, 0x3f, 0xb7, 0xf8, 0x8c, 0xc4, 0xc5, 0xec, 0x09, 0x9f, 0x5d, 0xf7, 0x67, + 0x16, 0xff, 0x7c, 0x68, 0x97, 0xbe, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xb8, 0x9c, 0x9b, + 0x0d, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_interest_taxonomy_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_interest_taxonomy_type.pb.go new file mode 100644 index 000000000..fef0facfd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_interest_taxonomy_type.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_interest_taxonomy_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing the possible UserInterestTaxonomyTypes. +type UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType int32 + +const ( + // Not specified. + UserInterestTaxonomyTypeEnum_UNSPECIFIED UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 0 + // Used for return value only. Represents value unknown in this version. + UserInterestTaxonomyTypeEnum_UNKNOWN UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 1 + // The affinity for this user interest. + UserInterestTaxonomyTypeEnum_AFFINITY UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 2 + // The market for this user interest. + UserInterestTaxonomyTypeEnum_IN_MARKET UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 3 + // Users known to have installed applications in the specified categories. + UserInterestTaxonomyTypeEnum_MOBILE_APP_INSTALL_USER UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 4 + // The geographical location of the interest-based vertical. + UserInterestTaxonomyTypeEnum_VERTICAL_GEO UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 5 + // User interest criteria for new smart phone users. + UserInterestTaxonomyTypeEnum_NEW_SMART_PHONE_USER UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType = 6 +) + +var UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AFFINITY", + 3: "IN_MARKET", + 4: "MOBILE_APP_INSTALL_USER", + 5: "VERTICAL_GEO", + 6: "NEW_SMART_PHONE_USER", +} +var UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AFFINITY": 2, + "IN_MARKET": 3, + "MOBILE_APP_INSTALL_USER": 4, + "VERTICAL_GEO": 5, + "NEW_SMART_PHONE_USER": 6, +} + +func (x UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType) String() string { + return proto.EnumName(UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_name, int32(x)) +} +func (UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_interest_taxonomy_type_c8f56b49ce1dcc23, []int{0, 0} +} + +// Message describing a UserInterestTaxonomyType. +type UserInterestTaxonomyTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserInterestTaxonomyTypeEnum) Reset() { *m = UserInterestTaxonomyTypeEnum{} } +func (m *UserInterestTaxonomyTypeEnum) String() string { return proto.CompactTextString(m) } +func (*UserInterestTaxonomyTypeEnum) ProtoMessage() {} +func (*UserInterestTaxonomyTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_interest_taxonomy_type_c8f56b49ce1dcc23, []int{0} +} +func (m *UserInterestTaxonomyTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserInterestTaxonomyTypeEnum.Unmarshal(m, b) +} +func (m *UserInterestTaxonomyTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserInterestTaxonomyTypeEnum.Marshal(b, m, deterministic) +} +func (dst *UserInterestTaxonomyTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserInterestTaxonomyTypeEnum.Merge(dst, src) +} +func (m *UserInterestTaxonomyTypeEnum) XXX_Size() int { + return xxx_messageInfo_UserInterestTaxonomyTypeEnum.Size(m) +} +func (m *UserInterestTaxonomyTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserInterestTaxonomyTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserInterestTaxonomyTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserInterestTaxonomyTypeEnum)(nil), "google.ads.googleads.v0.enums.UserInterestTaxonomyTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType", UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_name, UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_interest_taxonomy_type.proto", fileDescriptor_user_interest_taxonomy_type_c8f56b49ce1dcc23) +} + +var fileDescriptor_user_interest_taxonomy_type_c8f56b49ce1dcc23 = []byte{ + // 352 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x6b, 0xdb, 0x30, + 0x18, 0xc6, 0xe7, 0x64, 0xcb, 0x36, 0x25, 0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b, 0xff, 0x80, + 0xdf, 0x0b, 0xc7, 0xa2, 0x36, 0xe1, 0xd8, 0x75, 0x39, 0x65, 0x7e, 0x80, 0x6d, 0x9b, 0x87, 0x3e, + 0xf1, 0xf4, 0xcf, 0x50, 0x07, 0x83, 0x25, 0xf1, 0x02, 0x3a, 0xc1, 0x36, 0x9f, 0x11, 0x47, 0xff, + 0x02, 0x87, 0xe0, 0x17, 0x23, 0x2b, 0xee, 0x2f, 0xb0, 0x17, 0x70, 0xf7, 0xda, 0x61, 0xa4, 0x9d, + 0xed, 0x59, 0x6f, 0x1a, 0xf8, 0x77, 0x2f, 0x33, 0xf4, 0x61, 0x4e, 0x6b, 0x74, 0x2e, 0x83, 0x5b, + 0xb7, 0xe4, 0x6a, 0xb7, 0xd6, 0x61, 0x3f, 0x95, 0x9b, 0x38, 0x4f, 0x91, 0x2c, 0x53, 0x23, 0x15, + 0x79, 0xd3, 0xe1, 0xb1, 0xf8, 0x62, 0xad, 0xce, 0xdc, 0xe1, 0xa2, 0x79, 0x9f, 0x3a, 0xdd, 0x19, + 0xc6, 0xcf, 0x9d, 0xd1, 0xac, 0x45, 0xe1, 0x44, 0xa1, 0x56, 0xd6, 0x6a, 0x69, 0xa2, 0xba, 0x50, + 0xf5, 0x7a, 0xf4, 0x23, 0x9c, 0xa8, 0xe8, 0xe4, 0x47, 0x4b, 0x33, 0x6a, 0xfc, 0xbb, 0x5e, 0xf3, + 0xe9, 0xff, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x48, 0x44, 0x81, 0xfb, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_access_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_access_status.pb.go new file mode 100644 index 000000000..d98958c7b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_access_status.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_list_access_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing possible user list access statuses. +type UserListAccessStatusEnum_UserListAccessStatus int32 + +const ( + // Not specified. + UserListAccessStatusEnum_UNSPECIFIED UserListAccessStatusEnum_UserListAccessStatus = 0 + // Used for return value only. Represents value unknown in this version. + UserListAccessStatusEnum_UNKNOWN UserListAccessStatusEnum_UserListAccessStatus = 1 + // The access is enabled. + UserListAccessStatusEnum_ENABLED UserListAccessStatusEnum_UserListAccessStatus = 2 + // The access is disabled. + UserListAccessStatusEnum_DISABLED UserListAccessStatusEnum_UserListAccessStatus = 3 +) + +var UserListAccessStatusEnum_UserListAccessStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ENABLED", + 3: "DISABLED", +} +var UserListAccessStatusEnum_UserListAccessStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENABLED": 2, + "DISABLED": 3, +} + +func (x UserListAccessStatusEnum_UserListAccessStatus) String() string { + return proto.EnumName(UserListAccessStatusEnum_UserListAccessStatus_name, int32(x)) +} +func (UserListAccessStatusEnum_UserListAccessStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_access_status_fec1189b245b8f63, []int{0, 0} +} + +// Indicates if this client still has access to the list. +type UserListAccessStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListAccessStatusEnum) Reset() { *m = UserListAccessStatusEnum{} } +func (m *UserListAccessStatusEnum) String() string { return proto.CompactTextString(m) } +func (*UserListAccessStatusEnum) ProtoMessage() {} +func (*UserListAccessStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_access_status_fec1189b245b8f63, []int{0} +} +func (m *UserListAccessStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListAccessStatusEnum.Unmarshal(m, b) +} +func (m *UserListAccessStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListAccessStatusEnum.Marshal(b, m, deterministic) +} +func (dst *UserListAccessStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListAccessStatusEnum.Merge(dst, src) +} +func (m *UserListAccessStatusEnum) XXX_Size() int { + return xxx_messageInfo_UserListAccessStatusEnum.Size(m) +} +func (m *UserListAccessStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListAccessStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListAccessStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListAccessStatusEnum)(nil), "google.ads.googleads.v0.enums.UserListAccessStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserListAccessStatusEnum_UserListAccessStatus", UserListAccessStatusEnum_UserListAccessStatus_name, UserListAccessStatusEnum_UserListAccessStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_list_access_status.proto", fileDescriptor_user_list_access_status_fec1189b245b8f63) +} + +var fileDescriptor_user_list_access_status_fec1189b245b8f63 = []byte{ + // 272 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, + 0x18, 0x86, 0x5d, 0x07, 0x2a, 0x99, 0x60, 0x29, 0x1e, 0xf4, 0xb0, 0x83, 0xfb, 0x01, 0x69, 0xc1, + 0xe3, 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ec, 0x1a, 0xf8, 0xa3, 0xaa, 0xa5, 0x79, 0xbf, 0x9c, + 0xe9, 0x8a, 0x90, 0x6f, 0x67, 0xbe, 0xb2, 0x5f, 0x91, 0x1a, 0xb0, 0x95, 0x5a, 0x6d, 0x03, 0xac, + 0xc3, 0xc3, 0xe1, 0xe8, 0x17, 0xa4, 0x86, 0xe2, 0xe4, 0x17, 0xdb, 0xa0, 0x30, 0xfe, 0xc7, 0xa5, + 0x59, 0xfa, 0xf4, 0x13, 0x00, 0x00, 0xff, 0xff, 0xba, 0x89, 0xe1, 0xa8, 0x9e, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_closing_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_closing_reason.pb.go new file mode 100644 index 000000000..91f0e83eb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_closing_reason.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_list_closing_reason.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible user list closing reasons. +type UserListClosingReasonEnum_UserListClosingReason int32 + +const ( + // Not specified. + UserListClosingReasonEnum_UNSPECIFIED UserListClosingReasonEnum_UserListClosingReason = 0 + // Used for return value only. Represents value unknown in this version. + UserListClosingReasonEnum_UNKNOWN UserListClosingReasonEnum_UserListClosingReason = 1 + // The userlist was closed because of not being used for over one year. + UserListClosingReasonEnum_UNUSED UserListClosingReasonEnum_UserListClosingReason = 2 +) + +var UserListClosingReasonEnum_UserListClosingReason_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "UNUSED", +} +var UserListClosingReasonEnum_UserListClosingReason_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "UNUSED": 2, +} + +func (x UserListClosingReasonEnum_UserListClosingReason) String() string { + return proto.EnumName(UserListClosingReasonEnum_UserListClosingReason_name, int32(x)) +} +func (UserListClosingReasonEnum_UserListClosingReason) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_closing_reason_42ba988910729065, []int{0, 0} +} + +// Indicates the reason why the userlist was closed. +// This enum is only used when a list is auto-closed by the system. +type UserListClosingReasonEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListClosingReasonEnum) Reset() { *m = UserListClosingReasonEnum{} } +func (m *UserListClosingReasonEnum) String() string { return proto.CompactTextString(m) } +func (*UserListClosingReasonEnum) ProtoMessage() {} +func (*UserListClosingReasonEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_closing_reason_42ba988910729065, []int{0} +} +func (m *UserListClosingReasonEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListClosingReasonEnum.Unmarshal(m, b) +} +func (m *UserListClosingReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListClosingReasonEnum.Marshal(b, m, deterministic) +} +func (dst *UserListClosingReasonEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListClosingReasonEnum.Merge(dst, src) +} +func (m *UserListClosingReasonEnum) XXX_Size() int { + return xxx_messageInfo_UserListClosingReasonEnum.Size(m) +} +func (m *UserListClosingReasonEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListClosingReasonEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListClosingReasonEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListClosingReasonEnum)(nil), "google.ads.googleads.v0.enums.UserListClosingReasonEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserListClosingReasonEnum_UserListClosingReason", UserListClosingReasonEnum_UserListClosingReason_name, UserListClosingReasonEnum_UserListClosingReason_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_list_closing_reason.proto", fileDescriptor_user_list_closing_reason_42ba988910729065) +} + +var fileDescriptor_user_list_closing_reason_42ba988910729065 = []byte{ + // 266 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xbc, + 0xd2, 0xdc, 0x62, 0xfd, 0xd2, 0xe2, 0xd4, 0xa2, 0xf8, 0x9c, 0xcc, 0xe2, 0x92, 0xf8, 0xe4, 0x9c, + 0xfc, 0xe2, 0xcc, 0xbc, 0xf4, 0xf8, 0xa2, 0xd4, 0xc4, 0xe2, 0xfc, 0x3c, 0xbd, 0x82, 0xa2, 0xfc, + 0x92, 0x7c, 0x21, 0x59, 0x88, 0x16, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x6e, 0xbd, 0x32, 0x03, + 0x3d, 0xb0, 0x6e, 0xa5, 0x38, 0x2e, 0xc9, 0xd0, 0xe2, 0xd4, 0x22, 0x9f, 0xcc, 0xe2, 0x12, 0x67, + 0x88, 0xf6, 0x20, 0xb0, 0x6e, 0xd7, 0xbc, 0xd2, 0x5c, 0x25, 0x47, 0x2e, 0x51, 0xac, 0x92, 0x42, + 0xfc, 0x5c, 0xdc, 0xa1, 0x7e, 0xc1, 0x01, 0xae, 0xce, 0x9e, 0x6e, 0x9e, 0xae, 0x2e, 0x02, 0x0c, + 0x42, 0xdc, 0x5c, 0xec, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0x02, 0x8c, 0x42, 0x5c, 0x5c, + 0x6c, 0xa1, 0x7e, 0xa1, 0xc1, 0xae, 0x2e, 0x02, 0x4c, 0x4e, 0xa7, 0x19, 0xb9, 0x14, 0x93, 0xf3, + 0x73, 0xf5, 0xf0, 0xba, 0xc2, 0x49, 0x0a, 0xab, 0x35, 0x01, 0x20, 0x0f, 0x04, 0x30, 0x46, 0x39, + 0x41, 0x35, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5, 0xeb, 0xa7, 0xa7, 0xe6, + 0x81, 0xbd, 0x07, 0x0b, 0x90, 0x82, 0xcc, 0x62, 0x1c, 0xe1, 0x63, 0x0d, 0x26, 0x17, 0x31, 0x31, + 0xbb, 0x3b, 0x3a, 0xae, 0x62, 0x92, 0x75, 0x87, 0x18, 0xe5, 0x98, 0x52, 0xac, 0x07, 0x61, 0x82, + 0x58, 0x61, 0x06, 0x7a, 0x20, 0xff, 0x16, 0x9f, 0x82, 0xc9, 0xc7, 0x38, 0xa6, 0x14, 0xc7, 0xc0, + 0xe5, 0x63, 0xc2, 0x0c, 0x62, 0xc0, 0xf2, 0x49, 0x6c, 0x60, 0x4b, 0x8d, 0x01, 0x01, 0x00, 0x00, + 0xff, 0xff, 0xea, 0x1d, 0x66, 0x86, 0x93, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_crm_data_source_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_crm_data_source_type.pb.go new file mode 100644 index 000000000..26707118e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_crm_data_source_type.pb.go @@ -0,0 +1,122 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_list_crm_data_source_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible user list crm data source type. +type UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType int32 + +const ( + // Not specified. + UserListCrmDataSourceTypeEnum_UNSPECIFIED UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType = 0 + // Used for return value only. Represents value unknown in this version. + UserListCrmDataSourceTypeEnum_UNKNOWN UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType = 1 + // The uploaded data is first party data. + UserListCrmDataSourceTypeEnum_FIRST_PARTY UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType = 2 + // The uploaded data is from a third party credit bureau. + UserListCrmDataSourceTypeEnum_THIRD_PARTY_CREDIT_BUREAU UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType = 3 + // The uploaded data is from a third party voter file. + UserListCrmDataSourceTypeEnum_THIRD_PARTY_VOTER_FILE UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType = 4 +) + +var UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "FIRST_PARTY", + 3: "THIRD_PARTY_CREDIT_BUREAU", + 4: "THIRD_PARTY_VOTER_FILE", +} +var UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FIRST_PARTY": 2, + "THIRD_PARTY_CREDIT_BUREAU": 3, + "THIRD_PARTY_VOTER_FILE": 4, +} + +func (x UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType) String() string { + return proto.EnumName(UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_name, int32(x)) +} +func (UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_crm_data_source_type_207bd7e19482b37d, []int{0, 0} +} + +// Indicates source of Crm upload data. +type UserListCrmDataSourceTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListCrmDataSourceTypeEnum) Reset() { *m = UserListCrmDataSourceTypeEnum{} } +func (m *UserListCrmDataSourceTypeEnum) String() string { return proto.CompactTextString(m) } +func (*UserListCrmDataSourceTypeEnum) ProtoMessage() {} +func (*UserListCrmDataSourceTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_crm_data_source_type_207bd7e19482b37d, []int{0} +} +func (m *UserListCrmDataSourceTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListCrmDataSourceTypeEnum.Unmarshal(m, b) +} +func (m *UserListCrmDataSourceTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListCrmDataSourceTypeEnum.Marshal(b, m, deterministic) +} +func (dst *UserListCrmDataSourceTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListCrmDataSourceTypeEnum.Merge(dst, src) +} +func (m *UserListCrmDataSourceTypeEnum) XXX_Size() int { + return xxx_messageInfo_UserListCrmDataSourceTypeEnum.Size(m) +} +func (m *UserListCrmDataSourceTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListCrmDataSourceTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListCrmDataSourceTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListCrmDataSourceTypeEnum)(nil), "google.ads.googleads.v0.enums.UserListCrmDataSourceTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType", UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_name, UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_list_crm_data_source_type.proto", fileDescriptor_user_list_crm_data_source_type_207bd7e19482b37d) +} + +var fileDescriptor_user_list_crm_data_source_type_207bd7e19482b37d = []byte{ + // 325 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0xbb, 0x30, + 0x1c, 0xc7, 0xff, 0xb6, 0x7f, 0x36, 0x48, 0x0f, 0x13, 0x0f, 0x83, 0x0e, 0x1c, 0xac, 0x0f, 0x10, + 0x85, 0x1d, 0x77, 0xd2, 0x9a, 0x76, 0xb2, 0x62, 0xc5, 0x6a, 0xc7, 0x86, 0x10, 0xb2, 0x1a, 0xa4, + 0x50, 0x8d, 0xe4, 0xa7, 0x85, 0x3e, 0xc0, 0x5e, 0x64, 0x97, 0xc1, 0x1e, 0x65, 0x97, 0xbd, 0xd2, + 0x30, 0xae, 0x65, 0x17, 0x77, 0x09, 0x5f, 0xf2, 0x49, 0xbe, 0xc9, 0xef, 0x83, 0xdc, 0x5c, 0x88, + 0x7c, 0xc7, 0x2d, 0x96, 0x81, 0xd5, 0xc5, 0x36, 0xed, 0x6d, 0x8b, 0x97, 0x4d, 0x01, 0x56, 0x03, + 0x5c, 0xd2, 0xdd, 0x16, 0x6a, 0xba, 0x91, 0x05, 0xcd, 0x58, 0xcd, 0x28, 0x88, 0x46, 0x6e, 0x38, + 0xad, 0x0f, 0x15, 0xc7, 0x95, 0x14, 0xb5, 0x30, 0xcc, 0xee, 0x22, 0x66, 0x19, 0xe0, 0x53, 0x07, + 0xde, 0xdb, 0x58, 0x75, 0x4c, 0xde, 0x35, 0x64, 0x26, 0xc0, 0xe5, 0x62, 0x0b, 0xf5, 0x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0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_membership_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_membership_status.pb.go new file mode 100644 index 000000000..eeb4a9efc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_membership_status.pb.go @@ -0,0 +1,117 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_list_membership_status.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing possible user list membership statuses. +type UserListMembershipStatusEnum_UserListMembershipStatus int32 + +const ( + // Not specified. + UserListMembershipStatusEnum_UNSPECIFIED UserListMembershipStatusEnum_UserListMembershipStatus = 0 + // Used for return value only. Represents value unknown in this version. + UserListMembershipStatusEnum_UNKNOWN UserListMembershipStatusEnum_UserListMembershipStatus = 1 + // Open status - List is accruing members and can be targeted to. + UserListMembershipStatusEnum_OPEN UserListMembershipStatusEnum_UserListMembershipStatus = 2 + // Closed status - No new members being added. Cannot be used for targeting. + UserListMembershipStatusEnum_CLOSED UserListMembershipStatusEnum_UserListMembershipStatus = 3 +) + +var UserListMembershipStatusEnum_UserListMembershipStatus_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "OPEN", + 3: "CLOSED", +} +var UserListMembershipStatusEnum_UserListMembershipStatus_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "OPEN": 2, + "CLOSED": 3, +} + +func (x UserListMembershipStatusEnum_UserListMembershipStatus) String() string { + return proto.EnumName(UserListMembershipStatusEnum_UserListMembershipStatus_name, int32(x)) +} +func (UserListMembershipStatusEnum_UserListMembershipStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_membership_status_d983670b77875dec, []int{0, 0} +} + +// Membership status of this user list. Indicates whether a user list is open +// or active. Only open user lists can accumulate more users and can be used for +// targeting. +type UserListMembershipStatusEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListMembershipStatusEnum) Reset() { *m = UserListMembershipStatusEnum{} } +func (m *UserListMembershipStatusEnum) String() string { return proto.CompactTextString(m) } +func (*UserListMembershipStatusEnum) ProtoMessage() {} +func (*UserListMembershipStatusEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_membership_status_d983670b77875dec, []int{0} +} +func (m *UserListMembershipStatusEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListMembershipStatusEnum.Unmarshal(m, b) +} +func (m *UserListMembershipStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListMembershipStatusEnum.Marshal(b, m, deterministic) +} +func (dst *UserListMembershipStatusEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListMembershipStatusEnum.Merge(dst, src) +} +func (m *UserListMembershipStatusEnum) XXX_Size() int { + return xxx_messageInfo_UserListMembershipStatusEnum.Size(m) +} +func (m *UserListMembershipStatusEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListMembershipStatusEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListMembershipStatusEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListMembershipStatusEnum)(nil), "google.ads.googleads.v0.enums.UserListMembershipStatusEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserListMembershipStatusEnum_UserListMembershipStatus", UserListMembershipStatusEnum_UserListMembershipStatus_name, UserListMembershipStatusEnum_UserListMembershipStatus_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_list_membership_status.proto", fileDescriptor_user_list_membership_status_d983670b77875dec) +} + +var fileDescriptor_user_list_membership_status_d983670b77875dec = []byte{ + // 277 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0x83, 0x30, + 0x18, 0xc7, 0xa7, 0x1d, 0xdd, 0x48, 0x0f, 0x13, 0x4f, 0x3b, 0xcc, 0xc3, 0xfa, 0x00, 0x51, 0xd8, + 0x71, 0x87, 0xa1, 0xad, 0x2b, 0x65, 0x5d, 0x14, 0xc4, 0x0e, 0x86, 0x20, 0x76, 0x86, 0x4c, 0xd0, + 0x44, 0xf2, 0xc5, 0x3e, 0xd0, 0x8e, 0x7b, 0x94, 0x1d, 0xf6, 0x4c, 0xc3, 0xb8, 0x7a, 0xb3, 0x97, + 0xf0, 0x87, 0x1f, 0xdf, 0xef, 0xcb, 0xff, 0x43, 0x4f, 0x4c, 0x08, 0x56, 0x53, 0xb7, 0x28, 0xc1, + 0x1d, 0x62, 0x9f, 0x8e, 0x9e, 0x4b, 0x79, 0xd7, 0x80, 0xdb, 0x01, 0x95, 0x79, 0x5d, 0x81, 0xca, + 0x1b, 0xda, 0x1c, 0xa8, 0x84, 0xcf, 0xaa, 0xcd, 0x41, 0x15, 0xaa, 0x03, 0xdc, 0x4a, 0xa1, 0x84, + 0xed, 0x0c, 0x53, 0xb8, 0x28, 0x01, 0x8f, 0x02, 0x7c, 0xf4, 0xb0, 0x16, 0x2c, 0x39, 0xba, 0x4b, + 0x81, 0xca, 0x5d, 0x05, 0xea, 0x75, 0x34, 0x24, 0x5a, 0x10, 0xf2, 0xae, 0x59, 0x12, 0x74, 0x3b, + 0xc5, 0xed, 0x1b, 0xb4, 0x48, 0x49, 0x12, 0x87, 0xab, 0xed, 0xf3, 0x36, 0x5c, 0x5b, 0x17, 0xf6, + 0x02, 0x5d, 0xa5, 0xe4, 0x85, 0x44, 0x6f, 0xc4, 0x32, 0xec, 0x6b, 0x74, 0x19, 0xc5, 0x21, 0xb1, + 0x4c, 0x1b, 0xa1, 0xf9, 0x6a, 0x17, 0x25, 0xe1, 0xda, 0x9a, 0x05, 0xbf, 0x06, 0xba, 0xff, 0x10, + 0x0d, 0x3e, 0xfb, 0xab, 0xc0, 0x99, 0xda, 0x19, 0xf7, 0x9d, 0x62, 0xe3, 0x3d, 0xf8, 0x9f, 0x67, + 0xa2, 0x2e, 0x38, 0xc3, 0x42, 0x32, 0x97, 0x51, 0xae, 0x1b, 0x9f, 0xce, 0xd4, 0x56, 0x30, 0x71, + 0xb5, 0x47, 0xfd, 0x7e, 0x99, 0xb3, 0x8d, 0xef, 0x7f, 0x9b, 0xce, 0x66, 0x50, 0xf9, 0x25, 0xe0, + 0x21, 0xf6, 0x69, 0xef, 0xe1, 0xbe, 0x3f, 0xfc, 0x9c, 0x78, 0xe6, 0x97, 0x90, 0x8d, 0x3c, 0xdb, + 0x7b, 0x99, 0xe6, 0x87, 0xb9, 0x5e, 0xfa, 0xf0, 0x17, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x02, 0x88, + 0xc1, 0xa9, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_size_range.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_size_range.pb.go new file mode 100644 index 000000000..8bbe2b001 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_size_range.pb.go @@ -0,0 +1,183 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_list_size_range.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing possible user list size ranges. +type UserListSizeRangeEnum_UserListSizeRange int32 + +const ( + // Not specified. + UserListSizeRangeEnum_UNSPECIFIED UserListSizeRangeEnum_UserListSizeRange = 0 + // Used for return value only. Represents value unknown in this version. + UserListSizeRangeEnum_UNKNOWN UserListSizeRangeEnum_UserListSizeRange = 1 + // User list has less than 500 users. + UserListSizeRangeEnum_LESS_THAN_FIVE_HUNDRED UserListSizeRangeEnum_UserListSizeRange = 2 + // User list has number of users in range of 500 to 1000. + UserListSizeRangeEnum_LESS_THAN_ONE_THOUSAND UserListSizeRangeEnum_UserListSizeRange = 3 + // User list has number of users in range of 1000 to 10000. + UserListSizeRangeEnum_ONE_THOUSAND_TO_TEN_THOUSAND UserListSizeRangeEnum_UserListSizeRange = 4 + // User list has number of users in range of 10000 to 50000. + UserListSizeRangeEnum_TEN_THOUSAND_TO_FIFTY_THOUSAND UserListSizeRangeEnum_UserListSizeRange = 5 + // User list has number of users in range of 50000 to 100000. + UserListSizeRangeEnum_FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND UserListSizeRangeEnum_UserListSizeRange = 6 + // User list has number of users in range of 100000 to 300000. + UserListSizeRangeEnum_ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND UserListSizeRangeEnum_UserListSizeRange = 7 + // User list has number of users in range of 300000 to 500000. + UserListSizeRangeEnum_THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND UserListSizeRangeEnum_UserListSizeRange = 8 + // User list has number of users in range of 500000 to 1 million. + UserListSizeRangeEnum_FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION UserListSizeRangeEnum_UserListSizeRange = 9 + // User list has number of users in range of 1 to 2 millions. + UserListSizeRangeEnum_ONE_MILLION_TO_TWO_MILLION UserListSizeRangeEnum_UserListSizeRange = 10 + // User list has number of users in range of 2 to 3 millions. + UserListSizeRangeEnum_TWO_MILLION_TO_THREE_MILLION UserListSizeRangeEnum_UserListSizeRange = 11 + // User list has number of users in range of 3 to 5 millions. + UserListSizeRangeEnum_THREE_MILLION_TO_FIVE_MILLION UserListSizeRangeEnum_UserListSizeRange = 12 + // User list has number of users in range of 5 to 10 millions. + UserListSizeRangeEnum_FIVE_MILLION_TO_TEN_MILLION UserListSizeRangeEnum_UserListSizeRange = 13 + // User list has number of users in range of 10 to 20 millions. + UserListSizeRangeEnum_TEN_MILLION_TO_TWENTY_MILLION UserListSizeRangeEnum_UserListSizeRange = 14 + // User list has number of users in range of 20 to 30 millions. + UserListSizeRangeEnum_TWENTY_MILLION_TO_THIRTY_MILLION UserListSizeRangeEnum_UserListSizeRange = 15 + // User list has number of users in range of 30 to 50 millions. + UserListSizeRangeEnum_THIRTY_MILLION_TO_FIFTY_MILLION UserListSizeRangeEnum_UserListSizeRange = 16 + // User list has over 50 million users. + UserListSizeRangeEnum_OVER_FIFTY_MILLION UserListSizeRangeEnum_UserListSizeRange = 17 +) + +var UserListSizeRangeEnum_UserListSizeRange_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "LESS_THAN_FIVE_HUNDRED", + 3: "LESS_THAN_ONE_THOUSAND", + 4: "ONE_THOUSAND_TO_TEN_THOUSAND", + 5: "TEN_THOUSAND_TO_FIFTY_THOUSAND", + 6: "FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND", + 7: "ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND", + 8: "THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND", + 9: "FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION", + 10: "ONE_MILLION_TO_TWO_MILLION", + 11: "TWO_MILLION_TO_THREE_MILLION", + 12: "THREE_MILLION_TO_FIVE_MILLION", + 13: "FIVE_MILLION_TO_TEN_MILLION", + 14: "TEN_MILLION_TO_TWENTY_MILLION", + 15: "TWENTY_MILLION_TO_THIRTY_MILLION", + 16: "THIRTY_MILLION_TO_FIFTY_MILLION", + 17: "OVER_FIFTY_MILLION", +} +var UserListSizeRangeEnum_UserListSizeRange_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "LESS_THAN_FIVE_HUNDRED": 2, + "LESS_THAN_ONE_THOUSAND": 3, + "ONE_THOUSAND_TO_TEN_THOUSAND": 4, + "TEN_THOUSAND_TO_FIFTY_THOUSAND": 5, + "FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND": 6, + "ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND": 7, + "THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND": 8, + "FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION": 9, + "ONE_MILLION_TO_TWO_MILLION": 10, + "TWO_MILLION_TO_THREE_MILLION": 11, + "THREE_MILLION_TO_FIVE_MILLION": 12, + "FIVE_MILLION_TO_TEN_MILLION": 13, + "TEN_MILLION_TO_TWENTY_MILLION": 14, + "TWENTY_MILLION_TO_THIRTY_MILLION": 15, + "THIRTY_MILLION_TO_FIFTY_MILLION": 16, + "OVER_FIFTY_MILLION": 17, +} + +func (x UserListSizeRangeEnum_UserListSizeRange) String() string { + return proto.EnumName(UserListSizeRangeEnum_UserListSizeRange_name, int32(x)) +} +func (UserListSizeRangeEnum_UserListSizeRange) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_size_range_66b8c4cb6c2c03b0, []int{0, 0} +} + +// Size range in terms of number of users of a UserList. +type UserListSizeRangeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListSizeRangeEnum) Reset() { *m = UserListSizeRangeEnum{} } +func (m *UserListSizeRangeEnum) String() string { return proto.CompactTextString(m) } +func (*UserListSizeRangeEnum) ProtoMessage() {} +func (*UserListSizeRangeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_size_range_66b8c4cb6c2c03b0, []int{0} +} +func (m *UserListSizeRangeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListSizeRangeEnum.Unmarshal(m, b) +} +func (m *UserListSizeRangeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListSizeRangeEnum.Marshal(b, m, deterministic) +} +func (dst *UserListSizeRangeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListSizeRangeEnum.Merge(dst, src) +} +func (m *UserListSizeRangeEnum) XXX_Size() int { + return xxx_messageInfo_UserListSizeRangeEnum.Size(m) +} +func (m *UserListSizeRangeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListSizeRangeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListSizeRangeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListSizeRangeEnum)(nil), "google.ads.googleads.v0.enums.UserListSizeRangeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserListSizeRangeEnum_UserListSizeRange", UserListSizeRangeEnum_UserListSizeRange_name, UserListSizeRangeEnum_UserListSizeRange_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_list_size_range.proto", fileDescriptor_user_list_size_range_66b8c4cb6c2c03b0) +} + +var fileDescriptor_user_list_size_range_66b8c4cb6c2c03b0 = []byte{ + // 469 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x86, 0x49, 0x7a, 0x83, 0x13, 0xa0, 0xee, 0x91, 0xc8, 0xa2, 0x90, 0x5e, 0x42, 0x85, 0x10, + 0x8b, 0x71, 0x44, 0x37, 0x48, 0xac, 0x1c, 0x32, 0x69, 0x2c, 0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xae, 0x43, 0xf1, 0x8f, 0x75, 0x7a, 0x9f, 0x7e, 0xbf, + 0xb7, 0xb7, 0x2e, 0x34, 0xed, 0x47, 0xbb, 0x77, 0x91, 0x1d, 0xa5, 0x79, 0x82, 0x64, 0xa5, 0xac, + 0xdc, 0x01, 0x91, 0x5b, 0x22, 0x7e, 0xe5, 0xfe, 0x5c, 0xf3, 0xc4, 0xbc, 0xf0, 0xe7, 0xee, 0x60, + 0x9e, 0xfa, 0x5f, 0x76, 0xd3, 0x4b, 0xcf, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xff, 0xcb, 0xe4, + 0xf3, 0xc2, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_type.pb.go new file mode 100644 index 000000000..581590059 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/enums/user_list_type.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/enums/user_list_type.proto + +package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum containing possible user list types. +type UserListTypeEnum_UserListType int32 + +const ( + // Not specified. + UserListTypeEnum_UNSPECIFIED UserListTypeEnum_UserListType = 0 + // Used for return value only. Represents value unknown in this version. + UserListTypeEnum_UNKNOWN UserListTypeEnum_UserListType = 1 + // UserList represented as a collection of conversion types. + UserListTypeEnum_REMARKETING UserListTypeEnum_UserListType = 2 + // UserList represented as a combination of other user lists/interests. + UserListTypeEnum_LOGICAL UserListTypeEnum_UserListType = 3 + // UserList created in the Google Ad Manager platform. + UserListTypeEnum_EXTERNAL_REMARKETING UserListTypeEnum_UserListType = 4 + // UserList associated with a rule. + UserListTypeEnum_RULE_BASED UserListTypeEnum_UserListType = 5 + // UserList with users similar to users of another UserList. + UserListTypeEnum_SIMILAR UserListTypeEnum_UserListType = 6 + // UserList of first party CRM data provided by advertiser in the form of + // emails or other formats. + UserListTypeEnum_CRM_BASED UserListTypeEnum_UserListType = 7 +) + +var UserListTypeEnum_UserListType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "REMARKETING", + 3: "LOGICAL", + 4: "EXTERNAL_REMARKETING", + 5: "RULE_BASED", + 6: "SIMILAR", + 7: "CRM_BASED", +} +var UserListTypeEnum_UserListType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "REMARKETING": 2, + "LOGICAL": 3, + "EXTERNAL_REMARKETING": 4, + "RULE_BASED": 5, + "SIMILAR": 6, + "CRM_BASED": 7, +} + +func (x UserListTypeEnum_UserListType) String() string { + return proto.EnumName(UserListTypeEnum_UserListType_name, int32(x)) +} +func (UserListTypeEnum_UserListType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_type_33358370125a2b4a, []int{0, 0} +} + +// The user list types. +type UserListTypeEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListTypeEnum) Reset() { *m = UserListTypeEnum{} } +func (m *UserListTypeEnum) String() string { return proto.CompactTextString(m) } +func (*UserListTypeEnum) ProtoMessage() {} +func (*UserListTypeEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_type_33358370125a2b4a, []int{0} +} +func (m *UserListTypeEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListTypeEnum.Unmarshal(m, b) +} +func (m *UserListTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListTypeEnum.Marshal(b, m, deterministic) +} +func (dst *UserListTypeEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListTypeEnum.Merge(dst, src) +} +func (m *UserListTypeEnum) XXX_Size() int { + return xxx_messageInfo_UserListTypeEnum.Size(m) +} +func (m *UserListTypeEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListTypeEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListTypeEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListTypeEnum)(nil), "google.ads.googleads.v0.enums.UserListTypeEnum") + proto.RegisterEnum("google.ads.googleads.v0.enums.UserListTypeEnum_UserListType", UserListTypeEnum_UserListType_name, UserListTypeEnum_UserListType_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/enums/user_list_type.proto", fileDescriptor_user_list_type_33358370125a2b4a) +} + +var fileDescriptor_user_list_type_33358370125a2b4a = []byte{ + // 321 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4f, 0xc2, 0x30, + 0x18, 0xc6, 0x1d, 0x28, 0xc4, 0xe2, 0x9f, 0xba, 0x78, 0xf0, 0xc2, 0x41, 0x3e, 0x40, 0xb7, 0xe8, + 0xd1, 0x53, 0x07, 0x75, 0x59, 0x28, 0x85, 0x14, 0x86, 0xc6, 0x2c, 0x59, 0xd0, 0x35, 0x0d, 0x09, + 0xac, 0xcb, 0x3a, 0x48, 0xf8, 0x16, 0x7e, 0x06, 0x13, 0x2f, 0x7e, 0x0c, 0x8f, 0x7e, 0x2a, 0xd3, + 0x0d, 0x08, 0x17, 0xbd, 0x34, 0x4f, 0xfa, 0x7b, 0x9f, 0xf6, 0x7d, 0x1e, 0x70, 0x27, 0x95, 0x92, + 0x0b, 0xe1, 0xcc, 0x12, 0xed, 0x54, 0xd2, 0xa8, 0xb5, 0xeb, 0x88, 0x74, 0xb5, 0xd4, 0xce, 0x4a, + 0x8b, 0x3c, 0x5e, 0xcc, 0x75, 0x11, 0x17, 0x9b, 0x4c, 0xa0, 0x2c, 0x57, 0x85, 0xb2, 0xdb, 0xd5, + 0x20, 0x9a, 0x25, 0x1a, 0xed, 0x3d, 0x68, 0xed, 0xa2, 0xd2, 0xd3, 0xf9, 0xb4, 0x00, 0x0c, 0xb5, + 0xc8, 0xe9, 0x5c, 0x17, 0x93, 0x4d, 0x26, 0x48, 0xba, 0x5a, 0x76, 0xde, 0x2d, 0x70, 0x76, 0x78, + 0x69, 0x5f, 0x82, 0x56, 0xc8, 0xc6, 0x23, 0xd2, 0x0d, 0x1e, 0x03, 0xd2, 0x83, 0x47, 0x76, 0x0b, + 0x34, 0x43, 0xd6, 0x67, 0xc3, 0x27, 0x06, 0x2d, 0x43, 0x39, 0x19, 0x60, 0xde, 0x27, 0x93, 0x80, + 0xf9, 0xb0, 0x66, 0x28, 0x1d, 0xfa, 0x41, 0x17, 0x53, 0x58, 0xb7, 0x6f, 0xc0, 0x35, 0x79, 0x9e, + 0x10, 0xce, 0x30, 0x8d, 0x0f, 0xc7, 0x8e, 0xed, 0x0b, 0x00, 0x78, 0x48, 0x49, 0xec, 0xe1, 0x31, + 0xe9, 0xc1, 0x13, 0x63, 0x1b, 0x07, 0x83, 0x80, 0x62, 0x0e, 0x1b, 0xf6, 0x39, 0x38, 0xed, 0xf2, + 0xc1, 0x96, 0x35, 0xbd, 0x6f, 0x0b, 0xdc, 0xbe, 0xa9, 0x25, 0xfa, 0x37, 0x8d, 0x77, 0x75, 0xb8, + 0xf5, 0xc8, 0xe4, 0x1f, 0x59, 0x2f, 0xde, 0xd6, 0x23, 0xd5, 0x62, 0x96, 0x4a, 0xa4, 0x72, 0xe9, + 0x48, 0x91, 0x96, 0xed, 0xec, 0x5a, 0xcc, 0xe6, 0xfa, 0x8f, 0x52, 0x1f, 0xca, 0xf3, 0xa3, 0x56, + 0xf7, 0x31, 0xfe, 0xaa, 0xb5, 0xfd, 0xea, 0x29, 0x9c, 0x68, 0x54, 0x49, 0xa3, 0xa6, 0x2e, 0x32, + 0xb5, 0xe9, 0x9f, 0x1d, 0x8f, 0x70, 0xa2, 0xa3, 0x3d, 0x8f, 0xa6, 0x6e, 0x54, 0xf2, 0xd7, 0x46, + 0xf9, 0xe9, 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xc0, 0x85, 0x5b, 0xc8, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/account_budget_proposal_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/account_budget_proposal_error.pb.go new file mode 100644 index 000000000..27cc1f925 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/account_budget_proposal_error.pb.go @@ -0,0 +1,222 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/account_budget_proposal_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible account budget proposal errors. +type AccountBudgetProposalErrorEnum_AccountBudgetProposalError int32 + +const ( + // Enum unspecified. + AccountBudgetProposalErrorEnum_UNSPECIFIED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 0 + // The received error code is not known in this version. + AccountBudgetProposalErrorEnum_UNKNOWN AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 1 + // The field mask must be empty for create/end/remove proposals. + AccountBudgetProposalErrorEnum_FIELD_MASK_NOT_ALLOWED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 2 + // The field cannot be set because of the proposal type. + AccountBudgetProposalErrorEnum_IMMUTABLE_FIELD AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 3 + // The field is required because of the proposal type. + AccountBudgetProposalErrorEnum_REQUIRED_FIELD_MISSING AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 4 + // Proposals that have been approved cannot be cancelled. + AccountBudgetProposalErrorEnum_CANNOT_CANCEL_APPROVED_PROPOSAL AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 5 + // Budgets that haven't been approved cannot be removed. + AccountBudgetProposalErrorEnum_CANNOT_REMOVE_UNAPPROVED_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 6 + // Budgets that are currently running cannot be removed. + AccountBudgetProposalErrorEnum_CANNOT_REMOVE_RUNNING_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 7 + // Budgets that haven't been approved cannot be truncated. + AccountBudgetProposalErrorEnum_CANNOT_END_UNAPPROVED_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 8 + // Only budgets that are currently running can be truncated. + AccountBudgetProposalErrorEnum_CANNOT_END_INACTIVE_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 9 + // All budgets must have names. + AccountBudgetProposalErrorEnum_BUDGET_NAME_REQUIRED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 10 + // Expired budgets cannot be edited after a sufficient amount of time has + // passed. + AccountBudgetProposalErrorEnum_CANNOT_UPDATE_OLD_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 11 + // It is not permissible a propose a new budget that ends in the past. + AccountBudgetProposalErrorEnum_CANNOT_END_IN_PAST AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 12 + // An expired budget cannot be extended to overlap with the running budget. + AccountBudgetProposalErrorEnum_CANNOT_EXTEND_END_TIME AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 13 + // A purchase order number is required. + AccountBudgetProposalErrorEnum_PURCHASE_ORDER_NUMBER_REQUIRED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 14 + // Budgets that have a pending update cannot be updated. + AccountBudgetProposalErrorEnum_PENDING_UPDATE_PROPOSAL_EXISTS AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 15 + // Cannot propose more than one budget when the corresponding billing setup + // hasn't been approved. + AccountBudgetProposalErrorEnum_MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 16 + // Cannot update the start time of a budget that has already started. + AccountBudgetProposalErrorEnum_CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 17 + // Cannot update the spending limit of a budget with an amount lower than + // what has already been spent. + AccountBudgetProposalErrorEnum_SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 18 + // Cannot propose a budget update without actually changing any fields. + AccountBudgetProposalErrorEnum_UPDATE_IS_NO_OP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 19 + // The end time must come after the start time. + AccountBudgetProposalErrorEnum_END_TIME_MUST_FOLLOW_START_TIME AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 20 + // The budget's date range must fall within the date range of its billing + // setup. + AccountBudgetProposalErrorEnum_BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 21 + // The user is not authorized to mutate budgets for the given billing setup. + AccountBudgetProposalErrorEnum_NOT_AUTHORIZED AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 22 + // Mutates are not allowed for the given billing setup. + AccountBudgetProposalErrorEnum_INVALID_BILLING_SETUP AccountBudgetProposalErrorEnum_AccountBudgetProposalError = 23 +) + +var AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "FIELD_MASK_NOT_ALLOWED", + 3: "IMMUTABLE_FIELD", + 4: "REQUIRED_FIELD_MISSING", + 5: "CANNOT_CANCEL_APPROVED_PROPOSAL", + 6: "CANNOT_REMOVE_UNAPPROVED_BUDGET", + 7: "CANNOT_REMOVE_RUNNING_BUDGET", + 8: "CANNOT_END_UNAPPROVED_BUDGET", + 9: "CANNOT_END_INACTIVE_BUDGET", + 10: "BUDGET_NAME_REQUIRED", + 11: "CANNOT_UPDATE_OLD_BUDGET", + 12: "CANNOT_END_IN_PAST", + 13: "CANNOT_EXTEND_END_TIME", + 14: "PURCHASE_ORDER_NUMBER_REQUIRED", + 15: "PENDING_UPDATE_PROPOSAL_EXISTS", + 16: "MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP", + 17: "CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET", + 18: "SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED", + 19: "UPDATE_IS_NO_OP", + 20: "END_TIME_MUST_FOLLOW_START_TIME", + 21: "BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP", + 22: "NOT_AUTHORIZED", + 23: "INVALID_BILLING_SETUP", +} +var AccountBudgetProposalErrorEnum_AccountBudgetProposalError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FIELD_MASK_NOT_ALLOWED": 2, + "IMMUTABLE_FIELD": 3, + "REQUIRED_FIELD_MISSING": 4, + "CANNOT_CANCEL_APPROVED_PROPOSAL": 5, + "CANNOT_REMOVE_UNAPPROVED_BUDGET": 6, + "CANNOT_REMOVE_RUNNING_BUDGET": 7, + "CANNOT_END_UNAPPROVED_BUDGET": 8, + "CANNOT_END_INACTIVE_BUDGET": 9, + "BUDGET_NAME_REQUIRED": 10, + "CANNOT_UPDATE_OLD_BUDGET": 11, + "CANNOT_END_IN_PAST": 12, + "CANNOT_EXTEND_END_TIME": 13, + "PURCHASE_ORDER_NUMBER_REQUIRED": 14, + "PENDING_UPDATE_PROPOSAL_EXISTS": 15, + "MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP": 16, + "CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET": 17, + "SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED": 18, + "UPDATE_IS_NO_OP": 19, + "END_TIME_MUST_FOLLOW_START_TIME": 20, + "BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP": 21, + "NOT_AUTHORIZED": 22, + "INVALID_BILLING_SETUP": 23, +} + +func (x AccountBudgetProposalErrorEnum_AccountBudgetProposalError) String() string { + return proto.EnumName(AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name, int32(x)) +} +func (AccountBudgetProposalErrorEnum_AccountBudgetProposalError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_error_c86ef659348a5c67, []int{0, 0} +} + +// Container for enum describing possible account budget proposal errors. +type AccountBudgetProposalErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudgetProposalErrorEnum) Reset() { *m = AccountBudgetProposalErrorEnum{} } +func (m *AccountBudgetProposalErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AccountBudgetProposalErrorEnum) ProtoMessage() {} +func (*AccountBudgetProposalErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_error_c86ef659348a5c67, []int{0} +} +func (m *AccountBudgetProposalErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudgetProposalErrorEnum.Unmarshal(m, b) +} +func (m *AccountBudgetProposalErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudgetProposalErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AccountBudgetProposalErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudgetProposalErrorEnum.Merge(dst, src) +} +func (m *AccountBudgetProposalErrorEnum) XXX_Size() int { + return xxx_messageInfo_AccountBudgetProposalErrorEnum.Size(m) +} +func (m *AccountBudgetProposalErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudgetProposalErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudgetProposalErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AccountBudgetProposalErrorEnum)(nil), "google.ads.googleads.v0.errors.AccountBudgetProposalErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AccountBudgetProposalErrorEnum_AccountBudgetProposalError", AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name, AccountBudgetProposalErrorEnum_AccountBudgetProposalError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/account_budget_proposal_error.proto", fileDescriptor_account_budget_proposal_error_c86ef659348a5c67) +} + +var fileDescriptor_account_budget_proposal_error_c86ef659348a5c67 = []byte{ + // 648 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0x5d, 0x6f, 0xd3, 0x3c, + 0x14, 0x7e, 0xb7, 0xbd, 0x6f, 0xf7, 0xe2, 0xc1, 0x66, 0xbc, 0x0f, 0xc6, 0x34, 0x75, 0xa8, 0x5c, + 0x22, 0xa5, 0x05, 0x04, 0x12, 0x42, 0x5c, 0xb8, 0xc9, 0x69, 0x6b, 0x2d, 0xb1, 0x8d, 0x3f, 0xba, + 0x69, 0xaa, 0x64, 0x75, 0x6b, 0x55, 0x21, 0x6d, 0x4d, 0xd5, 0x6c, 0xfb, 0x41, 0x5c, 0x72, 0xc7, + 0xdf, 0xe0, 0x1a, 0xfe, 0x0f, 0x72, 0xd2, 0x74, 0xed, 0xc4, 0xb8, 0x88, 0x72, 0x92, 0xf3, 0x3c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0x00, 0x9c, 0x57, 0xf2, 0xc0, 0x6f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, + 0x48, 0xff, 0xc4, 0xda, 0x9b, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_customizer_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_customizer_error.pb.go new file mode 100644 index 000000000..249ced178 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_customizer_error.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_customizer_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad customizer errors. +type AdCustomizerErrorEnum_AdCustomizerError int32 + +const ( + // Enum unspecified. + AdCustomizerErrorEnum_UNSPECIFIED AdCustomizerErrorEnum_AdCustomizerError = 0 + // The received error code is not known in this version. + AdCustomizerErrorEnum_UNKNOWN AdCustomizerErrorEnum_AdCustomizerError = 1 + // Invalid date argument in countdown function. + AdCustomizerErrorEnum_COUNTDOWN_INVALID_DATE_FORMAT AdCustomizerErrorEnum_AdCustomizerError = 2 + // Countdown end date is in the past. + AdCustomizerErrorEnum_COUNTDOWN_DATE_IN_PAST AdCustomizerErrorEnum_AdCustomizerError = 3 + // Invalid locale string in countdown function. + AdCustomizerErrorEnum_COUNTDOWN_INVALID_LOCALE AdCustomizerErrorEnum_AdCustomizerError = 4 + // Days-before argument to countdown function is not positive. + AdCustomizerErrorEnum_COUNTDOWN_INVALID_START_DAYS_BEFORE AdCustomizerErrorEnum_AdCustomizerError = 5 + // A user list referenced in an IF function does not exist. + AdCustomizerErrorEnum_UNKNOWN_USER_LIST AdCustomizerErrorEnum_AdCustomizerError = 6 +) + +var AdCustomizerErrorEnum_AdCustomizerError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "COUNTDOWN_INVALID_DATE_FORMAT", + 3: "COUNTDOWN_DATE_IN_PAST", + 4: "COUNTDOWN_INVALID_LOCALE", + 5: "COUNTDOWN_INVALID_START_DAYS_BEFORE", + 6: "UNKNOWN_USER_LIST", +} +var AdCustomizerErrorEnum_AdCustomizerError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "COUNTDOWN_INVALID_DATE_FORMAT": 2, + "COUNTDOWN_DATE_IN_PAST": 3, + "COUNTDOWN_INVALID_LOCALE": 4, + "COUNTDOWN_INVALID_START_DAYS_BEFORE": 5, + "UNKNOWN_USER_LIST": 6, +} + +func (x AdCustomizerErrorEnum_AdCustomizerError) String() string { + return proto.EnumName(AdCustomizerErrorEnum_AdCustomizerError_name, int32(x)) +} +func (AdCustomizerErrorEnum_AdCustomizerError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_customizer_error_d214061e54f1882d, []int{0, 0} +} + +// Container for enum describing possible ad customizer errors. +type AdCustomizerErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdCustomizerErrorEnum) Reset() { *m = AdCustomizerErrorEnum{} } +func (m *AdCustomizerErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdCustomizerErrorEnum) ProtoMessage() {} +func (*AdCustomizerErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_customizer_error_d214061e54f1882d, []int{0} +} +func (m *AdCustomizerErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdCustomizerErrorEnum.Unmarshal(m, b) +} +func (m *AdCustomizerErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdCustomizerErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdCustomizerErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdCustomizerErrorEnum.Merge(dst, src) +} +func (m *AdCustomizerErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdCustomizerErrorEnum.Size(m) +} +func (m *AdCustomizerErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdCustomizerErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdCustomizerErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdCustomizerErrorEnum)(nil), "google.ads.googleads.v0.errors.AdCustomizerErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdCustomizerErrorEnum_AdCustomizerError", AdCustomizerErrorEnum_AdCustomizerError_name, AdCustomizerErrorEnum_AdCustomizerError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_customizer_error.proto", fileDescriptor_ad_customizer_error_d214061e54f1882d) +} + +var fileDescriptor_ad_customizer_error_d214061e54f1882d = []byte{ + // 349 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6a, 0xea, 0x40, + 0x14, 0x86, 0x6f, 0xf4, 0x5e, 0x2f, 0x8c, 0x8b, 0x1b, 0x07, 0x94, 0x4b, 0x69, 0x85, 0xda, 0x45, + 0x77, 0x93, 0x40, 0x37, 0x85, 0xae, 0xc6, 0x64, 0x94, 0xd0, 0x74, 0x12, 0x92, 0x89, 0xd2, 0x12, + 0x18, 0x52, 0x13, 0x82, 0xa0, 0x8e, 0x64, 0xd4, 0x45, 0x1f, 0xa7, 0xcb, 0x3e, 0x4a, 0x29, 0x7d, + 0x8e, 0x3e, 0x46, 0x49, 0x46, 0xed, 0x22, 0xb4, 0xab, 0xf9, 0x39, 0xe7, 0xff, 0xe6, 0xcc, 0xfc, + 0x07, 0x5c, 0xe7, 0x42, 0xe4, 0x8b, 0xcc, 0x48, 0x52, 0x69, 0x28, 0x59, 0xaa, 0x9d, 0x69, 0x64, + 0x45, 0x21, 0x0a, 0x69, 0x24, 0x29, 0x9f, 0x6d, 0xe5, 0x46, 0x2c, 0xe7, 0x4f, 0x59, 0xc1, 0xab, + 0x22, 0x5a, 0x17, 0x62, 0x23, 0x60, 0x5f, 0xd9, 0x51, 0x92, 0x4a, 0x74, 0x24, 0xd1, 0xce, 0x44, + 0x8a, 0x1c, 0x7c, 0x68, 0xa0, 0x8b, 0x53, 0xeb, 0x08, 0x93, 0xb2, 0x4c, 0x56, 0xdb, 0xe5, 0xe0, + 0x5d, 0x03, 0x9d, 0x5a, 0x07, 0xfe, 0x03, 0xed, 0x88, 0x86, 0x3e, 0xb1, 0x9c, 0x91, 0x43, 0x6c, + 0xfd, 0x17, 0x6c, 0x83, 0xbf, 0x11, 0xbd, 0xa5, 0xde, 0x94, 0xea, 0x1a, 0x3c, 0x07, 0x67, 0x96, + 0x17, 0x51, 0x66, 0x7b, 0x53, 0xca, 0x1d, 0x3a, 0xc1, 0xae, 0x63, 0x73, 0x1b, 0x33, 0xc2, 0x47, + 0x5e, 0x70, 0x87, 0x99, 0xde, 0x80, 0x27, 0xa0, 0xf7, 0x65, 0xa9, 0x5a, 0x0e, 0xe5, 0x3e, 0x0e, + 0x99, 0xde, 0x84, 0xa7, 0xe0, 0x7f, 0x1d, 0x77, 0x3d, 0x0b, 0xbb, 0x44, 0xff, 0x0d, 0x2f, 0xc1, + 0x45, 0xbd, 0x1b, 0x32, 0x1c, 0x30, 0x6e, 0xe3, 0xfb, 0x90, 0x0f, 0xc9, 0xc8, 0x0b, 0x88, 0xfe, + 0x07, 0x76, 0x41, 0x67, 0xff, 0x24, 0x1e, 0x85, 0x24, 0xe0, 0xae, 0x13, 0x32, 0xbd, 0x35, 0x7c, + 0xd3, 0xc0, 0x60, 0x26, 0x96, 0xe8, 0xe7, 0x44, 0x86, 0xbd, 0xda, 0xa7, 0xfd, 0x32, 0x49, 0x5f, + 0x7b, 0xb0, 0xf7, 0x64, 0x2e, 0x16, 0xc9, 0x2a, 0x47, 0xa2, 0xc8, 0x8d, 0x3c, 0x5b, 0x55, 0x39, + 0x1f, 0xb6, 0xb2, 0x9e, 0xcb, 0xef, 0x96, 0x74, 0xa3, 0x8e, 0xe7, 0x46, 0x73, 0x8c, 0xf1, 0x4b, + 0xa3, 0x3f, 0x56, 0x97, 0xe1, 0x54, 0x22, 0x25, 0x4b, 0x35, 0x31, 0x51, 0x35, 0x52, 0xbe, 0x1e, + 0x0c, 0x31, 0x4e, 0x65, 0x7c, 0x34, 0xc4, 0x13, 0x33, 0x56, 0x86, 0xc7, 0x56, 0x35, 0xf8, 0xea, + 0x33, 0x00, 0x00, 0xff, 0xff, 0x20, 0xba, 0x61, 0xed, 0x1c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_error.pb.go new file mode 100644 index 000000000..3e7826428 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_error.pb.go @@ -0,0 +1,754 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad errors. +type AdErrorEnum_AdError int32 + +const ( + // Enum unspecified. + AdErrorEnum_UNSPECIFIED AdErrorEnum_AdError = 0 + // The received error code is not known in this version. + AdErrorEnum_UNKNOWN AdErrorEnum_AdError = 1 + // Ad customizers are not supported for ad type. + AdErrorEnum_AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE AdErrorEnum_AdError = 2 + // Estimating character sizes the string is too long. + AdErrorEnum_APPROXIMATELY_TOO_LONG AdErrorEnum_AdError = 3 + // Estimating character sizes the string is too short. + AdErrorEnum_APPROXIMATELY_TOO_SHORT AdErrorEnum_AdError = 4 + // There is a problem with the snippet. + AdErrorEnum_BAD_SNIPPET AdErrorEnum_AdError = 5 + // Cannot modify an ad. + AdErrorEnum_CANNOT_MODIFY_AD AdErrorEnum_AdError = 6 + // business name and url cannot be set at the same time + AdErrorEnum_CANNOT_SET_BUSINESS_NAME_IF_URL_SET AdErrorEnum_AdError = 7 + // The specified field is incompatible with this ad's type or settings. + AdErrorEnum_CANNOT_SET_FIELD AdErrorEnum_AdError = 8 + // Cannot set field when originAdId is set. + AdErrorEnum_CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET AdErrorEnum_AdError = 9 + // Cannot set field when an existing ad id is set for sharing. + AdErrorEnum_CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING AdErrorEnum_AdError = 10 + // Cannot set allowFlexibleColor false if no color is provided by user. + AdErrorEnum_CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE AdErrorEnum_AdError = 11 + // When user select native, no color control is allowed because we will + // always respect publisher color for native format serving. + AdErrorEnum_CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING AdErrorEnum_AdError = 12 + // Cannot specify a url for the ad type + AdErrorEnum_CANNOT_SET_URL AdErrorEnum_AdError = 13 + // Cannot specify a tracking or mobile url without also setting final urls + AdErrorEnum_CANNOT_SET_WITHOUT_FINAL_URLS AdErrorEnum_AdError = 14 + // Cannot specify a legacy url and a final url simultaneously + AdErrorEnum_CANNOT_SET_WITH_FINAL_URLS AdErrorEnum_AdError = 15 + // Cannot specify a legacy url and a tracking url template simultaneously in + // a DSA. + AdErrorEnum_CANNOT_SET_WITH_TRACKING_URL_TEMPLATE AdErrorEnum_AdError = 16 + // Cannot specify a urls in UrlData and in template fields simultaneously. + AdErrorEnum_CANNOT_SET_WITH_URL_DATA AdErrorEnum_AdError = 17 + // This operator cannot be used with a subclass of Ad. + AdErrorEnum_CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR AdErrorEnum_AdError = 18 + // Customer is not approved for mobile ads. + AdErrorEnum_CUSTOMER_NOT_APPROVED_MOBILEADS AdErrorEnum_AdError = 19 + // Customer is not approved for 3PAS richmedia ads. + AdErrorEnum_CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS AdErrorEnum_AdError = 20 + // Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. + AdErrorEnum_CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS AdErrorEnum_AdError = 21 + // Not an eligible customer + AdErrorEnum_CUSTOMER_NOT_ELIGIBLE AdErrorEnum_AdError = 22 + // Customer is not eligible for updating beacon url + AdErrorEnum_CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL AdErrorEnum_AdError = 23 + // There already exists an ad with the same dimensions in the union. + AdErrorEnum_DIMENSION_ALREADY_IN_UNION AdErrorEnum_AdError = 24 + // Ad's dimension must be set before setting union dimension. + AdErrorEnum_DIMENSION_MUST_BE_SET AdErrorEnum_AdError = 25 + // Ad's dimension must be included in the union dimensions. + AdErrorEnum_DIMENSION_NOT_IN_UNION AdErrorEnum_AdError = 26 + // Display Url cannot be specified (applies to Ad Exchange Ads) + AdErrorEnum_DISPLAY_URL_CANNOT_BE_SPECIFIED AdErrorEnum_AdError = 27 + // Telephone number contains invalid characters or invalid format. Please + // re-enter your number using digits (0-9), dashes (-), and parentheses + // only. + AdErrorEnum_DOMESTIC_PHONE_NUMBER_FORMAT AdErrorEnum_AdError = 28 + // Emergency telephone numbers are not allowed. Please enter a valid + // domestic phone number to connect customers to your business. + AdErrorEnum_EMERGENCY_PHONE_NUMBER AdErrorEnum_AdError = 29 + // A required field was not specified or is an empty string. + AdErrorEnum_EMPTY_FIELD AdErrorEnum_AdError = 30 + // A feed attribute referenced in an ad customizer tag is not in the ad + // customizer mapping for the feed. + AdErrorEnum_FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID AdErrorEnum_AdError = 31 + // The ad customizer field mapping for the feed attribute does not match the + // expected field type. + AdErrorEnum_FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH AdErrorEnum_AdError = 32 + // The use of ad customizer tags in the ad text is disallowed. Details in + // trigger. + AdErrorEnum_ILLEGAL_AD_CUSTOMIZER_TAG_USE AdErrorEnum_AdError = 33 + // Tags of the form {PH_x}, where x is a number, are disallowed in ad text. + AdErrorEnum_ILLEGAL_TAG_USE AdErrorEnum_AdError = 34 + // The dimensions of the ad are specified or derived in multiple ways and + // are not consistent. + AdErrorEnum_INCONSISTENT_DIMENSIONS AdErrorEnum_AdError = 35 + // The status cannot differ among template ads of the same union. + AdErrorEnum_INCONSISTENT_STATUS_IN_TEMPLATE_UNION AdErrorEnum_AdError = 36 + // The length of the string is not valid. + AdErrorEnum_INCORRECT_LENGTH AdErrorEnum_AdError = 37 + // The ad is ineligible for upgrade. + AdErrorEnum_INELIGIBLE_FOR_UPGRADE AdErrorEnum_AdError = 38 + // User cannot create mobile ad for countries targeted in specified + // campaign. + AdErrorEnum_INVALID_AD_ADDRESS_CAMPAIGN_TARGET AdErrorEnum_AdError = 39 + // Invalid Ad type. A specific type of Ad is required. + AdErrorEnum_INVALID_AD_TYPE AdErrorEnum_AdError = 40 + // Headline, description or phone cannot be present when creating mobile + // image ad. + AdErrorEnum_INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE AdErrorEnum_AdError = 41 + // Image cannot be present when creating mobile text ad. + AdErrorEnum_INVALID_ATTRIBUTES_FOR_MOBILE_TEXT AdErrorEnum_AdError = 42 + // Invalid call to action text. + AdErrorEnum_INVALID_CALL_TO_ACTION_TEXT AdErrorEnum_AdError = 43 + // Invalid character in URL. + AdErrorEnum_INVALID_CHARACTER_FOR_URL AdErrorEnum_AdError = 44 + // Creative's country code is not valid. + AdErrorEnum_INVALID_COUNTRY_CODE AdErrorEnum_AdError = 45 + // Invalid use of Dynamic Search Ads tags ({lpurl} etc.) + AdErrorEnum_INVALID_DSA_URL_TAG AdErrorEnum_AdError = 46 + // Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) + AdErrorEnum_INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG AdErrorEnum_AdError = 47 + // An input error whose real reason was not properly mapped (should not + // happen). + AdErrorEnum_INVALID_INPUT AdErrorEnum_AdError = 48 + // An invalid markup language was entered. + AdErrorEnum_INVALID_MARKUP_LANGUAGE AdErrorEnum_AdError = 49 + // An invalid mobile carrier was entered. + AdErrorEnum_INVALID_MOBILE_CARRIER AdErrorEnum_AdError = 50 + // Specified mobile carriers target a country not targeted by the campaign. + AdErrorEnum_INVALID_MOBILE_CARRIER_TARGET AdErrorEnum_AdError = 51 + // Wrong number of elements for given element type + AdErrorEnum_INVALID_NUMBER_OF_ELEMENTS AdErrorEnum_AdError = 52 + // The format of the telephone number is incorrect. Please re-enter the + // number using the correct format. + AdErrorEnum_INVALID_PHONE_NUMBER_FORMAT AdErrorEnum_AdError = 53 + // The certified vendor format id is incorrect. + AdErrorEnum_INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID AdErrorEnum_AdError = 54 + // The template ad data contains validation errors. + AdErrorEnum_INVALID_TEMPLATE_DATA AdErrorEnum_AdError = 55 + // The template field doesn't have have the correct type. + AdErrorEnum_INVALID_TEMPLATE_ELEMENT_FIELD_TYPE AdErrorEnum_AdError = 56 + // Invalid template id. + AdErrorEnum_INVALID_TEMPLATE_ID AdErrorEnum_AdError = 57 + // After substituting replacement strings, the line is too wide. + AdErrorEnum_LINE_TOO_WIDE AdErrorEnum_AdError = 58 + // The feed referenced must have ad customizer mapping to be used in a + // customizer tag. + AdErrorEnum_MISSING_AD_CUSTOMIZER_MAPPING AdErrorEnum_AdError = 59 + // Missing address component in template element address field. + AdErrorEnum_MISSING_ADDRESS_COMPONENT AdErrorEnum_AdError = 60 + // An ad name must be entered. + AdErrorEnum_MISSING_ADVERTISEMENT_NAME AdErrorEnum_AdError = 61 + // Business name must be entered. + AdErrorEnum_MISSING_BUSINESS_NAME AdErrorEnum_AdError = 62 + // Description (line 2) must be entered. + AdErrorEnum_MISSING_DESCRIPTION1 AdErrorEnum_AdError = 63 + // Description (line 3) must be entered. + AdErrorEnum_MISSING_DESCRIPTION2 AdErrorEnum_AdError = 64 + // The destination url must contain at least one tag (e.g. {lpurl}) + AdErrorEnum_MISSING_DESTINATION_URL_TAG AdErrorEnum_AdError = 65 + // The tracking url template of ExpandedDynamicSearchAd must contain at + // least one tag. (e.g. {lpurl}) + AdErrorEnum_MISSING_LANDING_PAGE_URL_TAG AdErrorEnum_AdError = 66 + // A valid dimension must be specified for this ad. + AdErrorEnum_MISSING_DIMENSION AdErrorEnum_AdError = 67 + // A display URL must be entered. + AdErrorEnum_MISSING_DISPLAY_URL AdErrorEnum_AdError = 68 + // Headline must be entered. + AdErrorEnum_MISSING_HEADLINE AdErrorEnum_AdError = 69 + // A height must be entered. + AdErrorEnum_MISSING_HEIGHT AdErrorEnum_AdError = 70 + // An image must be entered. + AdErrorEnum_MISSING_IMAGE AdErrorEnum_AdError = 71 + // Marketing image or product videos are required. + AdErrorEnum_MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS AdErrorEnum_AdError = 72 + // The markup language in which your site is written must be entered. + AdErrorEnum_MISSING_MARKUP_LANGUAGES AdErrorEnum_AdError = 73 + // A mobile carrier must be entered. + AdErrorEnum_MISSING_MOBILE_CARRIER AdErrorEnum_AdError = 74 + // Phone number must be entered. + AdErrorEnum_MISSING_PHONE AdErrorEnum_AdError = 75 + // Missing required template fields + AdErrorEnum_MISSING_REQUIRED_TEMPLATE_FIELDS AdErrorEnum_AdError = 76 + // Missing a required field value + AdErrorEnum_MISSING_TEMPLATE_FIELD_VALUE AdErrorEnum_AdError = 77 + // The ad must have text. + AdErrorEnum_MISSING_TEXT AdErrorEnum_AdError = 78 + // A visible URL must be entered. + AdErrorEnum_MISSING_VISIBLE_URL AdErrorEnum_AdError = 79 + // A width must be entered. + AdErrorEnum_MISSING_WIDTH AdErrorEnum_AdError = 80 + // Only 1 feed can be used as the source of ad customizer substitutions in a + // single ad. + AdErrorEnum_MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED AdErrorEnum_AdError = 81 + // TempAdUnionId must be use when adding template ads. + AdErrorEnum_MUST_USE_TEMP_AD_UNION_ID_ON_ADD AdErrorEnum_AdError = 82 + // The string has too many characters. + AdErrorEnum_TOO_LONG AdErrorEnum_AdError = 83 + // The string has too few characters. + AdErrorEnum_TOO_SHORT AdErrorEnum_AdError = 84 + // Ad union dimensions cannot change for saved ads. + AdErrorEnum_UNION_DIMENSIONS_CANNOT_CHANGE AdErrorEnum_AdError = 85 + // Address component is not {country, lat, lng}. + AdErrorEnum_UNKNOWN_ADDRESS_COMPONENT AdErrorEnum_AdError = 86 + // Unknown unique field name + AdErrorEnum_UNKNOWN_FIELD_NAME AdErrorEnum_AdError = 87 + // Unknown unique name (template element type specifier) + AdErrorEnum_UNKNOWN_UNIQUE_NAME AdErrorEnum_AdError = 88 + // Unsupported ad dimension + AdErrorEnum_UNSUPPORTED_DIMENSIONS AdErrorEnum_AdError = 89 + // URL starts with an invalid scheme. + AdErrorEnum_URL_INVALID_SCHEME AdErrorEnum_AdError = 90 + // URL ends with an invalid top-level domain name. + AdErrorEnum_URL_INVALID_TOP_LEVEL_DOMAIN AdErrorEnum_AdError = 91 + // URL contains illegal characters. + AdErrorEnum_URL_MALFORMED AdErrorEnum_AdError = 92 + // URL must contain a host name. + AdErrorEnum_URL_NO_HOST AdErrorEnum_AdError = 93 + // URL not equivalent during upgrade. + AdErrorEnum_URL_NOT_EQUIVALENT AdErrorEnum_AdError = 94 + // URL host name too long to be stored as visible URL (applies to Ad + // Exchange ads) + AdErrorEnum_URL_HOST_NAME_TOO_LONG AdErrorEnum_AdError = 95 + // URL must start with a scheme. + AdErrorEnum_URL_NO_SCHEME AdErrorEnum_AdError = 96 + // URL should end in a valid domain extension, such as .com or .net. + AdErrorEnum_URL_NO_TOP_LEVEL_DOMAIN AdErrorEnum_AdError = 97 + // URL must not end with a path. + AdErrorEnum_URL_PATH_NOT_ALLOWED AdErrorEnum_AdError = 98 + // URL must not specify a port. + AdErrorEnum_URL_PORT_NOT_ALLOWED AdErrorEnum_AdError = 99 + // URL must not contain a query. + AdErrorEnum_URL_QUERY_NOT_ALLOWED AdErrorEnum_AdError = 100 + // A url scheme is not allowed in front of tag in dest url (e.g. + // http://{lpurl}) + AdErrorEnum_URL_SCHEME_BEFORE_DSA_TAG AdErrorEnum_AdError = 101 + // A url scheme is not allowed in front of tag in tracking url template + // (e.g. http://{lpurl}) + AdErrorEnum_URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG AdErrorEnum_AdError = 102 + // The user does not have permissions to create a template ad for the given + // template. + AdErrorEnum_USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE AdErrorEnum_AdError = 103 + // Expandable setting is inconsistent/wrong. For example, an AdX ad is + // invalid if it has a expandable vendor format but no expanding directions + // specified, or expanding directions is specified, but the vendor format is + // not expandable. + AdErrorEnum_INCONSISTENT_EXPANDABLE_SETTINGS AdErrorEnum_AdError = 104 + // Format is invalid + AdErrorEnum_INVALID_FORMAT AdErrorEnum_AdError = 105 + // The text of this field did not match a pattern of allowed values. + AdErrorEnum_INVALID_FIELD_TEXT AdErrorEnum_AdError = 106 + // Template element is mising + AdErrorEnum_ELEMENT_NOT_PRESENT AdErrorEnum_AdError = 107 + // Error occurred during image processing + AdErrorEnum_IMAGE_ERROR AdErrorEnum_AdError = 108 + // The value is not within the valid range + AdErrorEnum_VALUE_NOT_IN_RANGE AdErrorEnum_AdError = 109 + // Template element field is not present + AdErrorEnum_FIELD_NOT_PRESENT AdErrorEnum_AdError = 110 + // Address is incomplete + AdErrorEnum_ADDRESS_NOT_COMPLETE AdErrorEnum_AdError = 111 + // Invalid address + AdErrorEnum_ADDRESS_INVALID AdErrorEnum_AdError = 112 + // Error retrieving specified video + AdErrorEnum_VIDEO_RETRIEVAL_ERROR AdErrorEnum_AdError = 113 + // Error processing audio + AdErrorEnum_AUDIO_ERROR AdErrorEnum_AdError = 114 + // Display URL is incorrect for YouTube PYV ads + AdErrorEnum_INVALID_YOUTUBE_DISPLAY_URL AdErrorEnum_AdError = 115 + // Too many product Images in GmailAd + AdErrorEnum_TOO_MANY_PRODUCT_IMAGES AdErrorEnum_AdError = 116 + // Too many product Videos in GmailAd + AdErrorEnum_TOO_MANY_PRODUCT_VIDEOS AdErrorEnum_AdError = 117 + // The device preference is not compatible with the ad type + AdErrorEnum_INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE AdErrorEnum_AdError = 118 + // Call tracking is not supported for specified country. + AdErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY AdErrorEnum_AdError = 119 + // Carrier specific short number is not allowed. + AdErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED AdErrorEnum_AdError = 120 + // Specified phone number type is disallowed. + AdErrorEnum_DISALLOWED_NUMBER_TYPE AdErrorEnum_AdError = 121 + // Phone number not supported for country. + AdErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY AdErrorEnum_AdError = 122 + // Phone number not supported with call tracking enabled for country. + AdErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY AdErrorEnum_AdError = 123 + // Premium rate phone number is not allowed. + AdErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED AdErrorEnum_AdError = 124 + // Vanity phone number is not allowed. + AdErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED AdErrorEnum_AdError = 125 + // Invalid call conversion type id. + AdErrorEnum_INVALID_CALL_CONVERSION_TYPE_ID AdErrorEnum_AdError = 126 + // Cannot disable call conversion and set conversion type id. + AdErrorEnum_CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID AdErrorEnum_AdError = 127 + // Cannot set path2 without path1. + AdErrorEnum_CANNOT_SET_PATH2_WITHOUT_PATH1 AdErrorEnum_AdError = 128 + // Missing domain name in campaign setting when adding expanded dynamic + // search ad. + AdErrorEnum_MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME AdErrorEnum_AdError = 129 + // The associated ad is not compatible with restriction type. + AdErrorEnum_INCOMPATIBLE_WITH_RESTRICTION_TYPE AdErrorEnum_AdError = 130 +) + +var AdErrorEnum_AdError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE", + 3: "APPROXIMATELY_TOO_LONG", + 4: "APPROXIMATELY_TOO_SHORT", + 5: "BAD_SNIPPET", + 6: "CANNOT_MODIFY_AD", + 7: "CANNOT_SET_BUSINESS_NAME_IF_URL_SET", + 8: "CANNOT_SET_FIELD", + 9: "CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET", + 10: "CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING", + 11: "CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE", + 12: "CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING", + 13: "CANNOT_SET_URL", + 14: "CANNOT_SET_WITHOUT_FINAL_URLS", + 15: "CANNOT_SET_WITH_FINAL_URLS", + 16: "CANNOT_SET_WITH_TRACKING_URL_TEMPLATE", + 17: "CANNOT_SET_WITH_URL_DATA", + 18: "CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR", + 19: "CUSTOMER_NOT_APPROVED_MOBILEADS", + 20: "CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS", + 21: "CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS", + 22: "CUSTOMER_NOT_ELIGIBLE", + 23: "CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL", + 24: "DIMENSION_ALREADY_IN_UNION", + 25: "DIMENSION_MUST_BE_SET", + 26: "DIMENSION_NOT_IN_UNION", + 27: "DISPLAY_URL_CANNOT_BE_SPECIFIED", + 28: "DOMESTIC_PHONE_NUMBER_FORMAT", + 29: "EMERGENCY_PHONE_NUMBER", + 30: "EMPTY_FIELD", + 31: "FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID", + 32: "FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH", + 33: "ILLEGAL_AD_CUSTOMIZER_TAG_USE", + 34: "ILLEGAL_TAG_USE", + 35: "INCONSISTENT_DIMENSIONS", + 36: "INCONSISTENT_STATUS_IN_TEMPLATE_UNION", + 37: "INCORRECT_LENGTH", + 38: "INELIGIBLE_FOR_UPGRADE", + 39: "INVALID_AD_ADDRESS_CAMPAIGN_TARGET", + 40: "INVALID_AD_TYPE", + 41: "INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE", + 42: "INVALID_ATTRIBUTES_FOR_MOBILE_TEXT", + 43: "INVALID_CALL_TO_ACTION_TEXT", + 44: "INVALID_CHARACTER_FOR_URL", + 45: "INVALID_COUNTRY_CODE", + 46: "INVALID_DSA_URL_TAG", + 47: "INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG", + 48: "INVALID_INPUT", + 49: "INVALID_MARKUP_LANGUAGE", + 50: "INVALID_MOBILE_CARRIER", + 51: "INVALID_MOBILE_CARRIER_TARGET", + 52: "INVALID_NUMBER_OF_ELEMENTS", + 53: "INVALID_PHONE_NUMBER_FORMAT", + 54: "INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID", + 55: "INVALID_TEMPLATE_DATA", + 56: "INVALID_TEMPLATE_ELEMENT_FIELD_TYPE", + 57: "INVALID_TEMPLATE_ID", + 58: "LINE_TOO_WIDE", + 59: "MISSING_AD_CUSTOMIZER_MAPPING", + 60: "MISSING_ADDRESS_COMPONENT", + 61: "MISSING_ADVERTISEMENT_NAME", + 62: "MISSING_BUSINESS_NAME", + 63: "MISSING_DESCRIPTION1", + 64: "MISSING_DESCRIPTION2", + 65: "MISSING_DESTINATION_URL_TAG", + 66: "MISSING_LANDING_PAGE_URL_TAG", + 67: "MISSING_DIMENSION", + 68: "MISSING_DISPLAY_URL", + 69: "MISSING_HEADLINE", + 70: "MISSING_HEIGHT", + 71: "MISSING_IMAGE", + 72: "MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS", + 73: "MISSING_MARKUP_LANGUAGES", + 74: "MISSING_MOBILE_CARRIER", + 75: "MISSING_PHONE", + 76: "MISSING_REQUIRED_TEMPLATE_FIELDS", + 77: "MISSING_TEMPLATE_FIELD_VALUE", + 78: "MISSING_TEXT", + 79: "MISSING_VISIBLE_URL", + 80: "MISSING_WIDTH", + 81: "MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED", + 82: "MUST_USE_TEMP_AD_UNION_ID_ON_ADD", + 83: "TOO_LONG", + 84: "TOO_SHORT", + 85: "UNION_DIMENSIONS_CANNOT_CHANGE", + 86: "UNKNOWN_ADDRESS_COMPONENT", + 87: "UNKNOWN_FIELD_NAME", + 88: "UNKNOWN_UNIQUE_NAME", + 89: "UNSUPPORTED_DIMENSIONS", + 90: "URL_INVALID_SCHEME", + 91: "URL_INVALID_TOP_LEVEL_DOMAIN", + 92: "URL_MALFORMED", + 93: "URL_NO_HOST", + 94: "URL_NOT_EQUIVALENT", + 95: "URL_HOST_NAME_TOO_LONG", + 96: "URL_NO_SCHEME", + 97: "URL_NO_TOP_LEVEL_DOMAIN", + 98: "URL_PATH_NOT_ALLOWED", + 99: "URL_PORT_NOT_ALLOWED", + 100: "URL_QUERY_NOT_ALLOWED", + 101: "URL_SCHEME_BEFORE_DSA_TAG", + 102: "URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG", + 103: "USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE", + 104: "INCONSISTENT_EXPANDABLE_SETTINGS", + 105: "INVALID_FORMAT", + 106: "INVALID_FIELD_TEXT", + 107: "ELEMENT_NOT_PRESENT", + 108: "IMAGE_ERROR", + 109: "VALUE_NOT_IN_RANGE", + 110: "FIELD_NOT_PRESENT", + 111: "ADDRESS_NOT_COMPLETE", + 112: "ADDRESS_INVALID", + 113: "VIDEO_RETRIEVAL_ERROR", + 114: "AUDIO_ERROR", + 115: "INVALID_YOUTUBE_DISPLAY_URL", + 116: "TOO_MANY_PRODUCT_IMAGES", + 117: "TOO_MANY_PRODUCT_VIDEOS", + 118: "INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE", + 119: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", + 120: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", + 121: "DISALLOWED_NUMBER_TYPE", + 122: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", + 123: "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY", + 124: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", + 125: "VANITY_PHONE_NUMBER_NOT_ALLOWED", + 126: "INVALID_CALL_CONVERSION_TYPE_ID", + 127: "CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID", + 128: "CANNOT_SET_PATH2_WITHOUT_PATH1", + 129: "MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME", + 130: "INCOMPATIBLE_WITH_RESTRICTION_TYPE", +} +var AdErrorEnum_AdError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE": 2, + "APPROXIMATELY_TOO_LONG": 3, + "APPROXIMATELY_TOO_SHORT": 4, + "BAD_SNIPPET": 5, + "CANNOT_MODIFY_AD": 6, + "CANNOT_SET_BUSINESS_NAME_IF_URL_SET": 7, + "CANNOT_SET_FIELD": 8, + "CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET": 9, + "CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING": 10, + "CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE": 11, + "CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING": 12, + "CANNOT_SET_URL": 13, + "CANNOT_SET_WITHOUT_FINAL_URLS": 14, + "CANNOT_SET_WITH_FINAL_URLS": 15, + "CANNOT_SET_WITH_TRACKING_URL_TEMPLATE": 16, + "CANNOT_SET_WITH_URL_DATA": 17, + "CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR": 18, + "CUSTOMER_NOT_APPROVED_MOBILEADS": 19, + "CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS": 20, + "CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS": 21, + "CUSTOMER_NOT_ELIGIBLE": 22, + "CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL": 23, + "DIMENSION_ALREADY_IN_UNION": 24, + "DIMENSION_MUST_BE_SET": 25, + "DIMENSION_NOT_IN_UNION": 26, + "DISPLAY_URL_CANNOT_BE_SPECIFIED": 27, + "DOMESTIC_PHONE_NUMBER_FORMAT": 28, + "EMERGENCY_PHONE_NUMBER": 29, + "EMPTY_FIELD": 30, + "FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID": 31, + "FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH": 32, + "ILLEGAL_AD_CUSTOMIZER_TAG_USE": 33, + "ILLEGAL_TAG_USE": 34, + "INCONSISTENT_DIMENSIONS": 35, + "INCONSISTENT_STATUS_IN_TEMPLATE_UNION": 36, + "INCORRECT_LENGTH": 37, + "INELIGIBLE_FOR_UPGRADE": 38, + "INVALID_AD_ADDRESS_CAMPAIGN_TARGET": 39, + "INVALID_AD_TYPE": 40, + "INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE": 41, + "INVALID_ATTRIBUTES_FOR_MOBILE_TEXT": 42, + "INVALID_CALL_TO_ACTION_TEXT": 43, + "INVALID_CHARACTER_FOR_URL": 44, + "INVALID_COUNTRY_CODE": 45, + "INVALID_DSA_URL_TAG": 46, + "INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG": 47, + "INVALID_INPUT": 48, + "INVALID_MARKUP_LANGUAGE": 49, + "INVALID_MOBILE_CARRIER": 50, + "INVALID_MOBILE_CARRIER_TARGET": 51, + "INVALID_NUMBER_OF_ELEMENTS": 52, + "INVALID_PHONE_NUMBER_FORMAT": 53, + "INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID": 54, + "INVALID_TEMPLATE_DATA": 55, + "INVALID_TEMPLATE_ELEMENT_FIELD_TYPE": 56, + "INVALID_TEMPLATE_ID": 57, + "LINE_TOO_WIDE": 58, + "MISSING_AD_CUSTOMIZER_MAPPING": 59, + "MISSING_ADDRESS_COMPONENT": 60, + "MISSING_ADVERTISEMENT_NAME": 61, + "MISSING_BUSINESS_NAME": 62, + "MISSING_DESCRIPTION1": 63, + "MISSING_DESCRIPTION2": 64, + "MISSING_DESTINATION_URL_TAG": 65, + "MISSING_LANDING_PAGE_URL_TAG": 66, + "MISSING_DIMENSION": 67, + "MISSING_DISPLAY_URL": 68, + "MISSING_HEADLINE": 69, + "MISSING_HEIGHT": 70, + "MISSING_IMAGE": 71, + "MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS": 72, + "MISSING_MARKUP_LANGUAGES": 73, + "MISSING_MOBILE_CARRIER": 74, + "MISSING_PHONE": 75, + "MISSING_REQUIRED_TEMPLATE_FIELDS": 76, + "MISSING_TEMPLATE_FIELD_VALUE": 77, + "MISSING_TEXT": 78, + "MISSING_VISIBLE_URL": 79, + "MISSING_WIDTH": 80, + "MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED": 81, + "MUST_USE_TEMP_AD_UNION_ID_ON_ADD": 82, + "TOO_LONG": 83, + "TOO_SHORT": 84, + "UNION_DIMENSIONS_CANNOT_CHANGE": 85, + "UNKNOWN_ADDRESS_COMPONENT": 86, + "UNKNOWN_FIELD_NAME": 87, + "UNKNOWN_UNIQUE_NAME": 88, + "UNSUPPORTED_DIMENSIONS": 89, + "URL_INVALID_SCHEME": 90, + "URL_INVALID_TOP_LEVEL_DOMAIN": 91, + "URL_MALFORMED": 92, + "URL_NO_HOST": 93, + "URL_NOT_EQUIVALENT": 94, + "URL_HOST_NAME_TOO_LONG": 95, + "URL_NO_SCHEME": 96, + "URL_NO_TOP_LEVEL_DOMAIN": 97, + "URL_PATH_NOT_ALLOWED": 98, + "URL_PORT_NOT_ALLOWED": 99, + "URL_QUERY_NOT_ALLOWED": 100, + "URL_SCHEME_BEFORE_DSA_TAG": 101, + "URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG": 102, + "USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE": 103, + "INCONSISTENT_EXPANDABLE_SETTINGS": 104, + "INVALID_FORMAT": 105, + "INVALID_FIELD_TEXT": 106, + "ELEMENT_NOT_PRESENT": 107, + "IMAGE_ERROR": 108, + "VALUE_NOT_IN_RANGE": 109, + "FIELD_NOT_PRESENT": 110, + "ADDRESS_NOT_COMPLETE": 111, + "ADDRESS_INVALID": 112, + "VIDEO_RETRIEVAL_ERROR": 113, + "AUDIO_ERROR": 114, + "INVALID_YOUTUBE_DISPLAY_URL": 115, + "TOO_MANY_PRODUCT_IMAGES": 116, + "TOO_MANY_PRODUCT_VIDEOS": 117, + "INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE": 118, + "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 119, + "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 120, + "DISALLOWED_NUMBER_TYPE": 121, + "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 122, + "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY": 123, + "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 124, + "VANITY_PHONE_NUMBER_NOT_ALLOWED": 125, + "INVALID_CALL_CONVERSION_TYPE_ID": 126, + "CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID": 127, + "CANNOT_SET_PATH2_WITHOUT_PATH1": 128, + "MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME": 129, + "INCOMPATIBLE_WITH_RESTRICTION_TYPE": 130, +} + +func (x AdErrorEnum_AdError) String() string { + return proto.EnumName(AdErrorEnum_AdError_name, int32(x)) +} +func (AdErrorEnum_AdError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_error_aca81f4d1458cbc6, []int{0, 0} +} + +// Container for enum describing possible ad errors. +type AdErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdErrorEnum) Reset() { *m = AdErrorEnum{} } +func (m *AdErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdErrorEnum) ProtoMessage() {} +func (*AdErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_error_aca81f4d1458cbc6, []int{0} +} +func (m *AdErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdErrorEnum.Unmarshal(m, b) +} +func (m *AdErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdErrorEnum.Merge(dst, src) +} +func (m *AdErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdErrorEnum.Size(m) +} +func (m *AdErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdErrorEnum)(nil), "google.ads.googleads.v0.errors.AdErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdErrorEnum_AdError", AdErrorEnum_AdError_name, AdErrorEnum_AdError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_error.proto", fileDescriptor_ad_error_aca81f4d1458cbc6) +} + +var fileDescriptor_ad_error_aca81f4d1458cbc6 = []byte{ + // 1985 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x58, 0x5b, 0x7f, 0x14, 0xb7, + 0x15, 0xaf, 0x49, 0x1b, 0x12, 0x01, 0x41, 0x88, 0xfb, 0xcd, 0x10, 0x43, 0xb8, 0x05, 0xd6, 0x06, + 0xd2, 0x26, 0x69, 0x92, 0xb6, 0xda, 0xd1, 0xd9, 0x19, 0x15, 0x8d, 0x34, 0x96, 0x34, 0x6b, 0x2f, + 0x75, 0xab, 0x3a, 0x31, 0x75, 0xd3, 0x02, 0x4b, 0x6d, 0x42, 0xef, 0xd7, 0x8f, 0xd2, 0xc7, 0x7e, + 0x84, 0x3e, 0xf6, 0x31, 0x9f, 0xaa, 0xbf, 0xa3, 0x19, 0xcd, 0xce, 0xda, 0x26, 0x79, 0xda, 0x59, + 0x9d, 0xbf, 0x46, 0x47, 0x7f, 0xfd, 0xcf, 0x45, 0x43, 0xee, 0x6d, 0x4f, 0xa7, 0xdb, 0x4f, 0x9f, + 0x2c, 0x6f, 0x6e, 0xed, 0x2e, 0x37, 0x8f, 0xf8, 0xf4, 0x6a, 0x65, 0xf9, 0xc9, 0xce, 0xce, 0x74, + 0x67, 0x77, 0x79, 0x73, 0x2b, 0xc4, 0xa7, 0xc1, 0x8b, 0x9d, 0xe9, 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0xb9, 0xb1, 0x77, 0x34, 0xac, 0x49, 0x5f, 0x04, 0x63, 0x65, 0x2e, 0x35, 0x6e, 0x44, + 0x8a, 0xf8, 0x86, 0xb7, 0xd9, 0x32, 0x79, 0xff, 0x60, 0x6c, 0x07, 0x8a, 0x7b, 0x77, 0x05, 0xb7, + 0x52, 0xe7, 0x94, 0xb0, 0xdb, 0xe4, 0xbd, 0xde, 0x04, 0xae, 0x94, 0x59, 0x0b, 0x23, 0x05, 0xeb, + 0x72, 0xa8, 0x20, 0x64, 0x46, 0x19, 0x1b, 0x46, 0x5c, 0x39, 0xa0, 0x47, 0xd8, 0x87, 0xe4, 0x61, + 0x0f, 0xda, 0xd8, 0x32, 0xa3, 0xbd, 0x35, 0x2a, 0xac, 0x15, 0xa0, 0x83, 0xe6, 0x5e, 0x8e, 0x01, + 0x17, 0x28, 0x79, 0x04, 0x79, 0x5c, 0xe3, 0x28, 0x63, 0xe4, 0x9d, 0xde, 0xc4, 0xda, 0x2a, 0x7a, + 0x8c, 0xbd, 0x4b, 0x2e, 0xf7, 0xc6, 0xd0, 0x45, 0x53, 0xa3, 0xc3, 0x9a, 0x2b, 0x44, 0x38, 0xfa, + 0x0e, 0x5b, 0x24, 0x17, 0xf6, 0x40, 0xfa, 0xf6, 0xe3, 0x7b, 0x5c, 0x8f, 0x76, 0x6f, 0x79, 0xf6, + 0x48, 0xea, 0x3c, 0x72, 0xea, 0xa1, 0xac, 0x14, 0xf7, 0x40, 0x29, 0xbb, 0x44, 0xce, 0xed, 0x85, + 0x22, 0x42, 0x70, 0xcf, 0xe9, 0x89, 0xde, 0xf9, 0xd4, 0x0e, 0x90, 0x29, 0x57, 0x0f, 0x33, 0xc5, + 0x9d, 0x8b, 0x5c, 0x99, 0x0a, 0x2c, 0xf7, 0xc6, 0x52, 0xc6, 0xae, 0x91, 0x2b, 0x8d, 0xa6, 0xc0, + 0x46, 0x41, 0x45, 0x65, 0x8c, 0x41, 0x84, 0xd2, 0x0c, 0xa5, 0x02, 0x2e, 0x1c, 0x3d, 0xc9, 0x6e, + 0x91, 0xeb, 0x07, 0x83, 0x7c, 0x21, 0xad, 0xa8, 0xb8, 0xf5, 0x28, 0x0b, 0x47, 0x4f, 0xb1, 0xfb, + 0xe4, 0xde, 0xb7, 0x22, 0x2d, 0x08, 0x69, 0x21, 0xf3, 0x71, 0xca, 0x69, 0x76, 0x9e, 0x9c, 0x9e, + 0x9b, 0x02, 0x4a, 0xe6, 0x78, 0x54, 0xf4, 0xcc, 0xbe, 0xb7, 0x25, 0x53, 0xdc, 0x44, 0x5d, 0x09, + 0x8e, 0xa7, 0x11, 0x86, 0xc0, 0x33, 0xa3, 0xe3, 0x21, 0x9c, 0x45, 0x86, 0x85, 0x2c, 0x41, 0x3b, + 0x69, 0x74, 0xe0, 0xca, 0x02, 0x17, 0x93, 0x20, 0x75, 0xa8, 0xb5, 0x34, 0x9a, 0x9e, 0xc3, 0xd5, + 0x66, 0xf6, 0xb2, 0x76, 0x3e, 0x0c, 0x21, 0x0a, 0xed, 0x3c, 0xc6, 0xcc, 0xcc, 0x84, 0xcb, 0x75, + 0xd3, 0x2e, 0x20, 0x4d, 0x42, 0xba, 0x4a, 0xf1, 0x49, 0x64, 0xb9, 0xe5, 0x16, 0xa7, 0x76, 0xf1, + 0x7a, 0x91, 0x5d, 0x25, 0x97, 0x84, 0x29, 0xc1, 0x79, 0x99, 0x85, 0xaa, 0x30, 0x1a, 0x82, 0xae, + 0xcb, 0x21, 0xd8, 0x56, 0x3e, 0xf4, 0x12, 0x2e, 0x01, 0x25, 0xd8, 0x1c, 0x74, 0x36, 0x99, 0x83, + 0xd0, 0xcb, 0x18, 0x79, 0x50, 0x56, 0x7e, 0xd2, 0x06, 0xc9, 0x22, 0x5b, 0x21, 0x77, 0x47, 0x00, + 0x22, 0x70, 0xef, 0xad, 0x1c, 0xd6, 0x1e, 0x1a, 0x7f, 0x0b, 0x3e, 0x86, 0x50, 0xf2, 0xaa, 0xc2, + 0xbd, 0x23, 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0xf5, 0x09, 0x9b, 0x37, 0x86, 0x31, 0x57, + 0x35, 0xd0, 0x92, 0x51, 0x72, 0x74, 0x86, 0x58, 0xf7, 0x54, 0xf7, 0xb9, 0x1a, 0x4b, 0x17, 0xf3, + 0x1a, 0x72, 0x65, 0xfa, 0x5e, 0xac, 0x49, 0xe1, 0x0b, 0x5a, 0xa1, 0x6e, 0xcb, 0x5a, 0x79, 0x59, + 0x29, 0x40, 0x62, 0xbd, 0xd4, 0x99, 0x0f, 0x98, 0xd0, 0x5d, 0xa8, 0x75, 0xd7, 0xe9, 0xd1, 0xd5, + 0xe8, 0x2e, 0x96, 0x02, 0xac, 0xed, 0xe8, 0x09, 0x2a, 0x32, 0x66, 0x56, 0x6c, 0x88, 0xb0, 0xee, + 0x09, 0x41, 0x2d, 0x3b, 0x4a, 0xde, 0xea, 0xba, 0x3e, 0xc7, 0x8e, 0x91, 0xb7, 0x67, 0x7d, 0x9e, + 0x67, 0x4b, 0x64, 0xb1, 0x99, 0x31, 0xcb, 0xe0, 0xa9, 0xaa, 0x65, 0x05, 0xd7, 0x39, 0xd0, 0x1a, + 0xf5, 0xdc, 0xf6, 0x9f, 0x07, 0xe8, 0x79, 0xcc, 0xce, 0x10, 0x96, 0xcc, 0x0d, 0x0b, 0x51, 0xac, + 0x6b, 0xb8, 0xe5, 0x34, 0x5e, 0x6b, 0xb9, 0x5a, 0x43, 0x63, 0x58, 0xc7, 0x43, 0xe9, 0xed, 0xa3, + 0x5f, 0x3b, 0x26, 0xf1, 0x65, 0x56, 0x85, 0x14, 0x8e, 0x2e, 0x2b, 0xa0, 0x04, 0xfa, 0x18, 0x39, + 0xef, 0x8f, 0x7b, 0x53, 0x05, 0x05, 0x63, 0x50, 0x41, 0x98, 0x92, 0x4b, 0x4d, 0x7f, 0x86, 0x44, + 0x22, 0xa2, 0xe4, 0x0a, 0xd3, 0x03, 0x08, 0xba, 0x11, 0x3b, 0x69, 0xab, 0x82, 0x36, 0xa1, 0x30, + 0xce, 0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a, + 0x01, 0x36, 0xf8, 0xd6, 0xee, 0x46, 0x07, 0xd8, 0x18, 0xaf, 0x6c, 0x34, 0x80, 0xcf, 0xdf, 0x8c, + 0x0b, 0x3f, 0xfc, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x41, 0xd3, 0x0b, 0xf0, 0x69, 0x11, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_ad_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_ad_error.pb.go new file mode 100644 index 000000000..7b0170dbd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_ad_error.pb.go @@ -0,0 +1,149 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_group_ad_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad group ad errors. +type AdGroupAdErrorEnum_AdGroupAdError int32 + +const ( + // Enum unspecified. + AdGroupAdErrorEnum_UNSPECIFIED AdGroupAdErrorEnum_AdGroupAdError = 0 + // The received error code is not known in this version. + AdGroupAdErrorEnum_UNKNOWN AdGroupAdErrorEnum_AdGroupAdError = 1 + // No link found between the adgroup ad and the label. + AdGroupAdErrorEnum_AD_GROUP_AD_LABEL_DOES_NOT_EXIST AdGroupAdErrorEnum_AdGroupAdError = 2 + // The label has already been attached to the adgroup ad. + AdGroupAdErrorEnum_AD_GROUP_AD_LABEL_ALREADY_EXISTS AdGroupAdErrorEnum_AdGroupAdError = 3 + // The specified ad was not found in the adgroup + AdGroupAdErrorEnum_AD_NOT_UNDER_ADGROUP AdGroupAdErrorEnum_AdGroupAdError = 4 + // Removed ads may not be modified + AdGroupAdErrorEnum_CANNOT_OPERATE_ON_REMOVED_ADGROUPAD AdGroupAdErrorEnum_AdGroupAdError = 5 + // An ad of this type is deprecated and cannot be created. Only deletions + // are permitted. + AdGroupAdErrorEnum_CANNOT_CREATE_DEPRECATED_ADS AdGroupAdErrorEnum_AdGroupAdError = 6 + // Text ads are deprecated and cannot be created. Use expanded text ads + // instead. + AdGroupAdErrorEnum_CANNOT_CREATE_TEXT_ADS AdGroupAdErrorEnum_AdGroupAdError = 7 + // A required field was not specified or is an empty string. + AdGroupAdErrorEnum_EMPTY_FIELD AdGroupAdErrorEnum_AdGroupAdError = 8 + // An ad may only be modified once per call + AdGroupAdErrorEnum_RESOURCE_REFERENCED_IN_MULTIPLE_OPS AdGroupAdErrorEnum_AdGroupAdError = 9 +) + +var AdGroupAdErrorEnum_AdGroupAdError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AD_GROUP_AD_LABEL_DOES_NOT_EXIST", + 3: "AD_GROUP_AD_LABEL_ALREADY_EXISTS", + 4: "AD_NOT_UNDER_ADGROUP", + 5: "CANNOT_OPERATE_ON_REMOVED_ADGROUPAD", + 6: "CANNOT_CREATE_DEPRECATED_ADS", + 7: "CANNOT_CREATE_TEXT_ADS", + 8: "EMPTY_FIELD", + 9: "RESOURCE_REFERENCED_IN_MULTIPLE_OPS", +} +var AdGroupAdErrorEnum_AdGroupAdError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_GROUP_AD_LABEL_DOES_NOT_EXIST": 2, + "AD_GROUP_AD_LABEL_ALREADY_EXISTS": 3, + "AD_NOT_UNDER_ADGROUP": 4, + "CANNOT_OPERATE_ON_REMOVED_ADGROUPAD": 5, + "CANNOT_CREATE_DEPRECATED_ADS": 6, + "CANNOT_CREATE_TEXT_ADS": 7, + "EMPTY_FIELD": 8, + "RESOURCE_REFERENCED_IN_MULTIPLE_OPS": 9, +} + +func (x AdGroupAdErrorEnum_AdGroupAdError) String() string { + return proto.EnumName(AdGroupAdErrorEnum_AdGroupAdError_name, int32(x)) +} +func (AdGroupAdErrorEnum_AdGroupAdError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_error_f8ac183f11835402, []int{0, 0} +} + +// Container for enum describing possible ad group ad errors. +type AdGroupAdErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAdErrorEnum) Reset() { *m = AdGroupAdErrorEnum{} } +func (m *AdGroupAdErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupAdErrorEnum) ProtoMessage() {} +func (*AdGroupAdErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_error_f8ac183f11835402, []int{0} +} +func (m *AdGroupAdErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAdErrorEnum.Unmarshal(m, b) +} +func (m *AdGroupAdErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAdErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupAdErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAdErrorEnum.Merge(dst, src) +} +func (m *AdGroupAdErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupAdErrorEnum.Size(m) +} +func (m *AdGroupAdErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAdErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAdErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupAdErrorEnum)(nil), "google.ads.googleads.v0.errors.AdGroupAdErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdGroupAdErrorEnum_AdGroupAdError", AdGroupAdErrorEnum_AdGroupAdError_name, AdGroupAdErrorEnum_AdGroupAdError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_group_ad_error.proto", fileDescriptor_ad_group_ad_error_f8ac183f11835402) +} + +var fileDescriptor_ad_group_ad_error_f8ac183f11835402 = []byte{ + // 408 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x51, 0x8b, 0xd4, 0x30, + 0x10, 0xc7, 0xdd, 0x9e, 0xde, 0x69, 0x0e, 0x34, 0x44, 0x11, 0x11, 0x39, 0x8e, 0x55, 0xf0, 0x2d, + 0x5d, 0x10, 0x7c, 0xf1, 0x69, 0xb6, 0x99, 0x5d, 0x8a, 0xdd, 0x24, 0xa4, 0xed, 0x7a, 0x27, 0x0b, + 0x43, 0xb5, 0x4b, 0x11, 0xee, 0x36, 0x4b, 0xeb, 0xdd, 0x07, 0xf2, 0xd1, 0x77, 0x3f, 0x84, 0xe2, + 0x87, 0x92, 0xb4, 0xb7, 0x07, 0x0b, 0xea, 0x53, 0xfe, 0xcc, 0xfc, 0xfe, 0x19, 0x32, 0xff, 0xb0, + 0xb7, 0x8d, 0xf7, 0xcd, 0xc5, 0x3a, 0xae, 0xea, 0x2e, 0x1e, 0x64, 0x50, 0xd7, 0x93, 0x78, 0xdd, + 0xb6, 0xbe, 0xed, 0xe2, 0xaa, 0xa6, 0xa6, 0xf5, 0x57, 0x5b, 0xaa, 0x6a, 0xea, 0x4b, 0x72, 0xdb, + 0xfa, 0xaf, 0x5e, 0x9c, 0x0c, 0xb0, 0xac, 0xea, 0x4e, 0xde, 0xfa, 0xe4, 0xf5, 0x44, 0x0e, 0xbe, + 0xf1, 0xef, 0x88, 0x09, 0xa8, 0xe7, 0xc1, 0x0a, 0x35, 0x86, 0x1a, 0x6e, 0xae, 0x2e, 0xc7, 0x3f, + 0x22, 0xf6, 0x70, 0xbf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d, 0xad, 0xf1, 0x17, 0xd5, 0xa6, + 0x91, 0xbe, 0x6d, 0xe2, 0x66, 0xbd, 0xe9, 0x83, 0xdc, 0x85, 0xbe, 0xfd, 0xd2, 0xfd, 0xeb, 0x0f, + 0xbc, 0x1b, 0x8e, 0x6f, 0xd1, 0xc1, 0x1c, 0xe0, 0x7b, 0x74, 0x32, 0x1f, 0x2e, 0x83, 0xba, 0x93, + 0x83, 0x0c, 0x6a, 0x39, 0x91, 0xfd, 0xc8, 0xee, 0xd7, 0x0e, 0x58, 0x41, 0xdd, 0xad, 0x6e, 0x81, + 0xd5, 0x72, 0xb2, 0x1a, 0x80, 0x4f, 0x87, 0xfd, 0xe0, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, + 0x6d, 0x4c, 0x9a, 0x33, 0x7b, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_bid_modifier_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_bid_modifier_error.pb.go new file mode 100644 index 000000000..f5d809dc4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_bid_modifier_error.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_group_bid_modifier_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad group bid modifier errors. +type AdGroupBidModifierErrorEnum_AdGroupBidModifierError int32 + +const ( + // Enum unspecified. + AdGroupBidModifierErrorEnum_UNSPECIFIED AdGroupBidModifierErrorEnum_AdGroupBidModifierError = 0 + // The received error code is not known in this version. + AdGroupBidModifierErrorEnum_UNKNOWN AdGroupBidModifierErrorEnum_AdGroupBidModifierError = 1 + // The criterion ID does not support bid modification. + AdGroupBidModifierErrorEnum_CRITERION_ID_NOT_SUPPORTED AdGroupBidModifierErrorEnum_AdGroupBidModifierError = 2 + // Cannot override the bid modifier for the given criterion ID if the parent + // campaign is opted out of the same criterion. + AdGroupBidModifierErrorEnum_CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER AdGroupBidModifierErrorEnum_AdGroupBidModifierError = 3 +) + +var AdGroupBidModifierErrorEnum_AdGroupBidModifierError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CRITERION_ID_NOT_SUPPORTED", + 3: "CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER", +} +var AdGroupBidModifierErrorEnum_AdGroupBidModifierError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CRITERION_ID_NOT_SUPPORTED": 2, + "CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER": 3, +} + +func (x AdGroupBidModifierErrorEnum_AdGroupBidModifierError) String() string { + return proto.EnumName(AdGroupBidModifierErrorEnum_AdGroupBidModifierError_name, int32(x)) +} +func (AdGroupBidModifierErrorEnum_AdGroupBidModifierError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_error_3bb7ac3c0a520d5f, []int{0, 0} +} + +// Container for enum describing possible ad group bid modifier errors. +type AdGroupBidModifierErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupBidModifierErrorEnum) Reset() { *m = AdGroupBidModifierErrorEnum{} } +func (m *AdGroupBidModifierErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupBidModifierErrorEnum) ProtoMessage() {} +func (*AdGroupBidModifierErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_error_3bb7ac3c0a520d5f, []int{0} +} +func (m *AdGroupBidModifierErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupBidModifierErrorEnum.Unmarshal(m, b) +} +func (m *AdGroupBidModifierErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupBidModifierErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupBidModifierErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupBidModifierErrorEnum.Merge(dst, src) +} +func (m *AdGroupBidModifierErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupBidModifierErrorEnum.Size(m) +} +func (m *AdGroupBidModifierErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupBidModifierErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupBidModifierErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupBidModifierErrorEnum)(nil), "google.ads.googleads.v0.errors.AdGroupBidModifierErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdGroupBidModifierErrorEnum_AdGroupBidModifierError", AdGroupBidModifierErrorEnum_AdGroupBidModifierError_name, AdGroupBidModifierErrorEnum_AdGroupBidModifierError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_group_bid_modifier_error.proto", fileDescriptor_ad_group_bid_modifier_error_3bb7ac3c0a520d5f) +} + +var fileDescriptor_ad_group_bid_modifier_error_3bb7ac3c0a520d5f = []byte{ + // 333 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x6a, 0xe3, 0x30, + 0x18, 0x85, 0xc7, 0x09, 0xcc, 0x80, 0xb2, 0x18, 0xe3, 0xcd, 0xc0, 0xb4, 0x64, 0x91, 0x03, 0xc8, + 0x86, 0xae, 0x4a, 0x29, 0x54, 0xb6, 0x54, 0x23, 0x4a, 0x24, 0xe3, 0xd8, 0x29, 0x14, 0x83, 0x70, + 0x2a, 0xd7, 0x18, 0x92, 0x28, 0x48, 0x4d, 0x8e, 0xd2, 0x03, 0x74, 0xd9, 0x03, 0xf4, 0x10, 0x5d, + 0xf6, 0x44, 0x45, 0x56, 0x92, 0xae, 0xd2, 0x95, 0x1f, 0xfe, 0xdf, 0xff, 0x3d, 0xe9, 0x09, 0xdc, + 0xb4, 0x4a, 0xb5, 0xcb, 0x26, 0xac, 0xa5, 0x09, 0x9d, 0xb4, 0x6a, 0x17, 0x85, 0x8d, 0xd6, 0x4a, + 0x9b, 0xb0, 0x96, 0xa2, 0xd5, 0x6a, 0xbb, 0x11, 0x8b, 0x4e, 0x8a, 0x95, 0x92, 0xdd, 0x53, 0xd7, + 0x68, 0xd1, 0x0f, 0xe1, 0x46, 0xab, 0x67, 0x15, 0x8c, 0xdd, 0x1a, 0xac, 0xa5, 0x81, 0x47, 0x02, + 0xdc, 0x45, 0xd0, 0x11, 0x26, 0xef, 0x1e, 0x38, 0x43, 0x32, 0xb5, 0x90, 0xb8, 0x93, 0xd3, 0x3d, + 0x82, 0xd8, 0x21, 0x59, 0x6f, 0x57, 0x93, 0x17, 0x0f, 0xfc, 0x3b, 0x31, 0x0f, 0xfe, 0x82, 0x51, + 0xc9, 0x66, 0x19, 0x49, 0xe8, 0x2d, 0x25, 0xd8, 0xff, 0x15, 0x8c, 0xc0, 0x9f, 0x92, 0xdd, 0x31, + 0x7e, 0xcf, 0x7c, 0x2f, 0x18, 0x83, 0xff, 0x49, 0x4e, 0x0b, 0x92, 0x53, 0xce, 0x04, 0xc5, 0x82, + 0xf1, 0x42, 0xcc, 0xca, 0x2c, 0xe3, 0x79, 0x41, 0xb0, 0x3f, 0x08, 0xae, 0xc1, 0x65, 0x82, 0x98, + 0xfd, 0xcb, 0xe7, 0x24, 0xcf, 0x29, 0x26, 0x82, 0x67, 0x05, 0xc1, 0x82, 0x97, 0x85, 0x48, 0xd0, + 0x34, 0x43, 0x34, 0x65, 0xe2, 0x1b, 0x11, 0x53, 0x2c, 0xa6, 0x1c, 0xdb, 0xac, 0xdc, 0x1f, 0xc6, + 0x9f, 0x1e, 0x98, 0x3c, 0xaa, 0x15, 0xfc, 0xf9, 0x7e, 0xf1, 0xf9, 0x89, 0xc3, 0x67, 0xb6, 0x9d, + 0xcc, 0x7b, 0xc0, 0xfb, 0xfd, 0x56, 0x2d, 0xeb, 0x75, 0x0b, 0x95, 0x6e, 0xc3, 0xb6, 0x59, 0xf7, + 0xdd, 0x1d, 0x1a, 0xdf, 0x74, 0xe6, 0xd4, 0x03, 0x5c, 0xb9, 0xcf, 0xeb, 0x60, 0x98, 0x22, 0xf4, + 0x36, 0x18, 0xa7, 0x0e, 0x86, 0xa4, 0x81, 0x4e, 0x5a, 0x35, 0x8f, 0x60, 0x1f, 0x69, 0x3e, 0x0e, + 0x86, 0x0a, 0x49, 0x53, 0x1d, 0x0d, 0xd5, 0x3c, 0xaa, 0x9c, 0x61, 0xf1, 0xbb, 0x0f, 0xbe, 0xf8, + 0x0a, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x0a, 0x9b, 0xd3, 0xf8, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_criterion_error.pb.go new file mode 100644 index 000000000..0fe537fde --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_criterion_error.pb.go @@ -0,0 +1,306 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_group_criterion_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad group criterion errors. +type AdGroupCriterionErrorEnum_AdGroupCriterionError int32 + +const ( + // Enum unspecified. + AdGroupCriterionErrorEnum_UNSPECIFIED AdGroupCriterionErrorEnum_AdGroupCriterionError = 0 + // The received error code is not known in this version. + AdGroupCriterionErrorEnum_UNKNOWN AdGroupCriterionErrorEnum_AdGroupCriterionError = 1 + // No link found between the AdGroupCriterion and the label. + AdGroupCriterionErrorEnum_AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST AdGroupCriterionErrorEnum_AdGroupCriterionError = 2 + // The label has already been attached to the AdGroupCriterion. + AdGroupCriterionErrorEnum_AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS AdGroupCriterionErrorEnum_AdGroupCriterionError = 3 + // Negative AdGroupCriterion cannot have labels. + AdGroupCriterionErrorEnum_CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION AdGroupCriterionErrorEnum_AdGroupCriterionError = 4 + // Too many operations for a single call. + AdGroupCriterionErrorEnum_TOO_MANY_OPERATIONS AdGroupCriterionErrorEnum_AdGroupCriterionError = 5 + // Negative ad group criteria are not updateable. + AdGroupCriterionErrorEnum_CANT_UPDATE_NEGATIVE AdGroupCriterionErrorEnum_AdGroupCriterionError = 6 + // Concrete type of criterion (keyword v.s. placement) is required for ADD + // and SET operations. + AdGroupCriterionErrorEnum_CONCRETE_TYPE_REQUIRED AdGroupCriterionErrorEnum_AdGroupCriterionError = 7 + // Bid is incompatible with ad group's bidding settings. + AdGroupCriterionErrorEnum_BID_INCOMPATIBLE_WITH_ADGROUP AdGroupCriterionErrorEnum_AdGroupCriterionError = 8 + // Cannot target and exclude the same criterion at once. + AdGroupCriterionErrorEnum_CANNOT_TARGET_AND_EXCLUDE AdGroupCriterionErrorEnum_AdGroupCriterionError = 9 + // The URL of a placement is invalid. + AdGroupCriterionErrorEnum_ILLEGAL_URL AdGroupCriterionErrorEnum_AdGroupCriterionError = 10 + // Keyword text was invalid. + AdGroupCriterionErrorEnum_INVALID_KEYWORD_TEXT AdGroupCriterionErrorEnum_AdGroupCriterionError = 11 + // Destination URL was invalid. + AdGroupCriterionErrorEnum_INVALID_DESTINATION_URL AdGroupCriterionErrorEnum_AdGroupCriterionError = 12 + // The destination url must contain at least one tag (e.g. {lpurl}) + AdGroupCriterionErrorEnum_MISSING_DESTINATION_URL_TAG AdGroupCriterionErrorEnum_AdGroupCriterionError = 13 + // Keyword-level cpm bid is not supported + AdGroupCriterionErrorEnum_KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM AdGroupCriterionErrorEnum_AdGroupCriterionError = 14 + // For example, cannot add a biddable ad group criterion that had been + // removed. + AdGroupCriterionErrorEnum_INVALID_USER_STATUS AdGroupCriterionErrorEnum_AdGroupCriterionError = 15 + // Criteria type cannot be targeted for the ad group. Either the account is + // restricted to keywords only, the criteria type is incompatible with the + // campaign's bidding strategy, or the criteria type can only be applied to + // campaigns. + AdGroupCriterionErrorEnum_CANNOT_ADD_CRITERIA_TYPE AdGroupCriterionErrorEnum_AdGroupCriterionError = 16 + // Criteria type cannot be excluded for the ad group. Refer to the + // documentation for a specific criterion to check if it is excludable. + AdGroupCriterionErrorEnum_CANNOT_EXCLUDE_CRITERIA_TYPE AdGroupCriterionErrorEnum_AdGroupCriterionError = 17 + // Partial failure is not supported for shopping campaign mutate operations. + AdGroupCriterionErrorEnum_CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE AdGroupCriterionErrorEnum_AdGroupCriterionError = 27 + // Operations in the mutate request changes too many shopping ad groups. + // Please split requests for multiple shopping ad groups across multiple + // requests. + AdGroupCriterionErrorEnum_OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS AdGroupCriterionErrorEnum_AdGroupCriterionError = 28 + // Not allowed to modify url fields of an ad group criterion if there are + // duplicate elements for that ad group criterion in the request. + AdGroupCriterionErrorEnum_CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS AdGroupCriterionErrorEnum_AdGroupCriterionError = 29 + // Cannot set url fields without also setting final urls. + AdGroupCriterionErrorEnum_CANNOT_SET_WITHOUT_FINAL_URLS AdGroupCriterionErrorEnum_AdGroupCriterionError = 30 + // Cannot clear final urls if final mobile urls exist. + AdGroupCriterionErrorEnum_CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST AdGroupCriterionErrorEnum_AdGroupCriterionError = 31 + // Cannot clear final urls if final app urls exist. + AdGroupCriterionErrorEnum_CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST AdGroupCriterionErrorEnum_AdGroupCriterionError = 32 + // Cannot clear final urls if tracking url template exists. + AdGroupCriterionErrorEnum_CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS AdGroupCriterionErrorEnum_AdGroupCriterionError = 33 + // Cannot clear final urls if url custom parameters exist. + AdGroupCriterionErrorEnum_CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST AdGroupCriterionErrorEnum_AdGroupCriterionError = 34 + // Cannot set both destination url and final urls. + AdGroupCriterionErrorEnum_CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS AdGroupCriterionErrorEnum_AdGroupCriterionError = 35 + // Cannot set both destination url and tracking url template. + AdGroupCriterionErrorEnum_CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE AdGroupCriterionErrorEnum_AdGroupCriterionError = 36 + // Final urls are not supported for this criterion type. + AdGroupCriterionErrorEnum_FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE AdGroupCriterionErrorEnum_AdGroupCriterionError = 37 + // Final mobile urls are not supported for this criterion type. + AdGroupCriterionErrorEnum_FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE AdGroupCriterionErrorEnum_AdGroupCriterionError = 38 + // Ad group is invalid due to the listing groups it contains. + AdGroupCriterionErrorEnum_INVALID_LISTING_GROUP_HIERARCHY AdGroupCriterionErrorEnum_AdGroupCriterionError = 39 + // Listing group unit cannot have children. + AdGroupCriterionErrorEnum_LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN AdGroupCriterionErrorEnum_AdGroupCriterionError = 40 + // Subdivided listing groups must have an "others" case. + AdGroupCriterionErrorEnum_LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE AdGroupCriterionErrorEnum_AdGroupCriterionError = 41 + // Dimension type of listing group must be the same as that of its siblings. + AdGroupCriterionErrorEnum_LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS AdGroupCriterionErrorEnum_AdGroupCriterionError = 42 + // Listing group cannot be added to the ad group because it already exists. + AdGroupCriterionErrorEnum_LISTING_GROUP_ALREADY_EXISTS AdGroupCriterionErrorEnum_AdGroupCriterionError = 43 + // Listing group referenced in the operation was not found in the ad group. + AdGroupCriterionErrorEnum_LISTING_GROUP_DOES_NOT_EXIST AdGroupCriterionErrorEnum_AdGroupCriterionError = 44 + // Recursive removal failed because listing group subdivision is being + // created or modified in this request. + AdGroupCriterionErrorEnum_LISTING_GROUP_CANNOT_BE_REMOVED AdGroupCriterionErrorEnum_AdGroupCriterionError = 45 + // Listing group type is not allowed for specified ad group criterion type. + AdGroupCriterionErrorEnum_INVALID_LISTING_GROUP_TYPE AdGroupCriterionErrorEnum_AdGroupCriterionError = 46 + // Listing group in an ADD operation specifies a non temporary criterion id. + AdGroupCriterionErrorEnum_LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID AdGroupCriterionErrorEnum_AdGroupCriterionError = 47 +) + +var AdGroupCriterionErrorEnum_AdGroupCriterionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST", + 3: "AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS", + 4: "CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION", + 5: "TOO_MANY_OPERATIONS", + 6: "CANT_UPDATE_NEGATIVE", + 7: "CONCRETE_TYPE_REQUIRED", + 8: "BID_INCOMPATIBLE_WITH_ADGROUP", + 9: "CANNOT_TARGET_AND_EXCLUDE", + 10: "ILLEGAL_URL", + 11: "INVALID_KEYWORD_TEXT", + 12: "INVALID_DESTINATION_URL", + 13: "MISSING_DESTINATION_URL_TAG", + 14: "KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM", + 15: "INVALID_USER_STATUS", + 16: "CANNOT_ADD_CRITERIA_TYPE", + 17: "CANNOT_EXCLUDE_CRITERIA_TYPE", + 27: "CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE", + 28: "OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS", + 29: "CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS", + 30: "CANNOT_SET_WITHOUT_FINAL_URLS", + 31: "CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST", + 32: "CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST", + 33: "CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS", + 34: "CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST", + 35: "CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS", + 36: "CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE", + 37: "FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE", + 38: "FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE", + 39: "INVALID_LISTING_GROUP_HIERARCHY", + 40: "LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN", + 41: "LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE", + 42: "LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS", + 43: "LISTING_GROUP_ALREADY_EXISTS", + 44: "LISTING_GROUP_DOES_NOT_EXIST", + 45: "LISTING_GROUP_CANNOT_BE_REMOVED", + 46: "INVALID_LISTING_GROUP_TYPE", + 47: "LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID", +} +var AdGroupCriterionErrorEnum_AdGroupCriterionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST": 2, + "AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS": 3, + "CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION": 4, + "TOO_MANY_OPERATIONS": 5, + "CANT_UPDATE_NEGATIVE": 6, + "CONCRETE_TYPE_REQUIRED": 7, + "BID_INCOMPATIBLE_WITH_ADGROUP": 8, + "CANNOT_TARGET_AND_EXCLUDE": 9, + "ILLEGAL_URL": 10, + "INVALID_KEYWORD_TEXT": 11, + "INVALID_DESTINATION_URL": 12, + "MISSING_DESTINATION_URL_TAG": 13, + "KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM": 14, + "INVALID_USER_STATUS": 15, + "CANNOT_ADD_CRITERIA_TYPE": 16, + "CANNOT_EXCLUDE_CRITERIA_TYPE": 17, + "CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE": 27, + "OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS": 28, + "CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS": 29, + "CANNOT_SET_WITHOUT_FINAL_URLS": 30, + "CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST": 31, + "CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST": 32, + "CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS": 33, + "CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST": 34, + "CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS": 35, + "CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE": 36, + "FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE": 37, + "FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE": 38, + "INVALID_LISTING_GROUP_HIERARCHY": 39, + "LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN": 40, + "LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE": 41, + "LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS": 42, + "LISTING_GROUP_ALREADY_EXISTS": 43, + "LISTING_GROUP_DOES_NOT_EXIST": 44, + "LISTING_GROUP_CANNOT_BE_REMOVED": 45, + "INVALID_LISTING_GROUP_TYPE": 46, + "LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID": 47, +} + +func (x AdGroupCriterionErrorEnum_AdGroupCriterionError) String() string { + return proto.EnumName(AdGroupCriterionErrorEnum_AdGroupCriterionError_name, int32(x)) +} +func (AdGroupCriterionErrorEnum_AdGroupCriterionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_error_64389e9bd7c7c16e, []int{0, 0} +} + +// Container for enum describing possible ad group criterion errors. +type AdGroupCriterionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupCriterionErrorEnum) Reset() { *m = AdGroupCriterionErrorEnum{} } +func (m *AdGroupCriterionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupCriterionErrorEnum) ProtoMessage() {} +func (*AdGroupCriterionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_error_64389e9bd7c7c16e, []int{0} +} +func (m *AdGroupCriterionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupCriterionErrorEnum.Unmarshal(m, b) +} +func (m *AdGroupCriterionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupCriterionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupCriterionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupCriterionErrorEnum.Merge(dst, src) +} +func (m *AdGroupCriterionErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupCriterionErrorEnum.Size(m) +} +func (m *AdGroupCriterionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupCriterionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupCriterionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupCriterionErrorEnum)(nil), "google.ads.googleads.v0.errors.AdGroupCriterionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdGroupCriterionErrorEnum_AdGroupCriterionError", AdGroupCriterionErrorEnum_AdGroupCriterionError_name, AdGroupCriterionErrorEnum_AdGroupCriterionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_group_criterion_error.proto", fileDescriptor_ad_group_criterion_error_64389e9bd7c7c16e) +} + +var fileDescriptor_ad_group_criterion_error_64389e9bd7c7c16e = []byte{ + // 936 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x72, 0x1b, 0x35, + 0x14, 0x26, 0x29, 0xb4, 0xa0, 0x04, 0x2a, 0xc4, 0x4f, 0xdb, 0xfc, 0xb6, 0x29, 0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b4, 0x45, 0xb6, 0x4e, 0x96, 0x33, 0x61, 0xad, + 0x50, 0xe9, 0x6c, 0xd0, 0x3b, 0x48, 0xe9, 0xa7, 0xec, 0x11, 0xd9, 0x1a, 0xdf, 0x27, 0xb1, 0x8b, + 0xd2, 0x07, 0xe1, 0x41, 0x96, 0x2d, 0xf2, 0x5c, 0x1b, 0x87, 0xdc, 0xb7, 0xb5, 0x09, 0xce, 0x14, + 0x20, 0x93, 0x3c, 0xa3, 0x9f, 0x05, 0xb3, 0xc6, 0x0f, 0x16, 0x16, 0x8d, 0xb7, 0x0e, 0x5c, 0x61, + 0xe9, 0x75, 0xb6, 0x42, 0x6e, 0x4e, 0x38, 0xde, 0xf8, 0x0b, 0x95, 0x3b, 0x94, 0xb2, 0xdb, 0x64, + 0xa5, 0x89, 0x36, 0x69, 0xce, 0x20, 0x3e, 0x67, 0x3f, 0x92, 0x47, 0x09, 0x64, 0x39, 0x88, 0x54, + 0xd5, 0x96, 0x06, 0xf0, 0xac, 0x85, 0x39, 0x18, 0x27, 0x40, 0xfa, 0x36, 0x08, 0x59, 0x18, 0xa4, + 0xcb, 0x6c, 0x8b, 0x3c, 0x38, 0xab, 0x59, 0xa5, 0xf6, 0xb4, 0x96, 0xb6, 0xa3, 0xf3, 0x3c, 0x24, + 0xdf, 0x18, 0x6f, 0xe9, 0x0a, 0xfb, 0x81, 0x6c, 0x37, 0x3a, 0x32, 0xcd, 0x45, 0xbb, 0x57, 0x99, + 0xd1, 0x16, 0x28, 0xb9, 0xad, 0x5f, 0xe0, 0x45, 0x2e, 0x45, 0x12, 0xca, 0x8d, 0x12, 0x33, 0x54, + 0xce, 0xd2, 0xd5, 0x50, 0xd2, 0x86, 0x65, 0xd1, 0x55, 0x38, 0x5d, 0x38, 0xdf, 0x16, 0xaa, 0xae, + 0x90, 0xa5, 0x6b, 0xec, 0x29, 0x79, 0xdc, 0x40, 0x12, 0x89, 0x60, 0x26, 0x82, 0x5e, 0xb4, 0x9b, + 0xff, 0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0x95, 0x1d, 0xab, 0xf6, 0x60, 0xbd, 0x15, 0xb1, + 0x14, 0x2a, 0xb5, 0xf4, 0x61, 0xf8, 0xc8, 0xa6, 0xb9, 0x33, 0x63, 0x71, 0xf3, 0x3c, 0x62, 0x66, + 0xca, 0x7e, 0x1f, 0x5c, 0x98, 0x46, 0x34, 0xb9, 0xc5, 0x61, 0xc6, 0x65, 0xba, 0x8b, 0x9c, 0x6e, + 0xb1, 0x35, 0xb2, 0x74, 0xb1, 0x55, 0x95, 0x95, 0x51, 0x98, 0xbe, 0x33, 0x42, 0x38, 0xf7, 0x19, + 0xf4, 0xbc, 0x56, 0xb2, 0x17, 0xe6, 0x46, 0x55, 0x60, 0x2f, 0x38, 0x6d, 0xc5, 0xff, 0xcc, 0x91, + 0x8d, 0x17, 0xe5, 0xab, 0xe8, 0xf2, 0x05, 0x14, 0x2f, 0x5d, 0xb8, 0x5f, 0xf2, 0xb0, 0xbc, 0xf2, + 0xb9, 0xdf, 0x78, 0xc3, 0x1e, 0x94, 0x2f, 0x0f, 0x8e, 0x07, 0x51, 0x39, 0x1c, 0xb4, 0x06, 0x87, + 0xc7, 0xd5, 0x6a, 0x1b, 0x6f, 0xc3, 0x93, 0xa3, 0xd1, 0xff, 0x2d, 0xc7, 0x67, 0xf5, 0x9f, 0x3f, + 0xe6, 0xaf, 0xa4, 0x00, 0x7f, 0xce, 0xaf, 0xa5, 0xf5, 0x65, 0xd0, 0x1f, 0x45, 0xf5, 0x31, 0x9c, + 0xba, 0xdb, 0x51, 0xf5, 0xe4, 0xe8, 0xef, 0x31, 0x60, 0x1f, 0xfa, 0xa3, 0xfd, 0x53, 0xc0, 0x7e, + 0x77, 0x7b, 0xbf, 0x06, 0xfc, 0x7e, 0xb5, 0x7a, 0xf8, 0xc9, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x3f, 0x5b, 0xb6, 0x2f, 0x94, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_error.pb.go new file mode 100644 index 000000000..4385f7ec8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_error.pb.go @@ -0,0 +1,173 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_group_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad group errors. +type AdGroupErrorEnum_AdGroupError int32 + +const ( + // Enum unspecified. + AdGroupErrorEnum_UNSPECIFIED AdGroupErrorEnum_AdGroupError = 0 + // The received error code is not known in this version. + AdGroupErrorEnum_UNKNOWN AdGroupErrorEnum_AdGroupError = 1 + // AdGroup with the same name already exists for the campaign. + AdGroupErrorEnum_DUPLICATE_ADGROUP_NAME AdGroupErrorEnum_AdGroupError = 2 + // AdGroup name is not valid. + AdGroupErrorEnum_INVALID_ADGROUP_NAME AdGroupErrorEnum_AdGroupError = 3 + // Advertiser is not allowed to target sites or set site bids that are not + // on the Google Search Network. + AdGroupErrorEnum_ADVERTISER_NOT_ON_CONTENT_NETWORK AdGroupErrorEnum_AdGroupError = 5 + // Bid amount is too big. + AdGroupErrorEnum_BID_TOO_BIG AdGroupErrorEnum_AdGroupError = 6 + // AdGroup bid does not match the campaign's bidding strategy. + AdGroupErrorEnum_BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH AdGroupErrorEnum_AdGroupError = 7 + // AdGroup name is required for Add. + AdGroupErrorEnum_MISSING_ADGROUP_NAME AdGroupErrorEnum_AdGroupError = 8 + // No link found between the ad group and the label. + AdGroupErrorEnum_ADGROUP_LABEL_DOES_NOT_EXIST AdGroupErrorEnum_AdGroupError = 9 + // The label has already been attached to the ad group. + AdGroupErrorEnum_ADGROUP_LABEL_ALREADY_EXISTS AdGroupErrorEnum_AdGroupError = 10 + // The CriterionTypeGroup is not supported for the content bid dimension. + AdGroupErrorEnum_INVALID_CONTENT_BID_CRITERION_TYPE_GROUP AdGroupErrorEnum_AdGroupError = 11 + // The ad group type is not compatible with the campaign channel type. + AdGroupErrorEnum_AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE AdGroupErrorEnum_AdGroupError = 12 + // The ad group type is not supported in the country of sale of the + // campaign. + AdGroupErrorEnum_ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY AdGroupErrorEnum_AdGroupError = 13 + // Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to + // campaigns that have DynamicSearchAdsSetting attached. + AdGroupErrorEnum_CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING AdGroupErrorEnum_AdGroupError = 14 +) + +var AdGroupErrorEnum_AdGroupError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DUPLICATE_ADGROUP_NAME", + 3: "INVALID_ADGROUP_NAME", + 5: "ADVERTISER_NOT_ON_CONTENT_NETWORK", + 6: "BID_TOO_BIG", + 7: "BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH", + 8: "MISSING_ADGROUP_NAME", + 9: "ADGROUP_LABEL_DOES_NOT_EXIST", + 10: "ADGROUP_LABEL_ALREADY_EXISTS", + 11: "INVALID_CONTENT_BID_CRITERION_TYPE_GROUP", + 12: "AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE", + 13: "ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY", + 14: "CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING", +} +var AdGroupErrorEnum_AdGroupError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DUPLICATE_ADGROUP_NAME": 2, + "INVALID_ADGROUP_NAME": 3, + "ADVERTISER_NOT_ON_CONTENT_NETWORK": 5, + "BID_TOO_BIG": 6, + "BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH": 7, + "MISSING_ADGROUP_NAME": 8, + "ADGROUP_LABEL_DOES_NOT_EXIST": 9, + "ADGROUP_LABEL_ALREADY_EXISTS": 10, + "INVALID_CONTENT_BID_CRITERION_TYPE_GROUP": 11, + "AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE": 12, + "ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY": 13, + "CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING": 14, +} + +func (x AdGroupErrorEnum_AdGroupError) String() string { + return proto.EnumName(AdGroupErrorEnum_AdGroupError_name, int32(x)) +} +func (AdGroupErrorEnum_AdGroupError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_error_19fdb626fdf61d89, []int{0, 0} +} + +// Container for enum describing possible ad group errors. +type AdGroupErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupErrorEnum) Reset() { *m = AdGroupErrorEnum{} } +func (m *AdGroupErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupErrorEnum) ProtoMessage() {} +func (*AdGroupErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_error_19fdb626fdf61d89, []int{0} +} +func (m *AdGroupErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupErrorEnum.Unmarshal(m, b) +} +func (m *AdGroupErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupErrorEnum.Merge(dst, src) +} +func (m *AdGroupErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupErrorEnum.Size(m) +} +func (m *AdGroupErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupErrorEnum)(nil), "google.ads.googleads.v0.errors.AdGroupErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdGroupErrorEnum_AdGroupError", AdGroupErrorEnum_AdGroupError_name, AdGroupErrorEnum_AdGroupError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_group_error.proto", fileDescriptor_ad_group_error_19fdb626fdf61d89) +} + +var fileDescriptor_ad_group_error_19fdb626fdf61d89 = []byte{ + // 515 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xe1, 0x8a, 0xd3, 0x4c, + 0x14, 0xfd, 0xda, 0xdd, 0x6f, 0x57, 0xa7, 0xab, 0x8e, 0x83, 0x88, 0x88, 0x2c, 0x5a, 0x50, 0x44, + 0x24, 0x2d, 0xac, 0x82, 0x22, 0x08, 0x37, 0x99, 0x69, 0x3a, 0x6c, 0x3a, 0x13, 0x66, 0x26, 0xad, + 0x95, 0xc2, 0x50, 0x4d, 0x09, 0xc2, 0x6e, 0x53, 0x12, 0x77, 0x5f, 0xc2, 0x97, 0x10, 0x7f, 0xfa, + 0x22, 0x82, 0x4f, 0x25, 0x93, 0x31, 0xdd, 0x5d, 0x44, 0x7f, 0xe5, 0xce, 0x99, 0x73, 0xee, 0x39, + 0x49, 0x0e, 0x3a, 0x2a, 0xca, 0xb2, 0x38, 0x59, 0x0d, 0x96, 0x79, 0x3d, 0xf0, 0xa3, 0x9b, 0xce, + 0x87, 0x83, 0x55, 0x55, 0x95, 0x55, 0x3d, 0x58, 0xe6, 0xb6, 0xa8, 0xca, 0xb3, 0x8d, 0x6d, 0xce, + 0xc1, 0xa6, 0x2a, 0x3f, 0x97, 0xe4, 0xd0, 0x33, 0x83, 0x65, 0x5e, 0x07, 0x5b, 0x51, 0x70, 0x3e, + 0x0c, 0xbc, 0xa8, 0xff, 0x75, 0x17, 0x61, 0xc8, 0x63, 0xa7, 0x63, 0x0e, 0x61, 0xeb, 0xb3, 0xd3, + 0xfe, 0x97, 0x5d, 0x74, 0x70, 0x19, 0x24, 0xb7, 0x50, 0x2f, 0x13, 0x3a, 0x65, 0x11, 0x1f, 0x71, + 0x46, 0xf1, 0x7f, 0xa4, 0x87, 0xf6, 0x33, 0x71, 0x2c, 0xe4, 0x4c, 0xe0, 0x0e, 0xb9, 0x8f, 0xee, + 0xd2, 0x2c, 0x4d, 0x78, 0x04, 0x86, 0x59, 0xa0, 0xb1, 0x92, 0x59, 0x6a, 0x05, 0x4c, 0x18, 0xee, + 0x92, 0x7b, 0xe8, 0x0e, 0x17, 0x53, 0x48, 0x38, 0xbd, 0x7a, 0xb3, 0x43, 0x1e, 0xa3, 0x47, 0x40, + 0xa7, 0x4c, 0x19, 0xae, 0x99, 0xb2, 0x42, 0x1a, 0x2b, 0x85, 0x8d, 0xa4, 0x30, 0x4c, 0x18, 0x2b, + 0x98, 0x99, 0x49, 0x75, 0x8c, 0xff, 0x77, 0xd6, 0x21, 0xa7, 0xd6, 0x48, 0x69, 0x43, 0x1e, 0xe3, + 0x3d, 0xf2, 0x0c, 0x3d, 0x69, 0x80, 0x79, 0xca, 0x2c, 0x08, 0x6a, 0x43, 0x4e, 0x29, 0x17, 0xb1, + 0xd5, 0x46, 0x81, 0x61, 0xf1, 0xdc,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, 0xa0, 0xac, 0x8a, 0x41, + 0xb1, 0x5a, 0x37, 0xd5, 0x6c, 0x3b, 0xbc, 0xf9, 0x54, 0xff, 0xad, 0xd2, 0x6f, 0xfc, 0xe3, 0x5b, + 0x77, 0x27, 0x06, 0xf8, 0xde, 0x3d, 0x8c, 0xfd, 0x32, 0xc8, 0xeb, 0xc0, 0x8f, 0x6e, 0x9a, 0x0e, + 0x83, 0xc6, 0xb2, 0xfe, 0xd9, 0x12, 0x16, 0x90, 0xd7, 0x8b, 0x2d, 0x61, 0x31, 0x1d, 0x2e, 0x3c, + 0xe1, 0xc3, 0x5e, 0x63, 0x7c, 0xf4, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x21, 0x87, 0x0e, 0x4a, + 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_feed_error.pb.go new file mode 100644 index 000000000..f91f50815 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_group_feed_error.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_group_feed_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad group feed errors. +type AdGroupFeedErrorEnum_AdGroupFeedError int32 + +const ( + // Enum unspecified. + AdGroupFeedErrorEnum_UNSPECIFIED AdGroupFeedErrorEnum_AdGroupFeedError = 0 + // The received error code is not known in this version. + AdGroupFeedErrorEnum_UNKNOWN AdGroupFeedErrorEnum_AdGroupFeedError = 1 + // An active feed already exists for this ad group and place holder type. + AdGroupFeedErrorEnum_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE AdGroupFeedErrorEnum_AdGroupFeedError = 2 + // The specified feed is removed. + AdGroupFeedErrorEnum_CANNOT_CREATE_FOR_REMOVED_FEED AdGroupFeedErrorEnum_AdGroupFeedError = 3 + // The AdGroupFeed already exists. UPDATE operation should be used to modify + // the existing AdGroupFeed. + AdGroupFeedErrorEnum_ADGROUP_FEED_ALREADY_EXISTS AdGroupFeedErrorEnum_AdGroupFeedError = 4 + // Cannot operate on removed AdGroupFeed. + AdGroupFeedErrorEnum_CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED AdGroupFeedErrorEnum_AdGroupFeedError = 5 + // Invalid placeholder type. + AdGroupFeedErrorEnum_INVALID_PLACEHOLDER_TYPE AdGroupFeedErrorEnum_AdGroupFeedError = 6 + // Feed mapping for this placeholder type does not exist. + AdGroupFeedErrorEnum_MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE AdGroupFeedErrorEnum_AdGroupFeedError = 7 + // Location AdGroupFeeds cannot be created unless there is a location + // CustomerFeed for the specified feed. + AdGroupFeedErrorEnum_NO_EXISTING_LOCATION_CUSTOMER_FEED AdGroupFeedErrorEnum_AdGroupFeedError = 8 +) + +var AdGroupFeedErrorEnum_AdGroupFeedError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", + 3: "CANNOT_CREATE_FOR_REMOVED_FEED", + 4: "ADGROUP_FEED_ALREADY_EXISTS", + 5: "CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED", + 6: "INVALID_PLACEHOLDER_TYPE", + 7: "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", + 8: "NO_EXISTING_LOCATION_CUSTOMER_FEED", +} +var AdGroupFeedErrorEnum_AdGroupFeedError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 2, + "CANNOT_CREATE_FOR_REMOVED_FEED": 3, + "ADGROUP_FEED_ALREADY_EXISTS": 4, + "CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED": 5, + "INVALID_PLACEHOLDER_TYPE": 6, + "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE": 7, + "NO_EXISTING_LOCATION_CUSTOMER_FEED": 8, +} + +func (x AdGroupFeedErrorEnum_AdGroupFeedError) String() string { + return proto.EnumName(AdGroupFeedErrorEnum_AdGroupFeedError_name, int32(x)) +} +func (AdGroupFeedErrorEnum_AdGroupFeedError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_error_c3514b578457331e, []int{0, 0} +} + +// Container for enum describing possible ad group feed errors. +type AdGroupFeedErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupFeedErrorEnum) Reset() { *m = AdGroupFeedErrorEnum{} } +func (m *AdGroupFeedErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdGroupFeedErrorEnum) ProtoMessage() {} +func (*AdGroupFeedErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_error_c3514b578457331e, []int{0} +} +func (m *AdGroupFeedErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupFeedErrorEnum.Unmarshal(m, b) +} +func (m *AdGroupFeedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupFeedErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdGroupFeedErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupFeedErrorEnum.Merge(dst, src) +} +func (m *AdGroupFeedErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdGroupFeedErrorEnum.Size(m) +} +func (m *AdGroupFeedErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupFeedErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupFeedErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdGroupFeedErrorEnum)(nil), "google.ads.googleads.v0.errors.AdGroupFeedErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdGroupFeedErrorEnum_AdGroupFeedError", AdGroupFeedErrorEnum_AdGroupFeedError_name, AdGroupFeedErrorEnum_AdGroupFeedError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_group_feed_error.proto", fileDescriptor_ad_group_feed_error_c3514b578457331e) +} + +var fileDescriptor_ad_group_feed_error_c3514b578457331e = []byte{ + // 406 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x8a, 0xd4, 0x30, + 0x18, 0x85, 0x9d, 0xae, 0xee, 0x4a, 0xf6, 0xc2, 0x12, 0x14, 0x04, 0x65, 0x84, 0x5e, 0x2c, 0x22, + 0x92, 0x0e, 0x78, 0x23, 0x78, 0x95, 0x6d, 0xfe, 0xa9, 0xc1, 0x4e, 0x12, 0xd2, 0x4e, 0x75, 0xa5, + 0x10, 0xaa, 0xa9, 0x45, 0xd8, 0x9d, 0x0c, 0xad, 0xbb, 0x0f, 0xe4, 0xa5, 0xaf, 0xe1, 0x9d, 0xbe, + 0x82, 0x0f, 0x23, 0x69, 0x76, 0x07, 0x59, 0x57, 0xaf, 0x7a, 0x48, 0xbf, 0x73, 0xfe, 0x43, 0xfe, + 0xa0, 0x97, 0xbd, 0x73, 0xfd, 0x69, 0x97, 0xb6, 0x76, 0x4c, 0x83, 0xf4, 0xea, 0x62, 0x91, 0x76, + 0xc3, 0xe0, 0x86, 0x31, 0x6d, 0xad, 0xe9, 0x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07, 0xf8, 0x08, + 0x25, 0x42, 0x86, 0x1a, 0x9e, 0x2a, 0x64, 0x46, 0x2b, 0x2e, 0x85, 0xc9, 0xd6, 0x65, 0x25, 0x57, + 0xa0, 0xc3, 0xcc, 0xbb, 0xc7, 0x3f, 0x67, 0x28, 0xf9, 0xe8, 0xce, 0xc8, 0xff, 0xb7, 0x70, 0xfc, + 0xe0, 0xfa, 0x4d, 0x2b, 0xbf, 0x3c, 0x35, 0x7b, 0xcf, 0x2e, 0x8d, 0xbd, 0x3b, 0x6d, 0x37, 0x3d, + 0x71, 0x43, 0x9f, 0xf6, 0xdd, 0x66, 0x5a, 0xed, 0xd5, 0x43, 0xd8, 0x7e, 0x1e, 0xff, 0xf5, 0x2e, + 0x5e, 0x85, 0xcf, 0xd7, 0x68, 0x2f, 0xa7, 0xf4, 0x5b, 0x34, 0xcf, 0x43, 0x18, 0xb5, 0x23, 0x09, + 0xd2, 0xab, 0x7a, 0x41, 0xa6, 0x91, 0xe3, 0x8f, 0x2b, 0xa0, 0xa1, 0x76, 0x6c, 0x76, 0x40, 0x53, + 0x2f, 0x9a, 0x00, 0x7c, 0xd8, 0x9f, 0x06, 0xbf, 0xf8, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x87, 0x97, + 0x7a, 0x4d, 0x8f, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_sharing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_sharing_error.pb.go new file mode 100644 index 000000000..d4fa6bd2a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/ad_sharing_error.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/ad_sharing_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible ad sharing errors. +type AdSharingErrorEnum_AdSharingError int32 + +const ( + // Enum unspecified. + AdSharingErrorEnum_UNSPECIFIED AdSharingErrorEnum_AdSharingError = 0 + // The received error code is not known in this version. + AdSharingErrorEnum_UNKNOWN AdSharingErrorEnum_AdSharingError = 1 + // Error resulting in attempting to add an Ad to an AdGroup that already + // contains the Ad. + AdSharingErrorEnum_AD_GROUP_ALREADY_CONTAINS_AD AdSharingErrorEnum_AdSharingError = 2 + // Ad is not compatible with the AdGroup it is being shared with. + AdSharingErrorEnum_INCOMPATIBLE_AD_UNDER_AD_GROUP AdSharingErrorEnum_AdSharingError = 3 + // Cannot add AdGroupAd on inactive Ad. + AdSharingErrorEnum_CANNOT_SHARE_INACTIVE_AD AdSharingErrorEnum_AdSharingError = 4 +) + +var AdSharingErrorEnum_AdSharingError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AD_GROUP_ALREADY_CONTAINS_AD", + 3: "INCOMPATIBLE_AD_UNDER_AD_GROUP", + 4: "CANNOT_SHARE_INACTIVE_AD", +} +var AdSharingErrorEnum_AdSharingError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AD_GROUP_ALREADY_CONTAINS_AD": 2, + "INCOMPATIBLE_AD_UNDER_AD_GROUP": 3, + "CANNOT_SHARE_INACTIVE_AD": 4, +} + +func (x AdSharingErrorEnum_AdSharingError) String() string { + return proto.EnumName(AdSharingErrorEnum_AdSharingError_name, int32(x)) +} +func (AdSharingErrorEnum_AdSharingError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_ad_sharing_error_1f026b2ad4c0cf9b, []int{0, 0} +} + +// Container for enum describing possible ad sharing errors. +type AdSharingErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdSharingErrorEnum) Reset() { *m = AdSharingErrorEnum{} } +func (m *AdSharingErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdSharingErrorEnum) ProtoMessage() {} +func (*AdSharingErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_sharing_error_1f026b2ad4c0cf9b, []int{0} +} +func (m *AdSharingErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdSharingErrorEnum.Unmarshal(m, b) +} +func (m *AdSharingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdSharingErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdSharingErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdSharingErrorEnum.Merge(dst, src) +} +func (m *AdSharingErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdSharingErrorEnum.Size(m) +} +func (m *AdSharingErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdSharingErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdSharingErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdSharingErrorEnum)(nil), "google.ads.googleads.v0.errors.AdSharingErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdSharingErrorEnum_AdSharingError", AdSharingErrorEnum_AdSharingError_name, AdSharingErrorEnum_AdSharingError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/ad_sharing_error.proto", fileDescriptor_ad_sharing_error_1f026b2ad4c0cf9b) +} + +var fileDescriptor_ad_sharing_error_1f026b2ad4c0cf9b = []byte{ + // 322 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xf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, 0x49, 0xa0, 0x32, 0x17, 0x94, 0x25, 0x72, 0xeb, 0xb9, 0x7d, + 0x3c, 0x44, 0xc7, 0x21, 0x08, 0x11, 0x65, 0x32, 0xbd, 0x84, 0x84, 0x49, 0x2e, 0x20, 0xcc, 0xf8, + 0xac, 0x85, 0xdd, 0xbf, 0xe3, 0x0f, 0x07, 0x79, 0x0f, 0x7a, 0x45, 0x7e, 0xff, 0xd2, 0xf8, 0x68, + 0xff, 0xe1, 0x71, 0xdb, 0x43, 0xec, 0xdc, 0xd1, 0x6f, 0x4d, 0xe9, 0x65, 0x59, 0x2b, 0xa2, 0x1b, + 0xe5, 0xab, 0x79, 0xdd, 0xb5, 0xb4, 0x2d, 0x74, 0xbd, 0x30, 0x3f, 0xf5, 0x7b, 0x6e, 0x8f, 0xd7, + 0x5e, 0x7f, 0x02, 0xf0, 0xde, 0x1b, 0x4d, 0xec, 0x65, 0x50, 0x19, 0x62, 0x63, 0x9b, 0x66, 0x01, + 0xe9, 0x56, 0x9a, 0xcf, 0x2d, 0x50, 0x40, 0x65, 0x8a, 0x1d, 0x50, 0xcc, 0x82, 0xc2, 0x02, 0xf7, + 0xff, 0xba, 0xc5, 0xa7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x38, 0xb7, 0x41, 0xd7, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/adx_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/adx_error.pb.go new file mode 100644 index 000000000..9629ffbc0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/adx_error.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/adx_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible adx errors. +type AdxErrorEnum_AdxError int32 + +const ( + // Enum unspecified. + AdxErrorEnum_UNSPECIFIED AdxErrorEnum_AdxError = 0 + // The received error code is not known in this version. + AdxErrorEnum_UNKNOWN AdxErrorEnum_AdxError = 1 + // Attempt to use non-AdX feature by AdX customer. + AdxErrorEnum_UNSUPPORTED_FEATURE AdxErrorEnum_AdxError = 2 +) + +var AdxErrorEnum_AdxError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "UNSUPPORTED_FEATURE", +} +var AdxErrorEnum_AdxError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "UNSUPPORTED_FEATURE": 2, +} + +func (x AdxErrorEnum_AdxError) String() string { + return proto.EnumName(AdxErrorEnum_AdxError_name, int32(x)) +} +func (AdxErrorEnum_AdxError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_adx_error_4966203c5ec48a3a, []int{0, 0} +} + +// Container for enum describing possible adx errors. +type AdxErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdxErrorEnum) Reset() { *m = AdxErrorEnum{} } +func (m *AdxErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AdxErrorEnum) ProtoMessage() {} +func (*AdxErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_adx_error_4966203c5ec48a3a, []int{0} +} +func (m *AdxErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdxErrorEnum.Unmarshal(m, b) +} +func (m *AdxErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdxErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AdxErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdxErrorEnum.Merge(dst, src) +} +func (m *AdxErrorEnum) XXX_Size() int { + return xxx_messageInfo_AdxErrorEnum.Size(m) +} +func (m *AdxErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AdxErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AdxErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AdxErrorEnum)(nil), "google.ads.googleads.v0.errors.AdxErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AdxErrorEnum_AdxError", AdxErrorEnum_AdxError_name, AdxErrorEnum_AdxError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/adx_error.proto", fileDescriptor_adx_error_4966203c5ec48a3a) +} + +var fileDescriptor_adx_error_4966203c5ec48a3a = []byte{ + // 253 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xc4, 0x94, 0x8a, 0x78, 0x30, 0x53, 0xaf, 0xa0, 0x28, 0xbf, 0x24, + 0x5f, 0x48, 0x0e, 0xa2, 0x48, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x5e, 0xaf, 0xcc, 0x40, 0x0f, + 0xa2, 0x5e, 0x29, 0x90, 0x8b, 0xc7, 0x31, 0xa5, 0xc2, 0x15, 0xc4, 0x71, 0xcd, 0x2b, 0xcd, 0x55, + 0x72, 0xe4, 0xe2, 0x80, 0xf1, 0x85, 0xf8, 0xb9, 0xb8, 0x43, 0xfd, 0x82, 0x03, 0x5c, 0x9d, 0x3d, + 0xdd, 0x3c, 0x5d, 0x5d, 0x04, 0x18, 0x84, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, + 0xfd, 0x04, 0x18, 0x85, 0xc4, 0xb9, 0x84, 0x43, 0xfd, 0x82, 0x43, 0x03, 0x02, 0xfc, 0x83, 0x42, + 0x5c, 0x5d, 0xe2, 0xdd, 0x5c, 0x1d, 0x43, 0x42, 0x83, 0x5c, 0x05, 0x98, 0x9c, 0x0e, 0x33, 0x72, + 0x29, 0x25, 0xe7, 0xe7, 0xea, 0xe1, 0xb7, 0xd9, 0x89, 0x17, 0x66, 0x4f, 0x00, 0xc8, 0xa1, 0x01, + 0x8c, 0x51, 0x2e, 0x50, 0x0d, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, + 0xe9, 0xa9, 0x79, 0x60, 0x6f, 0xc0, 0xbc, 0x5a, 0x90, 0x59, 0x8c, 0xcb, 0xe7, 0xd6, 0x10, 0x6a, + 0x11, 0x13, 0xb3, 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x39, 0x77, 0x88, 0x61, 0x8e, 0x29, 0xc5, 0x7a, + 0x10, 0x26, 0x88, 0x15, 0x66, 0xa0, 0x07, 0xb6, 0xb2, 0xf8, 0x14, 0x4c, 0x41, 0x8c, 0x63, 0x4a, + 0x71, 0x0c, 0x5c, 0x41, 0x4c, 0x98, 0x41, 0x0c, 0x44, 0x41, 0x12, 0x1b, 0xd8, 0x62, 0x63, 0x40, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x54, 0xbf, 0x75, 0xe3, 0x71, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authentication_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authentication_error.pb.go new file mode 100644 index 000000000..5dd8481d0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authentication_error.pb.go @@ -0,0 +1,199 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/authentication_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible authentication errors. +type AuthenticationErrorEnum_AuthenticationError int32 + +const ( + // Enum unspecified. + AuthenticationErrorEnum_UNSPECIFIED AuthenticationErrorEnum_AuthenticationError = 0 + // The received error code is not known in this version. + AuthenticationErrorEnum_UNKNOWN AuthenticationErrorEnum_AuthenticationError = 1 + // Authentication of the request failed. + AuthenticationErrorEnum_AUTHENTICATION_ERROR AuthenticationErrorEnum_AuthenticationError = 2 + // Client Customer Id is not a number. + AuthenticationErrorEnum_CLIENT_CUSTOMER_ID_INVALID AuthenticationErrorEnum_AuthenticationError = 5 + // No customer found for the provided customer id. + AuthenticationErrorEnum_CUSTOMER_NOT_FOUND AuthenticationErrorEnum_AuthenticationError = 8 + // Client's Google Account is deleted. + AuthenticationErrorEnum_GOOGLE_ACCOUNT_DELETED AuthenticationErrorEnum_AuthenticationError = 9 + // Google account login token in the cookie is invalid. + AuthenticationErrorEnum_GOOGLE_ACCOUNT_COOKIE_INVALID AuthenticationErrorEnum_AuthenticationError = 10 + // A problem occurred during Google account authentication. + AuthenticationErrorEnum_GOOGLE_ACCOUNT_AUTHENTICATION_FAILED AuthenticationErrorEnum_AuthenticationError = 25 + // The user in the google account login token does not match the UserId in + // the cookie. + AuthenticationErrorEnum_GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH AuthenticationErrorEnum_AuthenticationError = 12 + // Login cookie is required for authentication. + AuthenticationErrorEnum_LOGIN_COOKIE_REQUIRED AuthenticationErrorEnum_AuthenticationError = 13 + // User in the cookie is not a valid Ads user. + AuthenticationErrorEnum_NOT_ADS_USER AuthenticationErrorEnum_AuthenticationError = 14 + // Oauth token in the header is not valid. + AuthenticationErrorEnum_OAUTH_TOKEN_INVALID AuthenticationErrorEnum_AuthenticationError = 15 + // Oauth token in the header has expired. + AuthenticationErrorEnum_OAUTH_TOKEN_EXPIRED AuthenticationErrorEnum_AuthenticationError = 16 + // Oauth token in the header has been disabled. + AuthenticationErrorEnum_OAUTH_TOKEN_DISABLED AuthenticationErrorEnum_AuthenticationError = 17 + // Oauth token in the header has been revoked. + AuthenticationErrorEnum_OAUTH_TOKEN_REVOKED AuthenticationErrorEnum_AuthenticationError = 18 + // Oauth token HTTP header is malformed. + AuthenticationErrorEnum_OAUTH_TOKEN_HEADER_INVALID AuthenticationErrorEnum_AuthenticationError = 19 + // Login cookie is not valid. + AuthenticationErrorEnum_LOGIN_COOKIE_INVALID AuthenticationErrorEnum_AuthenticationError = 20 + // User Id in the header is not a valid id. + AuthenticationErrorEnum_USER_ID_INVALID AuthenticationErrorEnum_AuthenticationError = 22 + // An account administrator changed this account's authentication settings. + // To access this Google Ads account, enable 2-Step Verification in your + // Google account at https://www.google.com/landing/2step. + AuthenticationErrorEnum_TWO_STEP_VERIFICATION_NOT_ENROLLED AuthenticationErrorEnum_AuthenticationError = 23 + // An account administrator changed this account's authentication settings. + // To access this Google Ads account, enable Advanced Protection in your + // Google account at https://landing.google.com/advancedprotection. + AuthenticationErrorEnum_ADVANCED_PROTECTION_NOT_ENROLLED AuthenticationErrorEnum_AuthenticationError = 24 +) + +var AuthenticationErrorEnum_AuthenticationError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "AUTHENTICATION_ERROR", + 5: "CLIENT_CUSTOMER_ID_INVALID", + 8: "CUSTOMER_NOT_FOUND", + 9: "GOOGLE_ACCOUNT_DELETED", + 10: "GOOGLE_ACCOUNT_COOKIE_INVALID", + 25: "GOOGLE_ACCOUNT_AUTHENTICATION_FAILED", + 12: "GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH", + 13: "LOGIN_COOKIE_REQUIRED", + 14: "NOT_ADS_USER", + 15: "OAUTH_TOKEN_INVALID", + 16: "OAUTH_TOKEN_EXPIRED", + 17: "OAUTH_TOKEN_DISABLED", + 18: "OAUTH_TOKEN_REVOKED", + 19: "OAUTH_TOKEN_HEADER_INVALID", + 20: "LOGIN_COOKIE_INVALID", + 22: "USER_ID_INVALID", + 23: "TWO_STEP_VERIFICATION_NOT_ENROLLED", + 24: "ADVANCED_PROTECTION_NOT_ENROLLED", +} +var AuthenticationErrorEnum_AuthenticationError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "AUTHENTICATION_ERROR": 2, + "CLIENT_CUSTOMER_ID_INVALID": 5, + "CUSTOMER_NOT_FOUND": 8, + "GOOGLE_ACCOUNT_DELETED": 9, + "GOOGLE_ACCOUNT_COOKIE_INVALID": 10, + "GOOGLE_ACCOUNT_AUTHENTICATION_FAILED": 25, + "GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH": 12, + "LOGIN_COOKIE_REQUIRED": 13, + "NOT_ADS_USER": 14, + "OAUTH_TOKEN_INVALID": 15, + "OAUTH_TOKEN_EXPIRED": 16, + "OAUTH_TOKEN_DISABLED": 17, + "OAUTH_TOKEN_REVOKED": 18, + "OAUTH_TOKEN_HEADER_INVALID": 19, + "LOGIN_COOKIE_INVALID": 20, + "USER_ID_INVALID": 22, + "TWO_STEP_VERIFICATION_NOT_ENROLLED": 23, + "ADVANCED_PROTECTION_NOT_ENROLLED": 24, +} + +func (x AuthenticationErrorEnum_AuthenticationError) String() string { + return proto.EnumName(AuthenticationErrorEnum_AuthenticationError_name, int32(x)) +} +func (AuthenticationErrorEnum_AuthenticationError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_authentication_error_8d31aef746d95263, []int{0, 0} +} + +// Container for enum describing possible authentication errors. +type AuthenticationErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AuthenticationErrorEnum) Reset() { *m = AuthenticationErrorEnum{} } +func (m *AuthenticationErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AuthenticationErrorEnum) ProtoMessage() {} +func (*AuthenticationErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_authentication_error_8d31aef746d95263, []int{0} +} +func (m *AuthenticationErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AuthenticationErrorEnum.Unmarshal(m, b) +} +func (m *AuthenticationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AuthenticationErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AuthenticationErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthenticationErrorEnum.Merge(dst, src) +} +func (m *AuthenticationErrorEnum) XXX_Size() int { + return xxx_messageInfo_AuthenticationErrorEnum.Size(m) +} +func (m *AuthenticationErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AuthenticationErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AuthenticationErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AuthenticationErrorEnum)(nil), "google.ads.googleads.v0.errors.AuthenticationErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AuthenticationErrorEnum_AuthenticationError", AuthenticationErrorEnum_AuthenticationError_name, AuthenticationErrorEnum_AuthenticationError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/authentication_error.proto", fileDescriptor_authentication_error_8d31aef746d95263) +} + +var fileDescriptor_authentication_error_8d31aef746d95263 = []byte{ + // 524 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 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x20, 0x35, 0x54, 0xcd, 0x8e, 0xb7, 0xf5, 0x43, 0xea, 0xe4, + 0x15, 0x6a, 0xeb, 0x13, 0x69, 0x02, 0x0d, 0xbe, 0x89, 0x40, 0xf1, 0x7e, 0x31, 0x31, 0x7b, 0x36, + 0x10, 0x4a, 0x7a, 0x36, 0x4f, 0x83, 0x1c, 0xa3, 0x17, 0x94, 0x45, 0x54, 0xb8, 0xc0, 0x8c, 0xaf, + 0xa4, 0x06, 0xf7, 0x6f, 0x56, 0xb3, 0xf7, 0x6b, 0x07, 0xb5, 0x4f, 0x93, 0x73, 0xe7, 0xff, 0x1b, + 0xd9, 0x6b, 0xde, 0xb2, 0x72, 0xbe, 0xdd, 0x65, 0x7f, 0xe7, 0x33, 0xbb, 0xd6, 0xc6, 0xc9, 0xd9, + 0x74, 0x19, 0x3b, 0xc9, 0x2a, 0xee, 0xc4, 0xf3, 0x65, 0xb6, 0xe9, 0xc5, 0xc5, 0xb8, 0x58, 0xa4, + 0xff, 0xba, 0x27, 0x1f, 0xf2, 0xc7, 0xb7, 0xca, 0xdd, 0x01, 0xa5, 0xdf, 0x2b, 0xad, 0x41, 0xde, + 0x8c, 0xce, 0x52, 0x27, 0x2f, 0x6d, 0x15, 0x75, 0x9d, 0xcc, 0x32, 0xfd, 0x51, 0x10, 0x26, 0x74, + 0x96, 0x4e, 0x36, 0x84, 0x49, 0xd4, 0x9d, 0xe4, 0x84, 0x2f, 0xf7, 0x33, 0xe3, 0x77, 0x7f, 0x02, + 0x00, 0x00, 0xff, 0xff, 0xa3, 0x01, 0xf3, 0x55, 0x9f, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authorization_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authorization_error.pb.go new file mode 100644 index 000000000..f0d3f0649 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/authorization_error.pb.go @@ -0,0 +1,144 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/authorization_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible authorization errors. +type AuthorizationErrorEnum_AuthorizationError int32 + +const ( + // Enum unspecified. + AuthorizationErrorEnum_UNSPECIFIED AuthorizationErrorEnum_AuthorizationError = 0 + // The received error code is not known in this version. + AuthorizationErrorEnum_UNKNOWN AuthorizationErrorEnum_AuthorizationError = 1 + // User doesn't have permission to access customer. + AuthorizationErrorEnum_USER_PERMISSION_DENIED AuthorizationErrorEnum_AuthorizationError = 2 + // The developer token is not whitelisted. + AuthorizationErrorEnum_DEVELOPER_TOKEN_NOT_WHITELISTED AuthorizationErrorEnum_AuthorizationError = 3 + // The developer token is not allowed with the project sent in the request. + AuthorizationErrorEnum_DEVELOPER_TOKEN_PROHIBITED AuthorizationErrorEnum_AuthorizationError = 4 + // The Google Cloud project sent in the request does not have permission to + // access the api. + AuthorizationErrorEnum_PROJECT_DISABLED AuthorizationErrorEnum_AuthorizationError = 5 + // Authorization of the client failed. + AuthorizationErrorEnum_AUTHORIZATION_ERROR AuthorizationErrorEnum_AuthorizationError = 6 + // The user does not have permission to perform this action + // (e.g., ADD, UPDATE, REMOVE) on the resource or call a method. + AuthorizationErrorEnum_ACTION_NOT_PERMITTED AuthorizationErrorEnum_AuthorizationError = 7 + // Signup not complete. + AuthorizationErrorEnum_INCOMPLETE_SIGNUP AuthorizationErrorEnum_AuthorizationError = 8 +) + +var AuthorizationErrorEnum_AuthorizationError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "USER_PERMISSION_DENIED", + 3: "DEVELOPER_TOKEN_NOT_WHITELISTED", + 4: "DEVELOPER_TOKEN_PROHIBITED", + 5: "PROJECT_DISABLED", + 6: "AUTHORIZATION_ERROR", + 7: "ACTION_NOT_PERMITTED", + 8: "INCOMPLETE_SIGNUP", +} +var AuthorizationErrorEnum_AuthorizationError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "USER_PERMISSION_DENIED": 2, + "DEVELOPER_TOKEN_NOT_WHITELISTED": 3, + "DEVELOPER_TOKEN_PROHIBITED": 4, + "PROJECT_DISABLED": 5, + "AUTHORIZATION_ERROR": 6, + "ACTION_NOT_PERMITTED": 7, + "INCOMPLETE_SIGNUP": 8, +} + +func (x AuthorizationErrorEnum_AuthorizationError) String() string { + return proto.EnumName(AuthorizationErrorEnum_AuthorizationError_name, int32(x)) +} +func (AuthorizationErrorEnum_AuthorizationError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_authorization_error_bfcafdfe999de0f1, []int{0, 0} +} + +// Container for enum describing possible authorization errors. +type AuthorizationErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AuthorizationErrorEnum) Reset() { *m = AuthorizationErrorEnum{} } +func (m *AuthorizationErrorEnum) String() string { return proto.CompactTextString(m) } +func (*AuthorizationErrorEnum) ProtoMessage() {} +func (*AuthorizationErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_authorization_error_bfcafdfe999de0f1, []int{0} +} +func (m *AuthorizationErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AuthorizationErrorEnum.Unmarshal(m, b) +} +func (m *AuthorizationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AuthorizationErrorEnum.Marshal(b, m, deterministic) +} +func (dst *AuthorizationErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthorizationErrorEnum.Merge(dst, src) +} +func (m *AuthorizationErrorEnum) XXX_Size() int { + return xxx_messageInfo_AuthorizationErrorEnum.Size(m) +} +func (m *AuthorizationErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_AuthorizationErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_AuthorizationErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AuthorizationErrorEnum)(nil), "google.ads.googleads.v0.errors.AuthorizationErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.AuthorizationErrorEnum_AuthorizationError", AuthorizationErrorEnum_AuthorizationError_name, AuthorizationErrorEnum_AuthorizationError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/authorization_error.proto", fileDescriptor_authorization_error_bfcafdfe999de0f1) +} + +var fileDescriptor_authorization_error_bfcafdfe999de0f1 = []byte{ + // 390 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6e, 0xd4, 0x30, + 0x10, 0x86, 0x49, 0x0a, 0x2d, 0x72, 0x0f, 0x04, 0x53, 0x5a, 0xd4, 0xc3, 0x22, 0x2d, 0x77, 0x27, + 0x12, 0x17, 0x24, 0x4e, 0x4e, 0x32, 0xec, 0x9a, 0xa6, 0xb6, 0xe5, 0x38, 0x5b, 0xa9, 0x8a, 0x64, + 0x05, 0xb2, 0x0a, 0x2b, 0xb5, 0x71, 0x95, 0x6c, 0xf7, 0xc0, 0x43, 0xf0, 0x10, 0x1c, 0x79, 0x14, + 0x24, 0x9e, 0x86, 0x17, 0x40, 0x4e, 0xd8, 0x15, 0x62, 0x05, 0x27, 0xff, 0x9a, 0xf9, 0xfe, 0xf9, + 0xad, 0x19, 0xf4, 0xa6, 0xb1, 0xb6, 0xb9, 0x59, 0x86, 0x55, 0xdd, 0x87, 0xa3, 0x74, 0x6a, 0x13, + 0x85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, 0xf4, 0x94, 0xf1, 0x44, 0x5c, 0xca, 0x0c, 0x34, 0x98, 0x9c, + 0xcd, 0x78, 0x21, 0x83, 0xc7, 0xf1, 0x0f, 0x0f, 0x4d, 0x3f, 0xda, 0x5b, 0xf2, 0xff, 0xbd, 0xc5, + 0x67, 0xfb, 0x9b, 0x91, 0x6e, 0xe1, 0xd2, 0xbb, 0x4e, 0x7f, 0x5b, 0x1b, 0x7b, 0x53, 0xb5, 0x0d, + 0xb1, 0x5d, 0x13, 0x36, 0xcb, 0x76, 0x38, 0xc7, 0xf6, 0x78, 0x77, 0xab, 0xfe, 0x5f, 0xb7, 0x7c, + 0x3b, 0x3e, 0x5f, 0xfd, 0x83, 0x19, 0xa5, 0xdf, 0xfc, 0xc9, 0x6c, 0x1c, 0x46, 0xeb, 0x9e, 0x8c, + 0xd2, 0xa9, 0x45, 0x44, 0x86, 0xc8, 0xfe, 0xfb, 0x16, 0x28, 0x69, 0xdd, 0x97, 0x3b, 0xa0, 0x5c, + 0x44, 0xe5, 0x08, 0x7c, 0x38, 0x1c, 0x82, 0x5f, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x28, 0x0d, + 0x58, 0xa5, 0x43, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_error.pb.go new file mode 100644 index 000000000..de4e9ed08 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_error.pb.go @@ -0,0 +1,215 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/bidding_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible bidding errors. +type BiddingErrorEnum_BiddingError int32 + +const ( + // Enum unspecified. + BiddingErrorEnum_UNSPECIFIED BiddingErrorEnum_BiddingError = 0 + // The received error code is not known in this version. + BiddingErrorEnum_UNKNOWN BiddingErrorEnum_BiddingError = 1 + // Cannot transition to new bidding strategy. + BiddingErrorEnum_BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED BiddingErrorEnum_BiddingError = 2 + // Cannot attach bidding strategy to campaign. + BiddingErrorEnum_CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN BiddingErrorEnum_BiddingError = 7 + // Bidding strategy is not supported or cannot be used as anonymous. + BiddingErrorEnum_INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE BiddingErrorEnum_BiddingError = 10 + // The type does not match the named strategy's type. + BiddingErrorEnum_INVALID_BIDDING_STRATEGY_TYPE BiddingErrorEnum_BiddingError = 14 + // The bid is invalid. + BiddingErrorEnum_INVALID_BID BiddingErrorEnum_BiddingError = 17 + // Bidding strategy is not available for the account type. + BiddingErrorEnum_BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE BiddingErrorEnum_BiddingError = 18 + // Conversion tracking is not enabled for the campaign for VBB transition. + BiddingErrorEnum_CONVERSION_TRACKING_NOT_ENABLED BiddingErrorEnum_BiddingError = 19 + // Not enough conversions tracked for VBB transitions. + BiddingErrorEnum_NOT_ENOUGH_CONVERSIONS BiddingErrorEnum_BiddingError = 20 + // Campaign can not be created with given bidding strategy. It can be + // transitioned to the strategy, once eligible. + BiddingErrorEnum_CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY BiddingErrorEnum_BiddingError = 21 + // Cannot target content network only as campaign uses Page One Promoted + // bidding strategy. + BiddingErrorEnum_CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY BiddingErrorEnum_BiddingError = 23 + // Budget Optimizer and Target Spend bidding strategies are not supported + // for campaigns with AdSchedule targeting. + BiddingErrorEnum_BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE BiddingErrorEnum_BiddingError = 24 + // Pay per conversion is not available to all the customer, only few + // whitelisted customers can use this. + BiddingErrorEnum_PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER BiddingErrorEnum_BiddingError = 25 + // Pay per conversion is not allowed with Target CPA. + BiddingErrorEnum_PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA BiddingErrorEnum_BiddingError = 26 + // Cannot set bidding strategy to Manual CPM for search network only + // campaigns. + BiddingErrorEnum_BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS BiddingErrorEnum_BiddingError = 27 + // The bidding strategy is not supported for use in drafts or experiments. + BiddingErrorEnum_BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS BiddingErrorEnum_BiddingError = 28 + // Bidding strategy type does not support product type ad group criterion. + BiddingErrorEnum_BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION BiddingErrorEnum_BiddingError = 29 + // Bid amount is too small. + BiddingErrorEnum_BID_TOO_SMALL BiddingErrorEnum_BiddingError = 30 + // Bid amount is too big. + BiddingErrorEnum_BID_TOO_BIG BiddingErrorEnum_BiddingError = 31 + // Bid has too many fractional digit precision. + BiddingErrorEnum_BID_TOO_MANY_FRACTIONAL_DIGITS BiddingErrorEnum_BiddingError = 32 + // Invalid domain name specified. + BiddingErrorEnum_INVALID_DOMAIN_NAME BiddingErrorEnum_BiddingError = 33 +) + +var BiddingErrorEnum_BiddingError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED", + 7: "CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN", + 10: "INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE", + 14: "INVALID_BIDDING_STRATEGY_TYPE", + 17: "INVALID_BID", + 18: "BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE", + 19: "CONVERSION_TRACKING_NOT_ENABLED", + 20: "NOT_ENOUGH_CONVERSIONS", + 21: "CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY", + 23: "CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY", + 24: "BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE", + 25: "PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER", + 26: "PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA", + 27: "BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS", + 28: "BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS", + 29: "BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION", + 30: "BID_TOO_SMALL", + 31: "BID_TOO_BIG", + 32: "BID_TOO_MANY_FRACTIONAL_DIGITS", + 33: "INVALID_DOMAIN_NAME", +} +var BiddingErrorEnum_BiddingError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED": 2, + "CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN": 7, + "INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE": 10, + "INVALID_BIDDING_STRATEGY_TYPE": 14, + "INVALID_BID": 17, + "BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE": 18, + "CONVERSION_TRACKING_NOT_ENABLED": 19, + "NOT_ENOUGH_CONVERSIONS": 20, + "CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY": 21, + "CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY": 23, + "BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE": 24, + "PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER": 25, + "PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA": 26, + "BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS": 27, + "BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS": 28, + "BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION": 29, + "BID_TOO_SMALL": 30, + "BID_TOO_BIG": 31, + "BID_TOO_MANY_FRACTIONAL_DIGITS": 32, + "INVALID_DOMAIN_NAME": 33, +} + +func (x BiddingErrorEnum_BiddingError) String() string { + return proto.EnumName(BiddingErrorEnum_BiddingError_name, int32(x)) +} +func (BiddingErrorEnum_BiddingError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bidding_error_04ed8b812bcf4766, []int{0, 0} +} + +// Container for enum describing possible bidding errors. +type BiddingErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BiddingErrorEnum) Reset() { *m = BiddingErrorEnum{} } +func (m *BiddingErrorEnum) String() string { return proto.CompactTextString(m) } +func (*BiddingErrorEnum) ProtoMessage() {} +func (*BiddingErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_error_04ed8b812bcf4766, []int{0} +} +func (m *BiddingErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BiddingErrorEnum.Unmarshal(m, b) +} +func (m *BiddingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BiddingErrorEnum.Marshal(b, m, deterministic) +} +func (dst *BiddingErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BiddingErrorEnum.Merge(dst, src) +} +func (m *BiddingErrorEnum) XXX_Size() int { + return xxx_messageInfo_BiddingErrorEnum.Size(m) +} +func (m *BiddingErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BiddingErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BiddingErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BiddingErrorEnum)(nil), "google.ads.googleads.v0.errors.BiddingErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.BiddingErrorEnum_BiddingError", BiddingErrorEnum_BiddingError_name, BiddingErrorEnum_BiddingError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/bidding_error.proto", fileDescriptor_bidding_error_04ed8b812bcf4766) +} + +var fileDescriptor_bidding_error_04ed8b812bcf4766 = []byte{ + // 655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xed, 0x6e, 0xd3, 0x4a, + 0x10, 0xbd, 0xed, 0x95, 0x6e, 0xa4, 0xed, 0xfd, 0xd8, 0x6e, 0x2f, 0x14, 0x0a, 0x4d, 0x69, 0xf8, + 0x81, 0xc4, 0x87, 0x13, 0x5a, 0x09, 0x24, 0xfa, 0x6b, 0xe2, 0x9d, 0x38, 0xab, 0xd8, 0xbb, 0xd6, + 0xee, 0x3a, 0x21, 0x28, 0xd2, 0xaa, 0x25, 0x55, 0x54, 0xa9, 0x8d, 0xab, 0x04, 0xfa, 0x40, 0x88, + 0x5f, 0xbc, 0x01, 0x4f, 0x80, 0xc4, 0x53, 0x21, 0x67, 0xe3, 0x10, 0x29, 0x29, 0xfc, 0xf2, 0xf8, + 0xe8, 0x9c, 0x33, 0x3e, 0xeb, 0xd9, 0x21, 0x47, 0xa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1, + 0x19, 0xa3, 0x6b, 0x29, 0xed, 0x20, 0x0c, 0x55, 0x26, 0xad, 0x77, 0x61, 0xec, 0x31, 0x39, 0x08, + 0x95, 0xec, 0xa2, 0x36, 0x45, 0x42, 0xab, 0x21, 0xec, 0x14, 0x06, 0x85, 0x0e, 0x65, 0x21, 0xe2, + 0x74, 0x87, 0xed, 0x91, 0xbb, 0x1e, 0x50, 0x59, 0xd4, 0x76, 0x3f, 0xf9, 0x86, 0xfe, 0xcf, 0x1a, + 0xe4, 0xf9, 0xfc, 0x18, 0x42, 0x8d, 0x60, 0x71, 0x11, 0xd9, 0xf5, 0x84, 0x5d, 0x3d, 0x14, 0x7a, + 0x87, 0x29, 0xd2, 0x99, 0x2b, 0x2c, 0xe8, 0x08, 0x6d, 0x61, 0x68, 0x51, 0x5a, 0x27, 0xd1, 0xf6, + 0x94, 0xee, 0x38, 0x25, 0xe3, 0xbe, 0x57, 0x2f, 0xbc, 0x62, 0xec, 0x62, 0xec, 0x52, 0x95, 0xae, + 0x1a, 0xee, 0xde, 0x1a, 0xdc, 0x64, 0x69, 0xaa, 0xb4, 0x45, 0xee, 0xcd, 0x80, 0x3b, 0x13, 0xb6, + 0x91, 0x67, 0x31, 0xd2, 0x7b, 0xec, 0x25, 0x79, 0x91, 0x42, 0xdf, 0xa5, 0xa8, 0x97, 0x02, 0xad, + 0x39, 0xaf, 0x30, 0x33, 0x56, 0x25, 0xa8, 0xe9, 0x7d, 0x76, 0x44, 0x82, 0xdb, 0x24, 0x7e, 0x2a, + 0x7c, 0x9f, 0x32, 0x55, 0x0a, 0x74, 0x8f, 0xbd, 0x21, 0xaf, 0xd6, 0xff, 0x94, 0xb9, 0xa2, 0x68, + 0x61, 0x10, 0x74, 0xd8, 0xf6, 0xb1, 0xcb, 0xc4, 0x86, 0x3e, 0x60, 0x27, 0xe4, 0xf5, 0x6f, 0x72, + 0x09, 0xe9, 0xb8, 0x86, 0x96, 0x35, 0x4e, 0x69, 0x87, 0x6f, 0x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xc7, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x66, 0x6a, 0x7a, 0x65, 0xe2, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_strategy_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_strategy_error.pb.go new file mode 100644 index 000000000..fe89c8a58 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/bidding_strategy_error.pb.go @@ -0,0 +1,128 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/bidding_strategy_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible bidding strategy errors. +type BiddingStrategyErrorEnum_BiddingStrategyError int32 + +const ( + // Enum unspecified. + BiddingStrategyErrorEnum_UNSPECIFIED BiddingStrategyErrorEnum_BiddingStrategyError = 0 + // The received error code is not known in this version. + BiddingStrategyErrorEnum_UNKNOWN BiddingStrategyErrorEnum_BiddingStrategyError = 1 + // Each bidding strategy must have a unique name. + BiddingStrategyErrorEnum_DUPLICATE_NAME BiddingStrategyErrorEnum_BiddingStrategyError = 2 + // Bidding strategy type is immutable. + BiddingStrategyErrorEnum_CANNOT_CHANGE_BIDDING_STRATEGY_TYPE BiddingStrategyErrorEnum_BiddingStrategyError = 3 + // Only bidding strategies not linked to campaigns, adgroups or adgroup + // criteria can be removed. + BiddingStrategyErrorEnum_CANNOT_REMOVE_ASSOCIATED_STRATEGY BiddingStrategyErrorEnum_BiddingStrategyError = 4 + // The specified bidding strategy is not supported. + BiddingStrategyErrorEnum_BIDDING_STRATEGY_NOT_SUPPORTED BiddingStrategyErrorEnum_BiddingStrategyError = 5 +) + +var BiddingStrategyErrorEnum_BiddingStrategyError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DUPLICATE_NAME", + 3: "CANNOT_CHANGE_BIDDING_STRATEGY_TYPE", + 4: "CANNOT_REMOVE_ASSOCIATED_STRATEGY", + 5: "BIDDING_STRATEGY_NOT_SUPPORTED", +} +var BiddingStrategyErrorEnum_BiddingStrategyError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DUPLICATE_NAME": 2, + "CANNOT_CHANGE_BIDDING_STRATEGY_TYPE": 3, + "CANNOT_REMOVE_ASSOCIATED_STRATEGY": 4, + "BIDDING_STRATEGY_NOT_SUPPORTED": 5, +} + +func (x BiddingStrategyErrorEnum_BiddingStrategyError) String() string { + return proto.EnumName(BiddingStrategyErrorEnum_BiddingStrategyError_name, int32(x)) +} +func (BiddingStrategyErrorEnum_BiddingStrategyError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_error_e371ee92178e1434, []int{0, 0} +} + +// Container for enum describing possible bidding strategy errors. +type BiddingStrategyErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BiddingStrategyErrorEnum) Reset() { *m = BiddingStrategyErrorEnum{} } +func (m *BiddingStrategyErrorEnum) String() string { return proto.CompactTextString(m) } +func (*BiddingStrategyErrorEnum) ProtoMessage() {} +func (*BiddingStrategyErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_error_e371ee92178e1434, []int{0} +} +func (m *BiddingStrategyErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BiddingStrategyErrorEnum.Unmarshal(m, b) +} +func (m *BiddingStrategyErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BiddingStrategyErrorEnum.Marshal(b, m, deterministic) +} +func (dst *BiddingStrategyErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BiddingStrategyErrorEnum.Merge(dst, src) +} +func (m *BiddingStrategyErrorEnum) XXX_Size() int { + return xxx_messageInfo_BiddingStrategyErrorEnum.Size(m) +} +func (m *BiddingStrategyErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BiddingStrategyErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BiddingStrategyErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BiddingStrategyErrorEnum)(nil), "google.ads.googleads.v0.errors.BiddingStrategyErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.BiddingStrategyErrorEnum_BiddingStrategyError", BiddingStrategyErrorEnum_BiddingStrategyError_name, BiddingStrategyErrorEnum_BiddingStrategyError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/bidding_strategy_error.proto", fileDescriptor_bidding_strategy_error_e371ee92178e1434) +} + +var fileDescriptor_bidding_strategy_error_e371ee92178e1434 = []byte{ + // 347 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xeb, 0x40, + 0x18, 0x85, 0x6f, 0xda, 0x7b, 0xaf, 0x30, 0x05, 0x0d, 0x83, 0x0b, 0xdd, 0x14, 0x8c, 0x88, 0xbb, + 0x49, 0xc0, 0x65, 0x57, 0x93, 0x64, 0x8c, 0x41, 0x3b, 0x09, 0xcd, 0xa4, 0x52, 0x09, 0x0c, 0xa9, + 0x09, 0x43, 0xa1, 0xcd, 0x94, 0x4c, 0x2d, 0xf8, 0x3a, 0x2e, 0x7d, 0x06, 0x9f, 0xc0, 0x8d, 0x6b, + 0xdf, 0x46, 0x92, 0x69, 0xbb, 0xb1, 0xba, 0xca, 0x21, 0xff, 0xf9, 0xce, 0xcf, 0x9c, 0x1f, 0x0c, + 0x84, 0x94, 0x62, 0x5e, 0xda, 0x79, 0xa1, 0x6c, 0x2d, 0x1b, 0xb5, 0x76, 0xec, 0xb2, 0xae, 0x65, + 0xad, 0xec, 0xe9, 0xac, 0x28, 0x66, 0x95, 0xe0, 0x6a, 0x55, 0xe7, 0xab, 0x52, 0x3c, 0xf3, 0xf6, + 0x3f, 0x5a, 0xd6, 0x72, 0x25, 0x61, 0x5f, 0x13, 0x28, 0x2f, 0x14, 0xda, 0xc1, 0x68, 0xed, 0x20, + 0x0d, 0x5b, 0x9f, 0x06, 0x38, 0x71, 0x75, 0x40, 0xb2, 0xe1, 0x49, 0x33, 0x21, 0xd5, 0xd3, 0xc2, + 0x7a, 0x33, 0xc0, 0xf1, 0xbe, 0x21, 0x3c, 0x02, 0xbd, 0x94, 0x26, 0x31, 0xf1, 0xc2, 0xeb, 0x90, + 0xf8, 0xe6, 0x1f, 0xd8, 0x03, 0x07, 0x29, 0xbd, 0xa5, 0xd1, 0x3d, 0x35, 0x0d, 0x08, 0xc1, 0xa1, + 0x9f, 0xc6, 0x77, 0xa1, 0x87, 0x19, 0xe1, 0x14, 0x0f, 0x89, 0xd9, 0x81, 0x97, 0xe0, 0xdc, 0xc3, + 0x94, 0x46, 0x8c, 0x7b, 0x37, 0x98, 0x06, 0x84, 0xbb, 0xa1, 0xef, 0x87, 0x34, 0xe0, 0x09, 0x1b, + 0x61, 0x46, 0x82, 0x09, 0x67, 0x93, 0x98, 0x98, 0x5d, 0x78, 0x01, 0xce, 0x36, 0xc6, 0x11, 0x19, + 0x46, 0x63, 0xc2, 0x71, 0x92, 0x44, 0x5e, 0x88, 0x19, 0xf1, 0x77, 0x5e, 0xf3, 0x2f, 0xb4, 0x40, + 0xff, 0x5b, 0x42, 0x03, 0x25, 0x69, 0x1c, 0x47, 0x23, 0x46, 0x7c, 0xf3, 0x9f, 0xfb, 0x61, 0x00, + 0xeb, 0x51, 0x2e, 0xd0, 0xef, 0x15, 0xb8, 0xa7, 0xfb, 0x9e, 0x18, 0x37, 0xed, 0xc5, 0xc6, 0x83, + 0xbf, 0x81, 0x85, 0x9c, 0xe7, 0x95, 0x40, 0xb2, 0x16, 0xb6, 0x28, 0xab, 0xb6, 0xdb, 0xed, 0x31, + 0x96, 0x33, 0xf5, 0xd3, 0x6d, 0x06, 0xfa, 0xf3, 0xd2, 0xe9, 0x06, 0x18, 0xbf, 0x76, 0xfa, 0x81, + 0x0e, 0xc3, 0x85, 0x42, 0x5a, 0x36, 0x6a, 0xec, 0xa0, 0x76, 0xa5, 0x7a, 0xdf, 0x1a, 0x32, 0x5c, + 0xa8, 0x6c, 0x67, 0xc8, 0xc6, 0x4e, 0xa6, 0x0d, 0xd3, 0xff, 0xed, 0xe2, 0xab, 0xaf, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xa8, 0x67, 0x71, 0x4a, 0x13, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/billing_setup_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/billing_setup_error.pb.go new file mode 100644 index 000000000..8f7b6aa5e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/billing_setup_error.pb.go @@ -0,0 +1,195 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/billing_setup_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible billing setup errors. +type BillingSetupErrorEnum_BillingSetupError int32 + +const ( + // Enum unspecified. + BillingSetupErrorEnum_UNSPECIFIED BillingSetupErrorEnum_BillingSetupError = 0 + // The received error code is not known in this version. + BillingSetupErrorEnum_UNKNOWN BillingSetupErrorEnum_BillingSetupError = 1 + // Cannot use both an existing Payments account and a new Payments account + // when setting up billing. + BillingSetupErrorEnum_CANNOT_USE_EXISTING_AND_NEW_ACCOUNT BillingSetupErrorEnum_BillingSetupError = 2 + // Cannot cancel an APPROVED billing setup whose start time has passed. + BillingSetupErrorEnum_CANNOT_REMOVE_STARTED_BILLING_SETUP BillingSetupErrorEnum_BillingSetupError = 3 + // Cannot perform a Change of Bill-To (CBT) to the same Payments account. + BillingSetupErrorEnum_CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT BillingSetupErrorEnum_BillingSetupError = 4 + // Billing Setups can only be used by customers with ENABLED or DRAFT + // status. + BillingSetupErrorEnum_BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS BillingSetupErrorEnum_BillingSetupError = 5 + // Billing Setups must either include a correctly formatted existing + // Payments account id, or a non-empty new Payments account name. + BillingSetupErrorEnum_INVALID_PAYMENTS_ACCOUNT BillingSetupErrorEnum_BillingSetupError = 6 + // Only billable and third party customers can create billing setups. + BillingSetupErrorEnum_BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY BillingSetupErrorEnum_BillingSetupError = 7 + // Billing Setup creations can only use NOW for start time type. + BillingSetupErrorEnum_INVALID_START_TIME_TYPE BillingSetupErrorEnum_BillingSetupError = 8 + // Billing Setups can only be created for a third party customer if they do + // not already have a setup. + BillingSetupErrorEnum_THIRD_PARTY_ALREADY_HAS_BILLING BillingSetupErrorEnum_BillingSetupError = 9 + // Billing Setups cannot be created if there is already a pending billing in + // progress, ie. a billing known to Payments. + BillingSetupErrorEnum_BILLING_SETUP_IN_PROGRESS BillingSetupErrorEnum_BillingSetupError = 10 + // Billing Setups can only be created by customers who have permission to + // setup billings. Users can contact a representative for help setting up + // permissions. + BillingSetupErrorEnum_NO_SIGNUP_PERMISSION BillingSetupErrorEnum_BillingSetupError = 11 + // Billing Setups cannot be created if there is already a future-approved + // billing. + BillingSetupErrorEnum_CHANGE_OF_BILL_TO_IN_PROGRESS BillingSetupErrorEnum_BillingSetupError = 12 + // Billing Setup creation failed because Payments could not find the + // requested Payments profile. + BillingSetupErrorEnum_PAYMENTS_PROFILE_NOT_FOUND BillingSetupErrorEnum_BillingSetupError = 13 + // Billing Setup creation failed because Payments could not find the + // requested Payments account. + BillingSetupErrorEnum_PAYMENTS_ACCOUNT_NOT_FOUND BillingSetupErrorEnum_BillingSetupError = 14 + // Billing Setup creation failed because Payments considers requested + // Payments profile ineligible. + BillingSetupErrorEnum_PAYMENTS_PROFILE_INELIGIBLE BillingSetupErrorEnum_BillingSetupError = 15 + // Billing Setup creation failed because Payments considers requested + // Payments account ineligible. + BillingSetupErrorEnum_PAYMENTS_ACCOUNT_INELIGIBLE BillingSetupErrorEnum_BillingSetupError = 16 +) + +var BillingSetupErrorEnum_BillingSetupError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CANNOT_USE_EXISTING_AND_NEW_ACCOUNT", + 3: "CANNOT_REMOVE_STARTED_BILLING_SETUP", + 4: "CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT", + 5: "BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS", + 6: "INVALID_PAYMENTS_ACCOUNT", + 7: "BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY", + 8: "INVALID_START_TIME_TYPE", + 9: "THIRD_PARTY_ALREADY_HAS_BILLING", + 10: "BILLING_SETUP_IN_PROGRESS", + 11: "NO_SIGNUP_PERMISSION", + 12: "CHANGE_OF_BILL_TO_IN_PROGRESS", + 13: "PAYMENTS_PROFILE_NOT_FOUND", + 14: "PAYMENTS_ACCOUNT_NOT_FOUND", + 15: "PAYMENTS_PROFILE_INELIGIBLE", + 16: "PAYMENTS_ACCOUNT_INELIGIBLE", +} +var BillingSetupErrorEnum_BillingSetupError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_USE_EXISTING_AND_NEW_ACCOUNT": 2, + "CANNOT_REMOVE_STARTED_BILLING_SETUP": 3, + "CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT": 4, + "BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS": 5, + "INVALID_PAYMENTS_ACCOUNT": 6, + "BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY": 7, + "INVALID_START_TIME_TYPE": 8, + "THIRD_PARTY_ALREADY_HAS_BILLING": 9, + "BILLING_SETUP_IN_PROGRESS": 10, + "NO_SIGNUP_PERMISSION": 11, + "CHANGE_OF_BILL_TO_IN_PROGRESS": 12, + "PAYMENTS_PROFILE_NOT_FOUND": 13, + "PAYMENTS_ACCOUNT_NOT_FOUND": 14, + "PAYMENTS_PROFILE_INELIGIBLE": 15, + "PAYMENTS_ACCOUNT_INELIGIBLE": 16, +} + +func (x BillingSetupErrorEnum_BillingSetupError) String() string { + return proto.EnumName(BillingSetupErrorEnum_BillingSetupError_name, int32(x)) +} +func (BillingSetupErrorEnum_BillingSetupError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_error_107368948c349ada, []int{0, 0} +} + +// Container for enum describing possible billing setup errors. +type BillingSetupErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BillingSetupErrorEnum) Reset() { *m = BillingSetupErrorEnum{} } +func (m *BillingSetupErrorEnum) String() string { return proto.CompactTextString(m) } +func (*BillingSetupErrorEnum) ProtoMessage() {} +func (*BillingSetupErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_error_107368948c349ada, []int{0} +} +func (m *BillingSetupErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BillingSetupErrorEnum.Unmarshal(m, b) +} +func (m *BillingSetupErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BillingSetupErrorEnum.Marshal(b, m, deterministic) +} +func (dst *BillingSetupErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingSetupErrorEnum.Merge(dst, src) +} +func (m *BillingSetupErrorEnum) XXX_Size() int { + return xxx_messageInfo_BillingSetupErrorEnum.Size(m) +} +func (m *BillingSetupErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_BillingSetupErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingSetupErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*BillingSetupErrorEnum)(nil), "google.ads.googleads.v0.errors.BillingSetupErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.BillingSetupErrorEnum_BillingSetupError", BillingSetupErrorEnum_BillingSetupError_name, BillingSetupErrorEnum_BillingSetupError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/billing_setup_error.proto", fileDescriptor_billing_setup_error_107368948c349ada) +} + +var fileDescriptor_billing_setup_error_107368948c349ada = []byte{ + // 530 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, + 0x14, 0xc6, 0x69, 0x57, 0x36, 0x70, 0x81, 0x19, 0x8b, 0x3f, 0x83, 0xb1, 0x4e, 0x74, 0x17, 0xdc, + 0x25, 0x85, 0x09, 0x09, 0x89, 0x2b, 0x37, 0x39, 0x4d, 0x2d, 0x12, 0x3b, 0xb2, 0x9d, 0x8e, 0xa2, + 0x4a, 0x56, 0x47, 0xab, 0xa8, 0x52, 0xd7, 0x54, 0xcd, 0xb6, 0x07, 0xe2, 0x92, 0x47, 0x41, 0xbc, + 0x04, 0xcf, 0xc1, 0x0d, 0x72, 0xd2, 0x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, 0x2b, 0xe7, 0xdf, 0x4b, 0xda, 0x7e, 0xb6, 0xb3, 0x87, 0xb1, 0x5d, 0xee, 0xb8, + 0xf2, 0xc5, 0x5f, 0x92, 0x69, 0x36, 0x1d, 0xce, 0x52, 0x27, 0x5b, 0xa4, 0x6e, 0x3a, 0x9e, 0x15, + 0xab, 0xbf, 0x7a, 0x28, 0xf3, 0x49, 0xfe, 0xb7, 0x77, 0xf3, 0xb1, 0xfc, 0x7c, 0xab, 0xee, 0x05, + 0x94, 0x7e, 0xaf, 0x36, 0x82, 0xd2, 0x8c, 0x8e, 0x72, 0xa7, 0x2c, 0x6d, 0xd5, 0x6b, 0x39, 0x45, + 0x64, 0xfe, 0x63, 0x25, 0x18, 0xd0, 0x51, 0x3e, 0x58, 0x0b, 0x06, 0xbd, 0xd6, 0xa0, 0x14, 0x5c, + 0xee, 0x17, 0xc1, 0xe7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xee, 0x6c, 0xd2, 0x8a, 0xaf, 0x03, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_budget_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_budget_error.pb.go new file mode 100644 index 000000000..9eb71b9bc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_budget_error.pb.go @@ -0,0 +1,188 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/campaign_budget_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible campaign budget errors. +type CampaignBudgetErrorEnum_CampaignBudgetError int32 + +const ( + // Enum unspecified. + CampaignBudgetErrorEnum_UNSPECIFIED CampaignBudgetErrorEnum_CampaignBudgetError = 0 + // The received error code is not known in this version. + CampaignBudgetErrorEnum_UNKNOWN CampaignBudgetErrorEnum_CampaignBudgetError = 1 + // The campaign budget cannot be shared. + CampaignBudgetErrorEnum_CAMPAIGN_BUDGET_CANNOT_BE_SHARED CampaignBudgetErrorEnum_CampaignBudgetError = 17 + // The requested campaign budget no longer exists. + CampaignBudgetErrorEnum_CAMPAIGN_BUDGET_REMOVED CampaignBudgetErrorEnum_CampaignBudgetError = 2 + // The campaign budget is associated with at least one campaign, and so the + // campaign budget cannot be removed. + CampaignBudgetErrorEnum_CAMPAIGN_BUDGET_IN_USE CampaignBudgetErrorEnum_CampaignBudgetError = 3 + // Customer is not whitelisted for this campaign budget period. + CampaignBudgetErrorEnum_CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE CampaignBudgetErrorEnum_CampaignBudgetError = 4 + // This field is not mutable on implicitly shared campaign budgets + CampaignBudgetErrorEnum_CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET CampaignBudgetErrorEnum_CampaignBudgetError = 6 + // Cannot change explicitly shared campaign budgets back to implicitly + // shared ones. + CampaignBudgetErrorEnum_CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED CampaignBudgetErrorEnum_CampaignBudgetError = 7 + // An implicit campaign budget without a name cannot be changed to + // explicitly shared campaign budget. + CampaignBudgetErrorEnum_CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME CampaignBudgetErrorEnum_CampaignBudgetError = 8 + // Cannot change an implicitly shared campaign budget to an explicitly + // shared one. + CampaignBudgetErrorEnum_CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED CampaignBudgetErrorEnum_CampaignBudgetError = 9 + // Only explicitly shared campaign budgets can be used with multiple + // campaigns. + CampaignBudgetErrorEnum_CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS CampaignBudgetErrorEnum_CampaignBudgetError = 10 + // A campaign budget with this name already exists. + CampaignBudgetErrorEnum_DUPLICATE_NAME CampaignBudgetErrorEnum_CampaignBudgetError = 11 + // A money amount was not in the expected currency. + CampaignBudgetErrorEnum_MONEY_AMOUNT_IN_WRONG_CURRENCY CampaignBudgetErrorEnum_CampaignBudgetError = 12 + // A money amount was less than the minimum CPC for currency. + CampaignBudgetErrorEnum_MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC CampaignBudgetErrorEnum_CampaignBudgetError = 13 + // A money amount was greater than the maximum allowed. + CampaignBudgetErrorEnum_MONEY_AMOUNT_TOO_LARGE CampaignBudgetErrorEnum_CampaignBudgetError = 14 + // A money amount was negative. + CampaignBudgetErrorEnum_NEGATIVE_MONEY_AMOUNT CampaignBudgetErrorEnum_CampaignBudgetError = 15 + // A money amount was not a multiple of a minimum unit. + CampaignBudgetErrorEnum_NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT CampaignBudgetErrorEnum_CampaignBudgetError = 16 +) + +var CampaignBudgetErrorEnum_CampaignBudgetError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 17: "CAMPAIGN_BUDGET_CANNOT_BE_SHARED", + 2: "CAMPAIGN_BUDGET_REMOVED", + 3: "CAMPAIGN_BUDGET_IN_USE", + 4: "CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE", + 6: "CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET", + 7: "CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED", + 8: "CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME", + 9: "CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED", + 10: "CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS", + 11: "DUPLICATE_NAME", + 12: "MONEY_AMOUNT_IN_WRONG_CURRENCY", + 13: "MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC", + 14: "MONEY_AMOUNT_TOO_LARGE", + 15: "NEGATIVE_MONEY_AMOUNT", + 16: "NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT", +} +var CampaignBudgetErrorEnum_CampaignBudgetError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CAMPAIGN_BUDGET_CANNOT_BE_SHARED": 17, + "CAMPAIGN_BUDGET_REMOVED": 2, + "CAMPAIGN_BUDGET_IN_USE": 3, + "CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE": 4, + "CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET": 6, + "CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED": 7, + "CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME": 8, + "CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED": 9, + "CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS": 10, + "DUPLICATE_NAME": 11, + "MONEY_AMOUNT_IN_WRONG_CURRENCY": 12, + "MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC": 13, + "MONEY_AMOUNT_TOO_LARGE": 14, + "NEGATIVE_MONEY_AMOUNT": 15, + "NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT": 16, +} + +func (x CampaignBudgetErrorEnum_CampaignBudgetError) String() string { + return proto.EnumName(CampaignBudgetErrorEnum_CampaignBudgetError_name, int32(x)) +} +func (CampaignBudgetErrorEnum_CampaignBudgetError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_error_ab6396a2a8fee8c4, []int{0, 0} +} + +// Container for enum describing possible campaign budget errors. +type CampaignBudgetErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignBudgetErrorEnum) Reset() { *m = CampaignBudgetErrorEnum{} } +func (m *CampaignBudgetErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignBudgetErrorEnum) ProtoMessage() {} +func (*CampaignBudgetErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_error_ab6396a2a8fee8c4, []int{0} +} +func (m *CampaignBudgetErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignBudgetErrorEnum.Unmarshal(m, b) +} +func (m *CampaignBudgetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignBudgetErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignBudgetErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignBudgetErrorEnum.Merge(dst, src) +} +func (m *CampaignBudgetErrorEnum) XXX_Size() int { + return xxx_messageInfo_CampaignBudgetErrorEnum.Size(m) +} +func (m *CampaignBudgetErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignBudgetErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignBudgetErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignBudgetErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignBudgetErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignBudgetErrorEnum_CampaignBudgetError", CampaignBudgetErrorEnum_CampaignBudgetError_name, CampaignBudgetErrorEnum_CampaignBudgetError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/campaign_budget_error.proto", fileDescriptor_campaign_budget_error_ab6396a2a8fee8c4) +} + +var fileDescriptor_campaign_budget_error_ab6396a2a8fee8c4 = []byte{ + // 544 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6a, 0xd4, 0x4e, + 0x14, 0xc7, 0x7f, 0xdd, 0xfe, 0xda, 0xea, 0xac, 0xb6, 0xe3, 0x88, 0xd6, 0x3f, 0xb0, 0xc8, 0x52, + 0x41, 0x11, 0x92, 0x45, 0x41, 0x44, 0x05, 0x99, 0x24, 0x67, 0xb3, 0x83, 0x99, 0x99, 0x90, 0xcc, + 0xec, 0xba, 0xb2, 0x30, 0x6c, 0xbb, 0x4b, 0x28, 0x74, 0x37, 0xcb, 0xa6, 0xed, 0x03, 0x79, 0xe9, + 0x73, 0x78, 0xe5, 0x85, 0xcf, 0xe0, 0xa3, 0x48, 0x92, 0xfd, 0x63, 0xd3, 0x6a, 0xbd, 0xca, 0x21, + 0xe7, 0xfb, 0x39, 0x9f, 0x09, 0x93, 0x83, 0xde, 0x26, 0x69, 0x9a, 0x9c, 0x8c, 0xed, 0xe1, 0x28, + 0xb3, 0xcb, 0x32, 0xaf, 0xce, 0x5b, 0xf6, 0x78, 0x3e, 0x4f, 0xe7, 0x99, 0x7d, 0x34, 0x9c, 0xcc, + 0x86, 0xc7, 0xc9, 0xd4, 0x1c, 0x9e, 0x8d, 0x92, 0xf1, 0xa9, 0x29, 0x5e, 0x5b, 0xb3, 0x79, 0x7a, + 0x9a, 0x92, 0x46, 0x09, 0x58, 0xc3, 0x51, 0x66, 0xad, 0x58, 0xeb, 0xbc, 0x65, 0x95, 0x6c, 0xf3, + 0xe7, 0x16, 0xda, 0x77, 0x17, 0xbc, 0x53, 0xe0, 0x90, 0x37, 0x60, 0x7a, 0x36, 0x69, 0x7e, 0xdb, + 0x42, 0x77, 0xaf, 0xe8, 0x91, 0x3d, 0x54, 0xd7, 0x22, 0x0e, 0xc1, 0x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x71, 0xa6, 0x49, 0xb4, 0x18, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_criterion_error.pb.go new file mode 100644 index 000000000..d9b83d562 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_criterion_error.pb.go @@ -0,0 +1,168 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/campaign_criterion_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible campaign criterion errors. +type CampaignCriterionErrorEnum_CampaignCriterionError int32 + +const ( + // Enum unspecified. + CampaignCriterionErrorEnum_UNSPECIFIED CampaignCriterionErrorEnum_CampaignCriterionError = 0 + // The received error code is not known in this version. + CampaignCriterionErrorEnum_UNKNOWN CampaignCriterionErrorEnum_CampaignCriterionError = 1 + // Concrete type of criterion (keyword v.s. placement) is required for + // CREATE and UPDATE operations. + CampaignCriterionErrorEnum_CONCRETE_TYPE_REQUIRED CampaignCriterionErrorEnum_CampaignCriterionError = 2 + // Invalid placement URL. + CampaignCriterionErrorEnum_INVALID_PLACEMENT_URL CampaignCriterionErrorEnum_CampaignCriterionError = 3 + // Criteria type can not be excluded for the campaign by the customer. like + // AOL account type cannot target site type criteria + CampaignCriterionErrorEnum_CANNOT_EXCLUDE_CRITERIA_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 4 + // Cannot set the campaign criterion status for this criteria type. + CampaignCriterionErrorEnum_CANNOT_SET_STATUS_FOR_CRITERIA_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 5 + // Cannot set the campaign criterion status for an excluded criteria. + CampaignCriterionErrorEnum_CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA CampaignCriterionErrorEnum_CampaignCriterionError = 6 + // Cannot target and exclude the same criterion. + CampaignCriterionErrorEnum_CANNOT_TARGET_AND_EXCLUDE CampaignCriterionErrorEnum_CampaignCriterionError = 7 + // The mutate contained too many operations. + CampaignCriterionErrorEnum_TOO_MANY_OPERATIONS CampaignCriterionErrorEnum_CampaignCriterionError = 8 + // This operator cannot be applied to a criterion of this type. + CampaignCriterionErrorEnum_OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 9 + // The Shopping campaign sales country is not supported for + // ProductSalesChannel targeting. + CampaignCriterionErrorEnum_SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL CampaignCriterionErrorEnum_CampaignCriterionError = 10 + // The existing field can't be updated with CREATE operation. It can be + // updated with UPDATE operation only. + CampaignCriterionErrorEnum_CANNOT_ADD_EXISTING_FIELD CampaignCriterionErrorEnum_CampaignCriterionError = 11 + // Negative criteria are immutable, so updates are not allowed. + CampaignCriterionErrorEnum_CANNOT_UPDATE_NEGATIVE_CRITERION CampaignCriterionErrorEnum_CampaignCriterionError = 12 +) + +var CampaignCriterionErrorEnum_CampaignCriterionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CONCRETE_TYPE_REQUIRED", + 3: "INVALID_PLACEMENT_URL", + 4: "CANNOT_EXCLUDE_CRITERIA_TYPE", + 5: "CANNOT_SET_STATUS_FOR_CRITERIA_TYPE", + 6: "CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA", + 7: "CANNOT_TARGET_AND_EXCLUDE", + 8: "TOO_MANY_OPERATIONS", + 9: "OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE", + 10: "SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL", + 11: "CANNOT_ADD_EXISTING_FIELD", + 12: "CANNOT_UPDATE_NEGATIVE_CRITERION", +} +var CampaignCriterionErrorEnum_CampaignCriterionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CONCRETE_TYPE_REQUIRED": 2, + "INVALID_PLACEMENT_URL": 3, + "CANNOT_EXCLUDE_CRITERIA_TYPE": 4, + "CANNOT_SET_STATUS_FOR_CRITERIA_TYPE": 5, + "CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA": 6, + "CANNOT_TARGET_AND_EXCLUDE": 7, + "TOO_MANY_OPERATIONS": 8, + "OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE": 9, + "SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL": 10, + "CANNOT_ADD_EXISTING_FIELD": 11, + "CANNOT_UPDATE_NEGATIVE_CRITERION": 12, +} + +func (x CampaignCriterionErrorEnum_CampaignCriterionError) String() string { + return proto.EnumName(CampaignCriterionErrorEnum_CampaignCriterionError_name, int32(x)) +} +func (CampaignCriterionErrorEnum_CampaignCriterionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_error_d0d1f7612cbd8dc8, []int{0, 0} +} + +// Container for enum describing possible campaign criterion errors. +type CampaignCriterionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignCriterionErrorEnum) Reset() { *m = CampaignCriterionErrorEnum{} } +func (m *CampaignCriterionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignCriterionErrorEnum) ProtoMessage() {} +func (*CampaignCriterionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_error_d0d1f7612cbd8dc8, []int{0} +} +func (m *CampaignCriterionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignCriterionErrorEnum.Unmarshal(m, b) +} +func (m *CampaignCriterionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignCriterionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignCriterionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignCriterionErrorEnum.Merge(dst, src) +} +func (m *CampaignCriterionErrorEnum) XXX_Size() int { + return xxx_messageInfo_CampaignCriterionErrorEnum.Size(m) +} +func (m *CampaignCriterionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignCriterionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignCriterionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignCriterionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/campaign_criterion_error.proto", fileDescriptor_campaign_criterion_error_d0d1f7612cbd8dc8) +} + +var fileDescriptor_campaign_criterion_error_d0d1f7612cbd8dc8 = []byte{ + // 486 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6a, 0x13, 0x41, + 0x18, 0x35, 0x89, 0xb6, 0x3a, 0x11, 0x1c, 0x46, 0xac, 0xb4, 0x6a, 0x29, 0x51, 0x28, 0x22, 0x6e, + 0x02, 0x5e, 0x8a, 0xc8, 0x74, 0xe6, 0xcb, 0x76, 0x70, 0x33, 0x33, 0xce, 0xce, 0x46, 0x23, 0x81, + 0x61, 0x4d, 0xc2, 0x12, 0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0x27, 0x8b, 0xb4, 0x5a, 0xde, 0x66, 0xac, 0xeb, 0x65, 0xf1, 0xaf, 0xed, 0xbe, 0xae, 0x3f, + 0x5f, 0xdb, 0x1d, 0x9f, 0xd2, 0x6f, 0xed, 0x63, 0xbf, 0x0e, 0xa3, 0xf3, 0xc2, 0xab, 0x61, 0x89, + 0xc6, 0x03, 0xaf, 0x3a, 0x59, 0x7c, 0xdf, 0x08, 0xa6, 0x74, 0x5e, 0x4c, 0xb7, 0x82, 0xe9, 0x78, + 0x30, 0xad, 0x05, 0x9f, 0xf7, 0xaa, 0xc3, 0xaf, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x60, 0xe8, + 0xd8, 0x4f, 0x33, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_error.pb.go new file mode 100644 index 000000000..e10d2f879 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_error.pb.go @@ -0,0 +1,304 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/campaign_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible campaign errors. +type CampaignErrorEnum_CampaignError int32 + +const ( + // Enum unspecified. + CampaignErrorEnum_UNSPECIFIED CampaignErrorEnum_CampaignError = 0 + // The received error code is not known in this version. + CampaignErrorEnum_UNKNOWN CampaignErrorEnum_CampaignError = 1 + // Cannot target content network. + CampaignErrorEnum_CANNOT_TARGET_CONTENT_NETWORK CampaignErrorEnum_CampaignError = 3 + // Cannot target search network. + CampaignErrorEnum_CANNOT_TARGET_SEARCH_NETWORK CampaignErrorEnum_CampaignError = 4 + // Cannot cover search network without google search network. + CampaignErrorEnum_CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH CampaignErrorEnum_CampaignError = 5 + // Cannot target Google Search network for a CPM campaign. + CampaignErrorEnum_CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN CampaignErrorEnum_CampaignError = 6 + // Must target at least one network. + CampaignErrorEnum_CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK CampaignErrorEnum_CampaignError = 7 + // Only some Google partners are allowed to target partner search network. + CampaignErrorEnum_CANNOT_TARGET_PARTNER_SEARCH_NETWORK CampaignErrorEnum_CampaignError = 8 + // Cannot target content network only as campaign has criteria-level bidding + // strategy. + CampaignErrorEnum_CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY CampaignErrorEnum_CampaignError = 9 + // Cannot modify the start or end date such that the campaign duration would + // not contain the durations of all runnable trials. + CampaignErrorEnum_CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS CampaignErrorEnum_CampaignError = 10 + // Cannot modify dates, budget or campaign name of a trial campaign. + CampaignErrorEnum_CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN CampaignErrorEnum_CampaignError = 11 + // Trying to modify the name of an active or paused campaign, where the name + // is already assigned to another active or paused campaign. + CampaignErrorEnum_DUPLICATE_CAMPAIGN_NAME CampaignErrorEnum_CampaignError = 12 + // Two fields are in conflicting modes. + CampaignErrorEnum_INCOMPATIBLE_CAMPAIGN_FIELD CampaignErrorEnum_CampaignError = 13 + // Campaign name cannot be used. + CampaignErrorEnum_INVALID_CAMPAIGN_NAME CampaignErrorEnum_CampaignError = 14 + // Given status is invalid. + CampaignErrorEnum_INVALID_AD_SERVING_OPTIMIZATION_STATUS CampaignErrorEnum_CampaignError = 15 + // Error in the campaign level tracking url. + CampaignErrorEnum_INVALID_TRACKING_URL CampaignErrorEnum_CampaignError = 16 + // Cannot set both tracking url template and tracking setting. An user has + // to clear legacy tracking setting in order to add tracking url template. + CampaignErrorEnum_CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING CampaignErrorEnum_CampaignError = 17 + // The maximum number of impressions for Frequency Cap should be an integer + // greater than 0. + CampaignErrorEnum_MAX_IMPRESSIONS_NOT_IN_RANGE CampaignErrorEnum_CampaignError = 18 + // Only the Day, Week and Month time units are supported. + CampaignErrorEnum_TIME_UNIT_NOT_SUPPORTED CampaignErrorEnum_CampaignError = 19 + // Operation not allowed on a campaign whose serving status has ended + CampaignErrorEnum_INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED CampaignErrorEnum_CampaignError = 20 + // This budget is exclusively linked to a Campaign that is using experiments + // so it cannot be shared. + CampaignErrorEnum_BUDGET_CANNOT_BE_SHARED CampaignErrorEnum_CampaignError = 21 + // Campaigns using experiments cannot use a shared budget. + CampaignErrorEnum_CAMPAIGN_CANNOT_USE_SHARED_BUDGET CampaignErrorEnum_CampaignError = 22 + // A different budget cannot be assigned to a campaign when there are + // running or scheduled trials. + CampaignErrorEnum_CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS CampaignErrorEnum_CampaignError = 23 + // No link found between the campaign and the label. + CampaignErrorEnum_CAMPAIGN_LABEL_DOES_NOT_EXIST CampaignErrorEnum_CampaignError = 24 + // The label has already been attached to the campaign. + CampaignErrorEnum_CAMPAIGN_LABEL_ALREADY_EXISTS CampaignErrorEnum_CampaignError = 25 + // A ShoppingSetting was not found when creating a shopping campaign. + CampaignErrorEnum_MISSING_SHOPPING_SETTING CampaignErrorEnum_CampaignError = 26 + // The country in shopping setting is not an allowed country. + CampaignErrorEnum_INVALID_SHOPPING_SALES_COUNTRY CampaignErrorEnum_CampaignError = 27 + // A Campaign with channel sub type UNIVERSAL_APP_CAMPAIGN must have a + // UniversalAppCampaignSetting specified. + CampaignErrorEnum_MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING CampaignErrorEnum_CampaignError = 30 + // The requested channel type is not available according to the customer's + // account setting. + CampaignErrorEnum_ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE CampaignErrorEnum_CampaignError = 31 + // The AdvertisingChannelSubType is not a valid subtype of the primary + // channel type. + CampaignErrorEnum_INVALID_ADVERTISING_CHANNEL_SUB_TYPE CampaignErrorEnum_CampaignError = 32 + // At least one conversion must be selected. + CampaignErrorEnum_AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED CampaignErrorEnum_CampaignError = 33 + // Setting ad rotation mode for a campaign is not allowed. Ad rotation mode + // at campaign is deprecated. + CampaignErrorEnum_CANNOT_SET_AD_ROTATION_MODE CampaignErrorEnum_CampaignError = 34 + // Trying to change start date on a campaign that has started. + CampaignErrorEnum_CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED CampaignErrorEnum_CampaignError = 35 + // Trying to modify a date into the past. + CampaignErrorEnum_CANNOT_SET_DATE_TO_PAST CampaignErrorEnum_CampaignError = 36 + // Hotel center id in the hotel setting does not match any customer links. + CampaignErrorEnum_MISSING_HOTEL_CUSTOMER_LINK CampaignErrorEnum_CampaignError = 37 + // Hotel center id in the hotel setting must match an active customer link. + CampaignErrorEnum_INVALID_HOTEL_CUSTOMER_LINK CampaignErrorEnum_CampaignError = 38 + // Hotel setting was not found when creating a hotel ads campaign. + CampaignErrorEnum_MISSING_HOTEL_SETTING CampaignErrorEnum_CampaignError = 39 + // A Campaign cannot use shared campaign budgets and be part of a campaign + // group. + CampaignErrorEnum_CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP CampaignErrorEnum_CampaignError = 40 +) + +var CampaignErrorEnum_CampaignError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "CANNOT_TARGET_CONTENT_NETWORK", + 4: "CANNOT_TARGET_SEARCH_NETWORK", + 5: "CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH", + 6: "CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN", + 7: "CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK", + 8: "CANNOT_TARGET_PARTNER_SEARCH_NETWORK", + 9: "CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY", + 10: "CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS", + 11: "CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN", + 12: "DUPLICATE_CAMPAIGN_NAME", + 13: "INCOMPATIBLE_CAMPAIGN_FIELD", + 14: "INVALID_CAMPAIGN_NAME", + 15: "INVALID_AD_SERVING_OPTIMIZATION_STATUS", + 16: "INVALID_TRACKING_URL", + 17: "CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING", + 18: "MAX_IMPRESSIONS_NOT_IN_RANGE", + 19: "TIME_UNIT_NOT_SUPPORTED", + 20: "INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED", + 21: "BUDGET_CANNOT_BE_SHARED", + 22: "CAMPAIGN_CANNOT_USE_SHARED_BUDGET", + 23: "CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS", + 24: "CAMPAIGN_LABEL_DOES_NOT_EXIST", + 25: "CAMPAIGN_LABEL_ALREADY_EXISTS", + 26: "MISSING_SHOPPING_SETTING", + 27: "INVALID_SHOPPING_SALES_COUNTRY", + 30: "MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING", + 31: "ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE", + 32: "INVALID_ADVERTISING_CHANNEL_SUB_TYPE", + 33: "AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED", + 34: "CANNOT_SET_AD_ROTATION_MODE", + 35: "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED", + 36: "CANNOT_SET_DATE_TO_PAST", + 37: "MISSING_HOTEL_CUSTOMER_LINK", + 38: "INVALID_HOTEL_CUSTOMER_LINK", + 39: "MISSING_HOTEL_SETTING", + 40: "CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP", +} +var CampaignErrorEnum_CampaignError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_TARGET_CONTENT_NETWORK": 3, + "CANNOT_TARGET_SEARCH_NETWORK": 4, + "CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH": 5, + "CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN": 6, + "CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK": 7, + "CANNOT_TARGET_PARTNER_SEARCH_NETWORK": 8, + "CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY": 9, + "CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS": 10, + "CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN": 11, + "DUPLICATE_CAMPAIGN_NAME": 12, + "INCOMPATIBLE_CAMPAIGN_FIELD": 13, + "INVALID_CAMPAIGN_NAME": 14, + "INVALID_AD_SERVING_OPTIMIZATION_STATUS": 15, + "INVALID_TRACKING_URL": 16, + "CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING": 17, + "MAX_IMPRESSIONS_NOT_IN_RANGE": 18, + "TIME_UNIT_NOT_SUPPORTED": 19, + "INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED": 20, + "BUDGET_CANNOT_BE_SHARED": 21, + "CAMPAIGN_CANNOT_USE_SHARED_BUDGET": 22, + "CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS": 23, + "CAMPAIGN_LABEL_DOES_NOT_EXIST": 24, + "CAMPAIGN_LABEL_ALREADY_EXISTS": 25, + "MISSING_SHOPPING_SETTING": 26, + "INVALID_SHOPPING_SALES_COUNTRY": 27, + "MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING": 30, + "ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE": 31, + "INVALID_ADVERTISING_CHANNEL_SUB_TYPE": 32, + "AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED": 33, + "CANNOT_SET_AD_ROTATION_MODE": 34, + "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED": 35, + "CANNOT_SET_DATE_TO_PAST": 36, + "MISSING_HOTEL_CUSTOMER_LINK": 37, + "INVALID_HOTEL_CUSTOMER_LINK": 38, + "MISSING_HOTEL_SETTING": 39, + "CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP": 40, +} + +func (x CampaignErrorEnum_CampaignError) String() string { + return proto.EnumName(CampaignErrorEnum_CampaignError_name, int32(x)) +} +func (CampaignErrorEnum_CampaignError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_error_67c91d16be8f048d, []int{0, 0} +} + +// Container for enum describing possible campaign errors. +type CampaignErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignErrorEnum) Reset() { *m = CampaignErrorEnum{} } +func (m *CampaignErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignErrorEnum) ProtoMessage() {} +func (*CampaignErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_error_67c91d16be8f048d, []int{0} +} +func (m *CampaignErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignErrorEnum.Unmarshal(m, b) +} +func (m *CampaignErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignErrorEnum.Merge(dst, src) +} +func (m *CampaignErrorEnum) XXX_Size() int { + return xxx_messageInfo_CampaignErrorEnum.Size(m) +} +func (m *CampaignErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignErrorEnum_CampaignError", CampaignErrorEnum_CampaignError_name, CampaignErrorEnum_CampaignError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/campaign_error.proto", fileDescriptor_campaign_error_67c91d16be8f048d) +} + +var fileDescriptor_campaign_error_67c91d16be8f048d = []byte{ + // 937 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0x6f, 0x6f, 0x1c, 0xb5, + 0x13, 0xfe, 0xa5, 0xfd, 0xd1, 0x82, 0x93, 0x52, 0xd7, 0xb4, 0x34, 0x25, 0x25, 0x4d, 0x42, 0x5a, + 0x02, 0xb4, 0x77, 0x81, 0x4a, 0x20, 0x51, 0xa9, 0xd2, 0xdc, 0x7a, 0x6e, 0xcf, 0x8a, 0xd7, 0x5e, + 0xd9, 0xde, 0x4b, 0xaf, 0x8a, 0x34, 0x0a, 0x4d, 0x74, 0xaa, 0xd4, 0xe4, 0xa2, 0x1c, 0xf4, 0x35, + 0x9f, 0x82, 0x0f, 0xc0, 0x4b, 0x3e, 0x09, 0xe2, 0x53, 0x21, 0xef, 0xbf, 0xcb, 0xb6, 0x25, 0xaf, + 0xce, 0xeb, 0xe7, 0x99, 0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, 0xa6, 0xf9, 0xa2, 0xac, 0xf0, 0x6d, + 0x20, 0x04, 0xd2, 0x08, 0x3e, 0x90, 0x35, 0xd8, 0x16, 0x76, 0x5d, 0xec, 0xb0, 0xed, 0xee, 0x01, + 0x39, 0xb8, 0x60, 0xd0, 0xbd, 0xdb, 0xc2, 0xc7, 0x62, 0x8f, 0xa5, 0x97, 0xea, 0x40, 0xd6, 0xe8, + 0x49, 0xd9, 0x08, 0x25, 0x4e, 0x05, 0x74, 0x0a, 0x48, 0xe3, 0x18, 0x35, 0x0d, 0x94, 0x94, 0xca, + 0xa4, 0xe4, 0x83, 0x83, 0x80, 0xe9, 0x84, 0x7f, 0x52, 0xe9, 0x51, 0x57, 0x29, 0x0b, 0x07, 0x41, + 0xd9, 0xba, 0xdc, 0x98, 0x15, 0x94, 0x21, 0xd0, 0x9a, 0x5c, 0x61, 0x0c, 0x0c, 0x34, 0x52, 0x70, + 0x0a, 0xb4, 0xe7, 0x4c, 0x6c, 0xb3, 0x8d, 0xba, 0x88, 0xcc, 0x4a, 0x35, 0x9c, 0x94, 0x0a, 0x94, + 0xe8, 0x42, 0x83, 0x65, 0xb1, 0xc6, 0xee, 0xca, 0x22, 0xd7, 0x2a, 0x81, 0x80, 0xed, 0x3e, 0x19, + 0xc8, 0x90, 0xaf, 0x88, 0x07, 0x6c, 0x4d, 0x99, 0xc4, 0x66, 0x39, 0x04, 0x15, 0x73, 0xb7, 0xf8, + 0x50, 0xa1, 0x96, 0xfc, 0x86, 0xb8, 0xc7, 0xee, 0x28, 0x33, 0x06, 0xad, 0xe4, 0x3b, 0xb1, 0x9f, + 0x8a, 0x6f, 0xd9, 0xa3, 0x06, 0x02, 0x49, 0x1e, 0xdd, 0x38, 0xf6, 0x65, 0xf3, 0xa0, 0x32, 0xf5, + 0xb2, 0x6a, 0xc2, 0x07, 0x08, 0x85, 0xe7, 0x37, 0xc5, 0x2a, 0xbb, 0xdd, 0x70, 0x83, 0x83, 0x64, + 0x2f, 0x32, 0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 0xfe, 0x48, + 0x69, 0x2c, 0xff, 0xca, 0xc8, 0x0e, 0x17, 0x68, 0xea, 0x6c, 0x91, 0xf3, 0x9d, 0xc1, 0xdf, 0x4b, + 0x6c, 0xeb, 0xd5, 0xec, 0xa4, 0x77, 0xf9, 0xfb, 0x31, 0x10, 0x9d, 0x67, 0x22, 0x8f, 0x6f, 0x4e, + 0xbe, 0xf4, 0x52, 0xd6, 0x51, 0xd3, 0xd9, 0x9b, 0xc3, 0xd3, 0x69, 0x6f, 0x76, 0x3e, 0xed, 0x4f, + 0x8f, 0x4f, 0xcb, 0x17, 0xa9, 0x79, 0xba, 0xce, 0x5e, 0xcf, 0xff, 0xeb, 0x25, 0x7b, 0x56, 0xfd, + 0xfc, 0x79, 0xe5, 0x6a, 0x0a, 0xf0, 0xd7, 0x95, 0xf5, 0xb4, 0x4a, 0x06, 0x47, 0xf3, 0x5e, 0xb5, + 0x8c, 0xab, 0xf1, 0x6e, 0xaf, 0x3c, 0x72, 0xfe, 0x4f, 0x43, 0x38, 0x80, 0xa3, 0xf9, 0x41, 0x4b, + 0x38, 0x18, 0xef, 0x1e, 0x54, 0x84, 0x5f, 0xae, 0x95, 0x07, 0x3f, 0xfd, 0x37, 0x00, 0x00, 0xff, + 0xff, 0xcf, 0xa0, 0xc1, 0x07, 0x41, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_feed_error.pb.go new file mode 100644 index 000000000..535a2b443 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_feed_error.pb.go @@ -0,0 +1,138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/campaign_feed_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible campaign feed errors. +type CampaignFeedErrorEnum_CampaignFeedError int32 + +const ( + // Enum unspecified. + CampaignFeedErrorEnum_UNSPECIFIED CampaignFeedErrorEnum_CampaignFeedError = 0 + // The received error code is not known in this version. + CampaignFeedErrorEnum_UNKNOWN CampaignFeedErrorEnum_CampaignFeedError = 1 + // An active feed already exists for this campaign and placeholder type. + CampaignFeedErrorEnum_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE CampaignFeedErrorEnum_CampaignFeedError = 2 + // The specified feed is removed. + CampaignFeedErrorEnum_CANNOT_CREATE_FOR_REMOVED_FEED CampaignFeedErrorEnum_CampaignFeedError = 4 + // The CampaignFeed already exists. UPDATE should be used to modify the + // existing CampaignFeed. + CampaignFeedErrorEnum_CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED CampaignFeedErrorEnum_CampaignFeedError = 5 + // Cannot update removed campaign feed. + CampaignFeedErrorEnum_CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED CampaignFeedErrorEnum_CampaignFeedError = 6 + // Invalid placeholder type. + CampaignFeedErrorEnum_INVALID_PLACEHOLDER_TYPE CampaignFeedErrorEnum_CampaignFeedError = 7 + // Feed mapping for this placeholder type does not exist. + CampaignFeedErrorEnum_MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE CampaignFeedErrorEnum_CampaignFeedError = 8 +) + +var CampaignFeedErrorEnum_CampaignFeedError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", + 4: "CANNOT_CREATE_FOR_REMOVED_FEED", + 5: "CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED", + 6: "CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED", + 7: "INVALID_PLACEHOLDER_TYPE", + 8: "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", +} +var CampaignFeedErrorEnum_CampaignFeedError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 2, + "CANNOT_CREATE_FOR_REMOVED_FEED": 4, + "CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED": 5, + "CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED": 6, + "INVALID_PLACEHOLDER_TYPE": 7, + "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE": 8, +} + +func (x CampaignFeedErrorEnum_CampaignFeedError) String() string { + return proto.EnumName(CampaignFeedErrorEnum_CampaignFeedError_name, int32(x)) +} +func (CampaignFeedErrorEnum_CampaignFeedError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_error_8ad65cf273383026, []int{0, 0} +} + +// Container for enum describing possible campaign feed errors. +type CampaignFeedErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignFeedErrorEnum) Reset() { *m = CampaignFeedErrorEnum{} } +func (m *CampaignFeedErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignFeedErrorEnum) ProtoMessage() {} +func (*CampaignFeedErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_error_8ad65cf273383026, []int{0} +} +func (m *CampaignFeedErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignFeedErrorEnum.Unmarshal(m, b) +} +func (m *CampaignFeedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignFeedErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignFeedErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignFeedErrorEnum.Merge(dst, src) +} +func (m *CampaignFeedErrorEnum) XXX_Size() int { + return xxx_messageInfo_CampaignFeedErrorEnum.Size(m) +} +func (m *CampaignFeedErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignFeedErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignFeedErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignFeedErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignFeedErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignFeedErrorEnum_CampaignFeedError", CampaignFeedErrorEnum_CampaignFeedError_name, CampaignFeedErrorEnum_CampaignFeedError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/campaign_feed_error.proto", fileDescriptor_campaign_feed_error_8ad65cf273383026) +} + +var fileDescriptor_campaign_feed_error_8ad65cf273383026 = []byte{ + // 383 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0xae, 0x93, 0x40, + 0x14, 0x86, 0x2d, 0xea, 0xbd, 0x66, 0xee, 0x42, 0x9c, 0x44, 0xe3, 0xc2, 0x74, 0x81, 0x0b, 0x5d, + 0x34, 0x03, 0x89, 0x1b, 0x13, 0x57, 0x53, 0x66, 0xc0, 0x89, 0x30, 0x4c, 0x80, 0xa2, 0x35, 0x24, + 0x13, 0x2c, 0x48, 0x9a, 0xb4, 0x4c, 0x03, 0xda, 0x07, 0x72, 0xd9, 0xe7, 0x70, 0x65, 0x7c, 0x28, + 0x33, 0x4c, 0xdb, 0xa4, 0xa9, 0xba, 0xe2, 0xcf, 0xe1, 0xfb, 0xff, 0xc3, 0x39, 0x07, 0xf0, 0xb6, + 0x55, 0xaa, 0xdd, 0x34, 0x6e, 0x55, 0x0f, 0xae, 0x91, 0x5a, 0xed,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x31, 0xcb, 0x32, 0xdd, 0x41, 0xf3, 0x31, 0x16, 0x62, 0xd4, 0x7f, 0x1b, 0xe5, 0xd1, 0xfc, + 0xf7, 0x04, 0x38, 0x2b, 0xb5, 0x45, 0xff, 0xdf, 0xf6, 0xfc, 0xd9, 0xd5, 0x42, 0x85, 0xbe, 0x92, + 0x98, 0x7c, 0x26, 0x47, 0x67, 0xab, 0x36, 0x55, 0xd7, 0x22, 0xd5, 0xb7, 0x6e, 0xdb, 0x74, 0xe3, + 0x0d, 0x4f, 0x17, 0xdf, 0xad, 0x87, 0x7f, 0xfd, 0x00, 0xef, 0xcc, 0xe3, 0x87, 0x75, 0x3f, 0xc4, + 0xf8, 0x60, 0x4d, 0x43, 0x13, 0x86, 0xeb, 0x01, 0x19, 0xa9, 0x55, 0xe1, 0xa1, 0xb1, 0xe5, 0xf0, + 0xeb, 0x04, 0x94, 0xb8, 0x1e, 0xca, 0x33, 0x50, 0x16, 0x5e, 0x69, 0x80, 0x2f, 0x37, 0x63, 0xe3, + 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x6a, 0xa0, 0x54, 0x78, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_group_error.pb.go new file mode 100644 index 000000000..85cb1a42e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_group_error.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/campaign_group_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible campaign group errors. +type CampaignGroupErrorEnum_CampaignGroupError int32 + +const ( + // Enum unspecified. + CampaignGroupErrorEnum_UNSPECIFIED CampaignGroupErrorEnum_CampaignGroupError = 0 + // The received error code is not known in this version. + CampaignGroupErrorEnum_UNKNOWN CampaignGroupErrorEnum_CampaignGroupError = 1 + // CampaignGroup was removed with ENABLED or PAUSED Campaigns associated + // with it. + CampaignGroupErrorEnum_CANNOT_REMOVE_CAMPAIGN_GROUP_WITH_ENABLED_OR_PAUSED_CAMPAIGNS CampaignGroupErrorEnum_CampaignGroupError = 2 + // CampaignGroup with the given name already exists. + CampaignGroupErrorEnum_DUPLICATE_NAME CampaignGroupErrorEnum_CampaignGroupError = 3 + // Cannot modify a removed campaign group. + CampaignGroupErrorEnum_CANNOT_MODIFY_REMOVED_CAMPAIGN_GROUP CampaignGroupErrorEnum_CampaignGroupError = 4 +) + +var CampaignGroupErrorEnum_CampaignGroupError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CANNOT_REMOVE_CAMPAIGN_GROUP_WITH_ENABLED_OR_PAUSED_CAMPAIGNS", + 3: "DUPLICATE_NAME", + 4: "CANNOT_MODIFY_REMOVED_CAMPAIGN_GROUP", +} +var CampaignGroupErrorEnum_CampaignGroupError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_REMOVE_CAMPAIGN_GROUP_WITH_ENABLED_OR_PAUSED_CAMPAIGNS": 2, + "DUPLICATE_NAME": 3, + "CANNOT_MODIFY_REMOVED_CAMPAIGN_GROUP": 4, +} + +func (x CampaignGroupErrorEnum_CampaignGroupError) String() string { + return proto.EnumName(CampaignGroupErrorEnum_CampaignGroupError_name, int32(x)) +} +func (CampaignGroupErrorEnum_CampaignGroupError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_error_675a06723b979a2f, []int{0, 0} +} + +// Container for enum describing possible campaign group errors. +type CampaignGroupErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignGroupErrorEnum) Reset() { *m = CampaignGroupErrorEnum{} } +func (m *CampaignGroupErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignGroupErrorEnum) ProtoMessage() {} +func (*CampaignGroupErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_error_675a06723b979a2f, []int{0} +} +func (m *CampaignGroupErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignGroupErrorEnum.Unmarshal(m, b) +} +func (m *CampaignGroupErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignGroupErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignGroupErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignGroupErrorEnum.Merge(dst, src) +} +func (m *CampaignGroupErrorEnum) XXX_Size() int { + return xxx_messageInfo_CampaignGroupErrorEnum.Size(m) +} +func (m *CampaignGroupErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignGroupErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignGroupErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignGroupErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignGroupErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignGroupErrorEnum_CampaignGroupError", CampaignGroupErrorEnum_CampaignGroupError_name, CampaignGroupErrorEnum_CampaignGroupError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/campaign_group_error.proto", fileDescriptor_campaign_group_error_675a06723b979a2f) +} + +var fileDescriptor_campaign_group_error_675a06723b979a2f = []byte{ + // 334 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0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0x09, 0x7f, 0x14, 0xc5, 0x5c, 0xcc, 0x82, + 0xc9, 0x83, 0xa0, 0x0c, 0xf7, 0x87, 0x94, 0x88, 0x68, 0x24, 0x38, 0x8e, 0xc7, 0x94, 0xec, 0x5d, + 0x63, 0xbb, 0x05, 0x21, 0x38, 0x23, 0x31, 0x1f, 0x06, 0x1e, 0x9e, 0x50, 0xc1, 0x70, 0x48, 0xed, + 0x36, 0xbc, 0x06, 0x57, 0x4d, 0x6c, 0x18, 0x91, 0x60, 0xf0, 0xd4, 0xa4, 0x93, 0x5f, 0xf1, 0xf6, + 0x71, 0xff, 0xcb, 0x02, 0xbd, 0xb9, 0x5a, 0xa3, 0xff, 0xef, 0xee, 0x5f, 0x1e, 0x5e, 0xc6, 0xab, + 0xc2, 0xb8, 0xf5, 0x4c, 0x1a, 0x54, 0xaa, 0x55, 0x9a, 0x4b, 0xa4, 0x4a, 0xe9, 0xc8, 0x45, 0x5e, + 0xd7, 0xb9, 0x6b, 0xbf, 0x58, 0xea, 0xbf, 0x1e, 0xe3, 0xce, 0x7c, 0xde, 0x5a, 0x6d, 0x1f, 0xe3, + 0xf7, 0x56, 0xd7, 0x37, 0x61, 0x38, 0xd3, 0xc8, 0xc8, 0x4a, 0x4d, 0x5d, 0x54, 0xaf, 0xd4, 0x9f, + 0x3b, 0x43, 0x82, 0x33, 0x9d, 0xec, 0x0d, 0xc9, 0xd4, 0x4d, 0x8c, 0xe1, 0xe5, 0xa4, 0x5e, 0x7c, + 0xf3, 0x13, 0x00, 0x00, 0xff, 0xff, 0x18, 0x8d, 0x63, 0x1d, 0x04, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_shared_set_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_shared_set_error.pb.go new file mode 100644 index 000000000..c77daf605 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/campaign_shared_set_error.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/campaign_shared_set_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible campaign shared set errors. +type CampaignSharedSetErrorEnum_CampaignSharedSetError int32 + +const ( + // Enum unspecified. + CampaignSharedSetErrorEnum_UNSPECIFIED CampaignSharedSetErrorEnum_CampaignSharedSetError = 0 + // The received error code is not known in this version. + CampaignSharedSetErrorEnum_UNKNOWN CampaignSharedSetErrorEnum_CampaignSharedSetError = 1 + // The shared set belongs to another customer and permission isn't granted. + CampaignSharedSetErrorEnum_SHARED_SET_ACCESS_DENIED CampaignSharedSetErrorEnum_CampaignSharedSetError = 2 +) + +var CampaignSharedSetErrorEnum_CampaignSharedSetError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "SHARED_SET_ACCESS_DENIED", +} +var CampaignSharedSetErrorEnum_CampaignSharedSetError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SHARED_SET_ACCESS_DENIED": 2, +} + +func (x CampaignSharedSetErrorEnum_CampaignSharedSetError) String() string { + return proto.EnumName(CampaignSharedSetErrorEnum_CampaignSharedSetError_name, int32(x)) +} +func (CampaignSharedSetErrorEnum_CampaignSharedSetError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_error_6fb036bae1aa3bd9, []int{0, 0} +} + +// Container for enum describing possible campaign shared set errors. +type CampaignSharedSetErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignSharedSetErrorEnum) Reset() { *m = CampaignSharedSetErrorEnum{} } +func (m *CampaignSharedSetErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CampaignSharedSetErrorEnum) ProtoMessage() {} +func (*CampaignSharedSetErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_error_6fb036bae1aa3bd9, []int{0} +} +func (m *CampaignSharedSetErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignSharedSetErrorEnum.Unmarshal(m, b) +} +func (m *CampaignSharedSetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignSharedSetErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CampaignSharedSetErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignSharedSetErrorEnum.Merge(dst, src) +} +func (m *CampaignSharedSetErrorEnum) XXX_Size() int { + return xxx_messageInfo_CampaignSharedSetErrorEnum.Size(m) +} +func (m *CampaignSharedSetErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignSharedSetErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignSharedSetErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CampaignSharedSetErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignSharedSetErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignSharedSetErrorEnum_CampaignSharedSetError", CampaignSharedSetErrorEnum_CampaignSharedSetError_name, CampaignSharedSetErrorEnum_CampaignSharedSetError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/campaign_shared_set_error.proto", fileDescriptor_campaign_shared_set_error_6fb036bae1aa3bd9) +} + +var fileDescriptor_campaign_shared_set_error_6fb036bae1aa3bd9 = []byte{ + // 275 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00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97, 0xba, 0x81, 0xff, 0x7f, + 0x6d, 0x7c, 0x75, 0xb8, 0xba, 0x72, 0x77, 0x55, 0xd1, 0x6b, 0xb9, 0xb5, 0x2b, 0xbd, 0xe6, 0xad, + 0x82, 0xda, 0xa8, 0x4c, 0xc9, 0xd6, 0x5f, 0xbd, 0x5b, 0xaa, 0x5b, 0xd9, 0xbf, 0x86, 0xbb, 0x0d, + 0xcf, 0x67, 0x7c, 0x3c, 0x41, 0xe8, 0x2b, 0x1e, 0x4d, 0x42, 0x18, 0x12, 0x16, 0x06, 0xe8, 0xd0, + 0x22, 0x87, 0xbe, 0xd2, 0x7e, 0xef, 0x04, 0x35, 0x12, 0xb6, 0xde, 0x0b, 0xea, 0x45, 0x5e, 0x07, + 0xc1, 0xdb, 0x89, 0x2f, 0xbe, 0xf9, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x05, 0x13, 0x71, 0xbb, 0xb0, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/change_status_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/change_status_error.pb.go new file mode 100644 index 000000000..a224ee13f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/change_status_error.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/change_status_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible change status errors. +type ChangeStatusErrorEnum_ChangeStatusError int32 + +const ( + // Enum unspecified. + ChangeStatusErrorEnum_UNSPECIFIED ChangeStatusErrorEnum_ChangeStatusError = 0 + // The received error code is not known in this version. + ChangeStatusErrorEnum_UNKNOWN ChangeStatusErrorEnum_ChangeStatusError = 1 + // The requested start date is too old. + ChangeStatusErrorEnum_START_DATE_TOO_OLD ChangeStatusErrorEnum_ChangeStatusError = 3 +) + +var ChangeStatusErrorEnum_ChangeStatusError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "START_DATE_TOO_OLD", +} +var ChangeStatusErrorEnum_ChangeStatusError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "START_DATE_TOO_OLD": 3, +} + +func (x ChangeStatusErrorEnum_ChangeStatusError) String() string { + return proto.EnumName(ChangeStatusErrorEnum_ChangeStatusError_name, int32(x)) +} +func (ChangeStatusErrorEnum_ChangeStatusError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_change_status_error_3510b0503a390638, []int{0, 0} +} + +// Container for enum describing possible change status errors. +type ChangeStatusErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChangeStatusErrorEnum) Reset() { *m = ChangeStatusErrorEnum{} } +func (m *ChangeStatusErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ChangeStatusErrorEnum) ProtoMessage() {} +func (*ChangeStatusErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_change_status_error_3510b0503a390638, []int{0} +} +func (m *ChangeStatusErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChangeStatusErrorEnum.Unmarshal(m, b) +} +func (m *ChangeStatusErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChangeStatusErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ChangeStatusErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangeStatusErrorEnum.Merge(dst, src) +} +func (m *ChangeStatusErrorEnum) XXX_Size() int { + return xxx_messageInfo_ChangeStatusErrorEnum.Size(m) +} +func (m *ChangeStatusErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ChangeStatusErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ChangeStatusErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ChangeStatusErrorEnum)(nil), "google.ads.googleads.v0.errors.ChangeStatusErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ChangeStatusErrorEnum_ChangeStatusError", ChangeStatusErrorEnum_ChangeStatusError_name, ChangeStatusErrorEnum_ChangeStatusError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/change_status_error.proto", fileDescriptor_change_status_error_3510b0503a390638) +} + +var fileDescriptor_change_status_error_3510b0503a390638 = []byte{ + // 266 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xe4, 0x8c, 0xc4, 0xbc, 0xf4, 0xd4, 0xf8, 0xe2, 0x92, 0xc4, 0x92, + 0xd2, 0xe2, 0x78, 0xb0, 0xa0, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, 0xb9, 0x5e, + 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xa7, 0x5e, 0x99, 0x81, 0x1e, 0x44, 0xa7, 0x52, 0x12, 0x97, 0xa8, + 0x33, 0x58, 0x73, 0x30, 0x58, 0xaf, 0x2b, 0x48, 0xd4, 0x35, 0xaf, 0x34, 0x57, 0xc9, 0x93, 0x4b, + 0x10, 0x43, 0x42, 0x88, 0x9f, 0x8b, 0x3b, 0xd4, 0x2f, 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, + 0xd5, 0x45, 0x80, 0x41, 0x88, 0x9b, 0x8b, 0x3d, 0xd4, 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, + 0x51, 0x48, 0x8c, 0x4b, 0x28, 0x38, 0xc4, 0x31, 0x28, 0x24, 0xde, 0xc5, 0x31, 0xc4, 0x35, 0x3e, + 0xc4, 0xdf, 0x3f, 0xde, 0xdf, 0xc7, 0x45, 0x80, 0xd9, 0xe9, 0x0c, 0x23, 0x97, 0x52, 0x72, 0x7e, + 0xae, 0x1e, 0x7e, 0xa7, 0x38, 0x89, 0x61, 0xd8, 0x17, 0x00, 0xf2, 0x42, 0x00, 0x63, 0x94, 0x0b, + 0x54, 0x67, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, + 0xd8, 0x83, 0xb0, 0xe0, 0x28, 0xc8, 0x2c, 0xc6, 0x15, 0x3a, 0xd6, 0x10, 0x6a, 0x11, 0x13, 0xb3, + 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x39, 0x77, 0x88, 0x61, 0x8e, 0x29, 0xc5, 0x7a, 0x10, 0x26, 0x88, + 0x15, 0x66, 0xa0, 0x07, 0xb6, 0xb2, 0xf8, 0x14, 0x4c, 0x41, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, + 0x41, 0x4c, 0x98, 0x41, 0x0c, 0x44, 0x41, 0x12, 0x1b, 0xd8, 0x62, 0x63, 0x40, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xc6, 0x6d, 0xde, 0x35, 0x95, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/collection_size_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/collection_size_error.pb.go new file mode 100644 index 000000000..1e48345c3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/collection_size_error.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/collection_size_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible collection size errors. +type CollectionSizeErrorEnum_CollectionSizeError int32 + +const ( + // Enum unspecified. + CollectionSizeErrorEnum_UNSPECIFIED CollectionSizeErrorEnum_CollectionSizeError = 0 + // The received error code is not known in this version. + CollectionSizeErrorEnum_UNKNOWN CollectionSizeErrorEnum_CollectionSizeError = 1 + // Too few. + CollectionSizeErrorEnum_TOO_FEW CollectionSizeErrorEnum_CollectionSizeError = 2 + // Too many. + CollectionSizeErrorEnum_TOO_MANY CollectionSizeErrorEnum_CollectionSizeError = 3 +) + +var CollectionSizeErrorEnum_CollectionSizeError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "TOO_FEW", + 3: "TOO_MANY", +} +var CollectionSizeErrorEnum_CollectionSizeError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "TOO_FEW": 2, + "TOO_MANY": 3, +} + +func (x CollectionSizeErrorEnum_CollectionSizeError) String() string { + return proto.EnumName(CollectionSizeErrorEnum_CollectionSizeError_name, int32(x)) +} +func (CollectionSizeErrorEnum_CollectionSizeError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_collection_size_error_d621fd7462c2de8f, []int{0, 0} +} + +// Container for enum describing possible collection size errors. +type CollectionSizeErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CollectionSizeErrorEnum) Reset() { *m = CollectionSizeErrorEnum{} } +func (m *CollectionSizeErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CollectionSizeErrorEnum) ProtoMessage() {} +func (*CollectionSizeErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_collection_size_error_d621fd7462c2de8f, []int{0} +} +func (m *CollectionSizeErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CollectionSizeErrorEnum.Unmarshal(m, b) +} +func (m *CollectionSizeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CollectionSizeErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CollectionSizeErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectionSizeErrorEnum.Merge(dst, src) +} +func (m *CollectionSizeErrorEnum) XXX_Size() int { + return xxx_messageInfo_CollectionSizeErrorEnum.Size(m) +} +func (m *CollectionSizeErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CollectionSizeErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CollectionSizeErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CollectionSizeErrorEnum)(nil), "google.ads.googleads.v0.errors.CollectionSizeErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CollectionSizeErrorEnum_CollectionSizeError", CollectionSizeErrorEnum_CollectionSizeError_name, CollectionSizeErrorEnum_CollectionSizeError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/collection_size_error.proto", fileDescriptor_collection_size_error_d621fd7462c2de8f) +} + +var fileDescriptor_collection_size_error_d621fd7462c2de8f = []byte{ + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0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, 0xf6, 0x29, 0x2c, 0x64, 0x0a, 0x32, 0x8b, 0x71, 0x05, 0x94, 0x35, 0x84, 0x5a, 0xc4, + 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x98, 0x63, 0x4a, 0xb1, 0x1e, 0x84, + 0x09, 0x62, 0x85, 0x19, 0xe8, 0x81, 0xad, 0x2c, 0x3e, 0x05, 0x53, 0x10, 0xe3, 0x98, 0x52, 0x1c, + 0x03, 0x57, 0x10, 0x13, 0x66, 0x10, 0x03, 0x51, 0x90, 0xc4, 0x06, 0xb6, 0xd8, 0x18, 0x10, 0x00, + 0x00, 0xff, 0xff, 0x9e, 0xae, 0x5b, 0xc8, 0xa0, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/context_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/context_error.pb.go new file mode 100644 index 000000000..df514418f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/context_error.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/context_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible context errors. +type ContextErrorEnum_ContextError int32 + +const ( + // Enum unspecified. + ContextErrorEnum_UNSPECIFIED ContextErrorEnum_ContextError = 0 + // The received error code is not known in this version. + ContextErrorEnum_UNKNOWN ContextErrorEnum_ContextError = 1 + // The operation is not allowed for the given context. + ContextErrorEnum_OPERATION_NOT_PERMITTED_FOR_CONTEXT ContextErrorEnum_ContextError = 2 + // The operation is not allowed for removed resources. + ContextErrorEnum_OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE ContextErrorEnum_ContextError = 3 +) + +var ContextErrorEnum_ContextError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "OPERATION_NOT_PERMITTED_FOR_CONTEXT", + 3: "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE", +} +var ContextErrorEnum_ContextError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "OPERATION_NOT_PERMITTED_FOR_CONTEXT": 2, + "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE": 3, +} + +func (x ContextErrorEnum_ContextError) String() string { + return proto.EnumName(ContextErrorEnum_ContextError_name, int32(x)) +} +func (ContextErrorEnum_ContextError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_context_error_9a745e2a82a873d0, []int{0, 0} +} + +// Container for enum describing possible context errors. +type ContextErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContextErrorEnum) Reset() { *m = ContextErrorEnum{} } +func (m *ContextErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ContextErrorEnum) ProtoMessage() {} +func (*ContextErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_context_error_9a745e2a82a873d0, []int{0} +} +func (m *ContextErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContextErrorEnum.Unmarshal(m, b) +} +func (m *ContextErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContextErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ContextErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContextErrorEnum.Merge(dst, src) +} +func (m *ContextErrorEnum) XXX_Size() int { + return xxx_messageInfo_ContextErrorEnum.Size(m) +} +func (m *ContextErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ContextErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ContextErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ContextErrorEnum)(nil), "google.ads.googleads.v0.errors.ContextErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ContextErrorEnum_ContextError", ContextErrorEnum_ContextError_name, ContextErrorEnum_ContextError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/context_error.proto", fileDescriptor_context_error_9a745e2a82a873d0) +} + +var fileDescriptor_context_error_9a745e2a82a873d0 = []byte{ + // 300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xe4, 0xfc, 0xbc, 0x92, 0xd4, 0x8a, 0x92, 0x78, 0x30, 0x57, 0xaf, + 0xa0, 0x28, 0xbf, 0x24, 0x5f, 0x48, 0x0e, 0xa2, 0x50, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x47, + 0xaf, 0xcc, 0x40, 0x0f, 0xa2, 0x47, 0x69, 0x0e, 0x23, 0x97, 0x80, 0x33, 0x44, 0x9f, 0x2b, 0x48, + 0xc4, 0x35, 0xaf, 0x34, 0x57, 0xa9, 0x9d, 0x91, 0x8b, 0x07, 0x59, 0x50, 0x88, 0x9f, 0x8b, 0x3b, + 0xd4, 0x2f, 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, 0xd5, 0x45, 0x80, 0x41, 0x88, 0x9b, 0x8b, + 0x3d, 0xd4, 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, 0x51, 0x48, 0x9d, 0x4b, 0xd9, 0x3f, 0xc0, + 0x35, 0xc8, 0x31, 0xc4, 0xd3, 0xdf, 0x2f, 0xde, 0xcf, 0x3f, 0x24, 0x3e, 0xc0, 0x35, 0xc8, 0xd7, + 0x33, 0x24, 0xc4, 0xd5, 0x25, 0xde, 0xcd, 0x3f, 0x28, 0xde, 0xd9, 0xdf, 0x2f, 0xc4, 0x35, 0x22, + 0x44, 0x80, 0x49, 0xc8, 0x80, 0x4b, 0x07, 0x9f, 0xc2, 0x20, 0x57, 0x5f, 0xff, 0x30, 0x57, 0x97, + 0xf8, 0x20, 0xd7, 0x60, 0xff, 0xd0, 0x20, 0x67, 0x57, 0x01, 0x66, 0xa7, 0xe3, 0x8c, 0x5c, 0x4a, + 0xc9, 0xf9, 0xb9, 0x7a, 0xf8, 0x7d, 0xe1, 0x24, 0x88, 0xec, 0xda, 0x00, 0x90, 0xc7, 0x03, 0x18, + 0xa3, 0x5c, 0xa0, 0x9a, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, + 0x53, 0xf3, 0xc0, 0xc1, 0x02, 0x0b, 0xbe, 0x82, 0xcc, 0x62, 0x5c, 0xa1, 0x69, 0x0d, 0xa1, 0x16, + 0x31, 0x31, 0xbb, 0x3b, 0x3a, 0xae, 0x62, 0x92, 0x73, 0x87, 0x18, 0xe6, 0x98, 0x52, 0xac, 0x07, + 0x61, 0x82, 0x58, 0x61, 0x06, 0x7a, 0x60, 0x2b, 0x8b, 0x4f, 0xc1, 0x14, 0xc4, 0x38, 0xa6, 0x14, + 0xc7, 0xc0, 0x15, 0xc4, 0x84, 0x19, 0xc4, 0x40, 0x14, 0x24, 0xb1, 0x81, 0x2d, 0x36, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x46, 0x21, 0xd9, 0x0a, 0xc5, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/conversion_action_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/conversion_action_error.pb.go new file mode 100644 index 000000000..6d5ff2357 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/conversion_action_error.pb.go @@ -0,0 +1,154 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/conversion_action_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible conversion action errors. +type ConversionActionErrorEnum_ConversionActionError int32 + +const ( + // Enum unspecified. + ConversionActionErrorEnum_UNSPECIFIED ConversionActionErrorEnum_ConversionActionError = 0 + // The received error code is not known in this version. + ConversionActionErrorEnum_UNKNOWN ConversionActionErrorEnum_ConversionActionError = 1 + // The specified conversion action name already exists. + ConversionActionErrorEnum_DUPLICATE_NAME ConversionActionErrorEnum_ConversionActionError = 2 + // Another conversion action with the specified app id already exists. + ConversionActionErrorEnum_DUPLICATE_APP_ID ConversionActionErrorEnum_ConversionActionError = 3 + // Android first open action conflicts with Google play codeless download + // action tracking the same app. + ConversionActionErrorEnum_TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD ConversionActionErrorEnum_ConversionActionError = 4 + // Android first open action conflicts with Google play codeless download + // action tracking the same app. + ConversionActionErrorEnum_BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION ConversionActionErrorEnum_ConversionActionError = 5 + // The attribution model cannot be set to DATA_DRIVEN because a data-driven + // model has never been generated. + ConversionActionErrorEnum_DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED ConversionActionErrorEnum_ConversionActionError = 6 + // The attribution model cannot be set to DATA_DRIVEN because the + // data-driven model is expired. + ConversionActionErrorEnum_DATA_DRIVEN_MODEL_EXPIRED ConversionActionErrorEnum_ConversionActionError = 7 + // The attribution model cannot be set to DATA_DRIVEN because the + // data-driven model is stale. + ConversionActionErrorEnum_DATA_DRIVEN_MODEL_STALE ConversionActionErrorEnum_ConversionActionError = 8 + // The attribution model cannot be set to DATA_DRIVEN because the + // data-driven model is unavailable or the conversion action was newly + // added. + ConversionActionErrorEnum_DATA_DRIVEN_MODEL_UNKNOWN ConversionActionErrorEnum_ConversionActionError = 9 +) + +var ConversionActionErrorEnum_ConversionActionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DUPLICATE_NAME", + 3: "DUPLICATE_APP_ID", + 4: "TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD", + 5: "BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION", + 6: "DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED", + 7: "DATA_DRIVEN_MODEL_EXPIRED", + 8: "DATA_DRIVEN_MODEL_STALE", + 9: "DATA_DRIVEN_MODEL_UNKNOWN", +} +var ConversionActionErrorEnum_ConversionActionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DUPLICATE_NAME": 2, + "DUPLICATE_APP_ID": 3, + "TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD": 4, + "BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION": 5, + "DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED": 6, + "DATA_DRIVEN_MODEL_EXPIRED": 7, + "DATA_DRIVEN_MODEL_STALE": 8, + "DATA_DRIVEN_MODEL_UNKNOWN": 9, +} + +func (x ConversionActionErrorEnum_ConversionActionError) String() string { + return proto.EnumName(ConversionActionErrorEnum_ConversionActionError_name, int32(x)) +} +func (ConversionActionErrorEnum_ConversionActionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_error_529ca4a007cbb9ef, []int{0, 0} +} + +// Container for enum describing possible conversion action errors. +type ConversionActionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionActionErrorEnum) Reset() { *m = ConversionActionErrorEnum{} } +func (m *ConversionActionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ConversionActionErrorEnum) ProtoMessage() {} +func (*ConversionActionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_error_529ca4a007cbb9ef, []int{0} +} +func (m *ConversionActionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionActionErrorEnum.Unmarshal(m, b) +} +func (m *ConversionActionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionActionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ConversionActionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionActionErrorEnum.Merge(dst, src) +} +func (m *ConversionActionErrorEnum) XXX_Size() int { + return xxx_messageInfo_ConversionActionErrorEnum.Size(m) +} +func (m *ConversionActionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionActionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionActionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ConversionActionErrorEnum)(nil), "google.ads.googleads.v0.errors.ConversionActionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ConversionActionErrorEnum_ConversionActionError", ConversionActionErrorEnum_ConversionActionError_name, ConversionActionErrorEnum_ConversionActionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/conversion_action_error.proto", fileDescriptor_conversion_action_error_529ca4a007cbb9ef) +} + +var fileDescriptor_conversion_action_error_529ca4a007cbb9ef = []byte{ + // 407 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x6f, 0xd3, 0x30, + 0x14, 0xa7, 0x19, 0x6c, 0xe0, 0x49, 0x60, 0x59, 0x20, 0x34, 0x10, 0x3b, 0x54, 0xe2, 0xc0, 0x01, + 0xa7, 0x68, 0x07, 0x0e, 0x70, 0x79, 0x8d, 0x1f, 0x91, 0x45, 0x6a, 0x47, 0x49, 0x9a, 0x22, 0x54, + 0xc9, 0x2a, 0x6d, 0x14, 0x4d, 0xda, 0xe2, 0x29, 0x1e, 0xfd, 0x40, 0x1c, 0xf9, 0x28, 0x9c, 0xe0, + 0x93, 0xf0, 0x15, 0x50, 0xe2, 0xb5, 0x1c, 0xd6, 0xf5, 0xe4, 0x9f, 0xfc, 0xfb, 0xf3, 0xa4, 0xf7, + 0x7b, 0xe4, 0x63, 0x6d, 0x6d, 0x7d, 0x51, 0x85, 0x8b, 0x95, 0x0b, 0x3d, 0xec, 0xd0, 0x7a, 0x14, + 0x56, 0x6d, 0x6b, 0x5b, 0x17, 0x2e, 0x6d, 0xb3, 0xae, 0x5a, 0x77, 0x6e, 0x1b, 0xb3, 0x58, 0x5e, + 0x77, 0x4f, 0x4f, 0xf0, 0xab, 0xd6, 0x5e, 0x5b, 0x76, 0xea, 0x2d, 0x7c, 0xb1, 0x72, 0x7c, 0xeb, + 0xe6, 0xeb, 0x11, 0xf7, 0xee, 0xe1, 0xdf, 0x80, 0x9c, 0x44, 0xdb, 0x04, 0xe8, 0x03, 0xb0, 0xa3, + 0xb0, 0xf9, 0x7e, 0x39, 0xfc, 0x13, 0x90, 0x67, 0x3b, 0x59, 0xf6, 0x84, 0x1c, 0x4f, 0x55, 0x9e, + 0x62, 0x24, 0x3f, 0x49, 0x14, 0xf4, 0x1e, 0x3b, 0x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, 0x6e, + 0xe6, 0x83, 0x7f, 0x7e, 0x04, 0x07, 0x31, 0xc0, 0xcf, 0xe0, 0x34, 0xf6, 0x61, 0xb0, 0x72, 0xdc, + 0xc3, 0x0e, 0x95, 0x23, 0xde, 0x8f, 0x74, 0xbf, 0x36, 0x82, 0x39, 0xac, 0xdc, 0x7c, 0x2b, 0x98, + 0x97, 0xa3, 0xb9, 0x17, 0x7c, 0x3b, 0xec, 0x07, 0x9f, 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x82, + 0x96, 0xeb, 0x1a, 0xab, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/criterion_error.pb.go new file mode 100644 index 000000000..b4a054c70 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/criterion_error.pb.go @@ -0,0 +1,544 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/criterion_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible criterion errors. +type CriterionErrorEnum_CriterionError int32 + +const ( + // Enum unspecified. + CriterionErrorEnum_UNSPECIFIED CriterionErrorEnum_CriterionError = 0 + // The received error code is not known in this version. + CriterionErrorEnum_UNKNOWN CriterionErrorEnum_CriterionError = 1 + // Concrete type of criterion is required for CREATE and UPDATE operations. + CriterionErrorEnum_CONCRETE_TYPE_REQUIRED CriterionErrorEnum_CriterionError = 2 + // The category requested for exclusion is invalid. + CriterionErrorEnum_INVALID_EXCLUDED_CATEGORY CriterionErrorEnum_CriterionError = 3 + // Invalid keyword criteria text. + CriterionErrorEnum_INVALID_KEYWORD_TEXT CriterionErrorEnum_CriterionError = 4 + // Keyword text should be less than 80 chars. + CriterionErrorEnum_KEYWORD_TEXT_TOO_LONG CriterionErrorEnum_CriterionError = 5 + // Keyword text has too many words. + CriterionErrorEnum_KEYWORD_HAS_TOO_MANY_WORDS CriterionErrorEnum_CriterionError = 6 + // Keyword text has invalid characters or symbols. + CriterionErrorEnum_KEYWORD_HAS_INVALID_CHARS CriterionErrorEnum_CriterionError = 7 + // Invalid placement URL. + CriterionErrorEnum_INVALID_PLACEMENT_URL CriterionErrorEnum_CriterionError = 8 + // Invalid user list criterion. + CriterionErrorEnum_INVALID_USER_LIST CriterionErrorEnum_CriterionError = 9 + // Invalid user interest criterion. + CriterionErrorEnum_INVALID_USER_INTEREST CriterionErrorEnum_CriterionError = 10 + // Placement URL has wrong format. + CriterionErrorEnum_INVALID_FORMAT_FOR_PLACEMENT_URL CriterionErrorEnum_CriterionError = 11 + // Placement URL is too long. + CriterionErrorEnum_PLACEMENT_URL_IS_TOO_LONG CriterionErrorEnum_CriterionError = 12 + // Indicates the URL contains an illegal character. + CriterionErrorEnum_PLACEMENT_URL_HAS_ILLEGAL_CHAR CriterionErrorEnum_CriterionError = 13 + // Indicates the URL contains multiple comma separated URLs. + CriterionErrorEnum_PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE CriterionErrorEnum_CriterionError = 14 + // Indicates the domain is blacklisted. + CriterionErrorEnum_PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION CriterionErrorEnum_CriterionError = 15 + // Invalid topic path. + CriterionErrorEnum_INVALID_TOPIC_PATH CriterionErrorEnum_CriterionError = 16 + // The YouTube Channel Id is invalid. + CriterionErrorEnum_INVALID_YOUTUBE_CHANNEL_ID CriterionErrorEnum_CriterionError = 17 + // The YouTube Video Id is invalid. + CriterionErrorEnum_INVALID_YOUTUBE_VIDEO_ID CriterionErrorEnum_CriterionError = 18 + // Indicates the placement is a YouTube vertical channel, which is no longer + // supported. + CriterionErrorEnum_YOUTUBE_VERTICAL_CHANNEL_DEPRECATED CriterionErrorEnum_CriterionError = 19 + // Indicates the placement is a YouTube demographic channel, which is no + // longer supported. + CriterionErrorEnum_YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED CriterionErrorEnum_CriterionError = 20 + // YouTube urls are not supported in Placement criterion. Use YouTubeChannel + // and YouTubeVideo criterion instead. + CriterionErrorEnum_YOUTUBE_URL_UNSUPPORTED CriterionErrorEnum_CriterionError = 21 + // Criteria type can not be excluded by the customer, like AOL account type + // cannot target site type criteria. + CriterionErrorEnum_CANNOT_EXCLUDE_CRITERIA_TYPE CriterionErrorEnum_CriterionError = 22 + // Criteria type can not be targeted. + CriterionErrorEnum_CANNOT_ADD_CRITERIA_TYPE CriterionErrorEnum_CriterionError = 23 + // Product filter in the product criteria has invalid characters. Operand + // and the argument in the filter can not have "==" or "&+". + CriterionErrorEnum_INVALID_PRODUCT_FILTER CriterionErrorEnum_CriterionError = 24 + // Product filter in the product criteria is translated to a string as + // operand1==argument1&+operand2==argument2, maximum allowed length for the + // string is 255 chars. + CriterionErrorEnum_PRODUCT_FILTER_TOO_LONG CriterionErrorEnum_CriterionError = 25 + // Not allowed to exclude similar user list. + CriterionErrorEnum_CANNOT_EXCLUDE_SIMILAR_USER_LIST CriterionErrorEnum_CriterionError = 26 + // Not allowed to target a closed user list. + CriterionErrorEnum_CANNOT_ADD_CLOSED_USER_LIST CriterionErrorEnum_CriterionError = 27 + // Not allowed to add display only UserLists to search only campaigns. + CriterionErrorEnum_CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS CriterionErrorEnum_CriterionError = 28 + // Not allowed to add display only UserLists to search plus campaigns. + CriterionErrorEnum_CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS CriterionErrorEnum_CriterionError = 29 + // Not allowed to add display only UserLists to shopping campaigns. + CriterionErrorEnum_CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS CriterionErrorEnum_CriterionError = 30 + // Not allowed to add User interests to search only campaigns. + CriterionErrorEnum_CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS CriterionErrorEnum_CriterionError = 31 + // Not allowed to set bids for this criterion type in search campaigns + CriterionErrorEnum_CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS CriterionErrorEnum_CriterionError = 32 + // Final URLs, URL Templates and CustomParameters cannot be set for the + // criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and + // MobileAppCategory in search campaigns and shopping campaigns. + CriterionErrorEnum_CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE CriterionErrorEnum_CriterionError = 33 + // IP address is not valid. + CriterionErrorEnum_INVALID_IP_ADDRESS CriterionErrorEnum_CriterionError = 34 + // IP format is not valid. + CriterionErrorEnum_INVALID_IP_FORMAT CriterionErrorEnum_CriterionError = 35 + // Mobile application is not valid. + CriterionErrorEnum_INVALID_MOBILE_APP CriterionErrorEnum_CriterionError = 36 + // Mobile application category is not valid. + CriterionErrorEnum_INVALID_MOBILE_APP_CATEGORY CriterionErrorEnum_CriterionError = 37 + // The CriterionId does not exist or is of the incorrect type. + CriterionErrorEnum_INVALID_CRITERION_ID CriterionErrorEnum_CriterionError = 38 + // The Criterion is not allowed to be targeted. + CriterionErrorEnum_CANNOT_TARGET_CRITERION CriterionErrorEnum_CriterionError = 39 + // The criterion is not allowed to be targeted as it is deprecated. + CriterionErrorEnum_CANNOT_TARGET_OBSOLETE_CRITERION CriterionErrorEnum_CriterionError = 40 + // The CriterionId is not valid for the type. + CriterionErrorEnum_CRITERION_ID_AND_TYPE_MISMATCH CriterionErrorEnum_CriterionError = 41 + // Distance for the radius for the proximity criterion is invalid. + CriterionErrorEnum_INVALID_PROXIMITY_RADIUS CriterionErrorEnum_CriterionError = 42 + // Units for the distance for the radius for the proximity criterion is + // invalid. + CriterionErrorEnum_INVALID_PROXIMITY_RADIUS_UNITS CriterionErrorEnum_CriterionError = 43 + // Street address in the address is not valid. + CriterionErrorEnum_INVALID_STREETADDRESS_LENGTH CriterionErrorEnum_CriterionError = 44 + // City name in the address is not valid. + CriterionErrorEnum_INVALID_CITYNAME_LENGTH CriterionErrorEnum_CriterionError = 45 + // Region code in the address is not valid. + CriterionErrorEnum_INVALID_REGIONCODE_LENGTH CriterionErrorEnum_CriterionError = 46 + // Region name in the address is not valid. + CriterionErrorEnum_INVALID_REGIONNAME_LENGTH CriterionErrorEnum_CriterionError = 47 + // Postal code in the address is not valid. + CriterionErrorEnum_INVALID_POSTALCODE_LENGTH CriterionErrorEnum_CriterionError = 48 + // Country code in the address is not valid. + CriterionErrorEnum_INVALID_COUNTRY_CODE CriterionErrorEnum_CriterionError = 49 + // Latitude for the GeoPoint is not valid. + CriterionErrorEnum_INVALID_LATITUDE CriterionErrorEnum_CriterionError = 50 + // Longitude for the GeoPoint is not valid. + CriterionErrorEnum_INVALID_LONGITUDE CriterionErrorEnum_CriterionError = 51 + // The Proximity input is not valid. Both address and geoPoint cannot be + // null. + CriterionErrorEnum_PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL CriterionErrorEnum_CriterionError = 52 + // The Proximity address cannot be geocoded to a valid lat/long. + CriterionErrorEnum_INVALID_PROXIMITY_ADDRESS CriterionErrorEnum_CriterionError = 53 + // User domain name is not valid. + CriterionErrorEnum_INVALID_USER_DOMAIN_NAME CriterionErrorEnum_CriterionError = 54 + // Length of serialized criterion parameter exceeded size limit. + CriterionErrorEnum_CRITERION_PARAMETER_TOO_LONG CriterionErrorEnum_CriterionError = 55 + // Time interval in the AdSchedule overlaps with another AdSchedule. + CriterionErrorEnum_AD_SCHEDULE_TIME_INTERVALS_OVERLAP CriterionErrorEnum_CriterionError = 56 + // AdSchedule time interval cannot span multiple days. + CriterionErrorEnum_AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS CriterionErrorEnum_CriterionError = 57 + // AdSchedule time interval specified is invalid, endTime cannot be earlier + // than startTime. + CriterionErrorEnum_AD_SCHEDULE_INVALID_TIME_INTERVAL CriterionErrorEnum_CriterionError = 58 + // The number of AdSchedule entries in a day exceeds the limit. + CriterionErrorEnum_AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT CriterionErrorEnum_CriterionError = 59 + // CriteriaId does not match the interval of the AdSchedule specified. + CriterionErrorEnum_AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS CriterionErrorEnum_CriterionError = 60 + // Cannot set bid modifier for this criterion type. + CriterionErrorEnum_CANNOT_BID_MODIFY_CRITERION_TYPE CriterionErrorEnum_CriterionError = 61 + // Cannot bid modify criterion, since it is opted out of the campaign. + CriterionErrorEnum_CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT CriterionErrorEnum_CriterionError = 62 + // Cannot set bid modifier for a negative criterion. + CriterionErrorEnum_CANNOT_BID_MODIFY_NEGATIVE_CRITERION CriterionErrorEnum_CriterionError = 63 + // Bid Modifier already exists. Use SET operation to update. + CriterionErrorEnum_BID_MODIFIER_ALREADY_EXISTS CriterionErrorEnum_CriterionError = 64 + // Feed Id is not allowed in these Location Groups. + CriterionErrorEnum_FEED_ID_NOT_ALLOWED CriterionErrorEnum_CriterionError = 65 + // The account may not use the requested criteria type. For example, some + // accounts are restricted to keywords only. + CriterionErrorEnum_ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE CriterionErrorEnum_CriterionError = 66 + // The requested criteria type cannot be used with campaign or ad group + // bidding strategy. + CriterionErrorEnum_CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY CriterionErrorEnum_CriterionError = 67 + // The Criterion is not allowed to be excluded. + CriterionErrorEnum_CANNOT_EXCLUDE_CRITERION CriterionErrorEnum_CriterionError = 68 + // The criterion is not allowed to be removed. For example, we cannot remove + // any of the device criterion. + CriterionErrorEnum_CANNOT_REMOVE_CRITERION CriterionErrorEnum_CriterionError = 69 + // The combined length of product dimension values of the product scope + // criterion is too long. + CriterionErrorEnum_PRODUCT_SCOPE_TOO_LONG CriterionErrorEnum_CriterionError = 70 + // Product scope contains too many dimensions. + CriterionErrorEnum_PRODUCT_SCOPE_TOO_MANY_DIMENSIONS CriterionErrorEnum_CriterionError = 71 + // The combined length of product dimension values of the product partition + // criterion is too long. + CriterionErrorEnum_PRODUCT_PARTITION_TOO_LONG CriterionErrorEnum_CriterionError = 72 + // Product partition contains too many dimensions. + CriterionErrorEnum_PRODUCT_PARTITION_TOO_MANY_DIMENSIONS CriterionErrorEnum_CriterionError = 73 + // The product dimension is invalid (e.g. dimension contains illegal value, + // dimension type is represented with wrong class, etc). Product dimension + // value can not contain "==" or "&+". + CriterionErrorEnum_INVALID_PRODUCT_DIMENSION CriterionErrorEnum_CriterionError = 74 + // Product dimension type is either invalid for campaigns of this type or + // cannot be used in the current context. BIDDING_CATEGORY_Lx and + // PRODUCT_TYPE_Lx product dimensions must be used in ascending order of + // their levels: L1, L2, L3, L4, L5... The levels must be specified + // sequentially and start from L1. Furthermore, an "others" product + // partition cannot be subdivided with a dimension of the same type but of a + // higher level ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND + // but not with BIDDING_CATEGORY_L4). + CriterionErrorEnum_INVALID_PRODUCT_DIMENSION_TYPE CriterionErrorEnum_CriterionError = 75 + // Bidding categories do not form a valid path in the Shopping bidding + // category taxonomy. + CriterionErrorEnum_INVALID_PRODUCT_BIDDING_CATEGORY CriterionErrorEnum_CriterionError = 76 + // ShoppingSetting must be added to the campaign before ProductScope + // criteria can be added. + CriterionErrorEnum_MISSING_SHOPPING_SETTING CriterionErrorEnum_CriterionError = 77 + // Matching function is invalid. + CriterionErrorEnum_INVALID_MATCHING_FUNCTION CriterionErrorEnum_CriterionError = 78 + // Filter parameters not allowed for location groups targeting. + CriterionErrorEnum_LOCATION_FILTER_NOT_ALLOWED CriterionErrorEnum_CriterionError = 79 + // Given location filter parameter is invalid for location groups targeting. + CriterionErrorEnum_LOCATION_FILTER_INVALID CriterionErrorEnum_CriterionError = 80 + // Criteria type cannot be associated with a campaign and its ad group(s) + // simultaneously. + CriterionErrorEnum_CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP CriterionErrorEnum_CriterionError = 81 + // Range represented by hotel length of stay's min nights and max nights + // overlaps with an existing criterion. + CriterionErrorEnum_HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION CriterionErrorEnum_CriterionError = 82 + // Range represented by hotel advance booking window's min days and max days + // overlaps with an existing criterion. + CriterionErrorEnum_HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION CriterionErrorEnum_CriterionError = 83 + // The field is not allowed to be set when the negative field is set to + // true, e.g. we don't allow bids in negative ad group or campaign criteria. + CriterionErrorEnum_FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING CriterionErrorEnum_CriterionError = 84 +) + +var CriterionErrorEnum_CriterionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CONCRETE_TYPE_REQUIRED", + 3: "INVALID_EXCLUDED_CATEGORY", + 4: "INVALID_KEYWORD_TEXT", + 5: "KEYWORD_TEXT_TOO_LONG", + 6: "KEYWORD_HAS_TOO_MANY_WORDS", + 7: "KEYWORD_HAS_INVALID_CHARS", + 8: "INVALID_PLACEMENT_URL", + 9: "INVALID_USER_LIST", + 10: "INVALID_USER_INTEREST", + 11: "INVALID_FORMAT_FOR_PLACEMENT_URL", + 12: "PLACEMENT_URL_IS_TOO_LONG", + 13: "PLACEMENT_URL_HAS_ILLEGAL_CHAR", + 14: "PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE", + 15: "PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION", + 16: "INVALID_TOPIC_PATH", + 17: "INVALID_YOUTUBE_CHANNEL_ID", + 18: "INVALID_YOUTUBE_VIDEO_ID", + 19: "YOUTUBE_VERTICAL_CHANNEL_DEPRECATED", + 20: "YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED", + 21: "YOUTUBE_URL_UNSUPPORTED", + 22: "CANNOT_EXCLUDE_CRITERIA_TYPE", + 23: "CANNOT_ADD_CRITERIA_TYPE", + 24: "INVALID_PRODUCT_FILTER", + 25: "PRODUCT_FILTER_TOO_LONG", + 26: "CANNOT_EXCLUDE_SIMILAR_USER_LIST", + 27: "CANNOT_ADD_CLOSED_USER_LIST", + 28: "CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS", + 29: "CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS", + 30: "CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS", + 31: "CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS", + 32: "CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS", + 33: "CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE", + 34: "INVALID_IP_ADDRESS", + 35: "INVALID_IP_FORMAT", + 36: "INVALID_MOBILE_APP", + 37: "INVALID_MOBILE_APP_CATEGORY", + 38: "INVALID_CRITERION_ID", + 39: "CANNOT_TARGET_CRITERION", + 40: "CANNOT_TARGET_OBSOLETE_CRITERION", + 41: "CRITERION_ID_AND_TYPE_MISMATCH", + 42: "INVALID_PROXIMITY_RADIUS", + 43: "INVALID_PROXIMITY_RADIUS_UNITS", + 44: "INVALID_STREETADDRESS_LENGTH", + 45: "INVALID_CITYNAME_LENGTH", + 46: "INVALID_REGIONCODE_LENGTH", + 47: "INVALID_REGIONNAME_LENGTH", + 48: "INVALID_POSTALCODE_LENGTH", + 49: "INVALID_COUNTRY_CODE", + 50: "INVALID_LATITUDE", + 51: "INVALID_LONGITUDE", + 52: "PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL", + 53: "INVALID_PROXIMITY_ADDRESS", + 54: "INVALID_USER_DOMAIN_NAME", + 55: "CRITERION_PARAMETER_TOO_LONG", + 56: "AD_SCHEDULE_TIME_INTERVALS_OVERLAP", + 57: "AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS", + 58: "AD_SCHEDULE_INVALID_TIME_INTERVAL", + 59: "AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT", + 60: "AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS", + 61: "CANNOT_BID_MODIFY_CRITERION_TYPE", + 62: "CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT", + 63: "CANNOT_BID_MODIFY_NEGATIVE_CRITERION", + 64: "BID_MODIFIER_ALREADY_EXISTS", + 65: "FEED_ID_NOT_ALLOWED", + 66: "ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE", + 67: "CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY", + 68: "CANNOT_EXCLUDE_CRITERION", + 69: "CANNOT_REMOVE_CRITERION", + 70: "PRODUCT_SCOPE_TOO_LONG", + 71: "PRODUCT_SCOPE_TOO_MANY_DIMENSIONS", + 72: "PRODUCT_PARTITION_TOO_LONG", + 73: "PRODUCT_PARTITION_TOO_MANY_DIMENSIONS", + 74: "INVALID_PRODUCT_DIMENSION", + 75: "INVALID_PRODUCT_DIMENSION_TYPE", + 76: "INVALID_PRODUCT_BIDDING_CATEGORY", + 77: "MISSING_SHOPPING_SETTING", + 78: "INVALID_MATCHING_FUNCTION", + 79: "LOCATION_FILTER_NOT_ALLOWED", + 80: "LOCATION_FILTER_INVALID", + 81: "CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP", + 82: "HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION", + 83: "HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION", + 84: "FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING", +} +var CriterionErrorEnum_CriterionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CONCRETE_TYPE_REQUIRED": 2, + "INVALID_EXCLUDED_CATEGORY": 3, + "INVALID_KEYWORD_TEXT": 4, + "KEYWORD_TEXT_TOO_LONG": 5, + "KEYWORD_HAS_TOO_MANY_WORDS": 6, + "KEYWORD_HAS_INVALID_CHARS": 7, + "INVALID_PLACEMENT_URL": 8, + "INVALID_USER_LIST": 9, + "INVALID_USER_INTEREST": 10, + "INVALID_FORMAT_FOR_PLACEMENT_URL": 11, + "PLACEMENT_URL_IS_TOO_LONG": 12, + "PLACEMENT_URL_HAS_ILLEGAL_CHAR": 13, + "PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE": 14, + "PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION": 15, + "INVALID_TOPIC_PATH": 16, + "INVALID_YOUTUBE_CHANNEL_ID": 17, + "INVALID_YOUTUBE_VIDEO_ID": 18, + "YOUTUBE_VERTICAL_CHANNEL_DEPRECATED": 19, + "YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED": 20, + "YOUTUBE_URL_UNSUPPORTED": 21, + "CANNOT_EXCLUDE_CRITERIA_TYPE": 22, + "CANNOT_ADD_CRITERIA_TYPE": 23, + "INVALID_PRODUCT_FILTER": 24, + "PRODUCT_FILTER_TOO_LONG": 25, + "CANNOT_EXCLUDE_SIMILAR_USER_LIST": 26, + "CANNOT_ADD_CLOSED_USER_LIST": 27, + "CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS": 28, + "CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS": 29, + "CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS": 30, + "CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS": 31, + "CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS": 32, + "CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE": 33, + "INVALID_IP_ADDRESS": 34, + "INVALID_IP_FORMAT": 35, + "INVALID_MOBILE_APP": 36, + "INVALID_MOBILE_APP_CATEGORY": 37, + "INVALID_CRITERION_ID": 38, + "CANNOT_TARGET_CRITERION": 39, + "CANNOT_TARGET_OBSOLETE_CRITERION": 40, + "CRITERION_ID_AND_TYPE_MISMATCH": 41, + "INVALID_PROXIMITY_RADIUS": 42, + "INVALID_PROXIMITY_RADIUS_UNITS": 43, + "INVALID_STREETADDRESS_LENGTH": 44, + "INVALID_CITYNAME_LENGTH": 45, + "INVALID_REGIONCODE_LENGTH": 46, + "INVALID_REGIONNAME_LENGTH": 47, + "INVALID_POSTALCODE_LENGTH": 48, + "INVALID_COUNTRY_CODE": 49, + "INVALID_LATITUDE": 50, + "INVALID_LONGITUDE": 51, + "PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL": 52, + "INVALID_PROXIMITY_ADDRESS": 53, + "INVALID_USER_DOMAIN_NAME": 54, + "CRITERION_PARAMETER_TOO_LONG": 55, + "AD_SCHEDULE_TIME_INTERVALS_OVERLAP": 56, + "AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS": 57, + "AD_SCHEDULE_INVALID_TIME_INTERVAL": 58, + "AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT": 59, + "AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS": 60, + "CANNOT_BID_MODIFY_CRITERION_TYPE": 61, + "CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT": 62, + "CANNOT_BID_MODIFY_NEGATIVE_CRITERION": 63, + "BID_MODIFIER_ALREADY_EXISTS": 64, + "FEED_ID_NOT_ALLOWED": 65, + "ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE": 66, + "CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY": 67, + "CANNOT_EXCLUDE_CRITERION": 68, + "CANNOT_REMOVE_CRITERION": 69, + "PRODUCT_SCOPE_TOO_LONG": 70, + "PRODUCT_SCOPE_TOO_MANY_DIMENSIONS": 71, + "PRODUCT_PARTITION_TOO_LONG": 72, + "PRODUCT_PARTITION_TOO_MANY_DIMENSIONS": 73, + "INVALID_PRODUCT_DIMENSION": 74, + "INVALID_PRODUCT_DIMENSION_TYPE": 75, + "INVALID_PRODUCT_BIDDING_CATEGORY": 76, + "MISSING_SHOPPING_SETTING": 77, + "INVALID_MATCHING_FUNCTION": 78, + "LOCATION_FILTER_NOT_ALLOWED": 79, + "LOCATION_FILTER_INVALID": 80, + "CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP": 81, + "HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION": 82, + "HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION": 83, + "FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING": 84, +} + +func (x CriterionErrorEnum_CriterionError) String() string { + return proto.EnumName(CriterionErrorEnum_CriterionError_name, int32(x)) +} +func (CriterionErrorEnum_CriterionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_criterion_error_e6ddf5f52ad99d20, []int{0, 0} +} + +// Container for enum describing possible criterion errors. +type CriterionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CriterionErrorEnum) Reset() { *m = CriterionErrorEnum{} } +func (m *CriterionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CriterionErrorEnum) ProtoMessage() {} +func (*CriterionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_criterion_error_e6ddf5f52ad99d20, []int{0} +} +func (m *CriterionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CriterionErrorEnum.Unmarshal(m, b) +} +func (m *CriterionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CriterionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CriterionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CriterionErrorEnum.Merge(dst, src) +} +func (m *CriterionErrorEnum) XXX_Size() int { + return xxx_messageInfo_CriterionErrorEnum.Size(m) +} +func (m *CriterionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CriterionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CriterionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CriterionErrorEnum)(nil), "google.ads.googleads.v0.errors.CriterionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CriterionErrorEnum_CriterionError", CriterionErrorEnum_CriterionError_name, CriterionErrorEnum_CriterionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/criterion_error.proto", fileDescriptor_criterion_error_e6ddf5f52ad99d20) +} + +var fileDescriptor_criterion_error_e6ddf5f52ad99d20 = []byte{ + // 1443 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0xe9, 0x72, 0x54, 0xbb, + 0x11, 0x0e, 0x90, 0x40, 0x22, 0x12, 0x10, 0x62, 0x33, 0x9b, 0x01, 0xb3, 0x6f, 0x63, 0xb3, 0x07, + 0x08, 0x49, 0x34, 0x47, 0x3d, 0x67, 0x14, 0xeb, 0x48, 0x42, 0xd2, 0x19, 0x7b, 0x52, 0xae, 0x52, + 0x11, 0xec, 0x72, 0x51, 0x05, 0x1e, 0xca, 0x26, 0xbc, 0x43, 0xde, 0x22, 0x95, 0x9f, 0x79,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 0x50, 0x77, 0x01, 0x5d, 0xd3, + 0x1a, 0x54, 0x94, 0x82, 0x9e, 0x60, 0x17, 0xc9, 0xc2, 0xbc, 0x7e, 0x20, 0x05, 0x18, 0xd4, 0x32, + 0x76, 0x8b, 0x5c, 0x9b, 0x48, 0xc1, 0x05, 0x59, 0xb4, 0x91, 0x35, 0xe6, 0x02, 0xac, 0x03, 0x24, + 0x85, 0xa0, 0x27, 0xd9, 0x5d, 0x72, 0x33, 0x01, 0x05, 0x54, 0xa6, 0x74, 0xdc, 0xf6, 0x65, 0xf1, + 0x35, 0xec, 0x29, 0x76, 0x81, 0x9c, 0x4d, 0x58, 0xcc, 0x48, 0xad, 0x7d, 0x6d, 0xad, 0x71, 0xa8, + 0x3c, 0xcd, 0xae, 0x90, 0x8b, 0x05, 0xd7, 0x18, 0xf8, 0x98, 0x78, 0xb1, 0x70, 0x32, 0x80, 0x93, + 0xbc, 0x21, 0x29, 0x3d, 0x83, 0x1e, 0x8f, 0x11, 0x5c, 0x88, 0x39, 0xed, 0x59, 0x64, 0xf5, 0x84, + 0x26, 0xce, 0x88, 0xba, 0x08, 0xb1, 0x27, 0x55, 0x00, 0x47, 0x17, 0xf0, 0xe2, 0x59, 0xd9, 0xb4, + 0x9a, 0xe7, 0x90, 0x12, 0x73, 0x17, 0x7b, 0x59, 0x49, 0xc5, 0x5d, 0xc6, 0xa9, 0xf3, 0xec, 0x32, + 0xb9, 0x90, 0x5f, 0xae, 0x8c, 0x87, 0x9c, 0x74, 0x17, 0xd8, 0x4b, 0xf2, 0x2c, 0x03, 0x08, 0xe9, + 0xad, 0xe2, 0xc3, 0x68, 0xb4, 0x1a, 0x36, 0x08, 0x24, 0x50, 0xf4, 0xc0, 0x5d, 0xd1, 0x6f, 0x85, + 0x05, 0xaf, 0x2c, 0x97, 0xa5, 0xf6, 0xf4, 0x22, 0x7b, 0x4a, 0x1e, 0xfe, 0x5a, 0xdb, 0xa9, 0xd9, + 0x25, 0xf6, 0x9c, 0x3c,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2, 0x7b, + 0x72, 0xf6, 0xbd, 0x60, 0xf1, 0xf9, 0x61, 0x0f, 0xfc, 0x53, 0x8c, 0xcd, 0xb6, 0x47, 0x1f, 0xde, + 0xee, 0x6c, 0x77, 0x46, 0xbb, 0xdb, 0xcb, 0xdb, 0x5b, 0x3b, 0xcd, 0xe3, 0x24, 0x3d, 0x63, 0x3e, + 0xbd, 0xdf, 0xfb, 0xd6, 0xab, 0xe6, 0x55, 0xfb, 0xf3, 0xbf, 0x83, 0x87, 0x4a, 0xce, 0xff, 0x7f, + 0x70, 0xb1, 0x6c, 0x0f, 0xe3, 0x9b, 0x7b, 0x9d, 0xf6, 0x2f, 0xfe, 0x1b, 0xac, 0x74, 0x9a, 0x2b, + 0xf7, 0x7e, 0x4e, 0x80, 0x0d, 0xbe, 0xb9, 0xb7, 0x31, 0x01, 0x6c, 0x0c, 0x56, 0x36, 0x5a, 0xc0, + 0xbf, 0x0e, 0x37, 0x17, 0x3f, 0xfe, 0x25, 0x00, 0x00, 0xff, 0xff, 0x16, 0x22, 0xbc, 0x13, 0x4d, + 0x0d, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_client_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_client_link_error.pb.go new file mode 100644 index 000000000..8abcee349 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_client_link_error.pb.go @@ -0,0 +1,144 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/customer_client_link_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible CustomerClientLink errors. +type CustomerClientLinkErrorEnum_CustomerClientLinkError int32 + +const ( + // Enum unspecified. + CustomerClientLinkErrorEnum_UNSPECIFIED CustomerClientLinkErrorEnum_CustomerClientLinkError = 0 + // The received error code is not known in this version. + CustomerClientLinkErrorEnum_UNKNOWN CustomerClientLinkErrorEnum_CustomerClientLinkError = 1 + // Trying to manage a client that already in being managed by customer. + CustomerClientLinkErrorEnum_CLIENT_ALREADY_INVITED_BY_THIS_MANAGER CustomerClientLinkErrorEnum_CustomerClientLinkError = 2 + // Already managed by some other manager in the hierarchy. + CustomerClientLinkErrorEnum_CLIENT_ALREADY_MANAGED_IN_HIERARCHY CustomerClientLinkErrorEnum_CustomerClientLinkError = 3 + // Attempt to create a cycle in the hierarchy. + CustomerClientLinkErrorEnum_CYCLIC_LINK_NOT_ALLOWED CustomerClientLinkErrorEnum_CustomerClientLinkError = 4 + // Managed accounts has the maximum number of linked accounts. + CustomerClientLinkErrorEnum_CUSTOMER_HAS_TOO_MANY_ACCOUNTS CustomerClientLinkErrorEnum_CustomerClientLinkError = 5 + // Invitor has the maximum pending invitations. + CustomerClientLinkErrorEnum_CLIENT_HAS_TOO_MANY_INVITATIONS CustomerClientLinkErrorEnum_CustomerClientLinkError = 6 + // Attempt to change hidden status of a link that is not active. + CustomerClientLinkErrorEnum_CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS CustomerClientLinkErrorEnum_CustomerClientLinkError = 7 + // Parent manager account has the maximum number of linked accounts. + CustomerClientLinkErrorEnum_CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER CustomerClientLinkErrorEnum_CustomerClientLinkError = 8 +) + +var CustomerClientLinkErrorEnum_CustomerClientLinkError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CLIENT_ALREADY_INVITED_BY_THIS_MANAGER", + 3: "CLIENT_ALREADY_MANAGED_IN_HIERARCHY", + 4: "CYCLIC_LINK_NOT_ALLOWED", + 5: "CUSTOMER_HAS_TOO_MANY_ACCOUNTS", + 6: "CLIENT_HAS_TOO_MANY_INVITATIONS", + 7: "CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS", + 8: "CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER", +} +var CustomerClientLinkErrorEnum_CustomerClientLinkError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CLIENT_ALREADY_INVITED_BY_THIS_MANAGER": 2, + "CLIENT_ALREADY_MANAGED_IN_HIERARCHY": 3, + "CYCLIC_LINK_NOT_ALLOWED": 4, + "CUSTOMER_HAS_TOO_MANY_ACCOUNTS": 5, + "CLIENT_HAS_TOO_MANY_INVITATIONS": 6, + "CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS": 7, + "CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER": 8, +} + +func (x CustomerClientLinkErrorEnum_CustomerClientLinkError) String() string { + return proto.EnumName(CustomerClientLinkErrorEnum_CustomerClientLinkError_name, int32(x)) +} +func (CustomerClientLinkErrorEnum_CustomerClientLinkError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_customer_client_link_error_8f1a745bcc958e5b, []int{0, 0} +} + +// Container for enum describing possible CustomeClientLink errors. +type CustomerClientLinkErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerClientLinkErrorEnum) Reset() { *m = CustomerClientLinkErrorEnum{} } +func (m *CustomerClientLinkErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CustomerClientLinkErrorEnum) ProtoMessage() {} +func (*CustomerClientLinkErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_client_link_error_8f1a745bcc958e5b, []int{0} +} +func (m *CustomerClientLinkErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerClientLinkErrorEnum.Unmarshal(m, b) +} +func (m *CustomerClientLinkErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerClientLinkErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CustomerClientLinkErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerClientLinkErrorEnum.Merge(dst, src) +} +func (m *CustomerClientLinkErrorEnum) XXX_Size() int { + return xxx_messageInfo_CustomerClientLinkErrorEnum.Size(m) +} +func (m *CustomerClientLinkErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerClientLinkErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerClientLinkErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CustomerClientLinkErrorEnum)(nil), "google.ads.googleads.v0.errors.CustomerClientLinkErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CustomerClientLinkErrorEnum_CustomerClientLinkError", CustomerClientLinkErrorEnum_CustomerClientLinkError_name, CustomerClientLinkErrorEnum_CustomerClientLinkError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/customer_client_link_error.proto", fileDescriptor_customer_client_link_error_8f1a745bcc958e5b) +} + +var fileDescriptor_customer_client_link_error_8f1a745bcc958e5b = []byte{ + // 420 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6b, 0xdb, 0x30, + 0x14, 0xc7, 0x17, 0x77, 0x6b, 0x87, 0x7a, 0x98, 0xd1, 0xa5, 0x87, 0x8e, 0x0c, 0x52, 0xd8, 0xd8, + 0x60, 0x72, 0x60, 0xc7, 0x1d, 0x86, 0x22, 0x6b, 0xb1, 0xa8, 0x2b, 0x05, 0x5b, 0x4e, 0xf1, 0x08, + 0x3c, 0xb2, 0xc4, 0x98, 0xd0, 0xc4, 0x2a, 0x56, 0x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00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_error.pb.go new file mode 100644 index 000000000..1a2a46978 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_error.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/customer_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Set of errors that are related to requests dealing with Customer. +// Next id: 26 +type CustomerErrorEnum_CustomerError int32 + +const ( + // Enum unspecified. + CustomerErrorEnum_UNSPECIFIED CustomerErrorEnum_CustomerError = 0 + // The received error code is not known in this version. + CustomerErrorEnum_UNKNOWN CustomerErrorEnum_CustomerError = 1 + // Customer status is not allowed to be changed from DRAFT and CLOSED. + // Currency code and at least one of country code and time zone needs to be + // set when status is changed to ENABLED. + CustomerErrorEnum_STATUS_CHANGE_DISALLOWED CustomerErrorEnum_CustomerError = 2 + // CustomerService cannot get a customer that has not been fully set up. + CustomerErrorEnum_ACCOUNT_NOT_SET_UP CustomerErrorEnum_CustomerError = 3 +) + +var CustomerErrorEnum_CustomerError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "STATUS_CHANGE_DISALLOWED", + 3: "ACCOUNT_NOT_SET_UP", +} +var CustomerErrorEnum_CustomerError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "STATUS_CHANGE_DISALLOWED": 2, + "ACCOUNT_NOT_SET_UP": 3, +} + +func (x CustomerErrorEnum_CustomerError) String() string { + return proto.EnumName(CustomerErrorEnum_CustomerError_name, int32(x)) +} +func (CustomerErrorEnum_CustomerError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_customer_error_67eed9e7530db687, []int{0, 0} +} + +// Container for enum describing possible customer errors. +type CustomerErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerErrorEnum) Reset() { *m = CustomerErrorEnum{} } +func (m *CustomerErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CustomerErrorEnum) ProtoMessage() {} +func (*CustomerErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_error_67eed9e7530db687, []int{0} +} +func (m *CustomerErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerErrorEnum.Unmarshal(m, b) +} +func (m *CustomerErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CustomerErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerErrorEnum.Merge(dst, src) +} +func (m *CustomerErrorEnum) XXX_Size() int { + return xxx_messageInfo_CustomerErrorEnum.Size(m) +} +func (m *CustomerErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CustomerErrorEnum)(nil), "google.ads.googleads.v0.errors.CustomerErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CustomerErrorEnum_CustomerError", CustomerErrorEnum_CustomerError_name, CustomerErrorEnum_CustomerError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/customer_error.proto", fileDescriptor_customer_error_67eed9e7530db687) +} + +var fileDescriptor_customer_error_67eed9e7530db687 = []byte{ + // 285 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, + 0x18, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x62, 0xcd, 0x41, 0x3c, 0xc8, 0x0e, 0xfd, 0x00, 0x69, 0x61, + 0x47, 0x4f, 0x59, 0x1b, 0x6b, 0x71, 0xa4, 0x85, 0x26, 0x1b, 0x48, 0x21, 0xd4, 0xb6, 0x04, 0x61, + 0x6d, 0x46, 0xb2, 0x0d, 0x3f, 0x8f, 0x47, 0x3f, 0x89, 0xf8, 0xa9, 0xa4, 0xcd, 0x36, 0xd8, 0x41, + 0x4f, 0x79, 0xf2, 0xf2, 0xfc, 0xde, 0x3f, 0x0f, 0x98, 0x49, 0xa5, 0xe4, 0xba, 0xf1, 0xcb, 0xda, + 0xf8, 0x56, 0xf6, 0x6a, 0x1f, 0xf8, 0x8d, 0xd6, 0x4a, 0x1b, 0xbf, 0xda, 0x99, 0xad, 0x6a, 0x1b, + 0x2d, 0x86, 0x3f, 0xda, 0x68, 0xb5, 0x55, 0x70, 0x6a, 0x9d, 0xa8, 0xac, 0x0d, 0x3a, 0x41, 0x68, + 0x1f, 0x20, 0x0b, 0x79, 0x1f, 0xe0, 0x36, 0x3c, 0x70, 0xa4, 0xaf, 0x90, 0x6e, 0xd7, 0x7a, 0x15, + 0xb8, 0x3e, 0x2b, 0xc2, 0x1b, 0x30, 0xe1, 0x34, 0xcf, 0x48, 0x98, 0x3c, 0x25, 0x24, 0x72, 0x2f, + 0xe0, 0x04, 0x5c, 0x71, 0xfa, 0x42, 0xd3, 0x15, 0x75, 0x47, 0xf0, 0x01, 0xdc, 0xe7, 0x0c, 0x33, + 0x9e, 0x8b, 0xf0, 0x19, 0xd3, 0x98, 0x88, 0x28, 0xc9, 0xf1, 0x62, 0x91, 0xae, 0x48, 0xe4, 0x3a, + 0xf0, 0x0e, 0x40, 0x1c, 0x86, 0x29, 0xa7, 0x4c, 0xd0, 0x94, 0x89, 0x9c, 0x30, 0xc1, 0x33, 0x77, + 0x3c, 0xff, 0x1e, 0x01, 0xaf, 0x52, 0x2d, 0xfa, 0x7f, 0xc1, 0x39, 0x3c, 0xdb, 0x24, 0xeb, 0x8f, + 0xca, 0x46, 0xaf, 0xd1, 0x81, 0x92, 0x6a, 0x5d, 0x76, 0x12, 0x29, 0x2d, 0x7d, 0xd9, 0x74, 0xc3, + 0xc9, 0xc7, 0x6c, 0x36, 0xef, 0xe6, 0xaf, 0xa8, 0x1e, 0xed, 0xf3, 0xe9, 0x8c, 0x63, 0x8c, 0xbf, + 0x9c, 0x69, 0x6c, 0x9b, 0xe1, 0xda, 0x20, 0x2b, 0x7b, 0xb5, 0x0c, 0xd0, 0x30, 0xd2, 0xfc, 0x1c, + 0x0d, 0x05, 0xae, 0x4d, 0x71, 0x32, 0x14, 0xcb, 0xa0, 0xb0, 0x86, 0xb7, 0xcb, 0x61, 0xf0, 0xec, + 0x37, 0x00, 0x00, 0xff, 0xff, 0x98, 0x99, 0x68, 0x2b, 0xa2, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_feed_error.pb.go new file mode 100644 index 000000000..068ee7fdc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_feed_error.pb.go @@ -0,0 +1,144 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/customer_feed_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible customer feed errors. +type CustomerFeedErrorEnum_CustomerFeedError int32 + +const ( + // Enum unspecified. + CustomerFeedErrorEnum_UNSPECIFIED CustomerFeedErrorEnum_CustomerFeedError = 0 + // The received error code is not known in this version. + CustomerFeedErrorEnum_UNKNOWN CustomerFeedErrorEnum_CustomerFeedError = 1 + // An active feed already exists for this customer and place holder type. + CustomerFeedErrorEnum_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE CustomerFeedErrorEnum_CustomerFeedError = 2 + // The specified feed is removed. + CustomerFeedErrorEnum_CANNOT_CREATE_FOR_REMOVED_FEED CustomerFeedErrorEnum_CustomerFeedError = 3 + // The CustomerFeed already exists. Update should be used to modify the + // existing CustomerFeed. + CustomerFeedErrorEnum_CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED CustomerFeedErrorEnum_CustomerFeedError = 4 + // Cannot update removed customer feed. + CustomerFeedErrorEnum_CANNOT_MODIFY_REMOVED_CUSTOMER_FEED CustomerFeedErrorEnum_CustomerFeedError = 5 + // Invalid placeholder type. + CustomerFeedErrorEnum_INVALID_PLACEHOLDER_TYPE CustomerFeedErrorEnum_CustomerFeedError = 6 + // Feed mapping for this placeholder type does not exist. + CustomerFeedErrorEnum_MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE CustomerFeedErrorEnum_CustomerFeedError = 7 + // Placeholder not allowed at the account level. + CustomerFeedErrorEnum_PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED CustomerFeedErrorEnum_CustomerFeedError = 8 +) + +var CustomerFeedErrorEnum_CustomerFeedError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", + 3: "CANNOT_CREATE_FOR_REMOVED_FEED", + 4: "CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED", + 5: "CANNOT_MODIFY_REMOVED_CUSTOMER_FEED", + 6: "INVALID_PLACEHOLDER_TYPE", + 7: "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE", + 8: "PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED", +} +var CustomerFeedErrorEnum_CustomerFeedError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 2, + "CANNOT_CREATE_FOR_REMOVED_FEED": 3, + "CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED": 4, + "CANNOT_MODIFY_REMOVED_CUSTOMER_FEED": 5, + "INVALID_PLACEHOLDER_TYPE": 6, + "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE": 7, + "PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED": 8, +} + +func (x CustomerFeedErrorEnum_CustomerFeedError) String() string { + return proto.EnumName(CustomerFeedErrorEnum_CustomerFeedError_name, int32(x)) +} +func (CustomerFeedErrorEnum_CustomerFeedError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_error_7d219f169025f9b2, []int{0, 0} +} + +// Container for enum describing possible customer feed errors. +type CustomerFeedErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerFeedErrorEnum) Reset() { *m = CustomerFeedErrorEnum{} } +func (m *CustomerFeedErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CustomerFeedErrorEnum) ProtoMessage() {} +func (*CustomerFeedErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_error_7d219f169025f9b2, []int{0} +} +func (m *CustomerFeedErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerFeedErrorEnum.Unmarshal(m, b) +} +func (m *CustomerFeedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerFeedErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CustomerFeedErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerFeedErrorEnum.Merge(dst, src) +} +func (m *CustomerFeedErrorEnum) XXX_Size() int { + return xxx_messageInfo_CustomerFeedErrorEnum.Size(m) +} +func (m *CustomerFeedErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerFeedErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerFeedErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CustomerFeedErrorEnum)(nil), "google.ads.googleads.v0.errors.CustomerFeedErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CustomerFeedErrorEnum_CustomerFeedError", CustomerFeedErrorEnum_CustomerFeedError_name, CustomerFeedErrorEnum_CustomerFeedError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/customer_feed_error.proto", fileDescriptor_customer_feed_error_7d219f169025f9b2) +} + +var fileDescriptor_customer_feed_error_7d219f169025f9b2 = []byte{ + // 406 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x30, + 0x1c, 0xc6, 0x69, 0x06, 0x1b, 0xf2, 0x0e, 0x14, 0x4b, 0x20, 0x0e, 0xa8, 0x87, 0x72, 0x80, 0xc3, + 0x70, 0x82, 0xb8, 0x20, 0x71, 0xf2, 0xe2, 0x7f, 0x8a, 0x45, 0x62, 0x47, 0x49, 0xda, 0x51, 0x14, + 0xc9, 0x2a, 0x8b, 0x89, 0x90, 0xd6, 0x7a, 0x8a, 0xb7, 0x3d, 0x10, 0x47, 0x1e, 0x05, 0xf1, 0x0a, + 0x3c, 0x07, 0x57, 0xe4, 0xb8, 0xab, 0xd4, 0x16, 0x76, 0xca, 0xa7, 0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, 0xc6, 0x6d, 0xf0, 0x01, 0x7e, 0x8e, 0x9e, 0x71, 0x31, 0xa3, 0x29, 0x67, 0xfb, + 0x87, 0x3b, 0x74, 0x57, 0xc9, 0x78, 0x59, 0xba, 0x04, 0xc7, 0x67, 0x34, 0xcf, 0x7b, 0xfd, 0xaf, + 0xab, 0x1c, 0xe1, 0x37, 0xe8, 0xf5, 0xee, 0x54, 0xb9, 0x23, 0xd0, 0x34, 0x95, 0x67, 0xc0, 0x94, + 0x14, 0x3b, 0xf1, 0x0f, 0x4f, 0x7f, 0x0d, 0xd0, 0xf8, 0xdc, 0x2c, 0xc9, 0xdd, 0x05, 0x9d, 0x3e, + 0xdd, 0xeb, 0x20, 0x77, 0xc5, 0xe6, 0x83, 0xcf, 0x6c, 0xed, 0x6c, 0xcd, 0xc5, 0x62, 0xd5, 0x12, + 0xd3, 0xb5, 0x61, 0xab, 0x57, 0x7d, 0xed, 0xb7, 0x8f, 0xe4, 0xf2, 0x9b, 0xfd, 0xdf, 0x9b, 0x79, + 0xef, 0x3f, 0xdf, 0x83, 0x83, 0x09, 0xa5, 0x3f, 0x82, 0xd1, 0xc4, 0x2f, 0xa3, 0x8d, 0x25, 0x5e, + 0x3a, 0x35, 0x8b, 0x48, 0x1f, 0x69, 0x7f, 0xde, 0x02, 0x35, 0x6d, 0x6c, 0xbd, 0x01, 0xea, 0x59, + 0x54, 0x7b, 0xe0, 0xcb, 0x61, 0x1f, 0xfc, 0xf6, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x13, + 0xb5, 0x65, 0xab, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_manager_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_manager_link_error.pb.go new file mode 100644 index 000000000..b5d575973 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/customer_manager_link_error.pb.go @@ -0,0 +1,153 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/customer_manager_link_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible CustomerManagerLink errors. +type CustomerManagerLinkErrorEnum_CustomerManagerLinkError int32 + +const ( + // Enum unspecified. + CustomerManagerLinkErrorEnum_UNSPECIFIED CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 0 + // The received error code is not known in this version. + CustomerManagerLinkErrorEnum_UNKNOWN CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 1 + // No pending invitation. + CustomerManagerLinkErrorEnum_NO_PENDING_INVITE CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 2 + // Attempt to operate on the same client more than once in the same call. + CustomerManagerLinkErrorEnum_SAME_CLIENT_MORE_THAN_ONCE_PER_CALL CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 3 + // Manager account has the maximum number of linked accounts. + CustomerManagerLinkErrorEnum_MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 4 + // If no active user on account it cannot be unlinked from its manager. + CustomerManagerLinkErrorEnum_CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 5 + // Account should have at least one active owner on it before being + // unlinked. + CustomerManagerLinkErrorEnum_CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 6 + // Only account owners may change their permission role. + CustomerManagerLinkErrorEnum_CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 7 + // When a client's link to its manager is not active, the link role cannot + // be changed. + CustomerManagerLinkErrorEnum_CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 8 + // Attempt to link a child to a parent that contains or will contain + // duplicate children. + CustomerManagerLinkErrorEnum_DUPLICATE_CHILD_FOUND CustomerManagerLinkErrorEnum_CustomerManagerLinkError = 9 +) + +var CustomerManagerLinkErrorEnum_CustomerManagerLinkError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NO_PENDING_INVITE", + 3: "SAME_CLIENT_MORE_THAN_ONCE_PER_CALL", + 4: "MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS", + 5: "CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER", + 6: "CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER", + 7: "CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER", + 8: "CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT", + 9: "DUPLICATE_CHILD_FOUND", +} +var CustomerManagerLinkErrorEnum_CustomerManagerLinkError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NO_PENDING_INVITE": 2, + "SAME_CLIENT_MORE_THAN_ONCE_PER_CALL": 3, + "MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS": 4, + "CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER": 5, + "CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER": 6, + "CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER": 7, + "CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT": 8, + "DUPLICATE_CHILD_FOUND": 9, +} + +func (x CustomerManagerLinkErrorEnum_CustomerManagerLinkError) String() string { + return proto.EnumName(CustomerManagerLinkErrorEnum_CustomerManagerLinkError_name, int32(x)) +} +func (CustomerManagerLinkErrorEnum_CustomerManagerLinkError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_customer_manager_link_error_3b39935325f9f58c, []int{0, 0} +} + +// Container for enum describing possible CustomerManagerLink errors. +type CustomerManagerLinkErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerManagerLinkErrorEnum) Reset() { *m = CustomerManagerLinkErrorEnum{} } +func (m *CustomerManagerLinkErrorEnum) String() string { return proto.CompactTextString(m) } +func (*CustomerManagerLinkErrorEnum) ProtoMessage() {} +func (*CustomerManagerLinkErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_manager_link_error_3b39935325f9f58c, []int{0} +} +func (m *CustomerManagerLinkErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerManagerLinkErrorEnum.Unmarshal(m, b) +} +func (m *CustomerManagerLinkErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerManagerLinkErrorEnum.Marshal(b, m, deterministic) +} +func (dst *CustomerManagerLinkErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerManagerLinkErrorEnum.Merge(dst, src) +} +func (m *CustomerManagerLinkErrorEnum) XXX_Size() int { + return xxx_messageInfo_CustomerManagerLinkErrorEnum.Size(m) +} +func (m *CustomerManagerLinkErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerManagerLinkErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerManagerLinkErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CustomerManagerLinkErrorEnum)(nil), "google.ads.googleads.v0.errors.CustomerManagerLinkErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.CustomerManagerLinkErrorEnum_CustomerManagerLinkError", CustomerManagerLinkErrorEnum_CustomerManagerLinkError_name, CustomerManagerLinkErrorEnum_CustomerManagerLinkError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/customer_manager_link_error.proto", fileDescriptor_customer_manager_link_error_3b39935325f9f58c) +} + +var fileDescriptor_customer_manager_link_error_3b39935325f9f58c = []byte{ + // 457 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6f, 0xd3, 0x40, + 0x10, 0x85, 0x49, 0x02, 0x2d, 0x6c, 0x0f, 0x18, 0x4b, 0x95, 0x40, 0x82, 0x1e, 0xc2, 0xa1, 0x42, + 0x88, 0x4d, 0x04, 0x47, 0x2e, 0x6c, 0xd6, 0x93, 0x64, 0x55, 0x7b, 0xd6, 0xb2, 0xd7, 0x0e, 0xa0, + 0x48, 0x23, 0xd3, 0x58, 0x56, 0xd4, 0xc4, 0xae, 0xec, 0xb6, 0xbf, 0x07, 0x71, 0xe4, 0xa7, 0x70, + 0xe5, 0x07, 0x81, 0x6c, 0xc7, 0x55, 0x85, 0x48, 0x4f, 0xfb, 0xa4, 0xf7, 0xed, 0x9b, 0x91, 0xe6, + 0xb1, 0x4f, 0x59, 0x51, 0x64, 0x9b, 0x74, 0x94, 0xac, 0xaa, 0x51, 0x2b, 0x6b, 0x75, 0x33, 0x1e, + 0xa5, 0x65, 0x59, 0x94, 0xd5, 0xe8, 0xfc, 0xba, 0xba, 0x2a, 0xb6, 0x69, 0x49, 0xdb, 0x24, 0x4f, + 0xb2, 0xb4, 0xa4, 0xcd, 0x3a, 0xbf, 0xa0, 0xc6, 0xe4, 0x97, 0x65, 0x71, 0x55, 0xd8, 0x27, 0xed, + 0x37, 0x9e, 0xac, 0x2a, 0x7e, 0x9b, 0xc0, 0x6f, 0xc6, 0xbc, 0x4d, 0x18, 0x7e, 0x1f, 0xb0, 0x97, + 0x72, 0x97,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 0x07, 0x3b, 0xba, 0xd9, 0xe2, 0xee, + 0x86, 0xd6, 0x63, 0xfb, 0x05, 0x3b, 0x76, 0x22, 0xdf, 0x55, 0x52, 0x18, 0x20, 0x39, 0x57, 0xae, + 0x43, 0x53, 0x1d, 0xa1, 0x63, 0x3d, 0x99, 0xfc, 0xee, 0xb1, 0xe1, 0x79, 0xb1, 0xe5, 0xf7, 0x5f, + 0x72, 0xf2, 0x6a, 0xdf, 0x95, 0xfc, 0xba, 0x08, 0x7e, 0xef, 0xab, 0xb3, 0x0b, 0xc8, 0x8a, 0x4d, + 0x92, 0x67, 0xbc, 0x28, 0xb3, 0x51, 0x96, 0xe6, 0x4d, 0x4d, 0xba, 0x72, 0x5d, 0xae, 0xab, 0x7d, + 0x5d, 0xfb, 0xd8, 0x3e, 0x3f, 0xfa, 0x83, 0x99, 0x10, 0x3f, 0xfb, 0x27, 0xb3, 0x36, 0x4c, 0xac, + 0x2a, 0xde, 0xca, 0x5a, 0xc5, 0x63, 0xde, 0x8c, 0xac, 0x7e, 0x75, 0xc0, 0x52, 0xac, 0xaa, 0xe5, + 0x2d, 0xb0, 0x8c, 0xc7, 0xcb, 0x16, 0xf8, 0x76, 0xd0, 0x0c, 0xfe, 0xf0, 0x37, 0x00, 0x00, 0xff, + 0xff, 0x6c, 0x06, 0x95, 0xed, 0xe3, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/database_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/database_error.pb.go new file mode 100644 index 000000000..e15d1c0e3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/database_error.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/database_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible database errors. +type DatabaseErrorEnum_DatabaseError int32 + +const ( + // Enum unspecified. + DatabaseErrorEnum_UNSPECIFIED DatabaseErrorEnum_DatabaseError = 0 + // The received error code is not known in this version. + DatabaseErrorEnum_UNKNOWN DatabaseErrorEnum_DatabaseError = 1 + // Multiple requests were attempting to modify the same resource at once. + // Please retry the request. + DatabaseErrorEnum_CONCURRENT_MODIFICATION DatabaseErrorEnum_DatabaseError = 2 +) + +var DatabaseErrorEnum_DatabaseError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CONCURRENT_MODIFICATION", +} +var DatabaseErrorEnum_DatabaseError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CONCURRENT_MODIFICATION": 2, +} + +func (x DatabaseErrorEnum_DatabaseError) String() string { + return proto.EnumName(DatabaseErrorEnum_DatabaseError_name, int32(x)) +} +func (DatabaseErrorEnum_DatabaseError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_database_error_967d4f3a60ca34cc, []int{0, 0} +} + +// Container for enum describing possible database errors. +type DatabaseErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DatabaseErrorEnum) Reset() { *m = DatabaseErrorEnum{} } +func (m *DatabaseErrorEnum) String() string { return proto.CompactTextString(m) } +func (*DatabaseErrorEnum) ProtoMessage() {} +func (*DatabaseErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_database_error_967d4f3a60ca34cc, []int{0} +} +func (m *DatabaseErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DatabaseErrorEnum.Unmarshal(m, b) +} +func (m *DatabaseErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DatabaseErrorEnum.Marshal(b, m, deterministic) +} +func (dst *DatabaseErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DatabaseErrorEnum.Merge(dst, src) +} +func (m *DatabaseErrorEnum) XXX_Size() int { + return xxx_messageInfo_DatabaseErrorEnum.Size(m) +} +func (m *DatabaseErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DatabaseErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DatabaseErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DatabaseErrorEnum)(nil), "google.ads.googleads.v0.errors.DatabaseErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.DatabaseErrorEnum_DatabaseError", DatabaseErrorEnum_DatabaseError_name, DatabaseErrorEnum_DatabaseError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/database_error.proto", fileDescriptor_database_error_967d4f3a60ca34cc) +} + +var fileDescriptor_database_error_967d4f3a60ca34cc = []byte{ + // 262 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0x94, 0xc4, 0x92, 0xc4, 0xa4, 0xc4, 0xe2, 0xd4, 0x78, 0x30, 0x5f, + 0xaf, 0xa0, 0x28, 0xbf, 0x24, 0x5f, 0x48, 0x0e, 0xa2, 0x52, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, + 0x49, 0xaf, 0xcc, 0x40, 0x0f, 0xa2, 0x49, 0x29, 0x9e, 0x4b, 0xd0, 0x05, 0xaa, 0xcf, 0x15, 0x24, + 0xe2, 0x9a, 0x57, 0x9a, 0xab, 0xe4, 0xc5, 0xc5, 0x8b, 0x22, 0x28, 0xc4, 0xcf, 0xc5, 0x1d, 0xea, + 0x17, 0x1c, 0xe0, 0xea, 0xec, 0xe9, 0xe6, 0xe9, 0xea, 0x22, 0xc0, 0x20, 0xc4, 0xcd, 0xc5, 0x1e, + 0xea, 0xe7, 0xed, 0xe7, 0x1f, 0xee, 0x27, 0xc0, 0x28, 0x24, 0xcd, 0x25, 0xee, 0xec, 0xef, 0xe7, + 0x1c, 0x1a, 0x14, 0xe4, 0xea, 0x17, 0x12, 0xef, 0xeb, 0xef, 0xe2, 0xe9, 0xe6, 0xe9, 0xec, 0x18, + 0xe2, 0xe9, 0xef, 0x27, 0xc0, 0xe4, 0x74, 0x82, 0x91, 0x4b, 0x29, 0x39, 0x3f, 0x57, 0x0f, 0xbf, + 0x3b, 0x9c, 0x84, 0x50, 0x2c, 0x0c, 0x00, 0xb9, 0x3d, 0x80, 0x31, 0xca, 0x05, 0xaa, 0x2b, 0x3d, + 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x33, 0x58, + 0x10, 0x14, 0x64, 0x16, 0xe3, 0x0a, 0x11, 0x6b, 0x08, 0xb5, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, + 0x15, 0x93, 0x9c, 0x3b, 0xc4, 0x30, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, + 0x03, 0x5b, 0x59, 0x7c, 0x0a, 0xa6, 0x20, 0xc6, 0x31, 0xa5, 0x38, 0x06, 0xae, 0x20, 0x26, 0xcc, + 0x20, 0x06, 0xa2, 0x20, 0x89, 0x0d, 0x6c, 0xb1, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xf4, + 0x59, 0x5f, 0x89, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_error.pb.go new file mode 100644 index 000000000..7bdfef19f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_error.pb.go @@ -0,0 +1,150 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/date_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible date errors. +type DateErrorEnum_DateError int32 + +const ( + // Enum unspecified. + DateErrorEnum_UNSPECIFIED DateErrorEnum_DateError = 0 + // The received error code is not known in this version. + DateErrorEnum_UNKNOWN DateErrorEnum_DateError = 1 + // Given field values do not correspond to a valid date. + DateErrorEnum_INVALID_FIELD_VALUES_IN_DATE DateErrorEnum_DateError = 2 + // Given field values do not correspond to a valid date time. + DateErrorEnum_INVALID_FIELD_VALUES_IN_DATE_TIME DateErrorEnum_DateError = 3 + // The string date's format should be yyyy-mm-dd. + DateErrorEnum_INVALID_STRING_DATE DateErrorEnum_DateError = 4 + // The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. + DateErrorEnum_INVALID_STRING_DATE_TIME_MICROS DateErrorEnum_DateError = 6 + // The string date time's format should be yyyy-mm-dd hh:mm:ss. + DateErrorEnum_INVALID_STRING_DATE_TIME_SECONDS DateErrorEnum_DateError = 11 + // Date is before allowed minimum. + DateErrorEnum_EARLIER_THAN_MINIMUM_DATE DateErrorEnum_DateError = 7 + // Date is after allowed maximum. + DateErrorEnum_LATER_THAN_MAXIMUM_DATE DateErrorEnum_DateError = 8 + // Date range bounds are not in order. + DateErrorEnum_DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE DateErrorEnum_DateError = 9 + // Both dates in range are null. + DateErrorEnum_DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL DateErrorEnum_DateError = 10 +) + +var DateErrorEnum_DateError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_FIELD_VALUES_IN_DATE", + 3: "INVALID_FIELD_VALUES_IN_DATE_TIME", + 4: "INVALID_STRING_DATE", + 6: "INVALID_STRING_DATE_TIME_MICROS", + 11: "INVALID_STRING_DATE_TIME_SECONDS", + 7: "EARLIER_THAN_MINIMUM_DATE", + 8: "LATER_THAN_MAXIMUM_DATE", + 9: "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE", + 10: "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL", +} +var DateErrorEnum_DateError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_FIELD_VALUES_IN_DATE": 2, + "INVALID_FIELD_VALUES_IN_DATE_TIME": 3, + "INVALID_STRING_DATE": 4, + "INVALID_STRING_DATE_TIME_MICROS": 6, + "INVALID_STRING_DATE_TIME_SECONDS": 11, + "EARLIER_THAN_MINIMUM_DATE": 7, + "LATER_THAN_MAXIMUM_DATE": 8, + "DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE": 9, + "DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL": 10, +} + +func (x DateErrorEnum_DateError) String() string { + return proto.EnumName(DateErrorEnum_DateError_name, int32(x)) +} +func (DateErrorEnum_DateError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_date_error_e503fbf0897d3786, []int{0, 0} +} + +// Container for enum describing possible date errors. +type DateErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DateErrorEnum) Reset() { *m = DateErrorEnum{} } +func (m *DateErrorEnum) String() string { return proto.CompactTextString(m) } +func (*DateErrorEnum) ProtoMessage() {} +func (*DateErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_date_error_e503fbf0897d3786, []int{0} +} +func (m *DateErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateErrorEnum.Unmarshal(m, b) +} +func (m *DateErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateErrorEnum.Marshal(b, m, deterministic) +} +func (dst *DateErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateErrorEnum.Merge(dst, src) +} +func (m *DateErrorEnum) XXX_Size() int { + return xxx_messageInfo_DateErrorEnum.Size(m) +} +func (m *DateErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DateErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DateErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DateErrorEnum)(nil), "google.ads.googleads.v0.errors.DateErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.DateErrorEnum_DateError", DateErrorEnum_DateError_name, DateErrorEnum_DateError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/date_error.proto", fileDescriptor_date_error_e503fbf0897d3786) +} + +var fileDescriptor_date_error_e503fbf0897d3786 = []byte{ + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0xae, 0xd2, 0x40, + 0x14, 0x87, 0xa5, 0x98, 0x7b, 0xbd, 0x87, 0xa8, 0xcd, 0xb8, 0xb8, 0x31, 0xea, 0x15, 0x51, 0xb7, + 0xd3, 0x46, 0x96, 0xae, 0x06, 0x66, 0x28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x79, 0x85, 0xde, 0xc0, 0xf0, + 0x2c, 0x14, 0xb2, 0xa9, 0x2f, 0x68, 0x68, 0x0e, 0xd0, 0x0b, 0x78, 0xca, 0x48, 0xe0, 0x72, 0x16, + 0xc8, 0x68, 0x4e, 0x84, 0xf4, 0xb8, 0xe0, 0x5e, 0xec, 0xe9, 0x49, 0xd7, 0xe8, 0x19, 0xdc, 0xba, + 0x24, 0xea, 0x8a, 0xe4, 0xd3, 0xff, 0xe2, 0x03, 0x34, 0x06, 0xab, 0x6d, 0x19, 0x10, 0xe1, 0xb0, + 0x23, 0x53, 0x9e, 0x93, 0x6e, 0xd0, 0x3b, 0xc0, 0x27, 0x24, 0x22, 0xe8, 0x11, 0x18, 0xca, 0x89, + 0x1f, 0xcd, 0xa5, 0x88, 0x5d, 0xd7, 0x84, 0xc9, 0xef, 0x1e, 0x8c, 0xbe, 0xaa, 0x15, 0xbe, 0xbc, + 0xb6, 0xc9, 0xa3, 0x6e, 0x43, 0x8b, 0x66, 0xcd, 0x8b, 0xde, 0x67, 0xba, 0x37, 0x4a, 0xb5, 0xcc, + 0xd6, 0x25, 0x56, 0x55, 0x69, 0x95, 0xc5, 0xba, 0x3d, 0x82, 0xc3, 0xa5, 0x6c, 0xbe, 0xd5, 0xe7, + 0x0e, 0xe7, 0xbd, 0xfe, 0xfc, 0x34, 0xfa, 0x0e, 0x21, 0xbf, 0x8c, 0x3b, 0x47, 0x37, 0x23, 0x79, + 0x8d, 0x75, 0x6c, 0x52, 0x62, 0xe3, 0x76, 0x64, 0xfd, 0xe7, 0x00, 0xa4, 0x24, 0xaf, 0xd3, 0x0e, + 0x48, 0x13, 0x3b, 0xd5, 0xc0, 0x97, 0xab, 0x76, 0xf0, 0xf8, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0xc4, 0x62, 0x40, 0x2a, 0xb0, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_range_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_range_error.pb.go new file mode 100644 index 000000000..07ab2bd42 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/date_range_error.pb.go @@ -0,0 +1,132 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/date_range_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible date range errors. +type DateRangeErrorEnum_DateRangeError int32 + +const ( + // Enum unspecified. + DateRangeErrorEnum_UNSPECIFIED DateRangeErrorEnum_DateRangeError = 0 + // The received error code is not known in this version. + DateRangeErrorEnum_UNKNOWN DateRangeErrorEnum_DateRangeError = 1 + // Invalid date. + DateRangeErrorEnum_INVALID_DATE DateRangeErrorEnum_DateRangeError = 2 + // The start date was after the end date. + DateRangeErrorEnum_START_DATE_AFTER_END_DATE DateRangeErrorEnum_DateRangeError = 3 + // Cannot set date to past time + DateRangeErrorEnum_CANNOT_SET_DATE_TO_PAST DateRangeErrorEnum_DateRangeError = 4 + // A date was used that is past the system "last" date. + DateRangeErrorEnum_AFTER_MAXIMUM_ALLOWABLE_DATE DateRangeErrorEnum_DateRangeError = 5 + // Trying to change start date on a campaign that has started. + DateRangeErrorEnum_CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED DateRangeErrorEnum_DateRangeError = 6 +) + +var DateRangeErrorEnum_DateRangeError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_DATE", + 3: "START_DATE_AFTER_END_DATE", + 4: "CANNOT_SET_DATE_TO_PAST", + 5: "AFTER_MAXIMUM_ALLOWABLE_DATE", + 6: "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED", +} +var DateRangeErrorEnum_DateRangeError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_DATE": 2, + "START_DATE_AFTER_END_DATE": 3, + "CANNOT_SET_DATE_TO_PAST": 4, + "AFTER_MAXIMUM_ALLOWABLE_DATE": 5, + "CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED": 6, +} + +func (x DateRangeErrorEnum_DateRangeError) String() string { + return proto.EnumName(DateRangeErrorEnum_DateRangeError_name, int32(x)) +} +func (DateRangeErrorEnum_DateRangeError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_date_range_error_46426a282e457061, []int{0, 0} +} + +// Container for enum describing possible date range errors. +type DateRangeErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DateRangeErrorEnum) Reset() { *m = DateRangeErrorEnum{} } +func (m *DateRangeErrorEnum) String() string { return proto.CompactTextString(m) } +func (*DateRangeErrorEnum) ProtoMessage() {} +func (*DateRangeErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_date_range_error_46426a282e457061, []int{0} +} +func (m *DateRangeErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateRangeErrorEnum.Unmarshal(m, b) +} +func (m *DateRangeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateRangeErrorEnum.Marshal(b, m, deterministic) +} +func (dst *DateRangeErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateRangeErrorEnum.Merge(dst, src) +} +func (m *DateRangeErrorEnum) XXX_Size() int { + return xxx_messageInfo_DateRangeErrorEnum.Size(m) +} +func (m *DateRangeErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DateRangeErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DateRangeErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DateRangeErrorEnum)(nil), "google.ads.googleads.v0.errors.DateRangeErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.DateRangeErrorEnum_DateRangeError", DateRangeErrorEnum_DateRangeError_name, DateRangeErrorEnum_DateRangeError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/date_range_error.proto", fileDescriptor_date_range_error_46426a282e457061) +} + +var fileDescriptor_date_range_error_46426a282e457061 = []byte{ + // 353 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xe3, 0x40, + 0x1c, 0xc6, 0x37, 0xed, 0x6e, 0x17, 0xa6, 0xcb, 0x6e, 0x98, 0x3d, 0x88, 0xa8, 0x45, 0x7a, 0x15, + 0x26, 0x01, 0xf1, 0xe4, 0xe9, 0xdf, 0xce, 0xa4, 0x04, 0x93, 0x49, 0x48, 0xd2, 0x56, 0x25, 0x30, + 0x44, 0x13, 0x82, 0xd0, 0x66, 0x4a, 0x52, 0xfb, 0x40, 0x1e, 0x7d, 0x13, 0xbd, 0xf8, 0x16, 0x3e, + 0x87, 0x24, 0x93, 0x16, 0x7b, 0xd0, 0x53, 0xbe, 0x7c, 0xf3, 0xfd, 0xe6, 0xcf, 0x7c, 0x7f, 0x74, + 0x91, 0x4b, 0x99, 0x2f, 0x32, 0x23, 0x49, 0x2b, 0x43, 0xc9, 0x5a, 0x6d, 0x4c, 0x23, 0x2b, 0x4b, + 0x59, 0x56, 0x46, 0x9a, 0xac, 0x33, 0x51, 0x26, 0x45, 0x9e, 0x89, 0xc6, 0x21, 0xab, 0x52, 0xae, + 0x25, 0x1e, 0xa8, 0x2c, 0x49, 0xd2, 0x8a, 0xec, 0x30, 0xb2, 0x31, 0x89, 0xc2, 0x86, 0xef, 0x1a, + 0xc2,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98, 0xa8, 0xcb, 0x20, 0xad, 0x88, 0x92, 0xb5, 0x9a, 0x99, 0xa4, + 0x19, 0x59, 0xbd, 0x6e, 0x03, 0x31, 0xa4, 0x55, 0xbc, 0x0b, 0xc4, 0x33, 0x33, 0x56, 0x81, 0xbb, + 0x5e, 0x33, 0xf8, 0xfc, 0x23, 0x00, 0x00, 0xff, 0xff, 0x76, 0x21, 0xc0, 0x89, 0x14, 0x02, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/distinct_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/distinct_error.pb.go new file mode 100644 index 000000000..c86789c7b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/distinct_error.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/distinct_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible distinct errors. +type DistinctErrorEnum_DistinctError int32 + +const ( + // Enum unspecified. + DistinctErrorEnum_UNSPECIFIED DistinctErrorEnum_DistinctError = 0 + // The received error code is not known in this version. + DistinctErrorEnum_UNKNOWN DistinctErrorEnum_DistinctError = 1 + // Duplicate element. + DistinctErrorEnum_DUPLICATE_ELEMENT DistinctErrorEnum_DistinctError = 2 + // Duplicate type. + DistinctErrorEnum_DUPLICATE_TYPE DistinctErrorEnum_DistinctError = 3 +) + +var DistinctErrorEnum_DistinctError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "DUPLICATE_ELEMENT", + 3: "DUPLICATE_TYPE", +} +var DistinctErrorEnum_DistinctError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "DUPLICATE_ELEMENT": 2, + "DUPLICATE_TYPE": 3, +} + +func (x DistinctErrorEnum_DistinctError) String() string { + return proto.EnumName(DistinctErrorEnum_DistinctError_name, int32(x)) +} +func (DistinctErrorEnum_DistinctError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_distinct_error_5ad5da077f636ddb, []int{0, 0} +} + +// Container for enum describing possible distinct errors. +type DistinctErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistinctErrorEnum) Reset() { *m = DistinctErrorEnum{} } +func (m *DistinctErrorEnum) String() string { return proto.CompactTextString(m) } +func (*DistinctErrorEnum) ProtoMessage() {} +func (*DistinctErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_distinct_error_5ad5da077f636ddb, []int{0} +} +func (m *DistinctErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistinctErrorEnum.Unmarshal(m, b) +} +func (m *DistinctErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistinctErrorEnum.Marshal(b, m, deterministic) +} +func (dst *DistinctErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistinctErrorEnum.Merge(dst, src) +} +func (m *DistinctErrorEnum) XXX_Size() int { + return xxx_messageInfo_DistinctErrorEnum.Size(m) +} +func (m *DistinctErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_DistinctErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_DistinctErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*DistinctErrorEnum)(nil), "google.ads.googleads.v0.errors.DistinctErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.DistinctErrorEnum_DistinctError", DistinctErrorEnum_DistinctError_name, DistinctErrorEnum_DistinctError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/distinct_error.proto", fileDescriptor_distinct_error_5ad5da077f636ddb) +} + +var fileDescriptor_distinct_error_5ad5da077f636ddb = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0x94, 0xcc, 0xe2, 0x92, 0xcc, 0xbc, 0xe4, 0x92, 0x78, 0x30, 0x5f, + 0xaf, 0xa0, 0x28, 0xbf, 0x24, 0x5f, 0x48, 0x0e, 0xa2, 0x52, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, + 0x49, 0xaf, 0xcc, 0x40, 0x0f, 0xa2, 0x49, 0x29, 0x97, 0x4b, 0xd0, 0x05, 0xaa, 0xcf, 0x15, 0x24, + 0xe2, 0x9a, 0x57, 0x9a, 0xab, 0x14, 0xc1, 0xc5, 0x8b, 0x22, 0x28, 0xc4, 0xcf, 0xc5, 0x1d, 0xea, + 0x17, 0x1c, 0xe0, 0xea, 0xec, 0xe9, 0xe6, 0xe9, 0xea, 0x22, 0xc0, 0x20, 0xc4, 0xcd, 0xc5, 0x1e, + 0xea, 0xe7, 0xed, 0xe7, 0x1f, 0xee, 0x27, 0xc0, 0x28, 0x24, 0xca, 0x25, 0xe8, 0x12, 0x1a, 0xe0, + 0xe3, 0xe9, 0xec, 0x18, 0xe2, 0x1a, 0xef, 0xea, 0xe3, 0xea, 0xeb, 0xea, 0x17, 0x22, 0xc0, 0x24, + 0x24, 0xc4, 0xc5, 0x87, 0x10, 0x0e, 0x89, 0x0c, 0x70, 0x15, 0x60, 0x76, 0x3a, 0xc1, 0xc8, 0xa5, + 0x94, 0x9c, 0x9f, 0xab, 0x87, 0xdf, 0x55, 0x4e, 0x42, 0x28, 0xd6, 0x07, 0x80, 0x7c, 0x12, 0xc0, + 0x18, 0xe5, 0x02, 0xd5, 0x95, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, + 0x9e, 0x9a, 0x07, 0xf6, 0x27, 0x2c, 0x40, 0x0a, 0x32, 0x8b, 0x71, 0x85, 0x8f, 0x35, 0x84, 0x5a, + 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x98, 0x63, 0x4a, 0xb1, 0x1e, + 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, 0x81, 0xad, 0x2c, 0x3e, 0x05, 0x53, 0x10, 0xe3, 0x98, 0x52, + 0x1c, 0x03, 0x57, 0x10, 0x13, 0x66, 0x10, 0x03, 0x51, 0x90, 0xc4, 0x06, 0xb6, 0xd8, 0x18, 0x10, + 0x00, 0x00, 0xff, 0xff, 0x4a, 0x23, 0x22, 0x57, 0x97, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/enum_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/enum_error.pb.go new file mode 100644 index 000000000..44503b704 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/enum_error.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/enum_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible enum errors. +type EnumErrorEnum_EnumError int32 + +const ( + // Enum unspecified. + EnumErrorEnum_UNSPECIFIED EnumErrorEnum_EnumError = 0 + // The received error code is not known in this version. + EnumErrorEnum_UNKNOWN EnumErrorEnum_EnumError = 1 + // The enum value is not permitted. + EnumErrorEnum_ENUM_VALUE_NOT_PERMITTED EnumErrorEnum_EnumError = 3 +) + +var EnumErrorEnum_EnumError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "ENUM_VALUE_NOT_PERMITTED", +} +var EnumErrorEnum_EnumError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ENUM_VALUE_NOT_PERMITTED": 3, +} + +func (x EnumErrorEnum_EnumError) String() string { + return proto.EnumName(EnumErrorEnum_EnumError_name, int32(x)) +} +func (EnumErrorEnum_EnumError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_enum_error_95b237d25cdd3851, []int{0, 0} +} + +// Container for enum describing possible enum errors. +type EnumErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnumErrorEnum) Reset() { *m = EnumErrorEnum{} } +func (m *EnumErrorEnum) String() string { return proto.CompactTextString(m) } +func (*EnumErrorEnum) ProtoMessage() {} +func (*EnumErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_enum_error_95b237d25cdd3851, []int{0} +} +func (m *EnumErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnumErrorEnum.Unmarshal(m, b) +} +func (m *EnumErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnumErrorEnum.Marshal(b, m, deterministic) +} +func (dst *EnumErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnumErrorEnum.Merge(dst, src) +} +func (m *EnumErrorEnum) XXX_Size() int { + return xxx_messageInfo_EnumErrorEnum.Size(m) +} +func (m *EnumErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_EnumErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_EnumErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*EnumErrorEnum)(nil), "google.ads.googleads.v0.errors.EnumErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.EnumErrorEnum_EnumError", EnumErrorEnum_EnumError_name, EnumErrorEnum_EnumError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/enum_error.proto", fileDescriptor_enum_error_95b237d25cdd3851) +} + +var fileDescriptor_enum_error_95b237d25cdd3851 = []byte{ + // 257 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0x86, 0x32, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, 0xa2, + 0xfc, 0xa2, 0x62, 0xfd, 0xd4, 0xbc, 0xd2, 0xdc, 0x78, 0x30, 0x5b, 0xaf, 0xa0, 0x28, 0xbf, 0x24, + 0x5f, 0x48, 0x0e, 0xa2, 0x4a, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x41, 0xaf, 0xcc, 0x40, 0x0f, + 0xa2, 0x41, 0x29, 0x82, 0x8b, 0xd7, 0x35, 0xaf, 0x34, 0xd7, 0x15, 0xc4, 0x03, 0x31, 0x94, 0xdc, + 0xb9, 0x38, 0xe1, 0x02, 0x42, 0xfc, 0x5c, 0xdc, 0xa1, 0x7e, 0xc1, 0x01, 0xae, 0xce, 0x9e, 0x6e, + 0x9e, 0xae, 0x2e, 0x02, 0x0c, 0x42, 0xdc, 0x5c, 0xec, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, + 0x02, 0x8c, 0x42, 0x32, 0x5c, 0x12, 0xae, 0x7e, 0xa1, 0xbe, 0xf1, 0x61, 0x8e, 0x3e, 0xa1, 0xae, + 0xf1, 0x7e, 0xfe, 0x21, 0xf1, 0x01, 0xae, 0x41, 0xbe, 0x9e, 0x21, 0x21, 0xae, 0x2e, 0x02, 0xcc, + 0x4e, 0x47, 0x18, 0xb9, 0x94, 0x92, 0xf3, 0x73, 0xf5, 0xf0, 0x3b, 0xc0, 0x89, 0x0f, 0x6e, 0x5b, + 0x00, 0xc8, 0xc1, 0x01, 0x8c, 0x51, 0x2e, 0x50, 0x1d, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, + 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0xef, 0xc0, 0xfc, 0x5c, 0x90, 0x59, 0x8c, 0x2b, + 0x08, 0xac, 0x21, 0xd4, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xc3, + 0x1c, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0x6c, 0x65, 0xf1, 0x29, 0x98, + 0x82, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x82, 0x98, 0x30, 0x83, 0x18, 0x88, 0x82, 0x24, 0x36, + 0xb0, 0xc5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, 0xa7, 0x5a, 0xd1, 0x7a, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/errors.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/errors.pb.go new file mode 100644 index 000000000..fb8f7fb36 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/errors.pb.go @@ -0,0 +1,2962 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/errors.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Describes how a GoogleAds API call failed. It's returned inside +// google.rpc.Status.details when a call fails. +type GoogleAdsFailure struct { + // The list of errors that occurred. + Errors []*GoogleAdsError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GoogleAdsFailure) Reset() { *m = GoogleAdsFailure{} } +func (m *GoogleAdsFailure) String() string { return proto.CompactTextString(m) } +func (*GoogleAdsFailure) ProtoMessage() {} +func (*GoogleAdsFailure) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{0} +} +func (m *GoogleAdsFailure) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GoogleAdsFailure.Unmarshal(m, b) +} +func (m *GoogleAdsFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GoogleAdsFailure.Marshal(b, m, deterministic) +} +func (dst *GoogleAdsFailure) XXX_Merge(src proto.Message) { + xxx_messageInfo_GoogleAdsFailure.Merge(dst, src) +} +func (m *GoogleAdsFailure) XXX_Size() int { + return xxx_messageInfo_GoogleAdsFailure.Size(m) +} +func (m *GoogleAdsFailure) XXX_DiscardUnknown() { + xxx_messageInfo_GoogleAdsFailure.DiscardUnknown(m) +} + +var xxx_messageInfo_GoogleAdsFailure proto.InternalMessageInfo + +func (m *GoogleAdsFailure) GetErrors() []*GoogleAdsError { + if m != nil { + return m.Errors + } + return nil +} + +// GoogleAds-specific error. +type GoogleAdsError struct { + // An enum value that indicates which error occurred. + ErrorCode *ErrorCode `protobuf:"bytes,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + // A human-readable description of the error. + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + // The value that triggered the error. + Trigger *common.Value `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"` + // Describes the part of the request proto that caused the error. + Location *ErrorLocation `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` + // Additional error details, which are returned by certain error codes. Most + // error codes do not include details. + Details *ErrorDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GoogleAdsError) Reset() { *m = GoogleAdsError{} } +func (m *GoogleAdsError) String() string { return proto.CompactTextString(m) } +func (*GoogleAdsError) ProtoMessage() {} +func (*GoogleAdsError) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{1} +} +func (m *GoogleAdsError) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GoogleAdsError.Unmarshal(m, b) +} +func (m *GoogleAdsError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GoogleAdsError.Marshal(b, m, deterministic) +} +func (dst *GoogleAdsError) XXX_Merge(src proto.Message) { + xxx_messageInfo_GoogleAdsError.Merge(dst, src) +} +func (m *GoogleAdsError) XXX_Size() int { + return xxx_messageInfo_GoogleAdsError.Size(m) +} +func (m *GoogleAdsError) XXX_DiscardUnknown() { + xxx_messageInfo_GoogleAdsError.DiscardUnknown(m) +} + +var xxx_messageInfo_GoogleAdsError proto.InternalMessageInfo + +func (m *GoogleAdsError) GetErrorCode() *ErrorCode { + if m != nil { + return m.ErrorCode + } + return nil +} + +func (m *GoogleAdsError) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + +func (m *GoogleAdsError) GetTrigger() *common.Value { + if m != nil { + return m.Trigger + } + return nil +} + +func (m *GoogleAdsError) GetLocation() *ErrorLocation { + if m != nil { + return m.Location + } + return nil +} + +func (m *GoogleAdsError) GetDetails() *ErrorDetails { + if m != nil { + return m.Details + } + return nil +} + +// The error reason represented by type and enum. +type ErrorCode struct { + // The list of error enums + // + // Types that are valid to be assigned to ErrorCode: + // *ErrorCode_RequestError + // *ErrorCode_BiddingStrategyError + // *ErrorCode_UrlFieldError + // *ErrorCode_ListOperationError + // *ErrorCode_QueryError + // *ErrorCode_MutateError + // *ErrorCode_FieldMaskError + // *ErrorCode_AuthorizationError + // *ErrorCode_InternalError + // *ErrorCode_QuotaError + // *ErrorCode_AdError + // *ErrorCode_AdGroupError + // *ErrorCode_CampaignBudgetError + // *ErrorCode_CampaignError + // *ErrorCode_AuthenticationError + // *ErrorCode_AdGroupCriterionError + // *ErrorCode_AdCustomizerError + // *ErrorCode_AdGroupAdError + // *ErrorCode_AdSharingError + // *ErrorCode_AdxError + // *ErrorCode_BiddingError + // *ErrorCode_CampaignCriterionError + // *ErrorCode_CollectionSizeError + // *ErrorCode_CriterionError + // *ErrorCode_CustomerError + // *ErrorCode_DateError + // *ErrorCode_DateRangeError + // *ErrorCode_DistinctError + // *ErrorCode_FeedAttributeReferenceError + // *ErrorCode_FunctionError + // *ErrorCode_FunctionParsingError + // *ErrorCode_IdError + // *ErrorCode_ImageError + // *ErrorCode_MediaBundleError + // *ErrorCode_MediaFileError + // *ErrorCode_MultiplierError + // *ErrorCode_NewResourceCreationError + // *ErrorCode_NotEmptyError + // *ErrorCode_NullError + // *ErrorCode_OperatorError + // *ErrorCode_RangeError + // *ErrorCode_RecommendationError + // *ErrorCode_RegionCodeError + // *ErrorCode_SettingError + // *ErrorCode_StringFormatError + // *ErrorCode_StringLengthError + // *ErrorCode_OperationAccessDeniedError + // *ErrorCode_ResourceAccessDeniedError + // *ErrorCode_ResourceCountLimitExceededError + // *ErrorCode_AdGroupBidModifierError + // *ErrorCode_ContextError + // *ErrorCode_FieldError + // *ErrorCode_SharedSetError + // *ErrorCode_SharedCriterionError + // *ErrorCode_CampaignSharedSetError + // *ErrorCode_ConversionActionError + // *ErrorCode_HeaderError + // *ErrorCode_DatabaseError + // *ErrorCode_PolicyFindingError + // *ErrorCode_CampaignGroupError + // *ErrorCode_EnumError + // *ErrorCode_KeywordPlanError + // *ErrorCode_KeywordPlanCampaignError + // *ErrorCode_KeywordPlanNegativeKeywordError + // *ErrorCode_KeywordPlanAdGroupError + // *ErrorCode_KeywordPlanKeywordError + // *ErrorCode_KeywordPlanIdeaError + // *ErrorCode_AccountBudgetProposalError + // *ErrorCode_UserListError + // *ErrorCode_ChangeStatusError + // *ErrorCode_FeedError + // *ErrorCode_GeoTargetConstantSuggestionError + // *ErrorCode_FeedItemError + // *ErrorCode_BillingSetupError + // *ErrorCode_CustomerClientLinkError + // *ErrorCode_CustomerManagerLinkError + // *ErrorCode_FeedMappingError + // *ErrorCode_CustomerFeedError + // *ErrorCode_AdGroupFeedError + // *ErrorCode_CampaignFeedError + ErrorCode isErrorCode_ErrorCode `protobuf_oneof:"error_code"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ErrorCode) Reset() { *m = ErrorCode{} } +func (m *ErrorCode) String() string { return proto.CompactTextString(m) } +func (*ErrorCode) ProtoMessage() {} +func (*ErrorCode) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{2} +} +func (m *ErrorCode) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorCode.Unmarshal(m, b) +} +func (m *ErrorCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorCode.Marshal(b, m, deterministic) +} +func (dst *ErrorCode) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorCode.Merge(dst, src) +} +func (m *ErrorCode) XXX_Size() int { + return xxx_messageInfo_ErrorCode.Size(m) +} +func (m *ErrorCode) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorCode.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorCode proto.InternalMessageInfo + +type isErrorCode_ErrorCode interface { + isErrorCode_ErrorCode() +} + +type ErrorCode_RequestError struct { + RequestError RequestErrorEnum_RequestError `protobuf:"varint,1,opt,name=request_error,json=requestError,proto3,enum=google.ads.googleads.v0.errors.RequestErrorEnum_RequestError,oneof"` +} + +type ErrorCode_BiddingStrategyError struct { + BiddingStrategyError BiddingStrategyErrorEnum_BiddingStrategyError `protobuf:"varint,2,opt,name=bidding_strategy_error,json=biddingStrategyError,proto3,enum=google.ads.googleads.v0.errors.BiddingStrategyErrorEnum_BiddingStrategyError,oneof"` +} + +type ErrorCode_UrlFieldError struct { + UrlFieldError UrlFieldErrorEnum_UrlFieldError `protobuf:"varint,3,opt,name=url_field_error,json=urlFieldError,proto3,enum=google.ads.googleads.v0.errors.UrlFieldErrorEnum_UrlFieldError,oneof"` +} + +type ErrorCode_ListOperationError struct { + ListOperationError ListOperationErrorEnum_ListOperationError `protobuf:"varint,4,opt,name=list_operation_error,json=listOperationError,proto3,enum=google.ads.googleads.v0.errors.ListOperationErrorEnum_ListOperationError,oneof"` +} + +type ErrorCode_QueryError struct { + QueryError QueryErrorEnum_QueryError `protobuf:"varint,5,opt,name=query_error,json=queryError,proto3,enum=google.ads.googleads.v0.errors.QueryErrorEnum_QueryError,oneof"` +} + +type ErrorCode_MutateError struct { + MutateError MutateErrorEnum_MutateError `protobuf:"varint,7,opt,name=mutate_error,json=mutateError,proto3,enum=google.ads.googleads.v0.errors.MutateErrorEnum_MutateError,oneof"` +} + +type ErrorCode_FieldMaskError struct { + FieldMaskError FieldMaskErrorEnum_FieldMaskError `protobuf:"varint,8,opt,name=field_mask_error,json=fieldMaskError,proto3,enum=google.ads.googleads.v0.errors.FieldMaskErrorEnum_FieldMaskError,oneof"` +} + +type ErrorCode_AuthorizationError struct { + AuthorizationError AuthorizationErrorEnum_AuthorizationError `protobuf:"varint,9,opt,name=authorization_error,json=authorizationError,proto3,enum=google.ads.googleads.v0.errors.AuthorizationErrorEnum_AuthorizationError,oneof"` +} + +type ErrorCode_InternalError struct { + InternalError InternalErrorEnum_InternalError `protobuf:"varint,10,opt,name=internal_error,json=internalError,proto3,enum=google.ads.googleads.v0.errors.InternalErrorEnum_InternalError,oneof"` +} + +type ErrorCode_QuotaError struct { + QuotaError QuotaErrorEnum_QuotaError `protobuf:"varint,11,opt,name=quota_error,json=quotaError,proto3,enum=google.ads.googleads.v0.errors.QuotaErrorEnum_QuotaError,oneof"` +} + +type ErrorCode_AdError struct { + AdError AdErrorEnum_AdError `protobuf:"varint,12,opt,name=ad_error,json=adError,proto3,enum=google.ads.googleads.v0.errors.AdErrorEnum_AdError,oneof"` +} + +type ErrorCode_AdGroupError struct { + AdGroupError AdGroupErrorEnum_AdGroupError `protobuf:"varint,13,opt,name=ad_group_error,json=adGroupError,proto3,enum=google.ads.googleads.v0.errors.AdGroupErrorEnum_AdGroupError,oneof"` +} + +type ErrorCode_CampaignBudgetError struct { + CampaignBudgetError CampaignBudgetErrorEnum_CampaignBudgetError `protobuf:"varint,14,opt,name=campaign_budget_error,json=campaignBudgetError,proto3,enum=google.ads.googleads.v0.errors.CampaignBudgetErrorEnum_CampaignBudgetError,oneof"` +} + +type ErrorCode_CampaignError struct { + CampaignError CampaignErrorEnum_CampaignError `protobuf:"varint,15,opt,name=campaign_error,json=campaignError,proto3,enum=google.ads.googleads.v0.errors.CampaignErrorEnum_CampaignError,oneof"` +} + +type ErrorCode_AuthenticationError struct { + AuthenticationError AuthenticationErrorEnum_AuthenticationError `protobuf:"varint,17,opt,name=authentication_error,json=authenticationError,proto3,enum=google.ads.googleads.v0.errors.AuthenticationErrorEnum_AuthenticationError,oneof"` +} + +type ErrorCode_AdGroupCriterionError struct { + AdGroupCriterionError AdGroupCriterionErrorEnum_AdGroupCriterionError `protobuf:"varint,18,opt,name=ad_group_criterion_error,json=adGroupCriterionError,proto3,enum=google.ads.googleads.v0.errors.AdGroupCriterionErrorEnum_AdGroupCriterionError,oneof"` +} + +type ErrorCode_AdCustomizerError struct { + AdCustomizerError AdCustomizerErrorEnum_AdCustomizerError `protobuf:"varint,19,opt,name=ad_customizer_error,json=adCustomizerError,proto3,enum=google.ads.googleads.v0.errors.AdCustomizerErrorEnum_AdCustomizerError,oneof"` +} + +type ErrorCode_AdGroupAdError struct { + AdGroupAdError AdGroupAdErrorEnum_AdGroupAdError `protobuf:"varint,21,opt,name=ad_group_ad_error,json=adGroupAdError,proto3,enum=google.ads.googleads.v0.errors.AdGroupAdErrorEnum_AdGroupAdError,oneof"` +} + +type ErrorCode_AdSharingError struct { + AdSharingError AdSharingErrorEnum_AdSharingError `protobuf:"varint,24,opt,name=ad_sharing_error,json=adSharingError,proto3,enum=google.ads.googleads.v0.errors.AdSharingErrorEnum_AdSharingError,oneof"` +} + +type ErrorCode_AdxError struct { + AdxError AdxErrorEnum_AdxError `protobuf:"varint,25,opt,name=adx_error,json=adxError,proto3,enum=google.ads.googleads.v0.errors.AdxErrorEnum_AdxError,oneof"` +} + +type ErrorCode_BiddingError struct { + BiddingError BiddingErrorEnum_BiddingError `protobuf:"varint,26,opt,name=bidding_error,json=biddingError,proto3,enum=google.ads.googleads.v0.errors.BiddingErrorEnum_BiddingError,oneof"` +} + +type ErrorCode_CampaignCriterionError struct { + CampaignCriterionError CampaignCriterionErrorEnum_CampaignCriterionError `protobuf:"varint,29,opt,name=campaign_criterion_error,json=campaignCriterionError,proto3,enum=google.ads.googleads.v0.errors.CampaignCriterionErrorEnum_CampaignCriterionError,oneof"` +} + +type ErrorCode_CollectionSizeError struct { + CollectionSizeError CollectionSizeErrorEnum_CollectionSizeError `protobuf:"varint,31,opt,name=collection_size_error,json=collectionSizeError,proto3,enum=google.ads.googleads.v0.errors.CollectionSizeErrorEnum_CollectionSizeError,oneof"` +} + +type ErrorCode_CriterionError struct { + CriterionError CriterionErrorEnum_CriterionError `protobuf:"varint,32,opt,name=criterion_error,json=criterionError,proto3,enum=google.ads.googleads.v0.errors.CriterionErrorEnum_CriterionError,oneof"` +} + +type ErrorCode_CustomerError struct { + CustomerError CustomerErrorEnum_CustomerError `protobuf:"varint,90,opt,name=customer_error,json=customerError,proto3,enum=google.ads.googleads.v0.errors.CustomerErrorEnum_CustomerError,oneof"` +} + +type ErrorCode_DateError struct { + DateError DateErrorEnum_DateError `protobuf:"varint,33,opt,name=date_error,json=dateError,proto3,enum=google.ads.googleads.v0.errors.DateErrorEnum_DateError,oneof"` +} + +type ErrorCode_DateRangeError struct { + DateRangeError DateRangeErrorEnum_DateRangeError `protobuf:"varint,34,opt,name=date_range_error,json=dateRangeError,proto3,enum=google.ads.googleads.v0.errors.DateRangeErrorEnum_DateRangeError,oneof"` +} + +type ErrorCode_DistinctError struct { + DistinctError DistinctErrorEnum_DistinctError `protobuf:"varint,35,opt,name=distinct_error,json=distinctError,proto3,enum=google.ads.googleads.v0.errors.DistinctErrorEnum_DistinctError,oneof"` +} + +type ErrorCode_FeedAttributeReferenceError struct { + FeedAttributeReferenceError FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError `protobuf:"varint,36,opt,name=feed_attribute_reference_error,json=feedAttributeReferenceError,proto3,enum=google.ads.googleads.v0.errors.FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError,oneof"` +} + +type ErrorCode_FunctionError struct { + FunctionError FunctionErrorEnum_FunctionError `protobuf:"varint,37,opt,name=function_error,json=functionError,proto3,enum=google.ads.googleads.v0.errors.FunctionErrorEnum_FunctionError,oneof"` +} + +type ErrorCode_FunctionParsingError struct { + FunctionParsingError FunctionParsingErrorEnum_FunctionParsingError `protobuf:"varint,38,opt,name=function_parsing_error,json=functionParsingError,proto3,enum=google.ads.googleads.v0.errors.FunctionParsingErrorEnum_FunctionParsingError,oneof"` +} + +type ErrorCode_IdError struct { + IdError IdErrorEnum_IdError `protobuf:"varint,39,opt,name=id_error,json=idError,proto3,enum=google.ads.googleads.v0.errors.IdErrorEnum_IdError,oneof"` +} + +type ErrorCode_ImageError struct { + ImageError ImageErrorEnum_ImageError `protobuf:"varint,40,opt,name=image_error,json=imageError,proto3,enum=google.ads.googleads.v0.errors.ImageErrorEnum_ImageError,oneof"` +} + +type ErrorCode_MediaBundleError struct { + MediaBundleError MediaBundleErrorEnum_MediaBundleError `protobuf:"varint,42,opt,name=media_bundle_error,json=mediaBundleError,proto3,enum=google.ads.googleads.v0.errors.MediaBundleErrorEnum_MediaBundleError,oneof"` +} + +type ErrorCode_MediaFileError struct { + MediaFileError MediaFileErrorEnum_MediaFileError `protobuf:"varint,86,opt,name=media_file_error,json=mediaFileError,proto3,enum=google.ads.googleads.v0.errors.MediaFileErrorEnum_MediaFileError,oneof"` +} + +type ErrorCode_MultiplierError struct { + MultiplierError MultiplierErrorEnum_MultiplierError `protobuf:"varint,44,opt,name=multiplier_error,json=multiplierError,proto3,enum=google.ads.googleads.v0.errors.MultiplierErrorEnum_MultiplierError,oneof"` +} + +type ErrorCode_NewResourceCreationError struct { + NewResourceCreationError NewResourceCreationErrorEnum_NewResourceCreationError `protobuf:"varint,45,opt,name=new_resource_creation_error,json=newResourceCreationError,proto3,enum=google.ads.googleads.v0.errors.NewResourceCreationErrorEnum_NewResourceCreationError,oneof"` +} + +type ErrorCode_NotEmptyError struct { + NotEmptyError NotEmptyErrorEnum_NotEmptyError `protobuf:"varint,46,opt,name=not_empty_error,json=notEmptyError,proto3,enum=google.ads.googleads.v0.errors.NotEmptyErrorEnum_NotEmptyError,oneof"` +} + +type ErrorCode_NullError struct { + NullError NullErrorEnum_NullError `protobuf:"varint,47,opt,name=null_error,json=nullError,proto3,enum=google.ads.googleads.v0.errors.NullErrorEnum_NullError,oneof"` +} + +type ErrorCode_OperatorError struct { + OperatorError OperatorErrorEnum_OperatorError `protobuf:"varint,48,opt,name=operator_error,json=operatorError,proto3,enum=google.ads.googleads.v0.errors.OperatorErrorEnum_OperatorError,oneof"` +} + +type ErrorCode_RangeError struct { + RangeError RangeErrorEnum_RangeError `protobuf:"varint,49,opt,name=range_error,json=rangeError,proto3,enum=google.ads.googleads.v0.errors.RangeErrorEnum_RangeError,oneof"` +} + +type ErrorCode_RecommendationError struct { + RecommendationError RecommendationErrorEnum_RecommendationError `protobuf:"varint,58,opt,name=recommendation_error,json=recommendationError,proto3,enum=google.ads.googleads.v0.errors.RecommendationErrorEnum_RecommendationError,oneof"` +} + +type ErrorCode_RegionCodeError struct { + RegionCodeError RegionCodeErrorEnum_RegionCodeError `protobuf:"varint,51,opt,name=region_code_error,json=regionCodeError,proto3,enum=google.ads.googleads.v0.errors.RegionCodeErrorEnum_RegionCodeError,oneof"` +} + +type ErrorCode_SettingError struct { + SettingError SettingErrorEnum_SettingError `protobuf:"varint,52,opt,name=setting_error,json=settingError,proto3,enum=google.ads.googleads.v0.errors.SettingErrorEnum_SettingError,oneof"` +} + +type ErrorCode_StringFormatError struct { + StringFormatError StringFormatErrorEnum_StringFormatError `protobuf:"varint,53,opt,name=string_format_error,json=stringFormatError,proto3,enum=google.ads.googleads.v0.errors.StringFormatErrorEnum_StringFormatError,oneof"` +} + +type ErrorCode_StringLengthError struct { + StringLengthError StringLengthErrorEnum_StringLengthError `protobuf:"varint,54,opt,name=string_length_error,json=stringLengthError,proto3,enum=google.ads.googleads.v0.errors.StringLengthErrorEnum_StringLengthError,oneof"` +} + +type ErrorCode_OperationAccessDeniedError struct { + OperationAccessDeniedError OperationAccessDeniedErrorEnum_OperationAccessDeniedError `protobuf:"varint,55,opt,name=operation_access_denied_error,json=operationAccessDeniedError,proto3,enum=google.ads.googleads.v0.errors.OperationAccessDeniedErrorEnum_OperationAccessDeniedError,oneof"` +} + +type ErrorCode_ResourceAccessDeniedError struct { + ResourceAccessDeniedError ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError `protobuf:"varint,56,opt,name=resource_access_denied_error,json=resourceAccessDeniedError,proto3,enum=google.ads.googleads.v0.errors.ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError,oneof"` +} + +type ErrorCode_ResourceCountLimitExceededError struct { + ResourceCountLimitExceededError ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError `protobuf:"varint,57,opt,name=resource_count_limit_exceeded_error,json=resourceCountLimitExceededError,proto3,enum=google.ads.googleads.v0.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError,oneof"` +} + +type ErrorCode_AdGroupBidModifierError struct { + AdGroupBidModifierError AdGroupBidModifierErrorEnum_AdGroupBidModifierError `protobuf:"varint,59,opt,name=ad_group_bid_modifier_error,json=adGroupBidModifierError,proto3,enum=google.ads.googleads.v0.errors.AdGroupBidModifierErrorEnum_AdGroupBidModifierError,oneof"` +} + +type ErrorCode_ContextError struct { + ContextError ContextErrorEnum_ContextError `protobuf:"varint,60,opt,name=context_error,json=contextError,proto3,enum=google.ads.googleads.v0.errors.ContextErrorEnum_ContextError,oneof"` +} + +type ErrorCode_FieldError struct { + FieldError FieldErrorEnum_FieldError `protobuf:"varint,61,opt,name=field_error,json=fieldError,proto3,enum=google.ads.googleads.v0.errors.FieldErrorEnum_FieldError,oneof"` +} + +type ErrorCode_SharedSetError struct { + SharedSetError SharedSetErrorEnum_SharedSetError `protobuf:"varint,62,opt,name=shared_set_error,json=sharedSetError,proto3,enum=google.ads.googleads.v0.errors.SharedSetErrorEnum_SharedSetError,oneof"` +} + +type ErrorCode_SharedCriterionError struct { + SharedCriterionError SharedCriterionErrorEnum_SharedCriterionError `protobuf:"varint,63,opt,name=shared_criterion_error,json=sharedCriterionError,proto3,enum=google.ads.googleads.v0.errors.SharedCriterionErrorEnum_SharedCriterionError,oneof"` +} + +type ErrorCode_CampaignSharedSetError struct { + CampaignSharedSetError CampaignSharedSetErrorEnum_CampaignSharedSetError `protobuf:"varint,64,opt,name=campaign_shared_set_error,json=campaignSharedSetError,proto3,enum=google.ads.googleads.v0.errors.CampaignSharedSetErrorEnum_CampaignSharedSetError,oneof"` +} + +type ErrorCode_ConversionActionError struct { + ConversionActionError ConversionActionErrorEnum_ConversionActionError `protobuf:"varint,65,opt,name=conversion_action_error,json=conversionActionError,proto3,enum=google.ads.googleads.v0.errors.ConversionActionErrorEnum_ConversionActionError,oneof"` +} + +type ErrorCode_HeaderError struct { + HeaderError HeaderErrorEnum_HeaderError `protobuf:"varint,66,opt,name=header_error,json=headerError,proto3,enum=google.ads.googleads.v0.errors.HeaderErrorEnum_HeaderError,oneof"` +} + +type ErrorCode_DatabaseError struct { + DatabaseError DatabaseErrorEnum_DatabaseError `protobuf:"varint,67,opt,name=database_error,json=databaseError,proto3,enum=google.ads.googleads.v0.errors.DatabaseErrorEnum_DatabaseError,oneof"` +} + +type ErrorCode_PolicyFindingError struct { + PolicyFindingError PolicyFindingErrorEnum_PolicyFindingError `protobuf:"varint,68,opt,name=policy_finding_error,json=policyFindingError,proto3,enum=google.ads.googleads.v0.errors.PolicyFindingErrorEnum_PolicyFindingError,oneof"` +} + +type ErrorCode_CampaignGroupError struct { + CampaignGroupError CampaignGroupErrorEnum_CampaignGroupError `protobuf:"varint,69,opt,name=campaign_group_error,json=campaignGroupError,proto3,enum=google.ads.googleads.v0.errors.CampaignGroupErrorEnum_CampaignGroupError,oneof"` +} + +type ErrorCode_EnumError struct { + EnumError EnumErrorEnum_EnumError `protobuf:"varint,70,opt,name=enum_error,json=enumError,proto3,enum=google.ads.googleads.v0.errors.EnumErrorEnum_EnumError,oneof"` +} + +type ErrorCode_KeywordPlanError struct { + KeywordPlanError KeywordPlanErrorEnum_KeywordPlanError `protobuf:"varint,71,opt,name=keyword_plan_error,json=keywordPlanError,proto3,enum=google.ads.googleads.v0.errors.KeywordPlanErrorEnum_KeywordPlanError,oneof"` +} + +type ErrorCode_KeywordPlanCampaignError struct { + KeywordPlanCampaignError KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError `protobuf:"varint,72,opt,name=keyword_plan_campaign_error,json=keywordPlanCampaignError,proto3,enum=google.ads.googleads.v0.errors.KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError,oneof"` +} + +type ErrorCode_KeywordPlanNegativeKeywordError struct { + KeywordPlanNegativeKeywordError KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError `protobuf:"varint,73,opt,name=keyword_plan_negative_keyword_error,json=keywordPlanNegativeKeywordError,proto3,enum=google.ads.googleads.v0.errors.KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError,oneof"` +} + +type ErrorCode_KeywordPlanAdGroupError struct { + KeywordPlanAdGroupError KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError `protobuf:"varint,74,opt,name=keyword_plan_ad_group_error,json=keywordPlanAdGroupError,proto3,enum=google.ads.googleads.v0.errors.KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError,oneof"` +} + +type ErrorCode_KeywordPlanKeywordError struct { + KeywordPlanKeywordError KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError `protobuf:"varint,75,opt,name=keyword_plan_keyword_error,json=keywordPlanKeywordError,proto3,enum=google.ads.googleads.v0.errors.KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError,oneof"` +} + +type ErrorCode_KeywordPlanIdeaError struct { + KeywordPlanIdeaError KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError `protobuf:"varint,76,opt,name=keyword_plan_idea_error,json=keywordPlanIdeaError,proto3,enum=google.ads.googleads.v0.errors.KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError,oneof"` +} + +type ErrorCode_AccountBudgetProposalError struct { + AccountBudgetProposalError AccountBudgetProposalErrorEnum_AccountBudgetProposalError `protobuf:"varint,77,opt,name=account_budget_proposal_error,json=accountBudgetProposalError,proto3,enum=google.ads.googleads.v0.errors.AccountBudgetProposalErrorEnum_AccountBudgetProposalError,oneof"` +} + +type ErrorCode_UserListError struct { + UserListError UserListErrorEnum_UserListError `protobuf:"varint,78,opt,name=user_list_error,json=userListError,proto3,enum=google.ads.googleads.v0.errors.UserListErrorEnum_UserListError,oneof"` +} + +type ErrorCode_ChangeStatusError struct { + ChangeStatusError ChangeStatusErrorEnum_ChangeStatusError `protobuf:"varint,79,opt,name=change_status_error,json=changeStatusError,proto3,enum=google.ads.googleads.v0.errors.ChangeStatusErrorEnum_ChangeStatusError,oneof"` +} + +type ErrorCode_FeedError struct { + FeedError FeedErrorEnum_FeedError `protobuf:"varint,80,opt,name=feed_error,json=feedError,proto3,enum=google.ads.googleads.v0.errors.FeedErrorEnum_FeedError,oneof"` +} + +type ErrorCode_GeoTargetConstantSuggestionError struct { + GeoTargetConstantSuggestionError GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError `protobuf:"varint,81,opt,name=geo_target_constant_suggestion_error,json=geoTargetConstantSuggestionError,proto3,enum=google.ads.googleads.v0.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError,oneof"` +} + +type ErrorCode_FeedItemError struct { + FeedItemError FeedItemErrorEnum_FeedItemError `protobuf:"varint,83,opt,name=feed_item_error,json=feedItemError,proto3,enum=google.ads.googleads.v0.errors.FeedItemErrorEnum_FeedItemError,oneof"` +} + +type ErrorCode_BillingSetupError struct { + BillingSetupError BillingSetupErrorEnum_BillingSetupError `protobuf:"varint,87,opt,name=billing_setup_error,json=billingSetupError,proto3,enum=google.ads.googleads.v0.errors.BillingSetupErrorEnum_BillingSetupError,oneof"` +} + +type ErrorCode_CustomerClientLinkError struct { + CustomerClientLinkError CustomerClientLinkErrorEnum_CustomerClientLinkError `protobuf:"varint,88,opt,name=customer_client_link_error,json=customerClientLinkError,proto3,enum=google.ads.googleads.v0.errors.CustomerClientLinkErrorEnum_CustomerClientLinkError,oneof"` +} + +type ErrorCode_CustomerManagerLinkError struct { + CustomerManagerLinkError CustomerManagerLinkErrorEnum_CustomerManagerLinkError `protobuf:"varint,91,opt,name=customer_manager_link_error,json=customerManagerLinkError,proto3,enum=google.ads.googleads.v0.errors.CustomerManagerLinkErrorEnum_CustomerManagerLinkError,oneof"` +} + +type ErrorCode_FeedMappingError struct { + FeedMappingError FeedMappingErrorEnum_FeedMappingError `protobuf:"varint,92,opt,name=feed_mapping_error,json=feedMappingError,proto3,enum=google.ads.googleads.v0.errors.FeedMappingErrorEnum_FeedMappingError,oneof"` +} + +type ErrorCode_CustomerFeedError struct { + CustomerFeedError CustomerFeedErrorEnum_CustomerFeedError `protobuf:"varint,93,opt,name=customer_feed_error,json=customerFeedError,proto3,enum=google.ads.googleads.v0.errors.CustomerFeedErrorEnum_CustomerFeedError,oneof"` +} + +type ErrorCode_AdGroupFeedError struct { + AdGroupFeedError AdGroupFeedErrorEnum_AdGroupFeedError `protobuf:"varint,94,opt,name=ad_group_feed_error,json=adGroupFeedError,proto3,enum=google.ads.googleads.v0.errors.AdGroupFeedErrorEnum_AdGroupFeedError,oneof"` +} + +type ErrorCode_CampaignFeedError struct { + CampaignFeedError CampaignFeedErrorEnum_CampaignFeedError `protobuf:"varint,96,opt,name=campaign_feed_error,json=campaignFeedError,proto3,enum=google.ads.googleads.v0.errors.CampaignFeedErrorEnum_CampaignFeedError,oneof"` +} + +func (*ErrorCode_RequestError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_BiddingStrategyError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_UrlFieldError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ListOperationError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_QueryError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_MutateError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FieldMaskError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AuthorizationError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_InternalError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_QuotaError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdGroupError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CampaignBudgetError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CampaignError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AuthenticationError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdGroupCriterionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdCustomizerError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdGroupAdError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdSharingError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdxError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_BiddingError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CampaignCriterionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CollectionSizeError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CriterionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CustomerError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_DateError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_DateRangeError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_DistinctError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FeedAttributeReferenceError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FunctionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FunctionParsingError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_IdError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ImageError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_MediaBundleError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_MediaFileError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_MultiplierError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_NewResourceCreationError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_NotEmptyError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_NullError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_OperatorError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_RangeError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_RecommendationError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_RegionCodeError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_SettingError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_StringFormatError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_StringLengthError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_OperationAccessDeniedError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ResourceAccessDeniedError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ResourceCountLimitExceededError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdGroupBidModifierError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ContextError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FieldError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_SharedSetError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_SharedCriterionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CampaignSharedSetError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ConversionActionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_HeaderError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_DatabaseError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_PolicyFindingError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CampaignGroupError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_EnumError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_KeywordPlanError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_KeywordPlanCampaignError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_KeywordPlanNegativeKeywordError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_KeywordPlanAdGroupError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_KeywordPlanKeywordError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_KeywordPlanIdeaError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AccountBudgetProposalError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_UserListError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_ChangeStatusError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FeedError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_GeoTargetConstantSuggestionError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FeedItemError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_BillingSetupError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CustomerClientLinkError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CustomerManagerLinkError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_FeedMappingError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CustomerFeedError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_AdGroupFeedError) isErrorCode_ErrorCode() {} + +func (*ErrorCode_CampaignFeedError) isErrorCode_ErrorCode() {} + +func (m *ErrorCode) GetErrorCode() isErrorCode_ErrorCode { + if m != nil { + return m.ErrorCode + } + return nil +} + +func (m *ErrorCode) GetRequestError() RequestErrorEnum_RequestError { + if x, ok := m.GetErrorCode().(*ErrorCode_RequestError); ok { + return x.RequestError + } + return RequestErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetBiddingStrategyError() BiddingStrategyErrorEnum_BiddingStrategyError { + if x, ok := m.GetErrorCode().(*ErrorCode_BiddingStrategyError); ok { + return x.BiddingStrategyError + } + return BiddingStrategyErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetUrlFieldError() UrlFieldErrorEnum_UrlFieldError { + if x, ok := m.GetErrorCode().(*ErrorCode_UrlFieldError); ok { + return x.UrlFieldError + } + return UrlFieldErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetListOperationError() ListOperationErrorEnum_ListOperationError { + if x, ok := m.GetErrorCode().(*ErrorCode_ListOperationError); ok { + return x.ListOperationError + } + return ListOperationErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetQueryError() QueryErrorEnum_QueryError { + if x, ok := m.GetErrorCode().(*ErrorCode_QueryError); ok { + return x.QueryError + } + return QueryErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetMutateError() MutateErrorEnum_MutateError { + if x, ok := m.GetErrorCode().(*ErrorCode_MutateError); ok { + return x.MutateError + } + return MutateErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFieldMaskError() FieldMaskErrorEnum_FieldMaskError { + if x, ok := m.GetErrorCode().(*ErrorCode_FieldMaskError); ok { + return x.FieldMaskError + } + return FieldMaskErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAuthorizationError() AuthorizationErrorEnum_AuthorizationError { + if x, ok := m.GetErrorCode().(*ErrorCode_AuthorizationError); ok { + return x.AuthorizationError + } + return AuthorizationErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetInternalError() InternalErrorEnum_InternalError { + if x, ok := m.GetErrorCode().(*ErrorCode_InternalError); ok { + return x.InternalError + } + return InternalErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetQuotaError() QuotaErrorEnum_QuotaError { + if x, ok := m.GetErrorCode().(*ErrorCode_QuotaError); ok { + return x.QuotaError + } + return QuotaErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdError() AdErrorEnum_AdError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdError); ok { + return x.AdError + } + return AdErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdGroupError() AdGroupErrorEnum_AdGroupError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdGroupError); ok { + return x.AdGroupError + } + return AdGroupErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCampaignBudgetError() CampaignBudgetErrorEnum_CampaignBudgetError { + if x, ok := m.GetErrorCode().(*ErrorCode_CampaignBudgetError); ok { + return x.CampaignBudgetError + } + return CampaignBudgetErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCampaignError() CampaignErrorEnum_CampaignError { + if x, ok := m.GetErrorCode().(*ErrorCode_CampaignError); ok { + return x.CampaignError + } + return CampaignErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAuthenticationError() AuthenticationErrorEnum_AuthenticationError { + if x, ok := m.GetErrorCode().(*ErrorCode_AuthenticationError); ok { + return x.AuthenticationError + } + return AuthenticationErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdGroupCriterionError() AdGroupCriterionErrorEnum_AdGroupCriterionError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdGroupCriterionError); ok { + return x.AdGroupCriterionError + } + return AdGroupCriterionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdCustomizerError() AdCustomizerErrorEnum_AdCustomizerError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdCustomizerError); ok { + return x.AdCustomizerError + } + return AdCustomizerErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdGroupAdError() AdGroupAdErrorEnum_AdGroupAdError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdGroupAdError); ok { + return x.AdGroupAdError + } + return AdGroupAdErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdSharingError() AdSharingErrorEnum_AdSharingError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdSharingError); ok { + return x.AdSharingError + } + return AdSharingErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdxError() AdxErrorEnum_AdxError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdxError); ok { + return x.AdxError + } + return AdxErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetBiddingError() BiddingErrorEnum_BiddingError { + if x, ok := m.GetErrorCode().(*ErrorCode_BiddingError); ok { + return x.BiddingError + } + return BiddingErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCampaignCriterionError() CampaignCriterionErrorEnum_CampaignCriterionError { + if x, ok := m.GetErrorCode().(*ErrorCode_CampaignCriterionError); ok { + return x.CampaignCriterionError + } + return CampaignCriterionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCollectionSizeError() CollectionSizeErrorEnum_CollectionSizeError { + if x, ok := m.GetErrorCode().(*ErrorCode_CollectionSizeError); ok { + return x.CollectionSizeError + } + return CollectionSizeErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCriterionError() CriterionErrorEnum_CriterionError { + if x, ok := m.GetErrorCode().(*ErrorCode_CriterionError); ok { + return x.CriterionError + } + return CriterionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCustomerError() CustomerErrorEnum_CustomerError { + if x, ok := m.GetErrorCode().(*ErrorCode_CustomerError); ok { + return x.CustomerError + } + return CustomerErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetDateError() DateErrorEnum_DateError { + if x, ok := m.GetErrorCode().(*ErrorCode_DateError); ok { + return x.DateError + } + return DateErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetDateRangeError() DateRangeErrorEnum_DateRangeError { + if x, ok := m.GetErrorCode().(*ErrorCode_DateRangeError); ok { + return x.DateRangeError + } + return DateRangeErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetDistinctError() DistinctErrorEnum_DistinctError { + if x, ok := m.GetErrorCode().(*ErrorCode_DistinctError); ok { + return x.DistinctError + } + return DistinctErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFeedAttributeReferenceError() FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError { + if x, ok := m.GetErrorCode().(*ErrorCode_FeedAttributeReferenceError); ok { + return x.FeedAttributeReferenceError + } + return FeedAttributeReferenceErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFunctionError() FunctionErrorEnum_FunctionError { + if x, ok := m.GetErrorCode().(*ErrorCode_FunctionError); ok { + return x.FunctionError + } + return FunctionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFunctionParsingError() FunctionParsingErrorEnum_FunctionParsingError { + if x, ok := m.GetErrorCode().(*ErrorCode_FunctionParsingError); ok { + return x.FunctionParsingError + } + return FunctionParsingErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetIdError() IdErrorEnum_IdError { + if x, ok := m.GetErrorCode().(*ErrorCode_IdError); ok { + return x.IdError + } + return IdErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetImageError() ImageErrorEnum_ImageError { + if x, ok := m.GetErrorCode().(*ErrorCode_ImageError); ok { + return x.ImageError + } + return ImageErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetMediaBundleError() MediaBundleErrorEnum_MediaBundleError { + if x, ok := m.GetErrorCode().(*ErrorCode_MediaBundleError); ok { + return x.MediaBundleError + } + return MediaBundleErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetMediaFileError() MediaFileErrorEnum_MediaFileError { + if x, ok := m.GetErrorCode().(*ErrorCode_MediaFileError); ok { + return x.MediaFileError + } + return MediaFileErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetMultiplierError() MultiplierErrorEnum_MultiplierError { + if x, ok := m.GetErrorCode().(*ErrorCode_MultiplierError); ok { + return x.MultiplierError + } + return MultiplierErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetNewResourceCreationError() NewResourceCreationErrorEnum_NewResourceCreationError { + if x, ok := m.GetErrorCode().(*ErrorCode_NewResourceCreationError); ok { + return x.NewResourceCreationError + } + return NewResourceCreationErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetNotEmptyError() NotEmptyErrorEnum_NotEmptyError { + if x, ok := m.GetErrorCode().(*ErrorCode_NotEmptyError); ok { + return x.NotEmptyError + } + return NotEmptyErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetNullError() NullErrorEnum_NullError { + if x, ok := m.GetErrorCode().(*ErrorCode_NullError); ok { + return x.NullError + } + return NullErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetOperatorError() OperatorErrorEnum_OperatorError { + if x, ok := m.GetErrorCode().(*ErrorCode_OperatorError); ok { + return x.OperatorError + } + return OperatorErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetRangeError() RangeErrorEnum_RangeError { + if x, ok := m.GetErrorCode().(*ErrorCode_RangeError); ok { + return x.RangeError + } + return RangeErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetRecommendationError() RecommendationErrorEnum_RecommendationError { + if x, ok := m.GetErrorCode().(*ErrorCode_RecommendationError); ok { + return x.RecommendationError + } + return RecommendationErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetRegionCodeError() RegionCodeErrorEnum_RegionCodeError { + if x, ok := m.GetErrorCode().(*ErrorCode_RegionCodeError); ok { + return x.RegionCodeError + } + return RegionCodeErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetSettingError() SettingErrorEnum_SettingError { + if x, ok := m.GetErrorCode().(*ErrorCode_SettingError); ok { + return x.SettingError + } + return SettingErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetStringFormatError() StringFormatErrorEnum_StringFormatError { + if x, ok := m.GetErrorCode().(*ErrorCode_StringFormatError); ok { + return x.StringFormatError + } + return StringFormatErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetStringLengthError() StringLengthErrorEnum_StringLengthError { + if x, ok := m.GetErrorCode().(*ErrorCode_StringLengthError); ok { + return x.StringLengthError + } + return StringLengthErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetOperationAccessDeniedError() OperationAccessDeniedErrorEnum_OperationAccessDeniedError { + if x, ok := m.GetErrorCode().(*ErrorCode_OperationAccessDeniedError); ok { + return x.OperationAccessDeniedError + } + return OperationAccessDeniedErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetResourceAccessDeniedError() ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError { + if x, ok := m.GetErrorCode().(*ErrorCode_ResourceAccessDeniedError); ok { + return x.ResourceAccessDeniedError + } + return ResourceAccessDeniedErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetResourceCountLimitExceededError() ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError { + if x, ok := m.GetErrorCode().(*ErrorCode_ResourceCountLimitExceededError); ok { + return x.ResourceCountLimitExceededError + } + return ResourceCountLimitExceededErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdGroupBidModifierError() AdGroupBidModifierErrorEnum_AdGroupBidModifierError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdGroupBidModifierError); ok { + return x.AdGroupBidModifierError + } + return AdGroupBidModifierErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetContextError() ContextErrorEnum_ContextError { + if x, ok := m.GetErrorCode().(*ErrorCode_ContextError); ok { + return x.ContextError + } + return ContextErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFieldError() FieldErrorEnum_FieldError { + if x, ok := m.GetErrorCode().(*ErrorCode_FieldError); ok { + return x.FieldError + } + return FieldErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetSharedSetError() SharedSetErrorEnum_SharedSetError { + if x, ok := m.GetErrorCode().(*ErrorCode_SharedSetError); ok { + return x.SharedSetError + } + return SharedSetErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetSharedCriterionError() SharedCriterionErrorEnum_SharedCriterionError { + if x, ok := m.GetErrorCode().(*ErrorCode_SharedCriterionError); ok { + return x.SharedCriterionError + } + return SharedCriterionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCampaignSharedSetError() CampaignSharedSetErrorEnum_CampaignSharedSetError { + if x, ok := m.GetErrorCode().(*ErrorCode_CampaignSharedSetError); ok { + return x.CampaignSharedSetError + } + return CampaignSharedSetErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetConversionActionError() ConversionActionErrorEnum_ConversionActionError { + if x, ok := m.GetErrorCode().(*ErrorCode_ConversionActionError); ok { + return x.ConversionActionError + } + return ConversionActionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetHeaderError() HeaderErrorEnum_HeaderError { + if x, ok := m.GetErrorCode().(*ErrorCode_HeaderError); ok { + return x.HeaderError + } + return HeaderErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetDatabaseError() DatabaseErrorEnum_DatabaseError { + if x, ok := m.GetErrorCode().(*ErrorCode_DatabaseError); ok { + return x.DatabaseError + } + return DatabaseErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetPolicyFindingError() PolicyFindingErrorEnum_PolicyFindingError { + if x, ok := m.GetErrorCode().(*ErrorCode_PolicyFindingError); ok { + return x.PolicyFindingError + } + return PolicyFindingErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCampaignGroupError() CampaignGroupErrorEnum_CampaignGroupError { + if x, ok := m.GetErrorCode().(*ErrorCode_CampaignGroupError); ok { + return x.CampaignGroupError + } + return CampaignGroupErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetEnumError() EnumErrorEnum_EnumError { + if x, ok := m.GetErrorCode().(*ErrorCode_EnumError); ok { + return x.EnumError + } + return EnumErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetKeywordPlanError() KeywordPlanErrorEnum_KeywordPlanError { + if x, ok := m.GetErrorCode().(*ErrorCode_KeywordPlanError); ok { + return x.KeywordPlanError + } + return KeywordPlanErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetKeywordPlanCampaignError() KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError { + if x, ok := m.GetErrorCode().(*ErrorCode_KeywordPlanCampaignError); ok { + return x.KeywordPlanCampaignError + } + return KeywordPlanCampaignErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetKeywordPlanNegativeKeywordError() KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError { + if x, ok := m.GetErrorCode().(*ErrorCode_KeywordPlanNegativeKeywordError); ok { + return x.KeywordPlanNegativeKeywordError + } + return KeywordPlanNegativeKeywordErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetKeywordPlanAdGroupError() KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError { + if x, ok := m.GetErrorCode().(*ErrorCode_KeywordPlanAdGroupError); ok { + return x.KeywordPlanAdGroupError + } + return KeywordPlanAdGroupErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetKeywordPlanKeywordError() KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError { + if x, ok := m.GetErrorCode().(*ErrorCode_KeywordPlanKeywordError); ok { + return x.KeywordPlanKeywordError + } + return KeywordPlanKeywordErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetKeywordPlanIdeaError() KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError { + if x, ok := m.GetErrorCode().(*ErrorCode_KeywordPlanIdeaError); ok { + return x.KeywordPlanIdeaError + } + return KeywordPlanIdeaErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAccountBudgetProposalError() AccountBudgetProposalErrorEnum_AccountBudgetProposalError { + if x, ok := m.GetErrorCode().(*ErrorCode_AccountBudgetProposalError); ok { + return x.AccountBudgetProposalError + } + return AccountBudgetProposalErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetUserListError() UserListErrorEnum_UserListError { + if x, ok := m.GetErrorCode().(*ErrorCode_UserListError); ok { + return x.UserListError + } + return UserListErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetChangeStatusError() ChangeStatusErrorEnum_ChangeStatusError { + if x, ok := m.GetErrorCode().(*ErrorCode_ChangeStatusError); ok { + return x.ChangeStatusError + } + return ChangeStatusErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFeedError() FeedErrorEnum_FeedError { + if x, ok := m.GetErrorCode().(*ErrorCode_FeedError); ok { + return x.FeedError + } + return FeedErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetGeoTargetConstantSuggestionError() GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError { + if x, ok := m.GetErrorCode().(*ErrorCode_GeoTargetConstantSuggestionError); ok { + return x.GeoTargetConstantSuggestionError + } + return GeoTargetConstantSuggestionErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFeedItemError() FeedItemErrorEnum_FeedItemError { + if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemError); ok { + return x.FeedItemError + } + return FeedItemErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetBillingSetupError() BillingSetupErrorEnum_BillingSetupError { + if x, ok := m.GetErrorCode().(*ErrorCode_BillingSetupError); ok { + return x.BillingSetupError + } + return BillingSetupErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCustomerClientLinkError() CustomerClientLinkErrorEnum_CustomerClientLinkError { + if x, ok := m.GetErrorCode().(*ErrorCode_CustomerClientLinkError); ok { + return x.CustomerClientLinkError + } + return CustomerClientLinkErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCustomerManagerLinkError() CustomerManagerLinkErrorEnum_CustomerManagerLinkError { + if x, ok := m.GetErrorCode().(*ErrorCode_CustomerManagerLinkError); ok { + return x.CustomerManagerLinkError + } + return CustomerManagerLinkErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetFeedMappingError() FeedMappingErrorEnum_FeedMappingError { + if x, ok := m.GetErrorCode().(*ErrorCode_FeedMappingError); ok { + return x.FeedMappingError + } + return FeedMappingErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCustomerFeedError() CustomerFeedErrorEnum_CustomerFeedError { + if x, ok := m.GetErrorCode().(*ErrorCode_CustomerFeedError); ok { + return x.CustomerFeedError + } + return CustomerFeedErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetAdGroupFeedError() AdGroupFeedErrorEnum_AdGroupFeedError { + if x, ok := m.GetErrorCode().(*ErrorCode_AdGroupFeedError); ok { + return x.AdGroupFeedError + } + return AdGroupFeedErrorEnum_UNSPECIFIED +} + +func (m *ErrorCode) GetCampaignFeedError() CampaignFeedErrorEnum_CampaignFeedError { + if x, ok := m.GetErrorCode().(*ErrorCode_CampaignFeedError); ok { + return x.CampaignFeedError + } + return CampaignFeedErrorEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ErrorCode) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ErrorCode_OneofMarshaler, _ErrorCode_OneofUnmarshaler, _ErrorCode_OneofSizer, []interface{}{ + (*ErrorCode_RequestError)(nil), + (*ErrorCode_BiddingStrategyError)(nil), + (*ErrorCode_UrlFieldError)(nil), + (*ErrorCode_ListOperationError)(nil), + (*ErrorCode_QueryError)(nil), + (*ErrorCode_MutateError)(nil), + (*ErrorCode_FieldMaskError)(nil), + (*ErrorCode_AuthorizationError)(nil), + (*ErrorCode_InternalError)(nil), + (*ErrorCode_QuotaError)(nil), + (*ErrorCode_AdError)(nil), + (*ErrorCode_AdGroupError)(nil), + (*ErrorCode_CampaignBudgetError)(nil), + (*ErrorCode_CampaignError)(nil), + (*ErrorCode_AuthenticationError)(nil), + (*ErrorCode_AdGroupCriterionError)(nil), + (*ErrorCode_AdCustomizerError)(nil), + (*ErrorCode_AdGroupAdError)(nil), + (*ErrorCode_AdSharingError)(nil), + (*ErrorCode_AdxError)(nil), + (*ErrorCode_BiddingError)(nil), + (*ErrorCode_CampaignCriterionError)(nil), + (*ErrorCode_CollectionSizeError)(nil), + (*ErrorCode_CriterionError)(nil), + (*ErrorCode_CustomerError)(nil), + (*ErrorCode_DateError)(nil), + (*ErrorCode_DateRangeError)(nil), + (*ErrorCode_DistinctError)(nil), + (*ErrorCode_FeedAttributeReferenceError)(nil), + (*ErrorCode_FunctionError)(nil), + (*ErrorCode_FunctionParsingError)(nil), + (*ErrorCode_IdError)(nil), + (*ErrorCode_ImageError)(nil), + (*ErrorCode_MediaBundleError)(nil), + (*ErrorCode_MediaFileError)(nil), + (*ErrorCode_MultiplierError)(nil), + (*ErrorCode_NewResourceCreationError)(nil), + (*ErrorCode_NotEmptyError)(nil), + (*ErrorCode_NullError)(nil), + (*ErrorCode_OperatorError)(nil), + (*ErrorCode_RangeError)(nil), + (*ErrorCode_RecommendationError)(nil), + (*ErrorCode_RegionCodeError)(nil), + (*ErrorCode_SettingError)(nil), + (*ErrorCode_StringFormatError)(nil), + (*ErrorCode_StringLengthError)(nil), + (*ErrorCode_OperationAccessDeniedError)(nil), + (*ErrorCode_ResourceAccessDeniedError)(nil), + (*ErrorCode_ResourceCountLimitExceededError)(nil), + (*ErrorCode_AdGroupBidModifierError)(nil), + (*ErrorCode_ContextError)(nil), + (*ErrorCode_FieldError)(nil), + (*ErrorCode_SharedSetError)(nil), + (*ErrorCode_SharedCriterionError)(nil), + (*ErrorCode_CampaignSharedSetError)(nil), + (*ErrorCode_ConversionActionError)(nil), + (*ErrorCode_HeaderError)(nil), + (*ErrorCode_DatabaseError)(nil), + (*ErrorCode_PolicyFindingError)(nil), + (*ErrorCode_CampaignGroupError)(nil), + (*ErrorCode_EnumError)(nil), + (*ErrorCode_KeywordPlanError)(nil), + (*ErrorCode_KeywordPlanCampaignError)(nil), + (*ErrorCode_KeywordPlanNegativeKeywordError)(nil), + (*ErrorCode_KeywordPlanAdGroupError)(nil), + (*ErrorCode_KeywordPlanKeywordError)(nil), + (*ErrorCode_KeywordPlanIdeaError)(nil), + (*ErrorCode_AccountBudgetProposalError)(nil), + (*ErrorCode_UserListError)(nil), + (*ErrorCode_ChangeStatusError)(nil), + (*ErrorCode_FeedError)(nil), + (*ErrorCode_GeoTargetConstantSuggestionError)(nil), + (*ErrorCode_FeedItemError)(nil), + (*ErrorCode_BillingSetupError)(nil), + (*ErrorCode_CustomerClientLinkError)(nil), + (*ErrorCode_CustomerManagerLinkError)(nil), + (*ErrorCode_FeedMappingError)(nil), + (*ErrorCode_CustomerFeedError)(nil), + (*ErrorCode_AdGroupFeedError)(nil), + (*ErrorCode_CampaignFeedError)(nil), + } +} + +func _ErrorCode_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ErrorCode) + // error_code + switch x := m.ErrorCode.(type) { + case *ErrorCode_RequestError: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RequestError)) + case *ErrorCode_BiddingStrategyError: + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.BiddingStrategyError)) + case *ErrorCode_UrlFieldError: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.UrlFieldError)) + case *ErrorCode_ListOperationError: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ListOperationError)) + case *ErrorCode_QueryError: + b.EncodeVarint(5<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.QueryError)) + case *ErrorCode_MutateError: + b.EncodeVarint(7<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.MutateError)) + case *ErrorCode_FieldMaskError: + b.EncodeVarint(8<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FieldMaskError)) + case *ErrorCode_AuthorizationError: + b.EncodeVarint(9<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AuthorizationError)) + case *ErrorCode_InternalError: + b.EncodeVarint(10<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.InternalError)) + case *ErrorCode_QuotaError: + b.EncodeVarint(11<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.QuotaError)) + case *ErrorCode_AdError: + b.EncodeVarint(12<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdError)) + case *ErrorCode_AdGroupError: + b.EncodeVarint(13<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdGroupError)) + case *ErrorCode_CampaignBudgetError: + b.EncodeVarint(14<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CampaignBudgetError)) + case *ErrorCode_CampaignError: + b.EncodeVarint(15<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CampaignError)) + case *ErrorCode_AuthenticationError: + b.EncodeVarint(17<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AuthenticationError)) + case *ErrorCode_AdGroupCriterionError: + b.EncodeVarint(18<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdGroupCriterionError)) + case *ErrorCode_AdCustomizerError: + b.EncodeVarint(19<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdCustomizerError)) + case *ErrorCode_AdGroupAdError: + b.EncodeVarint(21<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdGroupAdError)) + case *ErrorCode_AdSharingError: + b.EncodeVarint(24<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdSharingError)) + case *ErrorCode_AdxError: + b.EncodeVarint(25<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdxError)) + case *ErrorCode_BiddingError: + b.EncodeVarint(26<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.BiddingError)) + case *ErrorCode_CampaignCriterionError: + b.EncodeVarint(29<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CampaignCriterionError)) + case *ErrorCode_CollectionSizeError: + b.EncodeVarint(31<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CollectionSizeError)) + case *ErrorCode_CriterionError: + b.EncodeVarint(32<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CriterionError)) + case *ErrorCode_CustomerError: + b.EncodeVarint(90<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CustomerError)) + case *ErrorCode_DateError: + b.EncodeVarint(33<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.DateError)) + case *ErrorCode_DateRangeError: + b.EncodeVarint(34<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.DateRangeError)) + case *ErrorCode_DistinctError: + b.EncodeVarint(35<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.DistinctError)) + case *ErrorCode_FeedAttributeReferenceError: + b.EncodeVarint(36<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FeedAttributeReferenceError)) + case *ErrorCode_FunctionError: + b.EncodeVarint(37<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FunctionError)) + case *ErrorCode_FunctionParsingError: + b.EncodeVarint(38<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FunctionParsingError)) + case *ErrorCode_IdError: + b.EncodeVarint(39<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.IdError)) + case *ErrorCode_ImageError: + b.EncodeVarint(40<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ImageError)) + case *ErrorCode_MediaBundleError: + b.EncodeVarint(42<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.MediaBundleError)) + case *ErrorCode_MediaFileError: + b.EncodeVarint(86<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.MediaFileError)) + case *ErrorCode_MultiplierError: + b.EncodeVarint(44<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.MultiplierError)) + case *ErrorCode_NewResourceCreationError: + b.EncodeVarint(45<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NewResourceCreationError)) + case *ErrorCode_NotEmptyError: + b.EncodeVarint(46<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NotEmptyError)) + case *ErrorCode_NullError: + b.EncodeVarint(47<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NullError)) + case *ErrorCode_OperatorError: + b.EncodeVarint(48<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.OperatorError)) + case *ErrorCode_RangeError: + b.EncodeVarint(49<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RangeError)) + case *ErrorCode_RecommendationError: + b.EncodeVarint(58<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RecommendationError)) + case *ErrorCode_RegionCodeError: + b.EncodeVarint(51<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RegionCodeError)) + case *ErrorCode_SettingError: + b.EncodeVarint(52<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.SettingError)) + case *ErrorCode_StringFormatError: + b.EncodeVarint(53<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.StringFormatError)) + case *ErrorCode_StringLengthError: + b.EncodeVarint(54<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.StringLengthError)) + case *ErrorCode_OperationAccessDeniedError: + b.EncodeVarint(55<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.OperationAccessDeniedError)) + case *ErrorCode_ResourceAccessDeniedError: + b.EncodeVarint(56<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ResourceAccessDeniedError)) + case *ErrorCode_ResourceCountLimitExceededError: + b.EncodeVarint(57<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ResourceCountLimitExceededError)) + case *ErrorCode_AdGroupBidModifierError: + b.EncodeVarint(59<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdGroupBidModifierError)) + case *ErrorCode_ContextError: + b.EncodeVarint(60<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ContextError)) + case *ErrorCode_FieldError: + b.EncodeVarint(61<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FieldError)) + case *ErrorCode_SharedSetError: + b.EncodeVarint(62<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.SharedSetError)) + case *ErrorCode_SharedCriterionError: + b.EncodeVarint(63<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.SharedCriterionError)) + case *ErrorCode_CampaignSharedSetError: + b.EncodeVarint(64<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CampaignSharedSetError)) + case *ErrorCode_ConversionActionError: + b.EncodeVarint(65<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ConversionActionError)) + case *ErrorCode_HeaderError: + b.EncodeVarint(66<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.HeaderError)) + case *ErrorCode_DatabaseError: + b.EncodeVarint(67<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.DatabaseError)) + case *ErrorCode_PolicyFindingError: + b.EncodeVarint(68<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.PolicyFindingError)) + case *ErrorCode_CampaignGroupError: + b.EncodeVarint(69<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CampaignGroupError)) + case *ErrorCode_EnumError: + b.EncodeVarint(70<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.EnumError)) + case *ErrorCode_KeywordPlanError: + b.EncodeVarint(71<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.KeywordPlanError)) + case *ErrorCode_KeywordPlanCampaignError: + b.EncodeVarint(72<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.KeywordPlanCampaignError)) + case *ErrorCode_KeywordPlanNegativeKeywordError: + b.EncodeVarint(73<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.KeywordPlanNegativeKeywordError)) + case *ErrorCode_KeywordPlanAdGroupError: + b.EncodeVarint(74<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.KeywordPlanAdGroupError)) + case *ErrorCode_KeywordPlanKeywordError: + b.EncodeVarint(75<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.KeywordPlanKeywordError)) + case *ErrorCode_KeywordPlanIdeaError: + b.EncodeVarint(76<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.KeywordPlanIdeaError)) + case *ErrorCode_AccountBudgetProposalError: + b.EncodeVarint(77<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AccountBudgetProposalError)) + case *ErrorCode_UserListError: + b.EncodeVarint(78<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.UserListError)) + case *ErrorCode_ChangeStatusError: + b.EncodeVarint(79<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ChangeStatusError)) + case *ErrorCode_FeedError: + b.EncodeVarint(80<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FeedError)) + case *ErrorCode_GeoTargetConstantSuggestionError: + b.EncodeVarint(81<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.GeoTargetConstantSuggestionError)) + case *ErrorCode_FeedItemError: + b.EncodeVarint(83<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FeedItemError)) + case *ErrorCode_BillingSetupError: + b.EncodeVarint(87<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.BillingSetupError)) + case *ErrorCode_CustomerClientLinkError: + b.EncodeVarint(88<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CustomerClientLinkError)) + case *ErrorCode_CustomerManagerLinkError: + b.EncodeVarint(91<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CustomerManagerLinkError)) + case *ErrorCode_FeedMappingError: + b.EncodeVarint(92<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FeedMappingError)) + case *ErrorCode_CustomerFeedError: + b.EncodeVarint(93<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CustomerFeedError)) + case *ErrorCode_AdGroupFeedError: + b.EncodeVarint(94<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdGroupFeedError)) + case *ErrorCode_CampaignFeedError: + b.EncodeVarint(96<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CampaignFeedError)) + case nil: + default: + return fmt.Errorf("ErrorCode.ErrorCode has unexpected type %T", x) + } + return nil +} + +func _ErrorCode_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ErrorCode) + switch tag { + case 1: // error_code.request_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_RequestError{RequestErrorEnum_RequestError(x)} + return true, err + case 2: // error_code.bidding_strategy_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_BiddingStrategyError{BiddingStrategyErrorEnum_BiddingStrategyError(x)} + return true, err + case 3: // error_code.url_field_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_UrlFieldError{UrlFieldErrorEnum_UrlFieldError(x)} + return true, err + case 4: // error_code.list_operation_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ListOperationError{ListOperationErrorEnum_ListOperationError(x)} + return true, err + case 5: // error_code.query_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_QueryError{QueryErrorEnum_QueryError(x)} + return true, err + case 7: // error_code.mutate_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_MutateError{MutateErrorEnum_MutateError(x)} + return true, err + case 8: // error_code.field_mask_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FieldMaskError{FieldMaskErrorEnum_FieldMaskError(x)} + return true, err + case 9: // error_code.authorization_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AuthorizationError{AuthorizationErrorEnum_AuthorizationError(x)} + return true, err + case 10: // error_code.internal_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_InternalError{InternalErrorEnum_InternalError(x)} + return true, err + case 11: // error_code.quota_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_QuotaError{QuotaErrorEnum_QuotaError(x)} + return true, err + case 12: // error_code.ad_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdError{AdErrorEnum_AdError(x)} + return true, err + case 13: // error_code.ad_group_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdGroupError{AdGroupErrorEnum_AdGroupError(x)} + return true, err + case 14: // error_code.campaign_budget_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CampaignBudgetError{CampaignBudgetErrorEnum_CampaignBudgetError(x)} + return true, err + case 15: // error_code.campaign_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CampaignError{CampaignErrorEnum_CampaignError(x)} + return true, err + case 17: // error_code.authentication_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AuthenticationError{AuthenticationErrorEnum_AuthenticationError(x)} + return true, err + case 18: // error_code.ad_group_criterion_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdGroupCriterionError{AdGroupCriterionErrorEnum_AdGroupCriterionError(x)} + return true, err + case 19: // error_code.ad_customizer_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdCustomizerError{AdCustomizerErrorEnum_AdCustomizerError(x)} + return true, err + case 21: // error_code.ad_group_ad_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdGroupAdError{AdGroupAdErrorEnum_AdGroupAdError(x)} + return true, err + case 24: // error_code.ad_sharing_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdSharingError{AdSharingErrorEnum_AdSharingError(x)} + return true, err + case 25: // error_code.adx_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdxError{AdxErrorEnum_AdxError(x)} + return true, err + case 26: // error_code.bidding_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_BiddingError{BiddingErrorEnum_BiddingError(x)} + return true, err + case 29: // error_code.campaign_criterion_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CampaignCriterionError{CampaignCriterionErrorEnum_CampaignCriterionError(x)} + return true, err + case 31: // error_code.collection_size_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CollectionSizeError{CollectionSizeErrorEnum_CollectionSizeError(x)} + return true, err + case 32: // error_code.criterion_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CriterionError{CriterionErrorEnum_CriterionError(x)} + return true, err + case 90: // error_code.customer_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CustomerError{CustomerErrorEnum_CustomerError(x)} + return true, err + case 33: // error_code.date_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_DateError{DateErrorEnum_DateError(x)} + return true, err + case 34: // error_code.date_range_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_DateRangeError{DateRangeErrorEnum_DateRangeError(x)} + return true, err + case 35: // error_code.distinct_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_DistinctError{DistinctErrorEnum_DistinctError(x)} + return true, err + case 36: // error_code.feed_attribute_reference_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FeedAttributeReferenceError{FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError(x)} + return true, err + case 37: // error_code.function_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FunctionError{FunctionErrorEnum_FunctionError(x)} + return true, err + case 38: // error_code.function_parsing_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FunctionParsingError{FunctionParsingErrorEnum_FunctionParsingError(x)} + return true, err + case 39: // error_code.id_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_IdError{IdErrorEnum_IdError(x)} + return true, err + case 40: // error_code.image_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ImageError{ImageErrorEnum_ImageError(x)} + return true, err + case 42: // error_code.media_bundle_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_MediaBundleError{MediaBundleErrorEnum_MediaBundleError(x)} + return true, err + case 86: // error_code.media_file_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_MediaFileError{MediaFileErrorEnum_MediaFileError(x)} + return true, err + case 44: // error_code.multiplier_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_MultiplierError{MultiplierErrorEnum_MultiplierError(x)} + return true, err + case 45: // error_code.new_resource_creation_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_NewResourceCreationError{NewResourceCreationErrorEnum_NewResourceCreationError(x)} + return true, err + case 46: // error_code.not_empty_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_NotEmptyError{NotEmptyErrorEnum_NotEmptyError(x)} + return true, err + case 47: // error_code.null_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_NullError{NullErrorEnum_NullError(x)} + return true, err + case 48: // error_code.operator_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_OperatorError{OperatorErrorEnum_OperatorError(x)} + return true, err + case 49: // error_code.range_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_RangeError{RangeErrorEnum_RangeError(x)} + return true, err + case 58: // error_code.recommendation_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_RecommendationError{RecommendationErrorEnum_RecommendationError(x)} + return true, err + case 51: // error_code.region_code_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_RegionCodeError{RegionCodeErrorEnum_RegionCodeError(x)} + return true, err + case 52: // error_code.setting_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_SettingError{SettingErrorEnum_SettingError(x)} + return true, err + case 53: // error_code.string_format_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_StringFormatError{StringFormatErrorEnum_StringFormatError(x)} + return true, err + case 54: // error_code.string_length_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_StringLengthError{StringLengthErrorEnum_StringLengthError(x)} + return true, err + case 55: // error_code.operation_access_denied_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_OperationAccessDeniedError{OperationAccessDeniedErrorEnum_OperationAccessDeniedError(x)} + return true, err + case 56: // error_code.resource_access_denied_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ResourceAccessDeniedError{ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError(x)} + return true, err + case 57: // error_code.resource_count_limit_exceeded_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ResourceCountLimitExceededError{ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError(x)} + return true, err + case 59: // error_code.ad_group_bid_modifier_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdGroupBidModifierError{AdGroupBidModifierErrorEnum_AdGroupBidModifierError(x)} + return true, err + case 60: // error_code.context_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ContextError{ContextErrorEnum_ContextError(x)} + return true, err + case 61: // error_code.field_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FieldError{FieldErrorEnum_FieldError(x)} + return true, err + case 62: // error_code.shared_set_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_SharedSetError{SharedSetErrorEnum_SharedSetError(x)} + return true, err + case 63: // error_code.shared_criterion_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_SharedCriterionError{SharedCriterionErrorEnum_SharedCriterionError(x)} + return true, err + case 64: // error_code.campaign_shared_set_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CampaignSharedSetError{CampaignSharedSetErrorEnum_CampaignSharedSetError(x)} + return true, err + case 65: // error_code.conversion_action_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ConversionActionError{ConversionActionErrorEnum_ConversionActionError(x)} + return true, err + case 66: // error_code.header_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_HeaderError{HeaderErrorEnum_HeaderError(x)} + return true, err + case 67: // error_code.database_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_DatabaseError{DatabaseErrorEnum_DatabaseError(x)} + return true, err + case 68: // error_code.policy_finding_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_PolicyFindingError{PolicyFindingErrorEnum_PolicyFindingError(x)} + return true, err + case 69: // error_code.campaign_group_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CampaignGroupError{CampaignGroupErrorEnum_CampaignGroupError(x)} + return true, err + case 70: // error_code.enum_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_EnumError{EnumErrorEnum_EnumError(x)} + return true, err + case 71: // error_code.keyword_plan_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_KeywordPlanError{KeywordPlanErrorEnum_KeywordPlanError(x)} + return true, err + case 72: // error_code.keyword_plan_campaign_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_KeywordPlanCampaignError{KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError(x)} + return true, err + case 73: // error_code.keyword_plan_negative_keyword_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_KeywordPlanNegativeKeywordError{KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError(x)} + return true, err + case 74: // error_code.keyword_plan_ad_group_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_KeywordPlanAdGroupError{KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError(x)} + return true, err + case 75: // error_code.keyword_plan_keyword_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_KeywordPlanKeywordError{KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError(x)} + return true, err + case 76: // error_code.keyword_plan_idea_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_KeywordPlanIdeaError{KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError(x)} + return true, err + case 77: // error_code.account_budget_proposal_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AccountBudgetProposalError{AccountBudgetProposalErrorEnum_AccountBudgetProposalError(x)} + return true, err + case 78: // error_code.user_list_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_UserListError{UserListErrorEnum_UserListError(x)} + return true, err + case 79: // error_code.change_status_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_ChangeStatusError{ChangeStatusErrorEnum_ChangeStatusError(x)} + return true, err + case 80: // error_code.feed_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FeedError{FeedErrorEnum_FeedError(x)} + return true, err + case 81: // error_code.geo_target_constant_suggestion_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_GeoTargetConstantSuggestionError{GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError(x)} + return true, err + case 83: // error_code.feed_item_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FeedItemError{FeedItemErrorEnum_FeedItemError(x)} + return true, err + case 87: // error_code.billing_setup_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_BillingSetupError{BillingSetupErrorEnum_BillingSetupError(x)} + return true, err + case 88: // error_code.customer_client_link_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CustomerClientLinkError{CustomerClientLinkErrorEnum_CustomerClientLinkError(x)} + return true, err + case 91: // error_code.customer_manager_link_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CustomerManagerLinkError{CustomerManagerLinkErrorEnum_CustomerManagerLinkError(x)} + return true, err + case 92: // error_code.feed_mapping_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_FeedMappingError{FeedMappingErrorEnum_FeedMappingError(x)} + return true, err + case 93: // error_code.customer_feed_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CustomerFeedError{CustomerFeedErrorEnum_CustomerFeedError(x)} + return true, err + case 94: // error_code.ad_group_feed_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_AdGroupFeedError{AdGroupFeedErrorEnum_AdGroupFeedError(x)} + return true, err + case 96: // error_code.campaign_feed_error + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ErrorCode = &ErrorCode_CampaignFeedError{CampaignFeedErrorEnum_CampaignFeedError(x)} + return true, err + default: + return false, nil + } +} + +func _ErrorCode_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ErrorCode) + // error_code + switch x := m.ErrorCode.(type) { + case *ErrorCode_RequestError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.RequestError)) + case *ErrorCode_BiddingStrategyError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.BiddingStrategyError)) + case *ErrorCode_UrlFieldError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.UrlFieldError)) + case *ErrorCode_ListOperationError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ListOperationError)) + case *ErrorCode_QueryError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.QueryError)) + case *ErrorCode_MutateError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.MutateError)) + case *ErrorCode_FieldMaskError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.FieldMaskError)) + case *ErrorCode_AuthorizationError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.AuthorizationError)) + case *ErrorCode_InternalError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.InternalError)) + case *ErrorCode_QuotaError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.QuotaError)) + case *ErrorCode_AdError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.AdError)) + case *ErrorCode_AdGroupError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.AdGroupError)) + case *ErrorCode_CampaignBudgetError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CampaignBudgetError)) + case *ErrorCode_CampaignError: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CampaignError)) + case *ErrorCode_AuthenticationError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AuthenticationError)) + case *ErrorCode_AdGroupCriterionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdGroupCriterionError)) + case *ErrorCode_AdCustomizerError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdCustomizerError)) + case *ErrorCode_AdGroupAdError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdGroupAdError)) + case *ErrorCode_AdSharingError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdSharingError)) + case *ErrorCode_AdxError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdxError)) + case *ErrorCode_BiddingError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.BiddingError)) + case *ErrorCode_CampaignCriterionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CampaignCriterionError)) + case *ErrorCode_CollectionSizeError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CollectionSizeError)) + case *ErrorCode_CriterionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CriterionError)) + case *ErrorCode_CustomerError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CustomerError)) + case *ErrorCode_DateError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.DateError)) + case *ErrorCode_DateRangeError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.DateRangeError)) + case *ErrorCode_DistinctError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.DistinctError)) + case *ErrorCode_FeedAttributeReferenceError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FeedAttributeReferenceError)) + case *ErrorCode_FunctionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FunctionError)) + case *ErrorCode_FunctionParsingError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FunctionParsingError)) + case *ErrorCode_IdError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.IdError)) + case *ErrorCode_ImageError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ImageError)) + case *ErrorCode_MediaBundleError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.MediaBundleError)) + case *ErrorCode_MediaFileError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.MediaFileError)) + case *ErrorCode_MultiplierError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.MultiplierError)) + case *ErrorCode_NewResourceCreationError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.NewResourceCreationError)) + case *ErrorCode_NotEmptyError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.NotEmptyError)) + case *ErrorCode_NullError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.NullError)) + case *ErrorCode_OperatorError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.OperatorError)) + case *ErrorCode_RangeError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.RangeError)) + case *ErrorCode_RecommendationError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.RecommendationError)) + case *ErrorCode_RegionCodeError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.RegionCodeError)) + case *ErrorCode_SettingError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.SettingError)) + case *ErrorCode_StringFormatError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.StringFormatError)) + case *ErrorCode_StringLengthError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.StringLengthError)) + case *ErrorCode_OperationAccessDeniedError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.OperationAccessDeniedError)) + case *ErrorCode_ResourceAccessDeniedError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ResourceAccessDeniedError)) + case *ErrorCode_ResourceCountLimitExceededError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ResourceCountLimitExceededError)) + case *ErrorCode_AdGroupBidModifierError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdGroupBidModifierError)) + case *ErrorCode_ContextError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ContextError)) + case *ErrorCode_FieldError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FieldError)) + case *ErrorCode_SharedSetError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.SharedSetError)) + case *ErrorCode_SharedCriterionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.SharedCriterionError)) + case *ErrorCode_CampaignSharedSetError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CampaignSharedSetError)) + case *ErrorCode_ConversionActionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ConversionActionError)) + case *ErrorCode_HeaderError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.HeaderError)) + case *ErrorCode_DatabaseError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.DatabaseError)) + case *ErrorCode_PolicyFindingError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.PolicyFindingError)) + case *ErrorCode_CampaignGroupError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CampaignGroupError)) + case *ErrorCode_EnumError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.EnumError)) + case *ErrorCode_KeywordPlanError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.KeywordPlanError)) + case *ErrorCode_KeywordPlanCampaignError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.KeywordPlanCampaignError)) + case *ErrorCode_KeywordPlanNegativeKeywordError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.KeywordPlanNegativeKeywordError)) + case *ErrorCode_KeywordPlanAdGroupError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.KeywordPlanAdGroupError)) + case *ErrorCode_KeywordPlanKeywordError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.KeywordPlanKeywordError)) + case *ErrorCode_KeywordPlanIdeaError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.KeywordPlanIdeaError)) + case *ErrorCode_AccountBudgetProposalError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AccountBudgetProposalError)) + case *ErrorCode_UserListError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.UserListError)) + case *ErrorCode_ChangeStatusError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ChangeStatusError)) + case *ErrorCode_FeedError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FeedError)) + case *ErrorCode_GeoTargetConstantSuggestionError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.GeoTargetConstantSuggestionError)) + case *ErrorCode_FeedItemError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FeedItemError)) + case *ErrorCode_BillingSetupError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.BillingSetupError)) + case *ErrorCode_CustomerClientLinkError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CustomerClientLinkError)) + case *ErrorCode_CustomerManagerLinkError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CustomerManagerLinkError)) + case *ErrorCode_FeedMappingError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FeedMappingError)) + case *ErrorCode_CustomerFeedError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CustomerFeedError)) + case *ErrorCode_AdGroupFeedError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdGroupFeedError)) + case *ErrorCode_CampaignFeedError: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CampaignFeedError)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Describes the part of the request proto that caused the error. +type ErrorLocation struct { + // The mutate operation that failed + OperationIndex *wrappers.Int64Value `protobuf:"bytes,1,opt,name=operation_index,json=operationIndex,proto3" json:"operation_index,omitempty"` + // A field path that indicates which field was invalid in the request. + FieldPathElements []*ErrorLocation_FieldPathElement `protobuf:"bytes,2,rep,name=field_path_elements,json=fieldPathElements,proto3" json:"field_path_elements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ErrorLocation) Reset() { *m = ErrorLocation{} } +func (m *ErrorLocation) String() string { return proto.CompactTextString(m) } +func (*ErrorLocation) ProtoMessage() {} +func (*ErrorLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{3} +} +func (m *ErrorLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorLocation.Unmarshal(m, b) +} +func (m *ErrorLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorLocation.Marshal(b, m, deterministic) +} +func (dst *ErrorLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorLocation.Merge(dst, src) +} +func (m *ErrorLocation) XXX_Size() int { + return xxx_messageInfo_ErrorLocation.Size(m) +} +func (m *ErrorLocation) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorLocation.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorLocation proto.InternalMessageInfo + +func (m *ErrorLocation) GetOperationIndex() *wrappers.Int64Value { + if m != nil { + return m.OperationIndex + } + return nil +} + +func (m *ErrorLocation) GetFieldPathElements() []*ErrorLocation_FieldPathElement { + if m != nil { + return m.FieldPathElements + } + return nil +} + +// A part of a field path. +type ErrorLocation_FieldPathElement struct { + // The name of a field or a oneof + FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` + // If field_name is a repeated field, this is the element that failed + Index *wrappers.Int64Value `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ErrorLocation_FieldPathElement) Reset() { *m = ErrorLocation_FieldPathElement{} } +func (m *ErrorLocation_FieldPathElement) String() string { return proto.CompactTextString(m) } +func (*ErrorLocation_FieldPathElement) ProtoMessage() {} +func (*ErrorLocation_FieldPathElement) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{3, 0} +} +func (m *ErrorLocation_FieldPathElement) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorLocation_FieldPathElement.Unmarshal(m, b) +} +func (m *ErrorLocation_FieldPathElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorLocation_FieldPathElement.Marshal(b, m, deterministic) +} +func (dst *ErrorLocation_FieldPathElement) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorLocation_FieldPathElement.Merge(dst, src) +} +func (m *ErrorLocation_FieldPathElement) XXX_Size() int { + return xxx_messageInfo_ErrorLocation_FieldPathElement.Size(m) +} +func (m *ErrorLocation_FieldPathElement) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorLocation_FieldPathElement.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorLocation_FieldPathElement proto.InternalMessageInfo + +func (m *ErrorLocation_FieldPathElement) GetFieldName() string { + if m != nil { + return m.FieldName + } + return "" +} + +func (m *ErrorLocation_FieldPathElement) GetIndex() *wrappers.Int64Value { + if m != nil { + return m.Index + } + return nil +} + +// Additional error details. +type ErrorDetails struct { + // The error code that should have been returned, but wasn't. This is used + // when the error code is InternalError.ERROR_CODE_NOT_PUBLISHED. + UnpublishedErrorCode string `protobuf:"bytes,1,opt,name=unpublished_error_code,json=unpublishedErrorCode,proto3" json:"unpublished_error_code,omitempty"` + // Describes an ad policy violation. + PolicyViolationDetails *PolicyViolationDetails `protobuf:"bytes,2,opt,name=policy_violation_details,json=policyViolationDetails,proto3" json:"policy_violation_details,omitempty"` + // Describes policy violation findings. + PolicyFindingDetails *PolicyFindingDetails `protobuf:"bytes,3,opt,name=policy_finding_details,json=policyFindingDetails,proto3" json:"policy_finding_details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ErrorDetails) Reset() { *m = ErrorDetails{} } +func (m *ErrorDetails) String() string { return proto.CompactTextString(m) } +func (*ErrorDetails) ProtoMessage() {} +func (*ErrorDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{4} +} +func (m *ErrorDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorDetails.Unmarshal(m, b) +} +func (m *ErrorDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorDetails.Marshal(b, m, deterministic) +} +func (dst *ErrorDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorDetails.Merge(dst, src) +} +func (m *ErrorDetails) XXX_Size() int { + return xxx_messageInfo_ErrorDetails.Size(m) +} +func (m *ErrorDetails) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorDetails proto.InternalMessageInfo + +func (m *ErrorDetails) GetUnpublishedErrorCode() string { + if m != nil { + return m.UnpublishedErrorCode + } + return "" +} + +func (m *ErrorDetails) GetPolicyViolationDetails() *PolicyViolationDetails { + if m != nil { + return m.PolicyViolationDetails + } + return nil +} + +func (m *ErrorDetails) GetPolicyFindingDetails() *PolicyFindingDetails { + if m != nil { + return m.PolicyFindingDetails + } + return nil +} + +// Error returned as part of a mutate response. +// This error indicates single policy violation by some text +// in one of the fields. +type PolicyViolationDetails struct { + // Human readable description of policy violation. + ExternalPolicyDescription string `protobuf:"bytes,2,opt,name=external_policy_description,json=externalPolicyDescription,proto3" json:"external_policy_description,omitempty"` + // Unique identifier for this violation. + // If policy is exemptible, this key may be used to request exemption. + Key *common.PolicyViolationKey `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + // Human readable name of the policy. + ExternalPolicyName string `protobuf:"bytes,5,opt,name=external_policy_name,json=externalPolicyName,proto3" json:"external_policy_name,omitempty"` + // Whether user can file an exemption request for this violation. + IsExemptible bool `protobuf:"varint,6,opt,name=is_exemptible,json=isExemptible,proto3" json:"is_exemptible,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyViolationDetails) Reset() { *m = PolicyViolationDetails{} } +func (m *PolicyViolationDetails) String() string { return proto.CompactTextString(m) } +func (*PolicyViolationDetails) ProtoMessage() {} +func (*PolicyViolationDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{5} +} +func (m *PolicyViolationDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyViolationDetails.Unmarshal(m, b) +} +func (m *PolicyViolationDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyViolationDetails.Marshal(b, m, deterministic) +} +func (dst *PolicyViolationDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyViolationDetails.Merge(dst, src) +} +func (m *PolicyViolationDetails) XXX_Size() int { + return xxx_messageInfo_PolicyViolationDetails.Size(m) +} +func (m *PolicyViolationDetails) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyViolationDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyViolationDetails proto.InternalMessageInfo + +func (m *PolicyViolationDetails) GetExternalPolicyDescription() string { + if m != nil { + return m.ExternalPolicyDescription + } + return "" +} + +func (m *PolicyViolationDetails) GetKey() *common.PolicyViolationKey { + if m != nil { + return m.Key + } + return nil +} + +func (m *PolicyViolationDetails) GetExternalPolicyName() string { + if m != nil { + return m.ExternalPolicyName + } + return "" +} + +func (m *PolicyViolationDetails) GetIsExemptible() bool { + if m != nil { + return m.IsExemptible + } + return false +} + +// Error returned as part of a mutate response. +// This error indicates one or more policy findings in the fields of a +// resource. +type PolicyFindingDetails struct { + // The list of policy topics for the resource. Contains the PROHIBITED or + // FULLY_LIMITED policy topic entries that prevented the resource from being + // saved (among any other entries the resource may also have). + PolicyTopicEntries []*common.PolicyTopicEntry `protobuf:"bytes,1,rep,name=policy_topic_entries,json=policyTopicEntries,proto3" json:"policy_topic_entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyFindingDetails) Reset() { *m = PolicyFindingDetails{} } +func (m *PolicyFindingDetails) String() string { return proto.CompactTextString(m) } +func (*PolicyFindingDetails) ProtoMessage() {} +func (*PolicyFindingDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_errors_fa6b3b0791612cfd, []int{6} +} +func (m *PolicyFindingDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyFindingDetails.Unmarshal(m, b) +} +func (m *PolicyFindingDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyFindingDetails.Marshal(b, m, deterministic) +} +func (dst *PolicyFindingDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyFindingDetails.Merge(dst, src) +} +func (m *PolicyFindingDetails) XXX_Size() int { + return xxx_messageInfo_PolicyFindingDetails.Size(m) +} +func (m *PolicyFindingDetails) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyFindingDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyFindingDetails proto.InternalMessageInfo + +func (m *PolicyFindingDetails) GetPolicyTopicEntries() []*common.PolicyTopicEntry { + if m != nil { + return m.PolicyTopicEntries + } + return nil +} + +func init() { + proto.RegisterType((*GoogleAdsFailure)(nil), "google.ads.googleads.v0.errors.GoogleAdsFailure") + proto.RegisterType((*GoogleAdsError)(nil), "google.ads.googleads.v0.errors.GoogleAdsError") + proto.RegisterType((*ErrorCode)(nil), "google.ads.googleads.v0.errors.ErrorCode") + proto.RegisterType((*ErrorLocation)(nil), "google.ads.googleads.v0.errors.ErrorLocation") + proto.RegisterType((*ErrorLocation_FieldPathElement)(nil), "google.ads.googleads.v0.errors.ErrorLocation.FieldPathElement") + proto.RegisterType((*ErrorDetails)(nil), "google.ads.googleads.v0.errors.ErrorDetails") + proto.RegisterType((*PolicyViolationDetails)(nil), "google.ads.googleads.v0.errors.PolicyViolationDetails") + proto.RegisterType((*PolicyFindingDetails)(nil), "google.ads.googleads.v0.errors.PolicyFindingDetails") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/errors.proto", fileDescriptor_errors_fa6b3b0791612cfd) +} + +var fileDescriptor_errors_fa6b3b0791612cfd = []byte{ + // 3366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x5b, 0xcd, 0x73, 0x1c, 0x47, + 0x15, 0xdf, 0x95, 0x49, 0x6c, 0xb5, 0x65, 0xd9, 0x6e, 0xcb, 0x4e, 0xdb, 0x26, 0x89, 0x51, 0x12, + 0x30, 0x21, 0x59, 0xc9, 0xf2, 0x57, 0x1c, 0x27, 0x76, 0x56, 0x2b, 0xc9, 0x23, 0x2c, 0xd9, 0xca, + 0x28, 0x71, 0x42, 0x62, 0xd8, 0xf4, 0xce, 0xf4, 0xae, 0x1a, 0xcd, 0xc7, 0x7a, 0x3e, 0x64, 0xc9, + 0x45, 0xaa, 0xe0, 0x00, 0x55, 0x50, 0x05, 0x07, 0xa8, 0xe2, 0xc0, 0x81, 0x43, 0x8e, 0x70, 0xe4, + 0xc0, 0x99, 0x1b, 0xc5, 0xff, 0xc3, 0x91, 0x2a, 0xaa, 0x7b, 0xbe, 0xba, 0x7b, 0x66, 0x77, 0x7a, + 0x72, 0x92, 0xfa, 0xd7, 0xfd, 0x7b, 0xaf, 0xbb, 0xa7, 0x3f, 0xde, 0x7b, 0xfd, 0x16, 0xfc, 0x68, + 0xe4, 0xfb, 0x23, 0x87, 0x2c, 0x61, 0x3b, 0x5c, 0x4a, 0xfe, 0x65, 0xff, 0x1d, 0x2c, 0x2f, 0x91, + 0x20, 0xf0, 0x83, 0x30, 0xfd, 0xd3, 0x19, 0x07, 0x7e, 0xe4, 0xc3, 0xd7, 0x92, 0x16, 0x1d, 0x6c, + 0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, 0xa7, 0x5f, 0x36, 0x68, 0x6a, 0x59, + 0x21, 0x37, 0x90, 0x95, 0x45, 0x91, 0x86, 0x9a, 0x96, 0x78, 0x69, 0x10, 0x0f, 0x97, 0x9e, 0x07, + 0x78, 0x3c, 0x26, 0x59, 0x28, 0x6a, 0xf1, 0x0b, 0x70, 0xe6, 0x01, 0x6f, 0xd1, 0xb5, 0xc3, 0x0d, + 0x4c, 0x9d, 0x38, 0x20, 0x70, 0x03, 0xbc, 0x9c, 0xc8, 0x44, 0xed, 0x2b, 0xc7, 0xae, 0x9e, 0x5c, + 0xe9, 0x74, 0xa6, 0xc7, 0xab, 0x3a, 0xb9, 0x84, 0x75, 0x56, 0x36, 0x53, 0xf6, 0xe2, 0xbf, 0x67, + 0xc0, 0xbc, 0x5c, 0x05, 0x0d, 0x00, 0x78, 0x25, 0x5f, 0xf1, 0xa8, 0x7d, 0xa5, 0x7d, 0xf5, 0xe4, + 0xca, 0x0f, 0xeb, 0xc4, 0x73, 0x6a, 0xcf, 0xb7, 0x89, 0x39, 0x4b, 0xb2, 0x7f, 0x21, 0x02, 0xc7, + 0x5d, 0x12, 0x86, 0x78, 0x44, 0xd0, 0xcc, 0x95, 0xf6, 0xd5, 0x59, 0x33, 0x2b, 0xc2, 0xfb, 0xe0, + 0x78, 0x14, 0xd0, 0xd1, 0x88, 0x04, 0xe8, 0x18, 0x57, 0xf0, 0xd6, 0x44, 0x05, 0x49, 0x88, 0xac, + 0xf3, 0x04, 0x3b, 0x31, 0x31, 0x33, 0x16, 0xdc, 0x04, 0x27, 0x1c, 0x3f, 0x09, 0x63, 0xa0, 0xef, + 0x70, 0x09, 0xef, 0x6a, 0x75, 0x71, 0x2b, 0x25, 0x99, 0x39, 0x1d, 0x6e, 0x80, 0xe3, 0x36, 0x89, + 0x30, 0x75, 0x42, 0xf4, 0x12, 0x97, 0xf4, 0x8e, 0x96, 0xa4, 0xb5, 0x84, 0x63, 0x66, 0xe4, 0xc5, + 0xff, 0x3d, 0x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x97, 0x61, 0xf8, 0xbb, 0x36, 0x40, 0x93, 0x9e, 0x3e, 0x10, 0xe4, 0xdd, 0x78, 0xac, 0xf9, 0x89, + 0x7b, 0x19, 0xbb, 0xf4, 0xad, 0xe5, 0x1a, 0xa3, 0x65, 0x9e, 0xc7, 0x55, 0x15, 0xf0, 0x08, 0x9c, + 0xab, 0x78, 0x69, 0x42, 0xe7, 0x78, 0x37, 0x1e, 0xd4, 0x77, 0xa3, 0x97, 0x33, 0xc5, 0x2e, 0x28, + 0xa8, 0xd1, 0x32, 0xcf, 0x62, 0x15, 0x84, 0x1e, 0x38, 0x5b, 0x7a, 0x7b, 0x42, 0xe7, 0xf5, 0xce, + 0xb9, 0x74, 0x94, 0xf2, 0x0e, 0x12, 0x21, 0x76, 0xce, 0x61, 0x09, 0x61, 0xc7, 0xaa, 0xfa, 0x86, + 0x83, 0x90, 0xae, 0xba, 0xdd, 0x84, 0x26, 0xaa, 0x13, 0xa1, 0x44, 0x9d, 0x88, 0xc0, 0x4f, 0xc0, + 0x6c, 0xfe, 0xf6, 0x83, 0x2e, 0x72, 0x3d, 0x37, 0xeb, 0xf5, 0x1c, 0x8a, 0x1a, 0x0e, 0x33, 0xd9, + 0x27, 0x70, 0xfa, 0x3f, 0xb3, 0x59, 0xa4, 0xc7, 0x1a, 0x74, 0x49, 0xef, 0x4c, 0x48, 0x4d, 0x85, + 0x92, 0xed, 0x90, 0x9f, 0x09, 0x03, 0xa1, 0x0c, 0x7f, 0xdf, 0x06, 0x68, 0xd2, 0x63, 0x09, 0x7a, + 0x95, 0x6b, 0xfc, 0x58, 0x77, 0x6b, 0x56, 0xac, 0xd1, 0xea, 0x2a, 0xa3, 0x65, 0x5e, 0xb0, 0x2a, + 0x6b, 0x92, 0x33, 0xaa, 0xea, 0x65, 0x01, 0xbd, 0xae, 0x79, 0x46, 0xe5, 0xe4, 0x5d, 0xfa, 0x42, + 0xb8, 0x85, 0x2b, 0x70, 0x7e, 0x46, 0x95, 0x61, 0xe8, 0x80, 0xd3, 0xea, 0x4c, 0x5c, 0xd1, 0x5b, + 0x3d, 0x55, 0x33, 0xa0, 0x8e, 0x7c, 0xde, 0x92, 0x47, 0xcc, 0x4e, 0x44, 0xe9, 0x95, 0x00, 0x7d, + 0xa1, 0x79, 0x22, 0xa6, 0x2c, 0x41, 0x97, 0x88, 0xf0, 0x13, 0x51, 0x04, 0xe0, 0xe7, 0x00, 0x14, + 0x91, 0x7a, 0xf4, 0x3d, 0xae, 0xe5, 0x76, 0x9d, 0x96, 0x35, 0xc9, 0x96, 0x59, 0x13, 0x2c, 0x99, + 0x59, 0x5b, 0xb4, 0x63, 0xd4, 0x90, 0x3e, 0x5a, 0xd4, 0x9b, 0x32, 0x26, 0xd1, 0x64, 0x34, 0x59, + 0x49, 0x01, 0xb1, 0x29, 0xb3, 0x25, 0x84, 0x4d, 0x99, 0xfc, 0x14, 0x80, 0xde, 0xd0, 0x9b, 0xb2, + 0xb5, 0x94, 0x25, 0xe8, 0x12, 0x11, 0x36, 0x65, 0xb6, 0x08, 0xc0, 0x6f, 0xda, 0xe0, 0xb5, 0xe9, + 0xef, 0x01, 0xe8, 0x4d, 0xae, 0xfa, 0xcb, 0x5a, 0x7b, 0x8d, 0x10, 0xbb, 0x9b, 0x09, 0x31, 0x33, + 0x19, 0x82, 0xf1, 0x36, 0xb9, 0xde, 0x68, 0x99, 0x97, 0x87, 0x93, 0xab, 0xd9, 0x74, 0xc8, 0x51, + 0x76, 0xf4, 0x96, 0xde, 0x74, 0x6c, 0xa4, 0x2c, 0xa1, 0x17, 0x22, 0xc2, 0xa6, 0x63, 0x28, 0x02, + 0xdc, 0xc3, 0xa9, 0x8e, 0xcd, 0xa3, 0xef, 0xeb, 0x79, 0x38, 0x99, 0x82, 0x9d, 0x84, 0x5c, 0xd6, + 0x2c, 0x56, 0x30, 0x0f, 0x67, 0x58, 0x81, 0x33, 0x13, 0x2c, 0x8b, 0xb3, 0xa3, 0x1f, 0xe8, 0x99, + 0x60, 0x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0, 0x80, 0x3f, 0xf6, 0xaa, 0xbf, 0x7f, + 0x43, 0x3f, 0xd3, 0x1b, 0x72, 0x7a, 0x13, 0xca, 0x9a, 0x55, 0x90, 0x0d, 0x19, 0x2b, 0x18, 0x1f, + 0x72, 0xf9, 0x67, 0x50, 0xe8, 0x2b, 0xcd, 0x21, 0xa7, 0x54, 0x65, 0xc8, 0x2a, 0xca, 0x87, 0xac, + 0x82, 0xab, 0x73, 0x62, 0xa6, 0xdc, 0xe2, 0xdf, 0x67, 0xc0, 0x29, 0x29, 0xc7, 0x0c, 0xae, 0x81, + 0xd3, 0x45, 0xc8, 0x86, 0x7a, 0x36, 0x39, 0x4c, 0xd3, 0xe9, 0x2e, 0x67, 0xdd, 0xca, 0x52, 0xfe, + 0x3a, 0x9b, 0x5e, 0x74, 0xeb, 0x46, 0x92, 0xe3, 0x36, 0x9f, 0x73, 0x36, 0x19, 0x05, 0x7a, 0xe0, + 0x5c, 0xe2, 0x09, 0x8f, 0x71, 0xb4, 0xd7, 0x27, 0x0e, 0x71, 0x89, 0x17, 0x85, 0x68, 0x86, 0xe7, + 0xfd, 0xdd, 0x6b, 0x94, 0xf5, 0x96, 0x38, 0xc4, 0x3b, 0x38, 0xda, 0x5b, 0x4f, 0xc4, 0x98, 0x67, + 0x87, 0x0a, 0x12, 0x5e, 0xb2, 0xc1, 0x19, 0xb5, 0x19, 0x7c, 0x15, 0x24, 0xde, 0x73, 0xdf, 0xc3, + 0x6e, 0x92, 0x13, 0x38, 0x6b, 0xce, 0x72, 0xe4, 0x11, 0x76, 0x09, 0xbc, 0x06, 0x5e, 0x4a, 0x86, + 0x37, 0x53, 0x3f, 0xbc, 0xa4, 0xe5, 0xe2, 0x37, 0x33, 0x60, 0x4e, 0xcc, 0xa3, 0x83, 0x37, 0xc0, + 0x85, 0xd8, 0x1b, 0xc7, 0x03, 0x87, 0x86, 0x7b, 0xd9, 0x57, 0x2c, 0x52, 0x10, 0x67, 0xcd, 0x05, + 0xa1, 0xb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0x50, 0x12, 0xae, 0xfe, 0xab, 0x0d, 0x16, 0x2d, + 0xdf, 0xad, 0xf9, 0x8a, 0xab, 0x27, 0xf9, 0x1a, 0x0c, 0x77, 0xd8, 0x0a, 0xdf, 0x69, 0x7f, 0xb1, + 0x96, 0x36, 0x1f, 0xf9, 0x0e, 0xf6, 0x46, 0x1d, 0x3f, 0x18, 0x2d, 0x8d, 0x88, 0xc7, 0xd7, 0x7f, + 0x96, 0x09, 0x3c, 0xa6, 0xe1, 0xa4, 0xc4, 0xe0, 0xbb, 0xc9, 0x9f, 0x6f, 0x66, 0x8e, 0x3d, 0xe8, + 0x76, 0xff, 0x36, 0xf3, 0x5a, 0x92, 0x91, 0xdb, 0xe9, 0xda, 0x42, 0xde, 0x6e, 0xe7, 0xc9, 0x72, + 0xb2, 0x99, 0xc3, 0xff, 0x64, 0x0d, 0x9e, 0x76, 0xed, 0xf0, 0x69, 0xde, 0xe0, 0xe9, 0x93, 0xe5, + 0xa7, 0x49, 0x83, 0xc1, 0xcb, 0x5c, 0xf1, 0xf5, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x72, 0x91, + 0xd2, 0x81, 0xf2, 0x3e, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_attribute_reference_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_attribute_reference_error.pb.go new file mode 100644 index 000000000..ec1004dd5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_attribute_reference_error.pb.go @@ -0,0 +1,122 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/feed_attribute_reference_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible feed attribute reference errors. +type FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError int32 + +const ( + // Enum unspecified. + FeedAttributeReferenceErrorEnum_UNSPECIFIED FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 0 + // The received error code is not known in this version. + FeedAttributeReferenceErrorEnum_UNKNOWN FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 1 + // A feed referenced by ID has been deleted. + FeedAttributeReferenceErrorEnum_CANNOT_REFERENCE_DELETED_FEED FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 2 + // There is no active feed with the given name. + FeedAttributeReferenceErrorEnum_INVALID_FEED_NAME FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 3 + // There is no feed attribute in an active feed with the given name. + FeedAttributeReferenceErrorEnum_INVALID_FEED_ATTRIBUTE_NAME FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 4 +) + +var FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CANNOT_REFERENCE_DELETED_FEED", + 3: "INVALID_FEED_NAME", + 4: "INVALID_FEED_ATTRIBUTE_NAME", +} +var FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_REFERENCE_DELETED_FEED": 2, + "INVALID_FEED_NAME": 3, + "INVALID_FEED_ATTRIBUTE_NAME": 4, +} + +func (x FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError) String() string { + return proto.EnumName(FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_name, int32(x)) +} +func (FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_attribute_reference_error_a22b1b7f38948ef0, []int{0, 0} +} + +// Container for enum describing possible feed attribute reference errors. +type FeedAttributeReferenceErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedAttributeReferenceErrorEnum) Reset() { *m = FeedAttributeReferenceErrorEnum{} } +func (m *FeedAttributeReferenceErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FeedAttributeReferenceErrorEnum) ProtoMessage() {} +func (*FeedAttributeReferenceErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_attribute_reference_error_a22b1b7f38948ef0, []int{0} +} +func (m *FeedAttributeReferenceErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedAttributeReferenceErrorEnum.Unmarshal(m, b) +} +func (m *FeedAttributeReferenceErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedAttributeReferenceErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FeedAttributeReferenceErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedAttributeReferenceErrorEnum.Merge(dst, src) +} +func (m *FeedAttributeReferenceErrorEnum) XXX_Size() int { + return xxx_messageInfo_FeedAttributeReferenceErrorEnum.Size(m) +} +func (m *FeedAttributeReferenceErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedAttributeReferenceErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedAttributeReferenceErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedAttributeReferenceErrorEnum)(nil), "google.ads.googleads.v0.errors.FeedAttributeReferenceErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError", FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_name, FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/feed_attribute_reference_error.proto", fileDescriptor_feed_attribute_reference_error_a22b1b7f38948ef0) +} + +var fileDescriptor_feed_attribute_reference_error_a22b1b7f38948ef0 = []byte{ + // 326 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x4e, 0xf2, 0x30, + 0x14, 0xc7, 0xbf, 0xc1, 0x17, 0x4d, 0xca, 0x85, 0x73, 0x89, 0x57, 0x44, 0x50, 0x1e, 0xa0, 0x5b, + 0xe2, 0xa5, 0x57, 0x65, 0x3b, 0x23, 0x8b, 0x58, 0xc8, 0x1c, 0x98, 0x98, 0x25, 0xcd, 0x60, 0xa5, + 0x21, 0x81, 0x95, 0xb4, 0x83, 0x47, 0xf1, 0x01, 0xbc, 0xf4, 0x11, 0x7c, 0x04, 0x1f, 0xc0, 0xe7, + 0x31, 0x5b, 0x1d, 0x89, 0x17, 0x72, 0xd5, 0x7f, 0x4e, 0x7f, 0xfd, 0x9d, 0xf6, 0x14, 0xf9, 0x42, + 0x4a, 0xb1, 0xe1, 0x6e, 0x96, 0x6b, 0xd7, 0xc4, 0x2a, 0x1d, 0x3c, 0x97, 0x2b, 0x25, 0x95, 0x76, + 0x57, 0x9c, 0xe7, 0x2c, 0x2b, 0x4b, 0xb5, 0x5e, 0xec, 0x4b, 0xce, 0x14, 0x5f, 0x71, 0xc5, 0x8b, + 0x25, 0x67, 0xf5, 0x3e, 0xde, 0x29, 0x59, 0x4a, 0xa7, 0x67, 0x4e, 0xe2, 0x2c, 0xd7, 0xf8, 0x28, + 0xc1, 0x07, 0x0f, 0x1b, 0xc9, 0xe0, 0xc3, 0x42, 0xfd, 0x90, 0xf3, 0x9c, 0x34, 0x9e, 0xb8, 0xd1, + 0x40, 0x05, 0x40, 0xb1, 0xdf, 0x0e, 0x5e, 0x2d, 0xd4, 0x3d, 0xc1, 0x38, 0x17, 0xa8, 0x33, 0xa3, + 0x4f, 0x53, 0xf0, 0xa3, 0x30, 0x82, 0xc0, 0xfe, 0xe7, 0x74, 0xd0, 0xf9, 0x8c, 0x3e, 0xd0, 0xc9, + 0x33, 0xb5, 0x2d, 0xe7, 0x16, 0x5d, 0xfb, 0x84, 0xd2, 0x49, 0xc2, 0x62, 0x08, 0x21, 0x06, 0xea, + 0x03, 0x0b, 0x60, 0x0c, 0x09, 0x04, 0x2c, 0x04, 0x08, 0xec, 0x96, 0x73, 0x85, 0x2e, 0x23, 0x3a, + 0x27, 0xe3, 0xc8, 0x54, 0x18, 0x25, 0x8f, 0x60, 0xb7, 0x9d, 0x3e, 0xea, 0xfe, 0x2a, 0x93, 0x24, + 0x89, 0xa3, 0xe1, 0x2c, 0x01, 0x03, 0xfc, 0x1f, 0x7e, 0x59, 0x68, 0xb0, 0x94, 0x5b, 0x7c, 0xfa, + 0x8d, 0xc3, 0x9b, 0x13, 0x97, 0x9f, 0x56, 0x53, 0x9a, 0x5a, 0x2f, 0xc1, 0x8f, 0x43, 0xc8, 0x4d, + 0x56, 0x08, 0x2c, 0x95, 0x70, 0x05, 0x2f, 0xea, 0x19, 0x36, 0xc3, 0xdf, 0xad, 0xf5, 0x5f, 0x7f, + 0x71, 0x6f, 0x96, 0xb7, 0x56, 0x7b, 0x44, 0xc8, 0x7b, 0xab, 0x37, 0x32, 0x32, 0x92, 0x6b, 0x6c, + 0x62, 0x95, 0xe6, 0x1e, 0xae, 0x5b, 0xea, 0xcf, 0x06, 0x48, 0x49, 0xae, 0xd3, 0x23, 0x90, 0xce, + 0xbd, 0xd4, 0x00, 0x8b, 0xb3, 0xba, 0xf1, 0xdd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x51, + 0xca, 0x0c, 0x03, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_error.pb.go new file mode 100644 index 000000000..5924e2412 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_error.pb.go @@ -0,0 +1,202 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/feed_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible feed errors. +type FeedErrorEnum_FeedError int32 + +const ( + // Enum unspecified. + FeedErrorEnum_UNSPECIFIED FeedErrorEnum_FeedError = 0 + // The received error code is not known in this version. + FeedErrorEnum_UNKNOWN FeedErrorEnum_FeedError = 1 + // The names of the FeedAttributes must be unique. + FeedErrorEnum_ATTRIBUTE_NAMES_NOT_UNIQUE FeedErrorEnum_FeedError = 2 + // The attribute list must be an exact copy of the existing list if the + // attribute ID's are present. + FeedErrorEnum_ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES FeedErrorEnum_FeedError = 3 + // Cannot specify USER origin for a system generated feed. + FeedErrorEnum_CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED FeedErrorEnum_FeedError = 4 + // Cannot specify GOOGLE origin for a non-system generated feed. + FeedErrorEnum_CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED FeedErrorEnum_FeedError = 5 + // Cannot specify feed attributes for system feed. + FeedErrorEnum_CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED FeedErrorEnum_FeedError = 6 + // Cannot update FeedAttributes on feed with origin GOOGLE. + FeedErrorEnum_CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE FeedErrorEnum_FeedError = 7 + // The given ID refers to a removed Feed. Removed Feeds are immutable. + FeedErrorEnum_FEED_REMOVED FeedErrorEnum_FeedError = 8 + // The origin of the feed is not valid for the client. + FeedErrorEnum_INVALID_ORIGIN_VALUE FeedErrorEnum_FeedError = 9 + // A user can only create and modify feeds with USER origin. + FeedErrorEnum_FEED_ORIGIN_IS_NOT_USER FeedErrorEnum_FeedError = 10 + // Invalid auth token for the given email. + FeedErrorEnum_INVALID_AUTH_TOKEN_FOR_EMAIL FeedErrorEnum_FeedError = 11 + // Invalid email specified. + FeedErrorEnum_INVALID_EMAIL FeedErrorEnum_FeedError = 12 + // Feed name matches that of another active Feed. + FeedErrorEnum_DUPLICATE_FEED_NAME FeedErrorEnum_FeedError = 13 + // Name of feed is not allowed. + FeedErrorEnum_INVALID_FEED_NAME FeedErrorEnum_FeedError = 14 + // Missing OAuthInfo. + FeedErrorEnum_MISSING_OAUTH_INFO FeedErrorEnum_FeedError = 15 + // New FeedAttributes must not affect the unique key. + FeedErrorEnum_NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY FeedErrorEnum_FeedError = 16 + // Too many FeedAttributes for a Feed. + FeedErrorEnum_TOO_MANY_ATTRIBUTES FeedErrorEnum_FeedError = 17 + // The business account is not valid. + FeedErrorEnum_INVALID_BUSINESS_ACCOUNT FeedErrorEnum_FeedError = 18 + // Business account cannot access Google My Business account. + FeedErrorEnum_BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT FeedErrorEnum_FeedError = 19 + // Invalid chain ID provided for affiliate location feed. + FeedErrorEnum_INVALID_AFFILIATE_CHAIN_ID FeedErrorEnum_FeedError = 20 +) + +var FeedErrorEnum_FeedError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ATTRIBUTE_NAMES_NOT_UNIQUE", + 3: "ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES", + 4: "CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED", + 5: "CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED", + 6: "CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED", + 7: "CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE", + 8: "FEED_REMOVED", + 9: "INVALID_ORIGIN_VALUE", + 10: "FEED_ORIGIN_IS_NOT_USER", + 11: "INVALID_AUTH_TOKEN_FOR_EMAIL", + 12: "INVALID_EMAIL", + 13: "DUPLICATE_FEED_NAME", + 14: "INVALID_FEED_NAME", + 15: "MISSING_OAUTH_INFO", + 16: "NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY", + 17: "TOO_MANY_ATTRIBUTES", + 18: "INVALID_BUSINESS_ACCOUNT", + 19: "BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT", + 20: "INVALID_AFFILIATE_CHAIN_ID", +} +var FeedErrorEnum_FeedError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ATTRIBUTE_NAMES_NOT_UNIQUE": 2, + "ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES": 3, + "CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED": 4, + "CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED": 5, + "CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED": 6, + "CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE": 7, + "FEED_REMOVED": 8, + "INVALID_ORIGIN_VALUE": 9, + "FEED_ORIGIN_IS_NOT_USER": 10, + "INVALID_AUTH_TOKEN_FOR_EMAIL": 11, + "INVALID_EMAIL": 12, + "DUPLICATE_FEED_NAME": 13, + "INVALID_FEED_NAME": 14, + "MISSING_OAUTH_INFO": 15, + "NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY": 16, + "TOO_MANY_ATTRIBUTES": 17, + "INVALID_BUSINESS_ACCOUNT": 18, + "BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT": 19, + "INVALID_AFFILIATE_CHAIN_ID": 20, +} + +func (x FeedErrorEnum_FeedError) String() string { + return proto.EnumName(FeedErrorEnum_FeedError_name, int32(x)) +} +func (FeedErrorEnum_FeedError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_error_f116f5801b32d835, []int{0, 0} +} + +// Container for enum describing possible feed errors. +type FeedErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedErrorEnum) Reset() { *m = FeedErrorEnum{} } +func (m *FeedErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FeedErrorEnum) ProtoMessage() {} +func (*FeedErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_error_f116f5801b32d835, []int{0} +} +func (m *FeedErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedErrorEnum.Unmarshal(m, b) +} +func (m *FeedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FeedErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedErrorEnum.Merge(dst, src) +} +func (m *FeedErrorEnum) XXX_Size() int { + return xxx_messageInfo_FeedErrorEnum.Size(m) +} +func (m *FeedErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedErrorEnum)(nil), "google.ads.googleads.v0.errors.FeedErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FeedErrorEnum_FeedError", FeedErrorEnum_FeedError_name, FeedErrorEnum_FeedError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/feed_error.proto", fileDescriptor_feed_error_f116f5801b32d835) +} + +var fileDescriptor_feed_error_f116f5801b32d835 = []byte{ + // 570 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdd, 0x4e, 0xd4, 0x40, + 0x14, 0xc7, 0x05, 0x04, 0x64, 0xf8, 0x1a, 0x06, 0x14, 0xa2, 0x84, 0x18, 0x2e, 0x35, 0x69, 0x37, + 0xe2, 0x9d, 0x57, 0xb3, 0xed, 0x69, 0x77, 0x42, 0x3b, 0x53, 0x3b, 0x33, 0x8b, 0x6b, 0x36, 0x99, + 0xa0, 0xad, 0x8d, 0x09, 0x50, 0xb2, 0x55, 0x1e, 0xc8, 0x4b, 0x9f, 0xc3, 0x2b, 0xe3, 0x33, 0xf8, + 0x2c, 0x66, 0xfa, 0xc5, 0x0a, 0xd1, 0xab, 0x3d, 0x7b, 0xe6, 0xf7, 0xef, 0x7f, 0xce, 0x39, 0x73, + 0x90, 0x5b, 0x94, 0x65, 0x71, 0x91, 0xbb, 0xe7, 0x59, 0xd5, 0x86, 0x36, 0xba, 0x19, 0xb8, 0xf9, + 0x6c, 0x56, 0xce, 0x2a, 0xf7, 0x53, 0x9e, 0x67, 0xa6, 0x8e, 0x9d, 0xeb, 0x59, 0xf9, 0xa5, 0x24, + 0x47, 0x0d, 0xe5, 0x9c, 0x67, 0x95, 0xd3, 0x0b, 0x9c, 0x9b, 0x81, 0xd3, 0x08, 0x8e, 0x7f, 0x2f, + 0xa3, 0xcd, 0x20, 0xcf, 0x33, 0xb0, 0x7f, 0xe1, 0xea, 0xeb, 0xe5, 0xf1, 0xaf, 0x65, 0xb4, 0xd6, + 0x67, 0xc8, 0x36, 0x5a, 0xd7, 0x5c, 0x26, 0xe0, 0xb1, 0x80, 0x81, 0x8f, 0x1f, 0x90, 0x75, 0xb4, + 0xaa, 0xf9, 0x29, 0x17, 0x67, 0x1c, 0x2f, 0x90, 0x23, 0xf4, 0x94, 0x2a, 0x95, 0xb2, 0xa1, 0x56, + 0x60, 0x38, 0x8d, 0x41, 0x1a, 0x2e, 0x94, 0xd1, 0x9c, 0xbd, 0xd5, 0x80, 0x17, 0x89, 0x8b, 0x5e, + 0xf6, 0xe7, 0xd2, 0xf8, 0xa2, 0x3e, 0x8d, 0xa9, 0xf2, 0x46, 0x06, 0xde, 0x31, 0xa9, 0x18, 0x0f, + 0xcd, 0x2d, 0x80, 0x97, 0x88, 0x83, 0x5e, 0x78, 0x94, 0x5b, 0xaa, 0xf1, 0x9c, 0x18, 0x2d, 0x21, + 0x35, 0x22, 0x65, 0x21, 0xe3, 0x26, 0x10, 0xa9, 0x91, 0x13, 0xa9, 0x20, 0x36, 0x01, 0x80, 0x8f, + 0x1f, 0x92, 0xd7, 0x68, 0x70, 0x87, 0x0f, 0x85, 0x08, 0x23, 0x98, 0x57, 0x70, 0xc1, 0xff, 0x52, + 0x2d, 0x93, 0x57, 0xc8, 0xb9, 0xa3, 0xb2, 0x07, 0x73, 0x37, 0xb9, 0xe7, 0xb4, 0x32, 0xe7, 0xa4, + 0x13, 0x9f, 0x2a, 0xb8, 0x27, 0x39, 0x63, 0x6a, 0xd4, 0xd9, 0x36, 0x97, 0xc0, 0xab, 0x04, 0xa3, + 0x8d, 0x9a, 0x4b, 0x21, 0x16, 0x63, 0xf0, 0xf1, 0x23, 0x72, 0x80, 0xf6, 0x18, 0x1f, 0xd3, 0x88, + 0xf9, 0x1d, 0x3c, 0xa6, 0x91, 0x06, 0xbc, 0x46, 0x9e, 0xa1, 0xfd, 0x9a, 0x6d, 0xd3, 0xac, 0xed, + 0xa5, 0x84, 0x14, 0x23, 0xf2, 0x1c, 0x1d, 0x76, 0x32, 0xaa, 0xd5, 0xc8, 0x28, 0x71, 0x0a, 0x4d, + 0x79, 0x10, 0x53, 0x16, 0xe1, 0x75, 0xb2, 0x83, 0x36, 0x3b, 0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xcd, 0x2a, 0xa7, 0x09, 0x6d, 0x34, 0x1e, 0x38, 0xb5, 0x65, 0xf5, 0xb3, 0x03, 0xa6, 0x34, 0xab, + 0xa6, 0x3d, 0x30, 0x1d, 0x0f, 0xa6, 0x0d, 0xf0, 0x61, 0xa5, 0x36, 0x3e, 0xf9, 0x13, 0x00, 0x00, + 0xff, 0xff, 0x33, 0xfd, 0x24, 0x7d, 0x01, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_item_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_item_error.pb.go new file mode 100644 index 000000000..98bc5b83a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_item_error.pb.go @@ -0,0 +1,153 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/feed_item_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible feed item errors. +type FeedItemErrorEnum_FeedItemError int32 + +const ( + // Enum unspecified. + FeedItemErrorEnum_UNSPECIFIED FeedItemErrorEnum_FeedItemError = 0 + // The received error code is not known in this version. + FeedItemErrorEnum_UNKNOWN FeedItemErrorEnum_FeedItemError = 1 + // Cannot convert the feed attribute value from string to its real type. + FeedItemErrorEnum_CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING FeedItemErrorEnum_FeedItemError = 2 + // Cannot operate on removed feed item. + FeedItemErrorEnum_CANNOT_OPERATE_ON_REMOVED_FEED_ITEM FeedItemErrorEnum_FeedItemError = 3 + // Date time zone does not match the account's time zone. + FeedItemErrorEnum_DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE FeedItemErrorEnum_FeedItemError = 4 + // Feed item with the key attributes could not be found. + FeedItemErrorEnum_KEY_ATTRIBUTES_NOT_FOUND FeedItemErrorEnum_FeedItemError = 5 + // Url feed attribute value is not valid. + FeedItemErrorEnum_INVALID_URL FeedItemErrorEnum_FeedItemError = 6 + // Some key attributes are missing. + FeedItemErrorEnum_MISSING_KEY_ATTRIBUTES FeedItemErrorEnum_FeedItemError = 7 + // Feed item has same key attributes as another feed item. + FeedItemErrorEnum_KEY_ATTRIBUTES_NOT_UNIQUE FeedItemErrorEnum_FeedItemError = 8 + // Cannot modify key attributes on an existing feed item. + FeedItemErrorEnum_CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE FeedItemErrorEnum_FeedItemError = 9 + // The feed attribute value is too large. + FeedItemErrorEnum_SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE FeedItemErrorEnum_FeedItemError = 10 +) + +var FeedItemErrorEnum_FeedItemError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING", + 3: "CANNOT_OPERATE_ON_REMOVED_FEED_ITEM", + 4: "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE", + 5: "KEY_ATTRIBUTES_NOT_FOUND", + 6: "INVALID_URL", + 7: "MISSING_KEY_ATTRIBUTES", + 8: "KEY_ATTRIBUTES_NOT_UNIQUE", + 9: "CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE", + 10: "SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE", +} +var FeedItemErrorEnum_FeedItemError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING": 2, + "CANNOT_OPERATE_ON_REMOVED_FEED_ITEM": 3, + "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE": 4, + "KEY_ATTRIBUTES_NOT_FOUND": 5, + "INVALID_URL": 6, + "MISSING_KEY_ATTRIBUTES": 7, + "KEY_ATTRIBUTES_NOT_UNIQUE": 8, + "CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE": 9, + "SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE": 10, +} + +func (x FeedItemErrorEnum_FeedItemError) String() string { + return proto.EnumName(FeedItemErrorEnum_FeedItemError_name, int32(x)) +} +func (FeedItemErrorEnum_FeedItemError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_item_error_d7f66157bcdcedc7, []int{0, 0} +} + +// Container for enum describing possible feed item errors. +type FeedItemErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedItemErrorEnum) Reset() { *m = FeedItemErrorEnum{} } +func (m *FeedItemErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FeedItemErrorEnum) ProtoMessage() {} +func (*FeedItemErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_error_d7f66157bcdcedc7, []int{0} +} +func (m *FeedItemErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedItemErrorEnum.Unmarshal(m, b) +} +func (m *FeedItemErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedItemErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FeedItemErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedItemErrorEnum.Merge(dst, src) +} +func (m *FeedItemErrorEnum) XXX_Size() int { + return xxx_messageInfo_FeedItemErrorEnum.Size(m) +} +func (m *FeedItemErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedItemErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedItemErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedItemErrorEnum)(nil), "google.ads.googleads.v0.errors.FeedItemErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FeedItemErrorEnum_FeedItemError", FeedItemErrorEnum_FeedItemError_name, FeedItemErrorEnum_FeedItemError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/feed_item_error.proto", fileDescriptor_feed_item_error_d7f66157bcdcedc7) +} + +var fileDescriptor_feed_item_error_d7f66157bcdcedc7 = []byte{ + // 448 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x8a, 0xd3, 0x40, + 0x14, 0xb6, 0xad, 0xee, 0xea, 0x2c, 0xe2, 0x38, 0x17, 0xa2, 0xa2, 0x0b, 0x56, 0xfc, 0x61, 0x91, + 0x49, 0x41, 0xef, 0xbc, 0x9a, 0x26, 0x27, 0x61, 0xd8, 0x64, 0xa6, 0x26, 0x33, 0x91, 0x2d, 0x85, + 0x43, 0x35, 0x31, 0x2c, 0x6c, 0x9b, 0x25, 0xa9, 0xfb, 0x0a, 0xbe, 0x87, 0x97, 0x3e, 0x89, 0xf8, + 0x36, 0xbe, 0x81, 0xa4, 0xd3, 0x56, 0x0a, 0xba, 0x57, 0xf3, 0xf1, 0xcd, 0xf7, 0x9d, 0x6f, 0xce, + 0x9c, 0x43, 0xde, 0x55, 0x75, 0x5d, 0x5d, 0x94, 0xde, 0xbc, 0x68, 0x3d, 0x07, 0x3b, 0x74, 0x35, + 0xf2, 0xca, 0xa6, 0xa9, 0x9b, 0xd6, 0xfb, 0x52, 0x96, 0x05, 0x9e, 0xaf, 0xca, 0x05, 0xae, 0x09, + 0x7e, 0xd9, 0xd4, 0xab, 0x9a, 0x1d, 0x3b, 0x29, 0x9f, 0x17, 0x2d, 0xdf, 0xb9, 0xf8, 0xd5, 0x88, + 0x3b, 0xd7, 0xf0, 0xdb, 0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, 0x19, 0x9e, 0xed, 0x17, + 0x70, 0x1d, 0xd3, 0x3b, 0xec, 0x0d, 0x79, 0x9d, 0xc9, 0x29, 0xa0, 0xd1, 0x1a, 0x63, 0x91, 0x46, + 0x80, 0xa1, 0x4e, 0x31, 0xb1, 0xb1, 0x91, 0x9b, 0x5f, 0xd9, 0x79, 0x28, 0x19, 0xff, 0xec, 0x91, + 0xe1, 0xe7, 0x7a, 0xc1, 0xaf, 0x1f, 0xd8, 0x98, 0xed, 0xcd, 0x65, 0xd2, 0x0d, 0x79, 0xd2, 0x9b, + 0x06, 0x1b, 0x57, 0x55, 0x5f, 0xcc, 0x97, 0x15, 0xaf, 0x9b, 0xca, 0xab, 0xca, 0xe5, 0x7a, 0x05, + 0xb6, 0xcb, 0x72, 0x79, 0xde, 0xfe, 0x6f, 0x77, 0xde, 0xbb, 0xe3, 0x7b, 0x7f, 0x10, 0x09, 0xf1, + 0xa3, 0x7f, 0x1c, 0xb9, 0x62, 0xa2, 0x68, 0xb9, 0x83, 0x1d, 0xca, 0x47, 0x7c, 0x1d, 0xd9, 0xfe, + 0xda, 0x0a, 0x66, 0xa2, 0x68, 0x67, 0x3b, 0xc1, 0x2c, 0x1f, 0xcd, 0x9c, 0xe0, 0xd3, 0xc1, 0x3a, + 0xf8, 0xed, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x06, 0x99, 0xd8, 0xb3, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_mapping_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_mapping_error.pb.go new file mode 100644 index 000000000..691bf1bd9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/feed_mapping_error.pb.go @@ -0,0 +1,191 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/feed_mapping_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible feed item errors. +type FeedMappingErrorEnum_FeedMappingError int32 + +const ( + // Enum unspecified. + FeedMappingErrorEnum_UNSPECIFIED FeedMappingErrorEnum_FeedMappingError = 0 + // The received error code is not known in this version. + FeedMappingErrorEnum_UNKNOWN FeedMappingErrorEnum_FeedMappingError = 1 + // The given placeholder field does not exist. + FeedMappingErrorEnum_INVALID_PLACEHOLDER_FIELD FeedMappingErrorEnum_FeedMappingError = 2 + // The given criterion field does not exist. + FeedMappingErrorEnum_INVALID_CRITERION_FIELD FeedMappingErrorEnum_FeedMappingError = 3 + // The given placeholder type does not exist. + FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE FeedMappingErrorEnum_FeedMappingError = 4 + // The given criterion type does not exist. + FeedMappingErrorEnum_INVALID_CRITERION_TYPE FeedMappingErrorEnum_FeedMappingError = 5 + // A feed mapping must contain at least one attribute field mapping. + FeedMappingErrorEnum_NO_ATTRIBUTE_FIELD_MAPPINGS FeedMappingErrorEnum_FeedMappingError = 7 + // The type of the feed attribute referenced in the attribute field mapping + // must match the type of the placeholder field. + FeedMappingErrorEnum_FEED_ATTRIBUTE_TYPE_MISMATCH FeedMappingErrorEnum_FeedMappingError = 8 + // A feed mapping for a system generated feed cannot be operated on. + FeedMappingErrorEnum_CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED FeedMappingErrorEnum_FeedMappingError = 9 + // Only one feed mapping for a placeholder type is allowed per feed or + // customer (depending on the placeholder type). + FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE FeedMappingErrorEnum_FeedMappingError = 10 + // Only one feed mapping for a criterion type is allowed per customer. + FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE FeedMappingErrorEnum_FeedMappingError = 11 + // Only one feed attribute mapping for a placeholder field is allowed + // (depending on the placeholder type). + FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD FeedMappingErrorEnum_FeedMappingError = 12 + // Only one feed attribute mapping for a criterion field is allowed + // (depending on the criterion type). + FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD FeedMappingErrorEnum_FeedMappingError = 13 + // This feed mapping may not contain any explicit attribute field mappings. + FeedMappingErrorEnum_UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS FeedMappingErrorEnum_FeedMappingError = 14 + // Location placeholder feed mappings can only be created for Places feeds. + FeedMappingErrorEnum_LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS FeedMappingErrorEnum_FeedMappingError = 15 + // Mappings for typed feeds cannot be modified. + FeedMappingErrorEnum_CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED FeedMappingErrorEnum_FeedMappingError = 16 + // The given placeholder type can only be mapped to system generated feeds. + FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED FeedMappingErrorEnum_FeedMappingError = 17 + // The given placeholder type cannot be mapped to a system generated feed + // with the given type. + FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE FeedMappingErrorEnum_FeedMappingError = 18 +) + +var FeedMappingErrorEnum_FeedMappingError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_PLACEHOLDER_FIELD", + 3: "INVALID_CRITERION_FIELD", + 4: "INVALID_PLACEHOLDER_TYPE", + 5: "INVALID_CRITERION_TYPE", + 7: "NO_ATTRIBUTE_FIELD_MAPPINGS", + 8: "FEED_ATTRIBUTE_TYPE_MISMATCH", + 9: "CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED", + 10: "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE", + 11: "MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE", + 12: "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD", + 13: "MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD", + 14: "UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS", + 15: "LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS", + 16: "CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED", + 17: "INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED", + 18: "INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE", +} +var FeedMappingErrorEnum_FeedMappingError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_PLACEHOLDER_FIELD": 2, + "INVALID_CRITERION_FIELD": 3, + "INVALID_PLACEHOLDER_TYPE": 4, + "INVALID_CRITERION_TYPE": 5, + "NO_ATTRIBUTE_FIELD_MAPPINGS": 7, + "FEED_ATTRIBUTE_TYPE_MISMATCH": 8, + "CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED": 9, + "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE": 10, + "MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE": 11, + "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD": 12, + "MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD": 13, + "UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS": 14, + "LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS": 15, + "CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED": 16, + "INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED": 17, + "INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE": 18, +} + +func (x FeedMappingErrorEnum_FeedMappingError) String() string { + return proto.EnumName(FeedMappingErrorEnum_FeedMappingError_name, int32(x)) +} +func (FeedMappingErrorEnum_FeedMappingError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_error_00493e471bdaff0d, []int{0, 0} +} + +// Container for enum describing possible feed item errors. +type FeedMappingErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedMappingErrorEnum) Reset() { *m = FeedMappingErrorEnum{} } +func (m *FeedMappingErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FeedMappingErrorEnum) ProtoMessage() {} +func (*FeedMappingErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_error_00493e471bdaff0d, []int{0} +} +func (m *FeedMappingErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedMappingErrorEnum.Unmarshal(m, b) +} +func (m *FeedMappingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedMappingErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FeedMappingErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedMappingErrorEnum.Merge(dst, src) +} +func (m *FeedMappingErrorEnum) XXX_Size() int { + return xxx_messageInfo_FeedMappingErrorEnum.Size(m) +} +func (m *FeedMappingErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FeedMappingErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedMappingErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v0.errors.FeedMappingErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/feed_mapping_error.proto", fileDescriptor_feed_mapping_error_00493e471bdaff0d) +} + +var fileDescriptor_feed_mapping_error_00493e471bdaff0d = []byte{ + // 518 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6e, 0xd3, 0x30, + 0x14, 0xc6, 0x69, 0x47, 0x19, 0x9c, 0x02, 0x0b, 0x16, 0xff, 0x37, 0x06, 0x2a, 0x7f, 0x06, 0x43, + 0x72, 0x2b, 0x81, 0x18, 0x62, 0x57, 0x6e, 0xe2, 0x74, 0x16, 0x89, 0x6d, 0x25, 0x6e, 0xa1, 0xa8, + 0x92, 0x55, 0x48, 0x88, 0x26, 0xad, 0x4d, 0xd5, 0xc0, 0x1e, 0x88, 0x4b, 0x1e, 0x05, 0x24, 0x5e, + 0x83, 0xd7, 0x40, 0x89, 0xdb, 0xb2, 0x76, 0xed, 0x76, 0xd5, 0x23, 0x9f, 0xef, 0xf7, 0xd9, 0xe7, + 0x6b, 0x0e, 0xec, 0x25, 0x69, 0x9a, 0x1c, 0xc5, 0xf5, 0x7e, 0x94, 0xd5, 0x4d, 0x99, 0x57, 0xc7, + 0x8d, 0x7a, 0x3c, 0x1e, 0xa7, 0xe3, 0xac, 0xfe, 0x35, 0x8e, 0x23, 0x3d, 0xe8, 0x8f, 0x46, 0x87, + 0xc3, 0x44, 0x17, 0x67, 0x78, 0x34, 0x4e, 0xbf, 0xa5, 0x68, 0xdb, 0xa8, 0x71, 0x3f, 0xca, 0xf0, + 0x0c, 0xc4, 0xc7, 0x0d, 0x6c, 0xc0, 0xda, 0xdf, 0x0a, 0xdc, 0x74, 0xe3, 0x38, 0xf2, 0x0d, 0x4b, + 0xf3, 0x53, 0x3a, 0xfc, 0x3e, 0xa8, 0xfd, 0xa9, 0x80, 0xb5, 0xd8, 0x40, 0x1b, 0x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x46, 0x7a, 0x0d, 0xed, 0xc0, 0xe3, 0x36, 0xa7, 0x1f, 0x25, 0xb5, 0xd5, + 0x5c, 0x1e, 0x0b, 0x91, 0x5d, 0x47, 0x18, 0x76, 0x3d, 0x61, 0x13, 0x95, 0xc3, 0x27, 0xef, 0x14, + 0xdc, 0xeb, 0xfe, 0x7f, 0x48, 0x58, 0xa4, 0x10, 0x5a, 0x1b, 0xf9, 0x1b, 0x26, 0x01, 0xfa, 0xc2, + 0x61, 0x6e, 0x77, 0xfe, 0x21, 0xf9, 0x54, 0x93, 0xc4, 0x2c, 0xf4, 0x0e, 0xde, 0xac, 0xfa, 0xa3, + 0x0b, 0x31, 0x17, 0x7c, 0x45, 0xda, 0x37, 0xd0, 0x3e, 0xec, 0x9d, 0xc9, 0x2e, 0xe5, 0x4c, 0xa8, + 0xa8, 0xf9, 0xbb, 0x04, 0xb5, 0x2f, 0xe9, 0x00, 0x9f, 0xbd, 0x10, 0xcd, 0x5b, 0x8b, 0x1f, 0xbd, + 0xcc, 0xf7, 0x48, 0x96, 0x3e, 0x39, 0x13, 0x30, 0x49, 0x8f, 0xfa, 0xc3, 0x04, 0xa7, 0xe3, 0xa4, + 0x9e, 0xc4, 0xc3, 0x62, 0xcb, 0xa6, 0x2b, 0x39, 0x3a, 0xcc, 0x56, 0x6d, 0xe8, 0xbe, 0xf9, 0xf9, + 0x51, 0x5e, 0x6b, 0x11, 0xf2, 0xb3, 0xbc, 0xdd, 0x32, 0x66, 0x24, 0xca, 0xb0, 0x29, 0xf3, 0xaa, + 0xd3, 0xc0, 0xc5, 0x95, 0xd9, 0xaf, 0xa9, 0xa0, 0x47, 0xa2, 0xac, 0x37, 0x13, 0xf4, 0x3a, 0x8d, + 0x9e, 0x11, 0x7c, 0xbe, 0x54, 0x5c, 0xfc, 0xea, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x47, 0x3b, + 0x01, 0x4f, 0x19, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_error.pb.go new file mode 100644 index 000000000..849e0a048 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_error.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/field_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible field errors. +type FieldErrorEnum_FieldError int32 + +const ( + // Enum unspecified. + FieldErrorEnum_UNSPECIFIED FieldErrorEnum_FieldError = 0 + // The received error code is not known in this version. + FieldErrorEnum_UNKNOWN FieldErrorEnum_FieldError = 1 + // The required field was not present in the resource. + FieldErrorEnum_REQUIRED FieldErrorEnum_FieldError = 2 + // The field attempted to be mutated is immutable. + FieldErrorEnum_IMMUTABLE_FIELD FieldErrorEnum_FieldError = 3 + // The field's value is invalid. + FieldErrorEnum_INVALID_VALUE FieldErrorEnum_FieldError = 4 + // The field cannot be set. + FieldErrorEnum_VALUE_MUST_BE_UNSET FieldErrorEnum_FieldError = 5 + // The required repeated field was empty. + FieldErrorEnum_REQUIRED_NONEMPTY_LIST FieldErrorEnum_FieldError = 6 + // The field cannot be cleared. + FieldErrorEnum_FIELD_CANNOT_BE_CLEARED FieldErrorEnum_FieldError = 7 +) + +var FieldErrorEnum_FieldError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "REQUIRED", + 3: "IMMUTABLE_FIELD", + 4: "INVALID_VALUE", + 5: "VALUE_MUST_BE_UNSET", + 6: "REQUIRED_NONEMPTY_LIST", + 7: "FIELD_CANNOT_BE_CLEARED", +} +var FieldErrorEnum_FieldError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "REQUIRED": 2, + "IMMUTABLE_FIELD": 3, + "INVALID_VALUE": 4, + "VALUE_MUST_BE_UNSET": 5, + "REQUIRED_NONEMPTY_LIST": 6, + "FIELD_CANNOT_BE_CLEARED": 7, +} + +func (x FieldErrorEnum_FieldError) String() string { + return proto.EnumName(FieldErrorEnum_FieldError_name, int32(x)) +} +func (FieldErrorEnum_FieldError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_field_error_e825b142d7742744, []int{0, 0} +} + +// Container for enum describing possible field errors. +type FieldErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldErrorEnum) Reset() { *m = FieldErrorEnum{} } +func (m *FieldErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FieldErrorEnum) ProtoMessage() {} +func (*FieldErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_field_error_e825b142d7742744, []int{0} +} +func (m *FieldErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldErrorEnum.Unmarshal(m, b) +} +func (m *FieldErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FieldErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldErrorEnum.Merge(dst, src) +} +func (m *FieldErrorEnum) XXX_Size() int { + return xxx_messageInfo_FieldErrorEnum.Size(m) +} +func (m *FieldErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FieldErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FieldErrorEnum)(nil), "google.ads.googleads.v0.errors.FieldErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FieldErrorEnum_FieldError", FieldErrorEnum_FieldError_name, FieldErrorEnum_FieldError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/field_error.proto", fileDescriptor_field_error_e825b142d7742744) +} + +var fileDescriptor_field_error_e825b142d7742744 = []byte{ + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xea, 0x40, + 0x18, 0x85, 0x6f, 0xe1, 0x5e, 0xb8, 0x19, 0xee, 0x95, 0x3a, 0x24, 0x92, 0x68, 0xc2, 0x82, 0x07, + 0x98, 0x36, 0x71, 0xe9, 0x6a, 0x4a, 0x07, 0x32, 0xb1, 0x1d, 0x2a, 0xed, 0xd4, 0x68, 0x9a, 0x4c, + 0xd0, 0xd6, 0x86, 0x04, 0x18, 0xd2, 0x51, 0x1e, 0xc8, 0xa5, 0x4b, 0xdf, 0x81, 0x8d, 0x4f, 0x65, + 0x3a, 0x23, 0xb0, 0xd2, 0xd5, 0x9c, 0x7f, 0x72, 0xbe, 0xff, 0xe4, 0x3f, 0xc0, 0x2d, 0xa5, 0x2c, + 0x97, 0x85, 0x33, 0xcf, 0x95, 0x63, 0x64, 0xad, 0xb6, 0xae, 0x53, 0x54, 0x95, 0xac, 0x94, 0xf3, + 0xb4, 0x28, 0x96, 0xb9, 0xd0, 0x03, 0xda, 0x54, 0xf2, 0x59, 0xc2, 0x81, 0xb1, 0xa1, 0x79, 0xae, + 0xd0, 0x81, 0x40, 0x5b, 0x17, 0x19, 0x62, 0xb8, 0xb3, 0xc0, 0xc9, 0xb8, 0xa6, 0x48, 0x3d, 0x93, + 0xf5, 0xcb, 0x6a, 0xf8, 0x6e, 0x01, 0x70, 0xfc, 0x82, 0x5d, 0xd0, 0xe1, 0x2c, 0x8e, 0xc8, 0x88, + 0x8e,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xf9, 0x19, 0x00, 0x00, 0xff, 0xff, 0x00, 0x61, 0x58, + 0x18, 0xea, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_mask_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_mask_error.pb.go new file mode 100644 index 000000000..cfaa56e47 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/field_mask_error.pb.go @@ -0,0 +1,127 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/field_mask_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible field mask errors. +type FieldMaskErrorEnum_FieldMaskError int32 + +const ( + // Enum unspecified. + FieldMaskErrorEnum_UNSPECIFIED FieldMaskErrorEnum_FieldMaskError = 0 + // The received error code is not known in this version. + FieldMaskErrorEnum_UNKNOWN FieldMaskErrorEnum_FieldMaskError = 1 + // The field mask must be provided for update operations. + FieldMaskErrorEnum_FIELD_MASK_MISSING FieldMaskErrorEnum_FieldMaskError = 5 + // The field mask must be empty for create and remove operations. + FieldMaskErrorEnum_FIELD_MASK_NOT_ALLOWED FieldMaskErrorEnum_FieldMaskError = 4 + // The field mask contained an invalid field. + FieldMaskErrorEnum_FIELD_NOT_FOUND FieldMaskErrorEnum_FieldMaskError = 2 + // The field mask updated a field with subfields. Fields with subfields may + // be cleared, but not updated. To fix this, the field mask should select + // all the subfields of the invalid field. + FieldMaskErrorEnum_FIELD_HAS_SUBFIELDS FieldMaskErrorEnum_FieldMaskError = 3 +) + +var FieldMaskErrorEnum_FieldMaskError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 5: "FIELD_MASK_MISSING", + 4: "FIELD_MASK_NOT_ALLOWED", + 2: "FIELD_NOT_FOUND", + 3: "FIELD_HAS_SUBFIELDS", +} +var FieldMaskErrorEnum_FieldMaskError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "FIELD_MASK_MISSING": 5, + "FIELD_MASK_NOT_ALLOWED": 4, + "FIELD_NOT_FOUND": 2, + "FIELD_HAS_SUBFIELDS": 3, +} + +func (x FieldMaskErrorEnum_FieldMaskError) String() string { + return proto.EnumName(FieldMaskErrorEnum_FieldMaskError_name, int32(x)) +} +func (FieldMaskErrorEnum_FieldMaskError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_field_mask_error_33f5aadb43a7526c, []int{0, 0} +} + +// Container for enum describing possible field mask errors. +type FieldMaskErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldMaskErrorEnum) Reset() { *m = FieldMaskErrorEnum{} } +func (m *FieldMaskErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FieldMaskErrorEnum) ProtoMessage() {} +func (*FieldMaskErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_field_mask_error_33f5aadb43a7526c, []int{0} +} +func (m *FieldMaskErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldMaskErrorEnum.Unmarshal(m, b) +} +func (m *FieldMaskErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldMaskErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FieldMaskErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldMaskErrorEnum.Merge(dst, src) +} +func (m *FieldMaskErrorEnum) XXX_Size() int { + return xxx_messageInfo_FieldMaskErrorEnum.Size(m) +} +func (m *FieldMaskErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FieldMaskErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldMaskErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FieldMaskErrorEnum)(nil), "google.ads.googleads.v0.errors.FieldMaskErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FieldMaskErrorEnum_FieldMaskError", FieldMaskErrorEnum_FieldMaskError_name, FieldMaskErrorEnum_FieldMaskError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/field_mask_error.proto", fileDescriptor_field_mask_error_33f5aadb43a7526c) +} + +var fileDescriptor_field_mask_error_33f5aadb43a7526c = []byte{ + // 315 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, + 0x1c, 0xc5, 0xbf, 0x6e, 0x9f, 0x0a, 0x19, 0xb8, 0x90, 0xc1, 0x04, 0x2f, 0x76, 0xb1, 0x07, 0x48, + 0x0b, 0xe2, 0x95, 0x57, 0x99, 0x4d, 0x67, 0xd9, 0x96, 0x0e, 0x62, 0x37, 0x90, 0x42, 0xa8, 0xb6, + 0x86, 0xb1, 0xb6, 0x19, 0x8d, 0xee, 0x39, 0x7c, 0x06, 0x6f, 0x04, 0xdf, 0x44, 0x9f, 0x4a, 0xd2, + 0xb8, 0xe1, 0x2e, 0xf4, 0x2a, 0x27, 0xbf, 0x9c, 0x93, 0x7f, 0x72, 0xc0, 0xa5, 0x54, 0x4a, 0x16, + 0xb9, 0x9b, 0x66, 0xda, 0xb5, 0xd2, 0xa8, 0xad, 0xe7, 0xe6, 0x75, 0xad, 0x6a, 0xed, 0x3e, 0xae, + 0xf2, 0x22, 0x13, 0x65, 0xaa, 0xd7, 0xa2, 0x21, 0x78, 0x53, 0xab, 0x27, 0x85, 0x06, 0xd6, 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c, 0xbc, 0xc4, 0x1a, 0xee, 0x8f, 0x9b, 0xc1, 0x17, 0x5f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x95, 0x75, 0xb9, 0x40, 0xd5, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_error.pb.go new file mode 100644 index 000000000..718eec080 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_error.pb.go @@ -0,0 +1,186 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/function_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible function errors. +type FunctionErrorEnum_FunctionError int32 + +const ( + // Enum unspecified. + FunctionErrorEnum_UNSPECIFIED FunctionErrorEnum_FunctionError = 0 + // The received error code is not known in this version. + FunctionErrorEnum_UNKNOWN FunctionErrorEnum_FunctionError = 1 + // The format of the function is not recognized as a supported function + // format. + FunctionErrorEnum_INVALID_FUNCTION_FORMAT FunctionErrorEnum_FunctionError = 2 + // Operand data types do not match. + FunctionErrorEnum_DATA_TYPE_MISMATCH FunctionErrorEnum_FunctionError = 3 + // The operands cannot be used together in a conjunction. + FunctionErrorEnum_INVALID_CONJUNCTION_OPERANDS FunctionErrorEnum_FunctionError = 4 + // Invalid numer of Operands. + FunctionErrorEnum_INVALID_NUMBER_OF_OPERANDS FunctionErrorEnum_FunctionError = 5 + // Operand Type not supported. + FunctionErrorEnum_INVALID_OPERAND_TYPE FunctionErrorEnum_FunctionError = 6 + // Operator not supported. + FunctionErrorEnum_INVALID_OPERATOR FunctionErrorEnum_FunctionError = 7 + // Request context type not supported. + FunctionErrorEnum_INVALID_REQUEST_CONTEXT_TYPE FunctionErrorEnum_FunctionError = 8 + // The matching function is not allowed for call placeholders + FunctionErrorEnum_INVALID_FUNCTION_FOR_CALL_PLACEHOLDER FunctionErrorEnum_FunctionError = 9 + // The matching function is not allowed for the specified placeholder + FunctionErrorEnum_INVALID_FUNCTION_FOR_PLACEHOLDER FunctionErrorEnum_FunctionError = 10 + // Invalid operand. + FunctionErrorEnum_INVALID_OPERAND FunctionErrorEnum_FunctionError = 11 + // Missing value for the constant operand. + FunctionErrorEnum_MISSING_CONSTANT_OPERAND_VALUE FunctionErrorEnum_FunctionError = 12 + // The value of the constant operand is invalid. + FunctionErrorEnum_INVALID_CONSTANT_OPERAND_VALUE FunctionErrorEnum_FunctionError = 13 + // Invalid function nesting. + FunctionErrorEnum_INVALID_NESTING FunctionErrorEnum_FunctionError = 14 + // The Feed ID was different from another Feed ID in the same function. + FunctionErrorEnum_MULTIPLE_FEED_IDS_NOT_SUPPORTED FunctionErrorEnum_FunctionError = 15 + // The matching function is invalid for use with a feed with a fixed schema. + FunctionErrorEnum_INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA FunctionErrorEnum_FunctionError = 16 + // Invalid attribute name. + FunctionErrorEnum_INVALID_ATTRIBUTE_NAME FunctionErrorEnum_FunctionError = 17 +) + +var FunctionErrorEnum_FunctionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_FUNCTION_FORMAT", + 3: "DATA_TYPE_MISMATCH", + 4: "INVALID_CONJUNCTION_OPERANDS", + 5: "INVALID_NUMBER_OF_OPERANDS", + 6: "INVALID_OPERAND_TYPE", + 7: "INVALID_OPERATOR", + 8: "INVALID_REQUEST_CONTEXT_TYPE", + 9: "INVALID_FUNCTION_FOR_CALL_PLACEHOLDER", + 10: "INVALID_FUNCTION_FOR_PLACEHOLDER", + 11: "INVALID_OPERAND", + 12: "MISSING_CONSTANT_OPERAND_VALUE", + 13: "INVALID_CONSTANT_OPERAND_VALUE", + 14: "INVALID_NESTING", + 15: "MULTIPLE_FEED_IDS_NOT_SUPPORTED", + 16: "INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA", + 17: "INVALID_ATTRIBUTE_NAME", +} +var FunctionErrorEnum_FunctionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_FUNCTION_FORMAT": 2, + "DATA_TYPE_MISMATCH": 3, + "INVALID_CONJUNCTION_OPERANDS": 4, + "INVALID_NUMBER_OF_OPERANDS": 5, + "INVALID_OPERAND_TYPE": 6, + "INVALID_OPERATOR": 7, + "INVALID_REQUEST_CONTEXT_TYPE": 8, + "INVALID_FUNCTION_FOR_CALL_PLACEHOLDER": 9, + "INVALID_FUNCTION_FOR_PLACEHOLDER": 10, + "INVALID_OPERAND": 11, + "MISSING_CONSTANT_OPERAND_VALUE": 12, + "INVALID_CONSTANT_OPERAND_VALUE": 13, + "INVALID_NESTING": 14, + "MULTIPLE_FEED_IDS_NOT_SUPPORTED": 15, + "INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA": 16, + "INVALID_ATTRIBUTE_NAME": 17, +} + +func (x FunctionErrorEnum_FunctionError) String() string { + return proto.EnumName(FunctionErrorEnum_FunctionError_name, int32(x)) +} +func (FunctionErrorEnum_FunctionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_function_error_6eac0af30e166d98, []int{0, 0} +} + +// Container for enum describing possible function errors. +type FunctionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FunctionErrorEnum) Reset() { *m = FunctionErrorEnum{} } +func (m *FunctionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FunctionErrorEnum) ProtoMessage() {} +func (*FunctionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_function_error_6eac0af30e166d98, []int{0} +} +func (m *FunctionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FunctionErrorEnum.Unmarshal(m, b) +} +func (m *FunctionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FunctionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FunctionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FunctionErrorEnum.Merge(dst, src) +} +func (m *FunctionErrorEnum) XXX_Size() int { + return xxx_messageInfo_FunctionErrorEnum.Size(m) +} +func (m *FunctionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FunctionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FunctionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FunctionErrorEnum)(nil), "google.ads.googleads.v0.errors.FunctionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FunctionErrorEnum_FunctionError", FunctionErrorEnum_FunctionError_name, FunctionErrorEnum_FunctionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/function_error.proto", fileDescriptor_function_error_6eac0af30e166d98) +} + +var fileDescriptor_function_error_6eac0af30e166d98 = []byte{ + // 502 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, + 0x14, 0x86, 0x69, 0x57, 0x36, 0x38, 0x65, 0xd4, 0x33, 0xd3, 0x40, 0x03, 0x95, 0xa9, 0xc0, 0x05, + 0x42, 0x4a, 0x2a, 0xed, 0x92, 0x2b, 0x37, 0x39, 0x69, 0x0d, 0x89, 0x1d, 0x62, 0xa7, 0x1b, 0xa8, + 0x92, 0x55, 0xd6, 0x12, 0x4d, 0xda, 0x9a, 0xa9, 0xd9, 0xf6, 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 0x2a, 0x49, 0x2f, 0xc6, 0xb3, 0xc4, 0x4a, 0xe7, 0x89, + 0x9d, 0x4c, 0x67, 0x45, 0x78, 0xab, 0x94, 0x5f, 0x9d, 0x67, 0xff, 0x0a, 0xfd, 0xdb, 0xf2, 0xf3, + 0xb5, 0xbe, 0xd5, 0x67, 0xec, 0x5b, 0xbd, 0xdd, 0x2f, 0x0f, 0x63, 0x93, 0xcc, 0x2a, 0xcb, 0xbc, + 0x1a, 0x76, 0xad, 0xc2, 0x32, 0xfb, 0x55, 0x09, 0x46, 0x6c, 0x92, 0x8d, 0x96, 0x82, 0xd1, 0xb0, + 0x3b, 0x2a, 0x05, 0x9f, 0xb7, 0x0b, 0xe3, 0xe3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x0e, + 0xda, 0xaa, 0x6c, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_parsing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_parsing_error.pb.go new file mode 100644 index 000000000..6339389c3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/function_parsing_error.pb.go @@ -0,0 +1,162 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/function_parsing_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible function parsing errors. +type FunctionParsingErrorEnum_FunctionParsingError int32 + +const ( + // Enum unspecified. + FunctionParsingErrorEnum_UNSPECIFIED FunctionParsingErrorEnum_FunctionParsingError = 0 + // The received error code is not known in this version. + FunctionParsingErrorEnum_UNKNOWN FunctionParsingErrorEnum_FunctionParsingError = 1 + // Unexpected end of function string. + FunctionParsingErrorEnum_NO_MORE_INPUT FunctionParsingErrorEnum_FunctionParsingError = 2 + // Could not find an expected character. + FunctionParsingErrorEnum_EXPECTED_CHARACTER FunctionParsingErrorEnum_FunctionParsingError = 3 + // Unexpected separator character. + FunctionParsingErrorEnum_UNEXPECTED_SEPARATOR FunctionParsingErrorEnum_FunctionParsingError = 4 + // Unmatched left bracket or parenthesis. + FunctionParsingErrorEnum_UNMATCHED_LEFT_BRACKET FunctionParsingErrorEnum_FunctionParsingError = 5 + // Unmatched right bracket or parenthesis. + FunctionParsingErrorEnum_UNMATCHED_RIGHT_BRACKET FunctionParsingErrorEnum_FunctionParsingError = 6 + // Functions are nested too deeply. + FunctionParsingErrorEnum_TOO_MANY_NESTED_FUNCTIONS FunctionParsingErrorEnum_FunctionParsingError = 7 + // Missing right-hand-side operand. + FunctionParsingErrorEnum_MISSING_RIGHT_HAND_OPERAND FunctionParsingErrorEnum_FunctionParsingError = 8 + // Invalid operator/function name. + FunctionParsingErrorEnum_INVALID_OPERATOR_NAME FunctionParsingErrorEnum_FunctionParsingError = 9 + // Feed attribute operand's argument is not an integer. + FunctionParsingErrorEnum_FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER FunctionParsingErrorEnum_FunctionParsingError = 10 + // Missing function operands. + FunctionParsingErrorEnum_NO_OPERANDS FunctionParsingErrorEnum_FunctionParsingError = 11 + // Function had too many operands. + FunctionParsingErrorEnum_TOO_MANY_OPERANDS FunctionParsingErrorEnum_FunctionParsingError = 12 +) + +var FunctionParsingErrorEnum_FunctionParsingError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NO_MORE_INPUT", + 3: "EXPECTED_CHARACTER", + 4: "UNEXPECTED_SEPARATOR", + 5: "UNMATCHED_LEFT_BRACKET", + 6: "UNMATCHED_RIGHT_BRACKET", + 7: "TOO_MANY_NESTED_FUNCTIONS", + 8: "MISSING_RIGHT_HAND_OPERAND", + 9: "INVALID_OPERATOR_NAME", + 10: "FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER", + 11: "NO_OPERANDS", + 12: "TOO_MANY_OPERANDS", +} +var FunctionParsingErrorEnum_FunctionParsingError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NO_MORE_INPUT": 2, + "EXPECTED_CHARACTER": 3, + "UNEXPECTED_SEPARATOR": 4, + "UNMATCHED_LEFT_BRACKET": 5, + "UNMATCHED_RIGHT_BRACKET": 6, + "TOO_MANY_NESTED_FUNCTIONS": 7, + "MISSING_RIGHT_HAND_OPERAND": 8, + "INVALID_OPERATOR_NAME": 9, + "FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER": 10, + "NO_OPERANDS": 11, + "TOO_MANY_OPERANDS": 12, +} + +func (x FunctionParsingErrorEnum_FunctionParsingError) String() string { + return proto.EnumName(FunctionParsingErrorEnum_FunctionParsingError_name, int32(x)) +} +func (FunctionParsingErrorEnum_FunctionParsingError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_function_parsing_error_692dba496bc85c78, []int{0, 0} +} + +// Container for enum describing possible function parsing errors. +type FunctionParsingErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FunctionParsingErrorEnum) Reset() { *m = FunctionParsingErrorEnum{} } +func (m *FunctionParsingErrorEnum) String() string { return proto.CompactTextString(m) } +func (*FunctionParsingErrorEnum) ProtoMessage() {} +func (*FunctionParsingErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_function_parsing_error_692dba496bc85c78, []int{0} +} +func (m *FunctionParsingErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FunctionParsingErrorEnum.Unmarshal(m, b) +} +func (m *FunctionParsingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FunctionParsingErrorEnum.Marshal(b, m, deterministic) +} +func (dst *FunctionParsingErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_FunctionParsingErrorEnum.Merge(dst, src) +} +func (m *FunctionParsingErrorEnum) XXX_Size() int { + return xxx_messageInfo_FunctionParsingErrorEnum.Size(m) +} +func (m *FunctionParsingErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_FunctionParsingErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_FunctionParsingErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*FunctionParsingErrorEnum)(nil), "google.ads.googleads.v0.errors.FunctionParsingErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.FunctionParsingErrorEnum_FunctionParsingError", FunctionParsingErrorEnum_FunctionParsingError_name, FunctionParsingErrorEnum_FunctionParsingError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/function_parsing_error.proto", fileDescriptor_function_parsing_error_692dba496bc85c78) +} + +var fileDescriptor_function_parsing_error_692dba496bc85c78 = []byte{ + // 452 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, + 0x10, 0xc6, 0x69, 0x02, 0x2d, 0x6c, 0x40, 0x6c, 0x57, 0x6d, 0x69, 0x8a, 0xc8, 0x21, 0x57, 0xa4, + 0x75, 0x24, 0x8e, 0x3d, 0x6d, 0xec, 0xb1, 0xb3, 0x6a, 0x3d, 0x6b, 0xad, 0xd7, 0xe1, 0x8f, 0x22, + 0xad, 0x42, 0x13, 0xac, 0x48, 0xad, 0x37, 0xb2, 0xdb, 0x3e, 0x00, 0x8f, 0xc2, 0x91, 0x47, 0xe1, + 0xc2, 0x53, 0xf0, 0x1e, 0xc8, 0x71, 0xe2, 0x5e, 0x0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f, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x79, 0x2f, 0x06, 0xfd, + 0xbc, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/geo_target_constant_suggestion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/geo_target_constant_suggestion_error.pb.go new file mode 100644 index 000000000..1d6be46bf --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/geo_target_constant_suggestion_error.pb.go @@ -0,0 +1,129 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/geo_target_constant_suggestion_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible geo target constant suggestion errors. +type GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError int32 + +const ( + // Enum unspecified. + GeoTargetConstantSuggestionErrorEnum_UNSPECIFIED GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 0 + // The received error code is not known in this version. + GeoTargetConstantSuggestionErrorEnum_UNKNOWN GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 1 + // A location name cannot be greater than 300 characters. + GeoTargetConstantSuggestionErrorEnum_LOCATION_NAME_SIZE_LIMIT GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 2 + // At most 25 location names can be specified in a SuggestGeoTargetConstants + // method. + GeoTargetConstantSuggestionErrorEnum_LOCATION_NAME_LIMIT GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 3 + // The country code is invalid. + GeoTargetConstantSuggestionErrorEnum_INVALID_COUNTRY_CODE GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 4 + // Geo target constant resource names or location names must be provided in + // the request. + GeoTargetConstantSuggestionErrorEnum_REQUEST_PARAMETERS_UNSET GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 5 +) + +var GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "LOCATION_NAME_SIZE_LIMIT", + 3: "LOCATION_NAME_LIMIT", + 4: "INVALID_COUNTRY_CODE", + 5: "REQUEST_PARAMETERS_UNSET", +} +var GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "LOCATION_NAME_SIZE_LIMIT": 2, + "LOCATION_NAME_LIMIT": 3, + "INVALID_COUNTRY_CODE": 4, + "REQUEST_PARAMETERS_UNSET": 5, +} + +func (x GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError) String() string { + return proto.EnumName(GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, int32(x)) +} +func (GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_suggestion_error_31080d85d3836c4e, []int{0, 0} +} + +// Container for enum describing possible geo target constant suggestion errors. +type GeoTargetConstantSuggestionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GeoTargetConstantSuggestionErrorEnum) Reset() { *m = GeoTargetConstantSuggestionErrorEnum{} } +func (m *GeoTargetConstantSuggestionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*GeoTargetConstantSuggestionErrorEnum) ProtoMessage() {} +func (*GeoTargetConstantSuggestionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_suggestion_error_31080d85d3836c4e, []int{0} +} +func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Unmarshal(m, b) +} +func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *GeoTargetConstantSuggestionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Merge(dst, src) +} +func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Size() int { + return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Size(m) +} +func (m *GeoTargetConstantSuggestionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*GeoTargetConstantSuggestionErrorEnum)(nil), "google.ads.googleads.v0.errors.GeoTargetConstantSuggestionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError", GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/geo_target_constant_suggestion_error.proto", fileDescriptor_geo_target_constant_suggestion_error_31080d85d3836c4e) +} + +var fileDescriptor_geo_target_constant_suggestion_error_31080d85d3836c4e = []byte{ + // 348 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcd, 0x4a, 0xf3, 0x40, + 0x14, 0x86, 0xbf, 0xb4, 0x9f, 0x0a, 0xd3, 0x85, 0x21, 0x0a, 0x76, 0x21, 0x45, 0x8a, 0x6e, 0x27, + 0x01, 0x97, 0xae, 0xa6, 0xc9, 0x58, 0x06, 0xdb, 0x49, 0xcc, 0x4f, 0xc5, 0x12, 0x18, 0x62, 0x33, + 0x0c, 0x85, 0x36, 0x53, 0x32, 0x69, 0x2f, 0xc8, 0xa5, 0x1b, 0xef, 0xc3, 0x2b, 0x10, 0xbc, 0x19, + 0x49, 0xa6, 0x2d, 0xb8, 0xd0, 0xae, 0xf2, 0xc2, 0x79, 0xf2, 0x1c, 0xe6, 0x3d, 0x80, 0x08, 0x29, + 0xc5, 0x82, 0xdb, 0x59, 0xae, 0x6c, 0x1d, 0xeb, 0xb4, 0x71, 0x6c, 0x5e, 0x96, 0xb2, 0x54, 0xb6, + 0xe0, 0x92, 0x55, 0x59, 0x29, 0x78, 0xc5, 0x66, 0xb2, 0x50, 0x55, 0x56, 0x54, 0x4c, 0xad, 0x85, + 0xe0, 0xaa, 0x9a, 0xcb, 0x82, 0x35, 0x14, 0x5c, 0x95, 0xb2, 0x92, 0x56, 0x4f, 0xff, 0x0f, 0xb3, + 0x5c, 0xc1, 0xbd, 0x0a, 0x6e, 0x1c, 0xa8, 0x55, 0xfd, 0x4f, 0x03, 0x5c, 0x0f, 0xb9, 0x8c, 0x1b, + 0x9b, 0xbb, 0x95, 0x45, 0x7b, 0x17, 0xae, 0x29, 0x5c, 0xac, 0x97, 0xfd, 0x77, 0x03, 0x5c, 0x1d, + 0x02, 0xad, 0x53, 0xd0, 0x49, 0x68, 0x14, 0x60, 0x97, 0xdc, 0x13, 0xec, 0x99, 0xff, 0xac, 0x0e, + 0x38, 0x49, 0xe8, 0x03, 0xf5, 0x9f, 0xa8, 0x69, 0x58, 0x97, 0xa0, 0x3b, 0xf2, 0x5d, 0x14, 0x13, + 0x9f, 0x32, 0x8a, 0xc6, 0x98, 0x45, 0x64, 0x8a, 0xd9, 0x88, 0x8c, 0x49, 0x6c, 0xb6, 0xac, 0x0b, + 0x70, 0xf6, 0x73, 0xaa, 0x07, 0x6d, 0xab, 0x0b, 0xce, 0x09, 0x9d, 0xa0, 0x11, 0xf1, 0x98, 0xeb, + 0x27, 0x34, 0x0e, 0x9f, 0x99, 0xeb, 0x7b, 0xd8, 0xfc, 0x5f, 0x0b, 0x43, 0xfc, 0x98, 0xe0, 0x28, + 0x66, 0x01, 0x0a, 0xd1, 0x18, 0xc7, 0x38, 0x8c, 0x58, 0x42, 0x23, 0x1c, 0x9b, 0x47, 0x83, 0x2f, + 0x03, 0xf4, 0x67, 0x72, 0x09, 0xff, 0x6e, 0x60, 0x70, 0x73, 0xe8, 0x55, 0x41, 0x5d, 0x64, 0x60, + 0x4c, 0xbd, 0xad, 0x48, 0xc8, 0x45, 0x56, 0x08, 0x28, 0x4b, 0x61, 0x0b, 0x5e, 0x34, 0x35, 0xef, + 0xae, 0xb4, 0x9a, 0xab, 0xdf, 0x8e, 0x76, 0xa7, 0x3f, 0xaf, 0xad, 0xf6, 0x10, 0xa1, 0xb7, 0x56, + 0x6f, 0xa8, 0x65, 0x28, 0x57, 0x50, 0xc7, 0x3a, 0x4d, 0x1c, 0xd8, 0xac, 0x54, 0x1f, 0x3b, 0x20, + 0x45, 0xb9, 0x4a, 0xf7, 0x40, 0x3a, 0x71, 0x52, 0x0d, 0xbc, 0x1c, 0x37, 0x8b, 0x6f, 0xbf, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x71, 0xd6, 0x36, 0xfe, 0x2c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/header_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/header_error.pb.go new file mode 100644 index 000000000..9f5989a31 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/header_error.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/header_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible header errors. +type HeaderErrorEnum_HeaderError int32 + +const ( + // Enum unspecified. + HeaderErrorEnum_UNSPECIFIED HeaderErrorEnum_HeaderError = 0 + // The received error code is not known in this version. + HeaderErrorEnum_UNKNOWN HeaderErrorEnum_HeaderError = 1 + // The login customer id could not be validated. + HeaderErrorEnum_INVALID_LOGIN_CUSTOMER_ID HeaderErrorEnum_HeaderError = 3 + // One or more task headers could not be parsed. + HeaderErrorEnum_MALFORMED_TASK_INFO HeaderErrorEnum_HeaderError = 4 +) + +var HeaderErrorEnum_HeaderError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "INVALID_LOGIN_CUSTOMER_ID", + 4: "MALFORMED_TASK_INFO", +} +var HeaderErrorEnum_HeaderError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_LOGIN_CUSTOMER_ID": 3, + "MALFORMED_TASK_INFO": 4, +} + +func (x HeaderErrorEnum_HeaderError) String() string { + return proto.EnumName(HeaderErrorEnum_HeaderError_name, int32(x)) +} +func (HeaderErrorEnum_HeaderError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_header_error_eabd2af5e7269dcb, []int{0, 0} +} + +// Container for enum describing possible header errors. +type HeaderErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HeaderErrorEnum) Reset() { *m = HeaderErrorEnum{} } +func (m *HeaderErrorEnum) String() string { return proto.CompactTextString(m) } +func (*HeaderErrorEnum) ProtoMessage() {} +func (*HeaderErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_header_error_eabd2af5e7269dcb, []int{0} +} +func (m *HeaderErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HeaderErrorEnum.Unmarshal(m, b) +} +func (m *HeaderErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HeaderErrorEnum.Marshal(b, m, deterministic) +} +func (dst *HeaderErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeaderErrorEnum.Merge(dst, src) +} +func (m *HeaderErrorEnum) XXX_Size() int { + return xxx_messageInfo_HeaderErrorEnum.Size(m) +} +func (m *HeaderErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_HeaderErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_HeaderErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*HeaderErrorEnum)(nil), "google.ads.googleads.v0.errors.HeaderErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.HeaderErrorEnum_HeaderError", HeaderErrorEnum_HeaderError_name, HeaderErrorEnum_HeaderError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/header_error.proto", fileDescriptor_header_error_eabd2af5e7269dcb) +} + +var fileDescriptor_header_error_eabd2af5e7269dcb = []byte{ + // 287 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4f, 0x83, 0x30, + 0x18, 0xc6, 0x65, 0x33, 0x9a, 0x94, 0xc3, 0x08, 0x1e, 0x8c, 0x07, 0x77, 0xe0, 0x03, 0x14, 0x8c, + 0x47, 0x4f, 0xdd, 0x28, 0xd8, 0x0c, 0x0a, 0x19, 0x03, 0x13, 0x43, 0xd2, 0xe0, 0x20, 0xd5, 0x64, + 0xa3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 0x21, 0x3d, 0xe8, 0xe7, 0x73, 0x34, 0x0e, 0x11, + 0xfa, 0x1a, 0x4d, 0x43, 0xdd, 0x0c, 0xd5, 0x0a, 0x6a, 0xd9, 0xab, 0xc2, 0x83, 0xc3, 0x48, 0xf5, + 0xb3, 0x37, 0x94, 0xa8, 0x56, 0xe5, 0xc1, 0x50, 0x16, 0x5e, 0xa9, 0x0d, 0x2f, 0x17, 0xc3, 0xe0, + 0xfb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x42, 0x27, 0xed, 0x8b, 0x9c, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/id_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/id_error.pb.go new file mode 100644 index 000000000..4396b878f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/id_error.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/id_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible id errors. +type IdErrorEnum_IdError int32 + +const ( + // Enum unspecified. + IdErrorEnum_UNSPECIFIED IdErrorEnum_IdError = 0 + // The received error code is not known in this version. + IdErrorEnum_UNKNOWN IdErrorEnum_IdError = 1 + // Id not found + IdErrorEnum_NOT_FOUND IdErrorEnum_IdError = 2 +) + +var IdErrorEnum_IdError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NOT_FOUND", +} +var IdErrorEnum_IdError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NOT_FOUND": 2, +} + +func (x IdErrorEnum_IdError) String() string { + return proto.EnumName(IdErrorEnum_IdError_name, int32(x)) +} +func (IdErrorEnum_IdError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_id_error_830ff368cfbe18b8, []int{0, 0} +} + +// Container for enum describing possible id errors. +type IdErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IdErrorEnum) Reset() { *m = IdErrorEnum{} } +func (m *IdErrorEnum) String() string { return proto.CompactTextString(m) } +func (*IdErrorEnum) ProtoMessage() {} +func (*IdErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_id_error_830ff368cfbe18b8, []int{0} +} +func (m *IdErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IdErrorEnum.Unmarshal(m, b) +} +func (m *IdErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IdErrorEnum.Marshal(b, m, deterministic) +} +func (dst *IdErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdErrorEnum.Merge(dst, src) +} +func (m *IdErrorEnum) XXX_Size() int { + return xxx_messageInfo_IdErrorEnum.Size(m) +} +func (m *IdErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_IdErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_IdErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*IdErrorEnum)(nil), "google.ads.googleads.v0.errors.IdErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.IdErrorEnum_IdError", IdErrorEnum_IdError_name, IdErrorEnum_IdError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/id_error.proto", fileDescriptor_id_error_830ff368cfbe18b8) +} + +var fileDescriptor_id_error_830ff368cfbe18b8 = []byte{ + // 241 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xcc, 0x94, 0x78, 0x30, 0x4b, 0xaf, 0xa0, 0x28, 0xbf, 0x24, 0x5f, + 0x48, 0x0e, 0xa2, 0x46, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x5c, 0xaf, 0xcc, 0x40, 0x0f, 0xa2, + 0x5c, 0xc9, 0x95, 0x8b, 0xdb, 0x33, 0xc5, 0x15, 0xc4, 0x76, 0xcd, 0x2b, 0xcd, 0x55, 0x32, 0xe3, + 0x62, 0x87, 0x72, 0x85, 0xf8, 0xb9, 0xb8, 0x43, 0xfd, 0x82, 0x03, 0x5c, 0x9d, 0x3d, 0xdd, 0x3c, + 0x5d, 0x5d, 0x04, 0x18, 0x84, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, 0xfd, 0x04, + 0x18, 0x85, 0x78, 0xb9, 0x38, 0xfd, 0xfc, 0x43, 0xe2, 0xdd, 0xfc, 0x43, 0xfd, 0x5c, 0x04, 0x98, + 0x9c, 0x0e, 0x31, 0x72, 0x29, 0x25, 0xe7, 0xe7, 0xea, 0xe1, 0xb7, 0xcd, 0x89, 0x07, 0x6a, 0x78, + 0x00, 0xc8, 0x6d, 0x01, 0x8c, 0x51, 0x2e, 0x50, 0xf5, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, + 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0x97, 0xc3, 0x3c, 0x57, 0x90, 0x59, 0x8c, 0xcb, + 0xaf, 0xd6, 0x10, 0x6a, 0x11, 0x13, 0xb3, 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x39, 0x77, 0x88, 0x61, + 0x8e, 0x29, 0xc5, 0x7a, 0x10, 0x26, 0x88, 0x15, 0x66, 0xa0, 0x07, 0xb6, 0xb2, 0xf8, 0x14, 0x4c, + 0x41, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x41, 0x4c, 0x98, 0x41, 0x0c, 0x44, 0x41, 0x12, 0x1b, + 0xd8, 0x62, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0b, 0xc3, 0x73, 0x1b, 0x63, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/image_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/image_error.pb.go new file mode 100644 index 000000000..e97f7838d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/image_error.pb.go @@ -0,0 +1,285 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/image_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible image errors. +type ImageErrorEnum_ImageError int32 + +const ( + // Enum unspecified. + ImageErrorEnum_UNSPECIFIED ImageErrorEnum_ImageError = 0 + // The received error code is not known in this version. + ImageErrorEnum_UNKNOWN ImageErrorEnum_ImageError = 1 + // The image is not valid. + ImageErrorEnum_INVALID_IMAGE ImageErrorEnum_ImageError = 2 + // The image could not be stored. + ImageErrorEnum_STORAGE_ERROR ImageErrorEnum_ImageError = 3 + // There was a problem with the request. + ImageErrorEnum_BAD_REQUEST ImageErrorEnum_ImageError = 4 + // The image is not of legal dimensions. + ImageErrorEnum_UNEXPECTED_SIZE ImageErrorEnum_ImageError = 5 + // Animated image are not permitted. + ImageErrorEnum_ANIMATED_NOT_ALLOWED ImageErrorEnum_ImageError = 6 + // Animation is too long. + ImageErrorEnum_ANIMATION_TOO_LONG ImageErrorEnum_ImageError = 7 + // There was an error on the server. + ImageErrorEnum_SERVER_ERROR ImageErrorEnum_ImageError = 8 + // Image cannot be in CMYK color format. + ImageErrorEnum_CMYK_JPEG_NOT_ALLOWED ImageErrorEnum_ImageError = 9 + // Flash images are not permitted. + ImageErrorEnum_FLASH_NOT_ALLOWED ImageErrorEnum_ImageError = 10 + // Flash images must support clickTag. + ImageErrorEnum_FLASH_WITHOUT_CLICKTAG ImageErrorEnum_ImageError = 11 + // A flash error has occurred after fixing the click tag. + ImageErrorEnum_FLASH_ERROR_AFTER_FIXING_CLICK_TAG ImageErrorEnum_ImageError = 12 + // Unacceptable visual effects. + ImageErrorEnum_ANIMATED_VISUAL_EFFECT ImageErrorEnum_ImageError = 13 + // There was a problem with the flash image. + ImageErrorEnum_FLASH_ERROR ImageErrorEnum_ImageError = 14 + // Incorrect image layout. + ImageErrorEnum_LAYOUT_PROBLEM ImageErrorEnum_ImageError = 15 + // There was a problem reading the image file. + ImageErrorEnum_PROBLEM_READING_IMAGE_FILE ImageErrorEnum_ImageError = 16 + // There was an error storing the image. + ImageErrorEnum_ERROR_STORING_IMAGE ImageErrorEnum_ImageError = 17 + // The aspect ratio of the image is not allowed. + ImageErrorEnum_ASPECT_RATIO_NOT_ALLOWED ImageErrorEnum_ImageError = 18 + // Flash cannot have network objects. + ImageErrorEnum_FLASH_HAS_NETWORK_OBJECTS ImageErrorEnum_ImageError = 19 + // Flash cannot have network methods. + ImageErrorEnum_FLASH_HAS_NETWORK_METHODS ImageErrorEnum_ImageError = 20 + // Flash cannot have a Url. + ImageErrorEnum_FLASH_HAS_URL ImageErrorEnum_ImageError = 21 + // Flash cannot use mouse tracking. + ImageErrorEnum_FLASH_HAS_MOUSE_TRACKING ImageErrorEnum_ImageError = 22 + // Flash cannot have a random number. + ImageErrorEnum_FLASH_HAS_RANDOM_NUM ImageErrorEnum_ImageError = 23 + // Ad click target cannot be '_self'. + ImageErrorEnum_FLASH_SELF_TARGETS ImageErrorEnum_ImageError = 24 + // GetUrl method should only use '_blank'. + ImageErrorEnum_FLASH_BAD_GETURL_TARGET ImageErrorEnum_ImageError = 25 + // Flash version is not supported. + ImageErrorEnum_FLASH_VERSION_NOT_SUPPORTED ImageErrorEnum_ImageError = 26 + // Flash movies need to have hard coded click URL or clickTAG + ImageErrorEnum_FLASH_WITHOUT_HARD_CODED_CLICK_URL ImageErrorEnum_ImageError = 27 + // Uploaded flash file is corrupted. + ImageErrorEnum_INVALID_FLASH_FILE ImageErrorEnum_ImageError = 28 + // Uploaded flash file can be parsed, but the click tag can not be fixed + // properly. + ImageErrorEnum_FAILED_TO_FIX_CLICK_TAG_IN_FLASH ImageErrorEnum_ImageError = 29 + // Flash movie accesses network resources + ImageErrorEnum_FLASH_ACCESSES_NETWORK_RESOURCES ImageErrorEnum_ImageError = 30 + // Flash movie attempts to call external javascript code + ImageErrorEnum_FLASH_EXTERNAL_JS_CALL ImageErrorEnum_ImageError = 31 + // Flash movie attempts to call flash system commands + ImageErrorEnum_FLASH_EXTERNAL_FS_CALL ImageErrorEnum_ImageError = 32 + // Image file is too large. + ImageErrorEnum_FILE_TOO_LARGE ImageErrorEnum_ImageError = 33 + // Image data is too large. + ImageErrorEnum_IMAGE_DATA_TOO_LARGE ImageErrorEnum_ImageError = 34 + // Error while processing the image. + ImageErrorEnum_IMAGE_PROCESSING_ERROR ImageErrorEnum_ImageError = 35 + // Image is too small. + ImageErrorEnum_IMAGE_TOO_SMALL ImageErrorEnum_ImageError = 36 + // Input was invalid. + ImageErrorEnum_INVALID_INPUT ImageErrorEnum_ImageError = 37 + // There was a problem reading the image file. + ImageErrorEnum_PROBLEM_READING_FILE ImageErrorEnum_ImageError = 38 +) + +var ImageErrorEnum_ImageError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_IMAGE", + 3: "STORAGE_ERROR", + 4: "BAD_REQUEST", + 5: "UNEXPECTED_SIZE", + 6: "ANIMATED_NOT_ALLOWED", + 7: "ANIMATION_TOO_LONG", + 8: "SERVER_ERROR", + 9: "CMYK_JPEG_NOT_ALLOWED", + 10: "FLASH_NOT_ALLOWED", + 11: "FLASH_WITHOUT_CLICKTAG", + 12: "FLASH_ERROR_AFTER_FIXING_CLICK_TAG", + 13: "ANIMATED_VISUAL_EFFECT", + 14: "FLASH_ERROR", + 15: "LAYOUT_PROBLEM", + 16: "PROBLEM_READING_IMAGE_FILE", + 17: "ERROR_STORING_IMAGE", + 18: "ASPECT_RATIO_NOT_ALLOWED", + 19: "FLASH_HAS_NETWORK_OBJECTS", + 20: "FLASH_HAS_NETWORK_METHODS", + 21: "FLASH_HAS_URL", + 22: "FLASH_HAS_MOUSE_TRACKING", + 23: "FLASH_HAS_RANDOM_NUM", + 24: "FLASH_SELF_TARGETS", + 25: "FLASH_BAD_GETURL_TARGET", + 26: "FLASH_VERSION_NOT_SUPPORTED", + 27: "FLASH_WITHOUT_HARD_CODED_CLICK_URL", + 28: "INVALID_FLASH_FILE", + 29: "FAILED_TO_FIX_CLICK_TAG_IN_FLASH", + 30: "FLASH_ACCESSES_NETWORK_RESOURCES", + 31: "FLASH_EXTERNAL_JS_CALL", + 32: "FLASH_EXTERNAL_FS_CALL", + 33: "FILE_TOO_LARGE", + 34: "IMAGE_DATA_TOO_LARGE", + 35: "IMAGE_PROCESSING_ERROR", + 36: "IMAGE_TOO_SMALL", + 37: "INVALID_INPUT", + 38: "PROBLEM_READING_FILE", +} +var ImageErrorEnum_ImageError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_IMAGE": 2, + "STORAGE_ERROR": 3, + "BAD_REQUEST": 4, + "UNEXPECTED_SIZE": 5, + "ANIMATED_NOT_ALLOWED": 6, + "ANIMATION_TOO_LONG": 7, + "SERVER_ERROR": 8, + "CMYK_JPEG_NOT_ALLOWED": 9, + "FLASH_NOT_ALLOWED": 10, + "FLASH_WITHOUT_CLICKTAG": 11, + "FLASH_ERROR_AFTER_FIXING_CLICK_TAG": 12, + "ANIMATED_VISUAL_EFFECT": 13, + "FLASH_ERROR": 14, + "LAYOUT_PROBLEM": 15, + "PROBLEM_READING_IMAGE_FILE": 16, + "ERROR_STORING_IMAGE": 17, + "ASPECT_RATIO_NOT_ALLOWED": 18, + "FLASH_HAS_NETWORK_OBJECTS": 19, + "FLASH_HAS_NETWORK_METHODS": 20, + "FLASH_HAS_URL": 21, + "FLASH_HAS_MOUSE_TRACKING": 22, + "FLASH_HAS_RANDOM_NUM": 23, + "FLASH_SELF_TARGETS": 24, + "FLASH_BAD_GETURL_TARGET": 25, + "FLASH_VERSION_NOT_SUPPORTED": 26, + "FLASH_WITHOUT_HARD_CODED_CLICK_URL": 27, + "INVALID_FLASH_FILE": 28, + "FAILED_TO_FIX_CLICK_TAG_IN_FLASH": 29, + "FLASH_ACCESSES_NETWORK_RESOURCES": 30, + "FLASH_EXTERNAL_JS_CALL": 31, + "FLASH_EXTERNAL_FS_CALL": 32, + "FILE_TOO_LARGE": 33, + "IMAGE_DATA_TOO_LARGE": 34, + "IMAGE_PROCESSING_ERROR": 35, + "IMAGE_TOO_SMALL": 36, + "INVALID_INPUT": 37, + "PROBLEM_READING_FILE": 38, +} + +func (x ImageErrorEnum_ImageError) String() string { + return proto.EnumName(ImageErrorEnum_ImageError_name, int32(x)) +} +func (ImageErrorEnum_ImageError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_image_error_ebc5093c3fe82b29, []int{0, 0} +} + +// Container for enum describing possible image errors. +type ImageErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImageErrorEnum) Reset() { *m = ImageErrorEnum{} } +func (m *ImageErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ImageErrorEnum) ProtoMessage() {} +func (*ImageErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_image_error_ebc5093c3fe82b29, []int{0} +} +func (m *ImageErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImageErrorEnum.Unmarshal(m, b) +} +func (m *ImageErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImageErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ImageErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImageErrorEnum.Merge(dst, src) +} +func (m *ImageErrorEnum) XXX_Size() int { + return xxx_messageInfo_ImageErrorEnum.Size(m) +} +func (m *ImageErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ImageErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ImageErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ImageErrorEnum)(nil), "google.ads.googleads.v0.errors.ImageErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ImageErrorEnum_ImageError", ImageErrorEnum_ImageError_name, ImageErrorEnum_ImageError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/image_error.proto", fileDescriptor_image_error_ebc5093c3fe82b29) +} + +var fileDescriptor_image_error_ebc5093c3fe82b29 = []byte{ + // 745 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcd, 0x8e, 0xdb, 0x36, + 0x10, 0xee, 0x6e, 0xda, 0x6c, 0xca, 0x4d, 0xd6, 0x5c, 0x6e, 0xf6, 0x3f, 0x71, 0x52, 0x37, 0xcd, + 0x51, 0x36, 0xd0, 0x63, 0x4f, 0xb4, 0x34, 0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xd5, 0xf8, 0x72, + 0xfa, 0x0d, 0xf6, 0x31, 0xa8, 0x9f, 0x70, 0xc7, 0x3f, 0x41, 0x3a, 0xc8, 0x14, 0x90, 0xc2, 0x68, + 0x2c, 0x06, 0x47, 0x21, 0xcc, 0xd5, 0xb7, 0xf8, 0x4f, 0x05, 0x0c, 0x03, 0x6c, 0x8e, 0xf4, 0xaf, + 0x76, 0xfe, 0x4f, 0x55, 0x94, 0x8e, 0x7e, 0x87, 0xec, 0xff, 0x9e, 0xb5, 0xba, 0x1f, 0xaf, 0xfb, + 0x7f, 0xee, 0x91, 0xce, 0xcf, 0xd5, 0x5d, 0xf4, 0xff, 0x3b, 0xa3, 0xdf, 0x6a, 0xb6, 0x43, 0x81, + 0x4b, 0xa6, 0xd8, 0x7b, 0x9b, 0xac, 0x43, 0x16, 0xd5, 0xfb, 0xe9, 0xfd, 0x22, 0xaa, 0x96, 0x8b, + 0xee, 0x62, 0x7e, 0x5f, 0xaf, 0xa0, 0xcd, 0xa2, 0xfa, 0xf0, 0x6e, 0xf5, 0x5f, 0x7b, 0xeb, 0x87, + 0xf0, 0xf9, 0x7d, 0xff, 0x41, 0xc6, 0xf9, 0x1f, 0xfb, 0xed, 0x2c, 0x90, 0xf1, 0xd9, 0x2a, 0x0a, + 0x47, 0x3c, 0x8d, 0x7a, 0x51, 0x9d, 0x72, 0xf5, 0xd7, 0xc6, 0x61, 0xc2, 0x67, 0xab, 0xc9, 0xd6, + 0x61, 0x32, 0xea, 0x4d, 0x82, 0xc3, 0x4f, 0x0f, 0xeb, 0xc4, 0xdf, 0xff, 0x13, 0x00, 0x00, 0xff, + 0xff, 0x7f, 0xbf, 0x42, 0x86, 0x2f, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/internal_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/internal_error.pb.go new file mode 100644 index 000000000..d5b815f5a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/internal_error.pb.go @@ -0,0 +1,122 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/internal_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible internal errors. +type InternalErrorEnum_InternalError int32 + +const ( + // Enum unspecified. + InternalErrorEnum_UNSPECIFIED InternalErrorEnum_InternalError = 0 + // The received error code is not known in this version. + InternalErrorEnum_UNKNOWN InternalErrorEnum_InternalError = 1 + // Google Ads API encountered unexpected internal error. + InternalErrorEnum_INTERNAL_ERROR InternalErrorEnum_InternalError = 2 + // The intended error code doesn't exist in any API version. This will be + // fixed by adding a new error code as soon as possible. + InternalErrorEnum_ERROR_CODE_NOT_PUBLISHED InternalErrorEnum_InternalError = 3 + // Google Ads API encountered an unexpected transient error. The user + // should retry their request in these cases. + InternalErrorEnum_TRANSIENT_ERROR InternalErrorEnum_InternalError = 4 +) + +var InternalErrorEnum_InternalError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INTERNAL_ERROR", + 3: "ERROR_CODE_NOT_PUBLISHED", + 4: "TRANSIENT_ERROR", +} +var InternalErrorEnum_InternalError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INTERNAL_ERROR": 2, + "ERROR_CODE_NOT_PUBLISHED": 3, + "TRANSIENT_ERROR": 4, +} + +func (x InternalErrorEnum_InternalError) String() string { + return proto.EnumName(InternalErrorEnum_InternalError_name, int32(x)) +} +func (InternalErrorEnum_InternalError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_internal_error_e2abdd822d282a61, []int{0, 0} +} + +// Container for enum describing possible internal errors. +type InternalErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InternalErrorEnum) Reset() { *m = InternalErrorEnum{} } +func (m *InternalErrorEnum) String() string { return proto.CompactTextString(m) } +func (*InternalErrorEnum) ProtoMessage() {} +func (*InternalErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_internal_error_e2abdd822d282a61, []int{0} +} +func (m *InternalErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InternalErrorEnum.Unmarshal(m, b) +} +func (m *InternalErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InternalErrorEnum.Marshal(b, m, deterministic) +} +func (dst *InternalErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_InternalErrorEnum.Merge(dst, src) +} +func (m *InternalErrorEnum) XXX_Size() int { + return xxx_messageInfo_InternalErrorEnum.Size(m) +} +func (m *InternalErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_InternalErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_InternalErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*InternalErrorEnum)(nil), "google.ads.googleads.v0.errors.InternalErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.InternalErrorEnum_InternalError", InternalErrorEnum_InternalError_name, InternalErrorEnum_InternalError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/internal_error.proto", fileDescriptor_internal_error_e2abdd822d282a61) +} + +var fileDescriptor_internal_error_e2abdd822d282a61 = []byte{ + // 295 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30, + 0x14, 0x87, 0x6d, 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f7, 0x7e, 0x0c, 0x60, 0xbf, 0x8b, + 0x0d, 0x3a, 0x3d, 0xb2, 0x07, 0x8f, 0x46, 0x0b, 0xbb, 0x6f, 0x86, 0xc6, 0xab, 0x3f, 0x58, 0x5c, + 0xd4, 0x45, 0xc3, 0x91, 0x90, 0xdc, 0xe1, 0x55, 0xd3, 0x2f, 0x61, 0xbf, 0xad, 0xed, 0x5a, 0xfd, + 0xb7, 0xbc, 0x07, 0x7d, 0x7c, 0x99, 0xa3, 0x05, 0xc6, 0xdf, 0xe6, 0x74, 0xa1, 0x1f, 0xc3, 0xa5, + 0x42, 0x1a, 0x3b, 0x5a, 0xb9, 0xa8, 0x6f, 0xa9, 0x7e, 0xf7, 0x81, 0x0c, 0x97, 0x2a, 0x3b, 0x04, + 0xb2, 0x95, 0x9b, 0xe9, 0xc0, 0xdb, 0x45, 0xdf, 0x78, 0xf6, 0x17, 0x00, 0x00, 0xff, 0xff, 0xde, + 0xc7, 0xf6, 0x6e, 0xb4, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_ad_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_ad_group_error.pb.go new file mode 100644 index 000000000..9a573641f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_ad_group_error.pb.go @@ -0,0 +1,119 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/keyword_plan_ad_group_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from applying a keyword plan ad group. +type KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError int32 + +const ( + // Enum unspecified. + KeywordPlanAdGroupErrorEnum_UNSPECIFIED KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 0 + // The received error code is not known in this version. + KeywordPlanAdGroupErrorEnum_UNKNOWN KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 1 + // The keyword plan ad group name is missing, empty, longer than allowed + // limit or contains invalid chars. + KeywordPlanAdGroupErrorEnum_INVALID_NAME KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 2 + // The keyword plan ad group name is duplicate to an existing keyword plan + // AdGroup name or other keyword plan AdGroup name in the request. + KeywordPlanAdGroupErrorEnum_DUPLICATE_NAME KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError = 3 +) + +var KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_NAME", + 3: "DUPLICATE_NAME", +} +var KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_NAME": 2, + "DUPLICATE_NAME": 3, +} + +func (x KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError) String() string { + return proto.EnumName(KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name, int32(x)) +} +func (KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_error_316b3c2b5e41568d, []int{0, 0} +} + +// Container for enum describing possible errors from applying a keyword plan +// ad group. +type KeywordPlanAdGroupErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanAdGroupErrorEnum) Reset() { *m = KeywordPlanAdGroupErrorEnum{} } +func (m *KeywordPlanAdGroupErrorEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanAdGroupErrorEnum) ProtoMessage() {} +func (*KeywordPlanAdGroupErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_error_316b3c2b5e41568d, []int{0} +} +func (m *KeywordPlanAdGroupErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanAdGroupErrorEnum.Unmarshal(m, b) +} +func (m *KeywordPlanAdGroupErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanAdGroupErrorEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanAdGroupErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanAdGroupErrorEnum.Merge(dst, src) +} +func (m *KeywordPlanAdGroupErrorEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanAdGroupErrorEnum.Size(m) +} +func (m *KeywordPlanAdGroupErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanAdGroupErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanAdGroupErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanAdGroupErrorEnum)(nil), "google.ads.googleads.v0.errors.KeywordPlanAdGroupErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError", KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name, KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/keyword_plan_ad_group_error.proto", fileDescriptor_keyword_plan_ad_group_error_316b3c2b5e41568d) +} + +var fileDescriptor_keyword_plan_ad_group_error_316b3c2b5e41568d = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0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, 0xba, 0x48, 0x66, + 0xf4, 0x8e, 0xd9, 0x7f, 0xa3, 0xe9, 0xaf, 0x83, 0xfc, 0x67, 0x58, 0x92, 0xdd, 0x47, 0x4e, 0xcf, + 0x06, 0x6e, 0x48, 0xbb, 0x27, 0xa6, 0xce, 0x43, 0xf4, 0x3f, 0xaf, 0xa0, 0x16, 0x8d, 0x22, 0xa0, + 0x55, 0xa0, 0xaa, 0xa6, 0x2f, 0x60, 0x53, 0x5b, 0xfb, 0x62, 0x86, 0x5a, 0xbc, 0xb0, 0x9f, 0x2f, + 0x77, 0x14, 0x53, 0xfa, 0xed, 0x4e, 0x62, 0x0b, 0xa3, 0xd2, 0x10, 0x2b, 0x3b, 0x95, 0x87, 0xa4, + 0x5f, 0x69, 0x7e, 0x36, 0x81, 0x82, 0x4a, 0x53, 0x6c, 0x03, 0x45, 0x1e, 0x16, 0x36, 0xf0, 0xb4, + 0xdf, 0x2f, 0x3e, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x83, 0x02, 0x58, 0xe4, 0xbd, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_campaign_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_campaign_error.pb.go new file mode 100644 index 000000000..5f959ba02 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_campaign_error.pb.go @@ -0,0 +1,133 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/keyword_plan_campaign_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from applying a keyword plan campaign. +type KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError int32 + +const ( + // Enum unspecified. + KeywordPlanCampaignErrorEnum_UNSPECIFIED KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 0 + // The received error code is not known in this version. + KeywordPlanCampaignErrorEnum_UNKNOWN KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 1 + // A keyword plan campaign name is missing, empty, longer than allowed limit + // or contains invalid chars. + KeywordPlanCampaignErrorEnum_INVALID_NAME KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 2 + // A keyword plan campaign contains one or more untargetable languages. + KeywordPlanCampaignErrorEnum_INVALID_LANGUAGES KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 3 + // A keyword plan campaign contains one or more invalid geo targets. + KeywordPlanCampaignErrorEnum_INVALID_GEOS KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 4 + // The keyword plan campaign name is duplicate to an existing keyword plan + // campaign name or other keyword plan campaign name in the request. + KeywordPlanCampaignErrorEnum_DUPLICATE_NAME KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 5 + // The number of geo targets in the keyword plan campaign exceeds limits. + KeywordPlanCampaignErrorEnum_MAX_GEOS_EXCEEDED KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError = 6 +) + +var KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_NAME", + 3: "INVALID_LANGUAGES", + 4: "INVALID_GEOS", + 5: "DUPLICATE_NAME", + 6: "MAX_GEOS_EXCEEDED", +} +var KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_NAME": 2, + "INVALID_LANGUAGES": 3, + "INVALID_GEOS": 4, + "DUPLICATE_NAME": 5, + "MAX_GEOS_EXCEEDED": 6, +} + +func (x KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError) String() string { + return proto.EnumName(KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_name, int32(x)) +} +func (KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_error_2abe709d47e6a6ba, []int{0, 0} +} + +// Container for enum describing possible errors from applying a keyword plan +// campaign. +type KeywordPlanCampaignErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanCampaignErrorEnum) Reset() { *m = KeywordPlanCampaignErrorEnum{} } +func (m *KeywordPlanCampaignErrorEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanCampaignErrorEnum) ProtoMessage() {} +func (*KeywordPlanCampaignErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_error_2abe709d47e6a6ba, []int{0} +} +func (m *KeywordPlanCampaignErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanCampaignErrorEnum.Unmarshal(m, b) +} +func (m *KeywordPlanCampaignErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanCampaignErrorEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanCampaignErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanCampaignErrorEnum.Merge(dst, src) +} +func (m *KeywordPlanCampaignErrorEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanCampaignErrorEnum.Size(m) +} +func (m *KeywordPlanCampaignErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanCampaignErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanCampaignErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanCampaignErrorEnum)(nil), "google.ads.googleads.v0.errors.KeywordPlanCampaignErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError", KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_name, KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/keyword_plan_campaign_error.proto", fileDescriptor_keyword_plan_campaign_error_2abe709d47e6a6ba) +} + +var fileDescriptor_keyword_plan_campaign_error_2abe709d47e6a6ba = []byte{ + // 328 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xc3, 0x30, + 0x14, 0xc7, 0xed, 0xa6, 0x13, 0x32, 0xd1, 0x18, 0x10, 0x3c, 0xe8, 0x0e, 0xfb, 0x00, 0x69, 0xc1, + 0xa3, 0x17, 0xb3, 0x36, 0x96, 0xb2, 0x2d, 0x2b, 0xcc, 0xce, 0x21, 0x85, 0x12, 0xd7, 0x12, 0x86, + 0x5d, 0x53, 0x12, 0x9d, 0xf8, 0x65, 0x3c, 0x78, 0xf4, 0x4b, 0x78, 0xf7, 0xea, 0x17, 0x92, 0x36, + 0xdb, 0xf0, 0x52, 0x4f, 0xfd, 0xd3, 0xf7, 0x7b, 0xbf, 0xc7, 0x7b, 0x01, 0x37, 0x42, 0x4a, 0x91, + 0x67, 0x36, 0x4f, 0xb5, 0x6d, 0x62, 0x95, 0xd6, 0x8e, 0x9d, 0x29, 0x25, 0x95, 0xb6, 0x9f, 0xb2, + 0xb7, 0x57, 0xa9, 0xd2, 0xa4, 0xcc, 0x79, 0x91, 0x2c, 0xf8, 0xaa, 0xe4, 0x4b, 0x51, 0x24, 0x75, + 0x11, 0x97, 0x4a, 0x3e, 0x4b, 0xd4, 0x33, 0x6d, 0x98, 0xa7, 0x1a, 0xef, 0x0c, 0x78, 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, 0x3c, 0x76, 0xea, 0xc1, 0x57, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x73, 0x6c, 0xa6, 0x10, 0x02, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_error.pb.go new file mode 100644 index 000000000..5260c0a5e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_error.pb.go @@ -0,0 +1,178 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/keyword_plan_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from applying a keyword plan. +type KeywordPlanErrorEnum_KeywordPlanError int32 + +const ( + // Enum unspecified. + KeywordPlanErrorEnum_UNSPECIFIED KeywordPlanErrorEnum_KeywordPlanError = 0 + // The received error code is not known in this version. + KeywordPlanErrorEnum_UNKNOWN KeywordPlanErrorEnum_KeywordPlanError = 1 + // The plan's bid multiplier value is outside the valid range. + KeywordPlanErrorEnum_BID_MULTIPLIER_OUT_OF_RANGE KeywordPlanErrorEnum_KeywordPlanError = 2 + // The plan's bid value is too high. + KeywordPlanErrorEnum_BID_TOO_HIGH KeywordPlanErrorEnum_KeywordPlanError = 3 + // The plan's bid value is too low. + KeywordPlanErrorEnum_BID_TOO_LOW KeywordPlanErrorEnum_KeywordPlanError = 4 + // The plan's cpc bid is not a multiple of the minimum billable unit. + KeywordPlanErrorEnum_BID_TOO_MANY_FRACTIONAL_DIGITS KeywordPlanErrorEnum_KeywordPlanError = 5 + // The plan's daily budget value is too low. + KeywordPlanErrorEnum_DAILY_BUDGET_TOO_LOW KeywordPlanErrorEnum_KeywordPlanError = 6 + // The plan's daily budget is not a multiple of the minimum billable unit. + KeywordPlanErrorEnum_DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS KeywordPlanErrorEnum_KeywordPlanError = 7 + // The input has an invalid value. + KeywordPlanErrorEnum_INVALID_VALUE KeywordPlanErrorEnum_KeywordPlanError = 8 + // The plan has no keyword. + KeywordPlanErrorEnum_KEYWORD_PLAN_HAS_NO_KEYWORDS KeywordPlanErrorEnum_KeywordPlanError = 9 + // The plan is not enabled and API cannot provide mutation, forecast or + // stats. + KeywordPlanErrorEnum_KEYWORD_PLAN_NOT_ENABLED KeywordPlanErrorEnum_KeywordPlanError = 10 + // The requested plan cannot be found for providing forecast or stats. + KeywordPlanErrorEnum_KEYWORD_PLAN_NOT_FOUND KeywordPlanErrorEnum_KeywordPlanError = 11 + // The plan is missing a cpc bid. + KeywordPlanErrorEnum_MISSING_BID KeywordPlanErrorEnum_KeywordPlanError = 13 + // The plan is missing required forecast_period field. + KeywordPlanErrorEnum_MISSING_FORECAST_PERIOD KeywordPlanErrorEnum_KeywordPlanError = 14 + // The plan's forecast_period has invalid forecast date range. + KeywordPlanErrorEnum_INVALID_FORECAST_DATE_RANGE KeywordPlanErrorEnum_KeywordPlanError = 15 + // The plan's name is invalid. + KeywordPlanErrorEnum_INVALID_NAME KeywordPlanErrorEnum_KeywordPlanError = 16 +) + +var KeywordPlanErrorEnum_KeywordPlanError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BID_MULTIPLIER_OUT_OF_RANGE", + 3: "BID_TOO_HIGH", + 4: "BID_TOO_LOW", + 5: "BID_TOO_MANY_FRACTIONAL_DIGITS", + 6: "DAILY_BUDGET_TOO_LOW", + 7: "DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS", + 8: "INVALID_VALUE", + 9: "KEYWORD_PLAN_HAS_NO_KEYWORDS", + 10: "KEYWORD_PLAN_NOT_ENABLED", + 11: "KEYWORD_PLAN_NOT_FOUND", + 13: "MISSING_BID", + 14: "MISSING_FORECAST_PERIOD", + 15: "INVALID_FORECAST_DATE_RANGE", + 16: "INVALID_NAME", +} +var KeywordPlanErrorEnum_KeywordPlanError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BID_MULTIPLIER_OUT_OF_RANGE": 2, + "BID_TOO_HIGH": 3, + "BID_TOO_LOW": 4, + "BID_TOO_MANY_FRACTIONAL_DIGITS": 5, + "DAILY_BUDGET_TOO_LOW": 6, + "DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS": 7, + "INVALID_VALUE": 8, + "KEYWORD_PLAN_HAS_NO_KEYWORDS": 9, + "KEYWORD_PLAN_NOT_ENABLED": 10, + "KEYWORD_PLAN_NOT_FOUND": 11, + "MISSING_BID": 13, + "MISSING_FORECAST_PERIOD": 14, + "INVALID_FORECAST_DATE_RANGE": 15, + "INVALID_NAME": 16, +} + +func (x KeywordPlanErrorEnum_KeywordPlanError) String() string { + return proto.EnumName(KeywordPlanErrorEnum_KeywordPlanError_name, int32(x)) +} +func (KeywordPlanErrorEnum_KeywordPlanError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_error_e0f5dce844afa4cf, []int{0, 0} +} + +// Container for enum describing possible errors from applying a keyword plan +// resource (keyword plan, keyword plan campaign, keyword plan ad group or +// keyword plan keyword) or KeywordPlanService RPC. +type KeywordPlanErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanErrorEnum) Reset() { *m = KeywordPlanErrorEnum{} } +func (m *KeywordPlanErrorEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanErrorEnum) ProtoMessage() {} +func (*KeywordPlanErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_error_e0f5dce844afa4cf, []int{0} +} +func (m *KeywordPlanErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanErrorEnum.Unmarshal(m, b) +} +func (m *KeywordPlanErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanErrorEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanErrorEnum.Merge(dst, src) +} +func (m *KeywordPlanErrorEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanErrorEnum.Size(m) +} +func (m *KeywordPlanErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanErrorEnum)(nil), "google.ads.googleads.v0.errors.KeywordPlanErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.KeywordPlanErrorEnum_KeywordPlanError", KeywordPlanErrorEnum_KeywordPlanError_name, KeywordPlanErrorEnum_KeywordPlanError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/keyword_plan_error.proto", fileDescriptor_keyword_plan_error_e0f5dce844afa4cf) +} + +var fileDescriptor_keyword_plan_error_e0f5dce844afa4cf = []byte{ + // 467 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x6f, 0xd3, 0x30, + 0x18, 0xa6, 0x2d, 0x6c, 0xe0, 0x32, 0x66, 0xac, 0x01, 0x13, 0x9b, 0x0a, 0xea, 0x85, 0x03, 0x52, + 0x5a, 0x89, 0x03, 0x07, 0x4e, 0x4e, 0xed, 0xa4, 0x56, 0x53, 0x3b, 0x4a, 0x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c1, 0x77, 0xf5, 0xe7, 0x47, 0xbb, 0xe3, + 0x53, 0xfa, 0xb3, 0xdd, 0xf3, 0xeb, 0x61, 0x34, 0xab, 0x9c, 0x1a, 0x5a, 0x34, 0x1b, 0x3a, 0xdb, + 0x23, 0xab, 0x3f, 0x8d, 0x61, 0x49, 0xb3, 0x6a, 0xb9, 0x37, 0x2c, 0x67, 0xc3, 0x65, 0x6d, 0xf8, + 0x70, 0xb0, 0x3d, 0xf8, 0xcd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x2f, 0x8e, 0x16, 0xfa, + 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_idea_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_idea_error.pb.go new file mode 100644 index 000000000..304b184e5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_idea_error.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/keyword_plan_idea_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from KeywordPlanIdeaService. +type KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError int32 + +const ( + // Enum unspecified. + KeywordPlanIdeaErrorEnum_UNSPECIFIED KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError = 0 + // The received error code is not known in this version. + KeywordPlanIdeaErrorEnum_UNKNOWN KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError = 1 + // Error when crawling the input URL. + KeywordPlanIdeaErrorEnum_URL_CRAWL_ERROR KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError = 2 + // The input has an invalid value. + KeywordPlanIdeaErrorEnum_INVALID_VALUE KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError = 3 +) + +var KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "URL_CRAWL_ERROR", + 3: "INVALID_VALUE", +} +var KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "URL_CRAWL_ERROR": 2, + "INVALID_VALUE": 3, +} + +func (x KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError) String() string { + return proto.EnumName(KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_name, int32(x)) +} +func (KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_error_c1825bc9235d52d9, []int{0, 0} +} + +// Container for enum describing possible errors from KeywordPlanIdeaService. +type KeywordPlanIdeaErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanIdeaErrorEnum) Reset() { *m = KeywordPlanIdeaErrorEnum{} } +func (m *KeywordPlanIdeaErrorEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanIdeaErrorEnum) ProtoMessage() {} +func (*KeywordPlanIdeaErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_error_c1825bc9235d52d9, []int{0} +} +func (m *KeywordPlanIdeaErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanIdeaErrorEnum.Unmarshal(m, b) +} +func (m *KeywordPlanIdeaErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanIdeaErrorEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanIdeaErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanIdeaErrorEnum.Merge(dst, src) +} +func (m *KeywordPlanIdeaErrorEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanIdeaErrorEnum.Size(m) +} +func (m *KeywordPlanIdeaErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanIdeaErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanIdeaErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanIdeaErrorEnum)(nil), "google.ads.googleads.v0.errors.KeywordPlanIdeaErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError", KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_name, KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/keyword_plan_idea_error.proto", fileDescriptor_keyword_plan_idea_error_c1825bc9235d52d9) +} + +var fileDescriptor_keyword_plan_idea_error_c1825bc9235d52d9 = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, + 0x18, 0xc6, 0x6d, 0x07, 0x0a, 0x19, 0xb2, 0x5a, 0x3d, 0xe8, 0x65, 0x87, 0x7e, 0x80, 0xb4, 0xe0, + 0x51, 0x2f, 0xd9, 0x1a, 0x47, 0x59, 0xe9, 0x4a, 0xa5, 0x1d, 0x48, 0x21, 0x44, 0x13, 0xc2, 0xb0, + 0x4b, 0x4a, 0xa2, 0x53, 0xbf, 0x8e, 0x47, 0x3f, 0x8a, 0x17, 0xbf, 0x92, 0xb4, 0x71, 0x3b, 0xcd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c, 0x33, 0xc4, 0x0c, 0xb4, 0xb2, 0x53, 0x55, 0x04, 0xfb, + 0x91, 0xe6, 0x7b, 0x1b, 0xa8, 0x11, 0x33, 0xf5, 0x2e, 0x50, 0x57, 0x51, 0x6d, 0x03, 0x8f, 0xc7, + 0xfd, 0xe0, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x17, 0x69, 0x77, 0xb2, 0x01, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_keyword_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_keyword_error.pb.go new file mode 100644 index 000000000..53e3caf74 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_keyword_error.pb.go @@ -0,0 +1,138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/keyword_plan_keyword_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from applying a keyword plan keyword. +type KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError int32 + +const ( + // Enum unspecified. + KeywordPlanKeywordErrorEnum_UNSPECIFIED KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 0 + // The received error code is not known in this version. + KeywordPlanKeywordErrorEnum_UNKNOWN KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 1 + // A keyword or negative keyword has invalid match type. + KeywordPlanKeywordErrorEnum_INVALID_KEYWORD_MATCH_TYPE KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 2 + // A keyword or negative keyword with same text and match type already + // exists. + KeywordPlanKeywordErrorEnum_DUPLICATE_KEYWORD KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 3 + // Keyword or negative keyword text exceeds the allowed limit. + KeywordPlanKeywordErrorEnum_KEYWORD_TEXT_TOO_LONG KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 4 + // Keyword or negative keyword text has invalid characters or symbols. + KeywordPlanKeywordErrorEnum_KEYWORD_HAS_INVALID_CHARS KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 5 + // Keyword or negative keyword text has too many words. + KeywordPlanKeywordErrorEnum_KEYWORD_HAS_TOO_MANY_WORDS KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 6 + // Keyword or negative keyword has invalid text. + KeywordPlanKeywordErrorEnum_INVALID_KEYWORD_TEXT KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError = 7 +) + +var KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_KEYWORD_MATCH_TYPE", + 3: "DUPLICATE_KEYWORD", + 4: "KEYWORD_TEXT_TOO_LONG", + 5: "KEYWORD_HAS_INVALID_CHARS", + 6: "KEYWORD_HAS_TOO_MANY_WORDS", + 7: "INVALID_KEYWORD_TEXT", +} +var KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_KEYWORD_MATCH_TYPE": 2, + "DUPLICATE_KEYWORD": 3, + "KEYWORD_TEXT_TOO_LONG": 4, + "KEYWORD_HAS_INVALID_CHARS": 5, + "KEYWORD_HAS_TOO_MANY_WORDS": 6, + "INVALID_KEYWORD_TEXT": 7, +} + +func (x KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError) String() string { + return proto.EnumName(KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_name, int32(x)) +} +func (KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_error_89795332c468dd89, []int{0, 0} +} + +// Container for enum describing possible errors from applying a keyword or a +// negative keyword from a keyword plan. +type KeywordPlanKeywordErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanKeywordErrorEnum) Reset() { *m = KeywordPlanKeywordErrorEnum{} } +func (m *KeywordPlanKeywordErrorEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanKeywordErrorEnum) ProtoMessage() {} +func (*KeywordPlanKeywordErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_error_89795332c468dd89, []int{0} +} +func (m *KeywordPlanKeywordErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanKeywordErrorEnum.Unmarshal(m, b) +} +func (m *KeywordPlanKeywordErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanKeywordErrorEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanKeywordErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanKeywordErrorEnum.Merge(dst, src) +} +func (m *KeywordPlanKeywordErrorEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanKeywordErrorEnum.Size(m) +} +func (m *KeywordPlanKeywordErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanKeywordErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanKeywordErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanKeywordErrorEnum)(nil), "google.ads.googleads.v0.errors.KeywordPlanKeywordErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError", KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_name, KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/keyword_plan_keyword_error.proto", fileDescriptor_keyword_plan_keyword_error_89795332c468dd89) +} + +var fileDescriptor_keyword_plan_keyword_error_89795332c468dd89 = []byte{ + // 358 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdd, 0x4e, 0xea, 0x30, + 0x1c, 0x3f, 0x1b, 0xe7, 0x40, 0x52, 0x2e, 0x4e, 0x6d, 0x24, 0x8a, 0x1f, 0x5c, 0xf0, 0x00, 0xdd, + 0x12, 0x2f, 0xbd, 0x30, 0x65, 0xab, 0xb0, 0x00, 0xdb, 0xc2, 0x06, 0x88, 0x59, 0xd2, 0x4c, 0xb7, + 0x2c, 0xc6, 0xb1, 0x92, 0x4d, 0x31, 0xde, 0xfa, 0x28, 0x5e, 0xfa, 0x28, 0x5e, 0xfa, 0x08, 0x3e, + 0x89, 0xe9, 0xca, 0x88, 0x31, 0xc1, 0xab, 0xfe, 0xda, 0xdf, 0x57, 0xf3, 0xff, 0x83, 0x8b, 0x84, + 0xf3, 0x24, 0x8d, 0xb5, 0x30, 0x2a, 0x34, 0x09, 0x05, 0x5a, 0xeb, 0x5a, 0x9c, 0xe7, 0x3c, 0x2f, + 0xb4, 0xfb, 0xf8, 0xf9, 0x89, 0xe7, 0x11, 0x5b, 0xa5, 0x61, 0xc6, 0xaa, 0x4b, 0xc9, 0xe1, 0x55, + 0xce, 0x1f, 0x38, 0xea, 0x48, 0x17, 0x0e, 0xa3, 0x02, 0x6f, 0x03, 0xf0, 0x5a, 0xc7, 0x32, 0xa0, + 0xfb, 0xa2, 0x82, 0xe3, 0xa1, 0xf4, 0xb9, 0x69, 0x98, 0x6d, 0x20, 0x15, 0x24, 0xcd, 0x1e, 0x97, + 0xdd, 0x4f, 0x05, 0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b, 0x41, 0x40, 0xa2, 0x22, 0xd8, 0x0a, 0x82, + 0x99, 0x1e, 0x48, 0xc1, 0x4d, 0xbd, 0x2c, 0x3e, 0xfb, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x47, 0x8a, + 0x95, 0xb0, 0x43, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_negative_keyword_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_negative_keyword_error.pb.go new file mode 100644 index 000000000..9efd211ce --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/keyword_plan_negative_keyword_error.pb.go @@ -0,0 +1,108 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/keyword_plan_negative_keyword_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from applying a keyword plan negative +// keyword. +type KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError int32 + +const ( + // Enum unspecified. + KeywordPlanNegativeKeywordErrorEnum_UNSPECIFIED KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError = 0 + // The received error code is not known in this version. + KeywordPlanNegativeKeywordErrorEnum_UNKNOWN KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError = 1 +) + +var KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", +} +var KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, +} + +func (x KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError) String() string { + return proto.EnumName(KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_name, int32(x)) +} +func (KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_error_82bc2dba02d6e017, []int{0, 0} +} + +// Container for enum describing possible errors from applying a keyword plan +// negative keyword. +type KeywordPlanNegativeKeywordErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanNegativeKeywordErrorEnum) Reset() { *m = KeywordPlanNegativeKeywordErrorEnum{} } +func (m *KeywordPlanNegativeKeywordErrorEnum) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanNegativeKeywordErrorEnum) ProtoMessage() {} +func (*KeywordPlanNegativeKeywordErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_error_82bc2dba02d6e017, []int{0} +} +func (m *KeywordPlanNegativeKeywordErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.Unmarshal(m, b) +} +func (m *KeywordPlanNegativeKeywordErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanNegativeKeywordErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.Merge(dst, src) +} +func (m *KeywordPlanNegativeKeywordErrorEnum) XXX_Size() int { + return xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.Size(m) +} +func (m *KeywordPlanNegativeKeywordErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*KeywordPlanNegativeKeywordErrorEnum)(nil), "google.ads.googleads.v0.errors.KeywordPlanNegativeKeywordErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError", KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_name, KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/keyword_plan_negative_keyword_error.proto", fileDescriptor_keyword_plan_negative_keyword_error_82bc2dba02d6e017) +} + +var fileDescriptor_keyword_plan_negative_keyword_error_82bc2dba02d6e017 = []byte{ + // 258 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xec, 0xd4, 0xca, 0xf2, 0xfc, 0xa2, 0x94, 0xf8, 0x82, 0x9c, 0xc4, + 0xbc, 0xf8, 0xbc, 0xd4, 0xf4, 0xc4, 0x92, 0xcc, 0xb2, 0xd4, 0x78, 0x98, 0x28, 0x58, 0x91, 0x5e, + 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, 0xbb, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0xdc, 0x24, + 0xbd, 0x32, 0x03, 0x3d, 0x88, 0x49, 0x4a, 0x69, 0x5c, 0xca, 0xde, 0x10, 0x6d, 0x01, 0x39, 0x89, + 0x79, 0x7e, 0x50, 0xa3, 0xa0, 0x42, 0xae, 0x20, 0x35, 0xae, 0x79, 0xa5, 0xb9, 0x4a, 0xf6, 0x5c, + 0xf2, 0x04, 0x94, 0x09, 0xf1, 0x73, 0x71, 0x87, 0xfa, 0x05, 0x07, 0xb8, 0x3a, 0x7b, 0xba, 0x79, + 0xba, 0xba, 0x08, 0x30, 0x08, 0x71, 0x73, 0xb1, 0x87, 0xfa, 0x79, 0xfb, 0xf9, 0x87, 0xfb, 0x09, + 0x30, 0x3a, 0xdd, 0x62, 0xe4, 0x52, 0x4a, 0xce, 0xcf, 0xd5, 0xc3, 0xef, 0x1c, 0x27, 0x15, 0x02, + 0xb6, 0x04, 0x80, 0x3c, 0x15, 0xc0, 0x18, 0xe5, 0x02, 0x35, 0x27, 0x3d, 0x3f, 0x27, 0x31, 0x2f, + 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x65, 0x58, 0x80, 0x15, 0x64, 0x16, + 0xe3, 0x0a, 0x3f, 0x6b, 0x08, 0xb5, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0x9c, 0x3b, + 0xc4, 0x30, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, 0x5b, 0x59, 0x7c, + 0x0a, 0xa6, 0x20, 0xc6, 0x31, 0xa5, 0x38, 0x06, 0xae, 0x20, 0x26, 0xcc, 0x20, 0x06, 0xa2, 0x20, + 0x89, 0x0d, 0x6c, 0xb1, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x21, 0x8a, 0x64, 0xf8, 0xb7, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/list_operation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/list_operation_error.pb.go new file mode 100644 index 000000000..c019b2a93 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/list_operation_error.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/list_operation_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible list operation errors. +type ListOperationErrorEnum_ListOperationError int32 + +const ( + // Enum unspecified. + ListOperationErrorEnum_UNSPECIFIED ListOperationErrorEnum_ListOperationError = 0 + // The received error code is not known in this version. + ListOperationErrorEnum_UNKNOWN ListOperationErrorEnum_ListOperationError = 1 + // Field required in value is missing. + ListOperationErrorEnum_REQUIRED_FIELD_MISSING ListOperationErrorEnum_ListOperationError = 7 + // Duplicate or identical value is sent in multiple list operations. + ListOperationErrorEnum_DUPLICATE_VALUES ListOperationErrorEnum_ListOperationError = 8 +) + +var ListOperationErrorEnum_ListOperationError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 7: "REQUIRED_FIELD_MISSING", + 8: "DUPLICATE_VALUES", +} +var ListOperationErrorEnum_ListOperationError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "REQUIRED_FIELD_MISSING": 7, + "DUPLICATE_VALUES": 8, +} + +func (x ListOperationErrorEnum_ListOperationError) String() string { + return proto.EnumName(ListOperationErrorEnum_ListOperationError_name, int32(x)) +} +func (ListOperationErrorEnum_ListOperationError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_list_operation_error_2f6e3c2f7387aa7b, []int{0, 0} +} + +// Container for enum describing possible list operation errors. +type ListOperationErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListOperationErrorEnum) Reset() { *m = ListOperationErrorEnum{} } +func (m *ListOperationErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ListOperationErrorEnum) ProtoMessage() {} +func (*ListOperationErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_list_operation_error_2f6e3c2f7387aa7b, []int{0} +} +func (m *ListOperationErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListOperationErrorEnum.Unmarshal(m, b) +} +func (m *ListOperationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListOperationErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ListOperationErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOperationErrorEnum.Merge(dst, src) +} +func (m *ListOperationErrorEnum) XXX_Size() int { + return xxx_messageInfo_ListOperationErrorEnum.Size(m) +} +func (m *ListOperationErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ListOperationErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ListOperationErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListOperationErrorEnum)(nil), "google.ads.googleads.v0.errors.ListOperationErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ListOperationErrorEnum_ListOperationError", ListOperationErrorEnum_ListOperationError_name, ListOperationErrorEnum_ListOperationError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/list_operation_error.proto", fileDescriptor_list_operation_error_2f6e3c2f7387aa7b) +} + +var fileDescriptor_list_operation_error_2f6e3c2f7387aa7b = []byte{ + // 294 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xf3, 0x40, + 0x14, 0xc5, 0xbf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0xcb, 0x40, 0xd6, 0x0b, 0xec, 0xc8, + 0xdf, 0x6b, 0x2e, 0x2f, 0x8e, 0x57, 0x09, 0xfb, 0xfb, 0x42, 0xe3, 0xc9, 0xfd, 0x41, 0x05, 0xd4, + 0x79, 0x23, 0x08, 0x48, 0x61, 0x8b, 0xb2, 0x19, 0xae, 0x1f, 0xc3, 0x6a, 0x2b, 0xf5, 0x5b, 0x76, + 0x37, 0xfa, 0x79, 0x9f, 0xfc, 0xf7, 0x28, 0xfd, 0x98, 0x2c, 0x3c, 0xdd, 0x8c, 0x16, 0x8a, 0x68, + 0xd9, 0xab, 0xc4, 0x21, 0xc3, 0x48, 0xf5, 0x39, 0x1a, 0x52, 0x5a, 0xa8, 0xf4, 0x60, 0x48, 0x13, + 0x27, 0xd5, 0x86, 0xe7, 0x93, 0x61, 0xf0, 0xd5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x1d, + 0x71, 0x9f, 0xb3, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_bundle_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_bundle_error.pb.go new file mode 100644 index 000000000..ed2cd1cfb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_bundle_error.pb.go @@ -0,0 +1,215 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/media_bundle_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible media bundle errors. +type MediaBundleErrorEnum_MediaBundleError int32 + +const ( + // Enum unspecified. + MediaBundleErrorEnum_UNSPECIFIED MediaBundleErrorEnum_MediaBundleError = 0 + // The received error code is not known in this version. + MediaBundleErrorEnum_UNKNOWN MediaBundleErrorEnum_MediaBundleError = 1 + // There was a problem with the request. + MediaBundleErrorEnum_BAD_REQUEST MediaBundleErrorEnum_MediaBundleError = 3 + // HTML5 ads using DoubleClick Studio created ZIP files are not supported. + MediaBundleErrorEnum_DOUBLECLICK_BUNDLE_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 4 + // Cannot reference URL external to the media bundle. + MediaBundleErrorEnum_EXTERNAL_URL_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 5 + // Media bundle file is too large. + MediaBundleErrorEnum_FILE_TOO_LARGE MediaBundleErrorEnum_MediaBundleError = 6 + // ZIP file from Google Web Designer is not published. + MediaBundleErrorEnum_GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED MediaBundleErrorEnum_MediaBundleError = 7 + // Input was invalid. + MediaBundleErrorEnum_INVALID_INPUT MediaBundleErrorEnum_MediaBundleError = 8 + // There was a problem with the media bundle. + MediaBundleErrorEnum_INVALID_MEDIA_BUNDLE MediaBundleErrorEnum_MediaBundleError = 9 + // There was a problem with one or more of the media bundle entries. + MediaBundleErrorEnum_INVALID_MEDIA_BUNDLE_ENTRY MediaBundleErrorEnum_MediaBundleError = 10 + // The media bundle contains a file with an unknown mime type + MediaBundleErrorEnum_INVALID_MIME_TYPE MediaBundleErrorEnum_MediaBundleError = 11 + // The media bundle contain an invalid asset path. + MediaBundleErrorEnum_INVALID_PATH MediaBundleErrorEnum_MediaBundleError = 12 + // HTML5 ad is trying to reference an asset not in .ZIP file + MediaBundleErrorEnum_INVALID_URL_REFERENCE MediaBundleErrorEnum_MediaBundleError = 13 + // Media data is too large. + MediaBundleErrorEnum_MEDIA_DATA_TOO_LARGE MediaBundleErrorEnum_MediaBundleError = 14 + // The media bundle contains no primary entry. + MediaBundleErrorEnum_MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY MediaBundleErrorEnum_MediaBundleError = 15 + // There was an error on the server. + MediaBundleErrorEnum_SERVER_ERROR MediaBundleErrorEnum_MediaBundleError = 16 + // The image could not be stored. + MediaBundleErrorEnum_STORAGE_ERROR MediaBundleErrorEnum_MediaBundleError = 17 + // Media bundle created with the Swiffy tool is not allowed. + MediaBundleErrorEnum_SWIFFY_BUNDLE_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 18 + // The media bundle contains too many files. + MediaBundleErrorEnum_TOO_MANY_FILES MediaBundleErrorEnum_MediaBundleError = 19 + // The media bundle is not of legal dimensions. + MediaBundleErrorEnum_UNEXPECTED_SIZE MediaBundleErrorEnum_MediaBundleError = 20 + // Google Web Designer not created for "Google Ads" environment. + MediaBundleErrorEnum_UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT MediaBundleErrorEnum_MediaBundleError = 21 + // Unsupported HTML5 feature in HTML5 asset. + MediaBundleErrorEnum_UNSUPPORTED_HTML5_FEATURE MediaBundleErrorEnum_MediaBundleError = 22 + // URL in HTML5 entry is not ssl compliant. + MediaBundleErrorEnum_URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT MediaBundleErrorEnum_MediaBundleError = 23 + // Custom exits not allowed in HTML5 entry. + MediaBundleErrorEnum_CUSTOM_EXIT_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 24 +) + +var MediaBundleErrorEnum_MediaBundleError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "BAD_REQUEST", + 4: "DOUBLECLICK_BUNDLE_NOT_ALLOWED", + 5: "EXTERNAL_URL_NOT_ALLOWED", + 6: "FILE_TOO_LARGE", + 7: "GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED", + 8: "INVALID_INPUT", + 9: "INVALID_MEDIA_BUNDLE", + 10: "INVALID_MEDIA_BUNDLE_ENTRY", + 11: "INVALID_MIME_TYPE", + 12: "INVALID_PATH", + 13: "INVALID_URL_REFERENCE", + 14: "MEDIA_DATA_TOO_LARGE", + 15: "MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY", + 16: "SERVER_ERROR", + 17: "STORAGE_ERROR", + 18: "SWIFFY_BUNDLE_NOT_ALLOWED", + 19: "TOO_MANY_FILES", + 20: "UNEXPECTED_SIZE", + 21: "UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT", + 22: "UNSUPPORTED_HTML5_FEATURE", + 23: "URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT", + 24: "CUSTOM_EXIT_NOT_ALLOWED", +} +var MediaBundleErrorEnum_MediaBundleError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BAD_REQUEST": 3, + "DOUBLECLICK_BUNDLE_NOT_ALLOWED": 4, + "EXTERNAL_URL_NOT_ALLOWED": 5, + "FILE_TOO_LARGE": 6, + "GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED": 7, + "INVALID_INPUT": 8, + "INVALID_MEDIA_BUNDLE": 9, + "INVALID_MEDIA_BUNDLE_ENTRY": 10, + "INVALID_MIME_TYPE": 11, + "INVALID_PATH": 12, + "INVALID_URL_REFERENCE": 13, + "MEDIA_DATA_TOO_LARGE": 14, + "MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY": 15, + "SERVER_ERROR": 16, + "STORAGE_ERROR": 17, + "SWIFFY_BUNDLE_NOT_ALLOWED": 18, + "TOO_MANY_FILES": 19, + "UNEXPECTED_SIZE": 20, + "UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT": 21, + "UNSUPPORTED_HTML5_FEATURE": 22, + "URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT": 23, + "CUSTOM_EXIT_NOT_ALLOWED": 24, +} + +func (x MediaBundleErrorEnum_MediaBundleError) String() string { + return proto.EnumName(MediaBundleErrorEnum_MediaBundleError_name, int32(x)) +} +func (MediaBundleErrorEnum_MediaBundleError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_media_bundle_error_5156370a3b217af5, []int{0, 0} +} + +// Container for enum describing possible media bundle errors. +type MediaBundleErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaBundleErrorEnum) Reset() { *m = MediaBundleErrorEnum{} } +func (m *MediaBundleErrorEnum) String() string { return proto.CompactTextString(m) } +func (*MediaBundleErrorEnum) ProtoMessage() {} +func (*MediaBundleErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_media_bundle_error_5156370a3b217af5, []int{0} +} +func (m *MediaBundleErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaBundleErrorEnum.Unmarshal(m, b) +} +func (m *MediaBundleErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaBundleErrorEnum.Marshal(b, m, deterministic) +} +func (dst *MediaBundleErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaBundleErrorEnum.Merge(dst, src) +} +func (m *MediaBundleErrorEnum) XXX_Size() int { + return xxx_messageInfo_MediaBundleErrorEnum.Size(m) +} +func (m *MediaBundleErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MediaBundleErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaBundleErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MediaBundleErrorEnum)(nil), "google.ads.googleads.v0.errors.MediaBundleErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.MediaBundleErrorEnum_MediaBundleError", MediaBundleErrorEnum_MediaBundleError_name, MediaBundleErrorEnum_MediaBundleError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/media_bundle_error.proto", fileDescriptor_media_bundle_error_5156370a3b217af5) +} + +var fileDescriptor_media_bundle_error_5156370a3b217af5 = []byte{ + // 599 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdb, 0x4e, 0x1b, 0x31, + 0x10, 0x2d, 0x50, 0xa0, 0x35, 0x37, 0x63, 0x48, 0x81, 0x5e, 0xf2, 0x10, 0xa9, 0x95, 0xda, 0x4a, + 0x9b, 0x48, 0x55, 0xd5, 0x87, 0x3e, 0x79, 0x77, 0x27, 0x8b, 0x85, 0xd7, 0xde, 0xfa, 0x92, 0x10, + 0x14, 0xc9, 0x0a, 0x4d, 0x14, 0x21, 0x41, 0x16, 0x65, 0x0b, 0xbf, 0x53, 0xa9, 0x8f, 0xfd, 0x82, + 0x7e, 0x43, 0xfb, 0x53, 0x95, 0x77, 0x09, 0x02, 0x94, 0xf6, 0xc9, 0xa3, 0x33, 0x73, 0xe6, 0xcc, + 0x1c, 0x79, 0xd0, 0xa7, 0x71, 0x9e, 0x8f, 0xcf, 0x47, 0xcd, 0xc1, 0xb0, 0x68, 0x56, 0xa1, 0x8f, + 0xae, 0x5b, 0xcd, 0xd1, 0x74, 0x9a, 0x4f, 0x8b, 0xe6, 0xc5, 0x68, 0x78, 0x36, 0x70, 0xa7, 0x57, + 0x93, 0xe1, 0xf9, 0xc8, 0x95, 0x58, 0x70, 0x39, 0xcd, 0xbf, 0xe5, 0xa4, 0x5e, 0x55, 0x07, 0x83, + 0x61, 0x11, 0xdc, 0x12, 0x83, 0xeb, 0x56, 0x50, 0x11, 0x1b, 0xbf, 0x96, 0xd1, 0x6e, 0xea, 0xc9, + 0x61, 0xc9, 0x05, 0x8f, 0xc2, 0xe4, 0xea, 0xa2, 0xf1, 0x7d, 0x19, 0xe1, 0x87, 0x09, 0xb2, 0x85, + 0xd6, 0xac, 0xd0, 0x19, 0x44, 0xac, 0xcd, 0x20, 0xc6, 0x8f, 0xc8, 0x1a, 0x5a, 0xb5, 0xe2, 0x48, + 0xc8, 0xae, 0xc0, 0x0b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f, 0xc5, 0xa5, 0x84, 0xd2, 0x9f, 0x8b, 0xf5, 0xa4, 0x6a, 0x46, 0x87, 0x45, 0x50, 0x85, + 0x3e, 0xea, 0xb4, 0x82, 0x52, 0xb2, 0xf8, 0x3d, 0x2b, 0xe8, 0xd3, 0x61, 0xd1, 0xbf, 0x2d, 0xe8, + 0x77, 0x5a, 0xfd, 0xaa, 0xe0, 0x74, 0xa5, 0x14, 0xfe, 0xf0, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6a, + 0xb2, 0xae, 0x49, 0xea, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_file_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_file_error.pb.go new file mode 100644 index 000000000..1d535b5e8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/media_file_error.pb.go @@ -0,0 +1,221 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/media_file_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible media file errors. +type MediaFileErrorEnum_MediaFileError int32 + +const ( + // Enum unspecified. + MediaFileErrorEnum_UNSPECIFIED MediaFileErrorEnum_MediaFileError = 0 + // The received error code is not known in this version. + MediaFileErrorEnum_UNKNOWN MediaFileErrorEnum_MediaFileError = 1 + // Cannot create a standard icon type. + MediaFileErrorEnum_CANNOT_CREATE_STANDARD_ICON MediaFileErrorEnum_MediaFileError = 2 + // May only select Standard Icons alone. + MediaFileErrorEnum_CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES MediaFileErrorEnum_MediaFileError = 3 + // Image contains both a media file ID and data. + MediaFileErrorEnum_CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA MediaFileErrorEnum_MediaFileError = 4 + // A media file with given type and reference ID already exists. + MediaFileErrorEnum_DUPLICATE_MEDIA MediaFileErrorEnum_MediaFileError = 5 + // A required field was not specified or is an empty string. + MediaFileErrorEnum_EMPTY_FIELD MediaFileErrorEnum_MediaFileError = 6 + // A media file may only be modified once per call. + MediaFileErrorEnum_RESOURCE_REFERENCED_IN_MULTIPLE_OPS MediaFileErrorEnum_MediaFileError = 7 + // Field is not supported for the media sub type. + MediaFileErrorEnum_FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE MediaFileErrorEnum_MediaFileError = 8 + // The media file ID is invalid. + MediaFileErrorEnum_INVALID_MEDIA_FILE_ID MediaFileErrorEnum_MediaFileError = 9 + // The media subtype is invalid. + MediaFileErrorEnum_INVALID_MEDIA_SUB_TYPE MediaFileErrorEnum_MediaFileError = 10 + // The media file type is invalid. + MediaFileErrorEnum_INVALID_MEDIA_FILE_TYPE MediaFileErrorEnum_MediaFileError = 11 + // The mimetype is invalid. + MediaFileErrorEnum_INVALID_MIME_TYPE MediaFileErrorEnum_MediaFileError = 12 + // The media reference ID is invalid. + MediaFileErrorEnum_INVALID_REFERENCE_ID MediaFileErrorEnum_MediaFileError = 13 + // The YouTube video ID is invalid. + MediaFileErrorEnum_INVALID_YOU_TUBE_ID MediaFileErrorEnum_MediaFileError = 14 + // Media file has failed transcoding + MediaFileErrorEnum_MEDIA_FILE_FAILED_TRANSCODING MediaFileErrorEnum_MediaFileError = 15 + // Media file has not been transcoded. + MediaFileErrorEnum_MEDIA_NOT_TRANSCODED MediaFileErrorEnum_MediaFileError = 16 + // The media type does not match the actual media file's type. + MediaFileErrorEnum_MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE MediaFileErrorEnum_MediaFileError = 17 + // None of the fields have been specified. + MediaFileErrorEnum_NO_FIELDS_SPECIFIED MediaFileErrorEnum_MediaFileError = 18 + // One of reference ID or media file ID must be specified. + MediaFileErrorEnum_NULL_REFERENCE_ID_AND_MEDIA_ID MediaFileErrorEnum_MediaFileError = 19 + // The string has too many characters. + MediaFileErrorEnum_TOO_LONG MediaFileErrorEnum_MediaFileError = 20 + // The specified type is not supported. + MediaFileErrorEnum_UNSUPPORTED_TYPE MediaFileErrorEnum_MediaFileError = 21 + // YouTube is unavailable for requesting video data. + MediaFileErrorEnum_YOU_TUBE_SERVICE_UNAVAILABLE MediaFileErrorEnum_MediaFileError = 22 + // The YouTube video has a non positive duration. + MediaFileErrorEnum_YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION MediaFileErrorEnum_MediaFileError = 23 + // The YouTube video ID is syntactically valid but the video was not found. + MediaFileErrorEnum_YOU_TUBE_VIDEO_NOT_FOUND MediaFileErrorEnum_MediaFileError = 24 +) + +var MediaFileErrorEnum_MediaFileError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CANNOT_CREATE_STANDARD_ICON", + 3: "CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES", + 4: "CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA", + 5: "DUPLICATE_MEDIA", + 6: "EMPTY_FIELD", + 7: "RESOURCE_REFERENCED_IN_MULTIPLE_OPS", + 8: "FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE", + 9: "INVALID_MEDIA_FILE_ID", + 10: "INVALID_MEDIA_SUB_TYPE", + 11: "INVALID_MEDIA_FILE_TYPE", + 12: "INVALID_MIME_TYPE", + 13: "INVALID_REFERENCE_ID", + 14: "INVALID_YOU_TUBE_ID", + 15: "MEDIA_FILE_FAILED_TRANSCODING", + 16: "MEDIA_NOT_TRANSCODED", + 17: "MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE", + 18: "NO_FIELDS_SPECIFIED", + 19: "NULL_REFERENCE_ID_AND_MEDIA_ID", + 20: "TOO_LONG", + 21: "UNSUPPORTED_TYPE", + 22: "YOU_TUBE_SERVICE_UNAVAILABLE", + 23: "YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION", + 24: "YOU_TUBE_VIDEO_NOT_FOUND", +} +var MediaFileErrorEnum_MediaFileError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_CREATE_STANDARD_ICON": 2, + "CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES": 3, + "CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA": 4, + "DUPLICATE_MEDIA": 5, + "EMPTY_FIELD": 6, + "RESOURCE_REFERENCED_IN_MULTIPLE_OPS": 7, + "FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE": 8, + "INVALID_MEDIA_FILE_ID": 9, + "INVALID_MEDIA_SUB_TYPE": 10, + "INVALID_MEDIA_FILE_TYPE": 11, + "INVALID_MIME_TYPE": 12, + "INVALID_REFERENCE_ID": 13, + "INVALID_YOU_TUBE_ID": 14, + "MEDIA_FILE_FAILED_TRANSCODING": 15, + "MEDIA_NOT_TRANSCODED": 16, + "MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE": 17, + "NO_FIELDS_SPECIFIED": 18, + "NULL_REFERENCE_ID_AND_MEDIA_ID": 19, + "TOO_LONG": 20, + "UNSUPPORTED_TYPE": 21, + "YOU_TUBE_SERVICE_UNAVAILABLE": 22, + "YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION": 23, + "YOU_TUBE_VIDEO_NOT_FOUND": 24, +} + +func (x MediaFileErrorEnum_MediaFileError) String() string { + return proto.EnumName(MediaFileErrorEnum_MediaFileError_name, int32(x)) +} +func (MediaFileErrorEnum_MediaFileError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_media_file_error_84addac25c50f409, []int{0, 0} +} + +// Container for enum describing possible media file errors. +type MediaFileErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaFileErrorEnum) Reset() { *m = MediaFileErrorEnum{} } +func (m *MediaFileErrorEnum) String() string { return proto.CompactTextString(m) } +func (*MediaFileErrorEnum) ProtoMessage() {} +func (*MediaFileErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_error_84addac25c50f409, []int{0} +} +func (m *MediaFileErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaFileErrorEnum.Unmarshal(m, b) +} +func (m *MediaFileErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaFileErrorEnum.Marshal(b, m, deterministic) +} +func (dst *MediaFileErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaFileErrorEnum.Merge(dst, src) +} +func (m *MediaFileErrorEnum) XXX_Size() int { + return xxx_messageInfo_MediaFileErrorEnum.Size(m) +} +func (m *MediaFileErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MediaFileErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaFileErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MediaFileErrorEnum)(nil), "google.ads.googleads.v0.errors.MediaFileErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.MediaFileErrorEnum_MediaFileError", MediaFileErrorEnum_MediaFileError_name, MediaFileErrorEnum_MediaFileError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/media_file_error.proto", fileDescriptor_media_file_error_84addac25c50f409) +} + +var fileDescriptor_media_file_error_84addac25c50f409 = []byte{ + // 632 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6e, 0xd3, 0x4c, + 0x10, 0xfd, 0xda, 0x7e, 0xa4, 0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xce, 0x08, 0x09, 0x84, + 0xe0, 0x9b, 0x45, 0x02, 0x9e, 0x49, 0xd3, 0x44, 0x6d, 0x9a, 0x10, 0xa3, 0xe9, 0x44, 0x90, 0xd0, + 0x15, 0x76, 0x42, 0x1e, 0xcd, 0x15, 0xce, 0xb5, 0x83, 0x2d, 0x10, 0x92, 0x63, 0x20, 0x43, 0x40, + 0x29, 0x90, 0x2b, 0x81, 0x82, 0x1b, 0x4e, 0xff, 0x67, 0x65, 0xb2, 0x25, 0xd2, 0x28, 0x94, 0xbe, + 0x75, 0x76, 0x2c, 0x7a, 0xc3, 0x06, 0x86, 0x56, 0x64, 0x3a, 0x18, 0x48, 0x08, 0x05, 0x2d, 0xb1, + 0x27, 0xe4, 0x61, 0x0c, 0x89, 0x4e, 0x63, 0x1f, 0x30, 0x86, 0x00, 0x62, 0x50, 0x3e, 0x08, 0x94, + 0x0a, 0x5b, 0x69, 0x68, 0x64, 0x14, 0x02, 0xea, 0x28, 0xa1, 0xab, 0xec, 0x19, 0x79, 0xec, 0x34, + 0xe8, 0xcc, 0xd3, 0x28, 0xd2, 0xb1, 0x01, 0x81, 0x81, 0x8e, 0x67, 0x11, 0x92, 0xb4, 0xee, 0x62, + 0xd2, 0x35, 0x76, 0x9b, 0xec, 0x4a, 0xd5, 0xe6, 0xa1, 0x14, 0x8b, 0xf1, 0xe8, 0x4d, 0x76, 0x87, + 0xec, 0x2d, 0x42, 0x85, 0x8c, 0xb0, 0x43, 0xb2, 0xff, 0x07, 0x99, 0x03, 0xd7, 0xd9, 0x2e, 0xd9, + 0x2e, 0x40, 0xd9, 0x9a, 0xb5, 0x37, 0xd8, 0x01, 0xd9, 0x99, 0xb7, 0x8b, 0xf8, 0xd6, 0xe9, 0x16, + 0xdb, 0x27, 0xe5, 0x39, 0xd2, 0xd1, 0x29, 0x9a, 0xb4, 0xee, 0x80, 0x4d, 0xf6, 0x80, 0xdc, 0xfd, + 0x69, 0x7c, 0xc0, 0x65, 0x08, 0x02, 0x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bf, 0x5d, 0xf3, 0xab, + 0xfc, 0xe7, 0xcb, 0xf2, 0x4a, 0x83, 0xf3, 0xaf, 0xcb, 0xc7, 0x8d, 0x7c, 0x18, 0xef, 0x4f, 0xbd, + 0xbc, 0xb4, 0x55, 0xbb, 0xe6, 0x39, 0xcb, 0xe9, 0xf7, 0x39, 0xa1, 0xcb, 0xfb, 0xd3, 0x6e, 0x41, + 0xe8, 0xb6, 0x6b, 0xdd, 0x9c, 0xf0, 0xb6, 0xe4, 0x8c, 0x5f, 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff, + 0x5b, 0x29, 0xd6, 0xd9, 0x45, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/multiplier_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/multiplier_error.pb.go new file mode 100644 index 000000000..2802c3c83 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/multiplier_error.pb.go @@ -0,0 +1,169 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/multiplier_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible multiplier errors. +type MultiplierErrorEnum_MultiplierError int32 + +const ( + // Enum unspecified. + MultiplierErrorEnum_UNSPECIFIED MultiplierErrorEnum_MultiplierError = 0 + // The received error code is not known in this version. + MultiplierErrorEnum_UNKNOWN MultiplierErrorEnum_MultiplierError = 1 + // Multiplier value is too high + MultiplierErrorEnum_MULTIPLIER_TOO_HIGH MultiplierErrorEnum_MultiplierError = 2 + // Multiplier value is too low + MultiplierErrorEnum_MULTIPLIER_TOO_LOW MultiplierErrorEnum_MultiplierError = 3 + // Too many fractional digits + MultiplierErrorEnum_TOO_MANY_FRACTIONAL_DIGITS MultiplierErrorEnum_MultiplierError = 4 + // A multiplier cannot be set for this bidding strategy + MultiplierErrorEnum_MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY MultiplierErrorEnum_MultiplierError = 5 + // A multiplier cannot be set when there is no base bid (e.g., content max + // cpc) + MultiplierErrorEnum_MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING MultiplierErrorEnum_MultiplierError = 6 + // A bid multiplier must be specified + MultiplierErrorEnum_NO_MULTIPLIER_SPECIFIED MultiplierErrorEnum_MultiplierError = 7 + // Multiplier causes bid to exceed daily budget + MultiplierErrorEnum_MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET MultiplierErrorEnum_MultiplierError = 8 + // Multiplier causes bid to exceed monthly budget + MultiplierErrorEnum_MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET MultiplierErrorEnum_MultiplierError = 9 + // Multiplier causes bid to exceed custom budget + MultiplierErrorEnum_MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET MultiplierErrorEnum_MultiplierError = 10 + // Multiplier causes bid to exceed maximum allowed bid + MultiplierErrorEnum_MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID MultiplierErrorEnum_MultiplierError = 11 + // Multiplier causes bid to become less than the minimum bid allowed + MultiplierErrorEnum_BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER MultiplierErrorEnum_MultiplierError = 12 + // Multiplier type (cpc vs. cpm) needs to match campaign's bidding strategy + MultiplierErrorEnum_MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH MultiplierErrorEnum_MultiplierError = 13 +) + +var MultiplierErrorEnum_MultiplierError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "MULTIPLIER_TOO_HIGH", + 3: "MULTIPLIER_TOO_LOW", + 4: "TOO_MANY_FRACTIONAL_DIGITS", + 5: "MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY", + 6: "MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING", + 7: "NO_MULTIPLIER_SPECIFIED", + 8: "MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET", + 9: "MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET", + 10: "MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET", + 11: "MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID", + 12: "BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER", + 13: "MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH", +} +var MultiplierErrorEnum_MultiplierError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "MULTIPLIER_TOO_HIGH": 2, + "MULTIPLIER_TOO_LOW": 3, + "TOO_MANY_FRACTIONAL_DIGITS": 4, + "MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY": 5, + "MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING": 6, + "NO_MULTIPLIER_SPECIFIED": 7, + "MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET": 8, + "MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET": 9, + "MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET": 10, + "MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID": 11, + "BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER": 12, + "MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH": 13, +} + +func (x MultiplierErrorEnum_MultiplierError) String() string { + return proto.EnumName(MultiplierErrorEnum_MultiplierError_name, int32(x)) +} +func (MultiplierErrorEnum_MultiplierError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_multiplier_error_b4af260a1d032c63, []int{0, 0} +} + +// Container for enum describing possible multiplier errors. +type MultiplierErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MultiplierErrorEnum) Reset() { *m = MultiplierErrorEnum{} } +func (m *MultiplierErrorEnum) String() string { return proto.CompactTextString(m) } +func (*MultiplierErrorEnum) ProtoMessage() {} +func (*MultiplierErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_multiplier_error_b4af260a1d032c63, []int{0} +} +func (m *MultiplierErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiplierErrorEnum.Unmarshal(m, b) +} +func (m *MultiplierErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiplierErrorEnum.Marshal(b, m, deterministic) +} +func (dst *MultiplierErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiplierErrorEnum.Merge(dst, src) +} +func (m *MultiplierErrorEnum) XXX_Size() int { + return xxx_messageInfo_MultiplierErrorEnum.Size(m) +} +func (m *MultiplierErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MultiplierErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiplierErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MultiplierErrorEnum)(nil), "google.ads.googleads.v0.errors.MultiplierErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.MultiplierErrorEnum_MultiplierError", MultiplierErrorEnum_MultiplierError_name, MultiplierErrorEnum_MultiplierError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/multiplier_error.proto", fileDescriptor_multiplier_error_b4af260a1d032c63) +} + +var fileDescriptor_multiplier_error_b4af260a1d032c63 = []byte{ + // 481 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1, 0x6e, 0xd3, 0x30, + 0x14, 0x86, 0x59, 0x57, 0x36, 0x70, 0x41, 0xb3, 0x3c, 0xc4, 0x24, 0x90, 0x7a, 0xd1, 0x5b, 0xc0, + 0x29, 0x4c, 0x5c, 0x71, 0xe5, 0xc4, 0x6e, 0x62, 0x91, 0xd8, 0x55, 0xed, 0xac, 0x2b, 0xaa, 0x74, + 0x54, 0x68, 0x15, 0x55, 0x6a, 0x9b, 0x2a, 0xd9, 0xf6, 0x40, 0x5c, 0xf2, 0x02, 0xbc, 0xc3, 0x6e, + 0x78, 0x25, 0x94, 0x84, 0x76, 0x51, 0x60, 0xec, 0x2a, 0x27, 0xc7, 0xff, 0xe7, 0x3f, 0xe7, 0xe8, + 0x0f, 0xfa, 0x98, 0xa4, 0x69, 0xb2, 0x5a, 0x38, 0xb3, 0x79, 0xee, 0x54, 0x65, 0x51, 0xdd, 0xf4, + 0x9d, 0x45, 0x96, 0xa5, 0x59, 0xee, 0xac, 0xaf, 0x57, 0x57, 0xcb, 0xed, 0x6a, 0xb9, 0xc8, 0xa0, + 0xec, 0xd0, 0x6d, 0x96, 0x5e, 0xa5, 0xa4, 0x5b, 0x69, 0xe9, 0x6c, 0x9e, 0xd3, 0x3d, 0x46, 0x6f, + 0xfa, 0xb4, 0xc2, 0x7a, 0xbf, 0xda, 0xe8, 0x34, 0xda, 0xa3, 0xa2, 0x68, 0x8a, 0xcd, 0xf5, 0xba, + 0xf7, 0xb3, 0x8d, 0x4e, 0x1a, 0x7d, 0x72, 0x82, 0x3a, 0xb1, 0x32, 0x43, 0xe1, 0xc9, 0x81, 0x14, + 0x1c, 0x3f, 0x22, 0x1d, 0x74, 0x1c, 0xab, 0xcf, 0x4a, 0x8f, 0x15, 0x3e, 0x20, 0x67, 0xe8, 0x34, + 0x8a, 0x43, 0x2b,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 0x1a, 0x9f, 0xc6, 0x14, 0xff, 0x6b, + 0xef, 0x60, 0x27, 0x43, 0x51, 0xec, 0x33, 0x62, 0xd6, 0x0b, 0xf0, 0x73, 0xf7, 0xf6, 0x00, 0xf5, + 0xbe, 0xa5, 0x6b, 0xfa, 0xff, 0xe0, 0xb9, 0x2f, 0x1a, 0xe9, 0x1a, 0x16, 0x71, 0x1d, 0x1e, 0x7c, + 0xe1, 0x7f, 0xb8, 0x24, 0x5d, 0xcd, 0x36, 0x09, 0x4d, 0xb3, 0xc4, 0x49, 0x16, 0x9b, 0x32, 0xcc, + 0xbb, 0xdc, 0x6f, 0x97, 0xf9, 0x7d, 0xbf, 0xc1, 0xa7, 0xea, 0xf1, 0xbd, 0x75, 0xe8, 0x33, 0xf6, + 0xa3, 0xd5, 0xf5, 0xab, 0xcb, 0xd8, 0x3c, 0xa7, 0x55, 0x59, 0x54, 0x17, 0x7d, 0x5a, 0x5a, 0xe6, + 0xb7, 0x3b, 0xc1, 0x94, 0xcd, 0xf3, 0xe9, 0x5e, 0x30, 0xbd, 0xe8, 0x4f, 0x2b, 0xc1, 0xd7, 0xa3, + 0xd2, 0xf8, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x91, 0xa1, 0x55, 0x16, 0x7e, 0x03, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/mutate_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/mutate_error.pb.go new file mode 100644 index 000000000..d75e3df22 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/mutate_error.pb.go @@ -0,0 +1,127 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/mutate_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible mutate errors. +type MutateErrorEnum_MutateError int32 + +const ( + // Enum unspecified. + MutateErrorEnum_UNSPECIFIED MutateErrorEnum_MutateError = 0 + // The received error code is not known in this version. + MutateErrorEnum_UNKNOWN MutateErrorEnum_MutateError = 1 + // Requested resource was not found. + MutateErrorEnum_RESOURCE_NOT_FOUND MutateErrorEnum_MutateError = 3 + // Cannot mutate the same resource twice in one request. + MutateErrorEnum_ID_EXISTS_IN_MULTIPLE_MUTATES MutateErrorEnum_MutateError = 7 + // The field's contents don't match another field that represents the same + // data. + MutateErrorEnum_INCONSISTENT_FIELD_VALUES MutateErrorEnum_MutateError = 8 + // Mutates are not allowed for the requested resource. + MutateErrorEnum_MUTATE_NOT_ALLOWED MutateErrorEnum_MutateError = 9 +) + +var MutateErrorEnum_MutateError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "RESOURCE_NOT_FOUND", + 7: "ID_EXISTS_IN_MULTIPLE_MUTATES", + 8: "INCONSISTENT_FIELD_VALUES", + 9: "MUTATE_NOT_ALLOWED", +} +var MutateErrorEnum_MutateError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "RESOURCE_NOT_FOUND": 3, + "ID_EXISTS_IN_MULTIPLE_MUTATES": 7, + "INCONSISTENT_FIELD_VALUES": 8, + "MUTATE_NOT_ALLOWED": 9, +} + +func (x MutateErrorEnum_MutateError) String() string { + return proto.EnumName(MutateErrorEnum_MutateError_name, int32(x)) +} +func (MutateErrorEnum_MutateError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_mutate_error_662b71f580e25d75, []int{0, 0} +} + +// Container for enum describing possible mutate errors. +type MutateErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateErrorEnum) Reset() { *m = MutateErrorEnum{} } +func (m *MutateErrorEnum) String() string { return proto.CompactTextString(m) } +func (*MutateErrorEnum) ProtoMessage() {} +func (*MutateErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_mutate_error_662b71f580e25d75, []int{0} +} +func (m *MutateErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateErrorEnum.Unmarshal(m, b) +} +func (m *MutateErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateErrorEnum.Marshal(b, m, deterministic) +} +func (dst *MutateErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateErrorEnum.Merge(dst, src) +} +func (m *MutateErrorEnum) XXX_Size() int { + return xxx_messageInfo_MutateErrorEnum.Size(m) +} +func (m *MutateErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_MutateErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MutateErrorEnum)(nil), "google.ads.googleads.v0.errors.MutateErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.MutateErrorEnum_MutateError", MutateErrorEnum_MutateError_name, MutateErrorEnum_MutateError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/mutate_error.proto", fileDescriptor_mutate_error_662b71f580e25d75) +} + +var fileDescriptor_mutate_error_662b71f580e25d75 = []byte{ + // 329 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x6e, 0xea, 0x30, + 0x18, 0x85, 0x6f, 0x40, 0xba, 0xdc, 0x6b, 0x06, 0x2c, 0x0f, 0x95, 0x3a, 0x80, 0x54, 0x1e, 0xc0, + 0x49, 0xd5, 0xb1, 0x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 0x48, 0xa4, 0xa8, 0x80, 0xff, 0xea, + 0x64, 0xc7, 0x36, 0xb9, 0x24, 0x8a, 0xe2, 0x25, 0x0d, 0xe1, 0xff, 0xd1, 0x87, 0x07, 0x86, 0x4f, + 0x66, 0x8d, 0x7f, 0x3f, 0x6d, 0x04, 0xcf, 0x6e, 0x48, 0xea, 0x32, 0x12, 0xef, 0x21, 0xfc, 0xf6, + 0x94, 0x66, 0x95, 0x6d, 0x4a, 0x6c, 0xaa, 0xd2, 0x2f, 0x8b, 0x4d, 0x53, 0xd5, 0xb1, 0xd1, 0xed, + 0xb3, 0xfd, 0xa9, 0xe0, 0x5b, 0xf7, 0xbc, 0xb6, 0xda, 0x53, 0x42, 0xde, 0x5a, 0x83, 0xa9, 0x0b, + 0x23, 0xb9, 0xc5, 0x4e, 0xd6, 0x6a, 0x11, 0xe0, 0x66, 0xa5, 0xfd, 0x3c, 0x02, 0x29, 0xc9, 0x6d, + 0x7a, 0x02, 0xd2, 0x45, 0x90, 0x3a, 0xe0, 0xf1, 0x6f, 0xb3, 0xf8, 0xe6, 0x2b, 0x00, 0x00, 0xff, + 0xff, 0x79, 0xae, 0x21, 0x09, 0xd8, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/new_resource_creation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/new_resource_creation_error.pb.go new file mode 100644 index 000000000..4da2a4516 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/new_resource_creation_error.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/new_resource_creation_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible new resource creation errors. +type NewResourceCreationErrorEnum_NewResourceCreationError int32 + +const ( + // Enum unspecified. + NewResourceCreationErrorEnum_UNSPECIFIED NewResourceCreationErrorEnum_NewResourceCreationError = 0 + // The received error code is not known in this version. + NewResourceCreationErrorEnum_UNKNOWN NewResourceCreationErrorEnum_NewResourceCreationError = 1 + // Do not set the id field while creating new resources. + NewResourceCreationErrorEnum_CANNOT_SET_ID_FOR_CREATE NewResourceCreationErrorEnum_NewResourceCreationError = 2 + // Creating more than one resource with the same temp ID is not allowed. + NewResourceCreationErrorEnum_DUPLICATE_TEMP_IDS NewResourceCreationErrorEnum_NewResourceCreationError = 3 + // Parent resource with specified temp ID failed validation, so no + // validation will be done for this child resource. + NewResourceCreationErrorEnum_TEMP_ID_RESOURCE_HAD_ERRORS NewResourceCreationErrorEnum_NewResourceCreationError = 4 +) + +var NewResourceCreationErrorEnum_NewResourceCreationError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CANNOT_SET_ID_FOR_CREATE", + 3: "DUPLICATE_TEMP_IDS", + 4: "TEMP_ID_RESOURCE_HAD_ERRORS", +} +var NewResourceCreationErrorEnum_NewResourceCreationError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CANNOT_SET_ID_FOR_CREATE": 2, + "DUPLICATE_TEMP_IDS": 3, + "TEMP_ID_RESOURCE_HAD_ERRORS": 4, +} + +func (x NewResourceCreationErrorEnum_NewResourceCreationError) String() string { + return proto.EnumName(NewResourceCreationErrorEnum_NewResourceCreationError_name, int32(x)) +} +func (NewResourceCreationErrorEnum_NewResourceCreationError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_new_resource_creation_error_1adcb44311ee3769, []int{0, 0} +} + +// Container for enum describing possible new resource creation errors. +type NewResourceCreationErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NewResourceCreationErrorEnum) Reset() { *m = NewResourceCreationErrorEnum{} } +func (m *NewResourceCreationErrorEnum) String() string { return proto.CompactTextString(m) } +func (*NewResourceCreationErrorEnum) ProtoMessage() {} +func (*NewResourceCreationErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_new_resource_creation_error_1adcb44311ee3769, []int{0} +} +func (m *NewResourceCreationErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewResourceCreationErrorEnum.Unmarshal(m, b) +} +func (m *NewResourceCreationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewResourceCreationErrorEnum.Marshal(b, m, deterministic) +} +func (dst *NewResourceCreationErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewResourceCreationErrorEnum.Merge(dst, src) +} +func (m *NewResourceCreationErrorEnum) XXX_Size() int { + return xxx_messageInfo_NewResourceCreationErrorEnum.Size(m) +} +func (m *NewResourceCreationErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_NewResourceCreationErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_NewResourceCreationErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*NewResourceCreationErrorEnum)(nil), "google.ads.googleads.v0.errors.NewResourceCreationErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.NewResourceCreationErrorEnum_NewResourceCreationError", NewResourceCreationErrorEnum_NewResourceCreationError_name, NewResourceCreationErrorEnum_NewResourceCreationError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/new_resource_creation_error.proto", fileDescriptor_new_resource_creation_error_1adcb44311ee3769) +} + +var fileDescriptor_new_resource_creation_error_1adcb44311ee3769 = []byte{ + // 329 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0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, 0xc0, 0xe7, 0x93, 0x90, 0x71, 0x8f, + 0x11, 0x9c, 0x10, 0xbb, 0x03, 0x2f, 0x01, 0xf4, 0xd3, 0xe8, 0x29, 0xf0, 0x70, 0x42, 0x78, 0x42, + 0x9e, 0x23, 0x1e, 0xf8, 0xb1, 0xdd, 0x85, 0x37, 0xe0, 0xaa, 0xbd, 0x71, 0x46, 0xe2, 0x30, 0x65, + 0x1e, 0xe1, 0x0f, 0xd8, 0xe7, 0x84, 0xb1, 0x90, 0xc5, 0xf6, 0xff, 0xf1, 0x8f, 0x05, 0x46, 0x73, + 0xb9, 0x42, 0x7f, 0x6f, 0x36, 0xbe, 0x3e, 0xf5, 0xeb, 0xa8, 0x2e, 0x26, 0xb2, 0x5e, 0xfd, 0x16, + 0x50, 0xca, 0x65, 0x5e, 0x95, 0x48, 0xaa, 0xd2, 0x29, 0x45, 0xd5, 0xd4, 0x76, 0x28, 0x7b, 0xbd, + 0xd0, 0xa7, 0xba, 0xbf, 0x33, 0xc7, 0x47, 0xa7, 0x3b, 0xc5, 0xf8, 0xb3, 0x33, 0x9c, 0x1a, 0x18, + 0x2e, 0x34, 0x32, 0xb2, 0x56, 0x33, 0x17, 0x35, 0x91, 0xfa, 0xfb, 0x60, 0xc8, 0x70, 0xa1, 0xb3, + 0xa3, 0x21, 0x9b, 0xb9, 0x99, 0x31, 0xbc, 0x9d, 0x35, 0xc1, 0xb7, 0xbf, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x60, 0xb1, 0xef, 0x4e, 0xf3, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/not_empty_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/not_empty_error.pb.go new file mode 100644 index 000000000..372a330ad --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/not_empty_error.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/not_empty_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible not empty errors. +type NotEmptyErrorEnum_NotEmptyError int32 + +const ( + // Enum unspecified. + NotEmptyErrorEnum_UNSPECIFIED NotEmptyErrorEnum_NotEmptyError = 0 + // The received error code is not known in this version. + NotEmptyErrorEnum_UNKNOWN NotEmptyErrorEnum_NotEmptyError = 1 + // Empty list. + NotEmptyErrorEnum_EMPTY_LIST NotEmptyErrorEnum_NotEmptyError = 2 +) + +var NotEmptyErrorEnum_NotEmptyError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "EMPTY_LIST", +} +var NotEmptyErrorEnum_NotEmptyError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "EMPTY_LIST": 2, +} + +func (x NotEmptyErrorEnum_NotEmptyError) String() string { + return proto.EnumName(NotEmptyErrorEnum_NotEmptyError_name, int32(x)) +} +func (NotEmptyErrorEnum_NotEmptyError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_not_empty_error_68be394d8b4cf555, []int{0, 0} +} + +// Container for enum describing possible not empty errors. +type NotEmptyErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NotEmptyErrorEnum) Reset() { *m = NotEmptyErrorEnum{} } +func (m *NotEmptyErrorEnum) String() string { return proto.CompactTextString(m) } +func (*NotEmptyErrorEnum) ProtoMessage() {} +func (*NotEmptyErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_not_empty_error_68be394d8b4cf555, []int{0} +} +func (m *NotEmptyErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NotEmptyErrorEnum.Unmarshal(m, b) +} +func (m *NotEmptyErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NotEmptyErrorEnum.Marshal(b, m, deterministic) +} +func (dst *NotEmptyErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_NotEmptyErrorEnum.Merge(dst, src) +} +func (m *NotEmptyErrorEnum) XXX_Size() int { + return xxx_messageInfo_NotEmptyErrorEnum.Size(m) +} +func (m *NotEmptyErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_NotEmptyErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_NotEmptyErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*NotEmptyErrorEnum)(nil), "google.ads.googleads.v0.errors.NotEmptyErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.NotEmptyErrorEnum_NotEmptyError", NotEmptyErrorEnum_NotEmptyError_name, NotEmptyErrorEnum_NotEmptyError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/not_empty_error.proto", fileDescriptor_not_empty_error_68be394d8b4cf555) +} + +var fileDescriptor_not_empty_error_68be394d8b4cf555 = []byte{ + // 253 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xbc, 0xfc, 0x92, 0xf8, 0xd4, 0xdc, 0x82, 0x92, 0xca, 0x78, 0xb0, + 0x80, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, 0xa9, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, + 0x5c, 0x97, 0x5e, 0x99, 0x81, 0x1e, 0x44, 0x97, 0x52, 0x10, 0x97, 0xa0, 0x5f, 0x7e, 0x89, 0x2b, + 0x48, 0x9f, 0x2b, 0x48, 0xc4, 0x35, 0xaf, 0x34, 0x57, 0xc9, 0x96, 0x8b, 0x17, 0x45, 0x50, 0x88, + 0x9f, 0x8b, 0x3b, 0xd4, 0x2f, 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, 0xd5, 0x45, 0x80, 0x41, + 0x88, 0x9b, 0x8b, 0x3d, 0xd4, 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, 0x51, 0x88, 0x8f, 0x8b, + 0xcb, 0xd5, 0x37, 0x20, 0x24, 0x32, 0xde, 0xc7, 0x33, 0x38, 0x44, 0x80, 0xc9, 0xe9, 0x04, 0x23, + 0x97, 0x52, 0x72, 0x7e, 0xae, 0x1e, 0x7e, 0xab, 0x9d, 0x84, 0x50, 0xec, 0x08, 0x00, 0x39, 0x37, + 0x80, 0x31, 0xca, 0x05, 0xaa, 0x2b, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, + 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x19, 0x98, 0xb7, 0x0b, 0x32, 0x8b, 0x71, 0x85, 0x82, 0x35, 0x84, + 0x5a, 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x98, 0x63, 0x4a, 0xb1, + 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, 0x81, 0xad, 0x2c, 0x3e, 0x05, 0x53, 0x10, 0xe3, 0x98, + 0x52, 0x1c, 0x03, 0x57, 0x10, 0x13, 0x66, 0x10, 0x03, 0x51, 0x90, 0xc4, 0x06, 0xb6, 0xd8, 0x18, + 0x10, 0x00, 0x00, 0xff, 0xff, 0x91, 0x69, 0x2e, 0x63, 0x7d, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/null_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/null_error.pb.go new file mode 100644 index 000000000..ff58164bd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/null_error.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/null_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible null errors. +type NullErrorEnum_NullError int32 + +const ( + // Enum unspecified. + NullErrorEnum_UNSPECIFIED NullErrorEnum_NullError = 0 + // The received error code is not known in this version. + NullErrorEnum_UNKNOWN NullErrorEnum_NullError = 1 + // Specified list/container must not contain any null elements + NullErrorEnum_NULL_CONTENT NullErrorEnum_NullError = 2 +) + +var NullErrorEnum_NullError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NULL_CONTENT", +} +var NullErrorEnum_NullError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NULL_CONTENT": 2, +} + +func (x NullErrorEnum_NullError) String() string { + return proto.EnumName(NullErrorEnum_NullError_name, int32(x)) +} +func (NullErrorEnum_NullError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_null_error_fd3a1ae5b7a6b83e, []int{0, 0} +} + +// Container for enum describing possible null errors. +type NullErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NullErrorEnum) Reset() { *m = NullErrorEnum{} } +func (m *NullErrorEnum) String() string { return proto.CompactTextString(m) } +func (*NullErrorEnum) ProtoMessage() {} +func (*NullErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_null_error_fd3a1ae5b7a6b83e, []int{0} +} +func (m *NullErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NullErrorEnum.Unmarshal(m, b) +} +func (m *NullErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NullErrorEnum.Marshal(b, m, deterministic) +} +func (dst *NullErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_NullErrorEnum.Merge(dst, src) +} +func (m *NullErrorEnum) XXX_Size() int { + return xxx_messageInfo_NullErrorEnum.Size(m) +} +func (m *NullErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_NullErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_NullErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*NullErrorEnum)(nil), "google.ads.googleads.v0.errors.NullErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.NullErrorEnum_NullError", NullErrorEnum_NullError_name, NullErrorEnum_NullError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/null_error.proto", fileDescriptor_null_error_fd3a1ae5b7a6b83e) +} + +var fileDescriptor_null_error_fd3a1ae5b7a6b83e = []byte{ + // 247 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0x86, 0x32, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, 0xa2, + 0xfc, 0xa2, 0x62, 0x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xe2, 0x18, 0xb8, 0x82, 0x98, 0x30, + 0x83, 0x18, 0x88, 0x82, 0x24, 0x36, 0xb0, 0xc5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbe, + 0xf4, 0xdb, 0xb6, 0x6e, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operation_access_denied_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operation_access_denied_error.pb.go new file mode 100644 index 000000000..c3bd18c70 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operation_access_denied_error.pb.go @@ -0,0 +1,155 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/operation_access_denied_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible operation access denied errors. +type OperationAccessDeniedErrorEnum_OperationAccessDeniedError int32 + +const ( + // Enum unspecified. + OperationAccessDeniedErrorEnum_UNSPECIFIED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 0 + // The received error code is not known in this version. + OperationAccessDeniedErrorEnum_UNKNOWN OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 1 + // Unauthorized invocation of a service's method (get, mutate, etc.) + OperationAccessDeniedErrorEnum_ACTION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 2 + // Unauthorized CREATE operation in invoking a service's mutate method. + OperationAccessDeniedErrorEnum_CREATE_OPERATION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 3 + // Unauthorized REMOVE operation in invoking a service's mutate method. + OperationAccessDeniedErrorEnum_REMOVE_OPERATION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 4 + // Unauthorized UPDATE operation in invoking a service's mutate method. + OperationAccessDeniedErrorEnum_UPDATE_OPERATION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 5 + // A mutate action is not allowed on this campaign, from this client. + OperationAccessDeniedErrorEnum_MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 6 + // This operation is not permitted on this campaign type + OperationAccessDeniedErrorEnum_OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 7 + // A CREATE operation may not set status to REMOVED. + OperationAccessDeniedErrorEnum_CREATE_AS_REMOVED_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 8 + // This operation is not allowed because the campaign or adgroup is removed. + OperationAccessDeniedErrorEnum_OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 9 + // This operation is not permitted on this ad group type. + OperationAccessDeniedErrorEnum_OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 10 + // The mutate is not allowed for this customer. + OperationAccessDeniedErrorEnum_MUTATE_NOT_PERMITTED_FOR_CUSTOMER OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 11 +) + +var OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ACTION_NOT_PERMITTED", + 3: "CREATE_OPERATION_NOT_PERMITTED", + 4: "REMOVE_OPERATION_NOT_PERMITTED", + 5: "UPDATE_OPERATION_NOT_PERMITTED", + 6: "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT", + 7: "OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE", + 8: "CREATE_AS_REMOVED_NOT_PERMITTED", + 9: "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE", + 10: "OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE", + 11: "MUTATE_NOT_PERMITTED_FOR_CUSTOMER", +} +var OperationAccessDeniedErrorEnum_OperationAccessDeniedError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ACTION_NOT_PERMITTED": 2, + "CREATE_OPERATION_NOT_PERMITTED": 3, + "REMOVE_OPERATION_NOT_PERMITTED": 4, + "UPDATE_OPERATION_NOT_PERMITTED": 5, + "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT": 6, + "OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE": 7, + "CREATE_AS_REMOVED_NOT_PERMITTED": 8, + "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE": 9, + "OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE": 10, + "MUTATE_NOT_PERMITTED_FOR_CUSTOMER": 11, +} + +func (x OperationAccessDeniedErrorEnum_OperationAccessDeniedError) String() string { + return proto.EnumName(OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name, int32(x)) +} +func (OperationAccessDeniedErrorEnum_OperationAccessDeniedError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_operation_access_denied_error_07fb74df990e60d7, []int{0, 0} +} + +// Container for enum describing possible operation access denied errors. +type OperationAccessDeniedErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperationAccessDeniedErrorEnum) Reset() { *m = OperationAccessDeniedErrorEnum{} } +func (m *OperationAccessDeniedErrorEnum) String() string { return proto.CompactTextString(m) } +func (*OperationAccessDeniedErrorEnum) ProtoMessage() {} +func (*OperationAccessDeniedErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_operation_access_denied_error_07fb74df990e60d7, []int{0} +} +func (m *OperationAccessDeniedErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperationAccessDeniedErrorEnum.Unmarshal(m, b) +} +func (m *OperationAccessDeniedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperationAccessDeniedErrorEnum.Marshal(b, m, deterministic) +} +func (dst *OperationAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperationAccessDeniedErrorEnum.Merge(dst, src) +} +func (m *OperationAccessDeniedErrorEnum) XXX_Size() int { + return xxx_messageInfo_OperationAccessDeniedErrorEnum.Size(m) +} +func (m *OperationAccessDeniedErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_OperationAccessDeniedErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_OperationAccessDeniedErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*OperationAccessDeniedErrorEnum)(nil), "google.ads.googleads.v0.errors.OperationAccessDeniedErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.OperationAccessDeniedErrorEnum_OperationAccessDeniedError", OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name, OperationAccessDeniedErrorEnum_OperationAccessDeniedError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/operation_access_denied_error.proto", fileDescriptor_operation_access_denied_error_07fb74df990e60d7) +} + +var fileDescriptor_operation_access_denied_error_07fb74df990e60d7 = []byte{ + // 413 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x8a, 0xd4, 0x30, + 0x18, 0xc7, 0x9d, 0x19, 0xdd, 0xd5, 0xcc, 0xc1, 0x12, 0x3c, 0x88, 0x87, 0x2e, 0x56, 0x14, 0x14, + 0x4d, 0x0b, 0x1e, 0x3d, 0x65, 0xda, 0x6c, 0x29, 0xda, 0x24, 0xa4, 0xe9, 0x88, 0x52, 0x08, 0x75, + 0x5a, 0xca, 0xc0, 0x6e, 0x33, 0x34, 0xeb, 0x3e, 0x90, 0x47, 0x9f, 0x44, 0xbc, 0xfb, 0x14, 0xbe, + 0x84, 0xb4, 0x99, 0xce, 0x41, 0xa6, 0xb3, 0xa7, 0x7e, 0x90, 0x5f, 0x7e, 0xdf, 0x3f, 0xf4, 0x0f, + 0x56, 0x8d, 0xd6, 0xcd, 0x55, 0xed, 0x97, 0x95, 0xf1, 0xed, 0xd8, 0x4f, 0xb7, 0x81, 0x5f, 0x77, + 0x9d, 0xee, 0x8c, 0xaf, 0x77, 0x75, 0x57, 0xde, 0x6c, 0x75, 0xab, 0xca, 0xcd, 0xa6, 0x36, 0x46, + 0x55, 0x75, 0xbb, 0xad, 0x2b, 0x35, 0x1c, 0xa3, 0x5d, 0xa7, 0x6f, 0x34, 0x74, 0xed, 0x45, 0x54, + 0x56, 0x06, 0x1d, 0x1c, 0xe8, 0x36, 0x40, 0xd6, 0xe1, 0xfd, 0x5d, 0x00, 0x97, 0x8d, 0x1e, 0x3c, + 0x68, 0xa2, 0xc1, 0x42, 0xfa, 0x73, 0xd2, 0x7e, 0xbf, 0xf6, 0x7e, 0x2d, 0xc0, 0xb3, 0x69, 0x04, + 0x3e, 0x06, 0xcb, 0x9c, 0x66, 0x9c, 0x84, 0xc9, 0x65, 0x42, 0x22, 0xe7, 0x1e, 0x5c, 0x82, 0xf3, + 0x9c, 0x7e, 0xa4, 0xec, 0x33, 0x75, 0x66, 0xf0, 0x29, 0x78, 0x82, 0x43, 0x99, 0x30, 0xaa, 0x28, + 0x93, 0x8a, 0x13, 0x91, 0x26, 0x52, 0x92, 0xc8, 0x99, 0x43, 0x0f, 0xb8, 0xa1, 0x20, 0x58, 0x12, + 0xc5, 0x38, 0x11, 0xf8, 0x08, 0xb3, 0xe8, 0x19, 0x41, 0x52, 0xb6, 0x9e, 0x66, 0xee, 0xf7, 0x4c, + 0xce, 0xa3, 0x53, 0x9e, 0x07, 0xf0, 0x0d, 0x78, 0x95, 0xe6, 0xb2, 0x67, 0x8e, 0x85, 0x51, 0x97, + 0x4c, 0xa8, 0xf0, 0x53, 0x42, 0xa8, 0x74, 0xce, 0xe0, 0x3b, 0xf0, 0x7a, 0x42, 0x64, 0x39, 0x9c, + 0x72, 0x9c, 0xc4, 0x54, 0xc9, 0x2f, 0x9c, 0x38, 0xe7, 0xf0, 0x05, 0xb8, 0xd8, 0x3f, 0x03, 0x67, + 0xca, 0x86, 0x8d, 0xfe, 0xdb, 0xff, 0x10, 0x06, 0xe0, 0xed, 0x29, 0xe7, 0x78, 0x4d, 0x90, 0x8c, + 0xe5, 0x22, 0x24, 0xce, 0xa3, 0xbb, 0x52, 0xe0, 0x48, 0xc5, 0x82, 0xe5, 0xdc, 0xa6, 0x00, 0xf0, + 0x25, 0x78, 0xbe, 0x7f, 0xe0, 0x91, 0xc4, 0x79, 0x26, 0x59, 0x4a, 0x84, 0xb3, 0x5c, 0xfd, 0x99, + 0x01, 0x6f, 0xa3, 0xaf, 0xd1, 0xe9, 0x52, 0xac, 0x2e, 0xa6, 0x7f, 0x37, 0xef, 0x5b, 0xc5, 0x67, + 0x5f, 0xa3, 0xbd, 0xa2, 0xd1, 0x57, 0x65, 0xdb, 0x20, 0xdd, 0x35, 0x7e, 0x53, 0xb7, 0x43, 0xe7, + 0xc6, 0xae, 0xee, 0xb6, 0x66, 0xaa, 0xba, 0x1f, 0xec, 0xe7, 0xc7, 0x7c, 0x11, 0x63, 0xfc, 0x73, + 0xee, 0xc6, 0x56, 0x86, 0x2b, 0x83, 0xec, 0xd8, 0x4f, 0xeb, 0x00, 0x0d, 0x2b, 0xcd, 0xef, 0x11, + 0x28, 0x70, 0x65, 0x8a, 0x03, 0x50, 0xac, 0x83, 0xc2, 0x02, 0xdf, 0xce, 0x86, 0xc5, 0xef, 0xff, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x14, 0xb6, 0x57, 0x19, 0x32, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operator_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operator_error.pb.go new file mode 100644 index 000000000..47a7c0816 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/operator_error.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/operator_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible operator errors. +type OperatorErrorEnum_OperatorError int32 + +const ( + // Enum unspecified. + OperatorErrorEnum_UNSPECIFIED OperatorErrorEnum_OperatorError = 0 + // The received error code is not known in this version. + OperatorErrorEnum_UNKNOWN OperatorErrorEnum_OperatorError = 1 + // Operator not supported. + OperatorErrorEnum_OPERATOR_NOT_SUPPORTED OperatorErrorEnum_OperatorError = 2 +) + +var OperatorErrorEnum_OperatorError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "OPERATOR_NOT_SUPPORTED", +} +var OperatorErrorEnum_OperatorError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "OPERATOR_NOT_SUPPORTED": 2, +} + +func (x OperatorErrorEnum_OperatorError) String() string { + return proto.EnumName(OperatorErrorEnum_OperatorError_name, int32(x)) +} +func (OperatorErrorEnum_OperatorError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_operator_error_e214472ec4870bc9, []int{0, 0} +} + +// Container for enum describing possible operator errors. +type OperatorErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperatorErrorEnum) Reset() { *m = OperatorErrorEnum{} } +func (m *OperatorErrorEnum) String() string { return proto.CompactTextString(m) } +func (*OperatorErrorEnum) ProtoMessage() {} +func (*OperatorErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_operator_error_e214472ec4870bc9, []int{0} +} +func (m *OperatorErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperatorErrorEnum.Unmarshal(m, b) +} +func (m *OperatorErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperatorErrorEnum.Marshal(b, m, deterministic) +} +func (dst *OperatorErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperatorErrorEnum.Merge(dst, src) +} +func (m *OperatorErrorEnum) XXX_Size() int { + return xxx_messageInfo_OperatorErrorEnum.Size(m) +} +func (m *OperatorErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_OperatorErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_OperatorErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*OperatorErrorEnum)(nil), "google.ads.googleads.v0.errors.OperatorErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.OperatorErrorEnum_OperatorError", OperatorErrorEnum_OperatorError_name, OperatorErrorEnum_OperatorError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/operator_error.proto", fileDescriptor_operator_error_e214472ec4870bc9) +} + +var fileDescriptor_operator_error_e214472ec4870bc9 = []byte{ + // 261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 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x15, + 0x93, 0x9c, 0x3b, 0xc4, 0x30, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x03, + 0x5b, 0x59, 0x7c, 0x0a, 0xa6, 0x20, 0xc6, 0x31, 0xa5, 0x38, 0x06, 0xae, 0x20, 0x26, 0xcc, 0x20, + 0x06, 0xa2, 0x20, 0x89, 0x0d, 0x6c, 0xb1, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xea, 0x71, 0xee, + 0x87, 0x88, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/policy_finding_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/policy_finding_error.pb.go new file mode 100644 index 000000000..b1abc0502 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/policy_finding_error.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/policy_finding_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible policy finding errors. +type PolicyFindingErrorEnum_PolicyFindingError int32 + +const ( + // Enum unspecified. + PolicyFindingErrorEnum_UNSPECIFIED PolicyFindingErrorEnum_PolicyFindingError = 0 + // The received error code is not known in this version. + PolicyFindingErrorEnum_UNKNOWN PolicyFindingErrorEnum_PolicyFindingError = 1 + // The resource has been disapproved since the policy summary includes + // policy topics of type PROHIBITED. + PolicyFindingErrorEnum_POLICY_FINDING PolicyFindingErrorEnum_PolicyFindingError = 2 + // The given policy topic does not exist. + PolicyFindingErrorEnum_POLICY_TOPIC_NOT_FOUND PolicyFindingErrorEnum_PolicyFindingError = 3 +) + +var PolicyFindingErrorEnum_PolicyFindingError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "POLICY_FINDING", + 3: "POLICY_TOPIC_NOT_FOUND", +} +var PolicyFindingErrorEnum_PolicyFindingError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "POLICY_FINDING": 2, + "POLICY_TOPIC_NOT_FOUND": 3, +} + +func (x PolicyFindingErrorEnum_PolicyFindingError) String() string { + return proto.EnumName(PolicyFindingErrorEnum_PolicyFindingError_name, int32(x)) +} +func (PolicyFindingErrorEnum_PolicyFindingError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_policy_finding_error_85bd0bfad47f6f0e, []int{0, 0} +} + +// Container for enum describing possible policy finding errors. +type PolicyFindingErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyFindingErrorEnum) Reset() { *m = PolicyFindingErrorEnum{} } +func (m *PolicyFindingErrorEnum) String() string { return proto.CompactTextString(m) } +func (*PolicyFindingErrorEnum) ProtoMessage() {} +func (*PolicyFindingErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_policy_finding_error_85bd0bfad47f6f0e, []int{0} +} +func (m *PolicyFindingErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyFindingErrorEnum.Unmarshal(m, b) +} +func (m *PolicyFindingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyFindingErrorEnum.Marshal(b, m, deterministic) +} +func (dst *PolicyFindingErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyFindingErrorEnum.Merge(dst, src) +} +func (m *PolicyFindingErrorEnum) XXX_Size() int { + return xxx_messageInfo_PolicyFindingErrorEnum.Size(m) +} +func (m *PolicyFindingErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyFindingErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_PolicyFindingErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PolicyFindingErrorEnum)(nil), "google.ads.googleads.v0.errors.PolicyFindingErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.PolicyFindingErrorEnum_PolicyFindingError", PolicyFindingErrorEnum_PolicyFindingError_name, PolicyFindingErrorEnum_PolicyFindingError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/policy_finding_error.proto", fileDescriptor_policy_finding_error_85bd0bfad47f6f0e) +} + +var fileDescriptor_policy_finding_error_85bd0bfad47f6f0e = []byte{ + // 285 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4d, 0x4b, 0xc3, 0x30, + 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x68, 0xc9, 0x61, 0x82, 0x87, 0x1d, 0xfa, 0x01, 0xd2, 0x82, + 0x27, 0xf1, 0xd4, 0xf5, 0x8d, 0xa0, 0xa4, 0x01, 0xd7, 0x89, 0x52, 0x28, 0xdd, 0x52, 0x43, 0xa1, + 0x4b, 0x4a, 0xa2, 0x03, 0xc1, 0x4f, 0xe3, 0xd1, 0x8f, 0x22, 0xf8, 0x9d, 0xa4, 0xc9, 0xb6, 0xcb, + 0xd0, 0x53, 0x1e, 0x9e, 0x3c, 0xbf, 0xff, 0x1b, 0xb8, 0xe1, 0x52, 0xf2, 0xae, 0xf1, 0x6b, 0xa6, + 0x7d, 0x2b, 0x07, 0xb5, 0x0d, 0xfc, 0x46, 0x29, 0xa9, 0xb4, 0xdf, 0xcb, 0xae, 0x5d, 0xbf, 0x57, + 0x2f, 0xad, 0x60, 0xad, 0xe0, 0x95, 0x71, 0x51, 0xaf, 0xe4, 0xab, 0x84, 0x33, 0x9b, 0x47, 0x35, + 0xd3, 0xe8, 0x80, 0xa2, 0x6d, 0x80, 0x2c, 0xea, 0x7d, 0x80, 0x29, 0x35, 0x74, 0x6a, 0xe1, 0x64, + 0xb0, 0x13, 0xf1, 0xb6, 0xf1, 0x56, 0x00, 0x1e, 0xff, 0xc0, 0x0b, 0x30, 0x29, 0xc8, 0x03, 0x4d, + 0x22, 0x9c, 0xe2, 0x24, 0x76, 0x4f, 0xe0, 0x04, 0x9c, 0x15, 0xe4, 0x8e, 0xe4, 0x8f, 0xc4, 0x1d, + 0x41, 0x08, 0xce, 0x69, 0x7e, 0x8f, 0xa3, 0xa7, 0x2a, 0xc5, 0x24, 0xc6, 0x24, 0x73, 0x1d, 0x78, + 0x05, 0xa6, 0x3b, 0x6f, 0x91, 0x53, 0x1c, 0x55, 0x24, 0x5f, 0x54, 0x69, 0x5e, 0x90, 0xd8, 0x1d, + 0xcf, 0x7f, 0x46, 0xc0, 0x5b, 0xcb, 0x0d, 0xfa, 0x7f, 0xc8, 0xf9, 0xe5, 0xf1, 0x20, 0x74, 0xd8, + 0x8e, 0x8e, 0x9e, 0xe3, 0x1d, 0xca, 0x65, 0x57, 0x0b, 0x8e, 0xa4, 0xe2, 0x3e, 0x6f, 0x84, 0xd9, + 0x7d, 0x7f, 0xaa, 0xbe, 0xd5, 0x7f, 0x5d, 0xee, 0xd6, 0x3e, 0x9f, 0xce, 0x38, 0x0b, 0xc3, 0x2f, + 0x67, 0x96, 0xd9, 0x62, 0x21, 0xd3, 0xc8, 0xca, 0x41, 0x2d, 0x03, 0x64, 0x5a, 0xea, 0xef, 0x7d, + 0xa0, 0x0c, 0x99, 0x2e, 0x0f, 0x81, 0x72, 0x19, 0x94, 0x36, 0xb0, 0x3a, 0x35, 0x8d, 0xaf, 0x7f, + 0x03, 0x00, 0x00, 0xff, 0xff, 0x25, 0x19, 0x48, 0x61, 0xb1, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/query_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/query_error.pb.go new file mode 100644 index 000000000..4ef6ff492 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/query_error.pb.go @@ -0,0 +1,353 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/query_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible query errors. +type QueryErrorEnum_QueryError int32 + +const ( + // Name unspecified. + QueryErrorEnum_UNSPECIFIED QueryErrorEnum_QueryError = 0 + // The received error code is not known in this version. + QueryErrorEnum_UNKNOWN QueryErrorEnum_QueryError = 1 + // Returned if all other query error reasons are not applicable. + QueryErrorEnum_QUERY_ERROR QueryErrorEnum_QueryError = 50 + // A condition used in the query references an invalid enum constant. + QueryErrorEnum_BAD_ENUM_CONSTANT QueryErrorEnum_QueryError = 18 + // Query contains an invalid escape sequence. + QueryErrorEnum_BAD_ESCAPE_SEQUENCE QueryErrorEnum_QueryError = 7 + // Field name is invalid. + QueryErrorEnum_BAD_FIELD_NAME QueryErrorEnum_QueryError = 12 + // Limit value is invalid (i.e. not a number) + QueryErrorEnum_BAD_LIMIT_VALUE QueryErrorEnum_QueryError = 15 + // Encountered number can not be parsed. + QueryErrorEnum_BAD_NUMBER QueryErrorEnum_QueryError = 5 + // Invalid operator encountered. + QueryErrorEnum_BAD_OPERATOR QueryErrorEnum_QueryError = 3 + // Invalid resource type was specified in the FROM clause. + QueryErrorEnum_BAD_RESOURCE_TYPE_IN_FROM_CLAUSE QueryErrorEnum_QueryError = 45 + // Non-ASCII symbol encountered outside of strings. + QueryErrorEnum_BAD_SYMBOL QueryErrorEnum_QueryError = 2 + // Value is invalid. + QueryErrorEnum_BAD_VALUE QueryErrorEnum_QueryError = 4 + // Date filters fail to restrict date to a range smaller than 31 days. + // Applicable if the query is segmented by date. + QueryErrorEnum_DATE_RANGE_TOO_WIDE QueryErrorEnum_QueryError = 36 + // Expected AND between values with BETWEEN operator. + QueryErrorEnum_EXPECTED_AND QueryErrorEnum_QueryError = 30 + // Expecting ORDER BY to have BY. + QueryErrorEnum_EXPECTED_BY QueryErrorEnum_QueryError = 14 + // There was no dimension field selected. + QueryErrorEnum_EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE QueryErrorEnum_QueryError = 37 + // Missing filters on date related fields. + QueryErrorEnum_EXPECTED_FILTERS_ON_DATE_RANGE QueryErrorEnum_QueryError = 55 + // Missing FROM clause. + QueryErrorEnum_EXPECTED_FROM QueryErrorEnum_QueryError = 44 + // The operator used in the conditions requires the value to be a list. + QueryErrorEnum_EXPECTED_LIST QueryErrorEnum_QueryError = 41 + // Fields used in WHERE or ORDER BY clauses are missing from the SELECT + // clause. + QueryErrorEnum_EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE QueryErrorEnum_QueryError = 16 + // SELECT is missing at the beginning of query. + QueryErrorEnum_EXPECTED_SELECT QueryErrorEnum_QueryError = 13 + // A list was passed as a value to a condition whose operator expects a + // single value. + QueryErrorEnum_EXPECTED_SINGLE_VALUE QueryErrorEnum_QueryError = 42 + // Missing one or both values with BETWEEN operator. + QueryErrorEnum_EXPECTED_VALUE_WITH_BETWEEN_OPERATOR QueryErrorEnum_QueryError = 29 + // Invalid date format. Expected 'YYYY-MM-DD'. + QueryErrorEnum_INVALID_DATE_FORMAT QueryErrorEnum_QueryError = 38 + // Value passed was not a string when it should have been. I.e., it was a + // number or unquoted literal. + QueryErrorEnum_INVALID_STRING_VALUE QueryErrorEnum_QueryError = 57 + // A String value passed to the BETWEEN operator does not parse as a date. + QueryErrorEnum_INVALID_VALUE_WITH_BETWEEN_OPERATOR QueryErrorEnum_QueryError = 26 + // The value passed to the DURING operator is not a Date range literal + QueryErrorEnum_INVALID_VALUE_WITH_DURING_OPERATOR QueryErrorEnum_QueryError = 22 + // A non-string value was passed to the LIKE operator. + QueryErrorEnum_INVALID_VALUE_WITH_LIKE_OPERATOR QueryErrorEnum_QueryError = 56 + // An operator was provided that is inapplicable to the field being + // filtered. + QueryErrorEnum_OPERATOR_FIELD_MISMATCH QueryErrorEnum_QueryError = 35 + // A Condition was found with an empty list. + QueryErrorEnum_PROHIBITED_EMPTY_LIST_IN_CONDITION QueryErrorEnum_QueryError = 28 + // A condition used in the query references an unsupported enum constant. + QueryErrorEnum_PROHIBITED_ENUM_CONSTANT QueryErrorEnum_QueryError = 54 + // Fields that are not allowed to be selected together were included in + // the SELECT clause. + QueryErrorEnum_PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE QueryErrorEnum_QueryError = 31 + // A field that is not orderable was included in the ORDER BY clause. + QueryErrorEnum_PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE QueryErrorEnum_QueryError = 40 + // A field that is not selectable was included in the SELECT clause. + QueryErrorEnum_PROHIBITED_FIELD_IN_SELECT_CLAUSE QueryErrorEnum_QueryError = 23 + // A field that is not filterable was included in the WHERE clause. + QueryErrorEnum_PROHIBITED_FIELD_IN_WHERE_CLAUSE QueryErrorEnum_QueryError = 24 + // Resource type specified in the FROM clause is not supported by this + // service. + QueryErrorEnum_PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE QueryErrorEnum_QueryError = 43 + // A field that comes from an incompatible resource was included in the + // SELECT clause. + QueryErrorEnum_PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE QueryErrorEnum_QueryError = 48 + // A field that comes from an incompatible resource was included in the + // WHERE clause. + QueryErrorEnum_PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE QueryErrorEnum_QueryError = 58 + // A metric incompatible with the main resource or other selected + // segmenting resources was included in the SELECT or WHERE clause. + QueryErrorEnum_PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE QueryErrorEnum_QueryError = 49 + // A segment incompatible with the main resource or other selected + // segmenting resources was included in the SELECT or WHERE clause. + QueryErrorEnum_PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE QueryErrorEnum_QueryError = 51 + // A segment in the SELECT clause is incompatible with a metric in the + // SELECT or WHERE clause. + QueryErrorEnum_PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE QueryErrorEnum_QueryError = 53 + // The value passed to the limit clause is too low. + QueryErrorEnum_LIMIT_VALUE_TOO_LOW QueryErrorEnum_QueryError = 25 + // Query has a string containing a newline character. + QueryErrorEnum_PROHIBITED_NEWLINE_IN_STRING QueryErrorEnum_QueryError = 8 + // List contains values of different types. + QueryErrorEnum_PROHIBITED_VALUE_COMBINATION_IN_LIST QueryErrorEnum_QueryError = 10 + // The values passed to the BETWEEN operator are not of the same type. + QueryErrorEnum_PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR QueryErrorEnum_QueryError = 21 + // Query contains unterminated string. + QueryErrorEnum_STRING_NOT_TERMINATED QueryErrorEnum_QueryError = 6 + // Too many segments are specified in SELECT clause. + QueryErrorEnum_TOO_MANY_SEGMENTS QueryErrorEnum_QueryError = 34 + // Query is incomplete and cannot be parsed. + QueryErrorEnum_UNEXPECTED_END_OF_QUERY QueryErrorEnum_QueryError = 9 + // FROM clause cannot be specified in this query. + QueryErrorEnum_UNEXPECTED_FROM_CLAUSE QueryErrorEnum_QueryError = 47 + // Query contains one or more unrecognized fields. + QueryErrorEnum_UNRECOGNIZED_FIELD QueryErrorEnum_QueryError = 32 + // Query has an unexpected extra part. + QueryErrorEnum_UNEXPECTED_INPUT QueryErrorEnum_QueryError = 11 +) + +var QueryErrorEnum_QueryError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 50: "QUERY_ERROR", + 18: "BAD_ENUM_CONSTANT", + 7: "BAD_ESCAPE_SEQUENCE", + 12: "BAD_FIELD_NAME", + 15: "BAD_LIMIT_VALUE", + 5: "BAD_NUMBER", + 3: "BAD_OPERATOR", + 45: "BAD_RESOURCE_TYPE_IN_FROM_CLAUSE", + 2: "BAD_SYMBOL", + 4: "BAD_VALUE", + 36: "DATE_RANGE_TOO_WIDE", + 30: "EXPECTED_AND", + 14: "EXPECTED_BY", + 37: "EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE", + 55: "EXPECTED_FILTERS_ON_DATE_RANGE", + 44: "EXPECTED_FROM", + 41: "EXPECTED_LIST", + 16: "EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE", + 13: "EXPECTED_SELECT", + 42: "EXPECTED_SINGLE_VALUE", + 29: "EXPECTED_VALUE_WITH_BETWEEN_OPERATOR", + 38: "INVALID_DATE_FORMAT", + 57: "INVALID_STRING_VALUE", + 26: "INVALID_VALUE_WITH_BETWEEN_OPERATOR", + 22: "INVALID_VALUE_WITH_DURING_OPERATOR", + 56: "INVALID_VALUE_WITH_LIKE_OPERATOR", + 35: "OPERATOR_FIELD_MISMATCH", + 28: "PROHIBITED_EMPTY_LIST_IN_CONDITION", + 54: "PROHIBITED_ENUM_CONSTANT", + 31: "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE", + 40: "PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE", + 23: "PROHIBITED_FIELD_IN_SELECT_CLAUSE", + 24: "PROHIBITED_FIELD_IN_WHERE_CLAUSE", + 43: "PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE", + 48: "PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE", + 58: "PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE", + 49: "PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE", + 51: "PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE", + 53: "PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE", + 25: "LIMIT_VALUE_TOO_LOW", + 8: "PROHIBITED_NEWLINE_IN_STRING", + 10: "PROHIBITED_VALUE_COMBINATION_IN_LIST", + 21: "PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR", + 6: "STRING_NOT_TERMINATED", + 34: "TOO_MANY_SEGMENTS", + 9: "UNEXPECTED_END_OF_QUERY", + 47: "UNEXPECTED_FROM_CLAUSE", + 32: "UNRECOGNIZED_FIELD", + 11: "UNEXPECTED_INPUT", +} +var QueryErrorEnum_QueryError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "QUERY_ERROR": 50, + "BAD_ENUM_CONSTANT": 18, + "BAD_ESCAPE_SEQUENCE": 7, + "BAD_FIELD_NAME": 12, + "BAD_LIMIT_VALUE": 15, + "BAD_NUMBER": 5, + "BAD_OPERATOR": 3, + "BAD_RESOURCE_TYPE_IN_FROM_CLAUSE": 45, + "BAD_SYMBOL": 2, + "BAD_VALUE": 4, + "DATE_RANGE_TOO_WIDE": 36, + "EXPECTED_AND": 30, + "EXPECTED_BY": 14, + "EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE": 37, + "EXPECTED_FILTERS_ON_DATE_RANGE": 55, + "EXPECTED_FROM": 44, + "EXPECTED_LIST": 41, + "EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE": 16, + "EXPECTED_SELECT": 13, + "EXPECTED_SINGLE_VALUE": 42, + "EXPECTED_VALUE_WITH_BETWEEN_OPERATOR": 29, + "INVALID_DATE_FORMAT": 38, + "INVALID_STRING_VALUE": 57, + "INVALID_VALUE_WITH_BETWEEN_OPERATOR": 26, + "INVALID_VALUE_WITH_DURING_OPERATOR": 22, + "INVALID_VALUE_WITH_LIKE_OPERATOR": 56, + "OPERATOR_FIELD_MISMATCH": 35, + "PROHIBITED_EMPTY_LIST_IN_CONDITION": 28, + "PROHIBITED_ENUM_CONSTANT": 54, + "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE": 31, + "PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE": 40, + "PROHIBITED_FIELD_IN_SELECT_CLAUSE": 23, + "PROHIBITED_FIELD_IN_WHERE_CLAUSE": 24, + "PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE": 43, + "PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE": 48, + "PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE": 58, + "PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE": 49, + "PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE": 51, + "PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE": 53, + "LIMIT_VALUE_TOO_LOW": 25, + "PROHIBITED_NEWLINE_IN_STRING": 8, + "PROHIBITED_VALUE_COMBINATION_IN_LIST": 10, + "PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR": 21, + "STRING_NOT_TERMINATED": 6, + "TOO_MANY_SEGMENTS": 34, + "UNEXPECTED_END_OF_QUERY": 9, + "UNEXPECTED_FROM_CLAUSE": 47, + "UNRECOGNIZED_FIELD": 32, + "UNEXPECTED_INPUT": 11, +} + +func (x QueryErrorEnum_QueryError) String() string { + return proto.EnumName(QueryErrorEnum_QueryError_name, int32(x)) +} +func (QueryErrorEnum_QueryError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_query_error_05d7949cfbd507aa, []int{0, 0} +} + +// Container for enum describing possible query errors. +type QueryErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryErrorEnum) Reset() { *m = QueryErrorEnum{} } +func (m *QueryErrorEnum) String() string { return proto.CompactTextString(m) } +func (*QueryErrorEnum) ProtoMessage() {} +func (*QueryErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_query_error_05d7949cfbd507aa, []int{0} +} +func (m *QueryErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QueryErrorEnum.Unmarshal(m, b) +} +func (m *QueryErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QueryErrorEnum.Marshal(b, m, deterministic) +} +func (dst *QueryErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryErrorEnum.Merge(dst, src) +} +func (m *QueryErrorEnum) XXX_Size() int { + return xxx_messageInfo_QueryErrorEnum.Size(m) +} +func (m *QueryErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_QueryErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*QueryErrorEnum)(nil), "google.ads.googleads.v0.errors.QueryErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.QueryErrorEnum_QueryError", QueryErrorEnum_QueryError_name, QueryErrorEnum_QueryError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/query_error.proto", fileDescriptor_query_error_05d7949cfbd507aa) +} + +var fileDescriptor_query_error_05d7949cfbd507aa = []byte{ + // 891 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x6d, 0x73, 0xd3, 0x46, + 0x10, 0x2e, 0xd0, 0x42, 0xd9, 0xbc, 0x1d, 0x0b, 0x79, 0x81, 0xa6, 0x69, 0x6a, 0x02, 0x04, 0x92, + 0xc8, 0x06, 0xa6, 0x94, 0xbe, 0x7c, 0x39, 0x49, 0x6b, 0xe7, 0x06, 0xe9, 0x4e, 0x39, 0x9d, 0xe2, + 0x9a, 0xc9, 0xcc, 0x4d, 0xda, 0x64, 0x3c, 0x9d, 0x81, 0x98, 0xda, 0x85,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 0x5e, 0x7b, 0xf3, 0xa7, 0x91, 0xbf, 0x32, 0x99, 0x3b, 0x89, 0x1b, + 0x5f, 0xc9, 0xa5, 0x97, 0xe1, 0x58, 0xd2, 0x1f, 0xbc, 0x3a, 0xbd, 0xe8, 0x7b, 0x83, 0x61, 0xbf, + 0xd9, 0x3f, 0xbf, 0xc8, 0x87, 0x5b, 0x39, 0x02, 0xdf, 0xfc, 0x3c, 0xfa, 0xd0, 0x44, 0xfc, 0xae, + 0xf8, 0xfc, 0x7e, 0xf9, 0x4a, 0x87, 0xf3, 0x3f, 0x2e, 0x6f, 0x75, 0x0a, 0x67, 0xfc, 0x6c, 0xe4, + 0x15, 0x4b, 0xb7, 0x3a, 0x6e, 0x79, 0x79, 0xc8, 0xd1, 0x5f, 0x25, 0xe1, 0x84, 0x9f, 0x8d, 0x4e, + 0x2a, 0xc2, 0xc9, 0x71, 0xeb, 0xa4, 0x20, 0xfc, 0x78, 0x35, 0x0f, 0xfc, 0xf4, 0xdf, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x91, 0x95, 0x3d, 0x58, 0x89, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/quota_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/quota_error.pb.go new file mode 100644 index 000000000..e1cd9e3b4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/quota_error.pb.go @@ -0,0 +1,120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/quota_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible quota errors. +type QuotaErrorEnum_QuotaError int32 + +const ( + // Enum unspecified. + QuotaErrorEnum_UNSPECIFIED QuotaErrorEnum_QuotaError = 0 + // The received error code is not known in this version. + QuotaErrorEnum_UNKNOWN QuotaErrorEnum_QuotaError = 1 + // Too many requests. + QuotaErrorEnum_RESOURCE_EXHAUSTED QuotaErrorEnum_QuotaError = 2 + // Access is prohibited. + QuotaErrorEnum_ACCESS_PROHIBITED QuotaErrorEnum_QuotaError = 3 + // Too many requests in a short amount of time. + QuotaErrorEnum_RESOURCE_TEMPORARILY_EXHAUSTED QuotaErrorEnum_QuotaError = 4 +) + +var QuotaErrorEnum_QuotaError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "RESOURCE_EXHAUSTED", + 3: "ACCESS_PROHIBITED", + 4: "RESOURCE_TEMPORARILY_EXHAUSTED", +} +var QuotaErrorEnum_QuotaError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "RESOURCE_EXHAUSTED": 2, + "ACCESS_PROHIBITED": 3, + "RESOURCE_TEMPORARILY_EXHAUSTED": 4, +} + +func (x QuotaErrorEnum_QuotaError) String() string { + return proto.EnumName(QuotaErrorEnum_QuotaError_name, int32(x)) +} +func (QuotaErrorEnum_QuotaError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_quota_error_9801f34daa09281d, []int{0, 0} +} + +// Container for enum describing possible quota errors. +type QuotaErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QuotaErrorEnum) Reset() { *m = QuotaErrorEnum{} } +func (m *QuotaErrorEnum) String() string { return proto.CompactTextString(m) } +func (*QuotaErrorEnum) ProtoMessage() {} +func (*QuotaErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_quota_error_9801f34daa09281d, []int{0} +} +func (m *QuotaErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuotaErrorEnum.Unmarshal(m, b) +} +func (m *QuotaErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuotaErrorEnum.Marshal(b, m, deterministic) +} +func (dst *QuotaErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuotaErrorEnum.Merge(dst, src) +} +func (m *QuotaErrorEnum) XXX_Size() int { + return xxx_messageInfo_QuotaErrorEnum.Size(m) +} +func (m *QuotaErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_QuotaErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_QuotaErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*QuotaErrorEnum)(nil), "google.ads.googleads.v0.errors.QuotaErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.QuotaErrorEnum_QuotaError", QuotaErrorEnum_QuotaError_name, QuotaErrorEnum_QuotaError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/quota_error.proto", fileDescriptor_quota_error_9801f34daa09281d) +} + +var fileDescriptor_quota_error_9801f34daa09281d = []byte{ + // 296 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xc2, 0xd2, 0xfc, 0x92, 0xc4, 0x78, 0x30, 0x47, 0xaf, 0xa0, 0x28, + 0xbf, 0x24, 0x5f, 0x48, 0x0e, 0xa2, 0x4c, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x43, 0xaf, 0xcc, + 0x40, 0x0f, 0xa2, 0x43, 0xa9, 0x9f, 0x91, 0x8b, 0x2f, 0x10, 0xa4, 0xcb, 0x15, 0xc4, 0x77, 0xcd, + 0x2b, 0xcd, 0x55, 0xaa, 0xe5, 0xe2, 0x42, 0x88, 0x08, 0xf1, 0x73, 0x71, 0x87, 0xfa, 0x05, 0x07, + 0xb8, 0x3a, 0x7b, 0xba, 0x79, 0xba, 0xba, 0x08, 0x30, 0x08, 0x71, 0x73, 0xb1, 0x87, 0xfa, 0x79, + 0xfb, 0xf9, 0x87, 0xfb, 0x09, 0x30, 0x0a, 0x89, 0x71, 0x09, 0x05, 0xb9, 0x06, 0xfb, 0x87, 0x06, + 0x39, 0xbb, 0xc6, 0xbb, 0x46, 0x78, 0x38, 0x86, 0x06, 0x87, 0xb8, 0xba, 0x08, 0x30, 0x09, 0x89, + 0x72, 0x09, 0x3a, 0x3a, 0x3b, 0xbb, 0x06, 0x07, 0xc7, 0x07, 0x04, 0xf9, 0x7b, 0x78, 0x3a, 0x79, + 0x82, 0x84, 0x99, 0x85, 0x94, 0xb8, 0xe4, 0xe0, 0xca, 0x43, 0x5c, 0x7d, 0x03, 0xfc, 0x83, 0x1c, + 0x83, 0x3c, 0x7d, 0x22, 0x91, 0xb4, 0xb2, 0x38, 0x1d, 0x65, 0xe4, 0x52, 0x4a, 0xce, 0xcf, 0xd5, + 0xc3, 0xef, 0x70, 0x27, 0x7e, 0x84, 0x1b, 0x03, 0x40, 0x3e, 0x0d, 0x60, 0x8c, 0x72, 0x81, 0x6a, + 0x49, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0x87, + 0x03, 0x2c, 0xb4, 0x0a, 0x32, 0x8b, 0x71, 0x05, 0x9e, 0x35, 0x84, 0x5a, 0xc4, 0xc4, 0xec, 0xee, + 0xe8, 0xb8, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x98, 0x63, 0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, + 0x19, 0xe8, 0x81, 0xad, 0x2c, 0x3e, 0x05, 0x53, 0x10, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x57, 0x10, + 0x13, 0x66, 0x10, 0x03, 0x51, 0x90, 0xc4, 0x06, 0xb6, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, + 0x3d, 0x54, 0x2f, 0x04, 0xb4, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/range_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/range_error.pb.go new file mode 100644 index 000000000..0cb47f94e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/range_error.pb.go @@ -0,0 +1,113 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/range_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible range errors. +type RangeErrorEnum_RangeError int32 + +const ( + // Enum unspecified. + RangeErrorEnum_UNSPECIFIED RangeErrorEnum_RangeError = 0 + // The received error code is not known in this version. + RangeErrorEnum_UNKNOWN RangeErrorEnum_RangeError = 1 + // Too low. + RangeErrorEnum_TOO_LOW RangeErrorEnum_RangeError = 2 + // Too high. + RangeErrorEnum_TOO_HIGH RangeErrorEnum_RangeError = 3 +) + +var RangeErrorEnum_RangeError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "TOO_LOW", + 3: "TOO_HIGH", +} +var RangeErrorEnum_RangeError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "TOO_LOW": 2, + "TOO_HIGH": 3, +} + +func (x RangeErrorEnum_RangeError) String() string { + return proto.EnumName(RangeErrorEnum_RangeError_name, int32(x)) +} +func (RangeErrorEnum_RangeError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_range_error_ead582fc3159a23a, []int{0, 0} +} + +// Container for enum describing possible range errors. +type RangeErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RangeErrorEnum) Reset() { *m = RangeErrorEnum{} } +func (m *RangeErrorEnum) String() string { return proto.CompactTextString(m) } +func (*RangeErrorEnum) ProtoMessage() {} +func (*RangeErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_range_error_ead582fc3159a23a, []int{0} +} +func (m *RangeErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RangeErrorEnum.Unmarshal(m, b) +} +func (m *RangeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RangeErrorEnum.Marshal(b, m, deterministic) +} +func (dst *RangeErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_RangeErrorEnum.Merge(dst, src) +} +func (m *RangeErrorEnum) XXX_Size() int { + return xxx_messageInfo_RangeErrorEnum.Size(m) +} +func (m *RangeErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_RangeErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_RangeErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*RangeErrorEnum)(nil), "google.ads.googleads.v0.errors.RangeErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.RangeErrorEnum_RangeError", RangeErrorEnum_RangeError_name, RangeErrorEnum_RangeError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/range_error.proto", fileDescriptor_range_error_ead582fc3159a23a) +} + +var fileDescriptor_range_error_ead582fc3159a23a = []byte{ + // 252 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xa2, 0xc4, 0xbc, 0xf4, 0xd4, 0x78, 0x30, 0x47, 0xaf, 0xa0, 0x28, + 0xbf, 0x24, 0x5f, 0x48, 0x0e, 0xa2, 0x4c, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x43, 0xaf, 0xcc, + 0x40, 0x0f, 0xa2, 0x43, 0x29, 0x9c, 0x8b, 0x2f, 0x08, 0xa4, 0xc9, 0x15, 0xc4, 0x75, 0xcd, 0x2b, + 0xcd, 0x55, 0x72, 0xe5, 0xe2, 0x42, 0x88, 0x08, 0xf1, 0x73, 0x71, 0x87, 0xfa, 0x05, 0x07, 0xb8, + 0x3a, 0x7b, 0xba, 0x79, 0xba, 0xba, 0x08, 0x30, 0x08, 0x71, 0x73, 0xb1, 0x87, 0xfa, 0x79, 0xfb, + 0xf9, 0x87, 0xfb, 0x09, 0x30, 0x82, 0x38, 0x21, 0xfe, 0xfe, 0xf1, 0x3e, 0xfe, 0xe1, 0x02, 0x4c, + 0x42, 0x3c, 0x5c, 0x1c, 0x20, 0x8e, 0x87, 0xa7, 0xbb, 0x87, 0x00, 0xb3, 0xd3, 0x51, 0x46, 0x2e, + 0xa5, 0xe4, 0xfc, 0x5c, 0x3d, 0xfc, 0xf6, 0x3b, 0xf1, 0x23, 0xec, 0x0a, 0x00, 0x39, 0x38, 0x80, + 0x31, 0xca, 0x05, 0xaa, 0x25, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, + 0x3d, 0x35, 0x0f, 0xec, 0x1d, 0x98, 0xa7, 0x0b, 0x32, 0x8b, 0x71, 0x85, 0x81, 0x35, 0x84, 0x5a, + 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x98, 0x63, 0x4a, 0xb1, 0x1e, + 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, 0x81, 0xad, 0x2c, 0x3e, 0x05, 0x53, 0x10, 0xe3, 0x98, 0x52, + 0x1c, 0x03, 0x57, 0x10, 0x13, 0x66, 0x10, 0x03, 0x51, 0x90, 0xc4, 0x06, 0xb6, 0xd8, 0x18, 0x10, + 0x00, 0x00, 0xff, 0xff, 0x08, 0xef, 0x18, 0x16, 0x7b, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/recommendation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/recommendation_error.pb.go new file mode 100644 index 000000000..d84fb1fea --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/recommendation_error.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/recommendation_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible errors from applying a recommendation. +type RecommendationErrorEnum_RecommendationError int32 + +const ( + // Enum unspecified. + RecommendationErrorEnum_UNSPECIFIED RecommendationErrorEnum_RecommendationError = 0 + // The received error code is not known in this version. + RecommendationErrorEnum_UNKNOWN RecommendationErrorEnum_RecommendationError = 1 + // The specified budget amount is too low e.g. lower than minimum currency + // unit or lower than ad group minimum cost-per-click. + RecommendationErrorEnum_BUDGET_AMOUNT_TOO_SMALL RecommendationErrorEnum_RecommendationError = 2 + // The specified budget amount is too large. + RecommendationErrorEnum_BUDGET_AMOUNT_TOO_LARGE RecommendationErrorEnum_RecommendationError = 3 + // The specified budget amount is not a valid amount. e.g. not a multiple + // of minimum currency unit. + RecommendationErrorEnum_INVALID_BUDGET_AMOUNT RecommendationErrorEnum_RecommendationError = 4 + // The specified keyword or ad violates ad policy. + RecommendationErrorEnum_POLICY_ERROR RecommendationErrorEnum_RecommendationError = 5 + // The specified bid amount is not valid. e.g. too many fractional digits, + // or negative amount. + RecommendationErrorEnum_INVALID_BID_AMOUNT RecommendationErrorEnum_RecommendationError = 6 + // The number of keywords in ad group have reached the maximum allowed. + RecommendationErrorEnum_ADGROUP_KEYWORD_LIMIT RecommendationErrorEnum_RecommendationError = 7 + // The recommendation requested to apply has already been applied. + RecommendationErrorEnum_RECOMMENDATION_ALREADY_APPLIED RecommendationErrorEnum_RecommendationError = 8 + // The recommendation requested to apply has been invalidated. + RecommendationErrorEnum_RECOMMENDATION_INVALIDATED RecommendationErrorEnum_RecommendationError = 9 + // The number of operations in a single request exceeds the maximum allowed. + RecommendationErrorEnum_TOO_MANY_OPERATIONS RecommendationErrorEnum_RecommendationError = 10 + // There are no operations in the request. + RecommendationErrorEnum_NO_OPERATIONS RecommendationErrorEnum_RecommendationError = 11 + // Operations with multiple recommendation types are not supported when + // partial failure mode is not enabled. + RecommendationErrorEnum_DIFFERENT_TYPES_NOT_SUPPORTED RecommendationErrorEnum_RecommendationError = 12 + // Request contains multiple operations with the same resource_name. + RecommendationErrorEnum_DUPLICATE_RESOURCE_NAME RecommendationErrorEnum_RecommendationError = 13 + // The recommendation requested to dismiss has already been dismissed. + RecommendationErrorEnum_RECOMMENDATION_ALREADY_DISMISSED RecommendationErrorEnum_RecommendationError = 14 +) + +var RecommendationErrorEnum_RecommendationError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "BUDGET_AMOUNT_TOO_SMALL", + 3: "BUDGET_AMOUNT_TOO_LARGE", + 4: "INVALID_BUDGET_AMOUNT", + 5: "POLICY_ERROR", + 6: "INVALID_BID_AMOUNT", + 7: "ADGROUP_KEYWORD_LIMIT", + 8: "RECOMMENDATION_ALREADY_APPLIED", + 9: "RECOMMENDATION_INVALIDATED", + 10: "TOO_MANY_OPERATIONS", + 11: "NO_OPERATIONS", + 12: "DIFFERENT_TYPES_NOT_SUPPORTED", + 13: "DUPLICATE_RESOURCE_NAME", + 14: "RECOMMENDATION_ALREADY_DISMISSED", +} +var RecommendationErrorEnum_RecommendationError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "BUDGET_AMOUNT_TOO_SMALL": 2, + "BUDGET_AMOUNT_TOO_LARGE": 3, + "INVALID_BUDGET_AMOUNT": 4, + "POLICY_ERROR": 5, + "INVALID_BID_AMOUNT": 6, + "ADGROUP_KEYWORD_LIMIT": 7, + "RECOMMENDATION_ALREADY_APPLIED": 8, + "RECOMMENDATION_INVALIDATED": 9, + "TOO_MANY_OPERATIONS": 10, + "NO_OPERATIONS": 11, + "DIFFERENT_TYPES_NOT_SUPPORTED": 12, + "DUPLICATE_RESOURCE_NAME": 13, + "RECOMMENDATION_ALREADY_DISMISSED": 14, +} + +func (x RecommendationErrorEnum_RecommendationError) String() string { + return proto.EnumName(RecommendationErrorEnum_RecommendationError_name, int32(x)) +} +func (RecommendationErrorEnum_RecommendationError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_recommendation_error_a079eff07de8f83e, []int{0, 0} +} + +// Container for enum describing possible errors from applying a recommendation. +type RecommendationErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecommendationErrorEnum) Reset() { *m = RecommendationErrorEnum{} } +func (m *RecommendationErrorEnum) String() string { return proto.CompactTextString(m) } +func (*RecommendationErrorEnum) ProtoMessage() {} +func (*RecommendationErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_error_a079eff07de8f83e, []int{0} +} +func (m *RecommendationErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecommendationErrorEnum.Unmarshal(m, b) +} +func (m *RecommendationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecommendationErrorEnum.Marshal(b, m, deterministic) +} +func (dst *RecommendationErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecommendationErrorEnum.Merge(dst, src) +} +func (m *RecommendationErrorEnum) XXX_Size() int { + return xxx_messageInfo_RecommendationErrorEnum.Size(m) +} +func (m *RecommendationErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_RecommendationErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_RecommendationErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*RecommendationErrorEnum)(nil), "google.ads.googleads.v0.errors.RecommendationErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.RecommendationErrorEnum_RecommendationError", RecommendationErrorEnum_RecommendationError_name, RecommendationErrorEnum_RecommendationError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/recommendation_error.proto", fileDescriptor_recommendation_error_a079eff07de8f83e) +} + +var fileDescriptor_recommendation_error_a079eff07de8f83e = []byte{ + // 464 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6e, 0xd3, 0x30, + 0x14, 0xc6, 0x59, 0x0b, 0x1b, 0xb8, 0x1b, 0x18, 0x4f, 0x50, 0xfe, 0x88, 0x0a, 0x2a, 0xae, 0xd3, + 0x4a, 0x5c, 0x21, 0xae, 0xdc, 0xf8, 0x34, 0xb2, 0x96, 0xd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 0x52, + 0xe3, 0x07, 0xe4, 0x39, 0x22, 0x5b, 0x98, 0xb3, 0x0d, 0xb9, 0xef, 0x9a, 0x50, 0x16, 0x68, 0x99, + 0x2a, 0x73, 0x02, 0xd9, 0xa9, 0xd4, 0xcc, 0x84, 0x3c, 0xe2, 0x09, 0x3e, 0x20, 0x63, 0x34, 0xd2, + 0xe0, 0xcb, 0x28, 0x02, 0xc1, 0x68, 0xc2, 0xa5, 0x30, 0x34, 0xd4, 0x40, 0x59, 0x66, 0xa8, 0x52, + 0xa1, 0x7b, 0xca, 0x43, 0x32, 0x42, 0xaf, 0xfe, 0x61, 0x6e, 0xa6, 0xd0, 0x04, 0x18, 0x7e, 0x44, + 0x86, 0xe8, 0xd8, 0x5d, 0x39, 0xa2, 0x22, 0x33, 0x52, 0x81, 0x6e, 0x99, 0x18, 0x23, 0xf2, 0x14, + 0x1d, 0x09, 0xf9, 0xf7, 0xd1, 0x80, 0xbc, 0x43, 0x6f, 0x18, 0x9f, 0xcf, 0x41, 0x83, 0x7b, 0x68, + 0xa6, 0x20, 0x36, 0x42, 0x26, 0x26, 0x4e, 0x95, 0x92, 0xda, 0xb5, 0x3b, 0x74, 0xff, 0x83, 0xa5, + 0x2a, 0xe4, 0x3e, 0x4d, 0xc0, 0x68, 0x88, 0x65, 0xaa, 0x7d, 0x30, 0x82, 0x46, 0x80, 0x8f, 0xc8, + 0x7b, 0xf4, 0xf6, 0x8e, 0xfb, 0x32, 0x1e, 0x47, 0x3c, 0x8e, 0x81, 0xe1, 0xc7, 0xb3, 0xdf, 0x7b, + 0x68, 0x7c, 0x66, 0xd7, 0xde, 0xff, 0x17, 0x3d, 0x7b, 0xb1, 0x63, 0x93, 0xca, 0x45, 0x44, 0xed, + 0x7d, 0x66, 0x37, 0xde, 0xd2, 0x5e, 0xac, 0xaa, 0xd2, 0xb3, 0x75, 0x39, 0x29, 0x8b, 0xaa, 0x0d, + 0xd0, 0x26, 0x6f, 0x97, 0xe7, 0xcd, 0x5d, 0xf1, 0xfb, 0xd4, 0x7d, 0xbe, 0xf5, 0xfa, 0x01, 0xa5, + 0x3f, 0x7a, 0xa3, 0xa0, 0x6b, 0x46, 0xf3, 0xc6, 0xeb, 0xa4, 0x53, 0x8b, 0xa9, 0xd7, 0x8e, 0x6c, + 0x7e, 0x6d, 0x80, 0x25, 0xcd, 0x9b, 0xe5, 0x16, 0x58, 0x2e, 0xa6, 0xcb, 0x0e, 0xf8, 0xb2, 0xdf, + 0x0e, 0xfe, 0xf0, 0x27, 0x00, 0x00, 0xff, 0xff, 0xba, 0xfb, 0xc9, 0x17, 0xf6, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/region_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/region_code_error.pb.go new file mode 100644 index 000000000..b8a7f2acd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/region_code_error.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/region_code_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible region code errors. +type RegionCodeErrorEnum_RegionCodeError int32 + +const ( + // Enum unspecified. + RegionCodeErrorEnum_UNSPECIFIED RegionCodeErrorEnum_RegionCodeError = 0 + // The received error code is not known in this version. + RegionCodeErrorEnum_UNKNOWN RegionCodeErrorEnum_RegionCodeError = 1 + // Invalid region code. + RegionCodeErrorEnum_INVALID_REGION_CODE RegionCodeErrorEnum_RegionCodeError = 2 +) + +var RegionCodeErrorEnum_RegionCodeError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_REGION_CODE", +} +var RegionCodeErrorEnum_RegionCodeError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_REGION_CODE": 2, +} + +func (x RegionCodeErrorEnum_RegionCodeError) String() string { + return proto.EnumName(RegionCodeErrorEnum_RegionCodeError_name, int32(x)) +} +func (RegionCodeErrorEnum_RegionCodeError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_region_code_error_2e633c8a092599b8, []int{0, 0} +} + +// Container for enum describing possible region code errors. +type RegionCodeErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegionCodeErrorEnum) Reset() { *m = RegionCodeErrorEnum{} } +func (m *RegionCodeErrorEnum) String() string { return proto.CompactTextString(m) } +func (*RegionCodeErrorEnum) ProtoMessage() {} +func (*RegionCodeErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_region_code_error_2e633c8a092599b8, []int{0} +} +func (m *RegionCodeErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegionCodeErrorEnum.Unmarshal(m, b) +} +func (m *RegionCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegionCodeErrorEnum.Marshal(b, m, deterministic) +} +func (dst *RegionCodeErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegionCodeErrorEnum.Merge(dst, src) +} +func (m *RegionCodeErrorEnum) XXX_Size() int { + return xxx_messageInfo_RegionCodeErrorEnum.Size(m) +} +func (m *RegionCodeErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_RegionCodeErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_RegionCodeErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*RegionCodeErrorEnum)(nil), "google.ads.googleads.v0.errors.RegionCodeErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.RegionCodeErrorEnum_RegionCodeError", RegionCodeErrorEnum_RegionCodeError_name, RegionCodeErrorEnum_RegionCodeError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/region_code_error.proto", fileDescriptor_region_code_error_2e633c8a092599b8) +} + +var fileDescriptor_region_code_error_2e633c8a092599b8 = []byte{ + // 266 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xa2, 0xd4, 0xf4, 0xcc, 0xfc, 0xbc, 0xf8, 0xe4, 0xfc, 0x94, 0xd4, + 0x78, 0xb0, 0x90, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, 0xb1, 0x5e, 0x62, 0x4a, + 0xb1, 0x1e, 0x5c, 0x9f, 0x5e, 0x99, 0x81, 0x1e, 0x44, 0x9f, 0x52, 0x3c, 0x97, 0x70, 0x10, 0x58, + 0xab, 0x73, 0x7e, 0x4a, 0xaa, 0x2b, 0x48, 0xcc, 0x35, 0xaf, 0x34, 0x57, 0xc9, 0x83, 0x8b, 0x1f, + 0x4d, 0x58, 0x88, 0x9f, 0x8b, 0x3b, 0xd4, 0x2f, 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, 0xd5, + 0x45, 0x80, 0x41, 0x88, 0x9b, 0x8b, 0x3d, 0xd4, 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, 0x51, + 0x48, 0x9c, 0x4b, 0xd8, 0xd3, 0x2f, 0xcc, 0xd1, 0xc7, 0xd3, 0x25, 0x3e, 0xc8, 0xd5, 0xdd, 0xd3, + 0xdf, 0x2f, 0xde, 0xd9, 0xdf, 0xc5, 0x55, 0x80, 0xc9, 0xe9, 0x14, 0x23, 0x97, 0x52, 0x72, 0x7e, + 0xae, 0x1e, 0x7e, 0x77, 0x38, 0x89, 0xa0, 0x59, 0x17, 0x00, 0x72, 0x7d, 0x00, 0x63, 0x94, 0x0b, + 0x54, 0x5f, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, + 0xd8, 0x6f, 0xb0, 0x70, 0x28, 0xc8, 0x2c, 0xc6, 0x15, 0x2c, 0xd6, 0x10, 0x6a, 0x11, 0x13, 0xb3, + 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x39, 0x77, 0x88, 0x61, 0x8e, 0x29, 0xc5, 0x7a, 0x10, 0x26, 0x88, + 0x15, 0x66, 0xa0, 0x07, 0xb6, 0xb2, 0xf8, 0x14, 0x4c, 0x41, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, + 0x41, 0x4c, 0x98, 0x41, 0x0c, 0x44, 0x41, 0x12, 0x1b, 0xd8, 0x62, 0x63, 0x40, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x37, 0x1f, 0x25, 0x84, 0x8e, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/request_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/request_error.pb.go new file mode 100644 index 000000000..0e13604d0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/request_error.pb.go @@ -0,0 +1,188 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/request_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible request errors. +type RequestErrorEnum_RequestError int32 + +const ( + // Enum unspecified. + RequestErrorEnum_UNSPECIFIED RequestErrorEnum_RequestError = 0 + // The received error code is not known in this version. + RequestErrorEnum_UNKNOWN RequestErrorEnum_RequestError = 1 + // Resource name is required for this request. + RequestErrorEnum_RESOURCE_NAME_MISSING RequestErrorEnum_RequestError = 3 + // Resource name provided is malformed. + RequestErrorEnum_RESOURCE_NAME_MALFORMED RequestErrorEnum_RequestError = 4 + // Resource name provided is malformed. + RequestErrorEnum_BAD_RESOURCE_ID RequestErrorEnum_RequestError = 17 + // Customer ID is invalid. + RequestErrorEnum_INVALID_CUSTOMER_ID RequestErrorEnum_RequestError = 16 + // Mutate operation should have either create, update, or remove specified. + RequestErrorEnum_OPERATION_REQUIRED RequestErrorEnum_RequestError = 5 + // Requested resource not found. + RequestErrorEnum_RESOURCE_NOT_FOUND RequestErrorEnum_RequestError = 6 + // Next page token specified in user request is invalid. + RequestErrorEnum_INVALID_PAGE_TOKEN RequestErrorEnum_RequestError = 7 + // Next page token specified in user request has expired. + RequestErrorEnum_EXPIRED_PAGE_TOKEN RequestErrorEnum_RequestError = 8 + // Required field is missing. + RequestErrorEnum_REQUIRED_FIELD_MISSING RequestErrorEnum_RequestError = 9 + // The field cannot be modified because it's immutable. It's also possible + // that the field can be modified using 'create' operation but not 'update'. + RequestErrorEnum_IMMUTABLE_FIELD RequestErrorEnum_RequestError = 11 + // Received too many entries in request. + RequestErrorEnum_TOO_MANY_MUTATE_OPERATIONS RequestErrorEnum_RequestError = 13 + // Request cannot be executed by a manager account. + RequestErrorEnum_CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT RequestErrorEnum_RequestError = 14 + // Mutate request was attempting to modify a readonly field. + // For instance, Budget fields can be requested for Ad Group, + // but are read-only for adGroups:mutate. + RequestErrorEnum_CANNOT_MODIFY_FOREIGN_FIELD RequestErrorEnum_RequestError = 15 + // Enum value is not permitted. + RequestErrorEnum_INVALID_ENUM_VALUE RequestErrorEnum_RequestError = 18 + // The developer-token parameter is required for all requests. + RequestErrorEnum_DEVELOPER_TOKEN_PARAMETER_MISSING RequestErrorEnum_RequestError = 19 + // The login-customer-id parameter is required for this request. + RequestErrorEnum_LOGIN_CUSTOMER_ID_PARAMETER_MISSING RequestErrorEnum_RequestError = 20 +) + +var RequestErrorEnum_RequestError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "RESOURCE_NAME_MISSING", + 4: "RESOURCE_NAME_MALFORMED", + 17: "BAD_RESOURCE_ID", + 16: "INVALID_CUSTOMER_ID", + 5: "OPERATION_REQUIRED", + 6: "RESOURCE_NOT_FOUND", + 7: "INVALID_PAGE_TOKEN", + 8: "EXPIRED_PAGE_TOKEN", + 9: "REQUIRED_FIELD_MISSING", + 11: "IMMUTABLE_FIELD", + 13: "TOO_MANY_MUTATE_OPERATIONS", + 14: "CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT", + 15: "CANNOT_MODIFY_FOREIGN_FIELD", + 18: "INVALID_ENUM_VALUE", + 19: "DEVELOPER_TOKEN_PARAMETER_MISSING", + 20: "LOGIN_CUSTOMER_ID_PARAMETER_MISSING", +} +var RequestErrorEnum_RequestError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "RESOURCE_NAME_MISSING": 3, + "RESOURCE_NAME_MALFORMED": 4, + "BAD_RESOURCE_ID": 17, + "INVALID_CUSTOMER_ID": 16, + "OPERATION_REQUIRED": 5, + "RESOURCE_NOT_FOUND": 6, + "INVALID_PAGE_TOKEN": 7, + "EXPIRED_PAGE_TOKEN": 8, + "REQUIRED_FIELD_MISSING": 9, + "IMMUTABLE_FIELD": 11, + "TOO_MANY_MUTATE_OPERATIONS": 13, + "CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT": 14, + "CANNOT_MODIFY_FOREIGN_FIELD": 15, + "INVALID_ENUM_VALUE": 18, + "DEVELOPER_TOKEN_PARAMETER_MISSING": 19, + "LOGIN_CUSTOMER_ID_PARAMETER_MISSING": 20, +} + +func (x RequestErrorEnum_RequestError) String() string { + return proto.EnumName(RequestErrorEnum_RequestError_name, int32(x)) +} +func (RequestErrorEnum_RequestError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_request_error_7fde1cab6fa86182, []int{0, 0} +} + +// Container for enum describing possible request errors. +type RequestErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestErrorEnum) Reset() { *m = RequestErrorEnum{} } +func (m *RequestErrorEnum) String() string { return proto.CompactTextString(m) } +func (*RequestErrorEnum) ProtoMessage() {} +func (*RequestErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_request_error_7fde1cab6fa86182, []int{0} +} +func (m *RequestErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RequestErrorEnum.Unmarshal(m, b) +} +func (m *RequestErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RequestErrorEnum.Marshal(b, m, deterministic) +} +func (dst *RequestErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestErrorEnum.Merge(dst, src) +} +func (m *RequestErrorEnum) XXX_Size() int { + return xxx_messageInfo_RequestErrorEnum.Size(m) +} +func (m *RequestErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_RequestErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*RequestErrorEnum)(nil), "google.ads.googleads.v0.errors.RequestErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.RequestErrorEnum_RequestError", RequestErrorEnum_RequestError_name, RequestErrorEnum_RequestError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/request_error.proto", fileDescriptor_request_error_7fde1cab6fa86182) +} + +var fileDescriptor_request_error_7fde1cab6fa86182 = []byte{ + // 503 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x51, 0x6f, 0xd3, 0x3c, + 0x14, 0xfd, 0xba, 0xee, 0xdb, 0xc0, 0x05, 0xea, 0xb9, 0xb0, 0x89, 0x4d, 0x2a, 0xa2, 0x68, 0x42, + 0xbc, 0xa4, 0x15, 0x3c, 0xf2, 0xe4, 0xc4, 0x37, 0x91, 0xb5, 0xc4, 0x0e, 0x4e, 0x5c, 0x56, 0x54, + 0xc9, 0x2a, 0xb4, 0x8a, 0x90, 0xb6, 0x66, 0x24, 0xdb, 0x7e, 0x05, 0xbf, 0x82, 0x47, 0xfe, 0x08, + 0x12, 0x7f, 0x88, 0x57, 0xe4, 0xba, 0x0d, 0x15, 0x02, 0x9e, 0x72, 0x73, 0xee, 0x39, 0xf7, 0xdc, + 0x6b, 0x1d, 0xf4, 0xb2, 0x28, 0xcb, 0xe2, 0x62, 0x31, 0x9c, 0xcd, 0xeb, 0xa1, 0x2b, 0x6d, 0x75, + 0x3b, 0x1a, 0x2e, 0xaa, 0xaa, 0xac, 0xea, 0x61, 0xb5, 0xf8, 0x74, 0xb3, 0xa8, 0xaf, 0xcd, 0xea, + 0xd7, 0xbb, 0xaa, 0xca, 0xeb, 0x92, 0xf4, 0x1d, 0xd1, 0x9b, 0xcd, 0x6b, 0xaf, 0xd1, 0x78, 0xb7, + 0x23, 0xcf, 0x69, 0x06, 0x9f, 0x77, 0x11, 0x56, 0x4e, 0x07, 0x16, 0x81, 0xe5, 0xcd, 0xe5, 0xe0, + 0x47, 0x1b, 0xdd, 0xdb, 0x06, 0x49, 0x17, 0x75, 0xb4, 0xc8, 0x52, 0x08, 0x78, 0xc8, 0x81, 0xe1, + 0xff, 0x48, 0x07, 0xed, 0x6b, 0x71, 0x26, 0xe4, 0x5b, 0x81, 0x5b, 0xe4, 0x31, 0x7a, 0xa4, 0x20, + 0x93, 0x5a, 0x05, 0x60, 0x04, 0x4d, 0xc0, 0x24, 0x3c, 0xcb, 0xb8, 0x88, 0x70, 0x9b, 0x9c, 0xa0, + 0xa3, 0xdf, 0x5a, 0x34, 0x0e, 0xa5, 0x4a, 0x80, 0xe1, 0x5d, 0xd2, 0x43, 0x5d, 0x9f, 0x32, 0xd3, + 0x10, 0x38, 0xc3, 0x07, 0xe4, 0x08, 0xf5, 0xb8, 0x18, 0xd3, 0x98, 0x33, 0x13, 0xe8, 0x2c, 0x97, + 0x09, 0x28, 0xdb, 0xc0, 0xe4, 0x10, 0x11, 0x99, 0x82, 0xa2, 0x39, 0x97, 0xc2, 0x28, 0x78, 0xa3, + 0xb9, 0x02, 0x86, 0xff, 0xb7, 0xf8, 0x2f, 0x0b, 0x99, 0x9b, 0x50, 0x6a, 0xc1, 0xf0, 0x9e, 0xc5, + 0x37, 0x83, 0x52, 0x1a, 0x81, 0xc9, 0xe5, 0x19, 0x08, 0xbc, 0x6f, 0x71, 0x38, 0x4f, 0xad, 0x78, + 0x1b, 0xbf, 0x43, 0x8e, 0xd1, 0xe1, 0x66, 0xaa, 0x09, 0x39, 0xc4, 0xac, 0x39, 0xe3, 0xae, 0xdd, + 0x94, 0x27, 0x89, 0xce, 0xa9, 0x1f, 0x83, 0x6b, 0xe2, 0x0e, 0xe9, 0xa3, 0xe3, 0x5c, 0x4a, 0x93, + 0x50, 0x31, 0x31, 0xb6, 0x97, 0x83, 0x69, 0x16, 0xcc, 0xf0, 0x7d, 0xf2, 0x02, 0x9d, 0x06, 0x54, + 0xd8, 0x95, 0x7c, 0x30, 0x70, 0x0e, 0x81, 0xce, 0x81, 0x19, 0x7f, 0x62, 0x15, 0x34, 0x02, 0x65, + 0x68, 0x10, 0x48, 0x2d, 0x72, 0xfc, 0x80, 0x3c, 0x41, 0x27, 0x6b, 0x6a, 0x22, 0x19, 0x0f, 0x27, + 0x26, 0x94, 0x0a, 0x78, 0x24, 0xd6, 0x5e, 0xdd, 0xed, 0x63, 0x40, 0xe8, 0xc4, 0x8c, 0x69, 0xac, + 0x01, 0x13, 0x72, 0x8a, 0x9e, 0x32, 0x18, 0x43, 0x6c, 0x8d, 0xdd, 0x25, 0x26, 0xa5, 0x8a, 0x26, + 0x90, 0x83, 0x6a, 0xf6, 0xef, 0x91, 0xe7, 0xe8, 0x59, 0x2c, 0x23, 0x2e, 0xb6, 0x9f, 0xf4, 0x0f, + 0xc4, 0x87, 0xfe, 0xb7, 0x16, 0x1a, 0x7c, 0x28, 0x2f, 0xbd, 0x7f, 0xa7, 0xc6, 0x3f, 0xd8, 0x4e, + 0x47, 0x6a, 0x83, 0x96, 0xb6, 0xde, 0xb1, 0xb5, 0xa8, 0x28, 0x2f, 0x66, 0xcb, 0xc2, 0x2b, 0xab, + 0x62, 0x58, 0x2c, 0x96, 0xab, 0x18, 0x6e, 0xe2, 0x7a, 0xf5, 0xb1, 0xfe, 0x5b, 0x7a, 0x5f, 0xbb, + 0xcf, 0x97, 0x9d, 0x76, 0x44, 0xe9, 0xd7, 0x9d, 0x7e, 0xe4, 0x86, 0xd1, 0x79, 0xed, 0xb9, 0xd2, + 0x56, 0xe3, 0x91, 0xb7, 0xb2, 0xac, 0xbf, 0x6f, 0x08, 0x53, 0x3a, 0xaf, 0xa7, 0x0d, 0x61, 0x3a, + 0x1e, 0x4d, 0x1d, 0xe1, 0xfd, 0xde, 0xca, 0xf8, 0xd5, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, + 0xab, 0xbb, 0xa7, 0x35, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_access_denied_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_access_denied_error.pb.go new file mode 100644 index 000000000..3e79a521d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_access_denied_error.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/resource_access_denied_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible resource access denied errors. +type ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError int32 + +const ( + // Enum unspecified. + ResourceAccessDeniedErrorEnum_UNSPECIFIED ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError = 0 + // The received error code is not known in this version. + ResourceAccessDeniedErrorEnum_UNKNOWN ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError = 1 + // User did not have write access. + ResourceAccessDeniedErrorEnum_WRITE_ACCESS_DENIED ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError = 3 +) + +var ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "WRITE_ACCESS_DENIED", +} +var ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "WRITE_ACCESS_DENIED": 3, +} + +func (x ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError) String() string { + return proto.EnumName(ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name, int32(x)) +} +func (ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resource_access_denied_error_b80c60a02ee829fa, []int{0, 0} +} + +// Container for enum describing possible resource access denied errors. +type ResourceAccessDeniedErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResourceAccessDeniedErrorEnum) Reset() { *m = ResourceAccessDeniedErrorEnum{} } +func (m *ResourceAccessDeniedErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ResourceAccessDeniedErrorEnum) ProtoMessage() {} +func (*ResourceAccessDeniedErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_resource_access_denied_error_b80c60a02ee829fa, []int{0} +} +func (m *ResourceAccessDeniedErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourceAccessDeniedErrorEnum.Unmarshal(m, b) +} +func (m *ResourceAccessDeniedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourceAccessDeniedErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ResourceAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceAccessDeniedErrorEnum.Merge(dst, src) +} +func (m *ResourceAccessDeniedErrorEnum) XXX_Size() int { + return xxx_messageInfo_ResourceAccessDeniedErrorEnum.Size(m) +} +func (m *ResourceAccessDeniedErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceAccessDeniedErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourceAccessDeniedErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ResourceAccessDeniedErrorEnum)(nil), "google.ads.googleads.v0.errors.ResourceAccessDeniedErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError", ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name, ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/resource_access_denied_error.proto", fileDescriptor_resource_access_denied_error_b80c60a02ee829fa) +} + +var fileDescriptor_resource_access_denied_error_b80c60a02ee829fa = []byte{ + // 275 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0xed, 0x06, 0x0a, 0xd9, 0xc1, 0x51, 0x0f, 0xe2, 0xc1, 0x1e, 0xfa, 0x00, 0x69, 0xc1, + 0xa3, 0xa7, 0xac, 0x8d, 0xa3, 0x08, 0xb1, 0xb4, 0x6e, 0x03, 0x29, 0x84, 0xda, 0x84, 0x30, 0xd8, + 0x9a, 0x91, 0xcf, 0xed, 0x81, 0x3c, 0xfa, 0x28, 0x9e, 0x7d, 0x20, 0x49, 0xb2, 0xed, 0xd6, 0x9d, + 0xfa, 0x87, 0xef, 0xd7, 0xdf, 0x3f, 0xdf, 0x87, 0x88, 0xd2, 0x5a, 0x6d, 0x64, 0xd2, 0x0a, 0x48, + 0x7c, 0xb4, 0xe9, 0x90, 0x26, 0xd2, 0x18, 0x6d, 0x20, 0x31, 0x12, 0xf4, 0xde, 0x74, 0x92, 0xb7, + 0x5d, 0x27, 0x01, 0xb8, 0x90, 0xfd, 0x5a, 0x0a, 0xee, 0xa6, 0x78, 0x67, 0xf4, 0x97, 0x0e, 0x23, + 0xff, 0x1f, 0x6e, 0x05, 0xe0, 0xb3, 0x02, 0x1f, 0x52, 0xec, 0x15, 0x31, 0xa0, 0xc7, 0xea, 0x68, + 0x21, 0x4e, 0x92, 0x3b, 0x07, 0xb5, 0x53, 0xda, 0xef, 0xb7, 0x71, 0x85, 0x1e, 0x06, 0x81, 0xf0, + 0x16, 0x4d, 0x16, 0xac, 0x2e, 0x69, 0x56, 0xbc, 0x14, 0x34, 0x9f, 0x5e, 0x85, 0x13, 0x74, 0xb3, + 0x60, 0xaf, 0xec, 0x6d, 0xc5, 0xa6, 0x41, 0x78, 0x8f, 0xee, 0x56, 0x55, 0xf1, 0x4e, 0x39, 0xc9, + 0x32, 0x5a, 0xd7, 0x3c, 0xa7, 0xcc, 0x52, 0xe3, 0xd9, 0x5f, 0x80, 0xe2, 0x4e, 0x6f, 0xf1, 0xe5, + 0xb7, 0xcd, 0xa2, 0xc1, 0xe2, 0xd2, 0xee, 0x56, 0x06, 0x1f, 0xf9, 0xd1, 0xa0, 0xf4, 0xa6, 0xed, + 0x15, 0xd6, 0x46, 0x25, 0x4a, 0xf6, 0x6e, 0xf3, 0xd3, 0xc1, 0x76, 0x6b, 0x18, 0xba, 0xdf, 0xb3, + 0xff, 0x7c, 0x8f, 0xc6, 0x73, 0x42, 0x7e, 0x46, 0xd1, 0xdc, 0xcb, 0x88, 0x00, 0xec, 0xa3, 0x4d, + 0xcb, 0x14, 0xbb, 0x4a, 0xf8, 0x3d, 0x01, 0x0d, 0x11, 0xd0, 0x9c, 0x81, 0x66, 0x99, 0x36, 0x1e, + 0xf8, 0xbc, 0x76, 0xc5, 0x4f, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x64, 0xcb, 0xa6, 0x9e, 0xb7, + 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_count_limit_exceeded_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_count_limit_exceeded_error.pb.go new file mode 100644 index 000000000..28230b158 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/resource_count_limit_exceeded_error.pb.go @@ -0,0 +1,167 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/resource_count_limit_exceeded_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible resource count limit exceeded errors. +type ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError int32 + +const ( + // Enum unspecified. + ResourceCountLimitExceededErrorEnum_UNSPECIFIED ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 0 + // The received error code is not known in this version. + ResourceCountLimitExceededErrorEnum_UNKNOWN ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 1 + // Indicates that this request would exceed the number of allowed resources + // for the Google Ads account. The exact resource type and limit being + // checked + // can be inferred from accountLimitType. + ResourceCountLimitExceededErrorEnum_ACCOUNT_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 2 + // Indicates that this request would exceed the number of allowed resources + // in a Campaign. The exact resource type and limit being checked can be + // inferred from accountLimitType, and the numeric id of the + // Campaign involved is given by enclosingId. + ResourceCountLimitExceededErrorEnum_CAMPAIGN_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 3 + // Indicates that this request would exceed the number of allowed resources + // in an ad group. The exact resource type and limit being checked can be + // inferred from accountLimitType, and the numeric id of the + // ad group involved is given by enclosingId. + ResourceCountLimitExceededErrorEnum_ADGROUP_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 4 + // Indicates that this request would exceed the number of allowed resources + // in an ad group ad. The exact resource type and limit being checked can + // be inferred from accountLimitType, and the enclosingId + // contains the ad group id followed by the ad id, separated by a single + // comma (,). + ResourceCountLimitExceededErrorEnum_AD_GROUP_AD_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 5 + // Indicates that this request would exceed the number of allowed resources + // in an ad group criterion. The exact resource type and limit being checked + // can be inferred from accountLimitType, and the + // enclosingId contains the ad group id followed by the + // criterion id, separated by a single comma (,). + ResourceCountLimitExceededErrorEnum_AD_GROUP_CRITERION_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 6 + // Indicates that this request would exceed the number of allowed resources + // in this shared set. The exact resource type and limit being checked can + // be inferred from accountLimitType, and the numeric id of the + // shared set involved is given by enclosingId. + ResourceCountLimitExceededErrorEnum_SHARED_SET_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 7 + // Exceeds a limit related to a matching function. + ResourceCountLimitExceededErrorEnum_MATCHING_FUNCTION_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 8 + // The response for this request would exceed the maximum number of rows + // that can be returned. + ResourceCountLimitExceededErrorEnum_RESPONSE_ROW_LIMIT_EXCEEDED ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 9 +) + +var ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ACCOUNT_LIMIT", + 3: "CAMPAIGN_LIMIT", + 4: "ADGROUP_LIMIT", + 5: "AD_GROUP_AD_LIMIT", + 6: "AD_GROUP_CRITERION_LIMIT", + 7: "SHARED_SET_LIMIT", + 8: "MATCHING_FUNCTION_LIMIT", + 9: "RESPONSE_ROW_LIMIT_EXCEEDED", +} +var ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ACCOUNT_LIMIT": 2, + "CAMPAIGN_LIMIT": 3, + "ADGROUP_LIMIT": 4, + "AD_GROUP_AD_LIMIT": 5, + "AD_GROUP_CRITERION_LIMIT": 6, + "SHARED_SET_LIMIT": 7, + "MATCHING_FUNCTION_LIMIT": 8, + "RESPONSE_ROW_LIMIT_EXCEEDED": 9, +} + +func (x ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) String() string { + return proto.EnumName(ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, int32(x)) +} +func (ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resource_count_limit_exceeded_error_f3bc7c2ea6e6b0d7, []int{0, 0} +} + +// Container for enum describing possible resource count limit exceeded errors. +type ResourceCountLimitExceededErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResourceCountLimitExceededErrorEnum) Reset() { *m = ResourceCountLimitExceededErrorEnum{} } +func (m *ResourceCountLimitExceededErrorEnum) String() string { return proto.CompactTextString(m) } +func (*ResourceCountLimitExceededErrorEnum) ProtoMessage() {} +func (*ResourceCountLimitExceededErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_resource_count_limit_exceeded_error_f3bc7c2ea6e6b0d7, []int{0} +} +func (m *ResourceCountLimitExceededErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Unmarshal(m, b) +} +func (m *ResourceCountLimitExceededErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Marshal(b, m, deterministic) +} +func (dst *ResourceCountLimitExceededErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Merge(dst, src) +} +func (m *ResourceCountLimitExceededErrorEnum) XXX_Size() int { + return xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Size(m) +} +func (m *ResourceCountLimitExceededErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceCountLimitExceededErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourceCountLimitExceededErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ResourceCountLimitExceededErrorEnum)(nil), "google.ads.googleads.v0.errors.ResourceCountLimitExceededErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError", ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/resource_count_limit_exceeded_error.proto", fileDescriptor_resource_count_limit_exceeded_error_f3bc7c2ea6e6b0d7) +} + +var fileDescriptor_resource_count_limit_exceeded_error_f3bc7c2ea6e6b0d7 = []byte{ + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x8b, 0xd3, 0x40, + 0x18, 0xc6, 0x6d, 0x56, 0x77, 0x75, 0x16, 0x35, 0x3b, 0x28, 0x0a, 0x2b, 0xbb, 0x50, 0x3d, 0x4f, + 0x02, 0x1e, 0x3d, 0xcd, 0xce, 0xcc, 0xa6, 0x83, 0xdb, 0x49, 0xc8, 0x9f, 0x56, 0x24, 0x30, 0xd4, + 0x64, 0x08, 0x85, 0x36, 0x53, 0x32, 0x6d, 0xf1, 0xec, 0x47, 0xf1, 0xd8, 0x8f, 0xe2, 0x47, 0xf0, + 0xd3, 0x48, 0x32, 0x49, 0x3d, 0x69, 0x4f, 0x79, 0x78, 0xf8, 0xcd, 0xef, 0x85, 0xf7, 0x0d, 0x98, + 0x54, 0x5a, 0x57, 0x2b, 0xe5, 0x2d, 0x4a, 0xe3, 0xd9, 0xd8, 0xa6, 0xbd, 0xef, 0xa9, 0xa6, 0xd1, + 0x8d, 0xf1, 0x1a, 0x65, 0xf4, 0xae, 0x29, 0x94, 0x2c, 0xf4, 0xae, 0xde, 0xca, 0xd5, 0x72, 0xbd, + 0xdc, 0x4a, 0xf5, 0xbd, 0x50, 0xaa, 0x54, 0xa5, 0xec, 0x20, 0xb4, 0x69, 0xf4, 0x56, 0xc3, 0x1b, + 0xfb, 0x1c, 0x2d, 0x4a, 0x83, 0x8e, 0x26, 0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, 0x95, 0x5e, + 0x2d, 0xea, 0x0a, 0xe9, 0xa6, 0xf2, 0x2a, 0x55, 0x77, 0x77, 0x1b, 0xae, 0xbe, 0x59, 0x9a, 0x7f, + 0xfd, 0x04, 0x9f, 0xec, 0xe7, 0xa7, 0x73, 0x16, 0x60, 0x7c, 0x70, 0x6e, 0x02, 0x2b, 0xc3, 0xa5, + 0x41, 0x36, 0xb6, 0x69, 0xe6, 0xa3, 0x6e, 0xa4, 0xf9, 0x35, 0x00, 0x39, 0x2e, 0x4d, 0x7e, 0x04, + 0xf2, 0x99, 0x9f, 0x5b, 0xe0, 0xdb, 0x79, 0x37, 0xf8, 0xe3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0xd2, 0x18, 0x76, 0xc6, 0x7c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/setting_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/setting_error.pb.go new file mode 100644 index 000000000..0669c7ab6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/setting_error.pb.go @@ -0,0 +1,208 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/setting_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible setting errors. +type SettingErrorEnum_SettingError int32 + +const ( + // Enum unspecified. + SettingErrorEnum_UNSPECIFIED SettingErrorEnum_SettingError = 0 + // The received error code is not known in this version. + SettingErrorEnum_UNKNOWN SettingErrorEnum_SettingError = 1 + // The campaign setting is not available for this Google Ads account. + SettingErrorEnum_SETTING_TYPE_IS_NOT_AVAILABLE SettingErrorEnum_SettingError = 3 + // The setting is not compatible with the campaign. + SettingErrorEnum_SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN SettingErrorEnum_SettingError = 4 + // The supplied TargetingSetting contains an invalid CriterionTypeGroup. See + // CriterionTypeGroup documentation for CriterionTypeGroups allowed + // in Campaign or AdGroup TargetingSettings. + SettingErrorEnum_TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP SettingErrorEnum_SettingError = 5 + // TargetingSetting must not explicitly + // set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, + // PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in + // which case the system will set them to true automatically). + SettingErrorEnum_TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL SettingErrorEnum_SettingError = 6 + // TargetingSetting cannot change any of + // the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, + // INCOME_RANGE) from true to false. + SettingErrorEnum_TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP SettingErrorEnum_SettingError = 7 + // At least one feed id should be present. + SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT SettingErrorEnum_SettingError = 8 + // The supplied DynamicSearchAdsSetting contains an invalid domain name. + SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME SettingErrorEnum_SettingError = 9 + // The supplied DynamicSearchAdsSetting contains a subdomain name. + SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME SettingErrorEnum_SettingError = 10 + // The supplied DynamicSearchAdsSetting contains an invalid language code. + SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE SettingErrorEnum_SettingError = 11 + // TargetingSettings in search campaigns should not have + // CriterionTypeGroup.PLACEMENT set to targetAll. + SettingErrorEnum_TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN SettingErrorEnum_SettingError = 12 + // Duplicate description in universal app setting description field. + SettingErrorEnum_UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION SettingErrorEnum_SettingError = 13 + // Description line width is too long in universal app setting description + // field. + SettingErrorEnum_UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG SettingErrorEnum_SettingError = 14 + // Universal app setting appId field cannot be modified for COMPLETE + // campaigns. + SettingErrorEnum_UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED SettingErrorEnum_SettingError = 15 + // YoutubeVideoMediaIds in universal app setting cannot exceed size limit. + SettingErrorEnum_TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN SettingErrorEnum_SettingError = 16 + // ImageMediaIds in universal app setting cannot exceed size limit. + SettingErrorEnum_TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN SettingErrorEnum_SettingError = 17 + // Media is incompatible for universal app campaign. + SettingErrorEnum_MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN SettingErrorEnum_SettingError = 18 + // Too many exclamation marks in universal app campaign ad text ideas. + SettingErrorEnum_TOO_MANY_EXCLAMATION_MARKS SettingErrorEnum_SettingError = 19 +) + +var SettingErrorEnum_SettingError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 3: "SETTING_TYPE_IS_NOT_AVAILABLE", + 4: "SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN", + 5: "TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP", + 6: "TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL", + 7: "TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP", + 8: "DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT", + 9: "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME", + 10: "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME", + 11: "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE", + 12: "TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN", + 13: "UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION", + 14: "UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG", + 15: "UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED", + 16: "TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN", + 17: "TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN", + 18: "MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN", + 19: "TOO_MANY_EXCLAMATION_MARKS", +} +var SettingErrorEnum_SettingError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "SETTING_TYPE_IS_NOT_AVAILABLE": 3, + "SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN": 4, + "TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP": 5, + "TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL": 6, + "TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP": 7, + "DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT": 8, + "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME": 9, + "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME": 10, + "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE": 11, + "TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN": 12, + "UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION": 13, + "UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG": 14, + "UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED": 15, + "TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN": 16, + "TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN": 17, + "MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN": 18, + "TOO_MANY_EXCLAMATION_MARKS": 19, +} + +func (x SettingErrorEnum_SettingError) String() string { + return proto.EnumName(SettingErrorEnum_SettingError_name, int32(x)) +} +func (SettingErrorEnum_SettingError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_setting_error_eba8811c43ea9e48, []int{0, 0} +} + +// Container for enum describing possible setting errors. +type SettingErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingErrorEnum) Reset() { *m = SettingErrorEnum{} } +func (m *SettingErrorEnum) String() string { return proto.CompactTextString(m) } +func (*SettingErrorEnum) ProtoMessage() {} +func (*SettingErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_setting_error_eba8811c43ea9e48, []int{0} +} +func (m *SettingErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingErrorEnum.Unmarshal(m, b) +} +func (m *SettingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingErrorEnum.Marshal(b, m, deterministic) +} +func (dst *SettingErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingErrorEnum.Merge(dst, src) +} +func (m *SettingErrorEnum) XXX_Size() int { + return xxx_messageInfo_SettingErrorEnum.Size(m) +} +func (m *SettingErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SettingErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SettingErrorEnum)(nil), "google.ads.googleads.v0.errors.SettingErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.SettingErrorEnum_SettingError", SettingErrorEnum_SettingError_name, SettingErrorEnum_SettingError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/setting_error.proto", fileDescriptor_setting_error_eba8811c43ea9e48) +} + +var fileDescriptor_setting_error_eba8811c43ea9e48 = []byte{ + // 655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x6f, 0x23, 0x35, + 0x10, 0xc7, 0xe9, 0x1d, 0xdc, 0x15, 0xf7, 0xe0, 0x7c, 0xe6, 0x0d, 0x89, 0x4a, 0xf4, 0x19, 0x36, + 0xe1, 0x40, 0x50, 0x28, 0x14, 0xcd, 0xae, 0x27, 0x1b, 0xab, 0x5e, 0x7b, 0x59, 0x7b, 0xd3, 0x06, + 0x45, 0x1a, 0x15, 0x12, 0x45, 0x95, 0xda, 0x6c, 0x95, 0x2d, 0xfd, 0x83, 0x78, 0x83, 0x3f, 0x82, + 0x57, 0x24, 0xfe, 0x2a, 0xe4, 0xdd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4d, 0x9b, 0x16, 0xb6, 0xcc, 0xf9, + 0x07, 0xe2, 0x17, 0x96, 0xdd, 0x85, 0x25, 0x66, 0x36, 0x2d, 0x20, 0x1f, 0xaa, 0x64, 0x23, 0xe7, + 0x28, 0x2b, 0x9d, 0xa7, 0x18, 0x03, 0x41, 0xde, 0x52, 0x9b, 0x82, 0x40, 0x6b, 0xfe, 0x42, 0x4c, + 0xd8, 0xc9, 0x86, 0xf3, 0x80, 0x69, 0x3e, 0x63, 0x08, 0x26, 0xc5, 0x35, 0x7d, 0xa0, 0x07, 0xa0, + 0x1d, 0xd2, 0xc0, 0x16, 0x8f, 0x16, 0xe6, 0x2f, 0x45, 0xc2, 0x7e, 0x96, 0x63, 0x03, 0x99, 0x4a, + 0xc8, 0x21, 0x14, 0xc9, 0x90, 0x40, 0xba, 0xae, 0x0c, 0x78, 0xd2, 0x08, 0xce, 0x93, 0x35, 0x48, + 0x03, 0x44, 0x49, 0x4a, 0x76, 0x87, 0xcd, 0x0b, 0x74, 0x68, 0x3c, 0xdf, 0x0e, 0x96, 0x3d, 0x90, + 0xe4, 0x8e, 0x77, 0xd2, 0x66, 0xa0, 0x0c, 0x19, 0xc8, 0x90, 0x7f, 0x28, 0xbe, 0x65, 0x6f, 0x9f, + 0x02, 0xbb, 0x32, 0x5e, 0xe7, 0x98, 0xf8, 0x89, 0x7d, 0xff, 0x2e, 0x45, 0x35, 0x98, 0xb4, 0x84, + 0x14, 0x29, 0xb1, 0x12, 0xf9, 0x8e, 0x38, 0x64, 0x3f, 0xac, 0xd9, 0xb6, 0xea, 0x1c, 0xad, 0xed, + 0x31, 0xca, 0xc6, 0xbc, 0x5c, 0x43, 0x82, 0x19, 0x1a, 0x4f, 0xca, 0xac, 0x2a, 0x74, 0x6d, 0xf2, + 0x4a, 0xec, 0xb3, 0x6f, 0x4a, 0xa3, 0x46, 0x58, 0x38, 0xd0, 0x04, 0x79, 0xde, 0xed, 0xdd, 0x5e, + 0x7b, 0x99, 0x6b, 0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xa3, 0x7e, 0xd4, 0x94, 0xac, 0xff, 0x5b, + 0x09, 0x26, 0x30, 0xad, 0x27, 0x9d, 0x60, 0x32, 0xea, 0x4f, 0x5a, 0xc1, 0x6f, 0x2f, 0x9a, 0xc2, + 0x5f, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xff, 0x66, 0x02, 0xb2, 0x67, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_criterion_error.pb.go new file mode 100644 index 000000000..3aa3e1735 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_criterion_error.pb.go @@ -0,0 +1,112 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/shared_criterion_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible shared criterion errors. +type SharedCriterionErrorEnum_SharedCriterionError int32 + +const ( + // Enum unspecified. + SharedCriterionErrorEnum_UNSPECIFIED SharedCriterionErrorEnum_SharedCriterionError = 0 + // The received error code is not known in this version. + SharedCriterionErrorEnum_UNKNOWN SharedCriterionErrorEnum_SharedCriterionError = 1 + // The criterion is not appropriate for the shared set type. + SharedCriterionErrorEnum_CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE SharedCriterionErrorEnum_SharedCriterionError = 2 +) + +var SharedCriterionErrorEnum_SharedCriterionError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE", +} +var SharedCriterionErrorEnum_SharedCriterionError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE": 2, +} + +func (x SharedCriterionErrorEnum_SharedCriterionError) String() string { + return proto.EnumName(SharedCriterionErrorEnum_SharedCriterionError_name, int32(x)) +} +func (SharedCriterionErrorEnum_SharedCriterionError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_error_29250238080bbe7a, []int{0, 0} +} + +// Container for enum describing possible shared criterion errors. +type SharedCriterionErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedCriterionErrorEnum) Reset() { *m = SharedCriterionErrorEnum{} } +func (m *SharedCriterionErrorEnum) String() string { return proto.CompactTextString(m) } +func (*SharedCriterionErrorEnum) ProtoMessage() {} +func (*SharedCriterionErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_error_29250238080bbe7a, []int{0} +} +func (m *SharedCriterionErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedCriterionErrorEnum.Unmarshal(m, b) +} +func (m *SharedCriterionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedCriterionErrorEnum.Marshal(b, m, deterministic) +} +func (dst *SharedCriterionErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedCriterionErrorEnum.Merge(dst, src) +} +func (m *SharedCriterionErrorEnum) XXX_Size() int { + return xxx_messageInfo_SharedCriterionErrorEnum.Size(m) +} +func (m *SharedCriterionErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SharedCriterionErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedCriterionErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SharedCriterionErrorEnum)(nil), "google.ads.googleads.v0.errors.SharedCriterionErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.SharedCriterionErrorEnum_SharedCriterionError", SharedCriterionErrorEnum_SharedCriterionError_name, SharedCriterionErrorEnum_SharedCriterionError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/shared_criterion_error.proto", fileDescriptor_shared_criterion_error_29250238080bbe7a) +} + +var fileDescriptor_shared_criterion_error_29250238080bbe7a = []byte{ + // 294 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0x83, 0x30, + 0x1c, 0xc6, 0x05, 0x13, 0x4d, 0xba, 0x83, 0x84, 0x78, 0xd0, 0xcb, 0x0e, 0x3c, 0x40, 0x21, 0x7a, + 0xdc, 0xa9, 0x83, 0x6e, 0x12, 0x97, 0x42, 0x80, 0x6d, 0xd1, 0x90, 0x34, 0x38, 0x9a, 0x8e, 0x64, + 0xa3, 0x4b, 0x3b, 0xf7, 0x04, 0x3e, 0x89, 0x47, 0x1f, 0xc5, 0x8b, 0xaf, 0x64, 0x68, 0x65, 0xa7, + 0xb9, 0x13, 0x5f, 0xf8, 0xbe, 0xdf, 0xff, 0xff, 0xef, 0x07, 0x46, 0x5c, 0x08, 0xbe, 0x61, 0x7e, + 0x55, 0x2b, 0xdf, 0xc8, 0x4e, 0x1d, 0x02, 0x9f, 0x49, 0x29, 0xa4, 0xf2, 0xd5, 0xba, 0x92, 0xac, + 0xa6, 0x2b, 0xd9, 0xec, 0x99, 0x6c, 0x44, 0x4b, 0xf5, 0x7f, 0xb8, 0x93, 0x62, 0x2f, 0xdc, 0xa1, + 0x21, 0x60, 0x55, 0x2b, 0x78, 0x84, 0xe1, 0x21, 0x80, 0x06, 0xf6, 0x3e, 0x2c, 0x70, 0x97, 0xeb, + 0x01, 0x61, 0xcf, 0xe3, 0xce, 0xc1, 0xed, 0xfb, 0xd6, 0x5b, 0x83, 0xdb, 0x53, 0x9e, 0x7b, 0x03, + 0x06, 0x73, 0x92, 0xa7, 0x38, 0x8c, 0x27, 0x31, 0x8e, 0x9c, 0x0b, 0x77, 0x00, 0xae, 0xe7, 0xe4, + 0x99, 0x24, 0x4b, 0xe2, 0x58, 0xee, 0x03, 0x80, 0x61, 0x16, 0x17, 0x38, 0x8b, 0x13, 0x42, 0x8b, + 0x97, 0x14, 0x53, 0x92, 0x14, 0x14, 0xcd, 0x66, 0xc9, 0x12, 0x47, 0x74, 0x92, 0x64, 0x34, 0x7f, + 0x42, 0x19, 0x8e, 0x68, 0x8e, 0x0b, 0xed, 0x3b, 0xf6, 0xf8, 0xc7, 0x02, 0xde, 0x4a, 0x6c, 0xe1, + 0xf9, 0x6b, 0xc7, 0xf7, 0xa7, 0xce, 0x49, 0xbb, 0x87, 0xa6, 0xd6, 0x6b, 0xf4, 0x07, 0x73, 0xb1, + 0xa9, 0x5a, 0x0e, 0x85, 0xe4, 0x3e, 0x67, 0xad, 0xae, 0xa1, 0xef, 0x6d, 0xd7, 0xa8, 0xff, 0x6a, + 0x1c, 0x99, 0xcf, 0xa7, 0x7d, 0x39, 0x45, 0xe8, 0xcb, 0x1e, 0x4e, 0xcd, 0x30, 0x54, 0x2b, 0x68, + 0x64, 0xa7, 0x16, 0x01, 0xd4, 0x2b, 0xd5, 0x77, 0x1f, 0x28, 0x51, 0xad, 0xca, 0x63, 0xa0, 0x5c, + 0x04, 0xa5, 0x09, 0xbc, 0x5d, 0xe9, 0xc5, 0x8f, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x15, + 0x2d, 0x19, 0xbe, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_set_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_set_error.pb.go new file mode 100644 index 000000000..33647a176 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/shared_set_error.pb.go @@ -0,0 +1,126 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/shared_set_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible shared set errors. +type SharedSetErrorEnum_SharedSetError int32 + +const ( + // Enum unspecified. + SharedSetErrorEnum_UNSPECIFIED SharedSetErrorEnum_SharedSetError = 0 + // The received error code is not known in this version. + SharedSetErrorEnum_UNKNOWN SharedSetErrorEnum_SharedSetError = 1 + // The customer cannot create this type of shared set. + SharedSetErrorEnum_CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE SharedSetErrorEnum_SharedSetError = 2 + // A shared set with this name already exists. + SharedSetErrorEnum_DUPLICATE_NAME SharedSetErrorEnum_SharedSetError = 3 + // Removed shared sets cannot be mutated. + SharedSetErrorEnum_SHARED_SET_REMOVED SharedSetErrorEnum_SharedSetError = 4 + // The shared set cannot be removed because it is in use. + SharedSetErrorEnum_SHARED_SET_IN_USE SharedSetErrorEnum_SharedSetError = 5 +) + +var SharedSetErrorEnum_SharedSetError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE", + 3: "DUPLICATE_NAME", + 4: "SHARED_SET_REMOVED", + 5: "SHARED_SET_IN_USE", +} +var SharedSetErrorEnum_SharedSetError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE": 2, + "DUPLICATE_NAME": 3, + "SHARED_SET_REMOVED": 4, + "SHARED_SET_IN_USE": 5, +} + +func (x SharedSetErrorEnum_SharedSetError) String() string { + return proto.EnumName(SharedSetErrorEnum_SharedSetError_name, int32(x)) +} +func (SharedSetErrorEnum_SharedSetError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_shared_set_error_15982e85f8f1e082, []int{0, 0} +} + +// Container for enum describing possible shared set errors. +type SharedSetErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedSetErrorEnum) Reset() { *m = SharedSetErrorEnum{} } +func (m *SharedSetErrorEnum) String() string { return proto.CompactTextString(m) } +func (*SharedSetErrorEnum) ProtoMessage() {} +func (*SharedSetErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_error_15982e85f8f1e082, []int{0} +} +func (m *SharedSetErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedSetErrorEnum.Unmarshal(m, b) +} +func (m *SharedSetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedSetErrorEnum.Marshal(b, m, deterministic) +} +func (dst *SharedSetErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedSetErrorEnum.Merge(dst, src) +} +func (m *SharedSetErrorEnum) XXX_Size() int { + return xxx_messageInfo_SharedSetErrorEnum.Size(m) +} +func (m *SharedSetErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_SharedSetErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedSetErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SharedSetErrorEnum)(nil), "google.ads.googleads.v0.errors.SharedSetErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.SharedSetErrorEnum_SharedSetError", SharedSetErrorEnum_SharedSetError_name, SharedSetErrorEnum_SharedSetError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/shared_set_error.proto", fileDescriptor_shared_set_error_15982e85f8f1e082) +} + +var fileDescriptor_shared_set_error_15982e85f8f1e082 = []byte{ + // 328 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30, + 0x18, 0xc5, 0xed, 0xe6, 0x1f, 0xc8, 0x60, 0xd6, 0x88, 0x5e, 0xee, 0x62, 0x0f, 0x90, 0x16, 0xc5, + 0x2b, 0xaf, 0xb2, 0xf6, 0xdb, 0x56, 0x74, 0x69, 0x69, 0xda, 0x89, 0x52, 0x08, 0xd5, 0x96, 0x2a, + 0x6c, 0xcb, 0x68, 0xea, 0x1e, 0x48, 0xf0, 0xc6, 0x67, 0xf0, 0x05, 0xf4, 0xa9, 0xa4, 0x8d, 0x1b, + 0xdb, 0x85, 0x5e, 0xe5, 0x70, 0x38, 0xbf, 0x7c, 0x9c, 0x83, 0xae, 0x0a, 0x29, 0x8b, 0x59, 0x6e, + 0xa5, 0x99, 0xb2, 0xb4, 0xac, 0xd5, 0xca, 0xb6, 0xf2, 0xb2, 0x94, 0xa5, 0xb2, 0xd4, 0x73, 0x5a, + 0xe6, 0x99, 0x50, 0x79, 0x25, 0x1a, 0x87, 0x2c, 0x4b, 0x59, 0x49, 0xdc, 0xd3, 0x59, 0x92, 0x66, + 0x8a, 0x6c, 0x30, 0xb2, 0xb2, 0x89, 0xc6, 0xfa, 0x9f, 0x06, 0xc2, 0xbc, 0x41, 0x79, 0x5e, 0x41, + 0xed, 0xc1, 0xe2, 0x75, 0xde, 0x7f, 0x37, 0x50, 0x77, 0xd7, 0xc6, 0xc7, 0xa8, 0x13, 0x33, 0x1e, + 0x80, 0xe3, 0x0d, 0x3d, 0x70, 0xcd, 0x3d, 0xdc, 0x41, 0x47, 0x31, 0xbb, 0x61, 0xfe, 0x1d, 0x33, + 0x0d, 0x7c, 0x81, 0x88, 0x13, 0xf3, 0xc8, 0x9f, 0x40, 0x28, 0x1c, 0xca, 0x98, 0x1f, 0x09, 0x27, + 0x04, 0x1a, 0x81, 0xe0, 0x63, 0x1a, 0x82, 0x2b, 0x38, 0x44, 0xc2, 0x1f, 0x8a, 0x68, 0xec, 0x71, + 0x11, 0xdd, 0x07, 0x60, 0xb6, 0x30, 0x46, 0x5d, 0x37, 0x0e, 0x6e, 0x3d, 0xa7, 0x8e, 0x31, 0x3a, + 0x01, 0xb3, 0x8d, 0xcf, 0x11, 0xde, 0x02, 0x42, 0x98, 0xf8, 0x53, 0x70, 0xcd, 0x7d, 0x7c, 0x86, + 0x4e, 0xb6, 0x7c, 0x8f, 0x89, 0x98, 0x83, 0x79, 0x30, 0xf8, 0x32, 0x50, 0xff, 0x49, 0xce, 0xc9, + 0xff, 0x2d, 0x07, 0xa7, 0xbb, 0x5d, 0x82, 0x7a, 0x9a, 0xc0, 0x78, 0x70, 0x7f, 0xb1, 0x42, 0xce, + 0xd2, 0x45, 0x41, 0x64, 0x59, 0x58, 0x45, 0xbe, 0x68, 0x86, 0x5b, 0x6f, 0xbc, 0x7c, 0x51, 0x7f, + 0x4d, 0x7e, 0xad, 0x9f, 0xb7, 0x56, 0x7b, 0x44, 0xe9, 0x47, 0xab, 0x37, 0xd2, 0x9f, 0xd1, 0x4c, + 0x11, 0x2d, 0x6b, 0x35, 0xb5, 0x49, 0x73, 0x52, 0x7d, 0xaf, 0x03, 0x09, 0xcd, 0x54, 0xb2, 0x09, + 0x24, 0x53, 0x3b, 0xd1, 0x81, 0xc7, 0xc3, 0xe6, 0xf0, 0xe5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x6c, 0xdd, 0x1f, 0xfe, 0xea, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_format_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_format_error.pb.go new file mode 100644 index 000000000..30e558cc6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_format_error.pb.go @@ -0,0 +1,115 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/string_format_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible string format errors. +type StringFormatErrorEnum_StringFormatError int32 + +const ( + // Enum unspecified. + StringFormatErrorEnum_UNSPECIFIED StringFormatErrorEnum_StringFormatError = 0 + // The received error code is not known in this version. + StringFormatErrorEnum_UNKNOWN StringFormatErrorEnum_StringFormatError = 1 + // The input string value contains disallowed characters. + StringFormatErrorEnum_ILLEGAL_CHARS StringFormatErrorEnum_StringFormatError = 2 + // The input string value is invalid for the associated field. + StringFormatErrorEnum_INVALID_FORMAT StringFormatErrorEnum_StringFormatError = 3 +) + +var StringFormatErrorEnum_StringFormatError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ILLEGAL_CHARS", + 3: "INVALID_FORMAT", +} +var StringFormatErrorEnum_StringFormatError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ILLEGAL_CHARS": 2, + "INVALID_FORMAT": 3, +} + +func (x StringFormatErrorEnum_StringFormatError) String() string { + return proto.EnumName(StringFormatErrorEnum_StringFormatError_name, int32(x)) +} +func (StringFormatErrorEnum_StringFormatError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_string_format_error_507abb9d06602679, []int{0, 0} +} + +// Container for enum describing possible string format errors. +type StringFormatErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StringFormatErrorEnum) Reset() { *m = StringFormatErrorEnum{} } +func (m *StringFormatErrorEnum) String() string { return proto.CompactTextString(m) } +func (*StringFormatErrorEnum) ProtoMessage() {} +func (*StringFormatErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_string_format_error_507abb9d06602679, []int{0} +} +func (m *StringFormatErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StringFormatErrorEnum.Unmarshal(m, b) +} +func (m *StringFormatErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StringFormatErrorEnum.Marshal(b, m, deterministic) +} +func (dst *StringFormatErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_StringFormatErrorEnum.Merge(dst, src) +} +func (m *StringFormatErrorEnum) XXX_Size() int { + return xxx_messageInfo_StringFormatErrorEnum.Size(m) +} +func (m *StringFormatErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_StringFormatErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_StringFormatErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*StringFormatErrorEnum)(nil), "google.ads.googleads.v0.errors.StringFormatErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.StringFormatErrorEnum_StringFormatError", StringFormatErrorEnum_StringFormatError_name, StringFormatErrorEnum_StringFormatError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/string_format_error.proto", fileDescriptor_string_format_error_507abb9d06602679) +} + +var fileDescriptor_string_format_error_507abb9d06602679 = []byte{ + // 281 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f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 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0xd8, + 0xbf, 0xb0, 0xd0, 0x29, 0xc8, 0x2c, 0xc6, 0x15, 0x58, 0xd6, 0x10, 0x6a, 0x11, 0x13, 0xb3, 0xbb, + 0xa3, 0xe3, 0x2a, 0x26, 0x39, 0x77, 0x88, 0x61, 0x8e, 0x29, 0xc5, 0x7a, 0x10, 0x26, 0x88, 0x15, + 0x66, 0xa0, 0x07, 0xb6, 0xb2, 0xf8, 0x14, 0x4c, 0x41, 0x8c, 0x63, 0x4a, 0x71, 0x0c, 0x5c, 0x41, + 0x4c, 0x98, 0x41, 0x0c, 0x44, 0x41, 0x12, 0x1b, 0xd8, 0x62, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x2a, 0x92, 0xc6, 0x00, 0xa4, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_length_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_length_error.pb.go new file mode 100644 index 000000000..88211b3c7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/string_length_error.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/string_length_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible string length errors. +type StringLengthErrorEnum_StringLengthError int32 + +const ( + // Enum unspecified. + StringLengthErrorEnum_UNSPECIFIED StringLengthErrorEnum_StringLengthError = 0 + // The received error code is not known in this version. + StringLengthErrorEnum_UNKNOWN StringLengthErrorEnum_StringLengthError = 1 + // Too short. + StringLengthErrorEnum_TOO_SHORT StringLengthErrorEnum_StringLengthError = 2 + // Too long. + StringLengthErrorEnum_TOO_LONG StringLengthErrorEnum_StringLengthError = 3 +) + +var StringLengthErrorEnum_StringLengthError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "TOO_SHORT", + 3: "TOO_LONG", +} +var StringLengthErrorEnum_StringLengthError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "TOO_SHORT": 2, + "TOO_LONG": 3, +} + +func (x StringLengthErrorEnum_StringLengthError) String() string { + return proto.EnumName(StringLengthErrorEnum_StringLengthError_name, int32(x)) +} +func (StringLengthErrorEnum_StringLengthError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_string_length_error_0467ecd3ba05d90e, []int{0, 0} +} + +// Container for enum describing possible string length errors. +type StringLengthErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StringLengthErrorEnum) Reset() { *m = StringLengthErrorEnum{} } +func (m *StringLengthErrorEnum) String() string { return proto.CompactTextString(m) } +func (*StringLengthErrorEnum) ProtoMessage() {} +func (*StringLengthErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_string_length_error_0467ecd3ba05d90e, []int{0} +} +func (m *StringLengthErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StringLengthErrorEnum.Unmarshal(m, b) +} +func (m *StringLengthErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StringLengthErrorEnum.Marshal(b, m, deterministic) +} +func (dst *StringLengthErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_StringLengthErrorEnum.Merge(dst, src) +} +func (m *StringLengthErrorEnum) XXX_Size() int { + return xxx_messageInfo_StringLengthErrorEnum.Size(m) +} +func (m *StringLengthErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_StringLengthErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_StringLengthErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*StringLengthErrorEnum)(nil), "google.ads.googleads.v0.errors.StringLengthErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.StringLengthErrorEnum_StringLengthError", StringLengthErrorEnum_StringLengthError_name, StringLengthErrorEnum_StringLengthError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/string_length_error.proto", fileDescriptor_string_length_error_0467ecd3ba05d90e) +} + +var fileDescriptor_string_length_error_0467ecd3ba05d90e = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xd4, 0xa2, + 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xe2, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0xf8, 0x9c, 0xd4, 0xbc, 0xf4, + 0x92, 0x8c, 0x78, 0xb0, 0xa0, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, 0xb9, 0x5e, + 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xa7, 0x5e, 0x99, 0x81, 0x1e, 0x44, 0xa7, 0x52, 0x3a, 0x97, 0x68, + 0x30, 0x58, 0xb3, 0x0f, 0x58, 0xaf, 0x2b, 0x48, 0xd4, 0x35, 0xaf, 0x34, 0x57, 0xc9, 0x8f, 0x4b, + 0x10, 0x43, 0x42, 0x88, 0x9f, 0x8b, 0x3b, 0xd4, 0x2f, 0x38, 0xc0, 0xd5, 0xd9, 0xd3, 0xcd, 0xd3, + 0xd5, 0x45, 0x80, 0x41, 0x88, 0x9b, 0x8b, 0x3d, 0xd4, 0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, + 0x51, 0x88, 0x97, 0x8b, 0x33, 0xc4, 0xdf, 0x3f, 0x3e, 0xd8, 0xc3, 0x3f, 0x28, 0x44, 0x80, 0x49, + 0x88, 0x87, 0x8b, 0x03, 0xc4, 0xf5, 0xf1, 0xf7, 0x73, 0x17, 0x60, 0x76, 0x3a, 0xc3, 0xc8, 0xa5, + 0x94, 0x9c, 0x9f, 0xab, 0x87, 0xdf, 0x3d, 0x4e, 0x62, 0x18, 0x96, 0x06, 0x80, 0xfc, 0x11, 0xc0, + 0x18, 0xe5, 0x02, 0xd5, 0x99, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, + 0x9e, 0x9a, 0x07, 0xf6, 0x25, 0x2c, 0x4c, 0x0a, 0x32, 0x8b, 0x71, 0x05, 0x91, 0x35, 0x84, 0x5a, + 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x98, 0x63, 0x4a, 0xb1, 0x1e, + 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, 0x81, 0xad, 0x2c, 0x3e, 0x05, 0x53, 0x10, 0xe3, 0x98, 0x52, + 0x1c, 0x03, 0x57, 0x10, 0x13, 0x66, 0x10, 0x03, 0x51, 0x90, 0xc4, 0x06, 0xb6, 0xd8, 0x18, 0x10, + 0x00, 0x00, 0xff, 0xff, 0x2f, 0x89, 0x28, 0x9f, 0x9a, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/url_field_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/url_field_error.pb.go new file mode 100644 index 000000000..3f3e06f53 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/url_field_error.pb.go @@ -0,0 +1,359 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/url_field_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible url field errors. +type UrlFieldErrorEnum_UrlFieldError int32 + +const ( + // Enum unspecified. + UrlFieldErrorEnum_UNSPECIFIED UrlFieldErrorEnum_UrlFieldError = 0 + // The received error code is not known in this version. + UrlFieldErrorEnum_UNKNOWN UrlFieldErrorEnum_UrlFieldError = 1 + // The tracking url template is invalid. + UrlFieldErrorEnum_INVALID_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 2 + // The tracking url template contains invalid tag. + UrlFieldErrorEnum_INVALID_TAG_IN_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 3 + // The tracking url template must contain at least one tag (e.g. {lpurl}), + // This applies only to tracking url template associated with website ads or + // product ads. + UrlFieldErrorEnum_MISSING_TRACKING_URL_TEMPLATE_TAG UrlFieldErrorEnum_UrlFieldError = 4 + // The tracking url template must start with a valid protocol (or lpurl + // tag). + UrlFieldErrorEnum_MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 5 + // The tracking url template starts with an invalid protocol. + UrlFieldErrorEnum_INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 6 + // The tracking url template contains illegal characters. + UrlFieldErrorEnum_MALFORMED_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 7 + // The tracking url template must contain a host name (or lpurl tag). + UrlFieldErrorEnum_MISSING_HOST_IN_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 8 + // The tracking url template has an invalid or missing top level domain + // extension. + UrlFieldErrorEnum_INVALID_TLD_IN_TRACKING_URL_TEMPLATE UrlFieldErrorEnum_UrlFieldError = 9 + // The tracking url template contains nested occurrences of the same + // conditional tag (i.e. {ifmobile:{ifmobile:x}}). + UrlFieldErrorEnum_REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG UrlFieldErrorEnum_UrlFieldError = 10 + // The final url is invalid. + UrlFieldErrorEnum_INVALID_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 11 + // The final url contains invalid tag. + UrlFieldErrorEnum_INVALID_TAG_IN_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 12 + // The final url contains nested occurrences of the same conditional tag + // (i.e. {ifmobile:{ifmobile:x}}). + UrlFieldErrorEnum_REDUNDANT_NESTED_FINAL_URL_TAG UrlFieldErrorEnum_UrlFieldError = 13 + // The final url must start with a valid protocol. + UrlFieldErrorEnum_MISSING_PROTOCOL_IN_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 14 + // The final url starts with an invalid protocol. + UrlFieldErrorEnum_INVALID_PROTOCOL_IN_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 15 + // The final url contains illegal characters. + UrlFieldErrorEnum_MALFORMED_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 16 + // The final url must contain a host name. + UrlFieldErrorEnum_MISSING_HOST_IN_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 17 + // The tracking url template has an invalid or missing top level domain + // extension. + UrlFieldErrorEnum_INVALID_TLD_IN_FINAL_URL UrlFieldErrorEnum_UrlFieldError = 18 + // The final mobile url is invalid. + UrlFieldErrorEnum_INVALID_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 19 + // The final mobile url contains invalid tag. + UrlFieldErrorEnum_INVALID_TAG_IN_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 20 + // The final mobile url contains nested occurrences of the same conditional + // tag (i.e. {ifmobile:{ifmobile:x}}). + UrlFieldErrorEnum_REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG UrlFieldErrorEnum_UrlFieldError = 21 + // The final mobile url must start with a valid protocol. + UrlFieldErrorEnum_MISSING_PROTOCOL_IN_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 22 + // The final mobile url starts with an invalid protocol. + UrlFieldErrorEnum_INVALID_PROTOCOL_IN_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 23 + // The final mobile url contains illegal characters. + UrlFieldErrorEnum_MALFORMED_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 24 + // The final mobile url must contain a host name. + UrlFieldErrorEnum_MISSING_HOST_IN_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 25 + // The tracking url template has an invalid or missing top level domain + // extension. + UrlFieldErrorEnum_INVALID_TLD_IN_FINAL_MOBILE_URL UrlFieldErrorEnum_UrlFieldError = 26 + // The final app url is invalid. + UrlFieldErrorEnum_INVALID_FINAL_APP_URL UrlFieldErrorEnum_UrlFieldError = 27 + // The final app url contains invalid tag. + UrlFieldErrorEnum_INVALID_TAG_IN_FINAL_APP_URL UrlFieldErrorEnum_UrlFieldError = 28 + // The final app url contains nested occurrences of the same conditional tag + // (i.e. {ifmobile:{ifmobile:x}}). + UrlFieldErrorEnum_REDUNDANT_NESTED_FINAL_APP_URL_TAG UrlFieldErrorEnum_UrlFieldError = 29 + // More than one app url found for the same OS type. + UrlFieldErrorEnum_MULTIPLE_APP_URLS_FOR_OSTYPE UrlFieldErrorEnum_UrlFieldError = 30 + // The OS type given for an app url is not valid. + UrlFieldErrorEnum_INVALID_OSTYPE UrlFieldErrorEnum_UrlFieldError = 31 + // The protocol given for an app url is not valid. (E.g. "android-app://") + UrlFieldErrorEnum_INVALID_PROTOCOL_FOR_APP_URL UrlFieldErrorEnum_UrlFieldError = 32 + // The package id (app id) given for an app url is not valid. + UrlFieldErrorEnum_INVALID_PACKAGE_ID_FOR_APP_URL UrlFieldErrorEnum_UrlFieldError = 33 + // The number of url custom parameters for an resource exceeds the maximum + // limit allowed. + UrlFieldErrorEnum_URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT UrlFieldErrorEnum_UrlFieldError = 34 + // An invalid character appears in the parameter key. + UrlFieldErrorEnum_INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY UrlFieldErrorEnum_UrlFieldError = 39 + // An invalid character appears in the parameter value. + UrlFieldErrorEnum_INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE UrlFieldErrorEnum_UrlFieldError = 40 + // The url custom parameter value fails url tag validation. + UrlFieldErrorEnum_INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE UrlFieldErrorEnum_UrlFieldError = 41 + // The custom parameter contains nested occurrences of the same conditional + // tag (i.e. {ifmobile:{ifmobile:x}}). + UrlFieldErrorEnum_REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG UrlFieldErrorEnum_UrlFieldError = 42 + // The protocol (http:// or https://) is missing. + UrlFieldErrorEnum_MISSING_PROTOCOL UrlFieldErrorEnum_UrlFieldError = 43 + // Unsupported protocol in URL. Only http and https are supported. + UrlFieldErrorEnum_INVALID_PROTOCOL UrlFieldErrorEnum_UrlFieldError = 52 + // The url is invalid. + UrlFieldErrorEnum_INVALID_URL UrlFieldErrorEnum_UrlFieldError = 44 + // Destination Url is deprecated. + UrlFieldErrorEnum_DESTINATION_URL_DEPRECATED UrlFieldErrorEnum_UrlFieldError = 45 + // The url contains invalid tag. + UrlFieldErrorEnum_INVALID_TAG_IN_URL UrlFieldErrorEnum_UrlFieldError = 46 + // The url must contain at least one tag (e.g. {lpurl}), This applies only + // to urls associated with website ads or product ads. + UrlFieldErrorEnum_MISSING_URL_TAG UrlFieldErrorEnum_UrlFieldError = 47 + // Duplicate url id. + UrlFieldErrorEnum_DUPLICATE_URL_ID UrlFieldErrorEnum_UrlFieldError = 48 + // Invalid url id. + UrlFieldErrorEnum_INVALID_URL_ID UrlFieldErrorEnum_UrlFieldError = 49 + // The final url suffix cannot begin with '?' or '&' characters and must be + // a valid query string. + UrlFieldErrorEnum_FINAL_URL_SUFFIX_MALFORMED UrlFieldErrorEnum_UrlFieldError = 50 + // The final url suffix cannot contain {lpurl} related or {ignore} tags. + UrlFieldErrorEnum_INVALID_TAG_IN_FINAL_URL_SUFFIX UrlFieldErrorEnum_UrlFieldError = 51 + // The top level domain is invalid, e.g, not a public top level domain + // listed in publicsuffix.org. + UrlFieldErrorEnum_INVALID_TOP_LEVEL_DOMAIN UrlFieldErrorEnum_UrlFieldError = 53 + // Malformed top level domain in URL. + UrlFieldErrorEnum_MALFORMED_TOP_LEVEL_DOMAIN UrlFieldErrorEnum_UrlFieldError = 54 + // Malformed URL. + UrlFieldErrorEnum_MALFORMED_URL UrlFieldErrorEnum_UrlFieldError = 55 + // No host found in URL. + UrlFieldErrorEnum_MISSING_HOST UrlFieldErrorEnum_UrlFieldError = 56 +) + +var UrlFieldErrorEnum_UrlFieldError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "INVALID_TRACKING_URL_TEMPLATE", + 3: "INVALID_TAG_IN_TRACKING_URL_TEMPLATE", + 4: "MISSING_TRACKING_URL_TEMPLATE_TAG", + 5: "MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE", + 6: "INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE", + 7: "MALFORMED_TRACKING_URL_TEMPLATE", + 8: "MISSING_HOST_IN_TRACKING_URL_TEMPLATE", + 9: "INVALID_TLD_IN_TRACKING_URL_TEMPLATE", + 10: "REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG", + 11: "INVALID_FINAL_URL", + 12: "INVALID_TAG_IN_FINAL_URL", + 13: "REDUNDANT_NESTED_FINAL_URL_TAG", + 14: "MISSING_PROTOCOL_IN_FINAL_URL", + 15: "INVALID_PROTOCOL_IN_FINAL_URL", + 16: "MALFORMED_FINAL_URL", + 17: "MISSING_HOST_IN_FINAL_URL", + 18: "INVALID_TLD_IN_FINAL_URL", + 19: "INVALID_FINAL_MOBILE_URL", + 20: "INVALID_TAG_IN_FINAL_MOBILE_URL", + 21: "REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG", + 22: "MISSING_PROTOCOL_IN_FINAL_MOBILE_URL", + 23: "INVALID_PROTOCOL_IN_FINAL_MOBILE_URL", + 24: "MALFORMED_FINAL_MOBILE_URL", + 25: "MISSING_HOST_IN_FINAL_MOBILE_URL", + 26: "INVALID_TLD_IN_FINAL_MOBILE_URL", + 27: "INVALID_FINAL_APP_URL", + 28: "INVALID_TAG_IN_FINAL_APP_URL", + 29: "REDUNDANT_NESTED_FINAL_APP_URL_TAG", + 30: "MULTIPLE_APP_URLS_FOR_OSTYPE", + 31: "INVALID_OSTYPE", + 32: "INVALID_PROTOCOL_FOR_APP_URL", + 33: "INVALID_PACKAGE_ID_FOR_APP_URL", + 34: "URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT", + 39: "INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY", + 40: "INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE", + 41: "INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE", + 42: "REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG", + 43: "MISSING_PROTOCOL", + 52: "INVALID_PROTOCOL", + 44: "INVALID_URL", + 45: "DESTINATION_URL_DEPRECATED", + 46: "INVALID_TAG_IN_URL", + 47: "MISSING_URL_TAG", + 48: "DUPLICATE_URL_ID", + 49: "INVALID_URL_ID", + 50: "FINAL_URL_SUFFIX_MALFORMED", + 51: "INVALID_TAG_IN_FINAL_URL_SUFFIX", + 53: "INVALID_TOP_LEVEL_DOMAIN", + 54: "MALFORMED_TOP_LEVEL_DOMAIN", + 55: "MALFORMED_URL", + 56: "MISSING_HOST", +} +var UrlFieldErrorEnum_UrlFieldError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "INVALID_TRACKING_URL_TEMPLATE": 2, + "INVALID_TAG_IN_TRACKING_URL_TEMPLATE": 3, + "MISSING_TRACKING_URL_TEMPLATE_TAG": 4, + "MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE": 5, + "INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE": 6, + "MALFORMED_TRACKING_URL_TEMPLATE": 7, + "MISSING_HOST_IN_TRACKING_URL_TEMPLATE": 8, + "INVALID_TLD_IN_TRACKING_URL_TEMPLATE": 9, + "REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG": 10, + "INVALID_FINAL_URL": 11, + "INVALID_TAG_IN_FINAL_URL": 12, + "REDUNDANT_NESTED_FINAL_URL_TAG": 13, + "MISSING_PROTOCOL_IN_FINAL_URL": 14, + "INVALID_PROTOCOL_IN_FINAL_URL": 15, + "MALFORMED_FINAL_URL": 16, + "MISSING_HOST_IN_FINAL_URL": 17, + "INVALID_TLD_IN_FINAL_URL": 18, + "INVALID_FINAL_MOBILE_URL": 19, + "INVALID_TAG_IN_FINAL_MOBILE_URL": 20, + "REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG": 21, + "MISSING_PROTOCOL_IN_FINAL_MOBILE_URL": 22, + "INVALID_PROTOCOL_IN_FINAL_MOBILE_URL": 23, + "MALFORMED_FINAL_MOBILE_URL": 24, + "MISSING_HOST_IN_FINAL_MOBILE_URL": 25, + "INVALID_TLD_IN_FINAL_MOBILE_URL": 26, + "INVALID_FINAL_APP_URL": 27, + "INVALID_TAG_IN_FINAL_APP_URL": 28, + "REDUNDANT_NESTED_FINAL_APP_URL_TAG": 29, + "MULTIPLE_APP_URLS_FOR_OSTYPE": 30, + "INVALID_OSTYPE": 31, + "INVALID_PROTOCOL_FOR_APP_URL": 32, + "INVALID_PACKAGE_ID_FOR_APP_URL": 33, + "URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT": 34, + "INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY": 39, + "INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE": 40, + "INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE": 41, + "REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG": 42, + "MISSING_PROTOCOL": 43, + "INVALID_PROTOCOL": 52, + "INVALID_URL": 44, + "DESTINATION_URL_DEPRECATED": 45, + "INVALID_TAG_IN_URL": 46, + "MISSING_URL_TAG": 47, + "DUPLICATE_URL_ID": 48, + "INVALID_URL_ID": 49, + "FINAL_URL_SUFFIX_MALFORMED": 50, + "INVALID_TAG_IN_FINAL_URL_SUFFIX": 51, + "INVALID_TOP_LEVEL_DOMAIN": 53, + "MALFORMED_TOP_LEVEL_DOMAIN": 54, + "MALFORMED_URL": 55, + "MISSING_HOST": 56, +} + +func (x UrlFieldErrorEnum_UrlFieldError) String() string { + return proto.EnumName(UrlFieldErrorEnum_UrlFieldError_name, int32(x)) +} +func (UrlFieldErrorEnum_UrlFieldError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_url_field_error_9d171e417763e4ac, []int{0, 0} +} + +// Container for enum describing possible url field errors. +type UrlFieldErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UrlFieldErrorEnum) Reset() { *m = UrlFieldErrorEnum{} } +func (m *UrlFieldErrorEnum) String() string { return proto.CompactTextString(m) } +func (*UrlFieldErrorEnum) ProtoMessage() {} +func (*UrlFieldErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_url_field_error_9d171e417763e4ac, []int{0} +} +func (m *UrlFieldErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UrlFieldErrorEnum.Unmarshal(m, b) +} +func (m *UrlFieldErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UrlFieldErrorEnum.Marshal(b, m, deterministic) +} +func (dst *UrlFieldErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UrlFieldErrorEnum.Merge(dst, src) +} +func (m *UrlFieldErrorEnum) XXX_Size() int { + return xxx_messageInfo_UrlFieldErrorEnum.Size(m) +} +func (m *UrlFieldErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UrlFieldErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UrlFieldErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UrlFieldErrorEnum)(nil), "google.ads.googleads.v0.errors.UrlFieldErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.UrlFieldErrorEnum_UrlFieldError", UrlFieldErrorEnum_UrlFieldError_name, UrlFieldErrorEnum_UrlFieldError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/url_field_error.proto", fileDescriptor_url_field_error_9d171e417763e4ac) +} + +var fileDescriptor_url_field_error_9d171e417763e4ac = []byte{ + // 813 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x6d, 0x4f, 0xe3, 0x46, + 0x10, 0xc7, 0x0b, 0xd7, 0xde, 0xb5, 0xc3, 0x05, 0x36, 0xc3, 0x71, 0x77, 0x5c, 0x21, 0x07, 0x29, + 0xb4, 0x40, 0x8b, 0x93, 0x02, 0x7d, 0x90, 0xfa, 0x6a, 0xb1, 0x37, 0x61, 0x15, 0x3f, 0xc9, 0x5e, + 0xa7, 0x50, 0x45, 0x5a, 0xd1, 0x26, 0x8d, 0x90, 0x02, 0x46, 0x49, 0xe1, 0x9b, 0xf4, 0x0b, 0xf4, + 0x65, 0x3f, 0x49, 0xd5, 0x2f, 0xd5, 0x6a, 0xed, 0x38, 0xb6, 0x13, 0x9b, 0xaa, 0xaf, 0xbc, 0x9a, + 0xf9, 0xcd, 0xcc, 0xee,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0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/user_list_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/user_list_error.pb.go new file mode 100644 index 000000000..6d38bc3bc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/errors/user_list_error.pb.go @@ -0,0 +1,227 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/errors/user_list_error.proto + +package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enum describing possible user list errors. +type UserListErrorEnum_UserListError int32 + +const ( + // Enum unspecified. + UserListErrorEnum_UNSPECIFIED UserListErrorEnum_UserListError = 0 + // The received error code is not known in this version. + UserListErrorEnum_UNKNOWN UserListErrorEnum_UserListError = 1 + // Creating and updating external remarketing user lists is not supported. + UserListErrorEnum_EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED UserListErrorEnum_UserListError = 2 + // Concrete type of user list is required. + UserListErrorEnum_CONCRETE_TYPE_REQUIRED UserListErrorEnum_UserListError = 3 + // Creating/updating user list conversion types requires specifying the + // conversion type Id. + UserListErrorEnum_CONVERSION_TYPE_ID_REQUIRED UserListErrorEnum_UserListError = 4 + // Remarketing user list cannot have duplicate conversion types. + UserListErrorEnum_DUPLICATE_CONVERSION_TYPES UserListErrorEnum_UserListError = 5 + // Conversion type is invalid/unknown. + UserListErrorEnum_INVALID_CONVERSION_TYPE UserListErrorEnum_UserListError = 6 + // User list description is empty or invalid. + UserListErrorEnum_INVALID_DESCRIPTION UserListErrorEnum_UserListError = 7 + // User list name is empty or invalid. + UserListErrorEnum_INVALID_NAME UserListErrorEnum_UserListError = 8 + // Type of the UserList does not match. + UserListErrorEnum_INVALID_TYPE UserListErrorEnum_UserListError = 9 + // Embedded logical user lists are not allowed. + UserListErrorEnum_CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND UserListErrorEnum_UserListError = 10 + // User list rule operand is invalid. + UserListErrorEnum_INVALID_USER_LIST_LOGICAL_RULE_OPERAND UserListErrorEnum_UserListError = 11 + // Name is already being used for another user list for the account. + UserListErrorEnum_NAME_ALREADY_USED UserListErrorEnum_UserListError = 12 + // Name is required when creating a new conversion type. + UserListErrorEnum_NEW_CONVERSION_TYPE_NAME_REQUIRED UserListErrorEnum_UserListError = 13 + // The given conversion type name has been used. + UserListErrorEnum_CONVERSION_TYPE_NAME_ALREADY_USED UserListErrorEnum_UserListError = 14 + // Only an owner account may edit a user list. + UserListErrorEnum_OWNERSHIP_REQUIRED_FOR_SET UserListErrorEnum_UserListError = 15 + // The user list of the type is not mutable. + UserListErrorEnum_USER_LIST_MUTATE_NOT_SUPPORTED UserListErrorEnum_UserListError = 16 + // Rule is invalid. + UserListErrorEnum_INVALID_RULE UserListErrorEnum_UserListError = 17 + // The specified date range is empty. + UserListErrorEnum_INVALID_DATE_RANGE UserListErrorEnum_UserListError = 27 + // A UserList which is privacy sensitive or legal rejected cannot be mutated + // by external users. + UserListErrorEnum_CAN_NOT_MUTATE_SENSITIVE_USERLIST UserListErrorEnum_UserListError = 28 + // Maximum number of rulebased user lists a customer can have. + UserListErrorEnum_MAX_NUM_RULEBASED_USERLISTS UserListErrorEnum_UserListError = 29 + // BasicUserList's billable record field cannot be modified once it is set. + UserListErrorEnum_CANNOT_MODIFY_BILLABLE_RECORD_COUNT UserListErrorEnum_UserListError = 30 + // crm_based_user_list.app_id field must be set when upload_key_type is + // MOBILE_ADVERTISING_ID. + UserListErrorEnum_APP_ID_NOT_SET UserListErrorEnum_UserListError = 31 + // Name of the user list is reserved for system generated lists and cannot + // be used. + UserListErrorEnum_USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST UserListErrorEnum_UserListError = 32 + // Advertiser needs to be whitelisted to use remarketing lists created from + // advertiser uploaded data (e.g., Customer Match lists). + UserListErrorEnum_ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA UserListErrorEnum_UserListError = 33 +) + +var UserListErrorEnum_UserListError_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED", + 3: "CONCRETE_TYPE_REQUIRED", + 4: "CONVERSION_TYPE_ID_REQUIRED", + 5: "DUPLICATE_CONVERSION_TYPES", + 6: "INVALID_CONVERSION_TYPE", + 7: "INVALID_DESCRIPTION", + 8: "INVALID_NAME", + 9: "INVALID_TYPE", + 10: "CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND", + 11: "INVALID_USER_LIST_LOGICAL_RULE_OPERAND", + 12: "NAME_ALREADY_USED", + 13: "NEW_CONVERSION_TYPE_NAME_REQUIRED", + 14: "CONVERSION_TYPE_NAME_ALREADY_USED", + 15: "OWNERSHIP_REQUIRED_FOR_SET", + 16: "USER_LIST_MUTATE_NOT_SUPPORTED", + 17: "INVALID_RULE", + 27: "INVALID_DATE_RANGE", + 28: "CAN_NOT_MUTATE_SENSITIVE_USERLIST", + 29: "MAX_NUM_RULEBASED_USERLISTS", + 30: "CANNOT_MODIFY_BILLABLE_RECORD_COUNT", + 31: "APP_ID_NOT_SET", + 32: "USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST", + 33: "ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA", +} +var UserListErrorEnum_UserListError_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED": 2, + "CONCRETE_TYPE_REQUIRED": 3, + "CONVERSION_TYPE_ID_REQUIRED": 4, + "DUPLICATE_CONVERSION_TYPES": 5, + "INVALID_CONVERSION_TYPE": 6, + "INVALID_DESCRIPTION": 7, + "INVALID_NAME": 8, + "INVALID_TYPE": 9, + "CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND": 10, + "INVALID_USER_LIST_LOGICAL_RULE_OPERAND": 11, + "NAME_ALREADY_USED": 12, + "NEW_CONVERSION_TYPE_NAME_REQUIRED": 13, + "CONVERSION_TYPE_NAME_ALREADY_USED": 14, + "OWNERSHIP_REQUIRED_FOR_SET": 15, + "USER_LIST_MUTATE_NOT_SUPPORTED": 16, + "INVALID_RULE": 17, + "INVALID_DATE_RANGE": 27, + "CAN_NOT_MUTATE_SENSITIVE_USERLIST": 28, + "MAX_NUM_RULEBASED_USERLISTS": 29, + "CANNOT_MODIFY_BILLABLE_RECORD_COUNT": 30, + "APP_ID_NOT_SET": 31, + "USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST": 32, + "ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA": 33, +} + +func (x UserListErrorEnum_UserListError) String() string { + return proto.EnumName(UserListErrorEnum_UserListError_name, int32(x)) +} +func (UserListErrorEnum_UserListError) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_user_list_error_3e90e40f8cd88dd5, []int{0, 0} +} + +// Container for enum describing possible user list errors. +type UserListErrorEnum struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListErrorEnum) Reset() { *m = UserListErrorEnum{} } +func (m *UserListErrorEnum) String() string { return proto.CompactTextString(m) } +func (*UserListErrorEnum) ProtoMessage() {} +func (*UserListErrorEnum) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_error_3e90e40f8cd88dd5, []int{0} +} +func (m *UserListErrorEnum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListErrorEnum.Unmarshal(m, b) +} +func (m *UserListErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListErrorEnum.Marshal(b, m, deterministic) +} +func (dst *UserListErrorEnum) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListErrorEnum.Merge(dst, src) +} +func (m *UserListErrorEnum) XXX_Size() int { + return xxx_messageInfo_UserListErrorEnum.Size(m) +} +func (m *UserListErrorEnum) XXX_DiscardUnknown() { + xxx_messageInfo_UserListErrorEnum.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListErrorEnum proto.InternalMessageInfo + +func init() { + proto.RegisterType((*UserListErrorEnum)(nil), "google.ads.googleads.v0.errors.UserListErrorEnum") + proto.RegisterEnum("google.ads.googleads.v0.errors.UserListErrorEnum_UserListError", UserListErrorEnum_UserListError_name, UserListErrorEnum_UserListError_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/errors/user_list_error.proto", fileDescriptor_user_list_error_3e90e40f8cd88dd5) +} + +var fileDescriptor_user_list_error_3e90e40f8cd88dd5 = []byte{ + // 645 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x4f, 0x13, 0x41, + 0x14, 0x15, 0xd0, 0xa2, 0xc3, 0xd7, 0x30, 0x46, 0x48, 0x40, 0x8b, 0xd4, 0xa8, 0xd1, 0xc4, 0x6d, + 0x23, 0x44, 0x1f, 0x7c, 0x9a, 0xee, 0x5c, 0xca, 0x84, 0xed, 0xcc, 0x3a, 0x33, 0xdb, 0x52, 0xd3, + 0x64, 0x82, 0xb6, 0x69, 0x48, 0x80, 0x25, 0xbb, 0xc0, 0x0f, 0xf2, 0xd1, 0x1f, 0xe1, 0xb3, 0xf1, + 0xd9, 0x1f, 0x64, 0x66, 0xb6, 0x5b, 0x28, 0xf1, 0xe3, 0xa9, 0xb7, 0xf7, 0x9e, 0x7b, 0xee, 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 0xe2, 0x07, 0xef, 0xfc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x76, 0x6d, 0xea, + 0x58, 0x80, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget.pb.go new file mode 100644 index 000000000..5fbde3845 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget.pb.go @@ -0,0 +1,1051 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/account_budget.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An account-level budget. It contains information about the budget itself, +// as well as the most recently approved changes to the budget and proposed +// changes that are pending approval. The proposed changes that are pending +// approval, if any, are found in 'pending_proposal'. Effective details about +// the budget are found in fields prefixed 'approved_', 'adjusted_' and those +// without a prefix. Since some effective details may differ from what the user +// had originally requested (e.g. spending limit), these differences are +// juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields. +// +// This resource is mutated using AccountBudgetProposal and cannot be mutated +// directly. A budget may have at most one pending proposal at any given time. +// It is read through pending_proposal. +// +// Once approved, a budget may be subject to adjustments, such as credit +// adjustments. Adjustments create differences between the 'approved' and +// 'adjusted' fields, which would otherwise be identical. +type AccountBudget struct { + // The resource name of the account-level budget. + // AccountBudget resource names have the form: + // + // `customers/{customer_id}/accountBudgets/{account_budget_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the account-level budget. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The resource name of the billing setup associated with this account-level + // budget. BillingSetup resource names have the form: + // + // `customers/{customer_id}/billingSetups/{billing_setup_id}` + BillingSetup *wrappers.StringValue `protobuf:"bytes,3,opt,name=billing_setup,json=billingSetup,proto3" json:"billing_setup,omitempty"` + // The status of this account-level budget. + Status enums.AccountBudgetStatusEnum_AccountBudgetStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.AccountBudgetStatusEnum_AccountBudgetStatus" json:"status,omitempty"` + // The name of the account-level budget. + Name *wrappers.StringValue `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + // The proposed start time of the account-level budget in + // yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, + // this is the time of request. + ProposedStartDateTime *wrappers.StringValue `protobuf:"bytes,6,opt,name=proposed_start_date_time,json=proposedStartDateTime,proto3" json:"proposed_start_date_time,omitempty"` + // The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss + // format. + // + // For example, if a new budget is approved after the proposed start time, + // the approved start time is the time of approval. + ApprovedStartDateTime *wrappers.StringValue `protobuf:"bytes,7,opt,name=approved_start_date_time,json=approvedStartDateTime,proto3" json:"approved_start_date_time,omitempty"` + // The total adjustments amount. + // + // An example of an adjustment is courtesy credits. + TotalAdjustmentsMicros *wrappers.Int64Value `protobuf:"bytes,18,opt,name=total_adjustments_micros,json=totalAdjustmentsMicros,proto3" json:"total_adjustments_micros,omitempty"` + // The value of Ads that have been served, in micros. + // + // This includes overdelivery costs, in which case a credit might be + // automatically applied to the budget (see total_adjustments_micros). + AmountServedMicros *wrappers.Int64Value `protobuf:"bytes,19,opt,name=amount_served_micros,json=amountServedMicros,proto3" json:"amount_served_micros,omitempty"` + // A purchase order number is a value that helps users reference this budget + // in their monthly invoices. + PurchaseOrderNumber *wrappers.StringValue `protobuf:"bytes,20,opt,name=purchase_order_number,json=purchaseOrderNumber,proto3" json:"purchase_order_number,omitempty"` + // Notes associated with the budget. + Notes *wrappers.StringValue `protobuf:"bytes,21,opt,name=notes,proto3" json:"notes,omitempty"` + // The pending proposal to modify this budget, if applicable. + PendingProposal *AccountBudget_PendingAccountBudgetProposal `protobuf:"bytes,22,opt,name=pending_proposal,json=pendingProposal,proto3" json:"pending_proposal,omitempty"` + // The proposed end time of the account-level budget. + // + // Types that are valid to be assigned to ProposedEndTime: + // *AccountBudget_ProposedEndDateTime + // *AccountBudget_ProposedEndTimeType + ProposedEndTime isAccountBudget_ProposedEndTime `protobuf_oneof:"proposed_end_time"` + // The approved end time of the account-level budget. + // + // For example, if a budget's end time is updated and the proposal is approved + // after the proposed end time, the approved end time is the time of approval. + // + // Types that are valid to be assigned to ApprovedEndTime: + // *AccountBudget_ApprovedEndDateTime + // *AccountBudget_ApprovedEndTimeType + ApprovedEndTime isAccountBudget_ApprovedEndTime `protobuf_oneof:"approved_end_time"` + // The proposed spending limit. + // + // Types that are valid to be assigned to ProposedSpendingLimit: + // *AccountBudget_ProposedSpendingLimitMicros + // *AccountBudget_ProposedSpendingLimitType + ProposedSpendingLimit isAccountBudget_ProposedSpendingLimit `protobuf_oneof:"proposed_spending_limit"` + // The approved spending limit. + // + // For example, if the amount already spent by the account exceeds the + // proposed spending limit at the time the proposal is approved, the approved + // spending limit is set to the amount already spent. + // + // Types that are valid to be assigned to ApprovedSpendingLimit: + // *AccountBudget_ApprovedSpendingLimitMicros + // *AccountBudget_ApprovedSpendingLimitType + ApprovedSpendingLimit isAccountBudget_ApprovedSpendingLimit `protobuf_oneof:"approved_spending_limit"` + // The spending limit after adjustments have been applied. Adjustments are + // stored in total_adjustments_micros. + // + // This value has the final say on how much the account is allowed to spend. + // + // Types that are valid to be assigned to AdjustedSpendingLimit: + // *AccountBudget_AdjustedSpendingLimitMicros + // *AccountBudget_AdjustedSpendingLimitType + AdjustedSpendingLimit isAccountBudget_AdjustedSpendingLimit `protobuf_oneof:"adjusted_spending_limit"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudget) Reset() { *m = AccountBudget{} } +func (m *AccountBudget) String() string { return proto.CompactTextString(m) } +func (*AccountBudget) ProtoMessage() {} +func (*AccountBudget) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_0b2aa8095fe7f986, []int{0} +} +func (m *AccountBudget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudget.Unmarshal(m, b) +} +func (m *AccountBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudget.Marshal(b, m, deterministic) +} +func (dst *AccountBudget) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudget.Merge(dst, src) +} +func (m *AccountBudget) XXX_Size() int { + return xxx_messageInfo_AccountBudget.Size(m) +} +func (m *AccountBudget) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudget.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudget proto.InternalMessageInfo + +func (m *AccountBudget) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AccountBudget) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *AccountBudget) GetBillingSetup() *wrappers.StringValue { + if m != nil { + return m.BillingSetup + } + return nil +} + +func (m *AccountBudget) GetStatus() enums.AccountBudgetStatusEnum_AccountBudgetStatus { + if m != nil { + return m.Status + } + return enums.AccountBudgetStatusEnum_UNSPECIFIED +} + +func (m *AccountBudget) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *AccountBudget) GetProposedStartDateTime() *wrappers.StringValue { + if m != nil { + return m.ProposedStartDateTime + } + return nil +} + +func (m *AccountBudget) GetApprovedStartDateTime() *wrappers.StringValue { + if m != nil { + return m.ApprovedStartDateTime + } + return nil +} + +func (m *AccountBudget) GetTotalAdjustmentsMicros() *wrappers.Int64Value { + if m != nil { + return m.TotalAdjustmentsMicros + } + return nil +} + +func (m *AccountBudget) GetAmountServedMicros() *wrappers.Int64Value { + if m != nil { + return m.AmountServedMicros + } + return nil +} + +func (m *AccountBudget) GetPurchaseOrderNumber() *wrappers.StringValue { + if m != nil { + return m.PurchaseOrderNumber + } + return nil +} + +func (m *AccountBudget) GetNotes() *wrappers.StringValue { + if m != nil { + return m.Notes + } + return nil +} + +func (m *AccountBudget) GetPendingProposal() *AccountBudget_PendingAccountBudgetProposal { + if m != nil { + return m.PendingProposal + } + return nil +} + +type isAccountBudget_ProposedEndTime interface { + isAccountBudget_ProposedEndTime() +} + +type AccountBudget_ProposedEndDateTime struct { + ProposedEndDateTime *wrappers.StringValue `protobuf:"bytes,8,opt,name=proposed_end_date_time,json=proposedEndDateTime,proto3,oneof"` +} + +type AccountBudget_ProposedEndTimeType struct { + ProposedEndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,9,opt,name=proposed_end_time_type,json=proposedEndTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*AccountBudget_ProposedEndDateTime) isAccountBudget_ProposedEndTime() {} + +func (*AccountBudget_ProposedEndTimeType) isAccountBudget_ProposedEndTime() {} + +func (m *AccountBudget) GetProposedEndTime() isAccountBudget_ProposedEndTime { + if m != nil { + return m.ProposedEndTime + } + return nil +} + +func (m *AccountBudget) GetProposedEndDateTime() *wrappers.StringValue { + if x, ok := m.GetProposedEndTime().(*AccountBudget_ProposedEndDateTime); ok { + return x.ProposedEndDateTime + } + return nil +} + +func (m *AccountBudget) GetProposedEndTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetProposedEndTime().(*AccountBudget_ProposedEndTimeType); ok { + return x.ProposedEndTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isAccountBudget_ApprovedEndTime interface { + isAccountBudget_ApprovedEndTime() +} + +type AccountBudget_ApprovedEndDateTime struct { + ApprovedEndDateTime *wrappers.StringValue `protobuf:"bytes,10,opt,name=approved_end_date_time,json=approvedEndDateTime,proto3,oneof"` +} + +type AccountBudget_ApprovedEndTimeType struct { + ApprovedEndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,11,opt,name=approved_end_time_type,json=approvedEndTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*AccountBudget_ApprovedEndDateTime) isAccountBudget_ApprovedEndTime() {} + +func (*AccountBudget_ApprovedEndTimeType) isAccountBudget_ApprovedEndTime() {} + +func (m *AccountBudget) GetApprovedEndTime() isAccountBudget_ApprovedEndTime { + if m != nil { + return m.ApprovedEndTime + } + return nil +} + +func (m *AccountBudget) GetApprovedEndDateTime() *wrappers.StringValue { + if x, ok := m.GetApprovedEndTime().(*AccountBudget_ApprovedEndDateTime); ok { + return x.ApprovedEndDateTime + } + return nil +} + +func (m *AccountBudget) GetApprovedEndTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetApprovedEndTime().(*AccountBudget_ApprovedEndTimeType); ok { + return x.ApprovedEndTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isAccountBudget_ProposedSpendingLimit interface { + isAccountBudget_ProposedSpendingLimit() +} + +type AccountBudget_ProposedSpendingLimitMicros struct { + ProposedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,12,opt,name=proposed_spending_limit_micros,json=proposedSpendingLimitMicros,proto3,oneof"` +} + +type AccountBudget_ProposedSpendingLimitType struct { + ProposedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,13,opt,name=proposed_spending_limit_type,json=proposedSpendingLimitType,proto3,enum=google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"` +} + +func (*AccountBudget_ProposedSpendingLimitMicros) isAccountBudget_ProposedSpendingLimit() {} + +func (*AccountBudget_ProposedSpendingLimitType) isAccountBudget_ProposedSpendingLimit() {} + +func (m *AccountBudget) GetProposedSpendingLimit() isAccountBudget_ProposedSpendingLimit { + if m != nil { + return m.ProposedSpendingLimit + } + return nil +} + +func (m *AccountBudget) GetProposedSpendingLimitMicros() *wrappers.Int64Value { + if x, ok := m.GetProposedSpendingLimit().(*AccountBudget_ProposedSpendingLimitMicros); ok { + return x.ProposedSpendingLimitMicros + } + return nil +} + +func (m *AccountBudget) GetProposedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType { + if x, ok := m.GetProposedSpendingLimit().(*AccountBudget_ProposedSpendingLimitType); ok { + return x.ProposedSpendingLimitType + } + return enums.SpendingLimitTypeEnum_UNSPECIFIED +} + +type isAccountBudget_ApprovedSpendingLimit interface { + isAccountBudget_ApprovedSpendingLimit() +} + +type AccountBudget_ApprovedSpendingLimitMicros struct { + ApprovedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,14,opt,name=approved_spending_limit_micros,json=approvedSpendingLimitMicros,proto3,oneof"` +} + +type AccountBudget_ApprovedSpendingLimitType struct { + ApprovedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,15,opt,name=approved_spending_limit_type,json=approvedSpendingLimitType,proto3,enum=google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"` +} + +func (*AccountBudget_ApprovedSpendingLimitMicros) isAccountBudget_ApprovedSpendingLimit() {} + +func (*AccountBudget_ApprovedSpendingLimitType) isAccountBudget_ApprovedSpendingLimit() {} + +func (m *AccountBudget) GetApprovedSpendingLimit() isAccountBudget_ApprovedSpendingLimit { + if m != nil { + return m.ApprovedSpendingLimit + } + return nil +} + +func (m *AccountBudget) GetApprovedSpendingLimitMicros() *wrappers.Int64Value { + if x, ok := m.GetApprovedSpendingLimit().(*AccountBudget_ApprovedSpendingLimitMicros); ok { + return x.ApprovedSpendingLimitMicros + } + return nil +} + +func (m *AccountBudget) GetApprovedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType { + if x, ok := m.GetApprovedSpendingLimit().(*AccountBudget_ApprovedSpendingLimitType); ok { + return x.ApprovedSpendingLimitType + } + return enums.SpendingLimitTypeEnum_UNSPECIFIED +} + +type isAccountBudget_AdjustedSpendingLimit interface { + isAccountBudget_AdjustedSpendingLimit() +} + +type AccountBudget_AdjustedSpendingLimitMicros struct { + AdjustedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,16,opt,name=adjusted_spending_limit_micros,json=adjustedSpendingLimitMicros,proto3,oneof"` +} + +type AccountBudget_AdjustedSpendingLimitType struct { + AdjustedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,17,opt,name=adjusted_spending_limit_type,json=adjustedSpendingLimitType,proto3,enum=google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"` +} + +func (*AccountBudget_AdjustedSpendingLimitMicros) isAccountBudget_AdjustedSpendingLimit() {} + +func (*AccountBudget_AdjustedSpendingLimitType) isAccountBudget_AdjustedSpendingLimit() {} + +func (m *AccountBudget) GetAdjustedSpendingLimit() isAccountBudget_AdjustedSpendingLimit { + if m != nil { + return m.AdjustedSpendingLimit + } + return nil +} + +func (m *AccountBudget) GetAdjustedSpendingLimitMicros() *wrappers.Int64Value { + if x, ok := m.GetAdjustedSpendingLimit().(*AccountBudget_AdjustedSpendingLimitMicros); ok { + return x.AdjustedSpendingLimitMicros + } + return nil +} + +func (m *AccountBudget) GetAdjustedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType { + if x, ok := m.GetAdjustedSpendingLimit().(*AccountBudget_AdjustedSpendingLimitType); ok { + return x.AdjustedSpendingLimitType + } + return enums.SpendingLimitTypeEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AccountBudget) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AccountBudget_OneofMarshaler, _AccountBudget_OneofUnmarshaler, _AccountBudget_OneofSizer, []interface{}{ + (*AccountBudget_ProposedEndDateTime)(nil), + (*AccountBudget_ProposedEndTimeType)(nil), + (*AccountBudget_ApprovedEndDateTime)(nil), + (*AccountBudget_ApprovedEndTimeType)(nil), + (*AccountBudget_ProposedSpendingLimitMicros)(nil), + (*AccountBudget_ProposedSpendingLimitType)(nil), + (*AccountBudget_ApprovedSpendingLimitMicros)(nil), + (*AccountBudget_ApprovedSpendingLimitType)(nil), + (*AccountBudget_AdjustedSpendingLimitMicros)(nil), + (*AccountBudget_AdjustedSpendingLimitType)(nil), + } +} + +func _AccountBudget_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AccountBudget) + // proposed_end_time + switch x := m.ProposedEndTime.(type) { + case *AccountBudget_ProposedEndDateTime: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProposedEndDateTime); err != nil { + return err + } + case *AccountBudget_ProposedEndTimeType: + b.EncodeVarint(9<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ProposedEndTimeType)) + case nil: + default: + return fmt.Errorf("AccountBudget.ProposedEndTime has unexpected type %T", x) + } + // approved_end_time + switch x := m.ApprovedEndTime.(type) { + case *AccountBudget_ApprovedEndDateTime: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ApprovedEndDateTime); err != nil { + return err + } + case *AccountBudget_ApprovedEndTimeType: + b.EncodeVarint(11<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ApprovedEndTimeType)) + case nil: + default: + return fmt.Errorf("AccountBudget.ApprovedEndTime has unexpected type %T", x) + } + // proposed_spending_limit + switch x := m.ProposedSpendingLimit.(type) { + case *AccountBudget_ProposedSpendingLimitMicros: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProposedSpendingLimitMicros); err != nil { + return err + } + case *AccountBudget_ProposedSpendingLimitType: + b.EncodeVarint(13<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ProposedSpendingLimitType)) + case nil: + default: + return fmt.Errorf("AccountBudget.ProposedSpendingLimit has unexpected type %T", x) + } + // approved_spending_limit + switch x := m.ApprovedSpendingLimit.(type) { + case *AccountBudget_ApprovedSpendingLimitMicros: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ApprovedSpendingLimitMicros); err != nil { + return err + } + case *AccountBudget_ApprovedSpendingLimitType: + b.EncodeVarint(15<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ApprovedSpendingLimitType)) + case nil: + default: + return fmt.Errorf("AccountBudget.ApprovedSpendingLimit has unexpected type %T", x) + } + // adjusted_spending_limit + switch x := m.AdjustedSpendingLimit.(type) { + case *AccountBudget_AdjustedSpendingLimitMicros: + b.EncodeVarint(16<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdjustedSpendingLimitMicros); err != nil { + return err + } + case *AccountBudget_AdjustedSpendingLimitType: + b.EncodeVarint(17<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdjustedSpendingLimitType)) + case nil: + default: + return fmt.Errorf("AccountBudget.AdjustedSpendingLimit has unexpected type %T", x) + } + return nil +} + +func _AccountBudget_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AccountBudget) + switch tag { + case 8: // proposed_end_time.proposed_end_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.ProposedEndTime = &AccountBudget_ProposedEndDateTime{msg} + return true, err + case 9: // proposed_end_time.proposed_end_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ProposedEndTime = &AccountBudget_ProposedEndTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 10: // approved_end_time.approved_end_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.ApprovedEndTime = &AccountBudget_ApprovedEndDateTime{msg} + return true, err + case 11: // approved_end_time.approved_end_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ApprovedEndTime = &AccountBudget_ApprovedEndTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 12: // proposed_spending_limit.proposed_spending_limit_micros + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int64Value) + err := b.DecodeMessage(msg) + m.ProposedSpendingLimit = &AccountBudget_ProposedSpendingLimitMicros{msg} + return true, err + case 13: // proposed_spending_limit.proposed_spending_limit_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ProposedSpendingLimit = &AccountBudget_ProposedSpendingLimitType{enums.SpendingLimitTypeEnum_SpendingLimitType(x)} + return true, err + case 14: // approved_spending_limit.approved_spending_limit_micros + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int64Value) + err := b.DecodeMessage(msg) + m.ApprovedSpendingLimit = &AccountBudget_ApprovedSpendingLimitMicros{msg} + return true, err + case 15: // approved_spending_limit.approved_spending_limit_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ApprovedSpendingLimit = &AccountBudget_ApprovedSpendingLimitType{enums.SpendingLimitTypeEnum_SpendingLimitType(x)} + return true, err + case 16: // adjusted_spending_limit.adjusted_spending_limit_micros + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int64Value) + err := b.DecodeMessage(msg) + m.AdjustedSpendingLimit = &AccountBudget_AdjustedSpendingLimitMicros{msg} + return true, err + case 17: // adjusted_spending_limit.adjusted_spending_limit_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.AdjustedSpendingLimit = &AccountBudget_AdjustedSpendingLimitType{enums.SpendingLimitTypeEnum_SpendingLimitType(x)} + return true, err + default: + return false, nil + } +} + +func _AccountBudget_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AccountBudget) + // proposed_end_time + switch x := m.ProposedEndTime.(type) { + case *AccountBudget_ProposedEndDateTime: + s := proto.Size(x.ProposedEndDateTime) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_ProposedEndTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ProposedEndTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // approved_end_time + switch x := m.ApprovedEndTime.(type) { + case *AccountBudget_ApprovedEndDateTime: + s := proto.Size(x.ApprovedEndDateTime) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_ApprovedEndTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ApprovedEndTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // proposed_spending_limit + switch x := m.ProposedSpendingLimit.(type) { + case *AccountBudget_ProposedSpendingLimitMicros: + s := proto.Size(x.ProposedSpendingLimitMicros) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_ProposedSpendingLimitType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ProposedSpendingLimitType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // approved_spending_limit + switch x := m.ApprovedSpendingLimit.(type) { + case *AccountBudget_ApprovedSpendingLimitMicros: + s := proto.Size(x.ApprovedSpendingLimitMicros) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_ApprovedSpendingLimitType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ApprovedSpendingLimitType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // adjusted_spending_limit + switch x := m.AdjustedSpendingLimit.(type) { + case *AccountBudget_AdjustedSpendingLimitMicros: + s := proto.Size(x.AdjustedSpendingLimitMicros) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_AdjustedSpendingLimitType: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.AdjustedSpendingLimitType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A pending proposal associated with the enclosing account-level budget, +// if applicable. +type AccountBudget_PendingAccountBudgetProposal struct { + // The resource name of the proposal. + // AccountBudgetProposal resource names have the form: + // + // + // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + AccountBudgetProposal *wrappers.StringValue `protobuf:"bytes,1,opt,name=account_budget_proposal,json=accountBudgetProposal,proto3" json:"account_budget_proposal,omitempty"` + // The type of this proposal, e.g. END to end the budget associated + // with this proposal. + ProposalType enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType `protobuf:"varint,2,opt,name=proposal_type,json=proposalType,proto3,enum=google.ads.googleads.v0.enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType" json:"proposal_type,omitempty"` + // The name to assign to the account-level budget. + Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // The start time in yyyy-MM-dd HH:mm:ss format. + StartDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=start_date_time,json=startDateTime,proto3" json:"start_date_time,omitempty"` + // A purchase order number is a value that helps users reference this budget + // in their monthly invoices. + PurchaseOrderNumber *wrappers.StringValue `protobuf:"bytes,9,opt,name=purchase_order_number,json=purchaseOrderNumber,proto3" json:"purchase_order_number,omitempty"` + // Notes associated with this budget. + Notes *wrappers.StringValue `protobuf:"bytes,10,opt,name=notes,proto3" json:"notes,omitempty"` + // The time when this account-level budget proposal was created. + // Formatted as yyyy-MM-dd HH:mm:ss. + CreationDateTime *wrappers.StringValue `protobuf:"bytes,11,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"` + // The end time of the account-level budget. + // + // Types that are valid to be assigned to EndTime: + // *AccountBudget_PendingAccountBudgetProposal_EndDateTime + // *AccountBudget_PendingAccountBudgetProposal_EndTimeType + EndTime isAccountBudget_PendingAccountBudgetProposal_EndTime `protobuf_oneof:"end_time"` + // The spending limit. + // + // Types that are valid to be assigned to SpendingLimit: + // *AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros + // *AccountBudget_PendingAccountBudgetProposal_SpendingLimitType + SpendingLimit isAccountBudget_PendingAccountBudgetProposal_SpendingLimit `protobuf_oneof:"spending_limit"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudget_PendingAccountBudgetProposal) Reset() { + *m = AccountBudget_PendingAccountBudgetProposal{} +} +func (m *AccountBudget_PendingAccountBudgetProposal) String() string { + return proto.CompactTextString(m) +} +func (*AccountBudget_PendingAccountBudgetProposal) ProtoMessage() {} +func (*AccountBudget_PendingAccountBudgetProposal) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_0b2aa8095fe7f986, []int{0, 0} +} +func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Unmarshal(m, b) +} +func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Marshal(b, m, deterministic) +} +func (dst *AccountBudget_PendingAccountBudgetProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Merge(dst, src) +} +func (m *AccountBudget_PendingAccountBudgetProposal) XXX_Size() int { + return xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Size(m) +} +func (m *AccountBudget_PendingAccountBudgetProposal) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal proto.InternalMessageInfo + +func (m *AccountBudget_PendingAccountBudgetProposal) GetAccountBudgetProposal() *wrappers.StringValue { + if m != nil { + return m.AccountBudgetProposal + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetProposalType() enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType { + if m != nil { + return m.ProposalType + } + return enums.AccountBudgetProposalTypeEnum_UNSPECIFIED +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetStartDateTime() *wrappers.StringValue { + if m != nil { + return m.StartDateTime + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetPurchaseOrderNumber() *wrappers.StringValue { + if m != nil { + return m.PurchaseOrderNumber + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetNotes() *wrappers.StringValue { + if m != nil { + return m.Notes + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetCreationDateTime() *wrappers.StringValue { + if m != nil { + return m.CreationDateTime + } + return nil +} + +type isAccountBudget_PendingAccountBudgetProposal_EndTime interface { + isAccountBudget_PendingAccountBudgetProposal_EndTime() +} + +type AccountBudget_PendingAccountBudgetProposal_EndDateTime struct { + EndDateTime *wrappers.StringValue `protobuf:"bytes,5,opt,name=end_date_time,json=endDateTime,proto3,oneof"` +} + +type AccountBudget_PendingAccountBudgetProposal_EndTimeType struct { + EndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,6,opt,name=end_time_type,json=endTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*AccountBudget_PendingAccountBudgetProposal_EndDateTime) isAccountBudget_PendingAccountBudgetProposal_EndTime() { +} + +func (*AccountBudget_PendingAccountBudgetProposal_EndTimeType) isAccountBudget_PendingAccountBudgetProposal_EndTime() { +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetEndTime() isAccountBudget_PendingAccountBudgetProposal_EndTime { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetEndDateTime() *wrappers.StringValue { + if x, ok := m.GetEndTime().(*AccountBudget_PendingAccountBudgetProposal_EndDateTime); ok { + return x.EndDateTime + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetEndTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetEndTime().(*AccountBudget_PendingAccountBudgetProposal_EndTimeType); ok { + return x.EndTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isAccountBudget_PendingAccountBudgetProposal_SpendingLimit interface { + isAccountBudget_PendingAccountBudgetProposal_SpendingLimit() +} + +type AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros struct { + SpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,7,opt,name=spending_limit_micros,json=spendingLimitMicros,proto3,oneof"` +} + +type AccountBudget_PendingAccountBudgetProposal_SpendingLimitType struct { + SpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,8,opt,name=spending_limit_type,json=spendingLimitType,proto3,enum=google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"` +} + +func (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros) isAccountBudget_PendingAccountBudgetProposal_SpendingLimit() { +} + +func (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType) isAccountBudget_PendingAccountBudgetProposal_SpendingLimit() { +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetSpendingLimit() isAccountBudget_PendingAccountBudgetProposal_SpendingLimit { + if m != nil { + return m.SpendingLimit + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetSpendingLimitMicros() *wrappers.Int64Value { + if x, ok := m.GetSpendingLimit().(*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros); ok { + return x.SpendingLimitMicros + } + return nil +} + +func (m *AccountBudget_PendingAccountBudgetProposal) GetSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType { + if x, ok := m.GetSpendingLimit().(*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType); ok { + return x.SpendingLimitType + } + return enums.SpendingLimitTypeEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AccountBudget_PendingAccountBudgetProposal) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AccountBudget_PendingAccountBudgetProposal_OneofMarshaler, _AccountBudget_PendingAccountBudgetProposal_OneofUnmarshaler, _AccountBudget_PendingAccountBudgetProposal_OneofSizer, []interface{}{ + (*AccountBudget_PendingAccountBudgetProposal_EndDateTime)(nil), + (*AccountBudget_PendingAccountBudgetProposal_EndTimeType)(nil), + (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros)(nil), + (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType)(nil), + } +} + +func _AccountBudget_PendingAccountBudgetProposal_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AccountBudget_PendingAccountBudgetProposal) + // end_time + switch x := m.EndTime.(type) { + case *AccountBudget_PendingAccountBudgetProposal_EndDateTime: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.EndDateTime); err != nil { + return err + } + case *AccountBudget_PendingAccountBudgetProposal_EndTimeType: + b.EncodeVarint(6<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.EndTimeType)) + case nil: + default: + return fmt.Errorf("AccountBudget_PendingAccountBudgetProposal.EndTime has unexpected type %T", x) + } + // spending_limit + switch x := m.SpendingLimit.(type) { + case *AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SpendingLimitMicros); err != nil { + return err + } + case *AccountBudget_PendingAccountBudgetProposal_SpendingLimitType: + b.EncodeVarint(8<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.SpendingLimitType)) + case nil: + default: + return fmt.Errorf("AccountBudget_PendingAccountBudgetProposal.SpendingLimit has unexpected type %T", x) + } + return nil +} + +func _AccountBudget_PendingAccountBudgetProposal_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AccountBudget_PendingAccountBudgetProposal) + switch tag { + case 5: // end_time.end_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.EndTime = &AccountBudget_PendingAccountBudgetProposal_EndDateTime{msg} + return true, err + case 6: // end_time.end_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.EndTime = &AccountBudget_PendingAccountBudgetProposal_EndTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 7: // spending_limit.spending_limit_micros + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int64Value) + err := b.DecodeMessage(msg) + m.SpendingLimit = &AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros{msg} + return true, err + case 8: // spending_limit.spending_limit_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.SpendingLimit = &AccountBudget_PendingAccountBudgetProposal_SpendingLimitType{enums.SpendingLimitTypeEnum_SpendingLimitType(x)} + return true, err + default: + return false, nil + } +} + +func _AccountBudget_PendingAccountBudgetProposal_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AccountBudget_PendingAccountBudgetProposal) + // end_time + switch x := m.EndTime.(type) { + case *AccountBudget_PendingAccountBudgetProposal_EndDateTime: + s := proto.Size(x.EndDateTime) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_PendingAccountBudgetProposal_EndTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.EndTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // spending_limit + switch x := m.SpendingLimit.(type) { + case *AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros: + s := proto.Size(x.SpendingLimitMicros) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudget_PendingAccountBudgetProposal_SpendingLimitType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.SpendingLimitType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*AccountBudget)(nil), "google.ads.googleads.v0.resources.AccountBudget") + proto.RegisterType((*AccountBudget_PendingAccountBudgetProposal)(nil), "google.ads.googleads.v0.resources.AccountBudget.PendingAccountBudgetProposal") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/account_budget.proto", fileDescriptor_account_budget_0b2aa8095fe7f986) +} + +var fileDescriptor_account_budget_0b2aa8095fe7f986 = []byte{ + // 976 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdb, 0x6e, 0xdb, 0x36, + 0x18, 0x9e, 0x6c, 0xe7, 0xc4, 0xc4, 0x39, 0xc8, 0x4d, 0xaa, 0x1c, 0x50, 0xa4, 0x1b, 0x06, 0x04, + 0x18, 0x26, 0x1b, 0x59, 0xd1, 0x61, 0xd8, 0xcd, 0x6c, 0xb4, 0x6b, 0x16, 0x2c, 0x5d, 0x46, 0x67, + 0xb9, 0x28, 0x02, 0x08, 0xb4, 0xc5, 0x69, 0xda, 0x2c, 0x52, 0x20, 0xa9, 0xac, 0xc5, 0x9e, 0x60, + 0xaf, 0xb1, 0x8b, 0x5d, 0xec, 0x41, 0x76, 0xb1, 0x17, 0xd8, 0xeb, 0x14, 0xa4, 0x44, 0xda, 0xb2, + 0xa5, 0x48, 0x45, 0x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0x7c, 0xcc, 0x3c, 0x92, 0x44, 0x23, 0xcc, 0x9c, 0x47, 0x35, 0x94, 0x77, 0x34, 0xf4, + 0x07, 0x89, 0x7c, 0xad, 0x80, 0xf6, 0x29, 0x58, 0x22, 0x54, 0x60, 0xee, 0xec, 0xd6, 0x60, 0x48, + 0x4d, 0xed, 0xb7, 0x60, 0x5b, 0x57, 0xa0, 0x2e, 0x7c, 0x67, 0x4f, 0xc1, 0x2f, 0xdc, 0xca, 0xce, + 0x92, 0xcf, 0x32, 0xf7, 0x32, 0x25, 0xca, 0x6d, 0x5e, 0x66, 0xa4, 0x70, 0x2b, 0x73, 0xa3, 0x37, + 0xec, 0x21, 0xd8, 0x33, 0x39, 0x85, 0x89, 0x3f, 0x73, 0xf5, 0xab, 0xd5, 0xe1, 0x9f, 0x7d, 0x04, + 0x3b, 0x1a, 0xfd, 0x92, 0xf8, 0xe6, 0xea, 0x7f, 0x9b, 0x23, 0x35, 0x5d, 0xc2, 0x59, 0x53, 0xe5, + 0xf4, 0xac, 0xa2, 0x9c, 0x24, 0xc9, 0xd5, 0xbb, 0x18, 0xab, 0x1a, 0xd2, 0x0f, 0x73, 0xce, 0xf4, + 0xb6, 0x54, 0x60, 0xd2, 0x37, 0xaf, 0x00, 0xd4, 0x50, 0x60, 0xc1, 0x8e, 0x46, 0xcf, 0x29, 0xc8, + 0x91, 0x4e, 0x15, 0xac, 0xdf, 0x43, 0x41, 0xde, 0x99, 0x51, 0x30, 0x02, 0x4f, 0xa6, 0x75, 0x9d, + 0xef, 0xc4, 0x59, 0x72, 0x6f, 0x54, 0x26, 0xf7, 0x59, 0x03, 0x1e, 0x9a, 0xf2, 0xce, 0x38, 0xbe, + 0x97, 0x14, 0x59, 0x9e, 0xff, 0x69, 0x81, 0xa3, 0x32, 0x27, 0x4a, 0x57, 0x5b, 0xe9, 0xfa, 0xb6, + 0x42, 0x57, 0x8e, 0xda, 0x08, 0x5c, 0xd8, 0x3d, 0x6b, 0xc0, 0xfd, 0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+ 0x45, 0xbc, 0x52, 0x5d, 0xc4, 0x16, 0xec, 0xf0, 0x82, 0xe2, 0x7d, 0x0b, 0x3a, 0x45, 0x25, 0xbb, + 0xfa, 0xa0, 0x25, 0x6b, 0xc1, 0x1d, 0x3e, 0xbf, 0x39, 0x00, 0x60, 0x55, 0x1f, 0xd4, 0x60, 0x1b, + 0x6c, 0xe6, 0xa3, 0x18, 0x74, 0xc0, 0xce, 0xc2, 0x1c, 0x97, 0x9b, 0x0b, 0xa3, 0x71, 0xb0, 0x0f, + 0x1e, 0x97, 0x4c, 0x17, 0xf9, 0xaa, 0xa4, 0x11, 0xab, 0x57, 0xc5, 0x3d, 0x6b, 0xf0, 0xbf, 0x05, + 0x3e, 0x1d, 0xd3, 0xa8, 0xfa, 0xeb, 0x67, 0x60, 0xcf, 0x97, 0xa8, 0xa0, 0x97, 0xd6, 0x9b, 0xf3, + 0x0c, 0x18, 0xd0, 0x09, 0x22, 0x81, 0x4b, 0x59, 0xd0, 0x0d, 0x30, 0x51, 0x77, 0xa2, 0xff, 0x63, + 0xe2, 0x90, 0xdf, 0xf1, 0x9f, 0xf7, 0xb5, 0x59, 0xfd, 0xd5, 0x68, 0xbe, 0xea, 0xf7, 0xff, 0x69, + 0x3c, 0x7d, 0x95, 0x52, 0xf6, 0x7d, 0xee, 0xa6, 0x4b, 0xb9, 0xba, 0xee, 0xb9, 0x50, 0x5b, 0xfe, + 0xa7, 0x6d, 0x6e, 0xfa, 0x3e, 0xbf, 0x31, 0x36, 0x37, 0xd7, 0xbd, 0x1b, 0x63, 0x33, 0x5a, 0x56, + 0x41, 0x7c, 0xf1, 0x3e, 0x00, 0x00, 0xff, 0xff, 0x70, 0x45, 0x2e, 0xc2, 0x6b, 0x0e, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget_proposal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget_proposal.pb.go new file mode 100644 index 000000000..2fcc4cf33 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/account_budget_proposal.pb.go @@ -0,0 +1,710 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/account_budget_proposal.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An account-level budget proposal. +// +// All fields prefixed with 'proposed' may not necessarily be applied directly. +// For example, proposed spending limits may be adjusted before their +// application. This is true if the 'proposed' field has an 'approved' +// counterpart, e.g. spending limits. +// +// Please note that the proposal type (proposal_type) changes which fields are +// required and which must remain empty. +type AccountBudgetProposal struct { + // The resource name of the proposal. + // AccountBudgetProposal resource names have the form: + // + // + // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the proposal. + Id *wrappers.Int64Value `protobuf:"bytes,14,opt,name=id,proto3" json:"id,omitempty"` + // The resource name of the billing setup associated with this proposal. + BillingSetup *wrappers.StringValue `protobuf:"bytes,2,opt,name=billing_setup,json=billingSetup,proto3" json:"billing_setup,omitempty"` + // The resource name of the account-level budget associated with this + // proposal. + AccountBudget *wrappers.StringValue `protobuf:"bytes,3,opt,name=account_budget,json=accountBudget,proto3" json:"account_budget,omitempty"` + // The type of this proposal, e.g. END to end the budget associated with this + // proposal. + ProposalType enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType `protobuf:"varint,4,opt,name=proposal_type,json=proposalType,proto3,enum=google.ads.googleads.v0.enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType" json:"proposal_type,omitempty"` + // The status of this proposal. + // When a new proposal is created, the status defaults to PENDING. + Status enums.AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus `protobuf:"varint,15,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus" json:"status,omitempty"` + // The name to assign to the account-level budget. + ProposedName *wrappers.StringValue `protobuf:"bytes,5,opt,name=proposed_name,json=proposedName,proto3" json:"proposed_name,omitempty"` + // The approved start date time in yyyy-mm-dd hh:mm:ss format. + ApprovedStartDateTime *wrappers.StringValue `protobuf:"bytes,20,opt,name=approved_start_date_time,json=approvedStartDateTime,proto3" json:"approved_start_date_time,omitempty"` + // A purchase order number is a value that enables the user to help them + // reference this budget in their monthly invoices. + ProposedPurchaseOrderNumber *wrappers.StringValue `protobuf:"bytes,12,opt,name=proposed_purchase_order_number,json=proposedPurchaseOrderNumber,proto3" json:"proposed_purchase_order_number,omitempty"` + // Notes associated with this budget. + ProposedNotes *wrappers.StringValue `protobuf:"bytes,13,opt,name=proposed_notes,json=proposedNotes,proto3" json:"proposed_notes,omitempty"` + // The date time when this account-level budget proposal was created, which is + // not the same as its approval date time, if applicable. + CreationDateTime *wrappers.StringValue `protobuf:"bytes,16,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"` + // The date time when this account-level budget was approved, if applicable. + ApprovalDateTime *wrappers.StringValue `protobuf:"bytes,17,opt,name=approval_date_time,json=approvalDateTime,proto3" json:"approval_date_time,omitempty"` + // The proposed start date time of the account-level budget, which cannot be + // in the past. + // + // Types that are valid to be assigned to ProposedStartTime: + // *AccountBudgetProposal_ProposedStartDateTime + // *AccountBudgetProposal_ProposedStartTimeType + ProposedStartTime isAccountBudgetProposal_ProposedStartTime `protobuf_oneof:"proposed_start_time"` + // The proposed end date time of the account-level budget, which cannot be in + // the past. + // + // Types that are valid to be assigned to ProposedEndTime: + // *AccountBudgetProposal_ProposedEndDateTime + // *AccountBudgetProposal_ProposedEndTimeType + ProposedEndTime isAccountBudgetProposal_ProposedEndTime `protobuf_oneof:"proposed_end_time"` + // The approved end date time of the account-level budget. + // + // Types that are valid to be assigned to ApprovedEndTime: + // *AccountBudgetProposal_ApprovedEndDateTime + // *AccountBudgetProposal_ApprovedEndTimeType + ApprovedEndTime isAccountBudgetProposal_ApprovedEndTime `protobuf_oneof:"approved_end_time"` + // The proposed spending limit. + // + // Types that are valid to be assigned to ProposedSpendingLimit: + // *AccountBudgetProposal_ProposedSpendingLimitMicros + // *AccountBudgetProposal_ProposedSpendingLimitType + ProposedSpendingLimit isAccountBudgetProposal_ProposedSpendingLimit `protobuf_oneof:"proposed_spending_limit"` + // The approved spending limit. + // + // Types that are valid to be assigned to ApprovedSpendingLimit: + // *AccountBudgetProposal_ApprovedSpendingLimitMicros + // *AccountBudgetProposal_ApprovedSpendingLimitType + ApprovedSpendingLimit isAccountBudgetProposal_ApprovedSpendingLimit `protobuf_oneof:"approved_spending_limit"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudgetProposal) Reset() { *m = AccountBudgetProposal{} } +func (m *AccountBudgetProposal) String() string { return proto.CompactTextString(m) } +func (*AccountBudgetProposal) ProtoMessage() {} +func (*AccountBudgetProposal) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_0a40c45df7b8d2e1, []int{0} +} +func (m *AccountBudgetProposal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudgetProposal.Unmarshal(m, b) +} +func (m *AccountBudgetProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudgetProposal.Marshal(b, m, deterministic) +} +func (dst *AccountBudgetProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudgetProposal.Merge(dst, src) +} +func (m *AccountBudgetProposal) XXX_Size() int { + return xxx_messageInfo_AccountBudgetProposal.Size(m) +} +func (m *AccountBudgetProposal) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudgetProposal.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudgetProposal proto.InternalMessageInfo + +func (m *AccountBudgetProposal) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AccountBudgetProposal) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *AccountBudgetProposal) GetBillingSetup() *wrappers.StringValue { + if m != nil { + return m.BillingSetup + } + return nil +} + +func (m *AccountBudgetProposal) GetAccountBudget() *wrappers.StringValue { + if m != nil { + return m.AccountBudget + } + return nil +} + +func (m *AccountBudgetProposal) GetProposalType() enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType { + if m != nil { + return m.ProposalType + } + return enums.AccountBudgetProposalTypeEnum_UNSPECIFIED +} + +func (m *AccountBudgetProposal) GetStatus() enums.AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus { + if m != nil { + return m.Status + } + return enums.AccountBudgetProposalStatusEnum_UNSPECIFIED +} + +func (m *AccountBudgetProposal) GetProposedName() *wrappers.StringValue { + if m != nil { + return m.ProposedName + } + return nil +} + +func (m *AccountBudgetProposal) GetApprovedStartDateTime() *wrappers.StringValue { + if m != nil { + return m.ApprovedStartDateTime + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedPurchaseOrderNumber() *wrappers.StringValue { + if m != nil { + return m.ProposedPurchaseOrderNumber + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedNotes() *wrappers.StringValue { + if m != nil { + return m.ProposedNotes + } + return nil +} + +func (m *AccountBudgetProposal) GetCreationDateTime() *wrappers.StringValue { + if m != nil { + return m.CreationDateTime + } + return nil +} + +func (m *AccountBudgetProposal) GetApprovalDateTime() *wrappers.StringValue { + if m != nil { + return m.ApprovalDateTime + } + return nil +} + +type isAccountBudgetProposal_ProposedStartTime interface { + isAccountBudgetProposal_ProposedStartTime() +} + +type AccountBudgetProposal_ProposedStartDateTime struct { + ProposedStartDateTime *wrappers.StringValue `protobuf:"bytes,18,opt,name=proposed_start_date_time,json=proposedStartDateTime,proto3,oneof"` +} + +type AccountBudgetProposal_ProposedStartTimeType struct { + ProposedStartTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,7,opt,name=proposed_start_time_type,json=proposedStartTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*AccountBudgetProposal_ProposedStartDateTime) isAccountBudgetProposal_ProposedStartTime() {} + +func (*AccountBudgetProposal_ProposedStartTimeType) isAccountBudgetProposal_ProposedStartTime() {} + +func (m *AccountBudgetProposal) GetProposedStartTime() isAccountBudgetProposal_ProposedStartTime { + if m != nil { + return m.ProposedStartTime + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedStartDateTime() *wrappers.StringValue { + if x, ok := m.GetProposedStartTime().(*AccountBudgetProposal_ProposedStartDateTime); ok { + return x.ProposedStartDateTime + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedStartTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetProposedStartTime().(*AccountBudgetProposal_ProposedStartTimeType); ok { + return x.ProposedStartTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isAccountBudgetProposal_ProposedEndTime interface { + isAccountBudgetProposal_ProposedEndTime() +} + +type AccountBudgetProposal_ProposedEndDateTime struct { + ProposedEndDateTime *wrappers.StringValue `protobuf:"bytes,19,opt,name=proposed_end_date_time,json=proposedEndDateTime,proto3,oneof"` +} + +type AccountBudgetProposal_ProposedEndTimeType struct { + ProposedEndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,9,opt,name=proposed_end_time_type,json=proposedEndTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*AccountBudgetProposal_ProposedEndDateTime) isAccountBudgetProposal_ProposedEndTime() {} + +func (*AccountBudgetProposal_ProposedEndTimeType) isAccountBudgetProposal_ProposedEndTime() {} + +func (m *AccountBudgetProposal) GetProposedEndTime() isAccountBudgetProposal_ProposedEndTime { + if m != nil { + return m.ProposedEndTime + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedEndDateTime() *wrappers.StringValue { + if x, ok := m.GetProposedEndTime().(*AccountBudgetProposal_ProposedEndDateTime); ok { + return x.ProposedEndDateTime + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedEndTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetProposedEndTime().(*AccountBudgetProposal_ProposedEndTimeType); ok { + return x.ProposedEndTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isAccountBudgetProposal_ApprovedEndTime interface { + isAccountBudgetProposal_ApprovedEndTime() +} + +type AccountBudgetProposal_ApprovedEndDateTime struct { + ApprovedEndDateTime *wrappers.StringValue `protobuf:"bytes,21,opt,name=approved_end_date_time,json=approvedEndDateTime,proto3,oneof"` +} + +type AccountBudgetProposal_ApprovedEndTimeType struct { + ApprovedEndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,22,opt,name=approved_end_time_type,json=approvedEndTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*AccountBudgetProposal_ApprovedEndDateTime) isAccountBudgetProposal_ApprovedEndTime() {} + +func (*AccountBudgetProposal_ApprovedEndTimeType) isAccountBudgetProposal_ApprovedEndTime() {} + +func (m *AccountBudgetProposal) GetApprovedEndTime() isAccountBudgetProposal_ApprovedEndTime { + if m != nil { + return m.ApprovedEndTime + } + return nil +} + +func (m *AccountBudgetProposal) GetApprovedEndDateTime() *wrappers.StringValue { + if x, ok := m.GetApprovedEndTime().(*AccountBudgetProposal_ApprovedEndDateTime); ok { + return x.ApprovedEndDateTime + } + return nil +} + +func (m *AccountBudgetProposal) GetApprovedEndTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetApprovedEndTime().(*AccountBudgetProposal_ApprovedEndTimeType); ok { + return x.ApprovedEndTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isAccountBudgetProposal_ProposedSpendingLimit interface { + isAccountBudgetProposal_ProposedSpendingLimit() +} + +type AccountBudgetProposal_ProposedSpendingLimitMicros struct { + ProposedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,10,opt,name=proposed_spending_limit_micros,json=proposedSpendingLimitMicros,proto3,oneof"` +} + +type AccountBudgetProposal_ProposedSpendingLimitType struct { + ProposedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,11,opt,name=proposed_spending_limit_type,json=proposedSpendingLimitType,proto3,enum=google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"` +} + +func (*AccountBudgetProposal_ProposedSpendingLimitMicros) isAccountBudgetProposal_ProposedSpendingLimit() { +} + +func (*AccountBudgetProposal_ProposedSpendingLimitType) isAccountBudgetProposal_ProposedSpendingLimit() { +} + +func (m *AccountBudgetProposal) GetProposedSpendingLimit() isAccountBudgetProposal_ProposedSpendingLimit { + if m != nil { + return m.ProposedSpendingLimit + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedSpendingLimitMicros() *wrappers.Int64Value { + if x, ok := m.GetProposedSpendingLimit().(*AccountBudgetProposal_ProposedSpendingLimitMicros); ok { + return x.ProposedSpendingLimitMicros + } + return nil +} + +func (m *AccountBudgetProposal) GetProposedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType { + if x, ok := m.GetProposedSpendingLimit().(*AccountBudgetProposal_ProposedSpendingLimitType); ok { + return x.ProposedSpendingLimitType + } + return enums.SpendingLimitTypeEnum_UNSPECIFIED +} + +type isAccountBudgetProposal_ApprovedSpendingLimit interface { + isAccountBudgetProposal_ApprovedSpendingLimit() +} + +type AccountBudgetProposal_ApprovedSpendingLimitMicros struct { + ApprovedSpendingLimitMicros *wrappers.Int64Value `protobuf:"bytes,23,opt,name=approved_spending_limit_micros,json=approvedSpendingLimitMicros,proto3,oneof"` +} + +type AccountBudgetProposal_ApprovedSpendingLimitType struct { + ApprovedSpendingLimitType enums.SpendingLimitTypeEnum_SpendingLimitType `protobuf:"varint,24,opt,name=approved_spending_limit_type,json=approvedSpendingLimitType,proto3,enum=google.ads.googleads.v0.enums.SpendingLimitTypeEnum_SpendingLimitType,oneof"` +} + +func (*AccountBudgetProposal_ApprovedSpendingLimitMicros) isAccountBudgetProposal_ApprovedSpendingLimit() { +} + +func (*AccountBudgetProposal_ApprovedSpendingLimitType) isAccountBudgetProposal_ApprovedSpendingLimit() { +} + +func (m *AccountBudgetProposal) GetApprovedSpendingLimit() isAccountBudgetProposal_ApprovedSpendingLimit { + if m != nil { + return m.ApprovedSpendingLimit + } + return nil +} + +func (m *AccountBudgetProposal) GetApprovedSpendingLimitMicros() *wrappers.Int64Value { + if x, ok := m.GetApprovedSpendingLimit().(*AccountBudgetProposal_ApprovedSpendingLimitMicros); ok { + return x.ApprovedSpendingLimitMicros + } + return nil +} + +func (m *AccountBudgetProposal) GetApprovedSpendingLimitType() enums.SpendingLimitTypeEnum_SpendingLimitType { + if x, ok := m.GetApprovedSpendingLimit().(*AccountBudgetProposal_ApprovedSpendingLimitType); ok { + return x.ApprovedSpendingLimitType + } + return enums.SpendingLimitTypeEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AccountBudgetProposal) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AccountBudgetProposal_OneofMarshaler, _AccountBudgetProposal_OneofUnmarshaler, _AccountBudgetProposal_OneofSizer, []interface{}{ + (*AccountBudgetProposal_ProposedStartDateTime)(nil), + (*AccountBudgetProposal_ProposedStartTimeType)(nil), + (*AccountBudgetProposal_ProposedEndDateTime)(nil), + (*AccountBudgetProposal_ProposedEndTimeType)(nil), + (*AccountBudgetProposal_ApprovedEndDateTime)(nil), + (*AccountBudgetProposal_ApprovedEndTimeType)(nil), + (*AccountBudgetProposal_ProposedSpendingLimitMicros)(nil), + (*AccountBudgetProposal_ProposedSpendingLimitType)(nil), + (*AccountBudgetProposal_ApprovedSpendingLimitMicros)(nil), + (*AccountBudgetProposal_ApprovedSpendingLimitType)(nil), + } +} + +func _AccountBudgetProposal_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AccountBudgetProposal) + // proposed_start_time + switch x := m.ProposedStartTime.(type) { + case *AccountBudgetProposal_ProposedStartDateTime: + b.EncodeVarint(18<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProposedStartDateTime); err != nil { + return err + } + case *AccountBudgetProposal_ProposedStartTimeType: + b.EncodeVarint(7<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ProposedStartTimeType)) + case nil: + default: + return fmt.Errorf("AccountBudgetProposal.ProposedStartTime has unexpected type %T", x) + } + // proposed_end_time + switch x := m.ProposedEndTime.(type) { + case *AccountBudgetProposal_ProposedEndDateTime: + b.EncodeVarint(19<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProposedEndDateTime); err != nil { + return err + } + case *AccountBudgetProposal_ProposedEndTimeType: + b.EncodeVarint(9<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ProposedEndTimeType)) + case nil: + default: + return fmt.Errorf("AccountBudgetProposal.ProposedEndTime has unexpected type %T", x) + } + // approved_end_time + switch x := m.ApprovedEndTime.(type) { + case *AccountBudgetProposal_ApprovedEndDateTime: + b.EncodeVarint(21<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ApprovedEndDateTime); err != nil { + return err + } + case *AccountBudgetProposal_ApprovedEndTimeType: + b.EncodeVarint(22<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ApprovedEndTimeType)) + case nil: + default: + return fmt.Errorf("AccountBudgetProposal.ApprovedEndTime has unexpected type %T", x) + } + // proposed_spending_limit + switch x := m.ProposedSpendingLimit.(type) { + case *AccountBudgetProposal_ProposedSpendingLimitMicros: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProposedSpendingLimitMicros); err != nil { + return err + } + case *AccountBudgetProposal_ProposedSpendingLimitType: + b.EncodeVarint(11<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ProposedSpendingLimitType)) + case nil: + default: + return fmt.Errorf("AccountBudgetProposal.ProposedSpendingLimit has unexpected type %T", x) + } + // approved_spending_limit + switch x := m.ApprovedSpendingLimit.(type) { + case *AccountBudgetProposal_ApprovedSpendingLimitMicros: + b.EncodeVarint(23<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ApprovedSpendingLimitMicros); err != nil { + return err + } + case *AccountBudgetProposal_ApprovedSpendingLimitType: + b.EncodeVarint(24<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ApprovedSpendingLimitType)) + case nil: + default: + return fmt.Errorf("AccountBudgetProposal.ApprovedSpendingLimit has unexpected type %T", x) + } + return nil +} + +func _AccountBudgetProposal_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AccountBudgetProposal) + switch tag { + case 18: // proposed_start_time.proposed_start_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.ProposedStartTime = &AccountBudgetProposal_ProposedStartDateTime{msg} + return true, err + case 7: // proposed_start_time.proposed_start_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ProposedStartTime = &AccountBudgetProposal_ProposedStartTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 19: // proposed_end_time.proposed_end_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.ProposedEndTime = &AccountBudgetProposal_ProposedEndDateTime{msg} + return true, err + case 9: // proposed_end_time.proposed_end_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ProposedEndTime = &AccountBudgetProposal_ProposedEndTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 21: // approved_end_time.approved_end_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.ApprovedEndTime = &AccountBudgetProposal_ApprovedEndDateTime{msg} + return true, err + case 22: // approved_end_time.approved_end_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ApprovedEndTime = &AccountBudgetProposal_ApprovedEndTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 10: // proposed_spending_limit.proposed_spending_limit_micros + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int64Value) + err := b.DecodeMessage(msg) + m.ProposedSpendingLimit = &AccountBudgetProposal_ProposedSpendingLimitMicros{msg} + return true, err + case 11: // proposed_spending_limit.proposed_spending_limit_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ProposedSpendingLimit = &AccountBudgetProposal_ProposedSpendingLimitType{enums.SpendingLimitTypeEnum_SpendingLimitType(x)} + return true, err + case 23: // approved_spending_limit.approved_spending_limit_micros + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.Int64Value) + err := b.DecodeMessage(msg) + m.ApprovedSpendingLimit = &AccountBudgetProposal_ApprovedSpendingLimitMicros{msg} + return true, err + case 24: // approved_spending_limit.approved_spending_limit_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ApprovedSpendingLimit = &AccountBudgetProposal_ApprovedSpendingLimitType{enums.SpendingLimitTypeEnum_SpendingLimitType(x)} + return true, err + default: + return false, nil + } +} + +func _AccountBudgetProposal_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AccountBudgetProposal) + // proposed_start_time + switch x := m.ProposedStartTime.(type) { + case *AccountBudgetProposal_ProposedStartDateTime: + s := proto.Size(x.ProposedStartDateTime) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudgetProposal_ProposedStartTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ProposedStartTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // proposed_end_time + switch x := m.ProposedEndTime.(type) { + case *AccountBudgetProposal_ProposedEndDateTime: + s := proto.Size(x.ProposedEndDateTime) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudgetProposal_ProposedEndTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ProposedEndTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // approved_end_time + switch x := m.ApprovedEndTime.(type) { + case *AccountBudgetProposal_ApprovedEndDateTime: + s := proto.Size(x.ApprovedEndDateTime) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudgetProposal_ApprovedEndTimeType: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ApprovedEndTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // proposed_spending_limit + switch x := m.ProposedSpendingLimit.(type) { + case *AccountBudgetProposal_ProposedSpendingLimitMicros: + s := proto.Size(x.ProposedSpendingLimitMicros) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudgetProposal_ProposedSpendingLimitType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ProposedSpendingLimitType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // approved_spending_limit + switch x := m.ApprovedSpendingLimit.(type) { + case *AccountBudgetProposal_ApprovedSpendingLimitMicros: + s := proto.Size(x.ApprovedSpendingLimitMicros) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudgetProposal_ApprovedSpendingLimitType: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.ApprovedSpendingLimitType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*AccountBudgetProposal)(nil), "google.ads.googleads.v0.resources.AccountBudgetProposal") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/account_budget_proposal.proto", fileDescriptor_account_budget_proposal_0a40c45df7b8d2e1) +} + +var fileDescriptor_account_budget_proposal_0a40c45df7b8d2e1 = []byte{ + // 803 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdf, 0x6e, 0xd3, 0x30, + 0x14, 0xc6, 0x49, 0x3b, 0x86, 0xe6, 0xb5, 0x63, 0x4b, 0xe9, 0x96, 0xfd, 0xd1, 0xb4, 0x81, 0x90, + 0x26, 0x21, 0xd2, 0x6a, 0x4c, 0x70, 0xc1, 0x05, 0xb4, 0x30, 0x36, 0x26, 0x18, 0x55, 0x3a, 0x8a, + 0x34, 0x55, 0x8a, 0xdc, 0xc6, 0x84, 0x88, 0x24, 0x8e, 0x1c, 0x67, 0x68, 0xe2, 0x09, 0x78, 0x0d, + 0x2e, 0x79, 0x14, 0x5e, 0x02, 0xf1, 0x26, 0xc8, 0x4e, 0xec, 0x26, 0x6d, 0xb3, 0x46, 0x1b, 0x77, + 0x4e, 0xec, 0xef, 0x3b, 0xe7, 0x77, 0x7c, 0xec, 0x04, 0xbc, 0xb0, 0x31, 0xb6, 0x5d, 0xd4, 0x80, + 0x56, 0xd8, 0x88, 0x87, 0x6c, 0x74, 0xd1, 0x6c, 0x10, 0x14, 0xe2, 0x88, 0x0c, 0x51, 0xd8, 0x80, + 0xc3, 0x21, 0x8e, 0x7c, 0x6a, 0x0e, 0x22, 0xcb, 0x46, 0xd4, 0x0c, 0x08, 0x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66, 0xc3, 0x26, 0xdb, 0x75, 0x50, 0x9b, 0x72, 0xa8, 0xdb, 0x35, 0xb0, 0x32, 0x71, 0x4a, 0xd8, + 0xcb, 0x89, 0xc6, 0x6b, 0xaf, 0x83, 0xb5, 0x9c, 0xbd, 0x63, 0x53, 0x39, 0x98, 0xed, 0x3f, 0x0a, + 0x78, 0x38, 0xc4, 0x9e, 0x3e, 0xf3, 0xdf, 0xac, 0xbd, 0x31, 0xf5, 0x6b, 0xd6, 0x61, 0x55, 0xef, + 0x28, 0xe7, 0x27, 0x89, 0x81, 0x8d, 0x5d, 0xe8, 0xdb, 0x3a, 0x26, 0x76, 0xc3, 0x46, 0x3e, 0xdf, + 0x13, 0xf1, 0x2b, 0x14, 0x38, 0xe1, 0x15, 0x3f, 0x8f, 0xcf, 0xe5, 0xe8, 0x67, 0xa9, 0x7c, 0xd4, + 0x6a, 0xfd, 0x2a, 0xed, 0x1e, 0xc5, 0x96, 0x2d, 0x2b, 0xd4, 0xe3, 0x21, 0x1b, 0xf5, 0x9a, 0xba, + 0x21, 0x56, 0xfe, 0x16, 0x6b, 0xfa, 0x2d, 0x2b, 0xec, 0xcb, 0x35, 0xfd, 0x5e, 0xb3, 0x2f, 0xd7, + 0x0c, 0xe6, 0x79, 0x12, 0x4f, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x32, 0xf4, 0xce, 0xc0, + 0x0a, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad.pb.go new file mode 100644 index 000000000..01a10c08c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad.pb.go @@ -0,0 +1,635 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An ad. +type Ad struct { + // The ID of the ad. + Id *wrappers.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The list of possible final URLs after all cross-domain redirects for the + // ad. + FinalUrls []*wrappers.StringValue `protobuf:"bytes,2,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` + // The list of possible final mobile URLs after all cross-domain redirects + // for the ad. + FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,16,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` + // The URL template for constructing a tracking URL. + TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,12,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` + // The list of mappings that can be used to substitute custom parameter tags + // in a + // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + UrlCustomParameters []*common.CustomParameter `protobuf:"bytes,10,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` + // The URL that appears in the ad description for some ad formats. + DisplayUrl *wrappers.StringValue `protobuf:"bytes,4,opt,name=display_url,json=displayUrl,proto3" json:"display_url,omitempty"` + // The type of ad. + Type enums.AdTypeEnum_AdType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.AdTypeEnum_AdType" json:"type,omitempty"` + // Indicates if this ad was automatically added by Google Ads and not by a + // user. For example, this could happen when ads are automatically created as + // suggestions for new ads based on knowledge of how existing ads are + // performing. + AddedByGoogleAds *wrappers.BoolValue `protobuf:"bytes,19,opt,name=added_by_google_ads,json=addedByGoogleAds,proto3" json:"added_by_google_ads,omitempty"` + // The device preference for the ad. You can only specify a preference for + // mobile devices. When this preference is set the ad will be preferred over + // other ads when being displayed on a mobile device. The ad can still be + // displayed on other device types, e.g. if no other ads are available. + // If unspecified (no device preference), all devices are targeted. + // This is only supported by some ad types. + DevicePreference enums.DeviceEnum_Device `protobuf:"varint,20,opt,name=device_preference,json=devicePreference,proto3,enum=google.ads.googleads.v0.enums.DeviceEnum_Device" json:"device_preference,omitempty"` + // The name of the ad. This is only used to be able to identify the ad. It + // does not need to be unique and does not affect the served ad. + Name *wrappers.StringValue `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"` + // Details pertinent to the ad type. Exactly one value must be set. + // + // Types that are valid to be assigned to AdData: + // *Ad_TextAd + // *Ad_ExpandedTextAd + // *Ad_DynamicSearchAd + // *Ad_ResponsiveDisplayAd + // *Ad_CallOnlyAd + // *Ad_ExpandedDynamicSearchAd + // *Ad_HotelAd + // *Ad_ShoppingSmartAd + // *Ad_ShoppingProductAd + // *Ad_GmailAd + // *Ad_ImageAd + AdData isAd_AdData `protobuf_oneof:"ad_data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Ad) Reset() { *m = Ad{} } +func (m *Ad) String() string { return proto.CompactTextString(m) } +func (*Ad) ProtoMessage() {} +func (*Ad) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_81ea002d2bacbe35, []int{0} +} +func (m *Ad) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Ad.Unmarshal(m, b) +} +func (m *Ad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Ad.Marshal(b, m, deterministic) +} +func (dst *Ad) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ad.Merge(dst, src) +} +func (m *Ad) XXX_Size() int { + return xxx_messageInfo_Ad.Size(m) +} +func (m *Ad) XXX_DiscardUnknown() { + xxx_messageInfo_Ad.DiscardUnknown(m) +} + +var xxx_messageInfo_Ad proto.InternalMessageInfo + +func (m *Ad) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *Ad) GetFinalUrls() []*wrappers.StringValue { + if m != nil { + return m.FinalUrls + } + return nil +} + +func (m *Ad) GetFinalMobileUrls() []*wrappers.StringValue { + if m != nil { + return m.FinalMobileUrls + } + return nil +} + +func (m *Ad) GetTrackingUrlTemplate() *wrappers.StringValue { + if m != nil { + return m.TrackingUrlTemplate + } + return nil +} + +func (m *Ad) GetUrlCustomParameters() []*common.CustomParameter { + if m != nil { + return m.UrlCustomParameters + } + return nil +} + +func (m *Ad) GetDisplayUrl() *wrappers.StringValue { + if m != nil { + return m.DisplayUrl + } + return nil +} + +func (m *Ad) GetType() enums.AdTypeEnum_AdType { + if m != nil { + return m.Type + } + return enums.AdTypeEnum_UNSPECIFIED +} + +func (m *Ad) GetAddedByGoogleAds() *wrappers.BoolValue { + if m != nil { + return m.AddedByGoogleAds + } + return nil +} + +func (m *Ad) GetDevicePreference() enums.DeviceEnum_Device { + if m != nil { + return m.DevicePreference + } + return enums.DeviceEnum_UNSPECIFIED +} + +func (m *Ad) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +type isAd_AdData interface { + isAd_AdData() +} + +type Ad_TextAd struct { + TextAd *common.TextAdInfo `protobuf:"bytes,6,opt,name=text_ad,json=textAd,proto3,oneof"` +} + +type Ad_ExpandedTextAd struct { + ExpandedTextAd *common.ExpandedTextAdInfo `protobuf:"bytes,7,opt,name=expanded_text_ad,json=expandedTextAd,proto3,oneof"` +} + +type Ad_DynamicSearchAd struct { + DynamicSearchAd *common.DynamicSearchAdInfo `protobuf:"bytes,8,opt,name=dynamic_search_ad,json=dynamicSearchAd,proto3,oneof"` +} + +type Ad_ResponsiveDisplayAd struct { + ResponsiveDisplayAd *common.ResponsiveDisplayAdInfo `protobuf:"bytes,9,opt,name=responsive_display_ad,json=responsiveDisplayAd,proto3,oneof"` +} + +type Ad_CallOnlyAd struct { + CallOnlyAd *common.CallOnlyAdInfo `protobuf:"bytes,13,opt,name=call_only_ad,json=callOnlyAd,proto3,oneof"` +} + +type Ad_ExpandedDynamicSearchAd struct { + ExpandedDynamicSearchAd *common.ExpandedDynamicSearchAdInfo `protobuf:"bytes,14,opt,name=expanded_dynamic_search_ad,json=expandedDynamicSearchAd,proto3,oneof"` +} + +type Ad_HotelAd struct { + HotelAd *common.HotelAdInfo `protobuf:"bytes,15,opt,name=hotel_ad,json=hotelAd,proto3,oneof"` +} + +type Ad_ShoppingSmartAd struct { + ShoppingSmartAd *common.ShoppingSmartAdInfo `protobuf:"bytes,17,opt,name=shopping_smart_ad,json=shoppingSmartAd,proto3,oneof"` +} + +type Ad_ShoppingProductAd struct { + ShoppingProductAd *common.ShoppingProductAdInfo `protobuf:"bytes,18,opt,name=shopping_product_ad,json=shoppingProductAd,proto3,oneof"` +} + +type Ad_GmailAd struct { + GmailAd *common.GmailAdInfo `protobuf:"bytes,21,opt,name=gmail_ad,json=gmailAd,proto3,oneof"` +} + +type Ad_ImageAd struct { + ImageAd *common.ImageAdInfo `protobuf:"bytes,22,opt,name=image_ad,json=imageAd,proto3,oneof"` +} + +func (*Ad_TextAd) isAd_AdData() {} + +func (*Ad_ExpandedTextAd) isAd_AdData() {} + +func (*Ad_DynamicSearchAd) isAd_AdData() {} + +func (*Ad_ResponsiveDisplayAd) isAd_AdData() {} + +func (*Ad_CallOnlyAd) isAd_AdData() {} + +func (*Ad_ExpandedDynamicSearchAd) isAd_AdData() {} + +func (*Ad_HotelAd) isAd_AdData() {} + +func (*Ad_ShoppingSmartAd) isAd_AdData() {} + +func (*Ad_ShoppingProductAd) isAd_AdData() {} + +func (*Ad_GmailAd) isAd_AdData() {} + +func (*Ad_ImageAd) isAd_AdData() {} + +func (m *Ad) GetAdData() isAd_AdData { + if m != nil { + return m.AdData + } + return nil +} + +func (m *Ad) GetTextAd() *common.TextAdInfo { + if x, ok := m.GetAdData().(*Ad_TextAd); ok { + return x.TextAd + } + return nil +} + +func (m *Ad) GetExpandedTextAd() *common.ExpandedTextAdInfo { + if x, ok := m.GetAdData().(*Ad_ExpandedTextAd); ok { + return x.ExpandedTextAd + } + return nil +} + +func (m *Ad) GetDynamicSearchAd() *common.DynamicSearchAdInfo { + if x, ok := m.GetAdData().(*Ad_DynamicSearchAd); ok { + return x.DynamicSearchAd + } + return nil +} + +func (m *Ad) GetResponsiveDisplayAd() *common.ResponsiveDisplayAdInfo { + if x, ok := m.GetAdData().(*Ad_ResponsiveDisplayAd); ok { + return x.ResponsiveDisplayAd + } + return nil +} + +func (m *Ad) GetCallOnlyAd() *common.CallOnlyAdInfo { + if x, ok := m.GetAdData().(*Ad_CallOnlyAd); ok { + return x.CallOnlyAd + } + return nil +} + +func (m *Ad) GetExpandedDynamicSearchAd() *common.ExpandedDynamicSearchAdInfo { + if x, ok := m.GetAdData().(*Ad_ExpandedDynamicSearchAd); ok { + return x.ExpandedDynamicSearchAd + } + return nil +} + +func (m *Ad) GetHotelAd() *common.HotelAdInfo { + if x, ok := m.GetAdData().(*Ad_HotelAd); ok { + return x.HotelAd + } + return nil +} + +func (m *Ad) GetShoppingSmartAd() *common.ShoppingSmartAdInfo { + if x, ok := m.GetAdData().(*Ad_ShoppingSmartAd); ok { + return x.ShoppingSmartAd + } + return nil +} + +func (m *Ad) GetShoppingProductAd() *common.ShoppingProductAdInfo { + if x, ok := m.GetAdData().(*Ad_ShoppingProductAd); ok { + return x.ShoppingProductAd + } + return nil +} + +func (m *Ad) GetGmailAd() *common.GmailAdInfo { + if x, ok := m.GetAdData().(*Ad_GmailAd); ok { + return x.GmailAd + } + return nil +} + +func (m *Ad) GetImageAd() *common.ImageAdInfo { + if x, ok := m.GetAdData().(*Ad_ImageAd); ok { + return x.ImageAd + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Ad) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Ad_OneofMarshaler, _Ad_OneofUnmarshaler, _Ad_OneofSizer, []interface{}{ + (*Ad_TextAd)(nil), + (*Ad_ExpandedTextAd)(nil), + (*Ad_DynamicSearchAd)(nil), + (*Ad_ResponsiveDisplayAd)(nil), + (*Ad_CallOnlyAd)(nil), + (*Ad_ExpandedDynamicSearchAd)(nil), + (*Ad_HotelAd)(nil), + (*Ad_ShoppingSmartAd)(nil), + (*Ad_ShoppingProductAd)(nil), + (*Ad_GmailAd)(nil), + (*Ad_ImageAd)(nil), + } +} + +func _Ad_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Ad) + // ad_data + switch x := m.AdData.(type) { + case *Ad_TextAd: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TextAd); err != nil { + return err + } + case *Ad_ExpandedTextAd: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ExpandedTextAd); err != nil { + return err + } + case *Ad_DynamicSearchAd: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DynamicSearchAd); err != nil { + return err + } + case *Ad_ResponsiveDisplayAd: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ResponsiveDisplayAd); err != nil { + return err + } + case *Ad_CallOnlyAd: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CallOnlyAd); err != nil { + return err + } + case *Ad_ExpandedDynamicSearchAd: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ExpandedDynamicSearchAd); err != nil { + return err + } + case *Ad_HotelAd: + b.EncodeVarint(15<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelAd); err != nil { + return err + } + case *Ad_ShoppingSmartAd: + b.EncodeVarint(17<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ShoppingSmartAd); err != nil { + return err + } + case *Ad_ShoppingProductAd: + b.EncodeVarint(18<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ShoppingProductAd); err != nil { + return err + } + case *Ad_GmailAd: + b.EncodeVarint(21<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.GmailAd); err != nil { + return err + } + case *Ad_ImageAd: + b.EncodeVarint(22<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ImageAd); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Ad.AdData has unexpected type %T", x) + } + return nil +} + +func _Ad_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Ad) + switch tag { + case 6: // ad_data.text_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TextAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_TextAd{msg} + return true, err + case 7: // ad_data.expanded_text_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ExpandedTextAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_ExpandedTextAd{msg} + return true, err + case 8: // ad_data.dynamic_search_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.DynamicSearchAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_DynamicSearchAd{msg} + return true, err + case 9: // ad_data.responsive_display_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ResponsiveDisplayAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_ResponsiveDisplayAd{msg} + return true, err + case 13: // ad_data.call_only_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.CallOnlyAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_CallOnlyAd{msg} + return true, err + case 14: // ad_data.expanded_dynamic_search_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ExpandedDynamicSearchAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_ExpandedDynamicSearchAd{msg} + return true, err + case 15: // ad_data.hotel_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.HotelAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_HotelAd{msg} + return true, err + case 17: // ad_data.shopping_smart_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ShoppingSmartAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_ShoppingSmartAd{msg} + return true, err + case 18: // ad_data.shopping_product_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ShoppingProductAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_ShoppingProductAd{msg} + return true, err + case 21: // ad_data.gmail_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.GmailAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_GmailAd{msg} + return true, err + case 22: // ad_data.image_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ImageAdInfo) + err := b.DecodeMessage(msg) + m.AdData = &Ad_ImageAd{msg} + return true, err + default: + return false, nil + } +} + +func _Ad_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Ad) + // ad_data + switch x := m.AdData.(type) { + case *Ad_TextAd: + s := proto.Size(x.TextAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_ExpandedTextAd: + s := proto.Size(x.ExpandedTextAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_DynamicSearchAd: + s := proto.Size(x.DynamicSearchAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_ResponsiveDisplayAd: + s := proto.Size(x.ResponsiveDisplayAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_CallOnlyAd: + s := proto.Size(x.CallOnlyAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_ExpandedDynamicSearchAd: + s := proto.Size(x.ExpandedDynamicSearchAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_HotelAd: + s := proto.Size(x.HotelAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_ShoppingSmartAd: + s := proto.Size(x.ShoppingSmartAd) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_ShoppingProductAd: + s := proto.Size(x.ShoppingProductAd) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_GmailAd: + s := proto.Size(x.GmailAd) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Ad_ImageAd: + s := proto.Size(x.ImageAd) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*Ad)(nil), "google.ads.googleads.v0.resources.Ad") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad.proto", fileDescriptor_ad_81ea002d2bacbe35) +} + +var fileDescriptor_ad_81ea002d2bacbe35 = []byte{ + // 841 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x96, 0xdf, 0x6e, 0xe4, 0x34, + 0x14, 0xc6, 0x99, 0xd9, 0xd2, 0xd9, 0xba, 0xbb, 0xfd, 0xe3, 0xa1, 0x6c, 0x54, 0x10, 0xea, 0x22, + 0x21, 0x55, 0xad, 0xe4, 0x19, 0xcd, 0xb2, 0x70, 0x51, 0x71, 0x91, 0xa1, 0x55, 0x5b, 0x24, 0xc4, + 0x68, 0xfa, 0xe7, 0x02, 0x15, 0x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0xbf, 0xe2, 0xc0, + 0x8f, 0xfe, 0xee, 0xbe, 0x38, 0x0e, 0xc3, 0x7f, 0xba, 0x6f, 0xdd, 0x0d, 0x49, 0x42, 0x66, 0x88, + 0xbf, 0x2c, 0xc9, 0xe5, 0xd0, 0xbe, 0x54, 0x4e, 0xf9, 0x6f, 0xad, 0xb9, 0x0a, 0x99, 0xb9, 0xf2, + 0x9a, 0xab, 0xcb, 0xe1, 0x95, 0xd7, 0x5c, 0x2f, 0x43, 0x11, 0xef, 0x3e, 0x04, 0x00, 0x00, 0xff, + 0xff, 0x1d, 0xb0, 0x28, 0xdd, 0xdb, 0x08, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group.pb.go new file mode 100644 index 000000000..2b32660d5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group.pb.go @@ -0,0 +1,295 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad_group.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An ad group. +type AdGroup struct { + // The resource name of the ad group. + // Ad group resource names have the form: + // + // `customers/{customer_id}/adGroups/{ad_group_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the ad group. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the ad group. + // + // This field is required and should not be empty when creating new ad + // groups. + // + // It must contain fewer than 255 UTF-8 full-width characters. + // + // It must not contain any null (code point 0x0), NL line feed + // (code point 0xA) or carriage return (code point 0xD) characters. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The status of the ad group. + Status enums.AdGroupStatusEnum_AdGroupStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.AdGroupStatusEnum_AdGroupStatus" json:"status,omitempty"` + // The type of the ad group. + Type enums.AdGroupTypeEnum_AdGroupType `protobuf:"varint,12,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.AdGroupTypeEnum_AdGroupType" json:"type,omitempty"` + // The ad rotation mode of the ad group. + AdRotationMode enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode `protobuf:"varint,22,opt,name=ad_rotation_mode,json=adRotationMode,proto3,enum=google.ads.googleads.v0.enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode" json:"ad_rotation_mode,omitempty"` + // The URL template for constructing a tracking URL. + TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,13,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` + // The list of mappings used to substitute custom parameter tags in a + // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + UrlCustomParameters []*common.CustomParameter `protobuf:"bytes,6,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` + // The campaign to which the ad group belongs. + Campaign *wrappers.StringValue `protobuf:"bytes,10,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The maximum CPC (cost-per-click) bid. + CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,14,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` + // The maximum CPM (cost-per-thousand viewable impressions) bid. + CpmBidMicros *wrappers.Int64Value `protobuf:"bytes,15,opt,name=cpm_bid_micros,json=cpmBidMicros,proto3" json:"cpm_bid_micros,omitempty"` + // The target cost-per-acquisition (conversion) bid. + CpaBidMicros *wrappers.Int64Value `protobuf:"bytes,16,opt,name=cpa_bid_micros,json=cpaBidMicros,proto3" json:"cpa_bid_micros,omitempty"` + // The CPV (cost-per-view) bid. + CpvBidMicros *wrappers.Int64Value `protobuf:"bytes,17,opt,name=cpv_bid_micros,json=cpvBidMicros,proto3" json:"cpv_bid_micros,omitempty"` + // The target return on ad spend (ROAS) override. If the ad group's campaign + // bidding strategy is a standard Target ROAS strategy, then this field + // overrides the target ROAS specified in the campaign's bidding strategy. + // Otherwise, this value is ignored. + TargetRoasOverride *wrappers.DoubleValue `protobuf:"bytes,19,opt,name=target_roas_override,json=targetRoasOverride,proto3" json:"target_roas_override,omitempty"` + // The percent cpc bid amount, expressed as a fraction of the advertised price + // for some good or service. The valid range for the fraction is [0,1) and the + // value stored here is 1,000,000 * [fraction]. + PercentCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,20,opt,name=percent_cpc_bid_micros,json=percentCpcBidMicros,proto3" json:"percent_cpc_bid_micros,omitempty"` + // Settings for the Display Campaign Optimizer, initially termed "Explorer". + ExplorerAutoOptimizerSetting *common.ExplorerAutoOptimizerSetting `protobuf:"bytes,21,opt,name=explorer_auto_optimizer_setting,json=explorerAutoOptimizerSetting,proto3" json:"explorer_auto_optimizer_setting,omitempty"` + // Allows advertisers to specify a targeting dimension on which to place + // absolute bids. This is only applicable for campaigns that target only the + // display network and not search. + DisplayCustomBidDimension enums.TargetingDimensionEnum_TargetingDimension `protobuf:"varint,23,opt,name=display_custom_bid_dimension,json=displayCustomBidDimension,proto3,enum=google.ads.googleads.v0.enums.TargetingDimensionEnum_TargetingDimension" json:"display_custom_bid_dimension,omitempty"` + // URL template for appending params to Final URL. + FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,24,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroup) Reset() { *m = AdGroup{} } +func (m *AdGroup) String() string { return proto.CompactTextString(m) } +func (*AdGroup) ProtoMessage() {} +func (*AdGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_35a993e3f6807d38, []int{0} +} +func (m *AdGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroup.Unmarshal(m, b) +} +func (m *AdGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroup.Marshal(b, m, deterministic) +} +func (dst *AdGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroup.Merge(dst, src) +} +func (m *AdGroup) XXX_Size() int { + return xxx_messageInfo_AdGroup.Size(m) +} +func (m *AdGroup) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroup proto.InternalMessageInfo + +func (m *AdGroup) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AdGroup) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *AdGroup) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *AdGroup) GetStatus() enums.AdGroupStatusEnum_AdGroupStatus { + if m != nil { + return m.Status + } + return enums.AdGroupStatusEnum_UNSPECIFIED +} + +func (m *AdGroup) GetType() enums.AdGroupTypeEnum_AdGroupType { + if m != nil { + return m.Type + } + return enums.AdGroupTypeEnum_UNSPECIFIED +} + +func (m *AdGroup) GetAdRotationMode() enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode { + if m != nil { + return m.AdRotationMode + } + return enums.AdGroupAdRotationModeEnum_UNSPECIFIED +} + +func (m *AdGroup) GetTrackingUrlTemplate() *wrappers.StringValue { + if m != nil { + return m.TrackingUrlTemplate + } + return nil +} + +func (m *AdGroup) GetUrlCustomParameters() []*common.CustomParameter { + if m != nil { + return m.UrlCustomParameters + } + return nil +} + +func (m *AdGroup) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *AdGroup) GetCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidMicros + } + return nil +} + +func (m *AdGroup) GetCpmBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpmBidMicros + } + return nil +} + +func (m *AdGroup) GetCpaBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpaBidMicros + } + return nil +} + +func (m *AdGroup) GetCpvBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpvBidMicros + } + return nil +} + +func (m *AdGroup) GetTargetRoasOverride() *wrappers.DoubleValue { + if m != nil { + return m.TargetRoasOverride + } + return nil +} + +func (m *AdGroup) GetPercentCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.PercentCpcBidMicros + } + return nil +} + +func (m *AdGroup) GetExplorerAutoOptimizerSetting() *common.ExplorerAutoOptimizerSetting { + if m != nil { + return m.ExplorerAutoOptimizerSetting + } + return nil +} + +func (m *AdGroup) GetDisplayCustomBidDimension() enums.TargetingDimensionEnum_TargetingDimension { + if m != nil { + return m.DisplayCustomBidDimension + } + return enums.TargetingDimensionEnum_UNSPECIFIED +} + +func (m *AdGroup) GetFinalUrlSuffix() *wrappers.StringValue { + if m != nil { + return m.FinalUrlSuffix + } + return nil +} + +func init() { + proto.RegisterType((*AdGroup)(nil), "google.ads.googleads.v0.resources.AdGroup") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad_group.proto", fileDescriptor_ad_group_35a993e3f6807d38) +} + +var fileDescriptor_ad_group_35a993e3f6807d38 = []byte{ + // 780 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0x5f, 0x6f,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e, 0x89, 0xc5, 0x5f, 0x36, 0xc4, 0x95, 0x46, 0x3a, 0x57, 0x16, + 0xfa, 0xb4, 0x21, 0xa4, 0xef, 0x44, 0xb5, 0xce, 0x97, 0x8f, 0x23, 0x1a, 0xc9, 0x84, 0x14, 0xa7, + 0x82, 0x98, 0x32, 0x92, 0x29, 0xca, 0x33, 0x0b, 0xbe, 0x6f, 0x41, 0xf3, 0x34, 0xcf, 0x17, 0xc1, + 0x6f, 0x12, 0x09, 0x41, 0xa4, 0xdd, 0xcb, 0x87, 0x7f, 0x1f, 0x82, 0xd7, 0x43, 0x7c, 0x51, 0xac, + 0xe7, 0x7e, 0x04, 0x9e, 0x54, 0x5f, 0x05, 0x66, 0x88, 0x11, 0xcf, 0xe9, 0x39, 0xfd, 0x37, 0xa3, + 0x76, 0x35, 0x39, 0x42, 0x8c, 0xb8, 0x9f, 0x80, 0x16, 0xc5, 0xde, 0x5e, 0xcf, 0xe9, 0x1f, 0x9e, + 0xbe, 0x67, 0x3f, 0xa9, 0x5f, 0xd9, 0xfd, 0x9f, 0x32, 0xfd, 0xc5, 0x67, 0x53, 0x94, 0xe6, 0x24, + 0x6a, 0x51, 0xec, 0x0e, 0xc0, 0xbe, 0x11, 0xed, 0x9b, 0xf0, 0x93, 0x07, 0xe1, 0x13, 0x2d, 0x69, + 0x96, 0x94, 0xf1, 0x26, 0xd2, 0x9d, 0x82, 0x83, 0x32, 0x57, 0xde, 0x6b, 0x3d, 0xa7, 0xdf, 0x39, + 0xfd, 0xde, 0xdf, 0x56, 0x40, 0xe6, 0xe4, 0xbe, 0xdd, 0xfb, 0xc4, 0x30, 0xe7, 0x59, 0xce, 0xd6, + 0x67, 0x22, 0x6b, 0x73, 0x47, 0x60, 0xbf, 0x48, 0xa7, 0xd7, 0x36, 0xd6, 0xaf, 0x9b, 0x59, 0xaf, + 0xef, 0x04, 0x59, 0x75, 0x16, 0xcf, 0x91, 0xf1, 0xb8, 0xb7, 0xe0, 0x68, 0xb3, 0x24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, 0xff, 0x56, 0x31, 0xb3, 0x10, + 0xab, 0x59, 0x1d, 0x33, 0x9b, 0x0e, 0x66, 0x75, 0xcc, 0xfc, 0xc0, 0x6c, 0xe2, 0xe5, 0xff, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x2e, 0x2f, 0x7c, 0xf6, 0x59, 0x08, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_ad.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_ad.pb.go new file mode 100644 index 000000000..c8cf37cd6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_ad.pb.go @@ -0,0 +1,206 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad_group_ad.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An ad group ad. +type AdGroupAd struct { + // The resource name of the ad. + // Ad group ad resource names have the form: + // + // `customers/{customer_id}/adGroupAds/{ad_group_id}_{ad_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The status of the ad. + Status enums.AdGroupAdStatusEnum_AdGroupAdStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.AdGroupAdStatusEnum_AdGroupAdStatus" json:"status,omitempty"` + // The ad group to which the ad belongs. + AdGroup *wrappers.StringValue `protobuf:"bytes,4,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // The ad. + Ad *Ad `protobuf:"bytes,5,opt,name=ad,proto3" json:"ad,omitempty"` + // Policy information for the ad. + PolicySummary *AdGroupAdPolicySummary `protobuf:"bytes,6,opt,name=policy_summary,json=policySummary,proto3" json:"policy_summary,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAd) Reset() { *m = AdGroupAd{} } +func (m *AdGroupAd) String() string { return proto.CompactTextString(m) } +func (*AdGroupAd) ProtoMessage() {} +func (*AdGroupAd) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_c15aeab0e0f89685, []int{0} +} +func (m *AdGroupAd) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAd.Unmarshal(m, b) +} +func (m *AdGroupAd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAd.Marshal(b, m, deterministic) +} +func (dst *AdGroupAd) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAd.Merge(dst, src) +} +func (m *AdGroupAd) XXX_Size() int { + return xxx_messageInfo_AdGroupAd.Size(m) +} +func (m *AdGroupAd) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAd.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAd proto.InternalMessageInfo + +func (m *AdGroupAd) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AdGroupAd) GetStatus() enums.AdGroupAdStatusEnum_AdGroupAdStatus { + if m != nil { + return m.Status + } + return enums.AdGroupAdStatusEnum_UNSPECIFIED +} + +func (m *AdGroupAd) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *AdGroupAd) GetAd() *Ad { + if m != nil { + return m.Ad + } + return nil +} + +func (m *AdGroupAd) GetPolicySummary() *AdGroupAdPolicySummary { + if m != nil { + return m.PolicySummary + } + return nil +} + +// Contains policy information for an ad. +type AdGroupAdPolicySummary struct { + // The list of policy findings for this ad. + PolicyTopicEntries []*common.PolicyTopicEntry `protobuf:"bytes,1,rep,name=policy_topic_entries,json=policyTopicEntries,proto3" json:"policy_topic_entries,omitempty"` + // Where in the review process this ad is. + ReviewStatus enums.PolicyReviewStatusEnum_PolicyReviewStatus `protobuf:"varint,2,opt,name=review_status,json=reviewStatus,proto3,enum=google.ads.googleads.v0.enums.PolicyReviewStatusEnum_PolicyReviewStatus" json:"review_status,omitempty"` + // The overall approval status of this ad, calculated based on the status of + // its individual policy topic entries. + ApprovalStatus enums.PolicyApprovalStatusEnum_PolicyApprovalStatus `protobuf:"varint,3,opt,name=approval_status,json=approvalStatus,proto3,enum=google.ads.googleads.v0.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus" json:"approval_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAdPolicySummary) Reset() { *m = AdGroupAdPolicySummary{} } +func (m *AdGroupAdPolicySummary) String() string { return proto.CompactTextString(m) } +func (*AdGroupAdPolicySummary) ProtoMessage() {} +func (*AdGroupAdPolicySummary) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_c15aeab0e0f89685, []int{1} +} +func (m *AdGroupAdPolicySummary) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAdPolicySummary.Unmarshal(m, b) +} +func (m *AdGroupAdPolicySummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAdPolicySummary.Marshal(b, m, deterministic) +} +func (dst *AdGroupAdPolicySummary) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAdPolicySummary.Merge(dst, src) +} +func (m *AdGroupAdPolicySummary) XXX_Size() int { + return xxx_messageInfo_AdGroupAdPolicySummary.Size(m) +} +func (m *AdGroupAdPolicySummary) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAdPolicySummary.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAdPolicySummary proto.InternalMessageInfo + +func (m *AdGroupAdPolicySummary) GetPolicyTopicEntries() []*common.PolicyTopicEntry { + if m != nil { + return m.PolicyTopicEntries + } + return nil +} + +func (m *AdGroupAdPolicySummary) GetReviewStatus() enums.PolicyReviewStatusEnum_PolicyReviewStatus { + if m != nil { + return m.ReviewStatus + } + return enums.PolicyReviewStatusEnum_UNSPECIFIED +} + +func (m *AdGroupAdPolicySummary) GetApprovalStatus() enums.PolicyApprovalStatusEnum_PolicyApprovalStatus { + if m != nil { + return m.ApprovalStatus + } + return enums.PolicyApprovalStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*AdGroupAd)(nil), "google.ads.googleads.v0.resources.AdGroupAd") + proto.RegisterType((*AdGroupAdPolicySummary)(nil), "google.ads.googleads.v0.resources.AdGroupAdPolicySummary") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad_group_ad.proto", fileDescriptor_ad_group_ad_c15aeab0e0f89685) +} + +var fileDescriptor_ad_group_ad_c15aeab0e0f89685 = []byte{ + // 522 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5d, 0x6b, 0xdb, 0x30, + 0x14, 0xc5, 0xce, 0x96, 0xad, 0xea, 0x9a, 0x81, 0x18, 0xc3, 0x94, 0x31, 0xd2, 0x8e, 0x42, 0xd8, + 0x40, 0x0e, 0x29, 0xfb, 0x7e, 0x72, 0xa0, 0x64, 0x8c, 0x31, 0x8a, 0x33, 0xf2, 0x50, 0x02, 0x9e, + 0x62, 0x69, 0xc6, 0x60, 0x59, 0x42, 0xb2, 0x53, 0xf2, 0x77, 0xf6, 0xb8, 0x9f, 0xb2, 0xd7, 0xbd, + 0xef, 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 0x8f, 0x03, 0x4e, 0x62, + 0xce, 0xb6, 0x1f, 0x6d, 0xdc, 0xbb, 0xba, 0x45, 0xe5, 0xa7, 0x73, 0xe7, 0xe2, 0xb3, 0x25, 0x25, + 0x3c, 0xc3, 0x79, 0x82, 0xb8, 0x4c, 0xfc, 0x84, 0xe6, 0xda, 0x6d, 0xf5, 0xdf, 0x25, 0x52, 0x75, + 0xc7, 0xcf, 0xf6, 0xb1, 0x89, 0x7e, 0xba, 0x9d, 0x49, 0x10, 0xfc, 0x72, 0x8f, 0x26, 0x46, 0x32, + 0x20, 0x0a, 0x99, 0xb0, 0x8a, 0x66, 0x43, 0x14, 0xd6, 0xc8, 0xdf, 0x35, 0x66, 0x1e, 0x10, 0x35, + 0x6f, 0x30, 0xf3, 0xd9, 0x70, 0xde, 0x60, 0x16, 0x5d, 0x3d, 0xc4, 0xe9, 0xff, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x4e, 0x9d, 0x31, 0x0d, 0x23, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_audience_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_audience_view.pb.go new file mode 100644 index 000000000..2ea853620 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_audience_view.pb.go @@ -0,0 +1,92 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad_group_audience_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An ad group audience view. +// Includes performance data from interests and remarketing lists for Display +// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +// aggregated at the audience level. +type AdGroupAudienceView struct { + // The resource name of the ad group audience view. + // Ad group audience view resource names have the form: + // + // `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAudienceView) Reset() { *m = AdGroupAudienceView{} } +func (m *AdGroupAudienceView) String() string { return proto.CompactTextString(m) } +func (*AdGroupAudienceView) ProtoMessage() {} +func (*AdGroupAudienceView) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_audience_view_20b0cb0c6b38a70d, []int{0} +} +func (m *AdGroupAudienceView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAudienceView.Unmarshal(m, b) +} +func (m *AdGroupAudienceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAudienceView.Marshal(b, m, deterministic) +} +func (dst *AdGroupAudienceView) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAudienceView.Merge(dst, src) +} +func (m *AdGroupAudienceView) XXX_Size() int { + return xxx_messageInfo_AdGroupAudienceView.Size(m) +} +func (m *AdGroupAudienceView) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAudienceView.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAudienceView proto.InternalMessageInfo + +func (m *AdGroupAudienceView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*AdGroupAudienceView)(nil), "google.ads.googleads.v0.resources.AdGroupAudienceView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad_group_audience_view.proto", fileDescriptor_ad_group_audience_view_20b0cb0c6b38a70d) +} + +var fileDescriptor_ad_group_audience_view_20b0cb0c6b38a70d = []byte{ + // 239 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0xc4, 0x94, 0xf8, 0xf4, 0xa2, 0xfc, 0xd2, 0x82, + 0xf8, 0xc4, 0xd2, 0x94, 0xcc, 0xd4, 0xbc, 0xe4, 0xd4, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, + 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x26, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x7e, 0xbd, + 0x32, 0x03, 0x3d, 0xb8, 0x7e, 0x25, 0x2b, 0x2e, 0x61, 0xc7, 0x14, 0x77, 0x90, 0x09, 0x8e, 0x50, + 0x03, 0xc2, 0x32, 0x53, 0xcb, 0x85, 0x94, 0xb9, 0x78, 0x61, 0x6a, 0xe2, 0xf3, 0x12, 0x73, 0x53, + 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x78, 0x60, 0x82, 0x7e, 0x89, 0xb9, 0xa9, 0x4e, 0x77, + 0x19, 0xb9, 0x54, 0x93, 0xf3, 0x73, 0xf5, 0x08, 0xda, 0xe2, 0x24, 0x81, 0xc5, 0x8e, 0x00, 0x90, + 0x13, 0x03, 0x18, 0xa3, 0xbc, 0xa0, 0xda, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, + 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0x1e, 0x80, 0x79, 0xba, 0x20, 0xb3, 0x18, 0x4f, 0x18, 0x58, + 0xc3, 0x59, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xba, 0x43, 0x8c, 0x74, 0x4c, + 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0xbd, 0x20, 0x98, 0xca, 0x53, 0x30, 0x35, 0x31, + 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x35, 0x31, 0x61, 0x06, 0x31, 0x70, 0x35, 0x49, 0x6c, 0x60, 0x47, + 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1e, 0xd2, 0x5c, 0xee, 0x87, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_bid_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_bid_modifier.pb.go new file mode 100644 index 000000000..fc1380ec6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_bid_modifier.pb.go @@ -0,0 +1,420 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad_group_bid_modifier.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents an ad group bid modifier. +type AdGroupBidModifier struct { + // The resource name of the ad group bid modifier. + // Ad group bid modifier resource names have the form: + // + // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ad group to which this criterion belongs. + AdGroup *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // The ID of the criterion to bid modify. + // + // This field is ignored for mutates. + CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` + // The modifier for the bid when the criterion matches. The modifier must be + // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. + // Use 0 to opt out of a Device type. + BidModifier *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` + // The base ad group from which this draft/trial adgroup bid modifier was + // created. If ad_group is a base ad group then this field will be equal to + // ad_group. If the ad group was created in the draft or trial and has no + // corresponding base ad group, then this field will be null. + // This field is readonly. + BaseAdGroup *wrappers.StringValue `protobuf:"bytes,9,opt,name=base_ad_group,json=baseAdGroup,proto3" json:"base_ad_group,omitempty"` + // Bid modifier source. + BidModifierSource enums.BidModifierSourceEnum_BidModifierSource `protobuf:"varint,10,opt,name=bid_modifier_source,json=bidModifierSource,proto3,enum=google.ads.googleads.v0.enums.BidModifierSourceEnum_BidModifierSource" json:"bid_modifier_source,omitempty"` + // The criterion of this ad group bid modifier. + // + // Types that are valid to be assigned to Criterion: + // *AdGroupBidModifier_HotelDateSelectionType + // *AdGroupBidModifier_HotelAdvanceBookingWindow + // *AdGroupBidModifier_HotelLengthOfStay + // *AdGroupBidModifier_HotelCheckInDay + // *AdGroupBidModifier_Device + // *AdGroupBidModifier_PreferredContent + Criterion isAdGroupBidModifier_Criterion `protobuf_oneof:"criterion"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupBidModifier) Reset() { *m = AdGroupBidModifier{} } +func (m *AdGroupBidModifier) String() string { return proto.CompactTextString(m) } +func (*AdGroupBidModifier) ProtoMessage() {} +func (*AdGroupBidModifier) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_771431a7da3a20c0, []int{0} +} +func (m *AdGroupBidModifier) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupBidModifier.Unmarshal(m, b) +} +func (m *AdGroupBidModifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupBidModifier.Marshal(b, m, deterministic) +} +func (dst *AdGroupBidModifier) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupBidModifier.Merge(dst, src) +} +func (m *AdGroupBidModifier) XXX_Size() int { + return xxx_messageInfo_AdGroupBidModifier.Size(m) +} +func (m *AdGroupBidModifier) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupBidModifier.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupBidModifier proto.InternalMessageInfo + +func (m *AdGroupBidModifier) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AdGroupBidModifier) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *AdGroupBidModifier) GetCriterionId() *wrappers.Int64Value { + if m != nil { + return m.CriterionId + } + return nil +} + +func (m *AdGroupBidModifier) GetBidModifier() *wrappers.DoubleValue { + if m != nil { + return m.BidModifier + } + return nil +} + +func (m *AdGroupBidModifier) GetBaseAdGroup() *wrappers.StringValue { + if m != nil { + return m.BaseAdGroup + } + return nil +} + +func (m *AdGroupBidModifier) GetBidModifierSource() enums.BidModifierSourceEnum_BidModifierSource { + if m != nil { + return m.BidModifierSource + } + return enums.BidModifierSourceEnum_UNSPECIFIED +} + +type isAdGroupBidModifier_Criterion interface { + isAdGroupBidModifier_Criterion() +} + +type AdGroupBidModifier_HotelDateSelectionType struct { + HotelDateSelectionType *common.HotelDateSelectionTypeInfo `protobuf:"bytes,5,opt,name=hotel_date_selection_type,json=hotelDateSelectionType,proto3,oneof"` +} + +type AdGroupBidModifier_HotelAdvanceBookingWindow struct { + HotelAdvanceBookingWindow *common.HotelAdvanceBookingWindowInfo `protobuf:"bytes,6,opt,name=hotel_advance_booking_window,json=hotelAdvanceBookingWindow,proto3,oneof"` +} + +type AdGroupBidModifier_HotelLengthOfStay struct { + HotelLengthOfStay *common.HotelLengthOfStayInfo `protobuf:"bytes,7,opt,name=hotel_length_of_stay,json=hotelLengthOfStay,proto3,oneof"` +} + +type AdGroupBidModifier_HotelCheckInDay struct { + HotelCheckInDay *common.HotelCheckInDayInfo `protobuf:"bytes,8,opt,name=hotel_check_in_day,json=hotelCheckInDay,proto3,oneof"` +} + +type AdGroupBidModifier_Device struct { + Device *common.DeviceInfo `protobuf:"bytes,11,opt,name=device,proto3,oneof"` +} + +type AdGroupBidModifier_PreferredContent struct { + PreferredContent *common.PreferredContentInfo `protobuf:"bytes,12,opt,name=preferred_content,json=preferredContent,proto3,oneof"` +} + +func (*AdGroupBidModifier_HotelDateSelectionType) isAdGroupBidModifier_Criterion() {} + +func (*AdGroupBidModifier_HotelAdvanceBookingWindow) isAdGroupBidModifier_Criterion() {} + +func (*AdGroupBidModifier_HotelLengthOfStay) isAdGroupBidModifier_Criterion() {} + +func (*AdGroupBidModifier_HotelCheckInDay) isAdGroupBidModifier_Criterion() {} + +func (*AdGroupBidModifier_Device) isAdGroupBidModifier_Criterion() {} + +func (*AdGroupBidModifier_PreferredContent) isAdGroupBidModifier_Criterion() {} + +func (m *AdGroupBidModifier) GetCriterion() isAdGroupBidModifier_Criterion { + if m != nil { + return m.Criterion + } + return nil +} + +func (m *AdGroupBidModifier) GetHotelDateSelectionType() *common.HotelDateSelectionTypeInfo { + if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelDateSelectionType); ok { + return x.HotelDateSelectionType + } + return nil +} + +func (m *AdGroupBidModifier) GetHotelAdvanceBookingWindow() *common.HotelAdvanceBookingWindowInfo { + if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelAdvanceBookingWindow); ok { + return x.HotelAdvanceBookingWindow + } + return nil +} + +func (m *AdGroupBidModifier) GetHotelLengthOfStay() *common.HotelLengthOfStayInfo { + if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelLengthOfStay); ok { + return x.HotelLengthOfStay + } + return nil +} + +func (m *AdGroupBidModifier) GetHotelCheckInDay() *common.HotelCheckInDayInfo { + if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelCheckInDay); ok { + return x.HotelCheckInDay + } + return nil +} + +func (m *AdGroupBidModifier) GetDevice() *common.DeviceInfo { + if x, ok := m.GetCriterion().(*AdGroupBidModifier_Device); ok { + return x.Device + } + return nil +} + +func (m *AdGroupBidModifier) GetPreferredContent() *common.PreferredContentInfo { + if x, ok := m.GetCriterion().(*AdGroupBidModifier_PreferredContent); ok { + return x.PreferredContent + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupBidModifier) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupBidModifier_OneofMarshaler, _AdGroupBidModifier_OneofUnmarshaler, _AdGroupBidModifier_OneofSizer, []interface{}{ + (*AdGroupBidModifier_HotelDateSelectionType)(nil), + (*AdGroupBidModifier_HotelAdvanceBookingWindow)(nil), + (*AdGroupBidModifier_HotelLengthOfStay)(nil), + (*AdGroupBidModifier_HotelCheckInDay)(nil), + (*AdGroupBidModifier_Device)(nil), + (*AdGroupBidModifier_PreferredContent)(nil), + } +} + +func _AdGroupBidModifier_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupBidModifier) + // criterion + switch x := m.Criterion.(type) { + case *AdGroupBidModifier_HotelDateSelectionType: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelDateSelectionType); err != nil { + return err + } + case *AdGroupBidModifier_HotelAdvanceBookingWindow: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelAdvanceBookingWindow); err != nil { + return err + } + case *AdGroupBidModifier_HotelLengthOfStay: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelLengthOfStay); err != nil { + return err + } + case *AdGroupBidModifier_HotelCheckInDay: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotelCheckInDay); err != nil { + return err + } + case *AdGroupBidModifier_Device: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Device); err != nil { + return err + } + case *AdGroupBidModifier_PreferredContent: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PreferredContent); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("AdGroupBidModifier.Criterion has unexpected type %T", x) + } + return nil +} + +func _AdGroupBidModifier_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupBidModifier) + switch tag { + case 5: // criterion.hotel_date_selection_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.HotelDateSelectionTypeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupBidModifier_HotelDateSelectionType{msg} + return true, err + case 6: // criterion.hotel_advance_booking_window + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.HotelAdvanceBookingWindowInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupBidModifier_HotelAdvanceBookingWindow{msg} + return true, err + case 7: // criterion.hotel_length_of_stay + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.HotelLengthOfStayInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupBidModifier_HotelLengthOfStay{msg} + return true, err + case 8: // criterion.hotel_check_in_day + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.HotelCheckInDayInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupBidModifier_HotelCheckInDay{msg} + return true, err + case 11: // criterion.device + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.DeviceInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupBidModifier_Device{msg} + return true, err + case 12: // criterion.preferred_content + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.PreferredContentInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupBidModifier_PreferredContent{msg} + return true, err + default: + return false, nil + } +} + +func _AdGroupBidModifier_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupBidModifier) + // criterion + switch x := m.Criterion.(type) { + case *AdGroupBidModifier_HotelDateSelectionType: + s := proto.Size(x.HotelDateSelectionType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifier_HotelAdvanceBookingWindow: + s := proto.Size(x.HotelAdvanceBookingWindow) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifier_HotelLengthOfStay: + s := proto.Size(x.HotelLengthOfStay) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifier_HotelCheckInDay: + s := proto.Size(x.HotelCheckInDay) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifier_Device: + s := proto.Size(x.Device) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifier_PreferredContent: + s := proto.Size(x.PreferredContent) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*AdGroupBidModifier)(nil), "google.ads.googleads.v0.resources.AdGroupBidModifier") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad_group_bid_modifier.proto", fileDescriptor_ad_group_bid_modifier_771431a7da3a20c0) +} + +var fileDescriptor_ad_group_bid_modifier_771431a7da3a20c0 = []byte{ + // 656 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x6e, 0xd3, 0x30, + 0x14, 0xc7, 0xe9, 0x06, 0xfb, 0x70, 0x3b, 0x60, 0x06, 0x41, 0x18, 0x13, 0xda, 0x40, 0x48, 0x13, + 0x12, 0x4e, 0xb5, 0x0d, 0x26, 0x81, 0x06, 0xb4, 0x2b, 0x6c, 0x45, 0x7c, 0x4c, 0x2d, 0x1a, 0x12, + 0xaa, 0x64, 0x39, 0xf1, 0x69, 0x1a, 0xad, 0xb1, 0x23, 0xc7, 0x6d, 0xd5, 0x3b, 0x9e, 0x85, 0x4b, + 0x6e, 0x78, 0x0f, 0x9e, 0x81, 0x87, 0x41, 0xb1, 0x93, 0xa8, 0x6c, 0x2b, 0xeb, 0xdd, 0xe9, 0xf1, + 0xf9, 0xfd, 0xff, 0xe7, 0x9c, 0xc6, 0x46, 0xfb, 0x81, 0x94, 0x41, 0x1f, 0x5c, 0xc6, 0x13, 0xd7, + 0x86, 0x69, 0x34, 0xac, 0xba, 0x0a, 0x12, 0x39, 0x50, 0x3e, 0x24, 0x2e, 0xe3, 0x34, 0x50, 0x72, + 0x10, 0x53, 0x2f, 0xe4, 0x34, 0x92, 0x3c, 0xec, 0x86, 0xa0, 0x48, 0xac, 0xa4, 0x96, 0x78, 0xd3, + 0x32, 0x84, 0xf1, 0x84, 0x14, 0x38, 0x19, 0x56, 0x49, 0x81, 0xaf, 0x3d, 0x9d, 0xe6, 0xe0, 0xcb, + 0x28, 0x92, 0xc2, 0xf5, 0x55, 0xa8, 0x41, 0x85, 0xcc, 0x2a, 0xae, 0xed, 0x4d, 0x2b, 0x07, 0x31, + 0x88, 0x12, 0x77, 0xb2, 0x07, 0x6a, 0x2d, 0x32, 0xf0, 0x41, 0x06, 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x82, 0xbb, 0x97, 0x09, 0x1e, 0xe7, 0xe0, 0x81, 0xe5, 0x32, + 0xe9, 0x9b, 0xf1, 0x99, 0x7c, 0xbd, 0x8c, 0x96, 0x8b, 0xeb, 0x57, 0xff, 0x53, 0x42, 0x8f, 0x7d, + 0x19, 0x91, 0x4b, 0xdf, 0xb8, 0xfa, 0xdd, 0xf3, 0x0f, 0xcb, 0x71, 0x7a, 0xb1, 0x8e, 0x4b, 0xdf, + 0xde, 0x67, 0x74, 0x20, 0xfb, 0x4c, 0x04, 0x44, 0xaa, 0xc0, 0x0d, 0x40, 0x98, 0x6b, 0x97, 0xbf, + 0x6f, 0x71, 0x98, 0xfc, 0xe7, 0xfd, 0x7d, 0x59, 0x44, 0x3f, 0xe6, 0xe6, 0x0f, 0x6b, 0xb5, 0x9f, + 0x73, 0x9b, 0x87, 0x56, 0xb2, 0xc6, 0x13, 0x62, 0xc3, 0x34, 0x3a, 0xa9, 0x92, 0x56, 0x5e, 0xf9, + 0x3b, 0xaf, 0xe9, 0xd4, 0x78, 0xd2, 0x29, 0x6a, 0x3a, 0x27, 0xd5, 0x4e, 0x51, 0xe3, 0x2d, 0x98, + 0x26, 0x76, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x54, 0x6c, 0xde, 0x0c, 0x03, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_criterion.pb.go new file mode 100644 index 000000000..b3945db11 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_criterion.pb.go @@ -0,0 +1,960 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad_group_criterion.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An ad group criterion. +type AdGroupCriterion struct { + // The resource name of the ad group criterion. + // Ad group criterion resource names have the form: + // + // `customers/{customer_id}/adGroupCriteria/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the criterion. + // + // This field is ignored for mutates. + CriterionId *wrappers.Int64Value `protobuf:"bytes,26,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` + // The status of the criterion. + Status enums.AdGroupCriterionStatusEnum_AdGroupCriterionStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.AdGroupCriterionStatusEnum_AdGroupCriterionStatus" json:"status,omitempty"` + // Information regarding the quality of the criterion. + QualityInfo *AdGroupCriterion_QualityInfo `protobuf:"bytes,4,opt,name=quality_info,json=qualityInfo,proto3" json:"quality_info,omitempty"` + // The ad group to which the criterion belongs. + AdGroup *wrappers.StringValue `protobuf:"bytes,5,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // The type of the criterion. + Type enums.CriterionTypeEnum_CriterionType `protobuf:"varint,25,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` + // Whether to target (`false`) or exclude (`true`) the criterion. + // + // This field is immutable. To switch a criterion from positive to negative, + // remove then re-add it. + Negative *wrappers.BoolValue `protobuf:"bytes,31,opt,name=negative,proto3" json:"negative,omitempty"` + // The modifier for the bid when the criterion matches. The modifier must be + // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + BidModifier *wrappers.DoubleValue `protobuf:"bytes,44,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` + // The CPC (cost-per-click) bid. + CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,16,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` + // The CPM (cost-per-thousand viewable impressions) bid. + CpmBidMicros *wrappers.Int64Value `protobuf:"bytes,17,opt,name=cpm_bid_micros,json=cpmBidMicros,proto3" json:"cpm_bid_micros,omitempty"` + // The CPV (cost-per-view) bid. + CpvBidMicros *wrappers.Int64Value `protobuf:"bytes,24,opt,name=cpv_bid_micros,json=cpvBidMicros,proto3" json:"cpv_bid_micros,omitempty"` + // The CPC bid amount, expressed as a fraction of the advertised price + // for some good or service. The valid range for the fraction is [0,1) and the + // value stored here is 1,000,000 * [fraction]. + PercentCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,33,opt,name=percent_cpc_bid_micros,json=percentCpcBidMicros,proto3" json:"percent_cpc_bid_micros,omitempty"` + // The effective CPC (cost-per-click) bid. + EffectiveCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,18,opt,name=effective_cpc_bid_micros,json=effectiveCpcBidMicros,proto3" json:"effective_cpc_bid_micros,omitempty"` + // The effective CPM (cost-per-thousand viewable impressions) bid. + EffectiveCpmBidMicros *wrappers.Int64Value `protobuf:"bytes,19,opt,name=effective_cpm_bid_micros,json=effectiveCpmBidMicros,proto3" json:"effective_cpm_bid_micros,omitempty"` + // The effective CPV (cost-per-view) bid. + EffectiveCpvBidMicros *wrappers.Int64Value `protobuf:"bytes,20,opt,name=effective_cpv_bid_micros,json=effectiveCpvBidMicros,proto3" json:"effective_cpv_bid_micros,omitempty"` + // The effective Percent CPC bid amount. + EffectivePercentCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,34,opt,name=effective_percent_cpc_bid_micros,json=effectivePercentCpcBidMicros,proto3" json:"effective_percent_cpc_bid_micros,omitempty"` + // Source of the effective CPC bid. + EffectiveCpcBidSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,21,opt,name=effective_cpc_bid_source,json=effectiveCpcBidSource,proto3,enum=google.ads.googleads.v0.enums.BiddingSourceEnum_BiddingSource" json:"effective_cpc_bid_source,omitempty"` + // Source of the effective CPM bid. + EffectiveCpmBidSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,22,opt,name=effective_cpm_bid_source,json=effectiveCpmBidSource,proto3,enum=google.ads.googleads.v0.enums.BiddingSourceEnum_BiddingSource" json:"effective_cpm_bid_source,omitempty"` + // Source of the effective CPV bid. + EffectiveCpvBidSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,23,opt,name=effective_cpv_bid_source,json=effectiveCpvBidSource,proto3,enum=google.ads.googleads.v0.enums.BiddingSourceEnum_BiddingSource" json:"effective_cpv_bid_source,omitempty"` + // Source of the effective Percent CPC bid. + EffectivePercentCpcBidSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,35,opt,name=effective_percent_cpc_bid_source,json=effectivePercentCpcBidSource,proto3,enum=google.ads.googleads.v0.enums.BiddingSourceEnum_BiddingSource" json:"effective_percent_cpc_bid_source,omitempty"` + // Estimates for criterion bids at various positions. + PositionEstimates *AdGroupCriterion_PositionEstimates `protobuf:"bytes,10,opt,name=position_estimates,json=positionEstimates,proto3" json:"position_estimates,omitempty"` + // The list of possible final URLs after all cross-domain redirects for the + // ad. + FinalUrls []*wrappers.StringValue `protobuf:"bytes,11,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` + // The URL template for constructing a tracking URL. + TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,13,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` + // The list of mappings used to substitute custom parameter tags in a + // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + UrlCustomParameters []*common.CustomParameter `protobuf:"bytes,14,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` + // The ad group criterion. + // + // Exactly one must be set. + // + // Types that are valid to be assigned to Criterion: + // *AdGroupCriterion_Keyword + // *AdGroupCriterion_Placement + // *AdGroupCriterion_ListingGroup + // *AdGroupCriterion_AgeRange + // *AdGroupCriterion_Gender + // *AdGroupCriterion_IncomeRange + // *AdGroupCriterion_ParentalStatus + // *AdGroupCriterion_UserList + // *AdGroupCriterion_YoutubeVideo + // *AdGroupCriterion_YoutubeChannel + // *AdGroupCriterion_Topic + // *AdGroupCriterion_UserInterest + Criterion isAdGroupCriterion_Criterion `protobuf_oneof:"criterion"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupCriterion) Reset() { *m = AdGroupCriterion{} } +func (m *AdGroupCriterion) String() string { return proto.CompactTextString(m) } +func (*AdGroupCriterion) ProtoMessage() {} +func (*AdGroupCriterion) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_84c24ce63224e446, []int{0} +} +func (m *AdGroupCriterion) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupCriterion.Unmarshal(m, b) +} +func (m *AdGroupCriterion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupCriterion.Marshal(b, m, deterministic) +} +func (dst *AdGroupCriterion) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupCriterion.Merge(dst, src) +} +func (m *AdGroupCriterion) XXX_Size() int { + return xxx_messageInfo_AdGroupCriterion.Size(m) +} +func (m *AdGroupCriterion) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupCriterion.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupCriterion proto.InternalMessageInfo + +func (m *AdGroupCriterion) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AdGroupCriterion) GetCriterionId() *wrappers.Int64Value { + if m != nil { + return m.CriterionId + } + return nil +} + +func (m *AdGroupCriterion) GetStatus() enums.AdGroupCriterionStatusEnum_AdGroupCriterionStatus { + if m != nil { + return m.Status + } + return enums.AdGroupCriterionStatusEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion) GetQualityInfo() *AdGroupCriterion_QualityInfo { + if m != nil { + return m.QualityInfo + } + return nil +} + +func (m *AdGroupCriterion) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *AdGroupCriterion) GetType() enums.CriterionTypeEnum_CriterionType { + if m != nil { + return m.Type + } + return enums.CriterionTypeEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion) GetNegative() *wrappers.BoolValue { + if m != nil { + return m.Negative + } + return nil +} + +func (m *AdGroupCriterion) GetBidModifier() *wrappers.DoubleValue { + if m != nil { + return m.BidModifier + } + return nil +} + +func (m *AdGroupCriterion) GetCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetCpmBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpmBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetCpvBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpvBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetPercentCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.PercentCpcBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetEffectiveCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.EffectiveCpcBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetEffectiveCpmBidMicros() *wrappers.Int64Value { + if m != nil { + return m.EffectiveCpmBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetEffectiveCpvBidMicros() *wrappers.Int64Value { + if m != nil { + return m.EffectiveCpvBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetEffectivePercentCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.EffectivePercentCpcBidMicros + } + return nil +} + +func (m *AdGroupCriterion) GetEffectiveCpcBidSource() enums.BiddingSourceEnum_BiddingSource { + if m != nil { + return m.EffectiveCpcBidSource + } + return enums.BiddingSourceEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion) GetEffectiveCpmBidSource() enums.BiddingSourceEnum_BiddingSource { + if m != nil { + return m.EffectiveCpmBidSource + } + return enums.BiddingSourceEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion) GetEffectiveCpvBidSource() enums.BiddingSourceEnum_BiddingSource { + if m != nil { + return m.EffectiveCpvBidSource + } + return enums.BiddingSourceEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion) GetEffectivePercentCpcBidSource() enums.BiddingSourceEnum_BiddingSource { + if m != nil { + return m.EffectivePercentCpcBidSource + } + return enums.BiddingSourceEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion) GetPositionEstimates() *AdGroupCriterion_PositionEstimates { + if m != nil { + return m.PositionEstimates + } + return nil +} + +func (m *AdGroupCriterion) GetFinalUrls() []*wrappers.StringValue { + if m != nil { + return m.FinalUrls + } + return nil +} + +func (m *AdGroupCriterion) GetTrackingUrlTemplate() *wrappers.StringValue { + if m != nil { + return m.TrackingUrlTemplate + } + return nil +} + +func (m *AdGroupCriterion) GetUrlCustomParameters() []*common.CustomParameter { + if m != nil { + return m.UrlCustomParameters + } + return nil +} + +type isAdGroupCriterion_Criterion interface { + isAdGroupCriterion_Criterion() +} + +type AdGroupCriterion_Keyword struct { + Keyword *common.KeywordInfo `protobuf:"bytes,27,opt,name=keyword,proto3,oneof"` +} + +type AdGroupCriterion_Placement struct { + Placement *common.PlacementInfo `protobuf:"bytes,28,opt,name=placement,proto3,oneof"` +} + +type AdGroupCriterion_ListingGroup struct { + ListingGroup *common.ListingGroupInfo `protobuf:"bytes,32,opt,name=listing_group,json=listingGroup,proto3,oneof"` +} + +type AdGroupCriterion_AgeRange struct { + AgeRange *common.AgeRangeInfo `protobuf:"bytes,36,opt,name=age_range,json=ageRange,proto3,oneof"` +} + +type AdGroupCriterion_Gender struct { + Gender *common.GenderInfo `protobuf:"bytes,37,opt,name=gender,proto3,oneof"` +} + +type AdGroupCriterion_IncomeRange struct { + IncomeRange *common.IncomeRangeInfo `protobuf:"bytes,38,opt,name=income_range,json=incomeRange,proto3,oneof"` +} + +type AdGroupCriterion_ParentalStatus struct { + ParentalStatus *common.ParentalStatusInfo `protobuf:"bytes,39,opt,name=parental_status,json=parentalStatus,proto3,oneof"` +} + +type AdGroupCriterion_UserList struct { + UserList *common.UserListInfo `protobuf:"bytes,42,opt,name=user_list,json=userList,proto3,oneof"` +} + +type AdGroupCriterion_YoutubeVideo struct { + YoutubeVideo *common.YouTubeVideoInfo `protobuf:"bytes,40,opt,name=youtube_video,json=youtubeVideo,proto3,oneof"` +} + +type AdGroupCriterion_YoutubeChannel struct { + YoutubeChannel *common.YouTubeChannelInfo `protobuf:"bytes,41,opt,name=youtube_channel,json=youtubeChannel,proto3,oneof"` +} + +type AdGroupCriterion_Topic struct { + Topic *common.TopicInfo `protobuf:"bytes,43,opt,name=topic,proto3,oneof"` +} + +type AdGroupCriterion_UserInterest struct { + UserInterest *common.UserInterestInfo `protobuf:"bytes,45,opt,name=user_interest,json=userInterest,proto3,oneof"` +} + +func (*AdGroupCriterion_Keyword) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_Placement) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_ListingGroup) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_AgeRange) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_Gender) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_IncomeRange) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_ParentalStatus) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_UserList) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_YoutubeVideo) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_YoutubeChannel) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_Topic) isAdGroupCriterion_Criterion() {} + +func (*AdGroupCriterion_UserInterest) isAdGroupCriterion_Criterion() {} + +func (m *AdGroupCriterion) GetCriterion() isAdGroupCriterion_Criterion { + if m != nil { + return m.Criterion + } + return nil +} + +func (m *AdGroupCriterion) GetKeyword() *common.KeywordInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_Keyword); ok { + return x.Keyword + } + return nil +} + +func (m *AdGroupCriterion) GetPlacement() *common.PlacementInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_Placement); ok { + return x.Placement + } + return nil +} + +func (m *AdGroupCriterion) GetListingGroup() *common.ListingGroupInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_ListingGroup); ok { + return x.ListingGroup + } + return nil +} + +func (m *AdGroupCriterion) GetAgeRange() *common.AgeRangeInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_AgeRange); ok { + return x.AgeRange + } + return nil +} + +func (m *AdGroupCriterion) GetGender() *common.GenderInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_Gender); ok { + return x.Gender + } + return nil +} + +func (m *AdGroupCriterion) GetIncomeRange() *common.IncomeRangeInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_IncomeRange); ok { + return x.IncomeRange + } + return nil +} + +func (m *AdGroupCriterion) GetParentalStatus() *common.ParentalStatusInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_ParentalStatus); ok { + return x.ParentalStatus + } + return nil +} + +func (m *AdGroupCriterion) GetUserList() *common.UserListInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_UserList); ok { + return x.UserList + } + return nil +} + +func (m *AdGroupCriterion) GetYoutubeVideo() *common.YouTubeVideoInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_YoutubeVideo); ok { + return x.YoutubeVideo + } + return nil +} + +func (m *AdGroupCriterion) GetYoutubeChannel() *common.YouTubeChannelInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_YoutubeChannel); ok { + return x.YoutubeChannel + } + return nil +} + +func (m *AdGroupCriterion) GetTopic() *common.TopicInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_Topic); ok { + return x.Topic + } + return nil +} + +func (m *AdGroupCriterion) GetUserInterest() *common.UserInterestInfo { + if x, ok := m.GetCriterion().(*AdGroupCriterion_UserInterest); ok { + return x.UserInterest + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupCriterion) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupCriterion_OneofMarshaler, _AdGroupCriterion_OneofUnmarshaler, _AdGroupCriterion_OneofSizer, []interface{}{ + (*AdGroupCriterion_Keyword)(nil), + (*AdGroupCriterion_Placement)(nil), + (*AdGroupCriterion_ListingGroup)(nil), + (*AdGroupCriterion_AgeRange)(nil), + (*AdGroupCriterion_Gender)(nil), + (*AdGroupCriterion_IncomeRange)(nil), + (*AdGroupCriterion_ParentalStatus)(nil), + (*AdGroupCriterion_UserList)(nil), + (*AdGroupCriterion_YoutubeVideo)(nil), + (*AdGroupCriterion_YoutubeChannel)(nil), + (*AdGroupCriterion_Topic)(nil), + (*AdGroupCriterion_UserInterest)(nil), + } +} + +func _AdGroupCriterion_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupCriterion) + // criterion + switch x := m.Criterion.(type) { + case *AdGroupCriterion_Keyword: + b.EncodeVarint(27<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Keyword); err != nil { + return err + } + case *AdGroupCriterion_Placement: + b.EncodeVarint(28<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Placement); err != nil { + return err + } + case *AdGroupCriterion_ListingGroup: + b.EncodeVarint(32<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListingGroup); err != nil { + return err + } + case *AdGroupCriterion_AgeRange: + b.EncodeVarint(36<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AgeRange); err != nil { + return err + } + case *AdGroupCriterion_Gender: + b.EncodeVarint(37<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Gender); err != nil { + return err + } + case *AdGroupCriterion_IncomeRange: + b.EncodeVarint(38<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.IncomeRange); err != nil { + return err + } + case *AdGroupCriterion_ParentalStatus: + b.EncodeVarint(39<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ParentalStatus); err != nil { + return err + } + case *AdGroupCriterion_UserList: + b.EncodeVarint(42<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UserList); err != nil { + return err + } + case *AdGroupCriterion_YoutubeVideo: + b.EncodeVarint(40<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.YoutubeVideo); err != nil { + return err + } + case *AdGroupCriterion_YoutubeChannel: + b.EncodeVarint(41<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.YoutubeChannel); err != nil { + return err + } + case *AdGroupCriterion_Topic: + b.EncodeVarint(43<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Topic); err != nil { + return err + } + case *AdGroupCriterion_UserInterest: + b.EncodeVarint(45<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UserInterest); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("AdGroupCriterion.Criterion has unexpected type %T", x) + } + return nil +} + +func _AdGroupCriterion_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupCriterion) + switch tag { + case 27: // criterion.keyword + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.KeywordInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_Keyword{msg} + return true, err + case 28: // criterion.placement + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.PlacementInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_Placement{msg} + return true, err + case 32: // criterion.listing_group + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ListingGroupInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_ListingGroup{msg} + return true, err + case 36: // criterion.age_range + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.AgeRangeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_AgeRange{msg} + return true, err + case 37: // criterion.gender + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.GenderInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_Gender{msg} + return true, err + case 38: // criterion.income_range + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.IncomeRangeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_IncomeRange{msg} + return true, err + case 39: // criterion.parental_status + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ParentalStatusInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_ParentalStatus{msg} + return true, err + case 42: // criterion.user_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.UserListInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_UserList{msg} + return true, err + case 40: // criterion.youtube_video + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.YouTubeVideoInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_YoutubeVideo{msg} + return true, err + case 41: // criterion.youtube_channel + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.YouTubeChannelInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_YoutubeChannel{msg} + return true, err + case 43: // criterion.topic + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TopicInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_Topic{msg} + return true, err + case 45: // criterion.user_interest + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.UserInterestInfo) + err := b.DecodeMessage(msg) + m.Criterion = &AdGroupCriterion_UserInterest{msg} + return true, err + default: + return false, nil + } +} + +func _AdGroupCriterion_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupCriterion) + // criterion + switch x := m.Criterion.(type) { + case *AdGroupCriterion_Keyword: + s := proto.Size(x.Keyword) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_Placement: + s := proto.Size(x.Placement) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_ListingGroup: + s := proto.Size(x.ListingGroup) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_AgeRange: + s := proto.Size(x.AgeRange) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_Gender: + s := proto.Size(x.Gender) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_IncomeRange: + s := proto.Size(x.IncomeRange) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_ParentalStatus: + s := proto.Size(x.ParentalStatus) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_UserList: + s := proto.Size(x.UserList) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_YoutubeVideo: + s := proto.Size(x.YoutubeVideo) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_YoutubeChannel: + s := proto.Size(x.YoutubeChannel) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_Topic: + s := proto.Size(x.Topic) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterion_UserInterest: + s := proto.Size(x.UserInterest) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A container for ad group criterion quality information. +type AdGroupCriterion_QualityInfo struct { + // The quality score. + // + // This field may not be populated if Google does not have enough + // information to determine a value. + QualityScore *wrappers.Int32Value `protobuf:"bytes,1,opt,name=quality_score,json=qualityScore,proto3" json:"quality_score,omitempty"` + // The performance of the ad compared to other advertisers. + CreativeQualityScore enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,2,opt,name=creative_quality_score,json=creativeQualityScore,proto3,enum=google.ads.googleads.v0.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"creative_quality_score,omitempty"` + // The quality score of the landing page. + PostClickQualityScore enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,3,opt,name=post_click_quality_score,json=postClickQualityScore,proto3,enum=google.ads.googleads.v0.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"post_click_quality_score,omitempty"` + // The click-through rate compared to that of other advertisers. + SearchPredictedCtr enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,4,opt,name=search_predicted_ctr,json=searchPredictedCtr,proto3,enum=google.ads.googleads.v0.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"search_predicted_ctr,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupCriterion_QualityInfo) Reset() { *m = AdGroupCriterion_QualityInfo{} } +func (m *AdGroupCriterion_QualityInfo) String() string { return proto.CompactTextString(m) } +func (*AdGroupCriterion_QualityInfo) ProtoMessage() {} +func (*AdGroupCriterion_QualityInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_84c24ce63224e446, []int{0, 0} +} +func (m *AdGroupCriterion_QualityInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupCriterion_QualityInfo.Unmarshal(m, b) +} +func (m *AdGroupCriterion_QualityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupCriterion_QualityInfo.Marshal(b, m, deterministic) +} +func (dst *AdGroupCriterion_QualityInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupCriterion_QualityInfo.Merge(dst, src) +} +func (m *AdGroupCriterion_QualityInfo) XXX_Size() int { + return xxx_messageInfo_AdGroupCriterion_QualityInfo.Size(m) +} +func (m *AdGroupCriterion_QualityInfo) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupCriterion_QualityInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupCriterion_QualityInfo proto.InternalMessageInfo + +func (m *AdGroupCriterion_QualityInfo) GetQualityScore() *wrappers.Int32Value { + if m != nil { + return m.QualityScore + } + return nil +} + +func (m *AdGroupCriterion_QualityInfo) GetCreativeQualityScore() enums.QualityScoreBucketEnum_QualityScoreBucket { + if m != nil { + return m.CreativeQualityScore + } + return enums.QualityScoreBucketEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion_QualityInfo) GetPostClickQualityScore() enums.QualityScoreBucketEnum_QualityScoreBucket { + if m != nil { + return m.PostClickQualityScore + } + return enums.QualityScoreBucketEnum_UNSPECIFIED +} + +func (m *AdGroupCriterion_QualityInfo) GetSearchPredictedCtr() enums.QualityScoreBucketEnum_QualityScoreBucket { + if m != nil { + return m.SearchPredictedCtr + } + return enums.QualityScoreBucketEnum_UNSPECIFIED +} + +// Estimates for criterion bids at various positions. +type AdGroupCriterion_PositionEstimates struct { + // The estimate of the CPC bid required for ad to be shown on first + // page of search results. + FirstPageCpcMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=first_page_cpc_micros,json=firstPageCpcMicros,proto3" json:"first_page_cpc_micros,omitempty"` + // The estimate of the CPC bid required for ad to be displayed in first + // position, at the top of the first page of search results. + FirstPositionCpcMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=first_position_cpc_micros,json=firstPositionCpcMicros,proto3" json:"first_position_cpc_micros,omitempty"` + // The estimate of the CPC bid required for ad to be displayed at the top + // of the first page of search results. + TopOfPageCpcMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=top_of_page_cpc_micros,json=topOfPageCpcMicros,proto3" json:"top_of_page_cpc_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupCriterion_PositionEstimates) Reset() { *m = AdGroupCriterion_PositionEstimates{} } +func (m *AdGroupCriterion_PositionEstimates) String() string { return proto.CompactTextString(m) } +func (*AdGroupCriterion_PositionEstimates) ProtoMessage() {} +func (*AdGroupCriterion_PositionEstimates) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_84c24ce63224e446, []int{0, 1} +} +func (m *AdGroupCriterion_PositionEstimates) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupCriterion_PositionEstimates.Unmarshal(m, b) +} +func (m *AdGroupCriterion_PositionEstimates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupCriterion_PositionEstimates.Marshal(b, m, deterministic) +} +func (dst *AdGroupCriterion_PositionEstimates) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupCriterion_PositionEstimates.Merge(dst, src) +} +func (m *AdGroupCriterion_PositionEstimates) XXX_Size() int { + return xxx_messageInfo_AdGroupCriterion_PositionEstimates.Size(m) +} +func (m *AdGroupCriterion_PositionEstimates) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupCriterion_PositionEstimates.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupCriterion_PositionEstimates proto.InternalMessageInfo + +func (m *AdGroupCriterion_PositionEstimates) GetFirstPageCpcMicros() *wrappers.Int64Value { + if m != nil { + return m.FirstPageCpcMicros + } + return nil +} + +func (m *AdGroupCriterion_PositionEstimates) GetFirstPositionCpcMicros() *wrappers.Int64Value { + if m != nil { + return m.FirstPositionCpcMicros + } + return nil +} + +func (m *AdGroupCriterion_PositionEstimates) GetTopOfPageCpcMicros() *wrappers.Int64Value { + if m != nil { + return m.TopOfPageCpcMicros + } + return nil +} + +func init() { + proto.RegisterType((*AdGroupCriterion)(nil), "google.ads.googleads.v0.resources.AdGroupCriterion") + proto.RegisterType((*AdGroupCriterion_QualityInfo)(nil), "google.ads.googleads.v0.resources.AdGroupCriterion.QualityInfo") + proto.RegisterType((*AdGroupCriterion_PositionEstimates)(nil), "google.ads.googleads.v0.resources.AdGroupCriterion.PositionEstimates") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad_group_criterion.proto", fileDescriptor_ad_group_criterion_84c24ce63224e446) +} + +var fileDescriptor_ad_group_criterion_84c24ce63224e446 = []byte{ + // 1334 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x98, 0xdf, 0x72, 0xdb, 0xc4, + 0x17, 0xc7, 0x7f, 0x4e, 0xfa, 0x2f, 0x6b, 0x27, 0xbf, 0x76, 0x53, 0x87, 0x6d, 0x5a, 0x20, 0x6d, + 0x29, 0xa4, 0xff, 0xe4, 0x4c, 0x0a, 0x85, 0xa1, 0x43, 0x8b, 0x9d, 0x76, 0xd2, 0x50, 0xda, 0xba, + 0x8a, 0x1b, 0x06, 0x26, 0x8c, 0x66, 0xbd, 0x5a, 0xab, 0x3b, 0x91, 0xb4, 0xea, 0xee, 0xca, 0x9d, + 0x70, 0xc1, 0x0c, 0x37, 0x5c, 0xf1, 0x14, 0x5c, 0xf2, 0x28, 0xdc, 0x70, 0xcf, 0x6b, 0xf0, 0x02, + 0xcc, 0xae, 0x56, 0xb6, 0x6c, 0xd7, 0x91, 0xcb, 0xe4, 0x4e, 0x3a, 0xd9, 0xef, 0xe7, 0x9c, 0xfd, + 0x1e, 0x59, 0x7b, 0x14, 0xf0, 0x65, 0xc0, 0x79, 0x10, 0x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0x95, 0xf9, 0x68, 0x75, 0xad, 0xb2, 0x5e, 0xdd, 0xbc, 0x68, 0xfb, 0xe9, 0xe4, 0x09, 0x9d, 0x9d, + 0x58, 0xdd, 0xfd, 0x74, 0x0f, 0x87, 0x29, 0x75, 0xab, 0x03, 0xc1, 0x8e, 0x0f, 0x5f, 0x81, 0x53, + 0x99, 0x97, 0x68, 0x7e, 0xad, 0xb2, 0xbe, 0xb4, 0xd9, 0x76, 0xa6, 0x3d, 0x14, 0x66, 0x93, 0xce, + 0x78, 0x95, 0xbb, 0x46, 0xfc, 0x28, 0x4e, 0xa3, 0x29, 0x7f, 0x72, 0x2d, 0x1f, 0x76, 0x41, 0x2d, + 0x77, 0x88, 0xc5, 0x3d, 0x8e, 0x4e, 0x98, 0x4a, 0x1f, 0x38, 0xa5, 0x0f, 0xe1, 0x04, 0xd8, 0x79, + 0x91, 0x71, 0x76, 0xe2, 0x1e, 0x77, 0xab, 0xaf, 0x87, 0x37, 0xf0, 0x73, 0x70, 0x26, 0x7f, 0x58, + 0xd0, 0x49, 0xc3, 0xbf, 0x34, 0xe1, 0xc4, 0xae, 0x12, 0x2c, 0x0e, 0x32, 0x2b, 0x4e, 0xe3, 0x0c, + 0x0d, 0x5d, 0x70, 0x42, 0x37, 0x1a, 0x5d, 0x30, 0x26, 0xdc, 0x2f, 0x31, 0x61, 0x50, 0x49, 0xe7, + 0x30, 0xa1, 0x66, 0xef, 0x23, 0x11, 0xd7, 0xb0, 0xe0, 0x5d, 0x70, 0x26, 0xa6, 0x01, 0x56, 0xac, + 0x4f, 0xd1, 0x87, 0xa6, 0x98, 0xd5, 0x89, 0x62, 0x5a, 0x9c, 0x87, 0x59, 0x29, 0x83, 0xb5, 0xf0, + 0x01, 0xa8, 0x75, 0x99, 0xef, 0x45, 0xdc, 0x67, 0x3d, 0x46, 0x05, 0xba, 0x35, 0x65, 0x23, 0x0f, + 0x79, 0xda, 0x0d, 0xa9, 0xed, 0x69, 0x97, 0xf9, 0x4f, 0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+ 0x45, 0x25, 0x02, 0xe6, 0x51, 0x7a, 0xf4, 0x5f, 0xde, 0xf2, 0x6d, 0x4b, 0x7b, 0x94, 0xc3, 0xdc, + 0x73, 0xc9, 0x78, 0x08, 0xde, 0x03, 0xa0, 0xc7, 0x62, 0x1c, 0x7a, 0xa9, 0x08, 0x25, 0xaa, 0xae, + 0xcd, 0x97, 0xbe, 0xf3, 0x17, 0xcc, 0xfa, 0x97, 0x22, 0xd4, 0xef, 0x97, 0xba, 0x12, 0x98, 0x1c, + 0xe8, 0xe9, 0x20, 0x15, 0xa1, 0xa7, 0x68, 0x94, 0x84, 0x58, 0x51, 0xb4, 0x38, 0xc3, 0xd9, 0xb1, + 0x9c, 0x4b, 0x5f, 0x8a, 0xb0, 0x63, 0x85, 0x90, 0x80, 0xba, 0x06, 0x8d, 0xcf, 0x39, 0x12, 0x2d, + 0x99, 0xca, 0x1a, 0x53, 0x7d, 0xc8, 0x06, 0x24, 0x67, 0xcb, 0x08, 0xdb, 0xb9, 0xce, 0x5d, 0x4e, + 0x45, 0x38, 0x16, 0x93, 0x70, 0x1b, 0x9c, 0x3e, 0xa0, 0x87, 0x6f, 0xb8, 0xf0, 0xd1, 0x45, 0x53, + 0xe8, 0xcd, 0x32, 0xec, 0x93, 0x6c, 0xb9, 0x3e, 0x23, 0x1f, 0xff, 0xcf, 0xcd, 0xd5, 0xf0, 0x29, + 0x58, 0x48, 0x42, 0x4c, 0x68, 0x44, 0x63, 0x85, 0x2e, 0x19, 0xd4, 0xed, 0x32, 0x54, 0x3b, 0x17, + 0x58, 0xd8, 0x90, 0x00, 0xbf, 0x03, 0x8b, 0x21, 0x93, 0x4a, 0xbb, 0x99, 0x1d, 0xc1, 0x6b, 0x06, + 0xb9, 0x51, 0x86, 0xfc, 0x36, 0x13, 0x99, 0xf6, 0x5b, 0x6a, 0x2d, 0x2c, 0xc4, 0xe0, 0x13, 0xb0, + 0x80, 0x03, 0xea, 0x09, 0x1c, 0x07, 0x14, 0x7d, 0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, 0xe4, 0x3e, 0x07, 0x2b, 0x8a, 0x27, 0x1e, 0xef, 0x4d, 0x14, 0x3a, 0x3f, + 0x43, 0xa1, 0x8a, 0x27, 0xcf, 0x7b, 0x23, 0x85, 0xb6, 0xaa, 0x60, 0x61, 0xf0, 0xf5, 0xd9, 0xfa, + 0xbb, 0x02, 0xae, 0x11, 0x1e, 0x95, 0xcf, 0x06, 0xad, 0xfa, 0xf8, 0x70, 0xd0, 0xd6, 0xf9, 0xda, + 0x95, 0x1f, 0xbe, 0xb1, 0xda, 0x80, 0x87, 0x38, 0x0e, 0x1c, 0x2e, 0x82, 0x46, 0x40, 0x63, 0x53, + 0x4d, 0xfe, 0x89, 0x9e, 0x30, 0x79, 0xc4, 0x7f, 0x47, 0xee, 0x0d, 0xae, 0x7e, 0x9f, 0x9b, 0xdf, + 0x6e, 0x36, 0xff, 0x98, 0xbb, 0xbc, 0x9d, 0x21, 0x9b, 0xbe, 0x74, 0xb2, 0x4b, 0x7d, 0xb5, 0xb7, + 0xe1, 0xb8, 0xf9, 0xca, 0x3f, 0xf3, 0x35, 0xfb, 0x4d, 0x5f, 0xee, 0x0f, 0xd6, 0xec, 0xef, 0x6d, + 0xec, 0x0f, 0xd6, 0x74, 0x4f, 0x99, 0x22, 0xee, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x69, 0x3e, + 0xbe, 0xa3, 0xa1, 0x11, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_feed.pb.go new file mode 100644 index 000000000..1f85b1d26 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/ad_group_feed.pb.go @@ -0,0 +1,155 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/ad_group_feed.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An ad group feed. +type AdGroupFeed struct { + // The resource name of the ad group feed. + // Ad group feed resource names have the form: + // + // `customers/{customer_id}/adGroupFeeds/{ad_group_id}_{feed_id} + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The feed being linked to the ad group. + Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` + // The ad group being linked to the feed. + AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // Indicates which placeholder types the feed may populate under the connected + // ad group. Required. + PlaceholderTypes []enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,4,rep,packed,name=placeholder_types,json=placeholderTypes,proto3,enum=google.ads.googleads.v0.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_types,omitempty"` + // Matching function associated with the AdGroupFeed. + // The matching function is used to filter the set of feed items selected. + // Required. + MatchingFunction *common.MatchingFunction `protobuf:"bytes,5,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"` + // Status of the ad group feed. + // This field is read-only. + Status enums.FeedLinkStatusEnum_FeedLinkStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedLinkStatusEnum_FeedLinkStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupFeed) Reset() { *m = AdGroupFeed{} } +func (m *AdGroupFeed) String() string { return proto.CompactTextString(m) } +func (*AdGroupFeed) ProtoMessage() {} +func (*AdGroupFeed) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_b1adbabb521ebfb6, []int{0} +} +func (m *AdGroupFeed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupFeed.Unmarshal(m, b) +} +func (m *AdGroupFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupFeed.Marshal(b, m, deterministic) +} +func (dst *AdGroupFeed) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupFeed.Merge(dst, src) +} +func (m *AdGroupFeed) XXX_Size() int { + return xxx_messageInfo_AdGroupFeed.Size(m) +} +func (m *AdGroupFeed) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupFeed.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupFeed proto.InternalMessageInfo + +func (m *AdGroupFeed) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *AdGroupFeed) GetFeed() *wrappers.StringValue { + if m != nil { + return m.Feed + } + return nil +} + +func (m *AdGroupFeed) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *AdGroupFeed) GetPlaceholderTypes() []enums.PlaceholderTypeEnum_PlaceholderType { + if m != nil { + return m.PlaceholderTypes + } + return nil +} + +func (m *AdGroupFeed) GetMatchingFunction() *common.MatchingFunction { + if m != nil { + return m.MatchingFunction + } + return nil +} + +func (m *AdGroupFeed) GetStatus() enums.FeedLinkStatusEnum_FeedLinkStatus { + if m != nil { + return m.Status + } + return enums.FeedLinkStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*AdGroupFeed)(nil), "google.ads.googleads.v0.resources.AdGroupFeed") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/ad_group_feed.proto", fileDescriptor_ad_group_feed_b1adbabb521ebfb6) +} + +var fileDescriptor_ad_group_feed_b1adbabb521ebfb6 = []byte{ + // 454 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6b, 0xd4, 0x40, + 0x10, 0xc7, 0xc9, 0x5d, 0x3d, 0x75, 0xab, 0xe5, 0x9a, 0xa7, 0x50, 0x44, 0xae, 0x8a, 0x70, 0x4f, + 0x9b, 0x70, 0xfe, 0x7a, 0xf0, 0xc5, 0x1c, 0xd8, 0x03, 0x51, 0x39, 0x52, 0x39, 0x44, 0x4e, 0xc2, + 0x36, 0x3b, 0xb7, 0x0d, 0xcd, 0xfe, 0x60, 0x37, 0xa9, 0xf4, 0xdf, 0xf1, 0xd1, 0x7f, 0x44, 0xf0, + 0xdd, 0xff, 0x47, 0x92, 0xdd, 0x44, 0x7b, 0x12, 0x7b, 0x6f, 0x93, 0xe1, 0xfb, 0x99, 0x9d, 0x99, + 0xef, 0x04, 0x3d, 0x67, 0x52, 0xb2, 0x02, 0x42, 0x42, 0x4d, 0x68, 0xc3, 0x3a, 0xba, 0x8c, 0x42, + 0x0d, 0x46, 0x56, 0x3a, 0x03, 0x13, 0x12, 0x9a, 0x32, 0x2d, 0x2b, 0x95, 0x6e, 0x00, 0x28, 0x56, + 0x5a, 0x96, 0xd2, 0x3f, 0xb6, 0x5a, 0x4c, 0xa8, 0xc1, 0x1d, 0x86, 0x2f, 0x23, 0xdc, 0x61, 0x47, + 0x2f, 0xfa, 0x2a, 0x67, 0x92, 0x73, 0x29, 0x42, 0x4e, 0xca, 0xec, 0x3c, 0x17, 0x2c, 0xdd, 0x54, + 0x22, 0x2b, 0x73, 0x29, 0x6c, 0xe9, 0xa3, 0x67, 0x7d, 0x1c, 0x88, 0x8a, 0x9b, 0xb0, 0x6e, 0x22, + 0x2d, 0x72, 0x71, 0x91, 0x9a, 0x92, 0x94, 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5, 0x69, 0x03, 0x35, + 0x33, 0x5c, 0x4f, 0x25, 0xae, 0xde, 0xfc, 0x97, 0x87, 0x9e, 0x64, 0x92, 0xe3, 0x1b, 0xef, 0x76, + 0x3e, 0xfe, 0xcb, 0xf0, 0x65, 0xbd, 0xfd, 0xa5, 0xf7, 0xf9, 0xad, 0xc3, 0x98, 0x2c, 0x88, 0x60, + 0x58, 0x6a, 0x16, 0x32, 0x10, 0x8d, 0x37, 0xed, 0xb5, 0xa9, 0xdc, 0xfc, 0xe7, 0x27, 0x7a, 0xd5, + 0x45, 0xdf, 0x06, 0xc3, 0x45, 0x1c, 0x7f, 0x1f, 0x1c, 0x2f, 0x6c, 0xc9, 0x98, 0x1a, 0x6c, 0xc3, + 0x3a, 0x5a, 0x45, 0x38, 0x69, 0x95, 0x3f, 0x5b, 0xcd, 0x3a, 0xa6, 0x66, 0xdd, 0x69, 0xd6, 0xab, + 0x68, 0xdd, 0x69, 0xce, 0x46, 0x4d, 0x13, 0x4f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x06, + 0x3f, 0xc0, 0xc8, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/age_range_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/age_range_view.pb.go new file mode 100644 index 000000000..3848b4a2a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/age_range_view.pb.go @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/age_range_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An age range view. +type AgeRangeView struct { + // The resource name of the age range view. + // Age range view resource names have the form: + // + // `customers/{customer_id}/ageRangeViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AgeRangeView) Reset() { *m = AgeRangeView{} } +func (m *AgeRangeView) String() string { return proto.CompactTextString(m) } +func (*AgeRangeView) ProtoMessage() {} +func (*AgeRangeView) Descriptor() ([]byte, []int) { + return fileDescriptor_age_range_view_f299b327e9938b24, []int{0} +} +func (m *AgeRangeView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AgeRangeView.Unmarshal(m, b) +} +func (m *AgeRangeView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AgeRangeView.Marshal(b, m, deterministic) +} +func (dst *AgeRangeView) XXX_Merge(src proto.Message) { + xxx_messageInfo_AgeRangeView.Merge(dst, src) +} +func (m *AgeRangeView) XXX_Size() int { + return xxx_messageInfo_AgeRangeView.Size(m) +} +func (m *AgeRangeView) XXX_DiscardUnknown() { + xxx_messageInfo_AgeRangeView.DiscardUnknown(m) +} + +var xxx_messageInfo_AgeRangeView proto.InternalMessageInfo + +func (m *AgeRangeView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*AgeRangeView)(nil), "google.ads.googleads.v0.resources.AgeRangeView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/age_range_view.proto", fileDescriptor_age_range_view_f299b327e9938b24) +} + +var fileDescriptor_age_range_view_f299b327e9938b24 = []byte{ + // 228 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2,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1, + 0x54, 0x9e, 0x82, 0xa9, 0x89, 0x71, 0x4c, 0x29, 0x8e, 0x81, 0xab, 0x89, 0x09, 0x33, 0x88, 0x81, + 0xab, 0x49, 0x62, 0x03, 0x3b, 0xc2, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xba, 0x0f, 0x61, 0x81, + 0x71, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/bidding_strategy.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/bidding_strategy.pb.go new file mode 100644 index 000000000..d58808d0e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/bidding_strategy.pb.go @@ -0,0 +1,397 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/bidding_strategy.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A bidding strategy. +type BiddingStrategy struct { + // The resource name of the bidding strategy. + // Bidding strategy resource names have the form: + // + // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the bidding strategy. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the bidding strategy. + // All bidding strategies within an account must be named distinctly. + // + // The length of this string should be between 1 and 255, inclusive, + // in UTF-8 bytes, (trimmed). + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The type of the bidding strategy. + // Create a bidding strategy by setting the bidding scheme. + // + // This field is read-only. + Type enums.BiddingStrategyTypeEnum_BiddingStrategyType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.BiddingStrategyTypeEnum_BiddingStrategyType" json:"type,omitempty"` + // The bidding scheme. + // + // Only one can be set. + // + // Types that are valid to be assigned to Scheme: + // *BiddingStrategy_EnhancedCpc + // *BiddingStrategy_PageOnePromoted + // *BiddingStrategy_TargetCpa + // *BiddingStrategy_TargetOutrankShare + // *BiddingStrategy_TargetRoas + // *BiddingStrategy_TargetSpend + Scheme isBiddingStrategy_Scheme `protobuf_oneof:"scheme"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BiddingStrategy) Reset() { *m = BiddingStrategy{} } +func (m *BiddingStrategy) String() string { return proto.CompactTextString(m) } +func (*BiddingStrategy) ProtoMessage() {} +func (*BiddingStrategy) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_d0682b5c71f925fb, []int{0} +} +func (m *BiddingStrategy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BiddingStrategy.Unmarshal(m, b) +} +func (m *BiddingStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BiddingStrategy.Marshal(b, m, deterministic) +} +func (dst *BiddingStrategy) XXX_Merge(src proto.Message) { + xxx_messageInfo_BiddingStrategy.Merge(dst, src) +} +func (m *BiddingStrategy) XXX_Size() int { + return xxx_messageInfo_BiddingStrategy.Size(m) +} +func (m *BiddingStrategy) XXX_DiscardUnknown() { + xxx_messageInfo_BiddingStrategy.DiscardUnknown(m) +} + +var xxx_messageInfo_BiddingStrategy proto.InternalMessageInfo + +func (m *BiddingStrategy) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *BiddingStrategy) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *BiddingStrategy) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *BiddingStrategy) GetType() enums.BiddingStrategyTypeEnum_BiddingStrategyType { + if m != nil { + return m.Type + } + return enums.BiddingStrategyTypeEnum_UNSPECIFIED +} + +type isBiddingStrategy_Scheme interface { + isBiddingStrategy_Scheme() +} + +type BiddingStrategy_EnhancedCpc struct { + EnhancedCpc *common.EnhancedCpc `protobuf:"bytes,7,opt,name=enhanced_cpc,json=enhancedCpc,proto3,oneof"` +} + +type BiddingStrategy_PageOnePromoted struct { + PageOnePromoted *common.PageOnePromoted `protobuf:"bytes,8,opt,name=page_one_promoted,json=pageOnePromoted,proto3,oneof"` +} + +type BiddingStrategy_TargetCpa struct { + TargetCpa *common.TargetCpa `protobuf:"bytes,9,opt,name=target_cpa,json=targetCpa,proto3,oneof"` +} + +type BiddingStrategy_TargetOutrankShare struct { + TargetOutrankShare *common.TargetOutrankShare `protobuf:"bytes,10,opt,name=target_outrank_share,json=targetOutrankShare,proto3,oneof"` +} + +type BiddingStrategy_TargetRoas struct { + TargetRoas *common.TargetRoas `protobuf:"bytes,11,opt,name=target_roas,json=targetRoas,proto3,oneof"` +} + +type BiddingStrategy_TargetSpend struct { + TargetSpend *common.TargetSpend `protobuf:"bytes,12,opt,name=target_spend,json=targetSpend,proto3,oneof"` +} + +func (*BiddingStrategy_EnhancedCpc) isBiddingStrategy_Scheme() {} + +func (*BiddingStrategy_PageOnePromoted) isBiddingStrategy_Scheme() {} + +func (*BiddingStrategy_TargetCpa) isBiddingStrategy_Scheme() {} + +func (*BiddingStrategy_TargetOutrankShare) isBiddingStrategy_Scheme() {} + +func (*BiddingStrategy_TargetRoas) isBiddingStrategy_Scheme() {} + +func (*BiddingStrategy_TargetSpend) isBiddingStrategy_Scheme() {} + +func (m *BiddingStrategy) GetScheme() isBiddingStrategy_Scheme { + if m != nil { + return m.Scheme + } + return nil +} + +func (m *BiddingStrategy) GetEnhancedCpc() *common.EnhancedCpc { + if x, ok := m.GetScheme().(*BiddingStrategy_EnhancedCpc); ok { + return x.EnhancedCpc + } + return nil +} + +func (m *BiddingStrategy) GetPageOnePromoted() *common.PageOnePromoted { + if x, ok := m.GetScheme().(*BiddingStrategy_PageOnePromoted); ok { + return x.PageOnePromoted + } + return nil +} + +func (m *BiddingStrategy) GetTargetCpa() *common.TargetCpa { + if x, ok := m.GetScheme().(*BiddingStrategy_TargetCpa); ok { + return x.TargetCpa + } + return nil +} + +func (m *BiddingStrategy) GetTargetOutrankShare() *common.TargetOutrankShare { + if x, ok := m.GetScheme().(*BiddingStrategy_TargetOutrankShare); ok { + return x.TargetOutrankShare + } + return nil +} + +func (m *BiddingStrategy) GetTargetRoas() *common.TargetRoas { + if x, ok := m.GetScheme().(*BiddingStrategy_TargetRoas); ok { + return x.TargetRoas + } + return nil +} + +func (m *BiddingStrategy) GetTargetSpend() *common.TargetSpend { + if x, ok := m.GetScheme().(*BiddingStrategy_TargetSpend); ok { + return x.TargetSpend + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*BiddingStrategy) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _BiddingStrategy_OneofMarshaler, _BiddingStrategy_OneofUnmarshaler, _BiddingStrategy_OneofSizer, []interface{}{ + (*BiddingStrategy_EnhancedCpc)(nil), + (*BiddingStrategy_PageOnePromoted)(nil), + (*BiddingStrategy_TargetCpa)(nil), + (*BiddingStrategy_TargetOutrankShare)(nil), + (*BiddingStrategy_TargetRoas)(nil), + (*BiddingStrategy_TargetSpend)(nil), + } +} + +func _BiddingStrategy_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*BiddingStrategy) + // scheme + switch x := m.Scheme.(type) { + case *BiddingStrategy_EnhancedCpc: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.EnhancedCpc); err != nil { + return err + } + case *BiddingStrategy_PageOnePromoted: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PageOnePromoted); err != nil { + return err + } + case *BiddingStrategy_TargetCpa: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetCpa); err != nil { + return err + } + case *BiddingStrategy_TargetOutrankShare: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetOutrankShare); err != nil { + return err + } + case *BiddingStrategy_TargetRoas: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetRoas); err != nil { + return err + } + case *BiddingStrategy_TargetSpend: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetSpend); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("BiddingStrategy.Scheme has unexpected type %T", x) + } + return nil +} + +func _BiddingStrategy_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*BiddingStrategy) + switch tag { + case 7: // scheme.enhanced_cpc + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.EnhancedCpc) + err := b.DecodeMessage(msg) + m.Scheme = &BiddingStrategy_EnhancedCpc{msg} + return true, err + case 8: // scheme.page_one_promoted + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.PageOnePromoted) + err := b.DecodeMessage(msg) + m.Scheme = &BiddingStrategy_PageOnePromoted{msg} + return true, err + case 9: // scheme.target_cpa + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetCpa) + err := b.DecodeMessage(msg) + m.Scheme = &BiddingStrategy_TargetCpa{msg} + return true, err + case 10: // scheme.target_outrank_share + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetOutrankShare) + err := b.DecodeMessage(msg) + m.Scheme = &BiddingStrategy_TargetOutrankShare{msg} + return true, err + case 11: // scheme.target_roas + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetRoas) + err := b.DecodeMessage(msg) + m.Scheme = &BiddingStrategy_TargetRoas{msg} + return true, err + case 12: // scheme.target_spend + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetSpend) + err := b.DecodeMessage(msg) + m.Scheme = &BiddingStrategy_TargetSpend{msg} + return true, err + default: + return false, nil + } +} + +func _BiddingStrategy_OneofSizer(msg proto.Message) (n int) { + m := msg.(*BiddingStrategy) + // scheme + switch x := m.Scheme.(type) { + case *BiddingStrategy_EnhancedCpc: + s := proto.Size(x.EnhancedCpc) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategy_PageOnePromoted: + s := proto.Size(x.PageOnePromoted) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategy_TargetCpa: + s := proto.Size(x.TargetCpa) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategy_TargetOutrankShare: + s := proto.Size(x.TargetOutrankShare) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategy_TargetRoas: + s := proto.Size(x.TargetRoas) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategy_TargetSpend: + s := proto.Size(x.TargetSpend) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*BiddingStrategy)(nil), "google.ads.googleads.v0.resources.BiddingStrategy") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/bidding_strategy.proto", fileDescriptor_bidding_strategy_d0682b5c71f925fb) +} + +var fileDescriptor_bidding_strategy_d0682b5c71f925fb = []byte{ + // 554 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xd1, 0x6e, 0xd3, 0x3c, + 0x14, 0xc7, 0x9b, 0x6e, 0xdf, 0xbe, 0xd5, 0x2d, 0x4c, 0x44, 0xbb, 0x88, 0x06, 0x42, 0x1d, 0x08, + 0xa9, 0x30, 0xe4, 0x54, 0x05, 0x21, 0x10, 0x57, 0xed, 0x34, 0xad, 0x54, 0x82, 0x55, 0xe9, 0xd4, + 0x0b, 0x54, 0x88, 0xdc, 0xe4, 0xcc, 0x8d, 0x68, 0x6c, 0xcb, 0x76, 0x86, 0xfa, 0x00, 0xbc, 0x08, + 0x97, 0x3c, 0x0a, 0x6f, 0xc0, 0xdb, 0xa0, 0x38, 0x4e, 0x27, 0x56, 0x4a, 0x7b, 0x77, 0xce, 0xe9, + 0xff, 0xff, 0xf3, 0x39, 0x39, 0x76, 0xd1, 0x6b, 0xca, 0x39, 0x9d, 0x83, 0x4f, 0x62, 0xe5, 0x17, + 0x61, 0x1e, 0x5d, 0xb7, 0x7d, 0x09, 0x8a, 0x67, 0x32, 0x02, 0xe5, 0x4f, 0x93, 0x38, 0x4e, 0x18, + 0x0d, 0x95, 0x96, 0x44, 0x03, 0x5d, 0x60, 0x21, 0xb9, 0xe6, 0xee, 0x71, 0x21, 0xc7, 0x24, 0x56, + 0x78, 0xe9, 0xc4, 0xd7, 0x6d, 0xbc, 0x74, 0x1e, 0x3d, 0x5f, 0x07, 0x8f, 0x78, 0x9a, 0x72, 0x56, + 0x92, 0x0b, 0xe0, 0xd1, 0x9b, 0x75, 0x6a, 0x60, 0x59, 0xba, 0xda, 0x46, 0xa8, 0x17, 0x02, 0xac, + 0xf5, 0xa1, 0xb5, 0x9a, 0x6c, 0x9a, 0x5d, 0xf9, 0x5f, 0x25, 0x11, 0x02, 0xa4, 0x2a, 0x7e, 0x7f, + 0xf4, 0x6d,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 0x07, 0x00, 0x00, + 0xff, 0xff, 0x20, 0x42, 0x14, 0xed, 0xd2, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/billing_setup.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/billing_setup.pb.go new file mode 100644 index 000000000..039f52f0e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/billing_setup.pb.go @@ -0,0 +1,460 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/billing_setup.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A billing setup across Ads and Payments systems; an association between a +// Payments account and an advertiser. A billing setup is specific to one +// advertiser. +type BillingSetup struct { + // The resource name of the billing setup. + // BillingSetup resource names have the form: + // + // `customers/{customer_id}/billingSetups/{billing_setup_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the billing setup. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The status of the billing setup. + Status enums.BillingSetupStatusEnum_BillingSetupStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.BillingSetupStatusEnum_BillingSetupStatus" json:"status,omitempty"` + // The resource name of the Payments account associated with this billing + // setup. Payments resource names have the form: + // + // `customers/{customer_id}/paymentsAccounts/ + // {payments_profile_id}_{payments_account_id}` + // When setting up billing, this is used to signup with an existing Payments + // account (and then payments_account_info should not be set). + // When getting a billing setup, this and payments_account_info will be + // populated. + PaymentsAccount *wrappers.StringValue `protobuf:"bytes,11,opt,name=payments_account,json=paymentsAccount,proto3" json:"payments_account,omitempty"` + // The Payments account information associated with this billing setup. + // When setting up billing, this is used to signup with a new Payments account + // (and then payments_account should not be set). + // When getting a billing setup, this and payments_account will be + // populated. + PaymentsAccountInfo *BillingSetup_PaymentsAccountInfo `protobuf:"bytes,12,opt,name=payments_account_info,json=paymentsAccountInfo,proto3" json:"payments_account_info,omitempty"` + // When creating a new billing setup, this is when the setup should take + // effect. NOW is the only acceptable start time if the customer doesn't have + // any approved setups. + // + // When fetching an existing billing setup, this is the requested start time. + // However, if the setup was approved (see status) after the requested start + // time, then this is the approval time. + // + // Types that are valid to be assigned to StartTime: + // *BillingSetup_StartDateTime + // *BillingSetup_StartTimeType + StartTime isBillingSetup_StartTime `protobuf_oneof:"start_time"` + // When the billing setup ends / ended. This is either FOREVER or the start + // time of the next scheduled billing setup. + // + // Types that are valid to be assigned to EndTime: + // *BillingSetup_EndDateTime + // *BillingSetup_EndTimeType + EndTime isBillingSetup_EndTime `protobuf_oneof:"end_time"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BillingSetup) Reset() { *m = BillingSetup{} } +func (m *BillingSetup) String() string { return proto.CompactTextString(m) } +func (*BillingSetup) ProtoMessage() {} +func (*BillingSetup) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_4fe3af0a77df0755, []int{0} +} +func (m *BillingSetup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BillingSetup.Unmarshal(m, b) +} +func (m *BillingSetup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BillingSetup.Marshal(b, m, deterministic) +} +func (dst *BillingSetup) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingSetup.Merge(dst, src) +} +func (m *BillingSetup) XXX_Size() int { + return xxx_messageInfo_BillingSetup.Size(m) +} +func (m *BillingSetup) XXX_DiscardUnknown() { + xxx_messageInfo_BillingSetup.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingSetup proto.InternalMessageInfo + +func (m *BillingSetup) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *BillingSetup) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *BillingSetup) GetStatus() enums.BillingSetupStatusEnum_BillingSetupStatus { + if m != nil { + return m.Status + } + return enums.BillingSetupStatusEnum_UNSPECIFIED +} + +func (m *BillingSetup) GetPaymentsAccount() *wrappers.StringValue { + if m != nil { + return m.PaymentsAccount + } + return nil +} + +func (m *BillingSetup) GetPaymentsAccountInfo() *BillingSetup_PaymentsAccountInfo { + if m != nil { + return m.PaymentsAccountInfo + } + return nil +} + +type isBillingSetup_StartTime interface { + isBillingSetup_StartTime() +} + +type BillingSetup_StartDateTime struct { + StartDateTime *wrappers.StringValue `protobuf:"bytes,9,opt,name=start_date_time,json=startDateTime,proto3,oneof"` +} + +type BillingSetup_StartTimeType struct { + StartTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,10,opt,name=start_time_type,json=startTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*BillingSetup_StartDateTime) isBillingSetup_StartTime() {} + +func (*BillingSetup_StartTimeType) isBillingSetup_StartTime() {} + +func (m *BillingSetup) GetStartTime() isBillingSetup_StartTime { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *BillingSetup) GetStartDateTime() *wrappers.StringValue { + if x, ok := m.GetStartTime().(*BillingSetup_StartDateTime); ok { + return x.StartDateTime + } + return nil +} + +func (m *BillingSetup) GetStartTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetStartTime().(*BillingSetup_StartTimeType); ok { + return x.StartTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +type isBillingSetup_EndTime interface { + isBillingSetup_EndTime() +} + +type BillingSetup_EndDateTime struct { + EndDateTime *wrappers.StringValue `protobuf:"bytes,13,opt,name=end_date_time,json=endDateTime,proto3,oneof"` +} + +type BillingSetup_EndTimeType struct { + EndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,14,opt,name=end_time_type,json=endTimeType,proto3,enum=google.ads.googleads.v0.enums.TimeTypeEnum_TimeType,oneof"` +} + +func (*BillingSetup_EndDateTime) isBillingSetup_EndTime() {} + +func (*BillingSetup_EndTimeType) isBillingSetup_EndTime() {} + +func (m *BillingSetup) GetEndTime() isBillingSetup_EndTime { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *BillingSetup) GetEndDateTime() *wrappers.StringValue { + if x, ok := m.GetEndTime().(*BillingSetup_EndDateTime); ok { + return x.EndDateTime + } + return nil +} + +func (m *BillingSetup) GetEndTimeType() enums.TimeTypeEnum_TimeType { + if x, ok := m.GetEndTime().(*BillingSetup_EndTimeType); ok { + return x.EndTimeType + } + return enums.TimeTypeEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*BillingSetup) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _BillingSetup_OneofMarshaler, _BillingSetup_OneofUnmarshaler, _BillingSetup_OneofSizer, []interface{}{ + (*BillingSetup_StartDateTime)(nil), + (*BillingSetup_StartTimeType)(nil), + (*BillingSetup_EndDateTime)(nil), + (*BillingSetup_EndTimeType)(nil), + } +} + +func _BillingSetup_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*BillingSetup) + // start_time + switch x := m.StartTime.(type) { + case *BillingSetup_StartDateTime: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.StartDateTime); err != nil { + return err + } + case *BillingSetup_StartTimeType: + b.EncodeVarint(10<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.StartTimeType)) + case nil: + default: + return fmt.Errorf("BillingSetup.StartTime has unexpected type %T", x) + } + // end_time + switch x := m.EndTime.(type) { + case *BillingSetup_EndDateTime: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.EndDateTime); err != nil { + return err + } + case *BillingSetup_EndTimeType: + b.EncodeVarint(14<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.EndTimeType)) + case nil: + default: + return fmt.Errorf("BillingSetup.EndTime has unexpected type %T", x) + } + return nil +} + +func _BillingSetup_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*BillingSetup) + switch tag { + case 9: // start_time.start_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.StartTime = &BillingSetup_StartDateTime{msg} + return true, err + case 10: // start_time.start_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.StartTime = &BillingSetup_StartTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + case 13: // end_time.end_date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.EndTime = &BillingSetup_EndDateTime{msg} + return true, err + case 14: // end_time.end_time_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.EndTime = &BillingSetup_EndTimeType{enums.TimeTypeEnum_TimeType(x)} + return true, err + default: + return false, nil + } +} + +func _BillingSetup_OneofSizer(msg proto.Message) (n int) { + m := msg.(*BillingSetup) + // start_time + switch x := m.StartTime.(type) { + case *BillingSetup_StartDateTime: + s := proto.Size(x.StartDateTime) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BillingSetup_StartTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.StartTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + // end_time + switch x := m.EndTime.(type) { + case *BillingSetup_EndDateTime: + s := proto.Size(x.EndDateTime) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BillingSetup_EndTimeType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.EndTimeType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Container of Payments account information for this billing. +type BillingSetup_PaymentsAccountInfo struct { + // A 16 digit id used to identify the Payments account associated with the + // billing setup. + // + // This must be passed as a string with dashes, e.g. "1234-5678-9012-3456". + PaymentsAccountId *wrappers.StringValue `protobuf:"bytes,1,opt,name=payments_account_id,json=paymentsAccountId,proto3" json:"payments_account_id,omitempty"` + // The name of the Payments account associated with the billing setup. + // + // This enables the user to specify a meaningful name for a Payments account + // to aid in reconciling monthly invoices. + // + // This name will be printed in the monthly invoices. + PaymentsAccountName *wrappers.StringValue `protobuf:"bytes,2,opt,name=payments_account_name,json=paymentsAccountName,proto3" json:"payments_account_name,omitempty"` + // A 12 digit id used to identify the Payments profile associated with the + // billing setup. + // + // This must be passed in as a string with dashes, e.g. "1234-5678-9012". + PaymentsProfileId *wrappers.StringValue `protobuf:"bytes,3,opt,name=payments_profile_id,json=paymentsProfileId,proto3" json:"payments_profile_id,omitempty"` + // The name of the Payments profile associated with the billing setup. + PaymentsProfileName *wrappers.StringValue `protobuf:"bytes,4,opt,name=payments_profile_name,json=paymentsProfileName,proto3" json:"payments_profile_name,omitempty"` + // A secondary payments profile id present in uncommon situations, e.g. + // when a sequential liability agreement has been arranged. + SecondaryPaymentsProfileId *wrappers.StringValue `protobuf:"bytes,5,opt,name=secondary_payments_profile_id,json=secondaryPaymentsProfileId,proto3" json:"secondary_payments_profile_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BillingSetup_PaymentsAccountInfo) Reset() { *m = BillingSetup_PaymentsAccountInfo{} } +func (m *BillingSetup_PaymentsAccountInfo) String() string { return proto.CompactTextString(m) } +func (*BillingSetup_PaymentsAccountInfo) ProtoMessage() {} +func (*BillingSetup_PaymentsAccountInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_4fe3af0a77df0755, []int{0, 0} +} +func (m *BillingSetup_PaymentsAccountInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BillingSetup_PaymentsAccountInfo.Unmarshal(m, b) +} +func (m *BillingSetup_PaymentsAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BillingSetup_PaymentsAccountInfo.Marshal(b, m, deterministic) +} +func (dst *BillingSetup_PaymentsAccountInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingSetup_PaymentsAccountInfo.Merge(dst, src) +} +func (m *BillingSetup_PaymentsAccountInfo) XXX_Size() int { + return xxx_messageInfo_BillingSetup_PaymentsAccountInfo.Size(m) +} +func (m *BillingSetup_PaymentsAccountInfo) XXX_DiscardUnknown() { + xxx_messageInfo_BillingSetup_PaymentsAccountInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingSetup_PaymentsAccountInfo proto.InternalMessageInfo + +func (m *BillingSetup_PaymentsAccountInfo) GetPaymentsAccountId() *wrappers.StringValue { + if m != nil { + return m.PaymentsAccountId + } + return nil +} + +func (m *BillingSetup_PaymentsAccountInfo) GetPaymentsAccountName() *wrappers.StringValue { + if m != nil { + return m.PaymentsAccountName + } + return nil +} + +func (m *BillingSetup_PaymentsAccountInfo) GetPaymentsProfileId() *wrappers.StringValue { + if m != nil { + return m.PaymentsProfileId + } + return nil +} + +func (m *BillingSetup_PaymentsAccountInfo) GetPaymentsProfileName() *wrappers.StringValue { + if m != nil { + return m.PaymentsProfileName + } + return nil +} + +func (m *BillingSetup_PaymentsAccountInfo) GetSecondaryPaymentsProfileId() *wrappers.StringValue { + if m != nil { + return m.SecondaryPaymentsProfileId + } + return nil +} + +func init() { + proto.RegisterType((*BillingSetup)(nil), "google.ads.googleads.v0.resources.BillingSetup") + proto.RegisterType((*BillingSetup_PaymentsAccountInfo)(nil), "google.ads.googleads.v0.resources.BillingSetup.PaymentsAccountInfo") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/billing_setup.proto", fileDescriptor_billing_setup_4fe3af0a77df0755) +} + +var fileDescriptor_billing_setup_4fe3af0a77df0755 = []byte{ + // 599 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xdf, 0x6a, 0xdb, 0x3e, + 0x14, 0xc7, 0x7f, 0x76, 0x7e, 0x2b, 0xab, 0x9a, 0xb4, 0xab, 0xcb, 0xc0, 0x64, 0x7f, 0x68, 0x37, + 0x06, 0x81, 0x31, 0x39, 0x74, 0xdd, 0x18, 0xec, 0x2a, 0xde, 0x9f, 0xb4, 0x63, 0x0c, 0xe3, 0x94, + 0x5c, 0x94, 0x30, 0x4f, 0x89, 0x14, 0x63, 0xb0, 0x25, 0x63, 0xc9, 0x2d, 0x79, 0x9a, 0xc1, 0x2e, + 0xf7, 0x00, 0x7b, 0x88, 0x3d, 0xc0, 0x9e, 0x67, 0x58, 0xb2, 0xdc, 0xd4, 0x49, 0x9b, 0x94, 0xdd, + 0x1d, 0x89, 0xf3, 0xfd, 0xea, 0xa3, 0x73, 0x8e, 0x04, 0x5e, 0x85, 0x8c, 0x85, 0x31, 0x71, 0x10, + 0xe6, 0x8e, 0x0a, 0x8b, 0xe8, 0xbc, 0xeb, 0x64, 0x84, 0xb3, 0x3c, 0x9b, 0x10, 0xee, 0x8c, 0xa3, + 0x38, 0x8e, 0x68, 0x18, 0x70, 0x22, 0xf2, 0x14, 0xa6, 0x19, 0x13, 0xcc, 0x3a, 0x50, 0xb9, 0x10, + 0x61, 0x0e, 0x2b, 0x19, 0x3c, 0xef, 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b, 0xc0, 0x5d, 0x3d, 0x22, 0xee, 0x1f, 0x03, 0x3c, 0x9b, 0xb0, 0x64, 0xf5, 0xd3, + 0x73, 0x77, 0xe7, 0xdf, 0x9e, 0x57, 0x10, 0x78, 0xc6, 0xd9, 0xa7, 0x52, 0x17, 0xb2, 0x18, 0xd1, + 0x10, 0xb2, 0x2c, 0x74, 0x42, 0x42, 0x25, 0x9f, 0xfe, 0x3f, 0xd3, 0x88, 0xdf, 0xf0, 0xc5, 0xbf, + 0xad, 0xa2, 0x1f, 0x66, 0xa3, 0xdf, 0xeb, 0xfd, 0x34, 0x0f, 0xfa, 0xca, 0xb2, 0x87, 0x39, 0x54, + 0x61, 0x11, 0x0d, 0xbb, 0xd0, 0xd7, 0x99, 0xbf, 0x75, 0xce, 0xa8, 0x87, 0xf9, 0xa8, 0xca, 0x19, + 0x0d, 0xbb, 0xa3, 0x2a, 0x67, 0xbc, 0x21, 0x21, 0x5e, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x51, + 0x82, 0x16, 0x94, 0x66, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign.pb.go new file mode 100644 index 000000000..fe1dc851d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign.pb.go @@ -0,0 +1,1039 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A campaign. +type Campaign struct { + // The resource name of the campaign. + // Campaign resource names have the form: + // + // `customers/{customer_id}/campaigns/{campaign_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the campaign. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the campaign. + // + // This field is required and should not be empty when creating new + // campaigns. + // + // It must not contain any null (code point 0x0), NL line feed + // (code point 0xA) or carriage return (code point 0xD) characters. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The status of the campaign. + // + // When a new campaign is added, the status defaults to ENABLED. + Status enums.CampaignStatusEnum_CampaignStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.CampaignStatusEnum_CampaignStatus" json:"status,omitempty"` + // The ad serving status of the campaign. + ServingStatus enums.CampaignServingStatusEnum_CampaignServingStatus `protobuf:"varint,21,opt,name=serving_status,json=servingStatus,proto3,enum=google.ads.googleads.v0.enums.CampaignServingStatusEnum_CampaignServingStatus" json:"serving_status,omitempty"` + // The ad serving optimization status of the campaign. + AdServingOptimizationStatus enums.AdServingOptimizationStatusEnum_AdServingOptimizationStatus `protobuf:"varint,8,opt,name=ad_serving_optimization_status,json=adServingOptimizationStatus,proto3,enum=google.ads.googleads.v0.enums.AdServingOptimizationStatusEnum_AdServingOptimizationStatus" json:"ad_serving_optimization_status,omitempty"` + // The primary serving target for ads within the campaign. + // The targeting options can be refined in `network_settings`. + // + // This field is required and should not be empty when creating new + // campaigns. + // + // Can be set only when creating campaigns. + // After the campaign is created, the field can not be changed. + AdvertisingChannelType enums.AdvertisingChannelTypeEnum_AdvertisingChannelType `protobuf:"varint,9,opt,name=advertising_channel_type,json=advertisingChannelType,proto3,enum=google.ads.googleads.v0.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType" json:"advertising_channel_type,omitempty"` + // Optional refinement to `advertising_channel_type`. + // Must be a valid sub-type of the parent channel type. + // + // Can be set only when creating campaigns. + // After campaign is created, the field can not be changed. + AdvertisingChannelSubType enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType `protobuf:"varint,10,opt,name=advertising_channel_sub_type,json=advertisingChannelSubType,proto3,enum=google.ads.googleads.v0.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType" json:"advertising_channel_sub_type,omitempty"` + // The URL template for constructing a tracking URL. + TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,11,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` + // The list of mappings used to substitute custom parameter tags in a + // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + UrlCustomParameters []*common.CustomParameter `protobuf:"bytes,12,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` + // Settings for Real-Time Bidding, a feature only available for campaigns + // targeting the Ad Exchange network. + RealTimeBiddingSetting *common.RealTimeBiddingSetting `protobuf:"bytes,39,opt,name=real_time_bidding_setting,json=realTimeBiddingSetting,proto3" json:"real_time_bidding_setting,omitempty"` + // The network settings for the campaign. + NetworkSettings *Campaign_NetworkSettings `protobuf:"bytes,14,opt,name=network_settings,json=networkSettings,proto3" json:"network_settings,omitempty"` + // The hotel setting for the campaign. + HotelSetting *Campaign_HotelSettingInfo `protobuf:"bytes,32,opt,name=hotel_setting,json=hotelSetting,proto3" json:"hotel_setting,omitempty"` + // The setting for controlling Dynamic Search Ads (DSA). + DynamicSearchAdsSetting *Campaign_DynamicSearchAdsSetting `protobuf:"bytes,33,opt,name=dynamic_search_ads_setting,json=dynamicSearchAdsSetting,proto3" json:"dynamic_search_ads_setting,omitempty"` + // The setting for controlling Shopping campaigns. + ShoppingSetting *Campaign_ShoppingSetting `protobuf:"bytes,36,opt,name=shopping_setting,json=shoppingSetting,proto3" json:"shopping_setting,omitempty"` + // The budget of the campaign. + CampaignBudget *wrappers.StringValue `protobuf:"bytes,6,opt,name=campaign_budget,json=campaignBudget,proto3" json:"campaign_budget,omitempty"` + // The type of bidding strategy. + // + // A bidding strategy can be created by setting either the bidding scheme to + // create a standard bidding strategy or the `bidding_strategy` field to + // create a portfolio bidding strategy. + // + // This field is read-only. + BiddingStrategyType enums.BiddingStrategyTypeEnum_BiddingStrategyType `protobuf:"varint,22,opt,name=bidding_strategy_type,json=biddingStrategyType,proto3,enum=google.ads.googleads.v0.enums.BiddingStrategyTypeEnum_BiddingStrategyType" json:"bidding_strategy_type,omitempty"` + // The date when campaign started. + // + // This field must not be used in WHERE clauses. + StartDate *wrappers.StringValue `protobuf:"bytes,19,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` + // The campaign group this campaign belongs to. + CampaignGroup *wrappers.StringValue `protobuf:"bytes,35,opt,name=campaign_group,json=campaignGroup,proto3" json:"campaign_group,omitempty"` + // The date when campaign ended. + // + // This field must not be used in WHERE clauses. + EndDate *wrappers.StringValue `protobuf:"bytes,20,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` + // Suffix used to append query parameters to landing pages that are served + // with parallel tracking. + FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,38,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,omitempty"` + // A list that limits how often each user will see this campaign's ads. + FrequencyCaps []*common.FrequencyCapEntry `protobuf:"bytes,40,rep,name=frequency_caps,json=frequencyCaps,proto3" json:"frequency_caps,omitempty"` + // The bidding strategy for the campaign. + // + // Must be either portfolio (created via BiddingStrategy service) or + // standard, that is embedded into the campaign. + // + // Types that are valid to be assigned to CampaignBiddingStrategy: + // *Campaign_BiddingStrategy + // *Campaign_ManualCpc + // *Campaign_ManualCpm + // *Campaign_ManualCpv + // *Campaign_MaximizeConversions + // *Campaign_MaximizeConversionValue + // *Campaign_TargetCpa + // *Campaign_TargetRoas + // *Campaign_TargetSpend + // *Campaign_PercentCpc + CampaignBiddingStrategy isCampaign_CampaignBiddingStrategy `protobuf_oneof:"campaign_bidding_strategy"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Campaign) Reset() { *m = Campaign{} } +func (m *Campaign) String() string { return proto.CompactTextString(m) } +func (*Campaign) ProtoMessage() {} +func (*Campaign) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_153eb7de4e2bcd72, []int{0} +} +func (m *Campaign) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Campaign.Unmarshal(m, b) +} +func (m *Campaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Campaign.Marshal(b, m, deterministic) +} +func (dst *Campaign) XXX_Merge(src proto.Message) { + xxx_messageInfo_Campaign.Merge(dst, src) +} +func (m *Campaign) XXX_Size() int { + return xxx_messageInfo_Campaign.Size(m) +} +func (m *Campaign) XXX_DiscardUnknown() { + xxx_messageInfo_Campaign.DiscardUnknown(m) +} + +var xxx_messageInfo_Campaign proto.InternalMessageInfo + +func (m *Campaign) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Campaign) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *Campaign) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *Campaign) GetStatus() enums.CampaignStatusEnum_CampaignStatus { + if m != nil { + return m.Status + } + return enums.CampaignStatusEnum_UNSPECIFIED +} + +func (m *Campaign) GetServingStatus() enums.CampaignServingStatusEnum_CampaignServingStatus { + if m != nil { + return m.ServingStatus + } + return enums.CampaignServingStatusEnum_UNSPECIFIED +} + +func (m *Campaign) GetAdServingOptimizationStatus() enums.AdServingOptimizationStatusEnum_AdServingOptimizationStatus { + if m != nil { + return m.AdServingOptimizationStatus + } + return enums.AdServingOptimizationStatusEnum_UNSPECIFIED +} + +func (m *Campaign) GetAdvertisingChannelType() enums.AdvertisingChannelTypeEnum_AdvertisingChannelType { + if m != nil { + return m.AdvertisingChannelType + } + return enums.AdvertisingChannelTypeEnum_UNSPECIFIED +} + +func (m *Campaign) GetAdvertisingChannelSubType() enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType { + if m != nil { + return m.AdvertisingChannelSubType + } + return enums.AdvertisingChannelSubTypeEnum_UNSPECIFIED +} + +func (m *Campaign) GetTrackingUrlTemplate() *wrappers.StringValue { + if m != nil { + return m.TrackingUrlTemplate + } + return nil +} + +func (m *Campaign) GetUrlCustomParameters() []*common.CustomParameter { + if m != nil { + return m.UrlCustomParameters + } + return nil +} + +func (m *Campaign) GetRealTimeBiddingSetting() *common.RealTimeBiddingSetting { + if m != nil { + return m.RealTimeBiddingSetting + } + return nil +} + +func (m *Campaign) GetNetworkSettings() *Campaign_NetworkSettings { + if m != nil { + return m.NetworkSettings + } + return nil +} + +func (m *Campaign) GetHotelSetting() *Campaign_HotelSettingInfo { + if m != nil { + return m.HotelSetting + } + return nil +} + +func (m *Campaign) GetDynamicSearchAdsSetting() *Campaign_DynamicSearchAdsSetting { + if m != nil { + return m.DynamicSearchAdsSetting + } + return nil +} + +func (m *Campaign) GetShoppingSetting() *Campaign_ShoppingSetting { + if m != nil { + return m.ShoppingSetting + } + return nil +} + +func (m *Campaign) GetCampaignBudget() *wrappers.StringValue { + if m != nil { + return m.CampaignBudget + } + return nil +} + +func (m *Campaign) GetBiddingStrategyType() enums.BiddingStrategyTypeEnum_BiddingStrategyType { + if m != nil { + return m.BiddingStrategyType + } + return enums.BiddingStrategyTypeEnum_UNSPECIFIED +} + +func (m *Campaign) GetStartDate() *wrappers.StringValue { + if m != nil { + return m.StartDate + } + return nil +} + +func (m *Campaign) GetCampaignGroup() *wrappers.StringValue { + if m != nil { + return m.CampaignGroup + } + return nil +} + +func (m *Campaign) GetEndDate() *wrappers.StringValue { + if m != nil { + return m.EndDate + } + return nil +} + +func (m *Campaign) GetFinalUrlSuffix() *wrappers.StringValue { + if m != nil { + return m.FinalUrlSuffix + } + return nil +} + +func (m *Campaign) GetFrequencyCaps() []*common.FrequencyCapEntry { + if m != nil { + return m.FrequencyCaps + } + return nil +} + +type isCampaign_CampaignBiddingStrategy interface { + isCampaign_CampaignBiddingStrategy() +} + +type Campaign_BiddingStrategy struct { + BiddingStrategy *wrappers.StringValue `protobuf:"bytes,23,opt,name=bidding_strategy,json=biddingStrategy,proto3,oneof"` +} + +type Campaign_ManualCpc struct { + ManualCpc *common.ManualCpc `protobuf:"bytes,24,opt,name=manual_cpc,json=manualCpc,proto3,oneof"` +} + +type Campaign_ManualCpm struct { + ManualCpm *common.ManualCpm `protobuf:"bytes,25,opt,name=manual_cpm,json=manualCpm,proto3,oneof"` +} + +type Campaign_ManualCpv struct { + ManualCpv *common.ManualCpv `protobuf:"bytes,37,opt,name=manual_cpv,json=manualCpv,proto3,oneof"` +} + +type Campaign_MaximizeConversions struct { + MaximizeConversions *common.MaximizeConversions `protobuf:"bytes,30,opt,name=maximize_conversions,json=maximizeConversions,proto3,oneof"` +} + +type Campaign_MaximizeConversionValue struct { + MaximizeConversionValue *common.MaximizeConversionValue `protobuf:"bytes,31,opt,name=maximize_conversion_value,json=maximizeConversionValue,proto3,oneof"` +} + +type Campaign_TargetCpa struct { + TargetCpa *common.TargetCpa `protobuf:"bytes,26,opt,name=target_cpa,json=targetCpa,proto3,oneof"` +} + +type Campaign_TargetRoas struct { + TargetRoas *common.TargetRoas `protobuf:"bytes,29,opt,name=target_roas,json=targetRoas,proto3,oneof"` +} + +type Campaign_TargetSpend struct { + TargetSpend *common.TargetSpend `protobuf:"bytes,27,opt,name=target_spend,json=targetSpend,proto3,oneof"` +} + +type Campaign_PercentCpc struct { + PercentCpc *common.PercentCpc `protobuf:"bytes,34,opt,name=percent_cpc,json=percentCpc,proto3,oneof"` +} + +func (*Campaign_BiddingStrategy) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_ManualCpc) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_ManualCpm) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_ManualCpv) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_MaximizeConversions) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_MaximizeConversionValue) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_TargetCpa) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_TargetRoas) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_TargetSpend) isCampaign_CampaignBiddingStrategy() {} + +func (*Campaign_PercentCpc) isCampaign_CampaignBiddingStrategy() {} + +func (m *Campaign) GetCampaignBiddingStrategy() isCampaign_CampaignBiddingStrategy { + if m != nil { + return m.CampaignBiddingStrategy + } + return nil +} + +func (m *Campaign) GetBiddingStrategy() *wrappers.StringValue { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_BiddingStrategy); ok { + return x.BiddingStrategy + } + return nil +} + +func (m *Campaign) GetManualCpc() *common.ManualCpc { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_ManualCpc); ok { + return x.ManualCpc + } + return nil +} + +func (m *Campaign) GetManualCpm() *common.ManualCpm { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_ManualCpm); ok { + return x.ManualCpm + } + return nil +} + +func (m *Campaign) GetManualCpv() *common.ManualCpv { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_ManualCpv); ok { + return x.ManualCpv + } + return nil +} + +func (m *Campaign) GetMaximizeConversions() *common.MaximizeConversions { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_MaximizeConversions); ok { + return x.MaximizeConversions + } + return nil +} + +func (m *Campaign) GetMaximizeConversionValue() *common.MaximizeConversionValue { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_MaximizeConversionValue); ok { + return x.MaximizeConversionValue + } + return nil +} + +func (m *Campaign) GetTargetCpa() *common.TargetCpa { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetCpa); ok { + return x.TargetCpa + } + return nil +} + +func (m *Campaign) GetTargetRoas() *common.TargetRoas { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetRoas); ok { + return x.TargetRoas + } + return nil +} + +func (m *Campaign) GetTargetSpend() *common.TargetSpend { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetSpend); ok { + return x.TargetSpend + } + return nil +} + +func (m *Campaign) GetPercentCpc() *common.PercentCpc { + if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_PercentCpc); ok { + return x.PercentCpc + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Campaign) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Campaign_OneofMarshaler, _Campaign_OneofUnmarshaler, _Campaign_OneofSizer, []interface{}{ + (*Campaign_BiddingStrategy)(nil), + (*Campaign_ManualCpc)(nil), + (*Campaign_ManualCpm)(nil), + (*Campaign_ManualCpv)(nil), + (*Campaign_MaximizeConversions)(nil), + (*Campaign_MaximizeConversionValue)(nil), + (*Campaign_TargetCpa)(nil), + (*Campaign_TargetRoas)(nil), + (*Campaign_TargetSpend)(nil), + (*Campaign_PercentCpc)(nil), + } +} + +func _Campaign_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Campaign) + // campaign_bidding_strategy + switch x := m.CampaignBiddingStrategy.(type) { + case *Campaign_BiddingStrategy: + b.EncodeVarint(23<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.BiddingStrategy); err != nil { + return err + } + case *Campaign_ManualCpc: + b.EncodeVarint(24<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ManualCpc); err != nil { + return err + } + case *Campaign_ManualCpm: + b.EncodeVarint(25<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ManualCpm); err != nil { + return err + } + case *Campaign_ManualCpv: + b.EncodeVarint(37<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ManualCpv); err != nil { + return err + } + case *Campaign_MaximizeConversions: + b.EncodeVarint(30<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MaximizeConversions); err != nil { + return err + } + case *Campaign_MaximizeConversionValue: + b.EncodeVarint(31<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MaximizeConversionValue); err != nil { + return err + } + case *Campaign_TargetCpa: + b.EncodeVarint(26<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetCpa); err != nil { + return err + } + case *Campaign_TargetRoas: + b.EncodeVarint(29<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetRoas); err != nil { + return err + } + case *Campaign_TargetSpend: + b.EncodeVarint(27<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetSpend); err != nil { + return err + } + case *Campaign_PercentCpc: + b.EncodeVarint(34<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PercentCpc); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Campaign.CampaignBiddingStrategy has unexpected type %T", x) + } + return nil +} + +func _Campaign_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Campaign) + switch tag { + case 23: // campaign_bidding_strategy.bidding_strategy + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(wrappers.StringValue) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_BiddingStrategy{msg} + return true, err + case 24: // campaign_bidding_strategy.manual_cpc + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ManualCpc) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_ManualCpc{msg} + return true, err + case 25: // campaign_bidding_strategy.manual_cpm + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ManualCpm) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_ManualCpm{msg} + return true, err + case 37: // campaign_bidding_strategy.manual_cpv + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ManualCpv) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_ManualCpv{msg} + return true, err + case 30: // campaign_bidding_strategy.maximize_conversions + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.MaximizeConversions) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_MaximizeConversions{msg} + return true, err + case 31: // campaign_bidding_strategy.maximize_conversion_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.MaximizeConversionValue) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_MaximizeConversionValue{msg} + return true, err + case 26: // campaign_bidding_strategy.target_cpa + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetCpa) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_TargetCpa{msg} + return true, err + case 29: // campaign_bidding_strategy.target_roas + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetRoas) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_TargetRoas{msg} + return true, err + case 27: // campaign_bidding_strategy.target_spend + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TargetSpend) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_TargetSpend{msg} + return true, err + case 34: // campaign_bidding_strategy.percent_cpc + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.PercentCpc) + err := b.DecodeMessage(msg) + m.CampaignBiddingStrategy = &Campaign_PercentCpc{msg} + return true, err + default: + return false, nil + } +} + +func _Campaign_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Campaign) + // campaign_bidding_strategy + switch x := m.CampaignBiddingStrategy.(type) { + case *Campaign_BiddingStrategy: + s := proto.Size(x.BiddingStrategy) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_ManualCpc: + s := proto.Size(x.ManualCpc) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_ManualCpm: + s := proto.Size(x.ManualCpm) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_ManualCpv: + s := proto.Size(x.ManualCpv) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_MaximizeConversions: + s := proto.Size(x.MaximizeConversions) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_MaximizeConversionValue: + s := proto.Size(x.MaximizeConversionValue) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_TargetCpa: + s := proto.Size(x.TargetCpa) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_TargetRoas: + s := proto.Size(x.TargetRoas) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_TargetSpend: + s := proto.Size(x.TargetSpend) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Campaign_PercentCpc: + s := proto.Size(x.PercentCpc) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// The network settings for the campaign. +type Campaign_NetworkSettings struct { + // Whether ads will be served with google.com search results. + TargetGoogleSearch *wrappers.BoolValue `protobuf:"bytes,1,opt,name=target_google_search,json=targetGoogleSearch,proto3" json:"target_google_search,omitempty"` + // Whether ads will be served on partner sites in the Google Search Network + // (requires `target_google_search` to also be `true`). + TargetSearchNetwork *wrappers.BoolValue `protobuf:"bytes,2,opt,name=target_search_network,json=targetSearchNetwork,proto3" json:"target_search_network,omitempty"` + // Whether ads will be served on specified placements in the Google Display + // Network. Placements are specified using the Placement criterion. + TargetContentNetwork *wrappers.BoolValue `protobuf:"bytes,3,opt,name=target_content_network,json=targetContentNetwork,proto3" json:"target_content_network,omitempty"` + // Whether ads will be served on the Google Partner Network. + // This is available only to some select Google partner accounts. + TargetPartnerSearchNetwork *wrappers.BoolValue `protobuf:"bytes,4,opt,name=target_partner_search_network,json=targetPartnerSearchNetwork,proto3" json:"target_partner_search_network,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Campaign_NetworkSettings) Reset() { *m = Campaign_NetworkSettings{} } +func (m *Campaign_NetworkSettings) String() string { return proto.CompactTextString(m) } +func (*Campaign_NetworkSettings) ProtoMessage() {} +func (*Campaign_NetworkSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_153eb7de4e2bcd72, []int{0, 0} +} +func (m *Campaign_NetworkSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Campaign_NetworkSettings.Unmarshal(m, b) +} +func (m *Campaign_NetworkSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Campaign_NetworkSettings.Marshal(b, m, deterministic) +} +func (dst *Campaign_NetworkSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_Campaign_NetworkSettings.Merge(dst, src) +} +func (m *Campaign_NetworkSettings) XXX_Size() int { + return xxx_messageInfo_Campaign_NetworkSettings.Size(m) +} +func (m *Campaign_NetworkSettings) XXX_DiscardUnknown() { + xxx_messageInfo_Campaign_NetworkSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_Campaign_NetworkSettings proto.InternalMessageInfo + +func (m *Campaign_NetworkSettings) GetTargetGoogleSearch() *wrappers.BoolValue { + if m != nil { + return m.TargetGoogleSearch + } + return nil +} + +func (m *Campaign_NetworkSettings) GetTargetSearchNetwork() *wrappers.BoolValue { + if m != nil { + return m.TargetSearchNetwork + } + return nil +} + +func (m *Campaign_NetworkSettings) GetTargetContentNetwork() *wrappers.BoolValue { + if m != nil { + return m.TargetContentNetwork + } + return nil +} + +func (m *Campaign_NetworkSettings) GetTargetPartnerSearchNetwork() *wrappers.BoolValue { + if m != nil { + return m.TargetPartnerSearchNetwork + } + return nil +} + +// Campaign-level settings for hotel ads. +type Campaign_HotelSettingInfo struct { + // The linked Hotel Center account. + HotelCenterId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=hotel_center_id,json=hotelCenterId,proto3" json:"hotel_center_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Campaign_HotelSettingInfo) Reset() { *m = Campaign_HotelSettingInfo{} } +func (m *Campaign_HotelSettingInfo) String() string { return proto.CompactTextString(m) } +func (*Campaign_HotelSettingInfo) ProtoMessage() {} +func (*Campaign_HotelSettingInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_153eb7de4e2bcd72, []int{0, 1} +} +func (m *Campaign_HotelSettingInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Campaign_HotelSettingInfo.Unmarshal(m, b) +} +func (m *Campaign_HotelSettingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Campaign_HotelSettingInfo.Marshal(b, m, deterministic) +} +func (dst *Campaign_HotelSettingInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_Campaign_HotelSettingInfo.Merge(dst, src) +} +func (m *Campaign_HotelSettingInfo) XXX_Size() int { + return xxx_messageInfo_Campaign_HotelSettingInfo.Size(m) +} +func (m *Campaign_HotelSettingInfo) XXX_DiscardUnknown() { + xxx_messageInfo_Campaign_HotelSettingInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_Campaign_HotelSettingInfo proto.InternalMessageInfo + +func (m *Campaign_HotelSettingInfo) GetHotelCenterId() *wrappers.Int64Value { + if m != nil { + return m.HotelCenterId + } + return nil +} + +// The setting for controlling Dynamic Search Ads (DSA). +type Campaign_DynamicSearchAdsSetting struct { + // The Internet domain name that this setting represents, e.g., "google.com" + // or "www.google.com". + DomainName *wrappers.StringValue `protobuf:"bytes,1,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` + // The language code specifying the language of the domain, e.g., "en". + LanguageCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + // Whether the campaign uses advertiser supplied URLs exclusively. + UseSuppliedUrlsOnly *wrappers.BoolValue `protobuf:"bytes,3,opt,name=use_supplied_urls_only,json=useSuppliedUrlsOnly,proto3" json:"use_supplied_urls_only,omitempty"` + // The list of page feeds associated with the campaign. + FeedIds []*wrappers.Int64Value `protobuf:"bytes,4,rep,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Campaign_DynamicSearchAdsSetting) Reset() { *m = Campaign_DynamicSearchAdsSetting{} } +func (m *Campaign_DynamicSearchAdsSetting) String() string { return proto.CompactTextString(m) } +func (*Campaign_DynamicSearchAdsSetting) ProtoMessage() {} +func (*Campaign_DynamicSearchAdsSetting) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_153eb7de4e2bcd72, []int{0, 2} +} +func (m *Campaign_DynamicSearchAdsSetting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Campaign_DynamicSearchAdsSetting.Unmarshal(m, b) +} +func (m *Campaign_DynamicSearchAdsSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Campaign_DynamicSearchAdsSetting.Marshal(b, m, deterministic) +} +func (dst *Campaign_DynamicSearchAdsSetting) XXX_Merge(src proto.Message) { + xxx_messageInfo_Campaign_DynamicSearchAdsSetting.Merge(dst, src) +} +func (m *Campaign_DynamicSearchAdsSetting) XXX_Size() int { + return xxx_messageInfo_Campaign_DynamicSearchAdsSetting.Size(m) +} +func (m *Campaign_DynamicSearchAdsSetting) XXX_DiscardUnknown() { + xxx_messageInfo_Campaign_DynamicSearchAdsSetting.DiscardUnknown(m) +} + +var xxx_messageInfo_Campaign_DynamicSearchAdsSetting proto.InternalMessageInfo + +func (m *Campaign_DynamicSearchAdsSetting) GetDomainName() *wrappers.StringValue { + if m != nil { + return m.DomainName + } + return nil +} + +func (m *Campaign_DynamicSearchAdsSetting) GetLanguageCode() *wrappers.StringValue { + if m != nil { + return m.LanguageCode + } + return nil +} + +func (m *Campaign_DynamicSearchAdsSetting) GetUseSuppliedUrlsOnly() *wrappers.BoolValue { + if m != nil { + return m.UseSuppliedUrlsOnly + } + return nil +} + +func (m *Campaign_DynamicSearchAdsSetting) GetFeedIds() []*wrappers.Int64Value { + if m != nil { + return m.FeedIds + } + return nil +} + +// The setting for Shopping campaigns. Defines the universe of products that +// can be advertised by the campaign, and how this campaign interacts with +// other Shopping campaigns. +type Campaign_ShoppingSetting struct { + // ID of the Merchant Center account. + // This field is required for create operations. This field is immutable for + // Shopping campaigns. + MerchantId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty"` + // Sales country of products to include in the campaign. + // This field is required for Shopping campaigns. This field is immutable. + // This field is optional for non-Shopping campaigns, but it must be equal + // to 'ZZ' if set. + SalesCountry *wrappers.StringValue `protobuf:"bytes,2,opt,name=sales_country,json=salesCountry,proto3" json:"sales_country,omitempty"` + // Priority of the campaign. Campaigns with numerically higher priorities + // take precedence over those with lower priorities. + // This field is required for Shopping campaigns, with values between 0 and + // 2, inclusive. + // This field is optional for Smart Shopping campaigns, but must be equal to + // 3 if set. + CampaignPriority *wrappers.Int32Value `protobuf:"bytes,3,opt,name=campaign_priority,json=campaignPriority,proto3" json:"campaign_priority,omitempty"` + // Enable local inventory ads. This field is ignored for Smart Shopping + // campaigns. + EnableLocal *wrappers.BoolValue `protobuf:"bytes,4,opt,name=enable_local,json=enableLocal,proto3" json:"enable_local,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Campaign_ShoppingSetting) Reset() { *m = Campaign_ShoppingSetting{} } +func (m *Campaign_ShoppingSetting) String() string { return proto.CompactTextString(m) } +func (*Campaign_ShoppingSetting) ProtoMessage() {} +func (*Campaign_ShoppingSetting) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_153eb7de4e2bcd72, []int{0, 3} +} +func (m *Campaign_ShoppingSetting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Campaign_ShoppingSetting.Unmarshal(m, b) +} +func (m *Campaign_ShoppingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Campaign_ShoppingSetting.Marshal(b, m, deterministic) +} +func (dst *Campaign_ShoppingSetting) XXX_Merge(src proto.Message) { + xxx_messageInfo_Campaign_ShoppingSetting.Merge(dst, src) +} +func (m *Campaign_ShoppingSetting) XXX_Size() int { + return xxx_messageInfo_Campaign_ShoppingSetting.Size(m) +} +func (m *Campaign_ShoppingSetting) XXX_DiscardUnknown() { + xxx_messageInfo_Campaign_ShoppingSetting.DiscardUnknown(m) +} + +var xxx_messageInfo_Campaign_ShoppingSetting proto.InternalMessageInfo + +func (m *Campaign_ShoppingSetting) GetMerchantId() *wrappers.Int64Value { + if m != nil { + return m.MerchantId + } + return nil +} + +func (m *Campaign_ShoppingSetting) GetSalesCountry() *wrappers.StringValue { + if m != nil { + return m.SalesCountry + } + return nil +} + +func (m *Campaign_ShoppingSetting) GetCampaignPriority() *wrappers.Int32Value { + if m != nil { + return m.CampaignPriority + } + return nil +} + +func (m *Campaign_ShoppingSetting) GetEnableLocal() *wrappers.BoolValue { + if m != nil { + return m.EnableLocal + } + return nil +} + +func init() { + proto.RegisterType((*Campaign)(nil), "google.ads.googleads.v0.resources.Campaign") + proto.RegisterType((*Campaign_NetworkSettings)(nil), "google.ads.googleads.v0.resources.Campaign.NetworkSettings") + proto.RegisterType((*Campaign_HotelSettingInfo)(nil), "google.ads.googleads.v0.resources.Campaign.HotelSettingInfo") + proto.RegisterType((*Campaign_DynamicSearchAdsSetting)(nil), "google.ads.googleads.v0.resources.Campaign.DynamicSearchAdsSetting") + proto.RegisterType((*Campaign_ShoppingSetting)(nil), "google.ads.googleads.v0.resources.Campaign.ShoppingSetting") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign.proto", fileDescriptor_campaign_153eb7de4e2bcd72) +} + +var fileDescriptor_campaign_153eb7de4e2bcd72 = []byte{ + // 1511 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x98, 0x5d, 0x6f, 0xdb, 0x36, + 0x17, 0xc7, 0x63, 0x27, 0x4f, 0x9b, 0xd0, 0x79, 0x7b, 0x98, 0x26, 0x51, 0x9c, 0xbe, 0xa4, 0xed, + 0xd3, 0x67, 0xd9, 0x3a, 0xc8, 0x59, 0xb2, 0xb5, 0x18, 0xd2, 0x0e, 0x4d, 0xdc, 0x97, 0xa4, 0x68, + 0x53, 0x43, 0x4e, 0xb3, 0xa2, 0xc8, 0x20, 0xd0, 0x12, 0xed, 0x08, 0x95, 0x48, 0x95, 0xa4, 0xdc, + 0x7a, 0x17, 0xc3, 0xae, 0xf7, 0x01, 0xb6, 0x8b, 0x5d, 0x0c, 0x18, 0x76, 0xb5, 0x8f, 0xb2, 0xcb, + 0x7d, 0x82, 0x7d, 0x94, 0x41, 0x24, 0xa5, 0xd8, 0x8e, 0x6d, 0xc9, 0x77, 0x22, 0x79, 0x7e, 0xff, + 0x73, 0x78, 0xf8, 0x72, 0x68, 0x83, 0xad, 0x16, 0xa5, 0x2d, 0x1f, 0x57, 0x90, 0xcb, 0x2b, 0xea, + 0x33, 0xfe, 0x6a, 0x6f, 0x55, 0x18, 0xe6, 0x34, 0x62, 0x0e, 0xe6, 0x15, 0x07, 0x05, 0x21, 0xf2, + 0x5a, 0xc4, 0x0c, 0x19, 0x15, 0x14, 0xde, 0x54, 0x66, 0x26, 0x72, 0xb9, 0x99, 0x12, 0x66, 0x7b, + 0xcb, 0x4c, 0x89, 0xf2, 0xe7, 0xc3, 0x44, 0x1d, 0x1a, 0x04, 0x94, 0x54, 0x1a, 0x9e, 0xeb, 0x7a, + 0xa4, 0xa5, 0x04, 0xcb, 0x5f, 0x65, 0x58, 0x3b, 0x11, 0x17, 0x34, 0xb0, 0x43, 0xc4, 0x50, 0x80, + 0x05, 0x66, 0x1a, 0xdb, 0xce, 0xc0, 0x9a, 0x0c, 0xbf, 0x8f, 0x30, 0x71, 0x3a, 0xb6, 0x83, 0x42, + 0xcd, 0x7c, 0x93, 0xc1, 0x30, 0x8c, 0x7c, 0x5b, 0x78, 0x01, 0xb6, 0x75, 0x88, 0x36, 0xc7, 0x42, + 0x9c, 0x87, 0xba, 0x3f, 0x8c, 0xc7, 0x24, 0x0a, 0x78, 0x05, 0xb9, 0x36, 0xc7, 0xac, 0x1d, 0x73, + 0x34, 0x14, 0x5e, 0xe0, 0x7d, 0x8f, 0x84, 0x47, 0x89, 0xcd, 0x05, 0x12, 0x11, 0xd7, 0x1a, 0x8f, + 0xb2, 0x34, 0xda, 0x98, 0x09, 0x8f, 0xc7, 0x22, 0xce, 0x19, 0x22, 0x04, 0xfb, 0x36, 0x8f, 0x1a, + 0xb6, 0xe8, 0x84, 0x58, 0x2b, 0x3c, 0x18, 0x5f, 0xa1, 0x8b, 0xfe, 0x7a, 0x34, 0x9d, 0x4e, 0x5c, + 0x30, 0x24, 0x70, 0xab, 0xd3, 0x8d, 0xee, 0x8e, 0x46, 0x93, 0x8d, 0x92, 0x26, 0xa1, 0x67, 0xde, + 0x3b, 0x79, 0xe1, 0x6e, 0xe8, 0xba, 0x86, 0x64, 0xab, 0x11, 0x35, 0x2b, 0x1f, 0x18, 0x0a, 0x43, + 0xcc, 0xf4, 0xf8, 0xad, 0x9f, 0x6f, 0x80, 0xe9, 0xaa, 0x26, 0xe1, 0x6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xf7, 0xff, 0x2e, 0x80, 0x3b, 0x0e, 0x0d, 0xb2, 0x5f, 0x78, 0xfb, 0x73, 0xd5, 0x34, 0x2e, 0x2a, + 0x68, 0xad, 0xf0, 0xf6, 0xb9, 0x66, 0x5a, 0x34, 0xde, 0x15, 0x26, 0x65, 0xad, 0x4a, 0x0b, 0x13, + 0x19, 0x4d, 0xf2, 0xc7, 0x41, 0xe8, 0xf1, 0x11, 0xff, 0x58, 0xed, 0xa6, 0x5f, 0xbf, 0x17, 0x27, + 0x9f, 0xed, 0xed, 0xfd, 0x59, 0xbc, 0xa9, 0xee, 0x15, 0x73, 0xcf, 0xe5, 0xa6, 0xfa, 0x8c, 0xbf, + 0x4e, 0xb6, 0x4c, 0x2b, 0xb1, 0xfc, 0x2b, 0xb1, 0x39, 0xdd, 0x73, 0xf9, 0x69, 0x6a, 0x73, 0x7a, + 0xb2, 0x75, 0x9a, 0xda, 0x34, 0x2e, 0xc9, 0x20, 0x76, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x40, + 0x6d, 0xdb, 0x8e, 0x35, 0x13, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_audience_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_audience_view.pb.go new file mode 100644 index 000000000..0e5e052c8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_audience_view.pb.go @@ -0,0 +1,94 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_audience_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A campaign audience view. +// Includes performance data from interests and remarketing lists for Display +// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +// aggregated by campaign and audience criterion. This view only includes +// audiences attached at the campaign level. +type CampaignAudienceView struct { + // The resource name of the campaign audience view. + // Campaign audience view resource names have the form: + // + // + // `customers/{customer_id}/campaignAudienceViews/{campaign_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignAudienceView) Reset() { *m = CampaignAudienceView{} } +func (m *CampaignAudienceView) String() string { return proto.CompactTextString(m) } +func (*CampaignAudienceView) ProtoMessage() {} +func (*CampaignAudienceView) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_audience_view_597e3d8f42495af1, []int{0} +} +func (m *CampaignAudienceView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignAudienceView.Unmarshal(m, b) +} +func (m *CampaignAudienceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignAudienceView.Marshal(b, m, deterministic) +} +func (dst *CampaignAudienceView) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignAudienceView.Merge(dst, src) +} +func (m *CampaignAudienceView) XXX_Size() int { + return xxx_messageInfo_CampaignAudienceView.Size(m) +} +func (m *CampaignAudienceView) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignAudienceView.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignAudienceView proto.InternalMessageInfo + +func (m *CampaignAudienceView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*CampaignAudienceView)(nil), "google.ads.googleads.v0.resources.CampaignAudienceView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_audience_view.proto", fileDescriptor_campaign_audience_view_597e3d8f42495af1) +} + +var fileDescriptor_campaign_audience_view_597e3d8f42495af1 = []byte{ + // 237 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0xe4, 0xc4, 0xdc, 0x82, 0xc4, 0xcc, 0xf4, 0xbc, + 0xf8, 0xc4, 0xd2, 0x94, 0xcc, 0xd4, 0xbc, 0xe4, 0xd4, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, + 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x26, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x7e, 0xbd, + 0x32, 0x03, 0x3d, 0xb8, 0x7e, 0x25, 0x6b, 0x2e, 0x11, 0x67, 0xa8, 0x11, 0x8e, 0x50, 0x13, 0xc2, + 0x32, 0x53, 0xcb, 0x85, 0x94, 0xb9, 0x78, 0x61, 0x8a, 0xe2, 0xf3, 0x12, 0x73, 0x53, 0x25, 0x18, + 0x15, 0x18, 0x35, 0x38, 0x83, 0x78, 0x60, 0x82, 0x7e, 0x89, 0xb9, 0xa9, 0x4e, 0xf7, 0x18, 0xb9, + 0x54, 0x93, 0xf3, 0x73, 0xf5, 0x08, 0x5a, 0xe3, 0x24, 0x89, 0xcd, 0x92, 0x00, 0x90, 0x23, 0x03, + 0x18, 0xa3, 0xbc, 0xa0, 0xfa, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, + 0xd3, 0x53, 0xf3, 0xc0, 0x5e, 0x80, 0x79, 0xbb, 0x20, 0xb3, 0x18, 0x4f, 0x28, 0x58, 0xc3, 0x59, + 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xba, 0x43, 0x8c, 0x74, 0x4c, 0x29, 0xd6, + 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0xbd, 0x20, 0x98, 0xca, 0x53, 0x30, 0x35, 0x31, 0x8e, 0x29, + 0xc5, 0x31, 0x70, 0x35, 0x31, 0x61, 0x06, 0x31, 0x70, 0x35, 0x49, 0x6c, 0x60, 0x47, 0x18, 0x03, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x29, 0xac, 0x5f, 0xd7, 0x89, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_bid_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_bid_modifier.pb.go new file mode 100644 index 000000000..8e8de6cb6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_bid_modifier.pb.go @@ -0,0 +1,215 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_bid_modifier.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents a bid-modifiable only criterion at the campaign level. +type CampaignBidModifier struct { + // The resource name of the campaign bid modifier. + // Campaign bid modifier resource names have the form: + // + // `customers/{customer_id}/campaignBidModifiers/{campaign_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The campaign to which this criterion belongs. + Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The ID of the criterion to bid modify. + // + // This field is ignored for mutates. + CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` + // The modifier for the bid when the criterion matches. + BidModifier *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` + // The criterion of this campaign bid modifier. + // + // Types that are valid to be assigned to Criterion: + // *CampaignBidModifier_InteractionType + Criterion isCampaignBidModifier_Criterion `protobuf_oneof:"criterion"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignBidModifier) Reset() { *m = CampaignBidModifier{} } +func (m *CampaignBidModifier) String() string { return proto.CompactTextString(m) } +func (*CampaignBidModifier) ProtoMessage() {} +func (*CampaignBidModifier) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_bid_modifier_114f01e910f343fe, []int{0} +} +func (m *CampaignBidModifier) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignBidModifier.Unmarshal(m, b) +} +func (m *CampaignBidModifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignBidModifier.Marshal(b, m, deterministic) +} +func (dst *CampaignBidModifier) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignBidModifier.Merge(dst, src) +} +func (m *CampaignBidModifier) XXX_Size() int { + return xxx_messageInfo_CampaignBidModifier.Size(m) +} +func (m *CampaignBidModifier) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignBidModifier.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignBidModifier proto.InternalMessageInfo + +func (m *CampaignBidModifier) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CampaignBidModifier) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *CampaignBidModifier) GetCriterionId() *wrappers.Int64Value { + if m != nil { + return m.CriterionId + } + return nil +} + +func (m *CampaignBidModifier) GetBidModifier() *wrappers.DoubleValue { + if m != nil { + return m.BidModifier + } + return nil +} + +type isCampaignBidModifier_Criterion interface { + isCampaignBidModifier_Criterion() +} + +type CampaignBidModifier_InteractionType struct { + InteractionType *common.InteractionTypeInfo `protobuf:"bytes,5,opt,name=interaction_type,json=interactionType,proto3,oneof"` +} + +func (*CampaignBidModifier_InteractionType) isCampaignBidModifier_Criterion() {} + +func (m *CampaignBidModifier) GetCriterion() isCampaignBidModifier_Criterion { + if m != nil { + return m.Criterion + } + return nil +} + +func (m *CampaignBidModifier) GetInteractionType() *common.InteractionTypeInfo { + if x, ok := m.GetCriterion().(*CampaignBidModifier_InteractionType); ok { + return x.InteractionType + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignBidModifier) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignBidModifier_OneofMarshaler, _CampaignBidModifier_OneofUnmarshaler, _CampaignBidModifier_OneofSizer, []interface{}{ + (*CampaignBidModifier_InteractionType)(nil), + } +} + +func _CampaignBidModifier_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignBidModifier) + // criterion + switch x := m.Criterion.(type) { + case *CampaignBidModifier_InteractionType: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.InteractionType); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("CampaignBidModifier.Criterion has unexpected type %T", x) + } + return nil +} + +func _CampaignBidModifier_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignBidModifier) + switch tag { + case 5: // criterion.interaction_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.InteractionTypeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignBidModifier_InteractionType{msg} + return true, err + default: + return false, nil + } +} + +func _CampaignBidModifier_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignBidModifier) + // criterion + switch x := m.Criterion.(type) { + case *CampaignBidModifier_InteractionType: + s := proto.Size(x.InteractionType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*CampaignBidModifier)(nil), "google.ads.googleads.v0.resources.CampaignBidModifier") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_bid_modifier.proto", fileDescriptor_campaign_bid_modifier_114f01e910f343fe) +} + +var fileDescriptor_campaign_bid_modifier_114f01e910f343fe = []byte{ + // 404 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0xea, 0xd3, 0x30, + 0x14, 0xc6, 0x6d, 0xa7, 0xe2, 0xb2, 0x89, 0x52, 0x6f, 0xca, 0x14, 0xd9, 0x14, 0x61, 0x37, 0xa6, + 0xc5, 0x89, 0x08, 0xa2, 0xd2, 0x2a, 0xcc, 0x09, 0xca, 0xa8, 0xb2, 0x0b, 0x29, 0xd4, 0xb4, 0xc9, + 0x42, 0xa0, 0x4d, 0x4a, 0xd2, 0x4e, 0xf6, 0x3a, 0x5e, 0xfa, 0x28, 0xbe, 0x83, 0x77, 0x3e, 0x88, + 0xb4, 0x69, 0xc2, 0x44, 0xf7, 0xff, 0xdf, 0x7d, 0x4d, 0xbf, 0xdf, 0x39, 0xdf, 0xc9, 0x09, 0x78, + 0x49, 0x85, 0xa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0xaf, 0xe0, 0x36, 0xe3, 0x0d, 0x91, + 0xa8, 0x68, 0xba, 0x08, 0xcd, 0xb1, 0x26, 0xfe, 0xb5, 0xbe, 0xc8, 0x0a, 0x9e, 0x5b, 0x82, 0xbe, + 0xe1, 0x2e, 0x93, 0xe1, 0x3e, 0x1f, 0x6b, 0xb2, 0xe1, 0x7b, 0xf1, 0xee, 0x4a, 0x72, 0x8b, 0xfd, + 0x7d, 0x1c, 0x4f, 0xc0, 0xd8, 0x26, 0x8e, 0x7f, 0x39, 0xe0, 0x51, 0x21, 0x2a, 0x78, 0xe9, 0x7e, + 0x63, 0xff, 0x3f, 0xdb, 0xd8, 0x76, 0xe3, 0x6c, 0x9d, 0x2f, 0xef, 0x07, 0x9c, 0x8a, 0x12, 0x71, + 0x0a, 0x85, 0xa4, 0x01, 0x25, 0xbc, 0x1f, 0xd6, 0xbc, 0x85, 0x9a, 0xa9, 0x0b, 0x1e, 0xdf, 0x0b, + 0xab, 0xbe, 0xbb, 0xa3, 0x75, 0x14, 0xfd, 0x70, 0x17, 0x6b, 0x5d, 0x32, 0xc2, 0x0a, 0x6a, 0xd9, + 0xa9, 0x5d, 0x08, 0x13, 0xe3, 0xfc, 0x69, 0x3c, 0x69, 0x84, 0x55, 0x6a, 0x3d, 0xe9, 0x2e, 0x4c, + 0xad, 0x27, 0xbf, 0xde, 0x87, 0x58, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xd9, 0xa7, 0x4a, + 0x00, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_budget.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_budget.pb.go new file mode 100644 index 000000000..a61d8e7b2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_budget.pb.go @@ -0,0 +1,217 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_budget.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A campaign budget. +type CampaignBudget struct { + // The resource name of the campaign budget. + // Campaign budget resource names have the form: + // + // `customers/{customer_id}/campaignBudgets/{budget_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the campaign budget. + // + // A campaign budget is created using the CampaignBudgetService create + // operation and is assigned a budget ID. A budget ID can be shared across + // different campaigns; the system will then allocate the campaign budget + // among different campaigns to get optimum results. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the campaign budget. + // + // When creating a campaign budget through CampaignBudgetService, every + // explicitly shared campaign budget must have a non-null, non-empty name. + // Campaign budgets that are not explicitly shared derive their name from the + // attached campaign's name. + // + // The length of this string must be between 1 and 255, inclusive, + // in UTF-8 bytes, (trimmed). + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The amount of the budget, in the local currency for the account. + // Amount is specified in micros, where one million is equivalent to one + // currency unit. + AmountMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=amount_micros,json=amountMicros,proto3" json:"amount_micros,omitempty"` + // The lifetime amount of the budget, in the local currency for the account. + // Amount is specified in micros, where one million is equivalent to one + // currency unit. + TotalAmountMicros *wrappers.Int64Value `protobuf:"bytes,10,opt,name=total_amount_micros,json=totalAmountMicros,proto3" json:"total_amount_micros,omitempty"` + // The status of this campaign budget. This field is read-only. + Status enums.BudgetStatusEnum_BudgetStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.BudgetStatusEnum_BudgetStatus" json:"status,omitempty"` + // The delivery method that determines the rate at which the campaign budget + // is spent. + // + // Defaults to STANDARD if unspecified in a create operation. + DeliveryMethod enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod `protobuf:"varint,7,opt,name=delivery_method,json=deliveryMethod,proto3,enum=google.ads.googleads.v0.enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod" json:"delivery_method,omitempty"` + // Whether the budget is explicitly shared. This field is set to false by + // default. + // + // If true, the budget was created with the purpose of sharing + // across one or more campaigns. + // + // If false, the budget was created with the intention of only being used + // with a single campaign. The budget's name and status will stay in sync + // with the campaign's name and status. Attempting to share the budget with a + // second campaign will result in an error. + // + // A non-shared budget can become an explicitly shared. The same operation + // must + // also assign the budget a name. + // + // A shared campaign budget can never become non-shared. + ExplicitlyShared *wrappers.BoolValue `protobuf:"bytes,8,opt,name=explicitly_shared,json=explicitlyShared,proto3" json:"explicitly_shared,omitempty"` + // The number of campaigns actively using the budget. + // + // This field is read-only. + ReferenceCount *wrappers.Int64Value `protobuf:"bytes,9,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignBudget) Reset() { *m = CampaignBudget{} } +func (m *CampaignBudget) String() string { return proto.CompactTextString(m) } +func (*CampaignBudget) ProtoMessage() {} +func (*CampaignBudget) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_866e5dbe05012bda, []int{0} +} +func (m *CampaignBudget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignBudget.Unmarshal(m, b) +} +func (m *CampaignBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignBudget.Marshal(b, m, deterministic) +} +func (dst *CampaignBudget) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignBudget.Merge(dst, src) +} +func (m *CampaignBudget) XXX_Size() int { + return xxx_messageInfo_CampaignBudget.Size(m) +} +func (m *CampaignBudget) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignBudget.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignBudget proto.InternalMessageInfo + +func (m *CampaignBudget) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CampaignBudget) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *CampaignBudget) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *CampaignBudget) GetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.AmountMicros + } + return nil +} + +func (m *CampaignBudget) GetTotalAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.TotalAmountMicros + } + return nil +} + +func (m *CampaignBudget) GetStatus() enums.BudgetStatusEnum_BudgetStatus { + if m != nil { + return m.Status + } + return enums.BudgetStatusEnum_UNSPECIFIED +} + +func (m *CampaignBudget) GetDeliveryMethod() enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod { + if m != nil { + return m.DeliveryMethod + } + return enums.BudgetDeliveryMethodEnum_UNSPECIFIED +} + +func (m *CampaignBudget) GetExplicitlyShared() *wrappers.BoolValue { + if m != nil { + return m.ExplicitlyShared + } + return nil +} + +func (m *CampaignBudget) GetReferenceCount() *wrappers.Int64Value { + if m != nil { + return m.ReferenceCount + } + return nil +} + +func init() { + proto.RegisterType((*CampaignBudget)(nil), "google.ads.googleads.v0.resources.CampaignBudget") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_budget.proto", fileDescriptor_campaign_budget_866e5dbe05012bda) +} + +var fileDescriptor_campaign_budget_866e5dbe05012bda = []byte{ + // 498 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, + 0x14, 0xc6, 0x95, 0xae, 0x14, 0x66, 0xb6, 0x8e, 0x65, 0x37, 0x51, 0x41, 0xa8, 0x03, 0x21, 0x55, + 0x42, 0x72, 0xca, 0x40, 0x20, 0x01, 0x17, 0xa4, 0x1b, 0xaa, 0xf8, 0x33, 0x34, 0xa5, 0xa8, 0x17, + 0xa8, 0x52, 0xe4, 0xc6, 0x67, 0x59, 0xa4, 0xc4, 0x8e, 0xfc, 0xa7, 0xb0, 0xd7, 0xe1, 0x92, 0x47, + 0xe1, 0x09, 0x78, 0x1b, 0x50, 0xec, 0x24, 0x2c, 0x4c, 0xa3, 0xbb, 0x3b, 0xb1, 0xbf, 0xdf, 0x77, + 0xec, 0xcf, 0x39, 0xe8, 0x45, 0xc2, 0x79, 0x92, 0x81, 0x4f, 0xa8, 0xf4, 0x6d, 0x59, 0x56, 0xab, + 0xb1, 0x2f, 0x40, 0x72, 0x2d, 0x62, 0x90, 0x7e, 0x4c, 0xf2, 0x82, 0xa4, 0x09, 0x8b, 0x96, 0x9a, + 0x26, 0xa0, 0x70, 0x21, 0xb8, 0xe2, 0xee, 0xbe, 0x55, 0x63, 0x42, 0x25, 0x6e, 0x40, 0xbc, 0x1a, + 0xe3, 0x06, 0x1c, 0xbc, 0xbc, 0xca, 0x1b, 0x98, 0xce, 0xa5, 0x6f, 0xed, 0x22, 0x0a, 0x59, 0xba, + 0x02, 0x71, 0x1e, 0xe5, 0xa0, 0xce, 0x38, 0xb5, 0xf6, 0x83, 0x27, 0xd7, 0x62, 0xa5, 0x22, 0x4a, + 0xcb, 0x0a, 0xb9, 0x5f, 0x21, 0xe6, 0x6b, 0xa9, 0x4f, 0xfd, 0xaf, 0x82, 0x14, 0x05, 0x88, 0x6a, + 0xff, 0xc1, 0xef, 0x2e, 0xea, 0x1f, 0x56, 0x77, 0x99, 0x18, 0xde, 0x7d, 0x88, 0xb6, 0xeb, 0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 0xb1, 0xdc, 0xf9, 0x0b, 0xcd, 0x0c, 0xe3, 0x1e, 0xa1, 0x1d, 0x01, + 0xa7, 0x20, 0x80, 0xc5, 0x10, 0xc5, 0x65, 0x5c, 0xde, 0xe6, 0xfa, 0x78, 0xfb, 0x0d, 0x73, 0x58, + 0x22, 0x93, 0x5f, 0x0e, 0x7a, 0x14, 0xf3, 0x1c, 0xaf, 0x1d, 0x9d, 0xc9, 0x5e, 0xfb, 0x47, 0x3d, + 0x29, 0xcd, 0x4f, 0x9c, 0x2f, 0xef, 0x2b, 0x32, 0xe1, 0x19, 0x61, 0x09, 0xe6, 0x22, 0xf1, 0x13, + 0x60, 0xa6, 0x75, 0x3d, 0x25, 0x45, 0x2a, 0xff, 0x33, 0xcc, 0xaf, 0x9a, 0xea, 0x7b, 0x67, 0x63, + 0x1a, 0x04, 0x3f, 0x3a, 0xfb, 0x53, 0x6b, 0x19, 0x50, 0x89, 0x6d, 0x59, 0x56, 0xf3, 0x31, 0x0e, + 0x6b, 0xe5, 0xcf, 0x5a, 0xb3, 0x08, 0xa8, 0x5c, 0x34, 0x9a, 0xc5, 0x7c, 0xbc, 0x68, 0x34, 0xcb, + 0x9e, 0x39, 0xc4, 0xd3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x06, 0x9f, 0x5d, 0x80, 0x50, 0x04, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_criterion.pb.go new file mode 100644 index 000000000..d34cb9a13 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_criterion.pb.go @@ -0,0 +1,895 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_criterion.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A campaign criterion. +type CampaignCriterion struct { + // The resource name of the campaign criterion. + // Campaign criterion resource names have the form: + // + // `customers/{customer_id}/campaignCriteria/{campaign_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The campaign to which the criterion belongs. + Campaign *wrappers.StringValue `protobuf:"bytes,4,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The ID of the criterion. + // + // This field is ignored during mutate. + CriterionId *wrappers.Int64Value `protobuf:"bytes,5,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` + // The modifier for the bids when the criterion matches. The modifier must be + // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + // Use 0 to opt out of a Device type. + BidModifier *wrappers.FloatValue `protobuf:"bytes,14,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` + // Whether to target (`false`) or exclude (`true`) the criterion. + Negative *wrappers.BoolValue `protobuf:"bytes,7,opt,name=negative,proto3" json:"negative,omitempty"` + // The type of the criterion. + Type enums.CriterionTypeEnum_CriterionType `protobuf:"varint,6,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` + // The campaign criterion. + // + // Exactly one must be set. + // + // Types that are valid to be assigned to Criterion: + // *CampaignCriterion_Keyword + // *CampaignCriterion_Placement + // *CampaignCriterion_Location + // *CampaignCriterion_Device + // *CampaignCriterion_AdSchedule + // *CampaignCriterion_AgeRange + // *CampaignCriterion_Gender + // *CampaignCriterion_IncomeRange + // *CampaignCriterion_ParentalStatus + // *CampaignCriterion_UserList + // *CampaignCriterion_YoutubeVideo + // *CampaignCriterion_YoutubeChannel + // *CampaignCriterion_Proximity + // *CampaignCriterion_Topic + // *CampaignCriterion_ListingScope + // *CampaignCriterion_Language + // *CampaignCriterion_IpBlock + // *CampaignCriterion_ContentLabel + // *CampaignCriterion_Carrier + // *CampaignCriterion_UserInterest + Criterion isCampaignCriterion_Criterion `protobuf_oneof:"criterion"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignCriterion) Reset() { *m = CampaignCriterion{} } +func (m *CampaignCriterion) String() string { return proto.CompactTextString(m) } +func (*CampaignCriterion) ProtoMessage() {} +func (*CampaignCriterion) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_b68a52a17805f4eb, []int{0} +} +func (m *CampaignCriterion) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignCriterion.Unmarshal(m, b) +} +func (m *CampaignCriterion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignCriterion.Marshal(b, m, deterministic) +} +func (dst *CampaignCriterion) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignCriterion.Merge(dst, src) +} +func (m *CampaignCriterion) XXX_Size() int { + return xxx_messageInfo_CampaignCriterion.Size(m) +} +func (m *CampaignCriterion) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignCriterion.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignCriterion proto.InternalMessageInfo + +func (m *CampaignCriterion) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CampaignCriterion) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *CampaignCriterion) GetCriterionId() *wrappers.Int64Value { + if m != nil { + return m.CriterionId + } + return nil +} + +func (m *CampaignCriterion) GetBidModifier() *wrappers.FloatValue { + if m != nil { + return m.BidModifier + } + return nil +} + +func (m *CampaignCriterion) GetNegative() *wrappers.BoolValue { + if m != nil { + return m.Negative + } + return nil +} + +func (m *CampaignCriterion) GetType() enums.CriterionTypeEnum_CriterionType { + if m != nil { + return m.Type + } + return enums.CriterionTypeEnum_UNSPECIFIED +} + +type isCampaignCriterion_Criterion interface { + isCampaignCriterion_Criterion() +} + +type CampaignCriterion_Keyword struct { + Keyword *common.KeywordInfo `protobuf:"bytes,8,opt,name=keyword,proto3,oneof"` +} + +type CampaignCriterion_Placement struct { + Placement *common.PlacementInfo `protobuf:"bytes,9,opt,name=placement,proto3,oneof"` +} + +type CampaignCriterion_Location struct { + Location *common.LocationInfo `protobuf:"bytes,12,opt,name=location,proto3,oneof"` +} + +type CampaignCriterion_Device struct { + Device *common.DeviceInfo `protobuf:"bytes,13,opt,name=device,proto3,oneof"` +} + +type CampaignCriterion_AdSchedule struct { + AdSchedule *common.AdScheduleInfo `protobuf:"bytes,15,opt,name=ad_schedule,json=adSchedule,proto3,oneof"` +} + +type CampaignCriterion_AgeRange struct { + AgeRange *common.AgeRangeInfo `protobuf:"bytes,16,opt,name=age_range,json=ageRange,proto3,oneof"` +} + +type CampaignCriterion_Gender struct { + Gender *common.GenderInfo `protobuf:"bytes,17,opt,name=gender,proto3,oneof"` +} + +type CampaignCriterion_IncomeRange struct { + IncomeRange *common.IncomeRangeInfo `protobuf:"bytes,18,opt,name=income_range,json=incomeRange,proto3,oneof"` +} + +type CampaignCriterion_ParentalStatus struct { + ParentalStatus *common.ParentalStatusInfo `protobuf:"bytes,19,opt,name=parental_status,json=parentalStatus,proto3,oneof"` +} + +type CampaignCriterion_UserList struct { + UserList *common.UserListInfo `protobuf:"bytes,22,opt,name=user_list,json=userList,proto3,oneof"` +} + +type CampaignCriterion_YoutubeVideo struct { + YoutubeVideo *common.YouTubeVideoInfo `protobuf:"bytes,20,opt,name=youtube_video,json=youtubeVideo,proto3,oneof"` +} + +type CampaignCriterion_YoutubeChannel struct { + YoutubeChannel *common.YouTubeChannelInfo `protobuf:"bytes,21,opt,name=youtube_channel,json=youtubeChannel,proto3,oneof"` +} + +type CampaignCriterion_Proximity struct { + Proximity *common.ProximityInfo `protobuf:"bytes,23,opt,name=proximity,proto3,oneof"` +} + +type CampaignCriterion_Topic struct { + Topic *common.TopicInfo `protobuf:"bytes,24,opt,name=topic,proto3,oneof"` +} + +type CampaignCriterion_ListingScope struct { + ListingScope *common.ListingScopeInfo `protobuf:"bytes,25,opt,name=listing_scope,json=listingScope,proto3,oneof"` +} + +type CampaignCriterion_Language struct { + Language *common.LanguageInfo `protobuf:"bytes,26,opt,name=language,proto3,oneof"` +} + +type CampaignCriterion_IpBlock struct { + IpBlock *common.IpBlockInfo `protobuf:"bytes,27,opt,name=ip_block,json=ipBlock,proto3,oneof"` +} + +type CampaignCriterion_ContentLabel struct { + ContentLabel *common.ContentLabelInfo `protobuf:"bytes,28,opt,name=content_label,json=contentLabel,proto3,oneof"` +} + +type CampaignCriterion_Carrier struct { + Carrier *common.CarrierInfo `protobuf:"bytes,29,opt,name=carrier,proto3,oneof"` +} + +type CampaignCriterion_UserInterest struct { + UserInterest *common.UserInterestInfo `protobuf:"bytes,30,opt,name=user_interest,json=userInterest,proto3,oneof"` +} + +func (*CampaignCriterion_Keyword) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Placement) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Location) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Device) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_AdSchedule) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_AgeRange) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Gender) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_IncomeRange) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_ParentalStatus) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_UserList) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_YoutubeVideo) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_YoutubeChannel) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Proximity) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Topic) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_ListingScope) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Language) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_IpBlock) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_ContentLabel) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_Carrier) isCampaignCriterion_Criterion() {} + +func (*CampaignCriterion_UserInterest) isCampaignCriterion_Criterion() {} + +func (m *CampaignCriterion) GetCriterion() isCampaignCriterion_Criterion { + if m != nil { + return m.Criterion + } + return nil +} + +func (m *CampaignCriterion) GetKeyword() *common.KeywordInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Keyword); ok { + return x.Keyword + } + return nil +} + +func (m *CampaignCriterion) GetPlacement() *common.PlacementInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Placement); ok { + return x.Placement + } + return nil +} + +func (m *CampaignCriterion) GetLocation() *common.LocationInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Location); ok { + return x.Location + } + return nil +} + +func (m *CampaignCriterion) GetDevice() *common.DeviceInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Device); ok { + return x.Device + } + return nil +} + +func (m *CampaignCriterion) GetAdSchedule() *common.AdScheduleInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_AdSchedule); ok { + return x.AdSchedule + } + return nil +} + +func (m *CampaignCriterion) GetAgeRange() *common.AgeRangeInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_AgeRange); ok { + return x.AgeRange + } + return nil +} + +func (m *CampaignCriterion) GetGender() *common.GenderInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Gender); ok { + return x.Gender + } + return nil +} + +func (m *CampaignCriterion) GetIncomeRange() *common.IncomeRangeInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_IncomeRange); ok { + return x.IncomeRange + } + return nil +} + +func (m *CampaignCriterion) GetParentalStatus() *common.ParentalStatusInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_ParentalStatus); ok { + return x.ParentalStatus + } + return nil +} + +func (m *CampaignCriterion) GetUserList() *common.UserListInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_UserList); ok { + return x.UserList + } + return nil +} + +func (m *CampaignCriterion) GetYoutubeVideo() *common.YouTubeVideoInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_YoutubeVideo); ok { + return x.YoutubeVideo + } + return nil +} + +func (m *CampaignCriterion) GetYoutubeChannel() *common.YouTubeChannelInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_YoutubeChannel); ok { + return x.YoutubeChannel + } + return nil +} + +func (m *CampaignCriterion) GetProximity() *common.ProximityInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Proximity); ok { + return x.Proximity + } + return nil +} + +func (m *CampaignCriterion) GetTopic() *common.TopicInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Topic); ok { + return x.Topic + } + return nil +} + +func (m *CampaignCriterion) GetListingScope() *common.ListingScopeInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_ListingScope); ok { + return x.ListingScope + } + return nil +} + +func (m *CampaignCriterion) GetLanguage() *common.LanguageInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Language); ok { + return x.Language + } + return nil +} + +func (m *CampaignCriterion) GetIpBlock() *common.IpBlockInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_IpBlock); ok { + return x.IpBlock + } + return nil +} + +func (m *CampaignCriterion) GetContentLabel() *common.ContentLabelInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_ContentLabel); ok { + return x.ContentLabel + } + return nil +} + +func (m *CampaignCriterion) GetCarrier() *common.CarrierInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_Carrier); ok { + return x.Carrier + } + return nil +} + +func (m *CampaignCriterion) GetUserInterest() *common.UserInterestInfo { + if x, ok := m.GetCriterion().(*CampaignCriterion_UserInterest); ok { + return x.UserInterest + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignCriterion) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignCriterion_OneofMarshaler, _CampaignCriterion_OneofUnmarshaler, _CampaignCriterion_OneofSizer, []interface{}{ + (*CampaignCriterion_Keyword)(nil), + (*CampaignCriterion_Placement)(nil), + (*CampaignCriterion_Location)(nil), + (*CampaignCriterion_Device)(nil), + (*CampaignCriterion_AdSchedule)(nil), + (*CampaignCriterion_AgeRange)(nil), + (*CampaignCriterion_Gender)(nil), + (*CampaignCriterion_IncomeRange)(nil), + (*CampaignCriterion_ParentalStatus)(nil), + (*CampaignCriterion_UserList)(nil), + (*CampaignCriterion_YoutubeVideo)(nil), + (*CampaignCriterion_YoutubeChannel)(nil), + (*CampaignCriterion_Proximity)(nil), + (*CampaignCriterion_Topic)(nil), + (*CampaignCriterion_ListingScope)(nil), + (*CampaignCriterion_Language)(nil), + (*CampaignCriterion_IpBlock)(nil), + (*CampaignCriterion_ContentLabel)(nil), + (*CampaignCriterion_Carrier)(nil), + (*CampaignCriterion_UserInterest)(nil), + } +} + +func _CampaignCriterion_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignCriterion) + // criterion + switch x := m.Criterion.(type) { + case *CampaignCriterion_Keyword: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Keyword); err != nil { + return err + } + case *CampaignCriterion_Placement: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Placement); err != nil { + return err + } + case *CampaignCriterion_Location: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Location); err != nil { + return err + } + case *CampaignCriterion_Device: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Device); err != nil { + return err + } + case *CampaignCriterion_AdSchedule: + b.EncodeVarint(15<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdSchedule); err != nil { + return err + } + case *CampaignCriterion_AgeRange: + b.EncodeVarint(16<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AgeRange); err != nil { + return err + } + case *CampaignCriterion_Gender: + b.EncodeVarint(17<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Gender); err != nil { + return err + } + case *CampaignCriterion_IncomeRange: + b.EncodeVarint(18<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.IncomeRange); err != nil { + return err + } + case *CampaignCriterion_ParentalStatus: + b.EncodeVarint(19<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ParentalStatus); err != nil { + return err + } + case *CampaignCriterion_UserList: + b.EncodeVarint(22<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UserList); err != nil { + return err + } + case *CampaignCriterion_YoutubeVideo: + b.EncodeVarint(20<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.YoutubeVideo); err != nil { + return err + } + case *CampaignCriterion_YoutubeChannel: + b.EncodeVarint(21<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.YoutubeChannel); err != nil { + return err + } + case *CampaignCriterion_Proximity: + b.EncodeVarint(23<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Proximity); err != nil { + return err + } + case *CampaignCriterion_Topic: + b.EncodeVarint(24<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Topic); err != nil { + return err + } + case *CampaignCriterion_ListingScope: + b.EncodeVarint(25<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListingScope); err != nil { + return err + } + case *CampaignCriterion_Language: + b.EncodeVarint(26<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Language); err != nil { + return err + } + case *CampaignCriterion_IpBlock: + b.EncodeVarint(27<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.IpBlock); err != nil { + return err + } + case *CampaignCriterion_ContentLabel: + b.EncodeVarint(28<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ContentLabel); err != nil { + return err + } + case *CampaignCriterion_Carrier: + b.EncodeVarint(29<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Carrier); err != nil { + return err + } + case *CampaignCriterion_UserInterest: + b.EncodeVarint(30<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UserInterest); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("CampaignCriterion.Criterion has unexpected type %T", x) + } + return nil +} + +func _CampaignCriterion_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignCriterion) + switch tag { + case 8: // criterion.keyword + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.KeywordInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Keyword{msg} + return true, err + case 9: // criterion.placement + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.PlacementInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Placement{msg} + return true, err + case 12: // criterion.location + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.LocationInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Location{msg} + return true, err + case 13: // criterion.device + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.DeviceInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Device{msg} + return true, err + case 15: // criterion.ad_schedule + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.AdScheduleInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_AdSchedule{msg} + return true, err + case 16: // criterion.age_range + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.AgeRangeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_AgeRange{msg} + return true, err + case 17: // criterion.gender + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.GenderInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Gender{msg} + return true, err + case 18: // criterion.income_range + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.IncomeRangeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_IncomeRange{msg} + return true, err + case 19: // criterion.parental_status + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ParentalStatusInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_ParentalStatus{msg} + return true, err + case 22: // criterion.user_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.UserListInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_UserList{msg} + return true, err + case 20: // criterion.youtube_video + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.YouTubeVideoInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_YoutubeVideo{msg} + return true, err + case 21: // criterion.youtube_channel + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.YouTubeChannelInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_YoutubeChannel{msg} + return true, err + case 23: // criterion.proximity + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ProximityInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Proximity{msg} + return true, err + case 24: // criterion.topic + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.TopicInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Topic{msg} + return true, err + case 25: // criterion.listing_scope + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ListingScopeInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_ListingScope{msg} + return true, err + case 26: // criterion.language + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.LanguageInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Language{msg} + return true, err + case 27: // criterion.ip_block + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.IpBlockInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_IpBlock{msg} + return true, err + case 28: // criterion.content_label + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.ContentLabelInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_ContentLabel{msg} + return true, err + case 29: // criterion.carrier + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.CarrierInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_Carrier{msg} + return true, err + case 30: // criterion.user_interest + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.UserInterestInfo) + err := b.DecodeMessage(msg) + m.Criterion = &CampaignCriterion_UserInterest{msg} + return true, err + default: + return false, nil + } +} + +func _CampaignCriterion_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignCriterion) + // criterion + switch x := m.Criterion.(type) { + case *CampaignCriterion_Keyword: + s := proto.Size(x.Keyword) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Placement: + s := proto.Size(x.Placement) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Location: + s := proto.Size(x.Location) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Device: + s := proto.Size(x.Device) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_AdSchedule: + s := proto.Size(x.AdSchedule) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_AgeRange: + s := proto.Size(x.AgeRange) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Gender: + s := proto.Size(x.Gender) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_IncomeRange: + s := proto.Size(x.IncomeRange) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_ParentalStatus: + s := proto.Size(x.ParentalStatus) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_UserList: + s := proto.Size(x.UserList) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_YoutubeVideo: + s := proto.Size(x.YoutubeVideo) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_YoutubeChannel: + s := proto.Size(x.YoutubeChannel) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Proximity: + s := proto.Size(x.Proximity) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Topic: + s := proto.Size(x.Topic) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_ListingScope: + s := proto.Size(x.ListingScope) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Language: + s := proto.Size(x.Language) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_IpBlock: + s := proto.Size(x.IpBlock) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_ContentLabel: + s := proto.Size(x.ContentLabel) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_Carrier: + s := proto.Size(x.Carrier) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterion_UserInterest: + s := proto.Size(x.UserInterest) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*CampaignCriterion)(nil), "google.ads.googleads.v0.resources.CampaignCriterion") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_criterion.proto", fileDescriptor_campaign_criterion_b68a52a17805f4eb) +} + +var fileDescriptor_campaign_criterion_b68a52a17805f4eb = []byte{ + // 895 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x96, 0x6f, 0x6f, 0x1b, 0x35, + 0x18, 0xc0, 0xc9, 0xd8, 0xba, 0xc4, 0x49, 0x5b, 0x66, 0x60, 0x98, 0x6e, 0x4c, 0x1d, 0x08, 0xa9, + 0xfc, 0xd9, 0x25, 0x2a, 0x68, 0x42, 0x20, 0x4d, 0x4a, 0x32, 0xe8, 0xb2, 0x75, 0xa8, 0xa4, 0xa5, + 0x08, 0x54, 0x74, 0x72, 0x7c, 0x4f, 0x6f, 0xd6, 0xee, 0xec, 0x93, 0xed, 0xcb, 0xc8, 0xd7, 0xe1, + 0x25, 0x1f, 0x85, 0x77, 0xbc, 0xe6, 0xcb, 0x20, 0xfb, 0xec, 0x6b, 0xab, 0x2a, 0xdc, 0xbd, 0x3b, + 0x3f, 0x7d, 0x7e, 0xbf, 0x3e, 0xcf, 0x73, 0xb1, 0x7d, 0xe8, 0xdb, 0x54, 0xca, 0x34, 0x83, 0x21, + 0x4d, 0xf4, 0xb0, 0x7a, 0xb4, 0x4f, 0xcb, 0xd1, 0x50, 0x81, 0x96, 0xa5, 0x62, 0xa0, 0x87, 0x8c, + 0xe6, 0x05, 0xe5, 0xa9, 0x88, 0x99, 0xe2, 0x06, 0x14, 0x97, 0x22, 0x2a, 0x94, 0x34, 0x12, 0x3f, + 0xac, 0x80, 0x88, 0x26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cd, 0x43, 0xe6, 0xdf, 0x21, + 0xe7, 0x6c, 0x9c, 0xe8, 0xb3, 0x3a, 0xe7, 0xec, 0x74, 0x74, 0x56, 0xe7, 0x2c, 0x36, 0x5c, 0x11, + 0x5f, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x90, 0xae, 0x1a, 0x9c, 0x09, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_feed.pb.go new file mode 100644 index 000000000..670338de2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_feed.pb.go @@ -0,0 +1,155 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_feed.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A campaign feed. +type CampaignFeed struct { + // The resource name of the campaign feed. + // Campaign feed resource names have the form: + // + // `customers/{customer_id}/campaignFeeds/{campaign_id}_{feed_id} + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The feed to which the CampaignFeed belongs. + Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` + // The campaign to which the CampaignFeed belongs. + Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"` + // Indicates which placeholder types the feed may populate under the connected + // campaign. Required. + PlaceholderTypes []enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,4,rep,packed,name=placeholder_types,json=placeholderTypes,proto3,enum=google.ads.googleads.v0.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_types,omitempty"` + // Matching function associated with the CampaignFeed. + // The matching function is used to filter the set of feed items selected. + // Required. + MatchingFunction *common.MatchingFunction `protobuf:"bytes,5,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"` + // Status of the campaign feed. + // This field is read-only. + Status enums.FeedLinkStatusEnum_FeedLinkStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedLinkStatusEnum_FeedLinkStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignFeed) Reset() { *m = CampaignFeed{} } +func (m *CampaignFeed) String() string { return proto.CompactTextString(m) } +func (*CampaignFeed) ProtoMessage() {} +func (*CampaignFeed) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_95914acc8f5259ce, []int{0} +} +func (m *CampaignFeed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignFeed.Unmarshal(m, b) +} +func (m *CampaignFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignFeed.Marshal(b, m, deterministic) +} +func (dst *CampaignFeed) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignFeed.Merge(dst, src) +} +func (m *CampaignFeed) XXX_Size() int { + return xxx_messageInfo_CampaignFeed.Size(m) +} +func (m *CampaignFeed) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignFeed.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignFeed proto.InternalMessageInfo + +func (m *CampaignFeed) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CampaignFeed) GetFeed() *wrappers.StringValue { + if m != nil { + return m.Feed + } + return nil +} + +func (m *CampaignFeed) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *CampaignFeed) GetPlaceholderTypes() []enums.PlaceholderTypeEnum_PlaceholderType { + if m != nil { + return m.PlaceholderTypes + } + return nil +} + +func (m *CampaignFeed) GetMatchingFunction() *common.MatchingFunction { + if m != nil { + return m.MatchingFunction + } + return nil +} + +func (m *CampaignFeed) GetStatus() enums.FeedLinkStatusEnum_FeedLinkStatus { + if m != nil { + return m.Status + } + return enums.FeedLinkStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*CampaignFeed)(nil), "google.ads.googleads.v0.resources.CampaignFeed") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_feed.proto", fileDescriptor_campaign_feed_95914acc8f5259ce) +} + +var fileDescriptor_campaign_feed_95914acc8f5259ce = []byte{ + // 450 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6a, 0xd4, 0x40, + 0x14, 0xc7, 0xc9, 0x6e, 0x5d, 0x74, 0xac, 0xa5, 0x9b, 0xab, 0x50, 0x44, 0xb6, 0x8a, 0xb0, 0x57, + 0x33, 0x61, 0xfd, 0x40, 0xf0, 0xc6, 0xac, 0xd8, 0x82, 0xa8, 0x2c, 0xa9, 0x2c, 0x22, 0x91, 0x30, + 0x4d, 0xce, 0x4e, 0x43, 0x33, 0x1f, 0xcc, 0x24, 0x95, 0xbe, 0x8e, 0x97, 0xbe, 0x89, 0x3e, 0x80, + 0xcf, 0x23, 0x99, 0x4c, 0xa2, 0x5d, 0x89, 0xed, 0xdd, 0xc9, 0xe1, 0xff, 0x3b, 0x73, 0xce, 0xf9, + 0x9f, 0xa0, 0x67, 0x4c, 0x4a, 0x56, 0x02, 0xa1, 0xb9, 0x21, 0x6d, 0xd8, 0x44, 0x17, 0x21, 0xd1, + 0x60, 0x64, 0xad, 0x33, 0x30, 0x24, 0xa3, 0x5c, 0xd1, 0x82, 0x89, 0x74, 0x03, 0x90, 0x63, 0xa5, + 0x65, 0x25, 0xfd, 0xc3, 0x56, 0x8b, 0x69, 0x6e, 0x70, 0x8f, 0xe1, 0x8b, 0x10, 0xf7, 0xd8, 0xc1, + 0xf3, 0xa1, 0xca, 0x99, 0xe4, 0x5c, 0x0a, 0xc2, 0x69, 0x95, 0x9d, 0x15, 0x82, 0xa5, 0x9b, 0x5a, + 0x64, 0x55, 0x21, 0x45, 0x5b, 0xfa, 0xe0, 0xe9, 0x10, 0x07, 0xa2, 0xe6, 0x86, 0x34, 0x4d, 0xa4, + 0x65, 0x21, 0xce, 0x53, 0x53, 0xd1, 0xaa, 0x36, 0x37, 0xa3, 0x54, 0x49, 0x33, 0x38, 0x93, 0x65, + 0x0e, 0x3a, 0xad, 0x2e, 0x15, 0x38, 0xea, 0x81, 0xa3, 0xec, 0xd7, 0x69, 0xbd, 0x21, 0x5f, 0x35, + 0x55, 0x0a, 0xb4, 0xab, 0xfa, 0xf0, 0xc7, 0x18, 0xed, 0xbe, 0x76, 0xe3, 0x1f, 0x01, 0xe4, 0xfe, + 0x23, 0x74, 0xaf, 0x9b, 0x30, 0x15, 0x94, 0x43, 0xe0, 0xcd, 0xbc, 0xf9, 0x9d, 0x78, 0xb7, 0x4b, + 0x7e, 0xa0, 0x1c, 0xfc, 0x10, 0xed, 0x34, 0x5d, 0x06, 0xa3, 0x99, 0x37, 0xbf, 0xbb, 0xb8, 0xef, + 0x16, 0x84, 0xbb, 0x47, 0xf0, 0x49, 0xa5, 0x0b, 0xc1, 0xd6, 0xb4, 0xac, 0x21, 0xb6, 0x4a, 0xff, + 0x05, 0xba, 0xdd, 0x6d, 0x39, 0x18, 0xdf, 0x80, 0xea, 0xd5, 0xbe, 0x44, 0xd3, 0xed, 0xd9, 0x4c, + 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or/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_group.pb.go new file mode 100644 index 000000000..b5cf7d30b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_group.pb.go @@ -0,0 +1,133 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_group.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A campaign group. +type CampaignGroup struct { + // The resource name of the campaign group. + // Campaign group resource names have the form: + // + // `customers/{customer_id}/campaignGroups/{campaign_group_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the campaign group. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the campaign group. + // + // This field is required and should not be empty when creating new campaign + // groups. + // + // It must not contain any null (code point 0x0), NL line feed + // (code point 0xA) or carriage return (code point 0xD) characters. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The status of the campaign group. + // + // When a new campaign group is added, the status defaults to ENABLED. + Status enums.CampaignGroupStatusEnum_CampaignGroupStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.CampaignGroupStatusEnum_CampaignGroupStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignGroup) Reset() { *m = CampaignGroup{} } +func (m *CampaignGroup) String() string { return proto.CompactTextString(m) } +func (*CampaignGroup) ProtoMessage() {} +func (*CampaignGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_14ee489e1e23e16b, []int{0} +} +func (m *CampaignGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignGroup.Unmarshal(m, b) +} +func (m *CampaignGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignGroup.Marshal(b, m, deterministic) +} +func (dst *CampaignGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignGroup.Merge(dst, src) +} +func (m *CampaignGroup) XXX_Size() int { + return xxx_messageInfo_CampaignGroup.Size(m) +} +func (m *CampaignGroup) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignGroup proto.InternalMessageInfo + +func (m *CampaignGroup) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CampaignGroup) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *CampaignGroup) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *CampaignGroup) GetStatus() enums.CampaignGroupStatusEnum_CampaignGroupStatus { + if m != nil { + return m.Status + } + return enums.CampaignGroupStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*CampaignGroup)(nil), "google.ads.googleads.v0.resources.CampaignGroup") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_group.proto", fileDescriptor_campaign_group_14ee489e1e23e16b) +} + +var fileDescriptor_campaign_group_14ee489e1e23e16b = []byte{ + // 351 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0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 0x78, 0x58, 0x8e, 0x0d, 0x55, 0x0f, 0xb8, 0xe3, 0xf9, 0xe8, 0x72, 0x41, 0x36, + 0x9a, 0x86, 0x4e, 0x12, 0xbb, 0x3e, 0x6e, 0x9a, 0xa0, 0xa6, 0xc1, 0x8f, 0xbe, 0xe0, 0xf3, 0x5c, + 0x26, 0x9c, 0x59, 0xde, 0x90, 0xee, 0x0a, 0xb7, 0xec, 0x16, 0x9d, 0x3f, 0x3d, 0x34, 0x38, 0x18, + 0x4e, 0x61, 0xdf, 0x91, 0xcc, 0x05, 0x60, 0x67, 0x83, 0xb9, 0x71, 0xde, 0x72, 0x9d, 0x7e, 0x57, + 0x0f, 0xcb, 0xe4, 0xf1, 0x1b, 0xc2, 0x67, 0x6b, 0x91, 0xc2, 0xaf, 0xe7, 0x1f, 0xbb, 0x3b, 0x31, + 0xb3, 0x62, 0xec, 0x19, 0x7a, 0x98, 0x96, 0x46, 0x26, 0x36, 0x84, 0x33, 0x10, 0x92, 0x79, 0x8c, + 0x72, 0xb3, 0x54, 0xf5, 0x91, 0xb2, 0x44, 0xfd, 0xf0, 0x3b, 0x5c, 0xd7, 0xea, 0xd9, 0x69, 0x4c, + 0x82, 0xe0, 0xc5, 0xe9, 0x4f, 0x6c, 0x64, 0x10, 0x2b, 0xb0, 0xb2, 0x50, 0x0b, 0x1f, 0xc2, 0x8a, + 0x7c, 0xad, 0x98, 0x28, 0x88, 0x55, 0x54, 0x33, 0xd1, 0xc2, 0x8f, 0x6a, 0x66, 0xd5, 0x32, 0x43, + 0x5c, 0x7c, 0x04, 0x00, 0x00, 0xff, 0xff, 0x77, 0x85, 0x5a, 0x80, 0x92, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_shared_set.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_shared_set.pb.go new file mode 100644 index 000000000..119d5cf0e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/campaign_shared_set.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/campaign_shared_set.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// CampaignSharedSets are used for managing the shared sets associated with a +// campaign. +type CampaignSharedSet struct { + // The resource name of the campaign shared set. + // Campaign shared set resource names have the form: + // + // `customers/{customer_id}/campaignSharedSets/{campaign_id}_{shared_set_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The campaign to which the campaign shared set belongs. + Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The shared set associated with the campaign. This may be a negative keyword + // shared set of another customer. This customer should be a manager of the + // other customer, otherwise the campaign shared set will exist but have no + // serving effect. Only negative keyword shared sets can be associated with + // Shopping campaigns. Only negative placement shared sets can be associated + // with Display mobile app campaigns. + SharedSet *wrappers.StringValue `protobuf:"bytes,4,opt,name=shared_set,json=sharedSet,proto3" json:"shared_set,omitempty"` + // The status of this campaign shared set. Read only. + Status enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignSharedSet) Reset() { *m = CampaignSharedSet{} } +func (m *CampaignSharedSet) String() string { return proto.CompactTextString(m) } +func (*CampaignSharedSet) ProtoMessage() {} +func (*CampaignSharedSet) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_5be2acea5bdaff30, []int{0} +} +func (m *CampaignSharedSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignSharedSet.Unmarshal(m, b) +} +func (m *CampaignSharedSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignSharedSet.Marshal(b, m, deterministic) +} +func (dst *CampaignSharedSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignSharedSet.Merge(dst, src) +} +func (m *CampaignSharedSet) XXX_Size() int { + return xxx_messageInfo_CampaignSharedSet.Size(m) +} +func (m *CampaignSharedSet) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignSharedSet.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignSharedSet proto.InternalMessageInfo + +func (m *CampaignSharedSet) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CampaignSharedSet) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *CampaignSharedSet) GetSharedSet() *wrappers.StringValue { + if m != nil { + return m.SharedSet + } + return nil +} + +func (m *CampaignSharedSet) GetStatus() enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus { + if m != nil { + return m.Status + } + return enums.CampaignSharedSetStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*CampaignSharedSet)(nil), "google.ads.googleads.v0.resources.CampaignSharedSet") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/campaign_shared_set.proto", fileDescriptor_campaign_shared_set_5be2acea5bdaff30) +} + +var fileDescriptor_campaign_shared_set_5be2acea5bdaff30 = []byte{ + // 350 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x4b, 0xc3, 0x30, + 0x1c, 0xa5, 0x9d, 0x0c, 0x17, 0xff, 0x80, 0x3d, 0x48, 0x19, 0x22, 0x9b, 0x22, 0xec, 0xf4, 0x6b, + 0x99, 0x17, 0x61, 0x20, 0x74, 0x22, 0x03, 0x0f, 0x32, 0x5a, 0xd8, 0x41, 0x0a, 0x25, 0x5b, 0x63, + 0x9c, 0xac, 0x49, 0x49, 0xda, 0xf9, 0x61, 0xbc, 0x79, 0xf4, 0xa3, 0xf8, 0x15, 0xfc, 0x32, 0xb2, + 0x36, 0x89, 0x87, 0x59, 0xf5, 0xf6, 0xda, 0xbc, 0xf7, 0x7e, 0xef, 0xe5, 0x17, 0x34, 0xa2, 0x9c, + 0xd3, 0x15, 0xf1, 0x70, 0x2a, 0xbd, 0x1a, 0x6e, 0xd0, 0xda, 0xf7, 0x04, 0x91, 0xbc, 0x14, 0x0b, + 0x22, 0xbd, 0x05, 0xce, 0x72, 0xbc, 0xa4, 0x2c, 0x91, 0x4f, 0x58, 0x90, 0x34, 0x91, 0xa4, 0x80, + 0x5c, 0xf0, 0x82, 0x3b, 0xfd, 0x5a, 0x01, 0x38, 0x95, 0x60, 0xc4, 0xb0, 0xf6, 0xc1, 0x88, 0xbb, + 0xd7, 0x4d, 0xfe, 0x84, 0x95, 0xd9, 0x8f, 0xde, 0x89, 0x2c, 0x70, 0x51, 0xca, 0x7a, 0x44, 0xf7, + 0x54, 0xe9, 0xab, 0xaf, 0x79, 0xf9, 0xe8, 0xbd, 0x08, 0x9c, 0xe7, 0x44, 0xa8, 0xf3, 0xb3, 0x57, + 0x1b, 0x1d, 0xdd, 0x28, 0x93, 0xa8, 0xf2, 0x88, 0x48, 0xe1, 0x9c, 0xa3, 0x03, 0x1d, 0x21, 0x61, + 0x38, 0x23, 0xae, 0xd5, 0xb3, 0x06, 0x9d, 0x70, 0x5f, 0xff, 0xbc, 0xc7, 0x19, 0x71, 0xae, 0xd0, + 0xae, 0x1e, 0xef, 0xb6, 0x7a, 0xd6, 0x60, 0x6f, 0x78, 0xa2, 0x5a, 0x80, 0x9e, 0x06, 0x51, 0x21, + 0x96, 0x8c, 0xce, 0xf0, 0xaa, 0x24, 0xa1, 0x61, 0x3b, 0x23, 0x84, 0xbe, 0xf3, 0xba, 0x3b, 0xff, + 0xd0, 0x76, 0xa4, 0xc9, 0xf6, 0x8c, 0xda, 0x75, 0x43, 0xd7, 0xee, 0x59, 0x83, 0xc3, 0x61, 0x08, + 0x4d, 0xb7, 0x58, 0x5d, 0x11, 0x6c, 0xb5, 0x8b, 0x2a, 0xf5, 0x2d, 0x2b, 0xb3, 0xa6, 0xb3, 0x50, + 0x4d, 0x18, 0x7f, 0x5a, 0xe8, 0x62, 0xc1, 0x33, 0xf8, 0x73, 0x4f, 0xe3, 0xe3, 0x2d, 0xab, 0xe9, + 0xa6, 0xc7, 0xd4, 0x7a, 0xb8, 0x53, 0x62, 0xca, 0x57, 0x98, 0x51, 0xe0, 0x82, 0x7a, 0x94, 0xb0, + 0xaa, 0xa5, 0xde, 0x68, 0xbe, 0x94, 0xbf, 0x3c, 0xa0, 0x91, 0x41, 0x6f, 0x76, 0x6b, 0x12, 0x04, + 0xef, 0x76, 0x7f, 0x52, 0x5b, 0x06, 0xa9, 0x84, 0x1a, 0x6e, 0xd0, 0xcc, 0x87, 0x50, 0x33, 0x3f, + 0x34, 0x27, 0x0e, 0x52, 0x19, 0x1b, 0x4e, 0x3c, 0xf3, 0x63, 0xc3, 0x99, 0xb7, 0xab, 0x10, 0x97, + 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xc4, 0xbd, 0xff, 0xc4, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/carrier_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/carrier_constant.pb.go new file mode 100644 index 000000000..5c09e6515 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/carrier_constant.pb.go @@ -0,0 +1,124 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/carrier_constant.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A carrier criterion that can be used in campaign targeting. +type CarrierConstant struct { + // The resource name of the carrier criterion. + // Carrier criterion resource names have the form: + // + // `carrierConstants/{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the carrier criterion. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The full name of the carrier in English. + Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // The country code of the country where the carrier is located, e.g., "AR", + // "FR", etc. + CountryCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CarrierConstant) Reset() { *m = CarrierConstant{} } +func (m *CarrierConstant) String() string { return proto.CompactTextString(m) } +func (*CarrierConstant) ProtoMessage() {} +func (*CarrierConstant) Descriptor() ([]byte, []int) { + return fileDescriptor_carrier_constant_35c37f2f532b03be, []int{0} +} +func (m *CarrierConstant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CarrierConstant.Unmarshal(m, b) +} +func (m *CarrierConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CarrierConstant.Marshal(b, m, deterministic) +} +func (dst *CarrierConstant) XXX_Merge(src proto.Message) { + xxx_messageInfo_CarrierConstant.Merge(dst, src) +} +func (m *CarrierConstant) XXX_Size() int { + return xxx_messageInfo_CarrierConstant.Size(m) +} +func (m *CarrierConstant) XXX_DiscardUnknown() { + xxx_messageInfo_CarrierConstant.DiscardUnknown(m) +} + +var xxx_messageInfo_CarrierConstant proto.InternalMessageInfo + +func (m *CarrierConstant) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CarrierConstant) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *CarrierConstant) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *CarrierConstant) GetCountryCode() *wrappers.StringValue { + if m != nil { + return m.CountryCode + } + return nil +} + +func init() { + proto.RegisterType((*CarrierConstant)(nil), "google.ads.googleads.v0.resources.CarrierConstant") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/carrier_constant.proto", fileDescriptor_carrier_constant_35c37f2f532b03be) +} + +var fileDescriptor_carrier_constant_35c37f2f532b03be = []byte{ + // 326 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xf3, 0x30, + 0x18, 0xc7, 0x69, 0x37, 0x5e, 0x78, 0xb3, 0x89, 0x50, 0x3c, 0x0c, 0x15, 0xd9, 0x14, 0x61, 0x20, + 0xa4, 0x45, 0x45, 0x04, 0x0f, 0xd2, 0xed, 0x30, 0xf4, 0x20, 0x63, 0xc2, 0x0e, 0x52, 0x18, 0x59, + 0x12, 0x43, 0x61, 0xcb, 0x53, 0x92, 0x74, 0xe2, 0xd7, 0xf1, 0xe8, 0x47, 0xf1, 0x03, 0x08, 0x7e, + 0x1b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fe, 0x69, 0xe5, 0x9e, 0x06, 0x0f, 0xb7, 0x75, 0x55, + 0xc0, 0x8a, 0x48, 0x81, 0x41, 0x89, 0x58, 0x70, 0x69, 0x27, 0xfb, 0x3d, 0x15, 0xb9, 0xfe, 0x61, + 0x6d, 0x57, 0x4d, 0x7a, 0x09, 0x5b, 0x93, 0x34, 0x7d, 0x0d, 0x07, 0x13, 0xa7, 0x4c, 0x99, 0xc6, + 0x2e, 0x56, 0x69, 0x9e, 0xe0, 0x99, 0x27, 0xdf, 0x3c, 0x93, 0xa5, 0x4c, 0x67, 0x0d, 0x93, 0xcd, + 0x93, 0xac, 0x61, 0x96, 0xff, 0xec, 0x25, 0xce, 0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0x00, 0x76, + 0x3f, 0x4b, 0x3a, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/change_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/change_status.pb.go new file mode 100644 index 000000000..770cb5a23 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/change_status.pb.go @@ -0,0 +1,181 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/change_status.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Describes the status of returned resource. +type ChangeStatus struct { + // The resource name of the change status. + // Change status resource names have the form: + // + // `customers/{customer_id}/changeStatus/{change_status_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // Time at which the most recent change has occurred on this resource. + LastChangeDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=last_change_date_time,json=lastChangeDateTime,proto3" json:"last_change_date_time,omitempty"` + // Represents the type of the changed resource. This dictates what fields + // will be set. For example, for AD_GROUP, campaign and ad_group fields will + // be set. + ResourceType enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType `protobuf:"varint,4,opt,name=resource_type,json=resourceType,proto3,enum=google.ads.googleads.v0.enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType" json:"resource_type,omitempty"` + // The Campaign affected by this change. + Campaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The AdGroup affected by this change. + AdGroup *wrappers.StringValue `protobuf:"bytes,6,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // Represents the status of the changed resource. + ResourceStatus enums.ChangeStatusOperationEnum_ChangeStatusOperation `protobuf:"varint,8,opt,name=resource_status,json=resourceStatus,proto3,enum=google.ads.googleads.v0.enums.ChangeStatusOperationEnum_ChangeStatusOperation" json:"resource_status,omitempty"` + // The AdGroupAd affected by this change. + AdGroupAd *wrappers.StringValue `protobuf:"bytes,9,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"` + // The AdGroupCriterion affected by this change. + AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,10,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` + // The CampaignCriterion affected by this change. + CampaignCriterion *wrappers.StringValue `protobuf:"bytes,11,opt,name=campaign_criterion,json=campaignCriterion,proto3" json:"campaign_criterion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChangeStatus) Reset() { *m = ChangeStatus{} } +func (m *ChangeStatus) String() string { return proto.CompactTextString(m) } +func (*ChangeStatus) ProtoMessage() {} +func (*ChangeStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_change_status_c2a3b58499ad5eda, []int{0} +} +func (m *ChangeStatus) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChangeStatus.Unmarshal(m, b) +} +func (m *ChangeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChangeStatus.Marshal(b, m, deterministic) +} +func (dst *ChangeStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangeStatus.Merge(dst, src) +} +func (m *ChangeStatus) XXX_Size() int { + return xxx_messageInfo_ChangeStatus.Size(m) +} +func (m *ChangeStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ChangeStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ChangeStatus proto.InternalMessageInfo + +func (m *ChangeStatus) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *ChangeStatus) GetLastChangeDateTime() *wrappers.StringValue { + if m != nil { + return m.LastChangeDateTime + } + return nil +} + +func (m *ChangeStatus) GetResourceType() enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType { + if m != nil { + return m.ResourceType + } + return enums.ChangeStatusResourceTypeEnum_UNSPECIFIED +} + +func (m *ChangeStatus) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *ChangeStatus) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *ChangeStatus) GetResourceStatus() enums.ChangeStatusOperationEnum_ChangeStatusOperation { + if m != nil { + return m.ResourceStatus + } + return enums.ChangeStatusOperationEnum_UNSPECIFIED +} + +func (m *ChangeStatus) GetAdGroupAd() *wrappers.StringValue { + if m != nil { + return m.AdGroupAd + } + return nil +} + +func (m *ChangeStatus) GetAdGroupCriterion() *wrappers.StringValue { + if m != nil { + return m.AdGroupCriterion + } + return nil +} + +func (m *ChangeStatus) GetCampaignCriterion() *wrappers.StringValue { + if m != nil { + return m.CampaignCriterion + } + return nil +} + +func init() { + proto.RegisterType((*ChangeStatus)(nil), "google.ads.googleads.v0.resources.ChangeStatus") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/change_status.proto", fileDescriptor_change_status_c2a3b58499ad5eda) +} + +var fileDescriptor_change_status_c2a3b58499ad5eda = []byte{ + // 486 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x51, 0x6b, 0xd4, 0x40, + 0x10, 0xc7, 0x49, 0x6b, 0x6b, 0x6f, 0xaf, 0x56, 0xbb, 0x20, 0x84, 0x22, 0x72, 0x55, 0x84, 0x7b, + 0xda, 0x1c, 0x15, 0x51, 0xa8, 0x20, 0x69, 0x95, 0x83, 0x0a, 0x6d, 0xb9, 0x1e, 0xf7, 0x20, 0x07, + 0x61, 0x9a, 0x8c, 0x6b, 0xe0, 0xb2, 0x1b, 0x76, 0x37, 0x2d, 0xf7, 0x75, 0x7c, 0xf4, 0x63, 0xf8, + 0xe8, 0x07, 0xf0, 0xf3, 0x48, 0x92, 0xdd, 0xf5, 0x50, 0x4e, 0xd3, 0xb7, 0xd9, 0xec, 0xfc, 0x7f, + 0x33, 0xff, 0xd9, 0xdd, 0x90, 0x57, 0x5c, 0x4a, 0xbe, 0xc0, 0x08, 0x32, 0x1d, 0xb5, 0x61, 0x1d, + 0xdd, 0x8c, 0x22, 0x85, 0x5a, 0x56, 0x2a, 0x45, 0x1d, 0xa5, 0x5f, 0x40, 0x70, 0x4c, 0xb4, 0x01, + 0x53, 0x69, 0x56, 0x2a, 0x69, 0x24, 0x3d, 0x6c, 0x73, 0x19, 0x64, 0x9a, 0x79, 0x19, 0xbb, 0x19, + 0x31, 0x2f, 0x3b, 0x38, 0x5e, 0x47, 0x46, 0x51, 0x15, 0x7f, 0x50, 0x13, 0x59, 0xa2, 0x02, 0x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xf1, 0x7b, 0x7e, 0x07, 0xbf, 0x17, 0xee, 0xaa, 0xfc, 0x65, 0xd6, 0xef, 0x4c, + 0xf6, 0x5c, 0x19, 0x7b, 0xb8, 0x6f, 0x49, 0xdf, 0x75, 0x9c, 0x40, 0x16, 0xf6, 0x3a, 0x34, 0xdd, + 0xb3, 0x4d, 0xc7, 0x19, 0x3d, 0x23, 0xd4, 0xab, 0x53, 0x95, 0x1b, 0x54, 0xb9, 0x14, 0x21, 0xe9, + 0x00, 0x79, 0x64, 0x21, 0xa7, 0x4e, 0x45, 0x3f, 0x12, 0xea, 0xe6, 0xb8, 0xc2, 0xea, 0x77, 0x60, + 0xed, 0x3b, 0x9d, 0x87, 0x9d, 0xfc, 0x0c, 0xc8, 0x8b, 0x54, 0x16, 0xec, 0xbf, 0x8f, 0xf1, 0x64, + 0x7f, 0x75, 0x4e, 0x97, 0x35, 0xfe, 0x32, 0xf8, 0x74, 0x66, 0x75, 0x5c, 0x2e, 0x40, 0x70, 0x26, + 0x15, 0x8f, 0x38, 0x8a, 0xa6, 0xb8, 0x7b, 0x74, 0x65, 0xae, 0xff, 0xf1, 0x6b, 0x38, 0xf6, 0xd1, + 0xd7, 0x8d, 0xcd, 0x71, 0x1c, 0x7f, 0xdb, 0x38, 0x1c, 0xb7, 0xc8, 0x38, 0xd3, 0xac, 0x0d, 0xeb, + 0x68, 0x36, 0x62, 0xee, 0x22, 0xea, 0x1f, 0x2e, 0x67, 0x1e, 0x67, 0x7a, 0xee, 0x73, 0xe6, 0xb3, + 0xd1, 0xdc, 0xe7, 0x5c, 0x6f, 0x37, 0x4d, 0xbc, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0x76, 0xfb, + 0xc9, 0xbc, 0x9e, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/conversion_action.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/conversion_action.pb.go new file mode 100644 index 000000000..09170f40b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/conversion_action.pb.go @@ -0,0 +1,401 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/conversion_action.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A conversion action. +type ConversionAction struct { + // The resource name of the conversion action. + // Conversion action resource names have the form: + // + // `customers/{customer_id}/conversionActions/{conversion_action_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the conversion action. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The name of the conversion action. + // + // This field is required and should not be empty when creating new + // conversion actions. + Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // The status of this conversion action for conversion event accrual. + Status enums.ConversionActionStatusEnum_ConversionActionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.ConversionActionStatusEnum_ConversionActionStatus" json:"status,omitempty"` + // The type of this conversion action. + Type enums.ConversionActionTypeEnum_ConversionActionType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.ConversionActionTypeEnum_ConversionActionType" json:"type,omitempty"` + // The category of conversions reported for this conversion action. + Category enums.ConversionActionCategoryEnum_ConversionActionCategory `protobuf:"varint,6,opt,name=category,proto3,enum=google.ads.googleads.v0.enums.ConversionActionCategoryEnum_ConversionActionCategory" json:"category,omitempty"` + // The resource name of the conversion action owner customer, or null if this + // is a system-defined conversion action. + OwnerCustomer *wrappers.StringValue `protobuf:"bytes,7,opt,name=owner_customer,json=ownerCustomer,proto3" json:"owner_customer,omitempty"` + // Whether this conversion action should be included in the "conversions" + // metric. + IncludeInConversionsMetric *wrappers.BoolValue `protobuf:"bytes,8,opt,name=include_in_conversions_metric,json=includeInConversionsMetric,proto3" json:"include_in_conversions_metric,omitempty"` + // The maximum number of days that may elapse between an interaction + // (e.g., a click) and a conversion event. + ClickThroughLookbackWindowDays *wrappers.Int64Value `protobuf:"bytes,9,opt,name=click_through_lookback_window_days,json=clickThroughLookbackWindowDays,proto3" json:"click_through_lookback_window_days,omitempty"` + // The maximum number of days which may elapse between an impression and a + // conversion without an interaction. + ViewThroughLookbackWindowDays *wrappers.Int64Value `protobuf:"bytes,10,opt,name=view_through_lookback_window_days,json=viewThroughLookbackWindowDays,proto3" json:"view_through_lookback_window_days,omitempty"` + // Settings related to the value for conversion events associated with this + // conversion action. + ValueSettings *ConversionAction_ValueSettings `protobuf:"bytes,11,opt,name=value_settings,json=valueSettings,proto3" json:"value_settings,omitempty"` + // How to count conversion events for the conversion action. + CountingType enums.ConversionActionCountingTypeEnum_ConversionActionCountingType `protobuf:"varint,12,opt,name=counting_type,json=countingType,proto3,enum=google.ads.googleads.v0.enums.ConversionActionCountingTypeEnum_ConversionActionCountingType" json:"counting_type,omitempty"` + // Settings related to this conversion action's attribution model. + AttributionModelSettings *ConversionAction_AttributionModelSettings `protobuf:"bytes,13,opt,name=attribution_model_settings,json=attributionModelSettings,proto3" json:"attribution_model_settings,omitempty"` + // The snippets used for tracking conversions. + TagSnippets []*common.TagSnippet `protobuf:"bytes,14,rep,name=tag_snippets,json=tagSnippets,proto3" json:"tag_snippets,omitempty"` + // The phone call duration in seconds after which a conversion should be + // reported for this conversion action. + // + // The value must be between 0 and 10000, inclusive. + PhoneCallDurationSeconds *wrappers.Int64Value `protobuf:"bytes,15,opt,name=phone_call_duration_seconds,json=phoneCallDurationSeconds,proto3" json:"phone_call_duration_seconds,omitempty"` + // App ID for an app conversion action. + AppId *wrappers.StringValue `protobuf:"bytes,16,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionAction) Reset() { *m = ConversionAction{} } +func (m *ConversionAction) String() string { return proto.CompactTextString(m) } +func (*ConversionAction) ProtoMessage() {} +func (*ConversionAction) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_062b3205e664191a, []int{0} +} +func (m *ConversionAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionAction.Unmarshal(m, b) +} +func (m *ConversionAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionAction.Marshal(b, m, deterministic) +} +func (dst *ConversionAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionAction.Merge(dst, src) +} +func (m *ConversionAction) XXX_Size() int { + return xxx_messageInfo_ConversionAction.Size(m) +} +func (m *ConversionAction) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionAction.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionAction proto.InternalMessageInfo + +func (m *ConversionAction) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *ConversionAction) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *ConversionAction) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *ConversionAction) GetStatus() enums.ConversionActionStatusEnum_ConversionActionStatus { + if m != nil { + return m.Status + } + return enums.ConversionActionStatusEnum_UNSPECIFIED +} + +func (m *ConversionAction) GetType() enums.ConversionActionTypeEnum_ConversionActionType { + if m != nil { + return m.Type + } + return enums.ConversionActionTypeEnum_UNSPECIFIED +} + +func (m *ConversionAction) GetCategory() enums.ConversionActionCategoryEnum_ConversionActionCategory { + if m != nil { + return m.Category + } + return enums.ConversionActionCategoryEnum_UNSPECIFIED +} + +func (m *ConversionAction) GetOwnerCustomer() *wrappers.StringValue { + if m != nil { + return m.OwnerCustomer + } + return nil +} + +func (m *ConversionAction) GetIncludeInConversionsMetric() *wrappers.BoolValue { + if m != nil { + return m.IncludeInConversionsMetric + } + return nil +} + +func (m *ConversionAction) GetClickThroughLookbackWindowDays() *wrappers.Int64Value { + if m != nil { + return m.ClickThroughLookbackWindowDays + } + return nil +} + +func (m *ConversionAction) GetViewThroughLookbackWindowDays() *wrappers.Int64Value { + if m != nil { + return m.ViewThroughLookbackWindowDays + } + return nil +} + +func (m *ConversionAction) GetValueSettings() *ConversionAction_ValueSettings { + if m != nil { + return m.ValueSettings + } + return nil +} + +func (m *ConversionAction) GetCountingType() enums.ConversionActionCountingTypeEnum_ConversionActionCountingType { + if m != nil { + return m.CountingType + } + return enums.ConversionActionCountingTypeEnum_UNSPECIFIED +} + +func (m *ConversionAction) GetAttributionModelSettings() *ConversionAction_AttributionModelSettings { + if m != nil { + return m.AttributionModelSettings + } + return nil +} + +func (m *ConversionAction) GetTagSnippets() []*common.TagSnippet { + if m != nil { + return m.TagSnippets + } + return nil +} + +func (m *ConversionAction) GetPhoneCallDurationSeconds() *wrappers.Int64Value { + if m != nil { + return m.PhoneCallDurationSeconds + } + return nil +} + +func (m *ConversionAction) GetAppId() *wrappers.StringValue { + if m != nil { + return m.AppId + } + return nil +} + +// Settings related to this conversion action's attribution model. +type ConversionAction_AttributionModelSettings struct { + // The attribution model type of this conversion action. + AttributionModel enums.AttributionModelEnum_AttributionModel `protobuf:"varint,1,opt,name=attribution_model,json=attributionModel,proto3,enum=google.ads.googleads.v0.enums.AttributionModelEnum_AttributionModel" json:"attribution_model,omitempty"` + // The status of the data-driven attribution model for the conversion + // action. + DataDrivenModelStatus enums.DataDrivenModelStatusEnum_DataDrivenModelStatus `protobuf:"varint,2,opt,name=data_driven_model_status,json=dataDrivenModelStatus,proto3,enum=google.ads.googleads.v0.enums.DataDrivenModelStatusEnum_DataDrivenModelStatus" json:"data_driven_model_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionAction_AttributionModelSettings) Reset() { + *m = ConversionAction_AttributionModelSettings{} +} +func (m *ConversionAction_AttributionModelSettings) String() string { return proto.CompactTextString(m) } +func (*ConversionAction_AttributionModelSettings) ProtoMessage() {} +func (*ConversionAction_AttributionModelSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_062b3205e664191a, []int{0, 0} +} +func (m *ConversionAction_AttributionModelSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionAction_AttributionModelSettings.Unmarshal(m, b) +} +func (m *ConversionAction_AttributionModelSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionAction_AttributionModelSettings.Marshal(b, m, deterministic) +} +func (dst *ConversionAction_AttributionModelSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionAction_AttributionModelSettings.Merge(dst, src) +} +func (m *ConversionAction_AttributionModelSettings) XXX_Size() int { + return xxx_messageInfo_ConversionAction_AttributionModelSettings.Size(m) +} +func (m *ConversionAction_AttributionModelSettings) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionAction_AttributionModelSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionAction_AttributionModelSettings proto.InternalMessageInfo + +func (m *ConversionAction_AttributionModelSettings) GetAttributionModel() enums.AttributionModelEnum_AttributionModel { + if m != nil { + return m.AttributionModel + } + return enums.AttributionModelEnum_UNSPECIFIED +} + +func (m *ConversionAction_AttributionModelSettings) GetDataDrivenModelStatus() enums.DataDrivenModelStatusEnum_DataDrivenModelStatus { + if m != nil { + return m.DataDrivenModelStatus + } + return enums.DataDrivenModelStatusEnum_UNSPECIFIED +} + +// Settings related to the value for conversion events associated with this +// conversion action. +type ConversionAction_ValueSettings struct { + // The value to use when conversion events for this conversion action are + // sent with an invalid, disallowed or missing value, or when + // this conversion action is configured to always use the default value. + DefaultValue *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + // The currency code to use when conversion events for this conversion + // action are sent with an invalid or missing currency code, or when this + // conversion action is configured to always use the default value. + DefaultCurrencyCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=default_currency_code,json=defaultCurrencyCode,proto3" json:"default_currency_code,omitempty"` + // Controls whether the default value and default currency code are used in + // place of the value and currency code specified in conversion events for + // this conversion action. + AlwaysUseDefaultValue *wrappers.BoolValue `protobuf:"bytes,3,opt,name=always_use_default_value,json=alwaysUseDefaultValue,proto3" json:"always_use_default_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionAction_ValueSettings) Reset() { *m = ConversionAction_ValueSettings{} } +func (m *ConversionAction_ValueSettings) String() string { return proto.CompactTextString(m) } +func (*ConversionAction_ValueSettings) ProtoMessage() {} +func (*ConversionAction_ValueSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_062b3205e664191a, []int{0, 1} +} +func (m *ConversionAction_ValueSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionAction_ValueSettings.Unmarshal(m, b) +} +func (m *ConversionAction_ValueSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionAction_ValueSettings.Marshal(b, m, deterministic) +} +func (dst *ConversionAction_ValueSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionAction_ValueSettings.Merge(dst, src) +} +func (m *ConversionAction_ValueSettings) XXX_Size() int { + return xxx_messageInfo_ConversionAction_ValueSettings.Size(m) +} +func (m *ConversionAction_ValueSettings) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionAction_ValueSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionAction_ValueSettings proto.InternalMessageInfo + +func (m *ConversionAction_ValueSettings) GetDefaultValue() *wrappers.DoubleValue { + if m != nil { + return m.DefaultValue + } + return nil +} + +func (m *ConversionAction_ValueSettings) GetDefaultCurrencyCode() *wrappers.StringValue { + if m != nil { + return m.DefaultCurrencyCode + } + return nil +} + +func (m *ConversionAction_ValueSettings) GetAlwaysUseDefaultValue() *wrappers.BoolValue { + if m != nil { + return m.AlwaysUseDefaultValue + } + return nil +} + +func init() { + proto.RegisterType((*ConversionAction)(nil), "google.ads.googleads.v0.resources.ConversionAction") + proto.RegisterType((*ConversionAction_AttributionModelSettings)(nil), "google.ads.googleads.v0.resources.ConversionAction.AttributionModelSettings") + proto.RegisterType((*ConversionAction_ValueSettings)(nil), "google.ads.googleads.v0.resources.ConversionAction.ValueSettings") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/conversion_action.proto", fileDescriptor_conversion_action_062b3205e664191a) +} + +var fileDescriptor_conversion_action_062b3205e664191a = []byte{ + // 937 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x6a, 0x23, 0xb7, + 0x17, 0x66, 0x9c, 0x6c, 0x7e, 0xbb, 0x8a, 0xed, 0xcd, 0x4f, 0x25, 0x30, 0x78, 0xbb, 0x4b, 0xb2, + 0xa5, 0x10, 0x5a, 0x18, 0x1b, 0x6f, 0x5b, 0xe8, 0x1f, 0x0a, 0x8e, 0x5d, 0x96, 0x94, 0x64, 0x09, + 0xe3, 0x34, 0x85, 0xc5, 0x45, 0x95, 0x25, 0xed, 0x78, 0xc8, 0x8c, 0x34, 0x95, 0x34, 0x36, 0xbe, + 0xec, 0x55, 0xa1, 0x2f, 0xd0, 0xfb, 0x5e, 0xf6, 0x0d, 0xfa, 0x0a, 0x7d, 0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 0x50, 0xcc, 0xb4, 0x0c, 0x89, 0xfb, 0xd8, + 0x70, 0xb6, 0x56, 0x38, 0x4f, 0x85, 0x88, 0x72, 0xc6, 0x96, 0x25, 0x38, 0xe3, 0xb7, 0x4e, 0xab, + 0x0b, 0x83, 0x86, 0x01, 0x78, 0x49, 0xa2, 0x90, 0xdc, 0x20, 0x3d, 0x91, 0x22, 0x0d, 0x26, 0x28, + 0x12, 0xe2, 0x66, 0x8c, 0xc9, 0x0d, 0x9a, 0x85, 0x9c, 0x8a, 0x19, 0xa2, 0x78, 0xae, 0xdc, 0x27, + 0x9b, 0x0b, 0xec, 0x85, 0xa1, 0xb9, 0xca, 0x59, 0xce, 0x2d, 0xc9, 0xf7, 0x86, 0x63, 0x80, 0xe7, + 0x0a, 0x32, 0x70, 0x3c, 0x0d, 0xd9, 0xec, 0x7e, 0x1d, 0xb0, 0x59, 0xe7, 0x79, 0xc6, 0x52, 0x2d, + 0x33, 0x01, 0xcd, 0x69, 0x66, 0x87, 0x14, 0xd3, 0xd9, 0xf8, 0x50, 0xee, 0xbe, 0xe1, 0xec, 0x79, + 0x1b, 0x87, 0xe9, 0xca, 0x95, 0x7a, 0x46, 0x71, 0x68, 0x89, 0xfc, 0xc6, 0x74, 0x71, 0x0b, 0x7f, + 0x76, 0x40, 0xe3, 0xce, 0x90, 0x72, 0xeb, 0xa6, 0xaa, 0x46, 0xdb, 0x56, 0x95, 0xe5, 0xa8, 0xac, + 0xe1, 0x45, 0x03, 0xbf, 0x4e, 0x16, 0x76, 0xf0, 0x57, 0x07, 0xb4, 0x56, 0x26, 0xf6, 0x6d, 0xe8, + 0x0d, 0x13, 0xfa, 0xf9, 0x7f, 0x09, 0xbd, 0x77, 0xcb, 0x7a, 0x91, 0x91, 0x96, 0x59, 0x70, 0x71, + 0xc5, 0x09, 0xbc, 0x00, 0xf5, 0x85, 0xe7, 0x46, 0xb9, 0xcd, 0xa3, 0x9d, 0x93, 0xfd, 0xee, 0x47, + 0x95, 0xea, 0xf9, 0x13, 0xe5, 0x5d, 0xe1, 0x60, 0x98, 0x43, 0xfc, 0x7d, 0x5d, 0xae, 0x15, 0x7c, + 0x0b, 0x9e, 0x25, 0x13, 0xc1, 0x19, 0x22, 0x38, 0x8a, 0x10, 0x4d, 0x25, 0xce, 0x47, 0x3a, 0x23, + 0x82, 0x53, 0xe5, 0x3e, 0xdd, 0x5c, 0x2a, 0xae, 0xc1, 0xf7, 0x71, 0x14, 0x0d, 0x2c, 0x7a, 0x98, + 0x83, 0xe1, 0x2b, 0xb0, 0x87, 0x93, 0x04, 0x85, 0xd4, 0x3d, 0x78, 0x40, 0x47, 0x3e, 0xc2, 0x49, + 0x72, 0x46, 0x5b, 0xbf, 0xd5, 0x80, 0x5b, 0x95, 0x16, 0xf8, 0x13, 0xf8, 0xff, 0xca, 0x45, 0x98, + 0x89, 0xdd, 0xec, 0x0e, 0x36, 0x14, 0xc4, 0x32, 0xa7, 0x29, 0x82, 0xe5, 0x8f, 0xfe, 0xc1, 0x72, + 0xde, 0xe1, 0x2f, 0x0e, 0x70, 0xab, 0x1e, 0x1e, 0xf3, 0x24, 0x34, 0xbb, 0x6f, 0x36, 0x48, 0x0f, + 0xb0, 0xc6, 0x03, 0x83, 0xce, 0xa3, 0xb9, 0x1d, 0xd7, 0x6b, 0x4f, 0xfc, 0x43, 0xba, 0xee, 0x73, + 0xeb, 0x1f, 0x07, 0x34, 0xee, 0xf4, 0x0a, 0xec, 0x81, 0x06, 0x65, 0xef, 0x70, 0x1a, 0x69, 0x64, + 0xba, 0xc6, 0xa4, 0x62, 0x5d, 0x9e, 0x07, 0x22, 0x1d, 0x47, 0x2c, 0xcf, 0x73, 0xdd, 0x42, 0xcc, + 0x0e, 0x5e, 0x82, 0xc3, 0x82, 0x82, 0xa4, 0x52, 0x32, 0x4e, 0xe6, 0x88, 0x08, 0xca, 0xec, 0x6b, + 0x77, 0xff, 0x95, 0xbd, 0x67, 0xa1, 0x7d, 0x8b, 0xec, 0x0b, 0xca, 0xe0, 0x10, 0xb8, 0x38, 0x9a, + 0xe1, 0xb9, 0x42, 0xa9, 0x62, 0xe8, 0xae, 0x7f, 0x3b, 0x1b, 0xa7, 0xe8, 0x61, 0x8e, 0xfd, 0x4e, + 0xb1, 0xc1, 0x82, 0x9b, 0xa7, 0x7f, 0x3b, 0xe0, 0x43, 0x22, 0xe2, 0xcd, 0x3d, 0x76, 0x7a, 0xb8, + 0xdc, 0x64, 0x97, 0x99, 0xc8, 0xa5, 0xf3, 0xf6, 0x5b, 0x8b, 0x0d, 0x44, 0x84, 0x79, 0xe0, 0x09, + 0x19, 0xb4, 0x03, 0xc6, 0x8d, 0x0b, 0xc5, 0xcf, 0x46, 0x12, 0xaa, 0x7b, 0xfe, 0x20, 0xbf, 0x2c, + 0x57, 0xbf, 0xd7, 0x76, 0x5e, 0xf7, 0x7a, 0x7f, 0xd4, 0x8e, 0x5f, 0xe7, 0x94, 0x3d, 0xaa, 0xbc, + 0x7c, 0x99, 0xad, 0xae, 0x3b, 0x9e, 0x5f, 0x58, 0xfe, 0x55, 0xd8, 0x8c, 0x7a, 0x54, 0x8d, 0x4a, + 0x9b, 0xd1, 0x75, 0x67, 0x54, 0xda, 0x8c, 0xf7, 0x8c, 0x13, 0xaf, 0xfe, 0x0d, 0x00, 0x00, 0xff, + 0xff, 0xe2, 0x37, 0x9d, 0xcc, 0xc5, 0x0a, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer.pb.go new file mode 100644 index 000000000..983414be5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer.pb.go @@ -0,0 +1,258 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/customer.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A customer. +type Customer struct { + // The resource name of the customer. + // Customer resource names have the form: + // + // `customers/{customer_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the customer. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // Optional, non-unique descriptive name of the customer. + DescriptiveName *wrappers.StringValue `protobuf:"bytes,4,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"` + // The currency in which the account operates. + // A subset of the currency codes from the ISO 4217 standard is + // supported. + CurrencyCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` + // The local timezone ID of the customer. + TimeZone *wrappers.StringValue `protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` + // The URL template for constructing a tracking URL out of parameters. + TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,7,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` + // The URL template for appending params to the final URL + FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,11,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,omitempty"` + // Whether auto-tagging is enabled for the customer. + AutoTaggingEnabled *wrappers.BoolValue `protobuf:"bytes,8,opt,name=auto_tagging_enabled,json=autoTaggingEnabled,proto3" json:"auto_tagging_enabled,omitempty"` + // Whether the Customer has a Partners program badge. If the Customer is not + // associated with the Partners program, this will be false. For more + // information, see https://support.google.com/partners/answer/3125774. + HasPartnersBadge *wrappers.BoolValue `protobuf:"bytes,9,opt,name=has_partners_badge,json=hasPartnersBadge,proto3" json:"has_partners_badge,omitempty"` + // Call reporting setting for a customer. + CallReportingSetting *CallReportingSetting `protobuf:"bytes,10,opt,name=call_reporting_setting,json=callReportingSetting,proto3" json:"call_reporting_setting,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Customer) Reset() { *m = Customer{} } +func (m *Customer) String() string { return proto.CompactTextString(m) } +func (*Customer) ProtoMessage() {} +func (*Customer) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_1a67549631f2cc56, []int{0} +} +func (m *Customer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Customer.Unmarshal(m, b) +} +func (m *Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Customer.Marshal(b, m, deterministic) +} +func (dst *Customer) XXX_Merge(src proto.Message) { + xxx_messageInfo_Customer.Merge(dst, src) +} +func (m *Customer) XXX_Size() int { + return xxx_messageInfo_Customer.Size(m) +} +func (m *Customer) XXX_DiscardUnknown() { + xxx_messageInfo_Customer.DiscardUnknown(m) +} + +var xxx_messageInfo_Customer proto.InternalMessageInfo + +func (m *Customer) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Customer) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *Customer) GetDescriptiveName() *wrappers.StringValue { + if m != nil { + return m.DescriptiveName + } + return nil +} + +func (m *Customer) GetCurrencyCode() *wrappers.StringValue { + if m != nil { + return m.CurrencyCode + } + return nil +} + +func (m *Customer) GetTimeZone() *wrappers.StringValue { + if m != nil { + return m.TimeZone + } + return nil +} + +func (m *Customer) GetTrackingUrlTemplate() *wrappers.StringValue { + if m != nil { + return m.TrackingUrlTemplate + } + return nil +} + +func (m *Customer) GetFinalUrlSuffix() *wrappers.StringValue { + if m != nil { + return m.FinalUrlSuffix + } + return nil +} + +func (m *Customer) GetAutoTaggingEnabled() *wrappers.BoolValue { + if m != nil { + return m.AutoTaggingEnabled + } + return nil +} + +func (m *Customer) GetHasPartnersBadge() *wrappers.BoolValue { + if m != nil { + return m.HasPartnersBadge + } + return nil +} + +func (m *Customer) GetCallReportingSetting() *CallReportingSetting { + if m != nil { + return m.CallReportingSetting + } + return nil +} + +// Call reporting setting for a customer. +type CallReportingSetting struct { + // Enable reporting of phone call events by redirecting them via Google + // System. + CallReportingEnabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=call_reporting_enabled,json=callReportingEnabled,proto3" json:"call_reporting_enabled,omitempty"` + // Whether to enable call conversion reporting. + CallConversionReportingEnabled *wrappers.BoolValue `protobuf:"bytes,2,opt,name=call_conversion_reporting_enabled,json=callConversionReportingEnabled,proto3" json:"call_conversion_reporting_enabled,omitempty"` + // Customer-level call conversion action to attribute a call conversion to. + // If not set a default conversion action is used. Only in effect when + // call_conversion_reporting_enabled is set to true. + CallConversionAction *wrappers.StringValue `protobuf:"bytes,9,opt,name=call_conversion_action,json=callConversionAction,proto3" json:"call_conversion_action,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CallReportingSetting) Reset() { *m = CallReportingSetting{} } +func (m *CallReportingSetting) String() string { return proto.CompactTextString(m) } +func (*CallReportingSetting) ProtoMessage() {} +func (*CallReportingSetting) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_1a67549631f2cc56, []int{1} +} +func (m *CallReportingSetting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CallReportingSetting.Unmarshal(m, b) +} +func (m *CallReportingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CallReportingSetting.Marshal(b, m, deterministic) +} +func (dst *CallReportingSetting) XXX_Merge(src proto.Message) { + xxx_messageInfo_CallReportingSetting.Merge(dst, src) +} +func (m *CallReportingSetting) XXX_Size() int { + return xxx_messageInfo_CallReportingSetting.Size(m) +} +func (m *CallReportingSetting) XXX_DiscardUnknown() { + xxx_messageInfo_CallReportingSetting.DiscardUnknown(m) +} + +var xxx_messageInfo_CallReportingSetting proto.InternalMessageInfo + +func (m *CallReportingSetting) GetCallReportingEnabled() *wrappers.BoolValue { + if m != nil { + return m.CallReportingEnabled + } + return nil +} + +func (m *CallReportingSetting) GetCallConversionReportingEnabled() *wrappers.BoolValue { + if m != nil { + return m.CallConversionReportingEnabled + } + return nil +} + +func (m *CallReportingSetting) GetCallConversionAction() *wrappers.StringValue { + if m != nil { + return m.CallConversionAction + } + return nil +} + +func init() { + proto.RegisterType((*Customer)(nil), "google.ads.googleads.v0.resources.Customer") + proto.RegisterType((*CallReportingSetting)(nil), "google.ads.googleads.v0.resources.CallReportingSetting") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/customer.proto", fileDescriptor_customer_1a67549631f2cc56) +} + +var fileDescriptor_customer_1a67549631f2cc56 = []byte{ + // 570 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x6a, 0x13, 0x41, + 0x14, 0xc7, 0x49, 0x6a, 0x6b, 0x3b, 0x6d, 0xb5, 0x8c, 0x51, 0x96, 0x2a, 0xa5, 0xad, 0x08, 0x05, + 0x61, 0x12, 0x54, 0x14, 0xf1, 0x6a, 0x13, 0xb4, 0x2a, 0x22, 0x61, 0xfb, 0x71, 0x51, 0x02, 0xcb, + 0x64, 0xf6, 0x64, 0x3b, 0x38, 0x3b, 0xb3, 0xcc, 0xcc, 0xc6, 0x8f, 0xc7, 0xd1, 0x3b, 0x9f, 0xc3, + 0x2b, 0x2f, 0x7d, 0x22, 0xd9, 0xd9, 0x9d, 0xa5, 0x25, 0xa1, 0xc9, 0x55, 0x0e, 0xc3, 0xff, 0xf7, + 0x3b, 0x27, 0xb3, 0xc3, 0x41, 0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9, 0xa0, 0x71, 0xcc, 0xb4, 0x89, 0xea, 0xc1, 0xaf, 0xb4, 0xa1, 0xcc, 0x72, 0x25, + 0xeb, 0xcf, 0x71, 0xf3, 0x33, 0xe9, 0x5c, 0xb7, 0x87, 0x8e, 0xec, 0xff, 0x6b, 0xa1, 0x27, 0x4c, + 0x65, 0x8b, 0xaf, 0xbe, 0xbf, 0xed, 0x77, 0xc2, 0xb0, 0xb4, 0x0f, 0x5b, 0x17, 0x1f, 0x6b, 0x26, + 0x55, 0x82, 0xca, 0x94, 0x28, 0x9d, 0x76, 0x53, 0x90, 0xae, 0xb7, 0x5f, 0x56, 0x39, 0x37, 0x37, + 0xec, 0xae, 0x37, 0x4d, 0xf5, 0xb3, 0xbd, 0x72, 0x1c, 0x86, 0xbf, 0xdb, 0x07, 0xc7, 0x95, 0x32, + 0x4c, 0x0c, 0xa9, 0xca, 0xb2, 0x3a, 0xef, 0x91, 0xc8, 0x27, 0xff, 0xfa, 0xcc, 0x28, 0x4c, 0xcc, + 0xa8, 0xc9, 0x8c, 0xce, 0x7b, 0xa3, 0x26, 0x33, 0x5e, 0x73, 0x43, 0x3c, 0xff, 0x1f, 0x00, 0x00, + 0xff, 0xff, 0xe1, 0x9c, 0xcb, 0x74, 0x3f, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client.pb.go new file mode 100644 index 000000000..5942abff9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/customer_client.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// For a manager, it returns all the customers in its hierarchy and self. +type CustomerClient struct { + // The resource name of the customer client. + // CustomerClient resource names have the form: + // `customers/{customer_id}/customerClients/{client_customer_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The client customer linked to this customer. Read only. + ClientCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=client_customer,json=clientCustomer,proto3" json:"client_customer,omitempty"` + // Whether the client is hidden or not. Default value is false. Read only. + Hidden *wrappers.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` + // Distance between customer and client. For self link, the level value will + // be 0. Read only. + Level *wrappers.Int64Value `protobuf:"bytes,5,opt,name=level,proto3" json:"level,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerClient) Reset() { *m = CustomerClient{} } +func (m *CustomerClient) String() string { return proto.CompactTextString(m) } +func (*CustomerClient) ProtoMessage() {} +func (*CustomerClient) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_client_4e068b1367c0b0ff, []int{0} +} +func (m *CustomerClient) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerClient.Unmarshal(m, b) +} +func (m *CustomerClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerClient.Marshal(b, m, deterministic) +} +func (dst *CustomerClient) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerClient.Merge(dst, src) +} +func (m *CustomerClient) XXX_Size() int { + return xxx_messageInfo_CustomerClient.Size(m) +} +func (m *CustomerClient) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerClient.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerClient proto.InternalMessageInfo + +func (m *CustomerClient) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CustomerClient) GetClientCustomer() *wrappers.StringValue { + if m != nil { + return m.ClientCustomer + } + return nil +} + +func (m *CustomerClient) GetHidden() *wrappers.BoolValue { + if m != nil { + return m.Hidden + } + return nil +} + +func (m *CustomerClient) GetLevel() *wrappers.Int64Value { + if m != nil { + return m.Level + } + return nil +} + +func init() { + proto.RegisterType((*CustomerClient)(nil), "google.ads.googleads.v0.resources.CustomerClient") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/customer_client.proto", fileDescriptor_customer_client_4e068b1367c0b0ff) +} + +var fileDescriptor_customer_client_4e068b1367c0b0ff = []byte{ + // 331 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xf3, 0x30, + 0x18, 0xc7, 0xe9, 0xf6, 0x6e, 0xf0, 0x46, 0x9d, 0x50, 0x2f, 0x65, 0x8a, 0x6c, 0x8a, 0xb0, 0x53, + 0x5a, 0xa7, 0xe8, 0xc1, 0x53, 0x37, 0x64, 0xe8, 0x41, 0xc6, 0x84, 0x1d, 0xa4, 0x30, 0xb2, 0xf6, + 0x31, 0x16, 0xd2, 0xa4, 0x24, 0xed, 0xfc, 0x3e, 0x1e, 0xfd, 0x28, 0x7e, 0x02, 0xef, 0x7e, 0x11, + 0x69, 0xd2, 0x14, 0x64, 0xa0, 0xb7, 0x3f, 0xe1, 0xf7, 0xfb, 0x3f, 0x0f, 0x79, 0xd0, 0x35, 0x15, + 0x82, 0x32, 0xf0, 0x49, 0xa2, 0x7c, 0x13, 0xab, 0xb4, 0x09, 0x7c, 0x09, 0x4a, 0x94, 0x32, 0x06, + 0xe5, 0xc7, 0xa5, 0x2a, 0x44, 0x06, 0x72, 0x15, 0xb3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, 0x7b, 0x6b, + 0x38, 0x33, 0x95, 0x61, 0xa2, 0xb0, 0x89, 0x55, 0x5a, 0x06, 0x78, 0x61, 0xc9, 0x0f, 0xcb, 0x44, + 0x61, 0xa2, 0xa2, 0x86, 0x89, 0x96, 0x41, 0xd4, 0x30, 0xeb, 0xae, 0x5e, 0xe2, 0xe2, 0x3b, 0x00, + 0x00, 0xff, 0xff, 0x13, 0x2b, 0x34, 0x21, 0x45, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client_link.pb.go new file mode 100644 index 000000000..78b8d2060 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_client_link.pb.go @@ -0,0 +1,139 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/customer_client_link.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents customer client link relationship. +type CustomerClientLink struct { + // Name of the resource. + // CustomerClientLink resource names have the form: + // + // `customers/{customer_id}/customerClientLinks/{client_customer_id}_{manager_link_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The client customer linked to this customer. Read only. + ClientCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=client_customer,json=clientCustomer,proto3" json:"client_customer,omitempty"` + // This is uniquely identifies a customer client link. Read only. + ManagerLinkId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=manager_link_id,json=managerLinkId,proto3" json:"manager_link_id,omitempty"` + // This is the status of the link between client and manager. + Status enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"` + // The visibility of the link. Users can choose whether or not to see hidden + // links in the AdWords UI. + // Default value is false + Hidden *wrappers.BoolValue `protobuf:"bytes,6,opt,name=hidden,proto3" json:"hidden,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerClientLink) Reset() { *m = CustomerClientLink{} } +func (m *CustomerClientLink) String() string { return proto.CompactTextString(m) } +func (*CustomerClientLink) ProtoMessage() {} +func (*CustomerClientLink) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_client_link_d7ddbf2da55444fb, []int{0} +} +func (m *CustomerClientLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerClientLink.Unmarshal(m, b) +} +func (m *CustomerClientLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerClientLink.Marshal(b, m, deterministic) +} +func (dst *CustomerClientLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerClientLink.Merge(dst, src) +} +func (m *CustomerClientLink) XXX_Size() int { + return xxx_messageInfo_CustomerClientLink.Size(m) +} +func (m *CustomerClientLink) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerClientLink.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerClientLink proto.InternalMessageInfo + +func (m *CustomerClientLink) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CustomerClientLink) GetClientCustomer() *wrappers.StringValue { + if m != nil { + return m.ClientCustomer + } + return nil +} + +func (m *CustomerClientLink) GetManagerLinkId() *wrappers.Int64Value { + if m != nil { + return m.ManagerLinkId + } + return nil +} + +func (m *CustomerClientLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus { + if m != nil { + return m.Status + } + return enums.ManagerLinkStatusEnum_UNSPECIFIED +} + +func (m *CustomerClientLink) GetHidden() *wrappers.BoolValue { + if m != nil { + return m.Hidden + } + return nil +} + +func init() { + proto.RegisterType((*CustomerClientLink)(nil), "google.ads.googleads.v0.resources.CustomerClientLink") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/customer_client_link.proto", fileDescriptor_customer_client_link_d7ddbf2da55444fb) +} + +var fileDescriptor_customer_client_link_d7ddbf2da55444fb = []byte{ + // 398 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdd, 0xca, 0xd3, 0x30, + 0x18, 0xa6, 0x9b, 0x16, 0x8c, 0x6e, 0x83, 0x9e, 0x58, 0xa6, 0xc8, 0xa6, 0x08, 0x3b, 0x4a, 0xcb, + 0x14, 0x3d, 0xd0, 0x93, 0x6e, 0xcc, 0x31, 0x51, 0x19, 0x1d, 0xec, 0x40, 0x8a, 0x25, 0x6b, 0x62, + 0x2c, 0x6b, 0x93, 0x92, 0xb4, 0xf3, 0x7e, 0x3c, 0xf4, 0x52, 0xbc, 0x03, 0xc1, 0x8b, 0x91, 0xe6, + 0xa7, 0x22, 0x65, 0xdf, 0x77, 0xf6, 0x34, 0x7d, 0xfe, 0xde, 0xe4, 0x05, 0x6f, 0x29, 0xe7, 0xb4, + 0x20, 0x01, 0xc2, 0x32, 0xd0, 0xb0, 0x45, 0x97, 0x30, 0x10, 0x44, 0xf2, 0x46, 0x64, 0x44, 0x06, + 0x59, 0x23, 0x6b, 0x5e, 0x12, 0x91, 0x66, 0x45, 0x4e, 0x58, 0x9d, 0x16, 0x39, 0x3b, 0xc3, 0x4a, + 0xf0, 0x9a, 0x7b, 0x73,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, 0x6d, 0xc5, 0x79, 0xa1, 0xab, 0x19, 0xe6, + 0xea, 0x8f, 0x03, 0x9e, 0x67, 0xbc, 0x84, 0xb7, 0x3e, 0xef, 0xea, 0x61, 0xff, 0x09, 0xf6, 0xad, + 0xef, 0xde, 0xf9, 0xfc, 0xde, 0xa8, 0x29, 0x2f, 0x10, 0xa3, 0x90, 0x0b, 0x1a, 0x50, 0xc2, 0x54, + 0xaa, 0xdd, 0x84, 0x2a, 0x97, 0x37, 0x6c, 0xde, 0x9b, 0x0e, 0xfd, 0x18, 0x0c, 0xb7, 0x51, 0xf4, + 0x73, 0x30, 0xdf, 0x6a, 0xcb, 0x08, 0x4b, 0xa8, 0x61, 0x8b, 0x8e, 0x21, 0x8c, 0x2d, 0xf3, 0x97, + 0xe5, 0x24, 0x11, 0x96, 0x49, 0xc7, 0x49, 0x8e, 0x61, 0xd2, 0x71, 0x4e, 0xae, 0x2a, 0xf1, 0xe2, + 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0xb0, 0x07, 0xf7, 0xfd, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_feed.pb.go new file mode 100644 index 000000000..9309144a6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_feed.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/customer_feed.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A customer feed. +type CustomerFeed struct { + // The resource name of the customer feed. + // Customer feed resource names have the form: + // + // `customers/{customer_id}/customerFeeds/{feed_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The feed being linked to the customer. + Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` + // Indicates which placeholder types the feed may populate under the connected + // customer. Required. + PlaceholderTypes []enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,3,rep,packed,name=placeholder_types,json=placeholderTypes,proto3,enum=google.ads.googleads.v0.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_types,omitempty"` + // Matching function associated with the CustomerFeed. + // The matching function is used to filter the set of feed items selected. + // Required. + MatchingFunction *common.MatchingFunction `protobuf:"bytes,4,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"` + // Status of the customer feed. + // This field is read-only. + Status enums.FeedLinkStatusEnum_FeedLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedLinkStatusEnum_FeedLinkStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerFeed) Reset() { *m = CustomerFeed{} } +func (m *CustomerFeed) String() string { return proto.CompactTextString(m) } +func (*CustomerFeed) ProtoMessage() {} +func (*CustomerFeed) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_ce4640adfc3deabc, []int{0} +} +func (m *CustomerFeed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerFeed.Unmarshal(m, b) +} +func (m *CustomerFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerFeed.Marshal(b, m, deterministic) +} +func (dst *CustomerFeed) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerFeed.Merge(dst, src) +} +func (m *CustomerFeed) XXX_Size() int { + return xxx_messageInfo_CustomerFeed.Size(m) +} +func (m *CustomerFeed) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerFeed.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerFeed proto.InternalMessageInfo + +func (m *CustomerFeed) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CustomerFeed) GetFeed() *wrappers.StringValue { + if m != nil { + return m.Feed + } + return nil +} + +func (m *CustomerFeed) GetPlaceholderTypes() []enums.PlaceholderTypeEnum_PlaceholderType { + if m != nil { + return m.PlaceholderTypes + } + return nil +} + +func (m *CustomerFeed) GetMatchingFunction() *common.MatchingFunction { + if m != nil { + return m.MatchingFunction + } + return nil +} + +func (m *CustomerFeed) GetStatus() enums.FeedLinkStatusEnum_FeedLinkStatus { + if m != nil { + return m.Status + } + return enums.FeedLinkStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*CustomerFeed)(nil), "google.ads.googleads.v0.resources.CustomerFeed") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/customer_feed.proto", fileDescriptor_customer_feed_ce4640adfc3deabc) +} + +var fileDescriptor_customer_feed_ce4640adfc3deabc = []byte{ + // 440 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6a, 0xd4, 0x40, + 0x14, 0xc7, 0xc9, 0x6e, 0x2d, 0x38, 0xd6, 0xd2, 0xcd, 0x55, 0x28, 0x22, 0x5b, 0x45, 0xd8, 0xab, + 0x99, 0xb0, 0x7e, 0xdc, 0x78, 0xe3, 0xae, 0xd8, 0x82, 0xa8, 0x2c, 0xa9, 0x2c, 0x22, 0x2b, 0x61, + 0x9a, 0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9a, 0xd5, 0xac, 0x34, 0xab, 0x5e, + 0xb3, 0x5a, 0xa6, 0xab, 0x5e, 0x73, 0xb6, 0xeb, 0x9b, 0x78, 0xfa, 0x3b, 0x00, 0x00, 0xff, 0xff, + 0x98, 0x66, 0x60, 0xe7, 0x91, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_manager_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_manager_link.pb.go new file mode 100644 index 000000000..4326524f3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/customer_manager_link.pb.go @@ -0,0 +1,127 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/customer_manager_link.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents customer-manager link relationship. +type CustomerManagerLink struct { + // Name of the resource. + // CustomerManagerLink resource names have the form: + // + // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}_{manager_link_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The manager customer linked to the customer. This field is read only. + ManagerCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=manager_customer,json=managerCustomer,proto3" json:"manager_customer,omitempty"` + // ID of the customer-manager link. This field is read only. + ManagerLinkId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=manager_link_id,json=managerLinkId,proto3" json:"manager_link_id,omitempty"` + // Status of the link between the customer and the manager. + Status enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerManagerLink) Reset() { *m = CustomerManagerLink{} } +func (m *CustomerManagerLink) String() string { return proto.CompactTextString(m) } +func (*CustomerManagerLink) ProtoMessage() {} +func (*CustomerManagerLink) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_manager_link_1a8c7ae152be5754, []int{0} +} +func (m *CustomerManagerLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerManagerLink.Unmarshal(m, b) +} +func (m *CustomerManagerLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerManagerLink.Marshal(b, m, deterministic) +} +func (dst *CustomerManagerLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerManagerLink.Merge(dst, src) +} +func (m *CustomerManagerLink) XXX_Size() int { + return xxx_messageInfo_CustomerManagerLink.Size(m) +} +func (m *CustomerManagerLink) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerManagerLink.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerManagerLink proto.InternalMessageInfo + +func (m *CustomerManagerLink) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *CustomerManagerLink) GetManagerCustomer() *wrappers.StringValue { + if m != nil { + return m.ManagerCustomer + } + return nil +} + +func (m *CustomerManagerLink) GetManagerLinkId() *wrappers.Int64Value { + if m != nil { + return m.ManagerLinkId + } + return nil +} + +func (m *CustomerManagerLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus { + if m != nil { + return m.Status + } + return enums.ManagerLinkStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*CustomerManagerLink)(nil), "google.ads.googleads.v0.resources.CustomerManagerLink") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/customer_manager_link.proto", fileDescriptor_customer_manager_link_1a8c7ae152be5754) +} + +var fileDescriptor_customer_manager_link_1a8c7ae152be5754 = []byte{ + // 375 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdf, 0x4a, 0xeb, 0x30, + 0x1c, 0xa6, 0xdb, 0x39, 0x83, 0xd3, 0x73, 0x76, 0x26, 0xf5, 0xa6, 0x4c, 0x91, 0x4d, 0x11, 0x76, + 0x95, 0x96, 0x29, 0x7a, 0x21, 0x5e, 0x74, 0x43, 0xc7, 0x44, 0x65, 0x74, 0xb0, 0x0b, 0x29, 0x96, + 0x6c, 0x8d, 0xa1, 0xac, 0x49, 0x4a, 0xd2, 0xce, 0xf7, 0xf1, 0x4a, 0x7c, 0x14, 0xdf, 0xc1, 0x77, + 0x91, 0x35, 0x49, 0x9d, 0xcc, 0xe9, 0xdd, 0xd7, 0xf4, 0xfb, 0xf3, 0xfb, 0x7e, 0x89, 0x79, 0x8e, + 0x19, 0xc3, 0x09, 0x72, 0x60, 0x24, 0x1c, 0x09, 0x97, 0x68, 0xe1, 0x3a, 0x1c, 0x09, 0x96, 0xf3, + 0x19, 0x12, 0xce, 0x2c, 0x17, 0x19, 0x23, 0x88, 0x87, 0x04, 0x52, 0x88, 0x11, 0x0f, 0x93, 0x98, + 0xce, 0x41, 0xca, 0x59, 0xc6, 0xac, 0xb6, 0xd4, 0x00, 0x18, 0x09, 0x50, 0xca, 0xc1, 0xc2, 0x05, + 0xa5, 0xbc, 0x79, 0xba, 0x29, 0x01, 0xd1, 0x9c, 0x08, 0x67, 0xd5, 0x34, 0x14, 0x19, 0xcc, 0x72, + 0x21, 0xbd, 0x9b, 0x7b, 0x4a, 0x58, 0x7c, 0x4d, 0xf3, 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2, 0x8b, 0x04, + 0x90, 0x70, 0x89, 0x26, 0x2e, 0xf0, 0x35, 0xf3, 0x55, 0x73, 0x02, 0x2f, 0x12, 0x41, 0xc9, 0x09, + 0x26, 0x6e, 0x50, 0x72, 0xa6, 0xb5, 0x62, 0x88, 0xa3, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa6, + 0xb2, 0x1a, 0x50, 0xce, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/display_keyword_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/display_keyword_view.pb.go new file mode 100644 index 000000000..bdf4f2b78 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/display_keyword_view.pb.go @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/display_keyword_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A display keyword view. +type DisplayKeywordView struct { + // The resource name of the display keyword view. + // Display Keyword view resource names have the form: + // + // `customers/{customer_id}/displayKeywordViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisplayKeywordView) Reset() { *m = DisplayKeywordView{} } +func (m *DisplayKeywordView) String() string { return proto.CompactTextString(m) } +func (*DisplayKeywordView) ProtoMessage() {} +func (*DisplayKeywordView) Descriptor() ([]byte, []int) { + return fileDescriptor_display_keyword_view_8e70ac1b36b894b2, []int{0} +} +func (m *DisplayKeywordView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisplayKeywordView.Unmarshal(m, b) +} +func (m *DisplayKeywordView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisplayKeywordView.Marshal(b, m, deterministic) +} +func (dst *DisplayKeywordView) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisplayKeywordView.Merge(dst, src) +} +func (m *DisplayKeywordView) XXX_Size() int { + return xxx_messageInfo_DisplayKeywordView.Size(m) +} +func (m *DisplayKeywordView) XXX_DiscardUnknown() { + xxx_messageInfo_DisplayKeywordView.DiscardUnknown(m) +} + +var xxx_messageInfo_DisplayKeywordView proto.InternalMessageInfo + +func (m *DisplayKeywordView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*DisplayKeywordView)(nil), "google.ads.googleads.v0.resources.DisplayKeywordView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/display_keyword_view.proto", fileDescriptor_display_keyword_view_8e70ac1b36b894b2) +} + +var fileDescriptor_display_keyword_view_8e70ac1b36b894b2 = []byte{ + // 235 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x94, 0xcc, 0xe2, 0x82, 0x9c, 0xc4, 0xca, 0xf8, + 0xec, 0xd4, 0xca, 0xf2, 0xfc, 0xa2, 0x94, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, + 0x92, 0x7c, 0x21, 0x45, 0x88, 0x16, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x6e, 0xbd, 0x32, 0x03, + 0x3d, 0xb8, 0x6e, 0x25, 0x4b, 0x2e, 0x21, 0x17, 0x88, 0x01, 0xde, 0x10, 0xfd, 0x61, 0x99, 0xa9, + 0xe5, 0x42, 0xca, 0x5c, 0xbc, 0x30, 0x25, 0xf1, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, + 0x1a, 0x9c, 0x41, 0x3c, 0x30, 0x41, 0xbf, 0xc4, 0xdc, 0x54, 0xa7, 0x3b, 0x8c, 0x5c, 0xaa, 0xc9, + 0xf9, 0xb9, 0x7a, 0x04, 0x2d, 0x71, 0x12, 0xc7, 0xb4, 0x22, 0x00, 0xe4, 0xc0, 0x00, 0xc6, 0x28, + 0x2f, 0xa8, 0xee, 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, + 0x3c, 0xb0, 0xf3, 0x61, 0x1e, 0x2e, 0xc8, 0x2c, 0xc6, 0xe3, 0x7f, 0x6b, 0x38, 0x6b, 0x11, 0x13, + 0xb3, 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x45, 0x77, 0x88, 0x91, 0x8e, 0x29, 0xc5, 0x7a, 0x10, 0x26, + 0x88, 0x15, 0x66, 0xa0, 0x17, 0x04, 0x53, 0x79, 0x0a, 0xa6, 0x26, 0xc6, 0x31, 0xa5, 0x38, 0x06, + 0xae, 0x26, 0x26, 0xcc, 0x20, 0x06, 0xae, 0x26, 0x89, 0x0d, 0xec, 0x08, 0x63, 0x40, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x64, 0xb4, 0x1f, 0x4e, 0x83, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed.pb.go new file mode 100644 index 000000000..95472752d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed.pb.go @@ -0,0 +1,679 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/feed.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The operator. +type FeedAttributeOperation_Operator int32 + +const ( + // Unspecified. + FeedAttributeOperation_UNSPECIFIED FeedAttributeOperation_Operator = 0 + // Used for return value only. Represents value unknown in this version. + FeedAttributeOperation_UNKNOWN FeedAttributeOperation_Operator = 1 + // Add the attribute to the existing attributes. + FeedAttributeOperation_ADD FeedAttributeOperation_Operator = 2 +) + +var FeedAttributeOperation_Operator_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "ADD", +} +var FeedAttributeOperation_Operator_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "ADD": 2, +} + +func (x FeedAttributeOperation_Operator) String() string { + return proto.EnumName(FeedAttributeOperation_Operator_name, int32(x)) +} +func (FeedAttributeOperation_Operator) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{2, 0} +} + +// A feed. +type Feed struct { + // The resource name of the feed. + // Feed resource names have the form: + // + // `customers/{customer_id}/feeds/{feed_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the feed. + // This field is read-only. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // Name of the feed. Required. + Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // The Feed's attributes. Required on CREATE. + // Disallowed on UPDATE. Use attribute_operations to add new attributes. + Attributes []*FeedAttribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` + // The list of operations changing the feed attributes. Attributes can only + // be added, not removed. + AttributeOperations []*FeedAttributeOperation `protobuf:"bytes,9,rep,name=attribute_operations,json=attributeOperations,proto3" json:"attribute_operations,omitempty"` + // Specifies who manages the FeedAttributes for the Feed. + Origin enums.FeedOriginEnum_FeedOrigin `protobuf:"varint,5,opt,name=origin,proto3,enum=google.ads.googleads.v0.enums.FeedOriginEnum_FeedOrigin" json:"origin,omitempty"` + // Status of the feed. + // This field is read-only. + Status enums.FeedStatusEnum_FeedStatus `protobuf:"varint,8,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedStatusEnum_FeedStatus" json:"status,omitempty"` + // The system data for the Feed. This data specifies information for + // generating the feed items of the system generated feed. + // + // Types that are valid to be assigned to SystemFeedGenerationData: + // *Feed_PlacesLocationFeedData_ + // *Feed_AffiliateLocationFeedData_ + SystemFeedGenerationData isFeed_SystemFeedGenerationData `protobuf_oneof:"system_feed_generation_data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Feed) Reset() { *m = Feed{} } +func (m *Feed) String() string { return proto.CompactTextString(m) } +func (*Feed) ProtoMessage() {} +func (*Feed) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{0} +} +func (m *Feed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Feed.Unmarshal(m, b) +} +func (m *Feed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Feed.Marshal(b, m, deterministic) +} +func (dst *Feed) XXX_Merge(src proto.Message) { + xxx_messageInfo_Feed.Merge(dst, src) +} +func (m *Feed) XXX_Size() int { + return xxx_messageInfo_Feed.Size(m) +} +func (m *Feed) XXX_DiscardUnknown() { + xxx_messageInfo_Feed.DiscardUnknown(m) +} + +var xxx_messageInfo_Feed proto.InternalMessageInfo + +func (m *Feed) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Feed) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *Feed) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *Feed) GetAttributes() []*FeedAttribute { + if m != nil { + return m.Attributes + } + return nil +} + +func (m *Feed) GetAttributeOperations() []*FeedAttributeOperation { + if m != nil { + return m.AttributeOperations + } + return nil +} + +func (m *Feed) GetOrigin() enums.FeedOriginEnum_FeedOrigin { + if m != nil { + return m.Origin + } + return enums.FeedOriginEnum_UNSPECIFIED +} + +func (m *Feed) GetStatus() enums.FeedStatusEnum_FeedStatus { + if m != nil { + return m.Status + } + return enums.FeedStatusEnum_UNSPECIFIED +} + +type isFeed_SystemFeedGenerationData interface { + isFeed_SystemFeedGenerationData() +} + +type Feed_PlacesLocationFeedData_ struct { + PlacesLocationFeedData *Feed_PlacesLocationFeedData `protobuf:"bytes,6,opt,name=places_location_feed_data,json=placesLocationFeedData,proto3,oneof"` +} + +type Feed_AffiliateLocationFeedData_ struct { + AffiliateLocationFeedData *Feed_AffiliateLocationFeedData `protobuf:"bytes,7,opt,name=affiliate_location_feed_data,json=affiliateLocationFeedData,proto3,oneof"` +} + +func (*Feed_PlacesLocationFeedData_) isFeed_SystemFeedGenerationData() {} + +func (*Feed_AffiliateLocationFeedData_) isFeed_SystemFeedGenerationData() {} + +func (m *Feed) GetSystemFeedGenerationData() isFeed_SystemFeedGenerationData { + if m != nil { + return m.SystemFeedGenerationData + } + return nil +} + +func (m *Feed) GetPlacesLocationFeedData() *Feed_PlacesLocationFeedData { + if x, ok := m.GetSystemFeedGenerationData().(*Feed_PlacesLocationFeedData_); ok { + return x.PlacesLocationFeedData + } + return nil +} + +func (m *Feed) GetAffiliateLocationFeedData() *Feed_AffiliateLocationFeedData { + if x, ok := m.GetSystemFeedGenerationData().(*Feed_AffiliateLocationFeedData_); ok { + return x.AffiliateLocationFeedData + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Feed) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Feed_OneofMarshaler, _Feed_OneofUnmarshaler, _Feed_OneofSizer, []interface{}{ + (*Feed_PlacesLocationFeedData_)(nil), + (*Feed_AffiliateLocationFeedData_)(nil), + } +} + +func _Feed_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Feed) + // system_feed_generation_data + switch x := m.SystemFeedGenerationData.(type) { + case *Feed_PlacesLocationFeedData_: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PlacesLocationFeedData); err != nil { + return err + } + case *Feed_AffiliateLocationFeedData_: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AffiliateLocationFeedData); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Feed.SystemFeedGenerationData has unexpected type %T", x) + } + return nil +} + +func _Feed_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Feed) + switch tag { + case 6: // system_feed_generation_data.places_location_feed_data + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Feed_PlacesLocationFeedData) + err := b.DecodeMessage(msg) + m.SystemFeedGenerationData = &Feed_PlacesLocationFeedData_{msg} + return true, err + case 7: // system_feed_generation_data.affiliate_location_feed_data + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Feed_AffiliateLocationFeedData) + err := b.DecodeMessage(msg) + m.SystemFeedGenerationData = &Feed_AffiliateLocationFeedData_{msg} + return true, err + default: + return false, nil + } +} + +func _Feed_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Feed) + // system_feed_generation_data + switch x := m.SystemFeedGenerationData.(type) { + case *Feed_PlacesLocationFeedData_: + s := proto.Size(x.PlacesLocationFeedData) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Feed_AffiliateLocationFeedData_: + s := proto.Size(x.AffiliateLocationFeedData) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Data used to configure a location feed populated from Google My Business +// Locations. +type Feed_PlacesLocationFeedData struct { + // Required authentication token (from OAuth API) for the email. + OauthInfo *Feed_PlacesLocationFeedData_OAuthInfo `protobuf:"bytes,1,opt,name=oauth_info,json=oauthInfo,proto3" json:"oauth_info,omitempty"` + // Email address of a Google My Business account or email address of a + // manager of the Google My Business account. Required. + EmailAddress *wrappers.StringValue `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` + // Plus page ID of the managed business whose locations should be used. If + // this field is not set, then all businesses accessible by the user + // (specified by email_address) are used. + BusinessAccountIdentifier *wrappers.StringValue `protobuf:"bytes,3,opt,name=business_account_identifier,json=businessAccountIdentifier,proto3" json:"business_account_identifier,omitempty"` + // Used to filter Google My Business listings by business name. If + // business_name_filter is set, only listings with a matching business name + // are candidates to be sync'd into FeedItems. + BusinessNameFilter *wrappers.StringValue `protobuf:"bytes,4,opt,name=business_name_filter,json=businessNameFilter,proto3" json:"business_name_filter,omitempty"` + // Used to filter Google My Business listings by categories. If entries + // exist in category_filters, only listings that belong to any of the + // categories are candidates to be sync'd into FeedItems. If no entries + // exist in category_filters, then all listings are candidates for syncing. + CategoryFilters []*wrappers.StringValue `protobuf:"bytes,5,rep,name=category_filters,json=categoryFilters,proto3" json:"category_filters,omitempty"` + // Used to filter Google My Business listings by labels. If entries exist in + // label_filters, only listings that has any of the labels set are + // candidates to be synchronized into FeedItems. If no entries exist in + // label_filters, then all listings are candidates for syncing. + LabelFilters []*wrappers.StringValue `protobuf:"bytes,6,rep,name=label_filters,json=labelFilters,proto3" json:"label_filters,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Feed_PlacesLocationFeedData) Reset() { *m = Feed_PlacesLocationFeedData{} } +func (m *Feed_PlacesLocationFeedData) String() string { return proto.CompactTextString(m) } +func (*Feed_PlacesLocationFeedData) ProtoMessage() {} +func (*Feed_PlacesLocationFeedData) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{0, 0} +} +func (m *Feed_PlacesLocationFeedData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Feed_PlacesLocationFeedData.Unmarshal(m, b) +} +func (m *Feed_PlacesLocationFeedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Feed_PlacesLocationFeedData.Marshal(b, m, deterministic) +} +func (dst *Feed_PlacesLocationFeedData) XXX_Merge(src proto.Message) { + xxx_messageInfo_Feed_PlacesLocationFeedData.Merge(dst, src) +} +func (m *Feed_PlacesLocationFeedData) XXX_Size() int { + return xxx_messageInfo_Feed_PlacesLocationFeedData.Size(m) +} +func (m *Feed_PlacesLocationFeedData) XXX_DiscardUnknown() { + xxx_messageInfo_Feed_PlacesLocationFeedData.DiscardUnknown(m) +} + +var xxx_messageInfo_Feed_PlacesLocationFeedData proto.InternalMessageInfo + +func (m *Feed_PlacesLocationFeedData) GetOauthInfo() *Feed_PlacesLocationFeedData_OAuthInfo { + if m != nil { + return m.OauthInfo + } + return nil +} + +func (m *Feed_PlacesLocationFeedData) GetEmailAddress() *wrappers.StringValue { + if m != nil { + return m.EmailAddress + } + return nil +} + +func (m *Feed_PlacesLocationFeedData) GetBusinessAccountIdentifier() *wrappers.StringValue { + if m != nil { + return m.BusinessAccountIdentifier + } + return nil +} + +func (m *Feed_PlacesLocationFeedData) GetBusinessNameFilter() *wrappers.StringValue { + if m != nil { + return m.BusinessNameFilter + } + return nil +} + +func (m *Feed_PlacesLocationFeedData) GetCategoryFilters() []*wrappers.StringValue { + if m != nil { + return m.CategoryFilters + } + return nil +} + +func (m *Feed_PlacesLocationFeedData) GetLabelFilters() []*wrappers.StringValue { + if m != nil { + return m.LabelFilters + } + return nil +} + +// Data used for authorization using OAuth. +type Feed_PlacesLocationFeedData_OAuthInfo struct { + // The HTTP method used to obtain authorization. + HttpMethod *wrappers.StringValue `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` + // The HTTP request URL used to obtain authorization. + HttpRequestUrl *wrappers.StringValue `protobuf:"bytes,2,opt,name=http_request_url,json=httpRequestUrl,proto3" json:"http_request_url,omitempty"` + // The HTTP authorization header used to obtain authorization. + HttpAuthorizationHeader *wrappers.StringValue `protobuf:"bytes,3,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Feed_PlacesLocationFeedData_OAuthInfo) Reset() { *m = Feed_PlacesLocationFeedData_OAuthInfo{} } +func (m *Feed_PlacesLocationFeedData_OAuthInfo) String() string { return proto.CompactTextString(m) } +func (*Feed_PlacesLocationFeedData_OAuthInfo) ProtoMessage() {} +func (*Feed_PlacesLocationFeedData_OAuthInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{0, 0, 0} +} +func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Unmarshal(m, b) +} +func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Marshal(b, m, deterministic) +} +func (dst *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Merge(dst, src) +} +func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Size() int { + return xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Size(m) +} +func (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_DiscardUnknown() { + xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo proto.InternalMessageInfo + +func (m *Feed_PlacesLocationFeedData_OAuthInfo) GetHttpMethod() *wrappers.StringValue { + if m != nil { + return m.HttpMethod + } + return nil +} + +func (m *Feed_PlacesLocationFeedData_OAuthInfo) GetHttpRequestUrl() *wrappers.StringValue { + if m != nil { + return m.HttpRequestUrl + } + return nil +} + +func (m *Feed_PlacesLocationFeedData_OAuthInfo) GetHttpAuthorizationHeader() *wrappers.StringValue { + if m != nil { + return m.HttpAuthorizationHeader + } + return nil +} + +// Data used to configure an affiliate location feed populated with the +// specified chains. +type Feed_AffiliateLocationFeedData struct { + // The list of chains that the affiliate location feed will sync the + // locations from. + ChainIds []*wrappers.Int64Value `protobuf:"bytes,1,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` + // The relationship the chains have with the advertiser. + RelationshipType enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType `protobuf:"varint,2,opt,name=relationship_type,json=relationshipType,proto3,enum=google.ads.googleads.v0.enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType" json:"relationship_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Feed_AffiliateLocationFeedData) Reset() { *m = Feed_AffiliateLocationFeedData{} } +func (m *Feed_AffiliateLocationFeedData) String() string { return proto.CompactTextString(m) } +func (*Feed_AffiliateLocationFeedData) ProtoMessage() {} +func (*Feed_AffiliateLocationFeedData) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{0, 1} +} +func (m *Feed_AffiliateLocationFeedData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Feed_AffiliateLocationFeedData.Unmarshal(m, b) +} +func (m *Feed_AffiliateLocationFeedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Feed_AffiliateLocationFeedData.Marshal(b, m, deterministic) +} +func (dst *Feed_AffiliateLocationFeedData) XXX_Merge(src proto.Message) { + xxx_messageInfo_Feed_AffiliateLocationFeedData.Merge(dst, src) +} +func (m *Feed_AffiliateLocationFeedData) XXX_Size() int { + return xxx_messageInfo_Feed_AffiliateLocationFeedData.Size(m) +} +func (m *Feed_AffiliateLocationFeedData) XXX_DiscardUnknown() { + xxx_messageInfo_Feed_AffiliateLocationFeedData.DiscardUnknown(m) +} + +var xxx_messageInfo_Feed_AffiliateLocationFeedData proto.InternalMessageInfo + +func (m *Feed_AffiliateLocationFeedData) GetChainIds() []*wrappers.Int64Value { + if m != nil { + return m.ChainIds + } + return nil +} + +func (m *Feed_AffiliateLocationFeedData) GetRelationshipType() enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType { + if m != nil { + return m.RelationshipType + } + return enums.AffiliateLocationFeedRelationshipTypeEnum_UNSPECIFIED +} + +// FeedAttributes define the types of data expected to be present in a Feed. A +// single FeedAttribute specifies the expected type of the FeedItemAttributes +// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as +// being part of a FeedItem's unique key. +type FeedAttribute struct { + // ID of the attribute. + Id *wrappers.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The name of the attribute. Required. + Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Data type for feed attribute. Required. + Type enums.FeedAttributeTypeEnum_FeedAttributeType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.FeedAttributeTypeEnum_FeedAttributeType" json:"type,omitempty"` + // Indicates that data corresponding to this attribute is part of a + // FeedItem's unique key. It defaults to false if it is unspecified. Note + // that a unique key is not required in a Feed's schema, in which case the + // FeedItems must be referenced by their feed_item_id. + IsPartOfKey *wrappers.BoolValue `protobuf:"bytes,4,opt,name=is_part_of_key,json=isPartOfKey,proto3" json:"is_part_of_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedAttribute) Reset() { *m = FeedAttribute{} } +func (m *FeedAttribute) String() string { return proto.CompactTextString(m) } +func (*FeedAttribute) ProtoMessage() {} +func (*FeedAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{1} +} +func (m *FeedAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedAttribute.Unmarshal(m, b) +} +func (m *FeedAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedAttribute.Marshal(b, m, deterministic) +} +func (dst *FeedAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedAttribute.Merge(dst, src) +} +func (m *FeedAttribute) XXX_Size() int { + return xxx_messageInfo_FeedAttribute.Size(m) +} +func (m *FeedAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_FeedAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedAttribute proto.InternalMessageInfo + +func (m *FeedAttribute) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *FeedAttribute) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *FeedAttribute) GetType() enums.FeedAttributeTypeEnum_FeedAttributeType { + if m != nil { + return m.Type + } + return enums.FeedAttributeTypeEnum_UNSPECIFIED +} + +func (m *FeedAttribute) GetIsPartOfKey() *wrappers.BoolValue { + if m != nil { + return m.IsPartOfKey + } + return nil +} + +// Operation to be performed on a feed attribute list in a mutate. +type FeedAttributeOperation struct { + // Type of list operation to perform. + Operator FeedAttributeOperation_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v0.resources.FeedAttributeOperation_Operator" json:"operator,omitempty"` + // The feed attribute being added to the list. + Value *FeedAttribute `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedAttributeOperation) Reset() { *m = FeedAttributeOperation{} } +func (m *FeedAttributeOperation) String() string { return proto.CompactTextString(m) } +func (*FeedAttributeOperation) ProtoMessage() {} +func (*FeedAttributeOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_c128d3201d6e53c9, []int{2} +} +func (m *FeedAttributeOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedAttributeOperation.Unmarshal(m, b) +} +func (m *FeedAttributeOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedAttributeOperation.Marshal(b, m, deterministic) +} +func (dst *FeedAttributeOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedAttributeOperation.Merge(dst, src) +} +func (m *FeedAttributeOperation) XXX_Size() int { + return xxx_messageInfo_FeedAttributeOperation.Size(m) +} +func (m *FeedAttributeOperation) XXX_DiscardUnknown() { + xxx_messageInfo_FeedAttributeOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedAttributeOperation proto.InternalMessageInfo + +func (m *FeedAttributeOperation) GetOperator() FeedAttributeOperation_Operator { + if m != nil { + return m.Operator + } + return FeedAttributeOperation_UNSPECIFIED +} + +func (m *FeedAttributeOperation) GetValue() *FeedAttribute { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*Feed)(nil), "google.ads.googleads.v0.resources.Feed") + proto.RegisterType((*Feed_PlacesLocationFeedData)(nil), "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData") + proto.RegisterType((*Feed_PlacesLocationFeedData_OAuthInfo)(nil), "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData.OAuthInfo") + proto.RegisterType((*Feed_AffiliateLocationFeedData)(nil), "google.ads.googleads.v0.resources.Feed.AffiliateLocationFeedData") + proto.RegisterType((*FeedAttribute)(nil), "google.ads.googleads.v0.resources.FeedAttribute") + proto.RegisterType((*FeedAttributeOperation)(nil), "google.ads.googleads.v0.resources.FeedAttributeOperation") + proto.RegisterEnum("google.ads.googleads.v0.resources.FeedAttributeOperation_Operator", FeedAttributeOperation_Operator_name, FeedAttributeOperation_Operator_value) +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/feed.proto", fileDescriptor_feed_c128d3201d6e53c9) +} + +var fileDescriptor_feed_c128d3201d6e53c9 = []byte{ + // 999 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0xc7, 0xd7, 0x49, 0xfa, 0x23, 0x93, 0x36, 0x1b, 0x86, 0x55, 0x71, 0xd2, 0x05, 0x75, 0x8b, + 0x90, 0x2a, 0x81, 0x9c, 0x10, 0x10, 0x2c, 0x42, 0x80, 0x1c, 0xda, 0xb4, 0x61, 0xd9, 0x24, 0x72, + 0x69, 0x41, 0xab, 0x08, 0x6b, 0x12, 0x8f, 0x9d, 0x11, 0x8e, 0xc7, 0xcc, 0x8c, 0x8b, 0x02, 0x57, + 0x6e, 0xfc, 0x09, 0xdc, 0x38, 0xf2, 0xa7, 0x70, 0xe0, 0x2f, 0x81, 0xd3, 0x1e, 0xb8, 0x22, 0xcf, + 0xd8, 0x26, 0x6c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 0x0b, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_item.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_item.pb.go new file mode 100644 index 000000000..e94e12938 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_item.pb.go @@ -0,0 +1,343 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/feed_item.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A feed item. +type FeedItem struct { + // The resource name of the feed item. + // Feed item resource names have the form: + // + // `customers/{customer_id}/feedItems/{feed_id}_{feed_item_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The feed to which this feed item belongs. + Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` + // The ID of this feed item. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // Start time in which this feed item is effective and can begin serving. + // The format is "YYYY-MM-DD HH:MM:SS". + // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + StartDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=start_date_time,json=startDateTime,proto3" json:"start_date_time,omitempty"` + // End time in which this feed item is no longer effective and will stop + // The format is "YYYY-MM-DD HH:MM:SS". + // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + EndDateTime *wrappers.StringValue `protobuf:"bytes,5,opt,name=end_date_time,json=endDateTime,proto3" json:"end_date_time,omitempty"` + // The feed item's attribute values. + AttributeValues []*FeedItemAttributeValue `protobuf:"bytes,6,rep,name=attribute_values,json=attributeValues,proto3" json:"attribute_values,omitempty"` + // Geo targeting restriction specifies the type of location that can be used + // for targeting. + GeoTargetingRestriction enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction `protobuf:"varint,7,opt,name=geo_targeting_restriction,json=geoTargetingRestriction,proto3,enum=google.ads.googleads.v0.enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction" json:"geo_targeting_restriction,omitempty"` + // The list of mappings used to substitute custom parameter tags in a + // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + UrlCustomParameters []*common.CustomParameter `protobuf:"bytes,8,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` + // Status of the feed item. + // This field is read-only. + Status enums.FeedItemStatusEnum_FeedItemStatus `protobuf:"varint,9,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedItemStatusEnum_FeedItemStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedItem) Reset() { *m = FeedItem{} } +func (m *FeedItem) String() string { return proto.CompactTextString(m) } +func (*FeedItem) ProtoMessage() {} +func (*FeedItem) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_528e30839a34eac0, []int{0} +} +func (m *FeedItem) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedItem.Unmarshal(m, b) +} +func (m *FeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedItem.Marshal(b, m, deterministic) +} +func (dst *FeedItem) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedItem.Merge(dst, src) +} +func (m *FeedItem) XXX_Size() int { + return xxx_messageInfo_FeedItem.Size(m) +} +func (m *FeedItem) XXX_DiscardUnknown() { + xxx_messageInfo_FeedItem.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedItem proto.InternalMessageInfo + +func (m *FeedItem) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *FeedItem) GetFeed() *wrappers.StringValue { + if m != nil { + return m.Feed + } + return nil +} + +func (m *FeedItem) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *FeedItem) GetStartDateTime() *wrappers.StringValue { + if m != nil { + return m.StartDateTime + } + return nil +} + +func (m *FeedItem) GetEndDateTime() *wrappers.StringValue { + if m != nil { + return m.EndDateTime + } + return nil +} + +func (m *FeedItem) GetAttributeValues() []*FeedItemAttributeValue { + if m != nil { + return m.AttributeValues + } + return nil +} + +func (m *FeedItem) GetGeoTargetingRestriction() enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction { + if m != nil { + return m.GeoTargetingRestriction + } + return enums.GeoTargetingRestrictionEnum_UNSPECIFIED +} + +func (m *FeedItem) GetUrlCustomParameters() []*common.CustomParameter { + if m != nil { + return m.UrlCustomParameters + } + return nil +} + +func (m *FeedItem) GetStatus() enums.FeedItemStatusEnum_FeedItemStatus { + if m != nil { + return m.Status + } + return enums.FeedItemStatusEnum_UNSPECIFIED +} + +// A feed item attribute value. +type FeedItemAttributeValue struct { + // Id of the feed attribute for which the value is associated with. + FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"` + // Int64 value. Should be set if feed_attribute_id refers to a feed attribute + // of type INT64. + IntegerValue *wrappers.Int64Value `protobuf:"bytes,2,opt,name=integer_value,json=integerValue,proto3" json:"integer_value,omitempty"` + // Bool value. Should be set if feed_attribute_id refers to a feed attribute + // of type BOOLEAN. + BooleanValue *wrappers.BoolValue `protobuf:"bytes,3,opt,name=boolean_value,json=booleanValue,proto3" json:"boolean_value,omitempty"` + // String value. Should be set if feed_attribute_id refers to a feed attribute + // of type STRING, URL or DATE_TIME. + // For STRING the maximum length is 1500 characters. For URL the maximum + // length is 2076 characters. For DATE_TIME the format of the string must + // be the same as start and end time for the feed item. + StringValue *wrappers.StringValue `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` + // Double value. Should be set if feed_attribute_id refers to a feed attribute + // of type DOUBLE. + DoubleValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` + // Price value. Should be set if feed_attribute_id refers to a feed attribute + // of type PRICE. + PriceValue *common.Price `protobuf:"bytes,6,opt,name=price_value,json=priceValue,proto3" json:"price_value,omitempty"` + // Repeated int64 value. Should be set if feed_attribute_id refers to a feed + // attribute of type INT64_LIST. + IntegerValues []*wrappers.Int64Value `protobuf:"bytes,7,rep,name=integer_values,json=integerValues,proto3" json:"integer_values,omitempty"` + // Repeated bool value. Should be set if feed_attribute_id refers to a feed + // attribute of type BOOLEAN_LIST. + BooleanValues []*wrappers.BoolValue `protobuf:"bytes,8,rep,name=boolean_values,json=booleanValues,proto3" json:"boolean_values,omitempty"` + // Repeated string value. Should be set if feed_attribute_id refers to a feed + // attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. + // For STRING_LIST and URL_LIST the total size of the list in bytes may not + // exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. + // + // For STRING_LIST the maximum length of each string element is 1500 + // characters. For URL_LIST the maximum length is 2076 characters. For + // DATE_TIME the format of the string must be the same as start and end time + // for the feed item. + StringValues []*wrappers.StringValue `protobuf:"bytes,9,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"` + // Repeated double value. Should be set if feed_attribute_id refers to a feed + // attribute of type DOUBLE_LIST. + DoubleValues []*wrappers.DoubleValue `protobuf:"bytes,10,rep,name=double_values,json=doubleValues,proto3" json:"double_values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedItemAttributeValue) Reset() { *m = FeedItemAttributeValue{} } +func (m *FeedItemAttributeValue) String() string { return proto.CompactTextString(m) } +func (*FeedItemAttributeValue) ProtoMessage() {} +func (*FeedItemAttributeValue) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_528e30839a34eac0, []int{1} +} +func (m *FeedItemAttributeValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedItemAttributeValue.Unmarshal(m, b) +} +func (m *FeedItemAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedItemAttributeValue.Marshal(b, m, deterministic) +} +func (dst *FeedItemAttributeValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedItemAttributeValue.Merge(dst, src) +} +func (m *FeedItemAttributeValue) XXX_Size() int { + return xxx_messageInfo_FeedItemAttributeValue.Size(m) +} +func (m *FeedItemAttributeValue) XXX_DiscardUnknown() { + xxx_messageInfo_FeedItemAttributeValue.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedItemAttributeValue proto.InternalMessageInfo + +func (m *FeedItemAttributeValue) GetFeedAttributeId() *wrappers.Int64Value { + if m != nil { + return m.FeedAttributeId + } + return nil +} + +func (m *FeedItemAttributeValue) GetIntegerValue() *wrappers.Int64Value { + if m != nil { + return m.IntegerValue + } + return nil +} + +func (m *FeedItemAttributeValue) GetBooleanValue() *wrappers.BoolValue { + if m != nil { + return m.BooleanValue + } + return nil +} + +func (m *FeedItemAttributeValue) GetStringValue() *wrappers.StringValue { + if m != nil { + return m.StringValue + } + return nil +} + +func (m *FeedItemAttributeValue) GetDoubleValue() *wrappers.DoubleValue { + if m != nil { + return m.DoubleValue + } + return nil +} + +func (m *FeedItemAttributeValue) GetPriceValue() *common.Price { + if m != nil { + return m.PriceValue + } + return nil +} + +func (m *FeedItemAttributeValue) GetIntegerValues() []*wrappers.Int64Value { + if m != nil { + return m.IntegerValues + } + return nil +} + +func (m *FeedItemAttributeValue) GetBooleanValues() []*wrappers.BoolValue { + if m != nil { + return m.BooleanValues + } + return nil +} + +func (m *FeedItemAttributeValue) GetStringValues() []*wrappers.StringValue { + if m != nil { + return m.StringValues + } + return nil +} + +func (m *FeedItemAttributeValue) GetDoubleValues() []*wrappers.DoubleValue { + if m != nil { + return m.DoubleValues + } + return nil +} + +func init() { + proto.RegisterType((*FeedItem)(nil), "google.ads.googleads.v0.resources.FeedItem") + proto.RegisterType((*FeedItemAttributeValue)(nil), "google.ads.googleads.v0.resources.FeedItemAttributeValue") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/feed_item.proto", fileDescriptor_feed_item_528e30839a34eac0) +} + +var fileDescriptor_feed_item_528e30839a34eac0 = []byte{ + // 722 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xd1, 0x6a, 0xdb, 0x3a, + 0x18, 0xc7, 0x49, 0xd2, 0xa6, 0xad, 0x12, 0xb7, 0xe7, 0xf8, 0x70, 0xce, 0xf1, 0xba, 0x31, 0xd2, + 0x8e, 0x42, 0x60, 0x60, 0x67, 0x5d, 0x37, 0x18, 0x63, 0xac, 0xc9, 0xba, 0x86, 0xee, 0x62, 0x04, + 0xb7, 0x94, 0x31, 0x02, 0x46, 0x89, 0xbe, 0x1a, 0x81, 0x6d, 0x05, 0x49, 0xee, 0xde, 0x62, 0x0f, + 0xb1, 0xcb, 0xbd, 0xc2, 0xde, 0x60, 0xec, 0x6a, 0x4f, 0x34, 0x2c, 0x4b, 0x8e, 0xd3, 0xd6, 0x49, + 0xef, 0x24, 0xfb, 0xfb, 0xfd, 0xbf, 0x4f, 0xff, 0xfc, 0x15, 0xa3, 0x67, 0x21, 0x63, 0x61, 0x04, + 0x1e, 0x26, 0xc2, 0xcb, 0x97, 0xd9, 0xea, 0xba, 0xe7, 0x71, 0x10, 0x2c, 0xe5, 0x53, 0x10, 0xde, + 0x15, 0x00, 0x09, 0xa8, 0x84, 0xd8, 0x9d, 0x71, 0x26, 0x99, 0xbd, 0x97, 0xd7, 0xb9, 0x98, 0x08, + 0xb7, 0x40, 0xdc, 0xeb, 0x9e, 0x5b, 0x20, 0xbb, 0x2f, 0xaa, 0x54, 0xa7, 0x2c, 0x8e, 0x59, 0xe2, + 0x4d, 0x53, 0x21, 0x59, 0x1c, 0xcc, 0x30, 0xc7, 0x31, 0x48, 0xe0, 0xb9, 0xf2, 0x6e, 0x6f, 0x05, + 0xa6, 0x26, 0xc9, 0xd7, 0x9a, 0x38, 0xaa, 0x22, 0x20, 0x49, 0xe3, 0xd2, 0xe8, 0x81, 0x90, 0x58, + 0xa6, 0x42, 0x53, 0x6f, 0x96, 0x53, 0x21, 0xb0, 0x40, 0x62, 0x1e, 0x82, 0xa4, 0x49, 0x18, 0x70, + 0x10, 0x92, 0xd3, 0xa9, 0xa4, 0x45, 0xd3, 0xc7, 0x1a, 0x57, 0xbb, 0x49, 0x7a, 0xe5, 0x7d, 0xe1, + 0x78, 0x36, 0x03, 0xae, 0xe5, 0xf7, 0x7f, 0xad, 0xa3, 0xcd, 0x53, 0x00, 0x72, 0x26, 0x21, 0xb6, + 0x9f, 0x20, 0xcb, 0xf8, 0x12, 0x24, 0x38, 0x06, 0xa7, 0xd6, 0xa9, 0x75, 0xb7, 0xfc, 0xb6, 0x79, + 0xf8, 0x11, 0xc7, 0x60, 0xf7, 0xd0, 0x5a, 0x36, 0xaa, 0x53, 0xef, 0xd4, 0xba, 0xad, 0xc3, 0x47, + 0xda, 0x56, 0xd7, 0x34, 0x70, 0xcf, 0x25, 0xa7, 0x49, 0x78, 0x89, 0xa3, 0x14, 0x7c, 0x55, 0x69, + 0x3f, 0x45, 0x75, 0x4a, 0x9c, 0x86, 0xaa, 0x7f, 0x78, 0xab, 0xfe, 0x2c, 0x91, 0x2f, 0x8f, 0xf2, + 0xf2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4, 0x42, 0x48, 0x54, + 0x4f, 0xf3, 0xd9, 0x98, 0x51, 0xb1, 0xe4, 0xd3, 0xf9, 0xba, 0x58, 0x7d, 0xab, 0x37, 0x86, 0xfd, + 0xfe, 0xf7, 0xfa, 0xde, 0x30, 0x97, 0xec, 0x13, 0xe1, 0xe6, 0xcb, 0x6c, 0x75, 0xd9, 0x73, 0x7d, + 0x53, 0xf9, 0xd3, 0xd4, 0x8c, 0xfb, 0x44, 0x8c, 0x8b, 0x9a, 0xf1, 0x65, 0x6f, 0x5c, 0xd4, 0x4c, + 0x9a, 0x6a, 0x88, 0xe7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x75, 0x42, 0x94, 0x5b, 0xbe, 0x07, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_mapping.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_mapping.pb.go new file mode 100644 index 000000000..fdb059b83 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/feed_mapping.pb.go @@ -0,0 +1,867 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/feed_mapping.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A feed mapping. +type FeedMapping struct { + // The resource name of the feed mapping. + // Feed mapping resource names have the form: + // + // `customers/{customer_id}/feedMappings/{feed_id}_{feed_mapping_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The feed of this feed mapping. + Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` + // Feed attributes to field mappings. These mappings are a one-to-many + // relationship meaning that 1 feed attribute can be used to populate + // multiple placeholder fields, but 1 placeholder field can only draw + // data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder + // field can be mapped to multiple feed attributes. Required. + AttributeFieldMappings []*AttributeFieldMapping `protobuf:"bytes,5,rep,name=attribute_field_mappings,json=attributeFieldMappings,proto3" json:"attribute_field_mappings,omitempty"` + // Status of the feed mapping. + // This field is read-only. + Status enums.FeedMappingStatusEnum_FeedMappingStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.FeedMappingStatusEnum_FeedMappingStatus" json:"status,omitempty"` + // Feed mapping target. Can be either a placeholder or a criterion. For a + // given feed, the active FeedMappings must have unique targets. Required. + // + // Types that are valid to be assigned to Target: + // *FeedMapping_PlaceholderType + // *FeedMapping_CriterionType + Target isFeedMapping_Target `protobuf_oneof:"target"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedMapping) Reset() { *m = FeedMapping{} } +func (m *FeedMapping) String() string { return proto.CompactTextString(m) } +func (*FeedMapping) ProtoMessage() {} +func (*FeedMapping) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_531c94f1bcfe6b63, []int{0} +} +func (m *FeedMapping) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedMapping.Unmarshal(m, b) +} +func (m *FeedMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedMapping.Marshal(b, m, deterministic) +} +func (dst *FeedMapping) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedMapping.Merge(dst, src) +} +func (m *FeedMapping) XXX_Size() int { + return xxx_messageInfo_FeedMapping.Size(m) +} +func (m *FeedMapping) XXX_DiscardUnknown() { + xxx_messageInfo_FeedMapping.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedMapping proto.InternalMessageInfo + +func (m *FeedMapping) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *FeedMapping) GetFeed() *wrappers.StringValue { + if m != nil { + return m.Feed + } + return nil +} + +func (m *FeedMapping) GetAttributeFieldMappings() []*AttributeFieldMapping { + if m != nil { + return m.AttributeFieldMappings + } + return nil +} + +func (m *FeedMapping) GetStatus() enums.FeedMappingStatusEnum_FeedMappingStatus { + if m != nil { + return m.Status + } + return enums.FeedMappingStatusEnum_UNSPECIFIED +} + +type isFeedMapping_Target interface { + isFeedMapping_Target() +} + +type FeedMapping_PlaceholderType struct { + PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,3,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v0.enums.PlaceholderTypeEnum_PlaceholderType,oneof"` +} + +type FeedMapping_CriterionType struct { + CriterionType enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType `protobuf:"varint,4,opt,name=criterion_type,json=criterionType,proto3,enum=google.ads.googleads.v0.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType,oneof"` +} + +func (*FeedMapping_PlaceholderType) isFeedMapping_Target() {} + +func (*FeedMapping_CriterionType) isFeedMapping_Target() {} + +func (m *FeedMapping) GetTarget() isFeedMapping_Target { + if m != nil { + return m.Target + } + return nil +} + +func (m *FeedMapping) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { + if x, ok := m.GetTarget().(*FeedMapping_PlaceholderType); ok { + return x.PlaceholderType + } + return enums.PlaceholderTypeEnum_UNSPECIFIED +} + +func (m *FeedMapping) GetCriterionType() enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType { + if x, ok := m.GetTarget().(*FeedMapping_CriterionType); ok { + return x.CriterionType + } + return enums.FeedMappingCriterionTypeEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*FeedMapping) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _FeedMapping_OneofMarshaler, _FeedMapping_OneofUnmarshaler, _FeedMapping_OneofSizer, []interface{}{ + (*FeedMapping_PlaceholderType)(nil), + (*FeedMapping_CriterionType)(nil), + } +} + +func _FeedMapping_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*FeedMapping) + // target + switch x := m.Target.(type) { + case *FeedMapping_PlaceholderType: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.PlaceholderType)) + case *FeedMapping_CriterionType: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CriterionType)) + case nil: + default: + return fmt.Errorf("FeedMapping.Target has unexpected type %T", x) + } + return nil +} + +func _FeedMapping_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*FeedMapping) + switch tag { + case 3: // target.placeholder_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Target = &FeedMapping_PlaceholderType{enums.PlaceholderTypeEnum_PlaceholderType(x)} + return true, err + case 4: // target.criterion_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Target = &FeedMapping_CriterionType{enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType(x)} + return true, err + default: + return false, nil + } +} + +func _FeedMapping_OneofSizer(msg proto.Message) (n int) { + m := msg.(*FeedMapping) + // target + switch x := m.Target.(type) { + case *FeedMapping_PlaceholderType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.PlaceholderType)) + case *FeedMapping_CriterionType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CriterionType)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Maps from feed attribute id to a placeholder or criterion field id. +type AttributeFieldMapping struct { + // Feed attribute from which to map. + FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"` + // The placeholder field ID. If a placeholder field enum is not published in + // the current API version, then this field will be populated and the field + // oneof will be empty. + // This field is read-only. + FieldId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` + // Placeholder or criterion field to be populated using data from + // the above feed attribute. Required. + // + // Types that are valid to be assigned to Field: + // *AttributeFieldMapping_SitelinkField + // *AttributeFieldMapping_CallField + // *AttributeFieldMapping_AppField + // *AttributeFieldMapping_CalloutField + // *AttributeFieldMapping_StructuredSnippetField + // *AttributeFieldMapping_MessageField + // *AttributeFieldMapping_PriceField + // *AttributeFieldMapping_PromotionField + // *AttributeFieldMapping_AdCustomizerField + // *AttributeFieldMapping_EducationField + // *AttributeFieldMapping_FlightField + // *AttributeFieldMapping_CustomField + // *AttributeFieldMapping_HotelField + // *AttributeFieldMapping_RealEstateField + // *AttributeFieldMapping_TravelField + // *AttributeFieldMapping_LocalField + // *AttributeFieldMapping_JobField + Field isAttributeFieldMapping_Field `protobuf_oneof:"field"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AttributeFieldMapping) Reset() { *m = AttributeFieldMapping{} } +func (m *AttributeFieldMapping) String() string { return proto.CompactTextString(m) } +func (*AttributeFieldMapping) ProtoMessage() {} +func (*AttributeFieldMapping) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_531c94f1bcfe6b63, []int{1} +} +func (m *AttributeFieldMapping) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AttributeFieldMapping.Unmarshal(m, b) +} +func (m *AttributeFieldMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AttributeFieldMapping.Marshal(b, m, deterministic) +} +func (dst *AttributeFieldMapping) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttributeFieldMapping.Merge(dst, src) +} +func (m *AttributeFieldMapping) XXX_Size() int { + return xxx_messageInfo_AttributeFieldMapping.Size(m) +} +func (m *AttributeFieldMapping) XXX_DiscardUnknown() { + xxx_messageInfo_AttributeFieldMapping.DiscardUnknown(m) +} + +var xxx_messageInfo_AttributeFieldMapping proto.InternalMessageInfo + +func (m *AttributeFieldMapping) GetFeedAttributeId() *wrappers.Int64Value { + if m != nil { + return m.FeedAttributeId + } + return nil +} + +func (m *AttributeFieldMapping) GetFieldId() *wrappers.Int64Value { + if m != nil { + return m.FieldId + } + return nil +} + +type isAttributeFieldMapping_Field interface { + isAttributeFieldMapping_Field() +} + +type AttributeFieldMapping_SitelinkField struct { + SitelinkField enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField `protobuf:"varint,3,opt,name=sitelink_field,json=sitelinkField,proto3,enum=google.ads.googleads.v0.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField,oneof"` +} + +type AttributeFieldMapping_CallField struct { + CallField enums.CallPlaceholderFieldEnum_CallPlaceholderField `protobuf:"varint,4,opt,name=call_field,json=callField,proto3,enum=google.ads.googleads.v0.enums.CallPlaceholderFieldEnum_CallPlaceholderField,oneof"` +} + +type AttributeFieldMapping_AppField struct { + AppField enums.AppPlaceholderFieldEnum_AppPlaceholderField `protobuf:"varint,5,opt,name=app_field,json=appField,proto3,enum=google.ads.googleads.v0.enums.AppPlaceholderFieldEnum_AppPlaceholderField,oneof"` +} + +type AttributeFieldMapping_CalloutField struct { + CalloutField enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField `protobuf:"varint,8,opt,name=callout_field,json=calloutField,proto3,enum=google.ads.googleads.v0.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField,oneof"` +} + +type AttributeFieldMapping_StructuredSnippetField struct { + StructuredSnippetField enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField `protobuf:"varint,9,opt,name=structured_snippet_field,json=structuredSnippetField,proto3,enum=google.ads.googleads.v0.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField,oneof"` +} + +type AttributeFieldMapping_MessageField struct { + MessageField enums.MessagePlaceholderFieldEnum_MessagePlaceholderField `protobuf:"varint,10,opt,name=message_field,json=messageField,proto3,enum=google.ads.googleads.v0.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField,oneof"` +} + +type AttributeFieldMapping_PriceField struct { + PriceField enums.PricePlaceholderFieldEnum_PricePlaceholderField `protobuf:"varint,11,opt,name=price_field,json=priceField,proto3,enum=google.ads.googleads.v0.enums.PricePlaceholderFieldEnum_PricePlaceholderField,oneof"` +} + +type AttributeFieldMapping_PromotionField struct { + PromotionField enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField `protobuf:"varint,12,opt,name=promotion_field,json=promotionField,proto3,enum=google.ads.googleads.v0.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField,oneof"` +} + +type AttributeFieldMapping_AdCustomizerField struct { + AdCustomizerField enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField `protobuf:"varint,13,opt,name=ad_customizer_field,json=adCustomizerField,proto3,enum=google.ads.googleads.v0.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField,oneof"` +} + +type AttributeFieldMapping_EducationField struct { + EducationField enums.EducationPlaceholderFieldEnum_EducationPlaceholderField `protobuf:"varint,16,opt,name=education_field,json=educationField,proto3,enum=google.ads.googleads.v0.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField,oneof"` +} + +type AttributeFieldMapping_FlightField struct { + FlightField enums.FlightPlaceholderFieldEnum_FlightPlaceholderField `protobuf:"varint,17,opt,name=flight_field,json=flightField,proto3,enum=google.ads.googleads.v0.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField,oneof"` +} + +type AttributeFieldMapping_CustomField struct { + CustomField enums.CustomPlaceholderFieldEnum_CustomPlaceholderField `protobuf:"varint,18,opt,name=custom_field,json=customField,proto3,enum=google.ads.googleads.v0.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField,oneof"` +} + +type AttributeFieldMapping_HotelField struct { + HotelField enums.HotelPlaceholderFieldEnum_HotelPlaceholderField `protobuf:"varint,19,opt,name=hotel_field,json=hotelField,proto3,enum=google.ads.googleads.v0.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField,oneof"` +} + +type AttributeFieldMapping_RealEstateField struct { + RealEstateField enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField `protobuf:"varint,20,opt,name=real_estate_field,json=realEstateField,proto3,enum=google.ads.googleads.v0.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField,oneof"` +} + +type AttributeFieldMapping_TravelField struct { + TravelField enums.TravelPlaceholderFieldEnum_TravelPlaceholderField `protobuf:"varint,21,opt,name=travel_field,json=travelField,proto3,enum=google.ads.googleads.v0.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField,oneof"` +} + +type AttributeFieldMapping_LocalField struct { + LocalField enums.LocalPlaceholderFieldEnum_LocalPlaceholderField `protobuf:"varint,22,opt,name=local_field,json=localField,proto3,enum=google.ads.googleads.v0.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField,oneof"` +} + +type AttributeFieldMapping_JobField struct { + JobField enums.JobPlaceholderFieldEnum_JobPlaceholderField `protobuf:"varint,23,opt,name=job_field,json=jobField,proto3,enum=google.ads.googleads.v0.enums.JobPlaceholderFieldEnum_JobPlaceholderField,oneof"` +} + +func (*AttributeFieldMapping_SitelinkField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_CallField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_AppField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_CalloutField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_StructuredSnippetField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_MessageField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_PriceField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_PromotionField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_AdCustomizerField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_EducationField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_FlightField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_CustomField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_HotelField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_RealEstateField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_TravelField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_LocalField) isAttributeFieldMapping_Field() {} + +func (*AttributeFieldMapping_JobField) isAttributeFieldMapping_Field() {} + +func (m *AttributeFieldMapping) GetField() isAttributeFieldMapping_Field { + if m != nil { + return m.Field + } + return nil +} + +func (m *AttributeFieldMapping) GetSitelinkField() enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_SitelinkField); ok { + return x.SitelinkField + } + return enums.SitelinkPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetCallField() enums.CallPlaceholderFieldEnum_CallPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_CallField); ok { + return x.CallField + } + return enums.CallPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetAppField() enums.AppPlaceholderFieldEnum_AppPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_AppField); ok { + return x.AppField + } + return enums.AppPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetCalloutField() enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_CalloutField); ok { + return x.CalloutField + } + return enums.CalloutPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetStructuredSnippetField() enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_StructuredSnippetField); ok { + return x.StructuredSnippetField + } + return enums.StructuredSnippetPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetMessageField() enums.MessagePlaceholderFieldEnum_MessagePlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_MessageField); ok { + return x.MessageField + } + return enums.MessagePlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetPriceField() enums.PricePlaceholderFieldEnum_PricePlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_PriceField); ok { + return x.PriceField + } + return enums.PricePlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetPromotionField() enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_PromotionField); ok { + return x.PromotionField + } + return enums.PromotionPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetAdCustomizerField() enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_AdCustomizerField); ok { + return x.AdCustomizerField + } + return enums.AdCustomizerPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetEducationField() enums.EducationPlaceholderFieldEnum_EducationPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_EducationField); ok { + return x.EducationField + } + return enums.EducationPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetFlightField() enums.FlightPlaceholderFieldEnum_FlightPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_FlightField); ok { + return x.FlightField + } + return enums.FlightPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetCustomField() enums.CustomPlaceholderFieldEnum_CustomPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_CustomField); ok { + return x.CustomField + } + return enums.CustomPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetHotelField() enums.HotelPlaceholderFieldEnum_HotelPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_HotelField); ok { + return x.HotelField + } + return enums.HotelPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetRealEstateField() enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_RealEstateField); ok { + return x.RealEstateField + } + return enums.RealEstatePlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetTravelField() enums.TravelPlaceholderFieldEnum_TravelPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_TravelField); ok { + return x.TravelField + } + return enums.TravelPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetLocalField() enums.LocalPlaceholderFieldEnum_LocalPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_LocalField); ok { + return x.LocalField + } + return enums.LocalPlaceholderFieldEnum_UNSPECIFIED +} + +func (m *AttributeFieldMapping) GetJobField() enums.JobPlaceholderFieldEnum_JobPlaceholderField { + if x, ok := m.GetField().(*AttributeFieldMapping_JobField); ok { + return x.JobField + } + return enums.JobPlaceholderFieldEnum_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AttributeFieldMapping) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AttributeFieldMapping_OneofMarshaler, _AttributeFieldMapping_OneofUnmarshaler, _AttributeFieldMapping_OneofSizer, []interface{}{ + (*AttributeFieldMapping_SitelinkField)(nil), + (*AttributeFieldMapping_CallField)(nil), + (*AttributeFieldMapping_AppField)(nil), + (*AttributeFieldMapping_CalloutField)(nil), + (*AttributeFieldMapping_StructuredSnippetField)(nil), + (*AttributeFieldMapping_MessageField)(nil), + (*AttributeFieldMapping_PriceField)(nil), + (*AttributeFieldMapping_PromotionField)(nil), + (*AttributeFieldMapping_AdCustomizerField)(nil), + (*AttributeFieldMapping_EducationField)(nil), + (*AttributeFieldMapping_FlightField)(nil), + (*AttributeFieldMapping_CustomField)(nil), + (*AttributeFieldMapping_HotelField)(nil), + (*AttributeFieldMapping_RealEstateField)(nil), + (*AttributeFieldMapping_TravelField)(nil), + (*AttributeFieldMapping_LocalField)(nil), + (*AttributeFieldMapping_JobField)(nil), + } +} + +func _AttributeFieldMapping_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AttributeFieldMapping) + // field + switch x := m.Field.(type) { + case *AttributeFieldMapping_SitelinkField: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.SitelinkField)) + case *AttributeFieldMapping_CallField: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CallField)) + case *AttributeFieldMapping_AppField: + b.EncodeVarint(5<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AppField)) + case *AttributeFieldMapping_CalloutField: + b.EncodeVarint(8<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CalloutField)) + case *AttributeFieldMapping_StructuredSnippetField: + b.EncodeVarint(9<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.StructuredSnippetField)) + case *AttributeFieldMapping_MessageField: + b.EncodeVarint(10<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.MessageField)) + case *AttributeFieldMapping_PriceField: + b.EncodeVarint(11<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.PriceField)) + case *AttributeFieldMapping_PromotionField: + b.EncodeVarint(12<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.PromotionField)) + case *AttributeFieldMapping_AdCustomizerField: + b.EncodeVarint(13<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.AdCustomizerField)) + case *AttributeFieldMapping_EducationField: + b.EncodeVarint(16<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.EducationField)) + case *AttributeFieldMapping_FlightField: + b.EncodeVarint(17<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.FlightField)) + case *AttributeFieldMapping_CustomField: + b.EncodeVarint(18<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CustomField)) + case *AttributeFieldMapping_HotelField: + b.EncodeVarint(19<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.HotelField)) + case *AttributeFieldMapping_RealEstateField: + b.EncodeVarint(20<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RealEstateField)) + case *AttributeFieldMapping_TravelField: + b.EncodeVarint(21<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.TravelField)) + case *AttributeFieldMapping_LocalField: + b.EncodeVarint(22<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.LocalField)) + case *AttributeFieldMapping_JobField: + b.EncodeVarint(23<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.JobField)) + case nil: + default: + return fmt.Errorf("AttributeFieldMapping.Field has unexpected type %T", x) + } + return nil +} + +func _AttributeFieldMapping_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AttributeFieldMapping) + switch tag { + case 3: // field.sitelink_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_SitelinkField{enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField(x)} + return true, err + case 4: // field.call_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_CallField{enums.CallPlaceholderFieldEnum_CallPlaceholderField(x)} + return true, err + case 5: // field.app_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_AppField{enums.AppPlaceholderFieldEnum_AppPlaceholderField(x)} + return true, err + case 8: // field.callout_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_CalloutField{enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField(x)} + return true, err + case 9: // field.structured_snippet_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_StructuredSnippetField{enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField(x)} + return true, err + case 10: // field.message_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_MessageField{enums.MessagePlaceholderFieldEnum_MessagePlaceholderField(x)} + return true, err + case 11: // field.price_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_PriceField{enums.PricePlaceholderFieldEnum_PricePlaceholderField(x)} + return true, err + case 12: // field.promotion_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_PromotionField{enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField(x)} + return true, err + case 13: // field.ad_customizer_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_AdCustomizerField{enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField(x)} + return true, err + case 16: // field.education_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_EducationField{enums.EducationPlaceholderFieldEnum_EducationPlaceholderField(x)} + return true, err + case 17: // field.flight_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_FlightField{enums.FlightPlaceholderFieldEnum_FlightPlaceholderField(x)} + return true, err + case 18: // field.custom_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_CustomField{enums.CustomPlaceholderFieldEnum_CustomPlaceholderField(x)} + return true, err + case 19: // field.hotel_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_HotelField{enums.HotelPlaceholderFieldEnum_HotelPlaceholderField(x)} + return true, err + case 20: // field.real_estate_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_RealEstateField{enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField(x)} + return true, err + case 21: // field.travel_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_TravelField{enums.TravelPlaceholderFieldEnum_TravelPlaceholderField(x)} + return true, err + case 22: // field.local_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_LocalField{enums.LocalPlaceholderFieldEnum_LocalPlaceholderField(x)} + return true, err + case 23: // field.job_field + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Field = &AttributeFieldMapping_JobField{enums.JobPlaceholderFieldEnum_JobPlaceholderField(x)} + return true, err + default: + return false, nil + } +} + +func _AttributeFieldMapping_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AttributeFieldMapping) + // field + switch x := m.Field.(type) { + case *AttributeFieldMapping_SitelinkField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.SitelinkField)) + case *AttributeFieldMapping_CallField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CallField)) + case *AttributeFieldMapping_AppField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.AppField)) + case *AttributeFieldMapping_CalloutField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CalloutField)) + case *AttributeFieldMapping_StructuredSnippetField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.StructuredSnippetField)) + case *AttributeFieldMapping_MessageField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.MessageField)) + case *AttributeFieldMapping_PriceField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.PriceField)) + case *AttributeFieldMapping_PromotionField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.PromotionField)) + case *AttributeFieldMapping_AdCustomizerField: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.AdCustomizerField)) + case *AttributeFieldMapping_EducationField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.EducationField)) + case *AttributeFieldMapping_FlightField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.FlightField)) + case *AttributeFieldMapping_CustomField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.CustomField)) + case *AttributeFieldMapping_HotelField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.HotelField)) + case *AttributeFieldMapping_RealEstateField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.RealEstateField)) + case *AttributeFieldMapping_TravelField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.TravelField)) + case *AttributeFieldMapping_LocalField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.LocalField)) + case *AttributeFieldMapping_JobField: + n += 2 // tag and wire + n += proto.SizeVarint(uint64(x.JobField)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*FeedMapping)(nil), "google.ads.googleads.v0.resources.FeedMapping") + proto.RegisterType((*AttributeFieldMapping)(nil), "google.ads.googleads.v0.resources.AttributeFieldMapping") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/feed_mapping.proto", fileDescriptor_feed_mapping_531c94f1bcfe6b63) +} + +var fileDescriptor_feed_mapping_531c94f1bcfe6b63 = []byte{ + // 1111 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0x4b, 0x6f, 0xdc, 0x36, + 0x10, 0xc7, 0xa5, 0xf8, 0x11, 0x9b, 0xeb, 0xa7, 0xd2, 0xb8, 0x8b, 0xb4, 0x28, 0x9c, 0x14, 0x05, + 0x7c, 0xd2, 0x1a, 0xae, 0x91, 0x3e, 0xd2, 0x07, 0xd6, 0x86, 0x6d, 0xd9, 0x48, 0x02, 0x43, 0x36, + 0x8c, 0xa2, 0x58, 0x74, 0xc1, 0x95, 0xb8, 0xb2, 0x52, 0x49, 0x64, 0x29, 0xca, 0x85, 0x0b, 0xf4, + 0xd0, 0x4b, 0x8f, 0xfd, 0x10, 0x39, 0xf6, 0xd8, 0x8f, 0xd1, 0x7b, 0xef, 0xfd, 0x28, 0x05, 0x39, + 0x92, 0x76, 0xed, 0x50, 0x8f, 0xee, 0x4d, 0xe6, 0xf0, 0x3f, 0xbf, 0xe1, 0x70, 0x48, 0xce, 0x1a, + 0xed, 0x07, 0x94, 0x06, 0x11, 0xe9, 0x61, 0x3f, 0xed, 0xc1, 0xa7, 0xfc, 0xba, 0xd9, 0xed, 0x71, + 0x92, 0xd2, 0x8c, 0x7b, 0x24, 0xed, 0x8d, 0x09, 0xf1, 0x87, 0x31, 0x66, 0x2c, 0x4c, 0x02, 0x9b, + 0x71, 0x2a, 0xa8, 0xf5, 0x14, 0xa6, 0xda, 0xd8, 0x4f, 0xed, 0x52, 0x65, 0xdf, 0xec, 0xda, 0xa5, + 0xea, 0xc9, 0x61, 0x95, 0x63, 0x92, 0x64, 0x71, 0xda, 0xc3, 0xfe, 0xd0, 0xcb, 0x52, 0x41, 0xe3, + 0xf0, 0x17, 0xc2, 0x87, 0x2c, 0xc2, 0x1e, 0xb9, 0xa6, 0x91, 0x4f, 0xf8, 0x70, 0x1c, 0x92, 0xc8, + 0x07, 0xce, 0x93, 0x2f, 0x1a, 0x9c, 0x30, 0x56, 0x29, 0xfd, 0xb2, 0x5e, 0xea, 0xe1, 0x28, 0xaa, + 0xd4, 0x7e, 0xdd, 0xac, 0xa5, 0x99, 0xa8, 0x94, 0x7f, 0xd5, 0x20, 0x57, 0xeb, 0xae, 0x54, 0x7f, + 0x5b, 0xaf, 0x26, 0x7e, 0xe6, 0x61, 0x11, 0xd2, 0x64, 0x56, 0x07, 0xd3, 0xdb, 0x39, 0xf4, 0x78, + 0x28, 0x08, 0x97, 0xde, 0xc4, 0x2d, 0x23, 0xb9, 0x83, 0xcf, 0xfe, 0x87, 0x83, 0x54, 0x60, 0x91, + 0xa5, 0xed, 0x16, 0x3e, 0x8e, 0xc2, 0xe0, 0xba, 0x3a, 0x6d, 0x2f, 0xea, 0xd5, 0xd7, 0x54, 0x90, + 0x68, 0xd6, 0x4a, 0x79, 0x43, 0x47, 0xb3, 0x72, 0x23, 0xea, 0xe1, 0x99, 0x4b, 0x25, 0x26, 0x69, + 0x8a, 0x03, 0x52, 0x29, 0xdf, 0xaf, 0x97, 0x4f, 0xcb, 0xa6, 0x36, 0xa8, 0x21, 0x62, 0xc6, 0x43, + 0x8f, 0xcc, 0x5a, 0x1e, 0x8c, 0xd3, 0x98, 0xd6, 0xd6, 0x57, 0xbf, 0xde, 0x01, 0x27, 0x38, 0x1a, + 0x12, 0x59, 0x17, 0xd5, 0x31, 0x7c, 0x53, 0xef, 0x22, 0x0d, 0x05, 0x89, 0xc2, 0xe4, 0xc7, 0x4a, + 0xbd, 0xd3, 0xa0, 0x17, 0x3c, 0xf3, 0x44, 0xc6, 0x89, 0x3f, 0x4c, 0x93, 0x90, 0x31, 0x32, 0xf3, + 0x59, 0x15, 0x1c, 0xdf, 0xd4, 0x54, 0xdd, 0x47, 0xb9, 0x5a, 0xfd, 0x35, 0xca, 0xc6, 0xbd, 0x9f, + 0x39, 0x66, 0x8c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 0x50, 0xce, 0x19, 0x5c, + 0xed, 0x0e, 0xca, 0x39, 0xa3, 0x45, 0x15, 0xc4, 0xa7, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xf1, + 0x63, 0xba, 0xcf, 0x56, 0x11, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/gender_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/gender_view.pb.go new file mode 100644 index 000000000..598a9d345 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/gender_view.pb.go @@ -0,0 +1,88 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/gender_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A gender view. +type GenderView struct { + // The resource name of the gender view. + // Gender view resource names have the form: + // + // `customers/{customer_id}/genderViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenderView) Reset() { *m = GenderView{} } +func (m *GenderView) String() string { return proto.CompactTextString(m) } +func (*GenderView) ProtoMessage() {} +func (*GenderView) Descriptor() ([]byte, []int) { + return fileDescriptor_gender_view_7175490191e428e1, []int{0} +} +func (m *GenderView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenderView.Unmarshal(m, b) +} +func (m *GenderView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenderView.Marshal(b, m, deterministic) +} +func (dst *GenderView) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenderView.Merge(dst, src) +} +func (m *GenderView) XXX_Size() int { + return xxx_messageInfo_GenderView.Size(m) +} +func (m *GenderView) XXX_DiscardUnknown() { + xxx_messageInfo_GenderView.DiscardUnknown(m) +} + +var xxx_messageInfo_GenderView proto.InternalMessageInfo + +func (m *GenderView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GenderView)(nil), "google.ads.googleads.v0.resources.GenderView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/gender_view.proto", fileDescriptor_gender_view_7175490191e428e1) +} + +var fileDescriptor_gender_view_7175490191e428e1 = []byte{ + // 220 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0xf4, 0xd4, 0xbc, 0x94, 0xd4, 0xa2, 0xf8, 0xb2, + 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x4a, 0xbd, 0xc4, 0x94, + 0x62, 0x3d, 0xb8, 0x26, 0xbd, 0x32, 0x03, 0x3d, 0xb8, 0x26, 0x25, 0x43, 0x2e, 0x2e, 0x77, 0xb0, + 0xbe, 0xb0, 0xcc, 0xd4, 0x72, 0x21, 0x65, 0x2e, 0x5e, 0x98, 0x54, 0x7c, 0x5e, 0x62, 0x6e, 0xaa, + 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x0f, 0x4c, 0xd0, 0x2f, 0x31, 0x37, 0xd5, 0xe9, 0x0a, + 0x23, 0x97, 0x6a, 0x72, 0x7e, 0xae, 0x1e, 0x41, 0xc3, 0x9d, 0xf8, 0x11, 0x46, 0x07, 0x80, 0x1c, + 0x14, 0xc0, 0x18, 0xe5, 0x05, 0xd5, 0x95, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, + 0x0e, 0x72, 0x37, 0xd8, 0xb9, 0x30, 0x7f, 0x15, 0x64, 0x16, 0xe3, 0xf1, 0xa6, 0x35, 0x9c, 0xb5, + 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0xa2, 0x3b, 0xc4, 0x48, 0xc7, 0x94, 0x62, 0x3d, + 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x0b, 0x82, 0xa9, 0x3c, 0x05, 0x53, 0x13, 0xe3, 0x98, 0x52, + 0x1c, 0x03, 0x57, 0x13, 0x13, 0x66, 0x10, 0x03, 0x57, 0x93, 0xc4, 0x06, 0x76, 0x84, 0x31, 0x20, + 0x00, 0x00, 0xff, 0xff, 0x93, 0x68, 0xea, 0xbb, 0x6a, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/geo_target_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/geo_target_constant.pb.go new file mode 100644 index 000000000..cda60dc12 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/geo_target_constant.pb.go @@ -0,0 +1,146 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/geo_target_constant.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A geo target constant. +type GeoTargetConstant struct { + // The resource name of the geo target constant. + // Geo target constant resource names have the form: + // + // `geoTargetConstants/{geo_target_constant_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the geo target constant. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // Geo target constant English name. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The ISO-3166-1 alpha-2 country code that is associated with the target. + CountryCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + // Geo target constant target type. + TargetType *wrappers.StringValue `protobuf:"bytes,6,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"` + // Geo target constant status. + Status enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus `protobuf:"varint,7,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GeoTargetConstant) Reset() { *m = GeoTargetConstant{} } +func (m *GeoTargetConstant) String() string { return proto.CompactTextString(m) } +func (*GeoTargetConstant) ProtoMessage() {} +func (*GeoTargetConstant) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_07179001f0b69e8d, []int{0} +} +func (m *GeoTargetConstant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GeoTargetConstant.Unmarshal(m, b) +} +func (m *GeoTargetConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GeoTargetConstant.Marshal(b, m, deterministic) +} +func (dst *GeoTargetConstant) XXX_Merge(src proto.Message) { + xxx_messageInfo_GeoTargetConstant.Merge(dst, src) +} +func (m *GeoTargetConstant) XXX_Size() int { + return xxx_messageInfo_GeoTargetConstant.Size(m) +} +func (m *GeoTargetConstant) XXX_DiscardUnknown() { + xxx_messageInfo_GeoTargetConstant.DiscardUnknown(m) +} + +var xxx_messageInfo_GeoTargetConstant proto.InternalMessageInfo + +func (m *GeoTargetConstant) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *GeoTargetConstant) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *GeoTargetConstant) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *GeoTargetConstant) GetCountryCode() *wrappers.StringValue { + if m != nil { + return m.CountryCode + } + return nil +} + +func (m *GeoTargetConstant) GetTargetType() *wrappers.StringValue { + if m != nil { + return m.TargetType + } + return nil +} + +func (m *GeoTargetConstant) GetStatus() enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus { + if m != nil { + return m.Status + } + return enums.GeoTargetConstantStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*GeoTargetConstant)(nil), "google.ads.googleads.v0.resources.GeoTargetConstant") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/geo_target_constant.proto", fileDescriptor_geo_target_constant_07179001f0b69e8d) +} + +var fileDescriptor_geo_target_constant_07179001f0b69e8d = []byte{ + // 400 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0xca, 0xd3, 0x30, + 0x14, 0xc7, 0x69, 0xf7, 0x39, 0x31, 0xfb, 0x14, 0xec, 0x85, 0x94, 0x4f, 0x91, 0x4d, 0x11, 0x06, + 0x42, 0x5a, 0xa6, 0x78, 0x33, 0x54, 0xba, 0x21, 0x43, 0x2f, 0x64, 0x74, 0x63, 0x17, 0x52, 0x28, + 0x59, 0x73, 0x0c, 0x95, 0x35, 0x29, 0x49, 0x3a, 0xd9, 0xb5, 0x6f, 0xe2, 0xa5, 0x8f, 0xe2, 0x2b, + 0xf8, 0x32, 0xb2, 0x24, 0xed, 0xcd, 0x9c, 0xdf, 0xee, 0xfe, 0x6d, 0xfe, 0xbf, 0xff, 0x39, 0x39, + 0x39, 0x68, 0xca, 0x84, 0x60, 0x3b, 0x88, 0x08, 0x55, 0x91, 0x95, 0x47, 0xb5, 0x8f, 0x23, 0x09, + 0x4a, 0x34, 0xb2, 0x00, 0x15, 0x31, 0x10, 0xb9, 0x26, 0x92, 0x81, 0xce, 0x0b, 0xc1, 0x95, 0x26, + 0x5c, 0xe3, 0x5a, 0x0a, 0x2d, 0x82, 0x91, 0x25, 0x30, 0xa1, 0x0a, 0x77, 0x30, 0xde, 0xc7, 0xb8, + 0x83, 0x6f, 0xde, 0x9d, 0xcb, 0x07, 0xde, 0x54, 0xff, 0xcc, 0xce, 0x95, 0x26, 0xba, 0x51, 0xb6, + 0xc4, 0xcd, 0x53, 0xc7, 0x9b, 0xaf, 0x6d, 0xf3, 0x35, 0xfa, 0x2e, 0x49, 0x5d, 0x83, 0x74, 0xe7, + 0xcf, 0x7e, 0xf4, 0xd0, 0xc3, 0x05, 0x88, 0xb5, 0xc9, 0x98, 0xbb, 0x88, 0xe0, 0x39, 0xba, 0xdf, + 0xb6, 0x90, 0x73, 0x52, 0x41, 0xe8, 0x0d, 0xbd, 0xf1, 0xbd, 0xf4, 0xba, 0xfd, 0xf9, 0x99, 0x54, + 0x10, 0xbc, 0x44, 0x7e, 0x49, 0xc3, 0xde, 0xd0, 0x1b, 0x0f, 0x26, 0x8f, 0x5d, 0xff, 0xb8, 0xad, + 0x83, 0x3f, 0x72, 0xfd, 0xe6, 0xf5, 0x86, 0xec, 0x1a, 0x48, 0xfd, 0x92,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google.golang.org/genproto/googleapis/ads/googleads/v0/resources/google_ads_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/google_ads_field.pb.go new file mode 100644 index 000000000..8e1977412 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/google_ads_field.pb.go @@ -0,0 +1,246 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/google_ads_field.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A field or resource (artifact) used by GoogleAdsService. +type GoogleAdsField struct { + // The resource name of the artifact. + // Artifact resource names have the form: + // + // `googleAdsFields/{name}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The name of the artifact. + Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // The category of the artifact. + Category enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory `protobuf:"varint,3,opt,name=category,proto3,enum=google.ads.googleads.v0.enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory" json:"category,omitempty"` + // Whether the artifact can be used in a SELECT clause in search + // queries. + Selectable *wrappers.BoolValue `protobuf:"bytes,4,opt,name=selectable,proto3" json:"selectable,omitempty"` + // Whether the artifact can be used in a WHERE clause in search + // queries. + Filterable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=filterable,proto3" json:"filterable,omitempty"` + // Whether the artifact can be used in a ORDER BY clause in search + // queries. + Sortable *wrappers.BoolValue `protobuf:"bytes,6,opt,name=sortable,proto3" json:"sortable,omitempty"` + // The names of all resources, segments, and metrics that are selectable with + // the described artifact. + SelectableWith []*wrappers.StringValue `protobuf:"bytes,7,rep,name=selectable_with,json=selectableWith,proto3" json:"selectable_with,omitempty"` + // The names of all resources that are selectable with the described + // artifact. Fields from these resources do not segment metrics when included + // in search queries. + // + // This field is only set for artifacts whose category is RESOURCE. + AttributeResources []*wrappers.StringValue `protobuf:"bytes,8,rep,name=attribute_resources,json=attributeResources,proto3" json:"attribute_resources,omitempty"` + // The names of all metrics that are selectable with the described artifact. + // + // This field is only set for artifacts whose category is either RESOURCE or + // SEGMENT. + Metrics []*wrappers.StringValue `protobuf:"bytes,9,rep,name=metrics,proto3" json:"metrics,omitempty"` + // The names of all artifacts, whether a segment or another resource, that + // segment metrics when included in search queries. + // + // This field is only set for artifacts of category RESOURCE, SEGMENT or + // METRIC. + Segments []*wrappers.StringValue `protobuf:"bytes,10,rep,name=segments,proto3" json:"segments,omitempty"` + // Values the artifact can assume if it is a field of type ENUM. + // + // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. + EnumValues []*wrappers.StringValue `protobuf:"bytes,11,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"` + // This field determines the operators that can be used with the artifact + // in WHERE clauses. + DataType enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType `protobuf:"varint,12,opt,name=data_type,json=dataType,proto3,enum=google.ads.googleads.v0.enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType" json:"data_type,omitempty"` + // The URL of proto describing the artifact's data type. + TypeUrl *wrappers.StringValue `protobuf:"bytes,13,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` + // Whether the field artifact is repeated. + IsRepeated *wrappers.BoolValue `protobuf:"bytes,14,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GoogleAdsField) Reset() { *m = GoogleAdsField{} } +func (m *GoogleAdsField) String() string { return proto.CompactTextString(m) } +func (*GoogleAdsField) ProtoMessage() {} +func (*GoogleAdsField) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_0bf2ea18662864bd, []int{0} +} +func (m *GoogleAdsField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GoogleAdsField.Unmarshal(m, b) +} +func (m *GoogleAdsField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GoogleAdsField.Marshal(b, m, deterministic) +} +func (dst *GoogleAdsField) XXX_Merge(src proto.Message) { + xxx_messageInfo_GoogleAdsField.Merge(dst, src) +} +func (m *GoogleAdsField) XXX_Size() int { + return xxx_messageInfo_GoogleAdsField.Size(m) +} +func (m *GoogleAdsField) XXX_DiscardUnknown() { + xxx_messageInfo_GoogleAdsField.DiscardUnknown(m) +} + +var xxx_messageInfo_GoogleAdsField proto.InternalMessageInfo + +func (m *GoogleAdsField) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *GoogleAdsField) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *GoogleAdsField) GetCategory() enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory { + if m != nil { + return m.Category + } + return enums.GoogleAdsFieldCategoryEnum_UNSPECIFIED +} + +func (m *GoogleAdsField) GetSelectable() *wrappers.BoolValue { + if m != nil { + return m.Selectable + } + return nil +} + +func (m *GoogleAdsField) GetFilterable() *wrappers.BoolValue { + if m != nil { + return m.Filterable + } + return nil +} + +func (m *GoogleAdsField) GetSortable() *wrappers.BoolValue { + if m != nil { + return m.Sortable + } + return nil +} + +func (m *GoogleAdsField) GetSelectableWith() []*wrappers.StringValue { + if m != nil { + return m.SelectableWith + } + return nil +} + +func (m *GoogleAdsField) GetAttributeResources() []*wrappers.StringValue { + if m != nil { + return m.AttributeResources + } + return nil +} + +func (m *GoogleAdsField) GetMetrics() []*wrappers.StringValue { + if m != nil { + return m.Metrics + } + return nil +} + +func (m *GoogleAdsField) GetSegments() []*wrappers.StringValue { + if m != nil { + return m.Segments + } + return nil +} + +func (m *GoogleAdsField) GetEnumValues() []*wrappers.StringValue { + if m != nil { + return m.EnumValues + } + return nil +} + +func (m *GoogleAdsField) GetDataType() enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType { + if m != nil { + return m.DataType + } + return enums.GoogleAdsFieldDataTypeEnum_UNSPECIFIED +} + +func (m *GoogleAdsField) GetTypeUrl() *wrappers.StringValue { + if m != nil { + return m.TypeUrl + } + return nil +} + +func (m *GoogleAdsField) GetIsRepeated() *wrappers.BoolValue { + if m != nil { + return m.IsRepeated + } + return nil +} + +func init() { + proto.RegisterType((*GoogleAdsField)(nil), "google.ads.googleads.v0.resources.GoogleAdsField") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/google_ads_field.proto", fileDescriptor_google_ads_field_0bf2ea18662864bd) +} + +var fileDescriptor_google_ads_field_0bf2ea18662864bd = []byte{ + // 548 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdd, 0x6a, 0x13, 0x41, + 0x14, 0xc7, 0xd9, 0xa4, 0x36, 0x9b, 0x49, 0x1b, 0x61, 0x7a, 0x33, 0x04, 0x91, 0x54, 0x11, 0x72, + 0x35, 0x09, 0x15, 0x6a, 0xb1, 0x54, 0x48, 0xb4, 0x16, 0x04, 0x25, 0xac, 0x1a, 0x41, 0x02, 0xcb, + 0x24, 0x7b, 0xb2, 0x5d, 0x98, 0xdd, 0x59, 0x66, 0x66, 0x53, 0xf2, 0x3a, 0x5e, 0x7a, 0xe7, 0x6b, + 0xf8, 0x04, 0x3e, 0x8e, 0xec, 0xc7, 0x4c, 0x5a, 0x6a, 0x4c,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 0x02, 0xd3, 0x10, 0x90, 0xf6, 0xf6, 0x1d, 0x8b, + 0x94, 0x57, 0xa9, 0x47, 0xbf, 0x1c, 0xf4, 0x6c, 0x2e, 0x62, 0xba, 0xf5, 0xf1, 0x19, 0x1d, 0xdd, + 0x9d, 0x60, 0x9c, 0xe7, 0x1d, 0x3b, 0x5f, 0xdf, 0x55, 0x64, 0x28, 0x38, 0x4b, 0x42, 0x2a, 0x64, + 0xd8, 0x0f, 0x21, 0x29, 0xaa, 0x9a, 0x47, 0x26, 0x8d, 0xd4, 0x5f, 0xde, 0xc3, 0x73, 0x6b, 0x7d, + 0xab, 0xd5, 0xaf, 0x86, 0xc3, 0xef, 0xb5, 0xe3, 0xb2, 0x12, 0x1d, 0x06, 0xb7, 0x4e, 0x94, 0x4e, + 0x06, 0xd4, 0x2e, 0xd3, 0x4f, 0xa3, 0x99, 0x0e, 0x03, 0x35, 0xb5, 0x9a, 0xe9, 0x64, 0x30, 0xb5, + 0x9a, 0xd9, 0x7e, 0xd1, 0xc4, 0xf3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5d, 0xb8, 0x9e, 0x4d, + 0x93, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_group_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_group_view.pb.go new file mode 100644 index 000000000..61a450c9d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_group_view.pb.go @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/hotel_group_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A hotel group view. +type HotelGroupView struct { + // The resource name of the hotel group view. + // Hotel Group view resource names have the form: + // + // `customers/{customer_id}/hotelGroupViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelGroupView) Reset() { *m = HotelGroupView{} } +func (m *HotelGroupView) String() string { return proto.CompactTextString(m) } +func (*HotelGroupView) ProtoMessage() {} +func (*HotelGroupView) Descriptor() ([]byte, []int) { + return fileDescriptor_hotel_group_view_e87bc812956d3c2c, []int{0} +} +func (m *HotelGroupView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelGroupView.Unmarshal(m, b) +} +func (m *HotelGroupView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelGroupView.Marshal(b, m, deterministic) +} +func (dst *HotelGroupView) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelGroupView.Merge(dst, src) +} +func (m *HotelGroupView) XXX_Size() int { + return xxx_messageInfo_HotelGroupView.Size(m) +} +func (m *HotelGroupView) XXX_DiscardUnknown() { + xxx_messageInfo_HotelGroupView.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelGroupView proto.InternalMessageInfo + +func (m *HotelGroupView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*HotelGroupView)(nil), "google.ads.googleads.v0.resources.HotelGroupView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/hotel_group_view.proto", fileDescriptor_hotel_group_view_e87bc812956d3c2c) +} + +var fileDescriptor_hotel_group_view_e87bc812956d3c2c = []byte{ + // 230 bytes of a gzipped FileDescriptorProto + 0x1f, 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0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, + 0x05, 0xc1, 0x54, 0x9e, 0x82, 0xa9, 0x89, 0x71, 0x4c, 0x29, 0x8e, 0x81, 0xab, 0x89, 0x09, 0x33, + 0x88, 0x81, 0xab, 0x49, 0x62, 0x03, 0x3b, 0xc2, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x57, + 0x63, 0xbb, 0x77, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_performance_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_performance_view.pb.go new file mode 100644 index 000000000..6ad126fcc --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/hotel_performance_view.pb.go @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/hotel_performance_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A hotel performance view. +type HotelPerformanceView struct { + // The resource name of the hotel performance view. + // Hotel performance view resource names have the form: + // + // `customers/{customer_id}/hotelPerformanceView` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HotelPerformanceView) Reset() { *m = HotelPerformanceView{} } +func (m *HotelPerformanceView) String() string { return proto.CompactTextString(m) } +func (*HotelPerformanceView) ProtoMessage() {} +func (*HotelPerformanceView) Descriptor() ([]byte, []int) { + return fileDescriptor_hotel_performance_view_f3c3f1a054bec567, []int{0} +} +func (m *HotelPerformanceView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HotelPerformanceView.Unmarshal(m, b) +} +func (m *HotelPerformanceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HotelPerformanceView.Marshal(b, m, deterministic) +} +func (dst *HotelPerformanceView) XXX_Merge(src proto.Message) { + xxx_messageInfo_HotelPerformanceView.Merge(dst, src) +} +func (m *HotelPerformanceView) XXX_Size() int { + return xxx_messageInfo_HotelPerformanceView.Size(m) +} +func (m *HotelPerformanceView) XXX_DiscardUnknown() { + xxx_messageInfo_HotelPerformanceView.DiscardUnknown(m) +} + +var xxx_messageInfo_HotelPerformanceView proto.InternalMessageInfo + +func (m *HotelPerformanceView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*HotelPerformanceView)(nil), "google.ads.googleads.v0.resources.HotelPerformanceView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/hotel_performance_view.proto", fileDescriptor_hotel_performance_view_f3c3f1a054bec567) +} + +var fileDescriptor_hotel_performance_view_f3c3f1a054bec567 = []byte{ + // 237 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x8c, 0xfc, 0x92, 0xd4, 0x9c, 0xf8, 0x82, 0xd4, + 0xa2, 0xb4, 0xfc, 0xa2, 0xdc, 0xc4, 0xbc, 0xe4, 0xd4, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, + 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x26, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x7e, 0xbd, + 0x32, 0x03, 0x3d, 0xb8, 0x7e, 0x25, 0x6b, 0x2e, 0x11, 0x0f, 0x90, 0x11, 0x01, 0x08, 0x13, 0xc2, + 0x32, 0x53, 0xcb, 0x85, 0x94, 0xb9, 0x78, 0x61, 0x8a, 0xe2, 0xf3, 0x12, 0x73, 0x53, 0x25, 0x18, + 0x15, 0x18, 0x35, 0x38, 0x83, 0x78, 0x60, 0x82, 0x7e, 0x89, 0xb9, 0xa9, 0x4e, 0xf7, 0x18, 0xb9, + 0x54, 0x93, 0xf3, 0x73, 0xf5, 0x08, 0x5a, 0xe3, 0x24, 0x89, 0xcd, 0x92, 0x00, 0x90, 0x23, 0x03, + 0x18, 0xa3, 0xbc, 0xa0, 0xfa, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, + 0xd3, 0x53, 0xf3, 0xc0, 0x5e, 0x80, 0x79, 0xbb, 0x20, 0xb3, 0x18, 0x4f, 0x28, 0x58, 0xc3, 0x59, + 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xba, 0x43, 0x8c, 0x74, 0x4c, 0x29, 0xd6, + 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0xbd, 0x20, 0x98, 0xca, 0x53, 0x30, 0x35, 0x31, 0x8e, 0x29, + 0xc5, 0x31, 0x70, 0x35, 0x31, 0x61, 0x06, 0x31, 0x70, 0x35, 0x49, 0x6c, 0x60, 0x47, 0x18, 0x03, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x36, 0xf4, 0x24, 0xd7, 0x89, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan.pb.go new file mode 100644 index 000000000..6289be36a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan.pb.go @@ -0,0 +1,280 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/keyword_plan.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A Keyword Planner plan. +type KeywordPlan struct { + // The resource name of the Keyword Planner plan. + // KeywordPlan resource names have the form: + // + // `customers/{customer_id}/keywordPlans/{kp_plan_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the keyword plan. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The name of the keyword plan. + // + // This field is required and should not be empty when creating new keyword + // plans. + Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // The date period used for forecasting the plan. + ForecastPeriod *KeywordPlanForecastPeriod `protobuf:"bytes,4,opt,name=forecast_period,json=forecastPeriod,proto3" json:"forecast_period,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlan) Reset() { *m = KeywordPlan{} } +func (m *KeywordPlan) String() string { return proto.CompactTextString(m) } +func (*KeywordPlan) ProtoMessage() {} +func (*KeywordPlan) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_9d2df87f9b36e60a, []int{0} +} +func (m *KeywordPlan) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlan.Unmarshal(m, b) +} +func (m *KeywordPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlan.Marshal(b, m, deterministic) +} +func (dst *KeywordPlan) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlan.Merge(dst, src) +} +func (m *KeywordPlan) XXX_Size() int { + return xxx_messageInfo_KeywordPlan.Size(m) +} +func (m *KeywordPlan) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlan.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlan proto.InternalMessageInfo + +func (m *KeywordPlan) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *KeywordPlan) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *KeywordPlan) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *KeywordPlan) GetForecastPeriod() *KeywordPlanForecastPeriod { + if m != nil { + return m.ForecastPeriod + } + return nil +} + +// The forecasting period associated with the keyword plan. +type KeywordPlanForecastPeriod struct { + // Required. The date used for forecasting the Plan. + // + // Types that are valid to be assigned to Interval: + // *KeywordPlanForecastPeriod_DateInterval + // *KeywordPlanForecastPeriod_DateRange + Interval isKeywordPlanForecastPeriod_Interval `protobuf_oneof:"interval"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanForecastPeriod) Reset() { *m = KeywordPlanForecastPeriod{} } +func (m *KeywordPlanForecastPeriod) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanForecastPeriod) ProtoMessage() {} +func (*KeywordPlanForecastPeriod) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_9d2df87f9b36e60a, []int{1} +} +func (m *KeywordPlanForecastPeriod) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanForecastPeriod.Unmarshal(m, b) +} +func (m *KeywordPlanForecastPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanForecastPeriod.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanForecastPeriod) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanForecastPeriod.Merge(dst, src) +} +func (m *KeywordPlanForecastPeriod) XXX_Size() int { + return xxx_messageInfo_KeywordPlanForecastPeriod.Size(m) +} +func (m *KeywordPlanForecastPeriod) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanForecastPeriod.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanForecastPeriod proto.InternalMessageInfo + +type isKeywordPlanForecastPeriod_Interval interface { + isKeywordPlanForecastPeriod_Interval() +} + +type KeywordPlanForecastPeriod_DateInterval struct { + DateInterval enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval `protobuf:"varint,1,opt,name=date_interval,json=dateInterval,proto3,enum=google.ads.googleads.v0.enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval,oneof"` +} + +type KeywordPlanForecastPeriod_DateRange struct { + DateRange *common.DateRange `protobuf:"bytes,2,opt,name=date_range,json=dateRange,proto3,oneof"` +} + +func (*KeywordPlanForecastPeriod_DateInterval) isKeywordPlanForecastPeriod_Interval() {} + +func (*KeywordPlanForecastPeriod_DateRange) isKeywordPlanForecastPeriod_Interval() {} + +func (m *KeywordPlanForecastPeriod) GetInterval() isKeywordPlanForecastPeriod_Interval { + if m != nil { + return m.Interval + } + return nil +} + +func (m *KeywordPlanForecastPeriod) GetDateInterval() enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval { + if x, ok := m.GetInterval().(*KeywordPlanForecastPeriod_DateInterval); ok { + return x.DateInterval + } + return enums.KeywordPlanForecastIntervalEnum_UNSPECIFIED +} + +func (m *KeywordPlanForecastPeriod) GetDateRange() *common.DateRange { + if x, ok := m.GetInterval().(*KeywordPlanForecastPeriod_DateRange); ok { + return x.DateRange + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*KeywordPlanForecastPeriod) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _KeywordPlanForecastPeriod_OneofMarshaler, _KeywordPlanForecastPeriod_OneofUnmarshaler, _KeywordPlanForecastPeriod_OneofSizer, []interface{}{ + (*KeywordPlanForecastPeriod_DateInterval)(nil), + (*KeywordPlanForecastPeriod_DateRange)(nil), + } +} + +func _KeywordPlanForecastPeriod_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*KeywordPlanForecastPeriod) + // interval + switch x := m.Interval.(type) { + case *KeywordPlanForecastPeriod_DateInterval: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.DateInterval)) + case *KeywordPlanForecastPeriod_DateRange: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DateRange); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("KeywordPlanForecastPeriod.Interval has unexpected type %T", x) + } + return nil +} + +func _KeywordPlanForecastPeriod_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*KeywordPlanForecastPeriod) + switch tag { + case 1: // interval.date_interval + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Interval = &KeywordPlanForecastPeriod_DateInterval{enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval(x)} + return true, err + case 2: // interval.date_range + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.DateRange) + err := b.DecodeMessage(msg) + m.Interval = &KeywordPlanForecastPeriod_DateRange{msg} + return true, err + default: + return false, nil + } +} + +func _KeywordPlanForecastPeriod_OneofSizer(msg proto.Message) (n int) { + m := msg.(*KeywordPlanForecastPeriod) + // interval + switch x := m.Interval.(type) { + case *KeywordPlanForecastPeriod_DateInterval: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.DateInterval)) + case *KeywordPlanForecastPeriod_DateRange: + s := proto.Size(x.DateRange) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*KeywordPlan)(nil), "google.ads.googleads.v0.resources.KeywordPlan") + proto.RegisterType((*KeywordPlanForecastPeriod)(nil), "google.ads.googleads.v0.resources.KeywordPlanForecastPeriod") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/keyword_plan.proto", fileDescriptor_keyword_plan_9d2df87f9b36e60a) +} + +var fileDescriptor_keyword_plan_9d2df87f9b36e60a = []byte{ + // 453 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xcd, 0x6a, 0xd5, 0x40, + 0x14, 0xc7, 0x3b, 0x69, 0x11, 0x3b, 0xfd, 0x50, 0xb2, 0xba, 0x56, 0x91, 0xb6, 0x22, 0x54, 0x85, + 0x49, 0xa8, 0xc5, 0x8d, 0x6e, 0xee, 0x45, 0xed, 0x87, 0x20, 0x21, 0xc2, 0x5d, 0x94, 0x40, 0x98, + 0x66, 0xce, 0x1d, 0x82, 0xc9, 0x4c, 0x98, 0x49, 0x6e, 0x71, 0xe9, 0xab, 0xb8, 0xf4, 0x51, 0xdc, + 0xfb, 0x2c, 0xba, 0x94, 0xcc, 0x47, 0x68, 0xb1, 0x69, 0x77, 0xe7, 0xdc, 0xfb, 0x3b, 0xff, 0xf3, + 0x3f, 0xe7, 0x4c, 0xf0, 0x11, 0x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 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_ad_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_ad_group.pb.go new file mode 100644 index 000000000..a695e6eff --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_ad_group.pb.go @@ -0,0 +1,139 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/keyword_plan_ad_group.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A Keyword Planner ad group. +type KeywordPlanAdGroup struct { + // The resource name of the Keyword Planner ad group. + // KeywordPlanAdGroup resource names have the form: + // + // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The keyword plan campaign to which this ad group belongs. + KeywordPlanCampaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=keyword_plan_campaign,json=keywordPlanCampaign,proto3" json:"keyword_plan_campaign,omitempty"` + // The ID of the keyword plan ad group. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the keyword plan ad group. + // + // This field is required and should not be empty when creating keyword plan + // ad group. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // A default ad group max cpc bid in micros in account currency for all + // biddable keywords under the keyword plan ad group. + // If not set, will inherit from parent campaign. + CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanAdGroup) Reset() { *m = KeywordPlanAdGroup{} } +func (m *KeywordPlanAdGroup) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanAdGroup) ProtoMessage() {} +func (*KeywordPlanAdGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_f170de358444a70a, []int{0} +} +func (m *KeywordPlanAdGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanAdGroup.Unmarshal(m, b) +} +func (m *KeywordPlanAdGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanAdGroup.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanAdGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanAdGroup.Merge(dst, src) +} +func (m *KeywordPlanAdGroup) XXX_Size() int { + return xxx_messageInfo_KeywordPlanAdGroup.Size(m) +} +func (m *KeywordPlanAdGroup) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanAdGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanAdGroup proto.InternalMessageInfo + +func (m *KeywordPlanAdGroup) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *KeywordPlanAdGroup) GetKeywordPlanCampaign() *wrappers.StringValue { + if m != nil { + return m.KeywordPlanCampaign + } + return nil +} + +func (m *KeywordPlanAdGroup) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *KeywordPlanAdGroup) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *KeywordPlanAdGroup) GetCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidMicros + } + return nil +} + +func init() { + proto.RegisterType((*KeywordPlanAdGroup)(nil), "google.ads.googleads.v0.resources.KeywordPlanAdGroup") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/keyword_plan_ad_group.proto", fileDescriptor_keyword_plan_ad_group_f170de358444a70a) +} + +var fileDescriptor_keyword_plan_ad_group_f170de358444a70a = []byte{ + // 360 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x4a, 0xfb, 0x30, + 0x1c, 0xc5, 0x69, 0xb7, 0xdf, 0x0f, 0x8c, 0xd3, 0x8b, 0x8a, 0x58, 0x54, 0x64, 0x53, 0x84, 0x81, + 0x90, 0x16, 0x15, 0x6f, 0xc4, 0x8b, 0xce, 0x8b, 0xa1, 0xa2, 0x94, 0x09, 0xbb, 0x90, 0x42, 0xc9, + 0x92, 0x18, 0xc2, 0xda, 0x24, 0x24, 0xeb, 0x86, 0xaf, 0xe3, 0xa5, 0xe0, 0x8b, 0xf8, 0x0c, 0x3e, + 0x8c, 0xf4, 0xaf, 0xc8, 0xc0, 0x79, 0x77, 0x08, 0xe7, 0x73, 0xce, 0x21, 0x7c, 0xc1, 0x15, 0x93, + 0x92, 0x25, 0xd4, 0x43, 0xc4, 0x78, 0xa5, 0xcc, 0xd5, 0xdc, 0xf7, 0x34, 0x35, 0x32, 0xd3, 0x98, + 0x1a, 0x6f, 0x4a, 0x5f, 0x16, 0x52, 0x93, 0x58, 0x25, 0x48, 0xc4, 0x88, 0xc4, 0x4c, 0xcb, 0x4c, + 0x41, 0xa5, 0xe5, 0x4c, 0x3a, 0xbd, 0x92, 0x81, 0x88, 0x18, 0xd8, 0xe0, 0x70, 0xee, 0xc3, 0x06, + 0xdf, 0x3d, 0xa8, 0x1a, 0x0a, 0x60, 0x92, 0x3d, 0x7b, 0x0b, 0x8d, 0x94, 0xa2, 0xda, 0x94, 0x11, + 0x87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, 0xd5, 0xce, 0x8f, 0xda, 0x13, 0x05, 0xc4, 0x44, 0x8d, + 0x27, 0x1a, 0xfb, 0x51, 0xe3, 0x99, 0xfc, 0x2f, 0x46, 0x9c, 0x7d, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x77, 0xaa, 0xcb, 0x45, 0x99, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_campaign.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_campaign.pb.go new file mode 100644 index 000000000..6faa01619 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_campaign.pb.go @@ -0,0 +1,222 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/keyword_plan_campaign.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A Keyword Plan campaign. +type KeywordPlanCampaign struct { + // The resource name of the Keyword Plan campaign. + // KeywordPlanCampaign resource names have the form: + // + // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The keyword plan this campaign belongs to. + KeywordPlan *wrappers.StringValue `protobuf:"bytes,2,opt,name=keyword_plan,json=keywordPlan,proto3" json:"keyword_plan,omitempty"` + // The ID of the Keyword Plan campaign. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The name of the Keyword Plan campaign. + // + // This field is required and should not be empty when creating Keyword Plan + // campaigns. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The languages targeted for the Keyword Plan campaign. + LanguageConstants []*wrappers.StringValue `protobuf:"bytes,5,rep,name=language_constants,json=languageConstants,proto3" json:"language_constants,omitempty"` + // Targeting network. + // + // This field is required and should not be empty when creating Keyword Plan + // campaigns. + KeywordPlanNetwork enums.KeywordPlanNetworkEnum_KeywordPlanNetwork `protobuf:"varint,6,opt,name=keyword_plan_network,json=keywordPlanNetwork,proto3,enum=google.ads.googleads.v0.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork" json:"keyword_plan_network,omitempty"` + // A default max cpc bid in micros, and in the account currency, for all ad + // groups under the campaign. + // + // This field is required and should not be empty when creating Keyword Plan + // campaigns. + CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,7,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` + // The geo targets. + GeoTargets []*KeywordPlanGeoTarget `protobuf:"bytes,8,rep,name=geo_targets,json=geoTargets,proto3" json:"geo_targets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanCampaign) Reset() { *m = KeywordPlanCampaign{} } +func (m *KeywordPlanCampaign) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanCampaign) ProtoMessage() {} +func (*KeywordPlanCampaign) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_67d6c64c85cecb01, []int{0} +} +func (m *KeywordPlanCampaign) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanCampaign.Unmarshal(m, b) +} +func (m *KeywordPlanCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanCampaign.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanCampaign) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanCampaign.Merge(dst, src) +} +func (m *KeywordPlanCampaign) XXX_Size() int { + return xxx_messageInfo_KeywordPlanCampaign.Size(m) +} +func (m *KeywordPlanCampaign) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanCampaign.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanCampaign proto.InternalMessageInfo + +func (m *KeywordPlanCampaign) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *KeywordPlanCampaign) GetKeywordPlan() *wrappers.StringValue { + if m != nil { + return m.KeywordPlan + } + return nil +} + +func (m *KeywordPlanCampaign) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *KeywordPlanCampaign) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *KeywordPlanCampaign) GetLanguageConstants() []*wrappers.StringValue { + if m != nil { + return m.LanguageConstants + } + return nil +} + +func (m *KeywordPlanCampaign) GetKeywordPlanNetwork() enums.KeywordPlanNetworkEnum_KeywordPlanNetwork { + if m != nil { + return m.KeywordPlanNetwork + } + return enums.KeywordPlanNetworkEnum_UNSPECIFIED +} + +func (m *KeywordPlanCampaign) GetCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidMicros + } + return nil +} + +func (m *KeywordPlanCampaign) GetGeoTargets() []*KeywordPlanGeoTarget { + if m != nil { + return m.GeoTargets + } + return nil +} + +// A geo target. +// Next ID: 3 +type KeywordPlanGeoTarget struct { + // Required. The resource name of the geo target. + GeoTargetConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanGeoTarget) Reset() { *m = KeywordPlanGeoTarget{} } +func (m *KeywordPlanGeoTarget) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanGeoTarget) ProtoMessage() {} +func (*KeywordPlanGeoTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_67d6c64c85cecb01, []int{1} +} +func (m *KeywordPlanGeoTarget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanGeoTarget.Unmarshal(m, b) +} +func (m *KeywordPlanGeoTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanGeoTarget.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanGeoTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanGeoTarget.Merge(dst, src) +} +func (m *KeywordPlanGeoTarget) XXX_Size() int { + return xxx_messageInfo_KeywordPlanGeoTarget.Size(m) +} +func (m *KeywordPlanGeoTarget) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanGeoTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanGeoTarget proto.InternalMessageInfo + +func (m *KeywordPlanGeoTarget) GetGeoTargetConstant() *wrappers.StringValue { + if m != nil { + return m.GeoTargetConstant + } + return nil +} + +func init() { + proto.RegisterType((*KeywordPlanCampaign)(nil), "google.ads.googleads.v0.resources.KeywordPlanCampaign") + proto.RegisterType((*KeywordPlanGeoTarget)(nil), "google.ads.googleads.v0.resources.KeywordPlanGeoTarget") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/keyword_plan_campaign.proto", fileDescriptor_keyword_plan_campaign_67d6c64c85cecb01) +} + +var fileDescriptor_keyword_plan_campaign_67d6c64c85cecb01 = []byte{ + // 487 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x61, 0x8b, 0xd3, 0x30, + 0x18, 0xc7, 0x69, 0x37, 0x4f, 0xcd, 0xe6, 0x81, 0xb9, 0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 0x78, 0x97, 0xff, 0xe8, 0xb7, 0x07, 0x1e, 0x10, 0x59, 0xb4, + 0x1b, 0x1e, 0x05, 0x5b, 0xf6, 0x79, 0xb2, 0x52, 0x99, 0x78, 0x9f, 0xdf, 0xae, 0x71, 0x2e, 0x57, + 0x17, 0x8c, 0xa4, 0xe2, 0x21, 0x67, 0xc2, 0x78, 0x70, 0x0f, 0xab, 0xcc, 0xf4, 0x3f, 0x5e, 0xf2, + 0xf3, 0xa6, 0xfa, 0xee, 0x77, 0xc6, 0x71, 0xfc, 0xc3, 0x3f, 0x1c, 0xdb, 0x91, 0x31, 0xd5, 0xc8, + 0x96, 0xab, 0x6a, 0x1a, 0xa1, 0xc4, 0x75, 0xfe, 0x72, 0x3d, 0xb3, 0x98, 0xea, 0x59, 0xd3, 0x33, + 0x9b, 0x46, 0xb3, 0xa6, 0x67, 0xbe, 0x63, 0x4c, 0x3c, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0x1a, + 0x82, 0x8f, 0x23, 0x4d, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_keyword.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_keyword.pb.go new file mode 100644 index 000000000..9ec292646 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_keyword.pb.go @@ -0,0 +1,149 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/keyword_plan_keyword.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A Keyword Plan ad group keyword. +type KeywordPlanKeyword struct { + // The resource name of the Keyword Plan ad group keyword. + // KeywordPlanKeyword resource names have the form: + // + // `customers/{customer_id}/keywordPlanKeywords/{kp_ad_group_keyword_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The Keyword Plan ad group to which this keyword belongs. + KeywordPlanAdGroup *wrappers.StringValue `protobuf:"bytes,2,opt,name=keyword_plan_ad_group,json=keywordPlanAdGroup,proto3" json:"keyword_plan_ad_group,omitempty"` + // The ID of the Keyword Plan keyword. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The keyword text. + Text *wrappers.StringValue `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` + // The keyword match type. + MatchType enums.KeywordMatchTypeEnum_KeywordMatchType `protobuf:"varint,5,opt,name=match_type,json=matchType,proto3,enum=google.ads.googleads.v0.enums.KeywordMatchTypeEnum_KeywordMatchType" json:"match_type,omitempty"` + // A keyword level max cpc bid in micros, in the account currency, that + // overrides the keyword plan ad group cpc bid. + CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,6,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanKeyword) Reset() { *m = KeywordPlanKeyword{} } +func (m *KeywordPlanKeyword) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanKeyword) ProtoMessage() {} +func (*KeywordPlanKeyword) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_de119909c667c884, []int{0} +} +func (m *KeywordPlanKeyword) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanKeyword.Unmarshal(m, b) +} +func (m *KeywordPlanKeyword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanKeyword.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanKeyword) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanKeyword.Merge(dst, src) +} +func (m *KeywordPlanKeyword) XXX_Size() int { + return xxx_messageInfo_KeywordPlanKeyword.Size(m) +} +func (m *KeywordPlanKeyword) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanKeyword.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanKeyword proto.InternalMessageInfo + +func (m *KeywordPlanKeyword) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *KeywordPlanKeyword) GetKeywordPlanAdGroup() *wrappers.StringValue { + if m != nil { + return m.KeywordPlanAdGroup + } + return nil +} + +func (m *KeywordPlanKeyword) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *KeywordPlanKeyword) GetText() *wrappers.StringValue { + if m != nil { + return m.Text + } + return nil +} + +func (m *KeywordPlanKeyword) GetMatchType() enums.KeywordMatchTypeEnum_KeywordMatchType { + if m != nil { + return m.MatchType + } + return enums.KeywordMatchTypeEnum_UNSPECIFIED +} + +func (m *KeywordPlanKeyword) GetCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidMicros + } + return nil +} + +func init() { + proto.RegisterType((*KeywordPlanKeyword)(nil), "google.ads.googleads.v0.resources.KeywordPlanKeyword") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/keyword_plan_keyword.proto", fileDescriptor_keyword_plan_keyword_de119909c667c884) +} + +var fileDescriptor_keyword_plan_keyword_de119909c667c884 = []byte{ + // 418 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd3, 0x40, + 0x14, 0xc6, 0x49, 0xba, 0x2e, 0xec, 0xb8, 0xee, 0xc5, 0x80, 0x18, 0x56, 0x91, 0xae, 0x22, 0x14, + 0x84, 0x49, 0xa8, 0xd2, 0x1b, 0xbd, 0x49, 0x51, 0x8a, 0x4a, 0xb5, 0x44, 0xe9, 0x85, 0x04, 0xc2, + 0x74, 0x66, 0x1c, 0x43, 0x33, 0x7f, 0x98, 0x49, 0x5a, 0xfb, 0x18, 0xbe, 0x82, 0x97, 0x3e, 0x8a, + 0xcf, 0xe0, 0xc3, 0x48, 0x32, 0x49, 0x8a, 0x94, 0x5a, 0xef, 0xbe, 0x99, 0x7c, 0xbf, 0xf3, 0xe5, + 0x9c, 0x39, 0xe0, 0x25, 0x57, 0x8a, 0x17, 0x2c, 0xc4, 0xd4, 0x86, 0x4e, 0xd6, 0x6a, 0x13, 0x85, + 0x86, 0x59, 0x55, 0x19, 0xc2, 0x6c, 0xb8, 0x66, 0xbb, 0xad, 0x32, 0x34, 0xd3, 0x05, 0x96, 0x59, + 0x7b, 0x40, 0xda, 0xa8, 0x52, 0xc1, 0x1b, 0x87, 0x20, 0x4c, 0x2d, 0xea, 0x69, 0xb4, 0x89, 0x50, + 0x4f, 0x5f, 0x4f, 0x8e, 0x05, 0x30, 0x59, 0x89, 0x7d, 0x71, 0x81, 0x4b, 0xf2, 0x35, 0x2b, 0x77, + 0x9a, 0xb9, 0xd2, 0xd7, 0x0f, 0x5b, 0xae, 0x39, 0xad, 0xaa, 0x2f, 0xe1, 0xd6, 0x60, 0xad, 0x99, + 0xb1, 0xee, 0xfb, 0xa3, 0xef, 0x03, 0x00, 0xdf, 0x39, 0x78, 0x51, 0x60, 0xd9, 0x4a, 0xf8, 0x18, + 0xdc, 0xe9, 0xb2, 0x33, 0x89, 0x05, 0x0b, 0xbc, 0xa1, 0x37, 0xba, 0x48, 0x2e, 0xbb, 0xcb, 0xf7, + 0x58, 0x30, 0xf8, 0x01, 0xdc, 0xfd, 0xab, 0x29, 0x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64, 0xad, 0x96, 0x11, 0x4a, + 0x3a, 0xe7, 0xaf, 0xce, 0x93, 0xc6, 0xd4, 0xa6, 0xbd, 0x27, 0x5d, 0x46, 0x69, 0xef, 0x59, 0x9d, + 0x37, 0x3f, 0xf1, 0xec, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4f, 0xc9, 0x08, 0x61, 0x34, 0x03, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_negative_keyword.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_negative_keyword.pb.go new file mode 100644 index 000000000..ed544d372 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_plan_negative_keyword.pb.go @@ -0,0 +1,138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/keyword_plan_negative_keyword.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A Keyword Plan negative keyword. +type KeywordPlanNegativeKeyword struct { + // The resource name of the Keyword Plan negative keyword. + // KeywordPlanNegativeKeyword resource names have the form: + // + // + // `customers/{customer_id}/keywordPlanNegativeKeywords/{kp_negative_keyword_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The Keyword Plan campaign to which this negative keyword belongs. + KeywordPlanCampaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=keyword_plan_campaign,json=keywordPlanCampaign,proto3" json:"keyword_plan_campaign,omitempty"` + // The ID of the Keyword Plan negative keyword. + Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + // The keyword text. + Text *wrappers.StringValue `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` + // The keyword match type. + MatchType enums.KeywordMatchTypeEnum_KeywordMatchType `protobuf:"varint,5,opt,name=match_type,json=matchType,proto3,enum=google.ads.googleads.v0.enums.KeywordMatchTypeEnum_KeywordMatchType" json:"match_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanNegativeKeyword) Reset() { *m = KeywordPlanNegativeKeyword{} } +func (m *KeywordPlanNegativeKeyword) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanNegativeKeyword) ProtoMessage() {} +func (*KeywordPlanNegativeKeyword) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_91c1a0aa0ef68060, []int{0} +} +func (m *KeywordPlanNegativeKeyword) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanNegativeKeyword.Unmarshal(m, b) +} +func (m *KeywordPlanNegativeKeyword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanNegativeKeyword.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanNegativeKeyword) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanNegativeKeyword.Merge(dst, src) +} +func (m *KeywordPlanNegativeKeyword) XXX_Size() int { + return xxx_messageInfo_KeywordPlanNegativeKeyword.Size(m) +} +func (m *KeywordPlanNegativeKeyword) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanNegativeKeyword.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanNegativeKeyword proto.InternalMessageInfo + +func (m *KeywordPlanNegativeKeyword) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *KeywordPlanNegativeKeyword) GetKeywordPlanCampaign() *wrappers.StringValue { + if m != nil { + return m.KeywordPlanCampaign + } + return nil +} + +func (m *KeywordPlanNegativeKeyword) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *KeywordPlanNegativeKeyword) GetText() *wrappers.StringValue { + if m != nil { + return m.Text + } + return nil +} + +func (m *KeywordPlanNegativeKeyword) GetMatchType() enums.KeywordMatchTypeEnum_KeywordMatchType { + if m != nil { + return m.MatchType + } + return enums.KeywordMatchTypeEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*KeywordPlanNegativeKeyword)(nil), "google.ads.googleads.v0.resources.KeywordPlanNegativeKeyword") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/keyword_plan_negative_keyword.proto", fileDescriptor_keyword_plan_negative_keyword_91c1a0aa0ef68060) +} + +var fileDescriptor_keyword_plan_negative_keyword_91c1a0aa0ef68060 = []byte{ + // 400 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0xca, 0xd3, 0x40, + 0x14, 0x25, 0xf9, 0xaa, 0xd0, 0xf1, 0x67, 0x11, 0x11, 0x42, 0x15, 0x6d, 0x15, 0xa1, 0x20, 0x4c, + 0x42, 0x95, 0x6e, 0x5c, 0xa5, 0x5a, 0x8a, 0x8a, 0x25, 0x44, 0xe9, 0x42, 0x02, 0x61, 0x9a, 0x8c, + 0x63, 0x68, 0xe6, 0x87, 0x99, 0x49, 0x6b, 0x5f, 0xc7, 0xa5, 0x8f, 0xe2, 0x0b, 0xf8, 0x02, 0x3e, + 0x88, 0x24, 0x33, 0x49, 0x91, 0x52, 0xfd, 0x76, 0x27, 0x37, 0xe7, 0x9c, 0x7b, 0xcf, 0xbd, 0x03, + 0x96, 0x84, 0x73, 0x52, 0xe1, 0x00,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, 0x7a, 0x39, + 0x00, 0xa7, 0x45, 0xf9, 0x37, 0xc6, 0xce, 0xf4, 0xee, 0xec, 0x0d, 0xbc, 0x74, 0x84, 0x76, 0xc3, + 0xd0, 0x6e, 0xe4, 0x43, 0xa3, 0xfb, 0x74, 0x14, 0x78, 0xc9, 0x6a, 0x7a, 0x56, 0x4c, 0x86, 0xb4, + 0x83, 0x8b, 0xdf, 0x0e, 0x78, 0x96, 0x73, 0x0a, 0xff, 0x7b, 0xdb, 0xc5, 0xe3, 0xcb, 0x07, 0x88, + 0x9b, 0x10, 0xb1, 0xf3, 0xf9, 0x9d, 0x75, 0x21, 0xbc, 0x42, 0x8c, 0x40, 0x2e, 0x49, 0x40, 0x30, + 0x6b, 0x23, 0x76, 0xcf, 0x41, 0x94, 0xea, 0x1f, 0xef, 0xf0, 0x55, 0x8f, 0xbe, 0xbb, 0x57, 0xab, + 0x28, 0xfa, 0xe1, 0x4e, 0x56, 0xc6, 0x32, 0x2a, 0x14, 0x34, 0xb0, 0x41, 0x9b, 0x10, 0x26, 0x1d, + 0xf3, 0x67, 0xc7, 0x49, 0xa3, 0x42, 0xa5, 0x3d, 0x27, 0xdd, 0x84, 0x69, 0xcf, 0xd9, 0xde, 0x6c, + 0x87, 0x78, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0x28, 0xf2, 0x8f, 0xb8, 0x0b, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_view.pb.go new file mode 100644 index 000000000..dd5413b40 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/keyword_view.pb.go @@ -0,0 +1,88 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/keyword_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A keyword view. +type KeywordView struct { + // The resource name of the keyword view. + // Keyword view resource names have the form: + // + // `customers/{customer_id}/keywordViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordView) Reset() { *m = KeywordView{} } +func (m *KeywordView) String() string { return proto.CompactTextString(m) } +func (*KeywordView) ProtoMessage() {} +func (*KeywordView) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_view_d1421782faf69a76, []int{0} +} +func (m *KeywordView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordView.Unmarshal(m, b) +} +func (m *KeywordView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordView.Marshal(b, m, deterministic) +} +func (dst *KeywordView) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordView.Merge(dst, src) +} +func (m *KeywordView) XXX_Size() int { + return xxx_messageInfo_KeywordView.Size(m) +} +func (m *KeywordView) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordView.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordView proto.InternalMessageInfo + +func (m *KeywordView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*KeywordView)(nil), "google.ads.googleads.v0.resources.KeywordView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/keyword_view.proto", fileDescriptor_keyword_view_d1421782faf69a76) +} + +var fileDescriptor_keyword_view_d1421782faf69a76 = []byte{ + // 223 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0xec, 0xd4, 0xca, 0xf2, 0xfc, 0xa2, 0x94, 0xf8, + 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x52, 0xbd, 0xc4, + 0x94, 0x62, 0x3d, 0xb8, 0x2e, 0xbd, 0x32, 0x03, 0x3d, 0xb8, 0x2e, 0x25, 0x23, 0x2e, 0x6e, 0x6f, + 0x88, 0xc6, 0xb0, 0xcc, 0xd4, 0x72, 0x21, 0x65, 0x2e, 0x5e, 0x98, 0x5c, 0x7c, 0x5e, 0x62, 0x6e, + 0xaa, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x0f, 0x4c, 0xd0, 0x2f, 0x31, 0x37, 0xd5, 0xe9, + 0x2a, 0x23, 0x97, 0x6a, 0x72, 0x7e, 0xae, 0x1e, 0x41, 0xd3, 0x9d, 0x04, 0x90, 0xcc, 0x0e, 0x00, + 0x39, 0x29, 0x80, 0x31, 0xca, 0x0b, 0xaa, 0x2d, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, + 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x60, 0x98, 0xd7, 0x0a, 0x32, 0x8b, 0xf1, 0xf8, 0xd4, + 0x1a, 0xce, 0x5a, 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xd1, 0x1d, 0x62, 0xa4, 0x63, + 0x4a, 0xb1, 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, 0xe8, 0x05, 0xc1, 0x54, 0x9e, 0x82, 0xa9, 0x89, + 0x71, 0x4c, 0x29, 0x8e, 0x81, 0xab, 0x89, 0x09, 0x33, 0x88, 0x81, 0xab, 0x49, 0x62, 0x03, 0x3b, + 0xc2, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xe8, 0x91, 0x50, 0x6d, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/language_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/language_constant.pb.go new file mode 100644 index 000000000..3e63cb916 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/language_constant.pb.go @@ -0,0 +1,123 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/language_constant.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A language. +type LanguageConstant struct { + // The resource name of the language constant. + // Language constant resource names have the form: + // + // `languageConstants/{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the language constant. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The language code, e.g. "en_US", "en_AU", "es", "fr", etc. + Code *wrappers.StringValue `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` + // The full name of the language in English, e.g., "English (US)", "Spanish", + // etc. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LanguageConstant) Reset() { *m = LanguageConstant{} } +func (m *LanguageConstant) String() string { return proto.CompactTextString(m) } +func (*LanguageConstant) ProtoMessage() {} +func (*LanguageConstant) Descriptor() ([]byte, []int) { + return fileDescriptor_language_constant_bbd663492e92d8dc, []int{0} +} +func (m *LanguageConstant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LanguageConstant.Unmarshal(m, b) +} +func (m *LanguageConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LanguageConstant.Marshal(b, m, deterministic) +} +func (dst *LanguageConstant) XXX_Merge(src proto.Message) { + xxx_messageInfo_LanguageConstant.Merge(dst, src) +} +func (m *LanguageConstant) XXX_Size() int { + return xxx_messageInfo_LanguageConstant.Size(m) +} +func (m *LanguageConstant) XXX_DiscardUnknown() { + xxx_messageInfo_LanguageConstant.DiscardUnknown(m) +} + +var xxx_messageInfo_LanguageConstant proto.InternalMessageInfo + +func (m *LanguageConstant) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *LanguageConstant) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *LanguageConstant) GetCode() *wrappers.StringValue { + if m != nil { + return m.Code + } + return nil +} + +func (m *LanguageConstant) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func init() { + proto.RegisterType((*LanguageConstant)(nil), "google.ads.googleads.v0.resources.LanguageConstant") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/language_constant.proto", fileDescriptor_language_constant_bbd663492e92d8dc) +} + +var fileDescriptor_language_constant_bbd663492e92d8dc = []byte{ + // 312 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xd1, 0x4a, 0xf3, 0x30, + 0x00, 0x85, 0x49, 0x37, 0x7e, 0xf8, 0xa3, 0x82, 0x14, 0x84, 0xa1, 0x22, 0x9b, 0x22, 0x0c, 0x84, + 0xa4, 0xa8, 0x08, 0xe2, 0x55, 0xe7, 0xc5, 0x50, 0x44, 0x46, 0x85, 0x5e, 0x48, 0x61, 0x64, 0x4d, + 0x0c, 0x85, 0x36, 0x29, 0x49, 0x3b, 0xdf, 0xc7, 0x4b, 0x9f, 0x44, 0x7c, 0x04, 0x9f, 0x46, 0x92, + 0x34, 0xbd, 0x50, 0x50, 0xef, 0x0e, 0xe5, 0x3b, 0xdf, 0x69, 0x12, 0x78, 0xc9, 0xa5, 0xe4, 0x25, + 0xc3, 0x84, 0x6a, 0xec, 0xa2, 0x49, 0xeb, 0x08, 0x2b, 0xa6, 0x65, 0xab, 0x72, 0xa6, 0x71, 0x49, + 0x04, 0x6f, 0x09, 0x67, 0xcb, 0x5c, 0x0a, 0xdd, 0x10, 0xd1, 0xa0, 0x5a, 0xc9, 0x46, 0x86, 0x13, + 0xc7, 0x23, 0x42, 0x35, 0xea, 0xab, 0x68, 0x1d, 0xa1, 0xbe, 0xba, 0x7b, 0xd0, 0xd9, 0x6d, 0x61, + 0xd5, 0x3e, 0xe1, 0x67, 0x45, 0xea, 0x9a, 0x29, 0xed, 0x14, 0x87, 0x6f, 0x00, 0x6e, 0xdf, 0x75, + 0xfa, 0xeb, 0xce, 0x1e, 0x1e, 0xc1, 0x2d, 0x6f, 0x58, 0x0a, 0x52, 0xb1, 0x11, 0x18, 0x83, 0xe9, + 0xff, 0x64, 0xd3, 0x7f, 0xbc, 0x27, 0x15, 0x0b, 0x4f, 0x60, 0x50, 0xd0, 0x51, 0x30, 0x06, 0xd3, + 0x8d, 0xd3, 0xbd, 0x6e, 0x1e, 0xf9, 0x19, 0x74, 0x23, 0x9a, 0x8b, 0xf3, 0x94, 0x94, 0x2d, 0x4b, + 0x82, 0x82, 0x86, 0x11, 0x1c, 0xe6, 0x92, 0xb2, 0xd1, 0xc0, 0xe2, 0xfb, 0xdf, 0xf0, 0x87, 0x46, + 0x15, 0x82, 0x3b, 0xde, 0x92, 0xa6, 0x61, 0xa7, 0x87, 0x7f, 0x69, 0x18, 0x72, 0xf6, 0x01, 0xe0, + 0x71, 0x2e, 0x2b, 0xf4, 0xeb, 0xa5, 0xcc, 0x76, 0xbe, 0x9e, 0x78, 0x61, 0xac, 0x0b, 0xf0, 0x78, + 0xdb, 0x75, 0xb9, 0x34, 0x57, 0x8e, 0xa4, 0xe2, 0x98, 0x33, 0x61, 0x37, 0xfd, 0xdb, 0xd4, 0x85, + 0xfe, 0xe1, 0xa9, 0xae, 0xfa, 0xf4, 0x12, 0x0c, 0xe6, 0x71, 0xfc, 0x1a, 0x4c, 0xe6, 0x4e, 0x19, + 0x53, 0x8d, 0x5c, 0x34, 0x29, 0x8d, 0x50, 0xe2, 0xc9, 0x77, 0xcf, 0x64, 0x31, 0xd5, 0x59, 0xcf, + 0x64, 0x69, 0x94, 0xf5, 0xcc, 0xea, 0x9f, 0xfd, 0x89, 0xb3, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x15, 0x05, 0x8c, 0x99, 0x2e, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/managed_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/managed_placement_view.pb.go new file mode 100644 index 000000000..730cc4831 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/managed_placement_view.pb.go @@ -0,0 +1,90 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/managed_placement_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A managed placement view. +type ManagedPlacementView struct { + // The resource name of the Managed Placement view. + // Managed placement view resource names have the form: + // + // + // `customers/{customer_id}/managedPlacementViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManagedPlacementView) Reset() { *m = ManagedPlacementView{} } +func (m *ManagedPlacementView) String() string { return proto.CompactTextString(m) } +func (*ManagedPlacementView) ProtoMessage() {} +func (*ManagedPlacementView) Descriptor() ([]byte, []int) { + return fileDescriptor_managed_placement_view_d5d49526d4cf47f2, []int{0} +} +func (m *ManagedPlacementView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManagedPlacementView.Unmarshal(m, b) +} +func (m *ManagedPlacementView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManagedPlacementView.Marshal(b, m, deterministic) +} +func (dst *ManagedPlacementView) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagedPlacementView.Merge(dst, src) +} +func (m *ManagedPlacementView) XXX_Size() int { + return xxx_messageInfo_ManagedPlacementView.Size(m) +} +func (m *ManagedPlacementView) XXX_DiscardUnknown() { + xxx_messageInfo_ManagedPlacementView.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagedPlacementView proto.InternalMessageInfo + +func (m *ManagedPlacementView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*ManagedPlacementView)(nil), "google.ads.googleads.v0.resources.ManagedPlacementView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/managed_placement_view.proto", fileDescriptor_managed_placement_view_d5d49526d4cf47f2) +} + +var fileDescriptor_managed_placement_view_d5d49526d4cf47f2 = []byte{ + // 237 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0xdc, 0xc4, 0xbc, 0xc4, 0xf4, 0xd4, 0x94, 0xf8, + 0x82, 0x9c, 0xc4, 0xe4, 0xd4, 0xdc, 0xd4, 0xbc, 0x92, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, + 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x26, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x7e, 0xbd, + 0x32, 0x03, 0x3d, 0xb8, 0x7e, 0x25, 0x6b, 0x2e, 0x11, 0x5f, 0x88, 0x11, 0x01, 0x30, 0x13, 0xc2, + 0x32, 0x53, 0xcb, 0x85, 0x94, 0xb9, 0x78, 0x61, 0x8a, 0xe2, 0xf3, 0x12, 0x73, 0x53, 0x25, 0x18, + 0x15, 0x18, 0x35, 0x38, 0x83, 0x78, 0x60, 0x82, 0x7e, 0x89, 0xb9, 0xa9, 0x4e, 0xf7, 0x18, 0xb9, + 0x54, 0x93, 0xf3, 0x73, 0xf5, 0x08, 0x5a, 0xe3, 0x24, 0x89, 0xcd, 0x92, 0x00, 0x90, 0x23, 0x03, + 0x18, 0xa3, 0xbc, 0xa0, 0xfa, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, + 0xd3, 0x53, 0xf3, 0xc0, 0x5e, 0x80, 0x79, 0xbb, 0x20, 0xb3, 0x18, 0x4f, 0x28, 0x58, 0xc3, 0x59, + 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xba, 0x43, 0x8c, 0x74, 0x4c, 0x29, 0xd6, + 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0xbd, 0x20, 0x98, 0xca, 0x53, 0x30, 0x35, 0x31, 0x8e, 0x29, + 0xc5, 0x31, 0x70, 0x35, 0x31, 0x61, 0x06, 0x31, 0x70, 0x35, 0x49, 0x6c, 0x60, 0x47, 0x18, 0x03, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x07, 0x6a, 0x38, 0x21, 0x89, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/media_file.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/media_file.pb.go new file mode 100644 index 000000000..32383f7e0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/media_file.pb.go @@ -0,0 +1,363 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/media_file.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A media file. +type MediaFile struct { + // The resource name of the media file. + // Media file resource names have the form: + // + // `customers/{customer_id}/mediaFiles/{media_file_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the media file. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // Type of the media file. + Type enums.MediaTypeEnum_MediaType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.MediaTypeEnum_MediaType" json:"type,omitempty"` + // The mime type of the media file. + MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,6,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v0.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` + // The URL of where the original media file was downloaded from (or a file + // name). + SourceUrl *wrappers.StringValue `protobuf:"bytes,7,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` + // The name of the media file. The name can be used by clients to help + // identify previously uploaded media. + Name *wrappers.StringValue `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + // The size of the media file in bytes. + FileSize *wrappers.Int64Value `protobuf:"bytes,9,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` + // The specific type of the media file. + // + // Types that are valid to be assigned to Mediatype: + // *MediaFile_Image + // *MediaFile_MediaBundle + Mediatype isMediaFile_Mediatype `protobuf_oneof:"mediatype"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaFile) Reset() { *m = MediaFile{} } +func (m *MediaFile) String() string { return proto.CompactTextString(m) } +func (*MediaFile) ProtoMessage() {} +func (*MediaFile) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_8d950f5477004c2c, []int{0} +} +func (m *MediaFile) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaFile.Unmarshal(m, b) +} +func (m *MediaFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaFile.Marshal(b, m, deterministic) +} +func (dst *MediaFile) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaFile.Merge(dst, src) +} +func (m *MediaFile) XXX_Size() int { + return xxx_messageInfo_MediaFile.Size(m) +} +func (m *MediaFile) XXX_DiscardUnknown() { + xxx_messageInfo_MediaFile.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaFile proto.InternalMessageInfo + +func (m *MediaFile) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *MediaFile) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *MediaFile) GetType() enums.MediaTypeEnum_MediaType { + if m != nil { + return m.Type + } + return enums.MediaTypeEnum_UNSPECIFIED +} + +func (m *MediaFile) GetMimeType() enums.MimeTypeEnum_MimeType { + if m != nil { + return m.MimeType + } + return enums.MimeTypeEnum_UNSPECIFIED +} + +func (m *MediaFile) GetSourceUrl() *wrappers.StringValue { + if m != nil { + return m.SourceUrl + } + return nil +} + +func (m *MediaFile) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *MediaFile) GetFileSize() *wrappers.Int64Value { + if m != nil { + return m.FileSize + } + return nil +} + +type isMediaFile_Mediatype interface { + isMediaFile_Mediatype() +} + +type MediaFile_Image struct { + Image *MediaImage `protobuf:"bytes,3,opt,name=image,proto3,oneof"` +} + +type MediaFile_MediaBundle struct { + MediaBundle *MediaBundle `protobuf:"bytes,4,opt,name=media_bundle,json=mediaBundle,proto3,oneof"` +} + +func (*MediaFile_Image) isMediaFile_Mediatype() {} + +func (*MediaFile_MediaBundle) isMediaFile_Mediatype() {} + +func (m *MediaFile) GetMediatype() isMediaFile_Mediatype { + if m != nil { + return m.Mediatype + } + return nil +} + +func (m *MediaFile) GetImage() *MediaImage { + if x, ok := m.GetMediatype().(*MediaFile_Image); ok { + return x.Image + } + return nil +} + +func (m *MediaFile) GetMediaBundle() *MediaBundle { + if x, ok := m.GetMediatype().(*MediaFile_MediaBundle); ok { + return x.MediaBundle + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*MediaFile) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _MediaFile_OneofMarshaler, _MediaFile_OneofUnmarshaler, _MediaFile_OneofSizer, []interface{}{ + (*MediaFile_Image)(nil), + (*MediaFile_MediaBundle)(nil), + } +} + +func _MediaFile_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*MediaFile) + // mediatype + switch x := m.Mediatype.(type) { + case *MediaFile_Image: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Image); err != nil { + return err + } + case *MediaFile_MediaBundle: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MediaBundle); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("MediaFile.Mediatype has unexpected type %T", x) + } + return nil +} + +func _MediaFile_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*MediaFile) + switch tag { + case 3: // mediatype.image + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MediaImage) + err := b.DecodeMessage(msg) + m.Mediatype = &MediaFile_Image{msg} + return true, err + case 4: // mediatype.media_bundle + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MediaBundle) + err := b.DecodeMessage(msg) + m.Mediatype = &MediaFile_MediaBundle{msg} + return true, err + default: + return false, nil + } +} + +func _MediaFile_OneofSizer(msg proto.Message) (n int) { + m := msg.(*MediaFile) + // mediatype + switch x := m.Mediatype.(type) { + case *MediaFile_Image: + s := proto.Size(x.Image) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MediaFile_MediaBundle: + s := proto.Size(x.MediaBundle) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Encapsulates an Image. +type MediaImage struct { + // Raw image data. + Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaImage) Reset() { *m = MediaImage{} } +func (m *MediaImage) String() string { return proto.CompactTextString(m) } +func (*MediaImage) ProtoMessage() {} +func (*MediaImage) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_8d950f5477004c2c, []int{1} +} +func (m *MediaImage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaImage.Unmarshal(m, b) +} +func (m *MediaImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaImage.Marshal(b, m, deterministic) +} +func (dst *MediaImage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaImage.Merge(dst, src) +} +func (m *MediaImage) XXX_Size() int { + return xxx_messageInfo_MediaImage.Size(m) +} +func (m *MediaImage) XXX_DiscardUnknown() { + xxx_messageInfo_MediaImage.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaImage proto.InternalMessageInfo + +func (m *MediaImage) GetData() *wrappers.BytesValue { + if m != nil { + return m.Data + } + return nil +} + +// Represents a ZIP archive media the content of which contains HTML5 assets. +type MediaBundle struct { + // Raw zipped data. + Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaBundle) Reset() { *m = MediaBundle{} } +func (m *MediaBundle) String() string { return proto.CompactTextString(m) } +func (*MediaBundle) ProtoMessage() {} +func (*MediaBundle) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_8d950f5477004c2c, []int{2} +} +func (m *MediaBundle) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaBundle.Unmarshal(m, b) +} +func (m *MediaBundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaBundle.Marshal(b, m, deterministic) +} +func (dst *MediaBundle) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaBundle.Merge(dst, src) +} +func (m *MediaBundle) XXX_Size() int { + return xxx_messageInfo_MediaBundle.Size(m) +} +func (m *MediaBundle) XXX_DiscardUnknown() { + xxx_messageInfo_MediaBundle.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaBundle proto.InternalMessageInfo + +func (m *MediaBundle) GetData() *wrappers.BytesValue { + if m != nil { + return m.Data + } + return nil +} + +func init() { + proto.RegisterType((*MediaFile)(nil), "google.ads.googleads.v0.resources.MediaFile") + proto.RegisterType((*MediaImage)(nil), "google.ads.googleads.v0.resources.MediaImage") + proto.RegisterType((*MediaBundle)(nil), "google.ads.googleads.v0.resources.MediaBundle") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/media_file.proto", fileDescriptor_media_file_8d950f5477004c2c) +} + +var fileDescriptor_media_file_8d950f5477004c2c = []byte{ + // 503 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6b, 0xd4, 0x40, + 0x14, 0x6d, 0xd2, 0xb4, 0x6e, 0x66, 0x6b, 0x1f, 0xe6, 0x29, 0x54, 0x91, 0xed, 0x8a, 0xb0, 0x20, + 0x9d, 0x84, 0xb5, 0x14, 0xa1, 0x28, 0x6c, 0xa0, 0xf6, 0x03, 0x94, 0x9a, 0xd5, 0x7d, 0x90, 0x85, + 0x65, 0xb6, 0xb9, 0x0d, 0x03, 0x99, 0x24, 0xcc, 0x24, 0x95, 0xed, 0xcf, 0xf1, 0xd1, 0x9f, 0xe2, + 0x83, 0x2f, 0xfe, 0x21, 0x99, 0x99, 0x24, 0x5b, 0xd0, 0x9a, 0xfa, 0x76, 0xef, 0xee, 0x39, 0xe7, + 0x9e, 0x73, 0x73, 0x13, 0x34, 0x4e, 0xf2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 0xab, 0x6f, 0xf6, 0xe6, 0xe9, 0x64, 0xf2, 0xdd, 0xde, 0x3f, 0x35, 0x92, 0x93, 0x58, 0x12, + 0x53, 0xaa, 0x6a, 0x16, 0x90, 0xa8, 0x41, 0xfe, 0x68, 0x30, 0xf3, 0x49, 0x2c, 0xe7, 0x2d, 0x66, + 0x3e, 0x0b, 0xe6, 0x2d, 0x66, 0xb9, 0xad, 0x4d, 0xbc, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x31, + 0x9f, 0xe1, 0xeb, 0x84, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/parental_status_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/parental_status_view.pb.go new file mode 100644 index 000000000..7e96ebca4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/parental_status_view.pb.go @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/parental_status_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A parental status view. +type ParentalStatusView struct { + // The resource name of the parental status view. + // Parental Status view resource names have the form: + // + // `customers/{customer_id}/parentalStatusViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParentalStatusView) Reset() { *m = ParentalStatusView{} } +func (m *ParentalStatusView) String() string { return proto.CompactTextString(m) } +func (*ParentalStatusView) ProtoMessage() {} +func (*ParentalStatusView) Descriptor() ([]byte, []int) { + return fileDescriptor_parental_status_view_2b19e85dde9f176b, []int{0} +} +func (m *ParentalStatusView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParentalStatusView.Unmarshal(m, b) +} +func (m *ParentalStatusView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParentalStatusView.Marshal(b, m, deterministic) +} +func (dst *ParentalStatusView) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParentalStatusView.Merge(dst, src) +} +func (m *ParentalStatusView) XXX_Size() int { + return xxx_messageInfo_ParentalStatusView.Size(m) +} +func (m *ParentalStatusView) XXX_DiscardUnknown() { + xxx_messageInfo_ParentalStatusView.DiscardUnknown(m) +} + +var xxx_messageInfo_ParentalStatusView proto.InternalMessageInfo + +func (m *ParentalStatusView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*ParentalStatusView)(nil), "google.ads.googleads.v0.resources.ParentalStatusView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/parental_status_view.proto", fileDescriptor_parental_status_view_2b19e85dde9f176b) +} + +var fileDescriptor_parental_status_view_2b19e85dde9f176b = []byte{ + // 235 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x82, 0xc4, 0xa2, 0xd4, 0xbc, 0x92, 0xc4, 0x9c, + 0xf8, 0xe2, 0x92, 0xc4, 0x92, 0xd2, 0xe2, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, + 0x92, 0x7c, 0x21, 0x45, 0x88, 0x16, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x6e, 0xbd, 0x32, 0x03, + 0x3d, 0xb8, 0x6e, 0x25, 0x4b, 0x2e, 0xa1, 0x00, 0xa8, 0x01, 0xc1, 0x60, 0xfd, 0x61, 0x99, 0xa9, + 0xe5, 0x42, 0xca, 0x5c, 0xbc, 0x30, 0x25, 0xf1, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, + 0x1a, 0x9c, 0x41, 0x3c, 0x30, 0x41, 0xbf, 0xc4, 0xdc, 0x54, 0xa7, 0x3b, 0x8c, 0x5c, 0xaa, 0xc9, + 0xf9, 0xb9, 0x7a, 0x04, 0x2d, 0x71, 0x12, 0xc7, 0xb4, 0x22, 0x00, 0xe4, 0xc0, 0x00, 0xc6, 0x28, + 0x2f, 0xa8, 0xee, 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, + 0x3c, 0xb0, 0xf3, 0x61, 0x1e, 0x2e, 0xc8, 0x2c, 0xc6, 0xe3, 0x7f, 0x6b, 0x38, 0x6b, 0x11, 0x13, + 0xb3, 0xbb, 0xa3, 0xe3, 0x2a, 0x26, 0x45, 0x77, 0x88, 0x91, 0x8e, 0x29, 0xc5, 0x7a, 0x10, 0x26, + 0x88, 0x15, 0x66, 0xa0, 0x17, 0x04, 0x53, 0x79, 0x0a, 0xa6, 0x26, 0xc6, 0x31, 0xa5, 0x38, 0x06, + 0xae, 0x26, 0x26, 0xcc, 0x20, 0x06, 0xae, 0x26, 0x89, 0x0d, 0xec, 0x08, 0x63, 0x40, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x1e, 0x85, 0xdc, 0xc4, 0x83, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/payments_account.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/payments_account.pb.go new file mode 100644 index 000000000..6f4f7eb4f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/payments_account.pb.go @@ -0,0 +1,148 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/payments_account.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A Payments account, which can be used to set up billing for an Ads customer. +type PaymentsAccount struct { + // The resource name of the Payments account. + // PaymentsAccount resource names have the form: + // + // `customers/{customer_id}/paymentsAccounts/ + // {payments_profile_id}_{payments_account_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // A 16 digit ID used to identify a Payments account. + PaymentsAccountId *wrappers.StringValue `protobuf:"bytes,2,opt,name=payments_account_id,json=paymentsAccountId,proto3" json:"payments_account_id,omitempty"` + // The name of the Payments account. + Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // The currency code of the Payments account. + // A subset of the currency codes derived from the ISO 4217 standard is + // supported. + CurrencyCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` + // A 12 digit ID used to identify the Payments profile associated with the + // Payments account. + PaymentsProfileId *wrappers.StringValue `protobuf:"bytes,5,opt,name=payments_profile_id,json=paymentsProfileId,proto3" json:"payments_profile_id,omitempty"` + // A secondary Payments profile ID present in uncommon situations, e.g. + // when a sequential liability agreement has been arranged. + SecondaryPaymentsProfileId *wrappers.StringValue `protobuf:"bytes,6,opt,name=secondary_payments_profile_id,json=secondaryPaymentsProfileId,proto3" json:"secondary_payments_profile_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PaymentsAccount) Reset() { *m = PaymentsAccount{} } +func (m *PaymentsAccount) String() string { return proto.CompactTextString(m) } +func (*PaymentsAccount) ProtoMessage() {} +func (*PaymentsAccount) Descriptor() ([]byte, []int) { + return fileDescriptor_payments_account_6fba7bb9981ca18f, []int{0} +} +func (m *PaymentsAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PaymentsAccount.Unmarshal(m, b) +} +func (m *PaymentsAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PaymentsAccount.Marshal(b, m, deterministic) +} +func (dst *PaymentsAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_PaymentsAccount.Merge(dst, src) +} +func (m *PaymentsAccount) XXX_Size() int { + return xxx_messageInfo_PaymentsAccount.Size(m) +} +func (m *PaymentsAccount) XXX_DiscardUnknown() { + xxx_messageInfo_PaymentsAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_PaymentsAccount proto.InternalMessageInfo + +func (m *PaymentsAccount) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *PaymentsAccount) GetPaymentsAccountId() *wrappers.StringValue { + if m != nil { + return m.PaymentsAccountId + } + return nil +} + +func (m *PaymentsAccount) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *PaymentsAccount) GetCurrencyCode() *wrappers.StringValue { + if m != nil { + return m.CurrencyCode + } + return nil +} + +func (m *PaymentsAccount) GetPaymentsProfileId() *wrappers.StringValue { + if m != nil { + return m.PaymentsProfileId + } + return nil +} + +func (m *PaymentsAccount) GetSecondaryPaymentsProfileId() *wrappers.StringValue { + if m != nil { + return m.SecondaryPaymentsProfileId + } + return nil +} + +func init() { + proto.RegisterType((*PaymentsAccount)(nil), "google.ads.googleads.v0.resources.PaymentsAccount") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/payments_account.proto", fileDescriptor_payments_account_6fba7bb9981ca18f) +} + +var fileDescriptor_payments_account_6fba7bb9981ca18f = []byte{ + // 362 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x4a, 0xc3, 0x30, + 0x1c, 0xc6, 0xe9, 0x36, 0x07, 0xc6, 0x0d, 0xb1, 0x7a, 0x18, 0x43, 0x65, 0x53, 0x84, 0x9d, 0xd2, + 0xa2, 0x17, 0xc1, 0x53, 0xe7, 0x61, 0x4c, 0x44, 0xca, 0x84, 0x1d, 0xa4, 0x50, 0xb2, 0x24, 0x2b, + 0x85, 0x36, 0x09, 0x49, 0x3b, 0xd9, 0xeb, 0x78, 0x12, 0x1f, 0xc5, 0x37, 0xf0, 0x6d, 0xa4, 0x4d, + 0x53, 0xd8, 0x10, 0x9d, 0xb7, 0x8f, 0xf0, 0x7d, 0xbf, 0xef, 0xff, 0x27, 0x7f, 0x70, 0x1b, 0x71, + 0x1e, 0x25, 0xd4, 0x41, 0x44, 0x39, 0x5a, 0x16, 0x6a, 0xe5, 0x3a, 0x92, 0x2a, 0x9e, 0x4b, 0x4c, + 0x95, 0x23, 0xd0, 0x3a, 0xa5, 0x2c, 0x53, 0x21, 0xc2, 0x98, 0xe7, 0x2c, 0x83, 0x42, 0xf2, 0x8c, + 0xdb, 0x43, 0x6d, 0x87, 0x88, 0x28, 0x58, 0x27, 0xe1, 0xca, 0x85, 0x75, 0xb2, 0x7f, 0x5e, 0xc1, + 0xcb, 0xc0, 0x22, 0x5f, 0x3a, 0xaf, 0x12, 0x09, 0x41, 0xa5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x8d, 0xf4, 0x88, 0x82, 0x5a, 0x16, 0x6a, 0xee, 0xc2, 0x99, 0x71, 0x7e, 0x1a, 0x4f, 0xe0, 0x11, + 0x15, 0xd4, 0x9e, 0x60, 0xee, 0x06, 0xb5, 0x67, 0xd1, 0x2e, 0x87, 0xb8, 0xf9, 0x0e, 0x00, 0x00, + 0xff, 0xff, 0x08, 0xb0, 0x54, 0xe9, 0x0c, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/product_group_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/product_group_view.pb.go new file mode 100644 index 000000000..f8f51fb47 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/product_group_view.pb.go @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/product_group_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A product group view. +type ProductGroupView struct { + // The resource name of the product group view. + // Product group view resource names have the form: + // + // `customers/{customer_id}/productGroupViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductGroupView) Reset() { *m = ProductGroupView{} } +func (m *ProductGroupView) String() string { return proto.CompactTextString(m) } +func (*ProductGroupView) ProtoMessage() {} +func (*ProductGroupView) Descriptor() ([]byte, []int) { + return fileDescriptor_product_group_view_bd435ece1bc80168, []int{0} +} +func (m *ProductGroupView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductGroupView.Unmarshal(m, b) +} +func (m *ProductGroupView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductGroupView.Marshal(b, m, deterministic) +} +func (dst *ProductGroupView) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductGroupView.Merge(dst, src) +} +func (m *ProductGroupView) XXX_Size() int { + return xxx_messageInfo_ProductGroupView.Size(m) +} +func (m *ProductGroupView) XXX_DiscardUnknown() { + xxx_messageInfo_ProductGroupView.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductGroupView proto.InternalMessageInfo + +func (m *ProductGroupView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*ProductGroupView)(nil), "google.ads.googleads.v0.resources.ProductGroupView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/product_group_view.proto", fileDescriptor_product_group_view_bd435ece1bc80168) +} + +var fileDescriptor_product_group_view_bd435ece1bc80168 = []byte{ + // 232 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x82, 0xa2, 0xfc, 0x94, 0xd2, 0xe4, 0x92, 0xf8, + 0xf4, 0xa2, 0xfc, 0xd2, 0x82, 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, + 0x21, 0x45, 0x88, 0x06, 0xbd, 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x5e, 0xbd, 0x32, 0x03, 0x3d, 0xb8, + 0x5e, 0x25, 0x73, 0x2e, 0x81, 0x00, 0x88, 0x76, 0x77, 0x90, 0xee, 0xb0, 0xcc, 0xd4, 0x72, 0x21, + 0x65, 0x2e, 0x5e, 0x98, 0x82, 0xf8, 0xbc, 0xc4, 0xdc, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, + 0x20, 0x1e, 0x98, 0xa0, 0x5f, 0x62, 0x6e, 0xaa, 0xd3, 0x2d, 0x46, 0x2e, 0xd5, 0xe4, 0xfc, 0x5c, + 0x3d, 0x82, 0x56, 0x38, 0x89, 0xa2, 0x5b, 0x10, 0x00, 0x72, 0x5c, 0x00, 0x63, 0x94, 0x17, 0x54, + 0x6f, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0xd8, + 0xe9, 0x30, 0xaf, 0x16, 0x64, 0x16, 0xe3, 0xf1, 0xb9, 0x35, 0x9c, 0xb5, 0x88, 0x89, 0xd9, 0xdd, + 0xd1, 0x71, 0x15, 0x93, 0xa2, 0x3b, 0xc4, 0x48, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, + 0x33, 0xd0, 0x0b, 0x82, 0xa9, 0x3c, 0x05, 0x53, 0x13, 0xe3, 0x98, 0x52, 0x1c, 0x03, 0x57, 0x13, + 0x13, 0x66, 0x10, 0x03, 0x57, 0x93, 0xc4, 0x06, 0x76, 0x84, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, + 0x75, 0xea, 0x51, 0x91, 0x7d, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/recommendation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/recommendation.pb.go new file mode 100644 index 000000000..f02a7e192 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/recommendation.pb.go @@ -0,0 +1,1267 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/recommendation.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A recommendation. +type Recommendation struct { + // The resource name of the recommendation. + // + // `customers/{customer_id}/recommendations/{recommendation_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The type of recommendation. + Type enums.RecommendationTypeEnum_RecommendationType `protobuf:"varint,2,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.RecommendationTypeEnum_RecommendationType" json:"type,omitempty"` + // The impact on account performance as a result of applying the + // recommendation. + Impact *Recommendation_RecommendationImpact `protobuf:"bytes,3,opt,name=impact,proto3" json:"impact,omitempty"` + // The budget targeted by this recommendation. This will be set only when + // the recommendation affects a single campaign budget. + // + // This field will be set for the following recommendation types: + // CAMPAIGN_BUDGET + CampaignBudget *wrappers.StringValue `protobuf:"bytes,5,opt,name=campaign_budget,json=campaignBudget,proto3" json:"campaign_budget,omitempty"` + // The campaign targeted by this recommendation. This will be set only when + // the recommendation affects a single campaign. + // + // This field will be set for the following recommendation types: + // ENHANCED_CPC_OPT_IN, KEYWORD, MAXIMIZE_CLICKS_OPT_IN, + // MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, SEARCH_PARTNERS_OPT_IN, + // TARGET_CPA_OPT_IN, TEXT_AD + Campaign *wrappers.StringValue `protobuf:"bytes,6,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The ad group targeted by this recommendation. This will be set only when + // the recommendation affects a single ad group. + // + // This field will be set for the following recommendation types: + // KEYWORD, OPTIMIZE_AD_ROTATION, TEXT_AD + AdGroup *wrappers.StringValue `protobuf:"bytes,7,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // Whether the recommendation is dismissed or not. + Dismissed *wrappers.BoolValue `protobuf:"bytes,13,opt,name=dismissed,proto3" json:"dismissed,omitempty"` + // The details of recommendation. + // + // Types that are valid to be assigned to Recommendation: + // *Recommendation_CampaignBudgetRecommendation_ + // *Recommendation_KeywordRecommendation_ + // *Recommendation_TextAdRecommendation_ + // *Recommendation_TargetCpaOptInRecommendation_ + // *Recommendation_MaximizeConversionsOptInRecommendation_ + // *Recommendation_EnhancedCpcOptInRecommendation_ + // *Recommendation_SearchPartnersOptInRecommendation_ + // *Recommendation_MaximizeClicksOptInRecommendation_ + // *Recommendation_OptimizeAdRotationRecommendation_ + Recommendation isRecommendation_Recommendation `protobuf_oneof:"recommendation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation) Reset() { *m = Recommendation{} } +func (m *Recommendation) String() string { return proto.CompactTextString(m) } +func (*Recommendation) ProtoMessage() {} +func (*Recommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0} +} +func (m *Recommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation.Unmarshal(m, b) +} +func (m *Recommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation.Merge(dst, src) +} +func (m *Recommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation.Size(m) +} +func (m *Recommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation proto.InternalMessageInfo + +func (m *Recommendation) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Recommendation) GetType() enums.RecommendationTypeEnum_RecommendationType { + if m != nil { + return m.Type + } + return enums.RecommendationTypeEnum_UNSPECIFIED +} + +func (m *Recommendation) GetImpact() *Recommendation_RecommendationImpact { + if m != nil { + return m.Impact + } + return nil +} + +func (m *Recommendation) GetCampaignBudget() *wrappers.StringValue { + if m != nil { + return m.CampaignBudget + } + return nil +} + +func (m *Recommendation) GetCampaign() *wrappers.StringValue { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *Recommendation) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *Recommendation) GetDismissed() *wrappers.BoolValue { + if m != nil { + return m.Dismissed + } + return nil +} + +type isRecommendation_Recommendation interface { + isRecommendation_Recommendation() +} + +type Recommendation_CampaignBudgetRecommendation_ struct { + CampaignBudgetRecommendation *Recommendation_CampaignBudgetRecommendation `protobuf:"bytes,4,opt,name=campaign_budget_recommendation,json=campaignBudgetRecommendation,proto3,oneof"` +} + +type Recommendation_KeywordRecommendation_ struct { + KeywordRecommendation *Recommendation_KeywordRecommendation `protobuf:"bytes,8,opt,name=keyword_recommendation,json=keywordRecommendation,proto3,oneof"` +} + +type Recommendation_TextAdRecommendation_ struct { + TextAdRecommendation *Recommendation_TextAdRecommendation `protobuf:"bytes,9,opt,name=text_ad_recommendation,json=textAdRecommendation,proto3,oneof"` +} + +type Recommendation_TargetCpaOptInRecommendation_ struct { + TargetCpaOptInRecommendation *Recommendation_TargetCpaOptInRecommendation `protobuf:"bytes,10,opt,name=target_cpa_opt_in_recommendation,json=targetCpaOptInRecommendation,proto3,oneof"` +} + +type Recommendation_MaximizeConversionsOptInRecommendation_ struct { + MaximizeConversionsOptInRecommendation *Recommendation_MaximizeConversionsOptInRecommendation `protobuf:"bytes,11,opt,name=maximize_conversions_opt_in_recommendation,json=maximizeConversionsOptInRecommendation,proto3,oneof"` +} + +type Recommendation_EnhancedCpcOptInRecommendation_ struct { + EnhancedCpcOptInRecommendation *Recommendation_EnhancedCpcOptInRecommendation `protobuf:"bytes,12,opt,name=enhanced_cpc_opt_in_recommendation,json=enhancedCpcOptInRecommendation,proto3,oneof"` +} + +type Recommendation_SearchPartnersOptInRecommendation_ struct { + SearchPartnersOptInRecommendation *Recommendation_SearchPartnersOptInRecommendation `protobuf:"bytes,14,opt,name=search_partners_opt_in_recommendation,json=searchPartnersOptInRecommendation,proto3,oneof"` +} + +type Recommendation_MaximizeClicksOptInRecommendation_ struct { + MaximizeClicksOptInRecommendation *Recommendation_MaximizeClicksOptInRecommendation `protobuf:"bytes,15,opt,name=maximize_clicks_opt_in_recommendation,json=maximizeClicksOptInRecommendation,proto3,oneof"` +} + +type Recommendation_OptimizeAdRotationRecommendation_ struct { + OptimizeAdRotationRecommendation *Recommendation_OptimizeAdRotationRecommendation `protobuf:"bytes,16,opt,name=optimize_ad_rotation_recommendation,json=optimizeAdRotationRecommendation,proto3,oneof"` +} + +func (*Recommendation_CampaignBudgetRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_KeywordRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_TextAdRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_TargetCpaOptInRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_MaximizeConversionsOptInRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_EnhancedCpcOptInRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_SearchPartnersOptInRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_MaximizeClicksOptInRecommendation_) isRecommendation_Recommendation() {} + +func (*Recommendation_OptimizeAdRotationRecommendation_) isRecommendation_Recommendation() {} + +func (m *Recommendation) GetRecommendation() isRecommendation_Recommendation { + if m != nil { + return m.Recommendation + } + return nil +} + +func (m *Recommendation) GetCampaignBudgetRecommendation() *Recommendation_CampaignBudgetRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_CampaignBudgetRecommendation_); ok { + return x.CampaignBudgetRecommendation + } + return nil +} + +func (m *Recommendation) GetKeywordRecommendation() *Recommendation_KeywordRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_KeywordRecommendation_); ok { + return x.KeywordRecommendation + } + return nil +} + +func (m *Recommendation) GetTextAdRecommendation() *Recommendation_TextAdRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_TextAdRecommendation_); ok { + return x.TextAdRecommendation + } + return nil +} + +func (m *Recommendation) GetTargetCpaOptInRecommendation() *Recommendation_TargetCpaOptInRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_TargetCpaOptInRecommendation_); ok { + return x.TargetCpaOptInRecommendation + } + return nil +} + +func (m *Recommendation) GetMaximizeConversionsOptInRecommendation() *Recommendation_MaximizeConversionsOptInRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_MaximizeConversionsOptInRecommendation_); ok { + return x.MaximizeConversionsOptInRecommendation + } + return nil +} + +func (m *Recommendation) GetEnhancedCpcOptInRecommendation() *Recommendation_EnhancedCpcOptInRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_EnhancedCpcOptInRecommendation_); ok { + return x.EnhancedCpcOptInRecommendation + } + return nil +} + +func (m *Recommendation) GetSearchPartnersOptInRecommendation() *Recommendation_SearchPartnersOptInRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_SearchPartnersOptInRecommendation_); ok { + return x.SearchPartnersOptInRecommendation + } + return nil +} + +func (m *Recommendation) GetMaximizeClicksOptInRecommendation() *Recommendation_MaximizeClicksOptInRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_MaximizeClicksOptInRecommendation_); ok { + return x.MaximizeClicksOptInRecommendation + } + return nil +} + +func (m *Recommendation) GetOptimizeAdRotationRecommendation() *Recommendation_OptimizeAdRotationRecommendation { + if x, ok := m.GetRecommendation().(*Recommendation_OptimizeAdRotationRecommendation_); ok { + return x.OptimizeAdRotationRecommendation + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Recommendation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Recommendation_OneofMarshaler, _Recommendation_OneofUnmarshaler, _Recommendation_OneofSizer, []interface{}{ + (*Recommendation_CampaignBudgetRecommendation_)(nil), + (*Recommendation_KeywordRecommendation_)(nil), + (*Recommendation_TextAdRecommendation_)(nil), + (*Recommendation_TargetCpaOptInRecommendation_)(nil), + (*Recommendation_MaximizeConversionsOptInRecommendation_)(nil), + (*Recommendation_EnhancedCpcOptInRecommendation_)(nil), + (*Recommendation_SearchPartnersOptInRecommendation_)(nil), + (*Recommendation_MaximizeClicksOptInRecommendation_)(nil), + (*Recommendation_OptimizeAdRotationRecommendation_)(nil), + } +} + +func _Recommendation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Recommendation) + // recommendation + switch x := m.Recommendation.(type) { + case *Recommendation_CampaignBudgetRecommendation_: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignBudgetRecommendation); err != nil { + return err + } + case *Recommendation_KeywordRecommendation_: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.KeywordRecommendation); err != nil { + return err + } + case *Recommendation_TextAdRecommendation_: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TextAdRecommendation); err != nil { + return err + } + case *Recommendation_TargetCpaOptInRecommendation_: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetCpaOptInRecommendation); err != nil { + return err + } + case *Recommendation_MaximizeConversionsOptInRecommendation_: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MaximizeConversionsOptInRecommendation); err != nil { + return err + } + case *Recommendation_EnhancedCpcOptInRecommendation_: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.EnhancedCpcOptInRecommendation); err != nil { + return err + } + case *Recommendation_SearchPartnersOptInRecommendation_: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SearchPartnersOptInRecommendation); err != nil { + return err + } + case *Recommendation_MaximizeClicksOptInRecommendation_: + b.EncodeVarint(15<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MaximizeClicksOptInRecommendation); err != nil { + return err + } + case *Recommendation_OptimizeAdRotationRecommendation_: + b.EncodeVarint(16<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.OptimizeAdRotationRecommendation); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Recommendation.Recommendation has unexpected type %T", x) + } + return nil +} + +func _Recommendation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Recommendation) + switch tag { + case 4: // recommendation.campaign_budget_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_CampaignBudgetRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_CampaignBudgetRecommendation_{msg} + return true, err + case 8: // recommendation.keyword_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_KeywordRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_KeywordRecommendation_{msg} + return true, err + case 9: // recommendation.text_ad_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_TextAdRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_TextAdRecommendation_{msg} + return true, err + case 10: // recommendation.target_cpa_opt_in_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_TargetCpaOptInRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_TargetCpaOptInRecommendation_{msg} + return true, err + case 11: // recommendation.maximize_conversions_opt_in_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_MaximizeConversionsOptInRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_MaximizeConversionsOptInRecommendation_{msg} + return true, err + case 12: // recommendation.enhanced_cpc_opt_in_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_EnhancedCpcOptInRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_EnhancedCpcOptInRecommendation_{msg} + return true, err + case 14: // recommendation.search_partners_opt_in_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_SearchPartnersOptInRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_SearchPartnersOptInRecommendation_{msg} + return true, err + case 15: // recommendation.maximize_clicks_opt_in_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_MaximizeClicksOptInRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_MaximizeClicksOptInRecommendation_{msg} + return true, err + case 16: // recommendation.optimize_ad_rotation_recommendation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Recommendation_OptimizeAdRotationRecommendation) + err := b.DecodeMessage(msg) + m.Recommendation = &Recommendation_OptimizeAdRotationRecommendation_{msg} + return true, err + default: + return false, nil + } +} + +func _Recommendation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Recommendation) + // recommendation + switch x := m.Recommendation.(type) { + case *Recommendation_CampaignBudgetRecommendation_: + s := proto.Size(x.CampaignBudgetRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_KeywordRecommendation_: + s := proto.Size(x.KeywordRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_TextAdRecommendation_: + s := proto.Size(x.TextAdRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_TargetCpaOptInRecommendation_: + s := proto.Size(x.TargetCpaOptInRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_MaximizeConversionsOptInRecommendation_: + s := proto.Size(x.MaximizeConversionsOptInRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_EnhancedCpcOptInRecommendation_: + s := proto.Size(x.EnhancedCpcOptInRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_SearchPartnersOptInRecommendation_: + s := proto.Size(x.SearchPartnersOptInRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_MaximizeClicksOptInRecommendation_: + s := proto.Size(x.MaximizeClicksOptInRecommendation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Recommendation_OptimizeAdRotationRecommendation_: + s := proto.Size(x.OptimizeAdRotationRecommendation) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// The impact of making the change as described in the recommendation. +// Some types of recommendations may not have impact information. +type Recommendation_RecommendationImpact struct { + // Base metrics at the time the recommendation was generated. + BaseMetrics *Recommendation_RecommendationMetrics `protobuf:"bytes,1,opt,name=base_metrics,json=baseMetrics,proto3" json:"base_metrics,omitempty"` + // Estimated metrics if the recommendation is applied. + PotentialMetrics *Recommendation_RecommendationMetrics `protobuf:"bytes,2,opt,name=potential_metrics,json=potentialMetrics,proto3" json:"potential_metrics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_RecommendationImpact) Reset() { *m = Recommendation_RecommendationImpact{} } +func (m *Recommendation_RecommendationImpact) String() string { return proto.CompactTextString(m) } +func (*Recommendation_RecommendationImpact) ProtoMessage() {} +func (*Recommendation_RecommendationImpact) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 0} +} +func (m *Recommendation_RecommendationImpact) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_RecommendationImpact.Unmarshal(m, b) +} +func (m *Recommendation_RecommendationImpact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_RecommendationImpact.Marshal(b, m, deterministic) +} +func (dst *Recommendation_RecommendationImpact) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_RecommendationImpact.Merge(dst, src) +} +func (m *Recommendation_RecommendationImpact) XXX_Size() int { + return xxx_messageInfo_Recommendation_RecommendationImpact.Size(m) +} +func (m *Recommendation_RecommendationImpact) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_RecommendationImpact.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_RecommendationImpact proto.InternalMessageInfo + +func (m *Recommendation_RecommendationImpact) GetBaseMetrics() *Recommendation_RecommendationMetrics { + if m != nil { + return m.BaseMetrics + } + return nil +} + +func (m *Recommendation_RecommendationImpact) GetPotentialMetrics() *Recommendation_RecommendationMetrics { + if m != nil { + return m.PotentialMetrics + } + return nil +} + +// Weekly account performance metrics. For some recommendation types, these +// are averaged over the past 90-day period and hence can be fractional. +type Recommendation_RecommendationMetrics struct { + // Number of ad impressions. + Impressions *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=impressions,proto3" json:"impressions,omitempty"` + // Number of ad clicks. + Clicks *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=clicks,proto3" json:"clicks,omitempty"` + // Cost (in micros) for advertising, in the local currency for the account. + CostMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` + // Number of conversions. + Conversions *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=conversions,proto3" json:"conversions,omitempty"` + // Number of video views for a video ad campaign. + VideoViews *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=video_views,json=videoViews,proto3" json:"video_views,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_RecommendationMetrics) Reset() { *m = Recommendation_RecommendationMetrics{} } +func (m *Recommendation_RecommendationMetrics) String() string { return proto.CompactTextString(m) } +func (*Recommendation_RecommendationMetrics) ProtoMessage() {} +func (*Recommendation_RecommendationMetrics) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 1} +} +func (m *Recommendation_RecommendationMetrics) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_RecommendationMetrics.Unmarshal(m, b) +} +func (m *Recommendation_RecommendationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_RecommendationMetrics.Marshal(b, m, deterministic) +} +func (dst *Recommendation_RecommendationMetrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_RecommendationMetrics.Merge(dst, src) +} +func (m *Recommendation_RecommendationMetrics) XXX_Size() int { + return xxx_messageInfo_Recommendation_RecommendationMetrics.Size(m) +} +func (m *Recommendation_RecommendationMetrics) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_RecommendationMetrics.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_RecommendationMetrics proto.InternalMessageInfo + +func (m *Recommendation_RecommendationMetrics) GetImpressions() *wrappers.DoubleValue { + if m != nil { + return m.Impressions + } + return nil +} + +func (m *Recommendation_RecommendationMetrics) GetClicks() *wrappers.DoubleValue { + if m != nil { + return m.Clicks + } + return nil +} + +func (m *Recommendation_RecommendationMetrics) GetCostMicros() *wrappers.Int64Value { + if m != nil { + return m.CostMicros + } + return nil +} + +func (m *Recommendation_RecommendationMetrics) GetConversions() *wrappers.DoubleValue { + if m != nil { + return m.Conversions + } + return nil +} + +func (m *Recommendation_RecommendationMetrics) GetVideoViews() *wrappers.DoubleValue { + if m != nil { + return m.VideoViews + } + return nil +} + +// The budget recommendation for budget constrained campaigns. +type Recommendation_CampaignBudgetRecommendation struct { + // The current budget amount in micros. + CurrentBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=current_budget_amount_micros,json=currentBudgetAmountMicros,proto3" json:"current_budget_amount_micros,omitempty"` + // The recommended budget amount in micros. + RecommendedBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=recommended_budget_amount_micros,json=recommendedBudgetAmountMicros,proto3" json:"recommended_budget_amount_micros,omitempty"` + // The budget amounts and associated impact estimates for some values of + // possible budget amounts. + BudgetOptions []*Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption `protobuf:"bytes,3,rep,name=budget_options,json=budgetOptions,proto3" json:"budget_options,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_CampaignBudgetRecommendation) Reset() { + *m = Recommendation_CampaignBudgetRecommendation{} +} +func (m *Recommendation_CampaignBudgetRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_CampaignBudgetRecommendation) ProtoMessage() {} +func (*Recommendation_CampaignBudgetRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 2} +} +func (m *Recommendation_CampaignBudgetRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_CampaignBudgetRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_CampaignBudgetRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_CampaignBudgetRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_CampaignBudgetRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_CampaignBudgetRecommendation.Merge(dst, src) +} +func (m *Recommendation_CampaignBudgetRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_CampaignBudgetRecommendation.Size(m) +} +func (m *Recommendation_CampaignBudgetRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_CampaignBudgetRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_CampaignBudgetRecommendation proto.InternalMessageInfo + +func (m *Recommendation_CampaignBudgetRecommendation) GetCurrentBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.CurrentBudgetAmountMicros + } + return nil +} + +func (m *Recommendation_CampaignBudgetRecommendation) GetRecommendedBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.RecommendedBudgetAmountMicros + } + return nil +} + +func (m *Recommendation_CampaignBudgetRecommendation) GetBudgetOptions() []*Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption { + if m != nil { + return m.BudgetOptions + } + return nil +} + +// The impact estimates for a given budget amount. +type Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption struct { + // The budget amount for this option. + BudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=budget_amount_micros,json=budgetAmountMicros,proto3" json:"budget_amount_micros,omitempty"` + // The impact estimate if budget is changed to amount specified in this + // option. + Impact *Recommendation_RecommendationImpact `protobuf:"bytes,2,opt,name=impact,proto3" json:"impact,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) Reset() { + *m = Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption{} +} +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) ProtoMessage() { +} +func (*Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 2, 0} +} +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption.Unmarshal(m, b) +} +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption.Marshal(b, m, deterministic) +} +func (dst *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption.Merge(dst, src) +} +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) XXX_Size() int { + return xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption.Size(m) +} +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption proto.InternalMessageInfo + +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) GetBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.BudgetAmountMicros + } + return nil +} + +func (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) GetImpact() *Recommendation_RecommendationImpact { + if m != nil { + return m.Impact + } + return nil +} + +// The keyword recommendation. +type Recommendation_KeywordRecommendation struct { + // The recommended keyword. + Keyword *common.KeywordInfo `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` + // The recommended CPC (cost-per-click) bid. + RecommendedCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=recommended_cpc_bid_micros,json=recommendedCpcBidMicros,proto3" json:"recommended_cpc_bid_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_KeywordRecommendation) Reset() { *m = Recommendation_KeywordRecommendation{} } +func (m *Recommendation_KeywordRecommendation) String() string { return proto.CompactTextString(m) } +func (*Recommendation_KeywordRecommendation) ProtoMessage() {} +func (*Recommendation_KeywordRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 3} +} +func (m *Recommendation_KeywordRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_KeywordRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_KeywordRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_KeywordRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_KeywordRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_KeywordRecommendation.Merge(dst, src) +} +func (m *Recommendation_KeywordRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_KeywordRecommendation.Size(m) +} +func (m *Recommendation_KeywordRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_KeywordRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_KeywordRecommendation proto.InternalMessageInfo + +func (m *Recommendation_KeywordRecommendation) GetKeyword() *common.KeywordInfo { + if m != nil { + return m.Keyword + } + return nil +} + +func (m *Recommendation_KeywordRecommendation) GetRecommendedCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.RecommendedCpcBidMicros + } + return nil +} + +// The text ad recommendation. +type Recommendation_TextAdRecommendation struct { + // Recommended ad. + Ad *Ad `protobuf:"bytes,1,opt,name=ad,proto3" json:"ad,omitempty"` + // Creation date of the recommended ad. + // YYYY-MM-DD format, e.g., 2018-04-17. + CreationDate *wrappers.StringValue `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + // Date, if present, is the earliest when the recommendation will be auto + // applied. + // YYYY-MM-DD format, e.g., 2018-04-17. + AutoApplyDate *wrappers.StringValue `protobuf:"bytes,3,opt,name=auto_apply_date,json=autoApplyDate,proto3" json:"auto_apply_date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_TextAdRecommendation) Reset() { *m = Recommendation_TextAdRecommendation{} } +func (m *Recommendation_TextAdRecommendation) String() string { return proto.CompactTextString(m) } +func (*Recommendation_TextAdRecommendation) ProtoMessage() {} +func (*Recommendation_TextAdRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 4} +} +func (m *Recommendation_TextAdRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_TextAdRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_TextAdRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_TextAdRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_TextAdRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_TextAdRecommendation.Merge(dst, src) +} +func (m *Recommendation_TextAdRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_TextAdRecommendation.Size(m) +} +func (m *Recommendation_TextAdRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_TextAdRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_TextAdRecommendation proto.InternalMessageInfo + +func (m *Recommendation_TextAdRecommendation) GetAd() *Ad { + if m != nil { + return m.Ad + } + return nil +} + +func (m *Recommendation_TextAdRecommendation) GetCreationDate() *wrappers.StringValue { + if m != nil { + return m.CreationDate + } + return nil +} + +func (m *Recommendation_TextAdRecommendation) GetAutoApplyDate() *wrappers.StringValue { + if m != nil { + return m.AutoApplyDate + } + return nil +} + +// The Target CPA opt-in recommendation. +type Recommendation_TargetCpaOptInRecommendation struct { + // The available goals and corresponding options for Target CPA strategy. + Options []*Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` + // The recommended average CPA target. See required budget amount and impact + // of using this recommendation in options list. + RecommendedTargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=recommended_target_cpa_micros,json=recommendedTargetCpaMicros,proto3" json:"recommended_target_cpa_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_TargetCpaOptInRecommendation) Reset() { + *m = Recommendation_TargetCpaOptInRecommendation{} +} +func (m *Recommendation_TargetCpaOptInRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_TargetCpaOptInRecommendation) ProtoMessage() {} +func (*Recommendation_TargetCpaOptInRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 5} +} +func (m *Recommendation_TargetCpaOptInRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_TargetCpaOptInRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_TargetCpaOptInRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation.Merge(dst, src) +} +func (m *Recommendation_TargetCpaOptInRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation.Size(m) +} +func (m *Recommendation_TargetCpaOptInRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation proto.InternalMessageInfo + +func (m *Recommendation_TargetCpaOptInRecommendation) GetOptions() []*Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption { + if m != nil { + return m.Options + } + return nil +} + +func (m *Recommendation_TargetCpaOptInRecommendation) GetRecommendedTargetCpaMicros() *wrappers.Int64Value { + if m != nil { + return m.RecommendedTargetCpaMicros + } + return nil +} + +// The Target CPA opt-in option with impact estimate. +type Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption struct { + // The goal achieved by this option. + Goal enums.TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal `protobuf:"varint,1,opt,name=goal,proto3,enum=google.ads.googleads.v0.enums.TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal" json:"goal,omitempty"` + // Average CPA target. + TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_micros,omitempty"` + // The minimum campaign budget, in local currency for the account, + // required to achieve the target CPA. + // Amount is specified in micros, where one million is equivalent to one + // currency unit. + RequiredCampaignBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=required_campaign_budget_amount_micros,json=requiredCampaignBudgetAmountMicros,proto3" json:"required_campaign_budget_amount_micros,omitempty"` + // The impact estimate if this option is selected. + Impact *Recommendation_RecommendationImpact `protobuf:"bytes,4,opt,name=impact,proto3" json:"impact,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) Reset() { + *m = Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption{} +} +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) ProtoMessage() { +} +func (*Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 5, 0} +} +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption.Unmarshal(m, b) +} +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption.Marshal(b, m, deterministic) +} +func (dst *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption.Merge(dst, src) +} +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) XXX_Size() int { + return xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption.Size(m) +} +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption proto.InternalMessageInfo + +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) GetGoal() enums.TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal { + if m != nil { + return m.Goal + } + return enums.TargetCpaOptInRecommendationGoalEnum_UNSPECIFIED +} + +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) GetTargetCpaMicros() *wrappers.Int64Value { + if m != nil { + return m.TargetCpaMicros + } + return nil +} + +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) GetRequiredCampaignBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.RequiredCampaignBudgetAmountMicros + } + return nil +} + +func (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) GetImpact() *Recommendation_RecommendationImpact { + if m != nil { + return m.Impact + } + return nil +} + +// The Maximize Conversions Opt-In recommendation. +type Recommendation_MaximizeConversionsOptInRecommendation struct { + // The recommended new budget amount. + RecommendedBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=recommended_budget_amount_micros,json=recommendedBudgetAmountMicros,proto3" json:"recommended_budget_amount_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_MaximizeConversionsOptInRecommendation) Reset() { + *m = Recommendation_MaximizeConversionsOptInRecommendation{} +} +func (m *Recommendation_MaximizeConversionsOptInRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_MaximizeConversionsOptInRecommendation) ProtoMessage() {} +func (*Recommendation_MaximizeConversionsOptInRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 6} +} +func (m *Recommendation_MaximizeConversionsOptInRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_MaximizeConversionsOptInRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_MaximizeConversionsOptInRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation.Merge(dst, src) +} +func (m *Recommendation_MaximizeConversionsOptInRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation.Size(m) +} +func (m *Recommendation_MaximizeConversionsOptInRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation proto.InternalMessageInfo + +func (m *Recommendation_MaximizeConversionsOptInRecommendation) GetRecommendedBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.RecommendedBudgetAmountMicros + } + return nil +} + +// The Enhanced Cost-Per-Click Opt-In recommendation. +type Recommendation_EnhancedCpcOptInRecommendation struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_EnhancedCpcOptInRecommendation) Reset() { + *m = Recommendation_EnhancedCpcOptInRecommendation{} +} +func (m *Recommendation_EnhancedCpcOptInRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_EnhancedCpcOptInRecommendation) ProtoMessage() {} +func (*Recommendation_EnhancedCpcOptInRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 7} +} +func (m *Recommendation_EnhancedCpcOptInRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_EnhancedCpcOptInRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_EnhancedCpcOptInRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation.Merge(dst, src) +} +func (m *Recommendation_EnhancedCpcOptInRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation.Size(m) +} +func (m *Recommendation_EnhancedCpcOptInRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation proto.InternalMessageInfo + +// The Search Partners Opt-In recommendation. +type Recommendation_SearchPartnersOptInRecommendation struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_SearchPartnersOptInRecommendation) Reset() { + *m = Recommendation_SearchPartnersOptInRecommendation{} +} +func (m *Recommendation_SearchPartnersOptInRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_SearchPartnersOptInRecommendation) ProtoMessage() {} +func (*Recommendation_SearchPartnersOptInRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 8} +} +func (m *Recommendation_SearchPartnersOptInRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_SearchPartnersOptInRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_SearchPartnersOptInRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation.Merge(dst, src) +} +func (m *Recommendation_SearchPartnersOptInRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation.Size(m) +} +func (m *Recommendation_SearchPartnersOptInRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation proto.InternalMessageInfo + +// The Maximize Clicks opt-in recommendation. +type Recommendation_MaximizeClicksOptInRecommendation struct { + // The recommended new budget amount. + // Only set if the current budget is too high. + RecommendedBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=recommended_budget_amount_micros,json=recommendedBudgetAmountMicros,proto3" json:"recommended_budget_amount_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_MaximizeClicksOptInRecommendation) Reset() { + *m = Recommendation_MaximizeClicksOptInRecommendation{} +} +func (m *Recommendation_MaximizeClicksOptInRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_MaximizeClicksOptInRecommendation) ProtoMessage() {} +func (*Recommendation_MaximizeClicksOptInRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 9} +} +func (m *Recommendation_MaximizeClicksOptInRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_MaximizeClicksOptInRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_MaximizeClicksOptInRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation.Merge(dst, src) +} +func (m *Recommendation_MaximizeClicksOptInRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation.Size(m) +} +func (m *Recommendation_MaximizeClicksOptInRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation proto.InternalMessageInfo + +func (m *Recommendation_MaximizeClicksOptInRecommendation) GetRecommendedBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.RecommendedBudgetAmountMicros + } + return nil +} + +// The Optimize Ad Rotation recommendation. +type Recommendation_OptimizeAdRotationRecommendation struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Recommendation_OptimizeAdRotationRecommendation) Reset() { + *m = Recommendation_OptimizeAdRotationRecommendation{} +} +func (m *Recommendation_OptimizeAdRotationRecommendation) String() string { + return proto.CompactTextString(m) +} +func (*Recommendation_OptimizeAdRotationRecommendation) ProtoMessage() {} +func (*Recommendation_OptimizeAdRotationRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_eee397a9522b69a5, []int{0, 10} +} +func (m *Recommendation_OptimizeAdRotationRecommendation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation.Unmarshal(m, b) +} +func (m *Recommendation_OptimizeAdRotationRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation.Marshal(b, m, deterministic) +} +func (dst *Recommendation_OptimizeAdRotationRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation.Merge(dst, src) +} +func (m *Recommendation_OptimizeAdRotationRecommendation) XXX_Size() int { + return xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation.Size(m) +} +func (m *Recommendation_OptimizeAdRotationRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation.DiscardUnknown(m) +} + +var xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation proto.InternalMessageInfo + +func init() { + proto.RegisterType((*Recommendation)(nil), "google.ads.googleads.v0.resources.Recommendation") + proto.RegisterType((*Recommendation_RecommendationImpact)(nil), "google.ads.googleads.v0.resources.Recommendation.RecommendationImpact") + proto.RegisterType((*Recommendation_RecommendationMetrics)(nil), "google.ads.googleads.v0.resources.Recommendation.RecommendationMetrics") + proto.RegisterType((*Recommendation_CampaignBudgetRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.CampaignBudgetRecommendation") + proto.RegisterType((*Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption)(nil), "google.ads.googleads.v0.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption") + proto.RegisterType((*Recommendation_KeywordRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.KeywordRecommendation") + proto.RegisterType((*Recommendation_TextAdRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.TextAdRecommendation") + proto.RegisterType((*Recommendation_TargetCpaOptInRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.TargetCpaOptInRecommendation") + proto.RegisterType((*Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption)(nil), "google.ads.googleads.v0.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption") + proto.RegisterType((*Recommendation_MaximizeConversionsOptInRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.MaximizeConversionsOptInRecommendation") + proto.RegisterType((*Recommendation_EnhancedCpcOptInRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.EnhancedCpcOptInRecommendation") + proto.RegisterType((*Recommendation_SearchPartnersOptInRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.SearchPartnersOptInRecommendation") + proto.RegisterType((*Recommendation_MaximizeClicksOptInRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.MaximizeClicksOptInRecommendation") + proto.RegisterType((*Recommendation_OptimizeAdRotationRecommendation)(nil), "google.ads.googleads.v0.resources.Recommendation.OptimizeAdRotationRecommendation") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/recommendation.proto", fileDescriptor_recommendation_eee397a9522b69a5) +} + +var fileDescriptor_recommendation_eee397a9522b69a5 = []byte{ + // 1315 bytes of a gzipped FileDescriptorProto + 0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x4e, 0x24, 0xd9, 0xb4, 0xfc, 0x7a, 0xf4, 0x18, 0x3e, 0x1d, 0xac, 0xd7, + 0xf5, 0x18, 0xf9, 0x22, 0xc6, 0xb4, 0x9a, 0x96, 0xdf, 0x4a, 0x30, 0xad, 0x83, 0xf5, 0x56, 0x82, + 0x69, 0xcf, 0x48, 0x13, 0xef, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xd2, 0xfa, 0x62, 0x48, + 0x14, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/search_term_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/search_term_view.pb.go new file mode 100644 index 000000000..ae760dd63 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/search_term_view.pb.go @@ -0,0 +1,129 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/search_term_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A search term view with metrics aggregated by search term at the ad group +// level. +type SearchTermView struct { + // The resource name of the search term view. + // Search term view resource names have the form: + // + // `customers/{customer_id}/searchTermViews/{campaign_id}_{ad_group_id}_ + // {URL-base64 search term}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The search term. + SearchTerm *wrappers.StringValue `protobuf:"bytes,2,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` + // The ad group the search term served in. + AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // Indicates whether the search term is currently one of your + // targeted or excluded keywords. + Status enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchTermView) Reset() { *m = SearchTermView{} } +func (m *SearchTermView) String() string { return proto.CompactTextString(m) } +func (*SearchTermView) ProtoMessage() {} +func (*SearchTermView) Descriptor() ([]byte, []int) { + return fileDescriptor_search_term_view_41238e08ac980d71, []int{0} +} +func (m *SearchTermView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchTermView.Unmarshal(m, b) +} +func (m *SearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchTermView.Marshal(b, m, deterministic) +} +func (dst *SearchTermView) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchTermView.Merge(dst, src) +} +func (m *SearchTermView) XXX_Size() int { + return xxx_messageInfo_SearchTermView.Size(m) +} +func (m *SearchTermView) XXX_DiscardUnknown() { + xxx_messageInfo_SearchTermView.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchTermView proto.InternalMessageInfo + +func (m *SearchTermView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *SearchTermView) GetSearchTerm() *wrappers.StringValue { + if m != nil { + return m.SearchTerm + } + return nil +} + +func (m *SearchTermView) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *SearchTermView) GetStatus() enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus { + if m != nil { + return m.Status + } + return enums.SearchTermTargetingStatusEnum_UNSPECIFIED +} + +func init() { + proto.RegisterType((*SearchTermView)(nil), "google.ads.googleads.v0.resources.SearchTermView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/search_term_view.proto", fileDescriptor_search_term_view_41238e08ac980d71) +} + +var fileDescriptor_search_term_view_41238e08ac980d71 = []byte{ + // 366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0x4a, 0xf3, 0x40, + 0x14, 0x25, 0xe9, 0x47, 0x3f, 0x9d, 0x6a, 0x17, 0x71, 0x13, 0x8a, 0x48, 0xab, 0x08, 0x5d, 0x4d, + 0x42, 0x5d, 0x28, 0x88, 0x60, 0x0a, 0x52, 0x70, 0x21, 0x25, 0x2d, 0x59, 0x48, 0x20, 0x4c, 0x9b, + 0xeb, 0x18, 0x68, 0x66, 0xc2, 0x4c, 0xa6, 0x7d, 0x1a, 0x37, 0x2e, 0x7d, 0x14, 0x9f, 0xc0, 0xc7, + 0x91, 0xfc, 0x4c, 0xb4, 0x8b, 0xaa, 0xbb, 0x93, 0xcc, 0xf9, 0x99, 0x73, 0xef, 0xa0, 0x2b, 0xca, + 0x39, 0x5d, 0x81, 0x43, 0x62, 0xe9, 0x54, 0xb0, 0x40, 0x6b, 0xd7, 0x11, 0x20, 0xb9, 0x12, 0x4b, + 0x90, 0x8e, 0x04, 0x22, 0x96, 0xcf, 0x51, 0x0e, 0x22, 0x8d, 0xd6, 0x09, 0x6c, 0x70, 0x26, 0x78, + 0xce, 0xad, 0x41, 0x45, 0xc7, 0x24, 0x96, 0xb8, 0x51, 0xe2, 0xb5, 0x8b, 0x1b, 0x65, 0xef, 0x76, + 0x97, 0x39, 0x30, 0x95, 0x6e, 0x1b, 0xe7, 0x44, 0x50, 0xc8, 0x13, 0x46, 0x23, 0x99, 0x93, 0x5c, + 0xc9, 0x2a, 0xa4, 0x77, 0x52, 0x3b, 0x94, 0x5f, 0x0b, 0xf5, 0xe4, 0x6c, 0x04, 0xc9, 0x32, 0x10, + 0xf5, 0xf9, 0xe9, 0x8b, 0x89, 0xba, 0xb3, 0xd2, 0x66, 0x0e, 0x22, 0x0d, 0x12, 0xd8, 0x58, 0x67, + 0xe8, 0x50, 0xdf, 0x20, 0x62, 0x24, 0x05, 0xdb, 0xe8, 0x1b, 0xc3, 0x7d, 0xff, 0x40, 0xff, 0x7c, + 0x20, 0x29, 0x58, 0x37, 0xa8, 0xf3, 0x2d, 0xdd, 0x36, 0xfb, 0xc6, 0xb0, 0x33, 0x3a, 0xae, 0x7b, + 0x60, 0x9d, 0x86, 0x67, 0xb9, 0x48, 0x18, 0x0d, 0xc8, 0x4a, 0x81, 0x8f, 0x64, 0x93, 0x63, 0x5d, + 0xa2, 0x3d, 0x12, 0x47, 0x54, 0x70, 0x95, 0xd9, 0xad, 0x3f, 0x68, 0xff, 0x93, 0x78, 0x52, 0x90, + 0x2d, 0x86, 0xda, 0x55, 0x3f, 0xfb, 0x5f, 0xdf, 0x18, 0x76, 0x47, 0x01, 0xde, 0x35, 0xc5, 0x72, + 0x44, 0xf8, 0xab, 0xdb, 0x5c, 0x0f, 0x68, 0x56, 0xea, 0xef, 0x98, 0x4a, 0x77, 0x9f, 0xfa, 0x75, + 0xca, 0xf8, 0xc3, 0x40, 0xe7, 0x4b, 0x9e, 0xe2, 0x5f, 0x77, 0x35, 0x3e, 0xda, 0x1e, 0xe3, 0xb4, + 0xa8, 0x31, 0x35, 0x1e, 0xef, 0x6b, 0x25, 0xe5, 0x2b, 0xc2, 0x28, 0xe6, 0x82, 0x3a, 0x14, 0x58, + 0x59, 0x52, 0xaf, 0x34, 0x4b, 0xe4, 0x0f, 0xcf, 0xe7, 0xba, 0x41, 0xaf, 0x66, 0x6b, 0xe2, 0x79, + 0x6f, 0xe6, 0x60, 0x52, 0x59, 0x7a, 0xb1, 0xc4, 0x15, 0x2c, 0x50, 0xe0, 0x62, 0x5f, 0x33, 0xdf, + 0x35, 0x27, 0xf4, 0x62, 0x19, 0x36, 0x9c, 0x30, 0x70, 0xc3, 0x86, 0xb3, 0x68, 0x97, 0x97, 0xb8, + 0xf8, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xa4, 0xe9, 0x8f, 0xc2, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_criterion.pb.go new file mode 100644 index 000000000..9054a742b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_criterion.pb.go @@ -0,0 +1,323 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/shared_criterion.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A criterion belonging to a shared set. +type SharedCriterion struct { + // The resource name of the shared criterion. + // Shared set resource names have the form: + // + // `customers/{customer_id}/sharedCriteria/{shared_set_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The shared set to which the shared criterion belongs. + SharedSet *wrappers.StringValue `protobuf:"bytes,2,opt,name=shared_set,json=sharedSet,proto3" json:"shared_set,omitempty"` + // The ID of the criterion. + // + // This field is ignored for mutates. + CriterionId *wrappers.Int64Value `protobuf:"bytes,26,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` + // The type of the criterion. + Type enums.CriterionTypeEnum_CriterionType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` + // The criterion. + // + // Exactly one must be set. + // + // Types that are valid to be assigned to Criterion: + // *SharedCriterion_Keyword + // *SharedCriterion_YoutubeVideo + // *SharedCriterion_YoutubeChannel + // *SharedCriterion_Placement + Criterion isSharedCriterion_Criterion `protobuf_oneof:"criterion"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedCriterion) Reset() { *m = SharedCriterion{} } +func (m *SharedCriterion) String() string { return proto.CompactTextString(m) } +func (*SharedCriterion) ProtoMessage() {} +func (*SharedCriterion) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_6f71aadda527e84b, []int{0} +} +func (m *SharedCriterion) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedCriterion.Unmarshal(m, b) +} +func (m *SharedCriterion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedCriterion.Marshal(b, m, deterministic) +} +func (dst *SharedCriterion) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedCriterion.Merge(dst, src) +} +func (m *SharedCriterion) XXX_Size() int { + return xxx_messageInfo_SharedCriterion.Size(m) +} +func (m *SharedCriterion) XXX_DiscardUnknown() { + xxx_messageInfo_SharedCriterion.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedCriterion proto.InternalMessageInfo + +func (m *SharedCriterion) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *SharedCriterion) GetSharedSet() *wrappers.StringValue { + if m != nil { + return m.SharedSet + } + return nil +} + +func (m *SharedCriterion) GetCriterionId() *wrappers.Int64Value { + if m != nil { + return m.CriterionId + } + return nil +} + +func (m *SharedCriterion) GetType() enums.CriterionTypeEnum_CriterionType { + if m != nil { + return m.Type + } + return enums.CriterionTypeEnum_UNSPECIFIED +} + +type isSharedCriterion_Criterion interface { + isSharedCriterion_Criterion() +} + +type SharedCriterion_Keyword struct { + Keyword *common.KeywordInfo `protobuf:"bytes,3,opt,name=keyword,proto3,oneof"` +} + +type SharedCriterion_YoutubeVideo struct { + YoutubeVideo *common.YouTubeVideoInfo `protobuf:"bytes,5,opt,name=youtube_video,json=youtubeVideo,proto3,oneof"` +} + +type SharedCriterion_YoutubeChannel struct { + YoutubeChannel *common.YouTubeChannelInfo `protobuf:"bytes,6,opt,name=youtube_channel,json=youtubeChannel,proto3,oneof"` +} + +type SharedCriterion_Placement struct { + Placement *common.PlacementInfo `protobuf:"bytes,7,opt,name=placement,proto3,oneof"` +} + +func (*SharedCriterion_Keyword) isSharedCriterion_Criterion() {} + +func (*SharedCriterion_YoutubeVideo) isSharedCriterion_Criterion() {} + +func (*SharedCriterion_YoutubeChannel) isSharedCriterion_Criterion() {} + +func (*SharedCriterion_Placement) isSharedCriterion_Criterion() {} + +func (m *SharedCriterion) GetCriterion() isSharedCriterion_Criterion { + if m != nil { + return m.Criterion + } + return nil +} + +func (m *SharedCriterion) GetKeyword() *common.KeywordInfo { + if x, ok := m.GetCriterion().(*SharedCriterion_Keyword); ok { + return x.Keyword + } + return nil +} + +func (m *SharedCriterion) GetYoutubeVideo() *common.YouTubeVideoInfo { + if x, ok := m.GetCriterion().(*SharedCriterion_YoutubeVideo); ok { + return x.YoutubeVideo + } + return nil +} + +func (m *SharedCriterion) GetYoutubeChannel() *common.YouTubeChannelInfo { + if x, ok := m.GetCriterion().(*SharedCriterion_YoutubeChannel); ok { + return x.YoutubeChannel + } + return nil +} + +func (m *SharedCriterion) GetPlacement() *common.PlacementInfo { + if x, ok := m.GetCriterion().(*SharedCriterion_Placement); ok { + return x.Placement + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*SharedCriterion) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _SharedCriterion_OneofMarshaler, _SharedCriterion_OneofUnmarshaler, _SharedCriterion_OneofSizer, []interface{}{ + (*SharedCriterion_Keyword)(nil), + (*SharedCriterion_YoutubeVideo)(nil), + (*SharedCriterion_YoutubeChannel)(nil), + (*SharedCriterion_Placement)(nil), + } +} + +func _SharedCriterion_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*SharedCriterion) + // criterion + switch x := m.Criterion.(type) { + case *SharedCriterion_Keyword: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Keyword); err != nil { + return err + } + case *SharedCriterion_YoutubeVideo: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.YoutubeVideo); err != nil { + return err + } + case *SharedCriterion_YoutubeChannel: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.YoutubeChannel); err != nil { + return err + } + case *SharedCriterion_Placement: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Placement); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("SharedCriterion.Criterion has unexpected type %T", x) + } + return nil +} + +func _SharedCriterion_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*SharedCriterion) + switch tag { + case 3: // criterion.keyword + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.KeywordInfo) + err := b.DecodeMessage(msg) + m.Criterion = &SharedCriterion_Keyword{msg} + return true, err + case 5: // criterion.youtube_video + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.YouTubeVideoInfo) + err := b.DecodeMessage(msg) + m.Criterion = &SharedCriterion_YoutubeVideo{msg} + return true, err + case 6: // criterion.youtube_channel + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.YouTubeChannelInfo) + err := b.DecodeMessage(msg) + m.Criterion = &SharedCriterion_YoutubeChannel{msg} + return true, err + case 7: // criterion.placement + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.PlacementInfo) + err := b.DecodeMessage(msg) + m.Criterion = &SharedCriterion_Placement{msg} + return true, err + default: + return false, nil + } +} + +func _SharedCriterion_OneofSizer(msg proto.Message) (n int) { + m := msg.(*SharedCriterion) + // criterion + switch x := m.Criterion.(type) { + case *SharedCriterion_Keyword: + s := proto.Size(x.Keyword) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SharedCriterion_YoutubeVideo: + s := proto.Size(x.YoutubeVideo) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SharedCriterion_YoutubeChannel: + s := proto.Size(x.YoutubeChannel) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SharedCriterion_Placement: + s := proto.Size(x.Placement) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*SharedCriterion)(nil), "google.ads.googleads.v0.resources.SharedCriterion") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/shared_criterion.proto", fileDescriptor_shared_criterion_6f71aadda527e84b) +} + +var fileDescriptor_shared_criterion_6f71aadda527e84b = []byte{ + // 498 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x8a, 0xd3, 0x40, + 0x14, 0x87, 0x4d, 0xb7, 0xee, 0xd2, 0x69, 0x77, 0x17, 0x82, 0x17, 0xa1, 0x8a, 0x74, 0x15, 0xa1, + 0x20, 0x3b, 0x09, 0x55, 0x44, 0x58, 0x58, 0x68, 0x17, 0xa9, 0x55, 0x94, 0x92, 0x2e, 0x15, 0xa5, + 0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a, 0xa7, + 0xf5, 0x59, 0x98, 0x3a, 0x9f, 0xde, 0x68, 0x34, 0x61, 0x19, 0xa1, 0x09, 0x66, 0x3c, 0xf1, 0x13, + 0xa0, 0xf2, 0xa4, 0x98, 0xcb, 0x50, 0xa4, 0xe2, 0x1f, 0xf7, 0xf4, 0xcc, 0x56, 0x5f, 0x1b, 0x7b, + 0xe3, 0xe1, 0xf0, 0x5b, 0xe3, 0x64, 0xac, 0x94, 0xc3, 0x58, 0x60, 0x55, 0xd6, 0xd5, 0x3c, 0xc0, + 0xa1, 0x49, 0x7e, 0x37, 0x99, 0xc5, 0x30, 0x16, 0x0b, 0x9b, 0x59, 0xcc, 0x83, 0x85, 0xcd, 0xac, + 0xf6, 0xe5, 0x10, 0xcf, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x15, 0x3a, 0x23, 0x2b, 0x04, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_set.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_set.pb.go new file mode 100644 index 000000000..0d3b2bdff --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/shared_set.pb.go @@ -0,0 +1,163 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/shared_set.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// SharedSets are used for sharing criterion exclusions across multiple +// campaigns. +type SharedSet struct { + // The resource name of the shared set. + // Shared set resource names have the form: + // + // `customers/{customer_id}/sharedSets/{shared_set_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of this shared set. Read only. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The type of this shared set: each shared set holds only a single kind + // of entity. Required. Immutable. + Type enums.SharedSetTypeEnum_SharedSetType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.SharedSetTypeEnum_SharedSetType" json:"type,omitempty"` + // The name of this shared set. Required. + // Shared Sets must have names that are unique among active shared sets of + // the same type. + // The length of this string should be between 1 and 255 UTF-8 bytes, + // inclusive. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The status of this shared set. Read only. + Status enums.SharedSetStatusEnum_SharedSetStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.SharedSetStatusEnum_SharedSetStatus" json:"status,omitempty"` + // The number of shared criteria within this shared set. Read only. + MemberCount *wrappers.Int64Value `protobuf:"bytes,6,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"` + // The number of campaigns associated with this shared set. Read only. + ReferenceCount *wrappers.Int64Value `protobuf:"bytes,7,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedSet) Reset() { *m = SharedSet{} } +func (m *SharedSet) String() string { return proto.CompactTextString(m) } +func (*SharedSet) ProtoMessage() {} +func (*SharedSet) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_62551757b5337245, []int{0} +} +func (m *SharedSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedSet.Unmarshal(m, b) +} +func (m *SharedSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedSet.Marshal(b, m, deterministic) +} +func (dst *SharedSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedSet.Merge(dst, src) +} +func (m *SharedSet) XXX_Size() int { + return xxx_messageInfo_SharedSet.Size(m) +} +func (m *SharedSet) XXX_DiscardUnknown() { + xxx_messageInfo_SharedSet.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedSet proto.InternalMessageInfo + +func (m *SharedSet) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *SharedSet) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *SharedSet) GetType() enums.SharedSetTypeEnum_SharedSetType { + if m != nil { + return m.Type + } + return enums.SharedSetTypeEnum_UNSPECIFIED +} + +func (m *SharedSet) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *SharedSet) GetStatus() enums.SharedSetStatusEnum_SharedSetStatus { + if m != nil { + return m.Status + } + return enums.SharedSetStatusEnum_UNSPECIFIED +} + +func (m *SharedSet) GetMemberCount() *wrappers.Int64Value { + if m != nil { + return m.MemberCount + } + return nil +} + +func (m *SharedSet) GetReferenceCount() *wrappers.Int64Value { + if m != nil { + return m.ReferenceCount + } + return nil +} + +func init() { + proto.RegisterType((*SharedSet)(nil), "google.ads.googleads.v0.resources.SharedSet") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/shared_set.proto", fileDescriptor_shared_set_62551757b5337245) +} + +var fileDescriptor_shared_set_62551757b5337245 = []byte{ + // 420 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x8b, 0xd3, 0x40, + 0x18, 0x86, 0x49, 0x5a, 0x2b, 0x3b, 0xbb, 0x56, 0x98, 0x53, 0x58, 0x45, 0xba, 0x8a, 0x50, 0x10, + 0x26, 0xa1, 0xab, 0x5e, 0x84, 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x36, 0xb3, 0x1a, 0x69, 0x89, 0xeb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x69, 0x38, 0xf9, + 0x89, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_constant.pb.go new file mode 100644 index 000000000..00c068e8f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_constant.pb.go @@ -0,0 +1,132 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/topic_constant.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Use topics to target or exclude placements in the Google Display Network +// based on the category into which the placement falls (for example, +// "Pets & Animals/Pets/Dogs"). +type TopicConstant struct { + // The resource name of the topic constant. + // topic constant resource names have the form: + // + // `topicConstants/{topic_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the topic. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // Resource name of parent of the topic constant. + TopicConstantParent *wrappers.StringValue `protobuf:"bytes,3,opt,name=topic_constant_parent,json=topicConstantParent,proto3" json:"topic_constant_parent,omitempty"` + // The category to target or exclude. Each subsequent element in the array + // describes a more specific sub-category. For example, + // {"Pets & Animals", "Pets", "Dogs"} represents the + // "Pets & Animals/Pets/Dogs" category. A complete list of available topic + // categories is available + // + // here + Path []*wrappers.StringValue `protobuf:"bytes,4,rep,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TopicConstant) Reset() { *m = TopicConstant{} } +func (m *TopicConstant) String() string { return proto.CompactTextString(m) } +func (*TopicConstant) ProtoMessage() {} +func (*TopicConstant) Descriptor() ([]byte, []int) { + return fileDescriptor_topic_constant_65f470286ad84f07, []int{0} +} +func (m *TopicConstant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TopicConstant.Unmarshal(m, b) +} +func (m *TopicConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TopicConstant.Marshal(b, m, deterministic) +} +func (dst *TopicConstant) XXX_Merge(src proto.Message) { + xxx_messageInfo_TopicConstant.Merge(dst, src) +} +func (m *TopicConstant) XXX_Size() int { + return xxx_messageInfo_TopicConstant.Size(m) +} +func (m *TopicConstant) XXX_DiscardUnknown() { + xxx_messageInfo_TopicConstant.DiscardUnknown(m) +} + +var xxx_messageInfo_TopicConstant proto.InternalMessageInfo + +func (m *TopicConstant) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *TopicConstant) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *TopicConstant) GetTopicConstantParent() *wrappers.StringValue { + if m != nil { + return m.TopicConstantParent + } + return nil +} + +func (m *TopicConstant) GetPath() []*wrappers.StringValue { + if m != nil { + return m.Path + } + return nil +} + +func init() { + proto.RegisterType((*TopicConstant)(nil), "google.ads.googleads.v0.resources.TopicConstant") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/topic_constant.proto", fileDescriptor_topic_constant_65f470286ad84f07) +} + +var fileDescriptor_topic_constant_65f470286ad84f07 = []byte{ + // 327 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00,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f, 0x2b, 0x3a, + 0x0d, 0x4b, 0x12, 0x65, 0x60, 0x7f, 0x73, 0xfd, 0xb9, 0xc4, 0x8a, 0x72, 0x13, 0x77, 0x2c, 0x7f, + 0xf4, 0x8b, 0x7f, 0x30, 0xaa, 0xe4, 0xcc, 0x09, 0xf6, 0xcc, 0xcf, 0xed, 0x32, 0x0b, 0x46, 0x09, + 0xe8, 0x4a, 0x6c, 0x5e, 0xe2, 0x6e, 0xbf, 0xb3, 0x55, 0x60, 0x9b, 0xe3, 0xcf, 0x00, 0x9c, 0x15, + 0x62, 0x05, 0xb7, 0xfe, 0xd8, 0x38, 0xda, 0xf8, 0x8e, 0xac, 0x56, 0x66, 0xc1, 0xd3, 0x5d, 0x03, + 0x32, 0xb1, 0xc4, 0x9c, 0x41, 0xa1, 0x18, 0x62, 0x94, 0xdb, 0x81, 0xfe, 0x64, 0xb2, 0xd4, 0x7f, + 0x5c, 0xf0, 0xba, 0x4d, 0x6f, 0x61, 0x67, 0x92, 0xa6, 0xef, 0xe1, 0x60, 0xe2, 0x94, 0x29, 0xd1, + 0xd0, 0xc5, 0x3a, 0xcd, 0x12, 0x38, 0xf5, 0xcd, 0x0f, 0xdf, 0xc9, 0x53, 0xa2, 0xf3, 0xb6, 0x93, + 0xcf, 0x92, 0xbc, 0xed, 0x2c, 0xfe, 0xd9, 0x25, 0x2e, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0f, + 0xe9, 0xf0, 0xd7, 0x45, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_view.pb.go new file mode 100644 index 000000000..700dff6bf --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/topic_view.pb.go @@ -0,0 +1,88 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/topic_view.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A topic view. +type TopicView struct { + // The resource name of the topic view. + // Topic view resource names have the form: + // + // `customers/{customer_id}/topicViews/{ad_group_id}_{criterion_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TopicView) Reset() { *m = TopicView{} } +func (m *TopicView) String() string { return proto.CompactTextString(m) } +func (*TopicView) ProtoMessage() {} +func (*TopicView) Descriptor() ([]byte, []int) { + return fileDescriptor_topic_view_b0ffb79b2c716b89, []int{0} +} +func (m *TopicView) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TopicView.Unmarshal(m, b) +} +func (m *TopicView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TopicView.Marshal(b, m, deterministic) +} +func (dst *TopicView) XXX_Merge(src proto.Message) { + xxx_messageInfo_TopicView.Merge(dst, src) +} +func (m *TopicView) XXX_Size() int { + return xxx_messageInfo_TopicView.Size(m) +} +func (m *TopicView) XXX_DiscardUnknown() { + xxx_messageInfo_TopicView.DiscardUnknown(m) +} + +var xxx_messageInfo_TopicView proto.InternalMessageInfo + +func (m *TopicView) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*TopicView)(nil), "google.ads.googleads.v0.resources.TopicView") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/topic_view.proto", fileDescriptor_topic_view_b0ffb79b2c716b89) +} + +var fileDescriptor_topic_view_b0ffb79b2c716b89 = []byte{ + // 221 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xa2, 0xd4, + 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x92, 0xfc, 0x82, 0xcc, 0xe4, 0xf8, 0xb2, 0xcc, + 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x42, 0xbd, 0xc4, 0x94, 0x62, + 0x3d, 0xb8, 0x1e, 0xbd, 0x32, 0x03, 0x3d, 0xb8, 0x1e, 0x25, 0x03, 0x2e, 0xce, 0x10, 0x90, 0xb6, + 0xb0, 0xcc, 0xd4, 0x72, 0x21, 0x65, 0x2e, 0x5e, 0x98, 0x4c, 0x7c, 0x5e, 0x62, 0x6e, 0xaa, 0x04, + 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x0f, 0x4c, 0xd0, 0x2f, 0x31, 0x37, 0xd5, 0xe9, 0x32, 0x23, + 0x97, 0x6a, 0x72, 0x7e, 0xae, 0x1e, 0x41, 0xb3, 0x9d, 0xf8, 0xe0, 0x26, 0x07, 0x80, 0x9c, 0x13, + 0xc0, 0x18, 0xe5, 0x05, 0xd5, 0x94, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, + 0x9f, 0x9e, 0x9a, 0x07, 0x76, 0x2c, 0xcc, 0x53, 0x05, 0x99, 0xc5, 0x78, 0xfc, 0x68, 0x0d, 0x67, + 0x2d, 0x62, 0x62, 0x76, 0x77, 0x74, 0x5c, 0xc5, 0xa4, 0xe8, 0x0e, 0x31, 0xd2, 0x31, 0xa5, 0x58, + 0x0f, 0xc2, 0x04, 0xb1, 0xc2, 0x0c, 0xf4, 0x82, 0x60, 0x2a, 0x4f, 0xc1, 0xd4, 0xc4, 0x38, 0xa6, + 0x14, 0xc7, 0xc0, 0xd5, 0xc4, 0x84, 0x19, 0xc4, 0xc0, 0xd5, 0x24, 0xb1, 0x81, 0x1d, 0x61, 0x0c, + 0x08, 0x00, 0x00, 0xff, 0xff, 0x59, 0x2b, 0x41, 0x19, 0x67, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_interest.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_interest.pb.go new file mode 100644 index 000000000..c783bb027 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_interest.pb.go @@ -0,0 +1,162 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/user_interest.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A user interest: a particular interest-based vertical to be targeted. +type UserInterest struct { + // The resource name of the user interest. + // User interest resource names have the form: + // + // `customers/{customer_id}/userInterests/{user_interest_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // Taxonomy type of the user interest. + TaxonomyType enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType `protobuf:"varint,2,opt,name=taxonomy_type,json=taxonomyType,proto3,enum=google.ads.googleads.v0.enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType" json:"taxonomy_type,omitempty"` + // The ID of the user interest. + UserInterestId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=user_interest_id,json=userInterestId,proto3" json:"user_interest_id,omitempty"` + // The name of the user interest. + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The parent of the user interest. + UserInterestParent *wrappers.StringValue `protobuf:"bytes,5,opt,name=user_interest_parent,json=userInterestParent,proto3" json:"user_interest_parent,omitempty"` + // True if the user interest is launched to all channels and locales. + LaunchedToAll *wrappers.BoolValue `protobuf:"bytes,6,opt,name=launched_to_all,json=launchedToAll,proto3" json:"launched_to_all,omitempty"` + // Availability information of the user interest. + Availabilities []*common.CriterionCategoryAvailability `protobuf:"bytes,7,rep,name=availabilities,proto3" json:"availabilities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserInterest) Reset() { *m = UserInterest{} } +func (m *UserInterest) String() string { return proto.CompactTextString(m) } +func (*UserInterest) ProtoMessage() {} +func (*UserInterest) Descriptor() ([]byte, []int) { + return fileDescriptor_user_interest_3d236450e913a580, []int{0} +} +func (m *UserInterest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserInterest.Unmarshal(m, b) +} +func (m *UserInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserInterest.Marshal(b, m, deterministic) +} +func (dst *UserInterest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserInterest.Merge(dst, src) +} +func (m *UserInterest) XXX_Size() int { + return xxx_messageInfo_UserInterest.Size(m) +} +func (m *UserInterest) XXX_DiscardUnknown() { + xxx_messageInfo_UserInterest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserInterest proto.InternalMessageInfo + +func (m *UserInterest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *UserInterest) GetTaxonomyType() enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType { + if m != nil { + return m.TaxonomyType + } + return enums.UserInterestTaxonomyTypeEnum_UNSPECIFIED +} + +func (m *UserInterest) GetUserInterestId() *wrappers.Int64Value { + if m != nil { + return m.UserInterestId + } + return nil +} + +func (m *UserInterest) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *UserInterest) GetUserInterestParent() *wrappers.StringValue { + if m != nil { + return m.UserInterestParent + } + return nil +} + +func (m *UserInterest) GetLaunchedToAll() *wrappers.BoolValue { + if m != nil { + return m.LaunchedToAll + } + return nil +} + +func (m *UserInterest) GetAvailabilities() []*common.CriterionCategoryAvailability { + if m != nil { + return m.Availabilities + } + return nil +} + +func init() { + proto.RegisterType((*UserInterest)(nil), "google.ads.googleads.v0.resources.UserInterest") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/user_interest.proto", fileDescriptor_user_interest_3d236450e913a580) +} + +var fileDescriptor_user_interest_3d236450e913a580 = []byte{ + // 487 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x8a, 0xd3, 0x40, + 0x14, 0xc6, 0x49, 0x5b, 0x57, 0x9c, 0x6d, 0xab, 0x06, 0x2f, 0x42, 0x15, 0xe9, 0x2a, 0x42, 0xaf, + 0x26, 0xa1, 0xfe, 0xb9, 0x11, 0x91, 0x74, 0x5d, 0x96, 0x7a, 0xb1, 0x94, 0x58, 0x7b, 0x21, 0x85, + 0x30, 0x4d, 0x8e, 0x71, 0x60, 0x32, 0x13, 0x66, 0x26, 0xd5, 0xbc, 0xce, 0x5e, 0xfa, 0x28, 0x3e, + 0x80, 0xcf, 0x23, 0x4d, 0x32, 0x21, 0xdd, 0x25, 0xea, 0xdd, 0x99, 0xce, 0xf9, 0x7e, 0xdf, 0x39, + 0x9d, 0x2f, 0xe8, 0x75, 0x22, 0x44, 0xc2, 0xc0, 0x25, 0xb1, 0x72, 0xab, 0xf2, 0x50, 0xed, 0x3d, + 0x57, 0x82, 0x12, 0xb9, 0x8c, 0x40, 0xb9, 0xb9, 0x02, 0x19, 0x52, 0xae, 0x41, 0x82, 0xd2, 0x38, + 0x93, 0x42, 0x0b, 0xfb, 0xac, 0xea, 0xc5, 0x24, 0x56, 0xb8, 0x91, 0xe1, 0xbd, 0x87, 0x1b, 0xd9, + 0xe4, 0x43, 0x17, 0x39, 0x12, 0x69, 0x2a, 0xb8, 0x1b, 0x49, 0xaa, 0x41, 0x52, 0xc1, 0xc3, 0x88, + 0x68, 0x48, 0x84, 0x2c, 0x42, 0xb2, 0x27, 0x94, 0x91, 0x1d, 0x65, 0x54, 0x17, 0x95, 0xd1, 0xe4, + 0x7d, 0x17, 0x05, 0x78, 0x9e, 0xde, 0x98, 0x2d, 0xd4, 0xe4, 0x87, 0xe0, 0x22, 0x2d, 0x42, 0x5d, + 0x64, 0x50, 0x03, 0x9e, 0xd6, 0x80, 0xf2, 0xb4, 0xcb, 0xbf, 0xba, 0xdf, 0x25, 0xc9, 0x32, 0x90, + 0xaa, 0xba, 0x7f, 0x76, 0x3d, 0x40, 0xc3, 0xcf, 0x0a, 0xe4, 0xb2, 0x86, 0xd8, 0xcf, 0xd1, 0xc8, + 0x2c, 0x11, 0x72, 0x92, 0x82, 0x63, 0x4d, 0xad, 0xd9, 0xbd, 0x60, 0x68, 0x7e, 0xbc, 0x22, 0x29, + 0xd8, 0x05, 0x1a, 0x1d, 0x99, 0x39, 0xbd, 0xa9, 0x35, 0x1b, 0xcf, 0xd7, 0xb8, 0xeb, 0x7f, 0x29, + 0xc7, 0xc5, 0x6d, 0xa3, 0x75, 0xad, 0x5f, 0x17, 0x19, 0x5c, 0xf0, 0x3c, 0xed, 0xbc, 0x0c, 0x86, + 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 0x3f, 0x7b, 0x67, 0x97, 0x15, 0xd2, 0x8f, 0x15, 0xae, 0xca, + 0x43, 0xb5, 0xf1, 0x70, 0x60, 0x3a, 0x7f, 0x99, 0x9e, 0xad, 0x1f, 0xab, 0x6d, 0xd3, 0xb3, 0xdd, + 0x78, 0xdb, 0xa6, 0x67, 0x77, 0x52, 0x0e, 0xf1, 0xf2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, + 0x40, 0x95, 0x80, 0x07, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_list.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_list.pb.go new file mode 100644 index 000000000..966e81b94 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/user_list.pb.go @@ -0,0 +1,438 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/user_list.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A user list. This is a list of users a customer may target. +type UserList struct { + // The resource name of the user list. + // User list resource names have the form: + // + // `customers/{customer_id}/userLists/{user_list_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // Id of the user list. + Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // A flag that indicates if a user may edit a list. Depends on the list + // ownership and list type. For example, external remarketing user lists are + // not editable. + // + // This field is read-only. + ReadOnly *wrappers.BoolValue `protobuf:"bytes,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` + // Name of this user list. Depending on its access_reason, the user list name + // may not be unique (e.g. if access_reason=SHARED) + Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // Description of this user list. + Description *wrappers.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + // Membership status of this user list. Indicates whether a user list is open + // or active. Only open user lists can accumulate more users and can be + // targeted to. + MembershipStatus enums.UserListMembershipStatusEnum_UserListMembershipStatus `protobuf:"varint,6,opt,name=membership_status,json=membershipStatus,proto3,enum=google.ads.googleads.v0.enums.UserListMembershipStatusEnum_UserListMembershipStatus" json:"membership_status,omitempty"` + // An ID from external system. It is used by user list sellers to correlate + // IDs on their systems. + IntegrationCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=integration_code,json=integrationCode,proto3" json:"integration_code,omitempty"` + // Number of days a user's cookie stays on your list since its most recent + // addition to the list. This field must be between 0 and 540 inclusive. + // However, for CRM based userlists, this field can be set to 10000 which + // means no expiration. + // + // It'll be ignored for logical_user_list. + MembershipLifeSpan *wrappers.Int64Value `protobuf:"bytes,8,opt,name=membership_life_span,json=membershipLifeSpan,proto3" json:"membership_life_span,omitempty"` + // Estimated number of users in this user list, on the Google Display Network. + // This value is null if the number of users has not yet been determined. + // + // This field is read-only. + SizeForDisplay *wrappers.Int64Value `protobuf:"bytes,9,opt,name=size_for_display,json=sizeForDisplay,proto3" json:"size_for_display,omitempty"` + // Size range in terms of number of users of the UserList, on the Google + // Display Network. + // + // This field is read-only. + SizeRangeForDisplay enums.UserListSizeRangeEnum_UserListSizeRange `protobuf:"varint,10,opt,name=size_range_for_display,json=sizeRangeForDisplay,proto3,enum=google.ads.googleads.v0.enums.UserListSizeRangeEnum_UserListSizeRange" json:"size_range_for_display,omitempty"` + // Estimated number of users in this user list in the google.com domain. + // These are the users available for targeting in Search campaigns. + // This value is null if the number of users has not yet been determined. + // + // This field is read-only. + SizeForSearch *wrappers.Int64Value `protobuf:"bytes,11,opt,name=size_for_search,json=sizeForSearch,proto3" json:"size_for_search,omitempty"` + // Size range in terms of number of users of the UserList, for Search ads. + // + // This field is read-only. + SizeRangeForSearch enums.UserListSizeRangeEnum_UserListSizeRange `protobuf:"varint,12,opt,name=size_range_for_search,json=sizeRangeForSearch,proto3,enum=google.ads.googleads.v0.enums.UserListSizeRangeEnum_UserListSizeRange" json:"size_range_for_search,omitempty"` + // Type of this list. + // + // This field is read-only. + Type enums.UserListTypeEnum_UserListType `protobuf:"varint,13,opt,name=type,proto3,enum=google.ads.googleads.v0.enums.UserListTypeEnum_UserListType" json:"type,omitempty"` + // Indicating the reason why this user list membership status is closed. It is + // only populated on lists that were automatically closed due to inactivity, + // and will be cleared once the list membership status becomes open. + ClosingReason enums.UserListClosingReasonEnum_UserListClosingReason `protobuf:"varint,14,opt,name=closing_reason,json=closingReason,proto3,enum=google.ads.googleads.v0.enums.UserListClosingReasonEnum_UserListClosingReason" json:"closing_reason,omitempty"` + // Indicates the reason this account has been granted access to the list. + // The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. + // + // This field is read-only. + AccessReason enums.AccessReasonEnum_AccessReason `protobuf:"varint,15,opt,name=access_reason,json=accessReason,proto3,enum=google.ads.googleads.v0.enums.AccessReasonEnum_AccessReason" json:"access_reason,omitempty"` + // Indicates if this share is still enabled. When a UserList is shared with + // the user this field is set to ENABLED. Later the userList owner can decide + // to revoke the share and make it DISABLED. + // The default value of this field is set to ENABLED. + AccountUserListStatus enums.UserListAccessStatusEnum_UserListAccessStatus `protobuf:"varint,16,opt,name=account_user_list_status,json=accountUserListStatus,proto3,enum=google.ads.googleads.v0.enums.UserListAccessStatusEnum_UserListAccessStatus" json:"account_user_list_status,omitempty"` + // Indicates if this user list is eligible for Google Search Network. + EligibleForSearch *wrappers.BoolValue `protobuf:"bytes,17,opt,name=eligible_for_search,json=eligibleForSearch,proto3" json:"eligible_for_search,omitempty"` + // Indicates this user list is eligible for Google Display Network. + // + // This field is read-only. + EligibleForDisplay *wrappers.BoolValue `protobuf:"bytes,18,opt,name=eligible_for_display,json=eligibleForDisplay,proto3" json:"eligible_for_display,omitempty"` + // The user list. + // + // Exactly one must be set. + // + // Types that are valid to be assigned to UserList: + // *UserList_CrmBasedUserList + // *UserList_SimilarUserList + UserList isUserList_UserList `protobuf_oneof:"user_list"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserList) Reset() { *m = UserList{} } +func (m *UserList) String() string { return proto.CompactTextString(m) } +func (*UserList) ProtoMessage() {} +func (*UserList) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_be045e08990b40e2, []int{0} +} +func (m *UserList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserList.Unmarshal(m, b) +} +func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserList.Marshal(b, m, deterministic) +} +func (dst *UserList) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserList.Merge(dst, src) +} +func (m *UserList) XXX_Size() int { + return xxx_messageInfo_UserList.Size(m) +} +func (m *UserList) XXX_DiscardUnknown() { + xxx_messageInfo_UserList.DiscardUnknown(m) +} + +var xxx_messageInfo_UserList proto.InternalMessageInfo + +func (m *UserList) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *UserList) GetId() *wrappers.Int64Value { + if m != nil { + return m.Id + } + return nil +} + +func (m *UserList) GetReadOnly() *wrappers.BoolValue { + if m != nil { + return m.ReadOnly + } + return nil +} + +func (m *UserList) GetName() *wrappers.StringValue { + if m != nil { + return m.Name + } + return nil +} + +func (m *UserList) GetDescription() *wrappers.StringValue { + if m != nil { + return m.Description + } + return nil +} + +func (m *UserList) GetMembershipStatus() enums.UserListMembershipStatusEnum_UserListMembershipStatus { + if m != nil { + return m.MembershipStatus + } + return enums.UserListMembershipStatusEnum_UNSPECIFIED +} + +func (m *UserList) GetIntegrationCode() *wrappers.StringValue { + if m != nil { + return m.IntegrationCode + } + return nil +} + +func (m *UserList) GetMembershipLifeSpan() *wrappers.Int64Value { + if m != nil { + return m.MembershipLifeSpan + } + return nil +} + +func (m *UserList) GetSizeForDisplay() *wrappers.Int64Value { + if m != nil { + return m.SizeForDisplay + } + return nil +} + +func (m *UserList) GetSizeRangeForDisplay() enums.UserListSizeRangeEnum_UserListSizeRange { + if m != nil { + return m.SizeRangeForDisplay + } + return enums.UserListSizeRangeEnum_UNSPECIFIED +} + +func (m *UserList) GetSizeForSearch() *wrappers.Int64Value { + if m != nil { + return m.SizeForSearch + } + return nil +} + +func (m *UserList) GetSizeRangeForSearch() enums.UserListSizeRangeEnum_UserListSizeRange { + if m != nil { + return m.SizeRangeForSearch + } + return enums.UserListSizeRangeEnum_UNSPECIFIED +} + +func (m *UserList) GetType() enums.UserListTypeEnum_UserListType { + if m != nil { + return m.Type + } + return enums.UserListTypeEnum_UNSPECIFIED +} + +func (m *UserList) GetClosingReason() enums.UserListClosingReasonEnum_UserListClosingReason { + if m != nil { + return m.ClosingReason + } + return enums.UserListClosingReasonEnum_UNSPECIFIED +} + +func (m *UserList) GetAccessReason() enums.AccessReasonEnum_AccessReason { + if m != nil { + return m.AccessReason + } + return enums.AccessReasonEnum_UNSPECIFIED +} + +func (m *UserList) GetAccountUserListStatus() enums.UserListAccessStatusEnum_UserListAccessStatus { + if m != nil { + return m.AccountUserListStatus + } + return enums.UserListAccessStatusEnum_UNSPECIFIED +} + +func (m *UserList) GetEligibleForSearch() *wrappers.BoolValue { + if m != nil { + return m.EligibleForSearch + } + return nil +} + +func (m *UserList) GetEligibleForDisplay() *wrappers.BoolValue { + if m != nil { + return m.EligibleForDisplay + } + return nil +} + +type isUserList_UserList interface { + isUserList_UserList() +} + +type UserList_CrmBasedUserList struct { + CrmBasedUserList *common.CrmBasedUserListInfo `protobuf:"bytes,19,opt,name=crm_based_user_list,json=crmBasedUserList,proto3,oneof"` +} + +type UserList_SimilarUserList struct { + SimilarUserList *common.SimilarUserListInfo `protobuf:"bytes,20,opt,name=similar_user_list,json=similarUserList,proto3,oneof"` +} + +func (*UserList_CrmBasedUserList) isUserList_UserList() {} + +func (*UserList_SimilarUserList) isUserList_UserList() {} + +func (m *UserList) GetUserList() isUserList_UserList { + if m != nil { + return m.UserList + } + return nil +} + +func (m *UserList) GetCrmBasedUserList() *common.CrmBasedUserListInfo { + if x, ok := m.GetUserList().(*UserList_CrmBasedUserList); ok { + return x.CrmBasedUserList + } + return nil +} + +func (m *UserList) GetSimilarUserList() *common.SimilarUserListInfo { + if x, ok := m.GetUserList().(*UserList_SimilarUserList); ok { + return x.SimilarUserList + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*UserList) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _UserList_OneofMarshaler, _UserList_OneofUnmarshaler, _UserList_OneofSizer, []interface{}{ + (*UserList_CrmBasedUserList)(nil), + (*UserList_SimilarUserList)(nil), + } +} + +func _UserList_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*UserList) + // user_list + switch x := m.UserList.(type) { + case *UserList_CrmBasedUserList: + b.EncodeVarint(19<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CrmBasedUserList); err != nil { + return err + } + case *UserList_SimilarUserList: + b.EncodeVarint(20<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SimilarUserList); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("UserList.UserList has unexpected type %T", x) + } + return nil +} + +func _UserList_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*UserList) + switch tag { + case 19: // user_list.crm_based_user_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.CrmBasedUserListInfo) + err := b.DecodeMessage(msg) + m.UserList = &UserList_CrmBasedUserList{msg} + return true, err + case 20: // user_list.similar_user_list + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(common.SimilarUserListInfo) + err := b.DecodeMessage(msg) + m.UserList = &UserList_SimilarUserList{msg} + return true, err + default: + return false, nil + } +} + +func _UserList_OneofSizer(msg proto.Message) (n int) { + m := msg.(*UserList) + // user_list + switch x := m.UserList.(type) { + case *UserList_CrmBasedUserList: + s := proto.Size(x.CrmBasedUserList) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *UserList_SimilarUserList: + s := proto.Size(x.SimilarUserList) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*UserList)(nil), "google.ads.googleads.v0.resources.UserList") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/user_list.proto", fileDescriptor_user_list_be045e08990b40e2) +} + +var fileDescriptor_user_list_be045e08990b40e2 = []byte{ + // 825 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x4f, 0xe3, 0x46, + 0x18, 0xc7, 0xeb, 0x40, 0x29, 0x99, 0x90, 0xb7, 0x09, 0x54, 0x16, 0xad, 0x2a, 0x68, 0x55, 0x09, + 0xa9, 0x92, 0x9d, 0x02, 0x6a, 0x2b, 0x81, 0x5a, 0x25, 0x29, 0x50, 0x50, 0xa0, 0xc8, 0xa1, 0x1c, + 0xaa, 0x48, 0xd6, 0xc4, 0x9e, 0x98, 0x91, 0xec, 0x19, 0x6b, 0xc6, 0xa6, 0x0a, 0x3d, 0xed, 0x61, + 0xbf, 0xc8, 0x1e, 0xf7, 0xa3, 0xac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x2c, + 0x67, 0x7c, 0xdf, 0x1d, 0x67, 0x39, 0x93, 0x0d, 0x39, 0x89, 0xa3, 0x8f, 0x01, 0x00, 0x00, 0xff, + 0xff, 0xbc, 0x72, 0x4d, 0xf8, 0xb0, 0x09, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/video.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/video.pb.go new file mode 100644 index 000000000..eca780aa4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/resources/video.pb.go @@ -0,0 +1,132 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/resources/video.proto + +package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A video. +type Video struct { + // The resource name of the video. + // Video resource names have the form: + // + // `customers/{customer_id}/videos/{video_id}` + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The ID of the video. + Id *wrappers.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // The owner channel id of the video. + ChannelId *wrappers.StringValue `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + // The duration of the video in milliseconds. + DurationMillis *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_millis,json=durationMillis,proto3" json:"duration_millis,omitempty"` + // The title of the video. + Title *wrappers.StringValue `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Video) Reset() { *m = Video{} } +func (m *Video) String() string { return proto.CompactTextString(m) } +func (*Video) ProtoMessage() {} +func (*Video) Descriptor() ([]byte, []int) { + return fileDescriptor_video_458a9931a36deb41, []int{0} +} +func (m *Video) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Video.Unmarshal(m, b) +} +func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Video.Marshal(b, m, deterministic) +} +func (dst *Video) XXX_Merge(src proto.Message) { + xxx_messageInfo_Video.Merge(dst, src) +} +func (m *Video) XXX_Size() int { + return xxx_messageInfo_Video.Size(m) +} +func (m *Video) XXX_DiscardUnknown() { + xxx_messageInfo_Video.DiscardUnknown(m) +} + +var xxx_messageInfo_Video proto.InternalMessageInfo + +func (m *Video) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Video) GetId() *wrappers.StringValue { + if m != nil { + return m.Id + } + return nil +} + +func (m *Video) GetChannelId() *wrappers.StringValue { + if m != nil { + return m.ChannelId + } + return nil +} + +func (m *Video) GetDurationMillis() *wrappers.Int64Value { + if m != nil { + return m.DurationMillis + } + return nil +} + +func (m *Video) GetTitle() *wrappers.StringValue { + if m != nil { + return m.Title + } + return nil +} + +func init() { + proto.RegisterType((*Video)(nil), "google.ads.googleads.v0.resources.Video") +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/resources/video.proto", fileDescriptor_video_458a9931a36deb41) +} + +var fileDescriptor_video_458a9931a36deb41 = []byte{ + // 336 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xfb, 0x30, + 0x18, 0xc7, 0x69, 0xf7, 0xdb, 0x0f, 0x16, 0xff, 0x41, 0x4f, 0x45, 0x45, 0x36, 0x45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cc, 0x19, 0xe7, 0x4c, 0x87, 0xff, 0x8c, 0xe1, 0xe8, 0x87, 0x61, 0x26, + 0xca, 0x9b, 0x6b, 0x2b, 0xd8, 0x77, 0x9d, 0x7b, 0x53, 0x09, 0x46, 0xa0, 0x5b, 0xb2, 0x92, 0x93, + 0xb0, 0xbb, 0xc5, 0x74, 0x8b, 0x4e, 0xbe, 0x3c, 0x70, 0xbe, 0x96, 0x39, 0xfc, 0x73, 0xbb, 0x13, + 0x60, 0x56, 0x37, 0xaf, 0x5d, 0x73, 0xef, 0xe9, 0xae, 0x29, 0x50, 0xc9, 0x91, 0xa0, 0x50, 0x2a, + 0x1a, 0x51, 0x22, 0xcc, 0x24, 0x77, 0xcd, 0x82, 0xe9, 0x5f, 0x8e, 0x3b, 0x6e, 0xd3, 0xbb, 0xdf, + 0x99, 0x26, 0xc9, 0x87, 0x3f, 0x98, 0x5a, 0x65, 0x82, 0x35, 0xb4, 0xb1, 0x4e, 0x69, 0x0c, 0x17, + 0x8e, 0xfc, 0x74, 0x4c, 0x96, 0x60, 0x9d, 0xb5, 0x4c, 0x96, 0xc6, 0x59, 0xcb, 0xac, 0xfe, 0x9b, + 0x4f, 0x5c, 0x7d, 0x07, 0x00, 0x00, 0xff, 0xff, 0x47, 0x06, 0x9e, 0x37, 0x60, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_proposal_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_proposal_service.pb.go new file mode 100644 index 000000000..6365476ab --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_proposal_service.pb.go @@ -0,0 +1,521 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/account_budget_proposal_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for +// [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v0.services.AccountBudgetProposalService.GetAccountBudgetProposal]. +type GetAccountBudgetProposalRequest struct { + // The resource name of the account-level budget proposal to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAccountBudgetProposalRequest) Reset() { *m = GetAccountBudgetProposalRequest{} } +func (m *GetAccountBudgetProposalRequest) String() string { return proto.CompactTextString(m) } +func (*GetAccountBudgetProposalRequest) ProtoMessage() {} +func (*GetAccountBudgetProposalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_service_3710de127b17772d, []int{0} +} +func (m *GetAccountBudgetProposalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAccountBudgetProposalRequest.Unmarshal(m, b) +} +func (m *GetAccountBudgetProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAccountBudgetProposalRequest.Marshal(b, m, deterministic) +} +func (dst *GetAccountBudgetProposalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountBudgetProposalRequest.Merge(dst, src) +} +func (m *GetAccountBudgetProposalRequest) XXX_Size() int { + return xxx_messageInfo_GetAccountBudgetProposalRequest.Size(m) +} +func (m *GetAccountBudgetProposalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountBudgetProposalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAccountBudgetProposalRequest proto.InternalMessageInfo + +func (m *GetAccountBudgetProposalRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for +// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v0.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. +type MutateAccountBudgetProposalRequest struct { + // The ID of the customer. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The operation to perform on an individual account-level budget proposal. + Operation *AccountBudgetProposalOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAccountBudgetProposalRequest) Reset() { *m = MutateAccountBudgetProposalRequest{} } +func (m *MutateAccountBudgetProposalRequest) String() string { return proto.CompactTextString(m) } +func (*MutateAccountBudgetProposalRequest) ProtoMessage() {} +func (*MutateAccountBudgetProposalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_service_3710de127b17772d, []int{1} +} +func (m *MutateAccountBudgetProposalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAccountBudgetProposalRequest.Unmarshal(m, b) +} +func (m *MutateAccountBudgetProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAccountBudgetProposalRequest.Marshal(b, m, deterministic) +} +func (dst *MutateAccountBudgetProposalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAccountBudgetProposalRequest.Merge(dst, src) +} +func (m *MutateAccountBudgetProposalRequest) XXX_Size() int { + return xxx_messageInfo_MutateAccountBudgetProposalRequest.Size(m) +} +func (m *MutateAccountBudgetProposalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAccountBudgetProposalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAccountBudgetProposalRequest proto.InternalMessageInfo + +func (m *MutateAccountBudgetProposalRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateAccountBudgetProposalRequest) GetOperation() *AccountBudgetProposalOperation { + if m != nil { + return m.Operation + } + return nil +} + +// A single operation to propose the creation of a new account-level budget or +// edit/end/remove an existing one. +type AccountBudgetProposalOperation struct { + // FieldMask that determines which budget fields are modified. While budgets + // may be modified, proposals that propose such modifications are final. + // Therefore, update operations are not supported for proposals. + // + // Proposals that modify budgets have the 'update' proposal type. Specifying + // a mask for any other proposal type is considered an error. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *AccountBudgetProposalOperation_Create + // *AccountBudgetProposalOperation_Remove + Operation isAccountBudgetProposalOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AccountBudgetProposalOperation) Reset() { *m = AccountBudgetProposalOperation{} } +func (m *AccountBudgetProposalOperation) String() string { return proto.CompactTextString(m) } +func (*AccountBudgetProposalOperation) ProtoMessage() {} +func (*AccountBudgetProposalOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_service_3710de127b17772d, []int{2} +} +func (m *AccountBudgetProposalOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AccountBudgetProposalOperation.Unmarshal(m, b) +} +func (m *AccountBudgetProposalOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AccountBudgetProposalOperation.Marshal(b, m, deterministic) +} +func (dst *AccountBudgetProposalOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccountBudgetProposalOperation.Merge(dst, src) +} +func (m *AccountBudgetProposalOperation) XXX_Size() int { + return xxx_messageInfo_AccountBudgetProposalOperation.Size(m) +} +func (m *AccountBudgetProposalOperation) XXX_DiscardUnknown() { + xxx_messageInfo_AccountBudgetProposalOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_AccountBudgetProposalOperation proto.InternalMessageInfo + +func (m *AccountBudgetProposalOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isAccountBudgetProposalOperation_Operation interface { + isAccountBudgetProposalOperation_Operation() +} + +type AccountBudgetProposalOperation_Create struct { + Create *resources.AccountBudgetProposal `protobuf:"bytes,2,opt,name=create,proto3,oneof"` +} + +type AccountBudgetProposalOperation_Remove struct { + Remove string `protobuf:"bytes,1,opt,name=remove,proto3,oneof"` +} + +func (*AccountBudgetProposalOperation_Create) isAccountBudgetProposalOperation_Operation() {} + +func (*AccountBudgetProposalOperation_Remove) isAccountBudgetProposalOperation_Operation() {} + +func (m *AccountBudgetProposalOperation) GetOperation() isAccountBudgetProposalOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *AccountBudgetProposalOperation) GetCreate() *resources.AccountBudgetProposal { + if x, ok := m.GetOperation().(*AccountBudgetProposalOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *AccountBudgetProposalOperation) GetRemove() string { + if x, ok := m.GetOperation().(*AccountBudgetProposalOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AccountBudgetProposalOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AccountBudgetProposalOperation_OneofMarshaler, _AccountBudgetProposalOperation_OneofUnmarshaler, _AccountBudgetProposalOperation_OneofSizer, []interface{}{ + (*AccountBudgetProposalOperation_Create)(nil), + (*AccountBudgetProposalOperation_Remove)(nil), + } +} + +func _AccountBudgetProposalOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AccountBudgetProposalOperation) + // operation + switch x := m.Operation.(type) { + case *AccountBudgetProposalOperation_Create: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *AccountBudgetProposalOperation_Remove: + b.EncodeVarint(1<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("AccountBudgetProposalOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _AccountBudgetProposalOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AccountBudgetProposalOperation) + switch tag { + case 2: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AccountBudgetProposal) + err := b.DecodeMessage(msg) + m.Operation = &AccountBudgetProposalOperation_Create{msg} + return true, err + case 1: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &AccountBudgetProposalOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _AccountBudgetProposalOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AccountBudgetProposalOperation) + // operation + switch x := m.Operation.(type) { + case *AccountBudgetProposalOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AccountBudgetProposalOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for account-level budget mutate operations. +type MutateAccountBudgetProposalResponse struct { + // The result of the mutate. + Result *MutateAccountBudgetProposalResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAccountBudgetProposalResponse) Reset() { *m = MutateAccountBudgetProposalResponse{} } +func (m *MutateAccountBudgetProposalResponse) String() string { return proto.CompactTextString(m) } +func (*MutateAccountBudgetProposalResponse) ProtoMessage() {} +func (*MutateAccountBudgetProposalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_service_3710de127b17772d, []int{3} +} +func (m *MutateAccountBudgetProposalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAccountBudgetProposalResponse.Unmarshal(m, b) +} +func (m *MutateAccountBudgetProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAccountBudgetProposalResponse.Marshal(b, m, deterministic) +} +func (dst *MutateAccountBudgetProposalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAccountBudgetProposalResponse.Merge(dst, src) +} +func (m *MutateAccountBudgetProposalResponse) XXX_Size() int { + return xxx_messageInfo_MutateAccountBudgetProposalResponse.Size(m) +} +func (m *MutateAccountBudgetProposalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAccountBudgetProposalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAccountBudgetProposalResponse proto.InternalMessageInfo + +func (m *MutateAccountBudgetProposalResponse) GetResult() *MutateAccountBudgetProposalResult { + if m != nil { + return m.Result + } + return nil +} + +// The result for the account budget proposal mutate. +type MutateAccountBudgetProposalResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAccountBudgetProposalResult) Reset() { *m = MutateAccountBudgetProposalResult{} } +func (m *MutateAccountBudgetProposalResult) String() string { return proto.CompactTextString(m) } +func (*MutateAccountBudgetProposalResult) ProtoMessage() {} +func (*MutateAccountBudgetProposalResult) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_proposal_service_3710de127b17772d, []int{4} +} +func (m *MutateAccountBudgetProposalResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAccountBudgetProposalResult.Unmarshal(m, b) +} +func (m *MutateAccountBudgetProposalResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAccountBudgetProposalResult.Marshal(b, m, deterministic) +} +func (dst *MutateAccountBudgetProposalResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAccountBudgetProposalResult.Merge(dst, src) +} +func (m *MutateAccountBudgetProposalResult) XXX_Size() int { + return xxx_messageInfo_MutateAccountBudgetProposalResult.Size(m) +} +func (m *MutateAccountBudgetProposalResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAccountBudgetProposalResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAccountBudgetProposalResult proto.InternalMessageInfo + +func (m *MutateAccountBudgetProposalResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAccountBudgetProposalRequest)(nil), "google.ads.googleads.v0.services.GetAccountBudgetProposalRequest") + proto.RegisterType((*MutateAccountBudgetProposalRequest)(nil), "google.ads.googleads.v0.services.MutateAccountBudgetProposalRequest") + proto.RegisterType((*AccountBudgetProposalOperation)(nil), "google.ads.googleads.v0.services.AccountBudgetProposalOperation") + proto.RegisterType((*MutateAccountBudgetProposalResponse)(nil), "google.ads.googleads.v0.services.MutateAccountBudgetProposalResponse") + proto.RegisterType((*MutateAccountBudgetProposalResult)(nil), "google.ads.googleads.v0.services.MutateAccountBudgetProposalResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AccountBudgetProposalServiceClient is the client API for AccountBudgetProposalService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AccountBudgetProposalServiceClient interface { + // Returns an account-level budget proposal in full detail. + GetAccountBudgetProposal(ctx context.Context, in *GetAccountBudgetProposalRequest, opts ...grpc.CallOption) (*resources.AccountBudgetProposal, error) + // Creates, updates, or removes account budget proposals. Operation statuses + // are returned. + MutateAccountBudgetProposal(ctx context.Context, in *MutateAccountBudgetProposalRequest, opts ...grpc.CallOption) (*MutateAccountBudgetProposalResponse, error) +} + +type accountBudgetProposalServiceClient struct { + cc *grpc.ClientConn +} + +func NewAccountBudgetProposalServiceClient(cc *grpc.ClientConn) AccountBudgetProposalServiceClient { + return &accountBudgetProposalServiceClient{cc} +} + +func (c *accountBudgetProposalServiceClient) GetAccountBudgetProposal(ctx context.Context, in *GetAccountBudgetProposalRequest, opts ...grpc.CallOption) (*resources.AccountBudgetProposal, error) { + out := new(resources.AccountBudgetProposal) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AccountBudgetProposalService/GetAccountBudgetProposal", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accountBudgetProposalServiceClient) MutateAccountBudgetProposal(ctx context.Context, in *MutateAccountBudgetProposalRequest, opts ...grpc.CallOption) (*MutateAccountBudgetProposalResponse, error) { + out := new(MutateAccountBudgetProposalResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AccountBudgetProposalService/MutateAccountBudgetProposal", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AccountBudgetProposalServiceServer is the server API for AccountBudgetProposalService service. +type AccountBudgetProposalServiceServer interface { + // Returns an account-level budget proposal in full detail. + GetAccountBudgetProposal(context.Context, *GetAccountBudgetProposalRequest) (*resources.AccountBudgetProposal, error) + // Creates, updates, or removes account budget proposals. Operation statuses + // are returned. + MutateAccountBudgetProposal(context.Context, *MutateAccountBudgetProposalRequest) (*MutateAccountBudgetProposalResponse, error) +} + +func RegisterAccountBudgetProposalServiceServer(s *grpc.Server, srv AccountBudgetProposalServiceServer) { + s.RegisterService(&_AccountBudgetProposalService_serviceDesc, srv) +} + +func _AccountBudgetProposalService_GetAccountBudgetProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountBudgetProposalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountBudgetProposalServiceServer).GetAccountBudgetProposal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AccountBudgetProposalService/GetAccountBudgetProposal", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountBudgetProposalServiceServer).GetAccountBudgetProposal(ctx, req.(*GetAccountBudgetProposalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccountBudgetProposalService_MutateAccountBudgetProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateAccountBudgetProposalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountBudgetProposalServiceServer).MutateAccountBudgetProposal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AccountBudgetProposalService/MutateAccountBudgetProposal", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountBudgetProposalServiceServer).MutateAccountBudgetProposal(ctx, req.(*MutateAccountBudgetProposalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AccountBudgetProposalService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AccountBudgetProposalService", + HandlerType: (*AccountBudgetProposalServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAccountBudgetProposal", + Handler: _AccountBudgetProposalService_GetAccountBudgetProposal_Handler, + }, + { + MethodName: "MutateAccountBudgetProposal", + Handler: _AccountBudgetProposalService_MutateAccountBudgetProposal_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/account_budget_proposal_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/account_budget_proposal_service.proto", fileDescriptor_account_budget_proposal_service_3710de127b17772d) +} + +var fileDescriptor_account_budget_proposal_service_3710de127b17772d = []byte{ + // 586 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xe6, 0x52, 0x29, 0x52, 0x2f, 0xb0, 0xdc, 0x14, 0x85, 0x8a, 0xa6, 0x2e, 0x43, 0x95, 0xe1, + 0x1c, 0x95, 0xa5, 0x4a, 0x54, 0x11, 0x07, 0x48, 0xc2, 0x50, 0x88, 0x8c, 0xd4, 0x01, 0x22, 0xac, + 0x8b, 0x7d, 0xb5, 0xac, 0xda, 0x3e, 0xe3, 0x3b, 0x67, 0xa9, 0xba, 0xf4, 0x2f, 0xf0, 0x0f, 0x90, + 0x58, 0xf8, 0x29, 0xac, 0x2c, 0x30, 0x22, 0xb1, 0x23, 0xf1, 0x0b, 0x90, 0x7d, 0x77, 0x69, 0x2b, + 0xc5, 0x36, 0xa2, 0xdb, 0xb3, 0xef, 0xdd, 0xf7, 0x7d, 0xef, 0x7b, 0xef, 0x1d, 0x9c, 0xf8, 0x8c, + 0xf9, 0x21, 0x35, 0x89, 0xc7, 0x4d, 0x19, 0xe6, 0xd1, 0xaa, 0x6f, 0x72, 0x9a, 0xae, 0x02, 0x97, + 0x72, 0x93, 0xb8, 0x2e, 0xcb, 0x62, 0xe1, 0x2c, 0x33, 0xcf, 0xa7, 0xc2, 0x49, 0x52, 0x96, 0x30, + 0x4e, 0x42, 0x47, 0x25, 0xe0, 0x24, 0x65, 0x82, 0xa1, 0xae, 0xbc, 0x8c, 0x89, 0xc7, 0xf1, 0x1a, + 0x07, 0xaf, 0xfa, 0x58, 0xe3, 0x74, 0x9e, 0x96, 0x31, 0xa5, 0x94, 0xb3, 0x2c, 0xad, 0xa0, 0x92, + 0x14, 0x9d, 0x1d, 0x0d, 0x90, 0x04, 0x26, 0x89, 0x63, 0x26, 0x88, 0x08, 0x58, 0xcc, 0xd5, 0xa9, + 0x12, 0x60, 0x16, 0x5f, 0xcb, 0xec, 0xcc, 0x3c, 0x0b, 0x68, 0xe8, 0x39, 0x11, 0xe1, 0xe7, 0x32, + 0xc3, 0x98, 0xc0, 0xdd, 0x29, 0x15, 0x96, 0xe4, 0x18, 0x17, 0x14, 0x73, 0xc5, 0x60, 0xd3, 0x0f, + 0x19, 0xe5, 0x02, 0xed, 0xc3, 0x07, 0x5a, 0x8d, 0x13, 0x93, 0x88, 0xb6, 0x41, 0x17, 0x1c, 0x6c, + 0xdb, 0xf7, 0xf5, 0xcf, 0x57, 0x24, 0xa2, 0xc6, 0x67, 0x00, 0x8d, 0x93, 0x4c, 0x10, 0x41, 0x2b, + 0xb1, 0x76, 0x61, 0xcb, 0xcd, 0xb8, 0x60, 0x11, 0x4d, 0x9d, 0xc0, 0x53, 0x48, 0x50, 0xff, 0x7a, + 0xe9, 0xa1, 0xf7, 0x70, 0x9b, 0x25, 0x34, 0x2d, 0xaa, 0x68, 0x37, 0xba, 0xe0, 0xa0, 0x75, 0x38, + 0xc2, 0x75, 0x36, 0xe2, 0x8d, 0x9c, 0xaf, 0x35, 0x8e, 0x7d, 0x0d, 0x69, 0x7c, 0x07, 0xf0, 0x51, + 0x75, 0x36, 0x1a, 0xc2, 0x56, 0x96, 0x78, 0x44, 0xd0, 0xc2, 0xa7, 0xf6, 0x56, 0x21, 0xa2, 0xa3, + 0x45, 0x68, 0x2b, 0xf1, 0x24, 0xb7, 0xf2, 0x84, 0xf0, 0x73, 0x1b, 0xca, 0xf4, 0x3c, 0x46, 0x36, + 0x6c, 0xba, 0x29, 0x25, 0x82, 0x2a, 0xf1, 0x47, 0xa5, 0xe2, 0xd7, 0x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xc4, 0x3e, 0x66, 0xa9, 0x6f, 0xfa, 0x34, 0x2e, 0xd6, 0x57, 0x3f, 0xb5, 0x49, 0xc0, 0xcb, + 0xdf, 0xf8, 0xa1, 0x0e, 0x3e, 0x35, 0xb6, 0xa6, 0x96, 0xf5, 0xa5, 0xd1, 0x9d, 0x4a, 0x40, 0xcb, + 0xe3, 0x58, 0x86, 0x79, 0x74, 0xda, 0xc7, 0x8a, 0x98, 0x7f, 0xd5, 0x29, 0x0b, 0xcb, 0xe3, 0x8b, + 0x75, 0xca, 0xe2, 0xb4, 0xbf, 0xd0, 0x29, 0xcb, 0x66, 0x21, 0xe0, 0xc9, 0xdf, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xf1, 0xe7, 0x42, 0x94, 0x63, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_service.pb.go new file mode 100644 index 000000000..18f6cb357 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/account_budget_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/account_budget_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for +// [AccountBudgetService.GetAccountBudget][google.ads.googleads.v0.services.AccountBudgetService.GetAccountBudget]. +type GetAccountBudgetRequest struct { + // The resource name of the account-level budget to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAccountBudgetRequest) Reset() { *m = GetAccountBudgetRequest{} } +func (m *GetAccountBudgetRequest) String() string { return proto.CompactTextString(m) } +func (*GetAccountBudgetRequest) ProtoMessage() {} +func (*GetAccountBudgetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_account_budget_service_35b87f079f622fe3, []int{0} +} +func (m *GetAccountBudgetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAccountBudgetRequest.Unmarshal(m, b) +} +func (m *GetAccountBudgetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAccountBudgetRequest.Marshal(b, m, deterministic) +} +func (dst *GetAccountBudgetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountBudgetRequest.Merge(dst, src) +} +func (m *GetAccountBudgetRequest) XXX_Size() int { + return xxx_messageInfo_GetAccountBudgetRequest.Size(m) +} +func (m *GetAccountBudgetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountBudgetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAccountBudgetRequest proto.InternalMessageInfo + +func (m *GetAccountBudgetRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAccountBudgetRequest)(nil), "google.ads.googleads.v0.services.GetAccountBudgetRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AccountBudgetServiceClient is the client API for AccountBudgetService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AccountBudgetServiceClient interface { + // Returns an account-level budget in full detail. + GetAccountBudget(ctx context.Context, in *GetAccountBudgetRequest, opts ...grpc.CallOption) (*resources.AccountBudget, error) +} + +type accountBudgetServiceClient struct { + cc *grpc.ClientConn +} + +func NewAccountBudgetServiceClient(cc *grpc.ClientConn) AccountBudgetServiceClient { + return &accountBudgetServiceClient{cc} +} + +func (c *accountBudgetServiceClient) GetAccountBudget(ctx context.Context, in *GetAccountBudgetRequest, opts ...grpc.CallOption) (*resources.AccountBudget, error) { + out := new(resources.AccountBudget) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AccountBudgetService/GetAccountBudget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AccountBudgetServiceServer is the server API for AccountBudgetService service. +type AccountBudgetServiceServer interface { + // Returns an account-level budget in full detail. + GetAccountBudget(context.Context, *GetAccountBudgetRequest) (*resources.AccountBudget, error) +} + +func RegisterAccountBudgetServiceServer(s *grpc.Server, srv AccountBudgetServiceServer) { + s.RegisterService(&_AccountBudgetService_serviceDesc, srv) +} + +func _AccountBudgetService_GetAccountBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountBudgetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountBudgetServiceServer).GetAccountBudget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AccountBudgetService/GetAccountBudget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountBudgetServiceServer).GetAccountBudget(ctx, req.(*GetAccountBudgetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AccountBudgetService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AccountBudgetService", + HandlerType: (*AccountBudgetServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAccountBudget", + Handler: _AccountBudgetService_GetAccountBudget_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/account_budget_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/account_budget_service.proto", fileDescriptor_account_budget_service_35b87f079f622fe3) +} + +var fileDescriptor_account_budget_service_35b87f079f622fe3 = []byte{ + // 344 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xc4, 0xe4, 0xe4, 0xfc, 0xd2, 0xbc, 0x92, 0xf8, 0xa4, + 0xd2, 0x94, 0xf4, 0xd4, 0x92, 0x78, 0xa8, 0xb8, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, + 0x44, 0x8f, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xbb, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 0xbb, 0x94, + 0x19, 0x2e, 0x0b, 0x8a, 0x52, 0x8b, 0xf3, 0x4b, 0x8b, 0x30, 0x6d, 0x80, 0x98, 0x2c, 0x25, 0x03, + 0xd3, 0x57, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, 0x58, 0x92, 0x99, 0x9f, 0x57, 0x0c, + 0x91, 0x55, 0xb2, 0xe3, 0x12, 0x77, 0x4f, 0x2d, 0x71, 0x84, 0x68, 0x74, 0x02, 0xeb, 0x0b, 0x4a, + 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x52, 0xe6, 0xe2, 0x85, 0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 0xc4, + 0x84, 0x19, 0xc4, 0xc0, 0x94, 0x24, 0xb1, 0x81, 0x1d, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, + 0xcd, 0xfb, 0x18, 0x58, 0xb0, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_ad_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_ad_service.pb.go new file mode 100644 index 000000000..b3e1de15c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_ad_service.pb.go @@ -0,0 +1,558 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/ad_group_ad_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v0.services.AdGroupAdService.GetAdGroupAd]. +type GetAdGroupAdRequest struct { + // The resource name of the ad to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAdGroupAdRequest) Reset() { *m = GetAdGroupAdRequest{} } +func (m *GetAdGroupAdRequest) String() string { return proto.CompactTextString(m) } +func (*GetAdGroupAdRequest) ProtoMessage() {} +func (*GetAdGroupAdRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55, []int{0} +} +func (m *GetAdGroupAdRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAdGroupAdRequest.Unmarshal(m, b) +} +func (m *GetAdGroupAdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAdGroupAdRequest.Marshal(b, m, deterministic) +} +func (dst *GetAdGroupAdRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAdGroupAdRequest.Merge(dst, src) +} +func (m *GetAdGroupAdRequest) XXX_Size() int { + return xxx_messageInfo_GetAdGroupAdRequest.Size(m) +} +func (m *GetAdGroupAdRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAdGroupAdRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAdGroupAdRequest proto.InternalMessageInfo + +func (m *GetAdGroupAdRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v0.services.AdGroupAdService.MutateAdGroupAds]. +type MutateAdGroupAdsRequest struct { + // The ID of the customer whose ads are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual ads. + Operations []*AdGroupAdOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupAdsRequest) Reset() { *m = MutateAdGroupAdsRequest{} } +func (m *MutateAdGroupAdsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupAdsRequest) ProtoMessage() {} +func (*MutateAdGroupAdsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55, []int{1} +} +func (m *MutateAdGroupAdsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupAdsRequest.Unmarshal(m, b) +} +func (m *MutateAdGroupAdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupAdsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupAdsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupAdsRequest.Merge(dst, src) +} +func (m *MutateAdGroupAdsRequest) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupAdsRequest.Size(m) +} +func (m *MutateAdGroupAdsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupAdsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupAdsRequest proto.InternalMessageInfo + +func (m *MutateAdGroupAdsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateAdGroupAdsRequest) GetOperations() []*AdGroupAdOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on an ad group ad. +type AdGroupAdOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Configuration for how policies are validated. + PolicyValidationParameter *common.PolicyValidationParameter `protobuf:"bytes,5,opt,name=policy_validation_parameter,json=policyValidationParameter,proto3" json:"policy_validation_parameter,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *AdGroupAdOperation_Create + // *AdGroupAdOperation_Update + // *AdGroupAdOperation_Remove + Operation isAdGroupAdOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupAdOperation) Reset() { *m = AdGroupAdOperation{} } +func (m *AdGroupAdOperation) String() string { return proto.CompactTextString(m) } +func (*AdGroupAdOperation) ProtoMessage() {} +func (*AdGroupAdOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55, []int{2} +} +func (m *AdGroupAdOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupAdOperation.Unmarshal(m, b) +} +func (m *AdGroupAdOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupAdOperation.Marshal(b, m, deterministic) +} +func (dst *AdGroupAdOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupAdOperation.Merge(dst, src) +} +func (m *AdGroupAdOperation) XXX_Size() int { + return xxx_messageInfo_AdGroupAdOperation.Size(m) +} +func (m *AdGroupAdOperation) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupAdOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupAdOperation proto.InternalMessageInfo + +func (m *AdGroupAdOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *AdGroupAdOperation) GetPolicyValidationParameter() *common.PolicyValidationParameter { + if m != nil { + return m.PolicyValidationParameter + } + return nil +} + +type isAdGroupAdOperation_Operation interface { + isAdGroupAdOperation_Operation() +} + +type AdGroupAdOperation_Create struct { + Create *resources.AdGroupAd `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type AdGroupAdOperation_Update struct { + Update *resources.AdGroupAd `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type AdGroupAdOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*AdGroupAdOperation_Create) isAdGroupAdOperation_Operation() {} + +func (*AdGroupAdOperation_Update) isAdGroupAdOperation_Operation() {} + +func (*AdGroupAdOperation_Remove) isAdGroupAdOperation_Operation() {} + +func (m *AdGroupAdOperation) GetOperation() isAdGroupAdOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *AdGroupAdOperation) GetCreate() *resources.AdGroupAd { + if x, ok := m.GetOperation().(*AdGroupAdOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *AdGroupAdOperation) GetUpdate() *resources.AdGroupAd { + if x, ok := m.GetOperation().(*AdGroupAdOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *AdGroupAdOperation) GetRemove() string { + if x, ok := m.GetOperation().(*AdGroupAdOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupAdOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupAdOperation_OneofMarshaler, _AdGroupAdOperation_OneofUnmarshaler, _AdGroupAdOperation_OneofSizer, []interface{}{ + (*AdGroupAdOperation_Create)(nil), + (*AdGroupAdOperation_Update)(nil), + (*AdGroupAdOperation_Remove)(nil), + } +} + +func _AdGroupAdOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupAdOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupAdOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *AdGroupAdOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *AdGroupAdOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("AdGroupAdOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _AdGroupAdOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupAdOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupAd) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupAdOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupAd) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupAdOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &AdGroupAdOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _AdGroupAdOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupAdOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupAdOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupAdOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupAdOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for an ad group ad mutate. +type MutateAdGroupAdsResponse struct { + // All results for the mutate. + Results []*MutateAdGroupAdResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupAdsResponse) Reset() { *m = MutateAdGroupAdsResponse{} } +func (m *MutateAdGroupAdsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupAdsResponse) ProtoMessage() {} +func (*MutateAdGroupAdsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55, []int{3} +} +func (m *MutateAdGroupAdsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupAdsResponse.Unmarshal(m, b) +} +func (m *MutateAdGroupAdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupAdsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupAdsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupAdsResponse.Merge(dst, src) +} +func (m *MutateAdGroupAdsResponse) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupAdsResponse.Size(m) +} +func (m *MutateAdGroupAdsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupAdsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupAdsResponse proto.InternalMessageInfo + +func (m *MutateAdGroupAdsResponse) GetResults() []*MutateAdGroupAdResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the ad mutate. +type MutateAdGroupAdResult struct { + // The resource name returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupAdResult) Reset() { *m = MutateAdGroupAdResult{} } +func (m *MutateAdGroupAdResult) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupAdResult) ProtoMessage() {} +func (*MutateAdGroupAdResult) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55, []int{4} +} +func (m *MutateAdGroupAdResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupAdResult.Unmarshal(m, b) +} +func (m *MutateAdGroupAdResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupAdResult.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupAdResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupAdResult.Merge(dst, src) +} +func (m *MutateAdGroupAdResult) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupAdResult.Size(m) +} +func (m *MutateAdGroupAdResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupAdResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupAdResult proto.InternalMessageInfo + +func (m *MutateAdGroupAdResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAdGroupAdRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupAdRequest") + proto.RegisterType((*MutateAdGroupAdsRequest)(nil), "google.ads.googleads.v0.services.MutateAdGroupAdsRequest") + proto.RegisterType((*AdGroupAdOperation)(nil), "google.ads.googleads.v0.services.AdGroupAdOperation") + proto.RegisterType((*MutateAdGroupAdsResponse)(nil), "google.ads.googleads.v0.services.MutateAdGroupAdsResponse") + proto.RegisterType((*MutateAdGroupAdResult)(nil), "google.ads.googleads.v0.services.MutateAdGroupAdResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AdGroupAdServiceClient is the client API for AdGroupAdService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AdGroupAdServiceClient interface { + // Returns the requested ad in full detail. + GetAdGroupAd(ctx context.Context, in *GetAdGroupAdRequest, opts ...grpc.CallOption) (*resources.AdGroupAd, error) + // Creates, updates, or removes ads. Operation statuses are returned. + MutateAdGroupAds(ctx context.Context, in *MutateAdGroupAdsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdsResponse, error) +} + +type adGroupAdServiceClient struct { + cc *grpc.ClientConn +} + +func NewAdGroupAdServiceClient(cc *grpc.ClientConn) AdGroupAdServiceClient { + return &adGroupAdServiceClient{cc} +} + +func (c *adGroupAdServiceClient) GetAdGroupAd(ctx context.Context, in *GetAdGroupAdRequest, opts ...grpc.CallOption) (*resources.AdGroupAd, error) { + out := new(resources.AdGroupAd) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupAdService/GetAdGroupAd", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adGroupAdServiceClient) MutateAdGroupAds(ctx context.Context, in *MutateAdGroupAdsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdsResponse, error) { + out := new(MutateAdGroupAdsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupAdService/MutateAdGroupAds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdGroupAdServiceServer is the server API for AdGroupAdService service. +type AdGroupAdServiceServer interface { + // Returns the requested ad in full detail. + GetAdGroupAd(context.Context, *GetAdGroupAdRequest) (*resources.AdGroupAd, error) + // Creates, updates, or removes ads. Operation statuses are returned. + MutateAdGroupAds(context.Context, *MutateAdGroupAdsRequest) (*MutateAdGroupAdsResponse, error) +} + +func RegisterAdGroupAdServiceServer(s *grpc.Server, srv AdGroupAdServiceServer) { + s.RegisterService(&_AdGroupAdService_serviceDesc, srv) +} + +func _AdGroupAdService_GetAdGroupAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAdGroupAdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupAdServiceServer).GetAdGroupAd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupAdService/GetAdGroupAd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupAdServiceServer).GetAdGroupAd(ctx, req.(*GetAdGroupAdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdGroupAdService_MutateAdGroupAds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateAdGroupAdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupAdServiceServer).MutateAdGroupAds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupAdService/MutateAdGroupAds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupAdServiceServer).MutateAdGroupAds(ctx, req.(*MutateAdGroupAdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AdGroupAdService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AdGroupAdService", + HandlerType: (*AdGroupAdServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAdGroupAd", + Handler: _AdGroupAdService_GetAdGroupAd_Handler, + }, + { + MethodName: "MutateAdGroupAds", + Handler: _AdGroupAdService_MutateAdGroupAds_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/ad_group_ad_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/ad_group_ad_service.proto", fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55) +} + +var fileDescriptor_ad_group_ad_service_f5afe93c5fff3c55 = []byte{ + // 648 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0x26, 0x2d, 0x0c, 0xcd, 0x1d, 0xd2, 0x64, 0x34, 0x11, 0x0a, 0x12, 0x55, 0xe0, 0x30, 0x95, + 0xc9, 0xae, 0xba, 0x21, 0xb4, 0x8e, 0x1d, 0xba, 0xc3, 0x3a, 0x0e, 0x83, 0x12, 0xd0, 0x0e, 0xa8, + 0x52, 0xe4, 0xd5, 0x5e, 0x14, 0x2d, 0x89, 0x83, 0xed, 0x54, 0x9a, 0xa6, 0x5d, 0x40, 0xe2, 0x8c, + 0xc4, 0x3f, 0xe0, 0x06, 0xff, 0x83, 0x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0xe5, 0xa8, 0x4c, 0x19, + 0x1d, 0x74, 0x46, 0x26, 0xe5, 0x70, 0x21, 0x6f, 0x60, 0xfd, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x1d, 0x5f, 0xf4, 0x20, 0x6b, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_audience_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_audience_view_service.pb.go new file mode 100644 index 000000000..50d00007e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_audience_view_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/ad_group_audience_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AdGroupAudienceViewService.GetAdGoupAudienceView][]. +type GetAdGroupAudienceViewRequest struct { + // The resource name of the ad group audience view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAdGroupAudienceViewRequest) Reset() { *m = GetAdGroupAudienceViewRequest{} } +func (m *GetAdGroupAudienceViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetAdGroupAudienceViewRequest) ProtoMessage() {} +func (*GetAdGroupAudienceViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_audience_view_service_606af6b4aae1215b, []int{0} +} +func (m *GetAdGroupAudienceViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAdGroupAudienceViewRequest.Unmarshal(m, b) +} +func (m *GetAdGroupAudienceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAdGroupAudienceViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetAdGroupAudienceViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAdGroupAudienceViewRequest.Merge(dst, src) +} +func (m *GetAdGroupAudienceViewRequest) XXX_Size() int { + return xxx_messageInfo_GetAdGroupAudienceViewRequest.Size(m) +} +func (m *GetAdGroupAudienceViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAdGroupAudienceViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAdGroupAudienceViewRequest proto.InternalMessageInfo + +func (m *GetAdGroupAudienceViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAdGroupAudienceViewRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupAudienceViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AdGroupAudienceViewServiceClient is the client API for AdGroupAudienceViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AdGroupAudienceViewServiceClient interface { + // Returns the requested ad group audience view in full detail. + GetAdGroupAudienceView(ctx context.Context, in *GetAdGroupAudienceViewRequest, opts ...grpc.CallOption) (*resources.AdGroupAudienceView, error) +} + +type adGroupAudienceViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewAdGroupAudienceViewServiceClient(cc *grpc.ClientConn) AdGroupAudienceViewServiceClient { + return &adGroupAudienceViewServiceClient{cc} +} + +func (c *adGroupAudienceViewServiceClient) GetAdGroupAudienceView(ctx context.Context, in *GetAdGroupAudienceViewRequest, opts ...grpc.CallOption) (*resources.AdGroupAudienceView, error) { + out := new(resources.AdGroupAudienceView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupAudienceViewService/GetAdGroupAudienceView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdGroupAudienceViewServiceServer is the server API for AdGroupAudienceViewService service. +type AdGroupAudienceViewServiceServer interface { + // Returns the requested ad group audience view in full detail. + GetAdGroupAudienceView(context.Context, *GetAdGroupAudienceViewRequest) (*resources.AdGroupAudienceView, error) +} + +func RegisterAdGroupAudienceViewServiceServer(s *grpc.Server, srv AdGroupAudienceViewServiceServer) { + s.RegisterService(&_AdGroupAudienceViewService_serviceDesc, srv) +} + +func _AdGroupAudienceViewService_GetAdGroupAudienceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAdGroupAudienceViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupAudienceViewServiceServer).GetAdGroupAudienceView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupAudienceViewService/GetAdGroupAudienceView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupAudienceViewServiceServer).GetAdGroupAudienceView(ctx, req.(*GetAdGroupAudienceViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AdGroupAudienceViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AdGroupAudienceViewService", + HandlerType: (*AdGroupAudienceViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAdGroupAudienceView", + Handler: _AdGroupAudienceViewService_GetAdGroupAudienceView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/ad_group_audience_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/ad_group_audience_view_service.proto", fileDescriptor_ad_group_audience_view_service_606af6b4aae1215b) +} + +var fileDescriptor_ad_group_audience_view_service_606af6b4aae1215b = []byte{ + // 359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x4a, 0xeb, 0x40, + 0x14, 0x25, 0x7d, 0xf0, 0xe0, 0x85, 0xf7, 0x36, 0x59, 0x3c, 0x24, 0x28, 0x96, 0xea, 0x42, 0xba, + 0x98, 0x09, 0x0a, 0x45, 0x10, 0x2b, 0x29, 0x4a, 0x5c, 0x49, 0xa9, 0xd0, 0x85, 0x04, 0xc2, 0x98, + 0x5c, 0xc2, 0x40, 0x33, 0x13, 0xe7, 0x26, 0xe9, 0x42, 0xdc, 0xf8, 0x0b, 0xfe, 0x81, 0x4b, 0x3f, + 0xc5, 0x9d, 0xf8, 0x01, 0x6e, 0xfc, 0x00, 0x3f, 0x41, 0xd2, 0xc9, 0x14, 0xc4, 0xc6, 0xee, 0x0e, + 0x73, 0xef, 0x39, 0xe7, 0xde, 0x73, 0xc7, 0x3e, 0x4b, 0xa5, 0x4c, 0x67, 0x40, 0x59, 0x82, 0x54, + 0xc3, 0x1a, 0x55, 0x1e, 0x45, 0x50, 0x15, 0x8f, 0x01, 0x29, 0x4b, 0xa2, 0x54, 0xc9, 0x32, 0x8f, + 0x58, 0x99, 0x70, 0x10, 0x31, 0x44, 0x15, 0x87, 0x79, 0xd4, 0xd4, 0x49, 0xae, 0x64, 0x21, 0x9d, + 0xae, 0xe6, 0x12, 0x96, 0x20, 0x59, 0xca, 0x90, 0xca, 0x23, 0x46, 0xc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 0xa9, 0x47, 0x1a, 0x63, 0x7c, 0x36, 0x2d, 0xa1, 0x9f, 0x60, 0xb8, 0x6c, 0x09, + 0xa7, 0x5e, 0x68, 0x5a, 0xae, 0x7f, 0x2f, 0x06, 0x38, 0xf8, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xf0, + 0x63, 0x70, 0x60, 0xea, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_bid_modifier_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_bid_modifier_service.pb.go new file mode 100644 index 000000000..9d4b697fb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_bid_modifier_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/ad_group_bid_modifier_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v0.services.AdGroupBidModifierService.GetAdGroupBidModifier]. +type GetAdGroupBidModifierRequest struct { + // The resource name of the ad group bid modifier to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAdGroupBidModifierRequest) Reset() { *m = GetAdGroupBidModifierRequest{} } +func (m *GetAdGroupBidModifierRequest) String() string { return proto.CompactTextString(m) } +func (*GetAdGroupBidModifierRequest) ProtoMessage() {} +func (*GetAdGroupBidModifierRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d, []int{0} +} +func (m *GetAdGroupBidModifierRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAdGroupBidModifierRequest.Unmarshal(m, b) +} +func (m *GetAdGroupBidModifierRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAdGroupBidModifierRequest.Marshal(b, m, deterministic) +} +func (dst *GetAdGroupBidModifierRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAdGroupBidModifierRequest.Merge(dst, src) +} +func (m *GetAdGroupBidModifierRequest) XXX_Size() int { + return xxx_messageInfo_GetAdGroupBidModifierRequest.Size(m) +} +func (m *GetAdGroupBidModifierRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAdGroupBidModifierRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAdGroupBidModifierRequest proto.InternalMessageInfo + +func (m *GetAdGroupBidModifierRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v0.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. +type MutateAdGroupBidModifiersRequest struct { + // ID of the customer whose ad group bid modifiers are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual ad group bid modifiers. + Operations []*AdGroupBidModifierOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupBidModifiersRequest) Reset() { *m = MutateAdGroupBidModifiersRequest{} } +func (m *MutateAdGroupBidModifiersRequest) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupBidModifiersRequest) ProtoMessage() {} +func (*MutateAdGroupBidModifiersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d, []int{1} +} +func (m *MutateAdGroupBidModifiersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupBidModifiersRequest.Unmarshal(m, b) +} +func (m *MutateAdGroupBidModifiersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupBidModifiersRequest.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupBidModifiersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupBidModifiersRequest.Merge(dst, src) +} +func (m *MutateAdGroupBidModifiersRequest) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupBidModifiersRequest.Size(m) +} +func (m *MutateAdGroupBidModifiersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupBidModifiersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupBidModifiersRequest proto.InternalMessageInfo + +func (m *MutateAdGroupBidModifiersRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateAdGroupBidModifiersRequest) GetOperations() []*AdGroupBidModifierOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, remove, update) on an ad group bid modifier. +type AdGroupBidModifierOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *AdGroupBidModifierOperation_Create + // *AdGroupBidModifierOperation_Update + // *AdGroupBidModifierOperation_Remove + Operation isAdGroupBidModifierOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupBidModifierOperation) Reset() { *m = AdGroupBidModifierOperation{} } +func (m *AdGroupBidModifierOperation) String() string { return proto.CompactTextString(m) } +func (*AdGroupBidModifierOperation) ProtoMessage() {} +func (*AdGroupBidModifierOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d, []int{2} +} +func (m *AdGroupBidModifierOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupBidModifierOperation.Unmarshal(m, b) +} +func (m *AdGroupBidModifierOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupBidModifierOperation.Marshal(b, m, deterministic) +} +func (dst *AdGroupBidModifierOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupBidModifierOperation.Merge(dst, src) +} +func (m *AdGroupBidModifierOperation) XXX_Size() int { + return xxx_messageInfo_AdGroupBidModifierOperation.Size(m) +} +func (m *AdGroupBidModifierOperation) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupBidModifierOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupBidModifierOperation proto.InternalMessageInfo + +func (m *AdGroupBidModifierOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isAdGroupBidModifierOperation_Operation interface { + isAdGroupBidModifierOperation_Operation() +} + +type AdGroupBidModifierOperation_Create struct { + Create *resources.AdGroupBidModifier `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type AdGroupBidModifierOperation_Update struct { + Update *resources.AdGroupBidModifier `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type AdGroupBidModifierOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*AdGroupBidModifierOperation_Create) isAdGroupBidModifierOperation_Operation() {} + +func (*AdGroupBidModifierOperation_Update) isAdGroupBidModifierOperation_Operation() {} + +func (*AdGroupBidModifierOperation_Remove) isAdGroupBidModifierOperation_Operation() {} + +func (m *AdGroupBidModifierOperation) GetOperation() isAdGroupBidModifierOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *AdGroupBidModifierOperation) GetCreate() *resources.AdGroupBidModifier { + if x, ok := m.GetOperation().(*AdGroupBidModifierOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *AdGroupBidModifierOperation) GetUpdate() *resources.AdGroupBidModifier { + if x, ok := m.GetOperation().(*AdGroupBidModifierOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *AdGroupBidModifierOperation) GetRemove() string { + if x, ok := m.GetOperation().(*AdGroupBidModifierOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupBidModifierOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupBidModifierOperation_OneofMarshaler, _AdGroupBidModifierOperation_OneofUnmarshaler, _AdGroupBidModifierOperation_OneofSizer, []interface{}{ + (*AdGroupBidModifierOperation_Create)(nil), + (*AdGroupBidModifierOperation_Update)(nil), + (*AdGroupBidModifierOperation_Remove)(nil), + } +} + +func _AdGroupBidModifierOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupBidModifierOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupBidModifierOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *AdGroupBidModifierOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *AdGroupBidModifierOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("AdGroupBidModifierOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _AdGroupBidModifierOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupBidModifierOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupBidModifier) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupBidModifierOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupBidModifier) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupBidModifierOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &AdGroupBidModifierOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _AdGroupBidModifierOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupBidModifierOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupBidModifierOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifierOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupBidModifierOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for ad group bid modifiers mutate. +type MutateAdGroupBidModifiersResponse struct { + // All results for the mutate. + Results []*MutateAdGroupBidModifierResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupBidModifiersResponse) Reset() { *m = MutateAdGroupBidModifiersResponse{} } +func (m *MutateAdGroupBidModifiersResponse) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupBidModifiersResponse) ProtoMessage() {} +func (*MutateAdGroupBidModifiersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d, []int{3} +} +func (m *MutateAdGroupBidModifiersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupBidModifiersResponse.Unmarshal(m, b) +} +func (m *MutateAdGroupBidModifiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupBidModifiersResponse.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupBidModifiersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupBidModifiersResponse.Merge(dst, src) +} +func (m *MutateAdGroupBidModifiersResponse) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupBidModifiersResponse.Size(m) +} +func (m *MutateAdGroupBidModifiersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupBidModifiersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupBidModifiersResponse proto.InternalMessageInfo + +func (m *MutateAdGroupBidModifiersResponse) GetResults() []*MutateAdGroupBidModifierResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the criterion mutate. +type MutateAdGroupBidModifierResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupBidModifierResult) Reset() { *m = MutateAdGroupBidModifierResult{} } +func (m *MutateAdGroupBidModifierResult) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupBidModifierResult) ProtoMessage() {} +func (*MutateAdGroupBidModifierResult) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d, []int{4} +} +func (m *MutateAdGroupBidModifierResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupBidModifierResult.Unmarshal(m, b) +} +func (m *MutateAdGroupBidModifierResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupBidModifierResult.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupBidModifierResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupBidModifierResult.Merge(dst, src) +} +func (m *MutateAdGroupBidModifierResult) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupBidModifierResult.Size(m) +} +func (m *MutateAdGroupBidModifierResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupBidModifierResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupBidModifierResult proto.InternalMessageInfo + +func (m *MutateAdGroupBidModifierResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAdGroupBidModifierRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupBidModifierRequest") + proto.RegisterType((*MutateAdGroupBidModifiersRequest)(nil), "google.ads.googleads.v0.services.MutateAdGroupBidModifiersRequest") + proto.RegisterType((*AdGroupBidModifierOperation)(nil), "google.ads.googleads.v0.services.AdGroupBidModifierOperation") + proto.RegisterType((*MutateAdGroupBidModifiersResponse)(nil), "google.ads.googleads.v0.services.MutateAdGroupBidModifiersResponse") + proto.RegisterType((*MutateAdGroupBidModifierResult)(nil), "google.ads.googleads.v0.services.MutateAdGroupBidModifierResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AdGroupBidModifierServiceClient is the client API for AdGroupBidModifierService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AdGroupBidModifierServiceClient interface { + // Returns the requested ad group bid modifier in full detail. + GetAdGroupBidModifier(ctx context.Context, in *GetAdGroupBidModifierRequest, opts ...grpc.CallOption) (*resources.AdGroupBidModifier, error) + // Creates, updates, or removes ad group bid modifiers. + // Operation statuses are returned. + MutateAdGroupBidModifiers(ctx context.Context, in *MutateAdGroupBidModifiersRequest, opts ...grpc.CallOption) (*MutateAdGroupBidModifiersResponse, error) +} + +type adGroupBidModifierServiceClient struct { + cc *grpc.ClientConn +} + +func NewAdGroupBidModifierServiceClient(cc *grpc.ClientConn) AdGroupBidModifierServiceClient { + return &adGroupBidModifierServiceClient{cc} +} + +func (c *adGroupBidModifierServiceClient) GetAdGroupBidModifier(ctx context.Context, in *GetAdGroupBidModifierRequest, opts ...grpc.CallOption) (*resources.AdGroupBidModifier, error) { + out := new(resources.AdGroupBidModifier) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupBidModifierService/GetAdGroupBidModifier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adGroupBidModifierServiceClient) MutateAdGroupBidModifiers(ctx context.Context, in *MutateAdGroupBidModifiersRequest, opts ...grpc.CallOption) (*MutateAdGroupBidModifiersResponse, error) { + out := new(MutateAdGroupBidModifiersResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupBidModifierService/MutateAdGroupBidModifiers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdGroupBidModifierServiceServer is the server API for AdGroupBidModifierService service. +type AdGroupBidModifierServiceServer interface { + // Returns the requested ad group bid modifier in full detail. + GetAdGroupBidModifier(context.Context, *GetAdGroupBidModifierRequest) (*resources.AdGroupBidModifier, error) + // Creates, updates, or removes ad group bid modifiers. + // Operation statuses are returned. + MutateAdGroupBidModifiers(context.Context, *MutateAdGroupBidModifiersRequest) (*MutateAdGroupBidModifiersResponse, error) +} + +func RegisterAdGroupBidModifierServiceServer(s *grpc.Server, srv AdGroupBidModifierServiceServer) { + s.RegisterService(&_AdGroupBidModifierService_serviceDesc, srv) +} + +func _AdGroupBidModifierService_GetAdGroupBidModifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAdGroupBidModifierRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupBidModifierServiceServer).GetAdGroupBidModifier(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupBidModifierService/GetAdGroupBidModifier", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupBidModifierServiceServer).GetAdGroupBidModifier(ctx, req.(*GetAdGroupBidModifierRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdGroupBidModifierService_MutateAdGroupBidModifiers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateAdGroupBidModifiersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupBidModifierServiceServer).MutateAdGroupBidModifiers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupBidModifierService/MutateAdGroupBidModifiers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupBidModifierServiceServer).MutateAdGroupBidModifiers(ctx, req.(*MutateAdGroupBidModifiersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AdGroupBidModifierService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AdGroupBidModifierService", + HandlerType: (*AdGroupBidModifierServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAdGroupBidModifier", + Handler: _AdGroupBidModifierService_GetAdGroupBidModifier_Handler, + }, + { + MethodName: "MutateAdGroupBidModifiers", + Handler: _AdGroupBidModifierService_MutateAdGroupBidModifiers_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/ad_group_bid_modifier_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/ad_group_bid_modifier_service.proto", fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d) +} + +var fileDescriptor_ad_group_bid_modifier_service_fbd69257eb9b6c8d = []byte{ + // 607 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4d, 0x6f, 0xd3, 0x30, + 0x18, 0xc7, 0x49, 0x8a, 0x86, 0xe6, 0xc0, 0xc5, 0x12, 0x52, 0x56, 0xa6, 0x11, 0x02, 0x87, 0xaa, + 0x87, 0xa4, 0x2a, 0x9a, 0x40, 0x9b, 0x82, 0x68, 0x0b, 0x74, 0x1c, 0xca, 0xa6, 0x20, 0xed, 0x30, + 0x15, 0x45, 0x6e, 0xed, 0x46, 0xd1, 0x9a, 0x38, 0xd8, 0x49, 0x2f, 0xd3, 0x84, 0xc4, 0x57, 0xe0, + 0x1b, 0x8c, 0x1b, 0x1f, 0x05, 0x89, 0x13, 0x07, 0x6e, 0x9c, 0xb8, 0xf0, 0x2d, 0x90, 0xe3, 0xb8, + 0x0c, 0xb5, 0x69, 0xd1, 0x76, 0x7b, 0x62, 0x3f, 0xfe, 0x3d, 0x2f, 0x7f, 0x3f, 0x0e, 0x78, 0x11, + 0x52, 0x1a, 0x4e, 0x89, 0x8b, 0x30, 0x77, 0xa5, 0x29, 0xac, 0x59, 0xcb, 0xe5, 0x84, 0xcd, 0xa2, + 0x31, 0xe1, 0x2e, 0xc2, 0x41, 0xc8, 0x68, 0x9e, 0x06, 0xa3, 0x08, 0x07, 0x31, 0xc5, 0xd1, 0x24, + 0x22, 0x2c, 0x28, 0xb7, 0x9d, 0x94, 0xd1, 0x8c, 0x42, 0x4b, 0x1e, 0x75, 0x10, 0xe6, 0xce, 0x9c, + 0xe2, 0xcc, 0x5a, 0x8e, 0xa2, 0xd4, 0xbd, 0xaa, 0x38, 0x8c, 0x70, 0x9a, 0xb3, 0xca, 0x40, 0x32, + 0x40, 0x7d, 0x5b, 0x1d, 0x4f, 0x23, 0x17, 0x25, 0x09, 0xcd, 0x50, 0x16, 0xd1, 0x84, 0x97, 0xbb, + 0x65, 0x78, 0xb7, 0xf8, 0x1a, 0xe5, 0x13, 0x77, 0x12, 0x91, 0x29, 0x0e, 0x62, 0xc4, 0x4f, 0xa5, + 0x87, 0xdd, 0x03, 0xdb, 0x7d, 0x92, 0x75, 0x70, 0x5f, 0x04, 0xe8, 0x46, 0x78, 0x50, 0xe2, 0x7d, + 0xf2, 0x3e, 0x27, 0x3c, 0x83, 0x0f, 0xc1, 0x1d, 0x95, 0x48, 0x90, 0xa0, 0x98, 0x98, 0x9a, 0xa5, + 0x35, 0x36, 0xfd, 0xdb, 0x6a, 0xf1, 0x0d, 0x8a, 0x89, 0x7d, 0xa1, 0x01, 0x6b, 0x90, 0x67, 0x28, + 0x23, 0x8b, 0x20, 0xae, 0x48, 0xf7, 0x81, 0x31, 0xce, 0x79, 0x46, 0x63, 0xc2, 0x82, 0x08, 0x97, + 0x1c, 0xa0, 0x96, 0x5e, 0x63, 0xf8, 0x0e, 0x00, 0x9a, 0x12, 0x26, 0x0b, 0x30, 0x75, 0xab, 0xd6, + 0x30, 0xda, 0x9e, 0xb3, 0xae, 0x81, 0xce, 0x62, 0xc8, 0x43, 0x45, 0xf1, 0x2f, 0x01, 0xed, 0xcf, + 0x3a, 0xb8, 0xb7, 0xc2, 0x17, 0xee, 0x03, 0x23, 0x4f, 0x31, 0xca, 0x48, 0xd1, 0x1e, 0xf3, 0xa6, + 0xa5, 0x35, 0x8c, 0x76, 0x5d, 0xc5, 0x57, 0x1d, 0x74, 0x5e, 0x89, 0x0e, 0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82, 0xd7, 0x3c, 0x5f, 0x56, 0xe4, 0x5e, 0x5c, 0xc0, 0xf7, 0xb4, 0x66, 0xf7, 0xa7, + 0x06, 0x1e, 0x8d, 0x69, 0xbc, 0x36, 0x9f, 0xee, 0x4e, 0xa5, 0xfe, 0x47, 0x62, 0x98, 0x8f, 0xb4, + 0x93, 0x83, 0x92, 0x11, 0xd2, 0x29, 0x4a, 0x42, 0x87, 0xb2, 0xd0, 0x0d, 0x49, 0x52, 0x8c, 0xba, + 0x7a, 0x8b, 0xd3, 0x88, 0x57, 0xff, 0x02, 0xf6, 0x95, 0x71, 0xa1, 0xd7, 0xfa, 0x9d, 0xce, 0x17, + 0xdd, 0xea, 0x4b, 0x60, 0x07, 0x73, 0x47, 0x9a, 0xc2, 0x3a, 0x6e, 0x39, 0x65, 0x60, 0xfe, 0x55, + 0xb9, 0x0c, 0x3b, 0x98, 0x0f, 0xe7, 0x2e, 0xc3, 0xe3, 0xd6, 0x50, 0xb9, 0x8c, 0x36, 0x8a, 0x04, + 0x1e, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x68, 0xc5, 0x0e, 0x82, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_criterion_service.pb.go new file mode 100644 index 000000000..07cbdfd3b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_criterion_service.pb.go @@ -0,0 +1,545 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/ad_group_criterion_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v0.services.AdGroupCriterionService.GetAdGroupCriterion]. +type GetAdGroupCriterionRequest struct { + // The resource name of the criterion to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAdGroupCriterionRequest) Reset() { *m = GetAdGroupCriterionRequest{} } +func (m *GetAdGroupCriterionRequest) String() string { return proto.CompactTextString(m) } +func (*GetAdGroupCriterionRequest) ProtoMessage() {} +func (*GetAdGroupCriterionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1, []int{0} +} +func (m *GetAdGroupCriterionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAdGroupCriterionRequest.Unmarshal(m, b) +} +func (m *GetAdGroupCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAdGroupCriterionRequest.Marshal(b, m, deterministic) +} +func (dst *GetAdGroupCriterionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAdGroupCriterionRequest.Merge(dst, src) +} +func (m *GetAdGroupCriterionRequest) XXX_Size() int { + return xxx_messageInfo_GetAdGroupCriterionRequest.Size(m) +} +func (m *GetAdGroupCriterionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAdGroupCriterionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAdGroupCriterionRequest proto.InternalMessageInfo + +func (m *GetAdGroupCriterionRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v0.services.AdGroupCriterionService.MutateAdGroupCriteria]. +type MutateAdGroupCriteriaRequest struct { + // ID of the customer whose criteria are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual criteria. + Operations []*AdGroupCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupCriteriaRequest) Reset() { *m = MutateAdGroupCriteriaRequest{} } +func (m *MutateAdGroupCriteriaRequest) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupCriteriaRequest) ProtoMessage() {} +func (*MutateAdGroupCriteriaRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1, []int{1} +} +func (m *MutateAdGroupCriteriaRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupCriteriaRequest.Unmarshal(m, b) +} +func (m *MutateAdGroupCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupCriteriaRequest.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupCriteriaRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupCriteriaRequest.Merge(dst, src) +} +func (m *MutateAdGroupCriteriaRequest) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupCriteriaRequest.Size(m) +} +func (m *MutateAdGroupCriteriaRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupCriteriaRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupCriteriaRequest proto.InternalMessageInfo + +func (m *MutateAdGroupCriteriaRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateAdGroupCriteriaRequest) GetOperations() []*AdGroupCriterionOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, remove, update) on an ad group criterion. +type AdGroupCriterionOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *AdGroupCriterionOperation_Create + // *AdGroupCriterionOperation_Update + // *AdGroupCriterionOperation_Remove + Operation isAdGroupCriterionOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupCriterionOperation) Reset() { *m = AdGroupCriterionOperation{} } +func (m *AdGroupCriterionOperation) String() string { return proto.CompactTextString(m) } +func (*AdGroupCriterionOperation) ProtoMessage() {} +func (*AdGroupCriterionOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1, []int{2} +} +func (m *AdGroupCriterionOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupCriterionOperation.Unmarshal(m, b) +} +func (m *AdGroupCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupCriterionOperation.Marshal(b, m, deterministic) +} +func (dst *AdGroupCriterionOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupCriterionOperation.Merge(dst, src) +} +func (m *AdGroupCriterionOperation) XXX_Size() int { + return xxx_messageInfo_AdGroupCriterionOperation.Size(m) +} +func (m *AdGroupCriterionOperation) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupCriterionOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupCriterionOperation proto.InternalMessageInfo + +func (m *AdGroupCriterionOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isAdGroupCriterionOperation_Operation interface { + isAdGroupCriterionOperation_Operation() +} + +type AdGroupCriterionOperation_Create struct { + Create *resources.AdGroupCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type AdGroupCriterionOperation_Update struct { + Update *resources.AdGroupCriterion `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type AdGroupCriterionOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*AdGroupCriterionOperation_Create) isAdGroupCriterionOperation_Operation() {} + +func (*AdGroupCriterionOperation_Update) isAdGroupCriterionOperation_Operation() {} + +func (*AdGroupCriterionOperation_Remove) isAdGroupCriterionOperation_Operation() {} + +func (m *AdGroupCriterionOperation) GetOperation() isAdGroupCriterionOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *AdGroupCriterionOperation) GetCreate() *resources.AdGroupCriterion { + if x, ok := m.GetOperation().(*AdGroupCriterionOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *AdGroupCriterionOperation) GetUpdate() *resources.AdGroupCriterion { + if x, ok := m.GetOperation().(*AdGroupCriterionOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *AdGroupCriterionOperation) GetRemove() string { + if x, ok := m.GetOperation().(*AdGroupCriterionOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupCriterionOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupCriterionOperation_OneofMarshaler, _AdGroupCriterionOperation_OneofUnmarshaler, _AdGroupCriterionOperation_OneofSizer, []interface{}{ + (*AdGroupCriterionOperation_Create)(nil), + (*AdGroupCriterionOperation_Update)(nil), + (*AdGroupCriterionOperation_Remove)(nil), + } +} + +func _AdGroupCriterionOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupCriterionOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupCriterionOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *AdGroupCriterionOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *AdGroupCriterionOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("AdGroupCriterionOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _AdGroupCriterionOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupCriterionOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupCriterion) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupCriterionOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupCriterion) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupCriterionOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &AdGroupCriterionOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _AdGroupCriterionOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupCriterionOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupCriterionOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterionOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupCriterionOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for an ad group criterion mutate. +type MutateAdGroupCriteriaResponse struct { + // All results for the mutate. + Results []*MutateAdGroupCriterionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupCriteriaResponse) Reset() { *m = MutateAdGroupCriteriaResponse{} } +func (m *MutateAdGroupCriteriaResponse) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupCriteriaResponse) ProtoMessage() {} +func (*MutateAdGroupCriteriaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1, []int{3} +} +func (m *MutateAdGroupCriteriaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupCriteriaResponse.Unmarshal(m, b) +} +func (m *MutateAdGroupCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupCriteriaResponse.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupCriteriaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupCriteriaResponse.Merge(dst, src) +} +func (m *MutateAdGroupCriteriaResponse) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupCriteriaResponse.Size(m) +} +func (m *MutateAdGroupCriteriaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupCriteriaResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupCriteriaResponse proto.InternalMessageInfo + +func (m *MutateAdGroupCriteriaResponse) GetResults() []*MutateAdGroupCriterionResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the criterion mutate. +type MutateAdGroupCriterionResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupCriterionResult) Reset() { *m = MutateAdGroupCriterionResult{} } +func (m *MutateAdGroupCriterionResult) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupCriterionResult) ProtoMessage() {} +func (*MutateAdGroupCriterionResult) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1, []int{4} +} +func (m *MutateAdGroupCriterionResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupCriterionResult.Unmarshal(m, b) +} +func (m *MutateAdGroupCriterionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupCriterionResult.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupCriterionResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupCriterionResult.Merge(dst, src) +} +func (m *MutateAdGroupCriterionResult) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupCriterionResult.Size(m) +} +func (m *MutateAdGroupCriterionResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupCriterionResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupCriterionResult proto.InternalMessageInfo + +func (m *MutateAdGroupCriterionResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAdGroupCriterionRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupCriterionRequest") + proto.RegisterType((*MutateAdGroupCriteriaRequest)(nil), "google.ads.googleads.v0.services.MutateAdGroupCriteriaRequest") + proto.RegisterType((*AdGroupCriterionOperation)(nil), "google.ads.googleads.v0.services.AdGroupCriterionOperation") + proto.RegisterType((*MutateAdGroupCriteriaResponse)(nil), "google.ads.googleads.v0.services.MutateAdGroupCriteriaResponse") + proto.RegisterType((*MutateAdGroupCriterionResult)(nil), "google.ads.googleads.v0.services.MutateAdGroupCriterionResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AdGroupCriterionServiceClient is the client API for AdGroupCriterionService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AdGroupCriterionServiceClient interface { + // Returns the requested criterion in full detail. + GetAdGroupCriterion(ctx context.Context, in *GetAdGroupCriterionRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterion, error) + // Creates, updates, or removes criteria. Operation statuses are returned. + MutateAdGroupCriteria(ctx context.Context, in *MutateAdGroupCriteriaRequest, opts ...grpc.CallOption) (*MutateAdGroupCriteriaResponse, error) +} + +type adGroupCriterionServiceClient struct { + cc *grpc.ClientConn +} + +func NewAdGroupCriterionServiceClient(cc *grpc.ClientConn) AdGroupCriterionServiceClient { + return &adGroupCriterionServiceClient{cc} +} + +func (c *adGroupCriterionServiceClient) GetAdGroupCriterion(ctx context.Context, in *GetAdGroupCriterionRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterion, error) { + out := new(resources.AdGroupCriterion) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupCriterionService/GetAdGroupCriterion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adGroupCriterionServiceClient) MutateAdGroupCriteria(ctx context.Context, in *MutateAdGroupCriteriaRequest, opts ...grpc.CallOption) (*MutateAdGroupCriteriaResponse, error) { + out := new(MutateAdGroupCriteriaResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupCriterionService/MutateAdGroupCriteria", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdGroupCriterionServiceServer is the server API for AdGroupCriterionService service. +type AdGroupCriterionServiceServer interface { + // Returns the requested criterion in full detail. + GetAdGroupCriterion(context.Context, *GetAdGroupCriterionRequest) (*resources.AdGroupCriterion, error) + // Creates, updates, or removes criteria. Operation statuses are returned. + MutateAdGroupCriteria(context.Context, *MutateAdGroupCriteriaRequest) (*MutateAdGroupCriteriaResponse, error) +} + +func RegisterAdGroupCriterionServiceServer(s *grpc.Server, srv AdGroupCriterionServiceServer) { + s.RegisterService(&_AdGroupCriterionService_serviceDesc, srv) +} + +func _AdGroupCriterionService_GetAdGroupCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAdGroupCriterionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupCriterionServiceServer).GetAdGroupCriterion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupCriterionService/GetAdGroupCriterion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupCriterionServiceServer).GetAdGroupCriterion(ctx, req.(*GetAdGroupCriterionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdGroupCriterionService_MutateAdGroupCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateAdGroupCriteriaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupCriterionServiceServer).MutateAdGroupCriteria(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupCriterionService/MutateAdGroupCriteria", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupCriterionServiceServer).MutateAdGroupCriteria(ctx, req.(*MutateAdGroupCriteriaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AdGroupCriterionService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AdGroupCriterionService", + HandlerType: (*AdGroupCriterionServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAdGroupCriterion", + Handler: _AdGroupCriterionService_GetAdGroupCriterion_Handler, + }, + { + MethodName: "MutateAdGroupCriteria", + Handler: _AdGroupCriterionService_MutateAdGroupCriteria_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/ad_group_criterion_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/ad_group_criterion_service.proto", fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1) +} + +var fileDescriptor_ad_group_criterion_service_3645d889d01f8ec1 = []byte{ + // 603 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x8b, 0xd3, 0x4e, + 0x18, 0xc7, 0x7f, 0x49, 0x7f, 0x54, 0x76, 0xa2, 0x97, 0x11, 0x31, 0x86, 0x8a, 0x25, 0x7a, 0x28, + 0x3d, 0x24, 0xb5, 0xf5, 0xb2, 0xad, 0xeb, 0x92, 0x2e, 0xd8, 0xf5, 0x50, 0x5d, 0x22, 0x2c, 0xa2, + 0x85, 0x30, 0xdb, 0xcc, 0x86, 0xb0, 0x4d, 0x26, 0xce, 0x4c, 0x0a, 0xb2, 0xec, 0xc5, 0xb7, 0xe0, + 0x55, 0x2f, 0x1e, 0x7d, 0x0b, 0x1e, 0xbd, 0x79, 0xf5, 0x24, 0x78, 0xf4, 0x85, 0xc8, 0x64, 0x32, + 0x75, 0x5b, 0x1b, 0x2a, 0xf5, 0xf6, 0x24, 0xf3, 0xcc, 0xe7, 0xf9, 0xf3, 0x7d, 0x9e, 0x01, 0x5e, + 0x44, 0x48, 0x34, 0xc3, 0x2e, 0x0a, 0x99, 0x2b, 0x4d, 0x61, 0xcd, 0x3b, 0x2e, 0xc3, 0x74, 0x1e, + 0x4f, 0x31, 0x73, 0x51, 0x18, 0x44, 0x94, 0xe4, 0x59, 0x30, 0xa5, 0x31, 0xc7, 0x34, 0x26, 0x69, + 0x50, 0x9e, 0x39, 0x19, 0x25, 0x9c, 0xc0, 0xa6, 0xbc, 0xe7, 0xa0, 0x90, 0x39, 0x0b, 0x84, 0x33, + 0xef, 0x38, 0x0a, 0x61, 0xf5, 0xab, 0x82, 0x50, 0xcc, 0x48, 0x4e, 0xd7, 0x47, 0x91, 0x74, 0xab, + 0xa1, 0xee, 0x66, 0xb1, 0x8b, 0xd2, 0x94, 0x70, 0xc4, 0x63, 0x92, 0xb2, 0xf2, 0xb4, 0x8c, 0xed, + 0x16, 0x5f, 0x27, 0xf9, 0xa9, 0x7b, 0x1a, 0xe3, 0x59, 0x18, 0x24, 0x88, 0x9d, 0x49, 0x0f, 0xdb, + 0x03, 0xd6, 0x08, 0x73, 0x2f, 0x1c, 0x09, 0xfa, 0x81, 0x82, 0xfb, 0xf8, 0x75, 0x8e, 0x19, 0x87, + 0x77, 0xc1, 0x35, 0x95, 0x43, 0x90, 0xa2, 0x04, 0x9b, 0x5a, 0x53, 0x6b, 0xed, 0xf8, 0x57, 0xd5, + 0xcf, 0xa7, 0x28, 0xc1, 0xf6, 0x7b, 0x0d, 0x34, 0xc6, 0x39, 0x47, 0x1c, 0x2f, 0x63, 0x90, 0xa2, + 0xdc, 0x01, 0xc6, 0x34, 0x67, 0x9c, 0x24, 0x98, 0x06, 0x71, 0x58, 0x32, 0x80, 0xfa, 0xf5, 0x24, + 0x84, 0xaf, 0x00, 0x20, 0x19, 0xa6, 0x32, 0x75, 0x53, 0x6f, 0xd6, 0x5a, 0x46, 0x77, 0xe0, 0x6c, + 0xea, 0x9b, 0xb3, 0x9a, 0xf5, 0x33, 0xc5, 0xf0, 0x2f, 0xe1, 0xec, 0x0f, 0x3a, 0xb8, 0x55, 0xe9, + 0x09, 0x07, 0xc0, 0xc8, 0xb3, 0x10, 0x71, 0x5c, 0x34, 0xc5, 0xfc, 0xbf, 0xa9, 0xb5, 0x8c, 0xae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5, 0x6b, 0x3f, 0x10, 0x55, 0xfd, 0x2e, 0xe3, 0xfc, 0xd2, 0xbe, 0xef, + 0xb5, 0x2f, 0x56, 0x8b, 0xea, 0x27, 0x05, 0xb4, 0xaf, 0xb5, 0x87, 0x3f, 0x34, 0x70, 0x6f, 0x4a, + 0x92, 0x8d, 0x79, 0x0c, 0x1b, 0x15, 0x1a, 0x1f, 0x89, 0x15, 0x3d, 0xd2, 0x5e, 0x1e, 0x96, 0x84, + 0x88, 0xcc, 0x50, 0x1a, 0x39, 0x84, 0x46, 0x6e, 0x84, 0xd3, 0x62, 0x81, 0xd5, 0xa3, 0x9a, 0xc5, + 0xac, 0xfa, 0x21, 0x1f, 0x28, 0xe3, 0xa3, 0x5e, 0x1b, 0x79, 0xde, 0x27, 0xbd, 0x39, 0x92, 0x40, + 0x2f, 0x64, 0x8e, 0x34, 0x85, 0x75, 0xdc, 0x71, 0xca, 0xc0, 0xec, 0xab, 0x72, 0x99, 0x78, 0x21, + 0x9b, 0x2c, 0x5c, 0x26, 0xc7, 0x9d, 0x89, 0x72, 0x39, 0xa9, 0x17, 0x09, 0xf4, 0x7e, 0x05, 0x00, + 0x00, 0xff, 0xff, 0xf1, 0xe2, 0x63, 0x62, 0x48, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_feed_service.pb.go new file mode 100644 index 000000000..f37b5e395 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_feed_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/ad_group_feed_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v0.services.AdGroupFeedService.GetAdGroupFeed]. +type GetAdGroupFeedRequest struct { + // The resource name of the ad group feed to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAdGroupFeedRequest) Reset() { *m = GetAdGroupFeedRequest{} } +func (m *GetAdGroupFeedRequest) String() string { return proto.CompactTextString(m) } +func (*GetAdGroupFeedRequest) ProtoMessage() {} +func (*GetAdGroupFeedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_service_846fa7679024c025, []int{0} +} +func (m *GetAdGroupFeedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAdGroupFeedRequest.Unmarshal(m, b) +} +func (m *GetAdGroupFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAdGroupFeedRequest.Marshal(b, m, deterministic) +} +func (dst *GetAdGroupFeedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAdGroupFeedRequest.Merge(dst, src) +} +func (m *GetAdGroupFeedRequest) XXX_Size() int { + return xxx_messageInfo_GetAdGroupFeedRequest.Size(m) +} +func (m *GetAdGroupFeedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAdGroupFeedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAdGroupFeedRequest proto.InternalMessageInfo + +func (m *GetAdGroupFeedRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v0.services.AdGroupFeedService.MutateAdGroupFeeds]. +type MutateAdGroupFeedsRequest struct { + // The ID of the customer whose ad group feeds are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual ad group feeds. + Operations []*AdGroupFeedOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupFeedsRequest) Reset() { *m = MutateAdGroupFeedsRequest{} } +func (m *MutateAdGroupFeedsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupFeedsRequest) ProtoMessage() {} +func (*MutateAdGroupFeedsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_service_846fa7679024c025, []int{1} +} +func (m *MutateAdGroupFeedsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupFeedsRequest.Unmarshal(m, b) +} +func (m *MutateAdGroupFeedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupFeedsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupFeedsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupFeedsRequest.Merge(dst, src) +} +func (m *MutateAdGroupFeedsRequest) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupFeedsRequest.Size(m) +} +func (m *MutateAdGroupFeedsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupFeedsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupFeedsRequest proto.InternalMessageInfo + +func (m *MutateAdGroupFeedsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateAdGroupFeedsRequest) GetOperations() []*AdGroupFeedOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on an ad group feed. +type AdGroupFeedOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *AdGroupFeedOperation_Create + // *AdGroupFeedOperation_Update + // *AdGroupFeedOperation_Remove + Operation isAdGroupFeedOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupFeedOperation) Reset() { *m = AdGroupFeedOperation{} } +func (m *AdGroupFeedOperation) String() string { return proto.CompactTextString(m) } +func (*AdGroupFeedOperation) ProtoMessage() {} +func (*AdGroupFeedOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_service_846fa7679024c025, []int{2} +} +func (m *AdGroupFeedOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupFeedOperation.Unmarshal(m, b) +} +func (m *AdGroupFeedOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupFeedOperation.Marshal(b, m, deterministic) +} +func (dst *AdGroupFeedOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupFeedOperation.Merge(dst, src) +} +func (m *AdGroupFeedOperation) XXX_Size() int { + return xxx_messageInfo_AdGroupFeedOperation.Size(m) +} +func (m *AdGroupFeedOperation) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupFeedOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupFeedOperation proto.InternalMessageInfo + +func (m *AdGroupFeedOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isAdGroupFeedOperation_Operation interface { + isAdGroupFeedOperation_Operation() +} + +type AdGroupFeedOperation_Create struct { + Create *resources.AdGroupFeed `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type AdGroupFeedOperation_Update struct { + Update *resources.AdGroupFeed `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type AdGroupFeedOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*AdGroupFeedOperation_Create) isAdGroupFeedOperation_Operation() {} + +func (*AdGroupFeedOperation_Update) isAdGroupFeedOperation_Operation() {} + +func (*AdGroupFeedOperation_Remove) isAdGroupFeedOperation_Operation() {} + +func (m *AdGroupFeedOperation) GetOperation() isAdGroupFeedOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *AdGroupFeedOperation) GetCreate() *resources.AdGroupFeed { + if x, ok := m.GetOperation().(*AdGroupFeedOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *AdGroupFeedOperation) GetUpdate() *resources.AdGroupFeed { + if x, ok := m.GetOperation().(*AdGroupFeedOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *AdGroupFeedOperation) GetRemove() string { + if x, ok := m.GetOperation().(*AdGroupFeedOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupFeedOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupFeedOperation_OneofMarshaler, _AdGroupFeedOperation_OneofUnmarshaler, _AdGroupFeedOperation_OneofSizer, []interface{}{ + (*AdGroupFeedOperation_Create)(nil), + (*AdGroupFeedOperation_Update)(nil), + (*AdGroupFeedOperation_Remove)(nil), + } +} + +func _AdGroupFeedOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupFeedOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupFeedOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *AdGroupFeedOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *AdGroupFeedOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("AdGroupFeedOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _AdGroupFeedOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupFeedOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupFeed) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupFeedOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroupFeed) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupFeedOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &AdGroupFeedOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _AdGroupFeedOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupFeedOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupFeedOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupFeedOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupFeedOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for an ad group feed mutate. +type MutateAdGroupFeedsResponse struct { + // All results for the mutate. + Results []*MutateAdGroupFeedResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupFeedsResponse) Reset() { *m = MutateAdGroupFeedsResponse{} } +func (m *MutateAdGroupFeedsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupFeedsResponse) ProtoMessage() {} +func (*MutateAdGroupFeedsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_service_846fa7679024c025, []int{3} +} +func (m *MutateAdGroupFeedsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupFeedsResponse.Unmarshal(m, b) +} +func (m *MutateAdGroupFeedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupFeedsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupFeedsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupFeedsResponse.Merge(dst, src) +} +func (m *MutateAdGroupFeedsResponse) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupFeedsResponse.Size(m) +} +func (m *MutateAdGroupFeedsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupFeedsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupFeedsResponse proto.InternalMessageInfo + +func (m *MutateAdGroupFeedsResponse) GetResults() []*MutateAdGroupFeedResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the ad group feed mutate. +type MutateAdGroupFeedResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupFeedResult) Reset() { *m = MutateAdGroupFeedResult{} } +func (m *MutateAdGroupFeedResult) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupFeedResult) ProtoMessage() {} +func (*MutateAdGroupFeedResult) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_feed_service_846fa7679024c025, []int{4} +} +func (m *MutateAdGroupFeedResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupFeedResult.Unmarshal(m, b) +} +func (m *MutateAdGroupFeedResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupFeedResult.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupFeedResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupFeedResult.Merge(dst, src) +} +func (m *MutateAdGroupFeedResult) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupFeedResult.Size(m) +} +func (m *MutateAdGroupFeedResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupFeedResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupFeedResult proto.InternalMessageInfo + +func (m *MutateAdGroupFeedResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAdGroupFeedRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupFeedRequest") + proto.RegisterType((*MutateAdGroupFeedsRequest)(nil), "google.ads.googleads.v0.services.MutateAdGroupFeedsRequest") + proto.RegisterType((*AdGroupFeedOperation)(nil), "google.ads.googleads.v0.services.AdGroupFeedOperation") + proto.RegisterType((*MutateAdGroupFeedsResponse)(nil), "google.ads.googleads.v0.services.MutateAdGroupFeedsResponse") + proto.RegisterType((*MutateAdGroupFeedResult)(nil), "google.ads.googleads.v0.services.MutateAdGroupFeedResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AdGroupFeedServiceClient is the client API for AdGroupFeedService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AdGroupFeedServiceClient interface { + // Returns the requested ad group feed in full detail. + GetAdGroupFeed(ctx context.Context, in *GetAdGroupFeedRequest, opts ...grpc.CallOption) (*resources.AdGroupFeed, error) + // Creates, updates, or removes ad group feeds. Operation statuses are + // returned. + MutateAdGroupFeeds(ctx context.Context, in *MutateAdGroupFeedsRequest, opts ...grpc.CallOption) (*MutateAdGroupFeedsResponse, error) +} + +type adGroupFeedServiceClient struct { + cc *grpc.ClientConn +} + +func NewAdGroupFeedServiceClient(cc *grpc.ClientConn) AdGroupFeedServiceClient { + return &adGroupFeedServiceClient{cc} +} + +func (c *adGroupFeedServiceClient) GetAdGroupFeed(ctx context.Context, in *GetAdGroupFeedRequest, opts ...grpc.CallOption) (*resources.AdGroupFeed, error) { + out := new(resources.AdGroupFeed) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupFeedService/GetAdGroupFeed", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adGroupFeedServiceClient) MutateAdGroupFeeds(ctx context.Context, in *MutateAdGroupFeedsRequest, opts ...grpc.CallOption) (*MutateAdGroupFeedsResponse, error) { + out := new(MutateAdGroupFeedsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupFeedService/MutateAdGroupFeeds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdGroupFeedServiceServer is the server API for AdGroupFeedService service. +type AdGroupFeedServiceServer interface { + // Returns the requested ad group feed in full detail. + GetAdGroupFeed(context.Context, *GetAdGroupFeedRequest) (*resources.AdGroupFeed, error) + // Creates, updates, or removes ad group feeds. Operation statuses are + // returned. + MutateAdGroupFeeds(context.Context, *MutateAdGroupFeedsRequest) (*MutateAdGroupFeedsResponse, error) +} + +func RegisterAdGroupFeedServiceServer(s *grpc.Server, srv AdGroupFeedServiceServer) { + s.RegisterService(&_AdGroupFeedService_serviceDesc, srv) +} + +func _AdGroupFeedService_GetAdGroupFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAdGroupFeedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupFeedServiceServer).GetAdGroupFeed(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupFeedService/GetAdGroupFeed", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupFeedServiceServer).GetAdGroupFeed(ctx, req.(*GetAdGroupFeedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdGroupFeedService_MutateAdGroupFeeds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateAdGroupFeedsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupFeedServiceServer).MutateAdGroupFeeds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupFeedService/MutateAdGroupFeeds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupFeedServiceServer).MutateAdGroupFeeds(ctx, req.(*MutateAdGroupFeedsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AdGroupFeedService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AdGroupFeedService", + HandlerType: (*AdGroupFeedServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAdGroupFeed", + Handler: _AdGroupFeedService_GetAdGroupFeed_Handler, + }, + { + MethodName: "MutateAdGroupFeeds", + Handler: _AdGroupFeedService_MutateAdGroupFeeds_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/ad_group_feed_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/ad_group_feed_service.proto", fileDescriptor_ad_group_feed_service_846fa7679024c025) +} + +var fileDescriptor_ad_group_feed_service_846fa7679024c025 = []byte{ + // 595 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xc6, 0x0e, 0x2a, 0xea, 0x19, 0x18, 0x4e, 0xa0, 0x1a, 0x0b, 0x89, 0xc8, 0x30, 0x54, 0x19, + 0xce, 0x21, 0x88, 0x22, 0x9a, 0x14, 0x29, 0x19, 0x9a, 0x30, 0x14, 0x2a, 0x57, 0xca, 0x80, 0x22, + 0x59, 0xd7, 0xdc, 0x8b, 0x65, 0x35, 0xf6, 0xb9, 0x3e, 0x3b, 0x4b, 0xd5, 0x85, 0x1f, 0xc0, 0x02, + 0x03, 0x33, 0x23, 0x1b, 0x7f, 0x03, 0x89, 0x89, 0x81, 0x3f, 0xc0, 0x0f, 0x41, 0xf6, 0xf9, 0x82, + 0xa3, 0x24, 0x0a, 0x64, 0x7b, 0x77, 0xf7, 0xbe, 0xef, 0xbd, 0xf7, 0xbd, 0xf7, 0x0e, 0x75, 0x7c, + 0xce, 0xfd, 0x29, 0x38, 0x94, 0x09, 0x47, 0x9a, 0xb9, 0x35, 0x6b, 0x3a, 0x02, 0x92, 0x59, 0x30, + 0x06, 0xe1, 0x50, 0xe6, 0xf9, 0x09, 0xcf, 0x62, 0x6f, 0x02, 0xc0, 0xbc, 0xf2, 0x9a, 0xc4, 0x09, + 0x4f, 0x39, 0xae, 0x4b, 0x08, 0xa1, 0x4c, 0x90, 0x39, 0x9a, 0xcc, 0x9a, 0x44, 0xa1, 0xad, 0xe7, + 0xeb, 0xf8, 0x13, 0x10, 0x3c, 0x4b, 0x96, 0x02, 0x48, 0x62, 0xeb, 0xa1, 0x82, 0xc5, 0x81, 0x43, + 0xa3, 0x88, 0xa7, 0x34, 0x0d, 0x78, 0x24, 0xca, 0xd7, 0x32, 0xac, 0x53, 0x9c, 0xce, 0xb3, 0x89, + 0x33, 0x09, 0x60, 0xca, 0xbc, 0x90, 0x8a, 0x0b, 0xe9, 0x61, 0x77, 0xd0, 0xfd, 0x3e, 0xa4, 0x5d, + 0xd6, 0xcf, 0x89, 0x8f, 0x01, 0x98, 0x0b, 0x97, 0x19, 0x88, 0x14, 0x3f, 0x46, 0x77, 0x54, 0x64, + 0x2f, 0xa2, 0x21, 0x98, 0x5a, 0x5d, 0xdb, 0xdf, 0x75, 0x6f, 0xab, 0xcb, 0x37, 0x34, 0x04, 0xfb, + 0x93, 0x86, 0x1e, 0x9c, 0x64, 0x29, 0x4d, 0xa1, 0xc2, 0x20, 0x14, 0xc5, 0x23, 0x64, 0x8c, 0x33, + 0x91, 0xf2, 0x10, 0x12, 0x2f, 0x60, 0x25, 0x01, 0x52, 0x57, 0xaf, 0x19, 0x1e, 0x22, 0xc4, 0x63, + 0x48, 0x64, 0xca, 0xa6, 0x5e, 0xaf, 0xed, 0x1b, 0xad, 0x03, 0xb2, 0x49, 0x2a, 0x52, 0x89, 0xf5, + 0x56, 0xc1, 0xdd, 0x0a, 0x93, 0xfd, 0x41, 0x47, 0xf7, 0x56, 0x39, 0xe1, 0x36, 0x32, 0xb2, 0x98, + 0xd1, 0x14, 0x0a, 0x09, 0xcc, 0x9b, 0x75, 0x6d, 0xdf, 0x68, 0x59, 0x2a, 0xa2, 0x52, 0x89, 0x1c, + 0xe7, 0x2a, 0x9d, 0x50, 0x71, 0xe1, 0x22, 0xe9, 0x9e, 0xdb, 0x78, 0x80, 0x76, 0xc6, 0x09, 0xd0, + 0x54, 0x4a, 0x61, 0xb4, 0xc8, 0xda, 0x4c, 0xe7, 0x2d, 0xab, 0xa6, 0x3a, 0xb8, 0xe1, 0x96, 0xf8, + 0x9c, 0x49, 0xf2, 0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x91, 0x4f, 0x78, 0xe2, 0x3b, 0x3e, + 0x44, 0xc5, 0x06, 0xaa, 0xef, 0x2f, 0x0e, 0xc4, 0xfa, 0xdf, 0xb6, 0xad, 0x8c, 0x2f, 0x7a, 0xad, + 0xdf, 0xed, 0x7e, 0xd5, 0xeb, 0x7d, 0x49, 0xd8, 0x65, 0x82, 0x48, 0x33, 0xb7, 0x86, 0x4d, 0x52, + 0x06, 0x16, 0xdf, 0x95, 0xcb, 0xa8, 0xcb, 0xc4, 0x68, 0xee, 0x32, 0x1a, 0x36, 0x47, 0xca, 0xe5, + 0x7c, 0xa7, 0x48, 0xe0, 0xd9, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x08, 0x96, 0x6e, 0xed, + 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_service.pb.go new file mode 100644 index 000000000..f6daf668d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/ad_group_service.pb.go @@ -0,0 +1,544 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/ad_group_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AdGroupService.GetAdGroup][google.ads.googleads.v0.services.AdGroupService.GetAdGroup]. +type GetAdGroupRequest struct { + // The resource name of the ad group to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAdGroupRequest) Reset() { *m = GetAdGroupRequest{} } +func (m *GetAdGroupRequest) String() string { return proto.CompactTextString(m) } +func (*GetAdGroupRequest) ProtoMessage() {} +func (*GetAdGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_service_ac847ce94dace47a, []int{0} +} +func (m *GetAdGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAdGroupRequest.Unmarshal(m, b) +} +func (m *GetAdGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAdGroupRequest.Marshal(b, m, deterministic) +} +func (dst *GetAdGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAdGroupRequest.Merge(dst, src) +} +func (m *GetAdGroupRequest) XXX_Size() int { + return xxx_messageInfo_GetAdGroupRequest.Size(m) +} +func (m *GetAdGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAdGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAdGroupRequest proto.InternalMessageInfo + +func (m *GetAdGroupRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [AdGroupService.MutateAdGroups][google.ads.googleads.v0.services.AdGroupService.MutateAdGroups]. +type MutateAdGroupsRequest struct { + // The ID of the customer whose ad groups are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual ad groups. + Operations []*AdGroupOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupsRequest) Reset() { *m = MutateAdGroupsRequest{} } +func (m *MutateAdGroupsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupsRequest) ProtoMessage() {} +func (*MutateAdGroupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_service_ac847ce94dace47a, []int{1} +} +func (m *MutateAdGroupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupsRequest.Unmarshal(m, b) +} +func (m *MutateAdGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupsRequest.Merge(dst, src) +} +func (m *MutateAdGroupsRequest) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupsRequest.Size(m) +} +func (m *MutateAdGroupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupsRequest proto.InternalMessageInfo + +func (m *MutateAdGroupsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateAdGroupsRequest) GetOperations() []*AdGroupOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on an ad group. +type AdGroupOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *AdGroupOperation_Create + // *AdGroupOperation_Update + // *AdGroupOperation_Remove + Operation isAdGroupOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AdGroupOperation) Reset() { *m = AdGroupOperation{} } +func (m *AdGroupOperation) String() string { return proto.CompactTextString(m) } +func (*AdGroupOperation) ProtoMessage() {} +func (*AdGroupOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_service_ac847ce94dace47a, []int{2} +} +func (m *AdGroupOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AdGroupOperation.Unmarshal(m, b) +} +func (m *AdGroupOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AdGroupOperation.Marshal(b, m, deterministic) +} +func (dst *AdGroupOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_AdGroupOperation.Merge(dst, src) +} +func (m *AdGroupOperation) XXX_Size() int { + return xxx_messageInfo_AdGroupOperation.Size(m) +} +func (m *AdGroupOperation) XXX_DiscardUnknown() { + xxx_messageInfo_AdGroupOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_AdGroupOperation proto.InternalMessageInfo + +func (m *AdGroupOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isAdGroupOperation_Operation interface { + isAdGroupOperation_Operation() +} + +type AdGroupOperation_Create struct { + Create *resources.AdGroup `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type AdGroupOperation_Update struct { + Update *resources.AdGroup `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type AdGroupOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*AdGroupOperation_Create) isAdGroupOperation_Operation() {} + +func (*AdGroupOperation_Update) isAdGroupOperation_Operation() {} + +func (*AdGroupOperation_Remove) isAdGroupOperation_Operation() {} + +func (m *AdGroupOperation) GetOperation() isAdGroupOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *AdGroupOperation) GetCreate() *resources.AdGroup { + if x, ok := m.GetOperation().(*AdGroupOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *AdGroupOperation) GetUpdate() *resources.AdGroup { + if x, ok := m.GetOperation().(*AdGroupOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *AdGroupOperation) GetRemove() string { + if x, ok := m.GetOperation().(*AdGroupOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*AdGroupOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AdGroupOperation_OneofMarshaler, _AdGroupOperation_OneofUnmarshaler, _AdGroupOperation_OneofSizer, []interface{}{ + (*AdGroupOperation_Create)(nil), + (*AdGroupOperation_Update)(nil), + (*AdGroupOperation_Remove)(nil), + } +} + +func _AdGroupOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AdGroupOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *AdGroupOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *AdGroupOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("AdGroupOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _AdGroupOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AdGroupOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroup) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.AdGroup) + err := b.DecodeMessage(msg) + m.Operation = &AdGroupOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &AdGroupOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _AdGroupOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AdGroupOperation) + // operation + switch x := m.Operation.(type) { + case *AdGroupOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *AdGroupOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for an ad group mutate. +type MutateAdGroupsResponse struct { + // All results for the mutate. + Results []*MutateAdGroupResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupsResponse) Reset() { *m = MutateAdGroupsResponse{} } +func (m *MutateAdGroupsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupsResponse) ProtoMessage() {} +func (*MutateAdGroupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_service_ac847ce94dace47a, []int{3} +} +func (m *MutateAdGroupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupsResponse.Unmarshal(m, b) +} +func (m *MutateAdGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupsResponse.Merge(dst, src) +} +func (m *MutateAdGroupsResponse) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupsResponse.Size(m) +} +func (m *MutateAdGroupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupsResponse proto.InternalMessageInfo + +func (m *MutateAdGroupsResponse) GetResults() []*MutateAdGroupResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the ad group mutate. +type MutateAdGroupResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateAdGroupResult) Reset() { *m = MutateAdGroupResult{} } +func (m *MutateAdGroupResult) String() string { return proto.CompactTextString(m) } +func (*MutateAdGroupResult) ProtoMessage() {} +func (*MutateAdGroupResult) Descriptor() ([]byte, []int) { + return fileDescriptor_ad_group_service_ac847ce94dace47a, []int{4} +} +func (m *MutateAdGroupResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateAdGroupResult.Unmarshal(m, b) +} +func (m *MutateAdGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateAdGroupResult.Marshal(b, m, deterministic) +} +func (dst *MutateAdGroupResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateAdGroupResult.Merge(dst, src) +} +func (m *MutateAdGroupResult) XXX_Size() int { + return xxx_messageInfo_MutateAdGroupResult.Size(m) +} +func (m *MutateAdGroupResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateAdGroupResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateAdGroupResult proto.InternalMessageInfo + +func (m *MutateAdGroupResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAdGroupRequest)(nil), "google.ads.googleads.v0.services.GetAdGroupRequest") + proto.RegisterType((*MutateAdGroupsRequest)(nil), "google.ads.googleads.v0.services.MutateAdGroupsRequest") + proto.RegisterType((*AdGroupOperation)(nil), "google.ads.googleads.v0.services.AdGroupOperation") + proto.RegisterType((*MutateAdGroupsResponse)(nil), "google.ads.googleads.v0.services.MutateAdGroupsResponse") + proto.RegisterType((*MutateAdGroupResult)(nil), "google.ads.googleads.v0.services.MutateAdGroupResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AdGroupServiceClient is the client API for AdGroupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AdGroupServiceClient interface { + // Returns the requested ad group in full detail. + GetAdGroup(ctx context.Context, in *GetAdGroupRequest, opts ...grpc.CallOption) (*resources.AdGroup, error) + // Creates, updates, or removes ad groups. Operation statuses are returned. + MutateAdGroups(ctx context.Context, in *MutateAdGroupsRequest, opts ...grpc.CallOption) (*MutateAdGroupsResponse, error) +} + +type adGroupServiceClient struct { + cc *grpc.ClientConn +} + +func NewAdGroupServiceClient(cc *grpc.ClientConn) AdGroupServiceClient { + return &adGroupServiceClient{cc} +} + +func (c *adGroupServiceClient) GetAdGroup(ctx context.Context, in *GetAdGroupRequest, opts ...grpc.CallOption) (*resources.AdGroup, error) { + out := new(resources.AdGroup) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupService/GetAdGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adGroupServiceClient) MutateAdGroups(ctx context.Context, in *MutateAdGroupsRequest, opts ...grpc.CallOption) (*MutateAdGroupsResponse, error) { + out := new(MutateAdGroupsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AdGroupService/MutateAdGroups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdGroupServiceServer is the server API for AdGroupService service. +type AdGroupServiceServer interface { + // Returns the requested ad group in full detail. + GetAdGroup(context.Context, *GetAdGroupRequest) (*resources.AdGroup, error) + // Creates, updates, or removes ad groups. Operation statuses are returned. + MutateAdGroups(context.Context, *MutateAdGroupsRequest) (*MutateAdGroupsResponse, error) +} + +func RegisterAdGroupServiceServer(s *grpc.Server, srv AdGroupServiceServer) { + s.RegisterService(&_AdGroupService_serviceDesc, srv) +} + +func _AdGroupService_GetAdGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAdGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupServiceServer).GetAdGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupService/GetAdGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupServiceServer).GetAdGroup(ctx, req.(*GetAdGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdGroupService_MutateAdGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateAdGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdGroupServiceServer).MutateAdGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AdGroupService/MutateAdGroups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdGroupServiceServer).MutateAdGroups(ctx, req.(*MutateAdGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AdGroupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AdGroupService", + HandlerType: (*AdGroupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAdGroup", + Handler: _AdGroupService_GetAdGroup_Handler, + }, + { + MethodName: "MutateAdGroups", + Handler: _AdGroupService_MutateAdGroups_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/ad_group_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/ad_group_service.proto", fileDescriptor_ad_group_service_ac847ce94dace47a) +} + +var fileDescriptor_ad_group_service_ac847ce94dace47a = []byte{ + // 585 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x6e, 0xd3, 0x40, + 0x10, 0xc5, 0x0e, 0x0a, 0xea, 0x18, 0x2a, 0xd8, 0x0a, 0x64, 0x45, 0x48, 0x44, 0x86, 0x43, 0x64, + 0x81, 0x1d, 0xb9, 0x42, 0x8d, 0x52, 0xf5, 0x90, 0x08, 0x91, 0x72, 0x28, 0xad, 0x8c, 0xd4, 0x03, + 0x8a, 0x14, 0x6d, 0xe3, 0xad, 0x65, 0x35, 0xf6, 0x1a, 0xef, 0x3a, 0x97, 0xaa, 0x97, 0x9e, 0xb9, + 0xf1, 0x05, 0x70, 0xe4, 0x1f, 0xf8, 0x01, 0xae, 0xfd, 0x05, 0x3e, 0x81, 0x0f, 0x40, 0xeb, 0xdd, + 0x4d, 0x93, 0x42, 0x14, 0xd2, 0xdb, 0x78, 0x77, 0xde, 0x9b, 0xe7, 0x37, 0x33, 0x0b, 0x3b, 0x31, + 0xa5, 0xf1, 0x84, 0xf8, 0x38, 0x62, 0xbe, 0x0c, 0x45, 0x34, 0x6d, 0xfb, 0x8c, 0x14, 0xd3, 0x64, + 0x4c, 0x98, 0x8f, 0xa3, 0x51, 0x5c, 0xd0, 0x32, 0x1f, 0xa9, 0x13, 0x2f, 0x2f, 0x28, 0xa7, 0xa8, + 0x29, 0xb3, 0x3d, 0x1c, 0x31, 0x6f, 0x06, 0xf4, 0xa6, 0x6d, 0x4f, 0x03, 0x1b, 0xed, 0x65, 0xd4, + 0x05, 0x61, 0xb4, 0x2c, 0xe6, 0xb9, 0x25, 0x67, 0xe3, 0xa9, 0x46, 0xe4, 0x89, 0x8f, 0xb3, 0x8c, + 0x72, 0xcc, 0x13, 0x9a, 0x31, 0x75, 0xab, 0x2a, 0xfa, 0xd5, 0xd7, 0x49, 0x79, 0xea, 0x9f, 0x26, + 0x64, 0x12, 0x8d, 0x52, 0xcc, 0xce, 0x64, 0x86, 0xd3, 0x81, 0x47, 0x03, 0xc2, 0x7b, 0xd1, 0x40, + 0x70, 0x86, 0xe4, 0x53, 0x49, 0x18, 0x47, 0xcf, 0xe1, 0x81, 0x2e, 0x38, 0xca, 0x70, 0x4a, 0x6c, + 0xa3, 0x69, 0xb4, 0x36, 0xc2, 0xfb, 0xfa, 0xf0, 0x3d, 0x4e, 0x89, 0xf3, 0xd9, 0x80, 0xc7, 0x07, + 0x25, 0xc7, 0x9c, 0x28, 0x34, 0xd3, 0xf0, 0x67, 0x60, 0x8d, 0x4b, 0xc6, 0x69, 0x4a, 0x8a, 0x51, + 0x12, 0x29, 0x30, 0xe8, 0xa3, 0x77, 0x11, 0x0a, 0x01, 0x68, 0x4e, 0x0a, 0x29, 0xd5, 0x36, 0x9b, + 0xb5, 0x96, 0x15, 0x04, 0xde, 0x2a, 0x77, 0x3c, 0x55, 0xe7, 0x50, 0x43, 0xc3, 0x39, 0x16, 0xe7, + 0xd2, 0x84, 0x87, 0x37, 0x13, 0xd0, 0x2e, 0x58, 0x65, 0x1e, 0x61, 0x4e, 0xaa, 0x5f, 0xb6, 0xef, + 0x36, 0x8d, 0x96, 0x15, 0x34, 0x74, 0x25, 0xed, 0x8a, 0xf7, 0x56, 0xb8, 0x72, 0x80, 0xd9, 0x59, + 0x08, 0x32, 0x5d, 0xc4, 0xe8, 0x0d, 0xd4, 0xc7, 0x05, 0xc1, 0x5c, 0xfe, 0xbe, 0x15, 0xb8, 0x4b, + 0x15, 0xce, 0xba, 0xa3, 0x25, 0xee, 0xdf, 0x09, 0x15, 0x56, 0xb0, 0x48, 0x4e, 0xdb, 0xbc, 0x0d,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 0x59, 0xb5, 0x45, 0xfa, 0xb5, 0xca, 0x13, 0xb6, 0xfc, 0x5d, + 0xdc, 0xd5, 0xc1, 0x37, 0xb3, 0x36, 0xe8, 0xf5, 0xbe, 0x9b, 0xcd, 0x81, 0x24, 0xec, 0x45, 0xcc, + 0x93, 0xa1, 0x88, 0x8e, 0xdb, 0x9e, 0x2a, 0xcc, 0x7e, 0xea, 0x94, 0x61, 0x2f, 0x62, 0xc3, 0x59, + 0xca, 0xf0, 0xb8, 0x3d, 0xd4, 0x29, 0x27, 0xf5, 0x4a, 0xc0, 0xf6, 0x9f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x08, 0x37, 0xc8, 0x48, 0x97, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/age_range_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/age_range_view_service.pb.go new file mode 100644 index 000000000..d852a90ea --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/age_range_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/age_range_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [AgeRangeViewService.GetAgeRangeView][google.ads.googleads.v0.services.AgeRangeViewService.GetAgeRangeView]. +type GetAgeRangeViewRequest struct { + // The resource name of the age range view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAgeRangeViewRequest) Reset() { *m = GetAgeRangeViewRequest{} } +func (m *GetAgeRangeViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetAgeRangeViewRequest) ProtoMessage() {} +func (*GetAgeRangeViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_age_range_view_service_74c6bf1381994fec, []int{0} +} +func (m *GetAgeRangeViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAgeRangeViewRequest.Unmarshal(m, b) +} +func (m *GetAgeRangeViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAgeRangeViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetAgeRangeViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAgeRangeViewRequest.Merge(dst, src) +} +func (m *GetAgeRangeViewRequest) XXX_Size() int { + return xxx_messageInfo_GetAgeRangeViewRequest.Size(m) +} +func (m *GetAgeRangeViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAgeRangeViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAgeRangeViewRequest proto.InternalMessageInfo + +func (m *GetAgeRangeViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetAgeRangeViewRequest)(nil), "google.ads.googleads.v0.services.GetAgeRangeViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AgeRangeViewServiceClient is the client API for AgeRangeViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AgeRangeViewServiceClient interface { + // Returns the requested age range view in full detail. + GetAgeRangeView(ctx context.Context, in *GetAgeRangeViewRequest, opts ...grpc.CallOption) (*resources.AgeRangeView, error) +} + +type ageRangeViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewAgeRangeViewServiceClient(cc *grpc.ClientConn) AgeRangeViewServiceClient { + return &ageRangeViewServiceClient{cc} +} + +func (c *ageRangeViewServiceClient) GetAgeRangeView(ctx context.Context, in *GetAgeRangeViewRequest, opts ...grpc.CallOption) (*resources.AgeRangeView, error) { + out := new(resources.AgeRangeView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.AgeRangeViewService/GetAgeRangeView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AgeRangeViewServiceServer is the server API for AgeRangeViewService service. +type AgeRangeViewServiceServer interface { + // Returns the requested age range view in full detail. + GetAgeRangeView(context.Context, *GetAgeRangeViewRequest) (*resources.AgeRangeView, error) +} + +func RegisterAgeRangeViewServiceServer(s *grpc.Server, srv AgeRangeViewServiceServer) { + s.RegisterService(&_AgeRangeViewService_serviceDesc, srv) +} + +func _AgeRangeViewService_GetAgeRangeView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAgeRangeViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AgeRangeViewServiceServer).GetAgeRangeView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.AgeRangeViewService/GetAgeRangeView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AgeRangeViewServiceServer).GetAgeRangeView(ctx, req.(*GetAgeRangeViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AgeRangeViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.AgeRangeViewService", + HandlerType: (*AgeRangeViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAgeRangeView", + Handler: _AgeRangeViewService_GetAgeRangeView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/age_range_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/age_range_view_service.proto", fileDescriptor_age_range_view_service_74c6bf1381994fec) +} + +var fileDescriptor_age_range_view_service_74c6bf1381994fec = []byte{ + // 348 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xc4, 0xf4, 0xd4, 0xf8, 0xa2, 0xc4, 0xbc, 0xf4, 0xd4, + 0xf8, 0xb2, 0xcc, 0xd4, 0xf2, 0x78, 0xa8, 0xb8, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, + 0x44, 0x8f, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xbb, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 0xbb, 0x94, + 0x19, 0x2e, 0x0b, 0x8a, 0x52, 0x8b, 0xf3, 0x4b, 0x8b, 0x30, 0x6d, 0x80, 0x98, 0x2c, 0x25, 0x03, + 0xd3, 0x57, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, 0x58, 0x92, 0x99, 0x9f, 0x57, 0x0c, + 0x91, 0x55, 0xb2, 0xe5, 0x12, 0x73, 0x4f, 0x2d, 0x71, 0x4c, 0x4f, 0x0d, 0x02, 0xe9, 0x0b, 0xcb, + 0x4c, 0x2d, 0x0f, 0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b, 0x8b, 0x4f, 0xc1, 0x94, 0xc4, 0x38, 0xa6, 0x14, + 0xc7, 0xc0, 0x95, 0xc4, 0x84, 0x19, 0xc4, 0xc0, 0x94, 0x24, 0xb1, 0x81, 0x1d, 0x60, 0x0c, 0x08, + 0x00, 0x00, 0xff, 0xff, 0xf2, 0xcb, 0xcf, 0x38, 0xa9, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/bidding_strategy_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/bidding_strategy_service.pb.go new file mode 100644 index 000000000..0660c3b40 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/bidding_strategy_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/bidding_strategy_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v0.services.BiddingStrategyService.GetBiddingStrategy]. +type GetBiddingStrategyRequest struct { + // The resource name of the bidding strategy to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBiddingStrategyRequest) Reset() { *m = GetBiddingStrategyRequest{} } +func (m *GetBiddingStrategyRequest) String() string { return proto.CompactTextString(m) } +func (*GetBiddingStrategyRequest) ProtoMessage() {} +func (*GetBiddingStrategyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_service_e353af7be94060a5, []int{0} +} +func (m *GetBiddingStrategyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBiddingStrategyRequest.Unmarshal(m, b) +} +func (m *GetBiddingStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBiddingStrategyRequest.Marshal(b, m, deterministic) +} +func (dst *GetBiddingStrategyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBiddingStrategyRequest.Merge(dst, src) +} +func (m *GetBiddingStrategyRequest) XXX_Size() int { + return xxx_messageInfo_GetBiddingStrategyRequest.Size(m) +} +func (m *GetBiddingStrategyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBiddingStrategyRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBiddingStrategyRequest proto.InternalMessageInfo + +func (m *GetBiddingStrategyRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v0.services.BiddingStrategyService.MutateBiddingStrategies]. +type MutateBiddingStrategiesRequest struct { + // The ID of the customer whose bidding strategies are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual bidding strategies. + Operations []*BiddingStrategyOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateBiddingStrategiesRequest) Reset() { *m = MutateBiddingStrategiesRequest{} } +func (m *MutateBiddingStrategiesRequest) String() string { return proto.CompactTextString(m) } +func (*MutateBiddingStrategiesRequest) ProtoMessage() {} +func (*MutateBiddingStrategiesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_service_e353af7be94060a5, []int{1} +} +func (m *MutateBiddingStrategiesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateBiddingStrategiesRequest.Unmarshal(m, b) +} +func (m *MutateBiddingStrategiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateBiddingStrategiesRequest.Marshal(b, m, deterministic) +} +func (dst *MutateBiddingStrategiesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateBiddingStrategiesRequest.Merge(dst, src) +} +func (m *MutateBiddingStrategiesRequest) XXX_Size() int { + return xxx_messageInfo_MutateBiddingStrategiesRequest.Size(m) +} +func (m *MutateBiddingStrategiesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateBiddingStrategiesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateBiddingStrategiesRequest proto.InternalMessageInfo + +func (m *MutateBiddingStrategiesRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateBiddingStrategiesRequest) GetOperations() []*BiddingStrategyOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a bidding strategy. +type BiddingStrategyOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *BiddingStrategyOperation_Create + // *BiddingStrategyOperation_Update + // *BiddingStrategyOperation_Remove + Operation isBiddingStrategyOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BiddingStrategyOperation) Reset() { *m = BiddingStrategyOperation{} } +func (m *BiddingStrategyOperation) String() string { return proto.CompactTextString(m) } +func (*BiddingStrategyOperation) ProtoMessage() {} +func (*BiddingStrategyOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_service_e353af7be94060a5, []int{2} +} +func (m *BiddingStrategyOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BiddingStrategyOperation.Unmarshal(m, b) +} +func (m *BiddingStrategyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BiddingStrategyOperation.Marshal(b, m, deterministic) +} +func (dst *BiddingStrategyOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_BiddingStrategyOperation.Merge(dst, src) +} +func (m *BiddingStrategyOperation) XXX_Size() int { + return xxx_messageInfo_BiddingStrategyOperation.Size(m) +} +func (m *BiddingStrategyOperation) XXX_DiscardUnknown() { + xxx_messageInfo_BiddingStrategyOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_BiddingStrategyOperation proto.InternalMessageInfo + +func (m *BiddingStrategyOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isBiddingStrategyOperation_Operation interface { + isBiddingStrategyOperation_Operation() +} + +type BiddingStrategyOperation_Create struct { + Create *resources.BiddingStrategy `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type BiddingStrategyOperation_Update struct { + Update *resources.BiddingStrategy `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type BiddingStrategyOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*BiddingStrategyOperation_Create) isBiddingStrategyOperation_Operation() {} + +func (*BiddingStrategyOperation_Update) isBiddingStrategyOperation_Operation() {} + +func (*BiddingStrategyOperation_Remove) isBiddingStrategyOperation_Operation() {} + +func (m *BiddingStrategyOperation) GetOperation() isBiddingStrategyOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *BiddingStrategyOperation) GetCreate() *resources.BiddingStrategy { + if x, ok := m.GetOperation().(*BiddingStrategyOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *BiddingStrategyOperation) GetUpdate() *resources.BiddingStrategy { + if x, ok := m.GetOperation().(*BiddingStrategyOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *BiddingStrategyOperation) GetRemove() string { + if x, ok := m.GetOperation().(*BiddingStrategyOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*BiddingStrategyOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _BiddingStrategyOperation_OneofMarshaler, _BiddingStrategyOperation_OneofUnmarshaler, _BiddingStrategyOperation_OneofSizer, []interface{}{ + (*BiddingStrategyOperation_Create)(nil), + (*BiddingStrategyOperation_Update)(nil), + (*BiddingStrategyOperation_Remove)(nil), + } +} + +func _BiddingStrategyOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*BiddingStrategyOperation) + // operation + switch x := m.Operation.(type) { + case *BiddingStrategyOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *BiddingStrategyOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *BiddingStrategyOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("BiddingStrategyOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _BiddingStrategyOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*BiddingStrategyOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.BiddingStrategy) + err := b.DecodeMessage(msg) + m.Operation = &BiddingStrategyOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.BiddingStrategy) + err := b.DecodeMessage(msg) + m.Operation = &BiddingStrategyOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &BiddingStrategyOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _BiddingStrategyOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*BiddingStrategyOperation) + // operation + switch x := m.Operation.(type) { + case *BiddingStrategyOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategyOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BiddingStrategyOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for bidding strategy mutate. +type MutateBiddingStrategiesResponse struct { + // All results for the mutate. + Results []*MutateBiddingStrategyResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateBiddingStrategiesResponse) Reset() { *m = MutateBiddingStrategiesResponse{} } +func (m *MutateBiddingStrategiesResponse) String() string { return proto.CompactTextString(m) } +func (*MutateBiddingStrategiesResponse) ProtoMessage() {} +func (*MutateBiddingStrategiesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_service_e353af7be94060a5, []int{3} +} +func (m *MutateBiddingStrategiesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateBiddingStrategiesResponse.Unmarshal(m, b) +} +func (m *MutateBiddingStrategiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateBiddingStrategiesResponse.Marshal(b, m, deterministic) +} +func (dst *MutateBiddingStrategiesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateBiddingStrategiesResponse.Merge(dst, src) +} +func (m *MutateBiddingStrategiesResponse) XXX_Size() int { + return xxx_messageInfo_MutateBiddingStrategiesResponse.Size(m) +} +func (m *MutateBiddingStrategiesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateBiddingStrategiesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateBiddingStrategiesResponse proto.InternalMessageInfo + +func (m *MutateBiddingStrategiesResponse) GetResults() []*MutateBiddingStrategyResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the bidding strategy mutate. +type MutateBiddingStrategyResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateBiddingStrategyResult) Reset() { *m = MutateBiddingStrategyResult{} } +func (m *MutateBiddingStrategyResult) String() string { return proto.CompactTextString(m) } +func (*MutateBiddingStrategyResult) ProtoMessage() {} +func (*MutateBiddingStrategyResult) Descriptor() ([]byte, []int) { + return fileDescriptor_bidding_strategy_service_e353af7be94060a5, []int{4} +} +func (m *MutateBiddingStrategyResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateBiddingStrategyResult.Unmarshal(m, b) +} +func (m *MutateBiddingStrategyResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateBiddingStrategyResult.Marshal(b, m, deterministic) +} +func (dst *MutateBiddingStrategyResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateBiddingStrategyResult.Merge(dst, src) +} +func (m *MutateBiddingStrategyResult) XXX_Size() int { + return xxx_messageInfo_MutateBiddingStrategyResult.Size(m) +} +func (m *MutateBiddingStrategyResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateBiddingStrategyResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateBiddingStrategyResult proto.InternalMessageInfo + +func (m *MutateBiddingStrategyResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetBiddingStrategyRequest)(nil), "google.ads.googleads.v0.services.GetBiddingStrategyRequest") + proto.RegisterType((*MutateBiddingStrategiesRequest)(nil), "google.ads.googleads.v0.services.MutateBiddingStrategiesRequest") + proto.RegisterType((*BiddingStrategyOperation)(nil), "google.ads.googleads.v0.services.BiddingStrategyOperation") + proto.RegisterType((*MutateBiddingStrategiesResponse)(nil), "google.ads.googleads.v0.services.MutateBiddingStrategiesResponse") + proto.RegisterType((*MutateBiddingStrategyResult)(nil), "google.ads.googleads.v0.services.MutateBiddingStrategyResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// BiddingStrategyServiceClient is the client API for BiddingStrategyService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type BiddingStrategyServiceClient interface { + // Returns the requested bidding strategy in full detail. + GetBiddingStrategy(ctx context.Context, in *GetBiddingStrategyRequest, opts ...grpc.CallOption) (*resources.BiddingStrategy, error) + // Creates, updates, or removes bidding strategies. Operation statuses are + // returned. + MutateBiddingStrategies(ctx context.Context, in *MutateBiddingStrategiesRequest, opts ...grpc.CallOption) (*MutateBiddingStrategiesResponse, error) +} + +type biddingStrategyServiceClient struct { + cc *grpc.ClientConn +} + +func NewBiddingStrategyServiceClient(cc *grpc.ClientConn) BiddingStrategyServiceClient { + return &biddingStrategyServiceClient{cc} +} + +func (c *biddingStrategyServiceClient) GetBiddingStrategy(ctx context.Context, in *GetBiddingStrategyRequest, opts ...grpc.CallOption) (*resources.BiddingStrategy, error) { + out := new(resources.BiddingStrategy) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.BiddingStrategyService/GetBiddingStrategy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *biddingStrategyServiceClient) MutateBiddingStrategies(ctx context.Context, in *MutateBiddingStrategiesRequest, opts ...grpc.CallOption) (*MutateBiddingStrategiesResponse, error) { + out := new(MutateBiddingStrategiesResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.BiddingStrategyService/MutateBiddingStrategies", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// BiddingStrategyServiceServer is the server API for BiddingStrategyService service. +type BiddingStrategyServiceServer interface { + // Returns the requested bidding strategy in full detail. + GetBiddingStrategy(context.Context, *GetBiddingStrategyRequest) (*resources.BiddingStrategy, error) + // Creates, updates, or removes bidding strategies. Operation statuses are + // returned. + MutateBiddingStrategies(context.Context, *MutateBiddingStrategiesRequest) (*MutateBiddingStrategiesResponse, error) +} + +func RegisterBiddingStrategyServiceServer(s *grpc.Server, srv BiddingStrategyServiceServer) { + s.RegisterService(&_BiddingStrategyService_serviceDesc, srv) +} + +func _BiddingStrategyService_GetBiddingStrategy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBiddingStrategyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BiddingStrategyServiceServer).GetBiddingStrategy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.BiddingStrategyService/GetBiddingStrategy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BiddingStrategyServiceServer).GetBiddingStrategy(ctx, req.(*GetBiddingStrategyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BiddingStrategyService_MutateBiddingStrategies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateBiddingStrategiesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BiddingStrategyServiceServer).MutateBiddingStrategies(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.BiddingStrategyService/MutateBiddingStrategies", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BiddingStrategyServiceServer).MutateBiddingStrategies(ctx, req.(*MutateBiddingStrategiesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _BiddingStrategyService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.BiddingStrategyService", + HandlerType: (*BiddingStrategyServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetBiddingStrategy", + Handler: _BiddingStrategyService_GetBiddingStrategy_Handler, + }, + { + MethodName: "MutateBiddingStrategies", + Handler: _BiddingStrategyService_MutateBiddingStrategies_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/bidding_strategy_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/bidding_strategy_service.proto", fileDescriptor_bidding_strategy_service_e353af7be94060a5) +} + +var fileDescriptor_bidding_strategy_service_e353af7be94060a5 = []byte{ + // 602 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0xb1, 0x83, 0x8a, 0x7a, 0x86, 0xe5, 0x06, 0x30, 0x29, 0xa2, 0x91, 0x61, 0x88, 0x32, + 0xd8, 0x51, 0x2a, 0x10, 0x4a, 0x14, 0x51, 0x67, 0x20, 0x45, 0xa2, 0x50, 0xb9, 0x52, 0x91, 0xaa, + 0x48, 0xd1, 0x25, 0x7e, 0x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, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/billing_setup_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/billing_setup_service.pb.go new file mode 100644 index 000000000..297886b19 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/billing_setup_service.pb.go @@ -0,0 +1,500 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/billing_setup_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for +// [BillingSetupService.GetBillingSetup][google.ads.googleads.v0.services.BillingSetupService.GetBillingSetup]. +type GetBillingSetupRequest struct { + // The resource name of the billing setup to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBillingSetupRequest) Reset() { *m = GetBillingSetupRequest{} } +func (m *GetBillingSetupRequest) String() string { return proto.CompactTextString(m) } +func (*GetBillingSetupRequest) ProtoMessage() {} +func (*GetBillingSetupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_service_386280c726f2299e, []int{0} +} +func (m *GetBillingSetupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBillingSetupRequest.Unmarshal(m, b) +} +func (m *GetBillingSetupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBillingSetupRequest.Marshal(b, m, deterministic) +} +func (dst *GetBillingSetupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBillingSetupRequest.Merge(dst, src) +} +func (m *GetBillingSetupRequest) XXX_Size() int { + return xxx_messageInfo_GetBillingSetupRequest.Size(m) +} +func (m *GetBillingSetupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBillingSetupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBillingSetupRequest proto.InternalMessageInfo + +func (m *GetBillingSetupRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for billing setup mutate operations. +type MutateBillingSetupRequest struct { + // Id of the customer to apply the billing setup mutate operation to. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The operation to perform. + Operation *BillingSetupOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateBillingSetupRequest) Reset() { *m = MutateBillingSetupRequest{} } +func (m *MutateBillingSetupRequest) String() string { return proto.CompactTextString(m) } +func (*MutateBillingSetupRequest) ProtoMessage() {} +func (*MutateBillingSetupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_service_386280c726f2299e, []int{1} +} +func (m *MutateBillingSetupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateBillingSetupRequest.Unmarshal(m, b) +} +func (m *MutateBillingSetupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateBillingSetupRequest.Marshal(b, m, deterministic) +} +func (dst *MutateBillingSetupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateBillingSetupRequest.Merge(dst, src) +} +func (m *MutateBillingSetupRequest) XXX_Size() int { + return xxx_messageInfo_MutateBillingSetupRequest.Size(m) +} +func (m *MutateBillingSetupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateBillingSetupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateBillingSetupRequest proto.InternalMessageInfo + +func (m *MutateBillingSetupRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateBillingSetupRequest) GetOperation() *BillingSetupOperation { + if m != nil { + return m.Operation + } + return nil +} + +// A single operation on a billing setup, which describes the cancellation of an +// existing billing setup. +type BillingSetupOperation struct { + // Only one of these operations can be set. "Update" operations are not + // supported. + // + // Types that are valid to be assigned to Operation: + // *BillingSetupOperation_Create + // *BillingSetupOperation_Remove + Operation isBillingSetupOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BillingSetupOperation) Reset() { *m = BillingSetupOperation{} } +func (m *BillingSetupOperation) String() string { return proto.CompactTextString(m) } +func (*BillingSetupOperation) ProtoMessage() {} +func (*BillingSetupOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_service_386280c726f2299e, []int{2} +} +func (m *BillingSetupOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BillingSetupOperation.Unmarshal(m, b) +} +func (m *BillingSetupOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BillingSetupOperation.Marshal(b, m, deterministic) +} +func (dst *BillingSetupOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingSetupOperation.Merge(dst, src) +} +func (m *BillingSetupOperation) XXX_Size() int { + return xxx_messageInfo_BillingSetupOperation.Size(m) +} +func (m *BillingSetupOperation) XXX_DiscardUnknown() { + xxx_messageInfo_BillingSetupOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingSetupOperation proto.InternalMessageInfo + +type isBillingSetupOperation_Operation interface { + isBillingSetupOperation_Operation() +} + +type BillingSetupOperation_Create struct { + Create *resources.BillingSetup `protobuf:"bytes,2,opt,name=create,proto3,oneof"` +} + +type BillingSetupOperation_Remove struct { + Remove string `protobuf:"bytes,1,opt,name=remove,proto3,oneof"` +} + +func (*BillingSetupOperation_Create) isBillingSetupOperation_Operation() {} + +func (*BillingSetupOperation_Remove) isBillingSetupOperation_Operation() {} + +func (m *BillingSetupOperation) GetOperation() isBillingSetupOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *BillingSetupOperation) GetCreate() *resources.BillingSetup { + if x, ok := m.GetOperation().(*BillingSetupOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *BillingSetupOperation) GetRemove() string { + if x, ok := m.GetOperation().(*BillingSetupOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*BillingSetupOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _BillingSetupOperation_OneofMarshaler, _BillingSetupOperation_OneofUnmarshaler, _BillingSetupOperation_OneofSizer, []interface{}{ + (*BillingSetupOperation_Create)(nil), + (*BillingSetupOperation_Remove)(nil), + } +} + +func _BillingSetupOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*BillingSetupOperation) + // operation + switch x := m.Operation.(type) { + case *BillingSetupOperation_Create: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *BillingSetupOperation_Remove: + b.EncodeVarint(1<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("BillingSetupOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _BillingSetupOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*BillingSetupOperation) + switch tag { + case 2: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.BillingSetup) + err := b.DecodeMessage(msg) + m.Operation = &BillingSetupOperation_Create{msg} + return true, err + case 1: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &BillingSetupOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _BillingSetupOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*BillingSetupOperation) + // operation + switch x := m.Operation.(type) { + case *BillingSetupOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *BillingSetupOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a billing setup operation. +type MutateBillingSetupResponse struct { + // A result that identifies the resource affected by the mutate request. + Result *MutateBillingSetupResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateBillingSetupResponse) Reset() { *m = MutateBillingSetupResponse{} } +func (m *MutateBillingSetupResponse) String() string { return proto.CompactTextString(m) } +func (*MutateBillingSetupResponse) ProtoMessage() {} +func (*MutateBillingSetupResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_service_386280c726f2299e, []int{3} +} +func (m *MutateBillingSetupResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateBillingSetupResponse.Unmarshal(m, b) +} +func (m *MutateBillingSetupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateBillingSetupResponse.Marshal(b, m, deterministic) +} +func (dst *MutateBillingSetupResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateBillingSetupResponse.Merge(dst, src) +} +func (m *MutateBillingSetupResponse) XXX_Size() int { + return xxx_messageInfo_MutateBillingSetupResponse.Size(m) +} +func (m *MutateBillingSetupResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateBillingSetupResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateBillingSetupResponse proto.InternalMessageInfo + +func (m *MutateBillingSetupResponse) GetResult() *MutateBillingSetupResult { + if m != nil { + return m.Result + } + return nil +} + +// Result for a single billing setup mutate. +type MutateBillingSetupResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateBillingSetupResult) Reset() { *m = MutateBillingSetupResult{} } +func (m *MutateBillingSetupResult) String() string { return proto.CompactTextString(m) } +func (*MutateBillingSetupResult) ProtoMessage() {} +func (*MutateBillingSetupResult) Descriptor() ([]byte, []int) { + return fileDescriptor_billing_setup_service_386280c726f2299e, []int{4} +} +func (m *MutateBillingSetupResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateBillingSetupResult.Unmarshal(m, b) +} +func (m *MutateBillingSetupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateBillingSetupResult.Marshal(b, m, deterministic) +} +func (dst *MutateBillingSetupResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateBillingSetupResult.Merge(dst, src) +} +func (m *MutateBillingSetupResult) XXX_Size() int { + return xxx_messageInfo_MutateBillingSetupResult.Size(m) +} +func (m *MutateBillingSetupResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateBillingSetupResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateBillingSetupResult proto.InternalMessageInfo + +func (m *MutateBillingSetupResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetBillingSetupRequest)(nil), "google.ads.googleads.v0.services.GetBillingSetupRequest") + proto.RegisterType((*MutateBillingSetupRequest)(nil), "google.ads.googleads.v0.services.MutateBillingSetupRequest") + proto.RegisterType((*BillingSetupOperation)(nil), "google.ads.googleads.v0.services.BillingSetupOperation") + proto.RegisterType((*MutateBillingSetupResponse)(nil), "google.ads.googleads.v0.services.MutateBillingSetupResponse") + proto.RegisterType((*MutateBillingSetupResult)(nil), "google.ads.googleads.v0.services.MutateBillingSetupResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// BillingSetupServiceClient is the client API for BillingSetupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type BillingSetupServiceClient interface { + // Returns a billing setup. + GetBillingSetup(ctx context.Context, in *GetBillingSetupRequest, opts ...grpc.CallOption) (*resources.BillingSetup, error) + // Creates a billing setup, or cancels an existing billing setup. + MutateBillingSetup(ctx context.Context, in *MutateBillingSetupRequest, opts ...grpc.CallOption) (*MutateBillingSetupResponse, error) +} + +type billingSetupServiceClient struct { + cc *grpc.ClientConn +} + +func NewBillingSetupServiceClient(cc *grpc.ClientConn) BillingSetupServiceClient { + return &billingSetupServiceClient{cc} +} + +func (c *billingSetupServiceClient) GetBillingSetup(ctx context.Context, in *GetBillingSetupRequest, opts ...grpc.CallOption) (*resources.BillingSetup, error) { + out := new(resources.BillingSetup) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.BillingSetupService/GetBillingSetup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *billingSetupServiceClient) MutateBillingSetup(ctx context.Context, in *MutateBillingSetupRequest, opts ...grpc.CallOption) (*MutateBillingSetupResponse, error) { + out := new(MutateBillingSetupResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.BillingSetupService/MutateBillingSetup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// BillingSetupServiceServer is the server API for BillingSetupService service. +type BillingSetupServiceServer interface { + // Returns a billing setup. + GetBillingSetup(context.Context, *GetBillingSetupRequest) (*resources.BillingSetup, error) + // Creates a billing setup, or cancels an existing billing setup. + MutateBillingSetup(context.Context, *MutateBillingSetupRequest) (*MutateBillingSetupResponse, error) +} + +func RegisterBillingSetupServiceServer(s *grpc.Server, srv BillingSetupServiceServer) { + s.RegisterService(&_BillingSetupService_serviceDesc, srv) +} + +func _BillingSetupService_GetBillingSetup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBillingSetupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BillingSetupServiceServer).GetBillingSetup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.BillingSetupService/GetBillingSetup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BillingSetupServiceServer).GetBillingSetup(ctx, req.(*GetBillingSetupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BillingSetupService_MutateBillingSetup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateBillingSetupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BillingSetupServiceServer).MutateBillingSetup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.BillingSetupService/MutateBillingSetup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BillingSetupServiceServer).MutateBillingSetup(ctx, req.(*MutateBillingSetupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _BillingSetupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.BillingSetupService", + HandlerType: (*BillingSetupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetBillingSetup", + Handler: _BillingSetupService_GetBillingSetup_Handler, + }, + { + MethodName: "MutateBillingSetup", + Handler: _BillingSetupService_MutateBillingSetup_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/billing_setup_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/billing_setup_service.proto", fileDescriptor_billing_setup_service_386280c726f2299e) +} + +var fileDescriptor_billing_setup_service_386280c726f2299e = []byte{ + // 527 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xe6, 0x52, 0x29, 0x52, 0x2f, 0x20, 0xa4, 0x43, 0xa0, 0x10, 0x21, 0x11, 0x19, 0x86, 0x2a, + 0xc3, 0x5d, 0x08, 0x42, 0x41, 0x69, 0x23, 0x94, 0x2c, 0x69, 0x07, 0xa0, 0x72, 0x45, 0x07, 0x14, + 0x29, 0x72, 0xe3, 0x27, 0xcb, 0x92, 0xed, 0x33, 0xf7, 0xce, 0x59, 0xaa, 0x2e, 0x6c, 0xcc, 0xdd, + 0x19, 0x18, 0xd9, 0xf9, 0x13, 0x0c, 0x2c, 0x2c, 0xfc, 0x00, 0x7e, 0x08, 0xb2, 0xcf, 0x97, 0x26, + 0xd4, 0x51, 0xa0, 0xdb, 0xf3, 0xf9, 0x7d, 0xdf, 0xf7, 0xde, 0xf7, 0xde, 0x1d, 0x3d, 0x08, 0xa4, + 0x0c, 0x22, 0x10, 0x9e, 0x8f, 0xc2, 0x84, 0x79, 0xb4, 0xe8, 0x0a, 0x04, 0xb5, 0x08, 0xe7, 0x80, + 0xe2, 0x2c, 0x8c, 0xa2, 0x30, 0x09, 0x66, 0x08, 0x3a, 0x4b, 0x67, 0xe5, 0x31,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a7, 0x5d, 0x5e, 0x0a, 0xe3, 0x77, + 0x9b, 0x32, 0x1d, 0xf9, 0x38, 0x5d, 0xa6, 0x4c, 0x4f, 0xbb, 0x53, 0x9b, 0x72, 0x56, 0x2f, 0x0a, + 0x78, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0x41, 0x49, 0x73, 0x64, 0x4d, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_audience_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_audience_view_service.pb.go new file mode 100644 index 000000000..ba379ea06 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_audience_view_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_audience_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v0.services.CampaignAudienceViewService.GetCampaignAudienceView]. +type GetCampaignAudienceViewRequest struct { + // The resource name of the campaign audience view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignAudienceViewRequest) Reset() { *m = GetCampaignAudienceViewRequest{} } +func (m *GetCampaignAudienceViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignAudienceViewRequest) ProtoMessage() {} +func (*GetCampaignAudienceViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_audience_view_service_ca4474627cace15d, []int{0} +} +func (m *GetCampaignAudienceViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignAudienceViewRequest.Unmarshal(m, b) +} +func (m *GetCampaignAudienceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignAudienceViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignAudienceViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignAudienceViewRequest.Merge(dst, src) +} +func (m *GetCampaignAudienceViewRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignAudienceViewRequest.Size(m) +} +func (m *GetCampaignAudienceViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignAudienceViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignAudienceViewRequest proto.InternalMessageInfo + +func (m *GetCampaignAudienceViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignAudienceViewRequest)(nil), "google.ads.googleads.v0.services.GetCampaignAudienceViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignAudienceViewServiceClient is the client API for CampaignAudienceViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignAudienceViewServiceClient interface { + // Returns the requested campaign audience view in full detail. + GetCampaignAudienceView(ctx context.Context, in *GetCampaignAudienceViewRequest, opts ...grpc.CallOption) (*resources.CampaignAudienceView, error) +} + +type campaignAudienceViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignAudienceViewServiceClient(cc *grpc.ClientConn) CampaignAudienceViewServiceClient { + return &campaignAudienceViewServiceClient{cc} +} + +func (c *campaignAudienceViewServiceClient) GetCampaignAudienceView(ctx context.Context, in *GetCampaignAudienceViewRequest, opts ...grpc.CallOption) (*resources.CampaignAudienceView, error) { + out := new(resources.CampaignAudienceView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignAudienceViewService/GetCampaignAudienceView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignAudienceViewServiceServer is the server API for CampaignAudienceViewService service. +type CampaignAudienceViewServiceServer interface { + // Returns the requested campaign audience view in full detail. + GetCampaignAudienceView(context.Context, *GetCampaignAudienceViewRequest) (*resources.CampaignAudienceView, error) +} + +func RegisterCampaignAudienceViewServiceServer(s *grpc.Server, srv CampaignAudienceViewServiceServer) { + s.RegisterService(&_CampaignAudienceViewService_serviceDesc, srv) +} + +func _CampaignAudienceViewService_GetCampaignAudienceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignAudienceViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignAudienceViewServiceServer).GetCampaignAudienceView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignAudienceViewService/GetCampaignAudienceView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignAudienceViewServiceServer).GetCampaignAudienceView(ctx, req.(*GetCampaignAudienceViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignAudienceViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignAudienceViewService", + HandlerType: (*CampaignAudienceViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignAudienceView", + Handler: _CampaignAudienceViewService_GetCampaignAudienceView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_audience_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_audience_view_service.proto", fileDescriptor_campaign_audience_view_service_ca4474627cace15d) +} + +var fileDescriptor_campaign_audience_view_service_ca4474627cace15d = []byte{ + // 356 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4f, 0x4b, 0xfb, 0x40, + 0x10, 0x25, 0xfd, 0xc1, 0x0f, 0x0c, 0x7a, 0xc9, 0x45, 0xa9, 0x22, 0xa1, 0x7a, 0x90, 0x1e, 0x76, + 0x83, 0x1e, 0x8a, 0x88, 0x7f, 0x52, 0x29, 0xf5, 0x24, 0xa5, 0x42, 0x0f, 0x12, 0x08, 0x6b, 0x32, + 0x84, 0x85, 0x66, 0x37, 0x66, 0x92, 0xf4, 0x20, 0x5e, 0xfc, 0x0a, 0x7e, 0x03, 0x8f, 0x7e, 0x14, + 0xaf, 0xe2, 0xdd, 0x83, 0x5f, 0xc1, 0xbb, 0xa4, 0x9b, 0x0d, 0x0a, 0x4d, 0x7b, 0x7b, 0xec, 0xcc, + 0x7b, 0x6f, 0xe6, 0xcd, 0x9a, 0x83, 0x48, 0xca, 0x68, 0x0a, 0x94, 0x85, 0x48, 0x15, 0x2c, 0x51, + 0xe1, 0x50, 0x84, 0xb4, 0xe0, 0x01, 0x20, 0x0d, 0x58, 0x9c, 0x30, 0x1e, 0x09, 0x9f, 0xe5, 0x21, + 0x07, 0x11, 0x80, 0x5f, 0x70, 0x98, 0xf9, 0x55, 0x9d, 0x24, 0xa9, 0xcc, 0xa4, 0x65, 0x2b, 0x2e, + 0x61, 0x21, 0x92, 0x5a, 0x86, 0x14, 0x0e,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44, 0xc1, 0x12, + 0x4d, 0x1c, 0x52, 0x19, 0xe3, 0x9b, 0x6e, 0xf1, 0xdc, 0x10, 0xbd, 0xba, 0xc5, 0x9b, 0x38, 0x9e, + 0x6e, 0xb9, 0xfb, 0x3f, 0x1f, 0xe0, 0xe8, 0x27, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x3a, 0xb9, 0x69, + 0xf1, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_bid_modifier_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_bid_modifier_service.pb.go new file mode 100644 index 000000000..734f857b3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_bid_modifier_service.pb.go @@ -0,0 +1,548 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_bid_modifier_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v0.services.CampaignBidModifierService.GetCampaignBidModifier]. +type GetCampaignBidModifierRequest struct { + // The resource name of the campaign bid modifier to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignBidModifierRequest) Reset() { *m = GetCampaignBidModifierRequest{} } +func (m *GetCampaignBidModifierRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignBidModifierRequest) ProtoMessage() {} +func (*GetCampaignBidModifierRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b, []int{0} +} +func (m *GetCampaignBidModifierRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignBidModifierRequest.Unmarshal(m, b) +} +func (m *GetCampaignBidModifierRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignBidModifierRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignBidModifierRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignBidModifierRequest.Merge(dst, src) +} +func (m *GetCampaignBidModifierRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignBidModifierRequest.Size(m) +} +func (m *GetCampaignBidModifierRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignBidModifierRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignBidModifierRequest proto.InternalMessageInfo + +func (m *GetCampaignBidModifierRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignBidModifierService.MutateCampaignBidModifier][]. +type MutateCampaignBidModifiersRequest struct { + // ID of the customer whose campaign bid modifiers are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual campaign bid modifiers. + Operations []*CampaignBidModifierOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignBidModifiersRequest) Reset() { *m = MutateCampaignBidModifiersRequest{} } +func (m *MutateCampaignBidModifiersRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignBidModifiersRequest) ProtoMessage() {} +func (*MutateCampaignBidModifiersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b, []int{1} +} +func (m *MutateCampaignBidModifiersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignBidModifiersRequest.Unmarshal(m, b) +} +func (m *MutateCampaignBidModifiersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignBidModifiersRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignBidModifiersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignBidModifiersRequest.Merge(dst, src) +} +func (m *MutateCampaignBidModifiersRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignBidModifiersRequest.Size(m) +} +func (m *MutateCampaignBidModifiersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignBidModifiersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignBidModifiersRequest proto.InternalMessageInfo + +func (m *MutateCampaignBidModifiersRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignBidModifiersRequest) GetOperations() []*CampaignBidModifierOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, remove, update) on a campaign bid modifier. +type CampaignBidModifierOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignBidModifierOperation_Create + // *CampaignBidModifierOperation_Update + // *CampaignBidModifierOperation_Remove + Operation isCampaignBidModifierOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignBidModifierOperation) Reset() { *m = CampaignBidModifierOperation{} } +func (m *CampaignBidModifierOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignBidModifierOperation) ProtoMessage() {} +func (*CampaignBidModifierOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b, []int{2} +} +func (m *CampaignBidModifierOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignBidModifierOperation.Unmarshal(m, b) +} +func (m *CampaignBidModifierOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignBidModifierOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignBidModifierOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignBidModifierOperation.Merge(dst, src) +} +func (m *CampaignBidModifierOperation) XXX_Size() int { + return xxx_messageInfo_CampaignBidModifierOperation.Size(m) +} +func (m *CampaignBidModifierOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignBidModifierOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignBidModifierOperation proto.InternalMessageInfo + +func (m *CampaignBidModifierOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCampaignBidModifierOperation_Operation interface { + isCampaignBidModifierOperation_Operation() +} + +type CampaignBidModifierOperation_Create struct { + Create *resources.CampaignBidModifier `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignBidModifierOperation_Update struct { + Update *resources.CampaignBidModifier `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CampaignBidModifierOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignBidModifierOperation_Create) isCampaignBidModifierOperation_Operation() {} + +func (*CampaignBidModifierOperation_Update) isCampaignBidModifierOperation_Operation() {} + +func (*CampaignBidModifierOperation_Remove) isCampaignBidModifierOperation_Operation() {} + +func (m *CampaignBidModifierOperation) GetOperation() isCampaignBidModifierOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignBidModifierOperation) GetCreate() *resources.CampaignBidModifier { + if x, ok := m.GetOperation().(*CampaignBidModifierOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignBidModifierOperation) GetUpdate() *resources.CampaignBidModifier { + if x, ok := m.GetOperation().(*CampaignBidModifierOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CampaignBidModifierOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignBidModifierOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignBidModifierOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignBidModifierOperation_OneofMarshaler, _CampaignBidModifierOperation_OneofUnmarshaler, _CampaignBidModifierOperation_OneofSizer, []interface{}{ + (*CampaignBidModifierOperation_Create)(nil), + (*CampaignBidModifierOperation_Update)(nil), + (*CampaignBidModifierOperation_Remove)(nil), + } +} + +func _CampaignBidModifierOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignBidModifierOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignBidModifierOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignBidModifierOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CampaignBidModifierOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignBidModifierOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignBidModifierOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignBidModifierOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignBidModifier) + err := b.DecodeMessage(msg) + m.Operation = &CampaignBidModifierOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignBidModifier) + err := b.DecodeMessage(msg) + m.Operation = &CampaignBidModifierOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignBidModifierOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignBidModifierOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignBidModifierOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignBidModifierOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignBidModifierOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignBidModifierOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for campaign bid modifiers mutate. +type MutateCampaignBidModifiersResponse struct { + // All results for the mutate. + Results []*MutateCampaignBidModifierResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignBidModifiersResponse) Reset() { *m = MutateCampaignBidModifiersResponse{} } +func (m *MutateCampaignBidModifiersResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignBidModifiersResponse) ProtoMessage() {} +func (*MutateCampaignBidModifiersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b, []int{3} +} +func (m *MutateCampaignBidModifiersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignBidModifiersResponse.Unmarshal(m, b) +} +func (m *MutateCampaignBidModifiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignBidModifiersResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignBidModifiersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignBidModifiersResponse.Merge(dst, src) +} +func (m *MutateCampaignBidModifiersResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignBidModifiersResponse.Size(m) +} +func (m *MutateCampaignBidModifiersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignBidModifiersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignBidModifiersResponse proto.InternalMessageInfo + +func (m *MutateCampaignBidModifiersResponse) GetResults() []*MutateCampaignBidModifierResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the criterion mutate. +type MutateCampaignBidModifierResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignBidModifierResult) Reset() { *m = MutateCampaignBidModifierResult{} } +func (m *MutateCampaignBidModifierResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignBidModifierResult) ProtoMessage() {} +func (*MutateCampaignBidModifierResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b, []int{4} +} +func (m *MutateCampaignBidModifierResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignBidModifierResult.Unmarshal(m, b) +} +func (m *MutateCampaignBidModifierResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignBidModifierResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignBidModifierResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignBidModifierResult.Merge(dst, src) +} +func (m *MutateCampaignBidModifierResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignBidModifierResult.Size(m) +} +func (m *MutateCampaignBidModifierResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignBidModifierResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignBidModifierResult proto.InternalMessageInfo + +func (m *MutateCampaignBidModifierResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignBidModifierRequest)(nil), "google.ads.googleads.v0.services.GetCampaignBidModifierRequest") + proto.RegisterType((*MutateCampaignBidModifiersRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignBidModifiersRequest") + proto.RegisterType((*CampaignBidModifierOperation)(nil), "google.ads.googleads.v0.services.CampaignBidModifierOperation") + proto.RegisterType((*MutateCampaignBidModifiersResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignBidModifiersResponse") + proto.RegisterType((*MutateCampaignBidModifierResult)(nil), "google.ads.googleads.v0.services.MutateCampaignBidModifierResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignBidModifierServiceClient is the client API for CampaignBidModifierService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignBidModifierServiceClient interface { + // Returns the requested campaign bid modifier in full detail. + GetCampaignBidModifier(ctx context.Context, in *GetCampaignBidModifierRequest, opts ...grpc.CallOption) (*resources.CampaignBidModifier, error) + // Creates, updates, or removes campaign bid modifiers. + // Operation statuses are returned. + MutateCampaignBidModifiers(ctx context.Context, in *MutateCampaignBidModifiersRequest, opts ...grpc.CallOption) (*MutateCampaignBidModifiersResponse, error) +} + +type campaignBidModifierServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignBidModifierServiceClient(cc *grpc.ClientConn) CampaignBidModifierServiceClient { + return &campaignBidModifierServiceClient{cc} +} + +func (c *campaignBidModifierServiceClient) GetCampaignBidModifier(ctx context.Context, in *GetCampaignBidModifierRequest, opts ...grpc.CallOption) (*resources.CampaignBidModifier, error) { + out := new(resources.CampaignBidModifier) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignBidModifierService/GetCampaignBidModifier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignBidModifierServiceClient) MutateCampaignBidModifiers(ctx context.Context, in *MutateCampaignBidModifiersRequest, opts ...grpc.CallOption) (*MutateCampaignBidModifiersResponse, error) { + out := new(MutateCampaignBidModifiersResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignBidModifierService/MutateCampaignBidModifiers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignBidModifierServiceServer is the server API for CampaignBidModifierService service. +type CampaignBidModifierServiceServer interface { + // Returns the requested campaign bid modifier in full detail. + GetCampaignBidModifier(context.Context, *GetCampaignBidModifierRequest) (*resources.CampaignBidModifier, error) + // Creates, updates, or removes campaign bid modifiers. + // Operation statuses are returned. + MutateCampaignBidModifiers(context.Context, *MutateCampaignBidModifiersRequest) (*MutateCampaignBidModifiersResponse, error) +} + +func RegisterCampaignBidModifierServiceServer(s *grpc.Server, srv CampaignBidModifierServiceServer) { + s.RegisterService(&_CampaignBidModifierService_serviceDesc, srv) +} + +func _CampaignBidModifierService_GetCampaignBidModifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignBidModifierRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignBidModifierServiceServer).GetCampaignBidModifier(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignBidModifierService/GetCampaignBidModifier", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignBidModifierServiceServer).GetCampaignBidModifier(ctx, req.(*GetCampaignBidModifierRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignBidModifierService_MutateCampaignBidModifiers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignBidModifiersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignBidModifierServiceServer).MutateCampaignBidModifiers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignBidModifierService/MutateCampaignBidModifiers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignBidModifierServiceServer).MutateCampaignBidModifiers(ctx, req.(*MutateCampaignBidModifiersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignBidModifierService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignBidModifierService", + HandlerType: (*CampaignBidModifierServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignBidModifier", + Handler: _CampaignBidModifierService_GetCampaignBidModifier_Handler, + }, + { + MethodName: "MutateCampaignBidModifiers", + Handler: _CampaignBidModifierService_MutateCampaignBidModifiers_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_bid_modifier_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_bid_modifier_service.proto", fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b) +} + +var fileDescriptor_campaign_bid_modifier_service_2bb6851aed97491b = []byte{ + // 609 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x8b, 0xd3, 0x4e, + 0x18, 0xc7, 0x7f, 0x49, 0x7f, 0xac, 0xec, 0x44, 0x2f, 0x73, 0x90, 0x10, 0x56, 0xb6, 0x46, 0x0f, + 0xa5, 0x87, 0xa4, 0x54, 0x58, 0x74, 0x97, 0x56, 0xda, 0x2d, 0xdb, 0xf5, 0x50, 0x2d, 0x11, 0xf6, + 0xa0, 0xc5, 0x30, 0x6d, 0xa6, 0x61, 0xd8, 0x26, 0x13, 0x67, 0x26, 0xbd, 0x2c, 0x7b, 0xd0, 0xb7, + 0xe0, 0x3b, 0x10, 0xf1, 0xe0, 0x4b, 0xf1, 0x26, 0xbe, 0x00, 0x3d, 0x78, 0xf5, 0x3d, 0x48, 0x32, + 0x99, 0x5a, 0x21, 0x69, 0xc5, 0xde, 0x9e, 0x64, 0x9e, 0x7c, 0x9e, 0x3f, 0xdf, 0x79, 0x9e, 0x80, + 0x41, 0x48, 0x69, 0xb8, 0xc0, 0x2e, 0x0a, 0xb8, 0x2b, 0xcd, 0xcc, 0x5a, 0xb6, 0x5c, 0x8e, 0xd9, + 0x92, 0xcc, 0x30, 0x77, 0x67, 0x28, 0x4a, 0x10, 0x09, 0x63, 0x7f, 0x4a, 0x02, 0x3f, 0xa2, 0x01, + 0x99, 0x13, 0xcc, 0xfc, 0xe2, 0xd8, 0x49, 0x18, 0x15, 0x14, 0xd6, 0xe5, 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a5, 0x85, 0x1e, 0x47, 0x39, 0xfe, 0x58, 0x6b, 0xf6, + 0xbf, 0x69, 0xe0, 0xfe, 0x8c, 0x46, 0x5b, 0x33, 0xea, 0x1f, 0x56, 0x5f, 0x84, 0x71, 0x36, 0xdc, + 0x63, 0xed, 0xc5, 0x79, 0x01, 0x09, 0xe9, 0x02, 0xc5, 0xa1, 0x43, 0x59, 0xe8, 0x86, 0x38, 0xce, + 0x47, 0x5f, 0xed, 0xe7, 0x84, 0xf0, 0xea, 0xdf, 0xc2, 0x89, 0x32, 0xde, 0xeb, 0xb5, 0x61, 0xaf, + 0xf7, 0x49, 0xaf, 0x0f, 0x25, 0xb0, 0x17, 0x70, 0x47, 0x9a, 0x99, 0x75, 0xd1, 0x72, 0x8a, 0xc0, + 0xfc, 0xb3, 0x72, 0x99, 0xf4, 0x02, 0x3e, 0x59, 0xb9, 0x4c, 0x2e, 0x5a, 0x13, 0xe5, 0x32, 0xdd, + 0xcb, 0x13, 0x78, 0xf0, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x12, 0xbd, 0x83, 0x1c, 0x96, 0x06, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_budget_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_budget_service.pb.go new file mode 100644 index 000000000..47c189525 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_budget_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_budget_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v0.services.CampaignBudgetService.GetCampaignBudget]. +type GetCampaignBudgetRequest struct { + // The resource name of the campaign budget to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignBudgetRequest) Reset() { *m = GetCampaignBudgetRequest{} } +func (m *GetCampaignBudgetRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignBudgetRequest) ProtoMessage() {} +func (*GetCampaignBudgetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_service_4de5d27918721d20, []int{0} +} +func (m *GetCampaignBudgetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignBudgetRequest.Unmarshal(m, b) +} +func (m *GetCampaignBudgetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignBudgetRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignBudgetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignBudgetRequest.Merge(dst, src) +} +func (m *GetCampaignBudgetRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignBudgetRequest.Size(m) +} +func (m *GetCampaignBudgetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignBudgetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignBudgetRequest proto.InternalMessageInfo + +func (m *GetCampaignBudgetRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v0.services.CampaignBudgetService.MutateCampaignBudgets]. +type MutateCampaignBudgetsRequest struct { + // The ID of the customer whose campaign budgets are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual campaign budgets. + Operations []*CampaignBudgetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignBudgetsRequest) Reset() { *m = MutateCampaignBudgetsRequest{} } +func (m *MutateCampaignBudgetsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignBudgetsRequest) ProtoMessage() {} +func (*MutateCampaignBudgetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_service_4de5d27918721d20, []int{1} +} +func (m *MutateCampaignBudgetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignBudgetsRequest.Unmarshal(m, b) +} +func (m *MutateCampaignBudgetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignBudgetsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignBudgetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignBudgetsRequest.Merge(dst, src) +} +func (m *MutateCampaignBudgetsRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignBudgetsRequest.Size(m) +} +func (m *MutateCampaignBudgetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignBudgetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignBudgetsRequest proto.InternalMessageInfo + +func (m *MutateCampaignBudgetsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignBudgetsRequest) GetOperations() []*CampaignBudgetOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a campaign budget. +type CampaignBudgetOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignBudgetOperation_Create + // *CampaignBudgetOperation_Update + // *CampaignBudgetOperation_Remove + Operation isCampaignBudgetOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignBudgetOperation) Reset() { *m = CampaignBudgetOperation{} } +func (m *CampaignBudgetOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignBudgetOperation) ProtoMessage() {} +func (*CampaignBudgetOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_service_4de5d27918721d20, []int{2} +} +func (m *CampaignBudgetOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignBudgetOperation.Unmarshal(m, b) +} +func (m *CampaignBudgetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignBudgetOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignBudgetOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignBudgetOperation.Merge(dst, src) +} +func (m *CampaignBudgetOperation) XXX_Size() int { + return xxx_messageInfo_CampaignBudgetOperation.Size(m) +} +func (m *CampaignBudgetOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignBudgetOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignBudgetOperation proto.InternalMessageInfo + +func (m *CampaignBudgetOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCampaignBudgetOperation_Operation interface { + isCampaignBudgetOperation_Operation() +} + +type CampaignBudgetOperation_Create struct { + Create *resources.CampaignBudget `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignBudgetOperation_Update struct { + Update *resources.CampaignBudget `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CampaignBudgetOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignBudgetOperation_Create) isCampaignBudgetOperation_Operation() {} + +func (*CampaignBudgetOperation_Update) isCampaignBudgetOperation_Operation() {} + +func (*CampaignBudgetOperation_Remove) isCampaignBudgetOperation_Operation() {} + +func (m *CampaignBudgetOperation) GetOperation() isCampaignBudgetOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignBudgetOperation) GetCreate() *resources.CampaignBudget { + if x, ok := m.GetOperation().(*CampaignBudgetOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignBudgetOperation) GetUpdate() *resources.CampaignBudget { + if x, ok := m.GetOperation().(*CampaignBudgetOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CampaignBudgetOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignBudgetOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignBudgetOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignBudgetOperation_OneofMarshaler, _CampaignBudgetOperation_OneofUnmarshaler, _CampaignBudgetOperation_OneofSizer, []interface{}{ + (*CampaignBudgetOperation_Create)(nil), + (*CampaignBudgetOperation_Update)(nil), + (*CampaignBudgetOperation_Remove)(nil), + } +} + +func _CampaignBudgetOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignBudgetOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignBudgetOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignBudgetOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CampaignBudgetOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignBudgetOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignBudgetOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignBudgetOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignBudget) + err := b.DecodeMessage(msg) + m.Operation = &CampaignBudgetOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignBudget) + err := b.DecodeMessage(msg) + m.Operation = &CampaignBudgetOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignBudgetOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignBudgetOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignBudgetOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignBudgetOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignBudgetOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignBudgetOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for campaign budget mutate. +type MutateCampaignBudgetsResponse struct { + // All results for the mutate. + Results []*MutateCampaignBudgetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignBudgetsResponse) Reset() { *m = MutateCampaignBudgetsResponse{} } +func (m *MutateCampaignBudgetsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignBudgetsResponse) ProtoMessage() {} +func (*MutateCampaignBudgetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_service_4de5d27918721d20, []int{3} +} +func (m *MutateCampaignBudgetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignBudgetsResponse.Unmarshal(m, b) +} +func (m *MutateCampaignBudgetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignBudgetsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignBudgetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignBudgetsResponse.Merge(dst, src) +} +func (m *MutateCampaignBudgetsResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignBudgetsResponse.Size(m) +} +func (m *MutateCampaignBudgetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignBudgetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignBudgetsResponse proto.InternalMessageInfo + +func (m *MutateCampaignBudgetsResponse) GetResults() []*MutateCampaignBudgetResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the campaign budget mutate. +type MutateCampaignBudgetResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignBudgetResult) Reset() { *m = MutateCampaignBudgetResult{} } +func (m *MutateCampaignBudgetResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignBudgetResult) ProtoMessage() {} +func (*MutateCampaignBudgetResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_budget_service_4de5d27918721d20, []int{4} +} +func (m *MutateCampaignBudgetResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignBudgetResult.Unmarshal(m, b) +} +func (m *MutateCampaignBudgetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignBudgetResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignBudgetResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignBudgetResult.Merge(dst, src) +} +func (m *MutateCampaignBudgetResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignBudgetResult.Size(m) +} +func (m *MutateCampaignBudgetResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignBudgetResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignBudgetResult proto.InternalMessageInfo + +func (m *MutateCampaignBudgetResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignBudgetRequest)(nil), "google.ads.googleads.v0.services.GetCampaignBudgetRequest") + proto.RegisterType((*MutateCampaignBudgetsRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignBudgetsRequest") + proto.RegisterType((*CampaignBudgetOperation)(nil), "google.ads.googleads.v0.services.CampaignBudgetOperation") + proto.RegisterType((*MutateCampaignBudgetsResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignBudgetsResponse") + proto.RegisterType((*MutateCampaignBudgetResult)(nil), "google.ads.googleads.v0.services.MutateCampaignBudgetResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignBudgetServiceClient is the client API for CampaignBudgetService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignBudgetServiceClient interface { + // Returns the requested Campaign Budget in full detail. + GetCampaignBudget(ctx context.Context, in *GetCampaignBudgetRequest, opts ...grpc.CallOption) (*resources.CampaignBudget, error) + // Creates, updates, or removes campaign budgets. Operation statuses are + // returned. + MutateCampaignBudgets(ctx context.Context, in *MutateCampaignBudgetsRequest, opts ...grpc.CallOption) (*MutateCampaignBudgetsResponse, error) +} + +type campaignBudgetServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignBudgetServiceClient(cc *grpc.ClientConn) CampaignBudgetServiceClient { + return &campaignBudgetServiceClient{cc} +} + +func (c *campaignBudgetServiceClient) GetCampaignBudget(ctx context.Context, in *GetCampaignBudgetRequest, opts ...grpc.CallOption) (*resources.CampaignBudget, error) { + out := new(resources.CampaignBudget) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignBudgetService/GetCampaignBudget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignBudgetServiceClient) MutateCampaignBudgets(ctx context.Context, in *MutateCampaignBudgetsRequest, opts ...grpc.CallOption) (*MutateCampaignBudgetsResponse, error) { + out := new(MutateCampaignBudgetsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignBudgetService/MutateCampaignBudgets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignBudgetServiceServer is the server API for CampaignBudgetService service. +type CampaignBudgetServiceServer interface { + // Returns the requested Campaign Budget in full detail. + GetCampaignBudget(context.Context, *GetCampaignBudgetRequest) (*resources.CampaignBudget, error) + // Creates, updates, or removes campaign budgets. Operation statuses are + // returned. + MutateCampaignBudgets(context.Context, *MutateCampaignBudgetsRequest) (*MutateCampaignBudgetsResponse, error) +} + +func RegisterCampaignBudgetServiceServer(s *grpc.Server, srv CampaignBudgetServiceServer) { + s.RegisterService(&_CampaignBudgetService_serviceDesc, srv) +} + +func _CampaignBudgetService_GetCampaignBudget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignBudgetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignBudgetServiceServer).GetCampaignBudget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignBudgetService/GetCampaignBudget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignBudgetServiceServer).GetCampaignBudget(ctx, req.(*GetCampaignBudgetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignBudgetService_MutateCampaignBudgets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignBudgetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignBudgetServiceServer).MutateCampaignBudgets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignBudgetService/MutateCampaignBudgets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignBudgetServiceServer).MutateCampaignBudgets(ctx, req.(*MutateCampaignBudgetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignBudgetService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignBudgetService", + HandlerType: (*CampaignBudgetServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignBudget", + Handler: _CampaignBudgetService_GetCampaignBudget_Handler, + }, + { + MethodName: "MutateCampaignBudgets", + Handler: _CampaignBudgetService_MutateCampaignBudgets_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_budget_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_budget_service.proto", fileDescriptor_campaign_budget_service_4de5d27918721d20) +} + +var fileDescriptor_campaign_budget_service_4de5d27918721d20 = []byte{ + // 600 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x4d, 0x2a, 0x95, 0x9d, 0xe8, 0xc1, 0x81, 0xc5, 0x10, 0x56, 0x2c, 0xd1, 0x43, 0xe9, + 0x61, 0xd2, 0xed, 0x0a, 0xd2, 0xae, 0xbb, 0xa5, 0x15, 0xec, 0x8a, 0xac, 0x2e, 0x11, 0x0a, 0x4a, + 0xa1, 0x4c, 0x9b, 0xb7, 0x21, 0x6c, 0x93, 0x89, 0x99, 0x49, 0x3d, 0x2c, 0x7b, 0xf1, 0x2b, 0x78, + 0x10, 0x3c, 0x7a, 0xf4, 0xea, 0xd9, 0x2f, 0xe0, 0xd5, 0x93, 0x9e, 0xfd, 0x20, 0x92, 0x4c, 0xa6, + 0x6e, 0xd7, 0x86, 0xea, 0x7a, 0x7b, 0xc9, 0xbc, 0xf7, 0x7b, 0xef, 0xfd, 0xdf, 0xbc, 0x41, 0xfb, + 0x3e, 0x63, 0xfe, 0x0c, 0x1c, 0xea, 0x71, 0x47, 0x9a, 0x99, 0x35, 0x6f, 0x3a, 0x1c, 0x92, 0x79, + 0x30, 0x05, 0xee, 0x4c, 0x69, 0x18, 0xd3, 0xc0, 0x8f, 0xc6, 0x93, 0xd4, 0xf3, 0x41, 0x8c, 0x8b, + 0x03, 0x12, 0x27, 0x4c, 0x30, 0x5c, 0x93, 0x41, 0x84, 0x7a, 0x9c, 0x2c, 0xe2, 0xc9, 0xbc, 0x49, + 0x54, 0xbc, 0xf5, 0xa0, 0x2c, 0x43, 0x02, 0x9c, 0xa5, 0xc9, 0x8a, 0x14, 0x12, 0x6d, 0x6d, 0xa9, + 0xc0, 0x38, 0x70, 0x68, 0x14, 0x31, 0x41, 0x45, 0xc0, 0x22, 0x5e, 0x9c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x28, 0x5f, 0x57, 0xf5, 0x72, 0xc6, 0x01, 0x2f, 0x7f, 0xaa, + 0x77, 0x95, 0xf1, 0x51, 0xaf, 0x0c, 0x7a, 0xbd, 0x4f, 0x7a, 0x6d, 0x20, 0x81, 0x3d, 0x8f, 0x13, + 0x69, 0x66, 0xd6, 0xb0, 0x49, 0x8a, 0xc4, 0xfc, 0xab, 0x72, 0x19, 0xf5, 0x3c, 0x3e, 0x5a, 0xb8, + 0x8c, 0x86, 0xcd, 0x91, 0x72, 0x99, 0x54, 0xf3, 0x02, 0x76, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x4d, 0x55, 0x22, 0x99, 0x2a, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_criterion_service.pb.go new file mode 100644 index 000000000..96d587f7c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_criterion_service.pb.go @@ -0,0 +1,545 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_criterion_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v0.services.CampaignCriterionService.GetCampaignCriterion]. +type GetCampaignCriterionRequest struct { + // The resource name of the criterion to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignCriterionRequest) Reset() { *m = GetCampaignCriterionRequest{} } +func (m *GetCampaignCriterionRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignCriterionRequest) ProtoMessage() {} +func (*GetCampaignCriterionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_service_9e44f1f5d681490b, []int{0} +} +func (m *GetCampaignCriterionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignCriterionRequest.Unmarshal(m, b) +} +func (m *GetCampaignCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignCriterionRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignCriterionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignCriterionRequest.Merge(dst, src) +} +func (m *GetCampaignCriterionRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignCriterionRequest.Size(m) +} +func (m *GetCampaignCriterionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignCriterionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignCriterionRequest proto.InternalMessageInfo + +func (m *GetCampaignCriterionRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v0.services.CampaignCriterionService.MutateCampaignCriteria]. +type MutateCampaignCriteriaRequest struct { + // The ID of the customer whose criteria are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual criteria. + Operations []*CampaignCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignCriteriaRequest) Reset() { *m = MutateCampaignCriteriaRequest{} } +func (m *MutateCampaignCriteriaRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignCriteriaRequest) ProtoMessage() {} +func (*MutateCampaignCriteriaRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_service_9e44f1f5d681490b, []int{1} +} +func (m *MutateCampaignCriteriaRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignCriteriaRequest.Unmarshal(m, b) +} +func (m *MutateCampaignCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignCriteriaRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignCriteriaRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignCriteriaRequest.Merge(dst, src) +} +func (m *MutateCampaignCriteriaRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignCriteriaRequest.Size(m) +} +func (m *MutateCampaignCriteriaRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignCriteriaRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignCriteriaRequest proto.InternalMessageInfo + +func (m *MutateCampaignCriteriaRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignCriteriaRequest) GetOperations() []*CampaignCriterionOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a campaign criterion. +type CampaignCriterionOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignCriterionOperation_Create + // *CampaignCriterionOperation_Update + // *CampaignCriterionOperation_Remove + Operation isCampaignCriterionOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignCriterionOperation) Reset() { *m = CampaignCriterionOperation{} } +func (m *CampaignCriterionOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignCriterionOperation) ProtoMessage() {} +func (*CampaignCriterionOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_service_9e44f1f5d681490b, []int{2} +} +func (m *CampaignCriterionOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignCriterionOperation.Unmarshal(m, b) +} +func (m *CampaignCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignCriterionOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignCriterionOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignCriterionOperation.Merge(dst, src) +} +func (m *CampaignCriterionOperation) XXX_Size() int { + return xxx_messageInfo_CampaignCriterionOperation.Size(m) +} +func (m *CampaignCriterionOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignCriterionOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignCriterionOperation proto.InternalMessageInfo + +func (m *CampaignCriterionOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCampaignCriterionOperation_Operation interface { + isCampaignCriterionOperation_Operation() +} + +type CampaignCriterionOperation_Create struct { + Create *resources.CampaignCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignCriterionOperation_Update struct { + Update *resources.CampaignCriterion `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CampaignCriterionOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignCriterionOperation_Create) isCampaignCriterionOperation_Operation() {} + +func (*CampaignCriterionOperation_Update) isCampaignCriterionOperation_Operation() {} + +func (*CampaignCriterionOperation_Remove) isCampaignCriterionOperation_Operation() {} + +func (m *CampaignCriterionOperation) GetOperation() isCampaignCriterionOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignCriterionOperation) GetCreate() *resources.CampaignCriterion { + if x, ok := m.GetOperation().(*CampaignCriterionOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignCriterionOperation) GetUpdate() *resources.CampaignCriterion { + if x, ok := m.GetOperation().(*CampaignCriterionOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CampaignCriterionOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignCriterionOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignCriterionOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignCriterionOperation_OneofMarshaler, _CampaignCriterionOperation_OneofUnmarshaler, _CampaignCriterionOperation_OneofSizer, []interface{}{ + (*CampaignCriterionOperation_Create)(nil), + (*CampaignCriterionOperation_Update)(nil), + (*CampaignCriterionOperation_Remove)(nil), + } +} + +func _CampaignCriterionOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignCriterionOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignCriterionOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignCriterionOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CampaignCriterionOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignCriterionOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignCriterionOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignCriterionOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignCriterion) + err := b.DecodeMessage(msg) + m.Operation = &CampaignCriterionOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignCriterion) + err := b.DecodeMessage(msg) + m.Operation = &CampaignCriterionOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignCriterionOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignCriterionOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignCriterionOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignCriterionOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterionOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignCriterionOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for campaign criterion mutate. +type MutateCampaignCriteriaResponse struct { + // All results for the mutate. + Results []*MutateCampaignCriterionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignCriteriaResponse) Reset() { *m = MutateCampaignCriteriaResponse{} } +func (m *MutateCampaignCriteriaResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignCriteriaResponse) ProtoMessage() {} +func (*MutateCampaignCriteriaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_service_9e44f1f5d681490b, []int{3} +} +func (m *MutateCampaignCriteriaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignCriteriaResponse.Unmarshal(m, b) +} +func (m *MutateCampaignCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignCriteriaResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignCriteriaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignCriteriaResponse.Merge(dst, src) +} +func (m *MutateCampaignCriteriaResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignCriteriaResponse.Size(m) +} +func (m *MutateCampaignCriteriaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignCriteriaResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignCriteriaResponse proto.InternalMessageInfo + +func (m *MutateCampaignCriteriaResponse) GetResults() []*MutateCampaignCriterionResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the criterion mutate. +type MutateCampaignCriterionResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignCriterionResult) Reset() { *m = MutateCampaignCriterionResult{} } +func (m *MutateCampaignCriterionResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignCriterionResult) ProtoMessage() {} +func (*MutateCampaignCriterionResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_criterion_service_9e44f1f5d681490b, []int{4} +} +func (m *MutateCampaignCriterionResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignCriterionResult.Unmarshal(m, b) +} +func (m *MutateCampaignCriterionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignCriterionResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignCriterionResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignCriterionResult.Merge(dst, src) +} +func (m *MutateCampaignCriterionResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignCriterionResult.Size(m) +} +func (m *MutateCampaignCriterionResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignCriterionResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignCriterionResult proto.InternalMessageInfo + +func (m *MutateCampaignCriterionResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignCriterionRequest)(nil), "google.ads.googleads.v0.services.GetCampaignCriterionRequest") + proto.RegisterType((*MutateCampaignCriteriaRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignCriteriaRequest") + proto.RegisterType((*CampaignCriterionOperation)(nil), "google.ads.googleads.v0.services.CampaignCriterionOperation") + proto.RegisterType((*MutateCampaignCriteriaResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignCriteriaResponse") + proto.RegisterType((*MutateCampaignCriterionResult)(nil), "google.ads.googleads.v0.services.MutateCampaignCriterionResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignCriterionServiceClient is the client API for CampaignCriterionService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignCriterionServiceClient interface { + // Returns the requested criterion in full detail. + GetCampaignCriterion(ctx context.Context, in *GetCampaignCriterionRequest, opts ...grpc.CallOption) (*resources.CampaignCriterion, error) + // Creates, updates, or removes criteria. Operation statuses are returned. + MutateCampaignCriteria(ctx context.Context, in *MutateCampaignCriteriaRequest, opts ...grpc.CallOption) (*MutateCampaignCriteriaResponse, error) +} + +type campaignCriterionServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignCriterionServiceClient(cc *grpc.ClientConn) CampaignCriterionServiceClient { + return &campaignCriterionServiceClient{cc} +} + +func (c *campaignCriterionServiceClient) GetCampaignCriterion(ctx context.Context, in *GetCampaignCriterionRequest, opts ...grpc.CallOption) (*resources.CampaignCriterion, error) { + out := new(resources.CampaignCriterion) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignCriterionService/GetCampaignCriterion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignCriterionServiceClient) MutateCampaignCriteria(ctx context.Context, in *MutateCampaignCriteriaRequest, opts ...grpc.CallOption) (*MutateCampaignCriteriaResponse, error) { + out := new(MutateCampaignCriteriaResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignCriterionService/MutateCampaignCriteria", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignCriterionServiceServer is the server API for CampaignCriterionService service. +type CampaignCriterionServiceServer interface { + // Returns the requested criterion in full detail. + GetCampaignCriterion(context.Context, *GetCampaignCriterionRequest) (*resources.CampaignCriterion, error) + // Creates, updates, or removes criteria. Operation statuses are returned. + MutateCampaignCriteria(context.Context, *MutateCampaignCriteriaRequest) (*MutateCampaignCriteriaResponse, error) +} + +func RegisterCampaignCriterionServiceServer(s *grpc.Server, srv CampaignCriterionServiceServer) { + s.RegisterService(&_CampaignCriterionService_serviceDesc, srv) +} + +func _CampaignCriterionService_GetCampaignCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignCriterionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignCriterionServiceServer).GetCampaignCriterion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignCriterionService/GetCampaignCriterion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignCriterionServiceServer).GetCampaignCriterion(ctx, req.(*GetCampaignCriterionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignCriterionService_MutateCampaignCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignCriteriaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignCriterionServiceServer).MutateCampaignCriteria(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignCriterionService/MutateCampaignCriteria", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignCriterionServiceServer).MutateCampaignCriteria(ctx, req.(*MutateCampaignCriteriaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignCriterionService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignCriterionService", + HandlerType: (*CampaignCriterionServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignCriterion", + Handler: _CampaignCriterionService_GetCampaignCriterion_Handler, + }, + { + MethodName: "MutateCampaignCriteria", + Handler: _CampaignCriterionService_MutateCampaignCriteria_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_criterion_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_criterion_service.proto", fileDescriptor_campaign_criterion_service_9e44f1f5d681490b) +} + +var fileDescriptor_campaign_criterion_service_9e44f1f5d681490b = []byte{ + // 599 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x6f, 0xd3, 0x3e, + 0x18, 0xc7, 0x7f, 0x49, 0x7f, 0x2a, 0x9a, 0x03, 0x17,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x54, 0x2e, 0x93, + 0x93, 0xee, 0x44, 0xbb, 0x9c, 0x36, 0x8b, 0x04, 0x1e, 0xfe, 0x08, 0x00, 0x00, 0xff, 0xff, 0x12, + 0xdf, 0x1f, 0x23, 0x5b, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_feed_service.pb.go new file mode 100644 index 000000000..e8cb9bca5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_feed_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_feed_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v0.services.CampaignFeedService.GetCampaignFeed]. +type GetCampaignFeedRequest struct { + // The resource name of the campaign feed to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignFeedRequest) Reset() { *m = GetCampaignFeedRequest{} } +func (m *GetCampaignFeedRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignFeedRequest) ProtoMessage() {} +func (*GetCampaignFeedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_service_0c772cfa4dcff26c, []int{0} +} +func (m *GetCampaignFeedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignFeedRequest.Unmarshal(m, b) +} +func (m *GetCampaignFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignFeedRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignFeedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignFeedRequest.Merge(dst, src) +} +func (m *GetCampaignFeedRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignFeedRequest.Size(m) +} +func (m *GetCampaignFeedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignFeedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignFeedRequest proto.InternalMessageInfo + +func (m *GetCampaignFeedRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v0.services.CampaignFeedService.MutateCampaignFeeds]. +type MutateCampaignFeedsRequest struct { + // The ID of the customer whose campaign feeds are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual campaign feeds. + Operations []*CampaignFeedOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignFeedsRequest) Reset() { *m = MutateCampaignFeedsRequest{} } +func (m *MutateCampaignFeedsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignFeedsRequest) ProtoMessage() {} +func (*MutateCampaignFeedsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_service_0c772cfa4dcff26c, []int{1} +} +func (m *MutateCampaignFeedsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignFeedsRequest.Unmarshal(m, b) +} +func (m *MutateCampaignFeedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignFeedsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignFeedsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignFeedsRequest.Merge(dst, src) +} +func (m *MutateCampaignFeedsRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignFeedsRequest.Size(m) +} +func (m *MutateCampaignFeedsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignFeedsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignFeedsRequest proto.InternalMessageInfo + +func (m *MutateCampaignFeedsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignFeedsRequest) GetOperations() []*CampaignFeedOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a campaign feed. +type CampaignFeedOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignFeedOperation_Create + // *CampaignFeedOperation_Update + // *CampaignFeedOperation_Remove + Operation isCampaignFeedOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignFeedOperation) Reset() { *m = CampaignFeedOperation{} } +func (m *CampaignFeedOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignFeedOperation) ProtoMessage() {} +func (*CampaignFeedOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_service_0c772cfa4dcff26c, []int{2} +} +func (m *CampaignFeedOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignFeedOperation.Unmarshal(m, b) +} +func (m *CampaignFeedOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignFeedOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignFeedOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignFeedOperation.Merge(dst, src) +} +func (m *CampaignFeedOperation) XXX_Size() int { + return xxx_messageInfo_CampaignFeedOperation.Size(m) +} +func (m *CampaignFeedOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignFeedOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignFeedOperation proto.InternalMessageInfo + +func (m *CampaignFeedOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCampaignFeedOperation_Operation interface { + isCampaignFeedOperation_Operation() +} + +type CampaignFeedOperation_Create struct { + Create *resources.CampaignFeed `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignFeedOperation_Update struct { + Update *resources.CampaignFeed `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CampaignFeedOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignFeedOperation_Create) isCampaignFeedOperation_Operation() {} + +func (*CampaignFeedOperation_Update) isCampaignFeedOperation_Operation() {} + +func (*CampaignFeedOperation_Remove) isCampaignFeedOperation_Operation() {} + +func (m *CampaignFeedOperation) GetOperation() isCampaignFeedOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignFeedOperation) GetCreate() *resources.CampaignFeed { + if x, ok := m.GetOperation().(*CampaignFeedOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignFeedOperation) GetUpdate() *resources.CampaignFeed { + if x, ok := m.GetOperation().(*CampaignFeedOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CampaignFeedOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignFeedOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignFeedOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignFeedOperation_OneofMarshaler, _CampaignFeedOperation_OneofUnmarshaler, _CampaignFeedOperation_OneofSizer, []interface{}{ + (*CampaignFeedOperation_Create)(nil), + (*CampaignFeedOperation_Update)(nil), + (*CampaignFeedOperation_Remove)(nil), + } +} + +func _CampaignFeedOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignFeedOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignFeedOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignFeedOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CampaignFeedOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignFeedOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignFeedOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignFeedOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignFeed) + err := b.DecodeMessage(msg) + m.Operation = &CampaignFeedOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignFeed) + err := b.DecodeMessage(msg) + m.Operation = &CampaignFeedOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignFeedOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignFeedOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignFeedOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignFeedOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignFeedOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignFeedOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a campaign feed mutate. +type MutateCampaignFeedsResponse struct { + // All results for the mutate. + Results []*MutateCampaignFeedResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignFeedsResponse) Reset() { *m = MutateCampaignFeedsResponse{} } +func (m *MutateCampaignFeedsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignFeedsResponse) ProtoMessage() {} +func (*MutateCampaignFeedsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_service_0c772cfa4dcff26c, []int{3} +} +func (m *MutateCampaignFeedsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignFeedsResponse.Unmarshal(m, b) +} +func (m *MutateCampaignFeedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignFeedsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignFeedsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignFeedsResponse.Merge(dst, src) +} +func (m *MutateCampaignFeedsResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignFeedsResponse.Size(m) +} +func (m *MutateCampaignFeedsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignFeedsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignFeedsResponse proto.InternalMessageInfo + +func (m *MutateCampaignFeedsResponse) GetResults() []*MutateCampaignFeedResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the campaign feed mutate. +type MutateCampaignFeedResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignFeedResult) Reset() { *m = MutateCampaignFeedResult{} } +func (m *MutateCampaignFeedResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignFeedResult) ProtoMessage() {} +func (*MutateCampaignFeedResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_feed_service_0c772cfa4dcff26c, []int{4} +} +func (m *MutateCampaignFeedResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignFeedResult.Unmarshal(m, b) +} +func (m *MutateCampaignFeedResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignFeedResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignFeedResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignFeedResult.Merge(dst, src) +} +func (m *MutateCampaignFeedResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignFeedResult.Size(m) +} +func (m *MutateCampaignFeedResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignFeedResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignFeedResult proto.InternalMessageInfo + +func (m *MutateCampaignFeedResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignFeedRequest)(nil), "google.ads.googleads.v0.services.GetCampaignFeedRequest") + proto.RegisterType((*MutateCampaignFeedsRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignFeedsRequest") + proto.RegisterType((*CampaignFeedOperation)(nil), "google.ads.googleads.v0.services.CampaignFeedOperation") + proto.RegisterType((*MutateCampaignFeedsResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignFeedsResponse") + proto.RegisterType((*MutateCampaignFeedResult)(nil), "google.ads.googleads.v0.services.MutateCampaignFeedResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignFeedServiceClient is the client API for CampaignFeedService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignFeedServiceClient interface { + // Returns the requested campaign feed in full detail. + GetCampaignFeed(ctx context.Context, in *GetCampaignFeedRequest, opts ...grpc.CallOption) (*resources.CampaignFeed, error) + // Creates, updates, or removes campaign feeds. Operation statuses are + // returned. + MutateCampaignFeeds(ctx context.Context, in *MutateCampaignFeedsRequest, opts ...grpc.CallOption) (*MutateCampaignFeedsResponse, error) +} + +type campaignFeedServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignFeedServiceClient(cc *grpc.ClientConn) CampaignFeedServiceClient { + return &campaignFeedServiceClient{cc} +} + +func (c *campaignFeedServiceClient) GetCampaignFeed(ctx context.Context, in *GetCampaignFeedRequest, opts ...grpc.CallOption) (*resources.CampaignFeed, error) { + out := new(resources.CampaignFeed) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignFeedService/GetCampaignFeed", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignFeedServiceClient) MutateCampaignFeeds(ctx context.Context, in *MutateCampaignFeedsRequest, opts ...grpc.CallOption) (*MutateCampaignFeedsResponse, error) { + out := new(MutateCampaignFeedsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignFeedService/MutateCampaignFeeds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignFeedServiceServer is the server API for CampaignFeedService service. +type CampaignFeedServiceServer interface { + // Returns the requested campaign feed in full detail. + GetCampaignFeed(context.Context, *GetCampaignFeedRequest) (*resources.CampaignFeed, error) + // Creates, updates, or removes campaign feeds. Operation statuses are + // returned. + MutateCampaignFeeds(context.Context, *MutateCampaignFeedsRequest) (*MutateCampaignFeedsResponse, error) +} + +func RegisterCampaignFeedServiceServer(s *grpc.Server, srv CampaignFeedServiceServer) { + s.RegisterService(&_CampaignFeedService_serviceDesc, srv) +} + +func _CampaignFeedService_GetCampaignFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignFeedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignFeedServiceServer).GetCampaignFeed(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignFeedService/GetCampaignFeed", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignFeedServiceServer).GetCampaignFeed(ctx, req.(*GetCampaignFeedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignFeedService_MutateCampaignFeeds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignFeedsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignFeedServiceServer).MutateCampaignFeeds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignFeedService/MutateCampaignFeeds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignFeedServiceServer).MutateCampaignFeeds(ctx, req.(*MutateCampaignFeedsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignFeedService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignFeedService", + HandlerType: (*CampaignFeedServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignFeed", + Handler: _CampaignFeedService_GetCampaignFeed_Handler, + }, + { + MethodName: "MutateCampaignFeeds", + Handler: _CampaignFeedService_MutateCampaignFeeds_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_feed_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_feed_service.proto", fileDescriptor_campaign_feed_service_0c772cfa4dcff26c) +} + +var fileDescriptor_campaign_feed_service_0c772cfa4dcff26c = []byte{ + // 595 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x4d, 0x2a, 0x2b, 0x3b, 0x51, 0x84, 0x59, 0x94, 0x10, 0x05, 0x4b, 0xf4, 0x50, 0x7a, + 0x98, 0xa9, 0x15, 0xa9, 0x74, 0xb7, 0x48, 0x2b, 0x6c, 0x77, 0x0f, 0xab, 0x4b, 0x94, 0x15, 0xa4, + 0x50, 0x66, 0x9b, 0xd7, 0x10, 0xb6, 0xc9, 0xc4, 0xcc, 0xa4, 0x97, 0x65, 0x2f, 0x7e, 0x03, 0x11, + 0xbc, 0xeb, 0xd1, 0xbb, 0x5f, 0xc2, 0x9b, 0x78, 0xf1, 0x03, 0xf8, 0x41, 0x24, 0x99, 0x4c, 0x6d, + 0xdd, 0x96, 0x6a, 0x6f, 0x2f, 0x93, 0xf7, 0x7e, 0xef, 0xcd, 0xff, 0xbd, 0x37, 0x68, 0x2f, 0xe0, + 0x3c, 0x98, 0x00, 0x65, 0xbe,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a7, 0xb3, 0x61, 0xb4, 0xea, 0xbd, 0xdb, 0x29, 0x6e, 0xd3, 0x72, 0x9b, 0xf9, 0x6d, + 0xfe, 0x94, 0x7f, 0x3e, 0xb7, 0xbd, 0x9d, 0xfa, 0xc5, 0xe2, 0x65, 0xda, 0x51, 0x01, 0x6c, 0x1b, + 0xf5, 0xde, 0x4f, 0x03, 0x3d, 0x18, 0xf1, 0x68, 0x6d, 0x0d, 0x3d, 0x7b, 0x49, 0x27, 0x8f, 0xf3, + 0x95, 0x3b, 0x36, 0xde, 0x1c, 0x94, 0xd1, 0x01, 0x9f, 0xb0, 0x38, 0x20, 0x3c, 0x0d, 0x68, 0x00, + 0x71, 0xb1, 0x90, 0xfa, 0x45, 0x4c, 0x42, 0xb1, 0xfa, 0x01, 0xde, 0xd5, 0xc6, 0x67, 0xb3, 0xd2, + 0xef, 0x76, 0xbf, 0x98, 0xd5, 0xbe, 0x02, 0x76, 0x7d, 0x41, 0x94, 0x99, 0x5b, 0x27, 0x0d, 0x52, + 0x26, 0x16, 0xdf, 0xb4, 0xcb, 0xa0, 0xeb, 0x8b, 0xc1, 0xcc, 0x65, 0x70, 0xd2, 0x18, 0x68, 0x97, + 0xd3, 0xad, 0xa2, 0x80, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xf8, 0x14, 0xa6, 0x00, + 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_group_service.pb.go new file mode 100644 index 000000000..2d4c1eac2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_group_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_group_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignGroupService.GetCampaignGroup][google.ads.googleads.v0.services.CampaignGroupService.GetCampaignGroup]. +type GetCampaignGroupRequest struct { + // The resource name of the campaign group to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignGroupRequest) Reset() { *m = GetCampaignGroupRequest{} } +func (m *GetCampaignGroupRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignGroupRequest) ProtoMessage() {} +func (*GetCampaignGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_service_c6f1b213514585b6, []int{0} +} +func (m *GetCampaignGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignGroupRequest.Unmarshal(m, b) +} +func (m *GetCampaignGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignGroupRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignGroupRequest.Merge(dst, src) +} +func (m *GetCampaignGroupRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignGroupRequest.Size(m) +} +func (m *GetCampaignGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignGroupRequest proto.InternalMessageInfo + +func (m *GetCampaignGroupRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v0.services.CampaignGroupService.MutateCampaignGroups]. +type MutateCampaignGroupsRequest struct { + // The ID of the customer whose campaign groups are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual campaign groups. + Operations []*CampaignGroupOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignGroupsRequest) Reset() { *m = MutateCampaignGroupsRequest{} } +func (m *MutateCampaignGroupsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignGroupsRequest) ProtoMessage() {} +func (*MutateCampaignGroupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_service_c6f1b213514585b6, []int{1} +} +func (m *MutateCampaignGroupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignGroupsRequest.Unmarshal(m, b) +} +func (m *MutateCampaignGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignGroupsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignGroupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignGroupsRequest.Merge(dst, src) +} +func (m *MutateCampaignGroupsRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignGroupsRequest.Size(m) +} +func (m *MutateCampaignGroupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignGroupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignGroupsRequest proto.InternalMessageInfo + +func (m *MutateCampaignGroupsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignGroupsRequest) GetOperations() []*CampaignGroupOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a campaign group. +type CampaignGroupOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignGroupOperation_Create + // *CampaignGroupOperation_Update + // *CampaignGroupOperation_Remove + Operation isCampaignGroupOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignGroupOperation) Reset() { *m = CampaignGroupOperation{} } +func (m *CampaignGroupOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignGroupOperation) ProtoMessage() {} +func (*CampaignGroupOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_service_c6f1b213514585b6, []int{2} +} +func (m *CampaignGroupOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignGroupOperation.Unmarshal(m, b) +} +func (m *CampaignGroupOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignGroupOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignGroupOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignGroupOperation.Merge(dst, src) +} +func (m *CampaignGroupOperation) XXX_Size() int { + return xxx_messageInfo_CampaignGroupOperation.Size(m) +} +func (m *CampaignGroupOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignGroupOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignGroupOperation proto.InternalMessageInfo + +func (m *CampaignGroupOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCampaignGroupOperation_Operation interface { + isCampaignGroupOperation_Operation() +} + +type CampaignGroupOperation_Create struct { + Create *resources.CampaignGroup `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignGroupOperation_Update struct { + Update *resources.CampaignGroup `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CampaignGroupOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignGroupOperation_Create) isCampaignGroupOperation_Operation() {} + +func (*CampaignGroupOperation_Update) isCampaignGroupOperation_Operation() {} + +func (*CampaignGroupOperation_Remove) isCampaignGroupOperation_Operation() {} + +func (m *CampaignGroupOperation) GetOperation() isCampaignGroupOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignGroupOperation) GetCreate() *resources.CampaignGroup { + if x, ok := m.GetOperation().(*CampaignGroupOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignGroupOperation) GetUpdate() *resources.CampaignGroup { + if x, ok := m.GetOperation().(*CampaignGroupOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CampaignGroupOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignGroupOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignGroupOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignGroupOperation_OneofMarshaler, _CampaignGroupOperation_OneofUnmarshaler, _CampaignGroupOperation_OneofSizer, []interface{}{ + (*CampaignGroupOperation_Create)(nil), + (*CampaignGroupOperation_Update)(nil), + (*CampaignGroupOperation_Remove)(nil), + } +} + +func _CampaignGroupOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignGroupOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignGroupOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignGroupOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CampaignGroupOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignGroupOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignGroupOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignGroupOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignGroup) + err := b.DecodeMessage(msg) + m.Operation = &CampaignGroupOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignGroup) + err := b.DecodeMessage(msg) + m.Operation = &CampaignGroupOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignGroupOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignGroupOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignGroupOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignGroupOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignGroupOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignGroupOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for campaign group mutate. +type MutateCampaignGroupsResponse struct { + // All results for the mutate. + Results []*MutateCampaignGroupResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignGroupsResponse) Reset() { *m = MutateCampaignGroupsResponse{} } +func (m *MutateCampaignGroupsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignGroupsResponse) ProtoMessage() {} +func (*MutateCampaignGroupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_service_c6f1b213514585b6, []int{3} +} +func (m *MutateCampaignGroupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignGroupsResponse.Unmarshal(m, b) +} +func (m *MutateCampaignGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignGroupsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignGroupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignGroupsResponse.Merge(dst, src) +} +func (m *MutateCampaignGroupsResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignGroupsResponse.Size(m) +} +func (m *MutateCampaignGroupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignGroupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignGroupsResponse proto.InternalMessageInfo + +func (m *MutateCampaignGroupsResponse) GetResults() []*MutateCampaignGroupResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the campaign group mutate. +type MutateCampaignGroupResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignGroupResult) Reset() { *m = MutateCampaignGroupResult{} } +func (m *MutateCampaignGroupResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignGroupResult) ProtoMessage() {} +func (*MutateCampaignGroupResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_group_service_c6f1b213514585b6, []int{4} +} +func (m *MutateCampaignGroupResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignGroupResult.Unmarshal(m, b) +} +func (m *MutateCampaignGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignGroupResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignGroupResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignGroupResult.Merge(dst, src) +} +func (m *MutateCampaignGroupResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignGroupResult.Size(m) +} +func (m *MutateCampaignGroupResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignGroupResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignGroupResult proto.InternalMessageInfo + +func (m *MutateCampaignGroupResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignGroupRequest)(nil), "google.ads.googleads.v0.services.GetCampaignGroupRequest") + proto.RegisterType((*MutateCampaignGroupsRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignGroupsRequest") + proto.RegisterType((*CampaignGroupOperation)(nil), "google.ads.googleads.v0.services.CampaignGroupOperation") + proto.RegisterType((*MutateCampaignGroupsResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignGroupsResponse") + proto.RegisterType((*MutateCampaignGroupResult)(nil), "google.ads.googleads.v0.services.MutateCampaignGroupResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignGroupServiceClient is the client API for CampaignGroupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignGroupServiceClient interface { + // Returns the requested campaign group in full detail. + GetCampaignGroup(ctx context.Context, in *GetCampaignGroupRequest, opts ...grpc.CallOption) (*resources.CampaignGroup, error) + // Creates, updates, or removes campaign groups. Operation statuses are + // returned. + MutateCampaignGroups(ctx context.Context, in *MutateCampaignGroupsRequest, opts ...grpc.CallOption) (*MutateCampaignGroupsResponse, error) +} + +type campaignGroupServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignGroupServiceClient(cc *grpc.ClientConn) CampaignGroupServiceClient { + return &campaignGroupServiceClient{cc} +} + +func (c *campaignGroupServiceClient) GetCampaignGroup(ctx context.Context, in *GetCampaignGroupRequest, opts ...grpc.CallOption) (*resources.CampaignGroup, error) { + out := new(resources.CampaignGroup) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignGroupService/GetCampaignGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignGroupServiceClient) MutateCampaignGroups(ctx context.Context, in *MutateCampaignGroupsRequest, opts ...grpc.CallOption) (*MutateCampaignGroupsResponse, error) { + out := new(MutateCampaignGroupsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignGroupService/MutateCampaignGroups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignGroupServiceServer is the server API for CampaignGroupService service. +type CampaignGroupServiceServer interface { + // Returns the requested campaign group in full detail. + GetCampaignGroup(context.Context, *GetCampaignGroupRequest) (*resources.CampaignGroup, error) + // Creates, updates, or removes campaign groups. Operation statuses are + // returned. + MutateCampaignGroups(context.Context, *MutateCampaignGroupsRequest) (*MutateCampaignGroupsResponse, error) +} + +func RegisterCampaignGroupServiceServer(s *grpc.Server, srv CampaignGroupServiceServer) { + s.RegisterService(&_CampaignGroupService_serviceDesc, srv) +} + +func _CampaignGroupService_GetCampaignGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignGroupServiceServer).GetCampaignGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignGroupService/GetCampaignGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignGroupServiceServer).GetCampaignGroup(ctx, req.(*GetCampaignGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignGroupService_MutateCampaignGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignGroupServiceServer).MutateCampaignGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignGroupService/MutateCampaignGroups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignGroupServiceServer).MutateCampaignGroups(ctx, req.(*MutateCampaignGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignGroupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignGroupService", + HandlerType: (*CampaignGroupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignGroup", + Handler: _CampaignGroupService_GetCampaignGroup_Handler, + }, + { + MethodName: "MutateCampaignGroups", + Handler: _CampaignGroupService_MutateCampaignGroups_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_group_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_group_service.proto", fileDescriptor_campaign_group_service_c6f1b213514585b6) +} + +var fileDescriptor_campaign_group_service_c6f1b213514585b6 = []byte{ + // 597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0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 0xa0, 0x80, 0xbd, 0x90, 0xbb, 0xca, 0x94, 0xd6, + 0x91, 0xef, 0x96, 0x89, 0xf9, 0x37, 0xed, 0x32, 0xec, 0x85, 0x7c, 0x38, 0x73, 0x19, 0x1e, 0xf9, + 0x43, 0xed, 0x72, 0xbc, 0x51, 0x14, 0xb0, 0xfb, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x61, 0x8d, 0x4c, + 0x3f, 0x15, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_service.pb.go new file mode 100644 index 000000000..3a7c0fde8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_service.pb.go @@ -0,0 +1,544 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignService.GetCampaign][google.ads.googleads.v0.services.CampaignService.GetCampaign]. +type GetCampaignRequest struct { + // The resource name of the campaign to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignRequest) Reset() { *m = GetCampaignRequest{} } +func (m *GetCampaignRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignRequest) ProtoMessage() {} +func (*GetCampaignRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_service_d0bd40746319e2f2, []int{0} +} +func (m *GetCampaignRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignRequest.Unmarshal(m, b) +} +func (m *GetCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignRequest.Merge(dst, src) +} +func (m *GetCampaignRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignRequest.Size(m) +} +func (m *GetCampaignRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignRequest proto.InternalMessageInfo + +func (m *GetCampaignRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignService.MutateCampaigns][google.ads.googleads.v0.services.CampaignService.MutateCampaigns]. +type MutateCampaignsRequest struct { + // The ID of the customer whose campaigns are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual campaigns. + Operations []*CampaignOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignsRequest) Reset() { *m = MutateCampaignsRequest{} } +func (m *MutateCampaignsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignsRequest) ProtoMessage() {} +func (*MutateCampaignsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_service_d0bd40746319e2f2, []int{1} +} +func (m *MutateCampaignsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignsRequest.Unmarshal(m, b) +} +func (m *MutateCampaignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignsRequest.Merge(dst, src) +} +func (m *MutateCampaignsRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignsRequest.Size(m) +} +func (m *MutateCampaignsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignsRequest proto.InternalMessageInfo + +func (m *MutateCampaignsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignsRequest) GetOperations() []*CampaignOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a campaign. +type CampaignOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignOperation_Create + // *CampaignOperation_Update + // *CampaignOperation_Remove + Operation isCampaignOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignOperation) Reset() { *m = CampaignOperation{} } +func (m *CampaignOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignOperation) ProtoMessage() {} +func (*CampaignOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_service_d0bd40746319e2f2, []int{2} +} +func (m *CampaignOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignOperation.Unmarshal(m, b) +} +func (m *CampaignOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignOperation.Merge(dst, src) +} +func (m *CampaignOperation) XXX_Size() int { + return xxx_messageInfo_CampaignOperation.Size(m) +} +func (m *CampaignOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignOperation proto.InternalMessageInfo + +func (m *CampaignOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCampaignOperation_Operation interface { + isCampaignOperation_Operation() +} + +type CampaignOperation_Create struct { + Create *resources.Campaign `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignOperation_Update struct { + Update *resources.Campaign `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CampaignOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignOperation_Create) isCampaignOperation_Operation() {} + +func (*CampaignOperation_Update) isCampaignOperation_Operation() {} + +func (*CampaignOperation_Remove) isCampaignOperation_Operation() {} + +func (m *CampaignOperation) GetOperation() isCampaignOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignOperation) GetCreate() *resources.Campaign { + if x, ok := m.GetOperation().(*CampaignOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignOperation) GetUpdate() *resources.Campaign { + if x, ok := m.GetOperation().(*CampaignOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CampaignOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignOperation_OneofMarshaler, _CampaignOperation_OneofUnmarshaler, _CampaignOperation_OneofSizer, []interface{}{ + (*CampaignOperation_Create)(nil), + (*CampaignOperation_Update)(nil), + (*CampaignOperation_Remove)(nil), + } +} + +func _CampaignOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CampaignOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.Campaign) + err := b.DecodeMessage(msg) + m.Operation = &CampaignOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.Campaign) + err := b.DecodeMessage(msg) + m.Operation = &CampaignOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for campaign mutate. +type MutateCampaignsResponse struct { + // All results for the mutate. + Results []*MutateCampaignResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignsResponse) Reset() { *m = MutateCampaignsResponse{} } +func (m *MutateCampaignsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignsResponse) ProtoMessage() {} +func (*MutateCampaignsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_service_d0bd40746319e2f2, []int{3} +} +func (m *MutateCampaignsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignsResponse.Unmarshal(m, b) +} +func (m *MutateCampaignsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignsResponse.Merge(dst, src) +} +func (m *MutateCampaignsResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignsResponse.Size(m) +} +func (m *MutateCampaignsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignsResponse proto.InternalMessageInfo + +func (m *MutateCampaignsResponse) GetResults() []*MutateCampaignResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the campaign mutate. +type MutateCampaignResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignResult) Reset() { *m = MutateCampaignResult{} } +func (m *MutateCampaignResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignResult) ProtoMessage() {} +func (*MutateCampaignResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_service_d0bd40746319e2f2, []int{4} +} +func (m *MutateCampaignResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignResult.Unmarshal(m, b) +} +func (m *MutateCampaignResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignResult.Merge(dst, src) +} +func (m *MutateCampaignResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignResult.Size(m) +} +func (m *MutateCampaignResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignResult proto.InternalMessageInfo + +func (m *MutateCampaignResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignRequest)(nil), "google.ads.googleads.v0.services.GetCampaignRequest") + proto.RegisterType((*MutateCampaignsRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignsRequest") + proto.RegisterType((*CampaignOperation)(nil), "google.ads.googleads.v0.services.CampaignOperation") + proto.RegisterType((*MutateCampaignsResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignsResponse") + proto.RegisterType((*MutateCampaignResult)(nil), "google.ads.googleads.v0.services.MutateCampaignResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignServiceClient is the client API for CampaignService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignServiceClient interface { + // Returns the requested campaign in full detail. + GetCampaign(ctx context.Context, in *GetCampaignRequest, opts ...grpc.CallOption) (*resources.Campaign, error) + // Creates, updates, or removes campaigns. Operation statuses are returned. + MutateCampaigns(ctx context.Context, in *MutateCampaignsRequest, opts ...grpc.CallOption) (*MutateCampaignsResponse, error) +} + +type campaignServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignServiceClient(cc *grpc.ClientConn) CampaignServiceClient { + return &campaignServiceClient{cc} +} + +func (c *campaignServiceClient) GetCampaign(ctx context.Context, in *GetCampaignRequest, opts ...grpc.CallOption) (*resources.Campaign, error) { + out := new(resources.Campaign) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignService/GetCampaign", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignServiceClient) MutateCampaigns(ctx context.Context, in *MutateCampaignsRequest, opts ...grpc.CallOption) (*MutateCampaignsResponse, error) { + out := new(MutateCampaignsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignService/MutateCampaigns", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignServiceServer is the server API for CampaignService service. +type CampaignServiceServer interface { + // Returns the requested campaign in full detail. + GetCampaign(context.Context, *GetCampaignRequest) (*resources.Campaign, error) + // Creates, updates, or removes campaigns. Operation statuses are returned. + MutateCampaigns(context.Context, *MutateCampaignsRequest) (*MutateCampaignsResponse, error) +} + +func RegisterCampaignServiceServer(s *grpc.Server, srv CampaignServiceServer) { + s.RegisterService(&_CampaignService_serviceDesc, srv) +} + +func _CampaignService_GetCampaign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignServiceServer).GetCampaign(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignService/GetCampaign", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignServiceServer).GetCampaign(ctx, req.(*GetCampaignRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignService_MutateCampaigns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignServiceServer).MutateCampaigns(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignService/MutateCampaigns", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignServiceServer).MutateCampaigns(ctx, req.(*MutateCampaignsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignService", + HandlerType: (*CampaignServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaign", + Handler: _CampaignService_GetCampaign_Handler, + }, + { + MethodName: "MutateCampaigns", + Handler: _CampaignService_MutateCampaigns_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_service.proto", fileDescriptor_campaign_service_d0bd40746319e2f2) +} + +var fileDescriptor_campaign_service_d0bd40746319e2f2 = []byte{ + // 585 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0x36, 0xa9, 0x54, 0xf6, 0x45, 0x59, 0x1c, 0x16, 0x0d, 0x45, 0xb0, 0x44, 0x0f, 0xa5, 0x8b, + 0x93, 0xd2, 0x8a, 0xda, 0x2d, 0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+} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_shared_set_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_shared_set_service.pb.go new file mode 100644 index 000000000..cdab53cb0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/campaign_shared_set_service.pb.go @@ -0,0 +1,498 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/campaign_shared_set_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v0.services.CampaignSharedSetService.GetCampaignSharedSet]. +type GetCampaignSharedSetRequest struct { + // The resource name of the campaign shared set to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCampaignSharedSetRequest) Reset() { *m = GetCampaignSharedSetRequest{} } +func (m *GetCampaignSharedSetRequest) String() string { return proto.CompactTextString(m) } +func (*GetCampaignSharedSetRequest) ProtoMessage() {} +func (*GetCampaignSharedSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_service_e990dcd14e355acc, []int{0} +} +func (m *GetCampaignSharedSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCampaignSharedSetRequest.Unmarshal(m, b) +} +func (m *GetCampaignSharedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCampaignSharedSetRequest.Marshal(b, m, deterministic) +} +func (dst *GetCampaignSharedSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCampaignSharedSetRequest.Merge(dst, src) +} +func (m *GetCampaignSharedSetRequest) XXX_Size() int { + return xxx_messageInfo_GetCampaignSharedSetRequest.Size(m) +} +func (m *GetCampaignSharedSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCampaignSharedSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCampaignSharedSetRequest proto.InternalMessageInfo + +func (m *GetCampaignSharedSetRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v0.services.CampaignSharedSetService.MutateCampaignSharedSets]. +type MutateCampaignSharedSetsRequest struct { + // The ID of the customer whose campaign shared sets are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual campaign shared sets. + Operations []*CampaignSharedSetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignSharedSetsRequest) Reset() { *m = MutateCampaignSharedSetsRequest{} } +func (m *MutateCampaignSharedSetsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignSharedSetsRequest) ProtoMessage() {} +func (*MutateCampaignSharedSetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_service_e990dcd14e355acc, []int{1} +} +func (m *MutateCampaignSharedSetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignSharedSetsRequest.Unmarshal(m, b) +} +func (m *MutateCampaignSharedSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignSharedSetsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignSharedSetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignSharedSetsRequest.Merge(dst, src) +} +func (m *MutateCampaignSharedSetsRequest) XXX_Size() int { + return xxx_messageInfo_MutateCampaignSharedSetsRequest.Size(m) +} +func (m *MutateCampaignSharedSetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignSharedSetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignSharedSetsRequest proto.InternalMessageInfo + +func (m *MutateCampaignSharedSetsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCampaignSharedSetsRequest) GetOperations() []*CampaignSharedSetOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, remove) on an campaign shared set. +type CampaignSharedSetOperation struct { + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CampaignSharedSetOperation_Create + // *CampaignSharedSetOperation_Remove + Operation isCampaignSharedSetOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CampaignSharedSetOperation) Reset() { *m = CampaignSharedSetOperation{} } +func (m *CampaignSharedSetOperation) String() string { return proto.CompactTextString(m) } +func (*CampaignSharedSetOperation) ProtoMessage() {} +func (*CampaignSharedSetOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_service_e990dcd14e355acc, []int{2} +} +func (m *CampaignSharedSetOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CampaignSharedSetOperation.Unmarshal(m, b) +} +func (m *CampaignSharedSetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CampaignSharedSetOperation.Marshal(b, m, deterministic) +} +func (dst *CampaignSharedSetOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CampaignSharedSetOperation.Merge(dst, src) +} +func (m *CampaignSharedSetOperation) XXX_Size() int { + return xxx_messageInfo_CampaignSharedSetOperation.Size(m) +} +func (m *CampaignSharedSetOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CampaignSharedSetOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CampaignSharedSetOperation proto.InternalMessageInfo + +type isCampaignSharedSetOperation_Operation interface { + isCampaignSharedSetOperation_Operation() +} + +type CampaignSharedSetOperation_Create struct { + Create *resources.CampaignSharedSet `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CampaignSharedSetOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CampaignSharedSetOperation_Create) isCampaignSharedSetOperation_Operation() {} + +func (*CampaignSharedSetOperation_Remove) isCampaignSharedSetOperation_Operation() {} + +func (m *CampaignSharedSetOperation) GetOperation() isCampaignSharedSetOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CampaignSharedSetOperation) GetCreate() *resources.CampaignSharedSet { + if x, ok := m.GetOperation().(*CampaignSharedSetOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CampaignSharedSetOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CampaignSharedSetOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CampaignSharedSetOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CampaignSharedSetOperation_OneofMarshaler, _CampaignSharedSetOperation_OneofUnmarshaler, _CampaignSharedSetOperation_OneofSizer, []interface{}{ + (*CampaignSharedSetOperation_Create)(nil), + (*CampaignSharedSetOperation_Remove)(nil), + } +} + +func _CampaignSharedSetOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CampaignSharedSetOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignSharedSetOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CampaignSharedSetOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CampaignSharedSetOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CampaignSharedSetOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CampaignSharedSetOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CampaignSharedSet) + err := b.DecodeMessage(msg) + m.Operation = &CampaignSharedSetOperation_Create{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CampaignSharedSetOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CampaignSharedSetOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CampaignSharedSetOperation) + // operation + switch x := m.Operation.(type) { + case *CampaignSharedSetOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CampaignSharedSetOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a campaign shared set mutate. +type MutateCampaignSharedSetsResponse struct { + // All results for the mutate. + Results []*MutateCampaignSharedSetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignSharedSetsResponse) Reset() { *m = MutateCampaignSharedSetsResponse{} } +func (m *MutateCampaignSharedSetsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignSharedSetsResponse) ProtoMessage() {} +func (*MutateCampaignSharedSetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_service_e990dcd14e355acc, []int{3} +} +func (m *MutateCampaignSharedSetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignSharedSetsResponse.Unmarshal(m, b) +} +func (m *MutateCampaignSharedSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignSharedSetsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignSharedSetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignSharedSetsResponse.Merge(dst, src) +} +func (m *MutateCampaignSharedSetsResponse) XXX_Size() int { + return xxx_messageInfo_MutateCampaignSharedSetsResponse.Size(m) +} +func (m *MutateCampaignSharedSetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignSharedSetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignSharedSetsResponse proto.InternalMessageInfo + +func (m *MutateCampaignSharedSetsResponse) GetResults() []*MutateCampaignSharedSetResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the campaign shared set mutate. +type MutateCampaignSharedSetResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCampaignSharedSetResult) Reset() { *m = MutateCampaignSharedSetResult{} } +func (m *MutateCampaignSharedSetResult) String() string { return proto.CompactTextString(m) } +func (*MutateCampaignSharedSetResult) ProtoMessage() {} +func (*MutateCampaignSharedSetResult) Descriptor() ([]byte, []int) { + return fileDescriptor_campaign_shared_set_service_e990dcd14e355acc, []int{4} +} +func (m *MutateCampaignSharedSetResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCampaignSharedSetResult.Unmarshal(m, b) +} +func (m *MutateCampaignSharedSetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCampaignSharedSetResult.Marshal(b, m, deterministic) +} +func (dst *MutateCampaignSharedSetResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCampaignSharedSetResult.Merge(dst, src) +} +func (m *MutateCampaignSharedSetResult) XXX_Size() int { + return xxx_messageInfo_MutateCampaignSharedSetResult.Size(m) +} +func (m *MutateCampaignSharedSetResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCampaignSharedSetResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCampaignSharedSetResult proto.InternalMessageInfo + +func (m *MutateCampaignSharedSetResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCampaignSharedSetRequest)(nil), "google.ads.googleads.v0.services.GetCampaignSharedSetRequest") + proto.RegisterType((*MutateCampaignSharedSetsRequest)(nil), "google.ads.googleads.v0.services.MutateCampaignSharedSetsRequest") + proto.RegisterType((*CampaignSharedSetOperation)(nil), "google.ads.googleads.v0.services.CampaignSharedSetOperation") + proto.RegisterType((*MutateCampaignSharedSetsResponse)(nil), "google.ads.googleads.v0.services.MutateCampaignSharedSetsResponse") + proto.RegisterType((*MutateCampaignSharedSetResult)(nil), "google.ads.googleads.v0.services.MutateCampaignSharedSetResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CampaignSharedSetServiceClient is the client API for CampaignSharedSetService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CampaignSharedSetServiceClient interface { + // Returns the requested campaign shared set in full detail. + GetCampaignSharedSet(ctx context.Context, in *GetCampaignSharedSetRequest, opts ...grpc.CallOption) (*resources.CampaignSharedSet, error) + // Creates or removes campaign shared sets. Operation statuses are returned. + MutateCampaignSharedSets(ctx context.Context, in *MutateCampaignSharedSetsRequest, opts ...grpc.CallOption) (*MutateCampaignSharedSetsResponse, error) +} + +type campaignSharedSetServiceClient struct { + cc *grpc.ClientConn +} + +func NewCampaignSharedSetServiceClient(cc *grpc.ClientConn) CampaignSharedSetServiceClient { + return &campaignSharedSetServiceClient{cc} +} + +func (c *campaignSharedSetServiceClient) GetCampaignSharedSet(ctx context.Context, in *GetCampaignSharedSetRequest, opts ...grpc.CallOption) (*resources.CampaignSharedSet, error) { + out := new(resources.CampaignSharedSet) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignSharedSetService/GetCampaignSharedSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *campaignSharedSetServiceClient) MutateCampaignSharedSets(ctx context.Context, in *MutateCampaignSharedSetsRequest, opts ...grpc.CallOption) (*MutateCampaignSharedSetsResponse, error) { + out := new(MutateCampaignSharedSetsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CampaignSharedSetService/MutateCampaignSharedSets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CampaignSharedSetServiceServer is the server API for CampaignSharedSetService service. +type CampaignSharedSetServiceServer interface { + // Returns the requested campaign shared set in full detail. + GetCampaignSharedSet(context.Context, *GetCampaignSharedSetRequest) (*resources.CampaignSharedSet, error) + // Creates or removes campaign shared sets. Operation statuses are returned. + MutateCampaignSharedSets(context.Context, *MutateCampaignSharedSetsRequest) (*MutateCampaignSharedSetsResponse, error) +} + +func RegisterCampaignSharedSetServiceServer(s *grpc.Server, srv CampaignSharedSetServiceServer) { + s.RegisterService(&_CampaignSharedSetService_serviceDesc, srv) +} + +func _CampaignSharedSetService_GetCampaignSharedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCampaignSharedSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignSharedSetServiceServer).GetCampaignSharedSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignSharedSetService/GetCampaignSharedSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignSharedSetServiceServer).GetCampaignSharedSet(ctx, req.(*GetCampaignSharedSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CampaignSharedSetService_MutateCampaignSharedSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCampaignSharedSetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CampaignSharedSetServiceServer).MutateCampaignSharedSets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CampaignSharedSetService/MutateCampaignSharedSets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CampaignSharedSetServiceServer).MutateCampaignSharedSets(ctx, req.(*MutateCampaignSharedSetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CampaignSharedSetService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CampaignSharedSetService", + HandlerType: (*CampaignSharedSetServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCampaignSharedSet", + Handler: _CampaignSharedSetService_GetCampaignSharedSet_Handler, + }, + { + MethodName: "MutateCampaignSharedSets", + Handler: _CampaignSharedSetService_MutateCampaignSharedSets_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/campaign_shared_set_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/campaign_shared_set_service.proto", fileDescriptor_campaign_shared_set_service_e990dcd14e355acc) +} + +var fileDescriptor_campaign_shared_set_service_e990dcd14e355acc = []byte{ + // 542 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x41, 0x6b, 0xd4, 0x40, + 0x14, 0xc7, 0xcd, 0x2e, 0x54, 0x3a, 0xab, 0x97, 0xc1, 0x43, 0x58, 0x2d, 0x5d, 0xa2, 0x87, 0xb2, + 0x87, 0xc9, 0xb2, 0x16, 0x85, 0x76, 0x17, 0x49, 0x14, 0xb6, 0x1e, 0xac, 0x25, 0x0b, 0x05, 0x25, + 0x10, 0xc6, 0xe4, 0x11, 0x03, 0x9b, 0x4c, 0x9c, 0x99, 0xec, 0xa5, 0xec, 0xc5, 0xaf, 0xd0, 0x2f, + 0x20, 0x1e, 0xfd, 0x26, 0x7a, 0xf0, 0xe2, 0xd9, 0x9b, 0x7e, 0x0f, 0x49, 0x26, 0x93, 0x56, 0xb6, + 0xe9, 0x4a, 0xbd, 0xbd, 0x64, 0xde, 0xfc, 0xde, 0xfb, 0xbf, 0x37, 0xef, 0x21, 0x37, 0x66, 0x2c, + 0x5e, 0x80, 0x4d, 0x23, 0x61, 0x2b, 0xb3, 0xb4, 0x96, 0x23, 0x5b, 0x00, 0x5f, 0x26, 0x21, 0x08, + 0x3b, 0xa4, 0x69, 0x4e, 0x93, 0x38, 0x0b, 0xc4, 0x7b, 0xca, 0x21, 0x0a, 0x04, 0xc8, 0xa0, 0x3e, + 0x24, 0x39, 0x67, 0x92, 0xe1, 0x81, 0xba, 0x48, 0x68, 0x24, 0x48, 0xc3, 0x20, 0xcb, 0x11, 0xd1, + 0x8c, 0xfe, 0x61, 0x5b, 0x14, 0x0e, 0x82, 0x15, 0xbc, 0x25, 0x8c, 0xc2, 0xf7, 0x1f, 0xe8, 0xcb, + 0x79, 0x62, 0xd3, 0x2c, 0x63, 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0, 0xf1, + 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0x01, 0x00, 0x4c, 0xbc, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/carrier_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/carrier_constant_service.pb.go new file mode 100644 index 000000000..376074019 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/carrier_constant_service.pb.go @@ -0,0 +1,173 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/carrier_constant_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v0.services.CarrierConstantService.GetCarrierConstant]. +type GetCarrierConstantRequest struct { + // Resource name of the carrier constant to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCarrierConstantRequest) Reset() { *m = GetCarrierConstantRequest{} } +func (m *GetCarrierConstantRequest) String() string { return proto.CompactTextString(m) } +func (*GetCarrierConstantRequest) ProtoMessage() {} +func (*GetCarrierConstantRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_carrier_constant_service_6ffed320151f7dbf, []int{0} +} +func (m *GetCarrierConstantRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCarrierConstantRequest.Unmarshal(m, b) +} +func (m *GetCarrierConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCarrierConstantRequest.Marshal(b, m, deterministic) +} +func (dst *GetCarrierConstantRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCarrierConstantRequest.Merge(dst, src) +} +func (m *GetCarrierConstantRequest) XXX_Size() int { + return xxx_messageInfo_GetCarrierConstantRequest.Size(m) +} +func (m *GetCarrierConstantRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCarrierConstantRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCarrierConstantRequest proto.InternalMessageInfo + +func (m *GetCarrierConstantRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCarrierConstantRequest)(nil), "google.ads.googleads.v0.services.GetCarrierConstantRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CarrierConstantServiceClient is the client API for CarrierConstantService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CarrierConstantServiceClient interface { + // Returns the requested carrier constant in full detail. + GetCarrierConstant(ctx context.Context, in *GetCarrierConstantRequest, opts ...grpc.CallOption) (*resources.CarrierConstant, error) +} + +type carrierConstantServiceClient struct { + cc *grpc.ClientConn +} + +func NewCarrierConstantServiceClient(cc *grpc.ClientConn) CarrierConstantServiceClient { + return &carrierConstantServiceClient{cc} +} + +func (c *carrierConstantServiceClient) GetCarrierConstant(ctx context.Context, in *GetCarrierConstantRequest, opts ...grpc.CallOption) (*resources.CarrierConstant, error) { + out := new(resources.CarrierConstant) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CarrierConstantService/GetCarrierConstant", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CarrierConstantServiceServer is the server API for CarrierConstantService service. +type CarrierConstantServiceServer interface { + // Returns the requested carrier constant in full detail. + GetCarrierConstant(context.Context, *GetCarrierConstantRequest) (*resources.CarrierConstant, error) +} + +func RegisterCarrierConstantServiceServer(s *grpc.Server, srv CarrierConstantServiceServer) { + s.RegisterService(&_CarrierConstantService_serviceDesc, srv) +} + +func _CarrierConstantService_GetCarrierConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCarrierConstantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CarrierConstantServiceServer).GetCarrierConstant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CarrierConstantService/GetCarrierConstant", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CarrierConstantServiceServer).GetCarrierConstant(ctx, req.(*GetCarrierConstantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CarrierConstantService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CarrierConstantService", + HandlerType: (*CarrierConstantServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCarrierConstant", + Handler: _CarrierConstantService_GetCarrierConstant_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/carrier_constant_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/carrier_constant_service.proto", fileDescriptor_carrier_constant_service_6ffed320151f7dbf) +} + +var fileDescriptor_carrier_constant_service_6ffed320151f7dbf = []byte{ + // 335 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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0x78, 0x48, 0xe8, 0xa1, 0x69, 0x55, 0xd2, 0x6b, 0xba, 0xfc, 0x64, 0x32, 0x93, 0x86, 0x90, 0x1a, + 0x28, 0xc0, 0xaa, 0x51, 0xbc, 0x64, 0x9b, 0x8c, 0xaa, 0xb6, 0x58, 0x5f, 0xab, 0xd6, 0xe9, 0x36, + 0x23, 0x97, 0x4a, 0x72, 0x7e, 0x2e, 0x41, 0x67, 0x3a, 0x49, 0x63, 0xf7, 0x78, 0x00, 0x28, 0x68, + 0x03, 0x18, 0xa3, 0x3c, 0xa0, 0x06, 0xa4, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5, + 0xeb, 0xa7, 0xa7, 0xe6, 0x81, 0x03, 0x1e, 0x16, 0x89, 0x05, 0x99, 0xc5, 0xb8, 0x93, 0x8d, 0x35, + 0x8c, 0xb1, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71, 0x15, 0x93, 0x82, 0x3b, 0xc4, 0x40, 0xc7, 0x94, + 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0, 0x83, 0x5a, 0x5c, 0x7c, 0x0a, 0xa6, 0x24, 0xc6, + 0x31, 0xa5, 0x38, 0x06, 0xae, 0x24, 0x26, 0xcc, 0x20, 0x06, 0xa6, 0x24, 0x89, 0x0d, 0xec, 0x00, + 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x47, 0xb5, 0xfd, 0xa7, 0xb6, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/change_status_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/change_status_service.pb.go new file mode 100644 index 000000000..494adc5e4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/change_status_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/change_status_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v0.services.ChangeStatusService.GetChangeStatus]'. +type GetChangeStatusRequest struct { + // The resource name of the change status to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetChangeStatusRequest) Reset() { *m = GetChangeStatusRequest{} } +func (m *GetChangeStatusRequest) String() string { return proto.CompactTextString(m) } +func (*GetChangeStatusRequest) ProtoMessage() {} +func (*GetChangeStatusRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_change_status_service_2dac1c94f57649f6, []int{0} +} +func (m *GetChangeStatusRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetChangeStatusRequest.Unmarshal(m, b) +} +func (m *GetChangeStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetChangeStatusRequest.Marshal(b, m, deterministic) +} +func (dst *GetChangeStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetChangeStatusRequest.Merge(dst, src) +} +func (m *GetChangeStatusRequest) XXX_Size() int { + return xxx_messageInfo_GetChangeStatusRequest.Size(m) +} +func (m *GetChangeStatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetChangeStatusRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetChangeStatusRequest proto.InternalMessageInfo + +func (m *GetChangeStatusRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetChangeStatusRequest)(nil), "google.ads.googleads.v0.services.GetChangeStatusRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ChangeStatusServiceClient is the client API for ChangeStatusService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ChangeStatusServiceClient interface { + // Returns the requested change status in full detail. + GetChangeStatus(ctx context.Context, in *GetChangeStatusRequest, opts ...grpc.CallOption) (*resources.ChangeStatus, error) +} + +type changeStatusServiceClient struct { + cc *grpc.ClientConn +} + +func NewChangeStatusServiceClient(cc *grpc.ClientConn) ChangeStatusServiceClient { + return &changeStatusServiceClient{cc} +} + +func (c *changeStatusServiceClient) GetChangeStatus(ctx context.Context, in *GetChangeStatusRequest, opts ...grpc.CallOption) (*resources.ChangeStatus, error) { + out := new(resources.ChangeStatus) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ChangeStatusService/GetChangeStatus", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ChangeStatusServiceServer is the server API for ChangeStatusService service. +type ChangeStatusServiceServer interface { + // Returns the requested change status in full detail. + GetChangeStatus(context.Context, *GetChangeStatusRequest) (*resources.ChangeStatus, error) +} + +func RegisterChangeStatusServiceServer(s *grpc.Server, srv ChangeStatusServiceServer) { + s.RegisterService(&_ChangeStatusService_serviceDesc, srv) +} + +func _ChangeStatusService_GetChangeStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetChangeStatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChangeStatusServiceServer).GetChangeStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.ChangeStatusService/GetChangeStatus", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChangeStatusServiceServer).GetChangeStatus(ctx, req.(*GetChangeStatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ChangeStatusService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.ChangeStatusService", + HandlerType: (*ChangeStatusServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetChangeStatus", + Handler: _ChangeStatusService_GetChangeStatus_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/change_status_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/change_status_service.proto", fileDescriptor_change_status_service_2dac1c94f57649f6) +} + +var fileDescriptor_change_status_service_2dac1c94f57649f6 = []byte{ + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xe4, 0x8c, 0xc4, 0xbc, 0xf4, 0xd4, 0xf8, 0xe2, 0x92, + 0xc4, 0x92, 0xd2, 0xe2, 0x78, 0xa8, 0xb0, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, 0x44, + 0x8b, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xb7, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 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 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0x70, 0x70, 0xc3, 0xe2, 0xad, + 0x20, 0xb3, 0x18, 0x77, 0x32, 0xb1, 0x86, 0x31, 0x16, 0x31, 0x31, 0xbb, 0x3b, 0x3a, 0xae, 0x62, + 0x52, 0x70, 0x87, 0x18, 0xe8, 0x98, 0x52, 0xac, 0x07, 0x61, 0x82, 0x58, 0x61, 0x06, 0x7a, 0x50, + 0x8b, 0x8b, 0x4f, 0xc1, 0x94, 0xc4, 0x38, 0xa6, 0x14, 0xc7, 0xc0, 0x95, 0xc4, 0x84, 0x19, 0xc4, + 0xc0, 0x94, 0x24, 0xb1, 0x81, 0x1d, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x60, 0xd2, + 0x4a, 0xa6, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/conversion_action_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/conversion_action_service.pb.go new file mode 100644 index 000000000..141e3a2f2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/conversion_action_service.pb.go @@ -0,0 +1,547 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/conversion_action_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [ConversionActionService.GetConversionAction]. +type GetConversionActionRequest struct { + // The resource name of the conversion action to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetConversionActionRequest) Reset() { *m = GetConversionActionRequest{} } +func (m *GetConversionActionRequest) String() string { return proto.CompactTextString(m) } +func (*GetConversionActionRequest) ProtoMessage() {} +func (*GetConversionActionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_service_1d30046f4e1a0823, []int{0} +} +func (m *GetConversionActionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetConversionActionRequest.Unmarshal(m, b) +} +func (m *GetConversionActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetConversionActionRequest.Marshal(b, m, deterministic) +} +func (dst *GetConversionActionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConversionActionRequest.Merge(dst, src) +} +func (m *GetConversionActionRequest) XXX_Size() int { + return xxx_messageInfo_GetConversionActionRequest.Size(m) +} +func (m *GetConversionActionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetConversionActionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetConversionActionRequest proto.InternalMessageInfo + +func (m *GetConversionActionRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [ConversionActionService.MutateConversionActions]. +type MutateConversionActionsRequest struct { + // The ID of the customer whose conversion actions are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual conversion actions. + Operations []*ConversionActionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateConversionActionsRequest) Reset() { *m = MutateConversionActionsRequest{} } +func (m *MutateConversionActionsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateConversionActionsRequest) ProtoMessage() {} +func (*MutateConversionActionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_service_1d30046f4e1a0823, []int{1} +} +func (m *MutateConversionActionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateConversionActionsRequest.Unmarshal(m, b) +} +func (m *MutateConversionActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateConversionActionsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateConversionActionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateConversionActionsRequest.Merge(dst, src) +} +func (m *MutateConversionActionsRequest) XXX_Size() int { + return xxx_messageInfo_MutateConversionActionsRequest.Size(m) +} +func (m *MutateConversionActionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateConversionActionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateConversionActionsRequest proto.InternalMessageInfo + +func (m *MutateConversionActionsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateConversionActionsRequest) GetOperations() []*ConversionActionOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a conversion action. +type ConversionActionOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *ConversionActionOperation_Create + // *ConversionActionOperation_Update + // *ConversionActionOperation_Remove + Operation isConversionActionOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConversionActionOperation) Reset() { *m = ConversionActionOperation{} } +func (m *ConversionActionOperation) String() string { return proto.CompactTextString(m) } +func (*ConversionActionOperation) ProtoMessage() {} +func (*ConversionActionOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_service_1d30046f4e1a0823, []int{2} +} +func (m *ConversionActionOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConversionActionOperation.Unmarshal(m, b) +} +func (m *ConversionActionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConversionActionOperation.Marshal(b, m, deterministic) +} +func (dst *ConversionActionOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConversionActionOperation.Merge(dst, src) +} +func (m *ConversionActionOperation) XXX_Size() int { + return xxx_messageInfo_ConversionActionOperation.Size(m) +} +func (m *ConversionActionOperation) XXX_DiscardUnknown() { + xxx_messageInfo_ConversionActionOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_ConversionActionOperation proto.InternalMessageInfo + +func (m *ConversionActionOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isConversionActionOperation_Operation interface { + isConversionActionOperation_Operation() +} + +type ConversionActionOperation_Create struct { + Create *resources.ConversionAction `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type ConversionActionOperation_Update struct { + Update *resources.ConversionAction `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type ConversionActionOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*ConversionActionOperation_Create) isConversionActionOperation_Operation() {} + +func (*ConversionActionOperation_Update) isConversionActionOperation_Operation() {} + +func (*ConversionActionOperation_Remove) isConversionActionOperation_Operation() {} + +func (m *ConversionActionOperation) GetOperation() isConversionActionOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *ConversionActionOperation) GetCreate() *resources.ConversionAction { + if x, ok := m.GetOperation().(*ConversionActionOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *ConversionActionOperation) GetUpdate() *resources.ConversionAction { + if x, ok := m.GetOperation().(*ConversionActionOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *ConversionActionOperation) GetRemove() string { + if x, ok := m.GetOperation().(*ConversionActionOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ConversionActionOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ConversionActionOperation_OneofMarshaler, _ConversionActionOperation_OneofUnmarshaler, _ConversionActionOperation_OneofSizer, []interface{}{ + (*ConversionActionOperation_Create)(nil), + (*ConversionActionOperation_Update)(nil), + (*ConversionActionOperation_Remove)(nil), + } +} + +func _ConversionActionOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ConversionActionOperation) + // operation + switch x := m.Operation.(type) { + case *ConversionActionOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *ConversionActionOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *ConversionActionOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("ConversionActionOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _ConversionActionOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ConversionActionOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.ConversionAction) + err := b.DecodeMessage(msg) + m.Operation = &ConversionActionOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.ConversionAction) + err := b.DecodeMessage(msg) + m.Operation = &ConversionActionOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &ConversionActionOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _ConversionActionOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ConversionActionOperation) + // operation + switch x := m.Operation.(type) { + case *ConversionActionOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ConversionActionOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ConversionActionOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for conversion action mutate. +type MutateConversionActionsResponse struct { + // All results for the mutate. + Results []*MutateConversionActionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateConversionActionsResponse) Reset() { *m = MutateConversionActionsResponse{} } +func (m *MutateConversionActionsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateConversionActionsResponse) ProtoMessage() {} +func (*MutateConversionActionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_service_1d30046f4e1a0823, []int{3} +} +func (m *MutateConversionActionsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateConversionActionsResponse.Unmarshal(m, b) +} +func (m *MutateConversionActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateConversionActionsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateConversionActionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateConversionActionsResponse.Merge(dst, src) +} +func (m *MutateConversionActionsResponse) XXX_Size() int { + return xxx_messageInfo_MutateConversionActionsResponse.Size(m) +} +func (m *MutateConversionActionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateConversionActionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateConversionActionsResponse proto.InternalMessageInfo + +func (m *MutateConversionActionsResponse) GetResults() []*MutateConversionActionResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the conversion action mutate. +type MutateConversionActionResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateConversionActionResult) Reset() { *m = MutateConversionActionResult{} } +func (m *MutateConversionActionResult) String() string { return proto.CompactTextString(m) } +func (*MutateConversionActionResult) ProtoMessage() {} +func (*MutateConversionActionResult) Descriptor() ([]byte, []int) { + return fileDescriptor_conversion_action_service_1d30046f4e1a0823, []int{4} +} +func (m *MutateConversionActionResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateConversionActionResult.Unmarshal(m, b) +} +func (m *MutateConversionActionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateConversionActionResult.Marshal(b, m, deterministic) +} +func (dst *MutateConversionActionResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateConversionActionResult.Merge(dst, src) +} +func (m *MutateConversionActionResult) XXX_Size() int { + return xxx_messageInfo_MutateConversionActionResult.Size(m) +} +func (m *MutateConversionActionResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateConversionActionResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateConversionActionResult proto.InternalMessageInfo + +func (m *MutateConversionActionResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetConversionActionRequest)(nil), "google.ads.googleads.v0.services.GetConversionActionRequest") + proto.RegisterType((*MutateConversionActionsRequest)(nil), "google.ads.googleads.v0.services.MutateConversionActionsRequest") + proto.RegisterType((*ConversionActionOperation)(nil), "google.ads.googleads.v0.services.ConversionActionOperation") + proto.RegisterType((*MutateConversionActionsResponse)(nil), "google.ads.googleads.v0.services.MutateConversionActionsResponse") + proto.RegisterType((*MutateConversionActionResult)(nil), "google.ads.googleads.v0.services.MutateConversionActionResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ConversionActionServiceClient is the client API for ConversionActionService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ConversionActionServiceClient interface { + // Returns the requested conversion action. + GetConversionAction(ctx context.Context, in *GetConversionActionRequest, opts ...grpc.CallOption) (*resources.ConversionAction, error) + // Creates, updates or removes conversion actions. Operation statuses are + // returned. + MutateConversionActions(ctx context.Context, in *MutateConversionActionsRequest, opts ...grpc.CallOption) (*MutateConversionActionsResponse, error) +} + +type conversionActionServiceClient struct { + cc *grpc.ClientConn +} + +func NewConversionActionServiceClient(cc *grpc.ClientConn) ConversionActionServiceClient { + return &conversionActionServiceClient{cc} +} + +func (c *conversionActionServiceClient) GetConversionAction(ctx context.Context, in *GetConversionActionRequest, opts ...grpc.CallOption) (*resources.ConversionAction, error) { + out := new(resources.ConversionAction) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ConversionActionService/GetConversionAction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *conversionActionServiceClient) MutateConversionActions(ctx context.Context, in *MutateConversionActionsRequest, opts ...grpc.CallOption) (*MutateConversionActionsResponse, error) { + out := new(MutateConversionActionsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ConversionActionService/MutateConversionActions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ConversionActionServiceServer is the server API for ConversionActionService service. +type ConversionActionServiceServer interface { + // Returns the requested conversion action. + GetConversionAction(context.Context, *GetConversionActionRequest) (*resources.ConversionAction, error) + // Creates, updates or removes conversion actions. Operation statuses are + // returned. + MutateConversionActions(context.Context, *MutateConversionActionsRequest) (*MutateConversionActionsResponse, error) +} + +func RegisterConversionActionServiceServer(s *grpc.Server, srv ConversionActionServiceServer) { + s.RegisterService(&_ConversionActionService_serviceDesc, srv) +} + +func _ConversionActionService_GetConversionAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetConversionActionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ConversionActionServiceServer).GetConversionAction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.ConversionActionService/GetConversionAction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ConversionActionServiceServer).GetConversionAction(ctx, req.(*GetConversionActionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ConversionActionService_MutateConversionActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateConversionActionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ConversionActionServiceServer).MutateConversionActions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.ConversionActionService/MutateConversionActions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ConversionActionServiceServer).MutateConversionActions(ctx, req.(*MutateConversionActionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ConversionActionService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.ConversionActionService", + HandlerType: (*ConversionActionServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetConversionAction", + Handler: _ConversionActionService_GetConversionAction_Handler, + }, + { + MethodName: "MutateConversionActions", + Handler: _ConversionActionService_MutateConversionActions_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/conversion_action_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/conversion_action_service.proto", fileDescriptor_conversion_action_service_1d30046f4e1a0823) +} + +var fileDescriptor_conversion_action_service_1d30046f4e1a0823 = []byte{ + // 595 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0xb1, 0x83, 0x82, 0x7a, 0x86, 0xe5, 0x18, 0x6a, 0xac, 0x88, 0x46, 0x86, 0x21, 0xca, + 0x60, 0x47, 0x89, 0x40, 0xa2, 0xa1, 0xa8, 0x4e, 0x25, 0x52, 0x86, 0x40, 0x65, 0xa4, 0x0a, 0x41, + 0xa4, 0xe8, 0x6a, 0x5f, 0x2d, 0xab, 0xb1, 0xcf, 0xdc, 0x9d, 0xb3, 0x44, 0x5d, 0xf8, 0x17, 0x98, + 0x61, 0x60, 0xe4, 0xff, 0xe8, 0xc2, 0xca, 0xca, 0x82, 0xc4, 0x1f, 0x82, 0xce, 0xe7, 0x0b, 0x21, + 0x8d, 0x09, 0x6a, 0x27, 0x3f, 0xfb, 0xbd, 0xfb, 0xbc, 0x1f, 0xdf, 0x7b, 0x06, 0xfb, 0x11, 0x21, + 0xd1, 0x14, 0xbb, 0x28, 0x64, 0xae, 0x34, 0x85, 0x35, 0xeb, 0xb8, 0x0c, 0xd3, 0x59, 0x1c, 0x60, + 0xe6, 0x06, 0x24, 0x9d, 0x61, 0xca, 0x62, 0x92, 0x4e, 0x50, 0xc0, 0xc5, 0xa3, 0x74, 0x39, 0x19, + 0x25, 0x9c, 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a, 0xf0, + 0xae, 0xd6, 0x1e, 0xfc, 0xd0, 0xc0, 0xc3, 0x80, 0x24, 0x1b, 0x6b, 0x19, 0x34, 0x2a, 0xd4, 0x3e, + 0x12, 0xeb, 0x7a, 0xa4, 0xbd, 0x3d, 0x2c, 0x09, 0x11, 0x99, 0xa2, 0x34, 0x72, 0x08, 0x8d, 0xdc, + 0x08, 0xa7, 0xc5, 0x32, 0xab, 0x3f, 0x6c, 0x16, 0xb3, 0xea, 0x9f, 0x7a, 0x5f, 0x19, 0x5f, 0xf4, + 0xda, 0xd0, 0xf3, 0xbe, 0xea, 0xcd, 0xa1, 0x04, 0x7a, 0x21, 0x73, 0xa4, 0x29, 0xac, 0xe3, 0x8e, + 0x53, 0x26, 0x66, 0xdf, 0x54, 0xc8, 0xd8, 0x0b, 0xd9, 0x78, 0x11, 0x32, 0x3e, 0xee, 0x8c, 0x55, + 0xc8, 0x49, 0xbd, 0x28, 0xa0, 0xf7, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xb4, 0xca, 0x03, 0x54, + 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_link_service.pb.go new file mode 100644 index 000000000..ddeb6412a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_link_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/customer_client_link_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v0.services.CustomerClientLinkService.GetCustomerClientLink]. +type GetCustomerClientLinkRequest struct { + // The resource name of the customer client link to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCustomerClientLinkRequest) Reset() { *m = GetCustomerClientLinkRequest{} } +func (m *GetCustomerClientLinkRequest) String() string { return proto.CompactTextString(m) } +func (*GetCustomerClientLinkRequest) ProtoMessage() {} +func (*GetCustomerClientLinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_client_link_service_9bdafa43d925b47f, []int{0} +} +func (m *GetCustomerClientLinkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCustomerClientLinkRequest.Unmarshal(m, b) +} +func (m *GetCustomerClientLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCustomerClientLinkRequest.Marshal(b, m, deterministic) +} +func (dst *GetCustomerClientLinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomerClientLinkRequest.Merge(dst, src) +} +func (m *GetCustomerClientLinkRequest) XXX_Size() int { + return xxx_messageInfo_GetCustomerClientLinkRequest.Size(m) +} +func (m *GetCustomerClientLinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomerClientLinkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomerClientLinkRequest proto.InternalMessageInfo + +func (m *GetCustomerClientLinkRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCustomerClientLinkRequest)(nil), "google.ads.googleads.v0.services.GetCustomerClientLinkRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CustomerClientLinkServiceClient is the client API for CustomerClientLinkService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CustomerClientLinkServiceClient interface { + // Returns the requested CustomerClientLink in full detail. + GetCustomerClientLink(ctx context.Context, in *GetCustomerClientLinkRequest, opts ...grpc.CallOption) (*resources.CustomerClientLink, error) +} + +type customerClientLinkServiceClient struct { + cc *grpc.ClientConn +} + +func NewCustomerClientLinkServiceClient(cc *grpc.ClientConn) CustomerClientLinkServiceClient { + return &customerClientLinkServiceClient{cc} +} + +func (c *customerClientLinkServiceClient) GetCustomerClientLink(ctx context.Context, in *GetCustomerClientLinkRequest, opts ...grpc.CallOption) (*resources.CustomerClientLink, error) { + out := new(resources.CustomerClientLink) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerClientLinkService/GetCustomerClientLink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CustomerClientLinkServiceServer is the server API for CustomerClientLinkService service. +type CustomerClientLinkServiceServer interface { + // Returns the requested CustomerClientLink in full detail. + GetCustomerClientLink(context.Context, *GetCustomerClientLinkRequest) (*resources.CustomerClientLink, error) +} + +func RegisterCustomerClientLinkServiceServer(s *grpc.Server, srv CustomerClientLinkServiceServer) { + s.RegisterService(&_CustomerClientLinkService_serviceDesc, srv) +} + +func _CustomerClientLinkService_GetCustomerClientLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomerClientLinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerClientLinkServiceServer).GetCustomerClientLink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerClientLinkService/GetCustomerClientLink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerClientLinkServiceServer).GetCustomerClientLink(ctx, req.(*GetCustomerClientLinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CustomerClientLinkService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CustomerClientLinkService", + HandlerType: (*CustomerClientLinkServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCustomerClientLink", + Handler: _CustomerClientLinkService_GetCustomerClientLink_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/customer_client_link_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/customer_client_link_service.proto", fileDescriptor_customer_client_link_service_9bdafa43d925b47f) +} + +var fileDescriptor_customer_client_link_service_9bdafa43d925b47f = []byte{ + // 349 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xc3, 0x40, + 0x18, 0x27, 0x15, 0x04, 0x83, 0x2e, 0x01, 0x41, 0x4b, 0x91, 0x52, 0x1d, 0xa4, 0xc3, 0x5d, 0x50, + 0x8a, 0x83, 0x56, 0x48, 0x33, 0xd4, 0x41, 0xa4, 0x54, 0xe8, 0x20, 0x81, 0x70, 0x26, 0x47, 0x38, + 0x9a, 0xdc, 0xd5, 0xfb, 0xae, 0x5d, 0xc4, 0xc5, 0x57, 0xf0, 0x0d, 0x1c, 0x7d, 0x14, 0xc1, 0xc9, + 0xdd, 0xc9, 0xcd, 0x97, 0x90, 0xe4, 0x72, 0x11, 0xa9, 0xb1, 0xdb, 0x8f, 0xdc, 0xf7, 0xfb, 0xf3, + 0xfd, 0xbe, 0xd8, 0x7e,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, 0x4e, 0x46, 0x79, 0xf7, + 0x23, 0xeb, 0xe6, 0xa2, 0xd4, 0x48, 0x44, 0x4a, 0x78, 0x82, 0x84, 0x4c, 0x70, 0x42, 0x79, 0x71, + 0x19, 0x73, 0xe9, 0x19, 0x83, 0xfa, 0xff, 0xeb, 0xd4, 0x80, 0xe7, 0xc6, 0xda, 0xd0, 0xf3, 0x5e, + 0x1a, 0xed, 0xa1, 0x16, 0xf4, 0x62, 0x40, 0x1a, 0xe6, 0x68, 0xe2, 0xa2, 0xd2, 0x18, 0x5e, 0xcd, + 0x48, 0xe0, 0xc5, 0x10, 0x54, 0x23, 0xc1, 0xc4, 0x0d, 0xcc, 0xc8, 0xed, 0x7a, 0x11, 0xe0, 0xf8, + 0x3b, 0x00, 0x00, 0xff, 0xff, 0x53, 0x7b, 0xfc, 0x03, 0xdf, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_service.pb.go new file mode 100644 index 000000000..0a06830e4 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_client_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/customer_client_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CustomerClientService.GetCustomerClient][google.ads.googleads.v0.services.CustomerClientService.GetCustomerClient]. +type GetCustomerClientRequest struct { + // The resource name of the customer client to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCustomerClientRequest) Reset() { *m = GetCustomerClientRequest{} } +func (m *GetCustomerClientRequest) String() string { return proto.CompactTextString(m) } +func (*GetCustomerClientRequest) ProtoMessage() {} +func (*GetCustomerClientRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_client_service_528cdd682e78fa39, []int{0} +} +func (m *GetCustomerClientRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCustomerClientRequest.Unmarshal(m, b) +} +func (m *GetCustomerClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCustomerClientRequest.Marshal(b, m, deterministic) +} +func (dst *GetCustomerClientRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomerClientRequest.Merge(dst, src) +} +func (m *GetCustomerClientRequest) XXX_Size() int { + return xxx_messageInfo_GetCustomerClientRequest.Size(m) +} +func (m *GetCustomerClientRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomerClientRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomerClientRequest proto.InternalMessageInfo + +func (m *GetCustomerClientRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCustomerClientRequest)(nil), "google.ads.googleads.v0.services.GetCustomerClientRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CustomerClientServiceClient is the client API for CustomerClientService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CustomerClientServiceClient interface { + // Returns the requested customer client in full detail. + GetCustomerClient(ctx context.Context, in *GetCustomerClientRequest, opts ...grpc.CallOption) (*resources.CustomerClient, error) +} + +type customerClientServiceClient struct { + cc *grpc.ClientConn +} + +func NewCustomerClientServiceClient(cc *grpc.ClientConn) CustomerClientServiceClient { + return &customerClientServiceClient{cc} +} + +func (c *customerClientServiceClient) GetCustomerClient(ctx context.Context, in *GetCustomerClientRequest, opts ...grpc.CallOption) (*resources.CustomerClient, error) { + out := new(resources.CustomerClient) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerClientService/GetCustomerClient", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CustomerClientServiceServer is the server API for CustomerClientService service. +type CustomerClientServiceServer interface { + // Returns the requested customer client in full detail. + GetCustomerClient(context.Context, *GetCustomerClientRequest) (*resources.CustomerClient, error) +} + +func RegisterCustomerClientServiceServer(s *grpc.Server, srv CustomerClientServiceServer) { + s.RegisterService(&_CustomerClientService_serviceDesc, srv) +} + +func _CustomerClientService_GetCustomerClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomerClientRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerClientServiceServer).GetCustomerClient(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerClientService/GetCustomerClient", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerClientServiceServer).GetCustomerClient(ctx, req.(*GetCustomerClientRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CustomerClientService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CustomerClientService", + HandlerType: (*CustomerClientServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCustomerClient", + Handler: _CustomerClientService_GetCustomerClient_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/customer_client_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/customer_client_service.proto", fileDescriptor_customer_client_service_528cdd682e78fa39) +} + +var fileDescriptor_customer_client_service_528cdd682e78fa39 = []byte{ + // 340 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xe4, 0xd2, 0xe2, 0x92, 0xfc, 0xdc, 0xd4, 0xa2, 0xf8, + 0xe4, 0x9c, 0xcc, 0xd4, 0xbc, 0x92, 0x78, 0xa8, 0x84, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, + 0x02, 0x44, 0x93, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xbf, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 0xbf, + 0x94, 0x39, 0x2e, 0x1b, 0x8a, 0x52, 0x8b, 0xf3, 0x4b, 0x8b, 0xb0, 0x58, 0x01, 0x31, 0x5a, 0x4a, + 0x06, 0xa6, 0xb1, 0x20, 0x53, 0x3f, 0x31, 0x2f, 0x2f, 0xbf, 0x24, 0xb1, 0x24, 0x33, 0x3f, 0xaf, + 0x18, 0x22, 0xab, 0x64, 0xcf, 0x25, 0xe1, 0x9e, 0x5a, 0xe2, 0x0c, 0xd5, 0xe9, 0x0c, 0xd6, 0x18, + 0x94, 0x5a, 0x58, 0x9a, 0x5a, 0x5c, 0x22, 0xa4, 0xcc, 0xc5, 0x0b, 0x33, 0x3c, 0x3e, 0x2f, 0x31, + 0x37, 0x55, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x88, 0x07, 0x26, 0xe8, 0x97, 0x98, 0x9b, 0x6a, + 0x74, 0x9d, 0x91, 0x4b, 0x14, 0x55, 0x7b, 0x30, 0xc4, 0xc9, 0x42, 0x7b, 0x19, 0xb9, 0x04, 0x31, + 0xcc, 0x16, 0xb2, 0xd2, 0x23, 0xe4, 0x55, 0x3d, 0x5c, 0x0e, 0x92, 0x32, 0xc4, 0xa9, 0x17, 0x1e, + 0x08, 0x7a, 0xa8, 0x3a, 0x95, 0x2c, 0x9b, 0x2e, 0x3f, 0x99, 0xcc, 0x64, 0x2c, 0x64, 0x08, 0x0a, + 0xaa, 0x6a, 0x14, 0xef, 0xd8, 0xc2, 0xc2, 0xab, 0x58, 0x5f, 0x0b, 0x1e, 0x76, 0x10, 0x6d, 0xc5, + 0xfa, 0x5a, 0xb5, 0x4e, 0xb7, 0x18, 0xb9, 0x54, 0x92, 0xf3, 0x73, 0x09, 0xba, 0xd7, 0x49, 0x0a, + 0xab, 0xff, 0x03, 0x40, 0xe1, 0x1b, 0xc0, 0x18, 0xe5, 0x01, 0xd5, 0x9f, 0x9e, 0x9f, 0x93, 0x98, + 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0x0e, 0x7d, 0x58, 0x44, 0x16, 0x64, + 0x16, 0xe3, 0x4e, 0x39, 0xd6, 0x30, 0xc6, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0x0a, + 0xee, 0x10, 0x03, 0x1d, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0x6a, 0x71, + 0xf1, 0x29, 0x98, 0x92, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x92, 0x98, 0x30, 0x83, 0x18, 0x98, + 0x92, 0x24, 0x36, 0xb0, 0x03, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd1, 0xbb, 0x69, 0xb1, + 0xb9, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_feed_service.pb.go new file mode 100644 index 000000000..86383efaa --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_feed_service.pb.go @@ -0,0 +1,546 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/customer_feed_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v0.services.CustomerFeedService.GetCustomerFeed]. +type GetCustomerFeedRequest struct { + // The resource name of the customer feed to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCustomerFeedRequest) Reset() { *m = GetCustomerFeedRequest{} } +func (m *GetCustomerFeedRequest) String() string { return proto.CompactTextString(m) } +func (*GetCustomerFeedRequest) ProtoMessage() {} +func (*GetCustomerFeedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_service_33fd8a34f2b662ec, []int{0} +} +func (m *GetCustomerFeedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCustomerFeedRequest.Unmarshal(m, b) +} +func (m *GetCustomerFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCustomerFeedRequest.Marshal(b, m, deterministic) +} +func (dst *GetCustomerFeedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomerFeedRequest.Merge(dst, src) +} +func (m *GetCustomerFeedRequest) XXX_Size() int { + return xxx_messageInfo_GetCustomerFeedRequest.Size(m) +} +func (m *GetCustomerFeedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomerFeedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomerFeedRequest proto.InternalMessageInfo + +func (m *GetCustomerFeedRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v0.services.CustomerFeedService.MutateCustomerFeeds]. +type MutateCustomerFeedsRequest struct { + // The ID of the customer whose customer feeds are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual customer feeds. + Operations []*CustomerFeedOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCustomerFeedsRequest) Reset() { *m = MutateCustomerFeedsRequest{} } +func (m *MutateCustomerFeedsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCustomerFeedsRequest) ProtoMessage() {} +func (*MutateCustomerFeedsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_service_33fd8a34f2b662ec, []int{1} +} +func (m *MutateCustomerFeedsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCustomerFeedsRequest.Unmarshal(m, b) +} +func (m *MutateCustomerFeedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCustomerFeedsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCustomerFeedsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCustomerFeedsRequest.Merge(dst, src) +} +func (m *MutateCustomerFeedsRequest) XXX_Size() int { + return xxx_messageInfo_MutateCustomerFeedsRequest.Size(m) +} +func (m *MutateCustomerFeedsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCustomerFeedsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCustomerFeedsRequest proto.InternalMessageInfo + +func (m *MutateCustomerFeedsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCustomerFeedsRequest) GetOperations() []*CustomerFeedOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a customer feed. +type CustomerFeedOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *CustomerFeedOperation_Create + // *CustomerFeedOperation_Update + // *CustomerFeedOperation_Remove + Operation isCustomerFeedOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerFeedOperation) Reset() { *m = CustomerFeedOperation{} } +func (m *CustomerFeedOperation) String() string { return proto.CompactTextString(m) } +func (*CustomerFeedOperation) ProtoMessage() {} +func (*CustomerFeedOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_service_33fd8a34f2b662ec, []int{2} +} +func (m *CustomerFeedOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerFeedOperation.Unmarshal(m, b) +} +func (m *CustomerFeedOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerFeedOperation.Marshal(b, m, deterministic) +} +func (dst *CustomerFeedOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerFeedOperation.Merge(dst, src) +} +func (m *CustomerFeedOperation) XXX_Size() int { + return xxx_messageInfo_CustomerFeedOperation.Size(m) +} +func (m *CustomerFeedOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerFeedOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerFeedOperation proto.InternalMessageInfo + +func (m *CustomerFeedOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isCustomerFeedOperation_Operation interface { + isCustomerFeedOperation_Operation() +} + +type CustomerFeedOperation_Create struct { + Create *resources.CustomerFeed `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type CustomerFeedOperation_Update struct { + Update *resources.CustomerFeed `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type CustomerFeedOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*CustomerFeedOperation_Create) isCustomerFeedOperation_Operation() {} + +func (*CustomerFeedOperation_Update) isCustomerFeedOperation_Operation() {} + +func (*CustomerFeedOperation_Remove) isCustomerFeedOperation_Operation() {} + +func (m *CustomerFeedOperation) GetOperation() isCustomerFeedOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *CustomerFeedOperation) GetCreate() *resources.CustomerFeed { + if x, ok := m.GetOperation().(*CustomerFeedOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *CustomerFeedOperation) GetUpdate() *resources.CustomerFeed { + if x, ok := m.GetOperation().(*CustomerFeedOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *CustomerFeedOperation) GetRemove() string { + if x, ok := m.GetOperation().(*CustomerFeedOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CustomerFeedOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CustomerFeedOperation_OneofMarshaler, _CustomerFeedOperation_OneofUnmarshaler, _CustomerFeedOperation_OneofSizer, []interface{}{ + (*CustomerFeedOperation_Create)(nil), + (*CustomerFeedOperation_Update)(nil), + (*CustomerFeedOperation_Remove)(nil), + } +} + +func _CustomerFeedOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CustomerFeedOperation) + // operation + switch x := m.Operation.(type) { + case *CustomerFeedOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *CustomerFeedOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *CustomerFeedOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("CustomerFeedOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _CustomerFeedOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CustomerFeedOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CustomerFeed) + err := b.DecodeMessage(msg) + m.Operation = &CustomerFeedOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.CustomerFeed) + err := b.DecodeMessage(msg) + m.Operation = &CustomerFeedOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &CustomerFeedOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _CustomerFeedOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CustomerFeedOperation) + // operation + switch x := m.Operation.(type) { + case *CustomerFeedOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CustomerFeedOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *CustomerFeedOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a customer feed mutate. +type MutateCustomerFeedsResponse struct { + // All results for the mutate. + Results []*MutateCustomerFeedResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCustomerFeedsResponse) Reset() { *m = MutateCustomerFeedsResponse{} } +func (m *MutateCustomerFeedsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCustomerFeedsResponse) ProtoMessage() {} +func (*MutateCustomerFeedsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_service_33fd8a34f2b662ec, []int{3} +} +func (m *MutateCustomerFeedsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCustomerFeedsResponse.Unmarshal(m, b) +} +func (m *MutateCustomerFeedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCustomerFeedsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCustomerFeedsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCustomerFeedsResponse.Merge(dst, src) +} +func (m *MutateCustomerFeedsResponse) XXX_Size() int { + return xxx_messageInfo_MutateCustomerFeedsResponse.Size(m) +} +func (m *MutateCustomerFeedsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCustomerFeedsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCustomerFeedsResponse proto.InternalMessageInfo + +func (m *MutateCustomerFeedsResponse) GetResults() []*MutateCustomerFeedResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the customer feed mutate. +type MutateCustomerFeedResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCustomerFeedResult) Reset() { *m = MutateCustomerFeedResult{} } +func (m *MutateCustomerFeedResult) String() string { return proto.CompactTextString(m) } +func (*MutateCustomerFeedResult) ProtoMessage() {} +func (*MutateCustomerFeedResult) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_feed_service_33fd8a34f2b662ec, []int{4} +} +func (m *MutateCustomerFeedResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCustomerFeedResult.Unmarshal(m, b) +} +func (m *MutateCustomerFeedResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCustomerFeedResult.Marshal(b, m, deterministic) +} +func (dst *MutateCustomerFeedResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCustomerFeedResult.Merge(dst, src) +} +func (m *MutateCustomerFeedResult) XXX_Size() int { + return xxx_messageInfo_MutateCustomerFeedResult.Size(m) +} +func (m *MutateCustomerFeedResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCustomerFeedResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCustomerFeedResult proto.InternalMessageInfo + +func (m *MutateCustomerFeedResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCustomerFeedRequest)(nil), "google.ads.googleads.v0.services.GetCustomerFeedRequest") + proto.RegisterType((*MutateCustomerFeedsRequest)(nil), "google.ads.googleads.v0.services.MutateCustomerFeedsRequest") + proto.RegisterType((*CustomerFeedOperation)(nil), "google.ads.googleads.v0.services.CustomerFeedOperation") + proto.RegisterType((*MutateCustomerFeedsResponse)(nil), "google.ads.googleads.v0.services.MutateCustomerFeedsResponse") + proto.RegisterType((*MutateCustomerFeedResult)(nil), "google.ads.googleads.v0.services.MutateCustomerFeedResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CustomerFeedServiceClient is the client API for CustomerFeedService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CustomerFeedServiceClient interface { + // Returns the requested customer feed in full detail. + GetCustomerFeed(ctx context.Context, in *GetCustomerFeedRequest, opts ...grpc.CallOption) (*resources.CustomerFeed, error) + // Creates, updates, or removes customer feeds. Operation statuses are + // returned. + MutateCustomerFeeds(ctx context.Context, in *MutateCustomerFeedsRequest, opts ...grpc.CallOption) (*MutateCustomerFeedsResponse, error) +} + +type customerFeedServiceClient struct { + cc *grpc.ClientConn +} + +func NewCustomerFeedServiceClient(cc *grpc.ClientConn) CustomerFeedServiceClient { + return &customerFeedServiceClient{cc} +} + +func (c *customerFeedServiceClient) GetCustomerFeed(ctx context.Context, in *GetCustomerFeedRequest, opts ...grpc.CallOption) (*resources.CustomerFeed, error) { + out := new(resources.CustomerFeed) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerFeedService/GetCustomerFeed", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *customerFeedServiceClient) MutateCustomerFeeds(ctx context.Context, in *MutateCustomerFeedsRequest, opts ...grpc.CallOption) (*MutateCustomerFeedsResponse, error) { + out := new(MutateCustomerFeedsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerFeedService/MutateCustomerFeeds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CustomerFeedServiceServer is the server API for CustomerFeedService service. +type CustomerFeedServiceServer interface { + // Returns the requested customer feed in full detail. + GetCustomerFeed(context.Context, *GetCustomerFeedRequest) (*resources.CustomerFeed, error) + // Creates, updates, or removes customer feeds. Operation statuses are + // returned. + MutateCustomerFeeds(context.Context, *MutateCustomerFeedsRequest) (*MutateCustomerFeedsResponse, error) +} + +func RegisterCustomerFeedServiceServer(s *grpc.Server, srv CustomerFeedServiceServer) { + s.RegisterService(&_CustomerFeedService_serviceDesc, srv) +} + +func _CustomerFeedService_GetCustomerFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomerFeedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerFeedServiceServer).GetCustomerFeed(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerFeedService/GetCustomerFeed", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerFeedServiceServer).GetCustomerFeed(ctx, req.(*GetCustomerFeedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CustomerFeedService_MutateCustomerFeeds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCustomerFeedsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerFeedServiceServer).MutateCustomerFeeds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerFeedService/MutateCustomerFeeds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerFeedServiceServer).MutateCustomerFeeds(ctx, req.(*MutateCustomerFeedsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CustomerFeedService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CustomerFeedService", + HandlerType: (*CustomerFeedServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCustomerFeed", + Handler: _CustomerFeedService_GetCustomerFeed_Handler, + }, + { + MethodName: "MutateCustomerFeeds", + Handler: _CustomerFeedService_MutateCustomerFeeds_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/customer_feed_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/customer_feed_service.proto", fileDescriptor_customer_feed_service_33fd8a34f2b662ec) +} + +var fileDescriptor_customer_feed_service_33fd8a34f2b662ec = []byte{ + // 591 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x4d, 0x2a, 0x2b, 0x3b, 0x51, 0x84, 0x59, 0x94, 0x10, 0x05, 0x4b, 0xf4, 0xb0, 0xf4, + 0x30, 0x53, 0x2b, 0xb2, 0xd2, 0xdd, 0x22, 0xad, 0xb0, 0xdd, 0x3d, 0xac, 0x2e, 0x51, 0x56, 0x90, + 0x42, 0x99, 0x6d, 0x5e, 0x43, 0xd8, 0x26, 0x13, 0x33, 0x93, 0x5e, 0x96, 0xbd, 0xf8, 0x0d, 0x44, + 0xf0, 0xae, 0x47, 0xef, 0x7e, 0x09, 0x6f, 0xe2, 0xc5, 0x0f, 0xe0, 0x07, 0x91, 0x64, 0x32, 0xb1, + 0x75, 0x5b, 0xaa, 0xbd, 0xbd, 0x4c, 0xde, 0xfb, 0xbd, 0x37, 0xff, 0xf7, 0xde, 0xa0, 0xbd, 0x80, + 0xf3, 0x60, 0x02, 0x94, 0xf9, 0x82, 0x2a, 0x33, 0xb7, 0xa6, 0x4d, 0x2a, 0x20, 0x9d, 0x86, 0x23, + 0x10, 0x74, 0x94, 0x09, 0xc9, 0x23,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c, 0x6f, 0xa7, 0x71, 0x31, 0x7f, 0x99, 0x76, 0x54, 0x00, 0xdb, 0x46, 0xa3, 0xf7, 0xd3, 0x40, + 0x0f, 0x46, 0x3c, 0x5a, 0x59, 0x43, 0xcf, 0x5e, 0xd0, 0xc9, 0xe3, 0x7c, 0xe5, 0x8e, 0x8d, 0x37, + 0x07, 0x65, 0x74, 0xc0, 0x27, 0x2c, 0x0e, 0x08, 0x4f, 0x03, 0x1a, 0x40, 0x5c, 0x2c, 0xa4, 0x7e, + 0x11, 0x93, 0x50, 0x2c, 0x7f, 0x80, 0x77, 0xb5, 0xf1, 0xd9, 0xac, 0xf5, 0xbb, 0xdd, 0x2f, 0x66, + 0xbd, 0xaf, 0x80, 0x5d, 0x5f, 0x10, 0x65, 0xe6, 0xd6, 0x49, 0x93, 0x94, 0x89, 0xc5, 0x37, 0xed, + 0x32, 0xe8, 0xfa, 0x62, 0x50, 0xb9, 0x0c, 0x4e, 0x9a, 0x03, 0xed, 0x72, 0xba, 0x51, 0x14, 0xf0, + 0xe8, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x9c, 0x9d, 0xc9, 0x00, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_manager_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_manager_link_service.pb.go new file mode 100644 index 000000000..d71420b44 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_manager_link_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/customer_manager_link_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v0.services.CustomerManagerLinkService.GetCustomerManagerLink]. +type GetCustomerManagerLinkRequest struct { + // The resource name of the CustomerManagerLink to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCustomerManagerLinkRequest) Reset() { *m = GetCustomerManagerLinkRequest{} } +func (m *GetCustomerManagerLinkRequest) String() string { return proto.CompactTextString(m) } +func (*GetCustomerManagerLinkRequest) ProtoMessage() {} +func (*GetCustomerManagerLinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_manager_link_service_9df054ecaf272672, []int{0} +} +func (m *GetCustomerManagerLinkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCustomerManagerLinkRequest.Unmarshal(m, b) +} +func (m *GetCustomerManagerLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCustomerManagerLinkRequest.Marshal(b, m, deterministic) +} +func (dst *GetCustomerManagerLinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomerManagerLinkRequest.Merge(dst, src) +} +func (m *GetCustomerManagerLinkRequest) XXX_Size() int { + return xxx_messageInfo_GetCustomerManagerLinkRequest.Size(m) +} +func (m *GetCustomerManagerLinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomerManagerLinkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomerManagerLinkRequest proto.InternalMessageInfo + +func (m *GetCustomerManagerLinkRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetCustomerManagerLinkRequest)(nil), "google.ads.googleads.v0.services.GetCustomerManagerLinkRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CustomerManagerLinkServiceClient is the client API for CustomerManagerLinkService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CustomerManagerLinkServiceClient interface { + // Returns the requested CustomerManagerLink in full detail. + GetCustomerManagerLink(ctx context.Context, in *GetCustomerManagerLinkRequest, opts ...grpc.CallOption) (*resources.CustomerManagerLink, error) +} + +type customerManagerLinkServiceClient struct { + cc *grpc.ClientConn +} + +func NewCustomerManagerLinkServiceClient(cc *grpc.ClientConn) CustomerManagerLinkServiceClient { + return &customerManagerLinkServiceClient{cc} +} + +func (c *customerManagerLinkServiceClient) GetCustomerManagerLink(ctx context.Context, in *GetCustomerManagerLinkRequest, opts ...grpc.CallOption) (*resources.CustomerManagerLink, error) { + out := new(resources.CustomerManagerLink) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerManagerLinkService/GetCustomerManagerLink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CustomerManagerLinkServiceServer is the server API for CustomerManagerLinkService service. +type CustomerManagerLinkServiceServer interface { + // Returns the requested CustomerManagerLink in full detail. + GetCustomerManagerLink(context.Context, *GetCustomerManagerLinkRequest) (*resources.CustomerManagerLink, error) +} + +func RegisterCustomerManagerLinkServiceServer(s *grpc.Server, srv CustomerManagerLinkServiceServer) { + s.RegisterService(&_CustomerManagerLinkService_serviceDesc, srv) +} + +func _CustomerManagerLinkService_GetCustomerManagerLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomerManagerLinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerManagerLinkServiceServer).GetCustomerManagerLink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerManagerLinkService/GetCustomerManagerLink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerManagerLinkServiceServer).GetCustomerManagerLink(ctx, req.(*GetCustomerManagerLinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CustomerManagerLinkService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CustomerManagerLinkService", + HandlerType: (*CustomerManagerLinkServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCustomerManagerLink", + Handler: _CustomerManagerLinkService_GetCustomerManagerLink_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/customer_manager_link_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/customer_manager_link_service.proto", fileDescriptor_customer_manager_link_service_9df054ecaf272672) +} + +var fileDescriptor_customer_manager_link_service_9df054ecaf272672 = []byte{ + // 351 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xe4, 0xd2, 0xe2, 0x92, 0xfc, 0xdc, 0xd4, 0xa2, 0xf8, + 0xdc, 0xc4, 0xbc, 0xc4, 0xf4, 0xd4, 0xa2, 0xf8, 0x9c, 0xcc, 0xbc, 0xec, 0x78, 0xa8, 0xb4, 0x5e, + 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, 0x44, 0xab, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0xdc, 0x14, + 0xbd, 0x32, 0x03, 0x3d, 0x98, 0x29, 0x52, 0xb6, 0xb8, 0xec, 0x29, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, + 0xc2, 0x69, 0x11, 0xc4, 0x02, 0x29, 0x19, 0x98, 0xf6, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, 0xbc, 0xfc, + 0x92, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, 0x62, 0x88, 0xac, 0x92, 0x0b, 0x97, 0xac, 0x7b, 0x6a, 0x89, + 0x33, 0x54, 0xbf, 0x2f, 0x44, 0xbb, 0x4f, 0x66, 0x5e, 0x76, 0x50, 0x6a, 0x61, 0x69, 0x6a, 0x71, + 0x89, 0x90, 0x32, 0x17, 0x2f, 0xcc, 0x9e, 0xf8, 0xbc, 0xc4, 0xdc, 0x54, 0x09, 0x46, 0x05, 0x46, + 0x0d, 0xce, 0x20, 0x1e, 0x98, 0xa0, 0x5f, 0x62, 0x6e, 0xaa, 0xd1, 0x07, 0x46, 0x2e, 0x29, 0x2c, + 0x66, 0x04, 0x43, 0xbc, 0x20, 0x74, 0x91, 0x91, 0x4b, 0x0c, 0xbb, 0x2d, 0x42, 0xf6, 0x7a, 0x84, + 0xfc, 0xaf, 0x87, 0xd7, 0x7d, 0x52, 0x66, 0x38, 0x0d, 0x80, 0x07, 0x8f, 0x1e, 0x16, 0xed, 0x4a, + 0x76, 0x4d, 0x97, 0x9f, 0x4c, 0x66, 0xb2, 0x10, 0x32, 0x03, 0x85, 0x64, 0x35, 0x8a, 0x17, 0x6d, + 0x61, 0xc1, 0x59, 0xac, 0xaf, 0x05, 0x0f, 0x5a, 0x24, 0xbd, 0xc5, 0xfa, 0x5a, 0xb5, 0x4e, 0xf7, + 0x19, 0xb9, 0x54, 0x92, 0xf3, 0x73, 0x09, 0x3a, 0xdf, 0x49, 0x1e, 0x77, 0xc0, 0x04, 0x80, 0xa2, + 0x20, 0x80, 0x31, 0xca, 0x03, 0x6a, 0x48, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, + 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0x38, 0x82, 0x60, 0x31, 0x5e, 0x90, 0x59, 0x8c, 0x3b, 0xa1, 0x59, + 0xc3, 0x18, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xb8, 0x43, 0x0c, 0x74, 0x4c, + 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, 0x3d, 0xa8, 0xc5, 0xc5, 0xa7, 0x60, 0x4a, 0x62, + 0x1c, 0x53, 0x8a, 0x63, 0xe0, 0x4a, 0x62, 0xc2, 0x0c, 0x62, 0x60, 0x4a, 0x92, 0xd8, 0xc0, 0x0e, + 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xbc, 0xe5, 0xd3, 0xc2, 0xe8, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_service.pb.go new file mode 100644 index 000000000..88d23aacb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/customer_service.pb.go @@ -0,0 +1,653 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/customer_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "github.com/golang/protobuf/ptypes/wrappers" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [CustomerService.GetCustomer][google.ads.googleads.v0.services.CustomerService.GetCustomer]. +type GetCustomerRequest struct { + // The resource name of the customer to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCustomerRequest) Reset() { *m = GetCustomerRequest{} } +func (m *GetCustomerRequest) String() string { return proto.CompactTextString(m) } +func (*GetCustomerRequest) ProtoMessage() {} +func (*GetCustomerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{0} +} +func (m *GetCustomerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCustomerRequest.Unmarshal(m, b) +} +func (m *GetCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCustomerRequest.Marshal(b, m, deterministic) +} +func (dst *GetCustomerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomerRequest.Merge(dst, src) +} +func (m *GetCustomerRequest) XXX_Size() int { + return xxx_messageInfo_GetCustomerRequest.Size(m) +} +func (m *GetCustomerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomerRequest proto.InternalMessageInfo + +func (m *GetCustomerRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CustomerService.MutateCustomer][google.ads.googleads.v0.services.CustomerService.MutateCustomer]. +type MutateCustomerRequest struct { + // The ID of the customer being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The operation to perform on the customer + Operation *CustomerOperation `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCustomerRequest) Reset() { *m = MutateCustomerRequest{} } +func (m *MutateCustomerRequest) String() string { return proto.CompactTextString(m) } +func (*MutateCustomerRequest) ProtoMessage() {} +func (*MutateCustomerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{1} +} +func (m *MutateCustomerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCustomerRequest.Unmarshal(m, b) +} +func (m *MutateCustomerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCustomerRequest.Marshal(b, m, deterministic) +} +func (dst *MutateCustomerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCustomerRequest.Merge(dst, src) +} +func (m *MutateCustomerRequest) XXX_Size() int { + return xxx_messageInfo_MutateCustomerRequest.Size(m) +} +func (m *MutateCustomerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCustomerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCustomerRequest proto.InternalMessageInfo + +func (m *MutateCustomerRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateCustomerRequest) GetOperation() *CustomerOperation { + if m != nil { + return m.Operation + } + return nil +} + +// Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v0.services.CustomerService.CreateCustomerClient]. +type CreateCustomerClientRequest struct { + // The ID of the Manager under whom client customer is being created. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The new client customer to create. The resource name on this customer + // will be ignored. + CustomerClient *resources.Customer `protobuf:"bytes,2,opt,name=customer_client,json=customerClient,proto3" json:"customer_client,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateCustomerClientRequest) Reset() { *m = CreateCustomerClientRequest{} } +func (m *CreateCustomerClientRequest) String() string { return proto.CompactTextString(m) } +func (*CreateCustomerClientRequest) ProtoMessage() {} +func (*CreateCustomerClientRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{2} +} +func (m *CreateCustomerClientRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateCustomerClientRequest.Unmarshal(m, b) +} +func (m *CreateCustomerClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateCustomerClientRequest.Marshal(b, m, deterministic) +} +func (dst *CreateCustomerClientRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateCustomerClientRequest.Merge(dst, src) +} +func (m *CreateCustomerClientRequest) XXX_Size() int { + return xxx_messageInfo_CreateCustomerClientRequest.Size(m) +} +func (m *CreateCustomerClientRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateCustomerClientRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateCustomerClientRequest proto.InternalMessageInfo + +func (m *CreateCustomerClientRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *CreateCustomerClientRequest) GetCustomerClient() *resources.Customer { + if m != nil { + return m.CustomerClient + } + return nil +} + +// A single update on a customer. +type CustomerOperation struct { + // Mutate operation. Only updates are supported for customer. + Update *resources.Customer `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"` + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CustomerOperation) Reset() { *m = CustomerOperation{} } +func (m *CustomerOperation) String() string { return proto.CompactTextString(m) } +func (*CustomerOperation) ProtoMessage() {} +func (*CustomerOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{3} +} +func (m *CustomerOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomerOperation.Unmarshal(m, b) +} +func (m *CustomerOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomerOperation.Marshal(b, m, deterministic) +} +func (dst *CustomerOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomerOperation.Merge(dst, src) +} +func (m *CustomerOperation) XXX_Size() int { + return xxx_messageInfo_CustomerOperation.Size(m) +} +func (m *CustomerOperation) XXX_DiscardUnknown() { + xxx_messageInfo_CustomerOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomerOperation proto.InternalMessageInfo + +func (m *CustomerOperation) GetUpdate() *resources.Customer { + if m != nil { + return m.Update + } + return nil +} + +func (m *CustomerOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Response message for CreateCustomerClient mutate. +type CreateCustomerClientResponse struct { + // The resource name of the newly created customer client. + ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateCustomerClientResponse) Reset() { *m = CreateCustomerClientResponse{} } +func (m *CreateCustomerClientResponse) String() string { return proto.CompactTextString(m) } +func (*CreateCustomerClientResponse) ProtoMessage() {} +func (*CreateCustomerClientResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{4} +} +func (m *CreateCustomerClientResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateCustomerClientResponse.Unmarshal(m, b) +} +func (m *CreateCustomerClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateCustomerClientResponse.Marshal(b, m, deterministic) +} +func (dst *CreateCustomerClientResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateCustomerClientResponse.Merge(dst, src) +} +func (m *CreateCustomerClientResponse) XXX_Size() int { + return xxx_messageInfo_CreateCustomerClientResponse.Size(m) +} +func (m *CreateCustomerClientResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateCustomerClientResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateCustomerClientResponse proto.InternalMessageInfo + +func (m *CreateCustomerClientResponse) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Response message for customer mutate. +type MutateCustomerResponse struct { + // Result for the mutate. + Result *MutateCustomerResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCustomerResponse) Reset() { *m = MutateCustomerResponse{} } +func (m *MutateCustomerResponse) String() string { return proto.CompactTextString(m) } +func (*MutateCustomerResponse) ProtoMessage() {} +func (*MutateCustomerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{5} +} +func (m *MutateCustomerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCustomerResponse.Unmarshal(m, b) +} +func (m *MutateCustomerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCustomerResponse.Marshal(b, m, deterministic) +} +func (dst *MutateCustomerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCustomerResponse.Merge(dst, src) +} +func (m *MutateCustomerResponse) XXX_Size() int { + return xxx_messageInfo_MutateCustomerResponse.Size(m) +} +func (m *MutateCustomerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCustomerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCustomerResponse proto.InternalMessageInfo + +func (m *MutateCustomerResponse) GetResult() *MutateCustomerResult { + if m != nil { + return m.Result + } + return nil +} + +// The result for the customer mutate. +type MutateCustomerResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateCustomerResult) Reset() { *m = MutateCustomerResult{} } +func (m *MutateCustomerResult) String() string { return proto.CompactTextString(m) } +func (*MutateCustomerResult) ProtoMessage() {} +func (*MutateCustomerResult) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{6} +} +func (m *MutateCustomerResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateCustomerResult.Unmarshal(m, b) +} +func (m *MutateCustomerResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateCustomerResult.Marshal(b, m, deterministic) +} +func (dst *MutateCustomerResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateCustomerResult.Merge(dst, src) +} +func (m *MutateCustomerResult) XXX_Size() int { + return xxx_messageInfo_MutateCustomerResult.Size(m) +} +func (m *MutateCustomerResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateCustomerResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateCustomerResult proto.InternalMessageInfo + +func (m *MutateCustomerResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v0.services.CustomerService.ListAccessibleCustomers]. +type ListAccessibleCustomersRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListAccessibleCustomersRequest) Reset() { *m = ListAccessibleCustomersRequest{} } +func (m *ListAccessibleCustomersRequest) String() string { return proto.CompactTextString(m) } +func (*ListAccessibleCustomersRequest) ProtoMessage() {} +func (*ListAccessibleCustomersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{7} +} +func (m *ListAccessibleCustomersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListAccessibleCustomersRequest.Unmarshal(m, b) +} +func (m *ListAccessibleCustomersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListAccessibleCustomersRequest.Marshal(b, m, deterministic) +} +func (dst *ListAccessibleCustomersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAccessibleCustomersRequest.Merge(dst, src) +} +func (m *ListAccessibleCustomersRequest) XXX_Size() int { + return xxx_messageInfo_ListAccessibleCustomersRequest.Size(m) +} +func (m *ListAccessibleCustomersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListAccessibleCustomersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListAccessibleCustomersRequest proto.InternalMessageInfo + +// Response message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v0.services.CustomerService.ListAccessibleCustomers]. +type ListAccessibleCustomersResponse struct { + // Resource name of customers directly accessible by the + // user authenticating the call. + ResourceNames []string `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListAccessibleCustomersResponse) Reset() { *m = ListAccessibleCustomersResponse{} } +func (m *ListAccessibleCustomersResponse) String() string { return proto.CompactTextString(m) } +func (*ListAccessibleCustomersResponse) ProtoMessage() {} +func (*ListAccessibleCustomersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_customer_service_90b708bb54f49834, []int{8} +} +func (m *ListAccessibleCustomersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListAccessibleCustomersResponse.Unmarshal(m, b) +} +func (m *ListAccessibleCustomersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListAccessibleCustomersResponse.Marshal(b, m, deterministic) +} +func (dst *ListAccessibleCustomersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAccessibleCustomersResponse.Merge(dst, src) +} +func (m *ListAccessibleCustomersResponse) XXX_Size() int { + return xxx_messageInfo_ListAccessibleCustomersResponse.Size(m) +} +func (m *ListAccessibleCustomersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListAccessibleCustomersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListAccessibleCustomersResponse proto.InternalMessageInfo + +func (m *ListAccessibleCustomersResponse) GetResourceNames() []string { + if m != nil { + return m.ResourceNames + } + return nil +} + +func init() { + proto.RegisterType((*GetCustomerRequest)(nil), "google.ads.googleads.v0.services.GetCustomerRequest") + proto.RegisterType((*MutateCustomerRequest)(nil), "google.ads.googleads.v0.services.MutateCustomerRequest") + proto.RegisterType((*CreateCustomerClientRequest)(nil), "google.ads.googleads.v0.services.CreateCustomerClientRequest") + proto.RegisterType((*CustomerOperation)(nil), "google.ads.googleads.v0.services.CustomerOperation") + proto.RegisterType((*CreateCustomerClientResponse)(nil), "google.ads.googleads.v0.services.CreateCustomerClientResponse") + proto.RegisterType((*MutateCustomerResponse)(nil), "google.ads.googleads.v0.services.MutateCustomerResponse") + proto.RegisterType((*MutateCustomerResult)(nil), "google.ads.googleads.v0.services.MutateCustomerResult") + proto.RegisterType((*ListAccessibleCustomersRequest)(nil), "google.ads.googleads.v0.services.ListAccessibleCustomersRequest") + proto.RegisterType((*ListAccessibleCustomersResponse)(nil), "google.ads.googleads.v0.services.ListAccessibleCustomersResponse") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CustomerServiceClient is the client API for CustomerService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CustomerServiceClient interface { + // Returns the requested customer in full detail. + GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*resources.Customer, error) + // Updates a customer. Operation statuses are returned. + MutateCustomer(ctx context.Context, in *MutateCustomerRequest, opts ...grpc.CallOption) (*MutateCustomerResponse, error) + // Returns resource names of customers directly accessible by the + // user authenticating the call. + ListAccessibleCustomers(ctx context.Context, in *ListAccessibleCustomersRequest, opts ...grpc.CallOption) (*ListAccessibleCustomersResponse, error) + // Creates a new client under manager. The new client customer is returned. + CreateCustomerClient(ctx context.Context, in *CreateCustomerClientRequest, opts ...grpc.CallOption) (*CreateCustomerClientResponse, error) +} + +type customerServiceClient struct { + cc *grpc.ClientConn +} + +func NewCustomerServiceClient(cc *grpc.ClientConn) CustomerServiceClient { + return &customerServiceClient{cc} +} + +func (c *customerServiceClient) GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*resources.Customer, error) { + out := new(resources.Customer) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerService/GetCustomer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *customerServiceClient) MutateCustomer(ctx context.Context, in *MutateCustomerRequest, opts ...grpc.CallOption) (*MutateCustomerResponse, error) { + out := new(MutateCustomerResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerService/MutateCustomer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *customerServiceClient) ListAccessibleCustomers(ctx context.Context, in *ListAccessibleCustomersRequest, opts ...grpc.CallOption) (*ListAccessibleCustomersResponse, error) { + out := new(ListAccessibleCustomersResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerService/ListAccessibleCustomers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *customerServiceClient) CreateCustomerClient(ctx context.Context, in *CreateCustomerClientRequest, opts ...grpc.CallOption) (*CreateCustomerClientResponse, error) { + out := new(CreateCustomerClientResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.CustomerService/CreateCustomerClient", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CustomerServiceServer is the server API for CustomerService service. +type CustomerServiceServer interface { + // Returns the requested customer in full detail. + GetCustomer(context.Context, *GetCustomerRequest) (*resources.Customer, error) + // Updates a customer. Operation statuses are returned. + MutateCustomer(context.Context, *MutateCustomerRequest) (*MutateCustomerResponse, error) + // Returns resource names of customers directly accessible by the + // user authenticating the call. + ListAccessibleCustomers(context.Context, *ListAccessibleCustomersRequest) (*ListAccessibleCustomersResponse, error) + // Creates a new client under manager. The new client customer is returned. + CreateCustomerClient(context.Context, *CreateCustomerClientRequest) (*CreateCustomerClientResponse, error) +} + +func RegisterCustomerServiceServer(s *grpc.Server, srv CustomerServiceServer) { + s.RegisterService(&_CustomerService_serviceDesc, srv) +} + +func _CustomerService_GetCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerServiceServer).GetCustomer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerService/GetCustomer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerServiceServer).GetCustomer(ctx, req.(*GetCustomerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CustomerService_MutateCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateCustomerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerServiceServer).MutateCustomer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerService/MutateCustomer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerServiceServer).MutateCustomer(ctx, req.(*MutateCustomerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CustomerService_ListAccessibleCustomers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAccessibleCustomersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerServiceServer).ListAccessibleCustomers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerService/ListAccessibleCustomers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerServiceServer).ListAccessibleCustomers(ctx, req.(*ListAccessibleCustomersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CustomerService_CreateCustomerClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCustomerClientRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustomerServiceServer).CreateCustomerClient(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.CustomerService/CreateCustomerClient", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustomerServiceServer).CreateCustomerClient(ctx, req.(*CreateCustomerClientRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CustomerService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.CustomerService", + HandlerType: (*CustomerServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCustomer", + Handler: _CustomerService_GetCustomer_Handler, + }, + { + MethodName: "MutateCustomer", + Handler: _CustomerService_MutateCustomer_Handler, + }, + { + MethodName: "ListAccessibleCustomers", + Handler: _CustomerService_ListAccessibleCustomers_Handler, + }, + { + MethodName: "CreateCustomerClient", + Handler: _CustomerService_CreateCustomerClient_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/customer_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/customer_service.proto", fileDescriptor_customer_service_90b708bb54f49834) +} + +var fileDescriptor_customer_service_90b708bb54f49834 = []byte{ + // 697 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x4f, 0xd4, 0x4e, + 0x18, 0xce, 0x2c, 0xbf, 0x6c, 0xc2, 0xbb, 0x3f, 0x20, 0x4e, 0x50, 0x37, 0x2b, 0x81, 0xb5, 0x42, + 0xc0, 0x35, 0xb6, 0x1b, 0x30, 0xa2, 0x4b, 0xd6, 0xb8, 0x6c, 0x22, 0x98, 0x08, 0x62, 0x35, 0x1c, + 0xcc, 0x26, 0xa4, 0xb4, 0xc3, 0xda, 0xd0, 0x76, 0x6a, 0xa7, 0xc5, 0x03, 0xe1, 0xe2, 0x95, 0xa3, + 0x7a, 0xf0, 0xea, 0xd1, 0xb3, 0x9f, 0xc2, 0xc4, 0x93, 0x7c, 0x04, 0x3f, 0x88, 0xe9, 0x74, 0xa6, + 0xec, 0xbf, 0xb2, 0x2c, 0xde, 0xde, 0x9d, 0x7d, 0x9f, 0xe7, 0x7d, 0xde, 0xbf, 0x85, 0xd5, 0x36, + 0xa5, 0x6d, 0x87, 0x68, 0x86, 0xc5, 0xb4, 0xc4, 0x8c, 0xad, 0xa3, 0xaa, 0xc6, 0x48, 0x70, 0x64, + 0x9b, 0x84, 0x69, 0x66, 0xc4, 0x42, 0xea, 0x92, 0x60, 0x4f, 0xbc, 0xa8, 0x7e, 0x40, 0x43, 0x8a, + 0xcb, 0x89, 0xb7, 0x6a, 0x58, 0x4c, 0x4d, 0x81, 0xea, 0x51, 0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 0x00, 0x00, 0xff, + 0xff, 0x2a, 0x1f, 0x64, 0x81, 0x2a, 0x08, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/display_keyword_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/display_keyword_view_service.pb.go new file mode 100644 index 000000000..6f3fb7bd9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/display_keyword_view_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/display_keyword_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v0.services.DisplayKeywordViewService.GetDisplayKeywordView]. +type GetDisplayKeywordViewRequest struct { + // The resource name of the display keyword view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetDisplayKeywordViewRequest) Reset() { *m = GetDisplayKeywordViewRequest{} } +func (m *GetDisplayKeywordViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetDisplayKeywordViewRequest) ProtoMessage() {} +func (*GetDisplayKeywordViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_display_keyword_view_service_5be79eacea48f3f3, []int{0} +} +func (m *GetDisplayKeywordViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDisplayKeywordViewRequest.Unmarshal(m, b) +} +func (m *GetDisplayKeywordViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDisplayKeywordViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetDisplayKeywordViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDisplayKeywordViewRequest.Merge(dst, src) +} +func (m *GetDisplayKeywordViewRequest) XXX_Size() int { + return xxx_messageInfo_GetDisplayKeywordViewRequest.Size(m) +} +func (m *GetDisplayKeywordViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDisplayKeywordViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDisplayKeywordViewRequest proto.InternalMessageInfo + +func (m *GetDisplayKeywordViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetDisplayKeywordViewRequest)(nil), "google.ads.googleads.v0.services.GetDisplayKeywordViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// DisplayKeywordViewServiceClient is the client API for DisplayKeywordViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DisplayKeywordViewServiceClient interface { + // Returns the requested display keyword view in full detail. + GetDisplayKeywordView(ctx context.Context, in *GetDisplayKeywordViewRequest, opts ...grpc.CallOption) (*resources.DisplayKeywordView, error) +} + +type displayKeywordViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewDisplayKeywordViewServiceClient(cc *grpc.ClientConn) DisplayKeywordViewServiceClient { + return &displayKeywordViewServiceClient{cc} +} + +func (c *displayKeywordViewServiceClient) GetDisplayKeywordView(ctx context.Context, in *GetDisplayKeywordViewRequest, opts ...grpc.CallOption) (*resources.DisplayKeywordView, error) { + out := new(resources.DisplayKeywordView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.DisplayKeywordViewService/GetDisplayKeywordView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DisplayKeywordViewServiceServer is the server API for DisplayKeywordViewService service. +type DisplayKeywordViewServiceServer interface { + // Returns the requested display keyword view in full detail. + GetDisplayKeywordView(context.Context, *GetDisplayKeywordViewRequest) (*resources.DisplayKeywordView, error) +} + +func RegisterDisplayKeywordViewServiceServer(s *grpc.Server, srv DisplayKeywordViewServiceServer) { + s.RegisterService(&_DisplayKeywordViewService_serviceDesc, srv) +} + +func _DisplayKeywordViewService_GetDisplayKeywordView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDisplayKeywordViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DisplayKeywordViewServiceServer).GetDisplayKeywordView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.DisplayKeywordViewService/GetDisplayKeywordView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DisplayKeywordViewServiceServer).GetDisplayKeywordView(ctx, req.(*GetDisplayKeywordViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _DisplayKeywordViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.DisplayKeywordViewService", + HandlerType: (*DisplayKeywordViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetDisplayKeywordView", + Handler: _DisplayKeywordViewService_GetDisplayKeywordView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/display_keyword_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/display_keyword_view_service.proto", fileDescriptor_display_keyword_view_service_5be79eacea48f3f3) +} + +var fileDescriptor_display_keyword_view_service_5be79eacea48f3f3 = []byte{ + // 354 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xc3, 0x40, + 0x10, 0x26, 0x15, 0x04, 0x83, 0x5e, 0x02, 0x82, 0x96, 0x22, 0xa5, 0x7a, 0x90, 0x1e, 0x76, 0x83, + 0x52, 0x3c, 0x68, 0x85, 0xb4, 0x42, 0x05, 0x41, 0x4a, 0x85, 0x1e, 0x24, 0x10, 0xd6, 0x66, 0x08, + 0x8b, 0x4d, 0x36, 0xee, 0x6c, 0x53, 0x8a, 0x78, 0xf1, 0x15, 0x7c, 0x03, 0x8f, 0x3e, 0x8a, 0xe0, + 0xc9, 0xbb, 0x27, 0x6f, 0xbe, 0x84, 0xa4, 0xdb, 0x2d, 0x4a, 0x8d, 0xbd, 0x7d, 0x64, 0xe7, 0xfb, + 0x99, 0x6f, 0x62, 0xb7, 0x23, 0x21, 0xa2, 0x21, 0x50, 0x16, 0x22, 0xd5, 0x30, 0x47, 0x99, 0x4b, + 0x11, 0x64, 0xc6, 0x07, 0x80, 0x34, 0xe4, 0x98, 0x0e, 0xd9, 0x24, 0xb8, 0x85, 0xc9, 0x58, 0xc8, + 0x30, 0xc8, 0x38, 0x8c, 0x83, 0xd9, 0x2b, 0x49, 0xa5, 0x50, 0xc2, 0xa9, 0x6a, 0x26, 0x61, 0x21, + 0x92, 0xb9, 0x08, 0xc9, 0x5c, 0x62, 0x44, 0xca, 0x27, 0x45, 0x36, 0x12, 0x50, 0x8c, 0x64, 0x91, + 0x8f, 0xd6, 0x2f, 0x57, 0x0c, 0x3b, 0xe5, 0x94, 0x25, 0x89, 0x50, 0x4c, 0x71, 0x91, 0xa0, 0x7e, + 0xad, 0xb5, 0x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, 0xff, 0xbc, 0xc8, 0x29, 0x64, 0xdf, 0x02, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_item_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_item_service.pb.go new file mode 100644 index 000000000..6d9396e38 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_item_service.pb.go @@ -0,0 +1,546 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/feed_item_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [FeedItemService.GetFeedItem][google.ads.googleads.v0.services.FeedItemService.GetFeedItem]. +type GetFeedItemRequest struct { + // The resource name of the feed item to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFeedItemRequest) Reset() { *m = GetFeedItemRequest{} } +func (m *GetFeedItemRequest) String() string { return proto.CompactTextString(m) } +func (*GetFeedItemRequest) ProtoMessage() {} +func (*GetFeedItemRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_service_b421090e91948349, []int{0} +} +func (m *GetFeedItemRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFeedItemRequest.Unmarshal(m, b) +} +func (m *GetFeedItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFeedItemRequest.Marshal(b, m, deterministic) +} +func (dst *GetFeedItemRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFeedItemRequest.Merge(dst, src) +} +func (m *GetFeedItemRequest) XXX_Size() int { + return xxx_messageInfo_GetFeedItemRequest.Size(m) +} +func (m *GetFeedItemRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFeedItemRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFeedItemRequest proto.InternalMessageInfo + +func (m *GetFeedItemRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [FeedItemService.MutateFeedItems][google.ads.googleads.v0.services.FeedItemService.MutateFeedItems]. +type MutateFeedItemsRequest struct { + // The ID of the customer whose feed items are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual feed items. + Operations []*FeedItemOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedItemsRequest) Reset() { *m = MutateFeedItemsRequest{} } +func (m *MutateFeedItemsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateFeedItemsRequest) ProtoMessage() {} +func (*MutateFeedItemsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_service_b421090e91948349, []int{1} +} +func (m *MutateFeedItemsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedItemsRequest.Unmarshal(m, b) +} +func (m *MutateFeedItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedItemsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateFeedItemsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedItemsRequest.Merge(dst, src) +} +func (m *MutateFeedItemsRequest) XXX_Size() int { + return xxx_messageInfo_MutateFeedItemsRequest.Size(m) +} +func (m *MutateFeedItemsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedItemsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedItemsRequest proto.InternalMessageInfo + +func (m *MutateFeedItemsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateFeedItemsRequest) GetOperations() []*FeedItemOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on an feed item. +type FeedItemOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *FeedItemOperation_Create + // *FeedItemOperation_Update + // *FeedItemOperation_Remove + Operation isFeedItemOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedItemOperation) Reset() { *m = FeedItemOperation{} } +func (m *FeedItemOperation) String() string { return proto.CompactTextString(m) } +func (*FeedItemOperation) ProtoMessage() {} +func (*FeedItemOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_service_b421090e91948349, []int{2} +} +func (m *FeedItemOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedItemOperation.Unmarshal(m, b) +} +func (m *FeedItemOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedItemOperation.Marshal(b, m, deterministic) +} +func (dst *FeedItemOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedItemOperation.Merge(dst, src) +} +func (m *FeedItemOperation) XXX_Size() int { + return xxx_messageInfo_FeedItemOperation.Size(m) +} +func (m *FeedItemOperation) XXX_DiscardUnknown() { + xxx_messageInfo_FeedItemOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedItemOperation proto.InternalMessageInfo + +func (m *FeedItemOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isFeedItemOperation_Operation interface { + isFeedItemOperation_Operation() +} + +type FeedItemOperation_Create struct { + Create *resources.FeedItem `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type FeedItemOperation_Update struct { + Update *resources.FeedItem `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type FeedItemOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*FeedItemOperation_Create) isFeedItemOperation_Operation() {} + +func (*FeedItemOperation_Update) isFeedItemOperation_Operation() {} + +func (*FeedItemOperation_Remove) isFeedItemOperation_Operation() {} + +func (m *FeedItemOperation) GetOperation() isFeedItemOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *FeedItemOperation) GetCreate() *resources.FeedItem { + if x, ok := m.GetOperation().(*FeedItemOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *FeedItemOperation) GetUpdate() *resources.FeedItem { + if x, ok := m.GetOperation().(*FeedItemOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *FeedItemOperation) GetRemove() string { + if x, ok := m.GetOperation().(*FeedItemOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*FeedItemOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _FeedItemOperation_OneofMarshaler, _FeedItemOperation_OneofUnmarshaler, _FeedItemOperation_OneofSizer, []interface{}{ + (*FeedItemOperation_Create)(nil), + (*FeedItemOperation_Update)(nil), + (*FeedItemOperation_Remove)(nil), + } +} + +func _FeedItemOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*FeedItemOperation) + // operation + switch x := m.Operation.(type) { + case *FeedItemOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *FeedItemOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *FeedItemOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("FeedItemOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _FeedItemOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*FeedItemOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.FeedItem) + err := b.DecodeMessage(msg) + m.Operation = &FeedItemOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.FeedItem) + err := b.DecodeMessage(msg) + m.Operation = &FeedItemOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &FeedItemOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _FeedItemOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*FeedItemOperation) + // operation + switch x := m.Operation.(type) { + case *FeedItemOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *FeedItemOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *FeedItemOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for an feed item mutate. +type MutateFeedItemsResponse struct { + // All results for the mutate. + Results []*MutateFeedItemResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedItemsResponse) Reset() { *m = MutateFeedItemsResponse{} } +func (m *MutateFeedItemsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateFeedItemsResponse) ProtoMessage() {} +func (*MutateFeedItemsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_service_b421090e91948349, []int{3} +} +func (m *MutateFeedItemsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedItemsResponse.Unmarshal(m, b) +} +func (m *MutateFeedItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedItemsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateFeedItemsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedItemsResponse.Merge(dst, src) +} +func (m *MutateFeedItemsResponse) XXX_Size() int { + return xxx_messageInfo_MutateFeedItemsResponse.Size(m) +} +func (m *MutateFeedItemsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedItemsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedItemsResponse proto.InternalMessageInfo + +func (m *MutateFeedItemsResponse) GetResults() []*MutateFeedItemResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the feed item mutate. +type MutateFeedItemResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedItemResult) Reset() { *m = MutateFeedItemResult{} } +func (m *MutateFeedItemResult) String() string { return proto.CompactTextString(m) } +func (*MutateFeedItemResult) ProtoMessage() {} +func (*MutateFeedItemResult) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_item_service_b421090e91948349, []int{4} +} +func (m *MutateFeedItemResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedItemResult.Unmarshal(m, b) +} +func (m *MutateFeedItemResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedItemResult.Marshal(b, m, deterministic) +} +func (dst *MutateFeedItemResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedItemResult.Merge(dst, src) +} +func (m *MutateFeedItemResult) XXX_Size() int { + return xxx_messageInfo_MutateFeedItemResult.Size(m) +} +func (m *MutateFeedItemResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedItemResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedItemResult proto.InternalMessageInfo + +func (m *MutateFeedItemResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetFeedItemRequest)(nil), "google.ads.googleads.v0.services.GetFeedItemRequest") + proto.RegisterType((*MutateFeedItemsRequest)(nil), "google.ads.googleads.v0.services.MutateFeedItemsRequest") + proto.RegisterType((*FeedItemOperation)(nil), "google.ads.googleads.v0.services.FeedItemOperation") + proto.RegisterType((*MutateFeedItemsResponse)(nil), "google.ads.googleads.v0.services.MutateFeedItemsResponse") + proto.RegisterType((*MutateFeedItemResult)(nil), "google.ads.googleads.v0.services.MutateFeedItemResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// FeedItemServiceClient is the client API for FeedItemService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type FeedItemServiceClient interface { + // Returns the requested feed item in full detail. + GetFeedItem(ctx context.Context, in *GetFeedItemRequest, opts ...grpc.CallOption) (*resources.FeedItem, error) + // Creates, updates, or removes feed items. Operation statuses are + // returned. + MutateFeedItems(ctx context.Context, in *MutateFeedItemsRequest, opts ...grpc.CallOption) (*MutateFeedItemsResponse, error) +} + +type feedItemServiceClient struct { + cc *grpc.ClientConn +} + +func NewFeedItemServiceClient(cc *grpc.ClientConn) FeedItemServiceClient { + return &feedItemServiceClient{cc} +} + +func (c *feedItemServiceClient) GetFeedItem(ctx context.Context, in *GetFeedItemRequest, opts ...grpc.CallOption) (*resources.FeedItem, error) { + out := new(resources.FeedItem) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.FeedItemService/GetFeedItem", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *feedItemServiceClient) MutateFeedItems(ctx context.Context, in *MutateFeedItemsRequest, opts ...grpc.CallOption) (*MutateFeedItemsResponse, error) { + out := new(MutateFeedItemsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.FeedItemService/MutateFeedItems", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FeedItemServiceServer is the server API for FeedItemService service. +type FeedItemServiceServer interface { + // Returns the requested feed item in full detail. + GetFeedItem(context.Context, *GetFeedItemRequest) (*resources.FeedItem, error) + // Creates, updates, or removes feed items. Operation statuses are + // returned. + MutateFeedItems(context.Context, *MutateFeedItemsRequest) (*MutateFeedItemsResponse, error) +} + +func RegisterFeedItemServiceServer(s *grpc.Server, srv FeedItemServiceServer) { + s.RegisterService(&_FeedItemService_serviceDesc, srv) +} + +func _FeedItemService_GetFeedItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFeedItemRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FeedItemServiceServer).GetFeedItem(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.FeedItemService/GetFeedItem", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FeedItemServiceServer).GetFeedItem(ctx, req.(*GetFeedItemRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FeedItemService_MutateFeedItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateFeedItemsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FeedItemServiceServer).MutateFeedItems(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.FeedItemService/MutateFeedItems", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FeedItemServiceServer).MutateFeedItems(ctx, req.(*MutateFeedItemsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _FeedItemService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.FeedItemService", + HandlerType: (*FeedItemServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetFeedItem", + Handler: _FeedItemService_GetFeedItem_Handler, + }, + { + MethodName: "MutateFeedItems", + Handler: _FeedItemService_MutateFeedItems_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/feed_item_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/feed_item_service.proto", fileDescriptor_feed_item_service_b421090e91948349) +} + +var fileDescriptor_feed_item_service_b421090e91948349 = []byte{ + // 591 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x6a, 0xdb, 0x4a, + 0x14, 0x7d, 0x92, 0x1f, 0x2e, 0x19, 0xb5, 0x84, 0x0e, 0xa1, 0x15, 0xa6, 0x50, 0xa3, 0x76, 0x61, + 0x1c, 0x3a, 0x72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 0x00, 0x00, 0xff, 0xff, 0xcc, 0x47, 0xea, 0xc7, 0xac, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_mapping_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_mapping_service.pb.go new file mode 100644 index 000000000..6267bb52c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_mapping_service.pb.go @@ -0,0 +1,500 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/feed_mapping_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [FeedMappingService.GetFeedMapping][google.ads.googleads.v0.services.FeedMappingService.GetFeedMapping]. +type GetFeedMappingRequest struct { + // The resource name of the feed mapping to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFeedMappingRequest) Reset() { *m = GetFeedMappingRequest{} } +func (m *GetFeedMappingRequest) String() string { return proto.CompactTextString(m) } +func (*GetFeedMappingRequest) ProtoMessage() {} +func (*GetFeedMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_service_ca2fb087e0520133, []int{0} +} +func (m *GetFeedMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFeedMappingRequest.Unmarshal(m, b) +} +func (m *GetFeedMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFeedMappingRequest.Marshal(b, m, deterministic) +} +func (dst *GetFeedMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFeedMappingRequest.Merge(dst, src) +} +func (m *GetFeedMappingRequest) XXX_Size() int { + return xxx_messageInfo_GetFeedMappingRequest.Size(m) +} +func (m *GetFeedMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFeedMappingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFeedMappingRequest proto.InternalMessageInfo + +func (m *GetFeedMappingRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [FeedMappingService.MutateFeedMappings][google.ads.googleads.v0.services.FeedMappingService.MutateFeedMappings]. +type MutateFeedMappingsRequest struct { + // The ID of the customer whose feed mappings are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual feed mappings. + Operations []*FeedMappingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedMappingsRequest) Reset() { *m = MutateFeedMappingsRequest{} } +func (m *MutateFeedMappingsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateFeedMappingsRequest) ProtoMessage() {} +func (*MutateFeedMappingsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_service_ca2fb087e0520133, []int{1} +} +func (m *MutateFeedMappingsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedMappingsRequest.Unmarshal(m, b) +} +func (m *MutateFeedMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedMappingsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateFeedMappingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedMappingsRequest.Merge(dst, src) +} +func (m *MutateFeedMappingsRequest) XXX_Size() int { + return xxx_messageInfo_MutateFeedMappingsRequest.Size(m) +} +func (m *MutateFeedMappingsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedMappingsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedMappingsRequest proto.InternalMessageInfo + +func (m *MutateFeedMappingsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateFeedMappingsRequest) GetOperations() []*FeedMappingOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, remove) on a feed mapping. +type FeedMappingOperation struct { + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *FeedMappingOperation_Create + // *FeedMappingOperation_Remove + Operation isFeedMappingOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedMappingOperation) Reset() { *m = FeedMappingOperation{} } +func (m *FeedMappingOperation) String() string { return proto.CompactTextString(m) } +func (*FeedMappingOperation) ProtoMessage() {} +func (*FeedMappingOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_service_ca2fb087e0520133, []int{2} +} +func (m *FeedMappingOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedMappingOperation.Unmarshal(m, b) +} +func (m *FeedMappingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedMappingOperation.Marshal(b, m, deterministic) +} +func (dst *FeedMappingOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedMappingOperation.Merge(dst, src) +} +func (m *FeedMappingOperation) XXX_Size() int { + return xxx_messageInfo_FeedMappingOperation.Size(m) +} +func (m *FeedMappingOperation) XXX_DiscardUnknown() { + xxx_messageInfo_FeedMappingOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedMappingOperation proto.InternalMessageInfo + +type isFeedMappingOperation_Operation interface { + isFeedMappingOperation_Operation() +} + +type FeedMappingOperation_Create struct { + Create *resources.FeedMapping `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type FeedMappingOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*FeedMappingOperation_Create) isFeedMappingOperation_Operation() {} + +func (*FeedMappingOperation_Remove) isFeedMappingOperation_Operation() {} + +func (m *FeedMappingOperation) GetOperation() isFeedMappingOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *FeedMappingOperation) GetCreate() *resources.FeedMapping { + if x, ok := m.GetOperation().(*FeedMappingOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *FeedMappingOperation) GetRemove() string { + if x, ok := m.GetOperation().(*FeedMappingOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*FeedMappingOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _FeedMappingOperation_OneofMarshaler, _FeedMappingOperation_OneofUnmarshaler, _FeedMappingOperation_OneofSizer, []interface{}{ + (*FeedMappingOperation_Create)(nil), + (*FeedMappingOperation_Remove)(nil), + } +} + +func _FeedMappingOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*FeedMappingOperation) + // operation + switch x := m.Operation.(type) { + case *FeedMappingOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *FeedMappingOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("FeedMappingOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _FeedMappingOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*FeedMappingOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.FeedMapping) + err := b.DecodeMessage(msg) + m.Operation = &FeedMappingOperation_Create{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &FeedMappingOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _FeedMappingOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*FeedMappingOperation) + // operation + switch x := m.Operation.(type) { + case *FeedMappingOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *FeedMappingOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a feed mapping mutate. +type MutateFeedMappingsResponse struct { + // All results for the mutate. + Results []*MutateFeedMappingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedMappingsResponse) Reset() { *m = MutateFeedMappingsResponse{} } +func (m *MutateFeedMappingsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateFeedMappingsResponse) ProtoMessage() {} +func (*MutateFeedMappingsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_service_ca2fb087e0520133, []int{3} +} +func (m *MutateFeedMappingsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedMappingsResponse.Unmarshal(m, b) +} +func (m *MutateFeedMappingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedMappingsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateFeedMappingsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedMappingsResponse.Merge(dst, src) +} +func (m *MutateFeedMappingsResponse) XXX_Size() int { + return xxx_messageInfo_MutateFeedMappingsResponse.Size(m) +} +func (m *MutateFeedMappingsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedMappingsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedMappingsResponse proto.InternalMessageInfo + +func (m *MutateFeedMappingsResponse) GetResults() []*MutateFeedMappingResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the feed mapping mutate. +type MutateFeedMappingResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedMappingResult) Reset() { *m = MutateFeedMappingResult{} } +func (m *MutateFeedMappingResult) String() string { return proto.CompactTextString(m) } +func (*MutateFeedMappingResult) ProtoMessage() {} +func (*MutateFeedMappingResult) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_mapping_service_ca2fb087e0520133, []int{4} +} +func (m *MutateFeedMappingResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedMappingResult.Unmarshal(m, b) +} +func (m *MutateFeedMappingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedMappingResult.Marshal(b, m, deterministic) +} +func (dst *MutateFeedMappingResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedMappingResult.Merge(dst, src) +} +func (m *MutateFeedMappingResult) XXX_Size() int { + return xxx_messageInfo_MutateFeedMappingResult.Size(m) +} +func (m *MutateFeedMappingResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedMappingResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedMappingResult proto.InternalMessageInfo + +func (m *MutateFeedMappingResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetFeedMappingRequest)(nil), "google.ads.googleads.v0.services.GetFeedMappingRequest") + proto.RegisterType((*MutateFeedMappingsRequest)(nil), "google.ads.googleads.v0.services.MutateFeedMappingsRequest") + proto.RegisterType((*FeedMappingOperation)(nil), "google.ads.googleads.v0.services.FeedMappingOperation") + proto.RegisterType((*MutateFeedMappingsResponse)(nil), "google.ads.googleads.v0.services.MutateFeedMappingsResponse") + proto.RegisterType((*MutateFeedMappingResult)(nil), "google.ads.googleads.v0.services.MutateFeedMappingResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// FeedMappingServiceClient is the client API for FeedMappingService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type FeedMappingServiceClient interface { + // Returns the requested feed mapping in full detail. + GetFeedMapping(ctx context.Context, in *GetFeedMappingRequest, opts ...grpc.CallOption) (*resources.FeedMapping, error) + // Creates or removes feed mappings. Operation statuses are + // returned. + MutateFeedMappings(ctx context.Context, in *MutateFeedMappingsRequest, opts ...grpc.CallOption) (*MutateFeedMappingsResponse, error) +} + +type feedMappingServiceClient struct { + cc *grpc.ClientConn +} + +func NewFeedMappingServiceClient(cc *grpc.ClientConn) FeedMappingServiceClient { + return &feedMappingServiceClient{cc} +} + +func (c *feedMappingServiceClient) GetFeedMapping(ctx context.Context, in *GetFeedMappingRequest, opts ...grpc.CallOption) (*resources.FeedMapping, error) { + out := new(resources.FeedMapping) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.FeedMappingService/GetFeedMapping", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *feedMappingServiceClient) MutateFeedMappings(ctx context.Context, in *MutateFeedMappingsRequest, opts ...grpc.CallOption) (*MutateFeedMappingsResponse, error) { + out := new(MutateFeedMappingsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.FeedMappingService/MutateFeedMappings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FeedMappingServiceServer is the server API for FeedMappingService service. +type FeedMappingServiceServer interface { + // Returns the requested feed mapping in full detail. + GetFeedMapping(context.Context, *GetFeedMappingRequest) (*resources.FeedMapping, error) + // Creates or removes feed mappings. Operation statuses are + // returned. + MutateFeedMappings(context.Context, *MutateFeedMappingsRequest) (*MutateFeedMappingsResponse, error) +} + +func RegisterFeedMappingServiceServer(s *grpc.Server, srv FeedMappingServiceServer) { + s.RegisterService(&_FeedMappingService_serviceDesc, srv) +} + +func _FeedMappingService_GetFeedMapping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFeedMappingRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FeedMappingServiceServer).GetFeedMapping(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.FeedMappingService/GetFeedMapping", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FeedMappingServiceServer).GetFeedMapping(ctx, req.(*GetFeedMappingRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FeedMappingService_MutateFeedMappings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateFeedMappingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FeedMappingServiceServer).MutateFeedMappings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.FeedMappingService/MutateFeedMappings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FeedMappingServiceServer).MutateFeedMappings(ctx, req.(*MutateFeedMappingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _FeedMappingService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.FeedMappingService", + HandlerType: (*FeedMappingServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetFeedMapping", + Handler: _FeedMappingService_GetFeedMapping_Handler, + }, + { + MethodName: "MutateFeedMappings", + Handler: _FeedMappingService_MutateFeedMappings_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/feed_mapping_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/feed_mapping_service.proto", fileDescriptor_feed_mapping_service_ca2fb087e0520133) +} + +var fileDescriptor_feed_mapping_service_ca2fb087e0520133 = []byte{ + // 534 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xb1, 0x8e, 0xd3, 0x40, + 0x10, 0xc5, 0x89, 0x14, 0x74, 0x13, 0xa0, 0x58, 0x81, 0x2e, 0x44, 0x48, 0x44, 0x86, 0xe2, 0x94, + 0x62, 0x1d, 0x02, 0x0a, 0xe2, 0x92, 0x43, 0x4a, 0x0a, 0x12, 0x8a, 0x83, 0x93, 0x4f, 0x4a, 0x81, + 0x22, 0x45, 0x4b, 0x3c, 0x58, 0x96, 0x62, 0xaf, 0x6f, 0x77, 0x9d, 0xe6, 0x74, 0x0d, 0x0d, 0x1f, + 0x00, 0x05, 0x35, 0x25, 0x1d, 0xbf, 0x81, 0x44, 0x45, 0xc1, 0x0f, 0xf0, 0x21, 0xc8, 0x5e, 0x6f, + 0x70, 0x48, 0xa2, 0x70, 0xd7, 0x8d, 0xd7, 0xf3, 0xde, 0xcc, 0x7b, 0x3b, 0x3b, 0xd0, 0xf5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07, 0xfb, 0x7c, 0xce, 0x22, 0x9f, 0x72, + 0xe1, 0x3b, 0x3e, 0x46, 0xd9, 0x32, 0x30, 0x4b, 0x25, 0x0e, 0xe4, 0xf6, 0x15, 0xd6, 0x35, 0xc1, + 0x97, 0x52, 0x79, 0xd8, 0xef, 0x7f, 0x2d, 0x35, 0x86, 0x9a, 0xb0, 0xef, 0x49, 0xaa, 0xc3, 0x34, + 0x1a, 0xb7, 0x68, 0x5e, 0x58, 0x7e, 0x37, 0x29, 0x93, 0xbe, 0x27, 0x27, 0xcb, 0x94, 0xc9, 0xb8, + 0x35, 0x31, 0x29, 0x6f, 0x2b, 0x59, 0x03, 0x8f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xef, 0x54, + 0xde, 0x9f, 0x42, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_service.pb.go new file mode 100644 index 000000000..84c25f42a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/feed_service.pb.go @@ -0,0 +1,546 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/feed_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [FeedService.GetFeed][google.ads.googleads.v0.services.FeedService.GetFeed]. +type GetFeedRequest struct { + // The resource name of the feed to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFeedRequest) Reset() { *m = GetFeedRequest{} } +func (m *GetFeedRequest) String() string { return proto.CompactTextString(m) } +func (*GetFeedRequest) ProtoMessage() {} +func (*GetFeedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_service_49f38c65d8e855b8, []int{0} +} +func (m *GetFeedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFeedRequest.Unmarshal(m, b) +} +func (m *GetFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFeedRequest.Marshal(b, m, deterministic) +} +func (dst *GetFeedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFeedRequest.Merge(dst, src) +} +func (m *GetFeedRequest) XXX_Size() int { + return xxx_messageInfo_GetFeedRequest.Size(m) +} +func (m *GetFeedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFeedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFeedRequest proto.InternalMessageInfo + +func (m *GetFeedRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [FeedService.MutateFeeds][google.ads.googleads.v0.services.FeedService.MutateFeeds]. +type MutateFeedsRequest struct { + // The ID of the customer whose feeds are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual feeds. + Operations []*FeedOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedsRequest) Reset() { *m = MutateFeedsRequest{} } +func (m *MutateFeedsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateFeedsRequest) ProtoMessage() {} +func (*MutateFeedsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_service_49f38c65d8e855b8, []int{1} +} +func (m *MutateFeedsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedsRequest.Unmarshal(m, b) +} +func (m *MutateFeedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateFeedsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedsRequest.Merge(dst, src) +} +func (m *MutateFeedsRequest) XXX_Size() int { + return xxx_messageInfo_MutateFeedsRequest.Size(m) +} +func (m *MutateFeedsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedsRequest proto.InternalMessageInfo + +func (m *MutateFeedsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateFeedsRequest) GetOperations() []*FeedOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on an feed. +type FeedOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *FeedOperation_Create + // *FeedOperation_Update + // *FeedOperation_Remove + Operation isFeedOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeedOperation) Reset() { *m = FeedOperation{} } +func (m *FeedOperation) String() string { return proto.CompactTextString(m) } +func (*FeedOperation) ProtoMessage() {} +func (*FeedOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_service_49f38c65d8e855b8, []int{2} +} +func (m *FeedOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FeedOperation.Unmarshal(m, b) +} +func (m *FeedOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FeedOperation.Marshal(b, m, deterministic) +} +func (dst *FeedOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedOperation.Merge(dst, src) +} +func (m *FeedOperation) XXX_Size() int { + return xxx_messageInfo_FeedOperation.Size(m) +} +func (m *FeedOperation) XXX_DiscardUnknown() { + xxx_messageInfo_FeedOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedOperation proto.InternalMessageInfo + +func (m *FeedOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isFeedOperation_Operation interface { + isFeedOperation_Operation() +} + +type FeedOperation_Create struct { + Create *resources.Feed `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type FeedOperation_Update struct { + Update *resources.Feed `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type FeedOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*FeedOperation_Create) isFeedOperation_Operation() {} + +func (*FeedOperation_Update) isFeedOperation_Operation() {} + +func (*FeedOperation_Remove) isFeedOperation_Operation() {} + +func (m *FeedOperation) GetOperation() isFeedOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *FeedOperation) GetCreate() *resources.Feed { + if x, ok := m.GetOperation().(*FeedOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *FeedOperation) GetUpdate() *resources.Feed { + if x, ok := m.GetOperation().(*FeedOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *FeedOperation) GetRemove() string { + if x, ok := m.GetOperation().(*FeedOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*FeedOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _FeedOperation_OneofMarshaler, _FeedOperation_OneofUnmarshaler, _FeedOperation_OneofSizer, []interface{}{ + (*FeedOperation_Create)(nil), + (*FeedOperation_Update)(nil), + (*FeedOperation_Remove)(nil), + } +} + +func _FeedOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*FeedOperation) + // operation + switch x := m.Operation.(type) { + case *FeedOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *FeedOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *FeedOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("FeedOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _FeedOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*FeedOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.Feed) + err := b.DecodeMessage(msg) + m.Operation = &FeedOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.Feed) + err := b.DecodeMessage(msg) + m.Operation = &FeedOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &FeedOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _FeedOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*FeedOperation) + // operation + switch x := m.Operation.(type) { + case *FeedOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *FeedOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *FeedOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for an feed mutate. +type MutateFeedsResponse struct { + // All results for the mutate. + Results []*MutateFeedResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedsResponse) Reset() { *m = MutateFeedsResponse{} } +func (m *MutateFeedsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateFeedsResponse) ProtoMessage() {} +func (*MutateFeedsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_service_49f38c65d8e855b8, []int{3} +} +func (m *MutateFeedsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedsResponse.Unmarshal(m, b) +} +func (m *MutateFeedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateFeedsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedsResponse.Merge(dst, src) +} +func (m *MutateFeedsResponse) XXX_Size() int { + return xxx_messageInfo_MutateFeedsResponse.Size(m) +} +func (m *MutateFeedsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedsResponse proto.InternalMessageInfo + +func (m *MutateFeedsResponse) GetResults() []*MutateFeedResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the feed mutate. +type MutateFeedResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateFeedResult) Reset() { *m = MutateFeedResult{} } +func (m *MutateFeedResult) String() string { return proto.CompactTextString(m) } +func (*MutateFeedResult) ProtoMessage() {} +func (*MutateFeedResult) Descriptor() ([]byte, []int) { + return fileDescriptor_feed_service_49f38c65d8e855b8, []int{4} +} +func (m *MutateFeedResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateFeedResult.Unmarshal(m, b) +} +func (m *MutateFeedResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateFeedResult.Marshal(b, m, deterministic) +} +func (dst *MutateFeedResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateFeedResult.Merge(dst, src) +} +func (m *MutateFeedResult) XXX_Size() int { + return xxx_messageInfo_MutateFeedResult.Size(m) +} +func (m *MutateFeedResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateFeedResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateFeedResult proto.InternalMessageInfo + +func (m *MutateFeedResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetFeedRequest)(nil), "google.ads.googleads.v0.services.GetFeedRequest") + proto.RegisterType((*MutateFeedsRequest)(nil), "google.ads.googleads.v0.services.MutateFeedsRequest") + proto.RegisterType((*FeedOperation)(nil), "google.ads.googleads.v0.services.FeedOperation") + proto.RegisterType((*MutateFeedsResponse)(nil), "google.ads.googleads.v0.services.MutateFeedsResponse") + proto.RegisterType((*MutateFeedResult)(nil), "google.ads.googleads.v0.services.MutateFeedResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// FeedServiceClient is the client API for FeedService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type FeedServiceClient interface { + // Returns the requested feed in full detail. + GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*resources.Feed, error) + // Creates, updates, or removes feeds. Operation statuses are + // returned. + MutateFeeds(ctx context.Context, in *MutateFeedsRequest, opts ...grpc.CallOption) (*MutateFeedsResponse, error) +} + +type feedServiceClient struct { + cc *grpc.ClientConn +} + +func NewFeedServiceClient(cc *grpc.ClientConn) FeedServiceClient { + return &feedServiceClient{cc} +} + +func (c *feedServiceClient) GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*resources.Feed, error) { + out := new(resources.Feed) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.FeedService/GetFeed", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *feedServiceClient) MutateFeeds(ctx context.Context, in *MutateFeedsRequest, opts ...grpc.CallOption) (*MutateFeedsResponse, error) { + out := new(MutateFeedsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.FeedService/MutateFeeds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FeedServiceServer is the server API for FeedService service. +type FeedServiceServer interface { + // Returns the requested feed in full detail. + GetFeed(context.Context, *GetFeedRequest) (*resources.Feed, error) + // Creates, updates, or removes feeds. Operation statuses are + // returned. + MutateFeeds(context.Context, *MutateFeedsRequest) (*MutateFeedsResponse, error) +} + +func RegisterFeedServiceServer(s *grpc.Server, srv FeedServiceServer) { + s.RegisterService(&_FeedService_serviceDesc, srv) +} + +func _FeedService_GetFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFeedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FeedServiceServer).GetFeed(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.FeedService/GetFeed", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FeedServiceServer).GetFeed(ctx, req.(*GetFeedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FeedService_MutateFeeds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateFeedsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FeedServiceServer).MutateFeeds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.FeedService/MutateFeeds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FeedServiceServer).MutateFeeds(ctx, req.(*MutateFeedsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _FeedService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.FeedService", + HandlerType: (*FeedServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetFeed", + Handler: _FeedService_GetFeed_Handler, + }, + { + MethodName: "MutateFeeds", + Handler: _FeedService_MutateFeeds_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/feed_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/feed_service.proto", fileDescriptor_feed_service_49f38c65d8e855b8) +} + +var fileDescriptor_feed_service_49f38c65d8e855b8 = []byte{ + // 578 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6b, 0x13, 0x41, + 0x14, 0x76, 0x37, 0x92, 0xd2, 0x59, 0x2b, 0x65, 0xbc, 0x2c, 0x41, 0x30, 0xac, 0x42, 0x63, 0x90, + 0x99, 0x90, 0x1a, 0x84, 0x96, 0x1e, 0x92, 0x43, 0x53, 0xc1, 0xda, 0xb2, 0x42, 0x0f, 0x12, 0x08, + 0xd3, 0xdd, 0x97, 0x65, 0x69, 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32, 0x9f, 0x5e, 0x87, + 0xf8, 0x0c, 0x21, 0x9e, 0x41, 0xae, 0x45, 0xba, 0x76, 0xb3, 0xd6, 0x72, 0xba, 0x94, 0xac, 0xf3, + 0x84, 0xa8, 0x22, 0x67, 0x06, 0xe7, 0x2f, 0x50, 0x78, 0x7f, 0x2d, 0xb4, 0xb3, 0x74, 0x8b, 0x0f, + 0x91, 0x53, 0x64, 0x21, 0x93, 0x50, 0x3e, 0xd3, 0xbd, 0xdf, 0xb4, 0x5a, 0x4e, 0xb7, 0x61, 0x6a, + 0x18, 0x27, 0xc8, 0xb1, 0x72, 0xe2, 0x94, 0x89, 0x2b, 0x1f, 0xe9, 0x74, 0x15, 0xe3, 0x3e, 0xaa, + 0x07, 0x39, 0x30, 0xa9, 0x5f, 0xed, 0x74, 0xf7, 0x56, 0x6a, 0x9b, 0x77, 0xa3, 0x14, 0x77, 0x72, + 0xcf, 0xaf, 0x80, 0x8a, 0x42, 0x13, 0xba, 0xf6, 0xc6, 0x14, 0x1a, 0x88, 0x5d, 0x54, 0xcf, 0x21, + 0xe1, 0x33, 0x70, 0x6b, 0xca, 0x41, 0x75, 0xa3, 0xcf, 0x03, 0x07, 0x6d, 0xcf, 0x1f, 0xef, 0x05, + 0xe8, 0xd1, 0x52, 0x0f, 0x44, 0xc6, 0x53, 0x01, 0xf8, 0x0d, 0xda, 0xca, 0x41, 0x14, 0x53, 0x69, + 0x0c, 0xee, 0xae, 0x37, 0xf8, 0x96, 0xc7, 0x2f, 0xa1, 0xbe, 0xa1, 0xf0, 0x5e, 0xa1, 0xdd, 0xff, + 0x2f, 0xef, 0x34, 0x22, 0xdd, 0xdf, 0x36, 0x72, 0x14, 0xe6, 0x9d, 0xae, 0x81, 0xbf, 0x58, 0x68, + 0xab, 0x1a, 0x35, 0xdc, 0x59, 0xaf, 0x68, 0x79, 0x2a, 0x1b, 0x77, 0x75, 0xd1, 0xa3, 0x1f, 0x7f, + 0xfd, 0xf9, 0x6c, 0x3f, 0xc7, 0x7b, 0x6a, 0x65, 0xae, 0x97, 0x64, 0x1e, 0x99, 0x41, 0x14, 0xb4, + 0x5d, 0xee, 0x90, 0xa0, 0xed, 0x1b, 0xfc, 0xdd, 0x42, 0xce, 0x82, 0x8d, 0xf8, 0xe5, 0x26, 0x6e, + 0x99, 0xc9, 0x6f, 0xf4, 0x36, 0x44, 0xe9, 0x5e, 0x79, 0xbd, 0x52, 0x2d, 0xf5, 0xda, 0x4a, 0xed, + 0xad, 0xbc, 0xeb, 0x85, 0x2d, 0x3a, 0x6a, 0xdf, 0x68, 0xb1, 0x07, 0x49, 0x49, 0x70, 0x60, 0xb5, + 0x07, 0x3f, 0x2d, 0xf4, 0x2c, 0xe0, 0xc9, 0xda, 0x9a, 0x83, 0xdd, 0x85, 0x0e, 0x9c, 0xab, 0xd1, + 0x3f, 0xb7, 0xde, 0x9f, 0x54, 0xa8, 0x88, 0x4f, 0x59, 0x1a, 0x11, 0x9e, 0x47, 0x34, 0x82, 0xb4, + 0x5c, 0x0c, 0xf3, 0xc3, 0xc9, 0x62, 0xb1, 0xfa, 0xb7, 0x76, 0x68, 0x82, 0xaf, 0x76, 0x6d, 0xd8, + 0xef, 0x7f, 0xb3, 0x9b, 0x43, 0x4d, 0xd8, 0x0f, 0x05, 0xd1, 0xa1, 0x8a, 0x2e, 0x3a, 0xa4, 0x2a, + 0x2c, 0x7e, 0x98, 0x94, 0x51, 0x3f, 0x14, 0xa3, 0x79, 0xca, 0xe8, 0xa2, 0x33, 0x32, 0x29, 0x97, + 0xf5, 0x52, 0xc0, 0xfe, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x35, 0xe0, 0x55, 0x56, 0x05, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/gender_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/gender_view_service.pb.go new file mode 100644 index 000000000..29c710c0f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/gender_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/gender_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [GenderViewService.GetGenderView][google.ads.googleads.v0.services.GenderViewService.GetGenderView]. +type GetGenderViewRequest struct { + // The resource name of the gender view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetGenderViewRequest) Reset() { *m = GetGenderViewRequest{} } +func (m *GetGenderViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetGenderViewRequest) ProtoMessage() {} +func (*GetGenderViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_gender_view_service_24d25db8a4dd9eb3, []int{0} +} +func (m *GetGenderViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetGenderViewRequest.Unmarshal(m, b) +} +func (m *GetGenderViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetGenderViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetGenderViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGenderViewRequest.Merge(dst, src) +} +func (m *GetGenderViewRequest) XXX_Size() int { + return xxx_messageInfo_GetGenderViewRequest.Size(m) +} +func (m *GetGenderViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetGenderViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetGenderViewRequest proto.InternalMessageInfo + +func (m *GetGenderViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetGenderViewRequest)(nil), "google.ads.googleads.v0.services.GetGenderViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GenderViewServiceClient is the client API for GenderViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GenderViewServiceClient interface { + // Returns the requested gender view in full detail. + GetGenderView(ctx context.Context, in *GetGenderViewRequest, opts ...grpc.CallOption) (*resources.GenderView, error) +} + +type genderViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewGenderViewServiceClient(cc *grpc.ClientConn) GenderViewServiceClient { + return &genderViewServiceClient{cc} +} + +func (c *genderViewServiceClient) GetGenderView(ctx context.Context, in *GetGenderViewRequest, opts ...grpc.CallOption) (*resources.GenderView, error) { + out := new(resources.GenderView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GenderViewService/GetGenderView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GenderViewServiceServer is the server API for GenderViewService service. +type GenderViewServiceServer interface { + // Returns the requested gender view in full detail. + GetGenderView(context.Context, *GetGenderViewRequest) (*resources.GenderView, error) +} + +func RegisterGenderViewServiceServer(s *grpc.Server, srv GenderViewServiceServer) { + s.RegisterService(&_GenderViewService_serviceDesc, srv) +} + +func _GenderViewService_GetGenderView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGenderViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GenderViewServiceServer).GetGenderView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GenderViewService/GetGenderView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GenderViewServiceServer).GetGenderView(ctx, req.(*GetGenderViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _GenderViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.GenderViewService", + HandlerType: (*GenderViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetGenderView", + Handler: _GenderViewService_GetGenderView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/gender_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/gender_view_service.proto", fileDescriptor_gender_view_service_24d25db8a4dd9eb3) +} + +var fileDescriptor_gender_view_service_24d25db8a4dd9eb3 = []byte{ + // 340 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4a, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xf4, 0xd4, 0xbc, 0x94, 0xd4, 0xa2, 0xf8, 0xb2, 0xcc, + 0xd4, 0xf2, 0x78, 0xa8, 0xa0, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, 0x44, 0x83, 0x5e, + 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xaf, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 0xaf, 0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0x97, 0xae, 0x97, 0x5f, 0x94, 0x0e, 0xb2, 0x04, 0x1c, 0xc2, 0xb0, 0x88, 0x2a, 0xc8, + 0x2c, 0xc6, 0x9d, 0x2a, 0xac, 0x61, 0x8c, 0x45, 0x4c, 0xcc, 0xee, 0x8e, 0x8e, 0xab, 0x98, 0x14, + 0xdc, 0x21, 0x06, 0x3a, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, 0x56, 0x98, 0x81, 0x1e, 0xd4, 0xe2, + 0xe2, 0x53, 0x30, 0x25, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x25, 0x31, 0x61, 0x06, 0x31, 0x30, + 0x25, 0x49, 0x6c, 0x60, 0x07, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xf5, 0x86, 0x9c, + 0x95, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/geo_target_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/geo_target_constant_service.pb.go new file mode 100644 index 000000000..c321becf9 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/geo_target_constant_service.pb.go @@ -0,0 +1,615 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/geo_target_constant_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v0.services.GeoTargetConstantService.GetGeoTargetConstant]. +type GetGeoTargetConstantRequest struct { + // The resource name of the geo target constant to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetGeoTargetConstantRequest) Reset() { *m = GetGeoTargetConstantRequest{} } +func (m *GetGeoTargetConstantRequest) String() string { return proto.CompactTextString(m) } +func (*GetGeoTargetConstantRequest) ProtoMessage() {} +func (*GetGeoTargetConstantRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b, []int{0} +} +func (m *GetGeoTargetConstantRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetGeoTargetConstantRequest.Unmarshal(m, b) +} +func (m *GetGeoTargetConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetGeoTargetConstantRequest.Marshal(b, m, deterministic) +} +func (dst *GetGeoTargetConstantRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGeoTargetConstantRequest.Merge(dst, src) +} +func (m *GetGeoTargetConstantRequest) XXX_Size() int { + return xxx_messageInfo_GetGeoTargetConstantRequest.Size(m) +} +func (m *GetGeoTargetConstantRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetGeoTargetConstantRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetGeoTargetConstantRequest proto.InternalMessageInfo + +func (m *GetGeoTargetConstantRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for +// [GeoTargetConstantService.SuggestGeoTargetConstantsRequest][]. +type SuggestGeoTargetConstantsRequest struct { + // If possible, returned geo targets are translated using this locale. If not, + // en is used by default. This is also used as a hint for returned geo + // targets. + Locale *wrappers.StringValue `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` + // Returned geo targets are restricted to this country code. + CountryCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + // Required. A selector of geo target constants. + // + // Types that are valid to be assigned to Query: + // *SuggestGeoTargetConstantsRequest_LocationNames_ + // *SuggestGeoTargetConstantsRequest_GeoTargets_ + Query isSuggestGeoTargetConstantsRequest_Query `protobuf_oneof:"query"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SuggestGeoTargetConstantsRequest) Reset() { *m = SuggestGeoTargetConstantsRequest{} } +func (m *SuggestGeoTargetConstantsRequest) String() string { return proto.CompactTextString(m) } +func (*SuggestGeoTargetConstantsRequest) ProtoMessage() {} +func (*SuggestGeoTargetConstantsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b, []int{1} +} +func (m *SuggestGeoTargetConstantsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest.Unmarshal(m, b) +} +func (m *SuggestGeoTargetConstantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest.Marshal(b, m, deterministic) +} +func (dst *SuggestGeoTargetConstantsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SuggestGeoTargetConstantsRequest.Merge(dst, src) +} +func (m *SuggestGeoTargetConstantsRequest) XXX_Size() int { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest.Size(m) +} +func (m *SuggestGeoTargetConstantsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SuggestGeoTargetConstantsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SuggestGeoTargetConstantsRequest proto.InternalMessageInfo + +func (m *SuggestGeoTargetConstantsRequest) GetLocale() *wrappers.StringValue { + if m != nil { + return m.Locale + } + return nil +} + +func (m *SuggestGeoTargetConstantsRequest) GetCountryCode() *wrappers.StringValue { + if m != nil { + return m.CountryCode + } + return nil +} + +type isSuggestGeoTargetConstantsRequest_Query interface { + isSuggestGeoTargetConstantsRequest_Query() +} + +type SuggestGeoTargetConstantsRequest_LocationNames_ struct { + LocationNames *SuggestGeoTargetConstantsRequest_LocationNames `protobuf:"bytes,1,opt,name=location_names,json=locationNames,proto3,oneof"` +} + +type SuggestGeoTargetConstantsRequest_GeoTargets_ struct { + GeoTargets *SuggestGeoTargetConstantsRequest_GeoTargets `protobuf:"bytes,2,opt,name=geo_targets,json=geoTargets,proto3,oneof"` +} + +func (*SuggestGeoTargetConstantsRequest_LocationNames_) isSuggestGeoTargetConstantsRequest_Query() {} + +func (*SuggestGeoTargetConstantsRequest_GeoTargets_) isSuggestGeoTargetConstantsRequest_Query() {} + +func (m *SuggestGeoTargetConstantsRequest) GetQuery() isSuggestGeoTargetConstantsRequest_Query { + if m != nil { + return m.Query + } + return nil +} + +func (m *SuggestGeoTargetConstantsRequest) GetLocationNames() *SuggestGeoTargetConstantsRequest_LocationNames { + if x, ok := m.GetQuery().(*SuggestGeoTargetConstantsRequest_LocationNames_); ok { + return x.LocationNames + } + return nil +} + +func (m *SuggestGeoTargetConstantsRequest) GetGeoTargets() *SuggestGeoTargetConstantsRequest_GeoTargets { + if x, ok := m.GetQuery().(*SuggestGeoTargetConstantsRequest_GeoTargets_); ok { + return x.GeoTargets + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*SuggestGeoTargetConstantsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _SuggestGeoTargetConstantsRequest_OneofMarshaler, _SuggestGeoTargetConstantsRequest_OneofUnmarshaler, _SuggestGeoTargetConstantsRequest_OneofSizer, []interface{}{ + (*SuggestGeoTargetConstantsRequest_LocationNames_)(nil), + (*SuggestGeoTargetConstantsRequest_GeoTargets_)(nil), + } +} + +func _SuggestGeoTargetConstantsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*SuggestGeoTargetConstantsRequest) + // query + switch x := m.Query.(type) { + case *SuggestGeoTargetConstantsRequest_LocationNames_: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.LocationNames); err != nil { + return err + } + case *SuggestGeoTargetConstantsRequest_GeoTargets_: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.GeoTargets); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("SuggestGeoTargetConstantsRequest.Query has unexpected type %T", x) + } + return nil +} + +func _SuggestGeoTargetConstantsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*SuggestGeoTargetConstantsRequest) + switch tag { + case 1: // query.location_names + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(SuggestGeoTargetConstantsRequest_LocationNames) + err := b.DecodeMessage(msg) + m.Query = &SuggestGeoTargetConstantsRequest_LocationNames_{msg} + return true, err + case 2: // query.geo_targets + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(SuggestGeoTargetConstantsRequest_GeoTargets) + err := b.DecodeMessage(msg) + m.Query = &SuggestGeoTargetConstantsRequest_GeoTargets_{msg} + return true, err + default: + return false, nil + } +} + +func _SuggestGeoTargetConstantsRequest_OneofSizer(msg proto.Message) (n int) { + m := msg.(*SuggestGeoTargetConstantsRequest) + // query + switch x := m.Query.(type) { + case *SuggestGeoTargetConstantsRequest_LocationNames_: + s := proto.Size(x.LocationNames) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SuggestGeoTargetConstantsRequest_GeoTargets_: + s := proto.Size(x.GeoTargets) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A list of location names. +type SuggestGeoTargetConstantsRequest_LocationNames struct { + // A list of location names. + Names []*wrappers.StringValue `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SuggestGeoTargetConstantsRequest_LocationNames) Reset() { + *m = SuggestGeoTargetConstantsRequest_LocationNames{} +} +func (m *SuggestGeoTargetConstantsRequest_LocationNames) String() string { + return proto.CompactTextString(m) +} +func (*SuggestGeoTargetConstantsRequest_LocationNames) ProtoMessage() {} +func (*SuggestGeoTargetConstantsRequest_LocationNames) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b, []int{1, 0} +} +func (m *SuggestGeoTargetConstantsRequest_LocationNames) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.Unmarshal(m, b) +} +func (m *SuggestGeoTargetConstantsRequest_LocationNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.Marshal(b, m, deterministic) +} +func (dst *SuggestGeoTargetConstantsRequest_LocationNames) XXX_Merge(src proto.Message) { + xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.Merge(dst, src) +} +func (m *SuggestGeoTargetConstantsRequest_LocationNames) XXX_Size() int { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.Size(m) +} +func (m *SuggestGeoTargetConstantsRequest_LocationNames) XXX_DiscardUnknown() { + xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.DiscardUnknown(m) +} + +var xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames proto.InternalMessageInfo + +func (m *SuggestGeoTargetConstantsRequest_LocationNames) GetNames() []*wrappers.StringValue { + if m != nil { + return m.Names + } + return nil +} + +// A list of geo target constant resource names. +type SuggestGeoTargetConstantsRequest_GeoTargets struct { + // A list of geo target constant resource names. + GeoTargetConstants []*wrappers.StringValue `protobuf:"bytes,1,rep,name=geo_target_constants,json=geoTargetConstants,proto3" json:"geo_target_constants,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) Reset() { + *m = SuggestGeoTargetConstantsRequest_GeoTargets{} +} +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) String() string { + return proto.CompactTextString(m) +} +func (*SuggestGeoTargetConstantsRequest_GeoTargets) ProtoMessage() {} +func (*SuggestGeoTargetConstantsRequest_GeoTargets) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b, []int{1, 1} +} +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.Unmarshal(m, b) +} +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.Marshal(b, m, deterministic) +} +func (dst *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_Merge(src proto.Message) { + xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.Merge(dst, src) +} +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_Size() int { + return xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.Size(m) +} +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_DiscardUnknown() { + xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.DiscardUnknown(m) +} + +var xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets proto.InternalMessageInfo + +func (m *SuggestGeoTargetConstantsRequest_GeoTargets) GetGeoTargetConstants() []*wrappers.StringValue { + if m != nil { + return m.GeoTargetConstants + } + return nil +} + +// Response message for [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v0.services.GeoTargetConstantService.SuggestGeoTargetConstants] +type SuggestGeoTargetConstantsResponse struct { + // Geo target constant suggestions. + GeoTargetConstantSuggestions []*GeoTargetConstantSuggestion `protobuf:"bytes,1,rep,name=geo_target_constant_suggestions,json=geoTargetConstantSuggestions,proto3" json:"geo_target_constant_suggestions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SuggestGeoTargetConstantsResponse) Reset() { *m = SuggestGeoTargetConstantsResponse{} } +func (m *SuggestGeoTargetConstantsResponse) String() string { return proto.CompactTextString(m) } +func (*SuggestGeoTargetConstantsResponse) ProtoMessage() {} +func (*SuggestGeoTargetConstantsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b, []int{2} +} +func (m *SuggestGeoTargetConstantsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SuggestGeoTargetConstantsResponse.Unmarshal(m, b) +} +func (m *SuggestGeoTargetConstantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SuggestGeoTargetConstantsResponse.Marshal(b, m, deterministic) +} +func (dst *SuggestGeoTargetConstantsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SuggestGeoTargetConstantsResponse.Merge(dst, src) +} +func (m *SuggestGeoTargetConstantsResponse) XXX_Size() int { + return xxx_messageInfo_SuggestGeoTargetConstantsResponse.Size(m) +} +func (m *SuggestGeoTargetConstantsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SuggestGeoTargetConstantsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SuggestGeoTargetConstantsResponse proto.InternalMessageInfo + +func (m *SuggestGeoTargetConstantsResponse) GetGeoTargetConstantSuggestions() []*GeoTargetConstantSuggestion { + if m != nil { + return m.GeoTargetConstantSuggestions + } + return nil +} + +// A geo target constant suggestion. +type GeoTargetConstantSuggestion struct { + // The language this GeoTargetConstantSuggestion is currently translated to. + // It affects the name of geo target fields. For example, if locale=en, then + // name=Spain. If locale=es, then name=España. The default locale will be + // returned if no translation exists for the locale in the request. + Locale *wrappers.StringValue `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` + // Approximate user population that will be targeted, rounded to the + // nearest 100. + Reach *wrappers.Int64Value `protobuf:"bytes,2,opt,name=reach,proto3" json:"reach,omitempty"` + // If the request searched by location name, this is the location name that + // matched the geo target. + SearchTerm *wrappers.StringValue `protobuf:"bytes,3,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` + // The GeoTargetConstant result. + GeoTargetConstant *resources.GeoTargetConstant `protobuf:"bytes,4,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"` + // The list of parents of the geo target constant. + GeoTargetConstantParents []*resources.GeoTargetConstant `protobuf:"bytes,5,rep,name=geo_target_constant_parents,json=geoTargetConstantParents,proto3" json:"geo_target_constant_parents,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GeoTargetConstantSuggestion) Reset() { *m = GeoTargetConstantSuggestion{} } +func (m *GeoTargetConstantSuggestion) String() string { return proto.CompactTextString(m) } +func (*GeoTargetConstantSuggestion) ProtoMessage() {} +func (*GeoTargetConstantSuggestion) Descriptor() ([]byte, []int) { + return fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b, []int{3} +} +func (m *GeoTargetConstantSuggestion) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GeoTargetConstantSuggestion.Unmarshal(m, b) +} +func (m *GeoTargetConstantSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GeoTargetConstantSuggestion.Marshal(b, m, deterministic) +} +func (dst *GeoTargetConstantSuggestion) XXX_Merge(src proto.Message) { + xxx_messageInfo_GeoTargetConstantSuggestion.Merge(dst, src) +} +func (m *GeoTargetConstantSuggestion) XXX_Size() int { + return xxx_messageInfo_GeoTargetConstantSuggestion.Size(m) +} +func (m *GeoTargetConstantSuggestion) XXX_DiscardUnknown() { + xxx_messageInfo_GeoTargetConstantSuggestion.DiscardUnknown(m) +} + +var xxx_messageInfo_GeoTargetConstantSuggestion proto.InternalMessageInfo + +func (m *GeoTargetConstantSuggestion) GetLocale() *wrappers.StringValue { + if m != nil { + return m.Locale + } + return nil +} + +func (m *GeoTargetConstantSuggestion) GetReach() *wrappers.Int64Value { + if m != nil { + return m.Reach + } + return nil +} + +func (m *GeoTargetConstantSuggestion) GetSearchTerm() *wrappers.StringValue { + if m != nil { + return m.SearchTerm + } + return nil +} + +func (m *GeoTargetConstantSuggestion) GetGeoTargetConstant() *resources.GeoTargetConstant { + if m != nil { + return m.GeoTargetConstant + } + return nil +} + +func (m *GeoTargetConstantSuggestion) GetGeoTargetConstantParents() []*resources.GeoTargetConstant { + if m != nil { + return m.GeoTargetConstantParents + } + return nil +} + +func init() { + proto.RegisterType((*GetGeoTargetConstantRequest)(nil), "google.ads.googleads.v0.services.GetGeoTargetConstantRequest") + proto.RegisterType((*SuggestGeoTargetConstantsRequest)(nil), "google.ads.googleads.v0.services.SuggestGeoTargetConstantsRequest") + proto.RegisterType((*SuggestGeoTargetConstantsRequest_LocationNames)(nil), "google.ads.googleads.v0.services.SuggestGeoTargetConstantsRequest.LocationNames") + proto.RegisterType((*SuggestGeoTargetConstantsRequest_GeoTargets)(nil), "google.ads.googleads.v0.services.SuggestGeoTargetConstantsRequest.GeoTargets") + proto.RegisterType((*SuggestGeoTargetConstantsResponse)(nil), "google.ads.googleads.v0.services.SuggestGeoTargetConstantsResponse") + proto.RegisterType((*GeoTargetConstantSuggestion)(nil), "google.ads.googleads.v0.services.GeoTargetConstantSuggestion") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GeoTargetConstantServiceClient is the client API for GeoTargetConstantService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GeoTargetConstantServiceClient interface { + // Returns the requested geo target constant in full detail. + GetGeoTargetConstant(ctx context.Context, in *GetGeoTargetConstantRequest, opts ...grpc.CallOption) (*resources.GeoTargetConstant, error) + // Returns GeoTargetConstant suggestions by location name or by resource name. + SuggestGeoTargetConstants(ctx context.Context, in *SuggestGeoTargetConstantsRequest, opts ...grpc.CallOption) (*SuggestGeoTargetConstantsResponse, error) +} + +type geoTargetConstantServiceClient struct { + cc *grpc.ClientConn +} + +func NewGeoTargetConstantServiceClient(cc *grpc.ClientConn) GeoTargetConstantServiceClient { + return &geoTargetConstantServiceClient{cc} +} + +func (c *geoTargetConstantServiceClient) GetGeoTargetConstant(ctx context.Context, in *GetGeoTargetConstantRequest, opts ...grpc.CallOption) (*resources.GeoTargetConstant, error) { + out := new(resources.GeoTargetConstant) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GeoTargetConstantService/GetGeoTargetConstant", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *geoTargetConstantServiceClient) SuggestGeoTargetConstants(ctx context.Context, in *SuggestGeoTargetConstantsRequest, opts ...grpc.CallOption) (*SuggestGeoTargetConstantsResponse, error) { + out := new(SuggestGeoTargetConstantsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GeoTargetConstantService/SuggestGeoTargetConstants", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GeoTargetConstantServiceServer is the server API for GeoTargetConstantService service. +type GeoTargetConstantServiceServer interface { + // Returns the requested geo target constant in full detail. + GetGeoTargetConstant(context.Context, *GetGeoTargetConstantRequest) (*resources.GeoTargetConstant, error) + // Returns GeoTargetConstant suggestions by location name or by resource name. + SuggestGeoTargetConstants(context.Context, *SuggestGeoTargetConstantsRequest) (*SuggestGeoTargetConstantsResponse, error) +} + +func RegisterGeoTargetConstantServiceServer(s *grpc.Server, srv GeoTargetConstantServiceServer) { + s.RegisterService(&_GeoTargetConstantService_serviceDesc, srv) +} + +func _GeoTargetConstantService_GetGeoTargetConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGeoTargetConstantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GeoTargetConstantServiceServer).GetGeoTargetConstant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GeoTargetConstantService/GetGeoTargetConstant", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GeoTargetConstantServiceServer).GetGeoTargetConstant(ctx, req.(*GetGeoTargetConstantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GeoTargetConstantService_SuggestGeoTargetConstants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SuggestGeoTargetConstantsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GeoTargetConstantServiceServer).SuggestGeoTargetConstants(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GeoTargetConstantService/SuggestGeoTargetConstants", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GeoTargetConstantServiceServer).SuggestGeoTargetConstants(ctx, req.(*SuggestGeoTargetConstantsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _GeoTargetConstantService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.GeoTargetConstantService", + HandlerType: (*GeoTargetConstantServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetGeoTargetConstant", + Handler: _GeoTargetConstantService_GetGeoTargetConstant_Handler, + }, + { + MethodName: "SuggestGeoTargetConstants", + Handler: _GeoTargetConstantService_SuggestGeoTargetConstants_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/geo_target_constant_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/geo_target_constant_service.proto", fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b) +} + +var fileDescriptor_geo_target_constant_service_cb9e61b3d70ff45b = []byte{ + // 696 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x6e, 0xd3, 0x4a, + 0x14, 0xbe, 0x4e, 0x9a, 0x5e, 0xdd, 0x93, 0xf6, 0x4a, 0x77, 0x6e, 0x17, 0x26, 0x2d, 0x25, 0xb8, + 0x2c, 0x4a, 0x17, 0x76, 0x08, 0x15, 0x8b, 0x56, 0x15, 0x4a, 0xb2, 0x48, 0x91, 0xa0, 0x8a, 0xd2, + 0xaa, 0x0b, 0x14, 0x29, 0x9a, 0xda, 0x87, 0x69, 0xa4, 0xc4, 0xe3, 0xce, 0x8c, 0x8b, 0x2a, 0xc4, + 0x06, 0xf1, 0x06, 0xbc, 0x00, 0x62, 0x59, 0xb1, 0x62, 0xcf, 0x0b, 0xb0, 0x61, 0xc1, 0x9a, 0x1d, + 0x0f, 0x82, 0x6c, 0x8f, 0xd3, 0x56, 0x8e, 0x49, 0x68, 0xd9, 0x8d, 0x7d, 0xce, 0xf9, 0xbe, 0xf9, + 0xce, 0xdf, 0x40, 0x93, 0x71, 0xce, 0x86, 0xe8, 0x50, 0x4f, 0x3a, 0xc9, 0x31, 0x3a, 0x9d, 0xd6, + 0x1c, 0x89, 0xe2, 0x74, 0xe0, 0xa2, 0x74, 0x18, 0xf2, 0xbe, 0xa2, 0x82,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xde, 0xd8, 0xa5, + 0x77, 0x58, 0xeb, 0xa5, 0x2e, 0x47, 0xf3, 0xf1, 0x05, 0x1e, 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, + 0x9e, 0x4b, 0x04, 0xea, 0x41, 0x08, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_field_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_field_service.pb.go new file mode 100644 index 000000000..8df1c3d8b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_field_service.pb.go @@ -0,0 +1,344 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/google_ads_field_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v0.services.GoogleAdsFieldService.GetGoogleAdsField]. +type GetGoogleAdsFieldRequest struct { + // The resource name of the field to get. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetGoogleAdsFieldRequest) Reset() { *m = GetGoogleAdsFieldRequest{} } +func (m *GetGoogleAdsFieldRequest) String() string { return proto.CompactTextString(m) } +func (*GetGoogleAdsFieldRequest) ProtoMessage() {} +func (*GetGoogleAdsFieldRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_service_68d4cc408e069062, []int{0} +} +func (m *GetGoogleAdsFieldRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetGoogleAdsFieldRequest.Unmarshal(m, b) +} +func (m *GetGoogleAdsFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetGoogleAdsFieldRequest.Marshal(b, m, deterministic) +} +func (dst *GetGoogleAdsFieldRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGoogleAdsFieldRequest.Merge(dst, src) +} +func (m *GetGoogleAdsFieldRequest) XXX_Size() int { + return xxx_messageInfo_GetGoogleAdsFieldRequest.Size(m) +} +func (m *GetGoogleAdsFieldRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetGoogleAdsFieldRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetGoogleAdsFieldRequest proto.InternalMessageInfo + +func (m *GetGoogleAdsFieldRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v0.services.GoogleAdsFieldService.SearchGoogleAdsFields]. +type SearchGoogleAdsFieldsRequest struct { + // The query string. + Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + // Token of the page to retrieve. If not specified, the first page of + // results will be returned. Use the value obtained from `next_page_token` + // in the previous response in order to request the next page of results. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Number of elements to retrieve in a single page. + // When too large a page is requested, the server may decide to further + // limit the number of returned resources. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchGoogleAdsFieldsRequest) Reset() { *m = SearchGoogleAdsFieldsRequest{} } +func (m *SearchGoogleAdsFieldsRequest) String() string { return proto.CompactTextString(m) } +func (*SearchGoogleAdsFieldsRequest) ProtoMessage() {} +func (*SearchGoogleAdsFieldsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_service_68d4cc408e069062, []int{1} +} +func (m *SearchGoogleAdsFieldsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchGoogleAdsFieldsRequest.Unmarshal(m, b) +} +func (m *SearchGoogleAdsFieldsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchGoogleAdsFieldsRequest.Marshal(b, m, deterministic) +} +func (dst *SearchGoogleAdsFieldsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchGoogleAdsFieldsRequest.Merge(dst, src) +} +func (m *SearchGoogleAdsFieldsRequest) XXX_Size() int { + return xxx_messageInfo_SearchGoogleAdsFieldsRequest.Size(m) +} +func (m *SearchGoogleAdsFieldsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SearchGoogleAdsFieldsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchGoogleAdsFieldsRequest proto.InternalMessageInfo + +func (m *SearchGoogleAdsFieldsRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +func (m *SearchGoogleAdsFieldsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *SearchGoogleAdsFieldsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v0.services.GoogleAdsFieldService.SearchGoogleAdsFields]. +type SearchGoogleAdsFieldsResponse struct { + // The list of fields that matched the query. + Results []*resources.GoogleAdsField `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + // Pagination token used to retrieve the next page of results. Pass the + // content of this string as the `page_token` attribute of the next request. + // `next_page_token` is not returned for the last page. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // Total number of results that match the query ignoring the LIMIT clause. + TotalResultsCount int64 `protobuf:"varint,3,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchGoogleAdsFieldsResponse) Reset() { *m = SearchGoogleAdsFieldsResponse{} } +func (m *SearchGoogleAdsFieldsResponse) String() string { return proto.CompactTextString(m) } +func (*SearchGoogleAdsFieldsResponse) ProtoMessage() {} +func (*SearchGoogleAdsFieldsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_field_service_68d4cc408e069062, []int{2} +} +func (m *SearchGoogleAdsFieldsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchGoogleAdsFieldsResponse.Unmarshal(m, b) +} +func (m *SearchGoogleAdsFieldsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchGoogleAdsFieldsResponse.Marshal(b, m, deterministic) +} +func (dst *SearchGoogleAdsFieldsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchGoogleAdsFieldsResponse.Merge(dst, src) +} +func (m *SearchGoogleAdsFieldsResponse) XXX_Size() int { + return xxx_messageInfo_SearchGoogleAdsFieldsResponse.Size(m) +} +func (m *SearchGoogleAdsFieldsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SearchGoogleAdsFieldsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchGoogleAdsFieldsResponse proto.InternalMessageInfo + +func (m *SearchGoogleAdsFieldsResponse) GetResults() []*resources.GoogleAdsField { + if m != nil { + return m.Results + } + return nil +} + +func (m *SearchGoogleAdsFieldsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func (m *SearchGoogleAdsFieldsResponse) GetTotalResultsCount() int64 { + if m != nil { + return m.TotalResultsCount + } + return 0 +} + +func init() { + proto.RegisterType((*GetGoogleAdsFieldRequest)(nil), "google.ads.googleads.v0.services.GetGoogleAdsFieldRequest") + proto.RegisterType((*SearchGoogleAdsFieldsRequest)(nil), "google.ads.googleads.v0.services.SearchGoogleAdsFieldsRequest") + proto.RegisterType((*SearchGoogleAdsFieldsResponse)(nil), "google.ads.googleads.v0.services.SearchGoogleAdsFieldsResponse") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GoogleAdsFieldServiceClient is the client API for GoogleAdsFieldService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GoogleAdsFieldServiceClient interface { + // Returns just the requested field. + GetGoogleAdsField(ctx context.Context, in *GetGoogleAdsFieldRequest, opts ...grpc.CallOption) (*resources.GoogleAdsField, error) + // Returns all fields that match the search query. + SearchGoogleAdsFields(ctx context.Context, in *SearchGoogleAdsFieldsRequest, opts ...grpc.CallOption) (*SearchGoogleAdsFieldsResponse, error) +} + +type googleAdsFieldServiceClient struct { + cc *grpc.ClientConn +} + +func NewGoogleAdsFieldServiceClient(cc *grpc.ClientConn) GoogleAdsFieldServiceClient { + return &googleAdsFieldServiceClient{cc} +} + +func (c *googleAdsFieldServiceClient) GetGoogleAdsField(ctx context.Context, in *GetGoogleAdsFieldRequest, opts ...grpc.CallOption) (*resources.GoogleAdsField, error) { + out := new(resources.GoogleAdsField) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GoogleAdsFieldService/GetGoogleAdsField", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *googleAdsFieldServiceClient) SearchGoogleAdsFields(ctx context.Context, in *SearchGoogleAdsFieldsRequest, opts ...grpc.CallOption) (*SearchGoogleAdsFieldsResponse, error) { + out := new(SearchGoogleAdsFieldsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GoogleAdsFieldService/SearchGoogleAdsFields", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GoogleAdsFieldServiceServer is the server API for GoogleAdsFieldService service. +type GoogleAdsFieldServiceServer interface { + // Returns just the requested field. + GetGoogleAdsField(context.Context, *GetGoogleAdsFieldRequest) (*resources.GoogleAdsField, error) + // Returns all fields that match the search query. + SearchGoogleAdsFields(context.Context, *SearchGoogleAdsFieldsRequest) (*SearchGoogleAdsFieldsResponse, error) +} + +func RegisterGoogleAdsFieldServiceServer(s *grpc.Server, srv GoogleAdsFieldServiceServer) { + s.RegisterService(&_GoogleAdsFieldService_serviceDesc, srv) +} + +func _GoogleAdsFieldService_GetGoogleAdsField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGoogleAdsFieldRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GoogleAdsFieldServiceServer).GetGoogleAdsField(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GoogleAdsFieldService/GetGoogleAdsField", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GoogleAdsFieldServiceServer).GetGoogleAdsField(ctx, req.(*GetGoogleAdsFieldRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GoogleAdsFieldService_SearchGoogleAdsFields_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchGoogleAdsFieldsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GoogleAdsFieldServiceServer).SearchGoogleAdsFields(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GoogleAdsFieldService/SearchGoogleAdsFields", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GoogleAdsFieldServiceServer).SearchGoogleAdsFields(ctx, req.(*SearchGoogleAdsFieldsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _GoogleAdsFieldService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.GoogleAdsFieldService", + HandlerType: (*GoogleAdsFieldServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetGoogleAdsField", + Handler: _GoogleAdsFieldService_GetGoogleAdsField_Handler, + }, + { + MethodName: "SearchGoogleAdsFields", + Handler: _GoogleAdsFieldService_SearchGoogleAdsFields_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/google_ads_field_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/google_ads_field_service.proto", fileDescriptor_google_ads_field_service_68d4cc408e069062) +} + +var fileDescriptor_google_ads_field_service_68d4cc408e069062 = []byte{ + // 519 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x8b, 0xd3, 0x4e, + 0x14, 0x66, 0x5a, 0xf6, 0xf7, 0x73, 0x47, 0x17, 0xd9, 0xd1, 0x85, 0x10, 0x77, 0x31, 0x44, 0x57, + 0xcb, 0x82, 0x93, 0xba, 0x5e, 0xa4, 0xa2, 0x25, 0x2b, 0x58, 0x41, 0x90, 0x92, 0xca, 0x1e, 0xa4, + 0x10, 0xc6, 0xe6, 0x19, 0x83, 0xe9, 0x4c, 0x36, 0x33, 0x29, 0xba, 0xe2, 0xc5, 0xbb, 0x27, 0xff, + 0x03, 0x8f, 0xde, 0xfc, 0x0b, 0xbc, 0x78, 0xf2, 0xea, 0xcd, 0xb3, 0x7f, 0x88, 0x4c, 0x92, 0x29, + 0x76, 0xb7, 0xb1, 0xe8, 0x6d, 0xf2, 0xbe, 0xf7, 0x7d, 0xdf, 0x9b, 0xf7, 0xde, 0x04, 0xf7, 0x63, + 0x21, 0xe2, 0x14, 0x3c, 0x16, 0x49, 0xaf, 0x3a, 0xea, 0xd3, 0xac, 0xeb, 0x49, 0xc8, 0x67, 0xc9, + 0x04, 0x4c, 0x34, 0x64, 0x91, 0x0c, 0x9f, 0x27, 0x90, 0x46, 0x61, 0x8d, 0xd0, 0x2c, 0x17, 0x4a, + 0x10, 0xa7, 0xc2, 0x29, 0x8b, 0x24, 0x9d, 0x0b, 0xd0, 0x59, 0x97, 0x1a, 0x01, 0xfb, 0x76, 0x93, + 0x45, 0x0e, 0x52, 0x14, 0xf9, 0x32, 0x8f, 0x4a, 0xdb, 0xde, 0x36, 0xcc, 0x2c, 0xf1, 0x18, 0xe7, + 0x42, 0x31, 0x95, 0x08, 0x2e, 0x2b, 0xd4, 0xed, 0x63, 0x6b, 0x00, 0x6a, 0x50, 0xa6, 0xf8, 0x91, + 0x7c, 0xa0, 0x89, 0x01, 0x1c, 0x15, 0x20, 0x15, 0xb9, 0x82, 0x37, 0x8c, 0x7a, 0xc8, 0xd9, 0x14, + 0x2c, 0xe4, 0xa0, 0xce, 0x7a, 0x70, 0xce, 0x04, 0x1f, 0xb3, 0x29, 0xb8, 0x19, 0xde, 0x1e, 0x01, + 0xcb, 0x27, 0x2f, 0x16, 0x35, 0xa4, 0x11, 0xb9, 0x88, 0xd7, 0x8e, 0x0a, 0xc8, 0x5f, 0xd7, 0xe4, + 0xea, 0x83, 0xec, 0x60, 0x9c, 0xb1, 0x18, 0x42, 0x25, 0x5e, 0x02, 0xb7, 0x5a, 0x25, 0xb4, 0xae, + 0x23, 0x4f, 0x74, 0x80, 0x5c, 0xc2, 0xe5, 0x47, 0x28, 0x93, 0x63, 0xb0, 0xda, 0x0e, 0xea, 0xac, + 0x05, 0x67, 0x74, 0x60, 0x94, 0x1c, 0x83, 0xfb, 0x15, 0xe1, 0x9d, 0x06, 0x4b, 0x99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, + 0x98, 0x8a, 0x3c, 0xf6, 0x62, 0xe0, 0xe5, 0x63, 0x33, 0x0f, 0x37, 0x4b, 0x64, 0xf3, 0xaf, 0xe2, + 0x8e, 0x39, 0x7c, 0x6c, 0xb5, 0x07, 0xbe, 0xff, 0xa9, 0xe5, 0x54, 0x76, 0xd4, 0x8f, 0x7e, 0x9b, + 0x11, 0x3d, 0xec, 0xd2, 0xda, 0x58, 0x7e, 0x33, 0x29, 0x63, 0x3f, 0x92, 0xe3, 0x79, 0xca, 0xf8, + 0xb0, 0x3b, 0x36, 0x29, 0xcf, 0xfe, 0x2b, 0x0b, 0xb8, 0xf5, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xbb, + 0xb6, 0x6e, 0x67, 0xaa, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_service.pb.go new file mode 100644 index 000000000..e4c64b28f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/google_ads_service.pb.go @@ -0,0 +1,2504 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/google_ads_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [GoogleAdsService.Search][google.ads.googleads.v0.services.GoogleAdsService.Search]. +type SearchGoogleAdsRequest struct { + // The ID of the customer being queried. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The query string. + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + // Token of the page to retrieve. If not specified, the first + // page of results will be returned. Use the value obtained from + // `next_page_token` in the previous response in order to request + // the next page of results. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Number of elements to retrieve in a single page. + // When too large a page is requested, the server may decide to + // further limit the number of returned resources. + PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchGoogleAdsRequest) Reset() { *m = SearchGoogleAdsRequest{} } +func (m *SearchGoogleAdsRequest) String() string { return proto.CompactTextString(m) } +func (*SearchGoogleAdsRequest) ProtoMessage() {} +func (*SearchGoogleAdsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{0} +} +func (m *SearchGoogleAdsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchGoogleAdsRequest.Unmarshal(m, b) +} +func (m *SearchGoogleAdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchGoogleAdsRequest.Marshal(b, m, deterministic) +} +func (dst *SearchGoogleAdsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchGoogleAdsRequest.Merge(dst, src) +} +func (m *SearchGoogleAdsRequest) XXX_Size() int { + return xxx_messageInfo_SearchGoogleAdsRequest.Size(m) +} +func (m *SearchGoogleAdsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SearchGoogleAdsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchGoogleAdsRequest proto.InternalMessageInfo + +func (m *SearchGoogleAdsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *SearchGoogleAdsRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +func (m *SearchGoogleAdsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *SearchGoogleAdsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for [GoogleAdsService.Search][google.ads.googleads.v0.services.GoogleAdsService.Search]. +type SearchGoogleAdsResponse struct { + // The list of rows that matched the query. + Results []*GoogleAdsRow `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + // Pagination token used to retrieve the next page of results. + // Pass the content of this string as the `page_token` attribute of + // the next request. `next_page_token` is not returned for the last + // page. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // Total number of results that match the query ignoring the LIMIT + // clause. + TotalResultsCount int64 `protobuf:"varint,3,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"` + // FieldMask that represents what fields were requested by the user. + FieldMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchGoogleAdsResponse) Reset() { *m = SearchGoogleAdsResponse{} } +func (m *SearchGoogleAdsResponse) String() string { return proto.CompactTextString(m) } +func (*SearchGoogleAdsResponse) ProtoMessage() {} +func (*SearchGoogleAdsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{1} +} +func (m *SearchGoogleAdsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchGoogleAdsResponse.Unmarshal(m, b) +} +func (m *SearchGoogleAdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchGoogleAdsResponse.Marshal(b, m, deterministic) +} +func (dst *SearchGoogleAdsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchGoogleAdsResponse.Merge(dst, src) +} +func (m *SearchGoogleAdsResponse) XXX_Size() int { + return xxx_messageInfo_SearchGoogleAdsResponse.Size(m) +} +func (m *SearchGoogleAdsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SearchGoogleAdsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchGoogleAdsResponse proto.InternalMessageInfo + +func (m *SearchGoogleAdsResponse) GetResults() []*GoogleAdsRow { + if m != nil { + return m.Results + } + return nil +} + +func (m *SearchGoogleAdsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func (m *SearchGoogleAdsResponse) GetTotalResultsCount() int64 { + if m != nil { + return m.TotalResultsCount + } + return 0 +} + +func (m *SearchGoogleAdsResponse) GetFieldMask() *field_mask.FieldMask { + if m != nil { + return m.FieldMask + } + return nil +} + +// A returned row from the query. +type GoogleAdsRow struct { + // The account budget in the query. + AccountBudget *resources.AccountBudget `protobuf:"bytes,42,opt,name=account_budget,json=accountBudget,proto3" json:"account_budget,omitempty"` + // The account budget proposal referenced in the query. + AccountBudgetProposal *resources.AccountBudgetProposal `protobuf:"bytes,43,opt,name=account_budget_proposal,json=accountBudgetProposal,proto3" json:"account_budget_proposal,omitempty"` + // The ad group referenced in the query. + AdGroup *resources.AdGroup `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // The ad referenced in the query. + AdGroupAd *resources.AdGroupAd `protobuf:"bytes,16,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"` + // The ad group audience view referenced in the query. + AdGroupAudienceView *resources.AdGroupAudienceView `protobuf:"bytes,57,opt,name=ad_group_audience_view,json=adGroupAudienceView,proto3" json:"ad_group_audience_view,omitempty"` + // The bid modifier referenced in the query. + AdGroupBidModifier *resources.AdGroupBidModifier `protobuf:"bytes,24,opt,name=ad_group_bid_modifier,json=adGroupBidModifier,proto3" json:"ad_group_bid_modifier,omitempty"` + // The criterion referenced in the query. + AdGroupCriterion *resources.AdGroupCriterion `protobuf:"bytes,17,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` + // The ad group feed referenced in the query. + AdGroupFeed *resources.AdGroupFeed `protobuf:"bytes,67,opt,name=ad_group_feed,json=adGroupFeed,proto3" json:"ad_group_feed,omitempty"` + // The age range view referenced in the query. + AgeRangeView *resources.AgeRangeView `protobuf:"bytes,48,opt,name=age_range_view,json=ageRangeView,proto3" json:"age_range_view,omitempty"` + // The bidding strategy referenced in the query. + BiddingStrategy *resources.BiddingStrategy `protobuf:"bytes,18,opt,name=bidding_strategy,json=biddingStrategy,proto3" json:"bidding_strategy,omitempty"` + // The billing setup referenced in the query. + BillingSetup *resources.BillingSetup `protobuf:"bytes,41,opt,name=billing_setup,json=billingSetup,proto3" json:"billing_setup,omitempty"` + // The campaign budget referenced in the query. + CampaignBudget *resources.CampaignBudget `protobuf:"bytes,19,opt,name=campaign_budget,json=campaignBudget,proto3" json:"campaign_budget,omitempty"` + // The campaign referenced in the query. + Campaign *resources.Campaign `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` + // The campaign audience view referenced in the query. + CampaignAudienceView *resources.CampaignAudienceView `protobuf:"bytes,69,opt,name=campaign_audience_view,json=campaignAudienceView,proto3" json:"campaign_audience_view,omitempty"` + // The campaign bid modifier referenced in the query. + CampaignBidModifier *resources.CampaignBidModifier `protobuf:"bytes,26,opt,name=campaign_bid_modifier,json=campaignBidModifier,proto3" json:"campaign_bid_modifier,omitempty"` + // The campaign criterion referenced in the query. + CampaignCriterion *resources.CampaignCriterion `protobuf:"bytes,20,opt,name=campaign_criterion,json=campaignCriterion,proto3" json:"campaign_criterion,omitempty"` + // The campaign feed referenced in the query. + CampaignFeed *resources.CampaignFeed `protobuf:"bytes,63,opt,name=campaign_feed,json=campaignFeed,proto3" json:"campaign_feed,omitempty"` + // Campaign Group referenced in AWQL query. + CampaignGroup *resources.CampaignGroup `protobuf:"bytes,25,opt,name=campaign_group,json=campaignGroup,proto3" json:"campaign_group,omitempty"` + // Campaign Shared Set referenced in AWQL query. + CampaignSharedSet *resources.CampaignSharedSet `protobuf:"bytes,30,opt,name=campaign_shared_set,json=campaignSharedSet,proto3" json:"campaign_shared_set,omitempty"` + // The carrier constant referenced in the query. + CarrierConstant *resources.CarrierConstant `protobuf:"bytes,66,opt,name=carrier_constant,json=carrierConstant,proto3" json:"carrier_constant,omitempty"` + // The ChangeStatus referenced in the query. + ChangeStatus *resources.ChangeStatus `protobuf:"bytes,37,opt,name=change_status,json=changeStatus,proto3" json:"change_status,omitempty"` + // The customer referenced in the query. + Customer *resources.Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` + // The CustomerManagerLink referenced in the query. + CustomerManagerLink *resources.CustomerManagerLink `protobuf:"bytes,61,opt,name=customer_manager_link,json=customerManagerLink,proto3" json:"customer_manager_link,omitempty"` + // The CustomerClientLink referenced in the query. + CustomerClientLink *resources.CustomerClientLink `protobuf:"bytes,62,opt,name=customer_client_link,json=customerClientLink,proto3" json:"customer_client_link,omitempty"` + // The CustomerClient referenced in the query. + CustomerClient *resources.CustomerClient `protobuf:"bytes,70,opt,name=customer_client,json=customerClient,proto3" json:"customer_client,omitempty"` + // The customer feed referenced in the query. + CustomerFeed *resources.CustomerFeed `protobuf:"bytes,64,opt,name=customer_feed,json=customerFeed,proto3" json:"customer_feed,omitempty"` + // The display keyword view referenced in the query. + DisplayKeywordView *resources.DisplayKeywordView `protobuf:"bytes,47,opt,name=display_keyword_view,json=displayKeywordView,proto3" json:"display_keyword_view,omitempty"` + // The feed referenced in the query. + Feed *resources.Feed `protobuf:"bytes,46,opt,name=feed,proto3" json:"feed,omitempty"` + // The feed item referenced in the query. + FeedItem *resources.FeedItem `protobuf:"bytes,50,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"` + // The feed mapping referenced in the query. + FeedMapping *resources.FeedMapping `protobuf:"bytes,58,opt,name=feed_mapping,json=feedMapping,proto3" json:"feed_mapping,omitempty"` + // The gender view referenced in the query. + GenderView *resources.GenderView `protobuf:"bytes,40,opt,name=gender_view,json=genderView,proto3" json:"gender_view,omitempty"` + // The geo target constant referenced in the query. + GeoTargetConstant *resources.GeoTargetConstant `protobuf:"bytes,23,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"` + // The hotel group view referenced in the query. + HotelGroupView *resources.HotelGroupView `protobuf:"bytes,51,opt,name=hotel_group_view,json=hotelGroupView,proto3" json:"hotel_group_view,omitempty"` + // The hotel performance view referenced in the query. + HotelPerformanceView *resources.HotelPerformanceView `protobuf:"bytes,71,opt,name=hotel_performance_view,json=hotelPerformanceView,proto3" json:"hotel_performance_view,omitempty"` + // The keyword view referenced in the query. + KeywordView *resources.KeywordView `protobuf:"bytes,21,opt,name=keyword_view,json=keywordView,proto3" json:"keyword_view,omitempty"` + // The keyword plan referenced in the query. + KeywordPlan *resources.KeywordPlan `protobuf:"bytes,32,opt,name=keyword_plan,json=keywordPlan,proto3" json:"keyword_plan,omitempty"` + // The keyword plan campaign referenced in the query. + KeywordPlanCampaign *resources.KeywordPlanCampaign `protobuf:"bytes,33,opt,name=keyword_plan_campaign,json=keywordPlanCampaign,proto3" json:"keyword_plan_campaign,omitempty"` + // The keyword plan negative keyword referenced in the query. + KeywordPlanNegativeKeyword *resources.KeywordPlanNegativeKeyword `protobuf:"bytes,34,opt,name=keyword_plan_negative_keyword,json=keywordPlanNegativeKeyword,proto3" json:"keyword_plan_negative_keyword,omitempty"` + // The keyword plan ad group referenced in the query. + KeywordPlanAdGroup *resources.KeywordPlanAdGroup `protobuf:"bytes,35,opt,name=keyword_plan_ad_group,json=keywordPlanAdGroup,proto3" json:"keyword_plan_ad_group,omitempty"` + // The keyword plan keyword referenced in the query. + KeywordPlanKeyword *resources.KeywordPlanKeyword `protobuf:"bytes,36,opt,name=keyword_plan_keyword,json=keywordPlanKeyword,proto3" json:"keyword_plan_keyword,omitempty"` + // The language constant referenced in the query. + LanguageConstant *resources.LanguageConstant `protobuf:"bytes,55,opt,name=language_constant,json=languageConstant,proto3" json:"language_constant,omitempty"` + // The managed placement view referenced in the query. + ManagedPlacementView *resources.ManagedPlacementView `protobuf:"bytes,53,opt,name=managed_placement_view,json=managedPlacementView,proto3" json:"managed_placement_view,omitempty"` + // The parental status view referenced in the query. + ParentalStatusView *resources.ParentalStatusView `protobuf:"bytes,45,opt,name=parental_status_view,json=parentalStatusView,proto3" json:"parental_status_view,omitempty"` + // The product group view referenced in the query. + ProductGroupView *resources.ProductGroupView `protobuf:"bytes,54,opt,name=product_group_view,json=productGroupView,proto3" json:"product_group_view,omitempty"` + // The recommendation referenced in the query. + Recommendation *resources.Recommendation `protobuf:"bytes,22,opt,name=recommendation,proto3" json:"recommendation,omitempty"` + // The search term view referenced in the query. + SearchTermView *resources.SearchTermView `protobuf:"bytes,68,opt,name=search_term_view,json=searchTermView,proto3" json:"search_term_view,omitempty"` + // The shared set referenced in the query. + SharedCriterion *resources.SharedCriterion `protobuf:"bytes,29,opt,name=shared_criterion,json=sharedCriterion,proto3" json:"shared_criterion,omitempty"` + // The shared set referenced in the query. + SharedSet *resources.SharedSet `protobuf:"bytes,27,opt,name=shared_set,json=sharedSet,proto3" json:"shared_set,omitempty"` + // The topic view referenced in the query. + TopicView *resources.TopicView `protobuf:"bytes,44,opt,name=topic_view,json=topicView,proto3" json:"topic_view,omitempty"` + // The user interest referenced in the query. + UserInterest *resources.UserInterest `protobuf:"bytes,59,opt,name=user_interest,json=userInterest,proto3" json:"user_interest,omitempty"` + // The user list referenced in the query. + UserList *resources.UserList `protobuf:"bytes,38,opt,name=user_list,json=userList,proto3" json:"user_list,omitempty"` + // The topic constant referenced in the query. + TopicConstant *resources.TopicConstant `protobuf:"bytes,31,opt,name=topic_constant,json=topicConstant,proto3" json:"topic_constant,omitempty"` + // The video referenced in the query. + Video *resources.Video `protobuf:"bytes,39,opt,name=video,proto3" json:"video,omitempty"` + // The metrics. + Metrics *common.Metrics `protobuf:"bytes,4,opt,name=metrics,proto3" json:"metrics,omitempty"` + // Ad network type. + AdNetworkType enums.AdNetworkTypeEnum_AdNetworkType `protobuf:"varint,5,opt,name=ad_network_type,json=adNetworkType,proto3,enum=google.ads.googleads.v0.enums.AdNetworkTypeEnum_AdNetworkType" json:"ad_network_type,omitempty"` + // Date to which metrics apply. + // yyyy-MM-dd format, e.g., 2018-04-17. + Date *wrappers.StringValue `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` + // Day of the week, e.g., MONDAY. + DayOfWeek enums.DayOfWeekEnum_DayOfWeek `protobuf:"varint,7,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.ads.googleads.v0.enums.DayOfWeekEnum_DayOfWeek" json:"day_of_week,omitempty"` + // Device to which metrics apply. + Device enums.DeviceEnum_Device `protobuf:"varint,8,opt,name=device,proto3,enum=google.ads.googleads.v0.enums.DeviceEnum_Device" json:"device,omitempty"` + // Hotel booking window in days. + HotelBookingWindowDays *wrappers.Int64Value `protobuf:"bytes,83,opt,name=hotel_booking_window_days,json=hotelBookingWindowDays,proto3" json:"hotel_booking_window_days,omitempty"` + // Hotel center ID. + HotelCenterId *wrappers.Int64Value `protobuf:"bytes,72,opt,name=hotel_center_id,json=hotelCenterId,proto3" json:"hotel_center_id,omitempty"` + // Hotel check-in date. Formatted as yyyy-MM-dd. + HotelCheckInDate *wrappers.StringValue `protobuf:"bytes,73,opt,name=hotel_check_in_date,json=hotelCheckInDate,proto3" json:"hotel_check_in_date,omitempty"` + // Hotel check-in day of week. + HotelCheckInDayOfWeek enums.DayOfWeekEnum_DayOfWeek `protobuf:"varint,74,opt,name=hotel_check_in_day_of_week,json=hotelCheckInDayOfWeek,proto3,enum=google.ads.googleads.v0.enums.DayOfWeekEnum_DayOfWeek" json:"hotel_check_in_day_of_week,omitempty"` + // Hotel city. + HotelCity *wrappers.StringValue `protobuf:"bytes,75,opt,name=hotel_city,json=hotelCity,proto3" json:"hotel_city,omitempty"` + // Hotel class. + HotelClass *wrappers.Int32Value `protobuf:"bytes,76,opt,name=hotel_class,json=hotelClass,proto3" json:"hotel_class,omitempty"` + // Hotel country. + HotelCountry *wrappers.StringValue `protobuf:"bytes,77,opt,name=hotel_country,json=hotelCountry,proto3" json:"hotel_country,omitempty"` + // Hotel date selection type. + HotelDateSelectionType enums.HotelDateSelectionTypeEnum_HotelDateSelectionType `protobuf:"varint,78,opt,name=hotel_date_selection_type,json=hotelDateSelectionType,proto3,enum=google.ads.googleads.v0.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType" json:"hotel_date_selection_type,omitempty"` + // Hotel length of stay. + HotelLengthOfStay *wrappers.Int32Value `protobuf:"bytes,79,opt,name=hotel_length_of_stay,json=hotelLengthOfStay,proto3" json:"hotel_length_of_stay,omitempty"` + // Hotel state. + HotelState *wrappers.StringValue `protobuf:"bytes,81,opt,name=hotel_state,json=hotelState,proto3" json:"hotel_state,omitempty"` + // Hour of day as a number between 0 and 23, inclusive. + Hour *wrappers.Int32Value `protobuf:"bytes,9,opt,name=hour,proto3" json:"hour,omitempty"` + // Month as represented by the date of the first day of a month. Formatted as + // yyyy-MM-dd. + Month *wrappers.StringValue `protobuf:"bytes,10,opt,name=month,proto3" json:"month,omitempty"` + // Month of the year, e.g., January. + MonthOfYear enums.MonthOfYearEnum_MonthOfYear `protobuf:"varint,28,opt,name=month_of_year,json=monthOfYear,proto3,enum=google.ads.googleads.v0.enums.MonthOfYearEnum_MonthOfYear" json:"month_of_year,omitempty"` + // Partner hotel ID. + PartnerHotelId *wrappers.StringValue `protobuf:"bytes,82,opt,name=partner_hotel_id,json=partnerHotelId,proto3" json:"partner_hotel_id,omitempty"` + // Placeholder type. This is only used with feed item metrics. + PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,65,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v0.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_type,omitempty"` + // Quarter as represented by the date of the first day of a quarter. + // Uses the calendar year for quarters, e.g., the second quarter of 2018 + // starts on 2018-04-01. Formatted as yyyy-MM-dd. + Quarter *wrappers.StringValue `protobuf:"bytes,12,opt,name=quarter,proto3" json:"quarter,omitempty"` + // Match type of the keyword that triggered the ad, including variants. + SearchTermMatchType enums.SearchTermMatchTypeEnum_SearchTermMatchType `protobuf:"varint,56,opt,name=search_term_match_type,json=searchTermMatchType,proto3,enum=google.ads.googleads.v0.enums.SearchTermMatchTypeEnum_SearchTermMatchType" json:"search_term_match_type,omitempty"` + // Position of the ad. + Slot enums.SlotEnum_Slot `protobuf:"varint,13,opt,name=slot,proto3,enum=google.ads.googleads.v0.enums.SlotEnum_Slot" json:"slot,omitempty"` + // Week as defined as Monday through Sunday, and represented by the date of + // Monday. Formatted as yyyy-MM-dd. + Week *wrappers.StringValue `protobuf:"bytes,14,opt,name=week,proto3" json:"week,omitempty"` + // Year, formatted as yyyy. + Year *wrappers.Int32Value `protobuf:"bytes,15,opt,name=year,proto3" json:"year,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GoogleAdsRow) Reset() { *m = GoogleAdsRow{} } +func (m *GoogleAdsRow) String() string { return proto.CompactTextString(m) } +func (*GoogleAdsRow) ProtoMessage() {} +func (*GoogleAdsRow) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{2} +} +func (m *GoogleAdsRow) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GoogleAdsRow.Unmarshal(m, b) +} +func (m *GoogleAdsRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GoogleAdsRow.Marshal(b, m, deterministic) +} +func (dst *GoogleAdsRow) XXX_Merge(src proto.Message) { + xxx_messageInfo_GoogleAdsRow.Merge(dst, src) +} +func (m *GoogleAdsRow) XXX_Size() int { + return xxx_messageInfo_GoogleAdsRow.Size(m) +} +func (m *GoogleAdsRow) XXX_DiscardUnknown() { + xxx_messageInfo_GoogleAdsRow.DiscardUnknown(m) +} + +var xxx_messageInfo_GoogleAdsRow proto.InternalMessageInfo + +func (m *GoogleAdsRow) GetAccountBudget() *resources.AccountBudget { + if m != nil { + return m.AccountBudget + } + return nil +} + +func (m *GoogleAdsRow) GetAccountBudgetProposal() *resources.AccountBudgetProposal { + if m != nil { + return m.AccountBudgetProposal + } + return nil +} + +func (m *GoogleAdsRow) GetAdGroup() *resources.AdGroup { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *GoogleAdsRow) GetAdGroupAd() *resources.AdGroupAd { + if m != nil { + return m.AdGroupAd + } + return nil +} + +func (m *GoogleAdsRow) GetAdGroupAudienceView() *resources.AdGroupAudienceView { + if m != nil { + return m.AdGroupAudienceView + } + return nil +} + +func (m *GoogleAdsRow) GetAdGroupBidModifier() *resources.AdGroupBidModifier { + if m != nil { + return m.AdGroupBidModifier + } + return nil +} + +func (m *GoogleAdsRow) GetAdGroupCriterion() *resources.AdGroupCriterion { + if m != nil { + return m.AdGroupCriterion + } + return nil +} + +func (m *GoogleAdsRow) GetAdGroupFeed() *resources.AdGroupFeed { + if m != nil { + return m.AdGroupFeed + } + return nil +} + +func (m *GoogleAdsRow) GetAgeRangeView() *resources.AgeRangeView { + if m != nil { + return m.AgeRangeView + } + return nil +} + +func (m *GoogleAdsRow) GetBiddingStrategy() *resources.BiddingStrategy { + if m != nil { + return m.BiddingStrategy + } + return nil +} + +func (m *GoogleAdsRow) GetBillingSetup() *resources.BillingSetup { + if m != nil { + return m.BillingSetup + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignBudget() *resources.CampaignBudget { + if m != nil { + return m.CampaignBudget + } + return nil +} + +func (m *GoogleAdsRow) GetCampaign() *resources.Campaign { + if m != nil { + return m.Campaign + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignAudienceView() *resources.CampaignAudienceView { + if m != nil { + return m.CampaignAudienceView + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignBidModifier() *resources.CampaignBidModifier { + if m != nil { + return m.CampaignBidModifier + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignCriterion() *resources.CampaignCriterion { + if m != nil { + return m.CampaignCriterion + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignFeed() *resources.CampaignFeed { + if m != nil { + return m.CampaignFeed + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignGroup() *resources.CampaignGroup { + if m != nil { + return m.CampaignGroup + } + return nil +} + +func (m *GoogleAdsRow) GetCampaignSharedSet() *resources.CampaignSharedSet { + if m != nil { + return m.CampaignSharedSet + } + return nil +} + +func (m *GoogleAdsRow) GetCarrierConstant() *resources.CarrierConstant { + if m != nil { + return m.CarrierConstant + } + return nil +} + +func (m *GoogleAdsRow) GetChangeStatus() *resources.ChangeStatus { + if m != nil { + return m.ChangeStatus + } + return nil +} + +func (m *GoogleAdsRow) GetCustomer() *resources.Customer { + if m != nil { + return m.Customer + } + return nil +} + +func (m *GoogleAdsRow) GetCustomerManagerLink() *resources.CustomerManagerLink { + if m != nil { + return m.CustomerManagerLink + } + return nil +} + +func (m *GoogleAdsRow) GetCustomerClientLink() *resources.CustomerClientLink { + if m != nil { + return m.CustomerClientLink + } + return nil +} + +func (m *GoogleAdsRow) GetCustomerClient() *resources.CustomerClient { + if m != nil { + return m.CustomerClient + } + return nil +} + +func (m *GoogleAdsRow) GetCustomerFeed() *resources.CustomerFeed { + if m != nil { + return m.CustomerFeed + } + return nil +} + +func (m *GoogleAdsRow) GetDisplayKeywordView() *resources.DisplayKeywordView { + if m != nil { + return m.DisplayKeywordView + } + return nil +} + +func (m *GoogleAdsRow) GetFeed() *resources.Feed { + if m != nil { + return m.Feed + } + return nil +} + +func (m *GoogleAdsRow) GetFeedItem() *resources.FeedItem { + if m != nil { + return m.FeedItem + } + return nil +} + +func (m *GoogleAdsRow) GetFeedMapping() *resources.FeedMapping { + if m != nil { + return m.FeedMapping + } + return nil +} + +func (m *GoogleAdsRow) GetGenderView() *resources.GenderView { + if m != nil { + return m.GenderView + } + return nil +} + +func (m *GoogleAdsRow) GetGeoTargetConstant() *resources.GeoTargetConstant { + if m != nil { + return m.GeoTargetConstant + } + return nil +} + +func (m *GoogleAdsRow) GetHotelGroupView() *resources.HotelGroupView { + if m != nil { + return m.HotelGroupView + } + return nil +} + +func (m *GoogleAdsRow) GetHotelPerformanceView() *resources.HotelPerformanceView { + if m != nil { + return m.HotelPerformanceView + } + return nil +} + +func (m *GoogleAdsRow) GetKeywordView() *resources.KeywordView { + if m != nil { + return m.KeywordView + } + return nil +} + +func (m *GoogleAdsRow) GetKeywordPlan() *resources.KeywordPlan { + if m != nil { + return m.KeywordPlan + } + return nil +} + +func (m *GoogleAdsRow) GetKeywordPlanCampaign() *resources.KeywordPlanCampaign { + if m != nil { + return m.KeywordPlanCampaign + } + return nil +} + +func (m *GoogleAdsRow) GetKeywordPlanNegativeKeyword() *resources.KeywordPlanNegativeKeyword { + if m != nil { + return m.KeywordPlanNegativeKeyword + } + return nil +} + +func (m *GoogleAdsRow) GetKeywordPlanAdGroup() *resources.KeywordPlanAdGroup { + if m != nil { + return m.KeywordPlanAdGroup + } + return nil +} + +func (m *GoogleAdsRow) GetKeywordPlanKeyword() *resources.KeywordPlanKeyword { + if m != nil { + return m.KeywordPlanKeyword + } + return nil +} + +func (m *GoogleAdsRow) GetLanguageConstant() *resources.LanguageConstant { + if m != nil { + return m.LanguageConstant + } + return nil +} + +func (m *GoogleAdsRow) GetManagedPlacementView() *resources.ManagedPlacementView { + if m != nil { + return m.ManagedPlacementView + } + return nil +} + +func (m *GoogleAdsRow) GetParentalStatusView() *resources.ParentalStatusView { + if m != nil { + return m.ParentalStatusView + } + return nil +} + +func (m *GoogleAdsRow) GetProductGroupView() *resources.ProductGroupView { + if m != nil { + return m.ProductGroupView + } + return nil +} + +func (m *GoogleAdsRow) GetRecommendation() *resources.Recommendation { + if m != nil { + return m.Recommendation + } + return nil +} + +func (m *GoogleAdsRow) GetSearchTermView() *resources.SearchTermView { + if m != nil { + return m.SearchTermView + } + return nil +} + +func (m *GoogleAdsRow) GetSharedCriterion() *resources.SharedCriterion { + if m != nil { + return m.SharedCriterion + } + return nil +} + +func (m *GoogleAdsRow) GetSharedSet() *resources.SharedSet { + if m != nil { + return m.SharedSet + } + return nil +} + +func (m *GoogleAdsRow) GetTopicView() *resources.TopicView { + if m != nil { + return m.TopicView + } + return nil +} + +func (m *GoogleAdsRow) GetUserInterest() *resources.UserInterest { + if m != nil { + return m.UserInterest + } + return nil +} + +func (m *GoogleAdsRow) GetUserList() *resources.UserList { + if m != nil { + return m.UserList + } + return nil +} + +func (m *GoogleAdsRow) GetTopicConstant() *resources.TopicConstant { + if m != nil { + return m.TopicConstant + } + return nil +} + +func (m *GoogleAdsRow) GetVideo() *resources.Video { + if m != nil { + return m.Video + } + return nil +} + +func (m *GoogleAdsRow) GetMetrics() *common.Metrics { + if m != nil { + return m.Metrics + } + return nil +} + +func (m *GoogleAdsRow) GetAdNetworkType() enums.AdNetworkTypeEnum_AdNetworkType { + if m != nil { + return m.AdNetworkType + } + return enums.AdNetworkTypeEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetDate() *wrappers.StringValue { + if m != nil { + return m.Date + } + return nil +} + +func (m *GoogleAdsRow) GetDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { + if m != nil { + return m.DayOfWeek + } + return enums.DayOfWeekEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetDevice() enums.DeviceEnum_Device { + if m != nil { + return m.Device + } + return enums.DeviceEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetHotelBookingWindowDays() *wrappers.Int64Value { + if m != nil { + return m.HotelBookingWindowDays + } + return nil +} + +func (m *GoogleAdsRow) GetHotelCenterId() *wrappers.Int64Value { + if m != nil { + return m.HotelCenterId + } + return nil +} + +func (m *GoogleAdsRow) GetHotelCheckInDate() *wrappers.StringValue { + if m != nil { + return m.HotelCheckInDate + } + return nil +} + +func (m *GoogleAdsRow) GetHotelCheckInDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { + if m != nil { + return m.HotelCheckInDayOfWeek + } + return enums.DayOfWeekEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetHotelCity() *wrappers.StringValue { + if m != nil { + return m.HotelCity + } + return nil +} + +func (m *GoogleAdsRow) GetHotelClass() *wrappers.Int32Value { + if m != nil { + return m.HotelClass + } + return nil +} + +func (m *GoogleAdsRow) GetHotelCountry() *wrappers.StringValue { + if m != nil { + return m.HotelCountry + } + return nil +} + +func (m *GoogleAdsRow) GetHotelDateSelectionType() enums.HotelDateSelectionTypeEnum_HotelDateSelectionType { + if m != nil { + return m.HotelDateSelectionType + } + return enums.HotelDateSelectionTypeEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetHotelLengthOfStay() *wrappers.Int32Value { + if m != nil { + return m.HotelLengthOfStay + } + return nil +} + +func (m *GoogleAdsRow) GetHotelState() *wrappers.StringValue { + if m != nil { + return m.HotelState + } + return nil +} + +func (m *GoogleAdsRow) GetHour() *wrappers.Int32Value { + if m != nil { + return m.Hour + } + return nil +} + +func (m *GoogleAdsRow) GetMonth() *wrappers.StringValue { + if m != nil { + return m.Month + } + return nil +} + +func (m *GoogleAdsRow) GetMonthOfYear() enums.MonthOfYearEnum_MonthOfYear { + if m != nil { + return m.MonthOfYear + } + return enums.MonthOfYearEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetPartnerHotelId() *wrappers.StringValue { + if m != nil { + return m.PartnerHotelId + } + return nil +} + +func (m *GoogleAdsRow) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { + if m != nil { + return m.PlaceholderType + } + return enums.PlaceholderTypeEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetQuarter() *wrappers.StringValue { + if m != nil { + return m.Quarter + } + return nil +} + +func (m *GoogleAdsRow) GetSearchTermMatchType() enums.SearchTermMatchTypeEnum_SearchTermMatchType { + if m != nil { + return m.SearchTermMatchType + } + return enums.SearchTermMatchTypeEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetSlot() enums.SlotEnum_Slot { + if m != nil { + return m.Slot + } + return enums.SlotEnum_UNSPECIFIED +} + +func (m *GoogleAdsRow) GetWeek() *wrappers.StringValue { + if m != nil { + return m.Week + } + return nil +} + +func (m *GoogleAdsRow) GetYear() *wrappers.Int32Value { + if m != nil { + return m.Year + } + return nil +} + +// Request message for [GoogleAdsService.Mutate][google.ads.googleads.v0.services.GoogleAdsService.Mutate]. +type MutateGoogleAdsRequest struct { + // The ID of the customer whose resources are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual resources. + MutateOperations []*MutateOperation `protobuf:"bytes,2,rep,name=mutate_operations,json=mutateOperations,proto3" json:"mutate_operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateGoogleAdsRequest) Reset() { *m = MutateGoogleAdsRequest{} } +func (m *MutateGoogleAdsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateGoogleAdsRequest) ProtoMessage() {} +func (*MutateGoogleAdsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{3} +} +func (m *MutateGoogleAdsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateGoogleAdsRequest.Unmarshal(m, b) +} +func (m *MutateGoogleAdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateGoogleAdsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateGoogleAdsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateGoogleAdsRequest.Merge(dst, src) +} +func (m *MutateGoogleAdsRequest) XXX_Size() int { + return xxx_messageInfo_MutateGoogleAdsRequest.Size(m) +} +func (m *MutateGoogleAdsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateGoogleAdsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateGoogleAdsRequest proto.InternalMessageInfo + +func (m *MutateGoogleAdsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateGoogleAdsRequest) GetMutateOperations() []*MutateOperation { + if m != nil { + return m.MutateOperations + } + return nil +} + +// Response message for [GoogleAdsService.Mutate][google.ads.googleads.v0.services.GoogleAdsService.Mutate]. +type MutateGoogleAdsResponse struct { + // All responses for the mutate. + MutateOperationResponses []*MutateOperationResponse `protobuf:"bytes,1,rep,name=mutate_operation_responses,json=mutateOperationResponses,proto3" json:"mutate_operation_responses,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateGoogleAdsResponse) Reset() { *m = MutateGoogleAdsResponse{} } +func (m *MutateGoogleAdsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateGoogleAdsResponse) ProtoMessage() {} +func (*MutateGoogleAdsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{4} +} +func (m *MutateGoogleAdsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateGoogleAdsResponse.Unmarshal(m, b) +} +func (m *MutateGoogleAdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateGoogleAdsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateGoogleAdsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateGoogleAdsResponse.Merge(dst, src) +} +func (m *MutateGoogleAdsResponse) XXX_Size() int { + return xxx_messageInfo_MutateGoogleAdsResponse.Size(m) +} +func (m *MutateGoogleAdsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateGoogleAdsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateGoogleAdsResponse proto.InternalMessageInfo + +func (m *MutateGoogleAdsResponse) GetMutateOperationResponses() []*MutateOperationResponse { + if m != nil { + return m.MutateOperationResponses + } + return nil +} + +// A single operation (create, update, remove) on a resource. +type MutateOperation struct { + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *MutateOperation_AdGroupAdOperation + // *MutateOperation_AdGroupBidModifierOperation + // *MutateOperation_AdGroupCriterionOperation + // *MutateOperation_AdGroupOperation + // *MutateOperation_BiddingStrategyOperation + // *MutateOperation_CampaignBidModifierOperation + // *MutateOperation_CampaignBudgetOperation + // *MutateOperation_CampaignGroupOperation + // *MutateOperation_CampaignOperation + // *MutateOperation_CampaignSharedSetOperation + // *MutateOperation_ConversionActionOperation + // *MutateOperation_CampaignCriterionOperation + // *MutateOperation_SharedCriterionOperation + // *MutateOperation_SharedSetOperation + // *MutateOperation_UserListOperation + Operation isMutateOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateOperation) Reset() { *m = MutateOperation{} } +func (m *MutateOperation) String() string { return proto.CompactTextString(m) } +func (*MutateOperation) ProtoMessage() {} +func (*MutateOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{5} +} +func (m *MutateOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateOperation.Unmarshal(m, b) +} +func (m *MutateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateOperation.Marshal(b, m, deterministic) +} +func (dst *MutateOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateOperation.Merge(dst, src) +} +func (m *MutateOperation) XXX_Size() int { + return xxx_messageInfo_MutateOperation.Size(m) +} +func (m *MutateOperation) XXX_DiscardUnknown() { + xxx_messageInfo_MutateOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateOperation proto.InternalMessageInfo + +type isMutateOperation_Operation interface { + isMutateOperation_Operation() +} + +type MutateOperation_AdGroupAdOperation struct { + AdGroupAdOperation *AdGroupAdOperation `protobuf:"bytes,1,opt,name=ad_group_ad_operation,json=adGroupAdOperation,proto3,oneof"` +} + +type MutateOperation_AdGroupBidModifierOperation struct { + AdGroupBidModifierOperation *AdGroupBidModifierOperation `protobuf:"bytes,2,opt,name=ad_group_bid_modifier_operation,json=adGroupBidModifierOperation,proto3,oneof"` +} + +type MutateOperation_AdGroupCriterionOperation struct { + AdGroupCriterionOperation *AdGroupCriterionOperation `protobuf:"bytes,3,opt,name=ad_group_criterion_operation,json=adGroupCriterionOperation,proto3,oneof"` +} + +type MutateOperation_AdGroupOperation struct { + AdGroupOperation *AdGroupOperation `protobuf:"bytes,5,opt,name=ad_group_operation,json=adGroupOperation,proto3,oneof"` +} + +type MutateOperation_BiddingStrategyOperation struct { + BiddingStrategyOperation *BiddingStrategyOperation `protobuf:"bytes,6,opt,name=bidding_strategy_operation,json=biddingStrategyOperation,proto3,oneof"` +} + +type MutateOperation_CampaignBidModifierOperation struct { + CampaignBidModifierOperation *CampaignBidModifierOperation `protobuf:"bytes,7,opt,name=campaign_bid_modifier_operation,json=campaignBidModifierOperation,proto3,oneof"` +} + +type MutateOperation_CampaignBudgetOperation struct { + CampaignBudgetOperation *CampaignBudgetOperation `protobuf:"bytes,8,opt,name=campaign_budget_operation,json=campaignBudgetOperation,proto3,oneof"` +} + +type MutateOperation_CampaignGroupOperation struct { + CampaignGroupOperation *CampaignGroupOperation `protobuf:"bytes,9,opt,name=campaign_group_operation,json=campaignGroupOperation,proto3,oneof"` +} + +type MutateOperation_CampaignOperation struct { + CampaignOperation *CampaignOperation `protobuf:"bytes,10,opt,name=campaign_operation,json=campaignOperation,proto3,oneof"` +} + +type MutateOperation_CampaignSharedSetOperation struct { + CampaignSharedSetOperation *CampaignSharedSetOperation `protobuf:"bytes,11,opt,name=campaign_shared_set_operation,json=campaignSharedSetOperation,proto3,oneof"` +} + +type MutateOperation_ConversionActionOperation struct { + ConversionActionOperation *ConversionActionOperation `protobuf:"bytes,12,opt,name=conversion_action_operation,json=conversionActionOperation,proto3,oneof"` +} + +type MutateOperation_CampaignCriterionOperation struct { + CampaignCriterionOperation *CampaignCriterionOperation `protobuf:"bytes,13,opt,name=campaign_criterion_operation,json=campaignCriterionOperation,proto3,oneof"` +} + +type MutateOperation_SharedCriterionOperation struct { + SharedCriterionOperation *SharedCriterionOperation `protobuf:"bytes,14,opt,name=shared_criterion_operation,json=sharedCriterionOperation,proto3,oneof"` +} + +type MutateOperation_SharedSetOperation struct { + SharedSetOperation *SharedSetOperation `protobuf:"bytes,15,opt,name=shared_set_operation,json=sharedSetOperation,proto3,oneof"` +} + +type MutateOperation_UserListOperation struct { + UserListOperation *UserListOperation `protobuf:"bytes,16,opt,name=user_list_operation,json=userListOperation,proto3,oneof"` +} + +func (*MutateOperation_AdGroupAdOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_AdGroupBidModifierOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_AdGroupCriterionOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_AdGroupOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_BiddingStrategyOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_CampaignBidModifierOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_CampaignBudgetOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_CampaignGroupOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_CampaignOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_CampaignSharedSetOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_ConversionActionOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_CampaignCriterionOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_SharedCriterionOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_SharedSetOperation) isMutateOperation_Operation() {} + +func (*MutateOperation_UserListOperation) isMutateOperation_Operation() {} + +func (m *MutateOperation) GetOperation() isMutateOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *MutateOperation) GetAdGroupAdOperation() *AdGroupAdOperation { + if x, ok := m.GetOperation().(*MutateOperation_AdGroupAdOperation); ok { + return x.AdGroupAdOperation + } + return nil +} + +func (m *MutateOperation) GetAdGroupBidModifierOperation() *AdGroupBidModifierOperation { + if x, ok := m.GetOperation().(*MutateOperation_AdGroupBidModifierOperation); ok { + return x.AdGroupBidModifierOperation + } + return nil +} + +func (m *MutateOperation) GetAdGroupCriterionOperation() *AdGroupCriterionOperation { + if x, ok := m.GetOperation().(*MutateOperation_AdGroupCriterionOperation); ok { + return x.AdGroupCriterionOperation + } + return nil +} + +func (m *MutateOperation) GetAdGroupOperation() *AdGroupOperation { + if x, ok := m.GetOperation().(*MutateOperation_AdGroupOperation); ok { + return x.AdGroupOperation + } + return nil +} + +func (m *MutateOperation) GetBiddingStrategyOperation() *BiddingStrategyOperation { + if x, ok := m.GetOperation().(*MutateOperation_BiddingStrategyOperation); ok { + return x.BiddingStrategyOperation + } + return nil +} + +func (m *MutateOperation) GetCampaignBidModifierOperation() *CampaignBidModifierOperation { + if x, ok := m.GetOperation().(*MutateOperation_CampaignBidModifierOperation); ok { + return x.CampaignBidModifierOperation + } + return nil +} + +func (m *MutateOperation) GetCampaignBudgetOperation() *CampaignBudgetOperation { + if x, ok := m.GetOperation().(*MutateOperation_CampaignBudgetOperation); ok { + return x.CampaignBudgetOperation + } + return nil +} + +func (m *MutateOperation) GetCampaignGroupOperation() *CampaignGroupOperation { + if x, ok := m.GetOperation().(*MutateOperation_CampaignGroupOperation); ok { + return x.CampaignGroupOperation + } + return nil +} + +func (m *MutateOperation) GetCampaignOperation() *CampaignOperation { + if x, ok := m.GetOperation().(*MutateOperation_CampaignOperation); ok { + return x.CampaignOperation + } + return nil +} + +func (m *MutateOperation) GetCampaignSharedSetOperation() *CampaignSharedSetOperation { + if x, ok := m.GetOperation().(*MutateOperation_CampaignSharedSetOperation); ok { + return x.CampaignSharedSetOperation + } + return nil +} + +func (m *MutateOperation) GetConversionActionOperation() *ConversionActionOperation { + if x, ok := m.GetOperation().(*MutateOperation_ConversionActionOperation); ok { + return x.ConversionActionOperation + } + return nil +} + +func (m *MutateOperation) GetCampaignCriterionOperation() *CampaignCriterionOperation { + if x, ok := m.GetOperation().(*MutateOperation_CampaignCriterionOperation); ok { + return x.CampaignCriterionOperation + } + return nil +} + +func (m *MutateOperation) GetSharedCriterionOperation() *SharedCriterionOperation { + if x, ok := m.GetOperation().(*MutateOperation_SharedCriterionOperation); ok { + return x.SharedCriterionOperation + } + return nil +} + +func (m *MutateOperation) GetSharedSetOperation() *SharedSetOperation { + if x, ok := m.GetOperation().(*MutateOperation_SharedSetOperation); ok { + return x.SharedSetOperation + } + return nil +} + +func (m *MutateOperation) GetUserListOperation() *UserListOperation { + if x, ok := m.GetOperation().(*MutateOperation_UserListOperation); ok { + return x.UserListOperation + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*MutateOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _MutateOperation_OneofMarshaler, _MutateOperation_OneofUnmarshaler, _MutateOperation_OneofSizer, []interface{}{ + (*MutateOperation_AdGroupAdOperation)(nil), + (*MutateOperation_AdGroupBidModifierOperation)(nil), + (*MutateOperation_AdGroupCriterionOperation)(nil), + (*MutateOperation_AdGroupOperation)(nil), + (*MutateOperation_BiddingStrategyOperation)(nil), + (*MutateOperation_CampaignBidModifierOperation)(nil), + (*MutateOperation_CampaignBudgetOperation)(nil), + (*MutateOperation_CampaignGroupOperation)(nil), + (*MutateOperation_CampaignOperation)(nil), + (*MutateOperation_CampaignSharedSetOperation)(nil), + (*MutateOperation_ConversionActionOperation)(nil), + (*MutateOperation_CampaignCriterionOperation)(nil), + (*MutateOperation_SharedCriterionOperation)(nil), + (*MutateOperation_SharedSetOperation)(nil), + (*MutateOperation_UserListOperation)(nil), + } +} + +func _MutateOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*MutateOperation) + // operation + switch x := m.Operation.(type) { + case *MutateOperation_AdGroupAdOperation: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupAdOperation); err != nil { + return err + } + case *MutateOperation_AdGroupBidModifierOperation: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupBidModifierOperation); err != nil { + return err + } + case *MutateOperation_AdGroupCriterionOperation: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupCriterionOperation); err != nil { + return err + } + case *MutateOperation_AdGroupOperation: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupOperation); err != nil { + return err + } + case *MutateOperation_BiddingStrategyOperation: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.BiddingStrategyOperation); err != nil { + return err + } + case *MutateOperation_CampaignBidModifierOperation: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignBidModifierOperation); err != nil { + return err + } + case *MutateOperation_CampaignBudgetOperation: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignBudgetOperation); err != nil { + return err + } + case *MutateOperation_CampaignGroupOperation: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignGroupOperation); err != nil { + return err + } + case *MutateOperation_CampaignOperation: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignOperation); err != nil { + return err + } + case *MutateOperation_CampaignSharedSetOperation: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignSharedSetOperation); err != nil { + return err + } + case *MutateOperation_ConversionActionOperation: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ConversionActionOperation); err != nil { + return err + } + case *MutateOperation_CampaignCriterionOperation: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignCriterionOperation); err != nil { + return err + } + case *MutateOperation_SharedCriterionOperation: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SharedCriterionOperation); err != nil { + return err + } + case *MutateOperation_SharedSetOperation: + b.EncodeVarint(15<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SharedSetOperation); err != nil { + return err + } + case *MutateOperation_UserListOperation: + b.EncodeVarint(16<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UserListOperation); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("MutateOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _MutateOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*MutateOperation) + switch tag { + case 1: // operation.ad_group_ad_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AdGroupAdOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_AdGroupAdOperation{msg} + return true, err + case 2: // operation.ad_group_bid_modifier_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AdGroupBidModifierOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_AdGroupBidModifierOperation{msg} + return true, err + case 3: // operation.ad_group_criterion_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AdGroupCriterionOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_AdGroupCriterionOperation{msg} + return true, err + case 5: // operation.ad_group_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AdGroupOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_AdGroupOperation{msg} + return true, err + case 6: // operation.bidding_strategy_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(BiddingStrategyOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_BiddingStrategyOperation{msg} + return true, err + case 7: // operation.campaign_bid_modifier_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CampaignBidModifierOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_CampaignBidModifierOperation{msg} + return true, err + case 8: // operation.campaign_budget_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CampaignBudgetOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_CampaignBudgetOperation{msg} + return true, err + case 9: // operation.campaign_group_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CampaignGroupOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_CampaignGroupOperation{msg} + return true, err + case 10: // operation.campaign_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CampaignOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_CampaignOperation{msg} + return true, err + case 11: // operation.campaign_shared_set_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CampaignSharedSetOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_CampaignSharedSetOperation{msg} + return true, err + case 12: // operation.conversion_action_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ConversionActionOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_ConversionActionOperation{msg} + return true, err + case 13: // operation.campaign_criterion_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CampaignCriterionOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_CampaignCriterionOperation{msg} + return true, err + case 14: // operation.shared_criterion_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(SharedCriterionOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_SharedCriterionOperation{msg} + return true, err + case 15: // operation.shared_set_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(SharedSetOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_SharedSetOperation{msg} + return true, err + case 16: // operation.user_list_operation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(UserListOperation) + err := b.DecodeMessage(msg) + m.Operation = &MutateOperation_UserListOperation{msg} + return true, err + default: + return false, nil + } +} + +func _MutateOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*MutateOperation) + // operation + switch x := m.Operation.(type) { + case *MutateOperation_AdGroupAdOperation: + s := proto.Size(x.AdGroupAdOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_AdGroupBidModifierOperation: + s := proto.Size(x.AdGroupBidModifierOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_AdGroupCriterionOperation: + s := proto.Size(x.AdGroupCriterionOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_AdGroupOperation: + s := proto.Size(x.AdGroupOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_BiddingStrategyOperation: + s := proto.Size(x.BiddingStrategyOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_CampaignBidModifierOperation: + s := proto.Size(x.CampaignBidModifierOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_CampaignBudgetOperation: + s := proto.Size(x.CampaignBudgetOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_CampaignGroupOperation: + s := proto.Size(x.CampaignGroupOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_CampaignOperation: + s := proto.Size(x.CampaignOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_CampaignSharedSetOperation: + s := proto.Size(x.CampaignSharedSetOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_ConversionActionOperation: + s := proto.Size(x.ConversionActionOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_CampaignCriterionOperation: + s := proto.Size(x.CampaignCriterionOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_SharedCriterionOperation: + s := proto.Size(x.SharedCriterionOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_SharedSetOperation: + s := proto.Size(x.SharedSetOperation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperation_UserListOperation: + s := proto.Size(x.UserListOperation) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for the resource mutate. +type MutateOperationResponse struct { + // The mutate response + // + // Types that are valid to be assigned to Response: + // *MutateOperationResponse_AdGroupAdResult + // *MutateOperationResponse_AdGroupBidModifierResult + // *MutateOperationResponse_AdGroupCriterionResult + // *MutateOperationResponse_AdGroupResult + // *MutateOperationResponse_BiddingStrategyResult + // *MutateOperationResponse_CampaignBidModifierResult + // *MutateOperationResponse_CampaignBudgetResult + // *MutateOperationResponse_CampaignGroupResult + // *MutateOperationResponse_CampaignResult + // *MutateOperationResponse_CampaignSharedSetResult + // *MutateOperationResponse_ConversionActionResult + // *MutateOperationResponse_CampaignCriterionResult + // *MutateOperationResponse_SharedCriterionResult + // *MutateOperationResponse_SharedSetResult + // *MutateOperationResponse_UserListResult + Response isMutateOperationResponse_Response `protobuf_oneof:"response"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateOperationResponse) Reset() { *m = MutateOperationResponse{} } +func (m *MutateOperationResponse) String() string { return proto.CompactTextString(m) } +func (*MutateOperationResponse) ProtoMessage() {} +func (*MutateOperationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_google_ads_service_537fcb76d9dc142d, []int{6} +} +func (m *MutateOperationResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateOperationResponse.Unmarshal(m, b) +} +func (m *MutateOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateOperationResponse.Marshal(b, m, deterministic) +} +func (dst *MutateOperationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateOperationResponse.Merge(dst, src) +} +func (m *MutateOperationResponse) XXX_Size() int { + return xxx_messageInfo_MutateOperationResponse.Size(m) +} +func (m *MutateOperationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateOperationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateOperationResponse proto.InternalMessageInfo + +type isMutateOperationResponse_Response interface { + isMutateOperationResponse_Response() +} + +type MutateOperationResponse_AdGroupAdResult struct { + AdGroupAdResult *MutateAdGroupAdResult `protobuf:"bytes,1,opt,name=ad_group_ad_result,json=adGroupAdResult,proto3,oneof"` +} + +type MutateOperationResponse_AdGroupBidModifierResult struct { + AdGroupBidModifierResult *MutateAdGroupBidModifierResult `protobuf:"bytes,2,opt,name=ad_group_bid_modifier_result,json=adGroupBidModifierResult,proto3,oneof"` +} + +type MutateOperationResponse_AdGroupCriterionResult struct { + AdGroupCriterionResult *MutateAdGroupCriterionResult `protobuf:"bytes,3,opt,name=ad_group_criterion_result,json=adGroupCriterionResult,proto3,oneof"` +} + +type MutateOperationResponse_AdGroupResult struct { + AdGroupResult *MutateAdGroupResult `protobuf:"bytes,5,opt,name=ad_group_result,json=adGroupResult,proto3,oneof"` +} + +type MutateOperationResponse_BiddingStrategyResult struct { + BiddingStrategyResult *MutateBiddingStrategyResult `protobuf:"bytes,6,opt,name=bidding_strategy_result,json=biddingStrategyResult,proto3,oneof"` +} + +type MutateOperationResponse_CampaignBidModifierResult struct { + CampaignBidModifierResult *MutateCampaignBidModifierResult `protobuf:"bytes,7,opt,name=campaign_bid_modifier_result,json=campaignBidModifierResult,proto3,oneof"` +} + +type MutateOperationResponse_CampaignBudgetResult struct { + CampaignBudgetResult *MutateCampaignBudgetResult `protobuf:"bytes,8,opt,name=campaign_budget_result,json=campaignBudgetResult,proto3,oneof"` +} + +type MutateOperationResponse_CampaignGroupResult struct { + CampaignGroupResult *MutateCampaignGroupResult `protobuf:"bytes,9,opt,name=campaign_group_result,json=campaignGroupResult,proto3,oneof"` +} + +type MutateOperationResponse_CampaignResult struct { + CampaignResult *MutateCampaignResult `protobuf:"bytes,10,opt,name=campaign_result,json=campaignResult,proto3,oneof"` +} + +type MutateOperationResponse_CampaignSharedSetResult struct { + CampaignSharedSetResult *MutateCampaignSharedSetResult `protobuf:"bytes,11,opt,name=campaign_shared_set_result,json=campaignSharedSetResult,proto3,oneof"` +} + +type MutateOperationResponse_ConversionActionResult struct { + ConversionActionResult *MutateConversionActionResult `protobuf:"bytes,12,opt,name=conversion_action_result,json=conversionActionResult,proto3,oneof"` +} + +type MutateOperationResponse_CampaignCriterionResult struct { + CampaignCriterionResult *MutateCampaignCriterionResult `protobuf:"bytes,13,opt,name=campaign_criterion_result,json=campaignCriterionResult,proto3,oneof"` +} + +type MutateOperationResponse_SharedCriterionResult struct { + SharedCriterionResult *MutateSharedCriterionResult `protobuf:"bytes,14,opt,name=shared_criterion_result,json=sharedCriterionResult,proto3,oneof"` +} + +type MutateOperationResponse_SharedSetResult struct { + SharedSetResult *MutateSharedSetResult `protobuf:"bytes,15,opt,name=shared_set_result,json=sharedSetResult,proto3,oneof"` +} + +type MutateOperationResponse_UserListResult struct { + UserListResult *MutateUserListResult `protobuf:"bytes,16,opt,name=user_list_result,json=userListResult,proto3,oneof"` +} + +func (*MutateOperationResponse_AdGroupAdResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_AdGroupBidModifierResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_AdGroupCriterionResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_AdGroupResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_BiddingStrategyResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_CampaignBidModifierResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_CampaignBudgetResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_CampaignGroupResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_CampaignResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_CampaignSharedSetResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_ConversionActionResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_CampaignCriterionResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_SharedCriterionResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_SharedSetResult) isMutateOperationResponse_Response() {} + +func (*MutateOperationResponse_UserListResult) isMutateOperationResponse_Response() {} + +func (m *MutateOperationResponse) GetResponse() isMutateOperationResponse_Response { + if m != nil { + return m.Response + } + return nil +} + +func (m *MutateOperationResponse) GetAdGroupAdResult() *MutateAdGroupAdResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupAdResult); ok { + return x.AdGroupAdResult + } + return nil +} + +func (m *MutateOperationResponse) GetAdGroupBidModifierResult() *MutateAdGroupBidModifierResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupBidModifierResult); ok { + return x.AdGroupBidModifierResult + } + return nil +} + +func (m *MutateOperationResponse) GetAdGroupCriterionResult() *MutateAdGroupCriterionResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupCriterionResult); ok { + return x.AdGroupCriterionResult + } + return nil +} + +func (m *MutateOperationResponse) GetAdGroupResult() *MutateAdGroupResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupResult); ok { + return x.AdGroupResult + } + return nil +} + +func (m *MutateOperationResponse) GetBiddingStrategyResult() *MutateBiddingStrategyResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_BiddingStrategyResult); ok { + return x.BiddingStrategyResult + } + return nil +} + +func (m *MutateOperationResponse) GetCampaignBidModifierResult() *MutateCampaignBidModifierResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignBidModifierResult); ok { + return x.CampaignBidModifierResult + } + return nil +} + +func (m *MutateOperationResponse) GetCampaignBudgetResult() *MutateCampaignBudgetResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignBudgetResult); ok { + return x.CampaignBudgetResult + } + return nil +} + +func (m *MutateOperationResponse) GetCampaignGroupResult() *MutateCampaignGroupResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignGroupResult); ok { + return x.CampaignGroupResult + } + return nil +} + +func (m *MutateOperationResponse) GetCampaignResult() *MutateCampaignResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignResult); ok { + return x.CampaignResult + } + return nil +} + +func (m *MutateOperationResponse) GetCampaignSharedSetResult() *MutateCampaignSharedSetResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignSharedSetResult); ok { + return x.CampaignSharedSetResult + } + return nil +} + +func (m *MutateOperationResponse) GetConversionActionResult() *MutateConversionActionResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_ConversionActionResult); ok { + return x.ConversionActionResult + } + return nil +} + +func (m *MutateOperationResponse) GetCampaignCriterionResult() *MutateCampaignCriterionResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignCriterionResult); ok { + return x.CampaignCriterionResult + } + return nil +} + +func (m *MutateOperationResponse) GetSharedCriterionResult() *MutateSharedCriterionResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_SharedCriterionResult); ok { + return x.SharedCriterionResult + } + return nil +} + +func (m *MutateOperationResponse) GetSharedSetResult() *MutateSharedSetResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_SharedSetResult); ok { + return x.SharedSetResult + } + return nil +} + +func (m *MutateOperationResponse) GetUserListResult() *MutateUserListResult { + if x, ok := m.GetResponse().(*MutateOperationResponse_UserListResult); ok { + return x.UserListResult + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*MutateOperationResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _MutateOperationResponse_OneofMarshaler, _MutateOperationResponse_OneofUnmarshaler, _MutateOperationResponse_OneofSizer, []interface{}{ + (*MutateOperationResponse_AdGroupAdResult)(nil), + (*MutateOperationResponse_AdGroupBidModifierResult)(nil), + (*MutateOperationResponse_AdGroupCriterionResult)(nil), + (*MutateOperationResponse_AdGroupResult)(nil), + (*MutateOperationResponse_BiddingStrategyResult)(nil), + (*MutateOperationResponse_CampaignBidModifierResult)(nil), + (*MutateOperationResponse_CampaignBudgetResult)(nil), + (*MutateOperationResponse_CampaignGroupResult)(nil), + (*MutateOperationResponse_CampaignResult)(nil), + (*MutateOperationResponse_CampaignSharedSetResult)(nil), + (*MutateOperationResponse_ConversionActionResult)(nil), + (*MutateOperationResponse_CampaignCriterionResult)(nil), + (*MutateOperationResponse_SharedCriterionResult)(nil), + (*MutateOperationResponse_SharedSetResult)(nil), + (*MutateOperationResponse_UserListResult)(nil), + } +} + +func _MutateOperationResponse_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*MutateOperationResponse) + // response + switch x := m.Response.(type) { + case *MutateOperationResponse_AdGroupAdResult: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupAdResult); err != nil { + return err + } + case *MutateOperationResponse_AdGroupBidModifierResult: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupBidModifierResult); err != nil { + return err + } + case *MutateOperationResponse_AdGroupCriterionResult: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupCriterionResult); err != nil { + return err + } + case *MutateOperationResponse_AdGroupResult: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AdGroupResult); err != nil { + return err + } + case *MutateOperationResponse_BiddingStrategyResult: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.BiddingStrategyResult); err != nil { + return err + } + case *MutateOperationResponse_CampaignBidModifierResult: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignBidModifierResult); err != nil { + return err + } + case *MutateOperationResponse_CampaignBudgetResult: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignBudgetResult); err != nil { + return err + } + case *MutateOperationResponse_CampaignGroupResult: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignGroupResult); err != nil { + return err + } + case *MutateOperationResponse_CampaignResult: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignResult); err != nil { + return err + } + case *MutateOperationResponse_CampaignSharedSetResult: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignSharedSetResult); err != nil { + return err + } + case *MutateOperationResponse_ConversionActionResult: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ConversionActionResult); err != nil { + return err + } + case *MutateOperationResponse_CampaignCriterionResult: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignCriterionResult); err != nil { + return err + } + case *MutateOperationResponse_SharedCriterionResult: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SharedCriterionResult); err != nil { + return err + } + case *MutateOperationResponse_SharedSetResult: + b.EncodeVarint(15<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SharedSetResult); err != nil { + return err + } + case *MutateOperationResponse_UserListResult: + b.EncodeVarint(16<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UserListResult); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("MutateOperationResponse.Response has unexpected type %T", x) + } + return nil +} + +func _MutateOperationResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*MutateOperationResponse) + switch tag { + case 1: // response.ad_group_ad_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateAdGroupAdResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_AdGroupAdResult{msg} + return true, err + case 2: // response.ad_group_bid_modifier_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateAdGroupBidModifierResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_AdGroupBidModifierResult{msg} + return true, err + case 3: // response.ad_group_criterion_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateAdGroupCriterionResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_AdGroupCriterionResult{msg} + return true, err + case 5: // response.ad_group_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateAdGroupResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_AdGroupResult{msg} + return true, err + case 6: // response.bidding_strategy_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateBiddingStrategyResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_BiddingStrategyResult{msg} + return true, err + case 7: // response.campaign_bid_modifier_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateCampaignBidModifierResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_CampaignBidModifierResult{msg} + return true, err + case 8: // response.campaign_budget_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateCampaignBudgetResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_CampaignBudgetResult{msg} + return true, err + case 9: // response.campaign_group_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateCampaignGroupResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_CampaignGroupResult{msg} + return true, err + case 10: // response.campaign_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateCampaignResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_CampaignResult{msg} + return true, err + case 11: // response.campaign_shared_set_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateCampaignSharedSetResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_CampaignSharedSetResult{msg} + return true, err + case 12: // response.conversion_action_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateConversionActionResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_ConversionActionResult{msg} + return true, err + case 13: // response.campaign_criterion_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateCampaignCriterionResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_CampaignCriterionResult{msg} + return true, err + case 14: // response.shared_criterion_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateSharedCriterionResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_SharedCriterionResult{msg} + return true, err + case 15: // response.shared_set_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateSharedSetResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_SharedSetResult{msg} + return true, err + case 16: // response.user_list_result + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MutateUserListResult) + err := b.DecodeMessage(msg) + m.Response = &MutateOperationResponse_UserListResult{msg} + return true, err + default: + return false, nil + } +} + +func _MutateOperationResponse_OneofSizer(msg proto.Message) (n int) { + m := msg.(*MutateOperationResponse) + // response + switch x := m.Response.(type) { + case *MutateOperationResponse_AdGroupAdResult: + s := proto.Size(x.AdGroupAdResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_AdGroupBidModifierResult: + s := proto.Size(x.AdGroupBidModifierResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_AdGroupCriterionResult: + s := proto.Size(x.AdGroupCriterionResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_AdGroupResult: + s := proto.Size(x.AdGroupResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_BiddingStrategyResult: + s := proto.Size(x.BiddingStrategyResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_CampaignBidModifierResult: + s := proto.Size(x.CampaignBidModifierResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_CampaignBudgetResult: + s := proto.Size(x.CampaignBudgetResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_CampaignGroupResult: + s := proto.Size(x.CampaignGroupResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_CampaignResult: + s := proto.Size(x.CampaignResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_CampaignSharedSetResult: + s := proto.Size(x.CampaignSharedSetResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_ConversionActionResult: + s := proto.Size(x.ConversionActionResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_CampaignCriterionResult: + s := proto.Size(x.CampaignCriterionResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_SharedCriterionResult: + s := proto.Size(x.SharedCriterionResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_SharedSetResult: + s := proto.Size(x.SharedSetResult) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *MutateOperationResponse_UserListResult: + s := proto.Size(x.UserListResult) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*SearchGoogleAdsRequest)(nil), "google.ads.googleads.v0.services.SearchGoogleAdsRequest") + proto.RegisterType((*SearchGoogleAdsResponse)(nil), "google.ads.googleads.v0.services.SearchGoogleAdsResponse") + proto.RegisterType((*GoogleAdsRow)(nil), "google.ads.googleads.v0.services.GoogleAdsRow") + proto.RegisterType((*MutateGoogleAdsRequest)(nil), "google.ads.googleads.v0.services.MutateGoogleAdsRequest") + proto.RegisterType((*MutateGoogleAdsResponse)(nil), "google.ads.googleads.v0.services.MutateGoogleAdsResponse") + proto.RegisterType((*MutateOperation)(nil), "google.ads.googleads.v0.services.MutateOperation") + proto.RegisterType((*MutateOperationResponse)(nil), "google.ads.googleads.v0.services.MutateOperationResponse") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GoogleAdsServiceClient is the client API for GoogleAdsService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GoogleAdsServiceClient interface { + // Returns all rows that match the search query. + Search(ctx context.Context, in *SearchGoogleAdsRequest, opts ...grpc.CallOption) (*SearchGoogleAdsResponse, error) + // Creates, updates, or removes resources. Operation statuses are returned. + Mutate(ctx context.Context, in *MutateGoogleAdsRequest, opts ...grpc.CallOption) (*MutateGoogleAdsResponse, error) +} + +type googleAdsServiceClient struct { + cc *grpc.ClientConn +} + +func NewGoogleAdsServiceClient(cc *grpc.ClientConn) GoogleAdsServiceClient { + return &googleAdsServiceClient{cc} +} + +func (c *googleAdsServiceClient) Search(ctx context.Context, in *SearchGoogleAdsRequest, opts ...grpc.CallOption) (*SearchGoogleAdsResponse, error) { + out := new(SearchGoogleAdsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GoogleAdsService/Search", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *googleAdsServiceClient) Mutate(ctx context.Context, in *MutateGoogleAdsRequest, opts ...grpc.CallOption) (*MutateGoogleAdsResponse, error) { + out := new(MutateGoogleAdsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.GoogleAdsService/Mutate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GoogleAdsServiceServer is the server API for GoogleAdsService service. +type GoogleAdsServiceServer interface { + // Returns all rows that match the search query. + Search(context.Context, *SearchGoogleAdsRequest) (*SearchGoogleAdsResponse, error) + // Creates, updates, or removes resources. Operation statuses are returned. + Mutate(context.Context, *MutateGoogleAdsRequest) (*MutateGoogleAdsResponse, error) +} + +func RegisterGoogleAdsServiceServer(s *grpc.Server, srv GoogleAdsServiceServer) { + s.RegisterService(&_GoogleAdsService_serviceDesc, srv) +} + +func _GoogleAdsService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchGoogleAdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GoogleAdsServiceServer).Search(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GoogleAdsService/Search", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GoogleAdsServiceServer).Search(ctx, req.(*SearchGoogleAdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GoogleAdsService_Mutate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateGoogleAdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GoogleAdsServiceServer).Mutate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.GoogleAdsService/Mutate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GoogleAdsServiceServer).Mutate(ctx, req.(*MutateGoogleAdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _GoogleAdsService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.GoogleAdsService", + HandlerType: (*GoogleAdsServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Search", + Handler: _GoogleAdsService_Search_Handler, + }, + { + MethodName: "Mutate", + Handler: _GoogleAdsService_Mutate_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/google_ads_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/google_ads_service.proto", fileDescriptor_google_ads_service_537fcb76d9dc142d) +} + +var fileDescriptor_google_ads_service_537fcb76d9dc142d = []byte{ + // 3568 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x5b, 0x49, 0x77, 0xdc, 0xc6, + 0xb5, 0x76, 0x6b, 0x24, 0xab, 0x39, 0x16, 0x25, 0xb2, 0xd4, 0x92, 0x2c, 0x3d, 0x3e, 0x3f, 0x5b, + 0x4f, 0x96, 0x9b, 0x14, 0x35, 0x92, 0x1a, 0x9b, 0xd4, 0x40, 0x5a, 0xa2, 0x44, 0x83, 0xb2, 0x7c, + 0xec, 0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fd, 0x0c, 0x4c, 0xe7, 0x6a, 0xe2, 0xe8, 0x86, 0xf6, 0xd7, 0xc6, 0x53, 0x89, 0x8d, 0xb7, 0xe5, + 0x54, 0x37, 0x23, 0x61, 0x1b, 0xa7, 0xb8, 0x74, 0x8e, 0xae, 0x69, 0x6f, 0x1c, 0x11, 0xf9, 0x98, + 0xe1, 0x02, 0x2f, 0x36, 0x4e, 0xaf, 0x40, 0xca, 0x46, 0xae, 0xa8, 0xd2, 0x8e, 0x3e, 0xd1, 0x1e, + 0xb9, 0x2d, 0x09, 0x17, 0xe9, 0x81, 0xf0, 0xfe, 0x7e, 0x4e, 0xc6, 0x3e, 0xd4, 0xf2, 0x45, 0x79, + 0x74, 0x5d, 0x7b, 0xe8, 0xb6, 0x04, 0x38, 0xf1, 0x38, 0x53, 0x7e, 0x46, 0x02, 0xbf, 0x04, 0x13, + 0xe9, 0xda, 0x3d, 0x9a, 0xd5, 0x76, 0x67, 0x46, 0x0a, 0x68, 0x64, 0x14, 0x31, 0x5f, 0x99, 0x2d, + 0xef, 0xa3, 0x07, 0xda, 0xca, 0x45, 0x85, 0xe7, 0x05, 0x09, 0x7a, 0xc2, 0x57, 0x86, 0xa9, 0x36, + 0x4b, 0x03, 0xb3, 0x95, 0x38, 0x74, 0x56, 0x3b, 0x0d, 0x14, 0xe9, 0x64, 0x92, 0x7c, 0x4f, 0x86, + 0x69, 0x01, 0x7c, 0x02, 0x80, 0x92, 0xc2, 0x9e, 0xd6, 0x2e, 0x23, 0x24, 0xa9, 0xeb, 0x68, 0x18, + 0xa7, 0xac, 0x4f, 0x00, 0x48, 0xce, 0x01, 0xd0, 0x25, 0x6d, 0x65, 0x2f, 0x18, 0x88, 0xbf, 0xfd, + 0x28, 0x8d, 0x7e, 0xb2, 0x84, 0x26, 0x75, 0x40, 0x80, 0x6e, 0x69, 0x27, 0x34, 0x9f, 0x87, 0x24, + 0xd8, 0x90, 0x30, 0x63, 0xac, 0xaf, 0xb4, 0x58, 0xaa, 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, 0xe9, 0xd0, 0xe1, 0xc7, 0xad, 0xd6, 0x5f, 0x0e, 0x9d, 0x17, + 0x4c, 0xcd, 0x96, 0xad, 0x5c, 0x7a, 0x6e, 0xbe, 0x5c, 0x6c, 0x4a, 0xe2, 0xf0, 0xa7, 0xe8, 0x91, + 0x57, 0x2d, 0x3b, 0x7c, 0x15, 0x3f, 0xf2, 0xea, 0xe5, 0xe2, 0xab, 0xe8, 0x91, 0x9d, 0x63, 0xdc, + 0x80, 0x2b, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x68, 0xc3, 0x82, 0x42, 0x40, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_group_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_group_view_service.pb.go new file mode 100644 index 000000000..e65920481 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_group_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/hotel_group_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v0.services.HotelGroupViewService.GetHotelGroupView]. +type GetHotelGroupViewRequest struct { + // Resource name of the Hotel Group View to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetHotelGroupViewRequest) Reset() { *m = GetHotelGroupViewRequest{} } +func (m *GetHotelGroupViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetHotelGroupViewRequest) ProtoMessage() {} +func (*GetHotelGroupViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_hotel_group_view_service_d553180658033695, []int{0} +} +func (m *GetHotelGroupViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetHotelGroupViewRequest.Unmarshal(m, b) +} +func (m *GetHotelGroupViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetHotelGroupViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetHotelGroupViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetHotelGroupViewRequest.Merge(dst, src) +} +func (m *GetHotelGroupViewRequest) XXX_Size() int { + return xxx_messageInfo_GetHotelGroupViewRequest.Size(m) +} +func (m *GetHotelGroupViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetHotelGroupViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetHotelGroupViewRequest proto.InternalMessageInfo + +func (m *GetHotelGroupViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetHotelGroupViewRequest)(nil), "google.ads.googleads.v0.services.GetHotelGroupViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// HotelGroupViewServiceClient is the client API for HotelGroupViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type HotelGroupViewServiceClient interface { + // Returns the requested Hotel Group View in full detail. + GetHotelGroupView(ctx context.Context, in *GetHotelGroupViewRequest, opts ...grpc.CallOption) (*resources.HotelGroupView, error) +} + +type hotelGroupViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewHotelGroupViewServiceClient(cc *grpc.ClientConn) HotelGroupViewServiceClient { + return &hotelGroupViewServiceClient{cc} +} + +func (c *hotelGroupViewServiceClient) GetHotelGroupView(ctx context.Context, in *GetHotelGroupViewRequest, opts ...grpc.CallOption) (*resources.HotelGroupView, error) { + out := new(resources.HotelGroupView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.HotelGroupViewService/GetHotelGroupView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// HotelGroupViewServiceServer is the server API for HotelGroupViewService service. +type HotelGroupViewServiceServer interface { + // Returns the requested Hotel Group View in full detail. + GetHotelGroupView(context.Context, *GetHotelGroupViewRequest) (*resources.HotelGroupView, error) +} + +func RegisterHotelGroupViewServiceServer(s *grpc.Server, srv HotelGroupViewServiceServer) { + s.RegisterService(&_HotelGroupViewService_serviceDesc, srv) +} + +func _HotelGroupViewService_GetHotelGroupView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetHotelGroupViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(HotelGroupViewServiceServer).GetHotelGroupView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.HotelGroupViewService/GetHotelGroupView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(HotelGroupViewServiceServer).GetHotelGroupView(ctx, req.(*GetHotelGroupViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _HotelGroupViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.HotelGroupViewService", + HandlerType: (*HotelGroupViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetHotelGroupView", + Handler: _HotelGroupViewService_GetHotelGroupView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/hotel_group_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/hotel_group_view_service.proto", fileDescriptor_hotel_group_view_service_d553180658033695) +} + +var fileDescriptor_hotel_group_view_service_d553180658033695 = []byte{ + // 351 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0x8c, 0xfc, 0x92, 0xd4, 0x9c, 0xf8, 0xf4, 0xa2, 0xfc, + 0xd2, 0x82, 0xf8, 0xb2, 0xcc, 0xd4, 0xf2, 0x78, 0xa8, 0x8c, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, + 0x90, 0x02, 0x44, 0x97, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0xdc, 0x00, 0xbd, 0x32, 0x03, 0x3d, 0x98, + 0x01, 0x52, 0x16, 0xb8, 0xac, 0x28, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0xc2, 0x66, 0x07, 0xc4, 0x6c, + 0x29, 0x19, 0x98, 0xce, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, 0xbc, 0xfc, 0x92, 0xc4, 0x92, 0xcc, 0xfc, + 0xbc, 0x62, 0x88, 0xac, 0x92, 0x3d, 0x97, 0x84, 0x7b, 0x6a, 0x89, 0x07, 0x48, 0xab, 0x3b, 0x48, + 0x67, 0x58, 0x66, 0x6a, 0x79, 0x50, 0x6a, 0x61, 0x69, 0x6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x63, 0x4a, 0x71, 0x0c, 0x5c, 0x49, 0x4c, 0x98, 0x41, 0x0c, 0x4c, 0x49, 0x12, 0x1b, 0xd8, 0x01, + 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd5, 0xe6, 0xf0, 0xd1, 0xbb, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_performance_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_performance_view_service.pb.go new file mode 100644 index 000000000..3f1c11eee --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/hotel_performance_view_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/hotel_performance_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v0.services.HotelPerformanceViewService.GetHotelPerformanceView]. +type GetHotelPerformanceViewRequest struct { + // Resource name of the Hotel Performance View to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetHotelPerformanceViewRequest) Reset() { *m = GetHotelPerformanceViewRequest{} } +func (m *GetHotelPerformanceViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetHotelPerformanceViewRequest) ProtoMessage() {} +func (*GetHotelPerformanceViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_hotel_performance_view_service_91d056d973d5a9fa, []int{0} +} +func (m *GetHotelPerformanceViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetHotelPerformanceViewRequest.Unmarshal(m, b) +} +func (m *GetHotelPerformanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetHotelPerformanceViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetHotelPerformanceViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetHotelPerformanceViewRequest.Merge(dst, src) +} +func (m *GetHotelPerformanceViewRequest) XXX_Size() int { + return xxx_messageInfo_GetHotelPerformanceViewRequest.Size(m) +} +func (m *GetHotelPerformanceViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetHotelPerformanceViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetHotelPerformanceViewRequest proto.InternalMessageInfo + +func (m *GetHotelPerformanceViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetHotelPerformanceViewRequest)(nil), "google.ads.googleads.v0.services.GetHotelPerformanceViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// HotelPerformanceViewServiceClient is the client API for HotelPerformanceViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type HotelPerformanceViewServiceClient interface { + // Returns the requested Hotel Performance View in full detail. + GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error) +} + +type hotelPerformanceViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewHotelPerformanceViewServiceClient(cc *grpc.ClientConn) HotelPerformanceViewServiceClient { + return &hotelPerformanceViewServiceClient{cc} +} + +func (c *hotelPerformanceViewServiceClient) GetHotelPerformanceView(ctx context.Context, in *GetHotelPerformanceViewRequest, opts ...grpc.CallOption) (*resources.HotelPerformanceView, error) { + out := new(resources.HotelPerformanceView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.HotelPerformanceViewService/GetHotelPerformanceView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// HotelPerformanceViewServiceServer is the server API for HotelPerformanceViewService service. +type HotelPerformanceViewServiceServer interface { + // Returns the requested Hotel Performance View in full detail. + GetHotelPerformanceView(context.Context, *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error) +} + +func RegisterHotelPerformanceViewServiceServer(s *grpc.Server, srv HotelPerformanceViewServiceServer) { + s.RegisterService(&_HotelPerformanceViewService_serviceDesc, srv) +} + +func _HotelPerformanceViewService_GetHotelPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetHotelPerformanceViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.HotelPerformanceViewService/GetHotelPerformanceView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(HotelPerformanceViewServiceServer).GetHotelPerformanceView(ctx, req.(*GetHotelPerformanceViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _HotelPerformanceViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.HotelPerformanceViewService", + HandlerType: (*HotelPerformanceViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetHotelPerformanceView", + Handler: _HotelPerformanceViewService_GetHotelPerformanceView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/hotel_performance_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/hotel_performance_view_service.proto", fileDescriptor_hotel_performance_view_service_91d056d973d5a9fa) +} + +var fileDescriptor_hotel_performance_view_service_91d056d973d5a9fa = []byte{ + // 355 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x4d, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0x8c, 0xfc, 0x92, 0xd4, 0x9c, 0xf8, 0x82, 0xd4, 0xa2, + 0xb4, 0xfc, 0xa2, 0xdc, 0xc4, 0xbc, 0xe4, 0xd4, 0xf8, 0xb2, 0xcc, 0xd4, 0xf2, 0x78, 0xa8, 0xbc, + 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, 0x44, 0xaf, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0xdc, + 0x18, 0xbd, 0x32, 0x03, 0x3d, 0x98, 0x31, 0x52, 0x76, 0xb8, 0x2c, 0x2a, 0x4a, 0x2d, 0xce, 0x2f, + 0x2d, 0xc2, 0x6d, 0x13, 0xc4, 0x06, 0x29, 0x19, 0x98, 0xfe, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, 0xbc, + 0xfc, 0x92, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, 0x62, 0x88, 0xac, 0x92, 0x2b, 0x97, 0x9c, 0x7b, 0x6a, + 0x89, 0x07, 0xc8, 0x80, 0x00, 0x84, 0xfe, 0xb0,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, 0xd4, 0xe2, 0xe2, + 0x53, 0x30, 0x25, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x25, 0x31, 0x61, 0x06, 0x31, 0x30, 0x25, + 0x49, 0x6c, 0x60, 0x07, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x98, 0x29, 0x9f, 0xee, + 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_ad_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_ad_group_service.pb.go new file mode 100644 index 000000000..3aa3b748f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_ad_group_service.pb.go @@ -0,0 +1,549 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_plan_ad_group_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v0.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup]. +type GetKeywordPlanAdGroupRequest struct { + // The resource name of the Keyword Plan ad group to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetKeywordPlanAdGroupRequest) Reset() { *m = GetKeywordPlanAdGroupRequest{} } +func (m *GetKeywordPlanAdGroupRequest) String() string { return proto.CompactTextString(m) } +func (*GetKeywordPlanAdGroupRequest) ProtoMessage() {} +func (*GetKeywordPlanAdGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896, []int{0} +} +func (m *GetKeywordPlanAdGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Unmarshal(m, b) +} +func (m *GetKeywordPlanAdGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Marshal(b, m, deterministic) +} +func (dst *GetKeywordPlanAdGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeywordPlanAdGroupRequest.Merge(dst, src) +} +func (m *GetKeywordPlanAdGroupRequest) XXX_Size() int { + return xxx_messageInfo_GetKeywordPlanAdGroupRequest.Size(m) +} +func (m *GetKeywordPlanAdGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetKeywordPlanAdGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetKeywordPlanAdGroupRequest proto.InternalMessageInfo + +func (m *GetKeywordPlanAdGroupRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v0.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. +type MutateKeywordPlanAdGroupsRequest struct { + // The ID of the customer whose Keyword Plan ad groups are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual Keyword Plan ad groups. + Operations []*KeywordPlanAdGroupOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanAdGroupsRequest) Reset() { *m = MutateKeywordPlanAdGroupsRequest{} } +func (m *MutateKeywordPlanAdGroupsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanAdGroupsRequest) ProtoMessage() {} +func (*MutateKeywordPlanAdGroupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896, []int{1} +} +func (m *MutateKeywordPlanAdGroupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Unmarshal(m, b) +} +func (m *MutateKeywordPlanAdGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanAdGroupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Merge(dst, src) +} +func (m *MutateKeywordPlanAdGroupsRequest) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Size(m) +} +func (m *MutateKeywordPlanAdGroupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanAdGroupsRequest proto.InternalMessageInfo + +func (m *MutateKeywordPlanAdGroupsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateKeywordPlanAdGroupsRequest) GetOperations() []*KeywordPlanAdGroupOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a Keyword Plan ad group. +type KeywordPlanAdGroupOperation struct { + // The FieldMask that determines which resource fields are modified in an + // update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *KeywordPlanAdGroupOperation_Create + // *KeywordPlanAdGroupOperation_Update + // *KeywordPlanAdGroupOperation_Remove + Operation isKeywordPlanAdGroupOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanAdGroupOperation) Reset() { *m = KeywordPlanAdGroupOperation{} } +func (m *KeywordPlanAdGroupOperation) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanAdGroupOperation) ProtoMessage() {} +func (*KeywordPlanAdGroupOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896, []int{2} +} +func (m *KeywordPlanAdGroupOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanAdGroupOperation.Unmarshal(m, b) +} +func (m *KeywordPlanAdGroupOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanAdGroupOperation.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanAdGroupOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanAdGroupOperation.Merge(dst, src) +} +func (m *KeywordPlanAdGroupOperation) XXX_Size() int { + return xxx_messageInfo_KeywordPlanAdGroupOperation.Size(m) +} +func (m *KeywordPlanAdGroupOperation) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanAdGroupOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanAdGroupOperation proto.InternalMessageInfo + +func (m *KeywordPlanAdGroupOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isKeywordPlanAdGroupOperation_Operation interface { + isKeywordPlanAdGroupOperation_Operation() +} + +type KeywordPlanAdGroupOperation_Create struct { + Create *resources.KeywordPlanAdGroup `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type KeywordPlanAdGroupOperation_Update struct { + Update *resources.KeywordPlanAdGroup `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type KeywordPlanAdGroupOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*KeywordPlanAdGroupOperation_Create) isKeywordPlanAdGroupOperation_Operation() {} + +func (*KeywordPlanAdGroupOperation_Update) isKeywordPlanAdGroupOperation_Operation() {} + +func (*KeywordPlanAdGroupOperation_Remove) isKeywordPlanAdGroupOperation_Operation() {} + +func (m *KeywordPlanAdGroupOperation) GetOperation() isKeywordPlanAdGroupOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *KeywordPlanAdGroupOperation) GetCreate() *resources.KeywordPlanAdGroup { + if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *KeywordPlanAdGroupOperation) GetUpdate() *resources.KeywordPlanAdGroup { + if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *KeywordPlanAdGroupOperation) GetRemove() string { + if x, ok := m.GetOperation().(*KeywordPlanAdGroupOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*KeywordPlanAdGroupOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _KeywordPlanAdGroupOperation_OneofMarshaler, _KeywordPlanAdGroupOperation_OneofUnmarshaler, _KeywordPlanAdGroupOperation_OneofSizer, []interface{}{ + (*KeywordPlanAdGroupOperation_Create)(nil), + (*KeywordPlanAdGroupOperation_Update)(nil), + (*KeywordPlanAdGroupOperation_Remove)(nil), + } +} + +func _KeywordPlanAdGroupOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*KeywordPlanAdGroupOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanAdGroupOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *KeywordPlanAdGroupOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *KeywordPlanAdGroupOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("KeywordPlanAdGroupOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _KeywordPlanAdGroupOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*KeywordPlanAdGroupOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanAdGroup) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanAdGroupOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanAdGroup) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanAdGroupOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &KeywordPlanAdGroupOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _KeywordPlanAdGroupOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*KeywordPlanAdGroupOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanAdGroupOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanAdGroupOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanAdGroupOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a Keyword Plan ad group mutate. +type MutateKeywordPlanAdGroupsResponse struct { + // All results for the mutate. + Results []*MutateKeywordPlanAdGroupResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanAdGroupsResponse) Reset() { *m = MutateKeywordPlanAdGroupsResponse{} } +func (m *MutateKeywordPlanAdGroupsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanAdGroupsResponse) ProtoMessage() {} +func (*MutateKeywordPlanAdGroupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896, []int{3} +} +func (m *MutateKeywordPlanAdGroupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Unmarshal(m, b) +} +func (m *MutateKeywordPlanAdGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanAdGroupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Merge(dst, src) +} +func (m *MutateKeywordPlanAdGroupsResponse) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Size(m) +} +func (m *MutateKeywordPlanAdGroupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanAdGroupsResponse proto.InternalMessageInfo + +func (m *MutateKeywordPlanAdGroupsResponse) GetResults() []*MutateKeywordPlanAdGroupResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the Keyword Plan ad group mutate. +type MutateKeywordPlanAdGroupResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanAdGroupResult) Reset() { *m = MutateKeywordPlanAdGroupResult{} } +func (m *MutateKeywordPlanAdGroupResult) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanAdGroupResult) ProtoMessage() {} +func (*MutateKeywordPlanAdGroupResult) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896, []int{4} +} +func (m *MutateKeywordPlanAdGroupResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Unmarshal(m, b) +} +func (m *MutateKeywordPlanAdGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanAdGroupResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanAdGroupResult.Merge(dst, src) +} +func (m *MutateKeywordPlanAdGroupResult) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanAdGroupResult.Size(m) +} +func (m *MutateKeywordPlanAdGroupResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanAdGroupResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanAdGroupResult proto.InternalMessageInfo + +func (m *MutateKeywordPlanAdGroupResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetKeywordPlanAdGroupRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanAdGroupRequest") + proto.RegisterType((*MutateKeywordPlanAdGroupsRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanAdGroupsRequest") + proto.RegisterType((*KeywordPlanAdGroupOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanAdGroupOperation") + proto.RegisterType((*MutateKeywordPlanAdGroupsResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanAdGroupsResponse") + proto.RegisterType((*MutateKeywordPlanAdGroupResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanAdGroupResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordPlanAdGroupServiceClient is the client API for KeywordPlanAdGroupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordPlanAdGroupServiceClient interface { + // Returns the requested Keyword Plan ad group in full detail. + GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error) + // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are + // returned. + MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error) +} + +type keywordPlanAdGroupServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordPlanAdGroupServiceClient(cc *grpc.ClientConn) KeywordPlanAdGroupServiceClient { + return &keywordPlanAdGroupServiceClient{cc} +} + +func (c *keywordPlanAdGroupServiceClient) GetKeywordPlanAdGroup(ctx context.Context, in *GetKeywordPlanAdGroupRequest, opts ...grpc.CallOption) (*resources.KeywordPlanAdGroup, error) { + out := new(resources.KeywordPlanAdGroup) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanAdGroupServiceClient) MutateKeywordPlanAdGroups(ctx context.Context, in *MutateKeywordPlanAdGroupsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanAdGroupsResponse, error) { + out := new(MutateKeywordPlanAdGroupsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordPlanAdGroupServiceServer is the server API for KeywordPlanAdGroupService service. +type KeywordPlanAdGroupServiceServer interface { + // Returns the requested Keyword Plan ad group in full detail. + GetKeywordPlanAdGroup(context.Context, *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error) + // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are + // returned. + MutateKeywordPlanAdGroups(context.Context, *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error) +} + +func RegisterKeywordPlanAdGroupServiceServer(s *grpc.Server, srv KeywordPlanAdGroupServiceServer) { + s.RegisterService(&_KeywordPlanAdGroupService_serviceDesc, srv) +} + +func _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeywordPlanAdGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanAdGroupServiceServer).GetKeywordPlanAdGroup(ctx, req.(*GetKeywordPlanAdGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateKeywordPlanAdGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanAdGroupServiceServer).MutateKeywordPlanAdGroups(ctx, req.(*MutateKeywordPlanAdGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordPlanAdGroupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordPlanAdGroupService", + HandlerType: (*KeywordPlanAdGroupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetKeywordPlanAdGroup", + Handler: _KeywordPlanAdGroupService_GetKeywordPlanAdGroup_Handler, + }, + { + MethodName: "MutateKeywordPlanAdGroups", + Handler: _KeywordPlanAdGroupService_MutateKeywordPlanAdGroups_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_plan_ad_group_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_ad_group_service.proto", fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896) +} + +var fileDescriptor_keyword_plan_ad_group_service_4b428822531a4896 = []byte{ + // 612 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x8b, 0xd3, 0x4e, + 0x18, 0xc7, 0x7f, 0x49, 0x7f, 0x54, 0x76, 0xa2, 0x97, 0x01, 0x21, 0x5b, 0x97, 0x35, 0x46, 0x0f, + 0xa5, 0x87, 0xa4, 0x54, 0x16, 0x65, 0x97, 0x88, 0x6d, 0xd5, 0xae, 0xc8, 0xba, 0x25, 0xc2, 0x1e, + 0x96, 0x4a, 0x98, 0x6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, 0x00, 0xff, 0xff, 0x7d, 0x19, 0x0f, 0xc5, + 0x82, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_campaign_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_campaign_service.pb.go new file mode 100644 index 000000000..4b477abe1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_campaign_service.pb.go @@ -0,0 +1,550 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_plan_campaign_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v0.services.KeywordPlanCampaignService.GetKeywordPlanCampaign]. +type GetKeywordPlanCampaignRequest struct { + // The resource name of the Keyword Plan campaign to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetKeywordPlanCampaignRequest) Reset() { *m = GetKeywordPlanCampaignRequest{} } +func (m *GetKeywordPlanCampaignRequest) String() string { return proto.CompactTextString(m) } +func (*GetKeywordPlanCampaignRequest) ProtoMessage() {} +func (*GetKeywordPlanCampaignRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba, []int{0} +} +func (m *GetKeywordPlanCampaignRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetKeywordPlanCampaignRequest.Unmarshal(m, b) +} +func (m *GetKeywordPlanCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetKeywordPlanCampaignRequest.Marshal(b, m, deterministic) +} +func (dst *GetKeywordPlanCampaignRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeywordPlanCampaignRequest.Merge(dst, src) +} +func (m *GetKeywordPlanCampaignRequest) XXX_Size() int { + return xxx_messageInfo_GetKeywordPlanCampaignRequest.Size(m) +} +func (m *GetKeywordPlanCampaignRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetKeywordPlanCampaignRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetKeywordPlanCampaignRequest proto.InternalMessageInfo + +func (m *GetKeywordPlanCampaignRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for +// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v0.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. +type MutateKeywordPlanCampaignsRequest struct { + // The ID of the customer whose Keyword Plan campaigns are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual Keyword Plan campaigns. + Operations []*KeywordPlanCampaignOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanCampaignsRequest) Reset() { *m = MutateKeywordPlanCampaignsRequest{} } +func (m *MutateKeywordPlanCampaignsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanCampaignsRequest) ProtoMessage() {} +func (*MutateKeywordPlanCampaignsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba, []int{1} +} +func (m *MutateKeywordPlanCampaignsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Unmarshal(m, b) +} +func (m *MutateKeywordPlanCampaignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanCampaignsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Merge(dst, src) +} +func (m *MutateKeywordPlanCampaignsRequest) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Size(m) +} +func (m *MutateKeywordPlanCampaignsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanCampaignsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanCampaignsRequest proto.InternalMessageInfo + +func (m *MutateKeywordPlanCampaignsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateKeywordPlanCampaignsRequest) GetOperations() []*KeywordPlanCampaignOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a Keyword Plan campaign. +type KeywordPlanCampaignOperation struct { + // The FieldMask that determines which resource fields are modified in an + // update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *KeywordPlanCampaignOperation_Create + // *KeywordPlanCampaignOperation_Update + // *KeywordPlanCampaignOperation_Remove + Operation isKeywordPlanCampaignOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanCampaignOperation) Reset() { *m = KeywordPlanCampaignOperation{} } +func (m *KeywordPlanCampaignOperation) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanCampaignOperation) ProtoMessage() {} +func (*KeywordPlanCampaignOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba, []int{2} +} +func (m *KeywordPlanCampaignOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanCampaignOperation.Unmarshal(m, b) +} +func (m *KeywordPlanCampaignOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanCampaignOperation.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanCampaignOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanCampaignOperation.Merge(dst, src) +} +func (m *KeywordPlanCampaignOperation) XXX_Size() int { + return xxx_messageInfo_KeywordPlanCampaignOperation.Size(m) +} +func (m *KeywordPlanCampaignOperation) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanCampaignOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanCampaignOperation proto.InternalMessageInfo + +func (m *KeywordPlanCampaignOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isKeywordPlanCampaignOperation_Operation interface { + isKeywordPlanCampaignOperation_Operation() +} + +type KeywordPlanCampaignOperation_Create struct { + Create *resources.KeywordPlanCampaign `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type KeywordPlanCampaignOperation_Update struct { + Update *resources.KeywordPlanCampaign `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type KeywordPlanCampaignOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*KeywordPlanCampaignOperation_Create) isKeywordPlanCampaignOperation_Operation() {} + +func (*KeywordPlanCampaignOperation_Update) isKeywordPlanCampaignOperation_Operation() {} + +func (*KeywordPlanCampaignOperation_Remove) isKeywordPlanCampaignOperation_Operation() {} + +func (m *KeywordPlanCampaignOperation) GetOperation() isKeywordPlanCampaignOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *KeywordPlanCampaignOperation) GetCreate() *resources.KeywordPlanCampaign { + if x, ok := m.GetOperation().(*KeywordPlanCampaignOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *KeywordPlanCampaignOperation) GetUpdate() *resources.KeywordPlanCampaign { + if x, ok := m.GetOperation().(*KeywordPlanCampaignOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *KeywordPlanCampaignOperation) GetRemove() string { + if x, ok := m.GetOperation().(*KeywordPlanCampaignOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*KeywordPlanCampaignOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _KeywordPlanCampaignOperation_OneofMarshaler, _KeywordPlanCampaignOperation_OneofUnmarshaler, _KeywordPlanCampaignOperation_OneofSizer, []interface{}{ + (*KeywordPlanCampaignOperation_Create)(nil), + (*KeywordPlanCampaignOperation_Update)(nil), + (*KeywordPlanCampaignOperation_Remove)(nil), + } +} + +func _KeywordPlanCampaignOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*KeywordPlanCampaignOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanCampaignOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *KeywordPlanCampaignOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *KeywordPlanCampaignOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("KeywordPlanCampaignOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _KeywordPlanCampaignOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*KeywordPlanCampaignOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanCampaign) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanCampaignOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanCampaign) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanCampaignOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &KeywordPlanCampaignOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _KeywordPlanCampaignOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*KeywordPlanCampaignOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanCampaignOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanCampaignOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanCampaignOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a Keyword Plan campaign mutate. +type MutateKeywordPlanCampaignsResponse struct { + // All results for the mutate. + Results []*MutateKeywordPlanCampaignResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanCampaignsResponse) Reset() { *m = MutateKeywordPlanCampaignsResponse{} } +func (m *MutateKeywordPlanCampaignsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanCampaignsResponse) ProtoMessage() {} +func (*MutateKeywordPlanCampaignsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba, []int{3} +} +func (m *MutateKeywordPlanCampaignsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Unmarshal(m, b) +} +func (m *MutateKeywordPlanCampaignsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanCampaignsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Merge(dst, src) +} +func (m *MutateKeywordPlanCampaignsResponse) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Size(m) +} +func (m *MutateKeywordPlanCampaignsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanCampaignsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanCampaignsResponse proto.InternalMessageInfo + +func (m *MutateKeywordPlanCampaignsResponse) GetResults() []*MutateKeywordPlanCampaignResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the Keyword Plan campaign mutate. +type MutateKeywordPlanCampaignResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanCampaignResult) Reset() { *m = MutateKeywordPlanCampaignResult{} } +func (m *MutateKeywordPlanCampaignResult) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanCampaignResult) ProtoMessage() {} +func (*MutateKeywordPlanCampaignResult) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba, []int{4} +} +func (m *MutateKeywordPlanCampaignResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanCampaignResult.Unmarshal(m, b) +} +func (m *MutateKeywordPlanCampaignResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanCampaignResult.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanCampaignResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanCampaignResult.Merge(dst, src) +} +func (m *MutateKeywordPlanCampaignResult) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanCampaignResult.Size(m) +} +func (m *MutateKeywordPlanCampaignResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanCampaignResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanCampaignResult proto.InternalMessageInfo + +func (m *MutateKeywordPlanCampaignResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetKeywordPlanCampaignRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanCampaignRequest") + proto.RegisterType((*MutateKeywordPlanCampaignsRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanCampaignsRequest") + proto.RegisterType((*KeywordPlanCampaignOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanCampaignOperation") + proto.RegisterType((*MutateKeywordPlanCampaignsResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanCampaignsResponse") + proto.RegisterType((*MutateKeywordPlanCampaignResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanCampaignResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordPlanCampaignServiceClient is the client API for KeywordPlanCampaignService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordPlanCampaignServiceClient interface { + // Returns the requested Keyword Plan campaign in full detail. + GetKeywordPlanCampaign(ctx context.Context, in *GetKeywordPlanCampaignRequest, opts ...grpc.CallOption) (*resources.KeywordPlanCampaign, error) + // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are + // returned. + MutateKeywordPlanCampaigns(ctx context.Context, in *MutateKeywordPlanCampaignsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanCampaignsResponse, error) +} + +type keywordPlanCampaignServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordPlanCampaignServiceClient(cc *grpc.ClientConn) KeywordPlanCampaignServiceClient { + return &keywordPlanCampaignServiceClient{cc} +} + +func (c *keywordPlanCampaignServiceClient) GetKeywordPlanCampaign(ctx context.Context, in *GetKeywordPlanCampaignRequest, opts ...grpc.CallOption) (*resources.KeywordPlanCampaign, error) { + out := new(resources.KeywordPlanCampaign) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanCampaignService/GetKeywordPlanCampaign", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanCampaignServiceClient) MutateKeywordPlanCampaigns(ctx context.Context, in *MutateKeywordPlanCampaignsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanCampaignsResponse, error) { + out := new(MutateKeywordPlanCampaignsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordPlanCampaignServiceServer is the server API for KeywordPlanCampaignService service. +type KeywordPlanCampaignServiceServer interface { + // Returns the requested Keyword Plan campaign in full detail. + GetKeywordPlanCampaign(context.Context, *GetKeywordPlanCampaignRequest) (*resources.KeywordPlanCampaign, error) + // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are + // returned. + MutateKeywordPlanCampaigns(context.Context, *MutateKeywordPlanCampaignsRequest) (*MutateKeywordPlanCampaignsResponse, error) +} + +func RegisterKeywordPlanCampaignServiceServer(s *grpc.Server, srv KeywordPlanCampaignServiceServer) { + s.RegisterService(&_KeywordPlanCampaignService_serviceDesc, srv) +} + +func _KeywordPlanCampaignService_GetKeywordPlanCampaign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeywordPlanCampaignRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanCampaignServiceServer).GetKeywordPlanCampaign(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanCampaignService/GetKeywordPlanCampaign", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanCampaignServiceServer).GetKeywordPlanCampaign(ctx, req.(*GetKeywordPlanCampaignRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanCampaignService_MutateKeywordPlanCampaigns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateKeywordPlanCampaignsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanCampaignServiceServer).MutateKeywordPlanCampaigns(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanCampaignServiceServer).MutateKeywordPlanCampaigns(ctx, req.(*MutateKeywordPlanCampaignsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordPlanCampaignService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordPlanCampaignService", + HandlerType: (*KeywordPlanCampaignServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetKeywordPlanCampaign", + Handler: _KeywordPlanCampaignService_GetKeywordPlanCampaign_Handler, + }, + { + MethodName: "MutateKeywordPlanCampaigns", + Handler: _KeywordPlanCampaignService_MutateKeywordPlanCampaigns_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_plan_campaign_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_campaign_service.proto", fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba) +} + +var fileDescriptor_keyword_plan_campaign_service_ec02efaeac104dba = []byte{ + // 610 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4d, 0x8b, 0xd3, 0x40, + 0x18, 0xc7, 0x4d, 0x2a, 0x95, 0x9d, 0xe8, 0x65, 0x0e, 0x12, 0xc2, 0x4a, 0x6b, 0xf4, 0x50, 0x7a, + 0x48, 0x4a, 0x85, 0x45, 0x77, 0x69, 0xa5, 0xdd, 0xb2, 0x5d, 0x91, 0xd5, 0x12, 0x61, 0x0f, 0x5a, + 0x0c, 0xb3, 0xcd, 0x6c, 0x08, 0x4d, 0x32, 0x71, 0x66, 0x52, 0x91, 0x65, 0x0f, 0xfa, 0x15, 0xfc, + 0x06, 0x22, 0x1e, 0xfc, 0x28, 0xde, 0xc4, 0x0f, 0xa0, 0x07, 0xaf, 0x7e, 0x07, 0x49, 0x26, 0x53, + 0x77, 0x21, 0x69, 0x65, 0x7b, 0x7b, 0x92, 0x79, 0xf2, 0x7b, 0x5e, 0xfe, 0xf3, 0x3c, 0x01, 0x23, + 0x9f, 0x10, 0x3f, 0xc4, 0x36, 0xf2, 0x98, 0x2d, 0xcc, 0xcc, 0x5a, 0x74, 0x6c, 0x86, 0xe9, 0x22, + 0x98, 0x61, 0x66, 0xc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 0x6c, 0x8c, 0x36, 0x83, 0x88, 0x1b, 0x64, 0x8e, 0xf2, 0x4a, 0xfb, 0xe6, 0xa3, 0xac, 0xd2, 0x7f, + 0xa5, 0x9d, 0x5d, 0xd8, 0x13, 0xbd, 0xf6, 0x79, 0x69, 0xa1, 0xbb, 0x51, 0x8e, 0xdf, 0x55, 0xda, + 0xc3, 0x9f, 0x0a, 0xb8, 0x3f, 0x23, 0xd1, 0xda, 0x8c, 0x86, 0x8d, 0xea, 0x8b, 0x30, 0xc9, 0x86, + 0x7b, 0xa2, 0xbc, 0x3c, 0x2c, 0x20, 0x3e, 0x09, 0x51, 0xec, 0x5b, 0x84, 0xfa, 0xb6, 0x8f, 0xe3, + 0x7c, 0xf4, 0xe5, 0x7e, 0x4e, 0x02, 0x56, 0xfd, 0x5b, 0xd8, 0x93, 0xc6, 0x27, 0xb5, 0x36, 0x1e, + 0x0c, 0xbe, 0xaa, 0xcd, 0xb1, 0x00, 0x0e, 0x3c, 0x66, 0x09, 0x33, 0xb3, 0x8e, 0x3b, 0x56, 0x11, + 0x98, 0x7d, 0x93, 0x2e, 0xd3, 0x81, 0xc7, 0xa6, 0x4b, 0x97, 0xe9, 0x71, 0x67, 0x2a, 0x5d, 0x4e, + 0xea, 0x79, 0x02, 0x0f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x01, 0x1e, 0x6c, 0x96, 0x06, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_idea_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_idea_service.pb.go new file mode 100644 index 000000000..f2eb502a5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_idea_service.pb.go @@ -0,0 +1,604 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_plan_idea_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [KeywordIdeaService.GenerateKeywordIdeas][]. +type GenerateKeywordIdeasRequest struct { + // The ID of the customer with the recommendation. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The resource name of the language to target. + // Required + Language *wrappers.StringValue `protobuf:"bytes,7,opt,name=language,proto3" json:"language,omitempty"` + // The resource names of the location to target. + // Max 10 + GeoTargetConstants []*wrappers.StringValue `protobuf:"bytes,8,rep,name=geo_target_constants,json=geoTargetConstants,proto3" json:"geo_target_constants,omitempty"` + // Targeting network. + KeywordPlanNetwork enums.KeywordPlanNetworkEnum_KeywordPlanNetwork `protobuf:"varint,9,opt,name=keyword_plan_network,json=keywordPlanNetwork,proto3,enum=google.ads.googleads.v0.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork" json:"keyword_plan_network,omitempty"` + // The type of seed to generate keyword ideas. + // + // Types that are valid to be assigned to Seed: + // *GenerateKeywordIdeasRequest_KeywordAndUrlSeed + // *GenerateKeywordIdeasRequest_KeywordSeed + // *GenerateKeywordIdeasRequest_UrlSeed + Seed isGenerateKeywordIdeasRequest_Seed `protobuf_oneof:"seed"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateKeywordIdeasRequest) Reset() { *m = GenerateKeywordIdeasRequest{} } +func (m *GenerateKeywordIdeasRequest) String() string { return proto.CompactTextString(m) } +func (*GenerateKeywordIdeasRequest) ProtoMessage() {} +func (*GenerateKeywordIdeasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_service_8eed2c943de898df, []int{0} +} +func (m *GenerateKeywordIdeasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateKeywordIdeasRequest.Unmarshal(m, b) +} +func (m *GenerateKeywordIdeasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateKeywordIdeasRequest.Marshal(b, m, deterministic) +} +func (dst *GenerateKeywordIdeasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateKeywordIdeasRequest.Merge(dst, src) +} +func (m *GenerateKeywordIdeasRequest) XXX_Size() int { + return xxx_messageInfo_GenerateKeywordIdeasRequest.Size(m) +} +func (m *GenerateKeywordIdeasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateKeywordIdeasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateKeywordIdeasRequest proto.InternalMessageInfo + +func (m *GenerateKeywordIdeasRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *GenerateKeywordIdeasRequest) GetLanguage() *wrappers.StringValue { + if m != nil { + return m.Language + } + return nil +} + +func (m *GenerateKeywordIdeasRequest) GetGeoTargetConstants() []*wrappers.StringValue { + if m != nil { + return m.GeoTargetConstants + } + return nil +} + +func (m *GenerateKeywordIdeasRequest) GetKeywordPlanNetwork() enums.KeywordPlanNetworkEnum_KeywordPlanNetwork { + if m != nil { + return m.KeywordPlanNetwork + } + return enums.KeywordPlanNetworkEnum_UNSPECIFIED +} + +type isGenerateKeywordIdeasRequest_Seed interface { + isGenerateKeywordIdeasRequest_Seed() +} + +type GenerateKeywordIdeasRequest_KeywordAndUrlSeed struct { + KeywordAndUrlSeed *KeywordAndUrlSeed `protobuf:"bytes,2,opt,name=keyword_and_url_seed,json=keywordAndUrlSeed,proto3,oneof"` +} + +type GenerateKeywordIdeasRequest_KeywordSeed struct { + KeywordSeed *KeywordSeed `protobuf:"bytes,3,opt,name=keyword_seed,json=keywordSeed,proto3,oneof"` +} + +type GenerateKeywordIdeasRequest_UrlSeed struct { + UrlSeed *UrlSeed `protobuf:"bytes,5,opt,name=url_seed,json=urlSeed,proto3,oneof"` +} + +func (*GenerateKeywordIdeasRequest_KeywordAndUrlSeed) isGenerateKeywordIdeasRequest_Seed() {} + +func (*GenerateKeywordIdeasRequest_KeywordSeed) isGenerateKeywordIdeasRequest_Seed() {} + +func (*GenerateKeywordIdeasRequest_UrlSeed) isGenerateKeywordIdeasRequest_Seed() {} + +func (m *GenerateKeywordIdeasRequest) GetSeed() isGenerateKeywordIdeasRequest_Seed { + if m != nil { + return m.Seed + } + return nil +} + +func (m *GenerateKeywordIdeasRequest) GetKeywordAndUrlSeed() *KeywordAndUrlSeed { + if x, ok := m.GetSeed().(*GenerateKeywordIdeasRequest_KeywordAndUrlSeed); ok { + return x.KeywordAndUrlSeed + } + return nil +} + +func (m *GenerateKeywordIdeasRequest) GetKeywordSeed() *KeywordSeed { + if x, ok := m.GetSeed().(*GenerateKeywordIdeasRequest_KeywordSeed); ok { + return x.KeywordSeed + } + return nil +} + +func (m *GenerateKeywordIdeasRequest) GetUrlSeed() *UrlSeed { + if x, ok := m.GetSeed().(*GenerateKeywordIdeasRequest_UrlSeed); ok { + return x.UrlSeed + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*GenerateKeywordIdeasRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _GenerateKeywordIdeasRequest_OneofMarshaler, _GenerateKeywordIdeasRequest_OneofUnmarshaler, _GenerateKeywordIdeasRequest_OneofSizer, []interface{}{ + (*GenerateKeywordIdeasRequest_KeywordAndUrlSeed)(nil), + (*GenerateKeywordIdeasRequest_KeywordSeed)(nil), + (*GenerateKeywordIdeasRequest_UrlSeed)(nil), + } +} + +func _GenerateKeywordIdeasRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*GenerateKeywordIdeasRequest) + // seed + switch x := m.Seed.(type) { + case *GenerateKeywordIdeasRequest_KeywordAndUrlSeed: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.KeywordAndUrlSeed); err != nil { + return err + } + case *GenerateKeywordIdeasRequest_KeywordSeed: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.KeywordSeed); err != nil { + return err + } + case *GenerateKeywordIdeasRequest_UrlSeed: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.UrlSeed); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("GenerateKeywordIdeasRequest.Seed has unexpected type %T", x) + } + return nil +} + +func _GenerateKeywordIdeasRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*GenerateKeywordIdeasRequest) + switch tag { + case 2: // seed.keyword_and_url_seed + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(KeywordAndUrlSeed) + err := b.DecodeMessage(msg) + m.Seed = &GenerateKeywordIdeasRequest_KeywordAndUrlSeed{msg} + return true, err + case 3: // seed.keyword_seed + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(KeywordSeed) + err := b.DecodeMessage(msg) + m.Seed = &GenerateKeywordIdeasRequest_KeywordSeed{msg} + return true, err + case 5: // seed.url_seed + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(UrlSeed) + err := b.DecodeMessage(msg) + m.Seed = &GenerateKeywordIdeasRequest_UrlSeed{msg} + return true, err + default: + return false, nil + } +} + +func _GenerateKeywordIdeasRequest_OneofSizer(msg proto.Message) (n int) { + m := msg.(*GenerateKeywordIdeasRequest) + // seed + switch x := m.Seed.(type) { + case *GenerateKeywordIdeasRequest_KeywordAndUrlSeed: + s := proto.Size(x.KeywordAndUrlSeed) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *GenerateKeywordIdeasRequest_KeywordSeed: + s := proto.Size(x.KeywordSeed) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *GenerateKeywordIdeasRequest_UrlSeed: + s := proto.Size(x.UrlSeed) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Keyword And Url Seed +type KeywordAndUrlSeed struct { + // The URL to crawl in order to generate keyword ideas. + Url *wrappers.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Requires at least one keyword. + Keywords []*wrappers.StringValue `protobuf:"bytes,2,rep,name=keywords,proto3" json:"keywords,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordAndUrlSeed) Reset() { *m = KeywordAndUrlSeed{} } +func (m *KeywordAndUrlSeed) String() string { return proto.CompactTextString(m) } +func (*KeywordAndUrlSeed) ProtoMessage() {} +func (*KeywordAndUrlSeed) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_service_8eed2c943de898df, []int{1} +} +func (m *KeywordAndUrlSeed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordAndUrlSeed.Unmarshal(m, b) +} +func (m *KeywordAndUrlSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordAndUrlSeed.Marshal(b, m, deterministic) +} +func (dst *KeywordAndUrlSeed) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordAndUrlSeed.Merge(dst, src) +} +func (m *KeywordAndUrlSeed) XXX_Size() int { + return xxx_messageInfo_KeywordAndUrlSeed.Size(m) +} +func (m *KeywordAndUrlSeed) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordAndUrlSeed.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordAndUrlSeed proto.InternalMessageInfo + +func (m *KeywordAndUrlSeed) GetUrl() *wrappers.StringValue { + if m != nil { + return m.Url + } + return nil +} + +func (m *KeywordAndUrlSeed) GetKeywords() []*wrappers.StringValue { + if m != nil { + return m.Keywords + } + return nil +} + +// Keyword Seed +type KeywordSeed struct { + // Requires at least one keyword. + Keywords []*wrappers.StringValue `protobuf:"bytes,1,rep,name=keywords,proto3" json:"keywords,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordSeed) Reset() { *m = KeywordSeed{} } +func (m *KeywordSeed) String() string { return proto.CompactTextString(m) } +func (*KeywordSeed) ProtoMessage() {} +func (*KeywordSeed) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_service_8eed2c943de898df, []int{2} +} +func (m *KeywordSeed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordSeed.Unmarshal(m, b) +} +func (m *KeywordSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordSeed.Marshal(b, m, deterministic) +} +func (dst *KeywordSeed) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordSeed.Merge(dst, src) +} +func (m *KeywordSeed) XXX_Size() int { + return xxx_messageInfo_KeywordSeed.Size(m) +} +func (m *KeywordSeed) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordSeed.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordSeed proto.InternalMessageInfo + +func (m *KeywordSeed) GetKeywords() []*wrappers.StringValue { + if m != nil { + return m.Keywords + } + return nil +} + +// Url Seed +type UrlSeed struct { + // The URL to crawl in order to generate keyword ideas. + Url *wrappers.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UrlSeed) Reset() { *m = UrlSeed{} } +func (m *UrlSeed) String() string { return proto.CompactTextString(m) } +func (*UrlSeed) ProtoMessage() {} +func (*UrlSeed) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_service_8eed2c943de898df, []int{3} +} +func (m *UrlSeed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UrlSeed.Unmarshal(m, b) +} +func (m *UrlSeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UrlSeed.Marshal(b, m, deterministic) +} +func (dst *UrlSeed) XXX_Merge(src proto.Message) { + xxx_messageInfo_UrlSeed.Merge(dst, src) +} +func (m *UrlSeed) XXX_Size() int { + return xxx_messageInfo_UrlSeed.Size(m) +} +func (m *UrlSeed) XXX_DiscardUnknown() { + xxx_messageInfo_UrlSeed.DiscardUnknown(m) +} + +var xxx_messageInfo_UrlSeed proto.InternalMessageInfo + +func (m *UrlSeed) GetUrl() *wrappers.StringValue { + if m != nil { + return m.Url + } + return nil +} + +// Response message for [KeywordIdeaService.GenerateKeywordIdeas][]. +type GenerateKeywordIdeaResponse struct { + // Results of generating keyword ideas. + Results []*GenerateKeywordIdeaResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateKeywordIdeaResponse) Reset() { *m = GenerateKeywordIdeaResponse{} } +func (m *GenerateKeywordIdeaResponse) String() string { return proto.CompactTextString(m) } +func (*GenerateKeywordIdeaResponse) ProtoMessage() {} +func (*GenerateKeywordIdeaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_service_8eed2c943de898df, []int{4} +} +func (m *GenerateKeywordIdeaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateKeywordIdeaResponse.Unmarshal(m, b) +} +func (m *GenerateKeywordIdeaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateKeywordIdeaResponse.Marshal(b, m, deterministic) +} +func (dst *GenerateKeywordIdeaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateKeywordIdeaResponse.Merge(dst, src) +} +func (m *GenerateKeywordIdeaResponse) XXX_Size() int { + return xxx_messageInfo_GenerateKeywordIdeaResponse.Size(m) +} +func (m *GenerateKeywordIdeaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateKeywordIdeaResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateKeywordIdeaResponse proto.InternalMessageInfo + +func (m *GenerateKeywordIdeaResponse) GetResults() []*GenerateKeywordIdeaResult { + if m != nil { + return m.Results + } + return nil +} + +// The result of generating keyword ideas. +type GenerateKeywordIdeaResult struct { + // Text of the keyword idea. + // As in Keyword Plan historical metrics, this text may not be an actual + // keyword, but the canonical form of multiple keywords. + // See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. + Text *wrappers.StringValue `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + // The historical metrics for the keyword + KeywordIdeaMetrics *common.KeywordPlanHistoricalMetrics `protobuf:"bytes,3,opt,name=keyword_idea_metrics,json=keywordIdeaMetrics,proto3" json:"keyword_idea_metrics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateKeywordIdeaResult) Reset() { *m = GenerateKeywordIdeaResult{} } +func (m *GenerateKeywordIdeaResult) String() string { return proto.CompactTextString(m) } +func (*GenerateKeywordIdeaResult) ProtoMessage() {} +func (*GenerateKeywordIdeaResult) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_idea_service_8eed2c943de898df, []int{5} +} +func (m *GenerateKeywordIdeaResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateKeywordIdeaResult.Unmarshal(m, b) +} +func (m *GenerateKeywordIdeaResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateKeywordIdeaResult.Marshal(b, m, deterministic) +} +func (dst *GenerateKeywordIdeaResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateKeywordIdeaResult.Merge(dst, src) +} +func (m *GenerateKeywordIdeaResult) XXX_Size() int { + return xxx_messageInfo_GenerateKeywordIdeaResult.Size(m) +} +func (m *GenerateKeywordIdeaResult) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateKeywordIdeaResult.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateKeywordIdeaResult proto.InternalMessageInfo + +func (m *GenerateKeywordIdeaResult) GetText() *wrappers.StringValue { + if m != nil { + return m.Text + } + return nil +} + +func (m *GenerateKeywordIdeaResult) GetKeywordIdeaMetrics() *common.KeywordPlanHistoricalMetrics { + if m != nil { + return m.KeywordIdeaMetrics + } + return nil +} + +func init() { + proto.RegisterType((*GenerateKeywordIdeasRequest)(nil), "google.ads.googleads.v0.services.GenerateKeywordIdeasRequest") + proto.RegisterType((*KeywordAndUrlSeed)(nil), "google.ads.googleads.v0.services.KeywordAndUrlSeed") + proto.RegisterType((*KeywordSeed)(nil), "google.ads.googleads.v0.services.KeywordSeed") + proto.RegisterType((*UrlSeed)(nil), "google.ads.googleads.v0.services.UrlSeed") + proto.RegisterType((*GenerateKeywordIdeaResponse)(nil), "google.ads.googleads.v0.services.GenerateKeywordIdeaResponse") + proto.RegisterType((*GenerateKeywordIdeaResult)(nil), "google.ads.googleads.v0.services.GenerateKeywordIdeaResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordPlanIdeaServiceClient is the client API for KeywordPlanIdeaService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordPlanIdeaServiceClient interface { + // Returns a list of keyword ideas. + GenerateKeywordIdeas(ctx context.Context, in *GenerateKeywordIdeasRequest, opts ...grpc.CallOption) (*GenerateKeywordIdeaResponse, error) +} + +type keywordPlanIdeaServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordPlanIdeaServiceClient(cc *grpc.ClientConn) KeywordPlanIdeaServiceClient { + return &keywordPlanIdeaServiceClient{cc} +} + +func (c *keywordPlanIdeaServiceClient) GenerateKeywordIdeas(ctx context.Context, in *GenerateKeywordIdeasRequest, opts ...grpc.CallOption) (*GenerateKeywordIdeaResponse, error) { + out := new(GenerateKeywordIdeaResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanIdeaService/GenerateKeywordIdeas", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordPlanIdeaServiceServer is the server API for KeywordPlanIdeaService service. +type KeywordPlanIdeaServiceServer interface { + // Returns a list of keyword ideas. + GenerateKeywordIdeas(context.Context, *GenerateKeywordIdeasRequest) (*GenerateKeywordIdeaResponse, error) +} + +func RegisterKeywordPlanIdeaServiceServer(s *grpc.Server, srv KeywordPlanIdeaServiceServer) { + s.RegisterService(&_KeywordPlanIdeaService_serviceDesc, srv) +} + +func _KeywordPlanIdeaService_GenerateKeywordIdeas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateKeywordIdeasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanIdeaServiceServer).GenerateKeywordIdeas(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanIdeaService/GenerateKeywordIdeas", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanIdeaServiceServer).GenerateKeywordIdeas(ctx, req.(*GenerateKeywordIdeasRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordPlanIdeaService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordPlanIdeaService", + HandlerType: (*KeywordPlanIdeaServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GenerateKeywordIdeas", + Handler: _KeywordPlanIdeaService_GenerateKeywordIdeas_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_plan_idea_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_idea_service.proto", fileDescriptor_keyword_plan_idea_service_8eed2c943de898df) +} + +var fileDescriptor_keyword_plan_idea_service_8eed2c943de898df = []byte{ + // 706 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdf, 0x4e, 0x13, 0x4d, + 0x14, 0xff, 0xb6, 0xe5, 0xa3, 0x30, 0xfd, 0xf2, 0x25, 0x4c, 0x88, 0xa9, 0x40, 0xb4, 0x69, 0xbc, + 0x40, 0x12, 0x67, 0x9b, 0x72, 0x21, 0x82, 0x4d, 0x2c, 0x46, 0x5b, 0x62, 0x24, 0x64, 0x11, 0x2e, + 0x4c, 0x93, 0xcd, 0xd0, 0x3d, 0x6c, 0x36, 0xdd, 0xce, 0xd4, 0x99, 0x59, 0xf0, 0x4f, 0xb8, 0xf1, + 0x15, 0x7c, 0x03, 0x2f, 0x7d, 0x07, 0x5f, 0xc0, 0x2b, 0x13, 0x2e, 0xbd, 0xf5, 0xda, 0x67, 0x30, + 0x3b, 0x3b, 0xd3, 0x16, 0x68, 0x2d, 0x72, 0x77, 0xf6, 0xfc, 0xf9, 0x9d, 0xdf, 0xf9, 0x33, 0x67, + 0xd1, 0x93, 0x90, 0xf3, 0x30, 0x06, 0x97, 0x06, 0xd2, 0xcd, 0xc4, 0x54, 0x3a, 0xa9, 0xba, 0x12, + 0xc4, 0x49, 0xd4, 0x01, 0xe9, 0x76, 0xe1, 0xdd, 0x29, 0x17, 0x81, 0xdf, 0x8f, 0x29, 0xf3, 0xa3, + 0x00, 0xa8, 0x6f, 0x4c, 0xa4, 0x2f, 0xb8, 0xe2, 0xb8, 0x9c, 0x85, 0x11, 0x1a, 0x48, 0x32, 0x40, + 0x20, 0x27, 0x55, 0x62, 0x11, 0x96, 0x36, 0x26, 0xe5, 0xe8, 0xf0, 0x5e, 0x8f, 0xb3, 0x8b, 0x19, + 0x32, 0x5d, 0x86, 0x3d, 0x39, 0x12, 0x58, 0xd2, 0xbb, 0x44, 0x8d, 0x81, 0x3a, 0xe5, 0xa2, 0x6b, + 0x22, 0x57, 0x6c, 0x64, 0x3f, 0x72, 0x29, 0x63, 0x5c, 0x51, 0x15, 0x71, 0x26, 0x8d, 0xf5, 0x8e, + 0xb1, 0xea, 0xaf, 0xa3, 0xe4, 0xd8, 0x3d, 0x15, 0xb4, 0xdf, 0x07, 0x61, 0xec, 0x95, 0xef, 0x33, + 0x68, 0xb9, 0x09, 0x0c, 0x04, 0x55, 0xf0, 0x22, 0x4b, 0xb2, 0x13, 0x00, 0x95, 0x1e, 0xbc, 0x49, + 0x40, 0x2a, 0x7c, 0x17, 0x15, 0x3b, 0x89, 0x54, 0xbc, 0x07, 0xc2, 0x8f, 0x82, 0x92, 0x53, 0x76, + 0x56, 0xe7, 0x3d, 0x64, 0x55, 0x3b, 0x01, 0xde, 0x40, 0x73, 0x31, 0x65, 0x61, 0x42, 0x43, 0x28, + 0x15, 0xca, 0xce, 0x6a, 0xb1, 0xb6, 0x62, 0x9a, 0x43, 0x6c, 0x4e, 0xb2, 0xaf, 0x44, 0xc4, 0xc2, + 0x43, 0x1a, 0x27, 0xe0, 0x0d, 0xbc, 0xf1, 0x2e, 0x5a, 0x0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xfd, 0x99, 0xf4, 0x23, 0x39, 0xf9, 0xcf, 0xb7, 0x65, 0x85, 0xcf, 0xb9, 0x7c, 0xb3, + 0xd1, 0xf8, 0x92, 0x2b, 0x37, 0x33, 0xc0, 0x46, 0x20, 0x49, 0x26, 0xa6, 0xd2, 0x61, 0x95, 0x98, + 0xc4, 0xf2, 0x9b, 0x75, 0x69, 0x37, 0x02, 0xd9, 0x1e, 0xb8, 0xb4, 0x0f, 0xab, 0x6d, 0xeb, 0x72, + 0x34, 0xab, 0x09, 0xac, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xdd, 0x93, 0x1f, 0x79, 0x07, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_keyword_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_keyword_service.pb.go new file mode 100644 index 000000000..1cc083f47 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_keyword_service.pb.go @@ -0,0 +1,548 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_plan_keyword_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [KeywordPlanKeywordService.GetKeywordPlanKeyword][google.ads.googleads.v0.services.KeywordPlanKeywordService.GetKeywordPlanKeyword]. +type GetKeywordPlanKeywordRequest struct { + // The resource name of the ad group keyword to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetKeywordPlanKeywordRequest) Reset() { *m = GetKeywordPlanKeywordRequest{} } +func (m *GetKeywordPlanKeywordRequest) String() string { return proto.CompactTextString(m) } +func (*GetKeywordPlanKeywordRequest) ProtoMessage() {} +func (*GetKeywordPlanKeywordRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576, []int{0} +} +func (m *GetKeywordPlanKeywordRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetKeywordPlanKeywordRequest.Unmarshal(m, b) +} +func (m *GetKeywordPlanKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetKeywordPlanKeywordRequest.Marshal(b, m, deterministic) +} +func (dst *GetKeywordPlanKeywordRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeywordPlanKeywordRequest.Merge(dst, src) +} +func (m *GetKeywordPlanKeywordRequest) XXX_Size() int { + return xxx_messageInfo_GetKeywordPlanKeywordRequest.Size(m) +} +func (m *GetKeywordPlanKeywordRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetKeywordPlanKeywordRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetKeywordPlanKeywordRequest proto.InternalMessageInfo + +func (m *GetKeywordPlanKeywordRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [KeywordPlanKeywordService.MutateKeywordPlanKeywords][google.ads.googleads.v0.services.KeywordPlanKeywordService.MutateKeywordPlanKeywords]. +type MutateKeywordPlanKeywordsRequest struct { + // The ID of the customer whose Keyword Plan keywords are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual Keyword Plan keywords. + Operations []*KeywordPlanKeywordOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanKeywordsRequest) Reset() { *m = MutateKeywordPlanKeywordsRequest{} } +func (m *MutateKeywordPlanKeywordsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanKeywordsRequest) ProtoMessage() {} +func (*MutateKeywordPlanKeywordsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576, []int{1} +} +func (m *MutateKeywordPlanKeywordsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanKeywordsRequest.Unmarshal(m, b) +} +func (m *MutateKeywordPlanKeywordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanKeywordsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanKeywordsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanKeywordsRequest.Merge(dst, src) +} +func (m *MutateKeywordPlanKeywordsRequest) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanKeywordsRequest.Size(m) +} +func (m *MutateKeywordPlanKeywordsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanKeywordsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanKeywordsRequest proto.InternalMessageInfo + +func (m *MutateKeywordPlanKeywordsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateKeywordPlanKeywordsRequest) GetOperations() []*KeywordPlanKeywordOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a Keyword Plan keyword. +type KeywordPlanKeywordOperation struct { + // The FieldMask that determines which resource fields are modified in an + // update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *KeywordPlanKeywordOperation_Create + // *KeywordPlanKeywordOperation_Update + // *KeywordPlanKeywordOperation_Remove + Operation isKeywordPlanKeywordOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanKeywordOperation) Reset() { *m = KeywordPlanKeywordOperation{} } +func (m *KeywordPlanKeywordOperation) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanKeywordOperation) ProtoMessage() {} +func (*KeywordPlanKeywordOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576, []int{2} +} +func (m *KeywordPlanKeywordOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanKeywordOperation.Unmarshal(m, b) +} +func (m *KeywordPlanKeywordOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanKeywordOperation.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanKeywordOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanKeywordOperation.Merge(dst, src) +} +func (m *KeywordPlanKeywordOperation) XXX_Size() int { + return xxx_messageInfo_KeywordPlanKeywordOperation.Size(m) +} +func (m *KeywordPlanKeywordOperation) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanKeywordOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanKeywordOperation proto.InternalMessageInfo + +func (m *KeywordPlanKeywordOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isKeywordPlanKeywordOperation_Operation interface { + isKeywordPlanKeywordOperation_Operation() +} + +type KeywordPlanKeywordOperation_Create struct { + Create *resources.KeywordPlanKeyword `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type KeywordPlanKeywordOperation_Update struct { + Update *resources.KeywordPlanKeyword `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type KeywordPlanKeywordOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*KeywordPlanKeywordOperation_Create) isKeywordPlanKeywordOperation_Operation() {} + +func (*KeywordPlanKeywordOperation_Update) isKeywordPlanKeywordOperation_Operation() {} + +func (*KeywordPlanKeywordOperation_Remove) isKeywordPlanKeywordOperation_Operation() {} + +func (m *KeywordPlanKeywordOperation) GetOperation() isKeywordPlanKeywordOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *KeywordPlanKeywordOperation) GetCreate() *resources.KeywordPlanKeyword { + if x, ok := m.GetOperation().(*KeywordPlanKeywordOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *KeywordPlanKeywordOperation) GetUpdate() *resources.KeywordPlanKeyword { + if x, ok := m.GetOperation().(*KeywordPlanKeywordOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *KeywordPlanKeywordOperation) GetRemove() string { + if x, ok := m.GetOperation().(*KeywordPlanKeywordOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*KeywordPlanKeywordOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _KeywordPlanKeywordOperation_OneofMarshaler, _KeywordPlanKeywordOperation_OneofUnmarshaler, _KeywordPlanKeywordOperation_OneofSizer, []interface{}{ + (*KeywordPlanKeywordOperation_Create)(nil), + (*KeywordPlanKeywordOperation_Update)(nil), + (*KeywordPlanKeywordOperation_Remove)(nil), + } +} + +func _KeywordPlanKeywordOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*KeywordPlanKeywordOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanKeywordOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *KeywordPlanKeywordOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *KeywordPlanKeywordOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("KeywordPlanKeywordOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _KeywordPlanKeywordOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*KeywordPlanKeywordOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanKeyword) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanKeywordOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanKeyword) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanKeywordOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &KeywordPlanKeywordOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _KeywordPlanKeywordOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*KeywordPlanKeywordOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanKeywordOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanKeywordOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanKeywordOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a Keyword Plan keyword mutate. +type MutateKeywordPlanKeywordsResponse struct { + // All results for the mutate. + Results []*MutateKeywordPlanKeywordResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanKeywordsResponse) Reset() { *m = MutateKeywordPlanKeywordsResponse{} } +func (m *MutateKeywordPlanKeywordsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanKeywordsResponse) ProtoMessage() {} +func (*MutateKeywordPlanKeywordsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576, []int{3} +} +func (m *MutateKeywordPlanKeywordsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanKeywordsResponse.Unmarshal(m, b) +} +func (m *MutateKeywordPlanKeywordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanKeywordsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanKeywordsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanKeywordsResponse.Merge(dst, src) +} +func (m *MutateKeywordPlanKeywordsResponse) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanKeywordsResponse.Size(m) +} +func (m *MutateKeywordPlanKeywordsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanKeywordsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanKeywordsResponse proto.InternalMessageInfo + +func (m *MutateKeywordPlanKeywordsResponse) GetResults() []*MutateKeywordPlanKeywordResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the Keyword Plan keyword mutate. +type MutateKeywordPlanKeywordResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanKeywordResult) Reset() { *m = MutateKeywordPlanKeywordResult{} } +func (m *MutateKeywordPlanKeywordResult) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanKeywordResult) ProtoMessage() {} +func (*MutateKeywordPlanKeywordResult) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576, []int{4} +} +func (m *MutateKeywordPlanKeywordResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanKeywordResult.Unmarshal(m, b) +} +func (m *MutateKeywordPlanKeywordResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanKeywordResult.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanKeywordResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanKeywordResult.Merge(dst, src) +} +func (m *MutateKeywordPlanKeywordResult) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanKeywordResult.Size(m) +} +func (m *MutateKeywordPlanKeywordResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanKeywordResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanKeywordResult proto.InternalMessageInfo + +func (m *MutateKeywordPlanKeywordResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetKeywordPlanKeywordRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanKeywordRequest") + proto.RegisterType((*MutateKeywordPlanKeywordsRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanKeywordsRequest") + proto.RegisterType((*KeywordPlanKeywordOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanKeywordOperation") + proto.RegisterType((*MutateKeywordPlanKeywordsResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanKeywordsResponse") + proto.RegisterType((*MutateKeywordPlanKeywordResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanKeywordResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordPlanKeywordServiceClient is the client API for KeywordPlanKeywordService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordPlanKeywordServiceClient interface { + // Returns the requested Keyword Plan keyword in full detail. + GetKeywordPlanKeyword(ctx context.Context, in *GetKeywordPlanKeywordRequest, opts ...grpc.CallOption) (*resources.KeywordPlanKeyword, error) + // Creates, updates, or removes Keyword Plan keywords. Operation statuses are + // returned. + MutateKeywordPlanKeywords(ctx context.Context, in *MutateKeywordPlanKeywordsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanKeywordsResponse, error) +} + +type keywordPlanKeywordServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordPlanKeywordServiceClient(cc *grpc.ClientConn) KeywordPlanKeywordServiceClient { + return &keywordPlanKeywordServiceClient{cc} +} + +func (c *keywordPlanKeywordServiceClient) GetKeywordPlanKeyword(ctx context.Context, in *GetKeywordPlanKeywordRequest, opts ...grpc.CallOption) (*resources.KeywordPlanKeyword, error) { + out := new(resources.KeywordPlanKeyword) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanKeywordService/GetKeywordPlanKeyword", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanKeywordServiceClient) MutateKeywordPlanKeywords(ctx context.Context, in *MutateKeywordPlanKeywordsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanKeywordsResponse, error) { + out := new(MutateKeywordPlanKeywordsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanKeywordService/MutateKeywordPlanKeywords", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordPlanKeywordServiceServer is the server API for KeywordPlanKeywordService service. +type KeywordPlanKeywordServiceServer interface { + // Returns the requested Keyword Plan keyword in full detail. + GetKeywordPlanKeyword(context.Context, *GetKeywordPlanKeywordRequest) (*resources.KeywordPlanKeyword, error) + // Creates, updates, or removes Keyword Plan keywords. Operation statuses are + // returned. + MutateKeywordPlanKeywords(context.Context, *MutateKeywordPlanKeywordsRequest) (*MutateKeywordPlanKeywordsResponse, error) +} + +func RegisterKeywordPlanKeywordServiceServer(s *grpc.Server, srv KeywordPlanKeywordServiceServer) { + s.RegisterService(&_KeywordPlanKeywordService_serviceDesc, srv) +} + +func _KeywordPlanKeywordService_GetKeywordPlanKeyword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeywordPlanKeywordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanKeywordServiceServer).GetKeywordPlanKeyword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanKeywordService/GetKeywordPlanKeyword", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanKeywordServiceServer).GetKeywordPlanKeyword(ctx, req.(*GetKeywordPlanKeywordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanKeywordService_MutateKeywordPlanKeywords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateKeywordPlanKeywordsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanKeywordServiceServer).MutateKeywordPlanKeywords(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanKeywordService/MutateKeywordPlanKeywords", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanKeywordServiceServer).MutateKeywordPlanKeywords(ctx, req.(*MutateKeywordPlanKeywordsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordPlanKeywordService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordPlanKeywordService", + HandlerType: (*KeywordPlanKeywordServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetKeywordPlanKeyword", + Handler: _KeywordPlanKeywordService_GetKeywordPlanKeyword_Handler, + }, + { + MethodName: "MutateKeywordPlanKeywords", + Handler: _KeywordPlanKeywordService_MutateKeywordPlanKeywords_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_plan_keyword_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_keyword_service.proto", fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576) +} + +var fileDescriptor_keyword_plan_keyword_service_2596e4a4df5e4576 = []byte{ + // 604 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x8b, 0xd3, 0x4e, + 0x18, 0xc7, 0x7f, 0x49, 0x7f, 0x54, 0x76, 0xa2, 0x97, 0x01, 0x21, 0x5b, 0x97, 0x35, 0x46, 0x0f, + 0xa5, 0x87, 0x49, 0xa9, 0x2c, 0xca, 0xae, 0x15, 0xdb, 0xa2, 0x5d, 0x91, 0x75, 0x4b, 0x84, 0x3d, + 0x2c, 0x95, 0x32, 0xdb, 0xcc, 0x86, 0xd0, 0x24, 0x13, 0x67, 0x26, 0x15, 0x59, 0x16, 0xc1, 0xb7, + 0xe0, 0x3b, 0x58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 0xa7, 0x93, 0xdd, 0xfe, 0xf0, 0xed, 0xe7, 0x47, 0xfd, 0x01, 0xdc, 0xc9, 0x06, 0xff, 0xec, + 0xaf, 0xf2, 0xda, 0x6a, 0x44, 0xb8, 0xd3, 0x50, 0x2f, 0xc1, 0xbc, 0x2a, 0x4e, 0xe3, 0x1c, 0xfe, + 0xd2, 0xc0, 0x66, 0xa9, 0x6c, 0xb0, 0x7b, 0x79, 0x75, 0xd4, 0xf4, 0xd6, 0x7a, 0x57, 0x62, 0xc8, + 0x7b, 0x63, 0xf7, 0xf2, 0x2a, 0xdb, 0xf6, 0xc3, 0xac, 0xca, 0x3f, 0x65, 0x9d, 0xcd, 0xbd, 0x0b, + 0xed, 0xc6, 0xf9, 0xb2, 0x22, 0x77, 0xa3, 0x1c, 0xbe, 0xab, 0x35, 0xba, 0x3f, 0x34, 0x70, 0x6f, + 0x4c, 0xa3, 0xb5, 0xf9, 0x74, 0xb7, 0x4b, 0xf5, 0x1f, 0x64, 0xc3, 0x3c, 0xd0, 0x8e, 0xf7, 0x0b, + 0x86, 0x4f, 0x43, 0x1c, 0xfb, 0x88, 0x32, 0xdf, 0xf1, 0x49, 0x9c, 0x8f, 0xba, 0x7a, 0x8a, 0x93, + 0x80, 0x97, 0xff, 0x00, 0xf6, 0x94, 0x71, 0xa1, 0x57, 0xfa, 0x9d, 0xce, 0x67, 0xdd, 0xea, 0x4b, + 0x60, 0xc7, 0xe3, 0x48, 0x9a, 0x99, 0x75, 0xd4, 0x44, 0x45, 0x60, 0xfe, 0x45, 0xb9, 0x0c, 0x3b, + 0x1e, 0x1f, 0xce, 0x5c, 0x86, 0x47, 0xcd, 0xa1, 0x72, 0x39, 0xa9, 0xe6, 0x09, 0xdc, 0xff, 0x1d, + 0x00, 0x00, 0xff, 0xff, 0xe6, 0xd2, 0x07, 0xc4, 0x80, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_negative_keyword_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_negative_keyword_service.pb.go new file mode 100644 index 000000000..827ba33e1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_negative_keyword_service.pb.go @@ -0,0 +1,559 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_plan_negative_keyword_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for +// [KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword][google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword]. +type GetKeywordPlanNegativeKeywordRequest struct { + // The resource name of the plan to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetKeywordPlanNegativeKeywordRequest) Reset() { *m = GetKeywordPlanNegativeKeywordRequest{} } +func (m *GetKeywordPlanNegativeKeywordRequest) String() string { return proto.CompactTextString(m) } +func (*GetKeywordPlanNegativeKeywordRequest) ProtoMessage() {} +func (*GetKeywordPlanNegativeKeywordRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2, []int{0} +} +func (m *GetKeywordPlanNegativeKeywordRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Unmarshal(m, b) +} +func (m *GetKeywordPlanNegativeKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Marshal(b, m, deterministic) +} +func (dst *GetKeywordPlanNegativeKeywordRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Merge(dst, src) +} +func (m *GetKeywordPlanNegativeKeywordRequest) XXX_Size() int { + return xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Size(m) +} +func (m *GetKeywordPlanNegativeKeywordRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest proto.InternalMessageInfo + +func (m *GetKeywordPlanNegativeKeywordRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for +// [KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords][google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords]. +type MutateKeywordPlanNegativeKeywordsRequest struct { + // The ID of the customer whose negative keywords are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual Keyword Plan negative + // keywords. + Operations []*KeywordPlanNegativeKeywordOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanNegativeKeywordsRequest) Reset() { + *m = MutateKeywordPlanNegativeKeywordsRequest{} +} +func (m *MutateKeywordPlanNegativeKeywordsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanNegativeKeywordsRequest) ProtoMessage() {} +func (*MutateKeywordPlanNegativeKeywordsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2, []int{1} +} +func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Unmarshal(m, b) +} +func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanNegativeKeywordsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Merge(dst, src) +} +func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Size(m) +} +func (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest proto.InternalMessageInfo + +func (m *MutateKeywordPlanNegativeKeywordsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateKeywordPlanNegativeKeywordsRequest) GetOperations() []*KeywordPlanNegativeKeywordOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a Keyword Plan negative +// keyword. +type KeywordPlanNegativeKeywordOperation struct { + // The FieldMask that determines which resource fields are modified in an + // update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *KeywordPlanNegativeKeywordOperation_Create + // *KeywordPlanNegativeKeywordOperation_Update + // *KeywordPlanNegativeKeywordOperation_Remove + Operation isKeywordPlanNegativeKeywordOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanNegativeKeywordOperation) Reset() { *m = KeywordPlanNegativeKeywordOperation{} } +func (m *KeywordPlanNegativeKeywordOperation) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanNegativeKeywordOperation) ProtoMessage() {} +func (*KeywordPlanNegativeKeywordOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2, []int{2} +} +func (m *KeywordPlanNegativeKeywordOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Unmarshal(m, b) +} +func (m *KeywordPlanNegativeKeywordOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanNegativeKeywordOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Merge(dst, src) +} +func (m *KeywordPlanNegativeKeywordOperation) XXX_Size() int { + return xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Size(m) +} +func (m *KeywordPlanNegativeKeywordOperation) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanNegativeKeywordOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanNegativeKeywordOperation proto.InternalMessageInfo + +func (m *KeywordPlanNegativeKeywordOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isKeywordPlanNegativeKeywordOperation_Operation interface { + isKeywordPlanNegativeKeywordOperation_Operation() +} + +type KeywordPlanNegativeKeywordOperation_Create struct { + Create *resources.KeywordPlanNegativeKeyword `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type KeywordPlanNegativeKeywordOperation_Update struct { + Update *resources.KeywordPlanNegativeKeyword `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type KeywordPlanNegativeKeywordOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*KeywordPlanNegativeKeywordOperation_Create) isKeywordPlanNegativeKeywordOperation_Operation() {} + +func (*KeywordPlanNegativeKeywordOperation_Update) isKeywordPlanNegativeKeywordOperation_Operation() {} + +func (*KeywordPlanNegativeKeywordOperation_Remove) isKeywordPlanNegativeKeywordOperation_Operation() {} + +func (m *KeywordPlanNegativeKeywordOperation) GetOperation() isKeywordPlanNegativeKeywordOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *KeywordPlanNegativeKeywordOperation) GetCreate() *resources.KeywordPlanNegativeKeyword { + if x, ok := m.GetOperation().(*KeywordPlanNegativeKeywordOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *KeywordPlanNegativeKeywordOperation) GetUpdate() *resources.KeywordPlanNegativeKeyword { + if x, ok := m.GetOperation().(*KeywordPlanNegativeKeywordOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *KeywordPlanNegativeKeywordOperation) GetRemove() string { + if x, ok := m.GetOperation().(*KeywordPlanNegativeKeywordOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*KeywordPlanNegativeKeywordOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _KeywordPlanNegativeKeywordOperation_OneofMarshaler, _KeywordPlanNegativeKeywordOperation_OneofUnmarshaler, _KeywordPlanNegativeKeywordOperation_OneofSizer, []interface{}{ + (*KeywordPlanNegativeKeywordOperation_Create)(nil), + (*KeywordPlanNegativeKeywordOperation_Update)(nil), + (*KeywordPlanNegativeKeywordOperation_Remove)(nil), + } +} + +func _KeywordPlanNegativeKeywordOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*KeywordPlanNegativeKeywordOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanNegativeKeywordOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *KeywordPlanNegativeKeywordOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *KeywordPlanNegativeKeywordOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("KeywordPlanNegativeKeywordOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _KeywordPlanNegativeKeywordOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*KeywordPlanNegativeKeywordOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanNegativeKeyword) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanNegativeKeywordOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlanNegativeKeyword) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanNegativeKeywordOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &KeywordPlanNegativeKeywordOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _KeywordPlanNegativeKeywordOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*KeywordPlanNegativeKeywordOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanNegativeKeywordOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanNegativeKeywordOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanNegativeKeywordOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a Keyword Plan negative keyword mutate. +type MutateKeywordPlanNegativeKeywordsResponse struct { + // All results for the mutate. + Results []*MutateKeywordPlanNegativeKeywordResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanNegativeKeywordsResponse) Reset() { + *m = MutateKeywordPlanNegativeKeywordsResponse{} +} +func (m *MutateKeywordPlanNegativeKeywordsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanNegativeKeywordsResponse) ProtoMessage() {} +func (*MutateKeywordPlanNegativeKeywordsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2, []int{3} +} +func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Unmarshal(m, b) +} +func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanNegativeKeywordsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Merge(dst, src) +} +func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Size(m) +} +func (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse proto.InternalMessageInfo + +func (m *MutateKeywordPlanNegativeKeywordsResponse) GetResults() []*MutateKeywordPlanNegativeKeywordResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the Keyword Plan negative keyword mutate. +type MutateKeywordPlanNegativeKeywordResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlanNegativeKeywordResult) Reset() { + *m = MutateKeywordPlanNegativeKeywordResult{} +} +func (m *MutateKeywordPlanNegativeKeywordResult) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlanNegativeKeywordResult) ProtoMessage() {} +func (*MutateKeywordPlanNegativeKeywordResult) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2, []int{4} +} +func (m *MutateKeywordPlanNegativeKeywordResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Unmarshal(m, b) +} +func (m *MutateKeywordPlanNegativeKeywordResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlanNegativeKeywordResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Merge(dst, src) +} +func (m *MutateKeywordPlanNegativeKeywordResult) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Size(m) +} +func (m *MutateKeywordPlanNegativeKeywordResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult proto.InternalMessageInfo + +func (m *MutateKeywordPlanNegativeKeywordResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetKeywordPlanNegativeKeywordRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanNegativeKeywordRequest") + proto.RegisterType((*MutateKeywordPlanNegativeKeywordsRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanNegativeKeywordsRequest") + proto.RegisterType((*KeywordPlanNegativeKeywordOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanNegativeKeywordOperation") + proto.RegisterType((*MutateKeywordPlanNegativeKeywordsResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanNegativeKeywordsResponse") + proto.RegisterType((*MutateKeywordPlanNegativeKeywordResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlanNegativeKeywordResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordPlanNegativeKeywordServiceClient is the client API for KeywordPlanNegativeKeywordService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordPlanNegativeKeywordServiceClient interface { + // Returns the requested plan in full detail. + GetKeywordPlanNegativeKeyword(ctx context.Context, in *GetKeywordPlanNegativeKeywordRequest, opts ...grpc.CallOption) (*resources.KeywordPlanNegativeKeyword, error) + // Creates, updates, or removes Keyword Plan negative keywords. Operation + // statuses are returned. + MutateKeywordPlanNegativeKeywords(ctx context.Context, in *MutateKeywordPlanNegativeKeywordsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanNegativeKeywordsResponse, error) +} + +type keywordPlanNegativeKeywordServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordPlanNegativeKeywordServiceClient(cc *grpc.ClientConn) KeywordPlanNegativeKeywordServiceClient { + return &keywordPlanNegativeKeywordServiceClient{cc} +} + +func (c *keywordPlanNegativeKeywordServiceClient) GetKeywordPlanNegativeKeyword(ctx context.Context, in *GetKeywordPlanNegativeKeywordRequest, opts ...grpc.CallOption) (*resources.KeywordPlanNegativeKeyword, error) { + out := new(resources.KeywordPlanNegativeKeyword) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/GetKeywordPlanNegativeKeyword", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanNegativeKeywordServiceClient) MutateKeywordPlanNegativeKeywords(ctx context.Context, in *MutateKeywordPlanNegativeKeywordsRequest, opts ...grpc.CallOption) (*MutateKeywordPlanNegativeKeywordsResponse, error) { + out := new(MutateKeywordPlanNegativeKeywordsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/MutateKeywordPlanNegativeKeywords", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordPlanNegativeKeywordServiceServer is the server API for KeywordPlanNegativeKeywordService service. +type KeywordPlanNegativeKeywordServiceServer interface { + // Returns the requested plan in full detail. + GetKeywordPlanNegativeKeyword(context.Context, *GetKeywordPlanNegativeKeywordRequest) (*resources.KeywordPlanNegativeKeyword, error) + // Creates, updates, or removes Keyword Plan negative keywords. Operation + // statuses are returned. + MutateKeywordPlanNegativeKeywords(context.Context, *MutateKeywordPlanNegativeKeywordsRequest) (*MutateKeywordPlanNegativeKeywordsResponse, error) +} + +func RegisterKeywordPlanNegativeKeywordServiceServer(s *grpc.Server, srv KeywordPlanNegativeKeywordServiceServer) { + s.RegisterService(&_KeywordPlanNegativeKeywordService_serviceDesc, srv) +} + +func _KeywordPlanNegativeKeywordService_GetKeywordPlanNegativeKeyword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeywordPlanNegativeKeywordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanNegativeKeywordServiceServer).GetKeywordPlanNegativeKeyword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/GetKeywordPlanNegativeKeyword", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanNegativeKeywordServiceServer).GetKeywordPlanNegativeKeyword(ctx, req.(*GetKeywordPlanNegativeKeywordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanNegativeKeywordService_MutateKeywordPlanNegativeKeywords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateKeywordPlanNegativeKeywordsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanNegativeKeywordServiceServer).MutateKeywordPlanNegativeKeywords(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService/MutateKeywordPlanNegativeKeywords", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanNegativeKeywordServiceServer).MutateKeywordPlanNegativeKeywords(ctx, req.(*MutateKeywordPlanNegativeKeywordsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordPlanNegativeKeywordService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordPlanNegativeKeywordService", + HandlerType: (*KeywordPlanNegativeKeywordServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetKeywordPlanNegativeKeyword", + Handler: _KeywordPlanNegativeKeywordService_GetKeywordPlanNegativeKeyword_Handler, + }, + { + MethodName: "MutateKeywordPlanNegativeKeywords", + Handler: _KeywordPlanNegativeKeywordService_MutateKeywordPlanNegativeKeywords_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_plan_negative_keyword_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_negative_keyword_service.proto", fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2) +} + +var fileDescriptor_keyword_plan_negative_keyword_service_8357f05c658450a2 = []byte{ + // 617 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xc7, 0x7f, 0x76, 0xab, 0xfe, 0xd4, 0x35, 0x5c, 0xf6, 0x64, 0x45, 0x20, 0x52, 0xb7, 0xaa, + 0x42, 0x0e, 0x76, 0x14, 0x6e, 0xad, 0x22, 0x48, 0xa4, 0x34, 0x81, 0x90, 0x12, 0x19, 0xa9, 0x48, + 0x28, 0x92, 0xb5, 0x89, 0xa7, 0x96, 0x15, 0xdb, 0x6b, 0xbc, 0xeb, 0x20, 0x54, 0xf5, 0xc2, 0x8d, + 0x13, 0x07, 0x1e, 0x00, 0x89, 0x23, 0x47, 0xae, 0xbc, 0x01, 0x57, 0x5e, 0x01, 0x71, 0xe3, 0x1d, + 0x90, 0xbd, 0xde, 0x50, 0x24, 0x1c, 0x47, 0x6a, 0x6f, 0xe3, 0xf1, 0xf8, 0x33, 0x7f, 0xbe, 0xbb, + 0x63, 0xf4, 0xd4, 0xa3, 0xd4, 0x0b, 0xc0, 0x22, 0x2e, 0xb3, 0x84, 0x99, 0x59, 0xcb, 0x96, 0xc5, + 0x20, 0x59, 0xfa, 0x73, 0x60, 0xd6, 0x02, 0xde, 0xbc, 0xa6, 0x89, 0xeb, 0xc4, 0x01, 0x89, 0x9c, + 0x08, 0x3c, 0xc2, 0xfd, 0x25, 0x38, 0xd2, 0x5b, 0x84, 0x99, 0x71, 0x42, 0x39, 0xc5, 0x75, 0x81, + 0x30, 0x89, 0xcb, 0xcc, 0x15, 0xcd, 0x5c, 0xb6, 0x4c, 0x49, 0xab, 0xf5, 0xcb, 0xf2, 0x25, 0xc0, + 0x68, 0x9a, 0x54, 0x26, 0x14, 0x89, 0x6a, 0x77, 0x24, 0x26, 0xf6, 0x2d, 0x12, 0x45, 0x94, 0x13, + 0xee, 0xd3, 0x88, 0x15, 0x6f, 0x8b, 0x32, 0xac, 0xfc, 0x69, 0x96, 0x9e, 0x5b, 0xe7, 0x3e, 0x04, + 0xae, 0x13, 0x12, 0xb6, 0x10, 0x11, 0xc6, 0x08, 0x1d, 0x0c, 0x80, 0x8f, 0x04, 0x73, 0x12, 0x90, + 0xe8, 0xb4, 0xc8, 0x53, 0xb8, 0x6c, 0x78, 0x95, 0x02, 0xe3, 0x78, 0x1f, 0xdd, 0x96, 0x85, 0x39, + 0x11, 0x09, 0x41, 0x57, 0xea, 0x4a, 0x63, 0xd7, 0xbe, 0x25, 0x9d, 0xa7, 0x24, 0x04, 0xe3, 0x8b, + 0x82, 0x1a, 0xe3, 0x94, 0x13, 0x0e, 0xe5, 0x40, 0x26, 0x89, 0xf7, 0x90, 0x36, 0x4f, 0x19, 0xa7, + 0x21, 0x24, 0x8e, 0xef, 0x16, 0x3c, 0x24, 0x5d, 0x8f, 0x5d, 0x0c, 0x08, 0xd1, 0x18, 0x12, 0xd1, + 0x90, 0xae, 0xd6, 0xb7, 0x1a, 0x5a, 0xbb, 0x6f, 0x56, 0x0d, 0xd6, 0x2c, 0x4f, 0xfd, 0x4c, 0xd2, + 0xec, 0x2b, 0x60, 0xe3, 0xab, 0x8a, 0xf6, 0x37, 0xf8, 0x06, 0x1f, 0x23, 0x2d, 0x8d, 0x5d, 0xc2, + 0x21, 0x1f, 0x9f, 0xbe, 0x5d, 0x57, 0x1a, 0x5a, 0xbb, 0x26, 0xeb, 0x91, 0x13, 0x36, 0x4f, 0xb2, + 0x09, 0x8f, 0x09, 0x5b, 0xd8, 0x48, 0x84, 0x67, 0x36, 0x7e, 0x81, 0x76, 0xe6, 0x09, 0x10, 0x2e, + 0xe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x4a, 0xb3, 0xf7, 0x53, 0x41, 0x07, 0x73, 0x1a, 0x56, 0xd6, 0xd7, + 0x3b, 0xac, 0x3c, 0x47, 0x93, 0x6c, 0x8b, 0x4c, 0x94, 0x97, 0xc3, 0x82, 0xe5, 0xd1, 0x80, 0x44, + 0x9e, 0x49, 0x13, 0xcf, 0xf2, 0x20, 0xca, 0x77, 0x8c, 0xfc, 0x59, 0xc4, 0x3e, 0x2b, 0xff, 0x57, + 0x1d, 0x4b, 0xe3, 0x93, 0xba, 0x35, 0xe8, 0x76, 0x3f, 0xab, 0xf5, 0x81, 0x00, 0x76, 0x5d, 0x66, + 0x0a, 0x33, 0xb3, 0xce, 0x5a, 0x66, 0x91, 0x98, 0x7d, 0x93, 0x21, 0xd3, 0xae, 0xcb, 0xa6, 0xab, + 0x90, 0xe9, 0x59, 0x6b, 0x2a, 0x43, 0x66, 0x3b, 0x79, 0x01, 0x0f, 0x7e, 0x07, 0x00, 0x00, 0xff, + 0xff, 0xe9, 0x0e, 0xc7, 0x43, 0x2b, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_service.pb.go new file mode 100644 index 000000000..3abc10083 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_plan_service.pb.go @@ -0,0 +1,1129 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_plan_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import common "google.golang.org/genproto/googleapis/ads/googleads/v0/common" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v0.services.KeywordPlanService.GetKeywordPlan]. +type GetKeywordPlanRequest struct { + // The resource name of the plan to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetKeywordPlanRequest) Reset() { *m = GetKeywordPlanRequest{} } +func (m *GetKeywordPlanRequest) String() string { return proto.CompactTextString(m) } +func (*GetKeywordPlanRequest) ProtoMessage() {} +func (*GetKeywordPlanRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{0} +} +func (m *GetKeywordPlanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetKeywordPlanRequest.Unmarshal(m, b) +} +func (m *GetKeywordPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetKeywordPlanRequest.Marshal(b, m, deterministic) +} +func (dst *GetKeywordPlanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeywordPlanRequest.Merge(dst, src) +} +func (m *GetKeywordPlanRequest) XXX_Size() int { + return xxx_messageInfo_GetKeywordPlanRequest.Size(m) +} +func (m *GetKeywordPlanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetKeywordPlanRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetKeywordPlanRequest proto.InternalMessageInfo + +func (m *GetKeywordPlanRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v0.services.KeywordPlanService.MutateKeywordPlans]. +type MutateKeywordPlansRequest struct { + // The ID of the customer whose keyword plans are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual keyword plans. + Operations []*KeywordPlanOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlansRequest) Reset() { *m = MutateKeywordPlansRequest{} } +func (m *MutateKeywordPlansRequest) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlansRequest) ProtoMessage() {} +func (*MutateKeywordPlansRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{1} +} +func (m *MutateKeywordPlansRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlansRequest.Unmarshal(m, b) +} +func (m *MutateKeywordPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlansRequest.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlansRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlansRequest.Merge(dst, src) +} +func (m *MutateKeywordPlansRequest) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlansRequest.Size(m) +} +func (m *MutateKeywordPlansRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlansRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlansRequest proto.InternalMessageInfo + +func (m *MutateKeywordPlansRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateKeywordPlansRequest) GetOperations() []*KeywordPlanOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on a keyword plan. +type KeywordPlanOperation struct { + // The FieldMask that determines which resource fields are modified in an + // update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *KeywordPlanOperation_Create + // *KeywordPlanOperation_Update + // *KeywordPlanOperation_Remove + Operation isKeywordPlanOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanOperation) Reset() { *m = KeywordPlanOperation{} } +func (m *KeywordPlanOperation) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanOperation) ProtoMessage() {} +func (*KeywordPlanOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{2} +} +func (m *KeywordPlanOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanOperation.Unmarshal(m, b) +} +func (m *KeywordPlanOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanOperation.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanOperation.Merge(dst, src) +} +func (m *KeywordPlanOperation) XXX_Size() int { + return xxx_messageInfo_KeywordPlanOperation.Size(m) +} +func (m *KeywordPlanOperation) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanOperation proto.InternalMessageInfo + +func (m *KeywordPlanOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isKeywordPlanOperation_Operation interface { + isKeywordPlanOperation_Operation() +} + +type KeywordPlanOperation_Create struct { + Create *resources.KeywordPlan `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type KeywordPlanOperation_Update struct { + Update *resources.KeywordPlan `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type KeywordPlanOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*KeywordPlanOperation_Create) isKeywordPlanOperation_Operation() {} + +func (*KeywordPlanOperation_Update) isKeywordPlanOperation_Operation() {} + +func (*KeywordPlanOperation_Remove) isKeywordPlanOperation_Operation() {} + +func (m *KeywordPlanOperation) GetOperation() isKeywordPlanOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *KeywordPlanOperation) GetCreate() *resources.KeywordPlan { + if x, ok := m.GetOperation().(*KeywordPlanOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *KeywordPlanOperation) GetUpdate() *resources.KeywordPlan { + if x, ok := m.GetOperation().(*KeywordPlanOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *KeywordPlanOperation) GetRemove() string { + if x, ok := m.GetOperation().(*KeywordPlanOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*KeywordPlanOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _KeywordPlanOperation_OneofMarshaler, _KeywordPlanOperation_OneofUnmarshaler, _KeywordPlanOperation_OneofSizer, []interface{}{ + (*KeywordPlanOperation_Create)(nil), + (*KeywordPlanOperation_Update)(nil), + (*KeywordPlanOperation_Remove)(nil), + } +} + +func _KeywordPlanOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*KeywordPlanOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *KeywordPlanOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *KeywordPlanOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("KeywordPlanOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _KeywordPlanOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*KeywordPlanOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlan) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.KeywordPlan) + err := b.DecodeMessage(msg) + m.Operation = &KeywordPlanOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &KeywordPlanOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _KeywordPlanOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*KeywordPlanOperation) + // operation + switch x := m.Operation.(type) { + case *KeywordPlanOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *KeywordPlanOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a keyword plan mutate. +type MutateKeywordPlansResponse struct { + // All results for the mutate. + Results []*MutateKeywordPlansResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlansResponse) Reset() { *m = MutateKeywordPlansResponse{} } +func (m *MutateKeywordPlansResponse) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlansResponse) ProtoMessage() {} +func (*MutateKeywordPlansResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{3} +} +func (m *MutateKeywordPlansResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlansResponse.Unmarshal(m, b) +} +func (m *MutateKeywordPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlansResponse.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlansResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlansResponse.Merge(dst, src) +} +func (m *MutateKeywordPlansResponse) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlansResponse.Size(m) +} +func (m *MutateKeywordPlansResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlansResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlansResponse proto.InternalMessageInfo + +func (m *MutateKeywordPlansResponse) GetResults() []*MutateKeywordPlansResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the keyword plan mutate. +type MutateKeywordPlansResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateKeywordPlansResult) Reset() { *m = MutateKeywordPlansResult{} } +func (m *MutateKeywordPlansResult) String() string { return proto.CompactTextString(m) } +func (*MutateKeywordPlansResult) ProtoMessage() {} +func (*MutateKeywordPlansResult) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{4} +} +func (m *MutateKeywordPlansResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateKeywordPlansResult.Unmarshal(m, b) +} +func (m *MutateKeywordPlansResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateKeywordPlansResult.Marshal(b, m, deterministic) +} +func (dst *MutateKeywordPlansResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateKeywordPlansResult.Merge(dst, src) +} +func (m *MutateKeywordPlansResult) XXX_Size() int { + return xxx_messageInfo_MutateKeywordPlansResult.Size(m) +} +func (m *MutateKeywordPlansResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateKeywordPlansResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateKeywordPlansResult proto.InternalMessageInfo + +func (m *MutateKeywordPlansResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v0.services.KeywordPlanService.GenerateForecastMetrics]. +type GenerateForecastMetricsRequest struct { + // The resource name of the keyword plan to be forecasted. + KeywordPlan string `protobuf:"bytes,1,opt,name=keyword_plan,json=keywordPlan,proto3" json:"keyword_plan,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateForecastMetricsRequest) Reset() { *m = GenerateForecastMetricsRequest{} } +func (m *GenerateForecastMetricsRequest) String() string { return proto.CompactTextString(m) } +func (*GenerateForecastMetricsRequest) ProtoMessage() {} +func (*GenerateForecastMetricsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{5} +} +func (m *GenerateForecastMetricsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateForecastMetricsRequest.Unmarshal(m, b) +} +func (m *GenerateForecastMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateForecastMetricsRequest.Marshal(b, m, deterministic) +} +func (dst *GenerateForecastMetricsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateForecastMetricsRequest.Merge(dst, src) +} +func (m *GenerateForecastMetricsRequest) XXX_Size() int { + return xxx_messageInfo_GenerateForecastMetricsRequest.Size(m) +} +func (m *GenerateForecastMetricsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateForecastMetricsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateForecastMetricsRequest proto.InternalMessageInfo + +func (m *GenerateForecastMetricsRequest) GetKeywordPlan() string { + if m != nil { + return m.KeywordPlan + } + return "" +} + +// Response message for [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v0.services.KeywordPlanService.GenerateForecastMetrics]. +type GenerateForecastMetricsResponse struct { + // List of campaign forecasts. + // One maximum. + CampaignForecasts []*KeywordPlanCampaignForecast `protobuf:"bytes,1,rep,name=campaign_forecasts,json=campaignForecasts,proto3" json:"campaign_forecasts,omitempty"` + // List of ad group forecasts. + AdGroupForecasts []*KeywordPlanAdGroupForecast `protobuf:"bytes,2,rep,name=ad_group_forecasts,json=adGroupForecasts,proto3" json:"ad_group_forecasts,omitempty"` + // List of keyword forecasts. + KeywordForecasts []*KeywordPlanKeywordForecast `protobuf:"bytes,3,rep,name=keyword_forecasts,json=keywordForecasts,proto3" json:"keyword_forecasts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateForecastMetricsResponse) Reset() { *m = GenerateForecastMetricsResponse{} } +func (m *GenerateForecastMetricsResponse) String() string { return proto.CompactTextString(m) } +func (*GenerateForecastMetricsResponse) ProtoMessage() {} +func (*GenerateForecastMetricsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{6} +} +func (m *GenerateForecastMetricsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateForecastMetricsResponse.Unmarshal(m, b) +} +func (m *GenerateForecastMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateForecastMetricsResponse.Marshal(b, m, deterministic) +} +func (dst *GenerateForecastMetricsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateForecastMetricsResponse.Merge(dst, src) +} +func (m *GenerateForecastMetricsResponse) XXX_Size() int { + return xxx_messageInfo_GenerateForecastMetricsResponse.Size(m) +} +func (m *GenerateForecastMetricsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateForecastMetricsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateForecastMetricsResponse proto.InternalMessageInfo + +func (m *GenerateForecastMetricsResponse) GetCampaignForecasts() []*KeywordPlanCampaignForecast { + if m != nil { + return m.CampaignForecasts + } + return nil +} + +func (m *GenerateForecastMetricsResponse) GetAdGroupForecasts() []*KeywordPlanAdGroupForecast { + if m != nil { + return m.AdGroupForecasts + } + return nil +} + +func (m *GenerateForecastMetricsResponse) GetKeywordForecasts() []*KeywordPlanKeywordForecast { + if m != nil { + return m.KeywordForecasts + } + return nil +} + +// A campaign forecast. +type KeywordPlanCampaignForecast struct { + // The resource name of the Keyword Plan campaign related to the forecast. + // + // `customers/{customer_id}/keywordPlanCampaigns/{keyword+plan_campaign_id}` + KeywordPlanCampaign *wrappers.StringValue `protobuf:"bytes,1,opt,name=keyword_plan_campaign,json=keywordPlanCampaign,proto3" json:"keyword_plan_campaign,omitempty"` + // The forecast for the Keyword Plan campaign. + CampaignForecast *ForecastMetrics `protobuf:"bytes,2,opt,name=campaign_forecast,json=campaignForecast,proto3" json:"campaign_forecast,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanCampaignForecast) Reset() { *m = KeywordPlanCampaignForecast{} } +func (m *KeywordPlanCampaignForecast) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanCampaignForecast) ProtoMessage() {} +func (*KeywordPlanCampaignForecast) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{7} +} +func (m *KeywordPlanCampaignForecast) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanCampaignForecast.Unmarshal(m, b) +} +func (m *KeywordPlanCampaignForecast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanCampaignForecast.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanCampaignForecast) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanCampaignForecast.Merge(dst, src) +} +func (m *KeywordPlanCampaignForecast) XXX_Size() int { + return xxx_messageInfo_KeywordPlanCampaignForecast.Size(m) +} +func (m *KeywordPlanCampaignForecast) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanCampaignForecast.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanCampaignForecast proto.InternalMessageInfo + +func (m *KeywordPlanCampaignForecast) GetKeywordPlanCampaign() *wrappers.StringValue { + if m != nil { + return m.KeywordPlanCampaign + } + return nil +} + +func (m *KeywordPlanCampaignForecast) GetCampaignForecast() *ForecastMetrics { + if m != nil { + return m.CampaignForecast + } + return nil +} + +// An ad group forecast. +type KeywordPlanAdGroupForecast struct { + // The resource name of the Keyword Plan ad group related to the forecast. + // + // `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` + KeywordPlanAdGroup *wrappers.StringValue `protobuf:"bytes,1,opt,name=keyword_plan_ad_group,json=keywordPlanAdGroup,proto3" json:"keyword_plan_ad_group,omitempty"` + // The forecast for the Keyword Plan ad group. + AdGroupForecast *ForecastMetrics `protobuf:"bytes,2,opt,name=ad_group_forecast,json=adGroupForecast,proto3" json:"ad_group_forecast,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanAdGroupForecast) Reset() { *m = KeywordPlanAdGroupForecast{} } +func (m *KeywordPlanAdGroupForecast) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanAdGroupForecast) ProtoMessage() {} +func (*KeywordPlanAdGroupForecast) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{8} +} +func (m *KeywordPlanAdGroupForecast) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanAdGroupForecast.Unmarshal(m, b) +} +func (m *KeywordPlanAdGroupForecast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanAdGroupForecast.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanAdGroupForecast) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanAdGroupForecast.Merge(dst, src) +} +func (m *KeywordPlanAdGroupForecast) XXX_Size() int { + return xxx_messageInfo_KeywordPlanAdGroupForecast.Size(m) +} +func (m *KeywordPlanAdGroupForecast) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanAdGroupForecast.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanAdGroupForecast proto.InternalMessageInfo + +func (m *KeywordPlanAdGroupForecast) GetKeywordPlanAdGroup() *wrappers.StringValue { + if m != nil { + return m.KeywordPlanAdGroup + } + return nil +} + +func (m *KeywordPlanAdGroupForecast) GetAdGroupForecast() *ForecastMetrics { + if m != nil { + return m.AdGroupForecast + } + return nil +} + +// A keyword forecast. +type KeywordPlanKeywordForecast struct { + // The resource name of the Keyword Plan keyword related to the forecast. + // + // + // `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` + KeywordPlanAdGroupKeyword *wrappers.StringValue `protobuf:"bytes,1,opt,name=keyword_plan_ad_group_keyword,json=keywordPlanAdGroupKeyword,proto3" json:"keyword_plan_ad_group_keyword,omitempty"` + // The forecast for the Keyword Plan keyword. + KeywordForecast *ForecastMetrics `protobuf:"bytes,2,opt,name=keyword_forecast,json=keywordForecast,proto3" json:"keyword_forecast,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanKeywordForecast) Reset() { *m = KeywordPlanKeywordForecast{} } +func (m *KeywordPlanKeywordForecast) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanKeywordForecast) ProtoMessage() {} +func (*KeywordPlanKeywordForecast) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{9} +} +func (m *KeywordPlanKeywordForecast) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanKeywordForecast.Unmarshal(m, b) +} +func (m *KeywordPlanKeywordForecast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanKeywordForecast.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanKeywordForecast) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanKeywordForecast.Merge(dst, src) +} +func (m *KeywordPlanKeywordForecast) XXX_Size() int { + return xxx_messageInfo_KeywordPlanKeywordForecast.Size(m) +} +func (m *KeywordPlanKeywordForecast) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanKeywordForecast.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanKeywordForecast proto.InternalMessageInfo + +func (m *KeywordPlanKeywordForecast) GetKeywordPlanAdGroupKeyword() *wrappers.StringValue { + if m != nil { + return m.KeywordPlanAdGroupKeyword + } + return nil +} + +func (m *KeywordPlanKeywordForecast) GetKeywordForecast() *ForecastMetrics { + if m != nil { + return m.KeywordForecast + } + return nil +} + +// Forecast metrics. +type ForecastMetrics struct { + // Impressions + Impressions *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=impressions,proto3" json:"impressions,omitempty"` + // Ctr + Ctr *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=ctr,proto3" json:"ctr,omitempty"` + // AVG cpc + AverageCpc *wrappers.Int64Value `protobuf:"bytes,3,opt,name=average_cpc,json=averageCpc,proto3" json:"average_cpc,omitempty"` + // Clicks + Clicks *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=clicks,proto3" json:"clicks,omitempty"` + // Cost + CostMicros *wrappers.Int64Value `protobuf:"bytes,6,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ForecastMetrics) Reset() { *m = ForecastMetrics{} } +func (m *ForecastMetrics) String() string { return proto.CompactTextString(m) } +func (*ForecastMetrics) ProtoMessage() {} +func (*ForecastMetrics) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{10} +} +func (m *ForecastMetrics) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ForecastMetrics.Unmarshal(m, b) +} +func (m *ForecastMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ForecastMetrics.Marshal(b, m, deterministic) +} +func (dst *ForecastMetrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_ForecastMetrics.Merge(dst, src) +} +func (m *ForecastMetrics) XXX_Size() int { + return xxx_messageInfo_ForecastMetrics.Size(m) +} +func (m *ForecastMetrics) XXX_DiscardUnknown() { + xxx_messageInfo_ForecastMetrics.DiscardUnknown(m) +} + +var xxx_messageInfo_ForecastMetrics proto.InternalMessageInfo + +func (m *ForecastMetrics) GetImpressions() *wrappers.DoubleValue { + if m != nil { + return m.Impressions + } + return nil +} + +func (m *ForecastMetrics) GetCtr() *wrappers.DoubleValue { + if m != nil { + return m.Ctr + } + return nil +} + +func (m *ForecastMetrics) GetAverageCpc() *wrappers.Int64Value { + if m != nil { + return m.AverageCpc + } + return nil +} + +func (m *ForecastMetrics) GetClicks() *wrappers.DoubleValue { + if m != nil { + return m.Clicks + } + return nil +} + +func (m *ForecastMetrics) GetCostMicros() *wrappers.Int64Value { + if m != nil { + return m.CostMicros + } + return nil +} + +// Request message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v0.services.KeywordPlanService.GenerateHistoricalMetrics]. +type GenerateHistoricalMetricsRequest struct { + // The resource name of the keyword plan of which historical metrics are + // requested. + KeywordPlan string `protobuf:"bytes,1,opt,name=keyword_plan,json=keywordPlan,proto3" json:"keyword_plan,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateHistoricalMetricsRequest) Reset() { *m = GenerateHistoricalMetricsRequest{} } +func (m *GenerateHistoricalMetricsRequest) String() string { return proto.CompactTextString(m) } +func (*GenerateHistoricalMetricsRequest) ProtoMessage() {} +func (*GenerateHistoricalMetricsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{11} +} +func (m *GenerateHistoricalMetricsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateHistoricalMetricsRequest.Unmarshal(m, b) +} +func (m *GenerateHistoricalMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateHistoricalMetricsRequest.Marshal(b, m, deterministic) +} +func (dst *GenerateHistoricalMetricsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateHistoricalMetricsRequest.Merge(dst, src) +} +func (m *GenerateHistoricalMetricsRequest) XXX_Size() int { + return xxx_messageInfo_GenerateHistoricalMetricsRequest.Size(m) +} +func (m *GenerateHistoricalMetricsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateHistoricalMetricsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateHistoricalMetricsRequest proto.InternalMessageInfo + +func (m *GenerateHistoricalMetricsRequest) GetKeywordPlan() string { + if m != nil { + return m.KeywordPlan + } + return "" +} + +// Response message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v0.services.KeywordPlanService.GenerateHistoricalMetrics]. +type GenerateHistoricalMetricsResponse struct { + // List of keyword historical metrics. + Metrics []*KeywordPlanKeywordHistoricalMetrics `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateHistoricalMetricsResponse) Reset() { *m = GenerateHistoricalMetricsResponse{} } +func (m *GenerateHistoricalMetricsResponse) String() string { return proto.CompactTextString(m) } +func (*GenerateHistoricalMetricsResponse) ProtoMessage() {} +func (*GenerateHistoricalMetricsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{12} +} +func (m *GenerateHistoricalMetricsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateHistoricalMetricsResponse.Unmarshal(m, b) +} +func (m *GenerateHistoricalMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateHistoricalMetricsResponse.Marshal(b, m, deterministic) +} +func (dst *GenerateHistoricalMetricsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateHistoricalMetricsResponse.Merge(dst, src) +} +func (m *GenerateHistoricalMetricsResponse) XXX_Size() int { + return xxx_messageInfo_GenerateHistoricalMetricsResponse.Size(m) +} +func (m *GenerateHistoricalMetricsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateHistoricalMetricsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateHistoricalMetricsResponse proto.InternalMessageInfo + +func (m *GenerateHistoricalMetricsResponse) GetMetrics() []*KeywordPlanKeywordHistoricalMetrics { + if m != nil { + return m.Metrics + } + return nil +} + +// A keyword historical metrics. +type KeywordPlanKeywordHistoricalMetrics struct { + // The text of the query associated with one or more ad_group_keywords in the + // plan. + // + // Note that we de-dupe your keywords list, eliminating close variants before + // returning the plan's keywords as text. For example, if your plan originally + // contained the keywords 'car' and 'cars', the returned search query will + // only contain 'car'. + // + SearchQuery *wrappers.StringValue `protobuf:"bytes,1,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + // The historical metrics for the query associated with one or more + // ad_group_keywords in the plan. + KeywordMetrics *common.KeywordPlanHistoricalMetrics `protobuf:"bytes,2,opt,name=keyword_metrics,json=keywordMetrics,proto3" json:"keyword_metrics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeywordPlanKeywordHistoricalMetrics) Reset() { *m = KeywordPlanKeywordHistoricalMetrics{} } +func (m *KeywordPlanKeywordHistoricalMetrics) String() string { return proto.CompactTextString(m) } +func (*KeywordPlanKeywordHistoricalMetrics) ProtoMessage() {} +func (*KeywordPlanKeywordHistoricalMetrics) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_plan_service_6a70ca796af95ddb, []int{13} +} +func (m *KeywordPlanKeywordHistoricalMetrics) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.Unmarshal(m, b) +} +func (m *KeywordPlanKeywordHistoricalMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.Marshal(b, m, deterministic) +} +func (dst *KeywordPlanKeywordHistoricalMetrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.Merge(dst, src) +} +func (m *KeywordPlanKeywordHistoricalMetrics) XXX_Size() int { + return xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.Size(m) +} +func (m *KeywordPlanKeywordHistoricalMetrics) XXX_DiscardUnknown() { + xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.DiscardUnknown(m) +} + +var xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics proto.InternalMessageInfo + +func (m *KeywordPlanKeywordHistoricalMetrics) GetSearchQuery() *wrappers.StringValue { + if m != nil { + return m.SearchQuery + } + return nil +} + +func (m *KeywordPlanKeywordHistoricalMetrics) GetKeywordMetrics() *common.KeywordPlanHistoricalMetrics { + if m != nil { + return m.KeywordMetrics + } + return nil +} + +func init() { + proto.RegisterType((*GetKeywordPlanRequest)(nil), "google.ads.googleads.v0.services.GetKeywordPlanRequest") + proto.RegisterType((*MutateKeywordPlansRequest)(nil), "google.ads.googleads.v0.services.MutateKeywordPlansRequest") + proto.RegisterType((*KeywordPlanOperation)(nil), "google.ads.googleads.v0.services.KeywordPlanOperation") + proto.RegisterType((*MutateKeywordPlansResponse)(nil), "google.ads.googleads.v0.services.MutateKeywordPlansResponse") + proto.RegisterType((*MutateKeywordPlansResult)(nil), "google.ads.googleads.v0.services.MutateKeywordPlansResult") + proto.RegisterType((*GenerateForecastMetricsRequest)(nil), "google.ads.googleads.v0.services.GenerateForecastMetricsRequest") + proto.RegisterType((*GenerateForecastMetricsResponse)(nil), "google.ads.googleads.v0.services.GenerateForecastMetricsResponse") + proto.RegisterType((*KeywordPlanCampaignForecast)(nil), "google.ads.googleads.v0.services.KeywordPlanCampaignForecast") + proto.RegisterType((*KeywordPlanAdGroupForecast)(nil), "google.ads.googleads.v0.services.KeywordPlanAdGroupForecast") + proto.RegisterType((*KeywordPlanKeywordForecast)(nil), "google.ads.googleads.v0.services.KeywordPlanKeywordForecast") + proto.RegisterType((*ForecastMetrics)(nil), "google.ads.googleads.v0.services.ForecastMetrics") + proto.RegisterType((*GenerateHistoricalMetricsRequest)(nil), "google.ads.googleads.v0.services.GenerateHistoricalMetricsRequest") + proto.RegisterType((*GenerateHistoricalMetricsResponse)(nil), "google.ads.googleads.v0.services.GenerateHistoricalMetricsResponse") + proto.RegisterType((*KeywordPlanKeywordHistoricalMetrics)(nil), "google.ads.googleads.v0.services.KeywordPlanKeywordHistoricalMetrics") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordPlanServiceClient is the client API for KeywordPlanService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordPlanServiceClient interface { + // Returns the requested plan in full detail. + GetKeywordPlan(ctx context.Context, in *GetKeywordPlanRequest, opts ...grpc.CallOption) (*resources.KeywordPlan, error) + // Creates, updates, or removes keyword plans. Operation statuses are + // returned. + MutateKeywordPlans(ctx context.Context, in *MutateKeywordPlansRequest, opts ...grpc.CallOption) (*MutateKeywordPlansResponse, error) + // Returns the requested Keyword Plan forecasts. + GenerateForecastMetrics(ctx context.Context, in *GenerateForecastMetricsRequest, opts ...grpc.CallOption) (*GenerateForecastMetricsResponse, error) + // Returns the requested Keyword Plan historical metrics. + GenerateHistoricalMetrics(ctx context.Context, in *GenerateHistoricalMetricsRequest, opts ...grpc.CallOption) (*GenerateHistoricalMetricsResponse, error) +} + +type keywordPlanServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordPlanServiceClient(cc *grpc.ClientConn) KeywordPlanServiceClient { + return &keywordPlanServiceClient{cc} +} + +func (c *keywordPlanServiceClient) GetKeywordPlan(ctx context.Context, in *GetKeywordPlanRequest, opts ...grpc.CallOption) (*resources.KeywordPlan, error) { + out := new(resources.KeywordPlan) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanService/GetKeywordPlan", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanServiceClient) MutateKeywordPlans(ctx context.Context, in *MutateKeywordPlansRequest, opts ...grpc.CallOption) (*MutateKeywordPlansResponse, error) { + out := new(MutateKeywordPlansResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanService/MutateKeywordPlans", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanServiceClient) GenerateForecastMetrics(ctx context.Context, in *GenerateForecastMetricsRequest, opts ...grpc.CallOption) (*GenerateForecastMetricsResponse, error) { + out := new(GenerateForecastMetricsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanService/GenerateForecastMetrics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keywordPlanServiceClient) GenerateHistoricalMetrics(ctx context.Context, in *GenerateHistoricalMetricsRequest, opts ...grpc.CallOption) (*GenerateHistoricalMetricsResponse, error) { + out := new(GenerateHistoricalMetricsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordPlanService/GenerateHistoricalMetrics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordPlanServiceServer is the server API for KeywordPlanService service. +type KeywordPlanServiceServer interface { + // Returns the requested plan in full detail. + GetKeywordPlan(context.Context, *GetKeywordPlanRequest) (*resources.KeywordPlan, error) + // Creates, updates, or removes keyword plans. Operation statuses are + // returned. + MutateKeywordPlans(context.Context, *MutateKeywordPlansRequest) (*MutateKeywordPlansResponse, error) + // Returns the requested Keyword Plan forecasts. + GenerateForecastMetrics(context.Context, *GenerateForecastMetricsRequest) (*GenerateForecastMetricsResponse, error) + // Returns the requested Keyword Plan historical metrics. + GenerateHistoricalMetrics(context.Context, *GenerateHistoricalMetricsRequest) (*GenerateHistoricalMetricsResponse, error) +} + +func RegisterKeywordPlanServiceServer(s *grpc.Server, srv KeywordPlanServiceServer) { + s.RegisterService(&_KeywordPlanService_serviceDesc, srv) +} + +func _KeywordPlanService_GetKeywordPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeywordPlanRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanServiceServer).GetKeywordPlan(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanService/GetKeywordPlan", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanServiceServer).GetKeywordPlan(ctx, req.(*GetKeywordPlanRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanService_MutateKeywordPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateKeywordPlansRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanServiceServer).MutateKeywordPlans(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanService/MutateKeywordPlans", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanServiceServer).MutateKeywordPlans(ctx, req.(*MutateKeywordPlansRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanService_GenerateForecastMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateForecastMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanServiceServer).GenerateForecastMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanService/GenerateForecastMetrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanServiceServer).GenerateForecastMetrics(ctx, req.(*GenerateForecastMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeywordPlanService_GenerateHistoricalMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateHistoricalMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordPlanServiceServer).GenerateHistoricalMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordPlanService/GenerateHistoricalMetrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordPlanServiceServer).GenerateHistoricalMetrics(ctx, req.(*GenerateHistoricalMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordPlanService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordPlanService", + HandlerType: (*KeywordPlanServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetKeywordPlan", + Handler: _KeywordPlanService_GetKeywordPlan_Handler, + }, + { + MethodName: "MutateKeywordPlans", + Handler: _KeywordPlanService_MutateKeywordPlans_Handler, + }, + { + MethodName: "GenerateForecastMetrics", + Handler: _KeywordPlanService_GenerateForecastMetrics_Handler, + }, + { + MethodName: "GenerateHistoricalMetrics", + Handler: _KeywordPlanService_GenerateHistoricalMetrics_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_plan_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_plan_service.proto", fileDescriptor_keyword_plan_service_6a70ca796af95ddb) +} + +var fileDescriptor_keyword_plan_service_6a70ca796af95ddb = []byte{ + // 1130 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xcf, 0x6f, 0xdc, 0xc4, + 0x17, 0xff, 0x7a, 0xf3, 0x25, 0x51, 0xdf, 0x86, 0x36, 0x19, 0xa8, 0xba, 0xd9, 0x96, 0x76, 0xeb, + 0x72, 0x88, 0x72, 0xb0, 0xd3, 0x10, 0x05, 0x94, 0x1f, 0x94, 0x4d, 0x48, 0x37, 0x05, 0x42, 0xc3, + 0x16, 0xe5, 0x80, 0x42, 0xad, 0x89, 0x3d, 0x31, 0x66, 0x6d, 0x8f, 0x3b, 0x63, 0xa7, 0xaa, 0xaa, + 0x5e, 0x10, 0xe2, 0xc8, 0x05, 0xfe, 0x02, 0x8e, 0xdc, 0x10, 0xff, 0x05, 0xa2, 0xe2, 0xc0, 0x01, + 0x89, 0x33, 0xe2, 0xcc, 0x91, 0x23, 0xb2, 0x67, 0x66, 0xe3, 0xb5, 0xd7, 0xc9, 0x66, 0x73, 0x1b, + 0x3f, 0xbf, 0xf7, 0x79, 0xef, 0xf3, 0xde, 0x9b, 0xe7, 0x67, 0x58, 0x73, 0x29, 0x75, 0x7d, 0x62, + 0x62, 0x87, 0x9b, 0xe2, 0x98, 0x9e, 0x8e, 0x17, 0x4d, 0x4e, 0xd8, 0xb1, 0x67, 0x13, 0x6e, 0xf6, + 0xc8, 0xb3, 0xa7, 0x94, 0x39, 0x56, 0xe4, 0xe3, 0xd0, 0x92, 0x52, 0x23, 0x62, 0x34, 0xa6, 0xa8, + 0x25, 0x2c, 0x0c, 0xec, 0x70, 0xa3, 0x6f, 0x6c, 0x1c, 0x2f, 0x1a, 0xca, 0xb8, 0xf9, 0x4e, 0x15, + 0xbc, 0x4d, 0x83, 0x80, 0x86, 0x83, 0xe0, 0x42, 0x26, 0xb0, 0x9b, 0xcb, 0x55, 0x96, 0x8c, 0x70, + 0x9a, 0xb0, 0x62, 0x64, 0xd2, 0xea, 0x86, 0xb2, 0x8a, 0x3c, 0x13, 0x87, 0x21, 0x8d, 0x71, 0xec, + 0xd1, 0x90, 0xcb, 0xb7, 0x32, 0x5e, 0x33, 0x7b, 0x3a, 0x4c, 0x8e, 0xcc, 0x23, 0x8f, 0xf8, 0x8e, + 0x15, 0x60, 0xde, 0x93, 0x1a, 0x37, 0x8b, 0x1a, 0x4f, 0x19, 0x8e, 0x22, 0xc2, 0x24, 0x82, 0xbe, + 0x0e, 0x57, 0x3b, 0x24, 0xfe, 0x50, 0x38, 0xde, 0xf3, 0x71, 0xd8, 0x25, 0x4f, 0x12, 0xc2, 0x63, + 0x74, 0x07, 0x5e, 0x55, 0x81, 0x59, 0x21, 0x0e, 0x48, 0x43, 0x6b, 0x69, 0xf3, 0x97, 0xba, 0xd3, + 0x4a, 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 0x1a, 0xad, 0xb9, 0xb6, 0xe0, 0x66, 0x87, + 0x84, 0x29, 0x05, 0x72, 0x9f, 0x32, 0x62, 0x63, 0x1e, 0xef, 0x92, 0x98, 0x79, 0x76, 0xbf, 0xc1, + 0x6e, 0xc3, 0x74, 0xfe, 0xca, 0x48, 0x94, 0x7a, 0xef, 0xc4, 0xa1, 0xfe, 0x77, 0x0d, 0x6e, 0x55, + 0xa2, 0x48, 0xfe, 0x3e, 0x20, 0x1b, 0x07, 0x11, 0xf6, 0xdc, 0xd0, 0x3a, 0x92, 0x3a, 0xbc, 0xa1, + 0x65, 0xa9, 0xd8, 0x38, 0x57, 0x3b, 0x6e, 0x49, 0x18, 0xe5, 0xa9, 0x3b, 0x6b, 0x17, 0x24, 0x1c, + 0x7d, 0x09, 0x08, 0x3b, 0x96, 0xcb, 0x68, 0x12, 0xe5, 0xbc, 0x89, 0xc4, 0xaf, 0x9f, 0xcb, 0x5b, + 0xdb, 0xe9, 0xa4, 0x28, 0x7d, 0x67, 0x33, 0x78, 0x50, 0xc0, 0x91, 0x07, 0xb3, 0x2a, 0x41, 0x27, + 0xae, 0x26, 0xc6, 0x70, 0x25, 0x8f, 0x27, 0xae, 0x7a, 0x83, 0x02, 0xae, 0xff, 0xa6, 0xc1, 0xf5, + 0x53, 0x32, 0x81, 0xf6, 0xe0, 0xea, 0xe0, 0x6c, 0x94, 0x0a, 0xf2, 0x32, 0xdd, 0x28, 0x5d, 0xc2, + 0x47, 0x31, 0xf3, 0x42, 0x77, 0x1f, 0xfb, 0x09, 0xe9, 0xbe, 0xd6, 0x2b, 0x23, 0xa3, 0xc7, 0x30, + 0x5b, 0x2a, 0x9b, 0xbc, 0x50, 0x77, 0xcf, 0x26, 0x57, 0x6c, 0x86, 0x99, 0x62, 0xa5, 0xf4, 0x5f, + 0x35, 0x68, 0x56, 0x67, 0x1b, 0x3d, 0x2c, 0x10, 0x52, 0x45, 0x1d, 0x89, 0x10, 0xea, 0x95, 0x80, + 0xd1,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x3e, 0xad, 0x4e, 0xab, + 0xee, 0x70, 0xd8, 0x94, 0xf2, 0xbf, 0x1a, 0xcc, 0x55, 0x5e, 0x72, 0xb4, 0x39, 0x7a, 0xc8, 0x55, + 0x93, 0xa6, 0xb9, 0x75, 0x21, 0x0c, 0x49, 0xbc, 0x9b, 0x11, 0xff, 0x48, 0xef, 0x8c, 0x47, 0xbc, + 0x04, 0xbc, 0xaa, 0x2d, 0x6c, 0xfe, 0xa1, 0xc1, 0x9b, 0x36, 0x0d, 0xce, 0x0c, 0x6f, 0xf3, 0x5a, + 0xf9, 0xba, 0xee, 0xa5, 0xd3, 0x64, 0x4f, 0xfb, 0x6c, 0x47, 0x1a, 0xbb, 0xd4, 0xc7, 0xa1, 0x6b, + 0x50, 0xe6, 0x9a, 0x2e, 0x09, 0xb3, 0x59, 0xa3, 0xfe, 0x06, 0x23, 0x8f, 0x57, 0xff, 0xb5, 0xae, + 0xa9, 0xc3, 0x0f, 0xb5, 0x89, 0x4e, 0xbb, 0xfd, 0x63, 0xad, 0xd5, 0x11, 0x80, 0x6d, 0x87, 0x1b, + 0xe2, 0x98, 0x9e, 0xf6, 0x17, 0x0d, 0xe9, 0x98, 0xff, 0xa2, 0x54, 0x0e, 0xda, 0x0e, 0x3f, 0xe8, + 0xab, 0x1c, 0xec, 0x2f, 0x1e, 0x28, 0x95, 0xc3, 0xc9, 0x2c, 0x80, 0xb7, 0xfe, 0x0b, 0x00, 0x00, + 0xff, 0xff, 0xac, 0x10, 0x04, 0xef, 0x35, 0x0f, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_view_service.pb.go new file mode 100644 index 000000000..c21ce6b00 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/keyword_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/keyword_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [KeywordViewService.GetKeywordView][google.ads.googleads.v0.services.KeywordViewService.GetKeywordView]. +type GetKeywordViewRequest struct { + // The resource name of the keyword view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetKeywordViewRequest) Reset() { *m = GetKeywordViewRequest{} } +func (m *GetKeywordViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetKeywordViewRequest) ProtoMessage() {} +func (*GetKeywordViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_keyword_view_service_34e3e0cb9228e5f7, []int{0} +} +func (m *GetKeywordViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetKeywordViewRequest.Unmarshal(m, b) +} +func (m *GetKeywordViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetKeywordViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetKeywordViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeywordViewRequest.Merge(dst, src) +} +func (m *GetKeywordViewRequest) XXX_Size() int { + return xxx_messageInfo_GetKeywordViewRequest.Size(m) +} +func (m *GetKeywordViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetKeywordViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetKeywordViewRequest proto.InternalMessageInfo + +func (m *GetKeywordViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetKeywordViewRequest)(nil), "google.ads.googleads.v0.services.GetKeywordViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeywordViewServiceClient is the client API for KeywordViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeywordViewServiceClient interface { + // Returns the requested keyword view in full detail. + GetKeywordView(ctx context.Context, in *GetKeywordViewRequest, opts ...grpc.CallOption) (*resources.KeywordView, error) +} + +type keywordViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeywordViewServiceClient(cc *grpc.ClientConn) KeywordViewServiceClient { + return &keywordViewServiceClient{cc} +} + +func (c *keywordViewServiceClient) GetKeywordView(ctx context.Context, in *GetKeywordViewRequest, opts ...grpc.CallOption) (*resources.KeywordView, error) { + out := new(resources.KeywordView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.KeywordViewService/GetKeywordView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeywordViewServiceServer is the server API for KeywordViewService service. +type KeywordViewServiceServer interface { + // Returns the requested keyword view in full detail. + GetKeywordView(context.Context, *GetKeywordViewRequest) (*resources.KeywordView, error) +} + +func RegisterKeywordViewServiceServer(s *grpc.Server, srv KeywordViewServiceServer) { + s.RegisterService(&_KeywordViewService_serviceDesc, srv) +} + +func _KeywordViewService_GetKeywordView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeywordViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeywordViewServiceServer).GetKeywordView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.KeywordViewService/GetKeywordView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeywordViewServiceServer).GetKeywordView(ctx, req.(*GetKeywordViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeywordViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.KeywordViewService", + HandlerType: (*KeywordViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetKeywordView", + Handler: _KeywordViewService_GetKeywordView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/keyword_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/keyword_view_service.proto", fileDescriptor_keyword_view_service_34e3e0cb9228e5f7) +} + +var fileDescriptor_keyword_view_service_34e3e0cb9228e5f7 = []byte{ + // 343 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4e, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xec, 0xd4, 0xca, 0xf2, 0xfc, 0xa2, 0x94, 0xf8, 0xb2, + 0xcc, 0xd4, 0xf2, 0x78, 0xa8, 0xa8, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, 0x44, 0x87, + 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xb3, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 0xb3, 0x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x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0x38, 0xa0, 0x61, + 0x11, 0x56, 0x90, 0x59, 0x8c, 0x3b, 0x79, 0x58, 0xc3, 0x18, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, + 0x57, 0x31, 0x29, 0xb8, 0x43, 0x0c, 0x74, 0x4c, 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x03, + 0x3d, 0xa8, 0xc5, 0xc5, 0xa7, 0x60, 0x4a, 0x62, 0x1c, 0x53, 0x8a, 0x63, 0xe0, 0x4a, 0x62, 0xc2, + 0x0c, 0x62, 0x60, 0x4a, 0x92, 0xd8, 0xc0, 0x0e, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x38, + 0x0c, 0x16, 0x0b, 0x9e, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/language_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/language_constant_service.pb.go new file mode 100644 index 000000000..26af68b90 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/language_constant_service.pb.go @@ -0,0 +1,173 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/language_constant_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v0.services.LanguageConstantService.GetLanguageConstant]. +type GetLanguageConstantRequest struct { + // Resource name of the language constant to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetLanguageConstantRequest) Reset() { *m = GetLanguageConstantRequest{} } +func (m *GetLanguageConstantRequest) String() string { return proto.CompactTextString(m) } +func (*GetLanguageConstantRequest) ProtoMessage() {} +func (*GetLanguageConstantRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_language_constant_service_e6d521781dfa38e0, []int{0} +} +func (m *GetLanguageConstantRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetLanguageConstantRequest.Unmarshal(m, b) +} +func (m *GetLanguageConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetLanguageConstantRequest.Marshal(b, m, deterministic) +} +func (dst *GetLanguageConstantRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLanguageConstantRequest.Merge(dst, src) +} +func (m *GetLanguageConstantRequest) XXX_Size() int { + return xxx_messageInfo_GetLanguageConstantRequest.Size(m) +} +func (m *GetLanguageConstantRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetLanguageConstantRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLanguageConstantRequest proto.InternalMessageInfo + +func (m *GetLanguageConstantRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetLanguageConstantRequest)(nil), "google.ads.googleads.v0.services.GetLanguageConstantRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// LanguageConstantServiceClient is the client API for LanguageConstantService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type LanguageConstantServiceClient interface { + // Returns the requested language constant. + GetLanguageConstant(ctx context.Context, in *GetLanguageConstantRequest, opts ...grpc.CallOption) (*resources.LanguageConstant, error) +} + +type languageConstantServiceClient struct { + cc *grpc.ClientConn +} + +func NewLanguageConstantServiceClient(cc *grpc.ClientConn) LanguageConstantServiceClient { + return &languageConstantServiceClient{cc} +} + +func (c *languageConstantServiceClient) GetLanguageConstant(ctx context.Context, in *GetLanguageConstantRequest, opts ...grpc.CallOption) (*resources.LanguageConstant, error) { + out := new(resources.LanguageConstant) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.LanguageConstantService/GetLanguageConstant", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// LanguageConstantServiceServer is the server API for LanguageConstantService service. +type LanguageConstantServiceServer interface { + // Returns the requested language constant. + GetLanguageConstant(context.Context, *GetLanguageConstantRequest) (*resources.LanguageConstant, error) +} + +func RegisterLanguageConstantServiceServer(s *grpc.Server, srv LanguageConstantServiceServer) { + s.RegisterService(&_LanguageConstantService_serviceDesc, srv) +} + +func _LanguageConstantService_GetLanguageConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLanguageConstantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LanguageConstantServiceServer).GetLanguageConstant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.LanguageConstantService/GetLanguageConstant", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LanguageConstantServiceServer).GetLanguageConstant(ctx, req.(*GetLanguageConstantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _LanguageConstantService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.LanguageConstantService", + HandlerType: (*LanguageConstantServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetLanguageConstant", + Handler: _LanguageConstantService_GetLanguageConstant_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/language_constant_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/language_constant_service.proto", fileDescriptor_language_constant_service_e6d521781dfa38e0) +} + +var fileDescriptor_language_constant_service_e6d521781dfa38e0 = []byte{ + // 334 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0x9c, 0xc4, 0xbc, 0xf4, 0xd2, 0xc4, 0xf4, 0xd4, 0xf8, + 0xe4, 0xfc, 0xbc, 0xe2, 0x92, 0xc4, 0xbc, 0x92, 0x78, 0xa8, 0x94, 0x5e, 0x41, 0x51, 0x7e, 0x49, + 0xbe, 0x90, 0x02, 0x44, 0x9b, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0xdc, 0x04, 0xbd, 0x32, 0x03, 0x3d, + 0x98, 0x09, 0x52, 0x96, 0xb8, 0xec, 0x28, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0xc2, 0x6a, 0x09, 0xc4, + 0x70, 0x29, 0x19, 0x98, 0xd6, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, 0xbc, 0xfc, 0x92, 0xc4, 0x92, 0xcc, + 0xfc, 0xbc, 0x62, 0x88, 0xac, 0x92, 0x23, 0x97, 0x94, 0x7b, 0x6a, 0x89, 0x0f, 0x54, 0xaf, 0x33, + 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x06, 0x31, 0x30, 0x25, 0x49, 0x6c, 0x60, 0x07, 0x18, + 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x53, 0x19, 0x41, 0xad, 0xbf, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/managed_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/managed_placement_view_service.pb.go new file mode 100644 index 000000000..7dcb0aeaa --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/managed_placement_view_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/managed_placement_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v0.services.ManagedPlacementViewService.GetManagedPlacementView]. +type GetManagedPlacementViewRequest struct { + // The resource name of the Managed Placement View to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetManagedPlacementViewRequest) Reset() { *m = GetManagedPlacementViewRequest{} } +func (m *GetManagedPlacementViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetManagedPlacementViewRequest) ProtoMessage() {} +func (*GetManagedPlacementViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_managed_placement_view_service_bb9f749dcc6fc543, []int{0} +} +func (m *GetManagedPlacementViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetManagedPlacementViewRequest.Unmarshal(m, b) +} +func (m *GetManagedPlacementViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetManagedPlacementViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetManagedPlacementViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetManagedPlacementViewRequest.Merge(dst, src) +} +func (m *GetManagedPlacementViewRequest) XXX_Size() int { + return xxx_messageInfo_GetManagedPlacementViewRequest.Size(m) +} +func (m *GetManagedPlacementViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetManagedPlacementViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetManagedPlacementViewRequest proto.InternalMessageInfo + +func (m *GetManagedPlacementViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetManagedPlacementViewRequest)(nil), "google.ads.googleads.v0.services.GetManagedPlacementViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ManagedPlacementViewServiceClient is the client API for ManagedPlacementViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ManagedPlacementViewServiceClient interface { + // Returns the requested Managed Placement view in full detail. + GetManagedPlacementView(ctx context.Context, in *GetManagedPlacementViewRequest, opts ...grpc.CallOption) (*resources.ManagedPlacementView, error) +} + +type managedPlacementViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewManagedPlacementViewServiceClient(cc *grpc.ClientConn) ManagedPlacementViewServiceClient { + return &managedPlacementViewServiceClient{cc} +} + +func (c *managedPlacementViewServiceClient) GetManagedPlacementView(ctx context.Context, in *GetManagedPlacementViewRequest, opts ...grpc.CallOption) (*resources.ManagedPlacementView, error) { + out := new(resources.ManagedPlacementView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ManagedPlacementViewService/GetManagedPlacementView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ManagedPlacementViewServiceServer is the server API for ManagedPlacementViewService service. +type ManagedPlacementViewServiceServer interface { + // Returns the requested Managed Placement view in full detail. + GetManagedPlacementView(context.Context, *GetManagedPlacementViewRequest) (*resources.ManagedPlacementView, error) +} + +func RegisterManagedPlacementViewServiceServer(s *grpc.Server, srv ManagedPlacementViewServiceServer) { + s.RegisterService(&_ManagedPlacementViewService_serviceDesc, srv) +} + +func _ManagedPlacementViewService_GetManagedPlacementView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetManagedPlacementViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ManagedPlacementViewServiceServer).GetManagedPlacementView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.ManagedPlacementViewService/GetManagedPlacementView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ManagedPlacementViewServiceServer).GetManagedPlacementView(ctx, req.(*GetManagedPlacementViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ManagedPlacementViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.ManagedPlacementViewService", + HandlerType: (*ManagedPlacementViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetManagedPlacementView", + Handler: _ManagedPlacementViewService_GetManagedPlacementView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/managed_placement_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/managed_placement_view_service.proto", fileDescriptor_managed_placement_view_service_bb9f749dcc6fc543) +} + +var fileDescriptor_managed_placement_view_service_bb9f749dcc6fc543 = []byte{ + // 356 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4f, 0x4b, 0xfb, 0x40, + 0x10, 0x25, 0xfd, 0xc1, 0x0f, 0x0c, 0x7a, 0xc9, 0x45, 0xa9, 0x22, 0xa1, 0x7a, 0x90, 0x1e, 0x76, + 0x83, 0x1e, 0x8a, 0x88, 0x7f, 0x52, 0x28, 0xf5, 0xa2, 0x94, 0x0a, 0x3d, 0x48, 0x20, 0xac, 0xc9, + 0xb0, 0x04, 0x9a, 0xdd, 0x98, 0xd9, 0xa6, 0x07, 0xf1, 0xe2, 0x57, 0xf0, 0x1b, 0x78, 0xf4, 0xa3, + 0x78, 0x15, 0xef, 0x1e, 0xfc, 0x0a, 0xde, 0x25, 0xdd, 0x6e, 0xa0, 0xd0, 0xb4, 0xb7, 0xc7, 0xce, + 0xbc, 0xf7, 0x66, 0xde, 0xac, 0xdd, 0xe3, 0x52, 0xf2, 0x31, 0x50, 0x16, 0x23, 0xd5, 0xb0, 0x44, + 0x85, 0x47, 0x11, 0xf2, 0x22, 0x89, 0x00, 0x69, 0xca, 0x04, 0xe3, 0x10, 0x87, 0xd9, 0x98, 0x45, + 0x90, 0x82, 0x50, 0x61, 0x91, 0xc0, 0x34, 0x9c, 0xd7, 0x49, 0x96, 0x4b, 0x25, 0x1d, 0x57, 0x73, + 0x09, 0x8b, 0x91, 0x54, 0x32, 0xa4, 0xf0, 0x88, 0x91, 0x69, 0x5e, 0xd4, 0x19, 0xe5, 0x80, 0x72, + 0x92, 0xd7, 0x3b, 0x69, 0x87, 0xe6, 0x9e, 0xe1, 0x67, 0x09, 0x65, 0x42, 0x48, 0xc5, 0x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 0x0d, 0x70, 0xf2, 0x17, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x9b, 0xa8, 0x92, + 0xf1, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/media_file_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/media_file_service.pb.go new file mode 100644 index 000000000..8330da659 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/media_file_service.pb.go @@ -0,0 +1,468 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/media_file_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [MediaFileService.GetMediaFile][google.ads.googleads.v0.services.MediaFileService.GetMediaFile] +type GetMediaFileRequest struct { + // The resource name of the media file to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetMediaFileRequest) Reset() { *m = GetMediaFileRequest{} } +func (m *GetMediaFileRequest) String() string { return proto.CompactTextString(m) } +func (*GetMediaFileRequest) ProtoMessage() {} +func (*GetMediaFileRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_service_636511ac02cf9dc1, []int{0} +} +func (m *GetMediaFileRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetMediaFileRequest.Unmarshal(m, b) +} +func (m *GetMediaFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetMediaFileRequest.Marshal(b, m, deterministic) +} +func (dst *GetMediaFileRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMediaFileRequest.Merge(dst, src) +} +func (m *GetMediaFileRequest) XXX_Size() int { + return xxx_messageInfo_GetMediaFileRequest.Size(m) +} +func (m *GetMediaFileRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetMediaFileRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetMediaFileRequest proto.InternalMessageInfo + +func (m *GetMediaFileRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [MediaFileService.MutateMediaFiles][google.ads.googleads.v0.services.MediaFileService.MutateMediaFiles] +type MutateMediaFilesRequest struct { + // The ID of the customer whose media files are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual media file. + Operations []*MediaFileOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateMediaFilesRequest) Reset() { *m = MutateMediaFilesRequest{} } +func (m *MutateMediaFilesRequest) String() string { return proto.CompactTextString(m) } +func (*MutateMediaFilesRequest) ProtoMessage() {} +func (*MutateMediaFilesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_service_636511ac02cf9dc1, []int{1} +} +func (m *MutateMediaFilesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateMediaFilesRequest.Unmarshal(m, b) +} +func (m *MutateMediaFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateMediaFilesRequest.Marshal(b, m, deterministic) +} +func (dst *MutateMediaFilesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateMediaFilesRequest.Merge(dst, src) +} +func (m *MutateMediaFilesRequest) XXX_Size() int { + return xxx_messageInfo_MutateMediaFilesRequest.Size(m) +} +func (m *MutateMediaFilesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateMediaFilesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateMediaFilesRequest proto.InternalMessageInfo + +func (m *MutateMediaFilesRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateMediaFilesRequest) GetOperations() []*MediaFileOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation to create media file. +type MediaFileOperation struct { + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *MediaFileOperation_Create + Operation isMediaFileOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaFileOperation) Reset() { *m = MediaFileOperation{} } +func (m *MediaFileOperation) String() string { return proto.CompactTextString(m) } +func (*MediaFileOperation) ProtoMessage() {} +func (*MediaFileOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_service_636511ac02cf9dc1, []int{2} +} +func (m *MediaFileOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaFileOperation.Unmarshal(m, b) +} +func (m *MediaFileOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaFileOperation.Marshal(b, m, deterministic) +} +func (dst *MediaFileOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaFileOperation.Merge(dst, src) +} +func (m *MediaFileOperation) XXX_Size() int { + return xxx_messageInfo_MediaFileOperation.Size(m) +} +func (m *MediaFileOperation) XXX_DiscardUnknown() { + xxx_messageInfo_MediaFileOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaFileOperation proto.InternalMessageInfo + +type isMediaFileOperation_Operation interface { + isMediaFileOperation_Operation() +} + +type MediaFileOperation_Create struct { + Create *resources.MediaFile `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +func (*MediaFileOperation_Create) isMediaFileOperation_Operation() {} + +func (m *MediaFileOperation) GetOperation() isMediaFileOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *MediaFileOperation) GetCreate() *resources.MediaFile { + if x, ok := m.GetOperation().(*MediaFileOperation_Create); ok { + return x.Create + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*MediaFileOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _MediaFileOperation_OneofMarshaler, _MediaFileOperation_OneofUnmarshaler, _MediaFileOperation_OneofSizer, []interface{}{ + (*MediaFileOperation_Create)(nil), + } +} + +func _MediaFileOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*MediaFileOperation) + // operation + switch x := m.Operation.(type) { + case *MediaFileOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("MediaFileOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _MediaFileOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*MediaFileOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.MediaFile) + err := b.DecodeMessage(msg) + m.Operation = &MediaFileOperation_Create{msg} + return true, err + default: + return false, nil + } +} + +func _MediaFileOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*MediaFileOperation) + // operation + switch x := m.Operation.(type) { + case *MediaFileOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a media file mutate. +type MutateMediaFilesResponse struct { + // All results for the mutate. + Results []*MutateMediaFileResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateMediaFilesResponse) Reset() { *m = MutateMediaFilesResponse{} } +func (m *MutateMediaFilesResponse) String() string { return proto.CompactTextString(m) } +func (*MutateMediaFilesResponse) ProtoMessage() {} +func (*MutateMediaFilesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_service_636511ac02cf9dc1, []int{3} +} +func (m *MutateMediaFilesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateMediaFilesResponse.Unmarshal(m, b) +} +func (m *MutateMediaFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateMediaFilesResponse.Marshal(b, m, deterministic) +} +func (dst *MutateMediaFilesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateMediaFilesResponse.Merge(dst, src) +} +func (m *MutateMediaFilesResponse) XXX_Size() int { + return xxx_messageInfo_MutateMediaFilesResponse.Size(m) +} +func (m *MutateMediaFilesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateMediaFilesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateMediaFilesResponse proto.InternalMessageInfo + +func (m *MutateMediaFilesResponse) GetResults() []*MutateMediaFileResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the media file mutate. +type MutateMediaFileResult struct { + // The resource name returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateMediaFileResult) Reset() { *m = MutateMediaFileResult{} } +func (m *MutateMediaFileResult) String() string { return proto.CompactTextString(m) } +func (*MutateMediaFileResult) ProtoMessage() {} +func (*MutateMediaFileResult) Descriptor() ([]byte, []int) { + return fileDescriptor_media_file_service_636511ac02cf9dc1, []int{4} +} +func (m *MutateMediaFileResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateMediaFileResult.Unmarshal(m, b) +} +func (m *MutateMediaFileResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateMediaFileResult.Marshal(b, m, deterministic) +} +func (dst *MutateMediaFileResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateMediaFileResult.Merge(dst, src) +} +func (m *MutateMediaFileResult) XXX_Size() int { + return xxx_messageInfo_MutateMediaFileResult.Size(m) +} +func (m *MutateMediaFileResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateMediaFileResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateMediaFileResult proto.InternalMessageInfo + +func (m *MutateMediaFileResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetMediaFileRequest)(nil), "google.ads.googleads.v0.services.GetMediaFileRequest") + proto.RegisterType((*MutateMediaFilesRequest)(nil), "google.ads.googleads.v0.services.MutateMediaFilesRequest") + proto.RegisterType((*MediaFileOperation)(nil), "google.ads.googleads.v0.services.MediaFileOperation") + proto.RegisterType((*MutateMediaFilesResponse)(nil), "google.ads.googleads.v0.services.MutateMediaFilesResponse") + proto.RegisterType((*MutateMediaFileResult)(nil), "google.ads.googleads.v0.services.MutateMediaFileResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MediaFileServiceClient is the client API for MediaFileService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MediaFileServiceClient interface { + // Returns the requested media file in full detail. + GetMediaFile(ctx context.Context, in *GetMediaFileRequest, opts ...grpc.CallOption) (*resources.MediaFile, error) + // Creates media files. Operation statuses are returned. + MutateMediaFiles(ctx context.Context, in *MutateMediaFilesRequest, opts ...grpc.CallOption) (*MutateMediaFilesResponse, error) +} + +type mediaFileServiceClient struct { + cc *grpc.ClientConn +} + +func NewMediaFileServiceClient(cc *grpc.ClientConn) MediaFileServiceClient { + return &mediaFileServiceClient{cc} +} + +func (c *mediaFileServiceClient) GetMediaFile(ctx context.Context, in *GetMediaFileRequest, opts ...grpc.CallOption) (*resources.MediaFile, error) { + out := new(resources.MediaFile) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.MediaFileService/GetMediaFile", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *mediaFileServiceClient) MutateMediaFiles(ctx context.Context, in *MutateMediaFilesRequest, opts ...grpc.CallOption) (*MutateMediaFilesResponse, error) { + out := new(MutateMediaFilesResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.MediaFileService/MutateMediaFiles", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MediaFileServiceServer is the server API for MediaFileService service. +type MediaFileServiceServer interface { + // Returns the requested media file in full detail. + GetMediaFile(context.Context, *GetMediaFileRequest) (*resources.MediaFile, error) + // Creates media files. Operation statuses are returned. + MutateMediaFiles(context.Context, *MutateMediaFilesRequest) (*MutateMediaFilesResponse, error) +} + +func RegisterMediaFileServiceServer(s *grpc.Server, srv MediaFileServiceServer) { + s.RegisterService(&_MediaFileService_serviceDesc, srv) +} + +func _MediaFileService_GetMediaFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMediaFileRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MediaFileServiceServer).GetMediaFile(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.MediaFileService/GetMediaFile", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MediaFileServiceServer).GetMediaFile(ctx, req.(*GetMediaFileRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MediaFileService_MutateMediaFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateMediaFilesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MediaFileServiceServer).MutateMediaFiles(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.MediaFileService/MutateMediaFiles", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MediaFileServiceServer).MutateMediaFiles(ctx, req.(*MutateMediaFilesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _MediaFileService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.MediaFileService", + HandlerType: (*MediaFileServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetMediaFile", + Handler: _MediaFileService_GetMediaFile_Handler, + }, + { + MethodName: "MutateMediaFiles", + Handler: _MediaFileService_MutateMediaFiles_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/media_file_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/media_file_service.proto", fileDescriptor_media_file_service_636511ac02cf9dc1) +} + +var fileDescriptor_media_file_service_636511ac02cf9dc1 = []byte{ + // 516 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x6e, 0xd3, 0x40, + 0x10, 0xc5, 0x89, 0x54, 0xd4, 0x49, 0x91, 0xaa, 0x45, 0x15, 0x51, 0x84, 0x44, 0x64, 0x38, 0x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xdd, 0xc2, 0x41, 0xdf, 0x76, 0x72, + 0x07, 0x17, 0x2d, 0x9f, 0xcd, 0x1d, 0xfc, 0x41, 0xe7, 0x7c, 0xce, 0x80, 0x1b, 0x17, 0x54, 0xae, + 0xd5, 0x19, 0xfe, 0xb1, 0xe0, 0xd1, 0x94, 0xc7, 0x2b, 0xd5, 0x87, 0x3b, 0x97, 0xd7, 0x75, 0x92, + 0xff, 0xaf, 0x27, 0xd6, 0xbb, 0xa3, 0x12, 0x1a, 0xf0, 0x88, 0x25, 0x01, 0xe5, 0x22, 0x70, 0x02, + 0x4c, 0x8a, 0xbf, 0xd9, 0xbc, 0x09, 0x69, 0x28, 0x97, 0xbf, 0x3f, 0xcf, 0x4c, 0xf0, 0xad, 0x56, + 0x1f, 0x0d, 0x06, 0x3f, 0x6a, 0xed, 0x91, 0x26, 0x1c, 0xf8, 0x92, 0xea, 0x30, 0x8f, 0x4e, 0xbb, + 0xb4, 0x14, 0x96, 0xbf, 0x4c, 0xc9, 0x78, 0xe0, 0xcb, 0x71, 0x55, 0x32, 0x3e, 0xed, 0x8e, 0x4d, + 0xc9, 0xfb, 0x8d, 0xa2, 0x81, 0xc7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x1e, 0x8f, 0x2b, + 0xff, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/parental_status_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/parental_status_view_service.pb.go new file mode 100644 index 000000000..b844647d6 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/parental_status_view_service.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/parental_status_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v0.services.ParentalStatusViewService.GetParentalStatusView]. +type GetParentalStatusViewRequest struct { + // The resource name of the parental status view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetParentalStatusViewRequest) Reset() { *m = GetParentalStatusViewRequest{} } +func (m *GetParentalStatusViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetParentalStatusViewRequest) ProtoMessage() {} +func (*GetParentalStatusViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_parental_status_view_service_fcecbf1aee57b976, []int{0} +} +func (m *GetParentalStatusViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetParentalStatusViewRequest.Unmarshal(m, b) +} +func (m *GetParentalStatusViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetParentalStatusViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetParentalStatusViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetParentalStatusViewRequest.Merge(dst, src) +} +func (m *GetParentalStatusViewRequest) XXX_Size() int { + return xxx_messageInfo_GetParentalStatusViewRequest.Size(m) +} +func (m *GetParentalStatusViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetParentalStatusViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetParentalStatusViewRequest proto.InternalMessageInfo + +func (m *GetParentalStatusViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetParentalStatusViewRequest)(nil), "google.ads.googleads.v0.services.GetParentalStatusViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ParentalStatusViewServiceClient is the client API for ParentalStatusViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ParentalStatusViewServiceClient interface { + // Returns the requested parental status view in full detail. + GetParentalStatusView(ctx context.Context, in *GetParentalStatusViewRequest, opts ...grpc.CallOption) (*resources.ParentalStatusView, error) +} + +type parentalStatusViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewParentalStatusViewServiceClient(cc *grpc.ClientConn) ParentalStatusViewServiceClient { + return &parentalStatusViewServiceClient{cc} +} + +func (c *parentalStatusViewServiceClient) GetParentalStatusView(ctx context.Context, in *GetParentalStatusViewRequest, opts ...grpc.CallOption) (*resources.ParentalStatusView, error) { + out := new(resources.ParentalStatusView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ParentalStatusViewService/GetParentalStatusView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ParentalStatusViewServiceServer is the server API for ParentalStatusViewService service. +type ParentalStatusViewServiceServer interface { + // Returns the requested parental status view in full detail. + GetParentalStatusView(context.Context, *GetParentalStatusViewRequest) (*resources.ParentalStatusView, error) +} + +func RegisterParentalStatusViewServiceServer(s *grpc.Server, srv ParentalStatusViewServiceServer) { + s.RegisterService(&_ParentalStatusViewService_serviceDesc, srv) +} + +func _ParentalStatusViewService_GetParentalStatusView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetParentalStatusViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ParentalStatusViewServiceServer).GetParentalStatusView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.ParentalStatusViewService/GetParentalStatusView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ParentalStatusViewServiceServer).GetParentalStatusView(ctx, req.(*GetParentalStatusViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ParentalStatusViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.ParentalStatusViewService", + HandlerType: (*ParentalStatusViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetParentalStatusView", + Handler: _ParentalStatusViewService_GetParentalStatusView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/parental_status_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/parental_status_view_service.proto", fileDescriptor_parental_status_view_service_fcecbf1aee57b976) +} + +var fileDescriptor_parental_status_view_service_fcecbf1aee57b976 = []byte{ + // 354 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xeb, 0x40, + 0x14, 0x26, 0xbd, 0x70, 0xe1, 0x86, 0xeb, 0x26, 0x20, 0x68, 0x29, 0x52, 0xaa, 0x0b, 0xe9, 0x62, + 0x26, 0x28, 0xc5, 0x85, 0x56, 0x48, 0xbb, 0xa8, 0x2b, 0x29, 0x2d, 0x74, 0x21, 0x81, 0x30, 0x36, + 0x87, 0x10, 0x68, 0x66, 0xe2, 0x9c, 0x49, 0xba, 0x10, 0x37, 0xbe, 0x82, 0x6f, 0xe0, 0xd2, 0x47, + 0x11, 0x5c, 0xb9, 0x77, 0xe5, 0xce, 0x97, 0x90, 0x74, 0x32, 0x11, 0xa9, 0xb1, 0xbb, 0x8f, 0xcc, + 0xf9, 0x7e, 0xce, 0x77, 0x62, 0x0f, 0x23, 0x21, 0xa2, 0x05, 0x50, 0x16, 0x22, 0xd5, 0xb0, 0x40, + 0xb9, 0x4b, 0x11, 0x64, 0x1e, 0xcf, 0x01, 0x69, 0xca, 0x24, 0x70, 0xc5, 0x16, 0x01, 0x2a, 0xa6, + 0x32, 0x0c, 0xf2, 0x18, 0x96, 0x41, 0xf9, 0x4a, 0x52, 0x29, 0x94, 0x70, 0xda, 0x9a, 0x49, 0x58, + 0x88, 0xa4, 0x12, 0x21, 0xb9, 0x4b, 0x8c, 0x48, 0xf3, 0xac, 0xce, 0x46, 0x02, 0x8a, 0x4c, 0xd6, + 0xf9, 0x68, 0xfd, 0x66, 0xcb, 0xb0, 0xd3, 0x98, 0x32, 0xce, 0x85, 0x62, 0x2a, 0x16, 0x1c, 0xf5, + 0x6b, 0x67, 0x68, 0xb7, 0x46, 0xa0, 0xc6, 0x25, 0x7d, 0xba, 0x62, 0xcf, 0x62, 0x58, 0x4e, 0xe0, + 0x26, 0x03, 0x54, 0xce, 0xbe, 0xbd, 0x65, 0x5c, 0x02, 0xce, 0x12, 0xd8, 0xb1, 0xda, 0xd6, 0xe1, + 0xbf, 0xc9, 0x7f, 0xf3, 0xf1, 0x92, 0x25, 0x70, 0xf4, 0x61, 0xd9, 0xbb, 0xeb, 0x12, 0x53, 0x9d, + 0xdf, 0x79, 0xb1, 0xec, 0xed, 0x1f, 0x3d, 0x9c, 0x73, 0xb2, 0x69, 0x77, 0xf2, 0x5b, 0xb8, 0x66, + 0xaf, 0x96, 0x5f, 0x35, 0x43, 0xd6, 0xd9, 0x9d, 0xfe, 0xfd, 0xeb, 0xfb, 0x43, 0xe3, 0xc4, 0xe9, + 0x15, 0x1d, 0xde, 0x7e, 0x5b, 0xaf, 0x3f, 0xcf, 0x50, 0x89, 0x04, 0x24, 0xd2, 0x6e, 0x55, 0xea, + 0x17, 0x15, 0x69, 0xf7, 0x6e, 0xf0, 0x66, 0xd9, 0x07, 0x73, 0x91, 0x6c, 0xcc, 0x3e, 0xd8, 0xab, + 0xed, 0x64, 0x5c, 0x74, 0x3f, 0xb6, 0xae, 0x2e, 0x4a, 0x8d, 0x48, 0x2c, 0x18, 0x8f, 0x88, 0x90, + 0x11, 0x8d, 0x80, 0xaf, 0x2e, 0x63, 0x2e, 0x9d, 0xc6, 0x58, 0xff, 0x7f, 0x9d, 0x1a, 0xf0, 0xd8, + 0xf8, 0x33, 0xf2, 0xbc, 0xa7, 0x46, 0x7b, 0xa4, 0x05, 0xbd, 0x10, 0x89, 0x86, 0x05, 0x9a, 0xb9, + 0xa4, 0x34, 0xc6, 0x67, 0x33, 0xe2, 0x7b, 0x21, 0xfa, 0xd5, 0x88, 0x3f, 0x73, 0x7d, 0x33, 0x72, + 0xfd, 0x77, 0x15, 0xe0, 0xf8, 0x33, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x73, 0x70, 0xbc, 0xdf, 0x02, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/payments_account_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/payments_account_service.pb.go new file mode 100644 index 000000000..c51f45d4c --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/payments_account_service.pb.go @@ -0,0 +1,221 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/payments_account_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for fetching all accessible Payments accounts. +type ListPaymentsAccountsRequest struct { + // The ID of the customer to apply the PaymentsAccount list operation to. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPaymentsAccountsRequest) Reset() { *m = ListPaymentsAccountsRequest{} } +func (m *ListPaymentsAccountsRequest) String() string { return proto.CompactTextString(m) } +func (*ListPaymentsAccountsRequest) ProtoMessage() {} +func (*ListPaymentsAccountsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_payments_account_service_d2fbd04f0a12b5c5, []int{0} +} +func (m *ListPaymentsAccountsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPaymentsAccountsRequest.Unmarshal(m, b) +} +func (m *ListPaymentsAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPaymentsAccountsRequest.Marshal(b, m, deterministic) +} +func (dst *ListPaymentsAccountsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPaymentsAccountsRequest.Merge(dst, src) +} +func (m *ListPaymentsAccountsRequest) XXX_Size() int { + return xxx_messageInfo_ListPaymentsAccountsRequest.Size(m) +} +func (m *ListPaymentsAccountsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListPaymentsAccountsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListPaymentsAccountsRequest proto.InternalMessageInfo + +func (m *ListPaymentsAccountsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +// Response message for [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v0.services.PaymentsAccountService.ListPaymentsAccounts]. +type ListPaymentsAccountsResponse struct { + // The list of accessible Payments accounts. + PaymentsAccounts []*resources.PaymentsAccount `protobuf:"bytes,1,rep,name=payments_accounts,json=paymentsAccounts,proto3" json:"payments_accounts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPaymentsAccountsResponse) Reset() { *m = ListPaymentsAccountsResponse{} } +func (m *ListPaymentsAccountsResponse) String() string { return proto.CompactTextString(m) } +func (*ListPaymentsAccountsResponse) ProtoMessage() {} +func (*ListPaymentsAccountsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_payments_account_service_d2fbd04f0a12b5c5, []int{1} +} +func (m *ListPaymentsAccountsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPaymentsAccountsResponse.Unmarshal(m, b) +} +func (m *ListPaymentsAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPaymentsAccountsResponse.Marshal(b, m, deterministic) +} +func (dst *ListPaymentsAccountsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPaymentsAccountsResponse.Merge(dst, src) +} +func (m *ListPaymentsAccountsResponse) XXX_Size() int { + return xxx_messageInfo_ListPaymentsAccountsResponse.Size(m) +} +func (m *ListPaymentsAccountsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListPaymentsAccountsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListPaymentsAccountsResponse proto.InternalMessageInfo + +func (m *ListPaymentsAccountsResponse) GetPaymentsAccounts() []*resources.PaymentsAccount { + if m != nil { + return m.PaymentsAccounts + } + return nil +} + +func init() { + proto.RegisterType((*ListPaymentsAccountsRequest)(nil), "google.ads.googleads.v0.services.ListPaymentsAccountsRequest") + proto.RegisterType((*ListPaymentsAccountsResponse)(nil), "google.ads.googleads.v0.services.ListPaymentsAccountsResponse") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// PaymentsAccountServiceClient is the client API for PaymentsAccountService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type PaymentsAccountServiceClient interface { + // Returns all Payments accounts associated with all managers + // between the login customer ID and specified serving customer in the + // hierarchy, inclusive. + ListPaymentsAccounts(ctx context.Context, in *ListPaymentsAccountsRequest, opts ...grpc.CallOption) (*ListPaymentsAccountsResponse, error) +} + +type paymentsAccountServiceClient struct { + cc *grpc.ClientConn +} + +func NewPaymentsAccountServiceClient(cc *grpc.ClientConn) PaymentsAccountServiceClient { + return &paymentsAccountServiceClient{cc} +} + +func (c *paymentsAccountServiceClient) ListPaymentsAccounts(ctx context.Context, in *ListPaymentsAccountsRequest, opts ...grpc.CallOption) (*ListPaymentsAccountsResponse, error) { + out := new(ListPaymentsAccountsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.PaymentsAccountService/ListPaymentsAccounts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// PaymentsAccountServiceServer is the server API for PaymentsAccountService service. +type PaymentsAccountServiceServer interface { + // Returns all Payments accounts associated with all managers + // between the login customer ID and specified serving customer in the + // hierarchy, inclusive. + ListPaymentsAccounts(context.Context, *ListPaymentsAccountsRequest) (*ListPaymentsAccountsResponse, error) +} + +func RegisterPaymentsAccountServiceServer(s *grpc.Server, srv PaymentsAccountServiceServer) { + s.RegisterService(&_PaymentsAccountService_serviceDesc, srv) +} + +func _PaymentsAccountService_ListPaymentsAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListPaymentsAccountsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PaymentsAccountServiceServer).ListPaymentsAccounts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.PaymentsAccountService/ListPaymentsAccounts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PaymentsAccountServiceServer).ListPaymentsAccounts(ctx, req.(*ListPaymentsAccountsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _PaymentsAccountService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.PaymentsAccountService", + HandlerType: (*PaymentsAccountServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ListPaymentsAccounts", + Handler: _PaymentsAccountService_ListPaymentsAccounts_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/payments_account_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/payments_account_service.proto", fileDescriptor_payments_account_service_d2fbd04f0a12b5c5) +} + +var fileDescriptor_payments_account_service_d2fbd04f0a12b5c5 = []byte{ + // 379 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xc1, 0x4a, 0xeb, 0x40, + 0x14, 0x65, 0x5a, 0x78, 0xf0, 0xa6, 0x9b, 0xf7, 0xc2, 0xe3, 0x51, 0xda, 0x82, 0xa1, 0xb8, 0x28, + 0x2e, 0x66, 0x42, 0x05, 0x11, 0xa4, 0x95, 0x74, 0x53, 0x05, 0x17, 0xa5, 0x42, 0x17, 0x12, 0x08, + 0x63, 0x32, 0x84, 0x40, 0x3b, 0x13, 0x73, 0x27, 0x05, 0x11, 0x11, 0xfc, 0x05, 0xff, 0xc0, 0xa5, + 0x9f, 0x22, 0xb8, 0x72, 0xe9, 0xd6, 0x85, 0x9f, 0x21, 0xe9, 0x64, 0x8a, 0x84, 0xd4, 0x82, 0xbb, + 0xc3, 0xcc, 0x3d, 0xe7, 0xdc, 0x7b, 0xee, 0xc5, 0xc7, 0x91, 0x94, 0xd1, 0x9c,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, 0xf4, 0xe6, 0x4b, 0xd2, 0x83, 0xbd, 0x5b, 0x5a, 0x1e, 0x75, 0xf4, 0x86, + 0xf0, 0x6e, 0x20, 0x17, 0x5b, 0xdd, 0x47, 0xed, 0xea, 0x40, 0x26, 0xf9, 0xc6, 0x27, 0xe8, 0xe2, + 0xa4, 0x10, 0x88, 0xe4, 0x9c, 0x89, 0x88, 0xc8, 0x34, 0xa2, 0x11, 0x17, 0xab, 0x7b, 0x30, 0xb7, + 0x95, 0xc4, 0xb0, 0xf9, 0x9a, 0x8f, 0x0c, 0x78, 0xac, 0xd5, 0xc7, 0xae, 0xfb, 0x54, 0xb3, 0xc7, + 0x5a, 0xd0, 0x0d, 0x81, 0x68, 0x98, 0xa3, 0x99, 0x43, 0x0a, 0x63, 0x78, 0x36, 0x25, 0x9e, 0x1b, + 0x82, 0xb7, 0x2e, 0xf1, 0x66, 0x8e, 0x67, 0x4a, 0x2e, 0x7f, 0xad, 0x1a, 0xd8, 0xff, 0x0c, 0x00, + 0x00, 0xff, 0xff, 0xd6, 0x61, 0x59, 0x7c, 0x4d, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/product_group_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/product_group_view_service.pb.go new file mode 100644 index 000000000..6e0e0e2fd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/product_group_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/product_group_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v0.services.ProductGroupViewService.GetProductGroupView]. +type GetProductGroupViewRequest struct { + // The resource name of the product group view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetProductGroupViewRequest) Reset() { *m = GetProductGroupViewRequest{} } +func (m *GetProductGroupViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetProductGroupViewRequest) ProtoMessage() {} +func (*GetProductGroupViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_group_view_service_f4b2d412721c0b18, []int{0} +} +func (m *GetProductGroupViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetProductGroupViewRequest.Unmarshal(m, b) +} +func (m *GetProductGroupViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetProductGroupViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetProductGroupViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetProductGroupViewRequest.Merge(dst, src) +} +func (m *GetProductGroupViewRequest) XXX_Size() int { + return xxx_messageInfo_GetProductGroupViewRequest.Size(m) +} +func (m *GetProductGroupViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetProductGroupViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetProductGroupViewRequest proto.InternalMessageInfo + +func (m *GetProductGroupViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetProductGroupViewRequest)(nil), "google.ads.googleads.v0.services.GetProductGroupViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ProductGroupViewServiceClient is the client API for ProductGroupViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ProductGroupViewServiceClient interface { + // Returns the requested product group view in full detail. + GetProductGroupView(ctx context.Context, in *GetProductGroupViewRequest, opts ...grpc.CallOption) (*resources.ProductGroupView, error) +} + +type productGroupViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewProductGroupViewServiceClient(cc *grpc.ClientConn) ProductGroupViewServiceClient { + return &productGroupViewServiceClient{cc} +} + +func (c *productGroupViewServiceClient) GetProductGroupView(ctx context.Context, in *GetProductGroupViewRequest, opts ...grpc.CallOption) (*resources.ProductGroupView, error) { + out := new(resources.ProductGroupView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.ProductGroupViewService/GetProductGroupView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ProductGroupViewServiceServer is the server API for ProductGroupViewService service. +type ProductGroupViewServiceServer interface { + // Returns the requested product group view in full detail. + GetProductGroupView(context.Context, *GetProductGroupViewRequest) (*resources.ProductGroupView, error) +} + +func RegisterProductGroupViewServiceServer(s *grpc.Server, srv ProductGroupViewServiceServer) { + s.RegisterService(&_ProductGroupViewService_serviceDesc, srv) +} + +func _ProductGroupViewService_GetProductGroupView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetProductGroupViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductGroupViewServiceServer).GetProductGroupView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.ProductGroupViewService/GetProductGroupView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductGroupViewServiceServer).GetProductGroupView(ctx, req.(*GetProductGroupViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ProductGroupViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.ProductGroupViewService", + HandlerType: (*ProductGroupViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetProductGroupView", + Handler: _ProductGroupViewService_GetProductGroupView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/product_group_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/product_group_view_service.proto", fileDescriptor_product_group_view_service_f4b2d412721c0b18) +} + +var fileDescriptor_product_group_view_service_f4b2d412721c0b18 = []byte{ + // 348 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3f, 0x4b, 0xc3, 0x40, + 0x14, 0x27, 0x15, 0x04, 0x83, 0x2e, 0x71, 0x50, 0x42, 0x87, 0x52, 0x1d, 0xa4, 0xc3, 0x5d, 0xb0, + 0xb8, 0x58, 0x1d, 0xd2, 0x25, 0x4e, 0x52, 0x2a, 0x74, 0x90, 0x40, 0x38, 0x93, 0xe3, 0x08, 0x34, + 0x79, 0xf1, 0xde, 0x25, 0x1d, 0xc4, 0xc5, 0xaf, 0xe0, 0x37, 0x70, 0xf4, 0x7b, 0xb8, 0xb8, 0xba, + 0xba, 0x08, 0x7e, 0x10, 0x49, 0xaf, 0x17, 0xb0, 0x34, 0x74, 0xfb, 0x91, 0x7b, 0xbf, 0x3f, 0xef, + 0xf7, 0x62, 0xfb, 0x02, 0x40, 0xcc, 0x39, 0x65, 0x09, 0x52, 0x0d, 0x6b, 0x54, 0x79, 0x14, 0xb9, + 0xac, 0xd2, 0x98, 0x23, 0x2d, 0x24, 0x24, 0x65, 0xac, 0x22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0xb9, 0x6c, 0x91, 0x62, 0xfb, 0xdf, 0x34, 0x32, 0xe0, 0xad, 0xb3, 0x13, 0xf8, 0xfe, 0x7b, 0xa7, + 0x17, 0x68, 0x41, 0x3f, 0x41, 0xa2, 0x61, 0x8d, 0x66, 0x1e, 0x59, 0x19, 0xe3, 0xa7, 0x19, 0x09, + 0xfd, 0x04, 0xc3, 0x66, 0x24, 0x9c, 0x79, 0xa1, 0x19, 0x79, 0xd8, 0x5d, 0x06, 0x18, 0xfe, 0x05, + 0x00, 0x00, 0xff, 0xff, 0xc2, 0xc3, 0x37, 0x48, 0xcd, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/recommendation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/recommendation_service.pb.go new file mode 100644 index 000000000..6d6b30102 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/recommendation_service.pb.go @@ -0,0 +1,1094 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/recommendation_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrappers "github.com/golang/protobuf/ptypes/wrappers" +import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import status "google.golang.org/genproto/googleapis/rpc/status" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [RecommendationService.GetRecommendation][google.ads.googleads.v0.services.RecommendationService.GetRecommendation]. +type GetRecommendationRequest struct { + // The resource name of the recommendation to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetRecommendationRequest) Reset() { *m = GetRecommendationRequest{} } +func (m *GetRecommendationRequest) String() string { return proto.CompactTextString(m) } +func (*GetRecommendationRequest) ProtoMessage() {} +func (*GetRecommendationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{0} +} +func (m *GetRecommendationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRecommendationRequest.Unmarshal(m, b) +} +func (m *GetRecommendationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRecommendationRequest.Marshal(b, m, deterministic) +} +func (dst *GetRecommendationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRecommendationRequest.Merge(dst, src) +} +func (m *GetRecommendationRequest) XXX_Size() int { + return xxx_messageInfo_GetRecommendationRequest.Size(m) +} +func (m *GetRecommendationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRecommendationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRecommendationRequest proto.InternalMessageInfo + +func (m *GetRecommendationRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v0.services.RecommendationService.ApplyRecommendation]. +type ApplyRecommendationRequest struct { + // The ID of the customer with the recommendation. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // If true, successful operations will be carried out and invalid + // operations will return errors. If false, operations will be carried + // out as a transaction if and only if they are all valid. + // Default is false. + PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` + // The list of operations to apply recommendations. + // If partial_failure=false all recommendations should be of the same type + // There is a limit of 100 operations per request. + Operations []*ApplyRecommendationOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationRequest) Reset() { *m = ApplyRecommendationRequest{} } +func (m *ApplyRecommendationRequest) String() string { return proto.CompactTextString(m) } +func (*ApplyRecommendationRequest) ProtoMessage() {} +func (*ApplyRecommendationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{1} +} +func (m *ApplyRecommendationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationRequest.Unmarshal(m, b) +} +func (m *ApplyRecommendationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationRequest.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationRequest.Merge(dst, src) +} +func (m *ApplyRecommendationRequest) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationRequest.Size(m) +} +func (m *ApplyRecommendationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationRequest proto.InternalMessageInfo + +func (m *ApplyRecommendationRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *ApplyRecommendationRequest) GetPartialFailure() bool { + if m != nil { + return m.PartialFailure + } + return false +} + +func (m *ApplyRecommendationRequest) GetOperations() []*ApplyRecommendationOperation { + if m != nil { + return m.Operations + } + return nil +} + +// Information about the operation to apply a recommendation and any parameters +// to +// customize it. +type ApplyRecommendationOperation struct { + // The resource name of the recommendation to apply. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // Parameters to use when applying the recommendation. + // + // Types that are valid to be assigned to ApplyParameters: + // *ApplyRecommendationOperation_CampaignBudget + // *ApplyRecommendationOperation_TextAd + // *ApplyRecommendationOperation_Keyword + // *ApplyRecommendationOperation_TargetCpaOptIn + ApplyParameters isApplyRecommendationOperation_ApplyParameters `protobuf_oneof:"apply_parameters"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationOperation) Reset() { *m = ApplyRecommendationOperation{} } +func (m *ApplyRecommendationOperation) String() string { return proto.CompactTextString(m) } +func (*ApplyRecommendationOperation) ProtoMessage() {} +func (*ApplyRecommendationOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{2} +} +func (m *ApplyRecommendationOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationOperation.Unmarshal(m, b) +} +func (m *ApplyRecommendationOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationOperation.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationOperation.Merge(dst, src) +} +func (m *ApplyRecommendationOperation) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationOperation.Size(m) +} +func (m *ApplyRecommendationOperation) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationOperation proto.InternalMessageInfo + +func (m *ApplyRecommendationOperation) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +type isApplyRecommendationOperation_ApplyParameters interface { + isApplyRecommendationOperation_ApplyParameters() +} + +type ApplyRecommendationOperation_CampaignBudget struct { + CampaignBudget *ApplyRecommendationOperation_CampaignBudgetParameters `protobuf:"bytes,2,opt,name=campaign_budget,json=campaignBudget,proto3,oneof"` +} + +type ApplyRecommendationOperation_TextAd struct { + TextAd *ApplyRecommendationOperation_TextAdParameters `protobuf:"bytes,3,opt,name=text_ad,json=textAd,proto3,oneof"` +} + +type ApplyRecommendationOperation_Keyword struct { + Keyword *ApplyRecommendationOperation_KeywordParameters `protobuf:"bytes,4,opt,name=keyword,proto3,oneof"` +} + +type ApplyRecommendationOperation_TargetCpaOptIn struct { + TargetCpaOptIn *ApplyRecommendationOperation_TargetCpaOptInParameters `protobuf:"bytes,5,opt,name=target_cpa_opt_in,json=targetCpaOptIn,proto3,oneof"` +} + +func (*ApplyRecommendationOperation_CampaignBudget) isApplyRecommendationOperation_ApplyParameters() {} + +func (*ApplyRecommendationOperation_TextAd) isApplyRecommendationOperation_ApplyParameters() {} + +func (*ApplyRecommendationOperation_Keyword) isApplyRecommendationOperation_ApplyParameters() {} + +func (*ApplyRecommendationOperation_TargetCpaOptIn) isApplyRecommendationOperation_ApplyParameters() {} + +func (m *ApplyRecommendationOperation) GetApplyParameters() isApplyRecommendationOperation_ApplyParameters { + if m != nil { + return m.ApplyParameters + } + return nil +} + +func (m *ApplyRecommendationOperation) GetCampaignBudget() *ApplyRecommendationOperation_CampaignBudgetParameters { + if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_CampaignBudget); ok { + return x.CampaignBudget + } + return nil +} + +func (m *ApplyRecommendationOperation) GetTextAd() *ApplyRecommendationOperation_TextAdParameters { + if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_TextAd); ok { + return x.TextAd + } + return nil +} + +func (m *ApplyRecommendationOperation) GetKeyword() *ApplyRecommendationOperation_KeywordParameters { + if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_Keyword); ok { + return x.Keyword + } + return nil +} + +func (m *ApplyRecommendationOperation) GetTargetCpaOptIn() *ApplyRecommendationOperation_TargetCpaOptInParameters { + if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_TargetCpaOptIn); ok { + return x.TargetCpaOptIn + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ApplyRecommendationOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ApplyRecommendationOperation_OneofMarshaler, _ApplyRecommendationOperation_OneofUnmarshaler, _ApplyRecommendationOperation_OneofSizer, []interface{}{ + (*ApplyRecommendationOperation_CampaignBudget)(nil), + (*ApplyRecommendationOperation_TextAd)(nil), + (*ApplyRecommendationOperation_Keyword)(nil), + (*ApplyRecommendationOperation_TargetCpaOptIn)(nil), + } +} + +func _ApplyRecommendationOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ApplyRecommendationOperation) + // apply_parameters + switch x := m.ApplyParameters.(type) { + case *ApplyRecommendationOperation_CampaignBudget: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CampaignBudget); err != nil { + return err + } + case *ApplyRecommendationOperation_TextAd: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TextAd); err != nil { + return err + } + case *ApplyRecommendationOperation_Keyword: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Keyword); err != nil { + return err + } + case *ApplyRecommendationOperation_TargetCpaOptIn: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TargetCpaOptIn); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ApplyRecommendationOperation.ApplyParameters has unexpected type %T", x) + } + return nil +} + +func _ApplyRecommendationOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ApplyRecommendationOperation) + switch tag { + case 2: // apply_parameters.campaign_budget + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ApplyRecommendationOperation_CampaignBudgetParameters) + err := b.DecodeMessage(msg) + m.ApplyParameters = &ApplyRecommendationOperation_CampaignBudget{msg} + return true, err + case 3: // apply_parameters.text_ad + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ApplyRecommendationOperation_TextAdParameters) + err := b.DecodeMessage(msg) + m.ApplyParameters = &ApplyRecommendationOperation_TextAd{msg} + return true, err + case 4: // apply_parameters.keyword + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ApplyRecommendationOperation_KeywordParameters) + err := b.DecodeMessage(msg) + m.ApplyParameters = &ApplyRecommendationOperation_Keyword{msg} + return true, err + case 5: // apply_parameters.target_cpa_opt_in + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ApplyRecommendationOperation_TargetCpaOptInParameters) + err := b.DecodeMessage(msg) + m.ApplyParameters = &ApplyRecommendationOperation_TargetCpaOptIn{msg} + return true, err + default: + return false, nil + } +} + +func _ApplyRecommendationOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ApplyRecommendationOperation) + // apply_parameters + switch x := m.ApplyParameters.(type) { + case *ApplyRecommendationOperation_CampaignBudget: + s := proto.Size(x.CampaignBudget) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ApplyRecommendationOperation_TextAd: + s := proto.Size(x.TextAd) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ApplyRecommendationOperation_Keyword: + s := proto.Size(x.Keyword) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ApplyRecommendationOperation_TargetCpaOptIn: + s := proto.Size(x.TargetCpaOptIn) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Parameters to use when applying a campaign budget recommendation. +type ApplyRecommendationOperation_CampaignBudgetParameters struct { + // New budget amount to set for target budget resource. This is a required + // field. + NewBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=new_budget_amount_micros,json=newBudgetAmountMicros,proto3" json:"new_budget_amount_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) Reset() { + *m = ApplyRecommendationOperation_CampaignBudgetParameters{} +} +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) String() string { + return proto.CompactTextString(m) +} +func (*ApplyRecommendationOperation_CampaignBudgetParameters) ProtoMessage() {} +func (*ApplyRecommendationOperation_CampaignBudgetParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{2, 0} +} +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.Unmarshal(m, b) +} +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.Merge(dst, src) +} +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.Size(m) +} +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters proto.InternalMessageInfo + +func (m *ApplyRecommendationOperation_CampaignBudgetParameters) GetNewBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.NewBudgetAmountMicros + } + return nil +} + +// Parameters to use when applying a text ad recommendation. +type ApplyRecommendationOperation_TextAdParameters struct { + // New ad to add to recommended ad group. All necessary fields need to be + // set in this message. This is a required field. + Ad *resources.Ad `protobuf:"bytes,1,opt,name=ad,proto3" json:"ad,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationOperation_TextAdParameters) Reset() { + *m = ApplyRecommendationOperation_TextAdParameters{} +} +func (m *ApplyRecommendationOperation_TextAdParameters) String() string { + return proto.CompactTextString(m) +} +func (*ApplyRecommendationOperation_TextAdParameters) ProtoMessage() {} +func (*ApplyRecommendationOperation_TextAdParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{2, 1} +} +func (m *ApplyRecommendationOperation_TextAdParameters) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.Unmarshal(m, b) +} +func (m *ApplyRecommendationOperation_TextAdParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationOperation_TextAdParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.Merge(dst, src) +} +func (m *ApplyRecommendationOperation_TextAdParameters) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.Size(m) +} +func (m *ApplyRecommendationOperation_TextAdParameters) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters proto.InternalMessageInfo + +func (m *ApplyRecommendationOperation_TextAdParameters) GetAd() *resources.Ad { + if m != nil { + return m.Ad + } + return nil +} + +// Parameters to use when applying keyword recommendation. +type ApplyRecommendationOperation_KeywordParameters struct { + // The ad group resource to add keyword to. This is a required field. + AdGroup *wrappers.StringValue `protobuf:"bytes,1,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` + // The match type of the keyword. This is a required field. + MatchType enums.KeywordMatchTypeEnum_KeywordMatchType `protobuf:"varint,2,opt,name=match_type,json=matchType,proto3,enum=google.ads.googleads.v0.enums.KeywordMatchTypeEnum_KeywordMatchType" json:"match_type,omitempty"` + // Optional, CPC bid to set for the keyword. If not set, keyword will use + // bid based on bidding strategy used by target ad group. + CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationOperation_KeywordParameters) Reset() { + *m = ApplyRecommendationOperation_KeywordParameters{} +} +func (m *ApplyRecommendationOperation_KeywordParameters) String() string { + return proto.CompactTextString(m) +} +func (*ApplyRecommendationOperation_KeywordParameters) ProtoMessage() {} +func (*ApplyRecommendationOperation_KeywordParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{2, 2} +} +func (m *ApplyRecommendationOperation_KeywordParameters) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.Unmarshal(m, b) +} +func (m *ApplyRecommendationOperation_KeywordParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationOperation_KeywordParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.Merge(dst, src) +} +func (m *ApplyRecommendationOperation_KeywordParameters) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.Size(m) +} +func (m *ApplyRecommendationOperation_KeywordParameters) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters proto.InternalMessageInfo + +func (m *ApplyRecommendationOperation_KeywordParameters) GetAdGroup() *wrappers.StringValue { + if m != nil { + return m.AdGroup + } + return nil +} + +func (m *ApplyRecommendationOperation_KeywordParameters) GetMatchType() enums.KeywordMatchTypeEnum_KeywordMatchType { + if m != nil { + return m.MatchType + } + return enums.KeywordMatchTypeEnum_UNSPECIFIED +} + +func (m *ApplyRecommendationOperation_KeywordParameters) GetCpcBidMicros() *wrappers.Int64Value { + if m != nil { + return m.CpcBidMicros + } + return nil +} + +// Parameters to use when applying Target CPA recommendation. +type ApplyRecommendationOperation_TargetCpaOptInParameters struct { + // Average CPA to use for Target CPA bidding strategy. This is a required + // field. + TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_micros,omitempty"` + // Optional, budget amount to set for the campaign. + NewCampaignBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=new_campaign_budget_amount_micros,json=newCampaignBudgetAmountMicros,proto3" json:"new_campaign_budget_amount_micros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) Reset() { + *m = ApplyRecommendationOperation_TargetCpaOptInParameters{} +} +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) String() string { + return proto.CompactTextString(m) +} +func (*ApplyRecommendationOperation_TargetCpaOptInParameters) ProtoMessage() {} +func (*ApplyRecommendationOperation_TargetCpaOptInParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{2, 3} +} +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.Unmarshal(m, b) +} +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.Merge(dst, src) +} +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.Size(m) +} +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters proto.InternalMessageInfo + +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) GetTargetCpaMicros() *wrappers.Int64Value { + if m != nil { + return m.TargetCpaMicros + } + return nil +} + +func (m *ApplyRecommendationOperation_TargetCpaOptInParameters) GetNewCampaignBudgetAmountMicros() *wrappers.Int64Value { + if m != nil { + return m.NewCampaignBudgetAmountMicros + } + return nil +} + +// Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v0.services.RecommendationService.ApplyRecommendation]. +type ApplyRecommendationResponse struct { + // Results of operations to apply recommendations. + Results []*ApplyRecommendationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + // Errors that pertain to operation failures in the partial failure mode. + // Returned only when partial_failure = true and all errors occur inside the + // operations. If any errors occur outside the operations (e.g. auth errors) + // we return the RPC level error. + PartialFailureError *status.Status `protobuf:"bytes,2,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationResponse) Reset() { *m = ApplyRecommendationResponse{} } +func (m *ApplyRecommendationResponse) String() string { return proto.CompactTextString(m) } +func (*ApplyRecommendationResponse) ProtoMessage() {} +func (*ApplyRecommendationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{3} +} +func (m *ApplyRecommendationResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationResponse.Unmarshal(m, b) +} +func (m *ApplyRecommendationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationResponse.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationResponse.Merge(dst, src) +} +func (m *ApplyRecommendationResponse) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationResponse.Size(m) +} +func (m *ApplyRecommendationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationResponse proto.InternalMessageInfo + +func (m *ApplyRecommendationResponse) GetResults() []*ApplyRecommendationResult { + if m != nil { + return m.Results + } + return nil +} + +func (m *ApplyRecommendationResponse) GetPartialFailureError() *status.Status { + if m != nil { + return m.PartialFailureError + } + return nil +} + +// The result of applying a recommendation. +type ApplyRecommendationResult struct { + // Returned for successful applies. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyRecommendationResult) Reset() { *m = ApplyRecommendationResult{} } +func (m *ApplyRecommendationResult) String() string { return proto.CompactTextString(m) } +func (*ApplyRecommendationResult) ProtoMessage() {} +func (*ApplyRecommendationResult) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{4} +} +func (m *ApplyRecommendationResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyRecommendationResult.Unmarshal(m, b) +} +func (m *ApplyRecommendationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyRecommendationResult.Marshal(b, m, deterministic) +} +func (dst *ApplyRecommendationResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyRecommendationResult.Merge(dst, src) +} +func (m *ApplyRecommendationResult) XXX_Size() int { + return xxx_messageInfo_ApplyRecommendationResult.Size(m) +} +func (m *ApplyRecommendationResult) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyRecommendationResult.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyRecommendationResult proto.InternalMessageInfo + +func (m *ApplyRecommendationResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [RecommendationService.DismissRecommendation][google.ads.googleads.v0.services.RecommendationService.DismissRecommendation]. +type DismissRecommendationRequest struct { + // The ID of the customer with the recommendation. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // If true, successful operations will be carried out and invalid + // operations will return errors. If false, operations will be carried in a + // single transaction if and only if they are all valid. + // Default is false. + PartialFailure bool `protobuf:"varint,2,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` + // The list of operations to dismiss recommendations. + // If partial_failure=false all recommendations should be of the same type + // There is a limit of 100 operations per request. + Operations []*DismissRecommendationRequest_DismissRecommendationOperation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DismissRecommendationRequest) Reset() { *m = DismissRecommendationRequest{} } +func (m *DismissRecommendationRequest) String() string { return proto.CompactTextString(m) } +func (*DismissRecommendationRequest) ProtoMessage() {} +func (*DismissRecommendationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{5} +} +func (m *DismissRecommendationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismissRecommendationRequest.Unmarshal(m, b) +} +func (m *DismissRecommendationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismissRecommendationRequest.Marshal(b, m, deterministic) +} +func (dst *DismissRecommendationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismissRecommendationRequest.Merge(dst, src) +} +func (m *DismissRecommendationRequest) XXX_Size() int { + return xxx_messageInfo_DismissRecommendationRequest.Size(m) +} +func (m *DismissRecommendationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismissRecommendationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DismissRecommendationRequest proto.InternalMessageInfo + +func (m *DismissRecommendationRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *DismissRecommendationRequest) GetPartialFailure() bool { + if m != nil { + return m.PartialFailure + } + return false +} + +func (m *DismissRecommendationRequest) GetOperations() []*DismissRecommendationRequest_DismissRecommendationOperation { + if m != nil { + return m.Operations + } + return nil +} + +// Operation to dismiss a single recommendation identified by resource_name. +type DismissRecommendationRequest_DismissRecommendationOperation struct { + // The resource name of the recommendation to dismiss. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DismissRecommendationRequest_DismissRecommendationOperation) Reset() { + *m = DismissRecommendationRequest_DismissRecommendationOperation{} +} +func (m *DismissRecommendationRequest_DismissRecommendationOperation) String() string { + return proto.CompactTextString(m) +} +func (*DismissRecommendationRequest_DismissRecommendationOperation) ProtoMessage() {} +func (*DismissRecommendationRequest_DismissRecommendationOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{5, 0} +} +func (m *DismissRecommendationRequest_DismissRecommendationOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.Unmarshal(m, b) +} +func (m *DismissRecommendationRequest_DismissRecommendationOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.Marshal(b, m, deterministic) +} +func (dst *DismissRecommendationRequest_DismissRecommendationOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.Merge(dst, src) +} +func (m *DismissRecommendationRequest_DismissRecommendationOperation) XXX_Size() int { + return xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.Size(m) +} +func (m *DismissRecommendationRequest_DismissRecommendationOperation) XXX_DiscardUnknown() { + xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation proto.InternalMessageInfo + +func (m *DismissRecommendationRequest_DismissRecommendationOperation) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Response message for [RecommendationService.DismissRecommendation][google.ads.googleads.v0.services.RecommendationService.DismissRecommendation]. +type DismissRecommendationResponse struct { + // Results of operations to dismiss recommendations. + Results []*DismissRecommendationResponse_DismissRecommendationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + // Errors that pertain to operation failures in the partial failure mode. + // Returned only when partial_failure = true and all errors occur inside the + // operations. If any errors occur outside the operations (e.g. auth errors) + // we return the RPC level error. + PartialFailureError *status.Status `protobuf:"bytes,2,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DismissRecommendationResponse) Reset() { *m = DismissRecommendationResponse{} } +func (m *DismissRecommendationResponse) String() string { return proto.CompactTextString(m) } +func (*DismissRecommendationResponse) ProtoMessage() {} +func (*DismissRecommendationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{6} +} +func (m *DismissRecommendationResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismissRecommendationResponse.Unmarshal(m, b) +} +func (m *DismissRecommendationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismissRecommendationResponse.Marshal(b, m, deterministic) +} +func (dst *DismissRecommendationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismissRecommendationResponse.Merge(dst, src) +} +func (m *DismissRecommendationResponse) XXX_Size() int { + return xxx_messageInfo_DismissRecommendationResponse.Size(m) +} +func (m *DismissRecommendationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismissRecommendationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DismissRecommendationResponse proto.InternalMessageInfo + +func (m *DismissRecommendationResponse) GetResults() []*DismissRecommendationResponse_DismissRecommendationResult { + if m != nil { + return m.Results + } + return nil +} + +func (m *DismissRecommendationResponse) GetPartialFailureError() *status.Status { + if m != nil { + return m.PartialFailureError + } + return nil +} + +// The result of dismissing a recommendation. +type DismissRecommendationResponse_DismissRecommendationResult struct { + // Returned for successful dismissals. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DismissRecommendationResponse_DismissRecommendationResult) Reset() { + *m = DismissRecommendationResponse_DismissRecommendationResult{} +} +func (m *DismissRecommendationResponse_DismissRecommendationResult) String() string { + return proto.CompactTextString(m) +} +func (*DismissRecommendationResponse_DismissRecommendationResult) ProtoMessage() {} +func (*DismissRecommendationResponse_DismissRecommendationResult) Descriptor() ([]byte, []int) { + return fileDescriptor_recommendation_service_1bae96df03faee01, []int{6, 0} +} +func (m *DismissRecommendationResponse_DismissRecommendationResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.Unmarshal(m, b) +} +func (m *DismissRecommendationResponse_DismissRecommendationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.Marshal(b, m, deterministic) +} +func (dst *DismissRecommendationResponse_DismissRecommendationResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.Merge(dst, src) +} +func (m *DismissRecommendationResponse_DismissRecommendationResult) XXX_Size() int { + return xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.Size(m) +} +func (m *DismissRecommendationResponse_DismissRecommendationResult) XXX_DiscardUnknown() { + xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.DiscardUnknown(m) +} + +var xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult proto.InternalMessageInfo + +func (m *DismissRecommendationResponse_DismissRecommendationResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetRecommendationRequest)(nil), "google.ads.googleads.v0.services.GetRecommendationRequest") + proto.RegisterType((*ApplyRecommendationRequest)(nil), "google.ads.googleads.v0.services.ApplyRecommendationRequest") + proto.RegisterType((*ApplyRecommendationOperation)(nil), "google.ads.googleads.v0.services.ApplyRecommendationOperation") + proto.RegisterType((*ApplyRecommendationOperation_CampaignBudgetParameters)(nil), "google.ads.googleads.v0.services.ApplyRecommendationOperation.CampaignBudgetParameters") + proto.RegisterType((*ApplyRecommendationOperation_TextAdParameters)(nil), "google.ads.googleads.v0.services.ApplyRecommendationOperation.TextAdParameters") + proto.RegisterType((*ApplyRecommendationOperation_KeywordParameters)(nil), "google.ads.googleads.v0.services.ApplyRecommendationOperation.KeywordParameters") + proto.RegisterType((*ApplyRecommendationOperation_TargetCpaOptInParameters)(nil), "google.ads.googleads.v0.services.ApplyRecommendationOperation.TargetCpaOptInParameters") + proto.RegisterType((*ApplyRecommendationResponse)(nil), "google.ads.googleads.v0.services.ApplyRecommendationResponse") + proto.RegisterType((*ApplyRecommendationResult)(nil), "google.ads.googleads.v0.services.ApplyRecommendationResult") + proto.RegisterType((*DismissRecommendationRequest)(nil), "google.ads.googleads.v0.services.DismissRecommendationRequest") + proto.RegisterType((*DismissRecommendationRequest_DismissRecommendationOperation)(nil), "google.ads.googleads.v0.services.DismissRecommendationRequest.DismissRecommendationOperation") + proto.RegisterType((*DismissRecommendationResponse)(nil), "google.ads.googleads.v0.services.DismissRecommendationResponse") + proto.RegisterType((*DismissRecommendationResponse_DismissRecommendationResult)(nil), "google.ads.googleads.v0.services.DismissRecommendationResponse.DismissRecommendationResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// RecommendationServiceClient is the client API for RecommendationService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type RecommendationServiceClient interface { + // Returns the requested recommendation in full detail. + GetRecommendation(ctx context.Context, in *GetRecommendationRequest, opts ...grpc.CallOption) (*resources.Recommendation, error) + // Applies given recommendations with corresponding apply parameters. + ApplyRecommendation(ctx context.Context, in *ApplyRecommendationRequest, opts ...grpc.CallOption) (*ApplyRecommendationResponse, error) + // Dismisses given recommendations. + DismissRecommendation(ctx context.Context, in *DismissRecommendationRequest, opts ...grpc.CallOption) (*DismissRecommendationResponse, error) +} + +type recommendationServiceClient struct { + cc *grpc.ClientConn +} + +func NewRecommendationServiceClient(cc *grpc.ClientConn) RecommendationServiceClient { + return &recommendationServiceClient{cc} +} + +func (c *recommendationServiceClient) GetRecommendation(ctx context.Context, in *GetRecommendationRequest, opts ...grpc.CallOption) (*resources.Recommendation, error) { + out := new(resources.Recommendation) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.RecommendationService/GetRecommendation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *recommendationServiceClient) ApplyRecommendation(ctx context.Context, in *ApplyRecommendationRequest, opts ...grpc.CallOption) (*ApplyRecommendationResponse, error) { + out := new(ApplyRecommendationResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.RecommendationService/ApplyRecommendation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *recommendationServiceClient) DismissRecommendation(ctx context.Context, in *DismissRecommendationRequest, opts ...grpc.CallOption) (*DismissRecommendationResponse, error) { + out := new(DismissRecommendationResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.RecommendationService/DismissRecommendation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RecommendationServiceServer is the server API for RecommendationService service. +type RecommendationServiceServer interface { + // Returns the requested recommendation in full detail. + GetRecommendation(context.Context, *GetRecommendationRequest) (*resources.Recommendation, error) + // Applies given recommendations with corresponding apply parameters. + ApplyRecommendation(context.Context, *ApplyRecommendationRequest) (*ApplyRecommendationResponse, error) + // Dismisses given recommendations. + DismissRecommendation(context.Context, *DismissRecommendationRequest) (*DismissRecommendationResponse, error) +} + +func RegisterRecommendationServiceServer(s *grpc.Server, srv RecommendationServiceServer) { + s.RegisterService(&_RecommendationService_serviceDesc, srv) +} + +func _RecommendationService_GetRecommendation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRecommendationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RecommendationServiceServer).GetRecommendation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.RecommendationService/GetRecommendation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RecommendationServiceServer).GetRecommendation(ctx, req.(*GetRecommendationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RecommendationService_ApplyRecommendation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ApplyRecommendationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RecommendationServiceServer).ApplyRecommendation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.RecommendationService/ApplyRecommendation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RecommendationServiceServer).ApplyRecommendation(ctx, req.(*ApplyRecommendationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RecommendationService_DismissRecommendation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DismissRecommendationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RecommendationServiceServer).DismissRecommendation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.RecommendationService/DismissRecommendation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RecommendationServiceServer).DismissRecommendation(ctx, req.(*DismissRecommendationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _RecommendationService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.RecommendationService", + HandlerType: (*RecommendationServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetRecommendation", + Handler: _RecommendationService_GetRecommendation_Handler, + }, + { + MethodName: "ApplyRecommendation", + Handler: _RecommendationService_ApplyRecommendation_Handler, + }, + { + MethodName: "DismissRecommendation", + Handler: _RecommendationService_DismissRecommendation_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/recommendation_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/recommendation_service.proto", fileDescriptor_recommendation_service_1bae96df03faee01) +} + +var fileDescriptor_recommendation_service_1bae96df03faee01 = []byte{ + // 1068 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xc1, 0x72, 0xdc, 0x44, + 0x10, 0x45, 0x32, 0x89, 0x93, 0x71, 0xb0, 0xe3, 0x49, 0xb9, 0x58, 0x64, 0x27, 0x2c, 0x02, 0x0a, + 0xd7, 0x1e, 0x24, 0x67, 0x4d, 0x0c, 0x38, 0xd8, 0xc9, 0x6e, 0xe2, 0x38, 0x2e, 0x2a, 0xd8, 0x25, + 0x1b, 0x53, 0x05, 0x06, 0xd5, 0x58, 0x9a, 0x08, 0xc1, 0x4a, 0x33, 0xcc, 0x8c, 0xec, 0xb8, 0x52, + 0xbe, 0xa4, 0xb8, 0x70, 0xe6, 0x0f, 0x72, 0xe4, 0xc0, 0x17, 0x00, 0x47, 0x0e, 0x39, 0xc2, 0x2d, + 0x67, 0x3e, 0x81, 0x0f, 0xa0, 0x34, 0x9a, 0x71, 0xac, 0xf5, 0xca, 0xbb, 0x78, 0xc3, 0x6d, 0x76, + 0xba, 0xfb, 0x75, 0xbf, 0xee, 0x9e, 0x6e, 0x2d, 0x58, 0x8a, 0x08, 0x89, 0x3a, 0xd8, 0x45, 0x21, + 0x77, 0x8b, 0x63, 0x7e, 0xda, 0x9b, 0x73, 0x39, 0x66, 0x7b, 0x71, 0x80, 0xb9, 0xcb, 0x70, 0x40, + 0x92, 0x04, 0xa7, 0x21, 0x12, 0x31, 0x49, 0x7d, 0x75, 0xef, 0x50, 0x46, 0x04, 0x81, 0xf5, 0xc2, + 0xc6, 0x41, 0x21, 0x77, 0x8e, 0xcc, 0x9d, 0xbd, 0x39, 0x47, 0x9b, 0x5b, 0x0b, 0x55, 0x0e, 0x70, + 0x9a, 0x25, 0xdc, 0xfd, 0x0e, 0x1f, 0xec, 0x13, 0x16, 0xfa, 0x09, 0x12, 0xc1, 0x37, 0xbe, 0x38, + 0xa0, 0x0a, 0xd9, 0x6a, 0x54, 0xd9, 0x31, 0xcc, 0x49, 0xc6, 0xf2, 0xc8, 0x50, 0xa8,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0, 0x33, 0x51, 0x68, 0xfd, 0x63, + 0x80, 0xc9, 0x13, 0x49, 0x86, 0x1f, 0x80, 0x0b, 0x28, 0xf4, 0x23, 0x46, 0x32, 0xaa, 0x20, 0x67, + 0x4e, 0x84, 0xb9, 0x29, 0x58, 0x9c, 0x46, 0x45, 0x9c, 0xa3, 0x28, 0x5c, 0xcd, 0x95, 0x61, 0x00, + 0xc0, 0x8b, 0x81, 0x28, 0x7b, 0x7d, 0xbc, 0x79, 0xb7, 0x32, 0x1a, 0x39, 0x49, 0x75, 0x8d, 0x1f, + 0xe4, 0x76, 0x5b, 0x07, 0x14, 0xaf, 0xa4, 0x59, 0x72, 0xe2, 0xd2, 0xbb, 0x98, 0xe8, 0x23, 0x6c, + 0x81, 0xf1, 0x80, 0x06, 0xfe, 0x6e, 0x1c, 0xea, 0x54, 0x8e, 0xf4, 0x4f, 0xe5, 0xa5, 0x80, 0x06, + 0xed, 0x38, 0x54, 0x19, 0x7c, 0x66, 0x80, 0x5a, 0x55, 0x89, 0xe1, 0x6a, 0xa9, 0xad, 0x06, 0xaf, + 0xd6, 0xc4, 0x51, 0x63, 0x14, 0x5e, 0x20, 0x06, 0x6f, 0xe5, 0xd5, 0xef, 0x1a, 0x01, 0x5d, 0x6d, + 0x60, 0xf6, 0x07, 0xbe, 0x9a, 0xe2, 0xfd, 0x72, 0x8b, 0x1d, 0x6f, 0x87, 0x36, 0x04, 0x97, 0x51, + 0xde, 0xcb, 0x3e, 0x3d, 0xe2, 0x60, 0xff, 0x6a, 0x80, 0xe9, 0x9e, 0x93, 0x98, 0x53, 0x92, 0x72, + 0x0c, 0x3f, 0x03, 0xa3, 0x0c, 0xf3, 0xac, 0x23, 0x72, 0x66, 0xf9, 0xf4, 0xbc, 0x79, 0xa6, 0x07, + 0xe3, 0x49, 0x0c, 0x4f, 0x63, 0xc1, 0x7b, 0x60, 0xaa, 0x6b, 0x80, 0xfb, 0x98, 0x31, 0xc2, 0x14, + 0x4b, 0xa8, 0x9d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0x0b, 0x02, 0x8f, 0x8f, 0x3d, 0xdc, 0xa5, 0xc6, + 0x61, 0x37, 0x9d, 0x45, 0x39, 0x0d, 0x17, 0x8d, 0x06, 0x7c, 0x6e, 0x80, 0xa9, 0x9e, 0x35, 0x87, + 0xcb, 0xc3, 0xbd, 0x4f, 0xeb, 0xd6, 0x90, 0xad, 0x6f, 0xdf, 0x96, 0xd4, 0x16, 0xed, 0x1b, 0xff, + 0x8d, 0x5a, 0x58, 0x80, 0x2e, 0x1a, 0x8d, 0xf6, 0x73, 0x03, 0xbc, 0x13, 0x90, 0xa4, 0x6f, 0x20, + 0x6d, 0xab, 0x67, 0xc7, 0x6e, 0xe4, 0x8b, 0x66, 0xc3, 0xf8, 0xe2, 0xbe, 0xb2, 0x8f, 0x48, 0x07, + 0xa5, 0x91, 0x43, 0x58, 0xe4, 0x46, 0x38, 0x95, 0x6b, 0x48, 0xff, 0x27, 0xa1, 0x31, 0xaf, 0xfe, + 0x9f, 0x75, 0x53, 0x1f, 0x9e, 0x9a, 0x23, 0xab, 0xad, 0xd6, 0xcf, 0x66, 0x7d, 0xb5, 0x00, 0x6c, + 0x85, 0xdc, 0x29, 0x8e, 0xf9, 0x69, 0x7b, 0xce, 0x51, 0x8e, 0xf9, 0x33, 0xad, 0xb2, 0xd3, 0x0a, + 0xf9, 0xce, 0x91, 0xca, 0xce, 0xf6, 0xdc, 0x8e, 0x56, 0xd9, 0x3d, 0x2f, 0x03, 0x98, 0xff, 0x37, + 0x00, 0x00, 0xff, 0xff, 0x6e, 0x5a, 0x56, 0xae, 0xe7, 0x0d, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/search_term_view_service.pb.go new file mode 100644 index 000000000..7e82ffcb1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/search_term_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/search_term_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [SearchTermViewService.GetSearchTermView][google.ads.googleads.v0.services.SearchTermViewService.GetSearchTermView]. +type GetSearchTermViewRequest struct { + // The resource name of the search term view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSearchTermViewRequest) Reset() { *m = GetSearchTermViewRequest{} } +func (m *GetSearchTermViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetSearchTermViewRequest) ProtoMessage() {} +func (*GetSearchTermViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_search_term_view_service_24332fa5424afa86, []int{0} +} +func (m *GetSearchTermViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSearchTermViewRequest.Unmarshal(m, b) +} +func (m *GetSearchTermViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSearchTermViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetSearchTermViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSearchTermViewRequest.Merge(dst, src) +} +func (m *GetSearchTermViewRequest) XXX_Size() int { + return xxx_messageInfo_GetSearchTermViewRequest.Size(m) +} +func (m *GetSearchTermViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSearchTermViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSearchTermViewRequest proto.InternalMessageInfo + +func (m *GetSearchTermViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetSearchTermViewRequest)(nil), "google.ads.googleads.v0.services.GetSearchTermViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// SearchTermViewServiceClient is the client API for SearchTermViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type SearchTermViewServiceClient interface { + // Returns the attributes of the requested search term view. + GetSearchTermView(ctx context.Context, in *GetSearchTermViewRequest, opts ...grpc.CallOption) (*resources.SearchTermView, error) +} + +type searchTermViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewSearchTermViewServiceClient(cc *grpc.ClientConn) SearchTermViewServiceClient { + return &searchTermViewServiceClient{cc} +} + +func (c *searchTermViewServiceClient) GetSearchTermView(ctx context.Context, in *GetSearchTermViewRequest, opts ...grpc.CallOption) (*resources.SearchTermView, error) { + out := new(resources.SearchTermView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.SearchTermViewService/GetSearchTermView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SearchTermViewServiceServer is the server API for SearchTermViewService service. +type SearchTermViewServiceServer interface { + // Returns the attributes of the requested search term view. + GetSearchTermView(context.Context, *GetSearchTermViewRequest) (*resources.SearchTermView, error) +} + +func RegisterSearchTermViewServiceServer(s *grpc.Server, srv SearchTermViewServiceServer) { + s.RegisterService(&_SearchTermViewService_serviceDesc, srv) +} + +func _SearchTermViewService_GetSearchTermView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetSearchTermViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SearchTermViewServiceServer).GetSearchTermView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.SearchTermViewService/GetSearchTermView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SearchTermViewServiceServer).GetSearchTermView(ctx, req.(*GetSearchTermViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _SearchTermViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.SearchTermViewService", + HandlerType: (*SearchTermViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetSearchTermView", + Handler: _SearchTermViewService_GetSearchTermView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/search_term_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/search_term_view_service.proto", fileDescriptor_search_term_view_service_24332fa5424afa86) +} + +var fileDescriptor_search_term_view_service_24332fa5424afa86 = []byte{ + // 351 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4a, 0xc3, 0x40, + 0x10, 0xc6, 0x49, 0x05, 0xc1, 0xa0, 0x07, 0x03, 0x42, 0x09, 0x1e, 0x4a, 0xf5, 0x20, 0x3d, 0xec, + 0xa6, 0xf6, 0xe2, 0x1f, 0xa4, 0xa4, 0x97, 0x7a, 0x92, 0xd2, 0x4a, 0x0f, 0x12, 0x08, 0x6b, 0x32, + 0xc4, 0x40, 0xb3, 0x5b, 0x77, 0xb6, 0xe9, 0x41, 0xbc, 0xf8, 0x0a, 0xbe, 0x81, 0x47, 0xdf, 0xc1, + 0x17, 0xf0, 0xea, 0x41, 0xf0, 0xec, 0x83, 0x48, 0xba, 0xd9, 0x42, 0xb1, 0xa1, 0xb7, 0x8f, 0xcc, + 0xfc, 0xbe, 0x99, 0xf9, 0xb2, 0x76, 0x37, 0x11, 0x22, 0x99, 0x00, 0x65, 0x31, 0x52, 0x2d, 0x0b, + 0x95, 0x7b, 0x14, 0x41, 0xe6, 0x69, 0x04, 0x48, 0x11, 0x98, 0x8c, 0x1e, 0x42, 0x05, 0x32, 0x0b, + 0xf3, 0x14, 0xe6, 0x61, 0x59, 0x21, 0x53, 0x29, 0x94, 0x70, 0x1a, 0x9a, 0x22, 0x2c, 0x46, 0xb2, + 0x34, 0x20, 0xb9, 0x47, 0x8c, 0x81, 0x7b, 0x56, 0x35, 0x42, 0x02, 0x8a, 0x99, 0x5c, 0x37, 0x43, + 0x7b, 0xbb, 0x87, 0x86, 0x9c, 0xa6, 0x94, 0x71, 0x2e, 0x14, 0x53, 0xa9, 0xe0, 0xa8, 0xab, 0xcd, + 0xae, 0x5d, 0xef, 0x83, 0x1a, 0x2d, 0xd0, 0x5b, 0x90, 0xd9, 0x38, 0x85, 0xf9, 0x10, 0x1e, 0x67, + 0x80, 0xca, 0x39, 0xb2, 0xf7, 0x8c, 0x7b, 0xc8, 0x59, 0x06, 0x75, 0xab, 0x61, 0x9d, 0xec, 0x0c, + 0x77, 0xcd, 0xc7, 0x1b, 0x96, 0xc1, 0xe9, 0xb7, 0x65, 0x1f, 0xac, 0xe2, 0x23, 0xbd, 0xb3, 0xf3, + 0x61, 0xd9, 0xfb, 0xff, 0xbc, 0x9d, 0x0b, 0xb2, 0xe9, 0x56, 0x52, 0xb5, 0x90, 0xdb, 0xae, 0x64, + 0x97, 0x29, 0x90, 0x55, 0xb2, 0x79, 0xfe, 0xf2, 0xf5, 0xfb, 0x5a, 0xeb, 0x38, 0xed, 0x22, 0xab, + 0xa7, 0x95, 0x73, 0xae, 0xa2, 0x19, 0x2a, 0x91, 0x81, 0x44, 0xda, 0x2a, 0xc3, 0x33, 0x18, 0xd2, + 0xd6, 0x73, 0xef, 0xc7, 0xb2, 0x8f, 0x23, 0x91, 0x6d, 0xdc, 0xb7, 0xe7, 0xae, 0xbd, 0x7f, 0x50, + 0xe4, 0x3b, 0xb0, 0xee, 0xae, 0x4b, 0x3e, 0x11, 0x13, 0xc6, 0x13, 0x22, 0x64, 0x42, 0x13, 0xe0, + 0x8b, 0xf4, 0xcd, 0x9f, 0x9c, 0xa6, 0x58, 0xfd, 0x76, 0x2e, 0x8d, 0x78, 0xab, 0x6d, 0xf5, 0x7d, + 0xff, 0xbd, 0xd6, 0xe8, 0x6b, 0x43, 0x3f, 0x46, 0xa2, 0x65, 0xa1, 0xc6, 0x1e, 0x29, 0x07, 0xe3, + 0xa7, 0x69, 0x09, 0xfc, 0x18, 0x83, 0x65, 0x4b, 0x30, 0xf6, 0x02, 0xd3, 0x72, 0xbf, 0xbd, 0x58, + 0xa0, 0xf3, 0x17, 0x00, 0x00, 0xff, 0xff, 0x34, 0x3f, 0x8b, 0x2d, 0xbb, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_criterion_service.pb.go new file mode 100644 index 000000000..083ff35ee --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_criterion_service.pb.go @@ -0,0 +1,498 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/shared_criterion_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v0.services.SharedCriterionService.GetSharedCriterion]. +type GetSharedCriterionRequest struct { + // The resource name of the shared criterion to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSharedCriterionRequest) Reset() { *m = GetSharedCriterionRequest{} } +func (m *GetSharedCriterionRequest) String() string { return proto.CompactTextString(m) } +func (*GetSharedCriterionRequest) ProtoMessage() {} +func (*GetSharedCriterionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_service_6b64ffbc632397a6, []int{0} +} +func (m *GetSharedCriterionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSharedCriterionRequest.Unmarshal(m, b) +} +func (m *GetSharedCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSharedCriterionRequest.Marshal(b, m, deterministic) +} +func (dst *GetSharedCriterionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSharedCriterionRequest.Merge(dst, src) +} +func (m *GetSharedCriterionRequest) XXX_Size() int { + return xxx_messageInfo_GetSharedCriterionRequest.Size(m) +} +func (m *GetSharedCriterionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSharedCriterionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSharedCriterionRequest proto.InternalMessageInfo + +func (m *GetSharedCriterionRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v0.services.SharedCriterionService.MutateSharedCriteria]. +type MutateSharedCriteriaRequest struct { + // The ID of the customer whose shared criteria are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual shared criteria. + Operations []*SharedCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateSharedCriteriaRequest) Reset() { *m = MutateSharedCriteriaRequest{} } +func (m *MutateSharedCriteriaRequest) String() string { return proto.CompactTextString(m) } +func (*MutateSharedCriteriaRequest) ProtoMessage() {} +func (*MutateSharedCriteriaRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_service_6b64ffbc632397a6, []int{1} +} +func (m *MutateSharedCriteriaRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateSharedCriteriaRequest.Unmarshal(m, b) +} +func (m *MutateSharedCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateSharedCriteriaRequest.Marshal(b, m, deterministic) +} +func (dst *MutateSharedCriteriaRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateSharedCriteriaRequest.Merge(dst, src) +} +func (m *MutateSharedCriteriaRequest) XXX_Size() int { + return xxx_messageInfo_MutateSharedCriteriaRequest.Size(m) +} +func (m *MutateSharedCriteriaRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateSharedCriteriaRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateSharedCriteriaRequest proto.InternalMessageInfo + +func (m *MutateSharedCriteriaRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateSharedCriteriaRequest) GetOperations() []*SharedCriterionOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, remove) on an shared criterion. +type SharedCriterionOperation struct { + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *SharedCriterionOperation_Create + // *SharedCriterionOperation_Remove + Operation isSharedCriterionOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedCriterionOperation) Reset() { *m = SharedCriterionOperation{} } +func (m *SharedCriterionOperation) String() string { return proto.CompactTextString(m) } +func (*SharedCriterionOperation) ProtoMessage() {} +func (*SharedCriterionOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_service_6b64ffbc632397a6, []int{2} +} +func (m *SharedCriterionOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedCriterionOperation.Unmarshal(m, b) +} +func (m *SharedCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedCriterionOperation.Marshal(b, m, deterministic) +} +func (dst *SharedCriterionOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedCriterionOperation.Merge(dst, src) +} +func (m *SharedCriterionOperation) XXX_Size() int { + return xxx_messageInfo_SharedCriterionOperation.Size(m) +} +func (m *SharedCriterionOperation) XXX_DiscardUnknown() { + xxx_messageInfo_SharedCriterionOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedCriterionOperation proto.InternalMessageInfo + +type isSharedCriterionOperation_Operation interface { + isSharedCriterionOperation_Operation() +} + +type SharedCriterionOperation_Create struct { + Create *resources.SharedCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type SharedCriterionOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*SharedCriterionOperation_Create) isSharedCriterionOperation_Operation() {} + +func (*SharedCriterionOperation_Remove) isSharedCriterionOperation_Operation() {} + +func (m *SharedCriterionOperation) GetOperation() isSharedCriterionOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *SharedCriterionOperation) GetCreate() *resources.SharedCriterion { + if x, ok := m.GetOperation().(*SharedCriterionOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *SharedCriterionOperation) GetRemove() string { + if x, ok := m.GetOperation().(*SharedCriterionOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*SharedCriterionOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _SharedCriterionOperation_OneofMarshaler, _SharedCriterionOperation_OneofUnmarshaler, _SharedCriterionOperation_OneofSizer, []interface{}{ + (*SharedCriterionOperation_Create)(nil), + (*SharedCriterionOperation_Remove)(nil), + } +} + +func _SharedCriterionOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*SharedCriterionOperation) + // operation + switch x := m.Operation.(type) { + case *SharedCriterionOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *SharedCriterionOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("SharedCriterionOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _SharedCriterionOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*SharedCriterionOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.SharedCriterion) + err := b.DecodeMessage(msg) + m.Operation = &SharedCriterionOperation_Create{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &SharedCriterionOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _SharedCriterionOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*SharedCriterionOperation) + // operation + switch x := m.Operation.(type) { + case *SharedCriterionOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SharedCriterionOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a shared criterion mutate. +type MutateSharedCriteriaResponse struct { + // All results for the mutate. + Results []*MutateSharedCriterionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateSharedCriteriaResponse) Reset() { *m = MutateSharedCriteriaResponse{} } +func (m *MutateSharedCriteriaResponse) String() string { return proto.CompactTextString(m) } +func (*MutateSharedCriteriaResponse) ProtoMessage() {} +func (*MutateSharedCriteriaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_service_6b64ffbc632397a6, []int{3} +} +func (m *MutateSharedCriteriaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateSharedCriteriaResponse.Unmarshal(m, b) +} +func (m *MutateSharedCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateSharedCriteriaResponse.Marshal(b, m, deterministic) +} +func (dst *MutateSharedCriteriaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateSharedCriteriaResponse.Merge(dst, src) +} +func (m *MutateSharedCriteriaResponse) XXX_Size() int { + return xxx_messageInfo_MutateSharedCriteriaResponse.Size(m) +} +func (m *MutateSharedCriteriaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateSharedCriteriaResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateSharedCriteriaResponse proto.InternalMessageInfo + +func (m *MutateSharedCriteriaResponse) GetResults() []*MutateSharedCriterionResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the shared criterion mutate. +type MutateSharedCriterionResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateSharedCriterionResult) Reset() { *m = MutateSharedCriterionResult{} } +func (m *MutateSharedCriterionResult) String() string { return proto.CompactTextString(m) } +func (*MutateSharedCriterionResult) ProtoMessage() {} +func (*MutateSharedCriterionResult) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_criterion_service_6b64ffbc632397a6, []int{4} +} +func (m *MutateSharedCriterionResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateSharedCriterionResult.Unmarshal(m, b) +} +func (m *MutateSharedCriterionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateSharedCriterionResult.Marshal(b, m, deterministic) +} +func (dst *MutateSharedCriterionResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateSharedCriterionResult.Merge(dst, src) +} +func (m *MutateSharedCriterionResult) XXX_Size() int { + return xxx_messageInfo_MutateSharedCriterionResult.Size(m) +} +func (m *MutateSharedCriterionResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateSharedCriterionResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateSharedCriterionResult proto.InternalMessageInfo + +func (m *MutateSharedCriterionResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetSharedCriterionRequest)(nil), "google.ads.googleads.v0.services.GetSharedCriterionRequest") + proto.RegisterType((*MutateSharedCriteriaRequest)(nil), "google.ads.googleads.v0.services.MutateSharedCriteriaRequest") + proto.RegisterType((*SharedCriterionOperation)(nil), "google.ads.googleads.v0.services.SharedCriterionOperation") + proto.RegisterType((*MutateSharedCriteriaResponse)(nil), "google.ads.googleads.v0.services.MutateSharedCriteriaResponse") + proto.RegisterType((*MutateSharedCriterionResult)(nil), "google.ads.googleads.v0.services.MutateSharedCriterionResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// SharedCriterionServiceClient is the client API for SharedCriterionService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type SharedCriterionServiceClient interface { + // Returns the requested shared criterion in full detail. + GetSharedCriterion(ctx context.Context, in *GetSharedCriterionRequest, opts ...grpc.CallOption) (*resources.SharedCriterion, error) + // Creates or removes shared criteria. Operation statuses are returned. + MutateSharedCriteria(ctx context.Context, in *MutateSharedCriteriaRequest, opts ...grpc.CallOption) (*MutateSharedCriteriaResponse, error) +} + +type sharedCriterionServiceClient struct { + cc *grpc.ClientConn +} + +func NewSharedCriterionServiceClient(cc *grpc.ClientConn) SharedCriterionServiceClient { + return &sharedCriterionServiceClient{cc} +} + +func (c *sharedCriterionServiceClient) GetSharedCriterion(ctx context.Context, in *GetSharedCriterionRequest, opts ...grpc.CallOption) (*resources.SharedCriterion, error) { + out := new(resources.SharedCriterion) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.SharedCriterionService/GetSharedCriterion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *sharedCriterionServiceClient) MutateSharedCriteria(ctx context.Context, in *MutateSharedCriteriaRequest, opts ...grpc.CallOption) (*MutateSharedCriteriaResponse, error) { + out := new(MutateSharedCriteriaResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.SharedCriterionService/MutateSharedCriteria", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SharedCriterionServiceServer is the server API for SharedCriterionService service. +type SharedCriterionServiceServer interface { + // Returns the requested shared criterion in full detail. + GetSharedCriterion(context.Context, *GetSharedCriterionRequest) (*resources.SharedCriterion, error) + // Creates or removes shared criteria. Operation statuses are returned. + MutateSharedCriteria(context.Context, *MutateSharedCriteriaRequest) (*MutateSharedCriteriaResponse, error) +} + +func RegisterSharedCriterionServiceServer(s *grpc.Server, srv SharedCriterionServiceServer) { + s.RegisterService(&_SharedCriterionService_serviceDesc, srv) +} + +func _SharedCriterionService_GetSharedCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetSharedCriterionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SharedCriterionServiceServer).GetSharedCriterion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.SharedCriterionService/GetSharedCriterion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SharedCriterionServiceServer).GetSharedCriterion(ctx, req.(*GetSharedCriterionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SharedCriterionService_MutateSharedCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateSharedCriteriaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SharedCriterionServiceServer).MutateSharedCriteria(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.SharedCriterionService/MutateSharedCriteria", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SharedCriterionServiceServer).MutateSharedCriteria(ctx, req.(*MutateSharedCriteriaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _SharedCriterionService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.SharedCriterionService", + HandlerType: (*SharedCriterionServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetSharedCriterion", + Handler: _SharedCriterionService_GetSharedCriterion_Handler, + }, + { + MethodName: "MutateSharedCriteria", + Handler: _SharedCriterionService_MutateSharedCriteria_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/shared_criterion_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/shared_criterion_service.proto", fileDescriptor_shared_criterion_service_6b64ffbc632397a6) +} + +var fileDescriptor_shared_criterion_service_6b64ffbc632397a6 = []byte{ + // 538 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x3f, 0x6f, 0xd3, 0x40, + 0x14, 0xc0, 0x71, 0x22, 0x05, 0xf5, 0x02, 0xcb, 0x09, 0xa1, 0x90, 0x56, 0x22, 0x32, 0x0c, 0x55, + 0x86, 0xb3, 0xe5, 0x2e, 0x51, 0xaa, 0x14, 0x12, 0x86, 0x14, 0x89, 0x3f, 0x95, 0x2b, 0x15, 0xa9, + 0x8a, 0x14, 0x1d, 0xf6, 0x93, 0xb1, 0x14, 0xfb, 0xcc, 0xdd, 0x39, 0x0c, 0x55, 0x17, 0xbe, 0x00, + 0x03, 0x1b, 0x23, 0x23, 0x23, 0x5f, 0x80, 0x9d, 0x15, 0x31, 0xb1, 0xf2, 0x41, 0xd0, 0xf9, 0x7c, + 0xa1, 0x0d, 0xb6, 0x82, 0xb2, 0x3d, 0xfb, 0xde, 0xfb, 0xbd, 0xff, 0x0f, 0x3d, 0x8a, 0x18, 0x8b, + 0x16, 0xe0, 0xd0, 0x50, 0x38, 0x5a, 0x54, 0xd2, 0xd2, 0x75, 0x04, 0xf0, 0x65, 0x1c, 0x80, 0x70, + 0xc4, 0x1b, 0xca, 0x21, 0x9c, 0x07, 0x3c, 0x96, 0xc0, 0x63, 0x96, 0xce, 0xcb, 0x17, 0x92, 0x71, + 0x26, 0x19, 0xee, 0x69, 0x2b, 0x42, 0x43, 0x41, 0x56, 0x00, 0xb2, 0x74, 0x89, 0x01, 0x74, 0x07, + 0x75, 0x2e, 0x38, 0x08, 0x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+ 0x2b, 0x95, 0xd9, 0x99, 0x3b, 0x33, 0x2a, 0xaf, 0x5b, 0x45, 0x00, 0x07, 0x7f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x08, 0x0f, 0x51, 0xc4, 0x84, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_set_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_set_service.pb.go new file mode 100644 index 000000000..878d6e302 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/shared_set_service.pb.go @@ -0,0 +1,544 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/shared_set_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [SharedSetService.GetSharedSet][google.ads.googleads.v0.services.SharedSetService.GetSharedSet]. +type GetSharedSetRequest struct { + // The resource name of the shared set to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSharedSetRequest) Reset() { *m = GetSharedSetRequest{} } +func (m *GetSharedSetRequest) String() string { return proto.CompactTextString(m) } +func (*GetSharedSetRequest) ProtoMessage() {} +func (*GetSharedSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_service_72af1c4c98b2939a, []int{0} +} +func (m *GetSharedSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSharedSetRequest.Unmarshal(m, b) +} +func (m *GetSharedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSharedSetRequest.Marshal(b, m, deterministic) +} +func (dst *GetSharedSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSharedSetRequest.Merge(dst, src) +} +func (m *GetSharedSetRequest) XXX_Size() int { + return xxx_messageInfo_GetSharedSetRequest.Size(m) +} +func (m *GetSharedSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSharedSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSharedSetRequest proto.InternalMessageInfo + +func (m *GetSharedSetRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [SharedSetService.MutateSharedSets][google.ads.googleads.v0.services.SharedSetService.MutateSharedSets]. +type MutateSharedSetsRequest struct { + // The ID of the customer whose shared sets are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual shared sets. + Operations []*SharedSetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateSharedSetsRequest) Reset() { *m = MutateSharedSetsRequest{} } +func (m *MutateSharedSetsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateSharedSetsRequest) ProtoMessage() {} +func (*MutateSharedSetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_service_72af1c4c98b2939a, []int{1} +} +func (m *MutateSharedSetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateSharedSetsRequest.Unmarshal(m, b) +} +func (m *MutateSharedSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateSharedSetsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateSharedSetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateSharedSetsRequest.Merge(dst, src) +} +func (m *MutateSharedSetsRequest) XXX_Size() int { + return xxx_messageInfo_MutateSharedSetsRequest.Size(m) +} +func (m *MutateSharedSetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateSharedSetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateSharedSetsRequest proto.InternalMessageInfo + +func (m *MutateSharedSetsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateSharedSetsRequest) GetOperations() []*SharedSetOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update, remove) on an shared set. +type SharedSetOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *SharedSetOperation_Create + // *SharedSetOperation_Update + // *SharedSetOperation_Remove + Operation isSharedSetOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SharedSetOperation) Reset() { *m = SharedSetOperation{} } +func (m *SharedSetOperation) String() string { return proto.CompactTextString(m) } +func (*SharedSetOperation) ProtoMessage() {} +func (*SharedSetOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_service_72af1c4c98b2939a, []int{2} +} +func (m *SharedSetOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SharedSetOperation.Unmarshal(m, b) +} +func (m *SharedSetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SharedSetOperation.Marshal(b, m, deterministic) +} +func (dst *SharedSetOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_SharedSetOperation.Merge(dst, src) +} +func (m *SharedSetOperation) XXX_Size() int { + return xxx_messageInfo_SharedSetOperation.Size(m) +} +func (m *SharedSetOperation) XXX_DiscardUnknown() { + xxx_messageInfo_SharedSetOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_SharedSetOperation proto.InternalMessageInfo + +func (m *SharedSetOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isSharedSetOperation_Operation interface { + isSharedSetOperation_Operation() +} + +type SharedSetOperation_Create struct { + Create *resources.SharedSet `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type SharedSetOperation_Update struct { + Update *resources.SharedSet `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type SharedSetOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*SharedSetOperation_Create) isSharedSetOperation_Operation() {} + +func (*SharedSetOperation_Update) isSharedSetOperation_Operation() {} + +func (*SharedSetOperation_Remove) isSharedSetOperation_Operation() {} + +func (m *SharedSetOperation) GetOperation() isSharedSetOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *SharedSetOperation) GetCreate() *resources.SharedSet { + if x, ok := m.GetOperation().(*SharedSetOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *SharedSetOperation) GetUpdate() *resources.SharedSet { + if x, ok := m.GetOperation().(*SharedSetOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *SharedSetOperation) GetRemove() string { + if x, ok := m.GetOperation().(*SharedSetOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*SharedSetOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _SharedSetOperation_OneofMarshaler, _SharedSetOperation_OneofUnmarshaler, _SharedSetOperation_OneofSizer, []interface{}{ + (*SharedSetOperation_Create)(nil), + (*SharedSetOperation_Update)(nil), + (*SharedSetOperation_Remove)(nil), + } +} + +func _SharedSetOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*SharedSetOperation) + // operation + switch x := m.Operation.(type) { + case *SharedSetOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *SharedSetOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *SharedSetOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("SharedSetOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _SharedSetOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*SharedSetOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.SharedSet) + err := b.DecodeMessage(msg) + m.Operation = &SharedSetOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.SharedSet) + err := b.DecodeMessage(msg) + m.Operation = &SharedSetOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &SharedSetOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _SharedSetOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*SharedSetOperation) + // operation + switch x := m.Operation.(type) { + case *SharedSetOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SharedSetOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SharedSetOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for a shared set mutate. +type MutateSharedSetsResponse struct { + // All results for the mutate. + Results []*MutateSharedSetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateSharedSetsResponse) Reset() { *m = MutateSharedSetsResponse{} } +func (m *MutateSharedSetsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateSharedSetsResponse) ProtoMessage() {} +func (*MutateSharedSetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_service_72af1c4c98b2939a, []int{3} +} +func (m *MutateSharedSetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateSharedSetsResponse.Unmarshal(m, b) +} +func (m *MutateSharedSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateSharedSetsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateSharedSetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateSharedSetsResponse.Merge(dst, src) +} +func (m *MutateSharedSetsResponse) XXX_Size() int { + return xxx_messageInfo_MutateSharedSetsResponse.Size(m) +} +func (m *MutateSharedSetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateSharedSetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateSharedSetsResponse proto.InternalMessageInfo + +func (m *MutateSharedSetsResponse) GetResults() []*MutateSharedSetResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the shared set mutate. +type MutateSharedSetResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateSharedSetResult) Reset() { *m = MutateSharedSetResult{} } +func (m *MutateSharedSetResult) String() string { return proto.CompactTextString(m) } +func (*MutateSharedSetResult) ProtoMessage() {} +func (*MutateSharedSetResult) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_set_service_72af1c4c98b2939a, []int{4} +} +func (m *MutateSharedSetResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateSharedSetResult.Unmarshal(m, b) +} +func (m *MutateSharedSetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateSharedSetResult.Marshal(b, m, deterministic) +} +func (dst *MutateSharedSetResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateSharedSetResult.Merge(dst, src) +} +func (m *MutateSharedSetResult) XXX_Size() int { + return xxx_messageInfo_MutateSharedSetResult.Size(m) +} +func (m *MutateSharedSetResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateSharedSetResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateSharedSetResult proto.InternalMessageInfo + +func (m *MutateSharedSetResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetSharedSetRequest)(nil), "google.ads.googleads.v0.services.GetSharedSetRequest") + proto.RegisterType((*MutateSharedSetsRequest)(nil), "google.ads.googleads.v0.services.MutateSharedSetsRequest") + proto.RegisterType((*SharedSetOperation)(nil), "google.ads.googleads.v0.services.SharedSetOperation") + proto.RegisterType((*MutateSharedSetsResponse)(nil), "google.ads.googleads.v0.services.MutateSharedSetsResponse") + proto.RegisterType((*MutateSharedSetResult)(nil), "google.ads.googleads.v0.services.MutateSharedSetResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// SharedSetServiceClient is the client API for SharedSetService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type SharedSetServiceClient interface { + // Returns the requested shared set in full detail. + GetSharedSet(ctx context.Context, in *GetSharedSetRequest, opts ...grpc.CallOption) (*resources.SharedSet, error) + // Creates, updates, or removes shared sets. Operation statuses are returned. + MutateSharedSets(ctx context.Context, in *MutateSharedSetsRequest, opts ...grpc.CallOption) (*MutateSharedSetsResponse, error) +} + +type sharedSetServiceClient struct { + cc *grpc.ClientConn +} + +func NewSharedSetServiceClient(cc *grpc.ClientConn) SharedSetServiceClient { + return &sharedSetServiceClient{cc} +} + +func (c *sharedSetServiceClient) GetSharedSet(ctx context.Context, in *GetSharedSetRequest, opts ...grpc.CallOption) (*resources.SharedSet, error) { + out := new(resources.SharedSet) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.SharedSetService/GetSharedSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *sharedSetServiceClient) MutateSharedSets(ctx context.Context, in *MutateSharedSetsRequest, opts ...grpc.CallOption) (*MutateSharedSetsResponse, error) { + out := new(MutateSharedSetsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.SharedSetService/MutateSharedSets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SharedSetServiceServer is the server API for SharedSetService service. +type SharedSetServiceServer interface { + // Returns the requested shared set in full detail. + GetSharedSet(context.Context, *GetSharedSetRequest) (*resources.SharedSet, error) + // Creates, updates, or removes shared sets. Operation statuses are returned. + MutateSharedSets(context.Context, *MutateSharedSetsRequest) (*MutateSharedSetsResponse, error) +} + +func RegisterSharedSetServiceServer(s *grpc.Server, srv SharedSetServiceServer) { + s.RegisterService(&_SharedSetService_serviceDesc, srv) +} + +func _SharedSetService_GetSharedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetSharedSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SharedSetServiceServer).GetSharedSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.SharedSetService/GetSharedSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SharedSetServiceServer).GetSharedSet(ctx, req.(*GetSharedSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SharedSetService_MutateSharedSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateSharedSetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SharedSetServiceServer).MutateSharedSets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.SharedSetService/MutateSharedSets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SharedSetServiceServer).MutateSharedSets(ctx, req.(*MutateSharedSetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _SharedSetService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.SharedSetService", + HandlerType: (*SharedSetServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetSharedSet", + Handler: _SharedSetService_GetSharedSet_Handler, + }, + { + MethodName: "MutateSharedSets", + Handler: _SharedSetService_MutateSharedSets_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/shared_set_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/shared_set_service.proto", fileDescriptor_shared_set_service_72af1c4c98b2939a) +} + +var fileDescriptor_shared_set_service_72af1c4c98b2939a = []byte{ + // 592 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x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, 0xff, + 0xd4, 0x90, 0x51, 0xcf, 0xe7, 0xa3, 0x12, 0x32, 0x3a, 0x6a, 0x8d, 0x34, 0xe4, 0xb8, 0x9a, 0x17, + 0xf0, 0xe4, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xd6, 0x84, 0x2a, 0xc1, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_constant_service.pb.go new file mode 100644 index 000000000..68e52f153 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_constant_service.pb.go @@ -0,0 +1,173 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/topic_constant_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [TopicConstantService.GetTopicConstant][google.ads.googleads.v0.services.TopicConstantService.GetTopicConstant]. +type GetTopicConstantRequest struct { + // Resource name of the Topic to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTopicConstantRequest) Reset() { *m = GetTopicConstantRequest{} } +func (m *GetTopicConstantRequest) String() string { return proto.CompactTextString(m) } +func (*GetTopicConstantRequest) ProtoMessage() {} +func (*GetTopicConstantRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_topic_constant_service_c8fc87677409bd0b, []int{0} +} +func (m *GetTopicConstantRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTopicConstantRequest.Unmarshal(m, b) +} +func (m *GetTopicConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTopicConstantRequest.Marshal(b, m, deterministic) +} +func (dst *GetTopicConstantRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTopicConstantRequest.Merge(dst, src) +} +func (m *GetTopicConstantRequest) XXX_Size() int { + return xxx_messageInfo_GetTopicConstantRequest.Size(m) +} +func (m *GetTopicConstantRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTopicConstantRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTopicConstantRequest proto.InternalMessageInfo + +func (m *GetTopicConstantRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetTopicConstantRequest)(nil), "google.ads.googleads.v0.services.GetTopicConstantRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// TopicConstantServiceClient is the client API for TopicConstantService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type TopicConstantServiceClient interface { + // Returns the requested topic constant in full detail. + GetTopicConstant(ctx context.Context, in *GetTopicConstantRequest, opts ...grpc.CallOption) (*resources.TopicConstant, error) +} + +type topicConstantServiceClient struct { + cc *grpc.ClientConn +} + +func NewTopicConstantServiceClient(cc *grpc.ClientConn) TopicConstantServiceClient { + return &topicConstantServiceClient{cc} +} + +func (c *topicConstantServiceClient) GetTopicConstant(ctx context.Context, in *GetTopicConstantRequest, opts ...grpc.CallOption) (*resources.TopicConstant, error) { + out := new(resources.TopicConstant) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.TopicConstantService/GetTopicConstant", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TopicConstantServiceServer is the server API for TopicConstantService service. +type TopicConstantServiceServer interface { + // Returns the requested topic constant in full detail. + GetTopicConstant(context.Context, *GetTopicConstantRequest) (*resources.TopicConstant, error) +} + +func RegisterTopicConstantServiceServer(s *grpc.Server, srv TopicConstantServiceServer) { + s.RegisterService(&_TopicConstantService_serviceDesc, srv) +} + +func _TopicConstantService_GetTopicConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicConstantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TopicConstantServiceServer).GetTopicConstant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.TopicConstantService/GetTopicConstant", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TopicConstantServiceServer).GetTopicConstant(ctx, req.(*GetTopicConstantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _TopicConstantService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.TopicConstantService", + HandlerType: (*TopicConstantServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetTopicConstant", + Handler: _TopicConstantService_GetTopicConstant_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/topic_constant_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/topic_constant_service.proto", fileDescriptor_topic_constant_service_c8fc87677409bd0b) +} + +var fileDescriptor_topic_constant_service_c8fc87677409bd0b = []byte{ + // 332 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00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0x48, 0x19, 0xe0, 0xd4, 0x0a, 0xf7, 0xbf, + 0x1e, 0x8a, 0x46, 0x25, 0x9d, 0xa6, 0xcb, 0x4f, 0x26, 0x33, 0xa9, 0x09, 0xa9, 0x80, 0x02, 0xa9, + 0x1a, 0xc5, 0x2b, 0xb6, 0x25, 0xc8, 0x2a, 0x8b, 0xf5, 0xb5, 0x6a, 0x9d, 0x6e, 0x32, 0x72, 0xa9, + 0x24, 0xe7, 0xe7, 0x12, 0x74, 0xa0, 0x93, 0x24, 0x36, 0xef, 0x06, 0x80, 0x02, 0x33, 0x80, 0x31, + 0xca, 0x03, 0xaa, 0x3d, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, + 0x35, 0x0f, 0x1c, 0xd4, 0xb0, 0x48, 0x2b, 0xc8, 0x2c, 0xc6, 0x9d, 0x48, 0xac, 0x61, 0x8c, 0x45, + 0x4c, 0xcc, 0xee, 0x8e, 0x8e, 0xab, 0x98, 0x14, 0xdc, 0x21, 0x06, 0x3a, 0xa6, 0x14, 0xeb, 0x41, + 0x98, 0x20, 0x56, 0x98, 0x81, 0x1e, 0xd4, 0xe2, 0xe2, 0x53, 0x30, 0x25, 0x31, 0x8e, 0x29, 0xc5, + 0x31, 0x70, 0x25, 0x31, 0x61, 0x06, 0x31, 0x30, 0x25, 0x49, 0x6c, 0x60, 0x07, 0x18, 0x03, 0x02, + 0x00, 0x00, 0xff, 0xff, 0xf5, 0x57, 0x93, 0xec, 0xa4, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_view_service.pb.go new file mode 100644 index 000000000..bd16847b5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/topic_view_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/topic_view_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [TopicViewService.GetTopicView][google.ads.googleads.v0.services.TopicViewService.GetTopicView]. +type GetTopicViewRequest struct { + // The resource name of the topic view to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTopicViewRequest) Reset() { *m = GetTopicViewRequest{} } +func (m *GetTopicViewRequest) String() string { return proto.CompactTextString(m) } +func (*GetTopicViewRequest) ProtoMessage() {} +func (*GetTopicViewRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_topic_view_service_1a9d16bda8fc03d3, []int{0} +} +func (m *GetTopicViewRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTopicViewRequest.Unmarshal(m, b) +} +func (m *GetTopicViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTopicViewRequest.Marshal(b, m, deterministic) +} +func (dst *GetTopicViewRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTopicViewRequest.Merge(dst, src) +} +func (m *GetTopicViewRequest) XXX_Size() int { + return xxx_messageInfo_GetTopicViewRequest.Size(m) +} +func (m *GetTopicViewRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTopicViewRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTopicViewRequest proto.InternalMessageInfo + +func (m *GetTopicViewRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetTopicViewRequest)(nil), "google.ads.googleads.v0.services.GetTopicViewRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// TopicViewServiceClient is the client API for TopicViewService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type TopicViewServiceClient interface { + // Returns the requested topic view in full detail. + GetTopicView(ctx context.Context, in *GetTopicViewRequest, opts ...grpc.CallOption) (*resources.TopicView, error) +} + +type topicViewServiceClient struct { + cc *grpc.ClientConn +} + +func NewTopicViewServiceClient(cc *grpc.ClientConn) TopicViewServiceClient { + return &topicViewServiceClient{cc} +} + +func (c *topicViewServiceClient) GetTopicView(ctx context.Context, in *GetTopicViewRequest, opts ...grpc.CallOption) (*resources.TopicView, error) { + out := new(resources.TopicView) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.TopicViewService/GetTopicView", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TopicViewServiceServer is the server API for TopicViewService service. +type TopicViewServiceServer interface { + // Returns the requested topic view in full detail. + GetTopicView(context.Context, *GetTopicViewRequest) (*resources.TopicView, error) +} + +func RegisterTopicViewServiceServer(s *grpc.Server, srv TopicViewServiceServer) { + s.RegisterService(&_TopicViewService_serviceDesc, srv) +} + +func _TopicViewService_GetTopicView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicViewRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TopicViewServiceServer).GetTopicView(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.TopicViewService/GetTopicView", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TopicViewServiceServer).GetTopicView(ctx, req.(*GetTopicViewRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _TopicViewService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.TopicViewService", + HandlerType: (*TopicViewServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetTopicView", + Handler: _TopicViewService_GetTopicView_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/topic_view_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/topic_view_service.proto", fileDescriptor_topic_view_service_1a9d16bda8fc03d3) +} + +var fileDescriptor_topic_view_service_1a9d16bda8fc03d3 = []byte{ + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4c, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0x92, 0xfc, 0x82, 0xcc, 0xe4, 0xf8, 0xb2, 0xcc, 0xd4, + 0xf2, 0x78, 0xa8, 0x98, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, 0x44, 0xbd, 0x5e, 0x62, + 0x4a, 0xb1, 0x1e, 0x5c, 0xab, 0x5e, 0x99, 0x81, 0x1e, 0x4c, 0xab, 0x94, 0x11, 0x2e, 0xc3, 0x8b, + 0x52, 0x8b, 0xf3, 0x4b, 0x8b, 0x50, 0x4d, 0x87, 0x98, 0x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 0x16, 0xe3, 0x4e, 0x0c, 0xd6, 0x30, 0xc6, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, + 0x0a, 0xee, 0x10, 0x03, 0x1d, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x40, 0x0f, 0x6a, + 0x71, 0xf1, 0x29, 0x98, 0x92, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x92, 0x98, 0x30, 0x83, 0x18, + 0x98, 0x92, 0x24, 0x36, 0xb0, 0x03, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xf5, 0x4c, + 0x33, 0x8c, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_interest_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_interest_service.pb.go new file mode 100644 index 000000000..7adfa639e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_interest_service.pb.go @@ -0,0 +1,174 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/user_interest_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [UserInterestService.GetUserInterest][google.ads.googleads.v0.services.UserInterestService.GetUserInterest]. +type GetUserInterestRequest struct { + // Resource name of the UserInterest to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserInterestRequest) Reset() { *m = GetUserInterestRequest{} } +func (m *GetUserInterestRequest) String() string { return proto.CompactTextString(m) } +func (*GetUserInterestRequest) ProtoMessage() {} +func (*GetUserInterestRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_user_interest_service_6325edec6159d584, []int{0} +} +func (m *GetUserInterestRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserInterestRequest.Unmarshal(m, b) +} +func (m *GetUserInterestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserInterestRequest.Marshal(b, m, deterministic) +} +func (dst *GetUserInterestRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserInterestRequest.Merge(dst, src) +} +func (m *GetUserInterestRequest) XXX_Size() int { + return xxx_messageInfo_GetUserInterestRequest.Size(m) +} +func (m *GetUserInterestRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserInterestRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserInterestRequest proto.InternalMessageInfo + +func (m *GetUserInterestRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetUserInterestRequest)(nil), "google.ads.googleads.v0.services.GetUserInterestRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// UserInterestServiceClient is the client API for UserInterestService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type UserInterestServiceClient interface { + // Returns the requested user interest in full detail + GetUserInterest(ctx context.Context, in *GetUserInterestRequest, opts ...grpc.CallOption) (*resources.UserInterest, error) +} + +type userInterestServiceClient struct { + cc *grpc.ClientConn +} + +func NewUserInterestServiceClient(cc *grpc.ClientConn) UserInterestServiceClient { + return &userInterestServiceClient{cc} +} + +func (c *userInterestServiceClient) GetUserInterest(ctx context.Context, in *GetUserInterestRequest, opts ...grpc.CallOption) (*resources.UserInterest, error) { + out := new(resources.UserInterest) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.UserInterestService/GetUserInterest", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// UserInterestServiceServer is the server API for UserInterestService service. +type UserInterestServiceServer interface { + // Returns the requested user interest in full detail + GetUserInterest(context.Context, *GetUserInterestRequest) (*resources.UserInterest, error) +} + +func RegisterUserInterestServiceServer(s *grpc.Server, srv UserInterestServiceServer) { + s.RegisterService(&_UserInterestService_serviceDesc, srv) +} + +func _UserInterestService_GetUserInterest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserInterestRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserInterestServiceServer).GetUserInterest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.UserInterestService/GetUserInterest", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserInterestServiceServer).GetUserInterest(ctx, req.(*GetUserInterestRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _UserInterestService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.UserInterestService", + HandlerType: (*UserInterestServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetUserInterest", + Handler: _UserInterestService_GetUserInterest_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/user_interest_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/user_interest_service.proto", fileDescriptor_user_interest_service_6325edec6159d584) +} + +var fileDescriptor_user_interest_service_6325edec6159d584 = []byte{ + // 344 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x4a, 0xc3, 0x40, + 0x18, 0xc7, 0x49, 0x05, 0xc1, 0x43, 0x11, 0x22, 0x48, 0x29, 0x0e, 0xa5, 0x3a, 0x48, 0x87, 0xbb, + 0xa8, 0x88, 0x82, 0x76, 0x48, 0x97, 0xea, 0x22, 0xa5, 0x62, 0x07, 0x09, 0x94, 0xb3, 0xf9, 0x38, + 0x02, 0xcd, 0x5d, 0xbd, 0xef, 0xd2, 0x45, 0x5c, 0x7c, 0x05, 0xdf, 0xc0, 0xd1, 0xdd, 0x97, 0x10, + 0x9c, 0x5c, 0x7c, 0x00, 0x1f, 0x44, 0xd2, 0xcb, 0x95, 0xaa, 0x0d, 0xdd, 0xfe, 0x5c, 0xbe, 0xdf, + 0xff, 0xbe, 0xff, 0x3f, 0x47, 0xce, 0x85, 0x52, 0x62, 0x04, 0x8c, 0xc7, 0xc8, 0xac, 0xcc, 0xd5, + 0x24, 0x60, 0x08, 0x7a, 0x92, 0x0c, 0x01, 0x59, 0x86, 0xa0, 0x07, 0x89, 0x34, 0xa0, 0x01, 0xcd, + 0xa0, 0x38, 0xa6, 0x63, 0xad, 0x8c, 0xf2, 0xeb, 0x16, 0xa1, 0x3c, 0x46, 0x3a, 0xa3, 0xe9, 0x24, + 0xa0, 0x8e, 0xae, 0x1d, 0x97, 0xf9, 0x6b, 0x40, 0x95, 0xe9, 0x7f, 0x17, 0x58, 0xe3, 0xda, 0x8e, + 0xc3, 0xc6, 0x09, 0xe3, 0x52, 0x2a, 0xc3, 0x4d, 0xa2, 0x24, 0xda, 0xaf, 0x8d, 0x16, 0xd9, 0xee, + 0x80, 0xb9, 0x41, 0xd0, 0x97, 0x05, 0xd6, 0x83, 0xfb, 0x0c, 0xd0, 0xf8, 0xbb, 0x64, 0xc3, 0x19, + 0x0f, 0x24, 0x4f, 0xa1, 0xea, 0xd5, 0xbd, 0xfd, 0xb5, 0xde, 0xba, 0x3b, 0xbc, 0xe2, 0x29, 0x1c, + 0x7e, 0x78, 0x64, 0x6b, 0x1e, 0xbe, 0xb6, 0xcb, 0xfa, 0x6f, 0x1e, 0xd9, 0xfc, 0xe3, 0xeb, 0x9f, + 0xd2, 0x65, 0x11, 0xe9, 0xe2, 0x55, 0x6a, 0xac, 0x94, 0x9c, 0x45, 0xa7, 0xf3, 0x5c, 0xe3, 0xe4, + 0xe9, 0xf3, 0xfb, 0xb9, 0x72, 0xe0, 0xb3, 0xbc, 0x9e, 0x87, 0x5f, 0x31, 0x5a, 0xc3, 0x0c, 0x8d, + 0x4a, 0x41, 0x23, 0x6b, 0x4e, 0xfb, 0x72, 0x10, 0xb2, 0xe6, 0x63, 0xfb, 0xcb, 0x23, 0x7b, 0x43, + 0x95, 0x2e, 0xdd, 0xb4, 0x5d, 0x5d, 0x90, 0xba, 0x9b, 0x37, 0xda, 0xf5, 0x6e, 0x2f, 0x0a, 0x5a, + 0xa8, 0x11, 0x97, 0x82, 0x2a, 0x2d, 0x98, 0x00, 0x39, 0xed, 0xdb, 0xfd, 0xb8, 0x71, 0x82, 0xe5, + 0xef, 0xe4, 0xcc, 0x89, 0x97, 0xca, 0x4a, 0x27, 0x0c, 0x5f, 0x2b, 0xf5, 0x8e, 0x35, 0x0c, 0x63, + 0xa4, 0x56, 0xe6, 0xaa, 0x1f, 0xd0, 0xe2, 0x62, 0x7c, 0x77, 0x23, 0x51, 0x18, 0x63, 0x34, 0x1b, + 0x89, 0xfa, 0x41, 0xe4, 0x46, 0xee, 0x56, 0xa7, 0x0b, 0x1c, 0xfd, 0x04, 0x00, 0x00, 0xff, 0xff, + 0xb7, 0x66, 0x2b, 0x2d, 0xa7, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_list_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_list_service.pb.go new file mode 100644 index 000000000..266f063a2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/user_list_service.pb.go @@ -0,0 +1,544 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/user_list_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [UserListService.GetUserList][google.ads.googleads.v0.services.UserListService.GetUserList]. +type GetUserListRequest struct { + // The resource name of the user list to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserListRequest) Reset() { *m = GetUserListRequest{} } +func (m *GetUserListRequest) String() string { return proto.CompactTextString(m) } +func (*GetUserListRequest) ProtoMessage() {} +func (*GetUserListRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_service_a212d0fa5504c897, []int{0} +} +func (m *GetUserListRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserListRequest.Unmarshal(m, b) +} +func (m *GetUserListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserListRequest.Marshal(b, m, deterministic) +} +func (dst *GetUserListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserListRequest.Merge(dst, src) +} +func (m *GetUserListRequest) XXX_Size() int { + return xxx_messageInfo_GetUserListRequest.Size(m) +} +func (m *GetUserListRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserListRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserListRequest proto.InternalMessageInfo + +func (m *GetUserListRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +// Request message for [UserListService.MutateUserLists][google.ads.googleads.v0.services.UserListService.MutateUserLists]. +type MutateUserListsRequest struct { + // The ID of the customer whose user lists are being modified. + CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + // The list of operations to perform on individual user lists. + Operations []*UserListOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateUserListsRequest) Reset() { *m = MutateUserListsRequest{} } +func (m *MutateUserListsRequest) String() string { return proto.CompactTextString(m) } +func (*MutateUserListsRequest) ProtoMessage() {} +func (*MutateUserListsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_service_a212d0fa5504c897, []int{1} +} +func (m *MutateUserListsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateUserListsRequest.Unmarshal(m, b) +} +func (m *MutateUserListsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateUserListsRequest.Marshal(b, m, deterministic) +} +func (dst *MutateUserListsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateUserListsRequest.Merge(dst, src) +} +func (m *MutateUserListsRequest) XXX_Size() int { + return xxx_messageInfo_MutateUserListsRequest.Size(m) +} +func (m *MutateUserListsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MutateUserListsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateUserListsRequest proto.InternalMessageInfo + +func (m *MutateUserListsRequest) GetCustomerId() string { + if m != nil { + return m.CustomerId + } + return "" +} + +func (m *MutateUserListsRequest) GetOperations() []*UserListOperation { + if m != nil { + return m.Operations + } + return nil +} + +// A single operation (create, update) on a user list. +type UserListOperation struct { + // FieldMask that determines which resource fields are modified in an update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The mutate operation. + // + // Types that are valid to be assigned to Operation: + // *UserListOperation_Create + // *UserListOperation_Update + // *UserListOperation_Remove + Operation isUserListOperation_Operation `protobuf_oneof:"operation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserListOperation) Reset() { *m = UserListOperation{} } +func (m *UserListOperation) String() string { return proto.CompactTextString(m) } +func (*UserListOperation) ProtoMessage() {} +func (*UserListOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_service_a212d0fa5504c897, []int{2} +} +func (m *UserListOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserListOperation.Unmarshal(m, b) +} +func (m *UserListOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserListOperation.Marshal(b, m, deterministic) +} +func (dst *UserListOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserListOperation.Merge(dst, src) +} +func (m *UserListOperation) XXX_Size() int { + return xxx_messageInfo_UserListOperation.Size(m) +} +func (m *UserListOperation) XXX_DiscardUnknown() { + xxx_messageInfo_UserListOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_UserListOperation proto.InternalMessageInfo + +func (m *UserListOperation) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +type isUserListOperation_Operation interface { + isUserListOperation_Operation() +} + +type UserListOperation_Create struct { + Create *resources.UserList `protobuf:"bytes,1,opt,name=create,proto3,oneof"` +} + +type UserListOperation_Update struct { + Update *resources.UserList `protobuf:"bytes,2,opt,name=update,proto3,oneof"` +} + +type UserListOperation_Remove struct { + Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` +} + +func (*UserListOperation_Create) isUserListOperation_Operation() {} + +func (*UserListOperation_Update) isUserListOperation_Operation() {} + +func (*UserListOperation_Remove) isUserListOperation_Operation() {} + +func (m *UserListOperation) GetOperation() isUserListOperation_Operation { + if m != nil { + return m.Operation + } + return nil +} + +func (m *UserListOperation) GetCreate() *resources.UserList { + if x, ok := m.GetOperation().(*UserListOperation_Create); ok { + return x.Create + } + return nil +} + +func (m *UserListOperation) GetUpdate() *resources.UserList { + if x, ok := m.GetOperation().(*UserListOperation_Update); ok { + return x.Update + } + return nil +} + +func (m *UserListOperation) GetRemove() string { + if x, ok := m.GetOperation().(*UserListOperation_Remove); ok { + return x.Remove + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*UserListOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _UserListOperation_OneofMarshaler, _UserListOperation_OneofUnmarshaler, _UserListOperation_OneofSizer, []interface{}{ + (*UserListOperation_Create)(nil), + (*UserListOperation_Update)(nil), + (*UserListOperation_Remove)(nil), + } +} + +func _UserListOperation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*UserListOperation) + // operation + switch x := m.Operation.(type) { + case *UserListOperation_Create: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Create); err != nil { + return err + } + case *UserListOperation_Update: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Update); err != nil { + return err + } + case *UserListOperation_Remove: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Remove) + case nil: + default: + return fmt.Errorf("UserListOperation.Operation has unexpected type %T", x) + } + return nil +} + +func _UserListOperation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*UserListOperation) + switch tag { + case 1: // operation.create + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.UserList) + err := b.DecodeMessage(msg) + m.Operation = &UserListOperation_Create{msg} + return true, err + case 2: // operation.update + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(resources.UserList) + err := b.DecodeMessage(msg) + m.Operation = &UserListOperation_Update{msg} + return true, err + case 3: // operation.remove + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Operation = &UserListOperation_Remove{x} + return true, err + default: + return false, nil + } +} + +func _UserListOperation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*UserListOperation) + // operation + switch x := m.Operation.(type) { + case *UserListOperation_Create: + s := proto.Size(x.Create) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *UserListOperation_Update: + s := proto.Size(x.Update) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *UserListOperation_Remove: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Remove))) + n += len(x.Remove) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for user list mutate. +type MutateUserListsResponse struct { + // All results for the mutate. + Results []*MutateUserListResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateUserListsResponse) Reset() { *m = MutateUserListsResponse{} } +func (m *MutateUserListsResponse) String() string { return proto.CompactTextString(m) } +func (*MutateUserListsResponse) ProtoMessage() {} +func (*MutateUserListsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_service_a212d0fa5504c897, []int{3} +} +func (m *MutateUserListsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateUserListsResponse.Unmarshal(m, b) +} +func (m *MutateUserListsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateUserListsResponse.Marshal(b, m, deterministic) +} +func (dst *MutateUserListsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateUserListsResponse.Merge(dst, src) +} +func (m *MutateUserListsResponse) XXX_Size() int { + return xxx_messageInfo_MutateUserListsResponse.Size(m) +} +func (m *MutateUserListsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MutateUserListsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateUserListsResponse proto.InternalMessageInfo + +func (m *MutateUserListsResponse) GetResults() []*MutateUserListResult { + if m != nil { + return m.Results + } + return nil +} + +// The result for the user list mutate. +type MutateUserListResult struct { + // Returned for successful operations. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MutateUserListResult) Reset() { *m = MutateUserListResult{} } +func (m *MutateUserListResult) String() string { return proto.CompactTextString(m) } +func (*MutateUserListResult) ProtoMessage() {} +func (*MutateUserListResult) Descriptor() ([]byte, []int) { + return fileDescriptor_user_list_service_a212d0fa5504c897, []int{4} +} +func (m *MutateUserListResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MutateUserListResult.Unmarshal(m, b) +} +func (m *MutateUserListResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MutateUserListResult.Marshal(b, m, deterministic) +} +func (dst *MutateUserListResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_MutateUserListResult.Merge(dst, src) +} +func (m *MutateUserListResult) XXX_Size() int { + return xxx_messageInfo_MutateUserListResult.Size(m) +} +func (m *MutateUserListResult) XXX_DiscardUnknown() { + xxx_messageInfo_MutateUserListResult.DiscardUnknown(m) +} + +var xxx_messageInfo_MutateUserListResult proto.InternalMessageInfo + +func (m *MutateUserListResult) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetUserListRequest)(nil), "google.ads.googleads.v0.services.GetUserListRequest") + proto.RegisterType((*MutateUserListsRequest)(nil), "google.ads.googleads.v0.services.MutateUserListsRequest") + proto.RegisterType((*UserListOperation)(nil), "google.ads.googleads.v0.services.UserListOperation") + proto.RegisterType((*MutateUserListsResponse)(nil), "google.ads.googleads.v0.services.MutateUserListsResponse") + proto.RegisterType((*MutateUserListResult)(nil), "google.ads.googleads.v0.services.MutateUserListResult") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// UserListServiceClient is the client API for UserListService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type UserListServiceClient interface { + // Returns the requested user list. + GetUserList(ctx context.Context, in *GetUserListRequest, opts ...grpc.CallOption) (*resources.UserList, error) + // Creates or updates user lists. Operation statuses are returned. + MutateUserLists(ctx context.Context, in *MutateUserListsRequest, opts ...grpc.CallOption) (*MutateUserListsResponse, error) +} + +type userListServiceClient struct { + cc *grpc.ClientConn +} + +func NewUserListServiceClient(cc *grpc.ClientConn) UserListServiceClient { + return &userListServiceClient{cc} +} + +func (c *userListServiceClient) GetUserList(ctx context.Context, in *GetUserListRequest, opts ...grpc.CallOption) (*resources.UserList, error) { + out := new(resources.UserList) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.UserListService/GetUserList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userListServiceClient) MutateUserLists(ctx context.Context, in *MutateUserListsRequest, opts ...grpc.CallOption) (*MutateUserListsResponse, error) { + out := new(MutateUserListsResponse) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.UserListService/MutateUserLists", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// UserListServiceServer is the server API for UserListService service. +type UserListServiceServer interface { + // Returns the requested user list. + GetUserList(context.Context, *GetUserListRequest) (*resources.UserList, error) + // Creates or updates user lists. Operation statuses are returned. + MutateUserLists(context.Context, *MutateUserListsRequest) (*MutateUserListsResponse, error) +} + +func RegisterUserListServiceServer(s *grpc.Server, srv UserListServiceServer) { + s.RegisterService(&_UserListService_serviceDesc, srv) +} + +func _UserListService_GetUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserListServiceServer).GetUserList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.UserListService/GetUserList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserListServiceServer).GetUserList(ctx, req.(*GetUserListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserListService_MutateUserLists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MutateUserListsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserListServiceServer).MutateUserLists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.UserListService/MutateUserLists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserListServiceServer).MutateUserLists(ctx, req.(*MutateUserListsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _UserListService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.UserListService", + HandlerType: (*UserListServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetUserList", + Handler: _UserListService_GetUserList_Handler, + }, + { + MethodName: "MutateUserLists", + Handler: _UserListService_MutateUserLists_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/user_list_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/user_list_service.proto", fileDescriptor_user_list_service_a212d0fa5504c897) +} + +var fileDescriptor_user_list_service_a212d0fa5504c897 = []byte{ + // 592 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x8b, 0xd3, 0x4c, + 0x18, 0xfe, 0x92, 0xfd, 0xa8, 0xec, 0x44, 0x59, 0x1c, 0x16, 0x0d, 0x45, 0xb0, 0x44, 0x0f, 0xa5, + 0x8b, 0x93, 0xda, 0x8a, 0x6c, 0xb7, 0xec, 0xa1, 0x05, 0xed, 0x0a, 0xae, 0x96, 0x2c, 0xee, 0x41, + 0x0a, 0x65, 0xb6, 0x99, 0x0d, 0xa1, 0x4d, 0x26, 0xce, 0x3b, 0xe9, 0x65, 0xd9, 0x8b, 0xe0, 0xd5, + 0x8b, 0xff, 0x40, 0xf0, 0xe2, 0xbf, 0xf0, 0xea, 0x55, 0x7f, 0x82, 0x7f, 0x43, 0x90, 0x64, 0x32, + 0xdd, 0x76, 0x6b, 0xa9, 0xbb, 0xb7, 0x37, 0x93, 0xe7, 0x79, 0xde, 0x27, 0xcf, 0xbc, 0x6f, 0xd0, + 0x6e, 0xc0, 0x79, 0x30, 0x61, 0x2e, 0xf5, 0xc1, 0x55, 0x65, 0x56, 0x4d, 0xeb, 0x2e, 0x30, 0x31, + 0x0d, 0x47, 0x0c, 0xdc, 0x14, 0x98, 0x18, 0x4e, 0x42, 0x90, 0xc3, 0xe2, 0x88, 0x24, 0x82, 0x4b, + 0x8e, 0x2b, 0x0a, 0x4e, 0xa8, 0x0f, 0x64, 0xc6, 0x24, 0xd3, 0x3a, 0xd1, 0xcc, 0xf2, 0xe3, 0x55, + 0xda, 0x82, 0x01, 0x4f, 0xc5, 0x82, 0xb8, 0x12, 0x2d, 0xdf, 0xd3, 0x94, 0x24, 0x74, 0x69, 0x1c, + 0x73, 0x49, 0x65, 0xc8, 0x63, 0x28, 0xde, 0x16, 0x2d, 0xdd, 0xfc, 0xe9, 0x24, 0x3d, 0x75, 0x4f, + 0x43, 0x36, 0xf1, 0x87, 0x11, 0x85, 0xb1, 0x42, 0x38, 0x2d, 0x84, 0x7b, 0x4c, 0xbe, 0x01, 0x26, + 0x5e, 0x86, 0x20, 0x3d, 0xf6, 0x2e, 0x65, 0x20, 0xf1, 0x03, 0x74, 0x4b, 0xb7, 0x1c, 0xc6, 0x34, + 0x62, 0xb6, 0x51, 0x31, 0xaa, 0x9b, 0xde, 0x4d, 0x7d, 0xf8, 0x8a, 0x46, 0xcc, 0xf9, 0x68, 0xa0, + 0x3b, 0x87, 0xa9, 0xa4, 0x92, 0x69, 0x3a, 0x68, 0xfe, 0x7d, 0x64, 0x8d, 0x52, 0x90, 0x3c, 0x62, + 0x62, 0x18, 0xfa, 0x05, 0x1b, 0xe9, 0xa3, 0x17, 0x3e, 0x3e, 0x42, 0x88, 0x27, 0x4c, 0x28, 0xb3, + 0xb6, 0x59, 0xd9, 0xa8, 0x5a, 0x8d, 0x26, 0x59, 0x17, 0x10, 0xd1, 0x8d, 0x5e, 0x6b, 0xae, 0x37, + 0x27, 0xe3, 0x7c, 0x30, 0xd1, 0xed, 0x25, 0x04, 0x6e, 0x23, 0x2b, 0x4d, 0x7c, 0x2a, 0x59, 0xfe, + 0xd9, 0xf6, 0xff, 0x15, 0xa3, 0x6a, 0x35, 0xca, 0xba, 0x97, 0x4e, 0x86, 0x3c, 0xcf, 0x92, 0x39, + 0xa4, 0x30, 0xf6, 0x90, 0x82, 0x67, 0x35, 0x7e, 0x86, 0x4a, 0x23, 0xc1, 0xa8, 0x54, 0x09, 0x58,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x1e, 0xad, 0xed, 0xdd, 0xdd, 0xbe, 0x74, 0x4b, 0xfd, 0x6c, 0x6d, 0xfa, + 0xc6, 0xdb, 0x83, 0x82, 0x19, 0xf0, 0x09, 0x8d, 0x03, 0xc2, 0x45, 0xe0, 0x06, 0x2c, 0xce, 0x97, + 0x4a, 0xff, 0xc1, 0x92, 0x10, 0x56, 0xff, 0x2c, 0xdb, 0xba, 0xf8, 0x6c, 0x6e, 0xf4, 0x3a, 0x9d, + 0xaf, 0x66, 0xa5, 0xa7, 0x04, 0x3b, 0x3e, 0x10, 0x55, 0x66, 0xd5, 0x71, 0x9d, 0x14, 0x8d, 0xe1, + 0xbb, 0x86, 0x0c, 0x3a, 0x3e, 0x0c, 0x66, 0x90, 0xc1, 0x71, 0x7d, 0xa0, 0x21, 0x27, 0xa5, 0xdc, + 0x40, 0xf3, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x04, 0x32, 0x1d, 0xac, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/video_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/video_service.pb.go new file mode 100644 index 000000000..9be3a9183 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v0/services/video_service.pb.go @@ -0,0 +1,173 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/ads/googleads/v0/services/video_service.proto + +package services // import "google.golang.org/genproto/googleapis/ads/googleads/v0/services" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import resources "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [VideoService.GetVideo][google.ads.googleads.v0.services.VideoService.GetVideo]. +type GetVideoRequest struct { + // The resource name of the video to fetch. + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetVideoRequest) Reset() { *m = GetVideoRequest{} } +func (m *GetVideoRequest) String() string { return proto.CompactTextString(m) } +func (*GetVideoRequest) ProtoMessage() {} +func (*GetVideoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_video_service_d47f3795054be16f, []int{0} +} +func (m *GetVideoRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetVideoRequest.Unmarshal(m, b) +} +func (m *GetVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetVideoRequest.Marshal(b, m, deterministic) +} +func (dst *GetVideoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetVideoRequest.Merge(dst, src) +} +func (m *GetVideoRequest) XXX_Size() int { + return xxx_messageInfo_GetVideoRequest.Size(m) +} +func (m *GetVideoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetVideoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetVideoRequest proto.InternalMessageInfo + +func (m *GetVideoRequest) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func init() { + proto.RegisterType((*GetVideoRequest)(nil), "google.ads.googleads.v0.services.GetVideoRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// VideoServiceClient is the client API for VideoService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type VideoServiceClient interface { + // Returns the requested video in full detail. + GetVideo(ctx context.Context, in *GetVideoRequest, opts ...grpc.CallOption) (*resources.Video, error) +} + +type videoServiceClient struct { + cc *grpc.ClientConn +} + +func NewVideoServiceClient(cc *grpc.ClientConn) VideoServiceClient { + return &videoServiceClient{cc} +} + +func (c *videoServiceClient) GetVideo(ctx context.Context, in *GetVideoRequest, opts ...grpc.CallOption) (*resources.Video, error) { + out := new(resources.Video) + err := c.cc.Invoke(ctx, "/google.ads.googleads.v0.services.VideoService/GetVideo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// VideoServiceServer is the server API for VideoService service. +type VideoServiceServer interface { + // Returns the requested video in full detail. + GetVideo(context.Context, *GetVideoRequest) (*resources.Video, error) +} + +func RegisterVideoServiceServer(s *grpc.Server, srv VideoServiceServer) { + s.RegisterService(&_VideoService_serviceDesc, srv) +} + +func _VideoService_GetVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetVideoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(VideoServiceServer).GetVideo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.ads.googleads.v0.services.VideoService/GetVideo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(VideoServiceServer).GetVideo(ctx, req.(*GetVideoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _VideoService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.ads.googleads.v0.services.VideoService", + HandlerType: (*VideoServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetVideo", + Handler: _VideoService_GetVideo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/ads/googleads/v0/services/video_service.proto", +} + +func init() { + proto.RegisterFile("google/ads/googleads/v0/services/video_service.proto", fileDescriptor_video_service_d47f3795054be16f) +} + +var fileDescriptor_video_service_d47f3795054be16f = []byte{ + // 329 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x4f, 0x4c, 0x29, 0xd6, 0x87, 0x30, 0x41, 0xac, 0x32, 0x03, 0xfd, 0xe2, 0xd4, + 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0xb2, 0xcc, 0x94, 0xd4, 0xfc, 0x78, 0x28, 0x57, 0xaf, + 0xa0, 0x28, 0xbf, 0x24, 0x5f, 0x48, 0x01, 0xa2, 0x54, 0x2f, 0x31, 0xa5, 0x58, 0x0f, 0xae, 0x4b, + 0xaf, 0xcc, 0x40, 0x0f, 0xa6, 0x4b, 0x4a, 0x17, 0x97, 0xb9, 0x45, 0xa9, 0xc5, 0xf9, 0xa5, 0x45, + 0x70, 0x83, 0x21, 0x06, 0x4a, 0xc9, 0xc0, 0x94, 0x17, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, + 0x24, 0x96, 0x64, 0xe6, 0xe7, 0x15, 0x43, 0x64, 0x95, 0xcc, 0xb8, 0xf8, 0xdd, 0x53, 0x4b, 0xc2, + 0x40, 0xea, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84, 0x94, 0xb9, 0x78, 0x61, 0x26, 0xc5, + 0xe7, 0x25, 0xe6, 0xa6, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0xf1, 0xc0, 0x04, 0xfd, 0x12, + 0x73, 0x53, 0x8d, 0x56, 0x31, 0x72, 0xf1, 0x80, 0x75, 0x05, 0x43, 0x9c, 0x25, 0x34, 0x93, 0x91, + 0x8b, 0x03, 0x66, 0x92, 0x90, 0xa1, 0x1e, 0x21, 0x5f, 0xe8, 0xa1, 0xd9, 0x2a, 0xa5, 0x81, 0x53, + 0x0b, 0xdc, 0x5b, 0x7a, 0x60, 0x0d, 0x4a, 0x06, 0x4d, 0x97, 0x9f, 0x4c, 0x66, 0xd2, 0x12, 0xd2, + 0x00, 0xf9, 0xb9, 0x1a, 0xc5, 0xa9, 0xb6, 0xc9, 0xa5, 0xc5, 0x25, 0xf9, 0xb9, 0xa9, 0x45, 0xc5, + 0xfa, 0x5a, 0x90, 0x40, 0x28, 0xd6, 0xd7, 0xaa, 0x75, 0xba, 0xc8, 0xc8, 0xa5, 0x92, 0x9c, 0x9f, + 0x4b, 0xd0, 0x51, 0x4e, 0x82, 0xc8, 0x5e, 0x0a, 0x00, 0x05, 0x50, 0x00, 0x63, 0x94, 0x07, 0x54, + 0x5b, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0x38, + 0xf8, 0x60, 0xe1, 0x5f, 0x90, 0x59, 0x8c, 0x3b, 0x9a, 0xad, 0x61, 0x8c, 0x45, 0x4c, 0xcc, 0xee, + 0x8e, 0x8e, 0xab, 0x98, 0x14, 0xdc, 0x21, 0x06, 0x3a, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, 0x56, + 0x98, 0x81, 0x1e, 0xd4, 0xe2, 0xe2, 0x53, 0x30, 0x25, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x25, + 0x31, 0x61, 0x06, 0x31, 0x30, 0x25, 0x49, 0x6c, 0x60, 0x07, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, + 0xff, 0x65, 0xf7, 0xe3, 0xdd, 0x66, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go index c5a54b3d7..9521b50e9 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go @@ -33,10 +33,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/annotations.proto", fileDescriptor_annotations_7782c41cc734273a) + proto.RegisterFile("google/api/annotations.proto", fileDescriptor_annotations_55609bb51d80951d) } -var fileDescriptor_annotations_7782c41cc734273a = []byte{ +var fileDescriptor_annotations_55609bb51d80951d = []byte{ // 208 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, 0xcc, diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go index 9d57e0584..1a8a27b65 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go @@ -42,7 +42,7 @@ func (m *Http) Reset() { *m = Http{} } func (m *Http) String() string { return proto.CompactTextString(m) } func (*Http) ProtoMessage() {} func (*Http) Descriptor() ([]byte, []int) { - return fileDescriptor_http_9c97bbd8b94894d4, []int{0} + return fileDescriptor_http_e457621dddd7365b, []int{0} } func (m *Http) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Http.Unmarshal(m, b) @@ -315,6 +315,10 @@ type HttpRule struct { // body. NOTE: the referred field must not be a repeated field and must be // present at the top-level of request message type. Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` + // Optional. The name of the response field whose value is mapped to the HTTP + // body of response. Other response fields are ignored. When + // not set, the response message will be used as HTTP body of response. + ResponseBody string `protobuf:"bytes,12,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"` // Additional HTTP bindings for the selector. Nested bindings must // not contain an `additional_bindings` field themselves (that is, // the nesting may only be one level deep). @@ -328,7 +332,7 @@ func (m *HttpRule) Reset() { *m = HttpRule{} } func (m *HttpRule) String() string { return proto.CompactTextString(m) } func (*HttpRule) ProtoMessage() {} func (*HttpRule) Descriptor() ([]byte, []int) { - return fileDescriptor_http_9c97bbd8b94894d4, []int{1} + return fileDescriptor_http_e457621dddd7365b, []int{1} } func (m *HttpRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpRule.Unmarshal(m, b) @@ -348,6 +352,13 @@ func (m *HttpRule) XXX_DiscardUnknown() { var xxx_messageInfo_HttpRule proto.InternalMessageInfo +func (m *HttpRule) GetSelector() string { + if m != nil { + return m.Selector + } + return "" +} + type isHttpRule_Pattern interface { isHttpRule_Pattern() } @@ -355,27 +366,37 @@ type isHttpRule_Pattern interface { type HttpRule_Get struct { Get string `protobuf:"bytes,2,opt,name=get,proto3,oneof"` } + type HttpRule_Put struct { Put string `protobuf:"bytes,3,opt,name=put,proto3,oneof"` } + type HttpRule_Post struct { Post string `protobuf:"bytes,4,opt,name=post,proto3,oneof"` } + type HttpRule_Delete struct { Delete string `protobuf:"bytes,5,opt,name=delete,proto3,oneof"` } + type HttpRule_Patch struct { Patch string `protobuf:"bytes,6,opt,name=patch,proto3,oneof"` } + type HttpRule_Custom struct { Custom *CustomHttpPattern `protobuf:"bytes,8,opt,name=custom,proto3,oneof"` } -func (*HttpRule_Get) isHttpRule_Pattern() {} -func (*HttpRule_Put) isHttpRule_Pattern() {} -func (*HttpRule_Post) isHttpRule_Pattern() {} +func (*HttpRule_Get) isHttpRule_Pattern() {} + +func (*HttpRule_Put) isHttpRule_Pattern() {} + +func (*HttpRule_Post) isHttpRule_Pattern() {} + func (*HttpRule_Delete) isHttpRule_Pattern() {} -func (*HttpRule_Patch) isHttpRule_Pattern() {} + +func (*HttpRule_Patch) isHttpRule_Pattern() {} + func (*HttpRule_Custom) isHttpRule_Pattern() {} func (m *HttpRule) GetPattern() isHttpRule_Pattern { @@ -385,13 +406,6 @@ func (m *HttpRule) GetPattern() isHttpRule_Pattern { return nil } -func (m *HttpRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - func (m *HttpRule) GetGet() string { if x, ok := m.GetPattern().(*HttpRule_Get); ok { return x.Get @@ -441,6 +455,13 @@ func (m *HttpRule) GetBody() string { return "" } +func (m *HttpRule) GetResponseBody() string { + if m != nil { + return m.ResponseBody + } + return "" +} + func (m *HttpRule) GetAdditionalBindings() []*HttpRule { if m != nil { return m.AdditionalBindings @@ -593,7 +614,7 @@ func (m *CustomHttpPattern) Reset() { *m = CustomHttpPattern{} } func (m *CustomHttpPattern) String() string { return proto.CompactTextString(m) } func (*CustomHttpPattern) ProtoMessage() {} func (*CustomHttpPattern) Descriptor() ([]byte, []int) { - return fileDescriptor_http_9c97bbd8b94894d4, []int{2} + return fileDescriptor_http_e457621dddd7365b, []int{2} } func (m *CustomHttpPattern) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomHttpPattern.Unmarshal(m, b) @@ -633,34 +654,35 @@ func init() { proto.RegisterType((*CustomHttpPattern)(nil), "google.api.CustomHttpPattern") } -func init() { proto.RegisterFile("google/api/http.proto", fileDescriptor_http_9c97bbd8b94894d4) } - -var fileDescriptor_http_9c97bbd8b94894d4 = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0xab, 0x13, 0x31, - 0x10, 0xc7, 0xdd, 0x76, 0xdb, 0xd7, 0x4e, 0x41, 0x30, 0x3e, 0x25, 0x88, 0x62, 0xe9, 0xa9, 0x78, - 0xd8, 0xc2, 0xf3, 0xe0, 0xe1, 0x9d, 0x5e, 0xb5, 0xf8, 0xbc, 0x95, 0x3d, 0x7a, 0x29, 0xe9, 0x66, - 0x4c, 0xa3, 0x79, 0x49, 0xd8, 0xcc, 0x8a, 0xfd, 0x3a, 0x7e, 0x07, 0xbf, 0x9b, 0x47, 0x49, 0x36, - 0xb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d9, 0xcd, 0xab, 0xcb, 0x65, 0xbc, 0x4f, 0x99, 0x38, 0xf7, - 0x56, 0x10, 0x61, 0x6b, 0x63, 0xc1, 0x1e, 0x67, 0x0c, 0xca, 0xbd, 0x93, 0x47, 0x7e, 0x95, 0x3e, - 0x90, 0x62, 0xb6, 0x81, 0xa7, 0x42, 0x4a, 0x4d, 0xda, 0x59, 0x61, 0x76, 0x7b, 0x6d, 0xa5, 0xb6, - 0x2a, 0xf0, 0xd9, 0x7f, 0xd6, 0xcc, 0xce, 0x0f, 0xd6, 0x99, 0x5f, 0x4f, 0xe1, 0xca, 0xf7, 0xfd, - 0x16, 0xb7, 0xf0, 0xe4, 0x9f, 0x21, 0x62, 0xeb, 0x6f, 0xda, 0xca, 0xbc, 0xbb, 0x14, 0x47, 0xcf, - 0x0b, 0x3a, 0xf4, 0x8b, 0xab, 0x53, 0xbc, 0xfe, 0x0a, 0x8f, 0x1b, 0xf7, 0x70, 0xd1, 0x76, 0x3d, - 0x4d, 0x65, 0xe2, 0x61, 0x6c, 0x8b, 0xcf, 0x77, 0x39, 0xa1, 0x9c, 0x11, 0x56, 0x55, 0xae, 0x55, - 0x2b, 0x85, 0x36, 0x9d, 0xcd, 0xaa, 0x4f, 0x09, 0xaf, 0x43, 0x3a, 0x28, 0x61, 0xad, 0x23, 0x11, - 0xc7, 0x0c, 0xb7, 0x17, 0xf1, 0xef, 0xa2, 0xf8, 0x39, 0x28, 0x3f, 0xde, 0x6d, 0x3f, 0xed, 0xc7, - 0xe9, 0xdd, 0xdb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x73, 0x2c, 0xed, 0xfb, 0x87, 0x02, 0x00, - 0x00, +func init() { proto.RegisterFile("google/api/http.proto", fileDescriptor_http_e457621dddd7365b) } + +var fileDescriptor_http_e457621dddd7365b = []byte{ + // 419 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x8e, 0xd3, 0x30, + 0x10, 0x86, 0x49, 0x9b, 0x76, 0xdb, 0xe9, 0x82, 0x84, 0x59, 0x90, 0x85, 0x40, 0x54, 0xe5, 0x52, + 0x71, 0x48, 0xa5, 0xe5, 0xc0, 0x61, 0x4f, 0x1b, 0xa8, 0x58, 0x6e, 0x55, 0x8e, 0x5c, 0x22, 0x37, + 0x1e, 0x52, 0x83, 0xd7, 0xb6, 0xe2, 0x09, 0xa2, 0xaf, 0xc3, 0x63, 0xf1, 0x24, 0x1c, 0x91, 0x9d, + 0x84, 0x56, 0x42, 0xe2, 0x36, 0xf3, 0xff, 0x9f, 0xa7, 0x7f, 0x27, 0x03, 0x4f, 0x6b, 0x6b, 0x6b, + 0x8d, 0x1b, 0xe1, 0xd4, 0xe6, 0x40, 0xe4, 0x32, 0xd7, 0x58, 0xb2, 0x0c, 0x3a, 0x39, 0x13, 0x4e, + 0xad, 0x8e, 0x90, 0xde, 0x11, 0x39, 0xf6, 0x06, 0x26, 0x4d, 0xab, 0xd1, 0xf3, 0x64, 0x39, 0x5e, + 0x2f, 0xae, 0xaf, 0xb2, 0x13, 0x93, 0x05, 0xa0, 0x68, 0x35, 0x16, 0x1d, 0xc2, 0xb6, 0xf0, 0xea, + 0x4b, 0xab, 0xf5, 0xb1, 0x94, 0x58, 0x59, 0x89, 0x65, 0x83, 0x1e, 0x9b, 0xef, 0x28, 0x4b, 0xfc, + 0xe1, 0x84, 0xf1, 0xca, 0x1a, 0x3e, 0x5a, 0x26, 0xeb, 0x59, 0xf1, 0x22, 0x62, 0x1f, 0x22, 0x55, + 0xf4, 0xd0, 0x76, 0x60, 0x56, 0xbf, 0x46, 0x30, 0x1b, 0x46, 0xb3, 0xe7, 0x30, 0xf3, 0xa8, 0xb1, + 0x22, 0xdb, 0xf0, 0x64, 0x99, 0xac, 0xe7, 0xc5, 0xdf, 0x9e, 0x31, 0x18, 0xd7, 0x48, 0x71, 0xe6, + 0xfc, 0xee, 0x41, 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 0xc2, 0x29, 0x1f, 0xaf, 0x4e, 0x18, + 0x63, 0x49, 0x84, 0x98, 0xfe, 0xe6, 0xac, 0xfe, 0x9d, 0x24, 0x3f, 0x47, 0xe9, 0xc7, 0xdb, 0xdd, + 0xa7, 0xfd, 0x34, 0xbe, 0x7b, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, 0xae, 0xde, 0xa1, 0xd0, 0xac, + 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go b/vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go index 419629e44..9df7cb878 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go @@ -41,7 +41,7 @@ func (m *AuthorizationConfig) Reset() { *m = AuthorizationConfig{} } func (m *AuthorizationConfig) String() string { return proto.CompactTextString(m) } func (*AuthorizationConfig) ProtoMessage() {} func (*AuthorizationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_authorization_config_aed97ac7a3a4cb16, []int{0} + return fileDescriptor_authorization_config_614be9a94a98ec26, []int{0} } func (m *AuthorizationConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthorizationConfig.Unmarshal(m, b) @@ -73,10 +73,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/experimental/authorization_config.proto", fileDescriptor_authorization_config_aed97ac7a3a4cb16) + proto.RegisterFile("google/api/experimental/authorization_config.proto", fileDescriptor_authorization_config_614be9a94a98ec26) } -var fileDescriptor_authorization_config_aed97ac7a3a4cb16 = []byte{ +var fileDescriptor_authorization_config_614be9a94a98ec26 = []byte{ // 180 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xad, 0x28, 0x48, 0x2d, 0xca, 0xcc, 0x4d, 0xcd, diff --git a/vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go b/vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go index 367846ec6..fbf7811c5 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go @@ -53,7 +53,7 @@ func (x ChangeType) String() string { return proto.EnumName(ChangeType_name, int32(x)) } func (ChangeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_config_change_0bcca47df127ce62, []int{0} + return fileDescriptor_config_change_575fa64fb42e14af, []int{0} } // Output generated from semantically comparing two versions of a service @@ -93,7 +93,7 @@ func (m *ConfigChange) Reset() { *m = ConfigChange{} } func (m *ConfigChange) String() string { return proto.CompactTextString(m) } func (*ConfigChange) ProtoMessage() {} func (*ConfigChange) Descriptor() ([]byte, []int) { - return fileDescriptor_config_change_0bcca47df127ce62, []int{0} + return fileDescriptor_config_change_575fa64fb42e14af, []int{0} } func (m *ConfigChange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigChange.Unmarshal(m, b) @@ -163,7 +163,7 @@ func (m *Advice) Reset() { *m = Advice{} } func (m *Advice) String() string { return proto.CompactTextString(m) } func (*Advice) ProtoMessage() {} func (*Advice) Descriptor() ([]byte, []int) { - return fileDescriptor_config_change_0bcca47df127ce62, []int{1} + return fileDescriptor_config_change_575fa64fb42e14af, []int{1} } func (m *Advice) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Advice.Unmarshal(m, b) @@ -197,10 +197,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/config_change.proto", fileDescriptor_config_change_0bcca47df127ce62) + proto.RegisterFile("google/api/config_change.proto", fileDescriptor_config_change_575fa64fb42e14af) } -var fileDescriptor_config_change_0bcca47df127ce62 = []byte{ +var fileDescriptor_config_change_575fa64fb42e14af = []byte{ // 338 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0xcd, 0x4e, 0xc2, 0x40, 0x14, 0x85, 0x2d, 0xff, 0xdc, 0x12, 0x82, 0xb3, 0xd0, 0x26, 0x24, 0xa6, 0x61, 0x45, 0x88, 0x69, diff --git a/vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go b/vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go index 8f33cff46..ea4596997 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go @@ -77,7 +77,7 @@ func (m *Distribution) Reset() { *m = Distribution{} } func (m *Distribution) String() string { return proto.CompactTextString(m) } func (*Distribution) ProtoMessage() {} func (*Distribution) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_6610577e5079dd76, []int{0} + return fileDescriptor_distribution_4362d2d5f4dd1b54, []int{0} } func (m *Distribution) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution.Unmarshal(m, b) @@ -154,7 +154,7 @@ func (m *Distribution_Range) Reset() { *m = Distribution_Range{} } func (m *Distribution_Range) String() string { return proto.CompactTextString(m) } func (*Distribution_Range) ProtoMessage() {} func (*Distribution_Range) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_6610577e5079dd76, []int{0, 0} + return fileDescriptor_distribution_4362d2d5f4dd1b54, []int{0, 0} } func (m *Distribution_Range) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_Range.Unmarshal(m, b) @@ -228,7 +228,7 @@ func (m *Distribution_BucketOptions) Reset() { *m = Distribution_BucketO func (m *Distribution_BucketOptions) String() string { return proto.CompactTextString(m) } func (*Distribution_BucketOptions) ProtoMessage() {} func (*Distribution_BucketOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_6610577e5079dd76, []int{0, 1} + return fileDescriptor_distribution_4362d2d5f4dd1b54, []int{0, 1} } func (m *Distribution_BucketOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_BucketOptions.Unmarshal(m, b) @@ -255,16 +255,20 @@ type isDistribution_BucketOptions_Options interface { type Distribution_BucketOptions_LinearBuckets struct { LinearBuckets *Distribution_BucketOptions_Linear `protobuf:"bytes,1,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"` } + type Distribution_BucketOptions_ExponentialBuckets struct { ExponentialBuckets *Distribution_BucketOptions_Exponential `protobuf:"bytes,2,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"` } + type Distribution_BucketOptions_ExplicitBuckets struct { ExplicitBuckets *Distribution_BucketOptions_Explicit `protobuf:"bytes,3,opt,name=explicit_buckets,json=explicitBuckets,proto3,oneof"` } -func (*Distribution_BucketOptions_LinearBuckets) isDistribution_BucketOptions_Options() {} +func (*Distribution_BucketOptions_LinearBuckets) isDistribution_BucketOptions_Options() {} + func (*Distribution_BucketOptions_ExponentialBuckets) isDistribution_BucketOptions_Options() {} -func (*Distribution_BucketOptions_ExplicitBuckets) isDistribution_BucketOptions_Options() {} + +func (*Distribution_BucketOptions_ExplicitBuckets) isDistribution_BucketOptions_Options() {} func (m *Distribution_BucketOptions) GetOptions() isDistribution_BucketOptions_Options { if m != nil { @@ -412,7 +416,7 @@ func (m *Distribution_BucketOptions_Linear) Reset() { *m = Distribution_ func (m *Distribution_BucketOptions_Linear) String() string { return proto.CompactTextString(m) } func (*Distribution_BucketOptions_Linear) ProtoMessage() {} func (*Distribution_BucketOptions_Linear) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_6610577e5079dd76, []int{0, 1, 0} + return fileDescriptor_distribution_4362d2d5f4dd1b54, []int{0, 1, 0} } func (m *Distribution_BucketOptions_Linear) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_BucketOptions_Linear.Unmarshal(m, b) @@ -480,7 +484,7 @@ func (m *Distribution_BucketOptions_Exponential) Reset() { func (m *Distribution_BucketOptions_Exponential) String() string { return proto.CompactTextString(m) } func (*Distribution_BucketOptions_Exponential) ProtoMessage() {} func (*Distribution_BucketOptions_Exponential) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_6610577e5079dd76, []int{0, 1, 1} + return fileDescriptor_distribution_4362d2d5f4dd1b54, []int{0, 1, 1} } func (m *Distribution_BucketOptions_Exponential) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_BucketOptions_Exponential.Unmarshal(m, b) @@ -544,7 +548,7 @@ func (m *Distribution_BucketOptions_Explicit) Reset() { *m = Distributio func (m *Distribution_BucketOptions_Explicit) String() string { return proto.CompactTextString(m) } func (*Distribution_BucketOptions_Explicit) ProtoMessage() {} func (*Distribution_BucketOptions_Explicit) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_6610577e5079dd76, []int{0, 1, 2} + return fileDescriptor_distribution_4362d2d5f4dd1b54, []int{0, 1, 2} } func (m *Distribution_BucketOptions_Explicit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_BucketOptions_Explicit.Unmarshal(m, b) @@ -581,10 +585,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/distribution.proto", fileDescriptor_distribution_6610577e5079dd76) + proto.RegisterFile("google/api/distribution.proto", fileDescriptor_distribution_4362d2d5f4dd1b54) } -var fileDescriptor_distribution_6610577e5079dd76 = []byte{ +var fileDescriptor_distribution_4362d2d5f4dd1b54 = []byte{ // 522 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6b, 0xd4, 0x40, 0x14, 0xdd, 0x34, 0xfb, 0xa1, 0x77, 0x3f, 0x5c, 0xc7, 0x2a, 0x21, 0xa8, 0x2c, 0x2d, 0xc8, 0x82, diff --git a/vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go b/vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go index 4b34111b8..7d4c5977b 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go @@ -33,7 +33,7 @@ func (m *Experimental) Reset() { *m = Experimental{} } func (m *Experimental) String() string { return proto.CompactTextString(m) } func (*Experimental) ProtoMessage() {} func (*Experimental) Descriptor() ([]byte, []int) { - return fileDescriptor_experimental_bcdc809cb0848cf0, []int{0} + return fileDescriptor_experimental_6711a67650a507d9, []int{0} } func (m *Experimental) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Experimental.Unmarshal(m, b) @@ -65,10 +65,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/experimental/experimental.proto", fileDescriptor_experimental_bcdc809cb0848cf0) + proto.RegisterFile("google/api/experimental/experimental.proto", fileDescriptor_experimental_6711a67650a507d9) } -var fileDescriptor_experimental_bcdc809cb0848cf0 = []byte{ +var fileDescriptor_experimental_6711a67650a507d9 = []byte{ // 204 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xad, 0x28, 0x48, 0x2d, 0xca, 0xcc, 0x4d, 0xcd, diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go new file mode 100644 index 000000000..1e3a9b264 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go @@ -0,0 +1,195 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/cel_service.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CelServiceClient is the client API for CelService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CelServiceClient interface { + // Transforms CEL source text into a parsed representation. + Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) + // Runs static checks on a parsed CEL representation and return + // an annotated representation, or a set of issues. + Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) + // Evaluates a parsed or annotation CEL representation given + // values of external bindings. + Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) +} + +type celServiceClient struct { + cc *grpc.ClientConn +} + +func NewCelServiceClient(cc *grpc.ClientConn) CelServiceClient { + return &celServiceClient{cc} +} + +func (c *celServiceClient) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) { + out := new(ParseResponse) + err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Parse", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *celServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { + out := new(CheckResponse) + err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Check", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *celServiceClient) Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) { + out := new(EvalResponse) + err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Eval", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CelServiceServer is the server API for CelService service. +type CelServiceServer interface { + // Transforms CEL source text into a parsed representation. + Parse(context.Context, *ParseRequest) (*ParseResponse, error) + // Runs static checks on a parsed CEL representation and return + // an annotated representation, or a set of issues. + Check(context.Context, *CheckRequest) (*CheckResponse, error) + // Evaluates a parsed or annotation CEL representation given + // values of external bindings. + Eval(context.Context, *EvalRequest) (*EvalResponse, error) +} + +func RegisterCelServiceServer(s *grpc.Server, srv CelServiceServer) { + s.RegisterService(&_CelService_serviceDesc, srv) +} + +func _CelService_Parse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ParseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CelServiceServer).Parse(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.api.expr.v1alpha1.CelService/Parse", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CelServiceServer).Parse(ctx, req.(*ParseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CelService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CheckRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CelServiceServer).Check(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.api.expr.v1alpha1.CelService/Check", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CelServiceServer).Check(ctx, req.(*CheckRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CelService_Eval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EvalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CelServiceServer).Eval(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.api.expr.v1alpha1.CelService/Eval", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CelServiceServer).Eval(ctx, req.(*EvalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CelService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.api.expr.v1alpha1.CelService", + HandlerType: (*CelServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Parse", + Handler: _CelService_Parse_Handler, + }, + { + MethodName: "Check", + Handler: _CelService_Check_Handler, + }, + { + MethodName: "Eval", + Handler: _CelService_Eval_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/api/expr/v1alpha1/cel_service.proto", +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/cel_service.proto", fileDescriptor_cel_service_2a8ae2a4ed17c39d) +} + +var fileDescriptor_cel_service_2a8ae2a4ed17c39d = []byte{ + // 240 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd1, 0x31, 0x4b, 0xc4, 0x30, + 0x14, 0xc0, 0x71, 0x2b, 0xea, 0x90, 0x45, 0xc8, 0x24, 0x87, 0x93, 0xe0, 0x09, 0x0e, 0x09, 0x77, + 0x8e, 0x3a, 0xdd, 0xe1, 0x5e, 0x74, 0x10, 0x6e, 0x91, 0x67, 0x78, 0xe6, 0x82, 0x69, 0x5e, 0x4c, + 0x6a, 0xf1, 0xcb, 0xf8, 0x3d, 0x1d, 0x25, 0x69, 0xab, 0x88, 0xc4, 0xde, 0xd8, 0xbe, 0x5f, 0xfe, + 0x81, 0x17, 0x76, 0xa9, 0x89, 0xb4, 0x45, 0x09, 0xde, 0x48, 0x7c, 0xf7, 0x41, 0x76, 0x0b, 0xb0, + 0x7e, 0x0b, 0x0b, 0xa9, 0xd0, 0x3e, 0x46, 0x0c, 0x9d, 0x51, 0x28, 0x7c, 0xa0, 0x96, 0xf8, 0x49, + 0x6f, 0x05, 0x78, 0x23, 0x92, 0x15, 0xa3, 0x9d, 0x2d, 0xcb, 0x15, 0x72, 0xcf, 0x14, 0x1a, 0x70, + 0x0a, 0x7f, 0xd7, 0x96, 0x1f, 0xfb, 0x8c, 0xad, 0xd1, 0xde, 0xf7, 0x3f, 0xf9, 0x86, 0x1d, 0xd6, + 0x10, 0x22, 0xf2, 0xb9, 0x28, 0x5d, 0x23, 0x32, 0xb8, 0xc3, 0xd7, 0x37, 0x8c, 0xed, 0xec, 0x62, + 0xd2, 0x45, 0x4f, 0x2e, 0xe2, 0xd9, 0x5e, 0x6a, 0xaf, 0xb7, 0xa8, 0x5e, 0xfe, 0x6b, 0x67, 0xb0, + 0x43, 0x7b, 0x70, 0xdf, 0xed, 0x07, 0x76, 0x70, 0xdb, 0x81, 0xe5, 0xe7, 0xe5, 0x23, 0x69, 0x3e, + 0x96, 0xe7, 0x53, 0x6c, 0x0c, 0xaf, 0x02, 0x3b, 0x55, 0xd4, 0x14, 0xf9, 0xea, 0xf8, 0x67, 0x79, + 0x75, 0x5a, 0x68, 0x5d, 0x6d, 0x6e, 0x06, 0xac, 0xc9, 0x82, 0xd3, 0x82, 0x82, 0x96, 0x1a, 0x5d, + 0x5e, 0xb7, 0xec, 0x47, 0xe0, 0x4d, 0xfc, 0xfb, 0x4a, 0xd7, 0xe9, 0xeb, 0xb3, 0xaa, 0x9e, 0x8e, + 0xb2, 0xbd, 0xfa, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x97, 0x50, 0xb8, 0x16, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go new file mode 100644 index 000000000..5a49496a3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go @@ -0,0 +1,1428 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/checked.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import _struct "github.com/golang/protobuf/ptypes/struct" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// CEL primitive types. +type Type_PrimitiveType int32 + +const ( + // Unspecified type. + Type_PRIMITIVE_TYPE_UNSPECIFIED Type_PrimitiveType = 0 + // Boolean type. + Type_BOOL Type_PrimitiveType = 1 + // Int64 type. + // + // Proto-based integer values are widened to int64. + Type_INT64 Type_PrimitiveType = 2 + // Uint64 type. + // + // Proto-based unsigned integer values are widened to uint64. + Type_UINT64 Type_PrimitiveType = 3 + // Double type. + // + // Proto-based float values are widened to double values. + Type_DOUBLE Type_PrimitiveType = 4 + // String type. + Type_STRING Type_PrimitiveType = 5 + // Bytes type. + Type_BYTES Type_PrimitiveType = 6 +) + +var Type_PrimitiveType_name = map[int32]string{ + 0: "PRIMITIVE_TYPE_UNSPECIFIED", + 1: "BOOL", + 2: "INT64", + 3: "UINT64", + 4: "DOUBLE", + 5: "STRING", + 6: "BYTES", +} +var Type_PrimitiveType_value = map[string]int32{ + "PRIMITIVE_TYPE_UNSPECIFIED": 0, + "BOOL": 1, + "INT64": 2, + "UINT64": 3, + "DOUBLE": 4, + "STRING": 5, + "BYTES": 6, +} + +func (x Type_PrimitiveType) String() string { + return proto.EnumName(Type_PrimitiveType_name, int32(x)) +} +func (Type_PrimitiveType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1, 0} +} + +// Well-known protobuf types treated with first-class support in CEL. +type Type_WellKnownType int32 + +const ( + // Unspecified type. + Type_WELL_KNOWN_TYPE_UNSPECIFIED Type_WellKnownType = 0 + // Well-known protobuf.Any type. + // + // Any types are a polymorphic message type. During type-checking they are + // treated like `DYN` types, but at runtime they are resolved to a specific + // message type specified at evaluation time. + Type_ANY Type_WellKnownType = 1 + // Well-known protobuf.Timestamp type, internally referenced as `timestamp`. + Type_TIMESTAMP Type_WellKnownType = 2 + // Well-known protobuf.Duration type, internally referenced as `duration`. + Type_DURATION Type_WellKnownType = 3 +) + +var Type_WellKnownType_name = map[int32]string{ + 0: "WELL_KNOWN_TYPE_UNSPECIFIED", + 1: "ANY", + 2: "TIMESTAMP", + 3: "DURATION", +} +var Type_WellKnownType_value = map[string]int32{ + "WELL_KNOWN_TYPE_UNSPECIFIED": 0, + "ANY": 1, + "TIMESTAMP": 2, + "DURATION": 3, +} + +func (x Type_WellKnownType) String() string { + return proto.EnumName(Type_WellKnownType_name, int32(x)) +} +func (Type_WellKnownType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1, 1} +} + +// A CEL expression which has been successfully type checked. +type CheckedExpr struct { + // A map from expression ids to resolved references. + // + // The following entries are in this table: + // + // - An Ident or Select expression is represented here if it resolves to a + // declaration. For instance, if `a.b.c` is represented by + // `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, + // while `c` is a field selection, then the reference is attached to the + // nested select expression (but not to the id or or the outer select). + // In turn, if `a` resolves to a declaration and `b.c` are field selections, + // the reference is attached to the ident expression. + // - Every Call expression has an entry here, identifying the function being + // called. + // - Every CreateStruct expression for a message has an entry, identifying + // the message. + ReferenceMap map[int64]*Reference `protobuf:"bytes,2,rep,name=reference_map,json=referenceMap,proto3" json:"reference_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A map from expression ids to types. + // + // Every expression node which has a type different than DYN has a mapping + // here. If an expression has type DYN, it is omitted from this map to save + // space. + TypeMap map[int64]*Type `protobuf:"bytes,3,rep,name=type_map,json=typeMap,proto3" json:"type_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // The source info derived from input that generated the parsed `expr` and + // any optimizations made during the type-checking pass. + SourceInfo *SourceInfo `protobuf:"bytes,5,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` + // The checked expression. Semantically equivalent to the parsed `expr`, but + // may have structural differences. + Expr *Expr `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckedExpr) Reset() { *m = CheckedExpr{} } +func (m *CheckedExpr) String() string { return proto.CompactTextString(m) } +func (*CheckedExpr) ProtoMessage() {} +func (*CheckedExpr) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{0} +} +func (m *CheckedExpr) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CheckedExpr.Unmarshal(m, b) +} +func (m *CheckedExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CheckedExpr.Marshal(b, m, deterministic) +} +func (dst *CheckedExpr) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckedExpr.Merge(dst, src) +} +func (m *CheckedExpr) XXX_Size() int { + return xxx_messageInfo_CheckedExpr.Size(m) +} +func (m *CheckedExpr) XXX_DiscardUnknown() { + xxx_messageInfo_CheckedExpr.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckedExpr proto.InternalMessageInfo + +func (m *CheckedExpr) GetReferenceMap() map[int64]*Reference { + if m != nil { + return m.ReferenceMap + } + return nil +} + +func (m *CheckedExpr) GetTypeMap() map[int64]*Type { + if m != nil { + return m.TypeMap + } + return nil +} + +func (m *CheckedExpr) GetSourceInfo() *SourceInfo { + if m != nil { + return m.SourceInfo + } + return nil +} + +func (m *CheckedExpr) GetExpr() *Expr { + if m != nil { + return m.Expr + } + return nil +} + +// Represents a CEL type. +type Type struct { + // The kind of type. + // + // Types that are valid to be assigned to TypeKind: + // *Type_Dyn + // *Type_Null + // *Type_Primitive + // *Type_Wrapper + // *Type_WellKnown + // *Type_ListType_ + // *Type_MapType_ + // *Type_Function + // *Type_MessageType + // *Type_TypeParam + // *Type_Type + // *Type_Error + // *Type_AbstractType_ + TypeKind isType_TypeKind `protobuf_oneof:"type_kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Type) Reset() { *m = Type{} } +func (m *Type) String() string { return proto.CompactTextString(m) } +func (*Type) ProtoMessage() {} +func (*Type) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1} +} +func (m *Type) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Type.Unmarshal(m, b) +} +func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Type.Marshal(b, m, deterministic) +} +func (dst *Type) XXX_Merge(src proto.Message) { + xxx_messageInfo_Type.Merge(dst, src) +} +func (m *Type) XXX_Size() int { + return xxx_messageInfo_Type.Size(m) +} +func (m *Type) XXX_DiscardUnknown() { + xxx_messageInfo_Type.DiscardUnknown(m) +} + +var xxx_messageInfo_Type proto.InternalMessageInfo + +type isType_TypeKind interface { + isType_TypeKind() +} + +type Type_Dyn struct { + Dyn *empty.Empty `protobuf:"bytes,1,opt,name=dyn,proto3,oneof"` +} + +type Type_Null struct { + Null _struct.NullValue `protobuf:"varint,2,opt,name=null,proto3,enum=google.protobuf.NullValue,oneof"` +} + +type Type_Primitive struct { + Primitive Type_PrimitiveType `protobuf:"varint,3,opt,name=primitive,proto3,enum=google.api.expr.v1alpha1.Type_PrimitiveType,oneof"` +} + +type Type_Wrapper struct { + Wrapper Type_PrimitiveType `protobuf:"varint,4,opt,name=wrapper,proto3,enum=google.api.expr.v1alpha1.Type_PrimitiveType,oneof"` +} + +type Type_WellKnown struct { + WellKnown Type_WellKnownType `protobuf:"varint,5,opt,name=well_known,json=wellKnown,proto3,enum=google.api.expr.v1alpha1.Type_WellKnownType,oneof"` +} + +type Type_ListType_ struct { + ListType *Type_ListType `protobuf:"bytes,6,opt,name=list_type,json=listType,proto3,oneof"` +} + +type Type_MapType_ struct { + MapType *Type_MapType `protobuf:"bytes,7,opt,name=map_type,json=mapType,proto3,oneof"` +} + +type Type_Function struct { + Function *Type_FunctionType `protobuf:"bytes,8,opt,name=function,proto3,oneof"` +} + +type Type_MessageType struct { + MessageType string `protobuf:"bytes,9,opt,name=message_type,json=messageType,proto3,oneof"` +} + +type Type_TypeParam struct { + TypeParam string `protobuf:"bytes,10,opt,name=type_param,json=typeParam,proto3,oneof"` +} + +type Type_Type struct { + Type *Type `protobuf:"bytes,11,opt,name=type,proto3,oneof"` +} + +type Type_Error struct { + Error *empty.Empty `protobuf:"bytes,12,opt,name=error,proto3,oneof"` +} + +type Type_AbstractType_ struct { + AbstractType *Type_AbstractType `protobuf:"bytes,14,opt,name=abstract_type,json=abstractType,proto3,oneof"` +} + +func (*Type_Dyn) isType_TypeKind() {} + +func (*Type_Null) isType_TypeKind() {} + +func (*Type_Primitive) isType_TypeKind() {} + +func (*Type_Wrapper) isType_TypeKind() {} + +func (*Type_WellKnown) isType_TypeKind() {} + +func (*Type_ListType_) isType_TypeKind() {} + +func (*Type_MapType_) isType_TypeKind() {} + +func (*Type_Function) isType_TypeKind() {} + +func (*Type_MessageType) isType_TypeKind() {} + +func (*Type_TypeParam) isType_TypeKind() {} + +func (*Type_Type) isType_TypeKind() {} + +func (*Type_Error) isType_TypeKind() {} + +func (*Type_AbstractType_) isType_TypeKind() {} + +func (m *Type) GetTypeKind() isType_TypeKind { + if m != nil { + return m.TypeKind + } + return nil +} + +func (m *Type) GetDyn() *empty.Empty { + if x, ok := m.GetTypeKind().(*Type_Dyn); ok { + return x.Dyn + } + return nil +} + +func (m *Type) GetNull() _struct.NullValue { + if x, ok := m.GetTypeKind().(*Type_Null); ok { + return x.Null + } + return _struct.NullValue_NULL_VALUE +} + +func (m *Type) GetPrimitive() Type_PrimitiveType { + if x, ok := m.GetTypeKind().(*Type_Primitive); ok { + return x.Primitive + } + return Type_PRIMITIVE_TYPE_UNSPECIFIED +} + +func (m *Type) GetWrapper() Type_PrimitiveType { + if x, ok := m.GetTypeKind().(*Type_Wrapper); ok { + return x.Wrapper + } + return Type_PRIMITIVE_TYPE_UNSPECIFIED +} + +func (m *Type) GetWellKnown() Type_WellKnownType { + if x, ok := m.GetTypeKind().(*Type_WellKnown); ok { + return x.WellKnown + } + return Type_WELL_KNOWN_TYPE_UNSPECIFIED +} + +func (m *Type) GetListType() *Type_ListType { + if x, ok := m.GetTypeKind().(*Type_ListType_); ok { + return x.ListType + } + return nil +} + +func (m *Type) GetMapType() *Type_MapType { + if x, ok := m.GetTypeKind().(*Type_MapType_); ok { + return x.MapType + } + return nil +} + +func (m *Type) GetFunction() *Type_FunctionType { + if x, ok := m.GetTypeKind().(*Type_Function); ok { + return x.Function + } + return nil +} + +func (m *Type) GetMessageType() string { + if x, ok := m.GetTypeKind().(*Type_MessageType); ok { + return x.MessageType + } + return "" +} + +func (m *Type) GetTypeParam() string { + if x, ok := m.GetTypeKind().(*Type_TypeParam); ok { + return x.TypeParam + } + return "" +} + +func (m *Type) GetType() *Type { + if x, ok := m.GetTypeKind().(*Type_Type); ok { + return x.Type + } + return nil +} + +func (m *Type) GetError() *empty.Empty { + if x, ok := m.GetTypeKind().(*Type_Error); ok { + return x.Error + } + return nil +} + +func (m *Type) GetAbstractType() *Type_AbstractType { + if x, ok := m.GetTypeKind().(*Type_AbstractType_); ok { + return x.AbstractType + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Type) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Type_OneofMarshaler, _Type_OneofUnmarshaler, _Type_OneofSizer, []interface{}{ + (*Type_Dyn)(nil), + (*Type_Null)(nil), + (*Type_Primitive)(nil), + (*Type_Wrapper)(nil), + (*Type_WellKnown)(nil), + (*Type_ListType_)(nil), + (*Type_MapType_)(nil), + (*Type_Function)(nil), + (*Type_MessageType)(nil), + (*Type_TypeParam)(nil), + (*Type_Type)(nil), + (*Type_Error)(nil), + (*Type_AbstractType_)(nil), + } +} + +func _Type_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Type) + // type_kind + switch x := m.TypeKind.(type) { + case *Type_Dyn: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Dyn); err != nil { + return err + } + case *Type_Null: + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Null)) + case *Type_Primitive: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Primitive)) + case *Type_Wrapper: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Wrapper)) + case *Type_WellKnown: + b.EncodeVarint(5<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.WellKnown)) + case *Type_ListType_: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListType); err != nil { + return err + } + case *Type_MapType_: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MapType); err != nil { + return err + } + case *Type_Function: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Function); err != nil { + return err + } + case *Type_MessageType: + b.EncodeVarint(9<<3 | proto.WireBytes) + b.EncodeStringBytes(x.MessageType) + case *Type_TypeParam: + b.EncodeVarint(10<<3 | proto.WireBytes) + b.EncodeStringBytes(x.TypeParam) + case *Type_Type: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Type); err != nil { + return err + } + case *Type_Error: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Error); err != nil { + return err + } + case *Type_AbstractType_: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AbstractType); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Type.TypeKind has unexpected type %T", x) + } + return nil +} + +func _Type_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Type) + switch tag { + case 1: // type_kind.dyn + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(empty.Empty) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_Dyn{msg} + return true, err + case 2: // type_kind.null + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.TypeKind = &Type_Null{_struct.NullValue(x)} + return true, err + case 3: // type_kind.primitive + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.TypeKind = &Type_Primitive{Type_PrimitiveType(x)} + return true, err + case 4: // type_kind.wrapper + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.TypeKind = &Type_Wrapper{Type_PrimitiveType(x)} + return true, err + case 5: // type_kind.well_known + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.TypeKind = &Type_WellKnown{Type_WellKnownType(x)} + return true, err + case 6: // type_kind.list_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Type_ListType) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_ListType_{msg} + return true, err + case 7: // type_kind.map_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Type_MapType) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_MapType_{msg} + return true, err + case 8: // type_kind.function + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Type_FunctionType) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_Function{msg} + return true, err + case 9: // type_kind.message_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.TypeKind = &Type_MessageType{x} + return true, err + case 10: // type_kind.type_param + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.TypeKind = &Type_TypeParam{x} + return true, err + case 11: // type_kind.type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Type) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_Type{msg} + return true, err + case 12: // type_kind.error + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(empty.Empty) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_Error{msg} + return true, err + case 14: // type_kind.abstract_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Type_AbstractType) + err := b.DecodeMessage(msg) + m.TypeKind = &Type_AbstractType_{msg} + return true, err + default: + return false, nil + } +} + +func _Type_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Type) + // type_kind + switch x := m.TypeKind.(type) { + case *Type_Dyn: + s := proto.Size(x.Dyn) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Type_Null: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Null)) + case *Type_Primitive: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Primitive)) + case *Type_Wrapper: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Wrapper)) + case *Type_WellKnown: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.WellKnown)) + case *Type_ListType_: + s := proto.Size(x.ListType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Type_MapType_: + s := proto.Size(x.MapType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Type_Function: + s := proto.Size(x.Function) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Type_MessageType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.MessageType))) + n += len(x.MessageType) + case *Type_TypeParam: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.TypeParam))) + n += len(x.TypeParam) + case *Type_Type: + s := proto.Size(x.Type) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Type_Error: + s := proto.Size(x.Error) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Type_AbstractType_: + s := proto.Size(x.AbstractType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// List type with typed elements, e.g. `list`. +type Type_ListType struct { + // The element type. + ElemType *Type `protobuf:"bytes,1,opt,name=elem_type,json=elemType,proto3" json:"elem_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Type_ListType) Reset() { *m = Type_ListType{} } +func (m *Type_ListType) String() string { return proto.CompactTextString(m) } +func (*Type_ListType) ProtoMessage() {} +func (*Type_ListType) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1, 0} +} +func (m *Type_ListType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Type_ListType.Unmarshal(m, b) +} +func (m *Type_ListType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Type_ListType.Marshal(b, m, deterministic) +} +func (dst *Type_ListType) XXX_Merge(src proto.Message) { + xxx_messageInfo_Type_ListType.Merge(dst, src) +} +func (m *Type_ListType) XXX_Size() int { + return xxx_messageInfo_Type_ListType.Size(m) +} +func (m *Type_ListType) XXX_DiscardUnknown() { + xxx_messageInfo_Type_ListType.DiscardUnknown(m) +} + +var xxx_messageInfo_Type_ListType proto.InternalMessageInfo + +func (m *Type_ListType) GetElemType() *Type { + if m != nil { + return m.ElemType + } + return nil +} + +// Map type with parameterized key and value types, e.g. `map`. +type Type_MapType struct { + // The type of the key. + KeyType *Type `protobuf:"bytes,1,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"` + // The type of the value. + ValueType *Type `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Type_MapType) Reset() { *m = Type_MapType{} } +func (m *Type_MapType) String() string { return proto.CompactTextString(m) } +func (*Type_MapType) ProtoMessage() {} +func (*Type_MapType) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1, 1} +} +func (m *Type_MapType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Type_MapType.Unmarshal(m, b) +} +func (m *Type_MapType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Type_MapType.Marshal(b, m, deterministic) +} +func (dst *Type_MapType) XXX_Merge(src proto.Message) { + xxx_messageInfo_Type_MapType.Merge(dst, src) +} +func (m *Type_MapType) XXX_Size() int { + return xxx_messageInfo_Type_MapType.Size(m) +} +func (m *Type_MapType) XXX_DiscardUnknown() { + xxx_messageInfo_Type_MapType.DiscardUnknown(m) +} + +var xxx_messageInfo_Type_MapType proto.InternalMessageInfo + +func (m *Type_MapType) GetKeyType() *Type { + if m != nil { + return m.KeyType + } + return nil +} + +func (m *Type_MapType) GetValueType() *Type { + if m != nil { + return m.ValueType + } + return nil +} + +// Function type with result and arg types. +type Type_FunctionType struct { + // Result type of the function. + ResultType *Type `protobuf:"bytes,1,opt,name=result_type,json=resultType,proto3" json:"result_type,omitempty"` + // Argument types of the function. + ArgTypes []*Type `protobuf:"bytes,2,rep,name=arg_types,json=argTypes,proto3" json:"arg_types,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Type_FunctionType) Reset() { *m = Type_FunctionType{} } +func (m *Type_FunctionType) String() string { return proto.CompactTextString(m) } +func (*Type_FunctionType) ProtoMessage() {} +func (*Type_FunctionType) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1, 2} +} +func (m *Type_FunctionType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Type_FunctionType.Unmarshal(m, b) +} +func (m *Type_FunctionType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Type_FunctionType.Marshal(b, m, deterministic) +} +func (dst *Type_FunctionType) XXX_Merge(src proto.Message) { + xxx_messageInfo_Type_FunctionType.Merge(dst, src) +} +func (m *Type_FunctionType) XXX_Size() int { + return xxx_messageInfo_Type_FunctionType.Size(m) +} +func (m *Type_FunctionType) XXX_DiscardUnknown() { + xxx_messageInfo_Type_FunctionType.DiscardUnknown(m) +} + +var xxx_messageInfo_Type_FunctionType proto.InternalMessageInfo + +func (m *Type_FunctionType) GetResultType() *Type { + if m != nil { + return m.ResultType + } + return nil +} + +func (m *Type_FunctionType) GetArgTypes() []*Type { + if m != nil { + return m.ArgTypes + } + return nil +} + +// Application defined abstract type. +type Type_AbstractType struct { + // The fully qualified name of this abstract type. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Parameter types for this abstract type. + ParameterTypes []*Type `protobuf:"bytes,2,rep,name=parameter_types,json=parameterTypes,proto3" json:"parameter_types,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Type_AbstractType) Reset() { *m = Type_AbstractType{} } +func (m *Type_AbstractType) String() string { return proto.CompactTextString(m) } +func (*Type_AbstractType) ProtoMessage() {} +func (*Type_AbstractType) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{1, 3} +} +func (m *Type_AbstractType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Type_AbstractType.Unmarshal(m, b) +} +func (m *Type_AbstractType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Type_AbstractType.Marshal(b, m, deterministic) +} +func (dst *Type_AbstractType) XXX_Merge(src proto.Message) { + xxx_messageInfo_Type_AbstractType.Merge(dst, src) +} +func (m *Type_AbstractType) XXX_Size() int { + return xxx_messageInfo_Type_AbstractType.Size(m) +} +func (m *Type_AbstractType) XXX_DiscardUnknown() { + xxx_messageInfo_Type_AbstractType.DiscardUnknown(m) +} + +var xxx_messageInfo_Type_AbstractType proto.InternalMessageInfo + +func (m *Type_AbstractType) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Type_AbstractType) GetParameterTypes() []*Type { + if m != nil { + return m.ParameterTypes + } + return nil +} + +// Represents a declaration of a named value or function. +// +// A declaration is part of the contract between the expression, the agent +// evaluating that expression, and the caller requesting evaluation. +type Decl struct { + // The fully qualified name of the declaration. + // + // Declarations are organized in containers and this represents the full path + // to the declaration in its container, as in `google.api.expr.Decl`. + // + // Declarations used as + // [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] + // parameters may or may not have a name depending on whether the overload is + // function declaration or a function definition containing a result + // [Expr][google.api.expr.v1alpha1.Expr]. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. The declaration kind. + // + // Types that are valid to be assigned to DeclKind: + // *Decl_Ident + // *Decl_Function + DeclKind isDecl_DeclKind `protobuf_oneof:"decl_kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Decl) Reset() { *m = Decl{} } +func (m *Decl) String() string { return proto.CompactTextString(m) } +func (*Decl) ProtoMessage() {} +func (*Decl) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{2} +} +func (m *Decl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Decl.Unmarshal(m, b) +} +func (m *Decl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Decl.Marshal(b, m, deterministic) +} +func (dst *Decl) XXX_Merge(src proto.Message) { + xxx_messageInfo_Decl.Merge(dst, src) +} +func (m *Decl) XXX_Size() int { + return xxx_messageInfo_Decl.Size(m) +} +func (m *Decl) XXX_DiscardUnknown() { + xxx_messageInfo_Decl.DiscardUnknown(m) +} + +var xxx_messageInfo_Decl proto.InternalMessageInfo + +func (m *Decl) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type isDecl_DeclKind interface { + isDecl_DeclKind() +} + +type Decl_Ident struct { + Ident *Decl_IdentDecl `protobuf:"bytes,2,opt,name=ident,proto3,oneof"` +} + +type Decl_Function struct { + Function *Decl_FunctionDecl `protobuf:"bytes,3,opt,name=function,proto3,oneof"` +} + +func (*Decl_Ident) isDecl_DeclKind() {} + +func (*Decl_Function) isDecl_DeclKind() {} + +func (m *Decl) GetDeclKind() isDecl_DeclKind { + if m != nil { + return m.DeclKind + } + return nil +} + +func (m *Decl) GetIdent() *Decl_IdentDecl { + if x, ok := m.GetDeclKind().(*Decl_Ident); ok { + return x.Ident + } + return nil +} + +func (m *Decl) GetFunction() *Decl_FunctionDecl { + if x, ok := m.GetDeclKind().(*Decl_Function); ok { + return x.Function + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Decl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Decl_OneofMarshaler, _Decl_OneofUnmarshaler, _Decl_OneofSizer, []interface{}{ + (*Decl_Ident)(nil), + (*Decl_Function)(nil), + } +} + +func _Decl_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Decl) + // decl_kind + switch x := m.DeclKind.(type) { + case *Decl_Ident: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Ident); err != nil { + return err + } + case *Decl_Function: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Function); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Decl.DeclKind has unexpected type %T", x) + } + return nil +} + +func _Decl_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Decl) + switch tag { + case 2: // decl_kind.ident + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Decl_IdentDecl) + err := b.DecodeMessage(msg) + m.DeclKind = &Decl_Ident{msg} + return true, err + case 3: // decl_kind.function + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Decl_FunctionDecl) + err := b.DecodeMessage(msg) + m.DeclKind = &Decl_Function{msg} + return true, err + default: + return false, nil + } +} + +func _Decl_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Decl) + // decl_kind + switch x := m.DeclKind.(type) { + case *Decl_Ident: + s := proto.Size(x.Ident) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Decl_Function: + s := proto.Size(x.Function) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Identifier declaration which specifies its type and optional `Expr` value. +// +// An identifier without a value is a declaration that must be provided at +// evaluation time. An identifier with a value should resolve to a constant, +// but may be used in conjunction with other identifiers bound at evaluation +// time. +type Decl_IdentDecl struct { + // Required. The type of the identifier. + Type *Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // The constant value of the identifier. If not specified, the identifier + // must be supplied at evaluation time. + Value *Constant `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // Documentation string for the identifier. + Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Decl_IdentDecl) Reset() { *m = Decl_IdentDecl{} } +func (m *Decl_IdentDecl) String() string { return proto.CompactTextString(m) } +func (*Decl_IdentDecl) ProtoMessage() {} +func (*Decl_IdentDecl) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{2, 0} +} +func (m *Decl_IdentDecl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Decl_IdentDecl.Unmarshal(m, b) +} +func (m *Decl_IdentDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Decl_IdentDecl.Marshal(b, m, deterministic) +} +func (dst *Decl_IdentDecl) XXX_Merge(src proto.Message) { + xxx_messageInfo_Decl_IdentDecl.Merge(dst, src) +} +func (m *Decl_IdentDecl) XXX_Size() int { + return xxx_messageInfo_Decl_IdentDecl.Size(m) +} +func (m *Decl_IdentDecl) XXX_DiscardUnknown() { + xxx_messageInfo_Decl_IdentDecl.DiscardUnknown(m) +} + +var xxx_messageInfo_Decl_IdentDecl proto.InternalMessageInfo + +func (m *Decl_IdentDecl) GetType() *Type { + if m != nil { + return m.Type + } + return nil +} + +func (m *Decl_IdentDecl) GetValue() *Constant { + if m != nil { + return m.Value + } + return nil +} + +func (m *Decl_IdentDecl) GetDoc() string { + if m != nil { + return m.Doc + } + return "" +} + +// Function declaration specifies one or more overloads which indicate the +// function's parameter types and return type, and may optionally specify a +// function definition in terms of CEL expressions. +// +// Functions have no observable side-effects (there may be side-effects like +// logging which are not observable from CEL). +type Decl_FunctionDecl struct { + // Required. List of function overloads, must contain at least one overload. + Overloads []*Decl_FunctionDecl_Overload `protobuf:"bytes,1,rep,name=overloads,proto3" json:"overloads,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Decl_FunctionDecl) Reset() { *m = Decl_FunctionDecl{} } +func (m *Decl_FunctionDecl) String() string { return proto.CompactTextString(m) } +func (*Decl_FunctionDecl) ProtoMessage() {} +func (*Decl_FunctionDecl) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{2, 1} +} +func (m *Decl_FunctionDecl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Decl_FunctionDecl.Unmarshal(m, b) +} +func (m *Decl_FunctionDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Decl_FunctionDecl.Marshal(b, m, deterministic) +} +func (dst *Decl_FunctionDecl) XXX_Merge(src proto.Message) { + xxx_messageInfo_Decl_FunctionDecl.Merge(dst, src) +} +func (m *Decl_FunctionDecl) XXX_Size() int { + return xxx_messageInfo_Decl_FunctionDecl.Size(m) +} +func (m *Decl_FunctionDecl) XXX_DiscardUnknown() { + xxx_messageInfo_Decl_FunctionDecl.DiscardUnknown(m) +} + +var xxx_messageInfo_Decl_FunctionDecl proto.InternalMessageInfo + +func (m *Decl_FunctionDecl) GetOverloads() []*Decl_FunctionDecl_Overload { + if m != nil { + return m.Overloads + } + return nil +} + +// An overload indicates a function's parameter types and return type, and +// may optionally include a function body described in terms of +// [Expr][google.api.expr.v1alpha1.Expr] values. +// +// Functions overloads are declared in either a function or method +// call-style. For methods, the `params[0]` is the expected type of the +// target receiver. +// +// Overloads must have non-overlapping argument types after erasure of all +// parameterized type variables (similar as type erasure in Java). +type Decl_FunctionDecl_Overload struct { + // Required. Globally unique overload name of the function which reflects + // the function name and argument types. + // + // This will be used by a [Reference][google.api.expr.v1alpha1.Reference] + // to indicate the `overload_id` that was resolved for the function + // `name`. + OverloadId string `protobuf:"bytes,1,opt,name=overload_id,json=overloadId,proto3" json:"overload_id,omitempty"` + // List of function parameter [Type][google.api.expr.v1alpha1.Type] + // values. + // + // Param types are disjoint after generic type parameters have been + // replaced with the type `DYN`. Since the `DYN` type is compatible with + // any other type, this means that if `A` is a type parameter, the + // function types `int` and `int` are not disjoint. Likewise, + // `map` is not disjoint from `map`. + // + // When the `result_type` of a function is a generic type param, the + // type param name also appears as the `type` of on at least one params. + Params []*Type `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` + // The type param names associated with the function declaration. + // + // For example, `function ex(K key, map map) : V` would yield + // the type params of `K, V`. + TypeParams []string `protobuf:"bytes,3,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` + // Required. The result type of the function. For example, the operator + // `string.isEmpty()` would have `result_type` of `kind: BOOL`. + ResultType *Type `protobuf:"bytes,4,opt,name=result_type,json=resultType,proto3" json:"result_type,omitempty"` + // Whether the function is to be used in a method call-style `x.f(...)` + // of a function call-style `f(x, ...)`. + // + // For methods, the first parameter declaration, `params[0]` is the + // expected type of the target receiver. + IsInstanceFunction bool `protobuf:"varint,5,opt,name=is_instance_function,json=isInstanceFunction,proto3" json:"is_instance_function,omitempty"` + // Documentation string for the overload. + Doc string `protobuf:"bytes,6,opt,name=doc,proto3" json:"doc,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Decl_FunctionDecl_Overload) Reset() { *m = Decl_FunctionDecl_Overload{} } +func (m *Decl_FunctionDecl_Overload) String() string { return proto.CompactTextString(m) } +func (*Decl_FunctionDecl_Overload) ProtoMessage() {} +func (*Decl_FunctionDecl_Overload) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{2, 1, 0} +} +func (m *Decl_FunctionDecl_Overload) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Decl_FunctionDecl_Overload.Unmarshal(m, b) +} +func (m *Decl_FunctionDecl_Overload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Decl_FunctionDecl_Overload.Marshal(b, m, deterministic) +} +func (dst *Decl_FunctionDecl_Overload) XXX_Merge(src proto.Message) { + xxx_messageInfo_Decl_FunctionDecl_Overload.Merge(dst, src) +} +func (m *Decl_FunctionDecl_Overload) XXX_Size() int { + return xxx_messageInfo_Decl_FunctionDecl_Overload.Size(m) +} +func (m *Decl_FunctionDecl_Overload) XXX_DiscardUnknown() { + xxx_messageInfo_Decl_FunctionDecl_Overload.DiscardUnknown(m) +} + +var xxx_messageInfo_Decl_FunctionDecl_Overload proto.InternalMessageInfo + +func (m *Decl_FunctionDecl_Overload) GetOverloadId() string { + if m != nil { + return m.OverloadId + } + return "" +} + +func (m *Decl_FunctionDecl_Overload) GetParams() []*Type { + if m != nil { + return m.Params + } + return nil +} + +func (m *Decl_FunctionDecl_Overload) GetTypeParams() []string { + if m != nil { + return m.TypeParams + } + return nil +} + +func (m *Decl_FunctionDecl_Overload) GetResultType() *Type { + if m != nil { + return m.ResultType + } + return nil +} + +func (m *Decl_FunctionDecl_Overload) GetIsInstanceFunction() bool { + if m != nil { + return m.IsInstanceFunction + } + return false +} + +func (m *Decl_FunctionDecl_Overload) GetDoc() string { + if m != nil { + return m.Doc + } + return "" +} + +// Describes a resolved reference to a declaration. +type Reference struct { + // The fully qualified name of the declaration. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // For references to functions, this is a list of `Overload.overload_id` + // values which match according to typing rules. + // + // If the list has more than one element, overload resolution among the + // presented candidates must happen at runtime because of dynamic types. The + // type checker attempts to narrow down this list as much as possible. + // + // Empty if this is not a reference to a + // [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl]. + OverloadId []string `protobuf:"bytes,3,rep,name=overload_id,json=overloadId,proto3" json:"overload_id,omitempty"` + // For references to constants, this may contain the value of the + // constant if known at compile time. + Value *Constant `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Reference) Reset() { *m = Reference{} } +func (m *Reference) String() string { return proto.CompactTextString(m) } +func (*Reference) ProtoMessage() {} +func (*Reference) Descriptor() ([]byte, []int) { + return fileDescriptor_checked_3a5069ea4af1659c, []int{3} +} +func (m *Reference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Reference.Unmarshal(m, b) +} +func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Reference.Marshal(b, m, deterministic) +} +func (dst *Reference) XXX_Merge(src proto.Message) { + xxx_messageInfo_Reference.Merge(dst, src) +} +func (m *Reference) XXX_Size() int { + return xxx_messageInfo_Reference.Size(m) +} +func (m *Reference) XXX_DiscardUnknown() { + xxx_messageInfo_Reference.DiscardUnknown(m) +} + +var xxx_messageInfo_Reference proto.InternalMessageInfo + +func (m *Reference) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Reference) GetOverloadId() []string { + if m != nil { + return m.OverloadId + } + return nil +} + +func (m *Reference) GetValue() *Constant { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*CheckedExpr)(nil), "google.api.expr.v1alpha1.CheckedExpr") + proto.RegisterMapType((map[int64]*Reference)(nil), "google.api.expr.v1alpha1.CheckedExpr.ReferenceMapEntry") + proto.RegisterMapType((map[int64]*Type)(nil), "google.api.expr.v1alpha1.CheckedExpr.TypeMapEntry") + proto.RegisterType((*Type)(nil), "google.api.expr.v1alpha1.Type") + proto.RegisterType((*Type_ListType)(nil), "google.api.expr.v1alpha1.Type.ListType") + proto.RegisterType((*Type_MapType)(nil), "google.api.expr.v1alpha1.Type.MapType") + proto.RegisterType((*Type_FunctionType)(nil), "google.api.expr.v1alpha1.Type.FunctionType") + proto.RegisterType((*Type_AbstractType)(nil), "google.api.expr.v1alpha1.Type.AbstractType") + proto.RegisterType((*Decl)(nil), "google.api.expr.v1alpha1.Decl") + proto.RegisterType((*Decl_IdentDecl)(nil), "google.api.expr.v1alpha1.Decl.IdentDecl") + proto.RegisterType((*Decl_FunctionDecl)(nil), "google.api.expr.v1alpha1.Decl.FunctionDecl") + proto.RegisterType((*Decl_FunctionDecl_Overload)(nil), "google.api.expr.v1alpha1.Decl.FunctionDecl.Overload") + proto.RegisterType((*Reference)(nil), "google.api.expr.v1alpha1.Reference") + proto.RegisterEnum("google.api.expr.v1alpha1.Type_PrimitiveType", Type_PrimitiveType_name, Type_PrimitiveType_value) + proto.RegisterEnum("google.api.expr.v1alpha1.Type_WellKnownType", Type_WellKnownType_name, Type_WellKnownType_value) +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/checked.proto", fileDescriptor_checked_3a5069ea4af1659c) +} + +var fileDescriptor_checked_3a5069ea4af1659c = []byte{ + // 1144 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x5f, 0x6f, 0xdb, 0xb6, + 0x17, 0x8d, 0x6c, 0xd9, 0x96, 0xae, 0x9c, 0xfe, 0xfc, 0x23, 0x86, 0x41, 0x50, 0x8b, 0x36, 0x70, + 0xb7, 0x2e, 0xd8, 0x06, 0xb9, 0xf5, 0x82, 0xae, 0x5d, 0x37, 0x6c, 0x71, 0xa2, 0x24, 0x42, 0xfd, + 0x0f, 0x8a, 0x93, 0x20, 0xc5, 0x00, 0x81, 0x91, 0x19, 0x57, 0xb0, 0x2c, 0x09, 0x94, 0x9c, 0xc4, + 0x7b, 0xdd, 0xd3, 0xb0, 0x7d, 0x9b, 0x7d, 0x89, 0x7d, 0x9a, 0xbd, 0x6e, 0x8f, 0x03, 0x29, 0xc9, + 0x71, 0xfe, 0x38, 0xb6, 0xdf, 0xae, 0xc8, 0x73, 0x0e, 0x2f, 0x2f, 0xcf, 0x25, 0x05, 0x2f, 0x06, + 0x41, 0x30, 0xf0, 0x48, 0x0d, 0x87, 0x6e, 0x8d, 0x5c, 0x85, 0xb4, 0x76, 0xf1, 0x0a, 0x7b, 0xe1, + 0x47, 0xfc, 0xaa, 0xe6, 0x7c, 0x24, 0xce, 0x90, 0xf4, 0xf5, 0x90, 0x06, 0x71, 0x80, 0xd4, 0x04, + 0xa7, 0xe3, 0xd0, 0xd5, 0x19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, 0x2a, 0xab, 0x48, 0x56, 0xf0, 0xe2, 0xb4, 0xe0, 0xcc, 0xb5, 0x7d, 0xe2, 0x78, 0x89, + 0x6b, 0x7f, 0x01, 0x79, 0xfa, 0xd3, 0x73, 0xaf, 0x73, 0x6f, 0x15, 0x2b, 0xdd, 0xd3, 0x4c, 0xb1, + 0xa6, 0x5e, 0x10, 0x57, 0xf4, 0x42, 0xc3, 0x83, 0x27, 0x4e, 0x30, 0x9a, 0x8b, 0x6f, 0xc8, 0xec, + 0x38, 0xbb, 0xec, 0x9d, 0xe9, 0x0a, 0x1f, 0xbe, 0x4f, 0x61, 0x83, 0xc0, 0xc3, 0xfe, 0x40, 0x0f, + 0xe8, 0xa0, 0x36, 0x20, 0x3e, 0x7f, 0x85, 0x6a, 0xc9, 0x14, 0x0e, 0xdd, 0xe8, 0xee, 0x4f, 0xfa, + 0x3b, 0xf6, 0xf5, 0xaf, 0x20, 0x9c, 0x15, 0x39, 0xf6, 0x9b, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, + 0xee, 0x02, 0xe6, 0x8f, 0x11, 0x0c, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go new file mode 100644 index 000000000..0b1b4e2a8 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go @@ -0,0 +1,799 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/conformance_service.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import status "google.golang.org/genproto/googleapis/rpc/status" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Severities of issues. +type IssueDetails_Severity int32 + +const ( + // An unspecified severity. + IssueDetails_SEVERITY_UNSPECIFIED IssueDetails_Severity = 0 + // Deprecation issue for statements and method that may no longer be + // supported or maintained. + IssueDetails_DEPRECATION IssueDetails_Severity = 1 + // Warnings such as: unused variables. + IssueDetails_WARNING IssueDetails_Severity = 2 + // Errors such as: unmatched curly braces or variable redefinition. + IssueDetails_ERROR IssueDetails_Severity = 3 +) + +var IssueDetails_Severity_name = map[int32]string{ + 0: "SEVERITY_UNSPECIFIED", + 1: "DEPRECATION", + 2: "WARNING", + 3: "ERROR", +} +var IssueDetails_Severity_value = map[string]int32{ + "SEVERITY_UNSPECIFIED": 0, + "DEPRECATION": 1, + "WARNING": 2, + "ERROR": 3, +} + +func (x IssueDetails_Severity) String() string { + return proto.EnumName(IssueDetails_Severity_name, int32(x)) +} +func (IssueDetails_Severity) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{6, 0} +} + +// Request message for the Parse method. +type ParseRequest struct { + // Required. Source text in CEL syntax. + CelSource string `protobuf:"bytes,1,opt,name=cel_source,json=celSource,proto3" json:"cel_source,omitempty"` + // Tag for version of CEL syntax, for future use. + SyntaxVersion string `protobuf:"bytes,2,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"` + // File or resource for source text, used in + // [SourceInfo][google.api.expr.v1alpha1.SourceInfo]. + SourceLocation string `protobuf:"bytes,3,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` + // Prevent macro expansion. See "Macros" in Language Defiinition. + DisableMacros bool `protobuf:"varint,4,opt,name=disable_macros,json=disableMacros,proto3" json:"disable_macros,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParseRequest) Reset() { *m = ParseRequest{} } +func (m *ParseRequest) String() string { return proto.CompactTextString(m) } +func (*ParseRequest) ProtoMessage() {} +func (*ParseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{0} +} +func (m *ParseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParseRequest.Unmarshal(m, b) +} +func (m *ParseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParseRequest.Marshal(b, m, deterministic) +} +func (dst *ParseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParseRequest.Merge(dst, src) +} +func (m *ParseRequest) XXX_Size() int { + return xxx_messageInfo_ParseRequest.Size(m) +} +func (m *ParseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ParseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ParseRequest proto.InternalMessageInfo + +func (m *ParseRequest) GetCelSource() string { + if m != nil { + return m.CelSource + } + return "" +} + +func (m *ParseRequest) GetSyntaxVersion() string { + if m != nil { + return m.SyntaxVersion + } + return "" +} + +func (m *ParseRequest) GetSourceLocation() string { + if m != nil { + return m.SourceLocation + } + return "" +} + +func (m *ParseRequest) GetDisableMacros() bool { + if m != nil { + return m.DisableMacros + } + return false +} + +// Response message for the Parse method. +type ParseResponse struct { + // The parsed representation, or unset if parsing failed. + ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"` + // Any number of issues with [StatusDetails][] as the details. + Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParseResponse) Reset() { *m = ParseResponse{} } +func (m *ParseResponse) String() string { return proto.CompactTextString(m) } +func (*ParseResponse) ProtoMessage() {} +func (*ParseResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{1} +} +func (m *ParseResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParseResponse.Unmarshal(m, b) +} +func (m *ParseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParseResponse.Marshal(b, m, deterministic) +} +func (dst *ParseResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParseResponse.Merge(dst, src) +} +func (m *ParseResponse) XXX_Size() int { + return xxx_messageInfo_ParseResponse.Size(m) +} +func (m *ParseResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ParseResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ParseResponse proto.InternalMessageInfo + +func (m *ParseResponse) GetParsedExpr() *ParsedExpr { + if m != nil { + return m.ParsedExpr + } + return nil +} + +func (m *ParseResponse) GetIssues() []*status.Status { + if m != nil { + return m.Issues + } + return nil +} + +// Request message for the Check method. +type CheckRequest struct { + // Required. The parsed representation of the CEL program. + ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"` + // Declarations of types for external variables and functions. + // Required if program uses external variables or functions + // not in the default environment. + TypeEnv []*Decl `protobuf:"bytes,2,rep,name=type_env,json=typeEnv,proto3" json:"type_env,omitempty"` + // The protocol buffer context. See "Name Resolution" in the + // Language Definition. + Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` + // If true, use only the declarations in + // [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false + // (default), add declarations for the standard definitions to the type + // environment. See "Standard Definitions" in the Language Definition. + NoStdEnv bool `protobuf:"varint,4,opt,name=no_std_env,json=noStdEnv,proto3" json:"no_std_env,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckRequest) Reset() { *m = CheckRequest{} } +func (m *CheckRequest) String() string { return proto.CompactTextString(m) } +func (*CheckRequest) ProtoMessage() {} +func (*CheckRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{2} +} +func (m *CheckRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CheckRequest.Unmarshal(m, b) +} +func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CheckRequest.Marshal(b, m, deterministic) +} +func (dst *CheckRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckRequest.Merge(dst, src) +} +func (m *CheckRequest) XXX_Size() int { + return xxx_messageInfo_CheckRequest.Size(m) +} +func (m *CheckRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CheckRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckRequest proto.InternalMessageInfo + +func (m *CheckRequest) GetParsedExpr() *ParsedExpr { + if m != nil { + return m.ParsedExpr + } + return nil +} + +func (m *CheckRequest) GetTypeEnv() []*Decl { + if m != nil { + return m.TypeEnv + } + return nil +} + +func (m *CheckRequest) GetContainer() string { + if m != nil { + return m.Container + } + return "" +} + +func (m *CheckRequest) GetNoStdEnv() bool { + if m != nil { + return m.NoStdEnv + } + return false +} + +// Response message for the Check method. +type CheckResponse struct { + // The annotated representation, or unset if checking failed. + CheckedExpr *CheckedExpr `protobuf:"bytes,1,opt,name=checked_expr,json=checkedExpr,proto3" json:"checked_expr,omitempty"` + // Any number of issues with [StatusDetails][] as the details. + Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckResponse) Reset() { *m = CheckResponse{} } +func (m *CheckResponse) String() string { return proto.CompactTextString(m) } +func (*CheckResponse) ProtoMessage() {} +func (*CheckResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{3} +} +func (m *CheckResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CheckResponse.Unmarshal(m, b) +} +func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CheckResponse.Marshal(b, m, deterministic) +} +func (dst *CheckResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckResponse.Merge(dst, src) +} +func (m *CheckResponse) XXX_Size() int { + return xxx_messageInfo_CheckResponse.Size(m) +} +func (m *CheckResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CheckResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckResponse proto.InternalMessageInfo + +func (m *CheckResponse) GetCheckedExpr() *CheckedExpr { + if m != nil { + return m.CheckedExpr + } + return nil +} + +func (m *CheckResponse) GetIssues() []*status.Status { + if m != nil { + return m.Issues + } + return nil +} + +// Request message for the Eval method. +type EvalRequest struct { + // Required. Either the parsed or annotated representation of the CEL program. + // + // Types that are valid to be assigned to ExprKind: + // *EvalRequest_ParsedExpr + // *EvalRequest_CheckedExpr + ExprKind isEvalRequest_ExprKind `protobuf_oneof:"expr_kind"` + // Bindings for the external variables. The types SHOULD be compatible + // with the type environment in + // [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked. + Bindings map[string]*ExprValue `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // SHOULD be the same container as used in + // [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked. + Container string `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvalRequest) Reset() { *m = EvalRequest{} } +func (m *EvalRequest) String() string { return proto.CompactTextString(m) } +func (*EvalRequest) ProtoMessage() {} +func (*EvalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{4} +} +func (m *EvalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvalRequest.Unmarshal(m, b) +} +func (m *EvalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvalRequest.Marshal(b, m, deterministic) +} +func (dst *EvalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvalRequest.Merge(dst, src) +} +func (m *EvalRequest) XXX_Size() int { + return xxx_messageInfo_EvalRequest.Size(m) +} +func (m *EvalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EvalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_EvalRequest proto.InternalMessageInfo + +type isEvalRequest_ExprKind interface { + isEvalRequest_ExprKind() +} + +type EvalRequest_ParsedExpr struct { + ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3,oneof"` +} + +type EvalRequest_CheckedExpr struct { + CheckedExpr *CheckedExpr `protobuf:"bytes,2,opt,name=checked_expr,json=checkedExpr,proto3,oneof"` +} + +func (*EvalRequest_ParsedExpr) isEvalRequest_ExprKind() {} + +func (*EvalRequest_CheckedExpr) isEvalRequest_ExprKind() {} + +func (m *EvalRequest) GetExprKind() isEvalRequest_ExprKind { + if m != nil { + return m.ExprKind + } + return nil +} + +func (m *EvalRequest) GetParsedExpr() *ParsedExpr { + if x, ok := m.GetExprKind().(*EvalRequest_ParsedExpr); ok { + return x.ParsedExpr + } + return nil +} + +func (m *EvalRequest) GetCheckedExpr() *CheckedExpr { + if x, ok := m.GetExprKind().(*EvalRequest_CheckedExpr); ok { + return x.CheckedExpr + } + return nil +} + +func (m *EvalRequest) GetBindings() map[string]*ExprValue { + if m != nil { + return m.Bindings + } + return nil +} + +func (m *EvalRequest) GetContainer() string { + if m != nil { + return m.Container + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*EvalRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _EvalRequest_OneofMarshaler, _EvalRequest_OneofUnmarshaler, _EvalRequest_OneofSizer, []interface{}{ + (*EvalRequest_ParsedExpr)(nil), + (*EvalRequest_CheckedExpr)(nil), + } +} + +func _EvalRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*EvalRequest) + // expr_kind + switch x := m.ExprKind.(type) { + case *EvalRequest_ParsedExpr: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ParsedExpr); err != nil { + return err + } + case *EvalRequest_CheckedExpr: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CheckedExpr); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("EvalRequest.ExprKind has unexpected type %T", x) + } + return nil +} + +func _EvalRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*EvalRequest) + switch tag { + case 1: // expr_kind.parsed_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ParsedExpr) + err := b.DecodeMessage(msg) + m.ExprKind = &EvalRequest_ParsedExpr{msg} + return true, err + case 2: // expr_kind.checked_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CheckedExpr) + err := b.DecodeMessage(msg) + m.ExprKind = &EvalRequest_CheckedExpr{msg} + return true, err + default: + return false, nil + } +} + +func _EvalRequest_OneofSizer(msg proto.Message) (n int) { + m := msg.(*EvalRequest) + // expr_kind + switch x := m.ExprKind.(type) { + case *EvalRequest_ParsedExpr: + s := proto.Size(x.ParsedExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *EvalRequest_CheckedExpr: + s := proto.Size(x.CheckedExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Response message for the Eval method. +type EvalResponse struct { + // The execution result, or unset if execution couldn't start. + Result *ExprValue `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + // Any number of issues with [StatusDetails][] as the details. + // Note that CEL execution errors are reified into + // [ExprValue][google.api.expr.v1alpha1.ExprValue]. Nevertheless, we'll allow + // out-of-band issues to be raised, which also makes the replies more regular. + Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvalResponse) Reset() { *m = EvalResponse{} } +func (m *EvalResponse) String() string { return proto.CompactTextString(m) } +func (*EvalResponse) ProtoMessage() {} +func (*EvalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{5} +} +func (m *EvalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvalResponse.Unmarshal(m, b) +} +func (m *EvalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvalResponse.Marshal(b, m, deterministic) +} +func (dst *EvalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvalResponse.Merge(dst, src) +} +func (m *EvalResponse) XXX_Size() int { + return xxx_messageInfo_EvalResponse.Size(m) +} +func (m *EvalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_EvalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_EvalResponse proto.InternalMessageInfo + +func (m *EvalResponse) GetResult() *ExprValue { + if m != nil { + return m.Result + } + return nil +} + +func (m *EvalResponse) GetIssues() []*status.Status { + if m != nil { + return m.Issues + } + return nil +} + +// Warnings or errors in service execution are represented by +// [google.rpc.Status][google.rpc.Status] messages, with the following message +// in the details field. +type IssueDetails struct { + // The severity of the issue. + Severity IssueDetails_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.api.expr.v1alpha1.IssueDetails_Severity" json:"severity,omitempty"` + // Position in the source, if known. + Position *SourcePosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + // Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown. + Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IssueDetails) Reset() { *m = IssueDetails{} } +func (m *IssueDetails) String() string { return proto.CompactTextString(m) } +func (*IssueDetails) ProtoMessage() {} +func (*IssueDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_conformance_service_61e1e6f4037f9b36, []int{6} +} +func (m *IssueDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IssueDetails.Unmarshal(m, b) +} +func (m *IssueDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IssueDetails.Marshal(b, m, deterministic) +} +func (dst *IssueDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssueDetails.Merge(dst, src) +} +func (m *IssueDetails) XXX_Size() int { + return xxx_messageInfo_IssueDetails.Size(m) +} +func (m *IssueDetails) XXX_DiscardUnknown() { + xxx_messageInfo_IssueDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_IssueDetails proto.InternalMessageInfo + +func (m *IssueDetails) GetSeverity() IssueDetails_Severity { + if m != nil { + return m.Severity + } + return IssueDetails_SEVERITY_UNSPECIFIED +} + +func (m *IssueDetails) GetPosition() *SourcePosition { + if m != nil { + return m.Position + } + return nil +} + +func (m *IssueDetails) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func init() { + proto.RegisterType((*ParseRequest)(nil), "google.api.expr.v1alpha1.ParseRequest") + proto.RegisterType((*ParseResponse)(nil), "google.api.expr.v1alpha1.ParseResponse") + proto.RegisterType((*CheckRequest)(nil), "google.api.expr.v1alpha1.CheckRequest") + proto.RegisterType((*CheckResponse)(nil), "google.api.expr.v1alpha1.CheckResponse") + proto.RegisterType((*EvalRequest)(nil), "google.api.expr.v1alpha1.EvalRequest") + proto.RegisterMapType((map[string]*ExprValue)(nil), "google.api.expr.v1alpha1.EvalRequest.BindingsEntry") + proto.RegisterType((*EvalResponse)(nil), "google.api.expr.v1alpha1.EvalResponse") + proto.RegisterType((*IssueDetails)(nil), "google.api.expr.v1alpha1.IssueDetails") + proto.RegisterEnum("google.api.expr.v1alpha1.IssueDetails_Severity", IssueDetails_Severity_name, IssueDetails_Severity_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ConformanceServiceClient is the client API for ConformanceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ConformanceServiceClient interface { + // Transforms CEL source text into a parsed representation. + Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) + // Runs static checks on a parsed CEL representation and return + // an annotated representation, or a set of issues. + Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) + // Evaluates a parsed or annotation CEL representation given + // values of external bindings. + Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) +} + +type conformanceServiceClient struct { + cc *grpc.ClientConn +} + +func NewConformanceServiceClient(cc *grpc.ClientConn) ConformanceServiceClient { + return &conformanceServiceClient{cc} +} + +func (c *conformanceServiceClient) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) { + out := new(ParseResponse) + err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.ConformanceService/Parse", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *conformanceServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { + out := new(CheckResponse) + err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.ConformanceService/Check", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *conformanceServiceClient) Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) { + out := new(EvalResponse) + err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.ConformanceService/Eval", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ConformanceServiceServer is the server API for ConformanceService service. +type ConformanceServiceServer interface { + // Transforms CEL source text into a parsed representation. + Parse(context.Context, *ParseRequest) (*ParseResponse, error) + // Runs static checks on a parsed CEL representation and return + // an annotated representation, or a set of issues. + Check(context.Context, *CheckRequest) (*CheckResponse, error) + // Evaluates a parsed or annotation CEL representation given + // values of external bindings. + Eval(context.Context, *EvalRequest) (*EvalResponse, error) +} + +func RegisterConformanceServiceServer(s *grpc.Server, srv ConformanceServiceServer) { + s.RegisterService(&_ConformanceService_serviceDesc, srv) +} + +func _ConformanceService_Parse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ParseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ConformanceServiceServer).Parse(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.api.expr.v1alpha1.ConformanceService/Parse", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ConformanceServiceServer).Parse(ctx, req.(*ParseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ConformanceService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CheckRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ConformanceServiceServer).Check(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.api.expr.v1alpha1.ConformanceService/Check", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ConformanceServiceServer).Check(ctx, req.(*CheckRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ConformanceService_Eval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EvalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ConformanceServiceServer).Eval(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.api.expr.v1alpha1.ConformanceService/Eval", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ConformanceServiceServer).Eval(ctx, req.(*EvalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ConformanceService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.api.expr.v1alpha1.ConformanceService", + HandlerType: (*ConformanceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Parse", + Handler: _ConformanceService_Parse_Handler, + }, + { + MethodName: "Check", + Handler: _ConformanceService_Check_Handler, + }, + { + MethodName: "Eval", + Handler: _ConformanceService_Eval_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/api/expr/v1alpha1/conformance_service.proto", +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/conformance_service.proto", fileDescriptor_conformance_service_61e1e6f4037f9b36) +} + +var fileDescriptor_conformance_service_61e1e6f4037f9b36 = []byte{ + // 807 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x41, 0x6f, 0xdb, 0x36, + 0x18, 0xb5, 0xe4, 0x24, 0xb5, 0x3f, 0xd9, 0xa9, 0x41, 0x0c, 0xa8, 0x61, 0x64, 0x43, 0xa0, 0x2e, + 0x69, 0xb0, 0x83, 0x84, 0xba, 0x97, 0x75, 0xdd, 0xa5, 0xb1, 0xb5, 0xc6, 0xdb, 0x9a, 0x18, 0x74,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e8, 0xeb, 0x4f, 0x24, 0x65, 0xea, 0xfd, 0x3b, 0xf4, 0x59, + 0xf1, 0xf6, 0xaf, 0x65, 0x5d, 0xec, 0x94, 0xd8, 0x27, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xf9, + 0x66, 0xbb, 0xae, 0x09, 0x08, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go new file mode 100644 index 000000000..4cbcba717 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go @@ -0,0 +1,427 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/eval.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import status "google.golang.org/genproto/googleapis/rpc/status" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The state of an evaluation. +// +// Can represent an inital, partial, or completed state of evaluation. +type EvalState struct { + // The unique values referenced in this message. + Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + // An ordered list of results. + // + // Tracks the flow of evaluation through the expression. + // May be sparse. + Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvalState) Reset() { *m = EvalState{} } +func (m *EvalState) String() string { return proto.CompactTextString(m) } +func (*EvalState) ProtoMessage() {} +func (*EvalState) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_bc3ea778c40b9368, []int{0} +} +func (m *EvalState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvalState.Unmarshal(m, b) +} +func (m *EvalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvalState.Marshal(b, m, deterministic) +} +func (dst *EvalState) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvalState.Merge(dst, src) +} +func (m *EvalState) XXX_Size() int { + return xxx_messageInfo_EvalState.Size(m) +} +func (m *EvalState) XXX_DiscardUnknown() { + xxx_messageInfo_EvalState.DiscardUnknown(m) +} + +var xxx_messageInfo_EvalState proto.InternalMessageInfo + +func (m *EvalState) GetValues() []*ExprValue { + if m != nil { + return m.Values + } + return nil +} + +func (m *EvalState) GetResults() []*EvalState_Result { + if m != nil { + return m.Results + } + return nil +} + +// A single evalution result. +type EvalState_Result struct { + // The id of the expression this result if for. + Expr int64 `protobuf:"varint,1,opt,name=expr,proto3" json:"expr,omitempty"` + // The index in `values` of the resulting value. + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvalState_Result) Reset() { *m = EvalState_Result{} } +func (m *EvalState_Result) String() string { return proto.CompactTextString(m) } +func (*EvalState_Result) ProtoMessage() {} +func (*EvalState_Result) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_bc3ea778c40b9368, []int{0, 0} +} +func (m *EvalState_Result) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvalState_Result.Unmarshal(m, b) +} +func (m *EvalState_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvalState_Result.Marshal(b, m, deterministic) +} +func (dst *EvalState_Result) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvalState_Result.Merge(dst, src) +} +func (m *EvalState_Result) XXX_Size() int { + return xxx_messageInfo_EvalState_Result.Size(m) +} +func (m *EvalState_Result) XXX_DiscardUnknown() { + xxx_messageInfo_EvalState_Result.DiscardUnknown(m) +} + +var xxx_messageInfo_EvalState_Result proto.InternalMessageInfo + +func (m *EvalState_Result) GetExpr() int64 { + if m != nil { + return m.Expr + } + return 0 +} + +func (m *EvalState_Result) GetValue() int64 { + if m != nil { + return m.Value + } + return 0 +} + +// The value of an evaluated expression. +type ExprValue struct { + // An expression can resolve to a value, error or unknown. + // + // Types that are valid to be assigned to Kind: + // *ExprValue_Value + // *ExprValue_Error + // *ExprValue_Unknown + Kind isExprValue_Kind `protobuf_oneof:"kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExprValue) Reset() { *m = ExprValue{} } +func (m *ExprValue) String() string { return proto.CompactTextString(m) } +func (*ExprValue) ProtoMessage() {} +func (*ExprValue) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_bc3ea778c40b9368, []int{1} +} +func (m *ExprValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExprValue.Unmarshal(m, b) +} +func (m *ExprValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExprValue.Marshal(b, m, deterministic) +} +func (dst *ExprValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExprValue.Merge(dst, src) +} +func (m *ExprValue) XXX_Size() int { + return xxx_messageInfo_ExprValue.Size(m) +} +func (m *ExprValue) XXX_DiscardUnknown() { + xxx_messageInfo_ExprValue.DiscardUnknown(m) +} + +var xxx_messageInfo_ExprValue proto.InternalMessageInfo + +type isExprValue_Kind interface { + isExprValue_Kind() +} + +type ExprValue_Value struct { + Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"` +} + +type ExprValue_Error struct { + Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +} + +type ExprValue_Unknown struct { + Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"` +} + +func (*ExprValue_Value) isExprValue_Kind() {} + +func (*ExprValue_Error) isExprValue_Kind() {} + +func (*ExprValue_Unknown) isExprValue_Kind() {} + +func (m *ExprValue) GetKind() isExprValue_Kind { + if m != nil { + return m.Kind + } + return nil +} + +func (m *ExprValue) GetValue() *Value { + if x, ok := m.GetKind().(*ExprValue_Value); ok { + return x.Value + } + return nil +} + +func (m *ExprValue) GetError() *ErrorSet { + if x, ok := m.GetKind().(*ExprValue_Error); ok { + return x.Error + } + return nil +} + +func (m *ExprValue) GetUnknown() *UnknownSet { + if x, ok := m.GetKind().(*ExprValue_Unknown); ok { + return x.Unknown + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ExprValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ExprValue_OneofMarshaler, _ExprValue_OneofUnmarshaler, _ExprValue_OneofSizer, []interface{}{ + (*ExprValue_Value)(nil), + (*ExprValue_Error)(nil), + (*ExprValue_Unknown)(nil), + } +} + +func _ExprValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ExprValue) + // kind + switch x := m.Kind.(type) { + case *ExprValue_Value: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Value); err != nil { + return err + } + case *ExprValue_Error: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Error); err != nil { + return err + } + case *ExprValue_Unknown: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Unknown); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ExprValue.Kind has unexpected type %T", x) + } + return nil +} + +func _ExprValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ExprValue) + switch tag { + case 1: // kind.value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Value) + err := b.DecodeMessage(msg) + m.Kind = &ExprValue_Value{msg} + return true, err + case 2: // kind.error + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ErrorSet) + err := b.DecodeMessage(msg) + m.Kind = &ExprValue_Error{msg} + return true, err + case 3: // kind.unknown + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(UnknownSet) + err := b.DecodeMessage(msg) + m.Kind = &ExprValue_Unknown{msg} + return true, err + default: + return false, nil + } +} + +func _ExprValue_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ExprValue) + // kind + switch x := m.Kind.(type) { + case *ExprValue_Value: + s := proto.Size(x.Value) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ExprValue_Error: + s := proto.Size(x.Error) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ExprValue_Unknown: + s := proto.Size(x.Unknown) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A set of errors. +// +// The errors included depend on the context. See `ExprValue.error`. +type ErrorSet struct { + // The errors in the set. + Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ErrorSet) Reset() { *m = ErrorSet{} } +func (m *ErrorSet) String() string { return proto.CompactTextString(m) } +func (*ErrorSet) ProtoMessage() {} +func (*ErrorSet) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_bc3ea778c40b9368, []int{2} +} +func (m *ErrorSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorSet.Unmarshal(m, b) +} +func (m *ErrorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorSet.Marshal(b, m, deterministic) +} +func (dst *ErrorSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorSet.Merge(dst, src) +} +func (m *ErrorSet) XXX_Size() int { + return xxx_messageInfo_ErrorSet.Size(m) +} +func (m *ErrorSet) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorSet.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorSet proto.InternalMessageInfo + +func (m *ErrorSet) GetErrors() []*status.Status { + if m != nil { + return m.Errors + } + return nil +} + +// A set of expressions for which the value is unknown. +// +// The unknowns included depend on the context. See `ExprValue.unknown`. +type UnknownSet struct { + // The ids of the expressions with unknown values. + Exprs []int64 `protobuf:"varint,1,rep,packed,name=exprs,proto3" json:"exprs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnknownSet) Reset() { *m = UnknownSet{} } +func (m *UnknownSet) String() string { return proto.CompactTextString(m) } +func (*UnknownSet) ProtoMessage() {} +func (*UnknownSet) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_bc3ea778c40b9368, []int{3} +} +func (m *UnknownSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnknownSet.Unmarshal(m, b) +} +func (m *UnknownSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnknownSet.Marshal(b, m, deterministic) +} +func (dst *UnknownSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnknownSet.Merge(dst, src) +} +func (m *UnknownSet) XXX_Size() int { + return xxx_messageInfo_UnknownSet.Size(m) +} +func (m *UnknownSet) XXX_DiscardUnknown() { + xxx_messageInfo_UnknownSet.DiscardUnknown(m) +} + +var xxx_messageInfo_UnknownSet proto.InternalMessageInfo + +func (m *UnknownSet) GetExprs() []int64 { + if m != nil { + return m.Exprs + } + return nil +} + +func init() { + proto.RegisterType((*EvalState)(nil), "google.api.expr.v1alpha1.EvalState") + proto.RegisterType((*EvalState_Result)(nil), "google.api.expr.v1alpha1.EvalState.Result") + proto.RegisterType((*ExprValue)(nil), "google.api.expr.v1alpha1.ExprValue") + proto.RegisterType((*ErrorSet)(nil), "google.api.expr.v1alpha1.ErrorSet") + proto.RegisterType((*UnknownSet)(nil), "google.api.expr.v1alpha1.UnknownSet") +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/eval.proto", fileDescriptor_eval_bc3ea778c40b9368) +} + +var fileDescriptor_eval_bc3ea778c40b9368 = []byte{ + // 367 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x4b, 0xeb, 0x40, + 0x10, 0xc7, 0x5f, 0x5e, 0xda, 0xf4, 0xbd, 0xe9, 0x6d, 0x11, 0x0c, 0x45, 0xb0, 0xa4, 0x3d, 0x94, + 0x1e, 0x36, 0x34, 0x82, 0x82, 0xf5, 0x20, 0xc5, 0x82, 0xc7, 0x92, 0xa2, 0x07, 0x6f, 0x6b, 0x5d, + 0x62, 0xe8, 0x9a, 0x5d, 0x36, 0x3f, 0xec, 0xdf, 0xe7, 0xd1, 0xbf, 0xc8, 0xa3, 0xec, 0x6c, 0x16, + 0x0f, 0x92, 0xde, 0x3a, 0xbb, 0x9f, 0xcf, 0x77, 0xa6, 0xd9, 0x81, 0x49, 0x26, 0x65, 0x26, 0x78, + 0xcc, 0x54, 0x1e, 0xf3, 0x83, 0xd2, 0x71, 0xb3, 0x60, 0x42, 0xbd, 0xb2, 0x45, 0xcc, 0x1b, 0x26, + 0xa8, 0xd2, 0xb2, 0x92, 0x24, 0xb4, 0x10, 0x65, 0x2a, 0xa7, 0x06, 0xa2, 0x0e, 0x1a, 0x4d, 0x3b, + 0xf5, 0x86, 0x89, 0x9a, 0x5b, 0x7f, 0x74, 0xda, 0x52, 0x5a, 0xed, 0xe2, 0xb2, 0x62, 0x55, 0x5d, + 0xda, 0x8b, 0xe8, 0xc3, 0x83, 0xff, 0xeb, 0x86, 0x89,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, 0x2c, 0xc6, + 0xc6, 0x7b, 0xba, 0x69, 0xb1, 0x4c, 0x0a, 0x56, 0x64, 0x54, 0xea, 0x2c, 0xce, 0x78, 0x81, 0x6b, + 0x13, 0xdb, 0x2b, 0xa6, 0xf2, 0xf2, 0xf7, 0xe2, 0x2d, 0x4d, 0xf5, 0xe5, 0x79, 0xcf, 0x01, 0xb2, + 0x17, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x62, 0xde, 0x1d, 0xe2, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go new file mode 100644 index 000000000..6b1f8f636 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go @@ -0,0 +1,157 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/explain.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Values of intermediate expressions produced when evaluating expression. +// Deprecated, use `EvalState` instead. +// +// Deprecated: Do not use. +type Explain struct { + // All of the observed values. + // + // The field value_index is an index in the values list. + // Separating values from steps is needed to remove redundant values. + Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + // List of steps. + // + // Repeated evaluations of the same expression generate new ExprStep + // instances. The order of such ExprStep instances matches the order of + // elements returned by Comprehension.iter_range. + ExprSteps []*Explain_ExprStep `protobuf:"bytes,2,rep,name=expr_steps,json=exprSteps,proto3" json:"expr_steps,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Explain) Reset() { *m = Explain{} } +func (m *Explain) String() string { return proto.CompactTextString(m) } +func (*Explain) ProtoMessage() {} +func (*Explain) Descriptor() ([]byte, []int) { + return fileDescriptor_explain_fcb87931845c5427, []int{0} +} +func (m *Explain) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Explain.Unmarshal(m, b) +} +func (m *Explain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Explain.Marshal(b, m, deterministic) +} +func (dst *Explain) XXX_Merge(src proto.Message) { + xxx_messageInfo_Explain.Merge(dst, src) +} +func (m *Explain) XXX_Size() int { + return xxx_messageInfo_Explain.Size(m) +} +func (m *Explain) XXX_DiscardUnknown() { + xxx_messageInfo_Explain.DiscardUnknown(m) +} + +var xxx_messageInfo_Explain proto.InternalMessageInfo + +func (m *Explain) GetValues() []*Value { + if m != nil { + return m.Values + } + return nil +} + +func (m *Explain) GetExprSteps() []*Explain_ExprStep { + if m != nil { + return m.ExprSteps + } + return nil +} + +// ID and value index of one step. +type Explain_ExprStep struct { + // ID of corresponding Expr node. + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // Index of the value in the values list. + ValueIndex int32 `protobuf:"varint,2,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Explain_ExprStep) Reset() { *m = Explain_ExprStep{} } +func (m *Explain_ExprStep) String() string { return proto.CompactTextString(m) } +func (*Explain_ExprStep) ProtoMessage() {} +func (*Explain_ExprStep) Descriptor() ([]byte, []int) { + return fileDescriptor_explain_fcb87931845c5427, []int{0, 0} +} +func (m *Explain_ExprStep) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Explain_ExprStep.Unmarshal(m, b) +} +func (m *Explain_ExprStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Explain_ExprStep.Marshal(b, m, deterministic) +} +func (dst *Explain_ExprStep) XXX_Merge(src proto.Message) { + xxx_messageInfo_Explain_ExprStep.Merge(dst, src) +} +func (m *Explain_ExprStep) XXX_Size() int { + return xxx_messageInfo_Explain_ExprStep.Size(m) +} +func (m *Explain_ExprStep) XXX_DiscardUnknown() { + xxx_messageInfo_Explain_ExprStep.DiscardUnknown(m) +} + +var xxx_messageInfo_Explain_ExprStep proto.InternalMessageInfo + +func (m *Explain_ExprStep) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *Explain_ExprStep) GetValueIndex() int32 { + if m != nil { + return m.ValueIndex + } + return 0 +} + +func init() { + proto.RegisterType((*Explain)(nil), "google.api.expr.v1alpha1.Explain") + proto.RegisterType((*Explain_ExprStep)(nil), "google.api.expr.v1alpha1.Explain.ExprStep") +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/explain.proto", fileDescriptor_explain_fcb87931845c5427) +} + +var fileDescriptor_explain_fcb87931845c5427 = []byte{ + // 261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4b, 0x03, 0x31, + 0x14, 0xc6, 0x79, 0x29, 0x56, 0x7d, 0x15, 0x87, 0x4c, 0xa1, 0x08, 0x3d, 0x44, 0xe4, 0x70, 0x48, + 0xa8, 0x0e, 0x82, 0x75, 0x2a, 0x38, 0x74, 0x2b, 0x27, 0x38, 0xb8, 0x94, 0xe8, 0x85, 0x18, 0x88, + 0x97, 0x70, 0x39, 0x4b, 0xff, 0x4a, 0xff, 0x1e, 0x47, 0x49, 0x2e, 0x37, 0x95, 0x9b, 0xee, 0xde, + 0xfb, 0x7e, 0xdf, 0xf7, 0x91, 0x87, 0xb7, 0xda, 0x39, 0x6d, 0x95, 0x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+ 0x9e, 0xb2, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go new file mode 100644 index 000000000..1332eb6a5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go @@ -0,0 +1,1572 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/syntax.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import duration "github.com/golang/protobuf/ptypes/duration" +import _struct "github.com/golang/protobuf/ptypes/struct" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An expression together with source information as returned by the parser. +type ParsedExpr struct { + // The parsed expression. + Expr *Expr `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` + // The source info derived from input that generated the parsed `expr`. + SourceInfo *SourceInfo `protobuf:"bytes,3,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParsedExpr) Reset() { *m = ParsedExpr{} } +func (m *ParsedExpr) String() string { return proto.CompactTextString(m) } +func (*ParsedExpr) ProtoMessage() {} +func (*ParsedExpr) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{0} +} +func (m *ParsedExpr) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParsedExpr.Unmarshal(m, b) +} +func (m *ParsedExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParsedExpr.Marshal(b, m, deterministic) +} +func (dst *ParsedExpr) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParsedExpr.Merge(dst, src) +} +func (m *ParsedExpr) XXX_Size() int { + return xxx_messageInfo_ParsedExpr.Size(m) +} +func (m *ParsedExpr) XXX_DiscardUnknown() { + xxx_messageInfo_ParsedExpr.DiscardUnknown(m) +} + +var xxx_messageInfo_ParsedExpr proto.InternalMessageInfo + +func (m *ParsedExpr) GetExpr() *Expr { + if m != nil { + return m.Expr + } + return nil +} + +func (m *ParsedExpr) GetSourceInfo() *SourceInfo { + if m != nil { + return m.SourceInfo + } + return nil +} + +// An abstract representation of a common expression. +// +// Expressions are abstractly represented as a collection of identifiers, +// select statements, function calls, literals, and comprehensions. All +// operators with the exception of the '.' operator are modelled as function +// calls. This makes it easy to represent new operators into the existing AST. +// +// All references within expressions must resolve to a +// [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an +// expression to be valid. A reference may either be a bare identifier `name` or +// a qualified identifier `google.api.name`. References may either refer to a +// value or a function declaration. +// +// For example, the expression `google.api.name.startsWith('expr')` references +// the declaration `google.api.name` within a +// [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the +// function declaration `startsWith`. +type Expr struct { + // Required. An id assigned to this node by the parser which is unique in a + // given expression tree. This is used to associate type information and other + // attributes to a node in the parse tree. + Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + // Required. Variants of expressions. + // + // Types that are valid to be assigned to ExprKind: + // *Expr_ConstExpr + // *Expr_IdentExpr + // *Expr_SelectExpr + // *Expr_CallExpr + // *Expr_ListExpr + // *Expr_StructExpr + // *Expr_ComprehensionExpr + ExprKind isExpr_ExprKind `protobuf_oneof:"expr_kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr) Reset() { *m = Expr{} } +func (m *Expr) String() string { return proto.CompactTextString(m) } +func (*Expr) ProtoMessage() {} +func (*Expr) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1} +} +func (m *Expr) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr.Unmarshal(m, b) +} +func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr.Marshal(b, m, deterministic) +} +func (dst *Expr) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr.Merge(dst, src) +} +func (m *Expr) XXX_Size() int { + return xxx_messageInfo_Expr.Size(m) +} +func (m *Expr) XXX_DiscardUnknown() { + xxx_messageInfo_Expr.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr proto.InternalMessageInfo + +func (m *Expr) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +type isExpr_ExprKind interface { + isExpr_ExprKind() +} + +type Expr_ConstExpr struct { + ConstExpr *Constant `protobuf:"bytes,3,opt,name=const_expr,json=constExpr,proto3,oneof"` +} + +type Expr_IdentExpr struct { + IdentExpr *Expr_Ident `protobuf:"bytes,4,opt,name=ident_expr,json=identExpr,proto3,oneof"` +} + +type Expr_SelectExpr struct { + SelectExpr *Expr_Select `protobuf:"bytes,5,opt,name=select_expr,json=selectExpr,proto3,oneof"` +} + +type Expr_CallExpr struct { + CallExpr *Expr_Call `protobuf:"bytes,6,opt,name=call_expr,json=callExpr,proto3,oneof"` +} + +type Expr_ListExpr struct { + ListExpr *Expr_CreateList `protobuf:"bytes,7,opt,name=list_expr,json=listExpr,proto3,oneof"` +} + +type Expr_StructExpr struct { + StructExpr *Expr_CreateStruct `protobuf:"bytes,8,opt,name=struct_expr,json=structExpr,proto3,oneof"` +} + +type Expr_ComprehensionExpr struct { + ComprehensionExpr *Expr_Comprehension `protobuf:"bytes,9,opt,name=comprehension_expr,json=comprehensionExpr,proto3,oneof"` +} + +func (*Expr_ConstExpr) isExpr_ExprKind() {} + +func (*Expr_IdentExpr) isExpr_ExprKind() {} + +func (*Expr_SelectExpr) isExpr_ExprKind() {} + +func (*Expr_CallExpr) isExpr_ExprKind() {} + +func (*Expr_ListExpr) isExpr_ExprKind() {} + +func (*Expr_StructExpr) isExpr_ExprKind() {} + +func (*Expr_ComprehensionExpr) isExpr_ExprKind() {} + +func (m *Expr) GetExprKind() isExpr_ExprKind { + if m != nil { + return m.ExprKind + } + return nil +} + +func (m *Expr) GetConstExpr() *Constant { + if x, ok := m.GetExprKind().(*Expr_ConstExpr); ok { + return x.ConstExpr + } + return nil +} + +func (m *Expr) GetIdentExpr() *Expr_Ident { + if x, ok := m.GetExprKind().(*Expr_IdentExpr); ok { + return x.IdentExpr + } + return nil +} + +func (m *Expr) GetSelectExpr() *Expr_Select { + if x, ok := m.GetExprKind().(*Expr_SelectExpr); ok { + return x.SelectExpr + } + return nil +} + +func (m *Expr) GetCallExpr() *Expr_Call { + if x, ok := m.GetExprKind().(*Expr_CallExpr); ok { + return x.CallExpr + } + return nil +} + +func (m *Expr) GetListExpr() *Expr_CreateList { + if x, ok := m.GetExprKind().(*Expr_ListExpr); ok { + return x.ListExpr + } + return nil +} + +func (m *Expr) GetStructExpr() *Expr_CreateStruct { + if x, ok := m.GetExprKind().(*Expr_StructExpr); ok { + return x.StructExpr + } + return nil +} + +func (m *Expr) GetComprehensionExpr() *Expr_Comprehension { + if x, ok := m.GetExprKind().(*Expr_ComprehensionExpr); ok { + return x.ComprehensionExpr + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Expr) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Expr_OneofMarshaler, _Expr_OneofUnmarshaler, _Expr_OneofSizer, []interface{}{ + (*Expr_ConstExpr)(nil), + (*Expr_IdentExpr)(nil), + (*Expr_SelectExpr)(nil), + (*Expr_CallExpr)(nil), + (*Expr_ListExpr)(nil), + (*Expr_StructExpr)(nil), + (*Expr_ComprehensionExpr)(nil), + } +} + +func _Expr_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Expr) + // expr_kind + switch x := m.ExprKind.(type) { + case *Expr_ConstExpr: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ConstExpr); err != nil { + return err + } + case *Expr_IdentExpr: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.IdentExpr); err != nil { + return err + } + case *Expr_SelectExpr: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SelectExpr); err != nil { + return err + } + case *Expr_CallExpr: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CallExpr); err != nil { + return err + } + case *Expr_ListExpr: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListExpr); err != nil { + return err + } + case *Expr_StructExpr: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.StructExpr); err != nil { + return err + } + case *Expr_ComprehensionExpr: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ComprehensionExpr); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Expr.ExprKind has unexpected type %T", x) + } + return nil +} + +func _Expr_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Expr) + switch tag { + case 3: // expr_kind.const_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Constant) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_ConstExpr{msg} + return true, err + case 4: // expr_kind.ident_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Ident) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_IdentExpr{msg} + return true, err + case 5: // expr_kind.select_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Select) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_SelectExpr{msg} + return true, err + case 6: // expr_kind.call_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Call) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_CallExpr{msg} + return true, err + case 7: // expr_kind.list_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_CreateList) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_ListExpr{msg} + return true, err + case 8: // expr_kind.struct_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_CreateStruct) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_StructExpr{msg} + return true, err + case 9: // expr_kind.comprehension_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Comprehension) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_ComprehensionExpr{msg} + return true, err + default: + return false, nil + } +} + +func _Expr_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Expr) + // expr_kind + switch x := m.ExprKind.(type) { + case *Expr_ConstExpr: + s := proto.Size(x.ConstExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_IdentExpr: + s := proto.Size(x.IdentExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_SelectExpr: + s := proto.Size(x.SelectExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_CallExpr: + s := proto.Size(x.CallExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_ListExpr: + s := proto.Size(x.ListExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_StructExpr: + s := proto.Size(x.StructExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_ComprehensionExpr: + s := proto.Size(x.ComprehensionExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An identifier expression. e.g. `request`. +type Expr_Ident struct { + // Required. Holds a single, unqualified identifier, possibly preceded by a + // '.'. + // + // Qualified names are represented by the + // [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Ident) Reset() { *m = Expr_Ident{} } +func (m *Expr_Ident) String() string { return proto.CompactTextString(m) } +func (*Expr_Ident) ProtoMessage() {} +func (*Expr_Ident) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 0} +} +func (m *Expr_Ident) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Ident.Unmarshal(m, b) +} +func (m *Expr_Ident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Ident.Marshal(b, m, deterministic) +} +func (dst *Expr_Ident) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Ident.Merge(dst, src) +} +func (m *Expr_Ident) XXX_Size() int { + return xxx_messageInfo_Expr_Ident.Size(m) +} +func (m *Expr_Ident) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Ident.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Ident proto.InternalMessageInfo + +func (m *Expr_Ident) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// A field selection expression. e.g. `request.auth`. +type Expr_Select struct { + // Required. The target of the selection expression. + // + // For example, in the select expression `request.auth`, the `request` + // portion of the expression is the `operand`. + Operand *Expr `protobuf:"bytes,1,opt,name=operand,proto3" json:"operand,omitempty"` + // Required. The name of the field to select. + // + // For example, in the select expression `request.auth`, the `auth` portion + // of the expression would be the `field`. + Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` + // Whether the select is to be interpreted as a field presence test. + // + // This results from the macro `has(request.auth)`. + TestOnly bool `protobuf:"varint,3,opt,name=test_only,json=testOnly,proto3" json:"test_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Select) Reset() { *m = Expr_Select{} } +func (m *Expr_Select) String() string { return proto.CompactTextString(m) } +func (*Expr_Select) ProtoMessage() {} +func (*Expr_Select) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 1} +} +func (m *Expr_Select) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Select.Unmarshal(m, b) +} +func (m *Expr_Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Select.Marshal(b, m, deterministic) +} +func (dst *Expr_Select) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Select.Merge(dst, src) +} +func (m *Expr_Select) XXX_Size() int { + return xxx_messageInfo_Expr_Select.Size(m) +} +func (m *Expr_Select) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Select.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Select proto.InternalMessageInfo + +func (m *Expr_Select) GetOperand() *Expr { + if m != nil { + return m.Operand + } + return nil +} + +func (m *Expr_Select) GetField() string { + if m != nil { + return m.Field + } + return "" +} + +func (m *Expr_Select) GetTestOnly() bool { + if m != nil { + return m.TestOnly + } + return false +} + +// A call expression, including calls to predefined functions and operators. +// +// For example, `value == 10`, `size(map_value)`. +type Expr_Call struct { + // The target of an method call-style expression. For example, `x` in + // `x.f()`. + Target *Expr `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + // Required. The name of the function or method being called. + Function string `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` + // The arguments. + Args []*Expr `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Call) Reset() { *m = Expr_Call{} } +func (m *Expr_Call) String() string { return proto.CompactTextString(m) } +func (*Expr_Call) ProtoMessage() {} +func (*Expr_Call) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 2} +} +func (m *Expr_Call) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Call.Unmarshal(m, b) +} +func (m *Expr_Call) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Call.Marshal(b, m, deterministic) +} +func (dst *Expr_Call) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Call.Merge(dst, src) +} +func (m *Expr_Call) XXX_Size() int { + return xxx_messageInfo_Expr_Call.Size(m) +} +func (m *Expr_Call) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Call.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Call proto.InternalMessageInfo + +func (m *Expr_Call) GetTarget() *Expr { + if m != nil { + return m.Target + } + return nil +} + +func (m *Expr_Call) GetFunction() string { + if m != nil { + return m.Function + } + return "" +} + +func (m *Expr_Call) GetArgs() []*Expr { + if m != nil { + return m.Args + } + return nil +} + +// A list creation expression. +// +// Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. +// `dyn([1, 'hello', 2.0])` +type Expr_CreateList struct { + // The elements part of the list. + Elements []*Expr `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_CreateList) Reset() { *m = Expr_CreateList{} } +func (m *Expr_CreateList) String() string { return proto.CompactTextString(m) } +func (*Expr_CreateList) ProtoMessage() {} +func (*Expr_CreateList) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 3} +} +func (m *Expr_CreateList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_CreateList.Unmarshal(m, b) +} +func (m *Expr_CreateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_CreateList.Marshal(b, m, deterministic) +} +func (dst *Expr_CreateList) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_CreateList.Merge(dst, src) +} +func (m *Expr_CreateList) XXX_Size() int { + return xxx_messageInfo_Expr_CreateList.Size(m) +} +func (m *Expr_CreateList) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_CreateList.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_CreateList proto.InternalMessageInfo + +func (m *Expr_CreateList) GetElements() []*Expr { + if m != nil { + return m.Elements + } + return nil +} + +// A map or message creation expression. +// +// Maps are constructed as `{'key_name': 'value'}`. Message construction is +// similar, but prefixed with a type name and composed of field ids: +// `types.MyType{field_id: 'value'}`. +type Expr_CreateStruct struct { + // The type name of the message to be created, empty when creating map + // literals. + MessageName string `protobuf:"bytes,1,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` + // The entries in the creation expression. + Entries []*Expr_CreateStruct_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_CreateStruct) Reset() { *m = Expr_CreateStruct{} } +func (m *Expr_CreateStruct) String() string { return proto.CompactTextString(m) } +func (*Expr_CreateStruct) ProtoMessage() {} +func (*Expr_CreateStruct) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 4} +} +func (m *Expr_CreateStruct) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_CreateStruct.Unmarshal(m, b) +} +func (m *Expr_CreateStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_CreateStruct.Marshal(b, m, deterministic) +} +func (dst *Expr_CreateStruct) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_CreateStruct.Merge(dst, src) +} +func (m *Expr_CreateStruct) XXX_Size() int { + return xxx_messageInfo_Expr_CreateStruct.Size(m) +} +func (m *Expr_CreateStruct) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_CreateStruct.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_CreateStruct proto.InternalMessageInfo + +func (m *Expr_CreateStruct) GetMessageName() string { + if m != nil { + return m.MessageName + } + return "" +} + +func (m *Expr_CreateStruct) GetEntries() []*Expr_CreateStruct_Entry { + if m != nil { + return m.Entries + } + return nil +} + +// Represents an entry. +type Expr_CreateStruct_Entry struct { + // Required. An id assigned to this node by the parser which is unique + // in a given expression tree. This is used to associate type + // information and other attributes to the node. + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // The `Entry` key kinds. + // + // Types that are valid to be assigned to KeyKind: + // *Expr_CreateStruct_Entry_FieldKey + // *Expr_CreateStruct_Entry_MapKey + KeyKind isExpr_CreateStruct_Entry_KeyKind `protobuf_oneof:"key_kind"` + // Required. The value assigned to the key. + Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_CreateStruct_Entry) Reset() { *m = Expr_CreateStruct_Entry{} } +func (m *Expr_CreateStruct_Entry) String() string { return proto.CompactTextString(m) } +func (*Expr_CreateStruct_Entry) ProtoMessage() {} +func (*Expr_CreateStruct_Entry) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 4, 0} +} +func (m *Expr_CreateStruct_Entry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_CreateStruct_Entry.Unmarshal(m, b) +} +func (m *Expr_CreateStruct_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_CreateStruct_Entry.Marshal(b, m, deterministic) +} +func (dst *Expr_CreateStruct_Entry) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_CreateStruct_Entry.Merge(dst, src) +} +func (m *Expr_CreateStruct_Entry) XXX_Size() int { + return xxx_messageInfo_Expr_CreateStruct_Entry.Size(m) +} +func (m *Expr_CreateStruct_Entry) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_CreateStruct_Entry.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_CreateStruct_Entry proto.InternalMessageInfo + +func (m *Expr_CreateStruct_Entry) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +type isExpr_CreateStruct_Entry_KeyKind interface { + isExpr_CreateStruct_Entry_KeyKind() +} + +type Expr_CreateStruct_Entry_FieldKey struct { + FieldKey string `protobuf:"bytes,2,opt,name=field_key,json=fieldKey,proto3,oneof"` +} + +type Expr_CreateStruct_Entry_MapKey struct { + MapKey *Expr `protobuf:"bytes,3,opt,name=map_key,json=mapKey,proto3,oneof"` +} + +func (*Expr_CreateStruct_Entry_FieldKey) isExpr_CreateStruct_Entry_KeyKind() {} + +func (*Expr_CreateStruct_Entry_MapKey) isExpr_CreateStruct_Entry_KeyKind() {} + +func (m *Expr_CreateStruct_Entry) GetKeyKind() isExpr_CreateStruct_Entry_KeyKind { + if m != nil { + return m.KeyKind + } + return nil +} + +func (m *Expr_CreateStruct_Entry) GetFieldKey() string { + if x, ok := m.GetKeyKind().(*Expr_CreateStruct_Entry_FieldKey); ok { + return x.FieldKey + } + return "" +} + +func (m *Expr_CreateStruct_Entry) GetMapKey() *Expr { + if x, ok := m.GetKeyKind().(*Expr_CreateStruct_Entry_MapKey); ok { + return x.MapKey + } + return nil +} + +func (m *Expr_CreateStruct_Entry) GetValue() *Expr { + if m != nil { + return m.Value + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Expr_CreateStruct_Entry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Expr_CreateStruct_Entry_OneofMarshaler, _Expr_CreateStruct_Entry_OneofUnmarshaler, _Expr_CreateStruct_Entry_OneofSizer, []interface{}{ + (*Expr_CreateStruct_Entry_FieldKey)(nil), + (*Expr_CreateStruct_Entry_MapKey)(nil), + } +} + +func _Expr_CreateStruct_Entry_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Expr_CreateStruct_Entry) + // key_kind + switch x := m.KeyKind.(type) { + case *Expr_CreateStruct_Entry_FieldKey: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeStringBytes(x.FieldKey) + case *Expr_CreateStruct_Entry_MapKey: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MapKey); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Expr_CreateStruct_Entry.KeyKind has unexpected type %T", x) + } + return nil +} + +func _Expr_CreateStruct_Entry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Expr_CreateStruct_Entry) + switch tag { + case 2: // key_kind.field_key + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.KeyKind = &Expr_CreateStruct_Entry_FieldKey{x} + return true, err + case 3: // key_kind.map_key + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr) + err := b.DecodeMessage(msg) + m.KeyKind = &Expr_CreateStruct_Entry_MapKey{msg} + return true, err + default: + return false, nil + } +} + +func _Expr_CreateStruct_Entry_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Expr_CreateStruct_Entry) + // key_kind + switch x := m.KeyKind.(type) { + case *Expr_CreateStruct_Entry_FieldKey: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.FieldKey))) + n += len(x.FieldKey) + case *Expr_CreateStruct_Entry_MapKey: + s := proto.Size(x.MapKey) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A comprehension expression applied to a list or map. +// +// Comprehensions are not part of the core syntax, but enabled with macros. +// A macro matches a specific call signature within a parsed AST and replaces +// the call with an alternate AST block. Macro expansion happens at parse +// time. +// +// The following macros are supported within CEL: +// +// Aggregate type macros may be applied to all elements in a list or all keys +// in a map: +// +// * `all`, `exists`, `exists_one` - test a predicate expression against +// the inputs and return `true` if the predicate is satisfied for all, +// any, or only one value `list.all(x, x < 10)`. +// * `filter` - test a predicate expression against the inputs and return +// the subset of elements which satisfy the predicate: +// `payments.filter(p, p > 1000)`. +// * `map` - apply an expression to all elements in the input and return the +// output aggregate type: `[1, 2, 3].map(i, i * i)`. +// +// The `has(m.x)` macro tests whether the property `x` is present in struct +// `m`. The semantics of this macro depend on the type of `m`. For proto2 +// messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the +// macro tests whether the property is set to its default. For map and struct +// types, the macro tests whether the property `x` is defined on `m`. +type Expr_Comprehension struct { + // The name of the iteration variable. + IterVar string `protobuf:"bytes,1,opt,name=iter_var,json=iterVar,proto3" json:"iter_var,omitempty"` + // The range over which var iterates. + IterRange *Expr `protobuf:"bytes,2,opt,name=iter_range,json=iterRange,proto3" json:"iter_range,omitempty"` + // The name of the variable used for accumulation of the result. + AccuVar string `protobuf:"bytes,3,opt,name=accu_var,json=accuVar,proto3" json:"accu_var,omitempty"` + // The initial value of the accumulator. + AccuInit *Expr `protobuf:"bytes,4,opt,name=accu_init,json=accuInit,proto3" json:"accu_init,omitempty"` + // An expression which can contain iter_var and accu_var. + // + // Returns false when the result has been computed and may be used as + // a hint to short-circuit the remainder of the comprehension. + LoopCondition *Expr `protobuf:"bytes,5,opt,name=loop_condition,json=loopCondition,proto3" json:"loop_condition,omitempty"` + // An expression which can contain iter_var and accu_var. + // + // Computes the next value of accu_var. + LoopStep *Expr `protobuf:"bytes,6,opt,name=loop_step,json=loopStep,proto3" json:"loop_step,omitempty"` + // An expression which can contain accu_var. + // + // Computes the result. + Result *Expr `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Comprehension) Reset() { *m = Expr_Comprehension{} } +func (m *Expr_Comprehension) String() string { return proto.CompactTextString(m) } +func (*Expr_Comprehension) ProtoMessage() {} +func (*Expr_Comprehension) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{1, 5} +} +func (m *Expr_Comprehension) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Comprehension.Unmarshal(m, b) +} +func (m *Expr_Comprehension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Comprehension.Marshal(b, m, deterministic) +} +func (dst *Expr_Comprehension) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Comprehension.Merge(dst, src) +} +func (m *Expr_Comprehension) XXX_Size() int { + return xxx_messageInfo_Expr_Comprehension.Size(m) +} +func (m *Expr_Comprehension) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Comprehension.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Comprehension proto.InternalMessageInfo + +func (m *Expr_Comprehension) GetIterVar() string { + if m != nil { + return m.IterVar + } + return "" +} + +func (m *Expr_Comprehension) GetIterRange() *Expr { + if m != nil { + return m.IterRange + } + return nil +} + +func (m *Expr_Comprehension) GetAccuVar() string { + if m != nil { + return m.AccuVar + } + return "" +} + +func (m *Expr_Comprehension) GetAccuInit() *Expr { + if m != nil { + return m.AccuInit + } + return nil +} + +func (m *Expr_Comprehension) GetLoopCondition() *Expr { + if m != nil { + return m.LoopCondition + } + return nil +} + +func (m *Expr_Comprehension) GetLoopStep() *Expr { + if m != nil { + return m.LoopStep + } + return nil +} + +func (m *Expr_Comprehension) GetResult() *Expr { + if m != nil { + return m.Result + } + return nil +} + +// Represents a primitive literal. +// +// Named 'Constant' here for backwards compatibility. +// +// This is similar as the primitives supported in the well-known type +// `google.protobuf.Value`, but richer so it can represent CEL's full range of +// primitives. +// +// Lists and structs are not included as constants as these aggregate types may +// contain [Expr][google.api.expr.v1alpha1.Expr] elements which require +// evaluation and are thus not constant. +// +// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, +// `true`, `null`. +type Constant struct { + // Required. The valid constant kinds. + // + // Types that are valid to be assigned to ConstantKind: + // *Constant_NullValue + // *Constant_BoolValue + // *Constant_Int64Value + // *Constant_Uint64Value + // *Constant_DoubleValue + // *Constant_StringValue + // *Constant_BytesValue + // *Constant_DurationValue + // *Constant_TimestampValue + ConstantKind isConstant_ConstantKind `protobuf_oneof:"constant_kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Constant) Reset() { *m = Constant{} } +func (m *Constant) String() string { return proto.CompactTextString(m) } +func (*Constant) ProtoMessage() {} +func (*Constant) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{2} +} +func (m *Constant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Constant.Unmarshal(m, b) +} +func (m *Constant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Constant.Marshal(b, m, deterministic) +} +func (dst *Constant) XXX_Merge(src proto.Message) { + xxx_messageInfo_Constant.Merge(dst, src) +} +func (m *Constant) XXX_Size() int { + return xxx_messageInfo_Constant.Size(m) +} +func (m *Constant) XXX_DiscardUnknown() { + xxx_messageInfo_Constant.DiscardUnknown(m) +} + +var xxx_messageInfo_Constant proto.InternalMessageInfo + +type isConstant_ConstantKind interface { + isConstant_ConstantKind() +} + +type Constant_NullValue struct { + NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` +} + +type Constant_BoolValue struct { + BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` +} + +type Constant_Int64Value struct { + Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"` +} + +type Constant_Uint64Value struct { + Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"` +} + +type Constant_DoubleValue struct { + DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` +} + +type Constant_StringValue struct { + StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type Constant_BytesValue struct { + BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"` +} + +type Constant_DurationValue struct { + DurationValue *duration.Duration `protobuf:"bytes,8,opt,name=duration_value,json=durationValue,proto3,oneof"` +} + +type Constant_TimestampValue struct { + TimestampValue *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` +} + +func (*Constant_NullValue) isConstant_ConstantKind() {} + +func (*Constant_BoolValue) isConstant_ConstantKind() {} + +func (*Constant_Int64Value) isConstant_ConstantKind() {} + +func (*Constant_Uint64Value) isConstant_ConstantKind() {} + +func (*Constant_DoubleValue) isConstant_ConstantKind() {} + +func (*Constant_StringValue) isConstant_ConstantKind() {} + +func (*Constant_BytesValue) isConstant_ConstantKind() {} + +func (*Constant_DurationValue) isConstant_ConstantKind() {} + +func (*Constant_TimestampValue) isConstant_ConstantKind() {} + +func (m *Constant) GetConstantKind() isConstant_ConstantKind { + if m != nil { + return m.ConstantKind + } + return nil +} + +func (m *Constant) GetNullValue() _struct.NullValue { + if x, ok := m.GetConstantKind().(*Constant_NullValue); ok { + return x.NullValue + } + return _struct.NullValue_NULL_VALUE +} + +func (m *Constant) GetBoolValue() bool { + if x, ok := m.GetConstantKind().(*Constant_BoolValue); ok { + return x.BoolValue + } + return false +} + +func (m *Constant) GetInt64Value() int64 { + if x, ok := m.GetConstantKind().(*Constant_Int64Value); ok { + return x.Int64Value + } + return 0 +} + +func (m *Constant) GetUint64Value() uint64 { + if x, ok := m.GetConstantKind().(*Constant_Uint64Value); ok { + return x.Uint64Value + } + return 0 +} + +func (m *Constant) GetDoubleValue() float64 { + if x, ok := m.GetConstantKind().(*Constant_DoubleValue); ok { + return x.DoubleValue + } + return 0 +} + +func (m *Constant) GetStringValue() string { + if x, ok := m.GetConstantKind().(*Constant_StringValue); ok { + return x.StringValue + } + return "" +} + +func (m *Constant) GetBytesValue() []byte { + if x, ok := m.GetConstantKind().(*Constant_BytesValue); ok { + return x.BytesValue + } + return nil +} + +func (m *Constant) GetDurationValue() *duration.Duration { + if x, ok := m.GetConstantKind().(*Constant_DurationValue); ok { + return x.DurationValue + } + return nil +} + +func (m *Constant) GetTimestampValue() *timestamp.Timestamp { + if x, ok := m.GetConstantKind().(*Constant_TimestampValue); ok { + return x.TimestampValue + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Constant) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Constant_OneofMarshaler, _Constant_OneofUnmarshaler, _Constant_OneofSizer, []interface{}{ + (*Constant_NullValue)(nil), + (*Constant_BoolValue)(nil), + (*Constant_Int64Value)(nil), + (*Constant_Uint64Value)(nil), + (*Constant_DoubleValue)(nil), + (*Constant_StringValue)(nil), + (*Constant_BytesValue)(nil), + (*Constant_DurationValue)(nil), + (*Constant_TimestampValue)(nil), + } +} + +func _Constant_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Constant) + // constant_kind + switch x := m.ConstantKind.(type) { + case *Constant_NullValue: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NullValue)) + case *Constant_BoolValue: + t := uint64(0) + if x.BoolValue { + t = 1 + } + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(t) + case *Constant_Int64Value: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Int64Value)) + case *Constant_Uint64Value: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Uint64Value)) + case *Constant_DoubleValue: + b.EncodeVarint(5<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.DoubleValue)) + case *Constant_StringValue: + b.EncodeVarint(6<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case *Constant_BytesValue: + b.EncodeVarint(7<<3 | proto.WireBytes) + b.EncodeRawBytes(x.BytesValue) + case *Constant_DurationValue: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DurationValue); err != nil { + return err + } + case *Constant_TimestampValue: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TimestampValue); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Constant.ConstantKind has unexpected type %T", x) + } + return nil +} + +func _Constant_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Constant) + switch tag { + case 1: // constant_kind.null_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Constant_NullValue{_struct.NullValue(x)} + return true, err + case 2: // constant_kind.bool_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Constant_BoolValue{x != 0} + return true, err + case 3: // constant_kind.int64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Constant_Int64Value{int64(x)} + return true, err + case 4: // constant_kind.uint64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Constant_Uint64Value{x} + return true, err + case 5: // constant_kind.double_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.ConstantKind = &Constant_DoubleValue{math.Float64frombits(x)} + return true, err + case 6: // constant_kind.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.ConstantKind = &Constant_StringValue{x} + return true, err + case 7: // constant_kind.bytes_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.ConstantKind = &Constant_BytesValue{x} + return true, err + case 8: // constant_kind.duration_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(duration.Duration) + err := b.DecodeMessage(msg) + m.ConstantKind = &Constant_DurationValue{msg} + return true, err + case 9: // constant_kind.timestamp_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(timestamp.Timestamp) + err := b.DecodeMessage(msg) + m.ConstantKind = &Constant_TimestampValue{msg} + return true, err + default: + return false, nil + } +} + +func _Constant_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Constant) + // constant_kind + switch x := m.ConstantKind.(type) { + case *Constant_NullValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.NullValue)) + case *Constant_BoolValue: + n += 1 // tag and wire + n += 1 + case *Constant_Int64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Int64Value)) + case *Constant_Uint64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Uint64Value)) + case *Constant_DoubleValue: + n += 1 // tag and wire + n += 8 + case *Constant_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case *Constant_BytesValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.BytesValue))) + n += len(x.BytesValue) + case *Constant_DurationValue: + s := proto.Size(x.DurationValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Constant_TimestampValue: + s := proto.Size(x.TimestampValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Source information collected at parse time. +type SourceInfo struct { + // The syntax version of the source, e.g. `cel1`. + SyntaxVersion string `protobuf:"bytes,1,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"` + // The location name. All position information attached to an expression is + // relative to this location. + // + // The location could be a file, UI element, or similar. For example, + // `acme/app/AnvilPolicy.cel`. + Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` + // Monotonically increasing list of character offsets where newlines appear. + // + // The line number of a given position is the index `i` where for a given + // `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The + // column may be derivd from `id_positions[id] - line_offsets[i]`. + LineOffsets []int32 `protobuf:"varint,3,rep,packed,name=line_offsets,json=lineOffsets,proto3" json:"line_offsets,omitempty"` + // A map from the parse node id (e.g. `Expr.id`) to the character offset + // within source. + Positions map[int64]int32 `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SourceInfo) Reset() { *m = SourceInfo{} } +func (m *SourceInfo) String() string { return proto.CompactTextString(m) } +func (*SourceInfo) ProtoMessage() {} +func (*SourceInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{3} +} +func (m *SourceInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourceInfo.Unmarshal(m, b) +} +func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourceInfo.Marshal(b, m, deterministic) +} +func (dst *SourceInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourceInfo.Merge(dst, src) +} +func (m *SourceInfo) XXX_Size() int { + return xxx_messageInfo_SourceInfo.Size(m) +} +func (m *SourceInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SourceInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SourceInfo proto.InternalMessageInfo + +func (m *SourceInfo) GetSyntaxVersion() string { + if m != nil { + return m.SyntaxVersion + } + return "" +} + +func (m *SourceInfo) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + +func (m *SourceInfo) GetLineOffsets() []int32 { + if m != nil { + return m.LineOffsets + } + return nil +} + +func (m *SourceInfo) GetPositions() map[int64]int32 { + if m != nil { + return m.Positions + } + return nil +} + +// A specific position in source. +type SourcePosition struct { + // The soucre location name (e.g. file name). + Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` + // The character offset. + Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + // The 1-based index of the starting line in the source text + // where the issue occurs, or 0 if unknown. + Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` + // The 0-based index of the starting position within the line of source text + // where the issue occurs. Only meaningful if line is nonzero. + Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SourcePosition) Reset() { *m = SourcePosition{} } +func (m *SourcePosition) String() string { return proto.CompactTextString(m) } +func (*SourcePosition) ProtoMessage() {} +func (*SourcePosition) Descriptor() ([]byte, []int) { + return fileDescriptor_syntax_50d37e08f43ffeca, []int{4} +} +func (m *SourcePosition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourcePosition.Unmarshal(m, b) +} +func (m *SourcePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourcePosition.Marshal(b, m, deterministic) +} +func (dst *SourcePosition) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourcePosition.Merge(dst, src) +} +func (m *SourcePosition) XXX_Size() int { + return xxx_messageInfo_SourcePosition.Size(m) +} +func (m *SourcePosition) XXX_DiscardUnknown() { + xxx_messageInfo_SourcePosition.DiscardUnknown(m) +} + +var xxx_messageInfo_SourcePosition proto.InternalMessageInfo + +func (m *SourcePosition) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + +func (m *SourcePosition) GetOffset() int32 { + if m != nil { + return m.Offset + } + return 0 +} + +func (m *SourcePosition) GetLine() int32 { + if m != nil { + return m.Line + } + return 0 +} + +func (m *SourcePosition) GetColumn() int32 { + if m != nil { + return m.Column + } + return 0 +} + +func init() { + proto.RegisterType((*ParsedExpr)(nil), "google.api.expr.v1alpha1.ParsedExpr") + proto.RegisterType((*Expr)(nil), "google.api.expr.v1alpha1.Expr") + proto.RegisterType((*Expr_Ident)(nil), "google.api.expr.v1alpha1.Expr.Ident") + proto.RegisterType((*Expr_Select)(nil), "google.api.expr.v1alpha1.Expr.Select") + proto.RegisterType((*Expr_Call)(nil), "google.api.expr.v1alpha1.Expr.Call") + proto.RegisterType((*Expr_CreateList)(nil), "google.api.expr.v1alpha1.Expr.CreateList") + proto.RegisterType((*Expr_CreateStruct)(nil), "google.api.expr.v1alpha1.Expr.CreateStruct") + proto.RegisterType((*Expr_CreateStruct_Entry)(nil), "google.api.expr.v1alpha1.Expr.CreateStruct.Entry") + proto.RegisterType((*Expr_Comprehension)(nil), "google.api.expr.v1alpha1.Expr.Comprehension") + proto.RegisterType((*Constant)(nil), "google.api.expr.v1alpha1.Constant") + proto.RegisterType((*SourceInfo)(nil), "google.api.expr.v1alpha1.SourceInfo") + proto.RegisterMapType((map[int64]int32)(nil), "google.api.expr.v1alpha1.SourceInfo.PositionsEntry") + proto.RegisterType((*SourcePosition)(nil), "google.api.expr.v1alpha1.SourcePosition") +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/syntax.proto", fileDescriptor_syntax_50d37e08f43ffeca) +} + +var fileDescriptor_syntax_50d37e08f43ffeca = []byte{ + // 1134 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xcf, 0x6e, 0x1b, 0xb7, + 0x13, 0xd6, 0xea, 0x9f, 0xb5, 0x23, 0x5b, 0xf9, 0xfd, 0x88, 0xa2, 0x50, 0x36, 0x69, 0xe2, 0x38, + 0x35, 0x90, 0xa2, 0x85, 0x04, 0x3b, 0x41, 0x90, 0xc6, 0xe9, 0x45, 0xae, 0x0b, 0x19, 0x29, 0x1c, + 0x77, 0x5d, 0xf8, 0x50, 0xa0, 0x10, 0xe8, 0x15, 0xa5, 0x2c, 0x4c, 0x91, 0x8b, 0x25, 0xd7, 0xb0, + 0xce, 0x3d, 0xf4, 0xd6, 0x97, 0x69, 0x5f, 0xa0, 0xef, 0xd1, 0x07, 0xe9, 0xa5, 0x40, 0x31, 0x43, + 0xae, 0xfc, 0x0f, 0x86, 0xd4, 0x1b, 0x39, 0xfc, 0xbe, 0x8f, 0xc3, 0x99, 0xe1, 0x90, 0xb0, 0x3d, + 0xd5, 0x7a, 0x2a, 0x45, 0x9f, 0x67, 0x69, 0x5f, 0x5c, 0x66, 0x79, 0xff, 0x62, 0x87, 0xcb, 0xec, + 0x23, 0xdf, 0xe9, 0x9b, 0xb9, 0xb2, 0xfc, 0xb2, 0x97, 0xe5, 0xda, 0x6a, 0xd6, 0x75, 0xb0, 0x1e, + 0xcf, 0xd2, 0x1e, 0xc2, 0x7a, 0x25, 0x2c, 0x7a, 0xe2, 0x05, 0x08, 0x77, 0x56, 0x4c, 0xfa, 0xe3, + 0x22, 0xe7, 0x36, 0xd5, 0xca, 0x31, 0xa3, 0xc7, 0xb7, 0xd7, 0x8d, 0xcd, 0x8b, 0xc4, 0xfa, 0xd5, + 0xa7, 0xb7, 0x57, 0x6d, 0x3a, 0x13, 0xc6, 0xf2, 0x59, 0xe6, 0x00, 0x5b, 0xbf, 0x06, 0x00, 0xc7, + 0x3c, 0x37, 0x62, 0x7c, 0x70, 0x99, 0xe5, 0x6c, 0x17, 0xea, 0xb8, 0x7d, 0xb7, 0xba, 0x19, 0xbc, + 0x68, 0xef, 0x3e, 0xe9, 0xdd, 0xe7, 0x56, 0x0f, 0xd1, 0x31, 0x61, 0xd9, 0x01, 0xb4, 0x8d, 0x2e, + 0xf2, 0x44, 0x8c, 0x52, 0x35, 0xd1, 0xdd, 0x1a, 0x51, 0x3f, 0xbf, 0x9f, 0x7a, 0x42, 0xe0, 0x43, + 0x35, 0xd1, 0x31, 0x98, 0xc5, 0x78, 0xeb, 0xaf, 0x75, 0xa8, 0x93, 0x0f, 0x1d, 0xa8, 0xa6, 0x63, + 0xf2, 0xa0, 0x16, 0x57, 0xd3, 0x31, 0xdb, 0x07, 0x48, 0xb4, 0x32, 0x76, 0x44, 0x9e, 0x39, 0xf9, + 0xad, 0xfb, 0xe5, 0xf7, 0x11, 0xcb, 0x95, 0x1d, 0x56, 0xe2, 0x90, 0x78, 0x07, 0xce, 0x49, 0x48, + 0xc7, 0x42, 0x79, 0x91, 0xfa, 0x32, 0x1f, 0x91, 0xd3, 0x3b, 0x44, 0x02, 0xca, 0x10, 0x93, 0x64, + 0x86, 0xd0, 0x36, 0x42, 0x8a, 0xc4, 0xeb, 0x34, 0x48, 0x67, 0x7b, 0x89, 0xce, 0x09, 0x31, 0x86, + 0x95, 0x18, 0x1c, 0x97, 0x94, 0x06, 0x10, 0x26, 0x5c, 0x4a, 0xa7, 0xd3, 0x24, 0x9d, 0xe7, 0x4b, + 0x74, 0xf6, 0xb9, 0x94, 0xc3, 0x4a, 0xdc, 0x42, 0x9e, 0xf7, 0x26, 0x94, 0x69, 0x19, 0x98, 0x35, + 0xd2, 0xf8, 0x62, 0x99, 0x46, 0x2e, 0xb8, 0x15, 0xdf, 0xa7, 0x06, 0xfd, 0x69, 0x21, 0x9b, 0x94, + 0x8e, 0xa0, 0xed, 0xea, 0xc6, 0x69, 0xb5, 0x48, 0xeb, 0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+ 0x1e, 0x38, 0xd5, 0x92, 0xab, 0x69, 0x4f, 0xe7, 0xd3, 0xfe, 0x54, 0x28, 0x4a, 0x7b, 0xdf, 0x2d, + 0xf1, 0x2c, 0x35, 0x77, 0xbf, 0xc4, 0x7b, 0x38, 0xfb, 0x3b, 0x08, 0xce, 0x9a, 0x84, 0x7d, 0xf9, + 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x25, 0xe3, 0xe8, 0x3d, 0x0b, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go new file mode 100644 index 000000000..34218f600 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go @@ -0,0 +1,708 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1alpha1/value.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import any "github.com/golang/protobuf/ptypes/any" +import _struct "github.com/golang/protobuf/ptypes/struct" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents a CEL value. +// +// This is similar to `google.protobuf.Value`, but can represent CEL's full +// range of values. +type Value struct { + // Required. The valid kinds of values. + // + // Types that are valid to be assigned to Kind: + // *Value_NullValue + // *Value_BoolValue + // *Value_Int64Value + // *Value_Uint64Value + // *Value_DoubleValue + // *Value_StringValue + // *Value_BytesValue + // *Value_EnumValue + // *Value_ObjectValue + // *Value_MapValue + // *Value_ListValue + // *Value_TypeValue + Kind isValue_Kind `protobuf_oneof:"kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Value) Reset() { *m = Value{} } +func (m *Value) String() string { return proto.CompactTextString(m) } +func (*Value) ProtoMessage() {} +func (*Value) Descriptor() ([]byte, []int) { + return fileDescriptor_value_7b9ec7742431771a, []int{0} +} +func (m *Value) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Value.Unmarshal(m, b) +} +func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Value.Marshal(b, m, deterministic) +} +func (dst *Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_Value.Merge(dst, src) +} +func (m *Value) XXX_Size() int { + return xxx_messageInfo_Value.Size(m) +} +func (m *Value) XXX_DiscardUnknown() { + xxx_messageInfo_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_Value proto.InternalMessageInfo + +type isValue_Kind interface { + isValue_Kind() +} + +type Value_NullValue struct { + NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` +} + +type Value_BoolValue struct { + BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` +} + +type Value_Int64Value struct { + Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"` +} + +type Value_Uint64Value struct { + Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"` +} + +type Value_DoubleValue struct { + DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` +} + +type Value_StringValue struct { + StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type Value_BytesValue struct { + BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"` +} + +type Value_EnumValue struct { + EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"` +} + +type Value_ObjectValue struct { + ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"` +} + +type Value_MapValue struct { + MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"` +} + +type Value_ListValue struct { + ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"` +} + +type Value_TypeValue struct { + TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"` +} + +func (*Value_NullValue) isValue_Kind() {} + +func (*Value_BoolValue) isValue_Kind() {} + +func (*Value_Int64Value) isValue_Kind() {} + +func (*Value_Uint64Value) isValue_Kind() {} + +func (*Value_DoubleValue) isValue_Kind() {} + +func (*Value_StringValue) isValue_Kind() {} + +func (*Value_BytesValue) isValue_Kind() {} + +func (*Value_EnumValue) isValue_Kind() {} + +func (*Value_ObjectValue) isValue_Kind() {} + +func (*Value_MapValue) isValue_Kind() {} + +func (*Value_ListValue) isValue_Kind() {} + +func (*Value_TypeValue) isValue_Kind() {} + +func (m *Value) GetKind() isValue_Kind { + if m != nil { + return m.Kind + } + return nil +} + +func (m *Value) GetNullValue() _struct.NullValue { + if x, ok := m.GetKind().(*Value_NullValue); ok { + return x.NullValue + } + return _struct.NullValue_NULL_VALUE +} + +func (m *Value) GetBoolValue() bool { + if x, ok := m.GetKind().(*Value_BoolValue); ok { + return x.BoolValue + } + return false +} + +func (m *Value) GetInt64Value() int64 { + if x, ok := m.GetKind().(*Value_Int64Value); ok { + return x.Int64Value + } + return 0 +} + +func (m *Value) GetUint64Value() uint64 { + if x, ok := m.GetKind().(*Value_Uint64Value); ok { + return x.Uint64Value + } + return 0 +} + +func (m *Value) GetDoubleValue() float64 { + if x, ok := m.GetKind().(*Value_DoubleValue); ok { + return x.DoubleValue + } + return 0 +} + +func (m *Value) GetStringValue() string { + if x, ok := m.GetKind().(*Value_StringValue); ok { + return x.StringValue + } + return "" +} + +func (m *Value) GetBytesValue() []byte { + if x, ok := m.GetKind().(*Value_BytesValue); ok { + return x.BytesValue + } + return nil +} + +func (m *Value) GetEnumValue() *EnumValue { + if x, ok := m.GetKind().(*Value_EnumValue); ok { + return x.EnumValue + } + return nil +} + +func (m *Value) GetObjectValue() *any.Any { + if x, ok := m.GetKind().(*Value_ObjectValue); ok { + return x.ObjectValue + } + return nil +} + +func (m *Value) GetMapValue() *MapValue { + if x, ok := m.GetKind().(*Value_MapValue); ok { + return x.MapValue + } + return nil +} + +func (m *Value) GetListValue() *ListValue { + if x, ok := m.GetKind().(*Value_ListValue); ok { + return x.ListValue + } + return nil +} + +func (m *Value) GetTypeValue() string { + if x, ok := m.GetKind().(*Value_TypeValue); ok { + return x.TypeValue + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{ + (*Value_NullValue)(nil), + (*Value_BoolValue)(nil), + (*Value_Int64Value)(nil), + (*Value_Uint64Value)(nil), + (*Value_DoubleValue)(nil), + (*Value_StringValue)(nil), + (*Value_BytesValue)(nil), + (*Value_EnumValue)(nil), + (*Value_ObjectValue)(nil), + (*Value_MapValue)(nil), + (*Value_ListValue)(nil), + (*Value_TypeValue)(nil), + } +} + +func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Value) + // kind + switch x := m.Kind.(type) { + case *Value_NullValue: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NullValue)) + case *Value_BoolValue: + t := uint64(0) + if x.BoolValue { + t = 1 + } + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(t) + case *Value_Int64Value: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Int64Value)) + case *Value_Uint64Value: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Uint64Value)) + case *Value_DoubleValue: + b.EncodeVarint(5<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.DoubleValue)) + case *Value_StringValue: + b.EncodeVarint(6<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case *Value_BytesValue: + b.EncodeVarint(7<<3 | proto.WireBytes) + b.EncodeRawBytes(x.BytesValue) + case *Value_EnumValue: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.EnumValue); err != nil { + return err + } + case *Value_ObjectValue: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ObjectValue); err != nil { + return err + } + case *Value_MapValue: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MapValue); err != nil { + return err + } + case *Value_ListValue: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListValue); err != nil { + return err + } + case *Value_TypeValue: + b.EncodeVarint(15<<3 | proto.WireBytes) + b.EncodeStringBytes(x.TypeValue) + case nil: + default: + return fmt.Errorf("Value.Kind has unexpected type %T", x) + } + return nil +} + +func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Value) + switch tag { + case 1: // kind.null_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_NullValue{_struct.NullValue(x)} + return true, err + case 2: // kind.bool_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_BoolValue{x != 0} + return true, err + case 3: // kind.int64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_Int64Value{int64(x)} + return true, err + case 4: // kind.uint64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_Uint64Value{x} + return true, err + case 5: // kind.double_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.Kind = &Value_DoubleValue{math.Float64frombits(x)} + return true, err + case 6: // kind.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Kind = &Value_StringValue{x} + return true, err + case 7: // kind.bytes_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.Kind = &Value_BytesValue{x} + return true, err + case 9: // kind.enum_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(EnumValue) + err := b.DecodeMessage(msg) + m.Kind = &Value_EnumValue{msg} + return true, err + case 10: // kind.object_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(any.Any) + err := b.DecodeMessage(msg) + m.Kind = &Value_ObjectValue{msg} + return true, err + case 11: // kind.map_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MapValue) + err := b.DecodeMessage(msg) + m.Kind = &Value_MapValue{msg} + return true, err + case 12: // kind.list_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ListValue) + err := b.DecodeMessage(msg) + m.Kind = &Value_ListValue{msg} + return true, err + case 15: // kind.type_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Kind = &Value_TypeValue{x} + return true, err + default: + return false, nil + } +} + +func _Value_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Value) + // kind + switch x := m.Kind.(type) { + case *Value_NullValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.NullValue)) + case *Value_BoolValue: + n += 1 // tag and wire + n += 1 + case *Value_Int64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Int64Value)) + case *Value_Uint64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Uint64Value)) + case *Value_DoubleValue: + n += 1 // tag and wire + n += 8 + case *Value_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case *Value_BytesValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.BytesValue))) + n += len(x.BytesValue) + case *Value_EnumValue: + s := proto.Size(x.EnumValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_ObjectValue: + s := proto.Size(x.ObjectValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_MapValue: + s := proto.Size(x.MapValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_ListValue: + s := proto.Size(x.ListValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_TypeValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.TypeValue))) + n += len(x.TypeValue) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An enum value. +type EnumValue struct { + // The fully qualified name of the enum type. + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // The value of the enum. + Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnumValue) Reset() { *m = EnumValue{} } +func (m *EnumValue) String() string { return proto.CompactTextString(m) } +func (*EnumValue) ProtoMessage() {} +func (*EnumValue) Descriptor() ([]byte, []int) { + return fileDescriptor_value_7b9ec7742431771a, []int{1} +} +func (m *EnumValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnumValue.Unmarshal(m, b) +} +func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic) +} +func (dst *EnumValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnumValue.Merge(dst, src) +} +func (m *EnumValue) XXX_Size() int { + return xxx_messageInfo_EnumValue.Size(m) +} +func (m *EnumValue) XXX_DiscardUnknown() { + xxx_messageInfo_EnumValue.DiscardUnknown(m) +} + +var xxx_messageInfo_EnumValue proto.InternalMessageInfo + +func (m *EnumValue) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *EnumValue) GetValue() int32 { + if m != nil { + return m.Value + } + return 0 +} + +// A list. +// +// Wrapped in a message so 'not set' and empty can be differentiated, which is +// required for use in a 'oneof'. +type ListValue struct { + // The ordered values in the list. + Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListValue) Reset() { *m = ListValue{} } +func (m *ListValue) String() string { return proto.CompactTextString(m) } +func (*ListValue) ProtoMessage() {} +func (*ListValue) Descriptor() ([]byte, []int) { + return fileDescriptor_value_7b9ec7742431771a, []int{2} +} +func (m *ListValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListValue.Unmarshal(m, b) +} +func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListValue.Marshal(b, m, deterministic) +} +func (dst *ListValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListValue.Merge(dst, src) +} +func (m *ListValue) XXX_Size() int { + return xxx_messageInfo_ListValue.Size(m) +} +func (m *ListValue) XXX_DiscardUnknown() { + xxx_messageInfo_ListValue.DiscardUnknown(m) +} + +var xxx_messageInfo_ListValue proto.InternalMessageInfo + +func (m *ListValue) GetValues() []*Value { + if m != nil { + return m.Values + } + return nil +} + +// A map. +// +// Wrapped in a message so 'not set' and empty can be differentiated, which is +// required for use in a 'oneof'. +type MapValue struct { + // The set of map entries. + // + // CEL has fewer restrictions on keys, so a protobuf map represenation + // cannot be used. + Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MapValue) Reset() { *m = MapValue{} } +func (m *MapValue) String() string { return proto.CompactTextString(m) } +func (*MapValue) ProtoMessage() {} +func (*MapValue) Descriptor() ([]byte, []int) { + return fileDescriptor_value_7b9ec7742431771a, []int{3} +} +func (m *MapValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MapValue.Unmarshal(m, b) +} +func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MapValue.Marshal(b, m, deterministic) +} +func (dst *MapValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_MapValue.Merge(dst, src) +} +func (m *MapValue) XXX_Size() int { + return xxx_messageInfo_MapValue.Size(m) +} +func (m *MapValue) XXX_DiscardUnknown() { + xxx_messageInfo_MapValue.DiscardUnknown(m) +} + +var xxx_messageInfo_MapValue proto.InternalMessageInfo + +func (m *MapValue) GetEntries() []*MapValue_Entry { + if m != nil { + return m.Entries + } + return nil +} + +// An entry in the map. +type MapValue_Entry struct { + // The key. + // + // Must be unique with in the map. + // Currently only boolean, int, uint, and string values can be keys. + Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // The value. + Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} } +func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) } +func (*MapValue_Entry) ProtoMessage() {} +func (*MapValue_Entry) Descriptor() ([]byte, []int) { + return fileDescriptor_value_7b9ec7742431771a, []int{3, 0} +} +func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b) +} +func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic) +} +func (dst *MapValue_Entry) XXX_Merge(src proto.Message) { + xxx_messageInfo_MapValue_Entry.Merge(dst, src) +} +func (m *MapValue_Entry) XXX_Size() int { + return xxx_messageInfo_MapValue_Entry.Size(m) +} +func (m *MapValue_Entry) XXX_DiscardUnknown() { + xxx_messageInfo_MapValue_Entry.DiscardUnknown(m) +} + +var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo + +func (m *MapValue_Entry) GetKey() *Value { + if m != nil { + return m.Key + } + return nil +} + +func (m *MapValue_Entry) GetValue() *Value { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*Value)(nil), "google.api.expr.v1alpha1.Value") + proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1alpha1.EnumValue") + proto.RegisterType((*ListValue)(nil), "google.api.expr.v1alpha1.ListValue") + proto.RegisterType((*MapValue)(nil), "google.api.expr.v1alpha1.MapValue") + proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1alpha1.MapValue.Entry") +} + +func init() { + proto.RegisterFile("google/api/expr/v1alpha1/value.proto", fileDescriptor_value_7b9ec7742431771a) +} + +var fileDescriptor_value_7b9ec7742431771a = []byte{ + // 518 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcb, 0x6e, 0xd4, 0x30, + 0x14, 0x86, 0x6b, 0xe6, 0xd2, 0xc9, 0x99, 0x11, 0x48, 0x56, 0x17, 0xc3, 0xa8, 0x52, 0x43, 0xca, + 0x22, 0xab, 0x44, 0x33, 0x50, 0x10, 0x2a, 0x9b, 0x8e, 0x5a, 0x69, 0x16, 0x80, 0xaa, 0x2c, 0x58, + 0xb0, 0x41, 0xce, 0xd4, 0x84, 0x50, 0xc7, 0x0e, 0x89, 0x5d, 0x91, 0xc7, 0xe3, 0x01,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 0x17, 0x5c, 0x36, 0x5d, 0xe6, + 0x8d, 0x8b, 0xef, 0x30, 0x32, 0x0a, 0x5e, 0xc2, 0xe0, 0x9a, 0x76, 0xa6, 0x91, 0x07, 0xd4, 0xa3, + 0x59, 0x7c, 0x72, 0xbb, 0xd1, 0x07, 0x98, 0x2c, 0xbd, 0xae, 0xe0, 0x70, 0x2b, 0xaa, 0x9d, 0xf0, + 0x1a, 0x0c, 0x7d, 0xa9, 0x97, 0xe6, 0x12, 0x7d, 0x7a, 0xeb, 0xb8, 0x42, 0x30, 0xc2, 0x8b, 0x44, + 0x34, 0x45, 0x5a, 0x50, 0x6e, 0x56, 0x2a, 0xb5, 0x47, 0xa4, 0x2e, 0xdb, 0xbb, 0xbf, 0x95, 0x53, + 0x1d, 0xfd, 0x46, 0x28, 0x1f, 0x1b, 0xf6, 0xc5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x53, + 0x8e, 0x99, 0x81, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go new file mode 100644 index 000000000..264098a00 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go @@ -0,0 +1,403 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1beta1/decl.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A declaration. +type Decl struct { + // The id of the declaration. + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // The name of the declaration. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // The documentation string for the declaration. + Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` + // The kind of declaration. + // + // Types that are valid to be assigned to Kind: + // *Decl_Ident + // *Decl_Function + Kind isDecl_Kind `protobuf_oneof:"kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Decl) Reset() { *m = Decl{} } +func (m *Decl) String() string { return proto.CompactTextString(m) } +func (*Decl) ProtoMessage() {} +func (*Decl) Descriptor() ([]byte, []int) { + return fileDescriptor_decl_6647d3ad822811d0, []int{0} +} +func (m *Decl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Decl.Unmarshal(m, b) +} +func (m *Decl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Decl.Marshal(b, m, deterministic) +} +func (dst *Decl) XXX_Merge(src proto.Message) { + xxx_messageInfo_Decl.Merge(dst, src) +} +func (m *Decl) XXX_Size() int { + return xxx_messageInfo_Decl.Size(m) +} +func (m *Decl) XXX_DiscardUnknown() { + xxx_messageInfo_Decl.DiscardUnknown(m) +} + +var xxx_messageInfo_Decl proto.InternalMessageInfo + +func (m *Decl) GetId() int32 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *Decl) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Decl) GetDoc() string { + if m != nil { + return m.Doc + } + return "" +} + +type isDecl_Kind interface { + isDecl_Kind() +} + +type Decl_Ident struct { + Ident *IdentDecl `protobuf:"bytes,4,opt,name=ident,proto3,oneof"` +} + +type Decl_Function struct { + Function *FunctionDecl `protobuf:"bytes,5,opt,name=function,proto3,oneof"` +} + +func (*Decl_Ident) isDecl_Kind() {} + +func (*Decl_Function) isDecl_Kind() {} + +func (m *Decl) GetKind() isDecl_Kind { + if m != nil { + return m.Kind + } + return nil +} + +func (m *Decl) GetIdent() *IdentDecl { + if x, ok := m.GetKind().(*Decl_Ident); ok { + return x.Ident + } + return nil +} + +func (m *Decl) GetFunction() *FunctionDecl { + if x, ok := m.GetKind().(*Decl_Function); ok { + return x.Function + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Decl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Decl_OneofMarshaler, _Decl_OneofUnmarshaler, _Decl_OneofSizer, []interface{}{ + (*Decl_Ident)(nil), + (*Decl_Function)(nil), + } +} + +func _Decl_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Decl) + // kind + switch x := m.Kind.(type) { + case *Decl_Ident: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Ident); err != nil { + return err + } + case *Decl_Function: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Function); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Decl.Kind has unexpected type %T", x) + } + return nil +} + +func _Decl_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Decl) + switch tag { + case 4: // kind.ident + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(IdentDecl) + err := b.DecodeMessage(msg) + m.Kind = &Decl_Ident{msg} + return true, err + case 5: // kind.function + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(FunctionDecl) + err := b.DecodeMessage(msg) + m.Kind = &Decl_Function{msg} + return true, err + default: + return false, nil + } +} + +func _Decl_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Decl) + // kind + switch x := m.Kind.(type) { + case *Decl_Ident: + s := proto.Size(x.Ident) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Decl_Function: + s := proto.Size(x.Function) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// The declared type of a variable. +// +// Extends runtime type values with extra information used for type checking +// and dispatching. +type DeclType struct { + // The expression id of the declared type, if applicable. + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // The type name, e.g. 'int', 'my.type.Type' or 'T' + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + // An ordered list of type parameters, e.g. ``. + // Only applies to a subset of types, e.g. `map`, `list`. + TypeParams []*DeclType `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeclType) Reset() { *m = DeclType{} } +func (m *DeclType) String() string { return proto.CompactTextString(m) } +func (*DeclType) ProtoMessage() {} +func (*DeclType) Descriptor() ([]byte, []int) { + return fileDescriptor_decl_6647d3ad822811d0, []int{1} +} +func (m *DeclType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeclType.Unmarshal(m, b) +} +func (m *DeclType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeclType.Marshal(b, m, deterministic) +} +func (dst *DeclType) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeclType.Merge(dst, src) +} +func (m *DeclType) XXX_Size() int { + return xxx_messageInfo_DeclType.Size(m) +} +func (m *DeclType) XXX_DiscardUnknown() { + xxx_messageInfo_DeclType.DiscardUnknown(m) +} + +var xxx_messageInfo_DeclType proto.InternalMessageInfo + +func (m *DeclType) GetId() int32 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *DeclType) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *DeclType) GetTypeParams() []*DeclType { + if m != nil { + return m.TypeParams + } + return nil +} + +// An identifier declaration. +type IdentDecl struct { + // Optional type of the identifier. + Type *DeclType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + // Optional value of the identifier. + Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IdentDecl) Reset() { *m = IdentDecl{} } +func (m *IdentDecl) String() string { return proto.CompactTextString(m) } +func (*IdentDecl) ProtoMessage() {} +func (*IdentDecl) Descriptor() ([]byte, []int) { + return fileDescriptor_decl_6647d3ad822811d0, []int{2} +} +func (m *IdentDecl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IdentDecl.Unmarshal(m, b) +} +func (m *IdentDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IdentDecl.Marshal(b, m, deterministic) +} +func (dst *IdentDecl) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdentDecl.Merge(dst, src) +} +func (m *IdentDecl) XXX_Size() int { + return xxx_messageInfo_IdentDecl.Size(m) +} +func (m *IdentDecl) XXX_DiscardUnknown() { + xxx_messageInfo_IdentDecl.DiscardUnknown(m) +} + +var xxx_messageInfo_IdentDecl proto.InternalMessageInfo + +func (m *IdentDecl) GetType() *DeclType { + if m != nil { + return m.Type + } + return nil +} + +func (m *IdentDecl) GetValue() *Expr { + if m != nil { + return m.Value + } + return nil +} + +// A function declaration. +type FunctionDecl struct { + // The function arguments. + Args []*IdentDecl `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` + // Optional declared return type. + ReturnType *DeclType `protobuf:"bytes,2,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"` + // If the first argument of the function is the receiver. + ReceiverFunction bool `protobuf:"varint,3,opt,name=receiver_function,json=receiverFunction,proto3" json:"receiver_function,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FunctionDecl) Reset() { *m = FunctionDecl{} } +func (m *FunctionDecl) String() string { return proto.CompactTextString(m) } +func (*FunctionDecl) ProtoMessage() {} +func (*FunctionDecl) Descriptor() ([]byte, []int) { + return fileDescriptor_decl_6647d3ad822811d0, []int{3} +} +func (m *FunctionDecl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FunctionDecl.Unmarshal(m, b) +} +func (m *FunctionDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FunctionDecl.Marshal(b, m, deterministic) +} +func (dst *FunctionDecl) XXX_Merge(src proto.Message) { + xxx_messageInfo_FunctionDecl.Merge(dst, src) +} +func (m *FunctionDecl) XXX_Size() int { + return xxx_messageInfo_FunctionDecl.Size(m) +} +func (m *FunctionDecl) XXX_DiscardUnknown() { + xxx_messageInfo_FunctionDecl.DiscardUnknown(m) +} + +var xxx_messageInfo_FunctionDecl proto.InternalMessageInfo + +func (m *FunctionDecl) GetArgs() []*IdentDecl { + if m != nil { + return m.Args + } + return nil +} + +func (m *FunctionDecl) GetReturnType() *DeclType { + if m != nil { + return m.ReturnType + } + return nil +} + +func (m *FunctionDecl) GetReceiverFunction() bool { + if m != nil { + return m.ReceiverFunction + } + return false +} + +func init() { + proto.RegisterType((*Decl)(nil), "google.api.expr.v1beta1.Decl") + proto.RegisterType((*DeclType)(nil), "google.api.expr.v1beta1.DeclType") + proto.RegisterType((*IdentDecl)(nil), "google.api.expr.v1beta1.IdentDecl") + proto.RegisterType((*FunctionDecl)(nil), "google.api.expr.v1beta1.FunctionDecl") +} + +func init() { + proto.RegisterFile("google/api/expr/v1beta1/decl.proto", fileDescriptor_decl_6647d3ad822811d0) +} + +var fileDescriptor_decl_6647d3ad822811d0 = []byte{ + // 398 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcd, 0x4a, 0xeb, 0x40, + 0x14, 0xc7, 0xef, 0x34, 0x49, 0x69, 0x4f, 0x2f, 0x97, 0xde, 0xd9, 0xdc, 0x70, 0x45, 0x88, 0x01, + 0x21, 0x20, 0x24, 0xb4, 0x45, 0x17, 0x76, 0x17, 0x3f, 0xd0, 0x5d, 0x09, 0xae, 0xdc, 0x94, 0x69, + 0x32, 0x86, 0xd1, 0x74, 0x66, 0x98, 0xa6, 0xb5, 0x7d, 0x32, 0x9f, 0xc0, 0x77, 0x72, 0x29, 0x33, + 0x49, 0x83, 0xa0, 0x81, 0xae, 0x7a, 0x9a, 0xf3, 0xff, 0x9d, 0x8f, 0xff, 0x1c, 0xf0, 0x73, 0x21, + 0xf2, 0x82, 0x46, 0x44, 0xb2, 0x88, 0x6e, 0xa5, 0x8a, 0x36, 0xa3, 0x05, 0x2d, 0xc9, 0x28, 0xca, + 0x68, 0x5a, 0x84, 0x52, 0x89, 0x52, 0xe0, 0x7f, 0x95, 0x26, 0x24, 0x92, 0x85, 0x5a, 0x13, 0xd6, + 0x9a, 0xff, 0xad, 0xb0, 0x51, 0x19, 0xd8, 0x7f, 0x47, 0x60, 0x5f, 0xd3, 0xb4, 0xc0, 0x7f, 0xa0, + 0xc3, 0x32, 0x17, 0x79, 0x28, 0x70, 0x92, 0x0e, 0xcb, 0x30, 0x06, 0x9b, 0x93, 0x25, 0x75, 0x3b, + 0x1e, 0x0a, 0xfa, 0x89, 0x89, 0xf1, 0x10, 0xac, 0x4c, 0xa4, 0xae, 0x65, 0x3e, 0xe9, 0x10, 0x5f, + 0x82, 0xc3, 0x32, 0xca, 0x4b, 0xd7, 0xf6, 0x50, 0x30, 0x18, 0xfb, 0x61, 0xcb, 0x2c, 0xe1, 0xbd, + 0x56, 0xe9, 0x46, 0x77, 0xbf, 0x92, 0x0a, 0xc1, 0x57, 0xd0, 0x7b, 0x5a, 0xf3, 0xb4, 0x64, 0x82, + 0xbb, 0x8e, 0xc1, 0x4f, 0x5b, 0xf1, 0xdb, 0x5a, 0x58, 0x57, 0x68, 0xc0, 0xb8, 0x0b, 0x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00, 0xff, 0xff, 0x10, 0x20, 0xb6, 0xbc, 0x44, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go new file mode 100644 index 000000000..8b256f06f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go @@ -0,0 +1,470 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1beta1/eval.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import status "google.golang.org/genproto/googleapis/rpc/status" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The state of an evaluation. +// +// Can represent an initial, partial, or completed state of evaluation. +type EvalState struct { + // The unique values referenced in this message. + Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + // An ordered list of results. + // + // Tracks the flow of evaluation through the expression. + // May be sparse. + Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvalState) Reset() { *m = EvalState{} } +func (m *EvalState) String() string { return proto.CompactTextString(m) } +func (*EvalState) ProtoMessage() {} +func (*EvalState) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_44fab2c26f9c103a, []int{0} +} +func (m *EvalState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvalState.Unmarshal(m, b) +} +func (m *EvalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvalState.Marshal(b, m, deterministic) +} +func (dst *EvalState) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvalState.Merge(dst, src) +} +func (m *EvalState) XXX_Size() int { + return xxx_messageInfo_EvalState.Size(m) +} +func (m *EvalState) XXX_DiscardUnknown() { + xxx_messageInfo_EvalState.DiscardUnknown(m) +} + +var xxx_messageInfo_EvalState proto.InternalMessageInfo + +func (m *EvalState) GetValues() []*ExprValue { + if m != nil { + return m.Values + } + return nil +} + +func (m *EvalState) GetResults() []*EvalState_Result { + if m != nil { + return m.Results + } + return nil +} + +// A single evaluation result. +type EvalState_Result struct { + // The expression this result is for. + Expr *IdRef `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` + // The index in `values` of the resulting value. + Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvalState_Result) Reset() { *m = EvalState_Result{} } +func (m *EvalState_Result) String() string { return proto.CompactTextString(m) } +func (*EvalState_Result) ProtoMessage() {} +func (*EvalState_Result) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_44fab2c26f9c103a, []int{0, 0} +} +func (m *EvalState_Result) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvalState_Result.Unmarshal(m, b) +} +func (m *EvalState_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvalState_Result.Marshal(b, m, deterministic) +} +func (dst *EvalState_Result) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvalState_Result.Merge(dst, src) +} +func (m *EvalState_Result) XXX_Size() int { + return xxx_messageInfo_EvalState_Result.Size(m) +} +func (m *EvalState_Result) XXX_DiscardUnknown() { + xxx_messageInfo_EvalState_Result.DiscardUnknown(m) +} + +var xxx_messageInfo_EvalState_Result proto.InternalMessageInfo + +func (m *EvalState_Result) GetExpr() *IdRef { + if m != nil { + return m.Expr + } + return nil +} + +func (m *EvalState_Result) GetValue() int32 { + if m != nil { + return m.Value + } + return 0 +} + +// The value of an evaluated expression. +type ExprValue struct { + // An expression can resolve to a value, error or unknown. + // + // Types that are valid to be assigned to Kind: + // *ExprValue_Value + // *ExprValue_Error + // *ExprValue_Unknown + Kind isExprValue_Kind `protobuf_oneof:"kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExprValue) Reset() { *m = ExprValue{} } +func (m *ExprValue) String() string { return proto.CompactTextString(m) } +func (*ExprValue) ProtoMessage() {} +func (*ExprValue) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_44fab2c26f9c103a, []int{1} +} +func (m *ExprValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExprValue.Unmarshal(m, b) +} +func (m *ExprValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExprValue.Marshal(b, m, deterministic) +} +func (dst *ExprValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExprValue.Merge(dst, src) +} +func (m *ExprValue) XXX_Size() int { + return xxx_messageInfo_ExprValue.Size(m) +} +func (m *ExprValue) XXX_DiscardUnknown() { + xxx_messageInfo_ExprValue.DiscardUnknown(m) +} + +var xxx_messageInfo_ExprValue proto.InternalMessageInfo + +type isExprValue_Kind interface { + isExprValue_Kind() +} + +type ExprValue_Value struct { + Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"` +} + +type ExprValue_Error struct { + Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +} + +type ExprValue_Unknown struct { + Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"` +} + +func (*ExprValue_Value) isExprValue_Kind() {} + +func (*ExprValue_Error) isExprValue_Kind() {} + +func (*ExprValue_Unknown) isExprValue_Kind() {} + +func (m *ExprValue) GetKind() isExprValue_Kind { + if m != nil { + return m.Kind + } + return nil +} + +func (m *ExprValue) GetValue() *Value { + if x, ok := m.GetKind().(*ExprValue_Value); ok { + return x.Value + } + return nil +} + +func (m *ExprValue) GetError() *ErrorSet { + if x, ok := m.GetKind().(*ExprValue_Error); ok { + return x.Error + } + return nil +} + +func (m *ExprValue) GetUnknown() *UnknownSet { + if x, ok := m.GetKind().(*ExprValue_Unknown); ok { + return x.Unknown + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ExprValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ExprValue_OneofMarshaler, _ExprValue_OneofUnmarshaler, _ExprValue_OneofSizer, []interface{}{ + (*ExprValue_Value)(nil), + (*ExprValue_Error)(nil), + (*ExprValue_Unknown)(nil), + } +} + +func _ExprValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ExprValue) + // kind + switch x := m.Kind.(type) { + case *ExprValue_Value: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Value); err != nil { + return err + } + case *ExprValue_Error: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Error); err != nil { + return err + } + case *ExprValue_Unknown: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Unknown); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ExprValue.Kind has unexpected type %T", x) + } + return nil +} + +func _ExprValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ExprValue) + switch tag { + case 1: // kind.value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Value) + err := b.DecodeMessage(msg) + m.Kind = &ExprValue_Value{msg} + return true, err + case 2: // kind.error + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ErrorSet) + err := b.DecodeMessage(msg) + m.Kind = &ExprValue_Error{msg} + return true, err + case 3: // kind.unknown + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(UnknownSet) + err := b.DecodeMessage(msg) + m.Kind = &ExprValue_Unknown{msg} + return true, err + default: + return false, nil + } +} + +func _ExprValue_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ExprValue) + // kind + switch x := m.Kind.(type) { + case *ExprValue_Value: + s := proto.Size(x.Value) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ExprValue_Error: + s := proto.Size(x.Error) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ExprValue_Unknown: + s := proto.Size(x.Unknown) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A set of errors. +// +// The errors included depend on the context. See `ExprValue.error`. +type ErrorSet struct { + // The errors in the set. + Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ErrorSet) Reset() { *m = ErrorSet{} } +func (m *ErrorSet) String() string { return proto.CompactTextString(m) } +func (*ErrorSet) ProtoMessage() {} +func (*ErrorSet) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_44fab2c26f9c103a, []int{2} +} +func (m *ErrorSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorSet.Unmarshal(m, b) +} +func (m *ErrorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorSet.Marshal(b, m, deterministic) +} +func (dst *ErrorSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorSet.Merge(dst, src) +} +func (m *ErrorSet) XXX_Size() int { + return xxx_messageInfo_ErrorSet.Size(m) +} +func (m *ErrorSet) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorSet.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorSet proto.InternalMessageInfo + +func (m *ErrorSet) GetErrors() []*status.Status { + if m != nil { + return m.Errors + } + return nil +} + +// A set of expressions for which the value is unknown. +// +// The unknowns included depend on the context. See `ExprValue.unknown`. +type UnknownSet struct { + // The ids of the expressions with unknown values. + Exprs []*IdRef `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnknownSet) Reset() { *m = UnknownSet{} } +func (m *UnknownSet) String() string { return proto.CompactTextString(m) } +func (*UnknownSet) ProtoMessage() {} +func (*UnknownSet) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_44fab2c26f9c103a, []int{3} +} +func (m *UnknownSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnknownSet.Unmarshal(m, b) +} +func (m *UnknownSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnknownSet.Marshal(b, m, deterministic) +} +func (dst *UnknownSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnknownSet.Merge(dst, src) +} +func (m *UnknownSet) XXX_Size() int { + return xxx_messageInfo_UnknownSet.Size(m) +} +func (m *UnknownSet) XXX_DiscardUnknown() { + xxx_messageInfo_UnknownSet.DiscardUnknown(m) +} + +var xxx_messageInfo_UnknownSet proto.InternalMessageInfo + +func (m *UnknownSet) GetExprs() []*IdRef { + if m != nil { + return m.Exprs + } + return nil +} + +// A reference to an expression id. +type IdRef struct { + // The expression id. + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IdRef) Reset() { *m = IdRef{} } +func (m *IdRef) String() string { return proto.CompactTextString(m) } +func (*IdRef) ProtoMessage() {} +func (*IdRef) Descriptor() ([]byte, []int) { + return fileDescriptor_eval_44fab2c26f9c103a, []int{4} +} +func (m *IdRef) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IdRef.Unmarshal(m, b) +} +func (m *IdRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IdRef.Marshal(b, m, deterministic) +} +func (dst *IdRef) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdRef.Merge(dst, src) +} +func (m *IdRef) XXX_Size() int { + return xxx_messageInfo_IdRef.Size(m) +} +func (m *IdRef) XXX_DiscardUnknown() { + xxx_messageInfo_IdRef.DiscardUnknown(m) +} + +var xxx_messageInfo_IdRef proto.InternalMessageInfo + +func (m *IdRef) GetId() int32 { + if m != nil { + return m.Id + } + return 0 +} + +func init() { + proto.RegisterType((*EvalState)(nil), "google.api.expr.v1beta1.EvalState") + proto.RegisterType((*EvalState_Result)(nil), "google.api.expr.v1beta1.EvalState.Result") + proto.RegisterType((*ExprValue)(nil), "google.api.expr.v1beta1.ExprValue") + proto.RegisterType((*ErrorSet)(nil), "google.api.expr.v1beta1.ErrorSet") + proto.RegisterType((*UnknownSet)(nil), "google.api.expr.v1beta1.UnknownSet") + proto.RegisterType((*IdRef)(nil), "google.api.expr.v1beta1.IdRef") +} + +func init() { + proto.RegisterFile("google/api/expr/v1beta1/eval.proto", fileDescriptor_eval_44fab2c26f9c103a) +} + +var fileDescriptor_eval_44fab2c26f9c103a = []byte{ + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x8b, 0xd4, 0x30, + 0x14, 0xc7, 0xcd, 0xcc, 0xb6, 0xab, 0x6f, 0xc0, 0x43, 0x10, 0xb6, 0x8c, 0x20, 0x63, 0xf7, 0x32, + 0x7a, 0x48, 0xd8, 0x2a, 0x0b, 0xba, 0x07, 0xa1, 0xb2, 0xa0, 0xb7, 0x25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, 0x7a, 0x1d, 0x99, 0x53, 0xc1, 0x88, 0x7f, 0x7a, 0x34, 0xa5, 0xd0, 0x77, 0x90, 0x28, 0x6b, + 0xb5, 0xc5, 0xec, 0x55, 0xf1, 0x72, 0xfe, 0x72, 0x9e, 0xda, 0x29, 0xe7, 0x55, 0x34, 0xe8, 0x07, + 0x38, 0x1f, 0xba, 0x43, 0xa7, 0x7f, 0x75, 0xd9, 0x12, 0xe5, 0xcb, 0x59, 0xf9, 0x4b, 0xe0, 0x82, + 0x1e, 0xad, 0x32, 0x85, 0xb3, 0x43, 0xd3, 0x55, 0xf9, 0x35, 0x3c, 0x8e, 0xe9, 0xf4, 0x35, 0xa4, + 0x98, 0x1e, 0xbf, 0x8a, 0xc6, 0x4c, 0x6b, 0xf6, 0x6c, 0x87, 0x5f, 0x2c, 0x26, 0x22, 0x2f, 0x01, + 0xfe, 0x07, 0xd3, 0xb7, 0x90, 0xf8, 0x9e, 0x51, 0x3c, 0xf5, 0xb4, 0x01, 0xce, 0x2f, 0x20, 0xc1, + 0x9a, 0x3e, 0x85, 0x45, 0x53, 0xe1, 0xeb, 0x25, 0x62, 0xd1, 0x54, 0xe5, 0x0f, 0x78, 0xbe, 0xd7, + 0x3f, 0xe7, 0x42, 0x4a, 0x9c, 0xae, 0x3b, 0x3f, 0x6b, 0x77, 0xe4, 0xdb, 0xcd, 0x44, 0xd5, 0xba, + 0x95, 0x5d, 0xcd, 0xb4, 0xad, 0x79, 0xad, 0x3a, 0x9c, 0x44, 0x1e, 0xb6, 0xa4, 0x69, 0xfa, 0x07, + 0xa3, 0x7c, 0xe3, 0x8b, 0xbf, 0x84, 0xdc, 0xa7, 0x88, 0xbe, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff, + 0x33, 0xb5, 0xd5, 0x2b, 0x31, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go new file mode 100644 index 000000000..b97f37a62 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go @@ -0,0 +1,1351 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1beta1/expr.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _struct "github.com/golang/protobuf/ptypes/struct" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An expression together with source information as returned by the parser. +type ParsedExpr struct { + // The parsed expression. + Expr *Expr `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` + // The source info derived from input that generated the parsed `expr`. + SourceInfo *SourceInfo `protobuf:"bytes,3,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` + // The syntax version of the source, e.g. `cel1`. + SyntaxVersion string `protobuf:"bytes,4,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParsedExpr) Reset() { *m = ParsedExpr{} } +func (m *ParsedExpr) String() string { return proto.CompactTextString(m) } +func (*ParsedExpr) ProtoMessage() {} +func (*ParsedExpr) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{0} +} +func (m *ParsedExpr) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParsedExpr.Unmarshal(m, b) +} +func (m *ParsedExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParsedExpr.Marshal(b, m, deterministic) +} +func (dst *ParsedExpr) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParsedExpr.Merge(dst, src) +} +func (m *ParsedExpr) XXX_Size() int { + return xxx_messageInfo_ParsedExpr.Size(m) +} +func (m *ParsedExpr) XXX_DiscardUnknown() { + xxx_messageInfo_ParsedExpr.DiscardUnknown(m) +} + +var xxx_messageInfo_ParsedExpr proto.InternalMessageInfo + +func (m *ParsedExpr) GetExpr() *Expr { + if m != nil { + return m.Expr + } + return nil +} + +func (m *ParsedExpr) GetSourceInfo() *SourceInfo { + if m != nil { + return m.SourceInfo + } + return nil +} + +func (m *ParsedExpr) GetSyntaxVersion() string { + if m != nil { + return m.SyntaxVersion + } + return "" +} + +// An abstract representation of a common expression. +// +// Expressions are abstractly represented as a collection of identifiers, +// select statements, function calls, literals, and comprehensions. All +// operators with the exception of the '.' operator are modelled as function +// calls. This makes it easy to represent new operators into the existing AST. +// +// All references within expressions must resolve to a +// [Decl][google.api.expr.v1beta1.Decl] provided at type-check for an expression +// to be valid. A reference may either be a bare identifier `name` or a +// qualified identifier `google.api.name`. References may either refer to a +// value or a function declaration. +// +// For example, the expression `google.api.name.startsWith('expr')` references +// the declaration `google.api.name` within a +// [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression, and the +// function declaration `startsWith`. +type Expr struct { + // Required. An id assigned to this node by the parser which is unique in a + // given expression tree. This is used to associate type information and other + // attributes to a node in the parse tree. + Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + // Required. Variants of expressions. + // + // Types that are valid to be assigned to ExprKind: + // *Expr_LiteralExpr + // *Expr_IdentExpr + // *Expr_SelectExpr + // *Expr_CallExpr + // *Expr_ListExpr + // *Expr_StructExpr + // *Expr_ComprehensionExpr + ExprKind isExpr_ExprKind `protobuf_oneof:"expr_kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr) Reset() { *m = Expr{} } +func (m *Expr) String() string { return proto.CompactTextString(m) } +func (*Expr) ProtoMessage() {} +func (*Expr) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1} +} +func (m *Expr) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr.Unmarshal(m, b) +} +func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr.Marshal(b, m, deterministic) +} +func (dst *Expr) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr.Merge(dst, src) +} +func (m *Expr) XXX_Size() int { + return xxx_messageInfo_Expr.Size(m) +} +func (m *Expr) XXX_DiscardUnknown() { + xxx_messageInfo_Expr.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr proto.InternalMessageInfo + +func (m *Expr) GetId() int32 { + if m != nil { + return m.Id + } + return 0 +} + +type isExpr_ExprKind interface { + isExpr_ExprKind() +} + +type Expr_LiteralExpr struct { + LiteralExpr *Literal `protobuf:"bytes,3,opt,name=literal_expr,json=literalExpr,proto3,oneof"` +} + +type Expr_IdentExpr struct { + IdentExpr *Expr_Ident `protobuf:"bytes,4,opt,name=ident_expr,json=identExpr,proto3,oneof"` +} + +type Expr_SelectExpr struct { + SelectExpr *Expr_Select `protobuf:"bytes,5,opt,name=select_expr,json=selectExpr,proto3,oneof"` +} + +type Expr_CallExpr struct { + CallExpr *Expr_Call `protobuf:"bytes,6,opt,name=call_expr,json=callExpr,proto3,oneof"` +} + +type Expr_ListExpr struct { + ListExpr *Expr_CreateList `protobuf:"bytes,7,opt,name=list_expr,json=listExpr,proto3,oneof"` +} + +type Expr_StructExpr struct { + StructExpr *Expr_CreateStruct `protobuf:"bytes,8,opt,name=struct_expr,json=structExpr,proto3,oneof"` +} + +type Expr_ComprehensionExpr struct { + ComprehensionExpr *Expr_Comprehension `protobuf:"bytes,9,opt,name=comprehension_expr,json=comprehensionExpr,proto3,oneof"` +} + +func (*Expr_LiteralExpr) isExpr_ExprKind() {} + +func (*Expr_IdentExpr) isExpr_ExprKind() {} + +func (*Expr_SelectExpr) isExpr_ExprKind() {} + +func (*Expr_CallExpr) isExpr_ExprKind() {} + +func (*Expr_ListExpr) isExpr_ExprKind() {} + +func (*Expr_StructExpr) isExpr_ExprKind() {} + +func (*Expr_ComprehensionExpr) isExpr_ExprKind() {} + +func (m *Expr) GetExprKind() isExpr_ExprKind { + if m != nil { + return m.ExprKind + } + return nil +} + +func (m *Expr) GetLiteralExpr() *Literal { + if x, ok := m.GetExprKind().(*Expr_LiteralExpr); ok { + return x.LiteralExpr + } + return nil +} + +func (m *Expr) GetIdentExpr() *Expr_Ident { + if x, ok := m.GetExprKind().(*Expr_IdentExpr); ok { + return x.IdentExpr + } + return nil +} + +func (m *Expr) GetSelectExpr() *Expr_Select { + if x, ok := m.GetExprKind().(*Expr_SelectExpr); ok { + return x.SelectExpr + } + return nil +} + +func (m *Expr) GetCallExpr() *Expr_Call { + if x, ok := m.GetExprKind().(*Expr_CallExpr); ok { + return x.CallExpr + } + return nil +} + +func (m *Expr) GetListExpr() *Expr_CreateList { + if x, ok := m.GetExprKind().(*Expr_ListExpr); ok { + return x.ListExpr + } + return nil +} + +func (m *Expr) GetStructExpr() *Expr_CreateStruct { + if x, ok := m.GetExprKind().(*Expr_StructExpr); ok { + return x.StructExpr + } + return nil +} + +func (m *Expr) GetComprehensionExpr() *Expr_Comprehension { + if x, ok := m.GetExprKind().(*Expr_ComprehensionExpr); ok { + return x.ComprehensionExpr + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Expr) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Expr_OneofMarshaler, _Expr_OneofUnmarshaler, _Expr_OneofSizer, []interface{}{ + (*Expr_LiteralExpr)(nil), + (*Expr_IdentExpr)(nil), + (*Expr_SelectExpr)(nil), + (*Expr_CallExpr)(nil), + (*Expr_ListExpr)(nil), + (*Expr_StructExpr)(nil), + (*Expr_ComprehensionExpr)(nil), + } +} + +func _Expr_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Expr) + // expr_kind + switch x := m.ExprKind.(type) { + case *Expr_LiteralExpr: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.LiteralExpr); err != nil { + return err + } + case *Expr_IdentExpr: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.IdentExpr); err != nil { + return err + } + case *Expr_SelectExpr: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SelectExpr); err != nil { + return err + } + case *Expr_CallExpr: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CallExpr); err != nil { + return err + } + case *Expr_ListExpr: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListExpr); err != nil { + return err + } + case *Expr_StructExpr: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.StructExpr); err != nil { + return err + } + case *Expr_ComprehensionExpr: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ComprehensionExpr); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Expr.ExprKind has unexpected type %T", x) + } + return nil +} + +func _Expr_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Expr) + switch tag { + case 3: // expr_kind.literal_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Literal) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_LiteralExpr{msg} + return true, err + case 4: // expr_kind.ident_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Ident) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_IdentExpr{msg} + return true, err + case 5: // expr_kind.select_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Select) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_SelectExpr{msg} + return true, err + case 6: // expr_kind.call_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Call) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_CallExpr{msg} + return true, err + case 7: // expr_kind.list_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_CreateList) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_ListExpr{msg} + return true, err + case 8: // expr_kind.struct_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_CreateStruct) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_StructExpr{msg} + return true, err + case 9: // expr_kind.comprehension_expr + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr_Comprehension) + err := b.DecodeMessage(msg) + m.ExprKind = &Expr_ComprehensionExpr{msg} + return true, err + default: + return false, nil + } +} + +func _Expr_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Expr) + // expr_kind + switch x := m.ExprKind.(type) { + case *Expr_LiteralExpr: + s := proto.Size(x.LiteralExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_IdentExpr: + s := proto.Size(x.IdentExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_SelectExpr: + s := proto.Size(x.SelectExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_CallExpr: + s := proto.Size(x.CallExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_ListExpr: + s := proto.Size(x.ListExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_StructExpr: + s := proto.Size(x.StructExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Expr_ComprehensionExpr: + s := proto.Size(x.ComprehensionExpr) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An identifier expression. e.g. `request`. +type Expr_Ident struct { + // Required. Holds a single, unqualified identifier, possibly preceded by a + // '.'. + // + // Qualified names are represented by the + // [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Ident) Reset() { *m = Expr_Ident{} } +func (m *Expr_Ident) String() string { return proto.CompactTextString(m) } +func (*Expr_Ident) ProtoMessage() {} +func (*Expr_Ident) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 0} +} +func (m *Expr_Ident) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Ident.Unmarshal(m, b) +} +func (m *Expr_Ident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Ident.Marshal(b, m, deterministic) +} +func (dst *Expr_Ident) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Ident.Merge(dst, src) +} +func (m *Expr_Ident) XXX_Size() int { + return xxx_messageInfo_Expr_Ident.Size(m) +} +func (m *Expr_Ident) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Ident.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Ident proto.InternalMessageInfo + +func (m *Expr_Ident) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// A field selection expression. e.g. `request.auth`. +type Expr_Select struct { + // Required. The target of the selection expression. + // + // For example, in the select expression `request.auth`, the `request` + // portion of the expression is the `operand`. + Operand *Expr `protobuf:"bytes,1,opt,name=operand,proto3" json:"operand,omitempty"` + // Required. The name of the field to select. + // + // For example, in the select expression `request.auth`, the `auth` portion + // of the expression would be the `field`. + Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` + // Whether the select is to be interpreted as a field presence test. + // + // This results from the macro `has(request.auth)`. + TestOnly bool `protobuf:"varint,3,opt,name=test_only,json=testOnly,proto3" json:"test_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Select) Reset() { *m = Expr_Select{} } +func (m *Expr_Select) String() string { return proto.CompactTextString(m) } +func (*Expr_Select) ProtoMessage() {} +func (*Expr_Select) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 1} +} +func (m *Expr_Select) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Select.Unmarshal(m, b) +} +func (m *Expr_Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Select.Marshal(b, m, deterministic) +} +func (dst *Expr_Select) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Select.Merge(dst, src) +} +func (m *Expr_Select) XXX_Size() int { + return xxx_messageInfo_Expr_Select.Size(m) +} +func (m *Expr_Select) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Select.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Select proto.InternalMessageInfo + +func (m *Expr_Select) GetOperand() *Expr { + if m != nil { + return m.Operand + } + return nil +} + +func (m *Expr_Select) GetField() string { + if m != nil { + return m.Field + } + return "" +} + +func (m *Expr_Select) GetTestOnly() bool { + if m != nil { + return m.TestOnly + } + return false +} + +// A call expression, including calls to predefined functions and operators. +// +// For example, `value == 10`, `size(map_value)`. +type Expr_Call struct { + // The target of an method call-style expression. For example, `x` in + // `x.f()`. + Target *Expr `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + // Required. The name of the function or method being called. + Function string `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` + // The arguments. + Args []*Expr `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Call) Reset() { *m = Expr_Call{} } +func (m *Expr_Call) String() string { return proto.CompactTextString(m) } +func (*Expr_Call) ProtoMessage() {} +func (*Expr_Call) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 2} +} +func (m *Expr_Call) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Call.Unmarshal(m, b) +} +func (m *Expr_Call) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Call.Marshal(b, m, deterministic) +} +func (dst *Expr_Call) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Call.Merge(dst, src) +} +func (m *Expr_Call) XXX_Size() int { + return xxx_messageInfo_Expr_Call.Size(m) +} +func (m *Expr_Call) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Call.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Call proto.InternalMessageInfo + +func (m *Expr_Call) GetTarget() *Expr { + if m != nil { + return m.Target + } + return nil +} + +func (m *Expr_Call) GetFunction() string { + if m != nil { + return m.Function + } + return "" +} + +func (m *Expr_Call) GetArgs() []*Expr { + if m != nil { + return m.Args + } + return nil +} + +// A list creation expression. +// +// Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. +// `dyn([1, 'hello', 2.0])` +type Expr_CreateList struct { + // The elements part of the list. + Elements []*Expr `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_CreateList) Reset() { *m = Expr_CreateList{} } +func (m *Expr_CreateList) String() string { return proto.CompactTextString(m) } +func (*Expr_CreateList) ProtoMessage() {} +func (*Expr_CreateList) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 3} +} +func (m *Expr_CreateList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_CreateList.Unmarshal(m, b) +} +func (m *Expr_CreateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_CreateList.Marshal(b, m, deterministic) +} +func (dst *Expr_CreateList) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_CreateList.Merge(dst, src) +} +func (m *Expr_CreateList) XXX_Size() int { + return xxx_messageInfo_Expr_CreateList.Size(m) +} +func (m *Expr_CreateList) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_CreateList.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_CreateList proto.InternalMessageInfo + +func (m *Expr_CreateList) GetElements() []*Expr { + if m != nil { + return m.Elements + } + return nil +} + +// A map or message creation expression. +// +// Maps are constructed as `{'key_name': 'value'}`. Message construction is +// similar, but prefixed with a type name and composed of field ids: +// `types.MyType{field_id: 'value'}`. +type Expr_CreateStruct struct { + // The type name of the message to be created, empty when creating map + // literals. + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // The entries in the creation expression. + Entries []*Expr_CreateStruct_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_CreateStruct) Reset() { *m = Expr_CreateStruct{} } +func (m *Expr_CreateStruct) String() string { return proto.CompactTextString(m) } +func (*Expr_CreateStruct) ProtoMessage() {} +func (*Expr_CreateStruct) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 4} +} +func (m *Expr_CreateStruct) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_CreateStruct.Unmarshal(m, b) +} +func (m *Expr_CreateStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_CreateStruct.Marshal(b, m, deterministic) +} +func (dst *Expr_CreateStruct) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_CreateStruct.Merge(dst, src) +} +func (m *Expr_CreateStruct) XXX_Size() int { + return xxx_messageInfo_Expr_CreateStruct.Size(m) +} +func (m *Expr_CreateStruct) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_CreateStruct.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_CreateStruct proto.InternalMessageInfo + +func (m *Expr_CreateStruct) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *Expr_CreateStruct) GetEntries() []*Expr_CreateStruct_Entry { + if m != nil { + return m.Entries + } + return nil +} + +// Represents an entry. +type Expr_CreateStruct_Entry struct { + // Required. An id assigned to this node by the parser which is unique + // in a given expression tree. This is used to associate type + // information and other attributes to the node. + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // The `Entry` key kinds. + // + // Types that are valid to be assigned to KeyKind: + // *Expr_CreateStruct_Entry_FieldKey + // *Expr_CreateStruct_Entry_MapKey + KeyKind isExpr_CreateStruct_Entry_KeyKind `protobuf_oneof:"key_kind"` + // Required. The value assigned to the key. + Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_CreateStruct_Entry) Reset() { *m = Expr_CreateStruct_Entry{} } +func (m *Expr_CreateStruct_Entry) String() string { return proto.CompactTextString(m) } +func (*Expr_CreateStruct_Entry) ProtoMessage() {} +func (*Expr_CreateStruct_Entry) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 4, 0} +} +func (m *Expr_CreateStruct_Entry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_CreateStruct_Entry.Unmarshal(m, b) +} +func (m *Expr_CreateStruct_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_CreateStruct_Entry.Marshal(b, m, deterministic) +} +func (dst *Expr_CreateStruct_Entry) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_CreateStruct_Entry.Merge(dst, src) +} +func (m *Expr_CreateStruct_Entry) XXX_Size() int { + return xxx_messageInfo_Expr_CreateStruct_Entry.Size(m) +} +func (m *Expr_CreateStruct_Entry) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_CreateStruct_Entry.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_CreateStruct_Entry proto.InternalMessageInfo + +func (m *Expr_CreateStruct_Entry) GetId() int32 { + if m != nil { + return m.Id + } + return 0 +} + +type isExpr_CreateStruct_Entry_KeyKind interface { + isExpr_CreateStruct_Entry_KeyKind() +} + +type Expr_CreateStruct_Entry_FieldKey struct { + FieldKey string `protobuf:"bytes,2,opt,name=field_key,json=fieldKey,proto3,oneof"` +} + +type Expr_CreateStruct_Entry_MapKey struct { + MapKey *Expr `protobuf:"bytes,3,opt,name=map_key,json=mapKey,proto3,oneof"` +} + +func (*Expr_CreateStruct_Entry_FieldKey) isExpr_CreateStruct_Entry_KeyKind() {} + +func (*Expr_CreateStruct_Entry_MapKey) isExpr_CreateStruct_Entry_KeyKind() {} + +func (m *Expr_CreateStruct_Entry) GetKeyKind() isExpr_CreateStruct_Entry_KeyKind { + if m != nil { + return m.KeyKind + } + return nil +} + +func (m *Expr_CreateStruct_Entry) GetFieldKey() string { + if x, ok := m.GetKeyKind().(*Expr_CreateStruct_Entry_FieldKey); ok { + return x.FieldKey + } + return "" +} + +func (m *Expr_CreateStruct_Entry) GetMapKey() *Expr { + if x, ok := m.GetKeyKind().(*Expr_CreateStruct_Entry_MapKey); ok { + return x.MapKey + } + return nil +} + +func (m *Expr_CreateStruct_Entry) GetValue() *Expr { + if m != nil { + return m.Value + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Expr_CreateStruct_Entry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Expr_CreateStruct_Entry_OneofMarshaler, _Expr_CreateStruct_Entry_OneofUnmarshaler, _Expr_CreateStruct_Entry_OneofSizer, []interface{}{ + (*Expr_CreateStruct_Entry_FieldKey)(nil), + (*Expr_CreateStruct_Entry_MapKey)(nil), + } +} + +func _Expr_CreateStruct_Entry_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Expr_CreateStruct_Entry) + // key_kind + switch x := m.KeyKind.(type) { + case *Expr_CreateStruct_Entry_FieldKey: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeStringBytes(x.FieldKey) + case *Expr_CreateStruct_Entry_MapKey: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MapKey); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Expr_CreateStruct_Entry.KeyKind has unexpected type %T", x) + } + return nil +} + +func _Expr_CreateStruct_Entry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Expr_CreateStruct_Entry) + switch tag { + case 2: // key_kind.field_key + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.KeyKind = &Expr_CreateStruct_Entry_FieldKey{x} + return true, err + case 3: // key_kind.map_key + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Expr) + err := b.DecodeMessage(msg) + m.KeyKind = &Expr_CreateStruct_Entry_MapKey{msg} + return true, err + default: + return false, nil + } +} + +func _Expr_CreateStruct_Entry_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Expr_CreateStruct_Entry) + // key_kind + switch x := m.KeyKind.(type) { + case *Expr_CreateStruct_Entry_FieldKey: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.FieldKey))) + n += len(x.FieldKey) + case *Expr_CreateStruct_Entry_MapKey: + s := proto.Size(x.MapKey) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A comprehension expression applied to a list or map. +// +// Comprehensions are not part of the core syntax, but enabled with macros. +// A macro matches a specific call signature within a parsed AST and replaces +// the call with an alternate AST block. Macro expansion happens at parse +// time. +// +// The following macros are supported within CEL: +// +// Aggregate type macros may be applied to all elements in a list or all keys +// in a map: +// +// * `all`, `exists`, `exists_one` - test a predicate expression against +// the inputs and return `true` if the predicate is satisfied for all, +// any, or only one value `list.all(x, x < 10)`. +// * `filter` - test a predicate expression against the inputs and return +// the subset of elements which satisfy the predicate: +// `payments.filter(p, p > 1000)`. +// * `map` - apply an expression to all elements in the input and return the +// output aggregate type: `[1, 2, 3].map(i, i * i)`. +// +// The `has(m.x)` macro tests whether the property `x` is present in struct +// `m`. The semantics of this macro depend on the type of `m`. For proto2 +// messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the +// macro tests whether the property is set to its default. For map and struct +// types, the macro tests whether the property `x` is defined on `m`. +type Expr_Comprehension struct { + // The name of the iteration variable. + IterVar string `protobuf:"bytes,1,opt,name=iter_var,json=iterVar,proto3" json:"iter_var,omitempty"` + // The range over which var iterates. + IterRange *Expr `protobuf:"bytes,2,opt,name=iter_range,json=iterRange,proto3" json:"iter_range,omitempty"` + // The name of the variable used for accumulation of the result. + AccuVar string `protobuf:"bytes,3,opt,name=accu_var,json=accuVar,proto3" json:"accu_var,omitempty"` + // The initial value of the accumulator. + AccuInit *Expr `protobuf:"bytes,4,opt,name=accu_init,json=accuInit,proto3" json:"accu_init,omitempty"` + // An expression which can contain iter_var and accu_var. + // + // Returns false when the result has been computed and may be used as + // a hint to short-circuit the remainder of the comprehension. + LoopCondition *Expr `protobuf:"bytes,5,opt,name=loop_condition,json=loopCondition,proto3" json:"loop_condition,omitempty"` + // An expression which can contain iter_var and accu_var. + // + // Computes the next value of accu_var. + LoopStep *Expr `protobuf:"bytes,6,opt,name=loop_step,json=loopStep,proto3" json:"loop_step,omitempty"` + // An expression which can contain accu_var. + // + // Computes the result. + Result *Expr `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Expr_Comprehension) Reset() { *m = Expr_Comprehension{} } +func (m *Expr_Comprehension) String() string { return proto.CompactTextString(m) } +func (*Expr_Comprehension) ProtoMessage() {} +func (*Expr_Comprehension) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{1, 5} +} +func (m *Expr_Comprehension) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Expr_Comprehension.Unmarshal(m, b) +} +func (m *Expr_Comprehension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Expr_Comprehension.Marshal(b, m, deterministic) +} +func (dst *Expr_Comprehension) XXX_Merge(src proto.Message) { + xxx_messageInfo_Expr_Comprehension.Merge(dst, src) +} +func (m *Expr_Comprehension) XXX_Size() int { + return xxx_messageInfo_Expr_Comprehension.Size(m) +} +func (m *Expr_Comprehension) XXX_DiscardUnknown() { + xxx_messageInfo_Expr_Comprehension.DiscardUnknown(m) +} + +var xxx_messageInfo_Expr_Comprehension proto.InternalMessageInfo + +func (m *Expr_Comprehension) GetIterVar() string { + if m != nil { + return m.IterVar + } + return "" +} + +func (m *Expr_Comprehension) GetIterRange() *Expr { + if m != nil { + return m.IterRange + } + return nil +} + +func (m *Expr_Comprehension) GetAccuVar() string { + if m != nil { + return m.AccuVar + } + return "" +} + +func (m *Expr_Comprehension) GetAccuInit() *Expr { + if m != nil { + return m.AccuInit + } + return nil +} + +func (m *Expr_Comprehension) GetLoopCondition() *Expr { + if m != nil { + return m.LoopCondition + } + return nil +} + +func (m *Expr_Comprehension) GetLoopStep() *Expr { + if m != nil { + return m.LoopStep + } + return nil +} + +func (m *Expr_Comprehension) GetResult() *Expr { + if m != nil { + return m.Result + } + return nil +} + +// Represents a primitive literal. +// +// This is similar to the primitives supported in the well-known type +// `google.protobuf.Value`, but richer so it can represent CEL's full range of +// primitives. +// +// Lists and structs are not included as constants as these aggregate types may +// contain [Expr][google.api.expr.v1beta1.Expr] elements which require +// evaluation and are thus not constant. +// +// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, +// `true`, `null`. +type Literal struct { + // Required. The valid constant kinds. + // + // Types that are valid to be assigned to ConstantKind: + // *Literal_NullValue + // *Literal_BoolValue + // *Literal_Int64Value + // *Literal_Uint64Value + // *Literal_DoubleValue + // *Literal_StringValue + // *Literal_BytesValue + ConstantKind isLiteral_ConstantKind `protobuf_oneof:"constant_kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Literal) Reset() { *m = Literal{} } +func (m *Literal) String() string { return proto.CompactTextString(m) } +func (*Literal) ProtoMessage() {} +func (*Literal) Descriptor() ([]byte, []int) { + return fileDescriptor_expr_6eaf30d778c3868d, []int{2} +} +func (m *Literal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Literal.Unmarshal(m, b) +} +func (m *Literal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Literal.Marshal(b, m, deterministic) +} +func (dst *Literal) XXX_Merge(src proto.Message) { + xxx_messageInfo_Literal.Merge(dst, src) +} +func (m *Literal) XXX_Size() int { + return xxx_messageInfo_Literal.Size(m) +} +func (m *Literal) XXX_DiscardUnknown() { + xxx_messageInfo_Literal.DiscardUnknown(m) +} + +var xxx_messageInfo_Literal proto.InternalMessageInfo + +type isLiteral_ConstantKind interface { + isLiteral_ConstantKind() +} + +type Literal_NullValue struct { + NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` +} + +type Literal_BoolValue struct { + BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` +} + +type Literal_Int64Value struct { + Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"` +} + +type Literal_Uint64Value struct { + Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"` +} + +type Literal_DoubleValue struct { + DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` +} + +type Literal_StringValue struct { + StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type Literal_BytesValue struct { + BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"` +} + +func (*Literal_NullValue) isLiteral_ConstantKind() {} + +func (*Literal_BoolValue) isLiteral_ConstantKind() {} + +func (*Literal_Int64Value) isLiteral_ConstantKind() {} + +func (*Literal_Uint64Value) isLiteral_ConstantKind() {} + +func (*Literal_DoubleValue) isLiteral_ConstantKind() {} + +func (*Literal_StringValue) isLiteral_ConstantKind() {} + +func (*Literal_BytesValue) isLiteral_ConstantKind() {} + +func (m *Literal) GetConstantKind() isLiteral_ConstantKind { + if m != nil { + return m.ConstantKind + } + return nil +} + +func (m *Literal) GetNullValue() _struct.NullValue { + if x, ok := m.GetConstantKind().(*Literal_NullValue); ok { + return x.NullValue + } + return _struct.NullValue_NULL_VALUE +} + +func (m *Literal) GetBoolValue() bool { + if x, ok := m.GetConstantKind().(*Literal_BoolValue); ok { + return x.BoolValue + } + return false +} + +func (m *Literal) GetInt64Value() int64 { + if x, ok := m.GetConstantKind().(*Literal_Int64Value); ok { + return x.Int64Value + } + return 0 +} + +func (m *Literal) GetUint64Value() uint64 { + if x, ok := m.GetConstantKind().(*Literal_Uint64Value); ok { + return x.Uint64Value + } + return 0 +} + +func (m *Literal) GetDoubleValue() float64 { + if x, ok := m.GetConstantKind().(*Literal_DoubleValue); ok { + return x.DoubleValue + } + return 0 +} + +func (m *Literal) GetStringValue() string { + if x, ok := m.GetConstantKind().(*Literal_StringValue); ok { + return x.StringValue + } + return "" +} + +func (m *Literal) GetBytesValue() []byte { + if x, ok := m.GetConstantKind().(*Literal_BytesValue); ok { + return x.BytesValue + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Literal) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Literal_OneofMarshaler, _Literal_OneofUnmarshaler, _Literal_OneofSizer, []interface{}{ + (*Literal_NullValue)(nil), + (*Literal_BoolValue)(nil), + (*Literal_Int64Value)(nil), + (*Literal_Uint64Value)(nil), + (*Literal_DoubleValue)(nil), + (*Literal_StringValue)(nil), + (*Literal_BytesValue)(nil), + } +} + +func _Literal_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Literal) + // constant_kind + switch x := m.ConstantKind.(type) { + case *Literal_NullValue: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NullValue)) + case *Literal_BoolValue: + t := uint64(0) + if x.BoolValue { + t = 1 + } + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(t) + case *Literal_Int64Value: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Int64Value)) + case *Literal_Uint64Value: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Uint64Value)) + case *Literal_DoubleValue: + b.EncodeVarint(5<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.DoubleValue)) + case *Literal_StringValue: + b.EncodeVarint(6<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case *Literal_BytesValue: + b.EncodeVarint(7<<3 | proto.WireBytes) + b.EncodeRawBytes(x.BytesValue) + case nil: + default: + return fmt.Errorf("Literal.ConstantKind has unexpected type %T", x) + } + return nil +} + +func _Literal_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Literal) + switch tag { + case 1: // constant_kind.null_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Literal_NullValue{_struct.NullValue(x)} + return true, err + case 2: // constant_kind.bool_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Literal_BoolValue{x != 0} + return true, err + case 3: // constant_kind.int64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Literal_Int64Value{int64(x)} + return true, err + case 4: // constant_kind.uint64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ConstantKind = &Literal_Uint64Value{x} + return true, err + case 5: // constant_kind.double_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.ConstantKind = &Literal_DoubleValue{math.Float64frombits(x)} + return true, err + case 6: // constant_kind.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.ConstantKind = &Literal_StringValue{x} + return true, err + case 7: // constant_kind.bytes_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.ConstantKind = &Literal_BytesValue{x} + return true, err + default: + return false, nil + } +} + +func _Literal_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Literal) + // constant_kind + switch x := m.ConstantKind.(type) { + case *Literal_NullValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.NullValue)) + case *Literal_BoolValue: + n += 1 // tag and wire + n += 1 + case *Literal_Int64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Int64Value)) + case *Literal_Uint64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Uint64Value)) + case *Literal_DoubleValue: + n += 1 // tag and wire + n += 8 + case *Literal_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case *Literal_BytesValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.BytesValue))) + n += len(x.BytesValue) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*ParsedExpr)(nil), "google.api.expr.v1beta1.ParsedExpr") + proto.RegisterType((*Expr)(nil), "google.api.expr.v1beta1.Expr") + proto.RegisterType((*Expr_Ident)(nil), "google.api.expr.v1beta1.Expr.Ident") + proto.RegisterType((*Expr_Select)(nil), "google.api.expr.v1beta1.Expr.Select") + proto.RegisterType((*Expr_Call)(nil), "google.api.expr.v1beta1.Expr.Call") + proto.RegisterType((*Expr_CreateList)(nil), "google.api.expr.v1beta1.Expr.CreateList") + proto.RegisterType((*Expr_CreateStruct)(nil), "google.api.expr.v1beta1.Expr.CreateStruct") + proto.RegisterType((*Expr_CreateStruct_Entry)(nil), "google.api.expr.v1beta1.Expr.CreateStruct.Entry") + proto.RegisterType((*Expr_Comprehension)(nil), "google.api.expr.v1beta1.Expr.Comprehension") + proto.RegisterType((*Literal)(nil), "google.api.expr.v1beta1.Literal") +} + +func init() { + proto.RegisterFile("google/api/expr/v1beta1/expr.proto", fileDescriptor_expr_6eaf30d778c3868d) +} + +var fileDescriptor_expr_6eaf30d778c3868d = []byte{ + // 936 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x96, 0x6f, 0x6f, 0x23, 0xb5, + 0x13, 0xc7, 0xbb, 0xf9, 0xbb, 0x3b, 0x69, 0xfb, 0xd3, 0xcf, 0x42, 0x22, 0x6c, 0x39, 0x51, 0x7a, + 0x87, 0x54, 0x81, 0x94, 0xd0, 0x3b, 0xfe, 0x97, 0x27, 0xf4, 0xae, 0xba, 0x14, 0x0e, 0xa8, 0xb6, + 0x52, 0x1f, 0x20, 0xa4, 0xc8, 0xd9, 0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b0, 0xf7, 0x00, 0x26, + 0xc6, 0x2c, 0x9d, 0xb1, 0x46, 0x31, 0x02, 0x68, 0xf3, 0xc0, 0xfb, 0xd0, 0x93, 0xda, 0x7d, 0xf6, + 0x49, 0x20, 0xb0, 0x12, 0x4d, 0x1c, 0x81, 0x64, 0xf4, 0xc8, 0x63, 0xd8, 0xad, 0xef, 0x33, 0x58, + 0x91, 0x16, 0xfe, 0x22, 0xd5, 0x0f, 0xa1, 0xa9, 0xa9, 0x27, 0x4a, 0x04, 0x08, 0xb3, 0x1e, 0x21, + 0xe4, 0xad, 0x2b, 0xa8, 0x72, 0x56, 0xea, 0x22, 0x40, 0x9d, 0xd0, 0xfb, 0x3d, 0x6f, 0x5d, 0x45, + 0x34, 0x59, 0x38, 0x51, 0x05, 0x06, 0x93, 0xb8, 0x8b, 0x11, 0x91, 0x91, 0x90, 0xb3, 0xff, 0xc1, + 0x5e, 0x6e, 0x74, 0xe5, 0xb8, 0x76, 0x94, 0xaf, 0xb3, 0x5f, 0xe1, 0x20, 0x37, 0xf3, 0x75, 0x89, + 0x3e, 0x4b, 0x30, 0xd3, 0x97, 0x98, 0xaa, 0xcb, 0xe8, 0xa7, 0xd3, 0x40, 0x15, 0x46, 0x71, 0x5d, + 0x0c, 0x8c, 0x2d, 0x86, 0x85, 0xd0, 0x94, 0xc8, 0xa1, 0xdf, 0xe2, 0xa5, 0xac, 0xfe, 0xf3, 0x6f, + 0xe5, 0x14, 0x17, 0xaf, 0xa3, 0x68, 0xd2, 0x21, 0xf4, 0xd9, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xcb, 0xa2, 0x13, 0x9a, 0x14, 0x09, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go new file mode 100644 index 000000000..b6da44e28 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go @@ -0,0 +1,189 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1beta1/source.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Source information collected at parse time. +type SourceInfo struct { + // The location name. All position information attached to an expression is + // relative to this location. + // + // The location could be a file, UI element, or similar. For example, + // `acme/app/AnvilPolicy.cel`. + Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` + // Monotonically increasing list of character offsets where newlines appear. + // + // The line number of a given position is the index `i` where for a given + // `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The + // column may be derivd from `id_positions[id] - line_offsets[i]`. + LineOffsets []int32 `protobuf:"varint,3,rep,packed,name=line_offsets,json=lineOffsets,proto3" json:"line_offsets,omitempty"` + // A map from the parse node id (e.g. `Expr.id`) to the character offset + // within source. + Positions map[int32]int32 `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SourceInfo) Reset() { *m = SourceInfo{} } +func (m *SourceInfo) String() string { return proto.CompactTextString(m) } +func (*SourceInfo) ProtoMessage() {} +func (*SourceInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_source_32ecb266d62c46ba, []int{0} +} +func (m *SourceInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourceInfo.Unmarshal(m, b) +} +func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourceInfo.Marshal(b, m, deterministic) +} +func (dst *SourceInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourceInfo.Merge(dst, src) +} +func (m *SourceInfo) XXX_Size() int { + return xxx_messageInfo_SourceInfo.Size(m) +} +func (m *SourceInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SourceInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SourceInfo proto.InternalMessageInfo + +func (m *SourceInfo) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + +func (m *SourceInfo) GetLineOffsets() []int32 { + if m != nil { + return m.LineOffsets + } + return nil +} + +func (m *SourceInfo) GetPositions() map[int32]int32 { + if m != nil { + return m.Positions + } + return nil +} + +// A specific position in source. +type SourcePosition struct { + // The soucre location name (e.g. file name). + Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` + // The character offset. + Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + // The 1-based index of the starting line in the source text + // where the issue occurs, or 0 if unknown. + Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` + // The 0-based index of the starting position within the line of source text + // where the issue occurs. Only meaningful if line is nonzer.. + Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SourcePosition) Reset() { *m = SourcePosition{} } +func (m *SourcePosition) String() string { return proto.CompactTextString(m) } +func (*SourcePosition) ProtoMessage() {} +func (*SourcePosition) Descriptor() ([]byte, []int) { + return fileDescriptor_source_32ecb266d62c46ba, []int{1} +} +func (m *SourcePosition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourcePosition.Unmarshal(m, b) +} +func (m *SourcePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourcePosition.Marshal(b, m, deterministic) +} +func (dst *SourcePosition) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourcePosition.Merge(dst, src) +} +func (m *SourcePosition) XXX_Size() int { + return xxx_messageInfo_SourcePosition.Size(m) +} +func (m *SourcePosition) XXX_DiscardUnknown() { + xxx_messageInfo_SourcePosition.DiscardUnknown(m) +} + +var xxx_messageInfo_SourcePosition proto.InternalMessageInfo + +func (m *SourcePosition) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + +func (m *SourcePosition) GetOffset() int32 { + if m != nil { + return m.Offset + } + return 0 +} + +func (m *SourcePosition) GetLine() int32 { + if m != nil { + return m.Line + } + return 0 +} + +func (m *SourcePosition) GetColumn() int32 { + if m != nil { + return m.Column + } + return 0 +} + +func init() { + proto.RegisterType((*SourceInfo)(nil), "google.api.expr.v1beta1.SourceInfo") + proto.RegisterMapType((map[int32]int32)(nil), "google.api.expr.v1beta1.SourceInfo.PositionsEntry") + proto.RegisterType((*SourcePosition)(nil), "google.api.expr.v1beta1.SourcePosition") +} + +func init() { + proto.RegisterFile("google/api/expr/v1beta1/source.proto", fileDescriptor_source_32ecb266d62c46ba) +} + +var fileDescriptor_source_32ecb266d62c46ba = []byte{ + // 311 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4b, 0x3b, 0x31, + 0x10, 0xc5, 0x49, 0xb7, 0x5b, 0xfe, 0x9d, 0xfe, 0x29, 0x12, 0x44, 0x97, 0x7a, 0x59, 0x8b, 0x87, + 0x3d, 0x65, 0x69, 0xbd, 0x88, 0xf5, 0x54, 0xf0, 0xe0, 0xc9, 0xb2, 0xde, 0xbc, 0x48, 0xba, 0xa4, + 0x4b, 0x30, 0xcd, 0x84, 0xcd, 0xb6, 0xd8, 0xcf, 0xea, 0x17, 0xf1, 0x28, 0x49, 0xb6, 0x96, 0x2a, + 0xbd, 0xe5, 0xcd, 0xfc, 0x32, 0x33, 0x8f, 0x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 0x15, 0x5c, 0x95, + 0xb8, 0x3e, 0xe5, 0x79, 0x3e, 0x68, 0xcf, 0x71, 0xa1, 0x2c, 0xc8, 0xeb, 0xac, 0xe5, 0x2a, 0x54, + 0x5c, 0x57, 0x0c, 0xeb, 0x2a, 0xaf, 0x84, 0xf6, 0x91, 0xe5, 0xa1, 0xc5, 0x8d, 0xb4, 0x7f, 0xb2, + 0x9d, 0x39, 0xf1, 0x45, 0xc8, 0xb2, 0xe7, 0xd1, 0xdb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdf, + 0x8a, 0x1a, 0x6c, 0x05, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go new file mode 100644 index 000000000..4136dc650 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go @@ -0,0 +1,708 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/expr/v1beta1/value.proto + +package expr // import "google.golang.org/genproto/googleapis/api/expr/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import any "github.com/golang/protobuf/ptypes/any" +import _struct "github.com/golang/protobuf/ptypes/struct" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents a CEL value. +// +// This is similar to `google.protobuf.Value`, but can represent CEL's full +// range of values. +type Value struct { + // Required. The valid kinds of values. + // + // Types that are valid to be assigned to Kind: + // *Value_NullValue + // *Value_BoolValue + // *Value_Int64Value + // *Value_Uint64Value + // *Value_DoubleValue + // *Value_StringValue + // *Value_BytesValue + // *Value_EnumValue + // *Value_ObjectValue + // *Value_MapValue + // *Value_ListValue + // *Value_TypeValue + Kind isValue_Kind `protobuf_oneof:"kind"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Value) Reset() { *m = Value{} } +func (m *Value) String() string { return proto.CompactTextString(m) } +func (*Value) ProtoMessage() {} +func (*Value) Descriptor() ([]byte, []int) { + return fileDescriptor_value_6c2bb4fc7e0e374b, []int{0} +} +func (m *Value) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Value.Unmarshal(m, b) +} +func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Value.Marshal(b, m, deterministic) +} +func (dst *Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_Value.Merge(dst, src) +} +func (m *Value) XXX_Size() int { + return xxx_messageInfo_Value.Size(m) +} +func (m *Value) XXX_DiscardUnknown() { + xxx_messageInfo_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_Value proto.InternalMessageInfo + +type isValue_Kind interface { + isValue_Kind() +} + +type Value_NullValue struct { + NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` +} + +type Value_BoolValue struct { + BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` +} + +type Value_Int64Value struct { + Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"` +} + +type Value_Uint64Value struct { + Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"` +} + +type Value_DoubleValue struct { + DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` +} + +type Value_StringValue struct { + StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type Value_BytesValue struct { + BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"` +} + +type Value_EnumValue struct { + EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"` +} + +type Value_ObjectValue struct { + ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"` +} + +type Value_MapValue struct { + MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"` +} + +type Value_ListValue struct { + ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"` +} + +type Value_TypeValue struct { + TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"` +} + +func (*Value_NullValue) isValue_Kind() {} + +func (*Value_BoolValue) isValue_Kind() {} + +func (*Value_Int64Value) isValue_Kind() {} + +func (*Value_Uint64Value) isValue_Kind() {} + +func (*Value_DoubleValue) isValue_Kind() {} + +func (*Value_StringValue) isValue_Kind() {} + +func (*Value_BytesValue) isValue_Kind() {} + +func (*Value_EnumValue) isValue_Kind() {} + +func (*Value_ObjectValue) isValue_Kind() {} + +func (*Value_MapValue) isValue_Kind() {} + +func (*Value_ListValue) isValue_Kind() {} + +func (*Value_TypeValue) isValue_Kind() {} + +func (m *Value) GetKind() isValue_Kind { + if m != nil { + return m.Kind + } + return nil +} + +func (m *Value) GetNullValue() _struct.NullValue { + if x, ok := m.GetKind().(*Value_NullValue); ok { + return x.NullValue + } + return _struct.NullValue_NULL_VALUE +} + +func (m *Value) GetBoolValue() bool { + if x, ok := m.GetKind().(*Value_BoolValue); ok { + return x.BoolValue + } + return false +} + +func (m *Value) GetInt64Value() int64 { + if x, ok := m.GetKind().(*Value_Int64Value); ok { + return x.Int64Value + } + return 0 +} + +func (m *Value) GetUint64Value() uint64 { + if x, ok := m.GetKind().(*Value_Uint64Value); ok { + return x.Uint64Value + } + return 0 +} + +func (m *Value) GetDoubleValue() float64 { + if x, ok := m.GetKind().(*Value_DoubleValue); ok { + return x.DoubleValue + } + return 0 +} + +func (m *Value) GetStringValue() string { + if x, ok := m.GetKind().(*Value_StringValue); ok { + return x.StringValue + } + return "" +} + +func (m *Value) GetBytesValue() []byte { + if x, ok := m.GetKind().(*Value_BytesValue); ok { + return x.BytesValue + } + return nil +} + +func (m *Value) GetEnumValue() *EnumValue { + if x, ok := m.GetKind().(*Value_EnumValue); ok { + return x.EnumValue + } + return nil +} + +func (m *Value) GetObjectValue() *any.Any { + if x, ok := m.GetKind().(*Value_ObjectValue); ok { + return x.ObjectValue + } + return nil +} + +func (m *Value) GetMapValue() *MapValue { + if x, ok := m.GetKind().(*Value_MapValue); ok { + return x.MapValue + } + return nil +} + +func (m *Value) GetListValue() *ListValue { + if x, ok := m.GetKind().(*Value_ListValue); ok { + return x.ListValue + } + return nil +} + +func (m *Value) GetTypeValue() string { + if x, ok := m.GetKind().(*Value_TypeValue); ok { + return x.TypeValue + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{ + (*Value_NullValue)(nil), + (*Value_BoolValue)(nil), + (*Value_Int64Value)(nil), + (*Value_Uint64Value)(nil), + (*Value_DoubleValue)(nil), + (*Value_StringValue)(nil), + (*Value_BytesValue)(nil), + (*Value_EnumValue)(nil), + (*Value_ObjectValue)(nil), + (*Value_MapValue)(nil), + (*Value_ListValue)(nil), + (*Value_TypeValue)(nil), + } +} + +func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Value) + // kind + switch x := m.Kind.(type) { + case *Value_NullValue: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.NullValue)) + case *Value_BoolValue: + t := uint64(0) + if x.BoolValue { + t = 1 + } + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(t) + case *Value_Int64Value: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Int64Value)) + case *Value_Uint64Value: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Uint64Value)) + case *Value_DoubleValue: + b.EncodeVarint(5<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.DoubleValue)) + case *Value_StringValue: + b.EncodeVarint(6<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case *Value_BytesValue: + b.EncodeVarint(7<<3 | proto.WireBytes) + b.EncodeRawBytes(x.BytesValue) + case *Value_EnumValue: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.EnumValue); err != nil { + return err + } + case *Value_ObjectValue: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ObjectValue); err != nil { + return err + } + case *Value_MapValue: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.MapValue); err != nil { + return err + } + case *Value_ListValue: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ListValue); err != nil { + return err + } + case *Value_TypeValue: + b.EncodeVarint(15<<3 | proto.WireBytes) + b.EncodeStringBytes(x.TypeValue) + case nil: + default: + return fmt.Errorf("Value.Kind has unexpected type %T", x) + } + return nil +} + +func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Value) + switch tag { + case 1: // kind.null_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_NullValue{_struct.NullValue(x)} + return true, err + case 2: // kind.bool_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_BoolValue{x != 0} + return true, err + case 3: // kind.int64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_Int64Value{int64(x)} + return true, err + case 4: // kind.uint64_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Kind = &Value_Uint64Value{x} + return true, err + case 5: // kind.double_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.Kind = &Value_DoubleValue{math.Float64frombits(x)} + return true, err + case 6: // kind.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Kind = &Value_StringValue{x} + return true, err + case 7: // kind.bytes_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.Kind = &Value_BytesValue{x} + return true, err + case 9: // kind.enum_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(EnumValue) + err := b.DecodeMessage(msg) + m.Kind = &Value_EnumValue{msg} + return true, err + case 10: // kind.object_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(any.Any) + err := b.DecodeMessage(msg) + m.Kind = &Value_ObjectValue{msg} + return true, err + case 11: // kind.map_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(MapValue) + err := b.DecodeMessage(msg) + m.Kind = &Value_MapValue{msg} + return true, err + case 12: // kind.list_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ListValue) + err := b.DecodeMessage(msg) + m.Kind = &Value_ListValue{msg} + return true, err + case 15: // kind.type_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Kind = &Value_TypeValue{x} + return true, err + default: + return false, nil + } +} + +func _Value_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Value) + // kind + switch x := m.Kind.(type) { + case *Value_NullValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.NullValue)) + case *Value_BoolValue: + n += 1 // tag and wire + n += 1 + case *Value_Int64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Int64Value)) + case *Value_Uint64Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Uint64Value)) + case *Value_DoubleValue: + n += 1 // tag and wire + n += 8 + case *Value_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case *Value_BytesValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.BytesValue))) + n += len(x.BytesValue) + case *Value_EnumValue: + s := proto.Size(x.EnumValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_ObjectValue: + s := proto.Size(x.ObjectValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_MapValue: + s := proto.Size(x.MapValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_ListValue: + s := proto.Size(x.ListValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_TypeValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.TypeValue))) + n += len(x.TypeValue) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An enum value. +type EnumValue struct { + // The fully qualified name of the enum type. + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // The value of the enum. + Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnumValue) Reset() { *m = EnumValue{} } +func (m *EnumValue) String() string { return proto.CompactTextString(m) } +func (*EnumValue) ProtoMessage() {} +func (*EnumValue) Descriptor() ([]byte, []int) { + return fileDescriptor_value_6c2bb4fc7e0e374b, []int{1} +} +func (m *EnumValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnumValue.Unmarshal(m, b) +} +func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic) +} +func (dst *EnumValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnumValue.Merge(dst, src) +} +func (m *EnumValue) XXX_Size() int { + return xxx_messageInfo_EnumValue.Size(m) +} +func (m *EnumValue) XXX_DiscardUnknown() { + xxx_messageInfo_EnumValue.DiscardUnknown(m) +} + +var xxx_messageInfo_EnumValue proto.InternalMessageInfo + +func (m *EnumValue) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *EnumValue) GetValue() int32 { + if m != nil { + return m.Value + } + return 0 +} + +// A list. +// +// Wrapped in a message so 'not set' and empty can be differentiated, which is +// required for use in a 'oneof'. +type ListValue struct { + // The ordered values in the list. + Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListValue) Reset() { *m = ListValue{} } +func (m *ListValue) String() string { return proto.CompactTextString(m) } +func (*ListValue) ProtoMessage() {} +func (*ListValue) Descriptor() ([]byte, []int) { + return fileDescriptor_value_6c2bb4fc7e0e374b, []int{2} +} +func (m *ListValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListValue.Unmarshal(m, b) +} +func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListValue.Marshal(b, m, deterministic) +} +func (dst *ListValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListValue.Merge(dst, src) +} +func (m *ListValue) XXX_Size() int { + return xxx_messageInfo_ListValue.Size(m) +} +func (m *ListValue) XXX_DiscardUnknown() { + xxx_messageInfo_ListValue.DiscardUnknown(m) +} + +var xxx_messageInfo_ListValue proto.InternalMessageInfo + +func (m *ListValue) GetValues() []*Value { + if m != nil { + return m.Values + } + return nil +} + +// A map. +// +// Wrapped in a message so 'not set' and empty can be differentiated, which is +// required for use in a 'oneof'. +type MapValue struct { + // The set of map entries. + // + // CEL has fewer restrictions on keys, so a protobuf map represenation + // cannot be used. + Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MapValue) Reset() { *m = MapValue{} } +func (m *MapValue) String() string { return proto.CompactTextString(m) } +func (*MapValue) ProtoMessage() {} +func (*MapValue) Descriptor() ([]byte, []int) { + return fileDescriptor_value_6c2bb4fc7e0e374b, []int{3} +} +func (m *MapValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MapValue.Unmarshal(m, b) +} +func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MapValue.Marshal(b, m, deterministic) +} +func (dst *MapValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_MapValue.Merge(dst, src) +} +func (m *MapValue) XXX_Size() int { + return xxx_messageInfo_MapValue.Size(m) +} +func (m *MapValue) XXX_DiscardUnknown() { + xxx_messageInfo_MapValue.DiscardUnknown(m) +} + +var xxx_messageInfo_MapValue proto.InternalMessageInfo + +func (m *MapValue) GetEntries() []*MapValue_Entry { + if m != nil { + return m.Entries + } + return nil +} + +// An entry in the map. +type MapValue_Entry struct { + // The key. + // + // Must be unique with in the map. + // Currently only boolean, int, uint, and string values can be keys. + Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // The value. + Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} } +func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) } +func (*MapValue_Entry) ProtoMessage() {} +func (*MapValue_Entry) Descriptor() ([]byte, []int) { + return fileDescriptor_value_6c2bb4fc7e0e374b, []int{3, 0} +} +func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b) +} +func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic) +} +func (dst *MapValue_Entry) XXX_Merge(src proto.Message) { + xxx_messageInfo_MapValue_Entry.Merge(dst, src) +} +func (m *MapValue_Entry) XXX_Size() int { + return xxx_messageInfo_MapValue_Entry.Size(m) +} +func (m *MapValue_Entry) XXX_DiscardUnknown() { + xxx_messageInfo_MapValue_Entry.DiscardUnknown(m) +} + +var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo + +func (m *MapValue_Entry) GetKey() *Value { + if m != nil { + return m.Key + } + return nil +} + +func (m *MapValue_Entry) GetValue() *Value { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*Value)(nil), "google.api.expr.v1beta1.Value") + proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1beta1.EnumValue") + proto.RegisterType((*ListValue)(nil), "google.api.expr.v1beta1.ListValue") + proto.RegisterType((*MapValue)(nil), "google.api.expr.v1beta1.MapValue") + proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1beta1.MapValue.Entry") +} + +func init() { + proto.RegisterFile("google/api/expr/v1beta1/value.proto", fileDescriptor_value_6c2bb4fc7e0e374b) +} + +var fileDescriptor_value_6c2bb4fc7e0e374b = []byte{ + // 516 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x4d, 0x6f, 0xd3, 0x30, + 0x18, 0xc7, 0x6b, 0xfa, 0xb2, 0xe6, 0x69, 0x05, 0x92, 0x35, 0x89, 0x51, 0x10, 0x64, 0xdd, 0x81, + 0x9c, 0x1c, 0x56, 0xc6, 0x24, 0xd4, 0x0b, 0xeb, 0x34, 0xa9, 0x07, 0x40, 0x53, 0x0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 0xd8, 0x8f, 0x00, 0x5f, 0xc0, + 0x01, 0xe5, 0xb2, 0x2e, 0xba, 0x5b, 0x5e, 0xef, 0x1d, 0x1b, 0xb9, 0xe2, 0xb2, 0x6e, 0x13, 0xef, + 0x9b, 0x09, 0x18, 0x1a, 0x05, 0xbf, 0x81, 0xfe, 0x96, 0xb6, 0xa6, 0x8d, 0xfd, 0xd5, 0x68, 0x14, + 0x9f, 0xdd, 0xed, 0x72, 0xbf, 0xc7, 0xc2, 0xab, 0x2d, 0x3c, 0xdf, 0x88, 0x72, 0x17, 0xbb, 0x02, + 0x03, 0x5f, 0xeb, 0x6d, 0xb9, 0x46, 0x5f, 0x97, 0x0e, 0xcb, 0x05, 0x4b, 0x79, 0x4e, 0x44, 0x9d, + 0xc7, 0x39, 0xe5, 0x66, 0x97, 0x62, 0x7b, 0x94, 0x56, 0x45, 0xf3, 0xe0, 0x67, 0xb2, 0xd4, 0xc1, + 0x1f, 0x84, 0xb2, 0x91, 0x41, 0xdf, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x11, 0xf9, 0xd9, + 0x76, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go b/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go index c986cddfa..51b54bd69 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go @@ -74,7 +74,7 @@ func (m *HttpBody) Reset() { *m = HttpBody{} } func (m *HttpBody) String() string { return proto.CompactTextString(m) } func (*HttpBody) ProtoMessage() {} func (*HttpBody) Descriptor() ([]byte, []int) { - return fileDescriptor_httpbody_24933373b9bfd305, []int{0} + return fileDescriptor_httpbody_d3ca4c70025a4501, []int{0} } func (m *HttpBody) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpBody.Unmarshal(m, b) @@ -119,9 +119,9 @@ func init() { proto.RegisterType((*HttpBody)(nil), "google.api.HttpBody") } -func init() { proto.RegisterFile("google/api/httpbody.proto", fileDescriptor_httpbody_24933373b9bfd305) } +func init() { proto.RegisterFile("google/api/httpbody.proto", fileDescriptor_httpbody_d3ca4c70025a4501) } -var fileDescriptor_httpbody_24933373b9bfd305 = []byte{ +var fileDescriptor_httpbody_d3ca4c70025a4501 = []byte{ // 226 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x3f, 0x4f, 0xc3, 0x30, 0x10, 0xc5, 0x95, 0xb6, 0x42, 0x70, 0x2d, 0x0c, 0x16, 0x43, 0x60, 0x0a, 0x4c, 0x99, 0x6c, 0x09, diff --git a/vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go b/vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go index ef1af9cb3..cae68236f 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go @@ -45,7 +45,7 @@ func (x LabelDescriptor_ValueType) String() string { return proto.EnumName(LabelDescriptor_ValueType_name, int32(x)) } func (LabelDescriptor_ValueType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_label_ae588de548a3b6a9, []int{0, 0} + return fileDescriptor_label_7ab1ab74ef036f1c, []int{0, 0} } // A description of a label. @@ -65,7 +65,7 @@ func (m *LabelDescriptor) Reset() { *m = LabelDescriptor{} } func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) } func (*LabelDescriptor) ProtoMessage() {} func (*LabelDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_label_ae588de548a3b6a9, []int{0} + return fileDescriptor_label_7ab1ab74ef036f1c, []int{0} } func (m *LabelDescriptor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelDescriptor.Unmarshal(m, b) @@ -111,9 +111,9 @@ func init() { proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value) } -func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_label_ae588de548a3b6a9) } +func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_label_7ab1ab74ef036f1c) } -var fileDescriptor_label_ae588de548a3b6a9 = []byte{ +var fileDescriptor_label_7ab1ab74ef036f1c = []byte{ // 252 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x49, 0x4c, 0x4a, 0xcd, 0xd1, 0x2b, 0x28, 0xca, diff --git a/vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go b/vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go new file mode 100644 index 000000000..aa9ebcbf0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/api/launch_stage.proto + +package api // import "google.golang.org/genproto/googleapis/api" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The launch stage as defined by [Google Cloud Platform +// Launch Stages](http://cloud.google.com/terms/launch-stages). +type LaunchStage int32 + +const ( + // Do not use this default value. + LaunchStage_LAUNCH_STAGE_UNSPECIFIED LaunchStage = 0 + // Early Access features are limited to a closed group of testers. To use + // these features, you must sign up in advance and sign a Trusted Tester + // agreement (which includes confidentiality provisions). These features may + // be unstable, changed in backward-incompatible ways, and are not + // guaranteed to be released. + LaunchStage_EARLY_ACCESS LaunchStage = 1 + // Alpha is a limited availability test for releases before they are cleared + // for widespread use. By Alpha, all significant design issues are resolved + // and we are in the process of verifying functionality. Alpha customers + // need to apply for access, agree to applicable terms, and have their + // projects whitelisted. Alpha releases don’t have to be feature complete, + // no SLAs are provided, and there are no technical support obligations, but + // they will be far enough along that customers can actually use them in + // test environments or for limited-use tests -- just like they would in + // normal production cases. + LaunchStage_ALPHA LaunchStage = 2 + // Beta is the point at which we are ready to open a release for any + // customer to use. There are no SLA or technical support obligations in a + // Beta release. Products will be complete from a feature perspective, but + // may have some open outstanding issues. Beta releases are suitable for + // limited production use cases. + LaunchStage_BETA LaunchStage = 3 + // GA features are open to all developers and are considered stable and + // fully qualified for production use. + LaunchStage_GA LaunchStage = 4 + // Deprecated features are scheduled to be shut down and removed. For more + // information, see the “Deprecation Policy” section of our [Terms of + // Service](https://cloud.google.com/terms/) + // and the [Google Cloud Platform Subject to the Deprecation + // Policy](https://cloud.google.com/terms/deprecation) documentation. + LaunchStage_DEPRECATED LaunchStage = 5 +) + +var LaunchStage_name = map[int32]string{ + 0: "LAUNCH_STAGE_UNSPECIFIED", + 1: "EARLY_ACCESS", + 2: "ALPHA", + 3: "BETA", + 4: "GA", + 5: "DEPRECATED", +} +var LaunchStage_value = map[string]int32{ + "LAUNCH_STAGE_UNSPECIFIED": 0, + "EARLY_ACCESS": 1, + "ALPHA": 2, + "BETA": 3, + "GA": 4, + "DEPRECATED": 5, +} + +func (x LaunchStage) String() string { + return proto.EnumName(LaunchStage_name, int32(x)) +} +func (LaunchStage) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_launch_stage_718f21d7621bfa9c, []int{0} +} + +func init() { + proto.RegisterEnum("google.api.LaunchStage", LaunchStage_name, LaunchStage_value) +} + +func init() { + proto.RegisterFile("google/api/launch_stage.proto", fileDescriptor_launch_stage_718f21d7621bfa9c) +} + +var fileDescriptor_launch_stage_718f21d7621bfa9c = []byte{ + // 225 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8f, 0xc1, 0x4a, 0xc3, 0x40, + 0x14, 0x45, 0x6d, 0x4c, 0x8b, 0x3e, 0xa5, 0x3c, 0x66, 0xe5, 0x42, 0x7f, 0x40, 0x30, 0x59, 0xb8, + 0x74, 0xf5, 0x32, 0x79, 0xa6, 0x81, 0x50, 0x86, 0x4e, 0xba, 0xb0, 0x9b, 0x30, 0x96, 0x30, 0x8e, + 0xc4, 0xcc, 0xd0, 0xd6, 0x1f, 0xf2, 0x4b, 0x25, 0x89, 0x60, 0xd7, 0xe7, 0xc0, 0x3d, 0x17, 0x1e, + 0xac, 0xf7, 0xb6, 0x6b, 0x53, 0x13, 0x5c, 0xda, 0x99, 0xef, 0x7e, 0xff, 0xd1, 0x1c, 0x4f, 0xc6, + 0xb6, 0x49, 0x38, 0xf8, 0x93, 0x17, 0x30, 0xe1, 0xc4, 0x04, 0xf7, 0xf8, 0x09, 0x37, 0xd5, 0x68, + 0xe8, 0x41, 0x10, 0xf7, 0x70, 0x57, 0xd1, 0x76, 0x2d, 0x57, 0x8d, 0xae, 0xa9, 0xe0, 0x66, 0xbb, + 0xd6, 0x8a, 0x65, 0xf9, 0x5a, 0x72, 0x8e, 0x17, 0x02, 0xe1, 0x96, 0x69, 0x53, 0xbd, 0x35, 0x24, + 0x25, 0x6b, 0x8d, 0x33, 0x71, 0x0d, 0x73, 0xaa, 0xd4, 0x8a, 0x30, 0x12, 0x57, 0x10, 0x67, 0x5c, + 0x13, 0x5e, 0x8a, 0x05, 0x44, 0x05, 0x61, 0x2c, 0x96, 0x00, 0x39, 0xab, 0x0d, 0x4b, 0xaa, 0x39, + 0xc7, 0x79, 0xb6, 0x83, 0xe5, 0xde, 0x7f, 0x25, 0xff, 0xeb, 0x19, 0x9e, 0x6d, 0xab, 0xa1, 0x4d, + 0xcd, 0x76, 0x4f, 0x7f, 0xdc, 0xfa, 0xce, 0xf4, 0x36, 0xf1, 0x07, 0x9b, 0xda, 0xb6, 0x1f, 0xcb, + 0xd3, 0x09, 0x99, 0xe0, 0x8e, 0xc3, 0xb7, 0x17, 0x13, 0xdc, 0x4f, 0x14, 0x17, 0xa4, 0xca, 0xf7, + 0xc5, 0x28, 0x3c, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xd5, 0x39, 0x1a, 0xfb, 0x00, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go b/vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go index 54f65179a..f2ed88844 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go @@ -54,7 +54,7 @@ func (x MetricDescriptor_MetricKind) String() string { return proto.EnumName(MetricDescriptor_MetricKind_name, int32(x)) } func (MetricDescriptor_MetricKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_metric_d2ae7c695bda16a9, []int{0, 0} + return fileDescriptor_metric_18b95065d4b7f9c0, []int{0, 0} } // The value type of a metric. @@ -90,19 +90,19 @@ var MetricDescriptor_ValueType_name = map[int32]string{ } var MetricDescriptor_ValueType_value = map[string]int32{ "VALUE_TYPE_UNSPECIFIED": 0, - "BOOL": 1, - "INT64": 2, - "DOUBLE": 3, - "STRING": 4, - "DISTRIBUTION": 5, - "MONEY": 6, + "BOOL": 1, + "INT64": 2, + "DOUBLE": 3, + "STRING": 4, + "DISTRIBUTION": 5, + "MONEY": 6, } func (x MetricDescriptor_ValueType) String() string { return proto.EnumName(MetricDescriptor_ValueType_name, int32(x)) } func (MetricDescriptor_ValueType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_metric_d2ae7c695bda16a9, []int{0, 1} + return fileDescriptor_metric_18b95065d4b7f9c0, []int{0, 1} } // Defines a metric type and its schema. Once a metric descriptor is created, @@ -214,7 +214,7 @@ func (m *MetricDescriptor) Reset() { *m = MetricDescriptor{} } func (m *MetricDescriptor) String() string { return proto.CompactTextString(m) } func (*MetricDescriptor) ProtoMessage() {} func (*MetricDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_d2ae7c695bda16a9, []int{0} + return fileDescriptor_metric_18b95065d4b7f9c0, []int{0} } func (m *MetricDescriptor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricDescriptor.Unmarshal(m, b) @@ -308,7 +308,7 @@ func (m *Metric) Reset() { *m = Metric{} } func (m *Metric) String() string { return proto.CompactTextString(m) } func (*Metric) ProtoMessage() {} func (*Metric) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_d2ae7c695bda16a9, []int{1} + return fileDescriptor_metric_18b95065d4b7f9c0, []int{1} } func (m *Metric) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Metric.Unmarshal(m, b) @@ -350,9 +350,9 @@ func init() { proto.RegisterEnum("google.api.MetricDescriptor_ValueType", MetricDescriptor_ValueType_name, MetricDescriptor_ValueType_value) } -func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor_metric_d2ae7c695bda16a9) } +func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor_metric_18b95065d4b7f9c0) } -var fileDescriptor_metric_d2ae7c695bda16a9 = []byte{ +var fileDescriptor_metric_18b95065d4b7f9c0 = []byte{ // 506 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4d, 0x6f, 0xda, 0x40, 0x10, 0xad, 0x3f, 0x70, 0xc3, 0x10, 0xa1, 0xd5, 0xaa, 0x4a, 0x2c, 0x22, 0x55, 0x94, 0x43, 0xcb, diff --git a/vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go b/vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go index a9a8bb7cf..653c7ae4a 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go @@ -62,7 +62,7 @@ func (m *MonitoredResourceDescriptor) Reset() { *m = MonitoredResourceDe func (m *MonitoredResourceDescriptor) String() string { return proto.CompactTextString(m) } func (*MonitoredResourceDescriptor) ProtoMessage() {} func (*MonitoredResourceDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_monitored_resource_cdc52d43c1ee23b3, []int{0} + return fileDescriptor_monitored_resource_35ee91132be0d9ce, []int{0} } func (m *MonitoredResourceDescriptor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MonitoredResourceDescriptor.Unmarshal(m, b) @@ -148,7 +148,7 @@ func (m *MonitoredResource) Reset() { *m = MonitoredResource{} } func (m *MonitoredResource) String() string { return proto.CompactTextString(m) } func (*MonitoredResource) ProtoMessage() {} func (*MonitoredResource) Descriptor() ([]byte, []int) { - return fileDescriptor_monitored_resource_cdc52d43c1ee23b3, []int{1} + return fileDescriptor_monitored_resource_35ee91132be0d9ce, []int{1} } func (m *MonitoredResource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MonitoredResource.Unmarshal(m, b) @@ -212,7 +212,7 @@ func (m *MonitoredResourceMetadata) Reset() { *m = MonitoredResourceMeta func (m *MonitoredResourceMetadata) String() string { return proto.CompactTextString(m) } func (*MonitoredResourceMetadata) ProtoMessage() {} func (*MonitoredResourceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_monitored_resource_cdc52d43c1ee23b3, []int{2} + return fileDescriptor_monitored_resource_35ee91132be0d9ce, []int{2} } func (m *MonitoredResourceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MonitoredResourceMetadata.Unmarshal(m, b) @@ -255,10 +255,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/monitored_resource.proto", fileDescriptor_monitored_resource_cdc52d43c1ee23b3) + proto.RegisterFile("google/api/monitored_resource.proto", fileDescriptor_monitored_resource_35ee91132be0d9ce) } -var fileDescriptor_monitored_resource_cdc52d43c1ee23b3 = []byte{ +var fileDescriptor_monitored_resource_35ee91132be0d9ce = []byte{ // 415 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4d, 0xab, 0xd3, 0x40, 0x14, 0x65, 0xd2, 0x0f, 0xf0, 0xa6, 0x7e, 0x0d, 0x52, 0x63, 0xea, 0xa2, 0xd6, 0x4d, 0xdd, 0x24, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go index bba004a40..a5c695f34 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go @@ -49,7 +49,7 @@ func (m *Authentication) Reset() { *m = Authentication{} } func (m *Authentication) String() string { return proto.CompactTextString(m) } func (*Authentication) ProtoMessage() {} func (*Authentication) Descriptor() ([]byte, []int) { - return fileDescriptor_auth_52a59fcac3533a16, []int{0} + return fileDescriptor_auth_88c4f5ae0863ae9c, []int{0} } func (m *Authentication) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Authentication.Unmarshal(m, b) @@ -112,7 +112,7 @@ func (m *AuthenticationRule) Reset() { *m = AuthenticationRule{} } func (m *AuthenticationRule) String() string { return proto.CompactTextString(m) } func (*AuthenticationRule) ProtoMessage() {} func (*AuthenticationRule) Descriptor() ([]byte, []int) { - return fileDescriptor_auth_52a59fcac3533a16, []int{1} + return fileDescriptor_auth_88c4f5ae0863ae9c, []int{1} } func (m *AuthenticationRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticationRule.Unmarshal(m, b) @@ -211,7 +211,7 @@ func (m *AuthProvider) Reset() { *m = AuthProvider{} } func (m *AuthProvider) String() string { return proto.CompactTextString(m) } func (*AuthProvider) ProtoMessage() {} func (*AuthProvider) Descriptor() ([]byte, []int) { - return fileDescriptor_auth_52a59fcac3533a16, []int{2} + return fileDescriptor_auth_88c4f5ae0863ae9c, []int{2} } func (m *AuthProvider) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthProvider.Unmarshal(m, b) @@ -302,7 +302,7 @@ func (m *OAuthRequirements) Reset() { *m = OAuthRequirements{} } func (m *OAuthRequirements) String() string { return proto.CompactTextString(m) } func (*OAuthRequirements) ProtoMessage() {} func (*OAuthRequirements) Descriptor() ([]byte, []int) { - return fileDescriptor_auth_52a59fcac3533a16, []int{3} + return fileDescriptor_auth_88c4f5ae0863ae9c, []int{3} } func (m *OAuthRequirements) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OAuthRequirements.Unmarshal(m, b) @@ -364,7 +364,7 @@ func (m *AuthRequirement) Reset() { *m = AuthRequirement{} } func (m *AuthRequirement) String() string { return proto.CompactTextString(m) } func (*AuthRequirement) ProtoMessage() {} func (*AuthRequirement) Descriptor() ([]byte, []int) { - return fileDescriptor_auth_52a59fcac3533a16, []int{4} + return fileDescriptor_auth_88c4f5ae0863ae9c, []int{4} } func (m *AuthRequirement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthRequirement.Unmarshal(m, b) @@ -406,9 +406,9 @@ func init() { proto.RegisterType((*AuthRequirement)(nil), "google.api.AuthRequirement") } -func init() { proto.RegisterFile("google/api/auth.proto", fileDescriptor_auth_52a59fcac3533a16) } +func init() { proto.RegisterFile("google/api/auth.proto", fileDescriptor_auth_88c4f5ae0863ae9c) } -var fileDescriptor_auth_52a59fcac3533a16 = []byte{ +var fileDescriptor_auth_88c4f5ae0863ae9c = []byte{ // 465 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x5f, 0x6b, 0x13, 0x4f, 0x14, 0x65, 0x93, 0xa6, 0xcd, 0xde, 0x94, 0xb4, 0x1d, 0xf8, 0x95, 0xfd, 0xd5, 0xaa, 0x21, 0x4f, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go index 3652109d1..59f1f70d4 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go @@ -33,7 +33,7 @@ func (m *Backend) Reset() { *m = Backend{} } func (m *Backend) String() string { return proto.CompactTextString(m) } func (*Backend) ProtoMessage() {} func (*Backend) Descriptor() ([]byte, []int) { - return fileDescriptor_backend_98db65a00dbdbb78, []int{0} + return fileDescriptor_backend_bb737a5d3bcbecd6, []int{0} } func (m *Backend) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Backend.Unmarshal(m, b) @@ -83,7 +83,7 @@ func (m *BackendRule) Reset() { *m = BackendRule{} } func (m *BackendRule) String() string { return proto.CompactTextString(m) } func (*BackendRule) ProtoMessage() {} func (*BackendRule) Descriptor() ([]byte, []int) { - return fileDescriptor_backend_98db65a00dbdbb78, []int{1} + return fileDescriptor_backend_bb737a5d3bcbecd6, []int{1} } func (m *BackendRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackendRule.Unmarshal(m, b) @@ -136,9 +136,9 @@ func init() { proto.RegisterType((*BackendRule)(nil), "google.api.BackendRule") } -func init() { proto.RegisterFile("google/api/backend.proto", fileDescriptor_backend_98db65a00dbdbb78) } +func init() { proto.RegisterFile("google/api/backend.proto", fileDescriptor_backend_bb737a5d3bcbecd6) } -var fileDescriptor_backend_98db65a00dbdbb78 = []byte{ +var fileDescriptor_backend_bb737a5d3bcbecd6 = []byte{ // 246 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xb1, 0x4e, 0xc3, 0x30, 0x10, 0x86, 0xe5, 0xb6, 0x50, 0xb8, 0x54, 0x0c, 0x59, 0xb0, 0x98, 0x42, 0xa7, 0x2c, 0x38, 0x12, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go index 6e0451cdd..59cfa21a9 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go @@ -55,7 +55,7 @@ func (m *Billing) Reset() { *m = Billing{} } func (m *Billing) String() string { return proto.CompactTextString(m) } func (*Billing) ProtoMessage() {} func (*Billing) Descriptor() ([]byte, []int) { - return fileDescriptor_billing_9c24f4c18e81a2dc, []int{0} + return fileDescriptor_billing_36fc4fe99841ce3d, []int{0} } func (m *Billing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Billing.Unmarshal(m, b) @@ -100,7 +100,7 @@ func (m *Billing_BillingDestination) Reset() { *m = Billing_BillingDesti func (m *Billing_BillingDestination) String() string { return proto.CompactTextString(m) } func (*Billing_BillingDestination) ProtoMessage() {} func (*Billing_BillingDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_billing_9c24f4c18e81a2dc, []int{0, 0} + return fileDescriptor_billing_36fc4fe99841ce3d, []int{0, 0} } func (m *Billing_BillingDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Billing_BillingDestination.Unmarshal(m, b) @@ -139,9 +139,9 @@ func init() { proto.RegisterType((*Billing_BillingDestination)(nil), "google.api.Billing.BillingDestination") } -func init() { proto.RegisterFile("google/api/billing.proto", fileDescriptor_billing_9c24f4c18e81a2dc) } +func init() { proto.RegisterFile("google/api/billing.proto", fileDescriptor_billing_36fc4fe99841ce3d) } -var fileDescriptor_billing_9c24f4c18e81a2dc = []byte{ +var fileDescriptor_billing_36fc4fe99841ce3d = []byte{ // 259 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xf4, 0x30, 0x10, 0xc7, 0xe9, 0xee, 0xc7, 0xb7, 0x6e, 0x14, 0xc1, 0xa0, 0x50, 0x16, 0x0f, 0xc5, 0x83, 0xf4, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go index f5532022d..79b804169 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go @@ -53,7 +53,7 @@ func (x Property_PropertyType) String() string { return proto.EnumName(Property_PropertyType_name, int32(x)) } func (Property_PropertyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_consumer_6a0820d9df0f1017, []int{1, 0} + return fileDescriptor_consumer_f6466e3bd2853ce5, []int{1, 0} } // A descriptor for defining project properties for a service. One service may @@ -84,7 +84,7 @@ func (m *ProjectProperties) Reset() { *m = ProjectProperties{} } func (m *ProjectProperties) String() string { return proto.CompactTextString(m) } func (*ProjectProperties) ProtoMessage() {} func (*ProjectProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_consumer_6a0820d9df0f1017, []int{0} + return fileDescriptor_consumer_f6466e3bd2853ce5, []int{0} } func (m *ProjectProperties) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProjectProperties.Unmarshal(m, b) @@ -137,7 +137,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_consumer_6a0820d9df0f1017, []int{1} + return fileDescriptor_consumer_f6466e3bd2853ce5, []int{1} } func (m *Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Property.Unmarshal(m, b) @@ -184,9 +184,9 @@ func init() { proto.RegisterEnum("google.api.Property_PropertyType", Property_PropertyType_name, Property_PropertyType_value) } -func init() { proto.RegisterFile("google/api/consumer.proto", fileDescriptor_consumer_6a0820d9df0f1017) } +func init() { proto.RegisterFile("google/api/consumer.proto", fileDescriptor_consumer_f6466e3bd2853ce5) } -var fileDescriptor_consumer_6a0820d9df0f1017 = []byte{ +var fileDescriptor_consumer_f6466e3bd2853ce5 = []byte{ // 299 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x4f, 0x4f, 0xf2, 0x40, 0x10, 0xc6, 0xdf, 0x85, 0xbe, 0x04, 0x06, 0xc5, 0xba, 0xf1, 0x50, 0x6f, 0x95, 0x13, 0xa7, 0x36, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go index 8c8515082..4c1c64936 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go @@ -49,7 +49,7 @@ func (m *Context) Reset() { *m = Context{} } func (m *Context) String() string { return proto.CompactTextString(m) } func (*Context) ProtoMessage() {} func (*Context) Descriptor() ([]byte, []int) { - return fileDescriptor_context_aced50768e79506a, []int{0} + return fileDescriptor_context_7f48bb214df6c175, []int{0} } func (m *Context) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Context.Unmarshal(m, b) @@ -96,7 +96,7 @@ func (m *ContextRule) Reset() { *m = ContextRule{} } func (m *ContextRule) String() string { return proto.CompactTextString(m) } func (*ContextRule) ProtoMessage() {} func (*ContextRule) Descriptor() ([]byte, []int) { - return fileDescriptor_context_aced50768e79506a, []int{1} + return fileDescriptor_context_7f48bb214df6c175, []int{1} } func (m *ContextRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContextRule.Unmarshal(m, b) @@ -142,9 +142,9 @@ func init() { proto.RegisterType((*ContextRule)(nil), "google.api.ContextRule") } -func init() { proto.RegisterFile("google/api/context.proto", fileDescriptor_context_aced50768e79506a) } +func init() { proto.RegisterFile("google/api/context.proto", fileDescriptor_context_7f48bb214df6c175) } -var fileDescriptor_context_aced50768e79506a = []byte{ +var fileDescriptor_context_7f48bb214df6c175 = []byte{ // 231 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x4f, 0x4b, 0xc4, 0x30, 0x14, 0xc4, 0xe9, 0xd6, 0x7f, 0x7d, 0x2b, 0x1e, 0x7a, 0x31, 0x88, 0x87, 0xb2, 0xa7, 0x5e, 0x4c, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go index 62dc24590..de6677d26 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go @@ -34,7 +34,7 @@ func (m *Control) Reset() { *m = Control{} } func (m *Control) String() string { return proto.CompactTextString(m) } func (*Control) ProtoMessage() {} func (*Control) Descriptor() ([]byte, []int) { - return fileDescriptor_control_91b68496cee1317a, []int{0} + return fileDescriptor_control_f350b83573452faa, []int{0} } func (m *Control) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Control.Unmarshal(m, b) @@ -65,9 +65,9 @@ func init() { proto.RegisterType((*Control)(nil), "google.api.Control") } -func init() { proto.RegisterFile("google/api/control.proto", fileDescriptor_control_91b68496cee1317a) } +func init() { proto.RegisterFile("google/api/control.proto", fileDescriptor_control_f350b83573452faa) } -var fileDescriptor_control_91b68496cee1317a = []byte{ +var fileDescriptor_control_f350b83573452faa = []byte{ // 165 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xce, 0xcf, 0x2b, 0x29, 0xca, 0xcf, 0xd1, 0x2b, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go index b43c9598a..df181da68 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go @@ -108,7 +108,7 @@ func (m *Documentation) Reset() { *m = Documentation{} } func (m *Documentation) String() string { return proto.CompactTextString(m) } func (*Documentation) ProtoMessage() {} func (*Documentation) Descriptor() ([]byte, []int) { - return fileDescriptor_documentation_fffa126753bc1b4d, []int{0} + return fileDescriptor_documentation_ed988d5b3c756a43, []int{0} } func (m *Documentation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Documentation.Unmarshal(m, b) @@ -186,7 +186,7 @@ func (m *DocumentationRule) Reset() { *m = DocumentationRule{} } func (m *DocumentationRule) String() string { return proto.CompactTextString(m) } func (*DocumentationRule) ProtoMessage() {} func (*DocumentationRule) Descriptor() ([]byte, []int) { - return fileDescriptor_documentation_fffa126753bc1b4d, []int{1} + return fileDescriptor_documentation_ed988d5b3c756a43, []int{1} } func (m *DocumentationRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentationRule.Unmarshal(m, b) @@ -260,7 +260,7 @@ func (m *Page) Reset() { *m = Page{} } func (m *Page) String() string { return proto.CompactTextString(m) } func (*Page) ProtoMessage() {} func (*Page) Descriptor() ([]byte, []int) { - return fileDescriptor_documentation_fffa126753bc1b4d, []int{2} + return fileDescriptor_documentation_ed988d5b3c756a43, []int{2} } func (m *Page) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Page.Unmarshal(m, b) @@ -308,10 +308,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/documentation.proto", fileDescriptor_documentation_fffa126753bc1b4d) + proto.RegisterFile("google/api/documentation.proto", fileDescriptor_documentation_ed988d5b3c756a43) } -var fileDescriptor_documentation_fffa126753bc1b4d = []byte{ +var fileDescriptor_documentation_ed988d5b3c756a43 = []byte{ // 356 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xc1, 0x6a, 0xe3, 0x30, 0x14, 0x45, 0x71, 0xec, 0xcc, 0x64, 0x5e, 0x98, 0x61, 0x46, 0x0c, 0x19, 0x33, 0xd0, 0x12, 0xb2, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go index 0ce2e78ea..c6a1ef0af 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go @@ -67,7 +67,7 @@ func (m *Endpoint) Reset() { *m = Endpoint{} } func (m *Endpoint) String() string { return proto.CompactTextString(m) } func (*Endpoint) ProtoMessage() {} func (*Endpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_endpoint_4418f5874a831641, []int{0} + return fileDescriptor_endpoint_d87650ae3428bec5, []int{0} } func (m *Endpoint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Endpoint.Unmarshal(m, b) @@ -126,9 +126,9 @@ func init() { proto.RegisterType((*Endpoint)(nil), "google.api.Endpoint") } -func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor_endpoint_4418f5874a831641) } +func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor_endpoint_d87650ae3428bec5) } -var fileDescriptor_endpoint_4418f5874a831641 = []byte{ +var fileDescriptor_endpoint_d87650ae3428bec5 = []byte{ // 245 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xb1, 0x4e, 0xc3, 0x30, 0x10, 0x86, 0xe5, 0x12, 0x4a, 0x72, 0x12, 0x0c, 0x1e, 0x90, 0xa9, 0x40, 0x8a, 0x98, 0x32, 0x25, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go index 9627510ba..355309ad5 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go @@ -52,7 +52,7 @@ func (m *LogDescriptor) Reset() { *m = LogDescriptor{} } func (m *LogDescriptor) String() string { return proto.CompactTextString(m) } func (*LogDescriptor) ProtoMessage() {} func (*LogDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_log_de92a25ed5c88332, []int{0} + return fileDescriptor_log_43ef3b42193db0e6, []int{0} } func (m *LogDescriptor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogDescriptor.Unmarshal(m, b) @@ -104,9 +104,9 @@ func init() { proto.RegisterType((*LogDescriptor)(nil), "google.api.LogDescriptor") } -func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_log_de92a25ed5c88332) } +func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_log_43ef3b42193db0e6) } -var fileDescriptor_log_de92a25ed5c88332 = []byte{ +var fileDescriptor_log_43ef3b42193db0e6 = []byte{ // 238 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xc1, 0x4a, 0xc3, 0x40, 0x10, 0x86, 0x49, 0x1b, 0x8a, 0x6e, 0xd5, 0xc3, 0x22, 0x12, 0xf4, 0x12, 0x3d, 0xf5, 0xb4, 0x01, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go index 5ecd5fa60..c1ba79d4d 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go @@ -68,7 +68,7 @@ func (m *Logging) Reset() { *m = Logging{} } func (m *Logging) String() string { return proto.CompactTextString(m) } func (*Logging) ProtoMessage() {} func (*Logging) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_e829a2132d45e683, []int{0} + return fileDescriptor_logging_d4ad8a3d4a3a3050, []int{0} } func (m *Logging) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Logging.Unmarshal(m, b) @@ -122,7 +122,7 @@ func (m *Logging_LoggingDestination) Reset() { *m = Logging_LoggingDesti func (m *Logging_LoggingDestination) String() string { return proto.CompactTextString(m) } func (*Logging_LoggingDestination) ProtoMessage() {} func (*Logging_LoggingDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_e829a2132d45e683, []int{0, 0} + return fileDescriptor_logging_d4ad8a3d4a3a3050, []int{0, 0} } func (m *Logging_LoggingDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Logging_LoggingDestination.Unmarshal(m, b) @@ -161,9 +161,9 @@ func init() { proto.RegisterType((*Logging_LoggingDestination)(nil), "google.api.Logging.LoggingDestination") } -func init() { proto.RegisterFile("google/api/logging.proto", fileDescriptor_logging_e829a2132d45e683) } +func init() { proto.RegisterFile("google/api/logging.proto", fileDescriptor_logging_d4ad8a3d4a3a3050) } -var fileDescriptor_logging_e829a2132d45e683 = []byte{ +var fileDescriptor_logging_d4ad8a3d4a3a3050 = []byte{ // 270 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x4f, 0x4b, 0xc4, 0x30, 0x10, 0xc5, 0x69, 0x77, 0x51, 0x36, 0x8a, 0x60, 0x50, 0x28, 0x8b, 0x87, 0xc5, 0x83, 0xec, 0xc5, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go index f14702285..1aad933df 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go @@ -76,7 +76,7 @@ func (m *Monitoring) Reset() { *m = Monitoring{} } func (m *Monitoring) String() string { return proto.CompactTextString(m) } func (*Monitoring) ProtoMessage() {} func (*Monitoring) Descriptor() ([]byte, []int) { - return fileDescriptor_monitoring_4e73ce5561a2dc9c, []int{0} + return fileDescriptor_monitoring_96ebaeded677bc82, []int{0} } func (m *Monitoring) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Monitoring.Unmarshal(m, b) @@ -128,7 +128,7 @@ func (m *Monitoring_MonitoringDestination) Reset() { *m = Monitoring_Mon func (m *Monitoring_MonitoringDestination) String() string { return proto.CompactTextString(m) } func (*Monitoring_MonitoringDestination) ProtoMessage() {} func (*Monitoring_MonitoringDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_monitoring_4e73ce5561a2dc9c, []int{0, 0} + return fileDescriptor_monitoring_96ebaeded677bc82, []int{0, 0} } func (m *Monitoring_MonitoringDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Monitoring_MonitoringDestination.Unmarshal(m, b) @@ -168,10 +168,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/monitoring.proto", fileDescriptor_monitoring_4e73ce5561a2dc9c) + proto.RegisterFile("google/api/monitoring.proto", fileDescriptor_monitoring_96ebaeded677bc82) } -var fileDescriptor_monitoring_4e73ce5561a2dc9c = []byte{ +var fileDescriptor_monitoring_96ebaeded677bc82 = []byte{ // 271 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x51, 0xcd, 0x4a, 0xc4, 0x30, 0x10, 0xa6, 0x55, 0x94, 0x8d, 0xa0, 0x58, 0x5c, 0x28, 0xab, 0x87, 0xc5, 0xd3, 0x1e, 0xb4, 0x05, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go index 101e3a78c..dd99dadf3 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go @@ -87,7 +87,7 @@ func (m *Quota) Reset() { *m = Quota{} } func (m *Quota) String() string { return proto.CompactTextString(m) } func (*Quota) ProtoMessage() {} func (*Quota) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_1ce257572c500849, []int{0} + return fileDescriptor_quota_8acf07194df27b7e, []int{0} } func (m *Quota) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Quota.Unmarshal(m, b) @@ -147,7 +147,7 @@ func (m *MetricRule) Reset() { *m = MetricRule{} } func (m *MetricRule) String() string { return proto.CompactTextString(m) } func (*MetricRule) ProtoMessage() {} func (*MetricRule) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_1ce257572c500849, []int{1} + return fileDescriptor_quota_8acf07194df27b7e, []int{1} } func (m *MetricRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricRule.Unmarshal(m, b) @@ -330,7 +330,7 @@ func (m *QuotaLimit) Reset() { *m = QuotaLimit{} } func (m *QuotaLimit) String() string { return proto.CompactTextString(m) } func (*QuotaLimit) ProtoMessage() {} func (*QuotaLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_1ce257572c500849, []int{2} + return fileDescriptor_quota_8acf07194df27b7e, []int{2} } func (m *QuotaLimit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuotaLimit.Unmarshal(m, b) @@ -428,9 +428,9 @@ func init() { proto.RegisterMapType((map[string]int64)(nil), "google.api.QuotaLimit.ValuesEntry") } -func init() { proto.RegisterFile("google/api/quota.proto", fileDescriptor_quota_1ce257572c500849) } +func init() { proto.RegisterFile("google/api/quota.proto", fileDescriptor_quota_8acf07194df27b7e) } -var fileDescriptor_quota_1ce257572c500849 = []byte{ +var fileDescriptor_quota_8acf07194df27b7e = []byte{ // 466 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x8e, 0xd3, 0x30, 0x10, 0x55, 0x9a, 0xb6, 0xb4, 0xd3, 0x82, 0x56, 0x16, 0xaa, 0xac, 0xc2, 0xa1, 0x94, 0x03, 0x3d, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go index cc3b838e6..3079d96e6 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go @@ -133,7 +133,7 @@ func (m *Service) Reset() { *m = Service{} } func (m *Service) String() string { return proto.CompactTextString(m) } func (*Service) ProtoMessage() {} func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_service_8abd3bef69d2f15f, []int{0} + return fileDescriptor_service_e641d3f3e04723a1, []int{0} } func (m *Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Service.Unmarshal(m, b) @@ -332,9 +332,9 @@ func init() { proto.RegisterType((*Service)(nil), "google.api.Service") } -func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_service_8abd3bef69d2f15f) } +func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_service_e641d3f3e04723a1) } -var fileDescriptor_service_8abd3bef69d2f15f = []byte{ +var fileDescriptor_service_e641d3f3e04723a1 = []byte{ // 791 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x95, 0xdd, 0x6e, 0xdb, 0x36, 0x14, 0xc7, 0x61, 0xd7, 0x6e, 0x6a, 0xba, 0xcd, 0x12, 0xc6, 0x49, 0x19, 0xd7, 0x1b, 0xd2, 0x7d, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go index 911714d2f..1b04e7ad4 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go @@ -32,7 +32,7 @@ func (m *SourceInfo) Reset() { *m = SourceInfo{} } func (m *SourceInfo) String() string { return proto.CompactTextString(m) } func (*SourceInfo) ProtoMessage() {} func (*SourceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_source_info_7a3c15eb7da8e642, []int{0} + return fileDescriptor_source_info_65b7b902b6df926b, []int{0} } func (m *SourceInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceInfo.Unmarshal(m, b) @@ -64,10 +64,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/source_info.proto", fileDescriptor_source_info_7a3c15eb7da8e642) + proto.RegisterFile("google/api/source_info.proto", fileDescriptor_source_info_65b7b902b6df926b) } -var fileDescriptor_source_info_7a3c15eb7da8e642 = []byte{ +var fileDescriptor_source_info_65b7b902b6df926b = []byte{ // 198 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0x8d, 0xcf, 0xcc, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go index c8b418ec3..c5eed1b06 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go @@ -64,7 +64,7 @@ func (m *SystemParameters) Reset() { *m = SystemParameters{} } func (m *SystemParameters) String() string { return proto.CompactTextString(m) } func (*SystemParameters) ProtoMessage() {} func (*SystemParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_system_parameter_128d6f6e610b00a0, []int{0} + return fileDescriptor_system_parameter_260dda33a71a8c82, []int{0} } func (m *SystemParameters) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SystemParameters.Unmarshal(m, b) @@ -114,7 +114,7 @@ func (m *SystemParameterRule) Reset() { *m = SystemParameterRule{} } func (m *SystemParameterRule) String() string { return proto.CompactTextString(m) } func (*SystemParameterRule) ProtoMessage() {} func (*SystemParameterRule) Descriptor() ([]byte, []int) { - return fileDescriptor_system_parameter_128d6f6e610b00a0, []int{1} + return fileDescriptor_system_parameter_260dda33a71a8c82, []int{1} } func (m *SystemParameterRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SystemParameterRule.Unmarshal(m, b) @@ -169,7 +169,7 @@ func (m *SystemParameter) Reset() { *m = SystemParameter{} } func (m *SystemParameter) String() string { return proto.CompactTextString(m) } func (*SystemParameter) ProtoMessage() {} func (*SystemParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_system_parameter_128d6f6e610b00a0, []int{2} + return fileDescriptor_system_parameter_260dda33a71a8c82, []int{2} } func (m *SystemParameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SystemParameter.Unmarshal(m, b) @@ -217,10 +217,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor_system_parameter_128d6f6e610b00a0) + proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor_system_parameter_260dda33a71a8c82) } -var fileDescriptor_system_parameter_128d6f6e610b00a0 = []byte{ +var fileDescriptor_system_parameter_260dda33a71a8c82 = []byte{ // 286 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x4e, 0xc3, 0x30, 0x10, 0x87, 0x95, 0xb6, 0x20, 0xb8, 0x4a, 0xfc, 0x71, 0x19, 0x22, 0x18, 0x5a, 0x3a, 0x75, 0x72, diff --git a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go index 4eb7f4bbb..8f8bca17e 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go @@ -47,7 +47,7 @@ func (m *Usage) Reset() { *m = Usage{} } func (m *Usage) String() string { return proto.CompactTextString(m) } func (*Usage) ProtoMessage() {} func (*Usage) Descriptor() ([]byte, []int) { - return fileDescriptor_usage_d5fdf432dee45e22, []int{0} + return fileDescriptor_usage_d93cb687fa4d5498, []int{0} } func (m *Usage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Usage.Unmarshal(m, b) @@ -136,7 +136,7 @@ func (m *UsageRule) Reset() { *m = UsageRule{} } func (m *UsageRule) String() string { return proto.CompactTextString(m) } func (*UsageRule) ProtoMessage() {} func (*UsageRule) Descriptor() ([]byte, []int) { - return fileDescriptor_usage_d5fdf432dee45e22, []int{1} + return fileDescriptor_usage_d93cb687fa4d5498, []int{1} } func (m *UsageRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UsageRule.Unmarshal(m, b) @@ -182,9 +182,9 @@ func init() { proto.RegisterType((*UsageRule)(nil), "google.api.UsageRule") } -func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor_usage_d5fdf432dee45e22) } +func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor_usage_d93cb687fa4d5498) } -var fileDescriptor_usage_d5fdf432dee45e22 = []byte{ +var fileDescriptor_usage_d93cb687fa4d5498 = []byte{ // 331 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4b, 0xfb, 0x30, 0x14, 0xc7, 0xe9, 0xf6, 0xdb, 0x7e, 0x5b, 0x14, 0x0f, 0x41, 0x47, 0x99, 0x0a, 0x65, 0xa7, 0x82, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go index 661fe019e..dcb474ecd 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go @@ -107,7 +107,7 @@ func (x CheckError_Code) String() string { return proto.EnumName(CheckError_Code_name, int32(x)) } func (CheckError_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_check_error_9d06cb7cd061f2d3, []int{0, 0} + return fileDescriptor_check_error_1be1bde99e60d1aa, []int{0, 0} } // Defines the errors to be returned in @@ -126,7 +126,7 @@ func (m *CheckError) Reset() { *m = CheckError{} } func (m *CheckError) String() string { return proto.CompactTextString(m) } func (*CheckError) ProtoMessage() {} func (*CheckError) Descriptor() ([]byte, []int) { - return fileDescriptor_check_error_9d06cb7cd061f2d3, []int{0} + return fileDescriptor_check_error_1be1bde99e60d1aa, []int{0} } func (m *CheckError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckError.Unmarshal(m, b) @@ -166,10 +166,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor_check_error_9d06cb7cd061f2d3) + proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor_check_error_1be1bde99e60d1aa) } -var fileDescriptor_check_error_9d06cb7cd061f2d3 = []byte{ +var fileDescriptor_check_error_1be1bde99e60d1aa = []byte{ // 484 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6e, 0xd3, 0x3e, 0x18, 0xc6, 0xff, 0xe9, 0xbf, 0x0c, 0x66, 0x09, 0x16, 0x0c, 0xab, 0x46, 0x55, 0x89, 0xb2, 0xa3, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go index bbc13da08..d84574fe2 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go @@ -91,7 +91,7 @@ func (m *Distribution) Reset() { *m = Distribution{} } func (m *Distribution) String() string { return proto.CompactTextString(m) } func (*Distribution) ProtoMessage() {} func (*Distribution) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_14387aa21d04f604, []int{0} + return fileDescriptor_distribution_dac88fdcde0e4047, []int{0} } func (m *Distribution) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution.Unmarshal(m, b) @@ -111,31 +111,6 @@ func (m *Distribution) XXX_DiscardUnknown() { var xxx_messageInfo_Distribution proto.InternalMessageInfo -type isDistribution_BucketOption interface { - isDistribution_BucketOption() -} - -type Distribution_LinearBuckets_ struct { - LinearBuckets *Distribution_LinearBuckets `protobuf:"bytes,7,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"` -} -type Distribution_ExponentialBuckets_ struct { - ExponentialBuckets *Distribution_ExponentialBuckets `protobuf:"bytes,8,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"` -} -type Distribution_ExplicitBuckets_ struct { - ExplicitBuckets *Distribution_ExplicitBuckets `protobuf:"bytes,9,opt,name=explicit_buckets,json=explicitBuckets,proto3,oneof"` -} - -func (*Distribution_LinearBuckets_) isDistribution_BucketOption() {} -func (*Distribution_ExponentialBuckets_) isDistribution_BucketOption() {} -func (*Distribution_ExplicitBuckets_) isDistribution_BucketOption() {} - -func (m *Distribution) GetBucketOption() isDistribution_BucketOption { - if m != nil { - return m.BucketOption - } - return nil -} - func (m *Distribution) GetCount() int64 { if m != nil { return m.Count @@ -178,6 +153,35 @@ func (m *Distribution) GetBucketCounts() []int64 { return nil } +type isDistribution_BucketOption interface { + isDistribution_BucketOption() +} + +type Distribution_LinearBuckets_ struct { + LinearBuckets *Distribution_LinearBuckets `protobuf:"bytes,7,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"` +} + +type Distribution_ExponentialBuckets_ struct { + ExponentialBuckets *Distribution_ExponentialBuckets `protobuf:"bytes,8,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"` +} + +type Distribution_ExplicitBuckets_ struct { + ExplicitBuckets *Distribution_ExplicitBuckets `protobuf:"bytes,9,opt,name=explicit_buckets,json=explicitBuckets,proto3,oneof"` +} + +func (*Distribution_LinearBuckets_) isDistribution_BucketOption() {} + +func (*Distribution_ExponentialBuckets_) isDistribution_BucketOption() {} + +func (*Distribution_ExplicitBuckets_) isDistribution_BucketOption() {} + +func (m *Distribution) GetBucketOption() isDistribution_BucketOption { + if m != nil { + return m.BucketOption + } + return nil +} + func (m *Distribution) GetLinearBuckets() *Distribution_LinearBuckets { if x, ok := m.GetBucketOption().(*Distribution_LinearBuckets_); ok { return x.LinearBuckets @@ -316,7 +320,7 @@ func (m *Distribution_LinearBuckets) Reset() { *m = Distribution_LinearB func (m *Distribution_LinearBuckets) String() string { return proto.CompactTextString(m) } func (*Distribution_LinearBuckets) ProtoMessage() {} func (*Distribution_LinearBuckets) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_14387aa21d04f604, []int{0, 0} + return fileDescriptor_distribution_dac88fdcde0e4047, []int{0, 0} } func (m *Distribution_LinearBuckets) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_LinearBuckets.Unmarshal(m, b) @@ -382,7 +386,7 @@ func (m *Distribution_ExponentialBuckets) Reset() { *m = Distribution_Ex func (m *Distribution_ExponentialBuckets) String() string { return proto.CompactTextString(m) } func (*Distribution_ExponentialBuckets) ProtoMessage() {} func (*Distribution_ExponentialBuckets) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_14387aa21d04f604, []int{0, 1} + return fileDescriptor_distribution_dac88fdcde0e4047, []int{0, 1} } func (m *Distribution_ExponentialBuckets) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_ExponentialBuckets.Unmarshal(m, b) @@ -450,7 +454,7 @@ func (m *Distribution_ExplicitBuckets) Reset() { *m = Distribution_Expli func (m *Distribution_ExplicitBuckets) String() string { return proto.CompactTextString(m) } func (*Distribution_ExplicitBuckets) ProtoMessage() {} func (*Distribution_ExplicitBuckets) Descriptor() ([]byte, []int) { - return fileDescriptor_distribution_14387aa21d04f604, []int{0, 2} + return fileDescriptor_distribution_dac88fdcde0e4047, []int{0, 2} } func (m *Distribution_ExplicitBuckets) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Distribution_ExplicitBuckets.Unmarshal(m, b) @@ -485,10 +489,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/distribution.proto", fileDescriptor_distribution_14387aa21d04f604) + proto.RegisterFile("google/api/servicecontrol/v1/distribution.proto", fileDescriptor_distribution_dac88fdcde0e4047) } -var fileDescriptor_distribution_14387aa21d04f604 = []byte{ +var fileDescriptor_distribution_dac88fdcde0e4047 = []byte{ // 486 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4d, 0x6f, 0xd3, 0x40, 0x10, 0x86, 0x31, 0x6e, 0x52, 0x18, 0x12, 0x52, 0x96, 0x82, 0xac, 0x88, 0x83, 0x45, 0x2f, 0x41, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go index 6817098f7..a5d318196 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go @@ -56,7 +56,7 @@ func (m *LogEntry) Reset() { *m = LogEntry{} } func (m *LogEntry) String() string { return proto.CompactTextString(m) } func (*LogEntry) ProtoMessage() {} func (*LogEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_log_entry_bf2d1c8926215d60, []int{0} + return fileDescriptor_log_entry_1cf8a0cea23f865a, []int{0} } func (m *LogEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogEntry.Unmarshal(m, b) @@ -76,31 +76,6 @@ func (m *LogEntry) XXX_DiscardUnknown() { var xxx_messageInfo_LogEntry proto.InternalMessageInfo -type isLogEntry_Payload interface { - isLogEntry_Payload() -} - -type LogEntry_ProtoPayload struct { - ProtoPayload *any.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,proto3,oneof"` -} -type LogEntry_TextPayload struct { - TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"` -} -type LogEntry_StructPayload struct { - StructPayload *_struct.Struct `protobuf:"bytes,6,opt,name=struct_payload,json=structPayload,proto3,oneof"` -} - -func (*LogEntry_ProtoPayload) isLogEntry_Payload() {} -func (*LogEntry_TextPayload) isLogEntry_Payload() {} -func (*LogEntry_StructPayload) isLogEntry_Payload() {} - -func (m *LogEntry) GetPayload() isLogEntry_Payload { - if m != nil { - return m.Payload - } - return nil -} - func (m *LogEntry) GetName() string { if m != nil { return m.Name @@ -136,6 +111,35 @@ func (m *LogEntry) GetLabels() map[string]string { return nil } +type isLogEntry_Payload interface { + isLogEntry_Payload() +} + +type LogEntry_ProtoPayload struct { + ProtoPayload *any.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,proto3,oneof"` +} + +type LogEntry_TextPayload struct { + TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"` +} + +type LogEntry_StructPayload struct { + StructPayload *_struct.Struct `protobuf:"bytes,6,opt,name=struct_payload,json=structPayload,proto3,oneof"` +} + +func (*LogEntry_ProtoPayload) isLogEntry_Payload() {} + +func (*LogEntry_TextPayload) isLogEntry_Payload() {} + +func (*LogEntry_StructPayload) isLogEntry_Payload() {} + +func (m *LogEntry) GetPayload() isLogEntry_Payload { + if m != nil { + return m.Payload + } + return nil +} + func (m *LogEntry) GetProtoPayload() *any.Any { if x, ok := m.GetPayload().(*LogEntry_ProtoPayload); ok { return x.ProtoPayload @@ -252,10 +256,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/log_entry.proto", fileDescriptor_log_entry_bf2d1c8926215d60) + proto.RegisterFile("google/api/servicecontrol/v1/log_entry.proto", fileDescriptor_log_entry_1cf8a0cea23f865a) } -var fileDescriptor_log_entry_bf2d1c8926215d60 = []byte{ +var fileDescriptor_log_entry_1cf8a0cea23f865a = []byte{ // 454 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x4f, 0x8f, 0xd3, 0x30, 0x10, 0xc5, 0x9b, 0xed, 0x52, 0x1a, 0xa7, 0x5d, 0x21, 0x6b, 0x25, 0x42, 0xa8, 0x44, 0x04, 0x12, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go index 0945c20fe..5bd3b8e08 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go @@ -55,7 +55,7 @@ func (m *MetricValue) Reset() { *m = MetricValue{} } func (m *MetricValue) String() string { return proto.CompactTextString(m) } func (*MetricValue) ProtoMessage() {} func (*MetricValue) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_value_85404143fe2ec948, []int{0} + return fileDescriptor_metric_value_8054f3e00bcbeeb9, []int{0} } func (m *MetricValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricValue.Unmarshal(m, b) @@ -75,6 +75,27 @@ func (m *MetricValue) XXX_DiscardUnknown() { var xxx_messageInfo_MetricValue proto.InternalMessageInfo +func (m *MetricValue) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *MetricValue) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *MetricValue) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + type isMetricValue_Value interface { isMetricValue_Value() } @@ -82,49 +103,36 @@ type isMetricValue_Value interface { type MetricValue_BoolValue struct { BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` } + type MetricValue_Int64Value struct { Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3,oneof"` } + type MetricValue_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3,oneof"` } + type MetricValue_StringValue struct { StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,proto3,oneof"` } + type MetricValue_DistributionValue struct { DistributionValue *Distribution `protobuf:"bytes,8,opt,name=distribution_value,json=distributionValue,proto3,oneof"` } -func (*MetricValue_BoolValue) isMetricValue_Value() {} -func (*MetricValue_Int64Value) isMetricValue_Value() {} -func (*MetricValue_DoubleValue) isMetricValue_Value() {} -func (*MetricValue_StringValue) isMetricValue_Value() {} -func (*MetricValue_DistributionValue) isMetricValue_Value() {} +func (*MetricValue_BoolValue) isMetricValue_Value() {} -func (m *MetricValue) GetValue() isMetricValue_Value { - if m != nil { - return m.Value - } - return nil -} +func (*MetricValue_Int64Value) isMetricValue_Value() {} -func (m *MetricValue) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} +func (*MetricValue_DoubleValue) isMetricValue_Value() {} -func (m *MetricValue) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} +func (*MetricValue_StringValue) isMetricValue_Value() {} -func (m *MetricValue) GetEndTime() *timestamp.Timestamp { +func (*MetricValue_DistributionValue) isMetricValue_Value() {} + +func (m *MetricValue) GetValue() isMetricValue_Value { if m != nil { - return m.EndTime + return m.Value } return nil } @@ -297,7 +305,7 @@ func (m *MetricValueSet) Reset() { *m = MetricValueSet{} } func (m *MetricValueSet) String() string { return proto.CompactTextString(m) } func (*MetricValueSet) ProtoMessage() {} func (*MetricValueSet) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_value_85404143fe2ec948, []int{1} + return fileDescriptor_metric_value_8054f3e00bcbeeb9, []int{1} } func (m *MetricValueSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricValueSet.Unmarshal(m, b) @@ -338,10 +346,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/metric_value.proto", fileDescriptor_metric_value_85404143fe2ec948) + proto.RegisterFile("google/api/servicecontrol/v1/metric_value.proto", fileDescriptor_metric_value_8054f3e00bcbeeb9) } -var fileDescriptor_metric_value_85404143fe2ec948 = []byte{ +var fileDescriptor_metric_value_8054f3e00bcbeeb9 = []byte{ // 482 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x8b, 0xd3, 0x40, 0x14, 0xc7, 0x3b, 0x8d, 0xdb, 0x1f, 0x2f, 0xab, 0x68, 0x14, 0x0c, 0x65, 0xa1, 0x71, 0xbd, 0x44, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go index 9a260f290..08f7e02ef 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go @@ -46,7 +46,7 @@ func (x Operation_Importance) String() string { return proto.EnumName(Operation_Importance_name, int32(x)) } func (Operation_Importance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_operation_73f45281ae936cf9, []int{0, 0} + return fileDescriptor_operation_b9b924901f6a3776, []int{0, 0} } // Represents information regarding an operation. @@ -119,7 +119,7 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_73f45281ae936cf9, []int{0} + return fileDescriptor_operation_b9b924901f6a3776, []int{0} } func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) @@ -209,10 +209,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor_operation_73f45281ae936cf9) + proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor_operation_b9b924901f6a3776) } -var fileDescriptor_operation_73f45281ae936cf9 = []byte{ +var fileDescriptor_operation_b9b924901f6a3776 = []byte{ // 483 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6b, 0x13, 0x41, 0x14, 0xc7, 0x9d, 0xa6, 0xf9, 0xf5, 0x56, 0x63, 0x1c, 0x3c, 0x2c, 0xa1, 0x90, 0x58, 0x50, 0x72, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go index 94f361441..c6357cd84 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go @@ -63,7 +63,7 @@ func (x QuotaOperation_QuotaMode) String() string { return proto.EnumName(QuotaOperation_QuotaMode_name, int32(x)) } func (QuotaOperation_QuotaMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_quota_controller_73cc4f75f1295ad6, []int{1, 0} + return fileDescriptor_quota_controller_5358e5cb4c246776, []int{1, 0} } // Error codes related to project config validations are deprecated since the @@ -111,7 +111,7 @@ func (x QuotaError_Code) String() string { return proto.EnumName(QuotaError_Code_name, int32(x)) } func (QuotaError_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_quota_controller_73cc4f75f1295ad6, []int{3, 0} + return fileDescriptor_quota_controller_5358e5cb4c246776, []int{3, 0} } // Request message for the AllocateQuota method. @@ -136,7 +136,7 @@ func (m *AllocateQuotaRequest) Reset() { *m = AllocateQuotaRequest{} } func (m *AllocateQuotaRequest) String() string { return proto.CompactTextString(m) } func (*AllocateQuotaRequest) ProtoMessage() {} func (*AllocateQuotaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_controller_73cc4f75f1295ad6, []int{0} + return fileDescriptor_quota_controller_5358e5cb4c246776, []int{0} } func (m *AllocateQuotaRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateQuotaRequest.Unmarshal(m, b) @@ -227,7 +227,7 @@ func (m *QuotaOperation) Reset() { *m = QuotaOperation{} } func (m *QuotaOperation) String() string { return proto.CompactTextString(m) } func (*QuotaOperation) ProtoMessage() {} func (*QuotaOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_controller_73cc4f75f1295ad6, []int{1} + return fileDescriptor_quota_controller_5358e5cb4c246776, []int{1} } func (m *QuotaOperation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuotaOperation.Unmarshal(m, b) @@ -318,7 +318,7 @@ func (m *AllocateQuotaResponse) Reset() { *m = AllocateQuotaResponse{} } func (m *AllocateQuotaResponse) String() string { return proto.CompactTextString(m) } func (*AllocateQuotaResponse) ProtoMessage() {} func (*AllocateQuotaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_controller_73cc4f75f1295ad6, []int{2} + return fileDescriptor_quota_controller_5358e5cb4c246776, []int{2} } func (m *AllocateQuotaResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateQuotaResponse.Unmarshal(m, b) @@ -385,7 +385,7 @@ func (m *QuotaError) Reset() { *m = QuotaError{} } func (m *QuotaError) String() string { return proto.CompactTextString(m) } func (*QuotaError) ProtoMessage() {} func (*QuotaError) Descriptor() ([]byte, []int) { - return fileDescriptor_quota_controller_73cc4f75f1295ad6, []int{3} + return fileDescriptor_quota_controller_5358e5cb4c246776, []int{3} } func (m *QuotaError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuotaError.Unmarshal(m, b) @@ -531,10 +531,10 @@ var _QuotaController_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor_quota_controller_73cc4f75f1295ad6) + proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor_quota_controller_5358e5cb4c246776) } -var fileDescriptor_quota_controller_73cc4f75f1295ad6 = []byte{ +var fileDescriptor_quota_controller_5358e5cb4c246776 = []byte{ // 775 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xc1, 0x6e, 0xea, 0x46, 0x14, 0xed, 0x18, 0x42, 0x9b, 0xeb, 0x04, 0x9c, 0x69, 0x5a, 0x59, 0x28, 0x52, 0x28, 0x2b, 0x1a, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go index 57cbd37d2..388a978a2 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go @@ -51,7 +51,7 @@ func (m *CheckRequest) Reset() { *m = CheckRequest{} } func (m *CheckRequest) String() string { return proto.CompactTextString(m) } func (*CheckRequest) ProtoMessage() {} func (*CheckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{0} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{0} } func (m *CheckRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckRequest.Unmarshal(m, b) @@ -116,7 +116,7 @@ func (m *CheckResponse) Reset() { *m = CheckResponse{} } func (m *CheckResponse) String() string { return proto.CompactTextString(m) } func (*CheckResponse) ProtoMessage() {} func (*CheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{1} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{1} } func (m *CheckResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckResponse.Unmarshal(m, b) @@ -176,7 +176,7 @@ func (m *CheckResponse_CheckInfo) Reset() { *m = CheckResponse_CheckInfo func (m *CheckResponse_CheckInfo) String() string { return proto.CompactTextString(m) } func (*CheckResponse_CheckInfo) ProtoMessage() {} func (*CheckResponse_CheckInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{1, 0} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{1, 0} } func (m *CheckResponse_CheckInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckResponse_CheckInfo.Unmarshal(m, b) @@ -217,7 +217,7 @@ func (m *CheckResponse_ConsumerInfo) Reset() { *m = CheckResponse_Consum func (m *CheckResponse_ConsumerInfo) String() string { return proto.CompactTextString(m) } func (*CheckResponse_ConsumerInfo) ProtoMessage() {} func (*CheckResponse_ConsumerInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{1, 1} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{1, 1} } func (m *CheckResponse_ConsumerInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckResponse_ConsumerInfo.Unmarshal(m, b) @@ -279,7 +279,7 @@ func (m *ReportRequest) Reset() { *m = ReportRequest{} } func (m *ReportRequest) String() string { return proto.CompactTextString(m) } func (*ReportRequest) ProtoMessage() {} func (*ReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{2} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{2} } func (m *ReportRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportRequest.Unmarshal(m, b) @@ -348,7 +348,7 @@ func (m *ReportResponse) Reset() { *m = ReportResponse{} } func (m *ReportResponse) String() string { return proto.CompactTextString(m) } func (*ReportResponse) ProtoMessage() {} func (*ReportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{3} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{3} } func (m *ReportResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportResponse.Unmarshal(m, b) @@ -397,7 +397,7 @@ func (m *ReportResponse_ReportError) Reset() { *m = ReportResponse_Repor func (m *ReportResponse_ReportError) String() string { return proto.CompactTextString(m) } func (*ReportResponse_ReportError) ProtoMessage() {} func (*ReportResponse_ReportError) Descriptor() ([]byte, []int) { - return fileDescriptor_service_controller_525d7997df40b2d7, []int{3, 0} + return fileDescriptor_service_controller_3b2da1557482bc9c, []int{3, 0} } func (m *ReportResponse_ReportError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportResponse_ReportError.Unmarshal(m, b) @@ -601,10 +601,10 @@ var _ServiceController_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor_service_controller_525d7997df40b2d7) + proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor_service_controller_3b2da1557482bc9c) } -var fileDescriptor_service_controller_525d7997df40b2d7 = []byte{ +var fileDescriptor_service_controller_3b2da1557482bc9c = []byte{ // 619 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x4c, 0x10, 0xd6, 0x3a, 0x6d, 0xa4, 0x4c, 0x9c, 0xfe, 0xea, 0x1e, 0x7e, 0x22, 0xab, 0x87, 0xd4, 0x12, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go index 7032f4c46..23dbfebda 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go @@ -68,7 +68,7 @@ func (x OperationMetadata_Status) String() string { return proto.EnumName(OperationMetadata_Status_name, int32(x)) } func (OperationMetadata_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{1, 0} + return fileDescriptor_resources_3e116fd147dc632b, []int{1, 0} } // The kind of diagnostic information possible. @@ -94,7 +94,7 @@ func (x Diagnostic_Kind) String() string { return proto.EnumName(Diagnostic_Kind_name, int32(x)) } func (Diagnostic_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{2, 0} + return fileDescriptor_resources_3e116fd147dc632b, []int{2, 0} } type ConfigFile_FileType int32 @@ -145,7 +145,7 @@ func (x ConfigFile_FileType) String() string { return proto.EnumName(ConfigFile_FileType_name, int32(x)) } func (ConfigFile_FileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{4, 0} + return fileDescriptor_resources_3e116fd147dc632b, []int{4, 0} } // Status of a Rollout. @@ -193,7 +193,7 @@ func (x Rollout_RolloutStatus) String() string { return proto.EnumName(Rollout_RolloutStatus_name, int32(x)) } func (Rollout_RolloutStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{7, 0} + return fileDescriptor_resources_3e116fd147dc632b, []int{7, 0} } // The full representation of a Service that is managed by @@ -213,7 +213,7 @@ func (m *ManagedService) Reset() { *m = ManagedService{} } func (m *ManagedService) String() string { return proto.CompactTextString(m) } func (*ManagedService) ProtoMessage() {} func (*ManagedService) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{0} + return fileDescriptor_resources_3e116fd147dc632b, []int{0} } func (m *ManagedService) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManagedService.Unmarshal(m, b) @@ -267,7 +267,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{1} + return fileDescriptor_resources_3e116fd147dc632b, []int{1} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -330,7 +330,7 @@ func (m *OperationMetadata_Step) Reset() { *m = OperationMetadata_Step{} func (m *OperationMetadata_Step) String() string { return proto.CompactTextString(m) } func (*OperationMetadata_Step) ProtoMessage() {} func (*OperationMetadata_Step) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{1, 0} + return fileDescriptor_resources_3e116fd147dc632b, []int{1, 0} } func (m *OperationMetadata_Step) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata_Step.Unmarshal(m, b) @@ -381,7 +381,7 @@ func (m *Diagnostic) Reset() { *m = Diagnostic{} } func (m *Diagnostic) String() string { return proto.CompactTextString(m) } func (*Diagnostic) ProtoMessage() {} func (*Diagnostic) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{2} + return fileDescriptor_resources_3e116fd147dc632b, []int{2} } func (m *Diagnostic) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Diagnostic.Unmarshal(m, b) @@ -441,7 +441,7 @@ func (m *ConfigSource) Reset() { *m = ConfigSource{} } func (m *ConfigSource) String() string { return proto.CompactTextString(m) } func (*ConfigSource) ProtoMessage() {} func (*ConfigSource) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{3} + return fileDescriptor_resources_3e116fd147dc632b, []int{3} } func (m *ConfigSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSource.Unmarshal(m, b) @@ -492,7 +492,7 @@ func (m *ConfigFile) Reset() { *m = ConfigFile{} } func (m *ConfigFile) String() string { return proto.CompactTextString(m) } func (*ConfigFile) ProtoMessage() {} func (*ConfigFile) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{4} + return fileDescriptor_resources_3e116fd147dc632b, []int{4} } func (m *ConfigFile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFile.Unmarshal(m, b) @@ -547,7 +547,7 @@ func (m *ConfigRef) Reset() { *m = ConfigRef{} } func (m *ConfigRef) String() string { return proto.CompactTextString(m) } func (*ConfigRef) ProtoMessage() {} func (*ConfigRef) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{5} + return fileDescriptor_resources_3e116fd147dc632b, []int{5} } func (m *ConfigRef) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigRef.Unmarshal(m, b) @@ -594,7 +594,7 @@ func (m *ChangeReport) Reset() { *m = ChangeReport{} } func (m *ChangeReport) String() string { return proto.CompactTextString(m) } func (*ChangeReport) ProtoMessage() {} func (*ChangeReport) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{6} + return fileDescriptor_resources_3e116fd147dc632b, []int{6} } func (m *ChangeReport) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChangeReport.Unmarshal(m, b) @@ -661,7 +661,7 @@ func (m *Rollout) Reset() { *m = Rollout{} } func (m *Rollout) String() string { return proto.CompactTextString(m) } func (*Rollout) ProtoMessage() {} func (*Rollout) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{7} + return fileDescriptor_resources_3e116fd147dc632b, []int{7} } func (m *Rollout) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Rollout.Unmarshal(m, b) @@ -681,27 +681,6 @@ func (m *Rollout) XXX_DiscardUnknown() { var xxx_messageInfo_Rollout proto.InternalMessageInfo -type isRollout_Strategy interface { - isRollout_Strategy() -} - -type Rollout_TrafficPercentStrategy_ struct { - TrafficPercentStrategy *Rollout_TrafficPercentStrategy `protobuf:"bytes,5,opt,name=traffic_percent_strategy,json=trafficPercentStrategy,proto3,oneof"` -} -type Rollout_DeleteServiceStrategy_ struct { - DeleteServiceStrategy *Rollout_DeleteServiceStrategy `protobuf:"bytes,200,opt,name=delete_service_strategy,json=deleteServiceStrategy,proto3,oneof"` -} - -func (*Rollout_TrafficPercentStrategy_) isRollout_Strategy() {} -func (*Rollout_DeleteServiceStrategy_) isRollout_Strategy() {} - -func (m *Rollout) GetStrategy() isRollout_Strategy { - if m != nil { - return m.Strategy - } - return nil -} - func (m *Rollout) GetRolloutId() string { if m != nil { return m.RolloutId @@ -730,6 +709,29 @@ func (m *Rollout) GetStatus() Rollout_RolloutStatus { return Rollout_ROLLOUT_STATUS_UNSPECIFIED } +type isRollout_Strategy interface { + isRollout_Strategy() +} + +type Rollout_TrafficPercentStrategy_ struct { + TrafficPercentStrategy *Rollout_TrafficPercentStrategy `protobuf:"bytes,5,opt,name=traffic_percent_strategy,json=trafficPercentStrategy,proto3,oneof"` +} + +type Rollout_DeleteServiceStrategy_ struct { + DeleteServiceStrategy *Rollout_DeleteServiceStrategy `protobuf:"bytes,200,opt,name=delete_service_strategy,json=deleteServiceStrategy,proto3,oneof"` +} + +func (*Rollout_TrafficPercentStrategy_) isRollout_Strategy() {} + +func (*Rollout_DeleteServiceStrategy_) isRollout_Strategy() {} + +func (m *Rollout) GetStrategy() isRollout_Strategy { + if m != nil { + return m.Strategy + } + return nil +} + func (m *Rollout) GetTrafficPercentStrategy() *Rollout_TrafficPercentStrategy { if x, ok := m.GetStrategy().(*Rollout_TrafficPercentStrategy_); ok { return x.TrafficPercentStrategy @@ -869,7 +871,7 @@ func (m *Rollout_TrafficPercentStrategy) Reset() { *m = Rollout_TrafficP func (m *Rollout_TrafficPercentStrategy) String() string { return proto.CompactTextString(m) } func (*Rollout_TrafficPercentStrategy) ProtoMessage() {} func (*Rollout_TrafficPercentStrategy) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{7, 0} + return fileDescriptor_resources_3e116fd147dc632b, []int{7, 0} } func (m *Rollout_TrafficPercentStrategy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Rollout_TrafficPercentStrategy.Unmarshal(m, b) @@ -908,7 +910,7 @@ func (m *Rollout_DeleteServiceStrategy) Reset() { *m = Rollout_DeleteSer func (m *Rollout_DeleteServiceStrategy) String() string { return proto.CompactTextString(m) } func (*Rollout_DeleteServiceStrategy) ProtoMessage() {} func (*Rollout_DeleteServiceStrategy) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_02b8d5c4dbcb736e, []int{7, 1} + return fileDescriptor_resources_3e116fd147dc632b, []int{7, 1} } func (m *Rollout_DeleteServiceStrategy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Rollout_DeleteServiceStrategy.Unmarshal(m, b) @@ -948,10 +950,10 @@ func init() { } func init() { - proto.RegisterFile("google/api/servicemanagement/v1/resources.proto", fileDescriptor_resources_02b8d5c4dbcb736e) + proto.RegisterFile("google/api/servicemanagement/v1/resources.proto", fileDescriptor_resources_3e116fd147dc632b) } -var fileDescriptor_resources_02b8d5c4dbcb736e = []byte{ +var fileDescriptor_resources_3e116fd147dc632b = []byte{ // 1234 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xef, 0x8e, 0xdb, 0x44, 0x10, 0xaf, 0xf3, 0xef, 0x2e, 0x93, 0xbb, 0xe0, 0x6e, 0x69, 0x2f, 0x0d, 0xfd, 0x73, 0x4d, 0x85, diff --git a/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go b/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go index 101b8ecbc..f433adaaa 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go @@ -55,7 +55,7 @@ func (x GetServiceConfigRequest_ConfigView) String() string { return proto.EnumName(GetServiceConfigRequest_ConfigView_name, int32(x)) } func (GetServiceConfigRequest_ConfigView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{7, 0} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{7, 0} } // Request message for `ListServices` method. @@ -82,7 +82,7 @@ func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } func (m *ListServicesRequest) String() string { return proto.CompactTextString(m) } func (*ListServicesRequest) ProtoMessage() {} func (*ListServicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{0} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{0} } func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b) @@ -145,7 +145,7 @@ func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) } func (*ListServicesResponse) ProtoMessage() {} func (*ListServicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{1} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{1} } func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceRequest) ProtoMessage() {} func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{2} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{2} } func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) @@ -233,7 +233,7 @@ func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} } func (m *CreateServiceRequest) String() string { return proto.CompactTextString(m) } func (*CreateServiceRequest) ProtoMessage() {} func (*CreateServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{3} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{3} } func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceRequest.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *DeleteServiceRequest) Reset() { *m = DeleteServiceRequest{} } func (m *DeleteServiceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteServiceRequest) ProtoMessage() {} func (*DeleteServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{4} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{4} } func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b) @@ -315,7 +315,7 @@ func (m *UndeleteServiceRequest) Reset() { *m = UndeleteServiceRequest{} func (m *UndeleteServiceRequest) String() string { return proto.CompactTextString(m) } func (*UndeleteServiceRequest) ProtoMessage() {} func (*UndeleteServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{5} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{5} } func (m *UndeleteServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteServiceRequest.Unmarshal(m, b) @@ -355,7 +355,7 @@ func (m *UndeleteServiceResponse) Reset() { *m = UndeleteServiceResponse func (m *UndeleteServiceResponse) String() string { return proto.CompactTextString(m) } func (*UndeleteServiceResponse) ProtoMessage() {} func (*UndeleteServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{6} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{6} } func (m *UndeleteServiceResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteServiceResponse.Unmarshal(m, b) @@ -401,7 +401,7 @@ func (m *GetServiceConfigRequest) Reset() { *m = GetServiceConfigRequest func (m *GetServiceConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceConfigRequest) ProtoMessage() {} func (*GetServiceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{7} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{7} } func (m *GetServiceConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceConfigRequest.Unmarshal(m, b) @@ -460,7 +460,7 @@ func (m *ListServiceConfigsRequest) Reset() { *m = ListServiceConfigsReq func (m *ListServiceConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListServiceConfigsRequest) ProtoMessage() {} func (*ListServiceConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{8} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{8} } func (m *ListServiceConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceConfigsRequest.Unmarshal(m, b) @@ -516,7 +516,7 @@ func (m *ListServiceConfigsResponse) Reset() { *m = ListServiceConfigsRe func (m *ListServiceConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListServiceConfigsResponse) ProtoMessage() {} func (*ListServiceConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{9} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{9} } func (m *ListServiceConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceConfigsResponse.Unmarshal(m, b) @@ -566,7 +566,7 @@ func (m *CreateServiceConfigRequest) Reset() { *m = CreateServiceConfigR func (m *CreateServiceConfigRequest) String() string { return proto.CompactTextString(m) } func (*CreateServiceConfigRequest) ProtoMessage() {} func (*CreateServiceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{10} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{10} } func (m *CreateServiceConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceConfigRequest.Unmarshal(m, b) @@ -620,7 +620,7 @@ func (m *SubmitConfigSourceRequest) Reset() { *m = SubmitConfigSourceReq func (m *SubmitConfigSourceRequest) String() string { return proto.CompactTextString(m) } func (*SubmitConfigSourceRequest) ProtoMessage() {} func (*SubmitConfigSourceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{11} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{11} } func (m *SubmitConfigSourceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubmitConfigSourceRequest.Unmarshal(m, b) @@ -674,7 +674,7 @@ func (m *SubmitConfigSourceResponse) Reset() { *m = SubmitConfigSourceRe func (m *SubmitConfigSourceResponse) String() string { return proto.CompactTextString(m) } func (*SubmitConfigSourceResponse) ProtoMessage() {} func (*SubmitConfigSourceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{12} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{12} } func (m *SubmitConfigSourceResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubmitConfigSourceResponse.Unmarshal(m, b) @@ -717,7 +717,7 @@ func (m *CreateServiceRolloutRequest) Reset() { *m = CreateServiceRollou func (m *CreateServiceRolloutRequest) String() string { return proto.CompactTextString(m) } func (*CreateServiceRolloutRequest) ProtoMessage() {} func (*CreateServiceRolloutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{13} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{13} } func (m *CreateServiceRolloutRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceRolloutRequest.Unmarshal(m, b) @@ -778,7 +778,7 @@ func (m *ListServiceRolloutsRequest) Reset() { *m = ListServiceRolloutsR func (m *ListServiceRolloutsRequest) String() string { return proto.CompactTextString(m) } func (*ListServiceRolloutsRequest) ProtoMessage() {} func (*ListServiceRolloutsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{14} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{14} } func (m *ListServiceRolloutsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceRolloutsRequest.Unmarshal(m, b) @@ -841,7 +841,7 @@ func (m *ListServiceRolloutsResponse) Reset() { *m = ListServiceRollouts func (m *ListServiceRolloutsResponse) String() string { return proto.CompactTextString(m) } func (*ListServiceRolloutsResponse) ProtoMessage() {} func (*ListServiceRolloutsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{15} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{15} } func (m *ListServiceRolloutsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceRolloutsResponse.Unmarshal(m, b) @@ -891,7 +891,7 @@ func (m *GetServiceRolloutRequest) Reset() { *m = GetServiceRolloutReque func (m *GetServiceRolloutRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceRolloutRequest) ProtoMessage() {} func (*GetServiceRolloutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{16} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{16} } func (m *GetServiceRolloutRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceRolloutRequest.Unmarshal(m, b) @@ -949,7 +949,7 @@ func (m *EnableServiceRequest) Reset() { *m = EnableServiceRequest{} } func (m *EnableServiceRequest) String() string { return proto.CompactTextString(m) } func (*EnableServiceRequest) ProtoMessage() {} func (*EnableServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{17} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{17} } func (m *EnableServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnableServiceRequest.Unmarshal(m, b) @@ -1007,7 +1007,7 @@ func (m *DisableServiceRequest) Reset() { *m = DisableServiceRequest{} } func (m *DisableServiceRequest) String() string { return proto.CompactTextString(m) } func (*DisableServiceRequest) ProtoMessage() {} func (*DisableServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{18} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{18} } func (m *DisableServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DisableServiceRequest.Unmarshal(m, b) @@ -1064,7 +1064,7 @@ func (m *GenerateConfigReportRequest) Reset() { *m = GenerateConfigRepor func (m *GenerateConfigReportRequest) String() string { return proto.CompactTextString(m) } func (*GenerateConfigReportRequest) ProtoMessage() {} func (*GenerateConfigReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{19} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{19} } func (m *GenerateConfigReportRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenerateConfigReportRequest.Unmarshal(m, b) @@ -1120,7 +1120,7 @@ func (m *GenerateConfigReportResponse) Reset() { *m = GenerateConfigRepo func (m *GenerateConfigReportResponse) String() string { return proto.CompactTextString(m) } func (*GenerateConfigReportResponse) ProtoMessage() {} func (*GenerateConfigReportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_servicemanager_d51f49ba7441c014, []int{20} + return fileDescriptor_servicemanager_0ec806067c572a23, []int{20} } func (m *GenerateConfigReportResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenerateConfigReportResponse.Unmarshal(m, b) @@ -1908,10 +1908,10 @@ var _ServiceManager_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/api/servicemanagement/v1/servicemanager.proto", fileDescriptor_servicemanager_d51f49ba7441c014) + proto.RegisterFile("google/api/servicemanagement/v1/servicemanager.proto", fileDescriptor_servicemanager_0ec806067c572a23) } -var fileDescriptor_servicemanager_d51f49ba7441c014 = []byte{ +var fileDescriptor_servicemanager_0ec806067c572a23 = []byte{ // 1447 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x6f, 0xdc, 0x44, 0x14, 0x66, 0x36, 0x69, 0x9b, 0xbc, 0x64, 0xb7, 0xed, 0x64, 0x69, 0xb6, 0x9b, 0x46, 0x4d, 0x9c, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go index c110f1668..efd0be332 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go @@ -35,7 +35,7 @@ func (m *AuditData) Reset() { *m = AuditData{} } func (m *AuditData) String() string { return proto.CompactTextString(m) } func (*AuditData) ProtoMessage() {} func (*AuditData) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_2d1a6750bd5bf274, []int{0} + return fileDescriptor_audit_data_066939fa5b0d8e90, []int{0} } func (m *AuditData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuditData.Unmarshal(m, b) @@ -75,10 +75,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor_audit_data_2d1a6750bd5bf274) + proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor_audit_data_066939fa5b0d8e90) } -var fileDescriptor_audit_data_2d1a6750bd5bf274 = []byte{ +var fileDescriptor_audit_data_066939fa5b0d8e90 = []byte{ // 247 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x4b, 0x03, 0x31, 0x10, 0xc5, 0xc9, 0x16, 0x85, 0x1d, 0xb5, 0x48, 0x10, 0x5c, 0xf4, 0x52, 0xf4, 0xb2, 0xa7, 0x04, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go index b52186c51..c5870c22a 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go @@ -40,7 +40,7 @@ func (m *LogLine) Reset() { *m = LogLine{} } func (m *LogLine) String() string { return proto.CompactTextString(m) } func (*LogLine) ProtoMessage() {} func (*LogLine) Descriptor() ([]byte, []int) { - return fileDescriptor_request_log_960d36708b8f979b, []int{0} + return fileDescriptor_request_log_c4e4bcec179d2e52, []int{0} } func (m *LogLine) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogLine.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *SourceLocation) Reset() { *m = SourceLocation{} } func (m *SourceLocation) String() string { return proto.CompactTextString(m) } func (*SourceLocation) ProtoMessage() {} func (*SourceLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_request_log_960d36708b8f979b, []int{1} + return fileDescriptor_request_log_c4e4bcec179d2e52, []int{1} } func (m *SourceLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceLocation.Unmarshal(m, b) @@ -170,7 +170,7 @@ func (m *SourceReference) Reset() { *m = SourceReference{} } func (m *SourceReference) String() string { return proto.CompactTextString(m) } func (*SourceReference) ProtoMessage() {} func (*SourceReference) Descriptor() ([]byte, []int) { - return fileDescriptor_request_log_960d36708b8f979b, []int{2} + return fileDescriptor_request_log_c4e4bcec179d2e52, []int{2} } func (m *SourceReference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceReference.Unmarshal(m, b) @@ -298,7 +298,7 @@ func (m *RequestLog) Reset() { *m = RequestLog{} } func (m *RequestLog) String() string { return proto.CompactTextString(m) } func (*RequestLog) ProtoMessage() {} func (*RequestLog) Descriptor() ([]byte, []int) { - return fileDescriptor_request_log_960d36708b8f979b, []int{3} + return fileDescriptor_request_log_c4e4bcec179d2e52, []int{3} } func (m *RequestLog) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestLog.Unmarshal(m, b) @@ -550,10 +550,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor_request_log_960d36708b8f979b) + proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor_request_log_c4e4bcec179d2e52) } -var fileDescriptor_request_log_960d36708b8f979b = []byte{ +var fileDescriptor_request_log_c4e4bcec179d2e52 = []byte{ // 921 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x7f, 0x6f, 0x1c, 0x35, 0x10, 0xd5, 0xe6, 0xe7, 0x9d, 0x2f, 0xb9, 0xa4, 0xa6, 0x2d, 0x4e, 0x42, 0x9b, 0x23, 0xd0, 0x70, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go index 320d5df8d..82d43fc3e 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go @@ -49,7 +49,7 @@ func (x AuthFailAction) String() string { return proto.EnumName(AuthFailAction_name, int32(x)) } func (AuthFailAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{0} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{0} } // Methods to restrict access to a URL based on login status. @@ -88,7 +88,7 @@ func (x LoginRequirement) String() string { return proto.EnumName(LoginRequirement_name, int32(x)) } func (LoginRequirement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{1} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1} } // Methods to enforce security (HTTPS) on a URL. @@ -133,7 +133,7 @@ func (x SecurityLevel) String() string { return proto.EnumName(SecurityLevel_name, int32(x)) } func (SecurityLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{2} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2} } // Error codes. @@ -172,7 +172,7 @@ func (x ErrorHandler_ErrorCode) String() string { return proto.EnumName(ErrorHandler_ErrorCode_name, int32(x)) } func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{1, 0} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1, 0} } // Redirect codes. @@ -210,7 +210,7 @@ func (x UrlMap_RedirectHttpResponseCode) String() string { return proto.EnumName(UrlMap_RedirectHttpResponseCode_name, int32(x)) } func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{2, 0} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2, 0} } // [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) @@ -237,7 +237,7 @@ func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} } func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) } func (*ApiConfigHandler) ProtoMessage() {} func (*ApiConfigHandler) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{0} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{0} } func (m *ApiConfigHandler) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ApiConfigHandler.Unmarshal(m, b) @@ -309,7 +309,7 @@ func (m *ErrorHandler) Reset() { *m = ErrorHandler{} } func (m *ErrorHandler) String() string { return proto.CompactTextString(m) } func (*ErrorHandler) ProtoMessage() {} func (*ErrorHandler) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{1} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1} } func (m *ErrorHandler) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorHandler.Unmarshal(m, b) @@ -385,7 +385,7 @@ func (m *UrlMap) Reset() { *m = UrlMap{} } func (m *UrlMap) String() string { return proto.CompactTextString(m) } func (*UrlMap) ProtoMessage() {} func (*UrlMap) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{2} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2} } func (m *UrlMap) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UrlMap.Unmarshal(m, b) @@ -405,6 +405,13 @@ func (m *UrlMap) XXX_DiscardUnknown() { var xxx_messageInfo_UrlMap proto.InternalMessageInfo +func (m *UrlMap) GetUrlRegex() string { + if m != nil { + return m.UrlRegex + } + return "" +} + type isUrlMap_HandlerType interface { isUrlMap_HandlerType() } @@ -412,15 +419,19 @@ type isUrlMap_HandlerType interface { type UrlMap_StaticFiles struct { StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,proto3,oneof"` } + type UrlMap_Script struct { Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,proto3,oneof"` } + type UrlMap_ApiEndpoint struct { ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,proto3,oneof"` } func (*UrlMap_StaticFiles) isUrlMap_HandlerType() {} -func (*UrlMap_Script) isUrlMap_HandlerType() {} + +func (*UrlMap_Script) isUrlMap_HandlerType() {} + func (*UrlMap_ApiEndpoint) isUrlMap_HandlerType() {} func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType { @@ -430,13 +441,6 @@ func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType { return nil } -func (m *UrlMap) GetUrlRegex() string { - if m != nil { - return m.UrlRegex - } - return "" -} - func (m *UrlMap) GetStaticFiles() *StaticFilesHandler { if x, ok := m.GetHandlerType().(*UrlMap_StaticFiles); ok { return x.StaticFiles @@ -619,7 +623,7 @@ func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} } func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) } func (*StaticFilesHandler) ProtoMessage() {} func (*StaticFilesHandler) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{3} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{3} } func (m *StaticFilesHandler) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StaticFilesHandler.Unmarshal(m, b) @@ -701,7 +705,7 @@ func (m *ScriptHandler) Reset() { *m = ScriptHandler{} } func (m *ScriptHandler) String() string { return proto.CompactTextString(m) } func (*ScriptHandler) ProtoMessage() {} func (*ScriptHandler) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{4} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{4} } func (m *ScriptHandler) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScriptHandler.Unmarshal(m, b) @@ -741,7 +745,7 @@ func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} } func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) } func (*ApiEndpointHandler) ProtoMessage() {} func (*ApiEndpointHandler) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{5} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{5} } func (m *ApiEndpointHandler) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ApiEndpointHandler.Unmarshal(m, b) @@ -799,7 +803,7 @@ func (m *HealthCheck) Reset() { *m = HealthCheck{} } func (m *HealthCheck) String() string { return proto.CompactTextString(m) } func (*HealthCheck) ProtoMessage() {} func (*HealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{6} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{6} } func (m *HealthCheck) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthCheck.Unmarshal(m, b) @@ -883,7 +887,7 @@ func (m *Library) Reset() { *m = Library{} } func (m *Library) String() string { return proto.CompactTextString(m) } func (*Library) ProtoMessage() {} func (*Library) Descriptor() ([]byte, []int) { - return fileDescriptor_app_yaml_793cc8a0015494a6, []int{7} + return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{7} } func (m *Library) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Library.Unmarshal(m, b) @@ -935,10 +939,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor_app_yaml_793cc8a0015494a6) + proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor_app_yaml_07fe113144fe6ee6) } -var fileDescriptor_app_yaml_793cc8a0015494a6 = []byte{ +var fileDescriptor_app_yaml_07fe113144fe6ee6 = []byte{ // 1232 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0x13, 0x47, 0x14, 0xc6, 0x76, 0x7e, 0x8f, 0x1d, 0xb3, 0x99, 0x00, 0x75, 0x02, 0x94, 0xd4, 0xa8, 0x02, 0x25, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go index 739783a0f..52475de64 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go @@ -55,7 +55,7 @@ func (x VersionView) String() string { return proto.EnumName(VersionView_name, int32(x)) } func (VersionView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{0} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{0} } // Request message for `Applications.GetApplication`. @@ -71,7 +71,7 @@ func (m *GetApplicationRequest) Reset() { *m = GetApplicationRequest{} } func (m *GetApplicationRequest) String() string { return proto.CompactTextString(m) } func (*GetApplicationRequest) ProtoMessage() {} func (*GetApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{0} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{0} } func (m *GetApplicationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetApplicationRequest.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *RepairApplicationRequest) Reset() { *m = RepairApplicationReque func (m *RepairApplicationRequest) String() string { return proto.CompactTextString(m) } func (*RepairApplicationRequest) ProtoMessage() {} func (*RepairApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{1} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{1} } func (m *RepairApplicationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepairApplicationRequest.Unmarshal(m, b) @@ -155,7 +155,7 @@ func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } func (m *ListServicesRequest) String() string { return proto.CompactTextString(m) } func (*ListServicesRequest) ProtoMessage() {} func (*ListServicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{2} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{2} } func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b) @@ -211,7 +211,7 @@ func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) } func (*ListServicesResponse) ProtoMessage() {} func (*ListServicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{3} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{3} } func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b) @@ -258,7 +258,7 @@ func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceRequest) ProtoMessage() {} func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{4} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{4} } func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) @@ -316,7 +316,7 @@ func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } func (m *UpdateServiceRequest) String() string { return proto.CompactTextString(m) } func (*UpdateServiceRequest) ProtoMessage() {} func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{5} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{5} } func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateServiceRequest.Unmarshal(m, b) @@ -377,7 +377,7 @@ func (m *DeleteServiceRequest) Reset() { *m = DeleteServiceRequest{} } func (m *DeleteServiceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteServiceRequest) ProtoMessage() {} func (*DeleteServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{6} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{6} } func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b) @@ -424,7 +424,7 @@ func (m *ListVersionsRequest) Reset() { *m = ListVersionsRequest{} } func (m *ListVersionsRequest) String() string { return proto.CompactTextString(m) } func (*ListVersionsRequest) ProtoMessage() {} func (*ListVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{7} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{7} } func (m *ListVersionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVersionsRequest.Unmarshal(m, b) @@ -487,7 +487,7 @@ func (m *ListVersionsResponse) Reset() { *m = ListVersionsResponse{} } func (m *ListVersionsResponse) String() string { return proto.CompactTextString(m) } func (*ListVersionsResponse) ProtoMessage() {} func (*ListVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{8} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{8} } func (m *ListVersionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVersionsResponse.Unmarshal(m, b) @@ -537,7 +537,7 @@ func (m *GetVersionRequest) Reset() { *m = GetVersionRequest{} } func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) } func (*GetVersionRequest) ProtoMessage() {} func (*GetVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{9} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{9} } func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b) @@ -587,7 +587,7 @@ func (m *CreateVersionRequest) Reset() { *m = CreateVersionRequest{} } func (m *CreateVersionRequest) String() string { return proto.CompactTextString(m) } func (*CreateVersionRequest) ProtoMessage() {} func (*CreateVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{10} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{10} } func (m *CreateVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVersionRequest.Unmarshal(m, b) @@ -640,7 +640,7 @@ func (m *UpdateVersionRequest) Reset() { *m = UpdateVersionRequest{} } func (m *UpdateVersionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateVersionRequest) ProtoMessage() {} func (*UpdateVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{11} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{11} } func (m *UpdateVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateVersionRequest.Unmarshal(m, b) @@ -695,7 +695,7 @@ func (m *DeleteVersionRequest) Reset() { *m = DeleteVersionRequest{} } func (m *DeleteVersionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteVersionRequest) ProtoMessage() {} func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{12} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{12} } func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVersionRequest.Unmarshal(m, b) @@ -740,7 +740,7 @@ func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } func (*ListInstancesRequest) ProtoMessage() {} func (*ListInstancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{13} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{13} } func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) @@ -796,7 +796,7 @@ func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } func (*ListInstancesResponse) ProtoMessage() {} func (*ListInstancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{14} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{14} } func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) @@ -844,7 +844,7 @@ func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceRequest) ProtoMessage() {} func (*GetInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{15} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{15} } func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) @@ -885,7 +885,7 @@ func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteInstanceRequest) ProtoMessage() {} func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{16} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{16} } func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) @@ -926,7 +926,7 @@ func (m *DebugInstanceRequest) Reset() { *m = DebugInstanceRequest{} } func (m *DebugInstanceRequest) String() string { return proto.CompactTextString(m) } func (*DebugInstanceRequest) ProtoMessage() {} func (*DebugInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_appengine_c3ce553d61eda779, []int{17} + return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{17} } func (m *DebugInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugInstanceRequest.Unmarshal(m, b) @@ -1685,10 +1685,10 @@ var _Applications_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/appengine/v1/appengine.proto", fileDescriptor_appengine_c3ce553d61eda779) + proto.RegisterFile("google/appengine/v1/appengine.proto", fileDescriptor_appengine_2fc15a0f1846cd0f) } -var fileDescriptor_appengine_c3ce553d61eda779 = []byte{ +var fileDescriptor_appengine_2fc15a0f1846cd0f = []byte{ // 1134 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xdf, 0x6f, 0xdb, 0x54, 0x14, 0xc6, 0x6d, 0xba, 0x25, 0x27, 0x6b, 0xb6, 0xde, 0xb6, 0x10, 0xbc, 0x76, 0x0a, 0x1e, 0x2c, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go index b953ce83e..68bbd8251 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go @@ -85,7 +85,7 @@ func (m *Application) Reset() { *m = Application{} } func (m *Application) String() string { return proto.CompactTextString(m) } func (*Application) ProtoMessage() {} func (*Application) Descriptor() ([]byte, []int) { - return fileDescriptor_application_323d3aec491e8cde, []int{0} + return fileDescriptor_application_d5f9ae7b7e94b936, []int{0} } func (m *Application) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Application.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} } func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) } func (*UrlDispatchRule) ProtoMessage() {} func (*UrlDispatchRule) Descriptor() ([]byte, []int) { - return fileDescriptor_application_323d3aec491e8cde, []int{1} + return fileDescriptor_application_d5f9ae7b7e94b936, []int{1} } func (m *UrlDispatchRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UrlDispatchRule.Unmarshal(m, b) @@ -240,10 +240,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_application_323d3aec491e8cde) + proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_application_d5f9ae7b7e94b936) } -var fileDescriptor_application_323d3aec491e8cde = []byte{ +var fileDescriptor_application_d5f9ae7b7e94b936 = []byte{ // 409 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xdb, 0x30, 0x14, 0xc5, 0x71, 0x3c, 0x92, 0x45, 0x5e, 0xfe, 0xa0, 0xc1, 0xa2, 0x84, 0xb1, 0x85, 0xb0, 0x40, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go index e9d7c649f..53ac880e0 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go @@ -39,7 +39,7 @@ func (m *AuditData) Reset() { *m = AuditData{} } func (m *AuditData) String() string { return proto.CompactTextString(m) } func (*AuditData) ProtoMessage() {} func (*AuditData) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_196ce8036024e2bd, []int{0} + return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{0} } func (m *AuditData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuditData.Unmarshal(m, b) @@ -66,11 +66,13 @@ type isAuditData_Method interface { type AuditData_UpdateService struct { UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"` } + type AuditData_CreateVersion struct { CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"` } func (*AuditData_UpdateService) isAuditData_Method() {} + func (*AuditData_CreateVersion) isAuditData_Method() {} func (m *AuditData) GetMethod() isAuditData_Method { @@ -181,7 +183,7 @@ func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} } func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) } func (*UpdateServiceMethod) ProtoMessage() {} func (*UpdateServiceMethod) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_196ce8036024e2bd, []int{1} + return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{1} } func (m *UpdateServiceMethod) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateServiceMethod.Unmarshal(m, b) @@ -221,7 +223,7 @@ func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} } func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) } func (*CreateVersionMethod) ProtoMessage() {} func (*CreateVersionMethod) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_196ce8036024e2bd, []int{2} + return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{2} } func (m *CreateVersionMethod) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVersionMethod.Unmarshal(m, b) @@ -255,10 +257,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_audit_data_196ce8036024e2bd) + proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_audit_data_b5f7af765ea2d3aa) } -var fileDescriptor_audit_data_196ce8036024e2bd = []byte{ +var fileDescriptor_audit_data_b5f7af765ea2d3aa = []byte{ // 290 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4e, 0xc3, 0x30, 0x10, 0x86, 0x09, 0x43, 0x01, 0x23, 0x3a, 0xa4, 0x03, 0x55, 0x07, 0x84, 0x0a, 0x43, 0x59, 0x1c, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go index 2c0babc24..986270a83 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go @@ -39,7 +39,7 @@ func (m *Deployment) Reset() { *m = Deployment{} } func (m *Deployment) String() string { return proto.CompactTextString(m) } func (*Deployment) ProtoMessage() {} func (*Deployment) Descriptor() ([]byte, []int) { - return fileDescriptor_deploy_4315ed212549d9c2, []int{0} + return fileDescriptor_deploy_ed99bebbe4262e1c, []int{0} } func (m *Deployment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Deployment.Unmarshal(m, b) @@ -102,7 +102,7 @@ func (m *FileInfo) Reset() { *m = FileInfo{} } func (m *FileInfo) String() string { return proto.CompactTextString(m) } func (*FileInfo) ProtoMessage() {} func (*FileInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_deploy_4315ed212549d9c2, []int{1} + return fileDescriptor_deploy_ed99bebbe4262e1c, []int{1} } func (m *FileInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileInfo.Unmarshal(m, b) @@ -159,7 +159,7 @@ func (m *ContainerInfo) Reset() { *m = ContainerInfo{} } func (m *ContainerInfo) String() string { return proto.CompactTextString(m) } func (*ContainerInfo) ProtoMessage() {} func (*ContainerInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_deploy_4315ed212549d9c2, []int{2} + return fileDescriptor_deploy_ed99bebbe4262e1c, []int{2} } func (m *ContainerInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContainerInfo.Unmarshal(m, b) @@ -204,7 +204,7 @@ func (m *ZipInfo) Reset() { *m = ZipInfo{} } func (m *ZipInfo) String() string { return proto.CompactTextString(m) } func (*ZipInfo) ProtoMessage() {} func (*ZipInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_deploy_4315ed212549d9c2, []int{3} + return fileDescriptor_deploy_ed99bebbe4262e1c, []int{3} } func (m *ZipInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ZipInfo.Unmarshal(m, b) @@ -247,10 +247,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor_deploy_4315ed212549d9c2) + proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor_deploy_ed99bebbe4262e1c) } -var fileDescriptor_deploy_4315ed212549d9c2 = []byte{ +var fileDescriptor_deploy_ed99bebbe4262e1c = []byte{ // 394 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0xab, 0xd3, 0x30, 0x14, 0xc6, 0xe9, 0x6a, 0xbd, 0xeb, 0x29, 0x82, 0x44, 0xc1, 0x7a, 0xbd, 0x17, 0x4b, 0x41, 0x28, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go index f49ecb060..f3680dcbd 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go @@ -44,7 +44,7 @@ func (x Instance_Availability) String() string { return proto.EnumName(Instance_Availability_name, int32(x)) } func (Instance_Availability) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_bc3f8ddbcc553cc8, []int{0, 0} + return fileDescriptor_instance_899688eaafc2a354, []int{0, 0} } // An Instance resource is the computing unit that App Engine uses to @@ -126,7 +126,7 @@ func (m *Instance) Reset() { *m = Instance{} } func (m *Instance) String() string { return proto.CompactTextString(m) } func (*Instance) ProtoMessage() {} func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_bc3f8ddbcc553cc8, []int{0} + return fileDescriptor_instance_899688eaafc2a354, []int{0} } func (m *Instance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Instance.Unmarshal(m, b) @@ -257,10 +257,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor_instance_bc3f8ddbcc553cc8) + proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor_instance_899688eaafc2a354) } -var fileDescriptor_instance_bc3f8ddbcc553cc8 = []byte{ +var fileDescriptor_instance_899688eaafc2a354 = []byte{ // 521 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x6b, 0xdb, 0x3c, 0x14, 0x7e, 0x9d, 0xb6, 0xa9, 0x73, 0xe2, 0x26, 0x46, 0x85, 0xb7, 0x22, 0x1b, 0xcc, 0xcb, 0xcd, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go index bd533eac5..357dc7996 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go @@ -39,7 +39,7 @@ func (m *LocationMetadata) Reset() { *m = LocationMetadata{} } func (m *LocationMetadata) String() string { return proto.CompactTextString(m) } func (*LocationMetadata) ProtoMessage() {} func (*LocationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_location_918582c9118eba92, []int{0} + return fileDescriptor_location_22ad68e45e4328c7, []int{0} } func (m *LocationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationMetadata.Unmarshal(m, b) @@ -78,10 +78,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor_location_918582c9118eba92) + proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor_location_22ad68e45e4328c7) } -var fileDescriptor_location_918582c9118eba92 = []byte{ +var fileDescriptor_location_22ad68e45e4328c7 = []byte{ // 236 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xc3, 0x40, 0x10, 0x85, 0x89, 0x88, 0x48, 0x40, 0x90, 0x7a, 0xb0, 0x94, 0x22, 0xd2, 0x93, 0xa7, 0x5d, 0x8a, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go index 35c9f93d6..869123ac2 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go @@ -53,7 +53,7 @@ func (m *OperationMetadataV1) Reset() { *m = OperationMetadataV1{} } func (m *OperationMetadataV1) String() string { return proto.CompactTextString(m) } func (*OperationMetadataV1) ProtoMessage() {} func (*OperationMetadataV1) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_36967d516792e86c, []int{0} + return fileDescriptor_operation_b53f7e8fb6160f01, []int{0} } func (m *OperationMetadataV1) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadataV1.Unmarshal(m, b) @@ -113,10 +113,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor_operation_36967d516792e86c) + proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor_operation_b53f7e8fb6160f01) } -var fileDescriptor_operation_36967d516792e86c = []byte{ +var fileDescriptor_operation_b53f7e8fb6160f01 = []byte{ // 271 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0x03, 0x31, 0x10, 0x85, 0x59, 0xad, 0x55, 0x53, 0xf0, 0xb0, 0x05, 0x5d, 0x16, 0xc1, 0xa2, 0x97, 0x9e, 0x12, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go index 6decdae3b..379a4e17f 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go @@ -48,7 +48,7 @@ func (x TrafficSplit_ShardBy) String() string { return proto.EnumName(TrafficSplit_ShardBy_name, int32(x)) } func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_service_a8237d316e866320, []int{1, 0} + return fileDescriptor_service_c3b4fd6114e9d0a5, []int{1, 0} } // A Service resource is a logical component of an application that can share @@ -81,7 +81,7 @@ func (m *Service) Reset() { *m = Service{} } func (m *Service) String() string { return proto.CompactTextString(m) } func (*Service) ProtoMessage() {} func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_service_a8237d316e866320, []int{0} + return fileDescriptor_service_c3b4fd6114e9d0a5, []int{0} } func (m *Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Service.Unmarshal(m, b) @@ -147,7 +147,7 @@ func (m *TrafficSplit) Reset() { *m = TrafficSplit{} } func (m *TrafficSplit) String() string { return proto.CompactTextString(m) } func (*TrafficSplit) ProtoMessage() {} func (*TrafficSplit) Descriptor() ([]byte, []int) { - return fileDescriptor_service_a8237d316e866320, []int{1} + return fileDescriptor_service_c3b4fd6114e9d0a5, []int{1} } func (m *TrafficSplit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TrafficSplit.Unmarshal(m, b) @@ -189,10 +189,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor_service_a8237d316e866320) + proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor_service_c3b4fd6114e9d0a5) } -var fileDescriptor_service_a8237d316e866320 = []byte{ +var fileDescriptor_service_c3b4fd6114e9d0a5 = []byte{ // 356 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x51, 0x8b, 0xda, 0x40, 0x10, 0xc7, 0x9b, 0xb5, 0x6a, 0x3b, 0x11, 0x1b, 0xb6, 0x85, 0x06, 0xe9, 0x83, 0xfa, 0x64, 0x5f, diff --git a/vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go b/vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go index 8c04ac570..b5fe2ae9d 100644 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go @@ -73,7 +73,7 @@ func (x InboundServiceType) String() string { return proto.EnumName(InboundServiceType_name, int32(x)) } func (InboundServiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{0} + return fileDescriptor_version_8b240e3827c1f1f0, []int{0} } // Run states of a version. @@ -106,7 +106,7 @@ func (x ServingStatus) String() string { return proto.EnumName(ServingStatus_name, int32(x)) } func (ServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{1} + return fileDescriptor_version_8b240e3827c1f1f0, []int{1} } // A Version resource is a specific set of source code and configuration files @@ -235,7 +235,7 @@ func (m *Version) Reset() { *m = Version{} } func (m *Version) String() string { return proto.CompactTextString(m) } func (*Version) ProtoMessage() {} func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{0} + return fileDescriptor_version_8b240e3827c1f1f0, []int{0} } func (m *Version) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Version.Unmarshal(m, b) @@ -255,6 +255,20 @@ func (m *Version) XXX_DiscardUnknown() { var xxx_messageInfo_Version proto.InternalMessageInfo +func (m *Version) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Version) GetId() string { + if m != nil { + return m.Id + } + return "" +} + type isVersion_Scaling interface { isVersion_Scaling() } @@ -262,16 +276,20 @@ type isVersion_Scaling interface { type Version_AutomaticScaling struct { AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,proto3,oneof"` } + type Version_BasicScaling struct { BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,proto3,oneof"` } + type Version_ManualScaling struct { ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,proto3,oneof"` } func (*Version_AutomaticScaling) isVersion_Scaling() {} -func (*Version_BasicScaling) isVersion_Scaling() {} -func (*Version_ManualScaling) isVersion_Scaling() {} + +func (*Version_BasicScaling) isVersion_Scaling() {} + +func (*Version_ManualScaling) isVersion_Scaling() {} func (m *Version) GetScaling() isVersion_Scaling { if m != nil { @@ -280,20 +298,6 @@ func (m *Version) GetScaling() isVersion_Scaling { return nil } -func (m *Version) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Version) GetId() string { - if m != nil { - return m.Id - } - return "" -} - func (m *Version) GetAutomaticScaling() *AutomaticScaling { if x, ok := m.GetScaling().(*Version_AutomaticScaling); ok { return x.AutomaticScaling @@ -615,7 +619,7 @@ func (m *AutomaticScaling) Reset() { *m = AutomaticScaling{} } func (m *AutomaticScaling) String() string { return proto.CompactTextString(m) } func (*AutomaticScaling) ProtoMessage() {} func (*AutomaticScaling) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{1} + return fileDescriptor_version_8b240e3827c1f1f0, []int{1} } func (m *AutomaticScaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AutomaticScaling.Unmarshal(m, b) @@ -738,7 +742,7 @@ func (m *BasicScaling) Reset() { *m = BasicScaling{} } func (m *BasicScaling) String() string { return proto.CompactTextString(m) } func (*BasicScaling) ProtoMessage() {} func (*BasicScaling) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{2} + return fileDescriptor_version_8b240e3827c1f1f0, []int{2} } func (m *BasicScaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BasicScaling.Unmarshal(m, b) @@ -789,7 +793,7 @@ func (m *ManualScaling) Reset() { *m = ManualScaling{} } func (m *ManualScaling) String() string { return proto.CompactTextString(m) } func (*ManualScaling) ProtoMessage() {} func (*ManualScaling) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{3} + return fileDescriptor_version_8b240e3827c1f1f0, []int{3} } func (m *ManualScaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManualScaling.Unmarshal(m, b) @@ -832,7 +836,7 @@ func (m *CpuUtilization) Reset() { *m = CpuUtilization{} } func (m *CpuUtilization) String() string { return proto.CompactTextString(m) } func (*CpuUtilization) ProtoMessage() {} func (*CpuUtilization) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{4} + return fileDescriptor_version_8b240e3827c1f1f0, []int{4} } func (m *CpuUtilization) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CpuUtilization.Unmarshal(m, b) @@ -881,7 +885,7 @@ func (m *RequestUtilization) Reset() { *m = RequestUtilization{} } func (m *RequestUtilization) String() string { return proto.CompactTextString(m) } func (*RequestUtilization) ProtoMessage() {} func (*RequestUtilization) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{5} + return fileDescriptor_version_8b240e3827c1f1f0, []int{5} } func (m *RequestUtilization) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestUtilization.Unmarshal(m, b) @@ -934,7 +938,7 @@ func (m *DiskUtilization) Reset() { *m = DiskUtilization{} } func (m *DiskUtilization) String() string { return proto.CompactTextString(m) } func (*DiskUtilization) ProtoMessage() {} func (*DiskUtilization) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{6} + return fileDescriptor_version_8b240e3827c1f1f0, []int{6} } func (m *DiskUtilization) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiskUtilization.Unmarshal(m, b) @@ -1001,7 +1005,7 @@ func (m *NetworkUtilization) Reset() { *m = NetworkUtilization{} } func (m *NetworkUtilization) String() string { return proto.CompactTextString(m) } func (*NetworkUtilization) ProtoMessage() {} func (*NetworkUtilization) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{7} + return fileDescriptor_version_8b240e3827c1f1f0, []int{7} } func (m *NetworkUtilization) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkUtilization.Unmarshal(m, b) @@ -1070,7 +1074,7 @@ func (m *Network) Reset() { *m = Network{} } func (m *Network) String() string { return proto.CompactTextString(m) } func (*Network) ProtoMessage() {} func (*Network) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{8} + return fileDescriptor_version_8b240e3827c1f1f0, []int{8} } func (m *Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Network.Unmarshal(m, b) @@ -1128,7 +1132,7 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_version_125cc638d6fdf8ad, []int{9} + return fileDescriptor_version_8b240e3827c1f1f0, []int{9} } func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) @@ -1187,10 +1191,10 @@ func init() { } func init() { - proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor_version_125cc638d6fdf8ad) + proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor_version_8b240e3827c1f1f0) } -var fileDescriptor_version_125cc638d6fdf8ad = []byte{ +var fileDescriptor_version_8b240e3827c1f1f0 = []byte{ // 1767 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x5d, 0x73, 0xdb, 0xc6, 0x15, 0x0d, 0x29, 0x4b, 0x14, 0x2f, 0x3f, 0x04, 0xad, 0xd3, 0x08, 0x96, 0x64, 0x89, 0x66, 0x92, diff --git a/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go b/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go index 3f8e8f2cb..f659783b9 100644 --- a/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go @@ -60,7 +60,7 @@ func (x AudioInConfig_Encoding) String() string { return proto.EnumName(AudioInConfig_Encoding_name, int32(x)) } func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{1, 0} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{1, 0} } // Audio encoding of the data returned in the audio message. All encodings are @@ -98,7 +98,7 @@ func (x AudioOutConfig_Encoding) String() string { return proto.EnumName(AudioOutConfig_Encoding_name, int32(x)) } func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{2, 0} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{2, 0} } // Possible states of the microphone after a `Converse` RPC completes. @@ -131,7 +131,7 @@ func (x ConverseResult_MicrophoneMode) String() string { return proto.EnumName(ConverseResult_MicrophoneMode_name, int32(x)) } func (ConverseResult_MicrophoneMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{5, 0} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{5, 0} } // Indicates the type of event. @@ -162,7 +162,7 @@ func (x ConverseResponse_EventType) String() string { return proto.EnumName(ConverseResponse_EventType_name, int32(x)) } func (ConverseResponse_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{7, 0} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{7, 0} } // Specifies how to process the `ConverseRequest` messages. @@ -182,7 +182,7 @@ func (m *ConverseConfig) Reset() { *m = ConverseConfig{} } func (m *ConverseConfig) String() string { return proto.CompactTextString(m) } func (*ConverseConfig) ProtoMessage() {} func (*ConverseConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{0} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{0} } func (m *ConverseConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConverseConfig.Unmarshal(m, b) @@ -244,7 +244,7 @@ func (m *AudioInConfig) Reset() { *m = AudioInConfig{} } func (m *AudioInConfig) String() string { return proto.CompactTextString(m) } func (*AudioInConfig) ProtoMessage() {} func (*AudioInConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{1} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{1} } func (m *AudioInConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioInConfig.Unmarshal(m, b) @@ -299,7 +299,7 @@ func (m *AudioOutConfig) Reset() { *m = AudioOutConfig{} } func (m *AudioOutConfig) String() string { return proto.CompactTextString(m) } func (*AudioOutConfig) ProtoMessage() {} func (*AudioOutConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{2} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{2} } func (m *AudioOutConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioOutConfig.Unmarshal(m, b) @@ -357,7 +357,7 @@ func (m *ConverseState) Reset() { *m = ConverseState{} } func (m *ConverseState) String() string { return proto.CompactTextString(m) } func (*ConverseState) ProtoMessage() {} func (*ConverseState) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{3} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{3} } func (m *ConverseState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConverseState.Unmarshal(m, b) @@ -400,7 +400,7 @@ func (m *AudioOut) Reset() { *m = AudioOut{} } func (m *AudioOut) String() string { return proto.CompactTextString(m) } func (*AudioOut) ProtoMessage() {} func (*AudioOut) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{4} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{4} } func (m *AudioOut) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioOut.Unmarshal(m, b) @@ -462,7 +462,7 @@ func (m *ConverseResult) Reset() { *m = ConverseResult{} } func (m *ConverseResult) String() string { return proto.CompactTextString(m) } func (*ConverseResult) ProtoMessage() {} func (*ConverseResult) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{5} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{5} } func (m *ConverseResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConverseResult.Unmarshal(m, b) @@ -538,7 +538,7 @@ func (m *ConverseRequest) Reset() { *m = ConverseRequest{} } func (m *ConverseRequest) String() string { return proto.CompactTextString(m) } func (*ConverseRequest) ProtoMessage() {} func (*ConverseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{6} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{6} } func (m *ConverseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConverseRequest.Unmarshal(m, b) @@ -565,11 +565,13 @@ type isConverseRequest_ConverseRequest interface { type ConverseRequest_Config struct { Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"` } + type ConverseRequest_AudioIn struct { AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"` } -func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {} +func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {} + func (*ConverseRequest_AudioIn) isConverseRequest_ConverseRequest() {} func (m *ConverseRequest) GetConverseRequest() isConverseRequest_ConverseRequest { @@ -683,7 +685,7 @@ func (m *ConverseResponse) Reset() { *m = ConverseResponse{} } func (m *ConverseResponse) String() string { return proto.CompactTextString(m) } func (*ConverseResponse) ProtoMessage() {} func (*ConverseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_725491da2da8de4c, []int{7} + return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{7} } func (m *ConverseResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConverseResponse.Unmarshal(m, b) @@ -710,20 +712,26 @@ type isConverseResponse_ConverseResponse interface { type ConverseResponse_Error struct { Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3,oneof"` } + type ConverseResponse_EventType_ struct { EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"` } + type ConverseResponse_AudioOut struct { AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3,oneof"` } + type ConverseResponse_Result struct { Result *ConverseResult `protobuf:"bytes,5,opt,name=result,proto3,oneof"` } -func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {} +func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {} + func (*ConverseResponse_EventType_) isConverseResponse_ConverseResponse() {} -func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {} -func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {} + +func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {} + +func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {} func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResponse { if m != nil { @@ -1069,10 +1077,10 @@ var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor_embedded_assistant_725491da2da8de4c) + proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor_embedded_assistant_1e1f50e651d7eaee) } -var fileDescriptor_embedded_assistant_725491da2da8de4c = []byte{ +var fileDescriptor_embedded_assistant_1e1f50e651d7eaee = []byte{ // 892 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x51, 0x73, 0xdb, 0x44, 0x10, 0xb6, 0xec, 0xa6, 0xb5, 0xb7, 0x89, 0x2c, 0x5f, 0x33, 0x90, 0x49, 0x61, 0x60, 0xf4, 0xc0, diff --git a/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2/embedded_assistant.pb.go b/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2/embedded_assistant.pb.go index d6f628ef1..83044e5ec 100644 --- a/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2/embedded_assistant.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2/embedded_assistant.pb.go @@ -53,7 +53,7 @@ func (x AssistResponse_EventType) String() string { return proto.EnumName(AssistResponse_EventType_name, int32(x)) } func (AssistResponse_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{1, 0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{1, 0} } // Audio encoding of the data sent in the audio message. @@ -91,7 +91,7 @@ func (x AudioInConfig_Encoding) String() string { return proto.EnumName(AudioInConfig_Encoding_name, int32(x)) } func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{4, 0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{4, 0} } // Audio encoding of the data returned in the audio message. All encodings are @@ -129,7 +129,7 @@ func (x AudioOutConfig_Encoding) String() string { return proto.EnumName(AudioOutConfig_Encoding_name, int32(x)) } func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{5, 0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{5, 0} } // Possible modes for visual screen-output on the device. @@ -155,15 +155,15 @@ var ScreenOutConfig_ScreenMode_name = map[int32]string{ } var ScreenOutConfig_ScreenMode_value = map[string]int32{ "SCREEN_MODE_UNSPECIFIED": 0, - "OFF": 1, - "PLAYING": 3, + "OFF": 1, + "PLAYING": 3, } func (x ScreenOutConfig_ScreenMode) String() string { return proto.EnumName(ScreenOutConfig_ScreenMode_name, int32(x)) } func (ScreenOutConfig_ScreenMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{6, 0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{6, 0} } // Possible formats of the screen data. @@ -192,7 +192,7 @@ func (x ScreenOut_Format) String() string { return proto.EnumName(ScreenOut_Format_name, int32(x)) } func (ScreenOut_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{10, 0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{10, 0} } // Possible states of the microphone after a `Assist` RPC completes. @@ -225,7 +225,7 @@ func (x DialogStateOut_MicrophoneMode) String() string { return proto.EnumName(DialogStateOut_MicrophoneMode_name, int32(x)) } func (DialogStateOut_MicrophoneMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{13, 0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{13, 0} } // The top-level message sent by the client. Clients must send at least two, and @@ -249,7 +249,7 @@ func (m *AssistRequest) Reset() { *m = AssistRequest{} } func (m *AssistRequest) String() string { return proto.CompactTextString(m) } func (*AssistRequest) ProtoMessage() {} func (*AssistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{0} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{0} } func (m *AssistRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AssistRequest.Unmarshal(m, b) @@ -276,11 +276,13 @@ type isAssistRequest_Type interface { type AssistRequest_Config struct { Config *AssistConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"` } + type AssistRequest_AudioIn struct { AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"` } -func (*AssistRequest_Config) isAssistRequest_Type() {} +func (*AssistRequest_Config) isAssistRequest_Type() {} + func (*AssistRequest_AudioIn) isAssistRequest_Type() {} func (m *AssistRequest) GetType() isAssistRequest_Type { @@ -408,7 +410,7 @@ func (m *AssistResponse) Reset() { *m = AssistResponse{} } func (m *AssistResponse) String() string { return proto.CompactTextString(m) } func (*AssistResponse) ProtoMessage() {} func (*AssistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{1} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{1} } func (m *AssistResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AssistResponse.Unmarshal(m, b) @@ -495,7 +497,7 @@ func (m *DebugInfo) Reset() { *m = DebugInfo{} } func (m *DebugInfo) String() string { return proto.CompactTextString(m) } func (*DebugInfo) ProtoMessage() {} func (*DebugInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{2} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{2} } func (m *DebugInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugInfo.Unmarshal(m, b) @@ -548,7 +550,7 @@ func (m *AssistConfig) Reset() { *m = AssistConfig{} } func (m *AssistConfig) String() string { return proto.CompactTextString(m) } func (*AssistConfig) ProtoMessage() {} func (*AssistConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{3} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{3} } func (m *AssistConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AssistConfig.Unmarshal(m, b) @@ -575,12 +577,14 @@ type isAssistConfig_Type interface { type AssistConfig_AudioInConfig struct { AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3,oneof"` } + type AssistConfig_TextQuery struct { TextQuery string `protobuf:"bytes,6,opt,name=text_query,json=textQuery,proto3,oneof"` } func (*AssistConfig_AudioInConfig) isAssistConfig_Type() {} -func (*AssistConfig_TextQuery) isAssistConfig_Type() {} + +func (*AssistConfig_TextQuery) isAssistConfig_Type() {} func (m *AssistConfig) GetType() isAssistConfig_Type { if m != nil { @@ -729,7 +733,7 @@ func (m *AudioInConfig) Reset() { *m = AudioInConfig{} } func (m *AudioInConfig) String() string { return proto.CompactTextString(m) } func (*AudioInConfig) ProtoMessage() {} func (*AudioInConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{4} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{4} } func (m *AudioInConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioInConfig.Unmarshal(m, b) @@ -784,7 +788,7 @@ func (m *AudioOutConfig) Reset() { *m = AudioOutConfig{} } func (m *AudioOutConfig) String() string { return proto.CompactTextString(m) } func (*AudioOutConfig) ProtoMessage() {} func (*AudioOutConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{5} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{5} } func (m *AudioOutConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioOutConfig.Unmarshal(m, b) @@ -839,7 +843,7 @@ func (m *ScreenOutConfig) Reset() { *m = ScreenOutConfig{} } func (m *ScreenOutConfig) String() string { return proto.CompactTextString(m) } func (*ScreenOutConfig) ProtoMessage() {} func (*ScreenOutConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{6} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{6} } func (m *ScreenOutConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScreenOutConfig.Unmarshal(m, b) @@ -898,7 +902,7 @@ func (m *DialogStateIn) Reset() { *m = DialogStateIn{} } func (m *DialogStateIn) String() string { return proto.CompactTextString(m) } func (*DialogStateIn) ProtoMessage() {} func (*DialogStateIn) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{7} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{7} } func (m *DialogStateIn) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DialogStateIn.Unmarshal(m, b) @@ -978,7 +982,7 @@ func (m *DeviceConfig) Reset() { *m = DeviceConfig{} } func (m *DeviceConfig) String() string { return proto.CompactTextString(m) } func (*DeviceConfig) ProtoMessage() {} func (*DeviceConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{8} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{8} } func (m *DeviceConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceConfig.Unmarshal(m, b) @@ -1028,7 +1032,7 @@ func (m *AudioOut) Reset() { *m = AudioOut{} } func (m *AudioOut) String() string { return proto.CompactTextString(m) } func (*AudioOut) ProtoMessage() {} func (*AudioOut) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{9} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{9} } func (m *AudioOut) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioOut.Unmarshal(m, b) @@ -1072,7 +1076,7 @@ func (m *ScreenOut) Reset() { *m = ScreenOut{} } func (m *ScreenOut) String() string { return proto.CompactTextString(m) } func (*ScreenOut) ProtoMessage() {} func (*ScreenOut) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{10} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{10} } func (m *ScreenOut) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScreenOut.Unmarshal(m, b) @@ -1125,7 +1129,7 @@ func (m *DeviceAction) Reset() { *m = DeviceAction{} } func (m *DeviceAction) String() string { return proto.CompactTextString(m) } func (*DeviceAction) ProtoMessage() {} func (*DeviceAction) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{11} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{11} } func (m *DeviceAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceAction.Unmarshal(m, b) @@ -1171,7 +1175,7 @@ func (m *SpeechRecognitionResult) Reset() { *m = SpeechRecognitionResult func (m *SpeechRecognitionResult) String() string { return proto.CompactTextString(m) } func (*SpeechRecognitionResult) ProtoMessage() {} func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{12} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{12} } func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b) @@ -1242,7 +1246,7 @@ func (m *DialogStateOut) Reset() { *m = DialogStateOut{} } func (m *DialogStateOut) String() string { return proto.CompactTextString(m) } func (*DialogStateOut) ProtoMessage() {} func (*DialogStateOut) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{13} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{13} } func (m *DialogStateOut) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DialogStateOut.Unmarshal(m, b) @@ -1305,7 +1309,7 @@ func (m *DebugConfig) Reset() { *m = DebugConfig{} } func (m *DebugConfig) String() string { return proto.CompactTextString(m) } func (*DebugConfig) ProtoMessage() {} func (*DebugConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{14} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{14} } func (m *DebugConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugConfig.Unmarshal(m, b) @@ -1353,7 +1357,7 @@ func (m *DeviceLocation) Reset() { *m = DeviceLocation{} } func (m *DeviceLocation) String() string { return proto.CompactTextString(m) } func (*DeviceLocation) ProtoMessage() {} func (*DeviceLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_embedded_assistant_05ddb96ecb73e493, []int{15} + return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{15} } func (m *DeviceLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceLocation.Unmarshal(m, b) @@ -1668,10 +1672,10 @@ var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/assistant/embedded/v1alpha2/embedded_assistant.proto", fileDescriptor_embedded_assistant_05ddb96ecb73e493) + proto.RegisterFile("google/assistant/embedded/v1alpha2/embedded_assistant.proto", fileDescriptor_embedded_assistant_ff6c99435b909ee5) } -var fileDescriptor_embedded_assistant_05ddb96ecb73e493 = []byte{ +var fileDescriptor_embedded_assistant_ff6c99435b909ee5 = []byte{ // 1449 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x41, 0x73, 0xdb, 0xc6, 0x15, 0x16, 0x28, 0x8a, 0x22, 0x1f, 0x29, 0x92, 0x5a, 0x7b, 0x6c, 0x56, 0x72, 0x6b, 0x0d, 0x3a, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go index f6feb845c..77c88bbc7 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go @@ -48,7 +48,7 @@ func (x StorageType) String() string { return proto.EnumName(StorageType_name, int32(x)) } func (StorageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_data_9c907aaf773fda68, []int{0} + return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0} } // Possible states of a zone. @@ -72,8 +72,8 @@ var Zone_Status_name = map[int32]string{ 3: "EMERGENCY_MAINENANCE", } var Zone_Status_value = map[string]int32{ - "UNKNOWN": 0, - "OK": 1, + "UNKNOWN": 0, + "OK": 1, "PLANNED_MAINTENANCE": 2, "EMERGENCY_MAINENANCE": 3, } @@ -82,7 +82,7 @@ func (x Zone_Status) String() string { return proto.EnumName(Zone_Status_name, int32(x)) } func (Zone_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_data_9c907aaf773fda68, []int{0, 0} + return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0, 0} } // A physical location in which a particular project can allocate Cloud BigTable @@ -104,7 +104,7 @@ func (m *Zone) Reset() { *m = Zone{} } func (m *Zone) String() string { return proto.CompactTextString(m) } func (*Zone) ProtoMessage() {} func (*Zone) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_data_9c907aaf773fda68, []int{0} + return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0} } func (m *Zone) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Zone.Unmarshal(m, b) @@ -174,7 +174,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_data_9c907aaf773fda68, []int{1} + return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{1} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -237,10 +237,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor_bigtable_cluster_data_9c907aaf773fda68) + proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701) } -var fileDescriptor_bigtable_cluster_data_9c907aaf773fda68 = []byte{ +var fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701 = []byte{ // 493 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x6e, 0xd3, 0x3c, 0x1c, 0xc5, 0x97, 0xae, 0xeb, 0xbe, 0xcf, 0x41, 0x10, 0xcc, 0x24, 0xa2, 0x09, 0xb4, 0x52, 0xb8, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service.pb.go index 63b9e78dc..518d8afc4 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service.pb.go @@ -437,10 +437,10 @@ var _BigtableClusterService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", fileDescriptor_bigtable_cluster_service_0c0fc60186b5f883) + proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", fileDescriptor_bigtable_cluster_service_eb6b3340e63f14bc) } -var fileDescriptor_bigtable_cluster_service_0c0fc60186b5f883 = []byte{ +var fileDescriptor_bigtable_cluster_service_eb6b3340e63f14bc = []byte{ // 515 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4f, 0x6b, 0x14, 0x31, 0x18, 0xc6, 0x89, 0x07, 0xa1, 0xc1, 0x45, 0xc8, 0xa1, 0x87, 0x6d, 0x0b, 0x32, 0x15, 0xb1, 0x23, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pb.go index 79bd5491c..79aaea169 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pb.go @@ -34,7 +34,7 @@ func (m *ListZonesRequest) Reset() { *m = ListZonesRequest{} } func (m *ListZonesRequest) String() string { return proto.CompactTextString(m) } func (*ListZonesRequest) ProtoMessage() {} func (*ListZonesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{0} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{0} } func (m *ListZonesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListZonesRequest.Unmarshal(m, b) @@ -74,7 +74,7 @@ func (m *ListZonesResponse) Reset() { *m = ListZonesResponse{} } func (m *ListZonesResponse) String() string { return proto.CompactTextString(m) } func (*ListZonesResponse) ProtoMessage() {} func (*ListZonesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{1} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{1} } func (m *ListZonesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListZonesResponse.Unmarshal(m, b) @@ -115,7 +115,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{2} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{2} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -156,7 +156,7 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{3} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{3} } func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) @@ -198,7 +198,7 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{4} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{4} } func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) @@ -254,7 +254,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{5} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{5} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -313,7 +313,7 @@ func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*CreateClusterMetadata) ProtoMessage() {} func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{6} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{6} } func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) @@ -376,7 +376,7 @@ func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterMetadata) ProtoMessage() {} func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{7} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{7} } func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) @@ -438,7 +438,7 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{8} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{8} } func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) @@ -479,7 +479,7 @@ func (m *UndeleteClusterRequest) Reset() { *m = UndeleteClusterRequest{} func (m *UndeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*UndeleteClusterRequest) ProtoMessage() {} func (*UndeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{9} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{9} } func (m *UndeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteClusterRequest.Unmarshal(m, b) @@ -522,7 +522,7 @@ func (m *UndeleteClusterMetadata) Reset() { *m = UndeleteClusterMetadata func (m *UndeleteClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UndeleteClusterMetadata) ProtoMessage() {} func (*UndeleteClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{10} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{10} } func (m *UndeleteClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteClusterMetadata.Unmarshal(m, b) @@ -568,7 +568,7 @@ func (m *V2OperationMetadata) Reset() { *m = V2OperationMetadata{} } func (m *V2OperationMetadata) String() string { return proto.CompactTextString(m) } func (*V2OperationMetadata) ProtoMessage() {} func (*V2OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1, []int{11} + return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{11} } func (m *V2OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_V2OperationMetadata.Unmarshal(m, b) @@ -604,10 +604,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto", fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1) + proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto", fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3) } -var fileDescriptor_bigtable_cluster_service_messages_0da601371e04efd1 = []byte{ +var fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3 = []byte{ // 541 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x40, 0x10, 0xd5, 0x26, 0xe5, 0xa3, 0xe3, 0x4a, 0xb4, 0x6e, 0x02, 0x51, 0x24, 0x44, 0x64, 0x50, 0x69, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_data.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_data.pb.go index 518b8a619..55f1cfd26 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_data.pb.go @@ -37,7 +37,7 @@ func (x Table_TimestampGranularity) String() string { return proto.EnumName(Table_TimestampGranularity_name, int32(x)) } func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_data_08861a68019dc58b, []int{0, 0} + return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{0, 0} } // A collection of user data indexed by row, column, and timestamp. @@ -65,7 +65,7 @@ func (m *Table) Reset() { *m = Table{} } func (m *Table) String() string { return proto.CompactTextString(m) } func (*Table) ProtoMessage() {} func (*Table) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_data_08861a68019dc58b, []int{0} + return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{0} } func (m *Table) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Table.Unmarshal(m, b) @@ -162,7 +162,7 @@ func (m *ColumnFamily) Reset() { *m = ColumnFamily{} } func (m *ColumnFamily) String() string { return proto.CompactTextString(m) } func (*ColumnFamily) ProtoMessage() {} func (*ColumnFamily) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_data_08861a68019dc58b, []int{1} + return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{1} } func (m *ColumnFamily) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColumnFamily.Unmarshal(m, b) @@ -220,7 +220,7 @@ func (m *GcRule) Reset() { *m = GcRule{} } func (m *GcRule) String() string { return proto.CompactTextString(m) } func (*GcRule) ProtoMessage() {} func (*GcRule) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_data_08861a68019dc58b, []int{2} + return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{2} } func (m *GcRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcRule.Unmarshal(m, b) @@ -247,20 +247,26 @@ type isGcRule_Rule interface { type GcRule_MaxNumVersions struct { MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,proto3,oneof"` } + type GcRule_MaxAge struct { MaxAge *duration.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"` } + type GcRule_Intersection_ struct { Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,proto3,oneof"` } + type GcRule_Union_ struct { Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,proto3,oneof"` } func (*GcRule_MaxNumVersions) isGcRule_Rule() {} -func (*GcRule_MaxAge) isGcRule_Rule() {} -func (*GcRule_Intersection_) isGcRule_Rule() {} -func (*GcRule_Union_) isGcRule_Rule() {} + +func (*GcRule_MaxAge) isGcRule_Rule() {} + +func (*GcRule_Intersection_) isGcRule_Rule() {} + +func (*GcRule_Union_) isGcRule_Rule() {} func (m *GcRule) GetRule() isGcRule_Rule { if m != nil { @@ -417,7 +423,7 @@ func (m *GcRule_Intersection) Reset() { *m = GcRule_Intersection{} } func (m *GcRule_Intersection) String() string { return proto.CompactTextString(m) } func (*GcRule_Intersection) ProtoMessage() {} func (*GcRule_Intersection) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_data_08861a68019dc58b, []int{2, 0} + return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{2, 0} } func (m *GcRule_Intersection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcRule_Intersection.Unmarshal(m, b) @@ -457,7 +463,7 @@ func (m *GcRule_Union) Reset() { *m = GcRule_Union{} } func (m *GcRule_Union) String() string { return proto.CompactTextString(m) } func (*GcRule_Union) ProtoMessage() {} func (*GcRule_Union) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_data_08861a68019dc58b, []int{2, 1} + return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{2, 1} } func (m *GcRule_Union) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcRule_Union.Unmarshal(m, b) @@ -495,10 +501,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_data.proto", fileDescriptor_bigtable_table_data_08861a68019dc58b) + proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_data.proto", fileDescriptor_bigtable_table_data_021ea70d03a8dd36) } -var fileDescriptor_bigtable_table_data_08861a68019dc58b = []byte{ +var fileDescriptor_bigtable_table_data_021ea70d03a8dd36 = []byte{ // 579 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x61, 0x6b, 0xd3, 0x40, 0x18, 0xc7, 0x9b, 0xa5, 0xed, 0xd8, 0xb3, 0x3a, 0xeb, 0x29, 0x52, 0x0b, 0x4a, 0xc9, 0x40, 0x8a, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service.pb.go index 6f9519bae..dcbc7f4fe 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service.pb.go @@ -386,10 +386,10 @@ var _BigtableTableService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service.proto", fileDescriptor_bigtable_table_service_7fbaa76901b41006) + proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service.proto", fileDescriptor_bigtable_table_service_077fd6962a736aed) } -var fileDescriptor_bigtable_table_service_7fbaa76901b41006 = []byte{ +var fileDescriptor_bigtable_table_service_077fd6962a736aed = []byte{ // 560 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xbf, 0x6f, 0xd4, 0x30, 0x14, 0xc7, 0x65, 0x06, 0x84, 0x7c, 0x88, 0xc1, 0x42, 0x0c, 0x07, 0x62, 0x88, 0xc4, 0x12, 0xa1, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service_messages.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service_messages.pb.go index b3bb6d141..bff6399aa 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service_messages.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service_messages.pb.go @@ -52,7 +52,7 @@ func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} } func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) } func (*CreateTableRequest) ProtoMessage() {} func (*CreateTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{0} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{0} } func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b) @@ -112,7 +112,7 @@ func (m *ListTablesRequest) Reset() { *m = ListTablesRequest{} } func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) } func (*ListTablesRequest) ProtoMessage() {} func (*ListTablesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{1} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{1} } func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b) @@ -152,7 +152,7 @@ func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} } func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) } func (*ListTablesResponse) ProtoMessage() {} func (*ListTablesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{2} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{2} } func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b) @@ -191,7 +191,7 @@ func (m *GetTableRequest) Reset() { *m = GetTableRequest{} } func (m *GetTableRequest) String() string { return proto.CompactTextString(m) } func (*GetTableRequest) ProtoMessage() {} func (*GetTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{3} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{3} } func (m *GetTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTableRequest.Unmarshal(m, b) @@ -230,7 +230,7 @@ func (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} } func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTableRequest) ProtoMessage() {} func (*DeleteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{4} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{4} } func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b) @@ -272,7 +272,7 @@ func (m *RenameTableRequest) Reset() { *m = RenameTableRequest{} } func (m *RenameTableRequest) String() string { return proto.CompactTextString(m) } func (*RenameTableRequest) ProtoMessage() {} func (*RenameTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{5} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{5} } func (m *RenameTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RenameTableRequest.Unmarshal(m, b) @@ -323,7 +323,7 @@ func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyReq func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) } func (*CreateColumnFamilyRequest) ProtoMessage() {} func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{6} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{6} } func (m *CreateColumnFamilyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateColumnFamilyRequest.Unmarshal(m, b) @@ -376,7 +376,7 @@ func (m *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyReq func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteColumnFamilyRequest) ProtoMessage() {} func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{7} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{7} } func (m *DeleteColumnFamilyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteColumnFamilyRequest.Unmarshal(m, b) @@ -419,7 +419,7 @@ func (m *BulkDeleteRowsRequest) Reset() { *m = BulkDeleteRowsRequest{} } func (m *BulkDeleteRowsRequest) String() string { return proto.CompactTextString(m) } func (*BulkDeleteRowsRequest) ProtoMessage() {} func (*BulkDeleteRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_service_messages_8de662681746d77d, []int{8} + return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{8} } func (m *BulkDeleteRowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BulkDeleteRowsRequest.Unmarshal(m, b) @@ -439,6 +439,13 @@ func (m *BulkDeleteRowsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BulkDeleteRowsRequest proto.InternalMessageInfo +func (m *BulkDeleteRowsRequest) GetTableName() string { + if m != nil { + return m.TableName + } + return "" +} + type isBulkDeleteRowsRequest_Target interface { isBulkDeleteRowsRequest_Target() } @@ -446,11 +453,13 @@ type isBulkDeleteRowsRequest_Target interface { type BulkDeleteRowsRequest_RowKeyPrefix struct { RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"` } + type BulkDeleteRowsRequest_DeleteAllDataFromTable struct { DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,proto3,oneof"` } -func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {} +func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {} + func (*BulkDeleteRowsRequest_DeleteAllDataFromTable) isBulkDeleteRowsRequest_Target() {} func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target { @@ -460,13 +469,6 @@ func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target { return nil } -func (m *BulkDeleteRowsRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - func (m *BulkDeleteRowsRequest) GetRowKeyPrefix() []byte { if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_RowKeyPrefix); ok { return x.RowKeyPrefix @@ -563,10 +565,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_bigtable_table_service_messages_8de662681746d77d) + proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_bigtable_table_service_messages_db488db316a00db0) } -var fileDescriptor_bigtable_table_service_messages_8de662681746d77d = []byte{ +var fileDescriptor_bigtable_table_service_messages_db488db316a00db0 = []byte{ // 514 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x6e, 0xd3, 0x40, 0x10, 0xad, 0x49, 0x1b, 0x92, 0x21, 0x94, 0xb2, 0x52, 0x51, 0x52, 0x09, 0x14, 0x56, 0x2a, 0xe4, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go index 28768345a..648203872 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go @@ -45,7 +45,7 @@ type CreateInstanceRequest struct { // cluster ID, e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. // Fields marked `OutputOnly` must be left blank. - // Currently exactly one cluster must be specified. + // Currently, at most two clusters can be specified. Clusters map[string]*Cluster `protobuf:"bytes,4,rep,name=clusters,proto3" json:"clusters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -56,7 +56,7 @@ func (m *CreateInstanceRequest) Reset() { *m = CreateInstanceRequest{} } func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*CreateInstanceRequest) ProtoMessage() {} func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{0} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{0} } func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b) @@ -118,7 +118,7 @@ func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceRequest) ProtoMessage() {} func (*GetInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{1} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{1} } func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) @@ -150,7 +150,7 @@ type ListInstancesRequest struct { // The unique name of the project for which a list of instances is requested. // Values are of the form `projects/`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The value of `next_page_token` returned by a previous call. + // DEPRECATED: This field is unused and ignored. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -161,7 +161,7 @@ func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } func (*ListInstancesRequest) ProtoMessage() {} func (*ListInstancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{2} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{2} } func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) @@ -204,10 +204,9 @@ type ListInstancesResponse struct { // Instances whose Clusters are all in one of the failed locations // may be missing from `instances`, and Instances with at least one // Cluster in a failed location may only have partial information returned. + // Values are of the form `projects//locations/` FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations,proto3" json:"failed_locations,omitempty"` - // Set if not all instances could be returned in a single response. - // Pass this value to `page_token` in another request to get the next - // page of results. + // DEPRECATED: This field is unused and ignored. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -218,7 +217,7 @@ func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } func (*ListInstancesResponse) ProtoMessage() {} func (*ListInstancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{3} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{3} } func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) @@ -275,7 +274,7 @@ func (m *PartialUpdateInstanceRequest) Reset() { *m = PartialUpdateInsta func (m *PartialUpdateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*PartialUpdateInstanceRequest) ProtoMessage() {} func (*PartialUpdateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{4} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{4} } func (m *PartialUpdateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartialUpdateInstanceRequest.Unmarshal(m, b) @@ -323,7 +322,7 @@ func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteInstanceRequest) ProtoMessage() {} func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{5} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{5} } func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) @@ -372,7 +371,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{6} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{6} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -427,7 +426,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{7} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{7} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -461,7 +460,7 @@ type ListClustersRequest struct { // Use ` = '-'` to list Clusters for all Instances in a project, // e.g., `projects/myproject/instances/-`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The value of `next_page_token` returned by a previous call. + // DEPRECATED: This field is unused and ignored. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -472,7 +471,7 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{8} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{8} } func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) @@ -514,10 +513,9 @@ type ListClustersResponse struct { // due to an outage or some other transient condition. // Clusters from these locations may be missing from `clusters`, // or may only have partial information returned. + // Values are of the form `projects//locations/` FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations,proto3" json:"failed_locations,omitempty"` - // Set if not all clusters could be returned in a single response. - // Pass this value to `page_token` in another request to get the next - // page of results. + // DEPRECATED: This field is unused and ignored. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -528,7 +526,7 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{9} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{9} } func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) @@ -583,7 +581,7 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{10} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{10} } func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) @@ -627,7 +625,7 @@ func (m *CreateInstanceMetadata) Reset() { *m = CreateInstanceMetadata{} func (m *CreateInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*CreateInstanceMetadata) ProtoMessage() {} func (*CreateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{11} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{11} } func (m *CreateInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceMetadata.Unmarshal(m, b) @@ -685,7 +683,7 @@ func (m *UpdateInstanceMetadata) Reset() { *m = UpdateInstanceMetadata{} func (m *UpdateInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceMetadata) ProtoMessage() {} func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{12} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{12} } func (m *UpdateInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceMetadata.Unmarshal(m, b) @@ -743,7 +741,7 @@ func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*CreateClusterMetadata) ProtoMessage() {} func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{13} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{13} } func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) @@ -801,7 +799,7 @@ func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterMetadata) ProtoMessage() {} func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{14} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{14} } func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) @@ -866,7 +864,7 @@ func (m *CreateAppProfileRequest) Reset() { *m = CreateAppProfileRequest func (m *CreateAppProfileRequest) String() string { return proto.CompactTextString(m) } func (*CreateAppProfileRequest) ProtoMessage() {} func (*CreateAppProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{15} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{15} } func (m *CreateAppProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAppProfileRequest.Unmarshal(m, b) @@ -928,7 +926,7 @@ func (m *GetAppProfileRequest) Reset() { *m = GetAppProfileRequest{} } func (m *GetAppProfileRequest) String() string { return proto.CompactTextString(m) } func (*GetAppProfileRequest) ProtoMessage() {} func (*GetAppProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{16} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{16} } func (m *GetAppProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAppProfileRequest.Unmarshal(m, b) @@ -960,7 +958,12 @@ type ListAppProfilesRequest struct { // The unique name of the instance for which a list of app profiles is // requested. Values are of the form // `projects//instances/`. + // Use ` = '-'` to list AppProfiles for all Instances in a project, + // e.g., `projects/myproject/instances/-`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Maximum number of results per page. + // CURRENTLY UNIMPLEMENTED AND IGNORED. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of `next_page_token` returned by a previous call. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -972,7 +975,7 @@ func (m *ListAppProfilesRequest) Reset() { *m = ListAppProfilesRequest{} func (m *ListAppProfilesRequest) String() string { return proto.CompactTextString(m) } func (*ListAppProfilesRequest) ProtoMessage() {} func (*ListAppProfilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{17} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{17} } func (m *ListAppProfilesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAppProfilesRequest.Unmarshal(m, b) @@ -999,6 +1002,13 @@ func (m *ListAppProfilesRequest) GetParent() string { return "" } +func (m *ListAppProfilesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + func (m *ListAppProfilesRequest) GetPageToken() string { if m != nil { return m.PageToken @@ -1013,7 +1023,12 @@ type ListAppProfilesResponse struct { // Set if not all app profiles could be returned in a single response. // Pass this value to `page_token` in another request to get the next // page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // Locations from which AppProfile information could not be retrieved, + // due to an outage or some other transient condition. + // AppProfiles from these locations may be missing from `app_profiles`. + // Values are of the form `projects//locations/` + FailedLocations []string `protobuf:"bytes,3,rep,name=failed_locations,json=failedLocations,proto3" json:"failed_locations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1023,7 +1038,7 @@ func (m *ListAppProfilesResponse) Reset() { *m = ListAppProfilesResponse func (m *ListAppProfilesResponse) String() string { return proto.CompactTextString(m) } func (*ListAppProfilesResponse) ProtoMessage() {} func (*ListAppProfilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{18} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{18} } func (m *ListAppProfilesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAppProfilesResponse.Unmarshal(m, b) @@ -1057,6 +1072,13 @@ func (m *ListAppProfilesResponse) GetNextPageToken() string { return "" } +func (m *ListAppProfilesResponse) GetFailedLocations() []string { + if m != nil { + return m.FailedLocations + } + return nil +} + // Request message for BigtableInstanceAdmin.UpdateAppProfile. type UpdateAppProfileRequest struct { // The app profile which will (partially) replace the current value. @@ -1075,7 +1097,7 @@ func (m *UpdateAppProfileRequest) Reset() { *m = UpdateAppProfileRequest func (m *UpdateAppProfileRequest) String() string { return proto.CompactTextString(m) } func (*UpdateAppProfileRequest) ProtoMessage() {} func (*UpdateAppProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{19} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{19} } func (m *UpdateAppProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAppProfileRequest.Unmarshal(m, b) @@ -1132,7 +1154,7 @@ func (m *DeleteAppProfileRequest) Reset() { *m = DeleteAppProfileRequest func (m *DeleteAppProfileRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAppProfileRequest) ProtoMessage() {} func (*DeleteAppProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{20} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{20} } func (m *DeleteAppProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAppProfileRequest.Unmarshal(m, b) @@ -1177,7 +1199,7 @@ func (m *UpdateAppProfileMetadata) Reset() { *m = UpdateAppProfileMetada func (m *UpdateAppProfileMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateAppProfileMetadata) ProtoMessage() {} func (*UpdateAppProfileMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa, []int{21} + return fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62, []int{21} } func (m *UpdateAppProfileMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAppProfileMetadata.Unmarshal(m, b) @@ -1932,107 +1954,109 @@ var _BigtableInstanceAdmin_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bigtable/admin/v2/bigtable_instance_admin.proto", fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa) -} - -var fileDescriptor_bigtable_instance_admin_4a25aca1138ca2aa = []byte{ - // 1566 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcf, 0x6f, 0xdc, 0xc4, - 0x17, 0xd7, 0x6c, 0xfa, 0xed, 0xb7, 0x79, 0x9b, 0x5f, 0xdf, 0xf9, 0x36, 0xc9, 0xca, 0xf4, 0x47, - 0xea, 0x56, 0x6d, 0xba, 0x0d, 0x36, 0x59, 0x50, 0x5b, 0x25, 0xa4, 0xa2, 0x4d, 0x4b, 0x14, 0x94, - 0xaa, 0xd1, 0xb6, 0x14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0, 0xff, 0x71, 0x2c, 0xf3, 0x1f, 0x8f, 0x2a, 0xc7, 0xd6, 0x82, - 0xf5, 0xab, 0xa6, 0xdd, 0x6b, 0x6b, 0x72, 0x2b, 0x8d, 0xef, 0xa1, 0xdd, 0x6e, 0xfc, 0x2a, 0x0d, - 0xb6, 0xb8, 0xc1, 0x96, 0x34, 0xd8, 0xe2, 0x06, 0x5b, 0xb7, 0x1b, 0xdb, 0x07, 0xf9, 0x5e, 0x2f, - 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x1c, 0xa0, 0x3f, 0x27, 0xbe, 0x19, 0x00, 0x00, + proto.RegisterFile("google/bigtable/admin/v2/bigtable_instance_admin.proto", fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62) +} + +var fileDescriptor_bigtable_instance_admin_b28bb2dbfcfb0e62 = []byte{ + // 1592 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x6f, 0xdc, 0x44, + 0x14, 0xd7, 0xec, 0xb6, 0x25, 0x79, 0x9b, 0x2f, 0x86, 0x26, 0x59, 0xb9, 0x5f, 0xa9, 0x5b, 0xb5, + 0xe9, 0x36, 0xd8, 0x64, 0x41, 0x6d, 0x95, 0x90, 0x8a, 0x36, 0x2d, 0x51, 0x50, 0x2a, 0xa2, 0x6d, + 0x29, 0x6a, 0x15, 0xb1, 0x9a, 0x64, 0x27, 0x8b, 0x89, 0xd7, 0x36, 0xb6, 0x37, 0xd0, 0xa2, 0x5e, + 0x10, 0x42, 0xa8, 0x12, 0x1c, 0x40, 0xe2, 0x52, 0xc1, 0x85, 0x0b, 0xaa, 0x10, 0x88, 0x03, 0xdc, + 0xb8, 0x82, 0x04, 0x47, 0xfe, 0x02, 0x24, 0xce, 0x88, 0x1b, 0x57, 0x34, 0xe3, 0x19, 0xaf, 0xed, + 0xb5, 0xd7, 0x4e, 0xab, 0x4a,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0x77, 0x68, 0x37, 0xeb, 0xbf, 0x4b, 0x81, 0x0d, 0x2e, 0xb0, 0x21, 0x05, 0x36, + 0xb8, 0xc0, 0xc6, 0xcd, 0xfa, 0xe6, 0x01, 0x7e, 0xd7, 0x8b, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, + 0x5c, 0x29, 0x0c, 0x23, 0x06, 0x1a, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go index 164baac25..725056246 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go @@ -65,7 +65,7 @@ func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} } func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) } func (*CreateTableRequest) ProtoMessage() {} func (*CreateTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{0} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{0} } func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b) @@ -126,7 +126,7 @@ func (m *CreateTableRequest_Split) Reset() { *m = CreateTableRequest_Spl func (m *CreateTableRequest_Split) String() string { return proto.CompactTextString(m) } func (*CreateTableRequest_Split) ProtoMessage() {} func (*CreateTableRequest_Split) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{0, 0} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{0, 0} } func (m *CreateTableRequest_Split) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTableRequest_Split.Unmarshal(m, b) @@ -181,7 +181,7 @@ func (m *CreateTableFromSnapshotRequest) Reset() { *m = CreateTableFromS func (m *CreateTableFromSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*CreateTableFromSnapshotRequest) ProtoMessage() {} func (*CreateTableFromSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{1} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{1} } func (m *CreateTableFromSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTableFromSnapshotRequest.Unmarshal(m, b) @@ -244,7 +244,7 @@ func (m *DropRowRangeRequest) Reset() { *m = DropRowRangeRequest{} } func (m *DropRowRangeRequest) String() string { return proto.CompactTextString(m) } func (*DropRowRangeRequest) ProtoMessage() {} func (*DropRowRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{2} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{2} } func (m *DropRowRangeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DropRowRangeRequest.Unmarshal(m, b) @@ -264,6 +264,13 @@ func (m *DropRowRangeRequest) XXX_DiscardUnknown() { var xxx_messageInfo_DropRowRangeRequest proto.InternalMessageInfo +func (m *DropRowRangeRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + type isDropRowRangeRequest_Target interface { isDropRowRangeRequest_Target() } @@ -271,11 +278,13 @@ type isDropRowRangeRequest_Target interface { type DropRowRangeRequest_RowKeyPrefix struct { RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"` } + type DropRowRangeRequest_DeleteAllDataFromTable struct { DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,proto3,oneof"` } -func (*DropRowRangeRequest_RowKeyPrefix) isDropRowRangeRequest_Target() {} +func (*DropRowRangeRequest_RowKeyPrefix) isDropRowRangeRequest_Target() {} + func (*DropRowRangeRequest_DeleteAllDataFromTable) isDropRowRangeRequest_Target() {} func (m *DropRowRangeRequest) GetTarget() isDropRowRangeRequest_Target { @@ -285,13 +294,6 @@ func (m *DropRowRangeRequest) GetTarget() isDropRowRangeRequest_Target { return nil } -func (m *DropRowRangeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - func (m *DropRowRangeRequest) GetRowKeyPrefix() []byte { if x, ok := m.GetTarget().(*DropRowRangeRequest_RowKeyPrefix); ok { return x.RowKeyPrefix @@ -384,6 +386,9 @@ type ListTablesRequest struct { // The view to be applied to the returned tables' fields. // Defaults to `NAME_ONLY` if unspecified; no others are currently supported. View Table_View `protobuf:"varint,2,opt,name=view,proto3,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"` + // Maximum number of results per page. + // CURRENTLY UNIMPLEMENTED AND IGNORED. + PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of `next_page_token` returned by a previous call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -395,7 +400,7 @@ func (m *ListTablesRequest) Reset() { *m = ListTablesRequest{} } func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) } func (*ListTablesRequest) ProtoMessage() {} func (*ListTablesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{3} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{3} } func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b) @@ -429,6 +434,13 @@ func (m *ListTablesRequest) GetView() Table_View { return Table_VIEW_UNSPECIFIED } +func (m *ListTablesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + func (m *ListTablesRequest) GetPageToken() string { if m != nil { return m.PageToken @@ -454,7 +466,7 @@ func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} } func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) } func (*ListTablesResponse) ProtoMessage() {} func (*ListTablesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{4} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{4} } func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b) @@ -507,7 +519,7 @@ func (m *GetTableRequest) Reset() { *m = GetTableRequest{} } func (m *GetTableRequest) String() string { return proto.CompactTextString(m) } func (*GetTableRequest) ProtoMessage() {} func (*GetTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{5} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{5} } func (m *GetTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTableRequest.Unmarshal(m, b) @@ -557,7 +569,7 @@ func (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} } func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTableRequest) ProtoMessage() {} func (*DeleteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{6} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{6} } func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b) @@ -605,7 +617,7 @@ func (m *ModifyColumnFamiliesRequest) Reset() { *m = ModifyColumnFamilie func (m *ModifyColumnFamiliesRequest) String() string { return proto.CompactTextString(m) } func (*ModifyColumnFamiliesRequest) ProtoMessage() {} func (*ModifyColumnFamiliesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{7} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{7} } func (m *ModifyColumnFamiliesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyColumnFamiliesRequest.Unmarshal(m, b) @@ -661,7 +673,7 @@ func (m *ModifyColumnFamiliesRequest_Modification) Reset() { func (m *ModifyColumnFamiliesRequest_Modification) String() string { return proto.CompactTextString(m) } func (*ModifyColumnFamiliesRequest_Modification) ProtoMessage() {} func (*ModifyColumnFamiliesRequest_Modification) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{7, 0} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{7, 0} } func (m *ModifyColumnFamiliesRequest_Modification) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyColumnFamiliesRequest_Modification.Unmarshal(m, b) @@ -681,6 +693,13 @@ func (m *ModifyColumnFamiliesRequest_Modification) XXX_DiscardUnknown() { var xxx_messageInfo_ModifyColumnFamiliesRequest_Modification proto.InternalMessageInfo +func (m *ModifyColumnFamiliesRequest_Modification) GetId() string { + if m != nil { + return m.Id + } + return "" +} + type isModifyColumnFamiliesRequest_Modification_Mod interface { isModifyColumnFamiliesRequest_Modification_Mod() } @@ -688,17 +707,21 @@ type isModifyColumnFamiliesRequest_Modification_Mod interface { type ModifyColumnFamiliesRequest_Modification_Create struct { Create *ColumnFamily `protobuf:"bytes,2,opt,name=create,proto3,oneof"` } + type ModifyColumnFamiliesRequest_Modification_Update struct { Update *ColumnFamily `protobuf:"bytes,3,opt,name=update,proto3,oneof"` } + type ModifyColumnFamiliesRequest_Modification_Drop struct { Drop bool `protobuf:"varint,4,opt,name=drop,proto3,oneof"` } func (*ModifyColumnFamiliesRequest_Modification_Create) isModifyColumnFamiliesRequest_Modification_Mod() { } + func (*ModifyColumnFamiliesRequest_Modification_Update) isModifyColumnFamiliesRequest_Modification_Mod() { } + func (*ModifyColumnFamiliesRequest_Modification_Drop) isModifyColumnFamiliesRequest_Modification_Mod() { } @@ -709,13 +732,6 @@ func (m *ModifyColumnFamiliesRequest_Modification) GetMod() isModifyColumnFamili return nil } -func (m *ModifyColumnFamiliesRequest_Modification) GetId() string { - if m != nil { - return m.Id - } - return "" -} - func (m *ModifyColumnFamiliesRequest_Modification) GetCreate() *ColumnFamily { if x, ok := m.GetMod().(*ModifyColumnFamiliesRequest_Modification_Create); ok { return x.Create @@ -845,7 +861,7 @@ func (m *GenerateConsistencyTokenRequest) Reset() { *m = GenerateConsist func (m *GenerateConsistencyTokenRequest) String() string { return proto.CompactTextString(m) } func (*GenerateConsistencyTokenRequest) ProtoMessage() {} func (*GenerateConsistencyTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{8} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{8} } func (m *GenerateConsistencyTokenRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenerateConsistencyTokenRequest.Unmarshal(m, b) @@ -886,7 +902,7 @@ func (m *GenerateConsistencyTokenResponse) Reset() { *m = GenerateConsis func (m *GenerateConsistencyTokenResponse) String() string { return proto.CompactTextString(m) } func (*GenerateConsistencyTokenResponse) ProtoMessage() {} func (*GenerateConsistencyTokenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{9} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{9} } func (m *GenerateConsistencyTokenResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GenerateConsistencyTokenResponse.Unmarshal(m, b) @@ -931,7 +947,7 @@ func (m *CheckConsistencyRequest) Reset() { *m = CheckConsistencyRequest func (m *CheckConsistencyRequest) String() string { return proto.CompactTextString(m) } func (*CheckConsistencyRequest) ProtoMessage() {} func (*CheckConsistencyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{10} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{10} } func (m *CheckConsistencyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckConsistencyRequest.Unmarshal(m, b) @@ -980,7 +996,7 @@ func (m *CheckConsistencyResponse) Reset() { *m = CheckConsistencyRespon func (m *CheckConsistencyResponse) String() string { return proto.CompactTextString(m) } func (*CheckConsistencyResponse) ProtoMessage() {} func (*CheckConsistencyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{11} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{11} } func (m *CheckConsistencyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckConsistencyResponse.Unmarshal(m, b) @@ -1044,7 +1060,7 @@ func (m *SnapshotTableRequest) Reset() { *m = SnapshotTableRequest{} } func (m *SnapshotTableRequest) String() string { return proto.CompactTextString(m) } func (*SnapshotTableRequest) ProtoMessage() {} func (*SnapshotTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{12} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{12} } func (m *SnapshotTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SnapshotTableRequest.Unmarshal(m, b) @@ -1120,7 +1136,7 @@ func (m *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} } func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*GetSnapshotRequest) ProtoMessage() {} func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{13} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{13} } func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) @@ -1161,7 +1177,8 @@ type ListSnapshotsRequest struct { // Use ` = '-'` to list snapshots for all clusters in an instance, // e.g., `projects//instances//clusters/-`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of snapshots to return. + // The maximum number of snapshots to return per page. + // CURRENTLY UNIMPLEMENTED AND IGNORED. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value of `next_page_token` returned by a previous call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` @@ -1174,7 +1191,7 @@ func (m *ListSnapshotsRequest) Reset() { *m = ListSnapshotsRequest{} } func (m *ListSnapshotsRequest) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsRequest) ProtoMessage() {} func (*ListSnapshotsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{14} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{14} } func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsRequest.Unmarshal(m, b) @@ -1238,7 +1255,7 @@ func (m *ListSnapshotsResponse) Reset() { *m = ListSnapshotsResponse{} } func (m *ListSnapshotsResponse) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsResponse) ProtoMessage() {} func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{15} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{15} } func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsResponse.Unmarshal(m, b) @@ -1293,7 +1310,7 @@ func (m *DeleteSnapshotRequest) Reset() { *m = DeleteSnapshotRequest{} } func (m *DeleteSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSnapshotRequest) ProtoMessage() {} func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{16} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{16} } func (m *DeleteSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSnapshotRequest.Unmarshal(m, b) @@ -1342,7 +1359,7 @@ func (m *SnapshotTableMetadata) Reset() { *m = SnapshotTableMetadata{} } func (m *SnapshotTableMetadata) String() string { return proto.CompactTextString(m) } func (*SnapshotTableMetadata) ProtoMessage() {} func (*SnapshotTableMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{17} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{17} } func (m *SnapshotTableMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SnapshotTableMetadata.Unmarshal(m, b) @@ -1406,7 +1423,7 @@ func (m *CreateTableFromSnapshotMetadata) Reset() { *m = CreateTableFrom func (m *CreateTableFromSnapshotMetadata) String() string { return proto.CompactTextString(m) } func (*CreateTableFromSnapshotMetadata) ProtoMessage() {} func (*CreateTableFromSnapshotMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_table_admin_5562daab61d38018, []int{18} + return fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2, []int{18} } func (m *CreateTableFromSnapshotMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTableFromSnapshotMetadata.Unmarshal(m, b) @@ -2054,104 +2071,104 @@ var _BigtableTableAdmin_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bigtable/admin/v2/bigtable_table_admin.proto", fileDescriptor_bigtable_table_admin_5562daab61d38018) + proto.RegisterFile("google/bigtable/admin/v2/bigtable_table_admin.proto", fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2) } -var fileDescriptor_bigtable_table_admin_5562daab61d38018 = []byte{ - // 1514 bytes of a gzipped FileDescriptorProto +var fileDescriptor_bigtable_table_admin_5099d9e5d77fdde2 = []byte{ + // 1520 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdc, 0x54, 0x17, 0xaf, 0x27, 0x8f, 0x26, 0x67, 0xf2, 0xea, 0xfd, 0xd2, 0x76, 0x3a, 0x6d, 0x93, 0xc8, 0x5f, 0x55, 0x42, 0x52, 0xc6, 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f, 0xae, 0x61, 0x15, - 0x51, 0x7c, 0xa3, 0xcb, 0x30, 0x16, 0xd2, 0x7d, 0x6b, 0x0f, 0x1f, 0x58, 0x41, 0x88, 0x77, 0xc8, - 0x53, 0x11, 0x75, 0x64, 0xe3, 0x84, 0x39, 0x12, 0xd2, 0xfd, 0x0f, 0xf1, 0xc1, 0xa6, 0x90, 0xa2, - 0x1b, 0x50, 0x74, 0xb0, 0x87, 0x19, 0xb6, 0x6c, 0xcf, 0xb3, 0x1c, 0x9b, 0xd9, 0xd6, 0x4e, 0x48, - 0x6b, 0xd6, 0x51, 0x4f, 0x86, 0x36, 0x4e, 0x98, 0x67, 0xa4, 0xce, 0x4d, 0xcf, 0x5b, 0xb3, 0x99, - 0xcd, 0xf3, 0x16, 0x05, 0xa8, 0x0c, 0xc1, 0x20, 0xb3, 0x43, 0x17, 0x33, 0xfd, 0x0b, 0x0d, 0x4e, - 0x7d, 0x44, 0x22, 0x26, 0xe4, 0x51, 0x56, 0x35, 0x16, 0xa1, 0xff, 0x09, 0xc1, 0xfb, 0x02, 0xd3, - 0x58, 0xf9, 0x52, 0x46, 0xcf, 0x4b, 0x0f, 0x08, 0xde, 0x37, 0x85, 0x05, 0xba, 0x08, 0x10, 0xd8, - 0x2e, 0xb6, 0x18, 0xdd, 0xc3, 0xbe, 0xaa, 0xd3, 0x30, 0x97, 0xdc, 0xe7, 0x02, 0xbd, 0x0e, 0x28, - 0x89, 0x22, 0x0a, 0xa8, 0x1f, 0x61, 0x74, 0x8d, 0xc3, 0xe4, 0x92, 0x82, 0x26, 0x0e, 0x49, 0xe6, - 0x21, 0x53, 0xea, 0xe8, 0x32, 0x8c, 0xfb, 0xf8, 0x29, 0xb3, 0x12, 0x21, 0x65, 0xf3, 0x46, 0xb9, - 0x78, 0xf3, 0x30, 0xac, 0x05, 0xe3, 0xeb, 0x98, 0x35, 0x5c, 0x85, 0x76, 0x4d, 0x39, 0x76, 0xda, - 0xfa, 0x2c, 0xa0, 0x35, 0x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5, 0x7f, 0xbe, 0x79, + 0x1f, 0xd7, 0x02, 0x76, 0xa0, 0x36, 0xa7, 0x9b, 0x37, 0x19, 0xa9, 0xe1, 0x88, 0x59, 0xb5, 0x40, + 0x2a, 0xe8, 0x7f, 0x6b, 0x80, 0x56, 0x43, 0x6c, 0x31, 0x7c, 0x9f, 0x03, 0x33, 0xf1, 0x67, 0x75, + 0x1c, 0x31, 0x74, 0x06, 0x06, 0x03, 0x2b, 0xc4, 0x3e, 0x2b, 0x68, 0x33, 0xda, 0xec, 0xb0, 0xa9, + 0x56, 0xe8, 0x1c, 0x0c, 0xc9, 0x22, 0x11, 0xa7, 0x90, 0x13, 0x3b, 0x27, 0xc5, 0xfa, 0xb6, 0x83, + 0x16, 0x60, 0x40, 0x7c, 0x16, 0xfa, 0x66, 0xb4, 0xd9, 0x7c, 0x79, 0xba, 0x94, 0x56, 0xba, 0x92, + 0x8c, 0x24, 0xb5, 0xd1, 0x43, 0x18, 0x23, 0x3e, 0x61, 0xc4, 0xf2, 0xaa, 0x51, 0xe0, 0x11, 0x16, + 0x15, 0xfa, 0x67, 0xfa, 0x66, 0xf3, 0xe5, 0x72, 0xba, 0x7d, 0x2b, 0xde, 0xd2, 0x3d, 0x6e, 0x6a, + 0x8e, 0x2a, 0x4f, 0x62, 0x15, 0x15, 0xcf, 0xc1, 0x80, 0xf8, 0x42, 0x13, 0xd0, 0xb7, 0x87, 0x0f, + 0x44, 0x2a, 0x23, 0x26, 0xff, 0xd4, 0xbf, 0x80, 0xa9, 0x84, 0x97, 0x5b, 0x21, 0xad, 0xdd, 0xf3, + 0xad, 0x20, 0xda, 0xa5, 0xec, 0x5f, 0x54, 0xe0, 0x2d, 0x18, 0x8f, 0x68, 0x3d, 0xb4, 0x71, 0x35, + 0x52, 0xce, 0x44, 0x2d, 0x86, 0xcd, 0x31, 0x29, 0x8e, 0x43, 0xe8, 0xaf, 0x34, 0xf8, 0xdf, 0x5a, + 0x48, 0x03, 0x93, 0xee, 0x9b, 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xe2, 0x38, 0x25, 0x11, 0xa3, 0xf4, 0xa0, 0xfc, + 0x6b, 0xac, 0xb0, 0x25, 0x14, 0xb6, 0x62, 0x85, 0x2d, 0xa1, 0xb0, 0xf5, 0xa0, 0xbc, 0x3d, 0x28, + 0x62, 0x5d, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x17, 0x6a, 0x6f, 0xc0, 0x14, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go index d6477716a..0a8f6a3d1 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go @@ -39,15 +39,15 @@ var StorageType_name = map[int32]string{ } var StorageType_value = map[string]int32{ "STORAGE_TYPE_UNSPECIFIED": 0, - "SSD": 1, - "HDD": 2, + "SSD": 1, + "HDD": 2, } func (x StorageType) String() string { return proto.EnumName(StorageType_name, int32(x)) } func (StorageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_193eca34a1716695, []int{0} + return fileDescriptor_common_3f175ab0025db664, []int{0} } func init() { @@ -55,10 +55,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/v2/common.proto", fileDescriptor_common_193eca34a1716695) + proto.RegisterFile("google/bigtable/admin/v2/common.proto", fileDescriptor_common_3f175ab0025db664) } -var fileDescriptor_common_193eca34a1716695 = []byte{ +var fileDescriptor_common_3f175ab0025db664 = []byte{ // 270 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xcf, 0x4b, 0xc3, 0x30, 0x14, 0x07, 0x70, 0x3b, 0x41, 0x21, 0xbb, 0x94, 0x9e, 0xc6, 0x28, 0x7a, 0xf2, 0xe2, 0x21, 0x81, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go index 57bf20ab3..72359c5e0 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go @@ -48,7 +48,7 @@ func (x Instance_State) String() string { return proto.EnumName(Instance_State_name, int32(x)) } func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{0, 0} + return fileDescriptor_instance_f4854c7156f8ce96, []int{0, 0} } // The type of the instance. @@ -87,7 +87,7 @@ func (x Instance_Type) String() string { return proto.EnumName(Instance_Type_name, int32(x)) } func (Instance_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{0, 1} + return fileDescriptor_instance_f4854c7156f8ce96, []int{0, 1} } // Possible states of a cluster. @@ -132,7 +132,7 @@ func (x Cluster_State) String() string { return proto.EnumName(Cluster_State_name, int32(x)) } func (Cluster_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{1, 0} + return fileDescriptor_instance_f4854c7156f8ce96, []int{1, 0} } // A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and @@ -174,7 +174,7 @@ func (m *Instance) Reset() { *m = Instance{} } func (m *Instance) String() string { return proto.CompactTextString(m) } func (*Instance) ProtoMessage() {} func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{0} + return fileDescriptor_instance_f4854c7156f8ce96, []int{0} } func (m *Instance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Instance.Unmarshal(m, b) @@ -262,7 +262,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{1} + return fileDescriptor_instance_f4854c7156f8ce96, []int{1} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -351,7 +351,7 @@ func (m *AppProfile) Reset() { *m = AppProfile{} } func (m *AppProfile) String() string { return proto.CompactTextString(m) } func (*AppProfile) ProtoMessage() {} func (*AppProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{2} + return fileDescriptor_instance_f4854c7156f8ce96, []int{2} } func (m *AppProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AppProfile.Unmarshal(m, b) @@ -371,27 +371,6 @@ func (m *AppProfile) XXX_DiscardUnknown() { var xxx_messageInfo_AppProfile proto.InternalMessageInfo -type isAppProfile_RoutingPolicy interface { - isAppProfile_RoutingPolicy() -} - -type AppProfile_MultiClusterRoutingUseAny_ struct { - MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,proto3,oneof"` -} -type AppProfile_SingleClusterRouting_ struct { - SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,proto3,oneof"` -} - -func (*AppProfile_MultiClusterRoutingUseAny_) isAppProfile_RoutingPolicy() {} -func (*AppProfile_SingleClusterRouting_) isAppProfile_RoutingPolicy() {} - -func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy { - if m != nil { - return m.RoutingPolicy - } - return nil -} - func (m *AppProfile) GetName() string { if m != nil { return m.Name @@ -413,6 +392,29 @@ func (m *AppProfile) GetDescription() string { return "" } +type isAppProfile_RoutingPolicy interface { + isAppProfile_RoutingPolicy() +} + +type AppProfile_MultiClusterRoutingUseAny_ struct { + MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,proto3,oneof"` +} + +type AppProfile_SingleClusterRouting_ struct { + SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,proto3,oneof"` +} + +func (*AppProfile_MultiClusterRoutingUseAny_) isAppProfile_RoutingPolicy() {} + +func (*AppProfile_SingleClusterRouting_) isAppProfile_RoutingPolicy() {} + +func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy { + if m != nil { + return m.RoutingPolicy + } + return nil +} + func (m *AppProfile) GetMultiClusterRoutingUseAny() *AppProfile_MultiClusterRoutingUseAny { if x, ok := m.GetRoutingPolicy().(*AppProfile_MultiClusterRoutingUseAny_); ok { return x.MultiClusterRoutingUseAny @@ -515,7 +517,7 @@ func (m *AppProfile_MultiClusterRoutingUseAny) Reset() { *m = AppProfile func (m *AppProfile_MultiClusterRoutingUseAny) String() string { return proto.CompactTextString(m) } func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage() {} func (*AppProfile_MultiClusterRoutingUseAny) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{2, 0} + return fileDescriptor_instance_f4854c7156f8ce96, []int{2, 0} } func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Unmarshal(m, b) @@ -554,7 +556,7 @@ func (m *AppProfile_SingleClusterRouting) Reset() { *m = AppProfile_Sing func (m *AppProfile_SingleClusterRouting) String() string { return proto.CompactTextString(m) } func (*AppProfile_SingleClusterRouting) ProtoMessage() {} func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_fa63b73e18194980, []int{2, 1} + return fileDescriptor_instance_f4854c7156f8ce96, []int{2, 1} } func (m *AppProfile_SingleClusterRouting) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AppProfile_SingleClusterRouting.Unmarshal(m, b) @@ -601,10 +603,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/v2/instance.proto", fileDescriptor_instance_fa63b73e18194980) + proto.RegisterFile("google/bigtable/admin/v2/instance.proto", fileDescriptor_instance_f4854c7156f8ce96) } -var fileDescriptor_instance_fa63b73e18194980 = []byte{ +var fileDescriptor_instance_f4854c7156f8ce96 = []byte{ // 765 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x8e, 0xdb, 0x44, 0x14, 0x8e, 0xf3, 0xb3, 0x64, 0x4f, 0xca, 0xd6, 0x1a, 0x22, 0x94, 0x86, 0x16, 0x42, 0xa4, 0xaa, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go index 7948b07d6..c45171e07 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go @@ -39,14 +39,14 @@ var Table_TimestampGranularity_name = map[int32]string{ } var Table_TimestampGranularity_value = map[string]int32{ "TIMESTAMP_GRANULARITY_UNSPECIFIED": 0, - "MILLIS": 1, + "MILLIS": 1, } func (x Table_TimestampGranularity) String() string { return proto.EnumName(Table_TimestampGranularity_name, int32(x)) } func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{0, 0} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{0, 0} } // Defines a view over a table's fields. @@ -85,7 +85,7 @@ func (x Table_View) String() string { return proto.EnumName(Table_View_name, int32(x)) } func (Table_View) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{0, 1} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{0, 1} } // Table replication states. @@ -129,7 +129,7 @@ func (x Table_ClusterState_ReplicationState) String() string { return proto.EnumName(Table_ClusterState_ReplicationState_name, int32(x)) } func (Table_ClusterState_ReplicationState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{0, 0, 0} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{0, 0, 0} } // Possible states of a snapshot. @@ -161,7 +161,7 @@ func (x Snapshot_State) String() string { return proto.EnumName(Snapshot_State_name, int32(x)) } func (Snapshot_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{3, 0} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{3, 0} } // A collection of user data indexed by row, column, and timestamp. @@ -198,7 +198,7 @@ func (m *Table) Reset() { *m = Table{} } func (m *Table) String() string { return proto.CompactTextString(m) } func (*Table) ProtoMessage() {} func (*Table) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{0} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{0} } func (m *Table) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Table.Unmarshal(m, b) @@ -260,7 +260,7 @@ func (m *Table_ClusterState) Reset() { *m = Table_ClusterState{} } func (m *Table_ClusterState) String() string { return proto.CompactTextString(m) } func (*Table_ClusterState) ProtoMessage() {} func (*Table_ClusterState) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{0, 0} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{0, 0} } func (m *Table_ClusterState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Table_ClusterState.Unmarshal(m, b) @@ -305,7 +305,7 @@ func (m *ColumnFamily) Reset() { *m = ColumnFamily{} } func (m *ColumnFamily) String() string { return proto.CompactTextString(m) } func (*ColumnFamily) ProtoMessage() {} func (*ColumnFamily) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{1} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{1} } func (m *ColumnFamily) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColumnFamily.Unmarshal(m, b) @@ -351,7 +351,7 @@ func (m *GcRule) Reset() { *m = GcRule{} } func (m *GcRule) String() string { return proto.CompactTextString(m) } func (*GcRule) ProtoMessage() {} func (*GcRule) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{2} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{2} } func (m *GcRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcRule.Unmarshal(m, b) @@ -378,20 +378,26 @@ type isGcRule_Rule interface { type GcRule_MaxNumVersions struct { MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,proto3,oneof"` } + type GcRule_MaxAge struct { MaxAge *duration.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"` } + type GcRule_Intersection_ struct { Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,proto3,oneof"` } + type GcRule_Union_ struct { Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,proto3,oneof"` } func (*GcRule_MaxNumVersions) isGcRule_Rule() {} -func (*GcRule_MaxAge) isGcRule_Rule() {} -func (*GcRule_Intersection_) isGcRule_Rule() {} -func (*GcRule_Union_) isGcRule_Rule() {} + +func (*GcRule_MaxAge) isGcRule_Rule() {} + +func (*GcRule_Intersection_) isGcRule_Rule() {} + +func (*GcRule_Union_) isGcRule_Rule() {} func (m *GcRule) GetRule() isGcRule_Rule { if m != nil { @@ -548,7 +554,7 @@ func (m *GcRule_Intersection) Reset() { *m = GcRule_Intersection{} } func (m *GcRule_Intersection) String() string { return proto.CompactTextString(m) } func (*GcRule_Intersection) ProtoMessage() {} func (*GcRule_Intersection) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{2, 0} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{2, 0} } func (m *GcRule_Intersection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcRule_Intersection.Unmarshal(m, b) @@ -588,7 +594,7 @@ func (m *GcRule_Union) Reset() { *m = GcRule_Union{} } func (m *GcRule_Union) String() string { return proto.CompactTextString(m) } func (*GcRule_Union) ProtoMessage() {} func (*GcRule_Union) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{2, 1} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{2, 1} } func (m *GcRule_Union) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcRule_Union.Unmarshal(m, b) @@ -659,7 +665,7 @@ func (m *Snapshot) Reset() { *m = Snapshot{} } func (m *Snapshot) String() string { return proto.CompactTextString(m) } func (*Snapshot) ProtoMessage() {} func (*Snapshot) Descriptor() ([]byte, []int) { - return fileDescriptor_table_dac9f683d605f5c8, []int{3} + return fileDescriptor_table_ed23c9c8618cc2b8, []int{3} } func (m *Snapshot) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Snapshot.Unmarshal(m, b) @@ -745,10 +751,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/admin/v2/table.proto", fileDescriptor_table_dac9f683d605f5c8) + proto.RegisterFile("google/bigtable/admin/v2/table.proto", fileDescriptor_table_ed23c9c8618cc2b8) } -var fileDescriptor_table_dac9f683d605f5c8 = []byte{ +var fileDescriptor_table_ed23c9c8618cc2b8 = []byte{ // 965 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xff, 0x6e, 0xdb, 0x54, 0x18, 0xad, 0xe3, 0x38, 0x6d, 0xbf, 0xa4, 0xad, 0xb9, 0x1d, 0x22, 0x8b, 0xa6, 0x2d, 0x44, 0x30, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go index 67e48f931..74084e8cc 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go @@ -37,7 +37,7 @@ func (m *Row) Reset() { *m = Row{} } func (m *Row) String() string { return proto.CompactTextString(m) } func (*Row) ProtoMessage() {} func (*Row) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{0} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{0} } func (m *Row) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Row.Unmarshal(m, b) @@ -91,7 +91,7 @@ func (m *Family) Reset() { *m = Family{} } func (m *Family) String() string { return proto.CompactTextString(m) } func (*Family) ProtoMessage() {} func (*Family) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{1} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{1} } func (m *Family) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Family.Unmarshal(m, b) @@ -144,7 +144,7 @@ func (m *Column) Reset() { *m = Column{} } func (m *Column) String() string { return proto.CompactTextString(m) } func (*Column) ProtoMessage() {} func (*Column) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{2} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{2} } func (m *Column) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Column.Unmarshal(m, b) @@ -202,7 +202,7 @@ func (m *Cell) Reset() { *m = Cell{} } func (m *Cell) String() string { return proto.CompactTextString(m) } func (*Cell) ProtoMessage() {} func (*Cell) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{3} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{3} } func (m *Cell) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cell.Unmarshal(m, b) @@ -258,7 +258,7 @@ func (m *RowRange) Reset() { *m = RowRange{} } func (m *RowRange) String() string { return proto.CompactTextString(m) } func (*RowRange) ProtoMessage() {} func (*RowRange) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{4} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{4} } func (m *RowRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowRange.Unmarshal(m, b) @@ -307,7 +307,7 @@ func (m *RowSet) Reset() { *m = RowSet{} } func (m *RowSet) String() string { return proto.CompactTextString(m) } func (*RowSet) ProtoMessage() {} func (*RowSet) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{5} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{5} } func (m *RowSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowSet.Unmarshal(m, b) @@ -371,7 +371,7 @@ func (m *ColumnRange) Reset() { *m = ColumnRange{} } func (m *ColumnRange) String() string { return proto.CompactTextString(m) } func (*ColumnRange) ProtoMessage() {} func (*ColumnRange) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{6} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{6} } func (m *ColumnRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColumnRange.Unmarshal(m, b) @@ -391,30 +391,28 @@ func (m *ColumnRange) XXX_DiscardUnknown() { var xxx_messageInfo_ColumnRange proto.InternalMessageInfo +func (m *ColumnRange) GetFamilyName() string { + if m != nil { + return m.FamilyName + } + return "" +} + type isColumnRange_StartQualifier interface { isColumnRange_StartQualifier() } -type isColumnRange_EndQualifier interface { - isColumnRange_EndQualifier() -} type ColumnRange_StartQualifierInclusive struct { StartQualifierInclusive []byte `protobuf:"bytes,2,opt,name=start_qualifier_inclusive,json=startQualifierInclusive,proto3,oneof"` } + type ColumnRange_StartQualifierExclusive struct { StartQualifierExclusive []byte `protobuf:"bytes,3,opt,name=start_qualifier_exclusive,json=startQualifierExclusive,proto3,oneof"` } -type ColumnRange_EndQualifierInclusive struct { - EndQualifierInclusive []byte `protobuf:"bytes,4,opt,name=end_qualifier_inclusive,json=endQualifierInclusive,proto3,oneof"` -} -type ColumnRange_EndQualifierExclusive struct { - EndQualifierExclusive []byte `protobuf:"bytes,5,opt,name=end_qualifier_exclusive,json=endQualifierExclusive,proto3,oneof"` -} func (*ColumnRange_StartQualifierInclusive) isColumnRange_StartQualifier() {} + func (*ColumnRange_StartQualifierExclusive) isColumnRange_StartQualifier() {} -func (*ColumnRange_EndQualifierInclusive) isColumnRange_EndQualifier() {} -func (*ColumnRange_EndQualifierExclusive) isColumnRange_EndQualifier() {} func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier { if m != nil { @@ -422,19 +420,6 @@ func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier { } return nil } -func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier { - if m != nil { - return m.EndQualifier - } - return nil -} - -func (m *ColumnRange) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} func (m *ColumnRange) GetStartQualifierInclusive() []byte { if x, ok := m.GetStartQualifier().(*ColumnRange_StartQualifierInclusive); ok { @@ -450,6 +435,29 @@ func (m *ColumnRange) GetStartQualifierExclusive() []byte { return nil } +type isColumnRange_EndQualifier interface { + isColumnRange_EndQualifier() +} + +type ColumnRange_EndQualifierInclusive struct { + EndQualifierInclusive []byte `protobuf:"bytes,4,opt,name=end_qualifier_inclusive,json=endQualifierInclusive,proto3,oneof"` +} + +type ColumnRange_EndQualifierExclusive struct { + EndQualifierExclusive []byte `protobuf:"bytes,5,opt,name=end_qualifier_exclusive,json=endQualifierExclusive,proto3,oneof"` +} + +func (*ColumnRange_EndQualifierInclusive) isColumnRange_EndQualifier() {} + +func (*ColumnRange_EndQualifierExclusive) isColumnRange_EndQualifier() {} + +func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier { + if m != nil { + return m.EndQualifier + } + return nil +} + func (m *ColumnRange) GetEndQualifierInclusive() []byte { if x, ok := m.GetEndQualifier().(*ColumnRange_EndQualifierInclusive); ok { return x.EndQualifierInclusive @@ -587,7 +595,7 @@ func (m *TimestampRange) Reset() { *m = TimestampRange{} } func (m *TimestampRange) String() string { return proto.CompactTextString(m) } func (*TimestampRange) ProtoMessage() {} func (*TimestampRange) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{7} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{7} } func (m *TimestampRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimestampRange.Unmarshal(m, b) @@ -646,7 +654,7 @@ func (m *ValueRange) Reset() { *m = ValueRange{} } func (m *ValueRange) String() string { return proto.CompactTextString(m) } func (*ValueRange) ProtoMessage() {} func (*ValueRange) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{8} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{8} } func (m *ValueRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValueRange.Unmarshal(m, b) @@ -669,27 +677,18 @@ var xxx_messageInfo_ValueRange proto.InternalMessageInfo type isValueRange_StartValue interface { isValueRange_StartValue() } -type isValueRange_EndValue interface { - isValueRange_EndValue() -} type ValueRange_StartValueInclusive struct { StartValueInclusive []byte `protobuf:"bytes,1,opt,name=start_value_inclusive,json=startValueInclusive,proto3,oneof"` } + type ValueRange_StartValueExclusive struct { StartValueExclusive []byte `protobuf:"bytes,2,opt,name=start_value_exclusive,json=startValueExclusive,proto3,oneof"` } -type ValueRange_EndValueInclusive struct { - EndValueInclusive []byte `protobuf:"bytes,3,opt,name=end_value_inclusive,json=endValueInclusive,proto3,oneof"` -} -type ValueRange_EndValueExclusive struct { - EndValueExclusive []byte `protobuf:"bytes,4,opt,name=end_value_exclusive,json=endValueExclusive,proto3,oneof"` -} func (*ValueRange_StartValueInclusive) isValueRange_StartValue() {} + func (*ValueRange_StartValueExclusive) isValueRange_StartValue() {} -func (*ValueRange_EndValueInclusive) isValueRange_EndValue() {} -func (*ValueRange_EndValueExclusive) isValueRange_EndValue() {} func (m *ValueRange) GetStartValue() isValueRange_StartValue { if m != nil { @@ -697,12 +696,6 @@ func (m *ValueRange) GetStartValue() isValueRange_StartValue { } return nil } -func (m *ValueRange) GetEndValue() isValueRange_EndValue { - if m != nil { - return m.EndValue - } - return nil -} func (m *ValueRange) GetStartValueInclusive() []byte { if x, ok := m.GetStartValue().(*ValueRange_StartValueInclusive); ok { @@ -718,6 +711,29 @@ func (m *ValueRange) GetStartValueExclusive() []byte { return nil } +type isValueRange_EndValue interface { + isValueRange_EndValue() +} + +type ValueRange_EndValueInclusive struct { + EndValueInclusive []byte `protobuf:"bytes,3,opt,name=end_value_inclusive,json=endValueInclusive,proto3,oneof"` +} + +type ValueRange_EndValueExclusive struct { + EndValueExclusive []byte `protobuf:"bytes,4,opt,name=end_value_exclusive,json=endValueExclusive,proto3,oneof"` +} + +func (*ValueRange_EndValueInclusive) isValueRange_EndValue() {} + +func (*ValueRange_EndValueExclusive) isValueRange_EndValue() {} + +func (m *ValueRange) GetEndValue() isValueRange_EndValue { + if m != nil { + return m.EndValue + } + return nil +} + func (m *ValueRange) GetEndValueInclusive() []byte { if x, ok := m.GetEndValue().(*ValueRange_EndValueInclusive); ok { return x.EndValueInclusive @@ -907,7 +923,7 @@ func (m *RowFilter) Reset() { *m = RowFilter{} } func (m *RowFilter) String() string { return proto.CompactTextString(m) } func (*RowFilter) ProtoMessage() {} func (*RowFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{9} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{9} } func (m *RowFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter.Unmarshal(m, b) @@ -934,80 +950,116 @@ type isRowFilter_Filter interface { type RowFilter_Chain_ struct { Chain *RowFilter_Chain `protobuf:"bytes,1,opt,name=chain,proto3,oneof"` } + type RowFilter_Interleave_ struct { Interleave *RowFilter_Interleave `protobuf:"bytes,2,opt,name=interleave,proto3,oneof"` } + type RowFilter_Condition_ struct { Condition *RowFilter_Condition `protobuf:"bytes,3,opt,name=condition,proto3,oneof"` } + type RowFilter_Sink struct { Sink bool `protobuf:"varint,16,opt,name=sink,proto3,oneof"` } + type RowFilter_PassAllFilter struct { PassAllFilter bool `protobuf:"varint,17,opt,name=pass_all_filter,json=passAllFilter,proto3,oneof"` } + type RowFilter_BlockAllFilter struct { BlockAllFilter bool `protobuf:"varint,18,opt,name=block_all_filter,json=blockAllFilter,proto3,oneof"` } + type RowFilter_RowKeyRegexFilter struct { RowKeyRegexFilter []byte `protobuf:"bytes,4,opt,name=row_key_regex_filter,json=rowKeyRegexFilter,proto3,oneof"` } + type RowFilter_RowSampleFilter struct { RowSampleFilter float64 `protobuf:"fixed64,14,opt,name=row_sample_filter,json=rowSampleFilter,proto3,oneof"` } + type RowFilter_FamilyNameRegexFilter struct { FamilyNameRegexFilter string `protobuf:"bytes,5,opt,name=family_name_regex_filter,json=familyNameRegexFilter,proto3,oneof"` } + type RowFilter_ColumnQualifierRegexFilter struct { ColumnQualifierRegexFilter []byte `protobuf:"bytes,6,opt,name=column_qualifier_regex_filter,json=columnQualifierRegexFilter,proto3,oneof"` } + type RowFilter_ColumnRangeFilter struct { ColumnRangeFilter *ColumnRange `protobuf:"bytes,7,opt,name=column_range_filter,json=columnRangeFilter,proto3,oneof"` } + type RowFilter_TimestampRangeFilter struct { TimestampRangeFilter *TimestampRange `protobuf:"bytes,8,opt,name=timestamp_range_filter,json=timestampRangeFilter,proto3,oneof"` } + type RowFilter_ValueRegexFilter struct { ValueRegexFilter []byte `protobuf:"bytes,9,opt,name=value_regex_filter,json=valueRegexFilter,proto3,oneof"` } + type RowFilter_ValueRangeFilter struct { ValueRangeFilter *ValueRange `protobuf:"bytes,15,opt,name=value_range_filter,json=valueRangeFilter,proto3,oneof"` } + type RowFilter_CellsPerRowOffsetFilter struct { CellsPerRowOffsetFilter int32 `protobuf:"varint,10,opt,name=cells_per_row_offset_filter,json=cellsPerRowOffsetFilter,proto3,oneof"` } + type RowFilter_CellsPerRowLimitFilter struct { CellsPerRowLimitFilter int32 `protobuf:"varint,11,opt,name=cells_per_row_limit_filter,json=cellsPerRowLimitFilter,proto3,oneof"` } + type RowFilter_CellsPerColumnLimitFilter struct { CellsPerColumnLimitFilter int32 `protobuf:"varint,12,opt,name=cells_per_column_limit_filter,json=cellsPerColumnLimitFilter,proto3,oneof"` } + type RowFilter_StripValueTransformer struct { StripValueTransformer bool `protobuf:"varint,13,opt,name=strip_value_transformer,json=stripValueTransformer,proto3,oneof"` } + type RowFilter_ApplyLabelTransformer struct { ApplyLabelTransformer string `protobuf:"bytes,19,opt,name=apply_label_transformer,json=applyLabelTransformer,proto3,oneof"` } -func (*RowFilter_Chain_) isRowFilter_Filter() {} -func (*RowFilter_Interleave_) isRowFilter_Filter() {} -func (*RowFilter_Condition_) isRowFilter_Filter() {} -func (*RowFilter_Sink) isRowFilter_Filter() {} -func (*RowFilter_PassAllFilter) isRowFilter_Filter() {} -func (*RowFilter_BlockAllFilter) isRowFilter_Filter() {} -func (*RowFilter_RowKeyRegexFilter) isRowFilter_Filter() {} -func (*RowFilter_RowSampleFilter) isRowFilter_Filter() {} -func (*RowFilter_FamilyNameRegexFilter) isRowFilter_Filter() {} +func (*RowFilter_Chain_) isRowFilter_Filter() {} + +func (*RowFilter_Interleave_) isRowFilter_Filter() {} + +func (*RowFilter_Condition_) isRowFilter_Filter() {} + +func (*RowFilter_Sink) isRowFilter_Filter() {} + +func (*RowFilter_PassAllFilter) isRowFilter_Filter() {} + +func (*RowFilter_BlockAllFilter) isRowFilter_Filter() {} + +func (*RowFilter_RowKeyRegexFilter) isRowFilter_Filter() {} + +func (*RowFilter_RowSampleFilter) isRowFilter_Filter() {} + +func (*RowFilter_FamilyNameRegexFilter) isRowFilter_Filter() {} + func (*RowFilter_ColumnQualifierRegexFilter) isRowFilter_Filter() {} -func (*RowFilter_ColumnRangeFilter) isRowFilter_Filter() {} -func (*RowFilter_TimestampRangeFilter) isRowFilter_Filter() {} -func (*RowFilter_ValueRegexFilter) isRowFilter_Filter() {} -func (*RowFilter_ValueRangeFilter) isRowFilter_Filter() {} -func (*RowFilter_CellsPerRowOffsetFilter) isRowFilter_Filter() {} -func (*RowFilter_CellsPerRowLimitFilter) isRowFilter_Filter() {} -func (*RowFilter_CellsPerColumnLimitFilter) isRowFilter_Filter() {} -func (*RowFilter_StripValueTransformer) isRowFilter_Filter() {} -func (*RowFilter_ApplyLabelTransformer) isRowFilter_Filter() {} + +func (*RowFilter_ColumnRangeFilter) isRowFilter_Filter() {} + +func (*RowFilter_TimestampRangeFilter) isRowFilter_Filter() {} + +func (*RowFilter_ValueRegexFilter) isRowFilter_Filter() {} + +func (*RowFilter_ValueRangeFilter) isRowFilter_Filter() {} + +func (*RowFilter_CellsPerRowOffsetFilter) isRowFilter_Filter() {} + +func (*RowFilter_CellsPerRowLimitFilter) isRowFilter_Filter() {} + +func (*RowFilter_CellsPerColumnLimitFilter) isRowFilter_Filter() {} + +func (*RowFilter_StripValueTransformer) isRowFilter_Filter() {} + +func (*RowFilter_ApplyLabelTransformer) isRowFilter_Filter() {} func (m *RowFilter) GetFilter() isRowFilter_Filter { if m != nil { @@ -1517,7 +1569,7 @@ func (m *RowFilter_Chain) Reset() { *m = RowFilter_Chain{} } func (m *RowFilter_Chain) String() string { return proto.CompactTextString(m) } func (*RowFilter_Chain) ProtoMessage() {} func (*RowFilter_Chain) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{9, 0} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{9, 0} } func (m *RowFilter_Chain) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter_Chain.Unmarshal(m, b) @@ -1581,7 +1633,7 @@ func (m *RowFilter_Interleave) Reset() { *m = RowFilter_Interleave{} } func (m *RowFilter_Interleave) String() string { return proto.CompactTextString(m) } func (*RowFilter_Interleave) ProtoMessage() {} func (*RowFilter_Interleave) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{9, 1} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{9, 1} } func (m *RowFilter_Interleave) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter_Interleave.Unmarshal(m, b) @@ -1635,7 +1687,7 @@ func (m *RowFilter_Condition) Reset() { *m = RowFilter_Condition{} } func (m *RowFilter_Condition) String() string { return proto.CompactTextString(m) } func (*RowFilter_Condition) ProtoMessage() {} func (*RowFilter_Condition) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{9, 2} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{9, 2} } func (m *RowFilter_Condition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter_Condition.Unmarshal(m, b) @@ -1695,7 +1747,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{10} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{10} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation.Unmarshal(m, b) @@ -1722,20 +1774,26 @@ type isMutation_Mutation interface { type Mutation_SetCell_ struct { SetCell *Mutation_SetCell `protobuf:"bytes,1,opt,name=set_cell,json=setCell,proto3,oneof"` } + type Mutation_DeleteFromColumn_ struct { DeleteFromColumn *Mutation_DeleteFromColumn `protobuf:"bytes,2,opt,name=delete_from_column,json=deleteFromColumn,proto3,oneof"` } + type Mutation_DeleteFromFamily_ struct { DeleteFromFamily *Mutation_DeleteFromFamily `protobuf:"bytes,3,opt,name=delete_from_family,json=deleteFromFamily,proto3,oneof"` } + type Mutation_DeleteFromRow_ struct { DeleteFromRow *Mutation_DeleteFromRow `protobuf:"bytes,4,opt,name=delete_from_row,json=deleteFromRow,proto3,oneof"` } -func (*Mutation_SetCell_) isMutation_Mutation() {} +func (*Mutation_SetCell_) isMutation_Mutation() {} + func (*Mutation_DeleteFromColumn_) isMutation_Mutation() {} + func (*Mutation_DeleteFromFamily_) isMutation_Mutation() {} -func (*Mutation_DeleteFromRow_) isMutation_Mutation() {} + +func (*Mutation_DeleteFromRow_) isMutation_Mutation() {} func (m *Mutation) GetMutation() isMutation_Mutation { if m != nil { @@ -1909,7 +1967,7 @@ func (m *Mutation_SetCell) Reset() { *m = Mutation_SetCell{} } func (m *Mutation_SetCell) String() string { return proto.CompactTextString(m) } func (*Mutation_SetCell) ProtoMessage() {} func (*Mutation_SetCell) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{10, 0} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{10, 0} } func (m *Mutation_SetCell) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_SetCell.Unmarshal(m, b) @@ -1977,7 +2035,7 @@ func (m *Mutation_DeleteFromColumn) Reset() { *m = Mutation_DeleteFromCo func (m *Mutation_DeleteFromColumn) String() string { return proto.CompactTextString(m) } func (*Mutation_DeleteFromColumn) ProtoMessage() {} func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{10, 1} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{10, 1} } func (m *Mutation_DeleteFromColumn) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_DeleteFromColumn.Unmarshal(m, b) @@ -2032,7 +2090,7 @@ func (m *Mutation_DeleteFromFamily) Reset() { *m = Mutation_DeleteFromFa func (m *Mutation_DeleteFromFamily) String() string { return proto.CompactTextString(m) } func (*Mutation_DeleteFromFamily) ProtoMessage() {} func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{10, 2} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{10, 2} } func (m *Mutation_DeleteFromFamily) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_DeleteFromFamily.Unmarshal(m, b) @@ -2070,7 +2128,7 @@ func (m *Mutation_DeleteFromRow) Reset() { *m = Mutation_DeleteFromRow{} func (m *Mutation_DeleteFromRow) String() string { return proto.CompactTextString(m) } func (*Mutation_DeleteFromRow) ProtoMessage() {} func (*Mutation_DeleteFromRow) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{10, 3} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{10, 3} } func (m *Mutation_DeleteFromRow) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_DeleteFromRow.Unmarshal(m, b) @@ -2116,7 +2174,7 @@ func (m *ReadModifyWriteRule) Reset() { *m = ReadModifyWriteRule{} } func (m *ReadModifyWriteRule) String() string { return proto.CompactTextString(m) } func (*ReadModifyWriteRule) ProtoMessage() {} func (*ReadModifyWriteRule) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_data_11f19b94ec945589, []int{11} + return fileDescriptor_bigtable_data_97ae07dac133c199, []int{11} } func (m *ReadModifyWriteRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadModifyWriteRule.Unmarshal(m, b) @@ -2136,6 +2194,20 @@ func (m *ReadModifyWriteRule) XXX_DiscardUnknown() { var xxx_messageInfo_ReadModifyWriteRule proto.InternalMessageInfo +func (m *ReadModifyWriteRule) GetFamilyName() string { + if m != nil { + return m.FamilyName + } + return "" +} + +func (m *ReadModifyWriteRule) GetColumnQualifier() []byte { + if m != nil { + return m.ColumnQualifier + } + return nil +} + type isReadModifyWriteRule_Rule interface { isReadModifyWriteRule_Rule() } @@ -2143,11 +2215,13 @@ type isReadModifyWriteRule_Rule interface { type ReadModifyWriteRule_AppendValue struct { AppendValue []byte `protobuf:"bytes,3,opt,name=append_value,json=appendValue,proto3,oneof"` } + type ReadModifyWriteRule_IncrementAmount struct { IncrementAmount int64 `protobuf:"varint,4,opt,name=increment_amount,json=incrementAmount,proto3,oneof"` } -func (*ReadModifyWriteRule_AppendValue) isReadModifyWriteRule_Rule() {} +func (*ReadModifyWriteRule_AppendValue) isReadModifyWriteRule_Rule() {} + func (*ReadModifyWriteRule_IncrementAmount) isReadModifyWriteRule_Rule() {} func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule { @@ -2157,20 +2231,6 @@ func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule { return nil } -func (m *ReadModifyWriteRule) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *ReadModifyWriteRule) GetColumnQualifier() []byte { - if m != nil { - return m.ColumnQualifier - } - return nil -} - func (m *ReadModifyWriteRule) GetAppendValue() []byte { if x, ok := m.GetRule().(*ReadModifyWriteRule_AppendValue); ok { return x.AppendValue @@ -2273,10 +2333,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/v1/bigtable_data.proto", fileDescriptor_bigtable_data_11f19b94ec945589) + proto.RegisterFile("google/bigtable/v1/bigtable_data.proto", fileDescriptor_bigtable_data_97ae07dac133c199) } -var fileDescriptor_bigtable_data_11f19b94ec945589 = []byte{ +var fileDescriptor_bigtable_data_97ae07dac133c199 = []byte{ // 1378 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdb, 0x6e, 0x1b, 0x37, 0x13, 0xd6, 0x5a, 0xb2, 0x0e, 0xb3, 0x76, 0x24, 0xd3, 0x27, 0x45, 0x49, 0xfe, 0x18, 0xca, 0x8f, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go index de642e347..91b5ed419 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go @@ -354,10 +354,10 @@ var _BigtableService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor_bigtable_service_4233bee4d874237b) + proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor_bigtable_service_ae822d62962d408a) } -var fileDescriptor_bigtable_service_4233bee4d874237b = []byte{ +var fileDescriptor_bigtable_service_ae822d62962d408a = []byte{ // 521 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcd, 0x6e, 0xd4, 0x30, 0x10, 0xc7, 0x65, 0x0e, 0xa8, 0x58, 0x42, 0x08, 0x4b, 0x14, 0x69, 0xe1, 0x14, 0xa0, 0xa2, 0x11, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go index 43888719f..1e78b23c4 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go @@ -53,7 +53,7 @@ func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} } func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) } func (*ReadRowsRequest) ProtoMessage() {} func (*ReadRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{0} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{0} } func (m *ReadRowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRowsRequest.Unmarshal(m, b) @@ -73,6 +73,13 @@ func (m *ReadRowsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ReadRowsRequest proto.InternalMessageInfo +func (m *ReadRowsRequest) GetTableName() string { + if m != nil { + return m.TableName + } + return "" +} + type isReadRowsRequest_Target interface { isReadRowsRequest_Target() } @@ -80,16 +87,20 @@ type isReadRowsRequest_Target interface { type ReadRowsRequest_RowKey struct { RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3,oneof"` } + type ReadRowsRequest_RowRange struct { RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,proto3,oneof"` } + type ReadRowsRequest_RowSet struct { RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,proto3,oneof"` } -func (*ReadRowsRequest_RowKey) isReadRowsRequest_Target() {} +func (*ReadRowsRequest_RowKey) isReadRowsRequest_Target() {} + func (*ReadRowsRequest_RowRange) isReadRowsRequest_Target() {} -func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {} + +func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {} func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target { if m != nil { @@ -98,13 +109,6 @@ func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target { return nil } -func (m *ReadRowsRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - func (m *ReadRowsRequest) GetRowKey() []byte { if x, ok := m.GetTarget().(*ReadRowsRequest_RowKey); ok { return x.RowKey @@ -253,7 +257,7 @@ func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} } func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) } func (*ReadRowsResponse) ProtoMessage() {} func (*ReadRowsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{1} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{1} } func (m *ReadRowsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRowsResponse.Unmarshal(m, b) @@ -304,7 +308,7 @@ func (m *ReadRowsResponse_Chunk) Reset() { *m = ReadRowsResponse_Chunk{} func (m *ReadRowsResponse_Chunk) String() string { return proto.CompactTextString(m) } func (*ReadRowsResponse_Chunk) ProtoMessage() {} func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{1, 0} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{1, 0} } func (m *ReadRowsResponse_Chunk) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRowsResponse_Chunk.Unmarshal(m, b) @@ -331,16 +335,20 @@ type isReadRowsResponse_Chunk_Chunk interface { type ReadRowsResponse_Chunk_RowContents struct { RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,proto3,oneof"` } + type ReadRowsResponse_Chunk_ResetRow struct { ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,proto3,oneof"` } + type ReadRowsResponse_Chunk_CommitRow struct { CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,proto3,oneof"` } func (*ReadRowsResponse_Chunk_RowContents) isReadRowsResponse_Chunk_Chunk() {} -func (*ReadRowsResponse_Chunk_ResetRow) isReadRowsResponse_Chunk_Chunk() {} -func (*ReadRowsResponse_Chunk_CommitRow) isReadRowsResponse_Chunk_Chunk() {} + +func (*ReadRowsResponse_Chunk_ResetRow) isReadRowsResponse_Chunk_Chunk() {} + +func (*ReadRowsResponse_Chunk_CommitRow) isReadRowsResponse_Chunk_Chunk() {} func (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk { if m != nil { @@ -474,7 +482,7 @@ func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} } func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) } func (*SampleRowKeysRequest) ProtoMessage() {} func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{2} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{2} } func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b) @@ -525,7 +533,7 @@ func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} } func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) } func (*SampleRowKeysResponse) ProtoMessage() {} func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{3} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{3} } func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b) @@ -578,7 +586,7 @@ func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} } func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) } func (*MutateRowRequest) ProtoMessage() {} func (*MutateRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{4} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{4} } func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b) @@ -638,7 +646,7 @@ func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} } func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) } func (*MutateRowsRequest) ProtoMessage() {} func (*MutateRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{5} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{5} } func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b) @@ -689,7 +697,7 @@ func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) } func (*MutateRowsRequest_Entry) ProtoMessage() {} func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{5, 0} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{5, 0} } func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b) @@ -740,7 +748,7 @@ func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} } func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) } func (*MutateRowsResponse) ProtoMessage() {} func (*MutateRowsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{6} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{6} } func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b) @@ -800,7 +808,7 @@ func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowReque func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) } func (*CheckAndMutateRowRequest) ProtoMessage() {} func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{7} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{7} } func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b) @@ -869,7 +877,7 @@ func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResp func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) } func (*CheckAndMutateRowResponse) ProtoMessage() {} func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{8} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{8} } func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b) @@ -916,7 +924,7 @@ func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowReq func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) } func (*ReadModifyWriteRowRequest) ProtoMessage() {} func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b, []int{9} + return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{9} } func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b) @@ -973,10 +981,10 @@ func init() { } func init() { - proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b) + proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor_bigtable_service_messages_e7f32c735e59c16c) } -var fileDescriptor_bigtable_service_messages_b1638ccc1a7cde9b = []byte{ +var fileDescriptor_bigtable_service_messages_e7f32c735e59c16c = []byte{ // 788 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x8b, 0x23, 0x45, 0x10, 0xdf, 0x49, 0xcc, 0xbf, 0x4a, 0xdc, 0xdd, 0x6b, 0xce, 0xdb, 0xd9, 0x70, 0x8b, 0x71, 0x10, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go index 51fce7bea..5b2387ca8 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go @@ -52,7 +52,7 @@ func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} } func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) } func (*ReadRowsRequest) ProtoMessage() {} func (*ReadRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{0} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{0} } func (m *ReadRowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRowsRequest.Unmarshal(m, b) @@ -127,7 +127,7 @@ func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} } func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) } func (*ReadRowsResponse) ProtoMessage() {} func (*ReadRowsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{1} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{1} } func (m *ReadRowsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRowsResponse.Unmarshal(m, b) @@ -219,7 +219,7 @@ func (m *ReadRowsResponse_CellChunk) Reset() { *m = ReadRowsResponse_Cel func (m *ReadRowsResponse_CellChunk) String() string { return proto.CompactTextString(m) } func (*ReadRowsResponse_CellChunk) ProtoMessage() {} func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{1, 0} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{1, 0} } func (m *ReadRowsResponse_CellChunk) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRowsResponse_CellChunk.Unmarshal(m, b) @@ -239,27 +239,6 @@ func (m *ReadRowsResponse_CellChunk) XXX_DiscardUnknown() { var xxx_messageInfo_ReadRowsResponse_CellChunk proto.InternalMessageInfo -type isReadRowsResponse_CellChunk_RowStatus interface { - isReadRowsResponse_CellChunk_RowStatus() -} - -type ReadRowsResponse_CellChunk_ResetRow struct { - ResetRow bool `protobuf:"varint,8,opt,name=reset_row,json=resetRow,proto3,oneof"` -} -type ReadRowsResponse_CellChunk_CommitRow struct { - CommitRow bool `protobuf:"varint,9,opt,name=commit_row,json=commitRow,proto3,oneof"` -} - -func (*ReadRowsResponse_CellChunk_ResetRow) isReadRowsResponse_CellChunk_RowStatus() {} -func (*ReadRowsResponse_CellChunk_CommitRow) isReadRowsResponse_CellChunk_RowStatus() {} - -func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus { - if m != nil { - return m.RowStatus - } - return nil -} - func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte { if m != nil { return m.RowKey @@ -309,6 +288,29 @@ func (m *ReadRowsResponse_CellChunk) GetValueSize() int32 { return 0 } +type isReadRowsResponse_CellChunk_RowStatus interface { + isReadRowsResponse_CellChunk_RowStatus() +} + +type ReadRowsResponse_CellChunk_ResetRow struct { + ResetRow bool `protobuf:"varint,8,opt,name=reset_row,json=resetRow,proto3,oneof"` +} + +type ReadRowsResponse_CellChunk_CommitRow struct { + CommitRow bool `protobuf:"varint,9,opt,name=commit_row,json=commitRow,proto3,oneof"` +} + +func (*ReadRowsResponse_CellChunk_ResetRow) isReadRowsResponse_CellChunk_RowStatus() {} + +func (*ReadRowsResponse_CellChunk_CommitRow) isReadRowsResponse_CellChunk_RowStatus() {} + +func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus { + if m != nil { + return m.RowStatus + } + return nil +} + func (m *ReadRowsResponse_CellChunk) GetResetRow() bool { if x, ok := m.GetRowStatus().(*ReadRowsResponse_CellChunk_ResetRow); ok { return x.ResetRow @@ -413,7 +415,7 @@ func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} } func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) } func (*SampleRowKeysRequest) ProtoMessage() {} func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{2} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{2} } func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b) @@ -471,7 +473,7 @@ func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} } func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) } func (*SampleRowKeysResponse) ProtoMessage() {} func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{3} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{3} } func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b) @@ -529,7 +531,7 @@ func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} } func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) } func (*MutateRowRequest) ProtoMessage() {} func (*MutateRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{4} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{4} } func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b) @@ -588,7 +590,7 @@ func (m *MutateRowResponse) Reset() { *m = MutateRowResponse{} } func (m *MutateRowResponse) String() string { return proto.CompactTextString(m) } func (*MutateRowResponse) ProtoMessage() {} func (*MutateRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{5} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{5} } func (m *MutateRowResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowResponse.Unmarshal(m, b) @@ -630,7 +632,7 @@ func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} } func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) } func (*MutateRowsRequest) ProtoMessage() {} func (*MutateRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{6} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{6} } func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b) @@ -688,7 +690,7 @@ func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) } func (*MutateRowsRequest_Entry) ProtoMessage() {} func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{6, 0} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{6, 0} } func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b) @@ -735,7 +737,7 @@ func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} } func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) } func (*MutateRowsResponse) ProtoMessage() {} func (*MutateRowsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{7} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{7} } func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b) @@ -780,7 +782,7 @@ func (m *MutateRowsResponse_Entry) Reset() { *m = MutateRowsResponse_Ent func (m *MutateRowsResponse_Entry) String() string { return proto.CompactTextString(m) } func (*MutateRowsResponse_Entry) ProtoMessage() {} func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{7, 0} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{7, 0} } func (m *MutateRowsResponse_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutateRowsResponse_Entry.Unmarshal(m, b) @@ -852,7 +854,7 @@ func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowReque func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) } func (*CheckAndMutateRowRequest) ProtoMessage() {} func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{8} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{8} } func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b) @@ -928,7 +930,7 @@ func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResp func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) } func (*CheckAndMutateRowResponse) ProtoMessage() {} func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{9} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{9} } func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b) @@ -980,7 +982,7 @@ func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowReq func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) } func (*ReadModifyWriteRowRequest) ProtoMessage() {} func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{10} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{10} } func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b) @@ -1041,7 +1043,7 @@ func (m *ReadModifyWriteRowResponse) Reset() { *m = ReadModifyWriteRowRe func (m *ReadModifyWriteRowResponse) String() string { return proto.CompactTextString(m) } func (*ReadModifyWriteRowResponse) ProtoMessage() {} func (*ReadModifyWriteRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bigtable_8d6dd9ae311e02dd, []int{11} + return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{11} } func (m *ReadModifyWriteRowResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadModifyWriteRowResponse.Unmarshal(m, b) @@ -1446,10 +1448,10 @@ var _Bigtable_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor_bigtable_8d6dd9ae311e02dd) + proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor_bigtable_3e4f9d0dda27200f) } -var fileDescriptor_bigtable_8d6dd9ae311e02dd = []byte{ +var fileDescriptor_bigtable_3e4f9d0dda27200f = []byte{ // 1210 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x41, 0x6f, 0x1b, 0x45, 0x14, 0x66, 0xec, 0xd8, 0xf1, 0xbe, 0xa4, 0x4d, 0x32, 0x84, 0x76, 0x6b, 0x5a, 0x70, 0x97, 0x16, diff --git a/vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go b/vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go index 3554517f5..71b56ba39 100644 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go @@ -37,7 +37,7 @@ func (m *Row) Reset() { *m = Row{} } func (m *Row) String() string { return proto.CompactTextString(m) } func (*Row) ProtoMessage() {} func (*Row) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{0} + return fileDescriptor_data_4a4437069b4d43ba, []int{0} } func (m *Row) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Row.Unmarshal(m, b) @@ -92,7 +92,7 @@ func (m *Family) Reset() { *m = Family{} } func (m *Family) String() string { return proto.CompactTextString(m) } func (*Family) ProtoMessage() {} func (*Family) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{1} + return fileDescriptor_data_4a4437069b4d43ba, []int{1} } func (m *Family) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Family.Unmarshal(m, b) @@ -146,7 +146,7 @@ func (m *Column) Reset() { *m = Column{} } func (m *Column) String() string { return proto.CompactTextString(m) } func (*Column) ProtoMessage() {} func (*Column) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{2} + return fileDescriptor_data_4a4437069b4d43ba, []int{2} } func (m *Column) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Column.Unmarshal(m, b) @@ -204,7 +204,7 @@ func (m *Cell) Reset() { *m = Cell{} } func (m *Cell) String() string { return proto.CompactTextString(m) } func (*Cell) ProtoMessage() {} func (*Cell) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{3} + return fileDescriptor_data_4a4437069b4d43ba, []int{3} } func (m *Cell) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cell.Unmarshal(m, b) @@ -270,7 +270,7 @@ func (m *RowRange) Reset() { *m = RowRange{} } func (m *RowRange) String() string { return proto.CompactTextString(m) } func (*RowRange) ProtoMessage() {} func (*RowRange) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{4} + return fileDescriptor_data_4a4437069b4d43ba, []int{4} } func (m *RowRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowRange.Unmarshal(m, b) @@ -293,27 +293,18 @@ var xxx_messageInfo_RowRange proto.InternalMessageInfo type isRowRange_StartKey interface { isRowRange_StartKey() } -type isRowRange_EndKey interface { - isRowRange_EndKey() -} type RowRange_StartKeyClosed struct { StartKeyClosed []byte `protobuf:"bytes,1,opt,name=start_key_closed,json=startKeyClosed,proto3,oneof"` } + type RowRange_StartKeyOpen struct { StartKeyOpen []byte `protobuf:"bytes,2,opt,name=start_key_open,json=startKeyOpen,proto3,oneof"` } -type RowRange_EndKeyOpen struct { - EndKeyOpen []byte `protobuf:"bytes,3,opt,name=end_key_open,json=endKeyOpen,proto3,oneof"` -} -type RowRange_EndKeyClosed struct { - EndKeyClosed []byte `protobuf:"bytes,4,opt,name=end_key_closed,json=endKeyClosed,proto3,oneof"` -} func (*RowRange_StartKeyClosed) isRowRange_StartKey() {} -func (*RowRange_StartKeyOpen) isRowRange_StartKey() {} -func (*RowRange_EndKeyOpen) isRowRange_EndKey() {} -func (*RowRange_EndKeyClosed) isRowRange_EndKey() {} + +func (*RowRange_StartKeyOpen) isRowRange_StartKey() {} func (m *RowRange) GetStartKey() isRowRange_StartKey { if m != nil { @@ -321,12 +312,6 @@ func (m *RowRange) GetStartKey() isRowRange_StartKey { } return nil } -func (m *RowRange) GetEndKey() isRowRange_EndKey { - if m != nil { - return m.EndKey - } - return nil -} func (m *RowRange) GetStartKeyClosed() []byte { if x, ok := m.GetStartKey().(*RowRange_StartKeyClosed); ok { @@ -342,6 +327,29 @@ func (m *RowRange) GetStartKeyOpen() []byte { return nil } +type isRowRange_EndKey interface { + isRowRange_EndKey() +} + +type RowRange_EndKeyOpen struct { + EndKeyOpen []byte `protobuf:"bytes,3,opt,name=end_key_open,json=endKeyOpen,proto3,oneof"` +} + +type RowRange_EndKeyClosed struct { + EndKeyClosed []byte `protobuf:"bytes,4,opt,name=end_key_closed,json=endKeyClosed,proto3,oneof"` +} + +func (*RowRange_EndKeyOpen) isRowRange_EndKey() {} + +func (*RowRange_EndKeyClosed) isRowRange_EndKey() {} + +func (m *RowRange) GetEndKey() isRowRange_EndKey { + if m != nil { + return m.EndKey + } + return nil +} + func (m *RowRange) GetEndKeyOpen() []byte { if x, ok := m.GetEndKey().(*RowRange_EndKeyOpen); ok { return x.EndKeyOpen @@ -479,7 +487,7 @@ func (m *RowSet) Reset() { *m = RowSet{} } func (m *RowSet) String() string { return proto.CompactTextString(m) } func (*RowSet) ProtoMessage() {} func (*RowSet) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{5} + return fileDescriptor_data_4a4437069b4d43ba, []int{5} } func (m *RowSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowSet.Unmarshal(m, b) @@ -543,7 +551,7 @@ func (m *ColumnRange) Reset() { *m = ColumnRange{} } func (m *ColumnRange) String() string { return proto.CompactTextString(m) } func (*ColumnRange) ProtoMessage() {} func (*ColumnRange) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{6} + return fileDescriptor_data_4a4437069b4d43ba, []int{6} } func (m *ColumnRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColumnRange.Unmarshal(m, b) @@ -563,30 +571,28 @@ func (m *ColumnRange) XXX_DiscardUnknown() { var xxx_messageInfo_ColumnRange proto.InternalMessageInfo +func (m *ColumnRange) GetFamilyName() string { + if m != nil { + return m.FamilyName + } + return "" +} + type isColumnRange_StartQualifier interface { isColumnRange_StartQualifier() } -type isColumnRange_EndQualifier interface { - isColumnRange_EndQualifier() -} type ColumnRange_StartQualifierClosed struct { StartQualifierClosed []byte `protobuf:"bytes,2,opt,name=start_qualifier_closed,json=startQualifierClosed,proto3,oneof"` } + type ColumnRange_StartQualifierOpen struct { StartQualifierOpen []byte `protobuf:"bytes,3,opt,name=start_qualifier_open,json=startQualifierOpen,proto3,oneof"` } -type ColumnRange_EndQualifierClosed struct { - EndQualifierClosed []byte `protobuf:"bytes,4,opt,name=end_qualifier_closed,json=endQualifierClosed,proto3,oneof"` -} -type ColumnRange_EndQualifierOpen struct { - EndQualifierOpen []byte `protobuf:"bytes,5,opt,name=end_qualifier_open,json=endQualifierOpen,proto3,oneof"` -} func (*ColumnRange_StartQualifierClosed) isColumnRange_StartQualifier() {} -func (*ColumnRange_StartQualifierOpen) isColumnRange_StartQualifier() {} -func (*ColumnRange_EndQualifierClosed) isColumnRange_EndQualifier() {} -func (*ColumnRange_EndQualifierOpen) isColumnRange_EndQualifier() {} + +func (*ColumnRange_StartQualifierOpen) isColumnRange_StartQualifier() {} func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier { if m != nil { @@ -594,19 +600,6 @@ func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier { } return nil } -func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier { - if m != nil { - return m.EndQualifier - } - return nil -} - -func (m *ColumnRange) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} func (m *ColumnRange) GetStartQualifierClosed() []byte { if x, ok := m.GetStartQualifier().(*ColumnRange_StartQualifierClosed); ok { @@ -622,6 +615,29 @@ func (m *ColumnRange) GetStartQualifierOpen() []byte { return nil } +type isColumnRange_EndQualifier interface { + isColumnRange_EndQualifier() +} + +type ColumnRange_EndQualifierClosed struct { + EndQualifierClosed []byte `protobuf:"bytes,4,opt,name=end_qualifier_closed,json=endQualifierClosed,proto3,oneof"` +} + +type ColumnRange_EndQualifierOpen struct { + EndQualifierOpen []byte `protobuf:"bytes,5,opt,name=end_qualifier_open,json=endQualifierOpen,proto3,oneof"` +} + +func (*ColumnRange_EndQualifierClosed) isColumnRange_EndQualifier() {} + +func (*ColumnRange_EndQualifierOpen) isColumnRange_EndQualifier() {} + +func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier { + if m != nil { + return m.EndQualifier + } + return nil +} + func (m *ColumnRange) GetEndQualifierClosed() []byte { if x, ok := m.GetEndQualifier().(*ColumnRange_EndQualifierClosed); ok { return x.EndQualifierClosed @@ -759,7 +775,7 @@ func (m *TimestampRange) Reset() { *m = TimestampRange{} } func (m *TimestampRange) String() string { return proto.CompactTextString(m) } func (*TimestampRange) ProtoMessage() {} func (*TimestampRange) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{7} + return fileDescriptor_data_4a4437069b4d43ba, []int{7} } func (m *TimestampRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimestampRange.Unmarshal(m, b) @@ -818,7 +834,7 @@ func (m *ValueRange) Reset() { *m = ValueRange{} } func (m *ValueRange) String() string { return proto.CompactTextString(m) } func (*ValueRange) ProtoMessage() {} func (*ValueRange) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{8} + return fileDescriptor_data_4a4437069b4d43ba, []int{8} } func (m *ValueRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValueRange.Unmarshal(m, b) @@ -841,27 +857,18 @@ var xxx_messageInfo_ValueRange proto.InternalMessageInfo type isValueRange_StartValue interface { isValueRange_StartValue() } -type isValueRange_EndValue interface { - isValueRange_EndValue() -} type ValueRange_StartValueClosed struct { StartValueClosed []byte `protobuf:"bytes,1,opt,name=start_value_closed,json=startValueClosed,proto3,oneof"` } + type ValueRange_StartValueOpen struct { StartValueOpen []byte `protobuf:"bytes,2,opt,name=start_value_open,json=startValueOpen,proto3,oneof"` } -type ValueRange_EndValueClosed struct { - EndValueClosed []byte `protobuf:"bytes,3,opt,name=end_value_closed,json=endValueClosed,proto3,oneof"` -} -type ValueRange_EndValueOpen struct { - EndValueOpen []byte `protobuf:"bytes,4,opt,name=end_value_open,json=endValueOpen,proto3,oneof"` -} func (*ValueRange_StartValueClosed) isValueRange_StartValue() {} -func (*ValueRange_StartValueOpen) isValueRange_StartValue() {} -func (*ValueRange_EndValueClosed) isValueRange_EndValue() {} -func (*ValueRange_EndValueOpen) isValueRange_EndValue() {} + +func (*ValueRange_StartValueOpen) isValueRange_StartValue() {} func (m *ValueRange) GetStartValue() isValueRange_StartValue { if m != nil { @@ -869,12 +876,6 @@ func (m *ValueRange) GetStartValue() isValueRange_StartValue { } return nil } -func (m *ValueRange) GetEndValue() isValueRange_EndValue { - if m != nil { - return m.EndValue - } - return nil -} func (m *ValueRange) GetStartValueClosed() []byte { if x, ok := m.GetStartValue().(*ValueRange_StartValueClosed); ok { @@ -890,6 +891,29 @@ func (m *ValueRange) GetStartValueOpen() []byte { return nil } +type isValueRange_EndValue interface { + isValueRange_EndValue() +} + +type ValueRange_EndValueClosed struct { + EndValueClosed []byte `protobuf:"bytes,3,opt,name=end_value_closed,json=endValueClosed,proto3,oneof"` +} + +type ValueRange_EndValueOpen struct { + EndValueOpen []byte `protobuf:"bytes,4,opt,name=end_value_open,json=endValueOpen,proto3,oneof"` +} + +func (*ValueRange_EndValueClosed) isValueRange_EndValue() {} + +func (*ValueRange_EndValueOpen) isValueRange_EndValue() {} + +func (m *ValueRange) GetEndValue() isValueRange_EndValue { + if m != nil { + return m.EndValue + } + return nil +} + func (m *ValueRange) GetEndValueClosed() []byte { if x, ok := m.GetEndValue().(*ValueRange_EndValueClosed); ok { return x.EndValueClosed @@ -1079,7 +1103,7 @@ func (m *RowFilter) Reset() { *m = RowFilter{} } func (m *RowFilter) String() string { return proto.CompactTextString(m) } func (*RowFilter) ProtoMessage() {} func (*RowFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{9} + return fileDescriptor_data_4a4437069b4d43ba, []int{9} } func (m *RowFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter.Unmarshal(m, b) @@ -1106,80 +1130,116 @@ type isRowFilter_Filter interface { type RowFilter_Chain_ struct { Chain *RowFilter_Chain `protobuf:"bytes,1,opt,name=chain,proto3,oneof"` } + type RowFilter_Interleave_ struct { Interleave *RowFilter_Interleave `protobuf:"bytes,2,opt,name=interleave,proto3,oneof"` } + type RowFilter_Condition_ struct { Condition *RowFilter_Condition `protobuf:"bytes,3,opt,name=condition,proto3,oneof"` } + type RowFilter_Sink struct { Sink bool `protobuf:"varint,16,opt,name=sink,proto3,oneof"` } + type RowFilter_PassAllFilter struct { PassAllFilter bool `protobuf:"varint,17,opt,name=pass_all_filter,json=passAllFilter,proto3,oneof"` } + type RowFilter_BlockAllFilter struct { BlockAllFilter bool `protobuf:"varint,18,opt,name=block_all_filter,json=blockAllFilter,proto3,oneof"` } + type RowFilter_RowKeyRegexFilter struct { RowKeyRegexFilter []byte `protobuf:"bytes,4,opt,name=row_key_regex_filter,json=rowKeyRegexFilter,proto3,oneof"` } + type RowFilter_RowSampleFilter struct { RowSampleFilter float64 `protobuf:"fixed64,14,opt,name=row_sample_filter,json=rowSampleFilter,proto3,oneof"` } + type RowFilter_FamilyNameRegexFilter struct { FamilyNameRegexFilter string `protobuf:"bytes,5,opt,name=family_name_regex_filter,json=familyNameRegexFilter,proto3,oneof"` } + type RowFilter_ColumnQualifierRegexFilter struct { ColumnQualifierRegexFilter []byte `protobuf:"bytes,6,opt,name=column_qualifier_regex_filter,json=columnQualifierRegexFilter,proto3,oneof"` } + type RowFilter_ColumnRangeFilter struct { ColumnRangeFilter *ColumnRange `protobuf:"bytes,7,opt,name=column_range_filter,json=columnRangeFilter,proto3,oneof"` } + type RowFilter_TimestampRangeFilter struct { TimestampRangeFilter *TimestampRange `protobuf:"bytes,8,opt,name=timestamp_range_filter,json=timestampRangeFilter,proto3,oneof"` } + type RowFilter_ValueRegexFilter struct { ValueRegexFilter []byte `protobuf:"bytes,9,opt,name=value_regex_filter,json=valueRegexFilter,proto3,oneof"` } + type RowFilter_ValueRangeFilter struct { ValueRangeFilter *ValueRange `protobuf:"bytes,15,opt,name=value_range_filter,json=valueRangeFilter,proto3,oneof"` } + type RowFilter_CellsPerRowOffsetFilter struct { CellsPerRowOffsetFilter int32 `protobuf:"varint,10,opt,name=cells_per_row_offset_filter,json=cellsPerRowOffsetFilter,proto3,oneof"` } + type RowFilter_CellsPerRowLimitFilter struct { CellsPerRowLimitFilter int32 `protobuf:"varint,11,opt,name=cells_per_row_limit_filter,json=cellsPerRowLimitFilter,proto3,oneof"` } + type RowFilter_CellsPerColumnLimitFilter struct { CellsPerColumnLimitFilter int32 `protobuf:"varint,12,opt,name=cells_per_column_limit_filter,json=cellsPerColumnLimitFilter,proto3,oneof"` } + type RowFilter_StripValueTransformer struct { StripValueTransformer bool `protobuf:"varint,13,opt,name=strip_value_transformer,json=stripValueTransformer,proto3,oneof"` } + type RowFilter_ApplyLabelTransformer struct { ApplyLabelTransformer string `protobuf:"bytes,19,opt,name=apply_label_transformer,json=applyLabelTransformer,proto3,oneof"` } -func (*RowFilter_Chain_) isRowFilter_Filter() {} -func (*RowFilter_Interleave_) isRowFilter_Filter() {} -func (*RowFilter_Condition_) isRowFilter_Filter() {} -func (*RowFilter_Sink) isRowFilter_Filter() {} -func (*RowFilter_PassAllFilter) isRowFilter_Filter() {} -func (*RowFilter_BlockAllFilter) isRowFilter_Filter() {} -func (*RowFilter_RowKeyRegexFilter) isRowFilter_Filter() {} -func (*RowFilter_RowSampleFilter) isRowFilter_Filter() {} -func (*RowFilter_FamilyNameRegexFilter) isRowFilter_Filter() {} +func (*RowFilter_Chain_) isRowFilter_Filter() {} + +func (*RowFilter_Interleave_) isRowFilter_Filter() {} + +func (*RowFilter_Condition_) isRowFilter_Filter() {} + +func (*RowFilter_Sink) isRowFilter_Filter() {} + +func (*RowFilter_PassAllFilter) isRowFilter_Filter() {} + +func (*RowFilter_BlockAllFilter) isRowFilter_Filter() {} + +func (*RowFilter_RowKeyRegexFilter) isRowFilter_Filter() {} + +func (*RowFilter_RowSampleFilter) isRowFilter_Filter() {} + +func (*RowFilter_FamilyNameRegexFilter) isRowFilter_Filter() {} + func (*RowFilter_ColumnQualifierRegexFilter) isRowFilter_Filter() {} -func (*RowFilter_ColumnRangeFilter) isRowFilter_Filter() {} -func (*RowFilter_TimestampRangeFilter) isRowFilter_Filter() {} -func (*RowFilter_ValueRegexFilter) isRowFilter_Filter() {} -func (*RowFilter_ValueRangeFilter) isRowFilter_Filter() {} -func (*RowFilter_CellsPerRowOffsetFilter) isRowFilter_Filter() {} -func (*RowFilter_CellsPerRowLimitFilter) isRowFilter_Filter() {} -func (*RowFilter_CellsPerColumnLimitFilter) isRowFilter_Filter() {} -func (*RowFilter_StripValueTransformer) isRowFilter_Filter() {} -func (*RowFilter_ApplyLabelTransformer) isRowFilter_Filter() {} + +func (*RowFilter_ColumnRangeFilter) isRowFilter_Filter() {} + +func (*RowFilter_TimestampRangeFilter) isRowFilter_Filter() {} + +func (*RowFilter_ValueRegexFilter) isRowFilter_Filter() {} + +func (*RowFilter_ValueRangeFilter) isRowFilter_Filter() {} + +func (*RowFilter_CellsPerRowOffsetFilter) isRowFilter_Filter() {} + +func (*RowFilter_CellsPerRowLimitFilter) isRowFilter_Filter() {} + +func (*RowFilter_CellsPerColumnLimitFilter) isRowFilter_Filter() {} + +func (*RowFilter_StripValueTransformer) isRowFilter_Filter() {} + +func (*RowFilter_ApplyLabelTransformer) isRowFilter_Filter() {} func (m *RowFilter) GetFilter() isRowFilter_Filter { if m != nil { @@ -1689,7 +1749,7 @@ func (m *RowFilter_Chain) Reset() { *m = RowFilter_Chain{} } func (m *RowFilter_Chain) String() string { return proto.CompactTextString(m) } func (*RowFilter_Chain) ProtoMessage() {} func (*RowFilter_Chain) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{9, 0} + return fileDescriptor_data_4a4437069b4d43ba, []int{9, 0} } func (m *RowFilter_Chain) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter_Chain.Unmarshal(m, b) @@ -1754,7 +1814,7 @@ func (m *RowFilter_Interleave) Reset() { *m = RowFilter_Interleave{} } func (m *RowFilter_Interleave) String() string { return proto.CompactTextString(m) } func (*RowFilter_Interleave) ProtoMessage() {} func (*RowFilter_Interleave) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{9, 1} + return fileDescriptor_data_4a4437069b4d43ba, []int{9, 1} } func (m *RowFilter_Interleave) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter_Interleave.Unmarshal(m, b) @@ -1808,7 +1868,7 @@ func (m *RowFilter_Condition) Reset() { *m = RowFilter_Condition{} } func (m *RowFilter_Condition) String() string { return proto.CompactTextString(m) } func (*RowFilter_Condition) ProtoMessage() {} func (*RowFilter_Condition) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{9, 2} + return fileDescriptor_data_4a4437069b4d43ba, []int{9, 2} } func (m *RowFilter_Condition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RowFilter_Condition.Unmarshal(m, b) @@ -1868,7 +1928,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{10} + return fileDescriptor_data_4a4437069b4d43ba, []int{10} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation.Unmarshal(m, b) @@ -1895,20 +1955,26 @@ type isMutation_Mutation interface { type Mutation_SetCell_ struct { SetCell *Mutation_SetCell `protobuf:"bytes,1,opt,name=set_cell,json=setCell,proto3,oneof"` } + type Mutation_DeleteFromColumn_ struct { DeleteFromColumn *Mutation_DeleteFromColumn `protobuf:"bytes,2,opt,name=delete_from_column,json=deleteFromColumn,proto3,oneof"` } + type Mutation_DeleteFromFamily_ struct { DeleteFromFamily *Mutation_DeleteFromFamily `protobuf:"bytes,3,opt,name=delete_from_family,json=deleteFromFamily,proto3,oneof"` } + type Mutation_DeleteFromRow_ struct { DeleteFromRow *Mutation_DeleteFromRow `protobuf:"bytes,4,opt,name=delete_from_row,json=deleteFromRow,proto3,oneof"` } -func (*Mutation_SetCell_) isMutation_Mutation() {} +func (*Mutation_SetCell_) isMutation_Mutation() {} + func (*Mutation_DeleteFromColumn_) isMutation_Mutation() {} + func (*Mutation_DeleteFromFamily_) isMutation_Mutation() {} -func (*Mutation_DeleteFromRow_) isMutation_Mutation() {} + +func (*Mutation_DeleteFromRow_) isMutation_Mutation() {} func (m *Mutation) GetMutation() isMutation_Mutation { if m != nil { @@ -2082,7 +2148,7 @@ func (m *Mutation_SetCell) Reset() { *m = Mutation_SetCell{} } func (m *Mutation_SetCell) String() string { return proto.CompactTextString(m) } func (*Mutation_SetCell) ProtoMessage() {} func (*Mutation_SetCell) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{10, 0} + return fileDescriptor_data_4a4437069b4d43ba, []int{10, 0} } func (m *Mutation_SetCell) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_SetCell.Unmarshal(m, b) @@ -2150,7 +2216,7 @@ func (m *Mutation_DeleteFromColumn) Reset() { *m = Mutation_DeleteFromCo func (m *Mutation_DeleteFromColumn) String() string { return proto.CompactTextString(m) } func (*Mutation_DeleteFromColumn) ProtoMessage() {} func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{10, 1} + return fileDescriptor_data_4a4437069b4d43ba, []int{10, 1} } func (m *Mutation_DeleteFromColumn) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_DeleteFromColumn.Unmarshal(m, b) @@ -2205,7 +2271,7 @@ func (m *Mutation_DeleteFromFamily) Reset() { *m = Mutation_DeleteFromFa func (m *Mutation_DeleteFromFamily) String() string { return proto.CompactTextString(m) } func (*Mutation_DeleteFromFamily) ProtoMessage() {} func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{10, 2} + return fileDescriptor_data_4a4437069b4d43ba, []int{10, 2} } func (m *Mutation_DeleteFromFamily) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_DeleteFromFamily.Unmarshal(m, b) @@ -2243,7 +2309,7 @@ func (m *Mutation_DeleteFromRow) Reset() { *m = Mutation_DeleteFromRow{} func (m *Mutation_DeleteFromRow) String() string { return proto.CompactTextString(m) } func (*Mutation_DeleteFromRow) ProtoMessage() {} func (*Mutation_DeleteFromRow) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{10, 3} + return fileDescriptor_data_4a4437069b4d43ba, []int{10, 3} } func (m *Mutation_DeleteFromRow) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_DeleteFromRow.Unmarshal(m, b) @@ -2289,7 +2355,7 @@ func (m *ReadModifyWriteRule) Reset() { *m = ReadModifyWriteRule{} } func (m *ReadModifyWriteRule) String() string { return proto.CompactTextString(m) } func (*ReadModifyWriteRule) ProtoMessage() {} func (*ReadModifyWriteRule) Descriptor() ([]byte, []int) { - return fileDescriptor_data_b0430eb990758496, []int{11} + return fileDescriptor_data_4a4437069b4d43ba, []int{11} } func (m *ReadModifyWriteRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadModifyWriteRule.Unmarshal(m, b) @@ -2309,6 +2375,20 @@ func (m *ReadModifyWriteRule) XXX_DiscardUnknown() { var xxx_messageInfo_ReadModifyWriteRule proto.InternalMessageInfo +func (m *ReadModifyWriteRule) GetFamilyName() string { + if m != nil { + return m.FamilyName + } + return "" +} + +func (m *ReadModifyWriteRule) GetColumnQualifier() []byte { + if m != nil { + return m.ColumnQualifier + } + return nil +} + type isReadModifyWriteRule_Rule interface { isReadModifyWriteRule_Rule() } @@ -2316,11 +2396,13 @@ type isReadModifyWriteRule_Rule interface { type ReadModifyWriteRule_AppendValue struct { AppendValue []byte `protobuf:"bytes,3,opt,name=append_value,json=appendValue,proto3,oneof"` } + type ReadModifyWriteRule_IncrementAmount struct { IncrementAmount int64 `protobuf:"varint,4,opt,name=increment_amount,json=incrementAmount,proto3,oneof"` } -func (*ReadModifyWriteRule_AppendValue) isReadModifyWriteRule_Rule() {} +func (*ReadModifyWriteRule_AppendValue) isReadModifyWriteRule_Rule() {} + func (*ReadModifyWriteRule_IncrementAmount) isReadModifyWriteRule_Rule() {} func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule { @@ -2330,20 +2412,6 @@ func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule { return nil } -func (m *ReadModifyWriteRule) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *ReadModifyWriteRule) GetColumnQualifier() []byte { - if m != nil { - return m.ColumnQualifier - } - return nil -} - func (m *ReadModifyWriteRule) GetAppendValue() []byte { if x, ok := m.GetRule().(*ReadModifyWriteRule_AppendValue); ok { return x.AppendValue @@ -2445,9 +2513,9 @@ func init() { proto.RegisterType((*ReadModifyWriteRule)(nil), "google.bigtable.v2.ReadModifyWriteRule") } -func init() { proto.RegisterFile("google/bigtable/v2/data.proto", fileDescriptor_data_b0430eb990758496) } +func init() { proto.RegisterFile("google/bigtable/v2/data.proto", fileDescriptor_data_4a4437069b4d43ba) } -var fileDescriptor_data_b0430eb990758496 = []byte{ +var fileDescriptor_data_4a4437069b4d43ba = []byte{ // 1444 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdb, 0x72, 0x1b, 0x45, 0x13, 0xd6, 0x5a, 0xb6, 0x2c, 0xf5, 0xca, 0x96, 0x32, 0x71, 0x1c, 0x45, 0x7f, 0xfc, 0xc7, 0xa5, diff --git a/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go b/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go index acf2c230f..8abd4fa13 100644 --- a/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go @@ -52,7 +52,7 @@ func (m *ReadRequest) Reset() { *m = ReadRequest{} } func (m *ReadRequest) String() string { return proto.CompactTextString(m) } func (*ReadRequest) ProtoMessage() {} func (*ReadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bytestream_e11cc2aa04efc9ca, []int{0} + return fileDescriptor_bytestream_414b76681ba3f568, []int{0} } func (m *ReadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRequest.Unmarshal(m, b) @@ -109,7 +109,7 @@ func (m *ReadResponse) Reset() { *m = ReadResponse{} } func (m *ReadResponse) String() string { return proto.CompactTextString(m) } func (*ReadResponse) ProtoMessage() {} func (*ReadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bytestream_e11cc2aa04efc9ca, []int{1} + return fileDescriptor_bytestream_414b76681ba3f568, []int{1} } func (m *ReadResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadResponse.Unmarshal(m, b) @@ -173,7 +173,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} } func (m *WriteRequest) String() string { return proto.CompactTextString(m) } func (*WriteRequest) ProtoMessage() {} func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bytestream_e11cc2aa04efc9ca, []int{2} + return fileDescriptor_bytestream_414b76681ba3f568, []int{2} } func (m *WriteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteRequest.Unmarshal(m, b) @@ -234,7 +234,7 @@ func (m *WriteResponse) Reset() { *m = WriteResponse{} } func (m *WriteResponse) String() string { return proto.CompactTextString(m) } func (*WriteResponse) ProtoMessage() {} func (*WriteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bytestream_e11cc2aa04efc9ca, []int{3} + return fileDescriptor_bytestream_414b76681ba3f568, []int{3} } func (m *WriteResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteResponse.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *QueryWriteStatusRequest) Reset() { *m = QueryWriteStatusRequest func (m *QueryWriteStatusRequest) String() string { return proto.CompactTextString(m) } func (*QueryWriteStatusRequest) ProtoMessage() {} func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bytestream_e11cc2aa04efc9ca, []int{4} + return fileDescriptor_bytestream_414b76681ba3f568, []int{4} } func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryWriteStatusRequest.Unmarshal(m, b) @@ -317,7 +317,7 @@ func (m *QueryWriteStatusResponse) Reset() { *m = QueryWriteStatusRespon func (m *QueryWriteStatusResponse) String() string { return proto.CompactTextString(m) } func (*QueryWriteStatusResponse) ProtoMessage() {} func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bytestream_e11cc2aa04efc9ca, []int{5} + return fileDescriptor_bytestream_414b76681ba3f568, []int{5} } func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryWriteStatusResponse.Unmarshal(m, b) @@ -639,10 +639,10 @@ var _ByteStream_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/bytestream/bytestream.proto", fileDescriptor_bytestream_e11cc2aa04efc9ca) + proto.RegisterFile("google/bytestream/bytestream.proto", fileDescriptor_bytestream_414b76681ba3f568) } -var fileDescriptor_bytestream_e11cc2aa04efc9ca = []byte{ +var fileDescriptor_bytestream_414b76681ba3f568 = []byte{ // 446 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x5b, 0x8b, 0x13, 0x31, 0x14, 0x66, 0xb6, 0xab, 0x74, 0x4f, 0xa7, 0x5e, 0x02, 0xe2, 0x30, 0xe8, 0x6e, 0x77, 0x44, 0x28, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/asset_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/asset_service.pb.go new file mode 100644 index 000000000..781437665 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/asset_service.pb.go @@ -0,0 +1,657 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/asset/v1beta1/asset_service.proto + +package asset // import "google.golang.org/genproto/googleapis/cloud/asset/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import longrunning "google.golang.org/genproto/googleapis/longrunning" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Asset content type. +type ContentType int32 + +const ( + // Unspecified content type. + ContentType_CONTENT_TYPE_UNSPECIFIED ContentType = 0 + // Resource metadata. + ContentType_RESOURCE ContentType = 1 + // The actual IAM policy set on a resource. + ContentType_IAM_POLICY ContentType = 2 +) + +var ContentType_name = map[int32]string{ + 0: "CONTENT_TYPE_UNSPECIFIED", + 1: "RESOURCE", + 2: "IAM_POLICY", +} +var ContentType_value = map[string]int32{ + "CONTENT_TYPE_UNSPECIFIED": 0, + "RESOURCE": 1, + "IAM_POLICY": 2, +} + +func (x ContentType) String() string { + return proto.EnumName(ContentType_name, int32(x)) +} +func (ContentType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{0} +} + +// Export asset request. +type ExportAssetsRequest struct { + // Required. The relative name of the root asset. This can only be an organization + // number (such as "organizations/123"), a project ID (such as + // "projects/my-project-id"), or a project number (such as "projects/12345"). + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Timestamp to take an asset snapshot. This can only be set to a timestamp in + // the past or of the current time. If not specified, the current time will be + // used. Due to delays in resource data collection and indexing, there is a + // volatile window during which running the same query may get different + // results. + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // A list of asset types of which to take a snapshot for. For example: + // "google.compute.disk". If specified, only matching assets will be returned. + AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"` + // Asset content type. If not specified, no content but the asset name will be + // returned. + ContentType ContentType `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1beta1.ContentType" json:"content_type,omitempty"` + // Required. Output configuration indicating where the results will be output + // to. All results will be in newline delimited JSON format. + OutputConfig *OutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExportAssetsRequest) Reset() { *m = ExportAssetsRequest{} } +func (m *ExportAssetsRequest) String() string { return proto.CompactTextString(m) } +func (*ExportAssetsRequest) ProtoMessage() {} +func (*ExportAssetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{0} +} +func (m *ExportAssetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportAssetsRequest.Unmarshal(m, b) +} +func (m *ExportAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportAssetsRequest.Marshal(b, m, deterministic) +} +func (dst *ExportAssetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportAssetsRequest.Merge(dst, src) +} +func (m *ExportAssetsRequest) XXX_Size() int { + return xxx_messageInfo_ExportAssetsRequest.Size(m) +} +func (m *ExportAssetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ExportAssetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportAssetsRequest proto.InternalMessageInfo + +func (m *ExportAssetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ExportAssetsRequest) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *ExportAssetsRequest) GetAssetTypes() []string { + if m != nil { + return m.AssetTypes + } + return nil +} + +func (m *ExportAssetsRequest) GetContentType() ContentType { + if m != nil { + return m.ContentType + } + return ContentType_CONTENT_TYPE_UNSPECIFIED +} + +func (m *ExportAssetsRequest) GetOutputConfig() *OutputConfig { + if m != nil { + return m.OutputConfig + } + return nil +} + +// The export asset response. This message is returned by the +// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] method in the returned +// [google.longrunning.Operation.response][google.longrunning.Operation.response] field. +type ExportAssetsResponse struct { + // Time the snapshot was taken. + ReadTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // Output configuration indicating where the results were output to. + // All results are in JSON format. + OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExportAssetsResponse) Reset() { *m = ExportAssetsResponse{} } +func (m *ExportAssetsResponse) String() string { return proto.CompactTextString(m) } +func (*ExportAssetsResponse) ProtoMessage() {} +func (*ExportAssetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{1} +} +func (m *ExportAssetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportAssetsResponse.Unmarshal(m, b) +} +func (m *ExportAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportAssetsResponse.Marshal(b, m, deterministic) +} +func (dst *ExportAssetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportAssetsResponse.Merge(dst, src) +} +func (m *ExportAssetsResponse) XXX_Size() int { + return xxx_messageInfo_ExportAssetsResponse.Size(m) +} +func (m *ExportAssetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ExportAssetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportAssetsResponse proto.InternalMessageInfo + +func (m *ExportAssetsResponse) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *ExportAssetsResponse) GetOutputConfig() *OutputConfig { + if m != nil { + return m.OutputConfig + } + return nil +} + +// Batch get assets history request. +type BatchGetAssetsHistoryRequest struct { + // Required. The relative name of the root asset. It can only be an + // organization number (such as "organizations/123"), a project ID (such as + // "projects/my-project-id")", or a project number (such as "projects/12345"). + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // A list of the full names of the assets. For example: + // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + // See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more info. + // + // The request becomes a no-op if the asset name list is empty, and the max + // size of the asset name list is 100 in one request. + AssetNames []string `protobuf:"bytes,2,rep,name=asset_names,json=assetNames,proto3" json:"asset_names,omitempty"` + // Required. The content type. + ContentType ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1beta1.ContentType" json:"content_type,omitempty"` + // Required. The time window for the asset history. The start time is + // required. The returned results contain all temporal assets whose time + // window overlap with read_time_window. + ReadTimeWindow *TimeWindow `protobuf:"bytes,4,opt,name=read_time_window,json=readTimeWindow,proto3" json:"read_time_window,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchGetAssetsHistoryRequest) Reset() { *m = BatchGetAssetsHistoryRequest{} } +func (m *BatchGetAssetsHistoryRequest) String() string { return proto.CompactTextString(m) } +func (*BatchGetAssetsHistoryRequest) ProtoMessage() {} +func (*BatchGetAssetsHistoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{2} +} +func (m *BatchGetAssetsHistoryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchGetAssetsHistoryRequest.Unmarshal(m, b) +} +func (m *BatchGetAssetsHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchGetAssetsHistoryRequest.Marshal(b, m, deterministic) +} +func (dst *BatchGetAssetsHistoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchGetAssetsHistoryRequest.Merge(dst, src) +} +func (m *BatchGetAssetsHistoryRequest) XXX_Size() int { + return xxx_messageInfo_BatchGetAssetsHistoryRequest.Size(m) +} +func (m *BatchGetAssetsHistoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BatchGetAssetsHistoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchGetAssetsHistoryRequest proto.InternalMessageInfo + +func (m *BatchGetAssetsHistoryRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *BatchGetAssetsHistoryRequest) GetAssetNames() []string { + if m != nil { + return m.AssetNames + } + return nil +} + +func (m *BatchGetAssetsHistoryRequest) GetContentType() ContentType { + if m != nil { + return m.ContentType + } + return ContentType_CONTENT_TYPE_UNSPECIFIED +} + +func (m *BatchGetAssetsHistoryRequest) GetReadTimeWindow() *TimeWindow { + if m != nil { + return m.ReadTimeWindow + } + return nil +} + +// Batch get assets history response. +type BatchGetAssetsHistoryResponse struct { + // A list of assets with valid time windows. + Assets []*TemporalAsset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchGetAssetsHistoryResponse) Reset() { *m = BatchGetAssetsHistoryResponse{} } +func (m *BatchGetAssetsHistoryResponse) String() string { return proto.CompactTextString(m) } +func (*BatchGetAssetsHistoryResponse) ProtoMessage() {} +func (*BatchGetAssetsHistoryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{3} +} +func (m *BatchGetAssetsHistoryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchGetAssetsHistoryResponse.Unmarshal(m, b) +} +func (m *BatchGetAssetsHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchGetAssetsHistoryResponse.Marshal(b, m, deterministic) +} +func (dst *BatchGetAssetsHistoryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchGetAssetsHistoryResponse.Merge(dst, src) +} +func (m *BatchGetAssetsHistoryResponse) XXX_Size() int { + return xxx_messageInfo_BatchGetAssetsHistoryResponse.Size(m) +} +func (m *BatchGetAssetsHistoryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchGetAssetsHistoryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchGetAssetsHistoryResponse proto.InternalMessageInfo + +func (m *BatchGetAssetsHistoryResponse) GetAssets() []*TemporalAsset { + if m != nil { + return m.Assets + } + return nil +} + +// Output configuration for export assets destination. +type OutputConfig struct { + // Asset export destination. + // + // Types that are valid to be assigned to Destination: + // *OutputConfig_GcsDestination + Destination isOutputConfig_Destination `protobuf_oneof:"destination"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OutputConfig) Reset() { *m = OutputConfig{} } +func (m *OutputConfig) String() string { return proto.CompactTextString(m) } +func (*OutputConfig) ProtoMessage() {} +func (*OutputConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{4} +} +func (m *OutputConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OutputConfig.Unmarshal(m, b) +} +func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OutputConfig.Marshal(b, m, deterministic) +} +func (dst *OutputConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_OutputConfig.Merge(dst, src) +} +func (m *OutputConfig) XXX_Size() int { + return xxx_messageInfo_OutputConfig.Size(m) +} +func (m *OutputConfig) XXX_DiscardUnknown() { + xxx_messageInfo_OutputConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_OutputConfig proto.InternalMessageInfo + +type isOutputConfig_Destination interface { + isOutputConfig_Destination() +} + +type OutputConfig_GcsDestination struct { + GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"` +} + +func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} + +func (m *OutputConfig) GetDestination() isOutputConfig_Destination { + if m != nil { + return m.Destination + } + return nil +} + +func (m *OutputConfig) GetGcsDestination() *GcsDestination { + if x, ok := m.GetDestination().(*OutputConfig_GcsDestination); ok { + return x.GcsDestination + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*OutputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _OutputConfig_OneofMarshaler, _OutputConfig_OneofUnmarshaler, _OutputConfig_OneofSizer, []interface{}{ + (*OutputConfig_GcsDestination)(nil), + } +} + +func _OutputConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*OutputConfig) + // destination + switch x := m.Destination.(type) { + case *OutputConfig_GcsDestination: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.GcsDestination); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("OutputConfig.Destination has unexpected type %T", x) + } + return nil +} + +func _OutputConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*OutputConfig) + switch tag { + case 1: // destination.gcs_destination + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(GcsDestination) + err := b.DecodeMessage(msg) + m.Destination = &OutputConfig_GcsDestination{msg} + return true, err + default: + return false, nil + } +} + +func _OutputConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*OutputConfig) + // destination + switch x := m.Destination.(type) { + case *OutputConfig_GcsDestination: + s := proto.Size(x.GcsDestination) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A Cloud Storage location. +type GcsDestination struct { + // The path of the Cloud Storage objects. It's the same path that is used by + // gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) + // for more information. + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GcsDestination) Reset() { *m = GcsDestination{} } +func (m *GcsDestination) String() string { return proto.CompactTextString(m) } +func (*GcsDestination) ProtoMessage() {} +func (*GcsDestination) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_service_bf0ec4e20036d249, []int{5} +} +func (m *GcsDestination) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GcsDestination.Unmarshal(m, b) +} +func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GcsDestination.Marshal(b, m, deterministic) +} +func (dst *GcsDestination) XXX_Merge(src proto.Message) { + xxx_messageInfo_GcsDestination.Merge(dst, src) +} +func (m *GcsDestination) XXX_Size() int { + return xxx_messageInfo_GcsDestination.Size(m) +} +func (m *GcsDestination) XXX_DiscardUnknown() { + xxx_messageInfo_GcsDestination.DiscardUnknown(m) +} + +var xxx_messageInfo_GcsDestination proto.InternalMessageInfo + +func (m *GcsDestination) GetUri() string { + if m != nil { + return m.Uri + } + return "" +} + +func init() { + proto.RegisterType((*ExportAssetsRequest)(nil), "google.cloud.asset.v1beta1.ExportAssetsRequest") + proto.RegisterType((*ExportAssetsResponse)(nil), "google.cloud.asset.v1beta1.ExportAssetsResponse") + proto.RegisterType((*BatchGetAssetsHistoryRequest)(nil), "google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest") + proto.RegisterType((*BatchGetAssetsHistoryResponse)(nil), "google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse") + proto.RegisterType((*OutputConfig)(nil), "google.cloud.asset.v1beta1.OutputConfig") + proto.RegisterType((*GcsDestination)(nil), "google.cloud.asset.v1beta1.GcsDestination") + proto.RegisterEnum("google.cloud.asset.v1beta1.ContentType", ContentType_name, ContentType_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// AssetServiceClient is the client API for AssetService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type AssetServiceClient interface { + // Exports assets with time and resource types to a given Cloud Storage + // location. The output format is newline-delimited JSON. + // This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you + // to keep track of the export. + ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Batch gets the update history of assets that overlap a time window. + // For RESOURCE content, this API outputs history with asset in both + // non-delete or deleted status. + // For IAM_POLICY content, this API outputs history when the asset and its + // attached IAM POLICY both exist. This can create gaps in the output history. + BatchGetAssetsHistory(ctx context.Context, in *BatchGetAssetsHistoryRequest, opts ...grpc.CallOption) (*BatchGetAssetsHistoryResponse, error) +} + +type assetServiceClient struct { + cc *grpc.ClientConn +} + +func NewAssetServiceClient(cc *grpc.ClientConn) AssetServiceClient { + return &assetServiceClient{cc} +} + +func (c *assetServiceClient) ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.asset.v1beta1.AssetService/ExportAssets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *assetServiceClient) BatchGetAssetsHistory(ctx context.Context, in *BatchGetAssetsHistoryRequest, opts ...grpc.CallOption) (*BatchGetAssetsHistoryResponse, error) { + out := new(BatchGetAssetsHistoryResponse) + err := c.cc.Invoke(ctx, "/google.cloud.asset.v1beta1.AssetService/BatchGetAssetsHistory", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AssetServiceServer is the server API for AssetService service. +type AssetServiceServer interface { + // Exports assets with time and resource types to a given Cloud Storage + // location. The output format is newline-delimited JSON. + // This API implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you + // to keep track of the export. + ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error) + // Batch gets the update history of assets that overlap a time window. + // For RESOURCE content, this API outputs history with asset in both + // non-delete or deleted status. + // For IAM_POLICY content, this API outputs history when the asset and its + // attached IAM POLICY both exist. This can create gaps in the output history. + BatchGetAssetsHistory(context.Context, *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error) +} + +func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) { + s.RegisterService(&_AssetService_serviceDesc, srv) +} + +func _AssetService_ExportAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExportAssetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AssetServiceServer).ExportAssets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.asset.v1beta1.AssetService/ExportAssets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AssetServiceServer).ExportAssets(ctx, req.(*ExportAssetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AssetService_BatchGetAssetsHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BatchGetAssetsHistoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AssetServiceServer).BatchGetAssetsHistory(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.asset.v1beta1.AssetService/BatchGetAssetsHistory", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AssetServiceServer).BatchGetAssetsHistory(ctx, req.(*BatchGetAssetsHistoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _AssetService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.asset.v1beta1.AssetService", + HandlerType: (*AssetServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ExportAssets", + Handler: _AssetService_ExportAssets_Handler, + }, + { + MethodName: "BatchGetAssetsHistory", + Handler: _AssetService_BatchGetAssetsHistory_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/asset/v1beta1/asset_service.proto", +} + +func init() { + proto.RegisterFile("google/cloud/asset/v1beta1/asset_service.proto", fileDescriptor_asset_service_bf0ec4e20036d249) +} + +var fileDescriptor_asset_service_bf0ec4e20036d249 = []byte{ + // 765 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x4e, 0xdb, 0x4a, + 0x14, 0xc6, 0xce, 0xbd, 0x08, 0x26, 0x21, 0x37, 0x77, 0xfa, 0x23, 0x2b, 0x82, 0x12, 0xb9, 0x52, + 0x09, 0x59, 0xd8, 0x22, 0x2c, 0x28, 0x54, 0x55, 0x45, 0x42, 0x0a, 0xa9, 0x4a, 0x12, 0x99, 0x40, + 0x05, 0x42, 0xb2, 0x1c, 0x67, 0x70, 0x5d, 0x25, 0x33, 0xae, 0x67, 0x0c, 0xa5, 0x55, 0x37, 0xed, + 0x23, 0x74, 0xdf, 0x45, 0x97, 0x5d, 0xf5, 0x35, 0xda, 0x6d, 0x5f, 0xa0, 0x8b, 0xbe, 0x42, 0xf7, + 0x95, 0x67, 0x6c, 0x70, 0x44, 0x30, 0x6a, 0xd9, 0xe5, 0xcc, 0x7c, 0xdf, 0x77, 0xe6, 0x7c, 0xe7, + 0xf8, 0x04, 0x68, 0x0e, 0x21, 0xce, 0x00, 0xe9, 0xf6, 0x80, 0x04, 0x7d, 0xdd, 0xa2, 0x14, 0x31, + 0xfd, 0x78, 0xa9, 0x87, 0x98, 0xb5, 0x24, 0x22, 0x93, 0x22, 0xff, 0xd8, 0xb5, 0x91, 0xe6, 0xf9, + 0x84, 0x11, 0x58, 0x14, 0x78, 0x8d, 0xe3, 0x35, 0x8e, 0xd0, 0x22, 0x7c, 0x71, 0x36, 0xd2, 0xb2, + 0x3c, 0x57, 0xb7, 0x30, 0x26, 0xcc, 0x62, 0x2e, 0xc1, 0x54, 0x30, 0x8b, 0x0b, 0x57, 0x65, 0x8a, + 0x81, 0x77, 0x23, 0xe0, 0x80, 0x60, 0xc7, 0x0f, 0x30, 0x76, 0xb1, 0xa3, 0x13, 0x0f, 0xf9, 0x23, + 0x6a, 0xf3, 0x11, 0x88, 0x47, 0xbd, 0xe0, 0x48, 0x67, 0xee, 0x10, 0x51, 0x66, 0x0d, 0x3d, 0x01, + 0x50, 0x3f, 0xc9, 0xe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, 0x87, 0xfc, 0xf2, 0x70, 0x4f, 0xf0, 0x7b, 0x93, 0x3c, 0xcb, 0xf2, 0xef, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x53, 0x7f, 0x18, 0x6f, 0x7e, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/assets.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/assets.pb.go new file mode 100644 index 000000000..557a04fc7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/assets.pb.go @@ -0,0 +1,358 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/asset/v1beta1/assets.proto + +package asset // import "google.golang.org/genproto/googleapis/cloud/asset/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "github.com/golang/protobuf/ptypes/any" +import _struct "github.com/golang/protobuf/ptypes/struct" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import v1 "google.golang.org/genproto/googleapis/iam/v1" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Temporal asset. In addition to the asset, the temporal asset includes the +// status of the asset and valid from and to time of it. +type TemporalAsset struct { + // The time window when the asset data and state was observed. + Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` + // If the asset is deleted or not. + Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"` + // Asset. + Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TemporalAsset) Reset() { *m = TemporalAsset{} } +func (m *TemporalAsset) String() string { return proto.CompactTextString(m) } +func (*TemporalAsset) ProtoMessage() {} +func (*TemporalAsset) Descriptor() ([]byte, []int) { + return fileDescriptor_assets_f46e680fe1a42f8e, []int{0} +} +func (m *TemporalAsset) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TemporalAsset.Unmarshal(m, b) +} +func (m *TemporalAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TemporalAsset.Marshal(b, m, deterministic) +} +func (dst *TemporalAsset) XXX_Merge(src proto.Message) { + xxx_messageInfo_TemporalAsset.Merge(dst, src) +} +func (m *TemporalAsset) XXX_Size() int { + return xxx_messageInfo_TemporalAsset.Size(m) +} +func (m *TemporalAsset) XXX_DiscardUnknown() { + xxx_messageInfo_TemporalAsset.DiscardUnknown(m) +} + +var xxx_messageInfo_TemporalAsset proto.InternalMessageInfo + +func (m *TemporalAsset) GetWindow() *TimeWindow { + if m != nil { + return m.Window + } + return nil +} + +func (m *TemporalAsset) GetDeleted() bool { + if m != nil { + return m.Deleted + } + return false +} + +func (m *TemporalAsset) GetAsset() *Asset { + if m != nil { + return m.Asset + } + return nil +} + +// A time window of [start_time, end_time). +type TimeWindow struct { + // Start time of the time window (inclusive). + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // End time of the time window (exclusive). + // Current timestamp if not specified. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimeWindow) Reset() { *m = TimeWindow{} } +func (m *TimeWindow) String() string { return proto.CompactTextString(m) } +func (*TimeWindow) ProtoMessage() {} +func (*TimeWindow) Descriptor() ([]byte, []int) { + return fileDescriptor_assets_f46e680fe1a42f8e, []int{1} +} +func (m *TimeWindow) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimeWindow.Unmarshal(m, b) +} +func (m *TimeWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimeWindow.Marshal(b, m, deterministic) +} +func (dst *TimeWindow) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimeWindow.Merge(dst, src) +} +func (m *TimeWindow) XXX_Size() int { + return xxx_messageInfo_TimeWindow.Size(m) +} +func (m *TimeWindow) XXX_DiscardUnknown() { + xxx_messageInfo_TimeWindow.DiscardUnknown(m) +} + +var xxx_messageInfo_TimeWindow proto.InternalMessageInfo + +func (m *TimeWindow) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *TimeWindow) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +// Cloud asset. This includes all Google Cloud Platform resources, +// Cloud IAM policies, and other non-GCP assets. +type Asset struct { + // The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + // See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more information. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Type of the asset. Example: "google.compute.disk". + AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` + // Representation of the resource. + Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` + // Representation of the actual Cloud IAM policy set on a cloud resource. For each + // resource, there must be at most one Cloud IAM policy set on it. + IamPolicy *v1.Policy `protobuf:"bytes,4,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Asset) Reset() { *m = Asset{} } +func (m *Asset) String() string { return proto.CompactTextString(m) } +func (*Asset) ProtoMessage() {} +func (*Asset) Descriptor() ([]byte, []int) { + return fileDescriptor_assets_f46e680fe1a42f8e, []int{2} +} +func (m *Asset) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Asset.Unmarshal(m, b) +} +func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Asset.Marshal(b, m, deterministic) +} +func (dst *Asset) XXX_Merge(src proto.Message) { + xxx_messageInfo_Asset.Merge(dst, src) +} +func (m *Asset) XXX_Size() int { + return xxx_messageInfo_Asset.Size(m) +} +func (m *Asset) XXX_DiscardUnknown() { + xxx_messageInfo_Asset.DiscardUnknown(m) +} + +var xxx_messageInfo_Asset proto.InternalMessageInfo + +func (m *Asset) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Asset) GetAssetType() string { + if m != nil { + return m.AssetType + } + return "" +} + +func (m *Asset) GetResource() *Resource { + if m != nil { + return m.Resource + } + return nil +} + +func (m *Asset) GetIamPolicy() *v1.Policy { + if m != nil { + return m.IamPolicy + } + return nil +} + +// Representation of a cloud resource. +type Resource struct { + // The API version. Example: "v1". + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // The URL of the discovery document containing the resource's JSON schema. + // For example: + // `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. + // It will be left unspecified for resources without a discovery-based API, + // such as Cloud Bigtable. + DiscoveryDocumentUri string `protobuf:"bytes,2,opt,name=discovery_document_uri,json=discoveryDocumentUri,proto3" json:"discovery_document_uri,omitempty"` + // The JSON schema name listed in the discovery document. + // Example: "Project". It will be left unspecified for resources (such as + // Cloud Bigtable) without a discovery-based API. + DiscoveryName string `protobuf:"bytes,3,opt,name=discovery_name,json=discoveryName,proto3" json:"discovery_name,omitempty"` + // The REST URL for accessing the resource. An HTTP GET operation using this + // URL returns the resource itself. + // Example: + // `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`. + // It will be left unspecified for resources without a REST API. + ResourceUrl string `protobuf:"bytes,4,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` + // The full name of the immediate parent of this resource. See + // [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more information. + // + // For GCP assets, it is the parent resource defined in the [Cloud IAM policy + // hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). + // For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. + // + // For third-party assets, it is up to the users to define. + Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` + // The content of the resource, in which some sensitive fields are scrubbed + // away and may not be present. + Data *_struct.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Resource) Reset() { *m = Resource{} } +func (m *Resource) String() string { return proto.CompactTextString(m) } +func (*Resource) ProtoMessage() {} +func (*Resource) Descriptor() ([]byte, []int) { + return fileDescriptor_assets_f46e680fe1a42f8e, []int{3} +} +func (m *Resource) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Resource.Unmarshal(m, b) +} +func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Resource.Marshal(b, m, deterministic) +} +func (dst *Resource) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resource.Merge(dst, src) +} +func (m *Resource) XXX_Size() int { + return xxx_messageInfo_Resource.Size(m) +} +func (m *Resource) XXX_DiscardUnknown() { + xxx_messageInfo_Resource.DiscardUnknown(m) +} + +var xxx_messageInfo_Resource proto.InternalMessageInfo + +func (m *Resource) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *Resource) GetDiscoveryDocumentUri() string { + if m != nil { + return m.DiscoveryDocumentUri + } + return "" +} + +func (m *Resource) GetDiscoveryName() string { + if m != nil { + return m.DiscoveryName + } + return "" +} + +func (m *Resource) GetResourceUrl() string { + if m != nil { + return m.ResourceUrl + } + return "" +} + +func (m *Resource) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *Resource) GetData() *_struct.Struct { + if m != nil { + return m.Data + } + return nil +} + +func init() { + proto.RegisterType((*TemporalAsset)(nil), "google.cloud.asset.v1beta1.TemporalAsset") + proto.RegisterType((*TimeWindow)(nil), "google.cloud.asset.v1beta1.TimeWindow") + proto.RegisterType((*Asset)(nil), "google.cloud.asset.v1beta1.Asset") + proto.RegisterType((*Resource)(nil), "google.cloud.asset.v1beta1.Resource") +} + +func init() { + proto.RegisterFile("google/cloud/asset/v1beta1/assets.proto", fileDescriptor_assets_f46e680fe1a42f8e) +} + +var fileDescriptor_assets_f46e680fe1a42f8e = []byte{ + // 551 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xdb, 0x6a, 0xd4, 0x40, + 0x18, 0x26, 0xed, 0xee, 0x76, 0xf3, 0xd7, 0x7a, 0x31, 0x68, 0x8d, 0x4b, 0xd5, 0x76, 0xf1, 0x50, + 0x10, 0x12, 0x56, 0x2b, 0x22, 0x82, 0x87, 0x55, 0xf0, 0x4e, 0x96, 0x71, 0x5b, 0x41, 0x16, 0xc2, + 0x6c, 0x32, 0x86, 0x81, 0x64, 0x26, 0x4c, 0x26, 0x29, 0x7b, 0xe3, 0xc3, 0x78, 0xa7, 0x97, 0x3e, + 0x86, 0x6f, 0xe2, 0x5b, 0x48, 0xfe, 0x99, 0x6c, 0xa1, 0xea, 0x7a, 0x97, 0x6f, 0xbe, 0xc3, 0xfc, + 0xdf, 0xcc, 0x04, 0x1e, 0x64, 0x4a, 0x65, 0x39, 0x8f, 0x92, 0x5c, 0xd5, 0x69, 0xc4, 0xaa, 0x8a, + 0x9b, 0xa8, 0x99, 0x2c, 0xb9, 0x61, 0x13, 0x8b, 0xaa, 0xb0, 0xd4, 0xca, 0x28, 0x32, 0xb2, 0xc2, + 0x10, 0x85, 0x21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 0xd6, 0xda, + 0x67, 0xde, 0xa7, 0x97, 0x4e, 0x99, 0xa9, 0x9c, 0xc9, 0x2c, 0x54, 0x3a, 0x8b, 0x32, 0x2e, 0x31, + 0x3c, 0xb2, 0x14, 0x2b, 0x45, 0xf5, 0xb7, 0xdf, 0xfd, 0x39, 0xa2, 0xef, 0x5b, 0xa3, 0x77, 0x36, + 0xe1, 0x0d, 0xee, 0x85, 0xe1, 0xe1, 0xd9, 0x64, 0xda, 0x4a, 0x7e, 0x76, 0xe4, 0x02, 0xc9, 0x05, + 0x92, 0x8b, 0x33, 0xeb, 0x5f, 0x0e, 0x70, 0x97, 0xc7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x07, + 0x7f, 0x2e, 0x7b, 0x53, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go index 9317dd533..2abd02deb 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go @@ -80,7 +80,7 @@ func (m *AuditLog) Reset() { *m = AuditLog{} } func (m *AuditLog) String() string { return proto.CompactTextString(m) } func (*AuditLog) ProtoMessage() {} func (*AuditLog) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_log_c61207f947472f18, []int{0} + return fileDescriptor_audit_log_394f9970a41d2fd2, []int{0} } func (m *AuditLog) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuditLog.Unmarshal(m, b) @@ -190,7 +190,7 @@ func (m *AuthenticationInfo) Reset() { *m = AuthenticationInfo{} } func (m *AuthenticationInfo) String() string { return proto.CompactTextString(m) } func (*AuthenticationInfo) ProtoMessage() {} func (*AuthenticationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_log_c61207f947472f18, []int{1} + return fileDescriptor_audit_log_394f9970a41d2fd2, []int{1} } func (m *AuthenticationInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthenticationInfo.Unmarshal(m, b) @@ -237,7 +237,7 @@ func (m *AuthorizationInfo) Reset() { *m = AuthorizationInfo{} } func (m *AuthorizationInfo) String() string { return proto.CompactTextString(m) } func (*AuthorizationInfo) ProtoMessage() {} func (*AuthorizationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_log_c61207f947472f18, []int{2} + return fileDescriptor_audit_log_394f9970a41d2fd2, []int{2} } func (m *AuthorizationInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuthorizationInfo.Unmarshal(m, b) @@ -302,7 +302,7 @@ func (m *RequestMetadata) Reset() { *m = RequestMetadata{} } func (m *RequestMetadata) String() string { return proto.CompactTextString(m) } func (*RequestMetadata) ProtoMessage() {} func (*RequestMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_log_c61207f947472f18, []int{3} + return fileDescriptor_audit_log_394f9970a41d2fd2, []int{3} } func (m *RequestMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestMetadata.Unmarshal(m, b) @@ -344,10 +344,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/audit/audit_log.proto", fileDescriptor_audit_log_c61207f947472f18) + proto.RegisterFile("google/cloud/audit/audit_log.proto", fileDescriptor_audit_log_394f9970a41d2fd2) } -var fileDescriptor_audit_log_c61207f947472f18 = []byte{ +var fileDescriptor_audit_log_394f9970a41d2fd2 = []byte{ // 576 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0x5f, 0x6f, 0xd3, 0x30, 0x14, 0xc5, 0x55, 0x36, 0x6d, 0xad, 0xbb, 0xd1, 0xd6, 0x20, 0x1a, 0xca, 0x04, 0xa5, 0x13, 0x50, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go index acec187b0..09cd6f59f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go @@ -47,7 +47,7 @@ func (m *AnnotationPayload) Reset() { *m = AnnotationPayload{} } func (m *AnnotationPayload) String() string { return proto.CompactTextString(m) } func (*AnnotationPayload) ProtoMessage() {} func (*AnnotationPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_annotation_payload_402fc50b010feaeb, []int{0} + return fileDescriptor_annotation_payload_f7dca833885c28d5, []int{0} } func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotationPayload.Unmarshal(m, b) @@ -74,11 +74,13 @@ type isAnnotationPayload_Detail interface { type AnnotationPayload_Translation struct { Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"` } + type AnnotationPayload_Classification struct { Classification *ClassificationAnnotation `protobuf:"bytes,3,opt,name=classification,proto3,oneof"` } -func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {} +func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {} + func (*AnnotationPayload_Classification) isAnnotationPayload_Detail() {} func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail { @@ -195,28 +197,29 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/annotation_payload.proto", fileDescriptor_annotation_payload_402fc50b010feaeb) -} - -var fileDescriptor_annotation_payload_402fc50b010feaeb = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0x33, 0x31, - 0x10, 0x86, 0xbf, 0xed, 0x87, 0x45, 0x53, 0x11, 0xdd, 0xd3, 0x52, 0x05, 0xab, 0xa7, 0x1e, 0x34, - 0xb1, 0x55, 0x4f, 0x9e, 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, 0xfc, 0x82, 0x1c, 0x0a, 0xed, - 0x9d, 0x81, 0x4d, 0x69, 0xa1, 0x92, 0xc5, 0x5e, 0xcc, 0xf5, 0xea, 0xbb, 0x17, 0xa8, 0xe4, 0x74, - 0x9f, 0x74, 0x85, 0x0c, 0xa0, 0xcd, 0x74, 0x49, 0xce, 0x39, 0x56, 0x6d, 0x83, 0xce, 0xb2, 0x8f, - 0x49, 0x5d, 0x56, 0x68, 0xc0, 0x2a, 0x8a, 0x2b, 0xc5, 0x94, 0xb4, 0xf1, 0xab, 0x59, 0x2a, 0x81, - 0xd3, 0xfe, 0xcf, 0xe5, 0x3c, 0xa4, 0xe3, 0xa2, 0x1b, 0xd3, 0xb7, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x44, 0x63, 0x2f, 0x26, 0x6c, 0x02, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/annotation_payload.proto", fileDescriptor_annotation_payload_f7dca833885c28d5) +} + +var fileDescriptor_annotation_payload_f7dca833885c28d5 = []byte{ + // 320 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xc3, 0x30, + 0x14, 0xc7, 0xed, 0xc4, 0xa1, 0x99, 0x88, 0xf6, 0x54, 0x36, 0xc1, 0xe9, 0x69, 0x07, 0x4d, 0xdd, + 0xd4, 0x93, 0xa7, 0x6d, 0x07, 0xf5, 0xa0, 0x8c, 0x29, 0x3b, 0xc8, 0xa0, 0xbc, 0xb5, 0x31, 0x04, + 0xd2, 0xbc, 0xb0, 0x64, 0xc2, 0xee, 0x7e, 0x17, 0xbf, 0x8b, 0x9f, 0x4a, 0x4c, 0x8a, 0x6b, 0x45, + 0x7a, 0x4c, 0xde, 0xff, 0xf7, 0x7b, 0x2f, 0x79, 0xe4, 0x9a, 0x23, 0x72, 0xc9, 0xe2, 0x54, 0xe2, + 0x2a, 0x8b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0xcc, 0x51, 0x82, 0xe2, 0x14, 0x97, 0x3c, 0xe6, 0x4c, + 0xb9, 0xbf, 0x8e, 0x7d, 0x09, 0xb4, 0x30, 0xff, 0x6e, 0xe7, 0xd6, 0x1f, 0xbf, 0x1a, 0x9d, 0x3b, + 0x17, 0x9c, 0x8f, 0x7f, 0x42, 0xf3, 0xe1, 0xca, 0xe2, 0xa3, 0x9c, 0xcf, 0x7c, 0x68, 0xd1, 0x74, + 0xae, 0xab, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x18, 0x90, 0x9a, 0x8b, 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go index 4f7d6cac9..1250405c0 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go @@ -46,7 +46,7 @@ func (x ClassificationType) String() string { return proto.EnumName(ClassificationType_name, int32(x)) } func (ClassificationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_classification_5996bd87fb43e269, []int{0} + return fileDescriptor_classification_3fc2c485b21fa3e7, []int{0} } // Contains annotation details specific to classification. @@ -66,7 +66,7 @@ func (m *ClassificationAnnotation) Reset() { *m = ClassificationAnnotati func (m *ClassificationAnnotation) String() string { return proto.CompactTextString(m) } func (*ClassificationAnnotation) ProtoMessage() {} func (*ClassificationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_classification_5996bd87fb43e269, []int{0} + return fileDescriptor_classification_3fc2c485b21fa3e7, []int{0} } func (m *ClassificationAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationAnnotation.Unmarshal(m, b) @@ -119,7 +119,7 @@ func (m *ClassificationEvaluationMetrics) Reset() { *m = ClassificationE func (m *ClassificationEvaluationMetrics) String() string { return proto.CompactTextString(m) } func (*ClassificationEvaluationMetrics) ProtoMessage() {} func (*ClassificationEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_classification_5996bd87fb43e269, []int{1} + return fileDescriptor_classification_3fc2c485b21fa3e7, []int{1} } func (m *ClassificationEvaluationMetrics) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationEvaluationMetrics.Unmarshal(m, b) @@ -207,7 +207,7 @@ func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String() string } func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage() {} func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_classification_5996bd87fb43e269, []int{1, 0} + return fileDescriptor_classification_3fc2c485b21fa3e7, []int{1, 0} } func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Unmarshal(m, b) @@ -299,7 +299,7 @@ func (m *ClassificationEvaluationMetrics_ConfusionMatrix) String() string { } func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage() {} func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int) { - return fileDescriptor_classification_5996bd87fb43e269, []int{1, 1} + return fileDescriptor_classification_3fc2c485b21fa3e7, []int{1, 1} } func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Unmarshal(m, b) @@ -352,7 +352,7 @@ func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) String() string { } func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage() {} func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_classification_5996bd87fb43e269, []int{1, 1, 0} + return fileDescriptor_classification_3fc2c485b21fa3e7, []int{1, 1, 0} } func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Unmarshal(m, b) @@ -389,46 +389,47 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/classification.proto", fileDescriptor_classification_5996bd87fb43e269) -} - -var fileDescriptor_classification_5996bd87fb43e269 = []byte{ - // 583 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcf, 0x4f, 0xdb, 0x3e, - 0x14, 0xff, 0xa6, 0xa5, 0xe5, 0xcb, 0x83, 0x8d, 0xca, 0x30, 0x94, 0x75, 0x6c, 0x54, 0x70, 0xa9, - 0xd0, 0x94, 0x10, 0x76, 0xdc, 0x29, 0x64, 0x45, 0x8a, 0x54, 0x58, 0x95, 0x94, 0x03, 0xbb, 0x58, - 0xae, 0xeb, 0x86, 0x48, 0x69, 0x1c, 0x39, 0x0e, 0x85, 0xeb, 0xee, 0xfb, 0xdb, 0xf6, 0x5f, 0xec, - 0xef, 0x98, 0x62, 0x87, 0x74, 0x95, 0x2a, 0x36, 0x69, 0xbb, 0xe5, 0x7d, 0x7e, 0xf9, 0x3d, 0xbf, - 0xc8, 0x70, 0x16, 0x71, 0x1e, 0x25, 0xcc, 0xa6, 0x09, 0x2f, 0xa6, 0x36, 0x29, 0x24, 0x9f, 0x27, - 0xf6, 0xbd, 0x33, 0x61, 0x92, 0x38, 0x36, 0x4d, 0x48, 0x9e, 0xc7, 0xb3, 0x98, 0x12, 0x19, 0xf3, - 0xd4, 0xca, 0x04, 0x97, 0x1c, 0xbd, 0xd1, 0x0e, 0x4b, 0x39, 0x2c, 0xed, 0xb0, 0x2a, 0x47, 0xf7, - 0xb0, 0x8a, 0x23, 0x59, 0x6c, 0x93, 0x34, 0xe5, 0x52, 0x39, 0x73, 0x6d, 0x3d, 0x3e, 0x03, 0x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 0x97, 0x00, 0x57, 0x37, 0xc3, 0xb1, - 0xaf, 0x94, 0x1d, 0xa3, 0xae, 0x87, 0xee, 0xc5, 0x60, 0xd8, 0x69, 0x5c, 0x3c, 0xc2, 0x11, 0xe5, - 0xf3, 0xe7, 0x46, 0xbc, 0xd8, 0x5b, 0x3d, 0x7b, 0x54, 0xbe, 0x16, 0x5f, 0xdc, 0xca, 0x11, 0xf1, - 0x84, 0xa4, 0x91, 0xc5, 0x45, 0x64, 0x47, 0x2c, 0x55, 0x2f, 0x89, 0xad, 0x29, 0x92, 0xc5, 0xf9, - 0xda, 0x97, 0xeb, 0xa3, 0x2e, 0x27, 0x6d, 0xa5, 0xfe, 0xf0, 0x33, 0x00, 0x00, 0xff, 0xff, 0x22, - 0xd4, 0x8f, 0x68, 0xe6, 0x04, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/classification.proto", fileDescriptor_classification_3fc2c485b21fa3e7) +} + +var fileDescriptor_classification_3fc2c485b21fa3e7 = []byte{ + // 605 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0xdb, 0x30, + 0x14, 0x5f, 0x5a, 0x5a, 0xc6, 0x83, 0x8d, 0xca, 0x30, 0x94, 0x15, 0x36, 0x2a, 0xb8, 0x54, 0x68, + 0x4a, 0x08, 0x3b, 0xee, 0x14, 0xb2, 0x32, 0x45, 0x6a, 0x59, 0x95, 0x96, 0x49, 0x4c, 0x48, 0x96, + 0xeb, 0xba, 0x25, 0x52, 0x1a, 0x47, 0x8e, 0x43, 0xe1, 0xba, 0xfb, 0xce, 0xfb, 0x4e, 0xbb, 0xec, + 0x5b, 0xec, 0x73, 0x4c, 0xb1, 0x43, 0x58, 0xa5, 0x8a, 0x4d, 0xda, 0x6e, 0x79, 0xbf, 0x7f, 0x7e, + 0xcf, 0x2f, 0x32, 0x1c, 0x4f, 0x39, 0x9f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b, 0x66, 0x49, 0xc4, 0x30, 0xe5, 0x59, 0x2c, 0x55, 0x4f, 0xb5, 0x60, 0xa3, + 0x00, 0xbd, 0x1c, 0x3b, 0xba, 0x04, 0xb4, 0x78, 0xce, 0xf0, 0x2e, 0x61, 0xe8, 0x10, 0xf6, 0xbd, + 0xae, 0x3b, 0x18, 0xf8, 0x67, 0xbe, 0xe7, 0x0e, 0xfd, 0x8f, 0xe7, 0x78, 0x78, 0xd9, 0xef, 0xe0, + 0x8b, 0xf3, 0x41, 0xbf, 0xe3, 0xf9, 0x67, 0x7e, 0xe7, 0x7d, 0xe3, 0x09, 0x7a, 0x0e, 0xd0, 0xbb, + 0xe8, 0x0e, 0x7d, 0xa5, 0x6c, 0x18, 0x65, 0xdd, 0x75, 0x4f, 0x3b, 0xdd, 0x46, 0xe5, 0xf4, 0x9b, + 0x01, 0xfb, 0x94, 0xcf, 0x1e, 0x9b, 0xf1, 0x74, 0x6b, 0xf1, 0xf0, 0x7e, 0xfe, 0x5c, 0x7c, 0x76, + 0x0b, 0xc7, 0x94, 0x47, 0x24, 0x9e, 0x5a, 0x5c, 0x4c, 0xed, 0x29, 0x8b, 0xd5, 0x53, 0x62, 0x6b, + 0x8a, 0x24, 0x61, 0xba, 0xf4, 0xe9, 0x7a, 0xa7, 0xcb, 0xef, 0x95, 0xdd, 0x0f, 0x4a, 0x78, 0xe5, + 0xe5, 0xa2, 0x2b, 0x37, 0x93, 0xbc, 0x17, 0x5d, 0x7d, 0xd2, 0xa2, 0x51, 0x5d, 0x65, 0xbd, 0xfd, + 0x15, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xc7, 0xf0, 0x16, 0x05, 0x05, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go index 34ba907a6..ba0d926b9 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go @@ -41,7 +41,7 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_data_items_d5f6393166c05a84, []int{0} + return fileDescriptor_data_items_d29551999e582ae1, []int{0} } func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) @@ -68,11 +68,13 @@ type isImage_Data interface { type Image_ImageBytes struct { ImageBytes []byte `protobuf:"bytes,1,opt,name=image_bytes,json=imageBytes,proto3,oneof"` } + type Image_InputConfig struct { InputConfig *InputConfig `protobuf:"bytes,6,opt,name=input_config,json=inputConfig,proto3,oneof"` } -func (*Image_ImageBytes) isImage_Data() {} +func (*Image_ImageBytes) isImage_Data() {} + func (*Image_InputConfig) isImage_Data() {} func (m *Image) GetData() isImage_Data { @@ -194,7 +196,7 @@ func (m *TextSnippet) Reset() { *m = TextSnippet{} } func (m *TextSnippet) String() string { return proto.CompactTextString(m) } func (*TextSnippet) ProtoMessage() {} func (*TextSnippet) Descriptor() ([]byte, []int) { - return fileDescriptor_data_items_d5f6393166c05a84, []int{1} + return fileDescriptor_data_items_d29551999e582ae1, []int{1} } func (m *TextSnippet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextSnippet.Unmarshal(m, b) @@ -252,7 +254,7 @@ func (m *ExamplePayload) Reset() { *m = ExamplePayload{} } func (m *ExamplePayload) String() string { return proto.CompactTextString(m) } func (*ExamplePayload) ProtoMessage() {} func (*ExamplePayload) Descriptor() ([]byte, []int) { - return fileDescriptor_data_items_d5f6393166c05a84, []int{2} + return fileDescriptor_data_items_d29551999e582ae1, []int{2} } func (m *ExamplePayload) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExamplePayload.Unmarshal(m, b) @@ -279,11 +281,13 @@ type isExamplePayload_Payload interface { type ExamplePayload_Image struct { Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"` } + type ExamplePayload_TextSnippet struct { TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"` } -func (*ExamplePayload_Image) isExamplePayload_Payload() {} +func (*ExamplePayload_Image) isExamplePayload_Payload() {} + func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {} func (m *ExamplePayload) GetPayload() isExamplePayload_Payload { @@ -388,33 +392,35 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/data_items.proto", fileDescriptor_data_items_d5f6393166c05a84) -} - -var fileDescriptor_data_items_d5f6393166c05a84 = []byte{ - // 381 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3d, 0xcf, 0xd3, 0x30, - 0x14, 0x85, 0x1b, 0xd4, 0x0f, 0xe2, 0x14, 0x06, 0x4f, 0x51, 0x8b, 0xd4, 0x52, 0x18, 0x32, 0xa0, - 0x44, 0x2d, 0x1b, 0x4c, 0x04, 0x21, 0xb5, 0x03, 0x52, 0x15, 0xda, 0x85, 0x25, 0x72, 0x52, 0xd7, - 0x58, 0x8a, 0x3f, 0x94, 0xdc, 0xa0, 0xe6, 0x0f, 0xf1, 0x3b, 0x91, 0xed, 0x40, 0x3b, 0xbc, 0xca, - 0xbb, 0xe5, 0x9e, 0xfb, 0x5c, 0xdf, 0xe3, 0x13, 0xa3, 0x0f, 0x4c, 0x29, 0x56, 0xd1, 0xa4, 0xac, - 0x54, 0x7b, 0x49, 0x48, 0x0b, 0x4a, 0x54, 0xc9, 0xef, 0x6d, 0x41, 0x81, 0x6c, 0x93, 0x0b, 0x01, - 0x92, 0x73, 0xa0, 0xa2, 0x89, 0x75, 0xad, 0x40, 0xe1, 0xa5, 0xa3, 0x63, 0x4b, 0xc7, 0x8e, 0x8e, - 0x7b, 0x7a, 0xf1, 0xa6, 0x3f, 0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, 0x35, 0xe4, 0x7e, 0x94, 0xb9, - 0x11, 0x93, 0x18, 0xd0, 0x1b, 0xe4, 0x8d, 0xb3, 0x6d, 0xfd, 0x3c, 0x97, 0xd8, 0xc3, 0x35, 0x4d, - 0x62, 0x70, 0x2f, 0x53, 0x1f, 0xcd, 0xb4, 0x73, 0x95, 0x5e, 0xd1, 0xaa, 0x54, 0x62, 0xe8, 0xa0, - 0xa3, 0xf7, 0xf3, 0x4b, 0xdf, 0x66, 0xaa, 0x22, 0x92, 0xc5, 0xaa, 0x66, 0x09, 0xa3, 0xd2, 0xfe, - 0xf9, 0xc4, 0xb5, 0x88, 0xe6, 0xcd, 0x93, 0x4f, 0xe4, 0xb3, 0x2b, 0x8b, 0xa9, 0xa5, 0x3f, 0xfe, - 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xa5, 0xac, 0xba, 0xb8, 0x02, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/data_items.proto", fileDescriptor_data_items_d29551999e582ae1) +} + +var fileDescriptor_data_items_d29551999e582ae1 = []byte{ + // 407 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0x9b, 0x69, 0xeb, 0xa8, 0x53, 0x38, 0xf8, 0x14, 0xad, 0x48, 0x2b, 0x85, 0x43, 0x0f, + 0x28, 0xd1, 0xc6, 0x0d, 0x4e, 0xcb, 0x84, 0xe8, 0x0e, 0x93, 0xa6, 0xb0, 0x71, 0x40, 0x95, 0x22, + 0x27, 0x35, 0xc6, 0x92, 0xed, 0x67, 0x25, 0x2f, 0xa8, 0xb9, 0xf3, 0x59, 0xf8, 0x30, 0x7c, 0x2a, + 0x64, 0x3b, 0xb0, 0x1e, 0x50, 0x76, 0xeb, 0xfb, 0xbf, 0xdf, 0x7b, 0xef, 0xef, 0x7f, 0x43, 0xde, + 0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0x39, 0xf2, 0xbd, 0x67, 0x4e, 0xb8, 0xef, 0x2d, 0xa7, 0xe7, + 0x24, 0x1e, 0xb8, 0x83, 0x83, 0x64, 0x90, 0x1e, 0x1a, 0xe9, 0xf2, 0x78, 0xf1, 0x71, 0xcf, 0xb4, + 0x55, 0xfc, 0x8e, 0xf5, 0x0a, 0xd8, 0x8e, 0xbe, 0x27, 0x27, 0x3e, 0x03, 0x7f, 0x28, 0xbe, 0x5c, + 0x8d, 0x3f, 0xd7, 0x91, 0x9b, 0x49, 0x11, 0x46, 0x5c, 0x62, 0xc8, 0xf7, 0x58, 0xb6, 0xc1, 0xb6, + 0xf7, 0xf3, 0x54, 0x62, 0x07, 0xcf, 0x74, 0x89, 0xe1, 0x63, 0x99, 0xcf, 0xc8, 0xa9, 0x0d, 0xae, + 0xf2, 0x9f, 0x11, 0x39, 0xaf, 0x41, 0x8f, 0x6d, 0xba, 0x8b, 0xbe, 0x5e, 0x0d, 0x6d, 0x01, 0x8a, + 0x19, 0x91, 0x42, 0x23, 0x32, 0xc1, 0x8d, 0xff, 0xeb, 0xb3, 0xd0, 0x62, 0x56, 0xb6, 0xff, 0xfd, + 0x46, 0x3e, 0x84, 0xf2, 0xf7, 0xd1, 0xe2, 0x93, 0x07, 0xb7, 0xd7, 0x0e, 0xda, 0x5e, 0x75, 0x08, + 0xb7, 0x6a, 0xfb, 0x25, 0x40, 0xd5, 0xd4, 0xef, 0x7a, 0xf7, 0x27, 0x00, 0x00, 0xff, 0xff, 0x2d, + 0x52, 0x09, 0x2a, 0xd7, 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go index d89fa6634..81a55ed64 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go @@ -52,7 +52,7 @@ func (m *Dataset) Reset() { *m = Dataset{} } func (m *Dataset) String() string { return proto.CompactTextString(m) } func (*Dataset) ProtoMessage() {} func (*Dataset) Descriptor() ([]byte, []int) { - return fileDescriptor_dataset_0f6cd639ca5f12a6, []int{0} + return fileDescriptor_dataset_e955e6a61629f1a3, []int{0} } func (m *Dataset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Dataset.Unmarshal(m, b) @@ -79,16 +79,20 @@ type isDataset_DatasetMetadata interface { type Dataset_TranslationDatasetMetadata struct { TranslationDatasetMetadata *TranslationDatasetMetadata `protobuf:"bytes,23,opt,name=translation_dataset_metadata,json=translationDatasetMetadata,proto3,oneof"` } + type Dataset_ImageClassificationDatasetMetadata struct { ImageClassificationDatasetMetadata *ImageClassificationDatasetMetadata `protobuf:"bytes,24,opt,name=image_classification_dataset_metadata,json=imageClassificationDatasetMetadata,proto3,oneof"` } + type Dataset_TextClassificationDatasetMetadata struct { TextClassificationDatasetMetadata *TextClassificationDatasetMetadata `protobuf:"bytes,25,opt,name=text_classification_dataset_metadata,json=textClassificationDatasetMetadata,proto3,oneof"` } -func (*Dataset_TranslationDatasetMetadata) isDataset_DatasetMetadata() {} +func (*Dataset_TranslationDatasetMetadata) isDataset_DatasetMetadata() {} + func (*Dataset_ImageClassificationDatasetMetadata) isDataset_DatasetMetadata() {} -func (*Dataset_TextClassificationDatasetMetadata) isDataset_DatasetMetadata() {} + +func (*Dataset_TextClassificationDatasetMetadata) isDataset_DatasetMetadata() {} func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata { if m != nil { @@ -244,36 +248,38 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/dataset.proto", fileDescriptor_dataset_0f6cd639ca5f12a6) + proto.RegisterFile("google/cloud/automl/v1beta1/dataset.proto", fileDescriptor_dataset_e955e6a61629f1a3) } -var fileDescriptor_dataset_0f6cd639ca5f12a6 = []byte{ - // 428 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5d, 0x6b, 0x14, 0x31, - 0x14, 0x86, 0x1d, 0xa9, 0x8a, 0xd9, 0x2a, 0x12, 0x10, 0xc7, 0xb1, 0xd0, 0x6d, 0xfd, 0x5a, 0x41, - 0x13, 0xaa, 0x82, 0x17, 0x05, 0xc5, 0xd6, 0x0b, 0xbd, 0x50, 0x64, 0xe9, 0x95, 0x37, 0xe1, 0xec, - 0x6c, 0x76, 0x08, 0xe4, 0x63, 0xd8, 0x9c, 0x91, 0x2d, 0xfe, 0x0a, 0xc1, 0xdf, 0xe7, 0x6f, 0x91, - 0x49, 0x32, 0xd4, 0xaf, 0xcd, 0xdc, 0x25, 0xe7, 0x3c, 0x79, 0xf3, 0x9e, 0x97, 0x43, 0x9e, 0x34, - 0xce, 0x35, 0x5a, 0xf2, 0x5a, 0xbb, 0x6e, 0xc9, 0xa1, 0x43, 0x67, 0x34, 0xff, 0x7a, 0xb4, 0x90, - 0x08, 0x47, 0x7c, 0x09, 0x08, 0x5e, 0x22, 0x6b, 0xd7, 0x0e, 0x1d, 0xbd, 0x17, 0x51, 0x16, 0x50, - 0x16, 0x51, 0x96, 0xd0, 0x6a, 0x2f, 0xe9, 0x40, 0xab, 0x38, 0x58, 0xeb, 0x10, 0x50, 0x39, 0xeb, - 0xe3, 0xd3, 0xea, 0x65, 0xee, 0x97, 0x0b, 0x5c, 0xb4, 0x70, 0xae, 0x1d, 0x2c, 0xd3, 0xab, 0xa7, - 0x63, 0xde, 0x84, 0x42, 0x69, 0x86, 0x3f, 0x1e, 0xe7, 0x68, 0x65, 0xa0, 0x91, 0x09, 0x7c, 0x94, - 0x03, 0x51, 0x6e, 0xd2, 0xbc, 0xd5, 0xb3, 0x2c, 0xb7, 0x06, 0xeb, 0x75, 0x70, 0x9d, 0xf0, 0xfd, - 0x84, 0x87, 0xdb, 0xa2, 0x5b, 0x71, 0x54, 0x46, 0x7a, 0x04, 0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0x88, 0xf7, - 0x85, 0x13, 0x4a, 0x6e, 0xfd, 0x9d, 0xcb, 0xc9, 0x8a, 0xec, 0xd7, 0xce, 0xe4, 0x62, 0xf9, 0x5c, - 0x7c, 0x79, 0x9b, 0xda, 0x8d, 0xd3, 0x60, 0x1b, 0xe6, 0xd6, 0x0d, 0x6f, 0xa4, 0x0d, 0xbf, 0xf1, - 0xd8, 0x82, 0x56, 0xf9, 0xff, 0x2e, 0xfd, 0x71, 0xbc, 0x2e, 0xae, 0x06, 0xfa, 0xc5, 0xaf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x84, 0x83, 0x13, 0xa3, 0x3c, 0x04, 0x00, 0x00, +var fileDescriptor_dataset_e955e6a61629f1a3 = []byte{ + // 452 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xdb, 0x6a, 0x14, 0x41, + 0x10, 0x86, 0x9d, 0x10, 0x15, 0x7b, 0xa3, 0x48, 0x83, 0x38, 0x4e, 0x02, 0xd9, 0xc4, 0xd3, 0x0a, + 0x3a, 0x43, 0x54, 0xf0, 0x22, 0xa0, 0x24, 0x2b, 0xa8, 0x17, 0x11, 0x59, 0x82, 0x17, 0xb2, 0xd0, + 0xd4, 0xce, 0x76, 0x86, 0x86, 0x3e, 0x0c, 0xdb, 0x35, 0xb2, 0xc1, 0x5b, 0x5f, 0x40, 0xf0, 0xa9, + 0x7c, 0x08, 0x9f, 0x45, 0xfa, 0xb0, 0xc4, 0xd3, 0xf6, 0xdc, 0x75, 0x57, 0x7d, 0xfd, 0xf7, 0x5f, + 0x3f, 0x45, 0x1e, 0x35, 0xc6, 0x34, 0x92, 0x57, 0xb5, 0x34, 0xdd, 0xbc, 0x82, 0x0e, 0x8d, 0x92, + 0xd5, 0xe7, 0x83, 0x19, 0x47, 0x38, 0xa8, 0xe6, 0x80, 0x60, 0x39, 0x96, 0xed, 0xc2, 0xa0, 0x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2, 0x94, 0x6c, 0x6a, 0x50, 0x3c, 0xcf, 0x86, 0xd9, 0xe8, 0xda, + 0xc4, 0x9f, 0xe9, 0x1e, 0xd9, 0x9a, 0x0b, 0xdb, 0x4a, 0x38, 0x67, 0xbe, 0xb7, 0xe1, 0x7b, 0x83, + 0x58, 0x7b, 0xef, 0x90, 0xbb, 0xe4, 0x3a, 0x5f, 0x82, 0x6a, 0x25, 0x67, 0xb5, 0xe9, 0x34, 0xe6, + 0xb7, 0x86, 0xd9, 0xe8, 0xf2, 0x64, 0x2b, 0x16, 0xc7, 0xae, 0x46, 0x0f, 0xc9, 0xa0, 0x5e, 0x70, + 0x40, 0xce, 0xdc, 0xa6, 0xe4, 0x37, 0xfc, 0x54, 0xc5, 0x6a, 0xaa, 0xd5, 0x1a, 0x95, 0xa7, 0xab, + 0x35, 0x9a, 0x90, 0x80, 0xbb, 0xc2, 0x31, 0x25, 0x37, 0xff, 0xce, 0xe5, 0xf8, 0x6b, 0x46, 0x76, + 0x6b, 0xa3, 0x52, 0xb9, 0x7c, 0xc8, 0x3e, 0x1d, 0xc5, 0x76, 0x63, 0x24, 0xe8, 0xa6, 0x34, 0x8b, + 0xa6, 0x6a, 0xb8, 0xf6, 0xdf, 0x55, 0xa1, 0x05, 0xad, 0xb0, 0xff, 0xdd, 0xfa, 0xc3, 0x70, 0xfd, + 0xb1, 0xb1, 0xfd, 0xc6, 0x83, 0xd3, 0xb1, 0x83, 0xa6, 0x47, 0x1d, 0x9a, 0x13, 0x39, 0xfd, 0x18, + 0xa0, 0xd9, 0x15, 0xaf, 0xf5, 0xec, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x98, 0x82, 0x24, 0x37, + 0x5b, 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go index 40c53d889..8c98a4b22 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go @@ -34,7 +34,7 @@ func (m *ImageClassificationDatasetMetadata) Reset() { *m = ImageClassif func (m *ImageClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) } func (*ImageClassificationDatasetMetadata) ProtoMessage() {} func (*ImageClassificationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_2de9cf011ac64c7a, []int{0} + return fileDescriptor_image_7fb55170bec5faa5, []int{0} } func (m *ImageClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageClassificationDatasetMetadata.Unmarshal(m, b) @@ -87,7 +87,7 @@ func (m *ImageClassificationModelMetadata) Reset() { *m = ImageClassific func (m *ImageClassificationModelMetadata) String() string { return proto.CompactTextString(m) } func (*ImageClassificationModelMetadata) ProtoMessage() {} func (*ImageClassificationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_2de9cf011ac64c7a, []int{1} + return fileDescriptor_image_7fb55170bec5faa5, []int{1} } func (m *ImageClassificationModelMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageClassificationModelMetadata.Unmarshal(m, b) @@ -141,31 +141,32 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/image.proto", fileDescriptor_image_2de9cf011ac64c7a) -} - -var fileDescriptor_image_2de9cf011ac64c7a = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x6a, 0xe3, 0x40, - 0x10, 0x86, 0xd1, 0x99, 0x3b, 0xf0, 0xfa, 0xee, 0x0a, 0xa5, 0x11, 0x4e, 0x82, 0x1d, 0x35, 0x71, - 0xa5, 0x8d, 0x93, 0x32, 0x55, 0xec, 0x34, 0x2e, 0x0c, 0x46, 0xa4, 0x4a, 0xa3, 0x8c, 0xa4, 0xf5, - 0xb2, 0x20, 0x69, 0x16, 0xed, 0x28, 0xe0, 0x17, 0xc8, 0xbb, 0xe4, 0x2d, 0x83, 0x66, 0x45, 0xc0, - 0xc4, 0xb8, 0xdc, 0x4f, 0xdf, 0x3f, 0xfb, 0x8f, 0x56, 0xdc, 0x6a, 0x44, 0x5d, 0x29, 0x59, 0x54, - 0xd8, 0x95, 0x12, 0x3a, 0xc2, 0xba, 0x92, 0xef, 0xcb, 0x5c, 0x11, 0x2c, 0xa5, 0xa9, 0x41, 0xab, - 0xc4, 0xb6, 0x48, 0x18, 0x5e, 0x7a, 0x31, 0x61, 0x31, 0xf1, 0x62, 0x32, 0x88, 0xd3, 0xab, 0x61, - 0x0a, 0x58, 0x23, 0xa1, 0x69, 0x90, 0x80, 0x0c, 0x36, 0xce, 0x47, 0xa7, 0x77, 0xe7, 0xee, 0x28, - 0x2a, 0x70, 0xce, 0xec, 0x4d, 0xc1, 0x91, 0x21, 0x31, 0x1b, 0x12, 0x7c, 0xca, 0xbb, 0xbd, 0x24, - 0x53, 0x2b, 0x47, 0x50, 0x5b, 0x2f, 0xc4, 0x1f, 0x81, 0x88, 0x37, 0x7d, 0xbb, 0xf5, 0x51, 0xfc, - 0x19, 0x08, 0x9c, 0xa2, 0xad, 0x22, 0x28, 0x81, 0x20, 0x7c, 0x13, 0x17, 0xc7, 0xf3, 0x33, 0x3a, - 0x58, 0x15, 0x05, 0xf3, 0x60, 0xf1, 0xff, 0x5e, 0x26, 0x67, 0x56, 0x4a, 0x8e, 0x07, 0xbf, 0x1c, - 0xac, 0x4a, 0xc3, 0xe2, 0x07, 0x8b, 0x3f, 0x03, 0x31, 0x3f, 0x51, 0x64, 0x8b, 0xa5, 0xaa, 0xbe, - 0x6b, 0xc4, 0xe2, 0x5f, 0x0e, 0x4e, 0x65, 0x75, 0x4f, 0x33, 0x53, 0x72, 0x81, 0x71, 0x3a, 0xe9, - 0x21, 0x9b, 0x9b, 0x32, 0xbc, 0x11, 0x7f, 0xa9, 0x05, 0xd3, 0x64, 0x79, 0x57, 0x6a, 0x45, 0xd1, - 0xaf, 0x79, 0xb0, 0x18, 0xa5, 0x13, 0x66, 0x2b, 0x46, 0xe1, 0xb5, 0x10, 0x5e, 0x29, 0xd0, 0x51, - 0x34, 0x62, 0x61, 0xcc, 0x64, 0x8d, 0x8e, 0xc2, 0x99, 0x98, 0x38, 0x42, 0x9b, 0xb5, 0x0a, 0x1c, - 0x36, 0xd1, 0x6f, 0xbe, 0x43, 0xf4, 0x28, 0x65, 0xb2, 0x6a, 0xc5, 0xac, 0xc0, 0xfa, 0xdc, 0xd6, - 0x2b, 0xc1, 0xbb, 0xec, 0xfa, 0x7f, 0xbc, 0x0b, 0x5e, 0x9f, 0x06, 0x55, 0x63, 0x05, 0x8d, 0x4e, - 0xb0, 0xd5, 0x52, 0xab, 0x86, 0x5f, 0x40, 0xfa, 0x4f, 0x60, 0x8d, 0x3b, 0xf9, 0xae, 0x8f, 0xfe, - 0x98, 0xff, 0x61, 0xfb, 0xe1, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xde, 0x9b, 0x5b, 0x1e, 0x68, 0x02, - 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/image.proto", fileDescriptor_image_7fb55170bec5faa5) +} + +var fileDescriptor_image_7fb55170bec5faa5 = []byte{ + // 359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xc3, 0x40, + 0x10, 0x86, 0x49, 0x8b, 0x42, 0xb7, 0xea, 0x21, 0x5e, 0x42, 0xab, 0xb4, 0xe6, 0x62, 0x4f, 0x59, + 0xab, 0x47, 0x4f, 0x6d, 0x05, 0xe9, 0xa1, 0x50, 0x82, 0x78, 0x90, 0x42, 0x9c, 0x24, 0xdb, 0x65, + 0x21, 0xc9, 0x84, 0xec, 0x44, 0xe8, 0x0b, 0x78, 0xf6, 0x35, 0x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, 0x67, 0xec, 0x4c, 0xba, 0x61, 0xdf, 0xb0, 0xb9, 0x41, 0xee, 0x35, 0x63, 0x56, 0x49, + 0x50, 0x93, 0xd7, 0x35, 0x42, 0xcf, 0x90, 0x05, 0x6a, 0x72, 0x47, 0xac, 0xaf, 0x09, 0xcb, 0xa8, + 0x12, 0xa0, 0xb1, 0xf0, 0x4e, 0xcc, 0x1d, 0xac, 0x41, 0xa1, 0x21, 0xf3, 0x2f, 0x87, 0x8d, 0x12, + 0xcc, 0x8f, 0xad, 0x3d, 0x67, 0x66, 0x99, 0x75, 0xf3, 0x93, 0xd7, 0xce, 0xdb, 0xac, 0x55, 0x25, + 0x66, 0x50, 0xc8, 0x00, 0x2b, 0xc9, 0xa5, 0x28, 0xcc, 0x13, 0x70, 0xfb, 0x09, 0x4a, 0xa5, 0x0f, + 0x3e, 0xec, 0xa3, 0x3d, 0xfe, 0x74, 0x86, 0xcf, 0x46, 0xdc, 0x2c, 0x1a, 0x69, 0x33, 0xab, 0x09, + 0x57, 0xd9, 0xe6, 0xd5, 0x4a, 0xf1, 0xa9, 0x99, 0xf5, 0xf0, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x0c, + 0x97, 0x73, 0xa0, 0x87, 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go index 752627f90..5fdf13a64 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go @@ -35,7 +35,7 @@ func (m *InputConfig) Reset() { *m = InputConfig{} } func (m *InputConfig) String() string { return proto.CompactTextString(m) } func (*InputConfig) ProtoMessage() {} func (*InputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_io_cefafa604fe5db83, []int{0} + return fileDescriptor_io_433169c5aff300ba, []int{0} } func (m *InputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputConfig.Unmarshal(m, b) @@ -150,7 +150,7 @@ func (m *OutputConfig) Reset() { *m = OutputConfig{} } func (m *OutputConfig) String() string { return proto.CompactTextString(m) } func (*OutputConfig) ProtoMessage() {} func (*OutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_io_cefafa604fe5db83, []int{1} + return fileDescriptor_io_433169c5aff300ba, []int{1} } func (m *OutputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputConfig.Unmarshal(m, b) @@ -264,7 +264,7 @@ func (m *GcsSource) Reset() { *m = GcsSource{} } func (m *GcsSource) String() string { return proto.CompactTextString(m) } func (*GcsSource) ProtoMessage() {} func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_io_cefafa604fe5db83, []int{2} + return fileDescriptor_io_433169c5aff300ba, []int{2} } func (m *GcsSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsSource.Unmarshal(m, b) @@ -309,7 +309,7 @@ func (m *GcsDestination) Reset() { *m = GcsDestination{} } func (m *GcsDestination) String() string { return proto.CompactTextString(m) } func (*GcsDestination) ProtoMessage() {} func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_io_cefafa604fe5db83, []int{3} + return fileDescriptor_io_433169c5aff300ba, []int{3} } func (m *GcsDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsDestination.Unmarshal(m, b) @@ -344,28 +344,30 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/io.proto", fileDescriptor_io_cefafa604fe5db83) -} - -var fileDescriptor_io_cefafa604fe5db83 = []byte{ - // 300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x4b, 0x4b, 0x03, 0x31, - 0x10, 0xc7, 0xbb, 0x08, 0xc5, 0x9d, 0x6a, 0x8b, 0x7b, 0x2a, 0x3e, 0xb0, 0x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x1b, 0xf5, 0xf6, 0xfa, 0x71, 0x16, 0xfb, 0xc9, 0x4c, 0x4b, 0x93, 0xde, 0x41, - 0x7b, 0xdb, 0x3e, 0x19, 0xc0, 0x11, 0xfa, 0xd2, 0x95, 0x62, 0x5e, 0x6a, 0xbe, 0x92, 0x9f, 0xbe, - 0x66, 0x9c, 0x75, 0xc2, 0x62, 0xa6, 0xe5, 0xd4, 0x8f, 0x47, 0x2b, 0x38, 0xcf, 0x71, 0xbd, 0xab, - 0xfc, 0x34, 0x7a, 0xbb, 0xaf, 0xd7, 0x02, 0x0b, 0xa6, 0x04, 0x41, 0x2d, 0xa8, 0xe0, 0xca, 0xdf, - 0x80, 0x86, 0x15, 0x2b, 0xa5, 0xf9, 0xf3, 0xce, 0xb7, 0xe1, 0xb9, 0x68, 0x7a, 0xfa, 0xe6, 0x2b, - 0x00, 0x00, 0xff, 0xff, 0xe3, 0x87, 0x4d, 0x64, 0x14, 0x02, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/io.proto", fileDescriptor_io_433169c5aff300ba) +} + +var fileDescriptor_io_433169c5aff300ba = []byte{ + // 326 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x5d, 0x4b, 0x32, 0x41, + 0x14, 0xc7, 0xdd, 0xe7, 0x01, 0x79, 0xf6, 0xf8, 0xa4, 0xb4, 0x57, 0x92, 0x45, 0xb2, 0x44, 0x88, + 0xc1, 0x0e, 0xd6, 0x65, 0xdd, 0xa8, 0x81, 0x76, 0x11, 0xc9, 0x86, 0x5e, 0x84, 0x60, 0xe3, 0xba, + 0x0e, 0x03, 0xeb, 0x9c, 0x65, 0x5e, 0xa2, 0x0f, 0xd0, 0xa7, 0xeb, 0x53, 0xc5, 0xce, 0x6c, 0x99, + 0x10, 0x76, 0x39, 0xe7, 0xfc, 0xfe, 0x2f, 0xc3, 0x81, 0x33, 0x86, 0xc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, 0x37, 0x0f, 0x4e, 0x13, 0xdc, 0xec, 0x6b, 0x3f, 0xf1, 0x9e, 0xfa, 0xe5, 0x9a, 0x61, + 0x46, 0x05, 0x8b, 0x50, 0x32, 0xc2, 0x52, 0x61, 0x8f, 0x40, 0xdc, 0x8a, 0xe6, 0x5c, 0xfd, 0x78, + 0xe8, 0x6b, 0xf7, 0x7c, 0xff, 0xd3, 0x1a, 0x59, 0x70, 0x3e, 0x2c, 0xa0, 0x79, 0xdf, 0x68, 0xbc, + 0xcf, 0xe6, 0x33, 0x07, 0x2d, 0xab, 0xd6, 0xeb, 0xea, 0x23, 0x00, 0x00, 0xff, 0xff, 0x56, 0x2c, + 0xc8, 0x9a, 0x33, 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go index 104bddbd4..6dba79496 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go @@ -47,7 +47,7 @@ func (x Model_DeploymentState) String() string { return proto.EnumName(Model_DeploymentState_name, int32(x)) } func (Model_DeploymentState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_model_20a2aca5850ac7e3, []int{0, 0} + return fileDescriptor_model_68def19a41c10297, []int{0, 0} } // API proto representing a trained machine learning model. @@ -92,7 +92,7 @@ func (m *Model) Reset() { *m = Model{} } func (m *Model) String() string { return proto.CompactTextString(m) } func (*Model) ProtoMessage() {} func (*Model) Descriptor() ([]byte, []int) { - return fileDescriptor_model_20a2aca5850ac7e3, []int{0} + return fileDescriptor_model_68def19a41c10297, []int{0} } func (m *Model) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Model.Unmarshal(m, b) @@ -119,16 +119,20 @@ type isModel_ModelMetadata interface { type Model_ImageClassificationModelMetadata struct { ImageClassificationModelMetadata *ImageClassificationModelMetadata `protobuf:"bytes,13,opt,name=image_classification_model_metadata,json=imageClassificationModelMetadata,proto3,oneof"` } + type Model_TextClassificationModelMetadata struct { TextClassificationModelMetadata *TextClassificationModelMetadata `protobuf:"bytes,14,opt,name=text_classification_model_metadata,json=textClassificationModelMetadata,proto3,oneof"` } + type Model_TranslationModelMetadata struct { TranslationModelMetadata *TranslationModelMetadata `protobuf:"bytes,15,opt,name=translation_model_metadata,json=translationModelMetadata,proto3,oneof"` } func (*Model_ImageClassificationModelMetadata) isModel_ModelMetadata() {} -func (*Model_TextClassificationModelMetadata) isModel_ModelMetadata() {} -func (*Model_TranslationModelMetadata) isModel_ModelMetadata() {} + +func (*Model_TextClassificationModelMetadata) isModel_ModelMetadata() {} + +func (*Model_TranslationModelMetadata) isModel_ModelMetadata() {} func (m *Model) GetModelMetadata() isModel_ModelMetadata { if m != nil { @@ -299,41 +303,42 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/model.proto", fileDescriptor_model_20a2aca5850ac7e3) -} - -var fileDescriptor_model_20a2aca5850ac7e3 = []byte{ - // 501 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x97, 0x01, 0x63, 0x3b, 0x1d, 0x6d, 0xe5, 0xab, 0xa8, 0x0c, 0x35, 0x14, 0x09, 0x7a, - 0x43, 0xa2, 0x15, 0x71, 0x35, 0xb8, 0xd8, 0xd6, 0x20, 0x2a, 0xd1, 0x52, 0xda, 0xec, 0x02, 0x24, - 0x14, 0xb9, 0x89, 0x1b, 0x59, 0x4a, 0xe2, 0xa8, 0x39, 0x41, 0xdb, 0x33, 0x20, 0xf1, 0x2e, 0xbc, - 0x21, 0x8a, 0xed, 0x16, 0x5a, 0x31, 0xf7, 0xae, 0x3e, 0xe7, 0xfb, 0x8f, 0x7f, 0xff, 0x3d, 0x81, - 0x57, 0x89, 0x10, 0x49, 0xca, 0xbc, 0x28, 0x15, 0x55, 0xec, 0xd1, 0x0a, 0x45, 0x96, 0x7a, 0x3f, - 0xce, 0x17, 0x0c, 0xe9, 0xb9, 0x97, 0x89, 0x98, 0xa5, 0x6e, 0xb1, 0x12, 0x28, 0xc8, 0x53, 0x05, - 0xba, 0x12, 0x74, 0x15, 0xe8, 0x6a, 0xb0, 0x73, 0xa6, 0xa7, 0xd0, 0x82, 0x7b, 0x34, 0xcf, 0x05, - 0x52, 0xe4, 0x22, 0x2f, 0x95, 0xb4, 0x63, 0xbc, 0x83, 0x67, 0x34, 0x61, 0x1a, 0x7c, 0x69, 0x02, - 0x91, 0xdd, 0xa2, 0xe6, 0x5e, 0x1b, 0xb9, 0x15, 0xcd, 0xcb, 0x54, 0x1a, 0xd0, 0x78, 0x57, 0xe3, - 0xf2, 0xb4, 0xa8, 0x96, 0x1e, 0xf2, 0x8c, 0x95, 0x48, 0xb3, 0x42, 0x01, 0xbd, 0xdf, 0x47, 0xf0, - 0x68, 0x5c, 0xbf, 0x95, 0xfc, 0xb2, 0xe0, 0x85, 0x74, 0x14, 0x46, 0x29, 0x2d, 0x4b, 0xbe, 0xe4, - 0x91, 0x9c, 0x14, 0xca, 0x28, 0xc2, 0x8c, 0x21, 0x8d, 0x29, 0x52, 0xfb, 0x89, 0x63, 0xf5, 0x1b, - 0x83, 0xf7, 0xae, 0x21, 0x14, 0x77, 0x54, 0xcf, 0xb9, 0xde, 0x1a, 0x23, 0x2f, 0x19, 0xeb, 0x21, - 0x1f, 0x0f, 0x66, 0x0e, 0xdf, 0xc3, 0x90, 0x9f, 0x16, 0xf4, 0xea, 0x97, 0xef, 0xf1, 0xd3, 0x94, - 0x7e, 0xde, 0x19, 0xfd, 0x04, 0xec, 0x16, 0xcd, 0x76, 0xba, 0x68, 0x46, 0x48, 0x05, 0x9d, 0x7f, - 0xe2, 0xdd, 0x35, 0xd1, 0x92, 0x26, 0xde, 0x9a, 0x4d, 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xcf, 0xbe, - 0x5a, 0x42, 0x37, 0x12, 0x99, 0xc9, 0xee, 0xd4, 0xfa, 0x76, 0xa9, 0xdb, 0x89, 0x48, 0x69, 0x9e, - 0xb8, 0x62, 0x95, 0x78, 0x09, 0xcb, 0x65, 0x3a, 0x9e, 0x6a, 0xd1, 0x82, 0x97, 0xff, 0xfd, 0x8e, - 0x2f, 0xd4, 0x71, 0x71, 0x24, 0xe9, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x10, 0xe2, - 0xaa, 0xa9, 0x04, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/model.proto", fileDescriptor_model_68def19a41c10297) +} + +var fileDescriptor_model_68def19a41c10297 = []byte{ + // 522 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6e, 0x12, 0x41, + 0x14, 0xc6, 0xbb, 0xa8, 0xb5, 0x1d, 0x2a, 0x90, 0xb9, 0xda, 0xd0, 0x1a, 0x10, 0x13, 0xe5, 0xc6, + 0xdd, 0x14, 0xe3, 0x55, 0xf5, 0x82, 0xc2, 0xaa, 0x24, 0x82, 0x08, 0xd4, 0x44, 0x83, 0xd9, 0x0c, + 0xec, 0x74, 0x33, 0xc9, 0xec, 0xce, 0x86, 0x3d, 0x6b, 0xda, 0x7b, 0xef, 0x4c, 0x7c, 0x17, 0x5f, + 0xc3, 0xa7, 0x32, 0xf3, 0x07, 0x14, 0xa2, 0xc3, 0x1d, 0x73, 0xce, 0xef, 0x3b, 0xf3, 0xcd, 0xc7, + 0x59, 0xf4, 0x34, 0x16, 0x22, 0xe6, 0xd4, 0x5f, 0x72, 0x51, 0x44, 0x3e, 0x29, 0x40, 0x24, 0xdc, + 0xff, 0x7a, 0xbe, 0xa0, 0x40, 0xce, 0xfd, 0x44, 0x44, 0x94, 0x7b, 0xd9, 0x4a, 0x80, 0xc0, 0x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, 0x3c, 0xbe, 0x6e, 0x91, 0x8c, + 0xe5, 0xff, 0xfc, 0x90, 0x2f, 0xf4, 0xf1, 0x57, 0xe9, 0xf4, 0x8d, 0x02, 0xe7, 0x3d, 0x09, 0xcd, + 0xbb, 0x05, 0x88, 0x21, 0x9f, 0x7f, 0xd4, 0xd0, 0xe2, 0x50, 0xcd, 0x7a, 0xfe, 0x3b, 0x00, 0x00, + 0xff, 0xff, 0x01, 0x63, 0x79, 0x4b, 0xc8, 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go index 6bb2a9ef5..c3c3c9955 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go @@ -55,7 +55,7 @@ func (m *ModelEvaluation) Reset() { *m = ModelEvaluation{} } func (m *ModelEvaluation) String() string { return proto.CompactTextString(m) } func (*ModelEvaluation) ProtoMessage() {} func (*ModelEvaluation) Descriptor() ([]byte, []int) { - return fileDescriptor_model_evaluation_a77b44488aa864eb, []int{0} + return fileDescriptor_model_evaluation_0e495b83a4998d51, []int{0} } func (m *ModelEvaluation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModelEvaluation.Unmarshal(m, b) @@ -82,12 +82,14 @@ type isModelEvaluation_Metrics interface { type ModelEvaluation_ClassificationEvaluationMetrics struct { ClassificationEvaluationMetrics *ClassificationEvaluationMetrics `protobuf:"bytes,8,opt,name=classification_evaluation_metrics,json=classificationEvaluationMetrics,proto3,oneof"` } + type ModelEvaluation_TranslationEvaluationMetrics struct { TranslationEvaluationMetrics *TranslationEvaluationMetrics `protobuf:"bytes,9,opt,name=translation_evaluation_metrics,json=translationEvaluationMetrics,proto3,oneof"` } func (*ModelEvaluation_ClassificationEvaluationMetrics) isModelEvaluation_Metrics() {} -func (*ModelEvaluation_TranslationEvaluationMetrics) isModelEvaluation_Metrics() {} + +func (*ModelEvaluation_TranslationEvaluationMetrics) isModelEvaluation_Metrics() {} func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics { if m != nil { @@ -217,34 +219,35 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/model_evaluation.proto", fileDescriptor_model_evaluation_a77b44488aa864eb) -} - -var fileDescriptor_model_evaluation_a77b44488aa864eb = []byte{ - // 388 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x6b, 0xdb, 0x30, - 0x1c, 0x9d, 0xb7, 0x25, 0x5b, 0x94, 0xc3, 0x86, 0x60, 0xcc, 0x78, 0x61, 0xc9, 0x76, 0xca, 0x61, - 0x93, 0x96, 0x0c, 0x06, 0x23, 0xbd, 0x34, 0x21, 0xd0, 0x1e, 0x02, 0xc5, 0xcd, 0xa9, 0x17, 0xa3, - 0xc8, 0x8a, 0x11, 0xe8, 0x8f, 0xb1, 0xe4, 0xd0, 0x6b, 0xaf, 0xfd, 0x9c, 0xfd, 0x20, 0xc5, 0x92, - 0x13, 0x3b, 0x10, 0x7c, 0xb3, 0xfc, 0xde, 0xfb, 0xfd, 0xde, 0xd3, 0x13, 0x98, 0x67, 0x5a, 0x67, - 0x82, 0x61, 0x2a, 0x74, 0x99, 0x62, 0x52, 0x5a, 0x2d, 0x05, 0x3e, 0xcc, 0x76, 0xcc, 0x92, 0x19, - 0x96, 0x3a, 0x65, 0x22, 0x61, 0x07, 0x22, 0x4a, 0x62, 0xb9, 0x56, 0x28, 0x2f, 0xb4, 0xd5, 0xf0, - 0x9b, 0xd7, 0x20, 0xa7, 0x41, 0x5e, 0x83, 0x6a, 0x4d, 0x34, 0xaa, 0x07, 0x92, 0x9c, 0x63, 0xa2, - 0x94, 0xb6, 0x4e, 0x69, 0xb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42, 0x75, 0xa9, 0x6c, 0xd8, 0x9f, 0x04, - 0xd3, 0x5e, 0xfc, 0xe5, 0x04, 0xaf, 0x3d, 0xba, 0xaa, 0xc0, 0xe5, 0x00, 0x7c, 0xa8, 0xaf, 0x68, - 0xb9, 0x07, 0x63, 0xaa, 0x65, 0xd7, 0x0d, 0xdd, 0x05, 0x0f, 0xd7, 0x35, 0x9c, 0x69, 0x41, 0x54, - 0x86, 0x74, 0x91, 0xe1, 0x8c, 0x29, 0x67, 0x0e, 0x7b, 0x88, 0xe4, 0xdc, 0x5c, 0x7c, 0x7a, 0x0b, - 0x7f, 0xdc, 0xf5, 0x1d, 0xfb, 0xef, 0x6b, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x78, 0x76, 0xc2, - 0x48, 0x03, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/model_evaluation.proto", fileDescriptor_model_evaluation_0e495b83a4998d51) +} + +var fileDescriptor_model_evaluation_0e495b83a4998d51 = []byte{ + // 410 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x8b, 0x13, 0x31, + 0x18, 0x36, 0xab, 0xbb, 0xda, 0xec, 0x41, 0x09, 0x88, 0xc3, 0xec, 0x62, 0xab, 0xa7, 0x1e, 0x34, + 0x71, 0x2b, 0x08, 0x52, 0x2f, 0x6d, 0x29, 0xea, 0xa1, 0x20, 0x63, 0xf1, 0x20, 0x85, 0x21, 0xcd, + 0xa4, 0x43, 0x20, 0x1f, 0xc3, 0x24, 0x53, 0xbc, 0x0a, 0x9e, 0xfc, 0x69, 0xfe, 0x0e, 0x7f, 0xc8, + 0x32, 0xc9, 0xb4, 0x33, 0x85, 0x32, 0xb7, 0xc9, 0x3c, 0x1f, 0xef, 0xf3, 0xe4, 0x0d, 0x9c, 0xe4, + 0xc6, 0xe4, 0x92, 0x13, 0x26, 0x4d, 0x95, 0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0xb3, 0x16, 0xf9, + 0x5e, 0x70, 0xf6, 0x35, 0x43, 0x53, 0x78, 0xcd, 0x4a, 0x4e, 0x1d, 0x4f, 0xeb, 0x05, 0x44, 0x97, + 0x3e, 0x71, 0x7c, 0x48, 0x7c, 0xd8, 0x0e, 0x5e, 0x1f, 0xb6, 0x93, 0xc0, 0x40, 0xaf, 0x7f, 0xa0, + 0x0f, 0xf0, 0x45, 0xd3, 0x9a, 0x67, 0x29, 0xff, 0x45, 0x55, 0x21, 0x79, 0xca, 0x4c, 0xa5, 0x5d, + 0x74, 0x35, 0x02, 0xe3, 0xcb, 0xe4, 0xf9, 0x11, 0x5e, 0x06, 0x74, 0x51, 0x83, 0xf3, 0x01, 0x7c, + 0xdc, 0x5c, 0xd1, 0xfc, 0x0f, 0x80, 0x43, 0x66, 0x54, 0xdf, 0x15, 0x7d, 0x03, 0x3f, 0x67, 0x0d, + 0x9c, 0x1b, 0x49, 0x75, 0x8e, 0x4d, 0x99, 0x93, 0x9c, 0x6b, 0x9f, 0x8e, 0x04, 0x88, 0x16, 0xc2, + 0x9e, 0x7d, 0x7b, 0xd3, 0x70, 0xfc, 0x77, 0x71, 0xf3, 0xd9, 0x13, 0x37, 0x8b, 0x9a, 0xb4, 0x99, + 0x55, 0xce, 0xac, 0xe4, 0xe6, 0x47, 0x20, 0x6d, 0xaf, 0xbc, 0xd7, 0xfb, 0xfb, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x5e, 0x71, 0x31, 0xe7, 0x67, 0x03, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go index c60e8c3f5..9d87101bb 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go @@ -50,7 +50,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_a66433d6536e3c8f, []int{0} + return fileDescriptor_operations_45b6bac60e2a57c5, []int{0} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -188,7 +188,7 @@ func (m *CreateModelOperationMetadata) Reset() { *m = CreateModelOperati func (m *CreateModelOperationMetadata) String() string { return proto.CompactTextString(m) } func (*CreateModelOperationMetadata) ProtoMessage() {} func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_a66433d6536e3c8f, []int{1} + return fileDescriptor_operations_45b6bac60e2a57c5, []int{1} } func (m *CreateModelOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateModelOperationMetadata.Unmarshal(m, b) @@ -214,33 +214,35 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/operations.proto", fileDescriptor_operations_a66433d6536e3c8f) -} - -var fileDescriptor_operations_a66433d6536e3c8f = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0xab, 0xd3, 0x40, - 0x14, 0xc5, 0x6d, 0xeb, 0x1f, 0x9c, 0x22, 0xad, 0x41, 0x30, 0xd4, 0x62, 0x4b, 0x37, 0x56, 0x90, - 0x19, 0x5a, 0x57, 0x52, 0x5c, 0x58, 0x45, 0xdc, 0x14, 0x4b, 0x74, 0xe5, 0x26, 0xdc, 0x26, 0xb7, - 0x21, 0x30, 0xc9, 0x0c, 0x33, 0x37, 0x05, 0x3f, 0xb6, 0xdf, 0x40, 0x32, 0x33, 0xd1, 0xc7, 0x7b, - 0x8f, 0x74, 0x39, 0xf7, 0xfc, 0xce, 0xcd, 0xb9, 0x87, 0xb0,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0x25, 0xc8, 0xf4, 0x0c, 0xa5, 0x6c, 0x0c, 0xda, 0x78, 0xb8, 0x1c, 0xad, 0xc7, 0xdb, 0xa8, - 0x4b, 0x65, 0x74, 0xc6, 0x7f, 0xb8, 0x1b, 0x93, 0x49, 0x60, 0xbf, 0x06, 0x34, 0xda, 0xb1, 0x71, - 0x38, 0xac, 0x6d, 0x28, 0x1e, 0xb9, 0x7b, 0x66, 0x9d, 0xb3, 0xab, 0x8f, 0xff, 0xec, 0xea, 0x4b, - 0x98, 0xc7, 0xdb, 0x41, 0x6b, 0x6e, 0x74, 0xfe, 0xcf, 0xfc, 0xf0, 0xba, 0xd9, 0xe3, 0xed, 0x60, - 0xff, 0x94, 0x3d, 0x09, 0x2d, 0xae, 0x5e, 0xb3, 0x79, 0x5f, 0x49, 0xfb, 0x33, 0x5b, 0x64, 0xaa, - 0xea, 0x2b, 0xf9, 0x38, 0xf8, 0xf5, 0x29, 0xc8, 0x85, 0x92, 0x50, 0x17, 0x5c, 0x99, 0x42, 0x14, - 0x58, 0xbb, 0x10, 0xc2, 0x4b, 0xa0, 0x4b, 0x7b, 0xef, 0x2f, 0xb6, 0xf3, 0xcf, 0xd3, 0x63, 0x47, - 0xbf, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x7b, 0xa7, 0x51, 0x21, 0x03, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/operations.proto", fileDescriptor_operations_45b6bac60e2a57c5) +} + +var fileDescriptor_operations_45b6bac60e2a57c5 = []byte{ + // 409 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x6b, 0xd4, 0x40, + 0x14, 0xc5, 0xcd, 0xd6, 0x3f, 0x38, 0x8b, 0xb4, 0x06, 0xc1, 0xb0, 0x2d, 0x76, 0xe9, 0x8b, 0x2b, + 0xc8, 0x0c, 0x5d, 0x9f, 0xa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, 0xa9, 0x8b, 0x31, 0xeb, 0x40, 0x03, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go index e410469cb..81a87dc46 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go @@ -51,7 +51,7 @@ func (m *PredictRequest) Reset() { *m = PredictRequest{} } func (m *PredictRequest) String() string { return proto.CompactTextString(m) } func (*PredictRequest) ProtoMessage() {} func (*PredictRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_prediction_service_5ac0688e9536db17, []int{0} + return fileDescriptor_prediction_service_21460c7fedea4ded, []int{0} } func (m *PredictRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PredictRequest.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *PredictResponse) Reset() { *m = PredictResponse{} } func (m *PredictResponse) String() string { return proto.CompactTextString(m) } func (*PredictResponse) ProtoMessage() {} func (*PredictResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_prediction_service_5ac0688e9536db17, []int{1} + return fileDescriptor_prediction_service_21460c7fedea4ded, []int{1} } func (m *PredictResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PredictResponse.Unmarshal(m, b) @@ -227,38 +227,40 @@ var _PredictionService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/prediction_service.proto", fileDescriptor_prediction_service_5ac0688e9536db17) + proto.RegisterFile("google/cloud/automl/v1beta1/prediction_service.proto", fileDescriptor_prediction_service_21460c7fedea4ded) } -var fileDescriptor_prediction_service_5ac0688e9536db17 = []byte{ - // 462 bytes of a gzipped FileDescriptorProto +var fileDescriptor_prediction_service_21460c7fedea4ded = []byte{ + // 486 bytes of a gzipped FileDescriptorProto 0x1f, 0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f, 0x7b, 0x4f, 0xc7, - 0x47, 0x6d, 0x33, 0x7e, 0xac, 0x5b, 0xeb, 0x99, 0x2e, 0xd5, 0x5b, 0x8c, 0xad, 0x11, 0x53, 0x21, - 0x55, 0xec, 0x06, 0x40, 0x4c, 0x45, 0xae, 0x12, 0x94, 0x46, 0x4c, 0x3f, 0xcd, 0xfd, 0x68, 0xcd, - 0xc9, 0x74, 0xf1, 0x99, 0x3e, 0x88, 0x55, 0xde, 0x55, 0x76, 0x71, 0xf7, 0x42, 0xc0, 0xb0, 0x6e, - 0xf4, 0x90, 0xbc, 0x39, 0xf1, 0x58, 0xaa, 0x24, 0x14, 0x29, 0x57, 0x65, 0x2a, 0x52, 0x2c, 0x9a, - 0x31, 0x10, 0xee, 0x08, 0x74, 0x66, 0xfe, 0x3b, 0x37, 0xc7, 0x6e, 0x79, 0xba, 0xd3, 0xdc, 0x7e, - 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0xb5, 0xb3, 0x24, 0x52, 0x0b, 0x04, 0x00, 0x00, + 0x14, 0xc6, 0x99, 0x54, 0x77, 0xdd, 0x29, 0xfe, 0x1b, 0x44, 0x4a, 0x56, 0xb0, 0xf4, 0xaa, 0x74, + 0x97, 0x19, 0xb6, 0x0a, 0xab, 0x5d, 0xbd, 0x68, 0xa5, 0xe8, 0xcd, 0x62, 0x88, 0xb0, 0x17, 0x52, + 0x28, 0xb3, 0xc9, 0x10, 0xa2, 0x93, 0x9c, 0x98, 0x99, 0x14, 0x8b, 0x78, 0xe3, 0x2b, 0x78, 0xeb, + 0x03, 0xf8, 0x14, 0x3e, 0x80, 0xb7, 0xbe, 0x82, 0x0f, 0xe0, 0x9d, 0xb7, 0x92, 0x99, 0x31, 0xeb, + 0xb2, 0x12, 0xb6, 0x77, 0x49, 0xe6, 0xfc, 0xbe, 0xf3, 0x7d, 0x99, 0x73, 0xf0, 0xc3, 0x04, 0x20, + 0x91, 0x82, 0x45, 0x12, 0xaa, 0x98, 0xf1, 0x4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8b, 0x4e, 0xb7, 0x8c, 0xd6, 0x83, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x55, 0x88, + 0x1b, 0x5d, 0x2a, 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go index e95d9002a..72391867f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go @@ -41,7 +41,7 @@ func (m *CreateDatasetRequest) Reset() { *m = CreateDatasetRequest{} } func (m *CreateDatasetRequest) String() string { return proto.CompactTextString(m) } func (*CreateDatasetRequest) ProtoMessage() {} func (*CreateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{0} + return fileDescriptor_service_67dda52b9aca3dee, []int{0} } func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) @@ -88,7 +88,7 @@ func (m *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } func (*GetDatasetRequest) ProtoMessage() {} func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{1} + return fileDescriptor_service_67dda52b9aca3dee, []int{1} } func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) @@ -145,7 +145,7 @@ func (m *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } func (*ListDatasetsRequest) ProtoMessage() {} func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{2} + return fileDescriptor_service_67dda52b9aca3dee, []int{2} } func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) @@ -209,7 +209,7 @@ func (m *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } func (*ListDatasetsResponse) ProtoMessage() {} func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{3} + return fileDescriptor_service_67dda52b9aca3dee, []int{3} } func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) @@ -256,7 +256,7 @@ func (m *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} } func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDatasetRequest) ProtoMessage() {} func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{4} + return fileDescriptor_service_67dda52b9aca3dee, []int{4} } func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b) @@ -299,7 +299,7 @@ func (m *ImportDataRequest) Reset() { *m = ImportDataRequest{} } func (m *ImportDataRequest) String() string { return proto.CompactTextString(m) } func (*ImportDataRequest) ProtoMessage() {} func (*ImportDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{5} + return fileDescriptor_service_67dda52b9aca3dee, []int{5} } func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportDataRequest.Unmarshal(m, b) @@ -348,7 +348,7 @@ func (m *ExportDataRequest) Reset() { *m = ExportDataRequest{} } func (m *ExportDataRequest) String() string { return proto.CompactTextString(m) } func (*ExportDataRequest) ProtoMessage() {} func (*ExportDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{6} + return fileDescriptor_service_67dda52b9aca3dee, []int{6} } func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportDataRequest.Unmarshal(m, b) @@ -397,7 +397,7 @@ func (m *CreateModelRequest) Reset() { *m = CreateModelRequest{} } func (m *CreateModelRequest) String() string { return proto.CompactTextString(m) } func (*CreateModelRequest) ProtoMessage() {} func (*CreateModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{7} + return fileDescriptor_service_67dda52b9aca3dee, []int{7} } func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b) @@ -444,7 +444,7 @@ func (m *GetModelRequest) Reset() { *m = GetModelRequest{} } func (m *GetModelRequest) String() string { return proto.CompactTextString(m) } func (*GetModelRequest) ProtoMessage() {} func (*GetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{8} + return fileDescriptor_service_67dda52b9aca3dee, []int{8} } func (m *GetModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetModelRequest.Unmarshal(m, b) @@ -503,7 +503,7 @@ func (m *ListModelsRequest) Reset() { *m = ListModelsRequest{} } func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) } func (*ListModelsRequest) ProtoMessage() {} func (*ListModelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{9} + return fileDescriptor_service_67dda52b9aca3dee, []int{9} } func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b) @@ -567,7 +567,7 @@ func (m *ListModelsResponse) Reset() { *m = ListModelsResponse{} } func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) } func (*ListModelsResponse) ProtoMessage() {} func (*ListModelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{10} + return fileDescriptor_service_67dda52b9aca3dee, []int{10} } func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b) @@ -614,7 +614,7 @@ func (m *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} } func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) } func (*DeleteModelRequest) ProtoMessage() {} func (*DeleteModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{11} + return fileDescriptor_service_67dda52b9aca3dee, []int{11} } func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b) @@ -654,7 +654,7 @@ func (m *DeployModelRequest) Reset() { *m = DeployModelRequest{} } func (m *DeployModelRequest) String() string { return proto.CompactTextString(m) } func (*DeployModelRequest) ProtoMessage() {} func (*DeployModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{12} + return fileDescriptor_service_67dda52b9aca3dee, []int{12} } func (m *DeployModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeployModelRequest.Unmarshal(m, b) @@ -694,7 +694,7 @@ func (m *UndeployModelRequest) Reset() { *m = UndeployModelRequest{} } func (m *UndeployModelRequest) String() string { return proto.CompactTextString(m) } func (*UndeployModelRequest) ProtoMessage() {} func (*UndeployModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{13} + return fileDescriptor_service_67dda52b9aca3dee, []int{13} } func (m *UndeployModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeployModelRequest.Unmarshal(m, b) @@ -734,7 +734,7 @@ func (m *GetModelEvaluationRequest) Reset() { *m = GetModelEvaluationReq func (m *GetModelEvaluationRequest) String() string { return proto.CompactTextString(m) } func (*GetModelEvaluationRequest) ProtoMessage() {} func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{14} + return fileDescriptor_service_67dda52b9aca3dee, []int{14} } func (m *GetModelEvaluationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetModelEvaluationRequest.Unmarshal(m, b) @@ -795,7 +795,7 @@ func (m *ListModelEvaluationsRequest) Reset() { *m = ListModelEvaluation func (m *ListModelEvaluationsRequest) String() string { return proto.CompactTextString(m) } func (*ListModelEvaluationsRequest) ProtoMessage() {} func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{15} + return fileDescriptor_service_67dda52b9aca3dee, []int{15} } func (m *ListModelEvaluationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListModelEvaluationsRequest.Unmarshal(m, b) @@ -859,7 +859,7 @@ func (m *ListModelEvaluationsResponse) Reset() { *m = ListModelEvaluatio func (m *ListModelEvaluationsResponse) String() string { return proto.CompactTextString(m) } func (*ListModelEvaluationsResponse) ProtoMessage() {} func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_3e2c9a17c8ace55e, []int{16} + return fileDescriptor_service_67dda52b9aca3dee, []int{16} } func (m *ListModelEvaluationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListModelEvaluationsResponse.Unmarshal(m, b) @@ -1489,77 +1489,78 @@ var _AutoMl_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/service.proto", fileDescriptor_service_3e2c9a17c8ace55e) -} - -var fileDescriptor_service_3e2c9a17c8ace55e = []byte{ - // 1078 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4d, 0x8f, 0xdb, 0x44, - 0x18, 0xd6, 0x6c, 0xdb, 0xb0, 0x7d, 0xb3, 0xd1, 0xb2, 0xc3, 0xaa, 0x0a, 0xd9, 0x56, 0x44, 0xa6, - 0xd0, 0x34, 0x5a, 0xc5, 0x24, 0x45, 0x65, 0x9b, 0x7e, 0x88, 0xfd, 0xa8, 0x56, 0x05, 0x4a, 0x57, - 0x0b, 0x08, 0x89, 0x4b, 0xe4, 0x4d, 0x26, 0x96, 0xa9, 0x33, 0x63, 0xec, 0xf1, 0xb2, 0x2d, 0xaa, - 0xf8, 0xb8, 0x71, 0x46, 0x70, 0xa2, 0x82, 0x03, 0xea, 0x09, 0xf1, 0x33, 0xf8, 0x03, 0x1c, 0xb8, - 0x71, 0xe2, 0x87, 0x20, 0xcf, 0x8c, 0x63, 0x27, 0x36, 0x1e, 0xa7, 0x52, 0xb5, 0xb7, 0xcc, 0xf8, - 0x79, 0xfd, 0x3e, 0xf3, 0x7e, 0xcc, 0xf3, 0x3a, 0x70, 0xd5, 0x66, 0xcc, 0x76, 0x89, 0x39, 0x74, - 0x59, 0x38, 0x32, 0xad, 0x90, 0xb3, 0x89, 0x6b, 0x1e, 0x77, 0x8f, 0x08, 0xb7, 0xba, 0x66, 0x40, - 0xfc, 0x63, 0x67, 0x48, 0x3a, 0x9e, 0xcf, 0x38, 0xc3, 0x1b, 0x12, 0xda, 0x11, 0xd0, 0x8e, 0x84, - 0x76, 0x14, 0xb4, 0x71, 0x51, 0xbd, 0xc7, 0xf2, 0x1c, 0xd3, 0xa2, 0x94, 0x71, 0x8b, 0x3b, 0x8c, - 0x06, 0xd2, 0xb4, 0xf1, 0x76, 0x91, 0x97, 0x04, 0x3e, 0xf0, 0xac, 0x47, 0x2e, 0xb3, 0x46, 0xca, - 0xaa, 0x90, 0xdb, 0xc8, 0xe2, 0x56, 0x40, 0xb8, 0x82, 0x5e, 0x2e, 0x82, 0x3a, 0x4c, 0xa1, 0xae, - 0x14, 0xa1, 0x26, 0x6c, 0x44, 0x5c, 0x05, 0xec, 0x69, 0x81, 0x03, 0x72, 0x6c, 0xb9, 0xa1, 0x60, - 0xad, 0x6c, 0x36, 0x8b, 0x6c, 0x98, 0x47, 0xfc, 0x99, 0x88, 0xbc, 0xae, 0xd0, 0x2e, 0x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2, - 0xf9, 0x1b, 0x02, 0x48, 0x04, 0x50, 0x93, 0xef, 0x8c, 0x52, 0xea, 0x88, 0xed, 0x0b, 0x62, 0xdb, - 0xc6, 0xad, 0x85, 0x89, 0xf5, 0x9d, 0xa9, 0xaf, 0x3e, 0x6a, 0x0b, 0x9a, 0x89, 0x62, 0x6a, 0x68, - 0x66, 0xa4, 0xf5, 0x05, 0xd2, 0x24, 0x27, 0x69, 0x9a, 0x4f, 0x11, 0x54, 0x53, 0xfa, 0x8a, 0xcd, - 0x12, 0xad, 0x9e, 0xbe, 0xab, 0x75, 0x44, 0xef, 0x08, 0xa2, 0x5b, 0x86, 0x59, 0xba, 0x0e, 0xc5, - 0x0d, 0x16, 0xf4, 0x95, 0x3c, 0xfd, 0x88, 0x60, 0x39, 0xbe, 0xf7, 0xf1, 0xa6, 0xae, 0xb7, 0x67, - 0x98, 0x95, 0x10, 0x41, 0xe3, 0x1d, 0x41, 0xaf, 0x8b, 0xcd, 0x72, 0x71, 0x94, 0xdc, 0xa2, 0x2a, - 0x7c, 0x86, 0x00, 0x12, 0x1d, 0xd6, 0xa4, 0x37, 0x33, 0x31, 0x34, 0xcc, 0xd2, 0x78, 0xd5, 0xcf, - 0x39, 0x44, 0x4b, 0xc5, 0x11, 0xff, 0x84, 0xa0, 0x9a, 0x12, 0x6e, 0x4d, 0x82, 0xb3, 0x12, 0xaf, - 0x4b, 0xb0, 0x22, 0xd6, 0x5e, 0x38, 0x82, 0xbf, 0x0a, 0x62, 0x53, 0xed, 0xd7, 0x12, 0x9b, 0x9f, - 0x12, 0x74, 0xc4, 0xb6, 0x05, 0xb1, 0x9b, 0xc6, 0xf5, 0x05, 0x89, 0xf5, 0xe5, 0x40, 0x12, 0x35, - 0xc7, 0x33, 0x04, 0xb5, 0x99, 0x01, 0x45, 0x73, 0x13, 0xe6, 0x0d, 0x33, 0x3a, 0x9a, 0xbb, 0x82, - 0xe6, 0x6d, 0x63, 0x6b, 0x51, 0x9a, 0x21, 0x4d, 0x88, 0xfe, 0x89, 0x00, 0x67, 0xa7, 0x23, 0x7c, - 0xbd, 0x54, 0xbf, 0x64, 0xc6, 0xa9, 0xc6, 0x42, 0x33, 0x87, 0xf1, 0x9e, 0x38, 0xc1, 0x1e, 0xde, - 0x59, 0xec, 0x04, 0xe6, 0xdc, 0xa8, 0x22, 0x8a, 0xe2, 0x6f, 0xf5, 0x2d, 0x36, 0x3f, 0x28, 0xe1, - 0xad, 0x72, 0x0d, 0x93, 0x9d, 0xf3, 0x1a, 0x37, 0x9e, 0xc3, 0x52, 0x35, 0x5d, 0xce, 0xc9, 0x0a, - 0x9b, 0x2e, 0xc9, 0x4e, 0xe6, 0x70, 0x3b, 0x01, 0xbc, 0x36, 0x64, 0x93, 0x22, 0x2e, 0x3b, 0x55, - 0x39, 0x80, 0x1d, 0x44, 0x9f, 0xec, 0x07, 0xe8, 0xb3, 0x6d, 0x85, 0xb5, 0x99, 0x6b, 0x51, 0xbb, - 0xc3, 0x7c, 0xdb, 0xb4, 0x09, 0x15, 0x1f, 0xf4, 0xa6, 0x7c, 0x64, 0x79, 0x4e, 0x90, 0xfb, 0x47, - 0xc2, 0x4d, 0xb9, 0x3c, 0xaa, 0x08, 0xf4, 0xb5, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x61, 0x0b, - 0x95, 0xdd, 0xbf, 0x11, 0x00, 0x00, + proto.RegisterFile("google/cloud/automl/v1beta1/service.proto", fileDescriptor_service_67dda52b9aca3dee) +} + +var fileDescriptor_service_67dda52b9aca3dee = []byte{ + // 1098 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6f, 0x1b, 0x45, + 0x18, 0xd7, 0xa4, 0x6d, 0x48, 0x3f, 0xc7, 0x0a, 0x19, 0xa2, 0xca, 0x38, 0xad, 0xb0, 0x96, 0x42, + 0x5d, 0x2b, 0xf2, 0x62, 0x17, 0x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, 0xe7, 0xa5, 0x19, 0xd2, 0x84, 0xe8, 0xef, 0x08, 0x70, 0x76, + 0x3a, 0xc2, 0x57, 0x4b, 0xf5, 0x4b, 0x66, 0x9c, 0xaa, 0xcf, 0x35, 0x73, 0x18, 0x6f, 0x89, 0x1b, + 0xec, 0xe2, 0xed, 0xf9, 0x6e, 0x60, 0xce, 0x8c, 0x2a, 0xa2, 0x28, 0xfe, 0x52, 0xdf, 0x62, 0xb3, + 0x83, 0x12, 0xde, 0x2c, 0xd7, 0x30, 0xd9, 0x39, 0xaf, 0x7e, 0xed, 0x29, 0x2c, 0x55, 0xd3, 0xe5, + 0xdc, 0xac, 0xb0, 0xe9, 0x92, 0xec, 0x64, 0x2e, 0xb7, 0xfd, 0x2d, 0x82, 0x97, 0x06, 0x6c, 0x5c, + 0x44, 0x66, 0xbb, 0x22, 0x27, 0xb0, 0xfd, 0xe8, 0x9b, 0x7d, 0x1f, 0x7d, 0xbc, 0xa5, 0xb0, 0x36, + 0x73, 0x2d, 0x6a, 0xb7, 0x99, 0x6f, 0x9b, 0x36, 0xa1, 0xe2, 0x8b, 0xde, 0x94, 0x3f, 0x59, 0x9e, + 0x13, 0xe4, 0xfe, 0x27, 0xe1, 0xba, 0x5c, 0xfe, 0xb1, 0xb0, 0xbe, 0x27, 0x80, 0x87, 0x3b, 0x11, + 0xe8, 0x50, 0x9e, 0x7f, 0xf8, 0xa1, 0x04, 0x1d, 0x2d, 0x8a, 0xb3, 0xae, 0xfc, 0x1b, 0x00, 0x00, + 0xff, 0xff, 0x9e, 0x6b, 0xe8, 0xad, 0xde, 0x11, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go index 5f8cdd7c5..eb39034dd 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go @@ -33,7 +33,7 @@ func (m *TextClassificationDatasetMetadata) Reset() { *m = TextClassific func (m *TextClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) } func (*TextClassificationDatasetMetadata) ProtoMessage() {} func (*TextClassificationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_text_e666aac28de99269, []int{0} + return fileDescriptor_text_6aaf13d2f30170b9, []int{0} } func (m *TextClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextClassificationDatasetMetadata.Unmarshal(m, b) @@ -71,7 +71,7 @@ func (m *TextClassificationModelMetadata) Reset() { *m = TextClassificat func (m *TextClassificationModelMetadata) String() string { return proto.CompactTextString(m) } func (*TextClassificationModelMetadata) ProtoMessage() {} func (*TextClassificationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_text_e666aac28de99269, []int{1} + return fileDescriptor_text_6aaf13d2f30170b9, []int{1} } func (m *TextClassificationModelMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextClassificationModelMetadata.Unmarshal(m, b) @@ -97,24 +97,26 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/text.proto", fileDescriptor_text_e666aac28de99269) + proto.RegisterFile("google/cloud/automl/v1beta1/text.proto", fileDescriptor_text_6aaf13d2f30170b9) } -var fileDescriptor_text_e666aac28de99269 = []byte{ - // 240 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x31, 0x4f, 0x03, 0x31, - 0x0c, 0x85, 0x75, 0x0b, 0x12, 0x19, 0x18, 0x8e, 0x05, 0x15, 0xa4, 0xd2, 0x0e, 0x88, 0x29, 0xa6, - 0x30, 0x32, 0x51, 0x58, 0x2b, 0x55, 0xa8, 0x13, 0x0b, 0xb8, 0x39, 0x13, 0x45, 0x4a, 0xe3, 0xd0, - 0xb8, 0xa8, 0xfd, 0x01, 0xfc, 0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 0xbb, 0x01, 0x00, 0x00, +var fileDescriptor_text_6aaf13d2f30170b9 = []byte{ + // 265 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x31, 0x4b, 0x03, 0x41, + 0x10, 0x85, 0x39, 0x0b, 0xc1, 0x2b, 0x2c, 0xce, 0x46, 0x12, 0x21, 0x26, 0x85, 0x58, 0xed, 0x1a, + 0x2d, 0xad, 0x92, 0x08, 0x56, 0x07, 0x41, 0x82, 0x85, 0x1c, 0xe8, 0xe4, 0x6e, 0x5c, 0x16, 0x36, + 0x3b, 0x4b, 0x76, 0x4e, 0x92, 0x1f, 0x60, 0xed, 0xff, 0xf2, 0x57, 0xc9, 0xed, 0x9e, 0xc5, 0x91, + 0x70, 0xe5, 0xee, 0x7c, 0xef, 0xcd, 0x7b, 0x93, 0xde, 0x28, 0x22, 0x65, 0x50, 0x96, 0x86, 0xea, + 0x4a, 0x42, 0xcd, 0xb4, 0x31, 0xf2, 0x6b, 0xba, 0x46, 0x86, 0xa9, 0x64, 0xdc, 0xb1, 0x70, 0x5b, + 0x62, 0xca, 0x86, 0x91, 0x13, 0x81, 0x13, 0x91, 0x13, 0x2d, 0x37, 0xb8, 0x6a, 0x4d, 0xc0, 0x69, + 0x09, 0xd6, 0x12, 0x03, 0x6b, 0xb2, 0x3e, 0x4a, 0x07, 0x77, 0x7d, 0x2b, 0x4a, 0x03, 0xde, 0xeb, + 0x4f, 0x5d, 0x06, 0x49, 0x54, 0x4c, 0xbe, 0x93, 0x74, 0xbc, 0xc2, 0x1d, 0x2f, 0x3a, 0xc3, 0x27, + 0x60, 0xf0, 0xc8, 0x39, 0x32, 0x54, 0xc0, 0x90, 0x7d, 0xa4, 0x17, 0x5d, 0xf5, 0x3b, 0xef, 0x1d, + 0x5e, 0x26, 0xd7, 0xc9, 0xed, 0xf9, 0xbd, 0x14, 0x3d, 0x81, 0x45, 0xd7, 0x78, 0xb5, 0x77, 0xf8, + 0x92, 0x95, 0x07, 0x7f, 0x93, 0x71, 0x3a, 0x3a, 0x8c, 0x91, 0x53, 0x85, 0xe6, 0x3f, 0xc4, 0xfc, + 0x27, 0x49, 0x47, 0x25, 0x6d, 0xfa, 0xb6, 0xcd, 0xcf, 0x1a, 0x93, 0x65, 0xd3, 0x6c, 0x99, 0xbc, + 0xcd, 0x5a, 0x52, 0x91, 0x01, 0xab, 0x04, 0x6d, 0x95, 0x54, 0x68, 0x43, 0x6f, 0x19, 0x47, 0xe0, + 0xb4, 0x3f, 0x7a, 0xac, 0xc7, 0xf8, 0xfc, 0x3d, 0x19, 0x3e, 0x07, 0xb0, 0x58, 0x34, 0x50, 0x31, + 0xab, 0x99, 0x72, 0x53, 0xbc, 0x46, 0x68, 0x7d, 0x1a, 0xbc, 0x1e, 0xfe, 0x02, 0x00, 0x00, 0xff, + 0xff, 0x24, 0xf6, 0x56, 0x97, 0xda, 0x01, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go index a2e2c09ba..51fb5c7a2 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go @@ -34,7 +34,7 @@ func (m *TranslationDatasetMetadata) Reset() { *m = TranslationDatasetMe func (m *TranslationDatasetMetadata) String() string { return proto.CompactTextString(m) } func (*TranslationDatasetMetadata) ProtoMessage() {} func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_translation_4d2e030b6f376ec7, []int{0} + return fileDescriptor_translation_43aab93b197764ff, []int{0} } func (m *TranslationDatasetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TranslationDatasetMetadata.Unmarshal(m, b) @@ -83,7 +83,7 @@ func (m *TranslationEvaluationMetrics) Reset() { *m = TranslationEvaluat func (m *TranslationEvaluationMetrics) String() string { return proto.CompactTextString(m) } func (*TranslationEvaluationMetrics) ProtoMessage() {} func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_translation_4d2e030b6f376ec7, []int{1} + return fileDescriptor_translation_43aab93b197764ff, []int{1} } func (m *TranslationEvaluationMetrics) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TranslationEvaluationMetrics.Unmarshal(m, b) @@ -139,7 +139,7 @@ func (m *TranslationModelMetadata) Reset() { *m = TranslationModelMetada func (m *TranslationModelMetadata) String() string { return proto.CompactTextString(m) } func (*TranslationModelMetadata) ProtoMessage() {} func (*TranslationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_translation_4d2e030b6f376ec7, []int{2} + return fileDescriptor_translation_43aab93b197764ff, []int{2} } func (m *TranslationModelMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TranslationModelMetadata.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *TranslationAnnotation) Reset() { *m = TranslationAnnotation{} } func (m *TranslationAnnotation) String() string { return proto.CompactTextString(m) } func (*TranslationAnnotation) ProtoMessage() {} func (*TranslationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_translation_4d2e030b6f376ec7, []int{3} + return fileDescriptor_translation_43aab93b197764ff, []int{3} } func (m *TranslationAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TranslationAnnotation.Unmarshal(m, b) @@ -228,33 +228,34 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/translation.proto", fileDescriptor_translation_4d2e030b6f376ec7) + proto.RegisterFile("google/cloud/automl/v1beta1/translation.proto", fileDescriptor_translation_43aab93b197764ff) } -var fileDescriptor_translation_4d2e030b6f376ec7 = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0x6a, 0xdb, 0x40, - 0x10, 0xc6, 0x91, 0x0b, 0x05, 0x6f, 0x29, 0x6d, 0x45, 0x0b, 0xc6, 0x75, 0x69, 0xf1, 0xa1, 0xf8, - 0xd0, 0x4a, 0x75, 0x73, 0xcc, 0xc9, 0x76, 0x72, 0x8b, 0xc1, 0xd8, 0x86, 0x40, 0x2e, 0x62, 0x24, - 0x0d, 0x8b, 0x60, 0xb5, 0x23, 0xb4, 0x23, 0xe3, 0x63, 0x5e, 0x24, 0xef, 0x1a, 0x76, 0x57, 0xb6, - 0x45, 0x88, 0x0d, 0xb9, 0x49, 0x33, 0xbf, 0x6f, 0xfe, 0xed, 0x27, 0xfe, 0x4a, 0x22, 0xa9, 0x30, - 0xce, 0x14, 0x35, 0x79, 0x0c, 0x0d, 0x53, 0xa9, 0xe2, 0xdd, 0x34, 0x45, 0x86, 0x69, 0xcc, 0x35, - 0x68, 0xa3, 0x80, 0x0b, 0xd2, 0x51, 0x55, 0x13, 0x53, 0xf8, 0xdd, 0xe3, 0x91, 0xc3, 0x23, 0x8f, - 0x47, 0x2d, 0x3e, 0x1c, 0xb5, 0xb5, 0xa0, 0x2a, 0x62, 0xd0, 0x9a, 0xd8, 0x29, 0x8d, 0x97, 0x0e, - 0xff, 0x5c, 0xea, 0x94, 0x03, 0x43, 0x52, 0x30, 0x96, 0x2d, 0x3d, 0x7e, 0x0c, 0xc4, 0x70, 0x7b, - 0x6a, 0x7f, 0x03, 0x0c, 0x06, 0x79, 0x89, 0x0c, 0x16, 0x0d, 0xff, 0x89, 0xaf, 0x86, 0x9a, 0x3a, - 0xc3, 0x44, 0x81, 0x96, 0x0d, 0x48, 0x4c, 0x32, 0xca, 0x71, 0x10, 0xfc, 0x0a, 0x26, 0xfd, 0x75, - 0xe8, 0x73, 0x77, 0x6d, 0x6a, 0x41, 0x39, 0x5a, 0x05, 0x43, 0x2d, 0x91, 0x5f, 0x28, 0x7a, 0x5e, - 0xe1, 0x73, 0x5d, 0xc5, 0x18, 0xc5, 0xa8, 0x33, 0xc1, 0xed, 0x0e, 0x54, 0xe3, 0xbe, 0x96, 0xc8, - 0x75, 0x91, 0x99, 0xf0, 0x87, 0x10, 0xa9, 0xc2, 0x26, 0x31, 0x19, 0xd5, 0xbe, 0x73, 0xb0, 0xee, - 0xdb, 0xc8, 0xc6, 0x06, 0xc2, 0xdf, 0xe2, 0x53, 0x0a, 0x06, 0x93, 0x0e, 0xd3, 0x73, 0xcc, 0x47, - 0x1b, 0x9e, 0x1f, 0xb8, 0xf1, 0x53, 0x20, 0x06, 0x9d, 0x3e, 0x4b, 0xca, 0x51, 0x1d, 0xf7, 0xb4, - 0x3d, 0x6c, 0x91, 0xd2, 0x46, 0xdb, 0xed, 0xfa, 0x36, 0xe2, 0xb0, 0xb3, 0x67, 0xe8, 0xbd, 0xf9, - 0x0c, 0xef, 0xce, 0x9e, 0xa1, 0x12, 0xdf, 0x3a, 0xe3, 0xcd, 0x8e, 0xef, 0x1a, 0xde, 0x8b, 0xf0, - 0x60, 0x10, 0xcc, 0x93, 0x8c, 0x34, 0xa3, 0x66, 0x37, 0xe3, 0x87, 0xff, 0x93, 0xe8, 0x82, 0x51, - 0xa2, 0x2d, 0xee, 0x79, 0xa3, 0x8b, 0xaa, 0x42, 0x5e, 0x7f, 0x39, 0xd5, 0x58, 0xf8, 0x12, 0xf3, - 0xbd, 0xf8, 0x99, 0x51, 0x79, 0xa9, 0xc2, 0xfc, 0x73, 0x67, 0xa4, 0x95, 0x35, 0xcc, 0x2a, 0x78, - 0x98, 0xb5, 0x02, 0x49, 0x76, 0xb5, 0x88, 0x6a, 0x19, 0x4b, 0xd4, 0xce, 0x4e, 0xb1, 0x4f, 0x41, - 0x55, 0x98, 0x57, 0xfd, 0x77, 0xed, 0x7f, 0xd3, 0xf7, 0x8e, 0xbe, 0x7a, 0x0e, 0x00, 0x00, 0xff, - 0xff, 0xfb, 0xc7, 0xb3, 0x37, 0x16, 0x03, 0x00, 0x00, +var fileDescriptor_translation_43aab93b197764ff = []byte{ + // 398 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0xcb, 0xd3, 0x40, + 0x10, 0xc6, 0x49, 0x04, 0xa1, 0x2b, 0xa2, 0x06, 0x85, 0x97, 0xbe, 0x15, 0xa5, 0x07, 0xe9, 0x41, + 0x13, 0xab, 0x47, 0x4f, 0x6d, 0x15, 0x2f, 0x06, 0x4a, 0x5b, 0x14, 0xa4, 0x10, 0x26, 0xc9, 0xb0, + 0x04, 0x36, 0x3b, 0x21, 0x3b, 0x29, 0x1e, 0xfd, 0x14, 0xde, 0xfc, 0x42, 0x7e, 0x2a, 0xd9, 0xdd, + 0xb4, 0x0d, 0x62, 0x0b, 0xef, 0x2d, 0x99, 0xf9, 0x3d, 0xcf, 0xfc, 0xd9, 0x11, 0x6f, 0x24, 0x91, + 0x54, 0x98, 0x14, 0x8a, 0xba, 0x32, 0x81, 0x8e, 0xa9, 0x56, 0xc9, 0x61, 0x9e, 0x23, 0xc3, 0x3c, + 0xe1, 0x16, 0xb4, 0x51, 0xc0, 0x15, 0xe9, 0xb8, 0x69, 0x89, 0x29, 0xba, 0xf5, 0x78, 0xec, 0xf0, + 0xd8, 0xe3, 0x71, 0x8f, 0x8f, 0x27, 0xbd, 0x17, 0x34, 0x55, 0x02, 0x5a, 0x13, 0x3b, 0xa5, 0xf1, + 0xd2, 0xf1, 0xeb, 0x6b, 0x95, 0x4a, 0x60, 0xc8, 0x2a, 0xc6, 0xba, 0xa7, 0xa7, 0x3f, 0x03, 0x31, + 0xde, 0x9d, 0xcb, 0x7f, 0x04, 0x06, 0x83, 0x9c, 0x22, 0x83, 0x45, 0xa3, 0xb7, 0xe2, 0xa9, 0xa1, + 0xae, 0x2d, 0x30, 0x53, 0xa0, 0x65, 0x07, 0x12, 0xb3, 0x82, 0x4a, 0xbc, 0x09, 0x5e, 0x06, 0xb3, + 0xd1, 0x26, 0x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xf7, 0x00, 0x3f, 0xf8, 0xdf, 0x3f, 0xe1, 0xed, 0x67, 0x07, + 0xee, 0x57, 0x16, 0xda, 0x2f, 0x3a, 0xa6, 0x54, 0xed, 0xbf, 0x7a, 0x28, 0xbf, 0xef, 0xbc, 0xde, + 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x30, 0x1b, 0xfc, 0x35, 0x03, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go index 385eecf58..cbbded26b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go @@ -73,7 +73,7 @@ func (x DataSourceParameter_Type) String() string { return proto.EnumName(DataSourceParameter_Type_name, int32(x)) } func (DataSourceParameter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{0, 0} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{0, 0} } // The type of authorization needed for this data source. @@ -105,7 +105,7 @@ func (x DataSource_AuthorizationType) String() string { return proto.EnumName(DataSource_AuthorizationType_name, int32(x)) } func (DataSource_AuthorizationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{1, 0} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{1, 0} } // Represents how the data source supports data auto refresh. @@ -139,7 +139,7 @@ func (x DataSource_DataRefreshType) String() string { return proto.EnumName(DataSource_DataRefreshType_name, int32(x)) } func (DataSource_DataRefreshType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{1, 1} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{1, 1} } // Represents which runs should be pulled. @@ -165,7 +165,7 @@ func (x ListTransferRunsRequest_RunAttempt) String() string { return proto.EnumName(ListTransferRunsRequest_RunAttempt_name, int32(x)) } func (ListTransferRunsRequest_RunAttempt) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{13, 0} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{13, 0} } // Represents a data source parameter with validation rules, so that @@ -216,7 +216,7 @@ func (m *DataSourceParameter) Reset() { *m = DataSourceParameter{} } func (m *DataSourceParameter) String() string { return proto.CompactTextString(m) } func (*DataSourceParameter) ProtoMessage() {} func (*DataSourceParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{0} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{0} } func (m *DataSourceParameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DataSourceParameter.Unmarshal(m, b) @@ -406,7 +406,7 @@ func (m *DataSource) Reset() { *m = DataSource{} } func (m *DataSource) String() string { return proto.CompactTextString(m) } func (*DataSource) ProtoMessage() {} func (*DataSource) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{1} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{1} } func (m *DataSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DataSource.Unmarshal(m, b) @@ -566,7 +566,7 @@ func (m *GetDataSourceRequest) Reset() { *m = GetDataSourceRequest{} } func (m *GetDataSourceRequest) String() string { return proto.CompactTextString(m) } func (*GetDataSourceRequest) ProtoMessage() {} func (*GetDataSourceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{2} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{2} } func (m *GetDataSourceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDataSourceRequest.Unmarshal(m, b) @@ -615,7 +615,7 @@ func (m *ListDataSourcesRequest) Reset() { *m = ListDataSourcesRequest{} func (m *ListDataSourcesRequest) String() string { return proto.CompactTextString(m) } func (*ListDataSourcesRequest) ProtoMessage() {} func (*ListDataSourcesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{3} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{3} } func (m *ListDataSourcesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDataSourcesRequest.Unmarshal(m, b) @@ -674,7 +674,7 @@ func (m *ListDataSourcesResponse) Reset() { *m = ListDataSourcesResponse func (m *ListDataSourcesResponse) String() string { return proto.CompactTextString(m) } func (*ListDataSourcesResponse) ProtoMessage() {} func (*ListDataSourcesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{4} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{4} } func (m *ListDataSourcesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDataSourcesResponse.Unmarshal(m, b) @@ -748,7 +748,7 @@ func (m *CreateTransferConfigRequest) Reset() { *m = CreateTransferConfi func (m *CreateTransferConfigRequest) String() string { return proto.CompactTextString(m) } func (*CreateTransferConfigRequest) ProtoMessage() {} func (*CreateTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{5} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{5} } func (m *CreateTransferConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTransferConfigRequest.Unmarshal(m, b) @@ -822,7 +822,7 @@ func (m *UpdateTransferConfigRequest) Reset() { *m = UpdateTransferConfi func (m *UpdateTransferConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateTransferConfigRequest) ProtoMessage() {} func (*UpdateTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{6} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{6} } func (m *UpdateTransferConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateTransferConfigRequest.Unmarshal(m, b) @@ -877,7 +877,7 @@ func (m *GetTransferConfigRequest) Reset() { *m = GetTransferConfigReque func (m *GetTransferConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetTransferConfigRequest) ProtoMessage() {} func (*GetTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{7} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{7} } func (m *GetTransferConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTransferConfigRequest.Unmarshal(m, b) @@ -919,7 +919,7 @@ func (m *DeleteTransferConfigRequest) Reset() { *m = DeleteTransferConfi func (m *DeleteTransferConfigRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTransferConfigRequest) ProtoMessage() {} func (*DeleteTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{8} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{8} } func (m *DeleteTransferConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTransferConfigRequest.Unmarshal(m, b) @@ -960,7 +960,7 @@ func (m *GetTransferRunRequest) Reset() { *m = GetTransferRunRequest{} } func (m *GetTransferRunRequest) String() string { return proto.CompactTextString(m) } func (*GetTransferRunRequest) ProtoMessage() {} func (*GetTransferRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{9} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{9} } func (m *GetTransferRunRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTransferRunRequest.Unmarshal(m, b) @@ -1001,7 +1001,7 @@ func (m *DeleteTransferRunRequest) Reset() { *m = DeleteTransferRunReque func (m *DeleteTransferRunRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTransferRunRequest) ProtoMessage() {} func (*DeleteTransferRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{10} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{10} } func (m *DeleteTransferRunRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTransferRunRequest.Unmarshal(m, b) @@ -1052,7 +1052,7 @@ func (m *ListTransferConfigsRequest) Reset() { *m = ListTransferConfigsR func (m *ListTransferConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListTransferConfigsRequest) ProtoMessage() {} func (*ListTransferConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{11} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{11} } func (m *ListTransferConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferConfigsRequest.Unmarshal(m, b) @@ -1118,7 +1118,7 @@ func (m *ListTransferConfigsResponse) Reset() { *m = ListTransferConfigs func (m *ListTransferConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListTransferConfigsResponse) ProtoMessage() {} func (*ListTransferConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{12} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{12} } func (m *ListTransferConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferConfigsResponse.Unmarshal(m, b) @@ -1181,7 +1181,7 @@ func (m *ListTransferRunsRequest) Reset() { *m = ListTransferRunsRequest func (m *ListTransferRunsRequest) String() string { return proto.CompactTextString(m) } func (*ListTransferRunsRequest) ProtoMessage() {} func (*ListTransferRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{13} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{13} } func (m *ListTransferRunsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferRunsRequest.Unmarshal(m, b) @@ -1254,7 +1254,7 @@ func (m *ListTransferRunsResponse) Reset() { *m = ListTransferRunsRespon func (m *ListTransferRunsResponse) String() string { return proto.CompactTextString(m) } func (*ListTransferRunsResponse) ProtoMessage() {} func (*ListTransferRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{14} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{14} } func (m *ListTransferRunsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferRunsResponse.Unmarshal(m, b) @@ -1313,7 +1313,7 @@ func (m *ListTransferLogsRequest) Reset() { *m = ListTransferLogsRequest func (m *ListTransferLogsRequest) String() string { return proto.CompactTextString(m) } func (*ListTransferLogsRequest) ProtoMessage() {} func (*ListTransferLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{15} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{15} } func (m *ListTransferLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferLogsRequest.Unmarshal(m, b) @@ -1379,7 +1379,7 @@ func (m *ListTransferLogsResponse) Reset() { *m = ListTransferLogsRespon func (m *ListTransferLogsResponse) String() string { return proto.CompactTextString(m) } func (*ListTransferLogsResponse) ProtoMessage() {} func (*ListTransferLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{16} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{16} } func (m *ListTransferLogsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferLogsResponse.Unmarshal(m, b) @@ -1432,7 +1432,7 @@ func (m *CheckValidCredsRequest) Reset() { *m = CheckValidCredsRequest{} func (m *CheckValidCredsRequest) String() string { return proto.CompactTextString(m) } func (*CheckValidCredsRequest) ProtoMessage() {} func (*CheckValidCredsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{17} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{17} } func (m *CheckValidCredsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckValidCredsRequest.Unmarshal(m, b) @@ -1472,7 +1472,7 @@ func (m *CheckValidCredsResponse) Reset() { *m = CheckValidCredsResponse func (m *CheckValidCredsResponse) String() string { return proto.CompactTextString(m) } func (*CheckValidCredsResponse) ProtoMessage() {} func (*CheckValidCredsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{18} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{18} } func (m *CheckValidCredsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CheckValidCredsResponse.Unmarshal(m, b) @@ -1519,7 +1519,7 @@ func (m *ScheduleTransferRunsRequest) Reset() { *m = ScheduleTransferRun func (m *ScheduleTransferRunsRequest) String() string { return proto.CompactTextString(m) } func (*ScheduleTransferRunsRequest) ProtoMessage() {} func (*ScheduleTransferRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{19} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{19} } func (m *ScheduleTransferRunsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScheduleTransferRunsRequest.Unmarshal(m, b) @@ -1573,7 +1573,7 @@ func (m *ScheduleTransferRunsResponse) Reset() { *m = ScheduleTransferRu func (m *ScheduleTransferRunsResponse) String() string { return proto.CompactTextString(m) } func (*ScheduleTransferRunsResponse) ProtoMessage() {} func (*ScheduleTransferRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datatransfer_2b9dfc421b2fee11, []int{20} + return fileDescriptor_datatransfer_a28d1a06a3af9867, []int{20} } func (m *ScheduleTransferRunsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScheduleTransferRunsResponse.Unmarshal(m, b) @@ -2147,10 +2147,10 @@ var _DataTransferService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/datatransfer.proto", fileDescriptor_datatransfer_2b9dfc421b2fee11) + proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/datatransfer.proto", fileDescriptor_datatransfer_a28d1a06a3af9867) } -var fileDescriptor_datatransfer_2b9dfc421b2fee11 = []byte{ +var fileDescriptor_datatransfer_a28d1a06a3af9867 = []byte{ // 2343 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcf, 0x6f, 0xdb, 0xc8, 0xf5, 0xff, 0x52, 0xfe, 0xfd, 0x64, 0x5b, 0xf2, 0xc4, 0x71, 0x18, 0x39, 0xbb, 0x5f, 0x2f, 0xdb, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go index ee6d57341..062676ee8 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go @@ -50,7 +50,7 @@ func (x TransferType) String() string { return proto.EnumName(TransferType_name, int32(x)) } func (TransferType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_transfer_22395dbcdda33f27, []int{0} + return fileDescriptor_transfer_b655bdd8f06d7255, []int{0} } // Represents data transfer run state. @@ -93,7 +93,7 @@ func (x TransferState) String() string { return proto.EnumName(TransferState_name, int32(x)) } func (TransferState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_transfer_22395dbcdda33f27, []int{1} + return fileDescriptor_transfer_b655bdd8f06d7255, []int{1} } // Represents data transfer user facing message severity. @@ -118,16 +118,16 @@ var TransferMessage_MessageSeverity_name = map[int32]string{ } var TransferMessage_MessageSeverity_value = map[string]int32{ "MESSAGE_SEVERITY_UNSPECIFIED": 0, - "INFO": 1, - "WARNING": 2, - "ERROR": 3, + "INFO": 1, + "WARNING": 2, + "ERROR": 3, } func (x TransferMessage_MessageSeverity) String() string { return proto.EnumName(TransferMessage_MessageSeverity_name, int32(x)) } func (TransferMessage_MessageSeverity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_transfer_22395dbcdda33f27, []int{2, 0} + return fileDescriptor_transfer_b655bdd8f06d7255, []int{2, 0} } // Represents a data transfer configuration. A transfer configuration @@ -198,7 +198,7 @@ func (m *TransferConfig) Reset() { *m = TransferConfig{} } func (m *TransferConfig) String() string { return proto.CompactTextString(m) } func (*TransferConfig) ProtoMessage() {} func (*TransferConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_22395dbcdda33f27, []int{0} + return fileDescriptor_transfer_b655bdd8f06d7255, []int{0} } func (m *TransferConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferConfig.Unmarshal(m, b) @@ -360,7 +360,7 @@ func (m *TransferRun) Reset() { *m = TransferRun{} } func (m *TransferRun) String() string { return proto.CompactTextString(m) } func (*TransferRun) ProtoMessage() {} func (*TransferRun) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_22395dbcdda33f27, []int{1} + return fileDescriptor_transfer_b655bdd8f06d7255, []int{1} } func (m *TransferRun) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferRun.Unmarshal(m, b) @@ -488,7 +488,7 @@ func (m *TransferMessage) Reset() { *m = TransferMessage{} } func (m *TransferMessage) String() string { return proto.CompactTextString(m) } func (*TransferMessage) ProtoMessage() {} func (*TransferMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_22395dbcdda33f27, []int{2} + return fileDescriptor_transfer_b655bdd8f06d7255, []int{2} } func (m *TransferMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferMessage.Unmarshal(m, b) @@ -539,10 +539,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/transfer.proto", fileDescriptor_transfer_22395dbcdda33f27) + proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/transfer.proto", fileDescriptor_transfer_b655bdd8f06d7255) } -var fileDescriptor_transfer_22395dbcdda33f27 = []byte{ +var fileDescriptor_transfer_b655bdd8f06d7255 = []byte{ // 922 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x6e, 0xe3, 0x44, 0x14, 0xc6, 0xf9, 0xcf, 0x71, 0x92, 0x8d, 0x46, 0x2c, 0x35, 0xd5, 0x02, 0xa1, 0xa2, 0x52, 0xd8, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go index 39320dbc7..d87ae070d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go @@ -63,7 +63,7 @@ func (m *AuditData) Reset() { *m = AuditData{} } func (m *AuditData) String() string { return proto.CompactTextString(m) } func (*AuditData) ProtoMessage() {} func (*AuditData) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{0} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{0} } func (m *AuditData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuditData.Unmarshal(m, b) @@ -86,79 +86,60 @@ var xxx_messageInfo_AuditData proto.InternalMessageInfo type isAuditData_Request interface { isAuditData_Request() } -type isAuditData_Response interface { - isAuditData_Response() -} type AuditData_TableInsertRequest struct { TableInsertRequest *TableInsertRequest `protobuf:"bytes,1,opt,name=table_insert_request,json=tableInsertRequest,proto3,oneof"` } + type AuditData_TableUpdateRequest struct { TableUpdateRequest *TableUpdateRequest `protobuf:"bytes,16,opt,name=table_update_request,json=tableUpdateRequest,proto3,oneof"` } + type AuditData_DatasetListRequest struct { DatasetListRequest *DatasetListRequest `protobuf:"bytes,2,opt,name=dataset_list_request,json=datasetListRequest,proto3,oneof"` } + type AuditData_DatasetInsertRequest struct { DatasetInsertRequest *DatasetInsertRequest `protobuf:"bytes,3,opt,name=dataset_insert_request,json=datasetInsertRequest,proto3,oneof"` } + type AuditData_DatasetUpdateRequest struct { DatasetUpdateRequest *DatasetUpdateRequest `protobuf:"bytes,4,opt,name=dataset_update_request,json=datasetUpdateRequest,proto3,oneof"` } + type AuditData_JobInsertRequest struct { JobInsertRequest *JobInsertRequest `protobuf:"bytes,5,opt,name=job_insert_request,json=jobInsertRequest,proto3,oneof"` } + type AuditData_JobQueryRequest struct { JobQueryRequest *JobQueryRequest `protobuf:"bytes,6,opt,name=job_query_request,json=jobQueryRequest,proto3,oneof"` } + type AuditData_JobGetQueryResultsRequest struct { JobGetQueryResultsRequest *JobGetQueryResultsRequest `protobuf:"bytes,7,opt,name=job_get_query_results_request,json=jobGetQueryResultsRequest,proto3,oneof"` } + type AuditData_TableDataListRequest struct { TableDataListRequest *TableDataListRequest `protobuf:"bytes,8,opt,name=table_data_list_request,json=tableDataListRequest,proto3,oneof"` } -type AuditData_TableInsertResponse struct { - TableInsertResponse *TableInsertResponse `protobuf:"bytes,9,opt,name=table_insert_response,json=tableInsertResponse,proto3,oneof"` -} -type AuditData_TableUpdateResponse struct { - TableUpdateResponse *TableUpdateResponse `protobuf:"bytes,10,opt,name=table_update_response,json=tableUpdateResponse,proto3,oneof"` -} -type AuditData_DatasetInsertResponse struct { - DatasetInsertResponse *DatasetInsertResponse `protobuf:"bytes,11,opt,name=dataset_insert_response,json=datasetInsertResponse,proto3,oneof"` -} -type AuditData_DatasetUpdateResponse struct { - DatasetUpdateResponse *DatasetUpdateResponse `protobuf:"bytes,12,opt,name=dataset_update_response,json=datasetUpdateResponse,proto3,oneof"` -} -type AuditData_JobInsertResponse struct { - JobInsertResponse *JobInsertResponse `protobuf:"bytes,18,opt,name=job_insert_response,json=jobInsertResponse,proto3,oneof"` -} -type AuditData_JobQueryResponse struct { - JobQueryResponse *JobQueryResponse `protobuf:"bytes,13,opt,name=job_query_response,json=jobQueryResponse,proto3,oneof"` -} -type AuditData_JobGetQueryResultsResponse struct { - JobGetQueryResultsResponse *JobGetQueryResultsResponse `protobuf:"bytes,14,opt,name=job_get_query_results_response,json=jobGetQueryResultsResponse,proto3,oneof"` -} -type AuditData_JobQueryDoneResponse struct { - JobQueryDoneResponse *JobQueryDoneResponse `protobuf:"bytes,15,opt,name=job_query_done_response,json=jobQueryDoneResponse,proto3,oneof"` -} -func (*AuditData_TableInsertRequest) isAuditData_Request() {} -func (*AuditData_TableUpdateRequest) isAuditData_Request() {} -func (*AuditData_DatasetListRequest) isAuditData_Request() {} -func (*AuditData_DatasetInsertRequest) isAuditData_Request() {} -func (*AuditData_DatasetUpdateRequest) isAuditData_Request() {} -func (*AuditData_JobInsertRequest) isAuditData_Request() {} -func (*AuditData_JobQueryRequest) isAuditData_Request() {} -func (*AuditData_JobGetQueryResultsRequest) isAuditData_Request() {} -func (*AuditData_TableDataListRequest) isAuditData_Request() {} -func (*AuditData_TableInsertResponse) isAuditData_Response() {} -func (*AuditData_TableUpdateResponse) isAuditData_Response() {} -func (*AuditData_DatasetInsertResponse) isAuditData_Response() {} -func (*AuditData_DatasetUpdateResponse) isAuditData_Response() {} -func (*AuditData_JobInsertResponse) isAuditData_Response() {} -func (*AuditData_JobQueryResponse) isAuditData_Response() {} -func (*AuditData_JobGetQueryResultsResponse) isAuditData_Response() {} -func (*AuditData_JobQueryDoneResponse) isAuditData_Response() {} +func (*AuditData_TableInsertRequest) isAuditData_Request() {} + +func (*AuditData_TableUpdateRequest) isAuditData_Request() {} + +func (*AuditData_DatasetListRequest) isAuditData_Request() {} + +func (*AuditData_DatasetInsertRequest) isAuditData_Request() {} + +func (*AuditData_DatasetUpdateRequest) isAuditData_Request() {} + +func (*AuditData_JobInsertRequest) isAuditData_Request() {} + +func (*AuditData_JobQueryRequest) isAuditData_Request() {} + +func (*AuditData_JobGetQueryResultsRequest) isAuditData_Request() {} + +func (*AuditData_TableDataListRequest) isAuditData_Request() {} func (m *AuditData) GetRequest() isAuditData_Request { if m != nil { @@ -166,12 +147,6 @@ func (m *AuditData) GetRequest() isAuditData_Request { } return nil } -func (m *AuditData) GetResponse() isAuditData_Response { - if m != nil { - return m.Response - } - return nil -} func (m *AuditData) GetTableInsertRequest() *TableInsertRequest { if x, ok := m.GetRequest().(*AuditData_TableInsertRequest); ok { @@ -236,6 +211,65 @@ func (m *AuditData) GetTableDataListRequest() *TableDataListRequest { return nil } +type isAuditData_Response interface { + isAuditData_Response() +} + +type AuditData_TableInsertResponse struct { + TableInsertResponse *TableInsertResponse `protobuf:"bytes,9,opt,name=table_insert_response,json=tableInsertResponse,proto3,oneof"` +} + +type AuditData_TableUpdateResponse struct { + TableUpdateResponse *TableUpdateResponse `protobuf:"bytes,10,opt,name=table_update_response,json=tableUpdateResponse,proto3,oneof"` +} + +type AuditData_DatasetInsertResponse struct { + DatasetInsertResponse *DatasetInsertResponse `protobuf:"bytes,11,opt,name=dataset_insert_response,json=datasetInsertResponse,proto3,oneof"` +} + +type AuditData_DatasetUpdateResponse struct { + DatasetUpdateResponse *DatasetUpdateResponse `protobuf:"bytes,12,opt,name=dataset_update_response,json=datasetUpdateResponse,proto3,oneof"` +} + +type AuditData_JobInsertResponse struct { + JobInsertResponse *JobInsertResponse `protobuf:"bytes,18,opt,name=job_insert_response,json=jobInsertResponse,proto3,oneof"` +} + +type AuditData_JobQueryResponse struct { + JobQueryResponse *JobQueryResponse `protobuf:"bytes,13,opt,name=job_query_response,json=jobQueryResponse,proto3,oneof"` +} + +type AuditData_JobGetQueryResultsResponse struct { + JobGetQueryResultsResponse *JobGetQueryResultsResponse `protobuf:"bytes,14,opt,name=job_get_query_results_response,json=jobGetQueryResultsResponse,proto3,oneof"` +} + +type AuditData_JobQueryDoneResponse struct { + JobQueryDoneResponse *JobQueryDoneResponse `protobuf:"bytes,15,opt,name=job_query_done_response,json=jobQueryDoneResponse,proto3,oneof"` +} + +func (*AuditData_TableInsertResponse) isAuditData_Response() {} + +func (*AuditData_TableUpdateResponse) isAuditData_Response() {} + +func (*AuditData_DatasetInsertResponse) isAuditData_Response() {} + +func (*AuditData_DatasetUpdateResponse) isAuditData_Response() {} + +func (*AuditData_JobInsertResponse) isAuditData_Response() {} + +func (*AuditData_JobQueryResponse) isAuditData_Response() {} + +func (*AuditData_JobGetQueryResultsResponse) isAuditData_Response() {} + +func (*AuditData_JobQueryDoneResponse) isAuditData_Response() {} + +func (m *AuditData) GetResponse() isAuditData_Response { + if m != nil { + return m.Response + } + return nil +} + func (m *AuditData) GetTableInsertResponse() *TableInsertResponse { if x, ok := m.GetResponse().(*AuditData_TableInsertResponse); ok { return x.TableInsertResponse @@ -683,7 +717,7 @@ func (m *TableInsertRequest) Reset() { *m = TableInsertRequest{} } func (m *TableInsertRequest) String() string { return proto.CompactTextString(m) } func (*TableInsertRequest) ProtoMessage() {} func (*TableInsertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{1} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{1} } func (m *TableInsertRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableInsertRequest.Unmarshal(m, b) @@ -723,7 +757,7 @@ func (m *TableUpdateRequest) Reset() { *m = TableUpdateRequest{} } func (m *TableUpdateRequest) String() string { return proto.CompactTextString(m) } func (*TableUpdateRequest) ProtoMessage() {} func (*TableUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{2} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{2} } func (m *TableUpdateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableUpdateRequest.Unmarshal(m, b) @@ -763,7 +797,7 @@ func (m *TableInsertResponse) Reset() { *m = TableInsertResponse{} } func (m *TableInsertResponse) String() string { return proto.CompactTextString(m) } func (*TableInsertResponse) ProtoMessage() {} func (*TableInsertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{3} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{3} } func (m *TableInsertResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableInsertResponse.Unmarshal(m, b) @@ -803,7 +837,7 @@ func (m *TableUpdateResponse) Reset() { *m = TableUpdateResponse{} } func (m *TableUpdateResponse) String() string { return proto.CompactTextString(m) } func (*TableUpdateResponse) ProtoMessage() {} func (*TableUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{4} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{4} } func (m *TableUpdateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableUpdateResponse.Unmarshal(m, b) @@ -843,7 +877,7 @@ func (m *DatasetListRequest) Reset() { *m = DatasetListRequest{} } func (m *DatasetListRequest) String() string { return proto.CompactTextString(m) } func (*DatasetListRequest) ProtoMessage() {} func (*DatasetListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{5} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{5} } func (m *DatasetListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetListRequest.Unmarshal(m, b) @@ -883,7 +917,7 @@ func (m *DatasetInsertRequest) Reset() { *m = DatasetInsertRequest{} } func (m *DatasetInsertRequest) String() string { return proto.CompactTextString(m) } func (*DatasetInsertRequest) ProtoMessage() {} func (*DatasetInsertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{6} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{6} } func (m *DatasetInsertRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetInsertRequest.Unmarshal(m, b) @@ -923,7 +957,7 @@ func (m *DatasetInsertResponse) Reset() { *m = DatasetInsertResponse{} } func (m *DatasetInsertResponse) String() string { return proto.CompactTextString(m) } func (*DatasetInsertResponse) ProtoMessage() {} func (*DatasetInsertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{7} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{7} } func (m *DatasetInsertResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetInsertResponse.Unmarshal(m, b) @@ -963,7 +997,7 @@ func (m *DatasetUpdateRequest) Reset() { *m = DatasetUpdateRequest{} } func (m *DatasetUpdateRequest) String() string { return proto.CompactTextString(m) } func (*DatasetUpdateRequest) ProtoMessage() {} func (*DatasetUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{8} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{8} } func (m *DatasetUpdateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetUpdateRequest.Unmarshal(m, b) @@ -1003,7 +1037,7 @@ func (m *DatasetUpdateResponse) Reset() { *m = DatasetUpdateResponse{} } func (m *DatasetUpdateResponse) String() string { return proto.CompactTextString(m) } func (*DatasetUpdateResponse) ProtoMessage() {} func (*DatasetUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{9} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{9} } func (m *DatasetUpdateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetUpdateResponse.Unmarshal(m, b) @@ -1043,7 +1077,7 @@ func (m *JobInsertRequest) Reset() { *m = JobInsertRequest{} } func (m *JobInsertRequest) String() string { return proto.CompactTextString(m) } func (*JobInsertRequest) ProtoMessage() {} func (*JobInsertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{10} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{10} } func (m *JobInsertRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobInsertRequest.Unmarshal(m, b) @@ -1083,7 +1117,7 @@ func (m *JobInsertResponse) Reset() { *m = JobInsertResponse{} } func (m *JobInsertResponse) String() string { return proto.CompactTextString(m) } func (*JobInsertResponse) ProtoMessage() {} func (*JobInsertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{11} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{11} } func (m *JobInsertResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobInsertResponse.Unmarshal(m, b) @@ -1131,7 +1165,7 @@ func (m *JobQueryRequest) Reset() { *m = JobQueryRequest{} } func (m *JobQueryRequest) String() string { return proto.CompactTextString(m) } func (*JobQueryRequest) ProtoMessage() {} func (*JobQueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{12} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{12} } func (m *JobQueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobQueryRequest.Unmarshal(m, b) @@ -1201,7 +1235,7 @@ func (m *JobQueryResponse) Reset() { *m = JobQueryResponse{} } func (m *JobQueryResponse) String() string { return proto.CompactTextString(m) } func (*JobQueryResponse) ProtoMessage() {} func (*JobQueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{13} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{13} } func (m *JobQueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobQueryResponse.Unmarshal(m, b) @@ -1250,7 +1284,7 @@ func (m *JobGetQueryResultsRequest) Reset() { *m = JobGetQueryResultsReq func (m *JobGetQueryResultsRequest) String() string { return proto.CompactTextString(m) } func (*JobGetQueryResultsRequest) ProtoMessage() {} func (*JobGetQueryResultsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{14} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{14} } func (m *JobGetQueryResultsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobGetQueryResultsRequest.Unmarshal(m, b) @@ -1301,7 +1335,7 @@ func (m *JobGetQueryResultsResponse) Reset() { *m = JobGetQueryResultsRe func (m *JobGetQueryResultsResponse) String() string { return proto.CompactTextString(m) } func (*JobGetQueryResultsResponse) ProtoMessage() {} func (*JobGetQueryResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{15} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{15} } func (m *JobGetQueryResultsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobGetQueryResultsResponse.Unmarshal(m, b) @@ -1349,7 +1383,7 @@ func (m *JobQueryDoneResponse) Reset() { *m = JobQueryDoneResponse{} } func (m *JobQueryDoneResponse) String() string { return proto.CompactTextString(m) } func (*JobQueryDoneResponse) ProtoMessage() {} func (*JobQueryDoneResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{16} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{16} } func (m *JobQueryDoneResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobQueryDoneResponse.Unmarshal(m, b) @@ -1391,7 +1425,7 @@ func (m *JobCompletedEvent) Reset() { *m = JobCompletedEvent{} } func (m *JobCompletedEvent) String() string { return proto.CompactTextString(m) } func (*JobCompletedEvent) ProtoMessage() {} func (*JobCompletedEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{17} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{17} } func (m *JobCompletedEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobCompletedEvent.Unmarshal(m, b) @@ -1440,7 +1474,7 @@ func (m *TableDataListRequest) Reset() { *m = TableDataListRequest{} } func (m *TableDataListRequest) String() string { return proto.CompactTextString(m) } func (*TableDataListRequest) ProtoMessage() {} func (*TableDataListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{18} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{18} } func (m *TableDataListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableDataListRequest.Unmarshal(m, b) @@ -1507,7 +1541,7 @@ func (m *Table) Reset() { *m = Table{} } func (m *Table) String() string { return proto.CompactTextString(m) } func (*Table) ProtoMessage() {} func (*Table) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{19} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{19} } func (m *Table) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Table.Unmarshal(m, b) @@ -1592,7 +1626,7 @@ func (m *TableInfo) Reset() { *m = TableInfo{} } func (m *TableInfo) String() string { return proto.CompactTextString(m) } func (*TableInfo) ProtoMessage() {} func (*TableInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{20} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{20} } func (m *TableInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableInfo.Unmarshal(m, b) @@ -1639,7 +1673,7 @@ func (m *TableViewDefinition) Reset() { *m = TableViewDefinition{} } func (m *TableViewDefinition) String() string { return proto.CompactTextString(m) } func (*TableViewDefinition) ProtoMessage() {} func (*TableViewDefinition) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{21} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{21} } func (m *TableViewDefinition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableViewDefinition.Unmarshal(m, b) @@ -1694,7 +1728,7 @@ func (m *Dataset) Reset() { *m = Dataset{} } func (m *Dataset) String() string { return proto.CompactTextString(m) } func (*Dataset) ProtoMessage() {} func (*Dataset) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{22} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{22} } func (m *Dataset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Dataset.Unmarshal(m, b) @@ -1772,7 +1806,7 @@ func (m *DatasetInfo) Reset() { *m = DatasetInfo{} } func (m *DatasetInfo) String() string { return proto.CompactTextString(m) } func (*DatasetInfo) ProtoMessage() {} func (*DatasetInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{23} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{23} } func (m *DatasetInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetInfo.Unmarshal(m, b) @@ -1819,7 +1853,7 @@ func (m *BigQueryAcl) Reset() { *m = BigQueryAcl{} } func (m *BigQueryAcl) String() string { return proto.CompactTextString(m) } func (*BigQueryAcl) ProtoMessage() {} func (*BigQueryAcl) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{24} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{24} } func (m *BigQueryAcl) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BigQueryAcl.Unmarshal(m, b) @@ -1870,7 +1904,7 @@ func (m *BigQueryAcl_Entry) Reset() { *m = BigQueryAcl_Entry{} } func (m *BigQueryAcl_Entry) String() string { return proto.CompactTextString(m) } func (*BigQueryAcl_Entry) ProtoMessage() {} func (*BigQueryAcl_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{24, 0} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{24, 0} } func (m *BigQueryAcl_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BigQueryAcl_Entry.Unmarshal(m, b) @@ -1951,7 +1985,7 @@ func (m *Job) Reset() { *m = Job{} } func (m *Job) String() string { return proto.CompactTextString(m) } func (*Job) ProtoMessage() {} func (*Job) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{25} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{25} } func (m *Job) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Job.Unmarshal(m, b) @@ -2022,7 +2056,7 @@ func (m *JobConfiguration) Reset() { *m = JobConfiguration{} } func (m *JobConfiguration) String() string { return proto.CompactTextString(m) } func (*JobConfiguration) ProtoMessage() {} func (*JobConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{26} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{26} } func (m *JobConfiguration) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobConfiguration.Unmarshal(m, b) @@ -2049,19 +2083,25 @@ type isJobConfiguration_Configuration interface { type JobConfiguration_Query_ struct { Query *JobConfiguration_Query `protobuf:"bytes,5,opt,name=query,proto3,oneof"` } + type JobConfiguration_Load_ struct { Load *JobConfiguration_Load `protobuf:"bytes,6,opt,name=load,proto3,oneof"` } + type JobConfiguration_Extract_ struct { Extract *JobConfiguration_Extract `protobuf:"bytes,7,opt,name=extract,proto3,oneof"` } + type JobConfiguration_TableCopy_ struct { TableCopy *JobConfiguration_TableCopy `protobuf:"bytes,8,opt,name=table_copy,json=tableCopy,proto3,oneof"` } -func (*JobConfiguration_Query_) isJobConfiguration_Configuration() {} -func (*JobConfiguration_Load_) isJobConfiguration_Configuration() {} -func (*JobConfiguration_Extract_) isJobConfiguration_Configuration() {} +func (*JobConfiguration_Query_) isJobConfiguration_Configuration() {} + +func (*JobConfiguration_Load_) isJobConfiguration_Configuration() {} + +func (*JobConfiguration_Extract_) isJobConfiguration_Configuration() {} + func (*JobConfiguration_TableCopy_) isJobConfiguration_Configuration() {} func (m *JobConfiguration) GetConfiguration() isJobConfiguration_Configuration { @@ -2244,7 +2284,7 @@ func (m *JobConfiguration_Query) Reset() { *m = JobConfiguration_Query{} func (m *JobConfiguration_Query) String() string { return proto.CompactTextString(m) } func (*JobConfiguration_Query) ProtoMessage() {} func (*JobConfiguration_Query) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{26, 0} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{26, 0} } func (m *JobConfiguration_Query) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobConfiguration_Query.Unmarshal(m, b) @@ -2331,7 +2371,7 @@ func (m *JobConfiguration_Load) Reset() { *m = JobConfiguration_Load{} } func (m *JobConfiguration_Load) String() string { return proto.CompactTextString(m) } func (*JobConfiguration_Load) ProtoMessage() {} func (*JobConfiguration_Load) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{26, 1} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{26, 1} } func (m *JobConfiguration_Load) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobConfiguration_Load.Unmarshal(m, b) @@ -2402,7 +2442,7 @@ func (m *JobConfiguration_Extract) Reset() { *m = JobConfiguration_Extra func (m *JobConfiguration_Extract) String() string { return proto.CompactTextString(m) } func (*JobConfiguration_Extract) ProtoMessage() {} func (*JobConfiguration_Extract) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{26, 2} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{26, 2} } func (m *JobConfiguration_Extract) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobConfiguration_Extract.Unmarshal(m, b) @@ -2457,7 +2497,7 @@ func (m *JobConfiguration_TableCopy) Reset() { *m = JobConfiguration_Tab func (m *JobConfiguration_TableCopy) String() string { return proto.CompactTextString(m) } func (*JobConfiguration_TableCopy) ProtoMessage() {} func (*JobConfiguration_TableCopy) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{26, 3} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{26, 3} } func (m *JobConfiguration_TableCopy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobConfiguration_TableCopy.Unmarshal(m, b) @@ -2520,7 +2560,7 @@ func (m *TableDefinition) Reset() { *m = TableDefinition{} } func (m *TableDefinition) String() string { return proto.CompactTextString(m) } func (*TableDefinition) ProtoMessage() {} func (*TableDefinition) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{27} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{27} } func (m *TableDefinition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableDefinition.Unmarshal(m, b) @@ -2569,7 +2609,7 @@ func (m *JobStatus) Reset() { *m = JobStatus{} } func (m *JobStatus) String() string { return proto.CompactTextString(m) } func (*JobStatus) ProtoMessage() {} func (*JobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{28} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{28} } func (m *JobStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobStatus.Unmarshal(m, b) @@ -2626,7 +2666,7 @@ func (m *JobStatistics) Reset() { *m = JobStatistics{} } func (m *JobStatistics) String() string { return proto.CompactTextString(m) } func (*JobStatistics) ProtoMessage() {} func (*JobStatistics) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{29} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{29} } func (m *JobStatistics) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobStatistics.Unmarshal(m, b) @@ -2703,7 +2743,7 @@ func (m *DatasetName) Reset() { *m = DatasetName{} } func (m *DatasetName) String() string { return proto.CompactTextString(m) } func (*DatasetName) ProtoMessage() {} func (*DatasetName) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{30} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{30} } func (m *DatasetName) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatasetName.Unmarshal(m, b) @@ -2754,7 +2794,7 @@ func (m *TableName) Reset() { *m = TableName{} } func (m *TableName) String() string { return proto.CompactTextString(m) } func (*TableName) ProtoMessage() {} func (*TableName) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{31} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{31} } func (m *TableName) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableName.Unmarshal(m, b) @@ -2810,7 +2850,7 @@ func (m *JobName) Reset() { *m = JobName{} } func (m *JobName) String() string { return proto.CompactTextString(m) } func (*JobName) ProtoMessage() {} func (*JobName) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_b90959119ce397a8, []int{32} + return fileDescriptor_audit_data_c8c983cfffeff6d8, []int{32} } func (m *JobName) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobName.Unmarshal(m, b) @@ -2886,10 +2926,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/bigquery/logging/v1/audit_data.proto", fileDescriptor_audit_data_b90959119ce397a8) + proto.RegisterFile("google/cloud/bigquery/logging/v1/audit_data.proto", fileDescriptor_audit_data_c8c983cfffeff6d8) } -var fileDescriptor_audit_data_b90959119ce397a8 = []byte{ +var fileDescriptor_audit_data_c8c983cfffeff6d8 = []byte{ // 2036 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4f, 0x73, 0x1b, 0x49, 0x15, 0x8f, 0x2c, 0xc9, 0x92, 0x9e, 0xec, 0xd8, 0xee, 0xd8, 0x9b, 0x58, 0x90, 0xdd, 0x30, 0x40, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/avro.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/avro.pb.go new file mode 100644 index 000000000..47dec2249 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/avro.pb.go @@ -0,0 +1,138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/bigquery/storage/v1beta1/avro.proto + +package storage // import "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Avro schema. +type AvroSchema struct { + // Json serialized schema, as described at + // https://avro.apache.org/docs/1.8.1/spec.html + Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AvroSchema) Reset() { *m = AvroSchema{} } +func (m *AvroSchema) String() string { return proto.CompactTextString(m) } +func (*AvroSchema) ProtoMessage() {} +func (*AvroSchema) Descriptor() ([]byte, []int) { + return fileDescriptor_avro_b3df5fb2ad3a17ec, []int{0} +} +func (m *AvroSchema) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AvroSchema.Unmarshal(m, b) +} +func (m *AvroSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AvroSchema.Marshal(b, m, deterministic) +} +func (dst *AvroSchema) XXX_Merge(src proto.Message) { + xxx_messageInfo_AvroSchema.Merge(dst, src) +} +func (m *AvroSchema) XXX_Size() int { + return xxx_messageInfo_AvroSchema.Size(m) +} +func (m *AvroSchema) XXX_DiscardUnknown() { + xxx_messageInfo_AvroSchema.DiscardUnknown(m) +} + +var xxx_messageInfo_AvroSchema proto.InternalMessageInfo + +func (m *AvroSchema) GetSchema() string { + if m != nil { + return m.Schema + } + return "" +} + +// Avro rows. +type AvroRows struct { + // Binary serialized rows in a block. + SerializedBinaryRows []byte `protobuf:"bytes,1,opt,name=serialized_binary_rows,json=serializedBinaryRows,proto3" json:"serialized_binary_rows,omitempty"` + // The count of rows in the returning block. + RowCount int64 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AvroRows) Reset() { *m = AvroRows{} } +func (m *AvroRows) String() string { return proto.CompactTextString(m) } +func (*AvroRows) ProtoMessage() {} +func (*AvroRows) Descriptor() ([]byte, []int) { + return fileDescriptor_avro_b3df5fb2ad3a17ec, []int{1} +} +func (m *AvroRows) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AvroRows.Unmarshal(m, b) +} +func (m *AvroRows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AvroRows.Marshal(b, m, deterministic) +} +func (dst *AvroRows) XXX_Merge(src proto.Message) { + xxx_messageInfo_AvroRows.Merge(dst, src) +} +func (m *AvroRows) XXX_Size() int { + return xxx_messageInfo_AvroRows.Size(m) +} +func (m *AvroRows) XXX_DiscardUnknown() { + xxx_messageInfo_AvroRows.DiscardUnknown(m) +} + +var xxx_messageInfo_AvroRows proto.InternalMessageInfo + +func (m *AvroRows) GetSerializedBinaryRows() []byte { + if m != nil { + return m.SerializedBinaryRows + } + return nil +} + +func (m *AvroRows) GetRowCount() int64 { + if m != nil { + return m.RowCount + } + return 0 +} + +func init() { + proto.RegisterType((*AvroSchema)(nil), "google.cloud.bigquery.storage.v1beta1.AvroSchema") + proto.RegisterType((*AvroRows)(nil), "google.cloud.bigquery.storage.v1beta1.AvroRows") +} + +func init() { + proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/avro.proto", fileDescriptor_avro_b3df5fb2ad3a17ec) +} + +var fileDescriptor_avro_b3df5fb2ad3a17ec = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0xcf, 0x4b, 0xc3, 0x30, + 0x14, 0x07, 0x70, 0xaa, 0x30, 0xd6, 0xe0, 0xa9, 0xc8, 0x18, 0x78, 0x19, 0x43, 0x61, 0x5e, 0x12, + 0x87, 0xde, 0x3c, 0x59, 0xaf, 0x1e, 0xa4, 0xde, 0x04, 0x29, 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, 0x16, 0xe0, 0xed, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x16, 0xaf, 0x83, 0xb1, 0x6d, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/read_options.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/read_options.pb.go new file mode 100644 index 000000000..51abfabcb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/read_options.pb.go @@ -0,0 +1,102 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/bigquery/storage/v1beta1/read_options.proto + +package storage // import "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Options dictating how we read a table. +type TableReadOptions struct { + // Optional. Names of the fields in the table that should be read. If empty, + // all fields will be read. If the specified field is a nested field, all the + // sub-fields in the field will be selected. The output field order is + // unrelated to the order of fields in selected_fields. + SelectedFields []string `protobuf:"bytes,1,rep,name=selected_fields,json=selectedFields,proto3" json:"selected_fields,omitempty"` + // Optional. SQL text filtering statement, similar to a WHERE clause in + // a query. Currently, we support combinations of predicates that are + // a comparison between a column and a constant value in SQL statement. + // Aggregates are not supported. + // + // Example: "a > DATE '2014-9-27' AND (b > 5 and C LIKE 'date')" + RowRestriction string `protobuf:"bytes,2,opt,name=row_restriction,json=rowRestriction,proto3" json:"row_restriction,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TableReadOptions) Reset() { *m = TableReadOptions{} } +func (m *TableReadOptions) String() string { return proto.CompactTextString(m) } +func (*TableReadOptions) ProtoMessage() {} +func (*TableReadOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_read_options_c761a73b2fdbaa50, []int{0} +} +func (m *TableReadOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TableReadOptions.Unmarshal(m, b) +} +func (m *TableReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TableReadOptions.Marshal(b, m, deterministic) +} +func (dst *TableReadOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_TableReadOptions.Merge(dst, src) +} +func (m *TableReadOptions) XXX_Size() int { + return xxx_messageInfo_TableReadOptions.Size(m) +} +func (m *TableReadOptions) XXX_DiscardUnknown() { + xxx_messageInfo_TableReadOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_TableReadOptions proto.InternalMessageInfo + +func (m *TableReadOptions) GetSelectedFields() []string { + if m != nil { + return m.SelectedFields + } + return nil +} + +func (m *TableReadOptions) GetRowRestriction() string { + if m != nil { + return m.RowRestriction + } + return "" +} + +func init() { + proto.RegisterType((*TableReadOptions)(nil), "google.cloud.bigquery.storage.v1beta1.TableReadOptions") +} + +func init() { + proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/read_options.proto", fileDescriptor_read_options_c761a73b2fdbaa50) +} + +var fileDescriptor_read_options_c761a73b2fdbaa50 = []byte{ + // 213 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0x3f, 0x4b, 0xc6, 0x30, + 0x10, 0x06, 0x70, 0x5e, 0x05, 0xc1, 0x0c, 0x2a, 0x9d, 0x3a, 0x16, 0x41, 0xd4, 0x25, 0xa1, 0xb8, + 0x08, 0x6e, 0x0e, 0x4e, 0x82, 0x50, 0x9c, 0x5c, 0x4a, 0xfe, 0x9c, 0x47, 0x20, 0xf6, 0xea, 0x25, + 0xb5, 0xf4, 0xdb, 0x4b, 0xd3, 0x14, 0x47, 0xdf, 0x31, 0x4f, 0x9e, 0x5f, 0xc8, 0x9d, 0x78, 0x44, + 0x22, 0x0c, 0xa0, 0x6c, 0xa0, 0xc9, 0x29, 0xe3, 0xf1, 0x7b, 0x02, 0x5e, 0x54, 0x4c, 0xc4, 0x1a, + 0x41, 0xfd, 0xb4, 0x06, 0x92, 0x6e, 0x15, 0x83, 0x76, 0x3d, 0x8d, 0xc9, 0xd3, 0x10, 0xe5, 0xc8, + 0x94, 0xa8, 0xba, 0xd9, 0xa4, 0xcc, 0x52, 0xee, 0x52, 0x16, 0x29, 0x8b, 0xbc, 0x76, 0xe2, 0xea, + 0x5d, 0x9b, 0x00, 0x1d, 0x68, 0xf7, 0xb6, 0x3d, 0x50, 0xdd, 0x8a, 0xcb, 0x08, 0x01, 0x6c, 0x02, + 0xd7, 0x7f, 0x7a, 0x08, 0x2e, 0xd6, 0x87, 0xe6, 0xf4, 0xee, 0xbc, 0xbb, 0xd8, 0xe3, 0x97, 0x9c, + 0xae, 0x45, 0xa6, 0xb9, 0x67, 0x88, 0x89, 0xbd, 0x5d, 0x71, 0x7d, 0xd2, 0x1c, 0xd6, 0x22, 0xd3, + 0xdc, 0xfd, 0xa5, 0xcf, 0x8b, 0xb8, 0xb7, 0xf4, 0x25, 0x8f, 0xfa, 0xd2, 0xc7, 0x6b, 0xa9, 0x21, + 0x05, 0x3d, 0xa0, 0x24, 0x46, 0x85, 0x30, 0xe4, 0xa9, 0xd4, 0x76, 0xa5, 0x47, 0x1f, 0xff, 0x59, + 0xc9, 0x53, 0x39, 0x9b, 0xb3, 0x0c, 0x1f, 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xba, 0xd5, 0x14, + 0x41, 0x4a, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/storage.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/storage.pb.go new file mode 100644 index 000000000..eed89e796 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/storage.pb.go @@ -0,0 +1,1317 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/bigquery/storage/v1beta1/storage.proto + +package storage // import "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Data format for input or output data. +type DataFormat int32 + +const ( + // Data format is unspecified. + DataFormat_DATA_FORMAT_UNSPECIFIED DataFormat = 0 + // Avro is a standard open source row based file format. + // See https://avro.apache.org/ for more details. + DataFormat_AVRO DataFormat = 1 +) + +var DataFormat_name = map[int32]string{ + 0: "DATA_FORMAT_UNSPECIFIED", + 1: "AVRO", +} +var DataFormat_value = map[string]int32{ + "DATA_FORMAT_UNSPECIFIED": 0, + "AVRO": 1, +} + +func (x DataFormat) String() string { + return proto.EnumName(DataFormat_name, int32(x)) +} +func (DataFormat) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{0} +} + +// Information about a single data stream within a read session. +type Stream struct { + // Name of the stream. In the form + // `/projects/{project_id}/stream/{stream_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Rows in the stream. + RowCount int64 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Stream) Reset() { *m = Stream{} } +func (m *Stream) String() string { return proto.CompactTextString(m) } +func (*Stream) ProtoMessage() {} +func (*Stream) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{0} +} +func (m *Stream) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Stream.Unmarshal(m, b) +} +func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Stream.Marshal(b, m, deterministic) +} +func (dst *Stream) XXX_Merge(src proto.Message) { + xxx_messageInfo_Stream.Merge(dst, src) +} +func (m *Stream) XXX_Size() int { + return xxx_messageInfo_Stream.Size(m) +} +func (m *Stream) XXX_DiscardUnknown() { + xxx_messageInfo_Stream.DiscardUnknown(m) +} + +var xxx_messageInfo_Stream proto.InternalMessageInfo + +func (m *Stream) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Stream) GetRowCount() int64 { + if m != nil { + return m.RowCount + } + return 0 +} + +// Expresses a point within a given stream using an offset position. +type StreamPosition struct { + // Identifier for a given Stream. + Stream *Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` + // Position in the stream. + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StreamPosition) Reset() { *m = StreamPosition{} } +func (m *StreamPosition) String() string { return proto.CompactTextString(m) } +func (*StreamPosition) ProtoMessage() {} +func (*StreamPosition) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{1} +} +func (m *StreamPosition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StreamPosition.Unmarshal(m, b) +} +func (m *StreamPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StreamPosition.Marshal(b, m, deterministic) +} +func (dst *StreamPosition) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamPosition.Merge(dst, src) +} +func (m *StreamPosition) XXX_Size() int { + return xxx_messageInfo_StreamPosition.Size(m) +} +func (m *StreamPosition) XXX_DiscardUnknown() { + xxx_messageInfo_StreamPosition.DiscardUnknown(m) +} + +var xxx_messageInfo_StreamPosition proto.InternalMessageInfo + +func (m *StreamPosition) GetStream() *Stream { + if m != nil { + return m.Stream + } + return nil +} + +func (m *StreamPosition) GetOffset() int64 { + if m != nil { + return m.Offset + } + return 0 +} + +// Information returned from a `CreateReadSession` request. +type ReadSession struct { + // Unique identifier for the session. In the form + // `projects/{project_id}/sessions/{session_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Time at which the session becomes invalid. After this time, subsequent + // requests to read this Session will return errors. + ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + // The schema for the read. If read_options.selected_fields is set, the + // schema may be different from the table schema as it will only contain + // the selected fields. + // + // Types that are valid to be assigned to Schema: + // *ReadSession_AvroSchema + Schema isReadSession_Schema `protobuf_oneof:"schema"` + // Streams associated with this session. + Streams []*Stream `protobuf:"bytes,4,rep,name=streams,proto3" json:"streams,omitempty"` + // Table that this ReadSession is reading from. + TableReference *TableReference `protobuf:"bytes,7,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"` + // Any modifiers which are applied when reading from the specified table. + TableModifiers *TableModifiers `protobuf:"bytes,8,opt,name=table_modifiers,json=tableModifiers,proto3" json:"table_modifiers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReadSession) Reset() { *m = ReadSession{} } +func (m *ReadSession) String() string { return proto.CompactTextString(m) } +func (*ReadSession) ProtoMessage() {} +func (*ReadSession) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{2} +} +func (m *ReadSession) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReadSession.Unmarshal(m, b) +} +func (m *ReadSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReadSession.Marshal(b, m, deterministic) +} +func (dst *ReadSession) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReadSession.Merge(dst, src) +} +func (m *ReadSession) XXX_Size() int { + return xxx_messageInfo_ReadSession.Size(m) +} +func (m *ReadSession) XXX_DiscardUnknown() { + xxx_messageInfo_ReadSession.DiscardUnknown(m) +} + +var xxx_messageInfo_ReadSession proto.InternalMessageInfo + +func (m *ReadSession) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ReadSession) GetExpireTime() *timestamp.Timestamp { + if m != nil { + return m.ExpireTime + } + return nil +} + +type isReadSession_Schema interface { + isReadSession_Schema() +} + +type ReadSession_AvroSchema struct { + AvroSchema *AvroSchema `protobuf:"bytes,5,opt,name=avro_schema,json=avroSchema,proto3,oneof"` +} + +func (*ReadSession_AvroSchema) isReadSession_Schema() {} + +func (m *ReadSession) GetSchema() isReadSession_Schema { + if m != nil { + return m.Schema + } + return nil +} + +func (m *ReadSession) GetAvroSchema() *AvroSchema { + if x, ok := m.GetSchema().(*ReadSession_AvroSchema); ok { + return x.AvroSchema + } + return nil +} + +func (m *ReadSession) GetStreams() []*Stream { + if m != nil { + return m.Streams + } + return nil +} + +func (m *ReadSession) GetTableReference() *TableReference { + if m != nil { + return m.TableReference + } + return nil +} + +func (m *ReadSession) GetTableModifiers() *TableModifiers { + if m != nil { + return m.TableModifiers + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ReadSession) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ReadSession_OneofMarshaler, _ReadSession_OneofUnmarshaler, _ReadSession_OneofSizer, []interface{}{ + (*ReadSession_AvroSchema)(nil), + } +} + +func _ReadSession_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ReadSession) + // schema + switch x := m.Schema.(type) { + case *ReadSession_AvroSchema: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AvroSchema); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ReadSession.Schema has unexpected type %T", x) + } + return nil +} + +func _ReadSession_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ReadSession) + switch tag { + case 5: // schema.avro_schema + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AvroSchema) + err := b.DecodeMessage(msg) + m.Schema = &ReadSession_AvroSchema{msg} + return true, err + default: + return false, nil + } +} + +func _ReadSession_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ReadSession) + // schema + switch x := m.Schema.(type) { + case *ReadSession_AvroSchema: + s := proto.Size(x.AvroSchema) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Creates a new read session, which may include additional options such as +// requested parallelism, projection filters and constraints. +type CreateReadSessionRequest struct { + // Required. Reference to the table to read. + TableReference *TableReference `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"` + // Required. String of the form "projects/your-project-id" indicating the + // project this ReadSession is associated with. This is the project that will + // be billed for usage. + Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. Any modifiers to the Table (e.g. snapshot timestamp). + TableModifiers *TableModifiers `protobuf:"bytes,2,opt,name=table_modifiers,json=tableModifiers,proto3" json:"table_modifiers,omitempty"` + // Optional. Initial number of streams. If unset or 0, we will + // provide a value of streams so as to produce reasonable throughput. Must be + // non-negative. The number of streams may be lower than the requested number, + // depending on the amount parallelism that is reasonable for the table and + // the maximum amount of parallelism allowed by the system. + // + // Streams must be read starting from offset 0. + RequestedStreams int32 `protobuf:"varint,3,opt,name=requested_streams,json=requestedStreams,proto3" json:"requested_streams,omitempty"` + // Optional. Read options for this session (e.g. column selection, filters). + ReadOptions *TableReadOptions `protobuf:"bytes,4,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` + // Data output format. Currently default to Avro. + Format DataFormat `protobuf:"varint,5,opt,name=format,proto3,enum=google.cloud.bigquery.storage.v1beta1.DataFormat" json:"format,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateReadSessionRequest) Reset() { *m = CreateReadSessionRequest{} } +func (m *CreateReadSessionRequest) String() string { return proto.CompactTextString(m) } +func (*CreateReadSessionRequest) ProtoMessage() {} +func (*CreateReadSessionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{3} +} +func (m *CreateReadSessionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateReadSessionRequest.Unmarshal(m, b) +} +func (m *CreateReadSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateReadSessionRequest.Marshal(b, m, deterministic) +} +func (dst *CreateReadSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateReadSessionRequest.Merge(dst, src) +} +func (m *CreateReadSessionRequest) XXX_Size() int { + return xxx_messageInfo_CreateReadSessionRequest.Size(m) +} +func (m *CreateReadSessionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateReadSessionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateReadSessionRequest proto.InternalMessageInfo + +func (m *CreateReadSessionRequest) GetTableReference() *TableReference { + if m != nil { + return m.TableReference + } + return nil +} + +func (m *CreateReadSessionRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateReadSessionRequest) GetTableModifiers() *TableModifiers { + if m != nil { + return m.TableModifiers + } + return nil +} + +func (m *CreateReadSessionRequest) GetRequestedStreams() int32 { + if m != nil { + return m.RequestedStreams + } + return 0 +} + +func (m *CreateReadSessionRequest) GetReadOptions() *TableReadOptions { + if m != nil { + return m.ReadOptions + } + return nil +} + +func (m *CreateReadSessionRequest) GetFormat() DataFormat { + if m != nil { + return m.Format + } + return DataFormat_DATA_FORMAT_UNSPECIFIED +} + +// Requesting row data via `ReadRows` must provide Stream position information. +type ReadRowsRequest struct { + // Required. Identifier of the position in the stream to start reading from. + // The offset requested must be less than the last row read from ReadRows. + // Requesting a larger offset is undefined. + ReadPosition *StreamPosition `protobuf:"bytes,1,opt,name=read_position,json=readPosition,proto3" json:"read_position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} } +func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) } +func (*ReadRowsRequest) ProtoMessage() {} +func (*ReadRowsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{4} +} +func (m *ReadRowsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReadRowsRequest.Unmarshal(m, b) +} +func (m *ReadRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReadRowsRequest.Marshal(b, m, deterministic) +} +func (dst *ReadRowsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReadRowsRequest.Merge(dst, src) +} +func (m *ReadRowsRequest) XXX_Size() int { + return xxx_messageInfo_ReadRowsRequest.Size(m) +} +func (m *ReadRowsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReadRowsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ReadRowsRequest proto.InternalMessageInfo + +func (m *ReadRowsRequest) GetReadPosition() *StreamPosition { + if m != nil { + return m.ReadPosition + } + return nil +} + +// Progress information for a given Stream. +type StreamStatus struct { + // Number of estimated rows in the current stream. May change over time as + // different readers in the stream progress at rates which are relatively fast + // or slow. + EstimatedRowCount int64 `protobuf:"varint,1,opt,name=estimated_row_count,json=estimatedRowCount,proto3" json:"estimated_row_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StreamStatus) Reset() { *m = StreamStatus{} } +func (m *StreamStatus) String() string { return proto.CompactTextString(m) } +func (*StreamStatus) ProtoMessage() {} +func (*StreamStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{5} +} +func (m *StreamStatus) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StreamStatus.Unmarshal(m, b) +} +func (m *StreamStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StreamStatus.Marshal(b, m, deterministic) +} +func (dst *StreamStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamStatus.Merge(dst, src) +} +func (m *StreamStatus) XXX_Size() int { + return xxx_messageInfo_StreamStatus.Size(m) +} +func (m *StreamStatus) XXX_DiscardUnknown() { + xxx_messageInfo_StreamStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_StreamStatus proto.InternalMessageInfo + +func (m *StreamStatus) GetEstimatedRowCount() int64 { + if m != nil { + return m.EstimatedRowCount + } + return 0 +} + +// Information on if the current connection is being throttled. +type ThrottleStatus struct { + // How much this connection is being throttled. + // 0 is no throttling, 100 is completely throttled. + ThrottlePercent int32 `protobuf:"varint,1,opt,name=throttle_percent,json=throttlePercent,proto3" json:"throttle_percent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ThrottleStatus) Reset() { *m = ThrottleStatus{} } +func (m *ThrottleStatus) String() string { return proto.CompactTextString(m) } +func (*ThrottleStatus) ProtoMessage() {} +func (*ThrottleStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{6} +} +func (m *ThrottleStatus) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ThrottleStatus.Unmarshal(m, b) +} +func (m *ThrottleStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ThrottleStatus.Marshal(b, m, deterministic) +} +func (dst *ThrottleStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ThrottleStatus.Merge(dst, src) +} +func (m *ThrottleStatus) XXX_Size() int { + return xxx_messageInfo_ThrottleStatus.Size(m) +} +func (m *ThrottleStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ThrottleStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ThrottleStatus proto.InternalMessageInfo + +func (m *ThrottleStatus) GetThrottlePercent() int32 { + if m != nil { + return m.ThrottlePercent + } + return 0 +} + +// Response from calling `ReadRows` may include row data, progress and +// throttling information. +type ReadRowsResponse struct { + // Row data is returned in format specified during session creation. + // + // Types that are valid to be assigned to Rows: + // *ReadRowsResponse_AvroRows + Rows isReadRowsResponse_Rows `protobuf_oneof:"rows"` + // Estimated stream statistics. + Status *StreamStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + // Throttling status. If unset, the latest response still describes + // the current throttling status. + ThrottleStatus *ThrottleStatus `protobuf:"bytes,5,opt,name=throttle_status,json=throttleStatus,proto3" json:"throttle_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} } +func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) } +func (*ReadRowsResponse) ProtoMessage() {} +func (*ReadRowsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{7} +} +func (m *ReadRowsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReadRowsResponse.Unmarshal(m, b) +} +func (m *ReadRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReadRowsResponse.Marshal(b, m, deterministic) +} +func (dst *ReadRowsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReadRowsResponse.Merge(dst, src) +} +func (m *ReadRowsResponse) XXX_Size() int { + return xxx_messageInfo_ReadRowsResponse.Size(m) +} +func (m *ReadRowsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ReadRowsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ReadRowsResponse proto.InternalMessageInfo + +type isReadRowsResponse_Rows interface { + isReadRowsResponse_Rows() +} + +type ReadRowsResponse_AvroRows struct { + AvroRows *AvroRows `protobuf:"bytes,3,opt,name=avro_rows,json=avroRows,proto3,oneof"` +} + +func (*ReadRowsResponse_AvroRows) isReadRowsResponse_Rows() {} + +func (m *ReadRowsResponse) GetRows() isReadRowsResponse_Rows { + if m != nil { + return m.Rows + } + return nil +} + +func (m *ReadRowsResponse) GetAvroRows() *AvroRows { + if x, ok := m.GetRows().(*ReadRowsResponse_AvroRows); ok { + return x.AvroRows + } + return nil +} + +func (m *ReadRowsResponse) GetStatus() *StreamStatus { + if m != nil { + return m.Status + } + return nil +} + +func (m *ReadRowsResponse) GetThrottleStatus() *ThrottleStatus { + if m != nil { + return m.ThrottleStatus + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ReadRowsResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ReadRowsResponse_OneofMarshaler, _ReadRowsResponse_OneofUnmarshaler, _ReadRowsResponse_OneofSizer, []interface{}{ + (*ReadRowsResponse_AvroRows)(nil), + } +} + +func _ReadRowsResponse_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ReadRowsResponse) + // rows + switch x := m.Rows.(type) { + case *ReadRowsResponse_AvroRows: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AvroRows); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ReadRowsResponse.Rows has unexpected type %T", x) + } + return nil +} + +func _ReadRowsResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ReadRowsResponse) + switch tag { + case 3: // rows.avro_rows + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AvroRows) + err := b.DecodeMessage(msg) + m.Rows = &ReadRowsResponse_AvroRows{msg} + return true, err + default: + return false, nil + } +} + +func _ReadRowsResponse_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ReadRowsResponse) + // rows + switch x := m.Rows.(type) { + case *ReadRowsResponse_AvroRows: + s := proto.Size(x.AvroRows) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Information needed to request additional streams for an established read +// session. +type BatchCreateReadSessionStreamsRequest struct { + // Required. Must be a non-expired session obtained from a call to + // CreateReadSession. Only the name field needs to be set. + Session *ReadSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + // Required. Number of new streams requested. Must be positive. + // Number of added streams may be less than this, see CreateReadSessionRequest + // for more information. + RequestedStreams int32 `protobuf:"varint,2,opt,name=requested_streams,json=requestedStreams,proto3" json:"requested_streams,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchCreateReadSessionStreamsRequest) Reset() { *m = BatchCreateReadSessionStreamsRequest{} } +func (m *BatchCreateReadSessionStreamsRequest) String() string { return proto.CompactTextString(m) } +func (*BatchCreateReadSessionStreamsRequest) ProtoMessage() {} +func (*BatchCreateReadSessionStreamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{8} +} +func (m *BatchCreateReadSessionStreamsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchCreateReadSessionStreamsRequest.Unmarshal(m, b) +} +func (m *BatchCreateReadSessionStreamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchCreateReadSessionStreamsRequest.Marshal(b, m, deterministic) +} +func (dst *BatchCreateReadSessionStreamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchCreateReadSessionStreamsRequest.Merge(dst, src) +} +func (m *BatchCreateReadSessionStreamsRequest) XXX_Size() int { + return xxx_messageInfo_BatchCreateReadSessionStreamsRequest.Size(m) +} +func (m *BatchCreateReadSessionStreamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BatchCreateReadSessionStreamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchCreateReadSessionStreamsRequest proto.InternalMessageInfo + +func (m *BatchCreateReadSessionStreamsRequest) GetSession() *ReadSession { + if m != nil { + return m.Session + } + return nil +} + +func (m *BatchCreateReadSessionStreamsRequest) GetRequestedStreams() int32 { + if m != nil { + return m.RequestedStreams + } + return 0 +} + +// The response from `BatchCreateReadSessionStreams` returns the stream +// identifiers for the newly created streams. +type BatchCreateReadSessionStreamsResponse struct { + // Newly added streams. + Streams []*Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchCreateReadSessionStreamsResponse) Reset() { *m = BatchCreateReadSessionStreamsResponse{} } +func (m *BatchCreateReadSessionStreamsResponse) String() string { return proto.CompactTextString(m) } +func (*BatchCreateReadSessionStreamsResponse) ProtoMessage() {} +func (*BatchCreateReadSessionStreamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{9} +} +func (m *BatchCreateReadSessionStreamsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchCreateReadSessionStreamsResponse.Unmarshal(m, b) +} +func (m *BatchCreateReadSessionStreamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchCreateReadSessionStreamsResponse.Marshal(b, m, deterministic) +} +func (dst *BatchCreateReadSessionStreamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchCreateReadSessionStreamsResponse.Merge(dst, src) +} +func (m *BatchCreateReadSessionStreamsResponse) XXX_Size() int { + return xxx_messageInfo_BatchCreateReadSessionStreamsResponse.Size(m) +} +func (m *BatchCreateReadSessionStreamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchCreateReadSessionStreamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchCreateReadSessionStreamsResponse proto.InternalMessageInfo + +func (m *BatchCreateReadSessionStreamsResponse) GetStreams() []*Stream { + if m != nil { + return m.Streams + } + return nil +} + +// Request information for invoking `FinalizeStream`. +type FinalizeStreamRequest struct { + // Stream to finalize. + Stream *Stream `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinalizeStreamRequest) Reset() { *m = FinalizeStreamRequest{} } +func (m *FinalizeStreamRequest) String() string { return proto.CompactTextString(m) } +func (*FinalizeStreamRequest) ProtoMessage() {} +func (*FinalizeStreamRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{10} +} +func (m *FinalizeStreamRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinalizeStreamRequest.Unmarshal(m, b) +} +func (m *FinalizeStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinalizeStreamRequest.Marshal(b, m, deterministic) +} +func (dst *FinalizeStreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinalizeStreamRequest.Merge(dst, src) +} +func (m *FinalizeStreamRequest) XXX_Size() int { + return xxx_messageInfo_FinalizeStreamRequest.Size(m) +} +func (m *FinalizeStreamRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FinalizeStreamRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FinalizeStreamRequest proto.InternalMessageInfo + +func (m *FinalizeStreamRequest) GetStream() *Stream { + if m != nil { + return m.Stream + } + return nil +} + +// Request information for `SplitReadStream`. +type SplitReadStreamRequest struct { + // Stream to split. + OriginalStream *Stream `protobuf:"bytes,1,opt,name=original_stream,json=originalStream,proto3" json:"original_stream,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SplitReadStreamRequest) Reset() { *m = SplitReadStreamRequest{} } +func (m *SplitReadStreamRequest) String() string { return proto.CompactTextString(m) } +func (*SplitReadStreamRequest) ProtoMessage() {} +func (*SplitReadStreamRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{11} +} +func (m *SplitReadStreamRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SplitReadStreamRequest.Unmarshal(m, b) +} +func (m *SplitReadStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SplitReadStreamRequest.Marshal(b, m, deterministic) +} +func (dst *SplitReadStreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SplitReadStreamRequest.Merge(dst, src) +} +func (m *SplitReadStreamRequest) XXX_Size() int { + return xxx_messageInfo_SplitReadStreamRequest.Size(m) +} +func (m *SplitReadStreamRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SplitReadStreamRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SplitReadStreamRequest proto.InternalMessageInfo + +func (m *SplitReadStreamRequest) GetOriginalStream() *Stream { + if m != nil { + return m.OriginalStream + } + return nil +} + +// Response from `SplitReadStream`. +type SplitReadStreamResponse struct { + // Primary stream. Will contain the beginning portion of + // |original_stream|. + PrimaryStream *Stream `protobuf:"bytes,1,opt,name=primary_stream,json=primaryStream,proto3" json:"primary_stream,omitempty"` + // Remainder stream. Will contain the tail of |original_stream|. + RemainderStream *Stream `protobuf:"bytes,2,opt,name=remainder_stream,json=remainderStream,proto3" json:"remainder_stream,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SplitReadStreamResponse) Reset() { *m = SplitReadStreamResponse{} } +func (m *SplitReadStreamResponse) String() string { return proto.CompactTextString(m) } +func (*SplitReadStreamResponse) ProtoMessage() {} +func (*SplitReadStreamResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_03e769ad972fbb43, []int{12} +} +func (m *SplitReadStreamResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SplitReadStreamResponse.Unmarshal(m, b) +} +func (m *SplitReadStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SplitReadStreamResponse.Marshal(b, m, deterministic) +} +func (dst *SplitReadStreamResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SplitReadStreamResponse.Merge(dst, src) +} +func (m *SplitReadStreamResponse) XXX_Size() int { + return xxx_messageInfo_SplitReadStreamResponse.Size(m) +} +func (m *SplitReadStreamResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SplitReadStreamResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SplitReadStreamResponse proto.InternalMessageInfo + +func (m *SplitReadStreamResponse) GetPrimaryStream() *Stream { + if m != nil { + return m.PrimaryStream + } + return nil +} + +func (m *SplitReadStreamResponse) GetRemainderStream() *Stream { + if m != nil { + return m.RemainderStream + } + return nil +} + +func init() { + proto.RegisterType((*Stream)(nil), "google.cloud.bigquery.storage.v1beta1.Stream") + proto.RegisterType((*StreamPosition)(nil), "google.cloud.bigquery.storage.v1beta1.StreamPosition") + proto.RegisterType((*ReadSession)(nil), "google.cloud.bigquery.storage.v1beta1.ReadSession") + proto.RegisterType((*CreateReadSessionRequest)(nil), "google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest") + proto.RegisterType((*ReadRowsRequest)(nil), "google.cloud.bigquery.storage.v1beta1.ReadRowsRequest") + proto.RegisterType((*StreamStatus)(nil), "google.cloud.bigquery.storage.v1beta1.StreamStatus") + proto.RegisterType((*ThrottleStatus)(nil), "google.cloud.bigquery.storage.v1beta1.ThrottleStatus") + proto.RegisterType((*ReadRowsResponse)(nil), "google.cloud.bigquery.storage.v1beta1.ReadRowsResponse") + proto.RegisterType((*BatchCreateReadSessionStreamsRequest)(nil), "google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest") + proto.RegisterType((*BatchCreateReadSessionStreamsResponse)(nil), "google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse") + proto.RegisterType((*FinalizeStreamRequest)(nil), "google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest") + proto.RegisterType((*SplitReadStreamRequest)(nil), "google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest") + proto.RegisterType((*SplitReadStreamResponse)(nil), "google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse") + proto.RegisterEnum("google.cloud.bigquery.storage.v1beta1.DataFormat", DataFormat_name, DataFormat_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// BigQueryStorageClient is the client API for BigQueryStorage service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type BigQueryStorageClient interface { + // Creates a new read session. A read session divides the contents of a + // BigQuery table into one or more streams, which can then be used to read + // data from the table. The read session also specifies properties of the + // data to be read, such as a list of columns or a push-down filter describing + // the rows to be returned. + // + // A particular row can be read by at most one stream. When the caller has + // reached the end of each stream in the session, then all the data in the + // table has been read. + // + // Read sessions automatically expire 24 hours after they are created and do + // not require manual clean-up by the caller. + CreateReadSession(ctx context.Context, in *CreateReadSessionRequest, opts ...grpc.CallOption) (*ReadSession, error) + // Reads rows from the table in the format prescribed by the read session. + // Each response contains one or more table rows, up to a maximum of 10 MiB + // per response; read requests which attempt to read individual rows larger + // than this will fail. + // + // Each request also returns a set of stream statistics reflecting the + // estimated total number of rows in the read stream. This number is computed + // based on the total table size and the number of active streams in the read + // session, and may change as other streams continue to read data. + ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigQueryStorage_ReadRowsClient, error) + // Creates additional streams for a ReadSession. This API can be used to + // dynamically adjust the parallelism of a batch processing task upwards by + // adding additional workers. + BatchCreateReadSessionStreams(ctx context.Context, in *BatchCreateReadSessionStreamsRequest, opts ...grpc.CallOption) (*BatchCreateReadSessionStreamsResponse, error) + // Triggers the graceful termination of a single stream in a ReadSession. This + // API can be used to dynamically adjust the parallelism of a batch processing + // task downwards without losing data. + // + // This API does not delete the stream -- it remains visible in the + // ReadSession, and any data processed by the stream is not released to other + // streams. However, no additional data will be assigned to the stream once + // this call completes. Callers must continue reading data on the stream until + // the end of the stream is reached so that data which has already been + // assigned to the stream will be processed. + // + // This method will return an error if there are no other live streams + // in the Session, or if SplitReadStream() has been called on the given + // Stream. + FinalizeStream(ctx context.Context, in *FinalizeStreamRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Splits a given read stream into two Streams. These streams are referred to + // as the primary and the residual of the split. The original stream can still + // be read from in the same manner as before. Both of the returned streams can + // also be read from, and the total rows return by both child streams will be + // the same as the rows read from the original stream. + // + // Moreover, the two child streams will be allocated back to back in the + // original Stream. Concretely, it is guaranteed that for streams Original, + // Primary, and Residual, that Original[0-j] = Primary[0-j] and + // Original[j-n] = Residual[0-m] once the streams have been read to + // completion. + // + // This method is guaranteed to be idempotent. + SplitReadStream(ctx context.Context, in *SplitReadStreamRequest, opts ...grpc.CallOption) (*SplitReadStreamResponse, error) +} + +type bigQueryStorageClient struct { + cc *grpc.ClientConn +} + +func NewBigQueryStorageClient(cc *grpc.ClientConn) BigQueryStorageClient { + return &bigQueryStorageClient{cc} +} + +func (c *bigQueryStorageClient) CreateReadSession(ctx context.Context, in *CreateReadSessionRequest, opts ...grpc.CallOption) (*ReadSession, error) { + out := new(ReadSession) + err := c.cc.Invoke(ctx, "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/CreateReadSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *bigQueryStorageClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigQueryStorage_ReadRowsClient, error) { + stream, err := c.cc.NewStream(ctx, &_BigQueryStorage_serviceDesc.Streams[0], "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/ReadRows", opts...) + if err != nil { + return nil, err + } + x := &bigQueryStorageReadRowsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BigQueryStorage_ReadRowsClient interface { + Recv() (*ReadRowsResponse, error) + grpc.ClientStream +} + +type bigQueryStorageReadRowsClient struct { + grpc.ClientStream +} + +func (x *bigQueryStorageReadRowsClient) Recv() (*ReadRowsResponse, error) { + m := new(ReadRowsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *bigQueryStorageClient) BatchCreateReadSessionStreams(ctx context.Context, in *BatchCreateReadSessionStreamsRequest, opts ...grpc.CallOption) (*BatchCreateReadSessionStreamsResponse, error) { + out := new(BatchCreateReadSessionStreamsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/BatchCreateReadSessionStreams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *bigQueryStorageClient) FinalizeStream(ctx context.Context, in *FinalizeStreamRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/FinalizeStream", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *bigQueryStorageClient) SplitReadStream(ctx context.Context, in *SplitReadStreamRequest, opts ...grpc.CallOption) (*SplitReadStreamResponse, error) { + out := new(SplitReadStreamResponse) + err := c.cc.Invoke(ctx, "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/SplitReadStream", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// BigQueryStorageServer is the server API for BigQueryStorage service. +type BigQueryStorageServer interface { + // Creates a new read session. A read session divides the contents of a + // BigQuery table into one or more streams, which can then be used to read + // data from the table. The read session also specifies properties of the + // data to be read, such as a list of columns or a push-down filter describing + // the rows to be returned. + // + // A particular row can be read by at most one stream. When the caller has + // reached the end of each stream in the session, then all the data in the + // table has been read. + // + // Read sessions automatically expire 24 hours after they are created and do + // not require manual clean-up by the caller. + CreateReadSession(context.Context, *CreateReadSessionRequest) (*ReadSession, error) + // Reads rows from the table in the format prescribed by the read session. + // Each response contains one or more table rows, up to a maximum of 10 MiB + // per response; read requests which attempt to read individual rows larger + // than this will fail. + // + // Each request also returns a set of stream statistics reflecting the + // estimated total number of rows in the read stream. This number is computed + // based on the total table size and the number of active streams in the read + // session, and may change as other streams continue to read data. + ReadRows(*ReadRowsRequest, BigQueryStorage_ReadRowsServer) error + // Creates additional streams for a ReadSession. This API can be used to + // dynamically adjust the parallelism of a batch processing task upwards by + // adding additional workers. + BatchCreateReadSessionStreams(context.Context, *BatchCreateReadSessionStreamsRequest) (*BatchCreateReadSessionStreamsResponse, error) + // Triggers the graceful termination of a single stream in a ReadSession. This + // API can be used to dynamically adjust the parallelism of a batch processing + // task downwards without losing data. + // + // This API does not delete the stream -- it remains visible in the + // ReadSession, and any data processed by the stream is not released to other + // streams. However, no additional data will be assigned to the stream once + // this call completes. Callers must continue reading data on the stream until + // the end of the stream is reached so that data which has already been + // assigned to the stream will be processed. + // + // This method will return an error if there are no other live streams + // in the Session, or if SplitReadStream() has been called on the given + // Stream. + FinalizeStream(context.Context, *FinalizeStreamRequest) (*empty.Empty, error) + // Splits a given read stream into two Streams. These streams are referred to + // as the primary and the residual of the split. The original stream can still + // be read from in the same manner as before. Both of the returned streams can + // also be read from, and the total rows return by both child streams will be + // the same as the rows read from the original stream. + // + // Moreover, the two child streams will be allocated back to back in the + // original Stream. Concretely, it is guaranteed that for streams Original, + // Primary, and Residual, that Original[0-j] = Primary[0-j] and + // Original[j-n] = Residual[0-m] once the streams have been read to + // completion. + // + // This method is guaranteed to be idempotent. + SplitReadStream(context.Context, *SplitReadStreamRequest) (*SplitReadStreamResponse, error) +} + +func RegisterBigQueryStorageServer(s *grpc.Server, srv BigQueryStorageServer) { + s.RegisterService(&_BigQueryStorage_serviceDesc, srv) +} + +func _BigQueryStorage_CreateReadSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateReadSessionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BigQueryStorageServer).CreateReadSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/CreateReadSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BigQueryStorageServer).CreateReadSession(ctx, req.(*CreateReadSessionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BigQueryStorage_ReadRows_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ReadRowsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BigQueryStorageServer).ReadRows(m, &bigQueryStorageReadRowsServer{stream}) +} + +type BigQueryStorage_ReadRowsServer interface { + Send(*ReadRowsResponse) error + grpc.ServerStream +} + +type bigQueryStorageReadRowsServer struct { + grpc.ServerStream +} + +func (x *bigQueryStorageReadRowsServer) Send(m *ReadRowsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BigQueryStorage_BatchCreateReadSessionStreams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BatchCreateReadSessionStreamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BigQueryStorageServer).BatchCreateReadSessionStreams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/BatchCreateReadSessionStreams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BigQueryStorageServer).BatchCreateReadSessionStreams(ctx, req.(*BatchCreateReadSessionStreamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BigQueryStorage_FinalizeStream_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FinalizeStreamRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BigQueryStorageServer).FinalizeStream(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/FinalizeStream", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BigQueryStorageServer).FinalizeStream(ctx, req.(*FinalizeStreamRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BigQueryStorage_SplitReadStream_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SplitReadStreamRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BigQueryStorageServer).SplitReadStream(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.bigquery.storage.v1beta1.BigQueryStorage/SplitReadStream", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BigQueryStorageServer).SplitReadStream(ctx, req.(*SplitReadStreamRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _BigQueryStorage_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.bigquery.storage.v1beta1.BigQueryStorage", + HandlerType: (*BigQueryStorageServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateReadSession", + Handler: _BigQueryStorage_CreateReadSession_Handler, + }, + { + MethodName: "BatchCreateReadSessionStreams", + Handler: _BigQueryStorage_BatchCreateReadSessionStreams_Handler, + }, + { + MethodName: "FinalizeStream", + Handler: _BigQueryStorage_FinalizeStream_Handler, + }, + { + MethodName: "SplitReadStream", + Handler: _BigQueryStorage_SplitReadStream_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ReadRows", + Handler: _BigQueryStorage_ReadRows_Handler, + ServerStreams: true, + }, + }, + Metadata: "google/cloud/bigquery/storage/v1beta1/storage.proto", +} + +func init() { + proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/storage.proto", fileDescriptor_storage_03e769ad972fbb43) +} + +var fileDescriptor_storage_03e769ad972fbb43 = []byte{ + // 1014 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x5b, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0xc6, 0x97, 0x38, 0xc7, 0xad, 0xed, 0x0c, 0x22, 0xb5, 0x1c, 0x21, 0xa2, 0x15, 0x95, + 0x52, 0x10, 0x76, 0xe3, 0x08, 0x0a, 0x0a, 0x14, 0xd9, 0xb9, 0xd0, 0xa8, 0x69, 0x13, 0xc6, 0xa6, + 0x42, 0x79, 0xe8, 0x6a, 0x6c, 0x8f, 0x37, 0x2b, 0x79, 0x77, 0xb6, 0xb3, 0xe3, 0x84, 0xf0, 0xc2, + 0x3b, 0x8f, 0xbc, 0xf0, 0xcc, 0xff, 0xe0, 0x19, 0xc4, 0x8f, 0xe0, 0xbf, 0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0xde, 0xf2, + 0xa7, 0x66, 0x4f, 0xdb, 0xdd, 0x9c, 0x04, 0xee, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x1b, + 0xa2, 0x6a, 0xd4, 0x0d, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/table_reference.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/table_reference.pb.go new file mode 100644 index 000000000..657c4a352 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/table_reference.pb.go @@ -0,0 +1,149 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/bigquery/storage/v1beta1/table_reference.proto + +package storage // import "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Table reference that includes just the 3 strings needed to identify a table. +type TableReference struct { + // The assigned project ID of the project. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The ID of the dataset in the above project. + DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` + // The ID of the table in the above dataset. + TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TableReference) Reset() { *m = TableReference{} } +func (m *TableReference) String() string { return proto.CompactTextString(m) } +func (*TableReference) ProtoMessage() {} +func (*TableReference) Descriptor() ([]byte, []int) { + return fileDescriptor_table_reference_2b434750fb554136, []int{0} +} +func (m *TableReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TableReference.Unmarshal(m, b) +} +func (m *TableReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TableReference.Marshal(b, m, deterministic) +} +func (dst *TableReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_TableReference.Merge(dst, src) +} +func (m *TableReference) XXX_Size() int { + return xxx_messageInfo_TableReference.Size(m) +} +func (m *TableReference) XXX_DiscardUnknown() { + xxx_messageInfo_TableReference.DiscardUnknown(m) +} + +var xxx_messageInfo_TableReference proto.InternalMessageInfo + +func (m *TableReference) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *TableReference) GetDatasetId() string { + if m != nil { + return m.DatasetId + } + return "" +} + +func (m *TableReference) GetTableId() string { + if m != nil { + return m.TableId + } + return "" +} + +// All fields in this message optional. +type TableModifiers struct { + // The snapshot time of the table. If not set, interpreted as now. + SnapshotTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TableModifiers) Reset() { *m = TableModifiers{} } +func (m *TableModifiers) String() string { return proto.CompactTextString(m) } +func (*TableModifiers) ProtoMessage() {} +func (*TableModifiers) Descriptor() ([]byte, []int) { + return fileDescriptor_table_reference_2b434750fb554136, []int{1} +} +func (m *TableModifiers) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TableModifiers.Unmarshal(m, b) +} +func (m *TableModifiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TableModifiers.Marshal(b, m, deterministic) +} +func (dst *TableModifiers) XXX_Merge(src proto.Message) { + xxx_messageInfo_TableModifiers.Merge(dst, src) +} +func (m *TableModifiers) XXX_Size() int { + return xxx_messageInfo_TableModifiers.Size(m) +} +func (m *TableModifiers) XXX_DiscardUnknown() { + xxx_messageInfo_TableModifiers.DiscardUnknown(m) +} + +var xxx_messageInfo_TableModifiers proto.InternalMessageInfo + +func (m *TableModifiers) GetSnapshotTime() *timestamp.Timestamp { + if m != nil { + return m.SnapshotTime + } + return nil +} + +func init() { + proto.RegisterType((*TableReference)(nil), "google.cloud.bigquery.storage.v1beta1.TableReference") + proto.RegisterType((*TableModifiers)(nil), "google.cloud.bigquery.storage.v1beta1.TableModifiers") +} + +func init() { + proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/table_reference.proto", fileDescriptor_table_reference_2b434750fb554136) +} + +var fileDescriptor_table_reference_2b434750fb554136 = []byte{ + // 281 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc4, 0x30, + 0x10, 0xc5, 0xa9, 0x82, 0xba, 0xf1, 0xcf, 0xa1, 0x5e, 0xd6, 0x05, 0x51, 0x16, 0x04, 0xbd, 0x24, + 0xac, 0x1e, 0xf7, 0x20, 0xec, 0xad, 0xa0, 0xa0, 0x65, 0x4f, 0x5e, 0x4a, 0xda, 0x4c, 0x63, 0xa4, + 0xed, 0xd4, 0x24, 0x15, 0xfc, 0x12, 0x7e, 0x66, 0xc9, 0xbf, 0x83, 0x27, 0xf7, 0x38, 0xf3, 0xf8, + 0xbd, 0xf7, 0x26, 0x21, 0x6b, 0x89, 0x28, 0x3b, 0x60, 0x4d, 0x87, 0x93, 0x60, 0xb5, 0x92, 0x9f, + 0x13, 0xe8, 0x6f, 0x66, 0x2c, 0x6a, 0x2e, 0x81, 0x7d, 0xad, 0x6a, 0xb0, 0x7c, 0xc5, 0x2c, 0xaf, + 0x3b, 0xa8, 0x34, 0xb4, 0xa0, 0x61, 0x68, 0x80, 0x8e, 0x1a, 0x2d, 0xe6, 0x37, 0x01, 0xa6, 0x1e, + 0xa6, 0x09, 0xa6, 0x11, 0xa6, 0x11, 0x5e, 0x5c, 0xc5, 0x0c, 0x0f, 0xd5, 0x53, 0xcb, 0xac, 0xea, + 0xc1, 0x58, 0xde, 0x8f, 0xc1, 0x67, 0xa9, 0xc8, 0xd9, 0xd6, 0x05, 0x94, 0xc9, 0x3f, 0xbf, 0x24, + 0x64, 0xd4, 0xf8, 0x01, 0x8d, 0xad, 0x94, 0x98, 0x67, 0xd7, 0xd9, 0xed, 0xac, 0x9c, 0xc5, 0x4d, + 0x21, 0x9c, 0x2c, 0xb8, 0xe5, 0x06, 0xbc, 0xbc, 0x17, 0xe4, 0xb8, 0x29, 0x44, 0x7e, 0x41, 0x8e, + 0x42, 0x61, 0x25, 0xe6, 0xfb, 0x5e, 0x3c, 0xf4, 0x73, 0x21, 0x96, 0xaf, 0x31, 0xea, 0x19, 0x85, + 0x6a, 0x15, 0x68, 0x93, 0x3f, 0x92, 0x53, 0x33, 0xf0, 0xd1, 0xbc, 0xa3, 0xad, 0x5c, 0x31, 0x9f, + 0x76, 0x7c, 0xbf, 0xa0, 0xf1, 0xb8, 0xd4, 0x9a, 0x6e, 0x53, 0xeb, 0xf2, 0x24, 0x01, 0x6e, 0xb5, + 0xf9, 0xc9, 0xc8, 0x5d, 0x83, 0x3d, 0xdd, 0xe9, 0x31, 0x36, 0xe7, 0x7f, 0x2f, 0x7d, 0x71, 0xee, + 0x6f, 0x4f, 0x91, 0x95, 0xd8, 0xf1, 0x41, 0x52, 0xd4, 0x92, 0x49, 0x18, 0x7c, 0x32, 0x0b, 0x12, + 0x1f, 0x95, 0xf9, 0xe7, 0x93, 0xd6, 0x71, 0xae, 0x0f, 0x3c, 0xf8, 0xf0, 0x1b, 0x00, 0x00, 0xff, + 0xff, 0xb3, 0xa1, 0xcb, 0xc3, 0xdc, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go index d6ff15b7e..9c691ef1f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go @@ -49,7 +49,7 @@ func (m *BillingAccount) Reset() { *m = BillingAccount{} } func (m *BillingAccount) String() string { return proto.CompactTextString(m) } func (*BillingAccount) ProtoMessage() {} func (*BillingAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{0} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{0} } func (m *BillingAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BillingAccount.Unmarshal(m, b) @@ -120,7 +120,7 @@ func (m *ProjectBillingInfo) Reset() { *m = ProjectBillingInfo{} } func (m *ProjectBillingInfo) String() string { return proto.CompactTextString(m) } func (*ProjectBillingInfo) ProtoMessage() {} func (*ProjectBillingInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{1} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{1} } func (m *ProjectBillingInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProjectBillingInfo.Unmarshal(m, b) @@ -182,7 +182,7 @@ func (m *GetBillingAccountRequest) Reset() { *m = GetBillingAccountReque func (m *GetBillingAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetBillingAccountRequest) ProtoMessage() {} func (*GetBillingAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{2} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{2} } func (m *GetBillingAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBillingAccountRequest.Unmarshal(m, b) @@ -227,7 +227,7 @@ func (m *ListBillingAccountsRequest) Reset() { *m = ListBillingAccountsR func (m *ListBillingAccountsRequest) String() string { return proto.CompactTextString(m) } func (*ListBillingAccountsRequest) ProtoMessage() {} func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{3} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{3} } func (m *ListBillingAccountsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBillingAccountsRequest.Unmarshal(m, b) @@ -278,7 +278,7 @@ func (m *ListBillingAccountsResponse) Reset() { *m = ListBillingAccounts func (m *ListBillingAccountsResponse) String() string { return proto.CompactTextString(m) } func (*ListBillingAccountsResponse) ProtoMessage() {} func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{4} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{4} } func (m *ListBillingAccountsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBillingAccountsResponse.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *ListProjectBillingInfoRequest) Reset() { *m = ListProjectBillin func (m *ListProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) } func (*ListProjectBillingInfoRequest) ProtoMessage() {} func (*ListProjectBillingInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{5} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{5} } func (m *ListProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProjectBillingInfoRequest.Unmarshal(m, b) @@ -392,7 +392,7 @@ func (m *ListProjectBillingInfoResponse) Reset() { *m = ListProjectBilli func (m *ListProjectBillingInfoResponse) String() string { return proto.CompactTextString(m) } func (*ListProjectBillingInfoResponse) ProtoMessage() {} func (*ListProjectBillingInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{6} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{6} } func (m *ListProjectBillingInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProjectBillingInfoResponse.Unmarshal(m, b) @@ -440,7 +440,7 @@ func (m *GetProjectBillingInfoRequest) Reset() { *m = GetProjectBillingI func (m *GetProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetProjectBillingInfoRequest) ProtoMessage() {} func (*GetProjectBillingInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{7} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{7} } func (m *GetProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetProjectBillingInfoRequest.Unmarshal(m, b) @@ -484,7 +484,7 @@ func (m *UpdateProjectBillingInfoRequest) Reset() { *m = UpdateProjectBi func (m *UpdateProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) } func (*UpdateProjectBillingInfoRequest) ProtoMessage() {} func (*UpdateProjectBillingInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_billing_d0b140531038fe8f, []int{8} + return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{8} } func (m *UpdateProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateProjectBillingInfoRequest.Unmarshal(m, b) @@ -821,10 +821,10 @@ var _CloudBilling_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/billing/v1/cloud_billing.proto", fileDescriptor_cloud_billing_d0b140531038fe8f) + proto.RegisterFile("google/cloud/billing/v1/cloud_billing.proto", fileDescriptor_cloud_billing_868724f2532f6f7f) } -var fileDescriptor_cloud_billing_d0b140531038fe8f = []byte{ +var fileDescriptor_cloud_billing_868724f2532f6f7f = []byte{ // 667 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x4e, 0xd4, 0x40, 0x14, 0xce, 0x00, 0x12, 0xf6, 0x80, 0x20, 0x03, 0xe8, 0x66, 0x17, 0x10, 0xea, 0x0f, 0x28, 0xb1, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go index 66c87b5f6..a70fb3102 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go @@ -67,12 +67,14 @@ func (x ClusterStatus_State) String() string { return proto.EnumName(ClusterStatus_State_name, int32(x)) } func (ClusterStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{8, 0} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{9, 0} } +// The cluster substate. type ClusterStatus_Substate int32 const ( + // The cluster substate is unknown. ClusterStatus_UNSPECIFIED ClusterStatus_Substate = 0 // The cluster is known to be in an unhealthy state // (for example, critical daemons are not running or HDFS capacity is @@ -102,11 +104,11 @@ func (x ClusterStatus_Substate) String() string { return proto.EnumName(ClusterStatus_Substate_name, int32(x)) } func (ClusterStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{8, 1} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{9, 1} } // Describes the identifying information, config, and status of -// a cluster of Google Compute Engine instances. +// a cluster of Compute Engine instances. type Cluster struct { // Required. The Google Cloud Platform project ID that the cluster belongs to. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` @@ -123,11 +125,11 @@ type Cluster struct { // characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). // No more than 32 labels can be associated with a cluster. Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Output-only. Cluster status. + // Output only. Cluster status. Status *ClusterStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - // Output-only. The previous cluster status. + // Output only. The previous cluster status. StatusHistory []*ClusterStatus `protobuf:"bytes,7,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"` - // Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc + // Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc // generates this value when it creates the cluster. ClusterUuid string `protobuf:"bytes,6,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` // Contains cluster daemon metrics such as HDFS and YARN stats. @@ -144,7 +146,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{0} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{0} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -222,23 +224,23 @@ func (m *Cluster) GetMetrics() *ClusterMetrics { // The cluster config. type ClusterConfig struct { - // Optional. A Google Cloud Storage staging bucket used for sharing generated + // Optional. A Cloud Storage staging bucket used for sharing generated // SSH keys and config. If you do not specify a staging bucket, Cloud // Dataproc will determine an appropriate Cloud Storage location (US, // ASIA, or EU) for your cluster's staging bucket according to the Google // Compute Engine zone where your cluster is deployed, and then it will create // and manage this project-level, per-location bucket for you. ConfigBucket string `protobuf:"bytes,1,opt,name=config_bucket,json=configBucket,proto3" json:"config_bucket,omitempty"` - // Required. The shared Google Compute Engine config settings for + // Required. The shared Compute Engine config settings for // all instances in a cluster. GceClusterConfig *GceClusterConfig `protobuf:"bytes,8,opt,name=gce_cluster_config,json=gceClusterConfig,proto3" json:"gce_cluster_config,omitempty"` - // Optional. The Google Compute Engine config settings for + // Optional. The Compute Engine config settings for // the master instance in a cluster. MasterConfig *InstanceGroupConfig `protobuf:"bytes,9,opt,name=master_config,json=masterConfig,proto3" json:"master_config,omitempty"` - // Optional. The Google Compute Engine config settings for + // Optional. The Compute Engine config settings for // worker instances in a cluster. WorkerConfig *InstanceGroupConfig `protobuf:"bytes,10,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` - // Optional. The Google Compute Engine config settings for + // Optional. The Compute Engine config settings for // additional worker instances in a cluster. SecondaryWorkerConfig *InstanceGroupConfig `protobuf:"bytes,12,opt,name=secondary_worker_config,json=secondaryWorkerConfig,proto3" json:"secondary_worker_config,omitempty"` // Optional. The config settings for software inside the cluster. @@ -255,16 +257,18 @@ type ClusterConfig struct { // ... worker specific actions ... // fi InitializationActions []*NodeInitializationAction `protobuf:"bytes,11,rep,name=initialization_actions,json=initializationActions,proto3" json:"initialization_actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Optional. Encryption settings for the cluster. + EncryptionConfig *EncryptionConfig `protobuf:"bytes,15,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } func (*ClusterConfig) ProtoMessage() {} func (*ClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{1} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{1} } func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) @@ -333,10 +337,58 @@ func (m *ClusterConfig) GetInitializationActions() []*NodeInitializationAction { return nil } -// Common config settings for resources of Google Compute Engine cluster +func (m *ClusterConfig) GetEncryptionConfig() *EncryptionConfig { + if m != nil { + return m.EncryptionConfig + } + return nil +} + +// Encryption settings for the cluster. +type EncryptionConfig struct { + // Optional. The Cloud KMS key name to use for PD disk encryption for all + // instances in the cluster. + GcePdKmsKeyName string `protobuf:"bytes,1,opt,name=gce_pd_kms_key_name,json=gcePdKmsKeyName,proto3" json:"gce_pd_kms_key_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} } +func (m *EncryptionConfig) String() string { return proto.CompactTextString(m) } +func (*EncryptionConfig) ProtoMessage() {} +func (*EncryptionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_clusters_2146ef75b3778e2a, []int{2} +} +func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncryptionConfig.Unmarshal(m, b) +} +func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncryptionConfig.Marshal(b, m, deterministic) +} +func (dst *EncryptionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptionConfig.Merge(dst, src) +} +func (m *EncryptionConfig) XXX_Size() int { + return xxx_messageInfo_EncryptionConfig.Size(m) +} +func (m *EncryptionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptionConfig proto.InternalMessageInfo + +func (m *EncryptionConfig) GetGcePdKmsKeyName() string { + if m != nil { + return m.GcePdKmsKeyName + } + return "" +} + +// Common config settings for resources of Compute Engine cluster // instances, applicable to all instances in the cluster. type GceClusterConfig struct { - // Optional. The zone where the Google Compute Engine cluster will be located. + // Optional. The zone where the Compute Engine cluster will be located. // On a create request, it is required in the "global" region. If omitted // in a non-global Cloud Dataproc region, the service will pick a zone in the // corresponding Compute Engine region. On a get request, zone will @@ -348,7 +400,7 @@ type GceClusterConfig struct { // * `projects/[project_id]/zones/[zone]` // * `us-central1-f` ZoneUri string `protobuf:"bytes,1,opt,name=zone_uri,json=zoneUri,proto3" json:"zone_uri,omitempty"` - // Optional. The Google Compute Engine network to be used for machine + // Optional. The Compute Engine network to be used for machine // communications. Cannot be specified with subnetwork_uri. If neither // `network_uri` nor `subnetwork_uri` is specified, the "default" network of // the project is used, if it exists. Cannot be a "Custom Subnet Network" (see @@ -360,7 +412,7 @@ type GceClusterConfig struct { // * `projects/[project_id]/regions/global/default` // * `default` NetworkUri string `protobuf:"bytes,2,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"` - // Optional. The Google Compute Engine subnetwork to be used for machine + // Optional. The Compute Engine subnetwork to be used for machine // communications. Cannot be specified with network_uri. // // A full URL, partial URI, or short name are valid. Examples: @@ -377,8 +429,8 @@ type GceClusterConfig struct { // accessible without external IP addresses. InternalIpOnly bool `protobuf:"varint,7,opt,name=internal_ip_only,json=internalIpOnly,proto3" json:"internal_ip_only,omitempty"` // Optional. The service account of the instances. Defaults to the default - // Google Compute Engine service account. Custom service accounts need - // permissions equivalent to the folloing IAM roles: + // Compute Engine service account. Custom service accounts need + // permissions equivalent to the following IAM roles: // // * roles/logging.logWriter // * roles/storage.objectAdmin @@ -387,7 +439,7 @@ type GceClusterConfig struct { // for more information). // Example: `[account_id]@[project_id].iam.gserviceaccount.com` ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // Optional. The URIs of service account scopes to be included in Google + // Optional. The URIs of service account scopes to be included in // Compute Engine instances. The following base set of scopes is always // included: // @@ -402,10 +454,10 @@ type GceClusterConfig struct { // * https://www.googleapis.com/auth/bigtable.data // * https://www.googleapis.com/auth/devstorage.full_control ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"` - // The Google Compute Engine tags to add to all instances (see + // The Compute Engine tags to add to all instances (see // [Tagging instances](/compute/docs/label-or-tag-resources#tags)). Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` - // The Google Compute Engine metadata entries to add to all instances (see + // The Compute Engine metadata entries to add to all instances (see // [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -417,7 +469,7 @@ func (m *GceClusterConfig) Reset() { *m = GceClusterConfig{} } func (m *GceClusterConfig) String() string { return proto.CompactTextString(m) } func (*GceClusterConfig) ProtoMessage() {} func (*GceClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{2} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{3} } func (m *GceClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GceClusterConfig.Unmarshal(m, b) @@ -493,36 +545,41 @@ func (m *GceClusterConfig) GetMetadata() map[string]string { return nil } -// Optional. The config settings for Google Compute Engine resources in +// Optional. The config settings for Compute Engine resources in // an instance group, such as a master or worker group. type InstanceGroupConfig struct { // Optional. The number of VM instances in the instance group. // For master instance groups, must be set to 1. NumInstances int32 `protobuf:"varint,1,opt,name=num_instances,json=numInstances,proto3" json:"num_instances,omitempty"` - // Optional. The list of instance names. Cloud Dataproc derives the names from - // `cluster_name`, `num_instances`, and the instance group if not set by user - // (recommended practice is to let Cloud Dataproc derive the name). + // Output only. The list of instance names. Cloud Dataproc derives the names + // from `cluster_name`, `num_instances`, and the instance group. InstanceNames []string `protobuf:"bytes,2,rep,name=instance_names,json=instanceNames,proto3" json:"instance_names,omitempty"` - // Output-only. The Google Compute Engine image resource used for cluster - // instances. Inferred from `SoftwareConfig.image_version`. + // Optional. The Compute Engine image resource used for cluster + // instances. It can be specified or may be inferred from + // `SoftwareConfig.image_version`. ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // Optional. The Google Compute Engine machine type used for cluster instances. + // Optional. The Compute Engine machine type used for cluster instances. // // A full URL, partial URI, or short name are valid. Examples: // // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` // * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` // * `n1-standard-2` + // + // **Auto Zone Exception**: If you are using the Cloud Dataproc + // [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) + // feature, you must use the short name of the machine type + // resource, for example, `n1-standard-2`. MachineTypeUri string `protobuf:"bytes,4,opt,name=machine_type_uri,json=machineTypeUri,proto3" json:"machine_type_uri,omitempty"` // Optional. Disk option config settings. DiskConfig *DiskConfig `protobuf:"bytes,5,opt,name=disk_config,json=diskConfig,proto3" json:"disk_config,omitempty"` // Optional. Specifies that this instance group contains preemptible instances. IsPreemptible bool `protobuf:"varint,6,opt,name=is_preemptible,json=isPreemptible,proto3" json:"is_preemptible,omitempty"` - // Output-only. The config for Google Compute Engine Instance Group + // Output only. The config for Compute Engine Instance Group // Manager that manages this group. // This is only used for preemptible instance groups. ManagedGroupConfig *ManagedGroupConfig `protobuf:"bytes,7,opt,name=managed_group_config,json=managedGroupConfig,proto3" json:"managed_group_config,omitempty"` - // Optional. The Google Compute Engine accelerator configuration for these + // Optional. The Compute Engine accelerator configuration for these // instances. // // **Beta Feature**: This feature is still under development. It may be @@ -537,7 +594,7 @@ func (m *InstanceGroupConfig) Reset() { *m = InstanceGroupConfig{} } func (m *InstanceGroupConfig) String() string { return proto.CompactTextString(m) } func (*InstanceGroupConfig) ProtoMessage() {} func (*InstanceGroupConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{3} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{4} } func (m *InstanceGroupConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InstanceGroupConfig.Unmarshal(m, b) @@ -615,10 +672,10 @@ func (m *InstanceGroupConfig) GetAccelerators() []*AcceleratorConfig { // Specifies the resources used to actively manage an instance group. type ManagedGroupConfig struct { - // Output-only. The name of the Instance Template used for the Managed + // Output only. The name of the Instance Template used for the Managed // Instance Group. InstanceTemplateName string `protobuf:"bytes,1,opt,name=instance_template_name,json=instanceTemplateName,proto3" json:"instance_template_name,omitempty"` - // Output-only. The name of the Instance Group Manager for this group. + // Output only. The name of the Instance Group Manager for this group. InstanceGroupManagerName string `protobuf:"bytes,2,opt,name=instance_group_manager_name,json=instanceGroupManagerName,proto3" json:"instance_group_manager_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -629,7 +686,7 @@ func (m *ManagedGroupConfig) Reset() { *m = ManagedGroupConfig{} } func (m *ManagedGroupConfig) String() string { return proto.CompactTextString(m) } func (*ManagedGroupConfig) ProtoMessage() {} func (*ManagedGroupConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{4} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{5} } func (m *ManagedGroupConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManagedGroupConfig.Unmarshal(m, b) @@ -664,16 +721,22 @@ func (m *ManagedGroupConfig) GetInstanceGroupManagerName() string { } // Specifies the type and number of accelerator cards attached to the instances -// of an instance group (see [GPUs on Compute Engine](/compute/docs/gpus/)). +// of an instance. See [GPUs on Compute Engine](/compute/docs/gpus/). type AcceleratorConfig struct { // Full URL, partial URI, or short name of the accelerator type resource to - // expose to this instance. See [Google Compute Engine AcceleratorTypes]( - // /compute/docs/reference/beta/acceleratorTypes) + // expose to this instance. See + // [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes). + // + // Examples: // - // Examples // * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` // * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` // * `nvidia-tesla-k80` + // + // **Auto Zone Exception**: If you are using the Cloud Dataproc + // [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) + // feature, you must use the short name of the accelerator type + // resource, for example, `nvidia-tesla-k80`. AcceleratorTypeUri string `protobuf:"bytes,1,opt,name=accelerator_type_uri,json=acceleratorTypeUri,proto3" json:"accelerator_type_uri,omitempty"` // The number of the accelerator cards of this type exposed to this instance. AcceleratorCount int32 `protobuf:"varint,2,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"` @@ -686,7 +749,7 @@ func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } func (*AcceleratorConfig) ProtoMessage() {} func (*AcceleratorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{5} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{6} } func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) @@ -722,6 +785,10 @@ func (m *AcceleratorConfig) GetAcceleratorCount() int32 { // Specifies the config of disk options for a group of VM instances. type DiskConfig struct { + // Optional. Type of the boot disk (default is "pd-standard"). + // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or + // "pd-standard" (Persistent Disk Hard Disk Drive). + BootDiskType string `protobuf:"bytes,3,opt,name=boot_disk_type,json=bootDiskType,proto3" json:"boot_disk_type,omitempty"` // Optional. Size in GB of the boot disk (default is 500GB). BootDiskSizeGb int32 `protobuf:"varint,1,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"` // Optional. Number of attached SSDs, from 0 to 4 (default is 0). @@ -740,7 +807,7 @@ func (m *DiskConfig) Reset() { *m = DiskConfig{} } func (m *DiskConfig) String() string { return proto.CompactTextString(m) } func (*DiskConfig) ProtoMessage() {} func (*DiskConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{6} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{7} } func (m *DiskConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiskConfig.Unmarshal(m, b) @@ -760,6 +827,13 @@ func (m *DiskConfig) XXX_DiscardUnknown() { var xxx_messageInfo_DiskConfig proto.InternalMessageInfo +func (m *DiskConfig) GetBootDiskType() string { + if m != nil { + return m.BootDiskType + } + return "" +} + func (m *DiskConfig) GetBootDiskSizeGb() int32 { if m != nil { return m.BootDiskSizeGb @@ -777,7 +851,7 @@ func (m *DiskConfig) GetNumLocalSsds() int32 { // Specifies an executable to run on a fully configured node and a // timeout period for executable completion. type NodeInitializationAction struct { - // Required. Google Cloud Storage URI of executable file. + // Required. Cloud Storage URI of executable file. ExecutableFile string `protobuf:"bytes,1,opt,name=executable_file,json=executableFile,proto3" json:"executable_file,omitempty"` // Optional. Amount of time executable has to complete. Default is // 10 minutes. Cluster creation fails with an explanatory error message (the @@ -793,7 +867,7 @@ func (m *NodeInitializationAction) Reset() { *m = NodeInitializationActi func (m *NodeInitializationAction) String() string { return proto.CompactTextString(m) } func (*NodeInitializationAction) ProtoMessage() {} func (*NodeInitializationAction) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{7} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{8} } func (m *NodeInitializationAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeInitializationAction.Unmarshal(m, b) @@ -829,13 +903,13 @@ func (m *NodeInitializationAction) GetExecutionTimeout() *duration.Duration { // The status of a cluster and its instances. type ClusterStatus struct { - // Output-only. The cluster's state. + // Output only. The cluster's state. State ClusterStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.ClusterStatus_State" json:"state,omitempty"` - // Output-only. Optional details of cluster's state. + // Output only. Optional details of cluster's state. Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` - // Output-only. Time when this state was entered. + // Output only. Time when this state was entered. StateStartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"` - // Output-only. Additional state information that includes + // Output only. Additional state information that includes // status reported by the agent. Substate ClusterStatus_Substate `protobuf:"varint,4,opt,name=substate,proto3,enum=google.cloud.dataproc.v1.ClusterStatus_Substate" json:"substate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -847,7 +921,7 @@ func (m *ClusterStatus) Reset() { *m = ClusterStatus{} } func (m *ClusterStatus) String() string { return proto.CompactTextString(m) } func (*ClusterStatus) ProtoMessage() {} func (*ClusterStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{8} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{9} } func (m *ClusterStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterStatus.Unmarshal(m, b) @@ -897,9 +971,11 @@ func (m *ClusterStatus) GetSubstate() ClusterStatus_Substate { // Specifies the selection and config of software inside the cluster. type SoftwareConfig struct { - // Optional. The version of software inside the cluster. It must match the - // regular expression `[0-9]+\.[0-9]+`. If unspecified, it defaults to the - // latest version (see [Cloud Dataproc Versioning](/dataproc/versioning)). + // Optional. The version of software inside the cluster. It must be one of the supported + // [Cloud Dataproc Versions](/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions), + // such as "1.2" (including a subminor version, such as "1.2.29"), or the + // ["preview" version](/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). + // If unspecified, it defaults to the latest version. ImageVersion string `protobuf:"bytes,1,opt,name=image_version,json=imageVersion,proto3" json:"image_version,omitempty"` // Optional. The properties to set on daemon config files. // @@ -929,7 +1005,7 @@ func (m *SoftwareConfig) Reset() { *m = SoftwareConfig{} } func (m *SoftwareConfig) String() string { return proto.CompactTextString(m) } func (*SoftwareConfig) ProtoMessage() {} func (*SoftwareConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{9} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{10} } func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b) @@ -981,7 +1057,7 @@ func (m *ClusterMetrics) Reset() { *m = ClusterMetrics{} } func (m *ClusterMetrics) String() string { return proto.CompactTextString(m) } func (*ClusterMetrics) ProtoMessage() {} func (*ClusterMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{10} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{11} } func (m *ClusterMetrics) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterMetrics.Unmarshal(m, b) @@ -1023,7 +1099,19 @@ type CreateClusterRequest struct { // Required. The Cloud Dataproc region in which to handle the request. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // Required. The cluster to create. - Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + // Optional. A unique id used to identify the request. If the server + // receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same + // id, then the second request will be ignored and the + // first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend + // is returned. + // + // It is recommended to always set this value to a + // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). + // + // The id must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). The maximum length is 40 characters. + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1033,7 +1121,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{11} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{12} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -1074,6 +1162,13 @@ func (m *CreateClusterRequest) GetCluster() *Cluster { return nil } +func (m *CreateClusterRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + // A request to update a cluster. type UpdateClusterRequest struct { // Required. The ID of the Google Cloud Platform project the @@ -1085,6 +1180,15 @@ type UpdateClusterRequest struct { ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // Required. The changes to the cluster. Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` + // Optional. Timeout for graceful YARN decomissioning. Graceful + // decommissioning allows removing nodes from the cluster without + // interrupting jobs in progress. Timeout specifies how long to wait for jobs + // in progress to finish before forcefully removing nodes (and potentially + // interrupting jobs). Default timeout is 0 (for forceful decommission), and + // the maximum allowed timeout is 1 day. + // + // Only supported on Dataproc image versions 1.2 and higher. + GracefulDecommissionTimeout *duration.Duration `protobuf:"bytes,6,opt,name=graceful_decommission_timeout,json=gracefulDecommissionTimeout,proto3" json:"graceful_decommission_timeout,omitempty"` // Required. Specifies the path, relative to `Cluster`, of // the field to update. For example, to change the number of workers // in a cluster to 5, the `update_mask` parameter would be @@ -1132,17 +1236,29 @@ type UpdateClusterRequest struct { // // // - UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Optional. A unique id used to identify the request. If the server + // receives two [UpdateClusterRequest][google.cloud.dataproc.v1.UpdateClusterRequest] requests with the same + // id, then the second request will be ignored and the + // first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the + // backend is returned. + // + // It is recommended to always set this value to a + // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). + // + // The id must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). The maximum length is 40 characters. + RequestId string `protobuf:"bytes,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{12} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{13} } func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) @@ -1190,6 +1306,13 @@ func (m *UpdateClusterRequest) GetCluster() *Cluster { return nil } +func (m *UpdateClusterRequest) GetGracefulDecommissionTimeout() *duration.Duration { + if m != nil { + return m.GracefulDecommissionTimeout + } + return nil +} + func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { return m.UpdateMask @@ -1197,6 +1320,13 @@ func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask { return nil } +func (m *UpdateClusterRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + // A request to delete a cluster. type DeleteClusterRequest struct { // Required. The ID of the Google Cloud Platform project that the cluster @@ -1205,7 +1335,22 @@ type DeleteClusterRequest struct { // Required. The Cloud Dataproc region in which to handle the request. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // Required. The cluster name. - ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + // Optional. Specifying the `cluster_uuid` means the RPC should fail + // (with error NOT_FOUND) if cluster with specified UUID does not exist. + ClusterUuid string `protobuf:"bytes,4,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` + // Optional. A unique id used to identify the request. If the server + // receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same + // id, then the second request will be ignored and the + // first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the + // backend is returned. + // + // It is recommended to always set this value to a + // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). + // + // The id must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). The maximum length is 40 characters. + RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1215,7 +1360,7 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{13} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{14} } func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) @@ -1256,6 +1401,20 @@ func (m *DeleteClusterRequest) GetClusterName() string { return "" } +func (m *DeleteClusterRequest) GetClusterUuid() string { + if m != nil { + return m.ClusterUuid + } + return "" +} + +func (m *DeleteClusterRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + // Request to get the resource representation for a cluster in a project. type GetClusterRequest struct { // Required. The ID of the Google Cloud Platform project that the cluster @@ -1274,7 +1433,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{14} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{15} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -1355,7 +1514,7 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{15} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{16} } func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) @@ -1412,9 +1571,9 @@ func (m *ListClustersRequest) GetPageToken() string { // The list of all clusters in a project. type ListClustersResponse struct { - // Output-only. The clusters in the project. + // Output only. The clusters in the project. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` - // Output-only. This token is included in the response if there are more + // Output only. This token is included in the response if there are more // results to fetch. To fetch additional results, provide this value as the // `page_token` in a subsequent `ListClustersRequest`. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -1427,7 +1586,7 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{16} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{17} } func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) @@ -1479,7 +1638,7 @@ func (m *DiagnoseClusterRequest) Reset() { *m = DiagnoseClusterRequest{} func (m *DiagnoseClusterRequest) String() string { return proto.CompactTextString(m) } func (*DiagnoseClusterRequest) ProtoMessage() {} func (*DiagnoseClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{17} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{18} } func (m *DiagnoseClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiagnoseClusterRequest.Unmarshal(m, b) @@ -1522,7 +1681,7 @@ func (m *DiagnoseClusterRequest) GetClusterName() string { // The location of diagnostic output. type DiagnoseClusterResults struct { - // Output-only. The Google Cloud Storage URI of the diagnostic output. + // Output only. The Cloud Storage URI of the diagnostic output. // The output report is a plain text file with a summary of collected // diagnostics. OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` @@ -1535,7 +1694,7 @@ func (m *DiagnoseClusterResults) Reset() { *m = DiagnoseClusterResults{} func (m *DiagnoseClusterResults) String() string { return proto.CompactTextString(m) } func (*DiagnoseClusterResults) ProtoMessage() {} func (*DiagnoseClusterResults) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_0d7d2ad50ad8bea3, []int{18} + return fileDescriptor_clusters_2146ef75b3778e2a, []int{19} } func (m *DiagnoseClusterResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiagnoseClusterResults.Unmarshal(m, b) @@ -1566,6 +1725,7 @@ func init() { proto.RegisterType((*Cluster)(nil), "google.cloud.dataproc.v1.Cluster") proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.Cluster.LabelsEntry") proto.RegisterType((*ClusterConfig)(nil), "google.cloud.dataproc.v1.ClusterConfig") + proto.RegisterType((*EncryptionConfig)(nil), "google.cloud.dataproc.v1.EncryptionConfig") proto.RegisterType((*GceClusterConfig)(nil), "google.cloud.dataproc.v1.GceClusterConfig") proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.GceClusterConfig.MetadataEntry") proto.RegisterType((*InstanceGroupConfig)(nil), "google.cloud.dataproc.v1.InstanceGroupConfig") @@ -1845,131 +2005,139 @@ var _ClusterController_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dataproc/v1/clusters.proto", fileDescriptor_clusters_0d7d2ad50ad8bea3) -} - -var fileDescriptor_clusters_0d7d2ad50ad8bea3 = []byte{ - // 1944 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x73, 0x23, 0x47, - 0x15, 0xcf, 0x58, 0xfe, 0x90, 0x9f, 0x3e, 0x2c, 0x77, 0x1c, 0xa3, 0x28, 0x09, 0x71, 0x26, 0x81, - 0x75, 0x36, 0x20, 0xed, 0x3a, 0x50, 0x24, 0x6b, 0x12, 0xb0, 0x2d, 0xad, 0xd7, 0xc4, 0x96, 0xcd, - 0x48, 0xda, 0x24, 0x14, 0x30, 0xd5, 0x9a, 0x69, 0x6b, 0x1b, 0x8f, 0x66, 0x26, 0xd3, 0x3d, 0x4e, - 0xbc, 0x5b, 0x7b, 0xe1, 0x40, 0x15, 0x70, 0xa4, 0x8a, 0x33, 0x07, 0xa8, 0xa2, 0x72, 0x84, 0x1b, - 0xff, 0x00, 0x17, 0x8a, 0x0b, 0x47, 0xae, 0x9c, 0xf8, 0x2b, 0xa8, 0xfe, 0x18, 0x69, 0xc6, 0x5f, - 0x92, 0x97, 0xad, 0x9c, 0x34, 0xf3, 0xfa, 0xf7, 0xde, 0xfb, 0xf5, 0x7b, 0xaf, 0x5f, 0xbf, 0x11, - 0xdc, 0x1a, 0x04, 0xc1, 0xc0, 0x23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b, 0xab, 0xa1, 0x16, 0xcc, 0x7b, - 0xb8, 0x4f, 0x3c, 0x56, 0xcd, 0xaf, 0xe5, 0xd6, 0x0b, 0x1b, 0xdf, 0x9e, 0x68, 0xa0, 0xbe, 0x2f, - 0xf1, 0x2d, 0x9f, 0x47, 0x67, 0x96, 0x56, 0x16, 0x3c, 0x18, 0xc7, 0x3c, 0x66, 0xd5, 0xd9, 0x29, - 0x79, 0x74, 0x24, 0xdc, 0xd2, 0x6a, 0xa8, 0x0d, 0x65, 0xf5, 0x64, 0x3f, 0xa2, 0x8c, 0x07, 0xd1, - 0x59, 0x75, 0x41, 0xf2, 0x99, 0xda, 0x50, 0x49, 0xa9, 0x3f, 0x50, 0xda, 0xe9, 0xd8, 0xc5, 0x31, - 0x75, 0xab, 0xf3, 0x99, 0xd8, 0xf5, 0x62, 0xea, 0xa2, 0x6d, 0x58, 0x18, 0x12, 0x1e, 0x51, 0x87, - 0x55, 0x17, 0x25, 0xe9, 0xf5, 0x89, 0xbe, 0x0e, 0x14, 0xde, 0x4a, 0x14, 0x6b, 0xef, 0x43, 0x21, - 0x15, 0x0e, 0x54, 0x81, 0xdc, 0x09, 0x39, 0xd3, 0x99, 0x14, 0x8f, 0x68, 0x05, 0xe6, 0x4e, 0xb1, - 0x17, 0x27, 0xc9, 0x53, 0x2f, 0xf7, 0x66, 0xde, 0x33, 0xcc, 0x7f, 0xcf, 0x42, 0x29, 0x93, 0x13, - 0xf4, 0x26, 0x94, 0x54, 0x56, 0xec, 0x7e, 0xec, 0x9c, 0x10, 0xae, 0xed, 0x14, 0x95, 0x70, 0x5b, - 0xca, 0xd0, 0x27, 0x80, 0x06, 0x0e, 0xb1, 0x93, 0xcd, 0xe9, 0xec, 0xe7, 0xe5, 0x06, 0x6e, 0x5f, - 0xbd, 0x81, 0x5d, 0x87, 0x64, 0x0b, 0xa0, 0x32, 0x38, 0x27, 0x41, 0x16, 0x94, 0x86, 0x38, 0x6d, - 0x54, 0x45, 0xe5, 0x9a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0xf9, 0x5e, 0x78, 0xe8, 0x7b, 0x67, - 0xe8, 0x16, 0x2c, 0x31, 0x12, 0x9d, 0x52, 0x87, 0xd8, 0xd8, 0x71, 0x82, 0xd8, 0xe7, 0xb2, 0x8a, - 0x17, 0xad, 0xb2, 0x16, 0x6f, 0x29, 0x29, 0xfa, 0x0e, 0xac, 0x9e, 0x03, 0xda, 0xcc, 0x09, 0x42, - 0xc2, 0xaa, 0xb9, 0xb5, 0xdc, 0xfa, 0xa2, 0xb5, 0x92, 0xc5, 0x77, 0xe4, 0x1a, 0x42, 0x30, 0xcb, - 0xf1, 0x40, 0xf4, 0x23, 0x81, 0x91, 0xcf, 0xa8, 0x0b, 0xf9, 0x21, 0xe1, 0x58, 0xc4, 0xb5, 0x3a, - 0x27, 0x23, 0xfe, 0xde, 0xf4, 0x27, 0xa6, 0x7e, 0xa0, 0x55, 0x55, 0xe7, 0x1b, 0x59, 0xaa, 0x6d, - 0x42, 0x29, 0xb3, 0x74, 0xa3, 0x2e, 0xf0, 0xf7, 0x1c, 0xbc, 0x78, 0x49, 0x51, 0x8a, 0x5e, 0xe0, - 0xc7, 0x43, 0x9b, 0xea, 0x25, 0x26, 0xad, 0xcd, 0x59, 0x45, 0x3f, 0x1e, 0x26, 0x70, 0x26, 0x72, - 0x92, 0x00, 0xe4, 0x0d, 0xc1, 0xaa, 0x33, 0x72, 0xb7, 0xa5, 0x44, 0x2a, 0xee, 0x08, 0x86, 0x5e, - 0x81, 0x45, 0x3a, 0xc4, 0x03, 0x95, 0xf7, 0x9c, 0x64, 0x90, 0x97, 0x02, 0x9d, 0xb0, 0x21, 0x76, - 0x1e, 0x51, 0x9f, 0xd8, 0xfc, 0x2c, 0x54, 0x98, 0x59, 0x95, 0x07, 0x2d, 0xef, 0x9e, 0x85, 0x12, - 0xd9, 0x82, 0x82, 0x4b, 0xd9, 0x49, 0x72, 0x18, 0xe6, 0xe4, 0x61, 0x78, 0xeb, 0xea, 0x00, 0x36, - 0x29, 0x3b,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 0x17, 0x00, 0x00, + proto.RegisterFile("google/cloud/dataproc/v1/clusters.proto", fileDescriptor_clusters_2146ef75b3778e2a) +} + +var fileDescriptor_clusters_2146ef75b3778e2a = []byte{ + // 2076 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5d, 0x73, 0x1c, 0x47, + 0xd5, 0xce, 0x68, 0xb5, 0xd2, 0xea, 0xec, 0x87, 0x56, 0x1d, 0x45, 0xef, 0x46, 0x89, 0xdf, 0x38, + 0x93, 0x80, 0x85, 0x13, 0x76, 0x6d, 0x05, 0x8a, 0xc4, 0x26, 0x21, 0xb2, 0x76, 0x6d, 0x0b, 0xcb, + 0x6b, 0x31, 0xbb, 0xb2, 0x13, 0x0a, 0x98, 0xea, 0x9d, 0x69, 0xad, 0x1b, 0xcd, 0x57, 0xa6, 0x7b, + 0x94, 0xac, 0x5d, 0xbe, 0x81, 0x2a, 0xaa, 0x28, 0x2e, 0xa9, 0xe2, 0x9a, 0x0b, 0xa8, 0x82, 0x5c, + 0x06, 0xae, 0xf8, 0x03, 0xdc, 0x50, 0xdc, 0xf0, 0x17, 0xb8, 0xe0, 0x67, 0x50, 0xfd, 0x31, 0xbb, + 0x33, 0xab, 0x8f, 0x95, 0x8c, 0x2b, 0x57, 0x9a, 0x39, 0xfd, 0x9c, 0x73, 0x9e, 0xee, 0x3e, 0xfd, + 0xcc, 0xe9, 0x15, 0x5c, 0x19, 0x86, 0xe1, 0xd0, 0x23, 0x2d, 0xc7, 0x0b, 0x13, 0xb7, 0xe5, 0x62, + 0x8e, 0xa3, 0x38, 0x74, 0x5a, 0x47, 0xd7, 0x5b, 0x8e, 0x97, 0x30, 0x4e, 0x62, 0xd6, 0x8c, 0xe2, + 0x90, 0x87, 0xa8, 0xa1, 0x80, 0x4d, 0x09, 0x6c, 0xa6, 0xc0, 0xe6, 0xd1, 0xf5, 0xf5, 0xd7, 0x75,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x12, 0x07, 0xd8, 0xb3, 0x69, 0x64, 0x87, 0x81, 0x27, 0x44, 0xc6, 0xd8, 0x28, + 0x59, 0xb5, 0xd4, 0xbe, 0x13, 0x3d, 0x08, 0xbc, 0x11, 0xba, 0x02, 0xcb, 0x8c, 0xc4, 0x47, 0xd4, + 0x21, 0x36, 0x76, 0x9c, 0x30, 0x09, 0xb8, 0x3c, 0x60, 0x4b, 0x56, 0x4d, 0x9b, 0xb7, 0x94, 0x15, + 0x7d, 0x07, 0xd6, 0xa6, 0x80, 0x36, 0x73, 0xc2, 0x88, 0xb0, 0x46, 0xe1, 0x72, 0x61, 0x63, 0xc9, + 0x5a, 0xcd, 0xe3, 0x7b, 0x72, 0x0c, 0x21, 0x98, 0xe7, 0x78, 0x28, 0xa4, 0x52, 0x60, 0xe4, 0x33, + 0xea, 0x43, 0xc9, 0x27, 0x1c, 0x8b, 0xcd, 0x68, 0x14, 0x65, 0x31, 0xbc, 0x7f, 0xfe, 0xc3, 0xdc, + 0xbc, 0xaf, 0x5d, 0x95, 0x28, 0x8f, 0x23, 0xad, 0xdf, 0x84, 0x6a, 0x6e, 0xe8, 0x42, 0x02, 0xf5, + 0xf7, 0x02, 0xbc, 0x7c, 0xc2, 0x79, 0x11, 0x32, 0x15, 0x24, 0xbe, 0x4d, 0xf5, 0x10, 0x93, 0xd1, + 0x8a, 0x56, 0x25, 0x48, 0xfc, 0x14, 0xce, 0xc4, 0x9e, 0xa4, 0x00, 0x59, 0x0c, 0xac, 0x31, 0x27, + 0x67, 0x5b, 0x4d, 0xad, 0xa2, 0x14, 0x18, 0x7a, 0x0d, 0x96, 0xa8, 0x8f, 0x87, 0x6a, 0xdf, 0x0b, + 0x92, 0x41, 0x49, 0x1a, 0xf4, 0x86, 0xf9, 0xd8, 0x79, 0x4c, 0x03, 0x62, 0xf3, 0x51, 0xa4, 0x30, + 0xf3, 0x6a, 0x1f, 0xb4, 0xbd, 0x3f, 0x8a, 0x24, 0xb2, 0x03, 0x65, 0x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x0c, 0x58, 0x9e, 0x3a, + 0xb1, 0xe8, 0xda, 0x59, 0x97, 0xed, 0x93, 0x04, 0x65, 0x56, 0x21, 0x3c, 0x94, 0x0c, 0xf7, 0xcc, + 0x7b, 0x2f, 0xa0, 0x7c, 0x5d, 0xcd, 0xe0, 0x86, 0x71, 0xf5, 0xd6, 0x67, 0xf0, 0xba, 0x13, 0xfa, + 0xa7, 0xb2, 0xbd, 0x95, 0x5e, 0x8a, 0xd8, 0x9e, 0xf8, 0x1c, 0xef, 0x19, 0x3f, 0xfe, 0x58, 0x43, + 0x87, 0xa1, 0x87, 0x83, 0x61, 0x33, 0x8c, 0x87, 0xad, 0x21, 0x09, 0xe4, 0xc7, 0xba, 0xa5, 0x86, + 0x70, 0x44, 0xd9, 0xf1, 0x7f, 0x5c, 0xdc, 0x4c, 0x9f, 0x07, 0x0b, 0x12, 0xfc, 0xde, 0x7f, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x95, 0xd4, 0x39, 0x3a, 0xe4, 0x18, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go index 414c146f7..c61e4a6fa 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go @@ -80,7 +80,7 @@ func (x LoggingConfig_Level) String() string { return proto.EnumName(LoggingConfig_Level_name, int32(x)) } func (LoggingConfig_Level) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{0, 0} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{0, 0} } // The job state. @@ -143,12 +143,14 @@ func (x JobStatus_State) String() string { return proto.EnumName(JobStatus_State_name, int32(x)) } func (JobStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{9, 0} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{9, 0} } +// The job substate. type JobStatus_Substate int32 const ( + // The job substate is unknown. JobStatus_UNSPECIFIED JobStatus_Substate = 0 // The Job is submitted to the agent. // @@ -185,7 +187,7 @@ func (x JobStatus_Substate) String() string { return proto.EnumName(JobStatus_Substate_name, int32(x)) } func (JobStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{9, 1} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{9, 1} } // The application state, corresponding to @@ -240,7 +242,7 @@ func (x YarnApplication_State) String() string { return proto.EnumName(YarnApplication_State_name, int32(x)) } func (YarnApplication_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{11, 0} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{11, 0} } // A matcher that specifies categories of job states. @@ -271,7 +273,7 @@ func (x ListJobsRequest_JobStateMatcher) String() string { return proto.EnumName(ListJobsRequest_JobStateMatcher_name, int32(x)) } func (ListJobsRequest_JobStateMatcher) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{16, 0} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{16, 0} } // The runtime logging config of the job. @@ -290,7 +292,7 @@ func (m *LoggingConfig) Reset() { *m = LoggingConfig{} } func (m *LoggingConfig) String() string { return proto.CompactTextString(m) } func (*LoggingConfig) ProtoMessage() {} func (*LoggingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{0} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{0} } func (m *LoggingConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoggingConfig.Unmarshal(m, b) @@ -362,7 +364,7 @@ func (m *HadoopJob) Reset() { *m = HadoopJob{} } func (m *HadoopJob) String() string { return proto.CompactTextString(m) } func (*HadoopJob) ProtoMessage() {} func (*HadoopJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{1} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{1} } func (m *HadoopJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HadoopJob.Unmarshal(m, b) @@ -389,12 +391,14 @@ type isHadoopJob_Driver interface { type HadoopJob_MainJarFileUri struct { MainJarFileUri string `protobuf:"bytes,1,opt,name=main_jar_file_uri,json=mainJarFileUri,proto3,oneof"` } + type HadoopJob_MainClass struct { MainClass string `protobuf:"bytes,2,opt,name=main_class,json=mainClass,proto3,oneof"` } func (*HadoopJob_MainJarFileUri) isHadoopJob_Driver() {} -func (*HadoopJob_MainClass) isHadoopJob_Driver() {} + +func (*HadoopJob_MainClass) isHadoopJob_Driver() {} func (m *HadoopJob) GetDriver() isHadoopJob_Driver { if m != nil { @@ -567,7 +571,7 @@ func (m *SparkJob) Reset() { *m = SparkJob{} } func (m *SparkJob) String() string { return proto.CompactTextString(m) } func (*SparkJob) ProtoMessage() {} func (*SparkJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{2} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{2} } func (m *SparkJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SparkJob.Unmarshal(m, b) @@ -594,12 +598,14 @@ type isSparkJob_Driver interface { type SparkJob_MainJarFileUri struct { MainJarFileUri string `protobuf:"bytes,1,opt,name=main_jar_file_uri,json=mainJarFileUri,proto3,oneof"` } + type SparkJob_MainClass struct { MainClass string `protobuf:"bytes,2,opt,name=main_class,json=mainClass,proto3,oneof"` } func (*SparkJob_MainJarFileUri) isSparkJob_Driver() {} -func (*SparkJob_MainClass) isSparkJob_Driver() {} + +func (*SparkJob_MainClass) isSparkJob_Driver() {} func (m *SparkJob) GetDriver() isSparkJob_Driver { if m != nil { @@ -769,7 +775,7 @@ func (m *PySparkJob) Reset() { *m = PySparkJob{} } func (m *PySparkJob) String() string { return proto.CompactTextString(m) } func (*PySparkJob) ProtoMessage() {} func (*PySparkJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{3} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{3} } func (m *PySparkJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PySparkJob.Unmarshal(m, b) @@ -871,7 +877,7 @@ func (m *QueryList) Reset() { *m = QueryList{} } func (m *QueryList) String() string { return proto.CompactTextString(m) } func (*QueryList) ProtoMessage() {} func (*QueryList) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{4} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{4} } func (m *QueryList) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryList.Unmarshal(m, b) @@ -933,7 +939,7 @@ func (m *HiveJob) Reset() { *m = HiveJob{} } func (m *HiveJob) String() string { return proto.CompactTextString(m) } func (*HiveJob) ProtoMessage() {} func (*HiveJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{5} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{5} } func (m *HiveJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HiveJob.Unmarshal(m, b) @@ -960,12 +966,14 @@ type isHiveJob_Queries interface { type HiveJob_QueryFileUri struct { QueryFileUri string `protobuf:"bytes,1,opt,name=query_file_uri,json=queryFileUri,proto3,oneof"` } + type HiveJob_QueryList struct { QueryList *QueryList `protobuf:"bytes,2,opt,name=query_list,json=queryList,proto3,oneof"` } func (*HiveJob_QueryFileUri) isHiveJob_Queries() {} -func (*HiveJob_QueryList) isHiveJob_Queries() {} + +func (*HiveJob_QueryList) isHiveJob_Queries() {} func (m *HiveJob) GetQueries() isHiveJob_Queries { if m != nil { @@ -1116,7 +1124,7 @@ func (m *SparkSqlJob) Reset() { *m = SparkSqlJob{} } func (m *SparkSqlJob) String() string { return proto.CompactTextString(m) } func (*SparkSqlJob) ProtoMessage() {} func (*SparkSqlJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{6} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{6} } func (m *SparkSqlJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SparkSqlJob.Unmarshal(m, b) @@ -1143,12 +1151,14 @@ type isSparkSqlJob_Queries interface { type SparkSqlJob_QueryFileUri struct { QueryFileUri string `protobuf:"bytes,1,opt,name=query_file_uri,json=queryFileUri,proto3,oneof"` } + type SparkSqlJob_QueryList struct { QueryList *QueryList `protobuf:"bytes,2,opt,name=query_list,json=queryList,proto3,oneof"` } func (*SparkSqlJob_QueryFileUri) isSparkSqlJob_Queries() {} -func (*SparkSqlJob_QueryList) isSparkSqlJob_Queries() {} + +func (*SparkSqlJob_QueryList) isSparkSqlJob_Queries() {} func (m *SparkSqlJob) GetQueries() isSparkSqlJob_Queries { if m != nil { @@ -1305,7 +1315,7 @@ func (m *PigJob) Reset() { *m = PigJob{} } func (m *PigJob) String() string { return proto.CompactTextString(m) } func (*PigJob) ProtoMessage() {} func (*PigJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{7} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{7} } func (m *PigJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PigJob.Unmarshal(m, b) @@ -1332,12 +1342,14 @@ type isPigJob_Queries interface { type PigJob_QueryFileUri struct { QueryFileUri string `protobuf:"bytes,1,opt,name=query_file_uri,json=queryFileUri,proto3,oneof"` } + type PigJob_QueryList struct { QueryList *QueryList `protobuf:"bytes,2,opt,name=query_list,json=queryList,proto3,oneof"` } func (*PigJob_QueryFileUri) isPigJob_Queries() {} -func (*PigJob_QueryList) isPigJob_Queries() {} + +func (*PigJob_QueryList) isPigJob_Queries() {} func (m *PigJob) GetQueries() isPigJob_Queries { if m != nil { @@ -1469,7 +1481,7 @@ func _PigJob_OneofSizer(msg proto.Message) (n int) { type JobPlacement struct { // Required. The name of the cluster where the job will be submitted. ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Output-only. A cluster UUID generated by the Cloud Dataproc service when + // Output only. A cluster UUID generated by the Cloud Dataproc service when // the job is submitted. ClusterUuid string `protobuf:"bytes,2,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1481,7 +1493,7 @@ func (m *JobPlacement) Reset() { *m = JobPlacement{} } func (m *JobPlacement) String() string { return proto.CompactTextString(m) } func (*JobPlacement) ProtoMessage() {} func (*JobPlacement) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{8} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{8} } func (m *JobPlacement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobPlacement.Unmarshal(m, b) @@ -1517,14 +1529,14 @@ func (m *JobPlacement) GetClusterUuid() string { // Cloud Dataproc job status. type JobStatus struct { - // Output-only. A state message specifying the overall job state. + // Output only. A state message specifying the overall job state. State JobStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.JobStatus_State" json:"state,omitempty"` - // Output-only. Optional job state details, such as an error + // Output only. Optional job state details, such as an error // description if the state is ERROR. Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - // Output-only. The time when this state was entered. + // Output only. The time when this state was entered. StateStartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"` - // Output-only. Additional state information, which includes + // Output only. Additional state information, which includes // status reported by the agent. Substate JobStatus_Substate `protobuf:"varint,7,opt,name=substate,proto3,enum=google.cloud.dataproc.v1.JobStatus_Substate" json:"substate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1536,7 +1548,7 @@ func (m *JobStatus) Reset() { *m = JobStatus{} } func (m *JobStatus) String() string { return proto.CompactTextString(m) } func (*JobStatus) ProtoMessage() {} func (*JobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{9} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{9} } func (m *JobStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobStatus.Unmarshal(m, b) @@ -1604,7 +1616,7 @@ func (m *JobReference) Reset() { *m = JobReference{} } func (m *JobReference) String() string { return proto.CompactTextString(m) } func (*JobReference) ProtoMessage() {} func (*JobReference) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{10} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{10} } func (m *JobReference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobReference.Unmarshal(m, b) @@ -1664,7 +1676,7 @@ func (m *YarnApplication) Reset() { *m = YarnApplication{} } func (m *YarnApplication) String() string { return proto.CompactTextString(m) } func (*YarnApplication) ProtoMessage() {} func (*YarnApplication) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{11} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{11} } func (m *YarnApplication) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_YarnApplication.Unmarshal(m, b) @@ -1732,21 +1744,21 @@ type Job struct { // *Job_PigJob // *Job_SparkSqlJob TypeJob isJob_TypeJob `protobuf_oneof:"type_job"` - // Output-only. The job status. Additional application-specific + // Output only. The job status. Additional application-specific // status information may be contained in the type_job // and yarn_applications fields. Status *JobStatus `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` - // Output-only. The previous job status. + // Output only. The previous job status. StatusHistory []*JobStatus `protobuf:"bytes,13,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"` - // Output-only. The collection of YARN applications spun up by this job. + // Output only. The collection of YARN applications spun up by this job. // // **Beta** Feature: This report is available for testing purposes only. It may // be changed before final release. YarnApplications []*YarnApplication `protobuf:"bytes,9,rep,name=yarn_applications,json=yarnApplications,proto3" json:"yarn_applications,omitempty"` - // Output-only. A URI pointing to the location of the stdout of the job's + // Output only. A URI pointing to the location of the stdout of the job's // driver program. DriverOutputResourceUri string `protobuf:"bytes,17,opt,name=driver_output_resource_uri,json=driverOutputResourceUri,proto3" json:"driver_output_resource_uri,omitempty"` - // Output-only. If present, the location of miscellaneous control files + // Output only. If present, the location of miscellaneous control files // which may be used as part of job setup and handling. If not present, // control files may be placed in the same location as `driver_output_uri`. DriverControlFilesUri string `protobuf:"bytes,15,opt,name=driver_control_files_uri,json=driverControlFilesUri,proto3" json:"driver_control_files_uri,omitempty"` @@ -1758,17 +1770,21 @@ type Job struct { // No more than 32 labels can be associated with a job. Labels map[string]string `protobuf:"bytes,18,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. Job scheduling configuration. - Scheduling *JobScheduling `protobuf:"bytes,20,opt,name=scheduling,proto3" json:"scheduling,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Scheduling *JobScheduling `protobuf:"bytes,20,opt,name=scheduling,proto3" json:"scheduling,omitempty"` + // Output only. A UUID that uniquely identifies a job within the project + // over time. This is in contrast to a user-settable reference.job_id that + // may be reused over time. + JobUuid string `protobuf:"bytes,22,opt,name=job_uuid,json=jobUuid,proto3" json:"job_uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Job) Reset() { *m = Job{} } func (m *Job) String() string { return proto.CompactTextString(m) } func (*Job) ProtoMessage() {} func (*Job) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{12} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{12} } func (m *Job) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Job.Unmarshal(m, b) @@ -1788,6 +1804,20 @@ func (m *Job) XXX_DiscardUnknown() { var xxx_messageInfo_Job proto.InternalMessageInfo +func (m *Job) GetReference() *JobReference { + if m != nil { + return m.Reference + } + return nil +} + +func (m *Job) GetPlacement() *JobPlacement { + if m != nil { + return m.Placement + } + return nil +} + type isJob_TypeJob interface { isJob_TypeJob() } @@ -1795,27 +1825,37 @@ type isJob_TypeJob interface { type Job_HadoopJob struct { HadoopJob *HadoopJob `protobuf:"bytes,3,opt,name=hadoop_job,json=hadoopJob,proto3,oneof"` } + type Job_SparkJob struct { SparkJob *SparkJob `protobuf:"bytes,4,opt,name=spark_job,json=sparkJob,proto3,oneof"` } + type Job_PysparkJob struct { PysparkJob *PySparkJob `protobuf:"bytes,5,opt,name=pyspark_job,json=pysparkJob,proto3,oneof"` } + type Job_HiveJob struct { HiveJob *HiveJob `protobuf:"bytes,6,opt,name=hive_job,json=hiveJob,proto3,oneof"` } + type Job_PigJob struct { PigJob *PigJob `protobuf:"bytes,7,opt,name=pig_job,json=pigJob,proto3,oneof"` } + type Job_SparkSqlJob struct { SparkSqlJob *SparkSqlJob `protobuf:"bytes,12,opt,name=spark_sql_job,json=sparkSqlJob,proto3,oneof"` } -func (*Job_HadoopJob) isJob_TypeJob() {} -func (*Job_SparkJob) isJob_TypeJob() {} -func (*Job_PysparkJob) isJob_TypeJob() {} -func (*Job_HiveJob) isJob_TypeJob() {} -func (*Job_PigJob) isJob_TypeJob() {} +func (*Job_HadoopJob) isJob_TypeJob() {} + +func (*Job_SparkJob) isJob_TypeJob() {} + +func (*Job_PysparkJob) isJob_TypeJob() {} + +func (*Job_HiveJob) isJob_TypeJob() {} + +func (*Job_PigJob) isJob_TypeJob() {} + func (*Job_SparkSqlJob) isJob_TypeJob() {} func (m *Job) GetTypeJob() isJob_TypeJob { @@ -1825,20 +1865,6 @@ func (m *Job) GetTypeJob() isJob_TypeJob { return nil } -func (m *Job) GetReference() *JobReference { - if m != nil { - return m.Reference - } - return nil -} - -func (m *Job) GetPlacement() *JobPlacement { - if m != nil { - return m.Placement - } - return nil -} - func (m *Job) GetHadoopJob() *HadoopJob { if x, ok := m.GetTypeJob().(*Job_HadoopJob); ok { return x.HadoopJob @@ -1930,6 +1956,13 @@ func (m *Job) GetScheduling() *JobScheduling { return nil } +func (m *Job) GetJobUuid() string { + if m != nil { + return m.JobUuid + } + return "" +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*Job) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _Job_OneofMarshaler, _Job_OneofUnmarshaler, _Job_OneofSizer, []interface{}{ @@ -2081,9 +2114,6 @@ func _Job_OneofSizer(msg proto.Message) (n int) { } // Job scheduling options. -// -// **Beta Feature**: These options are available for testing purposes only. -// They may be changed before final release. type JobScheduling struct { // Optional. Maximum number of times per hour a driver may be restarted as // a result of driver terminating with non-zero code before job is @@ -2103,7 +2133,7 @@ func (m *JobScheduling) Reset() { *m = JobScheduling{} } func (m *JobScheduling) String() string { return proto.CompactTextString(m) } func (*JobScheduling) ProtoMessage() {} func (*JobScheduling) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{13} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{13} } func (m *JobScheduling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobScheduling.Unmarshal(m, b) @@ -2138,7 +2168,19 @@ type SubmitJobRequest struct { // Required. The Cloud Dataproc region in which to handle the request. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // Required. The job resource. - Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` + Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` + // Optional. A unique id used to identify the request. If the server + // receives two [SubmitJobRequest][google.cloud.dataproc.v1.SubmitJobRequest] requests with the same + // id, then the second request will be ignored and the + // first [Job][google.cloud.dataproc.v1.Job] created and stored in the backend + // is returned. + // + // It is recommended to always set this value to a + // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). + // + // The id must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). The maximum length is 40 characters. + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2148,7 +2190,7 @@ func (m *SubmitJobRequest) Reset() { *m = SubmitJobRequest{} } func (m *SubmitJobRequest) String() string { return proto.CompactTextString(m) } func (*SubmitJobRequest) ProtoMessage() {} func (*SubmitJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{14} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{14} } func (m *SubmitJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubmitJobRequest.Unmarshal(m, b) @@ -2189,6 +2231,13 @@ func (m *SubmitJobRequest) GetJob() *Job { return nil } +func (m *SubmitJobRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + // A request to get the resource representation for a job in a project. type GetJobRequest struct { // Required. The ID of the Google Cloud Platform project that the job @@ -2207,7 +2256,7 @@ func (m *GetJobRequest) Reset() { *m = GetJobRequest{} } func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } func (*GetJobRequest) ProtoMessage() {} func (*GetJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{15} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{15} } func (m *GetJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJobRequest.Unmarshal(m, b) @@ -2292,7 +2341,7 @@ func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} } func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) } func (*ListJobsRequest) ProtoMessage() {} func (*ListJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{16} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{16} } func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b) @@ -2388,7 +2437,7 @@ func (m *UpdateJobRequest) Reset() { *m = UpdateJobRequest{} } func (m *UpdateJobRequest) String() string { return proto.CompactTextString(m) } func (*UpdateJobRequest) ProtoMessage() {} func (*UpdateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{17} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{17} } func (m *UpdateJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateJobRequest.Unmarshal(m, b) @@ -2445,7 +2494,7 @@ func (m *UpdateJobRequest) GetUpdateMask() *field_mask.FieldMask { // A list of jobs in a project. type ListJobsResponse struct { - // Output-only. Jobs list. + // Output only. Jobs list. Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // Optional. This token is included in the response if there are more results // to fetch. To fetch additional results, provide this value as the @@ -2460,7 +2509,7 @@ func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} } func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) } func (*ListJobsResponse) ProtoMessage() {} func (*ListJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{18} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{18} } func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b) @@ -2512,7 +2561,7 @@ func (m *CancelJobRequest) Reset() { *m = CancelJobRequest{} } func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) } func (*CancelJobRequest) ProtoMessage() {} func (*CancelJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{19} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{19} } func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b) @@ -2571,7 +2620,7 @@ func (m *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} } func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) } func (*DeleteJobRequest) ProtoMessage() {} func (*DeleteJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_a8158969d454e928, []int{20} + return fileDescriptor_jobs_bc24dcc90a8b7dc8, []int{20} } func (m *DeleteJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteJobRequest.Unmarshal(m, b) @@ -2910,153 +2959,154 @@ var _JobController_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dataproc/v1/jobs.proto", fileDescriptor_jobs_a8158969d454e928) -} - -var fileDescriptor_jobs_a8158969d454e928 = []byte{ - // 2290 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0xcf, 0x73, 0x1b, 0x49, - 0xf5, 0xb7, 0x7e, 0x6b, 0x9e, 0x6c, 0x79, 0xdc, 0x9b, 0xec, 0x57, 0xa5, 0xdd, 0xad, 0xf5, 0x4e, - 0xbe, 0x1b, 0x9c, 0x00, 0x12, 0xd6, 0x42, 0x36, 0x6b, 0x03, 0x59, 0x59, 0x1a, 0x47, 0xf2, 0x2a, - 0xb2, 0x32, 0x92, 0x92, 0x82, 0x2a, 0x6a, 0x32, 0x92, 0xda, 0xf2, 0xd8, 0xa3, 0x99, 0xf1, 0xf4, - 0x8c, 0x2b, 0x4a, 0x2a, 0x17, 0x2e, 0x1c, 0x29, 0xe0, 0x04, 0x55, 0x5c, 0xb8, 0xf1, 0x07, 0xc0, - 0x85, 0xa2, 0xb8, 0x70, 0xe6, 0xc2, 0x81, 0x0b, 0xb5, 0x27, 0x8e, 0xfc, 0x11, 0x54, 0x77, 0xcf, - 0xc8, 0x92, 0x6c, 0xfd, 0x70, 0x02, 0x5b, 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0x88, 0x9c, 0xe2, 0x61, 0x26, 0xb4, - 0x19, 0xda, 0x12, 0x14, 0x3a, 0x44, 0x25, 0x88, 0x9d, 0x6b, 0x86, 0x87, 0x33, 0xe1, 0xcd, 0xd0, - 0x56, 0xba, 0xf0, 0xed, 0x65, 0xe3, 0x60, 0x5e, 0x15, 0x6e, 0xbb, 0x13, 0xbe, 0x1f, 0x92, 0x6c, - 0x88, 0xb1, 0x39, 0x74, 0x13, 0x36, 0x6a, 0xf2, 0x13, 0xb9, 0xa6, 0xb6, 0xeb, 0xcd, 0x86, 0x5c, - 0xaa, 0xee, 0x57, 0xe5, 0xb2, 0xb8, 0x82, 0x12, 0x10, 0x29, 0xd6, 0x6a, 0x62, 0x08, 0x09, 0x10, - 0x6b, 0x29, 0xc5, 0x92, 0x2c, 0x86, 0xe9, 0xb0, 0x2c, 0xef, 0xb5, 0x1f, 0x8a, 0x11, 0x94, 0x84, - 0x68, 0xb5, 0xbe, 0x7f, 0x28, 0x46, 0xe9, 0xe8, 0x69, 0x51, 0xa9, 0x8b, 0x31, 0x2a, 0x96, 0x15, - 0xe5, 0x50, 0x11, 0xe3, 0x74, 0xb8, 0x5f, 0x6c, 0x15, 0x6b, 0x62, 0x82, 0x3a, 0x3a, 0xdc, 0xdf, - 0x17, 0x93, 0xd2, 0x5f, 0x22, 0x20, 0x54, 0xb4, 0x9e, 0x65, 0xd9, 0x07, 0x56, 0x07, 0x7d, 0x13, - 0x36, 0x06, 0x9a, 0x6e, 0xaa, 0x27, 0x9a, 0xa3, 0x1e, 0xe9, 0x06, 0x56, 0x3d, 0x47, 0xe7, 0x1b, - 0xad, 0xac, 0x28, 0x69, 0x2a, 0x3a, 0xd0, 0x9c, 0x7d, 0xdd, 0xc0, 0x6d, 0x47, 0x47, 0xef, 0x03, - 0x30, 0xe5, 0xae, 0xa1, 0x11, 0xc2, 0xb6, 0x4e, 0xb5, 0x04, 0x3a, 0x57, 0xa2, 0x53, 0x08, 0x41, - 0x54, 0x73, 0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x23, 0x52, 0x99, 0x91, 0x48, - 0xc1, 0x47, 0xd8, 0xc1, 0x66, 0x17, 0xa3, 0xf7, 0xd8, 0x45, 0x3d, 0xc1, 0x5d, 0x57, 0xd5, 0x7b, - 0x3e, 0x85, 0x04, 0x7f, 0xa6, 0xda, 0x43, 0x37, 0x21, 0x7e, 0x62, 0x75, 0xd4, 0x11, 0x75, 0x62, - 0x27, 0x56, 0xa7, 0xda, 0x93, 0xfe, 0x10, 0x86, 0xf5, 0x1f, 0x69, 0x8e, 0x59, 0xb4, 0x6d, 0x43, - 0xef, 0xb2, 0x5f, 0x21, 0x68, 0xef, 0x3b, 0x46, 0x43, 0x36, 0x46, 0x72, 0x40, 0x27, 0xfe, 0x18, - 0xcf, 0xcf, 0x86, 0x6a, 0xca, 0xdb, 0x24, 0xa9, 0xb2, 0x90, 0xb4, 0x1d, 0xab, 0xef, 0x60, 0x42, - 0x58, 0x52, 0x0b, 0x2b, 0xa3, 0x6f, 0x4a, 0x71, 0xd7, 0xd1, 0xba, 0xa7, 0xf4, 0xd2, 0x7b, 0x8e, - 0x91, 0x89, 0x72, 0x8a, 0x07, 0x73, 0x6d, 0xc7, 0x90, 0x7e, 0xb6, 0x08, 0xe9, 0x04, 0x44, 0xea, - 0xf2, 0x53, 0x8e, 0x72, 0x5d, 0x7e, 0xaa, 0x36, 0x8b, 0x4f, 0x38, 0xb0, 0x13, 0x47, 0x1b, 0x41, - 0xab, 0x90, 0x2c, 0x96, 0x4a, 0x72, 0xa3, 0xc5, 0xe0, 0x1b, 0xa3, 0x40, 0x8c, 0x8a, 0xf6, 0xab, - 0xf5, 0x6a, 0xb3, 0x22, 0x97, 0xc5, 0x38, 0xc5, 0x80, 0x82, 0xc7, 0x40, 0x07, 0x88, 0x7f, 0x56, - 0x65, 0x88, 0x27, 0xa5, 0x7f, 0x24, 0x21, 0x42, 0xcb, 0x43, 0x19, 0x04, 0x27, 0x80, 0x80, 0x1d, - 0x58, 0xaa, 0x70, 0x7b, 0x2e, 0x8d, 0x47, 0x80, 0x29, 0x17, 0x86, 0xd4, 0x8b, 0x1d, 0x64, 0x03, - 0xbf, 0x76, 0xcc, 0xf7, 0x32, 0xca, 0x1d, 0xca, 0x85, 0x21, 0x2d, 0x41, 0xc7, 0xec, 0xd5, 0xad, - 0x9e, 0x58, 0x1d, 0x76, 0xbc, 0x73, 0x4b, 0xd0, 0xe8, 0x85, 0x4e, 0x4b, 0xd0, 0xf1, 0xe8, 0xd7, - 0x8a, 0x22, 0x08, 0x84, 0x36, 0x0a, 0xcc, 0x49, 0x94, 0x39, 0x91, 0x16, 0xbf, 0x12, 0x2b, 0x2b, - 0x4a, 0x92, 0x04, 0xaf, 0xad, 0x87, 0x90, 0xb2, 0x87, 0x17, 0x4e, 0x62, 0xcc, 0xc9, 0xff, 0x2f, - 0xf3, 0x36, 0xa9, 0xac, 0x28, 0xe0, 0x9b, 0x52, 0x47, 0x3f, 0x84, 0x24, 0x7b, 0x03, 0x51, 0x2f, - 0x3c, 0xc3, 0x7c, 0xb0, 0xb0, 0x91, 0xad, 0xac, 0x28, 0x89, 0x63, 0xff, 0x2d, 0xb0, 0x0b, 0x09, + proto.RegisterFile("google/cloud/dataproc/v1/jobs.proto", fileDescriptor_jobs_bc24dcc90a8b7dc8) +} + +var fileDescriptor_jobs_bc24dcc90a8b7dc8 = []byte{ + // 2320 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0xcf, 0x73, 0x23, 0x47, + 0xf5, 0xb7, 0x7e, 0x6b, 0x9e, 0x6c, 0x79, 0xdc, 0xd9, 0xcd, 0x57, 0x5f, 0x25, 0xa9, 0x38, 0xb3, + 0x64, 0xf1, 0x2e, 0x20, 0x61, 0x05, 0x36, 0x1b, 0x1b, 0xd8, 0xc8, 0xd2, 0x78, 0x25, 0x47, 0x2b, + 0x6b, 0x47, 0xd2, 0x6e, 0x41, 0x15, 0x35, 0x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, 0x34, 0xdd, 0x54, 0x4f, 0x34, 0x47, 0x3d, 0xd2, 0x0d, 0xac, 0x7a, 0x8e, 0xce, 0x37, + 0x5a, 0x59, 0x51, 0xd2, 0x54, 0x74, 0xa0, 0x39, 0xfb, 0xba, 0x81, 0xdb, 0x8e, 0x8e, 0xde, 0x05, + 0x60, 0xca, 0x5d, 0x43, 0x23, 0x84, 0x6d, 0x9d, 0x6a, 0x09, 0x74, 0xae, 0x44, 0xa7, 0x10, 0x82, + 0xa8, 0xe6, 0xf4, 0x49, 0x26, 0xb2, 0x19, 0xd9, 0x12, 0x14, 0x36, 0x46, 0x12, 0xac, 0x8d, 0x3b, + 0x27, 0x99, 0x28, 0x13, 0xa6, 0x4e, 0x46, 0x7e, 0x09, 0x7a, 0x0b, 0x84, 0x0b, 0x79, 0x8c, 0xc9, + 0x93, 0x47, 0x81, 0xf0, 0x3d, 0x58, 0xd5, 0x9c, 0xee, 0xb1, 0x7e, 0xee, 0xcb, 0xe3, 0xdc, 0xde, + 0x9f, 0x63, 0x2a, 0x4d, 0x00, 0xdb, 0xb1, 0x6c, 0xec, 0xb8, 0x3a, 0x26, 0x99, 0x04, 0xe3, 0xc6, + 0x07, 0xb3, 0x31, 0x19, 0x6d, 0x3f, 0xd7, 0x18, 0x59, 0x71, 0x4a, 0x8c, 0xb9, 0x41, 0x75, 0x48, + 0x1b, 0x1c, 0x3c, 0xb5, 0xcb, 0xd0, 0xcb, 0x24, 0x37, 0x43, 0x5b, 0xa9, 0xc2, 0x37, 0x97, 0x04, + 0x5b, 0x59, 0x33, 0xc6, 0x3f, 0xb3, 0x3f, 0x84, 0xf5, 0xa9, 0xe5, 0xae, 0x20, 0xd6, 0x8d, 0x71, + 0x62, 0x09, 0x63, 0x4c, 0xd9, 0x4b, 0x42, 0x9c, 0xf3, 0x55, 0xfa, 0x73, 0x04, 0x92, 0x4d, 0x5b, + 0x73, 0x4e, 0xbf, 0x3e, 0x00, 0x2a, 0x57, 0x00, 0x58, 0x98,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a, 0xad, 0xad, 0xc8, 0xa2, + 0x20, 0x55, 0x20, 0x19, 0xec, 0x00, 0xad, 0x43, 0x6a, 0x32, 0xce, 0x35, 0x10, 0x9a, 0xed, 0xbd, + 0x47, 0xd5, 0x16, 0x5d, 0x24, 0x84, 0x00, 0xe2, 0x8f, 0xdb, 0x72, 0x5b, 0x2e, 0x8b, 0x61, 0x24, + 0xc2, 0x6a, 0xb3, 0x55, 0xac, 0xc9, 0x34, 0x86, 0x56, 0xbb, 0x29, 0x46, 0xa4, 0x32, 0x23, 0x91, + 0x82, 0x8f, 0xb0, 0x83, 0xcd, 0x2e, 0x46, 0xef, 0xb0, 0x8b, 0x7a, 0x82, 0xbb, 0xae, 0xaa, 0xf7, + 0x7c, 0x0a, 0x09, 0xfe, 0x4c, 0xb5, 0x87, 0x6e, 0x42, 0xfc, 0xc4, 0xea, 0xa8, 0x23, 0xea, 0xc4, + 0x4e, 0xac, 0x4e, 0xb5, 0x27, 0xfd, 0x21, 0x0c, 0xeb, 0x3f, 0xd6, 0x1c, 0xb3, 0x68, 0xdb, 0x86, + 0xde, 0x65, 0xbf, 0x42, 0xd0, 0xde, 0x77, 0x8c, 0x86, 0x6c, 0x8c, 0xe4, 0x80, 0x4e, 0xfc, 0x31, + 0x9e, 0x9f, 0x0d, 0xd5, 0x94, 0xb7, 0x49, 0x52, 0x65, 0x21, 0x69, 0x3b, 0x56, 0xdf, 0xc1, 0x84, + 0xb0, 0xa4, 0x16, 0x56, 0x46, 0xdf, 0x94, 0xe2, 0xae, 0xa3, 0x75, 0x4f, 0xe9, 0xa5, 0xf7, 0x1c, + 0x23, 0x13, 0xe5, 0x14, 0x0f, 0xe6, 0xda, 0x8e, 0x21, 0xfd, 0x7c, 0x11, 0xd2, 0x09, 0x88, 0xd4, + 0xe5, 0xa7, 0x1c, 0xe5, 0xba, 0xfc, 0x54, 0x6d, 0x16, 0x9f, 0x70, 0x60, 0x27, 0x8e, 0x36, 0x82, + 0x56, 0x21, 0x59, 0x2c, 0x95, 0xe4, 0x46, 0x8b, 0xc1, 0x37, 0x46, 0x81, 0x18, 0x15, 0xed, 0x57, + 0xeb, 0xd5, 0x66, 0x45, 0x2e, 0x8b, 0x71, 0x8a, 0x01, 0x05, 0x8f, 0x81, 0x0e, 0x10, 0xff, 0xa4, + 0xca, 0x10, 0x4f, 0x4a, 0xff, 0x4e, 0x42, 0x84, 0x96, 0x87, 0x32, 0x08, 0x4e, 0x00, 0x01, 0x3b, + 0xb0, 0x54, 0xe1, 0xf6, 0x5c, 0x1a, 0x8f, 0x00, 0x53, 0x2e, 0x0c, 0xa9, 0x17, 0x3b, 0xc8, 0x06, + 0x7e, 0xed, 0x98, 0xef, 0x65, 0x94, 0x3b, 0x94, 0x0b, 0x43, 0x5a, 0x82, 0x8e, 0xd9, 0xab, 0x5b, + 0x3d, 0xb1, 0x3a, 0xec, 0x78, 0xe7, 0x96, 0xa0, 0xd1, 0x0b, 0x9d, 0x96, 0xa0, 0xe3, 0xd1, 0xaf, + 0x15, 0x45, 0x10, 0x08, 0x6d, 0x14, 0x98, 0x93, 0x28, 0x73, 0x22, 0x2d, 0x7e, 0x25, 0x56, 0x56, + 0x94, 0x24, 0x09, 0x5e, 0x5b, 0x0f, 0x21, 0x65, 0x0f, 0x2f, 0x9c, 0xc4, 0x98, 0x93, 0x6f, 0x2c, + 0xf3, 0x36, 0xa9, 0xac, 0x28, 0xe0, 0x9b, 0x52, 0x47, 0x3f, 0x82, 0x24, 0x7b, 0x03, 0x51, 0x2f, + 0x3c, 0xc3, 0xbc, 0xb7, 0xb0, 0x91, 0xad, 0xac, 0x28, 0x89, 0x63, 0xff, 0x2d, 0xb0, 0x0b, 0x09, 0x5b, 0xef, 0x33, 0x73, 0x5e, 0x3f, 0x36, 0x17, 0x55, 0xae, 0xca, 0x8a, 0x12, 0xb7, 0x79, 0xe5, - 0xff, 0x0c, 0xd6, 0xf8, 0x1e, 0xc8, 0x99, 0xc1, 0x5c, 0xac, 0x32, 0x17, 0x1f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, 0xfd, 0x26, 0x04, 0xc9, 0x80, 0x76, 0xe8, 0xce, + 0xd2, 0xf7, 0x3d, 0x7b, 0x77, 0x19, 0x55, 0xce, 0x62, 0xe9, 0x43, 0x16, 0xe5, 0x36, 0xca, 0x5f, + 0x33, 0x4a, 0xf4, 0xdb, 0x10, 0x08, 0xa3, 0x3b, 0x3e, 0x0f, 0xcd, 0xe9, 0x44, 0xb0, 0xe8, 0xdc, + 0x64, 0x16, 0xd1, 0x83, 0xc2, 0x2b, 0x9f, 0xdb, 0x0e, 0xbb, 0xef, 0xbf, 0x0b, 0x81, 0x30, 0xba, + 0x44, 0xf3, 0xe2, 0x9b, 0xbe, 0x69, 0x8b, 0xe2, 0x3b, 0x60, 0xf1, 0x95, 0xa5, 0x07, 0xaf, 0x1c, + 0x5f, 0x97, 0xad, 0x48, 0x69, 0xf7, 0xcb, 0x10, 0x08, 0xa3, 0x7b, 0x38, 0x2f, 0xc8, 0xe9, 0xcb, + 0x9a, 0x7d, 0xf3, 0x52, 0xe6, 0x92, 0x07, 0xb6, 0x3b, 0x0c, 0x58, 0x77, 0xf7, 0x95, 0x4f, 0x6f, + 0x6f, 0x00, 0x6f, 0x77, 0xad, 0xc1, 0xcc, 0x50, 0xf6, 0x04, 0xca, 0x9f, 0x06, 0x5d, 0xb5, 0x11, + 0xfa, 0xc9, 0xc7, 0xbe, 0x5a, 0xdf, 0x32, 0x34, 0xb3, 0x9f, 0xb3, 0x9c, 0x7e, 0xbe, 0x8f, 0x4d, + 0x16, 0x53, 0x9e, 0x8b, 0x34, 0x5b, 0x27, 0x97, 0xff, 0x3b, 0xbe, 0x1b, 0x8c, 0x3b, 0x71, 0xa6, + 0xfc, 0xc1, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x58, 0x75, 0xc0, 0x49, 0x1f, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go index b64cec485..6e913991c 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go @@ -6,10 +6,8 @@ package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" -import _ "github.com/golang/protobuf/ptypes/empty" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" -import _ "google.golang.org/genproto/googleapis/longrunning" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -53,18 +51,18 @@ func (x ClusterOperationStatus_State) String() string { return proto.EnumName(ClusterOperationStatus_State_name, int32(x)) } func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_operations_1e77fee15a492d08, []int{0, 0} + return fileDescriptor_operations_d8a4fb2f83354fa3, []int{0, 0} } // The status of the operation. type ClusterOperationStatus struct { - // Output-only. A message containing the operation state. + // Output only. A message containing the operation state. State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.ClusterOperationStatus_State" json:"state,omitempty"` - // Output-only. A message containing the detailed operation state. + // Output only. A message containing the detailed operation state. InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState,proto3" json:"inner_state,omitempty"` - // Output-only.A message containing any operation metadata details. + // Output only. A message containing any operation metadata details. Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` - // Output-only. The time this state was entered. + // Output only. The time this state was entered. StateStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -75,7 +73,7 @@ func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) } func (*ClusterOperationStatus) ProtoMessage() {} func (*ClusterOperationStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_1e77fee15a492d08, []int{0} + return fileDescriptor_operations_d8a4fb2f83354fa3, []int{0} } func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b) @@ -125,21 +123,21 @@ func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp { // Metadata describing the operation. type ClusterOperationMetadata struct { - // Output-only. Name of the cluster for the operation. + // Output only. Name of the cluster for the operation. ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Output-only. Cluster UUID for the operation. + // Output only. Cluster UUID for the operation. ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` - // Output-only. Current operation status. + // Output only. Current operation status. Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` - // Output-only. The previous operation status. + // Output only. The previous operation status. StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"` - // Output-only. The operation type. + // Output only. The operation type. OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` - // Output-only. Short description of operation. + // Output only. Short description of operation. Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` - // Output-only. Labels associated with the operation + // Output only. Labels associated with the operation Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Output-only. Errors encountered during operation execution. + // Output only. Errors encountered during operation execution. Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -150,7 +148,7 @@ func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetada func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) } func (*ClusterOperationMetadata) ProtoMessage() {} func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_1e77fee15a492d08, []int{1} + return fileDescriptor_operations_d8a4fb2f83354fa3, []int{1} } func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b) @@ -234,44 +232,43 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/dataproc/v1/operations.proto", fileDescriptor_operations_1e77fee15a492d08) + proto.RegisterFile("google/cloud/dataproc/v1/operations.proto", fileDescriptor_operations_d8a4fb2f83354fa3) } -var fileDescriptor_operations_1e77fee15a492d08 = []byte{ - // 553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x61, 0x6b, 0xd3, 0x40, - 0x18, 0x36, 0xcd, 0xb6, 0xb6, 0x97, 0xb5, 0x96, 0x43, 0xe4, 0x88, 0x83, 0xc5, 0x8a, 0x50, 0xbf, - 0x24, 0x6e, 0x82, 0x4c, 0x05, 0x91, 0xd9, 0xe2, 0xc4, 0x99, 0x96, 0x6c, 0x75, 0xe0, 0x97, 0x72, - 0x6d, 0xce, 0x18, 0x4c, 0xee, 0xc2, 0xdd, 0xa5, 0x92, 0x9f, 0xe3, 0xef, 0xf4, 0x8b, 0xdc, 0x5d, - 0x52, 0xea, 0xe6, 0x40, 0xfd, 0xd4, 0x7b, 0xde, 0xf7, 0x79, 0x9e, 0xbe, 0xcf, 0xcb, 0xdb, 0x82, - 0x27, 0x09, 0x63, 0x49, 0x46, 0x82, 0x55, 0xc6, 0xca, 0x38, 0x88, 0xb1, 0xc4, 0x05, 0x67, 0xab, - 0x60, 0x7d, 0x14, 0xb0, 0x82, 0x70, 0x2c, 0x53, 0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 0xdf, 0x48, 0xa5, 0x0f, 0xbb, 0x1b, 0xa9, 0x27, 0xbc, 0x07, 0x76, - 0xd7, 0x38, 0x2b, 0x9b, 0xc3, 0x34, 0xe0, 0x65, 0xeb, 0xc4, 0x3a, 0x15, 0xe0, 0x60, 0xc5, 0xf2, - 0x5b, 0x67, 0x3c, 0xbd, 0xbb, 0x99, 0x4e, 0xcc, 0xd4, 0x15, 0xce, 0xac, 0xcf, 0x6f, 0x6a, 0x72, - 0xc2, 0x32, 0x4c, 0x13, 0x9f, 0xf1, 0x24, 0x48, 0x08, 0xd5, 0x37, 0x1a, 0x98, 0x16, 0x2e, 0x52, - 0x71, 0xf3, 0x9f, 0xe3, 0x55, 0xf3, 0x5e, 0xee, 0x69, 0xf2, 0xb3, 0x5f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x09, 0x4c, 0x3d, 0x35, 0x65, 0x04, 0x00, 0x00, +var fileDescriptor_operations_d8a4fb2f83354fa3 = []byte{ + // 531 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x5d, 0x8b, 0xd3, 0x40, + 0x14, 0x35, 0xcd, 0xee, 0xb6, 0xbd, 0xd9, 0xd6, 0x32, 0x88, 0x0c, 0x65, 0x61, 0x63, 0x41, 0xa8, + 0x2f, 0x89, 0xbb, 0x82, 0xac, 0x0a, 0x22, 0x6b, 0x8b, 0x2b, 0xae, 0x69, 0xc9, 0x6e, 0x5d, 0xf0, + 0xa5, 0x4c, 0x9b, 0x31, 0x06, 0xd3, 0x99, 0x30, 0x33, 0xa9, 0xf4, 0xe7, 0xf8, 0x3b, 0x7d, 0x91, + 0x99, 0x49, 0x4a, 0xfd, 0x58, 0x50, 0x9f, 0x3a, 0xf7, 0xde, 0x73, 0x4e, 0xce, 0xb9, 0xdc, 0xc2, + 0xa3, 0x94, 0xf3, 0x34, 0xa7, 0xe1, 0x32, 0xe7, 0x65,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 0x63, 0xfd, 0x44, 0xf7, 0x60, 0x7f, 0x4d, 0xf2, 0xb2, 0x3e, 0x4c, + 0x5b, 0x3c, 0x6f, 0x9c, 0x39, 0xe7, 0x12, 0x8e, 0x96, 0x7c, 0x75, 0xab, 0xc7, 0xf3, 0xbb, 0x5b, + 0x77, 0x72, 0xaa, 0xaf, 0x70, 0xea, 0x7c, 0x7c, 0x55, 0x81, 0x53, 0x9e, 0x13, 0x96, 0x06, 0x5c, + 0xa4, 0x61, 0x4a, 0x99, 0xb9, 0xd1, 0xd0, 0x8e, 0x48, 0x91, 0xc9, 0xdf, 0xff, 0xf7, 0x2f, 0xea, + 0xf7, 0xe2, 0xc0, 0x80, 0x9f, 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff, 0xad, 0xc8, 0x5f, 0xe0, 0x23, + 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/workflow_templates.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/workflow_templates.pb.go new file mode 100644 index 000000000..fc96e3965 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/workflow_templates.pb.go @@ -0,0 +1,2517 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/dataproc/v1/workflow_templates.proto + +package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import longrunning "google.golang.org/genproto/googleapis/longrunning" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The operation state. +type WorkflowMetadata_State int32 + +const ( + // Unused. + WorkflowMetadata_UNKNOWN WorkflowMetadata_State = 0 + // The operation has been created. + WorkflowMetadata_PENDING WorkflowMetadata_State = 1 + // The operation is running. + WorkflowMetadata_RUNNING WorkflowMetadata_State = 2 + // The operation is done; either cancelled or completed. + WorkflowMetadata_DONE WorkflowMetadata_State = 3 +) + +var WorkflowMetadata_State_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PENDING", + 2: "RUNNING", + 3: "DONE", +} +var WorkflowMetadata_State_value = map[string]int32{ + "UNKNOWN": 0, + "PENDING": 1, + "RUNNING": 2, + "DONE": 3, +} + +func (x WorkflowMetadata_State) String() string { + return proto.EnumName(WorkflowMetadata_State_name, int32(x)) +} +func (WorkflowMetadata_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{9, 0} +} + +// The workflow node state. +type WorkflowNode_NodeState int32 + +const ( + // State is unspecified. + WorkflowNode_NODE_STATE_UNSPECIFIED WorkflowNode_NodeState = 0 + // The node is awaiting prerequisite node to finish. + WorkflowNode_BLOCKED WorkflowNode_NodeState = 1 + // The node is runnable but not running. + WorkflowNode_RUNNABLE WorkflowNode_NodeState = 2 + // The node is running. + WorkflowNode_RUNNING WorkflowNode_NodeState = 3 + // The node completed successfully. + WorkflowNode_COMPLETED WorkflowNode_NodeState = 4 + // The node failed. A node can be marked FAILED because + // its ancestor or peer failed. + WorkflowNode_FAILED WorkflowNode_NodeState = 5 +) + +var WorkflowNode_NodeState_name = map[int32]string{ + 0: "NODE_STATE_UNSPECIFIED", + 1: "BLOCKED", + 2: "RUNNABLE", + 3: "RUNNING", + 4: "COMPLETED", + 5: "FAILED", +} +var WorkflowNode_NodeState_value = map[string]int32{ + "NODE_STATE_UNSPECIFIED": 0, + "BLOCKED": 1, + "RUNNABLE": 2, + "RUNNING": 3, + "COMPLETED": 4, + "FAILED": 5, +} + +func (x WorkflowNode_NodeState) String() string { + return proto.EnumName(WorkflowNode_NodeState_name, int32(x)) +} +func (WorkflowNode_NodeState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{12, 0} +} + +// A Cloud Dataproc workflow template resource. +type WorkflowTemplate struct { + // Required. The template id. + // + // The id must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). Cannot begin or end with underscore + // or hyphen. Must consist of between 3 and 50 characters. + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // Output only. The "resource name" of the template, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. Used to perform a consistent read-modify-write. + // + // This field should be left blank for a `CreateWorkflowTemplate` request. It + // is required for an `UpdateWorkflowTemplate` request, and must match the + // current server version. A typical update template flow would fetch the + // current template with a `GetWorkflowTemplate` request, which will return + // the current template with the `version` field filled in with the + // current server version. The user updates other fields in the template, + // then returns it as part of the `UpdateWorkflowTemplate` request. + Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + // Output only. The time template was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time template was last updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Optional. The labels to associate with this template. These labels + // will be propagated to all jobs and clusters created by the workflow + // instance. + // + // Label **keys** must contain 1 to 63 characters, and must conform to + // [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). + // + // Label **values** may be empty, but, if present, must contain 1 to 63 + // characters, and must conform to + // [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). + // + // No more than 32 labels can be associated with a template. + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Required. WorkflowTemplate scheduling information. + Placement *WorkflowTemplatePlacement `protobuf:"bytes,7,opt,name=placement,proto3" json:"placement,omitempty"` + // Required. The Directed Acyclic Graph of Jobs to submit. + Jobs []*OrderedJob `protobuf:"bytes,8,rep,name=jobs,proto3" json:"jobs,omitempty"` + // Optional. Template parameters whose values are substituted into the + // template. Values for parameters must be provided when the template is + // instantiated. + Parameters []*TemplateParameter `protobuf:"bytes,9,rep,name=parameters,proto3" json:"parameters,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowTemplate) Reset() { *m = WorkflowTemplate{} } +func (m *WorkflowTemplate) String() string { return proto.CompactTextString(m) } +func (*WorkflowTemplate) ProtoMessage() {} +func (*WorkflowTemplate) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{0} +} +func (m *WorkflowTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowTemplate.Unmarshal(m, b) +} +func (m *WorkflowTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowTemplate.Marshal(b, m, deterministic) +} +func (dst *WorkflowTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowTemplate.Merge(dst, src) +} +func (m *WorkflowTemplate) XXX_Size() int { + return xxx_messageInfo_WorkflowTemplate.Size(m) +} +func (m *WorkflowTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowTemplate.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowTemplate proto.InternalMessageInfo + +func (m *WorkflowTemplate) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *WorkflowTemplate) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *WorkflowTemplate) GetVersion() int32 { + if m != nil { + return m.Version + } + return 0 +} + +func (m *WorkflowTemplate) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *WorkflowTemplate) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +func (m *WorkflowTemplate) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *WorkflowTemplate) GetPlacement() *WorkflowTemplatePlacement { + if m != nil { + return m.Placement + } + return nil +} + +func (m *WorkflowTemplate) GetJobs() []*OrderedJob { + if m != nil { + return m.Jobs + } + return nil +} + +func (m *WorkflowTemplate) GetParameters() []*TemplateParameter { + if m != nil { + return m.Parameters + } + return nil +} + +// Specifies workflow execution target. +// +// Either `managed_cluster` or `cluster_selector` is required. +type WorkflowTemplatePlacement struct { + // Required. Specifies where workflow executes; either on a managed + // cluster or an existing cluster chosen by labels. + // + // Types that are valid to be assigned to Placement: + // *WorkflowTemplatePlacement_ManagedCluster + // *WorkflowTemplatePlacement_ClusterSelector + Placement isWorkflowTemplatePlacement_Placement `protobuf_oneof:"placement"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowTemplatePlacement) Reset() { *m = WorkflowTemplatePlacement{} } +func (m *WorkflowTemplatePlacement) String() string { return proto.CompactTextString(m) } +func (*WorkflowTemplatePlacement) ProtoMessage() {} +func (*WorkflowTemplatePlacement) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{1} +} +func (m *WorkflowTemplatePlacement) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowTemplatePlacement.Unmarshal(m, b) +} +func (m *WorkflowTemplatePlacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowTemplatePlacement.Marshal(b, m, deterministic) +} +func (dst *WorkflowTemplatePlacement) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowTemplatePlacement.Merge(dst, src) +} +func (m *WorkflowTemplatePlacement) XXX_Size() int { + return xxx_messageInfo_WorkflowTemplatePlacement.Size(m) +} +func (m *WorkflowTemplatePlacement) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowTemplatePlacement.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowTemplatePlacement proto.InternalMessageInfo + +type isWorkflowTemplatePlacement_Placement interface { + isWorkflowTemplatePlacement_Placement() +} + +type WorkflowTemplatePlacement_ManagedCluster struct { + ManagedCluster *ManagedCluster `protobuf:"bytes,1,opt,name=managed_cluster,json=managedCluster,proto3,oneof"` +} + +type WorkflowTemplatePlacement_ClusterSelector struct { + ClusterSelector *ClusterSelector `protobuf:"bytes,2,opt,name=cluster_selector,json=clusterSelector,proto3,oneof"` +} + +func (*WorkflowTemplatePlacement_ManagedCluster) isWorkflowTemplatePlacement_Placement() {} + +func (*WorkflowTemplatePlacement_ClusterSelector) isWorkflowTemplatePlacement_Placement() {} + +func (m *WorkflowTemplatePlacement) GetPlacement() isWorkflowTemplatePlacement_Placement { + if m != nil { + return m.Placement + } + return nil +} + +func (m *WorkflowTemplatePlacement) GetManagedCluster() *ManagedCluster { + if x, ok := m.GetPlacement().(*WorkflowTemplatePlacement_ManagedCluster); ok { + return x.ManagedCluster + } + return nil +} + +func (m *WorkflowTemplatePlacement) GetClusterSelector() *ClusterSelector { + if x, ok := m.GetPlacement().(*WorkflowTemplatePlacement_ClusterSelector); ok { + return x.ClusterSelector + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*WorkflowTemplatePlacement) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _WorkflowTemplatePlacement_OneofMarshaler, _WorkflowTemplatePlacement_OneofUnmarshaler, _WorkflowTemplatePlacement_OneofSizer, []interface{}{ + (*WorkflowTemplatePlacement_ManagedCluster)(nil), + (*WorkflowTemplatePlacement_ClusterSelector)(nil), + } +} + +func _WorkflowTemplatePlacement_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*WorkflowTemplatePlacement) + // placement + switch x := m.Placement.(type) { + case *WorkflowTemplatePlacement_ManagedCluster: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ManagedCluster); err != nil { + return err + } + case *WorkflowTemplatePlacement_ClusterSelector: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ClusterSelector); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("WorkflowTemplatePlacement.Placement has unexpected type %T", x) + } + return nil +} + +func _WorkflowTemplatePlacement_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*WorkflowTemplatePlacement) + switch tag { + case 1: // placement.managed_cluster + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ManagedCluster) + err := b.DecodeMessage(msg) + m.Placement = &WorkflowTemplatePlacement_ManagedCluster{msg} + return true, err + case 2: // placement.cluster_selector + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ClusterSelector) + err := b.DecodeMessage(msg) + m.Placement = &WorkflowTemplatePlacement_ClusterSelector{msg} + return true, err + default: + return false, nil + } +} + +func _WorkflowTemplatePlacement_OneofSizer(msg proto.Message) (n int) { + m := msg.(*WorkflowTemplatePlacement) + // placement + switch x := m.Placement.(type) { + case *WorkflowTemplatePlacement_ManagedCluster: + s := proto.Size(x.ManagedCluster) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *WorkflowTemplatePlacement_ClusterSelector: + s := proto.Size(x.ClusterSelector) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Cluster that is managed by the workflow. +type ManagedCluster struct { + // Required. The cluster name prefix. A unique cluster name will be formed by + // appending a random suffix. + // + // The name must contain only lower-case letters (a-z), numbers (0-9), + // and hyphens (-). Must begin with a letter. Cannot begin or end with + // hyphen. Must consist of between 2 and 35 characters. + ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + // Required. The cluster configuration. + Config *ClusterConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` + // Optional. The labels to associate with this cluster. + // + // Label keys must be between 1 and 63 characters long, and must conform to + // the following PCRE regular expression: + // [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} + // + // Label values must be between 1 and 63 characters long, and must conform to + // the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} + // + // No more than 32 labels can be associated with a given cluster. + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManagedCluster) Reset() { *m = ManagedCluster{} } +func (m *ManagedCluster) String() string { return proto.CompactTextString(m) } +func (*ManagedCluster) ProtoMessage() {} +func (*ManagedCluster) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{2} +} +func (m *ManagedCluster) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManagedCluster.Unmarshal(m, b) +} +func (m *ManagedCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManagedCluster.Marshal(b, m, deterministic) +} +func (dst *ManagedCluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagedCluster.Merge(dst, src) +} +func (m *ManagedCluster) XXX_Size() int { + return xxx_messageInfo_ManagedCluster.Size(m) +} +func (m *ManagedCluster) XXX_DiscardUnknown() { + xxx_messageInfo_ManagedCluster.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagedCluster proto.InternalMessageInfo + +func (m *ManagedCluster) GetClusterName() string { + if m != nil { + return m.ClusterName + } + return "" +} + +func (m *ManagedCluster) GetConfig() *ClusterConfig { + if m != nil { + return m.Config + } + return nil +} + +func (m *ManagedCluster) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +// A selector that chooses target cluster for jobs based on metadata. +type ClusterSelector struct { + // Optional. The zone where workflow process executes. This parameter does not + // affect the selection of the cluster. + // + // If unspecified, the zone of the first cluster matching the selector + // is used. + Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"` + // Required. The cluster labels. Cluster must have all labels + // to match. + ClusterLabels map[string]string `protobuf:"bytes,2,rep,name=cluster_labels,json=clusterLabels,proto3" json:"cluster_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClusterSelector) Reset() { *m = ClusterSelector{} } +func (m *ClusterSelector) String() string { return proto.CompactTextString(m) } +func (*ClusterSelector) ProtoMessage() {} +func (*ClusterSelector) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{3} +} +func (m *ClusterSelector) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClusterSelector.Unmarshal(m, b) +} +func (m *ClusterSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClusterSelector.Marshal(b, m, deterministic) +} +func (dst *ClusterSelector) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterSelector.Merge(dst, src) +} +func (m *ClusterSelector) XXX_Size() int { + return xxx_messageInfo_ClusterSelector.Size(m) +} +func (m *ClusterSelector) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterSelector.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterSelector proto.InternalMessageInfo + +func (m *ClusterSelector) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +func (m *ClusterSelector) GetClusterLabels() map[string]string { + if m != nil { + return m.ClusterLabels + } + return nil +} + +// A job executed by the workflow. +type OrderedJob struct { + // Required. The step id. The id must be unique among all jobs + // within the template. + // + // The step id is used as prefix for job id, as job + // `goog-dataproc-workflow-step-id` label, and in + // [prerequisiteStepIds][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids] field from other + // steps. + // + // The id must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). Cannot begin or end with underscore + // or hyphen. Must consist of between 3 and 50 characters. + StepId string `protobuf:"bytes,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"` + // Required. The job definition. + // + // Types that are valid to be assigned to JobType: + // *OrderedJob_HadoopJob + // *OrderedJob_SparkJob + // *OrderedJob_PysparkJob + // *OrderedJob_HiveJob + // *OrderedJob_PigJob + // *OrderedJob_SparkSqlJob + JobType isOrderedJob_JobType `protobuf_oneof:"job_type"` + // Optional. The labels to associate with this job. + // + // Label keys must be between 1 and 63 characters long, and must conform to + // the following regular expression: + // [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} + // + // Label values must be between 1 and 63 characters long, and must conform to + // the following regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} + // + // No more than 32 labels can be associated with a given job. + Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Optional. Job scheduling configuration. + Scheduling *JobScheduling `protobuf:"bytes,9,opt,name=scheduling,proto3" json:"scheduling,omitempty"` + // Optional. The optional list of prerequisite job step_ids. + // If not specified, the job will start at the beginning of workflow. + PrerequisiteStepIds []string `protobuf:"bytes,10,rep,name=prerequisite_step_ids,json=prerequisiteStepIds,proto3" json:"prerequisite_step_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OrderedJob) Reset() { *m = OrderedJob{} } +func (m *OrderedJob) String() string { return proto.CompactTextString(m) } +func (*OrderedJob) ProtoMessage() {} +func (*OrderedJob) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{4} +} +func (m *OrderedJob) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OrderedJob.Unmarshal(m, b) +} +func (m *OrderedJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OrderedJob.Marshal(b, m, deterministic) +} +func (dst *OrderedJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_OrderedJob.Merge(dst, src) +} +func (m *OrderedJob) XXX_Size() int { + return xxx_messageInfo_OrderedJob.Size(m) +} +func (m *OrderedJob) XXX_DiscardUnknown() { + xxx_messageInfo_OrderedJob.DiscardUnknown(m) +} + +var xxx_messageInfo_OrderedJob proto.InternalMessageInfo + +func (m *OrderedJob) GetStepId() string { + if m != nil { + return m.StepId + } + return "" +} + +type isOrderedJob_JobType interface { + isOrderedJob_JobType() +} + +type OrderedJob_HadoopJob struct { + HadoopJob *HadoopJob `protobuf:"bytes,2,opt,name=hadoop_job,json=hadoopJob,proto3,oneof"` +} + +type OrderedJob_SparkJob struct { + SparkJob *SparkJob `protobuf:"bytes,3,opt,name=spark_job,json=sparkJob,proto3,oneof"` +} + +type OrderedJob_PysparkJob struct { + PysparkJob *PySparkJob `protobuf:"bytes,4,opt,name=pyspark_job,json=pysparkJob,proto3,oneof"` +} + +type OrderedJob_HiveJob struct { + HiveJob *HiveJob `protobuf:"bytes,5,opt,name=hive_job,json=hiveJob,proto3,oneof"` +} + +type OrderedJob_PigJob struct { + PigJob *PigJob `protobuf:"bytes,6,opt,name=pig_job,json=pigJob,proto3,oneof"` +} + +type OrderedJob_SparkSqlJob struct { + SparkSqlJob *SparkSqlJob `protobuf:"bytes,7,opt,name=spark_sql_job,json=sparkSqlJob,proto3,oneof"` +} + +func (*OrderedJob_HadoopJob) isOrderedJob_JobType() {} + +func (*OrderedJob_SparkJob) isOrderedJob_JobType() {} + +func (*OrderedJob_PysparkJob) isOrderedJob_JobType() {} + +func (*OrderedJob_HiveJob) isOrderedJob_JobType() {} + +func (*OrderedJob_PigJob) isOrderedJob_JobType() {} + +func (*OrderedJob_SparkSqlJob) isOrderedJob_JobType() {} + +func (m *OrderedJob) GetJobType() isOrderedJob_JobType { + if m != nil { + return m.JobType + } + return nil +} + +func (m *OrderedJob) GetHadoopJob() *HadoopJob { + if x, ok := m.GetJobType().(*OrderedJob_HadoopJob); ok { + return x.HadoopJob + } + return nil +} + +func (m *OrderedJob) GetSparkJob() *SparkJob { + if x, ok := m.GetJobType().(*OrderedJob_SparkJob); ok { + return x.SparkJob + } + return nil +} + +func (m *OrderedJob) GetPysparkJob() *PySparkJob { + if x, ok := m.GetJobType().(*OrderedJob_PysparkJob); ok { + return x.PysparkJob + } + return nil +} + +func (m *OrderedJob) GetHiveJob() *HiveJob { + if x, ok := m.GetJobType().(*OrderedJob_HiveJob); ok { + return x.HiveJob + } + return nil +} + +func (m *OrderedJob) GetPigJob() *PigJob { + if x, ok := m.GetJobType().(*OrderedJob_PigJob); ok { + return x.PigJob + } + return nil +} + +func (m *OrderedJob) GetSparkSqlJob() *SparkSqlJob { + if x, ok := m.GetJobType().(*OrderedJob_SparkSqlJob); ok { + return x.SparkSqlJob + } + return nil +} + +func (m *OrderedJob) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *OrderedJob) GetScheduling() *JobScheduling { + if m != nil { + return m.Scheduling + } + return nil +} + +func (m *OrderedJob) GetPrerequisiteStepIds() []string { + if m != nil { + return m.PrerequisiteStepIds + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*OrderedJob) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _OrderedJob_OneofMarshaler, _OrderedJob_OneofUnmarshaler, _OrderedJob_OneofSizer, []interface{}{ + (*OrderedJob_HadoopJob)(nil), + (*OrderedJob_SparkJob)(nil), + (*OrderedJob_PysparkJob)(nil), + (*OrderedJob_HiveJob)(nil), + (*OrderedJob_PigJob)(nil), + (*OrderedJob_SparkSqlJob)(nil), + } +} + +func _OrderedJob_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*OrderedJob) + // job_type + switch x := m.JobType.(type) { + case *OrderedJob_HadoopJob: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HadoopJob); err != nil { + return err + } + case *OrderedJob_SparkJob: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SparkJob); err != nil { + return err + } + case *OrderedJob_PysparkJob: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PysparkJob); err != nil { + return err + } + case *OrderedJob_HiveJob: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HiveJob); err != nil { + return err + } + case *OrderedJob_PigJob: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PigJob); err != nil { + return err + } + case *OrderedJob_SparkSqlJob: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.SparkSqlJob); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("OrderedJob.JobType has unexpected type %T", x) + } + return nil +} + +func _OrderedJob_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*OrderedJob) + switch tag { + case 2: // job_type.hadoop_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HadoopJob) + err := b.DecodeMessage(msg) + m.JobType = &OrderedJob_HadoopJob{msg} + return true, err + case 3: // job_type.spark_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(SparkJob) + err := b.DecodeMessage(msg) + m.JobType = &OrderedJob_SparkJob{msg} + return true, err + case 4: // job_type.pyspark_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PySparkJob) + err := b.DecodeMessage(msg) + m.JobType = &OrderedJob_PysparkJob{msg} + return true, err + case 5: // job_type.hive_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HiveJob) + err := b.DecodeMessage(msg) + m.JobType = &OrderedJob_HiveJob{msg} + return true, err + case 6: // job_type.pig_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PigJob) + err := b.DecodeMessage(msg) + m.JobType = &OrderedJob_PigJob{msg} + return true, err + case 7: // job_type.spark_sql_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(SparkSqlJob) + err := b.DecodeMessage(msg) + m.JobType = &OrderedJob_SparkSqlJob{msg} + return true, err + default: + return false, nil + } +} + +func _OrderedJob_OneofSizer(msg proto.Message) (n int) { + m := msg.(*OrderedJob) + // job_type + switch x := m.JobType.(type) { + case *OrderedJob_HadoopJob: + s := proto.Size(x.HadoopJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *OrderedJob_SparkJob: + s := proto.Size(x.SparkJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *OrderedJob_PysparkJob: + s := proto.Size(x.PysparkJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *OrderedJob_HiveJob: + s := proto.Size(x.HiveJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *OrderedJob_PigJob: + s := proto.Size(x.PigJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *OrderedJob_SparkSqlJob: + s := proto.Size(x.SparkSqlJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A configurable parameter that replaces one or more fields in the template. +// Parameterizable fields: +// - Labels +// - File uris +// - Job properties +// - Job arguments +// - Script variables +// - Main class (in HadoopJob and SparkJob) +// - Zone (in ClusterSelector) +type TemplateParameter struct { + // Required. Parameter name. + // The parameter name is used as the key, and paired with the + // parameter value, which are passed to the template when the template + // is instantiated. + // The name must contain only capital letters (A-Z), numbers (0-9), and + // underscores (_), and must not start with a number. The maximum length is + // 40 characters. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. Paths to all fields that the parameter replaces. + // A field is allowed to appear in at most one parameter's list of field + // paths. + // + // A field path is similar in syntax to a [google.protobuf.FieldMask][google.protobuf.FieldMask]. + // For example, a field path that references the zone field of a workflow + // template's cluster selector would be specified as + // `placement.clusterSelector.zone`. + // + // Also, field paths can reference fields using the following syntax: + // + // * Values in maps can be referenced by key: + // * labels['key'] + // * placement.clusterSelector.clusterLabels['key'] + // * placement.managedCluster.labels['key'] + // * placement.clusterSelector.clusterLabels['key'] + // * jobs['step-id'].labels['key'] + // + // * Jobs in the jobs list can be referenced by step-id: + // * jobs['step-id'].hadoopJob.mainJarFileUri + // * jobs['step-id'].hiveJob.queryFileUri + // * jobs['step-id'].pySparkJob.mainPythonFileUri + // * jobs['step-id'].hadoopJob.jarFileUris[0] + // * jobs['step-id'].hadoopJob.archiveUris[0] + // * jobs['step-id'].hadoopJob.fileUris[0] + // * jobs['step-id'].pySparkJob.pythonFileUris[0] + // + // * Items in repeated fields can be referenced by a zero-based index: + // * jobs['step-id'].sparkJob.args[0] + // + // * Other examples: + // * jobs['step-id'].hadoopJob.properties['key'] + // * jobs['step-id'].hadoopJob.args[0] + // * jobs['step-id'].hiveJob.scriptVariables['key'] + // * jobs['step-id'].hadoopJob.mainJarFileUri + // * placement.clusterSelector.zone + // + // It may not be possible to parameterize maps and repeated fields in their + // entirety since only individual map values and individual items in repeated + // fields can be referenced. For example, the following field paths are + // invalid: + // + // - placement.clusterSelector.clusterLabels + // - jobs['step-id'].sparkJob.args + Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + // Optional. Brief description of the parameter. + // Must not exceed 1024 characters. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Optional. Validation rules to be applied to this parameter's value. + Validation *ParameterValidation `protobuf:"bytes,4,opt,name=validation,proto3" json:"validation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TemplateParameter) Reset() { *m = TemplateParameter{} } +func (m *TemplateParameter) String() string { return proto.CompactTextString(m) } +func (*TemplateParameter) ProtoMessage() {} +func (*TemplateParameter) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{5} +} +func (m *TemplateParameter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TemplateParameter.Unmarshal(m, b) +} +func (m *TemplateParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TemplateParameter.Marshal(b, m, deterministic) +} +func (dst *TemplateParameter) XXX_Merge(src proto.Message) { + xxx_messageInfo_TemplateParameter.Merge(dst, src) +} +func (m *TemplateParameter) XXX_Size() int { + return xxx_messageInfo_TemplateParameter.Size(m) +} +func (m *TemplateParameter) XXX_DiscardUnknown() { + xxx_messageInfo_TemplateParameter.DiscardUnknown(m) +} + +var xxx_messageInfo_TemplateParameter proto.InternalMessageInfo + +func (m *TemplateParameter) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *TemplateParameter) GetFields() []string { + if m != nil { + return m.Fields + } + return nil +} + +func (m *TemplateParameter) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *TemplateParameter) GetValidation() *ParameterValidation { + if m != nil { + return m.Validation + } + return nil +} + +// Configuration for parameter validation. +type ParameterValidation struct { + // Required. The type of validation to be performed. + // + // Types that are valid to be assigned to ValidationType: + // *ParameterValidation_Regex + // *ParameterValidation_Values + ValidationType isParameterValidation_ValidationType `protobuf_oneof:"validation_type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParameterValidation) Reset() { *m = ParameterValidation{} } +func (m *ParameterValidation) String() string { return proto.CompactTextString(m) } +func (*ParameterValidation) ProtoMessage() {} +func (*ParameterValidation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{6} +} +func (m *ParameterValidation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParameterValidation.Unmarshal(m, b) +} +func (m *ParameterValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParameterValidation.Marshal(b, m, deterministic) +} +func (dst *ParameterValidation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParameterValidation.Merge(dst, src) +} +func (m *ParameterValidation) XXX_Size() int { + return xxx_messageInfo_ParameterValidation.Size(m) +} +func (m *ParameterValidation) XXX_DiscardUnknown() { + xxx_messageInfo_ParameterValidation.DiscardUnknown(m) +} + +var xxx_messageInfo_ParameterValidation proto.InternalMessageInfo + +type isParameterValidation_ValidationType interface { + isParameterValidation_ValidationType() +} + +type ParameterValidation_Regex struct { + Regex *RegexValidation `protobuf:"bytes,1,opt,name=regex,proto3,oneof"` +} + +type ParameterValidation_Values struct { + Values *ValueValidation `protobuf:"bytes,2,opt,name=values,proto3,oneof"` +} + +func (*ParameterValidation_Regex) isParameterValidation_ValidationType() {} + +func (*ParameterValidation_Values) isParameterValidation_ValidationType() {} + +func (m *ParameterValidation) GetValidationType() isParameterValidation_ValidationType { + if m != nil { + return m.ValidationType + } + return nil +} + +func (m *ParameterValidation) GetRegex() *RegexValidation { + if x, ok := m.GetValidationType().(*ParameterValidation_Regex); ok { + return x.Regex + } + return nil +} + +func (m *ParameterValidation) GetValues() *ValueValidation { + if x, ok := m.GetValidationType().(*ParameterValidation_Values); ok { + return x.Values + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ParameterValidation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ParameterValidation_OneofMarshaler, _ParameterValidation_OneofUnmarshaler, _ParameterValidation_OneofSizer, []interface{}{ + (*ParameterValidation_Regex)(nil), + (*ParameterValidation_Values)(nil), + } +} + +func _ParameterValidation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ParameterValidation) + // validation_type + switch x := m.ValidationType.(type) { + case *ParameterValidation_Regex: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Regex); err != nil { + return err + } + case *ParameterValidation_Values: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Values); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ParameterValidation.ValidationType has unexpected type %T", x) + } + return nil +} + +func _ParameterValidation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ParameterValidation) + switch tag { + case 1: // validation_type.regex + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(RegexValidation) + err := b.DecodeMessage(msg) + m.ValidationType = &ParameterValidation_Regex{msg} + return true, err + case 2: // validation_type.values + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ValueValidation) + err := b.DecodeMessage(msg) + m.ValidationType = &ParameterValidation_Values{msg} + return true, err + default: + return false, nil + } +} + +func _ParameterValidation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ParameterValidation) + // validation_type + switch x := m.ValidationType.(type) { + case *ParameterValidation_Regex: + s := proto.Size(x.Regex) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ParameterValidation_Values: + s := proto.Size(x.Values) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Validation based on regular expressions. +type RegexValidation struct { + // Required. RE2 regular expressions used to validate the parameter's value. + // The value must match the regex in its entirety (substring + // matches are not sufficient). + Regexes []string `protobuf:"bytes,1,rep,name=regexes,proto3" json:"regexes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegexValidation) Reset() { *m = RegexValidation{} } +func (m *RegexValidation) String() string { return proto.CompactTextString(m) } +func (*RegexValidation) ProtoMessage() {} +func (*RegexValidation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{7} +} +func (m *RegexValidation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegexValidation.Unmarshal(m, b) +} +func (m *RegexValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegexValidation.Marshal(b, m, deterministic) +} +func (dst *RegexValidation) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegexValidation.Merge(dst, src) +} +func (m *RegexValidation) XXX_Size() int { + return xxx_messageInfo_RegexValidation.Size(m) +} +func (m *RegexValidation) XXX_DiscardUnknown() { + xxx_messageInfo_RegexValidation.DiscardUnknown(m) +} + +var xxx_messageInfo_RegexValidation proto.InternalMessageInfo + +func (m *RegexValidation) GetRegexes() []string { + if m != nil { + return m.Regexes + } + return nil +} + +// Validation based on a list of allowed values. +type ValueValidation struct { + // Required. List of allowed values for the parameter. + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ValueValidation) Reset() { *m = ValueValidation{} } +func (m *ValueValidation) String() string { return proto.CompactTextString(m) } +func (*ValueValidation) ProtoMessage() {} +func (*ValueValidation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{8} +} +func (m *ValueValidation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ValueValidation.Unmarshal(m, b) +} +func (m *ValueValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ValueValidation.Marshal(b, m, deterministic) +} +func (dst *ValueValidation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValueValidation.Merge(dst, src) +} +func (m *ValueValidation) XXX_Size() int { + return xxx_messageInfo_ValueValidation.Size(m) +} +func (m *ValueValidation) XXX_DiscardUnknown() { + xxx_messageInfo_ValueValidation.DiscardUnknown(m) +} + +var xxx_messageInfo_ValueValidation proto.InternalMessageInfo + +func (m *ValueValidation) GetValues() []string { + if m != nil { + return m.Values + } + return nil +} + +// A Cloud Dataproc workflow template resource. +type WorkflowMetadata struct { + // Output only. The "resource name" of the template. + Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` + // Output only. The version of template at the time of + // workflow instantiation. + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + // Output only. The create cluster operation metadata. + CreateCluster *ClusterOperation `protobuf:"bytes,3,opt,name=create_cluster,json=createCluster,proto3" json:"create_cluster,omitempty"` + // Output only. The workflow graph. + Graph *WorkflowGraph `protobuf:"bytes,4,opt,name=graph,proto3" json:"graph,omitempty"` + // Output only. The delete cluster operation metadata. + DeleteCluster *ClusterOperation `protobuf:"bytes,5,opt,name=delete_cluster,json=deleteCluster,proto3" json:"delete_cluster,omitempty"` + // Output only. The workflow state. + State WorkflowMetadata_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.dataproc.v1.WorkflowMetadata_State" json:"state,omitempty"` + // Output only. The name of the target cluster. + ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + // Map from parameter names to values that were used for those parameters. + Parameters map[string]string `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Output only. Workflow start time. + StartTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // Output only. Workflow end time. + EndTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // Output only. The UUID of target cluster. + ClusterUuid string `protobuf:"bytes,11,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowMetadata) Reset() { *m = WorkflowMetadata{} } +func (m *WorkflowMetadata) String() string { return proto.CompactTextString(m) } +func (*WorkflowMetadata) ProtoMessage() {} +func (*WorkflowMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{9} +} +func (m *WorkflowMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowMetadata.Unmarshal(m, b) +} +func (m *WorkflowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowMetadata.Marshal(b, m, deterministic) +} +func (dst *WorkflowMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowMetadata.Merge(dst, src) +} +func (m *WorkflowMetadata) XXX_Size() int { + return xxx_messageInfo_WorkflowMetadata.Size(m) +} +func (m *WorkflowMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowMetadata proto.InternalMessageInfo + +func (m *WorkflowMetadata) GetTemplate() string { + if m != nil { + return m.Template + } + return "" +} + +func (m *WorkflowMetadata) GetVersion() int32 { + if m != nil { + return m.Version + } + return 0 +} + +func (m *WorkflowMetadata) GetCreateCluster() *ClusterOperation { + if m != nil { + return m.CreateCluster + } + return nil +} + +func (m *WorkflowMetadata) GetGraph() *WorkflowGraph { + if m != nil { + return m.Graph + } + return nil +} + +func (m *WorkflowMetadata) GetDeleteCluster() *ClusterOperation { + if m != nil { + return m.DeleteCluster + } + return nil +} + +func (m *WorkflowMetadata) GetState() WorkflowMetadata_State { + if m != nil { + return m.State + } + return WorkflowMetadata_UNKNOWN +} + +func (m *WorkflowMetadata) GetClusterName() string { + if m != nil { + return m.ClusterName + } + return "" +} + +func (m *WorkflowMetadata) GetParameters() map[string]string { + if m != nil { + return m.Parameters + } + return nil +} + +func (m *WorkflowMetadata) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *WorkflowMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *WorkflowMetadata) GetClusterUuid() string { + if m != nil { + return m.ClusterUuid + } + return "" +} + +// The cluster operation triggered by a workflow. +type ClusterOperation struct { + // Output only. The id of the cluster operation. + OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` + // Output only. Error, if operation failed. + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + // Output only. Indicates the operation is done. + Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClusterOperation) Reset() { *m = ClusterOperation{} } +func (m *ClusterOperation) String() string { return proto.CompactTextString(m) } +func (*ClusterOperation) ProtoMessage() {} +func (*ClusterOperation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{10} +} +func (m *ClusterOperation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClusterOperation.Unmarshal(m, b) +} +func (m *ClusterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClusterOperation.Marshal(b, m, deterministic) +} +func (dst *ClusterOperation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterOperation.Merge(dst, src) +} +func (m *ClusterOperation) XXX_Size() int { + return xxx_messageInfo_ClusterOperation.Size(m) +} +func (m *ClusterOperation) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterOperation.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterOperation proto.InternalMessageInfo + +func (m *ClusterOperation) GetOperationId() string { + if m != nil { + return m.OperationId + } + return "" +} + +func (m *ClusterOperation) GetError() string { + if m != nil { + return m.Error + } + return "" +} + +func (m *ClusterOperation) GetDone() bool { + if m != nil { + return m.Done + } + return false +} + +// The workflow graph. +type WorkflowGraph struct { + // Output only. The workflow nodes. + Nodes []*WorkflowNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowGraph) Reset() { *m = WorkflowGraph{} } +func (m *WorkflowGraph) String() string { return proto.CompactTextString(m) } +func (*WorkflowGraph) ProtoMessage() {} +func (*WorkflowGraph) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{11} +} +func (m *WorkflowGraph) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowGraph.Unmarshal(m, b) +} +func (m *WorkflowGraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowGraph.Marshal(b, m, deterministic) +} +func (dst *WorkflowGraph) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowGraph.Merge(dst, src) +} +func (m *WorkflowGraph) XXX_Size() int { + return xxx_messageInfo_WorkflowGraph.Size(m) +} +func (m *WorkflowGraph) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowGraph.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowGraph proto.InternalMessageInfo + +func (m *WorkflowGraph) GetNodes() []*WorkflowNode { + if m != nil { + return m.Nodes + } + return nil +} + +// The workflow node. +type WorkflowNode struct { + // Output only. The name of the node. + StepId string `protobuf:"bytes,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"` + // Output only. Node's prerequisite nodes. + PrerequisiteStepIds []string `protobuf:"bytes,2,rep,name=prerequisite_step_ids,json=prerequisiteStepIds,proto3" json:"prerequisite_step_ids,omitempty"` + // Output only. The job id; populated after the node enters RUNNING state. + JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + // Output only. The node state. + State WorkflowNode_NodeState `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.dataproc.v1.WorkflowNode_NodeState" json:"state,omitempty"` + // Output only. The error detail. + Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowNode) Reset() { *m = WorkflowNode{} } +func (m *WorkflowNode) String() string { return proto.CompactTextString(m) } +func (*WorkflowNode) ProtoMessage() {} +func (*WorkflowNode) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{12} +} +func (m *WorkflowNode) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowNode.Unmarshal(m, b) +} +func (m *WorkflowNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowNode.Marshal(b, m, deterministic) +} +func (dst *WorkflowNode) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowNode.Merge(dst, src) +} +func (m *WorkflowNode) XXX_Size() int { + return xxx_messageInfo_WorkflowNode.Size(m) +} +func (m *WorkflowNode) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowNode.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowNode proto.InternalMessageInfo + +func (m *WorkflowNode) GetStepId() string { + if m != nil { + return m.StepId + } + return "" +} + +func (m *WorkflowNode) GetPrerequisiteStepIds() []string { + if m != nil { + return m.PrerequisiteStepIds + } + return nil +} + +func (m *WorkflowNode) GetJobId() string { + if m != nil { + return m.JobId + } + return "" +} + +func (m *WorkflowNode) GetState() WorkflowNode_NodeState { + if m != nil { + return m.State + } + return WorkflowNode_NODE_STATE_UNSPECIFIED +} + +func (m *WorkflowNode) GetError() string { + if m != nil { + return m.Error + } + return "" +} + +// A request to create a workflow template. +type CreateWorkflowTemplateRequest struct { + // Required. The "resource name" of the region, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. The Dataproc workflow template to create. + Template *WorkflowTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateWorkflowTemplateRequest) Reset() { *m = CreateWorkflowTemplateRequest{} } +func (m *CreateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*CreateWorkflowTemplateRequest) ProtoMessage() {} +func (*CreateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{13} +} +func (m *CreateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *CreateWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *CreateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateWorkflowTemplateRequest.Merge(dst, src) +} +func (m *CreateWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_CreateWorkflowTemplateRequest.Size(m) +} +func (m *CreateWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *CreateWorkflowTemplateRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateWorkflowTemplateRequest) GetTemplate() *WorkflowTemplate { + if m != nil { + return m.Template + } + return nil +} + +// A request to fetch a workflow template. +type GetWorkflowTemplateRequest struct { + // Required. The "resource name" of the workflow template, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. The version of workflow template to retrieve. Only previously + // instatiated versions can be retrieved. + // + // If unspecified, retrieves the current version. + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetWorkflowTemplateRequest) Reset() { *m = GetWorkflowTemplateRequest{} } +func (m *GetWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowTemplateRequest) ProtoMessage() {} +func (*GetWorkflowTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{14} +} +func (m *GetWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *GetWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *GetWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowTemplateRequest.Merge(dst, src) +} +func (m *GetWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowTemplateRequest.Size(m) +} +func (m *GetWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *GetWorkflowTemplateRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *GetWorkflowTemplateRequest) GetVersion() int32 { + if m != nil { + return m.Version + } + return 0 +} + +// A request to instantiate a workflow template. +type InstantiateWorkflowTemplateRequest struct { + // Required. The "resource name" of the workflow template, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. The version of workflow template to instantiate. If specified, + // the workflow will be instantiated only if the current version of + // the workflow template has the supplied version. + // + // This option cannot be used to instantiate a previous version of + // workflow template. + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + // Optional. A tag that prevents multiple concurrent workflow + // instances with the same tag from running. This mitigates risk of + // concurrent instances started due to retries. + // + // It is recommended to always set this value to a + // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). + // + // The tag must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). The maximum length is 40 characters. + RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // Optional. Map from parameter names to values that should be used for those + // parameters. Values may not exceed 100 characters. + Parameters map[string]string `protobuf:"bytes,6,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InstantiateWorkflowTemplateRequest) Reset() { *m = InstantiateWorkflowTemplateRequest{} } +func (m *InstantiateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*InstantiateWorkflowTemplateRequest) ProtoMessage() {} +func (*InstantiateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{15} +} +func (m *InstantiateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InstantiateWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *InstantiateWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InstantiateWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *InstantiateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InstantiateWorkflowTemplateRequest.Merge(dst, src) +} +func (m *InstantiateWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_InstantiateWorkflowTemplateRequest.Size(m) +} +func (m *InstantiateWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InstantiateWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_InstantiateWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *InstantiateWorkflowTemplateRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *InstantiateWorkflowTemplateRequest) GetVersion() int32 { + if m != nil { + return m.Version + } + return 0 +} + +func (m *InstantiateWorkflowTemplateRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *InstantiateWorkflowTemplateRequest) GetParameters() map[string]string { + if m != nil { + return m.Parameters + } + return nil +} + +// A request to instantiate an inline workflow template. +type InstantiateInlineWorkflowTemplateRequest struct { + // Required. The "resource name" of the workflow template region, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. The workflow template to instantiate. + Template *WorkflowTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + // Optional. A tag that prevents multiple concurrent workflow + // instances with the same tag from running. This mitigates risk of + // concurrent instances started due to retries. + // + // It is recommended to always set this value to a + // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). + // + // The tag must contain only letters (a-z, A-Z), numbers (0-9), + // underscores (_), and hyphens (-). The maximum length is 40 characters. + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InstantiateInlineWorkflowTemplateRequest) Reset() { + *m = InstantiateInlineWorkflowTemplateRequest{} +} +func (m *InstantiateInlineWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*InstantiateInlineWorkflowTemplateRequest) ProtoMessage() {} +func (*InstantiateInlineWorkflowTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{16} +} +func (m *InstantiateInlineWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *InstantiateInlineWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *InstantiateInlineWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Merge(dst, src) +} +func (m *InstantiateInlineWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Size(m) +} +func (m *InstantiateInlineWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *InstantiateInlineWorkflowTemplateRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *InstantiateInlineWorkflowTemplateRequest) GetTemplate() *WorkflowTemplate { + if m != nil { + return m.Template + } + return nil +} + +func (m *InstantiateInlineWorkflowTemplateRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +// A request to update a workflow template. +type UpdateWorkflowTemplateRequest struct { + // Required. The updated workflow template. + // + // The `template.version` field must match the current version. + Template *WorkflowTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateWorkflowTemplateRequest) Reset() { *m = UpdateWorkflowTemplateRequest{} } +func (m *UpdateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateWorkflowTemplateRequest) ProtoMessage() {} +func (*UpdateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{17} +} +func (m *UpdateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *UpdateWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateWorkflowTemplateRequest.Merge(dst, src) +} +func (m *UpdateWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_UpdateWorkflowTemplateRequest.Size(m) +} +func (m *UpdateWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *UpdateWorkflowTemplateRequest) GetTemplate() *WorkflowTemplate { + if m != nil { + return m.Template + } + return nil +} + +// A request to list workflow templates in a project. +type ListWorkflowTemplatesRequest struct { + // Required. The "resource name" of the region, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. The maximum number of results to return in each response. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional. The page token, returned by a previous call, to request the + // next page of results. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListWorkflowTemplatesRequest) Reset() { *m = ListWorkflowTemplatesRequest{} } +func (m *ListWorkflowTemplatesRequest) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowTemplatesRequest) ProtoMessage() {} +func (*ListWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{18} +} +func (m *ListWorkflowTemplatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowTemplatesRequest.Unmarshal(m, b) +} +func (m *ListWorkflowTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowTemplatesRequest.Marshal(b, m, deterministic) +} +func (dst *ListWorkflowTemplatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowTemplatesRequest.Merge(dst, src) +} +func (m *ListWorkflowTemplatesRequest) XXX_Size() int { + return xxx_messageInfo_ListWorkflowTemplatesRequest.Size(m) +} +func (m *ListWorkflowTemplatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowTemplatesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowTemplatesRequest proto.InternalMessageInfo + +func (m *ListWorkflowTemplatesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListWorkflowTemplatesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListWorkflowTemplatesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// A response to a request to list workflow templates in a project. +type ListWorkflowTemplatesResponse struct { + // Output only. WorkflowTemplates list. + Templates []*WorkflowTemplate `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` + // Output only. This token is included in the response if there are more + // results to fetch. To fetch additional results, provide this value as the + // page_token in a subsequent ListWorkflowTemplatesRequest. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListWorkflowTemplatesResponse) Reset() { *m = ListWorkflowTemplatesResponse{} } +func (m *ListWorkflowTemplatesResponse) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowTemplatesResponse) ProtoMessage() {} +func (*ListWorkflowTemplatesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{19} +} +func (m *ListWorkflowTemplatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowTemplatesResponse.Unmarshal(m, b) +} +func (m *ListWorkflowTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowTemplatesResponse.Marshal(b, m, deterministic) +} +func (dst *ListWorkflowTemplatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowTemplatesResponse.Merge(dst, src) +} +func (m *ListWorkflowTemplatesResponse) XXX_Size() int { + return xxx_messageInfo_ListWorkflowTemplatesResponse.Size(m) +} +func (m *ListWorkflowTemplatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowTemplatesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowTemplatesResponse proto.InternalMessageInfo + +func (m *ListWorkflowTemplatesResponse) GetTemplates() []*WorkflowTemplate { + if m != nil { + return m.Templates + } + return nil +} + +func (m *ListWorkflowTemplatesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// A request to delete a workflow template. +// +// Currently started workflows will remain running. +type DeleteWorkflowTemplateRequest struct { + // Required. The "resource name" of the workflow template, as described + // in https://cloud.google.com/apis/design/resource_names of the form + // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. The version of workflow template to delete. If specified, + // will only delete the template if the current server version matches + // specified version. + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteWorkflowTemplateRequest) Reset() { *m = DeleteWorkflowTemplateRequest{} } +func (m *DeleteWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteWorkflowTemplateRequest) ProtoMessage() {} +func (*DeleteWorkflowTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_3c3a2a92d4690177, []int{20} +} +func (m *DeleteWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *DeleteWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteWorkflowTemplateRequest.Merge(dst, src) +} +func (m *DeleteWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_DeleteWorkflowTemplateRequest.Size(m) +} +func (m *DeleteWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *DeleteWorkflowTemplateRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *DeleteWorkflowTemplateRequest) GetVersion() int32 { + if m != nil { + return m.Version + } + return 0 +} + +func init() { + proto.RegisterType((*WorkflowTemplate)(nil), "google.cloud.dataproc.v1.WorkflowTemplate") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.WorkflowTemplate.LabelsEntry") + proto.RegisterType((*WorkflowTemplatePlacement)(nil), "google.cloud.dataproc.v1.WorkflowTemplatePlacement") + proto.RegisterType((*ManagedCluster)(nil), "google.cloud.dataproc.v1.ManagedCluster") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.ManagedCluster.LabelsEntry") + proto.RegisterType((*ClusterSelector)(nil), "google.cloud.dataproc.v1.ClusterSelector") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.ClusterSelector.ClusterLabelsEntry") + proto.RegisterType((*OrderedJob)(nil), "google.cloud.dataproc.v1.OrderedJob") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.OrderedJob.LabelsEntry") + proto.RegisterType((*TemplateParameter)(nil), "google.cloud.dataproc.v1.TemplateParameter") + proto.RegisterType((*ParameterValidation)(nil), "google.cloud.dataproc.v1.ParameterValidation") + proto.RegisterType((*RegexValidation)(nil), "google.cloud.dataproc.v1.RegexValidation") + proto.RegisterType((*ValueValidation)(nil), "google.cloud.dataproc.v1.ValueValidation") + proto.RegisterType((*WorkflowMetadata)(nil), "google.cloud.dataproc.v1.WorkflowMetadata") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.WorkflowMetadata.ParametersEntry") + proto.RegisterType((*ClusterOperation)(nil), "google.cloud.dataproc.v1.ClusterOperation") + proto.RegisterType((*WorkflowGraph)(nil), "google.cloud.dataproc.v1.WorkflowGraph") + proto.RegisterType((*WorkflowNode)(nil), "google.cloud.dataproc.v1.WorkflowNode") + proto.RegisterType((*CreateWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1.CreateWorkflowTemplateRequest") + proto.RegisterType((*GetWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1.GetWorkflowTemplateRequest") + proto.RegisterType((*InstantiateWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest.ParametersEntry") + proto.RegisterType((*InstantiateInlineWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest") + proto.RegisterType((*UpdateWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest") + proto.RegisterType((*ListWorkflowTemplatesRequest)(nil), "google.cloud.dataproc.v1.ListWorkflowTemplatesRequest") + proto.RegisterType((*ListWorkflowTemplatesResponse)(nil), "google.cloud.dataproc.v1.ListWorkflowTemplatesResponse") + proto.RegisterType((*DeleteWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest") + proto.RegisterEnum("google.cloud.dataproc.v1.WorkflowMetadata_State", WorkflowMetadata_State_name, WorkflowMetadata_State_value) + proto.RegisterEnum("google.cloud.dataproc.v1.WorkflowNode_NodeState", WorkflowNode_NodeState_name, WorkflowNode_NodeState_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// WorkflowTemplateServiceClient is the client API for WorkflowTemplateService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type WorkflowTemplateServiceClient interface { + // Creates new workflow template. + CreateWorkflowTemplate(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) + // Retrieves the latest workflow template. + // + // Can retrieve previously instantiated template by specifying optional + // version parameter. + GetWorkflowTemplate(ctx context.Context, in *GetWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) + // Instantiates a template and begins execution. + // + // The returned Operation can be used to track execution of + // workflow by polling + // [operations.get][google.longrunning.Operations.GetOperation]. + // The Operation will complete when entire workflow is finished. + // + // The running workflow can be aborted via + // [operations.cancel][google.longrunning.Operations.CancelOperation]. + // This will cause any inflight jobs to be cancelled and workflow-owned + // clusters to be deleted. + // + // The [Operation.metadata][google.longrunning.Operation.metadata] will be + // [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + // + // On successful completion, + // [Operation.response][google.longrunning.Operation.response] will be + // [Empty][google.protobuf.Empty]. + InstantiateWorkflowTemplate(ctx context.Context, in *InstantiateWorkflowTemplateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Instantiates a template and begins execution. + // + // This method is equivalent to executing the sequence + // [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], + // [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate]. + // + // The returned Operation can be used to track execution of + // workflow by polling + // [operations.get][google.longrunning.Operations.GetOperation]. + // The Operation will complete when entire workflow is finished. + // + // The running workflow can be aborted via + // [operations.cancel][google.longrunning.Operations.CancelOperation]. + // This will cause any inflight jobs to be cancelled and workflow-owned + // clusters to be deleted. + // + // The [Operation.metadata][google.longrunning.Operation.metadata] will be + // [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + // + // On successful completion, + // [Operation.response][google.longrunning.Operation.response] will be + // [Empty][google.protobuf.Empty]. + InstantiateInlineWorkflowTemplate(ctx context.Context, in *InstantiateInlineWorkflowTemplateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Updates (replaces) workflow template. The updated template + // must contain version that matches the current server version. + UpdateWorkflowTemplate(ctx context.Context, in *UpdateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) + // Lists workflows that match the specified filter in the request. + ListWorkflowTemplates(ctx context.Context, in *ListWorkflowTemplatesRequest, opts ...grpc.CallOption) (*ListWorkflowTemplatesResponse, error) + // Deletes a workflow template. It does not cancel in-progress workflows. + DeleteWorkflowTemplate(ctx context.Context, in *DeleteWorkflowTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) +} + +type workflowTemplateServiceClient struct { + cc *grpc.ClientConn +} + +func NewWorkflowTemplateServiceClient(cc *grpc.ClientConn) WorkflowTemplateServiceClient { + return &workflowTemplateServiceClient{cc} +} + +func (c *workflowTemplateServiceClient) CreateWorkflowTemplate(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) { + out := new(WorkflowTemplate) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/CreateWorkflowTemplate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *workflowTemplateServiceClient) GetWorkflowTemplate(ctx context.Context, in *GetWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) { + out := new(WorkflowTemplate) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/GetWorkflowTemplate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *workflowTemplateServiceClient) InstantiateWorkflowTemplate(ctx context.Context, in *InstantiateWorkflowTemplateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/InstantiateWorkflowTemplate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *workflowTemplateServiceClient) InstantiateInlineWorkflowTemplate(ctx context.Context, in *InstantiateInlineWorkflowTemplateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/InstantiateInlineWorkflowTemplate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *workflowTemplateServiceClient) UpdateWorkflowTemplate(ctx context.Context, in *UpdateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) { + out := new(WorkflowTemplate) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/UpdateWorkflowTemplate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *workflowTemplateServiceClient) ListWorkflowTemplates(ctx context.Context, in *ListWorkflowTemplatesRequest, opts ...grpc.CallOption) (*ListWorkflowTemplatesResponse, error) { + out := new(ListWorkflowTemplatesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/ListWorkflowTemplates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *workflowTemplateServiceClient) DeleteWorkflowTemplate(ctx context.Context, in *DeleteWorkflowTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.WorkflowTemplateService/DeleteWorkflowTemplate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WorkflowTemplateServiceServer is the server API for WorkflowTemplateService service. +type WorkflowTemplateServiceServer interface { + // Creates new workflow template. + CreateWorkflowTemplate(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) + // Retrieves the latest workflow template. + // + // Can retrieve previously instantiated template by specifying optional + // version parameter. + GetWorkflowTemplate(context.Context, *GetWorkflowTemplateRequest) (*WorkflowTemplate, error) + // Instantiates a template and begins execution. + // + // The returned Operation can be used to track execution of + // workflow by polling + // [operations.get][google.longrunning.Operations.GetOperation]. + // The Operation will complete when entire workflow is finished. + // + // The running workflow can be aborted via + // [operations.cancel][google.longrunning.Operations.CancelOperation]. + // This will cause any inflight jobs to be cancelled and workflow-owned + // clusters to be deleted. + // + // The [Operation.metadata][google.longrunning.Operation.metadata] will be + // [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + // + // On successful completion, + // [Operation.response][google.longrunning.Operation.response] will be + // [Empty][google.protobuf.Empty]. + InstantiateWorkflowTemplate(context.Context, *InstantiateWorkflowTemplateRequest) (*longrunning.Operation, error) + // Instantiates a template and begins execution. + // + // This method is equivalent to executing the sequence + // [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], + // [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate]. + // + // The returned Operation can be used to track execution of + // workflow by polling + // [operations.get][google.longrunning.Operations.GetOperation]. + // The Operation will complete when entire workflow is finished. + // + // The running workflow can be aborted via + // [operations.cancel][google.longrunning.Operations.CancelOperation]. + // This will cause any inflight jobs to be cancelled and workflow-owned + // clusters to be deleted. + // + // The [Operation.metadata][google.longrunning.Operation.metadata] will be + // [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + // + // On successful completion, + // [Operation.response][google.longrunning.Operation.response] will be + // [Empty][google.protobuf.Empty]. + InstantiateInlineWorkflowTemplate(context.Context, *InstantiateInlineWorkflowTemplateRequest) (*longrunning.Operation, error) + // Updates (replaces) workflow template. The updated template + // must contain version that matches the current server version. + UpdateWorkflowTemplate(context.Context, *UpdateWorkflowTemplateRequest) (*WorkflowTemplate, error) + // Lists workflows that match the specified filter in the request. + ListWorkflowTemplates(context.Context, *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error) + // Deletes a workflow template. It does not cancel in-progress workflows. + DeleteWorkflowTemplate(context.Context, *DeleteWorkflowTemplateRequest) (*empty.Empty, error) +} + +func RegisterWorkflowTemplateServiceServer(s *grpc.Server, srv WorkflowTemplateServiceServer) { + s.RegisterService(&_WorkflowTemplateService_serviceDesc, srv) +} + +func _WorkflowTemplateService_CreateWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateWorkflowTemplateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).CreateWorkflowTemplate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/CreateWorkflowTemplate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).CreateWorkflowTemplate(ctx, req.(*CreateWorkflowTemplateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _WorkflowTemplateService_GetWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetWorkflowTemplateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).GetWorkflowTemplate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/GetWorkflowTemplate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).GetWorkflowTemplate(ctx, req.(*GetWorkflowTemplateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _WorkflowTemplateService_InstantiateWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InstantiateWorkflowTemplateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).InstantiateWorkflowTemplate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/InstantiateWorkflowTemplate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).InstantiateWorkflowTemplate(ctx, req.(*InstantiateWorkflowTemplateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _WorkflowTemplateService_InstantiateInlineWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InstantiateInlineWorkflowTemplateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).InstantiateInlineWorkflowTemplate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/InstantiateInlineWorkflowTemplate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).InstantiateInlineWorkflowTemplate(ctx, req.(*InstantiateInlineWorkflowTemplateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _WorkflowTemplateService_UpdateWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateWorkflowTemplateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).UpdateWorkflowTemplate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/UpdateWorkflowTemplate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).UpdateWorkflowTemplate(ctx, req.(*UpdateWorkflowTemplateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _WorkflowTemplateService_ListWorkflowTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListWorkflowTemplatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).ListWorkflowTemplates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/ListWorkflowTemplates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).ListWorkflowTemplates(ctx, req.(*ListWorkflowTemplatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _WorkflowTemplateService_DeleteWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteWorkflowTemplateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WorkflowTemplateServiceServer).DeleteWorkflowTemplate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.dataproc.v1.WorkflowTemplateService/DeleteWorkflowTemplate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WorkflowTemplateServiceServer).DeleteWorkflowTemplate(ctx, req.(*DeleteWorkflowTemplateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _WorkflowTemplateService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.dataproc.v1.WorkflowTemplateService", + HandlerType: (*WorkflowTemplateServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateWorkflowTemplate", + Handler: _WorkflowTemplateService_CreateWorkflowTemplate_Handler, + }, + { + MethodName: "GetWorkflowTemplate", + Handler: _WorkflowTemplateService_GetWorkflowTemplate_Handler, + }, + { + MethodName: "InstantiateWorkflowTemplate", + Handler: _WorkflowTemplateService_InstantiateWorkflowTemplate_Handler, + }, + { + MethodName: "InstantiateInlineWorkflowTemplate", + Handler: _WorkflowTemplateService_InstantiateInlineWorkflowTemplate_Handler, + }, + { + MethodName: "UpdateWorkflowTemplate", + Handler: _WorkflowTemplateService_UpdateWorkflowTemplate_Handler, + }, + { + MethodName: "ListWorkflowTemplates", + Handler: _WorkflowTemplateService_ListWorkflowTemplates_Handler, + }, + { + MethodName: "DeleteWorkflowTemplate", + Handler: _WorkflowTemplateService_DeleteWorkflowTemplate_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/dataproc/v1/workflow_templates.proto", +} + +func init() { + proto.RegisterFile("google/cloud/dataproc/v1/workflow_templates.proto", fileDescriptor_workflow_templates_3c3a2a92d4690177) +} + +var fileDescriptor_workflow_templates_3c3a2a92d4690177 = []byte{ + // 2000 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcd, 0x6f, 0xdb, 0xc8, + 0x15, 0x37, 0x65, 0x4b, 0x96, 0x9e, 0x62, 0x5b, 0x3b, 0x69, 0xbc, 0xaa, 0x12, 0xa3, 0x0e, 0xb7, + 0xdd, 0x78, 0xbd, 0xa8, 0xd4, 0x38, 0x4d, 0x37, 0xeb, 0x24, 0x9b, 0xb5, 0x2d, 0xd9, 0x56, 0x62, + 0xcb, 0x0e, 0x65, 0x67, 0x01, 0x5f, 0x04, 0x4a, 0x9c, 0xd0, 0x74, 0x28, 0x0e, 0x43, 0x52, 0xda, + 0x75, 0x8a, 0x45, 0x81, 0xdc, 0x16, 0xe8, 0xa1, 0xc5, 0xf6, 0x16, 0xa0, 0xc7, 0x02, 0x3d, 0x14, + 0xed, 0xa9, 0xa7, 0xfe, 0x09, 0x05, 0x7a, 0x28, 0x7a, 0x2e, 0x50, 0xf4, 0xda, 0x3f, 0xa1, 0x45, + 0x31, 0x1f, 0xa4, 0xa8, 0x0f, 0x52, 0x96, 0x5d, 0xa0, 0x17, 0x83, 0x33, 0x7a, 0xbf, 0x37, 0xef, + 0x6b, 0x7e, 0xef, 0x91, 0x86, 0xbb, 0x3a, 0x21, 0xba, 0x89, 0x4b, 0x2d, 0x93, 0x74, 0xb4, 0x92, + 0xa6, 0x7a, 0xaa, 0xed, 0x90, 0x56,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 0x81, 0xd1, 0x89, 0xa9, 0x5a, 0x7a, 0x91, 0x38, 0x7a, 0x49, 0xc7, 0x16, + 0x73, 0xaa, 0xc4, 0x7f, 0x52, 0x6d, 0xc3, 0x1d, 0xfe, 0xe7, 0xd7, 0x43, 0xff, 0xb9, 0x99, 0x62, + 0xc2, 0xf7, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x70, 0xa3, 0x03, 0xbc, 0xbc, 0x1b, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go index d36ce3845..cd1248fb2 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go @@ -67,7 +67,7 @@ func (x ClusterStatus_State) String() string { return proto.EnumName(ClusterStatus_State_name, int32(x)) } func (ClusterStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{9, 0} + return fileDescriptor_clusters_696b2fb06247af3e, []int{10, 0} } // The cluster substate. @@ -104,7 +104,7 @@ func (x ClusterStatus_Substate) String() string { return proto.EnumName(ClusterStatus_Substate_name, int32(x)) } func (ClusterStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{9, 1} + return fileDescriptor_clusters_696b2fb06247af3e, []int{10, 1} } // Describes the identifying information, config, and status of @@ -132,7 +132,7 @@ type Cluster struct { // Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc // generates this value when it creates the cluster. ClusterUuid string `protobuf:"bytes,6,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` - // Contains cluster daemon metrics such as HDFS and YARN stats. + // Output only. Contains cluster daemon metrics such as HDFS and YARN stats. // // **Beta Feature**: This report is available for testing purposes only. It may // be changed before final release. @@ -146,7 +146,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{0} + return fileDescriptor_clusters_696b2fb06247af3e, []int{0} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -259,16 +259,18 @@ type ClusterConfig struct { // ... worker specific actions ... // fi InitializationActions []*NodeInitializationAction `protobuf:"bytes,11,rep,name=initialization_actions,json=initializationActions,proto3" json:"initialization_actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Optional. Encryption settings for the cluster. + EncryptionConfig *EncryptionConfig `protobuf:"bytes,15,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } func (*ClusterConfig) ProtoMessage() {} func (*ClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{1} + return fileDescriptor_clusters_696b2fb06247af3e, []int{1} } func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) @@ -344,6 +346,54 @@ func (m *ClusterConfig) GetInitializationActions() []*NodeInitializationAction { return nil } +func (m *ClusterConfig) GetEncryptionConfig() *EncryptionConfig { + if m != nil { + return m.EncryptionConfig + } + return nil +} + +// Encryption settings for the cluster. +type EncryptionConfig struct { + // Optional. The Cloud KMS key name to use for PD disk encryption for all + // instances in the cluster. + GcePdKmsKeyName string `protobuf:"bytes,1,opt,name=gce_pd_kms_key_name,json=gcePdKmsKeyName,proto3" json:"gce_pd_kms_key_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} } +func (m *EncryptionConfig) String() string { return proto.CompactTextString(m) } +func (*EncryptionConfig) ProtoMessage() {} +func (*EncryptionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_clusters_696b2fb06247af3e, []int{2} +} +func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncryptionConfig.Unmarshal(m, b) +} +func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncryptionConfig.Marshal(b, m, deterministic) +} +func (dst *EncryptionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptionConfig.Merge(dst, src) +} +func (m *EncryptionConfig) XXX_Size() int { + return xxx_messageInfo_EncryptionConfig.Size(m) +} +func (m *EncryptionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptionConfig proto.InternalMessageInfo + +func (m *EncryptionConfig) GetGcePdKmsKeyName() string { + if m != nil { + return m.GcePdKmsKeyName + } + return "" +} + // Common config settings for resources of Compute Engine cluster // instances, applicable to all instances in the cluster. type GceClusterConfig struct { @@ -428,7 +478,7 @@ func (m *GceClusterConfig) Reset() { *m = GceClusterConfig{} } func (m *GceClusterConfig) String() string { return proto.CompactTextString(m) } func (*GceClusterConfig) ProtoMessage() {} func (*GceClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{2} + return fileDescriptor_clusters_696b2fb06247af3e, []int{3} } func (m *GceClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GceClusterConfig.Unmarshal(m, b) @@ -513,8 +563,9 @@ type InstanceGroupConfig struct { // Output only. The list of instance names. Cloud Dataproc derives the names // from `cluster_name`, `num_instances`, and the instance group. InstanceNames []string `protobuf:"bytes,2,rep,name=instance_names,json=instanceNames,proto3" json:"instance_names,omitempty"` - // Output only. The Compute Engine image resource used for cluster - // instances. Inferred from `SoftwareConfig.image_version`. + // Optional. The Compute Engine image resource used for cluster + // instances. It can be specified or may be inferred from + // `SoftwareConfig.image_version`. ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` // Optional. The Compute Engine machine type used for cluster instances. // @@ -556,7 +607,7 @@ func (m *InstanceGroupConfig) Reset() { *m = InstanceGroupConfig{} } func (m *InstanceGroupConfig) String() string { return proto.CompactTextString(m) } func (*InstanceGroupConfig) ProtoMessage() {} func (*InstanceGroupConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{3} + return fileDescriptor_clusters_696b2fb06247af3e, []int{4} } func (m *InstanceGroupConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InstanceGroupConfig.Unmarshal(m, b) @@ -655,7 +706,7 @@ func (m *ManagedGroupConfig) Reset() { *m = ManagedGroupConfig{} } func (m *ManagedGroupConfig) String() string { return proto.CompactTextString(m) } func (*ManagedGroupConfig) ProtoMessage() {} func (*ManagedGroupConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{4} + return fileDescriptor_clusters_696b2fb06247af3e, []int{5} } func (m *ManagedGroupConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManagedGroupConfig.Unmarshal(m, b) @@ -717,7 +768,7 @@ func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } func (*AcceleratorConfig) ProtoMessage() {} func (*AcceleratorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{5} + return fileDescriptor_clusters_696b2fb06247af3e, []int{6} } func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) @@ -775,7 +826,7 @@ func (m *DiskConfig) Reset() { *m = DiskConfig{} } func (m *DiskConfig) String() string { return proto.CompactTextString(m) } func (*DiskConfig) ProtoMessage() {} func (*DiskConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{6} + return fileDescriptor_clusters_696b2fb06247af3e, []int{7} } func (m *DiskConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiskConfig.Unmarshal(m, b) @@ -816,10 +867,14 @@ func (m *DiskConfig) GetNumLocalSsds() int32 { return 0 } -// Specifies the cluster auto delete related schedule configuration. +// Specifies the cluster auto-delete schedule configuration. type LifecycleConfig struct { - // Optional. The longest duration that cluster would keep alive while staying - // idle; passing this threshold will cause cluster to be auto-deleted. + // Optional. The duration to keep the cluster alive while idling. + // Passing this threshold will cause the cluster to be + // deleted. Valid range: **[10m, 14d]**. + // + // Example: **"10m"**, the minimum value, to delete the + // cluster when it has had no jobs running for 10 minutes. IdleDeleteTtl *duration.Duration `protobuf:"bytes,1,opt,name=idle_delete_ttl,json=idleDeleteTtl,proto3" json:"idle_delete_ttl,omitempty"` // Optional. Either the exact time the cluster should be deleted at or // the cluster maximum age. @@ -837,7 +892,7 @@ func (m *LifecycleConfig) Reset() { *m = LifecycleConfig{} } func (m *LifecycleConfig) String() string { return proto.CompactTextString(m) } func (*LifecycleConfig) ProtoMessage() {} func (*LifecycleConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{7} + return fileDescriptor_clusters_696b2fb06247af3e, []int{8} } func (m *LifecycleConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LifecycleConfig.Unmarshal(m, b) @@ -857,6 +912,13 @@ func (m *LifecycleConfig) XXX_DiscardUnknown() { var xxx_messageInfo_LifecycleConfig proto.InternalMessageInfo +func (m *LifecycleConfig) GetIdleDeleteTtl() *duration.Duration { + if m != nil { + return m.IdleDeleteTtl + } + return nil +} + type isLifecycleConfig_Ttl interface { isLifecycleConfig_Ttl() } @@ -864,12 +926,14 @@ type isLifecycleConfig_Ttl interface { type LifecycleConfig_AutoDeleteTime struct { AutoDeleteTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=auto_delete_time,json=autoDeleteTime,proto3,oneof"` } + type LifecycleConfig_AutoDeleteTtl struct { AutoDeleteTtl *duration.Duration `protobuf:"bytes,3,opt,name=auto_delete_ttl,json=autoDeleteTtl,proto3,oneof"` } func (*LifecycleConfig_AutoDeleteTime) isLifecycleConfig_Ttl() {} -func (*LifecycleConfig_AutoDeleteTtl) isLifecycleConfig_Ttl() {} + +func (*LifecycleConfig_AutoDeleteTtl) isLifecycleConfig_Ttl() {} func (m *LifecycleConfig) GetTtl() isLifecycleConfig_Ttl { if m != nil { @@ -878,13 +942,6 @@ func (m *LifecycleConfig) GetTtl() isLifecycleConfig_Ttl { return nil } -func (m *LifecycleConfig) GetIdleDeleteTtl() *duration.Duration { - if m != nil { - return m.IdleDeleteTtl - } - return nil -} - func (m *LifecycleConfig) GetAutoDeleteTime() *timestamp.Timestamp { if x, ok := m.GetTtl().(*LifecycleConfig_AutoDeleteTime); ok { return x.AutoDeleteTime @@ -992,7 +1049,7 @@ func (m *NodeInitializationAction) Reset() { *m = NodeInitializationActi func (m *NodeInitializationAction) String() string { return proto.CompactTextString(m) } func (*NodeInitializationAction) ProtoMessage() {} func (*NodeInitializationAction) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{8} + return fileDescriptor_clusters_696b2fb06247af3e, []int{9} } func (m *NodeInitializationAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeInitializationAction.Unmarshal(m, b) @@ -1046,7 +1103,7 @@ func (m *ClusterStatus) Reset() { *m = ClusterStatus{} } func (m *ClusterStatus) String() string { return proto.CompactTextString(m) } func (*ClusterStatus) ProtoMessage() {} func (*ClusterStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{9} + return fileDescriptor_clusters_696b2fb06247af3e, []int{10} } func (m *ClusterStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterStatus.Unmarshal(m, b) @@ -1130,7 +1187,7 @@ func (m *SoftwareConfig) Reset() { *m = SoftwareConfig{} } func (m *SoftwareConfig) String() string { return proto.CompactTextString(m) } func (*SoftwareConfig) ProtoMessage() {} func (*SoftwareConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{10} + return fileDescriptor_clusters_696b2fb06247af3e, []int{11} } func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b) @@ -1182,7 +1239,7 @@ func (m *ClusterMetrics) Reset() { *m = ClusterMetrics{} } func (m *ClusterMetrics) String() string { return proto.CompactTextString(m) } func (*ClusterMetrics) ProtoMessage() {} func (*ClusterMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{11} + return fileDescriptor_clusters_696b2fb06247af3e, []int{12} } func (m *ClusterMetrics) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterMetrics.Unmarshal(m, b) @@ -1246,7 +1303,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{12} + return fileDescriptor_clusters_696b2fb06247af3e, []int{13} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -1386,7 +1443,7 @@ func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{13} + return fileDescriptor_clusters_696b2fb06247af3e, []int{14} } func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) @@ -1488,7 +1545,7 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{14} + return fileDescriptor_clusters_696b2fb06247af3e, []int{15} } func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) @@ -1561,7 +1618,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{15} + return fileDescriptor_clusters_696b2fb06247af3e, []int{16} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -1642,7 +1699,7 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{16} + return fileDescriptor_clusters_696b2fb06247af3e, []int{17} } func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) @@ -1714,7 +1771,7 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{17} + return fileDescriptor_clusters_696b2fb06247af3e, []int{18} } func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) @@ -1766,7 +1823,7 @@ func (m *DiagnoseClusterRequest) Reset() { *m = DiagnoseClusterRequest{} func (m *DiagnoseClusterRequest) String() string { return proto.CompactTextString(m) } func (*DiagnoseClusterRequest) ProtoMessage() {} func (*DiagnoseClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{18} + return fileDescriptor_clusters_696b2fb06247af3e, []int{19} } func (m *DiagnoseClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiagnoseClusterRequest.Unmarshal(m, b) @@ -1822,7 +1879,7 @@ func (m *DiagnoseClusterResults) Reset() { *m = DiagnoseClusterResults{} func (m *DiagnoseClusterResults) String() string { return proto.CompactTextString(m) } func (*DiagnoseClusterResults) ProtoMessage() {} func (*DiagnoseClusterResults) Descriptor() ([]byte, []int) { - return fileDescriptor_clusters_92d23f68998e82a3, []int{19} + return fileDescriptor_clusters_696b2fb06247af3e, []int{20} } func (m *DiagnoseClusterResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiagnoseClusterResults.Unmarshal(m, b) @@ -1853,6 +1910,7 @@ func init() { proto.RegisterType((*Cluster)(nil), "google.cloud.dataproc.v1beta2.Cluster") proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.Cluster.LabelsEntry") proto.RegisterType((*ClusterConfig)(nil), "google.cloud.dataproc.v1beta2.ClusterConfig") + proto.RegisterType((*EncryptionConfig)(nil), "google.cloud.dataproc.v1beta2.EncryptionConfig") proto.RegisterType((*GceClusterConfig)(nil), "google.cloud.dataproc.v1beta2.GceClusterConfig") proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.GceClusterConfig.MetadataEntry") proto.RegisterType((*InstanceGroupConfig)(nil), "google.cloud.dataproc.v1beta2.InstanceGroupConfig") @@ -2133,145 +2191,148 @@ var _ClusterController_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/clusters.proto", fileDescriptor_clusters_92d23f68998e82a3) -} - -var fileDescriptor_clusters_92d23f68998e82a3 = []byte{ - // 2165 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4f, 0x73, 0x1c, 0x47, - 0x15, 0xf7, 0x68, 0xb5, 0xd2, 0xea, 0xed, 0x1f, 0xad, 0x3a, 0x8a, 0xd8, 0x28, 0x98, 0x38, 0x13, - 0x08, 0x4a, 0x08, 0xbb, 0x89, 0x4c, 0x2a, 0xc1, 0xc6, 0xa9, 0xc8, 0x92, 0x2c, 0x29, 0xc8, 0xb2, - 0x98, 0xdd, 0xb5, 0x31, 0x94, 0x6b, 0xaa, 0x77, 0xa6, 0x77, 0xdd, 0xd1, 0xfc, 0x63, 0xba, 0xc7, - 0x89, 0xec, 0x72, 0x15, 0x15, 0x4e, 0x14, 0x47, 0x3e, 0x00, 0x39, 0x73, 0xc8, 0x81, 0xa2, 0x8a, - 0xe2, 0xc0, 0x8d, 0x6f, 0x10, 0x8a, 0x4f, 0xc0, 0x81, 0x0b, 0x77, 0x8e, 0x54, 0xff, 0x99, 0xdd, - 0x99, 0x95, 0xec, 0x91, 0x84, 0x2b, 0x27, 0xed, 0xbc, 0x7e, 0xef, 0xf7, 0x7e, 0xfd, 0xfa, 0xf5, - 0xeb, 0xd7, 0x2d, 0x78, 0x67, 0x14, 0x86, 0x23, 0x8f, 0x74, 0x1c, 0x2f, 0x4c, 0xdc, 0x8e, 0x8b, - 0x39, 0x8e, 0xe2, 0xd0, 0xe9, 0x3c, 0x7a, 0x6f, 0x40, 0x38, 0x5e, 0xef, 0x38, 0x5e, 0xc2, 0x38, - 0x89, 0x59, 0x3b, 0x8a, 0x43, 0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 0x34, 0x01, 0xfe, 0x2c, 0x8c, 0x8f, 0x26, 0xc0, 0x70, 0x71, 0x60, 0x05, 0xa4, 0x81, 0x3f, - 0x85, 0x6f, 0x31, 0xe2, 0x84, 0x81, 0x8b, 0xe3, 0x63, 0x3b, 0xef, 0xa2, 0x76, 0x61, 0x17, 0x2f, - 0x8f, 0x21, 0xef, 0x65, 0x7d, 0xdd, 0x85, 0x45, 0x16, 0x0e, 0xf9, 0x67, 0x38, 0x26, 0xa9, 0x8f, - 0xfa, 0x99, 0xf2, 0xa7, 0xab, 0xad, 0x34, 0x7c, 0x83, 0xe5, 0xbe, 0xd1, 0x7d, 0x68, 0x7a, 0x74, - 0x48, 0x9c, 0x63, 0xc7, 0x1b, 0x03, 0x37, 0x24, 0x70, 0xbb, 0x00, 0x78, 0x3f, 0x35, 0xd3, 0xc8, - 0x8b, 0x5e, 0x5e, 0x80, 0x02, 0x58, 0xa1, 0x01, 0xe5, 0x14, 0x7b, 0xf4, 0xb1, 0xac, 0x71, 0x36, - 0x76, 0x64, 0x2d, 0x6c, 0x55, 0xe5, 0x56, 0xfb, 0xa0, 0xc0, 0xc1, 0x41, 0xe8, 0x92, 0xbd, 0x1c, - 0xc0, 0x86, 0xb4, 0xb7, 0x5e, 0xa6, 0xa7, 0x48, 0x99, 0xf9, 0xc7, 0x12, 0x34, 0xa7, 0xf3, 0x0c, - 0xbd, 0x02, 0x95, 0xc7, 0x61, 0x40, 0xec, 0x24, 0xa6, 0x3a, 0xa9, 0xe7, 0xc5, 0x77, 0x3f, 0xa6, - 0xe8, 0x35, 0xa8, 0x06, 0x84, 0x8b, 0x75, 0x93, 0xa3, 0x6a, 0x9b, 0x80, 0x16, 0x09, 0x85, 0xef, - 0x41, 0x83, 0x25, 0x83, 0xac, 0x8e, 0xda, 0xd0, 0xf5, 0x89, 0x54, 0xa8, 0xad, 0x41, 0x93, 0x06, - 0x9c, 0xc4, 0x01, 0xf6, 0x6c, 0x1a, 0xd9, 0x61, 0xe0, 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0xaa, 0xfd, 0x83, 0xee, 0xe1, 0xf6, 0xe6, 0xde, 0xad, 0xbd, 0xed, 0xad, - 0xe6, 0x25, 0x54, 0x87, 0x85, 0xfe, 0xc1, 0xee, 0xf6, 0xc6, 0x7e, 0x6f, 0xf7, 0x7e, 0xd3, 0x40, - 0x4d, 0xa8, 0x75, 0x7b, 0x1b, 0xfb, 0xdb, 0x76, 0xb7, 0xb7, 0xd1, 0xeb, 0x77, 0x9b, 0x33, 0xe6, - 0xd7, 0x06, 0x34, 0xf2, 0xfd, 0x93, 0x38, 0x9f, 0xd4, 0x99, 0xf2, 0x88, 0xc4, 0x8c, 0x86, 0x41, - 0xda, 0x29, 0x4b, 0xe1, 0x5d, 0x25, 0x43, 0x0f, 0xe4, 0xb5, 0x2b, 0x22, 0x31, 0xa7, 0xfa, 0x6c, - 0x2a, 0x3e, 0x76, 0xf3, 0x7e, 0xda, 0x87, 0x63, 0x7b, 0x75, 0xec, 0x66, 0x00, 0x57, 0x6f, 0xc0, - 0xe2, 0xd4, 0xf0, 0xb9, 0x8e, 0xde, 0x7f, 0xce, 0x40, 0x23, 0x7f, 0xab, 0x40, 0x18, 0x6a, 0x0f, - 0xdd, 0x21, 0xb3, 0xd3, 0xab, 0x89, 0x21, 0x29, 0x7f, 0x74, 0xae, 0xab, 0x49, 0x7b, 0xd7, 0x1d, - 0x32, 0xfd, 0x5b, 0x71, 0xae, 0x3e, 0x9c, 0x48, 0x84, 0x8b, 0x63, 0x1c, 0x07, 0x63, 0x17, 0x33, - 0x17, 0x71, 0x71, 0x1f, 0xc7, 0x41, 0xde, 0xc5, 0xf1, 0x44, 0xb2, 0xfa, 0x11, 0x34, 0xa7, 0x39, - 0x14, 0x05, 0xa6, 0x94, 0x09, 0x8c, 0xb0, 0x9f, 0x76, 0x70, 0x1e, 0x7b, 0xf3, 0x2b, 0x03, 0x96, - 0x37, 0x63, 0x82, 0x79, 0xda, 0x40, 0x59, 0xe4, 0x57, 0x09, 0x61, 0xbc, 0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0xcc, - 0x54, 0xb3, 0x1a, 0x00, 0x00, + proto.RegisterFile("google/cloud/dataproc/v1beta2/clusters.proto", fileDescriptor_clusters_696b2fb06247af3e) +} + +var fileDescriptor_clusters_696b2fb06247af3e = []byte{ + // 2222 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4b, 0x73, 0x1b, 0xc7, + 0x11, 0xd6, 0x12, 0x7c, 0x80, 0x0d, 0xe2, 0xc1, 0x31, 0xcd, 0xc0, 0x74, 0x14, 0xcb, 0xeb, 0xc4, + 0xa1, 0x1d, 0x05, 0xb0, 0xa9, 0xb8, 0xec, 0x48, 0x91, 0x4b, 0x14, 0x09, 0x91, 0xb4, 0x28, 0x8a, + 0x59, 0x00, 0x52, 0x94, 0x44, 0xb5, 0x35, 0xd8, 0x1d, 0x40, 0x63, 0xee, 0x2b, 0x3b, 0xb3, 0xb2, + 0x21, 0x95, 0xaa, 0x52, 0xce, 0x29, 0x95, 0x63, 0x7e, 0x40, 0x7c, 0xce, 0xc1, 0x07, 0x57, 0xaa, + 0x52, 0x39, 0xe4, 0x96, 0x7f, 0xe0, 0xaa, 0xfc, 0x82, 0x1c, 0x72, 0xc9, 0x3d, 0xc7, 0xd4, 0x3c, + 0x16, 0xd8, 0x05, 0x29, 0x81, 0x64, 0x54, 0x3e, 0x11, 0xdb, 0xd3, 0xfd, 0xf5, 0x37, 0x3d, 0x3d, + 0x3d, 0x3d, 0x43, 0xb8, 0x3c, 0x08, 0xc3, 0x81, 0x47, 0x9a, 0x8e, 0x17, 0x26, 0x6e, 0xd3, 0xc5, + 0x1c, 0x47, 0x71, 0xe8, 0x34, 0x1f, 0xbf, 0xdf, 0x23, 0x1c, 0x6f, 0x34, 0x1d, 0x2f, 0x61, 0x9c, + 0xc4, 0xac, 0x11, 0xc5, 0x21, 0x0f, 0xd1, 0x45, 0xa5, 0xdd, 0x90, 0xda, 0x8d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0x88, 0x9d, 0xc4, 0x54, 0xdb, 0x2d, 0x88, 0xef, 0x6e, 0x4c, 0xd1, 0x1b, 0x50, 0x0a, 0x08, 0x17, + 0x79, 0x25, 0x47, 0xd5, 0x36, 0x06, 0x2d, 0x12, 0x0a, 0x3f, 0x80, 0x0a, 0x4b, 0x7a, 0x59, 0x1d, + 0x55, 0x70, 0xca, 0x63, 0xa9, 0x50, 0x5b, 0x87, 0x1a, 0x0d, 0x38, 0x89, 0x03, 0xec, 0xd9, 0x34, + 0xb2, 0xc3, 0xc0, 0x13, 0xc5, 0xce, 0x58, 0x2f, 0x5a, 0x95, 0x54, 0xbe, 0x17, 0xdd, 0x0d, 0xbc, + 0x21, 0xfa, 0x21, 0x54, 0x19, 0x89, 0x1f, 0x53, 0x87, 0xd8, 0xd8, 0x71, 0xc2, 0x24, 0xe0, 0x72, + 0x7b, 0x2f, 0x5a, 0x15, 0x2d, 0xde, 0x54, 0x52, 0xf4, 0x13, 0x58, 0x9d, 0x50, 0xb4, 0x99, 0x13, + 0x46, 0x84, 0xd5, 0x0b, 0x97, 0x0a, 0xeb, 0x8b, 0xd6, 0x4a, 0x5e, 0xbf, 0x2d, 0xc7, 0x10, 0x82, + 0x59, 0x8e, 0x07, 0xa2, 0x6e, 0x0b, 0x1d, 0xf9, 0x1b, 0x3d, 0x80, 0xa2, 0x4f, 0x38, 0x16, 0x2b, + 0x52, 0x9f, 0x93, 0x69, 0x71, 0xfd, 0x8c, 0xa5, 0xa4, 0x71, 0x47, 0xdb, 0xab, 0x63, 0x62, 0x04, + 0xb7, 0x76, 0x0d, 0xca, 0xb9, 0xa1, 0x33, 0xd5, 0xc8, 0xdf, 0xce, 0xc2, 0x2b, 0x27, 0x6c, 0x4f, + 0x51, 0x29, 0x83, 0xc4, 0xb7, 0xa9, 0x1e, 0x62, 0x12, 0x6d, 0xce, 0x5a, 0x0a, 0x12, 0x3f, 0x55, + 0x67, 0x62, 0x61, 0x52, 0x05, 0x99, 0x11, 0xac, 0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b, 0x79, 0xdf, 0x4c, 0x2f, 0x62, 0xec, 0x50, 0x9c, 0xef, 0x87, 0xc6, 0x2f, + 0x5b, 0x5a, 0x7f, 0x10, 0x7a, 0x38, 0x18, 0x34, 0xc2, 0x78, 0xd0, 0x1c, 0x90, 0x40, 0x9e, 0xfe, + 0x4d, 0x35, 0x84, 0x23, 0xca, 0x9e, 0xf3, 0x7f, 0xab, 0x6b, 0xa9, 0xa0, 0x37, 0x2f, 0x2d, 0xae, + 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x40, 0x2b, 0x40, 0x29, 0x53, 0x1b, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go index 76fa3d42c..9bfb84eba 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go @@ -80,7 +80,7 @@ func (x LoggingConfig_Level) String() string { return proto.EnumName(LoggingConfig_Level_name, int32(x)) } func (LoggingConfig_Level) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{0, 0} + return fileDescriptor_jobs_424577be4146c9d4, []int{0, 0} } // The job state. @@ -143,7 +143,7 @@ func (x JobStatus_State) String() string { return proto.EnumName(JobStatus_State_name, int32(x)) } func (JobStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{9, 0} + return fileDescriptor_jobs_424577be4146c9d4, []int{9, 0} } // The job substate. @@ -187,7 +187,7 @@ func (x JobStatus_Substate) String() string { return proto.EnumName(JobStatus_Substate_name, int32(x)) } func (JobStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{9, 1} + return fileDescriptor_jobs_424577be4146c9d4, []int{9, 1} } // The application state, corresponding to @@ -242,7 +242,7 @@ func (x YarnApplication_State) String() string { return proto.EnumName(YarnApplication_State_name, int32(x)) } func (YarnApplication_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{11, 0} + return fileDescriptor_jobs_424577be4146c9d4, []int{11, 0} } // A matcher that specifies categories of job states. @@ -273,7 +273,7 @@ func (x ListJobsRequest_JobStateMatcher) String() string { return proto.EnumName(ListJobsRequest_JobStateMatcher_name, int32(x)) } func (ListJobsRequest_JobStateMatcher) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{16, 0} + return fileDescriptor_jobs_424577be4146c9d4, []int{16, 0} } // The runtime logging config of the job. @@ -292,7 +292,7 @@ func (m *LoggingConfig) Reset() { *m = LoggingConfig{} } func (m *LoggingConfig) String() string { return proto.CompactTextString(m) } func (*LoggingConfig) ProtoMessage() {} func (*LoggingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{0} + return fileDescriptor_jobs_424577be4146c9d4, []int{0} } func (m *LoggingConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoggingConfig.Unmarshal(m, b) @@ -364,7 +364,7 @@ func (m *HadoopJob) Reset() { *m = HadoopJob{} } func (m *HadoopJob) String() string { return proto.CompactTextString(m) } func (*HadoopJob) ProtoMessage() {} func (*HadoopJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{1} + return fileDescriptor_jobs_424577be4146c9d4, []int{1} } func (m *HadoopJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HadoopJob.Unmarshal(m, b) @@ -391,12 +391,14 @@ type isHadoopJob_Driver interface { type HadoopJob_MainJarFileUri struct { MainJarFileUri string `protobuf:"bytes,1,opt,name=main_jar_file_uri,json=mainJarFileUri,proto3,oneof"` } + type HadoopJob_MainClass struct { MainClass string `protobuf:"bytes,2,opt,name=main_class,json=mainClass,proto3,oneof"` } func (*HadoopJob_MainJarFileUri) isHadoopJob_Driver() {} -func (*HadoopJob_MainClass) isHadoopJob_Driver() {} + +func (*HadoopJob_MainClass) isHadoopJob_Driver() {} func (m *HadoopJob) GetDriver() isHadoopJob_Driver { if m != nil { @@ -569,7 +571,7 @@ func (m *SparkJob) Reset() { *m = SparkJob{} } func (m *SparkJob) String() string { return proto.CompactTextString(m) } func (*SparkJob) ProtoMessage() {} func (*SparkJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{2} + return fileDescriptor_jobs_424577be4146c9d4, []int{2} } func (m *SparkJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SparkJob.Unmarshal(m, b) @@ -596,12 +598,14 @@ type isSparkJob_Driver interface { type SparkJob_MainJarFileUri struct { MainJarFileUri string `protobuf:"bytes,1,opt,name=main_jar_file_uri,json=mainJarFileUri,proto3,oneof"` } + type SparkJob_MainClass struct { MainClass string `protobuf:"bytes,2,opt,name=main_class,json=mainClass,proto3,oneof"` } func (*SparkJob_MainJarFileUri) isSparkJob_Driver() {} -func (*SparkJob_MainClass) isSparkJob_Driver() {} + +func (*SparkJob_MainClass) isSparkJob_Driver() {} func (m *SparkJob) GetDriver() isSparkJob_Driver { if m != nil { @@ -771,7 +775,7 @@ func (m *PySparkJob) Reset() { *m = PySparkJob{} } func (m *PySparkJob) String() string { return proto.CompactTextString(m) } func (*PySparkJob) ProtoMessage() {} func (*PySparkJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{3} + return fileDescriptor_jobs_424577be4146c9d4, []int{3} } func (m *PySparkJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PySparkJob.Unmarshal(m, b) @@ -873,7 +877,7 @@ func (m *QueryList) Reset() { *m = QueryList{} } func (m *QueryList) String() string { return proto.CompactTextString(m) } func (*QueryList) ProtoMessage() {} func (*QueryList) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{4} + return fileDescriptor_jobs_424577be4146c9d4, []int{4} } func (m *QueryList) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryList.Unmarshal(m, b) @@ -935,7 +939,7 @@ func (m *HiveJob) Reset() { *m = HiveJob{} } func (m *HiveJob) String() string { return proto.CompactTextString(m) } func (*HiveJob) ProtoMessage() {} func (*HiveJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{5} + return fileDescriptor_jobs_424577be4146c9d4, []int{5} } func (m *HiveJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HiveJob.Unmarshal(m, b) @@ -962,12 +966,14 @@ type isHiveJob_Queries interface { type HiveJob_QueryFileUri struct { QueryFileUri string `protobuf:"bytes,1,opt,name=query_file_uri,json=queryFileUri,proto3,oneof"` } + type HiveJob_QueryList struct { QueryList *QueryList `protobuf:"bytes,2,opt,name=query_list,json=queryList,proto3,oneof"` } func (*HiveJob_QueryFileUri) isHiveJob_Queries() {} -func (*HiveJob_QueryList) isHiveJob_Queries() {} + +func (*HiveJob_QueryList) isHiveJob_Queries() {} func (m *HiveJob) GetQueries() isHiveJob_Queries { if m != nil { @@ -1118,7 +1124,7 @@ func (m *SparkSqlJob) Reset() { *m = SparkSqlJob{} } func (m *SparkSqlJob) String() string { return proto.CompactTextString(m) } func (*SparkSqlJob) ProtoMessage() {} func (*SparkSqlJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{6} + return fileDescriptor_jobs_424577be4146c9d4, []int{6} } func (m *SparkSqlJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SparkSqlJob.Unmarshal(m, b) @@ -1145,12 +1151,14 @@ type isSparkSqlJob_Queries interface { type SparkSqlJob_QueryFileUri struct { QueryFileUri string `protobuf:"bytes,1,opt,name=query_file_uri,json=queryFileUri,proto3,oneof"` } + type SparkSqlJob_QueryList struct { QueryList *QueryList `protobuf:"bytes,2,opt,name=query_list,json=queryList,proto3,oneof"` } func (*SparkSqlJob_QueryFileUri) isSparkSqlJob_Queries() {} -func (*SparkSqlJob_QueryList) isSparkSqlJob_Queries() {} + +func (*SparkSqlJob_QueryList) isSparkSqlJob_Queries() {} func (m *SparkSqlJob) GetQueries() isSparkSqlJob_Queries { if m != nil { @@ -1307,7 +1315,7 @@ func (m *PigJob) Reset() { *m = PigJob{} } func (m *PigJob) String() string { return proto.CompactTextString(m) } func (*PigJob) ProtoMessage() {} func (*PigJob) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{7} + return fileDescriptor_jobs_424577be4146c9d4, []int{7} } func (m *PigJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PigJob.Unmarshal(m, b) @@ -1334,12 +1342,14 @@ type isPigJob_Queries interface { type PigJob_QueryFileUri struct { QueryFileUri string `protobuf:"bytes,1,opt,name=query_file_uri,json=queryFileUri,proto3,oneof"` } + type PigJob_QueryList struct { QueryList *QueryList `protobuf:"bytes,2,opt,name=query_list,json=queryList,proto3,oneof"` } func (*PigJob_QueryFileUri) isPigJob_Queries() {} -func (*PigJob_QueryList) isPigJob_Queries() {} + +func (*PigJob_QueryList) isPigJob_Queries() {} func (m *PigJob) GetQueries() isPigJob_Queries { if m != nil { @@ -1483,7 +1493,7 @@ func (m *JobPlacement) Reset() { *m = JobPlacement{} } func (m *JobPlacement) String() string { return proto.CompactTextString(m) } func (*JobPlacement) ProtoMessage() {} func (*JobPlacement) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{8} + return fileDescriptor_jobs_424577be4146c9d4, []int{8} } func (m *JobPlacement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobPlacement.Unmarshal(m, b) @@ -1538,7 +1548,7 @@ func (m *JobStatus) Reset() { *m = JobStatus{} } func (m *JobStatus) String() string { return proto.CompactTextString(m) } func (*JobStatus) ProtoMessage() {} func (*JobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{9} + return fileDescriptor_jobs_424577be4146c9d4, []int{9} } func (m *JobStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobStatus.Unmarshal(m, b) @@ -1606,7 +1616,7 @@ func (m *JobReference) Reset() { *m = JobReference{} } func (m *JobReference) String() string { return proto.CompactTextString(m) } func (*JobReference) ProtoMessage() {} func (*JobReference) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{10} + return fileDescriptor_jobs_424577be4146c9d4, []int{10} } func (m *JobReference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobReference.Unmarshal(m, b) @@ -1666,7 +1676,7 @@ func (m *YarnApplication) Reset() { *m = YarnApplication{} } func (m *YarnApplication) String() string { return proto.CompactTextString(m) } func (*YarnApplication) ProtoMessage() {} func (*YarnApplication) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{11} + return fileDescriptor_jobs_424577be4146c9d4, []int{11} } func (m *YarnApplication) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_YarnApplication.Unmarshal(m, b) @@ -1745,6 +1755,9 @@ type Job struct { // **Beta** Feature: This report is available for testing purposes only. It may // be changed before final release. YarnApplications []*YarnApplication `protobuf:"bytes,9,rep,name=yarn_applications,json=yarnApplications,proto3" json:"yarn_applications,omitempty"` + // Output only. The email address of the user submitting the job. For jobs + // submitted on the cluster, the address is username@hostname. + SubmittedBy string `protobuf:"bytes,10,opt,name=submitted_by,json=submittedBy,proto3" json:"submitted_by,omitempty"` // Output only. A URI pointing to the location of the stdout of the job's // driver program. DriverOutputResourceUri string `protobuf:"bytes,17,opt,name=driver_output_resource_uri,json=driverOutputResourceUri,proto3" json:"driver_output_resource_uri,omitempty"` @@ -1760,17 +1773,21 @@ type Job struct { // No more than 32 labels can be associated with a job. Labels map[string]string `protobuf:"bytes,18,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. Job scheduling configuration. - Scheduling *JobScheduling `protobuf:"bytes,20,opt,name=scheduling,proto3" json:"scheduling,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Scheduling *JobScheduling `protobuf:"bytes,20,opt,name=scheduling,proto3" json:"scheduling,omitempty"` + // Output only. A UUID that uniquely identifies a job within the project + // over time. This is in contrast to a user-settable reference.job_id that + // may be reused over time. + JobUuid string `protobuf:"bytes,22,opt,name=job_uuid,json=jobUuid,proto3" json:"job_uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Job) Reset() { *m = Job{} } func (m *Job) String() string { return proto.CompactTextString(m) } func (*Job) ProtoMessage() {} func (*Job) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{12} + return fileDescriptor_jobs_424577be4146c9d4, []int{12} } func (m *Job) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Job.Unmarshal(m, b) @@ -1790,6 +1807,20 @@ func (m *Job) XXX_DiscardUnknown() { var xxx_messageInfo_Job proto.InternalMessageInfo +func (m *Job) GetReference() *JobReference { + if m != nil { + return m.Reference + } + return nil +} + +func (m *Job) GetPlacement() *JobPlacement { + if m != nil { + return m.Placement + } + return nil +} + type isJob_TypeJob interface { isJob_TypeJob() } @@ -1797,27 +1828,37 @@ type isJob_TypeJob interface { type Job_HadoopJob struct { HadoopJob *HadoopJob `protobuf:"bytes,3,opt,name=hadoop_job,json=hadoopJob,proto3,oneof"` } + type Job_SparkJob struct { SparkJob *SparkJob `protobuf:"bytes,4,opt,name=spark_job,json=sparkJob,proto3,oneof"` } + type Job_PysparkJob struct { PysparkJob *PySparkJob `protobuf:"bytes,5,opt,name=pyspark_job,json=pysparkJob,proto3,oneof"` } + type Job_HiveJob struct { HiveJob *HiveJob `protobuf:"bytes,6,opt,name=hive_job,json=hiveJob,proto3,oneof"` } + type Job_PigJob struct { PigJob *PigJob `protobuf:"bytes,7,opt,name=pig_job,json=pigJob,proto3,oneof"` } + type Job_SparkSqlJob struct { SparkSqlJob *SparkSqlJob `protobuf:"bytes,12,opt,name=spark_sql_job,json=sparkSqlJob,proto3,oneof"` } -func (*Job_HadoopJob) isJob_TypeJob() {} -func (*Job_SparkJob) isJob_TypeJob() {} -func (*Job_PysparkJob) isJob_TypeJob() {} -func (*Job_HiveJob) isJob_TypeJob() {} -func (*Job_PigJob) isJob_TypeJob() {} +func (*Job_HadoopJob) isJob_TypeJob() {} + +func (*Job_SparkJob) isJob_TypeJob() {} + +func (*Job_PysparkJob) isJob_TypeJob() {} + +func (*Job_HiveJob) isJob_TypeJob() {} + +func (*Job_PigJob) isJob_TypeJob() {} + func (*Job_SparkSqlJob) isJob_TypeJob() {} func (m *Job) GetTypeJob() isJob_TypeJob { @@ -1827,20 +1868,6 @@ func (m *Job) GetTypeJob() isJob_TypeJob { return nil } -func (m *Job) GetReference() *JobReference { - if m != nil { - return m.Reference - } - return nil -} - -func (m *Job) GetPlacement() *JobPlacement { - if m != nil { - return m.Placement - } - return nil -} - func (m *Job) GetHadoopJob() *HadoopJob { if x, ok := m.GetTypeJob().(*Job_HadoopJob); ok { return x.HadoopJob @@ -1904,6 +1931,13 @@ func (m *Job) GetYarnApplications() []*YarnApplication { return nil } +func (m *Job) GetSubmittedBy() string { + if m != nil { + return m.SubmittedBy + } + return "" +} + func (m *Job) GetDriverOutputResourceUri() string { if m != nil { return m.DriverOutputResourceUri @@ -1932,6 +1966,13 @@ func (m *Job) GetScheduling() *JobScheduling { return nil } +func (m *Job) GetJobUuid() string { + if m != nil { + return m.JobUuid + } + return "" +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*Job) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _Job_OneofMarshaler, _Job_OneofUnmarshaler, _Job_OneofSizer, []interface{}{ @@ -2102,7 +2143,7 @@ func (m *JobScheduling) Reset() { *m = JobScheduling{} } func (m *JobScheduling) String() string { return proto.CompactTextString(m) } func (*JobScheduling) ProtoMessage() {} func (*JobScheduling) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{13} + return fileDescriptor_jobs_424577be4146c9d4, []int{13} } func (m *JobScheduling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JobScheduling.Unmarshal(m, b) @@ -2159,7 +2200,7 @@ func (m *SubmitJobRequest) Reset() { *m = SubmitJobRequest{} } func (m *SubmitJobRequest) String() string { return proto.CompactTextString(m) } func (*SubmitJobRequest) ProtoMessage() {} func (*SubmitJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{14} + return fileDescriptor_jobs_424577be4146c9d4, []int{14} } func (m *SubmitJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubmitJobRequest.Unmarshal(m, b) @@ -2225,7 +2266,7 @@ func (m *GetJobRequest) Reset() { *m = GetJobRequest{} } func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } func (*GetJobRequest) ProtoMessage() {} func (*GetJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{15} + return fileDescriptor_jobs_424577be4146c9d4, []int{15} } func (m *GetJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJobRequest.Unmarshal(m, b) @@ -2310,7 +2351,7 @@ func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} } func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) } func (*ListJobsRequest) ProtoMessage() {} func (*ListJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{16} + return fileDescriptor_jobs_424577be4146c9d4, []int{16} } func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b) @@ -2406,7 +2447,7 @@ func (m *UpdateJobRequest) Reset() { *m = UpdateJobRequest{} } func (m *UpdateJobRequest) String() string { return proto.CompactTextString(m) } func (*UpdateJobRequest) ProtoMessage() {} func (*UpdateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{17} + return fileDescriptor_jobs_424577be4146c9d4, []int{17} } func (m *UpdateJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateJobRequest.Unmarshal(m, b) @@ -2478,7 +2519,7 @@ func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} } func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) } func (*ListJobsResponse) ProtoMessage() {} func (*ListJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{18} + return fileDescriptor_jobs_424577be4146c9d4, []int{18} } func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b) @@ -2530,7 +2571,7 @@ func (m *CancelJobRequest) Reset() { *m = CancelJobRequest{} } func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) } func (*CancelJobRequest) ProtoMessage() {} func (*CancelJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{19} + return fileDescriptor_jobs_424577be4146c9d4, []int{19} } func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b) @@ -2589,7 +2630,7 @@ func (m *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} } func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) } func (*DeleteJobRequest) ProtoMessage() {} func (*DeleteJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_jobs_0f6ff1bb746c0b59, []int{20} + return fileDescriptor_jobs_424577be4146c9d4, []int{20} } func (m *DeleteJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteJobRequest.Unmarshal(m, b) @@ -2928,154 +2969,156 @@ var _JobController_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/jobs.proto", fileDescriptor_jobs_0f6ff1bb746c0b59) -} - -var fileDescriptor_jobs_0f6ff1bb746c0b59 = []byte{ - // 2306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcd, 0x73, 0xdb, 0xc6, - 0x15, 0x17, 0xbf, 0x89, 0x47, 0x7d, 0x40, 0x1b, 0x3b, 0xe5, 0x30, 0xcd, 0x44, 0xc1, 0x4c, 0x52, - 0x35, 0xe9, 0x90, 0x13, 0xd6, 0x75, 0x1c, 0xbb, 0x69, 0x4c, 0x91, 0xa0, 0x49, 0x95, 0xa6, 0x18, - 0x90, 0xb4, 0x9b, 0x74, 0x3a, 0x08, 0x48, 0xae, 0x28, 0x48, 0x20, 0x00, 0xef, 0x02, 0xaa, 0x19, - 0x8f, 0x2f, 0xbd, 0xf4, 0xd0, 0x63, 0x2f, 0x9d, 0xe9, 0x4c, 0x66, 0x7a, 0x6b, 0x66, 0x7a, 0xe9, - 0xb5, 0xff, 0x40, 0xa7, 0x97, 0xf6, 0x90, 0x3f, 0xa1, 0x3d, 0xf4, 0xd8, 0x53, 0xcf, 0x9d, 0xdd, - 0x05, 0x28, 0x92, 0x92, 0x4d, 0xc8, 0xea, 0x97, 0x73, 0x12, 0xf0, 0xbe, 0xf6, 0xed, 0xfe, 0x7e, - 0xfb, 0xf6, 0x2d, 0x28, 0xd8, 0x1d, 0x3b, 0xce, 0xd8, 0xc2, 0xa5, 0xa1, 0xe5, 0xf8, 0xa3, 0xd2, - 0xc8, 0xf0, 0x0c, 0x97, 0x38, 0xc3, 0xd2, 0xe9, 0x7b, 0x03, 0xec, 0x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0x51, 0xf1, 0x72, 0xc5, 0xa1, 0x50, 0x8a, 0x6c, 0x2f, 0x28, 0xaf, 0x7c, 0x9f, 0x27, 0x7d, 0x13, - 0xdd, 0x78, 0x91, 0xa4, 0xd1, 0xef, 0x62, 0x20, 0xcd, 0x4a, 0xc3, 0x4a, 0xe8, 0x97, 0x8b, 0x48, - 0xa4, 0x55, 0xdd, 0xe7, 0x09, 0xd6, 0xca, 0x57, 0x5b, 0xd5, 0xdb, 0xbc, 0x60, 0xfc, 0x3e, 0x06, - 0xd2, 0x6c, 0x03, 0xae, 0x4c, 0x77, 0x79, 0xab, 0x46, 0x4a, 0xf7, 0x80, 0xa7, 0xdb, 0x54, 0x6a, - 0x57, 0x4b, 0x77, 0xc8, 0xc7, 0x66, 0x94, 0xfd, 0x75, 0x0c, 0xa4, 0xd9, 0x96, 0x5e, 0x99, 0xf3, - 0xf2, 0xe6, 0x2f, 0xbc, 0x7a, 0xae, 0x1c, 0xaa, 0x13, 0xd7, 0x9b, 0x86, 0x64, 0x7d, 0xe7, 0x6a, - 0xcb, 0xba, 0xf7, 0x53, 0x78, 0x73, 0xe8, 0x4c, 0x9e, 0x9f, 0xd4, 0x9e, 0xc4, 0x18, 0xd7, 0x61, - 0xe3, 0x77, 0x62, 0x9f, 0xaa, 0x81, 0xed, 0xd8, 0xb1, 0x0c, 0x7b, 0x5c, 0x74, 0xc8, 0xb8, 0x34, - 0xc6, 0x36, 0xcf, 0xae, 0x24, 0x54, 0x86, 0x6b, 0xd2, 0x67, 0xfc, 0xa7, 0xc0, 0x9d, 0x50, 0x30, - 0x48, 0x73, 0x8f, 0xef, 0xfe, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x78, 0x17, 0x92, 0x5a, 0x20, - 0x00, 0x00, + proto.RegisterFile("google/cloud/dataproc/v1beta2/jobs.proto", fileDescriptor_jobs_424577be4146c9d4) +} + +var fileDescriptor_jobs_424577be4146c9d4 = []byte{ + // 2341 bytes of a gzipped FileDescriptorProto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, 0x4b, 0x0e, 0xb9, 0x42, 0x68, 0x7d, 0x41, 0x79, 0xe5, 0x7b, 0x3c, + 0xe8, 0xdb, 0xe8, 0xd6, 0xab, 0x04, 0x8d, 0x7e, 0x13, 0x01, 0x69, 0x96, 0x1a, 0x56, 0x42, 0xbf, + 0x9c, 0x44, 0x42, 0xed, 0xea, 0x3e, 0x0f, 0xb0, 0x52, 0xbc, 0xdc, 0xae, 0xde, 0xe5, 0x09, 0xe3, + 0xb7, 0x11, 0x90, 0x66, 0x07, 0x70, 0x65, 0xb8, 0xcb, 0x47, 0x35, 0x54, 0xb8, 0x07, 0x3c, 0xdc, + 0xba, 0x52, 0xb9, 0x5c, 0xb8, 0x7d, 0x3e, 0x37, 0xa3, 0xec, 0x2f, 0x23, 0x20, 0xcd, 0x8e, 0xf4, + 0xca, 0x98, 0x97, 0x0f, 0x7f, 0xee, 0xcd, 0x33, 0xe9, 0x50, 0x1d, 0x3b, 0xee, 0x34, 0x20, 0xeb, + 0x8d, 0xcb, 0x6d, 0xeb, 0xde, 0x4f, 0xe0, 0x9d, 0xbe, 0x3d, 0x7e, 0x79, 0x50, 0x7b, 0x12, 0x63, + 0x5c, 0x8b, 0xcd, 0xdf, 0x8a, 0x7c, 0xaa, 0xfa, 0xba, 0x43, 0xdb, 0x32, 0x26, 0xc3, 0xbc, 0x4d, + 0x86, 0x85, 0x21, 0x9e, 0xf0, 0xe8, 0x0a, 0x62, 0xc8, 0x70, 0x4c, 0xfa, 0x82, 0xff, 0x33, 0xb8, + 0x17, 0x08, 0x7a, 0x49, 0x6e, 0xf1, 0x9d, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xbb, 0x4e, + 0xb3, 0x98, 0x20, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go index 18eef5f56..8cdc16dbf 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go @@ -51,7 +51,7 @@ func (x ClusterOperationStatus_State) String() string { return proto.EnumName(ClusterOperationStatus_State_name, int32(x)) } func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_operations_54f6cccb1783f6c3, []int{0, 0} + return fileDescriptor_operations_40b106a2248b9117, []int{0, 0} } // The status of the operation. @@ -73,7 +73,7 @@ func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) } func (*ClusterOperationStatus) ProtoMessage() {} func (*ClusterOperationStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_54f6cccb1783f6c3, []int{0} + return fileDescriptor_operations_40b106a2248b9117, []int{0} } func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b) @@ -148,7 +148,7 @@ func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetada func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) } func (*ClusterOperationMetadata) ProtoMessage() {} func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_54f6cccb1783f6c3, []int{1} + return fileDescriptor_operations_40b106a2248b9117, []int{1} } func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b) @@ -232,10 +232,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/operations.proto", fileDescriptor_operations_54f6cccb1783f6c3) + proto.RegisterFile("google/cloud/dataproc/v1beta2/operations.proto", fileDescriptor_operations_40b106a2248b9117) } -var fileDescriptor_operations_54f6cccb1783f6c3 = []byte{ +var fileDescriptor_operations_40b106a2248b9117 = []byte{ // 537 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x5f, 0x8b, 0xd3, 0x4e, 0x14, 0xfd, 0xa5, 0xff, 0x7b, 0xb3, 0xed, 0xaf, 0x0c, 0x22, 0x43, 0x51, 0x36, 0x5b, 0x10, 0xfa, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go index 8576e5067..2cc255029 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go @@ -20,10 +20,10 @@ var _ = math.Inf const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/shared.proto", fileDescriptor_shared_e1c029f42217b36b) + proto.RegisterFile("google/cloud/dataproc/v1beta2/shared.proto", fileDescriptor_shared_a231fcd9ac6a326c) } -var fileDescriptor_shared_e1c029f42217b36b = []byte{ +var fileDescriptor_shared_a231fcd9ac6a326c = []byte{ // 157 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8e, 0xa1, 0x0e, 0x02, 0x31, 0x0c, 0x40, 0x83, 0x41, 0x1c, 0x0e, 0x49, 0x40, 0x60, 0x11, 0x6d, 0x00, 0x89, 0xbb, 0x04, 0x7f, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go index b345e58fc..0daac7f32 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go @@ -58,7 +58,7 @@ func (x WorkflowMetadata_State) String() string { return proto.EnumName(WorkflowMetadata_State_name, int32(x)) } func (WorkflowMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{5, 0} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{9, 0} } // The workflow node state. @@ -101,7 +101,7 @@ func (x WorkflowNode_NodeState) String() string { return proto.EnumName(WorkflowNode_NodeState_name, int32(x)) } func (WorkflowNode_NodeState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{8, 0} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{12, 0} } // A Cloud Dataproc workflow template resource. @@ -146,17 +146,21 @@ type WorkflowTemplate struct { // Required. WorkflowTemplate scheduling information. Placement *WorkflowTemplatePlacement `protobuf:"bytes,7,opt,name=placement,proto3" json:"placement,omitempty"` // Required. The Directed Acyclic Graph of Jobs to submit. - Jobs []*OrderedJob `protobuf:"bytes,8,rep,name=jobs,proto3" json:"jobs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Jobs []*OrderedJob `protobuf:"bytes,8,rep,name=jobs,proto3" json:"jobs,omitempty"` + // Optional. Template parameters whose values are substituted into the + // template. Values for parameters must be provided when the template is + // instantiated. + Parameters []*TemplateParameter `protobuf:"bytes,9,rep,name=parameters,proto3" json:"parameters,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *WorkflowTemplate) Reset() { *m = WorkflowTemplate{} } func (m *WorkflowTemplate) String() string { return proto.CompactTextString(m) } func (*WorkflowTemplate) ProtoMessage() {} func (*WorkflowTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{0} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{0} } func (m *WorkflowTemplate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkflowTemplate.Unmarshal(m, b) @@ -232,6 +236,13 @@ func (m *WorkflowTemplate) GetJobs() []*OrderedJob { return nil } +func (m *WorkflowTemplate) GetParameters() []*TemplateParameter { + if m != nil { + return m.Parameters + } + return nil +} + // Specifies workflow execution target. // // Either `managed_cluster` or `cluster_selector` is required. @@ -252,7 +263,7 @@ func (m *WorkflowTemplatePlacement) Reset() { *m = WorkflowTemplatePlace func (m *WorkflowTemplatePlacement) String() string { return proto.CompactTextString(m) } func (*WorkflowTemplatePlacement) ProtoMessage() {} func (*WorkflowTemplatePlacement) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{1} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{1} } func (m *WorkflowTemplatePlacement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkflowTemplatePlacement.Unmarshal(m, b) @@ -279,11 +290,13 @@ type isWorkflowTemplatePlacement_Placement interface { type WorkflowTemplatePlacement_ManagedCluster struct { ManagedCluster *ManagedCluster `protobuf:"bytes,1,opt,name=managed_cluster,json=managedCluster,proto3,oneof"` } + type WorkflowTemplatePlacement_ClusterSelector struct { ClusterSelector *ClusterSelector `protobuf:"bytes,2,opt,name=cluster_selector,json=clusterSelector,proto3,oneof"` } -func (*WorkflowTemplatePlacement_ManagedCluster) isWorkflowTemplatePlacement_Placement() {} +func (*WorkflowTemplatePlacement_ManagedCluster) isWorkflowTemplatePlacement_Placement() {} + func (*WorkflowTemplatePlacement_ClusterSelector) isWorkflowTemplatePlacement_Placement() {} func (m *WorkflowTemplatePlacement) GetPlacement() isWorkflowTemplatePlacement_Placement { @@ -412,7 +425,7 @@ func (m *ManagedCluster) Reset() { *m = ManagedCluster{} } func (m *ManagedCluster) String() string { return proto.CompactTextString(m) } func (*ManagedCluster) ProtoMessage() {} func (*ManagedCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{2} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{2} } func (m *ManagedCluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManagedCluster.Unmarshal(m, b) @@ -473,7 +486,7 @@ func (m *ClusterSelector) Reset() { *m = ClusterSelector{} } func (m *ClusterSelector) String() string { return proto.CompactTextString(m) } func (*ClusterSelector) ProtoMessage() {} func (*ClusterSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{3} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{3} } func (m *ClusterSelector) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterSelector.Unmarshal(m, b) @@ -556,7 +569,7 @@ func (m *OrderedJob) Reset() { *m = OrderedJob{} } func (m *OrderedJob) String() string { return proto.CompactTextString(m) } func (*OrderedJob) ProtoMessage() {} func (*OrderedJob) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{4} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{4} } func (m *OrderedJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OrderedJob.Unmarshal(m, b) @@ -576,6 +589,13 @@ func (m *OrderedJob) XXX_DiscardUnknown() { var xxx_messageInfo_OrderedJob proto.InternalMessageInfo +func (m *OrderedJob) GetStepId() string { + if m != nil { + return m.StepId + } + return "" +} + type isOrderedJob_JobType interface { isOrderedJob_JobType() } @@ -583,27 +603,37 @@ type isOrderedJob_JobType interface { type OrderedJob_HadoopJob struct { HadoopJob *HadoopJob `protobuf:"bytes,2,opt,name=hadoop_job,json=hadoopJob,proto3,oneof"` } + type OrderedJob_SparkJob struct { SparkJob *SparkJob `protobuf:"bytes,3,opt,name=spark_job,json=sparkJob,proto3,oneof"` } + type OrderedJob_PysparkJob struct { PysparkJob *PySparkJob `protobuf:"bytes,4,opt,name=pyspark_job,json=pysparkJob,proto3,oneof"` } + type OrderedJob_HiveJob struct { HiveJob *HiveJob `protobuf:"bytes,5,opt,name=hive_job,json=hiveJob,proto3,oneof"` } + type OrderedJob_PigJob struct { PigJob *PigJob `protobuf:"bytes,6,opt,name=pig_job,json=pigJob,proto3,oneof"` } + type OrderedJob_SparkSqlJob struct { SparkSqlJob *SparkSqlJob `protobuf:"bytes,7,opt,name=spark_sql_job,json=sparkSqlJob,proto3,oneof"` } -func (*OrderedJob_HadoopJob) isOrderedJob_JobType() {} -func (*OrderedJob_SparkJob) isOrderedJob_JobType() {} -func (*OrderedJob_PysparkJob) isOrderedJob_JobType() {} -func (*OrderedJob_HiveJob) isOrderedJob_JobType() {} -func (*OrderedJob_PigJob) isOrderedJob_JobType() {} +func (*OrderedJob_HadoopJob) isOrderedJob_JobType() {} + +func (*OrderedJob_SparkJob) isOrderedJob_JobType() {} + +func (*OrderedJob_PysparkJob) isOrderedJob_JobType() {} + +func (*OrderedJob_HiveJob) isOrderedJob_JobType() {} + +func (*OrderedJob_PigJob) isOrderedJob_JobType() {} + func (*OrderedJob_SparkSqlJob) isOrderedJob_JobType() {} func (m *OrderedJob) GetJobType() isOrderedJob_JobType { @@ -613,13 +643,6 @@ func (m *OrderedJob) GetJobType() isOrderedJob_JobType { return nil } -func (m *OrderedJob) GetStepId() string { - if m != nil { - return m.StepId - } - return "" -} - func (m *OrderedJob) GetHadoopJob() *HadoopJob { if x, ok := m.GetJobType().(*OrderedJob_HadoopJob); ok { return x.HadoopJob @@ -833,6 +856,360 @@ func _OrderedJob_OneofSizer(msg proto.Message) (n int) { return n } +// A configurable parameter that replaces one or more fields in the template. +// Parameterizable fields: +// - Labels +// - File uris +// - Job properties +// - Job arguments +// - Script variables +// - Main class (in HadoopJob and SparkJob) +// - Zone (in ClusterSelector) +type TemplateParameter struct { + // Required. Parameter name. + // The parameter name is used as the key, and paired with the + // parameter value, which are passed to the template when the template + // is instantiated. + // The name must contain only capital letters (A-Z), numbers (0-9), and + // underscores (_), and must not start with a number. The maximum length is + // 40 characters. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. Paths to all fields that the parameter replaces. + // A field is allowed to appear in at most one parameter's list of field paths. + // + // A field path is similar in syntax to a [google.protobuf.FieldMask][google.protobuf.FieldMask]. + // For example, a field path that references the zone field of a workflow + // template's cluster selector would be specified as + // `placement.clusterSelector.zone`. + // + // Also, field paths can reference fields using the following syntax: + // + // * Values in maps can be referenced by key: + // * labels['key'] + // * placement.clusterSelector.clusterLabels['key'] + // * placement.managedCluster.labels['key'] + // * placement.clusterSelector.clusterLabels['key'] + // * jobs['step-id'].labels['key'] + // + // * Jobs in the jobs list can be referenced by step-id: + // * jobs['step-id'].hadoopJob.mainJarFileUri + // * jobs['step-id'].hiveJob.queryFileUri + // * jobs['step-id'].pySparkJob.mainPythonFileUri + // * jobs['step-id'].hadoopJob.jarFileUris[0] + // * jobs['step-id'].hadoopJob.archiveUris[0] + // * jobs['step-id'].hadoopJob.fileUris[0] + // * jobs['step-id'].pySparkJob.pythonFileUris[0] + // + // * Items in repeated fields can be referenced by a zero-based index: + // * jobs['step-id'].sparkJob.args[0] + // + // * Other examples: + // * jobs['step-id'].hadoopJob.properties['key'] + // * jobs['step-id'].hadoopJob.args[0] + // * jobs['step-id'].hiveJob.scriptVariables['key'] + // * jobs['step-id'].hadoopJob.mainJarFileUri + // * placement.clusterSelector.zone + // + // It may not be possible to parameterize maps and repeated fields in their + // entirety since only individual map values and individual items in repeated + // fields can be referenced. For example, the following field paths are + // invalid: + // + // - placement.clusterSelector.clusterLabels + // - jobs['step-id'].sparkJob.args + Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + // Optional. Brief description of the parameter. + // Must not exceed 1024 characters. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Optional. Validation rules to be applied to this parameter's value. + Validation *ParameterValidation `protobuf:"bytes,4,opt,name=validation,proto3" json:"validation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TemplateParameter) Reset() { *m = TemplateParameter{} } +func (m *TemplateParameter) String() string { return proto.CompactTextString(m) } +func (*TemplateParameter) ProtoMessage() {} +func (*TemplateParameter) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{5} +} +func (m *TemplateParameter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TemplateParameter.Unmarshal(m, b) +} +func (m *TemplateParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TemplateParameter.Marshal(b, m, deterministic) +} +func (dst *TemplateParameter) XXX_Merge(src proto.Message) { + xxx_messageInfo_TemplateParameter.Merge(dst, src) +} +func (m *TemplateParameter) XXX_Size() int { + return xxx_messageInfo_TemplateParameter.Size(m) +} +func (m *TemplateParameter) XXX_DiscardUnknown() { + xxx_messageInfo_TemplateParameter.DiscardUnknown(m) +} + +var xxx_messageInfo_TemplateParameter proto.InternalMessageInfo + +func (m *TemplateParameter) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *TemplateParameter) GetFields() []string { + if m != nil { + return m.Fields + } + return nil +} + +func (m *TemplateParameter) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *TemplateParameter) GetValidation() *ParameterValidation { + if m != nil { + return m.Validation + } + return nil +} + +// Configuration for parameter validation. +type ParameterValidation struct { + // Required. The type of validation to be performed. + // + // Types that are valid to be assigned to ValidationType: + // *ParameterValidation_Regex + // *ParameterValidation_Values + ValidationType isParameterValidation_ValidationType `protobuf_oneof:"validation_type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParameterValidation) Reset() { *m = ParameterValidation{} } +func (m *ParameterValidation) String() string { return proto.CompactTextString(m) } +func (*ParameterValidation) ProtoMessage() {} +func (*ParameterValidation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{6} +} +func (m *ParameterValidation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ParameterValidation.Unmarshal(m, b) +} +func (m *ParameterValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ParameterValidation.Marshal(b, m, deterministic) +} +func (dst *ParameterValidation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParameterValidation.Merge(dst, src) +} +func (m *ParameterValidation) XXX_Size() int { + return xxx_messageInfo_ParameterValidation.Size(m) +} +func (m *ParameterValidation) XXX_DiscardUnknown() { + xxx_messageInfo_ParameterValidation.DiscardUnknown(m) +} + +var xxx_messageInfo_ParameterValidation proto.InternalMessageInfo + +type isParameterValidation_ValidationType interface { + isParameterValidation_ValidationType() +} + +type ParameterValidation_Regex struct { + Regex *RegexValidation `protobuf:"bytes,1,opt,name=regex,proto3,oneof"` +} + +type ParameterValidation_Values struct { + Values *ValueValidation `protobuf:"bytes,2,opt,name=values,proto3,oneof"` +} + +func (*ParameterValidation_Regex) isParameterValidation_ValidationType() {} + +func (*ParameterValidation_Values) isParameterValidation_ValidationType() {} + +func (m *ParameterValidation) GetValidationType() isParameterValidation_ValidationType { + if m != nil { + return m.ValidationType + } + return nil +} + +func (m *ParameterValidation) GetRegex() *RegexValidation { + if x, ok := m.GetValidationType().(*ParameterValidation_Regex); ok { + return x.Regex + } + return nil +} + +func (m *ParameterValidation) GetValues() *ValueValidation { + if x, ok := m.GetValidationType().(*ParameterValidation_Values); ok { + return x.Values + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ParameterValidation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ParameterValidation_OneofMarshaler, _ParameterValidation_OneofUnmarshaler, _ParameterValidation_OneofSizer, []interface{}{ + (*ParameterValidation_Regex)(nil), + (*ParameterValidation_Values)(nil), + } +} + +func _ParameterValidation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ParameterValidation) + // validation_type + switch x := m.ValidationType.(type) { + case *ParameterValidation_Regex: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Regex); err != nil { + return err + } + case *ParameterValidation_Values: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Values); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ParameterValidation.ValidationType has unexpected type %T", x) + } + return nil +} + +func _ParameterValidation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ParameterValidation) + switch tag { + case 1: // validation_type.regex + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(RegexValidation) + err := b.DecodeMessage(msg) + m.ValidationType = &ParameterValidation_Regex{msg} + return true, err + case 2: // validation_type.values + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ValueValidation) + err := b.DecodeMessage(msg) + m.ValidationType = &ParameterValidation_Values{msg} + return true, err + default: + return false, nil + } +} + +func _ParameterValidation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ParameterValidation) + // validation_type + switch x := m.ValidationType.(type) { + case *ParameterValidation_Regex: + s := proto.Size(x.Regex) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ParameterValidation_Values: + s := proto.Size(x.Values) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Validation based on regular expressions. +type RegexValidation struct { + // Required. RE2 regular expressions used to validate the parameter's value. + // The value must match the regex in its entirety (substring + // matches are not sufficient). + Regexes []string `protobuf:"bytes,1,rep,name=regexes,proto3" json:"regexes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegexValidation) Reset() { *m = RegexValidation{} } +func (m *RegexValidation) String() string { return proto.CompactTextString(m) } +func (*RegexValidation) ProtoMessage() {} +func (*RegexValidation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{7} +} +func (m *RegexValidation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegexValidation.Unmarshal(m, b) +} +func (m *RegexValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegexValidation.Marshal(b, m, deterministic) +} +func (dst *RegexValidation) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegexValidation.Merge(dst, src) +} +func (m *RegexValidation) XXX_Size() int { + return xxx_messageInfo_RegexValidation.Size(m) +} +func (m *RegexValidation) XXX_DiscardUnknown() { + xxx_messageInfo_RegexValidation.DiscardUnknown(m) +} + +var xxx_messageInfo_RegexValidation proto.InternalMessageInfo + +func (m *RegexValidation) GetRegexes() []string { + if m != nil { + return m.Regexes + } + return nil +} + +// Validation based on a list of allowed values. +type ValueValidation struct { + // Required. List of allowed values for the parameter. + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ValueValidation) Reset() { *m = ValueValidation{} } +func (m *ValueValidation) String() string { return proto.CompactTextString(m) } +func (*ValueValidation) ProtoMessage() {} +func (*ValueValidation) Descriptor() ([]byte, []int) { + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{8} +} +func (m *ValueValidation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ValueValidation.Unmarshal(m, b) +} +func (m *ValueValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ValueValidation.Marshal(b, m, deterministic) +} +func (dst *ValueValidation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValueValidation.Merge(dst, src) +} +func (m *ValueValidation) XXX_Size() int { + return xxx_messageInfo_ValueValidation.Size(m) +} +func (m *ValueValidation) XXX_DiscardUnknown() { + xxx_messageInfo_ValueValidation.DiscardUnknown(m) +} + +var xxx_messageInfo_ValueValidation proto.InternalMessageInfo + +func (m *ValueValidation) GetValues() []string { + if m != nil { + return m.Values + } + return nil +} + // A Cloud Dataproc workflow template resource. type WorkflowMetadata struct { // Output only. The "resource name" of the template. @@ -848,20 +1225,26 @@ type WorkflowMetadata struct { DeleteCluster *ClusterOperation `protobuf:"bytes,5,opt,name=delete_cluster,json=deleteCluster,proto3" json:"delete_cluster,omitempty"` // Output only. The workflow state. State WorkflowMetadata_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.WorkflowMetadata_State" json:"state,omitempty"` - // Output only. The name of the managed cluster. + // Output only. The name of the target cluster. ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // Map from parameter names to values that were used for those parameters. - Parameters map[string]string `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Parameters map[string]string `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Output only. Workflow start time. + StartTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // Output only. Workflow end time. + EndTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // Output only. The UUID of target cluster. + ClusterUuid string `protobuf:"bytes,11,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *WorkflowMetadata) Reset() { *m = WorkflowMetadata{} } func (m *WorkflowMetadata) String() string { return proto.CompactTextString(m) } func (*WorkflowMetadata) ProtoMessage() {} func (*WorkflowMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{5} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{9} } func (m *WorkflowMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkflowMetadata.Unmarshal(m, b) @@ -937,6 +1320,27 @@ func (m *WorkflowMetadata) GetParameters() map[string]string { return nil } +func (m *WorkflowMetadata) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *WorkflowMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *WorkflowMetadata) GetClusterUuid() string { + if m != nil { + return m.ClusterUuid + } + return "" +} + // The cluster operation triggered by a workflow. type ClusterOperation struct { // Output only. The id of the cluster operation. @@ -954,7 +1358,7 @@ func (m *ClusterOperation) Reset() { *m = ClusterOperation{} } func (m *ClusterOperation) String() string { return proto.CompactTextString(m) } func (*ClusterOperation) ProtoMessage() {} func (*ClusterOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{6} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{10} } func (m *ClusterOperation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterOperation.Unmarshal(m, b) @@ -1008,7 +1412,7 @@ func (m *WorkflowGraph) Reset() { *m = WorkflowGraph{} } func (m *WorkflowGraph) String() string { return proto.CompactTextString(m) } func (*WorkflowGraph) ProtoMessage() {} func (*WorkflowGraph) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{7} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{11} } func (m *WorkflowGraph) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkflowGraph.Unmarshal(m, b) @@ -1056,7 +1460,7 @@ func (m *WorkflowNode) Reset() { *m = WorkflowNode{} } func (m *WorkflowNode) String() string { return proto.CompactTextString(m) } func (*WorkflowNode) ProtoMessage() {} func (*WorkflowNode) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{8} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{12} } func (m *WorkflowNode) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkflowNode.Unmarshal(m, b) @@ -1128,7 +1532,7 @@ func (m *CreateWorkflowTemplateRequest) Reset() { *m = CreateWorkflowTem func (m *CreateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } func (*CreateWorkflowTemplateRequest) ProtoMessage() {} func (*CreateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{9} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{13} } func (m *CreateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateWorkflowTemplateRequest.Unmarshal(m, b) @@ -1182,7 +1586,7 @@ func (m *GetWorkflowTemplateRequest) Reset() { *m = GetWorkflowTemplateR func (m *GetWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } func (*GetWorkflowTemplateRequest) ProtoMessage() {} func (*GetWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{10} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{14} } func (m *GetWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetWorkflowTemplateRequest.Unmarshal(m, b) @@ -1229,6 +1633,8 @@ type InstantiateWorkflowTemplateRequest struct { // This option cannot be used to instantiate a previous version of // workflow template. Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + // Deprecated. Please use `request_id` field instead. + InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Deprecated: Do not use. // Optional. A tag that prevents multiple concurrent workflow // instances with the same tag from running. This mitigates risk of // concurrent instances started due to retries. @@ -1238,17 +1644,20 @@ type InstantiateWorkflowTemplateRequest struct { // // The tag must contain only letters (a-z, A-Z), numbers (0-9), // underscores (_), and hyphens (-). The maximum length is 40 characters. - InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // Optional. Map from parameter names to values that should be used for those + // parameters. Values may not exceed 100 characters. + Parameters map[string]string `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *InstantiateWorkflowTemplateRequest) Reset() { *m = InstantiateWorkflowTemplateRequest{} } func (m *InstantiateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } func (*InstantiateWorkflowTemplateRequest) ProtoMessage() {} func (*InstantiateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{11} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{15} } func (m *InstantiateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InstantiateWorkflowTemplateRequest.Unmarshal(m, b) @@ -1282,6 +1691,7 @@ func (m *InstantiateWorkflowTemplateRequest) GetVersion() int32 { return 0 } +// Deprecated: Do not use. func (m *InstantiateWorkflowTemplateRequest) GetInstanceId() string { if m != nil { return m.InstanceId @@ -1289,6 +1699,20 @@ func (m *InstantiateWorkflowTemplateRequest) GetInstanceId() string { return "" } +func (m *InstantiateWorkflowTemplateRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *InstantiateWorkflowTemplateRequest) GetParameters() map[string]string { + if m != nil { + return m.Parameters + } + return nil +} + // A request to instantiate an inline workflow template. type InstantiateInlineWorkflowTemplateRequest struct { // Required. The "resource name" of the workflow template region, as described @@ -1297,6 +1721,8 @@ type InstantiateInlineWorkflowTemplateRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The workflow template to instantiate. Template *WorkflowTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + // Deprecated. Please use `request_id` field instead. + InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Optional. A tag that prevents multiple concurrent workflow // instances with the same tag from running. This mitigates risk of // concurrent instances started due to retries. @@ -1306,7 +1732,7 @@ type InstantiateInlineWorkflowTemplateRequest struct { // // The tag must contain only letters (a-z, A-Z), numbers (0-9), // underscores (_), and hyphens (-). The maximum length is 40 characters. - InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1318,7 +1744,7 @@ func (m *InstantiateInlineWorkflowTemplateRequest) Reset() { func (m *InstantiateInlineWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } func (*InstantiateInlineWorkflowTemplateRequest) ProtoMessage() {} func (*InstantiateInlineWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{12} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{16} } func (m *InstantiateInlineWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Unmarshal(m, b) @@ -1359,6 +1785,13 @@ func (m *InstantiateInlineWorkflowTemplateRequest) GetInstanceId() string { return "" } +func (m *InstantiateInlineWorkflowTemplateRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + // A request to update a workflow template. type UpdateWorkflowTemplateRequest struct { // Required. The updated workflow template. @@ -1374,7 +1807,7 @@ func (m *UpdateWorkflowTemplateRequest) Reset() { *m = UpdateWorkflowTem func (m *UpdateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } func (*UpdateWorkflowTemplateRequest) ProtoMessage() {} func (*UpdateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{13} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{17} } func (m *UpdateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateWorkflowTemplateRequest.Unmarshal(m, b) @@ -1421,7 +1854,7 @@ func (m *ListWorkflowTemplatesRequest) Reset() { *m = ListWorkflowTempla func (m *ListWorkflowTemplatesRequest) String() string { return proto.CompactTextString(m) } func (*ListWorkflowTemplatesRequest) ProtoMessage() {} func (*ListWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{14} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{18} } func (m *ListWorkflowTemplatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListWorkflowTemplatesRequest.Unmarshal(m, b) @@ -1479,7 +1912,7 @@ func (m *ListWorkflowTemplatesResponse) Reset() { *m = ListWorkflowTempl func (m *ListWorkflowTemplatesResponse) String() string { return proto.CompactTextString(m) } func (*ListWorkflowTemplatesResponse) ProtoMessage() {} func (*ListWorkflowTemplatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{15} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{19} } func (m *ListWorkflowTemplatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListWorkflowTemplatesResponse.Unmarshal(m, b) @@ -1534,7 +1967,7 @@ func (m *DeleteWorkflowTemplateRequest) Reset() { *m = DeleteWorkflowTem func (m *DeleteWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } func (*DeleteWorkflowTemplateRequest) ProtoMessage() {} func (*DeleteWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_workflow_templates_fe5253a1eb957933, []int{16} + return fileDescriptor_workflow_templates_91fe3aac75263fed, []int{20} } func (m *DeleteWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteWorkflowTemplateRequest.Unmarshal(m, b) @@ -1578,6 +2011,10 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.ClusterSelector.ClusterLabelsEntry") proto.RegisterType((*OrderedJob)(nil), "google.cloud.dataproc.v1beta2.OrderedJob") proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.OrderedJob.LabelsEntry") + proto.RegisterType((*TemplateParameter)(nil), "google.cloud.dataproc.v1beta2.TemplateParameter") + proto.RegisterType((*ParameterValidation)(nil), "google.cloud.dataproc.v1beta2.ParameterValidation") + proto.RegisterType((*RegexValidation)(nil), "google.cloud.dataproc.v1beta2.RegexValidation") + proto.RegisterType((*ValueValidation)(nil), "google.cloud.dataproc.v1beta2.ValueValidation") proto.RegisterType((*WorkflowMetadata)(nil), "google.cloud.dataproc.v1beta2.WorkflowMetadata") proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.WorkflowMetadata.ParametersEntry") proto.RegisterType((*ClusterOperation)(nil), "google.cloud.dataproc.v1beta2.ClusterOperation") @@ -1586,6 +2023,7 @@ func init() { proto.RegisterType((*CreateWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1beta2.CreateWorkflowTemplateRequest") proto.RegisterType((*GetWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1beta2.GetWorkflowTemplateRequest") proto.RegisterType((*InstantiateWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest.ParametersEntry") proto.RegisterType((*InstantiateInlineWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1beta2.InstantiateInlineWorkflowTemplateRequest") proto.RegisterType((*UpdateWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1beta2.UpdateWorkflowTemplateRequest") proto.RegisterType((*ListWorkflowTemplatesRequest)(nil), "google.cloud.dataproc.v1beta2.ListWorkflowTemplatesRequest") @@ -1964,122 +2402,137 @@ var _WorkflowTemplateService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/workflow_templates.proto", fileDescriptor_workflow_templates_fe5253a1eb957933) + proto.RegisterFile("google/cloud/dataproc/v1beta2/workflow_templates.proto", fileDescriptor_workflow_templates_91fe3aac75263fed) } -var fileDescriptor_workflow_templates_fe5253a1eb957933 = []byte{ - // 1794 bytes of a gzipped FileDescriptorProto +var fileDescriptor_workflow_templates_91fe3aac75263fed = []byte{ + // 2038 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcf, 0x6f, 0xe3, 0x58, - 0x1d, 0x1f, 0xbb, 0x4d, 0x9a, 0x7c, 0x33, 0x6d, 0xa3, 0xb7, 0x4c, 0x27, 0x64, 0xb6, 0xda, 0x8e, - 0x11, 0x4b, 0x29, 0x43, 0x22, 0x8a, 0x40, 0xb3, 0x9d, 0x19, 0xb1, 0x6d, 0x92, 0xce, 0xa4, 0x4d, - 0x93, 0xe0, 0xb4, 0xbb, 0xab, 0xe1, 0x10, 0x39, 0xf1, 0x1b, 0xd7, 0xad, 0xe3, 0xe7, 0xb1, 0x9d, - 0xee, 0x76, 0xd0,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e, 0xda, 0x83, 0x5a, 0xa3, 0x74, 0x5c, 0x29, 0x67, 0x25, 0x74, 0x17, - 0x52, 0x34, 0xb4, 0xfb, 0x07, 0xb5, 0x4a, 0x56, 0x8e, 0x06, 0x7a, 0x09, 0xad, 0x42, 0xba, 0xd4, - 0x38, 0x69, 0xd6, 0x2a, 0xa7, 0x95, 0x72, 0x76, 0x19, 0x01, 0x24, 0x0f, 0xf7, 0xab, 0xb5, 0x4a, - 0x39, 0x9b, 0x50, 0x3e, 0x93, 0x60, 0xb3, 0xc4, 0x2a, 0x7e, 0xf4, 0x15, 0x52, 0xc5, 0xaf, 0xfb, - 0xd8, 0xf3, 0xd1, 0x06, 0x24, 0x1d, 0xcd, 0xa5, 0x6f, 0xcb, 0x42, 0x54, 0xbe, 0x42, 0xc7, 0x91, - 0x3e, 0x25, 0xcf, 0x55, 0xcf, 0x63, 0x4f, 0x08, 0x09, 0x94, 0x23, 0xc8, 0x3f, 0xc7, 0xfe, 0x34, - 0x13, 0x62, 0x7e, 0xb0, 0x0c, 0xb7, 0x42, 0xc5, 0x03, 0xa5, 0x6a, 0x7b, 0xbe, 0x66, 0xfb, 0xe6, - 0x0c, 0xb7, 0x16, 0xe2, 0x44, 0xef, 0x40, 0xc6, 0x64, 0x9c, 0x5d, 0x3c, 0x48, 0x09, 0x08, 0xb6, - 0xaa, 0xba, 0xf2, 0x95, 0x04, 0xdb, 0x91, 0xa7, 0x56, 0x6d, 0xcb, 0xb4, 0xbf, 0x51, 0x49, 0xe3, - 0x4d, 0xb6, 0x60, 0xf3, 0x8c, 0xfd, 0xd8, 0x9a, 0x66, 0xe6, 0xf1, 0xc8, 0x24, 0xba, 0x55, 0x84, - 0x5d, 0x78, 0xbb, 0x66, 0x7a, 0x63, 0x21, 0xf6, 0xe2, 0x34, 0x79, 0x00, 0x69, 0x47, 0x33, 0x70, - 0xdb, 0x33, 0xdf, 0x60, 0x11, 0x95, 0x14, 0xdd, 0x68, 0x99, 0x6f, 0x30, 0xda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, 0x47, 0x4b, 0x10, 0xdf, 0x3e, 0x3c, 0xa8, 0x55, 0x4a, 0x47, 0xa5, 0x62, 0x6a, + 0x01, 0x01, 0x44, 0x77, 0xb6, 0xca, 0x95, 0x52, 0x31, 0x15, 0x91, 0x3e, 0x17, 0x60, 0x75, 0x9b, + 0x96, 0xa1, 0xc1, 0x97, 0x14, 0x19, 0x5f, 0x76, 0xb1, 0xe3, 0x92, 0x8a, 0x6a, 0x29, 0x36, 0x79, + 0xc3, 0xe3, 0x46, 0x65, 0x2b, 0xb4, 0x1f, 0x28, 0x9e, 0xe2, 0x54, 0x45, 0x66, 0xe8, 0x06, 0x9f, + 0x40, 0xda, 0x83, 0xcc, 0x0b, 0xec, 0x8e, 0x13, 0x21, 0xe4, 0x25, 0xbb, 0xbf, 0x3e, 0x4b, 0x7f, + 0x17, 0x41, 0x2a, 0x1b, 0x8e, 0xab, 0x18, 0xae, 0x36, 0x41, 0xaf, 0x99, 0x48, 0xd1, 0xbb, 0x90, + 0xd0, 0x28, 0x67, 0x0b, 0xfb, 0x31, 0x51, 0x10, 0xd3, 0x82, 0x0c, 0xde, 0x76, 0x59, 0x45, 0xab, + 0x00, 0x36, 0x63, 0x27, 0x67, 0x22, 0x94, 0x38, 0xce, 0x77, 0xca, 0x2a, 0xba, 0xec, 0x2b, 0x6a, + 0xec, 0x85, 0xe5, 0xe3, 0x10, 0x9b, 0x85, 0x2b, 0x32, 0xa9, 0xcc, 0xdd, 0xb6, 0xa2, 0xfc, 0x43, + 0x80, 0xf5, 0x80, 0x04, 0x65, 0x43, 0xd7, 0x8c, 0xaf, 0x35, 0x50, 0xd0, 0x3b, 0x23, 0xfc, 0x30, + 0xc1, 0x07, 0x0b, 0x03, 0x3e, 0x90, 0x74, 0x58, 0x3d, 0xa6, 0x5f, 0x45, 0xc6, 0x69, 0xb1, 0x3f, + 0x30, 0x13, 0xdc, 0x2a, 0xac, 0x6d, 0x78, 0xbb, 0xa2, 0x39, 0x43, 0x71, 0xed, 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0, 0xac, 0x6d, 0x8e, 0x2a, 0x58, 0xb3, 0x05, 0x49, + 0x7f, 0xc1, 0x9a, 0x35, 0x74, 0xd1, 0x7f, 0x04, 0x58, 0x19, 0xdd, 0x40, 0x43, 0xc3, 0x68, 0x62, + 0xdf, 0xcd, 0xac, 0x0c, 0xbd, 0xbe, 0x96, 0x3a, 0x96, 0x7b, 0xed, 0x29, 0xbc, 0x71, 0x8b, 0x0a, + 0xbd, 0x71, 0x8b, 0x0a, 0x5d, 0xf8, 0x5c, 0x80, 0x87, 0x2d, 0xb3, 0x33, 0x59, 0xb7, 0xc2, 0xca, + 0x90, 0xc7, 0x6a, 0x44, 0x8d, 0x9a, 0xf0, 0xb2, 0xc4, 0x81, 0x6d, 0x53, 0x57, 0x8c, 0x76, 0xd6, + 0xb4, 0xdb, 0xb9, 0x36, 0x36, 0xa8, 0x92, 0x39, 0xf6, 0x93, 0x62, 0x69, 0xce, 0x98, 0x7f, 0x36, + 0x3e, 0xf5, 0x36, 0x9a, 0x51, 0x8a, 0xf8, 0xfe, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x16, 0x05, + 0x09, 0xf3, 0x40, 0x1d, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go index 01dd774ed..4cf255f72 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go @@ -57,7 +57,7 @@ func (x Agent_MatchMode) String() string { return proto.EnumName(Agent_MatchMode_name, int32(x)) } func (Agent_MatchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{0, 0} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{0, 0} } // Represents a conversational agent. @@ -107,7 +107,7 @@ func (m *Agent) Reset() { *m = Agent{} } func (m *Agent) String() string { return proto.CompactTextString(m) } func (*Agent) ProtoMessage() {} func (*Agent) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{0} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{0} } func (m *Agent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Agent.Unmarshal(m, b) @@ -211,7 +211,7 @@ func (m *GetAgentRequest) Reset() { *m = GetAgentRequest{} } func (m *GetAgentRequest) String() string { return proto.CompactTextString(m) } func (*GetAgentRequest) ProtoMessage() {} func (*GetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{1} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{1} } func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAgentRequest.Unmarshal(m, b) @@ -257,7 +257,7 @@ func (m *SearchAgentsRequest) Reset() { *m = SearchAgentsRequest{} } func (m *SearchAgentsRequest) String() string { return proto.CompactTextString(m) } func (*SearchAgentsRequest) ProtoMessage() {} func (*SearchAgentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{2} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{2} } func (m *SearchAgentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAgentsRequest.Unmarshal(m, b) @@ -315,7 +315,7 @@ func (m *SearchAgentsResponse) Reset() { *m = SearchAgentsResponse{} } func (m *SearchAgentsResponse) String() string { return proto.CompactTextString(m) } func (*SearchAgentsResponse) ProtoMessage() {} func (*SearchAgentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{3} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{3} } func (m *SearchAgentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAgentsResponse.Unmarshal(m, b) @@ -363,7 +363,7 @@ func (m *TrainAgentRequest) Reset() { *m = TrainAgentRequest{} } func (m *TrainAgentRequest) String() string { return proto.CompactTextString(m) } func (*TrainAgentRequest) ProtoMessage() {} func (*TrainAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{4} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{4} } func (m *TrainAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TrainAgentRequest.Unmarshal(m, b) @@ -408,7 +408,7 @@ func (m *ExportAgentRequest) Reset() { *m = ExportAgentRequest{} } func (m *ExportAgentRequest) String() string { return proto.CompactTextString(m) } func (*ExportAgentRequest) ProtoMessage() {} func (*ExportAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{5} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{5} } func (m *ExportAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportAgentRequest.Unmarshal(m, b) @@ -459,7 +459,7 @@ func (m *ExportAgentResponse) Reset() { *m = ExportAgentResponse{} } func (m *ExportAgentResponse) String() string { return proto.CompactTextString(m) } func (*ExportAgentResponse) ProtoMessage() {} func (*ExportAgentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{6} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{6} } func (m *ExportAgentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportAgentResponse.Unmarshal(m, b) @@ -486,11 +486,13 @@ type isExportAgentResponse_Agent interface { type ExportAgentResponse_AgentUri struct { AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"` } + type ExportAgentResponse_AgentContent struct { AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"` } -func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {} +func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {} + func (*ExportAgentResponse_AgentContent) isExportAgentResponse_Agent() {} func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent { @@ -600,7 +602,7 @@ func (m *ImportAgentRequest) Reset() { *m = ImportAgentRequest{} } func (m *ImportAgentRequest) String() string { return proto.CompactTextString(m) } func (*ImportAgentRequest) ProtoMessage() {} func (*ImportAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{7} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{7} } func (m *ImportAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportAgentRequest.Unmarshal(m, b) @@ -620,6 +622,13 @@ func (m *ImportAgentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ImportAgentRequest proto.InternalMessageInfo +func (m *ImportAgentRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isImportAgentRequest_Agent interface { isImportAgentRequest_Agent() } @@ -627,11 +636,13 @@ type isImportAgentRequest_Agent interface { type ImportAgentRequest_AgentUri struct { AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` } + type ImportAgentRequest_AgentContent struct { AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` } -func (*ImportAgentRequest_AgentUri) isImportAgentRequest_Agent() {} +func (*ImportAgentRequest_AgentUri) isImportAgentRequest_Agent() {} + func (*ImportAgentRequest_AgentContent) isImportAgentRequest_Agent() {} func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { @@ -641,13 +652,6 @@ func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { return nil } -func (m *ImportAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *ImportAgentRequest) GetAgentUri() string { if x, ok := m.GetAgent().(*ImportAgentRequest_AgentUri); ok { return x.AgentUri @@ -748,7 +752,7 @@ func (m *RestoreAgentRequest) Reset() { *m = RestoreAgentRequest{} } func (m *RestoreAgentRequest) String() string { return proto.CompactTextString(m) } func (*RestoreAgentRequest) ProtoMessage() {} func (*RestoreAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6b29945a8d6d5015, []int{8} + return fileDescriptor_agent_6cbd45e0738ac4ce, []int{8} } func (m *RestoreAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreAgentRequest.Unmarshal(m, b) @@ -768,6 +772,13 @@ func (m *RestoreAgentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RestoreAgentRequest proto.InternalMessageInfo +func (m *RestoreAgentRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isRestoreAgentRequest_Agent interface { isRestoreAgentRequest_Agent() } @@ -775,11 +786,13 @@ type isRestoreAgentRequest_Agent interface { type RestoreAgentRequest_AgentUri struct { AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` } + type RestoreAgentRequest_AgentContent struct { AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` } -func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {} +func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {} + func (*RestoreAgentRequest_AgentContent) isRestoreAgentRequest_Agent() {} func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { @@ -789,13 +802,6 @@ func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { return nil } -func (m *RestoreAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *RestoreAgentRequest) GetAgentUri() string { if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentUri); ok { return x.AgentUri @@ -1189,10 +1195,10 @@ var _Agents_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/agent.proto", fileDescriptor_agent_6b29945a8d6d5015) + proto.RegisterFile("google/cloud/dialogflow/v2/agent.proto", fileDescriptor_agent_6cbd45e0738ac4ce) } -var fileDescriptor_agent_6b29945a8d6d5015 = []byte{ +var fileDescriptor_agent_6cbd45e0738ac4ce = []byte{ // 965 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x41, 0x6f, 0xdc, 0x44, 0x14, 0xae, 0x37, 0xcd, 0x76, 0xf7, 0x25, 0x69, 0xd3, 0x09, 0x0d, 0xd6, 0xb6, 0x81, 0xad, 0x4b, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go index 78ce2e75f..d2ef7c679 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go @@ -50,7 +50,7 @@ func (m *Context) Reset() { *m = Context{} } func (m *Context) String() string { return proto.CompactTextString(m) } func (*Context) ProtoMessage() {} func (*Context) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{0} + return fileDescriptor_context_81c56ca1e96cd61f, []int{0} } func (m *Context) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Context.Unmarshal(m, b) @@ -110,7 +110,7 @@ func (m *ListContextsRequest) Reset() { *m = ListContextsRequest{} } func (m *ListContextsRequest) String() string { return proto.CompactTextString(m) } func (*ListContextsRequest) ProtoMessage() {} func (*ListContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{1} + return fileDescriptor_context_81c56ca1e96cd61f, []int{1} } func (m *ListContextsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListContextsRequest.Unmarshal(m, b) @@ -168,7 +168,7 @@ func (m *ListContextsResponse) Reset() { *m = ListContextsResponse{} } func (m *ListContextsResponse) String() string { return proto.CompactTextString(m) } func (*ListContextsResponse) ProtoMessage() {} func (*ListContextsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{2} + return fileDescriptor_context_81c56ca1e96cd61f, []int{2} } func (m *ListContextsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListContextsResponse.Unmarshal(m, b) @@ -216,7 +216,7 @@ func (m *GetContextRequest) Reset() { *m = GetContextRequest{} } func (m *GetContextRequest) String() string { return proto.CompactTextString(m) } func (*GetContextRequest) ProtoMessage() {} func (*GetContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{3} + return fileDescriptor_context_81c56ca1e96cd61f, []int{3} } func (m *GetContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetContextRequest.Unmarshal(m, b) @@ -259,7 +259,7 @@ func (m *CreateContextRequest) Reset() { *m = CreateContextRequest{} } func (m *CreateContextRequest) String() string { return proto.CompactTextString(m) } func (*CreateContextRequest) ProtoMessage() {} func (*CreateContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{4} + return fileDescriptor_context_81c56ca1e96cd61f, []int{4} } func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateContextRequest.Unmarshal(m, b) @@ -308,7 +308,7 @@ func (m *UpdateContextRequest) Reset() { *m = UpdateContextRequest{} } func (m *UpdateContextRequest) String() string { return proto.CompactTextString(m) } func (*UpdateContextRequest) ProtoMessage() {} func (*UpdateContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{5} + return fileDescriptor_context_81c56ca1e96cd61f, []int{5} } func (m *UpdateContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateContextRequest.Unmarshal(m, b) @@ -356,7 +356,7 @@ func (m *DeleteContextRequest) Reset() { *m = DeleteContextRequest{} } func (m *DeleteContextRequest) String() string { return proto.CompactTextString(m) } func (*DeleteContextRequest) ProtoMessage() {} func (*DeleteContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{6} + return fileDescriptor_context_81c56ca1e96cd61f, []int{6} } func (m *DeleteContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteContextRequest.Unmarshal(m, b) @@ -397,7 +397,7 @@ func (m *DeleteAllContextsRequest) Reset() { *m = DeleteAllContextsReque func (m *DeleteAllContextsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAllContextsRequest) ProtoMessage() {} func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_17a51f40222f6878, []int{7} + return fileDescriptor_context_81c56ca1e96cd61f, []int{7} } func (m *DeleteAllContextsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAllContextsRequest.Unmarshal(m, b) @@ -685,10 +685,10 @@ var _Contexts_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/context.proto", fileDescriptor_context_17a51f40222f6878) + proto.RegisterFile("google/cloud/dialogflow/v2/context.proto", fileDescriptor_context_81c56ca1e96cd61f) } -var fileDescriptor_context_17a51f40222f6878 = []byte{ +var fileDescriptor_context_81c56ca1e96cd61f = []byte{ // 715 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0xe5, 0x0e, 0xf6, 0xe7, 0xdd, 0x0a, 0x9a, 0xa9, 0x46, 0x95, 0x0d, 0x54, 0x05, 0x01, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go index 2f52867f4..87ac22c49 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go @@ -58,7 +58,7 @@ func (x EntityType_Kind) String() string { return proto.EnumName(EntityType_Kind_name, int32(x)) } func (EntityType_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{0, 0} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{0, 0} } // Represents different entity type expansion modes. Automated expansion @@ -87,7 +87,7 @@ func (x EntityType_AutoExpansionMode) String() string { return proto.EnumName(EntityType_AutoExpansionMode_name, int32(x)) } func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{0, 1} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{0, 1} } // Represents an entity type. @@ -117,7 +117,7 @@ func (m *EntityType) Reset() { *m = EntityType{} } func (m *EntityType) String() string { return proto.CompactTextString(m) } func (*EntityType) ProtoMessage() {} func (*EntityType) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{0} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{0} } func (m *EntityType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityType.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *EntityType_Entity) Reset() { *m = EntityType_Entity{} } func (m *EntityType_Entity) String() string { return proto.CompactTextString(m) } func (*EntityType_Entity) ProtoMessage() {} func (*EntityType_Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{0, 0} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{0, 0} } func (m *EntityType_Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityType_Entity.Unmarshal(m, b) @@ -252,7 +252,7 @@ func (m *ListEntityTypesRequest) Reset() { *m = ListEntityTypesRequest{} func (m *ListEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*ListEntityTypesRequest) ProtoMessage() {} func (*ListEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{1} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{1} } func (m *ListEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListEntityTypesRequest.Unmarshal(m, b) @@ -317,7 +317,7 @@ func (m *ListEntityTypesResponse) Reset() { *m = ListEntityTypesResponse func (m *ListEntityTypesResponse) String() string { return proto.CompactTextString(m) } func (*ListEntityTypesResponse) ProtoMessage() {} func (*ListEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{2} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{2} } func (m *ListEntityTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListEntityTypesResponse.Unmarshal(m, b) @@ -371,7 +371,7 @@ func (m *GetEntityTypeRequest) Reset() { *m = GetEntityTypeRequest{} } func (m *GetEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*GetEntityTypeRequest) ProtoMessage() {} func (*GetEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{3} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{3} } func (m *GetEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetEntityTypeRequest.Unmarshal(m, b) @@ -427,7 +427,7 @@ func (m *CreateEntityTypeRequest) Reset() { *m = CreateEntityTypeRequest func (m *CreateEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*CreateEntityTypeRequest) ProtoMessage() {} func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{4} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{4} } func (m *CreateEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateEntityTypeRequest.Unmarshal(m, b) @@ -490,7 +490,7 @@ func (m *UpdateEntityTypeRequest) Reset() { *m = UpdateEntityTypeRequest func (m *UpdateEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*UpdateEntityTypeRequest) ProtoMessage() {} func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{5} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{5} } func (m *UpdateEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateEntityTypeRequest.Unmarshal(m, b) @@ -545,7 +545,7 @@ func (m *DeleteEntityTypeRequest) Reset() { *m = DeleteEntityTypeRequest func (m *DeleteEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteEntityTypeRequest) ProtoMessage() {} func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{6} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{6} } func (m *DeleteEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteEntityTypeRequest.Unmarshal(m, b) @@ -604,7 +604,7 @@ func (m *BatchUpdateEntityTypesRequest) Reset() { *m = BatchUpdateEntity func (m *BatchUpdateEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateEntityTypesRequest) ProtoMessage() {} func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{7} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{7} } func (m *BatchUpdateEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateEntityTypesRequest.Unmarshal(m, b) @@ -624,6 +624,13 @@ func (m *BatchUpdateEntityTypesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BatchUpdateEntityTypesRequest proto.InternalMessageInfo +func (m *BatchUpdateEntityTypesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface { isBatchUpdateEntityTypesRequest_EntityTypeBatch() } @@ -631,12 +638,14 @@ type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface { type BatchUpdateEntityTypesRequest_EntityTypeBatchUri struct { EntityTypeBatchUri string `protobuf:"bytes,2,opt,name=entity_type_batch_uri,json=entityTypeBatchUri,proto3,oneof"` } + type BatchUpdateEntityTypesRequest_EntityTypeBatchInline struct { EntityTypeBatchInline *EntityTypeBatch `protobuf:"bytes,3,opt,name=entity_type_batch_inline,json=entityTypeBatchInline,proto3,oneof"` } func (*BatchUpdateEntityTypesRequest_EntityTypeBatchUri) isBatchUpdateEntityTypesRequest_EntityTypeBatch() { } + func (*BatchUpdateEntityTypesRequest_EntityTypeBatchInline) isBatchUpdateEntityTypesRequest_EntityTypeBatch() { } @@ -647,13 +656,6 @@ func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntity return nil } -func (m *BatchUpdateEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string { if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchUri); ok { return x.EntityTypeBatchUri @@ -765,7 +767,7 @@ func (m *BatchUpdateEntityTypesResponse) Reset() { *m = BatchUpdateEntit func (m *BatchUpdateEntityTypesResponse) String() string { return proto.CompactTextString(m) } func (*BatchUpdateEntityTypesResponse) ProtoMessage() {} func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{8} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{8} } func (m *BatchUpdateEntityTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateEntityTypesResponse.Unmarshal(m, b) @@ -809,7 +811,7 @@ func (m *BatchDeleteEntityTypesRequest) Reset() { *m = BatchDeleteEntity func (m *BatchDeleteEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeleteEntityTypesRequest) ProtoMessage() {} func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{9} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{9} } func (m *BatchDeleteEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeleteEntityTypesRequest.Unmarshal(m, b) @@ -865,7 +867,7 @@ func (m *BatchCreateEntitiesRequest) Reset() { *m = BatchCreateEntitiesR func (m *BatchCreateEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*BatchCreateEntitiesRequest) ProtoMessage() {} func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{10} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{10} } func (m *BatchCreateEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchCreateEntitiesRequest.Unmarshal(m, b) @@ -930,7 +932,7 @@ func (m *BatchUpdateEntitiesRequest) Reset() { *m = BatchUpdateEntitiesR func (m *BatchUpdateEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateEntitiesRequest) ProtoMessage() {} func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{11} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{11} } func (m *BatchUpdateEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateEntitiesRequest.Unmarshal(m, b) @@ -1002,7 +1004,7 @@ func (m *BatchDeleteEntitiesRequest) Reset() { *m = BatchDeleteEntitiesR func (m *BatchDeleteEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeleteEntitiesRequest) ProtoMessage() {} func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{12} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{12} } func (m *BatchDeleteEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeleteEntitiesRequest.Unmarshal(m, b) @@ -1056,7 +1058,7 @@ func (m *EntityTypeBatch) Reset() { *m = EntityTypeBatch{} } func (m *EntityTypeBatch) String() string { return proto.CompactTextString(m) } func (*EntityTypeBatch) ProtoMessage() {} func (*EntityTypeBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_b1117027f7dec973, []int{13} + return fileDescriptor_entity_type_5022cc8f1b023825, []int{13} } func (m *EntityTypeBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityTypeBatch.Unmarshal(m, b) @@ -1525,10 +1527,10 @@ var _EntityTypes_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/entity_type.proto", fileDescriptor_entity_type_b1117027f7dec973) + proto.RegisterFile("google/cloud/dialogflow/v2/entity_type.proto", fileDescriptor_entity_type_5022cc8f1b023825) } -var fileDescriptor_entity_type_b1117027f7dec973 = []byte{ +var fileDescriptor_entity_type_5022cc8f1b023825 = []byte{ // 1233 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcf, 0x6f, 0xe3, 0x44, 0x14, 0xc7, 0x3b, 0x69, 0x5a, 0xb5, 0x2f, 0xed, 0x36, 0x9d, 0x76, 0xdb, 0xc8, 0xdd, 0xee, 0x16, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go index a53ab16c7..a06e47a4d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go @@ -53,7 +53,7 @@ func (x IntentView) String() string { return proto.EnumName(IntentView_name, int32(x)) } func (IntentView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0} } // Represents the different states that webhooks can be in. @@ -84,7 +84,7 @@ func (x Intent_WebhookState) String() string { return proto.EnumName(Intent_WebhookState_name, int32(x)) } func (Intent_WebhookState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0} } // Represents different types of training phrases. @@ -116,7 +116,7 @@ func (x Intent_TrainingPhrase_Type) String() string { return proto.EnumName(Intent_TrainingPhrase_Type_name, int32(x)) } func (Intent_TrainingPhrase_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 0, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0, 0} } // Represents different platforms that a rich message can be intended for. @@ -230,7 +230,7 @@ func (x Intent_Message_Platform) String() string { return proto.EnumName(Intent_Message_Platform_name, int32(x)) } func (Intent_Message_Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 0} } // Represents an intent. @@ -307,7 +307,7 @@ func (m *Intent) Reset() { *m = Intent{} } func (m *Intent) String() string { return proto.CompactTextString(m) } func (*Intent) ProtoMessage() {} func (*Intent) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0} } func (m *Intent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent.Unmarshal(m, b) @@ -476,7 +476,7 @@ func (m *Intent_TrainingPhrase) Reset() { *m = Intent_TrainingPhrase{} } func (m *Intent_TrainingPhrase) String() string { return proto.CompactTextString(m) } func (*Intent_TrainingPhrase) ProtoMessage() {} func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0} } func (m *Intent_TrainingPhrase) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_TrainingPhrase.Unmarshal(m, b) @@ -549,7 +549,7 @@ func (m *Intent_TrainingPhrase_Part) Reset() { *m = Intent_TrainingPhras func (m *Intent_TrainingPhrase_Part) String() string { return proto.CompactTextString(m) } func (*Intent_TrainingPhrase_Part) ProtoMessage() {} func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 0, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0, 0} } func (m *Intent_TrainingPhrase_Part) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_TrainingPhrase_Part.Unmarshal(m, b) @@ -637,7 +637,7 @@ func (m *Intent_Parameter) Reset() { *m = Intent_Parameter{} } func (m *Intent_Parameter) String() string { return proto.CompactTextString(m) } func (*Intent_Parameter) ProtoMessage() {} func (*Intent_Parameter) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 1} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 1} } func (m *Intent_Parameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Parameter.Unmarshal(m, b) @@ -741,7 +741,7 @@ func (m *Intent_Message) Reset() { *m = Intent_Message{} } func (m *Intent_Message) String() string { return proto.CompactTextString(m) } func (*Intent_Message) ProtoMessage() {} func (*Intent_Message) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2} } func (m *Intent_Message) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message.Unmarshal(m, b) @@ -768,48 +768,68 @@ type isIntent_Message_Message interface { type Intent_Message_Text_ struct { Text *Intent_Message_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"` } + type Intent_Message_Image_ struct { Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` } + type Intent_Message_QuickReplies_ struct { QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,proto3,oneof"` } + type Intent_Message_Card_ struct { Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"` } + type Intent_Message_Payload struct { Payload *_struct.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof"` } + type Intent_Message_SimpleResponses_ struct { SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,proto3,oneof"` } + type Intent_Message_BasicCard_ struct { BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"` } + type Intent_Message_Suggestions_ struct { Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,proto3,oneof"` } + type Intent_Message_LinkOutSuggestion_ struct { LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,proto3,oneof"` } + type Intent_Message_ListSelect_ struct { ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,proto3,oneof"` } + type Intent_Message_CarouselSelect_ struct { CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,proto3,oneof"` } -func (*Intent_Message_Text_) isIntent_Message_Message() {} -func (*Intent_Message_Image_) isIntent_Message_Message() {} -func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {} -func (*Intent_Message_Card_) isIntent_Message_Message() {} -func (*Intent_Message_Payload) isIntent_Message_Message() {} -func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {} -func (*Intent_Message_BasicCard_) isIntent_Message_Message() {} -func (*Intent_Message_Suggestions_) isIntent_Message_Message() {} +func (*Intent_Message_Text_) isIntent_Message_Message() {} + +func (*Intent_Message_Image_) isIntent_Message_Message() {} + +func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {} + +func (*Intent_Message_Card_) isIntent_Message_Message() {} + +func (*Intent_Message_Payload) isIntent_Message_Message() {} + +func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {} + +func (*Intent_Message_BasicCard_) isIntent_Message_Message() {} + +func (*Intent_Message_Suggestions_) isIntent_Message_Message() {} + func (*Intent_Message_LinkOutSuggestion_) isIntent_Message_Message() {} -func (*Intent_Message_ListSelect_) isIntent_Message_Message() {} -func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {} + +func (*Intent_Message_ListSelect_) isIntent_Message_Message() {} + +func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {} func (m *Intent_Message) GetMessage() isIntent_Message_Message { if m != nil { @@ -1160,7 +1180,7 @@ func (m *Intent_Message_Text) Reset() { *m = Intent_Message_Text{} } func (m *Intent_Message_Text) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Text) ProtoMessage() {} func (*Intent_Message_Text) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 0} } func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b) @@ -1203,7 +1223,7 @@ func (m *Intent_Message_Image) Reset() { *m = Intent_Message_Image{} } func (m *Intent_Message_Image) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Image) ProtoMessage() {} func (*Intent_Message_Image) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 1} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 1} } func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b) @@ -1252,7 +1272,7 @@ func (m *Intent_Message_QuickReplies) Reset() { *m = Intent_Message_Quic func (m *Intent_Message_QuickReplies) String() string { return proto.CompactTextString(m) } func (*Intent_Message_QuickReplies) ProtoMessage() {} func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 2} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 2} } func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b) @@ -1305,7 +1325,7 @@ func (m *Intent_Message_Card) Reset() { *m = Intent_Message_Card{} } func (m *Intent_Message_Card) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Card) ProtoMessage() {} func (*Intent_Message_Card) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 3} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 3} } func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b) @@ -1369,7 +1389,7 @@ func (m *Intent_Message_Card_Button) Reset() { *m = Intent_Message_Card_ func (m *Intent_Message_Card_Button) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Card_Button) ProtoMessage() {} func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 3, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 3, 0} } func (m *Intent_Message_Card_Button) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Card_Button.Unmarshal(m, b) @@ -1423,7 +1443,7 @@ func (m *Intent_Message_SimpleResponse) Reset() { *m = Intent_Message_Si func (m *Intent_Message_SimpleResponse) String() string { return proto.CompactTextString(m) } func (*Intent_Message_SimpleResponse) ProtoMessage() {} func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 4} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 4} } func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b) @@ -1480,7 +1500,7 @@ func (m *Intent_Message_SimpleResponses) Reset() { *m = Intent_Message_S func (m *Intent_Message_SimpleResponses) String() string { return proto.CompactTextString(m) } func (*Intent_Message_SimpleResponses) ProtoMessage() {} func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 5} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 5} } func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b) @@ -1528,7 +1548,7 @@ func (m *Intent_Message_BasicCard) Reset() { *m = Intent_Message_BasicCa func (m *Intent_Message_BasicCard) String() string { return proto.CompactTextString(m) } func (*Intent_Message_BasicCard) ProtoMessage() {} func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 6} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 6} } func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b) @@ -1598,7 +1618,7 @@ func (m *Intent_Message_BasicCard_Button) Reset() { *m = Intent_Message_ func (m *Intent_Message_BasicCard_Button) String() string { return proto.CompactTextString(m) } func (*Intent_Message_BasicCard_Button) ProtoMessage() {} func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 6, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 6, 0} } func (m *Intent_Message_BasicCard_Button) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_BasicCard_Button.Unmarshal(m, b) @@ -1649,7 +1669,7 @@ func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string { } func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {} func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 6, 0, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 6, 0, 0} } func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Unmarshal(m, b) @@ -1690,7 +1710,7 @@ func (m *Intent_Message_Suggestion) Reset() { *m = Intent_Message_Sugges func (m *Intent_Message_Suggestion) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Suggestion) ProtoMessage() {} func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 7} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 7} } func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b) @@ -1730,7 +1750,7 @@ func (m *Intent_Message_Suggestions) Reset() { *m = Intent_Message_Sugge func (m *Intent_Message_Suggestions) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Suggestions) ProtoMessage() {} func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 8} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 8} } func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b) @@ -1774,7 +1794,7 @@ func (m *Intent_Message_LinkOutSuggestion) Reset() { *m = Intent_Message func (m *Intent_Message_LinkOutSuggestion) String() string { return proto.CompactTextString(m) } func (*Intent_Message_LinkOutSuggestion) ProtoMessage() {} func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 9} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 9} } func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b) @@ -1823,7 +1843,7 @@ func (m *Intent_Message_ListSelect) Reset() { *m = Intent_Message_ListSe func (m *Intent_Message_ListSelect) String() string { return proto.CompactTextString(m) } func (*Intent_Message_ListSelect) ProtoMessage() {} func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 10} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 10} } func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b) @@ -1876,7 +1896,7 @@ func (m *Intent_Message_ListSelect_Item) Reset() { *m = Intent_Message_L func (m *Intent_Message_ListSelect_Item) String() string { return proto.CompactTextString(m) } func (*Intent_Message_ListSelect_Item) ProtoMessage() {} func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 10, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 10, 0} } func (m *Intent_Message_ListSelect_Item) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_ListSelect_Item.Unmarshal(m, b) @@ -1937,7 +1957,7 @@ func (m *Intent_Message_CarouselSelect) Reset() { *m = Intent_Message_Ca func (m *Intent_Message_CarouselSelect) String() string { return proto.CompactTextString(m) } func (*Intent_Message_CarouselSelect) ProtoMessage() {} func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 11} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 11} } func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b) @@ -1983,7 +2003,7 @@ func (m *Intent_Message_CarouselSelect_Item) Reset() { *m = Intent_Messa func (m *Intent_Message_CarouselSelect_Item) String() string { return proto.CompactTextString(m) } func (*Intent_Message_CarouselSelect_Item) ProtoMessage() {} func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 11, 0} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 11, 0} } func (m *Intent_Message_CarouselSelect_Item) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Unmarshal(m, b) @@ -2049,7 +2069,7 @@ func (m *Intent_Message_SelectItemInfo) Reset() { *m = Intent_Message_Se func (m *Intent_Message_SelectItemInfo) String() string { return proto.CompactTextString(m) } func (*Intent_Message_SelectItemInfo) ProtoMessage() {} func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 2, 12} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 12} } func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b) @@ -2100,7 +2120,7 @@ func (m *Intent_FollowupIntentInfo) Reset() { *m = Intent_FollowupIntent func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) } func (*Intent_FollowupIntentInfo) ProtoMessage() {} func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{0, 3} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 3} } func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b) @@ -2161,7 +2181,7 @@ func (m *ListIntentsRequest) Reset() { *m = ListIntentsRequest{} } func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) } func (*ListIntentsRequest) ProtoMessage() {} func (*ListIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{1} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{1} } func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b) @@ -2233,7 +2253,7 @@ func (m *ListIntentsResponse) Reset() { *m = ListIntentsResponse{} } func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) } func (*ListIntentsResponse) ProtoMessage() {} func (*ListIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{2} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{2} } func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b) @@ -2289,7 +2309,7 @@ func (m *GetIntentRequest) Reset() { *m = GetIntentRequest{} } func (m *GetIntentRequest) String() string { return proto.CompactTextString(m) } func (*GetIntentRequest) ProtoMessage() {} func (*GetIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{3} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{3} } func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b) @@ -2354,7 +2374,7 @@ func (m *CreateIntentRequest) Reset() { *m = CreateIntentRequest{} } func (m *CreateIntentRequest) String() string { return proto.CompactTextString(m) } func (*CreateIntentRequest) ProtoMessage() {} func (*CreateIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{4} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{4} } func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b) @@ -2426,7 +2446,7 @@ func (m *UpdateIntentRequest) Reset() { *m = UpdateIntentRequest{} } func (m *UpdateIntentRequest) String() string { return proto.CompactTextString(m) } func (*UpdateIntentRequest) ProtoMessage() {} func (*UpdateIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{5} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{5} } func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b) @@ -2488,7 +2508,7 @@ func (m *DeleteIntentRequest) Reset() { *m = DeleteIntentRequest{} } func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) } func (*DeleteIntentRequest) ProtoMessage() {} func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{6} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{6} } func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b) @@ -2545,7 +2565,7 @@ func (m *BatchUpdateIntentsRequest) Reset() { *m = BatchUpdateIntentsReq func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateIntentsRequest) ProtoMessage() {} func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{7} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{7} } func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b) @@ -2565,6 +2585,13 @@ func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo +func (m *BatchUpdateIntentsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isBatchUpdateIntentsRequest_IntentBatch interface { isBatchUpdateIntentsRequest_IntentBatch() } @@ -2572,11 +2599,13 @@ type isBatchUpdateIntentsRequest_IntentBatch interface { type BatchUpdateIntentsRequest_IntentBatchUri struct { IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"` } + type BatchUpdateIntentsRequest_IntentBatchInline struct { IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"` } -func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {} +func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {} + func (*BatchUpdateIntentsRequest_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {} func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch { @@ -2586,13 +2615,6 @@ func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest return nil } -func (m *BatchUpdateIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string { if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok { return x.IntentBatchUri @@ -2711,7 +2733,7 @@ func (m *BatchUpdateIntentsResponse) Reset() { *m = BatchUpdateIntentsRe func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) } func (*BatchUpdateIntentsResponse) ProtoMessage() {} func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{8} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{8} } func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b) @@ -2755,7 +2777,7 @@ func (m *BatchDeleteIntentsRequest) Reset() { *m = BatchDeleteIntentsReq func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeleteIntentsRequest) ProtoMessage() {} func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{9} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{9} } func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b) @@ -2802,7 +2824,7 @@ func (m *IntentBatch) Reset() { *m = IntentBatch{} } func (m *IntentBatch) String() string { return proto.CompactTextString(m) } func (*IntentBatch) ProtoMessage() {} func (*IntentBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_96d6e95a6ff30a02, []int{10} + return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{10} } func (m *IntentBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IntentBatch.Unmarshal(m, b) @@ -3163,10 +3185,10 @@ var _Intents_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/intent.proto", fileDescriptor_intent_96d6e95a6ff30a02) + proto.RegisterFile("google/cloud/dialogflow/v2/intent.proto", fileDescriptor_intent_eb465f5d3cf7c1e7) } -var fileDescriptor_intent_96d6e95a6ff30a02 = []byte{ +var fileDescriptor_intent_eb465f5d3cf7c1e7 = []byte{ // 2562 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0x4b, 0x73, 0x23, 0x57, 0xf5, 0x77, 0xeb, 0x61, 0x4b, 0x47, 0xb2, 0x2c, 0x5f, 0x4f, 0x26, 0x9a, 0x4e, 0xf2, 0xff, 0x3b, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go index 07e8e18a2..a3e608889 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go @@ -94,7 +94,7 @@ func (x AudioEncoding) String() string { return proto.EnumName(AudioEncoding_name, int32(x)) } func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{0} + return fileDescriptor_session_e51df00932adac70, []int{0} } // Type of the response message. @@ -130,7 +130,7 @@ func (x StreamingRecognitionResult_MessageType) String() string { return proto.EnumName(StreamingRecognitionResult_MessageType_name, int32(x)) } func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{7, 0} + return fileDescriptor_session_e51df00932adac70, []int{7, 0} } // The request to detect user's intent. @@ -165,7 +165,7 @@ func (m *DetectIntentRequest) Reset() { *m = DetectIntentRequest{} } func (m *DetectIntentRequest) String() string { return proto.CompactTextString(m) } func (*DetectIntentRequest) ProtoMessage() {} func (*DetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{0} + return fileDescriptor_session_e51df00932adac70, []int{0} } func (m *DetectIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetectIntentRequest.Unmarshal(m, b) @@ -232,7 +232,7 @@ func (m *DetectIntentResponse) Reset() { *m = DetectIntentResponse{} } func (m *DetectIntentResponse) String() string { return proto.CompactTextString(m) } func (*DetectIntentResponse) ProtoMessage() {} func (*DetectIntentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{1} + return fileDescriptor_session_e51df00932adac70, []int{1} } func (m *DetectIntentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetectIntentResponse.Unmarshal(m, b) @@ -304,7 +304,7 @@ func (m *QueryParameters) Reset() { *m = QueryParameters{} } func (m *QueryParameters) String() string { return proto.CompactTextString(m) } func (*QueryParameters) ProtoMessage() {} func (*QueryParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{2} + return fileDescriptor_session_e51df00932adac70, []int{2} } func (m *QueryParameters) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryParameters.Unmarshal(m, b) @@ -391,7 +391,7 @@ func (m *QueryInput) Reset() { *m = QueryInput{} } func (m *QueryInput) String() string { return proto.CompactTextString(m) } func (*QueryInput) ProtoMessage() {} func (*QueryInput) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{3} + return fileDescriptor_session_e51df00932adac70, []int{3} } func (m *QueryInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryInput.Unmarshal(m, b) @@ -418,16 +418,20 @@ type isQueryInput_Input interface { type QueryInput_AudioConfig struct { AudioConfig *InputAudioConfig `protobuf:"bytes,1,opt,name=audio_config,json=audioConfig,proto3,oneof"` } + type QueryInput_Text struct { Text *TextInput `protobuf:"bytes,2,opt,name=text,proto3,oneof"` } + type QueryInput_Event struct { Event *EventInput `protobuf:"bytes,3,opt,name=event,proto3,oneof"` } func (*QueryInput_AudioConfig) isQueryInput_Input() {} -func (*QueryInput_Text) isQueryInput_Input() {} -func (*QueryInput_Event) isQueryInput_Input() {} + +func (*QueryInput_Text) isQueryInput_Input() {} + +func (*QueryInput_Event) isQueryInput_Input() {} func (m *QueryInput) GetInput() isQueryInput_Input { if m != nil { @@ -618,7 +622,7 @@ func (m *QueryResult) Reset() { *m = QueryResult{} } func (m *QueryResult) String() string { return proto.CompactTextString(m) } func (*QueryResult) ProtoMessage() {} func (*QueryResult) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{4} + return fileDescriptor_session_e51df00932adac70, []int{4} } func (m *QueryResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResult.Unmarshal(m, b) @@ -788,7 +792,7 @@ func (m *StreamingDetectIntentRequest) Reset() { *m = StreamingDetectInt func (m *StreamingDetectIntentRequest) String() string { return proto.CompactTextString(m) } func (*StreamingDetectIntentRequest) ProtoMessage() {} func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{5} + return fileDescriptor_session_e51df00932adac70, []int{5} } func (m *StreamingDetectIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingDetectIntentRequest.Unmarshal(m, b) @@ -874,7 +878,7 @@ func (m *StreamingDetectIntentResponse) Reset() { *m = StreamingDetectIn func (m *StreamingDetectIntentResponse) String() string { return proto.CompactTextString(m) } func (*StreamingDetectIntentResponse) ProtoMessage() {} func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{6} + return fileDescriptor_session_e51df00932adac70, []int{6} } func (m *StreamingDetectIntentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingDetectIntentResponse.Unmarshal(m, b) @@ -984,7 +988,7 @@ func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognition func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } func (*StreamingRecognitionResult) ProtoMessage() {} func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{7} + return fileDescriptor_session_e51df00932adac70, []int{7} } func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) @@ -1060,7 +1064,7 @@ func (m *InputAudioConfig) Reset() { *m = InputAudioConfig{} } func (m *InputAudioConfig) String() string { return proto.CompactTextString(m) } func (*InputAudioConfig) ProtoMessage() {} func (*InputAudioConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{8} + return fileDescriptor_session_e51df00932adac70, []int{8} } func (m *InputAudioConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputAudioConfig.Unmarshal(m, b) @@ -1127,7 +1131,7 @@ func (m *TextInput) Reset() { *m = TextInput{} } func (m *TextInput) String() string { return proto.CompactTextString(m) } func (*TextInput) ProtoMessage() {} func (*TextInput) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{9} + return fileDescriptor_session_e51df00932adac70, []int{9} } func (m *TextInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextInput.Unmarshal(m, b) @@ -1185,7 +1189,7 @@ func (m *EventInput) Reset() { *m = EventInput{} } func (m *EventInput) String() string { return proto.CompactTextString(m) } func (*EventInput) ProtoMessage() {} func (*EventInput) Descriptor() ([]byte, []int) { - return fileDescriptor_session_b14c9b148c96ead1, []int{10} + return fileDescriptor_session_e51df00932adac70, []int{10} } func (m *EventInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventInput.Unmarshal(m, b) @@ -1395,10 +1399,10 @@ var _Sessions_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/session.proto", fileDescriptor_session_b14c9b148c96ead1) + proto.RegisterFile("google/cloud/dialogflow/v2/session.proto", fileDescriptor_session_e51df00932adac70) } -var fileDescriptor_session_b14c9b148c96ead1 = []byte{ +var fileDescriptor_session_e51df00932adac70 = []byte{ // 1575 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4f, 0x73, 0x1b, 0x49, 0x15, 0xcf, 0xc8, 0xff, 0xe4, 0x27, 0xd9, 0xd2, 0x76, 0xb2, 0x9b, 0x89, 0x9d, 0x84, 0xa0, 0xad, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go index 5aaac80a5..b8f86d291 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go @@ -59,7 +59,7 @@ func (x SessionEntityType_EntityOverrideMode) String() string { return proto.EnumName(SessionEntityType_EntityOverrideMode_name, int32(x)) } func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{0, 0} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{0, 0} } // Represents a session entity type. @@ -89,7 +89,7 @@ func (m *SessionEntityType) Reset() { *m = SessionEntityType{} } func (m *SessionEntityType) String() string { return proto.CompactTextString(m) } func (*SessionEntityType) ProtoMessage() {} func (*SessionEntityType) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{0} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{0} } func (m *SessionEntityType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SessionEntityType.Unmarshal(m, b) @@ -149,7 +149,7 @@ func (m *ListSessionEntityTypesRequest) Reset() { *m = ListSessionEntity func (m *ListSessionEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*ListSessionEntityTypesRequest) ProtoMessage() {} func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{1} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{1} } func (m *ListSessionEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSessionEntityTypesRequest.Unmarshal(m, b) @@ -207,7 +207,7 @@ func (m *ListSessionEntityTypesResponse) Reset() { *m = ListSessionEntit func (m *ListSessionEntityTypesResponse) String() string { return proto.CompactTextString(m) } func (*ListSessionEntityTypesResponse) ProtoMessage() {} func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{2} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{2} } func (m *ListSessionEntityTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSessionEntityTypesResponse.Unmarshal(m, b) @@ -256,7 +256,7 @@ func (m *GetSessionEntityTypeRequest) Reset() { *m = GetSessionEntityTyp func (m *GetSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*GetSessionEntityTypeRequest) ProtoMessage() {} func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{3} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{3} } func (m *GetSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSessionEntityTypeRequest.Unmarshal(m, b) @@ -299,7 +299,7 @@ func (m *CreateSessionEntityTypeRequest) Reset() { *m = CreateSessionEnt func (m *CreateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*CreateSessionEntityTypeRequest) ProtoMessage() {} func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{4} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{4} } func (m *CreateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSessionEntityTypeRequest.Unmarshal(m, b) @@ -350,7 +350,7 @@ func (m *UpdateSessionEntityTypeRequest) Reset() { *m = UpdateSessionEnt func (m *UpdateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSessionEntityTypeRequest) ProtoMessage() {} func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{5} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{5} } func (m *UpdateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSessionEntityTypeRequest.Unmarshal(m, b) @@ -399,7 +399,7 @@ func (m *DeleteSessionEntityTypeRequest) Reset() { *m = DeleteSessionEnt func (m *DeleteSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSessionEntityTypeRequest) ProtoMessage() {} func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_c93dec51170f11f4, []int{6} + return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{6} } func (m *DeleteSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSessionEntityTypeRequest.Unmarshal(m, b) @@ -652,10 +652,10 @@ var _SessionEntityTypes_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/session_entity_type.proto", fileDescriptor_session_entity_type_c93dec51170f11f4) + proto.RegisterFile("google/cloud/dialogflow/v2/session_entity_type.proto", fileDescriptor_session_entity_type_f014f04ccf41506d) } -var fileDescriptor_session_entity_type_c93dec51170f11f4 = []byte{ +var fileDescriptor_session_entity_type_f014f04ccf41506d = []byte{ // 793 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdf, 0x4e, 0xd4, 0x4a, 0x18, 0x3f, 0x53, 0xce, 0x21, 0x30, 0xe4, 0x9c, 0x03, 0x73, 0xc8, 0xb2, 0x29, 0x87, 0x75, 0xad, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go index 275fe40db..a71eef361 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go @@ -44,7 +44,7 @@ func (m *WebhookRequest) Reset() { *m = WebhookRequest{} } func (m *WebhookRequest) String() string { return proto.CompactTextString(m) } func (*WebhookRequest) ProtoMessage() {} func (*WebhookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_webhook_023288df86be368f, []int{0} + return fileDescriptor_webhook_d01678681840ffff, []int{0} } func (m *WebhookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebhookRequest.Unmarshal(m, b) @@ -141,7 +141,7 @@ func (m *WebhookResponse) Reset() { *m = WebhookResponse{} } func (m *WebhookResponse) String() string { return proto.CompactTextString(m) } func (*WebhookResponse) ProtoMessage() {} func (*WebhookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_webhook_023288df86be368f, []int{1} + return fileDescriptor_webhook_d01678681840ffff, []int{1} } func (m *WebhookResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebhookResponse.Unmarshal(m, b) @@ -221,7 +221,7 @@ func (m *OriginalDetectIntentRequest) Reset() { *m = OriginalDetectInten func (m *OriginalDetectIntentRequest) String() string { return proto.CompactTextString(m) } func (*OriginalDetectIntentRequest) ProtoMessage() {} func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_webhook_023288df86be368f, []int{2} + return fileDescriptor_webhook_d01678681840ffff, []int{2} } func (m *OriginalDetectIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OriginalDetectIntentRequest.Unmarshal(m, b) @@ -262,10 +262,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/webhook.proto", fileDescriptor_webhook_023288df86be368f) + proto.RegisterFile("google/cloud/dialogflow/v2/webhook.proto", fileDescriptor_webhook_d01678681840ffff) } -var fileDescriptor_webhook_023288df86be368f = []byte{ +var fileDescriptor_webhook_d01678681840ffff = []byte{ // 536 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xc1, 0x6f, 0xd3, 0x30, 0x14, 0xc6, 0x95, 0x14, 0x3a, 0xcd, 0x9d, 0x56, 0x64, 0x26, 0x88, 0x3a, 0x34, 0xaa, 0x22, 0xb1, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go index 8d3c5e46e..7cc058b18 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go @@ -57,7 +57,7 @@ func (x Agent_MatchMode) String() string { return proto.EnumName(Agent_MatchMode_name, int32(x)) } func (Agent_MatchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{0, 0} + return fileDescriptor_agent_d116f64d830b765d, []int{0, 0} } // Represents a conversational agent. @@ -107,7 +107,7 @@ func (m *Agent) Reset() { *m = Agent{} } func (m *Agent) String() string { return proto.CompactTextString(m) } func (*Agent) ProtoMessage() {} func (*Agent) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{0} + return fileDescriptor_agent_d116f64d830b765d, []int{0} } func (m *Agent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Agent.Unmarshal(m, b) @@ -211,7 +211,7 @@ func (m *GetAgentRequest) Reset() { *m = GetAgentRequest{} } func (m *GetAgentRequest) String() string { return proto.CompactTextString(m) } func (*GetAgentRequest) ProtoMessage() {} func (*GetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{1} + return fileDescriptor_agent_d116f64d830b765d, []int{1} } func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAgentRequest.Unmarshal(m, b) @@ -257,7 +257,7 @@ func (m *SearchAgentsRequest) Reset() { *m = SearchAgentsRequest{} } func (m *SearchAgentsRequest) String() string { return proto.CompactTextString(m) } func (*SearchAgentsRequest) ProtoMessage() {} func (*SearchAgentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{2} + return fileDescriptor_agent_d116f64d830b765d, []int{2} } func (m *SearchAgentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAgentsRequest.Unmarshal(m, b) @@ -315,7 +315,7 @@ func (m *SearchAgentsResponse) Reset() { *m = SearchAgentsResponse{} } func (m *SearchAgentsResponse) String() string { return proto.CompactTextString(m) } func (*SearchAgentsResponse) ProtoMessage() {} func (*SearchAgentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{3} + return fileDescriptor_agent_d116f64d830b765d, []int{3} } func (m *SearchAgentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAgentsResponse.Unmarshal(m, b) @@ -363,7 +363,7 @@ func (m *TrainAgentRequest) Reset() { *m = TrainAgentRequest{} } func (m *TrainAgentRequest) String() string { return proto.CompactTextString(m) } func (*TrainAgentRequest) ProtoMessage() {} func (*TrainAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{4} + return fileDescriptor_agent_d116f64d830b765d, []int{4} } func (m *TrainAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TrainAgentRequest.Unmarshal(m, b) @@ -410,7 +410,7 @@ func (m *ExportAgentRequest) Reset() { *m = ExportAgentRequest{} } func (m *ExportAgentRequest) String() string { return proto.CompactTextString(m) } func (*ExportAgentRequest) ProtoMessage() {} func (*ExportAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{5} + return fileDescriptor_agent_d116f64d830b765d, []int{5} } func (m *ExportAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportAgentRequest.Unmarshal(m, b) @@ -461,7 +461,7 @@ func (m *ExportAgentResponse) Reset() { *m = ExportAgentResponse{} } func (m *ExportAgentResponse) String() string { return proto.CompactTextString(m) } func (*ExportAgentResponse) ProtoMessage() {} func (*ExportAgentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{6} + return fileDescriptor_agent_d116f64d830b765d, []int{6} } func (m *ExportAgentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportAgentResponse.Unmarshal(m, b) @@ -488,11 +488,13 @@ type isExportAgentResponse_Agent interface { type ExportAgentResponse_AgentUri struct { AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"` } + type ExportAgentResponse_AgentContent struct { AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"` } -func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {} +func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {} + func (*ExportAgentResponse_AgentContent) isExportAgentResponse_Agent() {} func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent { @@ -602,7 +604,7 @@ func (m *ImportAgentRequest) Reset() { *m = ImportAgentRequest{} } func (m *ImportAgentRequest) String() string { return proto.CompactTextString(m) } func (*ImportAgentRequest) ProtoMessage() {} func (*ImportAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{7} + return fileDescriptor_agent_d116f64d830b765d, []int{7} } func (m *ImportAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportAgentRequest.Unmarshal(m, b) @@ -622,6 +624,13 @@ func (m *ImportAgentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ImportAgentRequest proto.InternalMessageInfo +func (m *ImportAgentRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isImportAgentRequest_Agent interface { isImportAgentRequest_Agent() } @@ -629,11 +638,13 @@ type isImportAgentRequest_Agent interface { type ImportAgentRequest_AgentUri struct { AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` } + type ImportAgentRequest_AgentContent struct { AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` } -func (*ImportAgentRequest_AgentUri) isImportAgentRequest_Agent() {} +func (*ImportAgentRequest_AgentUri) isImportAgentRequest_Agent() {} + func (*ImportAgentRequest_AgentContent) isImportAgentRequest_Agent() {} func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { @@ -643,13 +654,6 @@ func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { return nil } -func (m *ImportAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *ImportAgentRequest) GetAgentUri() string { if x, ok := m.GetAgent().(*ImportAgentRequest_AgentUri); ok { return x.AgentUri @@ -750,7 +754,7 @@ func (m *RestoreAgentRequest) Reset() { *m = RestoreAgentRequest{} } func (m *RestoreAgentRequest) String() string { return proto.CompactTextString(m) } func (*RestoreAgentRequest) ProtoMessage() {} func (*RestoreAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_agent_6f0f32ddc044642c, []int{8} + return fileDescriptor_agent_d116f64d830b765d, []int{8} } func (m *RestoreAgentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreAgentRequest.Unmarshal(m, b) @@ -770,6 +774,13 @@ func (m *RestoreAgentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RestoreAgentRequest proto.InternalMessageInfo +func (m *RestoreAgentRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isRestoreAgentRequest_Agent interface { isRestoreAgentRequest_Agent() } @@ -777,11 +788,13 @@ type isRestoreAgentRequest_Agent interface { type RestoreAgentRequest_AgentUri struct { AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` } + type RestoreAgentRequest_AgentContent struct { AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` } -func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {} +func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {} + func (*RestoreAgentRequest_AgentContent) isRestoreAgentRequest_Agent() {} func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { @@ -791,13 +804,6 @@ func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { return nil } -func (m *RestoreAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *RestoreAgentRequest) GetAgentUri() string { if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentUri); ok { return x.AgentUri @@ -1199,10 +1205,10 @@ var _Agents_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/agent.proto", fileDescriptor_agent_6f0f32ddc044642c) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/agent.proto", fileDescriptor_agent_d116f64d830b765d) } -var fileDescriptor_agent_6f0f32ddc044642c = []byte{ +var fileDescriptor_agent_d116f64d830b765d = []byte{ // 975 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x41, 0x6f, 0xdc, 0x44, 0x14, 0xae, 0x37, 0x4d, 0xb2, 0xfb, 0x92, 0xb4, 0xe9, 0x84, 0x06, 0x6b, 0xdb, 0xa8, 0x8b, 0x4b, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/audio_config.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/audio_config.pb.go index a089b1b6d..e43414e8a 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/audio_config.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/audio_config.pb.go @@ -52,7 +52,7 @@ func (x SsmlVoiceGender) String() string { return proto.EnumName(SsmlVoiceGender_name, int32(x)) } func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_audio_config_f983e1897585ea06, []int{0} + return fileDescriptor_audio_config_b255710fcad33f7d, []int{0} } // Audio encoding of the output audio format in Text-To-Speech. @@ -90,7 +90,7 @@ func (x OutputAudioEncoding) String() string { return proto.EnumName(OutputAudioEncoding_name, int32(x)) } func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_audio_config_f983e1897585ea06, []int{1} + return fileDescriptor_audio_config_b255710fcad33f7d, []int{1} } // Description of which voice to use for speech synthesis. @@ -113,7 +113,7 @@ func (m *VoiceSelectionParams) Reset() { *m = VoiceSelectionParams{} } func (m *VoiceSelectionParams) String() string { return proto.CompactTextString(m) } func (*VoiceSelectionParams) ProtoMessage() {} func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_audio_config_f983e1897585ea06, []int{0} + return fileDescriptor_audio_config_b255710fcad33f7d, []int{0} } func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) @@ -182,7 +182,7 @@ func (m *SynthesizeSpeechConfig) Reset() { *m = SynthesizeSpeechConfig{} func (m *SynthesizeSpeechConfig) String() string { return proto.CompactTextString(m) } func (*SynthesizeSpeechConfig) ProtoMessage() {} func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_audio_config_f983e1897585ea06, []int{1} + return fileDescriptor_audio_config_b255710fcad33f7d, []int{1} } func (m *SynthesizeSpeechConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesizeSpeechConfig.Unmarshal(m, b) @@ -258,7 +258,7 @@ func (m *OutputAudioConfig) Reset() { *m = OutputAudioConfig{} } func (m *OutputAudioConfig) String() string { return proto.CompactTextString(m) } func (*OutputAudioConfig) ProtoMessage() {} func (*OutputAudioConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_audio_config_f983e1897585ea06, []int{2} + return fileDescriptor_audio_config_b255710fcad33f7d, []int{2} } func (m *OutputAudioConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputAudioConfig.Unmarshal(m, b) @@ -308,10 +308,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/audio_config.proto", fileDescriptor_audio_config_f983e1897585ea06) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/audio_config.proto", fileDescriptor_audio_config_b255710fcad33f7d) } -var fileDescriptor_audio_config_f983e1897585ea06 = []byte{ +var fileDescriptor_audio_config_b255710fcad33f7d = []byte{ // 647 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x4f, 0x6f, 0xd3, 0x3e, 0x18, 0xfe, 0xb9, 0x5d, 0x7f, 0xd2, 0x3c, 0xd6, 0x65, 0x66, 0x9a, 0xca, 0xb4, 0xb1, 0xae, 0x03, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go index 7256c18c1..fb5eba94b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go @@ -55,7 +55,7 @@ func (m *Context) Reset() { *m = Context{} } func (m *Context) String() string { return proto.CompactTextString(m) } func (*Context) ProtoMessage() {} func (*Context) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{0} + return fileDescriptor_context_1af894e4ed9b5507, []int{0} } func (m *Context) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Context.Unmarshal(m, b) @@ -119,7 +119,7 @@ func (m *ListContextsRequest) Reset() { *m = ListContextsRequest{} } func (m *ListContextsRequest) String() string { return proto.CompactTextString(m) } func (*ListContextsRequest) ProtoMessage() {} func (*ListContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{1} + return fileDescriptor_context_1af894e4ed9b5507, []int{1} } func (m *ListContextsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListContextsRequest.Unmarshal(m, b) @@ -177,7 +177,7 @@ func (m *ListContextsResponse) Reset() { *m = ListContextsResponse{} } func (m *ListContextsResponse) String() string { return proto.CompactTextString(m) } func (*ListContextsResponse) ProtoMessage() {} func (*ListContextsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{2} + return fileDescriptor_context_1af894e4ed9b5507, []int{2} } func (m *ListContextsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListContextsResponse.Unmarshal(m, b) @@ -229,7 +229,7 @@ func (m *GetContextRequest) Reset() { *m = GetContextRequest{} } func (m *GetContextRequest) String() string { return proto.CompactTextString(m) } func (*GetContextRequest) ProtoMessage() {} func (*GetContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{3} + return fileDescriptor_context_1af894e4ed9b5507, []int{3} } func (m *GetContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetContextRequest.Unmarshal(m, b) @@ -276,7 +276,7 @@ func (m *CreateContextRequest) Reset() { *m = CreateContextRequest{} } func (m *CreateContextRequest) String() string { return proto.CompactTextString(m) } func (*CreateContextRequest) ProtoMessage() {} func (*CreateContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{4} + return fileDescriptor_context_1af894e4ed9b5507, []int{4} } func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateContextRequest.Unmarshal(m, b) @@ -325,7 +325,7 @@ func (m *UpdateContextRequest) Reset() { *m = UpdateContextRequest{} } func (m *UpdateContextRequest) String() string { return proto.CompactTextString(m) } func (*UpdateContextRequest) ProtoMessage() {} func (*UpdateContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{5} + return fileDescriptor_context_1af894e4ed9b5507, []int{5} } func (m *UpdateContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateContextRequest.Unmarshal(m, b) @@ -377,7 +377,7 @@ func (m *DeleteContextRequest) Reset() { *m = DeleteContextRequest{} } func (m *DeleteContextRequest) String() string { return proto.CompactTextString(m) } func (*DeleteContextRequest) ProtoMessage() {} func (*DeleteContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{6} + return fileDescriptor_context_1af894e4ed9b5507, []int{6} } func (m *DeleteContextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteContextRequest.Unmarshal(m, b) @@ -421,7 +421,7 @@ func (m *DeleteAllContextsRequest) Reset() { *m = DeleteAllContextsReque func (m *DeleteAllContextsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAllContextsRequest) ProtoMessage() {} func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_context_676731079fc034c0, []int{7} + return fileDescriptor_context_1af894e4ed9b5507, []int{7} } func (m *DeleteAllContextsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAllContextsRequest.Unmarshal(m, b) @@ -709,10 +709,10 @@ var _Contexts_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/context.proto", fileDescriptor_context_676731079fc034c0) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/context.proto", fileDescriptor_context_1af894e4ed9b5507) } -var fileDescriptor_context_676731079fc034c0 = []byte{ +var fileDescriptor_context_1af894e4ed9b5507 = []byte{ // 807 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6b, 0xdb, 0x48, 0x14, 0x66, 0x94, 0xdd, 0xfc, 0x98, 0xc4, 0xbb, 0x64, 0xd6, 0x64, 0x8d, 0x93, 0x25, 0x46, 0xcb, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/document.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/document.pb.go index 74b4bc529..8ff3b5a3b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/document.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/document.pb.go @@ -53,15 +53,15 @@ var Document_KnowledgeType_name = map[int32]string{ } var Document_KnowledgeType_value = map[string]int32{ "KNOWLEDGE_TYPE_UNSPECIFIED": 0, - "FAQ": 1, - "EXTRACTIVE_QA": 2, + "FAQ": 1, + "EXTRACTIVE_QA": 2, } func (x Document_KnowledgeType) String() string { return proto.EnumName(Document_KnowledgeType_name, int32(x)) } func (Document_KnowledgeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{0, 0} + return fileDescriptor_document_3131c12790f8bf44, []int{0, 0} } // States of the operation. @@ -95,7 +95,7 @@ func (x KnowledgeOperationMetadata_State) String() string { return proto.EnumName(KnowledgeOperationMetadata_State_name, int32(x)) } func (KnowledgeOperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{6, 0} + return fileDescriptor_document_3131c12790f8bf44, []int{6, 0} } // A document resource. @@ -127,7 +127,7 @@ func (m *Document) Reset() { *m = Document{} } func (m *Document) String() string { return proto.CompactTextString(m) } func (*Document) ProtoMessage() {} func (*Document) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{0} + return fileDescriptor_document_3131c12790f8bf44, []int{0} } func (m *Document) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Document.Unmarshal(m, b) @@ -147,27 +147,6 @@ func (m *Document) XXX_DiscardUnknown() { var xxx_messageInfo_Document proto.InternalMessageInfo -type isDocument_Source interface { - isDocument_Source() -} - -type Document_ContentUri struct { - ContentUri string `protobuf:"bytes,5,opt,name=content_uri,json=contentUri,proto3,oneof"` -} -type Document_Content struct { - Content string `protobuf:"bytes,6,opt,name=content,proto3,oneof"` -} - -func (*Document_ContentUri) isDocument_Source() {} -func (*Document_Content) isDocument_Source() {} - -func (m *Document) GetSource() isDocument_Source { - if m != nil { - return m.Source - } - return nil -} - func (m *Document) GetName() string { if m != nil { return m.Name @@ -196,6 +175,29 @@ func (m *Document) GetKnowledgeTypes() []Document_KnowledgeType { return nil } +type isDocument_Source interface { + isDocument_Source() +} + +type Document_ContentUri struct { + ContentUri string `protobuf:"bytes,5,opt,name=content_uri,json=contentUri,proto3,oneof"` +} + +type Document_Content struct { + Content string `protobuf:"bytes,6,opt,name=content,proto3,oneof"` +} + +func (*Document_ContentUri) isDocument_Source() {} + +func (*Document_Content) isDocument_Source() {} + +func (m *Document) GetSource() isDocument_Source { + if m != nil { + return m.Source + } + return nil +} + func (m *Document) GetContentUri() string { if x, ok := m.GetSource().(*Document_ContentUri); ok { return x.ContentUri @@ -295,7 +297,7 @@ func (m *ListDocumentsRequest) Reset() { *m = ListDocumentsRequest{} } func (m *ListDocumentsRequest) String() string { return proto.CompactTextString(m) } func (*ListDocumentsRequest) ProtoMessage() {} func (*ListDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{1} + return fileDescriptor_document_3131c12790f8bf44, []int{1} } func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b) @@ -352,7 +354,7 @@ func (m *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} } func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) } func (*ListDocumentsResponse) ProtoMessage() {} func (*ListDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{2} + return fileDescriptor_document_3131c12790f8bf44, []int{2} } func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b) @@ -401,7 +403,7 @@ func (m *GetDocumentRequest) Reset() { *m = GetDocumentRequest{} } func (m *GetDocumentRequest) String() string { return proto.CompactTextString(m) } func (*GetDocumentRequest) ProtoMessage() {} func (*GetDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{3} + return fileDescriptor_document_3131c12790f8bf44, []int{3} } func (m *GetDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDocumentRequest.Unmarshal(m, b) @@ -444,7 +446,7 @@ func (m *CreateDocumentRequest) Reset() { *m = CreateDocumentRequest{} } func (m *CreateDocumentRequest) String() string { return proto.CompactTextString(m) } func (*CreateDocumentRequest) ProtoMessage() {} func (*CreateDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{4} + return fileDescriptor_document_3131c12790f8bf44, []int{4} } func (m *CreateDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDocumentRequest.Unmarshal(m, b) @@ -493,7 +495,7 @@ func (m *DeleteDocumentRequest) Reset() { *m = DeleteDocumentRequest{} } func (m *DeleteDocumentRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDocumentRequest) ProtoMessage() {} func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{5} + return fileDescriptor_document_3131c12790f8bf44, []int{5} } func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b) @@ -533,7 +535,7 @@ func (m *KnowledgeOperationMetadata) Reset() { *m = KnowledgeOperationMe func (m *KnowledgeOperationMetadata) String() string { return proto.CompactTextString(m) } func (*KnowledgeOperationMetadata) ProtoMessage() {} func (*KnowledgeOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_document_2dfd103853d53844, []int{6} + return fileDescriptor_document_3131c12790f8bf44, []int{6} } func (m *KnowledgeOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KnowledgeOperationMetadata.Unmarshal(m, b) @@ -764,10 +766,10 @@ var _Documents_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/document.proto", fileDescriptor_document_2dfd103853d53844) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/document.proto", fileDescriptor_document_3131c12790f8bf44) } -var fileDescriptor_document_2dfd103853d53844 = []byte{ +var fileDescriptor_document_3131c12790f8bf44 = []byte{ // 885 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcd, 0x6e, 0x1b, 0x55, 0x14, 0xee, 0x1d, 0xe7, 0xc7, 0x39, 0xc6, 0xae, 0x7b, 0x45, 0x90, 0xe5, 0x52, 0x9a, 0x4e, 0x25, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go index e7ae2f284..fa894f1db 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go @@ -58,7 +58,7 @@ func (x EntityType_Kind) String() string { return proto.EnumName(EntityType_Kind_name, int32(x)) } func (EntityType_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{0, 0} + return fileDescriptor_entity_type_09eabae6717aed63, []int{0, 0} } // Represents different entity type expansion modes. Automated expansion @@ -87,7 +87,7 @@ func (x EntityType_AutoExpansionMode) String() string { return proto.EnumName(EntityType_AutoExpansionMode_name, int32(x)) } func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{0, 1} + return fileDescriptor_entity_type_09eabae6717aed63, []int{0, 1} } // Represents an entity type. @@ -117,7 +117,7 @@ func (m *EntityType) Reset() { *m = EntityType{} } func (m *EntityType) String() string { return proto.CompactTextString(m) } func (*EntityType) ProtoMessage() {} func (*EntityType) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{0} + return fileDescriptor_entity_type_09eabae6717aed63, []int{0} } func (m *EntityType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityType.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *EntityType_Entity) Reset() { *m = EntityType_Entity{} } func (m *EntityType_Entity) String() string { return proto.CompactTextString(m) } func (*EntityType_Entity) ProtoMessage() {} func (*EntityType_Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{0, 0} + return fileDescriptor_entity_type_09eabae6717aed63, []int{0, 0} } func (m *EntityType_Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityType_Entity.Unmarshal(m, b) @@ -252,7 +252,7 @@ func (m *ListEntityTypesRequest) Reset() { *m = ListEntityTypesRequest{} func (m *ListEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*ListEntityTypesRequest) ProtoMessage() {} func (*ListEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{1} + return fileDescriptor_entity_type_09eabae6717aed63, []int{1} } func (m *ListEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListEntityTypesRequest.Unmarshal(m, b) @@ -317,7 +317,7 @@ func (m *ListEntityTypesResponse) Reset() { *m = ListEntityTypesResponse func (m *ListEntityTypesResponse) String() string { return proto.CompactTextString(m) } func (*ListEntityTypesResponse) ProtoMessage() {} func (*ListEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{2} + return fileDescriptor_entity_type_09eabae6717aed63, []int{2} } func (m *ListEntityTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListEntityTypesResponse.Unmarshal(m, b) @@ -371,7 +371,7 @@ func (m *GetEntityTypeRequest) Reset() { *m = GetEntityTypeRequest{} } func (m *GetEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*GetEntityTypeRequest) ProtoMessage() {} func (*GetEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{3} + return fileDescriptor_entity_type_09eabae6717aed63, []int{3} } func (m *GetEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetEntityTypeRequest.Unmarshal(m, b) @@ -427,7 +427,7 @@ func (m *CreateEntityTypeRequest) Reset() { *m = CreateEntityTypeRequest func (m *CreateEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*CreateEntityTypeRequest) ProtoMessage() {} func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{4} + return fileDescriptor_entity_type_09eabae6717aed63, []int{4} } func (m *CreateEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateEntityTypeRequest.Unmarshal(m, b) @@ -490,7 +490,7 @@ func (m *UpdateEntityTypeRequest) Reset() { *m = UpdateEntityTypeRequest func (m *UpdateEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*UpdateEntityTypeRequest) ProtoMessage() {} func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{5} + return fileDescriptor_entity_type_09eabae6717aed63, []int{5} } func (m *UpdateEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateEntityTypeRequest.Unmarshal(m, b) @@ -545,7 +545,7 @@ func (m *DeleteEntityTypeRequest) Reset() { *m = DeleteEntityTypeRequest func (m *DeleteEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteEntityTypeRequest) ProtoMessage() {} func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{6} + return fileDescriptor_entity_type_09eabae6717aed63, []int{6} } func (m *DeleteEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteEntityTypeRequest.Unmarshal(m, b) @@ -604,7 +604,7 @@ func (m *BatchUpdateEntityTypesRequest) Reset() { *m = BatchUpdateEntity func (m *BatchUpdateEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateEntityTypesRequest) ProtoMessage() {} func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{7} + return fileDescriptor_entity_type_09eabae6717aed63, []int{7} } func (m *BatchUpdateEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateEntityTypesRequest.Unmarshal(m, b) @@ -624,6 +624,13 @@ func (m *BatchUpdateEntityTypesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BatchUpdateEntityTypesRequest proto.InternalMessageInfo +func (m *BatchUpdateEntityTypesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface { isBatchUpdateEntityTypesRequest_EntityTypeBatch() } @@ -631,12 +638,14 @@ type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface { type BatchUpdateEntityTypesRequest_EntityTypeBatchUri struct { EntityTypeBatchUri string `protobuf:"bytes,2,opt,name=entity_type_batch_uri,json=entityTypeBatchUri,proto3,oneof"` } + type BatchUpdateEntityTypesRequest_EntityTypeBatchInline struct { EntityTypeBatchInline *EntityTypeBatch `protobuf:"bytes,3,opt,name=entity_type_batch_inline,json=entityTypeBatchInline,proto3,oneof"` } func (*BatchUpdateEntityTypesRequest_EntityTypeBatchUri) isBatchUpdateEntityTypesRequest_EntityTypeBatch() { } + func (*BatchUpdateEntityTypesRequest_EntityTypeBatchInline) isBatchUpdateEntityTypesRequest_EntityTypeBatch() { } @@ -647,13 +656,6 @@ func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntity return nil } -func (m *BatchUpdateEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string { if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchUri); ok { return x.EntityTypeBatchUri @@ -765,7 +767,7 @@ func (m *BatchUpdateEntityTypesResponse) Reset() { *m = BatchUpdateEntit func (m *BatchUpdateEntityTypesResponse) String() string { return proto.CompactTextString(m) } func (*BatchUpdateEntityTypesResponse) ProtoMessage() {} func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{8} + return fileDescriptor_entity_type_09eabae6717aed63, []int{8} } func (m *BatchUpdateEntityTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateEntityTypesResponse.Unmarshal(m, b) @@ -809,7 +811,7 @@ func (m *BatchDeleteEntityTypesRequest) Reset() { *m = BatchDeleteEntity func (m *BatchDeleteEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeleteEntityTypesRequest) ProtoMessage() {} func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{9} + return fileDescriptor_entity_type_09eabae6717aed63, []int{9} } func (m *BatchDeleteEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeleteEntityTypesRequest.Unmarshal(m, b) @@ -865,7 +867,7 @@ func (m *BatchCreateEntitiesRequest) Reset() { *m = BatchCreateEntitiesR func (m *BatchCreateEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*BatchCreateEntitiesRequest) ProtoMessage() {} func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{10} + return fileDescriptor_entity_type_09eabae6717aed63, []int{10} } func (m *BatchCreateEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchCreateEntitiesRequest.Unmarshal(m, b) @@ -930,7 +932,7 @@ func (m *BatchUpdateEntitiesRequest) Reset() { *m = BatchUpdateEntitiesR func (m *BatchUpdateEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateEntitiesRequest) ProtoMessage() {} func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{11} + return fileDescriptor_entity_type_09eabae6717aed63, []int{11} } func (m *BatchUpdateEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateEntitiesRequest.Unmarshal(m, b) @@ -1002,7 +1004,7 @@ func (m *BatchDeleteEntitiesRequest) Reset() { *m = BatchDeleteEntitiesR func (m *BatchDeleteEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeleteEntitiesRequest) ProtoMessage() {} func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{12} + return fileDescriptor_entity_type_09eabae6717aed63, []int{12} } func (m *BatchDeleteEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeleteEntitiesRequest.Unmarshal(m, b) @@ -1056,7 +1058,7 @@ func (m *EntityTypeBatch) Reset() { *m = EntityTypeBatch{} } func (m *EntityTypeBatch) String() string { return proto.CompactTextString(m) } func (*EntityTypeBatch) ProtoMessage() {} func (*EntityTypeBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_type_5c54e3ab71bd6eb5, []int{13} + return fileDescriptor_entity_type_09eabae6717aed63, []int{13} } func (m *EntityTypeBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityTypeBatch.Unmarshal(m, b) @@ -1525,10 +1527,10 @@ var _EntityTypes_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/entity_type.proto", fileDescriptor_entity_type_5c54e3ab71bd6eb5) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/entity_type.proto", fileDescriptor_entity_type_09eabae6717aed63) } -var fileDescriptor_entity_type_5c54e3ab71bd6eb5 = []byte{ +var fileDescriptor_entity_type_09eabae6717aed63 = []byte{ // 1236 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x6e, 0xe3, 0xd4, 0x17, 0x9e, 0x9b, 0xa6, 0x55, 0x7b, 0xd2, 0x4e, 0xd3, 0xdb, 0x4e, 0x1b, 0xa5, 0xd3, 0x5f, 0xfb, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go index 5cd46649c..ee3efd5a6 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go @@ -53,7 +53,7 @@ func (x IntentView) String() string { return proto.EnumName(IntentView_name, int32(x)) } func (IntentView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0} } // Represents the different states that webhooks can be in. @@ -84,7 +84,7 @@ func (x Intent_WebhookState) String() string { return proto.EnumName(Intent_WebhookState_name, int32(x)) } func (Intent_WebhookState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 0} } // Represents different types of training phrases. @@ -116,7 +116,7 @@ func (x Intent_TrainingPhrase_Type) String() string { return proto.EnumName(Intent_TrainingPhrase_Type_name, int32(x)) } func (Intent_TrainingPhrase_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 0, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 0, 0} } // Represents different platforms that a rich message can be intended for. @@ -234,7 +234,7 @@ func (x Intent_Message_Platform) String() string { return proto.EnumName(Intent_Message_Platform_name, int32(x)) } func (Intent_Message_Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 0} } // Represents an intent. @@ -328,7 +328,7 @@ func (m *Intent) Reset() { *m = Intent{} } func (m *Intent) String() string { return proto.CompactTextString(m) } func (*Intent) ProtoMessage() {} func (*Intent) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0} } func (m *Intent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent.Unmarshal(m, b) @@ -512,7 +512,7 @@ func (m *Intent_TrainingPhrase) Reset() { *m = Intent_TrainingPhrase{} } func (m *Intent_TrainingPhrase) String() string { return proto.CompactTextString(m) } func (*Intent_TrainingPhrase) ProtoMessage() {} func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 0} } func (m *Intent_TrainingPhrase) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_TrainingPhrase.Unmarshal(m, b) @@ -585,7 +585,7 @@ func (m *Intent_TrainingPhrase_Part) Reset() { *m = Intent_TrainingPhras func (m *Intent_TrainingPhrase_Part) String() string { return proto.CompactTextString(m) } func (*Intent_TrainingPhrase_Part) ProtoMessage() {} func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 0, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 0, 0} } func (m *Intent_TrainingPhrase_Part) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_TrainingPhrase_Part.Unmarshal(m, b) @@ -673,7 +673,7 @@ func (m *Intent_Parameter) Reset() { *m = Intent_Parameter{} } func (m *Intent_Parameter) String() string { return proto.CompactTextString(m) } func (*Intent_Parameter) ProtoMessage() {} func (*Intent_Parameter) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 1} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 1} } func (m *Intent_Parameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Parameter.Unmarshal(m, b) @@ -780,7 +780,7 @@ func (m *Intent_Message) Reset() { *m = Intent_Message{} } func (m *Intent_Message) String() string { return proto.CompactTextString(m) } func (*Intent_Message) ProtoMessage() {} func (*Intent_Message) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2} } func (m *Intent_Message) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message.Unmarshal(m, b) @@ -807,60 +807,86 @@ type isIntent_Message_Message interface { type Intent_Message_Text_ struct { Text *Intent_Message_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"` } + type Intent_Message_Image_ struct { Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` } + type Intent_Message_QuickReplies_ struct { QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,proto3,oneof"` } + type Intent_Message_Card_ struct { Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"` } + type Intent_Message_Payload struct { Payload *_struct.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof"` } + type Intent_Message_SimpleResponses_ struct { SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,proto3,oneof"` } + type Intent_Message_BasicCard_ struct { BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"` } + type Intent_Message_Suggestions_ struct { Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,proto3,oneof"` } + type Intent_Message_LinkOutSuggestion_ struct { LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,proto3,oneof"` } + type Intent_Message_ListSelect_ struct { ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,proto3,oneof"` } + type Intent_Message_CarouselSelect_ struct { CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,proto3,oneof"` } + type Intent_Message_TelephonyPlayAudio_ struct { TelephonyPlayAudio *Intent_Message_TelephonyPlayAudio `protobuf:"bytes,13,opt,name=telephony_play_audio,json=telephonyPlayAudio,proto3,oneof"` } + type Intent_Message_TelephonySynthesizeSpeech_ struct { TelephonySynthesizeSpeech *Intent_Message_TelephonySynthesizeSpeech `protobuf:"bytes,14,opt,name=telephony_synthesize_speech,json=telephonySynthesizeSpeech,proto3,oneof"` } + type Intent_Message_TelephonyTransferCall_ struct { TelephonyTransferCall *Intent_Message_TelephonyTransferCall `protobuf:"bytes,15,opt,name=telephony_transfer_call,json=telephonyTransferCall,proto3,oneof"` } -func (*Intent_Message_Text_) isIntent_Message_Message() {} -func (*Intent_Message_Image_) isIntent_Message_Message() {} -func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {} -func (*Intent_Message_Card_) isIntent_Message_Message() {} -func (*Intent_Message_Payload) isIntent_Message_Message() {} -func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {} -func (*Intent_Message_BasicCard_) isIntent_Message_Message() {} -func (*Intent_Message_Suggestions_) isIntent_Message_Message() {} -func (*Intent_Message_LinkOutSuggestion_) isIntent_Message_Message() {} -func (*Intent_Message_ListSelect_) isIntent_Message_Message() {} -func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {} -func (*Intent_Message_TelephonyPlayAudio_) isIntent_Message_Message() {} +func (*Intent_Message_Text_) isIntent_Message_Message() {} + +func (*Intent_Message_Image_) isIntent_Message_Message() {} + +func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {} + +func (*Intent_Message_Card_) isIntent_Message_Message() {} + +func (*Intent_Message_Payload) isIntent_Message_Message() {} + +func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {} + +func (*Intent_Message_BasicCard_) isIntent_Message_Message() {} + +func (*Intent_Message_Suggestions_) isIntent_Message_Message() {} + +func (*Intent_Message_LinkOutSuggestion_) isIntent_Message_Message() {} + +func (*Intent_Message_ListSelect_) isIntent_Message_Message() {} + +func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {} + +func (*Intent_Message_TelephonyPlayAudio_) isIntent_Message_Message() {} + func (*Intent_Message_TelephonySynthesizeSpeech_) isIntent_Message_Message() {} -func (*Intent_Message_TelephonyTransferCall_) isIntent_Message_Message() {} + +func (*Intent_Message_TelephonyTransferCall_) isIntent_Message_Message() {} func (m *Intent_Message) GetMessage() isIntent_Message_Message { if m != nil { @@ -1289,7 +1315,7 @@ func (m *Intent_Message_Text) Reset() { *m = Intent_Message_Text{} } func (m *Intent_Message_Text) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Text) ProtoMessage() {} func (*Intent_Message_Text) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 0} } func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b) @@ -1332,7 +1358,7 @@ func (m *Intent_Message_Image) Reset() { *m = Intent_Message_Image{} } func (m *Intent_Message_Image) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Image) ProtoMessage() {} func (*Intent_Message_Image) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 1} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 1} } func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b) @@ -1381,7 +1407,7 @@ func (m *Intent_Message_QuickReplies) Reset() { *m = Intent_Message_Quic func (m *Intent_Message_QuickReplies) String() string { return proto.CompactTextString(m) } func (*Intent_Message_QuickReplies) ProtoMessage() {} func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 2} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 2} } func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b) @@ -1434,7 +1460,7 @@ func (m *Intent_Message_Card) Reset() { *m = Intent_Message_Card{} } func (m *Intent_Message_Card) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Card) ProtoMessage() {} func (*Intent_Message_Card) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 3} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 3} } func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b) @@ -1498,7 +1524,7 @@ func (m *Intent_Message_Card_Button) Reset() { *m = Intent_Message_Card_ func (m *Intent_Message_Card_Button) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Card_Button) ProtoMessage() {} func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 3, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 3, 0} } func (m *Intent_Message_Card_Button) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Card_Button.Unmarshal(m, b) @@ -1552,7 +1578,7 @@ func (m *Intent_Message_SimpleResponse) Reset() { *m = Intent_Message_Si func (m *Intent_Message_SimpleResponse) String() string { return proto.CompactTextString(m) } func (*Intent_Message_SimpleResponse) ProtoMessage() {} func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 4} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 4} } func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b) @@ -1609,7 +1635,7 @@ func (m *Intent_Message_SimpleResponses) Reset() { *m = Intent_Message_S func (m *Intent_Message_SimpleResponses) String() string { return proto.CompactTextString(m) } func (*Intent_Message_SimpleResponses) ProtoMessage() {} func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 5} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 5} } func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b) @@ -1657,7 +1683,7 @@ func (m *Intent_Message_BasicCard) Reset() { *m = Intent_Message_BasicCa func (m *Intent_Message_BasicCard) String() string { return proto.CompactTextString(m) } func (*Intent_Message_BasicCard) ProtoMessage() {} func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 6} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 6} } func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b) @@ -1727,7 +1753,7 @@ func (m *Intent_Message_BasicCard_Button) Reset() { *m = Intent_Message_ func (m *Intent_Message_BasicCard_Button) String() string { return proto.CompactTextString(m) } func (*Intent_Message_BasicCard_Button) ProtoMessage() {} func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 6, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 6, 0} } func (m *Intent_Message_BasicCard_Button) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_BasicCard_Button.Unmarshal(m, b) @@ -1778,7 +1804,7 @@ func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string { } func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {} func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 6, 0, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 6, 0, 0} } func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Unmarshal(m, b) @@ -1819,7 +1845,7 @@ func (m *Intent_Message_Suggestion) Reset() { *m = Intent_Message_Sugges func (m *Intent_Message_Suggestion) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Suggestion) ProtoMessage() {} func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 7} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 7} } func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b) @@ -1859,7 +1885,7 @@ func (m *Intent_Message_Suggestions) Reset() { *m = Intent_Message_Sugge func (m *Intent_Message_Suggestions) String() string { return proto.CompactTextString(m) } func (*Intent_Message_Suggestions) ProtoMessage() {} func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 8} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 8} } func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b) @@ -1903,7 +1929,7 @@ func (m *Intent_Message_LinkOutSuggestion) Reset() { *m = Intent_Message func (m *Intent_Message_LinkOutSuggestion) String() string { return proto.CompactTextString(m) } func (*Intent_Message_LinkOutSuggestion) ProtoMessage() {} func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 9} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 9} } func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b) @@ -1952,7 +1978,7 @@ func (m *Intent_Message_ListSelect) Reset() { *m = Intent_Message_ListSe func (m *Intent_Message_ListSelect) String() string { return proto.CompactTextString(m) } func (*Intent_Message_ListSelect) ProtoMessage() {} func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 10} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 10} } func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b) @@ -2005,7 +2031,7 @@ func (m *Intent_Message_ListSelect_Item) Reset() { *m = Intent_Message_L func (m *Intent_Message_ListSelect_Item) String() string { return proto.CompactTextString(m) } func (*Intent_Message_ListSelect_Item) ProtoMessage() {} func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 10, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 10, 0} } func (m *Intent_Message_ListSelect_Item) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_ListSelect_Item.Unmarshal(m, b) @@ -2066,7 +2092,7 @@ func (m *Intent_Message_CarouselSelect) Reset() { *m = Intent_Message_Ca func (m *Intent_Message_CarouselSelect) String() string { return proto.CompactTextString(m) } func (*Intent_Message_CarouselSelect) ProtoMessage() {} func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 11} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 11} } func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b) @@ -2112,7 +2138,7 @@ func (m *Intent_Message_CarouselSelect_Item) Reset() { *m = Intent_Messa func (m *Intent_Message_CarouselSelect_Item) String() string { return proto.CompactTextString(m) } func (*Intent_Message_CarouselSelect_Item) ProtoMessage() {} func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 11, 0} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 11, 0} } func (m *Intent_Message_CarouselSelect_Item) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Unmarshal(m, b) @@ -2178,7 +2204,7 @@ func (m *Intent_Message_SelectItemInfo) Reset() { *m = Intent_Message_Se func (m *Intent_Message_SelectItemInfo) String() string { return proto.CompactTextString(m) } func (*Intent_Message_SelectItemInfo) ProtoMessage() {} func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 12} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 12} } func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b) @@ -2237,7 +2263,7 @@ func (m *Intent_Message_TelephonyPlayAudio) Reset() { *m = Intent_Messag func (m *Intent_Message_TelephonyPlayAudio) String() string { return proto.CompactTextString(m) } func (*Intent_Message_TelephonyPlayAudio) ProtoMessage() {} func (*Intent_Message_TelephonyPlayAudio) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 13} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 13} } func (m *Intent_Message_TelephonyPlayAudio) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Unmarshal(m, b) @@ -2288,7 +2314,7 @@ func (m *Intent_Message_TelephonySynthesizeSpeech) Reset() { func (m *Intent_Message_TelephonySynthesizeSpeech) String() string { return proto.CompactTextString(m) } func (*Intent_Message_TelephonySynthesizeSpeech) ProtoMessage() {} func (*Intent_Message_TelephonySynthesizeSpeech) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 14} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 14} } func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Unmarshal(m, b) @@ -2315,12 +2341,14 @@ type isIntent_Message_TelephonySynthesizeSpeech_Source interface { type Intent_Message_TelephonySynthesizeSpeech_Text struct { Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` } + type Intent_Message_TelephonySynthesizeSpeech_Ssml struct { Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` } func (*Intent_Message_TelephonySynthesizeSpeech_Text) isIntent_Message_TelephonySynthesizeSpeech_Source() { } + func (*Intent_Message_TelephonySynthesizeSpeech_Ssml) isIntent_Message_TelephonySynthesizeSpeech_Source() { } @@ -2427,7 +2455,7 @@ func (m *Intent_Message_TelephonyTransferCall) Reset() { *m = Intent_Mes func (m *Intent_Message_TelephonyTransferCall) String() string { return proto.CompactTextString(m) } func (*Intent_Message_TelephonyTransferCall) ProtoMessage() {} func (*Intent_Message_TelephonyTransferCall) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 2, 15} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 15} } func (m *Intent_Message_TelephonyTransferCall) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Unmarshal(m, b) @@ -2471,7 +2499,7 @@ func (m *Intent_FollowupIntentInfo) Reset() { *m = Intent_FollowupIntent func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) } func (*Intent_FollowupIntentInfo) ProtoMessage() {} func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{0, 3} + return fileDescriptor_intent_ceca89a12cc28578, []int{0, 3} } func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b) @@ -2532,7 +2560,7 @@ func (m *ListIntentsRequest) Reset() { *m = ListIntentsRequest{} } func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) } func (*ListIntentsRequest) ProtoMessage() {} func (*ListIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{1} + return fileDescriptor_intent_ceca89a12cc28578, []int{1} } func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b) @@ -2604,7 +2632,7 @@ func (m *ListIntentsResponse) Reset() { *m = ListIntentsResponse{} } func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) } func (*ListIntentsResponse) ProtoMessage() {} func (*ListIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{2} + return fileDescriptor_intent_ceca89a12cc28578, []int{2} } func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b) @@ -2660,7 +2688,7 @@ func (m *GetIntentRequest) Reset() { *m = GetIntentRequest{} } func (m *GetIntentRequest) String() string { return proto.CompactTextString(m) } func (*GetIntentRequest) ProtoMessage() {} func (*GetIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{3} + return fileDescriptor_intent_ceca89a12cc28578, []int{3} } func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b) @@ -2725,7 +2753,7 @@ func (m *CreateIntentRequest) Reset() { *m = CreateIntentRequest{} } func (m *CreateIntentRequest) String() string { return proto.CompactTextString(m) } func (*CreateIntentRequest) ProtoMessage() {} func (*CreateIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{4} + return fileDescriptor_intent_ceca89a12cc28578, []int{4} } func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b) @@ -2797,7 +2825,7 @@ func (m *UpdateIntentRequest) Reset() { *m = UpdateIntentRequest{} } func (m *UpdateIntentRequest) String() string { return proto.CompactTextString(m) } func (*UpdateIntentRequest) ProtoMessage() {} func (*UpdateIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{5} + return fileDescriptor_intent_ceca89a12cc28578, []int{5} } func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b) @@ -2859,7 +2887,7 @@ func (m *DeleteIntentRequest) Reset() { *m = DeleteIntentRequest{} } func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) } func (*DeleteIntentRequest) ProtoMessage() {} func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{6} + return fileDescriptor_intent_ceca89a12cc28578, []int{6} } func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b) @@ -2916,7 +2944,7 @@ func (m *BatchUpdateIntentsRequest) Reset() { *m = BatchUpdateIntentsReq func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateIntentsRequest) ProtoMessage() {} func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{7} + return fileDescriptor_intent_ceca89a12cc28578, []int{7} } func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b) @@ -2936,6 +2964,13 @@ func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo +func (m *BatchUpdateIntentsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isBatchUpdateIntentsRequest_IntentBatch interface { isBatchUpdateIntentsRequest_IntentBatch() } @@ -2943,11 +2978,13 @@ type isBatchUpdateIntentsRequest_IntentBatch interface { type BatchUpdateIntentsRequest_IntentBatchUri struct { IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"` } + type BatchUpdateIntentsRequest_IntentBatchInline struct { IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"` } -func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {} +func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {} + func (*BatchUpdateIntentsRequest_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {} func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch { @@ -2957,13 +2994,6 @@ func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest return nil } -func (m *BatchUpdateIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string { if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok { return x.IntentBatchUri @@ -3082,7 +3112,7 @@ func (m *BatchUpdateIntentsResponse) Reset() { *m = BatchUpdateIntentsRe func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) } func (*BatchUpdateIntentsResponse) ProtoMessage() {} func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{8} + return fileDescriptor_intent_ceca89a12cc28578, []int{8} } func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b) @@ -3126,7 +3156,7 @@ func (m *BatchDeleteIntentsRequest) Reset() { *m = BatchDeleteIntentsReq func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeleteIntentsRequest) ProtoMessage() {} func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{9} + return fileDescriptor_intent_ceca89a12cc28578, []int{9} } func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b) @@ -3173,7 +3203,7 @@ func (m *IntentBatch) Reset() { *m = IntentBatch{} } func (m *IntentBatch) String() string { return proto.CompactTextString(m) } func (*IntentBatch) ProtoMessage() {} func (*IntentBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_intent_d0c80455dca46036, []int{10} + return fileDescriptor_intent_ceca89a12cc28578, []int{10} } func (m *IntentBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IntentBatch.Unmarshal(m, b) @@ -3537,10 +3567,10 @@ var _Intents_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/intent.proto", fileDescriptor_intent_d0c80455dca46036) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/intent.proto", fileDescriptor_intent_ceca89a12cc28578) } -var fileDescriptor_intent_d0c80455dca46036 = []byte{ +var fileDescriptor_intent_ceca89a12cc28578 = []byte{ // 2808 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xcf, 0x73, 0x23, 0x47, 0xf5, 0xf7, 0xe8, 0x87, 0x2d, 0x3d, 0xc9, 0xb2, 0xdc, 0xf6, 0xee, 0xce, 0xce, 0x26, 0xdf, 0x38, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/knowledge_base.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/knowledge_base.pb.go index ba61d5945..f78f53f68 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/knowledge_base.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/knowledge_base.pb.go @@ -44,7 +44,7 @@ func (m *KnowledgeBase) Reset() { *m = KnowledgeBase{} } func (m *KnowledgeBase) String() string { return proto.CompactTextString(m) } func (*KnowledgeBase) ProtoMessage() {} func (*KnowledgeBase) Descriptor() ([]byte, []int) { - return fileDescriptor_knowledge_base_21f5c130642e4fec, []int{0} + return fileDescriptor_knowledge_base_5078794a2722dd36, []int{0} } func (m *KnowledgeBase) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KnowledgeBase.Unmarshal(m, b) @@ -97,7 +97,7 @@ func (m *ListKnowledgeBasesRequest) Reset() { *m = ListKnowledgeBasesReq func (m *ListKnowledgeBasesRequest) String() string { return proto.CompactTextString(m) } func (*ListKnowledgeBasesRequest) ProtoMessage() {} func (*ListKnowledgeBasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_knowledge_base_21f5c130642e4fec, []int{1} + return fileDescriptor_knowledge_base_5078794a2722dd36, []int{1} } func (m *ListKnowledgeBasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListKnowledgeBasesRequest.Unmarshal(m, b) @@ -154,7 +154,7 @@ func (m *ListKnowledgeBasesResponse) Reset() { *m = ListKnowledgeBasesRe func (m *ListKnowledgeBasesResponse) String() string { return proto.CompactTextString(m) } func (*ListKnowledgeBasesResponse) ProtoMessage() {} func (*ListKnowledgeBasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_knowledge_base_21f5c130642e4fec, []int{2} + return fileDescriptor_knowledge_base_5078794a2722dd36, []int{2} } func (m *ListKnowledgeBasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListKnowledgeBasesResponse.Unmarshal(m, b) @@ -202,7 +202,7 @@ func (m *GetKnowledgeBaseRequest) Reset() { *m = GetKnowledgeBaseRequest func (m *GetKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } func (*GetKnowledgeBaseRequest) ProtoMessage() {} func (*GetKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_knowledge_base_21f5c130642e4fec, []int{3} + return fileDescriptor_knowledge_base_5078794a2722dd36, []int{3} } func (m *GetKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetKnowledgeBaseRequest.Unmarshal(m, b) @@ -245,7 +245,7 @@ func (m *CreateKnowledgeBaseRequest) Reset() { *m = CreateKnowledgeBaseR func (m *CreateKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } func (*CreateKnowledgeBaseRequest) ProtoMessage() {} func (*CreateKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_knowledge_base_21f5c130642e4fec, []int{4} + return fileDescriptor_knowledge_base_5078794a2722dd36, []int{4} } func (m *CreateKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateKnowledgeBaseRequest.Unmarshal(m, b) @@ -296,7 +296,7 @@ func (m *DeleteKnowledgeBaseRequest) Reset() { *m = DeleteKnowledgeBaseR func (m *DeleteKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } func (*DeleteKnowledgeBaseRequest) ProtoMessage() {} func (*DeleteKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_knowledge_base_21f5c130642e4fec, []int{5} + return fileDescriptor_knowledge_base_5078794a2722dd36, []int{5} } func (m *DeleteKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteKnowledgeBaseRequest.Unmarshal(m, b) @@ -519,10 +519,10 @@ var _KnowledgeBases_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/knowledge_base.proto", fileDescriptor_knowledge_base_21f5c130642e4fec) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/knowledge_base.proto", fileDescriptor_knowledge_base_5078794a2722dd36) } -var fileDescriptor_knowledge_base_21f5c130642e4fec = []byte{ +var fileDescriptor_knowledge_base_5078794a2722dd36 = []byte{ // 639 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x4f, 0xd4, 0x40, 0x14, 0xce, 0x2c, 0x82, 0x30, 0x08, 0x98, 0xc1, 0x20, 0x16, 0x0d, 0x58, 0x13, 0x43, 0xd6, 0xd8, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go index f503bc38d..144bf3433 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go @@ -96,7 +96,7 @@ func (x AudioEncoding) String() string { return proto.EnumName(AudioEncoding_name, int32(x)) } func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{0} + return fileDescriptor_session_251d19dfdf11847a, []int{0} } // Represents the system's confidence that this knowledge answer is a good @@ -122,16 +122,16 @@ var KnowledgeAnswers_Answer_MatchConfidenceLevel_name = map[int32]string{ } var KnowledgeAnswers_Answer_MatchConfidenceLevel_value = map[string]int32{ "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED": 0, - "LOW": 1, - "MEDIUM": 2, - "HIGH": 3, + "LOW": 1, + "MEDIUM": 2, + "HIGH": 3, } func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) String() string { return proto.EnumName(KnowledgeAnswers_Answer_MatchConfidenceLevel_name, int32(x)) } func (KnowledgeAnswers_Answer_MatchConfidenceLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{5, 0, 0} + return fileDescriptor_session_251d19dfdf11847a, []int{5, 0, 0} } // Type of the response message. @@ -167,7 +167,7 @@ func (x StreamingRecognitionResult_MessageType) String() string { return proto.EnumName(StreamingRecognitionResult_MessageType_name, int32(x)) } func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{8, 0} + return fileDescriptor_session_251d19dfdf11847a, []int{8, 0} } // The request to detect user's intent. @@ -210,7 +210,7 @@ func (m *DetectIntentRequest) Reset() { *m = DetectIntentRequest{} } func (m *DetectIntentRequest) String() string { return proto.CompactTextString(m) } func (*DetectIntentRequest) ProtoMessage() {} func (*DetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{0} + return fileDescriptor_session_251d19dfdf11847a, []int{0} } func (m *DetectIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetectIntentRequest.Unmarshal(m, b) @@ -274,12 +274,13 @@ type DetectIntentResponse struct { // See `alternative_query_results` for additional potential results. QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // If Knowledge Connectors are enabled, there could be more than one result - // returned for a given query or event and this field will contain all results - // except for the top one which is captured in query_result. The alternative - // results are ordered by decreasing + // returned for a given query or event, and this field will contain all + // results except for the top one, which is captured in query_result. The + // alternative results are ordered by decreasing // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are - // disabled this field will be empty at which point those additional results - // will be surfaced here. + // disabled, this field will be empty until multiple responses for regular + // intents are supported, at which point those additional results will be + // surfaced here. AlternativeQueryResults []*QueryResult `protobuf:"bytes,5,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"` // Specifies the status of the webhook request. `webhook_status` // is never populated in webhook requests. @@ -299,7 +300,7 @@ func (m *DetectIntentResponse) Reset() { *m = DetectIntentResponse{} } func (m *DetectIntentResponse) String() string { return proto.CompactTextString(m) } func (*DetectIntentResponse) ProtoMessage() {} func (*DetectIntentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{1} + return fileDescriptor_session_251d19dfdf11847a, []int{1} } func (m *DetectIntentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetectIntentResponse.Unmarshal(m, b) @@ -405,7 +406,7 @@ func (m *QueryParameters) Reset() { *m = QueryParameters{} } func (m *QueryParameters) String() string { return proto.CompactTextString(m) } func (*QueryParameters) ProtoMessage() {} func (*QueryParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{2} + return fileDescriptor_session_251d19dfdf11847a, []int{2} } func (m *QueryParameters) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryParameters.Unmarshal(m, b) @@ -506,7 +507,7 @@ func (m *QueryInput) Reset() { *m = QueryInput{} } func (m *QueryInput) String() string { return proto.CompactTextString(m) } func (*QueryInput) ProtoMessage() {} func (*QueryInput) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{3} + return fileDescriptor_session_251d19dfdf11847a, []int{3} } func (m *QueryInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryInput.Unmarshal(m, b) @@ -533,16 +534,20 @@ type isQueryInput_Input interface { type QueryInput_AudioConfig struct { AudioConfig *InputAudioConfig `protobuf:"bytes,1,opt,name=audio_config,json=audioConfig,proto3,oneof"` } + type QueryInput_Text struct { Text *TextInput `protobuf:"bytes,2,opt,name=text,proto3,oneof"` } + type QueryInput_Event struct { Event *EventInput `protobuf:"bytes,3,opt,name=event,proto3,oneof"` } func (*QueryInput_AudioConfig) isQueryInput_Input() {} -func (*QueryInput_Text) isQueryInput_Input() {} -func (*QueryInput_Event) isQueryInput_Input() {} + +func (*QueryInput_Text) isQueryInput_Input() {} + +func (*QueryInput_Event) isQueryInput_Input() {} func (m *QueryInput) GetInput() isQueryInput_Input { if m != nil { @@ -741,7 +746,7 @@ func (m *QueryResult) Reset() { *m = QueryResult{} } func (m *QueryResult) String() string { return proto.CompactTextString(m) } func (*QueryResult) ProtoMessage() {} func (*QueryResult) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{4} + return fileDescriptor_session_251d19dfdf11847a, []int{4} } func (m *QueryResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResult.Unmarshal(m, b) @@ -886,7 +891,7 @@ func (m *KnowledgeAnswers) Reset() { *m = KnowledgeAnswers{} } func (m *KnowledgeAnswers) String() string { return proto.CompactTextString(m) } func (*KnowledgeAnswers) ProtoMessage() {} func (*KnowledgeAnswers) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{5} + return fileDescriptor_session_251d19dfdf11847a, []int{5} } func (m *KnowledgeAnswers) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KnowledgeAnswers.Unmarshal(m, b) @@ -950,7 +955,7 @@ func (m *KnowledgeAnswers_Answer) Reset() { *m = KnowledgeAnswers_Answer func (m *KnowledgeAnswers_Answer) String() string { return proto.CompactTextString(m) } func (*KnowledgeAnswers_Answer) ProtoMessage() {} func (*KnowledgeAnswers_Answer) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{5, 0} + return fileDescriptor_session_251d19dfdf11847a, []int{5, 0} } func (m *KnowledgeAnswers_Answer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KnowledgeAnswers_Answer.Unmarshal(m, b) @@ -1067,7 +1072,7 @@ func (m *StreamingDetectIntentRequest) Reset() { *m = StreamingDetectInt func (m *StreamingDetectIntentRequest) String() string { return proto.CompactTextString(m) } func (*StreamingDetectIntentRequest) ProtoMessage() {} func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{6} + return fileDescriptor_session_251d19dfdf11847a, []int{6} } func (m *StreamingDetectIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingDetectIntentRequest.Unmarshal(m, b) @@ -1156,12 +1161,13 @@ type StreamingDetectIntentResponse struct { // See `alternative_query_results` for additional potential results. QueryResult *QueryResult `protobuf:"bytes,3,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // If Knowledge Connectors are enabled, there could be more than one result - // returned for a given query or event and this field will contain all results - // except for the top one which is captured in query_result. The alternative - // results are ordered by decreasing + // returned for a given query or event, and this field will contain all + // results except for the top one, which is captured in query_result. The + // alternative results are ordered by decreasing // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are - // disabled this field will be empty at which point those additional results - // will be surfaced here. + // disabled, this field will be empty until multiple responses for regular + // intents are supported, at which point those additional results will be + // surfaced here. AlternativeQueryResults []*QueryResult `protobuf:"bytes,7,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"` // Specifies the status of the webhook request. WebhookStatus *status.Status `protobuf:"bytes,4,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"` @@ -1180,7 +1186,7 @@ func (m *StreamingDetectIntentResponse) Reset() { *m = StreamingDetectIn func (m *StreamingDetectIntentResponse) String() string { return proto.CompactTextString(m) } func (*StreamingDetectIntentResponse) ProtoMessage() {} func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{7} + return fileDescriptor_session_251d19dfdf11847a, []int{7} } func (m *StreamingDetectIntentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingDetectIntentResponse.Unmarshal(m, b) @@ -1311,7 +1317,7 @@ func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognition func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } func (*StreamingRecognitionResult) ProtoMessage() {} func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{8} + return fileDescriptor_session_251d19dfdf11847a, []int{8} } func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) @@ -1403,7 +1409,7 @@ func (m *InputAudioConfig) Reset() { *m = InputAudioConfig{} } func (m *InputAudioConfig) String() string { return proto.CompactTextString(m) } func (*InputAudioConfig) ProtoMessage() {} func (*InputAudioConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{9} + return fileDescriptor_session_251d19dfdf11847a, []int{9} } func (m *InputAudioConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputAudioConfig.Unmarshal(m, b) @@ -1477,7 +1483,7 @@ func (m *TextInput) Reset() { *m = TextInput{} } func (m *TextInput) String() string { return proto.CompactTextString(m) } func (*TextInput) ProtoMessage() {} func (*TextInput) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{10} + return fileDescriptor_session_251d19dfdf11847a, []int{10} } func (m *TextInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextInput.Unmarshal(m, b) @@ -1535,7 +1541,7 @@ func (m *EventInput) Reset() { *m = EventInput{} } func (m *EventInput) String() string { return proto.CompactTextString(m) } func (*EventInput) ProtoMessage() {} func (*EventInput) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{11} + return fileDescriptor_session_251d19dfdf11847a, []int{11} } func (m *EventInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventInput.Unmarshal(m, b) @@ -1591,7 +1597,7 @@ func (m *SentimentAnalysisRequestConfig) Reset() { *m = SentimentAnalysi func (m *SentimentAnalysisRequestConfig) String() string { return proto.CompactTextString(m) } func (*SentimentAnalysisRequestConfig) ProtoMessage() {} func (*SentimentAnalysisRequestConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{12} + return fileDescriptor_session_251d19dfdf11847a, []int{12} } func (m *SentimentAnalysisRequestConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SentimentAnalysisRequestConfig.Unmarshal(m, b) @@ -1632,7 +1638,7 @@ func (m *SentimentAnalysisResult) Reset() { *m = SentimentAnalysisResult func (m *SentimentAnalysisResult) String() string { return proto.CompactTextString(m) } func (*SentimentAnalysisResult) ProtoMessage() {} func (*SentimentAnalysisResult) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{13} + return fileDescriptor_session_251d19dfdf11847a, []int{13} } func (m *SentimentAnalysisResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SentimentAnalysisResult.Unmarshal(m, b) @@ -1677,7 +1683,7 @@ func (m *Sentiment) Reset() { *m = Sentiment{} } func (m *Sentiment) String() string { return proto.CompactTextString(m) } func (*Sentiment) ProtoMessage() {} func (*Sentiment) Descriptor() ([]byte, []int) { - return fileDescriptor_session_151c81657e5ae73c, []int{14} + return fileDescriptor_session_251d19dfdf11847a, []int{14} } func (m *Sentiment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentiment.Unmarshal(m, b) @@ -1886,10 +1892,10 @@ var _Sessions_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/session.proto", fileDescriptor_session_151c81657e5ae73c) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/session.proto", fileDescriptor_session_251d19dfdf11847a) } -var fileDescriptor_session_151c81657e5ae73c = []byte{ +var fileDescriptor_session_251d19dfdf11847a = []byte{ // 2081 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x73, 0x1b, 0x49, 0x15, 0xcf, 0x48, 0xfe, 0x90, 0x9f, 0x14, 0x5b, 0xe9, 0x78, 0x63, 0xd9, 0x71, 0xbe, 0xb4, 0xb5, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go index aa889ce10..d1ee4f291 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go @@ -59,7 +59,7 @@ func (x SessionEntityType_EntityOverrideMode) String() string { return proto.EnumName(SessionEntityType_EntityOverrideMode_name, int32(x)) } func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{0, 0} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{0, 0} } // Represents a session entity type. @@ -93,7 +93,7 @@ func (m *SessionEntityType) Reset() { *m = SessionEntityType{} } func (m *SessionEntityType) String() string { return proto.CompactTextString(m) } func (*SessionEntityType) ProtoMessage() {} func (*SessionEntityType) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{0} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{0} } func (m *SessionEntityType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SessionEntityType.Unmarshal(m, b) @@ -157,7 +157,7 @@ func (m *ListSessionEntityTypesRequest) Reset() { *m = ListSessionEntity func (m *ListSessionEntityTypesRequest) String() string { return proto.CompactTextString(m) } func (*ListSessionEntityTypesRequest) ProtoMessage() {} func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{1} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{1} } func (m *ListSessionEntityTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSessionEntityTypesRequest.Unmarshal(m, b) @@ -215,7 +215,7 @@ func (m *ListSessionEntityTypesResponse) Reset() { *m = ListSessionEntit func (m *ListSessionEntityTypesResponse) String() string { return proto.CompactTextString(m) } func (*ListSessionEntityTypesResponse) ProtoMessage() {} func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{2} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{2} } func (m *ListSessionEntityTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSessionEntityTypesResponse.Unmarshal(m, b) @@ -267,7 +267,7 @@ func (m *GetSessionEntityTypeRequest) Reset() { *m = GetSessionEntityTyp func (m *GetSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*GetSessionEntityTypeRequest) ProtoMessage() {} func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{3} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{3} } func (m *GetSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSessionEntityTypeRequest.Unmarshal(m, b) @@ -314,7 +314,7 @@ func (m *CreateSessionEntityTypeRequest) Reset() { *m = CreateSessionEnt func (m *CreateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*CreateSessionEntityTypeRequest) ProtoMessage() {} func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{4} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{4} } func (m *CreateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSessionEntityTypeRequest.Unmarshal(m, b) @@ -368,7 +368,7 @@ func (m *UpdateSessionEntityTypeRequest) Reset() { *m = UpdateSessionEnt func (m *UpdateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSessionEntityTypeRequest) ProtoMessage() {} func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{5} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{5} } func (m *UpdateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSessionEntityTypeRequest.Unmarshal(m, b) @@ -420,7 +420,7 @@ func (m *DeleteSessionEntityTypeRequest) Reset() { *m = DeleteSessionEnt func (m *DeleteSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSessionEntityTypeRequest) ProtoMessage() {} func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_session_entity_type_d2613a6a1917b783, []int{6} + return fileDescriptor_session_entity_type_0a5ede95d4809454, []int{6} } func (m *DeleteSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSessionEntityTypeRequest.Unmarshal(m, b) @@ -673,10 +673,10 @@ var _SessionEntityTypes_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/session_entity_type.proto", fileDescriptor_session_entity_type_d2613a6a1917b783) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/session_entity_type.proto", fileDescriptor_session_entity_type_0a5ede95d4809454) } -var fileDescriptor_session_entity_type_d2613a6a1917b783 = []byte{ +var fileDescriptor_session_entity_type_0a5ede95d4809454 = []byte{ // 870 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44, 0x14, 0x66, 0x5c, 0x58, 0xed, 0xce, 0xf2, 0xa3, 0x3b, 0x54, 0x69, 0x94, 0xd2, 0x34, 0x78, 0x11, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go index f3c25e469..d43f3d905 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go @@ -46,7 +46,7 @@ func (m *WebhookRequest) Reset() { *m = WebhookRequest{} } func (m *WebhookRequest) String() string { return proto.CompactTextString(m) } func (*WebhookRequest) ProtoMessage() {} func (*WebhookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_webhook_7bb8e7cac5d6816a, []int{0} + return fileDescriptor_webhook_d5d0c4a657643b71, []int{0} } func (m *WebhookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebhookRequest.Unmarshal(m, b) @@ -154,7 +154,7 @@ func (m *WebhookResponse) Reset() { *m = WebhookResponse{} } func (m *WebhookResponse) String() string { return proto.CompactTextString(m) } func (*WebhookResponse) ProtoMessage() {} func (*WebhookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_webhook_7bb8e7cac5d6816a, []int{1} + return fileDescriptor_webhook_d5d0c4a657643b71, []int{1} } func (m *WebhookResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebhookResponse.Unmarshal(m, b) @@ -257,7 +257,7 @@ func (m *OriginalDetectIntentRequest) Reset() { *m = OriginalDetectInten func (m *OriginalDetectIntentRequest) String() string { return proto.CompactTextString(m) } func (*OriginalDetectIntentRequest) ProtoMessage() {} func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_webhook_7bb8e7cac5d6816a, []int{2} + return fileDescriptor_webhook_d5d0c4a657643b71, []int{2} } func (m *OriginalDetectIntentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OriginalDetectIntentRequest.Unmarshal(m, b) @@ -305,10 +305,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/webhook.proto", fileDescriptor_webhook_7bb8e7cac5d6816a) + proto.RegisterFile("google/cloud/dialogflow/v2beta1/webhook.proto", fileDescriptor_webhook_d5d0c4a657643b71) } -var fileDescriptor_webhook_7bb8e7cac5d6816a = []byte{ +var fileDescriptor_webhook_d5d0c4a657643b71 = []byte{ // 603 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcf, 0x6e, 0xd4, 0x30, 0x10, 0xc6, 0x95, 0x5d, 0xe8, 0x1f, 0x6f, 0xd5, 0x45, 0xa6, 0xa2, 0xa1, 0x45, 0x74, 0x55, 0x0e, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/functions.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/functions.pb.go index 90e79f940..73ad4c4fa 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/functions.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/functions.pb.go @@ -64,7 +64,7 @@ func (x CloudFunctionStatus) String() string { return proto.EnumName(CloudFunctionStatus_name, int32(x)) } func (CloudFunctionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{0} + return fileDescriptor_functions_a18655d3cc58948d, []int{0} } // Describes a Cloud Function that contains user computation executed in @@ -118,7 +118,7 @@ func (m *CloudFunction) Reset() { *m = CloudFunction{} } func (m *CloudFunction) String() string { return proto.CompactTextString(m) } func (*CloudFunction) ProtoMessage() {} func (*CloudFunction) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{0} + return fileDescriptor_functions_a18655d3cc58948d, []int{0} } func (m *CloudFunction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudFunction.Unmarshal(m, b) @@ -138,30 +138,28 @@ func (m *CloudFunction) XXX_DiscardUnknown() { var xxx_messageInfo_CloudFunction proto.InternalMessageInfo +func (m *CloudFunction) GetName() string { + if m != nil { + return m.Name + } + return "" +} + type isCloudFunction_SourceCode interface { isCloudFunction_SourceCode() } -type isCloudFunction_Trigger interface { - isCloudFunction_Trigger() -} type CloudFunction_SourceArchiveUrl struct { SourceArchiveUrl string `protobuf:"bytes,14,opt,name=source_archive_url,json=sourceArchiveUrl,proto3,oneof"` } + type CloudFunction_SourceRepository struct { SourceRepository *SourceRepository `protobuf:"bytes,3,opt,name=source_repository,json=sourceRepository,proto3,oneof"` } -type CloudFunction_HttpsTrigger struct { - HttpsTrigger *HTTPSTrigger `protobuf:"bytes,6,opt,name=https_trigger,json=httpsTrigger,proto3,oneof"` -} -type CloudFunction_EventTrigger struct { - EventTrigger *EventTrigger `protobuf:"bytes,12,opt,name=event_trigger,json=eventTrigger,proto3,oneof"` -} func (*CloudFunction_SourceArchiveUrl) isCloudFunction_SourceCode() {} + func (*CloudFunction_SourceRepository) isCloudFunction_SourceCode() {} -func (*CloudFunction_HttpsTrigger) isCloudFunction_Trigger() {} -func (*CloudFunction_EventTrigger) isCloudFunction_Trigger() {} func (m *CloudFunction) GetSourceCode() isCloudFunction_SourceCode { if m != nil { @@ -169,19 +167,6 @@ func (m *CloudFunction) GetSourceCode() isCloudFunction_SourceCode { } return nil } -func (m *CloudFunction) GetTrigger() isCloudFunction_Trigger { - if m != nil { - return m.Trigger - } - return nil -} - -func (m *CloudFunction) GetName() string { - if m != nil { - return m.Name - } - return "" -} func (m *CloudFunction) GetSourceArchiveUrl() string { if x, ok := m.GetSourceCode().(*CloudFunction_SourceArchiveUrl); ok { @@ -197,6 +182,29 @@ func (m *CloudFunction) GetSourceRepository() *SourceRepository { return nil } +type isCloudFunction_Trigger interface { + isCloudFunction_Trigger() +} + +type CloudFunction_HttpsTrigger struct { + HttpsTrigger *HTTPSTrigger `protobuf:"bytes,6,opt,name=https_trigger,json=httpsTrigger,proto3,oneof"` +} + +type CloudFunction_EventTrigger struct { + EventTrigger *EventTrigger `protobuf:"bytes,12,opt,name=event_trigger,json=eventTrigger,proto3,oneof"` +} + +func (*CloudFunction_HttpsTrigger) isCloudFunction_Trigger() {} + +func (*CloudFunction_EventTrigger) isCloudFunction_Trigger() {} + +func (m *CloudFunction) GetTrigger() isCloudFunction_Trigger { + if m != nil { + return m.Trigger + } + return nil +} + func (m *CloudFunction) GetHttpsTrigger() *HTTPSTrigger { if x, ok := m.GetTrigger().(*CloudFunction_HttpsTrigger); ok { return x.HttpsTrigger @@ -393,7 +401,7 @@ func (m *HTTPSTrigger) Reset() { *m = HTTPSTrigger{} } func (m *HTTPSTrigger) String() string { return proto.CompactTextString(m) } func (*HTTPSTrigger) ProtoMessage() {} func (*HTTPSTrigger) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{1} + return fileDescriptor_functions_a18655d3cc58948d, []int{1} } func (m *HTTPSTrigger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HTTPSTrigger.Unmarshal(m, b) @@ -449,7 +457,7 @@ func (m *EventTrigger) Reset() { *m = EventTrigger{} } func (m *EventTrigger) String() string { return proto.CompactTextString(m) } func (*EventTrigger) ProtoMessage() {} func (*EventTrigger) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{2} + return fileDescriptor_functions_a18655d3cc58948d, []int{2} } func (m *EventTrigger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventTrigger.Unmarshal(m, b) @@ -517,7 +525,7 @@ func (m *SourceRepository) Reset() { *m = SourceRepository{} } func (m *SourceRepository) String() string { return proto.CompactTextString(m) } func (*SourceRepository) ProtoMessage() {} func (*SourceRepository) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{3} + return fileDescriptor_functions_a18655d3cc58948d, []int{3} } func (m *SourceRepository) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceRepository.Unmarshal(m, b) @@ -537,6 +545,20 @@ func (m *SourceRepository) XXX_DiscardUnknown() { var xxx_messageInfo_SourceRepository proto.InternalMessageInfo +func (m *SourceRepository) GetRepositoryUrl() string { + if m != nil { + return m.RepositoryUrl + } + return "" +} + +func (m *SourceRepository) GetSourcePath() string { + if m != nil { + return m.SourcePath + } + return "" +} + type isSourceRepository_Version interface { isSourceRepository_Version() } @@ -544,15 +566,19 @@ type isSourceRepository_Version interface { type SourceRepository_Branch struct { Branch string `protobuf:"bytes,3,opt,name=branch,proto3,oneof"` } + type SourceRepository_Tag struct { Tag string `protobuf:"bytes,4,opt,name=tag,proto3,oneof"` } + type SourceRepository_Revision struct { Revision string `protobuf:"bytes,5,opt,name=revision,proto3,oneof"` } -func (*SourceRepository_Branch) isSourceRepository_Version() {} -func (*SourceRepository_Tag) isSourceRepository_Version() {} +func (*SourceRepository_Branch) isSourceRepository_Version() {} + +func (*SourceRepository_Tag) isSourceRepository_Version() {} + func (*SourceRepository_Revision) isSourceRepository_Version() {} func (m *SourceRepository) GetVersion() isSourceRepository_Version { @@ -562,20 +588,6 @@ func (m *SourceRepository) GetVersion() isSourceRepository_Version { return nil } -func (m *SourceRepository) GetRepositoryUrl() string { - if m != nil { - return m.RepositoryUrl - } - return "" -} - -func (m *SourceRepository) GetSourcePath() string { - if m != nil { - return m.SourcePath - } - return "" -} - func (m *SourceRepository) GetBranch() string { if x, ok := m.GetVersion().(*SourceRepository_Branch); ok { return x.Branch @@ -701,7 +713,7 @@ func (m *CreateFunctionRequest) Reset() { *m = CreateFunctionRequest{} } func (m *CreateFunctionRequest) String() string { return proto.CompactTextString(m) } func (*CreateFunctionRequest) ProtoMessage() {} func (*CreateFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{4} + return fileDescriptor_functions_a18655d3cc58948d, []int{4} } func (m *CreateFunctionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateFunctionRequest.Unmarshal(m, b) @@ -750,7 +762,7 @@ func (m *UpdateFunctionRequest) Reset() { *m = UpdateFunctionRequest{} } func (m *UpdateFunctionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateFunctionRequest) ProtoMessage() {} func (*UpdateFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{5} + return fileDescriptor_functions_a18655d3cc58948d, []int{5} } func (m *UpdateFunctionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateFunctionRequest.Unmarshal(m, b) @@ -797,7 +809,7 @@ func (m *GetFunctionRequest) Reset() { *m = GetFunctionRequest{} } func (m *GetFunctionRequest) String() string { return proto.CompactTextString(m) } func (*GetFunctionRequest) ProtoMessage() {} func (*GetFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{6} + return fileDescriptor_functions_a18655d3cc58948d, []int{6} } func (m *GetFunctionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFunctionRequest.Unmarshal(m, b) @@ -847,7 +859,7 @@ func (m *ListFunctionsRequest) Reset() { *m = ListFunctionsRequest{} } func (m *ListFunctionsRequest) String() string { return proto.CompactTextString(m) } func (*ListFunctionsRequest) ProtoMessage() {} func (*ListFunctionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{7} + return fileDescriptor_functions_a18655d3cc58948d, []int{7} } func (m *ListFunctionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFunctionsRequest.Unmarshal(m, b) @@ -906,7 +918,7 @@ func (m *ListFunctionsResponse) Reset() { *m = ListFunctionsResponse{} } func (m *ListFunctionsResponse) String() string { return proto.CompactTextString(m) } func (*ListFunctionsResponse) ProtoMessage() {} func (*ListFunctionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{8} + return fileDescriptor_functions_a18655d3cc58948d, []int{8} } func (m *ListFunctionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFunctionsResponse.Unmarshal(m, b) @@ -953,7 +965,7 @@ func (m *DeleteFunctionRequest) Reset() { *m = DeleteFunctionRequest{} } func (m *DeleteFunctionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteFunctionRequest) ProtoMessage() {} func (*DeleteFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{9} + return fileDescriptor_functions_a18655d3cc58948d, []int{9} } func (m *DeleteFunctionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteFunctionRequest.Unmarshal(m, b) @@ -995,7 +1007,7 @@ func (m *CallFunctionRequest) Reset() { *m = CallFunctionRequest{} } func (m *CallFunctionRequest) String() string { return proto.CompactTextString(m) } func (*CallFunctionRequest) ProtoMessage() {} func (*CallFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{10} + return fileDescriptor_functions_a18655d3cc58948d, []int{10} } func (m *CallFunctionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CallFunctionRequest.Unmarshal(m, b) @@ -1048,7 +1060,7 @@ func (m *CallFunctionResponse) Reset() { *m = CallFunctionResponse{} } func (m *CallFunctionResponse) String() string { return proto.CompactTextString(m) } func (*CallFunctionResponse) ProtoMessage() {} func (*CallFunctionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_functions_88bcb7a2a54dc5a5, []int{11} + return fileDescriptor_functions_a18655d3cc58948d, []int{11} } func (m *CallFunctionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CallFunctionResponse.Unmarshal(m, b) @@ -1365,10 +1377,10 @@ var _CloudFunctionsService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/functions/v1beta2/functions.proto", fileDescriptor_functions_88bcb7a2a54dc5a5) + proto.RegisterFile("google/cloud/functions/v1beta2/functions.proto", fileDescriptor_functions_a18655d3cc58948d) } -var fileDescriptor_functions_88bcb7a2a54dc5a5 = []byte{ +var fileDescriptor_functions_a18655d3cc58948d = []byte{ // 1216 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4d, 0x73, 0xdb, 0x44, 0x18, 0xae, 0xf2, 0xe1, 0xc6, 0xaf, 0x3f, 0xe2, 0x6e, 0x9b, 0x8e, 0x30, 0x2d, 0x0d, 0x62, 0x80, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/operations.pb.go index 56990f47b..dddde3ca8 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/operations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/operations.pb.go @@ -51,7 +51,7 @@ func (x OperationType) String() string { return proto.EnumName(OperationType_name, int32(x)) } func (OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_operations_c731a618eb615b2f, []int{0} + return fileDescriptor_operations_17ab487bbd37bcca, []int{0} } // Metadata describing an [Operation][google.longrunning.Operation] @@ -72,7 +72,7 @@ func (m *OperationMetadataV1Beta2) Reset() { *m = OperationMetadataV1Bet func (m *OperationMetadataV1Beta2) String() string { return proto.CompactTextString(m) } func (*OperationMetadataV1Beta2) ProtoMessage() {} func (*OperationMetadataV1Beta2) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_c731a618eb615b2f, []int{0} + return fileDescriptor_operations_17ab487bbd37bcca, []int{0} } func (m *OperationMetadataV1Beta2) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadataV1Beta2.Unmarshal(m, b) @@ -119,10 +119,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/functions/v1beta2/operations.proto", fileDescriptor_operations_c731a618eb615b2f) + proto.RegisterFile("google/cloud/functions/v1beta2/operations.proto", fileDescriptor_operations_17ab487bbd37bcca) } -var fileDescriptor_operations_c731a618eb615b2f = []byte{ +var fileDescriptor_operations_17ab487bbd37bcca = []byte{ // 333 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x4f, 0x4f, 0xf2, 0x30, 0x1c, 0xc7, 0x9f, 0xc2, 0x13, 0x8c, 0x35, 0x2a, 0x99, 0x7f, 0x32, 0x88, 0x31, 0x84, 0x13, 0x31, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/device_manager.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/device_manager.pb.go index 58891f700..28a429434 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/device_manager.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/device_manager.pb.go @@ -11,6 +11,7 @@ import empty "github.com/golang/protobuf/ptypes/empty" import _ "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import v1 "google.golang.org/genproto/googleapis/iam/v1" +import _ "google.golang.org/genproto/googleapis/rpc/status" import field_mask "google.golang.org/genproto/protobuf/field_mask" import ( @@ -47,7 +48,7 @@ func (m *CreateDeviceRegistryRequest) Reset() { *m = CreateDeviceRegistr func (m *CreateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } func (*CreateDeviceRegistryRequest) ProtoMessage() {} func (*CreateDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{0} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{0} } func (m *CreateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDeviceRegistryRequest.Unmarshal(m, b) @@ -95,7 +96,7 @@ func (m *GetDeviceRegistryRequest) Reset() { *m = GetDeviceRegistryReque func (m *GetDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } func (*GetDeviceRegistryRequest) ProtoMessage() {} func (*GetDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{1} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{1} } func (m *GetDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDeviceRegistryRequest.Unmarshal(m, b) @@ -136,7 +137,7 @@ func (m *DeleteDeviceRegistryRequest) Reset() { *m = DeleteDeviceRegistr func (m *DeleteDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDeviceRegistryRequest) ProtoMessage() {} func (*DeleteDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{2} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{2} } func (m *DeleteDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDeviceRegistryRequest.Unmarshal(m, b) @@ -184,7 +185,7 @@ func (m *UpdateDeviceRegistryRequest) Reset() { *m = UpdateDeviceRegistr func (m *UpdateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDeviceRegistryRequest) ProtoMessage() {} func (*UpdateDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{3} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{3} } func (m *UpdateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDeviceRegistryRequest.Unmarshal(m, b) @@ -225,12 +226,12 @@ type ListDeviceRegistriesRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of registries to return in the response. If this value // is zero, the service will select a default size. A call may return fewer - // objects than requested, but if there is a non-empty `page_token`, it - // indicates that more entries are available. + // objects than requested. A non-empty `next_page_token` in the response + // indicates that more data is available. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value returned by the last `ListDeviceRegistriesResponse`; indicates - // that this is a continuation of a prior `ListDeviceRegistries` call, and - // that the system should return the next page of data. + // that this is a continuation of a prior `ListDeviceRegistries` call and + // the system should return the next page of data. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -241,7 +242,7 @@ func (m *ListDeviceRegistriesRequest) Reset() { *m = ListDeviceRegistrie func (m *ListDeviceRegistriesRequest) String() string { return proto.CompactTextString(m) } func (*ListDeviceRegistriesRequest) ProtoMessage() {} func (*ListDeviceRegistriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{4} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{4} } func (m *ListDeviceRegistriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDeviceRegistriesRequest.Unmarshal(m, b) @@ -299,7 +300,7 @@ func (m *ListDeviceRegistriesResponse) Reset() { *m = ListDeviceRegistri func (m *ListDeviceRegistriesResponse) String() string { return proto.CompactTextString(m) } func (*ListDeviceRegistriesResponse) ProtoMessage() {} func (*ListDeviceRegistriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{5} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{5} } func (m *ListDeviceRegistriesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDeviceRegistriesResponse.Unmarshal(m, b) @@ -340,7 +341,7 @@ type CreateDeviceRequest struct { // `projects/example-project/locations/us-central1/registries/my-registry`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The device registration details. The field `name` must be empty. The server - // will generate that field from the device registry `id` provided and the + // generates `name` from the device registry `id` and the // `parent` field. Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -352,7 +353,7 @@ func (m *CreateDeviceRequest) Reset() { *m = CreateDeviceRequest{} } func (m *CreateDeviceRequest) String() string { return proto.CompactTextString(m) } func (*CreateDeviceRequest) ProtoMessage() {} func (*CreateDeviceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{6} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{6} } func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b) @@ -404,7 +405,7 @@ func (m *GetDeviceRequest) Reset() { *m = GetDeviceRequest{} } func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) } func (*GetDeviceRequest) ProtoMessage() {} func (*GetDeviceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{7} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{7} } func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b) @@ -440,7 +441,7 @@ func (m *GetDeviceRequest) GetFieldMask() *field_mask.FieldMask { // Request for `UpdateDevice`. type UpdateDeviceRequest struct { - // The new values for the device registry. The `id` and `num_id` fields must + // The new values for the device. The `id` and `num_id` fields must // be empty, and the field `name` must specify the name path. For example, // `projects/p0/locations/us-central1/registries/registry0/devices/device0`or // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. @@ -459,7 +460,7 @@ func (m *UpdateDeviceRequest) Reset() { *m = UpdateDeviceRequest{} } func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDeviceRequest) ProtoMessage() {} func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{8} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{8} } func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b) @@ -508,7 +509,7 @@ func (m *DeleteDeviceRequest) Reset() { *m = DeleteDeviceRequest{} } func (m *DeleteDeviceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDeviceRequest) ProtoMessage() {} func (*DeleteDeviceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{9} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{9} } func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b) @@ -540,25 +541,26 @@ type ListDevicesRequest struct { // The device registry path. Required. For example, // `projects/my-project/locations/us-central1/registries/my-registry`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A list of device numerical ids. If empty, it will ignore this field. This - // field cannot hold more than 10,000 entries. + // A list of device numeric IDs. If empty, this field is ignored. Maximum + // IDs: 10,000. DeviceNumIds []uint64 `protobuf:"varint,2,rep,packed,name=device_num_ids,json=deviceNumIds,proto3" json:"device_num_ids,omitempty"` - // A list of device string identifiers. If empty, it will ignore this field. - // For example, `['device0', 'device12']`. This field cannot hold more than - // 10,000 entries. + // A list of device string IDs. For example, `['device0', 'device12']`. + // If empty, this field is ignored. Maximum IDs: 10,000 DeviceIds []string `protobuf:"bytes,3,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` // The fields of the `Device` resource to be returned in the response. The - // fields `id`, and `num_id` are always returned by default, along with any + // fields `id` and `num_id` are always returned, along with any // other fields specified. FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + // Options related to gateways. + GatewayListOptions *GatewayListOptions `protobuf:"bytes,6,opt,name=gateway_list_options,json=gatewayListOptions,proto3" json:"gateway_list_options,omitempty"` // The maximum number of devices to return in the response. If this value // is zero, the service will select a default size. A call may return fewer - // objects than requested, but if there is a non-empty `page_token`, it - // indicates that more entries are available. + // objects than requested. A non-empty `next_page_token` in the response + // indicates that more data is available. PageSize int32 `protobuf:"varint,100,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The value returned by the last `ListDevicesResponse`; indicates - // that this is a continuation of a prior `ListDevices` call, and - // that the system should return the next page of data. + // that this is a continuation of a prior `ListDevices` call and + // the system should return the next page of data. PageToken string `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -569,7 +571,7 @@ func (m *ListDevicesRequest) Reset() { *m = ListDevicesRequest{} } func (m *ListDevicesRequest) String() string { return proto.CompactTextString(m) } func (*ListDevicesRequest) ProtoMessage() {} func (*ListDevicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{10} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{10} } func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDevicesRequest.Unmarshal(m, b) @@ -617,6 +619,13 @@ func (m *ListDevicesRequest) GetFieldMask() *field_mask.FieldMask { return nil } +func (m *ListDevicesRequest) GetGatewayListOptions() *GatewayListOptions { + if m != nil { + return m.GatewayListOptions + } + return nil +} + func (m *ListDevicesRequest) GetPageSize() int32 { if m != nil { return m.PageSize @@ -631,6 +640,175 @@ func (m *ListDevicesRequest) GetPageToken() string { return "" } +// Options for limiting the list based on gateway type and associations. +type GatewayListOptions struct { + // If not set, all devices and gateways are returned. If set, the list is + // filtered based on gateway type and associations. + // + // Types that are valid to be assigned to Filter: + // *GatewayListOptions_GatewayType + // *GatewayListOptions_AssociationsGatewayId + // *GatewayListOptions_AssociationsDeviceId + Filter isGatewayListOptions_Filter `protobuf_oneof:"filter"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GatewayListOptions) Reset() { *m = GatewayListOptions{} } +func (m *GatewayListOptions) String() string { return proto.CompactTextString(m) } +func (*GatewayListOptions) ProtoMessage() {} +func (*GatewayListOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{11} +} +func (m *GatewayListOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GatewayListOptions.Unmarshal(m, b) +} +func (m *GatewayListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GatewayListOptions.Marshal(b, m, deterministic) +} +func (dst *GatewayListOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayListOptions.Merge(dst, src) +} +func (m *GatewayListOptions) XXX_Size() int { + return xxx_messageInfo_GatewayListOptions.Size(m) +} +func (m *GatewayListOptions) XXX_DiscardUnknown() { + xxx_messageInfo_GatewayListOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_GatewayListOptions proto.InternalMessageInfo + +type isGatewayListOptions_Filter interface { + isGatewayListOptions_Filter() +} + +type GatewayListOptions_GatewayType struct { + GatewayType GatewayType `protobuf:"varint,1,opt,name=gateway_type,json=gatewayType,proto3,enum=google.cloud.iot.v1.GatewayType,oneof"` +} + +type GatewayListOptions_AssociationsGatewayId struct { + AssociationsGatewayId string `protobuf:"bytes,2,opt,name=associations_gateway_id,json=associationsGatewayId,proto3,oneof"` +} + +type GatewayListOptions_AssociationsDeviceId struct { + AssociationsDeviceId string `protobuf:"bytes,3,opt,name=associations_device_id,json=associationsDeviceId,proto3,oneof"` +} + +func (*GatewayListOptions_GatewayType) isGatewayListOptions_Filter() {} + +func (*GatewayListOptions_AssociationsGatewayId) isGatewayListOptions_Filter() {} + +func (*GatewayListOptions_AssociationsDeviceId) isGatewayListOptions_Filter() {} + +func (m *GatewayListOptions) GetFilter() isGatewayListOptions_Filter { + if m != nil { + return m.Filter + } + return nil +} + +func (m *GatewayListOptions) GetGatewayType() GatewayType { + if x, ok := m.GetFilter().(*GatewayListOptions_GatewayType); ok { + return x.GatewayType + } + return GatewayType_GATEWAY_TYPE_UNSPECIFIED +} + +func (m *GatewayListOptions) GetAssociationsGatewayId() string { + if x, ok := m.GetFilter().(*GatewayListOptions_AssociationsGatewayId); ok { + return x.AssociationsGatewayId + } + return "" +} + +func (m *GatewayListOptions) GetAssociationsDeviceId() string { + if x, ok := m.GetFilter().(*GatewayListOptions_AssociationsDeviceId); ok { + return x.AssociationsDeviceId + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*GatewayListOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _GatewayListOptions_OneofMarshaler, _GatewayListOptions_OneofUnmarshaler, _GatewayListOptions_OneofSizer, []interface{}{ + (*GatewayListOptions_GatewayType)(nil), + (*GatewayListOptions_AssociationsGatewayId)(nil), + (*GatewayListOptions_AssociationsDeviceId)(nil), + } +} + +func _GatewayListOptions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*GatewayListOptions) + // filter + switch x := m.Filter.(type) { + case *GatewayListOptions_GatewayType: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.GatewayType)) + case *GatewayListOptions_AssociationsGatewayId: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeStringBytes(x.AssociationsGatewayId) + case *GatewayListOptions_AssociationsDeviceId: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.AssociationsDeviceId) + case nil: + default: + return fmt.Errorf("GatewayListOptions.Filter has unexpected type %T", x) + } + return nil +} + +func _GatewayListOptions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*GatewayListOptions) + switch tag { + case 1: // filter.gateway_type + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Filter = &GatewayListOptions_GatewayType{GatewayType(x)} + return true, err + case 2: // filter.associations_gateway_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Filter = &GatewayListOptions_AssociationsGatewayId{x} + return true, err + case 3: // filter.associations_device_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Filter = &GatewayListOptions_AssociationsDeviceId{x} + return true, err + default: + return false, nil + } +} + +func _GatewayListOptions_OneofSizer(msg proto.Message) (n int) { + m := msg.(*GatewayListOptions) + // filter + switch x := m.Filter.(type) { + case *GatewayListOptions_GatewayType: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.GatewayType)) + case *GatewayListOptions_AssociationsGatewayId: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.AssociationsGatewayId))) + n += len(x.AssociationsGatewayId) + case *GatewayListOptions_AssociationsDeviceId: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.AssociationsDeviceId))) + n += len(x.AssociationsDeviceId) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + // Response for `ListDevices`. type ListDevicesResponse struct { // The devices that match the request. @@ -647,7 +825,7 @@ func (m *ListDevicesResponse) Reset() { *m = ListDevicesResponse{} } func (m *ListDevicesResponse) String() string { return proto.CompactTextString(m) } func (*ListDevicesResponse) ProtoMessage() {} func (*ListDevicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{11} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{12} } func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDevicesResponse.Unmarshal(m, b) @@ -704,7 +882,7 @@ func (m *ModifyCloudToDeviceConfigRequest) Reset() { *m = ModifyCloudToD func (m *ModifyCloudToDeviceConfigRequest) String() string { return proto.CompactTextString(m) } func (*ModifyCloudToDeviceConfigRequest) ProtoMessage() {} func (*ModifyCloudToDeviceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{12} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{13} } func (m *ModifyCloudToDeviceConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Unmarshal(m, b) @@ -764,7 +942,7 @@ func (m *ListDeviceConfigVersionsRequest) Reset() { *m = ListDeviceConfi func (m *ListDeviceConfigVersionsRequest) String() string { return proto.CompactTextString(m) } func (*ListDeviceConfigVersionsRequest) ProtoMessage() {} func (*ListDeviceConfigVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{13} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{14} } func (m *ListDeviceConfigVersionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDeviceConfigVersionsRequest.Unmarshal(m, b) @@ -812,7 +990,7 @@ func (m *ListDeviceConfigVersionsResponse) Reset() { *m = ListDeviceConf func (m *ListDeviceConfigVersionsResponse) String() string { return proto.CompactTextString(m) } func (*ListDeviceConfigVersionsResponse) ProtoMessage() {} func (*ListDeviceConfigVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{14} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{15} } func (m *ListDeviceConfigVersionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDeviceConfigVersionsResponse.Unmarshal(m, b) @@ -858,7 +1036,7 @@ func (m *ListDeviceStatesRequest) Reset() { *m = ListDeviceStatesRequest func (m *ListDeviceStatesRequest) String() string { return proto.CompactTextString(m) } func (*ListDeviceStatesRequest) ProtoMessage() {} func (*ListDeviceStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{15} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{16} } func (m *ListDeviceStatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDeviceStatesRequest.Unmarshal(m, b) @@ -906,7 +1084,7 @@ func (m *ListDeviceStatesResponse) Reset() { *m = ListDeviceStatesRespon func (m *ListDeviceStatesResponse) String() string { return proto.CompactTextString(m) } func (*ListDeviceStatesResponse) ProtoMessage() {} func (*ListDeviceStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_device_manager_c83d83bf4e59b202, []int{16} + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{17} } func (m *ListDeviceStatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDeviceStatesResponse.Unmarshal(m, b) @@ -933,6 +1111,287 @@ func (m *ListDeviceStatesResponse) GetDeviceStates() []*DeviceState { return nil } +// Request for `SendCommandToDevice`. +type SendCommandToDeviceRequest struct { + // The name of the device. For example, + // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or + // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The command data to send to the device. + BinaryData []byte `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` + // Optional subfolder for the command. If empty, the command will be delivered + // to the /devices/{device-id}/commands topic, otherwise it will be delivered + // to the /devices/{device-id}/commands/{subfolder} topic. Multi-level + // subfolders are allowed. This field must not have more than 256 characters, + // and must not contain any MQTT wildcards ("+" or "#") or null characters. + Subfolder string `protobuf:"bytes,3,opt,name=subfolder,proto3" json:"subfolder,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SendCommandToDeviceRequest) Reset() { *m = SendCommandToDeviceRequest{} } +func (m *SendCommandToDeviceRequest) String() string { return proto.CompactTextString(m) } +func (*SendCommandToDeviceRequest) ProtoMessage() {} +func (*SendCommandToDeviceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{18} +} +func (m *SendCommandToDeviceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SendCommandToDeviceRequest.Unmarshal(m, b) +} +func (m *SendCommandToDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SendCommandToDeviceRequest.Marshal(b, m, deterministic) +} +func (dst *SendCommandToDeviceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendCommandToDeviceRequest.Merge(dst, src) +} +func (m *SendCommandToDeviceRequest) XXX_Size() int { + return xxx_messageInfo_SendCommandToDeviceRequest.Size(m) +} +func (m *SendCommandToDeviceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SendCommandToDeviceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SendCommandToDeviceRequest proto.InternalMessageInfo + +func (m *SendCommandToDeviceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *SendCommandToDeviceRequest) GetBinaryData() []byte { + if m != nil { + return m.BinaryData + } + return nil +} + +func (m *SendCommandToDeviceRequest) GetSubfolder() string { + if m != nil { + return m.Subfolder + } + return "" +} + +// Response for `SendCommandToDevice`. +type SendCommandToDeviceResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SendCommandToDeviceResponse) Reset() { *m = SendCommandToDeviceResponse{} } +func (m *SendCommandToDeviceResponse) String() string { return proto.CompactTextString(m) } +func (*SendCommandToDeviceResponse) ProtoMessage() {} +func (*SendCommandToDeviceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{19} +} +func (m *SendCommandToDeviceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SendCommandToDeviceResponse.Unmarshal(m, b) +} +func (m *SendCommandToDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SendCommandToDeviceResponse.Marshal(b, m, deterministic) +} +func (dst *SendCommandToDeviceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendCommandToDeviceResponse.Merge(dst, src) +} +func (m *SendCommandToDeviceResponse) XXX_Size() int { + return xxx_messageInfo_SendCommandToDeviceResponse.Size(m) +} +func (m *SendCommandToDeviceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SendCommandToDeviceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SendCommandToDeviceResponse proto.InternalMessageInfo + +// Request for `BindDeviceToGateway`. +type BindDeviceToGatewayRequest struct { + // The name of the registry. For example, + // `projects/example-project/locations/us-central1/registries/my-registry`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The value of `gateway_id` can be either the device numeric ID or the + // user-defined device identifier. + GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` + // The device to associate with the specified gateway. The value of + // `device_id` can be either the device numeric ID or the user-defined device + // identifier. + DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BindDeviceToGatewayRequest) Reset() { *m = BindDeviceToGatewayRequest{} } +func (m *BindDeviceToGatewayRequest) String() string { return proto.CompactTextString(m) } +func (*BindDeviceToGatewayRequest) ProtoMessage() {} +func (*BindDeviceToGatewayRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{20} +} +func (m *BindDeviceToGatewayRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BindDeviceToGatewayRequest.Unmarshal(m, b) +} +func (m *BindDeviceToGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BindDeviceToGatewayRequest.Marshal(b, m, deterministic) +} +func (dst *BindDeviceToGatewayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BindDeviceToGatewayRequest.Merge(dst, src) +} +func (m *BindDeviceToGatewayRequest) XXX_Size() int { + return xxx_messageInfo_BindDeviceToGatewayRequest.Size(m) +} +func (m *BindDeviceToGatewayRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BindDeviceToGatewayRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BindDeviceToGatewayRequest proto.InternalMessageInfo + +func (m *BindDeviceToGatewayRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *BindDeviceToGatewayRequest) GetGatewayId() string { + if m != nil { + return m.GatewayId + } + return "" +} + +func (m *BindDeviceToGatewayRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +// Response for `BindDeviceToGateway`. +type BindDeviceToGatewayResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BindDeviceToGatewayResponse) Reset() { *m = BindDeviceToGatewayResponse{} } +func (m *BindDeviceToGatewayResponse) String() string { return proto.CompactTextString(m) } +func (*BindDeviceToGatewayResponse) ProtoMessage() {} +func (*BindDeviceToGatewayResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{21} +} +func (m *BindDeviceToGatewayResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BindDeviceToGatewayResponse.Unmarshal(m, b) +} +func (m *BindDeviceToGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BindDeviceToGatewayResponse.Marshal(b, m, deterministic) +} +func (dst *BindDeviceToGatewayResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BindDeviceToGatewayResponse.Merge(dst, src) +} +func (m *BindDeviceToGatewayResponse) XXX_Size() int { + return xxx_messageInfo_BindDeviceToGatewayResponse.Size(m) +} +func (m *BindDeviceToGatewayResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BindDeviceToGatewayResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BindDeviceToGatewayResponse proto.InternalMessageInfo + +// Request for `UnbindDeviceFromGateway`. +type UnbindDeviceFromGatewayRequest struct { + // The name of the registry. For example, + // `projects/example-project/locations/us-central1/registries/my-registry`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The value of `gateway_id` can be either the device numeric ID or the + // user-defined device identifier. + GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` + // The device to disassociate from the specified gateway. The value of + // `device_id` can be either the device numeric ID or the user-defined device + // identifier. + DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnbindDeviceFromGatewayRequest) Reset() { *m = UnbindDeviceFromGatewayRequest{} } +func (m *UnbindDeviceFromGatewayRequest) String() string { return proto.CompactTextString(m) } +func (*UnbindDeviceFromGatewayRequest) ProtoMessage() {} +func (*UnbindDeviceFromGatewayRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{22} +} +func (m *UnbindDeviceFromGatewayRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnbindDeviceFromGatewayRequest.Unmarshal(m, b) +} +func (m *UnbindDeviceFromGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnbindDeviceFromGatewayRequest.Marshal(b, m, deterministic) +} +func (dst *UnbindDeviceFromGatewayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnbindDeviceFromGatewayRequest.Merge(dst, src) +} +func (m *UnbindDeviceFromGatewayRequest) XXX_Size() int { + return xxx_messageInfo_UnbindDeviceFromGatewayRequest.Size(m) +} +func (m *UnbindDeviceFromGatewayRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UnbindDeviceFromGatewayRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UnbindDeviceFromGatewayRequest proto.InternalMessageInfo + +func (m *UnbindDeviceFromGatewayRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *UnbindDeviceFromGatewayRequest) GetGatewayId() string { + if m != nil { + return m.GatewayId + } + return "" +} + +func (m *UnbindDeviceFromGatewayRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +// Response for `UnbindDeviceFromGateway`. +type UnbindDeviceFromGatewayResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnbindDeviceFromGatewayResponse) Reset() { *m = UnbindDeviceFromGatewayResponse{} } +func (m *UnbindDeviceFromGatewayResponse) String() string { return proto.CompactTextString(m) } +func (*UnbindDeviceFromGatewayResponse) ProtoMessage() {} +func (*UnbindDeviceFromGatewayResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_device_manager_6fbdb386d28d7403, []int{23} +} +func (m *UnbindDeviceFromGatewayResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnbindDeviceFromGatewayResponse.Unmarshal(m, b) +} +func (m *UnbindDeviceFromGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnbindDeviceFromGatewayResponse.Marshal(b, m, deterministic) +} +func (dst *UnbindDeviceFromGatewayResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnbindDeviceFromGatewayResponse.Merge(dst, src) +} +func (m *UnbindDeviceFromGatewayResponse) XXX_Size() int { + return xxx_messageInfo_UnbindDeviceFromGatewayResponse.Size(m) +} +func (m *UnbindDeviceFromGatewayResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UnbindDeviceFromGatewayResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UnbindDeviceFromGatewayResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*CreateDeviceRegistryRequest)(nil), "google.cloud.iot.v1.CreateDeviceRegistryRequest") proto.RegisterType((*GetDeviceRegistryRequest)(nil), "google.cloud.iot.v1.GetDeviceRegistryRequest") @@ -945,12 +1404,19 @@ func init() { proto.RegisterType((*UpdateDeviceRequest)(nil), "google.cloud.iot.v1.UpdateDeviceRequest") proto.RegisterType((*DeleteDeviceRequest)(nil), "google.cloud.iot.v1.DeleteDeviceRequest") proto.RegisterType((*ListDevicesRequest)(nil), "google.cloud.iot.v1.ListDevicesRequest") + proto.RegisterType((*GatewayListOptions)(nil), "google.cloud.iot.v1.GatewayListOptions") proto.RegisterType((*ListDevicesResponse)(nil), "google.cloud.iot.v1.ListDevicesResponse") proto.RegisterType((*ModifyCloudToDeviceConfigRequest)(nil), "google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest") proto.RegisterType((*ListDeviceConfigVersionsRequest)(nil), "google.cloud.iot.v1.ListDeviceConfigVersionsRequest") proto.RegisterType((*ListDeviceConfigVersionsResponse)(nil), "google.cloud.iot.v1.ListDeviceConfigVersionsResponse") proto.RegisterType((*ListDeviceStatesRequest)(nil), "google.cloud.iot.v1.ListDeviceStatesRequest") proto.RegisterType((*ListDeviceStatesResponse)(nil), "google.cloud.iot.v1.ListDeviceStatesResponse") + proto.RegisterType((*SendCommandToDeviceRequest)(nil), "google.cloud.iot.v1.SendCommandToDeviceRequest") + proto.RegisterType((*SendCommandToDeviceResponse)(nil), "google.cloud.iot.v1.SendCommandToDeviceResponse") + proto.RegisterType((*BindDeviceToGatewayRequest)(nil), "google.cloud.iot.v1.BindDeviceToGatewayRequest") + proto.RegisterType((*BindDeviceToGatewayResponse)(nil), "google.cloud.iot.v1.BindDeviceToGatewayResponse") + proto.RegisterType((*UnbindDeviceFromGatewayRequest)(nil), "google.cloud.iot.v1.UnbindDeviceFromGatewayRequest") + proto.RegisterType((*UnbindDeviceFromGatewayResponse)(nil), "google.cloud.iot.v1.UnbindDeviceFromGatewayResponse") } // Reference imports to suppress errors if they are not otherwise used. @@ -1006,6 +1472,24 @@ type DeviceManagerClient interface { // If the resource does not exist, this will return an empty set of // permissions, not a NOT_FOUND error. TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) + // Sends a command to the specified device. In order for a device to be able + // to receive commands, it must: + // 1) be connected to Cloud IoT Core using the MQTT protocol, and + // 2) be subscribed to the group of MQTT topics specified by + // /devices/{device-id}/commands/#. This subscription will receive commands + // at the top-level topic /devices/{device-id}/commands as well as commands + // for subfolders, like /devices/{device-id}/commands/subfolder. + // Note that subscribing to specific subfolders is not supported. + // If the command could not be delivered to the device, this method will + // return an error; in particular, if the device is not subscribed, this + // method will return FAILED_PRECONDITION. Otherwise, this method will + // return OK. If the subscription is QoS 1, at least once delivery will be + // guaranteed; for QoS 0, no acknowledgment will be expected from the device. + SendCommandToDevice(ctx context.Context, in *SendCommandToDeviceRequest, opts ...grpc.CallOption) (*SendCommandToDeviceResponse, error) + // Associates the device with the gateway. + BindDeviceToGateway(ctx context.Context, in *BindDeviceToGatewayRequest, opts ...grpc.CallOption) (*BindDeviceToGatewayResponse, error) + // Deletes the association between the device and the gateway. + UnbindDeviceFromGateway(ctx context.Context, in *UnbindDeviceFromGatewayRequest, opts ...grpc.CallOption) (*UnbindDeviceFromGatewayResponse, error) } type deviceManagerClient struct { @@ -1160,6 +1644,33 @@ func (c *deviceManagerClient) TestIamPermissions(ctx context.Context, in *v1.Tes return out, nil } +func (c *deviceManagerClient) SendCommandToDevice(ctx context.Context, in *SendCommandToDeviceRequest, opts ...grpc.CallOption) (*SendCommandToDeviceResponse, error) { + out := new(SendCommandToDeviceResponse) + err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/SendCommandToDevice", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceManagerClient) BindDeviceToGateway(ctx context.Context, in *BindDeviceToGatewayRequest, opts ...grpc.CallOption) (*BindDeviceToGatewayResponse, error) { + out := new(BindDeviceToGatewayResponse) + err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/BindDeviceToGateway", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceManagerClient) UnbindDeviceFromGateway(ctx context.Context, in *UnbindDeviceFromGatewayRequest, opts ...grpc.CallOption) (*UnbindDeviceFromGatewayResponse, error) { + out := new(UnbindDeviceFromGatewayResponse) + err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UnbindDeviceFromGateway", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DeviceManagerServer is the server API for DeviceManager service. type DeviceManagerServer interface { // Creates a device registry that contains devices. @@ -1203,6 +1714,24 @@ type DeviceManagerServer interface { // If the resource does not exist, this will return an empty set of // permissions, not a NOT_FOUND error. TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) + // Sends a command to the specified device. In order for a device to be able + // to receive commands, it must: + // 1) be connected to Cloud IoT Core using the MQTT protocol, and + // 2) be subscribed to the group of MQTT topics specified by + // /devices/{device-id}/commands/#. This subscription will receive commands + // at the top-level topic /devices/{device-id}/commands as well as commands + // for subfolders, like /devices/{device-id}/commands/subfolder. + // Note that subscribing to specific subfolders is not supported. + // If the command could not be delivered to the device, this method will + // return an error; in particular, if the device is not subscribed, this + // method will return FAILED_PRECONDITION. Otherwise, this method will + // return OK. If the subscription is QoS 1, at least once delivery will be + // guaranteed; for QoS 0, no acknowledgment will be expected from the device. + SendCommandToDevice(context.Context, *SendCommandToDeviceRequest) (*SendCommandToDeviceResponse, error) + // Associates the device with the gateway. + BindDeviceToGateway(context.Context, *BindDeviceToGatewayRequest) (*BindDeviceToGatewayResponse, error) + // Deletes the association between the device and the gateway. + UnbindDeviceFromGateway(context.Context, *UnbindDeviceFromGatewayRequest) (*UnbindDeviceFromGatewayResponse, error) } func RegisterDeviceManagerServer(s *grpc.Server, srv DeviceManagerServer) { @@ -1497,6 +2026,60 @@ func _DeviceManager_TestIamPermissions_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _DeviceManager_SendCommandToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SendCommandToDeviceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceManagerServer).SendCommandToDevice(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.iot.v1.DeviceManager/SendCommandToDevice", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceManagerServer).SendCommandToDevice(ctx, req.(*SendCommandToDeviceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceManager_BindDeviceToGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BindDeviceToGatewayRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceManagerServer).BindDeviceToGateway(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.iot.v1.DeviceManager/BindDeviceToGateway", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceManagerServer).BindDeviceToGateway(ctx, req.(*BindDeviceToGatewayRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceManager_UnbindDeviceFromGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UnbindDeviceFromGatewayRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceManagerServer).UnbindDeviceFromGateway(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.iot.v1.DeviceManager/UnbindDeviceFromGateway", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceManagerServer).UnbindDeviceFromGateway(ctx, req.(*UnbindDeviceFromGatewayRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _DeviceManager_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.iot.v1.DeviceManager", HandlerType: (*DeviceManagerServer)(nil), @@ -1565,105 +2148,140 @@ var _DeviceManager_serviceDesc = grpc.ServiceDesc{ MethodName: "TestIamPermissions", Handler: _DeviceManager_TestIamPermissions_Handler, }, + { + MethodName: "SendCommandToDevice", + Handler: _DeviceManager_SendCommandToDevice_Handler, + }, + { + MethodName: "BindDeviceToGateway", + Handler: _DeviceManager_BindDeviceToGateway_Handler, + }, + { + MethodName: "UnbindDeviceFromGateway", + Handler: _DeviceManager_UnbindDeviceFromGateway_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/iot/v1/device_manager.proto", } func init() { - proto.RegisterFile("google/cloud/iot/v1/device_manager.proto", fileDescriptor_device_manager_c83d83bf4e59b202) -} - -var fileDescriptor_device_manager_c83d83bf4e59b202 = []byte{ - // 1432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x45, - 0x14, 0xd7, 0xd8, 0xa5, 0x90, 0x17, 0x97, 0xb6, 0x93, 0xd0, 0x1a, 0xbb, 0xa5, 0xee, 0x96, 0x0f, - 0xd7, 0xa2, 0xde, 0x26, 0xfd, 0x50, 0x49, 0x05, 0x55, 0x9b, 0x96, 0xa4, 0xa8, 0xa9, 0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0x76, 0x5a, 0x0d, 0x9b, 0xf0, 0xdb, 0x5a, 0xe3, 0x58, 0x58, 0x43, - 0x58, 0x36, 0xe5, 0x82, 0xd8, 0x5d, 0xa5, 0x60, 0x3c, 0x40, 0x50, 0x9c, 0x77, 0x29, 0x11, 0xf4, - 0xaa, 0xa4, 0xac, 0x46, 0xdb, 0x16, 0x17, 0xee, 0x66, 0x8d, 0xde, 0xe9, 0x51, 0x2e, 0xf0, 0x21, - 0xd8, 0xdb, 0x25, 0x2e, 0x75, 0x44, 0x1e, 0x95, 0x50, 0x79, 0xa2, 0xa6, 0x9f, 0xf0, 0x0d, 0xd8, - 0xaf, 0x39, 0x76, 0xb5, 0x45, 0x3e, 0x53, 0x42, 0xe5, 0xc9, 0xd9, 0x13, 0xd5, 0x08, 0x96, 0xab, - 0x21, 0xe7, 0x4f, 0xb7, 0x02, 0xcf, 0x46, 0x15, 0xf2, 0x0b, 0x54, 0x44, 0x23, 0xc0, 0xb0, 0xc7, - 0x21, 0x36, 0xd5, 0xf1, 0xe5, 0x6f, 0x63, 0x06, 0x8a, 0x57, 0x69, 0x87, 0xc6, 0x81, 0x8e, 0x32, - 0xf9, 0x16, 0x41, 0xf1, 0xad, 0x6e, 0x2b, 0x36, 0xd1, 0x88, 0x84, 0xd0, 0xd8, 0x09, 0xe1, 0x8b, - 0x30, 0xd9, 0x93, 0xc1, 0x64, 0x31, 0x34, 0x35, 0x05, 0xdf, 0x93, 0x5f, 0x8d, 0xea, 0xeb, 0x5e, - 0xbd, 0x96, 0x08, 0xbf, 0x5d, 0x03, 0xa5, 0xee, 0xfd, 0x36, 0xee, 0x40, 0xf1, 0x86, 0xc5, 0x83, - 0x74, 0x58, 0x94, 0x0f, 0x2b, 0x49, 0x11, 0x26, 0xba, 0xa4, 0x4d, 0x1b, 0xdc, 0xba, 0x47, 0x65, - 0xc4, 0x27, 0x6a, 0x4f, 0x79, 0x07, 0x2b, 0xd6, 0x3d, 0x8a, 0x8f, 0x02, 0x48, 0x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 0x79, 0x48, 0x5d, 0xdb, 0xe2, - 0xaa, 0xe3, 0xcb, 0xa1, 0x54, 0x76, 0xaa, 0xf8, 0x49, 0x9f, 0x4c, 0xa1, 0xa9, 0x9b, 0xfa, 0x1b, - 0x45, 0xc4, 0x23, 0x64, 0x5c, 0x1b, 0x83, 0x08, 0xb1, 0xc3, 0xb1, 0x47, 0xc7, 0x8a, 0x71, 0x73, - 0x37, 0x74, 0x44, 0x3a, 0xbd, 0x72, 0x0b, 0x0e, 0x37, 0x99, 0x1d, 0x35, 0xb1, 0x57, 0x70, 0xe0, - 0xdf, 0xe2, 0xb2, 0x77, 0xf1, 0x2f, 0xa3, 0xfa, 0x79, 0xad, 0xda, 0x66, 0x1d, 0xe2, 0xb4, 0xab, - 0xcc, 0x6d, 0x9b, 0x6d, 0xea, 0xc8, 0xb5, 0xc0, 0x54, 0x22, 0xd2, 0xb5, 0x78, 0xe0, 0x23, 0xf6, - 0x45, 0x8b, 0x89, 0x7f, 0x10, 0x5a, 0xdb, 0x2b, 0xb5, 0xce, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, - 0x97, 0x0f, 0xf8, 0xc8, 0x46, 0x17, 0x00, 0x00, + proto.RegisterFile("google/cloud/iot/v1/device_manager.proto", fileDescriptor_device_manager_6fbdb386d28d7403) +} + +var fileDescriptor_device_manager_6fbdb386d28d7403 = []byte{ + // 1801 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4f, 0x6f, 0x1c, 0x49, + 0x15, 0x4f, 0x8d, 0x83, 0xc9, 0x3c, 0x4f, 0x36, 0x49, 0xd9, 0x1b, 0x0f, 0x33, 0xf1, 0x7a, 0x52, + 0x0b, 0xac, 0x77, 0xc4, 0x4e, 0xc7, 0xce, 0x26, 0x0a, 0x5e, 0xc1, 0xb2, 0xfe, 0xb3, 0x9e, 0x20, + 0x7b, 0xf1, 0xb6, 0x9d, 0x05, 0xcc, 0x61, 0x68, 0x4f, 0x97, 0x5b, 0xbd, 0x99, 0xee, 0xea, 0xed, + 0xaa, 0x31, 0x38, 0x28, 0x42, 0x22, 0x02, 0x4e, 0x5c, 0x12, 0x0e, 0x11, 0x12, 0xca, 0x05, 0x10, + 0x07, 0xfe, 0x1c, 0x82, 0x10, 0xdc, 0x90, 0x90, 0xf8, 0x02, 0x1c, 0xf2, 0x05, 0x00, 0xf1, 0x11, + 0x38, 0x70, 0x40, 0xdd, 0x55, 0x3d, 0x9e, 0xee, 0xe9, 0xee, 0xf9, 0x63, 0x94, 0xdb, 0x74, 0xd5, + 0xab, 0xf7, 0x7e, 0xef, 0x57, 0xef, 0x57, 0xfd, 0xaa, 0x07, 0x96, 0x2c, 0xc6, 0xac, 0x0e, 0xd5, + 0xda, 0x1d, 0xd6, 0x35, 0x35, 0x9b, 0x09, 0xed, 0x78, 0x59, 0x33, 0xe9, 0xb1, 0xdd, 0xa6, 0x2d, + 0xc7, 0x70, 0x0d, 0x8b, 0xfa, 0x0d, 0xcf, 0x67, 0x82, 0xe1, 0x59, 0x69, 0xd9, 0x08, 0x2d, 0x1b, + 0x36, 0x13, 0x8d, 0xe3, 0xe5, 0xca, 0x35, 0xb5, 0xdc, 0xf0, 0x6c, 0xcd, 0x70, 0x5d, 0x26, 0x0c, + 0x61, 0x33, 0x97, 0xcb, 0x25, 0x95, 0xd7, 0xd3, 0x9c, 0xfb, 0x94, 0xb3, 0xae, 0xdf, 0xa6, 0x91, + 0xd1, 0x6b, 0xca, 0xc8, 0x36, 0x9c, 0x60, 0xda, 0x36, 0x9c, 0x96, 0xc7, 0x3a, 0x76, 0xfb, 0x44, + 0xcd, 0x57, 0xe2, 0xf3, 0xb1, 0xb9, 0x68, 0x6d, 0xf8, 0x74, 0xd8, 0x3d, 0xd2, 0xcc, 0xae, 0x1f, + 0x22, 0x50, 0xf3, 0xd5, 0xe4, 0x3c, 0x75, 0x3c, 0x11, 0x2d, 0xae, 0x25,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x9e, 0x7c, 0xeb, 0x70, 0xe5, 0x98, 0xfa, + 0xdc, 0x66, 0x6e, 0x4b, 0xb0, 0x96, 0x94, 0x44, 0x18, 0x62, 0x4a, 0xbf, 0xa4, 0x26, 0xf6, 0x99, + 0x14, 0x29, 0x5e, 0x84, 0x99, 0x43, 0xdb, 0x35, 0xfc, 0x93, 0x96, 0x69, 0x08, 0x23, 0x64, 0xa4, + 0xa4, 0x83, 0x1c, 0xda, 0x30, 0x84, 0x41, 0xbe, 0x01, 0x8b, 0xa7, 0xb9, 0xcb, 0xd8, 0x1f, 0x49, + 0x1f, 0x3c, 0x0f, 0xc3, 0x75, 0x28, 0x05, 0xe2, 0x50, 0xe1, 0xb8, 0x3a, 0xa8, 0x67, 0xdc, 0xae, + 0x13, 0xad, 0x26, 0x1d, 0xa8, 0x65, 0x7b, 0x56, 0x14, 0x37, 0x7b, 0x52, 0x6b, 0x87, 0x06, 0x11, + 0xd3, 0xd7, 0x73, 0x98, 0x56, 0x04, 0x5d, 0x34, 0xfb, 0x9e, 0x38, 0xd9, 0x86, 0xf9, 0xd3, 0x68, + 0x7b, 0xc2, 0x10, 0x34, 0x17, 0xff, 0x02, 0x40, 0x80, 0x9f, 0x87, 0x86, 0x0a, 0x7d, 0xd1, 0xed, + 0x3a, 0x72, 0x25, 0x31, 0xa0, 0x3c, 0xe8, 0x4d, 0x61, 0xde, 0x04, 0x15, 0x3a, 0x5a, 0x2d, 0x21, + 0xd7, 0x72, 0x20, 0x87, 0x1e, 0xa2, 0xf3, 0x43, 0x85, 0x60, 0x50, 0xd9, 0xa3, 0xae, 0xb9, 0xce, + 0x1c, 0xc7, 0x70, 0x7b, 0xbb, 0x9f, 0x87, 0x39, 0xb1, 0x97, 0x85, 0xe4, 0x5e, 0xe2, 0x6b, 0x50, + 0xe4, 0xdd, 0xc3, 0x23, 0xd6, 0x31, 0xa9, 0x1f, 0xbd, 0x1c, 0x7b, 0x03, 0x64, 0x01, 0xaa, 0xa9, + 0x01, 0x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x9f, 0xf8, 0x79, 0x01, 0xe6, 0x33, 0xbe, 0x2a, + 0xe0, 0x9b, 0xe9, 0x9d, 0x73, 0xee, 0x97, 0x8f, 0xca, 0xdb, 0xe3, 0x2d, 0x52, 0x6c, 0xfd, 0x46, + 0xb2, 0xf5, 0x4b, 0xa4, 0x8e, 0x91, 0x71, 0xd8, 0xea, 0xa6, 0xfb, 0x0e, 0x18, 0xfb, 0x88, 0x7c, + 0x38, 0x39, 0x63, 0xd9, 0x7e, 0xd7, 0x3e, 0x86, 0xf9, 0x36, 0x73, 0xd2, 0x32, 0x5d, 0xc3, 0xb1, + 0xef, 0x2f, 0xbb, 0x41, 0x2b, 0xbd, 0x8b, 0x0e, 0x6e, 0x2b, 0x53, 0x8b, 0x75, 0x0c, 0xd7, 0x6a, + 0x30, 0xdf, 0xd2, 0x2c, 0xea, 0x86, 0x8d, 0xb6, 0x26, 0xa7, 0x0c, 0xcf, 0xe6, 0xb1, 0xbf, 0x47, + 0xdf, 0xb1, 0x99, 0xf8, 0x0f, 0x42, 0x87, 0xd3, 0xa1, 0xd5, 0xcd, 0xff, 0x05, 0x00, 0x00, 0xff, + 0xff, 0x7f, 0x49, 0x56, 0x46, 0xa0, 0x1d, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/resources.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/resources.pb.go index ee440bb85..47b64f12e 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/resources.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/resources.pb.go @@ -49,7 +49,7 @@ func (x MqttState) String() string { return proto.EnumName(MqttState_name, int32(x)) } func (MqttState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{0} + return fileDescriptor_resources_5c011e98d90e53cb, []int{0} } // Indicates whether DeviceService (HTTP) is enabled or disabled for the @@ -81,7 +81,121 @@ func (x HttpState) String() string { return proto.EnumName(HttpState_name, int32(x)) } func (HttpState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{1} + return fileDescriptor_resources_5c011e98d90e53cb, []int{1} +} + +// **Beta Feature** +// +// The logging verbosity for device activity. Specifies which events should be +// written to logs. For example, if the LogLevel is ERROR, only events that +// terminate in errors will be logged. LogLevel is inclusive; enabling INFO +// logging will also enable ERROR logging. +type LogLevel int32 + +const ( + // No logging specified. If not specified, logging will be disabled. + LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0 + // Disables logging. + LogLevel_NONE LogLevel = 10 + // Error events will be logged. + LogLevel_ERROR LogLevel = 20 + // Informational events will be logged, such as connections and + // disconnections. + LogLevel_INFO LogLevel = 30 + // All events will be logged. + LogLevel_DEBUG LogLevel = 40 +) + +var LogLevel_name = map[int32]string{ + 0: "LOG_LEVEL_UNSPECIFIED", + 10: "NONE", + 20: "ERROR", + 30: "INFO", + 40: "DEBUG", +} +var LogLevel_value = map[string]int32{ + "LOG_LEVEL_UNSPECIFIED": 0, + "NONE": 10, + "ERROR": 20, + "INFO": 30, + "DEBUG": 40, +} + +func (x LogLevel) String() string { + return proto.EnumName(LogLevel_name, int32(x)) +} +func (LogLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_5c011e98d90e53cb, []int{2} +} + +// Gateway type. +type GatewayType int32 + +const ( + // If unspecified, the device is considered a non-gateway device. + GatewayType_GATEWAY_TYPE_UNSPECIFIED GatewayType = 0 + // The device is a gateway. + GatewayType_GATEWAY GatewayType = 1 + // The device is not a gateway. + GatewayType_NON_GATEWAY GatewayType = 2 +) + +var GatewayType_name = map[int32]string{ + 0: "GATEWAY_TYPE_UNSPECIFIED", + 1: "GATEWAY", + 2: "NON_GATEWAY", +} +var GatewayType_value = map[string]int32{ + "GATEWAY_TYPE_UNSPECIFIED": 0, + "GATEWAY": 1, + "NON_GATEWAY": 2, +} + +func (x GatewayType) String() string { + return proto.EnumName(GatewayType_name, int32(x)) +} +func (GatewayType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_5c011e98d90e53cb, []int{3} +} + +// The gateway authorization/authentication method. This setting determines how +// Cloud IoT Core authorizes/authenticate devices to access the gateway. +type GatewayAuthMethod int32 + +const ( + // No authentication/authorization method specified. No devices are allowed to + // access the gateway. + GatewayAuthMethod_GATEWAY_AUTH_METHOD_UNSPECIFIED GatewayAuthMethod = 0 + // The device is authenticated through the gateway association only. Device + // credentials are ignored even if provided. + GatewayAuthMethod_ASSOCIATION_ONLY GatewayAuthMethod = 1 + // The device is authenticated through its own credentials. Gateway + // association is not checked. + GatewayAuthMethod_DEVICE_AUTH_TOKEN_ONLY GatewayAuthMethod = 2 + // The device is authenticated through both device credentials and gateway + // association. The device must be bound to the gateway and must provide its + // own credentials. + GatewayAuthMethod_ASSOCIATION_AND_DEVICE_AUTH_TOKEN GatewayAuthMethod = 3 +) + +var GatewayAuthMethod_name = map[int32]string{ + 0: "GATEWAY_AUTH_METHOD_UNSPECIFIED", + 1: "ASSOCIATION_ONLY", + 2: "DEVICE_AUTH_TOKEN_ONLY", + 3: "ASSOCIATION_AND_DEVICE_AUTH_TOKEN", +} +var GatewayAuthMethod_value = map[string]int32{ + "GATEWAY_AUTH_METHOD_UNSPECIFIED": 0, + "ASSOCIATION_ONLY": 1, + "DEVICE_AUTH_TOKEN_ONLY": 2, + "ASSOCIATION_AND_DEVICE_AUTH_TOKEN": 3, +} + +func (x GatewayAuthMethod) String() string { + return proto.EnumName(GatewayAuthMethod_name, int32(x)) +} +func (GatewayAuthMethod) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_5c011e98d90e53cb, []int{4} } // The supported formats for the public key. @@ -110,7 +224,7 @@ func (x PublicKeyCertificateFormat) String() string { return proto.EnumName(PublicKeyCertificateFormat_name, int32(x)) } func (PublicKeyCertificateFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{2} + return fileDescriptor_resources_5c011e98d90e53cb, []int{5} } // The supported formats for the public key. @@ -160,7 +274,7 @@ func (x PublicKeyFormat) String() string { return proto.EnumName(PublicKeyFormat_name, int32(x)) } func (PublicKeyFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{3} + return fileDescriptor_resources_5c011e98d90e53cb, []int{6} } // The device resource. @@ -228,6 +342,11 @@ type Device struct { // [Output only] The state most recently received from the device. If no state // has been reported, this field is not present. State *DeviceState `protobuf:"bytes,16,opt,name=state,proto3" json:"state,omitempty"` + // **Beta Feature** + // + // The logging verbosity for device activity. If unspecified, + // DeviceRegistry.log_level will be used. + LogLevel LogLevel `protobuf:"varint,21,opt,name=log_level,json=logLevel,proto3,enum=google.cloud.iot.v1.LogLevel" json:"log_level,omitempty"` // The metadata key-value pairs assigned to the device. This metadata is not // interpreted or indexed by Cloud IoT Core. It can be used to add contextual // information for the device. @@ -240,17 +359,19 @@ type Device struct { // // The total size of all keys and values must be less than 256 KB, and the // maximum number of key-value pairs is 500. - Metadata map[string]string `protobuf:"bytes,17,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata map[string]string `protobuf:"bytes,17,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Gateway-related configuration and state. + GatewayConfig *GatewayConfig `protobuf:"bytes,24,opt,name=gateway_config,json=gatewayConfig,proto3" json:"gateway_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Device) Reset() { *m = Device{} } func (m *Device) String() string { return proto.CompactTextString(m) } func (*Device) ProtoMessage() {} func (*Device) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{0} + return fileDescriptor_resources_5c011e98d90e53cb, []int{0} } func (m *Device) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device.Unmarshal(m, b) @@ -368,6 +489,13 @@ func (m *Device) GetState() *DeviceState { return nil } +func (m *Device) GetLogLevel() LogLevel { + if m != nil { + return m.LogLevel + } + return LogLevel_LOG_LEVEL_UNSPECIFIED +} + func (m *Device) GetMetadata() map[string]string { if m != nil { return m.Metadata @@ -375,6 +503,82 @@ func (m *Device) GetMetadata() map[string]string { return nil } +func (m *Device) GetGatewayConfig() *GatewayConfig { + if m != nil { + return m.GatewayConfig + } + return nil +} + +// Gateway-related configuration and state. +type GatewayConfig struct { + // Indicates whether the device is a gateway. + GatewayType GatewayType `protobuf:"varint,1,opt,name=gateway_type,json=gatewayType,proto3,enum=google.cloud.iot.v1.GatewayType" json:"gateway_type,omitempty"` + // Indicates how to authorize and/or authenticate devices to access the + // gateway. + GatewayAuthMethod GatewayAuthMethod `protobuf:"varint,2,opt,name=gateway_auth_method,json=gatewayAuthMethod,proto3,enum=google.cloud.iot.v1.GatewayAuthMethod" json:"gateway_auth_method,omitempty"` + // [Output only] The ID of the gateway the device accessed most recently. + LastAccessedGatewayId string `protobuf:"bytes,3,opt,name=last_accessed_gateway_id,json=lastAccessedGatewayId,proto3" json:"last_accessed_gateway_id,omitempty"` + // [Output only] The most recent time at which the device accessed the gateway + // specified in `last_accessed_gateway`. + LastAccessedGatewayTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_accessed_gateway_time,json=lastAccessedGatewayTime,proto3" json:"last_accessed_gateway_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GatewayConfig) Reset() { *m = GatewayConfig{} } +func (m *GatewayConfig) String() string { return proto.CompactTextString(m) } +func (*GatewayConfig) ProtoMessage() {} +func (*GatewayConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_resources_5c011e98d90e53cb, []int{1} +} +func (m *GatewayConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GatewayConfig.Unmarshal(m, b) +} +func (m *GatewayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GatewayConfig.Marshal(b, m, deterministic) +} +func (dst *GatewayConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_GatewayConfig.Merge(dst, src) +} +func (m *GatewayConfig) XXX_Size() int { + return xxx_messageInfo_GatewayConfig.Size(m) +} +func (m *GatewayConfig) XXX_DiscardUnknown() { + xxx_messageInfo_GatewayConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_GatewayConfig proto.InternalMessageInfo + +func (m *GatewayConfig) GetGatewayType() GatewayType { + if m != nil { + return m.GatewayType + } + return GatewayType_GATEWAY_TYPE_UNSPECIFIED +} + +func (m *GatewayConfig) GetGatewayAuthMethod() GatewayAuthMethod { + if m != nil { + return m.GatewayAuthMethod + } + return GatewayAuthMethod_GATEWAY_AUTH_METHOD_UNSPECIFIED +} + +func (m *GatewayConfig) GetLastAccessedGatewayId() string { + if m != nil { + return m.LastAccessedGatewayId + } + return "" +} + +func (m *GatewayConfig) GetLastAccessedGatewayTime() *timestamp.Timestamp { + if m != nil { + return m.LastAccessedGatewayTime + } + return nil +} + // A container for a group of devices. type DeviceRegistry struct { // The identifier of this device registry. For example, `myRegistry`. @@ -403,6 +607,11 @@ type DeviceRegistry struct { MqttConfig *MqttConfig `protobuf:"bytes,4,opt,name=mqtt_config,json=mqttConfig,proto3" json:"mqtt_config,omitempty"` // The DeviceService (HTTP) configuration for this device registry. HttpConfig *HttpConfig `protobuf:"bytes,9,opt,name=http_config,json=httpConfig,proto3" json:"http_config,omitempty"` + // **Beta Feature** + // + // The default logging verbosity for activity from devices in this registry. + // The verbosity level can be overridden by Device.log_level. + LogLevel LogLevel `protobuf:"varint,11,opt,name=log_level,json=logLevel,proto3,enum=google.cloud.iot.v1.LogLevel" json:"log_level,omitempty"` // The credentials used to verify the device credentials. No more than 10 // credentials can be bound to a single registry at a time. The verification // process occurs at the time of device creation or update. If this field is @@ -424,7 +633,7 @@ func (m *DeviceRegistry) Reset() { *m = DeviceRegistry{} } func (m *DeviceRegistry) String() string { return proto.CompactTextString(m) } func (*DeviceRegistry) ProtoMessage() {} func (*DeviceRegistry) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{1} + return fileDescriptor_resources_5c011e98d90e53cb, []int{2} } func (m *DeviceRegistry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceRegistry.Unmarshal(m, b) @@ -486,6 +695,13 @@ func (m *DeviceRegistry) GetHttpConfig() *HttpConfig { return nil } +func (m *DeviceRegistry) GetLogLevel() LogLevel { + if m != nil { + return m.LogLevel + } + return LogLevel_LOG_LEVEL_UNSPECIFIED +} + func (m *DeviceRegistry) GetCredentials() []*RegistryCredential { if m != nil { return m.Credentials @@ -507,7 +723,7 @@ func (m *MqttConfig) Reset() { *m = MqttConfig{} } func (m *MqttConfig) String() string { return proto.CompactTextString(m) } func (*MqttConfig) ProtoMessage() {} func (*MqttConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{2} + return fileDescriptor_resources_5c011e98d90e53cb, []int{3} } func (m *MqttConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MqttConfig.Unmarshal(m, b) @@ -548,7 +764,7 @@ func (m *HttpConfig) Reset() { *m = HttpConfig{} } func (m *HttpConfig) String() string { return proto.CompactTextString(m) } func (*HttpConfig) ProtoMessage() {} func (*HttpConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{3} + return fileDescriptor_resources_5c011e98d90e53cb, []int{4} } func (m *HttpConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpConfig.Unmarshal(m, b) @@ -594,7 +810,7 @@ func (m *EventNotificationConfig) Reset() { *m = EventNotificationConfig func (m *EventNotificationConfig) String() string { return proto.CompactTextString(m) } func (*EventNotificationConfig) ProtoMessage() {} func (*EventNotificationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{4} + return fileDescriptor_resources_5c011e98d90e53cb, []int{5} } func (m *EventNotificationConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EventNotificationConfig.Unmarshal(m, b) @@ -642,7 +858,7 @@ func (m *StateNotificationConfig) Reset() { *m = StateNotificationConfig func (m *StateNotificationConfig) String() string { return proto.CompactTextString(m) } func (*StateNotificationConfig) ProtoMessage() {} func (*StateNotificationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{5} + return fileDescriptor_resources_5c011e98d90e53cb, []int{6} } func (m *StateNotificationConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StateNotificationConfig.Unmarshal(m, b) @@ -685,7 +901,7 @@ func (m *RegistryCredential) Reset() { *m = RegistryCredential{} } func (m *RegistryCredential) String() string { return proto.CompactTextString(m) } func (*RegistryCredential) ProtoMessage() {} func (*RegistryCredential) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{6} + return fileDescriptor_resources_5c011e98d90e53cb, []int{7} } func (m *RegistryCredential) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RegistryCredential.Unmarshal(m, b) @@ -807,7 +1023,7 @@ func (m *X509CertificateDetails) Reset() { *m = X509CertificateDetails{} func (m *X509CertificateDetails) String() string { return proto.CompactTextString(m) } func (*X509CertificateDetails) ProtoMessage() {} func (*X509CertificateDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{7} + return fileDescriptor_resources_5c011e98d90e53cb, []int{8} } func (m *X509CertificateDetails) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_X509CertificateDetails.Unmarshal(m, b) @@ -886,7 +1102,7 @@ func (m *PublicKeyCertificate) Reset() { *m = PublicKeyCertificate{} } func (m *PublicKeyCertificate) String() string { return proto.CompactTextString(m) } func (*PublicKeyCertificate) ProtoMessage() {} func (*PublicKeyCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{8} + return fileDescriptor_resources_5c011e98d90e53cb, []int{9} } func (m *PublicKeyCertificate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublicKeyCertificate.Unmarshal(m, b) @@ -947,7 +1163,7 @@ func (m *DeviceCredential) Reset() { *m = DeviceCredential{} } func (m *DeviceCredential) String() string { return proto.CompactTextString(m) } func (*DeviceCredential) ProtoMessage() {} func (*DeviceCredential) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{9} + return fileDescriptor_resources_5c011e98d90e53cb, []int{10} } func (m *DeviceCredential) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceCredential.Unmarshal(m, b) @@ -1068,7 +1284,7 @@ func (m *PublicKeyCredential) Reset() { *m = PublicKeyCredential{} } func (m *PublicKeyCredential) String() string { return proto.CompactTextString(m) } func (*PublicKeyCredential) ProtoMessage() {} func (*PublicKeyCredential) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{10} + return fileDescriptor_resources_5c011e98d90e53cb, []int{11} } func (m *PublicKeyCredential) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublicKeyCredential.Unmarshal(m, b) @@ -1133,7 +1349,7 @@ func (m *DeviceConfig) Reset() { *m = DeviceConfig{} } func (m *DeviceConfig) String() string { return proto.CompactTextString(m) } func (*DeviceConfig) ProtoMessage() {} func (*DeviceConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{11} + return fileDescriptor_resources_5c011e98d90e53cb, []int{12} } func (m *DeviceConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceConfig.Unmarshal(m, b) @@ -1197,7 +1413,7 @@ func (m *DeviceState) Reset() { *m = DeviceState{} } func (m *DeviceState) String() string { return proto.CompactTextString(m) } func (*DeviceState) ProtoMessage() {} func (*DeviceState) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_0e9f09e9c0e62f99, []int{12} + return fileDescriptor_resources_5c011e98d90e53cb, []int{13} } func (m *DeviceState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceState.Unmarshal(m, b) @@ -1234,6 +1450,7 @@ func (m *DeviceState) GetBinaryData() []byte { func init() { proto.RegisterType((*Device)(nil), "google.cloud.iot.v1.Device") proto.RegisterMapType((map[string]string)(nil), "google.cloud.iot.v1.Device.MetadataEntry") + proto.RegisterType((*GatewayConfig)(nil), "google.cloud.iot.v1.GatewayConfig") proto.RegisterType((*DeviceRegistry)(nil), "google.cloud.iot.v1.DeviceRegistry") proto.RegisterType((*MqttConfig)(nil), "google.cloud.iot.v1.MqttConfig") proto.RegisterType((*HttpConfig)(nil), "google.cloud.iot.v1.HttpConfig") @@ -1248,99 +1465,122 @@ func init() { proto.RegisterType((*DeviceState)(nil), "google.cloud.iot.v1.DeviceState") proto.RegisterEnum("google.cloud.iot.v1.MqttState", MqttState_name, MqttState_value) proto.RegisterEnum("google.cloud.iot.v1.HttpState", HttpState_name, HttpState_value) + proto.RegisterEnum("google.cloud.iot.v1.LogLevel", LogLevel_name, LogLevel_value) + proto.RegisterEnum("google.cloud.iot.v1.GatewayType", GatewayType_name, GatewayType_value) + proto.RegisterEnum("google.cloud.iot.v1.GatewayAuthMethod", GatewayAuthMethod_name, GatewayAuthMethod_value) proto.RegisterEnum("google.cloud.iot.v1.PublicKeyCertificateFormat", PublicKeyCertificateFormat_name, PublicKeyCertificateFormat_value) proto.RegisterEnum("google.cloud.iot.v1.PublicKeyFormat", PublicKeyFormat_name, PublicKeyFormat_value) } func init() { - proto.RegisterFile("google/cloud/iot/v1/resources.proto", fileDescriptor_resources_0e9f09e9c0e62f99) -} - -var fileDescriptor_resources_0e9f09e9c0e62f99 = []byte{ - // 1348 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xdd, 0x52, 0xdb, 0xc6, - 0x17, 0x47, 0x06, 0x0c, 0x1c, 0x03, 0xb6, 0x17, 0x02, 0xfa, 0x7b, 0xfe, 0x6d, 0x1c, 0xf7, 0x8b, - 0x24, 0xad, 0x9d, 0xd0, 0x49, 0xa6, 0x34, 0x9d, 0x4e, 0xc1, 0x88, 0xe0, 0x06, 0x53, 0x57, 0x76, - 0x66, 0xda, 0xdc, 0x68, 0xd6, 0xd2, 0x62, 0x14, 0x6c, 0x49, 0x91, 0x56, 0x9e, 0xf8, 0x01, 0xfa, - 0x00, 0xbd, 0xee, 0x4b, 0xf4, 0x55, 0x7a, 0xd1, 0x8b, 0xbe, 0x49, 0x2f, 0x3b, 0x7b, 0x56, 0x92, - 0x3f, 0x2a, 0x63, 0x7a, 0xa7, 0x3d, 0xe7, 0xfc, 0x7e, 0x67, 0xcf, 0xd7, 0xee, 0x0a, 0x3e, 0xea, - 0xb9, 0x6e, 0xaf, 0xcf, 0x6a, 0x66, 0xdf, 0x0d, 0xad, 0x9a, 0xed, 0xf2, 0xda, 0xf0, 0x69, 0xcd, - 0x67, 0x81, 0x1b, 0xfa, 0x26, 0x0b, 0xaa, 0x9e, 0xef, 0x72, 0x97, 0xec, 0x48, 0xa3, 0x2a, 0x1a, - 0x55, 0x6d, 0x97, 0x57, 0x87, 0x4f, 0x4b, 0xff, 0x8f, 0x90, 0xd4, 0xb3, 0x6b, 0xd4, 0x71, 0x5c, - 0x4e, 0xb9, 0xed, 0x3a, 0x11, 0xa4, 0x74, 0x3f, 0xd2, 0xe2, 0xaa, 0x1b, 0x5e, 0xd5, 0xb8, 0x3d, - 0x60, 0x01, 0xa7, 0x03, 0x2f, 0x32, 0xd8, 0x8f, 0x0c, 0x7c, 0xcf, 0xac, 0x05, 0x9c, 0xf2, 0x30, - 0x42, 0x56, 0x7e, 0x5d, 0x83, 0xec, 0x29, 0x1b, 0xda, 0x26, 0x23, 0xdb, 0x90, 0xb1, 0x2d, 0x55, - 0x29, 0x2b, 0x07, 0x1b, 0x7a, 0xc6, 0xb6, 0x08, 0x81, 0x15, 0x87, 0x0e, 0x98, 0x9a, 0x41, 0x09, - 0x7e, 0x93, 0x7b, 0x90, 0x75, 0xc2, 0x81, 0x61, 0x5b, 0xea, 0x72, 0x59, 0x39, 0x58, 0xd1, 0x57, - 0x9d, 0x70, 0xd0, 0xb0, 0xc8, 0x4b, 0xc8, 0x99, 0x3e, 0xb3, 0x98, 0xc3, 0x6d, 0xda, 0x0f, 0xd4, - 0xcd, 0xf2, 0xf2, 0x41, 0xee, 0xf0, 0x93, 0x6a, 0x4a, 0x20, 0x55, 0xe9, 0xac, 0x9e, 0x58, 0xeb, - 0x93, 0x48, 0xf2, 0x3d, 0xec, 0xf4, 0x69, 0xc0, 0x8d, 0x6b, 0x46, 0x7d, 0xde, 0x65, 0x94, 0x1b, - 0x22, 0x12, 0x75, 0xad, 0xac, 0x1c, 0xe4, 0x0e, 0x4b, 0x31, 0x61, 0x1c, 0x66, 0xb5, 0x13, 0x87, - 0xa9, 0x17, 0x05, 0xec, 0x3c, 0x46, 0x09, 0x39, 0x39, 0x81, 0x3c, 0x72, 0xb1, 0x21, 0x73, 0x22, - 0x9e, 0xf5, 0x85, 0x3c, 0x5b, 0x02, 0xa2, 0x09, 0xc4, 0x14, 0x87, 0xc8, 0x19, 0x93, 0x1c, 0xbb, - 0x77, 0xe3, 0x68, 0x0b, 0x04, 0x72, 0xbc, 0x82, 0x5d, 0xe4, 0x30, 0x5d, 0xe7, 0xca, 0xee, 0x19, - 0xd4, 0xbc, 0x91, 0x44, 0xdb, 0x77, 0x0b, 0xaa, 0x8e, 0xb0, 0x63, 0xf3, 0x06, 0xc9, 0x9a, 0x70, - 0x6f, 0x92, 0x2c, 0x60, 0x8e, 0x25, 0xd9, 0xc8, 0x42, 0x36, 0x32, 0x66, 0x6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 0x2a, 0x4b, 0x57, 0x04, 0xe4, 0x1a, 0xfe, 0x27, 0x47, 0x22, 0xc5, 0x57, - 0x34, 0xad, 0xe9, 0xae, 0x30, 0xd9, 0x29, 0xae, 0xf6, 0x83, 0x74, 0x05, 0xf9, 0x0e, 0x72, 0x83, - 0x77, 0x3c, 0x6e, 0x78, 0x75, 0x05, 0xb9, 0xef, 0xa7, 0x72, 0x37, 0xdf, 0xf1, 0xa8, 0xbf, 0x75, - 0x18, 0x24, 0xdf, 0x82, 0xe1, 0x9a, 0x73, 0x2f, 0x66, 0xd8, 0xb8, 0x85, 0xe1, 0x9c, 0x73, 0x2f, - 0x66, 0xb8, 0x4e, 0xbe, 0x49, 0x63, 0xfa, 0x78, 0x5b, 0xc7, 0x54, 0x7e, 0x96, 0xca, 0x10, 0x57, - 0x6c, 0xce, 0x01, 0x57, 0x79, 0x03, 0x30, 0xde, 0x26, 0xb9, 0x00, 0x82, 0xc1, 0x31, 0x87, 0x76, - 0xfb, 0xcc, 0x92, 0xc7, 0x0c, 0x96, 0x79, 0xfb, 0xf0, 0xc3, 0xb9, 0x31, 0xca, 0x86, 0x2d, 0x08, - 0xa4, 0x26, 0x81, 0x28, 0x11, 0xdc, 0xe3, 0x00, 0x04, 0x37, 0x86, 0x7d, 0x77, 0x6e, 0x01, 0x8e, - 0xb8, 0x05, 0x72, 0x8a, 0xdb, 0x87, 0xfd, 0x39, 0x5d, 0x42, 0x1e, 0x43, 0x31, 0x08, 0xbb, 0x57, - 0x6e, 0xdf, 0x62, 0xbe, 0x31, 0xa0, 0xdc, 0xbc, 0x66, 0x41, 0xd4, 0x98, 0x85, 0x44, 0xd1, 0x94, - 0x72, 0xf2, 0x08, 0x8a, 0x5e, 0xd8, 0x0d, 0xc2, 0xae, 0xc1, 0x5d, 0xcf, 0x36, 0x0d, 0xec, 0x62, - 0xd9, 0xd7, 0x79, 0xa9, 0xe8, 0x08, 0xf9, 0x25, 0x1d, 0xb0, 0x8a, 0x06, 0xfb, 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xb9, 0x82, 0x7d, 0xd3, 0x1d, 0xa4, 0x0d, 0xc1, 0xc9, 0xb6, 0x1e, 0xff, 0xcf, 0xb5, 0x44, 0x7d, - 0x5b, 0xca, 0x9b, 0xe7, 0x91, 0x59, 0xcf, 0xed, 0x53, 0xa7, 0x57, 0x75, 0xfd, 0x5e, 0xad, 0xc7, - 0x1c, 0xac, 0x7e, 0x4d, 0xaa, 0xa8, 0x67, 0x07, 0x53, 0x3f, 0x85, 0x2f, 0x6c, 0x97, 0xff, 0xad, - 0x28, 0xdd, 0x2c, 0x5a, 0x7d, 0xf9, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xd7, 0xe3, 0xef, - 0x39, 0x0e, 0x00, 0x00, + proto.RegisterFile("google/cloud/iot/v1/resources.proto", fileDescriptor_resources_5c011e98d90e53cb) +} + +var fileDescriptor_resources_5c011e98d90e53cb = []byte{ + // 1672 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0xdd, 0x72, 0xdb, 0xc6, + 0x15, 0x36, 0xa8, 0x1f, 0x8b, 0x07, 0x22, 0x05, 0xae, 0x64, 0x09, 0xe1, 0x24, 0xb1, 0xcc, 0x34, + 0xa9, 0xa2, 0xb4, 0x64, 0xa2, 0x8e, 0xdd, 0x3a, 0xee, 0x74, 0x4a, 0x91, 0x90, 0xc4, 0x8a, 0x3f, + 0x2a, 0x08, 0x39, 0x75, 0x6e, 0x30, 0x4b, 0x60, 0x45, 0x22, 0x22, 0x01, 0x06, 0x58, 0xa8, 0xd1, + 0x03, 0xf4, 0x01, 0x7a, 0xd1, 0x99, 0xce, 0xf4, 0x25, 0xfa, 0x04, 0x7d, 0x87, 0x5e, 0xf4, 0x5d, + 0x7a, 0x99, 0xd9, 0x1f, 0xf0, 0xcf, 0xa0, 0x28, 0xdf, 0x61, 0xcf, 0x39, 0xdf, 0x77, 0x76, 0xcf, + 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x00, 0x72, 0x09, 0xe3, 0x9e, + 0x1e, 0x9e, 0x71, 0xf3, 0x90, 0x3d, 0x9e, 0x9b, 0x81, 0x25, 0x37, 0x43, 0xce, 0x71, 0x87, 0x70, + 0xb0, 0xa4, 0xc2, 0xd0, 0x57, 0x50, 0x88, 0xe2, 0xde, 0x4d, 0x30, 0x74, 0x49, 0x68, 0x8f, 0x30, + 0x75, 0x06, 0x24, 0x92, 0x45, 0xad, 0x4d, 0x14, 0x2d, 0x21, 0x47, 0xc7, 0x50, 0x18, 0xc7, 0xbd, + 0x28, 0xee, 0xd9, 0x34, 0x18, 0x7b, 0x8e, 0xcd, 0x3b, 0x40, 0xf4, 0xc4, 0x8e, 0x50, 0x58, 0x4c, + 0xde, 0xc6, 0x23, 0x52, 0x32, 0xe0, 0x60, 0x49, 0xa9, 0x7d, 0x10, 0xcd, 0xdf, 0x14, 0x40, 0xef, + 0xa7, 0x05, 0x61, 0xd8, 0x1f, 0xc7, 0xbd, 0xa1, 0xe7, 0xd8, 0xb7, 0xe4, 0xde, 0x76, 0x48, 0x28, + 0x9d, 0x08, 0x9e, 0x65, 0xf3, 0xfb, 0x8a, 0x43, 0x2e, 0xc9, 0x7d, 0x6d, 0x0a, 0xb8, 0x78, 0x62, + 0xee, 0x8d, 0x53, 0xe4, 0xa7, 0xdb, 0x00, 0xd3, 0xdc, 0x97, 0xfe, 0x95, 0x81, 0xfd, 0xbf, 0xbc, + 0xfc, 0xfa, 0xf5, 0x8c, 0x45, 0x9d, 0x50, 0xec, 0x0d, 0x23, 0xb4, 0x0f, 0x9b, 0x5e, 0x14, 0xc5, + 0x24, 0x94, 0x67, 0x90, 0x2b, 0x76, 0x45, 0x47, 0x71, 0xef, 0x07, 0xe2, 0x50, 0x19, 0xd0, 0x64, + 0x89, 0x5e, 0x03, 0x44, 0x14, 0x87, 0xf2, 0x6d, 0xb3, 0xb6, 0x72, 0x50, 0x65, 0xb9, 0x35, 0xbf, + 0x99, 0xdf, 0x80, 0x4a,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 0x53, 0x5e, 0x19, 0x2d, 0x4d, 0x39, 0xbe, 0x83, 0x9d, 0x85, 0x26, 0x45, 0x2f, 0xe0, 0x93, 0x25, + 0xdc, 0x13, 0x3e, 0x15, 0x9e, 0x9a, 0xdd, 0x2a, 0xa7, 0x58, 0x63, 0xe9, 0x67, 0x0b, 0xee, 0x80, + 0x93, 0xa2, 0x1c, 0x64, 0x8d, 0xee, 0xc9, 0xcb, 0x57, 0x7c, 0x99, 0x41, 0x08, 0xf2, 0x62, 0x39, + 0x31, 0x59, 0x3f, 0xbd, 0x81, 0x03, 0x27, 0x18, 0xa5, 0x0d, 0x8d, 0xd3, 0xbc, 0x99, 0xfc, 0x03, + 0xb9, 0x62, 0xfd, 0x70, 0xa5, 0x7c, 0xff, 0x4a, 0x9a, 0xf5, 0x83, 0x21, 0xf6, 0xfb, 0xe5, 0x20, + 0xec, 0x57, 0xfa, 0xc4, 0xe7, 0xdd, 0x52, 0x11, 0x2a, 0x3c, 0xf6, 0xa2, 0xb9, 0x1f, 0x29, 0x6f, + 0xbc, 0x80, 0xfe, 0x5f, 0x51, 0x7a, 0x9b, 0xdc, 0xea, 0x37, 0x3f, 0x07, 0x00, 0x00, 0xff, 0xff, + 0x19, 0x42, 0x91, 0x59, 0x6d, 0x11, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/resources.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/resources.pb.go index bc3483a1a..b304b2697 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/resources.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/resources.pb.go @@ -21,9 +21,39 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -// [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] describes the capabilities of a [CryptoKey][google.cloud.kms.v1.CryptoKey]. Two -// keys with the same purpose may use different underlying algorithms, but -// must support the same set of operations. +// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how cryptographic operations are performed. +type ProtectionLevel int32 + +const ( + // Not specified. + ProtectionLevel_PROTECTION_LEVEL_UNSPECIFIED ProtectionLevel = 0 + // Crypto operations are performed in software. + ProtectionLevel_SOFTWARE ProtectionLevel = 1 + // Crypto operations are performed in a Hardware Security Module. + ProtectionLevel_HSM ProtectionLevel = 2 +) + +var ProtectionLevel_name = map[int32]string{ + 0: "PROTECTION_LEVEL_UNSPECIFIED", + 1: "SOFTWARE", + 2: "HSM", +} +var ProtectionLevel_value = map[string]int32{ + "PROTECTION_LEVEL_UNSPECIFIED": 0, + "SOFTWARE": 1, + "HSM": 2, +} + +func (x ProtectionLevel) String() string { + return proto.EnumName(ProtectionLevel_name, int32(x)) +} +func (ProtectionLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{0} +} + +// [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] describes the cryptographic capabilities of a +// [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used for the operations allowed by +// its purpose. type CryptoKey_CryptoKeyPurpose int32 const ( @@ -33,22 +63,160 @@ const ( // [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and // [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. CryptoKey_ENCRYPT_DECRYPT CryptoKey_CryptoKeyPurpose = 1 + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with + // [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] and + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + CryptoKey_ASYMMETRIC_SIGN CryptoKey_CryptoKeyPurpose = 5 + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with + // [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] and + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + CryptoKey_ASYMMETRIC_DECRYPT CryptoKey_CryptoKeyPurpose = 6 ) var CryptoKey_CryptoKeyPurpose_name = map[int32]string{ 0: "CRYPTO_KEY_PURPOSE_UNSPECIFIED", 1: "ENCRYPT_DECRYPT", + 5: "ASYMMETRIC_SIGN", + 6: "ASYMMETRIC_DECRYPT", } var CryptoKey_CryptoKeyPurpose_value = map[string]int32{ "CRYPTO_KEY_PURPOSE_UNSPECIFIED": 0, "ENCRYPT_DECRYPT": 1, + "ASYMMETRIC_SIGN": 5, + "ASYMMETRIC_DECRYPT": 6, } func (x CryptoKey_CryptoKeyPurpose) String() string { return proto.EnumName(CryptoKey_CryptoKeyPurpose_name, int32(x)) } func (CryptoKey_CryptoKeyPurpose) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_3fd296b2ee28c3bd, []int{1, 0} + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{1, 0} +} + +// Attestion formats provided by the HSM. +type KeyOperationAttestation_AttestationFormat int32 + +const ( + KeyOperationAttestation_ATTESTATION_FORMAT_UNSPECIFIED KeyOperationAttestation_AttestationFormat = 0 + // Cavium HSM attestation compressed with gzip. Note that this format is + // defined by Cavium and subject to change at any time. + KeyOperationAttestation_CAVIUM_V1_COMPRESSED KeyOperationAttestation_AttestationFormat = 3 +) + +var KeyOperationAttestation_AttestationFormat_name = map[int32]string{ + 0: "ATTESTATION_FORMAT_UNSPECIFIED", + 3: "CAVIUM_V1_COMPRESSED", +} +var KeyOperationAttestation_AttestationFormat_value = map[string]int32{ + "ATTESTATION_FORMAT_UNSPECIFIED": 0, + "CAVIUM_V1_COMPRESSED": 3, +} + +func (x KeyOperationAttestation_AttestationFormat) String() string { + return proto.EnumName(KeyOperationAttestation_AttestationFormat_name, int32(x)) +} +func (KeyOperationAttestation_AttestationFormat) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{3, 0} +} + +// The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what +// parameters must be used for each cryptographic operation. +// +// The +// [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION] +// algorithm is usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] +// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. +// +// Algorithms beginning with "RSA_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] +// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. +// +// The fields in the name after "RSA_SIGN_" correspond to the following +// parameters: padding algorithm, modulus bit length, and digest algorithm. +// +// For PSS, the salt length used is equal to the length of digest +// algorithm. For example, +// [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256] +// will use PSS with a salt length of 256 bits or 32 bytes. +// +// Algorithms beginning with "RSA_DECRYPT_" are usable with +// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] +// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. +// +// The fields in the name after "RSA_DECRYPT_" correspond to the following +// parameters: padding algorithm, modulus bit length, and digest algorithm. +// +// Algorithms beginning with "EC_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] +// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. +// +// The fields in the name after "EC_SIGN_" correspond to the following +// parameters: elliptic curve, digest algorithm. +type CryptoKeyVersion_CryptoKeyVersionAlgorithm int32 + +const ( + // Not specified. + CryptoKeyVersion_CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED CryptoKeyVersion_CryptoKeyVersionAlgorithm = 0 + // Creates symmetric encryption keys. + CryptoKeyVersion_GOOGLE_SYMMETRIC_ENCRYPTION CryptoKeyVersion_CryptoKeyVersionAlgorithm = 1 + // RSASSA-PSS 2048 bit key with a SHA256 digest. + CryptoKeyVersion_RSA_SIGN_PSS_2048_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 2 + // RSASSA-PSS 3072 bit key with a SHA256 digest. + CryptoKeyVersion_RSA_SIGN_PSS_3072_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 3 + // RSASSA-PSS 4096 bit key with a SHA256 digest. + CryptoKeyVersion_RSA_SIGN_PSS_4096_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 4 + // RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. + CryptoKeyVersion_RSA_SIGN_PKCS1_2048_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 5 + // RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. + CryptoKeyVersion_RSA_SIGN_PKCS1_3072_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 6 + // RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. + CryptoKeyVersion_RSA_SIGN_PKCS1_4096_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 7 + // RSAES-OAEP 2048 bit key with a SHA256 digest. + CryptoKeyVersion_RSA_DECRYPT_OAEP_2048_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 8 + // RSAES-OAEP 3072 bit key with a SHA256 digest. + CryptoKeyVersion_RSA_DECRYPT_OAEP_3072_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 9 + // RSAES-OAEP 4096 bit key with a SHA256 digest. + CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 10 + // ECDSA on the NIST P-256 curve with a SHA256 digest. + CryptoKeyVersion_EC_SIGN_P256_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 12 + // ECDSA on the NIST P-384 curve with a SHA384 digest. + CryptoKeyVersion_EC_SIGN_P384_SHA384 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 13 +) + +var CryptoKeyVersion_CryptoKeyVersionAlgorithm_name = map[int32]string{ + 0: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED", + 1: "GOOGLE_SYMMETRIC_ENCRYPTION", + 2: "RSA_SIGN_PSS_2048_SHA256", + 3: "RSA_SIGN_PSS_3072_SHA256", + 4: "RSA_SIGN_PSS_4096_SHA256", + 5: "RSA_SIGN_PKCS1_2048_SHA256", + 6: "RSA_SIGN_PKCS1_3072_SHA256", + 7: "RSA_SIGN_PKCS1_4096_SHA256", + 8: "RSA_DECRYPT_OAEP_2048_SHA256", + 9: "RSA_DECRYPT_OAEP_3072_SHA256", + 10: "RSA_DECRYPT_OAEP_4096_SHA256", + 12: "EC_SIGN_P256_SHA256", + 13: "EC_SIGN_P384_SHA384", +} +var CryptoKeyVersion_CryptoKeyVersionAlgorithm_value = map[string]int32{ + "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED": 0, + "GOOGLE_SYMMETRIC_ENCRYPTION": 1, + "RSA_SIGN_PSS_2048_SHA256": 2, + "RSA_SIGN_PSS_3072_SHA256": 3, + "RSA_SIGN_PSS_4096_SHA256": 4, + "RSA_SIGN_PKCS1_2048_SHA256": 5, + "RSA_SIGN_PKCS1_3072_SHA256": 6, + "RSA_SIGN_PKCS1_4096_SHA256": 7, + "RSA_DECRYPT_OAEP_2048_SHA256": 8, + "RSA_DECRYPT_OAEP_3072_SHA256": 9, + "RSA_DECRYPT_OAEP_4096_SHA256": 10, + "EC_SIGN_P256_SHA256": 12, + "EC_SIGN_P384_SHA384": 13, +} + +func (x CryptoKeyVersion_CryptoKeyVersionAlgorithm) String() string { + return proto.EnumName(CryptoKeyVersion_CryptoKeyVersionAlgorithm_name, int32(x)) +} +func (CryptoKeyVersion_CryptoKeyVersionAlgorithm) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{4, 0} } // The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating if it can be used. @@ -57,8 +225,11 @@ type CryptoKeyVersion_CryptoKeyVersionState int32 const ( // Not specified. CryptoKeyVersion_CRYPTO_KEY_VERSION_STATE_UNSPECIFIED CryptoKeyVersion_CryptoKeyVersionState = 0 - // This version may be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and - // [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt] requests. + // This version is still being generated. It may not be used, enabled, + // disabled, or destroyed yet. Cloud KMS will automatically mark this + // version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready. + CryptoKeyVersion_PENDING_GENERATION CryptoKeyVersion_CryptoKeyVersionState = 5 + // This version may be used for cryptographic operations. CryptoKeyVersion_ENABLED CryptoKeyVersion_CryptoKeyVersionState = 1 // This version may not be used, but the key material is still available, // and the version can be placed back into the [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] state. @@ -75,6 +246,7 @@ const ( var CryptoKeyVersion_CryptoKeyVersionState_name = map[int32]string{ 0: "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", + 5: "PENDING_GENERATION", 1: "ENABLED", 2: "DISABLED", 3: "DESTROYED", @@ -82,17 +254,49 @@ var CryptoKeyVersion_CryptoKeyVersionState_name = map[int32]string{ } var CryptoKeyVersion_CryptoKeyVersionState_value = map[string]int32{ "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED": 0, - "ENABLED": 1, - "DISABLED": 2, - "DESTROYED": 3, - "DESTROY_SCHEDULED": 4, + "PENDING_GENERATION": 5, + "ENABLED": 1, + "DISABLED": 2, + "DESTROYED": 3, + "DESTROY_SCHEDULED": 4, } func (x CryptoKeyVersion_CryptoKeyVersionState) String() string { return proto.EnumName(CryptoKeyVersion_CryptoKeyVersionState_name, int32(x)) } func (CryptoKeyVersion_CryptoKeyVersionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_3fd296b2ee28c3bd, []int{2, 0} + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{4, 1} +} + +// A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. Controls the level of detail returned +// for [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in +// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] and +// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. +type CryptoKeyVersion_CryptoKeyVersionView int32 + +const ( + // Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include + // the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field. + CryptoKeyVersion_CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED CryptoKeyVersion_CryptoKeyVersionView = 0 + // Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the + // [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation]. + CryptoKeyVersion_FULL CryptoKeyVersion_CryptoKeyVersionView = 1 +) + +var CryptoKeyVersion_CryptoKeyVersionView_name = map[int32]string{ + 0: "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED", + 1: "FULL", +} +var CryptoKeyVersion_CryptoKeyVersionView_value = map[string]int32{ + "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED": 0, + "FULL": 1, +} + +func (x CryptoKeyVersion_CryptoKeyVersionView) String() string { + return proto.EnumName(CryptoKeyVersion_CryptoKeyVersionView_name, int32(x)) +} +func (CryptoKeyVersion_CryptoKeyVersionView) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{4, 2} } // A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of [CryptoKeys][google.cloud.kms.v1.CryptoKey]. @@ -111,7 +315,7 @@ func (m *KeyRing) Reset() { *m = KeyRing{} } func (m *KeyRing) String() string { return proto.CompactTextString(m) } func (*KeyRing) ProtoMessage() {} func (*KeyRing) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3fd296b2ee28c3bd, []int{0} + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{0} } func (m *KeyRing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KeyRing.Unmarshal(m, b) @@ -160,9 +364,12 @@ type CryptoKey struct { // // The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via // [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. + // + // All keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] have a + // primary. For other keys, this field will be omitted. Primary *CryptoKeyVersion `protobuf:"bytes,2,opt,name=primary,proto3" json:"primary,omitempty"` - // The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. Currently, the only acceptable - // purpose is [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + // The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. Purpose CryptoKey_CryptoKeyPurpose `protobuf:"varint,3,opt,name=purpose,proto3,enum=google.cloud.kms.v1.CryptoKey_CryptoKeyPurpose" json:"purpose,omitempty"` // Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` @@ -175,12 +382,21 @@ type CryptoKey struct { // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and // [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion] // do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]. + // + // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support + // automatic rotation. For other keys, this field must be omitted. NextRotationTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=next_rotation_time,json=nextRotationTime,proto3" json:"next_rotation_time,omitempty"` // Controls the rate of automatic rotation. // // Types that are valid to be assigned to RotationSchedule: // *CryptoKey_RotationPeriod RotationSchedule isCryptoKey_RotationSchedule `protobuf_oneof:"rotation_schedule"` + // A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. + // The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either + // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or + // auto-rotation are controlled by this template. + VersionTemplate *CryptoKeyVersionTemplate `protobuf:"bytes,11,opt,name=version_template,json=versionTemplate,proto3" json:"version_template,omitempty"` // Labels with user-defined metadata. For more information, see // [Labeling Keys](/kms/docs/labeling-keys). Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -193,7 +409,7 @@ func (m *CryptoKey) Reset() { *m = CryptoKey{} } func (m *CryptoKey) String() string { return proto.CompactTextString(m) } func (*CryptoKey) ProtoMessage() {} func (*CryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3fd296b2ee28c3bd, []int{1} + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{1} } func (m *CryptoKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CryptoKey.Unmarshal(m, b) @@ -213,23 +429,6 @@ func (m *CryptoKey) XXX_DiscardUnknown() { var xxx_messageInfo_CryptoKey proto.InternalMessageInfo -type isCryptoKey_RotationSchedule interface { - isCryptoKey_RotationSchedule() -} - -type CryptoKey_RotationPeriod struct { - RotationPeriod *duration.Duration `protobuf:"bytes,8,opt,name=rotation_period,json=rotationPeriod,proto3,oneof"` -} - -func (*CryptoKey_RotationPeriod) isCryptoKey_RotationSchedule() {} - -func (m *CryptoKey) GetRotationSchedule() isCryptoKey_RotationSchedule { - if m != nil { - return m.RotationSchedule - } - return nil -} - func (m *CryptoKey) GetName() string { if m != nil { return m.Name @@ -265,6 +464,23 @@ func (m *CryptoKey) GetNextRotationTime() *timestamp.Timestamp { return nil } +type isCryptoKey_RotationSchedule interface { + isCryptoKey_RotationSchedule() +} + +type CryptoKey_RotationPeriod struct { + RotationPeriod *duration.Duration `protobuf:"bytes,8,opt,name=rotation_period,json=rotationPeriod,proto3,oneof"` +} + +func (*CryptoKey_RotationPeriod) isCryptoKey_RotationSchedule() {} + +func (m *CryptoKey) GetRotationSchedule() isCryptoKey_RotationSchedule { + if m != nil { + return m.RotationSchedule + } + return nil +} + func (m *CryptoKey) GetRotationPeriod() *duration.Duration { if x, ok := m.GetRotationSchedule().(*CryptoKey_RotationPeriod); ok { return x.RotationPeriod @@ -272,6 +488,13 @@ func (m *CryptoKey) GetRotationPeriod() *duration.Duration { return nil } +func (m *CryptoKey) GetVersionTemplate() *CryptoKeyVersionTemplate { + if m != nil { + return m.VersionTemplate + } + return nil +} + func (m *CryptoKey) GetLabels() map[string]string { if m != nil { return m.Labels @@ -334,25 +557,146 @@ func _CryptoKey_OneofSizer(msg proto.Message) (n int) { return n } +// A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] specifies the properties to use when creating +// a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually with +// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or +// automatically as a result of auto-rotation. +type CryptoKeyVersionTemplate struct { + // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on + // this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + ProtectionLevel ProtectionLevel `protobuf:"varint,1,opt,name=protection_level,json=protectionLevel,proto3,enum=google.cloud.kms.v1.ProtectionLevel" json:"protection_level,omitempty"` + // Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use + // when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. + // + // For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both + // this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + Algorithm CryptoKeyVersion_CryptoKeyVersionAlgorithm `protobuf:"varint,3,opt,name=algorithm,proto3,enum=google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionAlgorithm" json:"algorithm,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CryptoKeyVersionTemplate) Reset() { *m = CryptoKeyVersionTemplate{} } +func (m *CryptoKeyVersionTemplate) String() string { return proto.CompactTextString(m) } +func (*CryptoKeyVersionTemplate) ProtoMessage() {} +func (*CryptoKeyVersionTemplate) Descriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{2} +} +func (m *CryptoKeyVersionTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CryptoKeyVersionTemplate.Unmarshal(m, b) +} +func (m *CryptoKeyVersionTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CryptoKeyVersionTemplate.Marshal(b, m, deterministic) +} +func (dst *CryptoKeyVersionTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_CryptoKeyVersionTemplate.Merge(dst, src) +} +func (m *CryptoKeyVersionTemplate) XXX_Size() int { + return xxx_messageInfo_CryptoKeyVersionTemplate.Size(m) +} +func (m *CryptoKeyVersionTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_CryptoKeyVersionTemplate.DiscardUnknown(m) +} + +var xxx_messageInfo_CryptoKeyVersionTemplate proto.InternalMessageInfo + +func (m *CryptoKeyVersionTemplate) GetProtectionLevel() ProtectionLevel { + if m != nil { + return m.ProtectionLevel + } + return ProtectionLevel_PROTECTION_LEVEL_UNSPECIFIED +} + +func (m *CryptoKeyVersionTemplate) GetAlgorithm() CryptoKeyVersion_CryptoKeyVersionAlgorithm { + if m != nil { + return m.Algorithm + } + return CryptoKeyVersion_CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED +} + +// Contains an HSM-generated attestation about a key operation. +type KeyOperationAttestation struct { + // Output only. The format of the attestation data. + Format KeyOperationAttestation_AttestationFormat `protobuf:"varint,4,opt,name=format,proto3,enum=google.cloud.kms.v1.KeyOperationAttestation_AttestationFormat" json:"format,omitempty"` + // Output only. The attestation data provided by the HSM when the key + // operation was performed. + Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeyOperationAttestation) Reset() { *m = KeyOperationAttestation{} } +func (m *KeyOperationAttestation) String() string { return proto.CompactTextString(m) } +func (*KeyOperationAttestation) ProtoMessage() {} +func (*KeyOperationAttestation) Descriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{3} +} +func (m *KeyOperationAttestation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeyOperationAttestation.Unmarshal(m, b) +} +func (m *KeyOperationAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeyOperationAttestation.Marshal(b, m, deterministic) +} +func (dst *KeyOperationAttestation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyOperationAttestation.Merge(dst, src) +} +func (m *KeyOperationAttestation) XXX_Size() int { + return xxx_messageInfo_KeyOperationAttestation.Size(m) +} +func (m *KeyOperationAttestation) XXX_DiscardUnknown() { + xxx_messageInfo_KeyOperationAttestation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyOperationAttestation proto.InternalMessageInfo + +func (m *KeyOperationAttestation) GetFormat() KeyOperationAttestation_AttestationFormat { + if m != nil { + return m.Format + } + return KeyOperationAttestation_ATTESTATION_FORMAT_UNSPECIFIED +} + +func (m *KeyOperationAttestation) GetContent() []byte { + if m != nil { + return m.Content + } + return nil +} + // A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an individual cryptographic key, and the // associated key material. // -// It can be used for cryptographic operations either directly, or via its -// parent [CryptoKey][google.cloud.kms.v1.CryptoKey], in which case the server will choose the appropriate -// version for the operation. +// An [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] version can be +// used for cryptographic operations. // // For security reasons, the raw cryptographic key material represented by a // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed or exported. It can only be used to -// encrypt or decrypt data when an authorized user or application invokes Cloud -// KMS. +// encrypt, decrypt, or sign data when an authorized user or application invokes +// Cloud KMS. type CryptoKeyVersion struct { // Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format // `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. State CryptoKeyVersion_CryptoKeyVersionState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionState" json:"state,omitempty"` + // Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are + // performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + ProtectionLevel ProtectionLevel `protobuf:"varint,7,opt,name=protection_level,json=protectionLevel,proto3,enum=google.cloud.kms.v1.ProtectionLevel" json:"protection_level,omitempty"` + // Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports. + Algorithm CryptoKeyVersion_CryptoKeyVersionAlgorithm `protobuf:"varint,10,opt,name=algorithm,proto3,enum=google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionAlgorithm" json:"algorithm,omitempty"` + // Output only. Statement that was generated and signed by the HSM at key + // creation time. Use this statement to verify attributes of the key as stored + // on the HSM, independently of Google. Only provided for key versions with + // [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + Attestation *KeyOperationAttestation `protobuf:"bytes,8,opt,name=attestation,proto3" json:"attestation,omitempty"` // Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was + // generated. + GenerateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=generate_time,json=generateTime,proto3" json:"generate_time,omitempty"` // Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled // for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. @@ -370,7 +714,7 @@ func (m *CryptoKeyVersion) Reset() { *m = CryptoKeyVersion{} } func (m *CryptoKeyVersion) String() string { return proto.CompactTextString(m) } func (*CryptoKeyVersion) ProtoMessage() {} func (*CryptoKeyVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3fd296b2ee28c3bd, []int{2} + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{4} } func (m *CryptoKeyVersion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CryptoKeyVersion.Unmarshal(m, b) @@ -404,6 +748,27 @@ func (m *CryptoKeyVersion) GetState() CryptoKeyVersion_CryptoKeyVersionState { return CryptoKeyVersion_CRYPTO_KEY_VERSION_STATE_UNSPECIFIED } +func (m *CryptoKeyVersion) GetProtectionLevel() ProtectionLevel { + if m != nil { + return m.ProtectionLevel + } + return ProtectionLevel_PROTECTION_LEVEL_UNSPECIFIED +} + +func (m *CryptoKeyVersion) GetAlgorithm() CryptoKeyVersion_CryptoKeyVersionAlgorithm { + if m != nil { + return m.Algorithm + } + return CryptoKeyVersion_CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED +} + +func (m *CryptoKeyVersion) GetAttestation() *KeyOperationAttestation { + if m != nil { + return m.Attestation + } + return nil +} + func (m *CryptoKeyVersion) GetCreateTime() *timestamp.Timestamp { if m != nil { return m.CreateTime @@ -411,6 +776,13 @@ func (m *CryptoKeyVersion) GetCreateTime() *timestamp.Timestamp { return nil } +func (m *CryptoKeyVersion) GetGenerateTime() *timestamp.Timestamp { + if m != nil { + return m.GenerateTime + } + return nil +} + func (m *CryptoKeyVersion) GetDestroyTime() *timestamp.Timestamp { if m != nil { return m.DestroyTime @@ -425,62 +797,156 @@ func (m *CryptoKeyVersion) GetDestroyEventTime() *timestamp.Timestamp { return nil } +// The public key for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via +// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. +type PublicKey struct { + // The public key, encoded in PEM format. For more information, see the + // [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for + // [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and + // [Textual Encoding of Subject Public Key Info] + // (https://tools.ietf.org/html/rfc7468#section-13). + Pem string `protobuf:"bytes,1,opt,name=pem,proto3" json:"pem,omitempty"` + // The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated + // with this key. + Algorithm CryptoKeyVersion_CryptoKeyVersionAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionAlgorithm" json:"algorithm,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PublicKey) Reset() { *m = PublicKey{} } +func (m *PublicKey) String() string { return proto.CompactTextString(m) } +func (*PublicKey) ProtoMessage() {} +func (*PublicKey) Descriptor() ([]byte, []int) { + return fileDescriptor_resources_0cd4d0dda71f2af2, []int{5} +} +func (m *PublicKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PublicKey.Unmarshal(m, b) +} +func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PublicKey.Marshal(b, m, deterministic) +} +func (dst *PublicKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublicKey.Merge(dst, src) +} +func (m *PublicKey) XXX_Size() int { + return xxx_messageInfo_PublicKey.Size(m) +} +func (m *PublicKey) XXX_DiscardUnknown() { + xxx_messageInfo_PublicKey.DiscardUnknown(m) +} + +var xxx_messageInfo_PublicKey proto.InternalMessageInfo + +func (m *PublicKey) GetPem() string { + if m != nil { + return m.Pem + } + return "" +} + +func (m *PublicKey) GetAlgorithm() CryptoKeyVersion_CryptoKeyVersionAlgorithm { + if m != nil { + return m.Algorithm + } + return CryptoKeyVersion_CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED +} + func init() { proto.RegisterType((*KeyRing)(nil), "google.cloud.kms.v1.KeyRing") proto.RegisterType((*CryptoKey)(nil), "google.cloud.kms.v1.CryptoKey") proto.RegisterMapType((map[string]string)(nil), "google.cloud.kms.v1.CryptoKey.LabelsEntry") + proto.RegisterType((*CryptoKeyVersionTemplate)(nil), "google.cloud.kms.v1.CryptoKeyVersionTemplate") + proto.RegisterType((*KeyOperationAttestation)(nil), "google.cloud.kms.v1.KeyOperationAttestation") proto.RegisterType((*CryptoKeyVersion)(nil), "google.cloud.kms.v1.CryptoKeyVersion") + proto.RegisterType((*PublicKey)(nil), "google.cloud.kms.v1.PublicKey") + proto.RegisterEnum("google.cloud.kms.v1.ProtectionLevel", ProtectionLevel_name, ProtectionLevel_value) proto.RegisterEnum("google.cloud.kms.v1.CryptoKey_CryptoKeyPurpose", CryptoKey_CryptoKeyPurpose_name, CryptoKey_CryptoKeyPurpose_value) + proto.RegisterEnum("google.cloud.kms.v1.KeyOperationAttestation_AttestationFormat", KeyOperationAttestation_AttestationFormat_name, KeyOperationAttestation_AttestationFormat_value) + proto.RegisterEnum("google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionAlgorithm", CryptoKeyVersion_CryptoKeyVersionAlgorithm_name, CryptoKeyVersion_CryptoKeyVersionAlgorithm_value) proto.RegisterEnum("google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionState", CryptoKeyVersion_CryptoKeyVersionState_name, CryptoKeyVersion_CryptoKeyVersionState_value) + proto.RegisterEnum("google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionView", CryptoKeyVersion_CryptoKeyVersionView_name, CryptoKeyVersion_CryptoKeyVersionView_value) } func init() { - proto.RegisterFile("google/cloud/kms/v1/resources.proto", fileDescriptor_resources_3fd296b2ee28c3bd) -} - -var fileDescriptor_resources_3fd296b2ee28c3bd = []byte{ - // 673 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x51, 0x6e, 0xda, 0x4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 0x5e, 0xca, 0xa2, 0x3d, 0xd8, 0x95, 0x5b, 0xdb, 0x6a, 0x1f, 0x1b, 0xfa, 0x69, - 0xac, 0xca, 0xb5, 0xbe, 0x28, 0xf0, 0xdf, 0x88, 0x7a, 0xab, 0x86, 0xd2, 0xda, 0xed, 0x7a, 0x1c, - 0xa7, 0x9f, 0x48, 0x33, 0x6e, 0xc9, 0x54, 0xce, 0x9f, 0x4b, 0xe5, 0x84, 0xce, 0x1c, 0x7f, 0xa2, - 0x52, 0x36, 0xd1, 0x26, 0xc4, 0x17, 0x0d, 0x6b, 0xc9, 0x91, 0x13, 0xb8, 0xfc, 0x8f, 0xef, 0xec, - 0xe1, 0xd4, 0xe3, 0x3f, 0x15, 0xe5, 0x6b, 0xa6, 0xfc, 0x2e, 0xf1, 0xb6, 0xc5, 0x53, 0xba, 0x1e, - 0x57, 0x87, 0xcd, 0xef, 0x69, 0xf5, 0x42, 0x54, 0x2f, 0xba, 0x1e, 0xbf, 0x18, 0x36, 0x2f, 0x37, - 0x04, 0xf1, 0xd9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xc0, 0x0a, 0x0e, 0xb8, 0x05, 0x00, - 0x00, + proto.RegisterFile("google/cloud/kms/v1/resources.proto", fileDescriptor_resources_0cd4d0dda71f2af2) +} + +var fileDescriptor_resources_0cd4d0dda71f2af2 = []byte{ + // 1197 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5d, 0x6e, 0xdb, 0x46, + 0x10, 0x0e, 0x25, 0xcb, 0xb2, 0x46, 0x4e, 0x4c, 0xaf, 0xf3, 0xa3, 0xb8, 0x41, 0x62, 0x28, 0x29, + 0x6a, 0x04, 0xa9, 0x14, 0xcb, 0x4e, 0xea, 0x34, 0x68, 0x03, 0x5a, 0x5a, 0x4b, 0xac, 0x7e, 0xc8, + 0x2c, 0x69, 0xa5, 0x0e,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fc, 0x3b, 0x03, 0xb9, 0xaa, 0x37, + 0x71, 0x03, 0xa7, 0x49, 0x27, 0x89, 0xf4, 0x2f, 0x20, 0xeb, 0x7a, 0x03, 0xcb, 0xf4, 0x26, 0x9c, + 0xfa, 0xcb, 0x52, 0x42, 0x0f, 0x4a, 0xa7, 0x24, 0x5d, 0xea, 0xf9, 0x03, 0xc7, 0x26, 0x31, 0x0a, + 0xc9, 0x90, 0x75, 0x47, 0x9e, 0xeb, 0xf8, 0xb4, 0x90, 0xde, 0x10, 0x36, 0xaf, 0x55, 0xca, 0xff, + 0x4d, 0x70, 0x76, 0x52, 0x23, 0x18, 0x89, 0xf1, 0xf3, 0x7f, 0x35, 0xf3, 0x39, 0x7f, 0x15, 0x35, + 0x00, 0xd9, 0xf4, 0x7d, 0x60, 0x78, 0x7c, 0x3e, 0x11, 0x47, 0xf6, 0x42, 0x0e, 0x31, 0x44, 0x11, + 0x0e, 0x62, 0x4c, 0x35, 0x58, 0x39, 0x25, 0x71, 0xa9, 0x37, 0x70, 0x8e, 0x0b, 0x4b, 0x8c, 0xe6, + 0xf6, 0x39, 0x9a, 0x1a, 0x9f, 0x75, 0xe3, 0x0a, 0xb9, 0x16, 0x63, 0x54, 0x06, 0x41, 0x3f, 0x82, + 0x38, 0x8e, 0x7a, 0x65, 0x04, 0xd4, 0x72, 0x87, 0x66, 0x40, 0x0b, 0x79, 0x46, 0xf3, 0xf5, 0x27, + 0x75, 0x58, 0xe7, 0x20, 0xb2, 0x32, 0x9e, 0x35, 0xa0, 0x3d, 0x58, 0x1c, 0x9a, 0x47, 0x74, 0xe8, + 0x17, 0x60, 0x23, 0xbd, 0x99, 0xaf, 0x3c, 0xbc, 0xa0, 0xe1, 0x2d, 0x16, 0x8c, 0xed, 0xc0, 0x9b, + 0x10, 0x8e, 0x5c, 0x7f, 0x06, 0xf9, 0x29, 0x33, 0x12, 0x21, 0x7d, 0x42, 0x27, 0x7c, 0x31, 0xc2, + 0x23, 0xba, 0x0e, 0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xe4, 0x9f, 0x9f, 0x58, 0xfe, 0x3f, + 0x82, 0xf0, 0x47, 0x6a, 0xad, 0x1e, 0x61, 0xab, 0x2c, 0x4b, 0xd3, 0xf2, 0x4b, 0xdd, 0xad, 0x0f, + 0xb1, 0xf5, 0x0d, 0xb3, 0xbe, 0x69, 0x5a, 0xfe, 0x9b, 0xee, 0xd6, 0xd1, 0x22, 0x63, 0xdc, 0xfe, + 0x37, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x00, 0x2e, 0x55, 0x1a, 0x0c, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/service.pb.go index 825fb1aed..6a0a6cabc 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/service.pb.go @@ -49,7 +49,7 @@ func (m *ListKeyRingsRequest) Reset() { *m = ListKeyRingsRequest{} } func (m *ListKeyRingsRequest) String() string { return proto.CompactTextString(m) } func (*ListKeyRingsRequest) ProtoMessage() {} func (*ListKeyRingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{0} + return fileDescriptor_service_799861e3104b1d84, []int{0} } func (m *ListKeyRingsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListKeyRingsRequest.Unmarshal(m, b) @@ -102,17 +102,19 @@ type ListCryptoKeysRequest struct { PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional pagination token, returned earlier via // [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The fields of the primary version to include in the response. + VersionView CryptoKeyVersion_CryptoKeyVersionView `protobuf:"varint,4,opt,name=version_view,json=versionView,proto3,enum=google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionView" json:"version_view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ListCryptoKeysRequest) Reset() { *m = ListCryptoKeysRequest{} } func (m *ListCryptoKeysRequest) String() string { return proto.CompactTextString(m) } func (*ListCryptoKeysRequest) ProtoMessage() {} func (*ListCryptoKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{1} + return fileDescriptor_service_799861e3104b1d84, []int{1} } func (m *ListCryptoKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCryptoKeysRequest.Unmarshal(m, b) @@ -153,6 +155,13 @@ func (m *ListCryptoKeysRequest) GetPageToken() string { return "" } +func (m *ListCryptoKeysRequest) GetVersionView() CryptoKeyVersion_CryptoKeyVersionView { + if m != nil { + return m.VersionView + } + return CryptoKeyVersion_CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED +} + // Request message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. type ListCryptoKeyVersionsRequest struct { // Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format @@ -166,17 +175,19 @@ type ListCryptoKeyVersionsRequest struct { PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional pagination token, returned earlier via // [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The fields to include in the response. + View CryptoKeyVersion_CryptoKeyVersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.kms.v1.CryptoKeyVersion_CryptoKeyVersionView" json:"view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ListCryptoKeyVersionsRequest) Reset() { *m = ListCryptoKeyVersionsRequest{} } func (m *ListCryptoKeyVersionsRequest) String() string { return proto.CompactTextString(m) } func (*ListCryptoKeyVersionsRequest) ProtoMessage() {} func (*ListCryptoKeyVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{2} + return fileDescriptor_service_799861e3104b1d84, []int{2} } func (m *ListCryptoKeyVersionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCryptoKeyVersionsRequest.Unmarshal(m, b) @@ -217,6 +228,13 @@ func (m *ListCryptoKeyVersionsRequest) GetPageToken() string { return "" } +func (m *ListCryptoKeyVersionsRequest) GetView() CryptoKeyVersion_CryptoKeyVersionView { + if m != nil { + return m.View + } + return CryptoKeyVersion_CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED +} + // Response message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. type ListKeyRingsResponse struct { // The list of [KeyRings][google.cloud.kms.v1.KeyRing]. @@ -235,7 +253,7 @@ func (m *ListKeyRingsResponse) Reset() { *m = ListKeyRingsResponse{} } func (m *ListKeyRingsResponse) String() string { return proto.CompactTextString(m) } func (*ListKeyRingsResponse) ProtoMessage() {} func (*ListKeyRingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{3} + return fileDescriptor_service_799861e3104b1d84, []int{3} } func (m *ListKeyRingsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListKeyRingsResponse.Unmarshal(m, b) @@ -294,7 +312,7 @@ func (m *ListCryptoKeysResponse) Reset() { *m = ListCryptoKeysResponse{} func (m *ListCryptoKeysResponse) String() string { return proto.CompactTextString(m) } func (*ListCryptoKeysResponse) ProtoMessage() {} func (*ListCryptoKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{4} + return fileDescriptor_service_799861e3104b1d84, []int{4} } func (m *ListCryptoKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCryptoKeysResponse.Unmarshal(m, b) @@ -355,7 +373,7 @@ func (m *ListCryptoKeyVersionsResponse) Reset() { *m = ListCryptoKeyVers func (m *ListCryptoKeyVersionsResponse) String() string { return proto.CompactTextString(m) } func (*ListCryptoKeyVersionsResponse) ProtoMessage() {} func (*ListCryptoKeyVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{5} + return fileDescriptor_service_799861e3104b1d84, []int{5} } func (m *ListCryptoKeyVersionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCryptoKeyVersionsResponse.Unmarshal(m, b) @@ -409,7 +427,7 @@ func (m *GetKeyRingRequest) Reset() { *m = GetKeyRingRequest{} } func (m *GetKeyRingRequest) String() string { return proto.CompactTextString(m) } func (*GetKeyRingRequest) ProtoMessage() {} func (*GetKeyRingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{6} + return fileDescriptor_service_799861e3104b1d84, []int{6} } func (m *GetKeyRingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetKeyRingRequest.Unmarshal(m, b) @@ -449,7 +467,7 @@ func (m *GetCryptoKeyRequest) Reset() { *m = GetCryptoKeyRequest{} } func (m *GetCryptoKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetCryptoKeyRequest) ProtoMessage() {} func (*GetCryptoKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{7} + return fileDescriptor_service_799861e3104b1d84, []int{7} } func (m *GetCryptoKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCryptoKeyRequest.Unmarshal(m, b) @@ -489,7 +507,7 @@ func (m *GetCryptoKeyVersionRequest) Reset() { *m = GetCryptoKeyVersionR func (m *GetCryptoKeyVersionRequest) String() string { return proto.CompactTextString(m) } func (*GetCryptoKeyVersionRequest) ProtoMessage() {} func (*GetCryptoKeyVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{8} + return fileDescriptor_service_799861e3104b1d84, []int{8} } func (m *GetCryptoKeyVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCryptoKeyVersionRequest.Unmarshal(m, b) @@ -516,6 +534,47 @@ func (m *GetCryptoKeyVersionRequest) GetName() string { return "" } +// Request message for [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. +type GetPublicKeyRequest struct { + // The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to + // get. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetPublicKeyRequest) Reset() { *m = GetPublicKeyRequest{} } +func (m *GetPublicKeyRequest) String() string { return proto.CompactTextString(m) } +func (*GetPublicKeyRequest) ProtoMessage() {} +func (*GetPublicKeyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{9} +} +func (m *GetPublicKeyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetPublicKeyRequest.Unmarshal(m, b) +} +func (m *GetPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetPublicKeyRequest.Marshal(b, m, deterministic) +} +func (dst *GetPublicKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetPublicKeyRequest.Merge(dst, src) +} +func (m *GetPublicKeyRequest) XXX_Size() int { + return xxx_messageInfo_GetPublicKeyRequest.Size(m) +} +func (m *GetPublicKeyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetPublicKeyRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetPublicKeyRequest proto.InternalMessageInfo + +func (m *GetPublicKeyRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // Request message for [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing]. type CreateKeyRingRequest struct { // Required. The resource name of the location associated with the @@ -535,7 +594,7 @@ func (m *CreateKeyRingRequest) Reset() { *m = CreateKeyRingRequest{} } func (m *CreateKeyRingRequest) String() string { return proto.CompactTextString(m) } func (*CreateKeyRingRequest) ProtoMessage() {} func (*CreateKeyRingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{9} + return fileDescriptor_service_799861e3104b1d84, []int{10} } func (m *CreateKeyRingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateKeyRingRequest.Unmarshal(m, b) @@ -595,7 +654,7 @@ func (m *CreateCryptoKeyRequest) Reset() { *m = CreateCryptoKeyRequest{} func (m *CreateCryptoKeyRequest) String() string { return proto.CompactTextString(m) } func (*CreateCryptoKeyRequest) ProtoMessage() {} func (*CreateCryptoKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{10} + return fileDescriptor_service_799861e3104b1d84, []int{11} } func (m *CreateCryptoKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateCryptoKeyRequest.Unmarshal(m, b) @@ -652,7 +711,7 @@ func (m *CreateCryptoKeyVersionRequest) Reset() { *m = CreateCryptoKeyVe func (m *CreateCryptoKeyVersionRequest) String() string { return proto.CompactTextString(m) } func (*CreateCryptoKeyVersionRequest) ProtoMessage() {} func (*CreateCryptoKeyVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{11} + return fileDescriptor_service_799861e3104b1d84, []int{12} } func (m *CreateCryptoKeyVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateCryptoKeyVersionRequest.Unmarshal(m, b) @@ -701,7 +760,7 @@ func (m *UpdateCryptoKeyRequest) Reset() { *m = UpdateCryptoKeyRequest{} func (m *UpdateCryptoKeyRequest) String() string { return proto.CompactTextString(m) } func (*UpdateCryptoKeyRequest) ProtoMessage() {} func (*UpdateCryptoKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{12} + return fileDescriptor_service_799861e3104b1d84, []int{13} } func (m *UpdateCryptoKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateCryptoKeyRequest.Unmarshal(m, b) @@ -750,7 +809,7 @@ func (m *UpdateCryptoKeyVersionRequest) Reset() { *m = UpdateCryptoKeyVe func (m *UpdateCryptoKeyVersionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateCryptoKeyVersionRequest) ProtoMessage() {} func (*UpdateCryptoKeyVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{13} + return fileDescriptor_service_799861e3104b1d84, []int{14} } func (m *UpdateCryptoKeyVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateCryptoKeyVersionRequest.Unmarshal(m, b) @@ -793,10 +852,23 @@ type EncryptRequest struct { // [primary version][google.cloud.kms.v1.CryptoKey.primary]. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The data to encrypt. Must be no larger than 64KiB. + // + // The maximum size depends on the key version's + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For + // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the plaintext must be no larger + // than 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the + // plaintext and additional_authenticated_data fields must be no larger than + // 8KiB. Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` // Optional data that, if specified, must also be provided during decryption - // through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. Must be no - // larger than 64KiB. + // through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. + // + // The maximum size depends on the key version's + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For + // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD must be no larger than + // 64KiB. For [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of the + // plaintext and additional_authenticated_data fields must be no larger than + // 8KiB. AdditionalAuthenticatedData []byte `protobuf:"bytes,3,opt,name=additional_authenticated_data,json=additionalAuthenticatedData,proto3" json:"additional_authenticated_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -807,7 +879,7 @@ func (m *EncryptRequest) Reset() { *m = EncryptRequest{} } func (m *EncryptRequest) String() string { return proto.CompactTextString(m) } func (*EncryptRequest) ProtoMessage() {} func (*EncryptRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{14} + return fileDescriptor_service_799861e3104b1d84, []int{15} } func (m *EncryptRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EncryptRequest.Unmarshal(m, b) @@ -868,7 +940,7 @@ func (m *DecryptRequest) Reset() { *m = DecryptRequest{} } func (m *DecryptRequest) String() string { return proto.CompactTextString(m) } func (*DecryptRequest) ProtoMessage() {} func (*DecryptRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{15} + return fileDescriptor_service_799861e3104b1d84, []int{16} } func (m *DecryptRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DecryptRequest.Unmarshal(m, b) @@ -909,6 +981,108 @@ func (m *DecryptRequest) GetAdditionalAuthenticatedData() []byte { return nil } +// Request message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. +type AsymmetricSignRequest struct { + // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. The digest of the data to sign. The digest must be produced with + // the same digest algorithm as specified by the key version's + // [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + Digest *Digest `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AsymmetricSignRequest) Reset() { *m = AsymmetricSignRequest{} } +func (m *AsymmetricSignRequest) String() string { return proto.CompactTextString(m) } +func (*AsymmetricSignRequest) ProtoMessage() {} +func (*AsymmetricSignRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{17} +} +func (m *AsymmetricSignRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsymmetricSignRequest.Unmarshal(m, b) +} +func (m *AsymmetricSignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsymmetricSignRequest.Marshal(b, m, deterministic) +} +func (dst *AsymmetricSignRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsymmetricSignRequest.Merge(dst, src) +} +func (m *AsymmetricSignRequest) XXX_Size() int { + return xxx_messageInfo_AsymmetricSignRequest.Size(m) +} +func (m *AsymmetricSignRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AsymmetricSignRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AsymmetricSignRequest proto.InternalMessageInfo + +func (m *AsymmetricSignRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *AsymmetricSignRequest) GetDigest() *Digest { + if m != nil { + return m.Digest + } + return nil +} + +// Request message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. +type AsymmetricDecryptRequest struct { + // Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // decryption. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public + // key using OAEP. + Ciphertext []byte `protobuf:"bytes,3,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AsymmetricDecryptRequest) Reset() { *m = AsymmetricDecryptRequest{} } +func (m *AsymmetricDecryptRequest) String() string { return proto.CompactTextString(m) } +func (*AsymmetricDecryptRequest) ProtoMessage() {} +func (*AsymmetricDecryptRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{18} +} +func (m *AsymmetricDecryptRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsymmetricDecryptRequest.Unmarshal(m, b) +} +func (m *AsymmetricDecryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsymmetricDecryptRequest.Marshal(b, m, deterministic) +} +func (dst *AsymmetricDecryptRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsymmetricDecryptRequest.Merge(dst, src) +} +func (m *AsymmetricDecryptRequest) XXX_Size() int { + return xxx_messageInfo_AsymmetricDecryptRequest.Size(m) +} +func (m *AsymmetricDecryptRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AsymmetricDecryptRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AsymmetricDecryptRequest proto.InternalMessageInfo + +func (m *AsymmetricDecryptRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *AsymmetricDecryptRequest) GetCiphertext() []byte { + if m != nil { + return m.Ciphertext + } + return nil +} + // Response message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. type DecryptResponse struct { // The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. @@ -922,7 +1096,7 @@ func (m *DecryptResponse) Reset() { *m = DecryptResponse{} } func (m *DecryptResponse) String() string { return proto.CompactTextString(m) } func (*DecryptResponse) ProtoMessage() {} func (*DecryptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{16} + return fileDescriptor_service_799861e3104b1d84, []int{19} } func (m *DecryptResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DecryptResponse.Unmarshal(m, b) @@ -964,7 +1138,7 @@ func (m *EncryptResponse) Reset() { *m = EncryptResponse{} } func (m *EncryptResponse) String() string { return proto.CompactTextString(m) } func (*EncryptResponse) ProtoMessage() {} func (*EncryptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{17} + return fileDescriptor_service_799861e3104b1d84, []int{20} } func (m *EncryptResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EncryptResponse.Unmarshal(m, b) @@ -998,6 +1172,86 @@ func (m *EncryptResponse) GetCiphertext() []byte { return nil } +// Response message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. +type AsymmetricSignResponse struct { + // The created signature. + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AsymmetricSignResponse) Reset() { *m = AsymmetricSignResponse{} } +func (m *AsymmetricSignResponse) String() string { return proto.CompactTextString(m) } +func (*AsymmetricSignResponse) ProtoMessage() {} +func (*AsymmetricSignResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{21} +} +func (m *AsymmetricSignResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsymmetricSignResponse.Unmarshal(m, b) +} +func (m *AsymmetricSignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsymmetricSignResponse.Marshal(b, m, deterministic) +} +func (dst *AsymmetricSignResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsymmetricSignResponse.Merge(dst, src) +} +func (m *AsymmetricSignResponse) XXX_Size() int { + return xxx_messageInfo_AsymmetricSignResponse.Size(m) +} +func (m *AsymmetricSignResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AsymmetricSignResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AsymmetricSignResponse proto.InternalMessageInfo + +func (m *AsymmetricSignResponse) GetSignature() []byte { + if m != nil { + return m.Signature + } + return nil +} + +// Response message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. +type AsymmetricDecryptResponse struct { + // The decrypted data originally encrypted with the matching public key. + Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AsymmetricDecryptResponse) Reset() { *m = AsymmetricDecryptResponse{} } +func (m *AsymmetricDecryptResponse) String() string { return proto.CompactTextString(m) } +func (*AsymmetricDecryptResponse) ProtoMessage() {} +func (*AsymmetricDecryptResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{22} +} +func (m *AsymmetricDecryptResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsymmetricDecryptResponse.Unmarshal(m, b) +} +func (m *AsymmetricDecryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsymmetricDecryptResponse.Marshal(b, m, deterministic) +} +func (dst *AsymmetricDecryptResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsymmetricDecryptResponse.Merge(dst, src) +} +func (m *AsymmetricDecryptResponse) XXX_Size() int { + return xxx_messageInfo_AsymmetricDecryptResponse.Size(m) +} +func (m *AsymmetricDecryptResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AsymmetricDecryptResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AsymmetricDecryptResponse proto.InternalMessageInfo + +func (m *AsymmetricDecryptResponse) GetPlaintext() []byte { + if m != nil { + return m.Plaintext + } + return nil +} + // Request message for [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. type UpdateCryptoKeyPrimaryVersionRequest struct { // The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. @@ -1013,7 +1267,7 @@ func (m *UpdateCryptoKeyPrimaryVersionRequest) Reset() { *m = UpdateCryp func (m *UpdateCryptoKeyPrimaryVersionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateCryptoKeyPrimaryVersionRequest) ProtoMessage() {} func (*UpdateCryptoKeyPrimaryVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{18} + return fileDescriptor_service_799861e3104b1d84, []int{23} } func (m *UpdateCryptoKeyPrimaryVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateCryptoKeyPrimaryVersionRequest.Unmarshal(m, b) @@ -1060,7 +1314,7 @@ func (m *DestroyCryptoKeyVersionRequest) Reset() { *m = DestroyCryptoKey func (m *DestroyCryptoKeyVersionRequest) String() string { return proto.CompactTextString(m) } func (*DestroyCryptoKeyVersionRequest) ProtoMessage() {} func (*DestroyCryptoKeyVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{19} + return fileDescriptor_service_799861e3104b1d84, []int{24} } func (m *DestroyCryptoKeyVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyCryptoKeyVersionRequest.Unmarshal(m, b) @@ -1100,7 +1354,7 @@ func (m *RestoreCryptoKeyVersionRequest) Reset() { *m = RestoreCryptoKey func (m *RestoreCryptoKeyVersionRequest) String() string { return proto.CompactTextString(m) } func (*RestoreCryptoKeyVersionRequest) ProtoMessage() {} func (*RestoreCryptoKeyVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_d4f59c45586ec2a6, []int{20} + return fileDescriptor_service_799861e3104b1d84, []int{25} } func (m *RestoreCryptoKeyVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreCryptoKeyVersionRequest.Unmarshal(m, b) @@ -1127,6 +1381,217 @@ func (m *RestoreCryptoKeyVersionRequest) GetName() string { return "" } +// A [Digest][google.cloud.kms.v1.Digest] holds a cryptographic message digest. +type Digest struct { + // Required. The message digest. + // + // Types that are valid to be assigned to Digest: + // *Digest_Sha256 + // *Digest_Sha384 + // *Digest_Sha512 + Digest isDigest_Digest `protobuf_oneof:"digest"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Digest) Reset() { *m = Digest{} } +func (m *Digest) String() string { return proto.CompactTextString(m) } +func (*Digest) ProtoMessage() {} +func (*Digest) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{26} +} +func (m *Digest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Digest.Unmarshal(m, b) +} +func (m *Digest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Digest.Marshal(b, m, deterministic) +} +func (dst *Digest) XXX_Merge(src proto.Message) { + xxx_messageInfo_Digest.Merge(dst, src) +} +func (m *Digest) XXX_Size() int { + return xxx_messageInfo_Digest.Size(m) +} +func (m *Digest) XXX_DiscardUnknown() { + xxx_messageInfo_Digest.DiscardUnknown(m) +} + +var xxx_messageInfo_Digest proto.InternalMessageInfo + +type isDigest_Digest interface { + isDigest_Digest() +} + +type Digest_Sha256 struct { + Sha256 []byte `protobuf:"bytes,1,opt,name=sha256,proto3,oneof"` +} + +type Digest_Sha384 struct { + Sha384 []byte `protobuf:"bytes,2,opt,name=sha384,proto3,oneof"` +} + +type Digest_Sha512 struct { + Sha512 []byte `protobuf:"bytes,3,opt,name=sha512,proto3,oneof"` +} + +func (*Digest_Sha256) isDigest_Digest() {} + +func (*Digest_Sha384) isDigest_Digest() {} + +func (*Digest_Sha512) isDigest_Digest() {} + +func (m *Digest) GetDigest() isDigest_Digest { + if m != nil { + return m.Digest + } + return nil +} + +func (m *Digest) GetSha256() []byte { + if x, ok := m.GetDigest().(*Digest_Sha256); ok { + return x.Sha256 + } + return nil +} + +func (m *Digest) GetSha384() []byte { + if x, ok := m.GetDigest().(*Digest_Sha384); ok { + return x.Sha384 + } + return nil +} + +func (m *Digest) GetSha512() []byte { + if x, ok := m.GetDigest().(*Digest_Sha512); ok { + return x.Sha512 + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Digest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Digest_OneofMarshaler, _Digest_OneofUnmarshaler, _Digest_OneofSizer, []interface{}{ + (*Digest_Sha256)(nil), + (*Digest_Sha384)(nil), + (*Digest_Sha512)(nil), + } +} + +func _Digest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Digest) + // digest + switch x := m.Digest.(type) { + case *Digest_Sha256: + b.EncodeVarint(1<<3 | proto.WireBytes) + b.EncodeRawBytes(x.Sha256) + case *Digest_Sha384: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeRawBytes(x.Sha384) + case *Digest_Sha512: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeRawBytes(x.Sha512) + case nil: + default: + return fmt.Errorf("Digest.Digest has unexpected type %T", x) + } + return nil +} + +func _Digest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Digest) + switch tag { + case 1: // digest.sha256 + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.Digest = &Digest_Sha256{x} + return true, err + case 2: // digest.sha384 + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.Digest = &Digest_Sha384{x} + return true, err + case 3: // digest.sha512 + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeRawBytes(true) + m.Digest = &Digest_Sha512{x} + return true, err + default: + return false, nil + } +} + +func _Digest_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Digest) + // digest + switch x := m.Digest.(type) { + case *Digest_Sha256: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Sha256))) + n += len(x.Sha256) + case *Digest_Sha384: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Sha384))) + n += len(x.Sha384) + case *Digest_Sha512: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Sha512))) + n += len(x.Sha512) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Cloud KMS metadata for the given [google.cloud.location.Location][google.cloud.location.Location]. +type LocationMetadata struct { + // Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location. + HsmAvailable bool `protobuf:"varint,1,opt,name=hsm_available,json=hsmAvailable,proto3" json:"hsm_available,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocationMetadata) Reset() { *m = LocationMetadata{} } +func (m *LocationMetadata) String() string { return proto.CompactTextString(m) } +func (*LocationMetadata) ProtoMessage() {} +func (*LocationMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_service_799861e3104b1d84, []int{27} +} +func (m *LocationMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocationMetadata.Unmarshal(m, b) +} +func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocationMetadata.Marshal(b, m, deterministic) +} +func (dst *LocationMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocationMetadata.Merge(dst, src) +} +func (m *LocationMetadata) XXX_Size() int { + return xxx_messageInfo_LocationMetadata.Size(m) +} +func (m *LocationMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_LocationMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_LocationMetadata proto.InternalMessageInfo + +func (m *LocationMetadata) GetHsmAvailable() bool { + if m != nil { + return m.HsmAvailable + } + return false +} + func init() { proto.RegisterType((*ListKeyRingsRequest)(nil), "google.cloud.kms.v1.ListKeyRingsRequest") proto.RegisterType((*ListCryptoKeysRequest)(nil), "google.cloud.kms.v1.ListCryptoKeysRequest") @@ -1137,6 +1602,7 @@ func init() { proto.RegisterType((*GetKeyRingRequest)(nil), "google.cloud.kms.v1.GetKeyRingRequest") proto.RegisterType((*GetCryptoKeyRequest)(nil), "google.cloud.kms.v1.GetCryptoKeyRequest") proto.RegisterType((*GetCryptoKeyVersionRequest)(nil), "google.cloud.kms.v1.GetCryptoKeyVersionRequest") + proto.RegisterType((*GetPublicKeyRequest)(nil), "google.cloud.kms.v1.GetPublicKeyRequest") proto.RegisterType((*CreateKeyRingRequest)(nil), "google.cloud.kms.v1.CreateKeyRingRequest") proto.RegisterType((*CreateCryptoKeyRequest)(nil), "google.cloud.kms.v1.CreateCryptoKeyRequest") proto.RegisterType((*CreateCryptoKeyVersionRequest)(nil), "google.cloud.kms.v1.CreateCryptoKeyVersionRequest") @@ -1144,11 +1610,17 @@ func init() { proto.RegisterType((*UpdateCryptoKeyVersionRequest)(nil), "google.cloud.kms.v1.UpdateCryptoKeyVersionRequest") proto.RegisterType((*EncryptRequest)(nil), "google.cloud.kms.v1.EncryptRequest") proto.RegisterType((*DecryptRequest)(nil), "google.cloud.kms.v1.DecryptRequest") + proto.RegisterType((*AsymmetricSignRequest)(nil), "google.cloud.kms.v1.AsymmetricSignRequest") + proto.RegisterType((*AsymmetricDecryptRequest)(nil), "google.cloud.kms.v1.AsymmetricDecryptRequest") proto.RegisterType((*DecryptResponse)(nil), "google.cloud.kms.v1.DecryptResponse") proto.RegisterType((*EncryptResponse)(nil), "google.cloud.kms.v1.EncryptResponse") + proto.RegisterType((*AsymmetricSignResponse)(nil), "google.cloud.kms.v1.AsymmetricSignResponse") + proto.RegisterType((*AsymmetricDecryptResponse)(nil), "google.cloud.kms.v1.AsymmetricDecryptResponse") proto.RegisterType((*UpdateCryptoKeyPrimaryVersionRequest)(nil), "google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest") proto.RegisterType((*DestroyCryptoKeyVersionRequest)(nil), "google.cloud.kms.v1.DestroyCryptoKeyVersionRequest") proto.RegisterType((*RestoreCryptoKeyVersionRequest)(nil), "google.cloud.kms.v1.RestoreCryptoKeyVersionRequest") + proto.RegisterType((*Digest)(nil), "google.cloud.kms.v1.Digest") + proto.RegisterType((*LocationMetadata)(nil), "google.cloud.kms.v1.LocationMetadata") } // Reference imports to suppress errors if they are not otherwise used. @@ -1176,11 +1648,18 @@ type KeyManagementServiceClient interface { GetCryptoKey(ctx context.Context, in *GetCryptoKeyRequest, opts ...grpc.CallOption) (*CryptoKey, error) // Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. GetCryptoKeyVersion(ctx context.Context, in *GetCryptoKeyVersionRequest, opts ...grpc.CallOption) (*CryptoKeyVersion, error) + // Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + // [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. + GetPublicKey(ctx context.Context, in *GetPublicKeyRequest, opts ...grpc.CallOption) (*PublicKey, error) // Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. CreateKeyRing(ctx context.Context, in *CreateKeyRingRequest, opts ...grpc.CallOption) (*KeyRing, error) // Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. // - // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is required. + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and + // [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] + // are required. CreateCryptoKey(ctx context.Context, in *CreateCryptoKeyRequest, opts ...grpc.CallOption) (*CryptoKey, error) // Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. // @@ -1199,10 +1678,23 @@ type KeyManagementServiceClient interface { // move between other states. UpdateCryptoKeyVersion(ctx context.Context, in *UpdateCryptoKeyVersionRequest, opts ...grpc.CallOption) (*CryptoKeyVersion, error) // Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. + // The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) - // Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + // Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) - // Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] + // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // ASYMMETRIC_SIGN, producing a signature that can be verified with the public + // key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + AsymmetricSign(ctx context.Context, in *AsymmetricSignRequest, opts ...grpc.CallOption) (*AsymmetricSignResponse, error) + // Decrypts data that was encrypted with a public key retrieved from + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + AsymmetricDecrypt(ctx context.Context, in *AsymmetricDecryptRequest, opts ...grpc.CallOption) (*AsymmetricDecryptResponse, error) + // Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + // + // Returns an error if called on an asymmetric key. UpdateCryptoKeyPrimaryVersion(ctx context.Context, in *UpdateCryptoKeyPrimaryVersionRequest, opts ...grpc.CallOption) (*CryptoKey, error) // Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. // @@ -1218,7 +1710,7 @@ type KeyManagementServiceClient interface { // [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. DestroyCryptoKeyVersion(ctx context.Context, in *DestroyCryptoKeyVersionRequest, opts ...grpc.CallOption) (*CryptoKeyVersion, error) // Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the - // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], + // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] // state. // // Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] @@ -1289,6 +1781,15 @@ func (c *keyManagementServiceClient) GetCryptoKeyVersion(ctx context.Context, in return out, nil } +func (c *keyManagementServiceClient) GetPublicKey(ctx context.Context, in *GetPublicKeyRequest, opts ...grpc.CallOption) (*PublicKey, error) { + out := new(PublicKey) + err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.KeyManagementService/GetPublicKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *keyManagementServiceClient) CreateKeyRing(ctx context.Context, in *CreateKeyRingRequest, opts ...grpc.CallOption) (*KeyRing, error) { out := new(KeyRing) err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.KeyManagementService/CreateKeyRing", in, out, opts...) @@ -1352,6 +1853,24 @@ func (c *keyManagementServiceClient) Decrypt(ctx context.Context, in *DecryptReq return out, nil } +func (c *keyManagementServiceClient) AsymmetricSign(ctx context.Context, in *AsymmetricSignRequest, opts ...grpc.CallOption) (*AsymmetricSignResponse, error) { + out := new(AsymmetricSignResponse) + err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.KeyManagementService/AsymmetricSign", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keyManagementServiceClient) AsymmetricDecrypt(ctx context.Context, in *AsymmetricDecryptRequest, opts ...grpc.CallOption) (*AsymmetricDecryptResponse, error) { + out := new(AsymmetricDecryptResponse) + err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.KeyManagementService/AsymmetricDecrypt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *keyManagementServiceClient) UpdateCryptoKeyPrimaryVersion(ctx context.Context, in *UpdateCryptoKeyPrimaryVersionRequest, opts ...grpc.CallOption) (*CryptoKey, error) { out := new(CryptoKey) err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.KeyManagementService/UpdateCryptoKeyPrimaryVersion", in, out, opts...) @@ -1394,11 +1913,18 @@ type KeyManagementServiceServer interface { GetCryptoKey(context.Context, *GetCryptoKeyRequest) (*CryptoKey, error) // Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. GetCryptoKeyVersion(context.Context, *GetCryptoKeyVersionRequest) (*CryptoKeyVersion, error) + // Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + // [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. + GetPublicKey(context.Context, *GetPublicKeyRequest) (*PublicKey, error) // Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. CreateKeyRing(context.Context, *CreateKeyRingRequest) (*KeyRing, error) // Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. // - // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is required. + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and + // [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] + // are required. CreateCryptoKey(context.Context, *CreateCryptoKeyRequest) (*CryptoKey, error) // Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. // @@ -1417,10 +1943,23 @@ type KeyManagementServiceServer interface { // move between other states. UpdateCryptoKeyVersion(context.Context, *UpdateCryptoKeyVersionRequest) (*CryptoKeyVersion, error) // Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. + // The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) - // Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + // Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) - // Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] + // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // ASYMMETRIC_SIGN, producing a signature that can be verified with the public + // key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + AsymmetricSign(context.Context, *AsymmetricSignRequest) (*AsymmetricSignResponse, error) + // Decrypts data that was encrypted with a public key retrieved from + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + AsymmetricDecrypt(context.Context, *AsymmetricDecryptRequest) (*AsymmetricDecryptResponse, error) + // Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + // + // Returns an error if called on an asymmetric key. UpdateCryptoKeyPrimaryVersion(context.Context, *UpdateCryptoKeyPrimaryVersionRequest) (*CryptoKey, error) // Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. // @@ -1436,7 +1975,7 @@ type KeyManagementServiceServer interface { // [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. DestroyCryptoKeyVersion(context.Context, *DestroyCryptoKeyVersionRequest) (*CryptoKeyVersion, error) // Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the - // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], + // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] // state. // // Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] @@ -1557,6 +2096,24 @@ func _KeyManagementService_GetCryptoKeyVersion_Handler(srv interface{}, ctx cont return interceptor(ctx, in, info, handler) } +func _KeyManagementService_GetPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPublicKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeyManagementServiceServer).GetPublicKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.kms.v1.KeyManagementService/GetPublicKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeyManagementServiceServer).GetPublicKey(ctx, req.(*GetPublicKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _KeyManagementService_CreateKeyRing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateKeyRingRequest) if err := dec(in); err != nil { @@ -1683,6 +2240,42 @@ func _KeyManagementService_Decrypt_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _KeyManagementService_AsymmetricSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AsymmetricSignRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeyManagementServiceServer).AsymmetricSign(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.kms.v1.KeyManagementService/AsymmetricSign", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeyManagementServiceServer).AsymmetricSign(ctx, req.(*AsymmetricSignRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeyManagementService_AsymmetricDecrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AsymmetricDecryptRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeyManagementServiceServer).AsymmetricDecrypt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.kms.v1.KeyManagementService/AsymmetricDecrypt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeyManagementServiceServer).AsymmetricDecrypt(ctx, req.(*AsymmetricDecryptRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _KeyManagementService_UpdateCryptoKeyPrimaryVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateCryptoKeyPrimaryVersionRequest) if err := dec(in); err != nil { @@ -1765,6 +2358,10 @@ var _KeyManagementService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetCryptoKeyVersion", Handler: _KeyManagementService_GetCryptoKeyVersion_Handler, }, + { + MethodName: "GetPublicKey", + Handler: _KeyManagementService_GetPublicKey_Handler, + }, { MethodName: "CreateKeyRing", Handler: _KeyManagementService_CreateKeyRing_Handler, @@ -1793,6 +2390,14 @@ var _KeyManagementService_serviceDesc = grpc.ServiceDesc{ MethodName: "Decrypt", Handler: _KeyManagementService_Decrypt_Handler, }, + { + MethodName: "AsymmetricSign", + Handler: _KeyManagementService_AsymmetricSign_Handler, + }, + { + MethodName: "AsymmetricDecrypt", + Handler: _KeyManagementService_AsymmetricDecrypt_Handler, + }, { MethodName: "UpdateCryptoKeyPrimaryVersion", Handler: _KeyManagementService_UpdateCryptoKeyPrimaryVersion_Handler, @@ -1811,95 +2416,114 @@ var _KeyManagementService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/kms/v1/service.proto", fileDescriptor_service_d4f59c45586ec2a6) -} - -var fileDescriptor_service_d4f59c45586ec2a6 = []byte{ - // 1362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x98, 0xcd, 0x6f, 0xdc, 0xc4, - 0x1b, 0xc7, 0x35, 0xe9, 0xef, 0xd7, 0x66, 0x9f, 0xa4, 0x0d, 0x9d, 0xb4, 0x69, 0xb4, 0x4d, 0x56, - 0xc1, 0x2d, 0x25, 0xdd, 0x22, 0x9b, 0xdd, 0x56, 0x40, 0xb7, 0x2a, 0xa8, 0x69, 0xda, 0xa8, 0xda, - 0x06, 0x22, 0x87, 0x54, 0x50, 0x45, 0xda, 0x4e, 0xed, 0xe9, 0xd6, 0xec, 0xfa, 0x05, 0x7b, 0x36, - 0x74, 0x0b, 0xbd, 0x70, 0x80, 0x1e, 0x7a, 0x2b, 0x87, 0x22, 0x2e, 0x08, 0x6e, 0x08, 0x0e, 0xdc, - 0xb8, 0x70, 0xe3, 0xc4, 0x15, 0x55, 0x1c, 0x90, 0x38, 0xf1, 0x0f, 0x70, 0xe3, 0x88, 0x3c, 0x1e, - 0x7b, 0xd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x66, 0x9f, 0x17, 0x04, 0x2f, 0x41, 0xce, 0x69, 0x12, 0xc3, 0x62, 0xf4, 0x1e, - 0xe3, 0x3b, 0xcc, 0xaa, 0x9d, 0x01, 0xbc, 0x06, 0xcb, 0x44, 0xd7, 0x0d, 0xbf, 0x4d, 0x93, 0x66, - 0x8d, 0xb4, 0xd8, 0x5d, 0x6a, 0x31, 0x43, 0x23, 0x8c, 0xea, 0x35, 0x9d, 0x30, 0xc2, 0x0b, 0x6e, - 0x56, 0x3d, 0xde, 0x09, 0xba, 0xd4, 0x1d, 0xb3, 0x4e, 0x18, 0x91, 0x1e, 0x22, 0x38, 0xb4, 0x4e, - 0x07, 0x82, 0x14, 0x00, 0x34, 0xc3, 0xb9, 0x4b, 0xdd, 0x2e, 0x92, 0xae, 0x91, 0x89, 0xa0, 0x28, - 0x30, 0x17, 0x91, 0x88, 0x4b, 0x34, 0xa6, 0x1f, 0x25, 0xf4, 0x4b, 0x57, 0x60, 0x2e, 0x3a, 0x43, - 0x31, 0x61, 0x0c, 0x76, 0xc9, 0x84, 0x93, 0x89, 0xf2, 0xd9, 0x72, 0x0d, 0x93, 0xb8, 0x43, 0xdc, - 0x60, 0xb8, 0x04, 0x47, 0x7b, 0x2b, 0xab, 0x73, 0x19, 0xe0, 0x64, 0xd5, 0x5c, 0xd3, 0xa5, 0x73, - 0x50, 0x58, 0xa7, 0x1e, 0x73, 0xed, 0xf6, 0x28, 0x57, 0xe5, 0x39, 0x28, 0xa8, 0xd4, 0x63, 0xb6, - 0x4b, 0x47, 0x98, 0x55, 0xfe, 0xe3, 0x18, 0x1c, 0xa9, 0xd2, 0xf6, 0x26, 0xb1, 0x48, 0x9d, 0x9a, - 0xd4, 0x62, 0xdb, 0x81, 0x0f, 0xc4, 0x5f, 0x22, 0x98, 0xed, 0xee, 0xfe, 0x78, 0x35, 0xf5, 0x35, - 0x48, 0x71, 0x5b, 0xf9, 0xd3, 0x43, 0x44, 0x06, 0xd9, 0x90, 0xce, 0x7d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0x1b, 0x71, 0xb7, 0x88, 0xcf, 0x0f, 0x53, 0x45, - 0xa9, 0x0e, 0x73, 0xe0, 0x5b, 0xf1, 0x3e, 0x97, 0xb2, 0x2d, 0xbd, 0x3d, 0xbe, 0x94, 0xe0, 0x1b, - 0x24, 0xbe, 0xbd, 0xaf, 0xeb, 0x77, 0x04, 0xc7, 0x32, 0x6c, 0x29, 0x3e, 0x9b, 0x71, 0xce, 0xfd, - 0x4c, 0xec, 0xb0, 0x2f, 0xc6, 0x2d, 0x2e, 0xe9, 0xa6, 0xb4, 0x33, 0xd1, 0x66, 0x56, 0xd1, 0x03, - 0xb8, 0x50, 0x59, 0x86, 0x75, 0xce, 0x50, 0xd6, 0xdf, 0x68, 0xff, 0xc7, 0xca, 0xdc, 0x00, 0xae, - 0x82, 0x8a, 0x6b, 0x8f, 0x10, 0x1c, 0xd3, 0x6c, 0x33, 0x0d, 0x67, 0x6d, 0xba, 0x6a, 0x7a, 0x5b, - 0xfe, 0x37, 0xe8, 0x16, 0xba, 0xf9, 0x9a, 0x08, 0xa8, 0xdb, 0x4d, 0x62, 0xd5, 0x65, 0xdb, 0xad, - 0x2b, 0x75, 0x6a, 0xf1, 0x2f, 0x54, 0x25, 0x78, 0x44, 0x1c, 0xc3, 0x8b, 0xfd, 0x6b, 0xf7, 0x42, - 0xc3, 0xf4, 0xfe, 0x41, 0xe8, 0xbb, 0xa9, 0xf9, 0x8d, 0x60, 0xee, 0x65, 0xbe, 0x78, 0xd5, 0xf4, - 0xe4, 0x1b, 0xa5, 0x5f, 0xc3, 0xd1, 0x5d, 0x3e, 0xba, 0x5b, 0x35, 0xbd, 0xdd, 0x1b, 0xa5, 0xdb, - 0xfb, 0xf9, 0x8a, 0x67, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x63, 0xc5, 0xfd, 0xff, 0x81, 0x16, + proto.RegisterFile("google/cloud/kms/v1/service.proto", fileDescriptor_service_799861e3104b1d84) +} + +var fileDescriptor_service_799861e3104b1d84 = []byte{ + // 1666 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcd, 0x73, 0x1b, 0xc5, + 0x12, 0x7f, 0x63, 0xe7, 0x39, 0x76, 0xfb, 0x2b, 0x19, 0x27, 0x8e, 0x9f, 0x62, 0xbb, 0xfc, 0x26, + 0x79, 0x79, 0x8e, 0x03, 0x12, 0x92, 0x9d, 0x0f, 0x2b, 0x15, 0x28, 0x3b, 0x4e, 0x4c, 0xca, 0x71, + 0x70, 0xad, 0xb1, 0x21, 0x29, 0x53, 0xf2, 0x58, 0x3b, 0x91, 0x37, 0xd2, 0xee, 0x8a, 0xdd, 0x95, + 0x12, 0x05, 0x72, 0xe1, 0x00, 0x39, 0xe4, 0x16, 0x0e, 0xa1, 0xb8, 0x50, 0x70, 0xa3, 0xe0, 0xc0, + 0x0d, 0x0e, 0x5c, 0x28, 0x4e, 0xa9, 0xe2, 0x02, 0x95, 0xe2, 0x96, 0x13, 0xff, 0x00, 0x37, 0x8e, + 0xd4, 0xce, 0xce, 0xae, 0xb4, 0xab, 0x5d, 0x7d, 0x45, 0x29, 0x6e, 0xde, 0x99, 0x9e, 0x9e, 0xdf, + 0xaf, 0xfb, 0x37, 0x33, 0xdd, 0x32, 0xfc, 0x37, 0xa7, 0xeb, 0xb9, 0x02, 0x4b, 0x64, 0x0b, 0x7a, + 0x49, 0x4e, 0xe4, 0x55, 0x33, 0x51, 0x4e, 0x26, 0x4c, 0x66, 0x94, 0x95, 0x2c, 0x8b, 0x17, 0x0d, + 0xdd, 0xd2, 0xf1, 0x98, 0x63, 0x12, 0xe7, 0x26, 0xf1, 0xbc, 0x6a, 0xc6, 0xcb, 0xc9, 0xd8, 0xa4, + 0x58, 0x47, 0x8b, 0x4a, 0x82, 0x6a, 0x9a, 0x6e, 0x51, 0x4b, 0xd1, 0x35, 0xd3, 0x59, 0x12, 0x3b, + 0x11, 0xe6, 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0xd6, 0x54, 0x73, 0x67, 0x3b, 0xb9, + 0xd7, 0xc7, 0x3d, 0xce, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xac, 0x72, 0x95, 0x44, 0x8f, 0x1b, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1/language_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/language/v1/language_service.pb.go index ac110e7c3..5411cdf89 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1/language_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/language/v1/language_service.pb.go @@ -66,7 +66,7 @@ func (x EncodingType) String() string { return proto.EnumName(EncodingType_name, int32(x)) } func (EncodingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{0} } // The document types enum. @@ -96,7 +96,7 @@ func (x Document_Type) String() string { return proto.EnumName(Document_Type_name, int32(x)) } func (Document_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{0, 0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{0, 0} } // The type of the entity. @@ -146,7 +146,7 @@ func (x Entity_Type) String() string { return proto.EnumName(Entity_Type_name, int32(x)) } func (Entity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{2, 0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{2, 0} } // The part of speech tags enum. @@ -220,7 +220,7 @@ func (x PartOfSpeech_Tag) String() string { return proto.EnumName(PartOfSpeech_Tag_name, int32(x)) } func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 0} } // The characteristic of a verb that expresses time flow during an event. @@ -254,7 +254,7 @@ func (x PartOfSpeech_Aspect) String() string { return proto.EnumName(PartOfSpeech_Aspect_name, int32(x)) } func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 1} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 1} } // The grammatical function performed by a noun or pronoun in a phrase, @@ -334,7 +334,7 @@ func (x PartOfSpeech_Case) String() string { return proto.EnumName(PartOfSpeech_Case_name, int32(x)) } func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 2} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 2} } // Depending on the language, Form can be categorizing different forms of @@ -403,7 +403,7 @@ func (x PartOfSpeech_Form) String() string { return proto.EnumName(PartOfSpeech_Form_name, int32(x)) } func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 3} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 3} } // Gender classes of nouns reflected in the behaviour of associated words. @@ -437,7 +437,7 @@ func (x PartOfSpeech_Gender) String() string { return proto.EnumName(PartOfSpeech_Gender_name, int32(x)) } func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 4} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 4} } // The grammatical feature of verbs, used for showing modality and attitude. @@ -483,7 +483,7 @@ func (x PartOfSpeech_Mood) String() string { return proto.EnumName(PartOfSpeech_Mood_name, int32(x)) } func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 5} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 5} } // Count distinctions. @@ -517,7 +517,7 @@ func (x PartOfSpeech_Number) String() string { return proto.EnumName(PartOfSpeech_Number_name, int32(x)) } func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 6} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 6} } // The distinction between the speaker, second person, third person, etc. @@ -555,7 +555,7 @@ func (x PartOfSpeech_Person) String() string { return proto.EnumName(PartOfSpeech_Person_name, int32(x)) } func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 7} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 7} } // This category shows if the token is part of a proper name. @@ -585,7 +585,7 @@ func (x PartOfSpeech_Proper) String() string { return proto.EnumName(PartOfSpeech_Proper_name, int32(x)) } func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 8} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 8} } // Reciprocal features of a pronoun. @@ -616,7 +616,7 @@ func (x PartOfSpeech_Reciprocity) String() string { return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x)) } func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 9} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 9} } // Time reference. @@ -662,7 +662,7 @@ func (x PartOfSpeech_Tense) String() string { return proto.EnumName(PartOfSpeech_Tense_name, int32(x)) } func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 10} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 10} } // The relationship between the action that a verb expresses and the @@ -697,7 +697,7 @@ func (x PartOfSpeech_Voice) String() string { return proto.EnumName(PartOfSpeech_Voice_name, int32(x)) } func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5, 11} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5, 11} } // The parse label enum for the token. @@ -1047,7 +1047,7 @@ func (x DependencyEdge_Label) String() string { return proto.EnumName(DependencyEdge_Label_name, int32(x)) } func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{6, 0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{6, 0} } // The supported types of mentions. @@ -1077,7 +1077,7 @@ func (x EntityMention_Type) String() string { return proto.EnumName(EntityMention_Type_name, int32(x)) } func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{7, 0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{7, 0} } // ################################################################ # @@ -1112,7 +1112,7 @@ func (m *Document) Reset() { *m = Document{} } func (m *Document) String() string { return proto.CompactTextString(m) } func (*Document) ProtoMessage() {} func (*Document) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{0} } func (m *Document) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Document.Unmarshal(m, b) @@ -1132,6 +1132,13 @@ func (m *Document) XXX_DiscardUnknown() { var xxx_messageInfo_Document proto.InternalMessageInfo +func (m *Document) GetType() Document_Type { + if m != nil { + return m.Type + } + return Document_TYPE_UNSPECIFIED +} + type isDocument_Source interface { isDocument_Source() } @@ -1139,11 +1146,13 @@ type isDocument_Source interface { type Document_Content struct { Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"` } + type Document_GcsContentUri struct { GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,proto3,oneof"` } -func (*Document_Content) isDocument_Source() {} +func (*Document_Content) isDocument_Source() {} + func (*Document_GcsContentUri) isDocument_Source() {} func (m *Document) GetSource() isDocument_Source { @@ -1153,13 +1162,6 @@ func (m *Document) GetSource() isDocument_Source { return nil } -func (m *Document) GetType() Document_Type { - if m != nil { - return m.Type - } - return Document_TYPE_UNSPECIFIED -} - func (m *Document) GetContent() string { if x, ok := m.GetSource().(*Document_Content); ok { return x.Content @@ -1264,7 +1266,7 @@ func (m *Sentence) Reset() { *m = Sentence{} } func (m *Sentence) String() string { return proto.CompactTextString(m) } func (*Sentence) ProtoMessage() {} func (*Sentence) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{1} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{1} } func (m *Sentence) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentence.Unmarshal(m, b) @@ -1335,7 +1337,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{2} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{2} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -1416,7 +1418,7 @@ func (m *Token) Reset() { *m = Token{} } func (m *Token) String() string { return proto.CompactTextString(m) } func (*Token) ProtoMessage() {} func (*Token) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{3} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{3} } func (m *Token) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Token.Unmarshal(m, b) @@ -1483,7 +1485,7 @@ func (m *Sentiment) Reset() { *m = Sentiment{} } func (m *Sentiment) String() string { return proto.CompactTextString(m) } func (*Sentiment) ProtoMessage() {} func (*Sentiment) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{4} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{4} } func (m *Sentiment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentiment.Unmarshal(m, b) @@ -1554,7 +1556,7 @@ func (m *PartOfSpeech) Reset() { *m = PartOfSpeech{} } func (m *PartOfSpeech) String() string { return proto.CompactTextString(m) } func (*PartOfSpeech) ProtoMessage() {} func (*PartOfSpeech) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{5} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{5} } func (m *PartOfSpeech) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartOfSpeech.Unmarshal(m, b) @@ -1679,7 +1681,7 @@ func (m *DependencyEdge) Reset() { *m = DependencyEdge{} } func (m *DependencyEdge) String() string { return proto.CompactTextString(m) } func (*DependencyEdge) ProtoMessage() {} func (*DependencyEdge) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{6} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{6} } func (m *DependencyEdge) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DependencyEdge.Unmarshal(m, b) @@ -1734,7 +1736,7 @@ func (m *EntityMention) Reset() { *m = EntityMention{} } func (m *EntityMention) String() string { return proto.CompactTextString(m) } func (*EntityMention) ProtoMessage() {} func (*EntityMention) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{7} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{7} } func (m *EntityMention) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityMention.Unmarshal(m, b) @@ -1791,7 +1793,7 @@ func (m *TextSpan) Reset() { *m = TextSpan{} } func (m *TextSpan) String() string { return proto.CompactTextString(m) } func (*TextSpan) ProtoMessage() {} func (*TextSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{8} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{8} } func (m *TextSpan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextSpan.Unmarshal(m, b) @@ -1841,7 +1843,7 @@ func (m *ClassificationCategory) Reset() { *m = ClassificationCategory{} func (m *ClassificationCategory) String() string { return proto.CompactTextString(m) } func (*ClassificationCategory) ProtoMessage() {} func (*ClassificationCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{9} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{9} } func (m *ClassificationCategory) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationCategory.Unmarshal(m, b) @@ -1890,7 +1892,7 @@ func (m *AnalyzeSentimentRequest) Reset() { *m = AnalyzeSentimentRequest func (m *AnalyzeSentimentRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeSentimentRequest) ProtoMessage() {} func (*AnalyzeSentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{10} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{10} } func (m *AnalyzeSentimentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSentimentRequest.Unmarshal(m, b) @@ -1943,7 +1945,7 @@ func (m *AnalyzeSentimentResponse) Reset() { *m = AnalyzeSentimentRespon func (m *AnalyzeSentimentResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeSentimentResponse) ProtoMessage() {} func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{11} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{11} } func (m *AnalyzeSentimentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSentimentResponse.Unmarshal(m, b) @@ -1999,7 +2001,7 @@ func (m *AnalyzeEntitySentimentRequest) Reset() { *m = AnalyzeEntitySent func (m *AnalyzeEntitySentimentRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitySentimentRequest) ProtoMessage() {} func (*AnalyzeEntitySentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{12} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{12} } func (m *AnalyzeEntitySentimentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitySentimentRequest.Unmarshal(m, b) @@ -2050,7 +2052,7 @@ func (m *AnalyzeEntitySentimentResponse) Reset() { *m = AnalyzeEntitySen func (m *AnalyzeEntitySentimentResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitySentimentResponse) ProtoMessage() {} func (*AnalyzeEntitySentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{13} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{13} } func (m *AnalyzeEntitySentimentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitySentimentResponse.Unmarshal(m, b) @@ -2099,7 +2101,7 @@ func (m *AnalyzeEntitiesRequest) Reset() { *m = AnalyzeEntitiesRequest{} func (m *AnalyzeEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitiesRequest) ProtoMessage() {} func (*AnalyzeEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{14} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{14} } func (m *AnalyzeEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitiesRequest.Unmarshal(m, b) @@ -2150,7 +2152,7 @@ func (m *AnalyzeEntitiesResponse) Reset() { *m = AnalyzeEntitiesResponse func (m *AnalyzeEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitiesResponse) ProtoMessage() {} func (*AnalyzeEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{15} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{15} } func (m *AnalyzeEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitiesResponse.Unmarshal(m, b) @@ -2199,7 +2201,7 @@ func (m *AnalyzeSyntaxRequest) Reset() { *m = AnalyzeSyntaxRequest{} } func (m *AnalyzeSyntaxRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeSyntaxRequest) ProtoMessage() {} func (*AnalyzeSyntaxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{16} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{16} } func (m *AnalyzeSyntaxRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSyntaxRequest.Unmarshal(m, b) @@ -2252,7 +2254,7 @@ func (m *AnalyzeSyntaxResponse) Reset() { *m = AnalyzeSyntaxResponse{} } func (m *AnalyzeSyntaxResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeSyntaxResponse) ProtoMessage() {} func (*AnalyzeSyntaxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{17} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{17} } func (m *AnalyzeSyntaxResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSyntaxResponse.Unmarshal(m, b) @@ -2306,7 +2308,7 @@ func (m *ClassifyTextRequest) Reset() { *m = ClassifyTextRequest{} } func (m *ClassifyTextRequest) String() string { return proto.CompactTextString(m) } func (*ClassifyTextRequest) ProtoMessage() {} func (*ClassifyTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{18} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{18} } func (m *ClassifyTextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassifyTextRequest.Unmarshal(m, b) @@ -2346,7 +2348,7 @@ func (m *ClassifyTextResponse) Reset() { *m = ClassifyTextResponse{} } func (m *ClassifyTextResponse) String() string { return proto.CompactTextString(m) } func (*ClassifyTextResponse) ProtoMessage() {} func (*ClassifyTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{19} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{19} } func (m *ClassifyTextResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassifyTextResponse.Unmarshal(m, b) @@ -2391,7 +2393,7 @@ func (m *AnnotateTextRequest) Reset() { *m = AnnotateTextRequest{} } func (m *AnnotateTextRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateTextRequest) ProtoMessage() {} func (*AnnotateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{20} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{20} } func (m *AnnotateTextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextRequest.Unmarshal(m, b) @@ -2454,7 +2456,7 @@ func (m *AnnotateTextRequest_Features) Reset() { *m = AnnotateTextReques func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) } func (*AnnotateTextRequest_Features) ProtoMessage() {} func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{20, 0} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{20, 0} } func (m *AnnotateTextRequest_Features) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextRequest_Features.Unmarshal(m, b) @@ -2540,7 +2542,7 @@ func (m *AnnotateTextResponse) Reset() { *m = AnnotateTextResponse{} } func (m *AnnotateTextResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateTextResponse) ProtoMessage() {} func (*AnnotateTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a87524f9cd7353ae, []int{21} + return fileDescriptor_language_service_7142fb5eff0cd389, []int{21} } func (m *AnnotateTextResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextResponse.Unmarshal(m, b) @@ -2908,10 +2910,10 @@ var _LanguageService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/language/v1/language_service.proto", fileDescriptor_language_service_a87524f9cd7353ae) + proto.RegisterFile("google/cloud/language/v1/language_service.proto", fileDescriptor_language_service_7142fb5eff0cd389) } -var fileDescriptor_language_service_a87524f9cd7353ae = []byte{ +var fileDescriptor_language_service_7142fb5eff0cd389 = []byte{ // 2967 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcb, 0x73, 0xdb, 0xd6, 0xd5, 0x37, 0xf8, 0x12, 0x75, 0x28, 0xc9, 0xd7, 0xb0, 0xe3, 0xf0, 0x53, 0x1c, 0xc7, 0x81, 0x63, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta1/language_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta1/language_service.pb.go index d639509eb..bd88f5b1c 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta1/language_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta1/language_service.pb.go @@ -66,7 +66,7 @@ func (x EncodingType) String() string { return proto.EnumName(EncodingType_name, int32(x)) } func (EncodingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{0} } // The document types enum. @@ -96,7 +96,7 @@ func (x Document_Type) String() string { return proto.EnumName(Document_Type_name, int32(x)) } func (Document_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{0, 0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{0, 0} } // The type of the entity. @@ -146,7 +146,7 @@ func (x Entity_Type) String() string { return proto.EnumName(Entity_Type_name, int32(x)) } func (Entity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{2, 0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{2, 0} } // The part of speech tags enum. @@ -220,7 +220,7 @@ func (x PartOfSpeech_Tag) String() string { return proto.EnumName(PartOfSpeech_Tag_name, int32(x)) } func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 0} } // The characteristic of a verb that expresses time flow during an event. @@ -254,7 +254,7 @@ func (x PartOfSpeech_Aspect) String() string { return proto.EnumName(PartOfSpeech_Aspect_name, int32(x)) } func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 1} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 1} } // The grammatical function performed by a noun or pronoun in a phrase, @@ -334,7 +334,7 @@ func (x PartOfSpeech_Case) String() string { return proto.EnumName(PartOfSpeech_Case_name, int32(x)) } func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 2} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 2} } // Depending on the language, Form can be categorizing different forms of @@ -403,7 +403,7 @@ func (x PartOfSpeech_Form) String() string { return proto.EnumName(PartOfSpeech_Form_name, int32(x)) } func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 3} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 3} } // Gender classes of nouns reflected in the behaviour of associated words. @@ -437,7 +437,7 @@ func (x PartOfSpeech_Gender) String() string { return proto.EnumName(PartOfSpeech_Gender_name, int32(x)) } func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 4} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 4} } // The grammatical feature of verbs, used for showing modality and attitude. @@ -483,7 +483,7 @@ func (x PartOfSpeech_Mood) String() string { return proto.EnumName(PartOfSpeech_Mood_name, int32(x)) } func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 5} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 5} } // Count distinctions. @@ -517,7 +517,7 @@ func (x PartOfSpeech_Number) String() string { return proto.EnumName(PartOfSpeech_Number_name, int32(x)) } func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 6} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 6} } // The distinction between the speaker, second person, third person, etc. @@ -555,7 +555,7 @@ func (x PartOfSpeech_Person) String() string { return proto.EnumName(PartOfSpeech_Person_name, int32(x)) } func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 7} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 7} } // This category shows if the token is part of a proper name. @@ -585,7 +585,7 @@ func (x PartOfSpeech_Proper) String() string { return proto.EnumName(PartOfSpeech_Proper_name, int32(x)) } func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 8} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 8} } // Reciprocal features of a pronoun. @@ -616,7 +616,7 @@ func (x PartOfSpeech_Reciprocity) String() string { return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x)) } func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 9} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 9} } // Time reference. @@ -662,7 +662,7 @@ func (x PartOfSpeech_Tense) String() string { return proto.EnumName(PartOfSpeech_Tense_name, int32(x)) } func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 10} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 10} } // The relationship between the action that a verb expresses and the @@ -697,7 +697,7 @@ func (x PartOfSpeech_Voice) String() string { return proto.EnumName(PartOfSpeech_Voice_name, int32(x)) } func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5, 11} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5, 11} } // The parse label enum for the token. @@ -1023,7 +1023,7 @@ func (x DependencyEdge_Label) String() string { return proto.EnumName(DependencyEdge_Label_name, int32(x)) } func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{6, 0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{6, 0} } // The supported types of mentions. @@ -1053,7 +1053,7 @@ func (x EntityMention_Type) String() string { return proto.EnumName(EntityMention_Type_name, int32(x)) } func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{7, 0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{7, 0} } // ################################################################ # @@ -1088,7 +1088,7 @@ func (m *Document) Reset() { *m = Document{} } func (m *Document) String() string { return proto.CompactTextString(m) } func (*Document) ProtoMessage() {} func (*Document) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{0} } func (m *Document) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Document.Unmarshal(m, b) @@ -1108,6 +1108,13 @@ func (m *Document) XXX_DiscardUnknown() { var xxx_messageInfo_Document proto.InternalMessageInfo +func (m *Document) GetType() Document_Type { + if m != nil { + return m.Type + } + return Document_TYPE_UNSPECIFIED +} + type isDocument_Source interface { isDocument_Source() } @@ -1115,11 +1122,13 @@ type isDocument_Source interface { type Document_Content struct { Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"` } + type Document_GcsContentUri struct { GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,proto3,oneof"` } -func (*Document_Content) isDocument_Source() {} +func (*Document_Content) isDocument_Source() {} + func (*Document_GcsContentUri) isDocument_Source() {} func (m *Document) GetSource() isDocument_Source { @@ -1129,13 +1138,6 @@ func (m *Document) GetSource() isDocument_Source { return nil } -func (m *Document) GetType() Document_Type { - if m != nil { - return m.Type - } - return Document_TYPE_UNSPECIFIED -} - func (m *Document) GetContent() string { if x, ok := m.GetSource().(*Document_Content); ok { return x.Content @@ -1240,7 +1242,7 @@ func (m *Sentence) Reset() { *m = Sentence{} } func (m *Sentence) String() string { return proto.CompactTextString(m) } func (*Sentence) ProtoMessage() {} func (*Sentence) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{1} + return fileDescriptor_language_service_6923389ebfb7184c, []int{1} } func (m *Sentence) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentence.Unmarshal(m, b) @@ -1306,7 +1308,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{2} + return fileDescriptor_language_service_6923389ebfb7184c, []int{2} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -1380,7 +1382,7 @@ func (m *Token) Reset() { *m = Token{} } func (m *Token) String() string { return proto.CompactTextString(m) } func (*Token) ProtoMessage() {} func (*Token) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{3} + return fileDescriptor_language_service_6923389ebfb7184c, []int{3} } func (m *Token) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Token.Unmarshal(m, b) @@ -1451,7 +1453,7 @@ func (m *Sentiment) Reset() { *m = Sentiment{} } func (m *Sentiment) String() string { return proto.CompactTextString(m) } func (*Sentiment) ProtoMessage() {} func (*Sentiment) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{4} + return fileDescriptor_language_service_6923389ebfb7184c, []int{4} } func (m *Sentiment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentiment.Unmarshal(m, b) @@ -1527,7 +1529,7 @@ func (m *PartOfSpeech) Reset() { *m = PartOfSpeech{} } func (m *PartOfSpeech) String() string { return proto.CompactTextString(m) } func (*PartOfSpeech) ProtoMessage() {} func (*PartOfSpeech) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{5} + return fileDescriptor_language_service_6923389ebfb7184c, []int{5} } func (m *PartOfSpeech) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartOfSpeech.Unmarshal(m, b) @@ -1650,7 +1652,7 @@ func (m *DependencyEdge) Reset() { *m = DependencyEdge{} } func (m *DependencyEdge) String() string { return proto.CompactTextString(m) } func (*DependencyEdge) ProtoMessage() {} func (*DependencyEdge) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{6} + return fileDescriptor_language_service_6923389ebfb7184c, []int{6} } func (m *DependencyEdge) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DependencyEdge.Unmarshal(m, b) @@ -1700,7 +1702,7 @@ func (m *EntityMention) Reset() { *m = EntityMention{} } func (m *EntityMention) String() string { return proto.CompactTextString(m) } func (*EntityMention) ProtoMessage() {} func (*EntityMention) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{7} + return fileDescriptor_language_service_6923389ebfb7184c, []int{7} } func (m *EntityMention) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityMention.Unmarshal(m, b) @@ -1750,7 +1752,7 @@ func (m *TextSpan) Reset() { *m = TextSpan{} } func (m *TextSpan) String() string { return proto.CompactTextString(m) } func (*TextSpan) ProtoMessage() {} func (*TextSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{8} + return fileDescriptor_language_service_6923389ebfb7184c, []int{8} } func (m *TextSpan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextSpan.Unmarshal(m, b) @@ -1800,7 +1802,7 @@ func (m *AnalyzeSentimentRequest) Reset() { *m = AnalyzeSentimentRequest func (m *AnalyzeSentimentRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeSentimentRequest) ProtoMessage() {} func (*AnalyzeSentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{9} + return fileDescriptor_language_service_6923389ebfb7184c, []int{9} } func (m *AnalyzeSentimentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSentimentRequest.Unmarshal(m, b) @@ -1853,7 +1855,7 @@ func (m *AnalyzeSentimentResponse) Reset() { *m = AnalyzeSentimentRespon func (m *AnalyzeSentimentResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeSentimentResponse) ProtoMessage() {} func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{10} + return fileDescriptor_language_service_6923389ebfb7184c, []int{10} } func (m *AnalyzeSentimentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSentimentResponse.Unmarshal(m, b) @@ -1909,7 +1911,7 @@ func (m *AnalyzeEntitiesRequest) Reset() { *m = AnalyzeEntitiesRequest{} func (m *AnalyzeEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitiesRequest) ProtoMessage() {} func (*AnalyzeEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{11} + return fileDescriptor_language_service_6923389ebfb7184c, []int{11} } func (m *AnalyzeEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitiesRequest.Unmarshal(m, b) @@ -1960,7 +1962,7 @@ func (m *AnalyzeEntitiesResponse) Reset() { *m = AnalyzeEntitiesResponse func (m *AnalyzeEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitiesResponse) ProtoMessage() {} func (*AnalyzeEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{12} + return fileDescriptor_language_service_6923389ebfb7184c, []int{12} } func (m *AnalyzeEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitiesResponse.Unmarshal(m, b) @@ -2009,7 +2011,7 @@ func (m *AnalyzeSyntaxRequest) Reset() { *m = AnalyzeSyntaxRequest{} } func (m *AnalyzeSyntaxRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeSyntaxRequest) ProtoMessage() {} func (*AnalyzeSyntaxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{13} + return fileDescriptor_language_service_6923389ebfb7184c, []int{13} } func (m *AnalyzeSyntaxRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSyntaxRequest.Unmarshal(m, b) @@ -2062,7 +2064,7 @@ func (m *AnalyzeSyntaxResponse) Reset() { *m = AnalyzeSyntaxResponse{} } func (m *AnalyzeSyntaxResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeSyntaxResponse) ProtoMessage() {} func (*AnalyzeSyntaxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{14} + return fileDescriptor_language_service_6923389ebfb7184c, []int{14} } func (m *AnalyzeSyntaxResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSyntaxResponse.Unmarshal(m, b) @@ -2121,7 +2123,7 @@ func (m *AnnotateTextRequest) Reset() { *m = AnnotateTextRequest{} } func (m *AnnotateTextRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateTextRequest) ProtoMessage() {} func (*AnnotateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{15} + return fileDescriptor_language_service_6923389ebfb7184c, []int{15} } func (m *AnnotateTextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextRequest.Unmarshal(m, b) @@ -2180,7 +2182,7 @@ func (m *AnnotateTextRequest_Features) Reset() { *m = AnnotateTextReques func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) } func (*AnnotateTextRequest_Features) ProtoMessage() {} func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{15, 0} + return fileDescriptor_language_service_6923389ebfb7184c, []int{15, 0} } func (m *AnnotateTextRequest_Features) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextRequest_Features.Unmarshal(m, b) @@ -2250,7 +2252,7 @@ func (m *AnnotateTextResponse) Reset() { *m = AnnotateTextResponse{} } func (m *AnnotateTextResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateTextResponse) ProtoMessage() {} func (*AnnotateTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_a8b493c4ac3a737f, []int{16} + return fileDescriptor_language_service_6923389ebfb7184c, []int{16} } func (m *AnnotateTextResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextResponse.Unmarshal(m, b) @@ -2534,10 +2536,10 @@ var _LanguageService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/language/v1beta1/language_service.proto", fileDescriptor_language_service_a8b493c4ac3a737f) + proto.RegisterFile("google/cloud/language/v1beta1/language_service.proto", fileDescriptor_language_service_6923389ebfb7184c) } -var fileDescriptor_language_service_a8b493c4ac3a737f = []byte{ +var fileDescriptor_language_service_6923389ebfb7184c = []byte{ // 2755 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4f, 0x73, 0xdb, 0xc6, 0x15, 0x37, 0xf8, 0x4f, 0xe4, 0x92, 0x92, 0xd6, 0x88, 0x93, 0xb0, 0x6a, 0xd2, 0x38, 0x48, 0x5c, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta2/language_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta2/language_service.pb.go index a1d685cbe..d73f2dd85 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta2/language_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta2/language_service.pb.go @@ -69,7 +69,7 @@ func (x EncodingType) String() string { return proto.EnumName(EncodingType_name, int32(x)) } func (EncodingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{0} } // The document types enum. @@ -99,7 +99,7 @@ func (x Document_Type) String() string { return proto.EnumName(Document_Type_name, int32(x)) } func (Document_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{0, 0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{0, 0} } // The type of the entity. @@ -149,7 +149,7 @@ func (x Entity_Type) String() string { return proto.EnumName(Entity_Type_name, int32(x)) } func (Entity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{2, 0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{2, 0} } // The part of speech tags enum. @@ -223,7 +223,7 @@ func (x PartOfSpeech_Tag) String() string { return proto.EnumName(PartOfSpeech_Tag_name, int32(x)) } func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 0} } // The characteristic of a verb that expresses time flow during an event. @@ -257,7 +257,7 @@ func (x PartOfSpeech_Aspect) String() string { return proto.EnumName(PartOfSpeech_Aspect_name, int32(x)) } func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 1} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 1} } // The grammatical function performed by a noun or pronoun in a phrase, @@ -337,7 +337,7 @@ func (x PartOfSpeech_Case) String() string { return proto.EnumName(PartOfSpeech_Case_name, int32(x)) } func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 2} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 2} } // Depending on the language, Form can be categorizing different forms of @@ -406,7 +406,7 @@ func (x PartOfSpeech_Form) String() string { return proto.EnumName(PartOfSpeech_Form_name, int32(x)) } func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 3} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 3} } // Gender classes of nouns reflected in the behaviour of associated words. @@ -440,7 +440,7 @@ func (x PartOfSpeech_Gender) String() string { return proto.EnumName(PartOfSpeech_Gender_name, int32(x)) } func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 4} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 4} } // The grammatical feature of verbs, used for showing modality and attitude. @@ -486,7 +486,7 @@ func (x PartOfSpeech_Mood) String() string { return proto.EnumName(PartOfSpeech_Mood_name, int32(x)) } func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 5} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 5} } // Count distinctions. @@ -520,7 +520,7 @@ func (x PartOfSpeech_Number) String() string { return proto.EnumName(PartOfSpeech_Number_name, int32(x)) } func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 6} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 6} } // The distinction between the speaker, second person, third person, etc. @@ -558,7 +558,7 @@ func (x PartOfSpeech_Person) String() string { return proto.EnumName(PartOfSpeech_Person_name, int32(x)) } func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 7} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 7} } // This category shows if the token is part of a proper name. @@ -588,7 +588,7 @@ func (x PartOfSpeech_Proper) String() string { return proto.EnumName(PartOfSpeech_Proper_name, int32(x)) } func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 8} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 8} } // Reciprocal features of a pronoun. @@ -619,7 +619,7 @@ func (x PartOfSpeech_Reciprocity) String() string { return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x)) } func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 9} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 9} } // Time reference. @@ -665,7 +665,7 @@ func (x PartOfSpeech_Tense) String() string { return proto.EnumName(PartOfSpeech_Tense_name, int32(x)) } func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 10} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 10} } // The relationship between the action that a verb expresses and the @@ -700,7 +700,7 @@ func (x PartOfSpeech_Voice) String() string { return proto.EnumName(PartOfSpeech_Voice_name, int32(x)) } func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5, 11} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5, 11} } // The parse label enum for the token. @@ -1050,7 +1050,7 @@ func (x DependencyEdge_Label) String() string { return proto.EnumName(DependencyEdge_Label_name, int32(x)) } func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{6, 0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{6, 0} } // The supported types of mentions. @@ -1080,7 +1080,7 @@ func (x EntityMention_Type) String() string { return proto.EnumName(EntityMention_Type_name, int32(x)) } func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{7, 0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{7, 0} } // ################################################################ # @@ -1115,7 +1115,7 @@ func (m *Document) Reset() { *m = Document{} } func (m *Document) String() string { return proto.CompactTextString(m) } func (*Document) ProtoMessage() {} func (*Document) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{0} } func (m *Document) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Document.Unmarshal(m, b) @@ -1135,6 +1135,13 @@ func (m *Document) XXX_DiscardUnknown() { var xxx_messageInfo_Document proto.InternalMessageInfo +func (m *Document) GetType() Document_Type { + if m != nil { + return m.Type + } + return Document_TYPE_UNSPECIFIED +} + type isDocument_Source interface { isDocument_Source() } @@ -1142,11 +1149,13 @@ type isDocument_Source interface { type Document_Content struct { Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"` } + type Document_GcsContentUri struct { GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,proto3,oneof"` } -func (*Document_Content) isDocument_Source() {} +func (*Document_Content) isDocument_Source() {} + func (*Document_GcsContentUri) isDocument_Source() {} func (m *Document) GetSource() isDocument_Source { @@ -1156,13 +1165,6 @@ func (m *Document) GetSource() isDocument_Source { return nil } -func (m *Document) GetType() Document_Type { - if m != nil { - return m.Type - } - return Document_TYPE_UNSPECIFIED -} - func (m *Document) GetContent() string { if x, ok := m.GetSource().(*Document_Content); ok { return x.Content @@ -1267,7 +1269,7 @@ func (m *Sentence) Reset() { *m = Sentence{} } func (m *Sentence) String() string { return proto.CompactTextString(m) } func (*Sentence) ProtoMessage() {} func (*Sentence) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{1} + return fileDescriptor_language_service_62b42b651f43d67b, []int{1} } func (m *Sentence) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentence.Unmarshal(m, b) @@ -1338,7 +1340,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{2} + return fileDescriptor_language_service_62b42b651f43d67b, []int{2} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -1419,7 +1421,7 @@ func (m *Token) Reset() { *m = Token{} } func (m *Token) String() string { return proto.CompactTextString(m) } func (*Token) ProtoMessage() {} func (*Token) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{3} + return fileDescriptor_language_service_62b42b651f43d67b, []int{3} } func (m *Token) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Token.Unmarshal(m, b) @@ -1486,7 +1488,7 @@ func (m *Sentiment) Reset() { *m = Sentiment{} } func (m *Sentiment) String() string { return proto.CompactTextString(m) } func (*Sentiment) ProtoMessage() {} func (*Sentiment) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{4} + return fileDescriptor_language_service_62b42b651f43d67b, []int{4} } func (m *Sentiment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Sentiment.Unmarshal(m, b) @@ -1555,7 +1557,7 @@ func (m *PartOfSpeech) Reset() { *m = PartOfSpeech{} } func (m *PartOfSpeech) String() string { return proto.CompactTextString(m) } func (*PartOfSpeech) ProtoMessage() {} func (*PartOfSpeech) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{5} + return fileDescriptor_language_service_62b42b651f43d67b, []int{5} } func (m *PartOfSpeech) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartOfSpeech.Unmarshal(m, b) @@ -1678,7 +1680,7 @@ func (m *DependencyEdge) Reset() { *m = DependencyEdge{} } func (m *DependencyEdge) String() string { return proto.CompactTextString(m) } func (*DependencyEdge) ProtoMessage() {} func (*DependencyEdge) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{6} + return fileDescriptor_language_service_62b42b651f43d67b, []int{6} } func (m *DependencyEdge) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DependencyEdge.Unmarshal(m, b) @@ -1733,7 +1735,7 @@ func (m *EntityMention) Reset() { *m = EntityMention{} } func (m *EntityMention) String() string { return proto.CompactTextString(m) } func (*EntityMention) ProtoMessage() {} func (*EntityMention) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{7} + return fileDescriptor_language_service_62b42b651f43d67b, []int{7} } func (m *EntityMention) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityMention.Unmarshal(m, b) @@ -1790,7 +1792,7 @@ func (m *TextSpan) Reset() { *m = TextSpan{} } func (m *TextSpan) String() string { return proto.CompactTextString(m) } func (*TextSpan) ProtoMessage() {} func (*TextSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{8} + return fileDescriptor_language_service_62b42b651f43d67b, []int{8} } func (m *TextSpan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextSpan.Unmarshal(m, b) @@ -1840,7 +1842,7 @@ func (m *ClassificationCategory) Reset() { *m = ClassificationCategory{} func (m *ClassificationCategory) String() string { return proto.CompactTextString(m) } func (*ClassificationCategory) ProtoMessage() {} func (*ClassificationCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{9} + return fileDescriptor_language_service_62b42b651f43d67b, []int{9} } func (m *ClassificationCategory) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassificationCategory.Unmarshal(m, b) @@ -1890,7 +1892,7 @@ func (m *AnalyzeSentimentRequest) Reset() { *m = AnalyzeSentimentRequest func (m *AnalyzeSentimentRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeSentimentRequest) ProtoMessage() {} func (*AnalyzeSentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{10} + return fileDescriptor_language_service_62b42b651f43d67b, []int{10} } func (m *AnalyzeSentimentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSentimentRequest.Unmarshal(m, b) @@ -1943,7 +1945,7 @@ func (m *AnalyzeSentimentResponse) Reset() { *m = AnalyzeSentimentRespon func (m *AnalyzeSentimentResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeSentimentResponse) ProtoMessage() {} func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{11} + return fileDescriptor_language_service_62b42b651f43d67b, []int{11} } func (m *AnalyzeSentimentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSentimentResponse.Unmarshal(m, b) @@ -1999,7 +2001,7 @@ func (m *AnalyzeEntitySentimentRequest) Reset() { *m = AnalyzeEntitySent func (m *AnalyzeEntitySentimentRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitySentimentRequest) ProtoMessage() {} func (*AnalyzeEntitySentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{12} + return fileDescriptor_language_service_62b42b651f43d67b, []int{12} } func (m *AnalyzeEntitySentimentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitySentimentRequest.Unmarshal(m, b) @@ -2050,7 +2052,7 @@ func (m *AnalyzeEntitySentimentResponse) Reset() { *m = AnalyzeEntitySen func (m *AnalyzeEntitySentimentResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitySentimentResponse) ProtoMessage() {} func (*AnalyzeEntitySentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{13} + return fileDescriptor_language_service_62b42b651f43d67b, []int{13} } func (m *AnalyzeEntitySentimentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitySentimentResponse.Unmarshal(m, b) @@ -2099,7 +2101,7 @@ func (m *AnalyzeEntitiesRequest) Reset() { *m = AnalyzeEntitiesRequest{} func (m *AnalyzeEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitiesRequest) ProtoMessage() {} func (*AnalyzeEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{14} + return fileDescriptor_language_service_62b42b651f43d67b, []int{14} } func (m *AnalyzeEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitiesRequest.Unmarshal(m, b) @@ -2150,7 +2152,7 @@ func (m *AnalyzeEntitiesResponse) Reset() { *m = AnalyzeEntitiesResponse func (m *AnalyzeEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeEntitiesResponse) ProtoMessage() {} func (*AnalyzeEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{15} + return fileDescriptor_language_service_62b42b651f43d67b, []int{15} } func (m *AnalyzeEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeEntitiesResponse.Unmarshal(m, b) @@ -2199,7 +2201,7 @@ func (m *AnalyzeSyntaxRequest) Reset() { *m = AnalyzeSyntaxRequest{} } func (m *AnalyzeSyntaxRequest) String() string { return proto.CompactTextString(m) } func (*AnalyzeSyntaxRequest) ProtoMessage() {} func (*AnalyzeSyntaxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{16} + return fileDescriptor_language_service_62b42b651f43d67b, []int{16} } func (m *AnalyzeSyntaxRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSyntaxRequest.Unmarshal(m, b) @@ -2252,7 +2254,7 @@ func (m *AnalyzeSyntaxResponse) Reset() { *m = AnalyzeSyntaxResponse{} } func (m *AnalyzeSyntaxResponse) String() string { return proto.CompactTextString(m) } func (*AnalyzeSyntaxResponse) ProtoMessage() {} func (*AnalyzeSyntaxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{17} + return fileDescriptor_language_service_62b42b651f43d67b, []int{17} } func (m *AnalyzeSyntaxResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnalyzeSyntaxResponse.Unmarshal(m, b) @@ -2306,7 +2308,7 @@ func (m *ClassifyTextRequest) Reset() { *m = ClassifyTextRequest{} } func (m *ClassifyTextRequest) String() string { return proto.CompactTextString(m) } func (*ClassifyTextRequest) ProtoMessage() {} func (*ClassifyTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{18} + return fileDescriptor_language_service_62b42b651f43d67b, []int{18} } func (m *ClassifyTextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassifyTextRequest.Unmarshal(m, b) @@ -2346,7 +2348,7 @@ func (m *ClassifyTextResponse) Reset() { *m = ClassifyTextResponse{} } func (m *ClassifyTextResponse) String() string { return proto.CompactTextString(m) } func (*ClassifyTextResponse) ProtoMessage() {} func (*ClassifyTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{19} + return fileDescriptor_language_service_62b42b651f43d67b, []int{19} } func (m *ClassifyTextResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClassifyTextResponse.Unmarshal(m, b) @@ -2391,7 +2393,7 @@ func (m *AnnotateTextRequest) Reset() { *m = AnnotateTextRequest{} } func (m *AnnotateTextRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateTextRequest) ProtoMessage() {} func (*AnnotateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{20} + return fileDescriptor_language_service_62b42b651f43d67b, []int{20} } func (m *AnnotateTextRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextRequest.Unmarshal(m, b) @@ -2454,7 +2456,7 @@ func (m *AnnotateTextRequest_Features) Reset() { *m = AnnotateTextReques func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) } func (*AnnotateTextRequest_Features) ProtoMessage() {} func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{20, 0} + return fileDescriptor_language_service_62b42b651f43d67b, []int{20, 0} } func (m *AnnotateTextRequest_Features) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextRequest_Features.Unmarshal(m, b) @@ -2540,7 +2542,7 @@ func (m *AnnotateTextResponse) Reset() { *m = AnnotateTextResponse{} } func (m *AnnotateTextResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateTextResponse) ProtoMessage() {} func (*AnnotateTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_language_service_e31a2a45b17cb49a, []int{21} + return fileDescriptor_language_service_62b42b651f43d67b, []int{21} } func (m *AnnotateTextResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateTextResponse.Unmarshal(m, b) @@ -2908,10 +2910,10 @@ var _LanguageService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/language/v1beta2/language_service.proto", fileDescriptor_language_service_e31a2a45b17cb49a) + proto.RegisterFile("google/cloud/language/v1beta2/language_service.proto", fileDescriptor_language_service_62b42b651f43d67b) } -var fileDescriptor_language_service_e31a2a45b17cb49a = []byte{ +var fileDescriptor_language_service_62b42b651f43d67b = []byte{ // 3019 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0x4b, 0x73, 0xdb, 0xc6, 0xfd, 0x06, 0x5f, 0xa2, 0x96, 0x92, 0xbc, 0x86, 0x1d, 0x9b, 0x7f, 0xfd, 0xf3, 0x70, 0xe0, 0xb8, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/location/locations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/location/locations.pb.go index 69702e083..5a08db474 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/location/locations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/location/locations.pb.go @@ -44,7 +44,7 @@ func (m *ListLocationsRequest) Reset() { *m = ListLocationsRequest{} } func (m *ListLocationsRequest) String() string { return proto.CompactTextString(m) } func (*ListLocationsRequest) ProtoMessage() {} func (*ListLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_locations_0b4e7e1f81e8a26c, []int{0} + return fileDescriptor_locations_7a7af132c8d24683, []int{0} } func (m *ListLocationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLocationsRequest.Unmarshal(m, b) @@ -107,7 +107,7 @@ func (m *ListLocationsResponse) Reset() { *m = ListLocationsResponse{} } func (m *ListLocationsResponse) String() string { return proto.CompactTextString(m) } func (*ListLocationsResponse) ProtoMessage() {} func (*ListLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_locations_0b4e7e1f81e8a26c, []int{1} + return fileDescriptor_locations_7a7af132c8d24683, []int{1} } func (m *ListLocationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLocationsResponse.Unmarshal(m, b) @@ -154,7 +154,7 @@ func (m *GetLocationRequest) Reset() { *m = GetLocationRequest{} } func (m *GetLocationRequest) String() string { return proto.CompactTextString(m) } func (*GetLocationRequest) ProtoMessage() {} func (*GetLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_locations_0b4e7e1f81e8a26c, []int{2} + return fileDescriptor_locations_7a7af132c8d24683, []int{2} } func (m *GetLocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLocationRequest.Unmarshal(m, b) @@ -207,7 +207,7 @@ func (m *Location) Reset() { *m = Location{} } func (m *Location) String() string { return proto.CompactTextString(m) } func (*Location) ProtoMessage() {} func (*Location) Descriptor() ([]byte, []int) { - return fileDescriptor_locations_0b4e7e1f81e8a26c, []int{3} + return fileDescriptor_locations_7a7af132c8d24683, []int{3} } func (m *Location) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Location.Unmarshal(m, b) @@ -380,10 +380,10 @@ var _Locations_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/location/locations.proto", fileDescriptor_locations_0b4e7e1f81e8a26c) + proto.RegisterFile("google/cloud/location/locations.proto", fileDescriptor_locations_7a7af132c8d24683) } -var fileDescriptor_locations_0b4e7e1f81e8a26c = []byte{ +var fileDescriptor_locations_7a7af132c8d24683 = []byte{ // 527 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x40, 0x10, 0xd6, 0x3a, 0x4d, 0x94, 0x8c, 0x29, 0xa0, 0x55, 0x8a, 0xdc, 0x00, 0x4a, 0x62, 0x04, 0xa4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go index 4f86bb8c7..596af2ca7 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go @@ -95,7 +95,7 @@ func (x TrainingInput_ScaleTier) String() string { return proto.EnumName(TrainingInput_ScaleTier_name, int32(x)) } func (TrainingInput_ScaleTier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{0, 0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{0, 0} } // The available types of optimization goals. @@ -125,7 +125,7 @@ func (x HyperparameterSpec_GoalType) String() string { return proto.EnumName(HyperparameterSpec_GoalType_name, int32(x)) } func (HyperparameterSpec_GoalType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{1, 0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{1, 0} } // The type of the parameter. @@ -167,7 +167,7 @@ func (x ParameterSpec_ParameterType) String() string { return proto.EnumName(ParameterSpec_ParameterType_name, int32(x)) } func (ParameterSpec_ParameterType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{2, 0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{2, 0} } // The type of scaling that should be applied to this parameter. @@ -205,7 +205,7 @@ func (x ParameterSpec_ScaleType) String() string { return proto.EnumName(ParameterSpec_ScaleType_name, int32(x)) } func (ParameterSpec_ScaleType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{2, 1} + return fileDescriptor_job_service_43f5d77a25caf017, []int{2, 1} } // The format used to separate data instances in the source files. @@ -231,16 +231,16 @@ var PredictionInput_DataFormat_name = map[int32]string{ } var PredictionInput_DataFormat_value = map[string]int32{ "DATA_FORMAT_UNSPECIFIED": 0, - "TEXT": 1, - "TF_RECORD": 2, - "TF_RECORD_GZIP": 3, + "TEXT": 1, + "TF_RECORD": 2, + "TF_RECORD_GZIP": 3, } func (x PredictionInput_DataFormat) String() string { return proto.EnumName(PredictionInput_DataFormat_name, int32(x)) } func (PredictionInput_DataFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{5, 0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{5, 0} } // Describes the job state. @@ -293,7 +293,7 @@ func (x Job_State) String() string { return proto.EnumName(Job_State_name, int32(x)) } func (Job_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{7, 0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{7, 0} } // Represents input parameters for a training job. @@ -410,7 +410,7 @@ func (m *TrainingInput) Reset() { *m = TrainingInput{} } func (m *TrainingInput) String() string { return proto.CompactTextString(m) } func (*TrainingInput) ProtoMessage() {} func (*TrainingInput) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{0} } func (m *TrainingInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TrainingInput.Unmarshal(m, b) @@ -561,7 +561,7 @@ func (m *HyperparameterSpec) Reset() { *m = HyperparameterSpec{} } func (m *HyperparameterSpec) String() string { return proto.CompactTextString(m) } func (*HyperparameterSpec) ProtoMessage() {} func (*HyperparameterSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{1} + return fileDescriptor_job_service_43f5d77a25caf017, []int{1} } func (m *HyperparameterSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HyperparameterSpec.Unmarshal(m, b) @@ -653,7 +653,7 @@ func (m *ParameterSpec) Reset() { *m = ParameterSpec{} } func (m *ParameterSpec) String() string { return proto.CompactTextString(m) } func (*ParameterSpec) ProtoMessage() {} func (*ParameterSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{2} + return fileDescriptor_job_service_43f5d77a25caf017, []int{2} } func (m *ParameterSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ParameterSpec.Unmarshal(m, b) @@ -744,7 +744,7 @@ func (m *HyperparameterOutput) Reset() { *m = HyperparameterOutput{} } func (m *HyperparameterOutput) String() string { return proto.CompactTextString(m) } func (*HyperparameterOutput) ProtoMessage() {} func (*HyperparameterOutput) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{3} + return fileDescriptor_job_service_43f5d77a25caf017, []int{3} } func (m *HyperparameterOutput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HyperparameterOutput.Unmarshal(m, b) @@ -809,7 +809,7 @@ func (m *HyperparameterOutput_HyperparameterMetric) Reset() { func (m *HyperparameterOutput_HyperparameterMetric) String() string { return proto.CompactTextString(m) } func (*HyperparameterOutput_HyperparameterMetric) ProtoMessage() {} func (*HyperparameterOutput_HyperparameterMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{3, 0} + return fileDescriptor_job_service_43f5d77a25caf017, []int{3, 0} } func (m *HyperparameterOutput_HyperparameterMetric) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Unmarshal(m, b) @@ -864,7 +864,7 @@ func (m *TrainingOutput) Reset() { *m = TrainingOutput{} } func (m *TrainingOutput) String() string { return proto.CompactTextString(m) } func (*TrainingOutput) ProtoMessage() {} func (*TrainingOutput) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{4} + return fileDescriptor_job_service_43f5d77a25caf017, []int{4} } func (m *TrainingOutput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TrainingOutput.Unmarshal(m, b) @@ -948,7 +948,7 @@ func (m *PredictionInput) Reset() { *m = PredictionInput{} } func (m *PredictionInput) String() string { return proto.CompactTextString(m) } func (*PredictionInput) ProtoMessage() {} func (*PredictionInput) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{5} + return fileDescriptor_job_service_43f5d77a25caf017, []int{5} } func (m *PredictionInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PredictionInput.Unmarshal(m, b) @@ -975,16 +975,20 @@ type isPredictionInput_ModelVersion interface { type PredictionInput_ModelName struct { ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3,oneof"` } + type PredictionInput_VersionName struct { VersionName string `protobuf:"bytes,2,opt,name=version_name,json=versionName,proto3,oneof"` } + type PredictionInput_Uri struct { Uri string `protobuf:"bytes,9,opt,name=uri,proto3,oneof"` } -func (*PredictionInput_ModelName) isPredictionInput_ModelVersion() {} +func (*PredictionInput_ModelName) isPredictionInput_ModelVersion() {} + func (*PredictionInput_VersionName) isPredictionInput_ModelVersion() {} -func (*PredictionInput_Uri) isPredictionInput_ModelVersion() {} + +func (*PredictionInput_Uri) isPredictionInput_ModelVersion() {} func (m *PredictionInput) GetModelVersion() isPredictionInput_ModelVersion { if m != nil { @@ -1156,7 +1160,7 @@ func (m *PredictionOutput) Reset() { *m = PredictionOutput{} } func (m *PredictionOutput) String() string { return proto.CompactTextString(m) } func (*PredictionOutput) ProtoMessage() {} func (*PredictionOutput) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{6} + return fileDescriptor_job_service_43f5d77a25caf017, []int{6} } func (m *PredictionOutput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PredictionOutput.Unmarshal(m, b) @@ -1239,7 +1243,7 @@ func (m *Job) Reset() { *m = Job{} } func (m *Job) String() string { return proto.CompactTextString(m) } func (*Job) ProtoMessage() {} func (*Job) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{7} + return fileDescriptor_job_service_43f5d77a25caf017, []int{7} } func (m *Job) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Job.Unmarshal(m, b) @@ -1259,30 +1263,28 @@ func (m *Job) XXX_DiscardUnknown() { var xxx_messageInfo_Job proto.InternalMessageInfo +func (m *Job) GetJobId() string { + if m != nil { + return m.JobId + } + return "" +} + type isJob_Input interface { isJob_Input() } -type isJob_Output interface { - isJob_Output() -} type Job_TrainingInput struct { TrainingInput *TrainingInput `protobuf:"bytes,2,opt,name=training_input,json=trainingInput,proto3,oneof"` } + type Job_PredictionInput struct { PredictionInput *PredictionInput `protobuf:"bytes,3,opt,name=prediction_input,json=predictionInput,proto3,oneof"` } -type Job_TrainingOutput struct { - TrainingOutput *TrainingOutput `protobuf:"bytes,9,opt,name=training_output,json=trainingOutput,proto3,oneof"` -} -type Job_PredictionOutput struct { - PredictionOutput *PredictionOutput `protobuf:"bytes,10,opt,name=prediction_output,json=predictionOutput,proto3,oneof"` -} -func (*Job_TrainingInput) isJob_Input() {} -func (*Job_PredictionInput) isJob_Input() {} -func (*Job_TrainingOutput) isJob_Output() {} -func (*Job_PredictionOutput) isJob_Output() {} +func (*Job_TrainingInput) isJob_Input() {} + +func (*Job_PredictionInput) isJob_Input() {} func (m *Job) GetInput() isJob_Input { if m != nil { @@ -1290,19 +1292,6 @@ func (m *Job) GetInput() isJob_Input { } return nil } -func (m *Job) GetOutput() isJob_Output { - if m != nil { - return m.Output - } - return nil -} - -func (m *Job) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} func (m *Job) GetTrainingInput() *TrainingInput { if x, ok := m.GetInput().(*Job_TrainingInput); ok { @@ -1353,6 +1342,29 @@ func (m *Job) GetErrorMessage() string { return "" } +type isJob_Output interface { + isJob_Output() +} + +type Job_TrainingOutput struct { + TrainingOutput *TrainingOutput `protobuf:"bytes,9,opt,name=training_output,json=trainingOutput,proto3,oneof"` +} + +type Job_PredictionOutput struct { + PredictionOutput *PredictionOutput `protobuf:"bytes,10,opt,name=prediction_output,json=predictionOutput,proto3,oneof"` +} + +func (*Job_TrainingOutput) isJob_Output() {} + +func (*Job_PredictionOutput) isJob_Output() {} + +func (m *Job) GetOutput() isJob_Output { + if m != nil { + return m.Output + } + return nil +} + func (m *Job) GetTrainingOutput() *TrainingOutput { if x, ok := m.GetOutput().(*Job_TrainingOutput); ok { return x.TrainingOutput @@ -1508,7 +1520,7 @@ func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} } func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) } func (*CreateJobRequest) ProtoMessage() {} func (*CreateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{8} + return fileDescriptor_job_service_43f5d77a25caf017, []int{8} } func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b) @@ -1570,7 +1582,7 @@ func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} } func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) } func (*ListJobsRequest) ProtoMessage() {} func (*ListJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{9} + return fileDescriptor_job_service_43f5d77a25caf017, []int{9} } func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b) @@ -1634,7 +1646,7 @@ func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} } func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) } func (*ListJobsResponse) ProtoMessage() {} func (*ListJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{10} + return fileDescriptor_job_service_43f5d77a25caf017, []int{10} } func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b) @@ -1683,7 +1695,7 @@ func (m *GetJobRequest) Reset() { *m = GetJobRequest{} } func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } func (*GetJobRequest) ProtoMessage() {} func (*GetJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{11} + return fileDescriptor_job_service_43f5d77a25caf017, []int{11} } func (m *GetJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJobRequest.Unmarshal(m, b) @@ -1725,7 +1737,7 @@ func (m *CancelJobRequest) Reset() { *m = CancelJobRequest{} } func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) } func (*CancelJobRequest) ProtoMessage() {} func (*CancelJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_job_service_fd7c04231fa00b5c, []int{12} + return fileDescriptor_job_service_43f5d77a25caf017, []int{12} } func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b) @@ -1956,10 +1968,10 @@ var _JobService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/ml/v1/job_service.proto", fileDescriptor_job_service_fd7c04231fa00b5c) + proto.RegisterFile("google/cloud/ml/v1/job_service.proto", fileDescriptor_job_service_43f5d77a25caf017) } -var fileDescriptor_job_service_fd7c04231fa00b5c = []byte{ +var fileDescriptor_job_service_43f5d77a25caf017 = []byte{ // 2070 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdb, 0x6e, 0x1b, 0xc9, 0x11, 0x15, 0xaf, 0x22, 0x8b, 0x12, 0x39, 0x6e, 0x5b, 0x36, 0x4d, 0xdb, 0x6b, 0x79, 0xe4, 0x38, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go index f24943c1d..38c53b4d1 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go @@ -61,7 +61,7 @@ func (m *Model) Reset() { *m = Model{} } func (m *Model) String() string { return proto.CompactTextString(m) } func (*Model) ProtoMessage() {} func (*Model) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{0} + return fileDescriptor_model_service_adc1180e67bddc92, []int{0} } func (m *Model) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Model.Unmarshal(m, b) @@ -169,7 +169,7 @@ func (m *Version) Reset() { *m = Version{} } func (m *Version) String() string { return proto.CompactTextString(m) } func (*Version) ProtoMessage() {} func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{1} + return fileDescriptor_model_service_adc1180e67bddc92, []int{1} } func (m *Version) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Version.Unmarshal(m, b) @@ -261,7 +261,7 @@ func (m *ManualScaling) Reset() { *m = ManualScaling{} } func (m *ManualScaling) String() string { return proto.CompactTextString(m) } func (*ManualScaling) ProtoMessage() {} func (*ManualScaling) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{2} + return fileDescriptor_model_service_adc1180e67bddc92, []int{2} } func (m *ManualScaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ManualScaling.Unmarshal(m, b) @@ -305,7 +305,7 @@ func (m *CreateModelRequest) Reset() { *m = CreateModelRequest{} } func (m *CreateModelRequest) String() string { return proto.CompactTextString(m) } func (*CreateModelRequest) ProtoMessage() {} func (*CreateModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{3} + return fileDescriptor_model_service_adc1180e67bddc92, []int{3} } func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b) @@ -365,7 +365,7 @@ func (m *ListModelsRequest) Reset() { *m = ListModelsRequest{} } func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) } func (*ListModelsRequest) ProtoMessage() {} func (*ListModelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{4} + return fileDescriptor_model_service_adc1180e67bddc92, []int{4} } func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b) @@ -422,7 +422,7 @@ func (m *ListModelsResponse) Reset() { *m = ListModelsResponse{} } func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) } func (*ListModelsResponse) ProtoMessage() {} func (*ListModelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{5} + return fileDescriptor_model_service_adc1180e67bddc92, []int{5} } func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b) @@ -471,7 +471,7 @@ func (m *GetModelRequest) Reset() { *m = GetModelRequest{} } func (m *GetModelRequest) String() string { return proto.CompactTextString(m) } func (*GetModelRequest) ProtoMessage() {} func (*GetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{6} + return fileDescriptor_model_service_adc1180e67bddc92, []int{6} } func (m *GetModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetModelRequest.Unmarshal(m, b) @@ -513,7 +513,7 @@ func (m *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} } func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) } func (*DeleteModelRequest) ProtoMessage() {} func (*DeleteModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{7} + return fileDescriptor_model_service_adc1180e67bddc92, []int{7} } func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b) @@ -557,7 +557,7 @@ func (m *CreateVersionRequest) Reset() { *m = CreateVersionRequest{} } func (m *CreateVersionRequest) String() string { return proto.CompactTextString(m) } func (*CreateVersionRequest) ProtoMessage() {} func (*CreateVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{8} + return fileDescriptor_model_service_adc1180e67bddc92, []int{8} } func (m *CreateVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVersionRequest.Unmarshal(m, b) @@ -617,7 +617,7 @@ func (m *ListVersionsRequest) Reset() { *m = ListVersionsRequest{} } func (m *ListVersionsRequest) String() string { return proto.CompactTextString(m) } func (*ListVersionsRequest) ProtoMessage() {} func (*ListVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{9} + return fileDescriptor_model_service_adc1180e67bddc92, []int{9} } func (m *ListVersionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVersionsRequest.Unmarshal(m, b) @@ -674,7 +674,7 @@ func (m *ListVersionsResponse) Reset() { *m = ListVersionsResponse{} } func (m *ListVersionsResponse) String() string { return proto.CompactTextString(m) } func (*ListVersionsResponse) ProtoMessage() {} func (*ListVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{10} + return fileDescriptor_model_service_adc1180e67bddc92, []int{10} } func (m *ListVersionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVersionsResponse.Unmarshal(m, b) @@ -723,7 +723,7 @@ func (m *GetVersionRequest) Reset() { *m = GetVersionRequest{} } func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) } func (*GetVersionRequest) ProtoMessage() {} func (*GetVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{11} + return fileDescriptor_model_service_adc1180e67bddc92, []int{11} } func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b) @@ -767,7 +767,7 @@ func (m *DeleteVersionRequest) Reset() { *m = DeleteVersionRequest{} } func (m *DeleteVersionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteVersionRequest) ProtoMessage() {} func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{12} + return fileDescriptor_model_service_adc1180e67bddc92, []int{12} } func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVersionRequest.Unmarshal(m, b) @@ -811,7 +811,7 @@ func (m *SetDefaultVersionRequest) Reset() { *m = SetDefaultVersionReque func (m *SetDefaultVersionRequest) String() string { return proto.CompactTextString(m) } func (*SetDefaultVersionRequest) ProtoMessage() {} func (*SetDefaultVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_model_service_ee3e6c8b5c2161ac, []int{13} + return fileDescriptor_model_service_adc1180e67bddc92, []int{13} } func (m *SetDefaultVersionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetDefaultVersionRequest.Unmarshal(m, b) @@ -1294,10 +1294,10 @@ var _ModelService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/ml/v1/model_service.proto", fileDescriptor_model_service_ee3e6c8b5c2161ac) + proto.RegisterFile("google/cloud/ml/v1/model_service.proto", fileDescriptor_model_service_adc1180e67bddc92) } -var fileDescriptor_model_service_ee3e6c8b5c2161ac = []byte{ +var fileDescriptor_model_service_adc1180e67bddc92 = []byte{ // 996 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, 0x14, 0x96, 0xdb, 0xa6, 0x4d, 0x5e, 0x36, 0xad, 0x3a, 0x14, 0xc8, 0x66, 0x29, 0x04, 0xaf, 0xda, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go index 878276313..4c1326f10 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go @@ -51,7 +51,7 @@ func (x OperationMetadata_OperationType) String() string { return proto.EnumName(OperationMetadata_OperationType_name, int32(x)) } func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_operation_metadata_7e72cfbfe1fa09fa, []int{0, 0} + return fileDescriptor_operation_metadata_67f21a738daf74c6, []int{0, 0} } // Represents the metadata of the long-running operation. @@ -79,7 +79,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_metadata_7e72cfbfe1fa09fa, []int{0} + return fileDescriptor_operation_metadata_67f21a738daf74c6, []int{0} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -154,10 +154,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/ml/v1/operation_metadata.proto", fileDescriptor_operation_metadata_7e72cfbfe1fa09fa) + proto.RegisterFile("google/cloud/ml/v1/operation_metadata.proto", fileDescriptor_operation_metadata_67f21a738daf74c6) } -var fileDescriptor_operation_metadata_7e72cfbfe1fa09fa = []byte{ +var fileDescriptor_operation_metadata_67f21a738daf74c6 = []byte{ // 454 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x6b, 0xdb, 0x30, 0x14, 0xc5, 0xe7, 0xb6, 0x6b, 0x1a, 0x75, 0x0d, 0x99, 0x1e, 0xb6, 0xcc, 0xfb, 0x17, 0xfa, 0x30, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go index 7d0d9b880..bf9a7075e 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go @@ -228,7 +228,7 @@ func (m *PredictRequest) Reset() { *m = PredictRequest{} } func (m *PredictRequest) String() string { return proto.CompactTextString(m) } func (*PredictRequest) ProtoMessage() {} func (*PredictRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_prediction_service_70f83d6188ceda1c, []int{0} + return fileDescriptor_prediction_service_92107018d3d8c7da, []int{0} } func (m *PredictRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PredictRequest.Unmarshal(m, b) @@ -345,10 +345,10 @@ var _OnlinePredictionService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/ml/v1/prediction_service.proto", fileDescriptor_prediction_service_70f83d6188ceda1c) + proto.RegisterFile("google/cloud/ml/v1/prediction_service.proto", fileDescriptor_prediction_service_92107018d3d8c7da) } -var fileDescriptor_prediction_service_70f83d6188ceda1c = []byte{ +var fileDescriptor_prediction_service_92107018d3d8c7da = []byte{ // 308 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0x4f, 0x4b, 0xfb, 0x30, 0x18, 0xa6, 0xe3, 0xc7, 0x4f, 0x17, 0xc1, 0x43, 0x10, 0x9d, 0x45, 0x64, 0xd4, 0xcb, 0x9c, 0x90, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go index 5f34e8fad..c97964bcc 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go @@ -39,7 +39,7 @@ func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetConfigRequest) ProtoMessage() {} func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_project_service_ac513b9adaac3dc8, []int{0} + return fileDescriptor_project_service_00dbe1d4c2a6bfee, []int{0} } func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b) @@ -81,7 +81,7 @@ func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} } func (m *GetConfigResponse) String() string { return proto.CompactTextString(m) } func (*GetConfigResponse) ProtoMessage() {} func (*GetConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_project_service_ac513b9adaac3dc8, []int{1} + return fileDescriptor_project_service_00dbe1d4c2a6bfee, []int{1} } func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetConfigResponse.Unmarshal(m, b) @@ -201,10 +201,10 @@ var _ProjectManagementService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/ml/v1/project_service.proto", fileDescriptor_project_service_ac513b9adaac3dc8) + proto.RegisterFile("google/cloud/ml/v1/project_service.proto", fileDescriptor_project_service_00dbe1d4c2a6bfee) } -var fileDescriptor_project_service_ac513b9adaac3dc8 = []byte{ +var fileDescriptor_project_service_00dbe1d4c2a6bfee = []byte{ // 319 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbf, 0x4a, 0x43, 0x31, 0x14, 0xc6, 0xb9, 0x55, 0x84, 0x66, 0xf0, 0x4f, 0x44, 0x2c, 0x45, 0xb0, 0x16, 0xb5, 0xc5, 0x21, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go index cbe9c1201..17444de77 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go @@ -49,7 +49,7 @@ func (m *PosixAccount) Reset() { *m = PosixAccount{} } func (m *PosixAccount) String() string { return proto.CompactTextString(m) } func (*PosixAccount) ProtoMessage() {} func (*PosixAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_common_0d50849cbe9c612a, []int{0} + return fileDescriptor_common_ebba42564a5ff09e, []int{0} } func (m *PosixAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PosixAccount.Unmarshal(m, b) @@ -151,7 +151,7 @@ func (m *SshPublicKey) Reset() { *m = SshPublicKey{} } func (m *SshPublicKey) String() string { return proto.CompactTextString(m) } func (*SshPublicKey) ProtoMessage() {} func (*SshPublicKey) Descriptor() ([]byte, []int) { - return fileDescriptor_common_0d50849cbe9c612a, []int{1} + return fileDescriptor_common_ebba42564a5ff09e, []int{1} } func (m *SshPublicKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SshPublicKey.Unmarshal(m, b) @@ -198,10 +198,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/oslogin/common/common.proto", fileDescriptor_common_0d50849cbe9c612a) + proto.RegisterFile("google/cloud/oslogin/common/common.proto", fileDescriptor_common_ebba42564a5ff09e) } -var fileDescriptor_common_0d50849cbe9c612a = []byte{ +var fileDescriptor_common_ebba42564a5ff09e = []byte{ // 406 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6b, 0x14, 0x31, 0x14, 0xc7, 0x99, 0xae, 0x6d, 0x77, 0xe2, 0x2a, 0x12, 0x7a, 0x08, 0x5d, 0xc5, 0xa5, 0x20, 0xec, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go index 34cfe7963..d33d1cab7 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go @@ -48,7 +48,7 @@ func (m *LoginProfile) Reset() { *m = LoginProfile{} } func (m *LoginProfile) String() string { return proto.CompactTextString(m) } func (*LoginProfile) ProtoMessage() {} func (*LoginProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{0} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{0} } func (m *LoginProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginProfile.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountReq func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) } func (*DeletePosixAccountRequest) ProtoMessage() {} func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{1} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{1} } func (m *DeletePosixAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeletePosixAccountRequest.Unmarshal(m, b) @@ -153,7 +153,7 @@ func (m *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyReq func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSshPublicKeyRequest) ProtoMessage() {} func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{2} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{2} } func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSshPublicKeyRequest.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *GetLoginProfileRequest) Reset() { *m = GetLoginProfileRequest{} func (m *GetLoginProfileRequest) String() string { return proto.CompactTextString(m) } func (*GetLoginProfileRequest) ProtoMessage() {} func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{3} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{3} } func (m *GetLoginProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLoginProfileRequest.Unmarshal(m, b) @@ -235,7 +235,7 @@ func (m *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetSshPublicKeyRequest) ProtoMessage() {} func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{4} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{4} } func (m *GetSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSshPublicKeyRequest.Unmarshal(m, b) @@ -279,7 +279,7 @@ func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyReq func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*ImportSshPublicKeyRequest) ProtoMessage() {} func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{5} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{5} } func (m *ImportSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportSshPublicKeyRequest.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyRe func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) } func (*ImportSshPublicKeyResponse) ProtoMessage() {} func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{6} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{6} } func (m *ImportSshPublicKeyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportSshPublicKeyResponse.Unmarshal(m, b) @@ -379,7 +379,7 @@ func (m *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyReq func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSshPublicKeyRequest) ProtoMessage() {} func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_8e799c1b6cfe9921, []int{7} + return fileDescriptor_oslogin_45adadde0ac6d3e5, []int{7} } func (m *UpdateSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSshPublicKeyRequest.Unmarshal(m, b) @@ -690,10 +690,10 @@ var _OsLoginService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/oslogin/v1/oslogin.proto", fileDescriptor_oslogin_8e799c1b6cfe9921) + proto.RegisterFile("google/cloud/oslogin/v1/oslogin.proto", fileDescriptor_oslogin_45adadde0ac6d3e5) } -var fileDescriptor_oslogin_8e799c1b6cfe9921 = []byte{ +var fileDescriptor_oslogin_45adadde0ac6d3e5 = []byte{ // 774 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xd3, 0x40, 0x10, 0x96, 0x93, 0x52, 0xe8, 0x26, 0x6d, 0xd1, 0x1e, 0xda, 0xd4, 0x6d, 0xd5, 0x60, 0x51, 0x35, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go index 1fb92423c..5da644306 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go @@ -47,7 +47,7 @@ func (m *LoginProfile) Reset() { *m = LoginProfile{} } func (m *LoginProfile) String() string { return proto.CompactTextString(m) } func (*LoginProfile) ProtoMessage() {} func (*LoginProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{0} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{0} } func (m *LoginProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginProfile.Unmarshal(m, b) @@ -110,7 +110,7 @@ func (m *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountReq func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) } func (*DeletePosixAccountRequest) ProtoMessage() {} func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{1} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{1} } func (m *DeletePosixAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeletePosixAccountRequest.Unmarshal(m, b) @@ -152,7 +152,7 @@ func (m *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyReq func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSshPublicKeyRequest) ProtoMessage() {} func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{2} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{2} } func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSshPublicKeyRequest.Unmarshal(m, b) @@ -192,7 +192,7 @@ func (m *GetLoginProfileRequest) Reset() { *m = GetLoginProfileRequest{} func (m *GetLoginProfileRequest) String() string { return proto.CompactTextString(m) } func (*GetLoginProfileRequest) ProtoMessage() {} func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{3} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{3} } func (m *GetLoginProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLoginProfileRequest.Unmarshal(m, b) @@ -234,7 +234,7 @@ func (m *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetSshPublicKeyRequest) ProtoMessage() {} func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{4} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{4} } func (m *GetSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSshPublicKeyRequest.Unmarshal(m, b) @@ -278,7 +278,7 @@ func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyReq func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*ImportSshPublicKeyRequest) ProtoMessage() {} func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{5} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{5} } func (m *ImportSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportSshPublicKeyRequest.Unmarshal(m, b) @@ -332,7 +332,7 @@ func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyRe func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) } func (*ImportSshPublicKeyResponse) ProtoMessage() {} func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{6} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{6} } func (m *ImportSshPublicKeyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportSshPublicKeyResponse.Unmarshal(m, b) @@ -378,7 +378,7 @@ func (m *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyReq func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSshPublicKeyRequest) ProtoMessage() {} func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_435be879af612f9a, []int{7} + return fileDescriptor_oslogin_9160791ccb698e5f, []int{7} } func (m *UpdateSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSshPublicKeyRequest.Unmarshal(m, b) @@ -689,10 +689,10 @@ var _OsLoginService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/oslogin/v1alpha/oslogin.proto", fileDescriptor_oslogin_435be879af612f9a) + proto.RegisterFile("google/cloud/oslogin/v1alpha/oslogin.proto", fileDescriptor_oslogin_9160791ccb698e5f) } -var fileDescriptor_oslogin_435be879af612f9a = []byte{ +var fileDescriptor_oslogin_9160791ccb698e5f = []byte{ // 779 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6a, 0xdb, 0x4a, 0x14, 0x46, 0x76, 0x6e, 0x48, 0xc6, 0x4e, 0x72, 0x99, 0x45, 0x70, 0x74, 0x73, 0xc1, 0x88, 0xd0, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go index 998f7569d..61869471b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go @@ -48,7 +48,7 @@ func (m *LoginProfile) Reset() { *m = LoginProfile{} } func (m *LoginProfile) String() string { return proto.CompactTextString(m) } func (*LoginProfile) ProtoMessage() {} func (*LoginProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{0} + return fileDescriptor_oslogin_597ae172793c821f, []int{0} } func (m *LoginProfile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginProfile.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountReq func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) } func (*DeletePosixAccountRequest) ProtoMessage() {} func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{1} + return fileDescriptor_oslogin_597ae172793c821f, []int{1} } func (m *DeletePosixAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeletePosixAccountRequest.Unmarshal(m, b) @@ -153,7 +153,7 @@ func (m *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyReq func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSshPublicKeyRequest) ProtoMessage() {} func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{2} + return fileDescriptor_oslogin_597ae172793c821f, []int{2} } func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSshPublicKeyRequest.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *GetLoginProfileRequest) Reset() { *m = GetLoginProfileRequest{} func (m *GetLoginProfileRequest) String() string { return proto.CompactTextString(m) } func (*GetLoginProfileRequest) ProtoMessage() {} func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{3} + return fileDescriptor_oslogin_597ae172793c821f, []int{3} } func (m *GetLoginProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLoginProfileRequest.Unmarshal(m, b) @@ -235,7 +235,7 @@ func (m *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetSshPublicKeyRequest) ProtoMessage() {} func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{4} + return fileDescriptor_oslogin_597ae172793c821f, []int{4} } func (m *GetSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSshPublicKeyRequest.Unmarshal(m, b) @@ -279,7 +279,7 @@ func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyReq func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*ImportSshPublicKeyRequest) ProtoMessage() {} func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{5} + return fileDescriptor_oslogin_597ae172793c821f, []int{5} } func (m *ImportSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportSshPublicKeyRequest.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyRe func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) } func (*ImportSshPublicKeyResponse) ProtoMessage() {} func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{6} + return fileDescriptor_oslogin_597ae172793c821f, []int{6} } func (m *ImportSshPublicKeyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportSshPublicKeyResponse.Unmarshal(m, b) @@ -379,7 +379,7 @@ func (m *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyReq func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSshPublicKeyRequest) ProtoMessage() {} func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_oslogin_a3ba905e66782df8, []int{7} + return fileDescriptor_oslogin_597ae172793c821f, []int{7} } func (m *UpdateSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSshPublicKeyRequest.Unmarshal(m, b) @@ -690,10 +690,10 @@ var _OsLoginService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/oslogin/v1beta/oslogin.proto", fileDescriptor_oslogin_a3ba905e66782df8) + proto.RegisterFile("google/cloud/oslogin/v1beta/oslogin.proto", fileDescriptor_oslogin_597ae172793c821f) } -var fileDescriptor_oslogin_a3ba905e66782df8 = []byte{ +var fileDescriptor_oslogin_597ae172793c821f = []byte{ // 780 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4f, 0x4f, 0x13, 0x4f, 0x18, 0xc7, 0xb3, 0x2d, 0x3f, 0x02, 0x43, 0x81, 0x5f, 0xe6, 0x40, 0xca, 0x82, 0xb1, 0x2e, 0xd1, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1/cloud_redis.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1/cloud_redis.pb.go new file mode 100644 index 000000000..e801c0868 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1/cloud_redis.pb.go @@ -0,0 +1,1200 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/redis/v1/cloud_redis.proto + +package redis // import "google.golang.org/genproto/googleapis/cloud/redis/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import longrunning "google.golang.org/genproto/googleapis/longrunning" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents the different states of a Redis instance. +type Instance_State int32 + +const ( + // Not set. + Instance_STATE_UNSPECIFIED Instance_State = 0 + // Redis instance is being created. + Instance_CREATING Instance_State = 1 + // Redis instance has been created and is fully usable. + Instance_READY Instance_State = 2 + // Redis instance configuration is being updated. Certain kinds of updates + // may cause the instance to become unusable while the update is in + // progress. + Instance_UPDATING Instance_State = 3 + // Redis instance is being deleted. + Instance_DELETING Instance_State = 4 + // Redis instance is being repaired and may be unusable. Details can be + // found in the `status_message` field. + Instance_REPAIRING Instance_State = 5 + // Maintenance is being performed on this Redis instance. + Instance_MAINTENANCE Instance_State = 6 +) + +var Instance_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "CREATING", + 2: "READY", + 3: "UPDATING", + 4: "DELETING", + 5: "REPAIRING", + 6: "MAINTENANCE", +} +var Instance_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "CREATING": 1, + "READY": 2, + "UPDATING": 3, + "DELETING": 4, + "REPAIRING": 5, + "MAINTENANCE": 6, +} + +func (x Instance_State) String() string { + return proto.EnumName(Instance_State_name, int32(x)) +} +func (Instance_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{0, 0} +} + +// Available service tiers to choose from +type Instance_Tier int32 + +const ( + // Not set. + Instance_TIER_UNSPECIFIED Instance_Tier = 0 + // BASIC tier: standalone instance + Instance_BASIC Instance_Tier = 1 + // STANDARD_HA tier: highly available primary/replica instances + Instance_STANDARD_HA Instance_Tier = 3 +) + +var Instance_Tier_name = map[int32]string{ + 0: "TIER_UNSPECIFIED", + 1: "BASIC", + 3: "STANDARD_HA", +} +var Instance_Tier_value = map[string]int32{ + "TIER_UNSPECIFIED": 0, + "BASIC": 1, + "STANDARD_HA": 3, +} + +func (x Instance_Tier) String() string { + return proto.EnumName(Instance_Tier_name, int32(x)) +} +func (Instance_Tier) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{0, 1} +} + +// A Google Cloud Redis instance. +type Instance struct { + // Required. Unique name of the resource in this scope including project and + // location using the form: + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` + // + // Note: Redis instances are managed and addressed at regional level so + // location_id here refers to a GCP region; however, users may choose which + // specific zone (or collection of zones for cross-zone instances) an instance + // should be provisioned in. Refer to [location_id] and + // [alternative_location_id] fields for more details. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // An arbitrary and optional user-provided name for the instance. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Resource labels to represent user provided metadata + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Optional. The zone where the instance will be provisioned. If not provided, + // the service will choose a zone for the instance. For STANDARD_HA tier, + // instances will be created across two zones for protection against zonal + // failures. If [alternative_location_id] is also provided, it must be + // different from [location_id]. + LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` + // Optional. Only applicable to STANDARD_HA tier which protects the instance + // against zonal failures by provisioning it across two zones. If provided, it + // must be a different zone from the one provided in [location_id]. + AlternativeLocationId string `protobuf:"bytes,5,opt,name=alternative_location_id,json=alternativeLocationId,proto3" json:"alternative_location_id,omitempty"` + // Optional. The version of Redis software. + // If not provided, latest supported version will be used. Updating the + // version will perform an upgrade/downgrade to the new version. Currently, + // the supported values are `REDIS_3_2` for Redis 3.2. + RedisVersion string `protobuf:"bytes,7,opt,name=redis_version,json=redisVersion,proto3" json:"redis_version,omitempty"` + // Optional. The CIDR range of internal addresses that are reserved for this + // instance. If not provided, the service will choose an unused /29 block, + // for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique + // and non-overlapping with existing subnets in an authorized network. + ReservedIpRange string `protobuf:"bytes,9,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"` + // Output only. Hostname or IP address of the exposed Redis endpoint used by + // clients to connect to the service. + Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"` + // Output only. The port number of the exposed Redis endpoint. + Port int32 `protobuf:"varint,11,opt,name=port,proto3" json:"port,omitempty"` + // Output only. The current zone where the Redis endpoint is placed. For Basic + // Tier instances, this will always be the same as the [location_id] + // provided by the user at creation time. For Standard Tier instances, + // this can be either [location_id] or [alternative_location_id] and can + // change after a failover event. + CurrentLocationId string `protobuf:"bytes,12,opt,name=current_location_id,json=currentLocationId,proto3" json:"current_location_id,omitempty"` + // Output only. The time the instance was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The current state of this instance. + State Instance_State `protobuf:"varint,14,opt,name=state,proto3,enum=google.cloud.redis.v1.Instance_State" json:"state,omitempty"` + // Output only. Additional information about the current status of this + // instance, if available. + StatusMessage string `protobuf:"bytes,15,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` + // Optional. Redis configuration parameters, according to + // http://redis.io/topics/config. Currently, the only supported parameters + // are: + // + // * maxmemory-policy + // * notify-keyspace-events + RedisConfigs map[string]string `protobuf:"bytes,16,rep,name=redis_configs,json=redisConfigs,proto3" json:"redis_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Required. The service tier of the instance. + Tier Instance_Tier `protobuf:"varint,17,opt,name=tier,proto3,enum=google.cloud.redis.v1.Instance_Tier" json:"tier,omitempty"` + // Required. Redis memory size in GiB. + MemorySizeGb int32 `protobuf:"varint,18,opt,name=memory_size_gb,json=memorySizeGb,proto3" json:"memory_size_gb,omitempty"` + // Optional. The full name of the Google Compute Engine + // [network](/compute/docs/networks-and-firewalls#networks) to which the + // instance is connected. If left unspecified, the `default` network + // will be used. + AuthorizedNetwork string `protobuf:"bytes,20,opt,name=authorized_network,json=authorizedNetwork,proto3" json:"authorized_network,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Instance) Reset() { *m = Instance{} } +func (m *Instance) String() string { return proto.CompactTextString(m) } +func (*Instance) ProtoMessage() {} +func (*Instance) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{0} +} +func (m *Instance) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Instance.Unmarshal(m, b) +} +func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Instance.Marshal(b, m, deterministic) +} +func (dst *Instance) XXX_Merge(src proto.Message) { + xxx_messageInfo_Instance.Merge(dst, src) +} +func (m *Instance) XXX_Size() int { + return xxx_messageInfo_Instance.Size(m) +} +func (m *Instance) XXX_DiscardUnknown() { + xxx_messageInfo_Instance.DiscardUnknown(m) +} + +var xxx_messageInfo_Instance proto.InternalMessageInfo + +func (m *Instance) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Instance) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *Instance) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *Instance) GetLocationId() string { + if m != nil { + return m.LocationId + } + return "" +} + +func (m *Instance) GetAlternativeLocationId() string { + if m != nil { + return m.AlternativeLocationId + } + return "" +} + +func (m *Instance) GetRedisVersion() string { + if m != nil { + return m.RedisVersion + } + return "" +} + +func (m *Instance) GetReservedIpRange() string { + if m != nil { + return m.ReservedIpRange + } + return "" +} + +func (m *Instance) GetHost() string { + if m != nil { + return m.Host + } + return "" +} + +func (m *Instance) GetPort() int32 { + if m != nil { + return m.Port + } + return 0 +} + +func (m *Instance) GetCurrentLocationId() string { + if m != nil { + return m.CurrentLocationId + } + return "" +} + +func (m *Instance) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *Instance) GetState() Instance_State { + if m != nil { + return m.State + } + return Instance_STATE_UNSPECIFIED +} + +func (m *Instance) GetStatusMessage() string { + if m != nil { + return m.StatusMessage + } + return "" +} + +func (m *Instance) GetRedisConfigs() map[string]string { + if m != nil { + return m.RedisConfigs + } + return nil +} + +func (m *Instance) GetTier() Instance_Tier { + if m != nil { + return m.Tier + } + return Instance_TIER_UNSPECIFIED +} + +func (m *Instance) GetMemorySizeGb() int32 { + if m != nil { + return m.MemorySizeGb + } + return 0 +} + +func (m *Instance) GetAuthorizedNetwork() string { + if m != nil { + return m.AuthorizedNetwork + } + return "" +} + +// Request for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances]. +type ListInstancesRequest struct { + // Required. The resource name of the instance location using the form: + // `projects/{project_id}/locations/{location_id}` + // where `location_id` refers to a GCP region + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The maximum number of items to return. + // + // If not specified, a default value of 1000 will be used by the service. + // Regardless of the page_size value, the response may include a partial list + // and a caller should only rely on response's + // [next_page_token][CloudRedis.ListInstancesResponse.next_page_token] + // to determine if there are more instances left to be queried. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The next_page_token value returned from a previous List request, + // if any. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } +func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } +func (*ListInstancesRequest) ProtoMessage() {} +func (*ListInstancesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{1} +} +func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) +} +func (m *ListInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstancesRequest.Marshal(b, m, deterministic) +} +func (dst *ListInstancesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstancesRequest.Merge(dst, src) +} +func (m *ListInstancesRequest) XXX_Size() int { + return xxx_messageInfo_ListInstancesRequest.Size(m) +} +func (m *ListInstancesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstancesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstancesRequest proto.InternalMessageInfo + +func (m *ListInstancesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListInstancesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListInstancesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances]. +type ListInstancesResponse struct { + // A list of Redis instances in the project in the specified location, + // or across all locations. + // + // If the `location_id` in the parent field of the request is "-", all regions + // available to the project are queried, and the results aggregated. + // If in such an aggregated query a location is unavailable, a dummy Redis + // entry is included in the response with the "name" field set to a value of + // the form projects/{project_id}/locations/{location_id}/instances/- and the + // "status" field set to ERROR and "status_message" field set to "location not + // available for ListInstances". + Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results in the list. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } +func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } +func (*ListInstancesResponse) ProtoMessage() {} +func (*ListInstancesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{2} +} +func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) +} +func (m *ListInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstancesResponse.Marshal(b, m, deterministic) +} +func (dst *ListInstancesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstancesResponse.Merge(dst, src) +} +func (m *ListInstancesResponse) XXX_Size() int { + return xxx_messageInfo_ListInstancesResponse.Size(m) +} +func (m *ListInstancesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstancesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstancesResponse proto.InternalMessageInfo + +func (m *ListInstancesResponse) GetInstances() []*Instance { + if m != nil { + return m.Instances + } + return nil +} + +func (m *ListInstancesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request for [GetInstance][google.cloud.redis.v1.CloudRedis.GetInstance]. +type GetInstanceRequest struct { + // Required. Redis instance resource name using the form: + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` + // where `location_id` refers to a GCP region + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } +func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } +func (*GetInstanceRequest) ProtoMessage() {} +func (*GetInstanceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{3} +} +func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) +} +func (m *GetInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetInstanceRequest.Marshal(b, m, deterministic) +} +func (dst *GetInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInstanceRequest.Merge(dst, src) +} +func (m *GetInstanceRequest) XXX_Size() int { + return xxx_messageInfo_GetInstanceRequest.Size(m) +} +func (m *GetInstanceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetInstanceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetInstanceRequest proto.InternalMessageInfo + +func (m *GetInstanceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request for [CreateInstance][google.cloud.redis.v1.CloudRedis.CreateInstance]. +type CreateInstanceRequest struct { + // Required. The resource name of the instance location using the form: + // `projects/{project_id}/locations/{location_id}` + // where `location_id` refers to a GCP region + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. The logical name of the Redis instance in the customer project + // with the following restrictions: + // + // * Must contain only lowercase letters, numbers, and hyphens. + // * Must start with a letter. + // * Must be between 1-40 characters. + // * Must end with a number or a letter. + // * Must be unique within the customer project / location + InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + // Required. A Redis [Instance] resource + Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateInstanceRequest) Reset() { *m = CreateInstanceRequest{} } +func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) } +func (*CreateInstanceRequest) ProtoMessage() {} +func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{4} +} +func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b) +} +func (m *CreateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateInstanceRequest.Marshal(b, m, deterministic) +} +func (dst *CreateInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInstanceRequest.Merge(dst, src) +} +func (m *CreateInstanceRequest) XXX_Size() int { + return xxx_messageInfo_CreateInstanceRequest.Size(m) +} +func (m *CreateInstanceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateInstanceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateInstanceRequest proto.InternalMessageInfo + +func (m *CreateInstanceRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateInstanceRequest) GetInstanceId() string { + if m != nil { + return m.InstanceId + } + return "" +} + +func (m *CreateInstanceRequest) GetInstance() *Instance { + if m != nil { + return m.Instance + } + return nil +} + +// Request for [UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance]. +type UpdateInstanceRequest struct { + // Required. Mask of fields to update. At least one path must be supplied in + // this field. The elements of the repeated paths field may only include these + // fields from [Instance][CloudRedis.Instance]: + // + // * `displayName` + // * `labels` + // * `memorySizeGb` + // * `redisConfig` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Required. Update description. + // Only fields specified in update_mask are updated. + Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateInstanceRequest) Reset() { *m = UpdateInstanceRequest{} } +func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateInstanceRequest) ProtoMessage() {} +func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{5} +} +func (m *UpdateInstanceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateInstanceRequest.Unmarshal(m, b) +} +func (m *UpdateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateInstanceRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceRequest.Merge(dst, src) +} +func (m *UpdateInstanceRequest) XXX_Size() int { + return xxx_messageInfo_UpdateInstanceRequest.Size(m) +} +func (m *UpdateInstanceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateInstanceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateInstanceRequest proto.InternalMessageInfo + +func (m *UpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateInstanceRequest) GetInstance() *Instance { + if m != nil { + return m.Instance + } + return nil +} + +// Request for [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance]. +type DeleteInstanceRequest struct { + // Required. Redis instance resource name using the form: + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` + // where `location_id` refers to a GCP region + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } +func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteInstanceRequest) ProtoMessage() {} +func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{6} +} +func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) +} +func (m *DeleteInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteInstanceRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInstanceRequest.Merge(dst, src) +} +func (m *DeleteInstanceRequest) XXX_Size() int { + return xxx_messageInfo_DeleteInstanceRequest.Size(m) +} +func (m *DeleteInstanceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteInstanceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteInstanceRequest proto.InternalMessageInfo + +func (m *DeleteInstanceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Represents the v1 metadata of the long-running operation. +type OperationMetadata struct { + // Creation timestamp. + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // End timestamp. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // Operation target. + Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + // Operation verb. + Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` + // Operation status details. + StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` + // Specifies if cancellation was requested for the operation. + CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` + // API version. + ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } +func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } +func (*OperationMetadata) ProtoMessage() {} +func (*OperationMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{7} +} +func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) +} +func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic) +} +func (dst *OperationMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperationMetadata.Merge(dst, src) +} +func (m *OperationMetadata) XXX_Size() int { + return xxx_messageInfo_OperationMetadata.Size(m) +} +func (m *OperationMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_OperationMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo + +func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *OperationMetadata) GetTarget() string { + if m != nil { + return m.Target + } + return "" +} + +func (m *OperationMetadata) GetVerb() string { + if m != nil { + return m.Verb + } + return "" +} + +func (m *OperationMetadata) GetStatusDetail() string { + if m != nil { + return m.StatusDetail + } + return "" +} + +func (m *OperationMetadata) GetCancelRequested() bool { + if m != nil { + return m.CancelRequested + } + return false +} + +func (m *OperationMetadata) GetApiVersion() string { + if m != nil { + return m.ApiVersion + } + return "" +} + +// This location metadata represents additional configuration options for a +// given location where a Redis instance may be created. All fields are output +// only. It is returned as content of the +// `google.cloud.location.Location.metadata` field. +type LocationMetadata struct { + // Output only. The set of available zones in the location. The map is keyed + // by the lowercase ID of each zone, as defined by GCE. These keys can be + // specified in `location_id` or `alternative_location_id` fields when + // creating a Redis instance. + AvailableZones map[string]*ZoneMetadata `protobuf:"bytes,1,rep,name=available_zones,json=availableZones,proto3" json:"available_zones,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocationMetadata) Reset() { *m = LocationMetadata{} } +func (m *LocationMetadata) String() string { return proto.CompactTextString(m) } +func (*LocationMetadata) ProtoMessage() {} +func (*LocationMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{8} +} +func (m *LocationMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocationMetadata.Unmarshal(m, b) +} +func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocationMetadata.Marshal(b, m, deterministic) +} +func (dst *LocationMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocationMetadata.Merge(dst, src) +} +func (m *LocationMetadata) XXX_Size() int { + return xxx_messageInfo_LocationMetadata.Size(m) +} +func (m *LocationMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_LocationMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_LocationMetadata proto.InternalMessageInfo + +func (m *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadata { + if m != nil { + return m.AvailableZones + } + return nil +} + +// Defines specific information for a particular zone. Currently empty and +// reserved for future use only. +type ZoneMetadata struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ZoneMetadata) Reset() { *m = ZoneMetadata{} } +func (m *ZoneMetadata) String() string { return proto.CompactTextString(m) } +func (*ZoneMetadata) ProtoMessage() {} +func (*ZoneMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_cloud_redis_1d5a49b3aa4aa71c, []int{9} +} +func (m *ZoneMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ZoneMetadata.Unmarshal(m, b) +} +func (m *ZoneMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ZoneMetadata.Marshal(b, m, deterministic) +} +func (dst *ZoneMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_ZoneMetadata.Merge(dst, src) +} +func (m *ZoneMetadata) XXX_Size() int { + return xxx_messageInfo_ZoneMetadata.Size(m) +} +func (m *ZoneMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_ZoneMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_ZoneMetadata proto.InternalMessageInfo + +func init() { + proto.RegisterType((*Instance)(nil), "google.cloud.redis.v1.Instance") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1.Instance.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1.Instance.RedisConfigsEntry") + proto.RegisterType((*ListInstancesRequest)(nil), "google.cloud.redis.v1.ListInstancesRequest") + proto.RegisterType((*ListInstancesResponse)(nil), "google.cloud.redis.v1.ListInstancesResponse") + proto.RegisterType((*GetInstanceRequest)(nil), "google.cloud.redis.v1.GetInstanceRequest") + proto.RegisterType((*CreateInstanceRequest)(nil), "google.cloud.redis.v1.CreateInstanceRequest") + proto.RegisterType((*UpdateInstanceRequest)(nil), "google.cloud.redis.v1.UpdateInstanceRequest") + proto.RegisterType((*DeleteInstanceRequest)(nil), "google.cloud.redis.v1.DeleteInstanceRequest") + proto.RegisterType((*OperationMetadata)(nil), "google.cloud.redis.v1.OperationMetadata") + proto.RegisterType((*LocationMetadata)(nil), "google.cloud.redis.v1.LocationMetadata") + proto.RegisterMapType((map[string]*ZoneMetadata)(nil), "google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry") + proto.RegisterType((*ZoneMetadata)(nil), "google.cloud.redis.v1.ZoneMetadata") + proto.RegisterEnum("google.cloud.redis.v1.Instance_State", Instance_State_name, Instance_State_value) + proto.RegisterEnum("google.cloud.redis.v1.Instance_Tier", Instance_Tier_name, Instance_Tier_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CloudRedisClient is the client API for CloudRedis service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CloudRedisClient interface { + // Lists all Redis instances owned by a project in either the specified + // location (region) or all locations. + // + // The location should have the following format: + // * `projects/{project_id}/locations/{location_id}` + // + // If `location_id` is specified as `-` (wildcard), then all regions + // available to the project are queried, and the results are aggregated. + ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) + // Gets the details of a specific Redis instance. + GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) + // Creates a Redis instance based on the specified tier and memory size. + // + // By default, the instance is accessible from the project's + // [default network](/compute/docs/networks-and-firewalls#networks). + // + // The creation is executed asynchronously and callers may check the returned + // operation to track its progress. Once the operation is completed the Redis + // instance will be fully functional. Completed longrunning.Operation will + // contain the new instance object in the response field. + // + // The returned operation is automatically deleted after a few hours, so there + // is no need to call DeleteOperation. + CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Updates the metadata and configuration of a specific Redis instance. + // + // Completed longrunning.Operation will contain the new instance object + // in the response field. The returned operation is automatically deleted + // after a few hours, so there is no need to call DeleteOperation. + UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Deletes a specific Redis instance. Instance stops serving and data is + // deleted. + DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) +} + +type cloudRedisClient struct { + cc *grpc.ClientConn +} + +func NewCloudRedisClient(cc *grpc.ClientConn) CloudRedisClient { + return &cloudRedisClient{cc} +} + +func (c *cloudRedisClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { + out := new(ListInstancesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ListInstances", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudRedisClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { + out := new(Instance) + err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/GetInstance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudRedisClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/CreateInstance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudRedisClient) UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/UpdateInstance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudRedisClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/DeleteInstance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CloudRedisServer is the server API for CloudRedis service. +type CloudRedisServer interface { + // Lists all Redis instances owned by a project in either the specified + // location (region) or all locations. + // + // The location should have the following format: + // * `projects/{project_id}/locations/{location_id}` + // + // If `location_id` is specified as `-` (wildcard), then all regions + // available to the project are queried, and the results are aggregated. + ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) + // Gets the details of a specific Redis instance. + GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) + // Creates a Redis instance based on the specified tier and memory size. + // + // By default, the instance is accessible from the project's + // [default network](/compute/docs/networks-and-firewalls#networks). + // + // The creation is executed asynchronously and callers may check the returned + // operation to track its progress. Once the operation is completed the Redis + // instance will be fully functional. Completed longrunning.Operation will + // contain the new instance object in the response field. + // + // The returned operation is automatically deleted after a few hours, so there + // is no need to call DeleteOperation. + CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) + // Updates the metadata and configuration of a specific Redis instance. + // + // Completed longrunning.Operation will contain the new instance object + // in the response field. The returned operation is automatically deleted + // after a few hours, so there is no need to call DeleteOperation. + UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) + // Deletes a specific Redis instance. Instance stops serving and data is + // deleted. + DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) +} + +func RegisterCloudRedisServer(s *grpc.Server, srv CloudRedisServer) { + s.RegisterService(&_CloudRedis_serviceDesc, srv) +} + +func _CloudRedis_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListInstancesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudRedisServer).ListInstances(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.redis.v1.CloudRedis/ListInstances", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudRedisServer).ListInstances(ctx, req.(*ListInstancesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudRedis_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInstanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudRedisServer).GetInstance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.redis.v1.CloudRedis/GetInstance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudRedisServer).GetInstance(ctx, req.(*GetInstanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudRedis_CreateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateInstanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudRedisServer).CreateInstance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.redis.v1.CloudRedis/CreateInstance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudRedisServer).CreateInstance(ctx, req.(*CreateInstanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudRedis_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateInstanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudRedisServer).UpdateInstance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.redis.v1.CloudRedis/UpdateInstance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudRedisServer).UpdateInstance(ctx, req.(*UpdateInstanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudRedis_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteInstanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudRedisServer).DeleteInstance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.redis.v1.CloudRedis/DeleteInstance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudRedisServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CloudRedis_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.redis.v1.CloudRedis", + HandlerType: (*CloudRedisServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ListInstances", + Handler: _CloudRedis_ListInstances_Handler, + }, + { + MethodName: "GetInstance", + Handler: _CloudRedis_GetInstance_Handler, + }, + { + MethodName: "CreateInstance", + Handler: _CloudRedis_CreateInstance_Handler, + }, + { + MethodName: "UpdateInstance", + Handler: _CloudRedis_UpdateInstance_Handler, + }, + { + MethodName: "DeleteInstance", + Handler: _CloudRedis_DeleteInstance_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/redis/v1/cloud_redis.proto", +} + +func init() { + proto.RegisterFile("google/cloud/redis/v1/cloud_redis.proto", fileDescriptor_cloud_redis_1d5a49b3aa4aa71c) +} + +var fileDescriptor_cloud_redis_1d5a49b3aa4aa71c = []byte{ + // 1317 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xd1, 0x6e, 0x1a, 0x47, + 0x17, 0xfe, 0xd7, 0x36, 0x04, 0x0e, 0x18, 0xe3, 0x89, 0xc9, 0xbf, 0xa5, 0x8d, 0x4c, 0x49, 0xd2, + 0x12, 0xa7, 0x61, 0x65, 0x57, 0x89, 0x92, 0x58, 0x51, 0x84, 0x81, 0x24, 0x48, 0x36, 0xb5, 0x16, + 0x12, 0xa9, 0xb9, 0x59, 0x0d, 0xec, 0x78, 0xb3, 0xf1, 0xb2, 0xbb, 0x9d, 0x19, 0x68, 0xed, 0x2a, + 0xbd, 0xe8, 0x7d, 0xa5, 0x56, 0xed, 0x75, 0xa5, 0x4a, 0xad, 0xfa, 0x10, 0x7d, 0x8c, 0xbe, 0x40, + 0x2f, 0xfa, 0x20, 0xd5, 0xcc, 0xec, 0x62, 0x20, 0x20, 0xe2, 0xbb, 0x99, 0xef, 0x7c, 0x67, 0xe7, + 0x9b, 0x73, 0x66, 0xbe, 0x01, 0xf8, 0xd4, 0x09, 0x02, 0xc7, 0x23, 0x46, 0xdf, 0x0b, 0x86, 0xb6, + 0x41, 0x89, 0xed, 0x32, 0x63, 0xb4, 0xab, 0xa6, 0x96, 0x9c, 0x56, 0x43, 0x1a, 0xf0, 0x00, 0x15, + 0x14, 0xb1, 0x2a, 0x23, 0x55, 0x15, 0x19, 0xed, 0x16, 0x3f, 0x8a, 0xf2, 0x71, 0xe8, 0x1a, 0xd8, + 0xf7, 0x03, 0x8e, 0xb9, 0x1b, 0xf8, 0x51, 0x52, 0xf1, 0x46, 0x14, 0xf5, 0x02, 0xdf, 0xa1, 0x43, + 0xdf, 0x77, 0x7d, 0xc7, 0x08, 0x42, 0x42, 0xa7, 0x48, 0xa5, 0x88, 0x24, 0x67, 0xbd, 0xe1, 0x89, + 0x71, 0xe2, 0x12, 0xcf, 0xb6, 0x06, 0x98, 0x9d, 0x46, 0x8c, 0xed, 0x59, 0x06, 0x77, 0x07, 0x84, + 0x71, 0x3c, 0x08, 0x15, 0xa1, 0xfc, 0x57, 0x0a, 0x52, 0x2d, 0x9f, 0x71, 0xec, 0xf7, 0x09, 0x42, + 0xb0, 0xe6, 0xe3, 0x01, 0xd1, 0xb5, 0x92, 0x56, 0x49, 0x9b, 0x72, 0x8c, 0x3e, 0x86, 0xac, 0xed, + 0xb2, 0xd0, 0xc3, 0x67, 0x96, 0x8c, 0xad, 0xc8, 0x58, 0x26, 0xc2, 0xda, 0x82, 0x52, 0x87, 0xa4, + 0x87, 0x7b, 0xc4, 0x63, 0xfa, 0x6a, 0x69, 0xb5, 0x92, 0xd9, 0xbb, 0x53, 0x9d, 0xbb, 0xe3, 0x6a, + 0xbc, 0x4e, 0xf5, 0x50, 0xb2, 0x9b, 0x3e, 0xa7, 0x67, 0x66, 0x94, 0x8a, 0xb6, 0x21, 0xe3, 0x05, + 0x7d, 0xb9, 0x3d, 0xcb, 0xb5, 0xf5, 0x35, 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ff, 0xc4, + 0x75, 0x98, 0x9e, 0x97, 0xed, 0xde, 0x5d, 0xb6, 0x96, 0x29, 0x90, 0xba, 0xca, 0x51, 0x4d, 0x57, + 0xc5, 0x8f, 0x20, 0xf4, 0x00, 0xd6, 0xb8, 0x4b, 0xa8, 0xbe, 0x29, 0xa5, 0xdf, 0x5c, 0xf6, 0xb9, + 0xae, 0x4b, 0xa8, 0x29, 0x33, 0xd0, 0x4d, 0xc8, 0x0d, 0xc8, 0x20, 0xa0, 0x67, 0x16, 0x73, 0xcf, + 0x89, 0xe5, 0xf4, 0x74, 0x24, 0x1b, 0x90, 0x55, 0x68, 0xc7, 0x3d, 0x27, 0xcf, 0x7a, 0xe8, 0x2e, + 0x20, 0x3c, 0xe4, 0xaf, 0x03, 0xea, 0x9e, 0x13, 0xdb, 0xf2, 0x09, 0xff, 0x3a, 0xa0, 0xa7, 0xfa, + 0x96, 0xea, 0xc3, 0x45, 0xa4, 0xad, 0x02, 0xc5, 0x87, 0x90, 0x99, 0x38, 0xa0, 0x28, 0x0f, 0xab, + 0xa7, 0xe4, 0x2c, 0xba, 0x13, 0x62, 0x88, 0xb6, 0x20, 0x31, 0xc2, 0xde, 0x30, 0xbe, 0x0b, 0x6a, + 0xf2, 0x68, 0xe5, 0x81, 0x56, 0x7c, 0x02, 0x9b, 0xef, 0x6c, 0xf6, 0x32, 0x1f, 0x28, 0x33, 0x48, + 0xc8, 0xce, 0xa0, 0x02, 0x6c, 0x76, 0xba, 0xb5, 0x6e, 0xd3, 0x7a, 0xd1, 0xee, 0x1c, 0x37, 0xeb, + 0xad, 0xa7, 0xad, 0x66, 0x23, 0xff, 0x3f, 0x94, 0x85, 0x54, 0xdd, 0x6c, 0xd6, 0xba, 0xad, 0xf6, + 0xb3, 0xbc, 0x86, 0xd2, 0x90, 0x30, 0x9b, 0xb5, 0xc6, 0x97, 0xf9, 0x15, 0x11, 0x78, 0x71, 0xdc, + 0x50, 0x81, 0x55, 0x31, 0x6b, 0x34, 0x0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f5, 0xb0, 0x7c, 0xb9, 0x4a, 0x3d, 0x1a, 0xbb, 0x05, 0xfa, + 0x53, 0x83, 0xdc, 0xb4, 0x83, 0x2d, 0x14, 0x38, 0xd7, 0xe8, 0x96, 0x09, 0x7c, 0x2e, 0x05, 0x1e, + 0xec, 0xdd, 0x97, 0x02, 0xe3, 0x65, 0xab, 0xef, 0x5b, 0xc0, 0x09, 0xa5, 0xbf, 0x68, 0x90, 0x9b, + 0x36, 0xb6, 0x85, 0x4a, 0xe7, 0xfa, 0xdf, 0x32, 0xa5, 0x51, 0x87, 0x77, 0x2e, 0xd7, 0xe1, 0x03, + 0x06, 0x1f, 0xf4, 0x83, 0xc1, 0x7c, 0x21, 0x07, 0xfa, 0xc5, 0x0d, 0xea, 0x10, 0x3a, 0x72, 0xfb, + 0xe4, 0xe5, 0xee, 0xb1, 0x30, 0xc1, 0x63, 0xed, 0xd5, 0xa3, 0x28, 0xc5, 0x09, 0x3c, 0xec, 0x3b, + 0xd5, 0x80, 0x3a, 0x86, 0x43, 0x7c, 0x69, 0x91, 0x86, 0x0a, 0xe1, 0xd0, 0x65, 0x33, 0x7f, 0x82, + 0xf6, 0xe5, 0xa0, 0x97, 0x94, 0xb4, 0xcf, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x12, 0x49, 0x33, + 0xc0, 0x2a, 0x0d, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1beta1/cloud_redis.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1beta1/cloud_redis.pb.go index 1b2108c41..11fd18c4e 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1beta1/cloud_redis.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1beta1/cloud_redis.pb.go @@ -73,7 +73,7 @@ func (x Instance_State) String() string { return proto.EnumName(Instance_State_name, int32(x)) } func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{0, 0} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{0, 0} } // Available service tiers to choose from @@ -103,7 +103,7 @@ func (x Instance_Tier) String() string { return proto.EnumName(Instance_Tier_name, int32(x)) } func (Instance_Tier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{0, 1} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{0, 1} } // A Google Cloud Redis instance. @@ -182,7 +182,7 @@ func (m *Instance) Reset() { *m = Instance{} } func (m *Instance) String() string { return proto.CompactTextString(m) } func (*Instance) ProtoMessage() {} func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{0} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{0} } func (m *Instance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Instance.Unmarshal(m, b) @@ -347,7 +347,7 @@ func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } func (*ListInstancesRequest) ProtoMessage() {} func (*ListInstancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{1} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{1} } func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) @@ -413,7 +413,7 @@ func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } func (*ListInstancesResponse) ProtoMessage() {} func (*ListInstancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{2} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{2} } func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) @@ -462,7 +462,7 @@ func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceRequest) ProtoMessage() {} func (*GetInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{3} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{3} } func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) @@ -515,7 +515,7 @@ func (m *CreateInstanceRequest) Reset() { *m = CreateInstanceRequest{} } func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*CreateInstanceRequest) ProtoMessage() {} func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{4} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{4} } func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b) @@ -578,7 +578,7 @@ func (m *UpdateInstanceRequest) Reset() { *m = UpdateInstanceRequest{} } func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceRequest) ProtoMessage() {} func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{5} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{5} } func (m *UpdateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceRequest.Unmarshal(m, b) @@ -627,7 +627,7 @@ func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteInstanceRequest) ProtoMessage() {} func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{6} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{6} } func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) @@ -673,7 +673,7 @@ func (m *LocationMetadata) Reset() { *m = LocationMetadata{} } func (m *LocationMetadata) String() string { return proto.CompactTextString(m) } func (*LocationMetadata) ProtoMessage() {} func (*LocationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{7} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{7} } func (m *LocationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationMetadata.Unmarshal(m, b) @@ -712,7 +712,7 @@ func (m *ZoneMetadata) Reset() { *m = ZoneMetadata{} } func (m *ZoneMetadata) String() string { return proto.CompactTextString(m) } func (*ZoneMetadata) ProtoMessage() {} func (*ZoneMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_redis_eae01bc4e1a2732a, []int{8} + return fileDescriptor_cloud_redis_93920e123363dc4d, []int{8} } func (m *ZoneMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ZoneMetadata.Unmarshal(m, b) @@ -1010,10 +1010,10 @@ var _CloudRedis_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/redis/v1beta1/cloud_redis.proto", fileDescriptor_cloud_redis_eae01bc4e1a2732a) + proto.RegisterFile("google/cloud/redis/v1beta1/cloud_redis.proto", fileDescriptor_cloud_redis_93920e123363dc4d) } -var fileDescriptor_cloud_redis_eae01bc4e1a2732a = []byte{ +var fileDescriptor_cloud_redis_93920e123363dc4d = []byte{ // 1230 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xdf, 0x6e, 0x1b, 0xc5, 0x17, 0xfe, 0x6d, 0x12, 0xe7, 0x17, 0x9f, 0x4d, 0x1c, 0x67, 0x9a, 0xc0, 0xca, 0x50, 0x1a, 0xdc, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/resourcemanager/v2/folders.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/resourcemanager/v2/folders.pb.go index 559035f78..d8a5772b7 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/resourcemanager/v2/folders.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/resourcemanager/v2/folders.pb.go @@ -55,7 +55,7 @@ func (x Folder_LifecycleState) String() string { return proto.EnumName(Folder_LifecycleState_name, int32(x)) } func (Folder_LifecycleState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{0, 0} + return fileDescriptor_folders_6c4bd17feec38232, []int{0, 0} } // The type of operation that failed. @@ -85,7 +85,7 @@ func (x FolderOperation_OperationType) String() string { return proto.EnumName(FolderOperation_OperationType_name, int32(x)) } func (FolderOperation_OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{11, 0} + return fileDescriptor_folders_6c4bd17feec38232, []int{11, 0} } // A Folder in an Organization's resource hierarchy, used to @@ -122,7 +122,7 @@ func (m *Folder) Reset() { *m = Folder{} } func (m *Folder) String() string { return proto.CompactTextString(m) } func (*Folder) ProtoMessage() {} func (*Folder) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{0} + return fileDescriptor_folders_6c4bd17feec38232, []int{0} } func (m *Folder) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Folder.Unmarshal(m, b) @@ -211,7 +211,7 @@ func (m *ListFoldersRequest) Reset() { *m = ListFoldersRequest{} } func (m *ListFoldersRequest) String() string { return proto.CompactTextString(m) } func (*ListFoldersRequest) ProtoMessage() {} func (*ListFoldersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{1} + return fileDescriptor_folders_6c4bd17feec38232, []int{1} } func (m *ListFoldersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFoldersRequest.Unmarshal(m, b) @@ -277,7 +277,7 @@ func (m *ListFoldersResponse) Reset() { *m = ListFoldersResponse{} } func (m *ListFoldersResponse) String() string { return proto.CompactTextString(m) } func (*ListFoldersResponse) ProtoMessage() {} func (*ListFoldersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{2} + return fileDescriptor_folders_6c4bd17feec38232, []int{2} } func (m *ListFoldersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFoldersResponse.Unmarshal(m, b) @@ -346,7 +346,7 @@ func (m *SearchFoldersRequest) Reset() { *m = SearchFoldersRequest{} } func (m *SearchFoldersRequest) String() string { return proto.CompactTextString(m) } func (*SearchFoldersRequest) ProtoMessage() {} func (*SearchFoldersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{3} + return fileDescriptor_folders_6c4bd17feec38232, []int{3} } func (m *SearchFoldersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchFoldersRequest.Unmarshal(m, b) @@ -405,7 +405,7 @@ func (m *SearchFoldersResponse) Reset() { *m = SearchFoldersResponse{} } func (m *SearchFoldersResponse) String() string { return proto.CompactTextString(m) } func (*SearchFoldersResponse) ProtoMessage() {} func (*SearchFoldersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{4} + return fileDescriptor_folders_6c4bd17feec38232, []int{4} } func (m *SearchFoldersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchFoldersResponse.Unmarshal(m, b) @@ -453,7 +453,7 @@ func (m *GetFolderRequest) Reset() { *m = GetFolderRequest{} } func (m *GetFolderRequest) String() string { return proto.CompactTextString(m) } func (*GetFolderRequest) ProtoMessage() {} func (*GetFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{5} + return fileDescriptor_folders_6c4bd17feec38232, []int{5} } func (m *GetFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFolderRequest.Unmarshal(m, b) @@ -497,7 +497,7 @@ func (m *CreateFolderRequest) Reset() { *m = CreateFolderRequest{} } func (m *CreateFolderRequest) String() string { return proto.CompactTextString(m) } func (*CreateFolderRequest) ProtoMessage() {} func (*CreateFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{6} + return fileDescriptor_folders_6c4bd17feec38232, []int{6} } func (m *CreateFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateFolderRequest.Unmarshal(m, b) @@ -549,7 +549,7 @@ func (m *MoveFolderRequest) Reset() { *m = MoveFolderRequest{} } func (m *MoveFolderRequest) String() string { return proto.CompactTextString(m) } func (*MoveFolderRequest) ProtoMessage() {} func (*MoveFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{7} + return fileDescriptor_folders_6c4bd17feec38232, []int{7} } func (m *MoveFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveFolderRequest.Unmarshal(m, b) @@ -601,7 +601,7 @@ func (m *UpdateFolderRequest) Reset() { *m = UpdateFolderRequest{} } func (m *UpdateFolderRequest) String() string { return proto.CompactTextString(m) } func (*UpdateFolderRequest) ProtoMessage() {} func (*UpdateFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{8} + return fileDescriptor_folders_6c4bd17feec38232, []int{8} } func (m *UpdateFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateFolderRequest.Unmarshal(m, b) @@ -652,7 +652,7 @@ func (m *DeleteFolderRequest) Reset() { *m = DeleteFolderRequest{} } func (m *DeleteFolderRequest) String() string { return proto.CompactTextString(m) } func (*DeleteFolderRequest) ProtoMessage() {} func (*DeleteFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{9} + return fileDescriptor_folders_6c4bd17feec38232, []int{9} } func (m *DeleteFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteFolderRequest.Unmarshal(m, b) @@ -700,7 +700,7 @@ func (m *UndeleteFolderRequest) Reset() { *m = UndeleteFolderRequest{} } func (m *UndeleteFolderRequest) String() string { return proto.CompactTextString(m) } func (*UndeleteFolderRequest) ProtoMessage() {} func (*UndeleteFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{10} + return fileDescriptor_folders_6c4bd17feec38232, []int{10} } func (m *UndeleteFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteFolderRequest.Unmarshal(m, b) @@ -748,7 +748,7 @@ func (m *FolderOperation) Reset() { *m = FolderOperation{} } func (m *FolderOperation) String() string { return proto.CompactTextString(m) } func (*FolderOperation) ProtoMessage() {} func (*FolderOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_folders_6f2b72803211c511, []int{11} + return fileDescriptor_folders_6c4bd17feec38232, []int{11} } func (m *FolderOperation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FolderOperation.Unmarshal(m, b) @@ -1424,10 +1424,10 @@ var _Folders_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/resourcemanager/v2/folders.proto", fileDescriptor_folders_6f2b72803211c511) + proto.RegisterFile("google/cloud/resourcemanager/v2/folders.proto", fileDescriptor_folders_6c4bd17feec38232) } -var fileDescriptor_folders_6f2b72803211c511 = []byte{ +var fileDescriptor_folders_6c4bd17feec38232 = []byte{ // 1235 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x5d, 0x6f, 0xdb, 0xd4, 0x1b, 0xff, 0x9f, 0xac, 0xcb, 0xba, 0x27, 0x2f, 0xcd, 0x4e, 0xdb, 0xfd, 0x4b, 0xba, 0xbe, 0x70, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go index 8e5647b98..9e6c8f14d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go @@ -51,7 +51,7 @@ func (x VariableState) String() string { return proto.EnumName(VariableState_name, int32(x)) } func (VariableState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_resources_03b93da0510fa410, []int{0} + return fileDescriptor_resources_a4c042e63b7976fe, []int{0} } // A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig @@ -81,7 +81,7 @@ func (m *RuntimeConfig) Reset() { *m = RuntimeConfig{} } func (m *RuntimeConfig) String() string { return proto.CompactTextString(m) } func (*RuntimeConfig) ProtoMessage() {} func (*RuntimeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_03b93da0510fa410, []int{0} + return fileDescriptor_resources_a4c042e63b7976fe, []int{0} } func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RuntimeConfig.Unmarshal(m, b) @@ -138,7 +138,7 @@ type Variable struct { // // Once you create a variable, you cannot change the variable name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The the value of the variable. It can be either a binary or a string + // The value of the variable. It can be either a binary or a string // value. You must specify one of either `value` or `text`. Specifying both // will cause the server to return an error. // @@ -161,7 +161,7 @@ func (m *Variable) Reset() { *m = Variable{} } func (m *Variable) String() string { return proto.CompactTextString(m) } func (*Variable) ProtoMessage() {} func (*Variable) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_03b93da0510fa410, []int{1} + return fileDescriptor_resources_a4c042e63b7976fe, []int{1} } func (m *Variable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Variable.Unmarshal(m, b) @@ -181,6 +181,13 @@ func (m *Variable) XXX_DiscardUnknown() { var xxx_messageInfo_Variable proto.InternalMessageInfo +func (m *Variable) GetName() string { + if m != nil { + return m.Name + } + return "" +} + type isVariable_Contents interface { isVariable_Contents() } @@ -188,12 +195,14 @@ type isVariable_Contents interface { type Variable_Value struct { Value []byte `protobuf:"bytes,2,opt,name=value,proto3,oneof"` } + type Variable_Text struct { Text string `protobuf:"bytes,5,opt,name=text,proto3,oneof"` } func (*Variable_Value) isVariable_Contents() {} -func (*Variable_Text) isVariable_Contents() {} + +func (*Variable_Text) isVariable_Contents() {} func (m *Variable) GetContents() isVariable_Contents { if m != nil { @@ -202,13 +211,6 @@ func (m *Variable) GetContents() isVariable_Contents { return nil } -func (m *Variable) GetName() string { - if m != nil { - return m.Name - } - return "" -} - func (m *Variable) GetValue() []byte { if x, ok := m.GetContents().(*Variable_Value); ok { return x.Value @@ -320,7 +322,7 @@ func (m *EndCondition) Reset() { *m = EndCondition{} } func (m *EndCondition) String() string { return proto.CompactTextString(m) } func (*EndCondition) ProtoMessage() {} func (*EndCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_03b93da0510fa410, []int{2} + return fileDescriptor_resources_a4c042e63b7976fe, []int{2} } func (m *EndCondition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EndCondition.Unmarshal(m, b) @@ -448,7 +450,7 @@ func (m *EndCondition_Cardinality) Reset() { *m = EndCondition_Cardinali func (m *EndCondition_Cardinality) String() string { return proto.CompactTextString(m) } func (*EndCondition_Cardinality) ProtoMessage() {} func (*EndCondition_Cardinality) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_03b93da0510fa410, []int{2, 0} + return fileDescriptor_resources_a4c042e63b7976fe, []int{2, 0} } func (m *EndCondition_Cardinality) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EndCondition_Cardinality.Unmarshal(m, b) @@ -547,7 +549,7 @@ func (m *Waiter) Reset() { *m = Waiter{} } func (m *Waiter) String() string { return proto.CompactTextString(m) } func (*Waiter) ProtoMessage() {} func (*Waiter) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_03b93da0510fa410, []int{3} + return fileDescriptor_resources_a4c042e63b7976fe, []int{3} } func (m *Waiter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Waiter.Unmarshal(m, b) @@ -626,10 +628,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/resources.proto", fileDescriptor_resources_03b93da0510fa410) + proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/resources.proto", fileDescriptor_resources_a4c042e63b7976fe) } -var fileDescriptor_resources_03b93da0510fa410 = []byte{ +var fileDescriptor_resources_a4c042e63b7976fe = []byte{ // 628 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdd, 0x6e, 0xd3, 0x30, 0x14, 0xc7, 0x9b, 0xd2, 0x8f, 0xed, 0x64, 0x43, 0x93, 0x85, 0x46, 0xa8, 0xd0, 0xa8, 0x7a, 0x81, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/runtimeconfig.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/runtimeconfig.pb.go index 13d71d4ad..268181ab0 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/runtimeconfig.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/runtimeconfig.pb.go @@ -47,7 +47,7 @@ func (m *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} } func (m *ListConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListConfigsRequest) ProtoMessage() {} func (*ListConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{0} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{0} } func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListConfigsRequest.Unmarshal(m, b) @@ -109,7 +109,7 @@ func (m *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} } func (m *ListConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListConfigsResponse) ProtoMessage() {} func (*ListConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{1} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{1} } func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListConfigsResponse.Unmarshal(m, b) @@ -158,7 +158,7 @@ func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetConfigRequest) ProtoMessage() {} func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{2} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{2} } func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b) @@ -212,7 +212,7 @@ func (m *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} } func (m *CreateConfigRequest) String() string { return proto.CompactTextString(m) } func (*CreateConfigRequest) ProtoMessage() {} func (*CreateConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{3} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{3} } func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateConfigRequest.Unmarshal(m, b) @@ -270,7 +270,7 @@ func (m *UpdateConfigRequest) Reset() { *m = UpdateConfigRequest{} } func (m *UpdateConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateConfigRequest) ProtoMessage() {} func (*UpdateConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{4} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{4} } func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateConfigRequest.Unmarshal(m, b) @@ -319,7 +319,7 @@ func (m *DeleteConfigRequest) Reset() { *m = DeleteConfigRequest{} } func (m *DeleteConfigRequest) String() string { return proto.CompactTextString(m) } func (*DeleteConfigRequest) ProtoMessage() {} func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{5} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{5} } func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteConfigRequest.Unmarshal(m, b) @@ -376,7 +376,7 @@ func (m *ListVariablesRequest) Reset() { *m = ListVariablesRequest{} } func (m *ListVariablesRequest) String() string { return proto.CompactTextString(m) } func (*ListVariablesRequest) ProtoMessage() {} func (*ListVariablesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{6} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{6} } func (m *ListVariablesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVariablesRequest.Unmarshal(m, b) @@ -451,7 +451,7 @@ func (m *ListVariablesResponse) Reset() { *m = ListVariablesResponse{} } func (m *ListVariablesResponse) String() string { return proto.CompactTextString(m) } func (*ListVariablesResponse) ProtoMessage() {} func (*ListVariablesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{7} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{7} } func (m *ListVariablesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVariablesResponse.Unmarshal(m, b) @@ -507,7 +507,7 @@ func (m *WatchVariableRequest) Reset() { *m = WatchVariableRequest{} } func (m *WatchVariableRequest) String() string { return proto.CompactTextString(m) } func (*WatchVariableRequest) ProtoMessage() {} func (*WatchVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{8} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{8} } func (m *WatchVariableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WatchVariableRequest.Unmarshal(m, b) @@ -556,7 +556,7 @@ func (m *GetVariableRequest) Reset() { *m = GetVariableRequest{} } func (m *GetVariableRequest) String() string { return proto.CompactTextString(m) } func (*GetVariableRequest) ProtoMessage() {} func (*GetVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{9} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{9} } func (m *GetVariableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVariableRequest.Unmarshal(m, b) @@ -612,7 +612,7 @@ func (m *CreateVariableRequest) Reset() { *m = CreateVariableRequest{} } func (m *CreateVariableRequest) String() string { return proto.CompactTextString(m) } func (*CreateVariableRequest) ProtoMessage() {} func (*CreateVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{10} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{10} } func (m *CreateVariableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVariableRequest.Unmarshal(m, b) @@ -670,7 +670,7 @@ func (m *UpdateVariableRequest) Reset() { *m = UpdateVariableRequest{} } func (m *UpdateVariableRequest) String() string { return proto.CompactTextString(m) } func (*UpdateVariableRequest) ProtoMessage() {} func (*UpdateVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{11} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{11} } func (m *UpdateVariableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateVariableRequest.Unmarshal(m, b) @@ -722,7 +722,7 @@ func (m *DeleteVariableRequest) Reset() { *m = DeleteVariableRequest{} } func (m *DeleteVariableRequest) String() string { return proto.CompactTextString(m) } func (*DeleteVariableRequest) ProtoMessage() {} func (*DeleteVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{12} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{12} } func (m *DeleteVariableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVariableRequest.Unmarshal(m, b) @@ -778,7 +778,7 @@ func (m *ListWaitersRequest) Reset() { *m = ListWaitersRequest{} } func (m *ListWaitersRequest) String() string { return proto.CompactTextString(m) } func (*ListWaitersRequest) ProtoMessage() {} func (*ListWaitersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{13} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{13} } func (m *ListWaitersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListWaitersRequest.Unmarshal(m, b) @@ -839,7 +839,7 @@ func (m *ListWaitersResponse) Reset() { *m = ListWaitersResponse{} } func (m *ListWaitersResponse) String() string { return proto.CompactTextString(m) } func (*ListWaitersResponse) ProtoMessage() {} func (*ListWaitersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{14} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{14} } func (m *ListWaitersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListWaitersResponse.Unmarshal(m, b) @@ -889,7 +889,7 @@ func (m *GetWaiterRequest) Reset() { *m = GetWaiterRequest{} } func (m *GetWaiterRequest) String() string { return proto.CompactTextString(m) } func (*GetWaiterRequest) ProtoMessage() {} func (*GetWaiterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{15} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{15} } func (m *GetWaiterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetWaiterRequest.Unmarshal(m, b) @@ -945,7 +945,7 @@ func (m *CreateWaiterRequest) Reset() { *m = CreateWaiterRequest{} } func (m *CreateWaiterRequest) String() string { return proto.CompactTextString(m) } func (*CreateWaiterRequest) ProtoMessage() {} func (*CreateWaiterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{16} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{16} } func (m *CreateWaiterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateWaiterRequest.Unmarshal(m, b) @@ -1001,7 +1001,7 @@ func (m *DeleteWaiterRequest) Reset() { *m = DeleteWaiterRequest{} } func (m *DeleteWaiterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteWaiterRequest) ProtoMessage() {} func (*DeleteWaiterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_runtimeconfig_71a64cbcfb9779de, []int{17} + return fileDescriptor_runtimeconfig_6039f7e1dafadd9a, []int{17} } func (m *DeleteWaiterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteWaiterRequest.Unmarshal(m, b) @@ -1676,10 +1676,10 @@ var _RuntimeConfigManager_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/runtimeconfig.proto", fileDescriptor_runtimeconfig_71a64cbcfb9779de) + proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/runtimeconfig.proto", fileDescriptor_runtimeconfig_6039f7e1dafadd9a) } -var fileDescriptor_runtimeconfig_71a64cbcfb9779de = []byte{ +var fileDescriptor_runtimeconfig_6039f7e1dafadd9a = []byte{ // 1158 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x98, 0x4b, 0x6f, 0xdd, 0x44, 0x14, 0xc7, 0x35, 0x49, 0x9b, 0xe6, 0x9e, 0x3c, 0x40, 0x93, 0x87, 0x22, 0xb7, 0x15, 0x91, 0x8b, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/cloudscheduler.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/cloudscheduler.pb.go new file mode 100644 index 000000000..ed14e31e1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/cloudscheduler.pb.go @@ -0,0 +1,910 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package scheduler // import "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. +type ListJobsRequest struct { + // Required. + // + // The location name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Requested page size. + // + // The maximum page size is 500. If unspecified, the page size will + // be the maximum. Fewer jobs than requested might be returned, + // even if more jobs exist; use next_page_token to determine if more + // jobs exist. + PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // A token identifying a page of results the server will return. To + // request the first page results, page_token must be empty. To + // request the next page of results, page_token must be the value of + // [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from + // the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to + // switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or + // [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages. + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} } +func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) } +func (*ListJobsRequest) ProtoMessage() {} +func (*ListJobsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{0} +} +func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b) +} +func (m *ListJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListJobsRequest.Marshal(b, m, deterministic) +} +func (dst *ListJobsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListJobsRequest.Merge(dst, src) +} +func (m *ListJobsRequest) XXX_Size() int { + return xxx_messageInfo_ListJobsRequest.Size(m) +} +func (m *ListJobsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListJobsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListJobsRequest proto.InternalMessageInfo + +func (m *ListJobsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListJobsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListJobsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. +type ListJobsResponse struct { + // The list of jobs. + Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` + // A token to retrieve next page of results. Pass this value in the + // [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to + // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results. + // If this is empty it indicates that there are no more results + // through which to paginate. + // + // The page token is valid for only 2 hours. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} } +func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) } +func (*ListJobsResponse) ProtoMessage() {} +func (*ListJobsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{1} +} +func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b) +} +func (m *ListJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListJobsResponse.Marshal(b, m, deterministic) +} +func (dst *ListJobsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListJobsResponse.Merge(dst, src) +} +func (m *ListJobsResponse) XXX_Size() int { + return xxx_messageInfo_ListJobsResponse.Size(m) +} +func (m *ListJobsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListJobsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListJobsResponse proto.InternalMessageInfo + +func (m *ListJobsResponse) GetJobs() []*Job { + if m != nil { + return m.Jobs + } + return nil +} + +func (m *ListJobsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob]. +type GetJobRequest struct { + // Required. + // + // The job name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetJobRequest) Reset() { *m = GetJobRequest{} } +func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } +func (*GetJobRequest) ProtoMessage() {} +func (*GetJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{2} +} +func (m *GetJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetJobRequest.Unmarshal(m, b) +} +func (m *GetJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetJobRequest.Marshal(b, m, deterministic) +} +func (dst *GetJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetJobRequest.Merge(dst, src) +} +func (m *GetJobRequest) XXX_Size() int { + return xxx_messageInfo_GetJobRequest.Size(m) +} +func (m *GetJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetJobRequest proto.InternalMessageInfo + +func (m *GetJobRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob]. +type CreateJobRequest struct { + // Required. + // + // The location name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. + // + // The job to add. The user can optionally specify a name for the + // job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an + // existing job. If a name is not specified then the system will + // generate a random unique name that will be returned + // ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response. + Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} } +func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) } +func (*CreateJobRequest) ProtoMessage() {} +func (*CreateJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{3} +} +func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b) +} +func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic) +} +func (dst *CreateJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateJobRequest.Merge(dst, src) +} +func (m *CreateJobRequest) XXX_Size() int { + return xxx_messageInfo_CreateJobRequest.Size(m) +} +func (m *CreateJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo + +func (m *CreateJobRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateJobRequest) GetJob() *Job { + if m != nil { + return m.Job + } + return nil +} + +// Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]. +type UpdateJobRequest struct { + // Required. + // + // The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified. + // + // Output only fields cannot be modified using UpdateJob. + // Any value specified for an output only field will be ignored. + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + // A mask used to specify which fields of the job are being updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateJobRequest) Reset() { *m = UpdateJobRequest{} } +func (m *UpdateJobRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateJobRequest) ProtoMessage() {} +func (*UpdateJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{4} +} +func (m *UpdateJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateJobRequest.Unmarshal(m, b) +} +func (m *UpdateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateJobRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateJobRequest.Merge(dst, src) +} +func (m *UpdateJobRequest) XXX_Size() int { + return xxx_messageInfo_UpdateJobRequest.Size(m) +} +func (m *UpdateJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateJobRequest proto.InternalMessageInfo + +func (m *UpdateJobRequest) GetJob() *Job { + if m != nil { + return m.Job + } + return nil +} + +func (m *UpdateJobRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for deleting a job using +// [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob]. +type DeleteJobRequest struct { + // Required. + // + // The job name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} } +func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteJobRequest) ProtoMessage() {} +func (*DeleteJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{5} +} +func (m *DeleteJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteJobRequest.Unmarshal(m, b) +} +func (m *DeleteJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteJobRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteJobRequest.Merge(dst, src) +} +func (m *DeleteJobRequest) XXX_Size() int { + return xxx_messageInfo_DeleteJobRequest.Size(m) +} +func (m *DeleteJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteJobRequest proto.InternalMessageInfo + +func (m *DeleteJobRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob]. +type PauseJobRequest struct { + // Required. + // + // The job name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PauseJobRequest) Reset() { *m = PauseJobRequest{} } +func (m *PauseJobRequest) String() string { return proto.CompactTextString(m) } +func (*PauseJobRequest) ProtoMessage() {} +func (*PauseJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{6} +} +func (m *PauseJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PauseJobRequest.Unmarshal(m, b) +} +func (m *PauseJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PauseJobRequest.Marshal(b, m, deterministic) +} +func (dst *PauseJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PauseJobRequest.Merge(dst, src) +} +func (m *PauseJobRequest) XXX_Size() int { + return xxx_messageInfo_PauseJobRequest.Size(m) +} +func (m *PauseJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PauseJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PauseJobRequest proto.InternalMessageInfo + +func (m *PauseJobRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. +type ResumeJobRequest struct { + // Required. + // + // The job name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResumeJobRequest) Reset() { *m = ResumeJobRequest{} } +func (m *ResumeJobRequest) String() string { return proto.CompactTextString(m) } +func (*ResumeJobRequest) ProtoMessage() {} +func (*ResumeJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{7} +} +func (m *ResumeJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResumeJobRequest.Unmarshal(m, b) +} +func (m *ResumeJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResumeJobRequest.Marshal(b, m, deterministic) +} +func (dst *ResumeJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResumeJobRequest.Merge(dst, src) +} +func (m *ResumeJobRequest) XXX_Size() int { + return xxx_messageInfo_ResumeJobRequest.Size(m) +} +func (m *ResumeJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResumeJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResumeJobRequest proto.InternalMessageInfo + +func (m *ResumeJobRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for forcing a job to run now using +// [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob]. +type RunJobRequest struct { + // Required. + // + // The job name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RunJobRequest) Reset() { *m = RunJobRequest{} } +func (m *RunJobRequest) String() string { return proto.CompactTextString(m) } +func (*RunJobRequest) ProtoMessage() {} +func (*RunJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudscheduler_af786439fdec70ac, []int{8} +} +func (m *RunJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RunJobRequest.Unmarshal(m, b) +} +func (m *RunJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RunJobRequest.Marshal(b, m, deterministic) +} +func (dst *RunJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RunJobRequest.Merge(dst, src) +} +func (m *RunJobRequest) XXX_Size() int { + return xxx_messageInfo_RunJobRequest.Size(m) +} +func (m *RunJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RunJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RunJobRequest proto.InternalMessageInfo + +func (m *RunJobRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func init() { + proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.scheduler.v1beta1.ListJobsRequest") + proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.scheduler.v1beta1.ListJobsResponse") + proto.RegisterType((*GetJobRequest)(nil), "google.cloud.scheduler.v1beta1.GetJobRequest") + proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.scheduler.v1beta1.CreateJobRequest") + proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.scheduler.v1beta1.UpdateJobRequest") + proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.scheduler.v1beta1.DeleteJobRequest") + proto.RegisterType((*PauseJobRequest)(nil), "google.cloud.scheduler.v1beta1.PauseJobRequest") + proto.RegisterType((*ResumeJobRequest)(nil), "google.cloud.scheduler.v1beta1.ResumeJobRequest") + proto.RegisterType((*RunJobRequest)(nil), "google.cloud.scheduler.v1beta1.RunJobRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CloudSchedulerClient is the client API for CloudScheduler service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CloudSchedulerClient interface { + // Lists jobs. + ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) + // Gets a job. + GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) + // Creates a job. + CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) + // Updates a job. + // + // If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does + // not exist, `NOT_FOUND` is returned. + // + // If UpdateJob does not successfully return, it is possible for the + // job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may + // not be executed. If this happens, retry the UpdateJob request + // until a successful response is received. + UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) + // Deletes a job. + DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Pauses a job. + // + // If a job is paused then the system will stop executing the job + // until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The + // state of the job is stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it + // will be set to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] + // to be paused. + PauseJob(ctx context.Context, in *PauseJobRequest, opts ...grpc.CallOption) (*Job, error) + // Resume a job. + // + // This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The + // state of a job is stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it + // will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job must be in + // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed. + ResumeJob(ctx context.Context, in *ResumeJobRequest, opts ...grpc.CallOption) (*Job, error) + // Forces a job to run now. + // + // When this method is called, Cloud Scheduler will dispatch the job, even + // if the job is already running. + RunJob(ctx context.Context, in *RunJobRequest, opts ...grpc.CallOption) (*Job, error) +} + +type cloudSchedulerClient struct { + cc *grpc.ClientConn +} + +func NewCloudSchedulerClient(cc *grpc.ClientConn) CloudSchedulerClient { + return &cloudSchedulerClient{cc} +} + +func (c *cloudSchedulerClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { + out := new(ListJobsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/ListJobs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { + out := new(Job) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/GetJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) { + out := new(Job) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/CreateJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) { + out := new(Job) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/UpdateJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/DeleteJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) PauseJob(ctx context.Context, in *PauseJobRequest, opts ...grpc.CallOption) (*Job, error) { + out := new(Job) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/PauseJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) ResumeJob(ctx context.Context, in *ResumeJobRequest, opts ...grpc.CallOption) (*Job, error) { + out := new(Job) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/ResumeJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudSchedulerClient) RunJob(ctx context.Context, in *RunJobRequest, opts ...grpc.CallOption) (*Job, error) { + out := new(Job) + err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/RunJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CloudSchedulerServer is the server API for CloudScheduler service. +type CloudSchedulerServer interface { + // Lists jobs. + ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) + // Gets a job. + GetJob(context.Context, *GetJobRequest) (*Job, error) + // Creates a job. + CreateJob(context.Context, *CreateJobRequest) (*Job, error) + // Updates a job. + // + // If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does + // not exist, `NOT_FOUND` is returned. + // + // If UpdateJob does not successfully return, it is possible for the + // job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may + // not be executed. If this happens, retry the UpdateJob request + // until a successful response is received. + UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) + // Deletes a job. + DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) + // Pauses a job. + // + // If a job is paused then the system will stop executing the job + // until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The + // state of the job is stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it + // will be set to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] + // to be paused. + PauseJob(context.Context, *PauseJobRequest) (*Job, error) + // Resume a job. + // + // This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The + // state of a job is stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it + // will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job must be in + // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed. + ResumeJob(context.Context, *ResumeJobRequest) (*Job, error) + // Forces a job to run now. + // + // When this method is called, Cloud Scheduler will dispatch the job, even + // if the job is already running. + RunJob(context.Context, *RunJobRequest) (*Job, error) +} + +func RegisterCloudSchedulerServer(s *grpc.Server, srv CloudSchedulerServer) { + s.RegisterService(&_CloudScheduler_serviceDesc, srv) +} + +func _CloudScheduler_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListJobsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).ListJobs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/ListJobs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).ListJobs(ctx, req.(*ListJobsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).GetJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/GetJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).GetJob(ctx, req.(*GetJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).CreateJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/CreateJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).CreateJob(ctx, req.(*CreateJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_UpdateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).UpdateJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/UpdateJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).UpdateJob(ctx, req.(*UpdateJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_DeleteJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).DeleteJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/DeleteJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).DeleteJob(ctx, req.(*DeleteJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_PauseJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PauseJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).PauseJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/PauseJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).PauseJob(ctx, req.(*PauseJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_ResumeJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResumeJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).ResumeJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/ResumeJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).ResumeJob(ctx, req.(*ResumeJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudScheduler_RunJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RunJobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudSchedulerServer).RunJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/RunJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudSchedulerServer).RunJob(ctx, req.(*RunJobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CloudScheduler_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.scheduler.v1beta1.CloudScheduler", + HandlerType: (*CloudSchedulerServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ListJobs", + Handler: _CloudScheduler_ListJobs_Handler, + }, + { + MethodName: "GetJob", + Handler: _CloudScheduler_GetJob_Handler, + }, + { + MethodName: "CreateJob", + Handler: _CloudScheduler_CreateJob_Handler, + }, + { + MethodName: "UpdateJob", + Handler: _CloudScheduler_UpdateJob_Handler, + }, + { + MethodName: "DeleteJob", + Handler: _CloudScheduler_DeleteJob_Handler, + }, + { + MethodName: "PauseJob", + Handler: _CloudScheduler_PauseJob_Handler, + }, + { + MethodName: "ResumeJob", + Handler: _CloudScheduler_ResumeJob_Handler, + }, + { + MethodName: "RunJob", + Handler: _CloudScheduler_RunJob_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/scheduler/v1beta1/cloudscheduler.proto", +} + +func init() { + proto.RegisterFile("google/cloud/scheduler/v1beta1/cloudscheduler.proto", fileDescriptor_cloudscheduler_af786439fdec70ac) +} + +var fileDescriptor_cloudscheduler_af786439fdec70ac = []byte{ + // 703 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x5b, 0x6b, 0xd4, 0x40, + 0x14, 0x66, 0x7a, 0x59, 0xba, 0xa7, 0xb4, 0x5d, 0xe6, 0xa1, 0x2c, 0x5b, 0x95, 0x25, 0xc5, 0xb2, + 0x2c, 0x34, 0xe3, 0xf6, 0xe2, 0x65, 0xeb, 0x05, 0x5a, 0xb5, 0x50, 0x14, 0x96, 0x54, 0x5f, 0x7c, + 0x29, 0x93, 0xdd, 0x69, 0xcc, 0x36, 0x9b, 0x89, 0x99, 0x44, 0xb4, 0x52, 0x04, 0x1f, 0xc4, 0x07, + 0xdf, 0xfa, 0xe6, 0x83, 0x88, 0xfa, 0x8f, 0xfc, 0x0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x11, 0x1e, 0x77, + 0x05, 0xc3, 0x77, 0x60, 0x6a, 0xc8, 0x4d, 0x51, 0x47, 0xcd, 0xc9, 0xd6, 0xec, 0xda, 0xb2, 0x7e, + 0x75, 0xc1, 0xf4, 0x3d, 0x6e, 0x1a, 0x2a, 0x01, 0xaf, 0xc0, 0x82, 0xcb, 0xde, 0x05, 0x07, 0xe7, + 0x00, 0x27, 0x14, 0xe0, 0x9c, 0x34, 0xf7, 0x52, 0xd0, 0x65, 0x98, 0xdb, 0x65, 0x12, 0x33, 0x79, + 0x19, 0x86, 0x29, 0x97, 0x8e, 0x58, 0xfc, 0x2e, 0xf5, 0xad, 0x51, 0xa8, 0xed, 0xf8, 0x8c, 0x06, + 0xec, 0x5c, 0xdc, 0x65, 0x15, 0xd8, 0x84, 0xc9, 0x21, 0x37, 0x15, 0x58, 0x41, 0xc2, 0x32, 0x5e, + 0xfb, 0x8c, 0xa0, 0xf6, 0xd2, 0x1b, 0x8c, 0x63, 0xc4, 0x77, 0xa1, 0x72, 0x77, 0xe1, 0x2d, 0x98, + 0x0d, 0xd5, 0x55, 0xaa, 0x89, 0x31, 0x95, 0x46, 0x92, 0x9e, 0xf4, 0x59, 0x7f, 0x2a, 0xfb, 0xfc, + 0x9c, 0x8a, 0x23, 0x03, 0xa2, 0x70, 0xf9, 0xad, 0xad, 0x40, 0xed, 0x31, 0x73, 0xd8, 0x18, 0x8f, + 0x8b, 0x6a, 0x72, 0x13, 0x16, 0x7a, 0x34, 0x14, 0x79, 0x61, 0x2b, 0x50, 0x33, 0x98, 0x08, 0x47, + 0x79, 0x71, 0xcb, 0x30, 0x67, 0x84, 0xee, 0xd5, 0x41, 0x6b, 0x5f, 0x00, 0xe6, 0x77, 0xe4, 0xeb, + 0xf7, 0x93, 0xc7, 0xe3, 0xdf, 0x08, 0x66, 0x92, 0xa9, 0xc1, 0x24, 0xaf, 0x44, 0x99, 0x31, 0x6e, + 0xdc, 0x2a, 0x9e, 0x10, 0x0d, 0xa4, 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 0xa4, 0x7c, + 0xcd, 0x8e, 0xed, 0xae, 0x62, 0xfc, 0xee, 0x2b, 0x7e, 0xb7, 0xb5, 0x4e, 0x49, 0x7e, 0xa1, 0xdb, + 0x45, 0xed, 0xed, 0x8f, 0xa0, 0xf5, 0xf9, 0x28, 0x07, 0x67, 0x7b, 0x3e, 0x5d, 0x94, 0x3d, 0x39, + 0x5b, 0x3d, 0xf4, 0x6a, 0x37, 0xce, 0xb0, 0xb8, 0x43, 0x5d, 0x4b, 0xe7, 0xbe, 0x45, 0x2c, 0xe6, + 0xaa, 0xc9, 0x23, 0x91, 0x8b, 0x7a, 0xb6, 0xb8, 0xec, 0x9f, 0x62, 0x2b, 0xb5, 0x98, 0x15, 0x95, + 0xb3, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xf6, 0xcb, 0x14, 0x68, 0xf9, 0x08, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/job.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/job.pb.go new file mode 100644 index 000000000..92d49ccef --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/job.pb.go @@ -0,0 +1,567 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/scheduler/v1beta1/job.proto + +package scheduler // import "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import duration "github.com/golang/protobuf/ptypes/duration" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import status "google.golang.org/genproto/googleapis/rpc/status" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// State of the job. +type Job_State int32 + +const ( + // Unspecified state. + Job_STATE_UNSPECIFIED Job_State = 0 + // The job is executing normally. + Job_ENABLED Job_State = 1 + // The job is paused by the user. It will not execute. A user can + // intentionally pause the job using + // [PauseJobRequest][google.cloud.scheduler.v1beta1.PauseJobRequest]. + Job_PAUSED Job_State = 2 + // The job is disabled by the system due to error. The user + // cannot directly set a job to be disabled. + Job_DISABLED Job_State = 3 + // The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] + // operation. To recover a job from this state, retry + // [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] until a successful response is received. + Job_UPDATE_FAILED Job_State = 4 +) + +var Job_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "ENABLED", + 2: "PAUSED", + 3: "DISABLED", + 4: "UPDATE_FAILED", +} +var Job_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "ENABLED": 1, + "PAUSED": 2, + "DISABLED": 3, + "UPDATE_FAILED": 4, +} + +func (x Job_State) String() string { + return proto.EnumName(Job_State_name, int32(x)) +} +func (Job_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_job_aea64c5484868a77, []int{0, 0} +} + +// Configuration for a job. +// The maximum allowed size for a job is 100KB. +type Job struct { + // The job name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + // + // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), + // hyphens (-), colons (:), or periods (.). + // For more information, see + // [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) + // * `LOCATION_ID` is the canonical ID for the job's location. + // The list of available locations can be obtained by calling + // [ListLocations][google.cloud.location.Locations.ListLocations]. + // For more information, see https://cloud.google.com/about/locations/. + // * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), + // hyphens (-), or underscores (_). The maximum length is 500 characters. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // A human-readable description for the job. This string must not contain + // more than 500 characters. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Required. + // + // Delivery settings containing destination and parameters. + // + // Types that are valid to be assigned to Target: + // *Job_PubsubTarget + // *Job_AppEngineHttpTarget + // *Job_HttpTarget + Target isJob_Target `protobuf_oneof:"target"` + // Required. + // + // Describes the schedule on which the job will be executed. + // + // As a general rule, execution `n + 1` of a job will not begin + // until execution `n` has finished. Cloud Scheduler will never + // allow two simultaneously outstanding executions. For example, + // this implies that if the `n+1`th execution is scheduled to run at + // 16:00 but the `n`th execution takes until 16:15, the `n+1`th + // execution will not start until `16:15`. + // A scheduled start time will be delayed if the previous + // execution has not ended when its scheduled time occurs. + // + // If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails, + // the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] + // times, with exponential backoff, until the next scheduled start + // time. + // + // The schedule can be either of the following types: + // + // * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) + // * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) + Schedule string `protobuf:"bytes,20,opt,name=schedule,proto3" json:"schedule,omitempty"` + // Specifies the time zone to be used in interpreting + // [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time + // zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). + // + // Note that some time zones include a provision for + // daylight savings time. The rules for daylight saving time are + // determined by the chosen tz. For UTC use the string "utc". If a + // time zone is not specified, the default will be in UTC (also known + // as GMT). + TimeZone string `protobuf:"bytes,21,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` + // Output only. The creation time of the job. + UserUpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=user_update_time,json=userUpdateTime,proto3" json:"user_update_time,omitempty"` + // Output only. State of the job. + State Job_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.scheduler.v1beta1.Job_State" json:"state,omitempty"` + // Output only. The response from the target for the last attempted execution. + Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` + // Output only. The next time the job is scheduled. Note that this may be a + // retry of a previously failed attempt or the next execution time + // according to the schedule. + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + // Output only. The time the last job attempt started. + LastAttemptTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=last_attempt_time,json=lastAttemptTime,proto3" json:"last_attempt_time,omitempty"` + // Settings that determine the retry behavior. + RetryConfig *RetryConfig `protobuf:"bytes,19,opt,name=retry_config,json=retryConfig,proto3" json:"retry_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Job) Reset() { *m = Job{} } +func (m *Job) String() string { return proto.CompactTextString(m) } +func (*Job) ProtoMessage() {} +func (*Job) Descriptor() ([]byte, []int) { + return fileDescriptor_job_aea64c5484868a77, []int{0} +} +func (m *Job) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Job.Unmarshal(m, b) +} +func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Job.Marshal(b, m, deterministic) +} +func (dst *Job) XXX_Merge(src proto.Message) { + xxx_messageInfo_Job.Merge(dst, src) +} +func (m *Job) XXX_Size() int { + return xxx_messageInfo_Job.Size(m) +} +func (m *Job) XXX_DiscardUnknown() { + xxx_messageInfo_Job.DiscardUnknown(m) +} + +var xxx_messageInfo_Job proto.InternalMessageInfo + +func (m *Job) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Job) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +type isJob_Target interface { + isJob_Target() +} + +type Job_PubsubTarget struct { + PubsubTarget *PubsubTarget `protobuf:"bytes,4,opt,name=pubsub_target,json=pubsubTarget,proto3,oneof"` +} + +type Job_AppEngineHttpTarget struct { + AppEngineHttpTarget *AppEngineHttpTarget `protobuf:"bytes,5,opt,name=app_engine_http_target,json=appEngineHttpTarget,proto3,oneof"` +} + +type Job_HttpTarget struct { + HttpTarget *HttpTarget `protobuf:"bytes,6,opt,name=http_target,json=httpTarget,proto3,oneof"` +} + +func (*Job_PubsubTarget) isJob_Target() {} + +func (*Job_AppEngineHttpTarget) isJob_Target() {} + +func (*Job_HttpTarget) isJob_Target() {} + +func (m *Job) GetTarget() isJob_Target { + if m != nil { + return m.Target + } + return nil +} + +func (m *Job) GetPubsubTarget() *PubsubTarget { + if x, ok := m.GetTarget().(*Job_PubsubTarget); ok { + return x.PubsubTarget + } + return nil +} + +func (m *Job) GetAppEngineHttpTarget() *AppEngineHttpTarget { + if x, ok := m.GetTarget().(*Job_AppEngineHttpTarget); ok { + return x.AppEngineHttpTarget + } + return nil +} + +func (m *Job) GetHttpTarget() *HttpTarget { + if x, ok := m.GetTarget().(*Job_HttpTarget); ok { + return x.HttpTarget + } + return nil +} + +func (m *Job) GetSchedule() string { + if m != nil { + return m.Schedule + } + return "" +} + +func (m *Job) GetTimeZone() string { + if m != nil { + return m.TimeZone + } + return "" +} + +func (m *Job) GetUserUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UserUpdateTime + } + return nil +} + +func (m *Job) GetState() Job_State { + if m != nil { + return m.State + } + return Job_STATE_UNSPECIFIED +} + +func (m *Job) GetStatus() *status.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *Job) GetScheduleTime() *timestamp.Timestamp { + if m != nil { + return m.ScheduleTime + } + return nil +} + +func (m *Job) GetLastAttemptTime() *timestamp.Timestamp { + if m != nil { + return m.LastAttemptTime + } + return nil +} + +func (m *Job) GetRetryConfig() *RetryConfig { + if m != nil { + return m.RetryConfig + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Job) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Job_OneofMarshaler, _Job_OneofUnmarshaler, _Job_OneofSizer, []interface{}{ + (*Job_PubsubTarget)(nil), + (*Job_AppEngineHttpTarget)(nil), + (*Job_HttpTarget)(nil), + } +} + +func _Job_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Job) + // target + switch x := m.Target.(type) { + case *Job_PubsubTarget: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PubsubTarget); err != nil { + return err + } + case *Job_AppEngineHttpTarget: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AppEngineHttpTarget); err != nil { + return err + } + case *Job_HttpTarget: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HttpTarget); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Job.Target has unexpected type %T", x) + } + return nil +} + +func _Job_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Job) + switch tag { + case 4: // target.pubsub_target + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PubsubTarget) + err := b.DecodeMessage(msg) + m.Target = &Job_PubsubTarget{msg} + return true, err + case 5: // target.app_engine_http_target + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AppEngineHttpTarget) + err := b.DecodeMessage(msg) + m.Target = &Job_AppEngineHttpTarget{msg} + return true, err + case 6: // target.http_target + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(HttpTarget) + err := b.DecodeMessage(msg) + m.Target = &Job_HttpTarget{msg} + return true, err + default: + return false, nil + } +} + +func _Job_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Job) + // target + switch x := m.Target.(type) { + case *Job_PubsubTarget: + s := proto.Size(x.PubsubTarget) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Job_AppEngineHttpTarget: + s := proto.Size(x.AppEngineHttpTarget) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Job_HttpTarget: + s := proto.Size(x.HttpTarget) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Settings that determine the retry behavior. +// +// By default, if a job does not complete successfully (meaning that +// an acknowledgement is not received from the handler, then it will be retried +// with exponential backoff according to the settings in [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig]. +type RetryConfig struct { + // The number of attempts that the system will make to run a job using the + // exponential backoff procedure described by + // [max_doublings][google.cloud.scheduler.v1beta1.RetryConfig.max_doublings]. + // + // The default value of retry_count is zero. + // + // If retry_count is zero, a job attempt will *not* be retried if + // it fails. Instead the Cloud Scheduler system will wait for the + // next scheduled execution time. + // + // If retry_count is set to a non-zero number then Cloud Scheduler + // will retry failed attempts, using exponential backoff, + // retry_count times, or until the next scheduled execution time, + // whichever comes first. + // + // Values greater than 5 and negative values are not allowed. + RetryCount int32 `protobuf:"varint,1,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"` + // The time limit for retrying a failed job, measured from time when an + // execution was first attempted. If specified with + // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both limits are + // reached. + // + // The default value for max_retry_duration is zero, which means retry + // duration is unlimited. + MaxRetryDuration *duration.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` + // The minimum amount of time to wait before retrying a job after + // it fails. + // + // The default value of this field is 5 seconds. + MinBackoffDuration *duration.Duration `protobuf:"bytes,3,opt,name=min_backoff_duration,json=minBackoffDuration,proto3" json:"min_backoff_duration,omitempty"` + // The maximum amount of time to wait before retrying a job after + // it fails. + // + // The default value of this field is 1 hour. + MaxBackoffDuration *duration.Duration `protobuf:"bytes,4,opt,name=max_backoff_duration,json=maxBackoffDuration,proto3" json:"max_backoff_duration,omitempty"` + // The time between retries will double `max_doublings` times. + // + // A job's retry interval starts at + // [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles + // `max_doublings` times, then increases linearly, and finally + // retries retries at intervals of + // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to + // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. + // + // For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is + // 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and + // `max_doublings` is 3, then the a job will first be retried in 10s. The + // retry interval will double three times, and then increase linearly by + // 2^3 * 10s. Finally, the job will retry at intervals of + // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has + // been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the + // requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... + // + // The default value of this field is 5. + MaxDoublings int32 `protobuf:"varint,5,opt,name=max_doublings,json=maxDoublings,proto3" json:"max_doublings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RetryConfig) Reset() { *m = RetryConfig{} } +func (m *RetryConfig) String() string { return proto.CompactTextString(m) } +func (*RetryConfig) ProtoMessage() {} +func (*RetryConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_job_aea64c5484868a77, []int{1} +} +func (m *RetryConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RetryConfig.Unmarshal(m, b) +} +func (m *RetryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RetryConfig.Marshal(b, m, deterministic) +} +func (dst *RetryConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RetryConfig.Merge(dst, src) +} +func (m *RetryConfig) XXX_Size() int { + return xxx_messageInfo_RetryConfig.Size(m) +} +func (m *RetryConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RetryConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RetryConfig proto.InternalMessageInfo + +func (m *RetryConfig) GetRetryCount() int32 { + if m != nil { + return m.RetryCount + } + return 0 +} + +func (m *RetryConfig) GetMaxRetryDuration() *duration.Duration { + if m != nil { + return m.MaxRetryDuration + } + return nil +} + +func (m *RetryConfig) GetMinBackoffDuration() *duration.Duration { + if m != nil { + return m.MinBackoffDuration + } + return nil +} + +func (m *RetryConfig) GetMaxBackoffDuration() *duration.Duration { + if m != nil { + return m.MaxBackoffDuration + } + return nil +} + +func (m *RetryConfig) GetMaxDoublings() int32 { + if m != nil { + return m.MaxDoublings + } + return 0 +} + +func init() { + proto.RegisterType((*Job)(nil), "google.cloud.scheduler.v1beta1.Job") + proto.RegisterType((*RetryConfig)(nil), "google.cloud.scheduler.v1beta1.RetryConfig") + proto.RegisterEnum("google.cloud.scheduler.v1beta1.Job_State", Job_State_name, Job_State_value) +} + +func init() { + proto.RegisterFile("google/cloud/scheduler/v1beta1/job.proto", fileDescriptor_job_aea64c5484868a77) +} + +var fileDescriptor_job_aea64c5484868a77 = []byte{ + // 696 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x51, 0x53, 0xda, 0x4a, + 0x14, 0xc7, 0x45, 0x81, 0x8b, 0x27, 0xe0, 0x85, 0x55, 0xef, 0x4d, 0x69, 0xa7, 0x32, 0xf4, 0x85, + 0x6a, 0x27, 0x19, 0xf5, 0xb1, 0x0f, 0x0e, 0x98, 0xa8, 0xd8, 0xd6, 0x61, 0x02, 0xcc, 0x74, 0x7c, + 0xc9, 0x6c, 0xc2, 0x12, 0x63, 0xc9, 0xee, 0x4e, 0xb2, 0xe9, 0x60, 0x3f, 0x58, 0x3f,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58, 0xb9, 0x18, 0x86, 0x97, 0xcf, 0x61, 0xef, 0xa0, 0x91, 0xc0, 0x66, 0x2c, 0x76, 0x16, 0x3e, + 0xf5, 0x22, 0xf9, 0xdc, 0x2b, 0x56, 0x3d, 0xc0, 0x4b, 0x23, 0xaf, 0x0d, 0x1e, 0xa0, 0xeb, 0xb2, + 0xa0, 0xe0, 0x6e, 0x07, 0xb5, 0x6b, 0xe6, 0x8c, 0x92, 0xa1, 0xa3, 0xd2, 0xed, 0x65, 0xa6, 0xf5, + 0xd8, 0x02, 0x53, 0x4f, 0x63, 0xa1, 0xa7, 0x7b, 0x84, 0xca, 0x48, 0x7a, 0xda, 0xc2, 0xdc, 0x8f, + 0xfe, 0xf4, 0x3f, 0xfc, 0x71, 0x55, 0x71, 0xaa, 0xd2, 0x73, 0xfa, 0x3b, 0x00, 0x00, 0xff, 0xff, + 0x5a, 0x2d, 0x77, 0x5a, 0x22, 0x06, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/target.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/target.pb.go new file mode 100644 index 000000000..18a90f745 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/target.pb.go @@ -0,0 +1,568 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/scheduler/v1beta1/target.proto + +package scheduler // import "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "github.com/golang/protobuf/ptypes/any" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The HTTP method used to execute the job. +type HttpMethod int32 + +const ( + // HTTP method unspecified. Defaults to POST. + HttpMethod_HTTP_METHOD_UNSPECIFIED HttpMethod = 0 + // HTTP POST + HttpMethod_POST HttpMethod = 1 + // HTTP GET + HttpMethod_GET HttpMethod = 2 + // HTTP HEAD + HttpMethod_HEAD HttpMethod = 3 + // HTTP PUT + HttpMethod_PUT HttpMethod = 4 + // HTTP DELETE + HttpMethod_DELETE HttpMethod = 5 + // HTTP PATCH + HttpMethod_PATCH HttpMethod = 6 + // HTTP OPTIONS + HttpMethod_OPTIONS HttpMethod = 7 +) + +var HttpMethod_name = map[int32]string{ + 0: "HTTP_METHOD_UNSPECIFIED", + 1: "POST", + 2: "GET", + 3: "HEAD", + 4: "PUT", + 5: "DELETE", + 6: "PATCH", + 7: "OPTIONS", +} +var HttpMethod_value = map[string]int32{ + "HTTP_METHOD_UNSPECIFIED": 0, + "POST": 1, + "GET": 2, + "HEAD": 3, + "PUT": 4, + "DELETE": 5, + "PATCH": 6, + "OPTIONS": 7, +} + +func (x HttpMethod) String() string { + return proto.EnumName(HttpMethod_name, int32(x)) +} +func (HttpMethod) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_target_656bad66dfc2a213, []int{0} +} + +// Http target. The job will be pushed to the job handler by means of +// an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP +// POST, HTTP GET, etc. The job is acknowledged by means of an HTTP +// response code in the range [200 - 299]. A failure to receive a response +// constitutes a failed execution. For a redirected request, the response +// returned by the redirected request is considered. +type HttpTarget struct { + // Required. + // + // The full URI path that the request will be sent to. This string + // must begin with either "http://" or "https://". Some examples of + // valid values for [uri][google.cloud.scheduler.v1beta1.HttpTarget.uri] are: + // `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will + // encode some characters for safety and compatibility. The maximum allowed + // URL length is 2083 characters after encoding. + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` + // Which HTTP method to use for the request. + HttpMethod HttpMethod `protobuf:"varint,2,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.scheduler.v1beta1.HttpMethod" json:"http_method,omitempty"` + // The user can specify HTTP request headers to send with the job's + // HTTP request. This map contains the header field names and + // values. Repeated headers are not supported, but a header value can + // contain commas. These headers represent a subset of the headers + // that will accompany the job's HTTP request. Some HTTP request + // headers will be ignored or replaced. A partial list of headers that + // will be ignored or replaced is below: + // - Host: This will be computed by Cloud Scheduler and derived from + // [uri][google.cloud.scheduler.v1beta1.HttpTarget.uri]. + // * `Content-Length`: This will be computed by Cloud Scheduler. + // * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. + // * `X-Google-*`: Google internal use only. + // * `X-AppEngine-*`: Google internal use only. + // + // The total size of headers must be less than 80KB. + Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // HTTP request body. A request body is allowed only if the HTTP + // method is POST, PUT, or PATCH. It is an error to set body on a job with an + // incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod]. + Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HttpTarget) Reset() { *m = HttpTarget{} } +func (m *HttpTarget) String() string { return proto.CompactTextString(m) } +func (*HttpTarget) ProtoMessage() {} +func (*HttpTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_target_656bad66dfc2a213, []int{0} +} +func (m *HttpTarget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HttpTarget.Unmarshal(m, b) +} +func (m *HttpTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HttpTarget.Marshal(b, m, deterministic) +} +func (dst *HttpTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_HttpTarget.Merge(dst, src) +} +func (m *HttpTarget) XXX_Size() int { + return xxx_messageInfo_HttpTarget.Size(m) +} +func (m *HttpTarget) XXX_DiscardUnknown() { + xxx_messageInfo_HttpTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_HttpTarget proto.InternalMessageInfo + +func (m *HttpTarget) GetUri() string { + if m != nil { + return m.Uri + } + return "" +} + +func (m *HttpTarget) GetHttpMethod() HttpMethod { + if m != nil { + return m.HttpMethod + } + return HttpMethod_HTTP_METHOD_UNSPECIFIED +} + +func (m *HttpTarget) GetHeaders() map[string]string { + if m != nil { + return m.Headers + } + return nil +} + +func (m *HttpTarget) GetBody() []byte { + if m != nil { + return m.Body + } + return nil +} + +// App Engine target. The job will be pushed to a job handler by means +// of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such +// as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an +// HTTP response code in the range [200 - 299]. Error 503 is +// considered an App Engine system error instead of an application +// error. Requests returning error 503 will be retried regardless of +// retry configuration and not counted against retry counts. Any other +// response code, or a failure to receive a response before the +// deadline, constitutes a failed attempt. +type AppEngineHttpTarget struct { + // The HTTP method to use for the request. PATCH and OPTIONS are not + // permitted. + HttpMethod HttpMethod `protobuf:"varint,1,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.scheduler.v1beta1.HttpMethod" json:"http_method,omitempty"` + // App Engine Routing setting for the job. + AppEngineRouting *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing,json=appEngineRouting,proto3" json:"app_engine_routing,omitempty"` + // The relative URI. + // + // The relative URL must begin with "/" and must be a valid HTTP relative URL. + // It can contain a path, query string arguments, and `#` fragments. + // If the relative URL is empty, then the root path "/" will be used. + // No spaces are allowed, and the maximum length allowed is 2083 characters. + RelativeUri string `protobuf:"bytes,3,opt,name=relative_uri,json=relativeUri,proto3" json:"relative_uri,omitempty"` + // HTTP request headers. + // + // This map contains the header field names and values. Headers can be set + // when the job is created. + // + // Cloud Scheduler sets some headers to default values: + // + // * `User-Agent`: By default, this header is + // `"AppEngine-Google; (+http://code.google.com/appengine)"`. + // This header can be modified, but Cloud Scheduler will append + // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the + // modified `User-Agent`. + // + // If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets the + // following headers: + // + // * `Content-Type`: By default, the `Content-Type` header is set to + // `"application/octet-stream"`. The default can be overridden by explictly + // setting `Content-Type` to a particular media type when the job is + // created. + // For example, `Content-Type` can be set to `"application/json"`. + // * `Content-Length`: This is computed by Cloud Scheduler. This value is + // output only. It cannot be changed. + // + // The headers below are output only. They cannot be set or overridden: + // + // * `X-Google-*`: For Google internal use only. + // * `X-AppEngine-*`: For Google internal use only. See + // [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). + // + // In addition, some App Engine headers, which contain + // job-specific information, are also be sent to the job handler; see + // [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Body. + // + // HTTP request body. A request body is allowed only if the HTTP method is + // POST or PUT. It will result in invalid argument error to set a body on a + // job with an incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod]. + Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AppEngineHttpTarget) Reset() { *m = AppEngineHttpTarget{} } +func (m *AppEngineHttpTarget) String() string { return proto.CompactTextString(m) } +func (*AppEngineHttpTarget) ProtoMessage() {} +func (*AppEngineHttpTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_target_656bad66dfc2a213, []int{1} +} +func (m *AppEngineHttpTarget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AppEngineHttpTarget.Unmarshal(m, b) +} +func (m *AppEngineHttpTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AppEngineHttpTarget.Marshal(b, m, deterministic) +} +func (dst *AppEngineHttpTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_AppEngineHttpTarget.Merge(dst, src) +} +func (m *AppEngineHttpTarget) XXX_Size() int { + return xxx_messageInfo_AppEngineHttpTarget.Size(m) +} +func (m *AppEngineHttpTarget) XXX_DiscardUnknown() { + xxx_messageInfo_AppEngineHttpTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_AppEngineHttpTarget proto.InternalMessageInfo + +func (m *AppEngineHttpTarget) GetHttpMethod() HttpMethod { + if m != nil { + return m.HttpMethod + } + return HttpMethod_HTTP_METHOD_UNSPECIFIED +} + +func (m *AppEngineHttpTarget) GetAppEngineRouting() *AppEngineRouting { + if m != nil { + return m.AppEngineRouting + } + return nil +} + +func (m *AppEngineHttpTarget) GetRelativeUri() string { + if m != nil { + return m.RelativeUri + } + return "" +} + +func (m *AppEngineHttpTarget) GetHeaders() map[string]string { + if m != nil { + return m.Headers + } + return nil +} + +func (m *AppEngineHttpTarget) GetBody() []byte { + if m != nil { + return m.Body + } + return nil +} + +// Pub/Sub target. The job will be delivered by publishing a message to +// the given Pub/Sub topic. +type PubsubTarget struct { + // Required. + // + // The name of the Cloud Pub/Sub topic to which messages will + // be published when a job is delivered. The topic name must be in the + // same format as required by PubSub's + // [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), + // for example `projects/PROJECT_ID/topics/TOPIC_ID`. + // + // The topic must be in the same project as the Cloud Scheduler job. + TopicName string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"` + // The message payload for PubsubMessage. + // + // Pubsub message must contain either non-empty data, or at least one + // attribute. + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + // Attributes for PubsubMessage. + // + // Pubsub message must contain either non-empty data, or at least one + // attribute. + Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PubsubTarget) Reset() { *m = PubsubTarget{} } +func (m *PubsubTarget) String() string { return proto.CompactTextString(m) } +func (*PubsubTarget) ProtoMessage() {} +func (*PubsubTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_target_656bad66dfc2a213, []int{2} +} +func (m *PubsubTarget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PubsubTarget.Unmarshal(m, b) +} +func (m *PubsubTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PubsubTarget.Marshal(b, m, deterministic) +} +func (dst *PubsubTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_PubsubTarget.Merge(dst, src) +} +func (m *PubsubTarget) XXX_Size() int { + return xxx_messageInfo_PubsubTarget.Size(m) +} +func (m *PubsubTarget) XXX_DiscardUnknown() { + xxx_messageInfo_PubsubTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_PubsubTarget proto.InternalMessageInfo + +func (m *PubsubTarget) GetTopicName() string { + if m != nil { + return m.TopicName + } + return "" +} + +func (m *PubsubTarget) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *PubsubTarget) GetAttributes() map[string]string { + if m != nil { + return m.Attributes + } + return nil +} + +// App Engine Routing. +// +// For more information about services, versions, and instances see +// [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), +// [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), +// [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and +// [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). +type AppEngineRouting struct { + // App service. + // + // By default, the job is sent to the service which is the default + // service when the job is attempted. + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + // App version. + // + // By default, the job is sent to the version which is the default + // version when the job is attempted. + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + // App instance. + // + // By default, the job is sent to an instance which is available when + // the job is attempted. + // + // Requests can only be sent to a specific instance if + // [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). + // App Engine Flex does not support instances. For more information, see + // [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and + // [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). + Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` + // Output only. The host that the job is sent to. + // + // For more information about how App Engine requests are routed, see + // [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). + // + // The host is constructed as: + // + // + // * `host = [application_domain_name]`
+ // `| [service] + '.' + [application_domain_name]`
+ // `| [version] + '.' + [application_domain_name]`
+ // `| [version_dot_service]+ '.' + [application_domain_name]`
+ // `| [instance] + '.' + [application_domain_name]`
+ // `| [instance_dot_service] + '.' + [application_domain_name]`
+ // `| [instance_dot_version] + '.' + [application_domain_name]`
+ // `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` + // + // * `application_domain_name` = The domain name of the app, for + // example .appspot.com, which is associated with the + // job's project ID. + // + // * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] + // + // * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] + // + // * `version_dot_service =` + // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +` + // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] + // + // * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] + // + // * `instance_dot_service =` + // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` + // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] + // + // * `instance_dot_version =` + // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` + // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] + // + // * `instance_dot_version_dot_service =` + // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +` + // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +` + // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] + // + // + // If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent + // to the service which is the default service when the job is attempted. + // + // If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent + // to the version which is the default version when the job is attempted. + // + // If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be + // sent to an instance which is available when the job is attempted. + // + // If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service], + // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or + // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent + // to the default version of the default service when the job is attempted. + Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AppEngineRouting) Reset() { *m = AppEngineRouting{} } +func (m *AppEngineRouting) String() string { return proto.CompactTextString(m) } +func (*AppEngineRouting) ProtoMessage() {} +func (*AppEngineRouting) Descriptor() ([]byte, []int) { + return fileDescriptor_target_656bad66dfc2a213, []int{3} +} +func (m *AppEngineRouting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AppEngineRouting.Unmarshal(m, b) +} +func (m *AppEngineRouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AppEngineRouting.Marshal(b, m, deterministic) +} +func (dst *AppEngineRouting) XXX_Merge(src proto.Message) { + xxx_messageInfo_AppEngineRouting.Merge(dst, src) +} +func (m *AppEngineRouting) XXX_Size() int { + return xxx_messageInfo_AppEngineRouting.Size(m) +} +func (m *AppEngineRouting) XXX_DiscardUnknown() { + xxx_messageInfo_AppEngineRouting.DiscardUnknown(m) +} + +var xxx_messageInfo_AppEngineRouting proto.InternalMessageInfo + +func (m *AppEngineRouting) GetService() string { + if m != nil { + return m.Service + } + return "" +} + +func (m *AppEngineRouting) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *AppEngineRouting) GetInstance() string { + if m != nil { + return m.Instance + } + return "" +} + +func (m *AppEngineRouting) GetHost() string { + if m != nil { + return m.Host + } + return "" +} + +func init() { + proto.RegisterType((*HttpTarget)(nil), "google.cloud.scheduler.v1beta1.HttpTarget") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1beta1.HttpTarget.HeadersEntry") + proto.RegisterType((*AppEngineHttpTarget)(nil), "google.cloud.scheduler.v1beta1.AppEngineHttpTarget") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1beta1.AppEngineHttpTarget.HeadersEntry") + proto.RegisterType((*PubsubTarget)(nil), "google.cloud.scheduler.v1beta1.PubsubTarget") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1beta1.PubsubTarget.AttributesEntry") + proto.RegisterType((*AppEngineRouting)(nil), "google.cloud.scheduler.v1beta1.AppEngineRouting") + proto.RegisterEnum("google.cloud.scheduler.v1beta1.HttpMethod", HttpMethod_name, HttpMethod_value) +} + +func init() { + proto.RegisterFile("google/cloud/scheduler/v1beta1/target.proto", fileDescriptor_target_656bad66dfc2a213) +} + +var fileDescriptor_target_656bad66dfc2a213 = []byte{ + // 623 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0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 0xbf, 0xdf, 0xc7, 0xcc, 0x20, 0x4f, 0x55, 0x87, 0x0b, 0xf3, 0xca, 0x46, 0x1f, 0xa0, + 0x39, 0x27, 0x78, 0x46, 0x44, 0xdc, 0xd5, 0xfb, 0xfa, 0xa0, 0xbd, 0xff, 0xfc, 0x26, 0x40, 0xf9, + 0x6e, 0xe6, 0x38, 0xef, 0xb4, 0x99, 0x14, 0x2b, 0xb7, 0xc4, 0x41, 0x08, 0xea, 0x01, 0x9f, 0xad, + 0xba, 0xf5, 0xbe, 0x36, 0xe8, 0xb8, 0xca, 0xee, 0x1d, 0x40, 0x67, 0xbd, 0x38, 0x63, 0x75, 0x45, + 0x56, 0x25, 0xab, 0x2b, 0xb2, 0x42, 0x77, 0xa0, 0x91, 0xe2, 0x45, 0x42, 0x14, 0x9f, 0x96, 0x9b, + 0x3b, 0x07, 0xb5, 0x17, 0xda, 0xce, 0x37, 0x1d, 0x6e, 0x0f, 0xa3, 0xc8, 0x66, 0x21, 0x65, 0x64, + 0xed, 0x32, 0x1b, 0x77, 0xd0, 0xfe, 0xea, 0x0e, 0x9f, 0x00, 0xe1, 0x28, 0xf2, 0x89, 0x1a, 0xe2, + 0x0b, 0x9e, 0x48, 0xca, 0x42, 0xb5, 0x4b, 0x7b, 0xff, 0xe9, 0x75, 0x98, 0xd5, 0x76, 0x6e, 0xde, + 0xe7, 0x1a, 0x78, 0x23, 0x82, 0x1e, 0x43, 0x47, 0x90, 0x05, 0x96, 0x34, 0x25, 0x7e, 0xa6, 0xa7, + 0xae, 0x58, 0xb6, 0xcb, 0xd8, 0x85, 0xa0, 0xe8, 0xf2, 0xa7, 0x14, 0x75, 0x25, 0xc5, 0x9b, 0x1b, + 0xcf, 0xbd, 0xb1, 0x26, 0x8d, 0x7f, 0xa4, 0xc9, 0x77, 0x0d, 0x3a, 0x4e, 0x12, 0xc4, 0x49, 0x50, + 0x88, 0xf1, 0x10, 0x40, 0xf2, 0x88, 0x4e, 0x7d, 0x86, 0x97, 0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xf3, 0xf0, 0x0b, 0xec, 0x4c, 0xf9, 0xf2, 0x9a, 0xd3, 0x1f, 0xb6, 0xf3, 0xab, 0x3b, 0xd9, 0x2b, + 0xe5, 0x68, 0x97, 0xc7, 0x45, 0x79, 0xc8, 0x17, 0x98, 0x85, 0x26, 0x17, 0xa1, 0x15, 0x12, 0xa6, + 0xde, 0x30, 0x2b, 0x4f, 0xe1, 0x88, 0xc6, 0xbf, 0x7a, 0x4c, 0x5f, 0x56, 0x91, 0x60, 0x4b, 0xf5, + 0x3c, 0xfb, 0x11, 0x00, 0x00, 0xff, 0xff, 0x2b, 0xc4, 0x67, 0x05, 0x7f, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go new file mode 100644 index 000000000..0bf56096b --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go @@ -0,0 +1,248 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/securitycenter/v1beta1/asset.proto + +package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _struct "github.com/golang/protobuf/ptypes/struct" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud +// Platform (GCP) resource. +// +// The Asset is a Cloud SCC resource that captures information about a single GCP +// resource. All modifications to an Asset are only within the context of Cloud +// SCC and don't affect the referenced GCP resource. +type Asset struct { + // The relative resource name of this asset. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // Example: + // "organizations/123/assets/456". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Cloud SCC managed properties. These properties are managed by + // Cloud SCC and cannot be modified by the user. + SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"` + // Resource managed properties. These properties are managed and defined by + // the GCP resource and cannot be modified by the user. + ResourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // User specified security marks. These marks are entirely managed by the user + // and come from the SecurityMarks resource that belongs to the asset. + SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"` + // The time at which the asset was created in Cloud SCC. + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // The time at which the asset was last updated, added, or deleted in Cloud + // SCC. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Asset) Reset() { *m = Asset{} } +func (m *Asset) String() string { return proto.CompactTextString(m) } +func (*Asset) ProtoMessage() {} +func (*Asset) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_7db002f1bdd144f0, []int{0} +} +func (m *Asset) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Asset.Unmarshal(m, b) +} +func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Asset.Marshal(b, m, deterministic) +} +func (dst *Asset) XXX_Merge(src proto.Message) { + xxx_messageInfo_Asset.Merge(dst, src) +} +func (m *Asset) XXX_Size() int { + return xxx_messageInfo_Asset.Size(m) +} +func (m *Asset) XXX_DiscardUnknown() { + xxx_messageInfo_Asset.DiscardUnknown(m) +} + +var xxx_messageInfo_Asset proto.InternalMessageInfo + +func (m *Asset) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties { + if m != nil { + return m.SecurityCenterProperties + } + return nil +} + +func (m *Asset) GetResourceProperties() map[string]*_struct.Value { + if m != nil { + return m.ResourceProperties + } + return nil +} + +func (m *Asset) GetSecurityMarks() *SecurityMarks { + if m != nil { + return m.SecurityMarks + } + return nil +} + +func (m *Asset) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *Asset) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +// Cloud SCC managed properties. These properties are managed by Cloud SCC and +// cannot be modified by the user. +type Asset_SecurityCenterProperties struct { + // The full resource name of the GCP resource this asset + // represents. This field is immutable after create time. See: + // https://cloud.google.com/apis/design/resource_names#full_resource_name + ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The type of the GCP resource. Examples include: APPLICATION, + // PROJECT, and ORGANIZATION. This is a case insensitive field defined by + // Cloud SCC and/or the producer of the resource and is immutable + // after create time. + ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` + // The full resource name of the immediate parent of the resource. See: + // https://cloud.google.com/apis/design/resource_names#full_resource_name + ResourceParent string `protobuf:"bytes,3,opt,name=resource_parent,json=resourceParent,proto3" json:"resource_parent,omitempty"` + // The full resource name of the project the resource belongs to. See: + // https://cloud.google.com/apis/design/resource_names#full_resource_name + ResourceProject string `protobuf:"bytes,4,opt,name=resource_project,json=resourceProject,proto3" json:"resource_project,omitempty"` + // Owners of the Google Cloud resource. + ResourceOwners []string `protobuf:"bytes,5,rep,name=resource_owners,json=resourceOwners,proto3" json:"resource_owners,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Asset_SecurityCenterProperties) Reset() { *m = Asset_SecurityCenterProperties{} } +func (m *Asset_SecurityCenterProperties) String() string { return proto.CompactTextString(m) } +func (*Asset_SecurityCenterProperties) ProtoMessage() {} +func (*Asset_SecurityCenterProperties) Descriptor() ([]byte, []int) { + return fileDescriptor_asset_7db002f1bdd144f0, []int{0, 0} +} +func (m *Asset_SecurityCenterProperties) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Asset_SecurityCenterProperties.Unmarshal(m, b) +} +func (m *Asset_SecurityCenterProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Asset_SecurityCenterProperties.Marshal(b, m, deterministic) +} +func (dst *Asset_SecurityCenterProperties) XXX_Merge(src proto.Message) { + xxx_messageInfo_Asset_SecurityCenterProperties.Merge(dst, src) +} +func (m *Asset_SecurityCenterProperties) XXX_Size() int { + return xxx_messageInfo_Asset_SecurityCenterProperties.Size(m) +} +func (m *Asset_SecurityCenterProperties) XXX_DiscardUnknown() { + xxx_messageInfo_Asset_SecurityCenterProperties.DiscardUnknown(m) +} + +var xxx_messageInfo_Asset_SecurityCenterProperties proto.InternalMessageInfo + +func (m *Asset_SecurityCenterProperties) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Asset_SecurityCenterProperties) GetResourceType() string { + if m != nil { + return m.ResourceType + } + return "" +} + +func (m *Asset_SecurityCenterProperties) GetResourceParent() string { + if m != nil { + return m.ResourceParent + } + return "" +} + +func (m *Asset_SecurityCenterProperties) GetResourceProject() string { + if m != nil { + return m.ResourceProject + } + return "" +} + +func (m *Asset_SecurityCenterProperties) GetResourceOwners() []string { + if m != nil { + return m.ResourceOwners + } + return nil +} + +func init() { + proto.RegisterType((*Asset)(nil), "google.cloud.securitycenter.v1beta1.Asset") + proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.Asset.ResourcePropertiesEntry") + proto.RegisterType((*Asset_SecurityCenterProperties)(nil), "google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties") +} + +func init() { + proto.RegisterFile("google/cloud/securitycenter/v1beta1/asset.proto", fileDescriptor_asset_7db002f1bdd144f0) +} + +var fileDescriptor_asset_7db002f1bdd144f0 = []byte{ + // 490 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6b, 0xd4, 0x40, + 0x14, 0x25, 0xdd, 0x6e, 0xb5, 0x77, 0xed, 0x07, 0x23, 0xe8, 0x10, 0x04, 0x17, 0xfb, 0xd0, 0x15, + 0x64, 0x42, 0xd7, 0x97, 0x62, 0x9f, 0x6c, 0xf1, 0x51, 0xad, 0xb1, 0x08, 0x0a, 0xb2, 0xcc, 0xa6, + 0xd7, 0x10, 0xbb, 0x99, 0x19, 0x66, 0x26, 0x95, 0xbc, 0x08, 0xfe, 0x1f, 0xff, 0x94, 0xff, 0x44, + 0x66, 0x32, 0x49, 0xb3, 0x96, 0xd5, 0xf5, 0x2d, 0x39, 0xf7, 0x9c, 0x73, 0x73, 0xef, 0xb9, 0xbb, + 0x90, 0xe4, 0x52, 0xe6, 0x0b, 0x4c, 0xb2, 0x85, 0xac, 0x2e, 0x13, 0x83, 0x59, 0xa5, 0x0b, 0x5b, + 0x67, 0x28, 0x2c, 0xea, 0xe4, 0xfa, 0x68, 0x8e, 0x96, 0x1f, 0x25, 0xdc, 0x18, 0xb4, 0x4c, 0x69, + 0x69, 0x25, 0x39, 0x68, 0x04, 0xcc, 0x0b, 0xd8, 0xb2, 0x80, 0x05, 0x41, 0xfc, 0x28, 0xb8, 0x72, + 0x55, 0x24, 0x5c, 0x08, 0x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0x52, 0x97, 0x9d, 0x18, 0xfe, 0x2d, 0x6e, + 0xe8, 0x0e, 0x88, 0x7f, 0x45, 0x40, 0x57, 0x05, 0x40, 0x0e, 0x60, 0xa7, 0x5b, 0x73, 0xef, 0x0e, + 0xee, 0xb5, 0xe0, 0x1b, 0x77, 0x0f, 0x7d, 0x92, 0xad, 0x15, 0xfa, 0x0b, 0xe8, 0x91, 0x2e, 0x6a, + 0x85, 0xe4, 0x10, 0xf6, 0x6e, 0x02, 0xe3, 0x1a, 0x85, 0xa5, 0x03, 0x4f, 0xdb, 0xed, 0x16, 0xed, + 0x51, 0xf2, 0x14, 0xf6, 0xfb, 0xc9, 0x7e, 0xc5, 0xcc, 0xd2, 0x4d, 0xcf, 0xdc, 0xeb, 0x45, 0xe2, + 0xe0, 0x25, 0x4f, 0xf9, 0x4d, 0xa0, 0x36, 0x74, 0x38, 0x1e, 0xf4, 0x3d, 0xdf, 0x7a, 0x34, 0xfe, + 0x0c, 0x0f, 0x57, 0xe4, 0x4c, 0xf6, 0x61, 0x70, 0x85, 0x75, 0x98, 0xcb, 0x3d, 0x92, 0x67, 0x30, + 0xbc, 0xe6, 0x8b, 0x0a, 0xc3, 0x21, 0x3f, 0xb8, 0xb5, 0xc7, 0x0f, 0xae, 0x9a, 0x36, 0xa4, 0x17, + 0x1b, 0xc7, 0xd1, 0xe9, 0x77, 0x38, 0xcc, 0x64, 0xb9, 0xce, 0x11, 0x9c, 0x47, 0x9f, 0xde, 0x05, + 0x5a, 0x2e, 0x17, 0x5c, 0xe4, 0x4c, 0xea, 0x3c, 0xc9, 0x51, 0x78, 0xf3, 0xf0, 0x1f, 0xc3, 0x55, + 0x61, 0xfe, 0xfa, 0x9b, 0x3f, 0x59, 0x86, 0xe7, 0x5b, 0x5e, 0xfd, 0xfc, 0x77, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xd3, 0x05, 0x13, 0x94, 0xa4, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go new file mode 100644 index 000000000..296ad6d97 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go @@ -0,0 +1,244 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/securitycenter/v1beta1/finding.proto + +package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _struct "github.com/golang/protobuf/ptypes/struct" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The state of the finding. +type Finding_State int32 + +const ( + // Unspecified state. + Finding_STATE_UNSPECIFIED Finding_State = 0 + // The finding requires attention and has not been addressed yet. + Finding_ACTIVE Finding_State = 1 + // The finding has been fixed, triaged as a non-issue or otherwise addressed + // and is no longer active. + Finding_INACTIVE Finding_State = 2 +) + +var Finding_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "ACTIVE", + 2: "INACTIVE", +} +var Finding_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "ACTIVE": 1, + "INACTIVE": 2, +} + +func (x Finding_State) String() string { + return proto.EnumName(Finding_State_name, int32(x)) +} +func (Finding_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_finding_2c388f0a3f99b762, []int{0, 0} +} + +// Cloud Security Command Center (Cloud SCC) finding. +// +// A finding is a record of assessment data (security, risk, health or privacy) +// ingested into Cloud SCC for presentation, notification, analysis, +// policy testing, and enforcement. For example, an XSS vulnerability in an +// App Engine application is a finding. +type Finding struct { + // The relative resource name of this finding. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // Example: + // "organizations/123/sources/456/findings/789" + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The relative resource name of the source the finding belongs to. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // This field is immutable after creation time. + // For example: + // "organizations/123/sources/456" + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + // The full resource name of the Google Cloud Platform (GCP) resource this + // finding is for. See: + // https://cloud.google.com/apis/design/resource_names#full_resource_name + // This field is immutable after creation time. + ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` + // The state of the finding. + State Finding_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.Finding_State" json:"state,omitempty"` + // The additional taxonomy group within findings from a give source. + // This field is immutable after creation time. + // Example: "XSS_FLASH_INJECTION" + Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"` + // The URI that, if available, points to a web page outside of Cloud SCC + // where additional information about the finding can be found. This field is + // guaranteed to be either empty or a well formed URL. + ExternalUri string `protobuf:"bytes,6,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"` + // Source specific properties. These properties are managed by the source + // that writes the finding. + SourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Output only. User specified security marks. These marks are entirely + // managed by the user and come from the SecurityMarks resource that belongs + // to the finding. + SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"` + // The time at which the event took place. For example, if the finding + // represents an open firewall it would capture the time the open firewall was + // detected. + EventTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + // The time at which the finding was created in Cloud SCC. + CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Finding) Reset() { *m = Finding{} } +func (m *Finding) String() string { return proto.CompactTextString(m) } +func (*Finding) ProtoMessage() {} +func (*Finding) Descriptor() ([]byte, []int) { + return fileDescriptor_finding_2c388f0a3f99b762, []int{0} +} +func (m *Finding) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Finding.Unmarshal(m, b) +} +func (m *Finding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Finding.Marshal(b, m, deterministic) +} +func (dst *Finding) XXX_Merge(src proto.Message) { + xxx_messageInfo_Finding.Merge(dst, src) +} +func (m *Finding) XXX_Size() int { + return xxx_messageInfo_Finding.Size(m) +} +func (m *Finding) XXX_DiscardUnknown() { + xxx_messageInfo_Finding.DiscardUnknown(m) +} + +var xxx_messageInfo_Finding proto.InternalMessageInfo + +func (m *Finding) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Finding) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *Finding) GetResourceName() string { + if m != nil { + return m.ResourceName + } + return "" +} + +func (m *Finding) GetState() Finding_State { + if m != nil { + return m.State + } + return Finding_STATE_UNSPECIFIED +} + +func (m *Finding) GetCategory() string { + if m != nil { + return m.Category + } + return "" +} + +func (m *Finding) GetExternalUri() string { + if m != nil { + return m.ExternalUri + } + return "" +} + +func (m *Finding) GetSourceProperties() map[string]*_struct.Value { + if m != nil { + return m.SourceProperties + } + return nil +} + +func (m *Finding) GetSecurityMarks() *SecurityMarks { + if m != nil { + return m.SecurityMarks + } + return nil +} + +func (m *Finding) GetEventTime() *timestamp.Timestamp { + if m != nil { + return m.EventTime + } + return nil +} + +func (m *Finding) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func init() { + proto.RegisterType((*Finding)(nil), "google.cloud.securitycenter.v1beta1.Finding") + proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry") + proto.RegisterEnum("google.cloud.securitycenter.v1beta1.Finding_State", Finding_State_name, Finding_State_value) +} + +func init() { + proto.RegisterFile("google/cloud/securitycenter/v1beta1/finding.proto", fileDescriptor_finding_2c388f0a3f99b762) +} + +var fileDescriptor_finding_2c388f0a3f99b762 = []byte{ + // 510 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6f, 0xda, 0x30, + 0x14, 0xc7, 0x17, 0x28, 0x14, 0x1e, 0xb4, 0xa2, 0x96, 0x5a, 0x45, 0x68, 0xd2, 0x58, 0x7b, 0x18, + 0x87, 0x29, 0x11, 0xec, 0xc2, 0xd6, 0x53, 0xdb, 0x51, 0x8d, 0xc3, 0x10, 0x0b, 0xb4, 0xd2, 0xb6, + 0x03, 0x32, 0xe9, 0x6b, 0x64, 0x35, 0xb1, 0x23, 0xdb, 0x41, 0xe3, 0xb2, 0x8f, 0xb6, 0xcf, 0x36, + 0xc5, 0x71, 0xaa, 0xd1, 0x4d, 0x1b, 0xbb, 0xe5, 0xfd, 0xdf, 0xfb, 0xfd, 0xfd, 0xfc, 0x9e, 0x03, + 0x83, 0x48, 0x88, 0x28, 0x46, 0x3f, 0x8c, 0x45, 0x76, 0xe7, 0x2b, 0x0c, 0x33, 0xc9, 0xf4, 0x26, + 0x44, 0xae, 0x51, 0xfa, 0xeb, 0xc1, 0x0a, 0x35, 0x1d, 0xf8, 0xf7, 0x8c, 0xdf, 0x31, 0x1e, 0x79, + 0xa9, 0x14, 0x5a, 0x90, 0xb3, 0x02, 0xf1, 0x0c, 0xe2, 0x6d, 0x23, 0x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xfd, 0xf5, 0x2f, 0x3c, 0xdf, 0x96, 0x57, 0x75, 0x43, 0xbf, + 0xf9, 0x19, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xda, 0xfd, 0x34, 0x38, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go new file mode 100644 index 000000000..cf768760f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go @@ -0,0 +1,215 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/securitycenter/v1beta1/organization_settings.proto + +package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The mode of inclusion when running Asset Discovery. +// Asset discovery can be limited by explicitly identifying projects to be +// included or excluded. If INCLUDE_ONLY is set, then only those projects +// within the organization and their children are discovered during asset +// discovery. If EXCLUDE is set, then projects that don't match those +// projects are discovered during asset discovery. If neither are set, then +// all projects within the organization are discovered during asset +// discovery. +type OrganizationSettings_AssetDiscoveryConfig_InclusionMode int32 + +const ( + // Unspecified. Setting the mode with this value will disable + // inclusion/exclusion filtering for Asset Discovery. + OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 0 + // Asset Discovery will capture only the resources within the projects + // specified. All other resources will be ignored. + OrganizationSettings_AssetDiscoveryConfig_INCLUDE_ONLY OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 1 + // Asset Discovery will ignore all resources under the projects specified. + // All other resources will be retrieved. + OrganizationSettings_AssetDiscoveryConfig_EXCLUDE OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 2 +) + +var OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name = map[int32]string{ + 0: "INCLUSION_MODE_UNSPECIFIED", + 1: "INCLUDE_ONLY", + 2: "EXCLUDE", +} +var OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value = map[string]int32{ + "INCLUSION_MODE_UNSPECIFIED": 0, + "INCLUDE_ONLY": 1, + "EXCLUDE": 2, +} + +func (x OrganizationSettings_AssetDiscoveryConfig_InclusionMode) String() string { + return proto.EnumName(OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, int32(x)) +} +func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_organization_settings_bf56fb21ea96e5a6, []int{0, 0, 0} +} + +// User specified settings that are attached to the Cloud Security Command +// Center (Cloud SCC) organization. +type OrganizationSettings struct { + // The relative resource name of the settings. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // Example: + // "organizations/123/organizationSettings". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // A flag that indicates if Asset Discovery should be enabled. If the flag is + // set to `true`, then discovery of assets will occur. If it is set to `false, + // all historical assets will remain, but discovery of future assets will not + // occur. + EnableAssetDiscovery bool `protobuf:"varint,2,opt,name=enable_asset_discovery,json=enableAssetDiscovery,proto3" json:"enable_asset_discovery,omitempty"` + // The configuration used for Asset Discovery runs. + AssetDiscoveryConfig *OrganizationSettings_AssetDiscoveryConfig `protobuf:"bytes,3,opt,name=asset_discovery_config,json=assetDiscoveryConfig,proto3" json:"asset_discovery_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OrganizationSettings) Reset() { *m = OrganizationSettings{} } +func (m *OrganizationSettings) String() string { return proto.CompactTextString(m) } +func (*OrganizationSettings) ProtoMessage() {} +func (*OrganizationSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_organization_settings_bf56fb21ea96e5a6, []int{0} +} +func (m *OrganizationSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OrganizationSettings.Unmarshal(m, b) +} +func (m *OrganizationSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OrganizationSettings.Marshal(b, m, deterministic) +} +func (dst *OrganizationSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_OrganizationSettings.Merge(dst, src) +} +func (m *OrganizationSettings) XXX_Size() int { + return xxx_messageInfo_OrganizationSettings.Size(m) +} +func (m *OrganizationSettings) XXX_DiscardUnknown() { + xxx_messageInfo_OrganizationSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_OrganizationSettings proto.InternalMessageInfo + +func (m *OrganizationSettings) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *OrganizationSettings) GetEnableAssetDiscovery() bool { + if m != nil { + return m.EnableAssetDiscovery + } + return false +} + +func (m *OrganizationSettings) GetAssetDiscoveryConfig() *OrganizationSettings_AssetDiscoveryConfig { + if m != nil { + return m.AssetDiscoveryConfig + } + return nil +} + +// The configuration used for Asset Discovery runs. +type OrganizationSettings_AssetDiscoveryConfig struct { + // The project ids to use for filtering asset discovery. + ProjectIds []string `protobuf:"bytes,1,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"` + // The mode to use for filtering asset discovery. + InclusionMode OrganizationSettings_AssetDiscoveryConfig_InclusionMode `protobuf:"varint,2,opt,name=inclusion_mode,json=inclusionMode,proto3,enum=google.cloud.securitycenter.v1beta1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode" json:"inclusion_mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OrganizationSettings_AssetDiscoveryConfig) Reset() { + *m = OrganizationSettings_AssetDiscoveryConfig{} +} +func (m *OrganizationSettings_AssetDiscoveryConfig) String() string { return proto.CompactTextString(m) } +func (*OrganizationSettings_AssetDiscoveryConfig) ProtoMessage() {} +func (*OrganizationSettings_AssetDiscoveryConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_organization_settings_bf56fb21ea96e5a6, []int{0, 0} +} +func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Unmarshal(m, b) +} +func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Marshal(b, m, deterministic) +} +func (dst *OrganizationSettings_AssetDiscoveryConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Merge(dst, src) +} +func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Size() int { + return xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Size(m) +} +func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_DiscardUnknown() { + xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig proto.InternalMessageInfo + +func (m *OrganizationSettings_AssetDiscoveryConfig) GetProjectIds() []string { + if m != nil { + return m.ProjectIds + } + return nil +} + +func (m *OrganizationSettings_AssetDiscoveryConfig) GetInclusionMode() OrganizationSettings_AssetDiscoveryConfig_InclusionMode { + if m != nil { + return m.InclusionMode + } + return OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED +} + +func init() { + proto.RegisterType((*OrganizationSettings)(nil), "google.cloud.securitycenter.v1beta1.OrganizationSettings") + proto.RegisterType((*OrganizationSettings_AssetDiscoveryConfig)(nil), "google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig") + proto.RegisterEnum("google.cloud.securitycenter.v1beta1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode", OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value) +} + +func init() { + proto.RegisterFile("google/cloud/securitycenter/v1beta1/organization_settings.proto", fileDescriptor_organization_settings_bf56fb21ea96e5a6) +} + +var fileDescriptor_organization_settings_bf56fb21ea96e5a6 = []byte{ + // 399 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xc1, 0x6b, 0x14, 0x31, + 0x14, 0xc6, 0xcd, 0xae, 0xa8, 0xcd, 0xda, 0xb2, 0x84, 0xa1, 0x0c, 0x8b, 0xe8, 0x50, 0x0f, 0xce, + 0x29, 0x43, 0xab, 0x37, 0x0f, 0xa2, 0x3b, 0x23, 0x0c, 0xb4, 0x33, 0x75, 0x96, 0x82, 0x8a, 0x10, + 0xb2, 0x99, 0x18, 0x22, 0xb3, 0x79, 0xc3, 0x24, 0x5b, 0xa8, 0x07, 0x2f, 0x7a, 0xf5, 0xef, 0xf5, + 0x2a, 0xcd, 0x4e, 0xa1, 0x23, 0x8b, 0xec, 0xa1, 0xb7, 0xe4, 0xfb, 0x5e, 0x7e, 0xdf, 0x7b, 0xe4, + 0xe1, 0x37, 0x0a, 0x40, 0x35, 0x32, 0x11, 0x0d, 0xac, 0xeb, 0xc4, 0x4a, 0xb1, 0xee, 0xb4, 0xbb, + 0x12, 0xd2, 0x38, 0xd9, 0x25, 0x97, 0xc7, 0x4b, 0xe9, 0xf8, 0x71, 0x02, 0x9d, 0xe2, 0x46, 0x7f, + 0xe7, 0x4e, 0x83, 0x61, 0x56, 0x3a, 0xa7, 0x8d, 0xb2, 0xb4, 0xed, 0xc0, 0x01, 0x79, 0xbe, 0x01, + 0x50, 0x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 0x9d, 0x95, 0x69, 0xc6, 0x2e, 0x8a, 0xc5, 0x79, 0x36, 0xcf, 0xdf, + 0xe7, 0x59, 0x3a, 0xbd, 0x47, 0xa6, 0xf8, 0xb1, 0xf7, 0xd3, 0x8c, 0x95, 0xc5, 0xe9, 0xa7, 0x29, + 0x22, 0x13, 0xfc, 0x30, 0xfb, 0xe8, 0x95, 0xe9, 0xe8, 0xdd, 0x0f, 0xfc, 0x42, 0xc0, 0x6a, 0x97, + 0x09, 0xce, 0xd1, 0xe7, 0x0f, 0x7d, 0x99, 0x82, 0x86, 0x1b, 0x45, 0xa1, 0x53, 0x89, 0x92, 0xc6, + 0xaf, 0x50, 0xb2, 0xb1, 0x78, 0xab, 0xed, 0x7f, 0x37, 0xf9, 0xf5, 0x50, 0x5e, 0x3e, 0xf0, 0xaf, + 0x5f, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x07, 0x96, 0xfd, 0x8f, 0x06, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go new file mode 100644 index 000000000..f5cbb7170 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go @@ -0,0 +1,110 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/securitycenter/v1beta1/security_marks.proto + +package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// User specified security marks that are attached to the parent Cloud Security +// Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud +// SCC organization -- they can be modified and viewed by all users who have +// proper permissions on the organization. +type SecurityMarks struct { + // The relative resource name of the SecurityMarks. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // Examples: + // "organizations/123/assets/456/securityMarks" + // "organizations/123/sources/456/findings/789/securityMarks". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Mutable user specified security marks belonging to the parent resource. + // Constraints are as follows: + // - Keys and values are treated as case insensitive + // - Keys must be alphanumeric and between 1 - 256 characters (inclusive) + // - Values have leading and trailing whitespace trimmed, remaining + // characters must be between 1 - 4096 characters (inclusive) + Marks map[string]string `protobuf:"bytes,2,rep,name=marks,proto3" json:"marks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SecurityMarks) Reset() { *m = SecurityMarks{} } +func (m *SecurityMarks) String() string { return proto.CompactTextString(m) } +func (*SecurityMarks) ProtoMessage() {} +func (*SecurityMarks) Descriptor() ([]byte, []int) { + return fileDescriptor_security_marks_a6698557f38fd6b8, []int{0} +} +func (m *SecurityMarks) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SecurityMarks.Unmarshal(m, b) +} +func (m *SecurityMarks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SecurityMarks.Marshal(b, m, deterministic) +} +func (dst *SecurityMarks) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecurityMarks.Merge(dst, src) +} +func (m *SecurityMarks) XXX_Size() int { + return xxx_messageInfo_SecurityMarks.Size(m) +} +func (m *SecurityMarks) XXX_DiscardUnknown() { + xxx_messageInfo_SecurityMarks.DiscardUnknown(m) +} + +var xxx_messageInfo_SecurityMarks proto.InternalMessageInfo + +func (m *SecurityMarks) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *SecurityMarks) GetMarks() map[string]string { + if m != nil { + return m.Marks + } + return nil +} + +func init() { + proto.RegisterType((*SecurityMarks)(nil), "google.cloud.securitycenter.v1beta1.SecurityMarks") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.securitycenter.v1beta1.SecurityMarks.MarksEntry") +} + +func init() { + proto.RegisterFile("google/cloud/securitycenter/v1beta1/security_marks.proto", fileDescriptor_security_marks_a6698557f38fd6b8) +} + +var fileDescriptor_security_marks_a6698557f38fd6b8 = []byte{ + // 252 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xc3, 0x30, + 0x14, 0xc7, 0x49, 0xe7, 0x04, 0x9f, 0x08, 0x12, 0x3c, 0x94, 0xe1, 0x61, 0xe8, 0xc1, 0x9d, 0x12, + 0xa6, 0x97, 0xa2, 0x78, 0x11, 0x3c, 0x0a, 0xba, 0xdd, 0xbc, 0xc8, 0x5b, 0x7d, 0x84, 0xb2, 0x36, + 0xaf, 0xa4, 0xe9, 0xa0, 0x17, 0x3f, 0x94, 0x9f, 0x50, 0x96, 0x04, 0xa5, 0x17, 0xd9, 0xa5, 0xbc, + 0xfe, 0x93, 0xdf, 0xef, 0x9f, 0x04, 0x0a, 0xc3, 0x6c, 0x6a, 0xd2, 0x65, 0xcd, 0xfd, 0xa7, 0xee, + 0xa8, 0xec, 0x5d, 0xe5, 0x87, 0x92, 0xac, 0x27, 0xa7, 0x77, 0xcb, 0x0d, 0x79, 0x5c, 0xfe, 0xc6, + 0x1f, 0x0d, 0xba, 0x6d, 0xa7, 0x5a, 0xc7, 0x9e, 0xe5, 0x75, 0x24, 0x55, 0x20, 0xd5, 0x98, 0x54, + 0x89, 0x9c, 0x5d, 0x26, 0x3d, 0xb6, 0x95, 0x46, 0x6b, 0xd9, 0xa3, 0xaf, 0xd8, 0x26, 0xc5, 0xd5, + 0xb7, 0x80, 0xb3, 0x75, 0x02, 0x5f, 0xf6, 0x6a, 0x29, 0xe1, 0xc8, 0x62, 0x43, 0xb9, 0x98, 0x8b, + 0xc5, 0xc9, 0x2a, 0xcc, 0x72, 0x0d, 0xd3, 0xd0, 0x9b, 0x67, 0xf3, 0xc9, 0xe2, 0xf4, 0xf6, 0x51, + 0x1d, 0x50, 0xac, 0x46, 0x5a, 0x15, 0xbe, 0xcf, 0xd6, 0xbb, 0x61, 0x15, 0x5d, 0xb3, 0x02, 0xe0, + 0x2f, 0x94, 0xe7, 0x30, 0xd9, 0xd2, 0x90, 0x5a, 0xf7, 0xa3, 0xbc, 0x80, 0xe9, 0x0e, 0xeb, 0x9e, + 0xf2, 0x2c, 0x64, 0xf1, 0xe7, 0x3e, 0x2b, 0xc4, 0xd3, 0x17, 0xdc, 0x94, 0xdc, 0x1c, 0x72, 0x88, + 0x57, 0xf1, 0xfe, 0x96, 0xb6, 0x19, 0xae, 0xd1, 0x1a, 0xc5, 0xce, 0x68, 0x43, 0x36, 0xdc, 0x5e, + 0xc7, 0x25, 0x6c, 0xab, 0xee, 0xdf, 0xd7, 0x7f, 0x18, 0xc7, 0x9b, 0xe3, 0x40, 0xdf, 0xfd, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x50, 0x3d, 0x8c, 0xac, 0xba, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go new file mode 100644 index 000000000..a14d95968 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go @@ -0,0 +1,2498 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto + +package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import duration "github.com/golang/protobuf/ptypes/duration" +import _ "github.com/golang/protobuf/ptypes/empty" +import _struct "github.com/golang/protobuf/ptypes/struct" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import v1 "google.golang.org/genproto/googleapis/iam/v1" +import longrunning "google.golang.org/genproto/googleapis/longrunning" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// State of the asset. +// +// When querying across two points in time this describes +// the change between the two points: ADDED, REMOVED, or ACTIVE. +// If there was no compare_duration supplied in the request the state should +// be: UNUSED +type ListAssetsResponse_ListAssetsResult_State int32 + +const ( + // Unspecified state. + ListAssetsResponse_ListAssetsResult_STATE_UNSPECIFIED ListAssetsResponse_ListAssetsResult_State = 0 + // Request did not specify use of this field in the result. + ListAssetsResponse_ListAssetsResult_UNUSED ListAssetsResponse_ListAssetsResult_State = 1 + // Asset was added between the points in time. + ListAssetsResponse_ListAssetsResult_ADDED ListAssetsResponse_ListAssetsResult_State = 2 + // Asset was removed between the points in time. + ListAssetsResponse_ListAssetsResult_REMOVED ListAssetsResponse_ListAssetsResult_State = 3 + // Asset was active at both point(s) in time. + ListAssetsResponse_ListAssetsResult_ACTIVE ListAssetsResponse_ListAssetsResult_State = 4 +) + +var ListAssetsResponse_ListAssetsResult_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "UNUSED", + 2: "ADDED", + 3: "REMOVED", + 4: "ACTIVE", +} +var ListAssetsResponse_ListAssetsResult_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "UNUSED": 1, + "ADDED": 2, + "REMOVED": 3, + "ACTIVE": 4, +} + +func (x ListAssetsResponse_ListAssetsResult_State) String() string { + return proto.EnumName(ListAssetsResponse_ListAssetsResult_State_name, int32(x)) +} +func (ListAssetsResponse_ListAssetsResult_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{12, 0, 0} +} + +// Request message for creating a finding. +type CreateFindingRequest struct { + // Resource name of the new finding's parent. Its format should be + // "organizations/[organization_id]/sources/[source_id]". + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Unique identifier provided by the client within the parent scope. + // It must be alphanumeric and less than or equal to 32 characters and + // greater than 0 characters in length. + FindingId string `protobuf:"bytes,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` + // The Finding being created. The name and security_marks will be ignored as + // they are both output only fields on this resource. + Finding *Finding `protobuf:"bytes,3,opt,name=finding,proto3" json:"finding,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateFindingRequest) Reset() { *m = CreateFindingRequest{} } +func (m *CreateFindingRequest) String() string { return proto.CompactTextString(m) } +func (*CreateFindingRequest) ProtoMessage() {} +func (*CreateFindingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{0} +} +func (m *CreateFindingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateFindingRequest.Unmarshal(m, b) +} +func (m *CreateFindingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateFindingRequest.Marshal(b, m, deterministic) +} +func (dst *CreateFindingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFindingRequest.Merge(dst, src) +} +func (m *CreateFindingRequest) XXX_Size() int { + return xxx_messageInfo_CreateFindingRequest.Size(m) +} +func (m *CreateFindingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateFindingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateFindingRequest proto.InternalMessageInfo + +func (m *CreateFindingRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateFindingRequest) GetFindingId() string { + if m != nil { + return m.FindingId + } + return "" +} + +func (m *CreateFindingRequest) GetFinding() *Finding { + if m != nil { + return m.Finding + } + return nil +} + +// Request message for creating a source. +type CreateSourceRequest struct { + // Resource name of the new source's parent. Its format should be + // "organizations/[organization_id]". + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The Source being created, only the display_name and description will be + // used. All other fields will be ignored. + Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateSourceRequest) Reset() { *m = CreateSourceRequest{} } +func (m *CreateSourceRequest) String() string { return proto.CompactTextString(m) } +func (*CreateSourceRequest) ProtoMessage() {} +func (*CreateSourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{1} +} +func (m *CreateSourceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateSourceRequest.Unmarshal(m, b) +} +func (m *CreateSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateSourceRequest.Marshal(b, m, deterministic) +} +func (dst *CreateSourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSourceRequest.Merge(dst, src) +} +func (m *CreateSourceRequest) XXX_Size() int { + return xxx_messageInfo_CreateSourceRequest.Size(m) +} +func (m *CreateSourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateSourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateSourceRequest proto.InternalMessageInfo + +func (m *CreateSourceRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateSourceRequest) GetSource() *Source { + if m != nil { + return m.Source + } + return nil +} + +// Request message for getting organization settings. +type GetOrganizationSettingsRequest struct { + // Name of the organization to get organization settings for. Its format is + // "organizations/[organization_id]/organizationSettings". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetOrganizationSettingsRequest) Reset() { *m = GetOrganizationSettingsRequest{} } +func (m *GetOrganizationSettingsRequest) String() string { return proto.CompactTextString(m) } +func (*GetOrganizationSettingsRequest) ProtoMessage() {} +func (*GetOrganizationSettingsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{2} +} +func (m *GetOrganizationSettingsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetOrganizationSettingsRequest.Unmarshal(m, b) +} +func (m *GetOrganizationSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetOrganizationSettingsRequest.Marshal(b, m, deterministic) +} +func (dst *GetOrganizationSettingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOrganizationSettingsRequest.Merge(dst, src) +} +func (m *GetOrganizationSettingsRequest) XXX_Size() int { + return xxx_messageInfo_GetOrganizationSettingsRequest.Size(m) +} +func (m *GetOrganizationSettingsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetOrganizationSettingsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetOrganizationSettingsRequest proto.InternalMessageInfo + +func (m *GetOrganizationSettingsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for getting a source. +type GetSourceRequest struct { + // Relative resource name of the source. Its format is + // "organizations/[organization_id]/source/[source_id]". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSourceRequest) Reset() { *m = GetSourceRequest{} } +func (m *GetSourceRequest) String() string { return proto.CompactTextString(m) } +func (*GetSourceRequest) ProtoMessage() {} +func (*GetSourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{3} +} +func (m *GetSourceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSourceRequest.Unmarshal(m, b) +} +func (m *GetSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSourceRequest.Marshal(b, m, deterministic) +} +func (dst *GetSourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSourceRequest.Merge(dst, src) +} +func (m *GetSourceRequest) XXX_Size() int { + return xxx_messageInfo_GetSourceRequest.Size(m) +} +func (m *GetSourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSourceRequest proto.InternalMessageInfo + +func (m *GetSourceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for grouping by assets. +type GroupAssetsRequest struct { + // Name of the organization to groupBy. Its format is + // "organizations/[organization_id]". + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Expression that defines the filter to apply across assets. + // The expression is a list of zero or more restrictions combined via logical + // operators `AND` and `OR`. + // Parentheses are not supported, and `OR` has higher precedence than `AND`. + // + // Restrictions have the form ` ` and may have a `-` + // character in front of them to indicate negation. The fields map to those + // defined in the Asset resource. Examples include: + // + // * name + // * security_center_properties.resource_name + // * resource_properties.a_property + // * security_marks.marks.marka + // + // The supported operators are: + // + // * `=` for all value types. + // * `>`, `<`, `>=`, `<=` for integer values. + // * `:`, meaning substring matching, for strings. + // + // The supported value types are: + // + // * string literals in quotes. + // * integer literals without quotes. + // * boolean literals `true` and `false` without quotes. + // + // For example, `resource_properties.size = 100` is a valid filter string. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Expression that defines what assets fields to use for grouping. The string + // value should follow SQL syntax: comma separated list of fields. For + // example: + // "security_center_properties.resource_project,security_center_properties.project". + // + // The following fields are supported when compare_duration is not set: + // + // * security_center_properties.resource_project + // * security_center_properties.resource_type + // * security_center_properties.resource_parent + // + // The following fields are supported when compare_duration is set: + // + // * security_center_properties.resource_type + GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + // When compare_duration is set, the Asset's "state" property is updated to + // indicate whether the asset was added, removed, or remained present during + // the compare_duration period of time that precedes the read_time. This is + // the time between (read_time - compare_duration) and read_time. + // + // The state value is derived based on the presence of the asset at the two + // points in time. Intermediate state changes between the two times don't + // affect the result. For example, the results aren't affected if the asset is + // removed and re-created again. + // + // Possible "state" values when compare_duration is specified: + // + // * "ADDED": indicates that the asset was not present before + // compare_duration, but present at reference_time. + // * "REMOVED": indicates that the asset was present at the start of + // compare_duration, but not present at reference_time. + // * "ACTIVE": indicates that the asset was present at both the + // start and the end of the time period defined by + // compare_duration and reference_time. + // + // This field is ignored if `state` is not a field in `group_by`. + CompareDuration *duration.Duration `protobuf:"bytes,4,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + // Time used as a reference point when filtering assets. The filter is limited + // to assets existing at the supplied time and their values are those at that + // specific time. Absence of this field will default to the API's version of + // NOW. + ReadTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // The value returned by the last `GroupAssetsResponse`; indicates + // that this is a continuation of a prior `GroupAssets` call, and that the + // system should return the next page of data. + PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GroupAssetsRequest) Reset() { *m = GroupAssetsRequest{} } +func (m *GroupAssetsRequest) String() string { return proto.CompactTextString(m) } +func (*GroupAssetsRequest) ProtoMessage() {} +func (*GroupAssetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{4} +} +func (m *GroupAssetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupAssetsRequest.Unmarshal(m, b) +} +func (m *GroupAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupAssetsRequest.Marshal(b, m, deterministic) +} +func (dst *GroupAssetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupAssetsRequest.Merge(dst, src) +} +func (m *GroupAssetsRequest) XXX_Size() int { + return xxx_messageInfo_GroupAssetsRequest.Size(m) +} +func (m *GroupAssetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GroupAssetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GroupAssetsRequest proto.InternalMessageInfo + +func (m *GroupAssetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *GroupAssetsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *GroupAssetsRequest) GetGroupBy() string { + if m != nil { + return m.GroupBy + } + return "" +} + +func (m *GroupAssetsRequest) GetCompareDuration() *duration.Duration { + if m != nil { + return m.CompareDuration + } + return nil +} + +func (m *GroupAssetsRequest) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *GroupAssetsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *GroupAssetsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for grouping by assets. +type GroupAssetsResponse struct { + // Group results. There exists an element for each existing unique + // combination of property/values. The element contains a count for the number + // of times those specific property/values appear. + GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"` + // Time used for executing the groupBy request. + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results. + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GroupAssetsResponse) Reset() { *m = GroupAssetsResponse{} } +func (m *GroupAssetsResponse) String() string { return proto.CompactTextString(m) } +func (*GroupAssetsResponse) ProtoMessage() {} +func (*GroupAssetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{5} +} +func (m *GroupAssetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupAssetsResponse.Unmarshal(m, b) +} +func (m *GroupAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupAssetsResponse.Marshal(b, m, deterministic) +} +func (dst *GroupAssetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupAssetsResponse.Merge(dst, src) +} +func (m *GroupAssetsResponse) XXX_Size() int { + return xxx_messageInfo_GroupAssetsResponse.Size(m) +} +func (m *GroupAssetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GroupAssetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GroupAssetsResponse proto.InternalMessageInfo + +func (m *GroupAssetsResponse) GetGroupByResults() []*GroupResult { + if m != nil { + return m.GroupByResults + } + return nil +} + +func (m *GroupAssetsResponse) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *GroupAssetsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for grouping by findings. +type GroupFindingsRequest struct { + // Name of the source to groupBy. Its format is + // "organizations/[organization_id]/sources/[source_id]". To groupBy across + // all sources provide a source_id of `-`. For example: + // organizations/123/sources/- + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Expression that defines the filter to apply across findings. + // The expression is a list of one or more restrictions combined via logical + // operators `AND` and `OR`. + // Parentheses are not supported, and `OR` has higher precedence than `AND`. + // + // Restrictions have the form ` ` and may have a `-` + // character in front of them to indicate negation. Examples include: + // + // * name + // * source_properties.a_property + // * security_marks.marks.marka + // + // The supported operators are: + // + // * `=` for all value types. + // * `>`, `<`, `>=`, `<=` for integer values. + // * `:`, meaning substring matching, for strings. + // + // The supported value types are: + // + // * string literals in quotes. + // * integer literals without quotes. + // * boolean literals `true` and `false` without quotes. + // + // For example, `source_properties.size = 100` is a valid filter string. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Expression that defines what assets fields to use for grouping (including + // `state`). The string value should follow SQL syntax: comma separated list + // of fields. For example: + // "parent,resource_name". + // + // The following fields are supported: + // + // * resource_name + // * category + // * state + // * parent + GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + // Time used as a reference point when filtering findings. The filter is + // limited to findings existing at the supplied time and their values are + // those at that specific time. Absence of this field will default to the + // API's version of NOW. + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // The value returned by the last `GroupFindingsResponse`; indicates + // that this is a continuation of a prior `GroupFindings` call, and + // that the system should return the next page of data. + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GroupFindingsRequest) Reset() { *m = GroupFindingsRequest{} } +func (m *GroupFindingsRequest) String() string { return proto.CompactTextString(m) } +func (*GroupFindingsRequest) ProtoMessage() {} +func (*GroupFindingsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{6} +} +func (m *GroupFindingsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupFindingsRequest.Unmarshal(m, b) +} +func (m *GroupFindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupFindingsRequest.Marshal(b, m, deterministic) +} +func (dst *GroupFindingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupFindingsRequest.Merge(dst, src) +} +func (m *GroupFindingsRequest) XXX_Size() int { + return xxx_messageInfo_GroupFindingsRequest.Size(m) +} +func (m *GroupFindingsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GroupFindingsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GroupFindingsRequest proto.InternalMessageInfo + +func (m *GroupFindingsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *GroupFindingsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *GroupFindingsRequest) GetGroupBy() string { + if m != nil { + return m.GroupBy + } + return "" +} + +func (m *GroupFindingsRequest) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *GroupFindingsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *GroupFindingsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for group by findings. +type GroupFindingsResponse struct { + // Group results. There exists an element for each existing unique + // combination of property/values. The element contains a count for the number + // of times those specific property/values appear. + GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"` + // Time used for executing the groupBy request. + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results. + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GroupFindingsResponse) Reset() { *m = GroupFindingsResponse{} } +func (m *GroupFindingsResponse) String() string { return proto.CompactTextString(m) } +func (*GroupFindingsResponse) ProtoMessage() {} +func (*GroupFindingsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{7} +} +func (m *GroupFindingsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupFindingsResponse.Unmarshal(m, b) +} +func (m *GroupFindingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupFindingsResponse.Marshal(b, m, deterministic) +} +func (dst *GroupFindingsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupFindingsResponse.Merge(dst, src) +} +func (m *GroupFindingsResponse) XXX_Size() int { + return xxx_messageInfo_GroupFindingsResponse.Size(m) +} +func (m *GroupFindingsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GroupFindingsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GroupFindingsResponse proto.InternalMessageInfo + +func (m *GroupFindingsResponse) GetGroupByResults() []*GroupResult { + if m != nil { + return m.GroupByResults + } + return nil +} + +func (m *GroupFindingsResponse) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *GroupFindingsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Result containing the properties and count of a groupBy request. +type GroupResult struct { + // Properties matching the groupBy fields in the request. + Properties map[string]*_struct.Value `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Total count of resources for the given properties. + Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GroupResult) Reset() { *m = GroupResult{} } +func (m *GroupResult) String() string { return proto.CompactTextString(m) } +func (*GroupResult) ProtoMessage() {} +func (*GroupResult) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{8} +} +func (m *GroupResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupResult.Unmarshal(m, b) +} +func (m *GroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupResult.Marshal(b, m, deterministic) +} +func (dst *GroupResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupResult.Merge(dst, src) +} +func (m *GroupResult) XXX_Size() int { + return xxx_messageInfo_GroupResult.Size(m) +} +func (m *GroupResult) XXX_DiscardUnknown() { + xxx_messageInfo_GroupResult.DiscardUnknown(m) +} + +var xxx_messageInfo_GroupResult proto.InternalMessageInfo + +func (m *GroupResult) GetProperties() map[string]*_struct.Value { + if m != nil { + return m.Properties + } + return nil +} + +func (m *GroupResult) GetCount() int64 { + if m != nil { + return m.Count + } + return 0 +} + +// Request message for listing sources. +type ListSourcesRequest struct { + // Resource name of the parent of sources to list. Its format should be + // "organizations/[organization_id]". + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The value returned by the last `ListSourcesResponse`; indicates + // that this is a continuation of a prior `ListSources` call, and + // that the system should return the next page of data. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListSourcesRequest) Reset() { *m = ListSourcesRequest{} } +func (m *ListSourcesRequest) String() string { return proto.CompactTextString(m) } +func (*ListSourcesRequest) ProtoMessage() {} +func (*ListSourcesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{9} +} +func (m *ListSourcesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListSourcesRequest.Unmarshal(m, b) +} +func (m *ListSourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListSourcesRequest.Marshal(b, m, deterministic) +} +func (dst *ListSourcesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSourcesRequest.Merge(dst, src) +} +func (m *ListSourcesRequest) XXX_Size() int { + return xxx_messageInfo_ListSourcesRequest.Size(m) +} +func (m *ListSourcesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListSourcesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSourcesRequest proto.InternalMessageInfo + +func (m *ListSourcesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListSourcesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListSourcesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for listing sources. +type ListSourcesResponse struct { + // Sources belonging to the requested parent. + Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListSourcesResponse) Reset() { *m = ListSourcesResponse{} } +func (m *ListSourcesResponse) String() string { return proto.CompactTextString(m) } +func (*ListSourcesResponse) ProtoMessage() {} +func (*ListSourcesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{10} +} +func (m *ListSourcesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListSourcesResponse.Unmarshal(m, b) +} +func (m *ListSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListSourcesResponse.Marshal(b, m, deterministic) +} +func (dst *ListSourcesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSourcesResponse.Merge(dst, src) +} +func (m *ListSourcesResponse) XXX_Size() int { + return xxx_messageInfo_ListSourcesResponse.Size(m) +} +func (m *ListSourcesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListSourcesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSourcesResponse proto.InternalMessageInfo + +func (m *ListSourcesResponse) GetSources() []*Source { + if m != nil { + return m.Sources + } + return nil +} + +func (m *ListSourcesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for listing assets. +type ListAssetsRequest struct { + // Name of the organization assets should belong to. Its format is + // "organizations/[organization_id]". + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Expression that defines the filter to apply across assets. + // The expression is a list of zero or more restrictions combined via logical + // operators `AND` and `OR`. + // Parentheses are not supported, and `OR` has higher precedence than `AND`. + // + // Restrictions have the form ` ` and may have a `-` + // character in front of them to indicate negation. The fields map to those + // defined in the Asset resource. Examples include: + // + // * name + // * security_center_properties.resource_name + // * resource_properties.a_property + // * security_marks.marks.marka + // + // The supported operators are: + // + // * `=` for all value types. + // * `>`, `<`, `>=`, `<=` for integer values. + // * `:`, meaning substring matching, for strings. + // + // The supported value types are: + // + // * string literals in quotes. + // * integer literals without quotes. + // * boolean literals `true` and `false` without quotes. + // + // For example, `resource_properties.size = 100` is a valid filter string. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Expression that defines what fields and order to use for sorting. The + // string value should follow SQL syntax: comma separated list of fields. For + // example: "name,resource_properties.a_property". The default sorting order + // is ascending. To specify descending order for a field, a suffix " desc" + // should be appended to the field name. For example: "name + // desc,resource_properties.a_property". Redundant space characters in the + // syntax are insignificant. "name desc,resource_properties.a_property" and " + // name desc , resource_properties.a_property " are equivalent. + OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + // Time used as a reference point when filtering assets. The filter is limited + // to assets existing at the supplied time and their values are those at that + // specific time. Absence of this field will default to the API's version of + // NOW. + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // When compare_duration is set, the ListAssetResult's "state" attribute is + // updated to indicate whether the asset was added, removed, or remained + // present during the compare_duration period of time that precedes the + // read_time. This is the time between (read_time - + // compare_duration) and read_time. + // + // The state value is derived based on the presence of the asset at the two + // points in time. Intermediate state changes between the two times don't + // affect the result. For example, the results aren't affected if the asset is + // removed and re-created again. + // + // Possible "state" values when compare_duration is specified: + // + // * "ADDED": indicates that the asset was not present before + // compare_duration, but present at read_time. + // * "REMOVED": indicates that the asset was present at the start of + // compare_duration, but not present at read_time. + // * "ACTIVE": indicates that the asset was present at both the + // start and the end of the time period defined by + // compare_duration and read_time. + // + // If compare_duration is not specified, then the only possible state is + // "UNUSED", which indicates that the asset is present at read_time. + CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"` + // Optional. + // + // A field mask to specify the ListAssetsResult fields to be listed in the + // response. + // An empty field mask will list all fields. + FieldMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + // The value returned by the last `ListAssetsResponse`; indicates + // that this is a continuation of a prior `ListAssets` call, and + // that the system should return the next page of data. + PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + PageSize int32 `protobuf:"varint,9,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListAssetsRequest) Reset() { *m = ListAssetsRequest{} } +func (m *ListAssetsRequest) String() string { return proto.CompactTextString(m) } +func (*ListAssetsRequest) ProtoMessage() {} +func (*ListAssetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{11} +} +func (m *ListAssetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListAssetsRequest.Unmarshal(m, b) +} +func (m *ListAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListAssetsRequest.Marshal(b, m, deterministic) +} +func (dst *ListAssetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAssetsRequest.Merge(dst, src) +} +func (m *ListAssetsRequest) XXX_Size() int { + return xxx_messageInfo_ListAssetsRequest.Size(m) +} +func (m *ListAssetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListAssetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListAssetsRequest proto.InternalMessageInfo + +func (m *ListAssetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListAssetsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListAssetsRequest) GetOrderBy() string { + if m != nil { + return m.OrderBy + } + return "" +} + +func (m *ListAssetsRequest) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *ListAssetsRequest) GetCompareDuration() *duration.Duration { + if m != nil { + return m.CompareDuration + } + return nil +} + +func (m *ListAssetsRequest) GetFieldMask() *field_mask.FieldMask { + if m != nil { + return m.FieldMask + } + return nil +} + +func (m *ListAssetsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListAssetsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for listing assets. +type ListAssetsResponse struct { + // Assets matching the list request. + ListAssetsResults []*ListAssetsResponse_ListAssetsResult `protobuf:"bytes,1,rep,name=list_assets_results,json=listAssetsResults,proto3" json:"list_assets_results,omitempty"` + // Time used for executing the list request. + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results. + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // The total number of assets matching the query. + TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListAssetsResponse) Reset() { *m = ListAssetsResponse{} } +func (m *ListAssetsResponse) String() string { return proto.CompactTextString(m) } +func (*ListAssetsResponse) ProtoMessage() {} +func (*ListAssetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{12} +} +func (m *ListAssetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListAssetsResponse.Unmarshal(m, b) +} +func (m *ListAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListAssetsResponse.Marshal(b, m, deterministic) +} +func (dst *ListAssetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAssetsResponse.Merge(dst, src) +} +func (m *ListAssetsResponse) XXX_Size() int { + return xxx_messageInfo_ListAssetsResponse.Size(m) +} +func (m *ListAssetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListAssetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListAssetsResponse proto.InternalMessageInfo + +func (m *ListAssetsResponse) GetListAssetsResults() []*ListAssetsResponse_ListAssetsResult { + if m != nil { + return m.ListAssetsResults + } + return nil +} + +func (m *ListAssetsResponse) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *ListAssetsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func (m *ListAssetsResponse) GetTotalSize() int32 { + if m != nil { + return m.TotalSize + } + return 0 +} + +// Result containing the Asset and its State. +type ListAssetsResponse_ListAssetsResult struct { + // Asset matching the search request. + Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` + // State of the asset. + State ListAssetsResponse_ListAssetsResult_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.ListAssetsResponse_ListAssetsResult_State" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListAssetsResponse_ListAssetsResult) Reset() { *m = ListAssetsResponse_ListAssetsResult{} } +func (m *ListAssetsResponse_ListAssetsResult) String() string { return proto.CompactTextString(m) } +func (*ListAssetsResponse_ListAssetsResult) ProtoMessage() {} +func (*ListAssetsResponse_ListAssetsResult) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{12, 0} +} +func (m *ListAssetsResponse_ListAssetsResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Unmarshal(m, b) +} +func (m *ListAssetsResponse_ListAssetsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Marshal(b, m, deterministic) +} +func (dst *ListAssetsResponse_ListAssetsResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Merge(dst, src) +} +func (m *ListAssetsResponse_ListAssetsResult) XXX_Size() int { + return xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Size(m) +} +func (m *ListAssetsResponse_ListAssetsResult) XXX_DiscardUnknown() { + xxx_messageInfo_ListAssetsResponse_ListAssetsResult.DiscardUnknown(m) +} + +var xxx_messageInfo_ListAssetsResponse_ListAssetsResult proto.InternalMessageInfo + +func (m *ListAssetsResponse_ListAssetsResult) GetAsset() *Asset { + if m != nil { + return m.Asset + } + return nil +} + +func (m *ListAssetsResponse_ListAssetsResult) GetState() ListAssetsResponse_ListAssetsResult_State { + if m != nil { + return m.State + } + return ListAssetsResponse_ListAssetsResult_STATE_UNSPECIFIED +} + +// Request message for listing findings. +type ListFindingsRequest struct { + // Name of the source the findings belong to. Its format is + // "organizations/[organization_id]/sources/[source_id]". To list across all + // sources provide a source_id of `-`. For example: + // organizations/123/sources/- + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Expression that defines the filter to apply across findings. + // The expression is a list of one or more restrictions combined via logical + // operators `AND` and `OR`. + // Parentheses are not supported, and `OR` has higher precedence than `AND`. + // + // Restrictions have the form ` ` and may have a `-` + // character in front of them to indicate negation. Examples include: + // + // * name + // * source_properties.a_property + // * security_marks.marks.marka + // + // The supported operators are: + // + // * `=` for all value types. + // * `>`, `<`, `>=`, `<=` for integer values. + // * `:`, meaning substring matching, for strings. + // + // The supported value types are: + // + // * string literals in quotes. + // * integer literals without quotes. + // * boolean literals `true` and `false` without quotes. + // + // For example, `source_properties.size = 100` is a valid filter string. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Expression that defines what fields and order to use for sorting. The + // string value should follow SQL syntax: comma separated list of fields. For + // example: "name,resource_properties.a_property". The default sorting order + // is ascending. To specify descending order for a field, a suffix " desc" + // should be appended to the field name. For example: "name + // desc,source_properties.a_property". Redundant space characters in the + // syntax are insignificant. "name desc,source_properties.a_property" and " + // name desc , source_properties.a_property " are equivalent. + OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + // Time used as a reference point when filtering findings. The filter is + // limited to findings existing at the supplied time and their values are + // those at that specific time. Absence of this field will default to the + // API's version of NOW. + ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // Optional. + // + // A field mask to specify the Finding fields to be listed in the response. + // An empty field mask will list all fields. + FieldMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + // The value returned by the last `ListFindingsResponse`; indicates + // that this is a continuation of a prior `ListFindings` call, and + // that the system should return the next page of data. + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFindingsRequest) Reset() { *m = ListFindingsRequest{} } +func (m *ListFindingsRequest) String() string { return proto.CompactTextString(m) } +func (*ListFindingsRequest) ProtoMessage() {} +func (*ListFindingsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{13} +} +func (m *ListFindingsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFindingsRequest.Unmarshal(m, b) +} +func (m *ListFindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFindingsRequest.Marshal(b, m, deterministic) +} +func (dst *ListFindingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFindingsRequest.Merge(dst, src) +} +func (m *ListFindingsRequest) XXX_Size() int { + return xxx_messageInfo_ListFindingsRequest.Size(m) +} +func (m *ListFindingsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFindingsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFindingsRequest proto.InternalMessageInfo + +func (m *ListFindingsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListFindingsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListFindingsRequest) GetOrderBy() string { + if m != nil { + return m.OrderBy + } + return "" +} + +func (m *ListFindingsRequest) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *ListFindingsRequest) GetFieldMask() *field_mask.FieldMask { + if m != nil { + return m.FieldMask + } + return nil +} + +func (m *ListFindingsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListFindingsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +// Response message for listing findings. +type ListFindingsResponse struct { + // Findings matching the list request. + Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` + // Time used for executing the list request. + ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results. + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // The total number of findings matching the query. + TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFindingsResponse) Reset() { *m = ListFindingsResponse{} } +func (m *ListFindingsResponse) String() string { return proto.CompactTextString(m) } +func (*ListFindingsResponse) ProtoMessage() {} +func (*ListFindingsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{14} +} +func (m *ListFindingsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFindingsResponse.Unmarshal(m, b) +} +func (m *ListFindingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFindingsResponse.Marshal(b, m, deterministic) +} +func (dst *ListFindingsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFindingsResponse.Merge(dst, src) +} +func (m *ListFindingsResponse) XXX_Size() int { + return xxx_messageInfo_ListFindingsResponse.Size(m) +} +func (m *ListFindingsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFindingsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFindingsResponse proto.InternalMessageInfo + +func (m *ListFindingsResponse) GetFindings() []*Finding { + if m != nil { + return m.Findings + } + return nil +} + +func (m *ListFindingsResponse) GetReadTime() *timestamp.Timestamp { + if m != nil { + return m.ReadTime + } + return nil +} + +func (m *ListFindingsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func (m *ListFindingsResponse) GetTotalSize() int32 { + if m != nil { + return m.TotalSize + } + return 0 +} + +// Request message for updating a finding's state. +type SetFindingStateRequest struct { + // The relative resource name of the finding. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // Example: + // "organizations/123/sources/456/finding/789". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The desired State of the finding. + State Finding_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.Finding_State" json:"state,omitempty"` + // The time at which the updated state takes effect. + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetFindingStateRequest) Reset() { *m = SetFindingStateRequest{} } +func (m *SetFindingStateRequest) String() string { return proto.CompactTextString(m) } +func (*SetFindingStateRequest) ProtoMessage() {} +func (*SetFindingStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{15} +} +func (m *SetFindingStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetFindingStateRequest.Unmarshal(m, b) +} +func (m *SetFindingStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetFindingStateRequest.Marshal(b, m, deterministic) +} +func (dst *SetFindingStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetFindingStateRequest.Merge(dst, src) +} +func (m *SetFindingStateRequest) XXX_Size() int { + return xxx_messageInfo_SetFindingStateRequest.Size(m) +} +func (m *SetFindingStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetFindingStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetFindingStateRequest proto.InternalMessageInfo + +func (m *SetFindingStateRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *SetFindingStateRequest) GetState() Finding_State { + if m != nil { + return m.State + } + return Finding_STATE_UNSPECIFIED +} + +func (m *SetFindingStateRequest) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +// Request message for running asset discovery for an organization. +type RunAssetDiscoveryRequest struct { + // Name of the organization to run asset discovery for. Its format is + // "organizations/[organization_id]". + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RunAssetDiscoveryRequest) Reset() { *m = RunAssetDiscoveryRequest{} } +func (m *RunAssetDiscoveryRequest) String() string { return proto.CompactTextString(m) } +func (*RunAssetDiscoveryRequest) ProtoMessage() {} +func (*RunAssetDiscoveryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{16} +} +func (m *RunAssetDiscoveryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RunAssetDiscoveryRequest.Unmarshal(m, b) +} +func (m *RunAssetDiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RunAssetDiscoveryRequest.Marshal(b, m, deterministic) +} +func (dst *RunAssetDiscoveryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RunAssetDiscoveryRequest.Merge(dst, src) +} +func (m *RunAssetDiscoveryRequest) XXX_Size() int { + return xxx_messageInfo_RunAssetDiscoveryRequest.Size(m) +} +func (m *RunAssetDiscoveryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RunAssetDiscoveryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RunAssetDiscoveryRequest proto.InternalMessageInfo + +func (m *RunAssetDiscoveryRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +// Request message for updating or creating a finding. +type UpdateFindingRequest struct { + // The finding resource to update or create if it does not already exist. + // parent, security_marks, and update_time will be ignored. + // + // In the case of creation, the finding id portion of the name must + // alphanumeric and less than or equal to 32 characters and greater than 0 + // characters in length. + Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"` + // The FieldMask to use when updating the finding resource. This field is + // ignored if the finding does not already exist and the finding is created. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateFindingRequest) Reset() { *m = UpdateFindingRequest{} } +func (m *UpdateFindingRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateFindingRequest) ProtoMessage() {} +func (*UpdateFindingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{17} +} +func (m *UpdateFindingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateFindingRequest.Unmarshal(m, b) +} +func (m *UpdateFindingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateFindingRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateFindingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFindingRequest.Merge(dst, src) +} +func (m *UpdateFindingRequest) XXX_Size() int { + return xxx_messageInfo_UpdateFindingRequest.Size(m) +} +func (m *UpdateFindingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateFindingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateFindingRequest proto.InternalMessageInfo + +func (m *UpdateFindingRequest) GetFinding() *Finding { + if m != nil { + return m.Finding + } + return nil +} + +func (m *UpdateFindingRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for updating an organization's settings. +type UpdateOrganizationSettingsRequest struct { + // The organization settings resource to update. + OrganizationSettings *OrganizationSettings `protobuf:"bytes,1,opt,name=organization_settings,json=organizationSettings,proto3" json:"organization_settings,omitempty"` + // The FieldMask to use when updating the settings resource. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateOrganizationSettingsRequest) Reset() { *m = UpdateOrganizationSettingsRequest{} } +func (m *UpdateOrganizationSettingsRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateOrganizationSettingsRequest) ProtoMessage() {} +func (*UpdateOrganizationSettingsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{18} +} +func (m *UpdateOrganizationSettingsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateOrganizationSettingsRequest.Unmarshal(m, b) +} +func (m *UpdateOrganizationSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateOrganizationSettingsRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateOrganizationSettingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateOrganizationSettingsRequest.Merge(dst, src) +} +func (m *UpdateOrganizationSettingsRequest) XXX_Size() int { + return xxx_messageInfo_UpdateOrganizationSettingsRequest.Size(m) +} +func (m *UpdateOrganizationSettingsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateOrganizationSettingsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateOrganizationSettingsRequest proto.InternalMessageInfo + +func (m *UpdateOrganizationSettingsRequest) GetOrganizationSettings() *OrganizationSettings { + if m != nil { + return m.OrganizationSettings + } + return nil +} + +func (m *UpdateOrganizationSettingsRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for updating a source. +type UpdateSourceRequest struct { + // The source resource to update. + Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + // The FieldMask to use when updating the source resource. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateSourceRequest) Reset() { *m = UpdateSourceRequest{} } +func (m *UpdateSourceRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateSourceRequest) ProtoMessage() {} +func (*UpdateSourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{19} +} +func (m *UpdateSourceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateSourceRequest.Unmarshal(m, b) +} +func (m *UpdateSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateSourceRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateSourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSourceRequest.Merge(dst, src) +} +func (m *UpdateSourceRequest) XXX_Size() int { + return xxx_messageInfo_UpdateSourceRequest.Size(m) +} +func (m *UpdateSourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSourceRequest proto.InternalMessageInfo + +func (m *UpdateSourceRequest) GetSource() *Source { + if m != nil { + return m.Source + } + return nil +} + +func (m *UpdateSourceRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for updating a SecurityMarks resource. +type UpdateSecurityMarksRequest struct { + // The security marks resource to update. + SecurityMarks *SecurityMarks `protobuf:"bytes,1,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"` + // The FieldMask to use when updating the security marks resource. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // The time at which the updated SecurityMarks take effect. + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateSecurityMarksRequest) Reset() { *m = UpdateSecurityMarksRequest{} } +func (m *UpdateSecurityMarksRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateSecurityMarksRequest) ProtoMessage() {} +func (*UpdateSecurityMarksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_securitycenter_service_04d508c1925341a7, []int{20} +} +func (m *UpdateSecurityMarksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateSecurityMarksRequest.Unmarshal(m, b) +} +func (m *UpdateSecurityMarksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateSecurityMarksRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateSecurityMarksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecurityMarksRequest.Merge(dst, src) +} +func (m *UpdateSecurityMarksRequest) XXX_Size() int { + return xxx_messageInfo_UpdateSecurityMarksRequest.Size(m) +} +func (m *UpdateSecurityMarksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecurityMarksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecurityMarksRequest proto.InternalMessageInfo + +func (m *UpdateSecurityMarksRequest) GetSecurityMarks() *SecurityMarks { + if m != nil { + return m.SecurityMarks + } + return nil +} + +func (m *UpdateSecurityMarksRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateSecurityMarksRequest) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func init() { + proto.RegisterType((*CreateFindingRequest)(nil), "google.cloud.securitycenter.v1beta1.CreateFindingRequest") + proto.RegisterType((*CreateSourceRequest)(nil), "google.cloud.securitycenter.v1beta1.CreateSourceRequest") + proto.RegisterType((*GetOrganizationSettingsRequest)(nil), "google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest") + proto.RegisterType((*GetSourceRequest)(nil), "google.cloud.securitycenter.v1beta1.GetSourceRequest") + proto.RegisterType((*GroupAssetsRequest)(nil), "google.cloud.securitycenter.v1beta1.GroupAssetsRequest") + proto.RegisterType((*GroupAssetsResponse)(nil), "google.cloud.securitycenter.v1beta1.GroupAssetsResponse") + proto.RegisterType((*GroupFindingsRequest)(nil), "google.cloud.securitycenter.v1beta1.GroupFindingsRequest") + proto.RegisterType((*GroupFindingsResponse)(nil), "google.cloud.securitycenter.v1beta1.GroupFindingsResponse") + proto.RegisterType((*GroupResult)(nil), "google.cloud.securitycenter.v1beta1.GroupResult") + proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.GroupResult.PropertiesEntry") + proto.RegisterType((*ListSourcesRequest)(nil), "google.cloud.securitycenter.v1beta1.ListSourcesRequest") + proto.RegisterType((*ListSourcesResponse)(nil), "google.cloud.securitycenter.v1beta1.ListSourcesResponse") + proto.RegisterType((*ListAssetsRequest)(nil), "google.cloud.securitycenter.v1beta1.ListAssetsRequest") + proto.RegisterType((*ListAssetsResponse)(nil), "google.cloud.securitycenter.v1beta1.ListAssetsResponse") + proto.RegisterType((*ListAssetsResponse_ListAssetsResult)(nil), "google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult") + proto.RegisterType((*ListFindingsRequest)(nil), "google.cloud.securitycenter.v1beta1.ListFindingsRequest") + proto.RegisterType((*ListFindingsResponse)(nil), "google.cloud.securitycenter.v1beta1.ListFindingsResponse") + proto.RegisterType((*SetFindingStateRequest)(nil), "google.cloud.securitycenter.v1beta1.SetFindingStateRequest") + proto.RegisterType((*RunAssetDiscoveryRequest)(nil), "google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest") + proto.RegisterType((*UpdateFindingRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateFindingRequest") + proto.RegisterType((*UpdateOrganizationSettingsRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest") + proto.RegisterType((*UpdateSourceRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateSourceRequest") + proto.RegisterType((*UpdateSecurityMarksRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest") + proto.RegisterEnum("google.cloud.securitycenter.v1beta1.ListAssetsResponse_ListAssetsResult_State", ListAssetsResponse_ListAssetsResult_State_name, ListAssetsResponse_ListAssetsResult_State_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// SecurityCenterClient is the client API for SecurityCenter service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type SecurityCenterClient interface { + // Creates a source. + CreateSource(ctx context.Context, in *CreateSourceRequest, opts ...grpc.CallOption) (*Source, error) + // Creates a finding. The corresponding source must exist for finding creation + // to succeed. + CreateFinding(ctx context.Context, in *CreateFindingRequest, opts ...grpc.CallOption) (*Finding, error) + // Gets the access control policy on the specified Source. + GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) + // Gets the settings for an organization. + GetOrganizationSettings(ctx context.Context, in *GetOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error) + // Gets a source. + GetSource(ctx context.Context, in *GetSourceRequest, opts ...grpc.CallOption) (*Source, error) + // Filters an organization's assets and groups them by their specified + // properties. + GroupAssets(ctx context.Context, in *GroupAssetsRequest, opts ...grpc.CallOption) (*GroupAssetsResponse, error) + // Filters an organization or source's findings and groups them by their + // specified properties. + // + // To group across all sources provide a `-` as the source id. + // Example: /v1beta1/organizations/123/sources/-/findings + GroupFindings(ctx context.Context, in *GroupFindingsRequest, opts ...grpc.CallOption) (*GroupFindingsResponse, error) + // Lists an organization's assets. + ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) + // Lists an organization or source's findings. + // + // To list across all sources provide a `-` as the source id. + // Example: /v1beta1/organizations/123/sources/-/findings + ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) + // Lists all sources belonging to an organization. + ListSources(ctx context.Context, in *ListSourcesRequest, opts ...grpc.CallOption) (*ListSourcesResponse, error) + // Runs asset discovery. The discovery is tracked with a long-running + // operation. + // + // This API can only be called with limited frequency for an organization. If + // it is called too frequently the caller will receive a TOO_MANY_REQUESTS + // error. + RunAssetDiscovery(ctx context.Context, in *RunAssetDiscoveryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Updates the state of a finding. + SetFindingState(ctx context.Context, in *SetFindingStateRequest, opts ...grpc.CallOption) (*Finding, error) + // Sets the access control policy on the specified Source. + SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) + // Returns the permissions that a caller has on the specified source. + TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) + // Creates or updates a finding. The corresponding source must exist for a + // finding creation to succeed. + UpdateFinding(ctx context.Context, in *UpdateFindingRequest, opts ...grpc.CallOption) (*Finding, error) + // Updates an organization's settings. + UpdateOrganizationSettings(ctx context.Context, in *UpdateOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error) + // Updates a source. + UpdateSource(ctx context.Context, in *UpdateSourceRequest, opts ...grpc.CallOption) (*Source, error) + // Updates security marks. + UpdateSecurityMarks(ctx context.Context, in *UpdateSecurityMarksRequest, opts ...grpc.CallOption) (*SecurityMarks, error) +} + +type securityCenterClient struct { + cc *grpc.ClientConn +} + +func NewSecurityCenterClient(cc *grpc.ClientConn) SecurityCenterClient { + return &securityCenterClient{cc} +} + +func (c *securityCenterClient) CreateSource(ctx context.Context, in *CreateSourceRequest, opts ...grpc.CallOption) (*Source, error) { + out := new(Source) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateSource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) CreateFinding(ctx context.Context, in *CreateFindingRequest, opts ...grpc.CallOption) (*Finding, error) { + out := new(Finding) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateFinding", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { + out := new(v1.Policy) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetIamPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) GetOrganizationSettings(ctx context.Context, in *GetOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error) { + out := new(OrganizationSettings) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetOrganizationSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) GetSource(ctx context.Context, in *GetSourceRequest, opts ...grpc.CallOption) (*Source, error) { + out := new(Source) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetSource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) GroupAssets(ctx context.Context, in *GroupAssetsRequest, opts ...grpc.CallOption) (*GroupAssetsResponse, error) { + out := new(GroupAssetsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupAssets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) GroupFindings(ctx context.Context, in *GroupFindingsRequest, opts ...grpc.CallOption) (*GroupFindingsResponse, error) { + out := new(GroupFindingsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupFindings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) { + out := new(ListAssetsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListAssets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) { + out := new(ListFindingsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListFindings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) ListSources(ctx context.Context, in *ListSourcesRequest, opts ...grpc.CallOption) (*ListSourcesResponse, error) { + out := new(ListSourcesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListSources", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) RunAssetDiscovery(ctx context.Context, in *RunAssetDiscoveryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/RunAssetDiscovery", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) SetFindingState(ctx context.Context, in *SetFindingStateRequest, opts ...grpc.CallOption) (*Finding, error) { + out := new(Finding) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetFindingState", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { + out := new(v1.Policy) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetIamPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { + out := new(v1.TestIamPermissionsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/TestIamPermissions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) UpdateFinding(ctx context.Context, in *UpdateFindingRequest, opts ...grpc.CallOption) (*Finding, error) { + out := new(Finding) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateFinding", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) UpdateOrganizationSettings(ctx context.Context, in *UpdateOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error) { + out := new(OrganizationSettings) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateOrganizationSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) UpdateSource(ctx context.Context, in *UpdateSourceRequest, opts ...grpc.CallOption) (*Source, error) { + out := new(Source) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *securityCenterClient) UpdateSecurityMarks(ctx context.Context, in *UpdateSecurityMarksRequest, opts ...grpc.CallOption) (*SecurityMarks, error) { + out := new(SecurityMarks) + err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSecurityMarks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SecurityCenterServer is the server API for SecurityCenter service. +type SecurityCenterServer interface { + // Creates a source. + CreateSource(context.Context, *CreateSourceRequest) (*Source, error) + // Creates a finding. The corresponding source must exist for finding creation + // to succeed. + CreateFinding(context.Context, *CreateFindingRequest) (*Finding, error) + // Gets the access control policy on the specified Source. + GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) + // Gets the settings for an organization. + GetOrganizationSettings(context.Context, *GetOrganizationSettingsRequest) (*OrganizationSettings, error) + // Gets a source. + GetSource(context.Context, *GetSourceRequest) (*Source, error) + // Filters an organization's assets and groups them by their specified + // properties. + GroupAssets(context.Context, *GroupAssetsRequest) (*GroupAssetsResponse, error) + // Filters an organization or source's findings and groups them by their + // specified properties. + // + // To group across all sources provide a `-` as the source id. + // Example: /v1beta1/organizations/123/sources/-/findings + GroupFindings(context.Context, *GroupFindingsRequest) (*GroupFindingsResponse, error) + // Lists an organization's assets. + ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) + // Lists an organization or source's findings. + // + // To list across all sources provide a `-` as the source id. + // Example: /v1beta1/organizations/123/sources/-/findings + ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error) + // Lists all sources belonging to an organization. + ListSources(context.Context, *ListSourcesRequest) (*ListSourcesResponse, error) + // Runs asset discovery. The discovery is tracked with a long-running + // operation. + // + // This API can only be called with limited frequency for an organization. If + // it is called too frequently the caller will receive a TOO_MANY_REQUESTS + // error. + RunAssetDiscovery(context.Context, *RunAssetDiscoveryRequest) (*longrunning.Operation, error) + // Updates the state of a finding. + SetFindingState(context.Context, *SetFindingStateRequest) (*Finding, error) + // Sets the access control policy on the specified Source. + SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) + // Returns the permissions that a caller has on the specified source. + TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) + // Creates or updates a finding. The corresponding source must exist for a + // finding creation to succeed. + UpdateFinding(context.Context, *UpdateFindingRequest) (*Finding, error) + // Updates an organization's settings. + UpdateOrganizationSettings(context.Context, *UpdateOrganizationSettingsRequest) (*OrganizationSettings, error) + // Updates a source. + UpdateSource(context.Context, *UpdateSourceRequest) (*Source, error) + // Updates security marks. + UpdateSecurityMarks(context.Context, *UpdateSecurityMarksRequest) (*SecurityMarks, error) +} + +func RegisterSecurityCenterServer(s *grpc.Server, srv SecurityCenterServer) { + s.RegisterService(&_SecurityCenter_serviceDesc, srv) +} + +func _SecurityCenter_CreateSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateSourceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).CreateSource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateSource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).CreateSource(ctx, req.(*CreateSourceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_CreateFinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateFindingRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).CreateFinding(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateFinding", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).CreateFinding(ctx, req.(*CreateFindingRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.GetIamPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).GetIamPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetIamPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_GetOrganizationSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOrganizationSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).GetOrganizationSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetOrganizationSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).GetOrganizationSettings(ctx, req.(*GetOrganizationSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_GetSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetSourceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).GetSource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetSource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).GetSource(ctx, req.(*GetSourceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_GroupAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GroupAssetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).GroupAssets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupAssets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).GroupAssets(ctx, req.(*GroupAssetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_GroupFindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GroupFindingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).GroupFindings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupFindings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).GroupFindings(ctx, req.(*GroupFindingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_ListAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAssetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).ListAssets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListAssets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).ListAssets(ctx, req.(*ListAssetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_ListFindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFindingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).ListFindings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListFindings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).ListFindings(ctx, req.(*ListFindingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_ListSources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListSourcesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).ListSources(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListSources", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).ListSources(ctx, req.(*ListSourcesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_RunAssetDiscovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RunAssetDiscoveryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).RunAssetDiscovery(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/RunAssetDiscovery", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).RunAssetDiscovery(ctx, req.(*RunAssetDiscoveryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_SetFindingState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetFindingStateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).SetFindingState(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetFindingState", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).SetFindingState(ctx, req.(*SetFindingStateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.SetIamPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).SetIamPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetIamPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.TestIamPermissionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).TestIamPermissions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/TestIamPermissions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_UpdateFinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateFindingRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).UpdateFinding(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateFinding", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).UpdateFinding(ctx, req.(*UpdateFindingRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_UpdateOrganizationSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateOrganizationSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).UpdateOrganizationSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateOrganizationSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).UpdateOrganizationSettings(ctx, req.(*UpdateOrganizationSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_UpdateSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateSourceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).UpdateSource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).UpdateSource(ctx, req.(*UpdateSourceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SecurityCenter_UpdateSecurityMarks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateSecurityMarksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SecurityCenterServer).UpdateSecurityMarks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSecurityMarks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SecurityCenterServer).UpdateSecurityMarks(ctx, req.(*UpdateSecurityMarksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _SecurityCenter_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.securitycenter.v1beta1.SecurityCenter", + HandlerType: (*SecurityCenterServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateSource", + Handler: _SecurityCenter_CreateSource_Handler, + }, + { + MethodName: "CreateFinding", + Handler: _SecurityCenter_CreateFinding_Handler, + }, + { + MethodName: "GetIamPolicy", + Handler: _SecurityCenter_GetIamPolicy_Handler, + }, + { + MethodName: "GetOrganizationSettings", + Handler: _SecurityCenter_GetOrganizationSettings_Handler, + }, + { + MethodName: "GetSource", + Handler: _SecurityCenter_GetSource_Handler, + }, + { + MethodName: "GroupAssets", + Handler: _SecurityCenter_GroupAssets_Handler, + }, + { + MethodName: "GroupFindings", + Handler: _SecurityCenter_GroupFindings_Handler, + }, + { + MethodName: "ListAssets", + Handler: _SecurityCenter_ListAssets_Handler, + }, + { + MethodName: "ListFindings", + Handler: _SecurityCenter_ListFindings_Handler, + }, + { + MethodName: "ListSources", + Handler: _SecurityCenter_ListSources_Handler, + }, + { + MethodName: "RunAssetDiscovery", + Handler: _SecurityCenter_RunAssetDiscovery_Handler, + }, + { + MethodName: "SetFindingState", + Handler: _SecurityCenter_SetFindingState_Handler, + }, + { + MethodName: "SetIamPolicy", + Handler: _SecurityCenter_SetIamPolicy_Handler, + }, + { + MethodName: "TestIamPermissions", + Handler: _SecurityCenter_TestIamPermissions_Handler, + }, + { + MethodName: "UpdateFinding", + Handler: _SecurityCenter_UpdateFinding_Handler, + }, + { + MethodName: "UpdateOrganizationSettings", + Handler: _SecurityCenter_UpdateOrganizationSettings_Handler, + }, + { + MethodName: "UpdateSource", + Handler: _SecurityCenter_UpdateSource_Handler, + }, + { + MethodName: "UpdateSecurityMarks", + Handler: _SecurityCenter_UpdateSecurityMarks_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/securitycenter/v1beta1/securitycenter_service.proto", +} + +func init() { + proto.RegisterFile("google/cloud/securitycenter/v1beta1/securitycenter_service.proto", fileDescriptor_securitycenter_service_04d508c1925341a7) +} + +var fileDescriptor_securitycenter_service_04d508c1925341a7 = []byte{ + // 1902 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xdb, 0x6f, 0x1b, 0x59, + 0x19, 0xe7, 0x38, 0x71, 0x12, 0x7f, 0x6e, 0x5a, 0xf7, 0x24, 0x2d, 0xde, 0xd9, 0xee, 0x12, 0x06, + 0x69, 0x49, 0xbb, 0x2b, 0xbb, 0xf1, 0x5e, 0x9a, 0xba, 0x5b, 0x35, 0x6d, 0xec, 0x5c, 0x80, 0xa4, + 0x59, 0x3b, 0xa9, 0x44, 0x5f, 0xcc, 0xc4, 0x3e, 0x31, 0xa3, 0xd8, 0x33, 0x66, 0xce, 0x71, 0xb4, + 0x29, 0x2a, 0x42, 0x88, 0xa7, 0x7d, 0x5a, 0x09, 0x21, 0x24, 0xf6, 0x8d, 0x7f, 0x00, 0x10, 0x12, + 0x3c, 0x80, 0x84, 0x10, 0x12, 0x3c, 0x21, 0xad, 0xa0, 0x82, 0x17, 0x1e,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0x4c, 0x68, 0x36, 0x12, 0xd0, 0xba, 0xa0, 0x9c, 0xc6, 0x16, 0x84, 0x9b, 0xa5, + 0xaf, 0x9d, 0x11, 0x8e, 0xfe, 0xa0, 0x1a, 0x3f, 0xd3, 0x29, 0x47, 0x57, 0x85, 0xf8, 0x37, 0x08, + 0x2e, 0xf9, 0x2b, 0xb0, 0x98, 0x77, 0x43, 0x44, 0xd1, 0x96, 0x2c, 0x0d, 0x52, 0xa7, 0x54, 0xe9, + 0xf6, 0x19, 0x45, 0xf5, 0xe1, 0x76, 0x4c, 0x36, 0x34, 0xc8, 0xf4, 0x3f, 0x4f, 0x0d, 0x6a, 0xc7, + 0x40, 0xfd, 0xf4, 0x20, 0x09, 0x81, 0x88, 0xda, 0xce, 0x38, 0x47, 0x0d, 0x67, 0xfe, 0x11, 0x09, + 0x3e, 0xbf, 0x43, 0xa5, 0xaa, 0x8f, 0x50, 0xf0, 0x1b, 0x76, 0x24, 0x31, 0x79, 0x04, 0x73, 0x86, + 0xfe, 0xf5, 0x9e, 0x97, 0x43, 0xe5, 0xe5, 0xd3, 0x66, 0xe9, 0xa3, 0x64, 0x0b, 0x47, 0x05, 0xc1, + 0x98, 0x4d, 0x1e, 0x7d, 0x0f, 0xbe, 0xda, 0x74, 0xbb, 0x71, 0xe8, 0xef, 0xa1, 0xa7, 0x1f, 0xa9, + 0x69, 0x6d, 0xb7, 0x63, 0x39, 0xed, 0x82, 0xeb, 0xb5, 0x8b, 0x6d, 0xe2, 0x88, 0x1a, 0x53, 0xfd, + 0x1b, 0x82, 0xd5, 0xb3, 0xe9, 0xc8, 0x6f, 0xf5, 0xf7, 0x82, 0xdd, 0x87, 0x33, 0x42, 0xfa, 0xdd, + 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x70, 0x64, 0x0e, 0x6a, 0x4c, 0x21, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go new file mode 100644 index 000000000..904596b62 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go @@ -0,0 +1,121 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/securitycenter/v1beta1/source.proto + +package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Cloud Security Command Center's (Cloud SCC) finding source. A finding source +// is an entity or a mechanism that can produce a finding. A source is like a +// container of findings that come from the same scanner, logger, monitor, etc. +type Source struct { + // The relative resource name of this source. See: + // https://cloud.google.com/apis/design/resource_names#relative_resource_name + // Example: + // "organizations/123/sources/456" + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The source’s display name. + // A source’s display name must be unique amongst its siblings, for example, + // two sources with the same parent can't share the same display name. + // The display name must start and end with a letter or digit, may contain + // letters, digits, spaces, hyphens, and underscores, and can be no longer + // than 30 characters. This is captured by the regular expression: + // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The description of the source (max of 1024 characters). + // Example: + // "Cloud Security Scanner is a web security scanner for common + // vulnerabilities in App Engine applications. It can automatically + // scan and detect four common vulnerabilities, including cross-site-scripting + // (XSS), Flash injection, mixed content (HTTP in HTTPS), and + // outdated/insecure libraries." + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Source) Reset() { *m = Source{} } +func (m *Source) String() string { return proto.CompactTextString(m) } +func (*Source) ProtoMessage() {} +func (*Source) Descriptor() ([]byte, []int) { + return fileDescriptor_source_e0c4f1f81c312886, []int{0} +} +func (m *Source) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Source.Unmarshal(m, b) +} +func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Source.Marshal(b, m, deterministic) +} +func (dst *Source) XXX_Merge(src proto.Message) { + xxx_messageInfo_Source.Merge(dst, src) +} +func (m *Source) XXX_Size() int { + return xxx_messageInfo_Source.Size(m) +} +func (m *Source) XXX_DiscardUnknown() { + xxx_messageInfo_Source.DiscardUnknown(m) +} + +var xxx_messageInfo_Source proto.InternalMessageInfo + +func (m *Source) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Source) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *Source) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func init() { + proto.RegisterType((*Source)(nil), "google.cloud.securitycenter.v1beta1.Source") +} + +func init() { + proto.RegisterFile("google/cloud/securitycenter/v1beta1/source.proto", fileDescriptor_source_e0c4f1f81c312886) +} + +var fileDescriptor_source_e0c4f1f81c312886 = []byte{ + // 217 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x3f, 0x4b, 0xc5, 0x30, + 0x14, 0xc5, 0xa9, 0x4a, 0xc1, 0xd4, 0x29, 0x53, 0x11, 0x87, 0xaa, 0x83, 0x4e, 0x89, 0xc5, 0xd1, + 0xcd, 0x0f, 0x20, 0xfe, 0xd9, 0x5c, 0xe4, 0x36, 0xbd, 0x84, 0x40, 0x9a, 0x1b, 0x92, 0x54, 0xe8, + 0xe2, 0x67, 0x97, 0xa6, 0x81, 0x47, 0x97, 0xc7, 0xdb, 0xc2, 0x39, 0xe7, 0xf7, 0xe3, 0x12, 0xf6, + 0xa4, 0x89, 0xb4, 0x45, 0xa9, 0x2c, 0xcd, 0xa3, 0x8c, 0xa8, 0xe6, 0x60, 0xd2, 0xa2, 0xd0, 0x25, + 0x0c, 0xf2, 0xb7, 0x1f, 0x30, 0x41, 0x2f, 0x23, 0xcd, 0x41, 0xa1, 0xf0, 0x81, 0x12, 0xf1, 0xfb, + 0x8d, 0x10, 0x99, 0x10, 0x7b, 0x42, 0x14, 0xe2, 0xfa, 0xa6, 0x68, 0xc1, 0x1b, 0x09, 0xce, 0x51, + 0x82, 0x64, 0xc8, 0xc5, 0x4d, 0x71, 0x07, 0xac, 0xfe, 0xca, 0x4a, 0xce, 0xd9, 0x85, 0x83, 0x09, + 0xdb, 0xaa, 0xab, 0x1e, 0x2f, 0x3f, 0xf3, 0x9b, 0xdf, 0xb2, 0xab, 0xd1, 0x44, 0x6f, 0x61, 0xf9, + 0xc9, 0xdd, 0x59, 0xee, 0x9a, 0x92, 0xbd, 0xad, 0x93, 0x8e, 0x35, 0x23, 0x46, 0x15, 0x8c, 0x5f, + 0xb5, 0xed, 0x79, 0x59, 0x1c, 0xa2, 0xd7, 0x3f, 0xf6, 0xa0, 0x68, 0x12, 0x27, 0xdc, 0xfa, 0x5e, + 0x7d, 0x7f, 0x94, 0x99, 0x26, 0x0b, 0x4e, 0x0b, 0x0a, 0x5a, 0x6a, 0x74, 0xf9, 0x56, 0xb9, 0x55, + 0xe0, 0x4d, 0x3c, 0xfa, 0x47, 0x2f, 0xfb, 0x78, 0xa8, 0x33, 0xfd, 0xfc, 0x1f, 0x00, 0x00, 0xff, + 0xff, 0x52, 0x75, 0xca, 0xb1, 0x60, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1/cloud_speech.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1/cloud_speech.pb.go index 0140ecf69..76471c538 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1/cloud_speech.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1/cloud_speech.pb.go @@ -8,6 +8,7 @@ import fmt "fmt" import math "math" import _ "github.com/golang/protobuf/ptypes/any" import duration "github.com/golang/protobuf/ptypes/duration" +import _ "github.com/golang/protobuf/ptypes/empty" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import longrunning "google.golang.org/genproto/googleapis/longrunning" @@ -29,24 +30,34 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -// Audio encoding of the data sent in the audio message. All encodings support -// only 1 channel (mono) audio. Only `FLAC` and `WAV` include a header that -// describes the bytes of audio that follow the header. The other encodings -// are raw audio bytes with no header. +// The encoding of the audio data sent in the request. +// +// All encodings support only 1 channel (mono) audio. // // For best results, the audio source should be captured and transmitted using -// a lossless encoding (`FLAC` or `LINEAR16`). Recognition accuracy may be -// reduced if lossy codecs, which include the other codecs listed in -// this section, are used to capture or transmit the audio, particularly if -// background noise is present. +// a lossless encoding (`FLAC` or `LINEAR16`). The accuracy of the speech +// recognition can be reduced if lossy codecs are used to capture or transmit +// audio, particularly if background noise is present. Lossy codecs include +// `MULAW`, `AMR`, `AMR_WB`, `OGG_OPUS`, and `SPEEX_WITH_HEADER_BYTE`. +// +// The `FLAC` and `WAV` audio file formats include a header that describes the +// included audio content. You can request recognition for `WAV` files that +// contain either `LINEAR16` or `MULAW` encoded audio. +// If you send `FLAC` or `WAV` audio file format in +// your request, you do not need to specify an `AudioEncoding`; the audio +// encoding format is determined from the file header. If you specify +// an `AudioEncoding` when you send send `FLAC` or `WAV` audio, the +// encoding configuration must match the encoding described in the audio +// header; otherwise the request returns an +// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error code. type RecognitionConfig_AudioEncoding int32 const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. + // Not specified. RecognitionConfig_ENCODING_UNSPECIFIED RecognitionConfig_AudioEncoding = 0 // Uncompressed 16-bit signed little-endian samples (Linear PCM). RecognitionConfig_LINEAR16 RecognitionConfig_AudioEncoding = 1 - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio + // `FLAC` (Free Lossless Audio // Codec) is the recommended encoding because it is // lossless--therefore recognition is not compromised--and // requires only about half the bandwidth of `LINEAR16`. `FLAC` stream @@ -61,7 +72,7 @@ const ( RecognitionConfig_AMR_WB RecognitionConfig_AudioEncoding = 5 // Opus encoded audio frames in Ogg container // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. + // `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000. RecognitionConfig_OGG_OPUS RecognitionConfig_AudioEncoding = 6 // Although the use of lossy encodings is not recommended, if a very low // bitrate encoding is required, `OGG_OPUS` is highly preferred over @@ -104,7 +115,7 @@ func (x RecognitionConfig_AudioEncoding) String() string { return proto.EnumName(RecognitionConfig_AudioEncoding_name, int32(x)) } func (RecognitionConfig_AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{4, 0} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{4, 0} } // Indicates the type of speech event. @@ -136,7 +147,7 @@ func (x StreamingRecognizeResponse_SpeechEventType) String() string { return proto.EnumName(StreamingRecognizeResponse_SpeechEventType_name, int32(x)) } func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{10, 0} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{10, 0} } // The top-level message sent by the client for the `Recognize` method. @@ -155,7 +166,7 @@ func (m *RecognizeRequest) Reset() { *m = RecognizeRequest{} } func (m *RecognizeRequest) String() string { return proto.CompactTextString(m) } func (*RecognizeRequest) ProtoMessage() {} func (*RecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{0} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{0} } func (m *RecognizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognizeRequest.Unmarshal(m, b) @@ -206,7 +217,7 @@ func (m *LongRunningRecognizeRequest) Reset() { *m = LongRunningRecogniz func (m *LongRunningRecognizeRequest) String() string { return proto.CompactTextString(m) } func (*LongRunningRecognizeRequest) ProtoMessage() {} func (*LongRunningRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{1} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{1} } func (m *LongRunningRecognizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LongRunningRecognizeRequest.Unmarshal(m, b) @@ -261,7 +272,7 @@ func (m *StreamingRecognizeRequest) Reset() { *m = StreamingRecognizeReq func (m *StreamingRecognizeRequest) String() string { return proto.CompactTextString(m) } func (*StreamingRecognizeRequest) ProtoMessage() {} func (*StreamingRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{2} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{2} } func (m *StreamingRecognizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognizeRequest.Unmarshal(m, b) @@ -288,12 +299,14 @@ type isStreamingRecognizeRequest_StreamingRequest interface { type StreamingRecognizeRequest_StreamingConfig struct { StreamingConfig *StreamingRecognitionConfig `protobuf:"bytes,1,opt,name=streaming_config,json=streamingConfig,proto3,oneof"` } + type StreamingRecognizeRequest_AudioContent struct { AudioContent []byte `protobuf:"bytes,2,opt,name=audio_content,json=audioContent,proto3,oneof"` } func (*StreamingRecognizeRequest_StreamingConfig) isStreamingRecognizeRequest_StreamingRequest() {} -func (*StreamingRecognizeRequest_AudioContent) isStreamingRecognizeRequest_StreamingRequest() {} + +func (*StreamingRecognizeRequest_AudioContent) isStreamingRecognizeRequest_StreamingRequest() {} func (m *StreamingRecognizeRequest) GetStreamingRequest() isStreamingRecognizeRequest_StreamingRequest { if m != nil { @@ -418,7 +431,7 @@ func (m *StreamingRecognitionConfig) Reset() { *m = StreamingRecognition func (m *StreamingRecognitionConfig) String() string { return proto.CompactTextString(m) } func (*StreamingRecognitionConfig) ProtoMessage() {} func (*StreamingRecognitionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{3} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{3} } func (m *StreamingRecognitionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognitionConfig.Unmarshal(m, b) @@ -462,18 +475,22 @@ func (m *StreamingRecognitionConfig) GetInterimResults() bool { // Provides information to the recognizer that specifies how to process the // request. type RecognitionConfig struct { - // *Required* Encoding of audio data sent in all `RecognitionAudio` messages. + // Encoding of audio data sent in all `RecognitionAudio` messages. + // This field is optional for `FLAC` and `WAV` audio files and required + // for all other audio formats. For details, see [AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding]. Encoding RecognitionConfig_AudioEncoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.cloud.speech.v1.RecognitionConfig_AudioEncoding" json:"encoding,omitempty"` - // *Required* Sample rate in Hertz of the audio data sent in all + // Sample rate in Hertz of the audio data sent in all // `RecognitionAudio` messages. Valid values are: 8000-48000. // 16000 is optimal. For best results, set the sampling rate of the audio // source to 16000 Hz. If that's not possible, use the native sample rate of // the audio source (instead of re-sampling). + // This field is optional for `FLAC` and `WAV` audio files and required + // for all other audio formats. For details, see [AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding]. SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // *Required* The language of the supplied audio as a // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. // Example: "en-US". - // See [Language Support](https://cloud.google.com/speech/docs/languages) + // See [Language Support](/speech-to-text/docs/languages) // for a list of the currently supported language codes. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // *Optional* Maximum number of recognition hypotheses to be returned. @@ -488,23 +505,78 @@ type RecognitionConfig struct { // with asterisks, e.g. "f***". If set to `false` or omitted, profanities // won't be filtered out. ProfanityFilter bool `protobuf:"varint,5,opt,name=profanity_filter,json=profanityFilter,proto3" json:"profanity_filter,omitempty"` - // *Optional* A means to provide context to assist the speech recognition. + // *Optional* array of [SpeechContext][google.cloud.speech.v1.SpeechContext]. + // A means to provide context to assist the speech recognition. For more + // information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints). SpeechContexts []*SpeechContext `protobuf:"bytes,6,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` // *Optional* If `true`, the top result includes a list of words and // the start and end time offsets (timestamps) for those words. If // `false`, no word-level time offset information is returned. The default is // `false`. - EnableWordTimeOffsets bool `protobuf:"varint,8,opt,name=enable_word_time_offsets,json=enableWordTimeOffsets,proto3" json:"enable_word_time_offsets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EnableWordTimeOffsets bool `protobuf:"varint,8,opt,name=enable_word_time_offsets,json=enableWordTimeOffsets,proto3" json:"enable_word_time_offsets,omitempty"` + // *Optional* If 'true', adds punctuation to recognition result hypotheses. + // This feature is only available in select languages. Setting this for + // requests in other languages has no effect at all. + // The default 'false' value does not add punctuation to result hypotheses. + // Note: This is currently offered as an experimental service, complimentary + // to all users. In the future this may be exclusively available as a + // premium feature. + EnableAutomaticPunctuation bool `protobuf:"varint,11,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation,proto3" json:"enable_automatic_punctuation,omitempty"` + // *Optional* Which model to select for the given request. Select the model + // best suited to your domain to get best results. If a model is not + // explicitly specified, then we auto-select a model based on the parameters + // in the RecognitionConfig. + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + //
ModelDescription
command_and_searchBest for short queries such as voice commands or voice search.
phone_callBest for audio that originated from a phone call (typically + // recorded at an 8khz sampling rate).
videoBest for audio that originated from from video or includes multiple + // speakers. Ideally the audio is recorded at a 16khz or greater + // sampling rate. This is a premium model that costs more than the + // standard rate.
defaultBest for audio that is not one of the specific audio models. + // For example, long-form audio. Ideally the audio is high-fidelity, + // recorded at a 16khz or greater sampling rate.
+ Model string `protobuf:"bytes,13,opt,name=model,proto3" json:"model,omitempty"` + // *Optional* Set to true to use an enhanced model for speech recognition. + // You must also set the `model` field to a valid, enhanced model. If + // `use_enhanced` is set to true and the `model` field is not set, then + // `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced + // version of the specified model does not exist, then the speech is + // recognized using the standard version of the specified model. + // + // Enhanced speech models require that you opt-in to data logging using + // instructions in the [documentation](/speech-to-text/enable-data-logging). + // If you set `use_enhanced` to true and you have not enabled audio logging, + // then you will receive an error. + UseEnhanced bool `protobuf:"varint,14,opt,name=use_enhanced,json=useEnhanced,proto3" json:"use_enhanced,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *RecognitionConfig) Reset() { *m = RecognitionConfig{} } func (m *RecognitionConfig) String() string { return proto.CompactTextString(m) } func (*RecognitionConfig) ProtoMessage() {} func (*RecognitionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{4} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{4} } func (m *RecognitionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognitionConfig.Unmarshal(m, b) @@ -573,6 +645,27 @@ func (m *RecognitionConfig) GetEnableWordTimeOffsets() bool { return false } +func (m *RecognitionConfig) GetEnableAutomaticPunctuation() bool { + if m != nil { + return m.EnableAutomaticPunctuation + } + return false +} + +func (m *RecognitionConfig) GetModel() string { + if m != nil { + return m.Model + } + return "" +} + +func (m *RecognitionConfig) GetUseEnhanced() bool { + if m != nil { + return m.UseEnhanced + } + return false +} + // Provides "hints" to the speech recognizer to favor specific words and phrases // in the results. type SpeechContext struct { @@ -581,7 +674,7 @@ type SpeechContext struct { // to improve the accuracy for specific words and phrases, for example, if // specific commands are typically spoken by the user. This can also be used // to add additional words to the vocabulary of the recognizer. See - // [usage limits](https://cloud.google.com/speech/limits#content). + // [usage limits](/speech-to-text/quotas#content). Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -592,7 +685,7 @@ func (m *SpeechContext) Reset() { *m = SpeechContext{} } func (m *SpeechContext) String() string { return proto.CompactTextString(m) } func (*SpeechContext) ProtoMessage() {} func (*SpeechContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{5} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{5} } func (m *SpeechContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechContext.Unmarshal(m, b) @@ -622,7 +715,7 @@ func (m *SpeechContext) GetPhrases() []string { // Contains audio data in the encoding specified in the `RecognitionConfig`. // Either `content` or `uri` must be supplied. Supplying both or neither // returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See -// [audio limits](https://cloud.google.com/speech/limits#content). +// [content limits](/speech-to-text/quotas#content). type RecognitionAudio struct { // The audio source, which is either inline content or a Google Cloud // Storage uri. @@ -640,7 +733,7 @@ func (m *RecognitionAudio) Reset() { *m = RecognitionAudio{} } func (m *RecognitionAudio) String() string { return proto.CompactTextString(m) } func (*RecognitionAudio) ProtoMessage() {} func (*RecognitionAudio) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{6} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{6} } func (m *RecognitionAudio) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognitionAudio.Unmarshal(m, b) @@ -667,12 +760,14 @@ type isRecognitionAudio_AudioSource interface { type RecognitionAudio_Content struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3,oneof"` } + type RecognitionAudio_Uri struct { Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` } func (*RecognitionAudio_Content) isRecognitionAudio_AudioSource() {} -func (*RecognitionAudio_Uri) isRecognitionAudio_AudioSource() {} + +func (*RecognitionAudio_Uri) isRecognitionAudio_AudioSource() {} func (m *RecognitionAudio) GetAudioSource() isRecognitionAudio_AudioSource { if m != nil { @@ -765,7 +860,7 @@ func _RecognitionAudio_OneofSizer(msg proto.Message) (n int) { // contains the result as zero or more sequential `SpeechRecognitionResult` // messages. type RecognizeResponse struct { - // *Output-only* Sequential list of transcription results corresponding to + // Output only. Sequential list of transcription results corresponding to // sequential portions of audio. Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -777,7 +872,7 @@ func (m *RecognizeResponse) Reset() { *m = RecognizeResponse{} } func (m *RecognizeResponse) String() string { return proto.CompactTextString(m) } func (*RecognizeResponse) ProtoMessage() {} func (*RecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{7} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{7} } func (m *RecognizeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognizeResponse.Unmarshal(m, b) @@ -810,7 +905,7 @@ func (m *RecognizeResponse) GetResults() []*SpeechRecognitionResult { // returned by the `GetOperation` call of the `google::longrunning::Operations` // service. type LongRunningRecognizeResponse struct { - // *Output-only* Sequential list of transcription results corresponding to + // Output only. Sequential list of transcription results corresponding to // sequential portions of audio. Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -822,7 +917,7 @@ func (m *LongRunningRecognizeResponse) Reset() { *m = LongRunningRecogni func (m *LongRunningRecognizeResponse) String() string { return proto.CompactTextString(m) } func (*LongRunningRecognizeResponse) ProtoMessage() {} func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{8} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{8} } func (m *LongRunningRecognizeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LongRunningRecognizeResponse.Unmarshal(m, b) @@ -869,7 +964,7 @@ func (m *LongRunningRecognizeMetadata) Reset() { *m = LongRunningRecogni func (m *LongRunningRecognizeMetadata) String() string { return proto.CompactTextString(m) } func (*LongRunningRecognizeMetadata) ProtoMessage() {} func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{9} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{9} } func (m *LongRunningRecognizeMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LongRunningRecognizeMetadata.Unmarshal(m, b) @@ -960,15 +1055,15 @@ func (m *LongRunningRecognizeMetadata) GetLastUpdateTime() *timestamp.Timestamp // `speech_event_type`, or // one or more (repeated) `results`. type StreamingRecognizeResponse struct { - // *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that + // Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that // specifies the error for the operation. Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - // *Output-only* This repeated list contains zero or more results that + // Output only. This repeated list contains zero or more results that // correspond to consecutive portions of the audio currently being processed. - // It contains zero or more `is_final=false` results followed by zero or one - // `is_final=true` result (the newly settled portion). + // It contains zero or one `is_final=true` result (the newly settled portion), + // followed by zero or more `is_final=false` results (the interim results). Results []*StreamingRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - // *Output-only* Indicates the type of speech event. + // Output only. Indicates the type of speech event. SpeechEventType StreamingRecognizeResponse_SpeechEventType `protobuf:"varint,4,opt,name=speech_event_type,json=speechEventType,proto3,enum=google.cloud.speech.v1.StreamingRecognizeResponse_SpeechEventType" json:"speech_event_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -979,7 +1074,7 @@ func (m *StreamingRecognizeResponse) Reset() { *m = StreamingRecognizeRe func (m *StreamingRecognizeResponse) String() string { return proto.CompactTextString(m) } func (*StreamingRecognizeResponse) ProtoMessage() {} func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{10} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{10} } func (m *StreamingRecognizeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognizeResponse.Unmarshal(m, b) @@ -1023,16 +1118,18 @@ func (m *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResp // A streaming speech recognition result corresponding to a portion of the audio // that is currently being processed. type StreamingRecognitionResult struct { - // *Output-only* May contain one or more recognition hypotheses (up to the + // Output only. May contain one or more recognition hypotheses (up to the // maximum specified in `max_alternatives`). + // These alternatives are ordered in terms of accuracy, with the top (first) + // alternative being the most probable, as ranked by the recognizer. Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"` - // *Output-only* If `false`, this `StreamingRecognitionResult` represents an + // Output only. If `false`, this `StreamingRecognitionResult` represents an // interim result that may change. If `true`, this is the final time the // speech service will return this particular `StreamingRecognitionResult`, // the recognizer will not return any further hypotheses for this portion of // the transcript and corresponding audio. IsFinal bool `protobuf:"varint,2,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` - // *Output-only* An estimate of the likelihood that the recognizer will not + // Output only. An estimate of the likelihood that the recognizer will not // change its guess about this interim result. Values range from 0.0 // (completely unstable) to 1.0 (completely stable). // This field is only provided for interim results (`is_final=false`). @@ -1047,7 +1144,7 @@ func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognition func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } func (*StreamingRecognitionResult) ProtoMessage() {} func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{11} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{11} } func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) @@ -1090,7 +1187,7 @@ func (m *StreamingRecognitionResult) GetStability() float32 { // A speech recognition result corresponding to a portion of the audio. type SpeechRecognitionResult struct { - // *Output-only* May contain one or more recognition hypotheses (up to the + // Output only. May contain one or more recognition hypotheses (up to the // maximum specified in `max_alternatives`). // These alternatives are ordered in terms of accuracy, with the top (first) // alternative being the most probable, as ranked by the recognizer. @@ -1104,7 +1201,7 @@ func (m *SpeechRecognitionResult) Reset() { *m = SpeechRecognitionResult func (m *SpeechRecognitionResult) String() string { return proto.CompactTextString(m) } func (*SpeechRecognitionResult) ProtoMessage() {} func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{12} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{12} } func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b) @@ -1133,16 +1230,17 @@ func (m *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternat // Alternative hypotheses (a.k.a. n-best list). type SpeechRecognitionAlternative struct { - // *Output-only* Transcript text representing the words that the user spoke. + // Output only. Transcript text representing the words that the user spoke. Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"` - // *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + // Output only. The confidence estimate between 0.0 and 1.0. A higher number // indicates an estimated greater likelihood that the recognized words are - // correct. This field is typically provided only for the top hypothesis, and - // only for `is_final=true` results. Clients should not rely on the - // `confidence` field as it is not guaranteed to be accurate or consistent. + // correct. This field is set only for the top alternative of a non-streaming + // result or, of a streaming result where `is_final=true`. + // This field is not guaranteed to be accurate and users should not rely on it + // to be always provided. // The default of 0.0 is a sentinel value indicating `confidence` was not set. Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // *Output-only* A list of word-specific information for each recognized word. + // Output only. A list of word-specific information for each recognized word. Words []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1153,7 +1251,7 @@ func (m *SpeechRecognitionAlternative) Reset() { *m = SpeechRecognitionA func (m *SpeechRecognitionAlternative) String() string { return proto.CompactTextString(m) } func (*SpeechRecognitionAlternative) ProtoMessage() {} func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{13} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{13} } func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechRecognitionAlternative.Unmarshal(m, b) @@ -1194,25 +1292,23 @@ func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo { return nil } -// Word-specific information for recognized words. Word information is only -// included in the response when certain request parameters are set, such -// as `enable_word_time_offsets`. +// Word-specific information for recognized words. type WordInfo struct { - // *Output-only* Time offset relative to the beginning of the audio, + // Output only. Time offset relative to the beginning of the audio, // and corresponding to the start of the spoken word. // This field is only set if `enable_word_time_offsets=true` and only // in the top hypothesis. // This is an experimental feature and the accuracy of the time offset can // vary. StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // *Output-only* Time offset relative to the beginning of the audio, + // Output only. Time offset relative to the beginning of the audio, // and corresponding to the end of the spoken word. // This field is only set if `enable_word_time_offsets=true` and only // in the top hypothesis. // This is an experimental feature and the accuracy of the time offset can // vary. EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // *Output-only* The word corresponding to this set of information. + // Output only. The word corresponding to this set of information. Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1223,7 +1319,7 @@ func (m *WordInfo) Reset() { *m = WordInfo{} } func (m *WordInfo) String() string { return proto.CompactTextString(m) } func (*WordInfo) ProtoMessage() {} func (*WordInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c6e5e8f29032b35d, []int{14} + return fileDescriptor_cloud_speech_e29a84bc29d9b679, []int{14} } func (m *WordInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WordInfo.Unmarshal(m, b) @@ -1472,92 +1568,96 @@ var _Speech_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/speech/v1/cloud_speech.proto", fileDescriptor_cloud_speech_c6e5e8f29032b35d) -} - -var fileDescriptor_cloud_speech_c6e5e8f29032b35d = []byte{ - // 1318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0x45, - 0x18, 0xce, 0xc6, 0x71, 0x3e, 0xde, 0xe6, 0xc3, 0x19, 0x4a, 0xeb, 0xb8, 0xa1, 0x8d, 0xb6, 0x54, - 0x24, 0x3d, 0xd8, 0x24, 0xad, 0x5a, 0x28, 0x08, 0xc9, 0x71, 0x36, 0x89, 0x25, 0xc7, 0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4, 0x12, 0x65, 0xe1, 0xba, 0x57, 0x2d, 0xed, 0x6f, 0x95, 0xab, 0x3b, 0xe4, 0xb0, 0x5a, - 0x3b, 0xf0, 0x4a, 0xe5, 0xed, 0xb2, 0xb7, 0x95, 0x19, 0x43, 0xb3, 0x30, 0x5d, 0x29, 0x57, 0xbd, - 0x22, 0x5e, 0x7f, 0x94, 0x71, 0xd0, 0x34, 0x4c, 0x6c, 0x57, 0x8a, 0xa5, 0xcc, 0x38, 0x9a, 0x81, - 0xf4, 0xde, 0x61, 0xa5, 0x78, 0x94, 0x49, 0xa1, 0x29, 0x48, 0x15, 0xf7, 0x70, 0x66, 0x02, 0x01, - 0x4c, 0x16, 0xf7, 0x30, 0x39, 0xda, 0xcc, 0xa4, 0xb5, 0xdd, 0xfe, 0xce, 0x0e, 0xd9, 0x3f, 0x38, - 0xac, 0x65, 0x26, 0x51, 0x0e, 0x6e, 0xd4, 0x0e, 0x3c, 0xef, 0x29, 0x39, 0x2a, 0xd7, 0x77, 0xc9, - 0xae, 0x57, 0xdc, 0xf2, 0x30, 0xd9, 0xfc, 0xa2, 0xee, 0x65, 0xa6, 0xdc, 0x35, 0x98, 0x1b, 0x38, - 0x27, 0xca, 0xc2, 0x54, 0xf4, 0x4c, 0x50, 0xc9, 0x64, 0xd6, 0x59, 0x49, 0xad, 0xce, 0xe0, 0x64, - 0xe9, 0xe2, 0x5e, 0xfb, 0xeb, 0xd5, 0x37, 0xca, 0xc1, 0x54, 0x52, 0x53, 0x4e, 0x5c, 0x53, 0x09, - 0x80, 0x10, 0xa4, 0xba, 0x22, 0x30, 0xa9, 0x30, 0xb3, 0x3b, 0x86, 0xf5, 0x62, 0x73, 0x1e, 0x6c, - 0xc9, 0x11, 0x19, 0x76, 0x45, 0x83, 0xb9, 0x5f, 0xf5, 0xd2, 0x54, 0xb7, 0x03, 0x19, 0x85, 0x5c, - 0x32, 0x54, 0x86, 0xa9, 0x24, 0xbb, 0xc7, 0xcd, 0x15, 0x15, 0x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 0x88, 0x27, 0xa6, 0xf9, 0xde, 0x78, 0x95, 0x82, 0x49, 0x1b, - 0x29, 0xf4, 0x9d, 0x03, 0x33, 0xbd, 0x04, 0x47, 0xaf, 0x7b, 0xa0, 0xf5, 0xde, 0x5e, 0xb9, 0xb5, - 0x2b, 0x68, 0xda, 0x6a, 0x71, 0xef, 0x7c, 0xff, 0xd7, 0xdf, 0x3f, 0x8d, 0x2f, 0xb9, 0xd7, 0xf5, - 0x7b, 0xdf, 0x2a, 0x3e, 0x11, 0x89, 0xd6, 0x13, 0xe7, 0x3e, 0x7a, 0xe9, 0xc0, 0xf5, 0x8b, 0x3a, - 0x20, 0x7a, 0x30, 0x6a, 0x93, 0x4b, 0x9e, 0xad, 0xb9, 0xf7, 0x12, 0xa3, 0xbe, 0x3f, 0x81, 0xfc, - 0x7e, 0xf2, 0x27, 0xe0, 0xde, 0x37, 0x6c, 0xde, 0x77, 0xef, 0xf4, 0xb1, 0xe9, 0xd3, 0x1c, 0x20, - 0xf6, 0x2d, 0xa0, 0xf3, 0x5d, 0x00, 0xad, 0xbf, 0x49, 0xc7, 0xb0, 0x9c, 0x36, 0xde, 0xbc, 0xc9, - 0xac, 0x3a, 0x1f, 0x3a, 0x9b, 0x6d, 0xc8, 0x35, 0xc2, 0xce, 0x08, 0xe3, 0xcd, 0x6b, 0xf6, 0x0e, - 0x0f, 0xf4, 0xe5, 0x1f, 0x38, 0x5f, 0x7e, 0x1a, 0xab, 0xf9, 0xa1, 0x7e, 0x16, 0xe5, 0x43, 0xe1, - 0x17, 0x7c, 0xc6, 0x4d, 0x6a, 0x14, 0xac, 0x88, 0x46, 0x81, 0x1c, 0xfe, 0x03, 0xfb, 0xc4, 0x7e, - 0xfd, 0xe3, 0x38, 0xc7, 0x93, 0x46, 0xf7, 0xc1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x52, 0x28, - 0xae, 0xd1, 0xac, 0x0d, 0x00, 0x00, + proto.RegisterFile("google/cloud/speech/v1/cloud_speech.proto", fileDescriptor_cloud_speech_e29a84bc29d9b679) +} + +var fileDescriptor_cloud_speech_e29a84bc29d9b679 = []byte{ + // 1392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x73, 0xdb, 0x44, + 0x14, 0x8f, 0xe2, 0x38, 0x7f, 0x5e, 0xfe, 0x39, 0x4b, 0x68, 0x15, 0x37, 0xb4, 0x41, 0xa5, 0x43, + 0xd2, 0x83, 0x4d, 0xd2, 0x4e, 0x0b, 0x85, 0x61, 0x70, 0x1c, 0x25, 0xf1, 0x4c, 0xe2, 0x64, 0x36, + 0x0e, 0x29, 0x1c, 0xd8, 0xd9, 0xc8, 0x6b, 0x47, 0x33, 0xf6, 0x4a, 0x68, 0x57, 0xa1, 0xe9, 0xad, + 0x5c, 0x99, 0xe1, 0xc2, 0xd0, 0x33, 0x1c, 0x39, 0x71, 0xe0, 0xc2, 0x67, 0xe0, 0x08, 0x5f, 0x81, + 0x0f, 0xc1, 0x91, 0xd9, 0x5d, 0xc9, 0xb1, 0x9d, 0x38, 0x4d, 0x67, 0xca, 0x0c, 0x37, 0xed, 0xef, + 0xfd, 0xde, 0xd3, 0x4f, 0x4f, 0xef, 0x8f, 0x04, 0x2b, 0xcd, 0x20, 0x68, 0xb6, 0x58, 0xd1, 0x6b, + 0x05, 0x71, 0xbd, 0x28, 0x42, 0xc6, 0xbc, 0x93, 0xe2, 0xe9, 0xaa, 0x39, 0x13, 0x73, 0x2e, 0x84, + 0x51, 0x20, 0x03, 0x74, 0xc3, 0x50, 0x0b, 0xda, 0x54, 0x48, 0x4c, 0xa7, 0xab, 0xf9, 0xc5, 0x24, + 0x04, 0x0d, 0xfd, 0x22, 0xe5, 0x3c, 0x90, 0x54, 0xfa, 0x01, 0x17, 0xc6, 0x2b, 0x7f, 0x37, 0xb1, + 0xb6, 0x02, 0xde, 0x8c, 0x62, 0xce, 0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0x4f, 0xa2, 0x94, 0xf5, 0xc4, + 0xba, 0x8f, 0x5e, 0x5a, 0x30, 0x7f, 0xd9, 0x04, 0x44, 0x0f, 0x06, 0xdd, 0xe4, 0x8a, 0x2f, 0xe6, + 0xfc, 0x3b, 0xa9, 0x53, 0xd7, 0x1f, 0x4a, 0x61, 0x2f, 0xfd, 0x43, 0x71, 0xee, 0x6b, 0x35, 0xef, + 0x39, 0x77, 0xba, 0xd4, 0x74, 0x31, 0x7b, 0x84, 0xbd, 0xb0, 0x00, 0x5d, 0x1c, 0x03, 0x68, 0xf5, + 0x75, 0x46, 0x86, 0x11, 0xb5, 0xf6, 0xfa, 0x53, 0xc6, 0x19, 0x5a, 0xb6, 0x3e, 0xb0, 0xd6, 0x5b, + 0x90, 0xf7, 0x82, 0xf6, 0x00, 0xf7, 0xf5, 0x49, 0xf3, 0x1a, 0xf7, 0xd5, 0xfb, 0xdf, 0xb7, 0xbe, + 0xfc, 0x24, 0xa1, 0x35, 0x03, 0xf5, 0x51, 0x56, 0x08, 0xa2, 0x66, 0xb1, 0xc9, 0xb8, 0xae, 0x8e, + 0xa2, 0x31, 0xd1, 0xd0, 0x17, 0xfd, 0x3f, 0x87, 0x1f, 0x9b, 0xab, 0x7f, 0x2c, 0xeb, 0x78, 0x54, + 0x73, 0x1f, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x85, 0xf1, 0x69, 0x47, 0x0e, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go index ed0723d41..e2101b0c8 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go @@ -8,6 +8,7 @@ import fmt "fmt" import math "math" import _ "github.com/golang/protobuf/ptypes/any" import duration "github.com/golang/protobuf/ptypes/duration" +import _ "github.com/golang/protobuf/ptypes/empty" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import longrunning "google.golang.org/genproto/googleapis/longrunning" @@ -114,7 +115,7 @@ func (x RecognitionConfig_AudioEncoding) String() string { return proto.EnumName(RecognitionConfig_AudioEncoding_name, int32(x)) } func (RecognitionConfig_AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{4, 0} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{4, 0} } // Use case categories that the audio recognition request can be described @@ -176,7 +177,7 @@ func (x RecognitionMetadata_InteractionType) String() string { return proto.EnumName(RecognitionMetadata_InteractionType_name, int32(x)) } func (RecognitionMetadata_InteractionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{5, 0} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{5, 0} } // Enumerates the types of capture settings describing an audio file. @@ -212,7 +213,7 @@ func (x RecognitionMetadata_MicrophoneDistance) String() string { return proto.EnumName(RecognitionMetadata_MicrophoneDistance_name, int32(x)) } func (RecognitionMetadata_MicrophoneDistance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{5, 1} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{5, 1} } // The original media the speech was recorded on. @@ -234,15 +235,15 @@ var RecognitionMetadata_OriginalMediaType_name = map[int32]string{ } var RecognitionMetadata_OriginalMediaType_value = map[string]int32{ "ORIGINAL_MEDIA_TYPE_UNSPECIFIED": 0, - "AUDIO": 1, - "VIDEO": 2, + "AUDIO": 1, + "VIDEO": 2, } func (x RecognitionMetadata_OriginalMediaType) String() string { return proto.EnumName(RecognitionMetadata_OriginalMediaType_name, int32(x)) } func (RecognitionMetadata_OriginalMediaType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{5, 2} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{5, 2} } // The type of device the speech was recorded with. @@ -288,7 +289,7 @@ func (x RecognitionMetadata_RecordingDeviceType) String() string { return proto.EnumName(RecognitionMetadata_RecordingDeviceType_name, int32(x)) } func (RecognitionMetadata_RecordingDeviceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{5, 3} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{5, 3} } // Indicates the type of speech event. @@ -320,7 +321,7 @@ func (x StreamingRecognizeResponse_SpeechEventType) String() string { return proto.EnumName(StreamingRecognizeResponse_SpeechEventType_name, int32(x)) } func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{11, 0} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{11, 0} } // The top-level message sent by the client for the `Recognize` method. @@ -339,7 +340,7 @@ func (m *RecognizeRequest) Reset() { *m = RecognizeRequest{} } func (m *RecognizeRequest) String() string { return proto.CompactTextString(m) } func (*RecognizeRequest) ProtoMessage() {} func (*RecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{0} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{0} } func (m *RecognizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognizeRequest.Unmarshal(m, b) @@ -390,7 +391,7 @@ func (m *LongRunningRecognizeRequest) Reset() { *m = LongRunningRecogniz func (m *LongRunningRecognizeRequest) String() string { return proto.CompactTextString(m) } func (*LongRunningRecognizeRequest) ProtoMessage() {} func (*LongRunningRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{1} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{1} } func (m *LongRunningRecognizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LongRunningRecognizeRequest.Unmarshal(m, b) @@ -445,7 +446,7 @@ func (m *StreamingRecognizeRequest) Reset() { *m = StreamingRecognizeReq func (m *StreamingRecognizeRequest) String() string { return proto.CompactTextString(m) } func (*StreamingRecognizeRequest) ProtoMessage() {} func (*StreamingRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{2} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{2} } func (m *StreamingRecognizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognizeRequest.Unmarshal(m, b) @@ -472,12 +473,14 @@ type isStreamingRecognizeRequest_StreamingRequest interface { type StreamingRecognizeRequest_StreamingConfig struct { StreamingConfig *StreamingRecognitionConfig `protobuf:"bytes,1,opt,name=streaming_config,json=streamingConfig,proto3,oneof"` } + type StreamingRecognizeRequest_AudioContent struct { AudioContent []byte `protobuf:"bytes,2,opt,name=audio_content,json=audioContent,proto3,oneof"` } func (*StreamingRecognizeRequest_StreamingConfig) isStreamingRecognizeRequest_StreamingRequest() {} -func (*StreamingRecognizeRequest_AudioContent) isStreamingRecognizeRequest_StreamingRequest() {} + +func (*StreamingRecognizeRequest_AudioContent) isStreamingRecognizeRequest_StreamingRequest() {} func (m *StreamingRecognizeRequest) GetStreamingRequest() isStreamingRecognizeRequest_StreamingRequest { if m != nil { @@ -602,7 +605,7 @@ func (m *StreamingRecognitionConfig) Reset() { *m = StreamingRecognition func (m *StreamingRecognitionConfig) String() string { return proto.CompactTextString(m) } func (*StreamingRecognitionConfig) ProtoMessage() {} func (*StreamingRecognitionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{3} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{3} } func (m *StreamingRecognitionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognitionConfig.Unmarshal(m, b) @@ -664,33 +667,33 @@ type RecognitionConfig struct { // Valid values for OGG_OPUS are '1'-'254'. // Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. // If `0` or omitted, defaults to one channel (mono). - // NOTE: We only recognize the first channel by default. + // Note: We only recognize the first channel by default. // To perform independent recognition on each channel set - // enable_separate_recognition_per_channel to 'true'. + // `enable_separate_recognition_per_channel` to 'true'. AudioChannelCount int32 `protobuf:"varint,7,opt,name=audio_channel_count,json=audioChannelCount,proto3" json:"audio_channel_count,omitempty"` - // This needs to be set to ‘true’ explicitly and audio_channel_count > 1 + // This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1 // to get each channel recognized separately. The recognition result will - // contain a channel_tag field to state which channel that result belongs to. - // If this is not ‘true’, we will only recognize the first channel. - // NOTE: The request is also billed cumulatively for all channels recognized: - // (audio_channel_count times the audio length) + // contain a `channel_tag` field to state which channel that result belongs + // to. If this is not true, we will only recognize the first channel. The + // request is billed cumulatively for all channels recognized: + // `audio_channel_count` multiplied by the length of the audio. EnableSeparateRecognitionPerChannel bool `protobuf:"varint,12,opt,name=enable_separate_recognition_per_channel,json=enableSeparateRecognitionPerChannel,proto3" json:"enable_separate_recognition_per_channel,omitempty"` // *Required* The language of the supplied audio as a // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. // Example: "en-US". - // See [Language Support](https://cloud.google.com/speech/docs/languages) + // See [Language Support](/speech-to-text/docs/languages) // for a list of the currently supported language codes. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // *Optional* A list of up to 3 additional // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, // listing possible alternative languages of the supplied audio. - // See [Language Support](https://cloud.google.com/speech/docs/languages) + // See [Language Support](/speech-to-text/docs/languages) // for a list of the currently supported language codes. // If alternative languages are listed, recognition result will contain // recognition in the most likely language detected including the main // language_code. The recognition result will include the language tag // of the language detected in the audio. - // NOTE: This feature is only supported for Voice Command and Voice Search + // Note: This feature is only supported for Voice Command and Voice Search // use cases and performance may vary for other use cases (e.g., phone call // transcription). AlternativeLanguageCodes []string `protobuf:"bytes,18,rep,name=alternative_language_codes,json=alternativeLanguageCodes,proto3" json:"alternative_language_codes,omitempty"` @@ -706,7 +709,9 @@ type RecognitionConfig struct { // with asterisks, e.g. "f***". If set to `false` or omitted, profanities // won't be filtered out. ProfanityFilter bool `protobuf:"varint,5,opt,name=profanity_filter,json=profanityFilter,proto3" json:"profanity_filter,omitempty"` - // *Optional* A means to provide context to assist the speech recognition. + // *Optional* array of [SpeechContext][google.cloud.speech.v1p1beta1.SpeechContext]. + // A means to provide context to assist the speech recognition. For more + // information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints). SpeechContexts []*SpeechContext `protobuf:"bytes,6,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` // *Optional* If `true`, the top result includes a list of words and // the start and end time offsets (timestamps) for those words. If @@ -721,17 +726,19 @@ type RecognitionConfig struct { // This feature is only available in select languages. Setting this for // requests in other languages has no effect at all. // The default 'false' value does not add punctuation to result hypotheses. - // NOTE: "This is currently offered as an experimental service, complimentary + // Note: This is currently offered as an experimental service, complimentary // to all users. In the future this may be exclusively available as a - // premium feature." + // premium feature. EnableAutomaticPunctuation bool `protobuf:"varint,11,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation,proto3" json:"enable_automatic_punctuation,omitempty"` // *Optional* If 'true', enables speaker detection for each recognized word in // the top alternative of the recognition result using a speaker_tag provided // in the WordInfo. // Note: When this is true, we send all the words from the beginning of the - // audio for the top alternative in every consecutive responses. + // audio for the top alternative in every consecutive STREAMING responses. // This is done in order to improve our speaker tags as our models learn to // identify the speakers in the conversation over time. + // For non-streaming requests, the diarization results will be provided only + // in the top alternative of the FINAL SpeechRecognitionResult. EnableSpeakerDiarization bool `protobuf:"varint,16,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` // *Optional* // If set, specifies the estimated number of speakers in the conversation. @@ -774,14 +781,18 @@ type RecognitionConfig struct { // Model string `protobuf:"bytes,13,opt,name=model,proto3" json:"model,omitempty"` // *Optional* Set to true to use an enhanced model for speech recognition. - // You must also set the `model` field to a valid, enhanced model. If - // `use_enhanced` is set to true and the `model` field is not set, then - // `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced - // version of the specified model does not exist, then the speech is - // recognized using the standard version of the specified model. + // If `use_enhanced` is set to true and the `model` field is not set, then + // an appropriate enhanced model is chosen if: + // 1. project is eligible for requesting enhanced models + // 2. an enhanced model exists for the audio + // + // If `use_enhanced` is true and an enhanced version of the specified model + // does not exist, then the speech is recognized using the standard version + // of the specified model. // - // Enhanced speech models require that you opt-in to the audio logging using - // instructions in the [alpha documentation](/speech/data-sharing). If you set + // Enhanced speech models require that you opt-in to data logging using + // instructions in the + // [documentation](/speech-to-text/docs/enable-data-logging). If you set // `use_enhanced` to true and you have not enabled audio logging, then you // will receive an error. UseEnhanced bool `protobuf:"varint,14,opt,name=use_enhanced,json=useEnhanced,proto3" json:"use_enhanced,omitempty"` @@ -794,7 +805,7 @@ func (m *RecognitionConfig) Reset() { *m = RecognitionConfig{} } func (m *RecognitionConfig) String() string { return proto.CompactTextString(m) } func (*RecognitionConfig) ProtoMessage() {} func (*RecognitionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{4} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{4} } func (m *RecognitionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognitionConfig.Unmarshal(m, b) @@ -972,7 +983,7 @@ func (m *RecognitionMetadata) Reset() { *m = RecognitionMetadata{} } func (m *RecognitionMetadata) String() string { return proto.CompactTextString(m) } func (*RecognitionMetadata) ProtoMessage() {} func (*RecognitionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{5} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{5} } func (m *RecognitionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognitionMetadata.Unmarshal(m, b) @@ -1063,7 +1074,7 @@ type SpeechContext struct { // to improve the accuracy for specific words and phrases, for example, if // specific commands are typically spoken by the user. This can also be used // to add additional words to the vocabulary of the recognizer. See - // [usage limits](https://cloud.google.com/speech/limits#content). + // [usage limits](/speech-to-text/quotas#content). Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1074,7 +1085,7 @@ func (m *SpeechContext) Reset() { *m = SpeechContext{} } func (m *SpeechContext) String() string { return proto.CompactTextString(m) } func (*SpeechContext) ProtoMessage() {} func (*SpeechContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{6} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{6} } func (m *SpeechContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechContext.Unmarshal(m, b) @@ -1104,7 +1115,7 @@ func (m *SpeechContext) GetPhrases() []string { // Contains audio data in the encoding specified in the `RecognitionConfig`. // Either `content` or `uri` must be supplied. Supplying both or neither // returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See -// [audio limits](https://cloud.google.com/speech/limits#content). +// [content limits](/speech-to-text/quotas#content). type RecognitionAudio struct { // The audio source, which is either inline content or a Google Cloud // Storage uri. @@ -1122,7 +1133,7 @@ func (m *RecognitionAudio) Reset() { *m = RecognitionAudio{} } func (m *RecognitionAudio) String() string { return proto.CompactTextString(m) } func (*RecognitionAudio) ProtoMessage() {} func (*RecognitionAudio) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{7} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{7} } func (m *RecognitionAudio) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognitionAudio.Unmarshal(m, b) @@ -1149,12 +1160,14 @@ type isRecognitionAudio_AudioSource interface { type RecognitionAudio_Content struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3,oneof"` } + type RecognitionAudio_Uri struct { Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` } func (*RecognitionAudio_Content) isRecognitionAudio_AudioSource() {} -func (*RecognitionAudio_Uri) isRecognitionAudio_AudioSource() {} + +func (*RecognitionAudio_Uri) isRecognitionAudio_AudioSource() {} func (m *RecognitionAudio) GetAudioSource() isRecognitionAudio_AudioSource { if m != nil { @@ -1259,7 +1272,7 @@ func (m *RecognizeResponse) Reset() { *m = RecognizeResponse{} } func (m *RecognizeResponse) String() string { return proto.CompactTextString(m) } func (*RecognizeResponse) ProtoMessage() {} func (*RecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{8} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{8} } func (m *RecognizeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecognizeResponse.Unmarshal(m, b) @@ -1304,7 +1317,7 @@ func (m *LongRunningRecognizeResponse) Reset() { *m = LongRunningRecogni func (m *LongRunningRecognizeResponse) String() string { return proto.CompactTextString(m) } func (*LongRunningRecognizeResponse) ProtoMessage() {} func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{9} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{9} } func (m *LongRunningRecognizeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LongRunningRecognizeResponse.Unmarshal(m, b) @@ -1351,7 +1364,7 @@ func (m *LongRunningRecognizeMetadata) Reset() { *m = LongRunningRecogni func (m *LongRunningRecognizeMetadata) String() string { return proto.CompactTextString(m) } func (*LongRunningRecognizeMetadata) ProtoMessage() {} func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{10} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{10} } func (m *LongRunningRecognizeMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LongRunningRecognizeMetadata.Unmarshal(m, b) @@ -1461,7 +1474,7 @@ func (m *StreamingRecognizeResponse) Reset() { *m = StreamingRecognizeRe func (m *StreamingRecognizeResponse) String() string { return proto.CompactTextString(m) } func (*StreamingRecognizeResponse) ProtoMessage() {} func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{11} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{11} } func (m *StreamingRecognizeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognizeResponse.Unmarshal(m, b) @@ -1522,6 +1535,9 @@ type StreamingRecognitionResult struct { // This field is only provided for interim results (`is_final=false`). // The default of 0.0 is a sentinel value indicating `stability` was not set. Stability float32 `protobuf:"fixed32,3,opt,name=stability,proto3" json:"stability,omitempty"` + // Output only. Time offset of the end of this result relative to the + // beginning of the audio. + ResultEndTime *duration.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` // For multi-channel audio, this is the channel number corresponding to the // recognized result for the audio from that channel. // For audio_channel_count = N, its output values can range from '1' to 'N'. @@ -1540,7 +1556,7 @@ func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognition func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } func (*StreamingRecognitionResult) ProtoMessage() {} func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{12} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{12} } func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) @@ -1581,6 +1597,13 @@ func (m *StreamingRecognitionResult) GetStability() float32 { return 0 } +func (m *StreamingRecognitionResult) GetResultEndTime() *duration.Duration { + if m != nil { + return m.ResultEndTime + } + return nil +} + func (m *StreamingRecognitionResult) GetChannelTag() int32 { if m != nil { return m.ChannelTag @@ -1620,7 +1643,7 @@ func (m *SpeechRecognitionResult) Reset() { *m = SpeechRecognitionResult func (m *SpeechRecognitionResult) String() string { return proto.CompactTextString(m) } func (*SpeechRecognitionResult) ProtoMessage() {} func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{13} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{13} } func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b) @@ -1674,7 +1697,7 @@ type SpeechRecognitionAlternative struct { // The default of 0.0 is a sentinel value indicating `confidence` was not set. Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` // Output only. A list of word-specific information for each recognized word. - // Note: When enable_speaker_diarization is true, you will see all the words + // Note: When `enable_speaker_diarization` is true, you will see all the words // from the beginning of the audio. Words []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1686,7 +1709,7 @@ func (m *SpeechRecognitionAlternative) Reset() { *m = SpeechRecognitionA func (m *SpeechRecognitionAlternative) String() string { return proto.CompactTextString(m) } func (*SpeechRecognitionAlternative) ProtoMessage() {} func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{14} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{14} } func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechRecognitionAlternative.Unmarshal(m, b) @@ -1768,7 +1791,7 @@ func (m *WordInfo) Reset() { *m = WordInfo{} } func (m *WordInfo) String() string { return proto.CompactTextString(m) } func (*WordInfo) ProtoMessage() {} func (*WordInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e, []int{15} + return fileDescriptor_cloud_speech_721d8a193d06ee23, []int{15} } func (m *WordInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WordInfo.Unmarshal(m, b) @@ -2036,144 +2059,146 @@ var _Speech_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/speech/v1p1beta1/cloud_speech.proto", fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e) + proto.RegisterFile("google/cloud/speech/v1p1beta1/cloud_speech.proto", fileDescriptor_cloud_speech_721d8a193d06ee23) } -var fileDescriptor_cloud_speech_c8a26b8cfd3b8c8e = []byte{ - // 2147 bytes of a gzipped FileDescriptorProto +var fileDescriptor_cloud_speech_721d8a193d06ee23 = []byte{ + // 2178 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbf, 0x73, 0xdb, 0xc8, - 0xf5, 0x37, 0x48, 0x51, 0x12, 0x9f, 0x7e, 0x41, 0x2b, 0xdf, 0x09, 0x96, 0x75, 0x67, 0x1b, 0x9e, + 0xf5, 0x37, 0x48, 0x51, 0x12, 0x9f, 0x7e, 0x41, 0x2b, 0xdf, 0x89, 0x96, 0x75, 0x67, 0x1b, 0x9e, 0x3b, 0xfb, 0xee, 0x7b, 0x43, 0xd9, 0xfa, 0xde, 0x5c, 0xce, 0xbe, 0xe4, 0x26, 0x14, 0x00, 0x99, - 0x98, 0x21, 0x09, 0xce, 0x92, 0xb2, 0xe3, 0x6b, 0x76, 0x56, 0xc0, 0x92, 0xc2, 0x84, 0x04, 0x10, - 0xfc, 0x70, 0x2c, 0x97, 0x69, 0x33, 0xa9, 0x32, 0x93, 0x2e, 0x55, 0xae, 0xce, 0x1f, 0x90, 0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, 0xe8, 0xf9, 0x81, 0xb4, 0x7a, - 0x7d, 0xff, 0xeb, 0x77, 0xb5, 0xba, 0x21, 0x4e, 0xd9, 0xca, 0xb5, 0xe0, 0xa9, 0x3e, 0xf4, 0x29, - 0x6c, 0x26, 0x74, 0x12, 0x8d, 0x19, 0x89, 0x69, 0xca, 0xc8, 0x09, 0x8b, 0xd3, 0x57, 0xc2, 0x8d, - 0x1a, 0xde, 0x90, 0x04, 0x4c, 0x53, 0xd6, 0xe2, 0x30, 0x6a, 0xc0, 0x56, 0x7e, 0x2c, 0x27, 0x34, - 0x08, 0xd8, 0x98, 0xb8, 0x61, 0x16, 0xa4, 0xda, 0x92, 0xe0, 0xde, 0x94, 0x47, 0x23, 0x29, 0x06, - 0x27, 0xa0, 0x01, 0xdc, 0x63, 0x01, 0x3d, 0x1e, 0x33, 0x92, 0xb0, 0x88, 0x0a, 0xfd, 0xf1, 0x99, - 0x61, 0x24, 0x62, 0x71, 0xa1, 0x49, 0x5b, 0x15, 0xe1, 0xb8, 0x2b, 0xd9, 0xfb, 0x39, 0x77, 0xc9, - 0x8b, 0x1e, 0x8b, 0x73, 0xd5, 0xe8, 0x2e, 0xac, 0x8d, 0x69, 0x30, 0xca, 0xe8, 0x88, 0x11, 0x37, - 0xf4, 0x98, 0x08, 0x65, 0x1d, 0xaf, 0x16, 0xa0, 0x11, 0x7a, 0x0c, 0x7d, 0x1f, 0x76, 0xe8, 0x38, - 0x65, 0x71, 0x40, 0x53, 0xff, 0x05, 0x23, 0xe7, 0x04, 0x12, 0x0d, 0xdd, 0xae, 0xde, 0xaf, 0x63, - 0xad, 0xc4, 0xd1, 0x2e, 0x09, 0x27, 0xfc, 0x68, 0x27, 0xf4, 0x25, 0x29, 0xd1, 0x13, 0x6d, 0x41, - 0xc6, 0x64, 0x42, 0x5f, 0x36, 0x4b, 0x30, 0x67, 0x8d, 0xe2, 0x70, 0x48, 0x03, 0x3f, 0x3d, 0x25, - 0x43, 0x9f, 0x93, 0xb4,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af, 0xe0, 0x8e, 0x1b, 0x4e, 0xde, 0xac, 0xe3, 0x60, 0x45, 0x1e, 0x7e, 0x8f, 0xa7, 0x5d, - 0x4f, 0xf9, 0xc6, 0xc8, 0xb9, 0x47, 0x21, 0xbf, 0x97, 0x8d, 0x30, 0x1e, 0xed, 0x8d, 0x58, 0x20, - 0x92, 0x72, 0x4f, 0x92, 0x68, 0xe4, 0x27, 0xaf, 0xf9, 0x79, 0xfc, 0x95, 0x04, 0xfe, 0xa9, 0x28, - 0xc7, 0x8b, 0x42, 0xe4, 0xff, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xbc, 0xd0, 0x68, 0x6e, - 0x16, 0x00, 0x00, + 0x98, 0x21, 0x09, 0xce, 0x92, 0xb2, 0xe3, 0x6b, 0x76, 0x56, 0xc4, 0x92, 0xc2, 0x84, 0x04, 0x10, + 0x60, 0xe1, 0x58, 0x2e, 0xd3, 0xa6, 0x48, 0x91, 0x99, 0x74, 0xa9, 0x72, 0x75, 0xfe, 0x80, 0x34, + 0x97, 0x26, 0x4d, 0x9a, 0x14, 0xe9, 0x52, 0xa5, 0xc8, 0x7f, 0x90, 0x26, 0x33, 0x69, 0x32, 0xbb, + 0x0b, 0x50, 0x10, 0x29, 0x5b, 0xb6, 0x26, 0x37, 0x93, 0x0e, 0xfb, 0x79, 0x3f, 0xf6, 0xbd, 0xb7, + 0x6f, 0xdf, 0xbe, 0x07, 0x78, 0x30, 0x0a, 0xc3, 0xd1, 0x98, 0xed, 0x0d, 0xc6, 0x61, 0xea, 0xed, + 0x25, 0x11, 0x63, 0x83, 0x93, 0xbd, 0x17, 0x0f, 0xa3, 0x87, 0xc7, 0x8c, 0xd3, 0x87, 0x0a, 0x26, + 0x0a, 0xae, 0x47, 0x71, 0xc8, 0x43, 0xf4, 0x81, 0x92, 0xa8, 0x4b, 0x52, 0x3d, 0x23, 0x4d, 0x25, + 0x76, 0x76, 0x33, 0x85, 0x34, 0xf2, 0xf7, 0x68,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, 0xd7, 0xd0, 0x16, + 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/support/common/common.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/support/common/common.pb.go index 65817f283..1503a4e5d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/support/common/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/support/common/common.pb.go @@ -51,7 +51,7 @@ func (x SupportAccount_State) String() string { return proto.EnumName(SupportAccount_State_name, int32(x)) } func (SupportAccount_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{0, 0} + return fileDescriptor_common_f17357843abc5917, []int{0, 0} } // Pricing model applicable to this support account. @@ -82,7 +82,7 @@ func (x SupportAccount_PricingModel) String() string { return proto.EnumName(SupportAccount_PricingModel_name, int32(x)) } func (SupportAccount_PricingModel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{0, 1} + return fileDescriptor_common_f17357843abc5917, []int{0, 1} } // The case priority with P0 being the most urgent and P4 the least. @@ -116,18 +116,18 @@ var Case_Priority_name = map[int32]string{ } var Case_Priority_value = map[string]int32{ "PRIORITY_UNSPECIFIED": 0, - "P0": 1, - "P1": 2, - "P2": 3, - "P3": 4, - "P4": 5, + "P0": 1, + "P1": 2, + "P2": 3, + "P3": 4, + "P4": 5, } func (x Case_Priority) String() string { return proto.EnumName(Case_Priority_name, int32(x)) } func (Case_Priority) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{1, 0} + return fileDescriptor_common_f17357843abc5917, []int{1, 0} } // The state of a case. @@ -181,7 +181,7 @@ func (x Case_State) String() string { return proto.EnumName(Case_State_name, int32(x)) } func (Case_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{1, 1} + return fileDescriptor_common_f17357843abc5917, []int{1, 1} } // The status of a customer issue. @@ -212,18 +212,18 @@ var CustomerIssue_IssueState_name = map[int32]string{ } var CustomerIssue_IssueState_value = map[string]int32{ "ISSUE_STATE_UNSPECIFIED": 0, - "OPEN": 1, - "IN_PROGRESS": 2, - "FIXED": 3, - "WONT_FIX": 4, - "VERIFIED": 5, + "OPEN": 1, + "IN_PROGRESS": 2, + "FIXED": 3, + "WONT_FIX": 4, + "VERIFIED": 5, } func (x CustomerIssue_IssueState) String() string { return proto.EnumName(CustomerIssue_IssueState_name, int32(x)) } func (CustomerIssue_IssueState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{2, 0} + return fileDescriptor_common_f17357843abc5917, []int{2, 0} } // A role which determines the support resources and features a user might @@ -262,7 +262,7 @@ func (x SupportRole_Role) String() string { return proto.EnumName(SupportRole_Role_name, int32(x)) } func (SupportRole_Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{3, 0} + return fileDescriptor_common_f17357843abc5917, []int{3, 0} } // A Google Cloud Platform account that identifies support eligibility for a @@ -301,7 +301,7 @@ func (m *SupportAccount) Reset() { *m = SupportAccount{} } func (m *SupportAccount) String() string { return proto.CompactTextString(m) } func (*SupportAccount) ProtoMessage() {} func (*SupportAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{0} + return fileDescriptor_common_f17357843abc5917, []int{0} } func (m *SupportAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SupportAccount.Unmarshal(m, b) @@ -432,7 +432,7 @@ func (m *Case) Reset() { *m = Case{} } func (m *Case) String() string { return proto.CompactTextString(m) } func (*Case) ProtoMessage() {} func (*Case) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{1} + return fileDescriptor_common_f17357843abc5917, []int{1} } func (m *Case) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Case.Unmarshal(m, b) @@ -585,7 +585,7 @@ func (m *CustomerIssue) Reset() { *m = CustomerIssue{} } func (m *CustomerIssue) String() string { return proto.CompactTextString(m) } func (*CustomerIssue) ProtoMessage() {} func (*CustomerIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{2} + return fileDescriptor_common_f17357843abc5917, []int{2} } func (m *CustomerIssue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomerIssue.Unmarshal(m, b) @@ -656,7 +656,7 @@ func (m *SupportRole) Reset() { *m = SupportRole{} } func (m *SupportRole) String() string { return proto.CompactTextString(m) } func (*SupportRole) ProtoMessage() {} func (*SupportRole) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{3} + return fileDescriptor_common_f17357843abc5917, []int{3} } func (m *SupportRole) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SupportRole.Unmarshal(m, b) @@ -713,7 +713,7 @@ func (m *Comment) Reset() { *m = Comment{} } func (m *Comment) String() string { return proto.CompactTextString(m) } func (*Comment) ProtoMessage() {} func (*Comment) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{4} + return fileDescriptor_common_f17357843abc5917, []int{4} } func (m *Comment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Comment.Unmarshal(m, b) @@ -777,7 +777,7 @@ func (m *IssueTaxonomy) Reset() { *m = IssueTaxonomy{} } func (m *IssueTaxonomy) String() string { return proto.CompactTextString(m) } func (*IssueTaxonomy) ProtoMessage() {} func (*IssueTaxonomy) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{5} + return fileDescriptor_common_f17357843abc5917, []int{5} } func (m *IssueTaxonomy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IssueTaxonomy.Unmarshal(m, b) @@ -830,7 +830,7 @@ func (m *IssueTaxonomy_Component) Reset() { *m = IssueTaxonomy_Component func (m *IssueTaxonomy_Component) String() string { return proto.CompactTextString(m) } func (*IssueTaxonomy_Component) ProtoMessage() {} func (*IssueTaxonomy_Component) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{5, 0} + return fileDescriptor_common_f17357843abc5917, []int{5, 0} } func (m *IssueTaxonomy_Component) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IssueTaxonomy_Component.Unmarshal(m, b) @@ -894,7 +894,7 @@ func (m *IssueTaxonomy_Category) Reset() { *m = IssueTaxonomy_Category{} func (m *IssueTaxonomy_Category) String() string { return proto.CompactTextString(m) } func (*IssueTaxonomy_Category) ProtoMessage() {} func (*IssueTaxonomy_Category) Descriptor() ([]byte, []int) { - return fileDescriptor_common_41ae5edecd1ea574, []int{5, 1} + return fileDescriptor_common_f17357843abc5917, []int{5, 1} } func (m *IssueTaxonomy_Category) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IssueTaxonomy_Category.Unmarshal(m, b) @@ -948,10 +948,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/support/common.proto", fileDescriptor_common_41ae5edecd1ea574) + proto.RegisterFile("google/cloud/support/common.proto", fileDescriptor_common_f17357843abc5917) } -var fileDescriptor_common_41ae5edecd1ea574 = []byte{ +var fileDescriptor_common_f17357843abc5917 = []byte{ // 1336 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x61, 0x6e, 0xdb, 0xc6, 0x12, 0x0e, 0x29, 0xc9, 0x92, 0x46, 0x96, 0xbd, 0x59, 0x38, 0x79, 0x8c, 0x92, 0xbc, 0x38, 0x7a, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/support/v1alpha1/cloud_support.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/support/v1alpha1/cloud_support.pb.go index bad4ddbc9..764aa538d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/support/v1alpha1/cloud_support.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/support/v1alpha1/cloud_support.pb.go @@ -41,7 +41,7 @@ func (m *GetSupportAccountRequest) Reset() { *m = GetSupportAccountReque func (m *GetSupportAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetSupportAccountRequest) ProtoMessage() {} func (*GetSupportAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{0} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{0} } func (m *GetSupportAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSupportAccountRequest.Unmarshal(m, b) @@ -89,7 +89,7 @@ func (m *ListSupportAccountsRequest) Reset() { *m = ListSupportAccountsR func (m *ListSupportAccountsRequest) String() string { return proto.CompactTextString(m) } func (*ListSupportAccountsRequest) ProtoMessage() {} func (*ListSupportAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{1} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{1} } func (m *ListSupportAccountsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSupportAccountsRequest.Unmarshal(m, b) @@ -147,7 +147,7 @@ func (m *ListSupportAccountsResponse) Reset() { *m = ListSupportAccounts func (m *ListSupportAccountsResponse) String() string { return proto.CompactTextString(m) } func (*ListSupportAccountsResponse) ProtoMessage() {} func (*ListSupportAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{2} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{2} } func (m *ListSupportAccountsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSupportAccountsResponse.Unmarshal(m, b) @@ -195,7 +195,7 @@ func (m *GetCaseRequest) Reset() { *m = GetCaseRequest{} } func (m *GetCaseRequest) String() string { return proto.CompactTextString(m) } func (*GetCaseRequest) ProtoMessage() {} func (*GetCaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{3} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{3} } func (m *GetCaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCaseRequest.Unmarshal(m, b) @@ -244,7 +244,7 @@ func (m *ListCasesRequest) Reset() { *m = ListCasesRequest{} } func (m *ListCasesRequest) String() string { return proto.CompactTextString(m) } func (*ListCasesRequest) ProtoMessage() {} func (*ListCasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{4} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{4} } func (m *ListCasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCasesRequest.Unmarshal(m, b) @@ -309,7 +309,7 @@ func (m *ListCasesResponse) Reset() { *m = ListCasesResponse{} } func (m *ListCasesResponse) String() string { return proto.CompactTextString(m) } func (*ListCasesResponse) ProtoMessage() {} func (*ListCasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{5} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{5} } func (m *ListCasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCasesResponse.Unmarshal(m, b) @@ -356,7 +356,7 @@ func (m *ListCommentsRequest) Reset() { *m = ListCommentsRequest{} } func (m *ListCommentsRequest) String() string { return proto.CompactTextString(m) } func (*ListCommentsRequest) ProtoMessage() {} func (*ListCommentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{6} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{6} } func (m *ListCommentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCommentsRequest.Unmarshal(m, b) @@ -396,7 +396,7 @@ func (m *ListCommentsResponse) Reset() { *m = ListCommentsResponse{} } func (m *ListCommentsResponse) String() string { return proto.CompactTextString(m) } func (*ListCommentsResponse) ProtoMessage() {} func (*ListCommentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{7} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{7} } func (m *ListCommentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCommentsResponse.Unmarshal(m, b) @@ -438,7 +438,7 @@ func (m *CreateCaseRequest) Reset() { *m = CreateCaseRequest{} } func (m *CreateCaseRequest) String() string { return proto.CompactTextString(m) } func (*CreateCaseRequest) ProtoMessage() {} func (*CreateCaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{8} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{8} } func (m *CreateCaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateCaseRequest.Unmarshal(m, b) @@ -488,7 +488,7 @@ func (m *UpdateCaseRequest) Reset() { *m = UpdateCaseRequest{} } func (m *UpdateCaseRequest) String() string { return proto.CompactTextString(m) } func (*UpdateCaseRequest) ProtoMessage() {} func (*UpdateCaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{9} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{9} } func (m *UpdateCaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateCaseRequest.Unmarshal(m, b) @@ -537,7 +537,7 @@ func (m *CreateCommentRequest) Reset() { *m = CreateCommentRequest{} } func (m *CreateCommentRequest) String() string { return proto.CompactTextString(m) } func (*CreateCommentRequest) ProtoMessage() {} func (*CreateCommentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{10} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{10} } func (m *CreateCommentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateCommentRequest.Unmarshal(m, b) @@ -582,7 +582,7 @@ func (m *GetIssueTaxonomyRequest) Reset() { *m = GetIssueTaxonomyRequest func (m *GetIssueTaxonomyRequest) String() string { return proto.CompactTextString(m) } func (*GetIssueTaxonomyRequest) ProtoMessage() {} func (*GetIssueTaxonomyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_support_69743c0be48100ea, []int{11} + return fileDescriptor_cloud_support_33c72ff20b6be0b4, []int{11} } func (m *GetIssueTaxonomyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetIssueTaxonomyRequest.Unmarshal(m, b) @@ -990,10 +990,10 @@ var _CloudSupport_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/support/v1alpha1/cloud_support.proto", fileDescriptor_cloud_support_69743c0be48100ea) + proto.RegisterFile("google/cloud/support/v1alpha1/cloud_support.proto", fileDescriptor_cloud_support_33c72ff20b6be0b4) } -var fileDescriptor_cloud_support_69743c0be48100ea = []byte{ +var fileDescriptor_cloud_support_33c72ff20b6be0b4 = []byte{ // 863 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x4f, 0x33, 0x45, 0x18, 0xce, 0xb4, 0xc8, 0x07, 0x2f, 0xdf, 0xa7, 0x5f, 0x47, 0x82, 0x65, 0x0b, 0x49, 0x3b, 0x21, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/cloudtasks.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/cloudtasks.pb.go index 65845a651..47722eb6d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/cloudtasks.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/cloudtasks.pb.go @@ -74,7 +74,7 @@ func (m *ListQueuesRequest) Reset() { *m = ListQueuesRequest{} } func (m *ListQueuesRequest) String() string { return proto.CompactTextString(m) } func (*ListQueuesRequest) ProtoMessage() {} func (*ListQueuesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{0} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{0} } func (m *ListQueuesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListQueuesRequest.Unmarshal(m, b) @@ -145,7 +145,7 @@ func (m *ListQueuesResponse) Reset() { *m = ListQueuesResponse{} } func (m *ListQueuesResponse) String() string { return proto.CompactTextString(m) } func (*ListQueuesResponse) ProtoMessage() {} func (*ListQueuesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{1} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{1} } func (m *ListQueuesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListQueuesResponse.Unmarshal(m, b) @@ -195,7 +195,7 @@ func (m *GetQueueRequest) Reset() { *m = GetQueueRequest{} } func (m *GetQueueRequest) String() string { return proto.CompactTextString(m) } func (*GetQueueRequest) ProtoMessage() {} func (*GetQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{2} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{2} } func (m *GetQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetQueueRequest.Unmarshal(m, b) @@ -248,7 +248,7 @@ func (m *CreateQueueRequest) Reset() { *m = CreateQueueRequest{} } func (m *CreateQueueRequest) String() string { return proto.CompactTextString(m) } func (*CreateQueueRequest) ProtoMessage() {} func (*CreateQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{3} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{3} } func (m *CreateQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateQueueRequest.Unmarshal(m, b) @@ -307,7 +307,7 @@ func (m *UpdateQueueRequest) Reset() { *m = UpdateQueueRequest{} } func (m *UpdateQueueRequest) String() string { return proto.CompactTextString(m) } func (*UpdateQueueRequest) ProtoMessage() {} func (*UpdateQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{4} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{4} } func (m *UpdateQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateQueueRequest.Unmarshal(m, b) @@ -357,7 +357,7 @@ func (m *DeleteQueueRequest) Reset() { *m = DeleteQueueRequest{} } func (m *DeleteQueueRequest) String() string { return proto.CompactTextString(m) } func (*DeleteQueueRequest) ProtoMessage() {} func (*DeleteQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{5} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{5} } func (m *DeleteQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteQueueRequest.Unmarshal(m, b) @@ -400,7 +400,7 @@ func (m *PurgeQueueRequest) Reset() { *m = PurgeQueueRequest{} } func (m *PurgeQueueRequest) String() string { return proto.CompactTextString(m) } func (*PurgeQueueRequest) ProtoMessage() {} func (*PurgeQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{6} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{6} } func (m *PurgeQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PurgeQueueRequest.Unmarshal(m, b) @@ -443,7 +443,7 @@ func (m *PauseQueueRequest) Reset() { *m = PauseQueueRequest{} } func (m *PauseQueueRequest) String() string { return proto.CompactTextString(m) } func (*PauseQueueRequest) ProtoMessage() {} func (*PauseQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{7} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{7} } func (m *PauseQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PauseQueueRequest.Unmarshal(m, b) @@ -486,7 +486,7 @@ func (m *ResumeQueueRequest) Reset() { *m = ResumeQueueRequest{} } func (m *ResumeQueueRequest) String() string { return proto.CompactTextString(m) } func (*ResumeQueueRequest) ProtoMessage() {} func (*ResumeQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{8} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{8} } func (m *ResumeQueueRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResumeQueueRequest.Unmarshal(m, b) @@ -560,7 +560,7 @@ func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} } func (m *ListTasksRequest) String() string { return proto.CompactTextString(m) } func (*ListTasksRequest) ProtoMessage() {} func (*ListTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{9} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{9} } func (m *ListTasksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTasksRequest.Unmarshal(m, b) @@ -629,7 +629,7 @@ func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} } func (m *ListTasksResponse) String() string { return proto.CompactTextString(m) } func (*ListTasksResponse) ProtoMessage() {} func (*ListTasksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{10} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{10} } func (m *ListTasksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTasksResponse.Unmarshal(m, b) @@ -692,7 +692,7 @@ func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } func (*GetTaskRequest) ProtoMessage() {} func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{11} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{11} } func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTaskRequest.Unmarshal(m, b) @@ -793,7 +793,7 @@ func (m *CreateTaskRequest) Reset() { *m = CreateTaskRequest{} } func (m *CreateTaskRequest) String() string { return proto.CompactTextString(m) } func (*CreateTaskRequest) ProtoMessage() {} func (*CreateTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{12} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{12} } func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTaskRequest.Unmarshal(m, b) @@ -851,7 +851,7 @@ func (m *DeleteTaskRequest) Reset() { *m = DeleteTaskRequest{} } func (m *DeleteTaskRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTaskRequest) ProtoMessage() {} func (*DeleteTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{13} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{13} } func (m *DeleteTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTaskRequest.Unmarshal(m, b) @@ -955,7 +955,7 @@ func (m *LeaseTasksRequest) Reset() { *m = LeaseTasksRequest{} } func (m *LeaseTasksRequest) String() string { return proto.CompactTextString(m) } func (*LeaseTasksRequest) ProtoMessage() {} func (*LeaseTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{14} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{14} } func (m *LeaseTasksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LeaseTasksRequest.Unmarshal(m, b) @@ -1023,7 +1023,7 @@ func (m *LeaseTasksResponse) Reset() { *m = LeaseTasksResponse{} } func (m *LeaseTasksResponse) String() string { return proto.CompactTextString(m) } func (*LeaseTasksResponse) ProtoMessage() {} func (*LeaseTasksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{15} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{15} } func (m *LeaseTasksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LeaseTasksResponse.Unmarshal(m, b) @@ -1075,7 +1075,7 @@ func (m *AcknowledgeTaskRequest) Reset() { *m = AcknowledgeTaskRequest{} func (m *AcknowledgeTaskRequest) String() string { return proto.CompactTextString(m) } func (*AcknowledgeTaskRequest) ProtoMessage() {} func (*AcknowledgeTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{16} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{16} } func (m *AcknowledgeTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcknowledgeTaskRequest.Unmarshal(m, b) @@ -1155,7 +1155,7 @@ func (m *RenewLeaseRequest) Reset() { *m = RenewLeaseRequest{} } func (m *RenewLeaseRequest) String() string { return proto.CompactTextString(m) } func (*RenewLeaseRequest) ProtoMessage() {} func (*RenewLeaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{17} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{17} } func (m *RenewLeaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RenewLeaseRequest.Unmarshal(m, b) @@ -1241,7 +1241,7 @@ func (m *CancelLeaseRequest) Reset() { *m = CancelLeaseRequest{} } func (m *CancelLeaseRequest) String() string { return proto.CompactTextString(m) } func (*CancelLeaseRequest) ProtoMessage() {} func (*CancelLeaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{18} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{18} } func (m *CancelLeaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelLeaseRequest.Unmarshal(m, b) @@ -1312,7 +1312,7 @@ func (m *RunTaskRequest) Reset() { *m = RunTaskRequest{} } func (m *RunTaskRequest) String() string { return proto.CompactTextString(m) } func (*RunTaskRequest) ProtoMessage() {} func (*RunTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudtasks_443de7ce0a2b174e, []int{19} + return fileDescriptor_cloudtasks_6e81f3e473b385a7, []int{19} } func (m *RunTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunTaskRequest.Unmarshal(m, b) @@ -2445,10 +2445,10 @@ var _CloudTasks_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/cloudtasks.proto", fileDescriptor_cloudtasks_443de7ce0a2b174e) + proto.RegisterFile("google/cloud/tasks/v2beta2/cloudtasks.proto", fileDescriptor_cloudtasks_6e81f3e473b385a7) } -var fileDescriptor_cloudtasks_443de7ce0a2b174e = []byte{ +var fileDescriptor_cloudtasks_6e81f3e473b385a7 = []byte{ // 1382 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xdf, 0x6f, 0x14, 0x55, 0x14, 0xc7, 0x73, 0x4b, 0x17, 0xe8, 0x59, 0xda, 0xba, 0x37, 0x81, 0x94, 0x45, 0xb1, 0xde, 0x04, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/queue.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/queue.pb.go index e449097ea..0f7791613 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/queue.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/queue.pb.go @@ -76,7 +76,7 @@ func (x Queue_State) String() string { return proto.EnumName(Queue_State_name, int32(x)) } func (Queue_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_queue_01d4eb253fdc8f66, []int{0, 0} + return fileDescriptor_queue_c4ed304f84e85348, []int{0, 0} } // A queue is a container of related tasks. Queues are configured to manage @@ -168,7 +168,7 @@ func (m *Queue) Reset() { *m = Queue{} } func (m *Queue) String() string { return proto.CompactTextString(m) } func (*Queue) ProtoMessage() {} func (*Queue) Descriptor() ([]byte, []int) { - return fileDescriptor_queue_01d4eb253fdc8f66, []int{0} + return fileDescriptor_queue_c4ed304f84e85348, []int{0} } func (m *Queue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Queue.Unmarshal(m, b) @@ -188,6 +188,13 @@ func (m *Queue) XXX_DiscardUnknown() { var xxx_messageInfo_Queue proto.InternalMessageInfo +func (m *Queue) GetName() string { + if m != nil { + return m.Name + } + return "" +} + type isQueue_TargetType interface { isQueue_TargetType() } @@ -195,12 +202,14 @@ type isQueue_TargetType interface { type Queue_AppEngineHttpTarget struct { AppEngineHttpTarget *AppEngineHttpTarget `protobuf:"bytes,3,opt,name=app_engine_http_target,json=appEngineHttpTarget,proto3,oneof"` } + type Queue_PullTarget struct { PullTarget *PullTarget `protobuf:"bytes,4,opt,name=pull_target,json=pullTarget,proto3,oneof"` } func (*Queue_AppEngineHttpTarget) isQueue_TargetType() {} -func (*Queue_PullTarget) isQueue_TargetType() {} + +func (*Queue_PullTarget) isQueue_TargetType() {} func (m *Queue) GetTargetType() isQueue_TargetType { if m != nil { @@ -209,13 +218,6 @@ func (m *Queue) GetTargetType() isQueue_TargetType { return nil } -func (m *Queue) GetName() string { - if m != nil { - return m.Name - } - return "" -} - func (m *Queue) GetAppEngineHttpTarget() *AppEngineHttpTarget { if x, ok := m.GetTargetType().(*Queue_AppEngineHttpTarget); ok { return x.AppEngineHttpTarget @@ -417,7 +419,7 @@ func (m *RateLimits) Reset() { *m = RateLimits{} } func (m *RateLimits) String() string { return proto.CompactTextString(m) } func (*RateLimits) ProtoMessage() {} func (*RateLimits) Descriptor() ([]byte, []int) { - return fileDescriptor_queue_01d4eb253fdc8f66, []int{1} + return fileDescriptor_queue_c4ed304f84e85348, []int{1} } func (m *RateLimits) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimits.Unmarshal(m, b) @@ -567,7 +569,7 @@ func (m *RetryConfig) Reset() { *m = RetryConfig{} } func (m *RetryConfig) String() string { return proto.CompactTextString(m) } func (*RetryConfig) ProtoMessage() {} func (*RetryConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_queue_01d4eb253fdc8f66, []int{2} + return fileDescriptor_queue_c4ed304f84e85348, []int{2} } func (m *RetryConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RetryConfig.Unmarshal(m, b) @@ -594,11 +596,13 @@ type isRetryConfig_NumAttempts interface { type RetryConfig_MaxAttempts struct { MaxAttempts int32 `protobuf:"varint,1,opt,name=max_attempts,json=maxAttempts,proto3,oneof"` } + type RetryConfig_UnlimitedAttempts struct { UnlimitedAttempts bool `protobuf:"varint,2,opt,name=unlimited_attempts,json=unlimitedAttempts,proto3,oneof"` } -func (*RetryConfig_MaxAttempts) isRetryConfig_NumAttempts() {} +func (*RetryConfig_MaxAttempts) isRetryConfig_NumAttempts() {} + func (*RetryConfig_UnlimitedAttempts) isRetryConfig_NumAttempts() {} func (m *RetryConfig) GetNumAttempts() isRetryConfig_NumAttempts { @@ -726,10 +730,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/queue.proto", fileDescriptor_queue_01d4eb253fdc8f66) + proto.RegisterFile("google/cloud/tasks/v2beta2/queue.proto", fileDescriptor_queue_c4ed304f84e85348) } -var fileDescriptor_queue_01d4eb253fdc8f66 = []byte{ +var fileDescriptor_queue_c4ed304f84e85348 = []byte{ // 702 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcb, 0x6e, 0xdb, 0x3a, 0x10, 0x86, 0xad, 0x24, 0xca, 0x65, 0xe4, 0x04, 0x0e, 0xcf, 0x05, 0x3e, 0x3e, 0x45, 0x62, 0x38, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/target.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/target.pb.go index c81b71ee2..ae61ba621 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/target.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/target.pb.go @@ -48,18 +48,18 @@ var HttpMethod_name = map[int32]string{ } var HttpMethod_value = map[string]int32{ "HTTP_METHOD_UNSPECIFIED": 0, - "POST": 1, - "GET": 2, - "HEAD": 3, - "PUT": 4, - "DELETE": 5, + "POST": 1, + "GET": 2, + "HEAD": 3, + "PUT": 4, + "DELETE": 5, } func (x HttpMethod) String() string { return proto.EnumName(HttpMethod_name, int32(x)) } func (HttpMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_target_3baa9870dfb16cb3, []int{0} + return fileDescriptor_target_97396313f988895e, []int{0} } // Pull target. @@ -73,7 +73,7 @@ func (m *PullTarget) Reset() { *m = PullTarget{} } func (m *PullTarget) String() string { return proto.CompactTextString(m) } func (*PullTarget) ProtoMessage() {} func (*PullTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3baa9870dfb16cb3, []int{0} + return fileDescriptor_target_97396313f988895e, []int{0} } func (m *PullTarget) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PullTarget.Unmarshal(m, b) @@ -129,7 +129,7 @@ func (m *PullMessage) Reset() { *m = PullMessage{} } func (m *PullMessage) String() string { return proto.CompactTextString(m) } func (*PullMessage) ProtoMessage() {} func (*PullMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3baa9870dfb16cb3, []int{1} + return fileDescriptor_target_97396313f988895e, []int{1} } func (m *PullMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PullMessage.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *AppEngineHttpTarget) Reset() { *m = AppEngineHttpTarget{} } func (m *AppEngineHttpTarget) String() string { return proto.CompactTextString(m) } func (*AppEngineHttpTarget) ProtoMessage() {} func (*AppEngineHttpTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3baa9870dfb16cb3, []int{2} + return fileDescriptor_target_97396313f988895e, []int{2} } func (m *AppEngineHttpTarget) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AppEngineHttpTarget.Unmarshal(m, b) @@ -346,7 +346,7 @@ func (m *AppEngineHttpRequest) Reset() { *m = AppEngineHttpRequest{} } func (m *AppEngineHttpRequest) String() string { return proto.CompactTextString(m) } func (*AppEngineHttpRequest) ProtoMessage() {} func (*AppEngineHttpRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3baa9870dfb16cb3, []int{3} + return fileDescriptor_target_97396313f988895e, []int{3} } func (m *AppEngineHttpRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AppEngineHttpRequest.Unmarshal(m, b) @@ -524,7 +524,7 @@ func (m *AppEngineRouting) Reset() { *m = AppEngineRouting{} } func (m *AppEngineRouting) String() string { return proto.CompactTextString(m) } func (*AppEngineRouting) ProtoMessage() {} func (*AppEngineRouting) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3baa9870dfb16cb3, []int{4} + return fileDescriptor_target_97396313f988895e, []int{4} } func (m *AppEngineRouting) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AppEngineRouting.Unmarshal(m, b) @@ -583,10 +583,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/target.proto", fileDescriptor_target_3baa9870dfb16cb3) + proto.RegisterFile("google/cloud/tasks/v2beta2/target.proto", fileDescriptor_target_97396313f988895e) } -var fileDescriptor_target_3baa9870dfb16cb3 = []byte{ +var fileDescriptor_target_97396313f988895e = []byte{ // 557 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcf, 0x6f, 0xd3, 0x4c, 0x10, 0xfd, 0x5c, 0xa7, 0xbf, 0xc6, 0xd1, 0x27, 0x6b, 0xa9, 0x84, 0x95, 0xa2, 0xaa, 0xe4, 0x00, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/task.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/task.pb.go index 887b0b2d4..e8f4e62ec 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/task.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/task.pb.go @@ -66,7 +66,7 @@ func (x Task_View) String() string { return proto.EnumName(Task_View_name, int32(x)) } func (Task_View) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_task_13bf5c8cc3d069c7, []int{0, 0} + return fileDescriptor_task_ce8481b1dd8c8330, []int{0, 0} } // A unit of scheduled work. @@ -129,7 +129,7 @@ func (m *Task) Reset() { *m = Task{} } func (m *Task) String() string { return proto.CompactTextString(m) } func (*Task) ProtoMessage() {} func (*Task) Descriptor() ([]byte, []int) { - return fileDescriptor_task_13bf5c8cc3d069c7, []int{0} + return fileDescriptor_task_ce8481b1dd8c8330, []int{0} } func (m *Task) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Task.Unmarshal(m, b) @@ -149,6 +149,13 @@ func (m *Task) XXX_DiscardUnknown() { var xxx_messageInfo_Task proto.InternalMessageInfo +func (m *Task) GetName() string { + if m != nil { + return m.Name + } + return "" +} + type isTask_PayloadType interface { isTask_PayloadType() } @@ -156,12 +163,14 @@ type isTask_PayloadType interface { type Task_AppEngineHttpRequest struct { AppEngineHttpRequest *AppEngineHttpRequest `protobuf:"bytes,3,opt,name=app_engine_http_request,json=appEngineHttpRequest,proto3,oneof"` } + type Task_PullMessage struct { PullMessage *PullMessage `protobuf:"bytes,4,opt,name=pull_message,json=pullMessage,proto3,oneof"` } func (*Task_AppEngineHttpRequest) isTask_PayloadType() {} -func (*Task_PullMessage) isTask_PayloadType() {} + +func (*Task_PullMessage) isTask_PayloadType() {} func (m *Task) GetPayloadType() isTask_PayloadType { if m != nil { @@ -170,13 +179,6 @@ func (m *Task) GetPayloadType() isTask_PayloadType { return nil } -func (m *Task) GetName() string { - if m != nil { - return m.Name - } - return "" -} - func (m *Task) GetAppEngineHttpRequest() *AppEngineHttpRequest { if x, ok := m.GetPayloadType().(*Task_AppEngineHttpRequest); ok { return x.AppEngineHttpRequest @@ -324,7 +326,7 @@ func (m *TaskStatus) Reset() { *m = TaskStatus{} } func (m *TaskStatus) String() string { return proto.CompactTextString(m) } func (*TaskStatus) ProtoMessage() {} func (*TaskStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_task_13bf5c8cc3d069c7, []int{1} + return fileDescriptor_task_ce8481b1dd8c8330, []int{1} } func (m *TaskStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatus.Unmarshal(m, b) @@ -400,7 +402,7 @@ func (m *AttemptStatus) Reset() { *m = AttemptStatus{} } func (m *AttemptStatus) String() string { return proto.CompactTextString(m) } func (*AttemptStatus) ProtoMessage() {} func (*AttemptStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_task_13bf5c8cc3d069c7, []int{2} + return fileDescriptor_task_ce8481b1dd8c8330, []int{2} } func (m *AttemptStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttemptStatus.Unmarshal(m, b) @@ -456,10 +458,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/task.proto", fileDescriptor_task_13bf5c8cc3d069c7) + proto.RegisterFile("google/cloud/tasks/v2beta2/task.proto", fileDescriptor_task_ce8481b1dd8c8330) } -var fileDescriptor_task_13bf5c8cc3d069c7 = []byte{ +var fileDescriptor_task_ce8481b1dd8c8330 = []byte{ // 601 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x5f, 0x6f, 0xda, 0x3c, 0x14, 0xc6, 0x1b, 0x9a, 0xf6, 0x2d, 0xe6, 0xcf, 0xcb, 0x3c, 0xb4, 0x46, 0x68, 0xda, 0x10, 0x52, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/cloudtasks.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/cloudtasks.pb.go new file mode 100644 index 000000000..13e391504 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/cloudtasks.pb.go @@ -0,0 +1,1879 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package tasks // import "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import v1 "google.golang.org/genproto/googleapis/iam/v1" +import _ "google.golang.org/genproto/googleapis/rpc/code" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. +type ListQueuesRequest struct { + // Required. + // + // The location name. + // For example: `projects/PROJECT_ID/locations/LOCATION_ID` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue] + // field can be used as a filter and several operators as supported. + // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as + // described in + // [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). + // + // Sample filter "state: PAUSED". + // + // Note that using filters might cause fewer queues than the + // requested page_size to be returned. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Requested page size. + // + // The maximum page size is 9800. If unspecified, the page size will + // be the maximum. Fewer queues than requested might be returned, + // even if more queues exist; use the + // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the + // response to determine if more queues exist. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // A token identifying the page of results to return. + // + // To request the first page results, page_token must be empty. To + // request the next page of results, page_token must be the value of + // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + // from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + // method. It is an error to switch the value of the + // [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListQueuesRequest) Reset() { *m = ListQueuesRequest{} } +func (m *ListQueuesRequest) String() string { return proto.CompactTextString(m) } +func (*ListQueuesRequest) ProtoMessage() {} +func (*ListQueuesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{0} +} +func (m *ListQueuesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListQueuesRequest.Unmarshal(m, b) +} +func (m *ListQueuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListQueuesRequest.Marshal(b, m, deterministic) +} +func (dst *ListQueuesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListQueuesRequest.Merge(dst, src) +} +func (m *ListQueuesRequest) XXX_Size() int { + return xxx_messageInfo_ListQueuesRequest.Size(m) +} +func (m *ListQueuesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListQueuesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListQueuesRequest proto.InternalMessageInfo + +func (m *ListQueuesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListQueuesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListQueuesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListQueuesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. +type ListQueuesResponse struct { + // The list of queues. + Queues []*Queue `protobuf:"bytes,1,rep,name=queues,proto3" json:"queues,omitempty"` + // A token to retrieve next page of results. + // + // To return the next page of results, call + // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the + // [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token]. + // + // If the next_page_token is empty, there are no more results. + // + // The page token is valid for only 2 hours. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListQueuesResponse) Reset() { *m = ListQueuesResponse{} } +func (m *ListQueuesResponse) String() string { return proto.CompactTextString(m) } +func (*ListQueuesResponse) ProtoMessage() {} +func (*ListQueuesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{1} +} +func (m *ListQueuesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListQueuesResponse.Unmarshal(m, b) +} +func (m *ListQueuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListQueuesResponse.Marshal(b, m, deterministic) +} +func (dst *ListQueuesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListQueuesResponse.Merge(dst, src) +} +func (m *ListQueuesResponse) XXX_Size() int { + return xxx_messageInfo_ListQueuesResponse.Size(m) +} +func (m *ListQueuesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListQueuesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListQueuesResponse proto.InternalMessageInfo + +func (m *ListQueuesResponse) GetQueues() []*Queue { + if m != nil { + return m.Queues + } + return nil +} + +func (m *ListQueuesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. +type GetQueueRequest struct { + // Required. + // + // The resource name of the queue. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetQueueRequest) Reset() { *m = GetQueueRequest{} } +func (m *GetQueueRequest) String() string { return proto.CompactTextString(m) } +func (*GetQueueRequest) ProtoMessage() {} +func (*GetQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{2} +} +func (m *GetQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetQueueRequest.Unmarshal(m, b) +} +func (m *GetQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetQueueRequest.Marshal(b, m, deterministic) +} +func (dst *GetQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetQueueRequest.Merge(dst, src) +} +func (m *GetQueueRequest) XXX_Size() int { + return xxx_messageInfo_GetQueueRequest.Size(m) +} +func (m *GetQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetQueueRequest proto.InternalMessageInfo + +func (m *GetQueueRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. +type CreateQueueRequest struct { + // Required. + // + // The location name in which the queue will be created. + // For example: `projects/PROJECT_ID/locations/LOCATION_ID` + // + // The list of allowed locations can be obtained by calling Cloud + // Tasks' implementation of + // [ListLocations][google.cloud.location.Locations.ListLocations]. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. + // + // The queue to create. + // + // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue. + Queue *Queue `protobuf:"bytes,2,opt,name=queue,proto3" json:"queue,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateQueueRequest) Reset() { *m = CreateQueueRequest{} } +func (m *CreateQueueRequest) String() string { return proto.CompactTextString(m) } +func (*CreateQueueRequest) ProtoMessage() {} +func (*CreateQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{3} +} +func (m *CreateQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateQueueRequest.Unmarshal(m, b) +} +func (m *CreateQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateQueueRequest.Marshal(b, m, deterministic) +} +func (dst *CreateQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateQueueRequest.Merge(dst, src) +} +func (m *CreateQueueRequest) XXX_Size() int { + return xxx_messageInfo_CreateQueueRequest.Size(m) +} +func (m *CreateQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateQueueRequest proto.InternalMessageInfo + +func (m *CreateQueueRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateQueueRequest) GetQueue() *Queue { + if m != nil { + return m.Queue + } + return nil +} + +// Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. +type UpdateQueueRequest struct { + // Required. + // + // The queue to create or update. + // + // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified. + // + // Output only fields cannot be modified using UpdateQueue. + // Any value specified for an output only field will be ignored. + // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed. + Queue *Queue `protobuf:"bytes,1,opt,name=queue,proto3" json:"queue,omitempty"` + // A mask used to specify which fields of the queue are being updated. + // + // If empty, then all fields will be updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateQueueRequest) Reset() { *m = UpdateQueueRequest{} } +func (m *UpdateQueueRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateQueueRequest) ProtoMessage() {} +func (*UpdateQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{4} +} +func (m *UpdateQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateQueueRequest.Unmarshal(m, b) +} +func (m *UpdateQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateQueueRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateQueueRequest.Merge(dst, src) +} +func (m *UpdateQueueRequest) XXX_Size() int { + return xxx_messageInfo_UpdateQueueRequest.Size(m) +} +func (m *UpdateQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateQueueRequest proto.InternalMessageInfo + +func (m *UpdateQueueRequest) GetQueue() *Queue { + if m != nil { + return m.Queue + } + return nil +} + +func (m *UpdateQueueRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. +type DeleteQueueRequest struct { + // Required. + // + // The queue name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteQueueRequest) Reset() { *m = DeleteQueueRequest{} } +func (m *DeleteQueueRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteQueueRequest) ProtoMessage() {} +func (*DeleteQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{5} +} +func (m *DeleteQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteQueueRequest.Unmarshal(m, b) +} +func (m *DeleteQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteQueueRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteQueueRequest.Merge(dst, src) +} +func (m *DeleteQueueRequest) XXX_Size() int { + return xxx_messageInfo_DeleteQueueRequest.Size(m) +} +func (m *DeleteQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteQueueRequest proto.InternalMessageInfo + +func (m *DeleteQueueRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. +type PurgeQueueRequest struct { + // Required. + // + // The queue name. For example: + // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PurgeQueueRequest) Reset() { *m = PurgeQueueRequest{} } +func (m *PurgeQueueRequest) String() string { return proto.CompactTextString(m) } +func (*PurgeQueueRequest) ProtoMessage() {} +func (*PurgeQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{6} +} +func (m *PurgeQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PurgeQueueRequest.Unmarshal(m, b) +} +func (m *PurgeQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PurgeQueueRequest.Marshal(b, m, deterministic) +} +func (dst *PurgeQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PurgeQueueRequest.Merge(dst, src) +} +func (m *PurgeQueueRequest) XXX_Size() int { + return xxx_messageInfo_PurgeQueueRequest.Size(m) +} +func (m *PurgeQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PurgeQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PurgeQueueRequest proto.InternalMessageInfo + +func (m *PurgeQueueRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. +type PauseQueueRequest struct { + // Required. + // + // The queue name. For example: + // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PauseQueueRequest) Reset() { *m = PauseQueueRequest{} } +func (m *PauseQueueRequest) String() string { return proto.CompactTextString(m) } +func (*PauseQueueRequest) ProtoMessage() {} +func (*PauseQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{7} +} +func (m *PauseQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PauseQueueRequest.Unmarshal(m, b) +} +func (m *PauseQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PauseQueueRequest.Marshal(b, m, deterministic) +} +func (dst *PauseQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PauseQueueRequest.Merge(dst, src) +} +func (m *PauseQueueRequest) XXX_Size() int { + return xxx_messageInfo_PauseQueueRequest.Size(m) +} +func (m *PauseQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PauseQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PauseQueueRequest proto.InternalMessageInfo + +func (m *PauseQueueRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. +type ResumeQueueRequest struct { + // Required. + // + // The queue name. For example: + // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResumeQueueRequest) Reset() { *m = ResumeQueueRequest{} } +func (m *ResumeQueueRequest) String() string { return proto.CompactTextString(m) } +func (*ResumeQueueRequest) ProtoMessage() {} +func (*ResumeQueueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{8} +} +func (m *ResumeQueueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResumeQueueRequest.Unmarshal(m, b) +} +func (m *ResumeQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResumeQueueRequest.Marshal(b, m, deterministic) +} +func (dst *ResumeQueueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResumeQueueRequest.Merge(dst, src) +} +func (m *ResumeQueueRequest) XXX_Size() int { + return xxx_messageInfo_ResumeQueueRequest.Size(m) +} +func (m *ResumeQueueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResumeQueueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResumeQueueRequest proto.InternalMessageInfo + +func (m *ResumeQueueRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. +type ListTasksRequest struct { + // Required. + // + // The queue name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. + // + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta3.Task_View" json:"response_view,omitempty"` + // Requested page size. Fewer tasks than requested might be returned. + // + // The maximum page size is 1000. If unspecified, the page size will + // be the maximum. Fewer tasks than requested might be returned, + // even if more tasks exist; use + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + // response to determine if more tasks exist. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // A token identifying the page of results to return. + // + // To request the first page results, page_token must be empty. To + // request the next page of results, page_token must be the value of + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + // from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + // method. + // + // The page token is valid for only 2 hours. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} } +func (m *ListTasksRequest) String() string { return proto.CompactTextString(m) } +func (*ListTasksRequest) ProtoMessage() {} +func (*ListTasksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{9} +} +func (m *ListTasksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTasksRequest.Unmarshal(m, b) +} +func (m *ListTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTasksRequest.Marshal(b, m, deterministic) +} +func (dst *ListTasksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksRequest.Merge(dst, src) +} +func (m *ListTasksRequest) XXX_Size() int { + return xxx_messageInfo_ListTasksRequest.Size(m) +} +func (m *ListTasksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksRequest proto.InternalMessageInfo + +func (m *ListTasksRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListTasksRequest) GetResponseView() Task_View { + if m != nil { + return m.ResponseView + } + return Task_VIEW_UNSPECIFIED +} + +func (m *ListTasksRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListTasksRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. +type ListTasksResponse struct { + // The list of tasks. + Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` + // A token to retrieve next page of results. + // + // To return the next page of results, call + // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the + // [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token]. + // + // If the next_page_token is empty, there are no more results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} } +func (m *ListTasksResponse) String() string { return proto.CompactTextString(m) } +func (*ListTasksResponse) ProtoMessage() {} +func (*ListTasksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{10} +} +func (m *ListTasksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTasksResponse.Unmarshal(m, b) +} +func (m *ListTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTasksResponse.Marshal(b, m, deterministic) +} +func (dst *ListTasksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksResponse.Merge(dst, src) +} +func (m *ListTasksResponse) XXX_Size() int { + return xxx_messageInfo_ListTasksResponse.Size(m) +} +func (m *ListTasksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksResponse proto.InternalMessageInfo + +func (m *ListTasksResponse) GetTasks() []*Task { + if m != nil { + return m.Tasks + } + return nil +} + +func (m *ListTasksResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. +type GetTaskRequest struct { + // Required. + // + // The task name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. + // + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta3.Task_View" json:"response_view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } +func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } +func (*GetTaskRequest) ProtoMessage() {} +func (*GetTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{11} +} +func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTaskRequest.Unmarshal(m, b) +} +func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic) +} +func (dst *GetTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskRequest.Merge(dst, src) +} +func (m *GetTaskRequest) XXX_Size() int { + return xxx_messageInfo_GetTaskRequest.Size(m) +} +func (m *GetTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo + +func (m *GetTaskRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *GetTaskRequest) GetResponseView() Task_View { + if m != nil { + return m.ResponseView + } + return Task_VIEW_UNSPECIFIED +} + +// Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. +type CreateTaskRequest struct { + // Required. + // + // The queue name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + // + // The queue must already exist. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. + // + // The task to add. + // + // Task names have the following format: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. + // The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + // name is not specified then the system will generate a random + // unique task id, which will be set in the task returned in the + // [response][google.cloud.tasks.v2beta3.Task.name]. + // + // If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + // past then Cloud Tasks will set it to the current time. + // + // Task De-duplication: + // + // Explicitly specifying a task ID enables task de-duplication. If + // a task's ID is identical to that of an existing task or a task + // that was deleted or executed recently then the call will fail + // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS]. + // If the task's queue was created using Cloud Tasks, then another task with + // the same name can't be created for ~1hour after the original task was + // deleted or executed. If the task's queue was created using queue.yaml or + // queue.xml, then another task with the same name can't be created + // for ~9days after the original task was deleted or executed. + // + // Because there is an extra lookup cost to identify duplicate task + // names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + // increased latency. Using hashed strings for the task id or for + // the prefix of the task id is recommended. Choosing task ids that + // are sequential or have sequential prefixes, for example using a + // timestamp, causes an increase in latency and error rates in all + // task commands. The infrastructure relies on an approximately + // uniform distribution of task ids to store and serve tasks + // efficiently. + Task *Task `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. + // + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + ResponseView Task_View `protobuf:"varint,3,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta3.Task_View" json:"response_view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateTaskRequest) Reset() { *m = CreateTaskRequest{} } +func (m *CreateTaskRequest) String() string { return proto.CompactTextString(m) } +func (*CreateTaskRequest) ProtoMessage() {} +func (*CreateTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{12} +} +func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateTaskRequest.Unmarshal(m, b) +} +func (m *CreateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateTaskRequest.Marshal(b, m, deterministic) +} +func (dst *CreateTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTaskRequest.Merge(dst, src) +} +func (m *CreateTaskRequest) XXX_Size() int { + return xxx_messageInfo_CreateTaskRequest.Size(m) +} +func (m *CreateTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateTaskRequest proto.InternalMessageInfo + +func (m *CreateTaskRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateTaskRequest) GetTask() *Task { + if m != nil { + return m.Task + } + return nil +} + +func (m *CreateTaskRequest) GetResponseView() Task_View { + if m != nil { + return m.ResponseView + } + return Task_VIEW_UNSPECIFIED +} + +// Request message for deleting a task using +// [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask]. +type DeleteTaskRequest struct { + // Required. + // + // The task name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteTaskRequest) Reset() { *m = DeleteTaskRequest{} } +func (m *DeleteTaskRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteTaskRequest) ProtoMessage() {} +func (*DeleteTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{13} +} +func (m *DeleteTaskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteTaskRequest.Unmarshal(m, b) +} +func (m *DeleteTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteTaskRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTaskRequest.Merge(dst, src) +} +func (m *DeleteTaskRequest) XXX_Size() int { + return xxx_messageInfo_DeleteTaskRequest.Size(m) +} +func (m *DeleteTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteTaskRequest proto.InternalMessageInfo + +func (m *DeleteTaskRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for forcing a task to run now using +// [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask]. +type RunTaskRequest struct { + // Required. + // + // The task name. For example: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. + // + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta3.Task_View" json:"response_view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RunTaskRequest) Reset() { *m = RunTaskRequest{} } +func (m *RunTaskRequest) String() string { return proto.CompactTextString(m) } +func (*RunTaskRequest) ProtoMessage() {} +func (*RunTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cloudtasks_f9775ddf05248897, []int{14} +} +func (m *RunTaskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RunTaskRequest.Unmarshal(m, b) +} +func (m *RunTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RunTaskRequest.Marshal(b, m, deterministic) +} +func (dst *RunTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RunTaskRequest.Merge(dst, src) +} +func (m *RunTaskRequest) XXX_Size() int { + return xxx_messageInfo_RunTaskRequest.Size(m) +} +func (m *RunTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RunTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RunTaskRequest proto.InternalMessageInfo + +func (m *RunTaskRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *RunTaskRequest) GetResponseView() Task_View { + if m != nil { + return m.ResponseView + } + return Task_VIEW_UNSPECIFIED +} + +func init() { + proto.RegisterType((*ListQueuesRequest)(nil), "google.cloud.tasks.v2beta3.ListQueuesRequest") + proto.RegisterType((*ListQueuesResponse)(nil), "google.cloud.tasks.v2beta3.ListQueuesResponse") + proto.RegisterType((*GetQueueRequest)(nil), "google.cloud.tasks.v2beta3.GetQueueRequest") + proto.RegisterType((*CreateQueueRequest)(nil), "google.cloud.tasks.v2beta3.CreateQueueRequest") + proto.RegisterType((*UpdateQueueRequest)(nil), "google.cloud.tasks.v2beta3.UpdateQueueRequest") + proto.RegisterType((*DeleteQueueRequest)(nil), "google.cloud.tasks.v2beta3.DeleteQueueRequest") + proto.RegisterType((*PurgeQueueRequest)(nil), "google.cloud.tasks.v2beta3.PurgeQueueRequest") + proto.RegisterType((*PauseQueueRequest)(nil), "google.cloud.tasks.v2beta3.PauseQueueRequest") + proto.RegisterType((*ResumeQueueRequest)(nil), "google.cloud.tasks.v2beta3.ResumeQueueRequest") + proto.RegisterType((*ListTasksRequest)(nil), "google.cloud.tasks.v2beta3.ListTasksRequest") + proto.RegisterType((*ListTasksResponse)(nil), "google.cloud.tasks.v2beta3.ListTasksResponse") + proto.RegisterType((*GetTaskRequest)(nil), "google.cloud.tasks.v2beta3.GetTaskRequest") + proto.RegisterType((*CreateTaskRequest)(nil), "google.cloud.tasks.v2beta3.CreateTaskRequest") + proto.RegisterType((*DeleteTaskRequest)(nil), "google.cloud.tasks.v2beta3.DeleteTaskRequest") + proto.RegisterType((*RunTaskRequest)(nil), "google.cloud.tasks.v2beta3.RunTaskRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CloudTasksClient is the client API for CloudTasks service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CloudTasksClient interface { + // Lists queues. + // + // Queues are returned in lexicographical order. + ListQueues(ctx context.Context, in *ListQueuesRequest, opts ...grpc.CallOption) (*ListQueuesResponse, error) + // Gets a queue. + GetQueue(ctx context.Context, in *GetQueueRequest, opts ...grpc.CallOption) (*Queue, error) + // Creates a queue. + // + // Queues created with this method allow tasks to live for a maximum of 31 + // days. After a task is 31 days old, the task will be deleted regardless of whether + // it was dispatched or not. + // + // WARNING: Using this method may have unintended side effects if you are + // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + // Read + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. + CreateQueue(ctx context.Context, in *CreateQueueRequest, opts ...grpc.CallOption) (*Queue, error) + // Updates a queue. + // + // This method creates the queue if it does not exist and updates + // the queue if it does exist. + // + // Queues created with this method allow tasks to live for a maximum of 31 + // days. After a task is 31 days old, the task will be deleted regardless of whether + // it was dispatched or not. + // + // WARNING: Using this method may have unintended side effects if you are + // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + // Read + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. + UpdateQueue(ctx context.Context, in *UpdateQueueRequest, opts ...grpc.CallOption) (*Queue, error) + // Deletes a queue. + // + // This command will delete the queue even if it has tasks in it. + // + // Note: If you delete a queue, a queue with the same name can't be created + // for 7 days. + // + // WARNING: Using this method may have unintended side effects if you are + // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + // Read + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. + DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Purges a queue by deleting all of its tasks. + // + // All tasks created before this method is called are permanently deleted. + // + // Purge operations can take up to one minute to take effect. Tasks + // might be dispatched before the purge takes effect. A purge is irreversible. + PurgeQueue(ctx context.Context, in *PurgeQueueRequest, opts ...grpc.CallOption) (*Queue, error) + // Pauses the queue. + // + // If a queue is paused then the system will stop dispatching tasks + // until the queue is resumed via + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + // when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + PauseQueue(ctx context.Context, in *PauseQueueRequest, opts ...grpc.CallOption) (*Queue, error) + // Resume a queue. + // + // This method resumes a queue after it has been + // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or + // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + // in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + // will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + // + // WARNING: Resuming many high-QPS queues at the same time can + // lead to target overloading. If you are resuming high-QPS + // queues, follow the 500/50/5 pattern described in + // [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + ResumeQueue(ctx context.Context, in *ResumeQueueRequest, opts ...grpc.CallOption) (*Queue, error) + // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. + // Returns an empty policy if the resource exists and does not have a policy + // set. + // + // Authorization requires the following + // [Google IAM](https://cloud.google.com/iam) permission on the specified + // resource parent: + // + // * `cloudtasks.queues.getIamPolicy` + GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) + // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing + // policy. + // + // Note: The Cloud Console does not check queue-level IAM permissions yet. + // Project-level permissions are required to use the Cloud Console. + // + // Authorization requires the following + // [Google IAM](https://cloud.google.com/iam) permission on the specified + // resource parent: + // + // * `cloudtasks.queues.setIamPolicy` + SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) + // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. + // If the resource does not exist, this will return an empty set of + // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. + // + // Note: This operation is designed to be used for building permission-aware + // UIs and command-line tools, not for authorization checking. This operation + // may "fail open" without warning. + TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) + // Lists the tasks in a queue. + // + // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved + // due to performance considerations; + // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the + // subset of information which is returned. + // + // The tasks may be returned in any order. The ordering may change at any + // time. + ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) + // Gets a task. + GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) + // Creates a task and adds it to a queue. + // + // Tasks cannot be updated after creation; there is no UpdateTask command. + // + // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is + // 100KB. + CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*Task, error) + // Deletes a task. + // + // A task can be deleted if it is scheduled or dispatched. A task + // cannot be deleted if it has executed successfully or permanently + // failed. + DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Forces a task to run now. + // + // When this method is called, Cloud Tasks will dispatch the task, even if + // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or + // is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + // + // This command is meant to be used for manual debugging. For + // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed + // task after a fix has been made or to manually force a task to be + // dispatched now. + // + // The dispatched task is returned. That is, the task that is returned + // contains the [status][Task.status] after the task is dispatched but + // before the task is received by its target. + // + // If Cloud Tasks receives a successful response from the task's + // target, then the task will be deleted; otherwise the task's + // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that + // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified + // in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // + // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns + // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a + // task that has already succeeded or permanently failed. + RunTask(ctx context.Context, in *RunTaskRequest, opts ...grpc.CallOption) (*Task, error) +} + +type cloudTasksClient struct { + cc *grpc.ClientConn +} + +func NewCloudTasksClient(cc *grpc.ClientConn) CloudTasksClient { + return &cloudTasksClient{cc} +} + +func (c *cloudTasksClient) ListQueues(ctx context.Context, in *ListQueuesRequest, opts ...grpc.CallOption) (*ListQueuesResponse, error) { + out := new(ListQueuesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/ListQueues", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) GetQueue(ctx context.Context, in *GetQueueRequest, opts ...grpc.CallOption) (*Queue, error) { + out := new(Queue) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/GetQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) CreateQueue(ctx context.Context, in *CreateQueueRequest, opts ...grpc.CallOption) (*Queue, error) { + out := new(Queue) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/CreateQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) UpdateQueue(ctx context.Context, in *UpdateQueueRequest, opts ...grpc.CallOption) (*Queue, error) { + out := new(Queue) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/UpdateQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/DeleteQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) PurgeQueue(ctx context.Context, in *PurgeQueueRequest, opts ...grpc.CallOption) (*Queue, error) { + out := new(Queue) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/PurgeQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) PauseQueue(ctx context.Context, in *PauseQueueRequest, opts ...grpc.CallOption) (*Queue, error) { + out := new(Queue) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/PauseQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) ResumeQueue(ctx context.Context, in *ResumeQueueRequest, opts ...grpc.CallOption) (*Queue, error) { + out := new(Queue) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/ResumeQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { + out := new(v1.Policy) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/GetIamPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { + out := new(v1.Policy) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/SetIamPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { + out := new(v1.TestIamPermissionsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/TestIamPermissions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) { + out := new(ListTasksResponse) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/ListTasks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) { + out := new(Task) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/GetTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*Task, error) { + out := new(Task) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/CreateTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/DeleteTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudTasksClient) RunTask(ctx context.Context, in *RunTaskRequest, opts ...grpc.CallOption) (*Task, error) { + out := new(Task) + err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta3.CloudTasks/RunTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CloudTasksServer is the server API for CloudTasks service. +type CloudTasksServer interface { + // Lists queues. + // + // Queues are returned in lexicographical order. + ListQueues(context.Context, *ListQueuesRequest) (*ListQueuesResponse, error) + // Gets a queue. + GetQueue(context.Context, *GetQueueRequest) (*Queue, error) + // Creates a queue. + // + // Queues created with this method allow tasks to live for a maximum of 31 + // days. After a task is 31 days old, the task will be deleted regardless of whether + // it was dispatched or not. + // + // WARNING: Using this method may have unintended side effects if you are + // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + // Read + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. + CreateQueue(context.Context, *CreateQueueRequest) (*Queue, error) + // Updates a queue. + // + // This method creates the queue if it does not exist and updates + // the queue if it does exist. + // + // Queues created with this method allow tasks to live for a maximum of 31 + // days. After a task is 31 days old, the task will be deleted regardless of whether + // it was dispatched or not. + // + // WARNING: Using this method may have unintended side effects if you are + // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + // Read + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. + UpdateQueue(context.Context, *UpdateQueueRequest) (*Queue, error) + // Deletes a queue. + // + // This command will delete the queue even if it has tasks in it. + // + // Note: If you delete a queue, a queue with the same name can't be created + // for 7 days. + // + // WARNING: Using this method may have unintended side effects if you are + // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + // Read + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. + DeleteQueue(context.Context, *DeleteQueueRequest) (*empty.Empty, error) + // Purges a queue by deleting all of its tasks. + // + // All tasks created before this method is called are permanently deleted. + // + // Purge operations can take up to one minute to take effect. Tasks + // might be dispatched before the purge takes effect. A purge is irreversible. + PurgeQueue(context.Context, *PurgeQueueRequest) (*Queue, error) + // Pauses the queue. + // + // If a queue is paused then the system will stop dispatching tasks + // until the queue is resumed via + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + // when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + PauseQueue(context.Context, *PauseQueueRequest) (*Queue, error) + // Resume a queue. + // + // This method resumes a queue after it has been + // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or + // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + // in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + // will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + // + // WARNING: Resuming many high-QPS queues at the same time can + // lead to target overloading. If you are resuming high-QPS + // queues, follow the 500/50/5 pattern described in + // [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + ResumeQueue(context.Context, *ResumeQueueRequest) (*Queue, error) + // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. + // Returns an empty policy if the resource exists and does not have a policy + // set. + // + // Authorization requires the following + // [Google IAM](https://cloud.google.com/iam) permission on the specified + // resource parent: + // + // * `cloudtasks.queues.getIamPolicy` + GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) + // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing + // policy. + // + // Note: The Cloud Console does not check queue-level IAM permissions yet. + // Project-level permissions are required to use the Cloud Console. + // + // Authorization requires the following + // [Google IAM](https://cloud.google.com/iam) permission on the specified + // resource parent: + // + // * `cloudtasks.queues.setIamPolicy` + SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) + // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. + // If the resource does not exist, this will return an empty set of + // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. + // + // Note: This operation is designed to be used for building permission-aware + // UIs and command-line tools, not for authorization checking. This operation + // may "fail open" without warning. + TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) + // Lists the tasks in a queue. + // + // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved + // due to performance considerations; + // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the + // subset of information which is returned. + // + // The tasks may be returned in any order. The ordering may change at any + // time. + ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) + // Gets a task. + GetTask(context.Context, *GetTaskRequest) (*Task, error) + // Creates a task and adds it to a queue. + // + // Tasks cannot be updated after creation; there is no UpdateTask command. + // + // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is + // 100KB. + CreateTask(context.Context, *CreateTaskRequest) (*Task, error) + // Deletes a task. + // + // A task can be deleted if it is scheduled or dispatched. A task + // cannot be deleted if it has executed successfully or permanently + // failed. + DeleteTask(context.Context, *DeleteTaskRequest) (*empty.Empty, error) + // Forces a task to run now. + // + // When this method is called, Cloud Tasks will dispatch the task, even if + // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or + // is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + // + // This command is meant to be used for manual debugging. For + // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed + // task after a fix has been made or to manually force a task to be + // dispatched now. + // + // The dispatched task is returned. That is, the task that is returned + // contains the [status][Task.status] after the task is dispatched but + // before the task is received by its target. + // + // If Cloud Tasks receives a successful response from the task's + // target, then the task will be deleted; otherwise the task's + // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that + // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified + // in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // + // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns + // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a + // task that has already succeeded or permanently failed. + RunTask(context.Context, *RunTaskRequest) (*Task, error) +} + +func RegisterCloudTasksServer(s *grpc.Server, srv CloudTasksServer) { + s.RegisterService(&_CloudTasks_serviceDesc, srv) +} + +func _CloudTasks_ListQueues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListQueuesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).ListQueues(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/ListQueues", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).ListQueues(ctx, req.(*ListQueuesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_GetQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).GetQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/GetQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).GetQueue(ctx, req.(*GetQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_CreateQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).CreateQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/CreateQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).CreateQueue(ctx, req.(*CreateQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_UpdateQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).UpdateQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/UpdateQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).UpdateQueue(ctx, req.(*UpdateQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_DeleteQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).DeleteQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/DeleteQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).DeleteQueue(ctx, req.(*DeleteQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_PurgeQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PurgeQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).PurgeQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/PurgeQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).PurgeQueue(ctx, req.(*PurgeQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_PauseQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PauseQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).PauseQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/PauseQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).PauseQueue(ctx, req.(*PauseQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_ResumeQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResumeQueueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).ResumeQueue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/ResumeQueue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).ResumeQueue(ctx, req.(*ResumeQueueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.GetIamPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).GetIamPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/GetIamPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.SetIamPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).SetIamPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/SetIamPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.TestIamPermissionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).TestIamPermissions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/TestIamPermissions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_ListTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListTasksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).ListTasks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/ListTasks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).ListTasks(ctx, req.(*ListTasksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).GetTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/GetTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).GetTask(ctx, req.(*GetTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).CreateTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/CreateTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).CreateTask(ctx, req.(*CreateTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).DeleteTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/DeleteTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).DeleteTask(ctx, req.(*DeleteTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudTasks_RunTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RunTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudTasksServer).RunTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.tasks.v2beta3.CloudTasks/RunTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudTasksServer).RunTask(ctx, req.(*RunTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CloudTasks_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.tasks.v2beta3.CloudTasks", + HandlerType: (*CloudTasksServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ListQueues", + Handler: _CloudTasks_ListQueues_Handler, + }, + { + MethodName: "GetQueue", + Handler: _CloudTasks_GetQueue_Handler, + }, + { + MethodName: "CreateQueue", + Handler: _CloudTasks_CreateQueue_Handler, + }, + { + MethodName: "UpdateQueue", + Handler: _CloudTasks_UpdateQueue_Handler, + }, + { + MethodName: "DeleteQueue", + Handler: _CloudTasks_DeleteQueue_Handler, + }, + { + MethodName: "PurgeQueue", + Handler: _CloudTasks_PurgeQueue_Handler, + }, + { + MethodName: "PauseQueue", + Handler: _CloudTasks_PauseQueue_Handler, + }, + { + MethodName: "ResumeQueue", + Handler: _CloudTasks_ResumeQueue_Handler, + }, + { + MethodName: "GetIamPolicy", + Handler: _CloudTasks_GetIamPolicy_Handler, + }, + { + MethodName: "SetIamPolicy", + Handler: _CloudTasks_SetIamPolicy_Handler, + }, + { + MethodName: "TestIamPermissions", + Handler: _CloudTasks_TestIamPermissions_Handler, + }, + { + MethodName: "ListTasks", + Handler: _CloudTasks_ListTasks_Handler, + }, + { + MethodName: "GetTask", + Handler: _CloudTasks_GetTask_Handler, + }, + { + MethodName: "CreateTask", + Handler: _CloudTasks_CreateTask_Handler, + }, + { + MethodName: "DeleteTask", + Handler: _CloudTasks_DeleteTask_Handler, + }, + { + MethodName: "RunTask", + Handler: _CloudTasks_RunTask_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/tasks/v2beta3/cloudtasks.proto", +} + +func init() { + proto.RegisterFile("google/cloud/tasks/v2beta3/cloudtasks.proto", fileDescriptor_cloudtasks_f9775ddf05248897) +} + +var fileDescriptor_cloudtasks_f9775ddf05248897 = []byte{ + // 1102 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x98, 0x5b, 0x6f, 0xdc, 0x44, + 0x14, 0xc7, 0x35, 0xb9, 0xb5, 0x39, 0xdb, 0x36, 0x64, 0x44, 0xab, 0x95, 0x0b, 0xd5, 0x62, 0x29, + 0xed, 0xe2, 0x52, 0x5b, 0xd9, 0xd2, 0x86, 0x6e, 0xa0, 0x4d, 0xd3, 0x36, 0x11, 0x04, 0xa4, 0xad, + 0x37, 0xf0, 0xc0, 0xcb, 0xca, 0xd9, 0x4c, 0x2c, 0x93, 0xf5, 0xa5, 0x1e, 0x3b, 0x81, 0x42, 0x84, + 0xc4, 0x23, 0x0f, 0xbc, 0x14, 0x21, 0xde, 0xb8, 0x0a, 0xc4, 0x03, 0x2f, 0x3c, 0xf3, 0x2d, 0xf8, + 0x0a, 0x7c, 0x10, 0x34, 0x17, 0xaf, 0x9d, 0x75, 0xd6, 0x76, 0x16, 0xe8, 0x53, 0x76, 0xe6, 0xfc, + 0x67, 0xce, 0xcf, 0x67, 0x8e, 0xe7, 0x1c, 0x07, 0xae, 0xdb, 0xbe, 0x6f, 0x0f, 0x88, 0xd1, 0x1f, + 0xf8, 0xf1, 0xae, 0x11, 0x59, 0x74, 0x9f, 0x1a, 0x07, 0xad, 0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d, 0x33, 0xb8, 0xd2, 0xf7, 0xdd, 0x02, 0x77, 0xeb, 0x0b, + 0x69, 0x23, 0xd9, 0x61, 0xe1, 0xe9, 0xa0, 0x0f, 0xef, 0x49, 0xb9, 0xed, 0x0f, 0x2c, 0xcf, 0xd6, + 0xfd, 0xd0, 0x36, 0x6c, 0xe2, 0xf1, 0xe0, 0x19, 0xc2, 0x64, 0x05, 0x0e, 0x3d, 0xe9, 0x1f, 0x1b, + 0xab, 0x7c, 0xf4, 0xe3, 0xd4, 0xec, 0xf6, 0xfd, 0xee, 0x56, 0x77, 0x67, 0x8e, 0xaf, 0xb9, 0xf9, + 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, 0xc1, 0x2c, 0x59, 0x9a, 0x11, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/queue.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/queue.pb.go new file mode 100644 index 000000000..a42d719a1 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/queue.pb.go @@ -0,0 +1,629 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/tasks/v2beta3/queue.proto + +package tasks // import "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import duration "github.com/golang/protobuf/ptypes/duration" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// State of the queue. +type Queue_State int32 + +const ( + // Unspecified state. + Queue_STATE_UNSPECIFIED Queue_State = 0 + // The queue is running. Tasks can be dispatched. + // + // If the queue was created using Cloud Tasks and the queue has + // had no activity (method calls or task dispatches) for 30 days, + // the queue may take a few minutes to re-activate. Some method + // calls may return [NOT_FOUND][google.rpc.Code.NOT_FOUND] and + // tasks may not be dispatched for a few minutes until the queue + // has been re-activated. + Queue_RUNNING Queue_State = 1 + // Tasks are paused by the user. If the queue is paused then Cloud + // Tasks will stop delivering tasks from it, but more tasks can + // still be added to it by the user. + Queue_PAUSED Queue_State = 2 + // The queue is disabled. + // + // A queue becomes `DISABLED` when + // [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or + // [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded + // which does not contain the queue. You cannot directly disable a queue. + // + // When a queue is disabled, tasks can still be added to a queue + // but the tasks are not dispatched. + // + // To permanently delete this queue and all of its tasks, call + // [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. + Queue_DISABLED Queue_State = 3 +) + +var Queue_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "RUNNING", + 2: "PAUSED", + 3: "DISABLED", +} +var Queue_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "RUNNING": 1, + "PAUSED": 2, + "DISABLED": 3, +} + +func (x Queue_State) String() string { + return proto.EnumName(Queue_State_name, int32(x)) +} +func (Queue_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_queue_794838e549a7d9e7, []int{0, 0} +} + +// A queue is a container of related tasks. Queues are configured to manage +// how those tasks are dispatched. Configurable properties include rate limits, +// retry options, queue types, and others. +type Queue struct { + // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], + // after which it becomes output only. + // + // The queue name. + // + // The queue name must have the following format: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + // + // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), + // hyphens (-), colons (:), or periods (.). + // For more information, see + // [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) + // * `LOCATION_ID` is the canonical ID for the queue's location. + // The list of available locations can be obtained by calling + // [ListLocations][google.cloud.location.Locations.ListLocations]. + // For more information, see https://cloud.google.com/about/locations/. + // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or + // hyphens (-). The maximum length is 100 characters. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue][], + // after which the queue config type becomes output only, though fields within + // the config are mutable. + // + // The queue's type. + // + // The type applies to all tasks in the queue. + // + // Types that are valid to be assigned to QueueType: + // *Queue_AppEngineHttpQueue + QueueType isQueue_QueueType `protobuf_oneof:"queue_type"` + // Rate limits for task dispatches. + // + // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and + // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both + // control task attempts however they control how tasks are + // attempted in different ways: + // + // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of + // dispatches from a queue (i.e. all traffic dispatched from the + // queue, regardless of whether the dispatch is from a first + // attempt or a retry). + // * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to + // particular a task after its first attempt fails. That is, + // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the + // second attempt, third attempt, etc). + RateLimits *RateLimits `protobuf:"bytes,4,opt,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"` + // Settings that determine the retry behavior. + // + // * For tasks created using Cloud Tasks: the queue-level retry settings + // apply to all tasks in the queue that were created using Cloud Tasks. + // Retry settings cannot be set on individual tasks. + // * For tasks created using the App Engine SDK: the queue-level retry + // settings apply to all tasks in the queue which do not have retry settings + // explicitly set on the task and were created by the App Engine SDK. See + // [App Engine documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). + RetryConfig *RetryConfig `protobuf:"bytes,5,opt,name=retry_config,json=retryConfig,proto3" json:"retry_config,omitempty"` + // Output only. The state of the queue. + // + // `state` can only be changed by called + // [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading + // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. + State Queue_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.tasks.v2beta3.Queue_State" json:"state,omitempty"` + // Output only. The last time this queue was purged. + // + // All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time + // were purged. + // + // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the + // [App Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). + // + // Purge time will be truncated to the nearest microsecond. Purge + // time will be unset if the queue has never been purged. + PurgeTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Queue) Reset() { *m = Queue{} } +func (m *Queue) String() string { return proto.CompactTextString(m) } +func (*Queue) ProtoMessage() {} +func (*Queue) Descriptor() ([]byte, []int) { + return fileDescriptor_queue_794838e549a7d9e7, []int{0} +} +func (m *Queue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Queue.Unmarshal(m, b) +} +func (m *Queue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Queue.Marshal(b, m, deterministic) +} +func (dst *Queue) XXX_Merge(src proto.Message) { + xxx_messageInfo_Queue.Merge(dst, src) +} +func (m *Queue) XXX_Size() int { + return xxx_messageInfo_Queue.Size(m) +} +func (m *Queue) XXX_DiscardUnknown() { + xxx_messageInfo_Queue.DiscardUnknown(m) +} + +var xxx_messageInfo_Queue proto.InternalMessageInfo + +func (m *Queue) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type isQueue_QueueType interface { + isQueue_QueueType() +} + +type Queue_AppEngineHttpQueue struct { + AppEngineHttpQueue *AppEngineHttpQueue `protobuf:"bytes,3,opt,name=app_engine_http_queue,json=appEngineHttpQueue,proto3,oneof"` +} + +func (*Queue_AppEngineHttpQueue) isQueue_QueueType() {} + +func (m *Queue) GetQueueType() isQueue_QueueType { + if m != nil { + return m.QueueType + } + return nil +} + +func (m *Queue) GetAppEngineHttpQueue() *AppEngineHttpQueue { + if x, ok := m.GetQueueType().(*Queue_AppEngineHttpQueue); ok { + return x.AppEngineHttpQueue + } + return nil +} + +func (m *Queue) GetRateLimits() *RateLimits { + if m != nil { + return m.RateLimits + } + return nil +} + +func (m *Queue) GetRetryConfig() *RetryConfig { + if m != nil { + return m.RetryConfig + } + return nil +} + +func (m *Queue) GetState() Queue_State { + if m != nil { + return m.State + } + return Queue_STATE_UNSPECIFIED +} + +func (m *Queue) GetPurgeTime() *timestamp.Timestamp { + if m != nil { + return m.PurgeTime + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Queue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Queue_OneofMarshaler, _Queue_OneofUnmarshaler, _Queue_OneofSizer, []interface{}{ + (*Queue_AppEngineHttpQueue)(nil), + } +} + +func _Queue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Queue) + // queue_type + switch x := m.QueueType.(type) { + case *Queue_AppEngineHttpQueue: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AppEngineHttpQueue); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Queue.QueueType has unexpected type %T", x) + } + return nil +} + +func _Queue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Queue) + switch tag { + case 3: // queue_type.app_engine_http_queue + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AppEngineHttpQueue) + err := b.DecodeMessage(msg) + m.QueueType = &Queue_AppEngineHttpQueue{msg} + return true, err + default: + return false, nil + } +} + +func _Queue_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Queue) + // queue_type + switch x := m.QueueType.(type) { + case *Queue_AppEngineHttpQueue: + s := proto.Size(x.AppEngineHttpQueue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Rate limits. +// +// This message determines the maximum rate that tasks can be dispatched by a +// queue, regardless of whether the dispatch is a first task attempt or a retry. +// +// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task +// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. +type RateLimits struct { + // The maximum rate at which tasks are dispatched from this queue. + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value + // is 500. + // + // + // This field has the same meaning as + // [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). + MaxDispatchesPerSecond float64 `protobuf:"fixed64,1,opt,name=max_dispatches_per_second,json=maxDispatchesPerSecond,proto3" json:"max_dispatches_per_second,omitempty"` + // Output only. The max burst size. + // + // Max burst size limits how fast tasks in queue are processed when + // many tasks are in the queue and the rate is high. This field + // allows the queue to have a high rate so processing starts shortly + // after a task is enqueued, but still limits resource usage when + // many tasks are enqueued in a short period of time. + // + // The [token bucket](https://wikipedia.org/wiki/Token_Bucket) + // algorithm is used to control the rate of task dispatches. Each + // queue has a token bucket that holds tokens, up to the maximum + // specified by `max_burst_size`. Each time a task is dispatched, a + // token is removed from the bucket. Tasks will be dispatched until + // the queue's bucket runs out of tokens. The bucket will be + // continuously refilled with new tokens based on + // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second]. + // + // Cloud Tasks will pick the value of `max_burst_size` based on the + // value of + // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second]. + // + // For App Engine queues that were created or updated using + // `queue.yaml/xml`, `max_burst_size` is equal to + // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). + // Since `max_burst_size` is output only, if + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + // created by `queue.yaml/xml`, `max_burst_size` will be reset based + // on the value of + // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], + // regardless of whether + // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] + // is updated. + // + MaxBurstSize int32 `protobuf:"varint,2,opt,name=max_burst_size,json=maxBurstSize,proto3" json:"max_burst_size,omitempty"` + // The maximum number of concurrent tasks that Cloud Tasks allows + // to be dispatched for this queue. After this threshold has been + // reached, Cloud Tasks stops dispatching tasks until the number of + // concurrent requests decreases. + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // + // The maximum allowed value is 5,000. + // + // + // This field has the same meaning as + // [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). + MaxConcurrentDispatches int32 `protobuf:"varint,3,opt,name=max_concurrent_dispatches,json=maxConcurrentDispatches,proto3" json:"max_concurrent_dispatches,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RateLimits) Reset() { *m = RateLimits{} } +func (m *RateLimits) String() string { return proto.CompactTextString(m) } +func (*RateLimits) ProtoMessage() {} +func (*RateLimits) Descriptor() ([]byte, []int) { + return fileDescriptor_queue_794838e549a7d9e7, []int{1} +} +func (m *RateLimits) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimits.Unmarshal(m, b) +} +func (m *RateLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimits.Marshal(b, m, deterministic) +} +func (dst *RateLimits) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimits.Merge(dst, src) +} +func (m *RateLimits) XXX_Size() int { + return xxx_messageInfo_RateLimits.Size(m) +} +func (m *RateLimits) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimits.DiscardUnknown(m) +} + +var xxx_messageInfo_RateLimits proto.InternalMessageInfo + +func (m *RateLimits) GetMaxDispatchesPerSecond() float64 { + if m != nil { + return m.MaxDispatchesPerSecond + } + return 0 +} + +func (m *RateLimits) GetMaxBurstSize() int32 { + if m != nil { + return m.MaxBurstSize + } + return 0 +} + +func (m *RateLimits) GetMaxConcurrentDispatches() int32 { + if m != nil { + return m.MaxConcurrentDispatches + } + return 0 +} + +// Retry config. +// +// These settings determine when a failed task attempt is retried. +type RetryConfig struct { + // Number of attempts per task. + // + // Cloud Tasks will attempt the task `max_attempts` times (that is, if the + // first attempt fails, then there will be `max_attempts - 1` retries). Must + // be >= -1. + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // -1 indicates unlimited attempts. + // + // This field has the same meaning as + // [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). + MaxAttempts int32 `protobuf:"varint,1,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"` + // If positive, `max_retry_duration` specifies the time limit for + // retrying a failed task, measured from when the task was first + // attempted. Once `max_retry_duration` time has passed *and* the + // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + // times, no further attempts will be made and the task will be + // deleted. + // + // If zero, then the task age is unlimited. + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // + // `max_retry_duration` will be truncated to the nearest second. + // + // This field has the same meaning as + // [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). + MaxRetryDuration *duration.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` + // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between + // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, + // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be + // retried. + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // + // `min_backoff` will be truncated to the nearest second. + // + // This field has the same meaning as + // [min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). + MinBackoff *duration.Duration `protobuf:"bytes,3,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` + // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between + // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, + // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be + // retried. + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // + // `max_backoff` will be truncated to the nearest second. + // + // This field has the same meaning as + // [max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). + MaxBackoff *duration.Duration `protobuf:"bytes,4,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` + // The time between retries will double `max_doublings` times. + // + // A task's retry interval starts at + // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles + // `max_doublings` times, then increases linearly, and finally + // retries retries at intervals of + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to + // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times. + // + // For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s, + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and + // `max_doublings` is 3, then the a task will first be retried in + // 10s. The retry interval will double three times, and then + // increase linearly by 2^3 * 10s. Finally, the task will retry at + // intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the + // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, + // 240s, 300s, 300s, .... + // + // If unspecified when the queue is created, Cloud Tasks will pick the + // default. + // + // + // This field has the same meaning as + // [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). + MaxDoublings int32 `protobuf:"varint,5,opt,name=max_doublings,json=maxDoublings,proto3" json:"max_doublings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RetryConfig) Reset() { *m = RetryConfig{} } +func (m *RetryConfig) String() string { return proto.CompactTextString(m) } +func (*RetryConfig) ProtoMessage() {} +func (*RetryConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_queue_794838e549a7d9e7, []int{2} +} +func (m *RetryConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RetryConfig.Unmarshal(m, b) +} +func (m *RetryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RetryConfig.Marshal(b, m, deterministic) +} +func (dst *RetryConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RetryConfig.Merge(dst, src) +} +func (m *RetryConfig) XXX_Size() int { + return xxx_messageInfo_RetryConfig.Size(m) +} +func (m *RetryConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RetryConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RetryConfig proto.InternalMessageInfo + +func (m *RetryConfig) GetMaxAttempts() int32 { + if m != nil { + return m.MaxAttempts + } + return 0 +} + +func (m *RetryConfig) GetMaxRetryDuration() *duration.Duration { + if m != nil { + return m.MaxRetryDuration + } + return nil +} + +func (m *RetryConfig) GetMinBackoff() *duration.Duration { + if m != nil { + return m.MinBackoff + } + return nil +} + +func (m *RetryConfig) GetMaxBackoff() *duration.Duration { + if m != nil { + return m.MaxBackoff + } + return nil +} + +func (m *RetryConfig) GetMaxDoublings() int32 { + if m != nil { + return m.MaxDoublings + } + return 0 +} + +func init() { + proto.RegisterType((*Queue)(nil), "google.cloud.tasks.v2beta3.Queue") + proto.RegisterType((*RateLimits)(nil), "google.cloud.tasks.v2beta3.RateLimits") + proto.RegisterType((*RetryConfig)(nil), "google.cloud.tasks.v2beta3.RetryConfig") + proto.RegisterEnum("google.cloud.tasks.v2beta3.Queue_State", Queue_State_name, Queue_State_value) +} + +func init() { + proto.RegisterFile("google/cloud/tasks/v2beta3/queue.proto", fileDescriptor_queue_794838e549a7d9e7) +} + +var fileDescriptor_queue_794838e549a7d9e7 = []byte{ + // 646 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcf, 0x4e, 0xdb, 0x4e, + 0x10, 0xc7, 0x31, 0x10, 0xf8, 0x31, 0xce, 0x0f, 0xa5, 0x2b, 0xd1, 0x86, 0xa8, 0xa2, 0x69, 0x5a, + 0x41, 0x4e, 0xb6, 0x04, 0x27, 0xa8, 0xaa, 0x2a, 0x21, 0x29, 0xa4, 0x42, 0x51, 0xea, 0xc0, 0xa5, + 0x17, 0x6b, 0xe3, 0x6c, 0x8c, 0x45, 0xf6, 0x4f, 0x77, 0xd7, 0x55, 0xe0, 0x41, 0xfa, 0x0e, 0x7d, + 0xaf, 0x3e, 0x48, 0xe5, 0xb1, 0x0d, 0xa8, 0xb4, 0xe9, 0xcd, 0x33, 0xf3, 0x99, 0xef, 0xcc, 0xce, + 0x4c, 0x02, 0xfb, 0xb1, 0x94, 0xf1, 0x9c, 0xf9, 0xd1, 0x5c, 0xa6, 0x53, 0xdf, 0x52, 0x73, 0x63, + 0xfc, 0x6f, 0x87, 0x13, 0x66, 0xe9, 0x91, 0xff, 0x35, 0x65, 0x29, 0xf3, 0x94, 0x96, 0x56, 0x92, + 0x46, 0xce, 0x79, 0xc8, 0x79, 0xc8, 0x79, 0x05, 0xd7, 0x78, 0x59, 0x68, 0x50, 0x95, 0xf8, 0x54, + 0x08, 0x69, 0xa9, 0x4d, 0xa4, 0x30, 0x79, 0x66, 0xe3, 0x60, 0x49, 0x05, 0x4b, 0x75, 0xcc, 0x6c, + 0x01, 0xee, 0x15, 0x20, 0x5a, 0x93, 0x74, 0xe6, 0x4f, 0x53, 0x8d, 0x4a, 0x45, 0xfc, 0xd5, 0xef, + 0x71, 0x9b, 0x70, 0x66, 0x2c, 0xe5, 0x2a, 0x07, 0x5a, 0x3f, 0xd7, 0xa0, 0xf2, 0x39, 0xeb, 0x99, + 0x10, 0x58, 0x17, 0x94, 0xb3, 0xba, 0xd3, 0x74, 0xda, 0x5b, 0x01, 0x7e, 0x93, 0x08, 0x76, 0xa8, + 0x52, 0x21, 0x13, 0x71, 0x22, 0x58, 0x78, 0x6d, 0xad, 0x0a, 0xf1, 0x81, 0xf5, 0xb5, 0xa6, 0xd3, + 0x76, 0x0f, 0x3d, 0xef, 0xef, 0x2f, 0xf4, 0x3a, 0x4a, 0xf5, 0x31, 0xef, 0xdc, 0x5a, 0x85, 0x25, + 0xce, 0x57, 0x02, 0x42, 0x9f, 0x78, 0xc9, 0x19, 0xb8, 0x9a, 0x5a, 0x16, 0xce, 0x13, 0x9e, 0x58, + 0x53, 0x5f, 0x47, 0xe9, 0xfd, 0x65, 0xd2, 0x01, 0xb5, 0xec, 0x02, 0xe9, 0x00,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c, 0xc4, 0xcf, 0x43, 0x54, 0x25, 0xe6, 0x4f, + 0x7f, 0x32, 0xef, 0xd0, 0x9a, 0x6c, 0x20, 0x7b, 0xf4, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x0d, + 0x1e, 0x57, 0xf1, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/target.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/target.pb.go new file mode 100644 index 000000000..faee65ebf --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/target.pb.go @@ -0,0 +1,476 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/tasks/v2beta3/target.proto + +package tasks // import "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The HTTP method used to execute the task. +type HttpMethod int32 + +const ( + // HTTP method unspecified + HttpMethod_HTTP_METHOD_UNSPECIFIED HttpMethod = 0 + // HTTP POST + HttpMethod_POST HttpMethod = 1 + // HTTP GET + HttpMethod_GET HttpMethod = 2 + // HTTP HEAD + HttpMethod_HEAD HttpMethod = 3 + // HTTP PUT + HttpMethod_PUT HttpMethod = 4 + // HTTP DELETE + HttpMethod_DELETE HttpMethod = 5 +) + +var HttpMethod_name = map[int32]string{ + 0: "HTTP_METHOD_UNSPECIFIED", + 1: "POST", + 2: "GET", + 3: "HEAD", + 4: "PUT", + 5: "DELETE", +} +var HttpMethod_value = map[string]int32{ + "HTTP_METHOD_UNSPECIFIED": 0, + "POST": 1, + "GET": 2, + "HEAD": 3, + "PUT": 4, + "DELETE": 5, +} + +func (x HttpMethod) String() string { + return proto.EnumName(HttpMethod_name, int32(x)) +} +func (HttpMethod) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_target_d181648443660751, []int{0} +} + +// App Engine HTTP queue. +// +// The task will be delivered to the App Engine application hostname +// specified by its [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. +// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] explains how the +// task's host URL is constructed. +// +// Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] requires +// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) +// Google IAM permission for the project +// and the following scope: +// +// `https://www.googleapis.com/auth/cloud-platform` +type AppEngineHttpQueue struct { + // Overrides for the + // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // + // If set, `app_engine_routing_override` is used for all tasks in + // the queue, no matter what the setting is for the + // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + AppEngineRoutingOverride *AppEngineRouting `protobuf:"bytes,1,opt,name=app_engine_routing_override,json=appEngineRoutingOverride,proto3" json:"app_engine_routing_override,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AppEngineHttpQueue) Reset() { *m = AppEngineHttpQueue{} } +func (m *AppEngineHttpQueue) String() string { return proto.CompactTextString(m) } +func (*AppEngineHttpQueue) ProtoMessage() {} +func (*AppEngineHttpQueue) Descriptor() ([]byte, []int) { + return fileDescriptor_target_d181648443660751, []int{0} +} +func (m *AppEngineHttpQueue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AppEngineHttpQueue.Unmarshal(m, b) +} +func (m *AppEngineHttpQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AppEngineHttpQueue.Marshal(b, m, deterministic) +} +func (dst *AppEngineHttpQueue) XXX_Merge(src proto.Message) { + xxx_messageInfo_AppEngineHttpQueue.Merge(dst, src) +} +func (m *AppEngineHttpQueue) XXX_Size() int { + return xxx_messageInfo_AppEngineHttpQueue.Size(m) +} +func (m *AppEngineHttpQueue) XXX_DiscardUnknown() { + xxx_messageInfo_AppEngineHttpQueue.DiscardUnknown(m) +} + +var xxx_messageInfo_AppEngineHttpQueue proto.InternalMessageInfo + +func (m *AppEngineHttpQueue) GetAppEngineRoutingOverride() *AppEngineRouting { + if m != nil { + return m.AppEngineRoutingOverride + } + return nil +} + +// App Engine HTTP request. +// +// The message defines the HTTP request that is sent to an App Engine app when +// the task is dispatched. +// +// This proto can only be used for tasks in a queue which has +// [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] set. +// +// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] requires +// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) +// Google IAM permission for the project +// and the following scope: +// +// `https://www.googleapis.com/auth/cloud-platform` +// +// The task will be delivered to the App Engine app which belongs to the same +// project as the queue. For more information, see +// [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) +// and how routing is affected by +// [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). +// +// The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is +// delivered to can be set at the queue-level or task-level: +// +// * If set, +// [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] +// is used for all tasks in the queue, no matter what the setting +// is for the +// [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. +// +// +// The `url` that the task will be sent to is: +// +// * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` +// [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] +// +// The task attempt has succeeded if the app's request handler returns +// an HTTP response code in the range [`200` - `299`]. `503` is +// considered an App Engine system error instead of an application +// error. Requests returning error `503` will be retried regardless of +// retry configuration and not counted against retry counts. +// Any other response code or a failure to receive a response before the +// deadline is a failed attempt. +type AppEngineHttpRequest struct { + // The HTTP method to use for the request. The default is POST. + // + // The app's request handler for the task's target URL must be able to handle + // HTTP requests with this http_method, otherwise the task attempt will fail + // with error code 405 (Method Not Allowed). See + // [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) + // and the documentation for the request handlers in the language your app is + // written in e.g. + // [Python Request Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). + HttpMethod HttpMethod `protobuf:"varint,1,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.tasks.v2beta3.HttpMethod" json:"http_method,omitempty"` + // Task-level setting for App Engine routing. + // + // If set, + // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] + // is used for all tasks in the queue, no matter what the setting is for the + // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + AppEngineRouting *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing,json=appEngineRouting,proto3" json:"app_engine_routing,omitempty"` + // The relative URI. + // + // The relative URI must begin with "/" and must be a valid HTTP relative URI. + // It can contain a path and query string arguments. + // If the relative URI is empty, then the root path "/" will be used. + // No spaces are allowed, and the maximum length allowed is 2083 characters. + RelativeUri string `protobuf:"bytes,3,opt,name=relative_uri,json=relativeUri,proto3" json:"relative_uri,omitempty"` + // HTTP request headers. + // + // This map contains the header field names and values. + // Headers can be set when the + // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // Repeated headers are not supported but a header value can contain commas. + // + // Cloud Tasks sets some headers to default values: + // + // * `User-Agent`: By default, this header is + // `"AppEngine-Google; (+http://code.google.com/appengine)"`. + // This header can be modified, but Cloud Tasks will append + // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the + // modified `User-Agent`. + // + // If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + // Tasks sets the following headers: + // + // * `Content-Type`: By default, the `Content-Type` header is set to + // `"application/octet-stream"`. The default can be overridden by explicitly + // setting `Content-Type` to a particular media type when the + // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // For example, `Content-Type` can be set to `"application/json"`. + // * `Content-Length`: This is computed by Cloud Tasks. This value is + // output only. It cannot be changed. + // + // The headers below cannot be set or overridden: + // + // * `Host` + // * `X-Google-*` + // * `X-AppEngine-*` + // + // In addition, Cloud Tasks sets some headers when the task is dispatched, + // such as headers containing information about the task; see + // [request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). + // These headers are set only when the task is dispatched, so they are not + // visible when the task is returned in a Cloud Tasks response. + // + // Although there is no specific limit for the maximum number of headers or + // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + // information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. + Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // HTTP request body. + // + // A request body is allowed only if the HTTP method is POST or PUT. It is + // an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. + Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AppEngineHttpRequest) Reset() { *m = AppEngineHttpRequest{} } +func (m *AppEngineHttpRequest) String() string { return proto.CompactTextString(m) } +func (*AppEngineHttpRequest) ProtoMessage() {} +func (*AppEngineHttpRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_target_d181648443660751, []int{1} +} +func (m *AppEngineHttpRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AppEngineHttpRequest.Unmarshal(m, b) +} +func (m *AppEngineHttpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AppEngineHttpRequest.Marshal(b, m, deterministic) +} +func (dst *AppEngineHttpRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AppEngineHttpRequest.Merge(dst, src) +} +func (m *AppEngineHttpRequest) XXX_Size() int { + return xxx_messageInfo_AppEngineHttpRequest.Size(m) +} +func (m *AppEngineHttpRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AppEngineHttpRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AppEngineHttpRequest proto.InternalMessageInfo + +func (m *AppEngineHttpRequest) GetHttpMethod() HttpMethod { + if m != nil { + return m.HttpMethod + } + return HttpMethod_HTTP_METHOD_UNSPECIFIED +} + +func (m *AppEngineHttpRequest) GetAppEngineRouting() *AppEngineRouting { + if m != nil { + return m.AppEngineRouting + } + return nil +} + +func (m *AppEngineHttpRequest) GetRelativeUri() string { + if m != nil { + return m.RelativeUri + } + return "" +} + +func (m *AppEngineHttpRequest) GetHeaders() map[string]string { + if m != nil { + return m.Headers + } + return nil +} + +func (m *AppEngineHttpRequest) GetBody() []byte { + if m != nil { + return m.Body + } + return nil +} + +// App Engine Routing. +// +// Specifies the target URI. Since this target type dispatches tasks to secure +// app handlers, unsecure app handlers, and URIs restricted with +// [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref) +// the protocol (for example, HTTP or HTTPS) cannot be explictly specified. +// Task dispatches do not follow redirects and cannot target URI paths +// restricted with +// [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) +// because tasks are not run as any user. +// +// For more information about services, versions, and instances see +// [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), +// [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), +// [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), +// and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). +type AppEngineRouting struct { + // App service. + // + // By default, the task is sent to the service which is the default + // service when the task is attempted. + // + // For some queues or tasks which were created using the App Engine + // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + // which were created using the App Engine SDK use a custom domain + // name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + // App version. + // + // By default, the task is sent to the version which is the default + // version when the task is attempted. + // + // For some queues or tasks which were created using the App Engine + // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + // which were created using the App Engine SDK use a custom domain + // name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + // App instance. + // + // By default, the task is sent to an instance which is available when + // the task is attempted. + // + // Requests can only be sent to a specific instance if + // [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). + // App Engine Flex does not support instances. For more information, see + // [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) + // and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). + Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` + // Output only. The host that the task is sent to. + // + // The host is constructed from the domain name of the app associated with + // the queue's project ID (for example .appspot.com), and the + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + // and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + // the App Engine SDK might have a custom domain name. + // + // For more information, see + // [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). + Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AppEngineRouting) Reset() { *m = AppEngineRouting{} } +func (m *AppEngineRouting) String() string { return proto.CompactTextString(m) } +func (*AppEngineRouting) ProtoMessage() {} +func (*AppEngineRouting) Descriptor() ([]byte, []int) { + return fileDescriptor_target_d181648443660751, []int{2} +} +func (m *AppEngineRouting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AppEngineRouting.Unmarshal(m, b) +} +func (m *AppEngineRouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AppEngineRouting.Marshal(b, m, deterministic) +} +func (dst *AppEngineRouting) XXX_Merge(src proto.Message) { + xxx_messageInfo_AppEngineRouting.Merge(dst, src) +} +func (m *AppEngineRouting) XXX_Size() int { + return xxx_messageInfo_AppEngineRouting.Size(m) +} +func (m *AppEngineRouting) XXX_DiscardUnknown() { + xxx_messageInfo_AppEngineRouting.DiscardUnknown(m) +} + +var xxx_messageInfo_AppEngineRouting proto.InternalMessageInfo + +func (m *AppEngineRouting) GetService() string { + if m != nil { + return m.Service + } + return "" +} + +func (m *AppEngineRouting) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *AppEngineRouting) GetInstance() string { + if m != nil { + return m.Instance + } + return "" +} + +func (m *AppEngineRouting) GetHost() string { + if m != nil { + return m.Host + } + return "" +} + +func init() { + proto.RegisterType((*AppEngineHttpQueue)(nil), "google.cloud.tasks.v2beta3.AppEngineHttpQueue") + proto.RegisterType((*AppEngineHttpRequest)(nil), "google.cloud.tasks.v2beta3.AppEngineHttpRequest") + proto.RegisterMapType((map[string]string)(nil), "google.cloud.tasks.v2beta3.AppEngineHttpRequest.HeadersEntry") + proto.RegisterType((*AppEngineRouting)(nil), "google.cloud.tasks.v2beta3.AppEngineRouting") + proto.RegisterEnum("google.cloud.tasks.v2beta3.HttpMethod", HttpMethod_name, HttpMethod_value) +} + +func init() { + proto.RegisterFile("google/cloud/tasks/v2beta3/target.proto", fileDescriptor_target_d181648443660751) +} + +var fileDescriptor_target_d181648443660751 = []byte{ + // 511 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x51, 0x6b, 0xd3, 0x50, + 0x14, 0x36, 0x4d, 0xbb, 0xae, 0xa7, 0x45, 0xc2, 0x65, 0x60, 0xe8, 0x44, 0x6a, 0x1f, 0xb4, 0x88, + 0x24, 0xd0, 0xbd, 0xc8, 0x44, 0x64, 0xb3, 0x71, 0x1d, 0x38, 0x1b, 0xb3, 0x14, 0x61, 0x3e, 0x84, + 0xdb, 0xf6, 0x90, 0x5e, 0xda, 0xdd, 0x1b, 0x6f, 0x6e, 0x02, 0x7d, 0xf4, 0xc9, 0xbf, 0x2d, 0xb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x5a, 0x41, 0x8d, 0xbd, 0xb3, + 0x91, 0x65, 0x16, 0x94, 0x3f, 0x0d, 0xad, 0x3a, 0x01, 0x38, 0x18, 0x79, 0x1f, 0xbc, 0xd0, 0xb3, + 0x1a, 0xe7, 0x09, 0x3c, 0x99, 0x8b, 0xdb, 0x7b, 0x12, 0x3f, 0x6f, 0x87, 0xfa, 0x98, 0xfc, 0xe2, + 0x22, 0x7c, 0xe3, 0xe6, 0x6d, 0x25, 0x8d, 0xc5, 0x9a, 0xf2, 0xd8, 0x11, 0x32, 0x76, 0x63, 0xe4, + 0xfa, 0x5e, 0xdc, 0xf2, 0x13, 0x4d, 0x58, 0xfa, 0xa7, 0xab, 0x7c, 0xad, 0xd1, 0xec, 0x40, 0x6b, + 0x4f, 0x7e, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x26, 0x4d, 0x45, 0xc0, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/task.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/task.pb.go new file mode 100644 index 000000000..f89c19592 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/task.pb.go @@ -0,0 +1,414 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/tasks/v2beta3/task.proto + +package tasks // import "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import status "google.golang.org/genproto/googleapis/rpc/status" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data. +// +// When a task is returned in a response, not all +// information is retrieved by default because some data, such as +// payloads, might be desirable to return only when needed because +// of its large size or because of the sensitivity of data that it +// contains. +type Task_View int32 + +const ( + // Unspecified. Defaults to BASIC. + Task_VIEW_UNSPECIFIED Task_View = 0 + // The basic view omits fields which can be large or can contain + // sensitive data. + // + // This view does not include the + // [body in AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. + // Bodies are desirable to return only when needed, because they + // can be large and because of the sensitivity of the data that you + // choose to store in it. + Task_BASIC Task_View = 1 + // All information is returned. + // + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Queue][google.cloud.tasks.v2beta3.Queue] resource. + Task_FULL Task_View = 2 +) + +var Task_View_name = map[int32]string{ + 0: "VIEW_UNSPECIFIED", + 1: "BASIC", + 2: "FULL", +} +var Task_View_value = map[string]int32{ + "VIEW_UNSPECIFIED": 0, + "BASIC": 1, + "FULL": 2, +} + +func (x Task_View) String() string { + return proto.EnumName(Task_View_name, int32(x)) +} +func (Task_View) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_task_949e38cc41c5c152, []int{0, 0} +} + +// A unit of scheduled work. +type Task struct { + // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // + // The task name. + // + // The task name must have the following format: + // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + // + // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), + // hyphens (-), colons (:), or periods (.). + // For more information, see + // [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) + // * `LOCATION_ID` is the canonical ID for the task's location. + // The list of available locations can be obtained by calling + // [ListLocations][google.cloud.location.Locations.ListLocations]. + // For more information, see https://cloud.google.com/about/locations/. + // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or + // hyphens (-). The maximum length is 100 characters. + // * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), + // hyphens (-), or underscores (_). The maximum length is 500 characters. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. + // + // The task's payload is used by the task's target to process the task. + // A payload is valid only if it is compatible with the queue's target. + // + // Types that are valid to be assigned to PayloadType: + // *Task_AppEngineHttpRequest + PayloadType isTask_PayloadType `protobuf_oneof:"payload_type"` + // The time when the task is scheduled to be attempted. + // + // For App Engine queues, this is when the task will be attempted or retried. + // + // `schedule_time` will be truncated to the nearest microsecond. + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + // Output only. The time that the task was created. + // + // `create_time` will be truncated to the nearest second. + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The number of attempts dispatched. + // + // This count includes tasks which have been dispatched but haven't + // received a response. + DispatchCount int32 `protobuf:"varint,6,opt,name=dispatch_count,json=dispatchCount,proto3" json:"dispatch_count,omitempty"` + // Output only. The number of attempts which have received a response. + ResponseCount int32 `protobuf:"varint,7,opt,name=response_count,json=responseCount,proto3" json:"response_count,omitempty"` + // Output only. The status of the task's first attempt. + // + // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set. + // The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks. + FirstAttempt *Attempt `protobuf:"bytes,8,opt,name=first_attempt,json=firstAttempt,proto3" json:"first_attempt,omitempty"` + // Output only. The status of the task's last attempt. + LastAttempt *Attempt `protobuf:"bytes,9,opt,name=last_attempt,json=lastAttempt,proto3" json:"last_attempt,omitempty"` + // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has + // been returned. + View Task_View `protobuf:"varint,10,opt,name=view,proto3,enum=google.cloud.tasks.v2beta3.Task_View" json:"view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Task) Reset() { *m = Task{} } +func (m *Task) String() string { return proto.CompactTextString(m) } +func (*Task) ProtoMessage() {} +func (*Task) Descriptor() ([]byte, []int) { + return fileDescriptor_task_949e38cc41c5c152, []int{0} +} +func (m *Task) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Task.Unmarshal(m, b) +} +func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Task.Marshal(b, m, deterministic) +} +func (dst *Task) XXX_Merge(src proto.Message) { + xxx_messageInfo_Task.Merge(dst, src) +} +func (m *Task) XXX_Size() int { + return xxx_messageInfo_Task.Size(m) +} +func (m *Task) XXX_DiscardUnknown() { + xxx_messageInfo_Task.DiscardUnknown(m) +} + +var xxx_messageInfo_Task proto.InternalMessageInfo + +func (m *Task) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type isTask_PayloadType interface { + isTask_PayloadType() +} + +type Task_AppEngineHttpRequest struct { + AppEngineHttpRequest *AppEngineHttpRequest `protobuf:"bytes,3,opt,name=app_engine_http_request,json=appEngineHttpRequest,proto3,oneof"` +} + +func (*Task_AppEngineHttpRequest) isTask_PayloadType() {} + +func (m *Task) GetPayloadType() isTask_PayloadType { + if m != nil { + return m.PayloadType + } + return nil +} + +func (m *Task) GetAppEngineHttpRequest() *AppEngineHttpRequest { + if x, ok := m.GetPayloadType().(*Task_AppEngineHttpRequest); ok { + return x.AppEngineHttpRequest + } + return nil +} + +func (m *Task) GetScheduleTime() *timestamp.Timestamp { + if m != nil { + return m.ScheduleTime + } + return nil +} + +func (m *Task) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *Task) GetDispatchCount() int32 { + if m != nil { + return m.DispatchCount + } + return 0 +} + +func (m *Task) GetResponseCount() int32 { + if m != nil { + return m.ResponseCount + } + return 0 +} + +func (m *Task) GetFirstAttempt() *Attempt { + if m != nil { + return m.FirstAttempt + } + return nil +} + +func (m *Task) GetLastAttempt() *Attempt { + if m != nil { + return m.LastAttempt + } + return nil +} + +func (m *Task) GetView() Task_View { + if m != nil { + return m.View + } + return Task_VIEW_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Task) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Task_OneofMarshaler, _Task_OneofUnmarshaler, _Task_OneofSizer, []interface{}{ + (*Task_AppEngineHttpRequest)(nil), + } +} + +func _Task_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Task) + // payload_type + switch x := m.PayloadType.(type) { + case *Task_AppEngineHttpRequest: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AppEngineHttpRequest); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Task.PayloadType has unexpected type %T", x) + } + return nil +} + +func _Task_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Task) + switch tag { + case 3: // payload_type.app_engine_http_request + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AppEngineHttpRequest) + err := b.DecodeMessage(msg) + m.PayloadType = &Task_AppEngineHttpRequest{msg} + return true, err + default: + return false, nil + } +} + +func _Task_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Task) + // payload_type + switch x := m.PayloadType.(type) { + case *Task_AppEngineHttpRequest: + s := proto.Size(x.AppEngineHttpRequest) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// The status of a task attempt. +type Attempt struct { + // Output only. The time that this attempt was scheduled. + // + // `schedule_time` will be truncated to the nearest microsecond. + ScheduleTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` + // Output only. The time that this attempt was dispatched. + // + // `dispatch_time` will be truncated to the nearest microsecond. + DispatchTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=dispatch_time,json=dispatchTime,proto3" json:"dispatch_time,omitempty"` + // Output only. The time that this attempt response was received. + // + // `response_time` will be truncated to the nearest microsecond. + ResponseTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"` + // Output only. The response from the target for this attempt. + // + // If `response_time` is unset, then the task has not been attempted or is + // currently running and the `response_status` field is meaningless. + ResponseStatus *status.Status `protobuf:"bytes,4,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Attempt) Reset() { *m = Attempt{} } +func (m *Attempt) String() string { return proto.CompactTextString(m) } +func (*Attempt) ProtoMessage() {} +func (*Attempt) Descriptor() ([]byte, []int) { + return fileDescriptor_task_949e38cc41c5c152, []int{1} +} +func (m *Attempt) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Attempt.Unmarshal(m, b) +} +func (m *Attempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Attempt.Marshal(b, m, deterministic) +} +func (dst *Attempt) XXX_Merge(src proto.Message) { + xxx_messageInfo_Attempt.Merge(dst, src) +} +func (m *Attempt) XXX_Size() int { + return xxx_messageInfo_Attempt.Size(m) +} +func (m *Attempt) XXX_DiscardUnknown() { + xxx_messageInfo_Attempt.DiscardUnknown(m) +} + +var xxx_messageInfo_Attempt proto.InternalMessageInfo + +func (m *Attempt) GetScheduleTime() *timestamp.Timestamp { + if m != nil { + return m.ScheduleTime + } + return nil +} + +func (m *Attempt) GetDispatchTime() *timestamp.Timestamp { + if m != nil { + return m.DispatchTime + } + return nil +} + +func (m *Attempt) GetResponseTime() *timestamp.Timestamp { + if m != nil { + return m.ResponseTime + } + return nil +} + +func (m *Attempt) GetResponseStatus() *status.Status { + if m != nil { + return m.ResponseStatus + } + return nil +} + +func init() { + proto.RegisterType((*Task)(nil), "google.cloud.tasks.v2beta3.Task") + proto.RegisterType((*Attempt)(nil), "google.cloud.tasks.v2beta3.Attempt") + proto.RegisterEnum("google.cloud.tasks.v2beta3.Task_View", Task_View_name, Task_View_value) +} + +func init() { + proto.RegisterFile("google/cloud/tasks/v2beta3/task.proto", fileDescriptor_task_949e38cc41c5c152) +} + +var fileDescriptor_task_949e38cc41c5c152 = []byte{ + // 538 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcd, 0x6e, 0xda, 0x40, + 0x10, 0xc7, 0xe3, 0xc4, 0xf9, 0x60, 0x03, 0x14, 0xad, 0x22, 0xc5, 0x42, 0x55, 0x8b, 0xa8, 0x50, + 0x39, 0xd9, 0x2d, 0x39, 0x55, 0x39, 0xa0, 0x40, 0x41, 0x20, 0x45, 0x15, 0x32, 0x49, 0x2a, 0xf5, + 0x62, 0x2d, 0x66, 0x63, 0xac, 0x98, 0xdd, 0xad, 0x77, 0x9c, 0x28, 0x8f, 0xd0, 0xc7, 0xec, 0x9b, + 0x54, 0xde, 0x0f, 0x54, 0xa9, 0x29, 0xb4, 0x37, 0xcf, 0xec, 0xef, 0xff, 0x9f, 0x59, 0xcf, 0xd8, + 0xa8, 0x93, 0x70, 0x9e, 0x64, 0x34, 0x88, 0x33, 0x5e, 0x2c, 0x03, 0x20, 0xf2, 0x41, 0x06, 0x8f, + 0xbd, 0x05, 0x05, 0x72, 0xa1, 0x22, 0x5f, 0xe4, 0x1c, 0x38, 0x6e, 0x6a, 0xcc, 0x57, 0x98, 0xaf, + 0x30, 0xdf, 0x60, 0xcd, 0xd7, 0xc6, 0x82, 0x88, 0x34, 0x20, 0x8c, 0x71, 0x20, 0x90, 0x72, 0x26, + 0xb5, 0xb2, 0xf9, 0x7e, 0x6b, 0x81, 0x3c, 0xa1, 0x60, 0xc0, 0xb7, 0x06, 0x54, 0xd1, 0xa2, 0xb8, + 0x0f, 0x20, 0x5d, 0x53, 0x09, 0x64, 0x2d, 0x0c, 0x70, 0x6e, 0x80, 0x5c, 0xc4, 0x81, 0x04, 0x02, + 0x85, 0x29, 0xd1, 0xfe, 0xe9, 0x22, 0xf7, 0x86, 0xc8, 0x07, 0x8c, 0x91, 0xcb, 0xc8, 0x9a, 0x7a, + 0x4e, 0xcb, 0xe9, 0x56, 0x42, 0xf5, 0x8c, 0x53, 0x74, 0x4e, 0x84, 0x88, 0x28, 0x4b, 0x52, 0x46, + 0xa3, 0x15, 0x80, 0x88, 0x72, 0xfa, 0xbd, 0xa0, 0x12, 0xbc, 0x83, 0x96, 0xd3, 0x3d, 0xed, 0x7d, + 0xf0, 0xff, 0x7e, 0x37, 0xff, 0x4a, 0x88, 0x91, 0x52, 0x4e, 0x00, 0x44, 0xa8, 0x75, 0x93, 0xbd, + 0xf0, 0x8c, 0xbc, 0x90, 0xc7, 0x7d, 0x54, 0x93, 0xf1, 0x8a, 0x2e, 0x8b, 0x8c, 0x46, 0x65, 0xf3, + 0x9e, 0xab, 0x0a, 0x34, 0x6d, 0x01, 0x7b, 0x33, 0xff, 0xc6, 0xde, 0x2c, 0xac, 0x5a, 0x41, 0x99, + 0xc2, 0x97, 0xe8, 0x34, 0xce, 0x29, 0x01, 0x23, 0x3f, 0xdc, 0x29, 0x47, 0x1a, 0x57, 0xe2, 0x0e, + 0xaa, 0x2f, 0x53, 0x29, 0x08, 0xc4, 0xab, 0x28, 0xe6, 0x05, 0x03, 0xef, 0xa8, 0xe5, 0x74, 0x0f, + 0xc3, 0x9a, 0xcd, 0x0e, 0xcb, 0x64, 0x89, 0xe5, 0x54, 0x0a, 0xce, 0x24, 0x35, 0xd8, 0xb1, 0xc6, +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80, 0x41, 0xa5, 0x9c, 0xc0, 0xac, 0x6c, 0x62, 0xe6, 0x7c, 0xeb, + 0x1b, 0x30, 0xe1, 0x19, 0x61, 0x89, 0xcf, 0xf3, 0x24, 0x48, 0x28, 0x53, 0x2d, 0x06, 0xfa, 0x88, + 0x88, 0x54, 0xbe, 0xf4, 0x83, 0xb8, 0x54, 0xd1, 0xe2, 0x48, 0xb1, 0x17, 0xbf, 0x02, 0x00, 0x00, + 0xff, 0xff, 0xa7, 0x0f, 0xef, 0xad, 0xac, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1/cloud_tts.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1/cloud_tts.pb.go index 431f3d955..477afc6b2 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1/cloud_tts.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1/cloud_tts.pb.go @@ -51,16 +51,16 @@ var SsmlVoiceGender_name = map[int32]string{ } var SsmlVoiceGender_value = map[string]int32{ "SSML_VOICE_GENDER_UNSPECIFIED": 0, - "MALE": 1, - "FEMALE": 2, - "NEUTRAL": 3, + "MALE": 1, + "FEMALE": 2, + "NEUTRAL": 3, } func (x SsmlVoiceGender) String() string { return proto.EnumName(SsmlVoiceGender_name, int32(x)) } func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{0} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{0} } // Configuration to set up audio encoder. The encoding determines the output @@ -99,7 +99,7 @@ func (x AudioEncoding) String() string { return proto.EnumName(AudioEncoding_name, int32(x)) } func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{1} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{1} } // The top-level message sent by the client for the `ListVoices` method. @@ -122,7 +122,7 @@ func (m *ListVoicesRequest) Reset() { *m = ListVoicesRequest{} } func (m *ListVoicesRequest) String() string { return proto.CompactTextString(m) } func (*ListVoicesRequest) ProtoMessage() {} func (*ListVoicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{0} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{0} } func (m *ListVoicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVoicesRequest.Unmarshal(m, b) @@ -162,7 +162,7 @@ func (m *ListVoicesResponse) Reset() { *m = ListVoicesResponse{} } func (m *ListVoicesResponse) String() string { return proto.CompactTextString(m) } func (*ListVoicesResponse) ProtoMessage() {} func (*ListVoicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{1} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{1} } func (m *ListVoicesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVoicesResponse.Unmarshal(m, b) @@ -210,7 +210,7 @@ func (m *Voice) Reset() { *m = Voice{} } func (m *Voice) String() string { return proto.CompactTextString(m) } func (*Voice) ProtoMessage() {} func (*Voice) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{2} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{2} } func (m *Voice) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Voice.Unmarshal(m, b) @@ -275,7 +275,7 @@ func (m *SynthesizeSpeechRequest) Reset() { *m = SynthesizeSpeechRequest func (m *SynthesizeSpeechRequest) String() string { return proto.CompactTextString(m) } func (*SynthesizeSpeechRequest) ProtoMessage() {} func (*SynthesizeSpeechRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{3} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{3} } func (m *SynthesizeSpeechRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesizeSpeechRequest.Unmarshal(m, b) @@ -336,7 +336,7 @@ func (m *SynthesisInput) Reset() { *m = SynthesisInput{} } func (m *SynthesisInput) String() string { return proto.CompactTextString(m) } func (*SynthesisInput) ProtoMessage() {} func (*SynthesisInput) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{4} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{4} } func (m *SynthesisInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesisInput.Unmarshal(m, b) @@ -363,11 +363,13 @@ type isSynthesisInput_InputSource interface { type SynthesisInput_Text struct { Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` } + type SynthesisInput_Ssml struct { Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` } func (*SynthesisInput_Text) isSynthesisInput_InputSource() {} + func (*SynthesisInput_Ssml) isSynthesisInput_InputSource() {} func (m *SynthesisInput) GetInputSource() isSynthesisInput_InputSource { @@ -489,7 +491,7 @@ func (m *VoiceSelectionParams) Reset() { *m = VoiceSelectionParams{} } func (m *VoiceSelectionParams) String() string { return proto.CompactTextString(m) } func (*VoiceSelectionParams) ProtoMessage() {} func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{5} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{5} } func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) @@ -568,7 +570,7 @@ func (m *AudioConfig) Reset() { *m = AudioConfig{} } func (m *AudioConfig) String() string { return proto.CompactTextString(m) } func (*AudioConfig) ProtoMessage() {} func (*AudioConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{6} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{6} } func (m *AudioConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioConfig.Unmarshal(m, b) @@ -639,7 +641,7 @@ func (m *SynthesizeSpeechResponse) Reset() { *m = SynthesizeSpeechRespon func (m *SynthesizeSpeechResponse) String() string { return proto.CompactTextString(m) } func (*SynthesizeSpeechResponse) ProtoMessage() {} func (*SynthesizeSpeechResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_bc3ee81beb174f4f, []int{7} + return fileDescriptor_cloud_tts_75c08ddd85578159, []int{7} } func (m *SynthesizeSpeechResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesizeSpeechResponse.Unmarshal(m, b) @@ -793,10 +795,10 @@ var _TextToSpeech_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/texttospeech/v1/cloud_tts.proto", fileDescriptor_cloud_tts_bc3ee81beb174f4f) + proto.RegisterFile("google/cloud/texttospeech/v1/cloud_tts.proto", fileDescriptor_cloud_tts_75c08ddd85578159) } -var fileDescriptor_cloud_tts_bc3ee81beb174f4f = []byte{ +var fileDescriptor_cloud_tts_75c08ddd85578159 = []byte{ // 868 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x41, 0x6f, 0x1b, 0x45, 0x14, 0xee, 0xd8, 0x71, 0xda, 0x3e, 0xaf, 0x5d, 0x67, 0x88, 0xc0, 0x44, 0xa5, 0x32, 0x1b, 0x90, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go index 72c97b1de..9a11c036b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go @@ -51,16 +51,16 @@ var SsmlVoiceGender_name = map[int32]string{ } var SsmlVoiceGender_value = map[string]int32{ "SSML_VOICE_GENDER_UNSPECIFIED": 0, - "MALE": 1, - "FEMALE": 2, - "NEUTRAL": 3, + "MALE": 1, + "FEMALE": 2, + "NEUTRAL": 3, } func (x SsmlVoiceGender) String() string { return proto.EnumName(SsmlVoiceGender_name, int32(x)) } func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{0} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{0} } // Configuration to set up audio encoder. The encoding determines the output @@ -99,7 +99,7 @@ func (x AudioEncoding) String() string { return proto.EnumName(AudioEncoding_name, int32(x)) } func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{1} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{1} } // The top-level message sent by the client for the `ListVoices` method. @@ -122,7 +122,7 @@ func (m *ListVoicesRequest) Reset() { *m = ListVoicesRequest{} } func (m *ListVoicesRequest) String() string { return proto.CompactTextString(m) } func (*ListVoicesRequest) ProtoMessage() {} func (*ListVoicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{0} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{0} } func (m *ListVoicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVoicesRequest.Unmarshal(m, b) @@ -162,7 +162,7 @@ func (m *ListVoicesResponse) Reset() { *m = ListVoicesResponse{} } func (m *ListVoicesResponse) String() string { return proto.CompactTextString(m) } func (*ListVoicesResponse) ProtoMessage() {} func (*ListVoicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{1} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{1} } func (m *ListVoicesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVoicesResponse.Unmarshal(m, b) @@ -210,7 +210,7 @@ func (m *Voice) Reset() { *m = Voice{} } func (m *Voice) String() string { return proto.CompactTextString(m) } func (*Voice) ProtoMessage() {} func (*Voice) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{2} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{2} } func (m *Voice) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Voice.Unmarshal(m, b) @@ -275,7 +275,7 @@ func (m *SynthesizeSpeechRequest) Reset() { *m = SynthesizeSpeechRequest func (m *SynthesizeSpeechRequest) String() string { return proto.CompactTextString(m) } func (*SynthesizeSpeechRequest) ProtoMessage() {} func (*SynthesizeSpeechRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{3} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{3} } func (m *SynthesizeSpeechRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesizeSpeechRequest.Unmarshal(m, b) @@ -336,7 +336,7 @@ func (m *SynthesisInput) Reset() { *m = SynthesisInput{} } func (m *SynthesisInput) String() string { return proto.CompactTextString(m) } func (*SynthesisInput) ProtoMessage() {} func (*SynthesisInput) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{4} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{4} } func (m *SynthesisInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesisInput.Unmarshal(m, b) @@ -363,11 +363,13 @@ type isSynthesisInput_InputSource interface { type SynthesisInput_Text struct { Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` } + type SynthesisInput_Ssml struct { Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` } func (*SynthesisInput_Text) isSynthesisInput_InputSource() {} + func (*SynthesisInput_Ssml) isSynthesisInput_InputSource() {} func (m *SynthesisInput) GetInputSource() isSynthesisInput_InputSource { @@ -489,7 +491,7 @@ func (m *VoiceSelectionParams) Reset() { *m = VoiceSelectionParams{} } func (m *VoiceSelectionParams) String() string { return proto.CompactTextString(m) } func (*VoiceSelectionParams) ProtoMessage() {} func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{5} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{5} } func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) @@ -572,7 +574,7 @@ func (m *AudioConfig) Reset() { *m = AudioConfig{} } func (m *AudioConfig) String() string { return proto.CompactTextString(m) } func (*AudioConfig) ProtoMessage() {} func (*AudioConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{6} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{6} } func (m *AudioConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AudioConfig.Unmarshal(m, b) @@ -650,7 +652,7 @@ func (m *SynthesizeSpeechResponse) Reset() { *m = SynthesizeSpeechRespon func (m *SynthesizeSpeechResponse) String() string { return proto.CompactTextString(m) } func (*SynthesizeSpeechResponse) ProtoMessage() {} func (*SynthesizeSpeechResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_tts_b74274d69cd9534d, []int{7} + return fileDescriptor_cloud_tts_9d0ebd338dfb28bd, []int{7} } func (m *SynthesizeSpeechResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SynthesizeSpeechResponse.Unmarshal(m, b) @@ -804,10 +806,10 @@ var _TextToSpeech_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/texttospeech/v1beta1/cloud_tts.proto", fileDescriptor_cloud_tts_b74274d69cd9534d) + proto.RegisterFile("google/cloud/texttospeech/v1beta1/cloud_tts.proto", fileDescriptor_cloud_tts_9d0ebd338dfb28bd) } -var fileDescriptor_cloud_tts_b74274d69cd9534d = []byte{ +var fileDescriptor_cloud_tts_9d0ebd338dfb28bd = []byte{ // 875 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x6e, 0x1b, 0x45, 0x14, 0xee, 0xd8, 0x71, 0xda, 0x1e, 0xaf, 0x1d, 0x67, 0x14, 0x51, 0x13, 0x51, 0x94, 0x6e, 0xa8, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1/video_intelligence.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1/video_intelligence.pb.go index df963ce5f..4f460488f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1/video_intelligence.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1/video_intelligence.pb.go @@ -42,6 +42,8 @@ const ( Feature_EXPLICIT_CONTENT_DETECTION Feature = 3 // Human face detection and tracking. Feature_FACE_DETECTION Feature = 4 + // Speech transcription. + Feature_SPEECH_TRANSCRIPTION Feature = 6 ) var Feature_name = map[int32]string{ @@ -50,6 +52,7 @@ var Feature_name = map[int32]string{ 2: "SHOT_CHANGE_DETECTION", 3: "EXPLICIT_CONTENT_DETECTION", 4: "FACE_DETECTION", + 6: "SPEECH_TRANSCRIPTION", } var Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, @@ -57,13 +60,14 @@ var Feature_value = map[string]int32{ "SHOT_CHANGE_DETECTION": 2, "EXPLICIT_CONTENT_DETECTION": 3, "FACE_DETECTION": 4, + "SPEECH_TRANSCRIPTION": 6, } func (x Feature) String() string { return proto.EnumName(Feature_name, int32(x)) } func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{0} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{0} } // Label detection mode. @@ -97,7 +101,7 @@ func (x LabelDetectionMode) String() string { return proto.EnumName(LabelDetectionMode_name, int32(x)) } func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{1} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{1} } // Bucketized representation of likelihood. @@ -139,7 +143,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{2} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{2} } // Video annotation request. @@ -183,7 +187,7 @@ func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} } func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoRequest) ProtoMessage() {} func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{0} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{0} } func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b) @@ -248,8 +252,8 @@ func (m *AnnotateVideoRequest) GetLocationId() string { // Video context and/or feature-specific parameters. type VideoContext struct { // Video segments to annotate. The segments may overlap and are not required - // to be contiguous or span the whole video. If unspecified, each video - // is treated as a single segment. + // to be contiguous or span the whole video. If unspecified, each video is + // treated as a single segment. Segments []*VideoSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` // Config for LABEL_DETECTION. LabelDetectionConfig *LabelDetectionConfig `protobuf:"bytes,2,opt,name=label_detection_config,json=labelDetectionConfig,proto3" json:"label_detection_config,omitempty"` @@ -258,17 +262,19 @@ type VideoContext struct { // Config for EXPLICIT_CONTENT_DETECTION. ExplicitContentDetectionConfig *ExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3" json:"explicit_content_detection_config,omitempty"` // Config for FACE_DETECTION. - FaceDetectionConfig *FaceDetectionConfig `protobuf:"bytes,5,opt,name=face_detection_config,json=faceDetectionConfig,proto3" json:"face_detection_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FaceDetectionConfig *FaceDetectionConfig `protobuf:"bytes,5,opt,name=face_detection_config,json=faceDetectionConfig,proto3" json:"face_detection_config,omitempty"` + // Config for SPEECH_TRANSCRIPTION. + SpeechTranscriptionConfig *SpeechTranscriptionConfig `protobuf:"bytes,6,opt,name=speech_transcription_config,json=speechTranscriptionConfig,proto3" json:"speech_transcription_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *VideoContext) Reset() { *m = VideoContext{} } func (m *VideoContext) String() string { return proto.CompactTextString(m) } func (*VideoContext) ProtoMessage() {} func (*VideoContext) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{1} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{1} } func (m *VideoContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoContext.Unmarshal(m, b) @@ -323,6 +329,13 @@ func (m *VideoContext) GetFaceDetectionConfig() *FaceDetectionConfig { return nil } +func (m *VideoContext) GetSpeechTranscriptionConfig() *SpeechTranscriptionConfig { + if m != nil { + return m.SpeechTranscriptionConfig + } + return nil +} + // Config for LABEL_DETECTION. type LabelDetectionConfig struct { // What labels should be detected with LABEL_DETECTION, in addition to @@ -346,7 +359,7 @@ func (m *LabelDetectionConfig) Reset() { *m = LabelDetectionConfig{} } func (m *LabelDetectionConfig) String() string { return proto.CompactTextString(m) } func (*LabelDetectionConfig) ProtoMessage() {} func (*LabelDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{2} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{2} } func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelDetectionConfig.Unmarshal(m, b) @@ -402,7 +415,7 @@ func (m *ShotChangeDetectionConfig) Reset() { *m = ShotChangeDetectionCo func (m *ShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } func (*ShotChangeDetectionConfig) ProtoMessage() {} func (*ShotChangeDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{3} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{3} } func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShotChangeDetectionConfig.Unmarshal(m, b) @@ -444,7 +457,7 @@ func (m *ExplicitContentDetectionConfig) Reset() { *m = ExplicitContentD func (m *ExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } func (*ExplicitContentDetectionConfig) ProtoMessage() {} func (*ExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{4} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{4} } func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentDetectionConfig.Unmarshal(m, b) @@ -488,7 +501,7 @@ func (m *FaceDetectionConfig) Reset() { *m = FaceDetectionConfig{} } func (m *FaceDetectionConfig) String() string { return proto.CompactTextString(m) } func (*FaceDetectionConfig) ProtoMessage() {} func (*FaceDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{5} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{5} } func (m *FaceDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceDetectionConfig.Unmarshal(m, b) @@ -539,7 +552,7 @@ func (m *VideoSegment) Reset() { *m = VideoSegment{} } func (m *VideoSegment) String() string { return proto.CompactTextString(m) } func (*VideoSegment) ProtoMessage() {} func (*VideoSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{6} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{6} } func (m *VideoSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoSegment.Unmarshal(m, b) @@ -588,7 +601,7 @@ func (m *LabelSegment) Reset() { *m = LabelSegment{} } func (m *LabelSegment) String() string { return proto.CompactTextString(m) } func (*LabelSegment) ProtoMessage() {} func (*LabelSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{7} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{7} } func (m *LabelSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelSegment.Unmarshal(m, b) @@ -638,7 +651,7 @@ func (m *LabelFrame) Reset() { *m = LabelFrame{} } func (m *LabelFrame) String() string { return proto.CompactTextString(m) } func (*LabelFrame) ProtoMessage() {} func (*LabelFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{8} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{8} } func (m *LabelFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelFrame.Unmarshal(m, b) @@ -691,7 +704,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{9} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{9} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -754,7 +767,7 @@ func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} } func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) } func (*LabelAnnotation) ProtoMessage() {} func (*LabelAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{10} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{10} } func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b) @@ -818,7 +831,7 @@ func (m *ExplicitContentFrame) Reset() { *m = ExplicitContentFrame{} } func (m *ExplicitContentFrame) String() string { return proto.CompactTextString(m) } func (*ExplicitContentFrame) ProtoMessage() {} func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{11} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{11} } func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentFrame.Unmarshal(m, b) @@ -867,7 +880,7 @@ func (m *ExplicitContentAnnotation) Reset() { *m = ExplicitContentAnnota func (m *ExplicitContentAnnotation) String() string { return proto.CompactTextString(m) } func (*ExplicitContentAnnotation) ProtoMessage() {} func (*ExplicitContentAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{12} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{12} } func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentAnnotation.Unmarshal(m, b) @@ -915,7 +928,7 @@ func (m *NormalizedBoundingBox) Reset() { *m = NormalizedBoundingBox{} } func (m *NormalizedBoundingBox) String() string { return proto.CompactTextString(m) } func (*NormalizedBoundingBox) ProtoMessage() {} func (*NormalizedBoundingBox) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{13} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{13} } func (m *NormalizedBoundingBox) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NormalizedBoundingBox.Unmarshal(m, b) @@ -976,7 +989,7 @@ func (m *FaceSegment) Reset() { *m = FaceSegment{} } func (m *FaceSegment) String() string { return proto.CompactTextString(m) } func (*FaceSegment) ProtoMessage() {} func (*FaceSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{14} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{14} } func (m *FaceSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceSegment.Unmarshal(m, b) @@ -1021,7 +1034,7 @@ func (m *FaceFrame) Reset() { *m = FaceFrame{} } func (m *FaceFrame) String() string { return proto.CompactTextString(m) } func (*FaceFrame) ProtoMessage() {} func (*FaceFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{15} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{15} } func (m *FaceFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceFrame.Unmarshal(m, b) @@ -1072,7 +1085,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{16} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{16} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -1133,6 +1146,8 @@ type VideoAnnotationResults struct { ShotAnnotations []*VideoSegment `protobuf:"bytes,6,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"` // Explicit content annotation. ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,7,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"` + // Speech transcription. + SpeechTranscriptions []*SpeechTranscription `protobuf:"bytes,11,rep,name=speech_transcriptions,json=speechTranscriptions,proto3" json:"speech_transcriptions,omitempty"` // If set, indicates an error. Note that for a single `AnnotateVideoRequest` // some videos may succeed and some may fail. Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` @@ -1145,7 +1160,7 @@ func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationResults) ProtoMessage() {} func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{17} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{17} } func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b) @@ -1214,6 +1229,13 @@ func (m *VideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotat return nil } +func (m *VideoAnnotationResults) GetSpeechTranscriptions() []*SpeechTranscription { + if m != nil { + return m.SpeechTranscriptions + } + return nil +} + func (m *VideoAnnotationResults) GetError() *status.Status { if m != nil { return m.Error @@ -1236,7 +1258,7 @@ func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} } func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoResponse) ProtoMessage() {} func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{18} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{18} } func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b) @@ -1268,8 +1290,8 @@ type VideoAnnotationProgress struct { // Video file location in // [Google Cloud Storage](https://cloud.google.com/storage/). InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` - // Approximate percentage processed thus far. - // Guaranteed to be 100 when fully processed. + // Approximate percentage processed thus far. Guaranteed to be + // 100 when fully processed. ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Time when the request was received. StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` @@ -1284,7 +1306,7 @@ func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationProgress) ProtoMessage() {} func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{19} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{19} } func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b) @@ -1347,7 +1369,7 @@ func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} } func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoProgress) ProtoMessage() {} func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_09ca97bf0b395287, []int{20} + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{20} } func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b) @@ -1374,6 +1396,402 @@ func (m *AnnotateVideoProgress) GetAnnotationProgress() []*VideoAnnotationProgre return nil } +// Config for SPEECH_TRANSCRIPTION. +type SpeechTranscriptionConfig struct { + // *Required* The language of the supplied audio as a + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + // Example: "en-US". + // See [Language Support](https://cloud.google.com/speech/docs/languages) + // for a list of the currently supported language codes. + LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + // *Optional* Maximum number of recognition hypotheses to be returned. + // Specifically, the maximum number of `SpeechRecognitionAlternative` messages + // within each `SpeechTranscription`. The server may return fewer than + // `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will + // return a maximum of one. If omitted, will return a maximum of one. + MaxAlternatives int32 `protobuf:"varint,2,opt,name=max_alternatives,json=maxAlternatives,proto3" json:"max_alternatives,omitempty"` + // *Optional* If set to `true`, the server will attempt to filter out + // profanities, replacing all but the initial character in each filtered word + // with asterisks, e.g. "f***". If set to `false` or omitted, profanities + // won't be filtered out. + FilterProfanity bool `protobuf:"varint,3,opt,name=filter_profanity,json=filterProfanity,proto3" json:"filter_profanity,omitempty"` + // *Optional* A means to provide context to assist the speech recognition. + SpeechContexts []*SpeechContext `protobuf:"bytes,4,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` + // *Optional* If 'true', adds punctuation to recognition result hypotheses. + // This feature is only available in select languages. Setting this for + // requests in other languages has no effect at all. The default 'false' value + // does not add punctuation to result hypotheses. NOTE: "This is currently + // offered as an experimental service, complimentary to all users. In the + // future this may be exclusively available as a premium feature." + EnableAutomaticPunctuation bool `protobuf:"varint,5,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation,proto3" json:"enable_automatic_punctuation,omitempty"` + // *Optional* For file formats, such as MXF or MKV, supporting multiple audio + // tracks, specify up to two tracks. Default: track 0. + AudioTracks []int32 `protobuf:"varint,6,rep,packed,name=audio_tracks,json=audioTracks,proto3" json:"audio_tracks,omitempty"` + // *Optional* If 'true', enables speaker detection for each recognized word in + // the top alternative of the recognition result using a speaker_tag provided + // in the WordInfo. + // Note: When this is true, we send all the words from the beginning of the + // audio for the top alternative in every consecutive responses. + // This is done in order to improve our speaker tags as our models learn to + // identify the speakers in the conversation over time. + EnableSpeakerDiarization bool `protobuf:"varint,7,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` + // *Optional* + // If set, specifies the estimated number of speakers in the conversation. + // If not set, defaults to '2'. + // Ignored unless enable_speaker_diarization is set to true. + DiarizationSpeakerCount int32 `protobuf:"varint,8,opt,name=diarization_speaker_count,json=diarizationSpeakerCount,proto3" json:"diarization_speaker_count,omitempty"` + // *Optional* If `true`, the top result includes a list of words and the + // confidence for those words. If `false`, no word-level confidence + // information is returned. The default is `false`. + EnableWordConfidence bool `protobuf:"varint,9,opt,name=enable_word_confidence,json=enableWordConfidence,proto3" json:"enable_word_confidence,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SpeechTranscriptionConfig) Reset() { *m = SpeechTranscriptionConfig{} } +func (m *SpeechTranscriptionConfig) String() string { return proto.CompactTextString(m) } +func (*SpeechTranscriptionConfig) ProtoMessage() {} +func (*SpeechTranscriptionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{21} +} +func (m *SpeechTranscriptionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SpeechTranscriptionConfig.Unmarshal(m, b) +} +func (m *SpeechTranscriptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SpeechTranscriptionConfig.Marshal(b, m, deterministic) +} +func (dst *SpeechTranscriptionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpeechTranscriptionConfig.Merge(dst, src) +} +func (m *SpeechTranscriptionConfig) XXX_Size() int { + return xxx_messageInfo_SpeechTranscriptionConfig.Size(m) +} +func (m *SpeechTranscriptionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_SpeechTranscriptionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_SpeechTranscriptionConfig proto.InternalMessageInfo + +func (m *SpeechTranscriptionConfig) GetLanguageCode() string { + if m != nil { + return m.LanguageCode + } + return "" +} + +func (m *SpeechTranscriptionConfig) GetMaxAlternatives() int32 { + if m != nil { + return m.MaxAlternatives + } + return 0 +} + +func (m *SpeechTranscriptionConfig) GetFilterProfanity() bool { + if m != nil { + return m.FilterProfanity + } + return false +} + +func (m *SpeechTranscriptionConfig) GetSpeechContexts() []*SpeechContext { + if m != nil { + return m.SpeechContexts + } + return nil +} + +func (m *SpeechTranscriptionConfig) GetEnableAutomaticPunctuation() bool { + if m != nil { + return m.EnableAutomaticPunctuation + } + return false +} + +func (m *SpeechTranscriptionConfig) GetAudioTracks() []int32 { + if m != nil { + return m.AudioTracks + } + return nil +} + +func (m *SpeechTranscriptionConfig) GetEnableSpeakerDiarization() bool { + if m != nil { + return m.EnableSpeakerDiarization + } + return false +} + +func (m *SpeechTranscriptionConfig) GetDiarizationSpeakerCount() int32 { + if m != nil { + return m.DiarizationSpeakerCount + } + return 0 +} + +func (m *SpeechTranscriptionConfig) GetEnableWordConfidence() bool { + if m != nil { + return m.EnableWordConfidence + } + return false +} + +// Provides "hints" to the speech recognizer to favor specific words and phrases +// in the results. +type SpeechContext struct { + // *Optional* A list of strings containing words and phrases "hints" so that + // the speech recognition is more likely to recognize them. This can be used + // to improve the accuracy for specific words and phrases, for example, if + // specific commands are typically spoken by the user. This can also be used + // to add additional words to the vocabulary of the recognizer. See + // [usage limits](https://cloud.google.com/speech/limits#content). + Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SpeechContext) Reset() { *m = SpeechContext{} } +func (m *SpeechContext) String() string { return proto.CompactTextString(m) } +func (*SpeechContext) ProtoMessage() {} +func (*SpeechContext) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{22} +} +func (m *SpeechContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SpeechContext.Unmarshal(m, b) +} +func (m *SpeechContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SpeechContext.Marshal(b, m, deterministic) +} +func (dst *SpeechContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpeechContext.Merge(dst, src) +} +func (m *SpeechContext) XXX_Size() int { + return xxx_messageInfo_SpeechContext.Size(m) +} +func (m *SpeechContext) XXX_DiscardUnknown() { + xxx_messageInfo_SpeechContext.DiscardUnknown(m) +} + +var xxx_messageInfo_SpeechContext proto.InternalMessageInfo + +func (m *SpeechContext) GetPhrases() []string { + if m != nil { + return m.Phrases + } + return nil +} + +// A speech recognition result corresponding to a portion of the audio. +type SpeechTranscription struct { + // May contain one or more recognition hypotheses (up to the maximum specified + // in `max_alternatives`). These alternatives are ordered in terms of + // accuracy, with the top (first) alternative being the most probable, as + // ranked by the recognizer. + Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"` + // Output only. The + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the + // language in this result. This language code was detected to have the most + // likelihood of being spoken in the audio. + LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SpeechTranscription) Reset() { *m = SpeechTranscription{} } +func (m *SpeechTranscription) String() string { return proto.CompactTextString(m) } +func (*SpeechTranscription) ProtoMessage() {} +func (*SpeechTranscription) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{23} +} +func (m *SpeechTranscription) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SpeechTranscription.Unmarshal(m, b) +} +func (m *SpeechTranscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SpeechTranscription.Marshal(b, m, deterministic) +} +func (dst *SpeechTranscription) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpeechTranscription.Merge(dst, src) +} +func (m *SpeechTranscription) XXX_Size() int { + return xxx_messageInfo_SpeechTranscription.Size(m) +} +func (m *SpeechTranscription) XXX_DiscardUnknown() { + xxx_messageInfo_SpeechTranscription.DiscardUnknown(m) +} + +var xxx_messageInfo_SpeechTranscription proto.InternalMessageInfo + +func (m *SpeechTranscription) GetAlternatives() []*SpeechRecognitionAlternative { + if m != nil { + return m.Alternatives + } + return nil +} + +func (m *SpeechTranscription) GetLanguageCode() string { + if m != nil { + return m.LanguageCode + } + return "" +} + +// Alternative hypotheses (a.k.a. n-best list). +type SpeechRecognitionAlternative struct { + // Transcript text representing the words that the user spoke. + Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"` + // The confidence estimate between 0.0 and 1.0. A higher number + // indicates an estimated greater likelihood that the recognized words are + // correct. This field is typically provided only for the top hypothesis, and + // only for `is_final=true` results. Clients should not rely on the + // `confidence` field as it is not guaranteed to be accurate or consistent. + // The default of 0.0 is a sentinel value indicating `confidence` was not set. + Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` + // A list of word-specific information for each recognized word. + Words []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SpeechRecognitionAlternative) Reset() { *m = SpeechRecognitionAlternative{} } +func (m *SpeechRecognitionAlternative) String() string { return proto.CompactTextString(m) } +func (*SpeechRecognitionAlternative) ProtoMessage() {} +func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{24} +} +func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SpeechRecognitionAlternative.Unmarshal(m, b) +} +func (m *SpeechRecognitionAlternative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SpeechRecognitionAlternative.Marshal(b, m, deterministic) +} +func (dst *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpeechRecognitionAlternative.Merge(dst, src) +} +func (m *SpeechRecognitionAlternative) XXX_Size() int { + return xxx_messageInfo_SpeechRecognitionAlternative.Size(m) +} +func (m *SpeechRecognitionAlternative) XXX_DiscardUnknown() { + xxx_messageInfo_SpeechRecognitionAlternative.DiscardUnknown(m) +} + +var xxx_messageInfo_SpeechRecognitionAlternative proto.InternalMessageInfo + +func (m *SpeechRecognitionAlternative) GetTranscript() string { + if m != nil { + return m.Transcript + } + return "" +} + +func (m *SpeechRecognitionAlternative) GetConfidence() float32 { + if m != nil { + return m.Confidence + } + return 0 +} + +func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo { + if m != nil { + return m.Words + } + return nil +} + +// Word-specific information for recognized words. Word information is only +// included in the response when certain request parameters are set, such +// as `enable_word_time_offsets`. +type WordInfo struct { + // Time offset relative to the beginning of the audio, and + // corresponding to the start of the spoken word. This field is only set if + // `enable_word_time_offsets=true` and only in the top hypothesis. This is an + // experimental feature and the accuracy of the time offset can vary. + StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // Time offset relative to the beginning of the audio, and + // corresponding to the end of the spoken word. This field is only set if + // `enable_word_time_offsets=true` and only in the top hypothesis. This is an + // experimental feature and the accuracy of the time offset can vary. + EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // The word corresponding to this set of information. + Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` + // Output only. The confidence estimate between 0.0 and 1.0. A higher number + // indicates an estimated greater likelihood that the recognized words are + // correct. This field is set only for the top alternative. + // This field is not guaranteed to be accurate and users should not rely on it + // to be always provided. + // The default of 0.0 is a sentinel value indicating `confidence` was not set. + Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` + // Output only. A distinct integer value is assigned for every speaker within + // the audio. This field specifies which one of those speakers was detected to + // have spoken this word. Value ranges from 1 up to diarization_speaker_count, + // and is only set if speaker diarization is enabled. + SpeakerTag int32 `protobuf:"varint,5,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WordInfo) Reset() { *m = WordInfo{} } +func (m *WordInfo) String() string { return proto.CompactTextString(m) } +func (*WordInfo) ProtoMessage() {} +func (*WordInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_0a28b09d859e5ccc, []int{25} +} +func (m *WordInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WordInfo.Unmarshal(m, b) +} +func (m *WordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WordInfo.Marshal(b, m, deterministic) +} +func (dst *WordInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_WordInfo.Merge(dst, src) +} +func (m *WordInfo) XXX_Size() int { + return xxx_messageInfo_WordInfo.Size(m) +} +func (m *WordInfo) XXX_DiscardUnknown() { + xxx_messageInfo_WordInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_WordInfo proto.InternalMessageInfo + +func (m *WordInfo) GetStartTime() *duration.Duration { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *WordInfo) GetEndTime() *duration.Duration { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *WordInfo) GetWord() string { + if m != nil { + return m.Word + } + return "" +} + +func (m *WordInfo) GetConfidence() float32 { + if m != nil { + return m.Confidence + } + return 0 +} + +func (m *WordInfo) GetSpeakerTag() int32 { + if m != nil { + return m.SpeakerTag + } + return 0 +} + func init() { proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1.AnnotateVideoRequest") proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1.VideoContext") @@ -1396,6 +1814,11 @@ func init() { proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1.AnnotateVideoResponse") proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1.VideoAnnotationProgress") proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1.AnnotateVideoProgress") + proto.RegisterType((*SpeechTranscriptionConfig)(nil), "google.cloud.videointelligence.v1.SpeechTranscriptionConfig") + proto.RegisterType((*SpeechContext)(nil), "google.cloud.videointelligence.v1.SpeechContext") + proto.RegisterType((*SpeechTranscription)(nil), "google.cloud.videointelligence.v1.SpeechTranscription") + proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.videointelligence.v1.SpeechRecognitionAlternative") + proto.RegisterType((*WordInfo)(nil), "google.cloud.videointelligence.v1.WordInfo") proto.RegisterEnum("google.cloud.videointelligence.v1.Feature", Feature_name, Feature_value) proto.RegisterEnum("google.cloud.videointelligence.v1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value) proto.RegisterEnum("google.cloud.videointelligence.v1.Likelihood", Likelihood_name, Likelihood_value) @@ -1482,116 +1905,143 @@ var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/videointelligence/v1/video_intelligence.proto", fileDescriptor_video_intelligence_09ca97bf0b395287) -} - -var fileDescriptor_video_intelligence_09ca97bf0b395287 = []byte{ - // 1705 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x73, 0xe3, 0x48, - 0x15, 0x47, 0xb6, 0x93, 0x89, 0x5f, 0xbe, 0x3c, 0x9d, 0x2f, 0x27, 0xcc, 0x64, 0x33, 0x5a, 0xa8, - 0xca, 0x06, 0xb0, 0x2b, 0x01, 0x76, 0xd9, 0x2c, 0x17, 0xc7, 0x51, 0x76, 0xcc, 0x66, 0xe2, 0x54, - 0xdb, 0x93, 0xda, 0xdd, 0x9a, 0x2a, 0x95, 0x22, 0xb5, 0x65, 0xed, 0xc8, 0x6a, 0x21, 0xb5, 0x52, - 0x13, 0xaa, 0x38, 0x40, 0x51, 0x70, 0xe1, 0xc6, 0x85, 0x3f, 0x80, 0x13, 0x7f, 0x00, 0xc5, 0x85, - 0xaa, 0x2d, 0x8a, 0x13, 0x07, 0x2e, 0x9c, 0xb8, 0xef, 0x1f, 0x42, 0xa9, 0xbb, 0x65, 0x2b, 0x92, - 0x33, 0x91, 0x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a, 0xdf, 0xef, 0xef, 0x9d, 0x96, - 0x18, 0x25, 0xc0, 0xa9, 0xb6, 0xda, 0x87, 0x39, 0x12, 0x04, 0x34, 0xa8, 0x57, 0xb9, 0x01, 0x94, - 0x18, 0x08, 0x7c, 0xb3, 0xd1, 0xe3, 0xcf, 0x50, 0x2c, 0x04, 0xd4, 0x5f, 0x29, 0xb0, 0x91, 0x79, - 0x87, 0x86, 0x3e, 0xf5, 0x42, 0x82, 0x86, 0x80, 0x26, 0x9e, 0xea, 0x81, 0xa8, 0x72, 0x39, 0x58, - 0x3e, 0x2e, 0x1a, 0x90, 0x5c, 0x9b, 0xe0, 0xc7, 0x46, 0x96, 0xa4, 0xfe, 0x47, 0x81, 0xad, 0x8c, - 0xf4, 0x65, 0x40, 0xed, 0x80, 0x84, 0x0f, 0x74, 0xd5, 0x07, 0x50, 0xf3, 0xa5, 0xa0, 0xee, 0x93, - 0xc0, 0x8c, 0x87, 0x6c, 0x3c, 0x91, 0xe6, 0xf0, 0x6a, 0x42, 0xbf, 0x14, 0x64, 0xf4, 0x31, 0xc0, - 0xe4, 0x2e, 0x29, 0xdf, 0x55, 0x3b, 0xb9, 0xb1, 0xd5, 0x4f, 0x9e, 0xef, 0xb8, 0x3a, 0xbe, 0x45, - 0xa2, 0x4f, 0x60, 0x31, 0xf2, 0x2d, 0x83, 0x11, 0xa1, 0x5b, 0x79, 0x50, 0x17, 0x84, 0x78, 0x4c, - 0x50, 0x7f, 0x93, 0x8d, 0xef, 0x78, 0x67, 0xaf, 0x61, 0x2d, 0x15, 0xdf, 0xc4, 0x5f, 0x19, 0xe0, - 0xe3, 0xd9, 0x03, 0x9c, 0x00, 0xe3, 0x54, 0xda, 0x12, 0xda, 0xc1, 0x6f, 0x15, 0x78, 0x24, 0x5f, - 0xf8, 0x68, 0x0b, 0xd6, 0xce, 0xb4, 0x56, 0xff, 0x25, 0xd6, 0xf4, 0x97, 0x17, 0xbd, 0x4b, 0xad, - 0xdd, 0x39, 0xeb,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, 0xe5, 0xad, 0x47, 0x82, 0x1b, 0xc7, 0x24, 0xe8, - 0x77, 0x0a, 0x2c, 0xdf, 0x29, 0x0b, 0x54, 0xe4, 0x92, 0x33, 0xed, 0x87, 0xd1, 0xce, 0xd3, 0x44, - 0x31, 0xf5, 0x27, 0xab, 0xd1, 0x4d, 0xfe, 0x64, 0xa9, 0xbb, 0xbf, 0xfe, 0xf7, 0x37, 0x7f, 0x28, - 0xd5, 0xd5, 0xb5, 0xf1, 0xef, 0xb4, 0xf0, 0x58, 0x16, 0x08, 0x39, 0x56, 0x0e, 0x4e, 0xbe, 0x51, - 0xe0, 0xbb, 0x26, 0x1d, 0x3d, 0x6c, 0xfd, 0xe4, 0xe9, 0x7d, 0xbb, 0xb9, 0x8c, 0x5b, 0xe0, 0x52, - 0xf9, 0x12, 0x4b, 0x0c, 0x9b, 0xc6, 0x37, 0xfd, 0x06, 0x0d, 0xec, 0xa6, 0x4d, 0x3c, 0xde, 0x20, - 0x4d, 0xc1, 0x32, 0x7c, 0x27, 0x7c, 0xcb, 0xef, 0xbe, 0x4f, 0x72, 0xc4, 0x3f, 0x97, 0x9e, 0x7d, - 0x2a, 0x40, 0xdb, 0xdc, 0xb1, 0x9c, 0x0b, 0x8d, 0xab, 0xc3, 0x7f, 0x26, 0x32, 0xaf, 0xb8, 0xcc, - 0xab, 0x9c, 0xcc, 0xab, 0xab, 0xc3, 0xeb, 0x79, 0xee, 0xc6, 0x0f, 0xff, 0x1b, 0x00, 0x00, 0xff, - 0xff, 0xa3, 0x97, 0x20, 0x48, 0x74, 0x14, 0x00, 0x00, + proto.RegisterFile("google/cloud/videointelligence/v1/video_intelligence.proto", fileDescriptor_video_intelligence_0a28b09d859e5ccc) +} + +var fileDescriptor_video_intelligence_0a28b09d859e5ccc = []byte{ + // 2132 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xcd, 0x6f, 0x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x11, 0x5e, 0x08, 0x96, 0xf7, 0xbf, 0x7f, 0xe3, 0xec, 0x7b, 0x4a, 0x2d, 0x82, + 0x91, 0x3b, 0x45, 0x43, 0xef, 0xc0, 0xed, 0x50, 0x14, 0x44, 0x23, 0x78, 0xad, 0x9b, 0xc6, 0x80, + 0x04, 0x06, 0xcf, 0xf1, 0x05, 0x5c, 0x19, 0x31, 0x1a, 0x9c, 0x8e, 0x56, 0x21, 0xcf, 0xbc, 0x70, + 0x79, 0x3e, 0x16, 0xb1, 0x58, 0xa8, 0x7b, 0xb0, 0x79, 0x69, 0xd6, 0x8d, 0x54, 0x94, 0xb4, 0xca, + 0x63, 0xd8, 0xbe, 0x3a, 0x47, 0x2e, 0xd1, 0x33, 0x60, 0x65, 0xc6, 0xc9, 0xce, 0x16, 0x46, 0xef, + 0xc2, 0xba, 0xe3, 0x99, 0x6e, 0x6c, 0x11, 0xfd, 0x8c, 0xc6, 0x9e, 0xe5, 0x78, 0xb6, 0x7e, 0x46, + 0x5f, 0xf1, 0x6a, 0xc8, 0xf6, 0xb7, 0x2a, 0xb9, 0x87, 0x92, 0x79, 0xc8, 0x78, 0xea, 0xef, 0x15, + 0x59, 0x57, 0x64, 0x51, 0x40, 0x1a, 0x8f, 0x50, 0x10, 0xe9, 0xac, 0xa6, 0xeb, 0xb4, 0xd7, 0x0b, + 0x49, 0xc4, 0x0d, 0x95, 0xf6, 0x37, 0x93, 0x73, 0x48, 0xea, 0x7e, 0xed, 0x48, 0xbe, 0x0b, 0xb8, + 0xcc, 0x75, 0xba, 0xce, 0x80, 0xb4, 0xb8, 0x06, 0xaa, 0x43, 0x99, 0x78, 0xd6, 0x18, 0x48, 0xee, + 0x3a, 0x90, 0x25, 0xe2, 0x59, 0x23, 0x08, 0xf5, 0x35, 0x2c, 0xf2, 0x53, 0x4d, 0x3c, 0x6b, 0xc2, + 0x2d, 0x59, 0xb0, 0xa4, 0x3f, 0x37, 0x2e, 0x78, 0x89, 0x3e, 0xda, 0x06, 0xe0, 0x19, 0x6f, 0x31, + 0x31, 0xee, 0x58, 0x0e, 0xa7, 0x28, 0x6a, 0x1f, 0x80, 0x9b, 0x3e, 0x0e, 0x8c, 0x01, 0x41, 0x07, + 0x50, 0xba, 0x51, 0x30, 0x20, 0x1a, 0xc5, 0xe1, 0x3a, 0x4b, 0x2e, 0x14, 0x34, 0x2f, 0x72, 0xa2, + 0xd7, 0xec, 0x05, 0x24, 0xfc, 0x17, 0x7b, 0x00, 0xe4, 0x0b, 0x28, 0x08, 0x4d, 0x0b, 0xed, 0x40, + 0xc9, 0x22, 0xc3, 0xeb, 0xc4, 0x71, 0x8a, 0x38, 0x4d, 0x62, 0x6f, 0xa4, 0x6b, 0x78, 0x76, 0x6c, + 0xd8, 0x44, 0x37, 0xd9, 0xdd, 0x11, 0x49, 0xbb, 0x98, 0x10, 0x1b, 0xd4, 0x22, 0xea, 0x97, 0x39, + 0x28, 0xf3, 0x8d, 0xd5, 0x87, 0x8d, 0x01, 0xaa, 0x43, 0x41, 0x98, 0x91, 0x1b, 0x7b, 0x98, 0xa5, + 0xe2, 0x71, 0x05, 0x2c, 0x15, 0xd1, 0x73, 0xb8, 0x6d, 0x1a, 0x11, 0xb1, 0x69, 0xf0, 0x5a, 0xe7, + 0x24, 0x47, 0xbe, 0xc1, 0x37, 0x42, 0xab, 0x24, 0x18, 0x9a, 0x84, 0x18, 0x7b, 0xe3, 0xe6, 0x32, + 0xbf, 0x71, 0xe9, 0xa4, 0x49, 0xbd, 0x71, 0x1a, 0x14, 0x7a, 0xec, 0x38, 0xc3, 0xea, 0x3c, 0x87, + 0xfa, 0x4e, 0x56, 0x28, 0x9e, 0x04, 0x58, 0x2a, 0xab, 0x7f, 0x53, 0x60, 0x75, 0xe2, 0x32, 0xff, + 0xef, 0x59, 0x62, 0xc1, 0xba, 0x4f, 0x03, 0x8f, 0xda, 0x81, 0xe1, 0xf7, 0x5f, 0xeb, 0xae, 0x73, + 0x4e, 0x5c, 0xa7, 0x4f, 0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0x55, 0x57, 0x86, 0xff, 0x4f, + 0x84, 0x07, 0xf2, 0x19, 0x22, 0x07, 0xca, 0xa3, 0xc3, 0xaf, 0x15, 0xf8, 0x96, 0x49, 0x07, 0xd7, + 0x5b, 0x3f, 0xbc, 0x7b, 0xd9, 0x6e, 0xda, 0x2c, 0xcd, 0xdb, 0xca, 0x67, 0x58, 0x62, 0xd8, 0x94, + 0xd5, 0x82, 0x1a, 0x0d, 0xec, 0x5d, 0x9b, 0x78, 0xfc, 0x12, 0xec, 0x0a, 0x96, 0xe1, 0x3b, 0xe1, + 0x15, 0xff, 0x9f, 0x7c, 0x38, 0x45, 0xfc, 0x4b, 0xee, 0xfe, 0xc7, 0x02, 0xb4, 0xc1, 0x1d, 0x9b, + 0x72, 0xa1, 0xf6, 0x7c, 0xef, 0x9f, 0x89, 0xcc, 0x4b, 0x2e, 0xf3, 0x72, 0x4a, 0xe6, 0xe5, 0xf3, + 0xbd, 0xb3, 0x02, 0x77, 0xe3, 0x7b, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x97, 0xe1, 0xdb, 0x00, + 0xc5, 0x19, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta1/video_intelligence.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta1/video_intelligence.pb.go index 7a0595b9a..527c928a3 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta1/video_intelligence.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta1/video_intelligence.pb.go @@ -62,7 +62,7 @@ func (x Feature) String() string { return proto.EnumName(Feature_name, int32(x)) } func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{0} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{0} } // Label level (scope). @@ -101,7 +101,7 @@ func (x LabelLevel) String() string { return proto.EnumName(LabelLevel_name, int32(x)) } func (LabelLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{1} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{1} } // Label detection mode. @@ -135,7 +135,7 @@ func (x LabelDetectionMode) String() string { return proto.EnumName(LabelDetectionMode_name, int32(x)) } func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{2} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{2} } // Bucketized representation of likelihood. @@ -177,7 +177,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{3} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{3} } // Video annotation request. @@ -220,7 +220,7 @@ func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} } func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoRequest) ProtoMessage() {} func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{0} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{0} } func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b) @@ -316,7 +316,7 @@ func (m *VideoContext) Reset() { *m = VideoContext{} } func (m *VideoContext) String() string { return proto.CompactTextString(m) } func (*VideoContext) ProtoMessage() {} func (*VideoContext) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{1} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{1} } func (m *VideoContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoContext.Unmarshal(m, b) @@ -400,7 +400,7 @@ func (m *VideoSegment) Reset() { *m = VideoSegment{} } func (m *VideoSegment) String() string { return proto.CompactTextString(m) } func (*VideoSegment) ProtoMessage() {} func (*VideoSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{2} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{2} } func (m *VideoSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoSegment.Unmarshal(m, b) @@ -454,7 +454,7 @@ func (m *LabelLocation) Reset() { *m = LabelLocation{} } func (m *LabelLocation) String() string { return proto.CompactTextString(m) } func (*LabelLocation) ProtoMessage() {} func (*LabelLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{3} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{3} } func (m *LabelLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelLocation.Unmarshal(m, b) @@ -512,7 +512,7 @@ func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} } func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) } func (*LabelAnnotation) ProtoMessage() {} func (*LabelAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{4} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{4} } func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b) @@ -581,7 +581,7 @@ func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} } func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) } func (*SafeSearchAnnotation) ProtoMessage() {} func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{5} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{5} } func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) @@ -662,7 +662,7 @@ func (m *BoundingBox) Reset() { *m = BoundingBox{} } func (m *BoundingBox) String() string { return proto.CompactTextString(m) } func (*BoundingBox) ProtoMessage() {} func (*BoundingBox) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{6} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{6} } func (m *BoundingBox) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BoundingBox.Unmarshal(m, b) @@ -725,7 +725,7 @@ func (m *FaceLocation) Reset() { *m = FaceLocation{} } func (m *FaceLocation) String() string { return proto.CompactTextString(m) } func (*FaceLocation) ProtoMessage() {} func (*FaceLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{7} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{7} } func (m *FaceLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceLocation.Unmarshal(m, b) @@ -778,7 +778,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{8} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{8} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -844,7 +844,7 @@ func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationResults) ProtoMessage() {} func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{9} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{9} } func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b) @@ -921,7 +921,7 @@ func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} } func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoResponse) ProtoMessage() {} func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{10} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{10} } func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b) @@ -969,7 +969,7 @@ func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationProgress) ProtoMessage() {} func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{11} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{11} } func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b) @@ -1032,7 +1032,7 @@ func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} } func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoProgress) ProtoMessage() {} func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_e5308afdb2e54b7d, []int{12} + return fileDescriptor_video_intelligence_2adacfc9be54b175, []int{12} } func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b) @@ -1160,10 +1160,10 @@ var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/videointelligence/v1beta1/video_intelligence.proto", fileDescriptor_video_intelligence_e5308afdb2e54b7d) + proto.RegisterFile("google/cloud/videointelligence/v1beta1/video_intelligence.proto", fileDescriptor_video_intelligence_2adacfc9be54b175) } -var fileDescriptor_video_intelligence_e5308afdb2e54b7d = []byte{ +var fileDescriptor_video_intelligence_2adacfc9be54b175 = []byte{ // 1520 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcb, 0x6f, 0x1b, 0xd5, 0x1a, 0xef, 0xf8, 0x91, 0xc4, 0x9f, 0x93, 0xd8, 0x39, 0x49, 0x1a, 0xdf, 0xb4, 0xb9, 0x8d, 0xdc, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/video_intelligence.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/video_intelligence.pb.go index ef4d619cf..c152c1815 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/video_intelligence.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/video_intelligence.pb.go @@ -63,7 +63,7 @@ func (x Feature) String() string { return proto.EnumName(Feature_name, int32(x)) } func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{0} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{0} } // Label detection mode. @@ -97,7 +97,7 @@ func (x LabelDetectionMode) String() string { return proto.EnumName(LabelDetectionMode_name, int32(x)) } func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{1} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{1} } // Bucketized representation of likelihood. @@ -139,7 +139,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{2} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{2} } // Video annotation request. @@ -183,7 +183,7 @@ func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} } func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoRequest) ProtoMessage() {} func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{0} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{0} } func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b) @@ -268,7 +268,7 @@ func (m *VideoContext) Reset() { *m = VideoContext{} } func (m *VideoContext) String() string { return proto.CompactTextString(m) } func (*VideoContext) ProtoMessage() {} func (*VideoContext) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{1} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{1} } func (m *VideoContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoContext.Unmarshal(m, b) @@ -346,7 +346,7 @@ func (m *LabelDetectionConfig) Reset() { *m = LabelDetectionConfig{} } func (m *LabelDetectionConfig) String() string { return proto.CompactTextString(m) } func (*LabelDetectionConfig) ProtoMessage() {} func (*LabelDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{2} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{2} } func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelDetectionConfig.Unmarshal(m, b) @@ -402,7 +402,7 @@ func (m *ShotChangeDetectionConfig) Reset() { *m = ShotChangeDetectionCo func (m *ShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } func (*ShotChangeDetectionConfig) ProtoMessage() {} func (*ShotChangeDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{3} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{3} } func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShotChangeDetectionConfig.Unmarshal(m, b) @@ -444,7 +444,7 @@ func (m *ExplicitContentDetectionConfig) Reset() { *m = ExplicitContentD func (m *ExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } func (*ExplicitContentDetectionConfig) ProtoMessage() {} func (*ExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{4} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{4} } func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentDetectionConfig.Unmarshal(m, b) @@ -488,7 +488,7 @@ func (m *FaceDetectionConfig) Reset() { *m = FaceDetectionConfig{} } func (m *FaceDetectionConfig) String() string { return proto.CompactTextString(m) } func (*FaceDetectionConfig) ProtoMessage() {} func (*FaceDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{5} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{5} } func (m *FaceDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceDetectionConfig.Unmarshal(m, b) @@ -539,7 +539,7 @@ func (m *VideoSegment) Reset() { *m = VideoSegment{} } func (m *VideoSegment) String() string { return proto.CompactTextString(m) } func (*VideoSegment) ProtoMessage() {} func (*VideoSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{6} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{6} } func (m *VideoSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoSegment.Unmarshal(m, b) @@ -588,7 +588,7 @@ func (m *LabelSegment) Reset() { *m = LabelSegment{} } func (m *LabelSegment) String() string { return proto.CompactTextString(m) } func (*LabelSegment) ProtoMessage() {} func (*LabelSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{7} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{7} } func (m *LabelSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelSegment.Unmarshal(m, b) @@ -638,7 +638,7 @@ func (m *LabelFrame) Reset() { *m = LabelFrame{} } func (m *LabelFrame) String() string { return proto.CompactTextString(m) } func (*LabelFrame) ProtoMessage() {} func (*LabelFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{8} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{8} } func (m *LabelFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelFrame.Unmarshal(m, b) @@ -691,7 +691,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{9} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{9} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -754,7 +754,7 @@ func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} } func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) } func (*LabelAnnotation) ProtoMessage() {} func (*LabelAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{10} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{10} } func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b) @@ -818,7 +818,7 @@ func (m *ExplicitContentFrame) Reset() { *m = ExplicitContentFrame{} } func (m *ExplicitContentFrame) String() string { return proto.CompactTextString(m) } func (*ExplicitContentFrame) ProtoMessage() {} func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{11} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{11} } func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentFrame.Unmarshal(m, b) @@ -867,7 +867,7 @@ func (m *ExplicitContentAnnotation) Reset() { *m = ExplicitContentAnnota func (m *ExplicitContentAnnotation) String() string { return proto.CompactTextString(m) } func (*ExplicitContentAnnotation) ProtoMessage() {} func (*ExplicitContentAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{12} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{12} } func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentAnnotation.Unmarshal(m, b) @@ -915,7 +915,7 @@ func (m *NormalizedBoundingBox) Reset() { *m = NormalizedBoundingBox{} } func (m *NormalizedBoundingBox) String() string { return proto.CompactTextString(m) } func (*NormalizedBoundingBox) ProtoMessage() {} func (*NormalizedBoundingBox) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{13} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{13} } func (m *NormalizedBoundingBox) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NormalizedBoundingBox.Unmarshal(m, b) @@ -976,7 +976,7 @@ func (m *FaceSegment) Reset() { *m = FaceSegment{} } func (m *FaceSegment) String() string { return proto.CompactTextString(m) } func (*FaceSegment) ProtoMessage() {} func (*FaceSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{14} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{14} } func (m *FaceSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceSegment.Unmarshal(m, b) @@ -1021,7 +1021,7 @@ func (m *FaceFrame) Reset() { *m = FaceFrame{} } func (m *FaceFrame) String() string { return proto.CompactTextString(m) } func (*FaceFrame) ProtoMessage() {} func (*FaceFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{15} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{15} } func (m *FaceFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceFrame.Unmarshal(m, b) @@ -1072,7 +1072,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{16} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{16} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -1145,7 +1145,7 @@ func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationResults) ProtoMessage() {} func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{17} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{17} } func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b) @@ -1236,7 +1236,7 @@ func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} } func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoResponse) ProtoMessage() {} func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{18} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{18} } func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b) @@ -1284,7 +1284,7 @@ func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationProgress) ProtoMessage() {} func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{19} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{19} } func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b) @@ -1347,7 +1347,7 @@ func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} } func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoProgress) ProtoMessage() {} func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_b8c9b31f8d4c400b, []int{20} + return fileDescriptor_video_intelligence_c47a9b755759e2f4, []int{20} } func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b) @@ -1482,10 +1482,10 @@ var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/videointelligence/v1beta2/video_intelligence.proto", fileDescriptor_video_intelligence_b8c9b31f8d4c400b) + proto.RegisterFile("google/cloud/videointelligence/v1beta2/video_intelligence.proto", fileDescriptor_video_intelligence_c47a9b755759e2f4) } -var fileDescriptor_video_intelligence_b8c9b31f8d4c400b = []byte{ +var fileDescriptor_video_intelligence_c47a9b755759e2f4 = []byte{ // 1718 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x6f, 0xdb, 0xc8, 0x15, 0x2f, 0x25, 0xd9, 0xb1, 0x9e, 0xff, 0x48, 0x19, 0xcb, 0xb6, 0xec, 0x26, 0x5e, 0x97, 0x29, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1/video_intelligence.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1/video_intelligence.pb.go index 8e972a6a4..7e81664fb 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1/video_intelligence.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1/video_intelligence.pb.go @@ -63,7 +63,7 @@ func (x Feature) String() string { return proto.EnumName(Feature_name, int32(x)) } func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{0} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{0} } // Label detection mode. @@ -97,7 +97,7 @@ func (x LabelDetectionMode) String() string { return proto.EnumName(LabelDetectionMode_name, int32(x)) } func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{1} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{1} } // Bucketized representation of likelihood. @@ -139,7 +139,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{2} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{2} } // Video annotation request. @@ -183,7 +183,7 @@ func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} } func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoRequest) ProtoMessage() {} func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{0} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{0} } func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b) @@ -268,7 +268,7 @@ func (m *VideoContext) Reset() { *m = VideoContext{} } func (m *VideoContext) String() string { return proto.CompactTextString(m) } func (*VideoContext) ProtoMessage() {} func (*VideoContext) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{1} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{1} } func (m *VideoContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoContext.Unmarshal(m, b) @@ -346,7 +346,7 @@ func (m *LabelDetectionConfig) Reset() { *m = LabelDetectionConfig{} } func (m *LabelDetectionConfig) String() string { return proto.CompactTextString(m) } func (*LabelDetectionConfig) ProtoMessage() {} func (*LabelDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{2} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{2} } func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelDetectionConfig.Unmarshal(m, b) @@ -402,7 +402,7 @@ func (m *ShotChangeDetectionConfig) Reset() { *m = ShotChangeDetectionCo func (m *ShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } func (*ShotChangeDetectionConfig) ProtoMessage() {} func (*ShotChangeDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{3} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{3} } func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShotChangeDetectionConfig.Unmarshal(m, b) @@ -444,7 +444,7 @@ func (m *ExplicitContentDetectionConfig) Reset() { *m = ExplicitContentD func (m *ExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } func (*ExplicitContentDetectionConfig) ProtoMessage() {} func (*ExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{4} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{4} } func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentDetectionConfig.Unmarshal(m, b) @@ -488,7 +488,7 @@ func (m *VideoSegment) Reset() { *m = VideoSegment{} } func (m *VideoSegment) String() string { return proto.CompactTextString(m) } func (*VideoSegment) ProtoMessage() {} func (*VideoSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{5} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{5} } func (m *VideoSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoSegment.Unmarshal(m, b) @@ -537,7 +537,7 @@ func (m *LabelSegment) Reset() { *m = LabelSegment{} } func (m *LabelSegment) String() string { return proto.CompactTextString(m) } func (*LabelSegment) ProtoMessage() {} func (*LabelSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{6} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{6} } func (m *LabelSegment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelSegment.Unmarshal(m, b) @@ -587,7 +587,7 @@ func (m *LabelFrame) Reset() { *m = LabelFrame{} } func (m *LabelFrame) String() string { return proto.CompactTextString(m) } func (*LabelFrame) ProtoMessage() {} func (*LabelFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{7} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{7} } func (m *LabelFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelFrame.Unmarshal(m, b) @@ -640,7 +640,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{8} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{8} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -703,7 +703,7 @@ func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} } func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) } func (*LabelAnnotation) ProtoMessage() {} func (*LabelAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{9} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{9} } func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b) @@ -767,7 +767,7 @@ func (m *ExplicitContentFrame) Reset() { *m = ExplicitContentFrame{} } func (m *ExplicitContentFrame) String() string { return proto.CompactTextString(m) } func (*ExplicitContentFrame) ProtoMessage() {} func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{10} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{10} } func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentFrame.Unmarshal(m, b) @@ -816,7 +816,7 @@ func (m *ExplicitContentAnnotation) Reset() { *m = ExplicitContentAnnota func (m *ExplicitContentAnnotation) String() string { return proto.CompactTextString(m) } func (*ExplicitContentAnnotation) ProtoMessage() {} func (*ExplicitContentAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{11} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{11} } func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExplicitContentAnnotation.Unmarshal(m, b) @@ -875,7 +875,7 @@ func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationResults) ProtoMessage() {} func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{12} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{12} } func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b) @@ -966,7 +966,7 @@ func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} } func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoResponse) ProtoMessage() {} func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{13} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{13} } func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b) @@ -1014,7 +1014,7 @@ func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) } func (*VideoAnnotationProgress) ProtoMessage() {} func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{14} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{14} } func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b) @@ -1077,7 +1077,7 @@ func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} } func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) } func (*AnnotateVideoProgress) ProtoMessage() {} func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{15} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{15} } func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b) @@ -1144,7 +1144,7 @@ func (m *SpeechTranscriptionConfig) Reset() { *m = SpeechTranscriptionCo func (m *SpeechTranscriptionConfig) String() string { return proto.CompactTextString(m) } func (*SpeechTranscriptionConfig) ProtoMessage() {} func (*SpeechTranscriptionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{16} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{16} } func (m *SpeechTranscriptionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechTranscriptionConfig.Unmarshal(m, b) @@ -1225,7 +1225,7 @@ func (m *SpeechContext) Reset() { *m = SpeechContext{} } func (m *SpeechContext) String() string { return proto.CompactTextString(m) } func (*SpeechContext) ProtoMessage() {} func (*SpeechContext) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{17} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{17} } func (m *SpeechContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechContext.Unmarshal(m, b) @@ -1268,7 +1268,7 @@ func (m *SpeechTranscription) Reset() { *m = SpeechTranscription{} } func (m *SpeechTranscription) String() string { return proto.CompactTextString(m) } func (*SpeechTranscription) ProtoMessage() {} func (*SpeechTranscription) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{18} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{18} } func (m *SpeechTranscription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechTranscription.Unmarshal(m, b) @@ -1317,7 +1317,7 @@ func (m *SpeechRecognitionAlternative) Reset() { *m = SpeechRecognitionA func (m *SpeechRecognitionAlternative) String() string { return proto.CompactTextString(m) } func (*SpeechRecognitionAlternative) ProtoMessage() {} func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{19} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{19} } func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SpeechRecognitionAlternative.Unmarshal(m, b) @@ -1383,7 +1383,7 @@ func (m *WordInfo) Reset() { *m = WordInfo{} } func (m *WordInfo) String() string { return proto.CompactTextString(m) } func (*WordInfo) ProtoMessage() {} func (*WordInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_video_intelligence_de2dfee67bcd43cb, []int{20} + return fileDescriptor_video_intelligence_71473a3943b6ba10, []int{20} } func (m *WordInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WordInfo.Unmarshal(m, b) @@ -1532,10 +1532,10 @@ var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/videointelligence/v1p1beta1/video_intelligence.proto", fileDescriptor_video_intelligence_de2dfee67bcd43cb) + proto.RegisterFile("google/cloud/videointelligence/v1p1beta1/video_intelligence.proto", fileDescriptor_video_intelligence_71473a3943b6ba10) } -var fileDescriptor_video_intelligence_de2dfee67bcd43cb = []byte{ +var fileDescriptor_video_intelligence_71473a3943b6ba10 = []byte{ // 1807 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xcd, 0x6f, 0x23, 0x49, 0x15, 0xa7, 0xed, 0xc4, 0x89, 0x9f, 0x9d, 0xd8, 0x53, 0x71, 0x12, 0x27, 0x3b, 0x93, 0xc9, 0xf6, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1/video_intelligence.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1/video_intelligence.pb.go new file mode 100644 index 000000000..32a0e3568 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1/video_intelligence.pb.go @@ -0,0 +1,1855 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto + +package videointelligence // import "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import duration "github.com/golang/protobuf/ptypes/duration" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import longrunning "google.golang.org/genproto/googleapis/longrunning" +import status "google.golang.org/genproto/googleapis/rpc/status" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Video annotation feature. +type Feature int32 + +const ( + // Unspecified. + Feature_FEATURE_UNSPECIFIED Feature = 0 + // Label detection. Detect objects, such as dog or flower. + Feature_LABEL_DETECTION Feature = 1 + // Shot change detection. + Feature_SHOT_CHANGE_DETECTION Feature = 2 + // Explicit content detection. + Feature_EXPLICIT_CONTENT_DETECTION Feature = 3 + // OCR text detection and tracking. + Feature_TEXT_DETECTION Feature = 7 + // Object detection and tracking. + Feature_OBJECT_TRACKING Feature = 9 +) + +var Feature_name = map[int32]string{ + 0: "FEATURE_UNSPECIFIED", + 1: "LABEL_DETECTION", + 2: "SHOT_CHANGE_DETECTION", + 3: "EXPLICIT_CONTENT_DETECTION", + 7: "TEXT_DETECTION", + 9: "OBJECT_TRACKING", +} +var Feature_value = map[string]int32{ + "FEATURE_UNSPECIFIED": 0, + "LABEL_DETECTION": 1, + "SHOT_CHANGE_DETECTION": 2, + "EXPLICIT_CONTENT_DETECTION": 3, + "TEXT_DETECTION": 7, + "OBJECT_TRACKING": 9, +} + +func (x Feature) String() string { + return proto.EnumName(Feature_name, int32(x)) +} +func (Feature) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{0} +} + +// Label detection mode. +type LabelDetectionMode int32 + +const ( + // Unspecified. + LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED LabelDetectionMode = 0 + // Detect shot-level labels. + LabelDetectionMode_SHOT_MODE LabelDetectionMode = 1 + // Detect frame-level labels. + LabelDetectionMode_FRAME_MODE LabelDetectionMode = 2 + // Detect both shot-level and frame-level labels. + LabelDetectionMode_SHOT_AND_FRAME_MODE LabelDetectionMode = 3 +) + +var LabelDetectionMode_name = map[int32]string{ + 0: "LABEL_DETECTION_MODE_UNSPECIFIED", + 1: "SHOT_MODE", + 2: "FRAME_MODE", + 3: "SHOT_AND_FRAME_MODE", +} +var LabelDetectionMode_value = map[string]int32{ + "LABEL_DETECTION_MODE_UNSPECIFIED": 0, + "SHOT_MODE": 1, + "FRAME_MODE": 2, + "SHOT_AND_FRAME_MODE": 3, +} + +func (x LabelDetectionMode) String() string { + return proto.EnumName(LabelDetectionMode_name, int32(x)) +} +func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{1} +} + +// Bucketized representation of likelihood. +type Likelihood int32 + +const ( + // Unspecified likelihood. + Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0 + // Very unlikely. + Likelihood_VERY_UNLIKELY Likelihood = 1 + // Unlikely. + Likelihood_UNLIKELY Likelihood = 2 + // Possible. + Likelihood_POSSIBLE Likelihood = 3 + // Likely. + Likelihood_LIKELY Likelihood = 4 + // Very likely. + Likelihood_VERY_LIKELY Likelihood = 5 +) + +var Likelihood_name = map[int32]string{ + 0: "LIKELIHOOD_UNSPECIFIED", + 1: "VERY_UNLIKELY", + 2: "UNLIKELY", + 3: "POSSIBLE", + 4: "LIKELY", + 5: "VERY_LIKELY", +} +var Likelihood_value = map[string]int32{ + "LIKELIHOOD_UNSPECIFIED": 0, + "VERY_UNLIKELY": 1, + "UNLIKELY": 2, + "POSSIBLE": 3, + "LIKELY": 4, + "VERY_LIKELY": 5, +} + +func (x Likelihood) String() string { + return proto.EnumName(Likelihood_name, int32(x)) +} +func (Likelihood) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{2} +} + +// Video annotation request. +type AnnotateVideoRequest struct { + // Input video location. Currently, only + // [Google Cloud Storage](https://cloud.google.com/storage/) URIs are + // supported, which must be specified in the following format: + // `gs://bucket-id/object-id` (other URI formats return + // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + // [Request URIs](/storage/docs/reference-uris). + // A video URI may include wildcards in `object-id`, and thus identify + // multiple videos. Supported wildcards: '*' to match 0 or more characters; + // '?' to match 1 character. If unset, the input video should be embedded + // in the request as `input_content`. If set, `input_content` should be unset. + InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` + // The video data bytes. + // If unset, the input video(s) should be specified via `input_uri`. + // If set, `input_uri` should be unset. + InputContent []byte `protobuf:"bytes,6,opt,name=input_content,json=inputContent,proto3" json:"input_content,omitempty"` + // Requested video annotation features. + Features []Feature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=google.cloud.videointelligence.v1p2beta1.Feature" json:"features,omitempty"` + // Additional video context and/or feature-specific parameters. + VideoContext *VideoContext `protobuf:"bytes,3,opt,name=video_context,json=videoContext,proto3" json:"video_context,omitempty"` + // Optional location where the output (in JSON format) should be stored. + // Currently, only [Google Cloud Storage](https://cloud.google.com/storage/) + // URIs are supported, which must be specified in the following format: + // `gs://bucket-id/object-id` (other URI formats return + // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see + // [Request URIs](/storage/docs/reference-uris). + OutputUri string `protobuf:"bytes,4,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` + // Optional cloud region where annotation should take place. Supported cloud + // regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region + // is specified, a region will be determined based on video file location. + LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} } +func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) } +func (*AnnotateVideoRequest) ProtoMessage() {} +func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{0} +} +func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b) +} +func (m *AnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnnotateVideoRequest.Marshal(b, m, deterministic) +} +func (dst *AnnotateVideoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnnotateVideoRequest.Merge(dst, src) +} +func (m *AnnotateVideoRequest) XXX_Size() int { + return xxx_messageInfo_AnnotateVideoRequest.Size(m) +} +func (m *AnnotateVideoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AnnotateVideoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AnnotateVideoRequest proto.InternalMessageInfo + +func (m *AnnotateVideoRequest) GetInputUri() string { + if m != nil { + return m.InputUri + } + return "" +} + +func (m *AnnotateVideoRequest) GetInputContent() []byte { + if m != nil { + return m.InputContent + } + return nil +} + +func (m *AnnotateVideoRequest) GetFeatures() []Feature { + if m != nil { + return m.Features + } + return nil +} + +func (m *AnnotateVideoRequest) GetVideoContext() *VideoContext { + if m != nil { + return m.VideoContext + } + return nil +} + +func (m *AnnotateVideoRequest) GetOutputUri() string { + if m != nil { + return m.OutputUri + } + return "" +} + +func (m *AnnotateVideoRequest) GetLocationId() string { + if m != nil { + return m.LocationId + } + return "" +} + +// Video context and/or feature-specific parameters. +type VideoContext struct { + // Video segments to annotate. The segments may overlap and are not required + // to be contiguous or span the whole video. If unspecified, each video is + // treated as a single segment. + Segments []*VideoSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` + // Config for LABEL_DETECTION. + LabelDetectionConfig *LabelDetectionConfig `protobuf:"bytes,2,opt,name=label_detection_config,json=labelDetectionConfig,proto3" json:"label_detection_config,omitempty"` + // Config for SHOT_CHANGE_DETECTION. + ShotChangeDetectionConfig *ShotChangeDetectionConfig `protobuf:"bytes,3,opt,name=shot_change_detection_config,json=shotChangeDetectionConfig,proto3" json:"shot_change_detection_config,omitempty"` + // Config for EXPLICIT_CONTENT_DETECTION. + ExplicitContentDetectionConfig *ExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3" json:"explicit_content_detection_config,omitempty"` + // Config for TEXT_DETECTION. + TextDetectionConfig *TextDetectionConfig `protobuf:"bytes,8,opt,name=text_detection_config,json=textDetectionConfig,proto3" json:"text_detection_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VideoContext) Reset() { *m = VideoContext{} } +func (m *VideoContext) String() string { return proto.CompactTextString(m) } +func (*VideoContext) ProtoMessage() {} +func (*VideoContext) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{1} +} +func (m *VideoContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VideoContext.Unmarshal(m, b) +} +func (m *VideoContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VideoContext.Marshal(b, m, deterministic) +} +func (dst *VideoContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_VideoContext.Merge(dst, src) +} +func (m *VideoContext) XXX_Size() int { + return xxx_messageInfo_VideoContext.Size(m) +} +func (m *VideoContext) XXX_DiscardUnknown() { + xxx_messageInfo_VideoContext.DiscardUnknown(m) +} + +var xxx_messageInfo_VideoContext proto.InternalMessageInfo + +func (m *VideoContext) GetSegments() []*VideoSegment { + if m != nil { + return m.Segments + } + return nil +} + +func (m *VideoContext) GetLabelDetectionConfig() *LabelDetectionConfig { + if m != nil { + return m.LabelDetectionConfig + } + return nil +} + +func (m *VideoContext) GetShotChangeDetectionConfig() *ShotChangeDetectionConfig { + if m != nil { + return m.ShotChangeDetectionConfig + } + return nil +} + +func (m *VideoContext) GetExplicitContentDetectionConfig() *ExplicitContentDetectionConfig { + if m != nil { + return m.ExplicitContentDetectionConfig + } + return nil +} + +func (m *VideoContext) GetTextDetectionConfig() *TextDetectionConfig { + if m != nil { + return m.TextDetectionConfig + } + return nil +} + +// Config for LABEL_DETECTION. +type LabelDetectionConfig struct { + // What labels should be detected with LABEL_DETECTION, in addition to + // video-level labels or segment-level labels. + // If unspecified, defaults to `SHOT_MODE`. + LabelDetectionMode LabelDetectionMode `protobuf:"varint,1,opt,name=label_detection_mode,json=labelDetectionMode,proto3,enum=google.cloud.videointelligence.v1p2beta1.LabelDetectionMode" json:"label_detection_mode,omitempty"` + // Whether the video has been shot from a stationary (i.e. non-moving) camera. + // When set to true, might improve detection accuracy for moving objects. + // Should be used with `SHOT_AND_FRAME_MODE` enabled. + StationaryCamera bool `protobuf:"varint,2,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"` + // Model to use for label detection. + // Supported values: "builtin/stable" (the default if unset) and + // "builtin/latest". + Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LabelDetectionConfig) Reset() { *m = LabelDetectionConfig{} } +func (m *LabelDetectionConfig) String() string { return proto.CompactTextString(m) } +func (*LabelDetectionConfig) ProtoMessage() {} +func (*LabelDetectionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{2} +} +func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabelDetectionConfig.Unmarshal(m, b) +} +func (m *LabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabelDetectionConfig.Marshal(b, m, deterministic) +} +func (dst *LabelDetectionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelDetectionConfig.Merge(dst, src) +} +func (m *LabelDetectionConfig) XXX_Size() int { + return xxx_messageInfo_LabelDetectionConfig.Size(m) +} +func (m *LabelDetectionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_LabelDetectionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_LabelDetectionConfig proto.InternalMessageInfo + +func (m *LabelDetectionConfig) GetLabelDetectionMode() LabelDetectionMode { + if m != nil { + return m.LabelDetectionMode + } + return LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED +} + +func (m *LabelDetectionConfig) GetStationaryCamera() bool { + if m != nil { + return m.StationaryCamera + } + return false +} + +func (m *LabelDetectionConfig) GetModel() string { + if m != nil { + return m.Model + } + return "" +} + +// Config for SHOT_CHANGE_DETECTION. +type ShotChangeDetectionConfig struct { + // Model to use for shot change detection. + // Supported values: "builtin/stable" (the default if unset) and + // "builtin/latest". + Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ShotChangeDetectionConfig) Reset() { *m = ShotChangeDetectionConfig{} } +func (m *ShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } +func (*ShotChangeDetectionConfig) ProtoMessage() {} +func (*ShotChangeDetectionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{3} +} +func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShotChangeDetectionConfig.Unmarshal(m, b) +} +func (m *ShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShotChangeDetectionConfig.Marshal(b, m, deterministic) +} +func (dst *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShotChangeDetectionConfig.Merge(dst, src) +} +func (m *ShotChangeDetectionConfig) XXX_Size() int { + return xxx_messageInfo_ShotChangeDetectionConfig.Size(m) +} +func (m *ShotChangeDetectionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ShotChangeDetectionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ShotChangeDetectionConfig proto.InternalMessageInfo + +func (m *ShotChangeDetectionConfig) GetModel() string { + if m != nil { + return m.Model + } + return "" +} + +// Config for EXPLICIT_CONTENT_DETECTION. +type ExplicitContentDetectionConfig struct { + // Model to use for explicit content detection. + // Supported values: "builtin/stable" (the default if unset) and + // "builtin/latest". + Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExplicitContentDetectionConfig) Reset() { *m = ExplicitContentDetectionConfig{} } +func (m *ExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } +func (*ExplicitContentDetectionConfig) ProtoMessage() {} +func (*ExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{4} +} +func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExplicitContentDetectionConfig.Unmarshal(m, b) +} +func (m *ExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExplicitContentDetectionConfig.Marshal(b, m, deterministic) +} +func (dst *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExplicitContentDetectionConfig.Merge(dst, src) +} +func (m *ExplicitContentDetectionConfig) XXX_Size() int { + return xxx_messageInfo_ExplicitContentDetectionConfig.Size(m) +} +func (m *ExplicitContentDetectionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ExplicitContentDetectionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ExplicitContentDetectionConfig proto.InternalMessageInfo + +func (m *ExplicitContentDetectionConfig) GetModel() string { + if m != nil { + return m.Model + } + return "" +} + +// Config for TEXT_DETECTION. +type TextDetectionConfig struct { + // Language hint can be specified if the language to be detected is known a + // priori. It can increase the accuracy of the detection. Language hint must + // be language code in BCP-47 format. + // + // Automatic language detection is performed if no hint is provided. + LanguageHints []string `protobuf:"bytes,1,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TextDetectionConfig) Reset() { *m = TextDetectionConfig{} } +func (m *TextDetectionConfig) String() string { return proto.CompactTextString(m) } +func (*TextDetectionConfig) ProtoMessage() {} +func (*TextDetectionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{5} +} +func (m *TextDetectionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TextDetectionConfig.Unmarshal(m, b) +} +func (m *TextDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TextDetectionConfig.Marshal(b, m, deterministic) +} +func (dst *TextDetectionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_TextDetectionConfig.Merge(dst, src) +} +func (m *TextDetectionConfig) XXX_Size() int { + return xxx_messageInfo_TextDetectionConfig.Size(m) +} +func (m *TextDetectionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_TextDetectionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_TextDetectionConfig proto.InternalMessageInfo + +func (m *TextDetectionConfig) GetLanguageHints() []string { + if m != nil { + return m.LanguageHints + } + return nil +} + +// Video segment. +type VideoSegment struct { + // Time-offset, relative to the beginning of the video, + // corresponding to the start of the segment (inclusive). + StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` + // Time-offset, relative to the beginning of the video, + // corresponding to the end of the segment (inclusive). + EndTimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VideoSegment) Reset() { *m = VideoSegment{} } +func (m *VideoSegment) String() string { return proto.CompactTextString(m) } +func (*VideoSegment) ProtoMessage() {} +func (*VideoSegment) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{6} +} +func (m *VideoSegment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VideoSegment.Unmarshal(m, b) +} +func (m *VideoSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VideoSegment.Marshal(b, m, deterministic) +} +func (dst *VideoSegment) XXX_Merge(src proto.Message) { + xxx_messageInfo_VideoSegment.Merge(dst, src) +} +func (m *VideoSegment) XXX_Size() int { + return xxx_messageInfo_VideoSegment.Size(m) +} +func (m *VideoSegment) XXX_DiscardUnknown() { + xxx_messageInfo_VideoSegment.DiscardUnknown(m) +} + +var xxx_messageInfo_VideoSegment proto.InternalMessageInfo + +func (m *VideoSegment) GetStartTimeOffset() *duration.Duration { + if m != nil { + return m.StartTimeOffset + } + return nil +} + +func (m *VideoSegment) GetEndTimeOffset() *duration.Duration { + if m != nil { + return m.EndTimeOffset + } + return nil +} + +// Video segment level annotation results for label detection. +type LabelSegment struct { + // Video segment where a label was detected. + Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` + // Confidence that the label is accurate. Range: [0, 1]. + Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LabelSegment) Reset() { *m = LabelSegment{} } +func (m *LabelSegment) String() string { return proto.CompactTextString(m) } +func (*LabelSegment) ProtoMessage() {} +func (*LabelSegment) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{7} +} +func (m *LabelSegment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabelSegment.Unmarshal(m, b) +} +func (m *LabelSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabelSegment.Marshal(b, m, deterministic) +} +func (dst *LabelSegment) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelSegment.Merge(dst, src) +} +func (m *LabelSegment) XXX_Size() int { + return xxx_messageInfo_LabelSegment.Size(m) +} +func (m *LabelSegment) XXX_DiscardUnknown() { + xxx_messageInfo_LabelSegment.DiscardUnknown(m) +} + +var xxx_messageInfo_LabelSegment proto.InternalMessageInfo + +func (m *LabelSegment) GetSegment() *VideoSegment { + if m != nil { + return m.Segment + } + return nil +} + +func (m *LabelSegment) GetConfidence() float32 { + if m != nil { + return m.Confidence + } + return 0 +} + +// Video frame level annotation results for label detection. +type LabelFrame struct { + // Time-offset, relative to the beginning of the video, corresponding to the + // video frame for this location. + TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + // Confidence that the label is accurate. Range: [0, 1]. + Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LabelFrame) Reset() { *m = LabelFrame{} } +func (m *LabelFrame) String() string { return proto.CompactTextString(m) } +func (*LabelFrame) ProtoMessage() {} +func (*LabelFrame) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{8} +} +func (m *LabelFrame) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabelFrame.Unmarshal(m, b) +} +func (m *LabelFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabelFrame.Marshal(b, m, deterministic) +} +func (dst *LabelFrame) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelFrame.Merge(dst, src) +} +func (m *LabelFrame) XXX_Size() int { + return xxx_messageInfo_LabelFrame.Size(m) +} +func (m *LabelFrame) XXX_DiscardUnknown() { + xxx_messageInfo_LabelFrame.DiscardUnknown(m) +} + +var xxx_messageInfo_LabelFrame proto.InternalMessageInfo + +func (m *LabelFrame) GetTimeOffset() *duration.Duration { + if m != nil { + return m.TimeOffset + } + return nil +} + +func (m *LabelFrame) GetConfidence() float32 { + if m != nil { + return m.Confidence + } + return 0 +} + +// Detected entity from video analysis. +type Entity struct { + // Opaque entity ID. Some IDs may be available in + // [Google Knowledge Graph Search + // API](https://developers.google.com/knowledge-graph/). + EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + // Textual description, e.g. `Fixed-gear bicycle`. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Language code for `description` in BCP-47 format. + LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Entity) Reset() { *m = Entity{} } +func (m *Entity) String() string { return proto.CompactTextString(m) } +func (*Entity) ProtoMessage() {} +func (*Entity) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{9} +} +func (m *Entity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Entity.Unmarshal(m, b) +} +func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Entity.Marshal(b, m, deterministic) +} +func (dst *Entity) XXX_Merge(src proto.Message) { + xxx_messageInfo_Entity.Merge(dst, src) +} +func (m *Entity) XXX_Size() int { + return xxx_messageInfo_Entity.Size(m) +} +func (m *Entity) XXX_DiscardUnknown() { + xxx_messageInfo_Entity.DiscardUnknown(m) +} + +var xxx_messageInfo_Entity proto.InternalMessageInfo + +func (m *Entity) GetEntityId() string { + if m != nil { + return m.EntityId + } + return "" +} + +func (m *Entity) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Entity) GetLanguageCode() string { + if m != nil { + return m.LanguageCode + } + return "" +} + +// Label annotation. +type LabelAnnotation struct { + // Detected entity. + Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` + // Common categories for the detected entity. + // E.g. when the label is `Terrier` the category is likely `dog`. And in some + // cases there might be more than one categories e.g. `Terrier` could also be + // a `pet`. + CategoryEntities []*Entity `protobuf:"bytes,2,rep,name=category_entities,json=categoryEntities,proto3" json:"category_entities,omitempty"` + // All video segments where a label was detected. + Segments []*LabelSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"` + // All video frames where a label was detected. + Frames []*LabelFrame `protobuf:"bytes,4,rep,name=frames,proto3" json:"frames,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} } +func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) } +func (*LabelAnnotation) ProtoMessage() {} +func (*LabelAnnotation) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{10} +} +func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b) +} +func (m *LabelAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabelAnnotation.Marshal(b, m, deterministic) +} +func (dst *LabelAnnotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelAnnotation.Merge(dst, src) +} +func (m *LabelAnnotation) XXX_Size() int { + return xxx_messageInfo_LabelAnnotation.Size(m) +} +func (m *LabelAnnotation) XXX_DiscardUnknown() { + xxx_messageInfo_LabelAnnotation.DiscardUnknown(m) +} + +var xxx_messageInfo_LabelAnnotation proto.InternalMessageInfo + +func (m *LabelAnnotation) GetEntity() *Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (m *LabelAnnotation) GetCategoryEntities() []*Entity { + if m != nil { + return m.CategoryEntities + } + return nil +} + +func (m *LabelAnnotation) GetSegments() []*LabelSegment { + if m != nil { + return m.Segments + } + return nil +} + +func (m *LabelAnnotation) GetFrames() []*LabelFrame { + if m != nil { + return m.Frames + } + return nil +} + +// Video frame level annotation results for explicit content. +type ExplicitContentFrame struct { + // Time-offset, relative to the beginning of the video, corresponding to the + // video frame for this location. + TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + // Likelihood of the pornography content.. + PornographyLikelihood Likelihood `protobuf:"varint,2,opt,name=pornography_likelihood,json=pornographyLikelihood,proto3,enum=google.cloud.videointelligence.v1p2beta1.Likelihood" json:"pornography_likelihood,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExplicitContentFrame) Reset() { *m = ExplicitContentFrame{} } +func (m *ExplicitContentFrame) String() string { return proto.CompactTextString(m) } +func (*ExplicitContentFrame) ProtoMessage() {} +func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{11} +} +func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExplicitContentFrame.Unmarshal(m, b) +} +func (m *ExplicitContentFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExplicitContentFrame.Marshal(b, m, deterministic) +} +func (dst *ExplicitContentFrame) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExplicitContentFrame.Merge(dst, src) +} +func (m *ExplicitContentFrame) XXX_Size() int { + return xxx_messageInfo_ExplicitContentFrame.Size(m) +} +func (m *ExplicitContentFrame) XXX_DiscardUnknown() { + xxx_messageInfo_ExplicitContentFrame.DiscardUnknown(m) +} + +var xxx_messageInfo_ExplicitContentFrame proto.InternalMessageInfo + +func (m *ExplicitContentFrame) GetTimeOffset() *duration.Duration { + if m != nil { + return m.TimeOffset + } + return nil +} + +func (m *ExplicitContentFrame) GetPornographyLikelihood() Likelihood { + if m != nil { + return m.PornographyLikelihood + } + return Likelihood_LIKELIHOOD_UNSPECIFIED +} + +// Explicit content annotation (based on per-frame visual signals only). +// If no explicit content has been detected in a frame, no annotations are +// present for that frame. +type ExplicitContentAnnotation struct { + // All video frames where explicit content was detected. + Frames []*ExplicitContentFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExplicitContentAnnotation) Reset() { *m = ExplicitContentAnnotation{} } +func (m *ExplicitContentAnnotation) String() string { return proto.CompactTextString(m) } +func (*ExplicitContentAnnotation) ProtoMessage() {} +func (*ExplicitContentAnnotation) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{12} +} +func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExplicitContentAnnotation.Unmarshal(m, b) +} +func (m *ExplicitContentAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExplicitContentAnnotation.Marshal(b, m, deterministic) +} +func (dst *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExplicitContentAnnotation.Merge(dst, src) +} +func (m *ExplicitContentAnnotation) XXX_Size() int { + return xxx_messageInfo_ExplicitContentAnnotation.Size(m) +} +func (m *ExplicitContentAnnotation) XXX_DiscardUnknown() { + xxx_messageInfo_ExplicitContentAnnotation.DiscardUnknown(m) +} + +var xxx_messageInfo_ExplicitContentAnnotation proto.InternalMessageInfo + +func (m *ExplicitContentAnnotation) GetFrames() []*ExplicitContentFrame { + if m != nil { + return m.Frames + } + return nil +} + +// Normalized bounding box. +// The normalized vertex coordinates are relative to the original image. +// Range: [0, 1]. +type NormalizedBoundingBox struct { + // Left X coordinate. + Left float32 `protobuf:"fixed32,1,opt,name=left,proto3" json:"left,omitempty"` + // Top Y coordinate. + Top float32 `protobuf:"fixed32,2,opt,name=top,proto3" json:"top,omitempty"` + // Right X coordinate. + Right float32 `protobuf:"fixed32,3,opt,name=right,proto3" json:"right,omitempty"` + // Bottom Y coordinate. + Bottom float32 `protobuf:"fixed32,4,opt,name=bottom,proto3" json:"bottom,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NormalizedBoundingBox) Reset() { *m = NormalizedBoundingBox{} } +func (m *NormalizedBoundingBox) String() string { return proto.CompactTextString(m) } +func (*NormalizedBoundingBox) ProtoMessage() {} +func (*NormalizedBoundingBox) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{13} +} +func (m *NormalizedBoundingBox) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NormalizedBoundingBox.Unmarshal(m, b) +} +func (m *NormalizedBoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NormalizedBoundingBox.Marshal(b, m, deterministic) +} +func (dst *NormalizedBoundingBox) XXX_Merge(src proto.Message) { + xxx_messageInfo_NormalizedBoundingBox.Merge(dst, src) +} +func (m *NormalizedBoundingBox) XXX_Size() int { + return xxx_messageInfo_NormalizedBoundingBox.Size(m) +} +func (m *NormalizedBoundingBox) XXX_DiscardUnknown() { + xxx_messageInfo_NormalizedBoundingBox.DiscardUnknown(m) +} + +var xxx_messageInfo_NormalizedBoundingBox proto.InternalMessageInfo + +func (m *NormalizedBoundingBox) GetLeft() float32 { + if m != nil { + return m.Left + } + return 0 +} + +func (m *NormalizedBoundingBox) GetTop() float32 { + if m != nil { + return m.Top + } + return 0 +} + +func (m *NormalizedBoundingBox) GetRight() float32 { + if m != nil { + return m.Right + } + return 0 +} + +func (m *NormalizedBoundingBox) GetBottom() float32 { + if m != nil { + return m.Bottom + } + return 0 +} + +// Annotation results for a single video. +type VideoAnnotationResults struct { + // Video file location in + // [Google Cloud Storage](https://cloud.google.com/storage/). + InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` + // Label annotations on video level or user specified segment level. + // There is exactly one element for each unique label. + SegmentLabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=segment_label_annotations,json=segmentLabelAnnotations,proto3" json:"segment_label_annotations,omitempty"` + // Label annotations on shot level. + // There is exactly one element for each unique label. + ShotLabelAnnotations []*LabelAnnotation `protobuf:"bytes,3,rep,name=shot_label_annotations,json=shotLabelAnnotations,proto3" json:"shot_label_annotations,omitempty"` + // Label annotations on frame level. + // There is exactly one element for each unique label. + FrameLabelAnnotations []*LabelAnnotation `protobuf:"bytes,4,rep,name=frame_label_annotations,json=frameLabelAnnotations,proto3" json:"frame_label_annotations,omitempty"` + // Shot annotations. Each shot is represented as a video segment. + ShotAnnotations []*VideoSegment `protobuf:"bytes,6,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"` + // Explicit content annotation. + ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,7,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"` + // OCR text detection and tracking. + // Annotations for list of detected text snippets. Each will have list of + // frame information associated with it. + TextAnnotations []*TextAnnotation `protobuf:"bytes,12,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"` + // Annotations for list of objects detected and tracked in video. + ObjectAnnotations []*ObjectTrackingAnnotation `protobuf:"bytes,14,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"` + // If set, indicates an error. Note that for a single `AnnotateVideoRequest` + // some videos may succeed and some may fail. + Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} } +func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) } +func (*VideoAnnotationResults) ProtoMessage() {} +func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{14} +} +func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b) +} +func (m *VideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VideoAnnotationResults.Marshal(b, m, deterministic) +} +func (dst *VideoAnnotationResults) XXX_Merge(src proto.Message) { + xxx_messageInfo_VideoAnnotationResults.Merge(dst, src) +} +func (m *VideoAnnotationResults) XXX_Size() int { + return xxx_messageInfo_VideoAnnotationResults.Size(m) +} +func (m *VideoAnnotationResults) XXX_DiscardUnknown() { + xxx_messageInfo_VideoAnnotationResults.DiscardUnknown(m) +} + +var xxx_messageInfo_VideoAnnotationResults proto.InternalMessageInfo + +func (m *VideoAnnotationResults) GetInputUri() string { + if m != nil { + return m.InputUri + } + return "" +} + +func (m *VideoAnnotationResults) GetSegmentLabelAnnotations() []*LabelAnnotation { + if m != nil { + return m.SegmentLabelAnnotations + } + return nil +} + +func (m *VideoAnnotationResults) GetShotLabelAnnotations() []*LabelAnnotation { + if m != nil { + return m.ShotLabelAnnotations + } + return nil +} + +func (m *VideoAnnotationResults) GetFrameLabelAnnotations() []*LabelAnnotation { + if m != nil { + return m.FrameLabelAnnotations + } + return nil +} + +func (m *VideoAnnotationResults) GetShotAnnotations() []*VideoSegment { + if m != nil { + return m.ShotAnnotations + } + return nil +} + +func (m *VideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation { + if m != nil { + return m.ExplicitAnnotation + } + return nil +} + +func (m *VideoAnnotationResults) GetTextAnnotations() []*TextAnnotation { + if m != nil { + return m.TextAnnotations + } + return nil +} + +func (m *VideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation { + if m != nil { + return m.ObjectAnnotations + } + return nil +} + +func (m *VideoAnnotationResults) GetError() *status.Status { + if m != nil { + return m.Error + } + return nil +} + +// Video annotation response. Included in the `response` +// field of the `Operation` returned by the `GetOperation` +// call of the `google::longrunning::Operations` service. +type AnnotateVideoResponse struct { + // Annotation results for all videos specified in `AnnotateVideoRequest`. + AnnotationResults []*VideoAnnotationResults `protobuf:"bytes,1,rep,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} } +func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) } +func (*AnnotateVideoResponse) ProtoMessage() {} +func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{15} +} +func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b) +} +func (m *AnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnnotateVideoResponse.Marshal(b, m, deterministic) +} +func (dst *AnnotateVideoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnnotateVideoResponse.Merge(dst, src) +} +func (m *AnnotateVideoResponse) XXX_Size() int { + return xxx_messageInfo_AnnotateVideoResponse.Size(m) +} +func (m *AnnotateVideoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AnnotateVideoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AnnotateVideoResponse proto.InternalMessageInfo + +func (m *AnnotateVideoResponse) GetAnnotationResults() []*VideoAnnotationResults { + if m != nil { + return m.AnnotationResults + } + return nil +} + +// Annotation progress for a single video. +type VideoAnnotationProgress struct { + // Video file location in + // [Google Cloud Storage](https://cloud.google.com/storage/). + InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` + // Approximate percentage processed thus far. Guaranteed to be + // 100 when fully processed. + ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` + // Time when the request was received. + StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // Time of the most recent update. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress{} } +func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) } +func (*VideoAnnotationProgress) ProtoMessage() {} +func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{16} +} +func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b) +} +func (m *VideoAnnotationProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VideoAnnotationProgress.Marshal(b, m, deterministic) +} +func (dst *VideoAnnotationProgress) XXX_Merge(src proto.Message) { + xxx_messageInfo_VideoAnnotationProgress.Merge(dst, src) +} +func (m *VideoAnnotationProgress) XXX_Size() int { + return xxx_messageInfo_VideoAnnotationProgress.Size(m) +} +func (m *VideoAnnotationProgress) XXX_DiscardUnknown() { + xxx_messageInfo_VideoAnnotationProgress.DiscardUnknown(m) +} + +var xxx_messageInfo_VideoAnnotationProgress proto.InternalMessageInfo + +func (m *VideoAnnotationProgress) GetInputUri() string { + if m != nil { + return m.InputUri + } + return "" +} + +func (m *VideoAnnotationProgress) GetProgressPercent() int32 { + if m != nil { + return m.ProgressPercent + } + return 0 +} + +func (m *VideoAnnotationProgress) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *VideoAnnotationProgress) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +// Video annotation progress. Included in the `metadata` +// field of the `Operation` returned by the `GetOperation` +// call of the `google::longrunning::Operations` service. +type AnnotateVideoProgress struct { + // Progress metadata for all videos specified in `AnnotateVideoRequest`. + AnnotationProgress []*VideoAnnotationProgress `protobuf:"bytes,1,rep,name=annotation_progress,json=annotationProgress,proto3" json:"annotation_progress,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} } +func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) } +func (*AnnotateVideoProgress) ProtoMessage() {} +func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{17} +} +func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b) +} +func (m *AnnotateVideoProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnnotateVideoProgress.Marshal(b, m, deterministic) +} +func (dst *AnnotateVideoProgress) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnnotateVideoProgress.Merge(dst, src) +} +func (m *AnnotateVideoProgress) XXX_Size() int { + return xxx_messageInfo_AnnotateVideoProgress.Size(m) +} +func (m *AnnotateVideoProgress) XXX_DiscardUnknown() { + xxx_messageInfo_AnnotateVideoProgress.DiscardUnknown(m) +} + +var xxx_messageInfo_AnnotateVideoProgress proto.InternalMessageInfo + +func (m *AnnotateVideoProgress) GetAnnotationProgress() []*VideoAnnotationProgress { + if m != nil { + return m.AnnotationProgress + } + return nil +} + +// A vertex represents a 2D point in the image. +// NOTE: the normalized vertex coordinates are relative to the original image +// and range from 0 to 1. +type NormalizedVertex struct { + // X coordinate. + X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` + // Y coordinate. + Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NormalizedVertex) Reset() { *m = NormalizedVertex{} } +func (m *NormalizedVertex) String() string { return proto.CompactTextString(m) } +func (*NormalizedVertex) ProtoMessage() {} +func (*NormalizedVertex) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{18} +} +func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NormalizedVertex.Unmarshal(m, b) +} +func (m *NormalizedVertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NormalizedVertex.Marshal(b, m, deterministic) +} +func (dst *NormalizedVertex) XXX_Merge(src proto.Message) { + xxx_messageInfo_NormalizedVertex.Merge(dst, src) +} +func (m *NormalizedVertex) XXX_Size() int { + return xxx_messageInfo_NormalizedVertex.Size(m) +} +func (m *NormalizedVertex) XXX_DiscardUnknown() { + xxx_messageInfo_NormalizedVertex.DiscardUnknown(m) +} + +var xxx_messageInfo_NormalizedVertex proto.InternalMessageInfo + +func (m *NormalizedVertex) GetX() float32 { + if m != nil { + return m.X + } + return 0 +} + +func (m *NormalizedVertex) GetY() float32 { + if m != nil { + return m.Y + } + return 0 +} + +// Normalized bounding polygon for text (that might not be aligned with axis). +// Contains list of the corner points in clockwise order starting from +// top-left corner. For example, for a rectangular bounding box: +// When the text is horizontal it might look like: +// 0----1 +// | | +// 3----2 +// +// When it's clockwise rotated 180 degrees around the top-left corner it +// becomes: +// 2----3 +// | | +// 1----0 +// +// and the vertex order will still be (0, 1, 2, 3). Note that values can be less +// than 0, or greater than 1 due to trignometric calculations for location of +// the box. +type NormalizedBoundingPoly struct { + // Normalized vertices of the bounding polygon. + Vertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NormalizedBoundingPoly) Reset() { *m = NormalizedBoundingPoly{} } +func (m *NormalizedBoundingPoly) String() string { return proto.CompactTextString(m) } +func (*NormalizedBoundingPoly) ProtoMessage() {} +func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{19} +} +func (m *NormalizedBoundingPoly) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NormalizedBoundingPoly.Unmarshal(m, b) +} +func (m *NormalizedBoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NormalizedBoundingPoly.Marshal(b, m, deterministic) +} +func (dst *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { + xxx_messageInfo_NormalizedBoundingPoly.Merge(dst, src) +} +func (m *NormalizedBoundingPoly) XXX_Size() int { + return xxx_messageInfo_NormalizedBoundingPoly.Size(m) +} +func (m *NormalizedBoundingPoly) XXX_DiscardUnknown() { + xxx_messageInfo_NormalizedBoundingPoly.DiscardUnknown(m) +} + +var xxx_messageInfo_NormalizedBoundingPoly proto.InternalMessageInfo + +func (m *NormalizedBoundingPoly) GetVertices() []*NormalizedVertex { + if m != nil { + return m.Vertices + } + return nil +} + +// Video segment level annotation results for text detection. +type TextSegment struct { + // Video segment where a text snippet was detected. + Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` + // Confidence for the track of detected text. It is calculated as the highest + // over all frames where OCR detected text appears. + Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` + // Information related to the frames where OCR detected text appears. + Frames []*TextFrame `protobuf:"bytes,3,rep,name=frames,proto3" json:"frames,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TextSegment) Reset() { *m = TextSegment{} } +func (m *TextSegment) String() string { return proto.CompactTextString(m) } +func (*TextSegment) ProtoMessage() {} +func (*TextSegment) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{20} +} +func (m *TextSegment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TextSegment.Unmarshal(m, b) +} +func (m *TextSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TextSegment.Marshal(b, m, deterministic) +} +func (dst *TextSegment) XXX_Merge(src proto.Message) { + xxx_messageInfo_TextSegment.Merge(dst, src) +} +func (m *TextSegment) XXX_Size() int { + return xxx_messageInfo_TextSegment.Size(m) +} +func (m *TextSegment) XXX_DiscardUnknown() { + xxx_messageInfo_TextSegment.DiscardUnknown(m) +} + +var xxx_messageInfo_TextSegment proto.InternalMessageInfo + +func (m *TextSegment) GetSegment() *VideoSegment { + if m != nil { + return m.Segment + } + return nil +} + +func (m *TextSegment) GetConfidence() float32 { + if m != nil { + return m.Confidence + } + return 0 +} + +func (m *TextSegment) GetFrames() []*TextFrame { + if m != nil { + return m.Frames + } + return nil +} + +// Video frame level annotation results for text annotation (OCR). +// Contains information regarding timestamp and bounding box locations for the +// frames containing detected OCR text snippets. +type TextFrame struct { + // Bounding polygon of the detected text for this frame. + RotatedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=rotated_bounding_box,json=rotatedBoundingBox,proto3" json:"rotated_bounding_box,omitempty"` + // Timestamp of this frame. + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TextFrame) Reset() { *m = TextFrame{} } +func (m *TextFrame) String() string { return proto.CompactTextString(m) } +func (*TextFrame) ProtoMessage() {} +func (*TextFrame) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{21} +} +func (m *TextFrame) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TextFrame.Unmarshal(m, b) +} +func (m *TextFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TextFrame.Marshal(b, m, deterministic) +} +func (dst *TextFrame) XXX_Merge(src proto.Message) { + xxx_messageInfo_TextFrame.Merge(dst, src) +} +func (m *TextFrame) XXX_Size() int { + return xxx_messageInfo_TextFrame.Size(m) +} +func (m *TextFrame) XXX_DiscardUnknown() { + xxx_messageInfo_TextFrame.DiscardUnknown(m) +} + +var xxx_messageInfo_TextFrame proto.InternalMessageInfo + +func (m *TextFrame) GetRotatedBoundingBox() *NormalizedBoundingPoly { + if m != nil { + return m.RotatedBoundingBox + } + return nil +} + +func (m *TextFrame) GetTimeOffset() *duration.Duration { + if m != nil { + return m.TimeOffset + } + return nil +} + +// Annotations related to one detected OCR text snippet. This will contain the +// corresponding text, confidence value, and frame level information for each +// detection. +type TextAnnotation struct { + // The detected text. + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + // All video segments where OCR detected text appears. + Segments []*TextSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TextAnnotation) Reset() { *m = TextAnnotation{} } +func (m *TextAnnotation) String() string { return proto.CompactTextString(m) } +func (*TextAnnotation) ProtoMessage() {} +func (*TextAnnotation) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{22} +} +func (m *TextAnnotation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TextAnnotation.Unmarshal(m, b) +} +func (m *TextAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TextAnnotation.Marshal(b, m, deterministic) +} +func (dst *TextAnnotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_TextAnnotation.Merge(dst, src) +} +func (m *TextAnnotation) XXX_Size() int { + return xxx_messageInfo_TextAnnotation.Size(m) +} +func (m *TextAnnotation) XXX_DiscardUnknown() { + xxx_messageInfo_TextAnnotation.DiscardUnknown(m) +} + +var xxx_messageInfo_TextAnnotation proto.InternalMessageInfo + +func (m *TextAnnotation) GetText() string { + if m != nil { + return m.Text + } + return "" +} + +func (m *TextAnnotation) GetSegments() []*TextSegment { + if m != nil { + return m.Segments + } + return nil +} + +// Video frame level annotations for object detection and tracking. This field +// stores per frame location, time offset, and confidence. +type ObjectTrackingFrame struct { + // The normalized bounding box location of this object track for the frame. + NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` + // The timestamp of the frame in microseconds. + TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ObjectTrackingFrame) Reset() { *m = ObjectTrackingFrame{} } +func (m *ObjectTrackingFrame) String() string { return proto.CompactTextString(m) } +func (*ObjectTrackingFrame) ProtoMessage() {} +func (*ObjectTrackingFrame) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{23} +} +func (m *ObjectTrackingFrame) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ObjectTrackingFrame.Unmarshal(m, b) +} +func (m *ObjectTrackingFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ObjectTrackingFrame.Marshal(b, m, deterministic) +} +func (dst *ObjectTrackingFrame) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectTrackingFrame.Merge(dst, src) +} +func (m *ObjectTrackingFrame) XXX_Size() int { + return xxx_messageInfo_ObjectTrackingFrame.Size(m) +} +func (m *ObjectTrackingFrame) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectTrackingFrame.DiscardUnknown(m) +} + +var xxx_messageInfo_ObjectTrackingFrame proto.InternalMessageInfo + +func (m *ObjectTrackingFrame) GetNormalizedBoundingBox() *NormalizedBoundingBox { + if m != nil { + return m.NormalizedBoundingBox + } + return nil +} + +func (m *ObjectTrackingFrame) GetTimeOffset() *duration.Duration { + if m != nil { + return m.TimeOffset + } + return nil +} + +// Annotations corresponding to one tracked object. +type ObjectTrackingAnnotation struct { + // Entity to specify the object category that this track is labeled as. + Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` + // Object category's labeling confidence of this track. + Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` + // Information corresponding to all frames where this object track appears. + Frames []*ObjectTrackingFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"` + // Each object track corresponds to one video segment where it appears. + Segment *VideoSegment `protobuf:"bytes,3,opt,name=segment,proto3" json:"segment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ObjectTrackingAnnotation) Reset() { *m = ObjectTrackingAnnotation{} } +func (m *ObjectTrackingAnnotation) String() string { return proto.CompactTextString(m) } +func (*ObjectTrackingAnnotation) ProtoMessage() {} +func (*ObjectTrackingAnnotation) Descriptor() ([]byte, []int) { + return fileDescriptor_video_intelligence_2956143fcbd64066, []int{24} +} +func (m *ObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ObjectTrackingAnnotation.Unmarshal(m, b) +} +func (m *ObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ObjectTrackingAnnotation.Marshal(b, m, deterministic) +} +func (dst *ObjectTrackingAnnotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectTrackingAnnotation.Merge(dst, src) +} +func (m *ObjectTrackingAnnotation) XXX_Size() int { + return xxx_messageInfo_ObjectTrackingAnnotation.Size(m) +} +func (m *ObjectTrackingAnnotation) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectTrackingAnnotation.DiscardUnknown(m) +} + +var xxx_messageInfo_ObjectTrackingAnnotation proto.InternalMessageInfo + +func (m *ObjectTrackingAnnotation) GetEntity() *Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (m *ObjectTrackingAnnotation) GetConfidence() float32 { + if m != nil { + return m.Confidence + } + return 0 +} + +func (m *ObjectTrackingAnnotation) GetFrames() []*ObjectTrackingFrame { + if m != nil { + return m.Frames + } + return nil +} + +func (m *ObjectTrackingAnnotation) GetSegment() *VideoSegment { + if m != nil { + return m.Segment + } + return nil +} + +func init() { + proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest") + proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1p2beta1.VideoContext") + proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig") + proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig") + proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig") + proto.RegisterType((*TextDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.TextDetectionConfig") + proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1p2beta1.VideoSegment") + proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1p2beta1.LabelSegment") + proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1p2beta1.LabelFrame") + proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1p2beta1.Entity") + proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.LabelAnnotation") + proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame") + proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation") + proto.RegisterType((*NormalizedBoundingBox)(nil), "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox") + proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults") + proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse") + proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress") + proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress") + proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.videointelligence.v1p2beta1.NormalizedVertex") + proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly") + proto.RegisterType((*TextSegment)(nil), "google.cloud.videointelligence.v1p2beta1.TextSegment") + proto.RegisterType((*TextFrame)(nil), "google.cloud.videointelligence.v1p2beta1.TextFrame") + proto.RegisterType((*TextAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.TextAnnotation") + proto.RegisterType((*ObjectTrackingFrame)(nil), "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame") + proto.RegisterType((*ObjectTrackingAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation") + proto.RegisterEnum("google.cloud.videointelligence.v1p2beta1.Feature", Feature_name, Feature_value) + proto.RegisterEnum("google.cloud.videointelligence.v1p2beta1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value) + proto.RegisterEnum("google.cloud.videointelligence.v1p2beta1.Likelihood", Likelihood_name, Likelihood_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// VideoIntelligenceServiceClient is the client API for VideoIntelligenceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type VideoIntelligenceServiceClient interface { + // Performs asynchronous video annotation. Progress and results can be + // retrieved through the `google.longrunning.Operations` interface. + // `Operation.metadata` contains `AnnotateVideoProgress` (progress). + // `Operation.response` contains `AnnotateVideoResponse` (results). + AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) +} + +type videoIntelligenceServiceClient struct { + cc *grpc.ClientConn +} + +func NewVideoIntelligenceServiceClient(cc *grpc.ClientConn) VideoIntelligenceServiceClient { + return &videoIntelligenceServiceClient{cc} +} + +func (c *videoIntelligenceServiceClient) AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService/AnnotateVideo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// VideoIntelligenceServiceServer is the server API for VideoIntelligenceService service. +type VideoIntelligenceServiceServer interface { + // Performs asynchronous video annotation. Progress and results can be + // retrieved through the `google.longrunning.Operations` interface. + // `Operation.metadata` contains `AnnotateVideoProgress` (progress). + // `Operation.response` contains `AnnotateVideoResponse` (results). + AnnotateVideo(context.Context, *AnnotateVideoRequest) (*longrunning.Operation, error) +} + +func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) { + s.RegisterService(&_VideoIntelligenceService_serviceDesc, srv) +} + +func _VideoIntelligenceService_AnnotateVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AnnotateVideoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService/AnnotateVideo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, req.(*AnnotateVideoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService", + HandlerType: (*VideoIntelligenceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AnnotateVideo", + Handler: _VideoIntelligenceService_AnnotateVideo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/videointelligence/v1p2beta1/video_intelligence.proto", +} + +func init() { + proto.RegisterFile("google/cloud/videointelligence/v1p2beta1/video_intelligence.proto", fileDescriptor_video_intelligence_2956143fcbd64066) +} + +var fileDescriptor_video_intelligence_2956143fcbd64066 = []byte{ + // 1882 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6f, 0x23, 0x49, + 0x19, 0xa7, 0xed, 0x24, 0x13, 0x7f, 0x79, 0x39, 0x95, 0x97, 0x13, 0x76, 0x32, 0xa1, 0x97, 0x95, + 0xc2, 0x80, 0x6c, 0x92, 0x85, 0x15, 0x3b, 0xfb, 0x60, 0x6d, 0xa7, 0x33, 0x31, 0x93, 0xb1, 0x4d, + 0xc5, 0x89, 0x76, 0x60, 0x50, 0xab, 0xd3, 0x5d, 0xe9, 0x34, 0xd3, 0xee, 0xea, 0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 0x18, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go index 17b13c17c..ab9d11614 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go @@ -6,6 +6,7 @@ package vision // import "google.golang.org/genproto/googleapis/cloud/vision/v1" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -34,7 +35,7 @@ func (m *Vertex) Reset() { *m = Vertex{} } func (m *Vertex) String() string { return proto.CompactTextString(m) } func (*Vertex) ProtoMessage() {} func (*Vertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_3423d75926342ff3, []int{0} + return fileDescriptor_geometry_8f9c0a1bb9d6bc02, []int{0} } func (m *Vertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Vertex.Unmarshal(m, b) @@ -85,7 +86,7 @@ func (m *NormalizedVertex) Reset() { *m = NormalizedVertex{} } func (m *NormalizedVertex) String() string { return proto.CompactTextString(m) } func (*NormalizedVertex) ProtoMessage() {} func (*NormalizedVertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_3423d75926342ff3, []int{1} + return fileDescriptor_geometry_8f9c0a1bb9d6bc02, []int{1} } func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NormalizedVertex.Unmarshal(m, b) @@ -134,7 +135,7 @@ func (m *BoundingPoly) Reset() { *m = BoundingPoly{} } func (m *BoundingPoly) String() string { return proto.CompactTextString(m) } func (*BoundingPoly) ProtoMessage() {} func (*BoundingPoly) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_3423d75926342ff3, []int{2} + return fileDescriptor_geometry_8f9c0a1bb9d6bc02, []int{2} } func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) @@ -187,7 +188,7 @@ func (m *Position) Reset() { *m = Position{} } func (m *Position) String() string { return proto.CompactTextString(m) } func (*Position) ProtoMessage() {} func (*Position) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_3423d75926342ff3, []int{3} + return fileDescriptor_geometry_8f9c0a1bb9d6bc02, []int{3} } func (m *Position) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Position.Unmarshal(m, b) @@ -236,27 +237,28 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1/geometry.proto", fileDescriptor_geometry_3423d75926342ff3) + proto.RegisterFile("google/cloud/vision/v1/geometry.proto", fileDescriptor_geometry_8f9c0a1bb9d6bc02) } -var fileDescriptor_geometry_3423d75926342ff3 = []byte{ - // 285 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0x49, 0xa7, 0x63, 0xc4, 0x09, 0x52, 0x41, 0x8a, 0x07, 0x19, 0x45, 0xa1, 0xa7, 0x84, - 0xa9, 0x27, 0xf5, 0x54, 0x0f, 0xbb, 0x8d, 0xd2, 0xc3, 0x40, 0x2f, 0x52, 0xdb, 0x10, 0x02, 0x69, - 0xde, 0x48, 0xd3, 0xb2, 0xf6, 0xe3, 0x08, 0x7e, 0x47, 0x8f, 0xd2, 0x64, 0x14, 0x56, 0x9c, 0xb7, - 0xfe, 0x9b, 0x5f, 0x7e, 0xef, 0xe5, 0x3d, 0x7c, 0xc7, 0x01, 0xb8, 0x64, 0x34, 0x97, 0x50, 0x17, - 0xb4, 0x11, 0x95, 0x00, 0x45, 0x9b, 0x25, 0xe5, 0x0c, 0x4a, 0x66, 0x74, 0x4b, 0xb6, 0x1a, 0x0c, - 0xf8, 0x57, 0x0e, 0x23, 0x16, 0x23, 0x0e, 0x23, 0xcd, 0x32, 0xbc, 0xc5, 0xd3, 0x0d, 0xd3, 0x86, - 0xed, 0xfc, 0x39, 0x46, 0xbb, 0x00, 0x2d, 0x50, 0x74, 0x9a, 0x22, 0x9b, 0xda, 0xc0, 0x73, 0xa9, - 0x0d, 0x09, 0xbe, 0x58, 0x83, 0x2e, 0x33, 0x29, 0x3a, 0x56, 0x8c, 0x79, 0xef, 0x80, 0xf7, 0x7a, - 0xfe, 0x1b, 0xe1, 0x79, 0x0c, 0xb5, 0x2a, 0x84, 0xe2, 0x09, 0xc8, 0xd6, 0x7f, 0xc2, 0xb3, 0x86, - 0x69, 0x23, 0x72, 0x56, 0x05, 0x68, 0x31, 0x89, 0xce, 0xee, 0x6f, 0xc8, 0xdf, 0x1d, 0x11, 0xa7, - 0x4f, 0x07, 0xde, 0x7f, 0xc3, 0x97, 0x6a, 0x28, 0xfe, 0x31, 0x68, 0x3c, 0xab, 0x89, 0x8e, 0x69, - 0xc6, 0xfd, 0xa6, 0xbe, 0x3a, 0xf8, 0xd3, 0x3b, 0xc2, 0x47, 0x3c, 0x4b, 0xa0, 0x12, 0x46, 0x80, - 0xfa, 0xef, 0x3d, 0x7d, 0xea, 0x82, 0x89, 0x4b, 0x5d, 0x5c, 0xe3, 0xeb, 0x1c, 0xca, 0x23, 0x85, - 0xe3, 0xf3, 0xd5, 0x7e, 0xf2, 0x49, 0x3f, 0xf8, 0x04, 0xbd, 0xbf, 0xec, 0x41, 0x0e, 0x32, 0x53, - 0x9c, 0x80, 0xe6, 0x94, 0x33, 0x65, 0xd7, 0x42, 0xdd, 0x51, 0xb6, 0x15, 0xd5, 0x78, 0x81, 0xcf, - 0xee, 0xeb, 0x07, 0xa1, 0x2f, 0xef, 0x64, 0xf5, 0xba, 0x59, 0x7f, 0x4e, 0xed, 0x95, 0x87, 0xdf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x3c, 0x20, 0x46, 0xf2, 0x01, 0x00, 0x00, +var fileDescriptor_geometry_8f9c0a1bb9d6bc02 = []byte{ + // 300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4b, 0xc3, 0x30, + 0x14, 0xc6, 0x49, 0xa7, 0x63, 0xc4, 0x09, 0x52, 0x41, 0xca, 0x10, 0x19, 0x43, 0xa1, 0xa7, 0x84, + 0xa9, 0x27, 0xf5, 0x54, 0x0f, 0xbb, 0x8d, 0xd2, 0xc3, 0x40, 0x2f, 0x12, 0xdb, 0x10, 0x02, 0x6d, + 0x5e, 0x49, 0xd3, 0xb2, 0xf6, 0xcf, 0x11, 0xfc, 0x1f, 0x3d, 0x4a, 0x9b, 0x52, 0x58, 0x71, 0xde, + 0xf2, 0x25, 0xbf, 0xf7, 0xbd, 0x97, 0xef, 0xe1, 0x3b, 0x01, 0x20, 0x52, 0x4e, 0xe3, 0x14, 0xca, + 0x84, 0x56, 0xb2, 0x90, 0xa0, 0x68, 0xb5, 0xa6, 0x82, 0x43, 0xc6, 0x8d, 0xae, 0x49, 0xae, 0xc1, + 0x80, 0x7b, 0x65, 0x31, 0xd2, 0x61, 0xc4, 0x62, 0xa4, 0x5a, 0x2f, 0xae, 0xfb, 0x72, 0x96, 0x4b, + 0xca, 0x94, 0x02, 0xc3, 0x8c, 0x04, 0x55, 0xd8, 0xaa, 0xd5, 0x2d, 0x9e, 0xee, 0xb8, 0x36, 0x7c, + 0xef, 0xce, 0x31, 0xda, 0x7b, 0x68, 0x89, 0xfc, 0xd3, 0x08, 0x75, 0xaa, 0xf6, 0x1c, 0xab, 0xea, + 0x15, 0xc1, 0x17, 0x5b, 0xd0, 0x19, 0x4b, 0x65, 0xc3, 0x93, 0x31, 0xef, 0x1c, 0xf0, 0x4e, 0xcb, + 0x7f, 0x23, 0x3c, 0x0f, 0xa0, 0x54, 0x89, 0x54, 0x22, 0x84, 0xb4, 0x76, 0x9f, 0xf0, 0xac, 0xe2, + 0xda, 0xc8, 0x98, 0x17, 0x1e, 0x5a, 0x4e, 0xfc, 0xb3, 0xfb, 0x1b, 0xf2, 0xf7, 0xbc, 0xc4, 0xda, + 0x47, 0x03, 0xef, 0xbe, 0xe1, 0x4b, 0x35, 0x34, 0xff, 0x18, 0x6c, 0x9c, 0xce, 0xc6, 0x3f, 0x66, + 0x33, 0x9e, 0x37, 0x72, 0xd5, 0xc1, 0x4d, 0xeb, 0xb1, 0x7a, 0xc4, 0xb3, 0x10, 0x0a, 0xd9, 0x06, + 0xf2, 0xdf, 0x7f, 0x5a, 0xd5, 0x78, 0x13, 0xab, 0x9a, 0xa0, 0xc4, 0x8b, 0x18, 0xb2, 0x23, 0x8d, + 0x83, 0xf3, 0x4d, 0xbf, 0x97, 0xb0, 0x0d, 0x38, 0x44, 0xef, 0x2f, 0x3d, 0x28, 0x20, 0x65, 0x4a, + 0x10, 0xd0, 0x82, 0x0a, 0xae, 0xba, 0xf8, 0xa9, 0x7d, 0x62, 0xb9, 0x2c, 0xc6, 0xeb, 0x7d, 0xb6, + 0xa7, 0x1f, 0x84, 0xbe, 0x9c, 0x93, 0xcd, 0xeb, 0x6e, 0xfb, 0x39, 0xed, 0x4a, 0x1e, 0x7e, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x5b, 0xbb, 0x2b, 0x5f, 0x10, 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go index 00cb906e4..4d7ad2f30 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go @@ -12,6 +12,7 @@ import longrunning "google.golang.org/genproto/googleapis/longrunning" import status "google.golang.org/genproto/googleapis/rpc/status" import color "google.golang.org/genproto/googleapis/type/color" import latlng "google.golang.org/genproto/googleapis/type/latlng" +import _ "google.golang.org/genproto/protobuf/field_mask" import ( context "golang.org/x/net/context" @@ -69,7 +70,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{0} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{0} } // Type of Google Cloud Vision API feature to be extracted. @@ -103,6 +104,10 @@ const ( Feature_CROP_HINTS Feature_Type = 9 // Run web detection. Feature_WEB_DETECTION Feature_Type = 10 + // Run Product Search. + Feature_PRODUCT_SEARCH Feature_Type = 12 + // Run localizer for object detection. + Feature_OBJECT_LOCALIZATION Feature_Type = 19 ) var Feature_Type_name = map[int32]string{ @@ -117,6 +122,8 @@ var Feature_Type_name = map[int32]string{ 7: "IMAGE_PROPERTIES", 9: "CROP_HINTS", 10: "WEB_DETECTION", + 12: "PRODUCT_SEARCH", + 19: "OBJECT_LOCALIZATION", } var Feature_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, @@ -130,13 +137,15 @@ var Feature_Type_value = map[string]int32{ "IMAGE_PROPERTIES": 7, "CROP_HINTS": 9, "WEB_DETECTION": 10, + "PRODUCT_SEARCH": 12, + "OBJECT_LOCALIZATION": 19, } func (x Feature_Type) String() string { return proto.EnumName(Feature_Type_name, int32(x)) } func (Feature_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{0, 0} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{0, 0} } // Face landmark (feature) type. @@ -297,7 +306,7 @@ func (x FaceAnnotation_Landmark_Type) String() string { return proto.EnumName(FaceAnnotation_Landmark_Type_name, int32(x)) } func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{3, 0, 0} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{3, 0, 0} } // Batch operation states. @@ -335,7 +344,7 @@ func (x OperationMetadata_State) String() string { return proto.EnumName(OperationMetadata_State_name, int32(x)) } func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{31, 0} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{32, 0} } // The type of Google Cloud Vision API detection to perform, and the maximum @@ -360,7 +369,7 @@ func (m *Feature) Reset() { *m = Feature{} } func (m *Feature) String() string { return proto.CompactTextString(m) } func (*Feature) ProtoMessage() {} func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{0} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{0} } func (m *Feature) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Feature.Unmarshal(m, b) @@ -437,7 +446,7 @@ func (m *ImageSource) Reset() { *m = ImageSource{} } func (m *ImageSource) String() string { return proto.CompactTextString(m) } func (*ImageSource) ProtoMessage() {} func (*ImageSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{1} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{1} } func (m *ImageSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageSource.Unmarshal(m, b) @@ -490,7 +499,7 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{2} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{2} } func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) @@ -581,7 +590,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{3} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{3} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -721,7 +730,7 @@ func (m *FaceAnnotation_Landmark) Reset() { *m = FaceAnnotation_Landmark func (m *FaceAnnotation_Landmark) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation_Landmark) ProtoMessage() {} func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{3, 0} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{3, 0} } func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) @@ -768,7 +777,7 @@ func (m *LocationInfo) Reset() { *m = LocationInfo{} } func (m *LocationInfo) String() string { return proto.CompactTextString(m) } func (*LocationInfo) ProtoMessage() {} func (*LocationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{4} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{4} } func (m *LocationInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationInfo.Unmarshal(m, b) @@ -812,7 +821,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{5} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{5} } func (m *Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Property.Unmarshal(m, b) @@ -871,7 +880,7 @@ type EntityAnnotation struct { // For example, for an image in which the "Eiffel Tower" entity is detected, // this field represents the confidence that there is a tower in the query // image. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` + Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` // Deprecated: Do not use. // The relevancy of the ICA (Image Content Annotation) label to the // image. For example, the relevancy of "tower" is likely higher to an image // containing the detected "Eiffel Tower" than to an image containing a @@ -899,7 +908,7 @@ func (m *EntityAnnotation) Reset() { *m = EntityAnnotation{} } func (m *EntityAnnotation) String() string { return proto.CompactTextString(m) } func (*EntityAnnotation) ProtoMessage() {} func (*EntityAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{6} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{6} } func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) @@ -947,6 +956,7 @@ func (m *EntityAnnotation) GetScore() float32 { return 0 } +// Deprecated: Do not use. func (m *EntityAnnotation) GetConfidence() float32 { if m != nil { return m.Confidence @@ -982,6 +992,84 @@ func (m *EntityAnnotation) GetProperties() []*Property { return nil } +// Set of detected objects with bounding boxes. +type LocalizedObjectAnnotation struct { + // Object ID that should align with EntityAnnotation mid. + Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"` + // The BCP-47 language code, such as "en-US" or "sr-Latn". For more + // information, see + // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + // Object name, expressed in its `language_code` language. + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // Score of the result. Range [0, 1]. + Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` + // Image region to which this object belongs. This must be populated. + BoundingPoly *BoundingPoly `protobuf:"bytes,5,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalizedObjectAnnotation) Reset() { *m = LocalizedObjectAnnotation{} } +func (m *LocalizedObjectAnnotation) String() string { return proto.CompactTextString(m) } +func (*LocalizedObjectAnnotation) ProtoMessage() {} +func (*LocalizedObjectAnnotation) Descriptor() ([]byte, []int) { + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{7} +} +func (m *LocalizedObjectAnnotation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalizedObjectAnnotation.Unmarshal(m, b) +} +func (m *LocalizedObjectAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalizedObjectAnnotation.Marshal(b, m, deterministic) +} +func (dst *LocalizedObjectAnnotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalizedObjectAnnotation.Merge(dst, src) +} +func (m *LocalizedObjectAnnotation) XXX_Size() int { + return xxx_messageInfo_LocalizedObjectAnnotation.Size(m) +} +func (m *LocalizedObjectAnnotation) XXX_DiscardUnknown() { + xxx_messageInfo_LocalizedObjectAnnotation.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalizedObjectAnnotation proto.InternalMessageInfo + +func (m *LocalizedObjectAnnotation) GetMid() string { + if m != nil { + return m.Mid + } + return "" +} + +func (m *LocalizedObjectAnnotation) GetLanguageCode() string { + if m != nil { + return m.LanguageCode + } + return "" +} + +func (m *LocalizedObjectAnnotation) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *LocalizedObjectAnnotation) GetScore() float32 { + if m != nil { + return m.Score + } + return 0 +} + +func (m *LocalizedObjectAnnotation) GetBoundingPoly() *BoundingPoly { + if m != nil { + return m.BoundingPoly + } + return nil +} + // Set of features pertaining to the image, computed by computer vision // methods over safe-search verticals (for example, adult, spoof, medical, // violence). @@ -1012,7 +1100,7 @@ func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} } func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) } func (*SafeSearchAnnotation) ProtoMessage() {} func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{7} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{8} } func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) @@ -1082,7 +1170,7 @@ func (m *LatLongRect) Reset() { *m = LatLongRect{} } func (m *LatLongRect) String() string { return proto.CompactTextString(m) } func (*LatLongRect) ProtoMessage() {} func (*LatLongRect) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{8} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{9} } func (m *LatLongRect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatLongRect.Unmarshal(m, b) @@ -1135,7 +1223,7 @@ func (m *ColorInfo) Reset() { *m = ColorInfo{} } func (m *ColorInfo) String() string { return proto.CompactTextString(m) } func (*ColorInfo) ProtoMessage() {} func (*ColorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{9} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{10} } func (m *ColorInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColorInfo.Unmarshal(m, b) @@ -1189,7 +1277,7 @@ func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotati func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } func (*DominantColorsAnnotation) ProtoMessage() {} func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{10} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{11} } func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) @@ -1229,7 +1317,7 @@ func (m *ImageProperties) Reset() { *m = ImageProperties{} } func (m *ImageProperties) String() string { return proto.CompactTextString(m) } func (*ImageProperties) ProtoMessage() {} func (*ImageProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{11} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{12} } func (m *ImageProperties) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageProperties.Unmarshal(m, b) @@ -1275,7 +1363,7 @@ func (m *CropHint) Reset() { *m = CropHint{} } func (m *CropHint) String() string { return proto.CompactTextString(m) } func (*CropHint) ProtoMessage() {} func (*CropHint) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{12} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{13} } func (m *CropHint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHint.Unmarshal(m, b) @@ -1329,7 +1417,7 @@ func (m *CropHintsAnnotation) Reset() { *m = CropHintsAnnotation{} } func (m *CropHintsAnnotation) String() string { return proto.CompactTextString(m) } func (*CropHintsAnnotation) ProtoMessage() {} func (*CropHintsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{13} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{14} } func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) @@ -1374,7 +1462,7 @@ func (m *CropHintsParams) Reset() { *m = CropHintsParams{} } func (m *CropHintsParams) String() string { return proto.CompactTextString(m) } func (*CropHintsParams) ProtoMessage() {} func (*CropHintsParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{14} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{15} } func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) @@ -1414,7 +1502,7 @@ func (m *WebDetectionParams) Reset() { *m = WebDetectionParams{} } func (m *WebDetectionParams) String() string { return proto.CompactTextString(m) } func (*WebDetectionParams) ProtoMessage() {} func (*WebDetectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{15} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{16} } func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) @@ -1456,6 +1544,8 @@ type ImageContext struct { LanguageHints []string `protobuf:"bytes,2,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"` // Parameters for crop hints annotation request. CropHintsParams *CropHintsParams `protobuf:"bytes,4,opt,name=crop_hints_params,json=cropHintsParams,proto3" json:"crop_hints_params,omitempty"` + // Parameters for product search. + ProductSearchParams *ProductSearchParams `protobuf:"bytes,5,opt,name=product_search_params,json=productSearchParams,proto3" json:"product_search_params,omitempty"` // Parameters for web detection. WebDetectionParams *WebDetectionParams `protobuf:"bytes,6,opt,name=web_detection_params,json=webDetectionParams,proto3" json:"web_detection_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1467,7 +1557,7 @@ func (m *ImageContext) Reset() { *m = ImageContext{} } func (m *ImageContext) String() string { return proto.CompactTextString(m) } func (*ImageContext) ProtoMessage() {} func (*ImageContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{16} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{17} } func (m *ImageContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageContext.Unmarshal(m, b) @@ -1508,6 +1598,13 @@ func (m *ImageContext) GetCropHintsParams() *CropHintsParams { return nil } +func (m *ImageContext) GetProductSearchParams() *ProductSearchParams { + if m != nil { + return m.ProductSearchParams + } + return nil +} + func (m *ImageContext) GetWebDetectionParams() *WebDetectionParams { if m != nil { return m.WebDetectionParams @@ -1533,7 +1630,7 @@ func (m *AnnotateImageRequest) Reset() { *m = AnnotateImageRequest{} } func (m *AnnotateImageRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateImageRequest) ProtoMessage() {} func (*AnnotateImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{17} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{18} } func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) @@ -1591,7 +1688,7 @@ func (m *ImageAnnotationContext) Reset() { *m = ImageAnnotationContext{} func (m *ImageAnnotationContext) String() string { return proto.CompactTextString(m) } func (*ImageAnnotationContext) ProtoMessage() {} func (*ImageAnnotationContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{18} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{19} } func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) @@ -1635,6 +1732,9 @@ type AnnotateImageResponse struct { LogoAnnotations []*EntityAnnotation `protobuf:"bytes,3,rep,name=logo_annotations,json=logoAnnotations,proto3" json:"logo_annotations,omitempty"` // If present, label detection has completed successfully. LabelAnnotations []*EntityAnnotation `protobuf:"bytes,4,rep,name=label_annotations,json=labelAnnotations,proto3" json:"label_annotations,omitempty"` + // If present, localized object detection has completed successfully. + // This will be sorted descending by confidence score. + LocalizedObjectAnnotations []*LocalizedObjectAnnotation `protobuf:"bytes,22,rep,name=localized_object_annotations,json=localizedObjectAnnotations,proto3" json:"localized_object_annotations,omitempty"` // If present, text (OCR) detection has completed successfully. TextAnnotations []*EntityAnnotation `protobuf:"bytes,5,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"` // If present, text (OCR) detection or document (OCR) text detection has @@ -1650,6 +1750,8 @@ type AnnotateImageResponse struct { CropHintsAnnotation *CropHintsAnnotation `protobuf:"bytes,11,opt,name=crop_hints_annotation,json=cropHintsAnnotation,proto3" json:"crop_hints_annotation,omitempty"` // If present, web detection has completed successfully. WebDetection *WebDetection `protobuf:"bytes,13,opt,name=web_detection,json=webDetection,proto3" json:"web_detection,omitempty"` + // If present, product search has completed successfully. + ProductSearchResults *ProductSearchResults `protobuf:"bytes,14,opt,name=product_search_results,json=productSearchResults,proto3" json:"product_search_results,omitempty"` // If set, represents the error message for the operation. // Note that filled-in image annotations are guaranteed to be // correct, even when `error` is set. @@ -1666,7 +1768,7 @@ func (m *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} } func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateImageResponse) ProtoMessage() {} func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{19} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{20} } func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) @@ -1714,6 +1816,13 @@ func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation { return nil } +func (m *AnnotateImageResponse) GetLocalizedObjectAnnotations() []*LocalizedObjectAnnotation { + if m != nil { + return m.LocalizedObjectAnnotations + } + return nil +} + func (m *AnnotateImageResponse) GetTextAnnotations() []*EntityAnnotation { if m != nil { return m.TextAnnotations @@ -1756,6 +1865,13 @@ func (m *AnnotateImageResponse) GetWebDetection() *WebDetection { return nil } +func (m *AnnotateImageResponse) GetProductSearchResults() *ProductSearchResults { + if m != nil { + return m.ProductSearchResults + } + return nil +} + func (m *AnnotateImageResponse) GetError() *status.Status { if m != nil { return m.Error @@ -1786,7 +1902,7 @@ func (m *AnnotateFileResponse) Reset() { *m = AnnotateFileResponse{} } func (m *AnnotateFileResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateFileResponse) ProtoMessage() {} func (*AnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{20} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{21} } func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) @@ -1833,7 +1949,7 @@ func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesR func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesRequest) ProtoMessage() {} func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{21} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{22} } func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) @@ -1873,7 +1989,7 @@ func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImages func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesResponse) ProtoMessage() {} func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{22} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{23} } func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) @@ -1919,7 +2035,7 @@ func (m *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileReque func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } func (*AsyncAnnotateFileRequest) ProtoMessage() {} func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{23} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{24} } func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) @@ -1980,7 +2096,7 @@ func (m *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResp func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } func (*AsyncAnnotateFileResponse) ProtoMessage() {} func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{24} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{25} } func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) @@ -2021,7 +2137,7 @@ func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnota func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{25} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{26} } func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) @@ -2062,7 +2178,7 @@ func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnot func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{26} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{27} } func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) @@ -2105,7 +2221,7 @@ func (m *InputConfig) Reset() { *m = InputConfig{} } func (m *InputConfig) String() string { return proto.CompactTextString(m) } func (*InputConfig) ProtoMessage() {} func (*InputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{27} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{28} } func (m *InputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputConfig.Unmarshal(m, b) @@ -2164,7 +2280,7 @@ func (m *OutputConfig) Reset() { *m = OutputConfig{} } func (m *OutputConfig) String() string { return proto.CompactTextString(m) } func (*OutputConfig) ProtoMessage() {} func (*OutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{28} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{29} } func (m *OutputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputConfig.Unmarshal(m, b) @@ -2212,7 +2328,7 @@ func (m *GcsSource) Reset() { *m = GcsSource{} } func (m *GcsSource) String() string { return proto.CompactTextString(m) } func (*GcsSource) ProtoMessage() {} func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{29} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{30} } func (m *GcsSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsSource.Unmarshal(m, b) @@ -2266,7 +2382,7 @@ func (m *GcsDestination) Reset() { *m = GcsDestination{} } func (m *GcsDestination) String() string { return proto.CompactTextString(m) } func (*GcsDestination) ProtoMessage() {} func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{30} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{31} } func (m *GcsDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsDestination.Unmarshal(m, b) @@ -2310,7 +2426,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_aa4dfcf881de3ecf, []int{31} + return fileDescriptor_image_annotator_52d0bce80b1d0b0a, []int{32} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -2360,6 +2476,7 @@ func init() { proto.RegisterType((*LocationInfo)(nil), "google.cloud.vision.v1.LocationInfo") proto.RegisterType((*Property)(nil), "google.cloud.vision.v1.Property") proto.RegisterType((*EntityAnnotation)(nil), "google.cloud.vision.v1.EntityAnnotation") + proto.RegisterType((*LocalizedObjectAnnotation)(nil), "google.cloud.vision.v1.LocalizedObjectAnnotation") proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.vision.v1.SafeSearchAnnotation") proto.RegisterType((*LatLongRect)(nil), "google.cloud.vision.v1.LatLongRect") proto.RegisterType((*ColorInfo)(nil), "google.cloud.vision.v1.ColorInfo") @@ -2511,190 +2628,202 @@ var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/vision/v1/image_annotator.proto", fileDescriptor_image_annotator_aa4dfcf881de3ecf) -} - -var fileDescriptor_image_annotator_aa4dfcf881de3ecf = []byte{ - // 2892 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x73, 0xe3, 0x48, - 0x15, 0x5f, 0x3b, 0x4e, 0x62, 0x3f, 0x3b, 0x89, 0xd2, 0xf9, 0x18, 0x4f, 0xe6, 0x2b, 0xa3, 0x65, - 0xd9, 0xd4, 0x30, 0x24, 0x4c, 0x76, 0x99, 0x5a, 0x66, 0xa6, 0x00, 0xc7, 0x51, 0x12, 0xd7, 0x38, - 0xb6, 0xb7, 0xed, 0xcc, 0x6c, 0x60, 0x0b, 0x95, 0x22, 0xb7, 0x35, 0xda, 0x95, 0x25, 0x21, 0xc9, - 0x33, 0xc9, 0x52, 0xc5, 0x81, 0x2a, 0xce, 0x1c, 0x38, 0x71, 0xe1, 0xc0, 0x01, 0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xb8, 0xcc, 0x65, 0x2f, 0xa8, 0x48, 0xfd, 0xe5, 0x14, 0x28, 0x9a, 0x1b, 0xd9, - 0xd1, 0x99, 0x54, 0x6c, 0x28, 0x30, 0x35, 0xb4, 0xfb, 0xc2, 0x01, 0xfd, 0x89, 0x56, 0x61, 0xc6, - 0xf1, 0x4c, 0xc3, 0x89, 0x1d, 0x88, 0x16, 0x5a, 0x87, 0x72, 0x9f, 0x84, 0x66, 0x60, 0xfb, 0x6c, - 0x37, 0xe1, 0xe5, 0xa6, 0x2c, 0xa2, 0x3d, 0x0b, 0x4d, 0x2f, 0x88, 0x4f, 0x72, 0xde, 0x40, 0x77, - 0x01, 0xa4, 0xa3, 0x94, 0x1f, 0xe3, 0x92, 0x84, 0xea, 0x23, 0xcf, 0xb7, 0x4d, 0xc3, 0xb1, 0xa3, - 0x33, 0x71, 0x90, 0x4b, 0x92, 0xf3, 0xe5, 0xd0, 0xec, 0x57, 0x2e, 0x87, 0x76, 0xa0, 0xe4, 0x88, - 0x89, 0x09, 0xab, 0x45, 0x56, 0xbe, 0x64, 0xd2, 0xc8, 0x33, 0x88, 0xc7, 0x30, 0xf4, 0x43, 0x00, - 0x9f, 0x4f, 0x8f, 0x4d, 0xc2, 0x6a, 0x89, 0x91, 0x64, 0xef, 0xa9, 0x62, 0x22, 0xb1, 0x84, 0x51, - 0xff, 0x9a, 0x87, 0xe5, 0xae, 0x31, 0x20, 0x5d, 0x62, 0x04, 0xe6, 0x2b, 0x69, 0x2e, 0x3e, 0x82, - 0x69, 0xa3, 0x3f, 0x72, 0x22, 0x71, 0x4d, 0xb8, 0xca, 0x51, 0xc2, 0x01, 0x14, 0x19, 0xfa, 0x9e, - 0x37, 0x60, 0x53, 0x76, 0x45, 0x24, 0x03, 0xa0, 0x67, 0x30, 0x3b, 0x24, 0x7d, 0x1a, 0x6b, 0x71, - 0xda, 0x5c, 0x05, 0x1b, 0x43, 0xd0, 0xf7, 0xa1, 0xf8, 0xda, 0xf6, 0x1c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0x2e, 0x0d, 0x28, 0xf0, 0x89, 0x71, 0x8e, 0xf0, 0x49, 0xee, - 0xc1, 0xce, 0xcf, 0x60, 0xcd, 0xf4, 0x86, 0x19, 0x9d, 0xd8, 0x59, 0x4a, 0x87, 0xba, 0x43, 0x57, - 0x55, 0x27, 0xf7, 0xa3, 0x67, 0xc2, 0xdc, 0xf2, 0xe8, 0x65, 0x72, 0xd3, 0x0b, 0xac, 0x2d, 0x8b, - 0xb8, 0x6c, 0xcd, 0x6d, 0x71, 0x95, 0xe1, 0xdb, 0xe1, 0xe4, 0xff, 0x07, 0x3c, 0xe5, 0xbf, 0xfe, - 0x93, 0xcb, 0xfd, 0x2e, 0x5f, 0xd8, 0xaf, 0xbf, 0x68, 0x9d, 0xcc, 0x30, 0xc8, 0x07, 0xff, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0x7a, 0xea, 0x20, 0x54, 0x0a, 0x21, 0x00, 0x00, + proto.RegisterFile("google/cloud/vision/v1/image_annotator.proto", fileDescriptor_image_annotator_52d0bce80b1d0b0a) +} + +var fileDescriptor_image_annotator_52d0bce80b1d0b0a = []byte{ + // 3080 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4f, 0x73, 0xdb, 0xc8, + 0x95, 0x1f, 0xfe, 0x91, 0x44, 0x3e, 0x52, 0x14, 0xd4, 0x94, 0x64, 0x5a, 0xfe, 0x27, 0x63, 0x76, + 0x76, 0x54, 0x1e, 0xaf, 0xb4, 0xf6, 0xcc, 0xba, 0x66, 0x6d, 0xd7, 0xee, 0x50, 0x24, 0x24, 0x71, + 0x4d, 0x11, 0x9c, 0x26, 0x65, 0x8f, 0x67, 0xa7, 0x16, 0x05, 0x81, 0x4d, 0x1a, 0x1e, 0x10, 0xc0, + 0x02, 0xa0, 0x2d, 0xcd, 0x56, 0xed, 0x21, 0xb7, 0x5c, 0x93, 0x53, 0x2e, 0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2, 0x6a, 0x74, 0x06, 0xe9, 0x19, 0xdd, 0x69, 0xeb, + 0x41, 0xdb, 0x1e, 0xe1, 0x45, 0x8b, 0xfd, 0x95, 0x5f, 0x40, 0xa1, 0xeb, 0xd1, 0x4a, 0x38, 0x38, + 0x43, 0x08, 0xf2, 0xb6, 0x3e, 0x26, 0xbc, 0x6a, 0x61, 0xbf, 0x69, 0x75, 0xf8, 0x46, 0xb7, 0x26, + 0x84, 0x97, 0x2a, 0x61, 0x03, 0xdd, 0x85, 0xf2, 0xc4, 0xb4, 0x83, 0x47, 0x9f, 0x68, 0xa1, 0x92, + 0x86, 0x8e, 0x3c, 0x2e, 0x85, 0xb2, 0xe7, 0x54, 0x24, 0xff, 0x30, 0x07, 0x92, 0x62, 0x07, 0x66, + 0x70, 0x26, 0x14, 0x1b, 0x12, 0xe4, 0xc6, 0xe6, 0x80, 0x77, 0x40, 0x7f, 0xa2, 0x0d, 0x58, 0xb4, + 0x1c, 0x43, 0xb7, 0xa2, 0x0e, 0x78, 0x0b, 0x6d, 0x41, 0x69, 0x40, 0x7c, 0xc3, 0x33, 0x5d, 0x16, + 0x4d, 0xc2, 0xda, 0x54, 0x14, 0xd1, 0x91, 0xf9, 0x86, 0xe3, 0x45, 0x99, 0x3c, 0x6c, 0x20, 0x19, + 0x40, 0x48, 0xa5, 0x2c, 0x8d, 0xef, 0x65, 0x6b, 0x19, 0x2c, 0x48, 0xd1, 0x6d, 0x80, 0xc0, 0x71, + 0x4d, 0x43, 0xb7, 0xcc, 0xe0, 0x8c, 0x27, 0x73, 0x41, 0x72, 0xbe, 0x24, 0x5a, 0xfa, 0xce, 0x25, + 0xd1, 0x1e, 0x14, 0x2d, 0xbe, 0x38, 0x7e, 0xad, 0xc0, 0x4a, 0x98, 0x54, 0x1a, 0x71, 0x15, 0xf1, + 0x14, 0x86, 0x3e, 0x03, 0x70, 0xc3, 0x25, 0x32, 0x89, 0x5f, 0x2b, 0x32, 0x92, 0xf4, 0xb8, 0xca, + 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, 0xcc, 0x3b, 0x44, 0x09, 0x2c, 0x33, 0xc3, 0xa1, 0xc1, + 0x74, 0x4f, 0x65, 0xc5, 0x3d, 0xf5, 0x01, 0x54, 0x5c, 0xf3, 0x94, 0x58, 0xda, 0xd0, 0xd3, 0x8d, + 0x38, 0x44, 0x64, 0xf1, 0x32, 0x93, 0xee, 0x73, 0xa1, 0x7c, 0x0c, 0xb5, 0xa6, 0x33, 0x36, 0x6d, + 0xdd, 0x0e, 0x18, 0xa9, 0x2f, 0x6c, 0x99, 0x7f, 0x87, 0x45, 0xd6, 0x83, 0x5f, 0xcb, 0xb0, 0x33, + 0x75, 0x37, 0xcd, 0x85, 0xf1, 0xa8, 0x31, 0x07, 0xc8, 0x16, 0xac, 0xb0, 0xeb, 0x55, 0x37, 0x3e, + 0x63, 0xe8, 0x25, 0xac, 0x0c, 0x78, 0x4f, 0x5a, 0x4c, 0x4b, 0xa7, 0xf6, 0xaf, 0x69, 0xb4, 0x69, + 0x03, 0xc3, 0x95, 0x41, 0x42, 0x23, 0xff, 0x32, 0x03, 0x85, 0x86, 0xe7, 0xb8, 0x87, 0xa6, 0x1d, + 0x7c, 0x9f, 0xf7, 0xb5, 0xdb, 0x89, 0x58, 0x19, 0xba, 0x57, 0x8c, 0x93, 0xbb, 0x50, 0x35, 0xc7, + 0xae, 0xe3, 0x05, 0xba, 0x6d, 0x90, 0x59, 0x47, 0xa3, 0xa9, 0x2a, 0xf6, 0xf6, 0x73, 0xa8, 0x46, + 0xe3, 0x14, 0x1d, 0xfd, 0x9f, 0x00, 0x86, 0xe7, 0xb8, 0xda, 0x2b, 0x2a, 0xe7, 0xce, 0x4e, 0x0d, + 0x60, 0x11, 0x01, 0x2e, 0x1a, 0x11, 0x95, 0xfc, 0x08, 0x56, 0x62, 0xde, 0xae, 0xee, 0xe9, 0x63, + 0x9f, 0x86, 0x28, 0xdd, 0x77, 0x89, 0x11, 0x68, 0xec, 0x0d, 0x27, 0xa4, 0xcd, 0xe2, 0x72, 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0xd9, 0x8f, 0xd7, + 0x25, 0x58, 0x6a, 0x60, 0xa5, 0xde, 0x57, 0x9a, 0x52, 0x86, 0x36, 0xf0, 0x71, 0xa7, 0xd3, 0xea, + 0x1c, 0x48, 0x59, 0x54, 0x80, 0x7c, 0x53, 0xed, 0x28, 0x52, 0x0e, 0x2d, 0x43, 0xb1, 0x51, 0xef, + 0x34, 0x94, 0x76, 0x5b, 0x69, 0x4a, 0xf9, 0x7b, 0x04, 0x40, 0xf8, 0x26, 0x53, 0x82, 0x25, 0xfe, + 0x81, 0x42, 0x7a, 0x0f, 0xad, 0xc2, 0xf2, 0x73, 0x05, 0xbf, 0xd4, 0x8e, 0x3b, 0xed, 0xd6, 0x33, + 0xa5, 0xfd, 0x52, 0xca, 0xa0, 0x32, 0x14, 0xe2, 0x56, 0x96, 0xb6, 0xba, 0x6a, 0xaf, 0xd7, 0xda, + 0x6b, 0x53, 0x62, 0x80, 0x45, 0xae, 0xc9, 0xa3, 0x15, 0x28, 0x31, 0x28, 0x17, 0x2c, 0x3c, 0xfc, + 0x63, 0x16, 0x2a, 0x62, 0xae, 0x73, 0x3c, 0xf4, 0xd3, 0x0c, 0x54, 0x2f, 0x88, 0xe2, 0xe8, 0x61, + 0xea, 0x85, 0x3f, 0x35, 0xb5, 0x6c, 0x7e, 0x7c, 0x25, 0x4c, 0x78, 0xac, 0xe4, 0xdb, 0x3f, 0xf8, + 0xf6, 0xcf, 0x3f, 0xce, 0xd6, 0xe4, 0x6a, 0xfc, 0x1f, 0x24, 0xfe, 0x63, 0x5e, 0xe5, 0x90, 0xc7, + 0x99, 0x7b, 0xe8, 0x27, 0x19, 0xb8, 0x96, 0x72, 0xd4, 0xd1, 0xa3, 0xb9, 0xe7, 0x39, 0x35, 0x16, + 0x6d, 0xc6, 0xb7, 0x36, 0xe1, 0xff, 0x35, 0xa6, 0xfb, 0x4d, 0xfe, 0x90, 0x0d, 0xe9, 0xae, 0x7c, + 0x93, 0x0e, 0x69, 0x48, 0x81, 0x8f, 0xf5, 0x73, 0x84, 0x8f, 0x33, 0xf7, 0xf6, 0xfe, 0x0f, 0x36, + 0x0d, 0x67, 0x9c, 0x32, 0x88, 0xbd, 0x6a, 0xd2, 0xd5, 0x5d, 0xba, 0xab, 0xba, 0x99, 0x2f, 0x9f, + 0x72, 0xf3, 0x91, 0x43, 0xaf, 0xe1, 0x3b, 0x8e, 0x37, 0xda, 0x1d, 0x11, 0x9b, 0xed, 0xb9, 0xdd, + 0x50, 0xa5, 0xbb, 0xa6, 0x3f, 0xfb, 0x6f, 0x27, 0x4f, 0xc2, 0x5f, 0x7f, 0xcd, 0x64, 0x7e, 0x9e, + 0xcd, 0x1f, 0x34, 0x9e, 0x77, 0x4e, 0x16, 0x19, 0xe4, 0xe3, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x3b, 0x54, 0xc8, 0x94, 0x8e, 0x23, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search.pb.go new file mode 100644 index 000000000..87e6c770a --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search.pb.go @@ -0,0 +1,317 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/vision/v1/product_search.proto + +package vision // import "google.golang.org/genproto/googleapis/cloud/vision/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Parameters for a product search request. +type ProductSearchParams struct { + // The bounding polygon around the area of interest in the image. + // Optional. If it is not specified, system discretion will be applied. + BoundingPoly *BoundingPoly `protobuf:"bytes,9,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` + // 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`. + ProductSet string `protobuf:"bytes,6,opt,name=product_set,json=productSet,proto3" json:"product_set,omitempty"` + // The list of product categories to search in. Currently, we only consider + // the first category, and either "homegoods", "apparel", or "toys" should be + // specified. + ProductCategories []string `protobuf:"bytes,7,rep,name=product_categories,json=productCategories,proto3" json:"product_categories,omitempty"` + // The filtering expression. This can be used to restrict search results based + // on Product labels. We currently support an AND of OR of key-value + // expressions, where each expression within an OR must have the same key. + // + // For example, "(color = red OR color = blue) AND brand = Google" is + // acceptable, but not "(color = red OR brand = Google)" or "color: red". + Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductSearchParams) Reset() { *m = ProductSearchParams{} } +func (m *ProductSearchParams) String() string { return proto.CompactTextString(m) } +func (*ProductSearchParams) ProtoMessage() {} +func (*ProductSearchParams) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_ab4ebb8085b92f42, []int{0} +} +func (m *ProductSearchParams) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductSearchParams.Unmarshal(m, b) +} +func (m *ProductSearchParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductSearchParams.Marshal(b, m, deterministic) +} +func (dst *ProductSearchParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductSearchParams.Merge(dst, src) +} +func (m *ProductSearchParams) XXX_Size() int { + return xxx_messageInfo_ProductSearchParams.Size(m) +} +func (m *ProductSearchParams) XXX_DiscardUnknown() { + xxx_messageInfo_ProductSearchParams.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductSearchParams proto.InternalMessageInfo + +func (m *ProductSearchParams) GetBoundingPoly() *BoundingPoly { + if m != nil { + return m.BoundingPoly + } + return nil +} + +func (m *ProductSearchParams) GetProductSet() string { + if m != nil { + return m.ProductSet + } + return "" +} + +func (m *ProductSearchParams) GetProductCategories() []string { + if m != nil { + return m.ProductCategories + } + return nil +} + +func (m *ProductSearchParams) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +// Results for a product search request. +type ProductSearchResults struct { + // Timestamp of the index which provided these results. Changes made after + // this time are not reflected in the current results. + IndexTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=index_time,json=indexTime,proto3" json:"index_time,omitempty"` + // List of results, one for each product match. + Results []*ProductSearchResults_Result `protobuf:"bytes,5,rep,name=results,proto3" json:"results,omitempty"` + // List of results grouped by products detected in the query image. Each entry + // corresponds to one bounding polygon in the query image, and contains the + // matching products specific to that region. There may be duplicate product + // matches in the union of all the per-product results. + ProductGroupedResults []*ProductSearchResults_GroupedResult `protobuf:"bytes,6,rep,name=product_grouped_results,json=productGroupedResults,proto3" json:"product_grouped_results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductSearchResults) Reset() { *m = ProductSearchResults{} } +func (m *ProductSearchResults) String() string { return proto.CompactTextString(m) } +func (*ProductSearchResults) ProtoMessage() {} +func (*ProductSearchResults) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_ab4ebb8085b92f42, []int{1} +} +func (m *ProductSearchResults) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductSearchResults.Unmarshal(m, b) +} +func (m *ProductSearchResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductSearchResults.Marshal(b, m, deterministic) +} +func (dst *ProductSearchResults) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductSearchResults.Merge(dst, src) +} +func (m *ProductSearchResults) XXX_Size() int { + return xxx_messageInfo_ProductSearchResults.Size(m) +} +func (m *ProductSearchResults) XXX_DiscardUnknown() { + xxx_messageInfo_ProductSearchResults.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductSearchResults proto.InternalMessageInfo + +func (m *ProductSearchResults) GetIndexTime() *timestamp.Timestamp { + if m != nil { + return m.IndexTime + } + return nil +} + +func (m *ProductSearchResults) GetResults() []*ProductSearchResults_Result { + if m != nil { + return m.Results + } + return nil +} + +func (m *ProductSearchResults) GetProductGroupedResults() []*ProductSearchResults_GroupedResult { + if m != nil { + return m.ProductGroupedResults + } + return nil +} + +// Information about a product. +type ProductSearchResults_Result struct { + // The Product. + Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` + // A confidence level on the match, ranging from 0 (no confidence) to + // 1 (full confidence). + Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` + // The resource name of the image from the product that is the closest match + // to the query. + Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductSearchResults_Result) Reset() { *m = ProductSearchResults_Result{} } +func (m *ProductSearchResults_Result) String() string { return proto.CompactTextString(m) } +func (*ProductSearchResults_Result) ProtoMessage() {} +func (*ProductSearchResults_Result) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_ab4ebb8085b92f42, []int{1, 0} +} +func (m *ProductSearchResults_Result) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductSearchResults_Result.Unmarshal(m, b) +} +func (m *ProductSearchResults_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductSearchResults_Result.Marshal(b, m, deterministic) +} +func (dst *ProductSearchResults_Result) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductSearchResults_Result.Merge(dst, src) +} +func (m *ProductSearchResults_Result) XXX_Size() int { + return xxx_messageInfo_ProductSearchResults_Result.Size(m) +} +func (m *ProductSearchResults_Result) XXX_DiscardUnknown() { + xxx_messageInfo_ProductSearchResults_Result.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductSearchResults_Result proto.InternalMessageInfo + +func (m *ProductSearchResults_Result) GetProduct() *Product { + if m != nil { + return m.Product + } + return nil +} + +func (m *ProductSearchResults_Result) GetScore() float32 { + if m != nil { + return m.Score + } + return 0 +} + +func (m *ProductSearchResults_Result) GetImage() string { + if m != nil { + return m.Image + } + return "" +} + +// Information about the products similar to a single product in a query +// image. +type ProductSearchResults_GroupedResult struct { + // The bounding polygon around the product detected in the query image. + BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` + // List of results, one for each product match. + Results []*ProductSearchResults_Result `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductSearchResults_GroupedResult) Reset() { *m = ProductSearchResults_GroupedResult{} } +func (m *ProductSearchResults_GroupedResult) String() string { return proto.CompactTextString(m) } +func (*ProductSearchResults_GroupedResult) ProtoMessage() {} +func (*ProductSearchResults_GroupedResult) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_ab4ebb8085b92f42, []int{1, 1} +} +func (m *ProductSearchResults_GroupedResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductSearchResults_GroupedResult.Unmarshal(m, b) +} +func (m *ProductSearchResults_GroupedResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductSearchResults_GroupedResult.Marshal(b, m, deterministic) +} +func (dst *ProductSearchResults_GroupedResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductSearchResults_GroupedResult.Merge(dst, src) +} +func (m *ProductSearchResults_GroupedResult) XXX_Size() int { + return xxx_messageInfo_ProductSearchResults_GroupedResult.Size(m) +} +func (m *ProductSearchResults_GroupedResult) XXX_DiscardUnknown() { + xxx_messageInfo_ProductSearchResults_GroupedResult.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductSearchResults_GroupedResult proto.InternalMessageInfo + +func (m *ProductSearchResults_GroupedResult) GetBoundingPoly() *BoundingPoly { + if m != nil { + return m.BoundingPoly + } + return nil +} + +func (m *ProductSearchResults_GroupedResult) GetResults() []*ProductSearchResults_Result { + if m != nil { + return m.Results + } + return nil +} + +func init() { + proto.RegisterType((*ProductSearchParams)(nil), "google.cloud.vision.v1.ProductSearchParams") + proto.RegisterType((*ProductSearchResults)(nil), "google.cloud.vision.v1.ProductSearchResults") + proto.RegisterType((*ProductSearchResults_Result)(nil), "google.cloud.vision.v1.ProductSearchResults.Result") + proto.RegisterType((*ProductSearchResults_GroupedResult)(nil), "google.cloud.vision.v1.ProductSearchResults.GroupedResult") +} + +func init() { + proto.RegisterFile("google/cloud/vision/v1/product_search.proto", fileDescriptor_product_search_ab4ebb8085b92f42) +} + +var fileDescriptor_product_search_ab4ebb8085b92f42 = []byte{ + // 485 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xcf, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0x95, 0x76, 0x4b, 0xa9, 0xcb, 0x0e, 0x98, 0x31, 0xa2, 0x08, 0xa9, 0xd5, 0x04, 0x52, + 0x25, 0x84, 0xa3, 0xad, 0xa7, 0x01, 0xa7, 0xee, 0x30, 0x71, 0x00, 0x55, 0x01, 0x71, 0xe0, 0x12, + 0xb9, 0x89, 0x67, 0x2c, 0x25, 0x7e, 0x91, 0xed, 0x54, 0x94, 0x3f, 0x87, 0x1b, 0x47, 0xfe, 0x0b, + 0xfe, 0x24, 0x8e, 0xa8, 0xfe, 0x01, 0x2b, 0xac, 0xe2, 0xc7, 0x4e, 0xc9, 0xb3, 0xbf, 0xef, 0xf3, + 0xfc, 0x7d, 0x7e, 0x46, 0x8f, 0x39, 0x00, 0xaf, 0x59, 0x56, 0xd6, 0xd0, 0x55, 0xd9, 0x4a, 0x68, + 0x01, 0x32, 0x5b, 0x9d, 0x64, 0xad, 0x82, 0xaa, 0x2b, 0x4d, 0xa1, 0x19, 0x55, 0xe5, 0x7b, 0xd2, + 0x2a, 0x30, 0x80, 0x8f, 0x9c, 0x98, 0x58, 0x31, 0x71, 0x62, 0xb2, 0x3a, 0x49, 0x1f, 0x78, 0x08, + 0x6d, 0x45, 0x46, 0xa5, 0x04, 0x43, 0x8d, 0x00, 0xa9, 0x5d, 0x56, 0xfa, 0x68, 0x47, 0x09, 0xce, + 0xa0, 0x61, 0x46, 0xad, 0xbd, 0x6c, 0xf6, 0x57, 0x27, 0x29, 0x34, 0x53, 0x2b, 0x51, 0x32, 0x9f, + 0x34, 0xf6, 0x49, 0x36, 0x5a, 0x76, 0x97, 0x99, 0x11, 0x0d, 0xd3, 0x86, 0x36, 0xad, 0x13, 0x1c, + 0x7f, 0x8d, 0xd0, 0xdd, 0x85, 0x23, 0xbc, 0xb6, 0x80, 0x05, 0x55, 0xb4, 0xd1, 0xf8, 0x05, 0x3a, + 0x58, 0x42, 0x27, 0x2b, 0x21, 0x79, 0xd1, 0x42, 0xbd, 0x4e, 0x86, 0x93, 0x68, 0x3a, 0x3a, 0x7d, + 0x48, 0xae, 0xb7, 0x48, 0xe6, 0x5e, 0xbc, 0x80, 0x7a, 0x9d, 0xdf, 0x5e, 0x5e, 0x89, 0xf0, 0x18, + 0x8d, 0x7e, 0x9e, 0xd1, 0x24, 0xf1, 0x24, 0x9a, 0x0e, 0x73, 0xd4, 0x86, 0xa2, 0x06, 0x3f, 0x41, + 0x38, 0x08, 0x4a, 0x6a, 0x18, 0x07, 0x25, 0x98, 0x4e, 0x06, 0x93, 0xfe, 0x74, 0x98, 0xdf, 0xf1, + 0x3b, 0x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0x9c, 0x80, 0xe2, 0x19, 0x67, 0xd2, 0xce, 0x51, 0xe6, + 0xb6, 0x68, 0x2b, 0xf4, 0xaf, 0xef, 0xf4, 0x99, 0xfb, 0xfb, 0x16, 0x45, 0x9f, 0x7a, 0x7b, 0x17, + 0xe7, 0x6f, 0x5f, 0x2d, 0x63, 0x9b, 0x32, 0xfb, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x93, 0xfe, 0xaa, + 0xbb, 0x63, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search_service.pb.go new file mode 100644 index 000000000..78bab17bd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search_service.pb.go @@ -0,0 +1,2970 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/cloud/vision/v1/product_search_service.proto + +package vision // import "google.golang.org/genproto/googleapis/cloud/vision/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import longrunning "google.golang.org/genproto/googleapis/longrunning" +import status "google.golang.org/genproto/googleapis/rpc/status" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Enumerates the possible states that the batch request can be in. +type BatchOperationMetadata_State int32 + +const ( + // Invalid. + BatchOperationMetadata_STATE_UNSPECIFIED BatchOperationMetadata_State = 0 + // Request is actively being processed. + BatchOperationMetadata_PROCESSING BatchOperationMetadata_State = 1 + // The request is done and at least one item has been successfully + // processed. + BatchOperationMetadata_SUCCESSFUL BatchOperationMetadata_State = 2 + // The request is done and no item has been successfully processed. + BatchOperationMetadata_FAILED BatchOperationMetadata_State = 3 + // The request is done after the longrunning.Operations.CancelOperation has + // been called by the user. Any records that were processed before the + // cancel command are output as specified in the request. + BatchOperationMetadata_CANCELLED BatchOperationMetadata_State = 4 +) + +var BatchOperationMetadata_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "PROCESSING", + 2: "SUCCESSFUL", + 3: "FAILED", + 4: "CANCELLED", +} +var BatchOperationMetadata_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "PROCESSING": 1, + "SUCCESSFUL": 2, + "FAILED": 3, + "CANCELLED": 4, +} + +func (x BatchOperationMetadata_State) String() string { + return proto.EnumName(BatchOperationMetadata_State_name, int32(x)) +} +func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{28, 0} +} + +// A Product contains ReferenceImages. +type Product struct { + // The resource name of the product. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. + // + // This field is ignored when creating a product. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The user-provided name for this Product. Must not be empty. Must be at most + // 4096 characters long. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // User-provided metadata to be stored with this product. Must be at most 4096 + // characters long. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // The category for the product identified by the reference image. This should + // be either "homegoods", "apparel", or "toys". + // + // This field is immutable. + ProductCategory string `protobuf:"bytes,4,opt,name=product_category,json=productCategory,proto3" json:"product_category,omitempty"` + // Key-value pairs that can be attached to a product. At query time, + // constraints can be specified based on the product_labels. + // + // Note that integer values can be provided as strings, e.g. "1199". Only + // strings with integer values can match a range-based restriction which is + // to be supported soon. + // + // Multiple values can be assigned to the same key. One product may have up to + // 100 product_labels. + ProductLabels []*Product_KeyValue `protobuf:"bytes,5,rep,name=product_labels,json=productLabels,proto3" json:"product_labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Product) Reset() { *m = Product{} } +func (m *Product) String() string { return proto.CompactTextString(m) } +func (*Product) ProtoMessage() {} +func (*Product) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{0} +} +func (m *Product) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Product.Unmarshal(m, b) +} +func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Product.Marshal(b, m, deterministic) +} +func (dst *Product) XXX_Merge(src proto.Message) { + xxx_messageInfo_Product.Merge(dst, src) +} +func (m *Product) XXX_Size() int { + return xxx_messageInfo_Product.Size(m) +} +func (m *Product) XXX_DiscardUnknown() { + xxx_messageInfo_Product.DiscardUnknown(m) +} + +var xxx_messageInfo_Product proto.InternalMessageInfo + +func (m *Product) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Product) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *Product) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Product) GetProductCategory() string { + if m != nil { + return m.ProductCategory + } + return "" +} + +func (m *Product) GetProductLabels() []*Product_KeyValue { + if m != nil { + return m.ProductLabels + } + return nil +} + +// A product label represented as a key-value pair. +type Product_KeyValue struct { + // The key of the label attached to the product. Cannot be empty and cannot + // exceed 128 bytes. + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // The value of the label attached to the product. Cannot be empty and + // cannot exceed 128 bytes. + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Product_KeyValue) Reset() { *m = Product_KeyValue{} } +func (m *Product_KeyValue) String() string { return proto.CompactTextString(m) } +func (*Product_KeyValue) ProtoMessage() {} +func (*Product_KeyValue) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{0, 0} +} +func (m *Product_KeyValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Product_KeyValue.Unmarshal(m, b) +} +func (m *Product_KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Product_KeyValue.Marshal(b, m, deterministic) +} +func (dst *Product_KeyValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_Product_KeyValue.Merge(dst, src) +} +func (m *Product_KeyValue) XXX_Size() int { + return xxx_messageInfo_Product_KeyValue.Size(m) +} +func (m *Product_KeyValue) XXX_DiscardUnknown() { + xxx_messageInfo_Product_KeyValue.DiscardUnknown(m) +} + +var xxx_messageInfo_Product_KeyValue proto.InternalMessageInfo + +func (m *Product_KeyValue) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *Product_KeyValue) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +// A ProductSet contains Products. A ProductSet can contain a maximum of 1 +// million reference images. If the limit is exceeded, periodic indexing will +// fail. +type ProductSet struct { + // The resource name of the ProductSet. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. + // + // This field is ignored when creating a ProductSet. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The user-provided name for this ProductSet. Must not be empty. Must be at + // most 4096 characters long. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Output only. The time at which this ProductSet was last indexed. Query + // results will reflect all updates before this time. If this ProductSet has + // never been indexed, this field is 0. + // + // This field is ignored when creating a ProductSet. + IndexTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=index_time,json=indexTime,proto3" json:"index_time,omitempty"` + // Output only. If there was an error with indexing the product set, the field + // is populated. + // + // This field is ignored when creating a ProductSet. + IndexError *status.Status `protobuf:"bytes,4,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProductSet) Reset() { *m = ProductSet{} } +func (m *ProductSet) String() string { return proto.CompactTextString(m) } +func (*ProductSet) ProtoMessage() {} +func (*ProductSet) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{1} +} +func (m *ProductSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProductSet.Unmarshal(m, b) +} +func (m *ProductSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProductSet.Marshal(b, m, deterministic) +} +func (dst *ProductSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProductSet.Merge(dst, src) +} +func (m *ProductSet) XXX_Size() int { + return xxx_messageInfo_ProductSet.Size(m) +} +func (m *ProductSet) XXX_DiscardUnknown() { + xxx_messageInfo_ProductSet.DiscardUnknown(m) +} + +var xxx_messageInfo_ProductSet proto.InternalMessageInfo + +func (m *ProductSet) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ProductSet) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *ProductSet) GetIndexTime() *timestamp.Timestamp { + if m != nil { + return m.IndexTime + } + return nil +} + +func (m *ProductSet) GetIndexError() *status.Status { + if m != nil { + return m.IndexError + } + return nil +} + +// A `ReferenceImage` represents a product image and its associated metadata, +// such as bounding boxes. +type ReferenceImage struct { + // The resource name of the reference image. + // + // Format is: + // + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. + // + // This field is ignored when creating a reference image. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The Google Cloud Storage URI of the reference image. + // + // The URI must start with `gs://`. + // + // Required. + Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` + // Bounding polygons around the areas of interest in the reference image. + // Optional. If this field is empty, the system will try to detect regions of + // interest. At most 10 bounding polygons will be used. + // + // The provided shape is converted into a non-rotated rectangle. Once + // converted, the small edge of the rectangle must be greater than or equal + // to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 + // is not). + BoundingPolys []*BoundingPoly `protobuf:"bytes,3,rep,name=bounding_polys,json=boundingPolys,proto3" json:"bounding_polys,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReferenceImage) Reset() { *m = ReferenceImage{} } +func (m *ReferenceImage) String() string { return proto.CompactTextString(m) } +func (*ReferenceImage) ProtoMessage() {} +func (*ReferenceImage) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{2} +} +func (m *ReferenceImage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReferenceImage.Unmarshal(m, b) +} +func (m *ReferenceImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReferenceImage.Marshal(b, m, deterministic) +} +func (dst *ReferenceImage) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReferenceImage.Merge(dst, src) +} +func (m *ReferenceImage) XXX_Size() int { + return xxx_messageInfo_ReferenceImage.Size(m) +} +func (m *ReferenceImage) XXX_DiscardUnknown() { + xxx_messageInfo_ReferenceImage.DiscardUnknown(m) +} + +var xxx_messageInfo_ReferenceImage proto.InternalMessageInfo + +func (m *ReferenceImage) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ReferenceImage) GetUri() string { + if m != nil { + return m.Uri + } + return "" +} + +func (m *ReferenceImage) GetBoundingPolys() []*BoundingPoly { + if m != nil { + return m.BoundingPolys + } + return nil +} + +// Request message for the `CreateProduct` method. +type CreateProductRequest struct { + // The project in which the Product should be created. + // + // Format is + // `projects/PROJECT_ID/locations/LOC_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The product to create. + Product *Product `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` + // A user-supplied resource id for this Product. If set, the server will + // attempt to use this value as the resource id. If it is already in use, an + // error is returned with code ALREADY_EXISTS. Must be at most 128 characters + // long. It cannot contain the character `/`. + ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateProductRequest) Reset() { *m = CreateProductRequest{} } +func (m *CreateProductRequest) String() string { return proto.CompactTextString(m) } +func (*CreateProductRequest) ProtoMessage() {} +func (*CreateProductRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{3} +} +func (m *CreateProductRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateProductRequest.Unmarshal(m, b) +} +func (m *CreateProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateProductRequest.Marshal(b, m, deterministic) +} +func (dst *CreateProductRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateProductRequest.Merge(dst, src) +} +func (m *CreateProductRequest) XXX_Size() int { + return xxx_messageInfo_CreateProductRequest.Size(m) +} +func (m *CreateProductRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateProductRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateProductRequest proto.InternalMessageInfo + +func (m *CreateProductRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateProductRequest) GetProduct() *Product { + if m != nil { + return m.Product + } + return nil +} + +func (m *CreateProductRequest) GetProductId() string { + if m != nil { + return m.ProductId + } + return "" +} + +// Request message for the `ListProducts` method. +type ListProductsRequest struct { + // The project OR ProductSet from which Products should be listed. + // + // Format: + // `projects/PROJECT_ID/locations/LOC_ID` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The maximum number of items to return. Default 10, maximum 100. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The next_page_token returned from a previous List request, if any. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListProductsRequest) Reset() { *m = ListProductsRequest{} } +func (m *ListProductsRequest) String() string { return proto.CompactTextString(m) } +func (*ListProductsRequest) ProtoMessage() {} +func (*ListProductsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{4} +} +func (m *ListProductsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListProductsRequest.Unmarshal(m, b) +} +func (m *ListProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListProductsRequest.Marshal(b, m, deterministic) +} +func (dst *ListProductsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListProductsRequest.Merge(dst, src) +} +func (m *ListProductsRequest) XXX_Size() int { + return xxx_messageInfo_ListProductsRequest.Size(m) +} +func (m *ListProductsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListProductsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListProductsRequest proto.InternalMessageInfo + +func (m *ListProductsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListProductsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListProductsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for the `ListProducts` method. +type ListProductsResponse struct { + // List of products. + Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results in the list. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListProductsResponse) Reset() { *m = ListProductsResponse{} } +func (m *ListProductsResponse) String() string { return proto.CompactTextString(m) } +func (*ListProductsResponse) ProtoMessage() {} +func (*ListProductsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{5} +} +func (m *ListProductsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListProductsResponse.Unmarshal(m, b) +} +func (m *ListProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListProductsResponse.Marshal(b, m, deterministic) +} +func (dst *ListProductsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListProductsResponse.Merge(dst, src) +} +func (m *ListProductsResponse) XXX_Size() int { + return xxx_messageInfo_ListProductsResponse.Size(m) +} +func (m *ListProductsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListProductsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListProductsResponse proto.InternalMessageInfo + +func (m *ListProductsResponse) GetProducts() []*Product { + if m != nil { + return m.Products + } + return nil +} + +func (m *ListProductsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for the `GetProduct` method. +type GetProductRequest struct { + // Resource name of the Product to get. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetProductRequest) Reset() { *m = GetProductRequest{} } +func (m *GetProductRequest) String() string { return proto.CompactTextString(m) } +func (*GetProductRequest) ProtoMessage() {} +func (*GetProductRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{6} +} +func (m *GetProductRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetProductRequest.Unmarshal(m, b) +} +func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetProductRequest.Marshal(b, m, deterministic) +} +func (dst *GetProductRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetProductRequest.Merge(dst, src) +} +func (m *GetProductRequest) XXX_Size() int { + return xxx_messageInfo_GetProductRequest.Size(m) +} +func (m *GetProductRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetProductRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetProductRequest proto.InternalMessageInfo + +func (m *GetProductRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for the `UpdateProduct` method. +type UpdateProductRequest struct { + // The Product resource which replaces the one on the server. + // product.name is immutable. + Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` + // The [FieldMask][google.protobuf.FieldMask] that specifies which fields + // to update. + // If update_mask isn't specified, all mutable fields are to be updated. + // Valid mask paths include `product_labels`, `display_name`, and + // `description`. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateProductRequest) Reset() { *m = UpdateProductRequest{} } +func (m *UpdateProductRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateProductRequest) ProtoMessage() {} +func (*UpdateProductRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{7} +} +func (m *UpdateProductRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateProductRequest.Unmarshal(m, b) +} +func (m *UpdateProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateProductRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateProductRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateProductRequest.Merge(dst, src) +} +func (m *UpdateProductRequest) XXX_Size() int { + return xxx_messageInfo_UpdateProductRequest.Size(m) +} +func (m *UpdateProductRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateProductRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateProductRequest proto.InternalMessageInfo + +func (m *UpdateProductRequest) GetProduct() *Product { + if m != nil { + return m.Product + } + return nil +} + +func (m *UpdateProductRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for the `DeleteProduct` method. +type DeleteProductRequest struct { + // Resource name of product to delete. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteProductRequest) Reset() { *m = DeleteProductRequest{} } +func (m *DeleteProductRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteProductRequest) ProtoMessage() {} +func (*DeleteProductRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{8} +} +func (m *DeleteProductRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteProductRequest.Unmarshal(m, b) +} +func (m *DeleteProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteProductRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteProductRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteProductRequest.Merge(dst, src) +} +func (m *DeleteProductRequest) XXX_Size() int { + return xxx_messageInfo_DeleteProductRequest.Size(m) +} +func (m *DeleteProductRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteProductRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteProductRequest proto.InternalMessageInfo + +func (m *DeleteProductRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for the `CreateProductSet` method. +type CreateProductSetRequest struct { + // The project in which the ProductSet should be created. + // + // Format is `projects/PROJECT_ID/locations/LOC_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The ProductSet to create. + ProductSet *ProductSet `protobuf:"bytes,2,opt,name=product_set,json=productSet,proto3" json:"product_set,omitempty"` + // A user-supplied resource id for this ProductSet. If set, the server will + // attempt to use this value as the resource id. If it is already in use, an + // error is returned with code ALREADY_EXISTS. Must be at most 128 characters + // long. It cannot contain the character `/`. + ProductSetId string `protobuf:"bytes,3,opt,name=product_set_id,json=productSetId,proto3" json:"product_set_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateProductSetRequest) Reset() { *m = CreateProductSetRequest{} } +func (m *CreateProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*CreateProductSetRequest) ProtoMessage() {} +func (*CreateProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{9} +} +func (m *CreateProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateProductSetRequest.Unmarshal(m, b) +} +func (m *CreateProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *CreateProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateProductSetRequest.Merge(dst, src) +} +func (m *CreateProductSetRequest) XXX_Size() int { + return xxx_messageInfo_CreateProductSetRequest.Size(m) +} +func (m *CreateProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateProductSetRequest proto.InternalMessageInfo + +func (m *CreateProductSetRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateProductSetRequest) GetProductSet() *ProductSet { + if m != nil { + return m.ProductSet + } + return nil +} + +func (m *CreateProductSetRequest) GetProductSetId() string { + if m != nil { + return m.ProductSetId + } + return "" +} + +// Request message for the `ListProductSets` method. +type ListProductSetsRequest struct { + // The project from which ProductSets should be listed. + // + // Format is `projects/PROJECT_ID/locations/LOC_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The maximum number of items to return. Default 10, maximum 100. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The next_page_token returned from a previous List request, if any. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListProductSetsRequest) Reset() { *m = ListProductSetsRequest{} } +func (m *ListProductSetsRequest) String() string { return proto.CompactTextString(m) } +func (*ListProductSetsRequest) ProtoMessage() {} +func (*ListProductSetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{10} +} +func (m *ListProductSetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListProductSetsRequest.Unmarshal(m, b) +} +func (m *ListProductSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListProductSetsRequest.Marshal(b, m, deterministic) +} +func (dst *ListProductSetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListProductSetsRequest.Merge(dst, src) +} +func (m *ListProductSetsRequest) XXX_Size() int { + return xxx_messageInfo_ListProductSetsRequest.Size(m) +} +func (m *ListProductSetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListProductSetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListProductSetsRequest proto.InternalMessageInfo + +func (m *ListProductSetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListProductSetsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListProductSetsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for the `ListProductSets` method. +type ListProductSetsResponse struct { + // List of ProductSets. + ProductSets []*ProductSet `protobuf:"bytes,1,rep,name=product_sets,json=productSets,proto3" json:"product_sets,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results in the list. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListProductSetsResponse) Reset() { *m = ListProductSetsResponse{} } +func (m *ListProductSetsResponse) String() string { return proto.CompactTextString(m) } +func (*ListProductSetsResponse) ProtoMessage() {} +func (*ListProductSetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{11} +} +func (m *ListProductSetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListProductSetsResponse.Unmarshal(m, b) +} +func (m *ListProductSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListProductSetsResponse.Marshal(b, m, deterministic) +} +func (dst *ListProductSetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListProductSetsResponse.Merge(dst, src) +} +func (m *ListProductSetsResponse) XXX_Size() int { + return xxx_messageInfo_ListProductSetsResponse.Size(m) +} +func (m *ListProductSetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListProductSetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListProductSetsResponse proto.InternalMessageInfo + +func (m *ListProductSetsResponse) GetProductSets() []*ProductSet { + if m != nil { + return m.ProductSets + } + return nil +} + +func (m *ListProductSetsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for the `GetProductSet` method. +type GetProductSetRequest struct { + // Resource name of the ProductSet to get. + // + // Format is: + // `projects/PROJECT_ID/locations/LOG_ID/productSets/PRODUCT_SET_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetProductSetRequest) Reset() { *m = GetProductSetRequest{} } +func (m *GetProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*GetProductSetRequest) ProtoMessage() {} +func (*GetProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{12} +} +func (m *GetProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetProductSetRequest.Unmarshal(m, b) +} +func (m *GetProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *GetProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetProductSetRequest.Merge(dst, src) +} +func (m *GetProductSetRequest) XXX_Size() int { + return xxx_messageInfo_GetProductSetRequest.Size(m) +} +func (m *GetProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetProductSetRequest proto.InternalMessageInfo + +func (m *GetProductSetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for the `UpdateProductSet` method. +type UpdateProductSetRequest struct { + // The ProductSet resource which replaces the one on the server. + ProductSet *ProductSet `protobuf:"bytes,1,opt,name=product_set,json=productSet,proto3" json:"product_set,omitempty"` + // The [FieldMask][google.protobuf.FieldMask] that specifies which fields to + // update. + // If update_mask isn't specified, all mutable fields are to be updated. + // Valid mask path is `display_name`. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateProductSetRequest) Reset() { *m = UpdateProductSetRequest{} } +func (m *UpdateProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateProductSetRequest) ProtoMessage() {} +func (*UpdateProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{13} +} +func (m *UpdateProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateProductSetRequest.Unmarshal(m, b) +} +func (m *UpdateProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateProductSetRequest.Merge(dst, src) +} +func (m *UpdateProductSetRequest) XXX_Size() int { + return xxx_messageInfo_UpdateProductSetRequest.Size(m) +} +func (m *UpdateProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateProductSetRequest proto.InternalMessageInfo + +func (m *UpdateProductSetRequest) GetProductSet() *ProductSet { + if m != nil { + return m.ProductSet + } + return nil +} + +func (m *UpdateProductSetRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request message for the `DeleteProductSet` method. +type DeleteProductSetRequest struct { + // Resource name of the ProductSet to delete. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteProductSetRequest) Reset() { *m = DeleteProductSetRequest{} } +func (m *DeleteProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteProductSetRequest) ProtoMessage() {} +func (*DeleteProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{14} +} +func (m *DeleteProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteProductSetRequest.Unmarshal(m, b) +} +func (m *DeleteProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteProductSetRequest.Merge(dst, src) +} +func (m *DeleteProductSetRequest) XXX_Size() int { + return xxx_messageInfo_DeleteProductSetRequest.Size(m) +} +func (m *DeleteProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteProductSetRequest proto.InternalMessageInfo + +func (m *DeleteProductSetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for the `CreateReferenceImage` method. +type CreateReferenceImageRequest struct { + // Resource name of the product in which to create the reference image. + // + // Format is + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The reference image to create. + // If an image ID is specified, it is ignored. + ReferenceImage *ReferenceImage `protobuf:"bytes,2,opt,name=reference_image,json=referenceImage,proto3" json:"reference_image,omitempty"` + // A user-supplied resource id for the ReferenceImage to be added. If set, + // the server will attempt to use this value as the resource id. If it is + // already in use, an error is returned with code ALREADY_EXISTS. Must be at + // most 128 characters long. It cannot contain the character `/`. + ReferenceImageId string `protobuf:"bytes,3,opt,name=reference_image_id,json=referenceImageId,proto3" json:"reference_image_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateReferenceImageRequest) Reset() { *m = CreateReferenceImageRequest{} } +func (m *CreateReferenceImageRequest) String() string { return proto.CompactTextString(m) } +func (*CreateReferenceImageRequest) ProtoMessage() {} +func (*CreateReferenceImageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{15} +} +func (m *CreateReferenceImageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateReferenceImageRequest.Unmarshal(m, b) +} +func (m *CreateReferenceImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateReferenceImageRequest.Marshal(b, m, deterministic) +} +func (dst *CreateReferenceImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateReferenceImageRequest.Merge(dst, src) +} +func (m *CreateReferenceImageRequest) XXX_Size() int { + return xxx_messageInfo_CreateReferenceImageRequest.Size(m) +} +func (m *CreateReferenceImageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateReferenceImageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateReferenceImageRequest proto.InternalMessageInfo + +func (m *CreateReferenceImageRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateReferenceImageRequest) GetReferenceImage() *ReferenceImage { + if m != nil { + return m.ReferenceImage + } + return nil +} + +func (m *CreateReferenceImageRequest) GetReferenceImageId() string { + if m != nil { + return m.ReferenceImageId + } + return "" +} + +// Request message for the `ListReferenceImages` method. +type ListReferenceImagesRequest struct { + // Resource name of the product containing the reference images. + // + // Format is + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The maximum number of items to return. Default 10, maximum 100. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // A token identifying a page of results to be returned. This is the value + // of `nextPageToken` returned in a previous reference image list request. + // + // Defaults to the first page if not specified. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListReferenceImagesRequest) Reset() { *m = ListReferenceImagesRequest{} } +func (m *ListReferenceImagesRequest) String() string { return proto.CompactTextString(m) } +func (*ListReferenceImagesRequest) ProtoMessage() {} +func (*ListReferenceImagesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{16} +} +func (m *ListReferenceImagesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListReferenceImagesRequest.Unmarshal(m, b) +} +func (m *ListReferenceImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListReferenceImagesRequest.Marshal(b, m, deterministic) +} +func (dst *ListReferenceImagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListReferenceImagesRequest.Merge(dst, src) +} +func (m *ListReferenceImagesRequest) XXX_Size() int { + return xxx_messageInfo_ListReferenceImagesRequest.Size(m) +} +func (m *ListReferenceImagesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListReferenceImagesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListReferenceImagesRequest proto.InternalMessageInfo + +func (m *ListReferenceImagesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListReferenceImagesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListReferenceImagesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for the `ListReferenceImages` method. +type ListReferenceImagesResponse struct { + // The list of reference images. + ReferenceImages []*ReferenceImage `protobuf:"bytes,1,rep,name=reference_images,json=referenceImages,proto3" json:"reference_images,omitempty"` + // The maximum number of items to return. Default 10, maximum 100. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The next_page_token returned from a previous List request, if any. + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListReferenceImagesResponse) Reset() { *m = ListReferenceImagesResponse{} } +func (m *ListReferenceImagesResponse) String() string { return proto.CompactTextString(m) } +func (*ListReferenceImagesResponse) ProtoMessage() {} +func (*ListReferenceImagesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{17} +} +func (m *ListReferenceImagesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListReferenceImagesResponse.Unmarshal(m, b) +} +func (m *ListReferenceImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListReferenceImagesResponse.Marshal(b, m, deterministic) +} +func (dst *ListReferenceImagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListReferenceImagesResponse.Merge(dst, src) +} +func (m *ListReferenceImagesResponse) XXX_Size() int { + return xxx_messageInfo_ListReferenceImagesResponse.Size(m) +} +func (m *ListReferenceImagesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListReferenceImagesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListReferenceImagesResponse proto.InternalMessageInfo + +func (m *ListReferenceImagesResponse) GetReferenceImages() []*ReferenceImage { + if m != nil { + return m.ReferenceImages + } + return nil +} + +func (m *ListReferenceImagesResponse) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListReferenceImagesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for the `GetReferenceImage` method. +type GetReferenceImageRequest struct { + // The resource name of the ReferenceImage to get. + // + // Format is: + // + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetReferenceImageRequest) Reset() { *m = GetReferenceImageRequest{} } +func (m *GetReferenceImageRequest) String() string { return proto.CompactTextString(m) } +func (*GetReferenceImageRequest) ProtoMessage() {} +func (*GetReferenceImageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{18} +} +func (m *GetReferenceImageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetReferenceImageRequest.Unmarshal(m, b) +} +func (m *GetReferenceImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetReferenceImageRequest.Marshal(b, m, deterministic) +} +func (dst *GetReferenceImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetReferenceImageRequest.Merge(dst, src) +} +func (m *GetReferenceImageRequest) XXX_Size() int { + return xxx_messageInfo_GetReferenceImageRequest.Size(m) +} +func (m *GetReferenceImageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetReferenceImageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetReferenceImageRequest proto.InternalMessageInfo + +func (m *GetReferenceImageRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for the `DeleteReferenceImage` method. +type DeleteReferenceImageRequest struct { + // The resource name of the reference image to delete. + // + // Format is: + // + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteReferenceImageRequest) Reset() { *m = DeleteReferenceImageRequest{} } +func (m *DeleteReferenceImageRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteReferenceImageRequest) ProtoMessage() {} +func (*DeleteReferenceImageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{19} +} +func (m *DeleteReferenceImageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteReferenceImageRequest.Unmarshal(m, b) +} +func (m *DeleteReferenceImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteReferenceImageRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteReferenceImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteReferenceImageRequest.Merge(dst, src) +} +func (m *DeleteReferenceImageRequest) XXX_Size() int { + return xxx_messageInfo_DeleteReferenceImageRequest.Size(m) +} +func (m *DeleteReferenceImageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteReferenceImageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteReferenceImageRequest proto.InternalMessageInfo + +func (m *DeleteReferenceImageRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request message for the `AddProductToProductSet` method. +type AddProductToProductSetRequest struct { + // The resource name for the ProductSet to modify. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The resource name for the Product to be added to this ProductSet. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` + Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddProductToProductSetRequest) Reset() { *m = AddProductToProductSetRequest{} } +func (m *AddProductToProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*AddProductToProductSetRequest) ProtoMessage() {} +func (*AddProductToProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{20} +} +func (m *AddProductToProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddProductToProductSetRequest.Unmarshal(m, b) +} +func (m *AddProductToProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddProductToProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *AddProductToProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddProductToProductSetRequest.Merge(dst, src) +} +func (m *AddProductToProductSetRequest) XXX_Size() int { + return xxx_messageInfo_AddProductToProductSetRequest.Size(m) +} +func (m *AddProductToProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddProductToProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddProductToProductSetRequest proto.InternalMessageInfo + +func (m *AddProductToProductSetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *AddProductToProductSetRequest) GetProduct() string { + if m != nil { + return m.Product + } + return "" +} + +// Request message for the `RemoveProductFromProductSet` method. +type RemoveProductFromProductSetRequest struct { + // The resource name for the ProductSet to modify. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The resource name for the Product to be removed from this ProductSet. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` + Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveProductFromProductSetRequest) Reset() { *m = RemoveProductFromProductSetRequest{} } +func (m *RemoveProductFromProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveProductFromProductSetRequest) ProtoMessage() {} +func (*RemoveProductFromProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{21} +} +func (m *RemoveProductFromProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveProductFromProductSetRequest.Unmarshal(m, b) +} +func (m *RemoveProductFromProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveProductFromProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *RemoveProductFromProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveProductFromProductSetRequest.Merge(dst, src) +} +func (m *RemoveProductFromProductSetRequest) XXX_Size() int { + return xxx_messageInfo_RemoveProductFromProductSetRequest.Size(m) +} +func (m *RemoveProductFromProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveProductFromProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveProductFromProductSetRequest proto.InternalMessageInfo + +func (m *RemoveProductFromProductSetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *RemoveProductFromProductSetRequest) GetProduct() string { + if m != nil { + return m.Product + } + return "" +} + +// Request message for the `ListProductsInProductSet` method. +type ListProductsInProductSetRequest struct { + // The ProductSet resource for which to retrieve Products. + // + // Format is: + // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The maximum number of items to return. Default 10, maximum 100. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The next_page_token returned from a previous List request, if any. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListProductsInProductSetRequest) Reset() { *m = ListProductsInProductSetRequest{} } +func (m *ListProductsInProductSetRequest) String() string { return proto.CompactTextString(m) } +func (*ListProductsInProductSetRequest) ProtoMessage() {} +func (*ListProductsInProductSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{22} +} +func (m *ListProductsInProductSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListProductsInProductSetRequest.Unmarshal(m, b) +} +func (m *ListProductsInProductSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListProductsInProductSetRequest.Marshal(b, m, deterministic) +} +func (dst *ListProductsInProductSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListProductsInProductSetRequest.Merge(dst, src) +} +func (m *ListProductsInProductSetRequest) XXX_Size() int { + return xxx_messageInfo_ListProductsInProductSetRequest.Size(m) +} +func (m *ListProductsInProductSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListProductsInProductSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListProductsInProductSetRequest proto.InternalMessageInfo + +func (m *ListProductsInProductSetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ListProductsInProductSetRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListProductsInProductSetRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response message for the `ListProductsInProductSet` method. +type ListProductsInProductSetResponse struct { + // The list of Products. + Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` + // Token to retrieve the next page of results, or empty if there are no more + // results in the list. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListProductsInProductSetResponse) Reset() { *m = ListProductsInProductSetResponse{} } +func (m *ListProductsInProductSetResponse) String() string { return proto.CompactTextString(m) } +func (*ListProductsInProductSetResponse) ProtoMessage() {} +func (*ListProductsInProductSetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{23} +} +func (m *ListProductsInProductSetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListProductsInProductSetResponse.Unmarshal(m, b) +} +func (m *ListProductsInProductSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListProductsInProductSetResponse.Marshal(b, m, deterministic) +} +func (dst *ListProductsInProductSetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListProductsInProductSetResponse.Merge(dst, src) +} +func (m *ListProductsInProductSetResponse) XXX_Size() int { + return xxx_messageInfo_ListProductsInProductSetResponse.Size(m) +} +func (m *ListProductsInProductSetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListProductsInProductSetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListProductsInProductSetResponse proto.InternalMessageInfo + +func (m *ListProductsInProductSetResponse) GetProducts() []*Product { + if m != nil { + return m.Products + } + return nil +} + +func (m *ListProductsInProductSetResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// The Google Cloud Storage location for a csv file which preserves a list of +// ImportProductSetRequests in each line. +type ImportProductSetsGcsSource struct { + // The Google Cloud Storage URI of the input csv file. + // + // The URI must start with `gs://`. + // + // The format of the input csv file should be one image per line. + // In each line, there are 8 columns. + // + // 1. image-uri + // 2. image-id + // 3. product-set-id + // 4. product-id + // 5. product-category + // 6. product-display-name + // 7. labels + // 8. bounding-poly + // + // The `image-uri`, `product-set-id`, `product-id`, and `product-category` + // columns are required. All other columns are optional. + // + // If the `ProductSet` or `Product` specified by the `product-set-id` and + // `product-id` values does not exist, then the system will create a new + // `ProductSet` or `Product` for the image. In this case, the + // `product-display-name` column refers to + // [display_name][google.cloud.vision.v1.Product.display_name], the + // `product-category` column refers to + // [product_category][google.cloud.vision.v1.Product.product_category], and the + // `labels` column refers to [product_labels][google.cloud.vision.v1.Product.product_labels]. + // + // The `image-id` column is optional but must be unique if provided. If it is + // empty, the system will automatically assign a unique id to the image. + // + // The `product-display-name` column is optional. If it is empty, the system + // sets the [display_name][google.cloud.vision.v1.Product.display_name] field for the product to a + // space (" "). You can update the `display_name` later by using the API. + // + // If a `Product` with the specified `product-id` already exists, then the + // system ignores the `product-display-name`, `product-category`, and `labels` + // columns. + // + // The `labels` column (optional) is a line containing a list of + // comma-separated key-value pairs, in the following format: + // + // "key_1=value_1,key_2=value_2,...,key_n=value_n" + // + // The `bounding-poly` column (optional) identifies one region of + // interest from the image in the same manner as `CreateReferenceImage`. If + // you do not specify the `bounding-poly` column, then the system will try to + // detect regions of interest automatically. + // + // At most one `bounding-poly` column is allowed per line. If the image + // contains multiple regions of interest, add a line to the CSV file that + // includes the same product information, and the `bounding-poly` values for + // each region of interest. + // + // The `bounding-poly` column must contain an even number of comma-separated + // numbers, in the format "p1_x,p1_y,p2_x,p2_y,...,pn_x,pn_y". Use + // non-negative integers for absolute bounding polygons, and float values + // in [0, 1] for normalized bounding polygons. + // + // The system will resize the image if the image resolution is too + // large to process (larger than 20MP). + CsvFileUri string `protobuf:"bytes,1,opt,name=csv_file_uri,json=csvFileUri,proto3" json:"csv_file_uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportProductSetsGcsSource) Reset() { *m = ImportProductSetsGcsSource{} } +func (m *ImportProductSetsGcsSource) String() string { return proto.CompactTextString(m) } +func (*ImportProductSetsGcsSource) ProtoMessage() {} +func (*ImportProductSetsGcsSource) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{24} +} +func (m *ImportProductSetsGcsSource) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportProductSetsGcsSource.Unmarshal(m, b) +} +func (m *ImportProductSetsGcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportProductSetsGcsSource.Marshal(b, m, deterministic) +} +func (dst *ImportProductSetsGcsSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportProductSetsGcsSource.Merge(dst, src) +} +func (m *ImportProductSetsGcsSource) XXX_Size() int { + return xxx_messageInfo_ImportProductSetsGcsSource.Size(m) +} +func (m *ImportProductSetsGcsSource) XXX_DiscardUnknown() { + xxx_messageInfo_ImportProductSetsGcsSource.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportProductSetsGcsSource proto.InternalMessageInfo + +func (m *ImportProductSetsGcsSource) GetCsvFileUri() string { + if m != nil { + return m.CsvFileUri + } + return "" +} + +// The input content for the `ImportProductSets` method. +type ImportProductSetsInputConfig struct { + // The source of the input. + // + // Types that are valid to be assigned to Source: + // *ImportProductSetsInputConfig_GcsSource + Source isImportProductSetsInputConfig_Source `protobuf_oneof:"source"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportProductSetsInputConfig) Reset() { *m = ImportProductSetsInputConfig{} } +func (m *ImportProductSetsInputConfig) String() string { return proto.CompactTextString(m) } +func (*ImportProductSetsInputConfig) ProtoMessage() {} +func (*ImportProductSetsInputConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{25} +} +func (m *ImportProductSetsInputConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportProductSetsInputConfig.Unmarshal(m, b) +} +func (m *ImportProductSetsInputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportProductSetsInputConfig.Marshal(b, m, deterministic) +} +func (dst *ImportProductSetsInputConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportProductSetsInputConfig.Merge(dst, src) +} +func (m *ImportProductSetsInputConfig) XXX_Size() int { + return xxx_messageInfo_ImportProductSetsInputConfig.Size(m) +} +func (m *ImportProductSetsInputConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ImportProductSetsInputConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportProductSetsInputConfig proto.InternalMessageInfo + +type isImportProductSetsInputConfig_Source interface { + isImportProductSetsInputConfig_Source() +} + +type ImportProductSetsInputConfig_GcsSource struct { + GcsSource *ImportProductSetsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` +} + +func (*ImportProductSetsInputConfig_GcsSource) isImportProductSetsInputConfig_Source() {} + +func (m *ImportProductSetsInputConfig) GetSource() isImportProductSetsInputConfig_Source { + if m != nil { + return m.Source + } + return nil +} + +func (m *ImportProductSetsInputConfig) GetGcsSource() *ImportProductSetsGcsSource { + if x, ok := m.GetSource().(*ImportProductSetsInputConfig_GcsSource); ok { + return x.GcsSource + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ImportProductSetsInputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ImportProductSetsInputConfig_OneofMarshaler, _ImportProductSetsInputConfig_OneofUnmarshaler, _ImportProductSetsInputConfig_OneofSizer, []interface{}{ + (*ImportProductSetsInputConfig_GcsSource)(nil), + } +} + +func _ImportProductSetsInputConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ImportProductSetsInputConfig) + // source + switch x := m.Source.(type) { + case *ImportProductSetsInputConfig_GcsSource: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.GcsSource); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ImportProductSetsInputConfig.Source has unexpected type %T", x) + } + return nil +} + +func _ImportProductSetsInputConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ImportProductSetsInputConfig) + switch tag { + case 1: // source.gcs_source + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ImportProductSetsGcsSource) + err := b.DecodeMessage(msg) + m.Source = &ImportProductSetsInputConfig_GcsSource{msg} + return true, err + default: + return false, nil + } +} + +func _ImportProductSetsInputConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ImportProductSetsInputConfig) + // source + switch x := m.Source.(type) { + case *ImportProductSetsInputConfig_GcsSource: + s := proto.Size(x.GcsSource) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Request message for the `ImportProductSets` method. +type ImportProductSetsRequest struct { + // The project in which the ProductSets should be imported. + // + // Format is `projects/PROJECT_ID/locations/LOC_ID`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The input content for the list of requests. + InputConfig *ImportProductSetsInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportProductSetsRequest) Reset() { *m = ImportProductSetsRequest{} } +func (m *ImportProductSetsRequest) String() string { return proto.CompactTextString(m) } +func (*ImportProductSetsRequest) ProtoMessage() {} +func (*ImportProductSetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{26} +} +func (m *ImportProductSetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportProductSetsRequest.Unmarshal(m, b) +} +func (m *ImportProductSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportProductSetsRequest.Marshal(b, m, deterministic) +} +func (dst *ImportProductSetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportProductSetsRequest.Merge(dst, src) +} +func (m *ImportProductSetsRequest) XXX_Size() int { + return xxx_messageInfo_ImportProductSetsRequest.Size(m) +} +func (m *ImportProductSetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ImportProductSetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportProductSetsRequest proto.InternalMessageInfo + +func (m *ImportProductSetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ImportProductSetsRequest) GetInputConfig() *ImportProductSetsInputConfig { + if m != nil { + return m.InputConfig + } + return nil +} + +// Response message for the `ImportProductSets` method. +// +// This message is returned by the +// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] method in the returned +// [google.longrunning.Operation.response][google.longrunning.Operation.response] field. +type ImportProductSetsResponse struct { + // The list of reference_images that are imported successfully. + ReferenceImages []*ReferenceImage `protobuf:"bytes,1,rep,name=reference_images,json=referenceImages,proto3" json:"reference_images,omitempty"` + // The rpc status for each ImportProductSet request, including both successes + // and errors. + // + // The number of statuses here matches the number of lines in the csv file, + // and statuses[i] stores the success or failure status of processing the i-th + // line of the csv, starting from line 0. + Statuses []*status.Status `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportProductSetsResponse) Reset() { *m = ImportProductSetsResponse{} } +func (m *ImportProductSetsResponse) String() string { return proto.CompactTextString(m) } +func (*ImportProductSetsResponse) ProtoMessage() {} +func (*ImportProductSetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{27} +} +func (m *ImportProductSetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportProductSetsResponse.Unmarshal(m, b) +} +func (m *ImportProductSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportProductSetsResponse.Marshal(b, m, deterministic) +} +func (dst *ImportProductSetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportProductSetsResponse.Merge(dst, src) +} +func (m *ImportProductSetsResponse) XXX_Size() int { + return xxx_messageInfo_ImportProductSetsResponse.Size(m) +} +func (m *ImportProductSetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ImportProductSetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportProductSetsResponse proto.InternalMessageInfo + +func (m *ImportProductSetsResponse) GetReferenceImages() []*ReferenceImage { + if m != nil { + return m.ReferenceImages + } + return nil +} + +func (m *ImportProductSetsResponse) GetStatuses() []*status.Status { + if m != nil { + return m.Statuses + } + return nil +} + +// Metadata for the batch operations such as the current state. +// +// This is included in the `metadata` field of the `Operation` returned by the +// `GetOperation` call of the `google::longrunning::Operations` service. +type BatchOperationMetadata struct { + // The current state of the batch operation. + State BatchOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1.BatchOperationMetadata_State" json:"state,omitempty"` + // The time when the batch request was submitted to the server. + SubmitTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` + // The time when the batch request is finished and + // [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true. + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchOperationMetadata) Reset() { *m = BatchOperationMetadata{} } +func (m *BatchOperationMetadata) String() string { return proto.CompactTextString(m) } +func (*BatchOperationMetadata) ProtoMessage() {} +func (*BatchOperationMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_product_search_service_0f94656ab405e520, []int{28} +} +func (m *BatchOperationMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchOperationMetadata.Unmarshal(m, b) +} +func (m *BatchOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchOperationMetadata.Marshal(b, m, deterministic) +} +func (dst *BatchOperationMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchOperationMetadata.Merge(dst, src) +} +func (m *BatchOperationMetadata) XXX_Size() int { + return xxx_messageInfo_BatchOperationMetadata.Size(m) +} +func (m *BatchOperationMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_BatchOperationMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchOperationMetadata proto.InternalMessageInfo + +func (m *BatchOperationMetadata) GetState() BatchOperationMetadata_State { + if m != nil { + return m.State + } + return BatchOperationMetadata_STATE_UNSPECIFIED +} + +func (m *BatchOperationMetadata) GetSubmitTime() *timestamp.Timestamp { + if m != nil { + return m.SubmitTime + } + return nil +} + +func (m *BatchOperationMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func init() { + proto.RegisterType((*Product)(nil), "google.cloud.vision.v1.Product") + proto.RegisterType((*Product_KeyValue)(nil), "google.cloud.vision.v1.Product.KeyValue") + proto.RegisterType((*ProductSet)(nil), "google.cloud.vision.v1.ProductSet") + proto.RegisterType((*ReferenceImage)(nil), "google.cloud.vision.v1.ReferenceImage") + proto.RegisterType((*CreateProductRequest)(nil), "google.cloud.vision.v1.CreateProductRequest") + proto.RegisterType((*ListProductsRequest)(nil), "google.cloud.vision.v1.ListProductsRequest") + proto.RegisterType((*ListProductsResponse)(nil), "google.cloud.vision.v1.ListProductsResponse") + proto.RegisterType((*GetProductRequest)(nil), "google.cloud.vision.v1.GetProductRequest") + proto.RegisterType((*UpdateProductRequest)(nil), "google.cloud.vision.v1.UpdateProductRequest") + proto.RegisterType((*DeleteProductRequest)(nil), "google.cloud.vision.v1.DeleteProductRequest") + proto.RegisterType((*CreateProductSetRequest)(nil), "google.cloud.vision.v1.CreateProductSetRequest") + proto.RegisterType((*ListProductSetsRequest)(nil), "google.cloud.vision.v1.ListProductSetsRequest") + proto.RegisterType((*ListProductSetsResponse)(nil), "google.cloud.vision.v1.ListProductSetsResponse") + proto.RegisterType((*GetProductSetRequest)(nil), "google.cloud.vision.v1.GetProductSetRequest") + proto.RegisterType((*UpdateProductSetRequest)(nil), "google.cloud.vision.v1.UpdateProductSetRequest") + proto.RegisterType((*DeleteProductSetRequest)(nil), "google.cloud.vision.v1.DeleteProductSetRequest") + proto.RegisterType((*CreateReferenceImageRequest)(nil), "google.cloud.vision.v1.CreateReferenceImageRequest") + proto.RegisterType((*ListReferenceImagesRequest)(nil), "google.cloud.vision.v1.ListReferenceImagesRequest") + proto.RegisterType((*ListReferenceImagesResponse)(nil), "google.cloud.vision.v1.ListReferenceImagesResponse") + proto.RegisterType((*GetReferenceImageRequest)(nil), "google.cloud.vision.v1.GetReferenceImageRequest") + proto.RegisterType((*DeleteReferenceImageRequest)(nil), "google.cloud.vision.v1.DeleteReferenceImageRequest") + proto.RegisterType((*AddProductToProductSetRequest)(nil), "google.cloud.vision.v1.AddProductToProductSetRequest") + proto.RegisterType((*RemoveProductFromProductSetRequest)(nil), "google.cloud.vision.v1.RemoveProductFromProductSetRequest") + proto.RegisterType((*ListProductsInProductSetRequest)(nil), "google.cloud.vision.v1.ListProductsInProductSetRequest") + proto.RegisterType((*ListProductsInProductSetResponse)(nil), "google.cloud.vision.v1.ListProductsInProductSetResponse") + proto.RegisterType((*ImportProductSetsGcsSource)(nil), "google.cloud.vision.v1.ImportProductSetsGcsSource") + proto.RegisterType((*ImportProductSetsInputConfig)(nil), "google.cloud.vision.v1.ImportProductSetsInputConfig") + proto.RegisterType((*ImportProductSetsRequest)(nil), "google.cloud.vision.v1.ImportProductSetsRequest") + proto.RegisterType((*ImportProductSetsResponse)(nil), "google.cloud.vision.v1.ImportProductSetsResponse") + proto.RegisterType((*BatchOperationMetadata)(nil), "google.cloud.vision.v1.BatchOperationMetadata") + proto.RegisterEnum("google.cloud.vision.v1.BatchOperationMetadata_State", BatchOperationMetadata_State_name, BatchOperationMetadata_State_value) +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ProductSearchClient is the client API for ProductSearch service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ProductSearchClient interface { + // Creates and returns a new ProductSet resource. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if display_name is missing, or is longer than + // 4096 characters. + CreateProductSet(ctx context.Context, in *CreateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) + // Lists ProductSets in an unspecified order. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if page_size is greater than 100, or less + // than 1. + ListProductSets(ctx context.Context, in *ListProductSetsRequest, opts ...grpc.CallOption) (*ListProductSetsResponse, error) + // Gets information associated with a ProductSet. + // + // Possible errors: + // + // * Returns NOT_FOUND if the ProductSet does not exist. + GetProductSet(ctx context.Context, in *GetProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) + // Makes changes to a ProductSet resource. + // Only display_name can be updated currently. + // + // Possible errors: + // + // * Returns NOT_FOUND if the ProductSet does not exist. + // * Returns INVALID_ARGUMENT if display_name is present in update_mask but + // missing from the request or longer than 4096 characters. + UpdateProductSet(ctx context.Context, in *UpdateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) + // Permanently deletes a ProductSet. Products and ReferenceImages in the + // ProductSet are not deleted. + // + // The actual image files are not deleted from Google Cloud Storage. + // + // Possible errors: + // + // * Returns NOT_FOUND if the ProductSet does not exist. + DeleteProductSet(ctx context.Context, in *DeleteProductSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Creates and returns a new product resource. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 + // characters. + // * Returns INVALID_ARGUMENT if description is longer than 4096 characters. + // * Returns INVALID_ARGUMENT if product_category is missing or invalid. + CreateProduct(ctx context.Context, in *CreateProductRequest, opts ...grpc.CallOption) (*Product, error) + // Lists products in an unspecified order. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. + ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) + // Gets information associated with a Product. + // + // Possible errors: + // + // * Returns NOT_FOUND if the Product does not exist. + GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*Product, error) + // Makes changes to a Product resource. + // Only the `display_name`, `description`, and `labels` fields can be updated + // right now. + // + // If labels are updated, the change will not be reflected in queries until + // the next index time. + // + // Possible errors: + // + // * Returns NOT_FOUND if the Product does not exist. + // * Returns INVALID_ARGUMENT if display_name is present in update_mask but is + // missing from the request or longer than 4096 characters. + // * Returns INVALID_ARGUMENT if description is present in update_mask but is + // longer than 4096 characters. + // * Returns INVALID_ARGUMENT if product_category is present in update_mask. + UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*Product, error) + // Permanently deletes a product and its reference images. + // + // Metadata of the product and all its images will be deleted right away, but + // search queries against ProductSets containing the product may still work + // until all related caches are refreshed. + // + // Possible errors: + // + // * Returns NOT_FOUND if the product does not exist. + DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Creates and returns a new ReferenceImage resource. + // + // The `bounding_poly` field is optional. If `bounding_poly` is not specified, + // the system will try to detect regions of interest in the image that are + // compatible with the product_category on the parent product. If it is + // specified, detection is ALWAYS skipped. The system converts polygons into + // non-rotated rectangles. + // + // Note that the pipeline will resize the image if the image resolution is too + // large to process (above 50MP). + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 + // characters. + // * Returns INVALID_ARGUMENT if the product does not exist. + // * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing + // compatible with the parent product's product_category is detected. + // * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. + CreateReferenceImage(ctx context.Context, in *CreateReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error) + // Permanently deletes a reference image. + // + // The image metadata will be deleted right away, but search queries + // against ProductSets containing the image may still work until all related + // caches are refreshed. + // + // The actual image files are not deleted from Google Cloud Storage. + // + // Possible errors: + // + // * Returns NOT_FOUND if the reference image does not exist. + DeleteReferenceImage(ctx context.Context, in *DeleteReferenceImageRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Lists reference images. + // + // Possible errors: + // + // * Returns NOT_FOUND if the parent product does not exist. + // * Returns INVALID_ARGUMENT if the page_size is greater than 100, or less + // than 1. + ListReferenceImages(ctx context.Context, in *ListReferenceImagesRequest, opts ...grpc.CallOption) (*ListReferenceImagesResponse, error) + // Gets information associated with a ReferenceImage. + // + // Possible errors: + // + // * Returns NOT_FOUND if the specified image does not exist. + GetReferenceImage(ctx context.Context, in *GetReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error) + // Adds a Product to the specified ProductSet. If the Product is already + // present, no change is made. + // + // One Product can be added to at most 100 ProductSets. + // + // Possible errors: + // + // * Returns NOT_FOUND if the Product or the ProductSet doesn't exist. + AddProductToProductSet(ctx context.Context, in *AddProductToProductSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Removes a Product from the specified ProductSet. + // + // Possible errors: + // + // * Returns NOT_FOUND If the Product is not found under the ProductSet. + RemoveProductFromProductSet(ctx context.Context, in *RemoveProductFromProductSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Lists the Products in a ProductSet, in an unspecified order. If the + // ProductSet does not exist, the products field of the response will be + // empty. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. + ListProductsInProductSet(ctx context.Context, in *ListProductsInProductSetRequest, opts ...grpc.CallOption) (*ListProductsInProductSetResponse, error) + // Asynchronous API that imports a list of reference images to specified + // product sets based on a list of image information. + // + // The [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep track of the + // progress and results of the request. + // `Operation.metadata` contains `BatchOperationMetadata`. (progress) + // `Operation.response` contains `ImportProductSetsResponse`. (results) + // + // The input source of this method is a csv file on Google Cloud Storage. + // For the format of the csv file please see + // [ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri]. + ImportProductSets(ctx context.Context, in *ImportProductSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) +} + +type productSearchClient struct { + cc *grpc.ClientConn +} + +func NewProductSearchClient(cc *grpc.ClientConn) ProductSearchClient { + return &productSearchClient{cc} +} + +func (c *productSearchClient) CreateProductSet(ctx context.Context, in *CreateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) { + out := new(ProductSet) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/CreateProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) ListProductSets(ctx context.Context, in *ListProductSetsRequest, opts ...grpc.CallOption) (*ListProductSetsResponse, error) { + out := new(ListProductSetsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListProductSets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) GetProductSet(ctx context.Context, in *GetProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) { + out := new(ProductSet) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/GetProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) UpdateProductSet(ctx context.Context, in *UpdateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) { + out := new(ProductSet) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/UpdateProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) DeleteProductSet(ctx context.Context, in *DeleteProductSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/DeleteProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) CreateProduct(ctx context.Context, in *CreateProductRequest, opts ...grpc.CallOption) (*Product, error) { + out := new(Product) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/CreateProduct", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) { + out := new(ListProductsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListProducts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*Product, error) { + out := new(Product) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/GetProduct", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*Product, error) { + out := new(Product) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/UpdateProduct", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/DeleteProduct", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) CreateReferenceImage(ctx context.Context, in *CreateReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error) { + out := new(ReferenceImage) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/CreateReferenceImage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) DeleteReferenceImage(ctx context.Context, in *DeleteReferenceImageRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/DeleteReferenceImage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) ListReferenceImages(ctx context.Context, in *ListReferenceImagesRequest, opts ...grpc.CallOption) (*ListReferenceImagesResponse, error) { + out := new(ListReferenceImagesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListReferenceImages", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) GetReferenceImage(ctx context.Context, in *GetReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error) { + out := new(ReferenceImage) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/GetReferenceImage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) AddProductToProductSet(ctx context.Context, in *AddProductToProductSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/AddProductToProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) RemoveProductFromProductSet(ctx context.Context, in *RemoveProductFromProductSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/RemoveProductFromProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) ListProductsInProductSet(ctx context.Context, in *ListProductsInProductSetRequest, opts ...grpc.CallOption) (*ListProductsInProductSetResponse, error) { + out := new(ListProductsInProductSetResponse) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListProductsInProductSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *productSearchClient) ImportProductSets(ctx context.Context, in *ImportProductSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ImportProductSets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ProductSearchServer is the server API for ProductSearch service. +type ProductSearchServer interface { + // Creates and returns a new ProductSet resource. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if display_name is missing, or is longer than + // 4096 characters. + CreateProductSet(context.Context, *CreateProductSetRequest) (*ProductSet, error) + // Lists ProductSets in an unspecified order. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if page_size is greater than 100, or less + // than 1. + ListProductSets(context.Context, *ListProductSetsRequest) (*ListProductSetsResponse, error) + // Gets information associated with a ProductSet. + // + // Possible errors: + // + // * Returns NOT_FOUND if the ProductSet does not exist. + GetProductSet(context.Context, *GetProductSetRequest) (*ProductSet, error) + // Makes changes to a ProductSet resource. + // Only display_name can be updated currently. + // + // Possible errors: + // + // * Returns NOT_FOUND if the ProductSet does not exist. + // * Returns INVALID_ARGUMENT if display_name is present in update_mask but + // missing from the request or longer than 4096 characters. + UpdateProductSet(context.Context, *UpdateProductSetRequest) (*ProductSet, error) + // Permanently deletes a ProductSet. Products and ReferenceImages in the + // ProductSet are not deleted. + // + // The actual image files are not deleted from Google Cloud Storage. + // + // Possible errors: + // + // * Returns NOT_FOUND if the ProductSet does not exist. + DeleteProductSet(context.Context, *DeleteProductSetRequest) (*empty.Empty, error) + // Creates and returns a new product resource. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 + // characters. + // * Returns INVALID_ARGUMENT if description is longer than 4096 characters. + // * Returns INVALID_ARGUMENT if product_category is missing or invalid. + CreateProduct(context.Context, *CreateProductRequest) (*Product, error) + // Lists products in an unspecified order. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. + ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error) + // Gets information associated with a Product. + // + // Possible errors: + // + // * Returns NOT_FOUND if the Product does not exist. + GetProduct(context.Context, *GetProductRequest) (*Product, error) + // Makes changes to a Product resource. + // Only the `display_name`, `description`, and `labels` fields can be updated + // right now. + // + // If labels are updated, the change will not be reflected in queries until + // the next index time. + // + // Possible errors: + // + // * Returns NOT_FOUND if the Product does not exist. + // * Returns INVALID_ARGUMENT if display_name is present in update_mask but is + // missing from the request or longer than 4096 characters. + // * Returns INVALID_ARGUMENT if description is present in update_mask but is + // longer than 4096 characters. + // * Returns INVALID_ARGUMENT if product_category is present in update_mask. + UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error) + // Permanently deletes a product and its reference images. + // + // Metadata of the product and all its images will be deleted right away, but + // search queries against ProductSets containing the product may still work + // until all related caches are refreshed. + // + // Possible errors: + // + // * Returns NOT_FOUND if the product does not exist. + DeleteProduct(context.Context, *DeleteProductRequest) (*empty.Empty, error) + // Creates and returns a new ReferenceImage resource. + // + // The `bounding_poly` field is optional. If `bounding_poly` is not specified, + // the system will try to detect regions of interest in the image that are + // compatible with the product_category on the parent product. If it is + // specified, detection is ALWAYS skipped. The system converts polygons into + // non-rotated rectangles. + // + // Note that the pipeline will resize the image if the image resolution is too + // large to process (above 50MP). + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 + // characters. + // * Returns INVALID_ARGUMENT if the product does not exist. + // * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing + // compatible with the parent product's product_category is detected. + // * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. + CreateReferenceImage(context.Context, *CreateReferenceImageRequest) (*ReferenceImage, error) + // Permanently deletes a reference image. + // + // The image metadata will be deleted right away, but search queries + // against ProductSets containing the image may still work until all related + // caches are refreshed. + // + // The actual image files are not deleted from Google Cloud Storage. + // + // Possible errors: + // + // * Returns NOT_FOUND if the reference image does not exist. + DeleteReferenceImage(context.Context, *DeleteReferenceImageRequest) (*empty.Empty, error) + // Lists reference images. + // + // Possible errors: + // + // * Returns NOT_FOUND if the parent product does not exist. + // * Returns INVALID_ARGUMENT if the page_size is greater than 100, or less + // than 1. + ListReferenceImages(context.Context, *ListReferenceImagesRequest) (*ListReferenceImagesResponse, error) + // Gets information associated with a ReferenceImage. + // + // Possible errors: + // + // * Returns NOT_FOUND if the specified image does not exist. + GetReferenceImage(context.Context, *GetReferenceImageRequest) (*ReferenceImage, error) + // Adds a Product to the specified ProductSet. If the Product is already + // present, no change is made. + // + // One Product can be added to at most 100 ProductSets. + // + // Possible errors: + // + // * Returns NOT_FOUND if the Product or the ProductSet doesn't exist. + AddProductToProductSet(context.Context, *AddProductToProductSetRequest) (*empty.Empty, error) + // Removes a Product from the specified ProductSet. + // + // Possible errors: + // + // * Returns NOT_FOUND If the Product is not found under the ProductSet. + RemoveProductFromProductSet(context.Context, *RemoveProductFromProductSetRequest) (*empty.Empty, error) + // Lists the Products in a ProductSet, in an unspecified order. If the + // ProductSet does not exist, the products field of the response will be + // empty. + // + // Possible errors: + // + // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. + ListProductsInProductSet(context.Context, *ListProductsInProductSetRequest) (*ListProductsInProductSetResponse, error) + // Asynchronous API that imports a list of reference images to specified + // product sets based on a list of image information. + // + // The [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep track of the + // progress and results of the request. + // `Operation.metadata` contains `BatchOperationMetadata`. (progress) + // `Operation.response` contains `ImportProductSetsResponse`. (results) + // + // The input source of this method is a csv file on Google Cloud Storage. + // For the format of the csv file please see + // [ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri]. + ImportProductSets(context.Context, *ImportProductSetsRequest) (*longrunning.Operation, error) +} + +func RegisterProductSearchServer(s *grpc.Server, srv ProductSearchServer) { + s.RegisterService(&_ProductSearch_serviceDesc, srv) +} + +func _ProductSearch_CreateProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).CreateProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/CreateProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).CreateProductSet(ctx, req.(*CreateProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_ListProductSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListProductSetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).ListProductSets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/ListProductSets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).ListProductSets(ctx, req.(*ListProductSetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_GetProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).GetProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/GetProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).GetProductSet(ctx, req.(*GetProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_UpdateProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).UpdateProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/UpdateProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).UpdateProductSet(ctx, req.(*UpdateProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_DeleteProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).DeleteProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/DeleteProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).DeleteProductSet(ctx, req.(*DeleteProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_CreateProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateProductRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).CreateProduct(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/CreateProduct", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).CreateProduct(ctx, req.(*CreateProductRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_ListProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListProductsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).ListProducts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/ListProducts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).ListProducts(ctx, req.(*ListProductsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_GetProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetProductRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).GetProduct(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/GetProduct", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).GetProduct(ctx, req.(*GetProductRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_UpdateProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateProductRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).UpdateProduct(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/UpdateProduct", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).UpdateProduct(ctx, req.(*UpdateProductRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_DeleteProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteProductRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).DeleteProduct(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/DeleteProduct", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).DeleteProduct(ctx, req.(*DeleteProductRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_CreateReferenceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateReferenceImageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).CreateReferenceImage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/CreateReferenceImage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).CreateReferenceImage(ctx, req.(*CreateReferenceImageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_DeleteReferenceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteReferenceImageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).DeleteReferenceImage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/DeleteReferenceImage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).DeleteReferenceImage(ctx, req.(*DeleteReferenceImageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_ListReferenceImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListReferenceImagesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).ListReferenceImages(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/ListReferenceImages", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).ListReferenceImages(ctx, req.(*ListReferenceImagesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_GetReferenceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReferenceImageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).GetReferenceImage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/GetReferenceImage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).GetReferenceImage(ctx, req.(*GetReferenceImageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_AddProductToProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddProductToProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).AddProductToProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/AddProductToProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).AddProductToProductSet(ctx, req.(*AddProductToProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_RemoveProductFromProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveProductFromProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).RemoveProductFromProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/RemoveProductFromProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).RemoveProductFromProductSet(ctx, req.(*RemoveProductFromProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_ListProductsInProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListProductsInProductSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).ListProductsInProductSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/ListProductsInProductSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).ListProductsInProductSet(ctx, req.(*ListProductsInProductSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProductSearch_ImportProductSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ImportProductSetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProductSearchServer).ImportProductSets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.vision.v1.ProductSearch/ImportProductSets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProductSearchServer).ImportProductSets(ctx, req.(*ImportProductSetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ProductSearch_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.vision.v1.ProductSearch", + HandlerType: (*ProductSearchServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateProductSet", + Handler: _ProductSearch_CreateProductSet_Handler, + }, + { + MethodName: "ListProductSets", + Handler: _ProductSearch_ListProductSets_Handler, + }, + { + MethodName: "GetProductSet", + Handler: _ProductSearch_GetProductSet_Handler, + }, + { + MethodName: "UpdateProductSet", + Handler: _ProductSearch_UpdateProductSet_Handler, + }, + { + MethodName: "DeleteProductSet", + Handler: _ProductSearch_DeleteProductSet_Handler, + }, + { + MethodName: "CreateProduct", + Handler: _ProductSearch_CreateProduct_Handler, + }, + { + MethodName: "ListProducts", + Handler: _ProductSearch_ListProducts_Handler, + }, + { + MethodName: "GetProduct", + Handler: _ProductSearch_GetProduct_Handler, + }, + { + MethodName: "UpdateProduct", + Handler: _ProductSearch_UpdateProduct_Handler, + }, + { + MethodName: "DeleteProduct", + Handler: _ProductSearch_DeleteProduct_Handler, + }, + { + MethodName: "CreateReferenceImage", + Handler: _ProductSearch_CreateReferenceImage_Handler, + }, + { + MethodName: "DeleteReferenceImage", + Handler: _ProductSearch_DeleteReferenceImage_Handler, + }, + { + MethodName: "ListReferenceImages", + Handler: _ProductSearch_ListReferenceImages_Handler, + }, + { + MethodName: "GetReferenceImage", + Handler: _ProductSearch_GetReferenceImage_Handler, + }, + { + MethodName: "AddProductToProductSet", + Handler: _ProductSearch_AddProductToProductSet_Handler, + }, + { + MethodName: "RemoveProductFromProductSet", + Handler: _ProductSearch_RemoveProductFromProductSet_Handler, + }, + { + MethodName: "ListProductsInProductSet", + Handler: _ProductSearch_ListProductsInProductSet_Handler, + }, + { + MethodName: "ImportProductSets", + Handler: _ProductSearch_ImportProductSets_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/vision/v1/product_search_service.proto", +} + +func init() { + proto.RegisterFile("google/cloud/vision/v1/product_search_service.proto", fileDescriptor_product_search_service_0f94656ab405e520) +} + +var fileDescriptor_product_search_service_0f94656ab405e520 = []byte{ + // 1853 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4f, 0x73, 0xdb, 0xc6, + 0x15, 0xcf, 0x4a, 0x96, 0x2d, 0x3d, 0x8a, 0x12, 0xbd, 0x55, 0x25, 0x86, 0x8a, 0xc7, 0x2a, 0x9a, + 0xa6, 0x0e, 0xeb, 0x02, 0x35, 0xe5, 0xd4, 0x09, 0x55, 0xbb, 0x91, 0x68, 0x4a, 0x61, 0x22, 0xcb, + 0x0a, 0x28, 0x25, 0xd3, 0x5e, 0x38, 0x10, 0xb0, 0x42, 0x50, 0x81, 0x00, 0x82, 0x05, 0x35, 0x51, + 0x32, 0x3e, 0xb4, 0x3d, 0x34, 0x33, 0x99, 0xc9, 0xa1, 0xed, 0xa9, 0x7f, 0x67, 0x3a, 0xd3, 0xe9, + 0xa1, 0xd3, 0x5e, 0xd2, 0x1c, 0x3a, 0xbd, 0xf7, 0xd4, 0x19, 0x1f, 0xfa, 0x15, 0xfa, 0x21, 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1e, 0xda, 0x4c, 0x4a, 0xfa, 0x29, + 0x82, 0x05, 0x95, 0x1c, 0x13, 0x9f, 0x38, 0x3a, 0xe9, 0xf4, 0x35, 0x93, 0x64, 0x22, 0xaf, 0xc0, + 0xf4, 0xc0, 0xb7, 0x04, 0x60, 0xf6, 0x88, 0xdf, 0x81, 0x85, 0x23, 0x77, 0xe0, 0x18, 0x96, 0x63, + 0xf6, 0x3c, 0xd7, 0x3e, 0xa3, 0xd5, 0x69, 0x9e, 0xf3, 0x97, 0xf3, 0x72, 0xbe, 0x25, 0xa4, 0xf7, + 0x5d, 0xfb, 0x4c, 0x2d, 0x1f, 0xc5, 0x56, 0x54, 0xfa, 0x14, 0xc1, 0x52, 0xcb, 0x27, 0x5a, 0x40, + 0x44, 0x06, 0x55, 0xf2, 0xe1, 0x80, 0xd0, 0x00, 0x2f, 0xc3, 0x55, 0x4f, 0xf3, 0x89, 0x13, 0x08, + 0x34, 0x62, 0x85, 0xdf, 0x80, 0x6b, 0xa2, 0x62, 0x1c, 0x53, 0xa9, 0x71, 0x73, 0x4c, 0xa9, 0xd5, + 0x48, 0x1e, 0xdf, 0x00, 0x88, 0xc8, 0x62, 0x19, 0x82, 0x78, 0x73, 0xe2, 0x4d, 0xc7, 0x90, 0x2c, + 0xf8, 0xca, 0xae, 0x45, 0x03, 0xa1, 0x46, 0xc7, 0x01, 0x59, 0x85, 0x39, 0x4f, 0x33, 0x49, 0x8f, + 0x5a, 0x1f, 0x87, 0xf5, 0x9c, 0x51, 0x67, 0xd9, 0x8b, 0xae, 0xf5, 0x31, 0xe1, 0xae, 0xd8, 0xc7, + 0xc0, 0x3d, 0x21, 0xce, 0xd0, 0x95, 0x66, 0x92, 0x03, 0xf6, 0x42, 0xfa, 0x04, 0x96, 0x92, 0xae, + 0xa8, 0xe7, 0x3a, 0x94, 0xe0, 0x0d, 0x98, 0x15, 0x78, 0x68, 0x15, 0xf1, 0xa4, 0x8e, 0x8d, 0x6e, + 0xa8, 0x80, 0x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 0x23, 0x1b, 0xdd, 0x82, 0x7f, 0x42, 0x70, 0xfd, 0xdc, 0xf8, 0x95, + 0x4f, 0xfc, 0xbc, 0xb9, 0xb1, 0x76, 0x23, 0xd2, 0x88, 0xfd, 0xa3, 0x25, 0x0f, 0x47, 0x1e, 0x69, + 0x93, 0x03, 0xdd, 0x90, 0xbe, 0x3b, 0x69, 0x4b, 0x6e, 0x71, 0x87, 0x4d, 0x54, 0xdf, 0xfa, 0x31, + 0x82, 0x9a, 0xee, 0xf6, 0x73, 0x90, 0x6d, 0xbd, 0x98, 0x98, 0x36, 0xba, 0xe1, 0x5f, 0x79, 0xfb, + 0x8c, 0x08, 0xfb, 0xe8, 0x87, 0xdf, 0x13, 0x4a, 0xa6, 0x6b, 0x6b, 0x8e, 0x29, 0xbb, 0xbe, 0xa9, + 0x98, 0xc4, 0xe1, 0x34, 0x51, 0xc2, 0x4f, 0x9a, 0x67, 0xd1, 0xf4, 0x9f, 0x76, 0x1b, 0xe1, 0xd3, + 0x7f, 0x11, 0xfa, 0xc3, 0xd4, 0x95, 0x9d, 0xd6, 0x7b, 0x7b, 0x47, 0x57, 0xb9, 0xca, 0xfa, 0xff, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xa2, 0x18, 0x20, 0x51, 0x1c, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go index 457b369b7..2d4e5de03 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go @@ -59,7 +59,7 @@ func (x TextAnnotation_DetectedBreak_BreakType) String() string { return proto.EnumName(TextAnnotation_DetectedBreak_BreakType_name, int32(x)) } func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{0, 1, 0} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{0, 1, 0} } // Type of a block (text, image etc) as identified by OCR. @@ -101,7 +101,7 @@ func (x Block_BlockType) String() string { return proto.EnumName(Block_BlockType_name, int32(x)) } func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{2, 0} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{2, 0} } // TextAnnotation contains a structured representation of OCR extracted text. @@ -125,7 +125,7 @@ func (m *TextAnnotation) Reset() { *m = TextAnnotation{} } func (m *TextAnnotation) String() string { return proto.CompactTextString(m) } func (*TextAnnotation) ProtoMessage() {} func (*TextAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{0} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{0} } func (m *TextAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation.Unmarshal(m, b) @@ -176,7 +176,7 @@ func (m *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_ func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{0, 0} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{0, 0} } func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) @@ -225,7 +225,7 @@ func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_Det func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedBreak) ProtoMessage() {} func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{0, 1} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{0, 1} } func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_Text func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_TextProperty) ProtoMessage() {} func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{0, 2} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{0, 2} } func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) @@ -331,7 +331,7 @@ func (m *Page) Reset() { *m = Page{} } func (m *Page) String() string { return proto.CompactTextString(m) } func (*Page) ProtoMessage() {} func (*Page) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{1} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{1} } func (m *Page) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Page.Unmarshal(m, b) @@ -409,7 +409,7 @@ type Block struct { // | | // 1----0 // - // and the vertice order will still be (0, 1, 2, 3). + // and the vertex order will still be (0, 1, 2, 3). BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // List of paragraphs in this block (if this blocks is of type text). Paragraphs []*Paragraph `protobuf:"bytes,3,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"` @@ -426,7 +426,7 @@ func (m *Block) Reset() { *m = Block{} } func (m *Block) String() string { return proto.CompactTextString(m) } func (*Block) ProtoMessage() {} func (*Block) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{2} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{2} } func (m *Block) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Block.Unmarshal(m, b) @@ -499,7 +499,7 @@ type Paragraph struct { // 2----3 // | | // 1----0 - // and the vertice order will still be (0, 1, 2, 3). + // and the vertex order will still be (0, 1, 2, 3). BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // List of words in this paragraph. Words []*Word `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` @@ -514,7 +514,7 @@ func (m *Paragraph) Reset() { *m = Paragraph{} } func (m *Paragraph) String() string { return proto.CompactTextString(m) } func (*Paragraph) ProtoMessage() {} func (*Paragraph) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{3} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{3} } func (m *Paragraph) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Paragraph.Unmarshal(m, b) @@ -580,7 +580,7 @@ type Word struct { // 2----3 // | | // 1----0 - // and the vertice order will still be (0, 1, 2, 3). + // and the vertex order will still be (0, 1, 2, 3). BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // List of symbols in the word. // The order of the symbols follows the natural reading order. @@ -596,7 +596,7 @@ func (m *Word) Reset() { *m = Word{} } func (m *Word) String() string { return proto.CompactTextString(m) } func (*Word) ProtoMessage() {} func (*Word) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{4} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{4} } func (m *Word) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Word.Unmarshal(m, b) @@ -677,7 +677,7 @@ func (m *Symbol) Reset() { *m = Symbol{} } func (m *Symbol) String() string { return proto.CompactTextString(m) } func (*Symbol) ProtoMessage() {} func (*Symbol) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_80dbf5518322be1d, []int{5} + return fileDescriptor_text_annotation_3bf7848435d00cc6, []int{5} } func (m *Symbol) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Symbol.Unmarshal(m, b) @@ -740,10 +740,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1/text_annotation.proto", fileDescriptor_text_annotation_80dbf5518322be1d) + proto.RegisterFile("google/cloud/vision/v1/text_annotation.proto", fileDescriptor_text_annotation_3bf7848435d00cc6) } -var fileDescriptor_text_annotation_80dbf5518322be1d = []byte{ +var fileDescriptor_text_annotation_3bf7848435d00cc6 = []byte{ // 774 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcf, 0x6f, 0xd3, 0x58, 0x10, 0x5e, 0x27, 0x76, 0x1a, 0x4f, 0xda, 0xc8, 0xfb, 0x76, 0x55, 0x45, 0xd9, 0x6e, 0xd5, 0xcd, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go index ce4eaef98..7527a53a1 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go @@ -34,7 +34,8 @@ type WebDetection struct { PagesWithMatchingImages []*WebDetection_WebPage `protobuf:"bytes,4,rep,name=pages_with_matching_images,json=pagesWithMatchingImages,proto3" json:"pages_with_matching_images,omitempty"` // The visually similar image results. VisuallySimilarImages []*WebDetection_WebImage `protobuf:"bytes,6,rep,name=visually_similar_images,json=visuallySimilarImages,proto3" json:"visually_similar_images,omitempty"` - // Best guess text labels for the request image. + // The service's best guess as to the topic of the request image. + // Inferred from similar images on the open web. BestGuessLabels []*WebDetection_WebLabel `protobuf:"bytes,8,rep,name=best_guess_labels,json=bestGuessLabels,proto3" json:"best_guess_labels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -45,7 +46,7 @@ func (m *WebDetection) Reset() { *m = WebDetection{} } func (m *WebDetection) String() string { return proto.CompactTextString(m) } func (*WebDetection) ProtoMessage() {} func (*WebDetection) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_7a96d879901fa424, []int{0} + return fileDescriptor_web_detection_dedc4c65ef68a35a, []int{0} } func (m *WebDetection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection.Unmarshal(m, b) @@ -125,7 +126,7 @@ func (m *WebDetection_WebEntity) Reset() { *m = WebDetection_WebEntity{} func (m *WebDetection_WebEntity) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebEntity) ProtoMessage() {} func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_7a96d879901fa424, []int{0, 0} + return fileDescriptor_web_detection_dedc4c65ef68a35a, []int{0, 0} } func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) @@ -181,7 +182,7 @@ func (m *WebDetection_WebImage) Reset() { *m = WebDetection_WebImage{} } func (m *WebDetection_WebImage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebImage) ProtoMessage() {} func (*WebDetection_WebImage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_7a96d879901fa424, []int{0, 1} + return fileDescriptor_web_detection_dedc4c65ef68a35a, []int{0, 1} } func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) @@ -240,7 +241,7 @@ func (m *WebDetection_WebPage) Reset() { *m = WebDetection_WebPage{} } func (m *WebDetection_WebPage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebPage) ProtoMessage() {} func (*WebDetection_WebPage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_7a96d879901fa424, []int{0, 2} + return fileDescriptor_web_detection_dedc4c65ef68a35a, []int{0, 2} } func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) @@ -312,7 +313,7 @@ func (m *WebDetection_WebLabel) Reset() { *m = WebDetection_WebLabel{} } func (m *WebDetection_WebLabel) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebLabel) ProtoMessage() {} func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_7a96d879901fa424, []int{0, 3} + return fileDescriptor_web_detection_dedc4c65ef68a35a, []int{0, 3} } func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) @@ -355,10 +356,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1/web_detection.proto", fileDescriptor_web_detection_7a96d879901fa424) + proto.RegisterFile("google/cloud/vision/v1/web_detection.proto", fileDescriptor_web_detection_dedc4c65ef68a35a) } -var fileDescriptor_web_detection_7a96d879901fa424 = []byte{ +var fileDescriptor_web_detection_dedc4c65ef68a35a = []byte{ // 512 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x51, 0x6f, 0xd3, 0x30, 0x10, 0xc7, 0x95, 0xb6, 0x1b, 0xad, 0x5b, 0x04, 0xb3, 0x06, 0x8b, 0x02, 0x48, 0x15, 0xbc, 0x54, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/geometry.pb.go index ec0453117..775ad1c8f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/geometry.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/geometry.pb.go @@ -34,7 +34,7 @@ func (m *Vertex) Reset() { *m = Vertex{} } func (m *Vertex) String() string { return proto.CompactTextString(m) } func (*Vertex) ProtoMessage() {} func (*Vertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_b76d8833593e6398, []int{0} + return fileDescriptor_geometry_9a7190aad6b30813, []int{0} } func (m *Vertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Vertex.Unmarshal(m, b) @@ -81,7 +81,7 @@ func (m *BoundingPoly) Reset() { *m = BoundingPoly{} } func (m *BoundingPoly) String() string { return proto.CompactTextString(m) } func (*BoundingPoly) ProtoMessage() {} func (*BoundingPoly) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_b76d8833593e6398, []int{1} + return fileDescriptor_geometry_9a7190aad6b30813, []int{1} } func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) @@ -127,7 +127,7 @@ func (m *Position) Reset() { *m = Position{} } func (m *Position) String() string { return proto.CompactTextString(m) } func (*Position) ProtoMessage() {} func (*Position) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_b76d8833593e6398, []int{2} + return fileDescriptor_geometry_9a7190aad6b30813, []int{2} } func (m *Position) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Position.Unmarshal(m, b) @@ -175,10 +175,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/geometry.proto", fileDescriptor_geometry_b76d8833593e6398) + proto.RegisterFile("google/cloud/vision/v1p1beta1/geometry.proto", fileDescriptor_geometry_9a7190aad6b30813) } -var fileDescriptor_geometry_b76d8833593e6398 = []byte{ +var fileDescriptor_geometry_9a7190aad6b30813 = []byte{ // 243 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4b, 0xc3, 0x40, 0x14, 0x87, 0x79, 0x29, 0x96, 0x72, 0xd6, 0x25, 0x53, 0x16, 0xa1, 0x06, 0x85, 0x0e, 0x72, 0x47, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/image_annotator.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/image_annotator.pb.go index f42b092d2..3b08f5b8b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/image_annotator.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/image_annotator.pb.go @@ -67,7 +67,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{0} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{0} } // Type of image feature. @@ -130,7 +130,7 @@ func (x Feature_Type) String() string { return proto.EnumName(Feature_Type_name, int32(x)) } func (Feature_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{0, 0} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{0, 0} } // Face landmark (feature) type. @@ -291,7 +291,7 @@ func (x FaceAnnotation_Landmark_Type) String() string { return proto.EnumName(FaceAnnotation_Landmark_Type_name, int32(x)) } func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{3, 0, 0} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{3, 0, 0} } // Users describe the type of Google Cloud Vision API tasks to perform over @@ -316,7 +316,7 @@ func (m *Feature) Reset() { *m = Feature{} } func (m *Feature) String() string { return proto.CompactTextString(m) } func (*Feature) ProtoMessage() {} func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{0} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{0} } func (m *Feature) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Feature.Unmarshal(m, b) @@ -386,7 +386,7 @@ func (m *ImageSource) Reset() { *m = ImageSource{} } func (m *ImageSource) String() string { return proto.CompactTextString(m) } func (*ImageSource) ProtoMessage() {} func (*ImageSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{1} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{1} } func (m *ImageSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageSource.Unmarshal(m, b) @@ -439,7 +439,7 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{2} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{2} } func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) @@ -530,7 +530,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{3} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{3} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -670,7 +670,7 @@ func (m *FaceAnnotation_Landmark) Reset() { *m = FaceAnnotation_Landmark func (m *FaceAnnotation_Landmark) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation_Landmark) ProtoMessage() {} func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{3, 0} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{3, 0} } func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) @@ -717,7 +717,7 @@ func (m *LocationInfo) Reset() { *m = LocationInfo{} } func (m *LocationInfo) String() string { return proto.CompactTextString(m) } func (*LocationInfo) ProtoMessage() {} func (*LocationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{4} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{4} } func (m *LocationInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationInfo.Unmarshal(m, b) @@ -761,7 +761,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{5} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{5} } func (m *Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Property.Unmarshal(m, b) @@ -846,7 +846,7 @@ func (m *EntityAnnotation) Reset() { *m = EntityAnnotation{} } func (m *EntityAnnotation) String() string { return proto.CompactTextString(m) } func (*EntityAnnotation) ProtoMessage() {} func (*EntityAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{6} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{6} } func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) @@ -959,7 +959,7 @@ func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} } func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) } func (*SafeSearchAnnotation) ProtoMessage() {} func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{7} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{7} } func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) @@ -1029,7 +1029,7 @@ func (m *LatLongRect) Reset() { *m = LatLongRect{} } func (m *LatLongRect) String() string { return proto.CompactTextString(m) } func (*LatLongRect) ProtoMessage() {} func (*LatLongRect) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{8} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{8} } func (m *LatLongRect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatLongRect.Unmarshal(m, b) @@ -1082,7 +1082,7 @@ func (m *ColorInfo) Reset() { *m = ColorInfo{} } func (m *ColorInfo) String() string { return proto.CompactTextString(m) } func (*ColorInfo) ProtoMessage() {} func (*ColorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{9} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{9} } func (m *ColorInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColorInfo.Unmarshal(m, b) @@ -1136,7 +1136,7 @@ func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotati func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } func (*DominantColorsAnnotation) ProtoMessage() {} func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{10} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{10} } func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) @@ -1176,7 +1176,7 @@ func (m *ImageProperties) Reset() { *m = ImageProperties{} } func (m *ImageProperties) String() string { return proto.CompactTextString(m) } func (*ImageProperties) ProtoMessage() {} func (*ImageProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{11} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{11} } func (m *ImageProperties) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageProperties.Unmarshal(m, b) @@ -1222,7 +1222,7 @@ func (m *CropHint) Reset() { *m = CropHint{} } func (m *CropHint) String() string { return proto.CompactTextString(m) } func (*CropHint) ProtoMessage() {} func (*CropHint) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{12} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{12} } func (m *CropHint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHint.Unmarshal(m, b) @@ -1276,7 +1276,7 @@ func (m *CropHintsAnnotation) Reset() { *m = CropHintsAnnotation{} } func (m *CropHintsAnnotation) String() string { return proto.CompactTextString(m) } func (*CropHintsAnnotation) ProtoMessage() {} func (*CropHintsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{13} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{13} } func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) @@ -1321,7 +1321,7 @@ func (m *CropHintsParams) Reset() { *m = CropHintsParams{} } func (m *CropHintsParams) String() string { return proto.CompactTextString(m) } func (*CropHintsParams) ProtoMessage() {} func (*CropHintsParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{14} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{14} } func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) @@ -1361,7 +1361,7 @@ func (m *WebDetectionParams) Reset() { *m = WebDetectionParams{} } func (m *WebDetectionParams) String() string { return proto.CompactTextString(m) } func (*WebDetectionParams) ProtoMessage() {} func (*WebDetectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{15} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{15} } func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) @@ -1414,7 +1414,7 @@ func (m *ImageContext) Reset() { *m = ImageContext{} } func (m *ImageContext) String() string { return proto.CompactTextString(m) } func (*ImageContext) ProtoMessage() {} func (*ImageContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{16} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{16} } func (m *ImageContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageContext.Unmarshal(m, b) @@ -1480,7 +1480,7 @@ func (m *AnnotateImageRequest) Reset() { *m = AnnotateImageRequest{} } func (m *AnnotateImageRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateImageRequest) ProtoMessage() {} func (*AnnotateImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{17} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{17} } func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) @@ -1559,7 +1559,7 @@ func (m *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} } func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateImageResponse) ProtoMessage() {} func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{18} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{18} } func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) @@ -1669,7 +1669,7 @@ func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesR func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesRequest) ProtoMessage() {} func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{19} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{19} } func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) @@ -1709,7 +1709,7 @@ func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImages func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesResponse) ProtoMessage() {} func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_983a99bebd35977d, []int{20} + return fileDescriptor_image_annotator_5dd1ea17d879c524, []int{20} } func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) @@ -1839,10 +1839,10 @@ var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/image_annotator.proto", fileDescriptor_image_annotator_983a99bebd35977d) + proto.RegisterFile("google/cloud/vision/v1p1beta1/image_annotator.proto", fileDescriptor_image_annotator_5dd1ea17d879c524) } -var fileDescriptor_image_annotator_983a99bebd35977d = []byte{ +var fileDescriptor_image_annotator_5dd1ea17d879c524 = []byte{ // 2392 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcd, 0x72, 0xe3, 0xc6, 0xf1, 0x37, 0xa9, 0x2f, 0xb2, 0x49, 0x91, 0xd0, 0x48, 0x2b, 0x73, 0xb5, 0xbb, 0x5e, 0x19, 0xff, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/text_annotation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/text_annotation.pb.go index 9cdbb9756..9b6d0ab32 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/text_annotation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/text_annotation.pb.go @@ -59,7 +59,7 @@ func (x TextAnnotation_DetectedBreak_BreakType) String() string { return proto.EnumName(TextAnnotation_DetectedBreak_BreakType_name, int32(x)) } func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{0, 1, 0} + return fileDescriptor_text_annotation_0320745aa391b099, []int{0, 1, 0} } // Type of a block (text, image etc) as identified by OCR. @@ -101,7 +101,7 @@ func (x Block_BlockType) String() string { return proto.EnumName(Block_BlockType_name, int32(x)) } func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{2, 0} + return fileDescriptor_text_annotation_0320745aa391b099, []int{2, 0} } // TextAnnotation contains a structured representation of OCR extracted text. @@ -126,7 +126,7 @@ func (m *TextAnnotation) Reset() { *m = TextAnnotation{} } func (m *TextAnnotation) String() string { return proto.CompactTextString(m) } func (*TextAnnotation) ProtoMessage() {} func (*TextAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{0} + return fileDescriptor_text_annotation_0320745aa391b099, []int{0} } func (m *TextAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation.Unmarshal(m, b) @@ -177,7 +177,7 @@ func (m *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_ func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{0, 0} + return fileDescriptor_text_annotation_0320745aa391b099, []int{0, 0} } func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) @@ -226,7 +226,7 @@ func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_Det func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedBreak) ProtoMessage() {} func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{0, 1} + return fileDescriptor_text_annotation_0320745aa391b099, []int{0, 1} } func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) @@ -275,7 +275,7 @@ func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_Text func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_TextProperty) ProtoMessage() {} func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{0, 2} + return fileDescriptor_text_annotation_0320745aa391b099, []int{0, 2} } func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) @@ -330,7 +330,7 @@ func (m *Page) Reset() { *m = Page{} } func (m *Page) String() string { return proto.CompactTextString(m) } func (*Page) ProtoMessage() {} func (*Page) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{1} + return fileDescriptor_text_annotation_0320745aa391b099, []int{1} } func (m *Page) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Page.Unmarshal(m, b) @@ -420,7 +420,7 @@ func (m *Block) Reset() { *m = Block{} } func (m *Block) String() string { return proto.CompactTextString(m) } func (*Block) ProtoMessage() {} func (*Block) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{2} + return fileDescriptor_text_annotation_0320745aa391b099, []int{2} } func (m *Block) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Block.Unmarshal(m, b) @@ -508,7 +508,7 @@ func (m *Paragraph) Reset() { *m = Paragraph{} } func (m *Paragraph) String() string { return proto.CompactTextString(m) } func (*Paragraph) ProtoMessage() {} func (*Paragraph) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{3} + return fileDescriptor_text_annotation_0320745aa391b099, []int{3} } func (m *Paragraph) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Paragraph.Unmarshal(m, b) @@ -590,7 +590,7 @@ func (m *Word) Reset() { *m = Word{} } func (m *Word) String() string { return proto.CompactTextString(m) } func (*Word) ProtoMessage() {} func (*Word) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{4} + return fileDescriptor_text_annotation_0320745aa391b099, []int{4} } func (m *Word) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Word.Unmarshal(m, b) @@ -671,7 +671,7 @@ func (m *Symbol) Reset() { *m = Symbol{} } func (m *Symbol) String() string { return proto.CompactTextString(m) } func (*Symbol) ProtoMessage() {} func (*Symbol) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_d14fd0147bc820fd, []int{5} + return fileDescriptor_text_annotation_0320745aa391b099, []int{5} } func (m *Symbol) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Symbol.Unmarshal(m, b) @@ -734,10 +734,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/text_annotation.proto", fileDescriptor_text_annotation_d14fd0147bc820fd) + proto.RegisterFile("google/cloud/vision/v1p1beta1/text_annotation.proto", fileDescriptor_text_annotation_0320745aa391b099) } -var fileDescriptor_text_annotation_d14fd0147bc820fd = []byte{ +var fileDescriptor_text_annotation_0320745aa391b099 = []byte{ // 775 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0xd3, 0x48, 0x14, 0x5f, 0x27, 0x76, 0x1a, 0xbf, 0xb4, 0x91, 0x77, 0x76, 0xb5, 0x8a, 0xb2, 0xbb, 0xa8, 0xa4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/web_detection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/web_detection.pb.go index faa8a7861..f9ef2081d 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/web_detection.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/web_detection.pb.go @@ -45,7 +45,7 @@ func (m *WebDetection) Reset() { *m = WebDetection{} } func (m *WebDetection) String() string { return proto.CompactTextString(m) } func (*WebDetection) ProtoMessage() {} func (*WebDetection) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_b1306d6d11a44b43, []int{0} + return fileDescriptor_web_detection_1e42c8eaa5ae855c, []int{0} } func (m *WebDetection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection.Unmarshal(m, b) @@ -125,7 +125,7 @@ func (m *WebDetection_WebEntity) Reset() { *m = WebDetection_WebEntity{} func (m *WebDetection_WebEntity) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebEntity) ProtoMessage() {} func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_b1306d6d11a44b43, []int{0, 0} + return fileDescriptor_web_detection_1e42c8eaa5ae855c, []int{0, 0} } func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) @@ -181,7 +181,7 @@ func (m *WebDetection_WebImage) Reset() { *m = WebDetection_WebImage{} } func (m *WebDetection_WebImage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebImage) ProtoMessage() {} func (*WebDetection_WebImage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_b1306d6d11a44b43, []int{0, 1} + return fileDescriptor_web_detection_1e42c8eaa5ae855c, []int{0, 1} } func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) @@ -240,7 +240,7 @@ func (m *WebDetection_WebPage) Reset() { *m = WebDetection_WebPage{} } func (m *WebDetection_WebPage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebPage) ProtoMessage() {} func (*WebDetection_WebPage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_b1306d6d11a44b43, []int{0, 2} + return fileDescriptor_web_detection_1e42c8eaa5ae855c, []int{0, 2} } func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) @@ -312,7 +312,7 @@ func (m *WebDetection_WebLabel) Reset() { *m = WebDetection_WebLabel{} } func (m *WebDetection_WebLabel) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebLabel) ProtoMessage() {} func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_b1306d6d11a44b43, []int{0, 3} + return fileDescriptor_web_detection_1e42c8eaa5ae855c, []int{0, 3} } func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) @@ -355,10 +355,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/web_detection.proto", fileDescriptor_web_detection_b1306d6d11a44b43) + proto.RegisterFile("google/cloud/vision/v1p1beta1/web_detection.proto", fileDescriptor_web_detection_1e42c8eaa5ae855c) } -var fileDescriptor_web_detection_b1306d6d11a44b43 = []byte{ +var fileDescriptor_web_detection_1e42c8eaa5ae855c = []byte{ // 511 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x95, 0x76, 0x1b, 0x8b, 0x5b, 0x04, 0xb3, 0x86, 0x16, 0x05, 0x26, 0x15, 0xb8, 0xf4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go index 6f31b29d9..144deaddf 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go @@ -34,7 +34,7 @@ func (m *Vertex) Reset() { *m = Vertex{} } func (m *Vertex) String() string { return proto.CompactTextString(m) } func (*Vertex) ProtoMessage() {} func (*Vertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_707b9500411428fe, []int{0} + return fileDescriptor_geometry_0665111372b2901b, []int{0} } func (m *Vertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Vertex.Unmarshal(m, b) @@ -85,7 +85,7 @@ func (m *NormalizedVertex) Reset() { *m = NormalizedVertex{} } func (m *NormalizedVertex) String() string { return proto.CompactTextString(m) } func (*NormalizedVertex) ProtoMessage() {} func (*NormalizedVertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_707b9500411428fe, []int{1} + return fileDescriptor_geometry_0665111372b2901b, []int{1} } func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NormalizedVertex.Unmarshal(m, b) @@ -134,7 +134,7 @@ func (m *BoundingPoly) Reset() { *m = BoundingPoly{} } func (m *BoundingPoly) String() string { return proto.CompactTextString(m) } func (*BoundingPoly) ProtoMessage() {} func (*BoundingPoly) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_707b9500411428fe, []int{2} + return fileDescriptor_geometry_0665111372b2901b, []int{2} } func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) @@ -187,7 +187,7 @@ func (m *Position) Reset() { *m = Position{} } func (m *Position) String() string { return proto.CompactTextString(m) } func (*Position) ProtoMessage() {} func (*Position) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_707b9500411428fe, []int{3} + return fileDescriptor_geometry_0665111372b2901b, []int{3} } func (m *Position) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Position.Unmarshal(m, b) @@ -236,10 +236,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/geometry.proto", fileDescriptor_geometry_707b9500411428fe) + proto.RegisterFile("google/cloud/vision/v1p2beta1/geometry.proto", fileDescriptor_geometry_0665111372b2901b) } -var fileDescriptor_geometry_707b9500411428fe = []byte{ +var fileDescriptor_geometry_0665111372b2901b = []byte{ // 283 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4b, 0xc3, 0x30, 0x14, 0xc6, 0x49, 0x87, 0x63, 0xc4, 0x09, 0x52, 0x2f, 0xbd, 0x08, 0xb3, 0x28, 0xec, 0x20, 0x09, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go index 7071eddc7..917945325 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go @@ -69,7 +69,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{0} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{0} } // Type of Google Cloud Vision API feature to be extracted. @@ -136,7 +136,7 @@ func (x Feature_Type) String() string { return proto.EnumName(Feature_Type_name, int32(x)) } func (Feature_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{0, 0} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{0, 0} } // Face landmark (feature) type. @@ -297,7 +297,7 @@ func (x FaceAnnotation_Landmark_Type) String() string { return proto.EnumName(FaceAnnotation_Landmark_Type_name, int32(x)) } func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{3, 0, 0} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{3, 0, 0} } // Batch operation states. @@ -335,7 +335,7 @@ func (x OperationMetadata_State) String() string { return proto.EnumName(OperationMetadata_State_name, int32(x)) } func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{31, 0} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{31, 0} } // The type of Google Cloud Vision API detection to perform, and the maximum @@ -360,7 +360,7 @@ func (m *Feature) Reset() { *m = Feature{} } func (m *Feature) String() string { return proto.CompactTextString(m) } func (*Feature) ProtoMessage() {} func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{0} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{0} } func (m *Feature) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Feature.Unmarshal(m, b) @@ -437,7 +437,7 @@ func (m *ImageSource) Reset() { *m = ImageSource{} } func (m *ImageSource) String() string { return proto.CompactTextString(m) } func (*ImageSource) ProtoMessage() {} func (*ImageSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{1} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{1} } func (m *ImageSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageSource.Unmarshal(m, b) @@ -490,7 +490,7 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{2} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{2} } func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) @@ -581,7 +581,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{3} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{3} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -721,7 +721,7 @@ func (m *FaceAnnotation_Landmark) Reset() { *m = FaceAnnotation_Landmark func (m *FaceAnnotation_Landmark) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation_Landmark) ProtoMessage() {} func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{3, 0} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{3, 0} } func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) @@ -768,7 +768,7 @@ func (m *LocationInfo) Reset() { *m = LocationInfo{} } func (m *LocationInfo) String() string { return proto.CompactTextString(m) } func (*LocationInfo) ProtoMessage() {} func (*LocationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{4} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{4} } func (m *LocationInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationInfo.Unmarshal(m, b) @@ -812,7 +812,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{5} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{5} } func (m *Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Property.Unmarshal(m, b) @@ -899,7 +899,7 @@ func (m *EntityAnnotation) Reset() { *m = EntityAnnotation{} } func (m *EntityAnnotation) String() string { return proto.CompactTextString(m) } func (*EntityAnnotation) ProtoMessage() {} func (*EntityAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{6} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{6} } func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) @@ -1012,7 +1012,7 @@ func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} } func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) } func (*SafeSearchAnnotation) ProtoMessage() {} func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{7} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{7} } func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) @@ -1082,7 +1082,7 @@ func (m *LatLongRect) Reset() { *m = LatLongRect{} } func (m *LatLongRect) String() string { return proto.CompactTextString(m) } func (*LatLongRect) ProtoMessage() {} func (*LatLongRect) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{8} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{8} } func (m *LatLongRect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatLongRect.Unmarshal(m, b) @@ -1135,7 +1135,7 @@ func (m *ColorInfo) Reset() { *m = ColorInfo{} } func (m *ColorInfo) String() string { return proto.CompactTextString(m) } func (*ColorInfo) ProtoMessage() {} func (*ColorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{9} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{9} } func (m *ColorInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColorInfo.Unmarshal(m, b) @@ -1189,7 +1189,7 @@ func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotati func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } func (*DominantColorsAnnotation) ProtoMessage() {} func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{10} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{10} } func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) @@ -1229,7 +1229,7 @@ func (m *ImageProperties) Reset() { *m = ImageProperties{} } func (m *ImageProperties) String() string { return proto.CompactTextString(m) } func (*ImageProperties) ProtoMessage() {} func (*ImageProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{11} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{11} } func (m *ImageProperties) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageProperties.Unmarshal(m, b) @@ -1275,7 +1275,7 @@ func (m *CropHint) Reset() { *m = CropHint{} } func (m *CropHint) String() string { return proto.CompactTextString(m) } func (*CropHint) ProtoMessage() {} func (*CropHint) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{12} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{12} } func (m *CropHint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHint.Unmarshal(m, b) @@ -1329,7 +1329,7 @@ func (m *CropHintsAnnotation) Reset() { *m = CropHintsAnnotation{} } func (m *CropHintsAnnotation) String() string { return proto.CompactTextString(m) } func (*CropHintsAnnotation) ProtoMessage() {} func (*CropHintsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{13} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{13} } func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) @@ -1374,7 +1374,7 @@ func (m *CropHintsParams) Reset() { *m = CropHintsParams{} } func (m *CropHintsParams) String() string { return proto.CompactTextString(m) } func (*CropHintsParams) ProtoMessage() {} func (*CropHintsParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{14} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{14} } func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) @@ -1414,7 +1414,7 @@ func (m *WebDetectionParams) Reset() { *m = WebDetectionParams{} } func (m *WebDetectionParams) String() string { return proto.CompactTextString(m) } func (*WebDetectionParams) ProtoMessage() {} func (*WebDetectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{15} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{15} } func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) @@ -1467,7 +1467,7 @@ func (m *ImageContext) Reset() { *m = ImageContext{} } func (m *ImageContext) String() string { return proto.CompactTextString(m) } func (*ImageContext) ProtoMessage() {} func (*ImageContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{16} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{16} } func (m *ImageContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageContext.Unmarshal(m, b) @@ -1533,7 +1533,7 @@ func (m *AnnotateImageRequest) Reset() { *m = AnnotateImageRequest{} } func (m *AnnotateImageRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateImageRequest) ProtoMessage() {} func (*AnnotateImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{17} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{17} } func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) @@ -1591,7 +1591,7 @@ func (m *ImageAnnotationContext) Reset() { *m = ImageAnnotationContext{} func (m *ImageAnnotationContext) String() string { return proto.CompactTextString(m) } func (*ImageAnnotationContext) ProtoMessage() {} func (*ImageAnnotationContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{18} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{18} } func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) @@ -1666,7 +1666,7 @@ func (m *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} } func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateImageResponse) ProtoMessage() {} func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{19} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{19} } func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) @@ -1786,7 +1786,7 @@ func (m *AnnotateFileResponse) Reset() { *m = AnnotateFileResponse{} } func (m *AnnotateFileResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateFileResponse) ProtoMessage() {} func (*AnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{20} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{20} } func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) @@ -1833,7 +1833,7 @@ func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesR func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesRequest) ProtoMessage() {} func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{21} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{21} } func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) @@ -1873,7 +1873,7 @@ func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImages func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesResponse) ProtoMessage() {} func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{22} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{22} } func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) @@ -1919,7 +1919,7 @@ func (m *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileReque func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } func (*AsyncAnnotateFileRequest) ProtoMessage() {} func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{23} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{23} } func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) @@ -1980,7 +1980,7 @@ func (m *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResp func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } func (*AsyncAnnotateFileResponse) ProtoMessage() {} func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{24} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{24} } func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) @@ -2021,7 +2021,7 @@ func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnota func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{25} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{25} } func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) @@ -2062,7 +2062,7 @@ func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnot func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{26} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{26} } func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) @@ -2105,7 +2105,7 @@ func (m *InputConfig) Reset() { *m = InputConfig{} } func (m *InputConfig) String() string { return proto.CompactTextString(m) } func (*InputConfig) ProtoMessage() {} func (*InputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{27} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{27} } func (m *InputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputConfig.Unmarshal(m, b) @@ -2163,7 +2163,7 @@ func (m *OutputConfig) Reset() { *m = OutputConfig{} } func (m *OutputConfig) String() string { return proto.CompactTextString(m) } func (*OutputConfig) ProtoMessage() {} func (*OutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{28} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{28} } func (m *OutputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputConfig.Unmarshal(m, b) @@ -2211,7 +2211,7 @@ func (m *GcsSource) Reset() { *m = GcsSource{} } func (m *GcsSource) String() string { return proto.CompactTextString(m) } func (*GcsSource) ProtoMessage() {} func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{29} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{29} } func (m *GcsSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsSource.Unmarshal(m, b) @@ -2265,7 +2265,7 @@ func (m *GcsDestination) Reset() { *m = GcsDestination{} } func (m *GcsDestination) String() string { return proto.CompactTextString(m) } func (*GcsDestination) ProtoMessage() {} func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{30} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{30} } func (m *GcsDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsDestination.Unmarshal(m, b) @@ -2309,7 +2309,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_222b4013c459a7e1, []int{31} + return fileDescriptor_image_annotator_a7aed4b950b6a425, []int{31} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -2510,10 +2510,10 @@ var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/image_annotator.proto", fileDescriptor_image_annotator_222b4013c459a7e1) + proto.RegisterFile("google/cloud/vision/v1p2beta1/image_annotator.proto", fileDescriptor_image_annotator_a7aed4b950b6a425) } -var fileDescriptor_image_annotator_222b4013c459a7e1 = []byte{ +var fileDescriptor_image_annotator_a7aed4b950b6a425 = []byte{ // 2899 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcf, 0x73, 0xdb, 0xc6, 0xf5, 0x0f, 0xa9, 0x5f, 0xe4, 0x23, 0x25, 0x41, 0xab, 0x1f, 0xa6, 0x65, 0x2b, 0x56, 0x90, 0x6f, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go index 0475576e5..494bf919f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go @@ -59,7 +59,7 @@ func (x TextAnnotation_DetectedBreak_BreakType) String() string { return proto.EnumName(TextAnnotation_DetectedBreak_BreakType_name, int32(x)) } func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{0, 1, 0} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{0, 1, 0} } // Type of a block (text, image etc) as identified by OCR. @@ -101,7 +101,7 @@ func (x Block_BlockType) String() string { return proto.EnumName(Block_BlockType_name, int32(x)) } func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{2, 0} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{2, 0} } // TextAnnotation contains a structured representation of OCR extracted text. @@ -125,7 +125,7 @@ func (m *TextAnnotation) Reset() { *m = TextAnnotation{} } func (m *TextAnnotation) String() string { return proto.CompactTextString(m) } func (*TextAnnotation) ProtoMessage() {} func (*TextAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{0} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{0} } func (m *TextAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation.Unmarshal(m, b) @@ -176,7 +176,7 @@ func (m *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_ func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{0, 0} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{0, 0} } func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) @@ -225,7 +225,7 @@ func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_Det func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedBreak) ProtoMessage() {} func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{0, 1} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{0, 1} } func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_Text func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_TextProperty) ProtoMessage() {} func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{0, 2} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{0, 2} } func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) @@ -331,7 +331,7 @@ func (m *Page) Reset() { *m = Page{} } func (m *Page) String() string { return proto.CompactTextString(m) } func (*Page) ProtoMessage() {} func (*Page) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{1} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{1} } func (m *Page) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Page.Unmarshal(m, b) @@ -426,7 +426,7 @@ func (m *Block) Reset() { *m = Block{} } func (m *Block) String() string { return proto.CompactTextString(m) } func (*Block) ProtoMessage() {} func (*Block) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{2} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{2} } func (m *Block) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Block.Unmarshal(m, b) @@ -514,7 +514,7 @@ func (m *Paragraph) Reset() { *m = Paragraph{} } func (m *Paragraph) String() string { return proto.CompactTextString(m) } func (*Paragraph) ProtoMessage() {} func (*Paragraph) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{3} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{3} } func (m *Paragraph) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Paragraph.Unmarshal(m, b) @@ -596,7 +596,7 @@ func (m *Word) Reset() { *m = Word{} } func (m *Word) String() string { return proto.CompactTextString(m) } func (*Word) ProtoMessage() {} func (*Word) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{4} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{4} } func (m *Word) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Word.Unmarshal(m, b) @@ -677,7 +677,7 @@ func (m *Symbol) Reset() { *m = Symbol{} } func (m *Symbol) String() string { return proto.CompactTextString(m) } func (*Symbol) ProtoMessage() {} func (*Symbol) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_db85d99ce97b3298, []int{5} + return fileDescriptor_text_annotation_8d9193533acd557d, []int{5} } func (m *Symbol) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Symbol.Unmarshal(m, b) @@ -740,10 +740,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/text_annotation.proto", fileDescriptor_text_annotation_db85d99ce97b3298) + proto.RegisterFile("google/cloud/vision/v1p2beta1/text_annotation.proto", fileDescriptor_text_annotation_8d9193533acd557d) } -var fileDescriptor_text_annotation_db85d99ce97b3298 = []byte{ +var fileDescriptor_text_annotation_8d9193533acd557d = []byte{ // 774 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0xd3, 0x48, 0x14, 0x5f, 0x27, 0x76, 0x1a, 0xbf, 0xb4, 0x91, 0x77, 0x76, 0xb5, 0x8a, 0xb2, 0xbb, 0xa8, 0xa4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go index d5bf295f7..44aed1ff7 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go @@ -45,7 +45,7 @@ func (m *WebDetection) Reset() { *m = WebDetection{} } func (m *WebDetection) String() string { return proto.CompactTextString(m) } func (*WebDetection) ProtoMessage() {} func (*WebDetection) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_33bdc6a6154072ec, []int{0} + return fileDescriptor_web_detection_cbb14b20b0012343, []int{0} } func (m *WebDetection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection.Unmarshal(m, b) @@ -125,7 +125,7 @@ func (m *WebDetection_WebEntity) Reset() { *m = WebDetection_WebEntity{} func (m *WebDetection_WebEntity) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebEntity) ProtoMessage() {} func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_33bdc6a6154072ec, []int{0, 0} + return fileDescriptor_web_detection_cbb14b20b0012343, []int{0, 0} } func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) @@ -181,7 +181,7 @@ func (m *WebDetection_WebImage) Reset() { *m = WebDetection_WebImage{} } func (m *WebDetection_WebImage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebImage) ProtoMessage() {} func (*WebDetection_WebImage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_33bdc6a6154072ec, []int{0, 1} + return fileDescriptor_web_detection_cbb14b20b0012343, []int{0, 1} } func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) @@ -240,7 +240,7 @@ func (m *WebDetection_WebPage) Reset() { *m = WebDetection_WebPage{} } func (m *WebDetection_WebPage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebPage) ProtoMessage() {} func (*WebDetection_WebPage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_33bdc6a6154072ec, []int{0, 2} + return fileDescriptor_web_detection_cbb14b20b0012343, []int{0, 2} } func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) @@ -312,7 +312,7 @@ func (m *WebDetection_WebLabel) Reset() { *m = WebDetection_WebLabel{} } func (m *WebDetection_WebLabel) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebLabel) ProtoMessage() {} func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_33bdc6a6154072ec, []int{0, 3} + return fileDescriptor_web_detection_cbb14b20b0012343, []int{0, 3} } func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) @@ -355,10 +355,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/web_detection.proto", fileDescriptor_web_detection_33bdc6a6154072ec) + proto.RegisterFile("google/cloud/vision/v1p2beta1/web_detection.proto", fileDescriptor_web_detection_cbb14b20b0012343) } -var fileDescriptor_web_detection_33bdc6a6154072ec = []byte{ +var fileDescriptor_web_detection_cbb14b20b0012343 = []byte{ // 511 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x95, 0x76, 0x1b, 0x8d, 0x5b, 0x04, 0xb3, 0x86, 0x16, 0x05, 0x26, 0x15, 0xb8, 0xf4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/geometry.pb.go index b9b83df0f..36b5b3c3b 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/geometry.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/geometry.pb.go @@ -35,7 +35,7 @@ func (m *Vertex) Reset() { *m = Vertex{} } func (m *Vertex) String() string { return proto.CompactTextString(m) } func (*Vertex) ProtoMessage() {} func (*Vertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_2f6143075d713481, []int{0} + return fileDescriptor_geometry_af1b507a20494236, []int{0} } func (m *Vertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Vertex.Unmarshal(m, b) @@ -86,7 +86,7 @@ func (m *NormalizedVertex) Reset() { *m = NormalizedVertex{} } func (m *NormalizedVertex) String() string { return proto.CompactTextString(m) } func (*NormalizedVertex) ProtoMessage() {} func (*NormalizedVertex) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_2f6143075d713481, []int{1} + return fileDescriptor_geometry_af1b507a20494236, []int{1} } func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NormalizedVertex.Unmarshal(m, b) @@ -135,7 +135,7 @@ func (m *BoundingPoly) Reset() { *m = BoundingPoly{} } func (m *BoundingPoly) String() string { return proto.CompactTextString(m) } func (*BoundingPoly) ProtoMessage() {} func (*BoundingPoly) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_2f6143075d713481, []int{2} + return fileDescriptor_geometry_af1b507a20494236, []int{2} } func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) @@ -182,7 +182,7 @@ func (m *NormalizedBoundingPoly) Reset() { *m = NormalizedBoundingPoly{} func (m *NormalizedBoundingPoly) String() string { return proto.CompactTextString(m) } func (*NormalizedBoundingPoly) ProtoMessage() {} func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_2f6143075d713481, []int{3} + return fileDescriptor_geometry_af1b507a20494236, []int{3} } func (m *NormalizedBoundingPoly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NormalizedBoundingPoly.Unmarshal(m, b) @@ -228,7 +228,7 @@ func (m *Position) Reset() { *m = Position{} } func (m *Position) String() string { return proto.CompactTextString(m) } func (*Position) ProtoMessage() {} func (*Position) Descriptor() ([]byte, []int) { - return fileDescriptor_geometry_2f6143075d713481, []int{4} + return fileDescriptor_geometry_af1b507a20494236, []int{4} } func (m *Position) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Position.Unmarshal(m, b) @@ -278,10 +278,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/geometry.proto", fileDescriptor_geometry_2f6143075d713481) + proto.RegisterFile("google/cloud/vision/v1p3beta1/geometry.proto", fileDescriptor_geometry_af1b507a20494236) } -var fileDescriptor_geometry_2f6143075d713481 = []byte{ +var fileDescriptor_geometry_af1b507a20494236 = []byte{ // 316 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x4b, 0xc3, 0x30, 0x14, 0xc6, 0x49, 0x87, 0x63, 0xc4, 0x09, 0x52, 0x41, 0x8a, 0x28, 0xcc, 0xa2, 0xb0, 0x83, 0x24, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/image_annotator.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/image_annotator.pb.go index 9ac6854f4..57e90d7ce 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/image_annotator.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/image_annotator.pb.go @@ -69,7 +69,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{0} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{0} } // Type of Google Cloud Vision API feature to be extracted. @@ -144,7 +144,7 @@ func (x Feature_Type) String() string { return proto.EnumName(Feature_Type_name, int32(x)) } func (Feature_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{0, 0} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{0, 0} } // Face landmark (feature) type. @@ -305,7 +305,7 @@ func (x FaceAnnotation_Landmark_Type) String() string { return proto.EnumName(FaceAnnotation_Landmark_Type_name, int32(x)) } func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{3, 0, 0} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{3, 0, 0} } // Batch operation states. @@ -343,7 +343,7 @@ func (x OperationMetadata_State) String() string { return proto.EnumName(OperationMetadata_State_name, int32(x)) } func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{32, 0} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{32, 0} } // The type of Google Cloud Vision API detection to perform, and the maximum @@ -368,7 +368,7 @@ func (m *Feature) Reset() { *m = Feature{} } func (m *Feature) String() string { return proto.CompactTextString(m) } func (*Feature) ProtoMessage() {} func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{0} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{0} } func (m *Feature) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Feature.Unmarshal(m, b) @@ -445,7 +445,7 @@ func (m *ImageSource) Reset() { *m = ImageSource{} } func (m *ImageSource) String() string { return proto.CompactTextString(m) } func (*ImageSource) ProtoMessage() {} func (*ImageSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{1} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{1} } func (m *ImageSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageSource.Unmarshal(m, b) @@ -498,7 +498,7 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{2} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{2} } func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) @@ -589,7 +589,7 @@ func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} } func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation) ProtoMessage() {} func (*FaceAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{3} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{3} } func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) @@ -729,7 +729,7 @@ func (m *FaceAnnotation_Landmark) Reset() { *m = FaceAnnotation_Landmark func (m *FaceAnnotation_Landmark) String() string { return proto.CompactTextString(m) } func (*FaceAnnotation_Landmark) ProtoMessage() {} func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{3, 0} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{3, 0} } func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) @@ -776,7 +776,7 @@ func (m *LocationInfo) Reset() { *m = LocationInfo{} } func (m *LocationInfo) String() string { return proto.CompactTextString(m) } func (*LocationInfo) ProtoMessage() {} func (*LocationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{4} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{4} } func (m *LocationInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocationInfo.Unmarshal(m, b) @@ -820,7 +820,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{5} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{5} } func (m *Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Property.Unmarshal(m, b) @@ -907,7 +907,7 @@ func (m *EntityAnnotation) Reset() { *m = EntityAnnotation{} } func (m *EntityAnnotation) String() string { return proto.CompactTextString(m) } func (*EntityAnnotation) ProtoMessage() {} func (*EntityAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{6} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{6} } func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) @@ -1013,7 +1013,7 @@ func (m *LocalizedObjectAnnotation) Reset() { *m = LocalizedObjectAnnota func (m *LocalizedObjectAnnotation) String() string { return proto.CompactTextString(m) } func (*LocalizedObjectAnnotation) ProtoMessage() {} func (*LocalizedObjectAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{7} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{7} } func (m *LocalizedObjectAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocalizedObjectAnnotation.Unmarshal(m, b) @@ -1098,7 +1098,7 @@ func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} } func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) } func (*SafeSearchAnnotation) ProtoMessage() {} func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{8} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{8} } func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) @@ -1168,7 +1168,7 @@ func (m *LatLongRect) Reset() { *m = LatLongRect{} } func (m *LatLongRect) String() string { return proto.CompactTextString(m) } func (*LatLongRect) ProtoMessage() {} func (*LatLongRect) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{9} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{9} } func (m *LatLongRect) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatLongRect.Unmarshal(m, b) @@ -1221,7 +1221,7 @@ func (m *ColorInfo) Reset() { *m = ColorInfo{} } func (m *ColorInfo) String() string { return proto.CompactTextString(m) } func (*ColorInfo) ProtoMessage() {} func (*ColorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{10} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{10} } func (m *ColorInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ColorInfo.Unmarshal(m, b) @@ -1275,7 +1275,7 @@ func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotati func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } func (*DominantColorsAnnotation) ProtoMessage() {} func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{11} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{11} } func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) @@ -1315,7 +1315,7 @@ func (m *ImageProperties) Reset() { *m = ImageProperties{} } func (m *ImageProperties) String() string { return proto.CompactTextString(m) } func (*ImageProperties) ProtoMessage() {} func (*ImageProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{12} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{12} } func (m *ImageProperties) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageProperties.Unmarshal(m, b) @@ -1361,7 +1361,7 @@ func (m *CropHint) Reset() { *m = CropHint{} } func (m *CropHint) String() string { return proto.CompactTextString(m) } func (*CropHint) ProtoMessage() {} func (*CropHint) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{13} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{13} } func (m *CropHint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHint.Unmarshal(m, b) @@ -1415,7 +1415,7 @@ func (m *CropHintsAnnotation) Reset() { *m = CropHintsAnnotation{} } func (m *CropHintsAnnotation) String() string { return proto.CompactTextString(m) } func (*CropHintsAnnotation) ProtoMessage() {} func (*CropHintsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{14} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{14} } func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) @@ -1460,7 +1460,7 @@ func (m *CropHintsParams) Reset() { *m = CropHintsParams{} } func (m *CropHintsParams) String() string { return proto.CompactTextString(m) } func (*CropHintsParams) ProtoMessage() {} func (*CropHintsParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{15} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{15} } func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) @@ -1500,7 +1500,7 @@ func (m *WebDetectionParams) Reset() { *m = WebDetectionParams{} } func (m *WebDetectionParams) String() string { return proto.CompactTextString(m) } func (*WebDetectionParams) ProtoMessage() {} func (*WebDetectionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{16} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{16} } func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) @@ -1555,7 +1555,7 @@ func (m *ImageContext) Reset() { *m = ImageContext{} } func (m *ImageContext) String() string { return proto.CompactTextString(m) } func (*ImageContext) ProtoMessage() {} func (*ImageContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{17} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{17} } func (m *ImageContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageContext.Unmarshal(m, b) @@ -1628,7 +1628,7 @@ func (m *AnnotateImageRequest) Reset() { *m = AnnotateImageRequest{} } func (m *AnnotateImageRequest) String() string { return proto.CompactTextString(m) } func (*AnnotateImageRequest) ProtoMessage() {} func (*AnnotateImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{18} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{18} } func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) @@ -1686,7 +1686,7 @@ func (m *ImageAnnotationContext) Reset() { *m = ImageAnnotationContext{} func (m *ImageAnnotationContext) String() string { return proto.CompactTextString(m) } func (*ImageAnnotationContext) ProtoMessage() {} func (*ImageAnnotationContext) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{19} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{19} } func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) @@ -1766,7 +1766,7 @@ func (m *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} } func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateImageResponse) ProtoMessage() {} func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{20} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{20} } func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) @@ -1900,7 +1900,7 @@ func (m *AnnotateFileResponse) Reset() { *m = AnnotateFileResponse{} } func (m *AnnotateFileResponse) String() string { return proto.CompactTextString(m) } func (*AnnotateFileResponse) ProtoMessage() {} func (*AnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{21} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{21} } func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) @@ -1947,7 +1947,7 @@ func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesR func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesRequest) ProtoMessage() {} func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{22} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{22} } func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) @@ -1987,7 +1987,7 @@ func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImages func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } func (*BatchAnnotateImagesResponse) ProtoMessage() {} func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{23} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{23} } func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) @@ -2033,7 +2033,7 @@ func (m *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileReque func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } func (*AsyncAnnotateFileRequest) ProtoMessage() {} func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{24} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{24} } func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) @@ -2094,7 +2094,7 @@ func (m *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResp func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } func (*AsyncAnnotateFileResponse) ProtoMessage() {} func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{25} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{25} } func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) @@ -2135,7 +2135,7 @@ func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnota func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{26} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{26} } func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) @@ -2176,7 +2176,7 @@ func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnot func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{27} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{27} } func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) @@ -2219,7 +2219,7 @@ func (m *InputConfig) Reset() { *m = InputConfig{} } func (m *InputConfig) String() string { return proto.CompactTextString(m) } func (*InputConfig) ProtoMessage() {} func (*InputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{28} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{28} } func (m *InputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputConfig.Unmarshal(m, b) @@ -2278,7 +2278,7 @@ func (m *OutputConfig) Reset() { *m = OutputConfig{} } func (m *OutputConfig) String() string { return proto.CompactTextString(m) } func (*OutputConfig) ProtoMessage() {} func (*OutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{29} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{29} } func (m *OutputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputConfig.Unmarshal(m, b) @@ -2326,7 +2326,7 @@ func (m *GcsSource) Reset() { *m = GcsSource{} } func (m *GcsSource) String() string { return proto.CompactTextString(m) } func (*GcsSource) ProtoMessage() {} func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{30} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{30} } func (m *GcsSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsSource.Unmarshal(m, b) @@ -2380,7 +2380,7 @@ func (m *GcsDestination) Reset() { *m = GcsDestination{} } func (m *GcsDestination) String() string { return proto.CompactTextString(m) } func (*GcsDestination) ProtoMessage() {} func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{31} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{31} } func (m *GcsDestination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsDestination.Unmarshal(m, b) @@ -2424,7 +2424,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_annotator_9398ac0ef04fef99, []int{32} + return fileDescriptor_image_annotator_a0c5dd8c15adca67, []int{32} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -2626,10 +2626,10 @@ var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/image_annotator.proto", fileDescriptor_image_annotator_9398ac0ef04fef99) + proto.RegisterFile("google/cloud/vision/v1p3beta1/image_annotator.proto", fileDescriptor_image_annotator_a0c5dd8c15adca67) } -var fileDescriptor_image_annotator_9398ac0ef04fef99 = []byte{ +var fileDescriptor_image_annotator_a0c5dd8c15adca67 = []byte{ // 3065 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcf, 0x73, 0xdb, 0xc6, 0xf5, 0x0f, 0xa9, 0x5f, 0xe4, 0x23, 0x25, 0x41, 0xab, 0x1f, 0xa6, 0x65, 0x2b, 0x56, 0x90, 0x6f, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search.pb.go index c3d4a69da..663793a78 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search.pb.go @@ -39,15 +39,15 @@ var ProductSearchCategory_name = map[int32]string{ } var ProductSearchCategory_value = map[string]int32{ "PRODUCT_SEARCH_CATEGORY_UNSPECIFIED": 0, - "SHOES": 1, - "BAGS": 2, + "SHOES": 1, + "BAGS": 2, } func (x ProductSearchCategory) String() string { return proto.EnumName(ProductSearchCategory_name, int32(x)) } func (ProductSearchCategory) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_product_search_fc6f98060bf3c53c, []int{0} + return fileDescriptor_product_search_5afe37c43a5f30cd, []int{0} } // Specifies the fields to include in product search results. @@ -75,7 +75,7 @@ func (x ProductSearchResultsView) String() string { return proto.EnumName(ProductSearchResultsView_name, int32(x)) } func (ProductSearchResultsView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_product_search_fc6f98060bf3c53c, []int{1} + return fileDescriptor_product_search_5afe37c43a5f30cd, []int{1} } // Parameters for a product search request. @@ -128,7 +128,7 @@ func (m *ProductSearchParams) Reset() { *m = ProductSearchParams{} } func (m *ProductSearchParams) String() string { return proto.CompactTextString(m) } func (*ProductSearchParams) ProtoMessage() {} func (*ProductSearchParams) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_fc6f98060bf3c53c, []int{0} + return fileDescriptor_product_search_5afe37c43a5f30cd, []int{0} } func (m *ProductSearchParams) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProductSearchParams.Unmarshal(m, b) @@ -236,7 +236,7 @@ func (m *ProductSearchResults) Reset() { *m = ProductSearchResults{} } func (m *ProductSearchResults) String() string { return proto.CompactTextString(m) } func (*ProductSearchResults) ProtoMessage() {} func (*ProductSearchResults) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_fc6f98060bf3c53c, []int{1} + return fileDescriptor_product_search_5afe37c43a5f30cd, []int{1} } func (m *ProductSearchResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProductSearchResults.Unmarshal(m, b) @@ -315,7 +315,7 @@ func (m *ProductSearchResults_ProductInfo) Reset() { *m = ProductSearchR func (m *ProductSearchResults_ProductInfo) String() string { return proto.CompactTextString(m) } func (*ProductSearchResults_ProductInfo) ProtoMessage() {} func (*ProductSearchResults_ProductInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_fc6f98060bf3c53c, []int{1, 0} + return fileDescriptor_product_search_5afe37c43a5f30cd, []int{1, 0} } func (m *ProductSearchResults_ProductInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProductSearchResults_ProductInfo.Unmarshal(m, b) @@ -378,7 +378,7 @@ func (m *ProductSearchResults_Result) Reset() { *m = ProductSearchResult func (m *ProductSearchResults_Result) String() string { return proto.CompactTextString(m) } func (*ProductSearchResults_Result) ProtoMessage() {} func (*ProductSearchResults_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_fc6f98060bf3c53c, []int{1, 1} + return fileDescriptor_product_search_5afe37c43a5f30cd, []int{1, 1} } func (m *ProductSearchResults_Result) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProductSearchResults_Result.Unmarshal(m, b) @@ -429,10 +429,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/product_search.proto", fileDescriptor_product_search_fc6f98060bf3c53c) + proto.RegisterFile("google/cloud/vision/v1p3beta1/product_search.proto", fileDescriptor_product_search_5afe37c43a5f30cd) } -var fileDescriptor_product_search_fc6f98060bf3c53c = []byte{ +var fileDescriptor_product_search_5afe37c43a5f30cd = []byte{ // 698 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xdf, 0x6e, 0xd3, 0x30, 0x14, 0xc6, 0x97, 0xfe, 0x5b, 0x73, 0x3a, 0xa0, 0x98, 0x31, 0x45, 0x85, 0x69, 0xdd, 0x90, 0xa0, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search_service.pb.go index 731af15ec..25c546dad 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search_service.pb.go @@ -67,7 +67,7 @@ func (x BatchOperationMetadata_State) String() string { return proto.EnumName(BatchOperationMetadata_State_name, int32(x)) } func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{28, 0} + return fileDescriptor_product_search_service_9317116d58505bed, []int{28, 0} } // A Product contains ReferenceImages. @@ -109,7 +109,7 @@ func (m *Product) Reset() { *m = Product{} } func (m *Product) String() string { return proto.CompactTextString(m) } func (*Product) ProtoMessage() {} func (*Product) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{0} + return fileDescriptor_product_search_service_9317116d58505bed, []int{0} } func (m *Product) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Product.Unmarshal(m, b) @@ -181,7 +181,7 @@ func (m *Product_KeyValue) Reset() { *m = Product_KeyValue{} } func (m *Product_KeyValue) String() string { return proto.CompactTextString(m) } func (*Product_KeyValue) ProtoMessage() {} func (*Product_KeyValue) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{0, 0} + return fileDescriptor_product_search_service_9317116d58505bed, []int{0, 0} } func (m *Product_KeyValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Product_KeyValue.Unmarshal(m, b) @@ -249,7 +249,7 @@ func (m *ProductSet) Reset() { *m = ProductSet{} } func (m *ProductSet) String() string { return proto.CompactTextString(m) } func (*ProductSet) ProtoMessage() {} func (*ProductSet) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{1} + return fileDescriptor_product_search_service_9317116d58505bed, []int{1} } func (m *ProductSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProductSet.Unmarshal(m, b) @@ -332,7 +332,7 @@ func (m *ReferenceImage) Reset() { *m = ReferenceImage{} } func (m *ReferenceImage) String() string { return proto.CompactTextString(m) } func (*ReferenceImage) ProtoMessage() {} func (*ReferenceImage) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{2} + return fileDescriptor_product_search_service_9317116d58505bed, []int{2} } func (m *ReferenceImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReferenceImage.Unmarshal(m, b) @@ -396,7 +396,7 @@ func (m *CreateProductRequest) Reset() { *m = CreateProductRequest{} } func (m *CreateProductRequest) String() string { return proto.CompactTextString(m) } func (*CreateProductRequest) ProtoMessage() {} func (*CreateProductRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{3} + return fileDescriptor_product_search_service_9317116d58505bed, []int{3} } func (m *CreateProductRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateProductRequest.Unmarshal(m, b) @@ -457,7 +457,7 @@ func (m *ListProductsRequest) Reset() { *m = ListProductsRequest{} } func (m *ListProductsRequest) String() string { return proto.CompactTextString(m) } func (*ListProductsRequest) ProtoMessage() {} func (*ListProductsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{4} + return fileDescriptor_product_search_service_9317116d58505bed, []int{4} } func (m *ListProductsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProductsRequest.Unmarshal(m, b) @@ -514,7 +514,7 @@ func (m *ListProductsResponse) Reset() { *m = ListProductsResponse{} } func (m *ListProductsResponse) String() string { return proto.CompactTextString(m) } func (*ListProductsResponse) ProtoMessage() {} func (*ListProductsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{5} + return fileDescriptor_product_search_service_9317116d58505bed, []int{5} } func (m *ListProductsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProductsResponse.Unmarshal(m, b) @@ -564,7 +564,7 @@ func (m *GetProductRequest) Reset() { *m = GetProductRequest{} } func (m *GetProductRequest) String() string { return proto.CompactTextString(m) } func (*GetProductRequest) ProtoMessage() {} func (*GetProductRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{6} + return fileDescriptor_product_search_service_9317116d58505bed, []int{6} } func (m *GetProductRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetProductRequest.Unmarshal(m, b) @@ -611,7 +611,7 @@ func (m *UpdateProductRequest) Reset() { *m = UpdateProductRequest{} } func (m *UpdateProductRequest) String() string { return proto.CompactTextString(m) } func (*UpdateProductRequest) ProtoMessage() {} func (*UpdateProductRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{7} + return fileDescriptor_product_search_service_9317116d58505bed, []int{7} } func (m *UpdateProductRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateProductRequest.Unmarshal(m, b) @@ -661,7 +661,7 @@ func (m *DeleteProductRequest) Reset() { *m = DeleteProductRequest{} } func (m *DeleteProductRequest) String() string { return proto.CompactTextString(m) } func (*DeleteProductRequest) ProtoMessage() {} func (*DeleteProductRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{8} + return fileDescriptor_product_search_service_9317116d58505bed, []int{8} } func (m *DeleteProductRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteProductRequest.Unmarshal(m, b) @@ -710,7 +710,7 @@ func (m *CreateProductSetRequest) Reset() { *m = CreateProductSetRequest func (m *CreateProductSetRequest) String() string { return proto.CompactTextString(m) } func (*CreateProductSetRequest) ProtoMessage() {} func (*CreateProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{9} + return fileDescriptor_product_search_service_9317116d58505bed, []int{9} } func (m *CreateProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateProductSetRequest.Unmarshal(m, b) @@ -770,7 +770,7 @@ func (m *ListProductSetsRequest) Reset() { *m = ListProductSetsRequest{} func (m *ListProductSetsRequest) String() string { return proto.CompactTextString(m) } func (*ListProductSetsRequest) ProtoMessage() {} func (*ListProductSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{10} + return fileDescriptor_product_search_service_9317116d58505bed, []int{10} } func (m *ListProductSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProductSetsRequest.Unmarshal(m, b) @@ -827,7 +827,7 @@ func (m *ListProductSetsResponse) Reset() { *m = ListProductSetsResponse func (m *ListProductSetsResponse) String() string { return proto.CompactTextString(m) } func (*ListProductSetsResponse) ProtoMessage() {} func (*ListProductSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{11} + return fileDescriptor_product_search_service_9317116d58505bed, []int{11} } func (m *ListProductSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProductSetsResponse.Unmarshal(m, b) @@ -877,7 +877,7 @@ func (m *GetProductSetRequest) Reset() { *m = GetProductSetRequest{} } func (m *GetProductSetRequest) String() string { return proto.CompactTextString(m) } func (*GetProductSetRequest) ProtoMessage() {} func (*GetProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{12} + return fileDescriptor_product_search_service_9317116d58505bed, []int{12} } func (m *GetProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetProductSetRequest.Unmarshal(m, b) @@ -922,7 +922,7 @@ func (m *UpdateProductSetRequest) Reset() { *m = UpdateProductSetRequest func (m *UpdateProductSetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateProductSetRequest) ProtoMessage() {} func (*UpdateProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{13} + return fileDescriptor_product_search_service_9317116d58505bed, []int{13} } func (m *UpdateProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateProductSetRequest.Unmarshal(m, b) @@ -972,7 +972,7 @@ func (m *DeleteProductSetRequest) Reset() { *m = DeleteProductSetRequest func (m *DeleteProductSetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteProductSetRequest) ProtoMessage() {} func (*DeleteProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{14} + return fileDescriptor_product_search_service_9317116d58505bed, []int{14} } func (m *DeleteProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteProductSetRequest.Unmarshal(m, b) @@ -1023,7 +1023,7 @@ func (m *CreateReferenceImageRequest) Reset() { *m = CreateReferenceImag func (m *CreateReferenceImageRequest) String() string { return proto.CompactTextString(m) } func (*CreateReferenceImageRequest) ProtoMessage() {} func (*CreateReferenceImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{15} + return fileDescriptor_product_search_service_9317116d58505bed, []int{15} } func (m *CreateReferenceImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateReferenceImageRequest.Unmarshal(m, b) @@ -1087,7 +1087,7 @@ func (m *ListReferenceImagesRequest) Reset() { *m = ListReferenceImagesR func (m *ListReferenceImagesRequest) String() string { return proto.CompactTextString(m) } func (*ListReferenceImagesRequest) ProtoMessage() {} func (*ListReferenceImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{16} + return fileDescriptor_product_search_service_9317116d58505bed, []int{16} } func (m *ListReferenceImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListReferenceImagesRequest.Unmarshal(m, b) @@ -1145,7 +1145,7 @@ func (m *ListReferenceImagesResponse) Reset() { *m = ListReferenceImages func (m *ListReferenceImagesResponse) String() string { return proto.CompactTextString(m) } func (*ListReferenceImagesResponse) ProtoMessage() {} func (*ListReferenceImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{17} + return fileDescriptor_product_search_service_9317116d58505bed, []int{17} } func (m *ListReferenceImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListReferenceImagesResponse.Unmarshal(m, b) @@ -1203,7 +1203,7 @@ func (m *GetReferenceImageRequest) Reset() { *m = GetReferenceImageReque func (m *GetReferenceImageRequest) String() string { return proto.CompactTextString(m) } func (*GetReferenceImageRequest) ProtoMessage() {} func (*GetReferenceImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{18} + return fileDescriptor_product_search_service_9317116d58505bed, []int{18} } func (m *GetReferenceImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetReferenceImageRequest.Unmarshal(m, b) @@ -1247,7 +1247,7 @@ func (m *DeleteReferenceImageRequest) Reset() { *m = DeleteReferenceImag func (m *DeleteReferenceImageRequest) String() string { return proto.CompactTextString(m) } func (*DeleteReferenceImageRequest) ProtoMessage() {} func (*DeleteReferenceImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{19} + return fileDescriptor_product_search_service_9317116d58505bed, []int{19} } func (m *DeleteReferenceImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteReferenceImageRequest.Unmarshal(m, b) @@ -1295,7 +1295,7 @@ func (m *AddProductToProductSetRequest) Reset() { *m = AddProductToProdu func (m *AddProductToProductSetRequest) String() string { return proto.CompactTextString(m) } func (*AddProductToProductSetRequest) ProtoMessage() {} func (*AddProductToProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{20} + return fileDescriptor_product_search_service_9317116d58505bed, []int{20} } func (m *AddProductToProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddProductToProductSetRequest.Unmarshal(m, b) @@ -1350,7 +1350,7 @@ func (m *RemoveProductFromProductSetRequest) Reset() { *m = RemoveProduc func (m *RemoveProductFromProductSetRequest) String() string { return proto.CompactTextString(m) } func (*RemoveProductFromProductSetRequest) ProtoMessage() {} func (*RemoveProductFromProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{21} + return fileDescriptor_product_search_service_9317116d58505bed, []int{21} } func (m *RemoveProductFromProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveProductFromProductSetRequest.Unmarshal(m, b) @@ -1404,7 +1404,7 @@ func (m *ListProductsInProductSetRequest) Reset() { *m = ListProductsInP func (m *ListProductsInProductSetRequest) String() string { return proto.CompactTextString(m) } func (*ListProductsInProductSetRequest) ProtoMessage() {} func (*ListProductsInProductSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{22} + return fileDescriptor_product_search_service_9317116d58505bed, []int{22} } func (m *ListProductsInProductSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProductsInProductSetRequest.Unmarshal(m, b) @@ -1461,7 +1461,7 @@ func (m *ListProductsInProductSetResponse) Reset() { *m = ListProductsIn func (m *ListProductsInProductSetResponse) String() string { return proto.CompactTextString(m) } func (*ListProductsInProductSetResponse) ProtoMessage() {} func (*ListProductsInProductSetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{23} + return fileDescriptor_product_search_service_9317116d58505bed, []int{23} } func (m *ListProductsInProductSetResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListProductsInProductSetResponse.Unmarshal(m, b) @@ -1563,7 +1563,7 @@ func (m *ImportProductSetsGcsSource) Reset() { *m = ImportProductSetsGcs func (m *ImportProductSetsGcsSource) String() string { return proto.CompactTextString(m) } func (*ImportProductSetsGcsSource) ProtoMessage() {} func (*ImportProductSetsGcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{24} + return fileDescriptor_product_search_service_9317116d58505bed, []int{24} } func (m *ImportProductSetsGcsSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportProductSetsGcsSource.Unmarshal(m, b) @@ -1606,7 +1606,7 @@ func (m *ImportProductSetsInputConfig) Reset() { *m = ImportProductSetsI func (m *ImportProductSetsInputConfig) String() string { return proto.CompactTextString(m) } func (*ImportProductSetsInputConfig) ProtoMessage() {} func (*ImportProductSetsInputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{25} + return fileDescriptor_product_search_service_9317116d58505bed, []int{25} } func (m *ImportProductSetsInputConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportProductSetsInputConfig.Unmarshal(m, b) @@ -1722,7 +1722,7 @@ func (m *ImportProductSetsRequest) Reset() { *m = ImportProductSetsReque func (m *ImportProductSetsRequest) String() string { return proto.CompactTextString(m) } func (*ImportProductSetsRequest) ProtoMessage() {} func (*ImportProductSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{26} + return fileDescriptor_product_search_service_9317116d58505bed, []int{26} } func (m *ImportProductSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportProductSetsRequest.Unmarshal(m, b) @@ -1780,7 +1780,7 @@ func (m *ImportProductSetsResponse) Reset() { *m = ImportProductSetsResp func (m *ImportProductSetsResponse) String() string { return proto.CompactTextString(m) } func (*ImportProductSetsResponse) ProtoMessage() {} func (*ImportProductSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{27} + return fileDescriptor_product_search_service_9317116d58505bed, []int{27} } func (m *ImportProductSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportProductSetsResponse.Unmarshal(m, b) @@ -1835,7 +1835,7 @@ func (m *BatchOperationMetadata) Reset() { *m = BatchOperationMetadata{} func (m *BatchOperationMetadata) String() string { return proto.CompactTextString(m) } func (*BatchOperationMetadata) ProtoMessage() {} func (*BatchOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_product_search_service_96aa4081a20745fb, []int{28} + return fileDescriptor_product_search_service_9317116d58505bed, []int{28} } func (m *BatchOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchOperationMetadata.Unmarshal(m, b) @@ -2838,10 +2838,10 @@ var _ProductSearch_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/product_search_service.proto", fileDescriptor_product_search_service_96aa4081a20745fb) + proto.RegisterFile("google/cloud/vision/v1p3beta1/product_search_service.proto", fileDescriptor_product_search_service_9317116d58505bed) } -var fileDescriptor_product_search_service_96aa4081a20745fb = []byte{ +var fileDescriptor_product_search_service_9317116d58505bed = []byte{ // 1867 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcf, 0x6f, 0xe3, 0xc6, 0x15, 0xce, 0xd8, 0xeb, 0x5d, 0xfb, 0xc9, 0xb2, 0xb5, 0x53, 0xd7, 0x56, 0xe4, 0x2c, 0xe2, 0xb0, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/text_annotation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/text_annotation.pb.go index f2ef71a06..7fdef8a18 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/text_annotation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/text_annotation.pb.go @@ -59,7 +59,7 @@ func (x TextAnnotation_DetectedBreak_BreakType) String() string { return proto.EnumName(TextAnnotation_DetectedBreak_BreakType_name, int32(x)) } func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{0, 1, 0} + return fileDescriptor_text_annotation_26024690f7632d99, []int{0, 1, 0} } // Type of a block (text, image etc) as identified by OCR. @@ -101,7 +101,7 @@ func (x Block_BlockType) String() string { return proto.EnumName(Block_BlockType_name, int32(x)) } func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{2, 0} + return fileDescriptor_text_annotation_26024690f7632d99, []int{2, 0} } // TextAnnotation contains a structured representation of OCR extracted text. @@ -125,7 +125,7 @@ func (m *TextAnnotation) Reset() { *m = TextAnnotation{} } func (m *TextAnnotation) String() string { return proto.CompactTextString(m) } func (*TextAnnotation) ProtoMessage() {} func (*TextAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{0} + return fileDescriptor_text_annotation_26024690f7632d99, []int{0} } func (m *TextAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation.Unmarshal(m, b) @@ -176,7 +176,7 @@ func (m *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_ func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{0, 0} + return fileDescriptor_text_annotation_26024690f7632d99, []int{0, 0} } func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) @@ -225,7 +225,7 @@ func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_Det func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_DetectedBreak) ProtoMessage() {} func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{0, 1} + return fileDescriptor_text_annotation_26024690f7632d99, []int{0, 1} } func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_Text func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } func (*TextAnnotation_TextProperty) ProtoMessage() {} func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{0, 2} + return fileDescriptor_text_annotation_26024690f7632d99, []int{0, 2} } func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) @@ -331,7 +331,7 @@ func (m *Page) Reset() { *m = Page{} } func (m *Page) String() string { return proto.CompactTextString(m) } func (*Page) ProtoMessage() {} func (*Page) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{1} + return fileDescriptor_text_annotation_26024690f7632d99, []int{1} } func (m *Page) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Page.Unmarshal(m, b) @@ -426,7 +426,7 @@ func (m *Block) Reset() { *m = Block{} } func (m *Block) String() string { return proto.CompactTextString(m) } func (*Block) ProtoMessage() {} func (*Block) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{2} + return fileDescriptor_text_annotation_26024690f7632d99, []int{2} } func (m *Block) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Block.Unmarshal(m, b) @@ -514,7 +514,7 @@ func (m *Paragraph) Reset() { *m = Paragraph{} } func (m *Paragraph) String() string { return proto.CompactTextString(m) } func (*Paragraph) ProtoMessage() {} func (*Paragraph) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{3} + return fileDescriptor_text_annotation_26024690f7632d99, []int{3} } func (m *Paragraph) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Paragraph.Unmarshal(m, b) @@ -596,7 +596,7 @@ func (m *Word) Reset() { *m = Word{} } func (m *Word) String() string { return proto.CompactTextString(m) } func (*Word) ProtoMessage() {} func (*Word) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{4} + return fileDescriptor_text_annotation_26024690f7632d99, []int{4} } func (m *Word) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Word.Unmarshal(m, b) @@ -677,7 +677,7 @@ func (m *Symbol) Reset() { *m = Symbol{} } func (m *Symbol) String() string { return proto.CompactTextString(m) } func (*Symbol) ProtoMessage() {} func (*Symbol) Descriptor() ([]byte, []int) { - return fileDescriptor_text_annotation_3b223e36bc0a2c8f, []int{5} + return fileDescriptor_text_annotation_26024690f7632d99, []int{5} } func (m *Symbol) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Symbol.Unmarshal(m, b) @@ -740,10 +740,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/text_annotation.proto", fileDescriptor_text_annotation_3b223e36bc0a2c8f) + proto.RegisterFile("google/cloud/vision/v1p3beta1/text_annotation.proto", fileDescriptor_text_annotation_26024690f7632d99) } -var fileDescriptor_text_annotation_3b223e36bc0a2c8f = []byte{ +var fileDescriptor_text_annotation_26024690f7632d99 = []byte{ // 775 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0xd3, 0x48, 0x14, 0x5f, 0x27, 0x76, 0x1a, 0xbf, 0xb4, 0x91, 0x77, 0x76, 0xb5, 0x8a, 0xb2, 0xbb, 0xa8, 0xa4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/web_detection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/web_detection.pb.go index 8fb527e58..a9f5745fa 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/web_detection.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/web_detection.pb.go @@ -45,7 +45,7 @@ func (m *WebDetection) Reset() { *m = WebDetection{} } func (m *WebDetection) String() string { return proto.CompactTextString(m) } func (*WebDetection) ProtoMessage() {} func (*WebDetection) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_e9fb144b50a9f53f, []int{0} + return fileDescriptor_web_detection_48b1ad42bf628bbe, []int{0} } func (m *WebDetection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection.Unmarshal(m, b) @@ -125,7 +125,7 @@ func (m *WebDetection_WebEntity) Reset() { *m = WebDetection_WebEntity{} func (m *WebDetection_WebEntity) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebEntity) ProtoMessage() {} func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_e9fb144b50a9f53f, []int{0, 0} + return fileDescriptor_web_detection_48b1ad42bf628bbe, []int{0, 0} } func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) @@ -181,7 +181,7 @@ func (m *WebDetection_WebImage) Reset() { *m = WebDetection_WebImage{} } func (m *WebDetection_WebImage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebImage) ProtoMessage() {} func (*WebDetection_WebImage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_e9fb144b50a9f53f, []int{0, 1} + return fileDescriptor_web_detection_48b1ad42bf628bbe, []int{0, 1} } func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) @@ -240,7 +240,7 @@ func (m *WebDetection_WebPage) Reset() { *m = WebDetection_WebPage{} } func (m *WebDetection_WebPage) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebPage) ProtoMessage() {} func (*WebDetection_WebPage) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_e9fb144b50a9f53f, []int{0, 2} + return fileDescriptor_web_detection_48b1ad42bf628bbe, []int{0, 2} } func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) @@ -312,7 +312,7 @@ func (m *WebDetection_WebLabel) Reset() { *m = WebDetection_WebLabel{} } func (m *WebDetection_WebLabel) String() string { return proto.CompactTextString(m) } func (*WebDetection_WebLabel) ProtoMessage() {} func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_web_detection_e9fb144b50a9f53f, []int{0, 3} + return fileDescriptor_web_detection_48b1ad42bf628bbe, []int{0, 3} } func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) @@ -355,10 +355,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/web_detection.proto", fileDescriptor_web_detection_e9fb144b50a9f53f) + proto.RegisterFile("google/cloud/vision/v1p3beta1/web_detection.proto", fileDescriptor_web_detection_48b1ad42bf628bbe) } -var fileDescriptor_web_detection_e9fb144b50a9f53f = []byte{ +var fileDescriptor_web_detection_48b1ad42bf628bbe = []byte{ // 511 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x95, 0x76, 0x1b, 0x8d, 0x5b, 0x04, 0xb3, 0x86, 0x16, 0x05, 0x26, 0x15, 0xb8, 0xf4, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/crawled_url.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/crawled_url.pb.go index 7d8e495c4..7ffb7f5b3 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/crawled_url.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/crawled_url.pb.go @@ -42,7 +42,7 @@ func (m *CrawledUrl) Reset() { *m = CrawledUrl{} } func (m *CrawledUrl) String() string { return proto.CompactTextString(m) } func (*CrawledUrl) ProtoMessage() {} func (*CrawledUrl) Descriptor() ([]byte, []int) { - return fileDescriptor_crawled_url_49d80ce587eb50ce, []int{0} + return fileDescriptor_crawled_url_b553fc5280c7b49d, []int{0} } func (m *CrawledUrl) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CrawledUrl.Unmarshal(m, b) @@ -88,10 +88,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/crawled_url.proto", fileDescriptor_crawled_url_49d80ce587eb50ce) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/crawled_url.proto", fileDescriptor_crawled_url_b553fc5280c7b49d) } -var fileDescriptor_crawled_url_49d80ce587eb50ce = []byte{ +var fileDescriptor_crawled_url_b553fc5280c7b49d = []byte{ // 235 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x04, 0x31, 0x10, 0x85, 0x59, 0x4f, 0x04, 0xc7, 0x42, 0x49, 0xb5, 0x88, 0xa0, 0xd8, 0x28, 0x08, 0x09, 0x62, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding.pb.go index 47b53a745..1d93b36c0 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding.pb.go @@ -84,7 +84,7 @@ func (x Finding_FindingType) String() string { return proto.EnumName(Finding_FindingType_name, int32(x)) } func (Finding_FindingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_finding_e6d5b68210184e9b, []int{0, 0} + return fileDescriptor_finding_48bce3fbd749d4f0, []int{0, 0} } // A Finding resource represents a vulnerability instance identified during a @@ -150,7 +150,7 @@ func (m *Finding) Reset() { *m = Finding{} } func (m *Finding) String() string { return proto.CompactTextString(m) } func (*Finding) ProtoMessage() {} func (*Finding) Descriptor() ([]byte, []int) { - return fileDescriptor_finding_e6d5b68210184e9b, []int{0} + return fileDescriptor_finding_48bce3fbd749d4f0, []int{0} } func (m *Finding) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Finding.Unmarshal(m, b) @@ -274,10 +274,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding.proto", fileDescriptor_finding_e6d5b68210184e9b) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding.proto", fileDescriptor_finding_48bce3fbd749d4f0) } -var fileDescriptor_finding_e6d5b68210184e9b = []byte{ +var fileDescriptor_finding_48bce3fbd749d4f0 = []byte{ // 631 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5f, 0x6f, 0xd3, 0x3e, 0x14, 0xfd, 0x65, 0xff, 0xeb, 0x74, 0x5b, 0xe6, 0xdf, 0x10, 0xd1, 0x18, 0x5a, 0xb5, 0x17, 0x86, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_addon.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_addon.pb.go index 4f8c883e0..a6be3140f 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_addon.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_addon.pb.go @@ -36,7 +36,7 @@ func (m *OutdatedLibrary) Reset() { *m = OutdatedLibrary{} } func (m *OutdatedLibrary) String() string { return proto.CompactTextString(m) } func (*OutdatedLibrary) ProtoMessage() {} func (*OutdatedLibrary) Descriptor() ([]byte, []int) { - return fileDescriptor_finding_addon_4cf381e2f681b13b, []int{0} + return fileDescriptor_finding_addon_10f44c23dab1483b, []int{0} } func (m *OutdatedLibrary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutdatedLibrary.Unmarshal(m, b) @@ -93,7 +93,7 @@ func (m *ViolatingResource) Reset() { *m = ViolatingResource{} } func (m *ViolatingResource) String() string { return proto.CompactTextString(m) } func (*ViolatingResource) ProtoMessage() {} func (*ViolatingResource) Descriptor() ([]byte, []int) { - return fileDescriptor_finding_addon_4cf381e2f681b13b, []int{1} + return fileDescriptor_finding_addon_10f44c23dab1483b, []int{1} } func (m *ViolatingResource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ViolatingResource.Unmarshal(m, b) @@ -140,7 +140,7 @@ func (m *VulnerableParameters) Reset() { *m = VulnerableParameters{} } func (m *VulnerableParameters) String() string { return proto.CompactTextString(m) } func (*VulnerableParameters) ProtoMessage() {} func (*VulnerableParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_finding_addon_4cf381e2f681b13b, []int{2} + return fileDescriptor_finding_addon_10f44c23dab1483b, []int{2} } func (m *VulnerableParameters) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerableParameters.Unmarshal(m, b) @@ -182,7 +182,7 @@ func (m *Xss) Reset() { *m = Xss{} } func (m *Xss) String() string { return proto.CompactTextString(m) } func (*Xss) ProtoMessage() {} func (*Xss) Descriptor() ([]byte, []int) { - return fileDescriptor_finding_addon_4cf381e2f681b13b, []int{3} + return fileDescriptor_finding_addon_10f44c23dab1483b, []int{3} } func (m *Xss) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Xss.Unmarshal(m, b) @@ -224,10 +224,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_addon.proto", fileDescriptor_finding_addon_4cf381e2f681b13b) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_addon.proto", fileDescriptor_finding_addon_10f44c23dab1483b) } -var fileDescriptor_finding_addon_4cf381e2f681b13b = []byte{ +var fileDescriptor_finding_addon_10f44c23dab1483b = []byte{ // 388 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6b, 0xd4, 0x50, 0x10, 0xc6, 0x89, 0x0b, 0x4a, 0xdf, 0xb6, 0x2e, 0x0d, 0x1e, 0x82, 0x78, 0xa8, 0x2b, 0xd8, 0x82, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_type_stats.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_type_stats.pb.go index 5a5c81f3d..0352e6fcd 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_type_stats.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_type_stats.pb.go @@ -37,7 +37,7 @@ func (m *FindingTypeStats) Reset() { *m = FindingTypeStats{} } func (m *FindingTypeStats) String() string { return proto.CompactTextString(m) } func (*FindingTypeStats) ProtoMessage() {} func (*FindingTypeStats) Descriptor() ([]byte, []int) { - return fileDescriptor_finding_type_stats_1d7d2596ef9e9e4d, []int{0} + return fileDescriptor_finding_type_stats_94c253b9b7add3fc, []int{0} } func (m *FindingTypeStats) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindingTypeStats.Unmarshal(m, b) @@ -76,10 +76,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto", fileDescriptor_finding_type_stats_1d7d2596ef9e9e4d) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto", fileDescriptor_finding_type_stats_94c253b9b7add3fc) } -var fileDescriptor_finding_type_stats_1d7d2596ef9e9e4d = []byte{ +var fileDescriptor_finding_type_stats_94c253b9b7add3fc = []byte{ // 256 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x48, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x4f, 0x4d, 0x2a, 0x4e, 0x4d, 0x2e, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_config.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_config.pb.go index cc1eece0f..d550e725c 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_config.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_config.pb.go @@ -51,7 +51,7 @@ func (x ScanConfig_UserAgent) String() string { return proto.EnumName(ScanConfig_UserAgent_name, int32(x)) } func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0, 0} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0, 0} } // Cloud platforms supported by Cloud Web Security Scanner. @@ -82,7 +82,7 @@ func (x ScanConfig_TargetPlatform) String() string { return proto.EnumName(ScanConfig_TargetPlatform_name, int32(x)) } func (ScanConfig_TargetPlatform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0, 1} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0, 1} } // A ScanConfig resource contains the configurations to launch a scan. @@ -124,7 +124,7 @@ func (m *ScanConfig) Reset() { *m = ScanConfig{} } func (m *ScanConfig) String() string { return proto.CompactTextString(m) } func (*ScanConfig) ProtoMessage() {} func (*ScanConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0} } func (m *ScanConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanConfig.Unmarshal(m, b) @@ -225,7 +225,7 @@ func (m *ScanConfig_Authentication) Reset() { *m = ScanConfig_Authentica func (m *ScanConfig_Authentication) String() string { return proto.CompactTextString(m) } func (*ScanConfig_Authentication) ProtoMessage() {} func (*ScanConfig_Authentication) Descriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0, 0} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0, 0} } func (m *ScanConfig_Authentication) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanConfig_Authentication.Unmarshal(m, b) @@ -252,11 +252,13 @@ type isScanConfig_Authentication_Authentication interface { type ScanConfig_Authentication_GoogleAccount_ struct { GoogleAccount *ScanConfig_Authentication_GoogleAccount `protobuf:"bytes,1,opt,name=google_account,json=googleAccount,proto3,oneof"` } + type ScanConfig_Authentication_CustomAccount_ struct { CustomAccount *ScanConfig_Authentication_CustomAccount `protobuf:"bytes,2,opt,name=custom_account,json=customAccount,proto3,oneof"` } func (*ScanConfig_Authentication_GoogleAccount_) isScanConfig_Authentication_Authentication() {} + func (*ScanConfig_Authentication_CustomAccount_) isScanConfig_Authentication_Authentication() {} func (m *ScanConfig_Authentication) GetAuthentication() isScanConfig_Authentication_Authentication { @@ -375,7 +377,7 @@ func (m *ScanConfig_Authentication_GoogleAccount) Reset() { func (m *ScanConfig_Authentication_GoogleAccount) String() string { return proto.CompactTextString(m) } func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage() {} func (*ScanConfig_Authentication_GoogleAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0, 0, 0} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0, 0, 0} } func (m *ScanConfig_Authentication_GoogleAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Unmarshal(m, b) @@ -433,7 +435,7 @@ func (m *ScanConfig_Authentication_CustomAccount) Reset() { func (m *ScanConfig_Authentication_CustomAccount) String() string { return proto.CompactTextString(m) } func (*ScanConfig_Authentication_CustomAccount) ProtoMessage() {} func (*ScanConfig_Authentication_CustomAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0, 0, 1} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0, 0, 1} } func (m *ScanConfig_Authentication_CustomAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Unmarshal(m, b) @@ -493,7 +495,7 @@ func (m *ScanConfig_Schedule) Reset() { *m = ScanConfig_Schedule{} } func (m *ScanConfig_Schedule) String() string { return proto.CompactTextString(m) } func (*ScanConfig_Schedule) ProtoMessage() {} func (*ScanConfig_Schedule) Descriptor() ([]byte, []int) { - return fileDescriptor_scan_config_26b2eea68c35fae7, []int{0, 1} + return fileDescriptor_scan_config_5acdaab1055c88fd, []int{0, 1} } func (m *ScanConfig_Schedule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanConfig_Schedule.Unmarshal(m, b) @@ -538,10 +540,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/scan_config.proto", fileDescriptor_scan_config_26b2eea68c35fae7) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/scan_config.proto", fileDescriptor_scan_config_5acdaab1055c88fd) } -var fileDescriptor_scan_config_26b2eea68c35fae7 = []byte{ +var fileDescriptor_scan_config_5acdaab1055c88fd = []byte{ // 748 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x51, 0x6f, 0xe3, 0x44, 0x10, 0x3e, 0x37, 0xd7, 0x36, 0x99, 0x36, 0x39, 0xdf, 0x0a, 0x1d, 0x91, 0x0f, 0xe9, 0x42, 0x79, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go index 323002594..f8f3b27bd 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go @@ -52,7 +52,7 @@ func (x ScanRun_ExecutionState) String() string { return proto.EnumName(ScanRun_ExecutionState_name, int32(x)) } func (ScanRun_ExecutionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_scan_run_947faa5c0b1f78e3, []int{0, 0} + return fileDescriptor_scan_run_8ce9e7c54bb44c79, []int{0, 0} } // Types of ScanRun result state. @@ -87,7 +87,7 @@ func (x ScanRun_ResultState) String() string { return proto.EnumName(ScanRun_ResultState_name, int32(x)) } func (ScanRun_ResultState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_scan_run_947faa5c0b1f78e3, []int{0, 1} + return fileDescriptor_scan_run_8ce9e7c54bb44c79, []int{0, 1} } // A ScanRun is a output-only resource representing an actual run of the scan. @@ -139,7 +139,7 @@ func (m *ScanRun) Reset() { *m = ScanRun{} } func (m *ScanRun) String() string { return proto.CompactTextString(m) } func (*ScanRun) ProtoMessage() {} func (*ScanRun) Descriptor() ([]byte, []int) { - return fileDescriptor_scan_run_947faa5c0b1f78e3, []int{0} + return fileDescriptor_scan_run_8ce9e7c54bb44c79, []int{0} } func (m *ScanRun) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanRun.Unmarshal(m, b) @@ -229,10 +229,10 @@ func init() { } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/scan_run.proto", fileDescriptor_scan_run_947faa5c0b1f78e3) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/scan_run.proto", fileDescriptor_scan_run_8ce9e7c54bb44c79) } -var fileDescriptor_scan_run_947faa5c0b1f78e3 = []byte{ +var fileDescriptor_scan_run_8ce9e7c54bb44c79 = []byte{ // 547 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdd, 0x6e, 0xd3, 0x3c, 0x18, 0xfe, 0xb2, 0xad, 0x6b, 0xeb, 0x4e, 0x5b, 0x3e, 0x73, 0x12, 0x8d, 0x49, 0x8b, 0x76, 0x42, diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/web_security_scanner.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/web_security_scanner.pb.go index ac208fa38..3094af850 100644 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/web_security_scanner.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/web_security_scanner.pb.go @@ -44,7 +44,7 @@ func (m *CreateScanConfigRequest) Reset() { *m = CreateScanConfigRequest func (m *CreateScanConfigRequest) String() string { return proto.CompactTextString(m) } func (*CreateScanConfigRequest) ProtoMessage() {} func (*CreateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{0} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{0} } func (m *CreateScanConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateScanConfigRequest.Unmarshal(m, b) @@ -93,7 +93,7 @@ func (m *DeleteScanConfigRequest) Reset() { *m = DeleteScanConfigRequest func (m *DeleteScanConfigRequest) String() string { return proto.CompactTextString(m) } func (*DeleteScanConfigRequest) ProtoMessage() {} func (*DeleteScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{1} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{1} } func (m *DeleteScanConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteScanConfigRequest.Unmarshal(m, b) @@ -135,7 +135,7 @@ func (m *GetScanConfigRequest) Reset() { *m = GetScanConfigRequest{} } func (m *GetScanConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetScanConfigRequest) ProtoMessage() {} func (*GetScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{2} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{2} } func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetScanConfigRequest.Unmarshal(m, b) @@ -185,7 +185,7 @@ func (m *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListScanConfigsRequest) ProtoMessage() {} func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{3} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{3} } func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListScanConfigsRequest.Unmarshal(m, b) @@ -247,7 +247,7 @@ func (m *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateScanConfigRequest) ProtoMessage() {} func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{4} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{4} } func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateScanConfigRequest.Unmarshal(m, b) @@ -297,7 +297,7 @@ func (m *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListScanConfigsResponse) ProtoMessage() {} func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{5} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{5} } func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListScanConfigsResponse.Unmarshal(m, b) @@ -346,7 +346,7 @@ func (m *StartScanRunRequest) Reset() { *m = StartScanRunRequest{} } func (m *StartScanRunRequest) String() string { return proto.CompactTextString(m) } func (*StartScanRunRequest) ProtoMessage() {} func (*StartScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{6} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{6} } func (m *StartScanRunRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartScanRunRequest.Unmarshal(m, b) @@ -389,7 +389,7 @@ func (m *GetScanRunRequest) Reset() { *m = GetScanRunRequest{} } func (m *GetScanRunRequest) String() string { return proto.CompactTextString(m) } func (*GetScanRunRequest) ProtoMessage() {} func (*GetScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{7} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{7} } func (m *GetScanRunRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetScanRunRequest.Unmarshal(m, b) @@ -439,7 +439,7 @@ func (m *ListScanRunsRequest) Reset() { *m = ListScanRunsRequest{} } func (m *ListScanRunsRequest) String() string { return proto.CompactTextString(m) } func (*ListScanRunsRequest) ProtoMessage() {} func (*ListScanRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{8} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{8} } func (m *ListScanRunsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListScanRunsRequest.Unmarshal(m, b) @@ -496,7 +496,7 @@ func (m *ListScanRunsResponse) Reset() { *m = ListScanRunsResponse{} } func (m *ListScanRunsResponse) String() string { return proto.CompactTextString(m) } func (*ListScanRunsResponse) ProtoMessage() {} func (*ListScanRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{9} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{9} } func (m *ListScanRunsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListScanRunsResponse.Unmarshal(m, b) @@ -546,7 +546,7 @@ func (m *StopScanRunRequest) Reset() { *m = StopScanRunRequest{} } func (m *StopScanRunRequest) String() string { return proto.CompactTextString(m) } func (*StopScanRunRequest) ProtoMessage() {} func (*StopScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{10} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{10} } func (m *StopScanRunRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopScanRunRequest.Unmarshal(m, b) @@ -597,7 +597,7 @@ func (m *ListCrawledUrlsRequest) Reset() { *m = ListCrawledUrlsRequest{} func (m *ListCrawledUrlsRequest) String() string { return proto.CompactTextString(m) } func (*ListCrawledUrlsRequest) ProtoMessage() {} func (*ListCrawledUrlsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{11} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{11} } func (m *ListCrawledUrlsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCrawledUrlsRequest.Unmarshal(m, b) @@ -654,7 +654,7 @@ func (m *ListCrawledUrlsResponse) Reset() { *m = ListCrawledUrlsResponse func (m *ListCrawledUrlsResponse) String() string { return proto.CompactTextString(m) } func (*ListCrawledUrlsResponse) ProtoMessage() {} func (*ListCrawledUrlsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{12} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{12} } func (m *ListCrawledUrlsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCrawledUrlsResponse.Unmarshal(m, b) @@ -704,7 +704,7 @@ func (m *GetFindingRequest) Reset() { *m = GetFindingRequest{} } func (m *GetFindingRequest) String() string { return proto.CompactTextString(m) } func (*GetFindingRequest) ProtoMessage() {} func (*GetFindingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{13} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{13} } func (m *GetFindingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFindingRequest.Unmarshal(m, b) @@ -760,7 +760,7 @@ func (m *ListFindingsRequest) Reset() { *m = ListFindingsRequest{} } func (m *ListFindingsRequest) String() string { return proto.CompactTextString(m) } func (*ListFindingsRequest) ProtoMessage() {} func (*ListFindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{14} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{14} } func (m *ListFindingsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFindingsRequest.Unmarshal(m, b) @@ -824,7 +824,7 @@ func (m *ListFindingsResponse) Reset() { *m = ListFindingsResponse{} } func (m *ListFindingsResponse) String() string { return proto.CompactTextString(m) } func (*ListFindingsResponse) ProtoMessage() {} func (*ListFindingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{15} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{15} } func (m *ListFindingsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFindingsResponse.Unmarshal(m, b) @@ -874,7 +874,7 @@ func (m *ListFindingTypeStatsRequest) Reset() { *m = ListFindingTypeStat func (m *ListFindingTypeStatsRequest) String() string { return proto.CompactTextString(m) } func (*ListFindingTypeStatsRequest) ProtoMessage() {} func (*ListFindingTypeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{16} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{16} } func (m *ListFindingTypeStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFindingTypeStatsRequest.Unmarshal(m, b) @@ -914,7 +914,7 @@ func (m *ListFindingTypeStatsResponse) Reset() { *m = ListFindingTypeSta func (m *ListFindingTypeStatsResponse) String() string { return proto.CompactTextString(m) } func (*ListFindingTypeStatsResponse) ProtoMessage() {} func (*ListFindingTypeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_web_security_scanner_437308ef7a623e74, []int{17} + return fileDescriptor_web_security_scanner_f0a8594a85d56336, []int{17} } func (m *ListFindingTypeStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFindingTypeStatsResponse.Unmarshal(m, b) @@ -1459,10 +1459,10 @@ var _WebSecurityScanner_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto", fileDescriptor_web_security_scanner_437308ef7a623e74) + proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto", fileDescriptor_web_security_scanner_f0a8594a85d56336) } -var fileDescriptor_web_security_scanner_437308ef7a623e74 = []byte{ +var fileDescriptor_web_security_scanner_f0a8594a85d56336 = []byte{ // 1115 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xd6, 0xb4, 0x25, 0x4a, 0x9e, 0x53, 0x35, 0x4c, 0xa3, 0x38, 0xda, 0x14, 0xc9, 0xda, 0x03, diff --git a/vendor/google.golang.org/genproto/googleapis/container/v1/cluster_service.pb.go b/vendor/google.golang.org/genproto/googleapis/container/v1/cluster_service.pb.go index 7fcb2380e..c5a8950c8 100644 --- a/vendor/google.golang.org/genproto/googleapis/container/v1/cluster_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/container/v1/cluster_service.pb.go @@ -48,7 +48,7 @@ func (x NetworkPolicy_Provider) String() string { return proto.EnumName(NetworkPolicy_Provider_name, int32(x)) } func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{10, 0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{11, 0} } // The current status of the cluster. @@ -71,6 +71,9 @@ const ( // The ERROR state indicates the cluster may be unusable. Details // can be found in the `statusMessage` field. Cluster_ERROR Cluster_Status = 5 + // The DEGRADED state indicates the cluster requires user action to restore + // full functionality. Details can be found in the `statusMessage` field. + Cluster_DEGRADED Cluster_Status = 6 ) var Cluster_Status_name = map[int32]string{ @@ -80,6 +83,7 @@ var Cluster_Status_name = map[int32]string{ 3: "RECONCILING", 4: "STOPPING", 5: "ERROR", + 6: "DEGRADED", } var Cluster_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, @@ -88,13 +92,14 @@ var Cluster_Status_value = map[string]int32{ "RECONCILING": 3, "STOPPING": 4, "ERROR": 5, + "DEGRADED": 6, } func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{12, 0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{13, 0} } // Current status of the operation. @@ -132,7 +137,7 @@ func (x Operation_Status) String() string { return proto.EnumName(Operation_Status_name, int32(x)) } func (Operation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{14, 0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{15, 0} } // Operation type. @@ -218,7 +223,7 @@ func (x Operation_Type) String() string { return proto.EnumName(Operation_Type_name, int32(x)) } func (Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{14, 1} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{15, 1} } // Operation type: what type update to perform. @@ -255,7 +260,7 @@ func (x SetMasterAuthRequest_Action) String() string { return proto.EnumName(SetMasterAuthRequest_Action_name, int32(x)) } func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{25, 0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{26, 0} } // The current status of the node pool instance. @@ -308,7 +313,7 @@ func (x NodePool_Status) String() string { return proto.EnumName(NodePool_Status_name, int32(x)) } func (NodePool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{39, 0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{40, 0} } // Parameters that describe the nodes in a cluster. @@ -348,8 +353,18 @@ type NodeConfig struct { // Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes // in length. These are reflected as part of a URL in the metadata server. // Additionally, to avoid ambiguity, keys must not conflict with any other - // metadata keys for the project or be one of the four reserved keys: - // "instance-template", "kube-env", "startup-script", and "user-data" + // metadata keys for the project or be one of the reserved keys: + // "cluster-location" + // "cluster-name" + // "cluster-uid" + // "configure-sh" + // "enable-os-login" + // "gci-update-strategy" + // "gci-ensure-gke-docker" + // "instance-template" + // "kube-env" + // "startup-script" + // "user-data" // // Values are free-form strings, and only have meaning as interpreted by // the image running in the instance. The only restriction placed on them is @@ -389,12 +404,17 @@ type NodeConfig struct { // See https://cloud.google.com/compute/docs/gpus for more information about // support for GPUs. Accelerators []*AcceleratorConfig `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"` + // Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') + // + // If unspecified, the default disk type is 'pd-standard' + DiskType string `protobuf:"bytes,12,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"` // Minimum CPU platform to be used by this instance. The instance may be // scheduled on the specified or newer CPU platform. Applicable values are the // friendly names of CPU platforms, such as // minCpuPlatform: "Intel Haswell" or // minCpuPlatform: "Intel Sandy Bridge". For more - // information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + // information, read [how to specify min CPU + // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -405,7 +425,7 @@ func (m *NodeConfig) Reset() { *m = NodeConfig{} } func (m *NodeConfig) String() string { return proto.CompactTextString(m) } func (*NodeConfig) ProtoMessage() {} func (*NodeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{0} } func (m *NodeConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeConfig.Unmarshal(m, b) @@ -502,6 +522,13 @@ func (m *NodeConfig) GetAccelerators() []*AcceleratorConfig { return nil } +func (m *NodeConfig) GetDiskType() string { + if m != nil { + return m.DiskType + } + return "" +} + func (m *NodeConfig) GetMinCpuPlatform() string { if m != nil { return m.MinCpuPlatform @@ -522,8 +549,9 @@ type MasterAuth struct { // strong password. If a password is provided for cluster creation, username // must be non-empty. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - // Configuration for client certificate authentication on the cluster. If no - // configuration is specified, a client certificate is issued. + // Configuration for client certificate authentication on the cluster. For + // clusters before v1.12, if no configuration is specified, a client + // certificate is issued. ClientCertificateConfig *ClientCertificateConfig `protobuf:"bytes,3,opt,name=client_certificate_config,json=clientCertificateConfig,proto3" json:"client_certificate_config,omitempty"` // [Output only] Base64-encoded public certificate that is the root of // trust for the cluster. @@ -543,7 +571,7 @@ func (m *MasterAuth) Reset() { *m = MasterAuth{} } func (m *MasterAuth) String() string { return proto.CompactTextString(m) } func (*MasterAuth) ProtoMessage() {} func (*MasterAuth) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{1} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{1} } func (m *MasterAuth) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuth.Unmarshal(m, b) @@ -618,7 +646,7 @@ func (m *ClientCertificateConfig) Reset() { *m = ClientCertificateConfig func (m *ClientCertificateConfig) String() string { return proto.CompactTextString(m) } func (*ClientCertificateConfig) ProtoMessage() {} func (*ClientCertificateConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{2} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{2} } func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b) @@ -670,7 +698,7 @@ func (m *AddonsConfig) Reset() { *m = AddonsConfig{} } func (m *AddonsConfig) String() string { return proto.CompactTextString(m) } func (*AddonsConfig) ProtoMessage() {} func (*AddonsConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{3} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{3} } func (m *AddonsConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddonsConfig.Unmarshal(m, b) @@ -734,7 +762,7 @@ func (m *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} } func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) } func (*HttpLoadBalancing) ProtoMessage() {} func (*HttpLoadBalancing) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{4} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{4} } func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b) @@ -778,7 +806,7 @@ func (m *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscali func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) } func (*HorizontalPodAutoscaling) ProtoMessage() {} func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{5} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{5} } func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b) @@ -818,7 +846,7 @@ func (m *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} } func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) } func (*KubernetesDashboard) ProtoMessage() {} func (*KubernetesDashboard) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{6} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{6} } func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b) @@ -860,7 +888,7 @@ func (m *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} } func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) } func (*NetworkPolicyConfig) ProtoMessage() {} func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{7} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{7} } func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b) @@ -887,7 +915,87 @@ func (m *NetworkPolicyConfig) GetDisabled() bool { return false } -// Master authorized networks is a Beta feature. +// Configuration options for private clusters. +type PrivateClusterConfig struct { + // Whether nodes have internal IP addresses only. If enabled, all nodes are + // given only RFC 1918 private addresses and communicate with the master via + // private networking. + EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"` + // Whether the master's internal IP address is used as the cluster endpoint. + EnablePrivateEndpoint bool `protobuf:"varint,2,opt,name=enable_private_endpoint,json=enablePrivateEndpoint,proto3" json:"enable_private_endpoint,omitempty"` + // The IP range in CIDR notation to use for the hosted master network. This + // range will be used for assigning internal IP addresses to the master or + // set of masters, as well as the ILB VIP. This range must not overlap with + // any other ranges in use within the cluster's network. + MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"` + // Output only. The internal IP address of this cluster's master endpoint. + PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"` + // Output only. The external IP address of this cluster's master endpoint. + PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrivateClusterConfig) Reset() { *m = PrivateClusterConfig{} } +func (m *PrivateClusterConfig) String() string { return proto.CompactTextString(m) } +func (*PrivateClusterConfig) ProtoMessage() {} +func (*PrivateClusterConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{8} +} +func (m *PrivateClusterConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivateClusterConfig.Unmarshal(m, b) +} +func (m *PrivateClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivateClusterConfig.Marshal(b, m, deterministic) +} +func (dst *PrivateClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivateClusterConfig.Merge(dst, src) +} +func (m *PrivateClusterConfig) XXX_Size() int { + return xxx_messageInfo_PrivateClusterConfig.Size(m) +} +func (m *PrivateClusterConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivateClusterConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_PrivateClusterConfig proto.InternalMessageInfo + +func (m *PrivateClusterConfig) GetEnablePrivateNodes() bool { + if m != nil { + return m.EnablePrivateNodes + } + return false +} + +func (m *PrivateClusterConfig) GetEnablePrivateEndpoint() bool { + if m != nil { + return m.EnablePrivateEndpoint + } + return false +} + +func (m *PrivateClusterConfig) GetMasterIpv4CidrBlock() string { + if m != nil { + return m.MasterIpv4CidrBlock + } + return "" +} + +func (m *PrivateClusterConfig) GetPrivateEndpoint() string { + if m != nil { + return m.PrivateEndpoint + } + return "" +} + +func (m *PrivateClusterConfig) GetPublicEndpoint() string { + if m != nil { + return m.PublicEndpoint + } + return "" +} + // Configuration options for the master authorized networks feature. Enabled // master authorized networks will disallow all external traffic to access // Kubernetes master through HTTPS except traffic from the given CIDR blocks, @@ -907,7 +1015,7 @@ func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorized func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) } func (*MasterAuthorizedNetworksConfig) ProtoMessage() {} func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{8} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{9} } func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b) @@ -958,7 +1066,7 @@ func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() { func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) } func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {} func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{8, 0} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{9, 0} } func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b) @@ -1009,7 +1117,7 @@ func (m *LegacyAbac) Reset() { *m = LegacyAbac{} } func (m *LegacyAbac) String() string { return proto.CompactTextString(m) } func (*LegacyAbac) ProtoMessage() {} func (*LegacyAbac) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{9} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{10} } func (m *LegacyAbac) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LegacyAbac.Unmarshal(m, b) @@ -1052,7 +1160,7 @@ func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) } func (*NetworkPolicy) ProtoMessage() {} func (*NetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{10} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{11} } func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b) @@ -1099,11 +1207,11 @@ type IPAllocationPolicy struct { // subnetwork. SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"` // This field is deprecated, use cluster_ipv4_cidr_block. - ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` + ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` // Deprecated: Do not use. // This field is deprecated, use node_ipv4_cidr_block. - NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"` + NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"` // Deprecated: Do not use. // This field is deprecated, use services_ipv4_cidr_block. - ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` + ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` // Deprecated: Do not use. // The name of the secondary range to be used for the cluster CIDR // block. The secondary range will be used for pod IP // addresses. This must be an existing secondary range associated @@ -1176,7 +1284,7 @@ func (m *IPAllocationPolicy) Reset() { *m = IPAllocationPolicy{} } func (m *IPAllocationPolicy) String() string { return proto.CompactTextString(m) } func (*IPAllocationPolicy) ProtoMessage() {} func (*IPAllocationPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{11} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{12} } func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b) @@ -1217,6 +1325,7 @@ func (m *IPAllocationPolicy) GetSubnetworkName() string { return "" } +// Deprecated: Do not use. func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { if m != nil { return m.ClusterIpv4Cidr @@ -1224,6 +1333,7 @@ func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { return "" } +// Deprecated: Do not use. func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { if m != nil { return m.NodeIpv4Cidr @@ -1231,6 +1341,7 @@ func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { return "" } +// Deprecated: Do not use. func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string { if m != nil { return m.ServicesIpv4Cidr @@ -1273,7 +1384,7 @@ func (m *IPAllocationPolicy) GetServicesIpv4CidrBlock() string { return "" } -// A Google Container Engine cluster. +// A Google Kubernetes Engine cluster. type Cluster struct { // The name of this cluster. The name must be unique within this project // and zone, and can be up to 40 characters with the following restrictions: @@ -1362,17 +1473,21 @@ type Cluster struct { NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` // Configuration for cluster IP allocation. IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"` - // Master authorized networks is a Beta feature. // The configuration options for master authorized networks feature. MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,22,opt,name=master_authorized_networks_config,json=masterAuthorizedNetworksConfig,proto3" json:"master_authorized_networks_config,omitempty"` // Configure the maintenance policy for this cluster. MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` + // Configuration for cluster networking. + NetworkConfig *NetworkConfig `protobuf:"bytes,27,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` + // Configuration for private cluster. + PrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,37,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"` // [Output only] Server-defined URL for the resource. SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // [Output only] The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` + // This field is deprecated, use location instead. + Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. // [Output only] The IP address of this cluster's master endpoint. // The endpoint can be accessed from the internet at // `https://username:password@endpoint/`. @@ -1384,13 +1499,24 @@ type Cluster struct { // found in validMasterVersions returned by getServerConfig. The version can // be upgraded over time; such upgrades are reflected in // currentMasterVersion and currentNodeVersion. + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "","-": picks the default Kubernetes version InitialClusterVersion string `protobuf:"bytes,103,opt,name=initial_cluster_version,json=initialClusterVersion,proto3" json:"initial_cluster_version,omitempty"` // [Output only] The current software version of the master endpoint. CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion,proto3" json:"current_master_version,omitempty"` - // [Output only] The current version of the node software components. - // If they are currently at multiple versions because they're in the process - // of being upgraded, this reflects the minimum version of all nodes. - CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"` + // [Output only] Deprecated, use + // [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool) + // instead. The current version of the node software components. If they are + // currently at multiple versions because they're in the process of being + // upgraded, this reflects the minimum version of all nodes. + CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"` // Deprecated: Do not use. // [Output only] The time the cluster was created, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` @@ -1410,12 +1536,17 @@ type Cluster struct { // typically put in the last `/16` from the container CIDR. ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` // Deprecated. Use node_pools.instance_group_urls. - InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` + InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` // Deprecated: Do not use. // [Output only] The number of nodes currently in the cluster. CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"` // [Output only] The time the cluster will be automatically // deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + // [Output only] The name of the Google Compute Engine + // [zone](/compute/docs/regions-zones/regions-zones#available) or + // [region](/compute/docs/regions-zones/regions-zones#available) in which + // the cluster resides. + Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1425,7 +1556,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{12} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{13} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -1592,6 +1723,20 @@ func (m *Cluster) GetMaintenancePolicy() *MaintenancePolicy { return nil } +func (m *Cluster) GetNetworkConfig() *NetworkConfig { + if m != nil { + return m.NetworkConfig + } + return nil +} + +func (m *Cluster) GetPrivateClusterConfig() *PrivateClusterConfig { + if m != nil { + return m.PrivateClusterConfig + } + return nil +} + func (m *Cluster) GetSelfLink() string { if m != nil { return m.SelfLink @@ -1599,6 +1744,7 @@ func (m *Cluster) GetSelfLink() string { return "" } +// Deprecated: Do not use. func (m *Cluster) GetZone() string { if m != nil { return m.Zone @@ -1627,6 +1773,7 @@ func (m *Cluster) GetCurrentMasterVersion() string { return "" } +// Deprecated: Do not use. func (m *Cluster) GetCurrentNodeVersion() string { if m != nil { return m.CurrentNodeVersion @@ -1669,6 +1816,7 @@ func (m *Cluster) GetServicesIpv4Cidr() string { return "" } +// Deprecated: Do not use. func (m *Cluster) GetInstanceGroupUrls() []string { if m != nil { return m.InstanceGroupUrls @@ -1690,13 +1838,28 @@ func (m *Cluster) GetExpireTime() string { return "" } +func (m *Cluster) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + // ClusterUpdate describes an update to the cluster. Exactly one update can // be applied to a cluster with each request, so at most one field can be // provided. type ClusterUpdate struct { // The Kubernetes version to change the nodes to (typically an - // upgrade). Use `-` to upgrade to the latest version supported by - // the server. + // upgrade). + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the Kubernetes master version DesiredNodeVersion string `protobuf:"bytes,4,opt,name=desired_node_version,json=desiredNodeVersion,proto3" json:"desired_node_version,omitempty"` // The monitoring service the cluster should use to write metrics. // Currently available options: @@ -1727,12 +1890,18 @@ type ClusterUpdate struct { // // This list must always include the cluster's primary zone. DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"` - // Master authorized networks is a Beta feature. // The desired configuration options for master authorized networks feature. DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,12,opt,name=desired_master_authorized_networks_config,json=desiredMasterAuthorizedNetworksConfig,proto3" json:"desired_master_authorized_networks_config,omitempty"` - // The Kubernetes version to change the master to. The only valid value is the - // latest supported version. Use "-" to have the server automatically select - // the latest version. + // The Kubernetes version to change the master to. + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the default Kubernetes version DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1743,7 +1912,7 @@ func (m *ClusterUpdate) Reset() { *m = ClusterUpdate{} } func (m *ClusterUpdate) String() string { return proto.CompactTextString(m) } func (*ClusterUpdate) ProtoMessage() {} func (*ClusterUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{13} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{14} } func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b) @@ -1834,7 +2003,8 @@ type Operation struct { // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation // is taking place. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + // This field is deprecated, use location instead. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. // The operation type. OperationType Operation_Type `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.container.v1.Operation_Type" json:"operation_type,omitempty"` // The current status of the operation. @@ -1847,6 +2017,11 @@ type Operation struct { SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // Server-defined URL for the target of the operation. TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"` + // [Output only] The name of the Google Compute Engine + // [zone](/compute/docs/regions-zones/regions-zones#available) or + // [region](/compute/docs/regions-zones/regions-zones#available) in which + // the cluster resides. + Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"` // [Output only] The time the operation started, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` @@ -1862,7 +2037,7 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{14} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{15} } func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) @@ -1889,6 +2064,7 @@ func (m *Operation) GetName() string { return "" } +// Deprecated: Do not use. func (m *Operation) GetZone() string { if m != nil { return m.Zone @@ -1938,6 +2114,13 @@ func (m *Operation) GetTargetLink() string { return "" } +func (m *Operation) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + func (m *Operation) GetStartTime() string { if m != nil { return m.StartTime @@ -1954,16 +2137,21 @@ func (m *Operation) GetEndTime() string { // CreateClusterRequest creates a cluster. type CreateClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. // A [cluster // resource](/container-engine/reference/rest/v1/projects.zones.clusters) - Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` + Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` + // The parent (project and location) where the cluster will be created. + // Specified in the format 'projects/*/locations/*'. + Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1973,7 +2161,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{15} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{16} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -1993,6 +2181,7 @@ func (m *CreateClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *CreateClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2000,6 +2189,7 @@ func (m *CreateClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *CreateClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2014,17 +2204,30 @@ func (m *CreateClusterRequest) GetCluster() *Cluster { return nil } +func (m *CreateClusterRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + // GetClusterRequest gets the settings of a cluster. type GetClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to retrieve. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to retrieve. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster) of the cluster to retrieve. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2034,7 +2237,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{16} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{17} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -2054,6 +2257,7 @@ func (m *GetClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *GetClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2061,6 +2265,7 @@ func (m *GetClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *GetClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2068,6 +2273,7 @@ func (m *GetClusterRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *GetClusterRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2075,29 +2281,42 @@ func (m *GetClusterRequest) GetClusterId() string { return "" } +func (m *GetClusterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // UpdateClusterRequest updates the settings of a cluster. type UpdateClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // A description of the update. - Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"` + // The name (project, location, cluster) of the cluster to update. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{17} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{18} } func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) @@ -2117,6 +2336,7 @@ func (m *UpdateClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *UpdateClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2124,6 +2344,7 @@ func (m *UpdateClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *UpdateClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2131,6 +2352,7 @@ func (m *UpdateClusterRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *UpdateClusterRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2145,25 +2367,48 @@ func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate { return nil } +func (m *UpdateClusterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // UpdateNodePoolRequests update a node pool's image and/or version. type UpdateNodePoolRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to upgrade. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to upgrade. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. // The Kubernetes version to change the nodes to (typically an - // upgrade). Use `-` to upgrade to the latest version supported by - // the server. + // upgrade). + // + // Users may specify either explicit versions offered by Kubernetes Engine or + // version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the Kubernetes master version NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"` // The desired image type for the node pool. - ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` + ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` + // The name (project, location, cluster, node pool) of the node pool to + // update. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2173,7 +2418,7 @@ func (m *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} } func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNodePoolRequest) ProtoMessage() {} func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{18} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{19} } func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b) @@ -2193,6 +2438,7 @@ func (m *UpdateNodePoolRequest) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateNodePoolRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *UpdateNodePoolRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2200,6 +2446,7 @@ func (m *UpdateNodePoolRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *UpdateNodePoolRequest) GetZone() string { if m != nil { return m.Zone @@ -2207,6 +2454,7 @@ func (m *UpdateNodePoolRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *UpdateNodePoolRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2214,6 +2462,7 @@ func (m *UpdateNodePoolRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *UpdateNodePoolRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -2235,31 +2484,46 @@ func (m *UpdateNodePoolRequest) GetImageType() string { return "" } +func (m *UpdateNodePoolRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. type SetNodePoolAutoscalingRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to upgrade. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to upgrade. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. // Autoscaling configuration for the node pool. - Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` + // The name (project, location, cluster, node pool) of the node pool to set + // autoscaler settings. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutoscalingRequest{} } func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) } func (*SetNodePoolAutoscalingRequest) ProtoMessage() {} func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{19} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{20} } func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b) @@ -2279,6 +2543,7 @@ func (m *SetNodePoolAutoscalingRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetNodePoolAutoscalingRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetNodePoolAutoscalingRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2286,6 +2551,7 @@ func (m *SetNodePoolAutoscalingRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolAutoscalingRequest) GetZone() string { if m != nil { return m.Zone @@ -2293,6 +2559,7 @@ func (m *SetNodePoolAutoscalingRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolAutoscalingRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2300,6 +2567,7 @@ func (m *SetNodePoolAutoscalingRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolAutoscalingRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -2314,23 +2582,36 @@ func (m *SetNodePoolAutoscalingRequest) GetAutoscaling() *NodePoolAutoscaling { return nil } +func (m *SetNodePoolAutoscalingRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetLoggingServiceRequest sets the logging service of a cluster. type SetLoggingServiceRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. + // This field has been deprecated and replaced by the name field. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The logging service the cluster should use to write metrics. // Currently available options: // // * "logging.googleapis.com" - the Google Cloud Logging service // * "none" - no metrics will be exported from the cluster - LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` + LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` + // The name (project, location, cluster) of the cluster to set logging. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2340,7 +2621,7 @@ func (m *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceReque func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) } func (*SetLoggingServiceRequest) ProtoMessage() {} func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{20} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{21} } func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b) @@ -2360,6 +2641,7 @@ func (m *SetLoggingServiceRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetLoggingServiceRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetLoggingServiceRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2374,6 +2656,7 @@ func (m *SetLoggingServiceRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetLoggingServiceRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2388,23 +2671,36 @@ func (m *SetLoggingServiceRequest) GetLoggingService() string { return "" } +func (m *SetLoggingServiceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetMonitoringServiceRequest sets the monitoring service of a cluster. type SetMonitoringServiceRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The monitoring service the cluster should use to write metrics. // Currently available options: // // * "monitoring.googleapis.com" - the Google Cloud Monitoring service // * "none" - no metrics will be exported from the cluster - MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` + MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` + // The name (project, location, cluster) of the cluster to set monitoring. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2414,7 +2710,7 @@ func (m *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServic func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) } func (*SetMonitoringServiceRequest) ProtoMessage() {} func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{21} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{22} } func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b) @@ -2434,6 +2730,7 @@ func (m *SetMonitoringServiceRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetMonitoringServiceRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetMonitoringServiceRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2441,6 +2738,7 @@ func (m *SetMonitoringServiceRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetMonitoringServiceRequest) GetZone() string { if m != nil { return m.Zone @@ -2448,6 +2746,7 @@ func (m *SetMonitoringServiceRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetMonitoringServiceRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2462,30 +2761,43 @@ func (m *SetMonitoringServiceRequest) GetMonitoringService() string { return "" } +func (m *SetMonitoringServiceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetAddonsConfigRequest sets the addons associated with the cluster. type SetAddonsConfigRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The desired configurations for the various addons available to run in the // cluster. - AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"` + // The name (project, location, cluster) of the cluster to set addons. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} } func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) } func (*SetAddonsConfigRequest) ProtoMessage() {} func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{22} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{23} } func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b) @@ -2505,6 +2817,7 @@ func (m *SetAddonsConfigRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetAddonsConfigRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetAddonsConfigRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2512,6 +2825,7 @@ func (m *SetAddonsConfigRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetAddonsConfigRequest) GetZone() string { if m != nil { return m.Zone @@ -2519,6 +2833,7 @@ func (m *SetAddonsConfigRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetAddonsConfigRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2533,17 +2848,27 @@ func (m *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig { return nil } +func (m *SetAddonsConfigRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetLocationsRequest sets the locations of the cluster. type SetLocationsRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The desired list of Google Compute Engine // [locations](/compute/docs/zones#available) in which the cluster's nodes // should be located. Changing the locations a cluster is in will result @@ -2551,7 +2876,10 @@ type SetLocationsRequest struct { // whether locations are being added or removed. // // This list must always include the cluster's primary zone. - Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"` + Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"` + // The name (project, location, cluster) of the cluster to set locations. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2561,7 +2889,7 @@ func (m *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} } func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) } func (*SetLocationsRequest) ProtoMessage() {} func (*SetLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{23} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{24} } func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b) @@ -2581,6 +2909,7 @@ func (m *SetLocationsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetLocationsRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetLocationsRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2588,6 +2917,7 @@ func (m *SetLocationsRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetLocationsRequest) GetZone() string { if m != nil { return m.Zone @@ -2595,6 +2925,7 @@ func (m *SetLocationsRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetLocationsRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2609,21 +2940,41 @@ func (m *SetLocationsRequest) GetLocations() []string { return nil } +func (m *SetLocationsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // UpdateMasterRequest updates the master of the cluster. type UpdateMasterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The Kubernetes version to change the master to. The only valid value is the - // latest supported version. Use "-" to have the server automatically select - // the latest version. - MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The Kubernetes version to change the master to. + // + // Users may specify either explicit versions offered by Kubernetes Engine or + // version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the default Kubernetes version + MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"` + // The name (project, location, cluster) of the cluster to update. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2633,7 +2984,7 @@ func (m *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} } func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateMasterRequest) ProtoMessage() {} func (*UpdateMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{24} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{25} } func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b) @@ -2653,6 +3004,7 @@ func (m *UpdateMasterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateMasterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *UpdateMasterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2660,6 +3012,7 @@ func (m *UpdateMasterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *UpdateMasterRequest) GetZone() string { if m != nil { return m.Zone @@ -2667,6 +3020,7 @@ func (m *UpdateMasterRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *UpdateMasterRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2681,31 +3035,44 @@ func (m *UpdateMasterRequest) GetMasterVersion() string { return "" } +func (m *UpdateMasterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetMasterAuthRequest updates the admin password of a cluster. type SetMasterAuthRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The exact form of action to be taken on the master auth. Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1.SetMasterAuthRequest_Action" json:"action,omitempty"` // A description of the update. - Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"` + // The name (project, location, cluster) of the cluster to set auth. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } func (*SetMasterAuthRequest) ProtoMessage() {} func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{25} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{26} } func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) @@ -2725,6 +3092,7 @@ func (m *SetMasterAuthRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetMasterAuthRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2732,6 +3100,7 @@ func (m *SetMasterAuthRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetMasterAuthRequest) GetZone() string { if m != nil { return m.Zone @@ -2739,6 +3108,7 @@ func (m *SetMasterAuthRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetMasterAuthRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2760,17 +3130,30 @@ func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth { return nil } +func (m *SetMasterAuthRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // DeleteClusterRequest deletes a cluster. type DeleteClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to delete. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to delete. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster) of the cluster to delete. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2780,7 +3163,7 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{26} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{27} } func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) @@ -2800,6 +3183,7 @@ func (m *DeleteClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *DeleteClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2807,6 +3191,7 @@ func (m *DeleteClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *DeleteClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2814,6 +3199,7 @@ func (m *DeleteClusterRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *DeleteClusterRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2821,15 +3207,28 @@ func (m *DeleteClusterRequest) GetClusterId() string { return "" } +func (m *DeleteClusterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // ListClustersRequest lists clusters. type ListClustersRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides, or "-" for all zones. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // The parent (project and location) where the clusters will be listed. + // Specified in the format 'projects/*/locations/*'. + // Location "-" matches all zones and all regions. + Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2839,7 +3238,7 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{27} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{28} } func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) @@ -2859,6 +3258,7 @@ func (m *ListClustersRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *ListClustersRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2866,6 +3266,7 @@ func (m *ListClustersRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *ListClustersRequest) GetZone() string { if m != nil { return m.Zone @@ -2873,6 +3274,13 @@ func (m *ListClustersRequest) GetZone() string { return "" } +func (m *ListClustersRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + // ListClustersResponse is the result of ListClustersRequest. type ListClustersResponse struct { // A list of clusters in the project in the specified zone, or @@ -2890,7 +3298,7 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{28} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{29} } func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) @@ -2926,15 +3334,21 @@ func (m *ListClustersResponse) GetMissingZones() []string { // GetOperationRequest gets a single operation. type GetOperationRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The server-assigned `name` of the operation. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The server-assigned `name` of the operation. + // This field has been deprecated and replaced by the name field. + OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, operation id) of the operation to get. + // Specified in the format 'projects/*/locations/*/operations/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2944,7 +3358,7 @@ func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} } func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } func (*GetOperationRequest) ProtoMessage() {} func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{29} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{30} } func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) @@ -2964,6 +3378,7 @@ func (m *GetOperationRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *GetOperationRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2971,6 +3386,7 @@ func (m *GetOperationRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *GetOperationRequest) GetZone() string { if m != nil { return m.Zone @@ -2978,6 +3394,7 @@ func (m *GetOperationRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *GetOperationRequest) GetOperationId() string { if m != nil { return m.OperationId @@ -2985,14 +3402,27 @@ func (m *GetOperationRequest) GetOperationId() string { return "" } +func (m *GetOperationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // ListOperationsRequest lists operations. type ListOperationsRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine [zone](/compute/docs/zones#available) - // to return operations for, or `-` for all zones. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) to return operations for, or `-` for + // all zones. This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // The parent (project and location) where the operations will be listed. + // Specified in the format 'projects/*/locations/*'. + // Location "-" matches all zones and all regions. + Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3002,7 +3432,7 @@ func (m *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListOperationsRequest) ProtoMessage() {} func (*ListOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{30} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{31} } func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) @@ -3022,6 +3452,7 @@ func (m *ListOperationsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *ListOperationsRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3029,6 +3460,7 @@ func (m *ListOperationsRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *ListOperationsRequest) GetZone() string { if m != nil { return m.Zone @@ -3036,16 +3468,29 @@ func (m *ListOperationsRequest) GetZone() string { return "" } +func (m *ListOperationsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + // CancelOperationRequest cancels a single operation. type CancelOperationRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The server-assigned `name` of the operation. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The server-assigned `name` of the operation. + // This field has been deprecated and replaced by the name field. + OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, operation id) of the operation to cancel. + // Specified in the format 'projects/*/locations/*/operations/*'. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3055,7 +3500,7 @@ func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } func (*CancelOperationRequest) ProtoMessage() {} func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{31} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{32} } func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b) @@ -3075,6 +3520,7 @@ func (m *CancelOperationRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CancelOperationRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *CancelOperationRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3082,6 +3528,7 @@ func (m *CancelOperationRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *CancelOperationRequest) GetZone() string { if m != nil { return m.Zone @@ -3089,6 +3536,7 @@ func (m *CancelOperationRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *CancelOperationRequest) GetOperationId() string { if m != nil { return m.OperationId @@ -3096,6 +3544,13 @@ func (m *CancelOperationRequest) GetOperationId() string { return "" } +func (m *CancelOperationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // ListOperationsResponse is the result of ListOperationsRequest. type ListOperationsResponse struct { // A list of operations in the project in the specified zone. @@ -3112,7 +3567,7 @@ func (m *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListOperationsResponse) ProtoMessage() {} func (*ListOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{32} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{33} } func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOperationsResponse.Unmarshal(m, b) @@ -3146,14 +3601,19 @@ func (m *ListOperationsResponse) GetMissingZones() []string { return nil } -// Gets the current Container Engine service configuration. +// Gets the current Kubernetes Engine service configuration. type GetServerConfigRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine [zone](/compute/docs/zones#available) - // to return operations for. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) to return operations for. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // The name (project and location) of the server config to get + // Specified in the format 'projects/*/locations/*'. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3163,7 +3623,7 @@ func (m *GetServerConfigRequest) Reset() { *m = GetServerConfigRequest{} func (m *GetServerConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetServerConfigRequest) ProtoMessage() {} func (*GetServerConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{33} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{34} } func (m *GetServerConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServerConfigRequest.Unmarshal(m, b) @@ -3183,6 +3643,7 @@ func (m *GetServerConfigRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetServerConfigRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *GetServerConfigRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3190,6 +3651,7 @@ func (m *GetServerConfigRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *GetServerConfigRequest) GetZone() string { if m != nil { return m.Zone @@ -3197,7 +3659,14 @@ func (m *GetServerConfigRequest) GetZone() string { return "" } -// Container Engine service configuration. +func (m *GetServerConfigRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Kubernetes Engine service configuration. type ServerConfig struct { // Version of Kubernetes the service deploys by default. DefaultClusterVersion string `protobuf:"bytes,1,opt,name=default_cluster_version,json=defaultClusterVersion,proto3" json:"default_cluster_version,omitempty"` @@ -3218,7 +3687,7 @@ func (m *ServerConfig) Reset() { *m = ServerConfig{} } func (m *ServerConfig) String() string { return proto.CompactTextString(m) } func (*ServerConfig) ProtoMessage() {} func (*ServerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{34} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{35} } func (m *ServerConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServerConfig.Unmarshal(m, b) @@ -3275,27 +3744,34 @@ func (m *ServerConfig) GetValidMasterVersions() []string { // CreateNodePoolRequest creates a node pool for a cluster. type CreateNodePoolRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the parent field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The node pool to create. - NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"` + // The parent (project, location, cluster id) where the node pool will be + // created. Specified in the format + // 'projects/*/locations/*/clusters/*'. + Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CreateNodePoolRequest) Reset() { *m = CreateNodePoolRequest{} } func (m *CreateNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*CreateNodePoolRequest) ProtoMessage() {} func (*CreateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{35} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{36} } func (m *CreateNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNodePoolRequest.Unmarshal(m, b) @@ -3315,6 +3791,7 @@ func (m *CreateNodePoolRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CreateNodePoolRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *CreateNodePoolRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3322,6 +3799,7 @@ func (m *CreateNodePoolRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *CreateNodePoolRequest) GetZone() string { if m != nil { return m.Zone @@ -3329,6 +3807,7 @@ func (m *CreateNodePoolRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *CreateNodePoolRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -3343,19 +3822,34 @@ func (m *CreateNodePoolRequest) GetNodePool() *NodePool { return nil } +func (m *CreateNodePoolRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + // DeleteNodePoolRequest deletes a node pool for a cluster. type DeleteNodePoolRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to delete. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to delete. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster, node pool id) of the node pool to + // delete. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3365,7 +3859,7 @@ func (m *DeleteNodePoolRequest) Reset() { *m = DeleteNodePoolRequest{} } func (m *DeleteNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNodePoolRequest) ProtoMessage() {} func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{36} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{37} } func (m *DeleteNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNodePoolRequest.Unmarshal(m, b) @@ -3385,6 +3879,7 @@ func (m *DeleteNodePoolRequest) XXX_DiscardUnknown() { var xxx_messageInfo_DeleteNodePoolRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *DeleteNodePoolRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3392,6 +3887,7 @@ func (m *DeleteNodePoolRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *DeleteNodePoolRequest) GetZone() string { if m != nil { return m.Zone @@ -3399,6 +3895,7 @@ func (m *DeleteNodePoolRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *DeleteNodePoolRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -3406,6 +3903,7 @@ func (m *DeleteNodePoolRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *DeleteNodePoolRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -3413,17 +3911,30 @@ func (m *DeleteNodePoolRequest) GetNodePoolId() string { return "" } +func (m *DeleteNodePoolRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // ListNodePoolsRequest lists the node pool(s) for a cluster. type ListNodePoolsRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the parent field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The parent (project, location, cluster id) where the node pools will be + // listed. Specified in the format 'projects/*/locations/*/clusters/*'. + Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3433,7 +3944,7 @@ func (m *ListNodePoolsRequest) Reset() { *m = ListNodePoolsRequest{} } func (m *ListNodePoolsRequest) String() string { return proto.CompactTextString(m) } func (*ListNodePoolsRequest) ProtoMessage() {} func (*ListNodePoolsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{37} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{38} } func (m *ListNodePoolsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNodePoolsRequest.Unmarshal(m, b) @@ -3453,6 +3964,7 @@ func (m *ListNodePoolsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListNodePoolsRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *ListNodePoolsRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3460,6 +3972,7 @@ func (m *ListNodePoolsRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *ListNodePoolsRequest) GetZone() string { if m != nil { return m.Zone @@ -3467,6 +3980,7 @@ func (m *ListNodePoolsRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *ListNodePoolsRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -3474,19 +3988,34 @@ func (m *ListNodePoolsRequest) GetClusterId() string { return "" } +func (m *ListNodePoolsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + // GetNodePoolRequest retrieves a node pool for a cluster. type GetNodePoolRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster, node pool id) of the node pool to + // get. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -3496,7 +4025,7 @@ func (m *GetNodePoolRequest) Reset() { *m = GetNodePoolRequest{} } func (m *GetNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*GetNodePoolRequest) ProtoMessage() {} func (*GetNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{38} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{39} } func (m *GetNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNodePoolRequest.Unmarshal(m, b) @@ -3516,6 +4045,7 @@ func (m *GetNodePoolRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetNodePoolRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *GetNodePoolRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -3523,6 +4053,7 @@ func (m *GetNodePoolRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *GetNodePoolRequest) GetZone() string { if m != nil { return m.Zone @@ -3530,6 +4061,7 @@ func (m *GetNodePoolRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *GetNodePoolRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -3537,6 +4069,7 @@ func (m *GetNodePoolRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *GetNodePoolRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -3544,6 +4077,13 @@ func (m *GetNodePoolRequest) GetNodePoolId() string { return "" } +func (m *GetNodePoolRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // NodePool contains the name and configuration for a cluster's node pool. // Node pools are a set of nodes (i.e. VM's), with a common configuration and // specification, under the control of the cluster master. They may have a set @@ -3587,7 +4127,7 @@ func (m *NodePool) Reset() { *m = NodePool{} } func (m *NodePool) String() string { return proto.CompactTextString(m) } func (*NodePool) ProtoMessage() {} func (*NodePool) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{39} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{40} } func (m *NodePool) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodePool.Unmarshal(m, b) @@ -3700,7 +4240,7 @@ func (m *NodeManagement) Reset() { *m = NodeManagement{} } func (m *NodeManagement) String() string { return proto.CompactTextString(m) } func (*NodeManagement) ProtoMessage() {} func (*NodeManagement) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{40} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{41} } func (m *NodeManagement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeManagement.Unmarshal(m, b) @@ -3760,7 +4300,7 @@ func (m *AutoUpgradeOptions) Reset() { *m = AutoUpgradeOptions{} } func (m *AutoUpgradeOptions) String() string { return proto.CompactTextString(m) } func (*AutoUpgradeOptions) ProtoMessage() {} func (*AutoUpgradeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{41} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{42} } func (m *AutoUpgradeOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AutoUpgradeOptions.Unmarshal(m, b) @@ -3807,7 +4347,7 @@ func (m *MaintenancePolicy) Reset() { *m = MaintenancePolicy{} } func (m *MaintenancePolicy) String() string { return proto.CompactTextString(m) } func (*MaintenancePolicy) ProtoMessage() {} func (*MaintenancePolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{42} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{43} } func (m *MaintenancePolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MaintenancePolicy.Unmarshal(m, b) @@ -3848,7 +4388,7 @@ func (m *MaintenanceWindow) Reset() { *m = MaintenanceWindow{} } func (m *MaintenanceWindow) String() string { return proto.CompactTextString(m) } func (*MaintenanceWindow) ProtoMessage() {} func (*MaintenanceWindow) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{43} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{44} } func (m *MaintenanceWindow) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MaintenanceWindow.Unmarshal(m, b) @@ -3967,7 +4507,7 @@ func (m *DailyMaintenanceWindow) Reset() { *m = DailyMaintenanceWindow{} func (m *DailyMaintenanceWindow) String() string { return proto.CompactTextString(m) } func (*DailyMaintenanceWindow) ProtoMessage() {} func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{44} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{45} } func (m *DailyMaintenanceWindow) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DailyMaintenanceWindow.Unmarshal(m, b) @@ -4004,29 +4544,37 @@ func (m *DailyMaintenanceWindow) GetDuration() string { // SetNodePoolManagementRequest sets the node management properties of a node // pool. type SetNodePoolManagementRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to update. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to update. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to update. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to update. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. // NodeManagement configuration for the node pool. - Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` + // The name (project, location, cluster, node pool id) of the node pool to set + // management properties. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SetNodePoolManagementRequest) Reset() { *m = SetNodePoolManagementRequest{} } func (m *SetNodePoolManagementRequest) String() string { return proto.CompactTextString(m) } func (*SetNodePoolManagementRequest) ProtoMessage() {} func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{45} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{46} } func (m *SetNodePoolManagementRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNodePoolManagementRequest.Unmarshal(m, b) @@ -4046,6 +4594,7 @@ func (m *SetNodePoolManagementRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetNodePoolManagementRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetNodePoolManagementRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4053,6 +4602,7 @@ func (m *SetNodePoolManagementRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolManagementRequest) GetZone() string { if m != nil { return m.Zone @@ -4060,6 +4610,7 @@ func (m *SetNodePoolManagementRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolManagementRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4067,6 +4618,7 @@ func (m *SetNodePoolManagementRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolManagementRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -4081,22 +4633,37 @@ func (m *SetNodePoolManagementRequest) GetManagement() *NodeManagement { return nil } +func (m *SetNodePoolManagementRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetNodePoolSizeRequest sets the size a node // pool. type SetNodePoolSizeRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to update. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to update. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to update. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to update. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. // The desired node count for the pool. - NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` + NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` + // The name (project, location, cluster, node pool id) of the node pool to set + // size. + // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -4106,7 +4673,7 @@ func (m *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) } func (*SetNodePoolSizeRequest) ProtoMessage() {} func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{46} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{47} } func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b) @@ -4126,6 +4693,7 @@ func (m *SetNodePoolSizeRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetNodePoolSizeRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetNodePoolSizeRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4133,6 +4701,7 @@ func (m *SetNodePoolSizeRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolSizeRequest) GetZone() string { if m != nil { return m.Zone @@ -4140,6 +4709,7 @@ func (m *SetNodePoolSizeRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolSizeRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4147,6 +4717,7 @@ func (m *SetNodePoolSizeRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *SetNodePoolSizeRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -4161,21 +4732,36 @@ func (m *SetNodePoolSizeRequest) GetNodeCount() int32 { return 0 } +func (m *SetNodePoolSizeRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed // NodePool upgrade. This will be an no-op if the last upgrade successfully // completed. type RollbackNodePoolUpgradeRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to rollback. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to rollback. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to rollback. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to rollback. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster, node pool id) of the node poll to + // rollback upgrade. + // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -4185,7 +4771,7 @@ func (m *RollbackNodePoolUpgradeRequest) Reset() { *m = RollbackNodePool func (m *RollbackNodePoolUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*RollbackNodePoolUpgradeRequest) ProtoMessage() {} func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{47} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{48} } func (m *RollbackNodePoolUpgradeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Unmarshal(m, b) @@ -4205,6 +4791,7 @@ func (m *RollbackNodePoolUpgradeRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RollbackNodePoolUpgradeRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4212,6 +4799,7 @@ func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *RollbackNodePoolUpgradeRequest) GetZone() string { if m != nil { return m.Zone @@ -4219,6 +4807,7 @@ func (m *RollbackNodePoolUpgradeRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4226,6 +4815,7 @@ func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { return "" } +// Deprecated: Do not use. func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { if m != nil { return m.NodePoolId @@ -4233,6 +4823,13 @@ func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { return "" } +func (m *RollbackNodePoolUpgradeRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // ListNodePoolsResponse is the result of ListNodePoolsRequest. type ListNodePoolsResponse struct { // A list of node pools for a cluster. @@ -4246,7 +4843,7 @@ func (m *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } func (*ListNodePoolsResponse) ProtoMessage() {} func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{48} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{49} } func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) @@ -4293,7 +4890,7 @@ func (m *NodePoolAutoscaling) Reset() { *m = NodePoolAutoscaling{} } func (m *NodePoolAutoscaling) String() string { return proto.CompactTextString(m) } func (*NodePoolAutoscaling) ProtoMessage() {} func (*NodePoolAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{49} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{50} } func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) @@ -4338,24 +4935,30 @@ func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 { // Engine cluster, which will in turn set them for Google Compute Engine // resources used by that cluster type SetLabelsRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The labels to set for that cluster. ResourceLabels map[string]string `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The fingerprint of the previous set of labels for this resource, // used to detect conflicts. The fingerprint is initially generated by - // Container Engine and changes after every request to modify or update + // Kubernetes Engine and changes after every request to modify or update // labels. You must always provide an up-to-date fingerprint hash when // updating or changing labels. Make a get() request to the // resource to get the latest fingerprint. - LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` + LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` + // The name (project, location, cluster id) of the cluster to set labels. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -4365,7 +4968,7 @@ func (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } func (*SetLabelsRequest) ProtoMessage() {} func (*SetLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{50} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{51} } func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) @@ -4385,6 +4988,7 @@ func (m *SetLabelsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetLabelsRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4392,6 +4996,7 @@ func (m *SetLabelsRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetLabelsRequest) GetZone() string { if m != nil { return m.Zone @@ -4399,6 +5004,7 @@ func (m *SetLabelsRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetLabelsRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4420,20 +5026,33 @@ func (m *SetLabelsRequest) GetLabelFingerprint() string { return "" } +func (m *SetLabelsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for // a cluster. type SetLegacyAbacRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to update. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to update. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // Whether ABAC authorization will be enabled in the cluster. - Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` + // The name (project, location, cluster id) of the cluster to set legacy abac. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -4443,7 +5062,7 @@ func (m *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} } func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) } func (*SetLegacyAbacRequest) ProtoMessage() {} func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{51} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{52} } func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) @@ -4463,6 +5082,7 @@ func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetLegacyAbacRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4470,6 +5090,7 @@ func (m *SetLegacyAbacRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetLegacyAbacRequest) GetZone() string { if m != nil { return m.Zone @@ -4477,6 +5098,7 @@ func (m *SetLegacyAbacRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetLegacyAbacRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4491,18 +5113,33 @@ func (m *SetLegacyAbacRequest) GetEnabled() bool { return false } +func (m *SetLegacyAbacRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // StartIPRotationRequest creates a new IP for the cluster and then performs // a node upgrade on each node pool to point to the new IP. type StartIPRotationRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster id) of the cluster to start IP + // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // Whether to rotate credentials during IP rotation. + RotateCredentials bool `protobuf:"varint,7,opt,name=rotate_credentials,json=rotateCredentials,proto3" json:"rotate_credentials,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -4512,7 +5149,7 @@ func (m *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) } func (*StartIPRotationRequest) ProtoMessage() {} func (*StartIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{52} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{53} } func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) @@ -4532,6 +5169,7 @@ func (m *StartIPRotationRequest) XXX_DiscardUnknown() { var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *StartIPRotationRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4539,6 +5177,7 @@ func (m *StartIPRotationRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *StartIPRotationRequest) GetZone() string { if m != nil { return m.Zone @@ -4546,6 +5185,7 @@ func (m *StartIPRotationRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *StartIPRotationRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4553,17 +5193,37 @@ func (m *StartIPRotationRequest) GetClusterId() string { return "" } +func (m *StartIPRotationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *StartIPRotationRequest) GetRotateCredentials() bool { + if m != nil { + return m.RotateCredentials + } + return false +} + // CompleteIPRotationRequest moves the cluster master back into single-IP mode. type CompleteIPRotationRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster id) of the cluster to complete IP + // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -4573,7 +5233,7 @@ func (m *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationReq func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) } func (*CompleteIPRotationRequest) ProtoMessage() {} func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{53} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{54} } func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) @@ -4593,6 +5253,7 @@ func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *CompleteIPRotationRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4600,6 +5261,7 @@ func (m *CompleteIPRotationRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *CompleteIPRotationRequest) GetZone() string { if m != nil { return m.Zone @@ -4607,6 +5269,7 @@ func (m *CompleteIPRotationRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *CompleteIPRotationRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4614,6 +5277,13 @@ func (m *CompleteIPRotationRequest) GetClusterId() string { return "" } +func (m *CompleteIPRotationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // AcceleratorConfig represents a Hardware Accelerator request. type AcceleratorConfig struct { // The number of the accelerator cards exposed to an instance. @@ -4630,7 +5300,7 @@ func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } func (*AcceleratorConfig) ProtoMessage() {} func (*AcceleratorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{54} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{55} } func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) @@ -4666,27 +5336,33 @@ func (m *AcceleratorConfig) GetAcceleratorType() string { // SetNetworkPolicyRequest enables/disables network policy for a cluster. type SetNetworkPolicyRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // Configuration options for the NetworkPolicy feature. - NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` + // The name (project, location, cluster id) of the cluster to set networking + // policy. Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest{} } func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) } func (*SetNetworkPolicyRequest) ProtoMessage() {} func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{55} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{56} } func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) @@ -4706,6 +5382,7 @@ func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *SetNetworkPolicyRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -4713,6 +5390,7 @@ func (m *SetNetworkPolicyRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *SetNetworkPolicyRequest) GetZone() string { if m != nil { return m.Zone @@ -4720,6 +5398,7 @@ func (m *SetNetworkPolicyRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *SetNetworkPolicyRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -4734,6 +5413,13 @@ func (m *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy { return nil } +func (m *SetNetworkPolicyRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + // SetMaintenancePolicyRequest sets the maintenance policy for a cluster. type SetMaintenancePolicyRequest struct { // The Google Developers Console [project ID or project @@ -4747,17 +5433,21 @@ type SetMaintenancePolicyRequest struct { ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The maintenance policy to be set for the cluster. An empty field // clears the existing maintenance policy. - MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` + // The name (project, location, cluster id) of the cluster to set maintenance + // policy. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SetMaintenancePolicyRequest) Reset() { *m = SetMaintenancePolicyRequest{} } func (m *SetMaintenancePolicyRequest) String() string { return proto.CompactTextString(m) } func (*SetMaintenancePolicyRequest) ProtoMessage() {} func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_b0771aae25843ee0, []int{56} + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{57} } func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) @@ -4805,6 +5495,67 @@ func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy return nil } +func (m *SetMaintenancePolicyRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// NetworkConfig reports the relative names of network & subnetwork. +type NetworkConfig struct { + // Output only. The relative name of the Google Compute Engine + // [network][google.container.v1.NetworkConfig.network](/compute/docs/networks-and-firewalls#networks) to which + // the cluster is connected. + // Example: projects/my-project/global/networks/my-network + Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` + // Output only. The relative name of the Google Compute Engine + // [subnetwork](/compute/docs/vpc) to which the cluster is connected. + // Example: projects/my-project/regions/us-central1/subnetworks/my-subnet + Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NetworkConfig) Reset() { *m = NetworkConfig{} } +func (m *NetworkConfig) String() string { return proto.CompactTextString(m) } +func (*NetworkConfig) ProtoMessage() {} +func (*NetworkConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_ddce0395d8fb4971, []int{58} +} +func (m *NetworkConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NetworkConfig.Unmarshal(m, b) +} +func (m *NetworkConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NetworkConfig.Marshal(b, m, deterministic) +} +func (dst *NetworkConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkConfig.Merge(dst, src) +} +func (m *NetworkConfig) XXX_Size() int { + return xxx_messageInfo_NetworkConfig.Size(m) +} +func (m *NetworkConfig) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkConfig proto.InternalMessageInfo + +func (m *NetworkConfig) GetNetwork() string { + if m != nil { + return m.Network + } + return "" +} + +func (m *NetworkConfig) GetSubnetwork() string { + if m != nil { + return m.Subnetwork + } + return "" +} + func init() { proto.RegisterType((*NodeConfig)(nil), "google.container.v1.NodeConfig") proto.RegisterMapType((map[string]string)(nil), "google.container.v1.NodeConfig.LabelsEntry") @@ -4816,6 +5567,7 @@ func init() { proto.RegisterType((*HorizontalPodAutoscaling)(nil), "google.container.v1.HorizontalPodAutoscaling") proto.RegisterType((*KubernetesDashboard)(nil), "google.container.v1.KubernetesDashboard") proto.RegisterType((*NetworkPolicyConfig)(nil), "google.container.v1.NetworkPolicyConfig") + proto.RegisterType((*PrivateClusterConfig)(nil), "google.container.v1.PrivateClusterConfig") proto.RegisterType((*MasterAuthorizedNetworksConfig)(nil), "google.container.v1.MasterAuthorizedNetworksConfig") proto.RegisterType((*MasterAuthorizedNetworksConfig_CidrBlock)(nil), "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock") proto.RegisterType((*LegacyAbac)(nil), "google.container.v1.LegacyAbac") @@ -4868,6 +5620,7 @@ func init() { proto.RegisterType((*AcceleratorConfig)(nil), "google.container.v1.AcceleratorConfig") proto.RegisterType((*SetNetworkPolicyRequest)(nil), "google.container.v1.SetNetworkPolicyRequest") proto.RegisterType((*SetMaintenancePolicyRequest)(nil), "google.container.v1.SetMaintenancePolicyRequest") + proto.RegisterType((*NetworkConfig)(nil), "google.container.v1.NetworkConfig") proto.RegisterEnum("google.container.v1.NetworkPolicy_Provider", NetworkPolicy_Provider_name, NetworkPolicy_Provider_value) proto.RegisterEnum("google.container.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) proto.RegisterEnum("google.container.v1.Operation_Status", Operation_Status_name, Operation_Status_value) @@ -4909,22 +5662,22 @@ type ClusterManagerClient interface { CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the settings of a specific cluster. UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the version and/or image type of a specific node pool. + // Updates the version and/or image type for a specific node pool. UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the autoscaling settings of a specific node pool. + // Sets the autoscaling settings for a specific node pool. SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the logging service of a specific cluster. + // Sets the logging service for a specific cluster. SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the monitoring service of a specific cluster. + // Sets the monitoring service for a specific cluster. SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the addons of a specific cluster. + // Sets the addons for a specific cluster. SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the locations of a specific cluster. + // Sets the locations for a specific cluster. SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the master of a specific cluster. + // Updates the master for a specific cluster. UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error) // Used to set master auth materials. Currently supports :- - // Changing the admin password of a specific cluster. + // Changing the admin password for a specific cluster. // This can be either via password generation or explicitly set the password. SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error) // Deletes the cluster, including the Kubernetes endpoint and all worker @@ -4943,7 +5696,7 @@ type ClusterManagerClient interface { GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) // Cancels the specified operation. CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns configuration info about the Container Engine service. + // Returns configuration info about the Kubernetes Engine service. GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) // Lists the node pools for a cluster. ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) @@ -4966,7 +5719,7 @@ type ClusterManagerClient interface { StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the size of a specific node pool. + // Sets the size for a specific node pool. SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error) // Enables/Disables Network Policy for a cluster. SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error) @@ -5275,22 +6028,22 @@ type ClusterManagerServer interface { CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error) // Updates the settings of a specific cluster. UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error) - // Updates the version and/or image type of a specific node pool. + // Updates the version and/or image type for a specific node pool. UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error) - // Sets the autoscaling settings of a specific node pool. + // Sets the autoscaling settings for a specific node pool. SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error) - // Sets the logging service of a specific cluster. + // Sets the logging service for a specific cluster. SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error) - // Sets the monitoring service of a specific cluster. + // Sets the monitoring service for a specific cluster. SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error) - // Sets the addons of a specific cluster. + // Sets the addons for a specific cluster. SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error) - // Sets the locations of a specific cluster. + // Sets the locations for a specific cluster. SetLocations(context.Context, *SetLocationsRequest) (*Operation, error) - // Updates the master of a specific cluster. + // Updates the master for a specific cluster. UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error) // Used to set master auth materials. Currently supports :- - // Changing the admin password of a specific cluster. + // Changing the admin password for a specific cluster. // This can be either via password generation or explicitly set the password. SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error) // Deletes the cluster, including the Kubernetes endpoint and all worker @@ -5309,7 +6062,7 @@ type ClusterManagerServer interface { GetOperation(context.Context, *GetOperationRequest) (*Operation, error) // Cancels the specified operation. CancelOperation(context.Context, *CancelOperationRequest) (*empty.Empty, error) - // Returns configuration info about the Container Engine service. + // Returns configuration info about the Kubernetes Engine service. GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error) // Lists the node pools for a cluster. ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error) @@ -5332,7 +6085,7 @@ type ClusterManagerServer interface { StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error) - // Sets the size of a specific node pool. + // Sets the size for a specific node pool. SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error) // Enables/Disables Network Policy for a cluster. SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error) @@ -6014,297 +6767,339 @@ var _ClusterManager_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/container/v1/cluster_service.proto", fileDescriptor_cluster_service_b0771aae25843ee0) -} - -var fileDescriptor_cluster_service_b0771aae25843ee0 = []byte{ - // 4602 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5c, 0xdd, 0x8f, 0x23, 0x57, - 0x56, 0xdf, 0xea, 0x76, 0xbb, 0xdb, 0xc7, 0x1f, 0xed, 0xbe, 0xfd, 0xe5, 0x38, 0x33, 0xc9, 0x4c, - 0xe5, 0x6b, 0x32, 0x49, 0xda, 0x99, 0x7c, 0x67, 0x92, 0x0d, 0xf1, 0xb8, 0x9d, 0x1e, 0x67, 0xba, - 0x6d, 0xa7, 0xdc, 0x3d, 0x43, 0xc2, 0xec, 0x96, 0xaa, 0xab, 0x6e, 0xbb, 0x2b, 0x5d, 0xae, 0xaa, - 0xad, 0x2a, 0x77, 0xd2, 0x33, 0x1a,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, 0x28, 0x66, 0x17, 0x33, - 0xd4, 0x8b, 0x54, 0xee, 0x11, 0xce, 0xd3, 0xf1, 0x59, 0x24, 0xc2, 0x41, 0x15, 0xa8, 0xc2, 0xc5, - 0x60, 0xb9, 0xd8, 0x19, 0x96, 0xe8, 0x0c, 0x65, 0x9f, 0x29, 0x66, 0x8a, 0x57, 0x61, 0x73, 0xc4, - 0x06, 0x7c, 0x47, 0x66, 0x22, 0xb1, 0xc8, 0x47, 0xcd, 0xb6, 0x77, 0x05, 0xd6, 0xa2, 0xe6, 0xe0, - 0x32, 0xc0, 0xa2, 0x51, 0xd8, 0x28, 0x4c, 0xe0, 0x75, 0x28, 0x8d, 0x5a, 0x86, 0x0b, 0x65, 0xa9, - 0xd0, 0xfa, 0xb0, 0x7d, 0xd8, 0x31, 0xf8, 0x97, 0x65, 0x58, 0xac, 0x31, 0x08, 0x24, 0x19, 0x0a, - 0x1d, 0x26, 0xfa, 0x9b, 0x24, 0x43, 0x1a, 0x76, 0x55, 0x47, 0xb7, 0xc9, 0xae, 0xe2, 0xc7, 0x28, - 0x4c, 0x22, 0x2f, 0x45, 0x37, 0x75, 0x4f, 0x57, 0x0c, 0x99, 0x62, 0x66, 0xd9, 0xd6, 0x3c, 0xcd, - 0xb6, 0x8a, 0x7c, 0x84, 0x65, 0x6b, 0x24, 0xe1, 0x7a, 0x17, 0xb2, 0x9c, 0x2b, 0xe4, 0x85, 0x1f, - 0x9f, 0x90, 0xe2, 0x49, 0x60, 0x0e, 0x52, 0xe3, 0x77, 0x21, 0xdb, 0xa3, 0xfe, 0x83, 0xc4, 0xa4, - 0x63, 0xba, 0x4f, 0x92, 0x66, 0x18, 0xf8, 0x19, 0x09, 0x7a, 0x83, 0x0c, 0xe6, 0x19, 0x92, 0x1c, - 0x76, 0xbb, 0xba, 0xd9, 0xf5, 0x93, 0x7a, 0xbe, 0x87, 0x0a, 0x9c, 0xdc, 0x61, 0x54, 0x92, 0x12, - 0xf4, 0x2c, 0x53, 0xf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, 0x6e, 0xf0, 0x53, 0x56, 0x84, 0x37, 0x00, 0xf1, 0x07, 0xf9, 0x4e, 0x63, 0xff, - 0xa6, 0xcc, 0xea, 0xbf, 0xf3, 0xc3, 0x95, 0xe2, 0x54, 0xa4, 0x52, 0xbc, 0x30, 0xa8, 0x14, 0xa7, - 0xc5, 0x1f, 0x0a, 0x50, 0x88, 0x42, 0x24, 0xc1, 0x89, 0xa8, 0x2a, 0xf7, 0xed, 0xae, 0xa3, 0x68, - 0xfe, 0xe7, 0x48, 0x54, 0xfd, 0x03, 0x46, 0x42, 0x8f, 0x33, 0x53, 0xca, 0x0e, 0xb6, 0x15, 0xdd, - 0xe1, 0x5f, 0x09, 0x00, 0x21, 0x49, 0x94, 0x82, 0xda, 0xb0, 0xcc, 0xc5, 0x65, 0xcb, 0xf6, 0x2b, - 0x9b, 0xc9, 0x9d, 0xaa, 0xea, 0x60, 0xee, 0x16, 0x63, 0x97, 0x0a, 0xfd, 0xc8, 0xb3, 0xd8, 0x03, - 0x34, 0xca, 0x85, 0x5e, 0x85, 0xcd, 0x30, 0x56, 0x39, 0x54, 0x1f, 0x63, 0xa7, 0x65, 0x2d, 0x04, - 0xbb, 0x13, 0x94, 0xca, 0x26, 0x36, 0xb4, 0xc5, 0x0e, 0xac, 0x8c, 0x74, 0x99, 0xd0, 0x3b, 0x90, - 0xfe, 0x44, 0x37, 0x35, 0xeb, 0x93, 0xb1, 0x1f, 0x57, 0x85, 0xe4, 0xee, 0x50, 0x6e, 0x89, 0x4b, - 0x89, 0xbf, 0x2a, 0x44, 0x66, 0x65, 0xa3, 0xa8, 0x0b, 0x25, 0x4d, 0xd1, 0x8d, 0x33, 0x39, 0xdc, - 0x05, 0xe3, 0xeb, 0xb0, 0xc3, 0x1d, 0xff, 0x69, 0xc9, 0x36, 0x11, 0x1a, 0x99, 0xee, 0xe6, 0xd7, - 0xa4, 0x0d, 0x2d, 0x76, 0xe4, 0xc6, 0x12, 0xa4, 0x59, 0x73, 0x4d, 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, 0x74, 0xaa, 0x8f, - 0x2a, 0x7e, 0x73, 0x26, 0xfa, 0x5c, 0x77, 0x38, 0x3a, 0x7e, 0x11, 0x58, 0x8f, 0xad, 0x6c, 0xa3, - 0x6b, 0x93, 0xee, 0x01, 0x23, 0x55, 0xf0, 0x89, 0x7a, 0x99, 0x54, 0xaf, 0x63, 0x51, 0x9d, 0xcd, - 0x35, 0x80, 0x46, 0x75, 0x1f, 0x13, 0x51, 0xee, 0x33, 0x01, 0x32, 0x41, 0xc5, 0x10, 0x3d, 0x75, - 0xae, 0x8a, 0xe2, 0x44, 0x25, 0x6e, 0x53, 0x25, 0xda, 0xe2, 0xad, 0xa9, 0x94, 0x88, 0x96, 0x28, - 0x79, 0x02, 0x9d, 0x8f, 0x54, 0x0d, 0x93, 0xd3, 0xa6, 0x91, 0xca, 0xe2, 0x97, 0x94, 0xf1, 0x0f, - 0xfe, 0xfe, 0x8b, 0x00, 0xfe, 0x0b, 0x92, 0xf1, 0x47, 0x4b, 0x8c, 0x49, 0x19, 0x7f, 0x6c, 0x21, - 0x72, 0x22, 0xe8, 0x3b, 0x14, 0xf4, 0x07, 0xe2, 0xee, 0x74, 0xb9, 0x1e, 0x5d, 0xdc, 0xf6, 0x17, - 0x27, 0xc8, 0xff, 0x4e, 0x00, 0x34, 0x5a, 0xb0, 0x44, 0x5b, 0xf1, 0x4e, 0x34, 0xa9, 0xb2, 0x39, - 0x11, 0xff, 0x47, 0x14, 0xff, 0xbe, 0xd8, 0x9a, 0x0a, 0xbf, 0xea, 0xaf, 0x1f, 0x51, 0xe1, 0x1f, - 0xd8, 0x75, 0x2b, 0xdc, 0xb7, 0x49, 0xbe, 0x6e, 0xc5, 0x74, 0x77, 0x26, 0x82, 0x3f, 0xa6, 0xe0, - 0x0f, 0xc5, 0x6f, 0xcc, 0xec, 0xac, 0x12, 0x34, 0x44, 0x95, 0xbf, 0x12, 0x68, 0xa7, 0x21, 0xfa, - 0x47, 0xe8, 0xcf, 0x27, 0xea, 0x12, 0x53, 0x88, 0x9d, 0xa8, 0xcc, 0xcf, 0x53, 0x65, 0x24, 0x71, - 0x6f, 0xda, 0x5b, 0x43, 0x64, 0x75, 0x02, 0xfe, 0xa7, 0xfc, 0xd6, 0x3e, 0xd2, 0x50, 0x1d, 0xf3, - 0xf5, 0x5f, 0x7c, 0x41, 0x76, 0xa2, 0x12, 0x77, 0xa9, 0x12, 0xb7, 0xc5, 0x0f, 0xa6, 0xbf, 0xfa, - 0x0c, 0x21, 0xb8, 0x2e, 0x5c, 0xbd, 0xf1, 0x43, 0x01, 0x36, 0x55, 0xab, 0x17, 0x87, 0xe1, 0xc6, - 0x6a, 0xcd, 0xff, 0x1b, 0x72, 0x5a, 0x66, 0x68, 0x93, 0x9c, 0xb7, 0x2d, 0x7c, 0xf4, 0x36, 0xe7, - 0xed, 0x5a, 0x86, 0x62, 0x76, 0xb7, 0x2c, 0xa7, 0x5b, 0xe9, 0x62, 0x93, 0x66, 0xc4, 0x15, 0x36, - 0xa4, 0xd8, 0xba, 0x1b, 0xf9, 0xdf, 0x86, 0xde, 0x0a, 0x1e, 0x3e, 0x9b, 0x7b, 0x64, 0x87, 0x89, - 0xd7, 0x0c, 0xab, 0xaf, 0x6d, 0xd5, 0x82, 0x05, 0x6f, 0x5f, 0xfb, 0x27, 0x7f, 0xec, 0x2e, 0x1d, - 0xbb, 0x1b, 0x8c, 0xdd, 0xbd, 0x7d, 0xed, 0x30, 0x4d, 0x17, 0x78, 0xf9, 0xff, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x02, 0x2c, 0x64, 0x0b, 0xcd, 0x48, 0x00, 0x00, + proto.RegisterFile("google/container/v1/cluster_service.proto", fileDescriptor_cluster_service_ddce0395d8fb4971) +} + +var fileDescriptor_cluster_service_ddce0395d8fb4971 = []byte{ + // 5271 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3c, 0x6d, 0x8c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 0x33, 0x0d, 0x87, 0xa2, 0x14, 0x1f, 0x64, 0xa3, 0xe4, 0x6b, 0xbb, 0x7b, + 0xa3, 0xa4, 0x76, 0x2c, 0x77, 0x8f, 0x0e, 0x8a, 0xdf, 0x1e, 0x07, 0x58, 0x37, 0x5b, 0x6a, 0xc5, + 0x34, 0x6e, 0x68, 0x6d, 0x74, 0x0a, 0xb2, 0x1d, 0xa5, 0xb9, 0xa3, 0x19, 0xaa, 0xec, 0xee, 0x59, + 0x6a, 0x41, 0x38, 0x29, 0x9c, 0x49, 0x4b, 0x19, 0x06, 0xdb, 0xdc, 0xb3, 0x54, 0x74, 0x12, 0xb2, + 0x2d, 0xcd, 0xd9, 0x95, 0x1d, 0xed, 0x96, 0x2a, 0xb7, 0xb7, 0x0b, 0x89, 0x93, 0xc2, 0x99, 0x71, + 0x09, 0x30, 0xac, 0xa1, 0xdd, 0x52, 0x57, 0xb6, 0xf1, 0x22, 0xa6, 0xd2, 0x75, 0x77, 0x64, 0xa7, + 0x69, 0x5a, 0xaa, 0x53, 0x18, 0x3b, 0x39, 0x86, 0x17, 0x21, 0xb0, 0x06, 0x01, 0xa1, 0xc7, 0x60, + 0x9a, 0xf1, 0x25, 0x2b, 0xcd, 0xa6, 0xd9, 0x35, 0xdc, 0x42, 0x9a, 0x6c, 0x95, 0x63, 0xe0, 0x32, + 0x85, 0xa2, 0x1a, 0x4c, 0x76, 0x54, 0x57, 0x69, 0x29, 0xae, 0x52, 0x48, 0x9e, 0x1c, 0x3b, 0x93, + 0x39, 0xff, 0xe4, 0x52, 0x84, 0x08, 0x96, 0x02, 0x1e, 0x96, 0xd6, 0xd8, 0xfc, 0xaa, 0xe1, 0xda, + 0x7b, 0x92, 0x8f, 0x8e, 0x4e, 0x00, 0x68, 0x1d, 0xa5, 0xcd, 0x38, 0x1b, 0x27, 0xdb, 0xa5, 0x09, + 0x84, 0xf0, 0x55, 0x81, 0x94, 0xae, 0x6c, 0xab, 0xba, 0x53, 0x48, 0x91, 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xe3, 0x41, 0xc0, + 0xdb, 0x34, 0x8d, 0x96, 0x62, 0xef, 0xc9, 0xb6, 0x62, 0xb4, 0x55, 0xca, 0xc1, 0x04, 0xe1, 0xe0, + 0x01, 0x36, 0xa7, 0xe1, 0x4d, 0x91, 0xf0, 0x0c, 0xc2, 0x4c, 0x19, 0x4e, 0xf8, 0x5b, 0x46, 0xae, + 0x30, 0x49, 0x56, 0x28, 0x7a, 0x93, 0x22, 0x96, 0x78, 0x16, 0x8e, 0xf5, 0xc9, 0x83, 0x69, 0x67, + 0x3a, 0xe4, 0xa3, 0xc3, 0x17, 0xbd, 0x04, 0x73, 0x61, 0xb1, 0x30, 0x1c, 0xa0, 0x5e, 0x9a, 0x17, + 0x0c, 0x45, 0x78, 0x1e, 0x0a, 0xfd, 0xd2, 0x61, 0x48, 0x19, 0x82, 0x34, 0xdf, 0x2b, 0x1f, 0x7a, + 0x25, 0xbe, 0x39, 0x03, 0x13, 0xcc, 0x06, 0xe2, 0x08, 0x92, 0xbb, 0x58, 0xe4, 0x6f, 0x1c, 0x41, + 0xb6, 0x54, 0xa7, 0x69, 0x6b, 0x16, 0xd6, 0x30, 0x76, 0xa5, 0x78, 0x10, 0x7a, 0x02, 0x90, 0x66, + 0x68, 0xae, 0xa6, 0xe8, 0xc4, 0x58, 0xb2, 0x10, 0x75, 0x8c, 0x84, 0xa8, 0x79, 0x36, 0x42, 0x43, + 0x5c, 0x1c, 0xa5, 0xbe, 0x0a, 0x19, 0x36, 0x8b, 0xf3, 0x4e, 0x0f, 0x0f, 0x89, 0x8b, 0x25, 0x30, + 0x82, 0xf7, 0xc4, 0xab, 0x90, 0x61, 0x96, 0x13, 0x07, 0xff, 0x44, 0x5f, 0xe2, 0x56, 0x08, 0x6c, + 0x8e, 0x04, 0x9d, 0x20, 0xb2, 0x7b, 0x0c, 0x47, 0xd4, 0xed, 0xb6, 0x66, 0xb4, 0xbd, 0x97, 0x10, + 0xd5, 0x23, 0x29, 0xc7, 0xc0, 0x0d, 0x0a, 0xc5, 0xa1, 0x52, 0xc7, 0x34, 0x34, 0xd7, 0xb4, 0xf9, + 0xb9, 0x54, 0x6f, 0x66, 0x82, 0x11, 0x6f, 0x7a, 0x01, 0x26, 0xbc, 0x8b, 0x44, 0x35, 0xc3, 0xfb, + 0x44, 0x8b, 0x51, 0xd7, 0x82, 0x2a, 0x40, 0xdf, 0x95, 0x78, 0x0d, 0xa6, 0x14, 0x12, 0xfb, 0x78, + 0x32, 0x02, 0xc2, 0xe1, 0xa9, 0xe8, 0x90, 0x9c, 0x8b, 0x92, 0xa4, 0xac, 0xc2, 0xc7, 0x4c, 0x0f, + 0x01, 0x70, 0x37, 0x9b, 0x2a, 0x01, 0x07, 0x41, 0x17, 0x81, 0x48, 0x55, 0xb6, 0x4c, 0x53, 0x77, + 0x0a, 0x59, 0x62, 0xba, 0x4f, 0xc4, 0x1e, 0x44, 0xdd, 0x34, 0x75, 0x29, 0x6d, 0xb0, 0xbf, 0x1c, + 0x74, 0x1c, 0xd2, 0x9e, 0xd9, 0x71, 0x0a, 0x53, 0xe4, 0xc9, 0x11, 0x00, 0x38, 0xaf, 0xc8, 0x45, + 0x3c, 0x8a, 0x6e, 0xed, 0x28, 0x85, 0x1c, 0xef, 0x15, 0x03, 0x5f, 0x5f, 0xc6, 0x83, 0xe8, 0x0d, + 0x98, 0xb6, 0x55, 0xc7, 0xec, 0xda, 0x4d, 0x55, 0x66, 0x2f, 0xa7, 0x69, 0x42, 0xd8, 0x53, 0x31, + 0x11, 0x33, 0x11, 0xdd, 0x92, 0xc4, 0x70, 0xf8, 0xe7, 0x53, 0xce, 0x0e, 0x01, 0xb1, 0xbd, 0x23, + 0x2b, 0xca, 0x37, 0x34, 0xa3, 0xad, 0xda, 0x96, 0x8d, 0x5d, 0x62, 0x9e, 0x48, 0x25, 0x4f, 0x06, + 0x5e, 0x0b, 0xe0, 0x58, 0xc7, 0x74, 0xe2, 0x28, 0x64, 0x65, 0x5b, 0x69, 0x16, 0xd0, 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x4b, 0x87, 0xa9, 0x5a, 0x03, 0x05, 0x91, 0x09, 0xbc, 0xc5, 0x4a, 0x87, 0x2d, 0x16, + 0x7e, 0xda, 0x3b, 0xae, 0x62, 0xbb, 0xd4, 0xda, 0xd1, 0x87, 0x50, 0x9a, 0x40, 0x88, 0xb1, 0x7b, + 0x80, 0x78, 0x44, 0x3a, 0x48, 0x63, 0xdd, 0x09, 0xd5, 0x68, 0xe1, 0x21, 0x51, 0x1a, 0x6a, 0xa8, + 0x32, 0x30, 0x51, 0xaf, 0xae, 0x2f, 0x47, 0xd8, 0xa8, 0x49, 0x48, 0x2e, 0x6f, 0xac, 0x57, 0xa9, + 0x71, 0x2a, 0x5f, 0xda, 0x90, 0x36, 0x89, 0x71, 0x12, 0xff, 0x2f, 0x01, 0x49, 0x22, 0xee, 0x39, + 0xc8, 0x6f, 0xbe, 0x51, 0xaf, 0xf6, 0x2c, 0x88, 0x20, 0x57, 0x91, 0xaa, 0xe5, 0xcd, 0xaa, 0x5c, + 0x59, 0xdd, 0x6a, 0x6c, 0x56, 0xa5, 0xbc, 0x80, 0x61, 0xcb, 0xd5, 0xd5, 0x2a, 0x07, 0x4b, 0x60, + 0xd8, 0x56, 0x9d, 0x18, 0x36, 0x79, 0xad, 0x4c, 0x60, 0x63, 0x68, 0x06, 0xa6, 0x3c, 0xd8, 0xfa, + 0xc6, 0x72, 0xb5, 0x91, 0x4f, 0xe2, 0x69, 0x52, 0xb5, 0x5e, 0xae, 0x49, 0x3e, 0xea, 0x38, 0x45, + 0x5d, 0xe6, 0xb7, 0x48, 0x61, 0x62, 0xd8, 0xb6, 0x18, 0x53, 0xae, 0x6f, 0x6c, 0xac, 0xe6, 0x27, + 0x30, 0x94, 0x6d, 0x1c, 0x40, 0x27, 0xd1, 0x71, 0x28, 0x34, 0xaa, 0x9b, 0x01, 0x48, 0x5e, 0x2b, + 0xaf, 0x97, 0x57, 0xaa, 0x6b, 0xd5, 0xf5, 0xcd, 0x7c, 0x1a, 0xcd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51, 0xc4, 0x3b, + 0xd3, 0x8a, 0x65, 0x5a, 0xca, 0x32, 0xe0, 0x75, 0x0c, 0x13, 0xdf, 0x13, 0x60, 0x76, 0x45, 0x75, + 0xfd, 0x27, 0xd2, 0x5d, 0xe0, 0xf0, 0x34, 0x64, 0x83, 0x07, 0x5e, 0x48, 0xd8, 0x19, 0x1f, 0x1e, + 0x13, 0xbd, 0xbd, 0x05, 0xf3, 0x58, 0x08, 0x3e, 0x35, 0xf7, 0x52, 0xe0, 0x1f, 0x08, 0xb0, 0x50, + 0x51, 0x8c, 0xa6, 0xaa, 0xff, 0x00, 0x99, 0xe7, 0x75, 0xed, 0x0e, 0x2c, 0xf4, 0x32, 0xcf, 0x74, + 0xe0, 0x15, 0x00, 0x1f, 0xd9, 0xd3, 0x82, 0x87, 0x06, 0x3f, 0x75, 0x25, 0x0e, 0x63, 0x7f, 0x9a, + 0xd0, 0x86, 0x85, 0x15, 0xd5, 0xc5, 0x5e, 0xd2, 0x4f, 0xe2, 0x1e, 0x5e, 0x1c, 0x51, 0x7c, 0x7e, + 0x2a, 0x01, 0x59, 0x7e, 0x1b, 0xf4, 0x1c, 0x1c, 0x6b, 0xa9, 0x37, 0x94, 0xae, 0xee, 0xf6, 0x25, + 0x71, 0x69, 0x42, 0x61, 0x9e, 0x0d, 0xf7, 0x24, 0x71, 0x97, 0x60, 0xf6, 0xa6, 0xa2, 0x6b, 0xe1, + 0x3c, 0x98, 0xd7, 0x2e, 0x37, 0x43, 0x86, 0xb8, 0x34, 0x98, 0x43, 0x33, 0x48, 0x74, 0x1f, 0x2e, + 0x36, 0x4d, 0x7a, 0x19, 0x24, 0x32, 0x12, 0x64, 0x90, 0x16, 0x81, 0x2e, 0xc1, 0xcd, 0x75, 0x0a, + 0xe3, 0x64, 0xed, 0x69, 0x32, 0xe0, 0x4f, 0x75, 0xd0, 0x79, 0x98, 0xa7, 0x73, 0xc3, 0x2e, 0x85, + 0xb6, 0xc2, 0xa5, 0x25, 0x4a, 0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c, 0x02, 0x72, 0xe1, 0xea, 0x3d, 0x5a, 0x1c, 0xc0, 0x59, 0x4f, 0xd6, 0x67, 0x28, 0x6b, 0xbf, + 0x21, 0x10, 0xde, 0x7e, 0x45, 0x28, 0xbe, 0x30, 0x02, 0x73, 0x25, 0x3f, 0x50, 0x64, 0x8c, 0x2a, + 0xe2, 0x9b, 0x87, 0x61, 0x94, 0x5b, 0xef, 0x36, 0x1f, 0x07, 0xdf, 0x29, 0xd1, 0x62, 0x11, 0x16, + 0xc4, 0x37, 0x12, 0xa1, 0x57, 0x07, 0x1f, 0x95, 0x9e, 0x8f, 0x8b, 0xd1, 0xe2, 0xeb, 0xff, 0x43, + 0x05, 0xf3, 0x87, 0x54, 0x30, 0xbf, 0x27, 0x88, 0x2b, 0x07, 0x16, 0x8c, 0xa3, 0xba, 0xdc, 0xce, + 0x58, 0x4e, 0x37, 0x44, 0xe5, 0xde, 0xc8, 0x49, 0x09, 0xed, 0x83, 0xfe, 0x53, 0x80, 0x99, 0xbe, + 0xca, 0x3f, 0x7a, 0x32, 0x36, 0x96, 0x8d, 0xea, 0x10, 0x18, 0x2a, 0xa2, 0x0f, 0xa8, 0x88, 0x7e, + 0x52, 0x10, 0x9f, 0x1f, 0xe9, 0x62, 0x38, 0xfe, 0x86, 0x58, 0x24, 0x35, 0x71, 0xf9, 0x50, 0x22, + 0xd1, 0xfd, 0xa5, 0xd0, 0xff, 0xd3, 0xe0, 0xb6, 0xbf, 0xef, 0x34, 0xbe, 0xbc, 0x19, 0xd3, 0x66, + 0x30, 0x94, 0xf7, 0x2f, 0x52, 0xde, 0xdf, 0x17, 0xc4, 0x0b, 0xa3, 0xf2, 0x1e, 0xec, 0x89, 0xd9, + 0x5f, 0xa5, 0xfa, 0x75, 0x60, 0xf6, 0x3b, 0xfc, 0x6a, 0xe8, 0xdf, 0x04, 0x98, 0xee, 0x69, 0x3e, + 0x40, 0x8f, 0xc7, 0x31, 0x1f, 0xd1, 0xa2, 0x30, 0x94, 0x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xb9, 0xfc, 0x82, 0xc7, 0xe5, 0x01, 0x5e, 0x02, 0xd7, 0xaf, + 0xa1, 0xad, 0x7b, 0x12, 0xf7, 0xa3, 0x7f, 0x17, 0x20, 0x17, 0xee, 0xfc, 0x88, 0xb1, 0xac, 0x91, + 0xed, 0x21, 0x43, 0x8d, 0xd0, 0xe7, 0x29, 0xef, 0x3f, 0x2d, 0x88, 0x07, 0x3e, 0xe1, 0xbb, 0x11, + 0x03, 0xf1, 0x8b, 0xa1, 0xff, 0x16, 0x20, 0x17, 0x6e, 0x10, 0x89, 0x61, 0x39, 0xb2, 0x8b, 0x64, + 0x28, 0xcb, 0xfe, 0x71, 0x2f, 0x1e, 0xe2, 0xb8, 0x17, 0xef, 0xd1, 0x71, 0xff, 0x5a, 0x02, 0x8e, + 0xc5, 0x14, 0xaa, 0x50, 0xf4, 0x0f, 0xbb, 0x06, 0x97, 0xb5, 0x86, 0x4a, 0xe3, 0x5b, 0x54, 0x1a, + 0xbf, 0x29, 0x88, 0xe5, 0x03, 0x3f, 0x83, 0x6d, 0x46, 0x02, 0xd6, 0x84, 0xa6, 0xf8, 0x89, 0x7b, + 0x22, 0x19, 0x7e, 0x13, 0xf4, 0xf5, 0x04, 0xcc, 0x47, 0x96, 0x67, 0xd1, 0xb9, 0x61, 0x99, 0x82, + 0xbe, 0x52, 0xee, 0x50, 0x09, 0xfd, 0x11, 0x95, 0xd0, 0xb7, 0x05, 0xaa, 0xe3, 0x07, 0x4d, 0x14, + 0x04, 0x1b, 0x63, 0x31, 0xed, 0x88, 0xcd, 0x7b, 0x93, 0x27, 0xe8, 0xdd, 0x09, 0x7d, 0x4f, 0x80, + 0xb4, 0x5f, 0xcd, 0x42, 0xa7, 0xf7, 0x55, 0xed, 0x1a, 0x2a, 0x93, 0x5f, 0xa4, 0x32, 0xf9, 0x92, + 0x20, 0xbe, 0x32, 0x6a, 0x70, 0x1d, 0x2e, 0x70, 0x61, 0x59, 0xd4, 0xc5, 0x2b, 0x87, 0x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39, 0x87, 0xde, 0x35, 0xd1, 0xe7, 0xbc, 0x5f, 0xa2, 0xf4, 0x96, + 0x0c, 0x07, 0xfc, 0x36, 0x24, 0xba, 0x1a, 0x3a, 0x54, 0x14, 0x5f, 0xa5, 0xa2, 0xf8, 0xe5, 0xd1, + 0x82, 0x0a, 0xe6, 0x26, 0x7b, 0xf6, 0xc4, 0xe2, 0xb8, 0x2a, 0x7e, 0xfc, 0xf0, 0x29, 0x98, 0xfe, + 0x75, 0x2f, 0x7d, 0x4d, 0x80, 0x63, 0x4d, 0xb3, 0x13, 0xc5, 0xcd, 0xa5, 0xd9, 0x8a, 0xf7, 0xdf, + 0x5f, 0x91, 0xbc, 0x71, 0x1d, 0xbf, 0x73, 0xeb, 0xc2, 0xf5, 0x8b, 0x6c, 0x6e, 0xdb, 0xd4, 0x15, + 0xa3, 0xbd, 0x64, 0xda, 0xed, 0x52, 0x5b, 0x35, 0xc8, 0x2b, 0xb8, 0x44, 0x87, 0x14, 0x4b, 0x73, + 0x42, 0xff, 0xbb, 0xec, 0x4b, 0xfe, 0xc7, 0x37, 0x12, 0x0f, 0xac, 0x50, 0xf4, 0x8a, 0x6e, 0x76, + 0x5b, 0x4b, 0x15, 0x7f, 0xc3, 0xab, 0xe7, 0xfe, 0xdc, 0x1b, 0x7b, 0x93, 0x8c, 0xbd, 0xe9, 0x8f, + 0xbd, 0x79, 0xf5, 0xdc, 0x76, 0x8a, 0x6c, 0xf0, 0xf4, 0xf7, 0x03, 0x00, 0x00, 0xff, 0xff, 0x61, + 0xea, 0xa4, 0xfb, 0xbd, 0x56, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/container/v1alpha1/cluster_service.pb.go b/vendor/google.golang.org/genproto/googleapis/container/v1alpha1/cluster_service.pb.go index 98835d459..093510389 100644 --- a/vendor/google.golang.org/genproto/googleapis/container/v1alpha1/cluster_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/container/v1alpha1/cluster_service.pb.go @@ -56,7 +56,7 @@ func (x NodeTaint_Effect) String() string { return proto.EnumName(NodeTaint_Effect_name, int32(x)) } func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{1, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{1, 0} } // Allowed Network Policy providers. @@ -82,7 +82,7 @@ func (x NetworkPolicy_Provider) String() string { return proto.EnumName(NetworkPolicy_Provider_name, int32(x)) } func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{10, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{10, 0} } // The current status of the cluster. @@ -128,7 +128,7 @@ func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{13, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{13, 0} } // Current status of the operation. @@ -166,7 +166,7 @@ func (x Operation_Status) String() string { return proto.EnumName(Operation_Status_name, int32(x)) } func (Operation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{15, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{15, 0} } // Operation type. @@ -252,7 +252,7 @@ func (x Operation_Type) String() string { return proto.EnumName(Operation_Type_name, int32(x)) } func (Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{15, 1} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{15, 1} } // Operation type: what type update to perform. @@ -289,7 +289,7 @@ func (x SetMasterAuthRequest_Action) String() string { return proto.EnumName(SetMasterAuthRequest_Action_name, int32(x)) } func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{26, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{26, 0} } // The current status of the node pool instance. @@ -342,7 +342,7 @@ func (x NodePool_Status) String() string { return proto.EnumName(NodePool_Status_name, int32(x)) } func (NodePool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{40, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{40, 0} } // Parameters that describe the nodes in a cluster. @@ -444,7 +444,7 @@ func (m *NodeConfig) Reset() { *m = NodeConfig{} } func (m *NodeConfig) String() string { return proto.CompactTextString(m) } func (*NodeConfig) ProtoMessage() {} func (*NodeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{0} } func (m *NodeConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeConfig.Unmarshal(m, b) @@ -576,7 +576,7 @@ func (m *NodeTaint) Reset() { *m = NodeTaint{} } func (m *NodeTaint) String() string { return proto.CompactTextString(m) } func (*NodeTaint) ProtoMessage() {} func (*NodeTaint) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{1} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{1} } func (m *NodeTaint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeTaint.Unmarshal(m, b) @@ -651,7 +651,7 @@ func (m *MasterAuth) Reset() { *m = MasterAuth{} } func (m *MasterAuth) String() string { return proto.CompactTextString(m) } func (*MasterAuth) ProtoMessage() {} func (*MasterAuth) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{2} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{2} } func (m *MasterAuth) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuth.Unmarshal(m, b) @@ -726,7 +726,7 @@ func (m *ClientCertificateConfig) Reset() { *m = ClientCertificateConfig func (m *ClientCertificateConfig) String() string { return proto.CompactTextString(m) } func (*ClientCertificateConfig) ProtoMessage() {} func (*ClientCertificateConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{3} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{3} } func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b) @@ -778,7 +778,7 @@ func (m *AddonsConfig) Reset() { *m = AddonsConfig{} } func (m *AddonsConfig) String() string { return proto.CompactTextString(m) } func (*AddonsConfig) ProtoMessage() {} func (*AddonsConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{4} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{4} } func (m *AddonsConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddonsConfig.Unmarshal(m, b) @@ -842,7 +842,7 @@ func (m *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} } func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) } func (*HttpLoadBalancing) ProtoMessage() {} func (*HttpLoadBalancing) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{5} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{5} } func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b) @@ -886,7 +886,7 @@ func (m *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscali func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) } func (*HorizontalPodAutoscaling) ProtoMessage() {} func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{6} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{6} } func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b) @@ -926,7 +926,7 @@ func (m *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} } func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) } func (*KubernetesDashboard) ProtoMessage() {} func (*KubernetesDashboard) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{7} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{7} } func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b) @@ -968,7 +968,7 @@ func (m *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} } func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) } func (*NetworkPolicyConfig) ProtoMessage() {} func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{8} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{8} } func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b) @@ -1014,7 +1014,7 @@ func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorized func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) } func (*MasterAuthorizedNetworksConfig) ProtoMessage() {} func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{9} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{9} } func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b) @@ -1065,7 +1065,7 @@ func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() { func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) } func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {} func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{9, 0} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{9, 0} } func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b) @@ -1115,7 +1115,7 @@ func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) } func (*NetworkPolicy) ProtoMessage() {} func (*NetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{10} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{10} } func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b) @@ -1239,7 +1239,7 @@ func (m *IPAllocationPolicy) Reset() { *m = IPAllocationPolicy{} } func (m *IPAllocationPolicy) String() string { return proto.CompactTextString(m) } func (*IPAllocationPolicy) ProtoMessage() {} func (*IPAllocationPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{11} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{11} } func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b) @@ -1350,7 +1350,7 @@ func (m *PodSecurityPolicyConfig) Reset() { *m = PodSecurityPolicyConfig func (m *PodSecurityPolicyConfig) String() string { return proto.CompactTextString(m) } func (*PodSecurityPolicyConfig) ProtoMessage() {} func (*PodSecurityPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{12} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{12} } func (m *PodSecurityPolicyConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PodSecurityPolicyConfig.Unmarshal(m, b) @@ -1531,7 +1531,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{13} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{13} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -1843,7 +1843,7 @@ func (m *ClusterUpdate) Reset() { *m = ClusterUpdate{} } func (m *ClusterUpdate) String() string { return proto.CompactTextString(m) } func (*ClusterUpdate) ProtoMessage() {} func (*ClusterUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{14} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{14} } func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b) @@ -1975,7 +1975,7 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{15} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{15} } func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) @@ -2098,7 +2098,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{16} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{16} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -2172,7 +2172,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{17} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{17} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -2248,7 +2248,7 @@ func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{18} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{18} } func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) @@ -2338,7 +2338,7 @@ func (m *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} } func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNodePoolRequest) ProtoMessage() {} func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{19} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{19} } func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b) @@ -2439,7 +2439,7 @@ func (m *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutosc func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) } func (*SetNodePoolAutoscalingRequest) ProtoMessage() {} func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{20} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{20} } func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b) @@ -2532,7 +2532,7 @@ func (m *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceReque func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) } func (*SetLoggingServiceRequest) ProtoMessage() {} func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{21} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{21} } func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b) @@ -2619,7 +2619,7 @@ func (m *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServic func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) } func (*SetMonitoringServiceRequest) ProtoMessage() {} func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{22} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{22} } func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b) @@ -2703,7 +2703,7 @@ func (m *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) } func (*SetAddonsConfigRequest) ProtoMessage() {} func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{23} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{23} } func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b) @@ -2792,7 +2792,7 @@ func (m *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} } func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) } func (*SetLocationsRequest) ProtoMessage() {} func (*SetLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{24} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{24} } func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b) @@ -2876,7 +2876,7 @@ func (m *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} } func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateMasterRequest) ProtoMessage() {} func (*UpdateMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{25} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{25} } func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b) @@ -2961,7 +2961,7 @@ func (m *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } func (*SetMasterAuthRequest) ProtoMessage() {} func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{26} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{26} } func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) @@ -3049,7 +3049,7 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{27} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{27} } func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) @@ -3121,7 +3121,7 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{28} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{28} } func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) @@ -3179,7 +3179,7 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{29} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{29} } func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) @@ -3239,7 +3239,7 @@ func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} } func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } func (*GetOperationRequest) ProtoMessage() {} func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{30} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{30} } func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) @@ -3310,7 +3310,7 @@ func (m *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListOperationsRequest) ProtoMessage() {} func (*ListOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{31} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{31} } func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) @@ -3376,7 +3376,7 @@ func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } func (*CancelOperationRequest) ProtoMessage() {} func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{32} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{32} } func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b) @@ -3440,7 +3440,7 @@ func (m *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListOperationsResponse) ProtoMessage() {} func (*ListOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{33} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{33} } func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOperationsResponse.Unmarshal(m, b) @@ -3496,7 +3496,7 @@ func (m *GetServerConfigRequest) Reset() { *m = GetServerConfigRequest{} func (m *GetServerConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetServerConfigRequest) ProtoMessage() {} func (*GetServerConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{34} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{34} } func (m *GetServerConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServerConfigRequest.Unmarshal(m, b) @@ -3558,7 +3558,7 @@ func (m *ServerConfig) Reset() { *m = ServerConfig{} } func (m *ServerConfig) String() string { return proto.CompactTextString(m) } func (*ServerConfig) ProtoMessage() {} func (*ServerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{35} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{35} } func (m *ServerConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServerConfig.Unmarshal(m, b) @@ -3641,7 +3641,7 @@ func (m *CreateNodePoolRequest) Reset() { *m = CreateNodePoolRequest{} } func (m *CreateNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*CreateNodePoolRequest) ProtoMessage() {} func (*CreateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{36} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{36} } func (m *CreateNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNodePoolRequest.Unmarshal(m, b) @@ -3725,7 +3725,7 @@ func (m *DeleteNodePoolRequest) Reset() { *m = DeleteNodePoolRequest{} } func (m *DeleteNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNodePoolRequest) ProtoMessage() {} func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{37} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{37} } func (m *DeleteNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNodePoolRequest.Unmarshal(m, b) @@ -3806,7 +3806,7 @@ func (m *ListNodePoolsRequest) Reset() { *m = ListNodePoolsRequest{} } func (m *ListNodePoolsRequest) String() string { return proto.CompactTextString(m) } func (*ListNodePoolsRequest) ProtoMessage() {} func (*ListNodePoolsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{38} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{38} } func (m *ListNodePoolsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNodePoolsRequest.Unmarshal(m, b) @@ -3883,7 +3883,7 @@ func (m *GetNodePoolRequest) Reset() { *m = GetNodePoolRequest{} } func (m *GetNodePoolRequest) String() string { return proto.CompactTextString(m) } func (*GetNodePoolRequest) ProtoMessage() {} func (*GetNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{39} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{39} } func (m *GetNodePoolRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNodePoolRequest.Unmarshal(m, b) @@ -3981,7 +3981,7 @@ func (m *NodePool) Reset() { *m = NodePool{} } func (m *NodePool) String() string { return proto.CompactTextString(m) } func (*NodePool) ProtoMessage() {} func (*NodePool) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{40} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{40} } func (m *NodePool) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodePool.Unmarshal(m, b) @@ -4089,7 +4089,7 @@ func (m *NodeManagement) Reset() { *m = NodeManagement{} } func (m *NodeManagement) String() string { return proto.CompactTextString(m) } func (*NodeManagement) ProtoMessage() {} func (*NodeManagement) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{41} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{41} } func (m *NodeManagement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeManagement.Unmarshal(m, b) @@ -4149,7 +4149,7 @@ func (m *AutoUpgradeOptions) Reset() { *m = AutoUpgradeOptions{} } func (m *AutoUpgradeOptions) String() string { return proto.CompactTextString(m) } func (*AutoUpgradeOptions) ProtoMessage() {} func (*AutoUpgradeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{42} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{42} } func (m *AutoUpgradeOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AutoUpgradeOptions.Unmarshal(m, b) @@ -4196,7 +4196,7 @@ func (m *MaintenancePolicy) Reset() { *m = MaintenancePolicy{} } func (m *MaintenancePolicy) String() string { return proto.CompactTextString(m) } func (*MaintenancePolicy) ProtoMessage() {} func (*MaintenancePolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{43} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{43} } func (m *MaintenancePolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MaintenancePolicy.Unmarshal(m, b) @@ -4240,7 +4240,7 @@ func (m *MaintenanceWindow) Reset() { *m = MaintenanceWindow{} } func (m *MaintenanceWindow) String() string { return proto.CompactTextString(m) } func (*MaintenanceWindow) ProtoMessage() {} func (*MaintenanceWindow) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{44} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{44} } func (m *MaintenanceWindow) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MaintenanceWindow.Unmarshal(m, b) @@ -4356,7 +4356,7 @@ func (m *DailyMaintenanceWindow) Reset() { *m = DailyMaintenanceWindow{} func (m *DailyMaintenanceWindow) String() string { return proto.CompactTextString(m) } func (*DailyMaintenanceWindow) ProtoMessage() {} func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{45} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{45} } func (m *DailyMaintenanceWindow) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DailyMaintenanceWindow.Unmarshal(m, b) @@ -4423,7 +4423,7 @@ func (m *SetNodePoolManagementRequest) Reset() { *m = SetNodePoolManagem func (m *SetNodePoolManagementRequest) String() string { return proto.CompactTextString(m) } func (*SetNodePoolManagementRequest) ProtoMessage() {} func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{46} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{46} } func (m *SetNodePoolManagementRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNodePoolManagementRequest.Unmarshal(m, b) @@ -4517,7 +4517,7 @@ func (m *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) } func (*SetNodePoolSizeRequest) ProtoMessage() {} func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{47} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{47} } func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b) @@ -4611,7 +4611,7 @@ func (m *RollbackNodePoolUpgradeRequest) Reset() { *m = RollbackNodePool func (m *RollbackNodePoolUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*RollbackNodePoolUpgradeRequest) ProtoMessage() {} func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{48} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{48} } func (m *RollbackNodePoolUpgradeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Unmarshal(m, b) @@ -4679,7 +4679,7 @@ func (m *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } func (*ListNodePoolsResponse) ProtoMessage() {} func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{49} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{49} } func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) @@ -4726,7 +4726,7 @@ func (m *NodePoolAutoscaling) Reset() { *m = NodePoolAutoscaling{} } func (m *NodePoolAutoscaling) String() string { return proto.CompactTextString(m) } func (*NodePoolAutoscaling) ProtoMessage() {} func (*NodePoolAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{50} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{50} } func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) @@ -4804,7 +4804,7 @@ func (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } func (*SetLabelsRequest) ProtoMessage() {} func (*SetLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{51} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{51} } func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) @@ -4895,7 +4895,7 @@ func (m *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} } func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) } func (*SetLegacyAbacRequest) ProtoMessage() {} func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{52} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{52} } func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) @@ -4977,7 +4977,7 @@ func (m *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) } func (*StartIPRotationRequest) ProtoMessage() {} func (*StartIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{53} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{53} } func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) @@ -5051,7 +5051,7 @@ func (m *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationReq func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) } func (*CompleteIPRotationRequest) ProtoMessage() {} func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{54} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{54} } func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) @@ -5115,7 +5115,7 @@ func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } func (*AcceleratorConfig) ProtoMessage() {} func (*AcceleratorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{55} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{55} } func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) @@ -5178,7 +5178,7 @@ func (m *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) } func (*SetNetworkPolicyRequest) ProtoMessage() {} func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{56} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{56} } func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) @@ -5260,7 +5260,7 @@ func (m *SetMaintenancePolicyRequest) Reset() { *m = SetMaintenancePolic func (m *SetMaintenancePolicyRequest) String() string { return proto.CompactTextString(m) } func (*SetMaintenancePolicyRequest) ProtoMessage() {} func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_0854a7b6864fd1cc, []int{57} + return fileDescriptor_cluster_service_5c8bce40ab9ac3ed, []int{57} } func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) @@ -6527,10 +6527,10 @@ var _ClusterManager_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/container/v1alpha1/cluster_service.proto", fileDescriptor_cluster_service_0854a7b6864fd1cc) + proto.RegisterFile("google/container/v1alpha1/cluster_service.proto", fileDescriptor_cluster_service_5c8bce40ab9ac3ed) } -var fileDescriptor_cluster_service_0854a7b6864fd1cc = []byte{ +var fileDescriptor_cluster_service_5c8bce40ab9ac3ed = []byte{ // 4786 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x7c, 0x5d, 0x6c, 0x23, 0xd7, 0x75, 0x7f, 0x46, 0xa2, 0x28, 0xf1, 0x90, 0xa2, 0xa8, 0xab, 0x2f, 0x2e, 0xed, 0xb5, 0xd7, 0x13, diff --git a/vendor/google.golang.org/genproto/googleapis/container/v1beta1/cluster_service.pb.go b/vendor/google.golang.org/genproto/googleapis/container/v1beta1/cluster_service.pb.go index 698dd1c12..9a2631a71 100644 --- a/vendor/google.golang.org/genproto/googleapis/container/v1beta1/cluster_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/container/v1beta1/cluster_service.pb.go @@ -8,6 +8,7 @@ import fmt "fmt" import math "math" import empty "github.com/golang/protobuf/ptypes/empty" import _ "google.golang.org/genproto/googleapis/api/annotations" +import _ "google.golang.org/genproto/googleapis/iam/v1" import ( context "golang.org/x/net/context" @@ -56,7 +57,33 @@ func (x NodeTaint_Effect) String() string { return proto.EnumName(NodeTaint_Effect_name, int32(x)) } func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{1, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{1, 0} +} + +// Istio auth mode, https://istio.io/docs/concepts/security/mutual-tls.html +type IstioConfig_IstioAuthMode int32 + +const ( + // auth not enabled + IstioConfig_AUTH_NONE IstioConfig_IstioAuthMode = 0 + // auth mutual TLS enabled + IstioConfig_AUTH_MUTUAL_TLS IstioConfig_IstioAuthMode = 1 +) + +var IstioConfig_IstioAuthMode_name = map[int32]string{ + 0: "AUTH_NONE", + 1: "AUTH_MUTUAL_TLS", +} +var IstioConfig_IstioAuthMode_value = map[string]int32{ + "AUTH_NONE": 0, + "AUTH_MUTUAL_TLS": 1, +} + +func (x IstioConfig_IstioAuthMode) String() string { + return proto.EnumName(IstioConfig_IstioAuthMode_name, int32(x)) +} +func (IstioConfig_IstioAuthMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{10, 0} } // Allowed Network Policy providers. @@ -82,7 +109,7 @@ func (x NetworkPolicy_Provider) String() string { return proto.EnumName(NetworkPolicy_Provider_name, int32(x)) } func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{10, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{14, 0} } // The current status of the cluster. @@ -105,6 +132,9 @@ const ( // The ERROR state indicates the cluster may be unusable. Details // can be found in the `statusMessage` field. Cluster_ERROR Cluster_Status = 5 + // The DEGRADED state indicates the cluster requires user action to restore + // full functionality. Details can be found in the `statusMessage` field. + Cluster_DEGRADED Cluster_Status = 6 ) var Cluster_Status_name = map[int32]string{ @@ -114,6 +144,7 @@ var Cluster_Status_name = map[int32]string{ 3: "RECONCILING", 4: "STOPPING", 5: "ERROR", + 6: "DEGRADED", } var Cluster_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, @@ -122,13 +153,14 @@ var Cluster_Status_value = map[string]int32{ "RECONCILING": 3, "STOPPING": 4, "ERROR": 5, + "DEGRADED": 6, } func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{13, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{18, 0} } // Current status of the operation. @@ -166,7 +198,7 @@ func (x Operation_Status) String() string { return proto.EnumName(Operation_Status_name, int32(x)) } func (Operation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{15, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{20, 0} } // Operation type. @@ -252,7 +284,7 @@ func (x Operation_Type) String() string { return proto.EnumName(Operation_Type_name, int32(x)) } func (Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{15, 1} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{20, 1} } // Operation type: what type update to perform. @@ -289,7 +321,7 @@ func (x SetMasterAuthRequest_Action) String() string { return proto.EnumName(SetMasterAuthRequest_Action_name, int32(x)) } func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{19, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{32, 0} } // The current status of the node pool instance. @@ -342,7 +374,157 @@ func (x NodePool_Status) String() string { return proto.EnumName(NodePool_Status_name, int32(x)) } func (NodePool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{33, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{46, 0} +} + +// NodeMetadata is the configuration for if and how to expose the node +// metadata to the workload running on the node. +type WorkloadMetadataConfig_NodeMetadata int32 + +const ( + // Not set. + WorkloadMetadataConfig_UNSPECIFIED WorkloadMetadataConfig_NodeMetadata = 0 + // Prevent workloads not in hostNetwork from accessing certain VM metadata, + // specifically kube-env, which contains Kubelet credentials, and the + // instance identity token. + // + // Metadata concealment is a temporary security solution available while the + // bootstrapping process for cluster nodes is being redesigned with + // significant security improvements. This feature is scheduled to be + // deprecated in the future and later removed. + WorkloadMetadataConfig_SECURE WorkloadMetadataConfig_NodeMetadata = 1 + // Expose all VM metadata to pods. + WorkloadMetadataConfig_EXPOSE WorkloadMetadataConfig_NodeMetadata = 2 +) + +var WorkloadMetadataConfig_NodeMetadata_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "SECURE", + 2: "EXPOSE", +} +var WorkloadMetadataConfig_NodeMetadata_value = map[string]int32{ + "UNSPECIFIED": 0, + "SECURE": 1, + "EXPOSE": 2, +} + +func (x WorkloadMetadataConfig_NodeMetadata) String() string { + return proto.EnumName(WorkloadMetadataConfig_NodeMetadata_name, int32(x)) +} +func (WorkloadMetadataConfig_NodeMetadata) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{64, 0} +} + +// LocationType is the type of GKE location, regional or zonal. +type Location_LocationType int32 + +const ( + // LOCATION_TYPE_UNSPECIFIED means the location type was not determined. + Location_LOCATION_TYPE_UNSPECIFIED Location_LocationType = 0 + // A GKE Location where Zonal clusters can be created. + Location_ZONE Location_LocationType = 1 + // A GKE Location where Regional clusters can be created. + Location_REGION Location_LocationType = 2 +) + +var Location_LocationType_name = map[int32]string{ + 0: "LOCATION_TYPE_UNSPECIFIED", + 1: "ZONE", + 2: "REGION", +} +var Location_LocationType_value = map[string]int32{ + "LOCATION_TYPE_UNSPECIFIED": 0, + "ZONE": 1, + "REGION": 2, +} + +func (x Location_LocationType) String() string { + return proto.EnumName(Location_LocationType_name, int32(x)) +} +func (Location_LocationType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{69, 0} +} + +// Code for each condition +type StatusCondition_Code int32 + +const ( + // UNKNOWN indicates a generic condition. + StatusCondition_UNKNOWN StatusCondition_Code = 0 + // GCE_STOCKOUT indicates a Google Compute Engine stockout. + StatusCondition_GCE_STOCKOUT StatusCondition_Code = 1 + // GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot + // service account. + StatusCondition_GKE_SERVICE_ACCOUNT_DELETED StatusCondition_Code = 2 + // Google Compute Engine quota was exceeded. + StatusCondition_GCE_QUOTA_EXCEEDED StatusCondition_Code = 3 + // Cluster state was manually changed by an SRE due to a system logic error. + // More codes TBA + StatusCondition_SET_BY_OPERATOR StatusCondition_Code = 4 +) + +var StatusCondition_Code_name = map[int32]string{ + 0: "UNKNOWN", + 1: "GCE_STOCKOUT", + 2: "GKE_SERVICE_ACCOUNT_DELETED", + 3: "GCE_QUOTA_EXCEEDED", + 4: "SET_BY_OPERATOR", +} +var StatusCondition_Code_value = map[string]int32{ + "UNKNOWN": 0, + "GCE_STOCKOUT": 1, + "GKE_SERVICE_ACCOUNT_DELETED": 2, + "GCE_QUOTA_EXCEEDED": 3, + "SET_BY_OPERATOR": 4, +} + +func (x StatusCondition_Code) String() string { + return proto.EnumName(StatusCondition_Code_name, int32(x)) +} +func (StatusCondition_Code) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{70, 0} +} + +// Status shows the current usage of a secondary IP range. +type UsableSubnetworkSecondaryRange_Status int32 + +const ( + // UNKNOWN is the zero value of the Status enum. It's not a valid status. + UsableSubnetworkSecondaryRange_UNKNOWN UsableSubnetworkSecondaryRange_Status = 0 + // UNUSED denotes that this range is unclaimed by any cluster. + UsableSubnetworkSecondaryRange_UNUSED UsableSubnetworkSecondaryRange_Status = 1 + // IN_USE_SERVICE denotes that this range is claimed by a cluster for + // services. It cannot be used for other clusters. + UsableSubnetworkSecondaryRange_IN_USE_SERVICE UsableSubnetworkSecondaryRange_Status = 2 + // IN_USE_SHAREABLE_POD denotes this range was created by the network admin + // and is currently claimed by a cluster for pods. It can only be used by + // other clusters as a pod range. + UsableSubnetworkSecondaryRange_IN_USE_SHAREABLE_POD UsableSubnetworkSecondaryRange_Status = 3 + // IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed + // for pods. It cannot be used for other clusters. + UsableSubnetworkSecondaryRange_IN_USE_MANAGED_POD UsableSubnetworkSecondaryRange_Status = 4 +) + +var UsableSubnetworkSecondaryRange_Status_name = map[int32]string{ + 0: "UNKNOWN", + 1: "UNUSED", + 2: "IN_USE_SERVICE", + 3: "IN_USE_SHAREABLE_POD", + 4: "IN_USE_MANAGED_POD", +} +var UsableSubnetworkSecondaryRange_Status_value = map[string]int32{ + "UNKNOWN": 0, + "UNUSED": 1, + "IN_USE_SERVICE": 2, + "IN_USE_SHAREABLE_POD": 3, + "IN_USE_MANAGED_POD": 4, +} + +func (x UsableSubnetworkSecondaryRange_Status) String() string { + return proto.EnumName(UsableSubnetworkSecondaryRange_Status_name, int32(x)) +} +func (UsableSubnetworkSecondaryRange_Status) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{74, 0} } // Parameters that describe the nodes in a cluster. @@ -382,8 +564,18 @@ type NodeConfig struct { // Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes // in length. These are reflected as part of a URL in the metadata server. // Additionally, to avoid ambiguity, keys must not conflict with any other - // metadata keys for the project or be one of the four reserved keys: - // "instance-template", "kube-env", "startup-script", and "user-data" + // metadata keys for the project or be one of the reserved keys: + // "cluster-location" + // "cluster-name" + // "cluster-uid" + // "configure-sh" + // "enable-oslogin" + // "gci-ensure-gke-docker" + // "gci-update-strategy" + // "instance-template" + // "kube-env" + // "startup-script" + // "user-data" // // Values are free-form strings, and only have meaning as interpreted by // the image running in the instance. The only restriction placed on them is @@ -423,13 +615,20 @@ type NodeConfig struct { // See https://cloud.google.com/compute/docs/gpus for more information about // support for GPUs. Accelerators []*AcceleratorConfig `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"` + // Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') + // + // If unspecified, the default disk type is 'pd-standard' + DiskType string `protobuf:"bytes,12,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"` // Minimum CPU platform to be used by this instance. The instance may be // scheduled on the specified or newer CPU platform. Applicable values are the // friendly names of CPU platforms, such as // minCpuPlatform: "Intel Haswell" or // minCpuPlatform: "Intel Sandy Bridge". For more - // information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + // information, read [how to specify min CPU + // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"` + // The workload metadata configuration for this node. + WorkloadMetadataConfig *WorkloadMetadataConfig `protobuf:"bytes,14,opt,name=workload_metadata_config,json=workloadMetadataConfig,proto3" json:"workload_metadata_config,omitempty"` // List of kubernetes taints to be applied to each node. // // For more information, including usage and the valid values, see: @@ -444,7 +643,7 @@ func (m *NodeConfig) Reset() { *m = NodeConfig{} } func (m *NodeConfig) String() string { return proto.CompactTextString(m) } func (*NodeConfig) ProtoMessage() {} func (*NodeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{0} } func (m *NodeConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeConfig.Unmarshal(m, b) @@ -541,6 +740,13 @@ func (m *NodeConfig) GetAccelerators() []*AcceleratorConfig { return nil } +func (m *NodeConfig) GetDiskType() string { + if m != nil { + return m.DiskType + } + return "" +} + func (m *NodeConfig) GetMinCpuPlatform() string { if m != nil { return m.MinCpuPlatform @@ -548,6 +754,13 @@ func (m *NodeConfig) GetMinCpuPlatform() string { return "" } +func (m *NodeConfig) GetWorkloadMetadataConfig() *WorkloadMetadataConfig { + if m != nil { + return m.WorkloadMetadataConfig + } + return nil +} + func (m *NodeConfig) GetTaints() []*NodeTaint { if m != nil { return m.Taints @@ -576,7 +789,7 @@ func (m *NodeTaint) Reset() { *m = NodeTaint{} } func (m *NodeTaint) String() string { return proto.CompactTextString(m) } func (*NodeTaint) ProtoMessage() {} func (*NodeTaint) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{1} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{1} } func (m *NodeTaint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeTaint.Unmarshal(m, b) @@ -622,16 +835,17 @@ func (m *NodeTaint) GetEffect() NodeTaint_Effect { // certificates. type MasterAuth struct { // The username to use for HTTP basic authentication to the master endpoint. - // For clusters v1.6.0 and later, you can disable basic authentication by - // providing an empty username. + // For clusters v1.6.0 and later, basic authentication can be disabled by + // leaving username unspecified (or setting it to the empty string). Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // The password to use for HTTP basic authentication to the master endpoint. // Because the master endpoint is open to the Internet, you should create a // strong password. If a password is provided for cluster creation, username // must be non-empty. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - // Configuration for client certificate authentication on the cluster. If no - // configuration is specified, a client certificate is issued. + // Configuration for client certificate authentication on the cluster. For + // clusters before v1.12, if no configuration is specified, a client + // certificate is issued. ClientCertificateConfig *ClientCertificateConfig `protobuf:"bytes,3,opt,name=client_certificate_config,json=clientCertificateConfig,proto3" json:"client_certificate_config,omitempty"` // [Output only] Base64-encoded public certificate that is the root of // trust for the cluster. @@ -651,7 +865,7 @@ func (m *MasterAuth) Reset() { *m = MasterAuth{} } func (m *MasterAuth) String() string { return proto.CompactTextString(m) } func (*MasterAuth) ProtoMessage() {} func (*MasterAuth) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{2} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{2} } func (m *MasterAuth) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuth.Unmarshal(m, b) @@ -726,7 +940,7 @@ func (m *ClientCertificateConfig) Reset() { *m = ClientCertificateConfig func (m *ClientCertificateConfig) String() string { return proto.CompactTextString(m) } func (*ClientCertificateConfig) ProtoMessage() {} func (*ClientCertificateConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{3} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{3} } func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b) @@ -768,17 +982,24 @@ type AddonsConfig struct { // Configuration for NetworkPolicy. This only tracks whether the addon // is enabled or not on the Master, it does not track whether network policy // is enabled for the nodes. - NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"` + // Configuration for Istio, an open platform to connect, manage, and secure + // microservices. + IstioConfig *IstioConfig `protobuf:"bytes,5,opt,name=istio_config,json=istioConfig,proto3" json:"istio_config,omitempty"` + // Configuration for the Cloud Run addon. The `IstioConfig` addon must be + // enabled in order to enable Cloud Run addon. This option can only be enabled + // at cluster creation time. + CloudRunConfig *CloudRunConfig `protobuf:"bytes,7,opt,name=cloud_run_config,json=cloudRunConfig,proto3" json:"cloud_run_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *AddonsConfig) Reset() { *m = AddonsConfig{} } func (m *AddonsConfig) String() string { return proto.CompactTextString(m) } func (*AddonsConfig) ProtoMessage() {} func (*AddonsConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{4} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{4} } func (m *AddonsConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddonsConfig.Unmarshal(m, b) @@ -826,6 +1047,20 @@ func (m *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig { return nil } +func (m *AddonsConfig) GetIstioConfig() *IstioConfig { + if m != nil { + return m.IstioConfig + } + return nil +} + +func (m *AddonsConfig) GetCloudRunConfig() *CloudRunConfig { + if m != nil { + return m.CloudRunConfig + } + return nil +} + // Configuration options for the HTTP (L7) load balancing controller addon, // which makes it easy to set up HTTP load balancers for services in a cluster. type HttpLoadBalancing struct { @@ -842,7 +1077,7 @@ func (m *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} } func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) } func (*HttpLoadBalancing) ProtoMessage() {} func (*HttpLoadBalancing) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{5} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{5} } func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b) @@ -886,7 +1121,7 @@ func (m *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscali func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) } func (*HorizontalPodAutoscaling) ProtoMessage() {} func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{6} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{6} } func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b) @@ -926,7 +1161,7 @@ func (m *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} } func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) } func (*KubernetesDashboard) ProtoMessage() {} func (*KubernetesDashboard) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{7} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{7} } func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b) @@ -968,7 +1203,7 @@ func (m *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} } func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) } func (*NetworkPolicyConfig) ProtoMessage() {} func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{8} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{8} } func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b) @@ -995,6 +1230,176 @@ func (m *NetworkPolicyConfig) GetDisabled() bool { return false } +// Configuration options for private clusters. +type PrivateClusterConfig struct { + // Whether nodes have internal IP addresses only. If enabled, all nodes are + // given only RFC 1918 private addresses and communicate with the master via + // private networking. + EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"` + // Whether the master's internal IP address is used as the cluster endpoint. + EnablePrivateEndpoint bool `protobuf:"varint,2,opt,name=enable_private_endpoint,json=enablePrivateEndpoint,proto3" json:"enable_private_endpoint,omitempty"` + // The IP range in CIDR notation to use for the hosted master network. This + // range will be used for assigning internal IP addresses to the master or + // set of masters, as well as the ILB VIP. This range must not overlap with + // any other ranges in use within the cluster's network. + MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"` + // Output only. The internal IP address of this cluster's master endpoint. + PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"` + // Output only. The external IP address of this cluster's master endpoint. + PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrivateClusterConfig) Reset() { *m = PrivateClusterConfig{} } +func (m *PrivateClusterConfig) String() string { return proto.CompactTextString(m) } +func (*PrivateClusterConfig) ProtoMessage() {} +func (*PrivateClusterConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{9} +} +func (m *PrivateClusterConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivateClusterConfig.Unmarshal(m, b) +} +func (m *PrivateClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivateClusterConfig.Marshal(b, m, deterministic) +} +func (dst *PrivateClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivateClusterConfig.Merge(dst, src) +} +func (m *PrivateClusterConfig) XXX_Size() int { + return xxx_messageInfo_PrivateClusterConfig.Size(m) +} +func (m *PrivateClusterConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivateClusterConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_PrivateClusterConfig proto.InternalMessageInfo + +func (m *PrivateClusterConfig) GetEnablePrivateNodes() bool { + if m != nil { + return m.EnablePrivateNodes + } + return false +} + +func (m *PrivateClusterConfig) GetEnablePrivateEndpoint() bool { + if m != nil { + return m.EnablePrivateEndpoint + } + return false +} + +func (m *PrivateClusterConfig) GetMasterIpv4CidrBlock() string { + if m != nil { + return m.MasterIpv4CidrBlock + } + return "" +} + +func (m *PrivateClusterConfig) GetPrivateEndpoint() string { + if m != nil { + return m.PrivateEndpoint + } + return "" +} + +func (m *PrivateClusterConfig) GetPublicEndpoint() string { + if m != nil { + return m.PublicEndpoint + } + return "" +} + +// Configuration options for Istio addon. +type IstioConfig struct { + // Whether Istio is enabled for this cluster. + Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` + // The specified Istio auth mode, either none, or mutual TLS. + Auth IstioConfig_IstioAuthMode `protobuf:"varint,2,opt,name=auth,proto3,enum=google.container.v1beta1.IstioConfig_IstioAuthMode" json:"auth,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IstioConfig) Reset() { *m = IstioConfig{} } +func (m *IstioConfig) String() string { return proto.CompactTextString(m) } +func (*IstioConfig) ProtoMessage() {} +func (*IstioConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{10} +} +func (m *IstioConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IstioConfig.Unmarshal(m, b) +} +func (m *IstioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IstioConfig.Marshal(b, m, deterministic) +} +func (dst *IstioConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_IstioConfig.Merge(dst, src) +} +func (m *IstioConfig) XXX_Size() int { + return xxx_messageInfo_IstioConfig.Size(m) +} +func (m *IstioConfig) XXX_DiscardUnknown() { + xxx_messageInfo_IstioConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_IstioConfig proto.InternalMessageInfo + +func (m *IstioConfig) GetDisabled() bool { + if m != nil { + return m.Disabled + } + return false +} + +func (m *IstioConfig) GetAuth() IstioConfig_IstioAuthMode { + if m != nil { + return m.Auth + } + return IstioConfig_AUTH_NONE +} + +// Configuration options for the Cloud Run feature. +type CloudRunConfig struct { + // Whether Cloud Run addon is enabled for this cluster. + Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudRunConfig) Reset() { *m = CloudRunConfig{} } +func (m *CloudRunConfig) String() string { return proto.CompactTextString(m) } +func (*CloudRunConfig) ProtoMessage() {} +func (*CloudRunConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{11} +} +func (m *CloudRunConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudRunConfig.Unmarshal(m, b) +} +func (m *CloudRunConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudRunConfig.Marshal(b, m, deterministic) +} +func (dst *CloudRunConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudRunConfig.Merge(dst, src) +} +func (m *CloudRunConfig) XXX_Size() int { + return xxx_messageInfo_CloudRunConfig.Size(m) +} +func (m *CloudRunConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CloudRunConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudRunConfig proto.InternalMessageInfo + +func (m *CloudRunConfig) GetDisabled() bool { + if m != nil { + return m.Disabled + } + return false +} + // Configuration options for the master authorized networks feature. Enabled // master authorized networks will disallow all external traffic to access // Kubernetes master through HTTPS except traffic from the given CIDR blocks, @@ -1014,7 +1419,7 @@ func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorized func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) } func (*MasterAuthorizedNetworksConfig) ProtoMessage() {} func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{9} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{12} } func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b) @@ -1065,7 +1470,7 @@ func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() { func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) } func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {} func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{9, 0} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{12, 0} } func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b) @@ -1099,6 +1504,50 @@ func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string { return "" } +// Configuration for the legacy Attribute Based Access Control authorization +// mode. +type LegacyAbac struct { + // Whether the ABAC authorizer is enabled for this cluster. When enabled, + // identities in the system, including service accounts, nodes, and + // controllers, will have statically granted permissions beyond those + // provided by the RBAC configuration or IAM. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LegacyAbac) Reset() { *m = LegacyAbac{} } +func (m *LegacyAbac) String() string { return proto.CompactTextString(m) } +func (*LegacyAbac) ProtoMessage() {} +func (*LegacyAbac) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{13} +} +func (m *LegacyAbac) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LegacyAbac.Unmarshal(m, b) +} +func (m *LegacyAbac) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LegacyAbac.Marshal(b, m, deterministic) +} +func (dst *LegacyAbac) XXX_Merge(src proto.Message) { + xxx_messageInfo_LegacyAbac.Merge(dst, src) +} +func (m *LegacyAbac) XXX_Size() int { + return xxx_messageInfo_LegacyAbac.Size(m) +} +func (m *LegacyAbac) XXX_DiscardUnknown() { + xxx_messageInfo_LegacyAbac.DiscardUnknown(m) +} + +var xxx_messageInfo_LegacyAbac proto.InternalMessageInfo + +func (m *LegacyAbac) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + // Configuration options for the NetworkPolicy feature. // https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ type NetworkPolicy struct { @@ -1115,7 +1564,7 @@ func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) } func (*NetworkPolicy) ProtoMessage() {} func (*NetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{10} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{14} } func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b) @@ -1162,11 +1611,11 @@ type IPAllocationPolicy struct { // subnetwork. SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"` // This field is deprecated, use cluster_ipv4_cidr_block. - ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` + ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` // Deprecated: Do not use. // This field is deprecated, use node_ipv4_cidr_block. - NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"` + NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"` // Deprecated: Do not use. // This field is deprecated, use services_ipv4_cidr_block. - ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` + ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` // Deprecated: Do not use. // The name of the secondary range to be used for the cluster CIDR // block. The secondary range will be used for pod IP // addresses. This must be an existing secondary range associated @@ -1229,17 +1678,46 @@ type IPAllocationPolicy struct { // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range // to use. - ServicesIpv4CidrBlock string `protobuf:"bytes,11,opt,name=services_ipv4_cidr_block,json=servicesIpv4CidrBlock,proto3" json:"services_ipv4_cidr_block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ServicesIpv4CidrBlock string `protobuf:"bytes,11,opt,name=services_ipv4_cidr_block,json=servicesIpv4CidrBlock,proto3" json:"services_ipv4_cidr_block,omitempty"` + // If true, allow allocation of cluster CIDR ranges that overlap with certain + // kinds of network routes. By default we do not allow cluster CIDR ranges to + // intersect with any user declared routes. With allow_route_overlap == true, + // we allow overlapping with CIDR ranges that are larger than the cluster CIDR + // range. + // + // If this field is set to true, then cluster and services CIDRs must be + // fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: + // 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and + // `services_ipv4_cidr_block` must be fully-specified. + // 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be + // fully-specified. + AllowRouteOverlap bool `protobuf:"varint,12,opt,name=allow_route_overlap,json=allowRouteOverlap,proto3" json:"allow_route_overlap,omitempty"` + // The IP address range of the Cloud TPUs in this cluster. If unspecified, a + // range will be automatically chosen with the default size. + // + // This field is only applicable when `use_ip_aliases` is true. + // + // If unspecified, the range will use the default size. + // + // Set to /netmask (e.g. `/14`) to have a range chosen with a specific + // netmask. + // + // Set to a + // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + // to use. + TpuIpv4CidrBlock string `protobuf:"bytes,13,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *IPAllocationPolicy) Reset() { *m = IPAllocationPolicy{} } func (m *IPAllocationPolicy) String() string { return proto.CompactTextString(m) } func (*IPAllocationPolicy) ProtoMessage() {} func (*IPAllocationPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{11} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{15} } func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b) @@ -1280,6 +1758,7 @@ func (m *IPAllocationPolicy) GetSubnetworkName() string { return "" } +// Deprecated: Do not use. func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { if m != nil { return m.ClusterIpv4Cidr @@ -1287,6 +1766,7 @@ func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { return "" } +// Deprecated: Do not use. func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { if m != nil { return m.NodeIpv4Cidr @@ -1294,6 +1774,7 @@ func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { return "" } +// Deprecated: Do not use. func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string { if m != nil { return m.ServicesIpv4Cidr @@ -1336,6 +1817,61 @@ func (m *IPAllocationPolicy) GetServicesIpv4CidrBlock() string { return "" } +func (m *IPAllocationPolicy) GetAllowRouteOverlap() bool { + if m != nil { + return m.AllowRouteOverlap + } + return false +} + +func (m *IPAllocationPolicy) GetTpuIpv4CidrBlock() string { + if m != nil { + return m.TpuIpv4CidrBlock + } + return "" +} + +// Configuration for Binary Authorization. +type BinaryAuthorization struct { + // Enable Binary Authorization for this cluster. If enabled, all container + // images will be validated by Google Binauthz. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BinaryAuthorization) Reset() { *m = BinaryAuthorization{} } +func (m *BinaryAuthorization) String() string { return proto.CompactTextString(m) } +func (*BinaryAuthorization) ProtoMessage() {} +func (*BinaryAuthorization) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{16} +} +func (m *BinaryAuthorization) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BinaryAuthorization.Unmarshal(m, b) +} +func (m *BinaryAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BinaryAuthorization.Marshal(b, m, deterministic) +} +func (dst *BinaryAuthorization) XXX_Merge(src proto.Message) { + xxx_messageInfo_BinaryAuthorization.Merge(dst, src) +} +func (m *BinaryAuthorization) XXX_Size() int { + return xxx_messageInfo_BinaryAuthorization.Size(m) +} +func (m *BinaryAuthorization) XXX_DiscardUnknown() { + xxx_messageInfo_BinaryAuthorization.DiscardUnknown(m) +} + +var xxx_messageInfo_BinaryAuthorization proto.InternalMessageInfo + +func (m *BinaryAuthorization) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + // Configuration for the PodSecurityPolicy feature. type PodSecurityPolicyConfig struct { // Enable the PodSecurityPolicy controller for this cluster. If enabled, pods @@ -1350,7 +1886,7 @@ func (m *PodSecurityPolicyConfig) Reset() { *m = PodSecurityPolicyConfig func (m *PodSecurityPolicyConfig) String() string { return proto.CompactTextString(m) } func (*PodSecurityPolicyConfig) ProtoMessage() {} func (*PodSecurityPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{12} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{17} } func (m *PodSecurityPolicyConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PodSecurityPolicyConfig.Unmarshal(m, b) @@ -1377,7 +1913,7 @@ func (m *PodSecurityPolicyConfig) GetEnabled() bool { return false } -// A Google Container Engine cluster. +// A Google Kubernetes Engine cluster. type Cluster struct { // The name of this cluster. The name must be unique within this project // and zone, and can be up to 40 characters with the following restrictions: @@ -1409,6 +1945,10 @@ type Cluster struct { // If unspecified, the defaults are used. NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"` // The authentication information for accessing the master endpoint. + // If unspecified, the defaults are used: + // For clusters before v1.12, if master_auth is unspecified, `username` will + // be set to "admin", a random password will be generated, and a client + // certificate will be issued. MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth,proto3" json:"master_auth,omitempty"` // The logging service the cluster should use to write logs. // Currently available options: @@ -1427,7 +1967,8 @@ type Cluster struct { // The name of the Google Compute Engine // [network](/compute/docs/networks-and-firewalls#networks) to which the // cluster is connected. If left unspecified, the `default` network - // will be used. + // will be used. On output this shows the network ID instead of + // the name. Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"` // The IP address range of the container pods in this cluster, in // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) @@ -1438,14 +1979,15 @@ type Cluster struct { AddonsConfig *AddonsConfig `protobuf:"bytes,10,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"` // The name of the Google Compute Engine // [subnetwork](/compute/docs/subnetworks) to which the - // cluster is connected. + // cluster is connected. On output this shows the subnetwork ID instead of + // the name. Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` // The node pools associated with this cluster. // This field should not be set if "node_config" or "initial_node_count" are // specified. NodePools []*NodePool `protobuf:"bytes,12,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"` // The list of Google Compute Engine - // [locations](/compute/docs/zones#available) in which the cluster's nodes + // [zones](/compute/docs/zones#available) in which the cluster's nodes // should be located. Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"` // Kubernetes alpha features are enabled on this cluster. This includes alpha @@ -1455,6 +1997,13 @@ type Cluster struct { // Alpha enabled clusters are automatically deleted thirty days after // creation. EnableKubernetesAlpha bool `protobuf:"varint,14,opt,name=enable_kubernetes_alpha,json=enableKubernetesAlpha,proto3" json:"enable_kubernetes_alpha,omitempty"` + // The resource labels for the cluster to use to annotate any related + // Google Compute Engine resources. + ResourceLabels map[string]string `protobuf:"bytes,15,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // The fingerprint of the set of labels for this cluster. + LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` + // Configuration for the legacy ABAC authorization mode. + LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac,proto3" json:"legacy_abac,omitempty"` // Configuration options for the NetworkPolicy feature. NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` // Configuration for cluster IP allocation. @@ -1463,15 +2012,44 @@ type Cluster struct { MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,22,opt,name=master_authorized_networks_config,json=masterAuthorizedNetworksConfig,proto3" json:"master_authorized_networks_config,omitempty"` // Configure the maintenance policy for this cluster. MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` + // Configuration for Binary Authorization. + BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,24,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"` // Configuration for the PodSecurityPolicy feature. PodSecurityPolicyConfig *PodSecurityPolicyConfig `protobuf:"bytes,25,opt,name=pod_security_policy_config,json=podSecurityPolicyConfig,proto3" json:"pod_security_policy_config,omitempty"` + // Cluster-level autoscaling configuration. + Autoscaling *ClusterAutoscaling `protobuf:"bytes,26,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` + // Configuration for cluster networking. + NetworkConfig *NetworkConfig `protobuf:"bytes,27,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` + // If this is a private cluster setup. Private clusters are clusters that, by + // default have no external IP addresses on the nodes and where nodes and the + // master communicate over private IP addresses. + // This field is deprecated, use private_cluster_config.enable_private_nodes + // instead. + PrivateCluster bool `protobuf:"varint,28,opt,name=private_cluster,json=privateCluster,proto3" json:"private_cluster,omitempty"` // Deprecated: Do not use. + // The IP prefix in CIDR notation to use for the hosted master network. + // This prefix will be used for assigning private IP addresses to the + // master or set of masters, as well as the ILB VIP. + // This field is deprecated, use + // private_cluster_config.master_ipv4_cidr_block instead. + MasterIpv4CidrBlock string `protobuf:"bytes,29,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"` // Deprecated: Do not use. + // The default constraint on the maximum number of pods that can be run + // simultaneously on a node in the node pool of this cluster. Only honored + // if cluster created with IP Alias support. + DefaultMaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,30,opt,name=default_max_pods_constraint,json=defaultMaxPodsConstraint,proto3" json:"default_max_pods_constraint,omitempty"` + // Configuration for exporting resource usages. Resource usage export is + // disabled when this config unspecified. + ResourceUsageExportConfig *ResourceUsageExportConfig `protobuf:"bytes,33,opt,name=resource_usage_export_config,json=resourceUsageExportConfig,proto3" json:"resource_usage_export_config,omitempty"` + // Configuration for private cluster. + PrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,37,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"` + // Cluster-level Vertical Pod Autoscaling configuration. + VerticalPodAutoscaling *VerticalPodAutoscaling `protobuf:"bytes,39,opt,name=vertical_pod_autoscaling,json=verticalPodAutoscaling,proto3" json:"vertical_pod_autoscaling,omitempty"` // [Output only] Server-defined URL for the resource. SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // [Output only] The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use location instead. - Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` + Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. // [Output only] The IP address of this cluster's master endpoint. // The endpoint can be accessed from the internet at // `https://username:password@endpoint/`. @@ -1483,13 +2061,24 @@ type Cluster struct { // found in validMasterVersions returned by getServerConfig. The version can // be upgraded over time; such upgrades are reflected in // currentMasterVersion and currentNodeVersion. + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "","-": picks the default Kubernetes version InitialClusterVersion string `protobuf:"bytes,103,opt,name=initial_cluster_version,json=initialClusterVersion,proto3" json:"initial_cluster_version,omitempty"` // [Output only] The current software version of the master endpoint. CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion,proto3" json:"current_master_version,omitempty"` - // [Output only] The current version of the node software components. + // [Output only] Deprecated, use + // [NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.zones.clusters.nodePool) + // instead. The current version of the node software components. // If they are currently at multiple versions because they're in the process // of being upgraded, this reflects the minimum version of all nodes. - CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"` + CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"` // Deprecated: Do not use. // [Output only] The time the cluster was created, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` @@ -1508,12 +2097,11 @@ type Cluster struct { // notation (e.g. `1.2.3.4/29`). Service addresses are // typically put in the last `/16` from the container CIDR. ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` - // [Output only] The resource URLs of [instance - // groups](/compute/docs/instance-groups/) associated with this - // cluster. - InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` - // [Output only] The number of nodes currently in the cluster. - CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"` + // Deprecated. Use node_pools.instance_group_urls. + InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` // Deprecated: Do not use. + // [Output only] The number of nodes currently in the cluster. Deprecated. + // Call Kubernetes API directly to retrieve node information. + CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"` // Deprecated: Do not use. // [Output only] The time the cluster will be automatically // deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` @@ -1521,17 +2109,25 @@ type Cluster struct { // [zone](/compute/docs/regions-zones/regions-zones#available) or // [region](/compute/docs/regions-zones/regions-zones#available) in which // the cluster resides. - Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"` + // Enable the ability to use Cloud TPUs in this cluster. + EnableTpu bool `protobuf:"varint,115,opt,name=enable_tpu,json=enableTpu,proto3" json:"enable_tpu,omitempty"` + // [Output only] The IP address range of the Cloud TPUs in this cluster, in + // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + // notation (e.g. `1.2.3.4/29`). + TpuIpv4CidrBlock string `protobuf:"bytes,116,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"` + // Which conditions caused the current cluster state. + Conditions []*StatusCondition `protobuf:"bytes,118,rep,name=conditions,proto3" json:"conditions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{13} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{18} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) @@ -1649,6 +2245,27 @@ func (m *Cluster) GetEnableKubernetesAlpha() bool { return false } +func (m *Cluster) GetResourceLabels() map[string]string { + if m != nil { + return m.ResourceLabels + } + return nil +} + +func (m *Cluster) GetLabelFingerprint() string { + if m != nil { + return m.LabelFingerprint + } + return "" +} + +func (m *Cluster) GetLegacyAbac() *LegacyAbac { + if m != nil { + return m.LegacyAbac + } + return nil +} + func (m *Cluster) GetNetworkPolicy() *NetworkPolicy { if m != nil { return m.NetworkPolicy @@ -1677,20 +2294,86 @@ func (m *Cluster) GetMaintenancePolicy() *MaintenancePolicy { return nil } -func (m *Cluster) GetPodSecurityPolicyConfig() *PodSecurityPolicyConfig { +func (m *Cluster) GetBinaryAuthorization() *BinaryAuthorization { if m != nil { - return m.PodSecurityPolicyConfig + return m.BinaryAuthorization } return nil } -func (m *Cluster) GetSelfLink() string { +func (m *Cluster) GetPodSecurityPolicyConfig() *PodSecurityPolicyConfig { + if m != nil { + return m.PodSecurityPolicyConfig + } + return nil +} + +func (m *Cluster) GetAutoscaling() *ClusterAutoscaling { + if m != nil { + return m.Autoscaling + } + return nil +} + +func (m *Cluster) GetNetworkConfig() *NetworkConfig { + if m != nil { + return m.NetworkConfig + } + return nil +} + +// Deprecated: Do not use. +func (m *Cluster) GetPrivateCluster() bool { + if m != nil { + return m.PrivateCluster + } + return false +} + +// Deprecated: Do not use. +func (m *Cluster) GetMasterIpv4CidrBlock() string { + if m != nil { + return m.MasterIpv4CidrBlock + } + return "" +} + +func (m *Cluster) GetDefaultMaxPodsConstraint() *MaxPodsConstraint { + if m != nil { + return m.DefaultMaxPodsConstraint + } + return nil +} + +func (m *Cluster) GetResourceUsageExportConfig() *ResourceUsageExportConfig { + if m != nil { + return m.ResourceUsageExportConfig + } + return nil +} + +func (m *Cluster) GetPrivateClusterConfig() *PrivateClusterConfig { + if m != nil { + return m.PrivateClusterConfig + } + return nil +} + +func (m *Cluster) GetVerticalPodAutoscaling() *VerticalPodAutoscaling { + if m != nil { + return m.VerticalPodAutoscaling + } + return nil +} + +func (m *Cluster) GetSelfLink() string { if m != nil { return m.SelfLink } return "" } +// Deprecated: Do not use. func (m *Cluster) GetZone() string { if m != nil { return m.Zone @@ -1719,6 +2402,7 @@ func (m *Cluster) GetCurrentMasterVersion() string { return "" } +// Deprecated: Do not use. func (m *Cluster) GetCurrentNodeVersion() string { if m != nil { return m.CurrentNodeVersion @@ -1761,6 +2445,7 @@ func (m *Cluster) GetServicesIpv4Cidr() string { return "" } +// Deprecated: Do not use. func (m *Cluster) GetInstanceGroupUrls() []string { if m != nil { return m.InstanceGroupUrls @@ -1768,6 +2453,7 @@ func (m *Cluster) GetInstanceGroupUrls() []string { return nil } +// Deprecated: Do not use. func (m *Cluster) GetCurrentNodeCount() int32 { if m != nil { return m.CurrentNodeCount @@ -1789,17 +2475,48 @@ func (m *Cluster) GetLocation() string { return "" } +func (m *Cluster) GetEnableTpu() bool { + if m != nil { + return m.EnableTpu + } + return false +} + +func (m *Cluster) GetTpuIpv4CidrBlock() string { + if m != nil { + return m.TpuIpv4CidrBlock + } + return "" +} + +func (m *Cluster) GetConditions() []*StatusCondition { + if m != nil { + return m.Conditions + } + return nil +} + // ClusterUpdate describes an update to the cluster. Exactly one update can // be applied to a cluster with each request, so at most one field can be // provided. type ClusterUpdate struct { // The Kubernetes version to change the nodes to (typically an - // upgrade). Use `-` to upgrade to the latest version supported by - // the server. + // upgrade). + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the Kubernetes master version DesiredNodeVersion string `protobuf:"bytes,4,opt,name=desired_node_version,json=desiredNodeVersion,proto3" json:"desired_node_version,omitempty"` // The monitoring service the cluster should use to write metrics. // Currently available options: // + // * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring + // service with Kubernetes-native resource model in Stackdriver // * "monitoring.googleapis.com" - the Google Cloud Monitoring service // * "none" - no metrics will be exported from the cluster DesiredMonitoringService string `protobuf:"bytes,5,opt,name=desired_monitoring_service,json=desiredMonitoringService,proto3" json:"desired_monitoring_service,omitempty"` @@ -1819,7 +2536,7 @@ type ClusterUpdate struct { // the change applies to that single node pool. DesiredNodePoolAutoscaling *NodePoolAutoscaling `protobuf:"bytes,9,opt,name=desired_node_pool_autoscaling,json=desiredNodePoolAutoscaling,proto3" json:"desired_node_pool_autoscaling,omitempty"` // The desired list of Google Compute Engine - // [locations](/compute/docs/zones#available) in which the cluster's nodes + // [zones](/compute/docs/zones#available) in which the cluster's nodes // should be located. Changing the locations a cluster is in will result // in nodes being either created or removed from the cluster, depending on // whether locations are being added or removed. @@ -1830,9 +2547,33 @@ type ClusterUpdate struct { DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,12,opt,name=desired_master_authorized_networks_config,json=desiredMasterAuthorizedNetworksConfig,proto3" json:"desired_master_authorized_networks_config,omitempty"` // The desired configuration options for the PodSecurityPolicy feature. DesiredPodSecurityPolicyConfig *PodSecurityPolicyConfig `protobuf:"bytes,14,opt,name=desired_pod_security_policy_config,json=desiredPodSecurityPolicyConfig,proto3" json:"desired_pod_security_policy_config,omitempty"` + // Cluster-level autoscaling configuration. + DesiredClusterAutoscaling *ClusterAutoscaling `protobuf:"bytes,15,opt,name=desired_cluster_autoscaling,json=desiredClusterAutoscaling,proto3" json:"desired_cluster_autoscaling,omitempty"` + // The desired configuration options for the Binary Authorization feature. + DesiredBinaryAuthorization *BinaryAuthorization `protobuf:"bytes,16,opt,name=desired_binary_authorization,json=desiredBinaryAuthorization,proto3" json:"desired_binary_authorization,omitempty"` + // The logging service the cluster should use to write metrics. + // Currently available options: + // + // * "logging.googleapis.com/kubernetes" - the Google Cloud Logging + // service with Kubernetes-native resource model in Stackdriver + // * "logging.googleapis.com" - the Google Cloud Logging service + // * "none" - no logs will be exported from the cluster + DesiredLoggingService string `protobuf:"bytes,19,opt,name=desired_logging_service,json=desiredLoggingService,proto3" json:"desired_logging_service,omitempty"` + // The desired configuration for exporting resource usage. + DesiredResourceUsageExportConfig *ResourceUsageExportConfig `protobuf:"bytes,21,opt,name=desired_resource_usage_export_config,json=desiredResourceUsageExportConfig,proto3" json:"desired_resource_usage_export_config,omitempty"` + // Cluster-level Vertical Pod Autoscaling configuration. + DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `protobuf:"bytes,22,opt,name=desired_vertical_pod_autoscaling,json=desiredVerticalPodAutoscaling,proto3" json:"desired_vertical_pod_autoscaling,omitempty"` // The Kubernetes version to change the master to. The only valid value is the - // latest supported version. Use "-" to have the server automatically select - // the latest version. + // latest supported version. + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the default Kubernetes version DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1843,7 +2584,7 @@ func (m *ClusterUpdate) Reset() { *m = ClusterUpdate{} } func (m *ClusterUpdate) String() string { return proto.CompactTextString(m) } func (*ClusterUpdate) ProtoMessage() {} func (*ClusterUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{14} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{19} } func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b) @@ -1926,6 +2667,41 @@ func (m *ClusterUpdate) GetDesiredPodSecurityPolicyConfig() *PodSecurityPolicyCo return nil } +func (m *ClusterUpdate) GetDesiredClusterAutoscaling() *ClusterAutoscaling { + if m != nil { + return m.DesiredClusterAutoscaling + } + return nil +} + +func (m *ClusterUpdate) GetDesiredBinaryAuthorization() *BinaryAuthorization { + if m != nil { + return m.DesiredBinaryAuthorization + } + return nil +} + +func (m *ClusterUpdate) GetDesiredLoggingService() string { + if m != nil { + return m.DesiredLoggingService + } + return "" +} + +func (m *ClusterUpdate) GetDesiredResourceUsageExportConfig() *ResourceUsageExportConfig { + if m != nil { + return m.DesiredResourceUsageExportConfig + } + return nil +} + +func (m *ClusterUpdate) GetDesiredVerticalPodAutoscaling() *VerticalPodAutoscaling { + if m != nil { + return m.DesiredVerticalPodAutoscaling + } + return nil +} + func (m *ClusterUpdate) GetDesiredMasterVersion() string { if m != nil { return m.DesiredMasterVersion @@ -1942,7 +2718,7 @@ type Operation struct { // [zone](/compute/docs/zones#available) in which the operation // is taking place. // This field is deprecated, use location instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. // The operation type. OperationType Operation_Type `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.container.v1beta1.Operation_Type" json:"operation_type,omitempty"` // The current status of the operation. @@ -1965,17 +2741,23 @@ type Operation struct { StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // [Output only] The time the operation completed, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // [Output only] Progress information for an operation. + Progress *OperationProgress `protobuf:"bytes,12,opt,name=progress,proto3" json:"progress,omitempty"` + // Which conditions caused the current cluster state. + ClusterConditions []*StatusCondition `protobuf:"bytes,13,rep,name=cluster_conditions,json=clusterConditions,proto3" json:"cluster_conditions,omitempty"` + // Which conditions caused the current node pool state. + NodepoolConditions []*StatusCondition `protobuf:"bytes,14,rep,name=nodepool_conditions,json=nodepoolConditions,proto3" json:"nodepool_conditions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{15} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{20} } func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) @@ -2002,6 +2784,7 @@ func (m *Operation) GetName() string { return "" } +// Deprecated: Do not use. func (m *Operation) GetZone() string { if m != nil { return m.Zone @@ -2072,17 +2855,289 @@ func (m *Operation) GetEndTime() string { return "" } +func (m *Operation) GetProgress() *OperationProgress { + if m != nil { + return m.Progress + } + return nil +} + +func (m *Operation) GetClusterConditions() []*StatusCondition { + if m != nil { + return m.ClusterConditions + } + return nil +} + +func (m *Operation) GetNodepoolConditions() []*StatusCondition { + if m != nil { + return m.NodepoolConditions + } + return nil +} + +// Information about operation (or operation stage) progress. +type OperationProgress struct { + // A non-parameterized string describing an operation stage. + // Unset for single-stage operations. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Status of an operation stage. + // Unset for single-stage operations. + Status Operation_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.container.v1beta1.Operation_Status" json:"status,omitempty"` + // Progress metric bundle, for example: + // metrics: [{name: "nodes done", int_value: 15}, + // {name: "nodes total", int_value: 32}] + // or + // metrics: [{name: "progress", double_value: 0.56}, + // {name: "progress scale", double_value: 1.0}] + Metrics []*OperationProgress_Metric `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"` + // Substages of an operation or a stage. + Stages []*OperationProgress `protobuf:"bytes,4,rep,name=stages,proto3" json:"stages,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperationProgress) Reset() { *m = OperationProgress{} } +func (m *OperationProgress) String() string { return proto.CompactTextString(m) } +func (*OperationProgress) ProtoMessage() {} +func (*OperationProgress) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{21} +} +func (m *OperationProgress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperationProgress.Unmarshal(m, b) +} +func (m *OperationProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperationProgress.Marshal(b, m, deterministic) +} +func (dst *OperationProgress) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperationProgress.Merge(dst, src) +} +func (m *OperationProgress) XXX_Size() int { + return xxx_messageInfo_OperationProgress.Size(m) +} +func (m *OperationProgress) XXX_DiscardUnknown() { + xxx_messageInfo_OperationProgress.DiscardUnknown(m) +} + +var xxx_messageInfo_OperationProgress proto.InternalMessageInfo + +func (m *OperationProgress) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *OperationProgress) GetStatus() Operation_Status { + if m != nil { + return m.Status + } + return Operation_STATUS_UNSPECIFIED +} + +func (m *OperationProgress) GetMetrics() []*OperationProgress_Metric { + if m != nil { + return m.Metrics + } + return nil +} + +func (m *OperationProgress) GetStages() []*OperationProgress { + if m != nil { + return m.Stages + } + return nil +} + +// Progress metric is (string, int|float|string) pair. +type OperationProgress_Metric struct { + // Metric name, required. + // e.g., "nodes total", "percent done" + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Strictly one of the values is required. + // + // Types that are valid to be assigned to Value: + // *OperationProgress_Metric_IntValue + // *OperationProgress_Metric_DoubleValue + // *OperationProgress_Metric_StringValue + Value isOperationProgress_Metric_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperationProgress_Metric) Reset() { *m = OperationProgress_Metric{} } +func (m *OperationProgress_Metric) String() string { return proto.CompactTextString(m) } +func (*OperationProgress_Metric) ProtoMessage() {} +func (*OperationProgress_Metric) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{21, 0} +} +func (m *OperationProgress_Metric) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperationProgress_Metric.Unmarshal(m, b) +} +func (m *OperationProgress_Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperationProgress_Metric.Marshal(b, m, deterministic) +} +func (dst *OperationProgress_Metric) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperationProgress_Metric.Merge(dst, src) +} +func (m *OperationProgress_Metric) XXX_Size() int { + return xxx_messageInfo_OperationProgress_Metric.Size(m) +} +func (m *OperationProgress_Metric) XXX_DiscardUnknown() { + xxx_messageInfo_OperationProgress_Metric.DiscardUnknown(m) +} + +var xxx_messageInfo_OperationProgress_Metric proto.InternalMessageInfo + +func (m *OperationProgress_Metric) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type isOperationProgress_Metric_Value interface { + isOperationProgress_Metric_Value() +} + +type OperationProgress_Metric_IntValue struct { + IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"` +} + +type OperationProgress_Metric_DoubleValue struct { + DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` +} + +type OperationProgress_Metric_StringValue struct { + StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +func (*OperationProgress_Metric_IntValue) isOperationProgress_Metric_Value() {} + +func (*OperationProgress_Metric_DoubleValue) isOperationProgress_Metric_Value() {} + +func (*OperationProgress_Metric_StringValue) isOperationProgress_Metric_Value() {} + +func (m *OperationProgress_Metric) GetValue() isOperationProgress_Metric_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *OperationProgress_Metric) GetIntValue() int64 { + if x, ok := m.GetValue().(*OperationProgress_Metric_IntValue); ok { + return x.IntValue + } + return 0 +} + +func (m *OperationProgress_Metric) GetDoubleValue() float64 { + if x, ok := m.GetValue().(*OperationProgress_Metric_DoubleValue); ok { + return x.DoubleValue + } + return 0 +} + +func (m *OperationProgress_Metric) GetStringValue() string { + if x, ok := m.GetValue().(*OperationProgress_Metric_StringValue); ok { + return x.StringValue + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*OperationProgress_Metric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _OperationProgress_Metric_OneofMarshaler, _OperationProgress_Metric_OneofUnmarshaler, _OperationProgress_Metric_OneofSizer, []interface{}{ + (*OperationProgress_Metric_IntValue)(nil), + (*OperationProgress_Metric_DoubleValue)(nil), + (*OperationProgress_Metric_StringValue)(nil), + } +} + +func _OperationProgress_Metric_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*OperationProgress_Metric) + // value + switch x := m.Value.(type) { + case *OperationProgress_Metric_IntValue: + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.IntValue)) + case *OperationProgress_Metric_DoubleValue: + b.EncodeVarint(3<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.DoubleValue)) + case *OperationProgress_Metric_StringValue: + b.EncodeVarint(4<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case nil: + default: + return fmt.Errorf("OperationProgress_Metric.Value has unexpected type %T", x) + } + return nil +} + +func _OperationProgress_Metric_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*OperationProgress_Metric) + switch tag { + case 2: // value.int_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Value = &OperationProgress_Metric_IntValue{int64(x)} + return true, err + case 3: // value.double_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.Value = &OperationProgress_Metric_DoubleValue{math.Float64frombits(x)} + return true, err + case 4: // value.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Value = &OperationProgress_Metric_StringValue{x} + return true, err + default: + return false, nil + } +} + +func _OperationProgress_Metric_OneofSizer(msg proto.Message) (n int) { + m := msg.(*OperationProgress_Metric) + // value + switch x := m.Value.(type) { + case *OperationProgress_Metric_IntValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.IntValue)) + case *OperationProgress_Metric_DoubleValue: + n += 1 // tag and wire + n += 8 + case *OperationProgress_Metric_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + // CreateClusterRequest creates a cluster. type CreateClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use parent instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use parent instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. // A [cluster // resource](/container-engine/reference/rest/v1beta1/projects.zones.clusters) Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` @@ -2098,7 +3153,7 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{16} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{22} } func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) @@ -2118,6 +3173,7 @@ func (m *CreateClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *CreateClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2125,6 +3181,7 @@ func (m *CreateClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *CreateClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2148,18 +3205,18 @@ func (m *CreateClusterRequest) GetParent() string { // GetClusterRequest gets the settings of a cluster. type GetClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to retrieve. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to retrieve. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // The name (project, location, cluster) of the cluster to retrieve. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` @@ -2172,7 +3229,7 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{17} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{23} } func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) @@ -2192,6 +3249,7 @@ func (m *GetClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *GetClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2199,6 +3257,7 @@ func (m *GetClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *GetClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2206,6 +3265,7 @@ func (m *GetClusterRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *GetClusterRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2222,18 +3282,18 @@ func (m *GetClusterRequest) GetName() string { // UpdateClusterRequest updates the settings of a cluster. type UpdateClusterRequest struct { - // The Google Developers Console [project ID or project + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. // A description of the update. Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"` // The name (project, location, cluster) of the cluster to update. @@ -2248,7 +3308,7 @@ func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{18} + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{24} } func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) @@ -2268,6 +3328,7 @@ func (m *UpdateClusterRequest) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *UpdateClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -2275,6 +3336,7 @@ func (m *UpdateClusterRequest) GetProjectId() string { return "" } +// Deprecated: Do not use. func (m *UpdateClusterRequest) GetZone() string { if m != nil { return m.Zone @@ -2282,6 +3344,7 @@ func (m *UpdateClusterRequest) GetZone() string { return "" } +// Deprecated: Do not use. func (m *UpdateClusterRequest) GetClusterId() string { if m != nil { return m.ClusterId @@ -2303,2291 +3366,4012 @@ func (m *UpdateClusterRequest) GetName() string { return "" } -// SetMasterAuthRequest updates the admin password of a cluster. -type SetMasterAuthRequest struct { - // The Google Developers Console [project ID or project +// SetNodePoolVersionRequest updates the version of a node pool. +type UpdateNodePoolRequest struct { + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to upgrade. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The exact form of action to be taken on the master auth. - Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1beta1.SetMasterAuthRequest_Action" json:"action,omitempty"` - // A description of the update. - Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"` - // The name (project, location, cluster) of the cluster to set auth. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to upgrade. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The Kubernetes version to change the nodes to (typically an + // upgrade). + // + // Users may specify either explicit versions offered by Kubernetes Engine or + // version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the Kubernetes master version + NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"` + // The desired image type for the node pool. + ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` + // The name (project, location, cluster, node pool) of the node pool to + // update. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } -func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } -func (*SetMasterAuthRequest) ProtoMessage() {} -func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{19} +func (m *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} } +func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateNodePoolRequest) ProtoMessage() {} +func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{25} } -func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) +func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b) } -func (m *SetMasterAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMasterAuthRequest.Marshal(b, m, deterministic) +func (m *UpdateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateNodePoolRequest.Marshal(b, m, deterministic) } -func (dst *SetMasterAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMasterAuthRequest.Merge(dst, src) +func (dst *UpdateNodePoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNodePoolRequest.Merge(dst, src) } -func (m *SetMasterAuthRequest) XXX_Size() int { - return xxx_messageInfo_SetMasterAuthRequest.Size(m) +func (m *UpdateNodePoolRequest) XXX_Size() int { + return xxx_messageInfo_UpdateNodePoolRequest.Size(m) } -func (m *SetMasterAuthRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMasterAuthRequest.DiscardUnknown(m) +func (m *UpdateNodePoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNodePoolRequest.DiscardUnknown(m) } -var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo +var xxx_messageInfo_UpdateNodePoolRequest proto.InternalMessageInfo -func (m *SetMasterAuthRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *UpdateNodePoolRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *SetMasterAuthRequest) GetZone() string { +// Deprecated: Do not use. +func (m *UpdateNodePoolRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *SetMasterAuthRequest) GetClusterId() string { +// Deprecated: Do not use. +func (m *UpdateNodePoolRequest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action { +// Deprecated: Do not use. +func (m *UpdateNodePoolRequest) GetNodePoolId() string { if m != nil { - return m.Action + return m.NodePoolId } - return SetMasterAuthRequest_UNKNOWN + return "" } -func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth { +func (m *UpdateNodePoolRequest) GetNodeVersion() string { if m != nil { - return m.Update + return m.NodeVersion } - return nil + return "" } -func (m *SetMasterAuthRequest) GetName() string { +func (m *UpdateNodePoolRequest) GetImageType() string { + if m != nil { + return m.ImageType + } + return "" +} + +func (m *UpdateNodePoolRequest) GetName() string { if m != nil { return m.Name } return "" } -// DeleteClusterRequest deletes a cluster. -type DeleteClusterRequest struct { - // The Google Developers Console [project ID or project +// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. +type SetNodePoolAutoscalingRequest struct { + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to delete. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name (project, location, cluster) of the cluster to delete. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to upgrade. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // Autoscaling configuration for the node pool. + Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` + // The name (project, location, cluster, node pool) of the node pool to set + // autoscaler settings. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } -func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteClusterRequest) ProtoMessage() {} -func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{20} +func (m *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutoscalingRequest{} } +func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) } +func (*SetNodePoolAutoscalingRequest) ProtoMessage() {} +func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{26} } -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) +func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b) } -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) +func (m *SetNodePoolAutoscalingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetNodePoolAutoscalingRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) +func (dst *SetNodePoolAutoscalingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetNodePoolAutoscalingRequest.Merge(dst, src) } -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) +func (m *SetNodePoolAutoscalingRequest) XXX_Size() int { + return xxx_messageInfo_SetNodePoolAutoscalingRequest.Size(m) } -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) +func (m *SetNodePoolAutoscalingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetNodePoolAutoscalingRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo +var xxx_messageInfo_SetNodePoolAutoscalingRequest proto.InternalMessageInfo -func (m *DeleteClusterRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *SetNodePoolAutoscalingRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *DeleteClusterRequest) GetZone() string { +// Deprecated: Do not use. +func (m *SetNodePoolAutoscalingRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *DeleteClusterRequest) GetClusterId() string { +// Deprecated: Do not use. +func (m *SetNodePoolAutoscalingRequest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *DeleteClusterRequest) GetName() string { +// Deprecated: Do not use. +func (m *SetNodePoolAutoscalingRequest) GetNodePoolId() string { + if m != nil { + return m.NodePoolId + } + return "" +} + +func (m *SetNodePoolAutoscalingRequest) GetAutoscaling() *NodePoolAutoscaling { + if m != nil { + return m.Autoscaling + } + return nil +} + +func (m *SetNodePoolAutoscalingRequest) GetName() string { if m != nil { return m.Name } return "" } -// ListClustersRequest lists clusters. -type ListClustersRequest struct { - // The Google Developers Console [project ID or project +// SetLoggingServiceRequest sets the logging service of a cluster. +type SetLoggingServiceRequest struct { + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use parent instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster - // resides, or "-" for all zones. - // This field is deprecated, use parent instead. + // resides. + // This field has been deprecated and replaced by the name field. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The parent (project and location) where the clusters will be listed. - // Specified in the format 'projects/*/locations/*'. - // Location "-" matches all zones and all regions. - Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The logging service the cluster should use to write metrics. + // Currently available options: + // + // * "logging.googleapis.com" - the Google Cloud Logging service + // * "none" - no metrics will be exported from the cluster + LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` + // The name (project, location, cluster) of the cluster to set logging. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{21} +func (m *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceRequest{} } +func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) } +func (*SetLoggingServiceRequest) ProtoMessage() {} +func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{27} } -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) +func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b) } -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) +func (m *SetLoggingServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetLoggingServiceRequest.Marshal(b, m, deterministic) } -func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(dst, src) +func (dst *SetLoggingServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetLoggingServiceRequest.Merge(dst, src) } -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) +func (m *SetLoggingServiceRequest) XXX_Size() int { + return xxx_messageInfo_SetLoggingServiceRequest.Size(m) } -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) +func (m *SetLoggingServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetLoggingServiceRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo +var xxx_messageInfo_SetLoggingServiceRequest proto.InternalMessageInfo -func (m *ListClustersRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *SetLoggingServiceRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *ListClustersRequest) GetZone() string { +func (m *SetLoggingServiceRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *ListClustersRequest) GetParent() string { +// Deprecated: Do not use. +func (m *SetLoggingServiceRequest) GetClusterId() string { if m != nil { - return m.Parent + return m.ClusterId } return "" } -// ListClustersResponse is the result of ListClustersRequest. -type ListClustersResponse struct { - // A list of clusters in the project in the specified zone, or - // across all ones. - Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` - // If any zones are listed here, the list of clusters returned - // may be missing those zones. - MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } -func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } -func (*ListClustersResponse) ProtoMessage() {} -func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{22} -} -func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) -} -func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) -} -func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(dst, src) -} -func (m *ListClustersResponse) XXX_Size() int { - return xxx_messageInfo_ListClustersResponse.Size(m) -} -func (m *ListClustersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo - -func (m *ListClustersResponse) GetClusters() []*Cluster { +func (m *SetLoggingServiceRequest) GetLoggingService() string { if m != nil { - return m.Clusters + return m.LoggingService } - return nil + return "" } -func (m *ListClustersResponse) GetMissingZones() []string { +func (m *SetLoggingServiceRequest) GetName() string { if m != nil { - return m.MissingZones + return m.Name } - return nil + return "" } -// GetOperationRequest gets a single operation. -type GetOperationRequest struct { - // The Google Developers Console [project ID or project +// SetMonitoringServiceRequest sets the monitoring service of a cluster. +type SetMonitoringServiceRequest struct { + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The server-assigned `name` of the operation. - // This field is deprecated, use name instead. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // The name (project, location, operation id) of the operation to get. - // Specified in the format 'projects/*/locations/*/operations/*'. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The monitoring service the cluster should use to write metrics. + // Currently available options: + // + // * "monitoring.googleapis.com" - the Google Cloud Monitoring service + // * "none" - no metrics will be exported from the cluster + MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` + // The name (project, location, cluster) of the cluster to set monitoring. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} } -func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperationRequest) ProtoMessage() {} -func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{23} +func (m *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServiceRequest{} } +func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) } +func (*SetMonitoringServiceRequest) ProtoMessage() {} +func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{28} } -func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) +func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b) } -func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) +func (m *SetMonitoringServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMonitoringServiceRequest.Marshal(b, m, deterministic) } -func (dst *GetOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationRequest.Merge(dst, src) +func (dst *SetMonitoringServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMonitoringServiceRequest.Merge(dst, src) } -func (m *GetOperationRequest) XXX_Size() int { - return xxx_messageInfo_GetOperationRequest.Size(m) +func (m *SetMonitoringServiceRequest) XXX_Size() int { + return xxx_messageInfo_SetMonitoringServiceRequest.Size(m) } -func (m *GetOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperationRequest.DiscardUnknown(m) +func (m *SetMonitoringServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetMonitoringServiceRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo +var xxx_messageInfo_SetMonitoringServiceRequest proto.InternalMessageInfo -func (m *GetOperationRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *SetMonitoringServiceRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *GetOperationRequest) GetZone() string { +// Deprecated: Do not use. +func (m *SetMonitoringServiceRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *GetOperationRequest) GetOperationId() string { +// Deprecated: Do not use. +func (m *SetMonitoringServiceRequest) GetClusterId() string { if m != nil { - return m.OperationId + return m.ClusterId } return "" } -func (m *GetOperationRequest) GetName() string { +func (m *SetMonitoringServiceRequest) GetMonitoringService() string { + if m != nil { + return m.MonitoringService + } + return "" +} + +func (m *SetMonitoringServiceRequest) GetName() string { if m != nil { return m.Name } return "" } -// ListOperationsRequest lists operations. -type ListOperationsRequest struct { - // The Google Developers Console [project ID or project +// SetAddonsRequest sets the addons associated with the cluster. +type SetAddonsConfigRequest struct { + // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use parent instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine [zone](/compute/docs/zones#available) - // to return operations for, or `-` for all zones. - // This field is deprecated, use parent instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The parent (project and location) where the operations will be listed. - // Specified in the format 'projects/*/locations/*'. - // Location "-" matches all zones and all regions. - Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The desired configurations for the various addons available to run in the + // cluster. + AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"` + // The name (project, location, cluster) of the cluster to set addons. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } -func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListOperationsRequest) ProtoMessage() {} -func (*ListOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{24} +func (m *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} } +func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) } +func (*SetAddonsConfigRequest) ProtoMessage() {} +func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{29} } -func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) +func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b) } -func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic) +func (m *SetAddonsConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetAddonsConfigRequest.Marshal(b, m, deterministic) } -func (dst *ListOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsRequest.Merge(dst, src) +func (dst *SetAddonsConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAddonsConfigRequest.Merge(dst, src) } -func (m *ListOperationsRequest) XXX_Size() int { - return xxx_messageInfo_ListOperationsRequest.Size(m) +func (m *SetAddonsConfigRequest) XXX_Size() int { + return xxx_messageInfo_SetAddonsConfigRequest.Size(m) } -func (m *ListOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m) +func (m *SetAddonsConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetAddonsConfigRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo +var xxx_messageInfo_SetAddonsConfigRequest proto.InternalMessageInfo -func (m *ListOperationsRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *SetAddonsConfigRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *ListOperationsRequest) GetZone() string { +// Deprecated: Do not use. +func (m *SetAddonsConfigRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *ListOperationsRequest) GetParent() string { +// Deprecated: Do not use. +func (m *SetAddonsConfigRequest) GetClusterId() string { if m != nil { - return m.Parent + return m.ClusterId } return "" } -// CancelOperationRequest cancels a single operation. -type CancelOperationRequest struct { - // The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the operation resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The server-assigned `name` of the operation. - // This field is deprecated, use name instead. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // The name (project, location, operation id) of the operation to cancel. - // Specified in the format 'projects/*/locations/*/operations/*'. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +func (m *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig { + if m != nil { + return m.AddonsConfig + } + return nil +} + +func (m *SetAddonsConfigRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// SetLocationsRequest sets the locations of the cluster. +type SetLocationsRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The desired list of Google Compute Engine + // [zones](/compute/docs/zones#available) in which the cluster's nodes + // should be located. Changing the locations a cluster is in will result + // in nodes being either created or removed from the cluster, depending on + // whether locations are being added or removed. + // + // This list must always include the cluster's primary zone. + Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"` + // The name (project, location, cluster) of the cluster to set locations. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} } -func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } -func (*CancelOperationRequest) ProtoMessage() {} -func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{25} +func (m *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} } +func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*SetLocationsRequest) ProtoMessage() {} +func (*SetLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{30} } -func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b) +func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b) } -func (m *CancelOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelOperationRequest.Marshal(b, m, deterministic) +func (m *SetLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetLocationsRequest.Marshal(b, m, deterministic) } -func (dst *CancelOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelOperationRequest.Merge(dst, src) +func (dst *SetLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetLocationsRequest.Merge(dst, src) } -func (m *CancelOperationRequest) XXX_Size() int { - return xxx_messageInfo_CancelOperationRequest.Size(m) +func (m *SetLocationsRequest) XXX_Size() int { + return xxx_messageInfo_SetLocationsRequest.Size(m) } -func (m *CancelOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelOperationRequest.DiscardUnknown(m) +func (m *SetLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetLocationsRequest.DiscardUnknown(m) } -var xxx_messageInfo_CancelOperationRequest proto.InternalMessageInfo +var xxx_messageInfo_SetLocationsRequest proto.InternalMessageInfo -func (m *CancelOperationRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *SetLocationsRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *CancelOperationRequest) GetZone() string { +// Deprecated: Do not use. +func (m *SetLocationsRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *CancelOperationRequest) GetOperationId() string { +// Deprecated: Do not use. +func (m *SetLocationsRequest) GetClusterId() string { if m != nil { - return m.OperationId + return m.ClusterId } return "" } -func (m *CancelOperationRequest) GetName() string { +func (m *SetLocationsRequest) GetLocations() []string { + if m != nil { + return m.Locations + } + return nil +} + +func (m *SetLocationsRequest) GetName() string { if m != nil { return m.Name } return "" } -// ListOperationsResponse is the result of ListOperationsRequest. -type ListOperationsResponse struct { - // A list of operations in the project in the specified zone. - Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` - // If any zones are listed here, the list of operations returned - // may be missing the operations from those zones. - MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` +// UpdateMasterRequest updates the master of the cluster. +type UpdateMasterRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The Kubernetes version to change the master to. + // + // Users may specify either explicit versions offered by + // Kubernetes Engine or version aliases, which have the following behavior: + // + // - "latest": picks the highest valid Kubernetes version + // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + // - "1.X.Y-gke.N": picks an explicit Kubernetes version + // - "-": picks the default Kubernetes version + MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"` + // The name (project, location, cluster) of the cluster to update. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} } -func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListOperationsResponse) ProtoMessage() {} -func (*ListOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{26} +func (m *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} } +func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateMasterRequest) ProtoMessage() {} +func (*UpdateMasterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{31} } -func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOperationsResponse.Unmarshal(m, b) +func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b) } -func (m *ListOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOperationsResponse.Marshal(b, m, deterministic) +func (m *UpdateMasterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateMasterRequest.Marshal(b, m, deterministic) } -func (dst *ListOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsResponse.Merge(dst, src) +func (dst *UpdateMasterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateMasterRequest.Merge(dst, src) } -func (m *ListOperationsResponse) XXX_Size() int { - return xxx_messageInfo_ListOperationsResponse.Size(m) +func (m *UpdateMasterRequest) XXX_Size() int { + return xxx_messageInfo_UpdateMasterRequest.Size(m) } -func (m *ListOperationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListOperationsResponse.DiscardUnknown(m) +func (m *UpdateMasterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateMasterRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListOperationsResponse proto.InternalMessageInfo +var xxx_messageInfo_UpdateMasterRequest proto.InternalMessageInfo -func (m *ListOperationsResponse) GetOperations() []*Operation { +// Deprecated: Do not use. +func (m *UpdateMasterRequest) GetProjectId() string { if m != nil { - return m.Operations + return m.ProjectId } - return nil + return "" } -func (m *ListOperationsResponse) GetMissingZones() []string { +// Deprecated: Do not use. +func (m *UpdateMasterRequest) GetZone() string { if m != nil { - return m.MissingZones + return m.Zone } - return nil -} - -// Gets the current Container Engine service configuration. -type GetServerConfigRequest struct { - // The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine [zone](/compute/docs/zones#available) - // to return operations for. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name (project and location) of the server config to get - // Specified in the format 'projects/*/locations/*'. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServerConfigRequest) Reset() { *m = GetServerConfigRequest{} } -func (m *GetServerConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetServerConfigRequest) ProtoMessage() {} -func (*GetServerConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{27} -} -func (m *GetServerConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServerConfigRequest.Unmarshal(m, b) -} -func (m *GetServerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServerConfigRequest.Marshal(b, m, deterministic) -} -func (dst *GetServerConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerConfigRequest.Merge(dst, src) -} -func (m *GetServerConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetServerConfigRequest.Size(m) -} -func (m *GetServerConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServerConfigRequest.DiscardUnknown(m) + return "" } -var xxx_messageInfo_GetServerConfigRequest proto.InternalMessageInfo - -func (m *GetServerConfigRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *UpdateMasterRequest) GetClusterId() string { if m != nil { - return m.ProjectId + return m.ClusterId } return "" } -func (m *GetServerConfigRequest) GetZone() string { +func (m *UpdateMasterRequest) GetMasterVersion() string { if m != nil { - return m.Zone + return m.MasterVersion } return "" } -func (m *GetServerConfigRequest) GetName() string { +func (m *UpdateMasterRequest) GetName() string { if m != nil { return m.Name } return "" } -// Container Engine service configuration. -type ServerConfig struct { - // Version of Kubernetes the service deploys by default. - DefaultClusterVersion string `protobuf:"bytes,1,opt,name=default_cluster_version,json=defaultClusterVersion,proto3" json:"default_cluster_version,omitempty"` - // List of valid node upgrade target versions. - ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions,proto3" json:"valid_node_versions,omitempty"` - // Default image type. - DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType,proto3" json:"default_image_type,omitempty"` - // List of valid image types. - ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes,proto3" json:"valid_image_types,omitempty"` - // List of valid master versions. - ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions,proto3" json:"valid_master_versions,omitempty"` +// SetMasterAuthRequest updates the admin password of a cluster. +type SetMasterAuthRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to upgrade. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The exact form of action to be taken on the master auth. + Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1beta1.SetMasterAuthRequest_Action" json:"action,omitempty"` + // A description of the update. + Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"` + // The name (project, location, cluster) of the cluster to set auth. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ServerConfig) Reset() { *m = ServerConfig{} } -func (m *ServerConfig) String() string { return proto.CompactTextString(m) } -func (*ServerConfig) ProtoMessage() {} -func (*ServerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{28} +func (m *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } +func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } +func (*SetMasterAuthRequest) ProtoMessage() {} +func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{32} } -func (m *ServerConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerConfig.Unmarshal(m, b) +func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) } -func (m *ServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerConfig.Marshal(b, m, deterministic) +func (m *SetMasterAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMasterAuthRequest.Marshal(b, m, deterministic) } -func (dst *ServerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerConfig.Merge(dst, src) +func (dst *SetMasterAuthRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMasterAuthRequest.Merge(dst, src) } -func (m *ServerConfig) XXX_Size() int { - return xxx_messageInfo_ServerConfig.Size(m) +func (m *SetMasterAuthRequest) XXX_Size() int { + return xxx_messageInfo_SetMasterAuthRequest.Size(m) } -func (m *ServerConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ServerConfig.DiscardUnknown(m) +func (m *SetMasterAuthRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetMasterAuthRequest.DiscardUnknown(m) } -var xxx_messageInfo_ServerConfig proto.InternalMessageInfo +var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo -func (m *ServerConfig) GetDefaultClusterVersion() string { +// Deprecated: Do not use. +func (m *SetMasterAuthRequest) GetProjectId() string { if m != nil { - return m.DefaultClusterVersion + return m.ProjectId } return "" } -func (m *ServerConfig) GetValidNodeVersions() []string { +// Deprecated: Do not use. +func (m *SetMasterAuthRequest) GetZone() string { if m != nil { - return m.ValidNodeVersions + return m.Zone } - return nil + return "" } -func (m *ServerConfig) GetDefaultImageType() string { +// Deprecated: Do not use. +func (m *SetMasterAuthRequest) GetClusterId() string { if m != nil { - return m.DefaultImageType + return m.ClusterId } return "" } -func (m *ServerConfig) GetValidImageTypes() []string { +func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action { if m != nil { - return m.ValidImageTypes + return m.Action } - return nil + return SetMasterAuthRequest_UNKNOWN } -func (m *ServerConfig) GetValidMasterVersions() []string { +func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth { if m != nil { - return m.ValidMasterVersions + return m.Update } return nil } -// CreateNodePoolRequest creates a node pool for a cluster. -type CreateNodePoolRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use parent instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine +func (m *SetMasterAuthRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// DeleteClusterRequest deletes a cluster. +type DeleteClusterRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use parent instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use parent instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The node pool to create. - NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"` - // The parent (project, location, cluster id) where the node pool will be created. - // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. - Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to delete. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster) of the cluster to delete. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CreateNodePoolRequest) Reset() { *m = CreateNodePoolRequest{} } -func (m *CreateNodePoolRequest) String() string { return proto.CompactTextString(m) } -func (*CreateNodePoolRequest) ProtoMessage() {} -func (*CreateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{29} +func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } +func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterRequest) ProtoMessage() {} +func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{33} } -func (m *CreateNodePoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateNodePoolRequest.Unmarshal(m, b) +func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) } -func (m *CreateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateNodePoolRequest.Marshal(b, m, deterministic) +func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) } -func (dst *CreateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNodePoolRequest.Merge(dst, src) +func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) } -func (m *CreateNodePoolRequest) XXX_Size() int { - return xxx_messageInfo_CreateNodePoolRequest.Size(m) +func (m *DeleteClusterRequest) XXX_Size() int { + return xxx_messageInfo_DeleteClusterRequest.Size(m) } -func (m *CreateNodePoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNodePoolRequest.DiscardUnknown(m) +func (m *DeleteClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) } -var xxx_messageInfo_CreateNodePoolRequest proto.InternalMessageInfo +var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo -func (m *CreateNodePoolRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *DeleteClusterRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *CreateNodePoolRequest) GetZone() string { +// Deprecated: Do not use. +func (m *DeleteClusterRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *CreateNodePoolRequest) GetClusterId() string { +// Deprecated: Do not use. +func (m *DeleteClusterRequest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CreateNodePoolRequest) GetNodePool() *NodePool { - if m != nil { - return m.NodePool - } - return nil -} - -func (m *CreateNodePoolRequest) GetParent() string { +func (m *DeleteClusterRequest) GetName() string { if m != nil { - return m.Parent + return m.Name } return "" } -// DeleteNodePoolRequest deletes a node pool for a cluster. -type DeleteNodePoolRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine +// ListClustersRequest lists clusters. +type ListClustersRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster - // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to delete. - // This field is deprecated, use name instead. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` - // The name (project, location, cluster, node pool id) of the node pool to delete. - // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // resides, or "-" for all zones. + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // The parent (project and location) where the clusters will be listed. + // Specified in the format 'projects/*/locations/*'. + // Location "-" matches all zones and all regions. + Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteNodePoolRequest) Reset() { *m = DeleteNodePoolRequest{} } -func (m *DeleteNodePoolRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteNodePoolRequest) ProtoMessage() {} -func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{30} +func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } +func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } +func (*ListClustersRequest) ProtoMessage() {} +func (*ListClustersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{34} } -func (m *DeleteNodePoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteNodePoolRequest.Unmarshal(m, b) +func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) } -func (m *DeleteNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteNodePoolRequest.Marshal(b, m, deterministic) +func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) } -func (dst *DeleteNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNodePoolRequest.Merge(dst, src) +func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(dst, src) } -func (m *DeleteNodePoolRequest) XXX_Size() int { - return xxx_messageInfo_DeleteNodePoolRequest.Size(m) +func (m *ListClustersRequest) XXX_Size() int { + return xxx_messageInfo_ListClustersRequest.Size(m) } -func (m *DeleteNodePoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNodePoolRequest.DiscardUnknown(m) +func (m *ListClustersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteNodePoolRequest proto.InternalMessageInfo +var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo -func (m *DeleteNodePoolRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *ListClustersRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *DeleteNodePoolRequest) GetZone() string { +// Deprecated: Do not use. +func (m *ListClustersRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *DeleteNodePoolRequest) GetClusterId() string { +func (m *ListClustersRequest) GetParent() string { if m != nil { - return m.ClusterId + return m.Parent } return "" } -func (m *DeleteNodePoolRequest) GetNodePoolId() string { +// ListClustersResponse is the result of ListClustersRequest. +type ListClustersResponse struct { + // A list of clusters in the project in the specified zone, or + // across all ones. + Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` + // If any zones are listed here, the list of clusters returned + // may be missing those zones. + MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } +func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } +func (*ListClustersResponse) ProtoMessage() {} +func (*ListClustersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{35} +} +func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) +} +func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) +} +func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(dst, src) +} +func (m *ListClustersResponse) XXX_Size() int { + return xxx_messageInfo_ListClustersResponse.Size(m) +} +func (m *ListClustersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo + +func (m *ListClustersResponse) GetClusters() []*Cluster { if m != nil { - return m.NodePoolId + return m.Clusters } - return "" + return nil } -func (m *DeleteNodePoolRequest) GetName() string { +func (m *ListClustersResponse) GetMissingZones() []string { if m != nil { - return m.Name + return m.MissingZones } - return "" + return nil } -// ListNodePoolsRequest lists the node pool(s) for a cluster. -type ListNodePoolsRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use parent instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine +// GetOperationRequest gets a single operation. +type GetOperationRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use parent instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use parent instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The parent (project, location, cluster id) where the node pools will be listed. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The server-assigned `name` of the operation. + // This field has been deprecated and replaced by the name field. + OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, operation id) of the operation to get. + // Specified in the format 'projects/*/locations/*/operations/*'. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListNodePoolsRequest) Reset() { *m = ListNodePoolsRequest{} } -func (m *ListNodePoolsRequest) String() string { return proto.CompactTextString(m) } -func (*ListNodePoolsRequest) ProtoMessage() {} -func (*ListNodePoolsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{31} +func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} } +func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } +func (*GetOperationRequest) ProtoMessage() {} +func (*GetOperationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{36} } -func (m *ListNodePoolsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNodePoolsRequest.Unmarshal(m, b) +func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) } -func (m *ListNodePoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNodePoolsRequest.Marshal(b, m, deterministic) +func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) } -func (dst *ListNodePoolsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsRequest.Merge(dst, src) +func (dst *GetOperationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOperationRequest.Merge(dst, src) } -func (m *ListNodePoolsRequest) XXX_Size() int { - return xxx_messageInfo_ListNodePoolsRequest.Size(m) +func (m *GetOperationRequest) XXX_Size() int { + return xxx_messageInfo_GetOperationRequest.Size(m) } -func (m *ListNodePoolsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListNodePoolsRequest.DiscardUnknown(m) +func (m *GetOperationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetOperationRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListNodePoolsRequest proto.InternalMessageInfo +var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo -func (m *ListNodePoolsRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *GetOperationRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *ListNodePoolsRequest) GetZone() string { +// Deprecated: Do not use. +func (m *GetOperationRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *ListNodePoolsRequest) GetClusterId() string { +// Deprecated: Do not use. +func (m *GetOperationRequest) GetOperationId() string { if m != nil { - return m.ClusterId + return m.OperationId } return "" } -func (m *ListNodePoolsRequest) GetParent() string { +func (m *GetOperationRequest) GetName() string { if m != nil { - return m.Parent + return m.Name } return "" } -// GetNodePoolRequest retrieves a node pool for a cluster. -type GetNodePoolRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the cluster - // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool. - // This field is deprecated, use name instead. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` - // The name (project, location, cluster, node pool id) of the node pool to get. - // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` +// ListOperationsRequest lists operations. +type ListOperationsRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) to return operations for, or `-` for + // all zones. This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // The parent (project and location) where the operations will be listed. + // Specified in the format 'projects/*/locations/*'. + // Location "-" matches all zones and all regions. + Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *GetNodePoolRequest) Reset() { *m = GetNodePoolRequest{} } -func (m *GetNodePoolRequest) String() string { return proto.CompactTextString(m) } -func (*GetNodePoolRequest) ProtoMessage() {} -func (*GetNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{32} +func (m *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } +func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListOperationsRequest) ProtoMessage() {} +func (*ListOperationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{37} } -func (m *GetNodePoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNodePoolRequest.Unmarshal(m, b) +func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) } -func (m *GetNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNodePoolRequest.Marshal(b, m, deterministic) +func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic) } -func (dst *GetNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNodePoolRequest.Merge(dst, src) +func (dst *ListOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOperationsRequest.Merge(dst, src) } -func (m *GetNodePoolRequest) XXX_Size() int { - return xxx_messageInfo_GetNodePoolRequest.Size(m) +func (m *ListOperationsRequest) XXX_Size() int { + return xxx_messageInfo_ListOperationsRequest.Size(m) } -func (m *GetNodePoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNodePoolRequest.DiscardUnknown(m) +func (m *ListOperationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetNodePoolRequest proto.InternalMessageInfo +var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo -func (m *GetNodePoolRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *ListOperationsRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *GetNodePoolRequest) GetZone() string { +// Deprecated: Do not use. +func (m *ListOperationsRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *GetNodePoolRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *GetNodePoolRequest) GetNodePoolId() string { +func (m *ListOperationsRequest) GetParent() string { if m != nil { - return m.NodePoolId + return m.Parent } return "" } -func (m *GetNodePoolRequest) GetName() string { - if m != nil { +// CancelOperationRequest cancels a single operation. +type CancelOperationRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the operation resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The server-assigned `name` of the operation. + // This field has been deprecated and replaced by the name field. + OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, operation id) of the operation to cancel. + // Specified in the format 'projects/*/locations/*/operations/*'. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} } +func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } +func (*CancelOperationRequest) ProtoMessage() {} +func (*CancelOperationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{38} +} +func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b) +} +func (m *CancelOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CancelOperationRequest.Marshal(b, m, deterministic) +} +func (dst *CancelOperationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelOperationRequest.Merge(dst, src) +} +func (m *CancelOperationRequest) XXX_Size() int { + return xxx_messageInfo_CancelOperationRequest.Size(m) +} +func (m *CancelOperationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CancelOperationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CancelOperationRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *CancelOperationRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *CancelOperationRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +// Deprecated: Do not use. +func (m *CancelOperationRequest) GetOperationId() string { + if m != nil { + return m.OperationId + } + return "" +} + +func (m *CancelOperationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// ListOperationsResponse is the result of ListOperationsRequest. +type ListOperationsResponse struct { + // A list of operations in the project in the specified zone. + Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` + // If any zones are listed here, the list of operations returned + // may be missing the operations from those zones. + MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} } +func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListOperationsResponse) ProtoMessage() {} +func (*ListOperationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{39} +} +func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListOperationsResponse.Unmarshal(m, b) +} +func (m *ListOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListOperationsResponse.Marshal(b, m, deterministic) +} +func (dst *ListOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOperationsResponse.Merge(dst, src) +} +func (m *ListOperationsResponse) XXX_Size() int { + return xxx_messageInfo_ListOperationsResponse.Size(m) +} +func (m *ListOperationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListOperationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListOperationsResponse proto.InternalMessageInfo + +func (m *ListOperationsResponse) GetOperations() []*Operation { + if m != nil { + return m.Operations + } + return nil +} + +func (m *ListOperationsResponse) GetMissingZones() []string { + if m != nil { + return m.MissingZones + } + return nil +} + +// Gets the current Kubernetes Engine service configuration. +type GetServerConfigRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) to return operations for. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // The name (project and location) of the server config to get + // Specified in the format 'projects/*/locations/*'. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetServerConfigRequest) Reset() { *m = GetServerConfigRequest{} } +func (m *GetServerConfigRequest) String() string { return proto.CompactTextString(m) } +func (*GetServerConfigRequest) ProtoMessage() {} +func (*GetServerConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{40} +} +func (m *GetServerConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetServerConfigRequest.Unmarshal(m, b) +} +func (m *GetServerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetServerConfigRequest.Marshal(b, m, deterministic) +} +func (dst *GetServerConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServerConfigRequest.Merge(dst, src) +} +func (m *GetServerConfigRequest) XXX_Size() int { + return xxx_messageInfo_GetServerConfigRequest.Size(m) +} +func (m *GetServerConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetServerConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetServerConfigRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *GetServerConfigRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *GetServerConfigRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +func (m *GetServerConfigRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Kubernetes Engine service configuration. +type ServerConfig struct { + // Version of Kubernetes the service deploys by default. + DefaultClusterVersion string `protobuf:"bytes,1,opt,name=default_cluster_version,json=defaultClusterVersion,proto3" json:"default_cluster_version,omitempty"` + // List of valid node upgrade target versions. + ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions,proto3" json:"valid_node_versions,omitempty"` + // Default image type. + DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType,proto3" json:"default_image_type,omitempty"` + // List of valid image types. + ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes,proto3" json:"valid_image_types,omitempty"` + // List of valid master versions. + ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions,proto3" json:"valid_master_versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ServerConfig) Reset() { *m = ServerConfig{} } +func (m *ServerConfig) String() string { return proto.CompactTextString(m) } +func (*ServerConfig) ProtoMessage() {} +func (*ServerConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{41} +} +func (m *ServerConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServerConfig.Unmarshal(m, b) +} +func (m *ServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServerConfig.Marshal(b, m, deterministic) +} +func (dst *ServerConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServerConfig.Merge(dst, src) +} +func (m *ServerConfig) XXX_Size() int { + return xxx_messageInfo_ServerConfig.Size(m) +} +func (m *ServerConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ServerConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ServerConfig proto.InternalMessageInfo + +func (m *ServerConfig) GetDefaultClusterVersion() string { + if m != nil { + return m.DefaultClusterVersion + } + return "" +} + +func (m *ServerConfig) GetValidNodeVersions() []string { + if m != nil { + return m.ValidNodeVersions + } + return nil +} + +func (m *ServerConfig) GetDefaultImageType() string { + if m != nil { + return m.DefaultImageType + } + return "" +} + +func (m *ServerConfig) GetValidImageTypes() []string { + if m != nil { + return m.ValidImageTypes + } + return nil +} + +func (m *ServerConfig) GetValidMasterVersions() []string { + if m != nil { + return m.ValidMasterVersions + } + return nil +} + +// CreateNodePoolRequest creates a node pool for a cluster. +type CreateNodePoolRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the parent field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The node pool to create. + NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"` + // The parent (project, location, cluster id) where the node pool will be + // created. Specified in the format + // 'projects/*/locations/*/clusters/*'. + Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateNodePoolRequest) Reset() { *m = CreateNodePoolRequest{} } +func (m *CreateNodePoolRequest) String() string { return proto.CompactTextString(m) } +func (*CreateNodePoolRequest) ProtoMessage() {} +func (*CreateNodePoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{42} +} +func (m *CreateNodePoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateNodePoolRequest.Unmarshal(m, b) +} +func (m *CreateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateNodePoolRequest.Marshal(b, m, deterministic) +} +func (dst *CreateNodePoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNodePoolRequest.Merge(dst, src) +} +func (m *CreateNodePoolRequest) XXX_Size() int { + return xxx_messageInfo_CreateNodePoolRequest.Size(m) +} +func (m *CreateNodePoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNodePoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNodePoolRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *CreateNodePoolRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *CreateNodePoolRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +// Deprecated: Do not use. +func (m *CreateNodePoolRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *CreateNodePoolRequest) GetNodePool() *NodePool { + if m != nil { + return m.NodePool + } + return nil +} + +func (m *CreateNodePoolRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +// DeleteNodePoolRequest deletes a node pool for a cluster. +type DeleteNodePoolRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to delete. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster, node pool id) of the node pool to + // delete. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteNodePoolRequest) Reset() { *m = DeleteNodePoolRequest{} } +func (m *DeleteNodePoolRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteNodePoolRequest) ProtoMessage() {} +func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{43} +} +func (m *DeleteNodePoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteNodePoolRequest.Unmarshal(m, b) +} +func (m *DeleteNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteNodePoolRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteNodePoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNodePoolRequest.Merge(dst, src) +} +func (m *DeleteNodePoolRequest) XXX_Size() int { + return xxx_messageInfo_DeleteNodePoolRequest.Size(m) +} +func (m *DeleteNodePoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteNodePoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteNodePoolRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *DeleteNodePoolRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *DeleteNodePoolRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +// Deprecated: Do not use. +func (m *DeleteNodePoolRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +// Deprecated: Do not use. +func (m *DeleteNodePoolRequest) GetNodePoolId() string { + if m != nil { + return m.NodePoolId + } + return "" +} + +func (m *DeleteNodePoolRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// ListNodePoolsRequest lists the node pool(s) for a cluster. +type ListNodePoolsRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the parent field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the parent field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the parent field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The parent (project, location, cluster id) where the node pools will be + // listed. Specified in the format 'projects/*/locations/*/clusters/*'. + Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNodePoolsRequest) Reset() { *m = ListNodePoolsRequest{} } +func (m *ListNodePoolsRequest) String() string { return proto.CompactTextString(m) } +func (*ListNodePoolsRequest) ProtoMessage() {} +func (*ListNodePoolsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{44} +} +func (m *ListNodePoolsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNodePoolsRequest.Unmarshal(m, b) +} +func (m *ListNodePoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNodePoolsRequest.Marshal(b, m, deterministic) +} +func (dst *ListNodePoolsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodePoolsRequest.Merge(dst, src) +} +func (m *ListNodePoolsRequest) XXX_Size() int { + return xxx_messageInfo_ListNodePoolsRequest.Size(m) +} +func (m *ListNodePoolsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodePoolsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodePoolsRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *ListNodePoolsRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *ListNodePoolsRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +// Deprecated: Do not use. +func (m *ListNodePoolsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListNodePoolsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +// GetNodePoolRequest retrieves a node pool for a cluster. +type GetNodePoolRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster, node pool id) of the node pool to + // get. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetNodePoolRequest) Reset() { *m = GetNodePoolRequest{} } +func (m *GetNodePoolRequest) String() string { return proto.CompactTextString(m) } +func (*GetNodePoolRequest) ProtoMessage() {} +func (*GetNodePoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{45} +} +func (m *GetNodePoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetNodePoolRequest.Unmarshal(m, b) +} +func (m *GetNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetNodePoolRequest.Marshal(b, m, deterministic) +} +func (dst *GetNodePoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNodePoolRequest.Merge(dst, src) +} +func (m *GetNodePoolRequest) XXX_Size() int { + return xxx_messageInfo_GetNodePoolRequest.Size(m) +} +func (m *GetNodePoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNodePoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNodePoolRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *GetNodePoolRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *GetNodePoolRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +// Deprecated: Do not use. +func (m *GetNodePoolRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +// Deprecated: Do not use. +func (m *GetNodePoolRequest) GetNodePoolId() string { + if m != nil { + return m.NodePoolId + } + return "" +} + +func (m *GetNodePoolRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// NodePool contains the name and configuration for a cluster's node pool. +// Node pools are a set of nodes (i.e. VM's), with a common configuration and +// specification, under the control of the cluster master. They may have a set +// of Kubernetes labels applied to them, which may be used to reference them +// during pod scheduling. They may also be resized up or down, to accommodate +// the workload. +type NodePool struct { + // The name of the node pool. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The node configuration of the pool. + Config *NodeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + // The initial node count for the pool. You must ensure that your + // Compute Engine
resource quota + // is sufficient for this number of instances. You must also have available + // firewall and routes quota. + InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` + // [Output only] Server-defined URL for the resource. + SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` + // The version of the Kubernetes of this node. + Version string `protobuf:"bytes,101,opt,name=version,proto3" json:"version,omitempty"` + // [Output only] The resource URLs of the [managed instance + // groups](/compute/docs/instance-groups/creating-groups-of-managed-instances) + // associated with this node pool. + InstanceGroupUrls []string `protobuf:"bytes,102,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` + // [Output only] The status of the nodes in this pool instance. + Status NodePool_Status `protobuf:"varint,103,opt,name=status,proto3,enum=google.container.v1beta1.NodePool_Status" json:"status,omitempty"` + // [Output only] Additional information about the current status of this + // node pool instance, if available. + StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` + // Autoscaler configuration for this NodePool. Autoscaler is enabled + // only if a valid configuration is present. + Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` + // NodeManagement configuration for this NodePool. + Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` + // The constraint on the maximum number of pods that can be run + // simultaneously on a node in the node pool. + MaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,6,opt,name=max_pods_constraint,json=maxPodsConstraint,proto3" json:"max_pods_constraint,omitempty"` + // Which conditions caused the current node pool state. + Conditions []*StatusCondition `protobuf:"bytes,105,rep,name=conditions,proto3" json:"conditions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NodePool) Reset() { *m = NodePool{} } +func (m *NodePool) String() string { return proto.CompactTextString(m) } +func (*NodePool) ProtoMessage() {} +func (*NodePool) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{46} +} +func (m *NodePool) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NodePool.Unmarshal(m, b) +} +func (m *NodePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NodePool.Marshal(b, m, deterministic) +} +func (dst *NodePool) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodePool.Merge(dst, src) +} +func (m *NodePool) XXX_Size() int { + return xxx_messageInfo_NodePool.Size(m) +} +func (m *NodePool) XXX_DiscardUnknown() { + xxx_messageInfo_NodePool.DiscardUnknown(m) +} + +var xxx_messageInfo_NodePool proto.InternalMessageInfo + +func (m *NodePool) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *NodePool) GetConfig() *NodeConfig { + if m != nil { + return m.Config + } + return nil +} + +func (m *NodePool) GetInitialNodeCount() int32 { + if m != nil { + return m.InitialNodeCount + } + return 0 +} + +func (m *NodePool) GetSelfLink() string { + if m != nil { + return m.SelfLink + } + return "" +} + +func (m *NodePool) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *NodePool) GetInstanceGroupUrls() []string { + if m != nil { + return m.InstanceGroupUrls + } + return nil +} + +func (m *NodePool) GetStatus() NodePool_Status { + if m != nil { + return m.Status + } + return NodePool_STATUS_UNSPECIFIED +} + +func (m *NodePool) GetStatusMessage() string { + if m != nil { + return m.StatusMessage + } + return "" +} + +func (m *NodePool) GetAutoscaling() *NodePoolAutoscaling { + if m != nil { + return m.Autoscaling + } + return nil +} + +func (m *NodePool) GetManagement() *NodeManagement { + if m != nil { + return m.Management + } + return nil +} + +func (m *NodePool) GetMaxPodsConstraint() *MaxPodsConstraint { + if m != nil { + return m.MaxPodsConstraint + } + return nil +} + +func (m *NodePool) GetConditions() []*StatusCondition { + if m != nil { + return m.Conditions + } + return nil +} + +// NodeManagement defines the set of node management services turned on for the +// node pool. +type NodeManagement struct { + // Whether the nodes will be automatically upgraded. + AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"` + // Whether the nodes will be automatically repaired. + AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"` + // Specifies the Auto Upgrade knobs for the node pool. + UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NodeManagement) Reset() { *m = NodeManagement{} } +func (m *NodeManagement) String() string { return proto.CompactTextString(m) } +func (*NodeManagement) ProtoMessage() {} +func (*NodeManagement) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{47} +} +func (m *NodeManagement) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NodeManagement.Unmarshal(m, b) +} +func (m *NodeManagement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NodeManagement.Marshal(b, m, deterministic) +} +func (dst *NodeManagement) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeManagement.Merge(dst, src) +} +func (m *NodeManagement) XXX_Size() int { + return xxx_messageInfo_NodeManagement.Size(m) +} +func (m *NodeManagement) XXX_DiscardUnknown() { + xxx_messageInfo_NodeManagement.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeManagement proto.InternalMessageInfo + +func (m *NodeManagement) GetAutoUpgrade() bool { + if m != nil { + return m.AutoUpgrade + } + return false +} + +func (m *NodeManagement) GetAutoRepair() bool { + if m != nil { + return m.AutoRepair + } + return false +} + +func (m *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions { + if m != nil { + return m.UpgradeOptions + } + return nil +} + +// AutoUpgradeOptions defines the set of options for the user to control how +// the Auto Upgrades will proceed. +type AutoUpgradeOptions struct { + // [Output only] This field is set when upgrades are about to commence + // with the approximate start time for the upgrades, in + // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"` + // [Output only] This field is set when upgrades are about to commence + // with the description of the upgrade. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AutoUpgradeOptions) Reset() { *m = AutoUpgradeOptions{} } +func (m *AutoUpgradeOptions) String() string { return proto.CompactTextString(m) } +func (*AutoUpgradeOptions) ProtoMessage() {} +func (*AutoUpgradeOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{48} +} +func (m *AutoUpgradeOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AutoUpgradeOptions.Unmarshal(m, b) +} +func (m *AutoUpgradeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AutoUpgradeOptions.Marshal(b, m, deterministic) +} +func (dst *AutoUpgradeOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_AutoUpgradeOptions.Merge(dst, src) +} +func (m *AutoUpgradeOptions) XXX_Size() int { + return xxx_messageInfo_AutoUpgradeOptions.Size(m) +} +func (m *AutoUpgradeOptions) XXX_DiscardUnknown() { + xxx_messageInfo_AutoUpgradeOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_AutoUpgradeOptions proto.InternalMessageInfo + +func (m *AutoUpgradeOptions) GetAutoUpgradeStartTime() string { + if m != nil { + return m.AutoUpgradeStartTime + } + return "" +} + +func (m *AutoUpgradeOptions) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +// MaintenancePolicy defines the maintenance policy to be used for the cluster. +type MaintenancePolicy struct { + // Specifies the maintenance window in which maintenance may be performed. + Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MaintenancePolicy) Reset() { *m = MaintenancePolicy{} } +func (m *MaintenancePolicy) String() string { return proto.CompactTextString(m) } +func (*MaintenancePolicy) ProtoMessage() {} +func (*MaintenancePolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{49} +} +func (m *MaintenancePolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MaintenancePolicy.Unmarshal(m, b) +} +func (m *MaintenancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MaintenancePolicy.Marshal(b, m, deterministic) +} +func (dst *MaintenancePolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaintenancePolicy.Merge(dst, src) +} +func (m *MaintenancePolicy) XXX_Size() int { + return xxx_messageInfo_MaintenancePolicy.Size(m) +} +func (m *MaintenancePolicy) XXX_DiscardUnknown() { + xxx_messageInfo_MaintenancePolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_MaintenancePolicy proto.InternalMessageInfo + +func (m *MaintenancePolicy) GetWindow() *MaintenanceWindow { + if m != nil { + return m.Window + } + return nil +} + +// MaintenanceWindow defines the maintenance window to be used for the cluster. +type MaintenanceWindow struct { + // Unimplemented, reserved for future use. + // HourlyMaintenanceWindow hourly_maintenance_window = 1; + // + // Types that are valid to be assigned to Policy: + // *MaintenanceWindow_DailyMaintenanceWindow + Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MaintenanceWindow) Reset() { *m = MaintenanceWindow{} } +func (m *MaintenanceWindow) String() string { return proto.CompactTextString(m) } +func (*MaintenanceWindow) ProtoMessage() {} +func (*MaintenanceWindow) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{50} +} +func (m *MaintenanceWindow) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MaintenanceWindow.Unmarshal(m, b) +} +func (m *MaintenanceWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MaintenanceWindow.Marshal(b, m, deterministic) +} +func (dst *MaintenanceWindow) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaintenanceWindow.Merge(dst, src) +} +func (m *MaintenanceWindow) XXX_Size() int { + return xxx_messageInfo_MaintenanceWindow.Size(m) +} +func (m *MaintenanceWindow) XXX_DiscardUnknown() { + xxx_messageInfo_MaintenanceWindow.DiscardUnknown(m) +} + +var xxx_messageInfo_MaintenanceWindow proto.InternalMessageInfo + +type isMaintenanceWindow_Policy interface { + isMaintenanceWindow_Policy() +} + +type MaintenanceWindow_DailyMaintenanceWindow struct { + DailyMaintenanceWindow *DailyMaintenanceWindow `protobuf:"bytes,2,opt,name=daily_maintenance_window,json=dailyMaintenanceWindow,proto3,oneof"` +} + +func (*MaintenanceWindow_DailyMaintenanceWindow) isMaintenanceWindow_Policy() {} + +func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy { + if m != nil { + return m.Policy + } + return nil +} + +func (m *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow { + if x, ok := m.GetPolicy().(*MaintenanceWindow_DailyMaintenanceWindow); ok { + return x.DailyMaintenanceWindow + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*MaintenanceWindow) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _MaintenanceWindow_OneofMarshaler, _MaintenanceWindow_OneofUnmarshaler, _MaintenanceWindow_OneofSizer, []interface{}{ + (*MaintenanceWindow_DailyMaintenanceWindow)(nil), + } +} + +func _MaintenanceWindow_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*MaintenanceWindow) + // policy + switch x := m.Policy.(type) { + case *MaintenanceWindow_DailyMaintenanceWindow: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DailyMaintenanceWindow); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("MaintenanceWindow.Policy has unexpected type %T", x) + } + return nil +} + +func _MaintenanceWindow_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*MaintenanceWindow) + switch tag { + case 2: // policy.daily_maintenance_window + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(DailyMaintenanceWindow) + err := b.DecodeMessage(msg) + m.Policy = &MaintenanceWindow_DailyMaintenanceWindow{msg} + return true, err + default: + return false, nil + } +} + +func _MaintenanceWindow_OneofSizer(msg proto.Message) (n int) { + m := msg.(*MaintenanceWindow) + // policy + switch x := m.Policy.(type) { + case *MaintenanceWindow_DailyMaintenanceWindow: + s := proto.Size(x.DailyMaintenanceWindow) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Time window specified for daily maintenance operations. +type DailyMaintenanceWindow struct { + // Time within the maintenance window to start the maintenance operations. + // It must be in format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT. + StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // [Output only] Duration of the time window, automatically chosen to be + // smallest possible in the given scenario. + Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DailyMaintenanceWindow) Reset() { *m = DailyMaintenanceWindow{} } +func (m *DailyMaintenanceWindow) String() string { return proto.CompactTextString(m) } +func (*DailyMaintenanceWindow) ProtoMessage() {} +func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{51} +} +func (m *DailyMaintenanceWindow) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DailyMaintenanceWindow.Unmarshal(m, b) +} +func (m *DailyMaintenanceWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DailyMaintenanceWindow.Marshal(b, m, deterministic) +} +func (dst *DailyMaintenanceWindow) XXX_Merge(src proto.Message) { + xxx_messageInfo_DailyMaintenanceWindow.Merge(dst, src) +} +func (m *DailyMaintenanceWindow) XXX_Size() int { + return xxx_messageInfo_DailyMaintenanceWindow.Size(m) +} +func (m *DailyMaintenanceWindow) XXX_DiscardUnknown() { + xxx_messageInfo_DailyMaintenanceWindow.DiscardUnknown(m) +} + +var xxx_messageInfo_DailyMaintenanceWindow proto.InternalMessageInfo + +func (m *DailyMaintenanceWindow) GetStartTime() string { + if m != nil { + return m.StartTime + } + return "" +} + +func (m *DailyMaintenanceWindow) GetDuration() string { + if m != nil { + return m.Duration + } + return "" +} + +// SetNodePoolManagementRequest sets the node management properties of a node +// pool. +type SetNodePoolManagementRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to update. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to update. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // NodeManagement configuration for the node pool. + Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` + // The name (project, location, cluster, node pool id) of the node pool to set + // management properties. Specified in the format + // 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetNodePoolManagementRequest) Reset() { *m = SetNodePoolManagementRequest{} } +func (m *SetNodePoolManagementRequest) String() string { return proto.CompactTextString(m) } +func (*SetNodePoolManagementRequest) ProtoMessage() {} +func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{52} +} +func (m *SetNodePoolManagementRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetNodePoolManagementRequest.Unmarshal(m, b) +} +func (m *SetNodePoolManagementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetNodePoolManagementRequest.Marshal(b, m, deterministic) +} +func (dst *SetNodePoolManagementRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetNodePoolManagementRequest.Merge(dst, src) +} +func (m *SetNodePoolManagementRequest) XXX_Size() int { + return xxx_messageInfo_SetNodePoolManagementRequest.Size(m) +} +func (m *SetNodePoolManagementRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetNodePoolManagementRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetNodePoolManagementRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *SetNodePoolManagementRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +// Deprecated: Do not use. +func (m *SetNodePoolManagementRequest) GetZone() string { + if m != nil { + return m.Zone + } + return "" +} + +// Deprecated: Do not use. +func (m *SetNodePoolManagementRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +// Deprecated: Do not use. +func (m *SetNodePoolManagementRequest) GetNodePoolId() string { + if m != nil { + return m.NodePoolId + } + return "" +} + +func (m *SetNodePoolManagementRequest) GetManagement() *NodeManagement { + if m != nil { + return m.Management + } + return nil +} + +func (m *SetNodePoolManagementRequest) GetName() string { + if m != nil { return m.Name } return "" } -// NodePool contains the name and configuration for a cluster's node pool. -// Node pools are a set of nodes (i.e. VM's), with a common configuration and -// specification, under the control of the cluster master. They may have a set -// of Kubernetes labels applied to them, which may be used to reference them -// during pod scheduling. They may also be resized up or down, to accommodate -// the workload. -type NodePool struct { - // The name of the node pool. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The node configuration of the pool. - Config *NodeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - // The initial node count for the pool. You must ensure that your - // Compute Engine resource quota - // is sufficient for this number of instances. You must also have available - // firewall and routes quota. - InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` - // [Output only] Server-defined URL for the resource. - SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` - // [Output only] The version of the Kubernetes of this node. - Version string `protobuf:"bytes,101,opt,name=version,proto3" json:"version,omitempty"` - // [Output only] The resource URLs of [instance - // groups](/compute/docs/instance-groups/) associated with this - // node pool. - InstanceGroupUrls []string `protobuf:"bytes,102,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` - // [Output only] The status of the nodes in this pool instance. - Status NodePool_Status `protobuf:"varint,103,opt,name=status,proto3,enum=google.container.v1beta1.NodePool_Status" json:"status,omitempty"` - // [Output only] Additional information about the current status of this - // node pool instance, if available. - StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // Autoscaler configuration for this NodePool. Autoscaler is enabled - // only if a valid configuration is present. - Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` - // NodeManagement configuration for this NodePool. - Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// SetNodePoolSizeRequest sets the size a node +// pool. +type SetNodePoolSizeRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to update. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to update. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The desired node count for the pool. + NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` + // The name (project, location, cluster, node pool id) of the node pool to set + // size. + // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *NodePool) Reset() { *m = NodePool{} } -func (m *NodePool) String() string { return proto.CompactTextString(m) } -func (*NodePool) ProtoMessage() {} -func (*NodePool) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{33} +func (m *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} } +func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) } +func (*SetNodePoolSizeRequest) ProtoMessage() {} +func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{53} } -func (m *NodePool) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodePool.Unmarshal(m, b) +func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b) } -func (m *NodePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodePool.Marshal(b, m, deterministic) +func (m *SetNodePoolSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetNodePoolSizeRequest.Marshal(b, m, deterministic) } -func (dst *NodePool) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePool.Merge(dst, src) +func (dst *SetNodePoolSizeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetNodePoolSizeRequest.Merge(dst, src) } -func (m *NodePool) XXX_Size() int { - return xxx_messageInfo_NodePool.Size(m) +func (m *SetNodePoolSizeRequest) XXX_Size() int { + return xxx_messageInfo_SetNodePoolSizeRequest.Size(m) } -func (m *NodePool) XXX_DiscardUnknown() { - xxx_messageInfo_NodePool.DiscardUnknown(m) +func (m *SetNodePoolSizeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetNodePoolSizeRequest.DiscardUnknown(m) } -var xxx_messageInfo_NodePool proto.InternalMessageInfo +var xxx_messageInfo_SetNodePoolSizeRequest proto.InternalMessageInfo -func (m *NodePool) GetName() string { +// Deprecated: Do not use. +func (m *SetNodePoolSizeRequest) GetProjectId() string { if m != nil { - return m.Name + return m.ProjectId } return "" } -func (m *NodePool) GetConfig() *NodeConfig { +// Deprecated: Do not use. +func (m *SetNodePoolSizeRequest) GetZone() string { if m != nil { - return m.Config + return m.Zone } - return nil + return "" } -func (m *NodePool) GetInitialNodeCount() int32 { +// Deprecated: Do not use. +func (m *SetNodePoolSizeRequest) GetClusterId() string { if m != nil { - return m.InitialNodeCount + return m.ClusterId } - return 0 + return "" } -func (m *NodePool) GetSelfLink() string { +// Deprecated: Do not use. +func (m *SetNodePoolSizeRequest) GetNodePoolId() string { if m != nil { - return m.SelfLink + return m.NodePoolId } return "" } -func (m *NodePool) GetVersion() string { +func (m *SetNodePoolSizeRequest) GetNodeCount() int32 { if m != nil { - return m.Version + return m.NodeCount + } + return 0 +} + +func (m *SetNodePoolSizeRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (m *NodePool) GetInstanceGroupUrls() []string { +// RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed +// NodePool upgrade. This will be an no-op if the last upgrade successfully +// completed. +type RollbackNodePoolUpgradeRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to rollback. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the node pool to rollback. + // This field has been deprecated and replaced by the name field. + NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster, node pool id) of the node poll to + // rollback upgrade. + // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RollbackNodePoolUpgradeRequest) Reset() { *m = RollbackNodePoolUpgradeRequest{} } +func (m *RollbackNodePoolUpgradeRequest) String() string { return proto.CompactTextString(m) } +func (*RollbackNodePoolUpgradeRequest) ProtoMessage() {} +func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{54} +} +func (m *RollbackNodePoolUpgradeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Unmarshal(m, b) +} +func (m *RollbackNodePoolUpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Marshal(b, m, deterministic) +} +func (dst *RollbackNodePoolUpgradeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RollbackNodePoolUpgradeRequest.Merge(dst, src) +} +func (m *RollbackNodePoolUpgradeRequest) XXX_Size() int { + return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Size(m) +} +func (m *RollbackNodePoolUpgradeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RollbackNodePoolUpgradeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RollbackNodePoolUpgradeRequest proto.InternalMessageInfo + +// Deprecated: Do not use. +func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string { if m != nil { - return m.InstanceGroupUrls + return m.ProjectId } - return nil + return "" } -func (m *NodePool) GetStatus() NodePool_Status { +// Deprecated: Do not use. +func (m *RollbackNodePoolUpgradeRequest) GetZone() string { if m != nil { - return m.Status + return m.Zone } - return NodePool_STATUS_UNSPECIFIED + return "" } -func (m *NodePool) GetStatusMessage() string { +// Deprecated: Do not use. +func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { if m != nil { - return m.StatusMessage + return m.ClusterId } return "" } -func (m *NodePool) GetAutoscaling() *NodePoolAutoscaling { +// Deprecated: Do not use. +func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { if m != nil { - return m.Autoscaling + return m.NodePoolId } - return nil + return "" } -func (m *NodePool) GetManagement() *NodeManagement { +func (m *RollbackNodePoolUpgradeRequest) GetName() string { if m != nil { - return m.Management + return m.Name } - return nil + return "" } -// NodeManagement defines the set of node management services turned on for the -// node pool. -type NodeManagement struct { - // Whether the nodes will be automatically upgraded. - AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"` - // Whether the nodes will be automatically repaired. - AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"` - // Specifies the Auto Upgrade knobs for the node pool. - UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// ListNodePoolsResponse is the result of ListNodePoolsRequest. +type ListNodePoolsResponse struct { + // A list of node pools for a cluster. + NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *NodeManagement) Reset() { *m = NodeManagement{} } -func (m *NodeManagement) String() string { return proto.CompactTextString(m) } -func (*NodeManagement) ProtoMessage() {} -func (*NodeManagement) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{34} +func (m *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } +func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } +func (*ListNodePoolsResponse) ProtoMessage() {} +func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{55} } -func (m *NodeManagement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeManagement.Unmarshal(m, b) +func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) } -func (m *NodeManagement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeManagement.Marshal(b, m, deterministic) +func (m *ListNodePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNodePoolsResponse.Marshal(b, m, deterministic) } -func (dst *NodeManagement) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeManagement.Merge(dst, src) +func (dst *ListNodePoolsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodePoolsResponse.Merge(dst, src) } -func (m *NodeManagement) XXX_Size() int { - return xxx_messageInfo_NodeManagement.Size(m) +func (m *ListNodePoolsResponse) XXX_Size() int { + return xxx_messageInfo_ListNodePoolsResponse.Size(m) } -func (m *NodeManagement) XXX_DiscardUnknown() { - xxx_messageInfo_NodeManagement.DiscardUnknown(m) +func (m *ListNodePoolsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodePoolsResponse.DiscardUnknown(m) } -var xxx_messageInfo_NodeManagement proto.InternalMessageInfo +var xxx_messageInfo_ListNodePoolsResponse proto.InternalMessageInfo -func (m *NodeManagement) GetAutoUpgrade() bool { +func (m *ListNodePoolsResponse) GetNodePools() []*NodePool { if m != nil { - return m.AutoUpgrade + return m.NodePools } - return false + return nil +} + +// ClusterAutoscaling contains global, per-cluster information +// required by Cluster Autoscaler to automatically adjust +// the size of the cluster and create/delete +// node pools based on the current needs. +type ClusterAutoscaling struct { + // Enables automatic node pool creation and deletion. + EnableNodeAutoprovisioning bool `protobuf:"varint,1,opt,name=enable_node_autoprovisioning,json=enableNodeAutoprovisioning,proto3" json:"enable_node_autoprovisioning,omitempty"` + // Contains global constraints regarding minimum and maximum + // amount of resources in the cluster. + ResourceLimits []*ResourceLimit `protobuf:"bytes,2,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClusterAutoscaling) Reset() { *m = ClusterAutoscaling{} } +func (m *ClusterAutoscaling) String() string { return proto.CompactTextString(m) } +func (*ClusterAutoscaling) ProtoMessage() {} +func (*ClusterAutoscaling) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{56} +} +func (m *ClusterAutoscaling) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClusterAutoscaling.Unmarshal(m, b) +} +func (m *ClusterAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClusterAutoscaling.Marshal(b, m, deterministic) +} +func (dst *ClusterAutoscaling) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterAutoscaling.Merge(dst, src) +} +func (m *ClusterAutoscaling) XXX_Size() int { + return xxx_messageInfo_ClusterAutoscaling.Size(m) +} +func (m *ClusterAutoscaling) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterAutoscaling.DiscardUnknown(m) } -func (m *NodeManagement) GetAutoRepair() bool { +var xxx_messageInfo_ClusterAutoscaling proto.InternalMessageInfo + +func (m *ClusterAutoscaling) GetEnableNodeAutoprovisioning() bool { if m != nil { - return m.AutoRepair + return m.EnableNodeAutoprovisioning } return false } -func (m *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions { +func (m *ClusterAutoscaling) GetResourceLimits() []*ResourceLimit { if m != nil { - return m.UpgradeOptions + return m.ResourceLimits } return nil } -// AutoUpgradeOptions defines the set of options for the user to control how -// the Auto Upgrades will proceed. -type AutoUpgradeOptions struct { - // [Output only] This field is set when upgrades are about to commence - // with the approximate start time for the upgrades, in - // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"` - // [Output only] This field is set when upgrades are about to commence - // with the description of the upgrade. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` +// Contains information about amount of some resource in the cluster. +// For memory, value should be in GB. +type ResourceLimit struct { + // Resource name "cpu", "memory" or gpu-specific string. + ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` + // Minimum amount of the resource in the cluster. + Minimum int64 `protobuf:"varint,2,opt,name=minimum,proto3" json:"minimum,omitempty"` + // Maximum amount of the resource in the cluster. + Maximum int64 `protobuf:"varint,3,opt,name=maximum,proto3" json:"maximum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AutoUpgradeOptions) Reset() { *m = AutoUpgradeOptions{} } -func (m *AutoUpgradeOptions) String() string { return proto.CompactTextString(m) } -func (*AutoUpgradeOptions) ProtoMessage() {} -func (*AutoUpgradeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{35} +func (m *ResourceLimit) Reset() { *m = ResourceLimit{} } +func (m *ResourceLimit) String() string { return proto.CompactTextString(m) } +func (*ResourceLimit) ProtoMessage() {} +func (*ResourceLimit) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{57} } -func (m *AutoUpgradeOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AutoUpgradeOptions.Unmarshal(m, b) +func (m *ResourceLimit) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourceLimit.Unmarshal(m, b) } -func (m *AutoUpgradeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AutoUpgradeOptions.Marshal(b, m, deterministic) +func (m *ResourceLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourceLimit.Marshal(b, m, deterministic) } -func (dst *AutoUpgradeOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoUpgradeOptions.Merge(dst, src) +func (dst *ResourceLimit) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceLimit.Merge(dst, src) } -func (m *AutoUpgradeOptions) XXX_Size() int { - return xxx_messageInfo_AutoUpgradeOptions.Size(m) +func (m *ResourceLimit) XXX_Size() int { + return xxx_messageInfo_ResourceLimit.Size(m) } -func (m *AutoUpgradeOptions) XXX_DiscardUnknown() { - xxx_messageInfo_AutoUpgradeOptions.DiscardUnknown(m) +func (m *ResourceLimit) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceLimit.DiscardUnknown(m) } -var xxx_messageInfo_AutoUpgradeOptions proto.InternalMessageInfo +var xxx_messageInfo_ResourceLimit proto.InternalMessageInfo -func (m *AutoUpgradeOptions) GetAutoUpgradeStartTime() string { +func (m *ResourceLimit) GetResourceType() string { if m != nil { - return m.AutoUpgradeStartTime + return m.ResourceType } return "" } -func (m *AutoUpgradeOptions) GetDescription() string { +func (m *ResourceLimit) GetMinimum() int64 { if m != nil { - return m.Description + return m.Minimum } - return "" + return 0 } -// MaintenancePolicy defines the maintenance policy to be used for the cluster. -type MaintenancePolicy struct { - // Specifies the maintenance window in which maintenance may be performed. - Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *ResourceLimit) GetMaximum() int64 { + if m != nil { + return m.Maximum + } + return 0 } -func (m *MaintenancePolicy) Reset() { *m = MaintenancePolicy{} } -func (m *MaintenancePolicy) String() string { return proto.CompactTextString(m) } -func (*MaintenancePolicy) ProtoMessage() {} -func (*MaintenancePolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{36} +// NodePoolAutoscaling contains information required by cluster autoscaler to +// adjust the size of the node pool to the current cluster usage. +type NodePoolAutoscaling struct { + // Is autoscaling enabled for this node pool. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + // Minimum number of nodes in the NodePool. Must be >= 1 and <= + // max_node_count. + MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"` + // Maximum number of nodes in the NodePool. Must be >= min_node_count. There + // has to enough quota to scale up the cluster. + MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"` + // Can this node pool be deleted automatically. + Autoprovisioned bool `protobuf:"varint,4,opt,name=autoprovisioned,proto3" json:"autoprovisioned,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MaintenancePolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MaintenancePolicy.Unmarshal(m, b) + +func (m *NodePoolAutoscaling) Reset() { *m = NodePoolAutoscaling{} } +func (m *NodePoolAutoscaling) String() string { return proto.CompactTextString(m) } +func (*NodePoolAutoscaling) ProtoMessage() {} +func (*NodePoolAutoscaling) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{58} } -func (m *MaintenancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MaintenancePolicy.Marshal(b, m, deterministic) +func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) } -func (dst *MaintenancePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenancePolicy.Merge(dst, src) +func (m *NodePoolAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NodePoolAutoscaling.Marshal(b, m, deterministic) } -func (m *MaintenancePolicy) XXX_Size() int { - return xxx_messageInfo_MaintenancePolicy.Size(m) +func (dst *NodePoolAutoscaling) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodePoolAutoscaling.Merge(dst, src) } -func (m *MaintenancePolicy) XXX_DiscardUnknown() { - xxx_messageInfo_MaintenancePolicy.DiscardUnknown(m) +func (m *NodePoolAutoscaling) XXX_Size() int { + return xxx_messageInfo_NodePoolAutoscaling.Size(m) +} +func (m *NodePoolAutoscaling) XXX_DiscardUnknown() { + xxx_messageInfo_NodePoolAutoscaling.DiscardUnknown(m) } -var xxx_messageInfo_MaintenancePolicy proto.InternalMessageInfo +var xxx_messageInfo_NodePoolAutoscaling proto.InternalMessageInfo -func (m *MaintenancePolicy) GetWindow() *MaintenanceWindow { +func (m *NodePoolAutoscaling) GetEnabled() bool { if m != nil { - return m.Window + return m.Enabled } - return nil + return false } -// MaintenanceWindow defines the maintenance window to be used for the cluster. -type MaintenanceWindow struct { - // Unimplemented, reserved for future use. - // HourlyMaintenanceWindow hourly_maintenance_window = 1; - // - // Types that are valid to be assigned to Policy: - // *MaintenanceWindow_DailyMaintenanceWindow - Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *NodePoolAutoscaling) GetMinNodeCount() int32 { + if m != nil { + return m.MinNodeCount + } + return 0 } -func (m *MaintenanceWindow) Reset() { *m = MaintenanceWindow{} } -func (m *MaintenanceWindow) String() string { return proto.CompactTextString(m) } -func (*MaintenanceWindow) ProtoMessage() {} -func (*MaintenanceWindow) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{37} +func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 { + if m != nil { + return m.MaxNodeCount + } + return 0 } -func (m *MaintenanceWindow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MaintenanceWindow.Unmarshal(m, b) + +func (m *NodePoolAutoscaling) GetAutoprovisioned() bool { + if m != nil { + return m.Autoprovisioned + } + return false } -func (m *MaintenanceWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MaintenanceWindow.Marshal(b, m, deterministic) + +// SetLabelsRequest sets the Google Cloud Platform labels on a Google Container +// Engine cluster, which will in turn set them for Google Compute Engine +// resources used by that cluster +type SetLabelsRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The labels to set for that cluster. + ResourceLabels map[string]string `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // The fingerprint of the previous set of labels for this resource, + // used to detect conflicts. The fingerprint is initially generated by + // Kubernetes Engine and changes after every request to modify or update + // labels. You must always provide an up-to-date fingerprint hash when + // updating or changing labels. Make a get() request to the + // resource to get the latest fingerprint. + LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` + // The name (project, location, cluster id) of the cluster to set labels. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (dst *MaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenanceWindow.Merge(dst, src) + +func (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } +func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } +func (*SetLabelsRequest) ProtoMessage() {} +func (*SetLabelsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{59} } -func (m *MaintenanceWindow) XXX_Size() int { - return xxx_messageInfo_MaintenanceWindow.Size(m) +func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) } -func (m *MaintenanceWindow) XXX_DiscardUnknown() { - xxx_messageInfo_MaintenanceWindow.DiscardUnknown(m) +func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetLabelsRequest.Marshal(b, m, deterministic) } - -var xxx_messageInfo_MaintenanceWindow proto.InternalMessageInfo - -type isMaintenanceWindow_Policy interface { - isMaintenanceWindow_Policy() +func (dst *SetLabelsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetLabelsRequest.Merge(dst, src) } - -type MaintenanceWindow_DailyMaintenanceWindow struct { - DailyMaintenanceWindow *DailyMaintenanceWindow `protobuf:"bytes,2,opt,name=daily_maintenance_window,json=dailyMaintenanceWindow,proto3,oneof"` +func (m *SetLabelsRequest) XXX_Size() int { + return xxx_messageInfo_SetLabelsRequest.Size(m) +} +func (m *SetLabelsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetLabelsRequest.DiscardUnknown(m) } -func (*MaintenanceWindow_DailyMaintenanceWindow) isMaintenanceWindow_Policy() {} +var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo -func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy { +// Deprecated: Do not use. +func (m *SetLabelsRequest) GetProjectId() string { if m != nil { - return m.Policy + return m.ProjectId } - return nil + return "" } -func (m *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow { - if x, ok := m.GetPolicy().(*MaintenanceWindow_DailyMaintenanceWindow); ok { - return x.DailyMaintenanceWindow +// Deprecated: Do not use. +func (m *SetLabelsRequest) GetZone() string { + if m != nil { + return m.Zone } - return nil + return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*MaintenanceWindow) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _MaintenanceWindow_OneofMarshaler, _MaintenanceWindow_OneofUnmarshaler, _MaintenanceWindow_OneofSizer, []interface{}{ - (*MaintenanceWindow_DailyMaintenanceWindow)(nil), +// Deprecated: Do not use. +func (m *SetLabelsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId } + return "" } -func _MaintenanceWindow_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*MaintenanceWindow) - // policy - switch x := m.Policy.(type) { - case *MaintenanceWindow_DailyMaintenanceWindow: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DailyMaintenanceWindow); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("MaintenanceWindow.Policy has unexpected type %T", x) +func (m *SetLabelsRequest) GetResourceLabels() map[string]string { + if m != nil { + return m.ResourceLabels } return nil -} - -func _MaintenanceWindow_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*MaintenanceWindow) - switch tag { - case 2: // policy.daily_maintenance_window - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(DailyMaintenanceWindow) - err := b.DecodeMessage(msg) - m.Policy = &MaintenanceWindow_DailyMaintenanceWindow{msg} - return true, err - default: - return false, nil - } -} - -func _MaintenanceWindow_OneofSizer(msg proto.Message) (n int) { - m := msg.(*MaintenanceWindow) - // policy - switch x := m.Policy.(type) { - case *MaintenanceWindow_DailyMaintenanceWindow: - s := proto.Size(x.DailyMaintenanceWindow) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +} + +func (m *SetLabelsRequest) GetLabelFingerprint() string { + if m != nil { + return m.LabelFingerprint } - return n + return "" } -// Time window specified for daily maintenance operations. -type DailyMaintenanceWindow struct { - // Time within the maintenance window to start the maintenance operations. - // It must be in format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT. - StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // [Output only] Duration of the time window, automatically chosen to be - // smallest possible in the given scenario. - Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` +func (m *SetLabelsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for +// a cluster. +type SetLegacyAbacRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://support.google.com/cloud/answer/6158840). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster to update. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Whether ABAC authorization will be enabled in the cluster. + Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` + // The name (project, location, cluster id) of the cluster to set legacy abac. + // Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DailyMaintenanceWindow) Reset() { *m = DailyMaintenanceWindow{} } -func (m *DailyMaintenanceWindow) String() string { return proto.CompactTextString(m) } -func (*DailyMaintenanceWindow) ProtoMessage() {} -func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{38} +func (m *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} } +func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) } +func (*SetLegacyAbacRequest) ProtoMessage() {} +func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{60} } -func (m *DailyMaintenanceWindow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DailyMaintenanceWindow.Unmarshal(m, b) +func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) } -func (m *DailyMaintenanceWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DailyMaintenanceWindow.Marshal(b, m, deterministic) +func (m *SetLegacyAbacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetLegacyAbacRequest.Marshal(b, m, deterministic) } -func (dst *DailyMaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_DailyMaintenanceWindow.Merge(dst, src) +func (dst *SetLegacyAbacRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetLegacyAbacRequest.Merge(dst, src) } -func (m *DailyMaintenanceWindow) XXX_Size() int { - return xxx_messageInfo_DailyMaintenanceWindow.Size(m) +func (m *SetLegacyAbacRequest) XXX_Size() int { + return xxx_messageInfo_SetLegacyAbacRequest.Size(m) } -func (m *DailyMaintenanceWindow) XXX_DiscardUnknown() { - xxx_messageInfo_DailyMaintenanceWindow.DiscardUnknown(m) +func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetLegacyAbacRequest.DiscardUnknown(m) } -var xxx_messageInfo_DailyMaintenanceWindow proto.InternalMessageInfo +var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo -func (m *DailyMaintenanceWindow) GetStartTime() string { +// Deprecated: Do not use. +func (m *SetLegacyAbacRequest) GetProjectId() string { if m != nil { - return m.StartTime + return m.ProjectId } return "" } -func (m *DailyMaintenanceWindow) GetDuration() string { +// Deprecated: Do not use. +func (m *SetLegacyAbacRequest) GetZone() string { if m != nil { - return m.Duration + return m.Zone } return "" } -// SetNodePoolManagementRequest sets the node management properties of a node -// pool. -type SetNodePoolManagementRequest struct { - // The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine +// Deprecated: Do not use. +func (m *SetLegacyAbacRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *SetLegacyAbacRequest) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + +func (m *SetLegacyAbacRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// StartIPRotationRequest creates a new IP for the cluster and then performs +// a node upgrade on each node pool to point to the new IP. +type StartIPRotationRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to update. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to update. - // This field is deprecated, use name instead. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` - // NodeManagement configuration for the node pool. - Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` - // The name (project, location, cluster, node pool id) of the node pool to set - // management properties. Specified in the format - // 'projects/*/locations/*/clusters/*/nodePools/*'. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster id) of the cluster to start IP + // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // Whether to rotate credentials during IP rotation. + RotateCredentials bool `protobuf:"varint,7,opt,name=rotate_credentials,json=rotateCredentials,proto3" json:"rotate_credentials,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SetNodePoolManagementRequest) Reset() { *m = SetNodePoolManagementRequest{} } -func (m *SetNodePoolManagementRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolManagementRequest) ProtoMessage() {} -func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{39} +func (m *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} } +func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) } +func (*StartIPRotationRequest) ProtoMessage() {} +func (*StartIPRotationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{61} } -func (m *SetNodePoolManagementRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolManagementRequest.Unmarshal(m, b) +func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) } -func (m *SetNodePoolManagementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolManagementRequest.Marshal(b, m, deterministic) +func (m *StartIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartIPRotationRequest.Marshal(b, m, deterministic) } -func (dst *SetNodePoolManagementRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolManagementRequest.Merge(dst, src) +func (dst *StartIPRotationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartIPRotationRequest.Merge(dst, src) } -func (m *SetNodePoolManagementRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolManagementRequest.Size(m) +func (m *StartIPRotationRequest) XXX_Size() int { + return xxx_messageInfo_StartIPRotationRequest.Size(m) } -func (m *SetNodePoolManagementRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolManagementRequest.DiscardUnknown(m) +func (m *StartIPRotationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartIPRotationRequest.DiscardUnknown(m) } -var xxx_messageInfo_SetNodePoolManagementRequest proto.InternalMessageInfo +var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo -func (m *SetNodePoolManagementRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *StartIPRotationRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *SetNodePoolManagementRequest) GetZone() string { +// Deprecated: Do not use. +func (m *StartIPRotationRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *SetNodePoolManagementRequest) GetClusterId() string { +// Deprecated: Do not use. +func (m *StartIPRotationRequest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *SetNodePoolManagementRequest) GetNodePoolId() string { +func (m *StartIPRotationRequest) GetName() string { if m != nil { - return m.NodePoolId + return m.Name } return "" } -func (m *SetNodePoolManagementRequest) GetManagement() *NodeManagement { - if m != nil { - return m.Management - } - return nil -} - -func (m *SetNodePoolManagementRequest) GetName() string { +func (m *StartIPRotationRequest) GetRotateCredentials() bool { if m != nil { - return m.Name + return m.RotateCredentials } - return "" + return false } -// RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed -// NodePool upgrade. This will be an no-op if the last upgrade successfully -// completed. -type RollbackNodePoolUpgradeRequest struct { - // The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine +// CompleteIPRotationRequest moves the cluster master back into single-IP mode. +type CompleteIPRotationRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to rollback. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name of the node pool to rollback. - // This field is deprecated, use name instead. - NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` - // The name (project, location, cluster, node pool id) of the node poll to - // rollback upgrade. - // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // The name (project, location, cluster id) of the cluster to complete IP + // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *RollbackNodePoolUpgradeRequest) Reset() { *m = RollbackNodePoolUpgradeRequest{} } -func (m *RollbackNodePoolUpgradeRequest) String() string { return proto.CompactTextString(m) } -func (*RollbackNodePoolUpgradeRequest) ProtoMessage() {} -func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{40} +func (m *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationRequest{} } +func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) } +func (*CompleteIPRotationRequest) ProtoMessage() {} +func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{62} } -func (m *RollbackNodePoolUpgradeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Unmarshal(m, b) +func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) } -func (m *RollbackNodePoolUpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Marshal(b, m, deterministic) +func (m *CompleteIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompleteIPRotationRequest.Marshal(b, m, deterministic) } -func (dst *RollbackNodePoolUpgradeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackNodePoolUpgradeRequest.Merge(dst, src) +func (dst *CompleteIPRotationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompleteIPRotationRequest.Merge(dst, src) } -func (m *RollbackNodePoolUpgradeRequest) XXX_Size() int { - return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Size(m) +func (m *CompleteIPRotationRequest) XXX_Size() int { + return xxx_messageInfo_CompleteIPRotationRequest.Size(m) } -func (m *RollbackNodePoolUpgradeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackNodePoolUpgradeRequest.DiscardUnknown(m) +func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CompleteIPRotationRequest.DiscardUnknown(m) } -var xxx_messageInfo_RollbackNodePoolUpgradeRequest proto.InternalMessageInfo +var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo -func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string { +// Deprecated: Do not use. +func (m *CompleteIPRotationRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *RollbackNodePoolUpgradeRequest) GetZone() string { +// Deprecated: Do not use. +func (m *CompleteIPRotationRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { +// Deprecated: Do not use. +func (m *CompleteIPRotationRequest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { +func (m *CompleteIPRotationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// AcceleratorConfig represents a Hardware Accelerator request. +type AcceleratorConfig struct { + // The number of the accelerator cards exposed to an instance. + AcceleratorCount int64 `protobuf:"varint,1,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"` + // The accelerator type resource name. List of supported accelerators + // [here](/compute/docs/gpus/#Introduction) + AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } +func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } +func (*AcceleratorConfig) ProtoMessage() {} +func (*AcceleratorConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{63} +} +func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) +} +func (m *AcceleratorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AcceleratorConfig.Marshal(b, m, deterministic) +} +func (dst *AcceleratorConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceleratorConfig.Merge(dst, src) +} +func (m *AcceleratorConfig) XXX_Size() int { + return xxx_messageInfo_AcceleratorConfig.Size(m) +} +func (m *AcceleratorConfig) XXX_DiscardUnknown() { + xxx_messageInfo_AcceleratorConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceleratorConfig proto.InternalMessageInfo + +func (m *AcceleratorConfig) GetAcceleratorCount() int64 { if m != nil { - return m.NodePoolId + return m.AcceleratorCount } - return "" + return 0 } -func (m *RollbackNodePoolUpgradeRequest) GetName() string { +func (m *AcceleratorConfig) GetAcceleratorType() string { if m != nil { - return m.Name + return m.AcceleratorType } return "" } -// ListNodePoolsResponse is the result of ListNodePoolsRequest. -type ListNodePoolsResponse struct { - // A list of node pools for a cluster. - NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// WorkloadMetadataConfig defines the metadata configuration to expose to +// workloads on the node pool. +type WorkloadMetadataConfig struct { + // NodeMetadata is the configuration for how to expose the node metadata to + // the workload running on the node. + NodeMetadata WorkloadMetadataConfig_NodeMetadata `protobuf:"varint,1,opt,name=node_metadata,json=nodeMetadata,proto3,enum=google.container.v1beta1.WorkloadMetadataConfig_NodeMetadata" json:"node_metadata,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } -func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNodePoolsResponse) ProtoMessage() {} -func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{41} +func (m *WorkloadMetadataConfig) Reset() { *m = WorkloadMetadataConfig{} } +func (m *WorkloadMetadataConfig) String() string { return proto.CompactTextString(m) } +func (*WorkloadMetadataConfig) ProtoMessage() {} +func (*WorkloadMetadataConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{64} } -func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) +func (m *WorkloadMetadataConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkloadMetadataConfig.Unmarshal(m, b) } -func (m *ListNodePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNodePoolsResponse.Marshal(b, m, deterministic) +func (m *WorkloadMetadataConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkloadMetadataConfig.Marshal(b, m, deterministic) } -func (dst *ListNodePoolsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsResponse.Merge(dst, src) +func (dst *WorkloadMetadataConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkloadMetadataConfig.Merge(dst, src) } -func (m *ListNodePoolsResponse) XXX_Size() int { - return xxx_messageInfo_ListNodePoolsResponse.Size(m) +func (m *WorkloadMetadataConfig) XXX_Size() int { + return xxx_messageInfo_WorkloadMetadataConfig.Size(m) } -func (m *ListNodePoolsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNodePoolsResponse.DiscardUnknown(m) +func (m *WorkloadMetadataConfig) XXX_DiscardUnknown() { + xxx_messageInfo_WorkloadMetadataConfig.DiscardUnknown(m) } -var xxx_messageInfo_ListNodePoolsResponse proto.InternalMessageInfo +var xxx_messageInfo_WorkloadMetadataConfig proto.InternalMessageInfo -func (m *ListNodePoolsResponse) GetNodePools() []*NodePool { +func (m *WorkloadMetadataConfig) GetNodeMetadata() WorkloadMetadataConfig_NodeMetadata { if m != nil { - return m.NodePools + return m.NodeMetadata } - return nil + return WorkloadMetadataConfig_UNSPECIFIED } -// NodePoolAutoscaling contains information required by cluster autoscaler to -// adjust the size of the node pool to the current cluster usage. -type NodePoolAutoscaling struct { - // Is autoscaling enabled for this node pool. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // Minimum number of nodes in the NodePool. Must be >= 1 and <= - // max_node_count. - MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"` - // Maximum number of nodes in the NodePool. Must be >= min_node_count. There - // has to enough quota to scale up the cluster. - MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"` +// SetNetworkPolicyRequest enables/disables network policy for a cluster. +type SetNetworkPolicyRequest struct { + // Deprecated. The Google Developers Console [project ID or project + // number](https://developers.google.com/console/help/new/#projectnumber). + // This field has been deprecated and replaced by the name field. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the Google Compute Engine + // [zone](/compute/docs/zones#available) in which the cluster + // resides. + // This field has been deprecated and replaced by the name field. + Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use. + // Deprecated. The name of the cluster. + // This field has been deprecated and replaced by the name field. + ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use. + // Configuration options for the NetworkPolicy feature. + NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` + // The name (project, location, cluster id) of the cluster to set networking + // policy. Specified in the format 'projects/*/locations/*/clusters/*'. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *NodePoolAutoscaling) Reset() { *m = NodePoolAutoscaling{} } -func (m *NodePoolAutoscaling) String() string { return proto.CompactTextString(m) } -func (*NodePoolAutoscaling) ProtoMessage() {} -func (*NodePoolAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{42} +func (m *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest{} } +func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) } +func (*SetNetworkPolicyRequest) ProtoMessage() {} +func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{65} } -func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) +func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) } -func (m *NodePoolAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodePoolAutoscaling.Marshal(b, m, deterministic) +func (m *SetNetworkPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetNetworkPolicyRequest.Marshal(b, m, deterministic) } -func (dst *NodePoolAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePoolAutoscaling.Merge(dst, src) +func (dst *SetNetworkPolicyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetNetworkPolicyRequest.Merge(dst, src) } -func (m *NodePoolAutoscaling) XXX_Size() int { - return xxx_messageInfo_NodePoolAutoscaling.Size(m) +func (m *SetNetworkPolicyRequest) XXX_Size() int { + return xxx_messageInfo_SetNetworkPolicyRequest.Size(m) } -func (m *NodePoolAutoscaling) XXX_DiscardUnknown() { - xxx_messageInfo_NodePoolAutoscaling.DiscardUnknown(m) +func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetNetworkPolicyRequest.DiscardUnknown(m) } -var xxx_messageInfo_NodePoolAutoscaling proto.InternalMessageInfo +var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo -func (m *NodePoolAutoscaling) GetEnabled() bool { +// Deprecated: Do not use. +func (m *SetNetworkPolicyRequest) GetProjectId() string { if m != nil { - return m.Enabled + return m.ProjectId } - return false + return "" } -func (m *NodePoolAutoscaling) GetMinNodeCount() int32 { +// Deprecated: Do not use. +func (m *SetNetworkPolicyRequest) GetZone() string { if m != nil { - return m.MinNodeCount + return m.Zone } - return 0 + return "" } -func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 { +// Deprecated: Do not use. +func (m *SetNetworkPolicyRequest) GetClusterId() string { if m != nil { - return m.MaxNodeCount + return m.ClusterId } - return 0 + return "" } -// SetLabelsRequest sets the Google Cloud Platform labels on a Google Container -// Engine cluster, which will in turn set them for Google Compute Engine -// resources used by that cluster -type SetLabelsRequest struct { +func (m *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy { + if m != nil { + return m.NetworkPolicy + } + return nil +} + +func (m *SetNetworkPolicyRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// SetMaintenancePolicyRequest sets the maintenance policy for a cluster. +type SetMaintenancePolicyRequest struct { // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use name instead. + // number](https://support.google.com/cloud/answer/6158840). ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. - // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use name instead. + // The name of the cluster to update. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The labels to set for that cluster. - ResourceLabels map[string]string `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The fingerprint of the previous set of labels for this resource, - // used to detect conflicts. The fingerprint is initially generated by - // Container Engine and changes after every request to modify or update - // labels. You must always provide an up-to-date fingerprint hash when - // updating or changing labels. Make a get() request to the - // resource to get the latest fingerprint. - LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` - // The name (project, location, cluster id) of the cluster to set labels. + // The maintenance policy to be set for the cluster. An empty field + // clears the existing maintenance policy. + MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` + // The name (project, location, cluster id) of the cluster to set maintenance + // policy. // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } -func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLabelsRequest) ProtoMessage() {} -func (*SetLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{43} +func (m *SetMaintenancePolicyRequest) Reset() { *m = SetMaintenancePolicyRequest{} } +func (m *SetMaintenancePolicyRequest) String() string { return proto.CompactTextString(m) } +func (*SetMaintenancePolicyRequest) ProtoMessage() {} +func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{66} } -func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) +func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) } -func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLabelsRequest.Marshal(b, m, deterministic) +func (m *SetMaintenancePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMaintenancePolicyRequest.Marshal(b, m, deterministic) } -func (dst *SetLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLabelsRequest.Merge(dst, src) +func (dst *SetMaintenancePolicyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMaintenancePolicyRequest.Merge(dst, src) } -func (m *SetLabelsRequest) XXX_Size() int { - return xxx_messageInfo_SetLabelsRequest.Size(m) +func (m *SetMaintenancePolicyRequest) XXX_Size() int { + return xxx_messageInfo_SetMaintenancePolicyRequest.Size(m) } -func (m *SetLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLabelsRequest.DiscardUnknown(m) +func (m *SetMaintenancePolicyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetMaintenancePolicyRequest.DiscardUnknown(m) } -var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo +var xxx_messageInfo_SetMaintenancePolicyRequest proto.InternalMessageInfo -func (m *SetLabelsRequest) GetProjectId() string { +func (m *SetMaintenancePolicyRequest) GetProjectId() string { if m != nil { return m.ProjectId } return "" } -func (m *SetLabelsRequest) GetZone() string { +func (m *SetMaintenancePolicyRequest) GetZone() string { if m != nil { return m.Zone } return "" } -func (m *SetLabelsRequest) GetClusterId() string { +func (m *SetMaintenancePolicyRequest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *SetLabelsRequest) GetResourceLabels() map[string]string { +func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy { if m != nil { - return m.ResourceLabels + return m.MaintenancePolicy } return nil } -func (m *SetLabelsRequest) GetLabelFingerprint() string { +func (m *SetMaintenancePolicyRequest) GetName() string { if m != nil { - return m.LabelFingerprint + return m.Name } return "" } -func (m *SetLabelsRequest) GetName() string { +// ListLocationsRequest is used to request the locations that offer GKE. +type ListLocationsRequest struct { + // Contains the name of the resource requested. + // Specified in the format 'projects/*'. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListLocationsRequest) Reset() { *m = ListLocationsRequest{} } +func (m *ListLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListLocationsRequest) ProtoMessage() {} +func (*ListLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{67} +} +func (m *ListLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListLocationsRequest.Unmarshal(m, b) +} +func (m *ListLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListLocationsRequest.Marshal(b, m, deterministic) +} +func (dst *ListLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListLocationsRequest.Merge(dst, src) +} +func (m *ListLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListLocationsRequest.Size(m) +} +func (m *ListLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListLocationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListLocationsRequest proto.InternalMessageInfo + +func (m *ListLocationsRequest) GetParent() string { if m != nil { - return m.Name + return m.Parent } return "" } -// SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for -// a cluster. -type SetLegacyAbacRequest struct { - // The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the cluster - // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to update. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Whether ABAC authorization will be enabled in the cluster. - Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` - // The name (project, location, cluster id) of the cluster to set legacy abac. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` +// ListLocationsResponse returns the list of all GKE locations and their +// recommendation state. +type ListLocationsResponse struct { + // A full list of GKE locations. + Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + // Only return ListLocationsResponse that occur after the page_token. This + // value should be populated from the ListLocationsResponse.next_page_token if + // that response token was set (which happens when listing more Locations than + // fit in a single ListLocationsResponse). + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} } -func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) } -func (*SetLegacyAbacRequest) ProtoMessage() {} -func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{44} +func (m *ListLocationsResponse) Reset() { *m = ListLocationsResponse{} } +func (m *ListLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListLocationsResponse) ProtoMessage() {} +func (*ListLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{68} } -func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) +func (m *ListLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListLocationsResponse.Unmarshal(m, b) } -func (m *SetLegacyAbacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLegacyAbacRequest.Marshal(b, m, deterministic) +func (m *ListLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListLocationsResponse.Marshal(b, m, deterministic) } -func (dst *SetLegacyAbacRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLegacyAbacRequest.Merge(dst, src) +func (dst *ListLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListLocationsResponse.Merge(dst, src) } -func (m *SetLegacyAbacRequest) XXX_Size() int { - return xxx_messageInfo_SetLegacyAbacRequest.Size(m) +func (m *ListLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListLocationsResponse.Size(m) } -func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLegacyAbacRequest.DiscardUnknown(m) +func (m *ListLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListLocationsResponse.DiscardUnknown(m) } -var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo +var xxx_messageInfo_ListLocationsResponse proto.InternalMessageInfo -func (m *SetLegacyAbacRequest) GetProjectId() string { +func (m *ListLocationsResponse) GetLocations() []*Location { if m != nil { - return m.ProjectId + return m.Locations } - return "" + return nil } -func (m *SetLegacyAbacRequest) GetZone() string { +func (m *ListLocationsResponse) GetNextPageToken() string { if m != nil { - return m.Zone + return m.NextPageToken } return "" } -func (m *SetLegacyAbacRequest) GetClusterId() string { +// Location returns the location name, and if the location is recommended +// for GKE cluster scheduling. +type Location struct { + // Contains the type of location this Location is for. + // Regional or Zonal. + Type Location_LocationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.container.v1beta1.Location_LocationType" json:"type,omitempty"` + // Contains the name of the resource requested. + // Specified in the format 'projects/*/locations/*'. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Whether the location is recomended for GKE cluster scheduling. + Recommended bool `protobuf:"varint,3,opt,name=recommended,proto3" json:"recommended,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Location) Reset() { *m = Location{} } +func (m *Location) String() string { return proto.CompactTextString(m) } +func (*Location) ProtoMessage() {} +func (*Location) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{69} +} +func (m *Location) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Location.Unmarshal(m, b) +} +func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Location.Marshal(b, m, deterministic) +} +func (dst *Location) XXX_Merge(src proto.Message) { + xxx_messageInfo_Location.Merge(dst, src) +} +func (m *Location) XXX_Size() int { + return xxx_messageInfo_Location.Size(m) +} +func (m *Location) XXX_DiscardUnknown() { + xxx_messageInfo_Location.DiscardUnknown(m) +} + +var xxx_messageInfo_Location proto.InternalMessageInfo + +func (m *Location) GetType() Location_LocationType { if m != nil { - return m.ClusterId + return m.Type } - return "" + return Location_LOCATION_TYPE_UNSPECIFIED } -func (m *SetLegacyAbacRequest) GetEnabled() bool { +func (m *Location) GetName() string { if m != nil { - return m.Enabled + return m.Name } - return false + return "" } -func (m *SetLegacyAbacRequest) GetName() string { +func (m *Location) GetRecommended() bool { if m != nil { - return m.Name + return m.Recommended } - return "" + return false } -// StartIPRotationRequest creates a new IP for the cluster and then performs -// a node upgrade on each node pool to point to the new IP. -type StartIPRotationRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the cluster - // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name (project, location, cluster id) of the cluster to start IP rotation. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` +// StatusCondition describes why a cluster or a node pool has a certain status +// (e.g., ERROR or DEGRADED). +type StatusCondition struct { + // Machine-friendly representation of the condition + Code StatusCondition_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.container.v1beta1.StatusCondition_Code" json:"code,omitempty"` + // Human-friendly representation of the condition + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} } -func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) } -func (*StartIPRotationRequest) ProtoMessage() {} -func (*StartIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{45} +func (m *StatusCondition) Reset() { *m = StatusCondition{} } +func (m *StatusCondition) String() string { return proto.CompactTextString(m) } +func (*StatusCondition) ProtoMessage() {} +func (*StatusCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{70} } -func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) +func (m *StatusCondition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatusCondition.Unmarshal(m, b) } -func (m *StartIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartIPRotationRequest.Marshal(b, m, deterministic) +func (m *StatusCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatusCondition.Marshal(b, m, deterministic) } -func (dst *StartIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartIPRotationRequest.Merge(dst, src) +func (dst *StatusCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatusCondition.Merge(dst, src) } -func (m *StartIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_StartIPRotationRequest.Size(m) +func (m *StatusCondition) XXX_Size() int { + return xxx_messageInfo_StatusCondition.Size(m) } -func (m *StartIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartIPRotationRequest.DiscardUnknown(m) +func (m *StatusCondition) XXX_DiscardUnknown() { + xxx_messageInfo_StatusCondition.DiscardUnknown(m) } -var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo +var xxx_messageInfo_StatusCondition proto.InternalMessageInfo -func (m *StartIPRotationRequest) GetProjectId() string { +func (m *StatusCondition) GetCode() StatusCondition_Code { if m != nil { - return m.ProjectId + return m.Code } - return "" + return StatusCondition_UNKNOWN } -func (m *StartIPRotationRequest) GetZone() string { +func (m *StatusCondition) GetMessage() string { if m != nil { - return m.Zone + return m.Message } return "" } -func (m *StartIPRotationRequest) GetClusterId() string { +// NetworkConfig reports the relative names of network & subnetwork. +type NetworkConfig struct { + // Output only. The relative name of the Google Compute Engine + // [network][google.container.v1beta1.NetworkConfig.network](/compute/docs/networks-and-firewalls#networks) to which + // the cluster is connected. + // Example: projects/my-project/global/networks/my-network + Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` + // Output only. The relative name of the Google Compute Engine + // [subnetwork](/compute/docs/vpc) to which the cluster is connected. + // Example: projects/my-project/regions/us-central1/subnetworks/my-subnet + Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NetworkConfig) Reset() { *m = NetworkConfig{} } +func (m *NetworkConfig) String() string { return proto.CompactTextString(m) } +func (*NetworkConfig) ProtoMessage() {} +func (*NetworkConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{71} +} +func (m *NetworkConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NetworkConfig.Unmarshal(m, b) +} +func (m *NetworkConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NetworkConfig.Marshal(b, m, deterministic) +} +func (dst *NetworkConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkConfig.Merge(dst, src) +} +func (m *NetworkConfig) XXX_Size() int { + return xxx_messageInfo_NetworkConfig.Size(m) +} +func (m *NetworkConfig) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkConfig proto.InternalMessageInfo + +func (m *NetworkConfig) GetNetwork() string { if m != nil { - return m.ClusterId + return m.Network } return "" } -func (m *StartIPRotationRequest) GetName() string { +func (m *NetworkConfig) GetSubnetwork() string { if m != nil { - return m.Name + return m.Subnetwork } return "" } -// CompleteIPRotationRequest moves the cluster master back into single-IP mode. -type CompleteIPRotationRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the cluster - // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The name (project, location, cluster id) of the cluster to complete IP rotation. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` +// ListUsableSubnetworksRequest requests the list of usable subnetworks. +// available to a user for creating clusters. +type ListUsableSubnetworksRequest struct { + // The parent project where subnetworks are usable. + // Specified in the format 'projects/*'. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Filtering currently only supports equality on the networkProjectId and must + // be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` + // is the project which owns the listed subnetworks. This defaults to the + // parent project ID. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // The max number of results per page that should be returned. If the number + // of available results is larger than `page_size`, a `next_page_token` is + // returned which can be used to get the next page of results in subsequent + // requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Specifies a page token to use. Set this to the nextPageToken returned by + // previous list requests to get the next page of results. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationRequest{} } -func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) } -func (*CompleteIPRotationRequest) ProtoMessage() {} -func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{46} +func (m *ListUsableSubnetworksRequest) Reset() { *m = ListUsableSubnetworksRequest{} } +func (m *ListUsableSubnetworksRequest) String() string { return proto.CompactTextString(m) } +func (*ListUsableSubnetworksRequest) ProtoMessage() {} +func (*ListUsableSubnetworksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{72} } -func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) +func (m *ListUsableSubnetworksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListUsableSubnetworksRequest.Unmarshal(m, b) } -func (m *CompleteIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteIPRotationRequest.Marshal(b, m, deterministic) +func (m *ListUsableSubnetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListUsableSubnetworksRequest.Marshal(b, m, deterministic) } -func (dst *CompleteIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteIPRotationRequest.Merge(dst, src) +func (dst *ListUsableSubnetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsableSubnetworksRequest.Merge(dst, src) } -func (m *CompleteIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_CompleteIPRotationRequest.Size(m) +func (m *ListUsableSubnetworksRequest) XXX_Size() int { + return xxx_messageInfo_ListUsableSubnetworksRequest.Size(m) } -func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteIPRotationRequest.DiscardUnknown(m) +func (m *ListUsableSubnetworksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListUsableSubnetworksRequest.DiscardUnknown(m) } -var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo +var xxx_messageInfo_ListUsableSubnetworksRequest proto.InternalMessageInfo -func (m *CompleteIPRotationRequest) GetProjectId() string { +func (m *ListUsableSubnetworksRequest) GetParent() string { if m != nil { - return m.ProjectId + return m.Parent } return "" } -func (m *CompleteIPRotationRequest) GetZone() string { +func (m *ListUsableSubnetworksRequest) GetFilter() string { if m != nil { - return m.Zone + return m.Filter } return "" } -func (m *CompleteIPRotationRequest) GetClusterId() string { +func (m *ListUsableSubnetworksRequest) GetPageSize() int32 { if m != nil { - return m.ClusterId + return m.PageSize } - return "" + return 0 } -func (m *CompleteIPRotationRequest) GetName() string { +func (m *ListUsableSubnetworksRequest) GetPageToken() string { if m != nil { - return m.Name + return m.PageToken } return "" } -// AcceleratorConfig represents a Hardware Accelerator request. -type AcceleratorConfig struct { - // The number of the accelerator cards exposed to an instance. - AcceleratorCount int64 `protobuf:"varint,1,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"` - // The accelerator type resource name. List of supported accelerators - // [here](/compute/docs/gpus/#Introduction) - AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"` +// ListUsableSubnetworksResponse is the response of +// ListUsableSubnetworksRequest. +type ListUsableSubnetworksResponse struct { + // A list of usable subnetworks in the specified network project. + Subnetworks []*UsableSubnetwork `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"` + // This token allows you to get the next page of results for list requests. + // If the number of results is larger than `page_size`, use the + // `next_page_token` as a value for the query parameter `page_token` in the + // next request. The value will become empty when there are no more pages. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} } -func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) } -func (*AcceleratorConfig) ProtoMessage() {} -func (*AcceleratorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{47} +func (m *ListUsableSubnetworksResponse) Reset() { *m = ListUsableSubnetworksResponse{} } +func (m *ListUsableSubnetworksResponse) String() string { return proto.CompactTextString(m) } +func (*ListUsableSubnetworksResponse) ProtoMessage() {} +func (*ListUsableSubnetworksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{73} } -func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b) +func (m *ListUsableSubnetworksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListUsableSubnetworksResponse.Unmarshal(m, b) } -func (m *AcceleratorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcceleratorConfig.Marshal(b, m, deterministic) +func (m *ListUsableSubnetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListUsableSubnetworksResponse.Marshal(b, m, deterministic) } -func (dst *AcceleratorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceleratorConfig.Merge(dst, src) +func (dst *ListUsableSubnetworksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsableSubnetworksResponse.Merge(dst, src) } -func (m *AcceleratorConfig) XXX_Size() int { - return xxx_messageInfo_AcceleratorConfig.Size(m) +func (m *ListUsableSubnetworksResponse) XXX_Size() int { + return xxx_messageInfo_ListUsableSubnetworksResponse.Size(m) } -func (m *AcceleratorConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AcceleratorConfig.DiscardUnknown(m) +func (m *ListUsableSubnetworksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListUsableSubnetworksResponse.DiscardUnknown(m) } -var xxx_messageInfo_AcceleratorConfig proto.InternalMessageInfo +var xxx_messageInfo_ListUsableSubnetworksResponse proto.InternalMessageInfo -func (m *AcceleratorConfig) GetAcceleratorCount() int64 { +func (m *ListUsableSubnetworksResponse) GetSubnetworks() []*UsableSubnetwork { if m != nil { - return m.AcceleratorCount + return m.Subnetworks } - return 0 + return nil } -func (m *AcceleratorConfig) GetAcceleratorType() string { +func (m *ListUsableSubnetworksResponse) GetNextPageToken() string { if m != nil { - return m.AcceleratorType + return m.NextPageToken } return "" } -// SetNetworkPolicyRequest enables/disables network policy for a cluster. -type SetNetworkPolicyRequest struct { - // The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). - // This field is deprecated, use name instead. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the cluster - // resides. - // This field is deprecated, use name instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Configuration options for the NetworkPolicy feature. - NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` - // The name (project, location, cluster id) of the cluster to set networking policy. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` +// Secondary IP range of a usable subnetwork. +type UsableSubnetworkSecondaryRange struct { + // The name associated with this subnetwork secondary range, used when adding + // an alias IP range to a VM instance. + RangeName string `protobuf:"bytes,1,opt,name=range_name,json=rangeName,proto3" json:"range_name,omitempty"` + // The range of IP addresses belonging to this subnetwork secondary range. + IpCidrRange string `protobuf:"bytes,2,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"` + // This field is to determine the status of the secondary range programmably. + Status UsableSubnetworkSecondaryRange_Status `protobuf:"varint,3,opt,name=status,proto3,enum=google.container.v1beta1.UsableSubnetworkSecondaryRange_Status" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UsableSubnetworkSecondaryRange) Reset() { *m = UsableSubnetworkSecondaryRange{} } +func (m *UsableSubnetworkSecondaryRange) String() string { return proto.CompactTextString(m) } +func (*UsableSubnetworkSecondaryRange) ProtoMessage() {} +func (*UsableSubnetworkSecondaryRange) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{74} +} +func (m *UsableSubnetworkSecondaryRange) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UsableSubnetworkSecondaryRange.Unmarshal(m, b) +} +func (m *UsableSubnetworkSecondaryRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UsableSubnetworkSecondaryRange.Marshal(b, m, deterministic) +} +func (dst *UsableSubnetworkSecondaryRange) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsableSubnetworkSecondaryRange.Merge(dst, src) +} +func (m *UsableSubnetworkSecondaryRange) XXX_Size() int { + return xxx_messageInfo_UsableSubnetworkSecondaryRange.Size(m) +} +func (m *UsableSubnetworkSecondaryRange) XXX_DiscardUnknown() { + xxx_messageInfo_UsableSubnetworkSecondaryRange.DiscardUnknown(m) +} + +var xxx_messageInfo_UsableSubnetworkSecondaryRange proto.InternalMessageInfo + +func (m *UsableSubnetworkSecondaryRange) GetRangeName() string { + if m != nil { + return m.RangeName + } + return "" +} + +func (m *UsableSubnetworkSecondaryRange) GetIpCidrRange() string { + if m != nil { + return m.IpCidrRange + } + return "" +} + +func (m *UsableSubnetworkSecondaryRange) GetStatus() UsableSubnetworkSecondaryRange_Status { + if m != nil { + return m.Status + } + return UsableSubnetworkSecondaryRange_UNKNOWN +} + +// UsableSubnetwork resource returns the subnetwork name, its associated network +// and the primary CIDR range. +type UsableSubnetwork struct { + // Subnetwork Name. + // Example: projects/my-project/regions/us-central1/subnetworks/my-subnet + Subnetwork string `protobuf:"bytes,1,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` + // Network Name. + // Example: projects/my-project/global/networks/my-network + Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` + // The range of internal addresses that are owned by this subnetwork. + IpCidrRange string `protobuf:"bytes,3,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"` + // Secondary IP ranges. + SecondaryIpRanges []*UsableSubnetworkSecondaryRange `protobuf:"bytes,4,rep,name=secondary_ip_ranges,json=secondaryIpRanges,proto3" json:"secondary_ip_ranges,omitempty"` + // A human readable status message representing the reasons for cases where + // the caller cannot use the secondary ranges under the subnet. For example if + // the secondary_ip_ranges is empty due to a permission issue, an insufficient + // permission message will be given by status_message. + StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest{} } -func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*SetNetworkPolicyRequest) ProtoMessage() {} -func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{48} +func (m *UsableSubnetwork) Reset() { *m = UsableSubnetwork{} } +func (m *UsableSubnetwork) String() string { return proto.CompactTextString(m) } +func (*UsableSubnetwork) ProtoMessage() {} +func (*UsableSubnetwork) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{75} } -func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) +func (m *UsableSubnetwork) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UsableSubnetwork.Unmarshal(m, b) } -func (m *SetNetworkPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNetworkPolicyRequest.Marshal(b, m, deterministic) +func (m *UsableSubnetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UsableSubnetwork.Marshal(b, m, deterministic) } -func (dst *SetNetworkPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNetworkPolicyRequest.Merge(dst, src) +func (dst *UsableSubnetwork) XXX_Merge(src proto.Message) { + xxx_messageInfo_UsableSubnetwork.Merge(dst, src) } -func (m *SetNetworkPolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetNetworkPolicyRequest.Size(m) +func (m *UsableSubnetwork) XXX_Size() int { + return xxx_messageInfo_UsableSubnetwork.Size(m) } -func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNetworkPolicyRequest.DiscardUnknown(m) +func (m *UsableSubnetwork) XXX_DiscardUnknown() { + xxx_messageInfo_UsableSubnetwork.DiscardUnknown(m) } -var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo +var xxx_messageInfo_UsableSubnetwork proto.InternalMessageInfo -func (m *SetNetworkPolicyRequest) GetProjectId() string { +func (m *UsableSubnetwork) GetSubnetwork() string { if m != nil { - return m.ProjectId + return m.Subnetwork } return "" } -func (m *SetNetworkPolicyRequest) GetZone() string { +func (m *UsableSubnetwork) GetNetwork() string { if m != nil { - return m.Zone + return m.Network } return "" } -func (m *SetNetworkPolicyRequest) GetClusterId() string { +func (m *UsableSubnetwork) GetIpCidrRange() string { if m != nil { - return m.ClusterId + return m.IpCidrRange } return "" } -func (m *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy { +func (m *UsableSubnetwork) GetSecondaryIpRanges() []*UsableSubnetworkSecondaryRange { if m != nil { - return m.NetworkPolicy + return m.SecondaryIpRanges } return nil } -func (m *SetNetworkPolicyRequest) GetName() string { +func (m *UsableSubnetwork) GetStatusMessage() string { if m != nil { - return m.Name + return m.StatusMessage } return "" } -// SetMaintenancePolicyRequest sets the maintenance policy for a cluster. -type SetMaintenancePolicyRequest struct { - // The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The name of the Google Compute Engine - // [zone](/compute/docs/zones#available) in which the cluster - // resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The name of the cluster to update. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The maintenance policy to be set for the cluster. An empty field - // clears the existing maintenance policy. - MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` - // The name (project, location, cluster id) of the cluster to set maintenance - // policy. - // Specified in the format 'projects/*/locations/*/clusters/*'. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` +// VerticalPodAutoscaling contains global, per-cluster information +// required by Vertical Pod Autoscaler to automatically adjust +// the resources of pods controlled by it. +type VerticalPodAutoscaling struct { + // Enables vertical pod autoscaling. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SetMaintenancePolicyRequest) Reset() { *m = SetMaintenancePolicyRequest{} } -func (m *SetMaintenancePolicyRequest) String() string { return proto.CompactTextString(m) } -func (*SetMaintenancePolicyRequest) ProtoMessage() {} -func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_578509dcb8313dce, []int{49} +func (m *VerticalPodAutoscaling) Reset() { *m = VerticalPodAutoscaling{} } +func (m *VerticalPodAutoscaling) String() string { return proto.CompactTextString(m) } +func (*VerticalPodAutoscaling) ProtoMessage() {} +func (*VerticalPodAutoscaling) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{76} } -func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) +func (m *VerticalPodAutoscaling) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VerticalPodAutoscaling.Unmarshal(m, b) } -func (m *SetMaintenancePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMaintenancePolicyRequest.Marshal(b, m, deterministic) +func (m *VerticalPodAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VerticalPodAutoscaling.Marshal(b, m, deterministic) +} +func (dst *VerticalPodAutoscaling) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerticalPodAutoscaling.Merge(dst, src) +} +func (m *VerticalPodAutoscaling) XXX_Size() int { + return xxx_messageInfo_VerticalPodAutoscaling.Size(m) +} +func (m *VerticalPodAutoscaling) XXX_DiscardUnknown() { + xxx_messageInfo_VerticalPodAutoscaling.DiscardUnknown(m) +} + +var xxx_messageInfo_VerticalPodAutoscaling proto.InternalMessageInfo + +func (m *VerticalPodAutoscaling) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + +// Constraints applied to pods. +type MaxPodsConstraint struct { + // Constraint enforced on the max num of pods per node. + MaxPodsPerNode int64 `protobuf:"varint,1,opt,name=max_pods_per_node,json=maxPodsPerNode,proto3" json:"max_pods_per_node,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MaxPodsConstraint) Reset() { *m = MaxPodsConstraint{} } +func (m *MaxPodsConstraint) String() string { return proto.CompactTextString(m) } +func (*MaxPodsConstraint) ProtoMessage() {} +func (*MaxPodsConstraint) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{77} +} +func (m *MaxPodsConstraint) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MaxPodsConstraint.Unmarshal(m, b) +} +func (m *MaxPodsConstraint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MaxPodsConstraint.Marshal(b, m, deterministic) +} +func (dst *MaxPodsConstraint) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaxPodsConstraint.Merge(dst, src) +} +func (m *MaxPodsConstraint) XXX_Size() int { + return xxx_messageInfo_MaxPodsConstraint.Size(m) +} +func (m *MaxPodsConstraint) XXX_DiscardUnknown() { + xxx_messageInfo_MaxPodsConstraint.DiscardUnknown(m) +} + +var xxx_messageInfo_MaxPodsConstraint proto.InternalMessageInfo + +func (m *MaxPodsConstraint) GetMaxPodsPerNode() int64 { + if m != nil { + return m.MaxPodsPerNode + } + return 0 +} + +// Configuration for exporting cluster resource usages. +type ResourceUsageExportConfig struct { + // Configuration to use BigQuery as usage export destination. + BigqueryDestination *ResourceUsageExportConfig_BigQueryDestination `protobuf:"bytes,1,opt,name=bigquery_destination,json=bigqueryDestination,proto3" json:"bigquery_destination,omitempty"` + // Whether to enable network egress metering for this cluster. If enabled, a + // daemonset will be created in the cluster to meter network egress traffic. + EnableNetworkEgressMetering bool `protobuf:"varint,2,opt,name=enable_network_egress_metering,json=enableNetworkEgressMetering,proto3" json:"enable_network_egress_metering,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResourceUsageExportConfig) Reset() { *m = ResourceUsageExportConfig{} } +func (m *ResourceUsageExportConfig) String() string { return proto.CompactTextString(m) } +func (*ResourceUsageExportConfig) ProtoMessage() {} +func (*ResourceUsageExportConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{78} +} +func (m *ResourceUsageExportConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourceUsageExportConfig.Unmarshal(m, b) +} +func (m *ResourceUsageExportConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourceUsageExportConfig.Marshal(b, m, deterministic) } -func (dst *SetMaintenancePolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMaintenancePolicyRequest.Merge(dst, src) +func (dst *ResourceUsageExportConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceUsageExportConfig.Merge(dst, src) } -func (m *SetMaintenancePolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetMaintenancePolicyRequest.Size(m) +func (m *ResourceUsageExportConfig) XXX_Size() int { + return xxx_messageInfo_ResourceUsageExportConfig.Size(m) } -func (m *SetMaintenancePolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMaintenancePolicyRequest.DiscardUnknown(m) +func (m *ResourceUsageExportConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceUsageExportConfig.DiscardUnknown(m) } -var xxx_messageInfo_SetMaintenancePolicyRequest proto.InternalMessageInfo +var xxx_messageInfo_ResourceUsageExportConfig proto.InternalMessageInfo -func (m *SetMaintenancePolicyRequest) GetProjectId() string { +func (m *ResourceUsageExportConfig) GetBigqueryDestination() *ResourceUsageExportConfig_BigQueryDestination { if m != nil { - return m.ProjectId + return m.BigqueryDestination } - return "" + return nil } -func (m *SetMaintenancePolicyRequest) GetZone() string { +func (m *ResourceUsageExportConfig) GetEnableNetworkEgressMetering() bool { if m != nil { - return m.Zone + return m.EnableNetworkEgressMetering } - return "" + return false } -func (m *SetMaintenancePolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" +// Parameters for using BigQuery as the destination of resource usage export. +type ResourceUsageExportConfig_BigQueryDestination struct { + // The ID of a BigQuery Dataset. + DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.MaintenancePolicy - } - return nil +func (m *ResourceUsageExportConfig_BigQueryDestination) Reset() { + *m = ResourceUsageExportConfig_BigQueryDestination{} +} +func (m *ResourceUsageExportConfig_BigQueryDestination) String() string { + return proto.CompactTextString(m) +} +func (*ResourceUsageExportConfig_BigQueryDestination) ProtoMessage() {} +func (*ResourceUsageExportConfig_BigQueryDestination) Descriptor() ([]byte, []int) { + return fileDescriptor_cluster_service_4b3d530a1685571f, []int{78, 0} +} +func (m *ResourceUsageExportConfig_BigQueryDestination) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination.Unmarshal(m, b) +} +func (m *ResourceUsageExportConfig_BigQueryDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination.Marshal(b, m, deterministic) +} +func (dst *ResourceUsageExportConfig_BigQueryDestination) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination.Merge(dst, src) +} +func (m *ResourceUsageExportConfig_BigQueryDestination) XXX_Size() int { + return xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination.Size(m) +} +func (m *ResourceUsageExportConfig_BigQueryDestination) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination.DiscardUnknown(m) } -func (m *SetMaintenancePolicyRequest) GetName() string { +var xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination proto.InternalMessageInfo + +func (m *ResourceUsageExportConfig_BigQueryDestination) GetDatasetId() string { if m != nil { - return m.Name + return m.DatasetId } return "" } @@ -4604,17 +7388,32 @@ func init() { proto.RegisterType((*HorizontalPodAutoscaling)(nil), "google.container.v1beta1.HorizontalPodAutoscaling") proto.RegisterType((*KubernetesDashboard)(nil), "google.container.v1beta1.KubernetesDashboard") proto.RegisterType((*NetworkPolicyConfig)(nil), "google.container.v1beta1.NetworkPolicyConfig") + proto.RegisterType((*PrivateClusterConfig)(nil), "google.container.v1beta1.PrivateClusterConfig") + proto.RegisterType((*IstioConfig)(nil), "google.container.v1beta1.IstioConfig") + proto.RegisterType((*CloudRunConfig)(nil), "google.container.v1beta1.CloudRunConfig") proto.RegisterType((*MasterAuthorizedNetworksConfig)(nil), "google.container.v1beta1.MasterAuthorizedNetworksConfig") proto.RegisterType((*MasterAuthorizedNetworksConfig_CidrBlock)(nil), "google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock") + proto.RegisterType((*LegacyAbac)(nil), "google.container.v1beta1.LegacyAbac") proto.RegisterType((*NetworkPolicy)(nil), "google.container.v1beta1.NetworkPolicy") proto.RegisterType((*IPAllocationPolicy)(nil), "google.container.v1beta1.IPAllocationPolicy") + proto.RegisterType((*BinaryAuthorization)(nil), "google.container.v1beta1.BinaryAuthorization") proto.RegisterType((*PodSecurityPolicyConfig)(nil), "google.container.v1beta1.PodSecurityPolicyConfig") proto.RegisterType((*Cluster)(nil), "google.container.v1beta1.Cluster") + proto.RegisterMapType((map[string]string)(nil), "google.container.v1beta1.Cluster.ResourceLabelsEntry") proto.RegisterType((*ClusterUpdate)(nil), "google.container.v1beta1.ClusterUpdate") proto.RegisterType((*Operation)(nil), "google.container.v1beta1.Operation") + proto.RegisterType((*OperationProgress)(nil), "google.container.v1beta1.OperationProgress") + proto.RegisterType((*OperationProgress_Metric)(nil), "google.container.v1beta1.OperationProgress.Metric") proto.RegisterType((*CreateClusterRequest)(nil), "google.container.v1beta1.CreateClusterRequest") proto.RegisterType((*GetClusterRequest)(nil), "google.container.v1beta1.GetClusterRequest") proto.RegisterType((*UpdateClusterRequest)(nil), "google.container.v1beta1.UpdateClusterRequest") + proto.RegisterType((*UpdateNodePoolRequest)(nil), "google.container.v1beta1.UpdateNodePoolRequest") + proto.RegisterType((*SetNodePoolAutoscalingRequest)(nil), "google.container.v1beta1.SetNodePoolAutoscalingRequest") + proto.RegisterType((*SetLoggingServiceRequest)(nil), "google.container.v1beta1.SetLoggingServiceRequest") + proto.RegisterType((*SetMonitoringServiceRequest)(nil), "google.container.v1beta1.SetMonitoringServiceRequest") + proto.RegisterType((*SetAddonsConfigRequest)(nil), "google.container.v1beta1.SetAddonsConfigRequest") + proto.RegisterType((*SetLocationsRequest)(nil), "google.container.v1beta1.SetLocationsRequest") + proto.RegisterType((*UpdateMasterRequest)(nil), "google.container.v1beta1.UpdateMasterRequest") proto.RegisterType((*SetMasterAuthRequest)(nil), "google.container.v1beta1.SetMasterAuthRequest") proto.RegisterType((*DeleteClusterRequest)(nil), "google.container.v1beta1.DeleteClusterRequest") proto.RegisterType((*ListClustersRequest)(nil), "google.container.v1beta1.ListClustersRequest") @@ -4636,8 +7435,11 @@ func init() { proto.RegisterType((*MaintenanceWindow)(nil), "google.container.v1beta1.MaintenanceWindow") proto.RegisterType((*DailyMaintenanceWindow)(nil), "google.container.v1beta1.DailyMaintenanceWindow") proto.RegisterType((*SetNodePoolManagementRequest)(nil), "google.container.v1beta1.SetNodePoolManagementRequest") + proto.RegisterType((*SetNodePoolSizeRequest)(nil), "google.container.v1beta1.SetNodePoolSizeRequest") proto.RegisterType((*RollbackNodePoolUpgradeRequest)(nil), "google.container.v1beta1.RollbackNodePoolUpgradeRequest") proto.RegisterType((*ListNodePoolsResponse)(nil), "google.container.v1beta1.ListNodePoolsResponse") + proto.RegisterType((*ClusterAutoscaling)(nil), "google.container.v1beta1.ClusterAutoscaling") + proto.RegisterType((*ResourceLimit)(nil), "google.container.v1beta1.ResourceLimit") proto.RegisterType((*NodePoolAutoscaling)(nil), "google.container.v1beta1.NodePoolAutoscaling") proto.RegisterType((*SetLabelsRequest)(nil), "google.container.v1beta1.SetLabelsRequest") proto.RegisterMapType((map[string]string)(nil), "google.container.v1beta1.SetLabelsRequest.ResourceLabelsEntry") @@ -4645,15 +7447,34 @@ func init() { proto.RegisterType((*StartIPRotationRequest)(nil), "google.container.v1beta1.StartIPRotationRequest") proto.RegisterType((*CompleteIPRotationRequest)(nil), "google.container.v1beta1.CompleteIPRotationRequest") proto.RegisterType((*AcceleratorConfig)(nil), "google.container.v1beta1.AcceleratorConfig") + proto.RegisterType((*WorkloadMetadataConfig)(nil), "google.container.v1beta1.WorkloadMetadataConfig") proto.RegisterType((*SetNetworkPolicyRequest)(nil), "google.container.v1beta1.SetNetworkPolicyRequest") proto.RegisterType((*SetMaintenancePolicyRequest)(nil), "google.container.v1beta1.SetMaintenancePolicyRequest") + proto.RegisterType((*ListLocationsRequest)(nil), "google.container.v1beta1.ListLocationsRequest") + proto.RegisterType((*ListLocationsResponse)(nil), "google.container.v1beta1.ListLocationsResponse") + proto.RegisterType((*Location)(nil), "google.container.v1beta1.Location") + proto.RegisterType((*StatusCondition)(nil), "google.container.v1beta1.StatusCondition") + proto.RegisterType((*NetworkConfig)(nil), "google.container.v1beta1.NetworkConfig") + proto.RegisterType((*ListUsableSubnetworksRequest)(nil), "google.container.v1beta1.ListUsableSubnetworksRequest") + proto.RegisterType((*ListUsableSubnetworksResponse)(nil), "google.container.v1beta1.ListUsableSubnetworksResponse") + proto.RegisterType((*UsableSubnetworkSecondaryRange)(nil), "google.container.v1beta1.UsableSubnetworkSecondaryRange") + proto.RegisterType((*UsableSubnetwork)(nil), "google.container.v1beta1.UsableSubnetwork") + proto.RegisterType((*VerticalPodAutoscaling)(nil), "google.container.v1beta1.VerticalPodAutoscaling") + proto.RegisterType((*MaxPodsConstraint)(nil), "google.container.v1beta1.MaxPodsConstraint") + proto.RegisterType((*ResourceUsageExportConfig)(nil), "google.container.v1beta1.ResourceUsageExportConfig") + proto.RegisterType((*ResourceUsageExportConfig_BigQueryDestination)(nil), "google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination") proto.RegisterEnum("google.container.v1beta1.NodeTaint_Effect", NodeTaint_Effect_name, NodeTaint_Effect_value) + proto.RegisterEnum("google.container.v1beta1.IstioConfig_IstioAuthMode", IstioConfig_IstioAuthMode_name, IstioConfig_IstioAuthMode_value) proto.RegisterEnum("google.container.v1beta1.NetworkPolicy_Provider", NetworkPolicy_Provider_name, NetworkPolicy_Provider_value) proto.RegisterEnum("google.container.v1beta1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) proto.RegisterEnum("google.container.v1beta1.Operation_Status", Operation_Status_name, Operation_Status_value) proto.RegisterEnum("google.container.v1beta1.Operation_Type", Operation_Type_name, Operation_Type_value) proto.RegisterEnum("google.container.v1beta1.SetMasterAuthRequest_Action", SetMasterAuthRequest_Action_name, SetMasterAuthRequest_Action_value) proto.RegisterEnum("google.container.v1beta1.NodePool_Status", NodePool_Status_name, NodePool_Status_value) + proto.RegisterEnum("google.container.v1beta1.WorkloadMetadataConfig_NodeMetadata", WorkloadMetadataConfig_NodeMetadata_name, WorkloadMetadataConfig_NodeMetadata_value) + proto.RegisterEnum("google.container.v1beta1.Location_LocationType", Location_LocationType_name, Location_LocationType_value) + proto.RegisterEnum("google.container.v1beta1.StatusCondition_Code", StatusCondition_Code_name, StatusCondition_Code_value) + proto.RegisterEnum("google.container.v1beta1.UsableSubnetworkSecondaryRange_Status", UsableSubnetworkSecondaryRange_Status_name, UsableSubnetworkSecondaryRange_Status_value) } // Reference imports to suppress errors if they are not otherwise used. @@ -4671,7 +7492,7 @@ type ClusterManagerClient interface { // Lists all clusters owned by a project in either the specified zone or all // zones. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) - // Gets the details of a specific cluster. + // Gets the details for a specific cluster. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Creates a cluster, consisting of the specified number and type of Google // Compute Engine instances. @@ -4687,10 +7508,24 @@ type ClusterManagerClient interface { // Finally, an entry is added to the project's global metadata indicating // which CIDR range is being used by the cluster. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the settings of a specific cluster. + // Updates the settings for a specific cluster. UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) + // Updates the version and/or image type of a specific node pool. + UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) + // Sets the autoscaling settings of a specific node pool. + SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error) + // Sets the logging service for a specific cluster. + SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) + // Sets the monitoring service for a specific cluster. + SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) + // Sets the addons for a specific cluster. + SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) + // Sets the locations for a specific cluster. + SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) + // Updates the master for a specific cluster. + UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error) // Used to set master auth materials. Currently supports :- - // Changing the admin password of a specific cluster. + // Changing the admin password for a specific cluster. // This can be either via password generation or explicitly set. // Modify basic_auth.csv and reset the K8S API server. SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error) @@ -4710,7 +7545,7 @@ type ClusterManagerClient interface { GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) // Cancels the specified operation. CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns configuration info about the Container Engine service. + // Returns configuration info about the Kubernetes Engine service. GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) // Lists the node pools for a cluster. ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) @@ -4733,10 +7568,16 @@ type ClusterManagerClient interface { StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) + // Sets the size for a specific node pool. + SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error) // Enables/Disables Network Policy for a cluster. SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the maintenance policy for a cluster. SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error) + // Lists subnetworks that are usable for creating clusters in a project. + ListUsableSubnetworks(ctx context.Context, in *ListUsableSubnetworksRequest, opts ...grpc.CallOption) (*ListUsableSubnetworksResponse, error) + // Used to fetch locations that offer GKE. + ListLocations(ctx context.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error) } type clusterManagerClient struct { @@ -4783,6 +7624,69 @@ func (c *clusterManagerClient) UpdateCluster(ctx context.Context, in *UpdateClus return out, nil } +func (c *clusterManagerClient) UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/UpdateNodePool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetNodePoolAutoscaling", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetLoggingService", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetMonitoringService", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetAddonsConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetLocations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/UpdateMaster", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *clusterManagerClient) SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error) { out := new(Operation) err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetMasterAuth", in, out, opts...) @@ -4927,6 +7831,15 @@ func (c *clusterManagerClient) CompleteIPRotation(ctx context.Context, in *Compl return out, nil } +func (c *clusterManagerClient) SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error) { + out := new(Operation) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetNodePoolSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *clusterManagerClient) SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { out := new(Operation) err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetNetworkPolicy", in, out, opts...) @@ -4945,12 +7858,30 @@ func (c *clusterManagerClient) SetMaintenancePolicy(ctx context.Context, in *Set return out, nil } +func (c *clusterManagerClient) ListUsableSubnetworks(ctx context.Context, in *ListUsableSubnetworksRequest, opts ...grpc.CallOption) (*ListUsableSubnetworksResponse, error) { + out := new(ListUsableSubnetworksResponse) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/ListUsableSubnetworks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterManagerClient) ListLocations(ctx context.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error) { + out := new(ListLocationsResponse) + err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/ListLocations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ClusterManagerServer is the server API for ClusterManager service. type ClusterManagerServer interface { // Lists all clusters owned by a project in either the specified zone or all // zones. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) - // Gets the details of a specific cluster. + // Gets the details for a specific cluster. GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) // Creates a cluster, consisting of the specified number and type of Google // Compute Engine instances. @@ -4966,10 +7897,24 @@ type ClusterManagerServer interface { // Finally, an entry is added to the project's global metadata indicating // which CIDR range is being used by the cluster. CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error) - // Updates the settings of a specific cluster. + // Updates the settings for a specific cluster. UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error) + // Updates the version and/or image type of a specific node pool. + UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error) + // Sets the autoscaling settings of a specific node pool. + SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error) + // Sets the logging service for a specific cluster. + SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error) + // Sets the monitoring service for a specific cluster. + SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error) + // Sets the addons for a specific cluster. + SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error) + // Sets the locations for a specific cluster. + SetLocations(context.Context, *SetLocationsRequest) (*Operation, error) + // Updates the master for a specific cluster. + UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error) // Used to set master auth materials. Currently supports :- - // Changing the admin password of a specific cluster. + // Changing the admin password for a specific cluster. // This can be either via password generation or explicitly set. // Modify basic_auth.csv and reset the K8S API server. SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error) @@ -4989,7 +7934,7 @@ type ClusterManagerServer interface { GetOperation(context.Context, *GetOperationRequest) (*Operation, error) // Cancels the specified operation. CancelOperation(context.Context, *CancelOperationRequest) (*empty.Empty, error) - // Returns configuration info about the Container Engine service. + // Returns configuration info about the Kubernetes Engine service. GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error) // Lists the node pools for a cluster. ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error) @@ -5012,10 +7957,16 @@ type ClusterManagerServer interface { StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error) + // Sets the size for a specific node pool. + SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error) // Enables/Disables Network Policy for a cluster. SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error) // Sets the maintenance policy for a cluster. SetMaintenancePolicy(context.Context, *SetMaintenancePolicyRequest) (*Operation, error) + // Lists subnetworks that are usable for creating clusters in a project. + ListUsableSubnetworks(context.Context, *ListUsableSubnetworksRequest) (*ListUsableSubnetworksResponse, error) + // Used to fetch locations that offer GKE. + ListLocations(context.Context, *ListLocationsRequest) (*ListLocationsResponse, error) } func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer) { @@ -5094,6 +8045,132 @@ func _ClusterManager_UpdateCluster_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _ClusterManager_UpdateNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNodePoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).UpdateNodePool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/UpdateNodePool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).UpdateNodePool(ctx, req.(*UpdateNodePoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_SetNodePoolAutoscaling_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetNodePoolAutoscalingRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).SetNodePoolAutoscaling(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/SetNodePoolAutoscaling", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).SetNodePoolAutoscaling(ctx, req.(*SetNodePoolAutoscalingRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_SetLoggingService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetLoggingServiceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).SetLoggingService(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/SetLoggingService", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).SetLoggingService(ctx, req.(*SetLoggingServiceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_SetMonitoringService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetMonitoringServiceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).SetMonitoringService(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/SetMonitoringService", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).SetMonitoringService(ctx, req.(*SetMonitoringServiceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_SetAddonsConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetAddonsConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).SetAddonsConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/SetAddonsConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).SetAddonsConfig(ctx, req.(*SetAddonsConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_SetLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetLocationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).SetLocations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/SetLocations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).SetLocations(ctx, req.(*SetLocationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_UpdateMaster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateMasterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).UpdateMaster(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/UpdateMaster", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).UpdateMaster(ctx, req.(*UpdateMasterRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ClusterManager_SetMasterAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetMasterAuthRequest) if err := dec(in); err != nil { @@ -5382,6 +8459,24 @@ func _ClusterManager_CompleteIPRotation_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _ClusterManager_SetNodePoolSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetNodePoolSizeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).SetNodePoolSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/SetNodePoolSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).SetNodePoolSize(ctx, req.(*SetNodePoolSizeRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ClusterManager_SetNetworkPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetNetworkPolicyRequest) if err := dec(in); err != nil { @@ -5418,6 +8513,42 @@ func _ClusterManager_SetMaintenancePolicy_Handler(srv interface{}, ctx context.C return interceptor(ctx, in, info, handler) } +func _ClusterManager_ListUsableSubnetworks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListUsableSubnetworksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).ListUsableSubnetworks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/ListUsableSubnetworks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).ListUsableSubnetworks(ctx, req.(*ListUsableSubnetworksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterManager_ListLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListLocationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterManagerServer).ListLocations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.container.v1beta1.ClusterManager/ListLocations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterManagerServer).ListLocations(ctx, req.(*ListLocationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _ClusterManager_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.container.v1beta1.ClusterManager", HandlerType: (*ClusterManagerServer)(nil), @@ -5438,6 +8569,34 @@ var _ClusterManager_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateCluster", Handler: _ClusterManager_UpdateCluster_Handler, }, + { + MethodName: "UpdateNodePool", + Handler: _ClusterManager_UpdateNodePool_Handler, + }, + { + MethodName: "SetNodePoolAutoscaling", + Handler: _ClusterManager_SetNodePoolAutoscaling_Handler, + }, + { + MethodName: "SetLoggingService", + Handler: _ClusterManager_SetLoggingService_Handler, + }, + { + MethodName: "SetMonitoringService", + Handler: _ClusterManager_SetMonitoringService_Handler, + }, + { + MethodName: "SetAddonsConfig", + Handler: _ClusterManager_SetAddonsConfig_Handler, + }, + { + MethodName: "SetLocations", + Handler: _ClusterManager_SetLocations_Handler, + }, + { + MethodName: "UpdateMaster", + Handler: _ClusterManager_UpdateMaster_Handler, + }, { MethodName: "SetMasterAuth", Handler: _ClusterManager_SetMasterAuth_Handler, @@ -5502,6 +8661,10 @@ var _ClusterManager_serviceDesc = grpc.ServiceDesc{ MethodName: "CompleteIPRotation", Handler: _ClusterManager_CompleteIPRotation_Handler, }, + { + MethodName: "SetNodePoolSize", + Handler: _ClusterManager_SetNodePoolSize_Handler, + }, { MethodName: "SetNetworkPolicy", Handler: _ClusterManager_SetNetworkPolicy_Handler, @@ -5510,289 +8673,463 @@ var _ClusterManager_serviceDesc = grpc.ServiceDesc{ MethodName: "SetMaintenancePolicy", Handler: _ClusterManager_SetMaintenancePolicy_Handler, }, + { + MethodName: "ListUsableSubnetworks", + Handler: _ClusterManager_ListUsableSubnetworks_Handler, + }, + { + MethodName: "ListLocations", + Handler: _ClusterManager_ListLocations_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/container/v1beta1/cluster_service.proto", } func init() { - proto.RegisterFile("google/container/v1beta1/cluster_service.proto", fileDescriptor_cluster_service_578509dcb8313dce) -} - -var fileDescriptor_cluster_service_578509dcb8313dce = []byte{ - // 4381 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x7c, 0x5b, 0x6c, 0xe3, 0x56, - 0x7a, 0xf0, 0xd2, 0x17, 0xd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4d, 0x8f, 0x8b, 0x97, 0x21, - 0x91, 0x0a, 0x31, 0x30, 0x79, 0x21, 0xc4, 0xa7, 0xf6, 0xb6, 0x15, 0x06, 0xde, 0x99, 0x71, 0x63, - 0xbd, 0xfe, 0x41, 0x03, 0xa1, 0x77, 0x0d, 0x32, 0x3a, 0xf6, 0x55, 0xc3, 0xe4, 0x56, 0xcd, 0x9f, - 0x12, 0x42, 0xf2, 0x6c, 0x52, 0x48, 0x8e, 0x65, 0xc2, 0xcc, 0x40, 0x26, 0x7c, 0x19, 0x72, 0xbe, - 0xea, 0x76, 0xb0, 0xcf, 0x96, 0x99, 0x97, 0x01, 0x03, 0xd1, 0x0d, 0xd1, 0xa0, 0x97, 0x8d, 0x07, - 0x3d, 0xd2, 0x3f, 0x7b, 0xbe, 0xea, 0xfa, 0x2c, 0x60, 0xb2, 0xe6, 0x24, 0x4b, 0x21, 0x34, 0x5e, - 0xbe, 0x40, 0x33, 0x2a, 0x5b, 0x64, 0xb5, 0xe3, 0x1c, 0xb6, 0x74, 0xb2, 0x24, 0xca, 0x63, 0xc3, - 0x65, 0x0e, 0xe6, 0x5a, 0x52, 0x63, 0x3b, 0x21, 0x52, 0xce, 0xc3, 0xcc, 0x76, 0xb3, 0x21, 0xb1, - 0x10, 0x59, 0xdd, 0x6a, 0xca, 0x07, 0x34, 0x44, 0x8a, 0xff, 0x33, 0x05, 0x33, 0x54, 0xe7, 0x2b, - 0x50, 0x3c, 0xf8, 0xb8, 0x25, 0x0d, 0x1c, 0x88, 0xa0, 0x50, 0x93, 0xa5, 0xea, 0x81, 0xa4, 0xd4, - 0xf6, 0x0e, 0xdb, 0x07, 0x92, 0x5c, 0x14, 0x08, 0x6c, 0x5b, 0xda, 0x93, 0x22, 0xb0, 0x29, 0x02, - 0x3b, 0x6c, 0xed, 0xc8, 0xd5, 0x6d, 0x49, 0xd9, 0xaf, 0x52, 0xd8, 0x34, 0x5a, 0x82, 0x85, 0x00, - 0xd6, 0x68, 0x6e, 0x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0x15, 0x99, 0x9f, 0x10, 0xbd, 0x11, 0x5b, 0x70, - 0x63, 0x40, 0xf4, 0x16, 0x2c, 0xd1, 0xf3, 0x95, 0x63, 0xc3, 0xea, 0x60, 0xd7, 0x71, 0x8d, 0xb0, - 0xbe, 0x29, 0xd2, 0x85, 0x87, 0x7d, 0x78, 0x92, 0x51, 0x96, 0xab, 0xb0, 0x9c, 0x40, 0xe7, 0x5c, - 0xf7, 0x41, 0x7f, 0x4b, 0xa0, 0xb3, 0x93, 0x3d, 0xdc, 0x51, 0xb5, 0xb3, 0xea, 0x91, 0xaa, 0x5d, - 0x9d, 0x5e, 0x23, 0x46, 0x32, 0x13, 0x37, 0x92, 0x24, 0x2b, 0xfe, 0x25, 0x58, 0xa3, 0xf1, 0xbc, - 0xde, 0x92, 0xf9, 0x35, 0xee, 0xab, 0x1f, 0x3c, 0x44, 0xe9, 0x7f, 0x4f, 0x80, 0x17, 0x6a, 0x76, - 0xd7, 0x21, 0x05, 0xf8, 0x57, 0xc9, 0x43, 0x34, 0xe8, 0x9c, 0xc2, 0xd2, 0xd0, 0x75, 0x65, 0x62, - 0x35, 0x91, 0x0b, 0xcb, 0xdc, 0x5d, 0x08, 0x07, 0xd3, 0x72, 0x51, 0x8d, 0xee, 0x26, 0x8e, 0xf5, - 0x26, 0x44, 0x61, 0xac, 0x2b, 0x63, 0x4c, 0x2d, 0x46, 0xe0, 0xa4, 0xd3, 0x12, 0xff, 0x41, 0x80, - 0x75, 0x12, 0xd4, 0x63, 0x37, 0x0d, 0xae, 0x4c, 0xdc, 0xe1, 0x3b, 0x10, 0x33, 0x97, 0xba, 0x03, - 0x91, 0xf4, 0x0a, 0xff, 0x4d, 0x80, 0x17, 0xe9, 0x14, 0x6e, 0xf0, 0x06, 0xc0, 0x95, 0x49, 0x95, - 0x7c, 0x47, 0x61, 0xe6, 0x27, 0x72, 0x47, 0x21, 0x61, 0x7c, 0x73, 0xe7, 0x5f, 0xaf, 0x43, 0x81, - 0x77, 0xee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fb, 0x75, 0x71, 0xfb, 0xfc, 0xec, 0x6b, 0x01, 0xe5, 0x98, 0x04, 0x7f, - 0x2e, 0xd0, 0x69, 0x57, 0xfc, 0x6f, 0xbc, 0x6e, 0xa7, 0xbb, 0x69, 0x42, 0xef, 0x3e, 0x19, 0xf7, - 0xfb, 0x94, 0xfb, 0x1d, 0x71, 0xeb, 0x42, 0x36, 0x13, 0xa3, 0x4b, 0x78, 0xff, 0x1b, 0x81, 0xdf, - 0xc8, 0x19, 0x6c, 0x62, 0xc7, 0xdd, 0x97, 0x49, 0xee, 0xd4, 0xaf, 0x38, 0x5e, 0xf2, 0xc8, 0x32, - 0x40, 0xfb, 0xbe, 0xb0, 0xb1, 0xf5, 0x17, 0x02, 0x5c, 0xd3, 0xec, 0xee, 0x48, 0xea, 0x5b, 0xcb, - 0xb5, 0xe0, 0x0f, 0xb4, 0xe8, 0xe5, 0xe3, 0x16, 0x29, 0xfa, 0x5a, 0xc2, 0xd3, 0x2a, 0x47, 0xe8, - 0xd8, 0xa6, 0x6a, 0x75, 0x2a, 0xb6, 0xdb, 0xd9, 0xec, 0x60, 0x8b, 0x96, 0x84, 0x9b, 0x6c, 0x49, - 0x75, 0x0c, 0x6f, 0xf8, 0x1f, 0x1e, 0x3c, 0x08, 0x21, 0x7f, 0x38, 0x75, 0x7d, 0x87, 0x9d, 0x51, - 0x33, 0xed, 0x9e, 0x5e, 0xa9, 0x85, 0xa4, 0x1f, 0xdf, 0xde, 0x22, 0x5b, 0xff, 0x36, 0xd8, 0xf0, - 0x09, 0xdd, 0xf0, 0x49, 0xb8, 0xe1, 0x93, 0xc7, 0xec, 0xac, 0xa3, 0x0c, 0xa5, 0x77, 0xf7, 0x7f, - 0x03, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x57, 0xdd, 0xd1, 0x5f, 0x41, 0x00, 0x00, + proto.RegisterFile("google/container/v1beta1/cluster_service.proto", fileDescriptor_cluster_service_4b3d530a1685571f) +} + +var fileDescriptor_cluster_service_4b3d530a1685571f = []byte{ + // 7032 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5d, 0x6b, 0x6c, 0x23, 0xd7, + 0x75, 0xf6, 0x50, 0x94, 0x44, 0x1d, 0x49, 0x14, 0x75, 0xa5, 0xd5, 0x72, 0xb9, 0x0f, 0xef, 0x8e, + 0x5f, 0xeb, 0xb5, 0x2d, 0x79, 0xd7, 0x8e, 0xed, 0xf8, 0x11, 0x87, 0xa2, 0xc6, 0x5a, 0x61, 0x25, + 0x92, 0x1e, 0x52, 0xbb, 0xb6, 0x62, 0x64, 0x3a, 0x22, 0xef, 0x52, 0xe3, 0x25, 0x67, 0xc6, 0x33, + 0xc3, 0x7d, 0x19, 0x1b, 0xd4, 0x79, 0xb4, 0xe9, 0x23, 0x49, 0xf3, 0xea, 0x23, 0x4d, 0xd3, 0x34, + 0x88, 0x93, 0x34, 0x29, 0x1a, 0x04, 0x45, 0x90, 0x36, 0x6d, 0xd3, 0xfe, 0x69, 0x81, 0xa6, 0x40, + 0x0b, 0xb4, 0x3f, 0xfa, 0xa3, 0x0d, 0xda, 0x1f, 0x29, 0x8a, 0xb6, 0x68, 0x81, 0xf6, 0x4f, 0x7f, + 0xb5, 0x28, 0xee, 0x6b, 0x1e, 0xe4, 0xf0, 0x21, 0x6a, 0xad, 0xf8, 0xd7, 0x6a, 0xce, 0xbd, 0xe7, + 0x3e, 0xce, 0x3d, 0xf7, 0xdc, 0xef, 0x9c, 0x7b, 0x2e, 0x17, 0x96, 0x1b, 0x96, 0xd5, 0x68, 0xe2, + 0x95, 0x9a, 0x65, 0x7a, 0xba, 0x61, 0x62, 0x67, 0xe5, 0xfa, 0xf9, 0x5d, 0xec, 0xe9, 0xe7, 0x57, + 0x6a, 0xcd, 0xb6, 0xeb, 0x61, 0x47, 0x73, 0xb1, 0x73, 0xdd, 0xa8, 0xe1, 0x65, 0xdb, 0xb1, 0x3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0x72, 0xf4, 0xdc, 0x18, 0x1f, 0xd4, 0x4c, 0x60, 0x47, 0x55, 0x68, 0x05, 0x1e, 0xc4, 0x43, + 0xc4, 0x79, 0x6e, 0x34, 0x0c, 0xb3, 0x21, 0xe2, 0x27, 0x6c, 0x5b, 0xa8, 0x69, 0x4e, 0xae, 0x30, + 0x2a, 0x41, 0xe3, 0x2d, 0xcb, 0x34, 0x3c, 0xcb, 0x09, 0xd7, 0x65, 0xdb, 0x60, 0x3e, 0x28, 0x11, + 0xd5, 0xb3, 0x30, 0x29, 0xec, 0x02, 0x53, 0x74, 0xf1, 0x89, 0xce, 0xc5, 0xed, 0x72, 0xa6, 0xcf, + 0x5d, 0x3b, 0xfc, 0x12, 0xcc, 0xea, 0x14, 0x5e, 0x0b, 0x69, 0x01, 0x9d, 0xe6, 0x83, 0x7d, 0xbc, + 0xef, 0x10, 0x1a, 0x57, 0x67, 0xf4, 0x30, 0x36, 0x3f, 0x05, 0x10, 0xb2, 0x56, 0x4c, 0xb1, 0x43, + 0x14, 0x94, 0x07, 0x2a, 0x5f, 0xcd, 0xb6, 0xac, 0xa6, 0x9b, 0x9d, 0xa1, 0x07, 0x93, 0xdc, 0x7f, + 0x5d, 0xca, 0x96, 0xd5, 0x54, 0xa7, 0x4c, 0xfe, 0x97, 0x8b, 0x4e, 0xc0, 0x94, 0xb0, 0xa7, 0x6e, + 0x76, 0x96, 0xc6, 0x19, 0x02, 0x42, 0x08, 0xd0, 0x84, 0x40, 0xb5, 0xde, 0xb4, 0xf7, 0x74, 0xea, + 0xb1, 0xfb, 0x80, 0x26, 0x80, 0x69, 0x79, 0x52, 0x88, 0x3e, 0x08, 0x73, 0x0e, 0x76, 0xad, 0xb6, + 0x53, 0xc3, 0x1a, 0x8f, 0x99, 0x30, 0x3f, 0xfc, 0x3d, 0xfd, 0x50, 0x27, 0x95, 0xe4, 0xb2, 0xca, + 0x19, 0xc3, 0x81, 0x93, 0xb4, 0x13, 0x21, 0x12, 0x6b, 0x4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xaa, 0xd6, 0x34, 0xcc, 0x6b, 0x3c, 0x46, 0x96, 0x22, 0x84, 0x4d, + 0xc3, 0xbc, 0x86, 0x96, 0x20, 0x79, 0xdb, 0x32, 0x79, 0x24, 0x8c, 0xae, 0x3b, 0xfd, 0x26, 0x2e, + 0x9b, 0xef, 0x90, 0xb2, 0xf0, 0x97, 0xff, 0x4d, 0x8e, 0x1e, 0x01, 0x51, 0x84, 0x88, 0xae, 0x63, + 0xc7, 0x25, 0xfb, 0xbb, 0xc1, 0x10, 0x1e, 0x2f, 0xe6, 0x73, 0xbe, 0xcc, 0x0a, 0x69, 0xe4, 0xae, + 0xed, 0x38, 0xd8, 0x24, 0xca, 0x13, 0x61, 0xdb, 0xe3, 0x08, 0x94, 0x95, 0x32, 0xbb, 0x16, 0x70, + 0x09, 0x3a, 0x03, 0x44, 0x82, 0xc7, 0xf0, 0x47, 0x8c, 0x78, 0x39, 0x39, 0x44, 0x05, 0xd7, 0xbd, + 0x30, 0xcd, 0x9d, 0x0a, 0xcf, 0x68, 0xe1, 0xec, 0xeb, 0xec, 0x80, 0x66, 0xa4, 0xaa, 0xd1, 0xc2, + 0xe8, 0xfd, 0x30, 0xe1, 0x7a, 0xba, 0xd7, 0x76, 0xb3, 0xd7, 0xa8, 0x2b, 0x75, 0x76, 0xf0, 0xf1, + 0x57, 0xa1, 0xf5, 0x55, 0xce, 0x87, 0x1e, 0x80, 0x34, 0xfb, 0x4b, 0x6b, 0x61, 0x97, 0xe8, 0x51, + 0xb6, 0x49, 0x7b, 0x99, 0x65, 0xd4, 0x2d, 0x46, 0x24, 0x38, 0xb5, 0x03, 0x41, 0xbb, 0xc6, 0x6d, + 0x9c, 0x6d, 0x31, 0x44, 0x17, 0x06, 0xd0, 0x15, 0xe3, 0x36, 0x26, 0xf8, 0x2f, 0xc6, 0xbb, 0x30, + 0xd9, 0x01, 0xda, 0xe5, 0x59, 0x5c, 0x80, 0x05, 0xc3, 0x74, 0x3d, 0x6a, 0xc0, 0x1b, 0x8e, 0xd5, + 0xb6, 0xb5, 0xb6, 0xd3, 0x74, 0xb3, 0x16, 0x41, 0x0b, 0x54, 0x36, 0xf3, 0xa2, 0x78, 0x9d, 0x94, + 0x6e, 0x3b, 0x4d, 0x97, 0xf8, 0x2f, 0x11, 0x81, 0x32, 0x84, 0x69, 0x93, 0xf1, 0x30, 0xff, 0x25, + 0x24, 0x4e, 0x86, 0x32, 0xef, 0x85, 0x69, 0x7c, 0xd3, 0x36, 0x1c, 0x2e, 0xcc, 0x37, 0x98, 0x30, + 0x19, 0x89, 0x0a, 0x33, 0x07, 0x29, 0x71, 0xc4, 0x65, 0x1d, 0xa6, 0x2d, 0xe2, 0x9b, 0xb8, 0xc3, + 0x1c, 0xa8, 0x78, 0x76, 0x3b, 0xeb, 0x52, 0x6c, 0x32, 0xc5, 0x28, 0x55, 0xbb, 0xdd, 0x0b, 0xc6, + 0x7b, 0xf1, 0x30, 0x1e, 0x6d, 0x00, 0x10, 0xd7, 0xc6, 0x60, 0xa8, 0xe8, 0x3a, 0x45, 0x2e, 0x0f, + 0xf7, 0x5e, 0x3a, 0xb6, 0x64, 0x05, 0xc1, 0xa1, 0x86, 0x98, 0x73, 0x79, 0x58, 0x88, 0x01, 0x34, + 0xfb, 0xba, 0x16, 0xb8, 0x01, 0x13, 0xac, 0x07, 0xb4, 0x04, 0xa8, 0x52, 0xcd, 0x57, 0xb7, 0x2b, + 0x1d, 0x5e, 0x72, 0x06, 0x66, 0xa8, 0xff, 0x5c, 0xd9, 0x28, 0x15, 0x37, 0x8a, 0xeb, 0x19, 0x09, + 0x4d, 0xc3, 0xa4, 0xba, 0x5d, 0xa4, 0x1f, 0x09, 0x34, 0x07, 0xd3, 0xaa, 0x52, 0x28, 0x15, 0x0b, + 0x1b, 0x9b, 0x84, 0x30, 0x86, 0x66, 0x20, 0x55, 0xa9, 0x96, 0xca, 0x65, 0xf2, 0x95, 0x44, 0x53, + 0x30, 0xae, 0xa8, 0x6a, 0x49, 0xcd, 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0x42, 0xf8, 0xe8, 0x9f, 0xea, 0x3e, 0xfa, 0x5d, 0x4f, 0x77, 0x3c, 0x06, + 0x1b, 0x58, 0xc8, 0x70, 0x8a, 0x52, 0x28, 0x6a, 0x38, 0x46, 0x31, 0x26, 0x2b, 0x64, 0x11, 0x94, + 0x49, 0x6c, 0xd6, 0x69, 0xd1, 0x3a, 0x0d, 0x75, 0x37, 0x1c, 0xec, 0xba, 0xdc, 0xc2, 0x3d, 0x32, + 0x84, 0x60, 0xca, 0x9c, 0x45, 0xf5, 0x99, 0xd1, 0x2b, 0x80, 0x42, 0x30, 0x5e, 0xe0, 0x86, 0xd9, + 0xfd, 0xe2, 0x06, 0x11, 0x65, 0xf2, 0x29, 0x2e, 0xda, 0x61, 0xb8, 0x8e, 0x1e, 0x1e, 0xa1, 0xa6, + 0xd3, 0xfb, 0x6d, 0x1a, 0x89, 0x56, 0x82, 0xb6, 0x65, 0x75, 0x20, 0xae, 0x98, 0x86, 0xc9, 0xb2, + 0x52, 0x5c, 0x8b, 0x81, 0x14, 0x29, 0x48, 0xae, 0x95, 0x8a, 0x0a, 0xc3, 0x12, 0xf9, 0xd5, 0x92, + 0x5a, 0xa5, 0x58, 0x42, 0xfe, 0xdf, 0x04, 0x24, 0xa9, 0xca, 0x2d, 0x42, 0xa6, 0xfa, 0x6a, 0x59, + 0xe9, 0x68, 0x10, 0x41, 0xba, 0xa0, 0x2a, 0xf9, 0xaa, 0xa2, 0x15, 0x36, 0xb7, 0x2b, 0x55, 0x45, + 0xcd, 0x48, 0x84, 0xb6, 0xa6, 0x6c, 0x2a, 0x21, 0x5a, 0x82, 0xd0, 0xb6, 0xcb, 0x14, 0x87, 0x68, + 0x5b, 0x79, 0x4a, 0x1b, 0x43, 0xf3, 0x30, 0x2b, 0x68, 0xc5, 0xd2, 0x9a, 0x52, 0xc9, 0x24, 0x49, + 0x35, 0x55, 0x29, 0xe7, 0x37, 0x54, 0x9f, 0x75, 0x9c, 0xb1, 0xae, 0x85, 0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e8, 0x17, 0x97, 0xed, + 0xd3, 0xfb, 0xbd, 0xda, 0xfd, 0x90, 0x6e, 0x19, 0x66, 0x18, 0x4e, 0xb1, 0x9f, 0x61, 0x98, 0x69, + 0x19, 0x66, 0x00, 0xa5, 0x48, 0x2d, 0xfd, 0x66, 0x37, 0xe8, 0x9a, 0x69, 0xe9, 0x37, 0x83, 0x5a, + 0x67, 0x61, 0x2e, 0x22, 0x6f, 0xcc, 0x74, 0x25, 0xa5, 0x76, 0x92, 0xe5, 0x1f, 0x25, 0x20, 0x53, + 0xc1, 0x1e, 0x4b, 0x72, 0x3b, 0x1c, 0x2d, 0x6e, 0x74, 0xbf, 0x32, 0x60, 0x37, 0x87, 0xef, 0xeb, + 0x1b, 0x48, 0x8b, 0x0c, 0x71, 0xf4, 0xe7, 0x06, 0xe3, 0x3d, 0x9e, 0x1b, 0xc4, 0x6c, 0xf8, 0xbb, + 0x91, 0x05, 0xf8, 0x15, 0x89, 0xc6, 0x28, 0x43, 0x8f, 0x13, 0x0e, 0x45, 0xc6, 0x21, 0x35, 0x4b, + 0x46, 0xd5, 0x2c, 0xce, 0x3a, 0xfc, 0x01, 0x31, 0xd5, 0xe4, 0x5c, 0xdb, 0x28, 0xab, 0xfc, 0x57, + 0x4a, 0x0e, 0x37, 0xc0, 0x17, 0x1a, 0x0c, 0x7a, 0x0c, 0x90, 0x43, 0x06, 0x81, 0xb5, 0x9a, 0x83, + 0xeb, 0xd8, 0x24, 0xae, 0x84, 0x4b, 0x97, 0x25, 0xa5, 0xce, 0xb3, 0x92, 0x42, 0x50, 0x20, 0x7f, + 0x42, 0x82, 0x63, 0x05, 0xab, 0x65, 0x13, 0xd7, 0xf6, 0x27, 0x35, 0xfc, 0xf0, 0x21, 0x71, 0x0d, + 0xe6, 0xbb, 0x7e, 0x98, 0x83, 0x68, 0x62, 0xe8, 0xa7, 0x39, 0xf8, 0xc6, 0x95, 0xa8, 0xc5, 0xc8, + 0xe8, 0xe1, 0xda, 0x64, 0xf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 0x51, 0xd0, 0x2e, 0xe6, 0x55, 0x25, 0xbf, + 0xba, 0xa9, 0x68, 0xe5, 0x12, 0x51, 0xca, 0x25, 0x40, 0xbc, 0x84, 0xa5, 0x13, 0xae, 0x51, 0x7a, + 0x52, 0x7e, 0x2b, 0x01, 0x99, 0xce, 0xa1, 0x75, 0x68, 0xa0, 0xd4, 0xf5, 0xec, 0x37, 0xa4, 0xbb, + 0x89, 0xa8, 0xee, 0x76, 0x09, 0x6d, 0xac, 0x5b, 0x68, 0x7b, 0xb0, 0x10, 0xbc, 0xee, 0x37, 0x6c, + 0x56, 0x51, 0x20, 0xe7, 0x67, 0x46, 0x95, 0xa0, 0x3a, 0xef, 0x37, 0xba, 0x61, 0x53, 0x8a, 0x3b, + 0x64, 0x6a, 0xb0, 0x7c, 0x01, 0x96, 0x7a, 0x24, 0x5e, 0xf7, 0x7e, 0x02, 0xff, 0x3e, 0x98, 0xef, + 0x7e, 0xcb, 0xf7, 0x30, 0xcc, 0xfb, 0x11, 0x4b, 0x1b, 0x3b, 0xd4, 0xb7, 0xe1, 0xe0, 0x28, 0xcd, + 0x43, 0x90, 0x65, 0xec, 0x10, 0xa0, 0x21, 0x7f, 0x26, 0x01, 0xc7, 0x7a, 0xe7, 0x9a, 0xdf, 0x86, + 0xc5, 0x5d, 0xa3, 0xf1, 0x46, 0x1b, 0x3b, 0xb7, 0xb4, 0x3a, 0x76, 0x3d, 0xc3, 0x64, 0xc1, 0x19, + 0x16, 0xaa, 0x5a, 0x1f, 0x21, 0xc1, 0x7d, 0x79, 0xd5, 0x68, 0xbc, 0x4c, 0xda, 0x5b, 0x0b, 0x9a, + 0x53, 0x17, 0x44, 0x27, 0x21, 0x22, 0x2a, 0xc0, 0x29, 0xe1, 0xed, 0x72, 0x78, 0x81, 0x69, 0x86, + 0x23, 0xc1, 0x5f, 0xd8, 0x11, 0x3f, 0x9b, 0x94, 0x52, 0x8f, 0x73, 0x7f, 0x97, 0x55, 0x52, 0x68, + 0x9d, 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, 0x67, 0xd1, 0x83, 0x7d, 0x47, 0xed, 0xaf, 0xf9, 0xea, + 0xf7, 0x25, 0x38, 0x51, 0xb3, 0x5a, 0x3d, 0xbb, 0x59, 0x5d, 0x28, 0x88, 0xff, 0xd0, 0x82, 0x5e, + 0xb8, 0x94, 0x1d, 0xcb, 0xb3, 0xca, 0xd2, 0x4e, 0x9e, 0x33, 0x34, 0xac, 0xa6, 0x6e, 0x36, 0x96, + 0x2d, 0xa7, 0xb1, 0xd2, 0xc0, 0x26, 0x8d, 0xce, 0xac, 0xb0, 0x22, 0xdd, 0x36, 0xdc, 0xee, 0xff, + 0x9b, 0xf1, 0x39, 0x9f, 0xf2, 0xcd, 0xc4, 0xa9, 0x75, 0xd6, 0x06, 0xfd, 0x8f, 0x66, 0x96, 0x0b, + 0x7e, 0xd7, 0x97, 0xcf, 0xaf, 0x92, 0xaa, 0x3f, 0x14, 0x15, 0x5e, 0xa3, 0x15, 0x5e, 0xf3, 0x2b, + 0xbc, 0x76, 0x99, 0xb5, 0xb5, 0x3b, 0x41, 0xfb, 0x7b, 0xe2, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, + 0x29, 0xa8, 0xb0, 0xd5, 0x0a, 0x72, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/datastore_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/datastore_admin.pb.go index 1c495d01e..47136128b 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/datastore_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/datastore_admin.pb.go @@ -36,24 +36,32 @@ const ( OperationType_EXPORT_ENTITIES OperationType = 1 // ImportEntities. OperationType_IMPORT_ENTITIES OperationType = 2 + // CreateIndex. + OperationType_CREATE_INDEX OperationType = 3 + // DeleteIndex. + OperationType_DELETE_INDEX OperationType = 4 ) var OperationType_name = map[int32]string{ 0: "OPERATION_TYPE_UNSPECIFIED", 1: "EXPORT_ENTITIES", 2: "IMPORT_ENTITIES", + 3: "CREATE_INDEX", + 4: "DELETE_INDEX", } var OperationType_value = map[string]int32{ "OPERATION_TYPE_UNSPECIFIED": 0, "EXPORT_ENTITIES": 1, "IMPORT_ENTITIES": 2, + "CREATE_INDEX": 3, + "DELETE_INDEX": 4, } func (x OperationType) String() string { return proto.EnumName(OperationType_name, int32(x)) } func (OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{0} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{0} } // The various possible states for an ongoing Operation. @@ -105,7 +113,7 @@ func (x CommonMetadata_State) String() string { return proto.EnumName(CommonMetadata_State_name, int32(x)) } func (CommonMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{0, 0} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{0, 0} } // Metadata common to all Datastore Admin operations. @@ -131,7 +139,7 @@ func (m *CommonMetadata) Reset() { *m = CommonMetadata{} } func (m *CommonMetadata) String() string { return proto.CompactTextString(m) } func (*CommonMetadata) ProtoMessage() {} func (*CommonMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{0} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{0} } func (m *CommonMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommonMetadata.Unmarshal(m, b) @@ -203,7 +211,7 @@ func (m *Progress) Reset() { *m = Progress{} } func (m *Progress) String() string { return proto.CompactTextString(m) } func (*Progress) ProtoMessage() {} func (*Progress) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{1} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{1} } func (m *Progress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Progress.Unmarshal(m, b) @@ -274,7 +282,7 @@ func (m *ExportEntitiesRequest) Reset() { *m = ExportEntitiesRequest{} } func (m *ExportEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*ExportEntitiesRequest) ProtoMessage() {} func (*ExportEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{2} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{2} } func (m *ExportEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportEntitiesRequest.Unmarshal(m, b) @@ -357,7 +365,7 @@ func (m *ImportEntitiesRequest) Reset() { *m = ImportEntitiesRequest{} } func (m *ImportEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*ImportEntitiesRequest) ProtoMessage() {} func (*ImportEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{3} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{3} } func (m *ImportEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportEntitiesRequest.Unmarshal(m, b) @@ -422,7 +430,7 @@ func (m *ExportEntitiesResponse) Reset() { *m = ExportEntitiesResponse{} func (m *ExportEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*ExportEntitiesResponse) ProtoMessage() {} func (*ExportEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{4} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{4} } func (m *ExportEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportEntitiesResponse.Unmarshal(m, b) @@ -474,7 +482,7 @@ func (m *ExportEntitiesMetadata) Reset() { *m = ExportEntitiesMetadata{} func (m *ExportEntitiesMetadata) String() string { return proto.CompactTextString(m) } func (*ExportEntitiesMetadata) ProtoMessage() {} func (*ExportEntitiesMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{5} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{5} } func (m *ExportEntitiesMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportEntitiesMetadata.Unmarshal(m, b) @@ -551,7 +559,7 @@ func (m *ImportEntitiesMetadata) Reset() { *m = ImportEntitiesMetadata{} func (m *ImportEntitiesMetadata) String() string { return proto.CompactTextString(m) } func (*ImportEntitiesMetadata) ProtoMessage() {} func (*ImportEntitiesMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{6} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{6} } func (m *ImportEntitiesMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportEntitiesMetadata.Unmarshal(m, b) @@ -645,7 +653,7 @@ func (m *EntityFilter) Reset() { *m = EntityFilter{} } func (m *EntityFilter) String() string { return proto.CompactTextString(m) } func (*EntityFilter) ProtoMessage() {} func (*EntityFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_48186f2668dbd386, []int{7} + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{7} } func (m *EntityFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityFilter.Unmarshal(m, b) @@ -679,6 +687,232 @@ func (m *EntityFilter) GetNamespaceIds() []string { return nil } +// The request for +// [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex]. +type GetIndexRequest struct { + // Project ID against which to make the request. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The resource ID of the index to get. + IndexId string `protobuf:"bytes,3,opt,name=index_id,json=indexId,proto3" json:"index_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetIndexRequest) Reset() { *m = GetIndexRequest{} } +func (m *GetIndexRequest) String() string { return proto.CompactTextString(m) } +func (*GetIndexRequest) ProtoMessage() {} +func (*GetIndexRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{8} +} +func (m *GetIndexRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetIndexRequest.Unmarshal(m, b) +} +func (m *GetIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetIndexRequest.Marshal(b, m, deterministic) +} +func (dst *GetIndexRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIndexRequest.Merge(dst, src) +} +func (m *GetIndexRequest) XXX_Size() int { + return xxx_messageInfo_GetIndexRequest.Size(m) +} +func (m *GetIndexRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetIndexRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetIndexRequest proto.InternalMessageInfo + +func (m *GetIndexRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *GetIndexRequest) GetIndexId() string { + if m != nil { + return m.IndexId + } + return "" +} + +// The request for +// [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes]. +type ListIndexesRequest struct { + // Project ID against which to make the request. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` + // The maximum number of items to return. If zero, then all results will be + // returned. + PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The next_page_token value returned from a previous List request, if any. + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} } +func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) } +func (*ListIndexesRequest) ProtoMessage() {} +func (*ListIndexesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{9} +} +func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListIndexesRequest.Unmarshal(m, b) +} +func (m *ListIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListIndexesRequest.Marshal(b, m, deterministic) +} +func (dst *ListIndexesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListIndexesRequest.Merge(dst, src) +} +func (m *ListIndexesRequest) XXX_Size() int { + return xxx_messageInfo_ListIndexesRequest.Size(m) +} +func (m *ListIndexesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListIndexesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListIndexesRequest proto.InternalMessageInfo + +func (m *ListIndexesRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *ListIndexesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListIndexesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListIndexesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// The response for +// [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes]. +type ListIndexesResponse struct { + // The indexes. + Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` + // The standard List next-page token. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListIndexesResponse) Reset() { *m = ListIndexesResponse{} } +func (m *ListIndexesResponse) String() string { return proto.CompactTextString(m) } +func (*ListIndexesResponse) ProtoMessage() {} +func (*ListIndexesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{10} +} +func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListIndexesResponse.Unmarshal(m, b) +} +func (m *ListIndexesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListIndexesResponse.Marshal(b, m, deterministic) +} +func (dst *ListIndexesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListIndexesResponse.Merge(dst, src) +} +func (m *ListIndexesResponse) XXX_Size() int { + return xxx_messageInfo_ListIndexesResponse.Size(m) +} +func (m *ListIndexesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListIndexesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListIndexesResponse proto.InternalMessageInfo + +func (m *ListIndexesResponse) GetIndexes() []*Index { + if m != nil { + return m.Indexes + } + return nil +} + +func (m *ListIndexesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Metadata for Index operations. +type IndexOperationMetadata struct { + // Metadata common to all Datastore Admin operations. + Common *CommonMetadata `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` + // An estimate of the number of entities processed. + ProgressEntities *Progress `protobuf:"bytes,2,opt,name=progress_entities,json=progressEntities,proto3" json:"progress_entities,omitempty"` + // The index resource ID that this operation is acting on. + IndexId string `protobuf:"bytes,3,opt,name=index_id,json=indexId,proto3" json:"index_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IndexOperationMetadata) Reset() { *m = IndexOperationMetadata{} } +func (m *IndexOperationMetadata) String() string { return proto.CompactTextString(m) } +func (*IndexOperationMetadata) ProtoMessage() {} +func (*IndexOperationMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_datastore_admin_92cd4010da186f33, []int{11} +} +func (m *IndexOperationMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IndexOperationMetadata.Unmarshal(m, b) +} +func (m *IndexOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IndexOperationMetadata.Marshal(b, m, deterministic) +} +func (dst *IndexOperationMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_IndexOperationMetadata.Merge(dst, src) +} +func (m *IndexOperationMetadata) XXX_Size() int { + return xxx_messageInfo_IndexOperationMetadata.Size(m) +} +func (m *IndexOperationMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_IndexOperationMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_IndexOperationMetadata proto.InternalMessageInfo + +func (m *IndexOperationMetadata) GetCommon() *CommonMetadata { + if m != nil { + return m.Common + } + return nil +} + +func (m *IndexOperationMetadata) GetProgressEntities() *Progress { + if m != nil { + return m.ProgressEntities + } + return nil +} + +func (m *IndexOperationMetadata) GetIndexId() string { + if m != nil { + return m.IndexId + } + return "" +} + func init() { proto.RegisterType((*CommonMetadata)(nil), "google.datastore.admin.v1.CommonMetadata") proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1.CommonMetadata.LabelsEntry") @@ -691,6 +925,10 @@ func init() { proto.RegisterType((*ExportEntitiesMetadata)(nil), "google.datastore.admin.v1.ExportEntitiesMetadata") proto.RegisterType((*ImportEntitiesMetadata)(nil), "google.datastore.admin.v1.ImportEntitiesMetadata") proto.RegisterType((*EntityFilter)(nil), "google.datastore.admin.v1.EntityFilter") + proto.RegisterType((*GetIndexRequest)(nil), "google.datastore.admin.v1.GetIndexRequest") + proto.RegisterType((*ListIndexesRequest)(nil), "google.datastore.admin.v1.ListIndexesRequest") + proto.RegisterType((*ListIndexesResponse)(nil), "google.datastore.admin.v1.ListIndexesResponse") + proto.RegisterType((*IndexOperationMetadata)(nil), "google.datastore.admin.v1.IndexOperationMetadata") proto.RegisterEnum("google.datastore.admin.v1.OperationType", OperationType_name, OperationType_value) proto.RegisterEnum("google.datastore.admin.v1.CommonMetadata_State", CommonMetadata_State_name, CommonMetadata_State_value) } @@ -722,6 +960,12 @@ type DatastoreAdminClient interface { // created. If an ImportEntities operation is cancelled, it is possible // that a subset of the data has already been imported to Cloud Datastore. ImportEntities(ctx context.Context, in *ImportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Gets an index. + GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) + // Lists the indexes that match the specified filters. Datastore uses an + // eventually consistent query to fetch the list of indexes and may + // occasionally return stale results. + ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) } type datastoreAdminClient struct { @@ -750,6 +994,24 @@ func (c *datastoreAdminClient) ImportEntities(ctx context.Context, in *ImportEnt return out, nil } +func (c *datastoreAdminClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) { + out := new(Index) + err := c.cc.Invoke(ctx, "/google.datastore.admin.v1.DatastoreAdmin/GetIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *datastoreAdminClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) { + out := new(ListIndexesResponse) + err := c.cc.Invoke(ctx, "/google.datastore.admin.v1.DatastoreAdmin/ListIndexes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DatastoreAdminServer is the server API for DatastoreAdmin service. type DatastoreAdminServer interface { // Exports a copy of all or a subset of entities from Google Cloud Datastore @@ -767,6 +1029,12 @@ type DatastoreAdminServer interface { // created. If an ImportEntities operation is cancelled, it is possible // that a subset of the data has already been imported to Cloud Datastore. ImportEntities(context.Context, *ImportEntitiesRequest) (*longrunning.Operation, error) + // Gets an index. + GetIndex(context.Context, *GetIndexRequest) (*Index, error) + // Lists the indexes that match the specified filters. Datastore uses an + // eventually consistent query to fetch the list of indexes and may + // occasionally return stale results. + ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) } func RegisterDatastoreAdminServer(s *grpc.Server, srv DatastoreAdminServer) { @@ -809,6 +1077,42 @@ func _DatastoreAdmin_ImportEntities_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } +func _DatastoreAdmin_GetIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetIndexRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatastoreAdminServer).GetIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.datastore.admin.v1.DatastoreAdmin/GetIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatastoreAdminServer).GetIndex(ctx, req.(*GetIndexRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DatastoreAdmin_ListIndexes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListIndexesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatastoreAdminServer).ListIndexes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.datastore.admin.v1.DatastoreAdmin/ListIndexes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatastoreAdminServer).ListIndexes(ctx, req.(*ListIndexesRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _DatastoreAdmin_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.datastore.admin.v1.DatastoreAdmin", HandlerType: (*DatastoreAdminServer)(nil), @@ -821,77 +1125,99 @@ var _DatastoreAdmin_serviceDesc = grpc.ServiceDesc{ MethodName: "ImportEntities", Handler: _DatastoreAdmin_ImportEntities_Handler, }, + { + MethodName: "GetIndex", + Handler: _DatastoreAdmin_GetIndex_Handler, + }, + { + MethodName: "ListIndexes", + Handler: _DatastoreAdmin_ListIndexes_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/datastore/admin/v1/datastore_admin.proto", } func init() { - proto.RegisterFile("google/datastore/admin/v1/datastore_admin.proto", fileDescriptor_datastore_admin_48186f2668dbd386) -} - -var fileDescriptor_datastore_admin_48186f2668dbd386 = []byte{ - // 987 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xc6, 0xce, 0xcf, 0x36, 0xa7, 0x4d, 0x36, 0x9d, 0xa5, 0xab, 0x10, 0x28, 0x1b, 0xa5, 0x5a, - 0x51, 0x8a, 0x64, 0xd3, 0xa0, 0x15, 0x6c, 0x41, 0x48, 0x69, 0xea, 0xac, 0x8c, 0xd2, 0xc4, 0x72, - 0x1c, 0xb4, 0xbb, 0x37, 0x96, 0x1b, 0x4f, 0x23, 0x53, 0xdb, 0x63, 0xec, 0x49, 0xd9, 0x08, 0x71, - 0xc3, 0x2d, 0x12, 0x37, 0xdc, 0xf0, 0x0c, 0x5c, 0xf6, 0x0d, 0x78, 0x06, 0x5e, 0x61, 0xdf, 0x80, - 0x17, 0x40, 0x33, 0xb6, 0x93, 0xb8, 0x64, 0x43, 0xa1, 0xcb, 0xdd, 0xde, 0xf9, 0x9c, 0x39, 0xdf, - 0x37, 0x67, 0xbe, 0x99, 0x73, 0x7c, 0x40, 0x9e, 0x10, 0x32, 0x71, 0xb1, 0x6c, 0x5b, 0xd4, 0x8a, - 0x28, 0x09, 0xb1, 0x6c, 0xd9, 0x9e, 0xe3, 0xcb, 0x97, 0x87, 0x0b, 0x97, 0xc9, 0x5d, 0x52, 0x10, - 0x12, 0x4a, 0xd0, 0x3b, 0x31, 0x40, 0x9a, 0xaf, 0x4a, 0xf1, 0xea, 0xe5, 0x61, 0xfd, 0xbd, 0x84, - 0xcb, 0x0a, 0x1c, 0xd9, 0xf2, 0x7d, 0x42, 0x2d, 0xea, 0x10, 0x3f, 0x8a, 0x81, 0xf5, 0xbd, 0x64, - 0xd5, 0x25, 0xfe, 0x24, 0x9c, 0xfa, 0xbe, 0xe3, 0x4f, 0x64, 0x12,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0xc6, 0xbf, 0x58, 0x73, 0x47, 0x2b, 0x37, 0x58, 0x79, 0xf1, - 0x3d, 0x28, 0x63, 0x16, 0x36, 0x33, 0xcf, 0x1d, 0x97, 0xe2, 0x90, 0xbf, 0xcb, 0xcd, 0xd6, 0x07, - 0xeb, 0xc8, 0x79, 0x7c, 0x97, 0x87, 0xeb, 0x5b, 0x78, 0xc9, 0x42, 0x07, 0xb0, 0x4d, 0xa6, 0x34, - 0x98, 0x52, 0x73, 0x1a, 0xba, 0x66, 0x10, 0xe2, 0x73, 0xe7, 0x45, 0x2d, 0xcf, 0x4f, 0x72, 0x37, - 0x5e, 0x18, 0x85, 0xae, 0xc6, 0xdd, 0xb7, 0x79, 0x2b, 0x57, 0x22, 0xec, 0xa8, 0xde, 0xff, 0xac, - 0xe1, 0xca, 0x0d, 0x56, 0x6a, 0xf8, 0x2e, 0x94, 0x1c, 0x3f, 0x39, 0x34, 0xd7, 0xaf, 0xa4, 0x6f, - 0x70, 0xc7, 0x28, 0x74, 0xff, 0x2e, 0x70, 0xfe, 0x16, 0x02, 0xdf, 0x46, 0xb4, 0x4f, 0xe1, 0xfe, - 0xf5, 0x67, 0x11, 0x05, 0xc4, 0x8f, 0x30, 0x13, 0x6d, 0x71, 0x6b, 0xa9, 0x68, 0xf3, 0xeb, 0x6a, - 0xfe, 0x29, 0x5e, 0x47, 0xce, 0x1b, 0x69, 0x1b, 0x8a, 0x63, 0xde, 0x0e, 0x92, 0x26, 0xfa, 0xe1, - 0x8d, 0xfb, 0x86, 0x9e, 0x00, 0x91, 0x06, 0xdb, 0x41, 0x52, 0x69, 0x26, 0x4e, 0xf8, 0x93, 0xce, - 0xba, 0xb7, 0x86, 0x2d, 0xad, 0x4e, 0xbd, 0x9a, 0xa2, 0xd3, 0xe4, 0xd0, 0x57, 0x50, 0x99, 0x33, - 0x9e, 0xcd, 0x28, 0x8e, 0x92, 0x37, 0x7d, 0x23, 0xba, 0x72, 0x0a, 0x3d, 0x66, 0xc8, 0x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af, 0x21, 0x21, 0xc7, 0x4b, 0x12, 0x3a, 0xfe, 0x55, 0x80, 0xdd, 0x31, 0xf1, 0x5e, 0x9d, - 0xc3, 0xf1, 0xbd, 0xac, 0xa6, 0x1a, 0x1b, 0xe0, 0x34, 0xe1, 0xf9, 0x97, 0x09, 0x62, 0x42, 0x5c, - 0xcb, 0x9f, 0x48, 0x24, 0x9c, 0xc8, 0x13, 0xec, 0xf3, 0xf1, 0x2e, 0x19, 0x7e, 0xad, 0xc0, 0x89, - 0x56, 0x0c, 0xc0, 0x9f, 0xf3, 0x8f, 0xdf, 0xc4, 0x07, 0x4f, 0x62, 0x82, 0x8e, 0x4b, 0xa6, 0xb6, - 0x34, 0xdf, 0x44, 0xe2, 0xbb, 0x48, 0x5f, 0x1f, 0x9e, 0x15, 0x39, 0xd9, 0x27, 0x7f, 0x05, 0x00, - 0x00, 0xff, 0xff, 0xb6, 0xdd, 0x44, 0x86, 0x4c, 0x0b, 0x00, 0x00, + proto.RegisterFile("google/datastore/admin/v1/datastore_admin.proto", fileDescriptor_datastore_admin_92cd4010da186f33) +} + +var fileDescriptor_datastore_admin_92cd4010da186f33 = []byte{ + // 1216 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x92, 0xdb, 0xc4, + 0x13, 0xff, 0x4b, 0xfe, 0x88, 0xdd, 0x5e, 0x7b, 0x9d, 0xc9, 0x3f, 0x5b, 0x8e, 0x21, 0xc4, 0x68, + 0x2b, 0xb0, 0x59, 0x40, 0x22, 0x86, 0x14, 0x64, 0xa1, 0xa8, 0x72, 0x6c, 0x6d, 0x4a, 0xe0, 0xd8, + 0x2e, 0x59, 0x4b, 0x85, 0x5c, 0x54, 0xda, 0xd5, 0xc4, 0x25, 0x56, 0xd6, 0x08, 0x69, 0x1c, 0xd6, + 0x49, 0xe5, 0xc2, 0x85, 0x03, 0x55, 0x5c, 0x38, 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, 0xf1, 0x4f, 0xa9, 0xf8, + 0x7b, 0xd4, 0xf2, 0x9d, 0x70, 0xc1, 0x97, 0xe2, 0x47, 0xfc, 0xc7, 0xcf, 0xe2, 0xb5, 0xbb, 0x91, + 0x83, 0xb6, 0x4b, 0x26, 0xb6, 0x9c, 0x06, 0x91, 0x79, 0x14, 0xf9, 0xf3, 0x9b, 0xfb, 0x79, 0xee, + 0xec, 0xbd, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xe0, 0xf0, 0x1a, 0xdf, 0x0e, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/index.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/index.pb.go new file mode 100644 index 000000000..ba8ededf0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/index.pb.go @@ -0,0 +1,324 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/datastore/admin/v1/index.proto + +package admin // import "google.golang.org/genproto/googleapis/datastore/admin/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// For an ordered index, specifies whether each of the entity's ancestors +// will be included. +type Index_AncestorMode int32 + +const ( + // The ancestor mode is unspecified. + Index_ANCESTOR_MODE_UNSPECIFIED Index_AncestorMode = 0 + // Do not include the entity's ancestors in the index. + Index_NONE Index_AncestorMode = 1 + // Include all the entity's ancestors in the index. + Index_ALL_ANCESTORS Index_AncestorMode = 2 +) + +var Index_AncestorMode_name = map[int32]string{ + 0: "ANCESTOR_MODE_UNSPECIFIED", + 1: "NONE", + 2: "ALL_ANCESTORS", +} +var Index_AncestorMode_value = map[string]int32{ + "ANCESTOR_MODE_UNSPECIFIED": 0, + "NONE": 1, + "ALL_ANCESTORS": 2, +} + +func (x Index_AncestorMode) String() string { + return proto.EnumName(Index_AncestorMode_name, int32(x)) +} +func (Index_AncestorMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_f584c9f4d3343f36, []int{0, 0} +} + +// The direction determines how a property is indexed. +type Index_Direction int32 + +const ( + // The direction is unspecified. + Index_DIRECTION_UNSPECIFIED Index_Direction = 0 + // The property's values are indexed so as to support sequencing in + // ascending order and also query by <, >, <=, >=, and =. + Index_ASCENDING Index_Direction = 1 + // The property's values are indexed so as to support sequencing in + // descending order and also query by <, >, <=, >=, and =. + Index_DESCENDING Index_Direction = 2 +) + +var Index_Direction_name = map[int32]string{ + 0: "DIRECTION_UNSPECIFIED", + 1: "ASCENDING", + 2: "DESCENDING", +} +var Index_Direction_value = map[string]int32{ + "DIRECTION_UNSPECIFIED": 0, + "ASCENDING": 1, + "DESCENDING": 2, +} + +func (x Index_Direction) String() string { + return proto.EnumName(Index_Direction_name, int32(x)) +} +func (Index_Direction) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_f584c9f4d3343f36, []int{0, 1} +} + +// The possible set of states of an index. +type Index_State int32 + +const ( + // The state is unspecified. + Index_STATE_UNSPECIFIED Index_State = 0 + // The index is being created, and cannot be used by queries. + // There is an active long-running operation for the index. + // The index is updated when writing an entity. + // Some index data may exist. + Index_CREATING Index_State = 1 + // The index is ready to be used. + // The index is updated when writing an entity. + // The index is fully populated from all stored entities it applies to. + Index_READY Index_State = 2 + // The index is being deleted, and cannot be used by queries. + // There is an active long-running operation for the index. + // The index is not updated when writing an entity. + // Some index data may exist. + Index_DELETING Index_State = 3 + // The index was being created or deleted, but something went wrong. + // The index cannot by used by queries. + // There is no active long-running operation for the index, + // and the most recently finished long-running operation failed. + // The index is not updated when writing an entity. + // Some index data may exist. + Index_ERROR Index_State = 4 +) + +var Index_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "CREATING", + 2: "READY", + 3: "DELETING", + 4: "ERROR", +} +var Index_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "CREATING": 1, + "READY": 2, + "DELETING": 3, + "ERROR": 4, +} + +func (x Index_State) String() string { + return proto.EnumName(Index_State_name, int32(x)) +} +func (Index_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_f584c9f4d3343f36, []int{0, 2} +} + +// A minimal index definition. +// Next tag: 8 +type Index struct { + // Project ID. + // Output only. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The resource ID of the index. + // Output only. + IndexId string `protobuf:"bytes,3,opt,name=index_id,json=indexId,proto3" json:"index_id,omitempty"` + // The entity kind to which this index applies. + // Required. + Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"` + // The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. + // Required. + Ancestor Index_AncestorMode `protobuf:"varint,5,opt,name=ancestor,proto3,enum=google.datastore.admin.v1.Index_AncestorMode" json:"ancestor,omitempty"` + // An ordered sequence of property names and their index attributes. + // Required. + Properties []*Index_IndexedProperty `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` + // The state of the index. + // Output only. + State Index_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.datastore.admin.v1.Index_State" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Index) Reset() { *m = Index{} } +func (m *Index) String() string { return proto.CompactTextString(m) } +func (*Index) ProtoMessage() {} +func (*Index) Descriptor() ([]byte, []int) { + return fileDescriptor_index_f584c9f4d3343f36, []int{0} +} +func (m *Index) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Index.Unmarshal(m, b) +} +func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Index.Marshal(b, m, deterministic) +} +func (dst *Index) XXX_Merge(src proto.Message) { + xxx_messageInfo_Index.Merge(dst, src) +} +func (m *Index) XXX_Size() int { + return xxx_messageInfo_Index.Size(m) +} +func (m *Index) XXX_DiscardUnknown() { + xxx_messageInfo_Index.DiscardUnknown(m) +} + +var xxx_messageInfo_Index proto.InternalMessageInfo + +func (m *Index) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *Index) GetIndexId() string { + if m != nil { + return m.IndexId + } + return "" +} + +func (m *Index) GetKind() string { + if m != nil { + return m.Kind + } + return "" +} + +func (m *Index) GetAncestor() Index_AncestorMode { + if m != nil { + return m.Ancestor + } + return Index_ANCESTOR_MODE_UNSPECIFIED +} + +func (m *Index) GetProperties() []*Index_IndexedProperty { + if m != nil { + return m.Properties + } + return nil +} + +func (m *Index) GetState() Index_State { + if m != nil { + return m.State + } + return Index_STATE_UNSPECIFIED +} + +// Next tag: 3 +type Index_IndexedProperty struct { + // The property name to index. + // Required. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. + // Required. + Direction Index_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.datastore.admin.v1.Index_Direction" json:"direction,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Index_IndexedProperty) Reset() { *m = Index_IndexedProperty{} } +func (m *Index_IndexedProperty) String() string { return proto.CompactTextString(m) } +func (*Index_IndexedProperty) ProtoMessage() {} +func (*Index_IndexedProperty) Descriptor() ([]byte, []int) { + return fileDescriptor_index_f584c9f4d3343f36, []int{0, 0} +} +func (m *Index_IndexedProperty) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Index_IndexedProperty.Unmarshal(m, b) +} +func (m *Index_IndexedProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Index_IndexedProperty.Marshal(b, m, deterministic) +} +func (dst *Index_IndexedProperty) XXX_Merge(src proto.Message) { + xxx_messageInfo_Index_IndexedProperty.Merge(dst, src) +} +func (m *Index_IndexedProperty) XXX_Size() int { + return xxx_messageInfo_Index_IndexedProperty.Size(m) +} +func (m *Index_IndexedProperty) XXX_DiscardUnknown() { + xxx_messageInfo_Index_IndexedProperty.DiscardUnknown(m) +} + +var xxx_messageInfo_Index_IndexedProperty proto.InternalMessageInfo + +func (m *Index_IndexedProperty) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Index_IndexedProperty) GetDirection() Index_Direction { + if m != nil { + return m.Direction + } + return Index_DIRECTION_UNSPECIFIED +} + +func init() { + proto.RegisterType((*Index)(nil), "google.datastore.admin.v1.Index") + proto.RegisterType((*Index_IndexedProperty)(nil), "google.datastore.admin.v1.Index.IndexedProperty") + proto.RegisterEnum("google.datastore.admin.v1.Index_AncestorMode", Index_AncestorMode_name, Index_AncestorMode_value) + proto.RegisterEnum("google.datastore.admin.v1.Index_Direction", Index_Direction_name, Index_Direction_value) + proto.RegisterEnum("google.datastore.admin.v1.Index_State", Index_State_name, Index_State_value) +} + +func init() { + proto.RegisterFile("google/datastore/admin/v1/index.proto", fileDescriptor_index_f584c9f4d3343f36) +} + +var fileDescriptor_index_f584c9f4d3343f36 = []byte{ + // 492 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x6f, 0x6b, 0xd3, 0x4e, + 0x1c, 0xff, 0xa5, 0x6d, 0xb6, 0xe6, 0xfb, 0xdb, 0x66, 0x76, 0x30, 0x48, 0x87, 0xc5, 0x52, 0x50, + 0x8a, 0x60, 0x62, 0xe7, 0x43, 0x45, 0xc8, 0x92, 0x73, 0x46, 0xba, 0x34, 0x5c, 0xa2, 0xa0, 0x4f, + 0xca, 0xd9, 0x3b, 0x42, 0xb4, 0xbd, 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cb, 0xed, 0xfd, 0x0d, 0x5d, 0x82, 0xaa, 0x28, 0xaa, 0x9f, 0x6d, 0xa4, 0x7d, 0x7a, 0xdd, + 0x02, 0x53, 0xb9, 0xa1, 0x22, 0xb5, 0x65, 0x91, 0x3a, 0x29, 0x17, 0xea, 0x51, 0x3b, 0xcd, 0x8a, + 0xe6, 0x59, 0xf9, 0x8f, 0xff, 0xe6, 0xa5, 0x1a, 0x7e, 0xf7, 0x1e, 0x5d, 0x35, 0x02, 0xde, 0x46, + 0x7e, 0x63, 0xb6, 0xdf, 0xf9, 0xb9, 0xca, 0xef, 0xc3, 0xfc, 0xf3, 0x81, 0x12, 0x7b, 0xf1, 0x27, + 0x00, 0x00, 0xff, 0xff, 0x3b, 0x8d, 0xf4, 0xff, 0x83, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1beta1/datastore_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1beta1/datastore_admin.pb.go index 59d56865e..86cfa7f45 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1beta1/datastore_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1beta1/datastore_admin.pb.go @@ -53,7 +53,7 @@ func (x OperationType) String() string { return proto.EnumName(OperationType_name, int32(x)) } func (OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{0} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{0} } // The various possible states for an ongoing Operation. @@ -105,7 +105,7 @@ func (x CommonMetadata_State) String() string { return proto.EnumName(CommonMetadata_State_name, int32(x)) } func (CommonMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{0, 0} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{0, 0} } // Metadata common to all Datastore Admin operations. @@ -131,7 +131,7 @@ func (m *CommonMetadata) Reset() { *m = CommonMetadata{} } func (m *CommonMetadata) String() string { return proto.CompactTextString(m) } func (*CommonMetadata) ProtoMessage() {} func (*CommonMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{0} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{0} } func (m *CommonMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommonMetadata.Unmarshal(m, b) @@ -203,7 +203,7 @@ func (m *Progress) Reset() { *m = Progress{} } func (m *Progress) String() string { return proto.CompactTextString(m) } func (*Progress) ProtoMessage() {} func (*Progress) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{1} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{1} } func (m *Progress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Progress.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *ExportEntitiesRequest) Reset() { *m = ExportEntitiesRequest{} } func (m *ExportEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*ExportEntitiesRequest) ProtoMessage() {} func (*ExportEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{2} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{2} } func (m *ExportEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportEntitiesRequest.Unmarshal(m, b) @@ -357,7 +357,7 @@ func (m *ImportEntitiesRequest) Reset() { *m = ImportEntitiesRequest{} } func (m *ImportEntitiesRequest) String() string { return proto.CompactTextString(m) } func (*ImportEntitiesRequest) ProtoMessage() {} func (*ImportEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{3} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{3} } func (m *ImportEntitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportEntitiesRequest.Unmarshal(m, b) @@ -422,7 +422,7 @@ func (m *ExportEntitiesResponse) Reset() { *m = ExportEntitiesResponse{} func (m *ExportEntitiesResponse) String() string { return proto.CompactTextString(m) } func (*ExportEntitiesResponse) ProtoMessage() {} func (*ExportEntitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{4} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{4} } func (m *ExportEntitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportEntitiesResponse.Unmarshal(m, b) @@ -474,7 +474,7 @@ func (m *ExportEntitiesMetadata) Reset() { *m = ExportEntitiesMetadata{} func (m *ExportEntitiesMetadata) String() string { return proto.CompactTextString(m) } func (*ExportEntitiesMetadata) ProtoMessage() {} func (*ExportEntitiesMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{5} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{5} } func (m *ExportEntitiesMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportEntitiesMetadata.Unmarshal(m, b) @@ -552,7 +552,7 @@ func (m *ImportEntitiesMetadata) Reset() { *m = ImportEntitiesMetadata{} func (m *ImportEntitiesMetadata) String() string { return proto.CompactTextString(m) } func (*ImportEntitiesMetadata) ProtoMessage() {} func (*ImportEntitiesMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{6} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{6} } func (m *ImportEntitiesMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportEntitiesMetadata.Unmarshal(m, b) @@ -646,7 +646,7 @@ func (m *EntityFilter) Reset() { *m = EntityFilter{} } func (m *EntityFilter) String() string { return proto.CompactTextString(m) } func (*EntityFilter) ProtoMessage() {} func (*EntityFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_admin_03f001e02cea4f87, []int{7} + return fileDescriptor_datastore_admin_55d05b81962cd4ab, []int{7} } func (m *EntityFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityFilter.Unmarshal(m, b) @@ -828,10 +828,10 @@ var _DatastoreAdmin_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/datastore/admin/v1beta1/datastore_admin.proto", fileDescriptor_datastore_admin_03f001e02cea4f87) + proto.RegisterFile("google/datastore/admin/v1beta1/datastore_admin.proto", fileDescriptor_datastore_admin_55d05b81962cd4ab) } -var fileDescriptor_datastore_admin_03f001e02cea4f87 = []byte{ +var fileDescriptor_datastore_admin_55d05b81962cd4ab = []byte{ // 996 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x41, 0x8f, 0xdb, 0x44, 0x14, 0xc6, 0xce, 0x26, 0x6d, 0xde, 0x6e, 0xd2, 0xec, 0x94, 0xad, 0xa2, 0x40, 0xcb, 0xca, 0xa5, diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go index 1dcf40d61..61665912d 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go @@ -52,7 +52,7 @@ func (x CommitRequest_Mode) String() string { return proto.EnumName(CommitRequest_Mode_name, int32(x)) } func (CommitRequest_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{8, 0} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{8, 0} } // The possible values for read consistencies. @@ -82,7 +82,7 @@ func (x ReadOptions_ReadConsistency) String() string { return proto.EnumName(ReadOptions_ReadConsistency_name, int32(x)) } func (ReadOptions_ReadConsistency) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{16, 0} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{16, 0} } // The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. @@ -102,7 +102,7 @@ func (m *LookupRequest) Reset() { *m = LookupRequest{} } func (m *LookupRequest) String() string { return proto.CompactTextString(m) } func (*LookupRequest) ProtoMessage() {} func (*LookupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{0} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{0} } func (m *LookupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LookupRequest.Unmarshal(m, b) @@ -166,7 +166,7 @@ func (m *LookupResponse) Reset() { *m = LookupResponse{} } func (m *LookupResponse) String() string { return proto.CompactTextString(m) } func (*LookupResponse) ProtoMessage() {} func (*LookupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{1} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{1} } func (m *LookupResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LookupResponse.Unmarshal(m, b) @@ -233,7 +233,7 @@ func (m *RunQueryRequest) Reset() { *m = RunQueryRequest{} } func (m *RunQueryRequest) String() string { return proto.CompactTextString(m) } func (*RunQueryRequest) ProtoMessage() {} func (*RunQueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{2} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{2} } func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) @@ -253,27 +253,6 @@ func (m *RunQueryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RunQueryRequest proto.InternalMessageInfo -type isRunQueryRequest_QueryType interface { - isRunQueryRequest_QueryType() -} - -type RunQueryRequest_Query struct { - Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof"` -} -type RunQueryRequest_GqlQuery struct { - GqlQuery *GqlQuery `protobuf:"bytes,7,opt,name=gql_query,json=gqlQuery,proto3,oneof"` -} - -func (*RunQueryRequest_Query) isRunQueryRequest_QueryType() {} -func (*RunQueryRequest_GqlQuery) isRunQueryRequest_QueryType() {} - -func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { - if m != nil { - return m.QueryType - } - return nil -} - func (m *RunQueryRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -295,6 +274,29 @@ func (m *RunQueryRequest) GetReadOptions() *ReadOptions { return nil } +type isRunQueryRequest_QueryType interface { + isRunQueryRequest_QueryType() +} + +type RunQueryRequest_Query struct { + Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof"` +} + +type RunQueryRequest_GqlQuery struct { + GqlQuery *GqlQuery `protobuf:"bytes,7,opt,name=gql_query,json=gqlQuery,proto3,oneof"` +} + +func (*RunQueryRequest_Query) isRunQueryRequest_QueryType() {} + +func (*RunQueryRequest_GqlQuery) isRunQueryRequest_QueryType() {} + +func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { + if m != nil { + return m.QueryType + } + return nil +} + func (m *RunQueryRequest) GetQuery() *Query { if x, ok := m.GetQueryType().(*RunQueryRequest_Query); ok { return x.Query @@ -398,7 +400,7 @@ func (m *RunQueryResponse) Reset() { *m = RunQueryResponse{} } func (m *RunQueryResponse) String() string { return proto.CompactTextString(m) } func (*RunQueryResponse) ProtoMessage() {} func (*RunQueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{3} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{3} } func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) @@ -447,7 +449,7 @@ func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) } func (*BeginTransactionRequest) ProtoMessage() {} func (*BeginTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{4} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{4} } func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) @@ -494,7 +496,7 @@ func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionRespon func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } func (*BeginTransactionResponse) ProtoMessage() {} func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{5} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{5} } func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) @@ -537,7 +539,7 @@ func (m *RollbackRequest) Reset() { *m = RollbackRequest{} } func (m *RollbackRequest) String() string { return proto.CompactTextString(m) } func (*RollbackRequest) ProtoMessage() {} func (*RollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{6} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{6} } func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) @@ -583,7 +585,7 @@ func (m *RollbackResponse) Reset() { *m = RollbackResponse{} } func (m *RollbackResponse) String() string { return proto.CompactTextString(m) } func (*RollbackResponse) ProtoMessage() {} func (*RollbackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{7} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{7} } func (m *RollbackResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackResponse.Unmarshal(m, b) @@ -637,7 +639,7 @@ func (m *CommitRequest) Reset() { *m = CommitRequest{} } func (m *CommitRequest) String() string { return proto.CompactTextString(m) } func (*CommitRequest) ProtoMessage() {} func (*CommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{8} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{8} } func (m *CommitRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitRequest.Unmarshal(m, b) @@ -657,6 +659,20 @@ func (m *CommitRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CommitRequest proto.InternalMessageInfo +func (m *CommitRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *CommitRequest) GetMode() CommitRequest_Mode { + if m != nil { + return m.Mode + } + return CommitRequest_MODE_UNSPECIFIED +} + type isCommitRequest_TransactionSelector interface { isCommitRequest_TransactionSelector() } @@ -674,20 +690,6 @@ func (m *CommitRequest) GetTransactionSelector() isCommitRequest_TransactionSele return nil } -func (m *CommitRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CommitRequest) GetMode() CommitRequest_Mode { - if m != nil { - return m.Mode - } - return CommitRequest_MODE_UNSPECIFIED -} - func (m *CommitRequest) GetTransaction() []byte { if x, ok := m.GetTransactionSelector().(*CommitRequest_Transaction); ok { return x.Transaction @@ -770,7 +772,7 @@ func (m *CommitResponse) Reset() { *m = CommitResponse{} } func (m *CommitResponse) String() string { return proto.CompactTextString(m) } func (*CommitResponse) ProtoMessage() {} func (*CommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{9} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{9} } func (m *CommitResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitResponse.Unmarshal(m, b) @@ -820,7 +822,7 @@ func (m *AllocateIdsRequest) Reset() { *m = AllocateIdsRequest{} } func (m *AllocateIdsRequest) String() string { return proto.CompactTextString(m) } func (*AllocateIdsRequest) ProtoMessage() {} func (*AllocateIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{10} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{10} } func (m *AllocateIdsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateIdsRequest.Unmarshal(m, b) @@ -868,7 +870,7 @@ func (m *AllocateIdsResponse) Reset() { *m = AllocateIdsResponse{} } func (m *AllocateIdsResponse) String() string { return proto.CompactTextString(m) } func (*AllocateIdsResponse) ProtoMessage() {} func (*AllocateIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{11} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{11} } func (m *AllocateIdsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateIdsResponse.Unmarshal(m, b) @@ -913,7 +915,7 @@ func (m *ReserveIdsRequest) Reset() { *m = ReserveIdsRequest{} } func (m *ReserveIdsRequest) String() string { return proto.CompactTextString(m) } func (*ReserveIdsRequest) ProtoMessage() {} func (*ReserveIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{12} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{12} } func (m *ReserveIdsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReserveIdsRequest.Unmarshal(m, b) @@ -965,7 +967,7 @@ func (m *ReserveIdsResponse) Reset() { *m = ReserveIdsResponse{} } func (m *ReserveIdsResponse) String() string { return proto.CompactTextString(m) } func (*ReserveIdsResponse) ProtoMessage() {} func (*ReserveIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{13} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{13} } func (m *ReserveIdsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReserveIdsResponse.Unmarshal(m, b) @@ -1018,7 +1020,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{14} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{14} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation.Unmarshal(m, b) @@ -1041,31 +1043,30 @@ var xxx_messageInfo_Mutation proto.InternalMessageInfo type isMutation_Operation interface { isMutation_Operation() } -type isMutation_ConflictDetectionStrategy interface { - isMutation_ConflictDetectionStrategy() -} type Mutation_Insert struct { Insert *Entity `protobuf:"bytes,4,opt,name=insert,proto3,oneof"` } + type Mutation_Update struct { Update *Entity `protobuf:"bytes,5,opt,name=update,proto3,oneof"` } + type Mutation_Upsert struct { Upsert *Entity `protobuf:"bytes,6,opt,name=upsert,proto3,oneof"` } + type Mutation_Delete struct { Delete *Key `protobuf:"bytes,7,opt,name=delete,proto3,oneof"` } -type Mutation_BaseVersion struct { - BaseVersion int64 `protobuf:"varint,8,opt,name=base_version,json=baseVersion,proto3,oneof"` -} -func (*Mutation_Insert) isMutation_Operation() {} -func (*Mutation_Update) isMutation_Operation() {} -func (*Mutation_Upsert) isMutation_Operation() {} -func (*Mutation_Delete) isMutation_Operation() {} -func (*Mutation_BaseVersion) isMutation_ConflictDetectionStrategy() {} +func (*Mutation_Insert) isMutation_Operation() {} + +func (*Mutation_Update) isMutation_Operation() {} + +func (*Mutation_Upsert) isMutation_Operation() {} + +func (*Mutation_Delete) isMutation_Operation() {} func (m *Mutation) GetOperation() isMutation_Operation { if m != nil { @@ -1073,12 +1074,6 @@ func (m *Mutation) GetOperation() isMutation_Operation { } return nil } -func (m *Mutation) GetConflictDetectionStrategy() isMutation_ConflictDetectionStrategy { - if m != nil { - return m.ConflictDetectionStrategy - } - return nil -} func (m *Mutation) GetInsert() *Entity { if x, ok := m.GetOperation().(*Mutation_Insert); ok { @@ -1108,6 +1103,23 @@ func (m *Mutation) GetDelete() *Key { return nil } +type isMutation_ConflictDetectionStrategy interface { + isMutation_ConflictDetectionStrategy() +} + +type Mutation_BaseVersion struct { + BaseVersion int64 `protobuf:"varint,8,opt,name=base_version,json=baseVersion,proto3,oneof"` +} + +func (*Mutation_BaseVersion) isMutation_ConflictDetectionStrategy() {} + +func (m *Mutation) GetConflictDetectionStrategy() isMutation_ConflictDetectionStrategy { + if m != nil { + return m.ConflictDetectionStrategy + } + return nil +} + func (m *Mutation) GetBaseVersion() int64 { if x, ok := m.GetConflictDetectionStrategy().(*Mutation_BaseVersion); ok { return x.BaseVersion @@ -1276,7 +1288,7 @@ func (m *MutationResult) Reset() { *m = MutationResult{} } func (m *MutationResult) String() string { return proto.CompactTextString(m) } func (*MutationResult) ProtoMessage() {} func (*MutationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{15} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{15} } func (m *MutationResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutationResult.Unmarshal(m, b) @@ -1336,7 +1348,7 @@ func (m *ReadOptions) Reset() { *m = ReadOptions{} } func (m *ReadOptions) String() string { return proto.CompactTextString(m) } func (*ReadOptions) ProtoMessage() {} func (*ReadOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{16} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{16} } func (m *ReadOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadOptions.Unmarshal(m, b) @@ -1363,12 +1375,14 @@ type isReadOptions_ConsistencyType interface { type ReadOptions_ReadConsistency_ struct { ReadConsistency ReadOptions_ReadConsistency `protobuf:"varint,1,opt,name=read_consistency,json=readConsistency,proto3,enum=google.datastore.v1.ReadOptions_ReadConsistency,oneof"` } + type ReadOptions_Transaction struct { Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"` } func (*ReadOptions_ReadConsistency_) isReadOptions_ConsistencyType() {} -func (*ReadOptions_Transaction) isReadOptions_ConsistencyType() {} + +func (*ReadOptions_Transaction) isReadOptions_ConsistencyType() {} func (m *ReadOptions) GetConsistencyType() isReadOptions_ConsistencyType { if m != nil { @@ -1478,7 +1492,7 @@ func (m *TransactionOptions) Reset() { *m = TransactionOptions{} } func (m *TransactionOptions) String() string { return proto.CompactTextString(m) } func (*TransactionOptions) ProtoMessage() {} func (*TransactionOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{17} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{17} } func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) @@ -1505,12 +1519,14 @@ type isTransactionOptions_Mode interface { type TransactionOptions_ReadWrite_ struct { ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,1,opt,name=read_write,json=readWrite,proto3,oneof"` } + type TransactionOptions_ReadOnly_ struct { ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"` } func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {} -func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} + +func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { if m != nil { @@ -1620,7 +1636,7 @@ func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadWrite) ProtoMessage() {} func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{17, 0} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{17, 0} } func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) @@ -1658,7 +1674,7 @@ func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadOnly) ProtoMessage() {} func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_59155d08d600834e, []int{17, 1} + return fileDescriptor_datastore_43db8ce3c69efb71, []int{17, 1} } func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) @@ -1994,10 +2010,10 @@ var _Datastore_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/datastore/v1/datastore.proto", fileDescriptor_datastore_59155d08d600834e) + proto.RegisterFile("google/datastore/v1/datastore.proto", fileDescriptor_datastore_43db8ce3c69efb71) } -var fileDescriptor_datastore_59155d08d600834e = []byte{ +var fileDescriptor_datastore_43db8ce3c69efb71 = []byte{ // 1390 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdf, 0x6f, 0x1b, 0xc5, 0x13, 0xcf, 0x3a, 0x89, 0x63, 0x8f, 0xf3, 0xc3, 0xd9, 0xe4, 0xfb, 0xad, 0x71, 0x5b, 0xd5, 0x5c, diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/v1/entity.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/v1/entity.pb.go index 3cc8edc29..213c46b75 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1/entity.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/v1/entity.pb.go @@ -55,7 +55,7 @@ func (m *PartitionId) Reset() { *m = PartitionId{} } func (m *PartitionId) String() string { return proto.CompactTextString(m) } func (*PartitionId) ProtoMessage() {} func (*PartitionId) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_cad536b404c6d8d1, []int{0} + return fileDescriptor_entity_45da7198f13d942c, []int{0} } func (m *PartitionId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionId.Unmarshal(m, b) @@ -124,7 +124,7 @@ func (m *Key) Reset() { *m = Key{} } func (m *Key) String() string { return proto.CompactTextString(m) } func (*Key) ProtoMessage() {} func (*Key) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_cad536b404c6d8d1, []int{1} + return fileDescriptor_entity_45da7198f13d942c, []int{1} } func (m *Key) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key.Unmarshal(m, b) @@ -183,7 +183,7 @@ func (m *Key_PathElement) Reset() { *m = Key_PathElement{} } func (m *Key_PathElement) String() string { return proto.CompactTextString(m) } func (*Key_PathElement) ProtoMessage() {} func (*Key_PathElement) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_cad536b404c6d8d1, []int{1, 0} + return fileDescriptor_entity_45da7198f13d942c, []int{1, 0} } func (m *Key_PathElement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key_PathElement.Unmarshal(m, b) @@ -203,6 +203,13 @@ func (m *Key_PathElement) XXX_DiscardUnknown() { var xxx_messageInfo_Key_PathElement proto.InternalMessageInfo +func (m *Key_PathElement) GetKind() string { + if m != nil { + return m.Kind + } + return "" +} + type isKey_PathElement_IdType interface { isKey_PathElement_IdType() } @@ -210,11 +217,13 @@ type isKey_PathElement_IdType interface { type Key_PathElement_Id struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"` } + type Key_PathElement_Name struct { Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"` } -func (*Key_PathElement_Id) isKey_PathElement_IdType() {} +func (*Key_PathElement_Id) isKey_PathElement_IdType() {} + func (*Key_PathElement_Name) isKey_PathElement_IdType() {} func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { @@ -224,13 +233,6 @@ func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { return nil } -func (m *Key_PathElement) GetKind() string { - if m != nil { - return m.Kind - } - return "" -} - func (m *Key_PathElement) GetId() int64 { if x, ok := m.GetIdType().(*Key_PathElement_Id); ok { return x.Id @@ -325,7 +327,7 @@ func (m *ArrayValue) Reset() { *m = ArrayValue{} } func (m *ArrayValue) String() string { return proto.CompactTextString(m) } func (*ArrayValue) ProtoMessage() {} func (*ArrayValue) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_cad536b404c6d8d1, []int{2} + return fileDescriptor_entity_45da7198f13d942c, []int{2} } func (m *ArrayValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArrayValue.Unmarshal(m, b) @@ -384,7 +386,7 @@ func (m *Value) Reset() { *m = Value{} } func (m *Value) String() string { return proto.CompactTextString(m) } func (*Value) ProtoMessage() {} func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_cad536b404c6d8d1, []int{3} + return fileDescriptor_entity_45da7198f13d942c, []int{3} } func (m *Value) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Value.Unmarshal(m, b) @@ -411,48 +413,68 @@ type isValue_ValueType interface { type Value_NullValue struct { NullValue _struct.NullValue `protobuf:"varint,11,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` } + type Value_BooleanValue struct { BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"` } + type Value_IntegerValue struct { IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"` } + type Value_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` } + type Value_TimestampValue struct { TimestampValue *timestamp.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` } + type Value_KeyValue struct { KeyValue *Key `protobuf:"bytes,5,opt,name=key_value,json=keyValue,proto3,oneof"` } + type Value_StringValue struct { StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"` } + type Value_BlobValue struct { BlobValue []byte `protobuf:"bytes,18,opt,name=blob_value,json=blobValue,proto3,oneof"` } + type Value_GeoPointValue struct { GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"` } + type Value_EntityValue struct { EntityValue *Entity `protobuf:"bytes,6,opt,name=entity_value,json=entityValue,proto3,oneof"` } + type Value_ArrayValue struct { ArrayValue *ArrayValue `protobuf:"bytes,9,opt,name=array_value,json=arrayValue,proto3,oneof"` } -func (*Value_NullValue) isValue_ValueType() {} -func (*Value_BooleanValue) isValue_ValueType() {} -func (*Value_IntegerValue) isValue_ValueType() {} -func (*Value_DoubleValue) isValue_ValueType() {} +func (*Value_NullValue) isValue_ValueType() {} + +func (*Value_BooleanValue) isValue_ValueType() {} + +func (*Value_IntegerValue) isValue_ValueType() {} + +func (*Value_DoubleValue) isValue_ValueType() {} + func (*Value_TimestampValue) isValue_ValueType() {} -func (*Value_KeyValue) isValue_ValueType() {} -func (*Value_StringValue) isValue_ValueType() {} -func (*Value_BlobValue) isValue_ValueType() {} -func (*Value_GeoPointValue) isValue_ValueType() {} -func (*Value_EntityValue) isValue_ValueType() {} -func (*Value_ArrayValue) isValue_ValueType() {} + +func (*Value_KeyValue) isValue_ValueType() {} + +func (*Value_StringValue) isValue_ValueType() {} + +func (*Value_BlobValue) isValue_ValueType() {} + +func (*Value_GeoPointValue) isValue_ValueType() {} + +func (*Value_EntityValue) isValue_ValueType() {} + +func (*Value_ArrayValue) isValue_ValueType() {} func (m *Value) GetValueType() isValue_ValueType { if m != nil { @@ -802,7 +824,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_cad536b404c6d8d1, []int{4} + return fileDescriptor_entity_45da7198f13d942c, []int{4} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -847,10 +869,10 @@ func init() { } func init() { - proto.RegisterFile("google/datastore/v1/entity.proto", fileDescriptor_entity_cad536b404c6d8d1) + proto.RegisterFile("google/datastore/v1/entity.proto", fileDescriptor_entity_45da7198f13d942c) } -var fileDescriptor_entity_cad536b404c6d8d1 = []byte{ +var fileDescriptor_entity_45da7198f13d942c = []byte{ // 780 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xff, 0x6e, 0xdc, 0x44, 0x10, 0xc7, 0xed, 0xbb, 0x5c, 0x1a, 0x8f, 0xdd, 0xa4, 0x6c, 0x2a, 0x61, 0x02, 0x28, 0x26, 0x80, diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go index fd19b083f..6c9238577 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go @@ -47,16 +47,16 @@ var EntityResult_ResultType_name = map[int32]string{ } var EntityResult_ResultType_value = map[string]int32{ "RESULT_TYPE_UNSPECIFIED": 0, - "FULL": 1, - "PROJECTION": 2, - "KEY_ONLY": 3, + "FULL": 1, + "PROJECTION": 2, + "KEY_ONLY": 3, } func (x EntityResult_ResultType) String() string { return proto.EnumName(EntityResult_ResultType_name, int32(x)) } func (EntityResult_ResultType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{0, 0} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{0, 0} } // The sort direction. @@ -86,7 +86,7 @@ func (x PropertyOrder_Direction) String() string { return proto.EnumName(PropertyOrder_Direction_name, int32(x)) } func (PropertyOrder_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{5, 0} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{5, 0} } // A composite filter operator. @@ -105,14 +105,14 @@ var CompositeFilter_Operator_name = map[int32]string{ } var CompositeFilter_Operator_value = map[string]int32{ "OPERATOR_UNSPECIFIED": 0, - "AND": 1, + "AND": 1, } func (x CompositeFilter_Operator) String() string { return proto.EnumName(CompositeFilter_Operator_name, int32(x)) } func (CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{7, 0} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{7, 0} } // A property filter operator. @@ -158,7 +158,7 @@ func (x PropertyFilter_Operator) String() string { return proto.EnumName(PropertyFilter_Operator_name, int32(x)) } func (PropertyFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{8, 0} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{8, 0} } // The possible values for the `more_results` field. @@ -197,7 +197,7 @@ func (x QueryResultBatch_MoreResultsType) String() string { return proto.EnumName(QueryResultBatch_MoreResultsType_name, int32(x)) } func (QueryResultBatch_MoreResultsType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{11, 0} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{11, 0} } // The result of fetching an entity from Datastore. @@ -226,7 +226,7 @@ func (m *EntityResult) Reset() { *m = EntityResult{} } func (m *EntityResult) String() string { return proto.CompactTextString(m) } func (*EntityResult) ProtoMessage() {} func (*EntityResult) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{0} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{0} } func (m *EntityResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityResult.Unmarshal(m, b) @@ -307,7 +307,7 @@ func (m *Query) Reset() { *m = Query{} } func (m *Query) String() string { return proto.CompactTextString(m) } func (*Query) ProtoMessage() {} func (*Query) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{1} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{1} } func (m *Query) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Query.Unmarshal(m, b) @@ -403,7 +403,7 @@ func (m *KindExpression) Reset() { *m = KindExpression{} } func (m *KindExpression) String() string { return proto.CompactTextString(m) } func (*KindExpression) ProtoMessage() {} func (*KindExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{2} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{2} } func (m *KindExpression) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KindExpression.Unmarshal(m, b) @@ -444,7 +444,7 @@ func (m *PropertyReference) Reset() { *m = PropertyReference{} } func (m *PropertyReference) String() string { return proto.CompactTextString(m) } func (*PropertyReference) ProtoMessage() {} func (*PropertyReference) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{3} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{3} } func (m *PropertyReference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PropertyReference.Unmarshal(m, b) @@ -484,7 +484,7 @@ func (m *Projection) Reset() { *m = Projection{} } func (m *Projection) String() string { return proto.CompactTextString(m) } func (*Projection) ProtoMessage() {} func (*Projection) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{4} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{4} } func (m *Projection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Projection.Unmarshal(m, b) @@ -526,7 +526,7 @@ func (m *PropertyOrder) Reset() { *m = PropertyOrder{} } func (m *PropertyOrder) String() string { return proto.CompactTextString(m) } func (*PropertyOrder) ProtoMessage() {} func (*PropertyOrder) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{5} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{5} } func (m *PropertyOrder) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PropertyOrder.Unmarshal(m, b) @@ -577,7 +577,7 @@ func (m *Filter) Reset() { *m = Filter{} } func (m *Filter) String() string { return proto.CompactTextString(m) } func (*Filter) ProtoMessage() {} func (*Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{6} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{6} } func (m *Filter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Filter.Unmarshal(m, b) @@ -604,12 +604,14 @@ type isFilter_FilterType interface { type Filter_CompositeFilter struct { CompositeFilter *CompositeFilter `protobuf:"bytes,1,opt,name=composite_filter,json=compositeFilter,proto3,oneof"` } + type Filter_PropertyFilter struct { PropertyFilter *PropertyFilter `protobuf:"bytes,2,opt,name=property_filter,json=propertyFilter,proto3,oneof"` } func (*Filter_CompositeFilter) isFilter_FilterType() {} -func (*Filter_PropertyFilter) isFilter_FilterType() {} + +func (*Filter_PropertyFilter) isFilter_FilterType() {} func (m *Filter) GetFilterType() isFilter_FilterType { if m != nil { @@ -722,7 +724,7 @@ func (m *CompositeFilter) Reset() { *m = CompositeFilter{} } func (m *CompositeFilter) String() string { return proto.CompactTextString(m) } func (*CompositeFilter) ProtoMessage() {} func (*CompositeFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{7} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{7} } func (m *CompositeFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CompositeFilter.Unmarshal(m, b) @@ -773,7 +775,7 @@ func (m *PropertyFilter) Reset() { *m = PropertyFilter{} } func (m *PropertyFilter) String() string { return proto.CompactTextString(m) } func (*PropertyFilter) ProtoMessage() {} func (*PropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{8} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{8} } func (m *PropertyFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PropertyFilter.Unmarshal(m, b) @@ -845,7 +847,7 @@ func (m *GqlQuery) Reset() { *m = GqlQuery{} } func (m *GqlQuery) String() string { return proto.CompactTextString(m) } func (*GqlQuery) ProtoMessage() {} func (*GqlQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{9} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{9} } func (m *GqlQuery) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GqlQuery.Unmarshal(m, b) @@ -910,7 +912,7 @@ func (m *GqlQueryParameter) Reset() { *m = GqlQueryParameter{} } func (m *GqlQueryParameter) String() string { return proto.CompactTextString(m) } func (*GqlQueryParameter) ProtoMessage() {} func (*GqlQueryParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{10} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{10} } func (m *GqlQueryParameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GqlQueryParameter.Unmarshal(m, b) @@ -937,11 +939,13 @@ type isGqlQueryParameter_ParameterType interface { type GqlQueryParameter_Value struct { Value *Value `protobuf:"bytes,2,opt,name=value,proto3,oneof"` } + type GqlQueryParameter_Cursor struct { Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3,oneof"` } -func (*GqlQueryParameter_Value) isGqlQueryParameter_ParameterType() {} +func (*GqlQueryParameter_Value) isGqlQueryParameter_ParameterType() {} + func (*GqlQueryParameter_Cursor) isGqlQueryParameter_ParameterType() {} func (m *GqlQueryParameter) GetParameterType() isGqlQueryParameter_ParameterType { @@ -1069,7 +1073,7 @@ func (m *QueryResultBatch) Reset() { *m = QueryResultBatch{} } func (m *QueryResultBatch) String() string { return proto.CompactTextString(m) } func (*QueryResultBatch) ProtoMessage() {} func (*QueryResultBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_query_1ba6ff8bae21b87f, []int{11} + return fileDescriptor_query_2312a1dfc5fd06f2, []int{11} } func (m *QueryResultBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResultBatch.Unmarshal(m, b) @@ -1160,10 +1164,10 @@ func init() { } func init() { - proto.RegisterFile("google/datastore/v1/query.proto", fileDescriptor_query_1ba6ff8bae21b87f) + proto.RegisterFile("google/datastore/v1/query.proto", fileDescriptor_query_2312a1dfc5fd06f2) } -var fileDescriptor_query_1ba6ff8bae21b87f = []byte{ +var fileDescriptor_query_2312a1dfc5fd06f2 = []byte{ // 1313 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x72, 0xd3, 0x46, 0x14, 0x8e, 0x64, 0x3b, 0x89, 0x8f, 0xff, 0xc4, 0xd2, 0x82, 0x08, 0x50, 0x12, 0x41, 0x4b, 0x3a, diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/datastore.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/datastore.pb.go index f3905cb10..6fbf502d9 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/datastore.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/datastore.pb.go @@ -52,7 +52,7 @@ func (x CommitRequest_Mode) String() string { return proto.EnumName(CommitRequest_Mode_name, int32(x)) } func (CommitRequest_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{8, 0} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{8, 0} } // The possible values for read consistencies. @@ -82,7 +82,7 @@ func (x ReadOptions_ReadConsistency) String() string { return proto.EnumName(ReadOptions_ReadConsistency_name, int32(x)) } func (ReadOptions_ReadConsistency) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{16, 0} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{16, 0} } // The request for [Datastore.Lookup][google.datastore.v1beta3.Datastore.Lookup]. @@ -102,7 +102,7 @@ func (m *LookupRequest) Reset() { *m = LookupRequest{} } func (m *LookupRequest) String() string { return proto.CompactTextString(m) } func (*LookupRequest) ProtoMessage() {} func (*LookupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{0} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{0} } func (m *LookupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LookupRequest.Unmarshal(m, b) @@ -166,7 +166,7 @@ func (m *LookupResponse) Reset() { *m = LookupResponse{} } func (m *LookupResponse) String() string { return proto.CompactTextString(m) } func (*LookupResponse) ProtoMessage() {} func (*LookupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{1} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{1} } func (m *LookupResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LookupResponse.Unmarshal(m, b) @@ -233,7 +233,7 @@ func (m *RunQueryRequest) Reset() { *m = RunQueryRequest{} } func (m *RunQueryRequest) String() string { return proto.CompactTextString(m) } func (*RunQueryRequest) ProtoMessage() {} func (*RunQueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{2} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{2} } func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) @@ -253,27 +253,6 @@ func (m *RunQueryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RunQueryRequest proto.InternalMessageInfo -type isRunQueryRequest_QueryType interface { - isRunQueryRequest_QueryType() -} - -type RunQueryRequest_Query struct { - Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof"` -} -type RunQueryRequest_GqlQuery struct { - GqlQuery *GqlQuery `protobuf:"bytes,7,opt,name=gql_query,json=gqlQuery,proto3,oneof"` -} - -func (*RunQueryRequest_Query) isRunQueryRequest_QueryType() {} -func (*RunQueryRequest_GqlQuery) isRunQueryRequest_QueryType() {} - -func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { - if m != nil { - return m.QueryType - } - return nil -} - func (m *RunQueryRequest) GetProjectId() string { if m != nil { return m.ProjectId @@ -295,6 +274,29 @@ func (m *RunQueryRequest) GetReadOptions() *ReadOptions { return nil } +type isRunQueryRequest_QueryType interface { + isRunQueryRequest_QueryType() +} + +type RunQueryRequest_Query struct { + Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof"` +} + +type RunQueryRequest_GqlQuery struct { + GqlQuery *GqlQuery `protobuf:"bytes,7,opt,name=gql_query,json=gqlQuery,proto3,oneof"` +} + +func (*RunQueryRequest_Query) isRunQueryRequest_QueryType() {} + +func (*RunQueryRequest_GqlQuery) isRunQueryRequest_QueryType() {} + +func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { + if m != nil { + return m.QueryType + } + return nil +} + func (m *RunQueryRequest) GetQuery() *Query { if x, ok := m.GetQueryType().(*RunQueryRequest_Query); ok { return x.Query @@ -398,7 +400,7 @@ func (m *RunQueryResponse) Reset() { *m = RunQueryResponse{} } func (m *RunQueryResponse) String() string { return proto.CompactTextString(m) } func (*RunQueryResponse) ProtoMessage() {} func (*RunQueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{3} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{3} } func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) @@ -447,7 +449,7 @@ func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) } func (*BeginTransactionRequest) ProtoMessage() {} func (*BeginTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{4} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{4} } func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) @@ -494,7 +496,7 @@ func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionRespon func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } func (*BeginTransactionResponse) ProtoMessage() {} func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{5} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{5} } func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) @@ -537,7 +539,7 @@ func (m *RollbackRequest) Reset() { *m = RollbackRequest{} } func (m *RollbackRequest) String() string { return proto.CompactTextString(m) } func (*RollbackRequest) ProtoMessage() {} func (*RollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{6} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{6} } func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) @@ -583,7 +585,7 @@ func (m *RollbackResponse) Reset() { *m = RollbackResponse{} } func (m *RollbackResponse) String() string { return proto.CompactTextString(m) } func (*RollbackResponse) ProtoMessage() {} func (*RollbackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{7} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{7} } func (m *RollbackResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackResponse.Unmarshal(m, b) @@ -637,7 +639,7 @@ func (m *CommitRequest) Reset() { *m = CommitRequest{} } func (m *CommitRequest) String() string { return proto.CompactTextString(m) } func (*CommitRequest) ProtoMessage() {} func (*CommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{8} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{8} } func (m *CommitRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitRequest.Unmarshal(m, b) @@ -657,6 +659,20 @@ func (m *CommitRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CommitRequest proto.InternalMessageInfo +func (m *CommitRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *CommitRequest) GetMode() CommitRequest_Mode { + if m != nil { + return m.Mode + } + return CommitRequest_MODE_UNSPECIFIED +} + type isCommitRequest_TransactionSelector interface { isCommitRequest_TransactionSelector() } @@ -674,20 +690,6 @@ func (m *CommitRequest) GetTransactionSelector() isCommitRequest_TransactionSele return nil } -func (m *CommitRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CommitRequest) GetMode() CommitRequest_Mode { - if m != nil { - return m.Mode - } - return CommitRequest_MODE_UNSPECIFIED -} - func (m *CommitRequest) GetTransaction() []byte { if x, ok := m.GetTransactionSelector().(*CommitRequest_Transaction); ok { return x.Transaction @@ -770,7 +772,7 @@ func (m *CommitResponse) Reset() { *m = CommitResponse{} } func (m *CommitResponse) String() string { return proto.CompactTextString(m) } func (*CommitResponse) ProtoMessage() {} func (*CommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{9} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{9} } func (m *CommitResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitResponse.Unmarshal(m, b) @@ -820,7 +822,7 @@ func (m *AllocateIdsRequest) Reset() { *m = AllocateIdsRequest{} } func (m *AllocateIdsRequest) String() string { return proto.CompactTextString(m) } func (*AllocateIdsRequest) ProtoMessage() {} func (*AllocateIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{10} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{10} } func (m *AllocateIdsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateIdsRequest.Unmarshal(m, b) @@ -868,7 +870,7 @@ func (m *AllocateIdsResponse) Reset() { *m = AllocateIdsResponse{} } func (m *AllocateIdsResponse) String() string { return proto.CompactTextString(m) } func (*AllocateIdsResponse) ProtoMessage() {} func (*AllocateIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{11} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{11} } func (m *AllocateIdsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocateIdsResponse.Unmarshal(m, b) @@ -913,7 +915,7 @@ func (m *ReserveIdsRequest) Reset() { *m = ReserveIdsRequest{} } func (m *ReserveIdsRequest) String() string { return proto.CompactTextString(m) } func (*ReserveIdsRequest) ProtoMessage() {} func (*ReserveIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{12} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{12} } func (m *ReserveIdsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReserveIdsRequest.Unmarshal(m, b) @@ -965,7 +967,7 @@ func (m *ReserveIdsResponse) Reset() { *m = ReserveIdsResponse{} } func (m *ReserveIdsResponse) String() string { return proto.CompactTextString(m) } func (*ReserveIdsResponse) ProtoMessage() {} func (*ReserveIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{13} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{13} } func (m *ReserveIdsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReserveIdsResponse.Unmarshal(m, b) @@ -1018,7 +1020,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{14} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{14} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation.Unmarshal(m, b) @@ -1041,31 +1043,30 @@ var xxx_messageInfo_Mutation proto.InternalMessageInfo type isMutation_Operation interface { isMutation_Operation() } -type isMutation_ConflictDetectionStrategy interface { - isMutation_ConflictDetectionStrategy() -} type Mutation_Insert struct { Insert *Entity `protobuf:"bytes,4,opt,name=insert,proto3,oneof"` } + type Mutation_Update struct { Update *Entity `protobuf:"bytes,5,opt,name=update,proto3,oneof"` } + type Mutation_Upsert struct { Upsert *Entity `protobuf:"bytes,6,opt,name=upsert,proto3,oneof"` } + type Mutation_Delete struct { Delete *Key `protobuf:"bytes,7,opt,name=delete,proto3,oneof"` } -type Mutation_BaseVersion struct { - BaseVersion int64 `protobuf:"varint,8,opt,name=base_version,json=baseVersion,proto3,oneof"` -} -func (*Mutation_Insert) isMutation_Operation() {} -func (*Mutation_Update) isMutation_Operation() {} -func (*Mutation_Upsert) isMutation_Operation() {} -func (*Mutation_Delete) isMutation_Operation() {} -func (*Mutation_BaseVersion) isMutation_ConflictDetectionStrategy() {} +func (*Mutation_Insert) isMutation_Operation() {} + +func (*Mutation_Update) isMutation_Operation() {} + +func (*Mutation_Upsert) isMutation_Operation() {} + +func (*Mutation_Delete) isMutation_Operation() {} func (m *Mutation) GetOperation() isMutation_Operation { if m != nil { @@ -1073,12 +1074,6 @@ func (m *Mutation) GetOperation() isMutation_Operation { } return nil } -func (m *Mutation) GetConflictDetectionStrategy() isMutation_ConflictDetectionStrategy { - if m != nil { - return m.ConflictDetectionStrategy - } - return nil -} func (m *Mutation) GetInsert() *Entity { if x, ok := m.GetOperation().(*Mutation_Insert); ok { @@ -1108,6 +1103,23 @@ func (m *Mutation) GetDelete() *Key { return nil } +type isMutation_ConflictDetectionStrategy interface { + isMutation_ConflictDetectionStrategy() +} + +type Mutation_BaseVersion struct { + BaseVersion int64 `protobuf:"varint,8,opt,name=base_version,json=baseVersion,proto3,oneof"` +} + +func (*Mutation_BaseVersion) isMutation_ConflictDetectionStrategy() {} + +func (m *Mutation) GetConflictDetectionStrategy() isMutation_ConflictDetectionStrategy { + if m != nil { + return m.ConflictDetectionStrategy + } + return nil +} + func (m *Mutation) GetBaseVersion() int64 { if x, ok := m.GetConflictDetectionStrategy().(*Mutation_BaseVersion); ok { return x.BaseVersion @@ -1276,7 +1288,7 @@ func (m *MutationResult) Reset() { *m = MutationResult{} } func (m *MutationResult) String() string { return proto.CompactTextString(m) } func (*MutationResult) ProtoMessage() {} func (*MutationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{15} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{15} } func (m *MutationResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutationResult.Unmarshal(m, b) @@ -1336,7 +1348,7 @@ func (m *ReadOptions) Reset() { *m = ReadOptions{} } func (m *ReadOptions) String() string { return proto.CompactTextString(m) } func (*ReadOptions) ProtoMessage() {} func (*ReadOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{16} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{16} } func (m *ReadOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadOptions.Unmarshal(m, b) @@ -1363,12 +1375,14 @@ type isReadOptions_ConsistencyType interface { type ReadOptions_ReadConsistency_ struct { ReadConsistency ReadOptions_ReadConsistency `protobuf:"varint,1,opt,name=read_consistency,json=readConsistency,proto3,enum=google.datastore.v1beta3.ReadOptions_ReadConsistency,oneof"` } + type ReadOptions_Transaction struct { Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"` } func (*ReadOptions_ReadConsistency_) isReadOptions_ConsistencyType() {} -func (*ReadOptions_Transaction) isReadOptions_ConsistencyType() {} + +func (*ReadOptions_Transaction) isReadOptions_ConsistencyType() {} func (m *ReadOptions) GetConsistencyType() isReadOptions_ConsistencyType { if m != nil { @@ -1478,7 +1492,7 @@ func (m *TransactionOptions) Reset() { *m = TransactionOptions{} } func (m *TransactionOptions) String() string { return proto.CompactTextString(m) } func (*TransactionOptions) ProtoMessage() {} func (*TransactionOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{17} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{17} } func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) @@ -1505,12 +1519,14 @@ type isTransactionOptions_Mode interface { type TransactionOptions_ReadWrite_ struct { ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,1,opt,name=read_write,json=readWrite,proto3,oneof"` } + type TransactionOptions_ReadOnly_ struct { ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"` } func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {} -func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} + +func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { if m != nil { @@ -1620,7 +1636,7 @@ func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadWrite) ProtoMessage() {} func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{17, 0} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{17, 0} } func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) @@ -1658,7 +1674,7 @@ func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadOnly) ProtoMessage() {} func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_datastore_904663449713e211, []int{17, 1} + return fileDescriptor_datastore_e879c8d0a88da1b3, []int{17, 1} } func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) @@ -1994,10 +2010,10 @@ var _Datastore_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/datastore/v1beta3/datastore.proto", fileDescriptor_datastore_904663449713e211) + proto.RegisterFile("google/datastore/v1beta3/datastore.proto", fileDescriptor_datastore_e879c8d0a88da1b3) } -var fileDescriptor_datastore_904663449713e211 = []byte{ +var fileDescriptor_datastore_e879c8d0a88da1b3 = []byte{ // 1403 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x6f, 0x1b, 0xc5, 0x17, 0xcf, 0x38, 0x89, 0x6b, 0x3f, 0xe7, 0x87, 0x33, 0xcd, 0xf7, 0x8b, 0x65, 0x5a, 0x6a, 0x6d, diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/entity.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/entity.pb.go index 18b8be93e..93c83a6b3 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/entity.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/entity.pb.go @@ -55,7 +55,7 @@ func (m *PartitionId) Reset() { *m = PartitionId{} } func (m *PartitionId) String() string { return proto.CompactTextString(m) } func (*PartitionId) ProtoMessage() {} func (*PartitionId) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_b4336e07cf80b29c, []int{0} + return fileDescriptor_entity_01235876269a0b39, []int{0} } func (m *PartitionId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionId.Unmarshal(m, b) @@ -124,7 +124,7 @@ func (m *Key) Reset() { *m = Key{} } func (m *Key) String() string { return proto.CompactTextString(m) } func (*Key) ProtoMessage() {} func (*Key) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_b4336e07cf80b29c, []int{1} + return fileDescriptor_entity_01235876269a0b39, []int{1} } func (m *Key) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key.Unmarshal(m, b) @@ -183,7 +183,7 @@ func (m *Key_PathElement) Reset() { *m = Key_PathElement{} } func (m *Key_PathElement) String() string { return proto.CompactTextString(m) } func (*Key_PathElement) ProtoMessage() {} func (*Key_PathElement) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_b4336e07cf80b29c, []int{1, 0} + return fileDescriptor_entity_01235876269a0b39, []int{1, 0} } func (m *Key_PathElement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key_PathElement.Unmarshal(m, b) @@ -203,6 +203,13 @@ func (m *Key_PathElement) XXX_DiscardUnknown() { var xxx_messageInfo_Key_PathElement proto.InternalMessageInfo +func (m *Key_PathElement) GetKind() string { + if m != nil { + return m.Kind + } + return "" +} + type isKey_PathElement_IdType interface { isKey_PathElement_IdType() } @@ -210,11 +217,13 @@ type isKey_PathElement_IdType interface { type Key_PathElement_Id struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"` } + type Key_PathElement_Name struct { Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"` } -func (*Key_PathElement_Id) isKey_PathElement_IdType() {} +func (*Key_PathElement_Id) isKey_PathElement_IdType() {} + func (*Key_PathElement_Name) isKey_PathElement_IdType() {} func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { @@ -224,13 +233,6 @@ func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { return nil } -func (m *Key_PathElement) GetKind() string { - if m != nil { - return m.Kind - } - return "" -} - func (m *Key_PathElement) GetId() int64 { if x, ok := m.GetIdType().(*Key_PathElement_Id); ok { return x.Id @@ -325,7 +327,7 @@ func (m *ArrayValue) Reset() { *m = ArrayValue{} } func (m *ArrayValue) String() string { return proto.CompactTextString(m) } func (*ArrayValue) ProtoMessage() {} func (*ArrayValue) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_b4336e07cf80b29c, []int{2} + return fileDescriptor_entity_01235876269a0b39, []int{2} } func (m *ArrayValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArrayValue.Unmarshal(m, b) @@ -384,7 +386,7 @@ func (m *Value) Reset() { *m = Value{} } func (m *Value) String() string { return proto.CompactTextString(m) } func (*Value) ProtoMessage() {} func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_b4336e07cf80b29c, []int{3} + return fileDescriptor_entity_01235876269a0b39, []int{3} } func (m *Value) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Value.Unmarshal(m, b) @@ -411,48 +413,68 @@ type isValue_ValueType interface { type Value_NullValue struct { NullValue _struct.NullValue `protobuf:"varint,11,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` } + type Value_BooleanValue struct { BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"` } + type Value_IntegerValue struct { IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"` } + type Value_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` } + type Value_TimestampValue struct { TimestampValue *timestamp.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` } + type Value_KeyValue struct { KeyValue *Key `protobuf:"bytes,5,opt,name=key_value,json=keyValue,proto3,oneof"` } + type Value_StringValue struct { StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"` } + type Value_BlobValue struct { BlobValue []byte `protobuf:"bytes,18,opt,name=blob_value,json=blobValue,proto3,oneof"` } + type Value_GeoPointValue struct { GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"` } + type Value_EntityValue struct { EntityValue *Entity `protobuf:"bytes,6,opt,name=entity_value,json=entityValue,proto3,oneof"` } + type Value_ArrayValue struct { ArrayValue *ArrayValue `protobuf:"bytes,9,opt,name=array_value,json=arrayValue,proto3,oneof"` } -func (*Value_NullValue) isValue_ValueType() {} -func (*Value_BooleanValue) isValue_ValueType() {} -func (*Value_IntegerValue) isValue_ValueType() {} -func (*Value_DoubleValue) isValue_ValueType() {} +func (*Value_NullValue) isValue_ValueType() {} + +func (*Value_BooleanValue) isValue_ValueType() {} + +func (*Value_IntegerValue) isValue_ValueType() {} + +func (*Value_DoubleValue) isValue_ValueType() {} + func (*Value_TimestampValue) isValue_ValueType() {} -func (*Value_KeyValue) isValue_ValueType() {} -func (*Value_StringValue) isValue_ValueType() {} -func (*Value_BlobValue) isValue_ValueType() {} -func (*Value_GeoPointValue) isValue_ValueType() {} -func (*Value_EntityValue) isValue_ValueType() {} -func (*Value_ArrayValue) isValue_ValueType() {} + +func (*Value_KeyValue) isValue_ValueType() {} + +func (*Value_StringValue) isValue_ValueType() {} + +func (*Value_BlobValue) isValue_ValueType() {} + +func (*Value_GeoPointValue) isValue_ValueType() {} + +func (*Value_EntityValue) isValue_ValueType() {} + +func (*Value_ArrayValue) isValue_ValueType() {} func (m *Value) GetValueType() isValue_ValueType { if m != nil { @@ -802,7 +824,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_entity_b4336e07cf80b29c, []int{4} + return fileDescriptor_entity_01235876269a0b39, []int{4} } func (m *Entity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Entity.Unmarshal(m, b) @@ -847,10 +869,10 @@ func init() { } func init() { - proto.RegisterFile("google/datastore/v1beta3/entity.proto", fileDescriptor_entity_b4336e07cf80b29c) + proto.RegisterFile("google/datastore/v1beta3/entity.proto", fileDescriptor_entity_01235876269a0b39) } -var fileDescriptor_entity_b4336e07cf80b29c = []byte{ +var fileDescriptor_entity_01235876269a0b39 = []byte{ // 789 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdf, 0x8e, 0xdb, 0x44, 0x14, 0xc6, 0xed, 0x64, 0xb3, 0x5d, 0x1f, 0xbb, 0xbb, 0x65, 0xda, 0x0b, 0x2b, 0x6a, 0xd9, 0x10, diff --git a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/query.pb.go b/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/query.pb.go index 559802ad4..be29c4180 100644 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/query.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/query.pb.go @@ -47,16 +47,16 @@ var EntityResult_ResultType_name = map[int32]string{ } var EntityResult_ResultType_value = map[string]int32{ "RESULT_TYPE_UNSPECIFIED": 0, - "FULL": 1, - "PROJECTION": 2, - "KEY_ONLY": 3, + "FULL": 1, + "PROJECTION": 2, + "KEY_ONLY": 3, } func (x EntityResult_ResultType) String() string { return proto.EnumName(EntityResult_ResultType_name, int32(x)) } func (EntityResult_ResultType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{0, 0} + return fileDescriptor_query_756a9031b51ce9dc, []int{0, 0} } // The sort direction. @@ -86,7 +86,7 @@ func (x PropertyOrder_Direction) String() string { return proto.EnumName(PropertyOrder_Direction_name, int32(x)) } func (PropertyOrder_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{5, 0} + return fileDescriptor_query_756a9031b51ce9dc, []int{5, 0} } // A composite filter operator. @@ -105,14 +105,14 @@ var CompositeFilter_Operator_name = map[int32]string{ } var CompositeFilter_Operator_value = map[string]int32{ "OPERATOR_UNSPECIFIED": 0, - "AND": 1, + "AND": 1, } func (x CompositeFilter_Operator) String() string { return proto.EnumName(CompositeFilter_Operator_name, int32(x)) } func (CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{7, 0} + return fileDescriptor_query_756a9031b51ce9dc, []int{7, 0} } // A property filter operator. @@ -158,7 +158,7 @@ func (x PropertyFilter_Operator) String() string { return proto.EnumName(PropertyFilter_Operator_name, int32(x)) } func (PropertyFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{8, 0} + return fileDescriptor_query_756a9031b51ce9dc, []int{8, 0} } // The possible values for the `more_results` field. @@ -197,7 +197,7 @@ func (x QueryResultBatch_MoreResultsType) String() string { return proto.EnumName(QueryResultBatch_MoreResultsType_name, int32(x)) } func (QueryResultBatch_MoreResultsType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{11, 0} + return fileDescriptor_query_756a9031b51ce9dc, []int{11, 0} } // The result of fetching an entity from Datastore. @@ -226,7 +226,7 @@ func (m *EntityResult) Reset() { *m = EntityResult{} } func (m *EntityResult) String() string { return proto.CompactTextString(m) } func (*EntityResult) ProtoMessage() {} func (*EntityResult) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{0} + return fileDescriptor_query_756a9031b51ce9dc, []int{0} } func (m *EntityResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityResult.Unmarshal(m, b) @@ -307,7 +307,7 @@ func (m *Query) Reset() { *m = Query{} } func (m *Query) String() string { return proto.CompactTextString(m) } func (*Query) ProtoMessage() {} func (*Query) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{1} + return fileDescriptor_query_756a9031b51ce9dc, []int{1} } func (m *Query) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Query.Unmarshal(m, b) @@ -403,7 +403,7 @@ func (m *KindExpression) Reset() { *m = KindExpression{} } func (m *KindExpression) String() string { return proto.CompactTextString(m) } func (*KindExpression) ProtoMessage() {} func (*KindExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{2} + return fileDescriptor_query_756a9031b51ce9dc, []int{2} } func (m *KindExpression) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KindExpression.Unmarshal(m, b) @@ -444,7 +444,7 @@ func (m *PropertyReference) Reset() { *m = PropertyReference{} } func (m *PropertyReference) String() string { return proto.CompactTextString(m) } func (*PropertyReference) ProtoMessage() {} func (*PropertyReference) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{3} + return fileDescriptor_query_756a9031b51ce9dc, []int{3} } func (m *PropertyReference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PropertyReference.Unmarshal(m, b) @@ -484,7 +484,7 @@ func (m *Projection) Reset() { *m = Projection{} } func (m *Projection) String() string { return proto.CompactTextString(m) } func (*Projection) ProtoMessage() {} func (*Projection) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{4} + return fileDescriptor_query_756a9031b51ce9dc, []int{4} } func (m *Projection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Projection.Unmarshal(m, b) @@ -526,7 +526,7 @@ func (m *PropertyOrder) Reset() { *m = PropertyOrder{} } func (m *PropertyOrder) String() string { return proto.CompactTextString(m) } func (*PropertyOrder) ProtoMessage() {} func (*PropertyOrder) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{5} + return fileDescriptor_query_756a9031b51ce9dc, []int{5} } func (m *PropertyOrder) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PropertyOrder.Unmarshal(m, b) @@ -577,7 +577,7 @@ func (m *Filter) Reset() { *m = Filter{} } func (m *Filter) String() string { return proto.CompactTextString(m) } func (*Filter) ProtoMessage() {} func (*Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{6} + return fileDescriptor_query_756a9031b51ce9dc, []int{6} } func (m *Filter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Filter.Unmarshal(m, b) @@ -604,12 +604,14 @@ type isFilter_FilterType interface { type Filter_CompositeFilter struct { CompositeFilter *CompositeFilter `protobuf:"bytes,1,opt,name=composite_filter,json=compositeFilter,proto3,oneof"` } + type Filter_PropertyFilter struct { PropertyFilter *PropertyFilter `protobuf:"bytes,2,opt,name=property_filter,json=propertyFilter,proto3,oneof"` } func (*Filter_CompositeFilter) isFilter_FilterType() {} -func (*Filter_PropertyFilter) isFilter_FilterType() {} + +func (*Filter_PropertyFilter) isFilter_FilterType() {} func (m *Filter) GetFilterType() isFilter_FilterType { if m != nil { @@ -722,7 +724,7 @@ func (m *CompositeFilter) Reset() { *m = CompositeFilter{} } func (m *CompositeFilter) String() string { return proto.CompactTextString(m) } func (*CompositeFilter) ProtoMessage() {} func (*CompositeFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{7} + return fileDescriptor_query_756a9031b51ce9dc, []int{7} } func (m *CompositeFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CompositeFilter.Unmarshal(m, b) @@ -773,7 +775,7 @@ func (m *PropertyFilter) Reset() { *m = PropertyFilter{} } func (m *PropertyFilter) String() string { return proto.CompactTextString(m) } func (*PropertyFilter) ProtoMessage() {} func (*PropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{8} + return fileDescriptor_query_756a9031b51ce9dc, []int{8} } func (m *PropertyFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PropertyFilter.Unmarshal(m, b) @@ -845,7 +847,7 @@ func (m *GqlQuery) Reset() { *m = GqlQuery{} } func (m *GqlQuery) String() string { return proto.CompactTextString(m) } func (*GqlQuery) ProtoMessage() {} func (*GqlQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{9} + return fileDescriptor_query_756a9031b51ce9dc, []int{9} } func (m *GqlQuery) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GqlQuery.Unmarshal(m, b) @@ -910,7 +912,7 @@ func (m *GqlQueryParameter) Reset() { *m = GqlQueryParameter{} } func (m *GqlQueryParameter) String() string { return proto.CompactTextString(m) } func (*GqlQueryParameter) ProtoMessage() {} func (*GqlQueryParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{10} + return fileDescriptor_query_756a9031b51ce9dc, []int{10} } func (m *GqlQueryParameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GqlQueryParameter.Unmarshal(m, b) @@ -937,11 +939,13 @@ type isGqlQueryParameter_ParameterType interface { type GqlQueryParameter_Value struct { Value *Value `protobuf:"bytes,2,opt,name=value,proto3,oneof"` } + type GqlQueryParameter_Cursor struct { Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3,oneof"` } -func (*GqlQueryParameter_Value) isGqlQueryParameter_ParameterType() {} +func (*GqlQueryParameter_Value) isGqlQueryParameter_ParameterType() {} + func (*GqlQueryParameter_Cursor) isGqlQueryParameter_ParameterType() {} func (m *GqlQueryParameter) GetParameterType() isGqlQueryParameter_ParameterType { @@ -1069,7 +1073,7 @@ func (m *QueryResultBatch) Reset() { *m = QueryResultBatch{} } func (m *QueryResultBatch) String() string { return proto.CompactTextString(m) } func (*QueryResultBatch) ProtoMessage() {} func (*QueryResultBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_query_78e38e7bbd181d7f, []int{11} + return fileDescriptor_query_756a9031b51ce9dc, []int{11} } func (m *QueryResultBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResultBatch.Unmarshal(m, b) @@ -1160,10 +1164,10 @@ func init() { } func init() { - proto.RegisterFile("google/datastore/v1beta3/query.proto", fileDescriptor_query_78e38e7bbd181d7f) + proto.RegisterFile("google/datastore/v1beta3/query.proto", fileDescriptor_query_756a9031b51ce9dc) } -var fileDescriptor_query_78e38e7bbd181d7f = []byte{ +var fileDescriptor_query_756a9031b51ce9dc = []byte{ // 1323 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, 0x14, 0x35, 0xa9, 0x87, 0xa5, 0xab, 0x17, 0x33, 0x69, 0x53, 0xc6, 0x79, 0xd4, 0x21, 0x92, 0x46, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go index 04df02c6c..a88e069fd 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go @@ -8,9 +8,7 @@ import fmt "fmt" import math "math" import any "github.com/golang/protobuf/ptypes/any" import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" import _ "google.golang.org/genproto/googleapis/api/annotations" -import _ "google.golang.org/genproto/googleapis/rpc/status" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -50,7 +48,7 @@ func (x ConsoleOutputStream) String() string { return proto.EnumName(ConsoleOutputStream_name, int32(x)) } func (ConsoleOutputStream) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0} } // How did the event stream finish. @@ -83,7 +81,7 @@ func (x BuildEvent_BuildComponentStreamFinished_FinishType) String() string { return proto.EnumName(BuildEvent_BuildComponentStreamFinished_FinishType_name, int32(x)) } func (BuildEvent_BuildComponentStreamFinished_FinishType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 5, 0} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 5, 0} } // Which build component generates this event stream. Each build component @@ -118,10 +116,10 @@ func (x StreamId_BuildComponent) String() string { return proto.EnumName(StreamId_BuildComponent_name, int32(x)) } func (StreamId_BuildComponent) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{1, 0} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{1, 0} } -// An event representing some state change that occured in the build. This +// An event representing some state change that occurred in the build. This // message does not include field for uniquely identifying an event. type BuildEvent struct { // The timestamp of this event. @@ -150,7 +148,7 @@ func (m *BuildEvent) Reset() { *m = BuildEvent{} } func (m *BuildEvent) String() string { return proto.CompactTextString(m) } func (*BuildEvent) ProtoMessage() {} func (*BuildEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0} } func (m *BuildEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent.Unmarshal(m, b) @@ -170,6 +168,13 @@ func (m *BuildEvent) XXX_DiscardUnknown() { var xxx_messageInfo_BuildEvent proto.InternalMessageInfo +func (m *BuildEvent) GetEventTime() *timestamp.Timestamp { + if m != nil { + return m.EventTime + } + return nil +} + type isBuildEvent_Event interface { isBuildEvent_Event() } @@ -177,40 +182,56 @@ type isBuildEvent_Event interface { type BuildEvent_InvocationAttemptStarted_ struct { InvocationAttemptStarted *BuildEvent_InvocationAttemptStarted `protobuf:"bytes,51,opt,name=invocation_attempt_started,json=invocationAttemptStarted,proto3,oneof"` } + type BuildEvent_InvocationAttemptFinished_ struct { InvocationAttemptFinished *BuildEvent_InvocationAttemptFinished `protobuf:"bytes,52,opt,name=invocation_attempt_finished,json=invocationAttemptFinished,proto3,oneof"` } + type BuildEvent_BuildEnqueued_ struct { BuildEnqueued *BuildEvent_BuildEnqueued `protobuf:"bytes,53,opt,name=build_enqueued,json=buildEnqueued,proto3,oneof"` } + type BuildEvent_BuildFinished_ struct { BuildFinished *BuildEvent_BuildFinished `protobuf:"bytes,55,opt,name=build_finished,json=buildFinished,proto3,oneof"` } + type BuildEvent_ConsoleOutput_ struct { ConsoleOutput *BuildEvent_ConsoleOutput `protobuf:"bytes,56,opt,name=console_output,json=consoleOutput,proto3,oneof"` } + type BuildEvent_ComponentStreamFinished struct { ComponentStreamFinished *BuildEvent_BuildComponentStreamFinished `protobuf:"bytes,59,opt,name=component_stream_finished,json=componentStreamFinished,proto3,oneof"` } + type BuildEvent_BazelEvent struct { BazelEvent *any.Any `protobuf:"bytes,60,opt,name=bazel_event,json=bazelEvent,proto3,oneof"` } + type BuildEvent_BuildExecutionEvent struct { BuildExecutionEvent *any.Any `protobuf:"bytes,61,opt,name=build_execution_event,json=buildExecutionEvent,proto3,oneof"` } + type BuildEvent_SourceFetchEvent struct { SourceFetchEvent *any.Any `protobuf:"bytes,62,opt,name=source_fetch_event,json=sourceFetchEvent,proto3,oneof"` } -func (*BuildEvent_InvocationAttemptStarted_) isBuildEvent_Event() {} +func (*BuildEvent_InvocationAttemptStarted_) isBuildEvent_Event() {} + func (*BuildEvent_InvocationAttemptFinished_) isBuildEvent_Event() {} -func (*BuildEvent_BuildEnqueued_) isBuildEvent_Event() {} -func (*BuildEvent_BuildFinished_) isBuildEvent_Event() {} -func (*BuildEvent_ConsoleOutput_) isBuildEvent_Event() {} -func (*BuildEvent_ComponentStreamFinished) isBuildEvent_Event() {} -func (*BuildEvent_BazelEvent) isBuildEvent_Event() {} -func (*BuildEvent_BuildExecutionEvent) isBuildEvent_Event() {} -func (*BuildEvent_SourceFetchEvent) isBuildEvent_Event() {} + +func (*BuildEvent_BuildEnqueued_) isBuildEvent_Event() {} + +func (*BuildEvent_BuildFinished_) isBuildEvent_Event() {} + +func (*BuildEvent_ConsoleOutput_) isBuildEvent_Event() {} + +func (*BuildEvent_ComponentStreamFinished) isBuildEvent_Event() {} + +func (*BuildEvent_BazelEvent) isBuildEvent_Event() {} + +func (*BuildEvent_BuildExecutionEvent) isBuildEvent_Event() {} + +func (*BuildEvent_SourceFetchEvent) isBuildEvent_Event() {} func (m *BuildEvent) GetEvent() isBuildEvent_Event { if m != nil { @@ -219,13 +240,6 @@ func (m *BuildEvent) GetEvent() isBuildEvent_Event { return nil } -func (m *BuildEvent) GetEventTime() *timestamp.Timestamp { - if m != nil { - return m.EventTime - } - return nil -} - func (m *BuildEvent) GetInvocationAttemptStarted() *BuildEvent_InvocationAttemptStarted { if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptStarted_); ok { return x.InvocationAttemptStarted @@ -501,7 +515,9 @@ type BuildEvent_InvocationAttemptStarted struct { // The number of the invocation attempt, starting at 1 and increasing by 1 // for each new attempt. Can be used to determine if there is a later // invocation attempt replacing the current one a client is processing. - AttemptNumber int64 `protobuf:"varint,1,opt,name=attempt_number,json=attemptNumber,proto3" json:"attempt_number,omitempty"` + AttemptNumber int64 `protobuf:"varint,1,opt,name=attempt_number,json=attemptNumber,proto3" json:"attempt_number,omitempty"` + // Additional details about the invocation. + Details *any.Any `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -511,7 +527,7 @@ func (m *BuildEvent_InvocationAttemptStarted) Reset() { *m = BuildEvent_ func (m *BuildEvent_InvocationAttemptStarted) String() string { return proto.CompactTextString(m) } func (*BuildEvent_InvocationAttemptStarted) ProtoMessage() {} func (*BuildEvent_InvocationAttemptStarted) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 0} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 0} } func (m *BuildEvent_InvocationAttemptStarted) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent_InvocationAttemptStarted.Unmarshal(m, b) @@ -538,10 +554,15 @@ func (m *BuildEvent_InvocationAttemptStarted) GetAttemptNumber() int64 { return 0 } +func (m *BuildEvent_InvocationAttemptStarted) GetDetails() *any.Any { + if m != nil { + return m.Details + } + return nil +} + // Notification that an invocation attempt has finished. type BuildEvent_InvocationAttemptFinished struct { - // The exit code of the build tool. - ExitCode *wrappers.Int32Value `protobuf:"bytes,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // Final status of the invocation. InvocationStatus *BuildStatus `protobuf:"bytes,3,opt,name=invocation_status,json=invocationStatus,proto3" json:"invocation_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -553,7 +574,7 @@ func (m *BuildEvent_InvocationAttemptFinished) Reset() { *m = BuildEvent func (m *BuildEvent_InvocationAttemptFinished) String() string { return proto.CompactTextString(m) } func (*BuildEvent_InvocationAttemptFinished) ProtoMessage() {} func (*BuildEvent_InvocationAttemptFinished) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 1} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 1} } func (m *BuildEvent_InvocationAttemptFinished) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent_InvocationAttemptFinished.Unmarshal(m, b) @@ -573,13 +594,6 @@ func (m *BuildEvent_InvocationAttemptFinished) XXX_DiscardUnknown() { var xxx_messageInfo_BuildEvent_InvocationAttemptFinished proto.InternalMessageInfo -func (m *BuildEvent_InvocationAttemptFinished) GetExitCode() *wrappers.Int32Value { - if m != nil { - return m.ExitCode - } - return nil -} - func (m *BuildEvent_InvocationAttemptFinished) GetInvocationStatus() *BuildStatus { if m != nil { return m.InvocationStatus @@ -587,11 +601,10 @@ func (m *BuildEvent_InvocationAttemptFinished) GetInvocationStatus() *BuildStatu return nil } -// Notification that the build request is enqueued. It could happen when -// a new build request is inserted into the build queue, or when a -// build request is put back into the build queue due to a previous build -// failure. +// Notification that the build request is enqueued. type BuildEvent_BuildEnqueued struct { + // Additional details about the Build. + Details *any.Any `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -601,7 +614,7 @@ func (m *BuildEvent_BuildEnqueued) Reset() { *m = BuildEvent_BuildEnqueu func (m *BuildEvent_BuildEnqueued) String() string { return proto.CompactTextString(m) } func (*BuildEvent_BuildEnqueued) ProtoMessage() {} func (*BuildEvent_BuildEnqueued) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 2} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 2} } func (m *BuildEvent_BuildEnqueued) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent_BuildEnqueued.Unmarshal(m, b) @@ -621,6 +634,13 @@ func (m *BuildEvent_BuildEnqueued) XXX_DiscardUnknown() { var xxx_messageInfo_BuildEvent_BuildEnqueued proto.InternalMessageInfo +func (m *BuildEvent_BuildEnqueued) GetDetails() *any.Any { + if m != nil { + return m.Details + } + return nil +} + // Notification that the build request has finished, and no further // invocations will occur. Note that this applies to the entire Build. // Individual invocations trigger InvocationFinished when they finish. @@ -636,7 +656,7 @@ func (m *BuildEvent_BuildFinished) Reset() { *m = BuildEvent_BuildFinish func (m *BuildEvent_BuildFinished) String() string { return proto.CompactTextString(m) } func (*BuildEvent_BuildFinished) ProtoMessage() {} func (*BuildEvent_BuildFinished) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 3} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 3} } func (m *BuildEvent_BuildFinished) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent_BuildFinished.Unmarshal(m, b) @@ -682,7 +702,7 @@ func (m *BuildEvent_ConsoleOutput) Reset() { *m = BuildEvent_ConsoleOutp func (m *BuildEvent_ConsoleOutput) String() string { return proto.CompactTextString(m) } func (*BuildEvent_ConsoleOutput) ProtoMessage() {} func (*BuildEvent_ConsoleOutput) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 4} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 4} } func (m *BuildEvent_ConsoleOutput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent_ConsoleOutput.Unmarshal(m, b) @@ -702,6 +722,13 @@ func (m *BuildEvent_ConsoleOutput) XXX_DiscardUnknown() { var xxx_messageInfo_BuildEvent_ConsoleOutput proto.InternalMessageInfo +func (m *BuildEvent_ConsoleOutput) GetType() ConsoleOutputStream { + if m != nil { + return m.Type + } + return ConsoleOutputStream_UNKNOWN +} + type isBuildEvent_ConsoleOutput_Output interface { isBuildEvent_ConsoleOutput_Output() } @@ -709,11 +736,13 @@ type isBuildEvent_ConsoleOutput_Output interface { type BuildEvent_ConsoleOutput_TextOutput struct { TextOutput string `protobuf:"bytes,2,opt,name=text_output,json=textOutput,proto3,oneof"` } + type BuildEvent_ConsoleOutput_BinaryOutput struct { BinaryOutput []byte `protobuf:"bytes,3,opt,name=binary_output,json=binaryOutput,proto3,oneof"` } -func (*BuildEvent_ConsoleOutput_TextOutput) isBuildEvent_ConsoleOutput_Output() {} +func (*BuildEvent_ConsoleOutput_TextOutput) isBuildEvent_ConsoleOutput_Output() {} + func (*BuildEvent_ConsoleOutput_BinaryOutput) isBuildEvent_ConsoleOutput_Output() {} func (m *BuildEvent_ConsoleOutput) GetOutput() isBuildEvent_ConsoleOutput_Output { @@ -723,13 +752,6 @@ func (m *BuildEvent_ConsoleOutput) GetOutput() isBuildEvent_ConsoleOutput_Output return nil } -func (m *BuildEvent_ConsoleOutput) GetType() ConsoleOutputStream { - if m != nil { - return m.Type - } - return ConsoleOutputStream_UNKNOWN -} - func (m *BuildEvent_ConsoleOutput) GetTextOutput() string { if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_TextOutput); ok { return x.TextOutput @@ -826,7 +848,7 @@ func (m *BuildEvent_BuildComponentStreamFinished) Reset() { func (m *BuildEvent_BuildComponentStreamFinished) String() string { return proto.CompactTextString(m) } func (*BuildEvent_BuildComponentStreamFinished) ProtoMessage() {} func (*BuildEvent_BuildComponentStreamFinished) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{0, 5} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{0, 5} } func (m *BuildEvent_BuildComponentStreamFinished) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildEvent_BuildComponentStreamFinished.Unmarshal(m, b) @@ -871,7 +893,7 @@ func (m *StreamId) Reset() { *m = StreamId{} } func (m *StreamId) String() string { return proto.CompactTextString(m) } func (*StreamId) ProtoMessage() {} func (*StreamId) Descriptor() ([]byte, []int) { - return fileDescriptor_build_events_cc132f62a908b693, []int{1} + return fileDescriptor_build_events_2e5c61003ea466eb, []int{1} } func (m *StreamId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamId.Unmarshal(m, b) @@ -927,67 +949,65 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/build/v1/build_events.proto", fileDescriptor_build_events_cc132f62a908b693) -} - -var fileDescriptor_build_events_cc132f62a908b693 = []byte{ - // 927 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x6d, 0x6f, 0xe3, 0x44, - 0x10, 0x8e, 0xdb, 0xa3, 0x4d, 0xa7, 0x49, 0xce, 0xb7, 0xc7, 0xa9, 0x8e, 0x5b, 0xf1, 0x52, 0x54, - 0x09, 0x81, 0x70, 0xd4, 0x14, 0x74, 0x07, 0x47, 0x4f, 0xca, 0x8b, 0xab, 0x98, 0xeb, 0xd9, 0xd1, - 0x26, 0xe5, 0x78, 0xf9, 0x10, 0x1c, 0x7b, 0x9b, 0xb3, 0x94, 0x78, 0x8d, 0xbd, 0x0e, 0x0d, 0x12, - 0x82, 0x5f, 0x83, 0xc4, 0x1f, 0xe1, 0xc7, 0xf0, 0x07, 0xe0, 0x23, 0xf2, 0xee, 0xba, 0x49, 0xda, - 0xa6, 0x77, 0x85, 0x6f, 0xbb, 0x33, 0xcf, 0x3c, 0xcf, 0xcc, 0xec, 0x8c, 0x65, 0xf8, 0x78, 0x44, - 0xe9, 0x68, 0x4c, 0x6a, 0x3e, 0x99, 0x32, 0x4a, 0xc7, 0x49, 0x6d, 0x98, 0x06, 0x63, 0xbf, 0x36, - 0x3d, 0x14, 0x87, 0x01, 0x99, 0x92, 0x90, 0x25, 0x46, 0x14, 0x53, 0x46, 0x91, 0x26, 0xc0, 0x46, - 0x0e, 0x36, 0x38, 0xc6, 0x98, 0x1e, 0xea, 0x7b, 0x92, 0xc6, 0x8d, 0x82, 0x9a, 0x1b, 0x86, 0x94, - 0xb9, 0x2c, 0xa0, 0xa1, 0x8c, 0xd3, 0x5f, 0x27, 0x92, 0x30, 0x97, 0xa5, 0x39, 0xb8, 0x2a, 0xc1, - 0xfc, 0x36, 0x4c, 0xcf, 0x6b, 0x6e, 0x38, 0x93, 0xae, 0x77, 0xaf, 0xba, 0x58, 0x30, 0x21, 0x09, - 0x73, 0x27, 0x91, 0x04, 0xbc, 0x73, 0x15, 0xf0, 0x53, 0xec, 0x46, 0x11, 0x89, 0x73, 0xee, 0x1d, - 0xe9, 0x8f, 0x23, 0xaf, 0xb6, 0x28, 0xba, 0xff, 0x77, 0x09, 0xa0, 0x99, 0xe5, 0x62, 0x66, 0xf5, - 0xa2, 0xcf, 0x01, 0x78, 0xe1, 0x83, 0x4c, 0x40, 0x53, 0xde, 0x53, 0x3e, 0xdc, 0xae, 0xeb, 0x86, - 0xac, 0x3e, 0x27, 0x37, 0xfa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0x34, 0x00, 0xcf, 0x39, 0xf6, 0x5f, 0x40, 0x65, 0xd9, - 0x89, 0x1e, 0xc1, 0x83, 0x33, 0xfb, 0xb9, 0xed, 0xbc, 0xb4, 0x07, 0x2d, 0xe7, 0x45, 0xd7, 0xb1, - 0x4d, 0xbb, 0xaf, 0x16, 0x50, 0x05, 0xa0, 0xe5, 0xd8, 0x7d, 0xec, 0x9c, 0x9e, 0x9a, 0x58, 0x55, - 0x10, 0xc0, 0xc6, 0x4b, 0x07, 0x3f, 0x37, 0xb1, 0xba, 0x86, 0x8a, 0x70, 0xaf, 0xef, 0x38, 0xa7, - 0xea, 0xfa, 0x47, 0x5f, 0xc0, 0xc3, 0x1b, 0xe6, 0x25, 0xeb, 0x8c, 0xe4, 0x54, 0x0b, 0x59, 0x64, - 0xaf, 0xdf, 0x76, 0xce, 0xfa, 0x82, 0xa5, 0xd7, 0x6f, 0x9b, 0x18, 0xab, 0x6b, 0xcd, 0x04, 0xf6, - 0x3c, 0x3a, 0x59, 0x59, 0x4d, 0xf3, 0xfe, 0xfc, 0x45, 0xbb, 0xd9, 0x86, 0x76, 0x95, 0xef, 0x8e, - 0x25, 0x78, 0x44, 0xc7, 0x6e, 0x38, 0x32, 0x68, 0x3c, 0xaa, 0x8d, 0x48, 0xc8, 0xf7, 0xb7, 0x26, - 0x5c, 0x6e, 0x14, 0x24, 0xd7, 0x7f, 0x4b, 0x9e, 0xf2, 0xc3, 0x3f, 0x8a, 0x32, 0xdc, 0xe0, 0xe0, - 0xa3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x84, 0x0f, 0x0f, 0xdf, 0x27, 0x09, 0x00, 0x00, + proto.RegisterFile("google/devtools/build/v1/build_events.proto", fileDescriptor_build_events_2e5c61003ea466eb) +} + +var fileDescriptor_build_events_2e5c61003ea466eb = []byte{ + // 896 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4,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, 0xa7, 0x7d, 0xe3, 0x02, 0xf0, 0x8a, 0xb1, 0xff, 0x1c, 0x1a, + 0xeb, 0x4e, 0x74, 0x1f, 0xee, 0x9e, 0xdb, 0xcf, 0x6c, 0xe7, 0x85, 0x3d, 0xec, 0x38, 0xcf, 0xfb, + 0x8e, 0x6d, 0xda, 0xae, 0x5a, 0x41, 0x0d, 0x80, 0x8e, 0x63, 0xbb, 0xd8, 0x39, 0x3b, 0x33, 0xb1, + 0xaa, 0x20, 0x80, 0xea, 0x0b, 0x07, 0x3f, 0x33, 0xb1, 0xba, 0x81, 0x6a, 0x70, 0xc7, 0x75, 0x9c, + 0x33, 0x75, 0xf3, 0x93, 0xaf, 0xe1, 0xde, 0x25, 0xf3, 0x92, 0xdd, 0x8c, 0x64, 0xaa, 0x95, 0x2c, + 0x72, 0xe0, 0x76, 0x9d, 0x73, 0x57, 0x50, 0x06, 0x6e, 0xd7, 0xc4, 0x58, 0xdd, 0x68, 0x27, 0xb0, + 0xe7, 0xd3, 0x69, 0x69, 0x37, 0xed, 0x77, 0x57, 0x2f, 0xda, 0xcf, 0x96, 0xa6, 0xaf, 0xfc, 0x78, + 0x2c, 0xc5, 0x63, 0x3a, 0xf1, 0xa2, 0xb1, 0x41, 0x67, 0xe3, 0xd6, 0x98, 0x44, 0x7c, 0xa5, 0x5a, + 0xc2, 0xe5, 0xc5, 0x61, 0xf2, 0xf6, 0x5f, 0x90, 0x27, 0xfc, 0xf0, 0x8f, 0xa2, 0x8c, 0xaa, 0x5c, + 0xfc, 0xe8, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xcf, 0xda, 0xac, 0x13, 0x09, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go index a362821e7..5519845ba 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go @@ -71,7 +71,7 @@ func (x BuildStatus_Result) String() string { return proto.EnumName(BuildStatus_Result_name, int32(x)) } func (BuildStatus_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_build_status_72c860664f7eaf4b, []int{0, 0} + return fileDescriptor_build_status_ac8c345d98bfecf7, []int{0, 0} } // Status used for both invocation attempt and overall build completion. @@ -89,7 +89,7 @@ func (m *BuildStatus) Reset() { *m = BuildStatus{} } func (m *BuildStatus) String() string { return proto.CompactTextString(m) } func (*BuildStatus) ProtoMessage() {} func (*BuildStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_build_status_72c860664f7eaf4b, []int{0} + return fileDescriptor_build_status_ac8c345d98bfecf7, []int{0} } func (m *BuildStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildStatus.Unmarshal(m, b) @@ -129,10 +129,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/build/v1/build_status.proto", fileDescriptor_build_status_72c860664f7eaf4b) + proto.RegisterFile("google/devtools/build/v1/build_status.proto", fileDescriptor_build_status_ac8c345d98bfecf7) } -var fileDescriptor_build_status_72c860664f7eaf4b = []byte{ +var fileDescriptor_build_status_ac8c345d98bfecf7 = []byte{ // 390 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4f, 0x0b, 0xd3, 0x30, 0x18, 0xc6, 0xcd, 0xd4, 0x4e, 0x33, 0x1d, 0x35, 0xa8, 0x6c, 0x63, 0xc2, 0xd8, 0x69, 0xa0, 0xa4, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go index 64cdd6bd9..a25b6ea04 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go @@ -52,7 +52,7 @@ func (x PublishLifecycleEventRequest_ServiceLevel) String() string { return proto.EnumName(PublishLifecycleEventRequest_ServiceLevel_name, int32(x)) } func (PublishLifecycleEventRequest_ServiceLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_publish_build_event_392a703d66bd0f43, []int{0, 0} + return fileDescriptor_publish_build_event_a0919655b5c3f1cf, []int{0, 0} } // Publishes 'lifecycle events' that update the high-level state of a build: @@ -78,7 +78,9 @@ type PublishLifecycleEventRequest struct { // invocations if the OrderedBuildEvent.event type is // BuildEnqueued/InvocationAttemptStarted. NotificationKeywords []string `protobuf:"bytes,4,rep,name=notification_keywords,json=notificationKeywords,proto3" json:"notification_keywords,omitempty"` - // This field identifies which project (if any) the build is associated with. + // The project this build is associated with. + // This should match the project used for the initial call to + // PublishLifecycleEvent (containing a BuildEnqueued message). ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -89,7 +91,7 @@ func (m *PublishLifecycleEventRequest) Reset() { *m = PublishLifecycleEv func (m *PublishLifecycleEventRequest) String() string { return proto.CompactTextString(m) } func (*PublishLifecycleEventRequest) ProtoMessage() {} func (*PublishLifecycleEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_publish_build_event_392a703d66bd0f43, []int{0} + return fileDescriptor_publish_build_event_a0919655b5c3f1cf, []int{0} } func (m *PublishLifecycleEventRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishLifecycleEventRequest.Unmarshal(m, b) @@ -160,7 +162,7 @@ func (m *PublishBuildToolEventStreamResponse) Reset() { *m = PublishBuil func (m *PublishBuildToolEventStreamResponse) String() string { return proto.CompactTextString(m) } func (*PublishBuildToolEventStreamResponse) ProtoMessage() {} func (*PublishBuildToolEventStreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_publish_build_event_392a703d66bd0f43, []int{1} + return fileDescriptor_publish_build_event_a0919655b5c3f1cf, []int{1} } func (m *PublishBuildToolEventStreamResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishBuildToolEventStreamResponse.Unmarshal(m, b) @@ -214,7 +216,7 @@ func (m *OrderedBuildEvent) Reset() { *m = OrderedBuildEvent{} } func (m *OrderedBuildEvent) String() string { return proto.CompactTextString(m) } func (*OrderedBuildEvent) ProtoMessage() {} func (*OrderedBuildEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_publish_build_event_392a703d66bd0f43, []int{2} + return fileDescriptor_publish_build_event_a0919655b5c3f1cf, []int{2} } func (m *OrderedBuildEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OrderedBuildEvent.Unmarshal(m, b) @@ -255,15 +257,8 @@ func (m *OrderedBuildEvent) GetEvent() *BuildEvent { return nil } +// Streaming request message for PublishBuildToolEventStream. type PublishBuildToolEventStreamRequest struct { - // Which build event stream this event belongs to. - StreamId *StreamId `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Deprecated: Do not use. - // The position of this event in the stream. The sequence numbers for a build - // event stream should be a sequence of consecutive natural numbers starting - // from one. (1, 2, 3, ...) - SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Deprecated: Do not use. - // The actual event. - Event *BuildEvent `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` // Deprecated: Do not use. // The build event with position info. // New publishing clients should use this field rather than the 3 above. OrderedBuildEvent *OrderedBuildEvent `protobuf:"bytes,4,opt,name=ordered_build_event,json=orderedBuildEvent,proto3" json:"ordered_build_event,omitempty"` @@ -272,6 +267,10 @@ type PublishBuildToolEventStreamRequest struct { // or ordered_build_event.sequence_number is 1 in this message. If this field // is empty, BES will not publish notification messages for this stream. NotificationKeywords []string `protobuf:"bytes,5,rep,name=notification_keywords,json=notificationKeywords,proto3" json:"notification_keywords,omitempty"` + // The project this build is associated with. + // This should match the project used for the initial call to + // PublishLifecycleEvent (containing a BuildEnqueued message). + ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -281,7 +280,7 @@ func (m *PublishBuildToolEventStreamRequest) Reset() { *m = PublishBuild func (m *PublishBuildToolEventStreamRequest) String() string { return proto.CompactTextString(m) } func (*PublishBuildToolEventStreamRequest) ProtoMessage() {} func (*PublishBuildToolEventStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_publish_build_event_392a703d66bd0f43, []int{3} + return fileDescriptor_publish_build_event_a0919655b5c3f1cf, []int{3} } func (m *PublishBuildToolEventStreamRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishBuildToolEventStreamRequest.Unmarshal(m, b) @@ -301,30 +300,6 @@ func (m *PublishBuildToolEventStreamRequest) XXX_DiscardUnknown() { var xxx_messageInfo_PublishBuildToolEventStreamRequest proto.InternalMessageInfo -// Deprecated: Do not use. -func (m *PublishBuildToolEventStreamRequest) GetStreamId() *StreamId { - if m != nil { - return m.StreamId - } - return nil -} - -// Deprecated: Do not use. -func (m *PublishBuildToolEventStreamRequest) GetSequenceNumber() int64 { - if m != nil { - return m.SequenceNumber - } - return 0 -} - -// Deprecated: Do not use. -func (m *PublishBuildToolEventStreamRequest) GetEvent() *BuildEvent { - if m != nil { - return m.Event - } - return nil -} - func (m *PublishBuildToolEventStreamRequest) GetOrderedBuildEvent() *OrderedBuildEvent { if m != nil { return m.OrderedBuildEvent @@ -339,6 +314,13 @@ func (m *PublishBuildToolEventStreamRequest) GetNotificationKeywords() []string return nil } +func (m *PublishBuildToolEventStreamRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + func init() { proto.RegisterType((*PublishLifecycleEventRequest)(nil), "google.devtools.build.v1.PublishLifecycleEventRequest") proto.RegisterType((*PublishBuildToolEventStreamResponse)(nil), "google.devtools.build.v1.PublishBuildToolEventStreamResponse") @@ -360,8 +342,8 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type PublishBuildEventClient interface { // Publish a build event stating the new state of a build (typically from the - // build queue). If the event is a BuildEnqueued event, also register the new - // build request ID and its build type to BES. + // build queue). The BuildEnqueued event must be publishd before all other + // events for the same build ID. // // The backend will persist the event and deliver it to registered frontend // jobs immediately without batching. @@ -426,8 +408,8 @@ func (x *publishBuildEventPublishBuildToolEventStreamClient) Recv() (*PublishBui // PublishBuildEventServer is the server API for PublishBuildEvent service. type PublishBuildEventServer interface { // Publish a build event stating the new state of a build (typically from the - // build queue). If the event is a BuildEnqueued event, also register the new - // build request ID and its build type to BES. + // build queue). The BuildEnqueued event must be publishd before all other + // events for the same build ID. // // The backend will persist the event and deliver it to registered frontend // jobs immediately without batching. @@ -510,51 +492,51 @@ var _PublishBuildEvent_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/build/v1/publish_build_event.proto", fileDescriptor_publish_build_event_392a703d66bd0f43) -} - -var fileDescriptor_publish_build_event_392a703d66bd0f43 = []byte{ - // 668 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0x26, 0x69, 0xab, 0x2f, 0x93, 0x36, 0xa5, 0x03, 0x05, 0x93, 0xb6, 0x28, 0x32, 0x08, - 0x22, 0x2a, 0xd9, 0x34, 0x95, 0x58, 0x14, 0xca, 0x4f, 0x4a, 0x16, 0x11, 0x55, 0x5a, 0xb9, 0x11, - 0x0b, 0x58, 0x58, 0x8e, 0x7d, 0x9b, 0x0e, 0x75, 0x3c, 0xc6, 0x33, 0x36, 0xea, 0x96, 0x17, 0xe8, - 0x82, 0x27, 0xe0, 0x31, 0x58, 0xf0, 0x14, 0xbc, 0x02, 0x48, 0x3c, 0x02, 0x4b, 0xe4, 0x19, 0x07, - 0x99, 0x06, 0x07, 0x91, 0x05, 0x3b, 0xcf, 0xdc, 0x7b, 0xcf, 0x9d, 0x73, 0xee, 0x8f, 0x71, 0x6b, - 0xc8, 0xd8, 0xd0, 0x07, 0xd3, 0x83, 0x44, 0x30, 0xe6, 0x73, 0x73, 0x10, 0x53, 0xdf, 0x33, 0x93, - 0x2d, 0x33, 0x8c, 0x07, 0x3e, 0xe5, 0x27, 0xb6, 0xbc, 0xb0, 0x21, 0x81, 0x40, 0x18, 0x61, 0xc4, - 0x04, 0x23, 0x9a, 0x8a, 0x31, 0xc6, 0x31, 0x86, 0x74, 0x31, 0x92, 0xad, 0xfa, 0x7a, 0x86, 0xe6, - 0x84, 0xd4, 0x74, 0x82, 0x80, 0x09, 0x47, 0x50, 0x16, 0x70, 0x15, 0x57, 0xdf, 0x2c, 0xcc, 0x95, - 0xcb, 0x31, 0x76, 0xbe, 0x91, 0x39, 0xcb, 0xd3, 0x20, 0x3e, 0x36, 0xbd, 0x38, 0x92, 0x68, 0x99, - 0x7d, 0xed, 0xa2, 0x1d, 0x46, 0xa1, 0x38, 0x53, 0x46, 0xfd, 0x43, 0x19, 0xaf, 0x1f, 0xaa, 0xf7, - 0xef, 0xd3, 0x63, 0x70, 0xcf, 0x5c, 0x1f, 0x3a, 0x29, 0xba, 0x05, 0x6f, 0x62, 0xe0, 0x82, 0x9c, - 0xe0, 0x25, 0x0e, 0x51, 0x42, 0x5d, 0xb0, 0x7d, 0x48, 0xc0, 0xd7, 0x50, 0x03, 0x35, 0x6b, 0xad, - 0x3d, 0xa3, 0x88, 0x9a, 0x31, 0x0d, 0xce, 0x38, 0x52, 0x58, 0xfb, 0x29, 0x94, 0xb5, 0xc8, 0x73, - 0x27, 0xb2, 0x8f, 0xab, 0x39, 0x76, 0x5a, 0xa9, 0x81, 0x9a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, 0x10, 0x78, 0x87, 0xa9, 0x3c, 0x87, 0xe8, 0xe5, 0x6e, 0xe6, - 0x39, 0x64, 0xbe, 0x13, 0x0c, 0x0d, 0x16, 0x0d, 0xcd, 0x21, 0x04, 0x52, 0x3c, 0x53, 0x99, 0x9c, - 0x90, 0xf2, 0xc9, 0xbf, 0xcf, 0x03, 0xf9, 0xf1, 0x1d, 0xa1, 0xc1, 0x82, 0x74, 0xde, 0xfe, 0x11, - 0x00, 0x00, 0xff, 0xff, 0xf0, 0x9d, 0x50, 0x3a, 0x15, 0x07, 0x00, 0x00, + proto.RegisterFile("google/devtools/build/v1/publish_build_event.proto", fileDescriptor_publish_build_event_a0919655b5c3f1cf) +} + +var fileDescriptor_publish_build_event_a0919655b5c3f1cf = []byte{ + // 670 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0x66, 0x9b, 0xb6, 0x22, 0x9b, 0x36, 0xa5, 0x0b, 0x05, 0x93, 0x16, 0x14, 0x2d, 0x48, 0x44, + 0xad, 0x64, 0xd3, 0x44, 0xe2, 0x50, 0xa8, 0x80, 0x94, 0x48, 0x44, 0x54, 0x69, 0xe5, 0x46, 0x1c, + 0xca, 0xc1, 0x38, 0xf6, 0x34, 0x35, 0x75, 0xbc, 0xc6, 0xbb, 0x0e, 0xaa, 0x10, 0x17, 0x5e, 0x80, + 0x03, 0x4f, 0xc0, 0x63, 0xf0, 0x08, 0xdc, 0x90, 0x10, 0x6f, 0xc0, 0x99, 0x33, 0x47, 0xe4, 0x5d, + 0x07, 0x0c, 0xc1, 0x41, 0xe4, 0xc0, 0xcd, 0xbb, 0x33, 0xdf, 0x37, 0xf3, 0xcd, 0xcf, 0x1a, 0xd7, + 0xfb, 0x8c, 0xf5, 0x7d, 0x30, 0x5c, 0x18, 0x0a, 0xc6, 0x7c, 0x6e, 0xf4, 0x62, 0xcf, 0x77, 0x8d, + 0xe1, 0xa6, 0x11, 0xc6, 0x3d, 0xdf, 0xe3, 0xc7, 0x96, 0xbc, 0xb0, 0x60, 0x08, 0x81, 0xd0, 0xc3, + 0x88, 0x09, 0x46, 0x34, 0x85, 0xd1, 0x47, 0x18, 0x5d, 0xba, 0xe8, 0xc3, 0xcd, 0xca, 0x5a, 0xca, + 0x66, 0x87, 0x9e, 0x61, 0x07, 0x01, 0x13, 0xb6, 0xf0, 0x58, 0xc0, 0x15, 0xae, 0xb2, 0x91, 0x1b, + 0x2b, 0x13, 0x63, 0xe4, 0x7c, 0x35, 0x75, 0x96, 0xa7, 0x5e, 0x7c, 0x64, 0xb8, 0x71, 0x24, 0xd9, + 0x52, 0xfb, 0xea, 0xef, 0x76, 0x18, 0x84, 0xe2, 0x54, 0x19, 0xe9, 0xbb, 0x02, 0x5e, 0xdb, 0x57, + 0xf9, 0xef, 0x7a, 0x47, 0xe0, 0x9c, 0x3a, 0x3e, 0xb4, 0x12, 0x76, 0x13, 0x9e, 0xc7, 0xc0, 0x05, + 0x39, 0xc6, 0x8b, 0x1c, 0xa2, 0xa1, 0xe7, 0x80, 0xe5, 0xc3, 0x10, 0x7c, 0x0d, 0x55, 0x51, 0xad, + 0x5c, 0xdf, 0xd1, 0xf3, 0xa4, 0xe9, 0x93, 0xe8, 0xf4, 0x03, 0xc5, 0xb5, 0x9b, 0x50, 0x99, 0x0b, + 0x3c, 0x73, 0x22, 0xbb, 0xb8, 0x94, 0x51, 0xa7, 0xcd, 0x54, 0x51, 0xad, 0x54, 0xdf, 0xc8, 0x8f, + 0xb3, 0x17, 0xb9, 0x10, 0x81, 0xdb, 0x4c, 0xce, 0x2a, 0x06, 0xee, 0xfd, 0xf8, 0x26, 0xf7, 0x70, + 0x99, 0x8b, 0x08, 0xec, 0x81, 0x25, 0xbc, 0x01, 0xb0, 0x58, 0x68, 0x05, 0x49, 0x78, 0x79, 0x44, + 0x38, 0x2a, 0x87, 0xfe, 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, 0x97, 0xce, 0x8d, + 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x68, 0x27, 0x13, 0xed, 0x06, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go index 2dbf74930..822f48a7f 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go @@ -13,6 +13,7 @@ import _ "google.golang.org/genproto/googleapis/api/annotations" import _ "google.golang.org/genproto/googleapis/api/httpbody" import _ "google.golang.org/genproto/googleapis/cloud/audit" import longrunning "google.golang.org/genproto/googleapis/longrunning" +import _ "google.golang.org/genproto/protobuf/field_mask" import ( context "golang.org/x/net/context" @@ -77,7 +78,7 @@ func (x Build_Status) String() string { return proto.EnumName(Build_Status_name, int32(x)) } func (Build_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{10, 0} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{10, 0} } // Specifies the hash algorithm, if any. @@ -107,7 +108,7 @@ func (x Hash_HashType) String() string { return proto.EnumName(Hash_HashType_name, int32(x)) } func (Hash_HashType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{16, 0} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{16, 0} } // Specifies the manner in which the build should be verified, if at all. @@ -133,7 +134,7 @@ func (x BuildOptions_VerifyOption) String() string { return proto.EnumName(BuildOptions_VerifyOption_name, int32(x)) } func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{30, 0} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 0} } // Supported VM sizes. @@ -163,7 +164,7 @@ func (x BuildOptions_MachineType) String() string { return proto.EnumName(BuildOptions_MachineType_name, int32(x)) } func (BuildOptions_MachineType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{30, 1} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 1} } // Specifies the behavior when there is an error in the substitution checks. @@ -190,7 +191,7 @@ func (x BuildOptions_SubstitutionOption) String() string { return proto.EnumName(BuildOptions_SubstitutionOption_name, int32(x)) } func (BuildOptions_SubstitutionOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{30, 2} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 2} } // Specifies the behavior when writing build logs to Google Cloud Storage. @@ -221,7 +222,38 @@ func (x BuildOptions_LogStreamingOption) String() string { return proto.EnumName(BuildOptions_LogStreamingOption_name, int32(x)) } func (BuildOptions_LogStreamingOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{30, 3} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 3} +} + +// Specifies the logging mode. +type BuildOptions_LoggingMode int32 + +const ( + // The service determines the logging mode. The default is `LEGACY`. Do not + // rely on the default logging behavior as it may change in the future. + BuildOptions_LOGGING_UNSPECIFIED BuildOptions_LoggingMode = 0 + // Stackdriver logging and Cloud Storage logging are enabled. + BuildOptions_LEGACY BuildOptions_LoggingMode = 1 + // Only Cloud Storage logging is enabled. + BuildOptions_GCS_ONLY BuildOptions_LoggingMode = 2 +) + +var BuildOptions_LoggingMode_name = map[int32]string{ + 0: "LOGGING_UNSPECIFIED", + 1: "LEGACY", + 2: "GCS_ONLY", +} +var BuildOptions_LoggingMode_value = map[string]int32{ + "LOGGING_UNSPECIFIED": 0, + "LEGACY": 1, + "GCS_ONLY": 2, +} + +func (x BuildOptions_LoggingMode) String() string { + return proto.EnumName(BuildOptions_LoggingMode_name, int32(x)) +} +func (BuildOptions_LoggingMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 4} } // Specifies a build to retry. @@ -239,7 +271,7 @@ func (m *RetryBuildRequest) Reset() { *m = RetryBuildRequest{} } func (m *RetryBuildRequest) String() string { return proto.CompactTextString(m) } func (*RetryBuildRequest) ProtoMessage() {} func (*RetryBuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{0} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{0} } func (m *RetryBuildRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RetryBuildRequest.Unmarshal(m, b) @@ -290,7 +322,7 @@ func (m *RunBuildTriggerRequest) Reset() { *m = RunBuildTriggerRequest{} func (m *RunBuildTriggerRequest) String() string { return proto.CompactTextString(m) } func (*RunBuildTriggerRequest) ProtoMessage() {} func (*RunBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{1} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{1} } func (m *RunBuildTriggerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunBuildTriggerRequest.Unmarshal(m, b) @@ -354,7 +386,7 @@ func (m *StorageSource) Reset() { *m = StorageSource{} } func (m *StorageSource) String() string { return proto.CompactTextString(m) } func (*StorageSource) ProtoMessage() {} func (*StorageSource) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{2} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{2} } func (m *StorageSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StorageSource.Unmarshal(m, b) @@ -425,7 +457,7 @@ func (m *RepoSource) Reset() { *m = RepoSource{} } func (m *RepoSource) String() string { return proto.CompactTextString(m) } func (*RepoSource) ProtoMessage() {} func (*RepoSource) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{3} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{3} } func (m *RepoSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepoSource.Unmarshal(m, b) @@ -445,6 +477,20 @@ func (m *RepoSource) XXX_DiscardUnknown() { var xxx_messageInfo_RepoSource proto.InternalMessageInfo +func (m *RepoSource) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *RepoSource) GetRepoName() string { + if m != nil { + return m.RepoName + } + return "" +} + type isRepoSource_Revision interface { isRepoSource_Revision() } @@ -452,16 +498,20 @@ type isRepoSource_Revision interface { type RepoSource_BranchName struct { BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"` } + type RepoSource_TagName struct { TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"` } + type RepoSource_CommitSha struct { CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"` } func (*RepoSource_BranchName) isRepoSource_Revision() {} -func (*RepoSource_TagName) isRepoSource_Revision() {} -func (*RepoSource_CommitSha) isRepoSource_Revision() {} + +func (*RepoSource_TagName) isRepoSource_Revision() {} + +func (*RepoSource_CommitSha) isRepoSource_Revision() {} func (m *RepoSource) GetRevision() isRepoSource_Revision { if m != nil { @@ -470,20 +520,6 @@ func (m *RepoSource) GetRevision() isRepoSource_Revision { return nil } -func (m *RepoSource) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RepoSource) GetRepoName() string { - if m != nil { - return m.RepoName - } - return "" -} - func (m *RepoSource) GetBranchName() string { if x, ok := m.GetRevision().(*RepoSource_BranchName); ok { return x.BranchName @@ -610,7 +646,7 @@ func (m *Source) Reset() { *m = Source{} } func (m *Source) String() string { return proto.CompactTextString(m) } func (*Source) ProtoMessage() {} func (*Source) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{4} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{4} } func (m *Source) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Source.Unmarshal(m, b) @@ -637,12 +673,14 @@ type isSource_Source interface { type Source_StorageSource struct { StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,proto3,oneof"` } + type Source_RepoSource struct { RepoSource *RepoSource `protobuf:"bytes,3,opt,name=repo_source,json=repoSource,proto3,oneof"` } func (*Source_StorageSource) isSource_Source() {} -func (*Source_RepoSource) isSource_Source() {} + +func (*Source_RepoSource) isSource_Source() {} func (m *Source) GetSource() isSource_Source { if m != nil { @@ -746,8 +784,7 @@ type BuiltImage struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Docker Registry 2.0 digest. Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` - // Stores timing information for pushing the specified image. - // @OutputOnly + // Output only. Stores timing information for pushing the specified image. PushTiming *TimeSpan `protobuf:"bytes,4,opt,name=push_timing,json=pushTiming,proto3" json:"push_timing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -758,7 +795,7 @@ func (m *BuiltImage) Reset() { *m = BuiltImage{} } func (m *BuiltImage) String() string { return proto.CompactTextString(m) } func (*BuiltImage) ProtoMessage() {} func (*BuiltImage) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{5} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{5} } func (m *BuiltImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuiltImage.Unmarshal(m, b) @@ -860,24 +897,25 @@ type BuildStep struct { SecretEnv []string `protobuf:"bytes,8,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"` // List of volumes to mount into the build step. // - // Each volume will be created as an empty volume prior to execution of the - // build step. Upon completion of the build, volumes and their contents will - // be discarded. + // Each volume is created as an empty volume prior to execution of the + // build step. Upon completion of the build, volumes and their contents are + // discarded. // // Using a named volume in only one step is not valid as it is indicative - // of a mis-configured build request. + // of a build request with an incorrect configuration. Volumes []*Volume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` - // Stores timing information for executing this build step. - // @OutputOnly + // Output only. Stores timing information for executing this build step. Timing *TimeSpan `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"` + // Output only. Stores timing information for pulling this build step's + // builder image only. + PullTiming *TimeSpan `protobuf:"bytes,13,opt,name=pull_timing,json=pullTiming,proto3" json:"pull_timing,omitempty"` // Time limit for executing this build step. If not defined, the step has no // time limit and will be allowed to continue to run until either it completes // or the build itself times out. Timeout *duration.Duration `protobuf:"bytes,11,opt,name=timeout,proto3" json:"timeout,omitempty"` - // Status of the build step. At this time, build step status is only updated - // on build completion; step status is not updated in real-time as the build - // progresses. - // @OutputOnly + // Output only. Status of the build step. At this time, build step status is + // only updated on build completion; step status is not updated in real-time + // as the build progresses. Status Build_Status `protobuf:"varint,12,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -888,7 +926,7 @@ func (m *BuildStep) Reset() { *m = BuildStep{} } func (m *BuildStep) String() string { return proto.CompactTextString(m) } func (*BuildStep) ProtoMessage() {} func (*BuildStep) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{6} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{6} } func (m *BuildStep) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildStep.Unmarshal(m, b) @@ -978,6 +1016,13 @@ func (m *BuildStep) GetTiming() *TimeSpan { return nil } +func (m *BuildStep) GetPullTiming() *TimeSpan { + if m != nil { + return m.PullTiming + } + return nil +} + func (m *BuildStep) GetTimeout() *duration.Duration { if m != nil { return m.Timeout @@ -1014,7 +1059,7 @@ func (m *Volume) Reset() { *m = Volume{} } func (m *Volume) String() string { return proto.CompactTextString(m) } func (*Volume) ProtoMessage() {} func (*Volume) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{7} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{7} } func (m *Volume) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Volume.Unmarshal(m, b) @@ -1058,7 +1103,14 @@ type Results struct { // Path to the artifact manifest. Only populated when artifacts are uploaded. ArtifactManifest string `protobuf:"bytes,4,opt,name=artifact_manifest,json=artifactManifest,proto3" json:"artifact_manifest,omitempty"` // Number of artifacts uploaded. Only populated when artifacts are uploaded. - NumArtifacts int64 `protobuf:"varint,5,opt,name=num_artifacts,json=numArtifacts,proto3" json:"num_artifacts,omitempty"` + NumArtifacts int64 `protobuf:"varint,5,opt,name=num_artifacts,json=numArtifacts,proto3" json:"num_artifacts,omitempty"` + // List of build step outputs, produced by builder images, in the order + // corresponding to build step indices. + // + // [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) + // can produce this output by writing to `$BUILDER_OUTPUT/output`. + // Only the first 4KB of data is stored. + BuildStepOutputs [][]byte `protobuf:"bytes,6,rep,name=build_step_outputs,json=buildStepOutputs,proto3" json:"build_step_outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1068,7 +1120,7 @@ func (m *Results) Reset() { *m = Results{} } func (m *Results) String() string { return proto.CompactTextString(m) } func (*Results) ProtoMessage() {} func (*Results) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{8} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{8} } func (m *Results) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Results.Unmarshal(m, b) @@ -1116,6 +1168,13 @@ func (m *Results) GetNumArtifacts() int64 { return 0 } +func (m *Results) GetBuildStepOutputs() [][]byte { + if m != nil { + return m.BuildStepOutputs + } + return nil +} + // An artifact that was uploaded during a build. This // is a single record in the artifact manifest JSON file. type ArtifactResult struct { @@ -1134,7 +1193,7 @@ func (m *ArtifactResult) Reset() { *m = ArtifactResult{} } func (m *ArtifactResult) String() string { return proto.CompactTextString(m) } func (*ArtifactResult) ProtoMessage() {} func (*ArtifactResult) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{9} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{9} } func (m *ArtifactResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArtifactResult.Unmarshal(m, b) @@ -1168,7 +1227,7 @@ func (m *ArtifactResult) GetFileHash() []*FileHashes { return nil } -// A build resource in the Container Builder API. +// A build resource in the Cloud Build API. // // At a high level, a `Build` describes where to find source code, how to build // it (for example, the builder image to run on the source), and where to store @@ -1186,36 +1245,28 @@ func (m *ArtifactResult) GetFileHash() []*FileHashes { // resolved from the specified branch or tag. // - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. type Build struct { - // Unique identifier of the build. - // @OutputOnly + // Output only. Unique identifier of the build. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // ID of the project. - // @OutputOnly. + // Output only. ID of the project. ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Status of the build. - // @OutputOnly + // Output only. Status of the build. Status Build_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"` - // Customer-readable message about the current status. - // @OutputOnly + // Output only. Customer-readable message about the current status. StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` // The location of the source files to build. Source *Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Required. The operations to be performed on the workspace. Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps,proto3" json:"steps,omitempty"` - // Results of the build. - // @OutputOnly + // Output only. Results of the build. Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"` - // Time at which the request to create the build was received. - // @OutputOnly + // Output only. Time at which the request to create the build was received. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Time at which execution of the build was started. - // @OutputOnly + // Output only. Time at which execution of the build was started. StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time at which execution of the build was finished. + // Output only. Time at which execution of the build was finished. // // The difference between finish_time and start_time is the duration of the // build's execution. - // @OutputOnly FinishTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` // Amount of time that this build should be allowed to run, to second // granularity. If this amount of time elapses, work on the build will cease @@ -1242,17 +1293,14 @@ type Build struct { // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). // Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`. LogsBucket string `protobuf:"bytes,19,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"` - // A permanent fixed identifier for source. - // @OutputOnly + // Output only. A permanent fixed identifier for source. SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` - // The ID of the `BuildTrigger` that triggered this build, if it was - // triggered automatically. - // @OutputOnly + // Output only. The ID of the `BuildTrigger` that triggered this build, if it + // was triggered automatically. BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId,proto3" json:"build_trigger_id,omitempty"` // Special options for this build. Options *BuildOptions `protobuf:"bytes,23,opt,name=options,proto3" json:"options,omitempty"` - // URL to logs for this build in Google Cloud Console. - // @OutputOnly + // Output only. URL to logs for this build in Google Cloud Console. LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"` // Substitutions data for `Build` resource. Substitutions map[string]string `protobuf:"bytes,29,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -1260,7 +1308,8 @@ type Build struct { Tags []string `protobuf:"bytes,31,rep,name=tags,proto3" json:"tags,omitempty"` // Secrets to decrypt using Cloud Key Management Service. Secrets []*Secret `protobuf:"bytes,32,rep,name=secrets,proto3" json:"secrets,omitempty"` - // Stores timing information for phases of the build. Valid keys are: + // Output only. Stores timing information for phases of the build. Valid keys + // are: // // * BUILD: time to execute all build steps // * PUSH: time to push all specified images. @@ -1268,7 +1317,6 @@ type Build struct { // // If the build does not specify source or images, // these keys will not be included. - // @OutputOnly Timing map[string]*TimeSpan `protobuf:"bytes,33,rep,name=timing,proto3" json:"timing,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1279,7 +1327,7 @@ func (m *Build) Reset() { *m = Build{} } func (m *Build) String() string { return proto.CompactTextString(m) } func (*Build) ProtoMessage() {} func (*Build) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{10} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{10} } func (m *Build) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Build.Unmarshal(m, b) @@ -1487,7 +1535,7 @@ func (m *Artifacts) Reset() { *m = Artifacts{} } func (m *Artifacts) String() string { return proto.CompactTextString(m) } func (*Artifacts) ProtoMessage() {} func (*Artifacts) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{11} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{11} } func (m *Artifacts) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Artifacts.Unmarshal(m, b) @@ -1533,8 +1581,7 @@ type Artifacts_ArtifactObjects struct { Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // Path globs used to match files in the build's workspace. Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` - // Stores timing information for pushing all artifact objects. - // @OutputOnly + // Output only. Stores timing information for pushing all artifact objects. Timing *TimeSpan `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1545,7 +1592,7 @@ func (m *Artifacts_ArtifactObjects) Reset() { *m = Artifacts_ArtifactObj func (m *Artifacts_ArtifactObjects) String() string { return proto.CompactTextString(m) } func (*Artifacts_ArtifactObjects) ProtoMessage() {} func (*Artifacts_ArtifactObjects) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{11, 0} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{11, 0} } func (m *Artifacts_ArtifactObjects) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Artifacts_ArtifactObjects.Unmarshal(m, b) @@ -1601,7 +1648,7 @@ func (m *TimeSpan) Reset() { *m = TimeSpan{} } func (m *TimeSpan) String() string { return proto.CompactTextString(m) } func (*TimeSpan) ProtoMessage() {} func (*TimeSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{12} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{12} } func (m *TimeSpan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimeSpan.Unmarshal(m, b) @@ -1648,7 +1695,7 @@ func (m *BuildOperationMetadata) Reset() { *m = BuildOperationMetadata{} func (m *BuildOperationMetadata) String() string { return proto.CompactTextString(m) } func (*BuildOperationMetadata) ProtoMessage() {} func (*BuildOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{13} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{13} } func (m *BuildOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildOperationMetadata.Unmarshal(m, b) @@ -1684,16 +1731,16 @@ type SourceProvenance struct { // A copy of the build's `source.repo_source`, if exists, with any // revisions resolved. ResolvedRepoSource *RepoSource `protobuf:"bytes,6,opt,name=resolved_repo_source,json=resolvedRepoSource,proto3" json:"resolved_repo_source,omitempty"` - // Hash(es) of the build source, which can be used to verify that the original - // source integrity was maintained in the build. Note that `FileHashes` will - // only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. + // Output only. Hash(es) of the build source, which can be used to verify that + // the originalsource integrity was maintained in the build. Note that + // `FileHashes` willonly be populated if `BuildOptions` has requested a + // `SourceProvenanceHash`. // // The keys to this map are file paths used as build source and the values // contain the hash values for those files. // // If the build source came in a single package such as a gzipped tarfile // (`.tar.gz`), the `FileHash` will be for the single path to that file. - // @OutputOnly FileHashes map[string]*FileHashes `protobuf:"bytes,4,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1704,7 +1751,7 @@ func (m *SourceProvenance) Reset() { *m = SourceProvenance{} } func (m *SourceProvenance) String() string { return proto.CompactTextString(m) } func (*SourceProvenance) ProtoMessage() {} func (*SourceProvenance) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{14} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{14} } func (m *SourceProvenance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceProvenance.Unmarshal(m, b) @@ -1759,7 +1806,7 @@ func (m *FileHashes) Reset() { *m = FileHashes{} } func (m *FileHashes) String() string { return proto.CompactTextString(m) } func (*FileHashes) ProtoMessage() {} func (*FileHashes) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{15} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{15} } func (m *FileHashes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileHashes.Unmarshal(m, b) @@ -1801,7 +1848,7 @@ func (m *Hash) Reset() { *m = Hash{} } func (m *Hash) String() string { return proto.CompactTextString(m) } func (*Hash) ProtoMessage() {} func (*Hash) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{16} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{16} } func (m *Hash) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Hash.Unmarshal(m, b) @@ -1844,7 +1891,7 @@ type Secret struct { // // Secret environment variables must be unique across all of a build's // secrets, and must be used by at least one build step. Values can be at most - // 1 KB in size. There can be at most ten secret values across all of a + // 64 KB in size. There can be at most 100 secret values across all of a // build's secrets. SecretEnv map[string][]byte `protobuf:"bytes,3,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1856,7 +1903,7 @@ func (m *Secret) Reset() { *m = Secret{} } func (m *Secret) String() string { return proto.CompactTextString(m) } func (*Secret) ProtoMessage() {} func (*Secret) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{17} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{17} } func (m *Secret) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Secret.Unmarshal(m, b) @@ -1905,7 +1952,7 @@ func (m *CreateBuildRequest) Reset() { *m = CreateBuildRequest{} } func (m *CreateBuildRequest) String() string { return proto.CompactTextString(m) } func (*CreateBuildRequest) ProtoMessage() {} func (*CreateBuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{18} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{18} } func (m *CreateBuildRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBuildRequest.Unmarshal(m, b) @@ -1954,7 +2001,7 @@ func (m *GetBuildRequest) Reset() { *m = GetBuildRequest{} } func (m *GetBuildRequest) String() string { return proto.CompactTextString(m) } func (*GetBuildRequest) ProtoMessage() {} func (*GetBuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{19} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{19} } func (m *GetBuildRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBuildRequest.Unmarshal(m, b) @@ -2007,7 +2054,7 @@ func (m *ListBuildsRequest) Reset() { *m = ListBuildsRequest{} } func (m *ListBuildsRequest) String() string { return proto.CompactTextString(m) } func (*ListBuildsRequest) ProtoMessage() {} func (*ListBuildsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{20} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{20} } func (m *ListBuildsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBuildsRequest.Unmarshal(m, b) @@ -2070,7 +2117,7 @@ func (m *ListBuildsResponse) Reset() { *m = ListBuildsResponse{} } func (m *ListBuildsResponse) String() string { return proto.CompactTextString(m) } func (*ListBuildsResponse) ProtoMessage() {} func (*ListBuildsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{21} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{21} } func (m *ListBuildsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBuildsResponse.Unmarshal(m, b) @@ -2119,7 +2166,7 @@ func (m *CancelBuildRequest) Reset() { *m = CancelBuildRequest{} } func (m *CancelBuildRequest) String() string { return proto.CompactTextString(m) } func (*CancelBuildRequest) ProtoMessage() {} func (*CancelBuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{22} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{22} } func (m *CancelBuildRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelBuildRequest.Unmarshal(m, b) @@ -2156,9 +2203,7 @@ func (m *CancelBuildRequest) GetId() string { // Configuration for an automated build in response to source repository // changes. type BuildTrigger struct { - // Unique identifier of the trigger. - // - // @OutputOnly + // Output only. Unique identifier of the trigger. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Human-readable description of this trigger. Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` @@ -2174,24 +2219,41 @@ type BuildTrigger struct { // *BuildTrigger_Build // *BuildTrigger_Filename BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"` - // Time when the trigger was created. - // - // @OutputOnly + // Output only. Time when the trigger was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // If true, the trigger will never result in a build. Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"` // Substitutions data for Build resource. - Substitutions map[string]string `protobuf:"bytes,11,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Substitutions map[string]string `protobuf:"bytes,11,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // ignored_files and included_files are file glob matches using + // http://godoc/pkg/path/filepath#Match extended with support for "**". + // + // If ignored_files and changed files are both empty, then they are + // not used to determine whether or not to trigger a build. + // + // If ignored_files is not empty, then we ignore any files that match + // any of the ignored_file globs. If the change has no files that are + // outside of the ignored_files globs, then we do not trigger a build. + IgnoredFiles []string `protobuf:"bytes,15,rep,name=ignored_files,json=ignoredFiles,proto3" json:"ignored_files,omitempty"` + // If any of the files altered in the commit pass the ignored_files + // filter and included_files is empty, then as far as this filter is + // concerned, we should trigger the build. + // + // If any of the files altered in the commit pass the ignored_files + // filter and included_files is not empty, then we make sure that at + // least one of those files matches a included_files glob. If not, + // then we do not trigger a build. + IncludedFiles []string `protobuf:"bytes,16,rep,name=included_files,json=includedFiles,proto3" json:"included_files,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *BuildTrigger) Reset() { *m = BuildTrigger{} } func (m *BuildTrigger) String() string { return proto.CompactTextString(m) } func (*BuildTrigger) ProtoMessage() {} func (*BuildTrigger) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{23} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{23} } func (m *BuildTrigger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildTrigger.Unmarshal(m, b) @@ -2211,27 +2273,6 @@ func (m *BuildTrigger) XXX_DiscardUnknown() { var xxx_messageInfo_BuildTrigger proto.InternalMessageInfo -type isBuildTrigger_BuildTemplate interface { - isBuildTrigger_BuildTemplate() -} - -type BuildTrigger_Build struct { - Build *Build `protobuf:"bytes,4,opt,name=build,proto3,oneof"` -} -type BuildTrigger_Filename struct { - Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"` -} - -func (*BuildTrigger_Build) isBuildTrigger_BuildTemplate() {} -func (*BuildTrigger_Filename) isBuildTrigger_BuildTemplate() {} - -func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate { - if m != nil { - return m.BuildTemplate - } - return nil -} - func (m *BuildTrigger) GetId() string { if m != nil { return m.Id @@ -2253,6 +2294,29 @@ func (m *BuildTrigger) GetTriggerTemplate() *RepoSource { return nil } +type isBuildTrigger_BuildTemplate interface { + isBuildTrigger_BuildTemplate() +} + +type BuildTrigger_Build struct { + Build *Build `protobuf:"bytes,4,opt,name=build,proto3,oneof"` +} + +type BuildTrigger_Filename struct { + Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"` +} + +func (*BuildTrigger_Build) isBuildTrigger_BuildTemplate() {} + +func (*BuildTrigger_Filename) isBuildTrigger_BuildTemplate() {} + +func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate { + if m != nil { + return m.BuildTemplate + } + return nil +} + func (m *BuildTrigger) GetBuild() *Build { if x, ok := m.GetBuildTemplate().(*BuildTrigger_Build); ok { return x.Build @@ -2288,6 +2352,20 @@ func (m *BuildTrigger) GetSubstitutions() map[string]string { return nil } +func (m *BuildTrigger) GetIgnoredFiles() []string { + if m != nil { + return m.IgnoredFiles + } + return nil +} + +func (m *BuildTrigger) GetIncludedFiles() []string { + if m != nil { + return m.IncludedFiles + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*BuildTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _BuildTrigger_OneofMarshaler, _BuildTrigger_OneofUnmarshaler, _BuildTrigger_OneofSizer, []interface{}{ @@ -2373,7 +2451,7 @@ func (m *CreateBuildTriggerRequest) Reset() { *m = CreateBuildTriggerReq func (m *CreateBuildTriggerRequest) String() string { return proto.CompactTextString(m) } func (*CreateBuildTriggerRequest) ProtoMessage() {} func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{24} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{24} } func (m *CreateBuildTriggerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBuildTriggerRequest.Unmarshal(m, b) @@ -2422,7 +2500,7 @@ func (m *GetBuildTriggerRequest) Reset() { *m = GetBuildTriggerRequest{} func (m *GetBuildTriggerRequest) String() string { return proto.CompactTextString(m) } func (*GetBuildTriggerRequest) ProtoMessage() {} func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{25} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{25} } func (m *GetBuildTriggerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBuildTriggerRequest.Unmarshal(m, b) @@ -2469,7 +2547,7 @@ func (m *ListBuildTriggersRequest) Reset() { *m = ListBuildTriggersReque func (m *ListBuildTriggersRequest) String() string { return proto.CompactTextString(m) } func (*ListBuildTriggersRequest) ProtoMessage() {} func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{26} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{26} } func (m *ListBuildTriggersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBuildTriggersRequest.Unmarshal(m, b) @@ -2509,7 +2587,7 @@ func (m *ListBuildTriggersResponse) Reset() { *m = ListBuildTriggersResp func (m *ListBuildTriggersResponse) String() string { return proto.CompactTextString(m) } func (*ListBuildTriggersResponse) ProtoMessage() {} func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{27} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{27} } func (m *ListBuildTriggersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBuildTriggersResponse.Unmarshal(m, b) @@ -2551,7 +2629,7 @@ func (m *DeleteBuildTriggerRequest) Reset() { *m = DeleteBuildTriggerReq func (m *DeleteBuildTriggerRequest) String() string { return proto.CompactTextString(m) } func (*DeleteBuildTriggerRequest) ProtoMessage() {} func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{28} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{28} } func (m *DeleteBuildTriggerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBuildTriggerRequest.Unmarshal(m, b) @@ -2602,7 +2680,7 @@ func (m *UpdateBuildTriggerRequest) Reset() { *m = UpdateBuildTriggerReq func (m *UpdateBuildTriggerRequest) String() string { return proto.CompactTextString(m) } func (*UpdateBuildTriggerRequest) ProtoMessage() {} func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{29} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{29} } func (m *UpdateBuildTriggerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateBuildTriggerRequest.Unmarshal(m, b) @@ -2663,17 +2741,46 @@ type BuildOptions struct { SubstitutionOption BuildOptions_SubstitutionOption `protobuf:"varint,4,opt,name=substitution_option,json=substitutionOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption" json:"substitution_option,omitempty"` // Option to define build log streaming behavior to Google Cloud // Storage. - LogStreamingOption BuildOptions_LogStreamingOption `protobuf:"varint,5,opt,name=log_streaming_option,json=logStreamingOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption" json:"log_streaming_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LogStreamingOption BuildOptions_LogStreamingOption `protobuf:"varint,5,opt,name=log_streaming_option,json=logStreamingOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption" json:"log_streaming_option,omitempty"` + // Option to specify a `WorkerPool` for the build. User specifies the pool + // with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". + // This is an experimental field. + WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` + // Option to specify the logging mode, which determines where the logs are + // stored. + Logging BuildOptions_LoggingMode `protobuf:"varint,11,opt,name=logging,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LoggingMode" json:"logging,omitempty"` + // A list of global environment variable definitions that will exist for all + // build steps in this build. If a variable is defined in both globally and in + // a build step, the variable will use the build step value. + // + // The elements are of the form "KEY=VALUE" for the environment variable "KEY" + // being given the value "VALUE". + Env []string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty"` + // A list of global environment variables, which are encrypted using a Cloud + // Key Management Service crypto key. These values must be specified in the + // build's `Secret`. These variables will be available to all build steps + // in this build. + SecretEnv []string `protobuf:"bytes,13,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"` + // Global list of volumes to mount for ALL build steps + // + // Each volume is created as an empty volume prior to starting the build + // process. Upon completion of the build, volumes and their contents are + // discarded. Global volume names and paths cannot conflict with the volumes + // defined a build step. + // + // Using a global volume in a build with only one step is not valid as + // it is indicative of a build request with an incorrect configuration. + Volumes []*Volume `protobuf:"bytes,14,rep,name=volumes,proto3" json:"volumes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *BuildOptions) Reset() { *m = BuildOptions{} } func (m *BuildOptions) String() string { return proto.CompactTextString(m) } func (*BuildOptions) ProtoMessage() {} func (*BuildOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_cloudbuild_c911bcb92c983c7d, []int{30} + return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30} } func (m *BuildOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildOptions.Unmarshal(m, b) @@ -2735,6 +2842,41 @@ func (m *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption { return BuildOptions_STREAM_DEFAULT } +func (m *BuildOptions) GetWorkerPool() string { + if m != nil { + return m.WorkerPool + } + return "" +} + +func (m *BuildOptions) GetLogging() BuildOptions_LoggingMode { + if m != nil { + return m.Logging + } + return BuildOptions_LOGGING_UNSPECIFIED +} + +func (m *BuildOptions) GetEnv() []string { + if m != nil { + return m.Env + } + return nil +} + +func (m *BuildOptions) GetSecretEnv() []string { + if m != nil { + return m.SecretEnv + } + return nil +} + +func (m *BuildOptions) GetVolumes() []*Volume { + if m != nil { + return m.Volumes + } + return nil +} + func init() { proto.RegisterType((*RetryBuildRequest)(nil), "google.devtools.cloudbuild.v1.RetryBuildRequest") proto.RegisterType((*RunBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.RunBuildTriggerRequest") @@ -2779,6 +2921,7 @@ func init() { proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_MachineType", BuildOptions_MachineType_name, BuildOptions_MachineType_value) proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption", BuildOptions_SubstitutionOption_name, BuildOptions_SubstitutionOption_value) proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption", BuildOptions_LogStreamingOption_name, BuildOptions_LogStreamingOption_value) + proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_LoggingMode", BuildOptions_LoggingMode_name, BuildOptions_LoggingMode_value) } // Reference imports to suppress errors if they are not otherwise used. @@ -3298,182 +3441,193 @@ var _CloudBuild_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/cloudbuild/v1/cloudbuild.proto", fileDescriptor_cloudbuild_c911bcb92c983c7d) -} - -var fileDescriptor_cloudbuild_c911bcb92c983c7d = []byte{ - // 2755 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xdb, 0x6f, 0x23, 0x57, - 0x19, 0xdf, 0xb1, 0x13, 0x5f, 0x3e, 0xe7, 0x32, 0x7b, 0xba, 0x4d, 0x1d, 0x6f, 0xb7, 0x9b, 0x4e, - 0x6f, 0xe9, 0x6e, 0x6b, 0x37, 0x59, 0xb6, 0xbb, 0x4d, 0x2f, 0xbb, 0x89, 0xe3, 0x5c, 0xd4, 0xc4, - 0x59, 0xc6, 0xf6, 0x56, 0x14, 0xd0, 0x30, 0xf6, 0x9c, 0x38, 0x43, 0xc6, 0x33, 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 0x67, - 0xd1, 0x93, 0x39, 0x5a, 0x17, 0x6c, 0xe8, 0x3e, 0x64, 0x03, 0x11, 0x63, 0x32, 0xa5, 0x5e, 0x8d, - 0xad, 0x97, 0x7c, 0xb5, 0x1e, 0xb2, 0xa1, 0x77, 0xa1, 0xd0, 0x09, 0xb0, 0x49, 0x31, 0x2b, 0x72, - 0xb8, 0x98, 0xe1, 0x52, 0x4a, 0x53, 0x69, 0xd5, 0x0c, 0x91, 0x81, 0x0e, 0x62, 0x39, 0x23, 0xa0, - 0x77, 0x00, 0x08, 0x35, 0x03, 0x2a, 0x78, 0xb3, 0xb1, 0xbc, 0x79, 0xbe, 0x9a, 0xb3, 0xbe, 0x0b, - 0x85, 0x53, 0xdb, 0xb5, 0x45, 0x71, 0xc5, 0xc5, 0x5c, 0xfc, 0xbe, 0x62, 0x39, 0x67, 0x8e, 0xd4, - 0x81, 0x85, 0x99, 0xeb, 0xc0, 0xca, 0x30, 0x09, 0x17, 0x79, 0xda, 0x84, 0x99, 0xb5, 0x07, 0xf9, - 0x51, 0xf0, 0xbf, 0xc2, 0xc5, 0xc5, 0xf9, 0x61, 0x98, 0x18, 0xfa, 0x88, 0x15, 0x5d, 0x87, 0x82, - 0xe3, 0x75, 0x89, 0x21, 0x01, 0xc4, 0x33, 0xa2, 0xbc, 0x32, 0xd2, 0x8e, 0x00, 0x11, 0xdf, 0x80, - 0xcb, 0xc2, 0xed, 0x86, 0x1f, 0x78, 0x03, 0xec, 0x9a, 0x6e, 0x07, 0x17, 0x9f, 0xe5, 0x1b, 0x56, - 0x66, 0x0a, 0x9b, 0x07, 0x43, 0x36, 0x5d, 0x25, 0x13, 0x14, 0xb4, 0x0e, 0xaa, 0x28, 0x10, 0x11, - 0xcc, 0xb4, 0xc2, 0x75, 0x58, 0x6a, 0x47, 0xb0, 0xd7, 0xa1, 0x85, 0x6a, 0x90, 0xf5, 0x7c, 0x0e, - 0x22, 0x8b, 0xcf, 0xf1, 0xdd, 0x67, 0x4a, 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xd3, 0x00, 0x2b, 0x36, 0x30, 0x1e, 0x8b, 0xc9, 0x4a, 0x2b, 0x53, - 0xbd, 0x42, 0xad, 0xe7, 0xd3, 0x8b, 0xd0, 0xac, 0x37, 0x12, 0x9b, 0xf5, 0x0b, 0x05, 0xd0, 0x34, - 0x4c, 0x8b, 0xd5, 0xf0, 0xb1, 0xc8, 0x2e, 0x59, 0x34, 0xdc, 0xe7, 0x6a, 0x6f, 0x6d, 0x26, 0x55, - 0x7b, 0x14, 0xc7, 0x7f, 0x50, 0x60, 0x79, 0xe2, 0xf7, 0x16, 0xb1, 0x71, 0xfc, 0xe8, 0xdf, 0x67, - 0xc4, 0x15, 0x87, 0x2a, 0xd7, 0xf5, 0x7d, 0xed, 0x56, 0x52, 0x5d, 0x83, 0xbe, 0xbb, 0x25, 0xbf, - 0x80, 0xed, 0x9c, 0x43, 0xb1, 0xe3, 0xf5, 0xc2, 0x8d, 0xc6, 0xd4, 0x7a, 0xa0, 0x7c, 0xbc, 0x2f, - 0xe9, 0x5d, 0xcf, 0x31, 0xdd, 0x6e, 0xd9, 0x0b, 0xba, 0x95, 0x2e, 0x76, 0xb9, 0xab, 0x2b, 0x62, - 0xca, 0xf4, 0x6d, 0xf2, 0x98, 0x9f, 0xf3, 0xbc, 0x3b, 0x1a, 0xfd, 0x3e, 0x95, 0xde, 0xaf, 0xee, - 0xb4, 0x33, 0x9c, 0xf3, 0xd6, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x25, 0xf1, 0x0e, 0xc9, 0x07, - 0x24, 0x00, 0x00, + proto.RegisterFile("google/devtools/cloudbuild/v1/cloudbuild.proto", fileDescriptor_cloudbuild_97adbe7641cdd0a6) +} + +var fileDescriptor_cloudbuild_97adbe7641cdd0a6 = []byte{ + // 2941 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcb, 0x73, 0xdb, 0xd6, + 0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0x21, 0x98, 0x67, 0x06, 0xe2, 0xd6, 0x67, 0xdf, 0xd4, 0xbd, 0x86, 0xd9, 0xc5, + 0x3e, 0xe1, 0x66, 0x55, 0xc5, 0x08, 0x1d, 0x41, 0xce, 0xed, 0xfb, 0x67, 0x1a, 0x31, 0x7b, 0xa6, + 0xdd, 0x65, 0x36, 0xcd, 0x6d, 0xbd, 0x1a, 0xa1, 0x52, 0xd3, 0xec, 0xe1, 0x86, 0xab, 0xdb, 0x2a, + 0x50, 0xde, 0x26, 0x63, 0x55, 0x7e, 0x38, 0x0f, 0x59, 0x96, 0x02, 0x0d, 0x82, 0xdd, 0xc7, 0xea, + 0x20, 0x43, 0x12, 0xdb, 0x83, 0x42, 0x62, 0x2d, 0x49, 0xcd, 0x8f, 0xed, 0x01, 0x5d, 0xa5, 0x7b, + 0x5d, 0xbf, 0x90, 0x64, 0x24, 0xf6, 0x1d, 0x38, 0x69, 0x7e, 0xe8, 0x24, 0x91, 0x6f, 0x0b, 0x41, + 0xbe, 0xa1, 0x55, 0xc8, 0x7c, 0xaa, 0x9b, 0x44, 0x3b, 0x75, 0xbc, 0x42, 0x8a, 0x71, 0xa6, 0xe9, + 0xf8, 0xc0, 0xf1, 0x68, 0xb4, 0x62, 0x9b, 0x78, 0x17, 0xae, 0x63, 0xda, 0x44, 0x38, 0x3a, 0x44, + 0xa1, 0xe1, 0xe9, 0xe3, 0x8e, 0x87, 0x89, 0x46, 0x35, 0xc9, 0x30, 0xe6, 0x2c, 0xa7, 0x54, 0xec, + 0x01, 0x7a, 0x00, 0xe9, 0x81, 0x63, 0xf5, 0x7b, 0xd8, 0x2f, 0x64, 0xd7, 0x92, 0xeb, 0xb9, 0xad, + 0x9b, 0x11, 0x96, 0x78, 0xc4, 0x56, 0xab, 0x01, 0x17, 0x7a, 0x00, 0x29, 0x61, 0x49, 0x88, 0x67, + 0x49, 0xc1, 0xc6, 0xfd, 0x61, 0x59, 0x81, 0x3f, 0x16, 0x63, 0xfb, 0xc3,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, 0x55, 0x63, 0x65, 0x98, 0xb2, 0x8b, 0x2c, 0xc9, 0x82, + 0x3c, 0x3c, 0x80, 0xec, 0x28, 0x55, 0x6e, 0x32, 0x71, 0x51, 0x7e, 0x18, 0xa6, 0x91, 0x3a, 0x62, + 0x45, 0xd7, 0x21, 0x67, 0x39, 0x5d, 0x5f, 0x13, 0xc0, 0xe5, 0x39, 0x5e, 0xd6, 0x29, 0x69, 0x8f, + 0x83, 0x97, 0xff, 0x83, 0x4b, 0xdc, 0xed, 0x9a, 0xeb, 0x39, 0x03, 0x6c, 0xeb, 0x76, 0x07, 0x17, + 0x9e, 0x67, 0x1b, 0x96, 0x66, 0x0a, 0x9b, 0x87, 0x43, 0x36, 0x55, 0xf6, 0x27, 0x28, 0x68, 0x1d, + 0x78, 0xda, 0x6a, 0x21, 0xac, 0xb6, 0xc2, 0x74, 0x58, 0x6a, 0x87, 0x30, 0xdf, 0xb1, 0x81, 0x2a, + 0x90, 0x76, 0x5c, 0x06, 0x6f, 0x0b, 0x57, 0xd8, 0xee, 0x33, 0xa5, 0x47, 0x9d, 0xb3, 0xa8, 0x01, + 0x2f, 0xba, 0x02, 0x69, 0xcb, 0xe9, 0x6a, 0x7d, 0xcf, 0x2a, 0xac, 0xf2, 0xdb, 0xda, 0x72, 0xba, + 0x2d, 0xcf, 0x42, 0xff, 0x0f, 0x8b, 0x7e, 0xbf, 0xed, 0x13, 0x93, 0xf4, 0xf9, 0x2e, 0xd7, 0x58, + 0x70, 0xdf, 0x9b, 0x2d, 0x09, 0xc3, 0x9c, 0x15, 0x7a, 0x27, 0xaa, 0xe3, 0xd2, 0x68, 0x69, 0x26, + 0x7a, 0xd7, 0x2f, 0x5c, 0xe7, 0xd7, 0x31, 0xfd, 0xa6, 0x57, 0x22, 0xbf, 0x1f, 0xfd, 0xc2, 0xda, + 0x4c, 0x57, 0x62, 0x83, 0xad, 0x56, 0x03, 0x2e, 0x74, 0x34, 0xbc, 0x12, 0x5f, 0x62, 0xfc, 0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, 0xea, 0x9c, 0x5f, 0x0d, 0x04, 0x15, 0xbf, 0x2f, 0xc1, 0xf2, 0xc4, 0xe4, 0xd7, + 0xde, 0x66, 0x97, 0x61, 0x81, 0x5e, 0xff, 0xbe, 0x80, 0x84, 0x7c, 0x10, 0xc2, 0x50, 0xc9, 0xa7, + 0xc2, 0x50, 0xca, 0x77, 0x20, 0x13, 0xd0, 0x26, 0xea, 0xa8, 0x14, 0xa7, 0x8e, 0xde, 0x85, 0x0c, + 0xb6, 0x0d, 0xce, 0x98, 0x88, 0x64, 0x4c, 0x63, 0xdb, 0xa0, 0x23, 0xa5, 0x09, 0x2b, 0x22, 0xab, + 0x45, 0x8b, 0x74, 0x82, 0x89, 0x6e, 0xe8, 0x44, 0x47, 0xdb, 0xb0, 0xc0, 0x94, 0x16, 0x6a, 0xbc, + 0x3c, 0x4b, 0x22, 0xa8, 0x9c, 0x45, 0xf9, 0x75, 0x12, 0xe4, 0xc9, 0x52, 0x85, 0x0c, 0xb8, 0xe2, + 0x61, 0xdf, 0xb1, 0x06, 0x98, 0x82, 0x8d, 0xb1, 0x7e, 0x25, 0x19, 0xbf, 0x5f, 0x51, 0x9f, 0x0f, + 0x84, 0x8d, 0x77, 0x8c, 0xff, 0x0b, 0x97, 0x87, 0xbb, 0x84, 0xdb, 0x97, 0x54, 0xdc, 0x9e, 0x14, + 0x05, 0x62, 0x42, 0xfd, 0xe2, 0x37, 0xe8, 0x65, 0x25, 0x00, 0x0d, 0xf6, 0x0b, 0xf3, 0xac, 0x44, + 0x3c, 0x88, 0x59, 0xb3, 0x43, 0x18, 0x87, 0x57, 0x0c, 0x38, 0x1d, 0x12, 0x8a, 0x67, 0xb0, 0x3c, + 0x31, 0xfd, 0x98, 0xbc, 0x7f, 0x30, 0x9e, 0xf7, 0x31, 0x30, 0x55, 0x28, 0xf3, 0x6b, 0x00, 0xa3, + 0x09, 0xb4, 0x13, 0x86, 0x6a, 0x12, 0x3b, 0xd7, 0x8d, 0x08, 0xb1, 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0xf2, 0x0b, 0xcb, 0x0c, 0x23, 0xe4, 0x05, 0x91, + 0x16, 0x5a, 0x1f, 0xdd, 0x84, 0x25, 0xd3, 0xee, 0x58, 0x7d, 0x63, 0xb8, 0x4a, 0x66, 0xab, 0x16, + 0x03, 0x2a, 0x5b, 0xf6, 0xec, 0xc0, 0x71, 0x4f, 0x86, 0x25, 0xd1, 0x02, 0x08, 0xd7, 0x29, 0xdf, + 0x93, 0x60, 0x35, 0x54, 0x51, 0xe2, 0xbd, 0xfb, 0x56, 0x20, 0x2d, 0x42, 0x41, 0x94, 0x96, 0xdb, + 0x31, 0x8c, 0xa7, 0x06, 0xbc, 0xca, 0x23, 0x58, 0x09, 0x6a, 0xcc, 0x7f, 0xf2, 0xdd, 0x59, 0x79, + 0x1b, 0x0a, 0xc3, 0x84, 0x17, 0x82, 0x67, 0xac, 0x3f, 0x8a, 0x01, 0xab, 0x8f, 0x61, 0x15, 0x25, + 0xe3, 0x10, 0x32, 0x62, 0x93, 0xa0, 0x68, 0xc4, 0x3a, 0xf7, 0x90, 0x59, 0xf9, 0x18, 0x56, 0xf7, + 0xb1, 0x85, 0x9f, 0xca, 0xf6, 0x11, 0x67, 0xff, 0x95, 0x04, 0xab, 0x2d, 0xd7, 0xd0, 0xff, 0x0b, + 0xb2, 0xc3, 0x6e, 0x4f, 0x3e, 0x83, 0xdb, 0xff, 0x9e, 0x11, 0xe5, 0x4c, 0x34, 0x8e, 0xa8, 0x0d, + 0x2b, 0x53, 0xed, 0xef, 0x08, 0x77, 0xc4, 0x45, 0x0c, 0x97, 0x27, 0x1b, 0x60, 0x86, 0x41, 0x5c, + 0x8a, 0x35, 0x99, 0x11, 0xb0, 0xa1, 0x0d, 0xb0, 0x67, 0x9e, 0x5e, 0x68, 0xbc, 0x5f, 0x15, 0x2f, + 0x41, 0xf7, 0x63, 0xb4, 0xba, 0x1b, 0x8f, 0x98, 0x00, 0x3e, 0xa2, 0xb8, 0x53, 0x08, 0x0e, 0x93, + 0xd1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 0x26, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go index d5c68b115..73745e825 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go @@ -40,7 +40,7 @@ func (m *RegisterDebuggeeRequest) Reset() { *m = RegisterDebuggeeRequest func (m *RegisterDebuggeeRequest) String() string { return proto.CompactTextString(m) } func (*RegisterDebuggeeRequest) ProtoMessage() {} func (*RegisterDebuggeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_controller_4ef9c42d467cd330, []int{0} + return fileDescriptor_controller_3156ecf89afb2d41, []int{0} } func (m *RegisterDebuggeeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RegisterDebuggeeRequest.Unmarshal(m, b) @@ -70,7 +70,7 @@ func (m *RegisterDebuggeeRequest) GetDebuggee() *Debuggee { // Response for registering a debuggee. type RegisterDebuggeeResponse struct { // Debuggee resource. - // The field `id` is guranteed to be set (in addition to the echoed fields). + // The field `id` is guaranteed to be set (in addition to the echoed fields). // If the field `is_disabled` is set to `true`, the agent should disable // itself by removing all breakpoints and detaching from the application. // It should however continue to poll `RegisterDebuggee` until reenabled. @@ -84,7 +84,7 @@ func (m *RegisterDebuggeeResponse) Reset() { *m = RegisterDebuggeeRespon func (m *RegisterDebuggeeResponse) String() string { return proto.CompactTextString(m) } func (*RegisterDebuggeeResponse) ProtoMessage() {} func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_controller_4ef9c42d467cd330, []int{1} + return fileDescriptor_controller_3156ecf89afb2d41, []int{1} } func (m *RegisterDebuggeeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RegisterDebuggeeResponse.Unmarshal(m, b) @@ -136,7 +136,7 @@ func (m *ListActiveBreakpointsRequest) Reset() { *m = ListActiveBreakpoi func (m *ListActiveBreakpointsRequest) String() string { return proto.CompactTextString(m) } func (*ListActiveBreakpointsRequest) ProtoMessage() {} func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_controller_4ef9c42d467cd330, []int{2} + return fileDescriptor_controller_3156ecf89afb2d41, []int{2} } func (m *ListActiveBreakpointsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListActiveBreakpointsRequest.Unmarshal(m, b) @@ -198,7 +198,7 @@ func (m *ListActiveBreakpointsResponse) Reset() { *m = ListActiveBreakpo func (m *ListActiveBreakpointsResponse) String() string { return proto.CompactTextString(m) } func (*ListActiveBreakpointsResponse) ProtoMessage() {} func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_controller_4ef9c42d467cd330, []int{3} + return fileDescriptor_controller_3156ecf89afb2d41, []int{3} } func (m *ListActiveBreakpointsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListActiveBreakpointsResponse.Unmarshal(m, b) @@ -256,7 +256,7 @@ func (m *UpdateActiveBreakpointRequest) Reset() { *m = UpdateActiveBreak func (m *UpdateActiveBreakpointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateActiveBreakpointRequest) ProtoMessage() {} func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_controller_4ef9c42d467cd330, []int{4} + return fileDescriptor_controller_3156ecf89afb2d41, []int{4} } func (m *UpdateActiveBreakpointRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateActiveBreakpointRequest.Unmarshal(m, b) @@ -302,7 +302,7 @@ func (m *UpdateActiveBreakpointResponse) Reset() { *m = UpdateActiveBrea func (m *UpdateActiveBreakpointResponse) String() string { return proto.CompactTextString(m) } func (*UpdateActiveBreakpointResponse) ProtoMessage() {} func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_controller_4ef9c42d467cd330, []int{5} + return fileDescriptor_controller_3156ecf89afb2d41, []int{5} } func (m *UpdateActiveBreakpointResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateActiveBreakpointResponse.Unmarshal(m, b) @@ -532,10 +532,10 @@ var _Controller2_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/clouddebugger/v2/controller.proto", fileDescriptor_controller_4ef9c42d467cd330) + proto.RegisterFile("google/devtools/clouddebugger/v2/controller.proto", fileDescriptor_controller_3156ecf89afb2d41) } -var fileDescriptor_controller_4ef9c42d467cd330 = []byte{ +var fileDescriptor_controller_3156ecf89afb2d41 = []byte{ // 602 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x6a, 0xd4, 0x40, 0x14, 0x66, 0x5a, 0x94, 0x76, 0xa2, 0xb4, 0x0c, 0xa8, 0x21, 0xb6, 0xba, 0x0d, 0x52, 0x96, 0x75, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go index d2901244c..339ff3e05 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go @@ -6,6 +6,7 @@ package clouddebugger // import "google.golang.org/genproto/googleapis/devtools/ import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" +import _ "github.com/golang/protobuf/ptypes/duration" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import wrappers "github.com/golang/protobuf/ptypes/wrappers" import _ "google.golang.org/genproto/googleapis/api/annotations" @@ -65,7 +66,7 @@ func (x StatusMessage_Reference) String() string { return proto.EnumName(StatusMessage_Reference_name, int32(x)) } func (StatusMessage_Reference) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{1, 0} + return fileDescriptor_data_6ceb7693fa4f4780, []int{1, 0} } // Actions that can be taken when a breakpoint hits. @@ -95,7 +96,7 @@ func (x Breakpoint_Action) String() string { return proto.EnumName(Breakpoint_Action_name, int32(x)) } func (Breakpoint_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{5, 0} + return fileDescriptor_data_6ceb7693fa4f4780, []int{5, 0} } // Log severity levels. @@ -125,7 +126,7 @@ func (x Breakpoint_LogLevel) String() string { return proto.EnumName(Breakpoint_LogLevel_name, int32(x)) } func (Breakpoint_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{5, 1} + return fileDescriptor_data_6ceb7693fa4f4780, []int{5, 1} } // Represents a message with parameters. @@ -151,7 +152,7 @@ func (m *FormatMessage) Reset() { *m = FormatMessage{} } func (m *FormatMessage) String() string { return proto.CompactTextString(m) } func (*FormatMessage) ProtoMessage() {} func (*FormatMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{0} + return fileDescriptor_data_6ceb7693fa4f4780, []int{0} } func (m *FormatMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FormatMessage.Unmarshal(m, b) @@ -206,7 +207,7 @@ func (m *StatusMessage) Reset() { *m = StatusMessage{} } func (m *StatusMessage) String() string { return proto.CompactTextString(m) } func (*StatusMessage) ProtoMessage() {} func (*StatusMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{1} + return fileDescriptor_data_6ceb7693fa4f4780, []int{1} } func (m *StatusMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StatusMessage.Unmarshal(m, b) @@ -252,7 +253,11 @@ type SourceLocation struct { // Path to the source file within the source context of the target binary. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Line inside the file. The first line in the file has the value `1`. - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` + // Column within a line. The first column in a line as the value `1`. + // Agents that do not support setting breakpoints on specific columns ignore + // this field. + Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -262,7 +267,7 @@ func (m *SourceLocation) Reset() { *m = SourceLocation{} } func (m *SourceLocation) String() string { return proto.CompactTextString(m) } func (*SourceLocation) ProtoMessage() {} func (*SourceLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{2} + return fileDescriptor_data_6ceb7693fa4f4780, []int{2} } func (m *SourceLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceLocation.Unmarshal(m, b) @@ -296,6 +301,13 @@ func (m *SourceLocation) GetLine() int32 { return 0 } +func (m *SourceLocation) GetColumn() int32 { + if m != nil { + return m.Column + } + return 0 +} + // Represents a variable or an argument possibly of a compound object type. // Note how the following variables are represented: // @@ -450,7 +462,7 @@ func (m *Variable) Reset() { *m = Variable{} } func (m *Variable) String() string { return proto.CompactTextString(m) } func (*Variable) ProtoMessage() {} func (*Variable) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{3} + return fileDescriptor_data_6ceb7693fa4f4780, []int{3} } func (m *Variable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Variable.Unmarshal(m, b) @@ -533,7 +545,7 @@ func (m *StackFrame) Reset() { *m = StackFrame{} } func (m *StackFrame) String() string { return proto.CompactTextString(m) } func (*StackFrame) ProtoMessage() {} func (*StackFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{4} + return fileDescriptor_data_6ceb7693fa4f4780, []int{4} } func (m *StackFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StackFrame.Unmarshal(m, b) @@ -636,7 +648,8 @@ type Breakpoint struct { // * `Invalid line number` referring to location // * `Field f not found in class C` referring to condition Status *StatusMessage `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` - // The stack at breakpoint time. + // The stack at breakpoint time, where stack_frames[0] represents the most + // recently entered function. StackFrames []*StackFrame `protobuf:"bytes,7,rep,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"` // Values of evaluated expressions at breakpoint time. // The evaluated expressions appear in exactly the same order they @@ -671,7 +684,7 @@ func (m *Breakpoint) Reset() { *m = Breakpoint{} } func (m *Breakpoint) String() string { return proto.CompactTextString(m) } func (*Breakpoint) ProtoMessage() {} func (*Breakpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{5} + return fileDescriptor_data_6ceb7693fa4f4780, []int{5} } func (m *Breakpoint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Breakpoint.Unmarshal(m, b) @@ -814,10 +827,10 @@ type Debuggee struct { // Project the debuggee is associated with. // Use project number or id when registering a Google Cloud Platform project. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` - // Uniquifier to further distiguish the application. + // Uniquifier to further distinguish the application. // It is possible that different applications might have identical values in // the debuggee message, thus, incorrectly identified as a single application - // by the Controller service. This field adds salt to further distiguish the + // by the Controller service. This field adds salt to further distinguish the // application. Agents should consider seeding this field with value that // identifies the code, binary, configuration and environment. Uniquifier string `protobuf:"bytes,3,opt,name=uniquifier,proto3" json:"uniquifier,omitempty"` @@ -844,9 +857,7 @@ type Debuggee struct { SourceContexts []*v1.SourceContext `protobuf:"bytes,9,rep,name=source_contexts,json=sourceContexts,proto3" json:"source_contexts,omitempty"` // References to the locations and revisions of the source code used in the // deployed application. - // - // NOTE: this field is experimental and can be ignored. - ExtSourceContexts []*v1.ExtendedSourceContext `protobuf:"bytes,13,rep,name=ext_source_contexts,json=extSourceContexts,proto3" json:"ext_source_contexts,omitempty"` + ExtSourceContexts []*v1.ExtendedSourceContext `protobuf:"bytes,13,rep,name=ext_source_contexts,json=extSourceContexts,proto3" json:"ext_source_contexts,omitempty"` // Deprecated: Do not use. // A set of custom debuggee properties, populated by the agent, to be // displayed to the user. Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -859,7 +870,7 @@ func (m *Debuggee) Reset() { *m = Debuggee{} } func (m *Debuggee) String() string { return proto.CompactTextString(m) } func (*Debuggee) ProtoMessage() {} func (*Debuggee) Descriptor() ([]byte, []int) { - return fileDescriptor_data_96a058f081836bb3, []int{6} + return fileDescriptor_data_6ceb7693fa4f4780, []int{6} } func (m *Debuggee) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Debuggee.Unmarshal(m, b) @@ -942,6 +953,7 @@ func (m *Debuggee) GetSourceContexts() []*v1.SourceContext { return nil } +// Deprecated: Do not use. func (m *Debuggee) GetExtSourceContexts() []*v1.ExtendedSourceContext { if m != nil { return m.ExtSourceContexts @@ -972,89 +984,90 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/clouddebugger/v2/data.proto", fileDescriptor_data_96a058f081836bb3) -} - -var fileDescriptor_data_96a058f081836bb3 = []byte{ - // 1270 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x5d, 0x92, 0xda, 0xc6, - 0x16, 0x36, 0x3f, 0x03, 0xd2, 0x61, 0x60, 0x70, 0x5f, 0xfb, 0x96, 0x3c, 0xd7, 0x77, 0x4c, 0x71, - 0xfd, 0x30, 0x75, 0xe3, 0x02, 0x1b, 0x57, 0x52, 0x76, 0xfc, 0xc4, 0x30, 0x9a, 0x09, 0x65, 0x0c, - 0xb8, 0x99, 0x21, 0xa9, 0x94, 0xab, 0x94, 0x1e, 0xd4, 0x28, 0x8a, 0x85, 0xa4, 0x74, 0x37, 0x64, - 0xfc, 0xee, 0x65, 0x64, 0x05, 0xa9, 0x2c, 0x20, 0x6b, 0xc8, 0x26, 0xf2, 0x96, 0x75, 0xa4, 0xba, - 0xd5, 0xc2, 0xc2, 0x4e, 0x82, 0x27, 0xf6, 0x5b, 0xf7, 0x77, 0xbe, 0xf3, 0xb5, 0x38, 0xfd, 0x9d, - 0x23, 0x01, 0x9f, 0x78, 0x51, 0xe4, 0x05, 0xb4, 0xed, 0xd2, 0x95, 0x88, 0xa2, 0x80, 0xb7, 0x67, - 0x41, 0xb4, 0x74, 0x5d, 0x7a, 0xb1, 0xf4, 0x3c, 0xca, 0xda, 0xab, 0x4e, 0xdb, 0x25, 0x82, 0xb4, - 0x62, 0x16, 0x89, 0x08, 0x35, 0x12, 0x72, 0x2b, 0x25, 0xb7, 0x36, 0xc8, 0xad, 0x55, 0x67, 0xff, - 0xb6, 0x96, 0x23, 0xb1, 0xdf, 0x26, 0x61, 0x18, 0x09, 0x22, 0xfc, 0x28, 0xe4, 0x49, 0xfe, 0x7e, - 0xeb, 0xed, 0xc3, 0x78, 0xb4, 0x64, 0x33, 0xda, 0x5e, 0x3d, 0xd0, 0x2b, 0x67, 0x16, 0x85, 0x82, - 0x5e, 0x0a, 0xcd, 0xbf, 0xa3, 0xf9, 0x6a, 0x77, 0xb1, 0x9c, 0xb7, 0x85, 0xbf, 0xa0, 0x5c, 0x90, - 0x45, 0xac, 0x09, 0x07, 0x6f, 0x13, 0x7e, 0x60, 0x24, 0x8e, 0x29, 0xd3, 0x07, 0x36, 0x4f, 0xa1, - 0x7a, 0x12, 0xb1, 0x05, 0x11, 0xcf, 0x28, 0xe7, 0xc4, 0xa3, 0xe8, 0xdf, 0x50, 0x9a, 0x2b, 0xc0, - 0xca, 0x35, 0x72, 0x87, 0x26, 0xd6, 0x3b, 0x74, 0x00, 0x10, 0x13, 0x46, 0x16, 0x54, 0x50, 0xc6, - 0xad, 0x7c, 0xa3, 0x70, 0x68, 0xe2, 0x0c, 0xd2, 0x7c, 0x5d, 0x80, 0xea, 0x44, 0x10, 0xb1, 0xe4, - 0x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ad, 0x80, 0xbe, - 0x00, 0x93, 0x30, 0x6f, 0xb9, 0xa0, 0xa1, 0xf8, 0x27, 0xe5, 0x7c, 0x93, 0x8c, 0x8e, 0xa0, 0x24, - 0x55, 0x03, 0x6e, 0x15, 0xaf, 0x2c, 0xa3, 0x33, 0x9b, 0xbf, 0x19, 0x00, 0x47, 0x8c, 0x92, 0x97, - 0x71, 0xe4, 0x87, 0x02, 0xd5, 0x20, 0xef, 0xbb, 0xba, 0x00, 0x79, 0xdf, 0x45, 0x4f, 0xa1, 0x44, - 0x92, 0xa2, 0x54, 0x55, 0x57, 0x3f, 0xdc, 0x7e, 0xc4, 0x1b, 0xb5, 0x56, 0x57, 0xa5, 0x62, 0x2d, - 0xf1, 0x91, 0xeb, 0x78, 0x1b, 0xcc, 0x59, 0x14, 0xba, 0xfe, 0x7a, 0x32, 0x98, 0xf8, 0x0d, 0x80, - 0x1a, 0x50, 0xa1, 0x97, 0x31, 0xa3, 0x9c, 0xcb, 0x69, 0xac, 0x0a, 0x64, 0xe2, 0x2c, 0x84, 0xee, - 0x01, 0x0a, 0x22, 0xcf, 0x59, 0x24, 0xbe, 0x70, 0xf4, 0x90, 0xac, 0x29, 0xa1, 0x7a, 0x10, 0x79, - 0xda, 0x30, 0xc9, 0x28, 0x41, 0x18, 0x4c, 0xc9, 0x0e, 0xe8, 0x8a, 0x06, 0xd6, 0x9e, 0xaa, 0xc5, - 0xa7, 0x57, 0xaa, 0xc5, 0x20, 0xf2, 0x06, 0x32, 0x59, 0xfe, 0x82, 0x64, 0x85, 0xee, 0x42, 0xcd, - 0xe7, 0xce, 0xdc, 0x0f, 0x49, 0xe0, 0x48, 0x57, 0x52, 0xe5, 0x69, 0x03, 0xef, 0xfa, 0xfc, 0x44, - 0x82, 0xd2, 0xb8, 0x14, 0x3d, 0x81, 0xca, 0x8c, 0x51, 0x22, 0xa8, 0x23, 0xdf, 0x05, 0x56, 0x45, - 0x15, 0x6e, 0xff, 0x9d, 0x96, 0x39, 0x4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0xd9, 0xf6, 0x5f, 0x9f, 0x9a, 0xe1, 0x23, 0xdb, 0xf6, 0xe8, 0x97, 0x1c, 0xdc, 0x9d, - 0x45, 0x8b, 0xad, 0x0f, 0x70, 0x64, 0x1e, 0x13, 0x41, 0xc6, 0x72, 0xf8, 0x8d, 0x73, 0x5f, 0x3f, - 0xd3, 0x74, 0x2f, 0x0a, 0x48, 0xe8, 0xb5, 0x22, 0xe6, 0xb5, 0x3d, 0x1a, 0xaa, 0xd1, 0xd8, 0x4e, - 0x42, 0x24, 0xf6, 0xf9, 0x5f, 0xff, 0x5b, 0x78, 0xb2, 0x01, 0xfc, 0x94, 0xb7, 0x4e, 0x13, 0xbd, - 0x9e, 0x84, 0xd3, 0xdf, 0xca, 0x5a, 0xd3, 0xce, 0xaf, 0x69, 0xe8, 0x85, 0x0a, 0xbd, 0x48, 0x43, - 0x2f, 0xa6, 0x9d, 0x8b, 0x92, 0x3a, 0xef, 0xe1, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x75, 0x2e, - 0xfe, 0xb1, 0x9c, 0x0c, 0x00, 0x00, + proto.RegisterFile("google/devtools/clouddebugger/v2/data.proto", fileDescriptor_data_6ceb7693fa4f4780) +} + +var fileDescriptor_data_6ceb7693fa4f4780 = []byte{ + // 1293 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x72, 0xda, 0x46, + 0x14, 0x0e, 0x3f, 0x06, 0xe9, 0x60, 0x30, 0xd9, 0x26, 0x1d, 0xc5, 0x4d, 0x1d, 0x86, 0xe6, 0xc2, + 0xd3, 0x66, 0x20, 0x21, 0xd3, 0x4e, 0xd2, 0x5c, 0x01, 0x96, 0x5d, 0x26, 0x04, 0xc8, 0x62, 0xd3, + 0x4e, 0x27, 0x33, 0x9a, 0x35, 0x5a, 0x54, 0x35, 0x42, 0xa2, 0xbb, 0x0b, 0x75, 0xee, 0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 0x76, 0x06, 0xed, 0x27, + 0x76, 0x75, 0x47, 0xa6, 0xad, 0xa1, 0x49, 0xbb, 0x7f, 0x66, 0x57, 0x0b, 0xf5, 0x11, 0x54, 0xc6, + 0xca, 0x48, 0xfd, 0x68, 0xaa, 0x8c, 0x82, 0x10, 0xe4, 0x17, 0x44, 0xfc, 0xa0, 0xaf, 0x53, 0xad, + 0x25, 0x16, 0xf8, 0x21, 0x55, 0xd2, 0xef, 0x60, 0xb5, 0x96, 0x17, 0x3f, 0x8d, 0x82, 0xe5, 0x3c, + 0x96, 0x6d, 0x07, 0xeb, 0x5d, 0xfd, 0x97, 0x2c, 0x18, 0x13, 0xc2, 0x7c, 0x72, 0x1e, 0x50, 0x59, + 0x18, 0x92, 0x39, 0x4d, 0xc8, 0xe4, 0x1a, 0x5d, 0x83, 0x9d, 0x15, 0x09, 0x96, 0x31, 0x9b, 0x89, + 0xe3, 0x8d, 0xcc, 0x14, 0x2f, 0x16, 0xd4, 0x2a, 0xc4, 0x99, 0x72, 0x8d, 0x8e, 0xa0, 0x38, 0xa7, + 0xf3, 0x73, 0x69, 0xa0, 0x5c, 0x2d, 0x77, 0x58, 0x6a, 0x7d, 0xbe, 0xfd, 0x6a, 0x92, 0xa3, 0x71, + 0x52, 0x8a, 0xba, 0xb0, 0xb7, 0x22, 0xcc, 0x11, 0x12, 0x75, 0xfc, 0xd0, 0xa5, 0x17, 0x56, 0x5e, + 0x5d, 0xf4, 0x27, 0x09, 0x5b, 0x62, 0xf6, 0x46, 0x2f, 0x14, 0xf7, 0x5b, 0x13, 0xf9, 0x3c, 0xb8, + 0xbc, 0x22, 0xec, 0x54, 0x96, 0xf4, 0x64, 0x05, 0x3a, 0x81, 0x02, 0x57, 0x76, 0xb2, 0x76, 0xde, + 0xd5, 0x24, 0x1b, 0xf6, 0xc3, 0xba, 0xbc, 0xfe, 0x32, 0x0b, 0x30, 0x16, 0x64, 0xfa, 0xfc, 0x58, + 0xb6, 0x02, 0xda, 0x07, 0x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a, 0x6d, 0x59, 0xd1, 0xde, 0xfd, 0x0f, 0x5a, 0xfb, 0x42, + 0xd0, 0xd0, 0xa5, 0xee, 0x06, 0x7d, 0x27, 0x6b, 0x65, 0xf0, 0x55, 0x7a, 0x21, 0xc6, 0x9b, 0xa7, + 0x0c, 0xd6, 0xe6, 0x2d, 0x29, 0xe2, 0xaf, 0xb6, 0x2b, 0x90, 0x18, 0xe2, 0x03, 0x5b, 0xb7, 0xf3, + 0x7b, 0x06, 0x6e, 0x4f, 0xa3, 0xf9, 0xd6, 0x07, 0xe8, 0x98, 0x47, 0x44, 0x90, 0x91, 0x1c, 0x80, + 0xa3, 0xcc, 0xf7, 0x4f, 0x74, 0xba, 0x17, 0x05, 0x24, 0xf4, 0x1a, 0x11, 0xf3, 0x9a, 0x1e, 0x0d, + 0xd5, 0x78, 0x6c, 0xc6, 0x21, 0xb2, 0xf0, 0xf9, 0xdb, 0xff, 0x69, 0x3c, 0xda, 0x00, 0xfe, 0xce, + 0x64, 0x7e, 0xcd, 0x5a, 0x27, 0x31, 0x65, 0x57, 0x46, 0x92, 0x9f, 0xcb, 0x1a, 0x93, 0xd6, 0x1f, + 0x49, 0xe8, 0x99, 0x0a, 0x3d, 0x4b, 0x42, 0xcf, 0x26, 0xad, 0xf3, 0x82, 0x3a, 0xf2, 0xfe, 0x3f, + 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xe0, 0xe9, 0x2c, 0xdb, 0x0c, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go index b23cc39e4..a7f003bd7 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go @@ -44,7 +44,7 @@ func (m *SetBreakpointRequest) Reset() { *m = SetBreakpointRequest{} } func (m *SetBreakpointRequest) String() string { return proto.CompactTextString(m) } func (*SetBreakpointRequest) ProtoMessage() {} func (*SetBreakpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{0} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{0} } func (m *SetBreakpointRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetBreakpointRequest.Unmarshal(m, b) @@ -99,7 +99,7 @@ func (m *SetBreakpointResponse) Reset() { *m = SetBreakpointResponse{} } func (m *SetBreakpointResponse) String() string { return proto.CompactTextString(m) } func (*SetBreakpointResponse) ProtoMessage() {} func (*SetBreakpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{1} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{1} } func (m *SetBreakpointResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetBreakpointResponse.Unmarshal(m, b) @@ -144,7 +144,7 @@ func (m *GetBreakpointRequest) Reset() { *m = GetBreakpointRequest{} } func (m *GetBreakpointRequest) String() string { return proto.CompactTextString(m) } func (*GetBreakpointRequest) ProtoMessage() {} func (*GetBreakpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{2} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{2} } func (m *GetBreakpointRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBreakpointRequest.Unmarshal(m, b) @@ -199,7 +199,7 @@ func (m *GetBreakpointResponse) Reset() { *m = GetBreakpointResponse{} } func (m *GetBreakpointResponse) String() string { return proto.CompactTextString(m) } func (*GetBreakpointResponse) ProtoMessage() {} func (*GetBreakpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{3} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{3} } func (m *GetBreakpointResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBreakpointResponse.Unmarshal(m, b) @@ -244,7 +244,7 @@ func (m *DeleteBreakpointRequest) Reset() { *m = DeleteBreakpointRequest func (m *DeleteBreakpointRequest) String() string { return proto.CompactTextString(m) } func (*DeleteBreakpointRequest) ProtoMessage() {} func (*DeleteBreakpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{4} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{4} } func (m *DeleteBreakpointRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBreakpointRequest.Unmarshal(m, b) @@ -299,7 +299,7 @@ type ListBreakpointsRequest struct { Action *ListBreakpointsRequest_BreakpointActionValue `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` // This field is deprecated. The following fields are always stripped out of // the result: `stack_frames`, `evaluated_expressions` and `variable_table`. - StripResults bool `protobuf:"varint,5,opt,name=strip_results,json=stripResults,proto3" json:"strip_results,omitempty"` + StripResults bool `protobuf:"varint,5,opt,name=strip_results,json=stripResults,proto3" json:"strip_results,omitempty"` // Deprecated: Do not use. // A wait token that, if specified, blocks the call until the breakpoints // list has changed, or a server selected timeout has expired. The value // should be set from the last response. The error code @@ -318,7 +318,7 @@ func (m *ListBreakpointsRequest) Reset() { *m = ListBreakpointsRequest{} func (m *ListBreakpointsRequest) String() string { return proto.CompactTextString(m) } func (*ListBreakpointsRequest) ProtoMessage() {} func (*ListBreakpointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{5} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{5} } func (m *ListBreakpointsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBreakpointsRequest.Unmarshal(m, b) @@ -366,6 +366,7 @@ func (m *ListBreakpointsRequest) GetAction() *ListBreakpointsRequest_BreakpointA return nil } +// Deprecated: Do not use. func (m *ListBreakpointsRequest) GetStripResults() bool { if m != nil { return m.StripResults @@ -405,7 +406,7 @@ func (m *ListBreakpointsRequest_BreakpointActionValue) String() string { } func (*ListBreakpointsRequest_BreakpointActionValue) ProtoMessage() {} func (*ListBreakpointsRequest_BreakpointActionValue) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{5, 0} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{5, 0} } func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Unmarshal(m, b) @@ -451,7 +452,7 @@ func (m *ListBreakpointsResponse) Reset() { *m = ListBreakpointsResponse func (m *ListBreakpointsResponse) String() string { return proto.CompactTextString(m) } func (*ListBreakpointsResponse) ProtoMessage() {} func (*ListBreakpointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{6} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{6} } func (m *ListBreakpointsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBreakpointsResponse.Unmarshal(m, b) @@ -504,7 +505,7 @@ func (m *ListDebuggeesRequest) Reset() { *m = ListDebuggeesRequest{} } func (m *ListDebuggeesRequest) String() string { return proto.CompactTextString(m) } func (*ListDebuggeesRequest) ProtoMessage() {} func (*ListDebuggeesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{7} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{7} } func (m *ListDebuggeesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDebuggeesRequest.Unmarshal(m, b) @@ -561,7 +562,7 @@ func (m *ListDebuggeesResponse) Reset() { *m = ListDebuggeesResponse{} } func (m *ListDebuggeesResponse) String() string { return proto.CompactTextString(m) } func (*ListDebuggeesResponse) ProtoMessage() {} func (*ListDebuggeesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugger_5fe68327049f0eec, []int{8} + return fileDescriptor_debugger_725d1da6e9a285fc, []int{8} } func (m *ListDebuggeesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDebuggeesResponse.Unmarshal(m, b) @@ -816,59 +817,60 @@ var _Debugger2_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/clouddebugger/v2/debugger.proto", fileDescriptor_debugger_5fe68327049f0eec) -} - -var fileDescriptor_debugger_5fe68327049f0eec = []byte{ - // 797 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xdd, 0x6a, 0xdb, 0x48, - 0x14, 0x66, 0x9c, 0xcd, 0x8f, 0x8f, 0xe3, 0x24, 0x3b, 0xe4, 0x47, 0x78, 0xff, 0x8c, 0xf6, 0x87, - 0x6c, 0x76, 0x91, 0x16, 0x65, 0xd9, 0x4d, 0x76, 0x6f, 0x1a, 0x37, 0xc5, 0x31, 0xa4, 0x21, 0xb8, - 0xad, 0x0b, 0x25, 0x60, 0x64, 0x7b, 0x22, 0xd4, 0x28, 0x1a, 0x55, 0x33, 0x72, 0x5b, 0x42, 0x6e, - 0x52, 0xe8, 0x7d, 0xe9, 0x0b, 0xf4, 0xba, 0x14, 0xfa, 0x02, 0x2d, 0xf4, 0xae, 0x90, 0xdb, 0xbe, - 0x42, 0x1f, 0xa4, 0x48, 0x9a, 0x89, 0x65, 0x57, 0xad, 0x2d, 0x07, 0x72, 0x37, 0xfa, 0x66, 0xce, - 0x99, 0xef, 0xfb, 0xe6, 0xcc, 0x19, 0x81, 0x6e, 0x51, 0x6a, 0x39, 0x44, 0xef, 0x90, 0x2e, 0xa7, - 0xd4, 0x61, 0x7a, 0xdb, 0xa1, 0x41, 0xa7, 0x43, 0x5a, 0x81, 0x65, 0x11, 0x5f, 0xef, 0x1a, 0xba, - 0x1c, 0x6b, 0x9e, 0x4f, 0x39, 0xc5, 0xe5, 0x38, 0x40, 0x93, 0x01, 0x5a, 0x5f, 0x80, 0xd6, 0x35, - 0x4a, 0xdf, 0x8b, 0x94, 0xa6, 0x67, 0xeb, 0xa6, 0xeb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 0x34, - 0x4d, 0xc7, 0x69, 0x06, 0x8c, 0xf8, 0x2c, 0xe2, 0x32, 0x53, 0x9f, 0x17, 0x13, 0x5b, 0x8e, 0x73, - 0x27, 0x84, 0xf1, 0xef, 0xb0, 0x20, 0xd7, 0xda, 0xae, 0xd9, 0xe6, 0x76, 0x97, 0x44, 0x84, 0x7a, - 0x4b, 0x6b, 0x02, 0xc6, 0x87, 0x30, 0x15, 0x8e, 0xc4, 0x09, 0x15, 0x8c, 0xbd, 0xe1, 0x2e, 0xa7, - 0x2b, 0x48, 0x98, 0xbf, 0x15, 0x25, 0x6c, 0x98, 0x4e, 0x40, 0xea, 0x22, 0x7b, 0x68, 0x23, 0xe3, - 0xbe, 0xed, 0x35, 0x7d, 0xc2, 0x02, 0x87, 0x33, 0x65, 0x32, 0xe2, 0x33, 0x1b, 0x81, 0xf5, 0x18, - 0xc3, 0x3f, 0x00, 0x3c, 0x34, 0x6d, 0xde, 0xe4, 0xf4, 0x88, 0xb8, 0xca, 0x54, 0xe4, 0x41, 0x3e, - 0x44, 0x6e, 0x87, 0x40, 0x8a, 0xcb, 0x33, 0x29, 0x2e, 0x97, 0x5a, 0xb0, 0x94, 0xca, 0x05, 0xd7, - 0x60, 0xb2, 0x1b, 0x0e, 0x22, 0x77, 0xe7, 0x8c, 0xf5, 0x2c, 0x05, 0xa5, 0xc5, 0x89, 0xea, 0x71, - 0x06, 0xf5, 0x19, 0x82, 0x95, 0xcf, 0x7c, 0x10, 0xc5, 0xbb, 0x07, 0x85, 0x5e, 0x71, 0x30, 0x05, - 0x95, 0x27, 0x32, 0x57, 0x6f, 0x32, 0x01, 0xfe, 0x0d, 0xe6, 0x5d, 0xf2, 0x88, 0x37, 0x13, 0xd6, - 0xc4, 0x35, 0x58, 0x0c, 0xe1, 0xbb, 0xd2, 0x1e, 0xf5, 0x0c, 0xc1, 0x62, 0xc8, 0x69, 0x5b, 0x14, - 0xcd, 0x45, 0x6d, 0x29, 0x30, 0xed, 0xf9, 0x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 0x91, 0x57, - 0xf0, 0x72, 0x3a, 0xf9, 0xca, 0x1b, 0x04, 0xbf, 0xb4, 0xe9, 0xf1, 0xd0, 0xf4, 0x95, 0xa2, 0xbc, - 0xe5, 0xfb, 0xe1, 0x81, 0xef, 0xa3, 0x7b, 0x37, 0x45, 0x88, 0x45, 0x1d, 0xd3, 0xb5, 0x34, 0xea, - 0x5b, 0xba, 0x45, 0xdc, 0xa8, 0x1c, 0xc4, 0x1f, 0xaa, 0xe9, 0xd9, 0xec, 0xcb, 0x3f, 0x8d, 0xff, - 0xf7, 0x01, 0x2f, 0x73, 0x4a, 0x35, 0xce, 0x77, 0x3d, 0x84, 0x65, 0xaf, 0xf1, 0xb5, 0x86, 0x71, - 0x2e, 0xa7, 0x0e, 0xa2, 0xa9, 0x03, 0x39, 0x75, 0xd0, 0x30, 0x5a, 0x53, 0xd1, 0x7e, 0xeb, 0x9f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x52, 0x23, 0xb7, 0x95, 0x14, 0x0b, 0x00, 0x00, + proto.RegisterFile("google/devtools/clouddebugger/v2/debugger.proto", fileDescriptor_debugger_725d1da6e9a285fc) +} + +var fileDescriptor_debugger_725d1da6e9a285fc = []byte{ + // 802 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x06, 0x9d, 0xe5, 0xc7, 0xc7, 0x71, 0x92, 0x11, 0xf9, 0x11, 0xbc, 0x3f, 0x43, 0xfb, 0xcb, + 0xb2, 0x41, 0x1a, 0x94, 0x61, 0x4b, 0xb6, 0x9b, 0xc5, 0xcb, 0xe0, 0x18, 0xc8, 0x82, 0x40, 0xdb, + 0x3c, 0x60, 0x08, 0x60, 0xc8, 0x36, 0x23, 0xa8, 0x51, 0x44, 0x55, 0xa4, 0xdc, 0x16, 0x41, 0x6e, + 0x52, 0xa0, 0xf7, 0x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, 0x13, 0xd7, 0xe1, 0x18, 0x0b, + 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go index 0063d3339..e2309193c 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go @@ -40,7 +40,7 @@ func (m *ErrorGroup) Reset() { *m = ErrorGroup{} } func (m *ErrorGroup) String() string { return proto.CompactTextString(m) } func (*ErrorGroup) ProtoMessage() {} func (*ErrorGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{0} + return fileDescriptor_common_dcadb19d8ee67f84, []int{0} } func (m *ErrorGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorGroup.Unmarshal(m, b) @@ -95,7 +95,7 @@ func (m *TrackingIssue) Reset() { *m = TrackingIssue{} } func (m *TrackingIssue) String() string { return proto.CompactTextString(m) } func (*TrackingIssue) ProtoMessage() {} func (*TrackingIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{1} + return fileDescriptor_common_dcadb19d8ee67f84, []int{1} } func (m *TrackingIssue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TrackingIssue.Unmarshal(m, b) @@ -143,7 +143,7 @@ func (m *ErrorEvent) Reset() { *m = ErrorEvent{} } func (m *ErrorEvent) String() string { return proto.CompactTextString(m) } func (*ErrorEvent) ProtoMessage() {} func (*ErrorEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{2} + return fileDescriptor_common_dcadb19d8ee67f84, []int{2} } func (m *ErrorEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorEvent.Unmarshal(m, b) @@ -220,7 +220,7 @@ func (m *ServiceContext) Reset() { *m = ServiceContext{} } func (m *ServiceContext) String() string { return proto.CompactTextString(m) } func (*ServiceContext) ProtoMessage() {} func (*ServiceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{3} + return fileDescriptor_common_dcadb19d8ee67f84, []int{3} } func (m *ServiceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceContext.Unmarshal(m, b) @@ -294,7 +294,7 @@ func (m *ErrorContext) Reset() { *m = ErrorContext{} } func (m *ErrorContext) String() string { return proto.CompactTextString(m) } func (*ErrorContext) ProtoMessage() {} func (*ErrorContext) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{4} + return fileDescriptor_common_dcadb19d8ee67f84, []int{4} } func (m *ErrorContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorContext.Unmarshal(m, b) @@ -364,7 +364,7 @@ func (m *HttpRequestContext) Reset() { *m = HttpRequestContext{} } func (m *HttpRequestContext) String() string { return proto.CompactTextString(m) } func (*HttpRequestContext) ProtoMessage() {} func (*HttpRequestContext) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{5} + return fileDescriptor_common_dcadb19d8ee67f84, []int{5} } func (m *HttpRequestContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpRequestContext.Unmarshal(m, b) @@ -450,7 +450,7 @@ func (m *SourceLocation) Reset() { *m = SourceLocation{} } func (m *SourceLocation) String() string { return proto.CompactTextString(m) } func (*SourceLocation) ProtoMessage() {} func (*SourceLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_common_d976dc5e1833dfd5, []int{6} + return fileDescriptor_common_dcadb19d8ee67f84, []int{6} } func (m *SourceLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceLocation.Unmarshal(m, b) @@ -502,10 +502,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor_common_d976dc5e1833dfd5) + proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor_common_dcadb19d8ee67f84) } -var fileDescriptor_common_d976dc5e1833dfd5 = []byte{ +var fileDescriptor_common_dcadb19d8ee67f84 = []byte{ // 705 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0x13, 0x31, 0x10, 0x56, 0x92, 0xfe, 0xc5, 0x69, 0x53, 0x64, 0x21, 0x14, 0x02, 0xa8, 0x25, 0xbd, 0x54, 0x42, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go index 52d7ac10e..1e8d26c83 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go @@ -44,7 +44,7 @@ func (m *GetGroupRequest) Reset() { *m = GetGroupRequest{} } func (m *GetGroupRequest) String() string { return proto.CompactTextString(m) } func (*GetGroupRequest) ProtoMessage() {} func (*GetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_error_group_service_683fcc432bc8c120, []int{0} + return fileDescriptor_error_group_service_bac55f35b4462f66, []int{0} } func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupRequest.Unmarshal(m, b) @@ -84,7 +84,7 @@ func (m *UpdateGroupRequest) Reset() { *m = UpdateGroupRequest{} } func (m *UpdateGroupRequest) String() string { return proto.CompactTextString(m) } func (*UpdateGroupRequest) ProtoMessage() {} func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_error_group_service_683fcc432bc8c120, []int{1} + return fileDescriptor_error_group_service_bac55f35b4462f66, []int{1} } func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateGroupRequest.Unmarshal(m, b) @@ -228,10 +228,10 @@ var _ErrorGroupService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_group_service.proto", fileDescriptor_error_group_service_683fcc432bc8c120) + proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_group_service.proto", fileDescriptor_error_group_service_bac55f35b4462f66) } -var fileDescriptor_error_group_service_683fcc432bc8c120 = []byte{ +var fileDescriptor_error_group_service_bac55f35b4462f66 = []byte{ // 398 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcb, 0x4a, 0x23, 0x41, 0x14, 0x86, 0xe9, 0x0c, 0x33, 0x4c, 0x2a, 0x8b, 0x61, 0x6a, 0x31, 0x0c, 0xcd, 0x0c, 0x48, 0xdc, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go index 5e2e18f4b..bc1bfe8d8 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go @@ -63,7 +63,7 @@ func (x TimedCountAlignment) String() string { return proto.EnumName(TimedCountAlignment_name, int32(x)) } func (TimedCountAlignment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{0} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{0} } // A sorting order of error groups. @@ -102,7 +102,7 @@ func (x ErrorGroupOrder) String() string { return proto.EnumName(ErrorGroupOrder_name, int32(x)) } func (ErrorGroupOrder) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{1} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{1} } // The supported time ranges. @@ -149,7 +149,7 @@ func (x QueryTimeRange_Period) String() string { return proto.EnumName(QueryTimeRange_Period_name, int32(x)) } func (QueryTimeRange_Period) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{6, 0} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{6, 0} } // Specifies a set of `ErrorGroupStats` to return. @@ -203,7 +203,7 @@ func (m *ListGroupStatsRequest) Reset() { *m = ListGroupStatsRequest{} } func (m *ListGroupStatsRequest) String() string { return proto.CompactTextString(m) } func (*ListGroupStatsRequest) ProtoMessage() {} func (*ListGroupStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{0} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{0} } func (m *ListGroupStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListGroupStatsRequest.Unmarshal(m, b) @@ -315,7 +315,7 @@ func (m *ListGroupStatsResponse) Reset() { *m = ListGroupStatsResponse{} func (m *ListGroupStatsResponse) String() string { return proto.CompactTextString(m) } func (*ListGroupStatsResponse) ProtoMessage() {} func (*ListGroupStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{1} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{1} } func (m *ListGroupStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListGroupStatsResponse.Unmarshal(m, b) @@ -414,7 +414,7 @@ func (m *ErrorGroupStats) Reset() { *m = ErrorGroupStats{} } func (m *ErrorGroupStats) String() string { return proto.CompactTextString(m) } func (*ErrorGroupStats) ProtoMessage() {} func (*ErrorGroupStats) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{2} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{2} } func (m *ErrorGroupStats) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorGroupStats.Unmarshal(m, b) @@ -516,7 +516,7 @@ func (m *TimedCount) Reset() { *m = TimedCount{} } func (m *TimedCount) String() string { return proto.CompactTextString(m) } func (*TimedCount) ProtoMessage() {} func (*TimedCount) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{3} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{3} } func (m *TimedCount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimedCount.Unmarshal(m, b) @@ -588,7 +588,7 @@ func (m *ListEventsRequest) Reset() { *m = ListEventsRequest{} } func (m *ListEventsRequest) String() string { return proto.CompactTextString(m) } func (*ListEventsRequest) ProtoMessage() {} func (*ListEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{4} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{4} } func (m *ListEventsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListEventsRequest.Unmarshal(m, b) @@ -669,7 +669,7 @@ func (m *ListEventsResponse) Reset() { *m = ListEventsResponse{} } func (m *ListEventsResponse) String() string { return proto.CompactTextString(m) } func (*ListEventsResponse) ProtoMessage() {} func (*ListEventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{5} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{5} } func (m *ListEventsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListEventsResponse.Unmarshal(m, b) @@ -724,7 +724,7 @@ func (m *QueryTimeRange) Reset() { *m = QueryTimeRange{} } func (m *QueryTimeRange) String() string { return proto.CompactTextString(m) } func (*QueryTimeRange) ProtoMessage() {} func (*QueryTimeRange) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{6} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{6} } func (m *QueryTimeRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryTimeRange.Unmarshal(m, b) @@ -774,7 +774,7 @@ func (m *ServiceContextFilter) Reset() { *m = ServiceContextFilter{} } func (m *ServiceContextFilter) String() string { return proto.CompactTextString(m) } func (*ServiceContextFilter) ProtoMessage() {} func (*ServiceContextFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{7} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{7} } func (m *ServiceContextFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceContextFilter.Unmarshal(m, b) @@ -832,7 +832,7 @@ func (m *DeleteEventsRequest) Reset() { *m = DeleteEventsRequest{} } func (m *DeleteEventsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteEventsRequest) ProtoMessage() {} func (*DeleteEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{8} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{8} } func (m *DeleteEventsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteEventsRequest.Unmarshal(m, b) @@ -870,7 +870,7 @@ func (m *DeleteEventsResponse) Reset() { *m = DeleteEventsResponse{} } func (m *DeleteEventsResponse) String() string { return proto.CompactTextString(m) } func (*DeleteEventsResponse) ProtoMessage() {} func (*DeleteEventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_error_stats_service_c6f638928cb0f0d0, []int{9} + return fileDescriptor_error_stats_service_e8c4e88969c09e61, []int{9} } func (m *DeleteEventsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteEventsResponse.Unmarshal(m, b) @@ -1051,10 +1051,10 @@ var _ErrorStatsService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto", fileDescriptor_error_stats_service_c6f638928cb0f0d0) + proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto", fileDescriptor_error_stats_service_e8c4e88969c09e61) } -var fileDescriptor_error_stats_service_c6f638928cb0f0d0 = []byte{ +var fileDescriptor_error_stats_service_e8c4e88969c09e61 = []byte{ // 1328 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45, 0x14, 0x67, 0xed, 0x38, 0x89, 0x9f, 0x1d, 0xc7, 0x99, 0xa4, 0xe9, 0xd6, 0xe5, 0x23, 0x75, 0x05, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go index 6a9b5ba4c..ea75ba130 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go @@ -43,7 +43,7 @@ func (m *ReportErrorEventRequest) Reset() { *m = ReportErrorEventRequest func (m *ReportErrorEventRequest) String() string { return proto.CompactTextString(m) } func (*ReportErrorEventRequest) ProtoMessage() {} func (*ReportErrorEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_report_errors_service_f8fd8d044e7a888f, []int{0} + return fileDescriptor_report_errors_service_7b4a77afec65ac92, []int{0} } func (m *ReportErrorEventRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportErrorEventRequest.Unmarshal(m, b) @@ -89,7 +89,7 @@ func (m *ReportErrorEventResponse) Reset() { *m = ReportErrorEventRespon func (m *ReportErrorEventResponse) String() string { return proto.CompactTextString(m) } func (*ReportErrorEventResponse) ProtoMessage() {} func (*ReportErrorEventResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_report_errors_service_f8fd8d044e7a888f, []int{1} + return fileDescriptor_report_errors_service_7b4a77afec65ac92, []int{1} } func (m *ReportErrorEventResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportErrorEventResponse.Unmarshal(m, b) @@ -133,7 +133,7 @@ func (m *ReportedErrorEvent) Reset() { *m = ReportedErrorEvent{} } func (m *ReportedErrorEvent) String() string { return proto.CompactTextString(m) } func (*ReportedErrorEvent) ProtoMessage() {} func (*ReportedErrorEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_report_errors_service_f8fd8d044e7a888f, []int{2} + return fileDescriptor_report_errors_service_7b4a77afec65ac92, []int{2} } func (m *ReportedErrorEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportedErrorEvent.Unmarshal(m, b) @@ -276,10 +276,10 @@ var _ReportErrorsService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto", fileDescriptor_report_errors_service_f8fd8d044e7a888f) + proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto", fileDescriptor_report_errors_service_7b4a77afec65ac92) } -var fileDescriptor_report_errors_service_f8fd8d044e7a888f = []byte{ +var fileDescriptor_report_errors_service_7b4a77afec65ac92 = []byte{ // 490 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xcd, 0x8a, 0x13, 0x41, 0x10, 0xc7, 0x99, 0xf8, 0xb1, 0x6c, 0x47, 0x54, 0xda, 0x83, 0xc3, 0x20, 0xb8, 0xc6, 0xcb, 0xa2, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2/profiler.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2/profiler.pb.go index ff6bc0e8b..c8fb7a34b 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2/profiler.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2/profiler.pb.go @@ -54,7 +54,7 @@ const ( // interval. The profile is in particular useful for garbage collecting // languages to understand which parts of the code create most of the garbage // collection pressure to see if those can be optimized. - ProfileType_ALLOCS ProfileType = 7 + ProfileType_HEAP_ALLOC ProfileType = 7 ) var ProfileType_name = map[int32]string{ @@ -65,24 +65,24 @@ var ProfileType_name = map[int32]string{ 4: "THREADS", 5: "CONTENTION", 6: "PEAK_HEAP", - 7: "ALLOCS", + 7: "HEAP_ALLOC", } var ProfileType_value = map[string]int32{ "PROFILE_TYPE_UNSPECIFIED": 0, - "CPU": 1, - "WALL": 2, - "HEAP": 3, - "THREADS": 4, - "CONTENTION": 5, - "PEAK_HEAP": 6, - "ALLOCS": 7, + "CPU": 1, + "WALL": 2, + "HEAP": 3, + "THREADS": 4, + "CONTENTION": 5, + "PEAK_HEAP": 6, + "HEAP_ALLOC": 7, } func (x ProfileType) String() string { return proto.EnumName(ProfileType_name, int32(x)) } func (ProfileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_profiler_b0510bd0266730a7, []int{0} + return fileDescriptor_profiler_24c6f5803c16363e, []int{0} } // CreateProfileRequest describes a profile resource online creation request. @@ -105,7 +105,7 @@ func (m *CreateProfileRequest) Reset() { *m = CreateProfileRequest{} } func (m *CreateProfileRequest) String() string { return proto.CompactTextString(m) } func (*CreateProfileRequest) ProtoMessage() {} func (*CreateProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_profiler_b0510bd0266730a7, []int{0} + return fileDescriptor_profiler_24c6f5803c16363e, []int{0} } func (m *CreateProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateProfileRequest.Unmarshal(m, b) @@ -162,7 +162,7 @@ func (m *CreateOfflineProfileRequest) Reset() { *m = CreateOfflineProfil func (m *CreateOfflineProfileRequest) String() string { return proto.CompactTextString(m) } func (*CreateOfflineProfileRequest) ProtoMessage() {} func (*CreateOfflineProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_profiler_b0510bd0266730a7, []int{1} + return fileDescriptor_profiler_24c6f5803c16363e, []int{1} } func (m *CreateOfflineProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOfflineProfileRequest.Unmarshal(m, b) @@ -214,7 +214,7 @@ func (m *UpdateProfileRequest) Reset() { *m = UpdateProfileRequest{} } func (m *UpdateProfileRequest) String() string { return proto.CompactTextString(m) } func (*UpdateProfileRequest) ProtoMessage() {} func (*UpdateProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_profiler_b0510bd0266730a7, []int{2} + return fileDescriptor_profiler_24c6f5803c16363e, []int{2} } func (m *UpdateProfileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateProfileRequest.Unmarshal(m, b) @@ -281,7 +281,7 @@ func (m *Profile) Reset() { *m = Profile{} } func (m *Profile) String() string { return proto.CompactTextString(m) } func (*Profile) ProtoMessage() {} func (*Profile) Descriptor() ([]byte, []int) { - return fileDescriptor_profiler_b0510bd0266730a7, []int{3} + return fileDescriptor_profiler_24c6f5803c16363e, []int{3} } func (m *Profile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Profile.Unmarshal(m, b) @@ -378,7 +378,7 @@ func (m *Deployment) Reset() { *m = Deployment{} } func (m *Deployment) String() string { return proto.CompactTextString(m) } func (*Deployment) ProtoMessage() {} func (*Deployment) Descriptor() ([]byte, []int) { - return fileDescriptor_profiler_b0510bd0266730a7, []int{4} + return fileDescriptor_profiler_24c6f5803c16363e, []int{4} } func (m *Deployment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Deployment.Unmarshal(m, b) @@ -609,58 +609,59 @@ var _ProfilerService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/cloudprofiler/v2/profiler.proto", fileDescriptor_profiler_b0510bd0266730a7) -} - -var fileDescriptor_profiler_b0510bd0266730a7 = []byte{ - // 784 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xe2, 0x56, - 0x14, 0xee, 0xc5, 0x04, 0xc2, 0x71, 0x48, 0xad, 0xab, 0xa8, 0xa2, 0x34, 0x6d, 0x2d, 0x57, 0x95, - 0x28, 0x6d, 0x6d, 0xc9, 0x51, 0xaa, 0xfc, 0x28, 0xaa, 0x08, 0x38, 0x0a, 0x2a, 0x01, 0xcb, 0x10, - 0x55, 0xed, 0x06, 0x19, 0x7c, 0x41, 0x6e, 0x8c, 0xed, 0xda, 0x06, 0x89, 0x56, 0x91, 0x46, 0xf3, - 0x0a, 0xb3, 0x99, 0xdd, 0x2c, 0x66, 0x31, 0xab, 0x79, 0x88, 0x79, 0x81, 0xd1, 0x48, 0xf3, 0x0a, - 0xf3, 0x20, 0x23, 0xdb, 0xd7, 0x04, 0x12, 0x22, 0xc8, 0x64, 0x76, 0xf7, 0xe7, 0x9c, 0x8f, 0xef, - 0x3b, 0xe7, 0xf8, 0xbb, 0x80, 0x34, 0x74, 0x9c, 0xa1, 0x45, 0x24, 0x83, 0x4c, 0x02, 0xc7, 0xb1, - 0x7c, 0xa9, 0x6f, 0x39, 0x63, 0xc3, 0xf5, 0x9c, 0x81, 0x69, 0x11, 0x4f, 0x9a, 0xc8, 0x52, 0xb2, - 0x16, 0x5d, 0xcf, 0x09, 0x1c, 0xcc, 0xc7, 0x09, 0x62, 0x92, 0x20, 0x2e, 0x24, 0x88, 0x13, 0xb9, - 0xb8, 0x4b, 0x21, 0x75, 0xd7, 0x94, 0x74, 0xdb, 0x76, 0x02, 0x3d, 0x30, 0x1d, 0xdb, 0x8f, 0xf3, - 0x8b, 0xdf, 0xd1, 0xdb, 0x68, 0xd7, 0x1b, 0x0f, 0x24, 0x63, 0xec, 0x45, 0x01, 0xf4, 0x9e, 0xbf, - 0x7d, 0x3f, 0x30, 0x89, 0x65, 0x74, 0x47, 0xba, 0x7f, 0x45, 0x23, 0xbe, 0xbf, 0x1d, 0x11, 0x98, - 0x23, 0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 0xa0, 0xec, 0xc3, 0x66, 0x32, 0xfc, 0xd1, - 0x40, 0xb2, 0xf2, 0xd7, 0x77, 0x94, 0xd7, 0x68, 0x80, 0x36, 0x0b, 0xc5, 0x3f, 0x40, 0x3e, 0x91, - 0xd5, 0x9b, 0x06, 0xc4, 0x2f, 0x6c, 0xf0, 0xa8, 0xb4, 0xa5, 0x25, 0x5a, 0x4f, 0xc3, 0x33, 0x7c, - 0x01, 0x19, 0x4b, 0xef, 0x11, 0xcb, 0x2f, 0x64, 0x78, 0xa6, 0xc4, 0xca, 0xfb, 0x6b, 0xab, 0x16, - 0x1b, 0x51, 0x9e, 0x62, 0x07, 0xde, 0x54, 0xa3, 0x20, 0xc5, 0x43, 0x60, 0xe7, 0x8e, 0x31, 0x07, - 0xcc, 0x15, 0x99, 0xd2, 0x62, 0x87, 0x4b, 0xbc, 0x03, 0x1b, 0x13, 0xdd, 0x1a, 0xc7, 0x45, 0xce, - 0x69, 0xf1, 0xe6, 0x28, 0x75, 0x80, 0x84, 0x77, 0x08, 0xe0, 0xa6, 0x00, 0xf8, 0x5b, 0x00, 0xd7, - 0x73, 0xfe, 0x21, 0xfd, 0xa0, 0x6b, 0x1a, 0x14, 0x21, 0x47, 0x4f, 0xea, 0x46, 0x38, 0xcb, 0x81, - 0xee, 0x0d, 0x49, 0x40, 0x81, 0xe8, 0x0e, 0xab, 0x33, 0x3d, 0x4c, 0xa4, 0xe7, 0xe0, 0x21, 0x55, - 0xff, 0xcc, 0x92, 0xca, 0x4f, 0x10, 0xb0, 0x73, 0x33, 0x82, 0x77, 0xa1, 0xa0, 0x6a, 0xad, 0xb3, - 0x7a, 0x43, 0xe9, 0x76, 0xfe, 0x52, 0x95, 0xee, 0x65, 0xb3, 0xad, 0x2a, 0xd5, 0xfa, 0x59, 0x5d, - 0xa9, 0x71, 0x5f, 0xe0, 0x2c, 0x30, 0x55, 0xf5, 0x92, 0x43, 0x78, 0x13, 0xd2, 0x7f, 0x56, 0x1a, - 0x0d,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0x1d, 0x4b, 0xb7, 0x87, 0xa2, 0xe3, 0x0d, 0xa5, 0x21, 0xb1, 0x23, - 0x8b, 0xa1, 0xcf, 0xbf, 0xee, 0x9a, 0xfe, 0xfd, 0x7f, 0x01, 0x8e, 0x17, 0x0e, 0x7a, 0x99, 0x28, - 0x73, 0xef, 0x63, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3f, 0xfe, 0x98, 0x6a, 0x3b, 0x08, 0x00, 0x00, + proto.RegisterFile("google/devtools/cloudprofiler/v2/profiler.proto", fileDescriptor_profiler_24c6f5803c16363e) +} + +var fileDescriptor_profiler_24c6f5803c16363e = []byte{ + // 786 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5f, 0x6f, 0xda, 0x56, + 0x14, 0xdf, 0xc5, 0x04, 0xc2, 0x71, 0xc8, 0xac, 0xab, 0x68, 0x62, 0x2c, 0xdb, 0x2c, 0x4f, 0x93, + 0x18, 0xdb, 0x6c, 0xc9, 0x51, 0xa6, 0xfc, 0x51, 0x34, 0x11, 0x70, 0x14, 0x34, 0x02, 0x96, 0x43, + 0x34, 0x6d, 0x2f, 0xc8, 0xe0, 0x0b, 0x72, 0x63, 0x6c, 0xd7, 0x36, 0x48, 0xb4, 0xca, 0x4b, 0xd5, + 0x6f, 0xd0, 0x97, 0xbe, 0xf5, 0xa1, 0x0f, 0x7d, 0xea, 0x87, 0xe8, 0x17, 0xa8, 0x2a, 0xf5, 0x2b, + 0xf4, 0x83, 0x54, 0xb6, 0xaf, 0x09, 0x24, 0x44, 0x90, 0xa6, 0x6f, 0xe7, 0xde, 0x7b, 0xce, 0xcf, + 0xbf, 0xdf, 0xb9, 0xc7, 0x3f, 0x1b, 0xa4, 0x81, 0xe3, 0x0c, 0x2c, 0x22, 0x19, 0x64, 0x1c, 0x38, + 0x8e, 0xe5, 0x4b, 0x3d, 0xcb, 0x19, 0x19, 0xae, 0xe7, 0xf4, 0x4d, 0x8b, 0x78, 0xd2, 0x58, 0x96, + 0x92, 0x58, 0x74, 0x3d, 0x27, 0x70, 0x30, 0x1f, 0x17, 0x88, 0x49, 0x81, 0x38, 0x57, 0x20, 0x8e, + 0xe5, 0xe2, 0x36, 0x85, 0xd4, 0x5d, 0x53, 0xd2, 0x6d, 0xdb, 0x09, 0xf4, 0xc0, 0x74, 0x6c, 0x3f, + 0xae, 0x2f, 0xfe, 0x44, 0x4f, 0xa3, 0x55, 0x77, 0xd4, 0x97, 0x8c, 0x91, 0x17, 0x25, 0xd0, 0x73, + 0xfe, 0xe6, 0x79, 0xdf, 0x24, 0x96, 0xd1, 0x19, 0xea, 0xfe, 0x25, 0xcd, 0xf8, 0xf9, 0x66, 0x46, + 0x60, 0x0e, 0x89, 0x1f, 0xe8, 0x43, 0x37, 0x4e, 0x10, 0xde, 0x23, 0xd8, 0xaa, 0x7a, 0x44, 0x0f, + 0x88, 0x1a, 0xd3, 0xd2, 0xc8, 0xe3, 0x11, 0xf1, 0x03, 0xfc, 0x1d, 0x64, 0x5c, 0xdd, 0x23, 0x76, + 0x50, 0x48, 0xf3, 0xa8, 0x94, 0xd3, 0xe8, 0x0a, 0x37, 0x00, 0x0c, 0xe2, 0x5a, 0xce, 0x64, 0x18, + 0x9e, 0x21, 0x1e, 0x95, 0x58, 0xf9, 0x0f, 0x71, 0x99, 0x50, 0xb1, 0x36, 0xad, 0xd1, 0x66, 0xea, + 0xb1, 0x0a, 0x1b, 0x34, 0xab, 0x13, 0x4c, 0x5c, 0x52, 0x48, 0xf1, 0x4c, 0x69, 0x53, 0xfe, 0x73, + 0x39, 0x1e, 0x65, 0xdb, 0x9e, 0xb8, 0x44, 0x63, 0xdd, 0xeb, 0x85, 0xf0, 0x04, 0x7e, 0x88, 0xf5, + 0xb4, 0xfa, 0x7d, 0xcb, 0xb4, 0xef, 0x96, 0x85, 0xe6, 0x64, 0x55, 0x21, 0x4b, 0x51, 0x0a, 0xa9, +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x1a, 0x14, 0x21, 0x47, 0x77, 0xea, 0x46, 0x38, 0xcb, + 0x81, 0xee, 0x0d, 0x48, 0x40, 0x81, 0xe8, 0x0a, 0xab, 0x53, 0x3d, 0x4c, 0xa4, 0x67, 0xef, 0x3e, + 0x5d, 0xff, 0xca, 0x92, 0xca, 0xcf, 0x11, 0xb0, 0x33, 0x33, 0x82, 0xb7, 0xa1, 0xa0, 0x6a, 0xad, + 0x93, 0x7a, 0x43, 0xe9, 0xb4, 0xff, 0x53, 0x95, 0xce, 0x45, 0xf3, 0x5c, 0x55, 0xaa, 0xf5, 0x93, + 0xba, 0x52, 0xe3, 0xbe, 0xc1, 0x59, 0x60, 0xaa, 0xea, 0x05, 0x87, 0xf0, 0x3a, 0xa4, 0xff, 0xad, + 0x34, 0x1a, 0x5c, 0x2a, 0x8c, 0x4e, 0x95, 0x8a, 0xca, 0x31, 0x98, 0x85, 0x6c, 0xfb, 0x54, 0x53, + 0x2a, 0xb5, 0x73, 0x2e, 0x8d, 0x37, 0x01, 0xaa, 0xad, 0x66, 0x5b, 0x69, 0xb6, 0xeb, 0xad, 0x26, + 0xb7, 0x86, 0xf3, 0x90, 0x53, 0x95, 0xca, 0x3f, 0x9d, 0x28, 0x37, 0x13, 0x1e, 0x87, 0x51, 0xa7, + 0xd2, 0x68, 0xb4, 0xaa, 0x5c, 0x56, 0x7e, 0x93, 0x86, 0x6f, 0x29, 0x0d, 0xef, 0x9c, 0x78, 0x63, + 0xb3, 0x47, 0xf0, 0x2b, 0x04, 0xf9, 0x39, 0xef, 0xc3, 0x7f, 0x2d, 0xef, 0xd4, 0x22, 0xb3, 0x2c, + 0xae, 0xfe, 0x3a, 0x0b, 0xbf, 0x3f, 0xfb, 0xf8, 0xe9, 0x45, 0xea, 0x57, 0x81, 0x0f, 0xbf, 0x17, + 0x4f, 0x63, 0xf7, 0x39, 0xa2, 0x77, 0xea, 0x4b, 0xe5, 0xab, 0xe4, 0x1b, 0xe2, 0x1f, 0xa0, 0x32, + 0x7e, 0x37, 0x75, 0xe7, 0x79, 0x37, 0xc3, 0x47, 0xab, 0x12, 0x5d, 0xe8, 0x82, 0xf7, 0xe1, 0xfb, + 0x77, 0xc4, 0x77, 0x5f, 0x10, 0x97, 0xf2, 0xed, 0xcd, 0x3e, 0xf0, 0x60, 0x6a, 0x5b, 0x6f, 0x11, + 0xe4, 0xe7, 0x4c, 0x71, 0x95, 0x2e, 0x2f, 0x72, 0xd1, 0xfb, 0xb0, 0xde, 0x8f, 0x58, 0xef, 0xc8, + 0xa5, 0x98, 0x35, 0x7d, 0x5b, 0x43, 0xa7, 0x9b, 0xe1, 0x3e, 0xa5, 0x2e, 0x95, 0xaf, 0xa6, 0x7c, + 0x8f, 0x5b, 0xff, 0x9f, 0xd1, 0xc7, 0x0c, 0x1c, 0x4b, 0xb7, 0x07, 0xa2, 0xe3, 0x0d, 0xa4, 0x01, + 0xb1, 0x23, 0x9b, 0xa1, 0xbf, 0x00, 0xba, 0x6b, 0xfa, 0x77, 0xff, 0x06, 0x1c, 0xce, 0x6d, 0x74, + 0x33, 0x51, 0xe5, 0xce, 0xe7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x08, 0x2b, 0x60, 0x3f, 0x08, + 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go index 30b3fc681..63d741025 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go @@ -56,7 +56,7 @@ func (x TraceSpan_SpanKind) String() string { return proto.EnumName(TraceSpan_SpanKind_name, int32(x)) } func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{2, 0} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{2, 0} } // Type of data returned for traces in the list. @@ -94,7 +94,7 @@ func (x ListTracesRequest_ViewType) String() string { return proto.EnumName(ListTracesRequest_ViewType_name, int32(x)) } func (ListTracesRequest_ViewType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{3, 0} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{3, 0} } // A trace describes how long it takes for an application to perform an @@ -117,7 +117,7 @@ func (m *Trace) Reset() { *m = Trace{} } func (m *Trace) String() string { return proto.CompactTextString(m) } func (*Trace) ProtoMessage() {} func (*Trace) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{0} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{0} } func (m *Trace) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Trace.Unmarshal(m, b) @@ -171,7 +171,7 @@ func (m *Traces) Reset() { *m = Traces{} } func (m *Traces) String() string { return proto.CompactTextString(m) } func (*Traces) ProtoMessage() {} func (*Traces) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{1} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{1} } func (m *Traces) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Traces.Unmarshal(m, b) @@ -270,7 +270,7 @@ func (m *TraceSpan) Reset() { *m = TraceSpan{} } func (m *TraceSpan) String() string { return proto.CompactTextString(m) } func (*TraceSpan) ProtoMessage() {} func (*TraceSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{2} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{2} } func (m *TraceSpan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TraceSpan.Unmarshal(m, b) @@ -414,7 +414,7 @@ func (m *ListTracesRequest) Reset() { *m = ListTracesRequest{} } func (m *ListTracesRequest) String() string { return proto.CompactTextString(m) } func (*ListTracesRequest) ProtoMessage() {} func (*ListTracesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{3} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{3} } func (m *ListTracesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTracesRequest.Unmarshal(m, b) @@ -507,7 +507,7 @@ func (m *ListTracesResponse) Reset() { *m = ListTracesResponse{} } func (m *ListTracesResponse) String() string { return proto.CompactTextString(m) } func (*ListTracesResponse) ProtoMessage() {} func (*ListTracesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{4} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{4} } func (m *ListTracesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTracesResponse.Unmarshal(m, b) @@ -556,7 +556,7 @@ func (m *GetTraceRequest) Reset() { *m = GetTraceRequest{} } func (m *GetTraceRequest) String() string { return proto.CompactTextString(m) } func (*GetTraceRequest) ProtoMessage() {} func (*GetTraceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{5} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{5} } func (m *GetTraceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTraceRequest.Unmarshal(m, b) @@ -605,7 +605,7 @@ func (m *PatchTracesRequest) Reset() { *m = PatchTracesRequest{} } func (m *PatchTracesRequest) String() string { return proto.CompactTextString(m) } func (*PatchTracesRequest) ProtoMessage() {} func (*PatchTracesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_2bfceac29d8dd98d, []int{6} + return fileDescriptor_trace_98dc85cc2ea3983c, []int{6} } func (m *PatchTracesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PatchTracesRequest.Unmarshal(m, b) @@ -805,10 +805,10 @@ var _TraceService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/cloudtrace/v1/trace.proto", fileDescriptor_trace_2bfceac29d8dd98d) + proto.RegisterFile("google/devtools/cloudtrace/v1/trace.proto", fileDescriptor_trace_98dc85cc2ea3983c) } -var fileDescriptor_trace_2bfceac29d8dd98d = []byte{ +var fileDescriptor_trace_98dc85cc2ea3983c = []byte{ // 898 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0x1b, 0x45, 0x14, 0x66, 0xed, 0x78, 0x6d, 0x1f, 0x87, 0xd4, 0x8c, 0x68, 0x71, 0x5d, 0x2a, 0xc2, 0xaa, 0x20, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go index acdc2f11b..d07082edc 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go @@ -49,7 +49,7 @@ func (x Span_TimeEvent_MessageEvent_Type) String() string { return proto.EnumName(Span_TimeEvent_MessageEvent_Type_name, int32(x)) } func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 1, 1, 0} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1, 1, 0} } // The relationship of the current span relative to the linked span: child, @@ -80,7 +80,7 @@ func (x Span_Link_Type) String() string { return proto.EnumName(Span_Link_Type_name, int32(x)) } func (Span_Link_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 3, 0} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 3, 0} } // A span represents a single operation within a trace. Spans can be @@ -150,7 +150,7 @@ func (m *Span) Reset() { *m = Span{} } func (m *Span) String() string { return proto.CompactTextString(m) } func (*Span) ProtoMessage() {} func (*Span) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0} } func (m *Span) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span.Unmarshal(m, b) @@ -285,7 +285,7 @@ func (m *Span_Attributes) Reset() { *m = Span_Attributes{} } func (m *Span_Attributes) String() string { return proto.CompactTextString(m) } func (*Span_Attributes) ProtoMessage() {} func (*Span_Attributes) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 0} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 0} } func (m *Span_Attributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_Attributes.Unmarshal(m, b) @@ -339,7 +339,7 @@ func (m *Span_TimeEvent) Reset() { *m = Span_TimeEvent{} } func (m *Span_TimeEvent) String() string { return proto.CompactTextString(m) } func (*Span_TimeEvent) ProtoMessage() {} func (*Span_TimeEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 1} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1} } func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_TimeEvent.Unmarshal(m, b) @@ -359,6 +359,13 @@ func (m *Span_TimeEvent) XXX_DiscardUnknown() { var xxx_messageInfo_Span_TimeEvent proto.InternalMessageInfo +func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp { + if m != nil { + return m.Time + } + return nil +} + type isSpan_TimeEvent_Value interface { isSpan_TimeEvent_Value() } @@ -366,11 +373,13 @@ type isSpan_TimeEvent_Value interface { type Span_TimeEvent_Annotation_ struct { Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"` } + type Span_TimeEvent_MessageEvent_ struct { MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,proto3,oneof"` } -func (*Span_TimeEvent_Annotation_) isSpan_TimeEvent_Value() {} +func (*Span_TimeEvent_Annotation_) isSpan_TimeEvent_Value() {} + func (*Span_TimeEvent_MessageEvent_) isSpan_TimeEvent_Value() {} func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value { @@ -380,13 +389,6 @@ func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value { return nil } -func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp { - if m != nil { - return m.Time - } - return nil -} - func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation { if x, ok := m.GetValue().(*Span_TimeEvent_Annotation_); ok { return x.Annotation @@ -492,7 +494,7 @@ func (m *Span_TimeEvent_Annotation) Reset() { *m = Span_TimeEvent_Annota func (m *Span_TimeEvent_Annotation) String() string { return proto.CompactTextString(m) } func (*Span_TimeEvent_Annotation) ProtoMessage() {} func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 1, 0} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1, 0} } func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_TimeEvent_Annotation.Unmarshal(m, b) @@ -549,7 +551,7 @@ func (m *Span_TimeEvent_MessageEvent) Reset() { *m = Span_TimeEvent_Mess func (m *Span_TimeEvent_MessageEvent) String() string { return proto.CompactTextString(m) } func (*Span_TimeEvent_MessageEvent) ProtoMessage() {} func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 1, 1} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1, 1} } func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_TimeEvent_MessageEvent.Unmarshal(m, b) @@ -618,7 +620,7 @@ func (m *Span_TimeEvents) Reset() { *m = Span_TimeEvents{} } func (m *Span_TimeEvents) String() string { return proto.CompactTextString(m) } func (*Span_TimeEvents) ProtoMessage() {} func (*Span_TimeEvents) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 2} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 2} } func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_TimeEvents.Unmarshal(m, b) @@ -682,7 +684,7 @@ func (m *Span_Link) Reset() { *m = Span_Link{} } func (m *Span_Link) String() string { return proto.CompactTextString(m) } func (*Span_Link) ProtoMessage() {} func (*Span_Link) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 3} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 3} } func (m *Span_Link) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_Link.Unmarshal(m, b) @@ -747,7 +749,7 @@ func (m *Span_Links) Reset() { *m = Span_Links{} } func (m *Span_Links) String() string { return proto.CompactTextString(m) } func (*Span_Links) ProtoMessage() {} func (*Span_Links) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{0, 4} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 4} } func (m *Span_Links) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Span_Links.Unmarshal(m, b) @@ -799,7 +801,7 @@ func (m *AttributeValue) Reset() { *m = AttributeValue{} } func (m *AttributeValue) String() string { return proto.CompactTextString(m) } func (*AttributeValue) ProtoMessage() {} func (*AttributeValue) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{1} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{1} } func (m *AttributeValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttributeValue.Unmarshal(m, b) @@ -826,16 +828,20 @@ type isAttributeValue_Value interface { type AttributeValue_StringValue struct { StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` } + type AttributeValue_IntValue struct { IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"` } + type AttributeValue_BoolValue struct { BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"` } func (*AttributeValue_StringValue) isAttributeValue_Value() {} -func (*AttributeValue_IntValue) isAttributeValue_Value() {} -func (*AttributeValue_BoolValue) isAttributeValue_Value() {} + +func (*AttributeValue_IntValue) isAttributeValue_Value() {} + +func (*AttributeValue_BoolValue) isAttributeValue_Value() {} func (m *AttributeValue) GetValue() isAttributeValue_Value { if m != nil { @@ -975,7 +981,7 @@ func (m *StackTrace) Reset() { *m = StackTrace{} } func (m *StackTrace) String() string { return proto.CompactTextString(m) } func (*StackTrace) ProtoMessage() {} func (*StackTrace) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{2} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{2} } func (m *StackTrace) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StackTrace.Unmarshal(m, b) @@ -1039,7 +1045,7 @@ func (m *StackTrace_StackFrame) Reset() { *m = StackTrace_StackFrame{} } func (m *StackTrace_StackFrame) String() string { return proto.CompactTextString(m) } func (*StackTrace_StackFrame) ProtoMessage() {} func (*StackTrace_StackFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{2, 0} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{2, 0} } func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StackTrace_StackFrame.Unmarshal(m, b) @@ -1125,7 +1131,7 @@ func (m *StackTrace_StackFrames) Reset() { *m = StackTrace_StackFrames{} func (m *StackTrace_StackFrames) String() string { return proto.CompactTextString(m) } func (*StackTrace_StackFrames) ProtoMessage() {} func (*StackTrace_StackFrames) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{2, 1} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{2, 1} } func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StackTrace_StackFrames.Unmarshal(m, b) @@ -1176,7 +1182,7 @@ func (m *Module) Reset() { *m = Module{} } func (m *Module) String() string { return proto.CompactTextString(m) } func (*Module) ProtoMessage() {} func (*Module) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{3} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{3} } func (m *Module) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Module.Unmarshal(m, b) @@ -1232,7 +1238,7 @@ func (m *TruncatableString) Reset() { *m = TruncatableString{} } func (m *TruncatableString) String() string { return proto.CompactTextString(m) } func (*TruncatableString) ProtoMessage() {} func (*TruncatableString) Descriptor() ([]byte, []int) { - return fileDescriptor_trace_044358a12a5c6c5a, []int{4} + return fileDescriptor_trace_fa9cb54dc45915f9, []int{4} } func (m *TruncatableString) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TruncatableString.Unmarshal(m, b) @@ -1287,10 +1293,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/cloudtrace/v2/trace.proto", fileDescriptor_trace_044358a12a5c6c5a) + proto.RegisterFile("google/devtools/cloudtrace/v2/trace.proto", fileDescriptor_trace_fa9cb54dc45915f9) } -var fileDescriptor_trace_044358a12a5c6c5a = []byte{ +var fileDescriptor_trace_fa9cb54dc45915f9 = []byte{ // 1425 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4b, 0x6f, 0xdb, 0xc6, 0x16, 0x36, 0xf5, 0xd6, 0x91, 0x6c, 0xc8, 0x13, 0x3b, 0x56, 0x94, 0xe4, 0x26, 0xd7, 0xf7, 0x16, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go index 6d2dd510c..6e6925cab 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go @@ -43,7 +43,7 @@ func (m *BatchWriteSpansRequest) Reset() { *m = BatchWriteSpansRequest{} func (m *BatchWriteSpansRequest) String() string { return proto.CompactTextString(m) } func (*BatchWriteSpansRequest) ProtoMessage() {} func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_tracing_2e37b806bc636240, []int{0} + return fileDescriptor_tracing_18786c49399bd83d, []int{0} } func (m *BatchWriteSpansRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchWriteSpansRequest.Unmarshal(m, b) @@ -193,10 +193,10 @@ var _TraceService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor_tracing_2e37b806bc636240) + proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor_tracing_18786c49399bd83d) } -var fileDescriptor_tracing_2e37b806bc636240 = []byte{ +var fileDescriptor_tracing_18786c49399bd83d = []byte{ // 404 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0xdb, 0x30, 0x14, 0x46, 0xde, 0x0f, 0x4c, 0x1b, 0x0c, 0x04, 0x0b, 0xc1, 0xdb, 0x58, 0xe6, 0x0d, 0x96, 0x64, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/bill_of_materials.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/bill_of_materials.pb.go index 794f02fae..9055b47e2 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/bill_of_materials.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/bill_of_materials.pb.go @@ -38,15 +38,15 @@ var PackageManager_Architecture_name = map[int32]string{ } var PackageManager_Architecture_value = map[string]int32{ "ARCHITECTURE_UNSPECIFIED": 0, - "X86": 1, - "X64": 2, + "X86": 1, + "X64": 2, } func (x PackageManager_Architecture) String() string { return proto.EnumName(PackageManager_Architecture_name, int32(x)) } func (PackageManager_Architecture) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bill_of_materials_ffdc7b89323081b5, []int{0, 0} + return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 0} } // PackageManager provides metadata about available / installed packages. @@ -60,7 +60,7 @@ func (m *PackageManager) Reset() { *m = PackageManager{} } func (m *PackageManager) String() string { return proto.CompactTextString(m) } func (*PackageManager) ProtoMessage() {} func (*PackageManager) Descriptor() ([]byte, []int) { - return fileDescriptor_bill_of_materials_ffdc7b89323081b5, []int{0} + return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0} } func (m *PackageManager) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackageManager.Unmarshal(m, b) @@ -107,7 +107,7 @@ func (m *PackageManager_Distribution) Reset() { *m = PackageManager_Dist func (m *PackageManager_Distribution) String() string { return proto.CompactTextString(m) } func (*PackageManager_Distribution) ProtoMessage() {} func (*PackageManager_Distribution) Descriptor() ([]byte, []int) { - return fileDescriptor_bill_of_materials_ffdc7b89323081b5, []int{0, 0} + return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 0} } func (m *PackageManager_Distribution) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackageManager_Distribution.Unmarshal(m, b) @@ -189,7 +189,7 @@ func (m *PackageManager_Location) Reset() { *m = PackageManager_Location func (m *PackageManager_Location) String() string { return proto.CompactTextString(m) } func (*PackageManager_Location) ProtoMessage() {} func (*PackageManager_Location) Descriptor() ([]byte, []int) { - return fileDescriptor_bill_of_materials_ffdc7b89323081b5, []int{0, 1} + return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 1} } func (m *PackageManager_Location) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackageManager_Location.Unmarshal(m, b) @@ -247,7 +247,7 @@ func (m *PackageManager_Package) Reset() { *m = PackageManager_Package{} func (m *PackageManager_Package) String() string { return proto.CompactTextString(m) } func (*PackageManager_Package) ProtoMessage() {} func (*PackageManager_Package) Descriptor() ([]byte, []int) { - return fileDescriptor_bill_of_materials_ffdc7b89323081b5, []int{0, 2} + return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 2} } func (m *PackageManager_Package) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackageManager_Package.Unmarshal(m, b) @@ -298,7 +298,7 @@ func (m *PackageManager_Installation) Reset() { *m = PackageManager_Inst func (m *PackageManager_Installation) String() string { return proto.CompactTextString(m) } func (*PackageManager_Installation) ProtoMessage() {} func (*PackageManager_Installation) Descriptor() ([]byte, []int) { - return fileDescriptor_bill_of_materials_ffdc7b89323081b5, []int{0, 3} + return fileDescriptor_bill_of_materials_27661a0342dc8703, []int{0, 3} } func (m *PackageManager_Installation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackageManager_Installation.Unmarshal(m, b) @@ -342,10 +342,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto", fileDescriptor_bill_of_materials_ffdc7b89323081b5) + proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto", fileDescriptor_bill_of_materials_27661a0342dc8703) } -var fileDescriptor_bill_of_materials_ffdc7b89323081b5 = []byte{ +var fileDescriptor_bill_of_materials_27661a0342dc8703 = []byte{ // 522 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xd1, 0x8a, 0xd3, 0x4e, 0x14, 0xc6, 0xff, 0x49, 0x97, 0x76, 0xf7, 0xb4, 0xff, 0x52, 0xe6, 0xc6, 0x10, 0x16, 0x29, 0x0b, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/containeranalysis.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/containeranalysis.pb.go index c74f41e71..5323e27b4 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/containeranalysis.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/containeranalysis.pb.go @@ -79,7 +79,7 @@ func (x Note_Kind) String() string { return proto.EnumName(Note_Kind_name, int32(x)) } func (Note_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{2, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{2, 0} } // Types of platforms. @@ -104,16 +104,16 @@ var Deployable_Deployment_Platform_name = map[int32]string{ } var Deployable_Deployment_Platform_value = map[string]int32{ "PLATFORM_UNSPECIFIED": 0, - "GKE": 1, - "FLEX": 2, - "CUSTOM": 3, + "GKE": 1, + "FLEX": 2, + "CUSTOM": 3, } func (x Deployable_Deployment_Platform) String() string { return proto.EnumName(Deployable_Deployment_Platform_name, int32(x)) } func (Deployable_Deployment_Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{3, 0, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{3, 0, 0} } // Analysis status for a resource. @@ -156,7 +156,7 @@ func (x Discovery_Discovered_AnalysisStatus) String() string { return proto.EnumName(Discovery_Discovered_AnalysisStatus_name, int32(x)) } func (Discovery_Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{4, 0, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{4, 0, 0} } // Public key formats @@ -186,7 +186,7 @@ func (x BuildSignature_KeyType) String() string { return proto.EnumName(BuildSignature_KeyType_name, int32(x)) } func (BuildSignature_KeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{6, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{6, 0} } // Type (for example schema) of the attestation payload that was signed. @@ -215,7 +215,7 @@ func (x PgpSignedAttestation_ContentType) String() string { return proto.EnumName(PgpSignedAttestation_ContentType_name, int32(x)) } func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{7, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{7, 0} } // `Occurrence` includes information about analysis occurrences for an image. @@ -262,7 +262,7 @@ func (m *Occurrence) Reset() { *m = Occurrence{} } func (m *Occurrence) String() string { return proto.CompactTextString(m) } func (*Occurrence) ProtoMessage() {} func (*Occurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{0} } func (m *Occurrence) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Occurrence.Unmarshal(m, b) @@ -282,6 +282,41 @@ func (m *Occurrence) XXX_DiscardUnknown() { var xxx_messageInfo_Occurrence proto.InternalMessageInfo +func (m *Occurrence) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Occurrence) GetResourceUrl() string { + if m != nil { + return m.ResourceUrl + } + return "" +} + +func (m *Occurrence) GetResource() *Resource { + if m != nil { + return m.Resource + } + return nil +} + +func (m *Occurrence) GetNoteName() string { + if m != nil { + return m.NoteName + } + return "" +} + +func (m *Occurrence) GetKind() Note_Kind { + if m != nil { + return m.Kind + } + return Note_KIND_UNSPECIFIED +} + type isOccurrence_Details interface { isOccurrence_Details() } @@ -289,73 +324,50 @@ type isOccurrence_Details interface { type Occurrence_VulnerabilityDetails struct { VulnerabilityDetails *VulnerabilityType_VulnerabilityDetails `protobuf:"bytes,8,opt,name=vulnerability_details,json=vulnerabilityDetails,proto3,oneof"` } + type Occurrence_BuildDetails struct { BuildDetails *BuildDetails `protobuf:"bytes,7,opt,name=build_details,json=buildDetails,proto3,oneof"` } + type Occurrence_DerivedImage struct { DerivedImage *DockerImage_Derived `protobuf:"bytes,11,opt,name=derived_image,json=derivedImage,proto3,oneof"` } + type Occurrence_Installation struct { Installation *PackageManager_Installation `protobuf:"bytes,12,opt,name=installation,proto3,oneof"` } + type Occurrence_Deployment struct { Deployment *Deployable_Deployment `protobuf:"bytes,14,opt,name=deployment,proto3,oneof"` } + type Occurrence_Discovered struct { Discovered *Discovery_Discovered `protobuf:"bytes,15,opt,name=discovered,proto3,oneof"` } + type Occurrence_Attestation struct { Attestation *AttestationAuthority_Attestation `protobuf:"bytes,16,opt,name=attestation,proto3,oneof"` } func (*Occurrence_VulnerabilityDetails) isOccurrence_Details() {} -func (*Occurrence_BuildDetails) isOccurrence_Details() {} -func (*Occurrence_DerivedImage) isOccurrence_Details() {} -func (*Occurrence_Installation) isOccurrence_Details() {} -func (*Occurrence_Deployment) isOccurrence_Details() {} -func (*Occurrence_Discovered) isOccurrence_Details() {} -func (*Occurrence_Attestation) isOccurrence_Details() {} -func (m *Occurrence) GetDetails() isOccurrence_Details { - if m != nil { - return m.Details - } - return nil -} +func (*Occurrence_BuildDetails) isOccurrence_Details() {} -func (m *Occurrence) GetName() string { - if m != nil { - return m.Name - } - return "" -} +func (*Occurrence_DerivedImage) isOccurrence_Details() {} -func (m *Occurrence) GetResourceUrl() string { - if m != nil { - return m.ResourceUrl - } - return "" -} +func (*Occurrence_Installation) isOccurrence_Details() {} -func (m *Occurrence) GetResource() *Resource { - if m != nil { - return m.Resource - } - return nil -} +func (*Occurrence_Deployment) isOccurrence_Details() {} -func (m *Occurrence) GetNoteName() string { - if m != nil { - return m.NoteName - } - return "" -} +func (*Occurrence_Discovered) isOccurrence_Details() {} -func (m *Occurrence) GetKind() Note_Kind { +func (*Occurrence_Attestation) isOccurrence_Details() {} + +func (m *Occurrence) GetDetails() isOccurrence_Details { if m != nil { - return m.Kind + return m.Details } - return Note_KIND_UNSPECIFIED + return nil } func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails { @@ -615,7 +627,7 @@ func (m *Resource) Reset() { *m = Resource{} } func (m *Resource) String() string { return proto.CompactTextString(m) } func (*Resource) ProtoMessage() {} func (*Resource) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{1} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{1} } func (m *Resource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resource.Unmarshal(m, b) @@ -698,7 +710,7 @@ func (m *Note) Reset() { *m = Note{} } func (m *Note) String() string { return proto.CompactTextString(m) } func (*Note) ProtoMessage() {} func (*Note) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{2} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{2} } func (m *Note) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Note.Unmarshal(m, b) @@ -718,6 +730,34 @@ func (m *Note) XXX_DiscardUnknown() { var xxx_messageInfo_Note proto.InternalMessageInfo +func (m *Note) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Note) GetShortDescription() string { + if m != nil { + return m.ShortDescription + } + return "" +} + +func (m *Note) GetLongDescription() string { + if m != nil { + return m.LongDescription + } + return "" +} + +func (m *Note) GetKind() Note_Kind { + if m != nil { + return m.Kind + } + return Note_KIND_UNSPECIFIED +} + type isNote_NoteType interface { isNote_NoteType() } @@ -725,66 +765,50 @@ type isNote_NoteType interface { type Note_VulnerabilityType struct { VulnerabilityType *VulnerabilityType `protobuf:"bytes,6,opt,name=vulnerability_type,json=vulnerabilityType,proto3,oneof"` } + type Note_BuildType struct { BuildType *BuildType `protobuf:"bytes,8,opt,name=build_type,json=buildType,proto3,oneof"` } + type Note_BaseImage struct { BaseImage *DockerImage_Basis `protobuf:"bytes,13,opt,name=base_image,json=baseImage,proto3,oneof"` } + type Note_Package struct { Package *PackageManager_Package `protobuf:"bytes,14,opt,name=package,proto3,oneof"` } + type Note_Deployable struct { Deployable *Deployable `protobuf:"bytes,17,opt,name=deployable,proto3,oneof"` } + type Note_Discovery struct { Discovery *Discovery `protobuf:"bytes,18,opt,name=discovery,proto3,oneof"` } + type Note_AttestationAuthority struct { AttestationAuthority *AttestationAuthority `protobuf:"bytes,19,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"` } -func (*Note_VulnerabilityType) isNote_NoteType() {} -func (*Note_BuildType) isNote_NoteType() {} -func (*Note_BaseImage) isNote_NoteType() {} -func (*Note_Package) isNote_NoteType() {} -func (*Note_Deployable) isNote_NoteType() {} -func (*Note_Discovery) isNote_NoteType() {} -func (*Note_AttestationAuthority) isNote_NoteType() {} +func (*Note_VulnerabilityType) isNote_NoteType() {} -func (m *Note) GetNoteType() isNote_NoteType { - if m != nil { - return m.NoteType - } - return nil -} +func (*Note_BuildType) isNote_NoteType() {} -func (m *Note) GetName() string { - if m != nil { - return m.Name - } - return "" -} +func (*Note_BaseImage) isNote_NoteType() {} -func (m *Note) GetShortDescription() string { - if m != nil { - return m.ShortDescription - } - return "" -} +func (*Note_Package) isNote_NoteType() {} -func (m *Note) GetLongDescription() string { - if m != nil { - return m.LongDescription - } - return "" -} +func (*Note_Deployable) isNote_NoteType() {} -func (m *Note) GetKind() Note_Kind { +func (*Note_Discovery) isNote_NoteType() {} + +func (*Note_AttestationAuthority) isNote_NoteType() {} + +func (m *Note) GetNoteType() isNote_NoteType { if m != nil { - return m.Kind + return m.NoteType } - return Note_KIND_UNSPECIFIED + return nil } func (m *Note) GetVulnerabilityType() *VulnerabilityType { @@ -1048,7 +1072,7 @@ func (m *Note_RelatedUrl) Reset() { *m = Note_RelatedUrl{} } func (m *Note_RelatedUrl) String() string { return proto.CompactTextString(m) } func (*Note_RelatedUrl) ProtoMessage() {} func (*Note_RelatedUrl) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{2, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{2, 0} } func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Note_RelatedUrl.Unmarshal(m, b) @@ -1095,7 +1119,7 @@ func (m *Deployable) Reset() { *m = Deployable{} } func (m *Deployable) String() string { return proto.CompactTextString(m) } func (*Deployable) ProtoMessage() {} func (*Deployable) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{3} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{3} } func (m *Deployable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Deployable.Unmarshal(m, b) @@ -1148,7 +1172,7 @@ func (m *Deployable_Deployment) Reset() { *m = Deployable_Deployment{} } func (m *Deployable_Deployment) String() string { return proto.CompactTextString(m) } func (*Deployable_Deployment) ProtoMessage() {} func (*Deployable_Deployment) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{3, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{3, 0} } func (m *Deployable_Deployment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Deployable_Deployment.Unmarshal(m, b) @@ -1234,7 +1258,7 @@ func (m *Discovery) Reset() { *m = Discovery{} } func (m *Discovery) String() string { return proto.CompactTextString(m) } func (*Discovery) ProtoMessage() {} func (*Discovery) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{4} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{4} } func (m *Discovery) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Discovery.Unmarshal(m, b) @@ -1280,7 +1304,7 @@ func (m *Discovery_Discovered) Reset() { *m = Discovery_Discovered{} } func (m *Discovery_Discovered) String() string { return proto.CompactTextString(m) } func (*Discovery_Discovered) ProtoMessage() {} func (*Discovery_Discovered) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{4, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{4, 0} } func (m *Discovery_Discovered) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Discovery_Discovered.Unmarshal(m, b) @@ -1338,7 +1362,7 @@ func (m *BuildType) Reset() { *m = BuildType{} } func (m *BuildType) String() string { return proto.CompactTextString(m) } func (*BuildType) ProtoMessage() {} func (*BuildType) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{5} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{5} } func (m *BuildType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildType.Unmarshal(m, b) @@ -1380,8 +1404,8 @@ type BuildSignature struct { // // This field may be empty if `key_id` references an external key. // - // For Cloud Container Builder based signatures, this is a PEM encoded public - // key. To verify the Cloud Container Builder signature, place the contents of + // For Cloud Build based signatures, this is a PEM encoded public + // key. To verify the Cloud Build signature, place the contents of // this field into a file (public.pem). The signature field is base64-decoded // into its binary representation in signature.bin, and the provenance bytes // from `BuildDetails` are base64-decoded into a binary representation in @@ -1407,7 +1431,7 @@ func (m *BuildSignature) Reset() { *m = BuildSignature{} } func (m *BuildSignature) String() string { return proto.CompactTextString(m) } func (*BuildSignature) ProtoMessage() {} func (*BuildSignature) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{6} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{6} } func (m *BuildSignature) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildSignature.Unmarshal(m, b) @@ -1495,7 +1519,7 @@ func (m *PgpSignedAttestation) Reset() { *m = PgpSignedAttestation{} } func (m *PgpSignedAttestation) String() string { return proto.CompactTextString(m) } func (*PgpSignedAttestation) ProtoMessage() {} func (*PgpSignedAttestation) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{7} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{7} } func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PgpSignedAttestation.Unmarshal(m, b) @@ -1515,6 +1539,20 @@ func (m *PgpSignedAttestation) XXX_DiscardUnknown() { var xxx_messageInfo_PgpSignedAttestation proto.InternalMessageInfo +func (m *PgpSignedAttestation) GetSignature() string { + if m != nil { + return m.Signature + } + return "" +} + +func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType { + if m != nil { + return m.ContentType + } + return PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED +} + type isPgpSignedAttestation_KeyId interface { isPgpSignedAttestation_KeyId() } @@ -1532,20 +1570,6 @@ func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId { return nil } -func (m *PgpSignedAttestation) GetSignature() string { - if m != nil { - return m.Signature - } - return "" -} - -func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType { - if m != nil { - return m.ContentType - } - return PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED -} - func (m *PgpSignedAttestation) GetPgpKeyId() string { if x, ok := m.GetKeyId().(*PgpSignedAttestation_PgpKeyId); ok { return x.PgpKeyId @@ -1623,7 +1647,7 @@ func (m *AttestationAuthority) Reset() { *m = AttestationAuthority{} } func (m *AttestationAuthority) String() string { return proto.CompactTextString(m) } func (*AttestationAuthority) ProtoMessage() {} func (*AttestationAuthority) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{8} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{8} } func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttestationAuthority.Unmarshal(m, b) @@ -1673,7 +1697,7 @@ func (m *AttestationAuthority_AttestationAuthorityHint) String() string { } func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage() {} func (*AttestationAuthority_AttestationAuthorityHint) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{8, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{8, 0} } func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Unmarshal(m, b) @@ -1725,7 +1749,7 @@ func (m *AttestationAuthority_Attestation) Reset() { *m = AttestationAut func (m *AttestationAuthority_Attestation) String() string { return proto.CompactTextString(m) } func (*AttestationAuthority_Attestation) ProtoMessage() {} func (*AttestationAuthority_Attestation) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{8, 1} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{8, 1} } func (m *AttestationAuthority_Attestation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttestationAuthority_Attestation.Unmarshal(m, b) @@ -1850,7 +1874,7 @@ func (m *BuildDetails) Reset() { *m = BuildDetails{} } func (m *BuildDetails) String() string { return proto.CompactTextString(m) } func (*BuildDetails) ProtoMessage() {} func (*BuildDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{9} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{9} } func (m *BuildDetails) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildDetails.Unmarshal(m, b) @@ -1902,7 +1926,7 @@ func (m *ScanConfig) Reset() { *m = ScanConfig{} } func (m *ScanConfig) String() string { return proto.CompactTextString(m) } func (*ScanConfig) ProtoMessage() {} func (*ScanConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{10} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{10} } func (m *ScanConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ScanConfig.Unmarshal(m, b) @@ -1957,7 +1981,7 @@ func (m *GetOccurrenceRequest) Reset() { *m = GetOccurrenceRequest{} } func (m *GetOccurrenceRequest) String() string { return proto.CompactTextString(m) } func (*GetOccurrenceRequest) ProtoMessage() {} func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{11} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{11} } func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOccurrenceRequest.Unmarshal(m, b) @@ -2009,7 +2033,7 @@ func (m *ListOccurrencesRequest) Reset() { *m = ListOccurrencesRequest{} func (m *ListOccurrencesRequest) String() string { return proto.CompactTextString(m) } func (*ListOccurrencesRequest) ProtoMessage() {} func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{12} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{12} } func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOccurrencesRequest.Unmarshal(m, b) @@ -2088,7 +2112,7 @@ func (m *ListOccurrencesResponse) Reset() { *m = ListOccurrencesResponse func (m *ListOccurrencesResponse) String() string { return proto.CompactTextString(m) } func (*ListOccurrencesResponse) ProtoMessage() {} func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{13} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{13} } func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOccurrencesResponse.Unmarshal(m, b) @@ -2136,7 +2160,7 @@ func (m *DeleteOccurrenceRequest) Reset() { *m = DeleteOccurrenceRequest func (m *DeleteOccurrenceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteOccurrenceRequest) ProtoMessage() {} func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{14} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{14} } func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteOccurrenceRequest.Unmarshal(m, b) @@ -2181,7 +2205,7 @@ func (m *CreateOccurrenceRequest) Reset() { *m = CreateOccurrenceRequest func (m *CreateOccurrenceRequest) String() string { return proto.CompactTextString(m) } func (*CreateOccurrenceRequest) ProtoMessage() {} func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{15} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{15} } func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOccurrenceRequest.Unmarshal(m, b) @@ -2240,7 +2264,7 @@ func (m *UpdateOccurrenceRequest) Reset() { *m = UpdateOccurrenceRequest func (m *UpdateOccurrenceRequest) String() string { return proto.CompactTextString(m) } func (*UpdateOccurrenceRequest) ProtoMessage() {} func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{16} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{16} } func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateOccurrenceRequest.Unmarshal(m, b) @@ -2295,7 +2319,7 @@ func (m *GetNoteRequest) Reset() { *m = GetNoteRequest{} } func (m *GetNoteRequest) String() string { return proto.CompactTextString(m) } func (*GetNoteRequest) ProtoMessage() {} func (*GetNoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{17} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{17} } func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNoteRequest.Unmarshal(m, b) @@ -2336,7 +2360,7 @@ func (m *GetOccurrenceNoteRequest) Reset() { *m = GetOccurrenceNoteReque func (m *GetOccurrenceNoteRequest) String() string { return proto.CompactTextString(m) } func (*GetOccurrenceNoteRequest) ProtoMessage() {} func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{18} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{18} } func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOccurrenceNoteRequest.Unmarshal(m, b) @@ -2386,7 +2410,7 @@ func (m *ListNotesRequest) Reset() { *m = ListNotesRequest{} } func (m *ListNotesRequest) String() string { return proto.CompactTextString(m) } func (*ListNotesRequest) ProtoMessage() {} func (*ListNotesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{19} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{19} } func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNotesRequest.Unmarshal(m, b) @@ -2457,7 +2481,7 @@ func (m *ListNotesResponse) Reset() { *m = ListNotesResponse{} } func (m *ListNotesResponse) String() string { return proto.CompactTextString(m) } func (*ListNotesResponse) ProtoMessage() {} func (*ListNotesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{20} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{20} } func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNotesResponse.Unmarshal(m, b) @@ -2505,7 +2529,7 @@ func (m *DeleteNoteRequest) Reset() { *m = DeleteNoteRequest{} } func (m *DeleteNoteRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNoteRequest) ProtoMessage() {} func (*DeleteNoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{21} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{21} } func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNoteRequest.Unmarshal(m, b) @@ -2554,7 +2578,7 @@ func (m *CreateNoteRequest) Reset() { *m = CreateNoteRequest{} } func (m *CreateNoteRequest) String() string { return proto.CompactTextString(m) } func (*CreateNoteRequest) ProtoMessage() {} func (*CreateNoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{22} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{22} } func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNoteRequest.Unmarshal(m, b) @@ -2620,7 +2644,7 @@ func (m *UpdateNoteRequest) Reset() { *m = UpdateNoteRequest{} } func (m *UpdateNoteRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNoteRequest) ProtoMessage() {} func (*UpdateNoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{23} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{23} } func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNoteRequest.Unmarshal(m, b) @@ -2681,7 +2705,7 @@ func (m *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesR func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) } func (*ListNoteOccurrencesRequest) ProtoMessage() {} func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{24} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{24} } func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNoteOccurrencesRequest.Unmarshal(m, b) @@ -2744,7 +2768,7 @@ func (m *ListNoteOccurrencesResponse) Reset() { *m = ListNoteOccurrences func (m *ListNoteOccurrencesResponse) String() string { return proto.CompactTextString(m) } func (*ListNoteOccurrencesResponse) ProtoMessage() {} func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{25} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{25} } func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNoteOccurrencesResponse.Unmarshal(m, b) @@ -2795,7 +2819,7 @@ func (m *CreateOperationRequest) Reset() { *m = CreateOperationRequest{} func (m *CreateOperationRequest) String() string { return proto.CompactTextString(m) } func (*CreateOperationRequest) ProtoMessage() {} func (*CreateOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{26} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{26} } func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOperationRequest.Unmarshal(m, b) @@ -2853,7 +2877,7 @@ func (m *UpdateOperationRequest) Reset() { *m = UpdateOperationRequest{} func (m *UpdateOperationRequest) String() string { return proto.CompactTextString(m) } func (*UpdateOperationRequest) ProtoMessage() {} func (*UpdateOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{27} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{27} } func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateOperationRequest.Unmarshal(m, b) @@ -2910,7 +2934,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{28} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{28} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -2959,7 +2983,7 @@ func (m *GetVulnzOccurrencesSummaryRequest) Reset() { *m = GetVulnzOccur func (m *GetVulnzOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) } func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage() {} func (*GetVulnzOccurrencesSummaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{29} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{29} } func (m *GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Unmarshal(m, b) @@ -3008,7 +3032,7 @@ func (m *GetVulnzOccurrencesSummaryResponse) Reset() { *m = GetVulnzOccu func (m *GetVulnzOccurrencesSummaryResponse) String() string { return proto.CompactTextString(m) } func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage() {} func (*GetVulnzOccurrencesSummaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{30} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{30} } func (m *GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Unmarshal(m, b) @@ -3054,7 +3078,7 @@ func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) String() string { } func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage() {} func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{30, 0} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{30, 0} } func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Unmarshal(m, b) @@ -3103,7 +3127,7 @@ func (m *GetScanConfigRequest) Reset() { *m = GetScanConfigRequest{} } func (m *GetScanConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetScanConfigRequest) ProtoMessage() {} func (*GetScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{31} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{31} } func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetScanConfigRequest.Unmarshal(m, b) @@ -3150,7 +3174,7 @@ func (m *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListScanConfigsRequest) ProtoMessage() {} func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{32} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{32} } func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListScanConfigsRequest.Unmarshal(m, b) @@ -3213,7 +3237,7 @@ func (m *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListScanConfigsResponse) ProtoMessage() {} func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{33} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{33} } func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListScanConfigsResponse.Unmarshal(m, b) @@ -3265,7 +3289,7 @@ func (m *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateScanConfigRequest) ProtoMessage() {} func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_containeranalysis_9fe58a141f1e7146, []int{34} + return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{34} } func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateScanConfigRequest.Unmarshal(m, b) @@ -4198,10 +4222,10 @@ var _ContainerAnalysis_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", fileDescriptor_containeranalysis_9fe58a141f1e7146) + proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", fileDescriptor_containeranalysis_7302a99efbbe81f1) } -var fileDescriptor_containeranalysis_9fe58a141f1e7146 = []byte{ +var fileDescriptor_containeranalysis_7302a99efbbe81f1 = []byte{ // 3256 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5b, 0xdb, 0x6f, 0x23, 0x57, 0x19, 0xdf, 0xc9, 0xd5, 0xfe, 0x9c, 0x8b, 0x73, 0x36, 0xbb, 0xeb, 0x7a, 0x7b, 0x49, 0xa7, 0x94, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/image_basis.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/image_basis.pb.go index fa3ac68e1..3bb42872b 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/image_basis.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/image_basis.pb.go @@ -106,7 +106,7 @@ func (x DockerImage_Layer_Directive) String() string { return proto.EnumName(DockerImage_Layer_Directive_name, int32(x)) } func (DockerImage_Layer_Directive) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_basis_5e1fc101263caa17, []int{0, 0, 0} + return fileDescriptor_image_basis_f0f54fd9664d71be, []int{0, 0, 0} } // DockerImage holds types defining base image notes @@ -121,7 +121,7 @@ func (m *DockerImage) Reset() { *m = DockerImage{} } func (m *DockerImage) String() string { return proto.CompactTextString(m) } func (*DockerImage) ProtoMessage() {} func (*DockerImage) Descriptor() ([]byte, []int) { - return fileDescriptor_image_basis_5e1fc101263caa17, []int{0} + return fileDescriptor_image_basis_f0f54fd9664d71be, []int{0} } func (m *DockerImage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DockerImage.Unmarshal(m, b) @@ -156,7 +156,7 @@ func (m *DockerImage_Layer) Reset() { *m = DockerImage_Layer{} } func (m *DockerImage_Layer) String() string { return proto.CompactTextString(m) } func (*DockerImage_Layer) ProtoMessage() {} func (*DockerImage_Layer) Descriptor() ([]byte, []int) { - return fileDescriptor_image_basis_5e1fc101263caa17, []int{0, 0} + return fileDescriptor_image_basis_f0f54fd9664d71be, []int{0, 0} } func (m *DockerImage_Layer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DockerImage_Layer.Unmarshal(m, b) @@ -213,7 +213,7 @@ func (m *DockerImage_Fingerprint) Reset() { *m = DockerImage_Fingerprint func (m *DockerImage_Fingerprint) String() string { return proto.CompactTextString(m) } func (*DockerImage_Fingerprint) ProtoMessage() {} func (*DockerImage_Fingerprint) Descriptor() ([]byte, []int) { - return fileDescriptor_image_basis_5e1fc101263caa17, []int{0, 1} + return fileDescriptor_image_basis_f0f54fd9664d71be, []int{0, 1} } func (m *DockerImage_Fingerprint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DockerImage_Fingerprint.Unmarshal(m, b) @@ -274,7 +274,7 @@ func (m *DockerImage_Basis) Reset() { *m = DockerImage_Basis{} } func (m *DockerImage_Basis) String() string { return proto.CompactTextString(m) } func (*DockerImage_Basis) ProtoMessage() {} func (*DockerImage_Basis) Descriptor() ([]byte, []int) { - return fileDescriptor_image_basis_5e1fc101263caa17, []int{0, 2} + return fileDescriptor_image_basis_f0f54fd9664d71be, []int{0, 2} } func (m *DockerImage_Basis) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DockerImage_Basis.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *DockerImage_Derived) Reset() { *m = DockerImage_Derived{} } func (m *DockerImage_Derived) String() string { return proto.CompactTextString(m) } func (*DockerImage_Derived) ProtoMessage() {} func (*DockerImage_Derived) Descriptor() ([]byte, []int) { - return fileDescriptor_image_basis_5e1fc101263caa17, []int{0, 3} + return fileDescriptor_image_basis_f0f54fd9664d71be, []int{0, 3} } func (m *DockerImage_Derived) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DockerImage_Derived.Unmarshal(m, b) @@ -391,10 +391,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/image_basis.proto", fileDescriptor_image_basis_5e1fc101263caa17) + proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/image_basis.proto", fileDescriptor_image_basis_f0f54fd9664d71be) } -var fileDescriptor_image_basis_5e1fc101263caa17 = []byte{ +var fileDescriptor_image_basis_f0f54fd9664d71be = []byte{ // 627 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xdf, 0x6e, 0xda, 0x30, 0x14, 0xc6, 0x17, 0x28, 0xd0, 0x9c, 0xf4, 0x8f, 0x6b, 0x69, 0x1a, 0x43, 0xbd, 0x60, 0x95, 0x26, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/package_vulnerability.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/package_vulnerability.pb.go index c679e652c..180be4119 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/package_vulnerability.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/package_vulnerability.pb.go @@ -58,7 +58,7 @@ func (x VulnerabilityType_Severity) String() string { return proto.EnumName(VulnerabilityType_Severity_name, int32(x)) } func (VulnerabilityType_Severity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 0} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 0} } // Whether this is an ordinary package version or a @@ -91,7 +91,7 @@ func (x VulnerabilityType_Version_VersionKind) String() string { return proto.EnumName(VulnerabilityType_Version_VersionKind_name, int32(x)) } func (VulnerabilityType_Version_VersionKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 0, 0} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 0, 0} } // VulnerabilityType provides metadata about a security vulnerability. @@ -113,7 +113,7 @@ func (m *VulnerabilityType) Reset() { *m = VulnerabilityType{} } func (m *VulnerabilityType) String() string { return proto.CompactTextString(m) } func (*VulnerabilityType) ProtoMessage() {} func (*VulnerabilityType) Descriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0} } func (m *VulnerabilityType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerabilityType.Unmarshal(m, b) @@ -178,7 +178,7 @@ func (m *VulnerabilityType_Version) Reset() { *m = VulnerabilityType_Ver func (m *VulnerabilityType_Version) String() string { return proto.CompactTextString(m) } func (*VulnerabilityType_Version) ProtoMessage() {} func (*VulnerabilityType_Version) Descriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 0} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 0} } func (m *VulnerabilityType_Version) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerabilityType_Version.Unmarshal(m, b) @@ -264,7 +264,7 @@ func (m *VulnerabilityType_Detail) Reset() { *m = VulnerabilityType_Deta func (m *VulnerabilityType_Detail) String() string { return proto.CompactTextString(m) } func (*VulnerabilityType_Detail) ProtoMessage() {} func (*VulnerabilityType_Detail) Descriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 1} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 1} } func (m *VulnerabilityType_Detail) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerabilityType_Detail.Unmarshal(m, b) @@ -373,7 +373,7 @@ func (m *VulnerabilityType_VulnerabilityDetails) Reset() { func (m *VulnerabilityType_VulnerabilityDetails) String() string { return proto.CompactTextString(m) } func (*VulnerabilityType_VulnerabilityDetails) ProtoMessage() {} func (*VulnerabilityType_VulnerabilityDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 2} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 2} } func (m *VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerabilityType_VulnerabilityDetails.Unmarshal(m, b) @@ -439,7 +439,7 @@ func (m *VulnerabilityType_PackageIssue) Reset() { *m = VulnerabilityTyp func (m *VulnerabilityType_PackageIssue) String() string { return proto.CompactTextString(m) } func (*VulnerabilityType_PackageIssue) ProtoMessage() {} func (*VulnerabilityType_PackageIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 3} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 3} } func (m *VulnerabilityType_PackageIssue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerabilityType_PackageIssue.Unmarshal(m, b) @@ -502,7 +502,7 @@ func (m *VulnerabilityType_VulnerabilityLocation) Reset() { func (m *VulnerabilityType_VulnerabilityLocation) String() string { return proto.CompactTextString(m) } func (*VulnerabilityType_VulnerabilityLocation) ProtoMessage() {} func (*VulnerabilityType_VulnerabilityLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_package_vulnerability_c54ab953d27b9d34, []int{0, 4} + return fileDescriptor_package_vulnerability_9e58f6e1392a878c, []int{0, 4} } func (m *VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VulnerabilityType_VulnerabilityLocation.Unmarshal(m, b) @@ -555,10 +555,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/package_vulnerability.proto", fileDescriptor_package_vulnerability_c54ab953d27b9d34) + proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/package_vulnerability.proto", fileDescriptor_package_vulnerability_9e58f6e1392a878c) } -var fileDescriptor_package_vulnerability_c54ab953d27b9d34 = []byte{ +var fileDescriptor_package_vulnerability_9e58f6e1392a878c = []byte{ // 769 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x6e, 0xfa, 0x46, 0x10, 0xae, 0x8d, 0xc1, 0x30, 0x26, 0x91, 0xb3, 0xa2, 0xaa, 0x85, 0x5a, 0x95, 0xa6, 0xaa, 0x84, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/provenance.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/provenance.pb.go index ab27d49c5..57f59e138 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/provenance.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/provenance.pb.go @@ -43,7 +43,7 @@ func (x Hash_HashType) String() string { return proto.EnumName(Hash_HashType_name, int32(x)) } func (Hash_HashType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{3, 0} + return fileDescriptor_provenance_ae080c06fe939617, []int{3, 0} } // Provenance of a build. Contains all information needed to verify the full @@ -87,7 +87,7 @@ func (m *BuildProvenance) Reset() { *m = BuildProvenance{} } func (m *BuildProvenance) String() string { return proto.CompactTextString(m) } func (*BuildProvenance) ProtoMessage() {} func (*BuildProvenance) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{0} + return fileDescriptor_provenance_ae080c06fe939617, []int{0} } func (m *BuildProvenance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildProvenance.Unmarshal(m, b) @@ -234,7 +234,7 @@ func (m *Source) Reset() { *m = Source{} } func (m *Source) String() string { return proto.CompactTextString(m) } func (*Source) ProtoMessage() {} func (*Source) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{1} + return fileDescriptor_provenance_ae080c06fe939617, []int{1} } func (m *Source) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Source.Unmarshal(m, b) @@ -261,12 +261,14 @@ type isSource_Source interface { type Source_StorageSource struct { StorageSource *StorageSource `protobuf:"bytes,1,opt,name=storage_source,json=storageSource,proto3,oneof"` } + type Source_RepoSource struct { RepoSource *RepoSource `protobuf:"bytes,2,opt,name=repo_source,json=repoSource,proto3,oneof"` } func (*Source_StorageSource) isSource_Source() {} -func (*Source_RepoSource) isSource_Source() {} + +func (*Source_RepoSource) isSource_Source() {} func (m *Source) GetSource() isSource_Source { if m != nil { @@ -405,7 +407,7 @@ func (m *FileHashes) Reset() { *m = FileHashes{} } func (m *FileHashes) String() string { return proto.CompactTextString(m) } func (*FileHashes) ProtoMessage() {} func (*FileHashes) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{2} + return fileDescriptor_provenance_ae080c06fe939617, []int{2} } func (m *FileHashes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileHashes.Unmarshal(m, b) @@ -447,7 +449,7 @@ func (m *Hash) Reset() { *m = Hash{} } func (m *Hash) String() string { return proto.CompactTextString(m) } func (*Hash) ProtoMessage() {} func (*Hash) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{3} + return fileDescriptor_provenance_ae080c06fe939617, []int{3} } func (m *Hash) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Hash.Unmarshal(m, b) @@ -501,7 +503,7 @@ func (m *StorageSource) Reset() { *m = StorageSource{} } func (m *StorageSource) String() string { return proto.CompactTextString(m) } func (*StorageSource) ProtoMessage() {} func (*StorageSource) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{4} + return fileDescriptor_provenance_ae080c06fe939617, []int{4} } func (m *StorageSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StorageSource.Unmarshal(m, b) @@ -566,7 +568,7 @@ func (m *RepoSource) Reset() { *m = RepoSource{} } func (m *RepoSource) String() string { return proto.CompactTextString(m) } func (*RepoSource) ProtoMessage() {} func (*RepoSource) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{5} + return fileDescriptor_provenance_ae080c06fe939617, []int{5} } func (m *RepoSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepoSource.Unmarshal(m, b) @@ -586,6 +588,20 @@ func (m *RepoSource) XXX_DiscardUnknown() { var xxx_messageInfo_RepoSource proto.InternalMessageInfo +func (m *RepoSource) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *RepoSource) GetRepoName() string { + if m != nil { + return m.RepoName + } + return "" +} + type isRepoSource_Revision interface { isRepoSource_Revision() } @@ -593,16 +609,20 @@ type isRepoSource_Revision interface { type RepoSource_BranchName struct { BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"` } + type RepoSource_TagName struct { TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"` } + type RepoSource_CommitSha struct { CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"` } func (*RepoSource_BranchName) isRepoSource_Revision() {} -func (*RepoSource_TagName) isRepoSource_Revision() {} -func (*RepoSource_CommitSha) isRepoSource_Revision() {} + +func (*RepoSource_TagName) isRepoSource_Revision() {} + +func (*RepoSource_CommitSha) isRepoSource_Revision() {} func (m *RepoSource) GetRevision() isRepoSource_Revision { if m != nil { @@ -611,20 +631,6 @@ func (m *RepoSource) GetRevision() isRepoSource_Revision { return nil } -func (m *RepoSource) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RepoSource) GetRepoName() string { - if m != nil { - return m.RepoName - } - return "" -} - func (m *RepoSource) GetBranchName() string { if x, ok := m.GetRevision().(*RepoSource_BranchName); ok { return x.BranchName @@ -753,7 +759,7 @@ func (m *Command) Reset() { *m = Command{} } func (m *Command) String() string { return proto.CompactTextString(m) } func (*Command) ProtoMessage() {} func (*Command) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{6} + return fileDescriptor_provenance_ae080c06fe939617, []int{6} } func (m *Command) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Command.Unmarshal(m, b) @@ -847,7 +853,7 @@ func (m *Artifact) Reset() { *m = Artifact{} } func (m *Artifact) String() string { return proto.CompactTextString(m) } func (*Artifact) ProtoMessage() {} func (*Artifact) Descriptor() ([]byte, []int) { - return fileDescriptor_provenance_581a85f1a7aade95, []int{7} + return fileDescriptor_provenance_ae080c06fe939617, []int{7} } func (m *Artifact) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Artifact.Unmarshal(m, b) @@ -910,10 +916,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/provenance.proto", fileDescriptor_provenance_581a85f1a7aade95) + proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/provenance.proto", fileDescriptor_provenance_ae080c06fe939617) } -var fileDescriptor_provenance_581a85f1a7aade95 = []byte{ +var fileDescriptor_provenance_ae080c06fe939617 = []byte{ // 1026 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0x1b, 0x45, 0x14, 0xee, 0xfa, 0x77, 0xf7, 0xb8, 0x71, 0x92, 0xa1, 0xc0, 0xe2, 0x52, 0x62, 0x2c, 0x21, 0x22, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/source_context.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/source_context.pb.go index fb17d4eba..e481702d3 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/source_context.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/source_context.pb.go @@ -51,7 +51,7 @@ func (x AliasContext_Kind) String() string { return proto.EnumName(AliasContext_Kind_name, int32(x)) } func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{1, 0} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{1, 0} } // A SourceContext is a reference to a tree of files. A SourceContext together @@ -75,7 +75,7 @@ func (m *SourceContext) Reset() { *m = SourceContext{} } func (m *SourceContext) String() string { return proto.CompactTextString(m) } func (*SourceContext) ProtoMessage() {} func (*SourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{0} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{0} } func (m *SourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceContext.Unmarshal(m, b) @@ -102,16 +102,20 @@ type isSourceContext_Context interface { type SourceContext_CloudRepo struct { CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"` } + type SourceContext_Gerrit struct { Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"` } + type SourceContext_Git struct { Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"` } func (*SourceContext_CloudRepo) isSourceContext_Context() {} -func (*SourceContext_Gerrit) isSourceContext_Context() {} -func (*SourceContext_Git) isSourceContext_Context() {} + +func (*SourceContext_Gerrit) isSourceContext_Context() {} + +func (*SourceContext_Git) isSourceContext_Context() {} func (m *SourceContext) GetContext() isSourceContext_Context { if m != nil { @@ -256,7 +260,7 @@ func (m *AliasContext) Reset() { *m = AliasContext{} } func (m *AliasContext) String() string { return proto.CompactTextString(m) } func (*AliasContext) ProtoMessage() {} func (*AliasContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{1} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{1} } func (m *AliasContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AliasContext.Unmarshal(m, b) @@ -311,7 +315,7 @@ func (m *CloudRepoSourceContext) Reset() { *m = CloudRepoSourceContext{} func (m *CloudRepoSourceContext) String() string { return proto.CompactTextString(m) } func (*CloudRepoSourceContext) ProtoMessage() {} func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{2} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{2} } func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudRepoSourceContext.Unmarshal(m, b) @@ -331,6 +335,13 @@ func (m *CloudRepoSourceContext) XXX_DiscardUnknown() { var xxx_messageInfo_CloudRepoSourceContext proto.InternalMessageInfo +func (m *CloudRepoSourceContext) GetRepoId() *RepoId { + if m != nil { + return m.RepoId + } + return nil +} + type isCloudRepoSourceContext_Revision interface { isCloudRepoSourceContext_Revision() } @@ -338,11 +349,13 @@ type isCloudRepoSourceContext_Revision interface { type CloudRepoSourceContext_RevisionId struct { RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"` } + type CloudRepoSourceContext_AliasContext struct { AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"` } -func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} +func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} + func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {} func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision { @@ -352,13 +365,6 @@ func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision return nil } -func (m *CloudRepoSourceContext) GetRepoId() *RepoId { - if m != nil { - return m.RepoId - } - return nil -} - func (m *CloudRepoSourceContext) GetRevisionId() string { if x, ok := m.GetRevision().(*CloudRepoSourceContext_RevisionId); ok { return x.RevisionId @@ -467,7 +473,7 @@ func (m *GerritSourceContext) Reset() { *m = GerritSourceContext{} } func (m *GerritSourceContext) String() string { return proto.CompactTextString(m) } func (*GerritSourceContext) ProtoMessage() {} func (*GerritSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{3} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{3} } func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GerritSourceContext.Unmarshal(m, b) @@ -487,6 +493,20 @@ func (m *GerritSourceContext) XXX_DiscardUnknown() { var xxx_messageInfo_GerritSourceContext proto.InternalMessageInfo +func (m *GerritSourceContext) GetHostUri() string { + if m != nil { + return m.HostUri + } + return "" +} + +func (m *GerritSourceContext) GetGerritProject() string { + if m != nil { + return m.GerritProject + } + return "" +} + type isGerritSourceContext_Revision interface { isGerritSourceContext_Revision() } @@ -494,11 +514,13 @@ type isGerritSourceContext_Revision interface { type GerritSourceContext_RevisionId struct { RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"` } + type GerritSourceContext_AliasContext struct { AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"` } -func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} +func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} + func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {} func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { @@ -508,20 +530,6 @@ func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { return nil } -func (m *GerritSourceContext) GetHostUri() string { - if m != nil { - return m.HostUri - } - return "" -} - -func (m *GerritSourceContext) GetGerritProject() string { - if m != nil { - return m.GerritProject - } - return "" -} - func (m *GerritSourceContext) GetRevisionId() string { if x, ok := m.GetRevision().(*GerritSourceContext_RevisionId); ok { return x.RevisionId @@ -623,7 +631,7 @@ func (m *GitSourceContext) Reset() { *m = GitSourceContext{} } func (m *GitSourceContext) String() string { return proto.CompactTextString(m) } func (*GitSourceContext) ProtoMessage() {} func (*GitSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{4} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{4} } func (m *GitSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GitSourceContext.Unmarshal(m, b) @@ -675,7 +683,7 @@ func (m *RepoId) Reset() { *m = RepoId{} } func (m *RepoId) String() string { return proto.CompactTextString(m) } func (*RepoId) ProtoMessage() {} func (*RepoId) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{5} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{5} } func (m *RepoId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepoId.Unmarshal(m, b) @@ -702,12 +710,14 @@ type isRepoId_Id interface { type RepoId_ProjectRepoId struct { ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"` } + type RepoId_Uid struct { Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"` } func (*RepoId_ProjectRepoId) isRepoId_Id() {} -func (*RepoId_Uid) isRepoId_Id() {} + +func (*RepoId_Uid) isRepoId_Id() {} func (m *RepoId) GetId() isRepoId_Id { if m != nil { @@ -816,7 +826,7 @@ func (m *ProjectRepoId) Reset() { *m = ProjectRepoId{} } func (m *ProjectRepoId) String() string { return proto.CompactTextString(m) } func (*ProjectRepoId) ProtoMessage() {} func (*ProjectRepoId) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_893b293b953ef2a1, []int{6} + return fileDescriptor_source_context_78f437f8b7f72e1b, []int{6} } func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProjectRepoId.Unmarshal(m, b) @@ -863,10 +873,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/source_context.proto", fileDescriptor_source_context_893b293b953ef2a1) + proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/source_context.proto", fileDescriptor_source_context_78f437f8b7f72e1b) } -var fileDescriptor_source_context_893b293b953ef2a1 = []byte{ +var fileDescriptor_source_context_78f437f8b7f72e1b = []byte{ // 675 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x5d, 0x4e, 0xdb, 0x4a, 0x14, 0xc7, 0xe3, 0x38, 0x24, 0xf8, 0x84, 0x70, 0xa3, 0xb9, 0xe8, 0x2a, 0x97, 0x7b, 0xab, 0x52, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go new file mode 100644 index 000000000..084ec3397 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go @@ -0,0 +1,500 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/attestation/attestation.proto + +package attestation // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Type (for example schema) of the attestation payload that was signed. +type PgpSignedAttestation_ContentType int32 + +const ( + // `ContentType` is not set. + PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0 + // Atomic format attestation signature. See + // https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md + // The payload extracted from `signature` is a JSON blob conforming to the + // linked schema. + PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1 +) + +var PgpSignedAttestation_ContentType_name = map[int32]string{ + 0: "CONTENT_TYPE_UNSPECIFIED", + 1: "SIMPLE_SIGNING_JSON", +} +var PgpSignedAttestation_ContentType_value = map[string]int32{ + "CONTENT_TYPE_UNSPECIFIED": 0, + "SIMPLE_SIGNING_JSON": 1, +} + +func (x PgpSignedAttestation_ContentType) String() string { + return proto.EnumName(PgpSignedAttestation_ContentType_name, int32(x)) +} +func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_attestation_c9ed0362441a7a04, []int{0, 0} +} + +// An attestation wrapper with a PGP-compatible signature. This message only +// supports `ATTACHED` signatures, where the payload that is signed is included +// alongside the signature itself in the same file. +type PgpSignedAttestation struct { + // The raw content of the signature, as output by GNU Privacy Guard (GPG) or + // equivalent. Since this message only supports attached signatures, the + // payload that was signed must be attached. While the signature format + // supported is dependent on the verification implementation, currently only + // ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than + // `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor + // --output=signature.gpg payload.json` will create the signature content + // expected in this field in `signature.gpg` for the `payload.json` + // attestation payload. + Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + // Type (for example schema) of the attestation payload that was signed. + // The verifier must ensure that the provided type is one that the verifier + // supports, and that the attestation payload is a valid instantiation of that + // type (for example by validating a JSON schema). + ContentType PgpSignedAttestation_ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=grafeas.v1beta1.attestation.PgpSignedAttestation_ContentType" json:"content_type,omitempty"` + // This field is used by verifiers to select the public key used to validate + // the signature. Note that the policy of the verifier ultimately determines + // which public keys verify a signature based on the context of the + // verification. There is no guarantee validation will succeed if the + // verifier has no key matching this ID, even if it has a key under a + // different ID that would verify the signature. Note that this ID should also + // be present in the signature content above, but that is not expected to be + // used by the verifier. + // + // Types that are valid to be assigned to KeyId: + // *PgpSignedAttestation_PgpKeyId + KeyId isPgpSignedAttestation_KeyId `protobuf_oneof:"key_id"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PgpSignedAttestation) Reset() { *m = PgpSignedAttestation{} } +func (m *PgpSignedAttestation) String() string { return proto.CompactTextString(m) } +func (*PgpSignedAttestation) ProtoMessage() {} +func (*PgpSignedAttestation) Descriptor() ([]byte, []int) { + return fileDescriptor_attestation_c9ed0362441a7a04, []int{0} +} +func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PgpSignedAttestation.Unmarshal(m, b) +} +func (m *PgpSignedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PgpSignedAttestation.Marshal(b, m, deterministic) +} +func (dst *PgpSignedAttestation) XXX_Merge(src proto.Message) { + xxx_messageInfo_PgpSignedAttestation.Merge(dst, src) +} +func (m *PgpSignedAttestation) XXX_Size() int { + return xxx_messageInfo_PgpSignedAttestation.Size(m) +} +func (m *PgpSignedAttestation) XXX_DiscardUnknown() { + xxx_messageInfo_PgpSignedAttestation.DiscardUnknown(m) +} + +var xxx_messageInfo_PgpSignedAttestation proto.InternalMessageInfo + +func (m *PgpSignedAttestation) GetSignature() string { + if m != nil { + return m.Signature + } + return "" +} + +func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType { + if m != nil { + return m.ContentType + } + return PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED +} + +type isPgpSignedAttestation_KeyId interface { + isPgpSignedAttestation_KeyId() +} + +type PgpSignedAttestation_PgpKeyId struct { + PgpKeyId string `protobuf:"bytes,2,opt,name=pgp_key_id,json=pgpKeyId,proto3,oneof"` +} + +func (*PgpSignedAttestation_PgpKeyId) isPgpSignedAttestation_KeyId() {} + +func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId { + if m != nil { + return m.KeyId + } + return nil +} + +func (m *PgpSignedAttestation) GetPgpKeyId() string { + if x, ok := m.GetKeyId().(*PgpSignedAttestation_PgpKeyId); ok { + return x.PgpKeyId + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*PgpSignedAttestation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _PgpSignedAttestation_OneofMarshaler, _PgpSignedAttestation_OneofUnmarshaler, _PgpSignedAttestation_OneofSizer, []interface{}{ + (*PgpSignedAttestation_PgpKeyId)(nil), + } +} + +func _PgpSignedAttestation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*PgpSignedAttestation) + // key_id + switch x := m.KeyId.(type) { + case *PgpSignedAttestation_PgpKeyId: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeStringBytes(x.PgpKeyId) + case nil: + default: + return fmt.Errorf("PgpSignedAttestation.KeyId has unexpected type %T", x) + } + return nil +} + +func _PgpSignedAttestation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*PgpSignedAttestation) + switch tag { + case 2: // key_id.pgp_key_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.KeyId = &PgpSignedAttestation_PgpKeyId{x} + return true, err + default: + return false, nil + } +} + +func _PgpSignedAttestation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*PgpSignedAttestation) + // key_id + switch x := m.KeyId.(type) { + case *PgpSignedAttestation_PgpKeyId: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.PgpKeyId))) + n += len(x.PgpKeyId) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Note kind that represents a logical attestation "role" or "authority". For +// example, an organization might have one `Authority` for "QA" and one for +// "build". This Note is intended to act strictly as a grouping mechanism for +// the attached Occurrences (Attestations). This grouping mechanism also +// provides a security boundary, since IAM ACLs gate the ability for a principle +// to attach an Occurrence to a given Note. It also provides a single point of +// lookup to find all attached Attestation Occurrences, even if they don't all +// live in the same project. +type Authority struct { + // Hint hints at the purpose of the attestation authority. + Hint *Authority_Hint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Authority) Reset() { *m = Authority{} } +func (m *Authority) String() string { return proto.CompactTextString(m) } +func (*Authority) ProtoMessage() {} +func (*Authority) Descriptor() ([]byte, []int) { + return fileDescriptor_attestation_c9ed0362441a7a04, []int{1} +} +func (m *Authority) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Authority.Unmarshal(m, b) +} +func (m *Authority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Authority.Marshal(b, m, deterministic) +} +func (dst *Authority) XXX_Merge(src proto.Message) { + xxx_messageInfo_Authority.Merge(dst, src) +} +func (m *Authority) XXX_Size() int { + return xxx_messageInfo_Authority.Size(m) +} +func (m *Authority) XXX_DiscardUnknown() { + xxx_messageInfo_Authority.DiscardUnknown(m) +} + +var xxx_messageInfo_Authority proto.InternalMessageInfo + +func (m *Authority) GetHint() *Authority_Hint { + if m != nil { + return m.Hint + } + return nil +} + +// This submessage provides human-readable hints about the purpose of the +// Authority. Because the name of a Note acts as its resource reference, it is +// important to disambiguate the canonical name of the Note (which might be a +// UUID for security purposes) from "readable" names more suitable for debug +// output. Note that these hints should NOT be used to look up authorities in +// security sensitive contexts, such as when looking up Attestations to +// verify. +type Authority_Hint struct { + // The human readable name of this Attestation Authority, for example "qa". + HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Authority_Hint) Reset() { *m = Authority_Hint{} } +func (m *Authority_Hint) String() string { return proto.CompactTextString(m) } +func (*Authority_Hint) ProtoMessage() {} +func (*Authority_Hint) Descriptor() ([]byte, []int) { + return fileDescriptor_attestation_c9ed0362441a7a04, []int{1, 0} +} +func (m *Authority_Hint) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Authority_Hint.Unmarshal(m, b) +} +func (m *Authority_Hint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Authority_Hint.Marshal(b, m, deterministic) +} +func (dst *Authority_Hint) XXX_Merge(src proto.Message) { + xxx_messageInfo_Authority_Hint.Merge(dst, src) +} +func (m *Authority_Hint) XXX_Size() int { + return xxx_messageInfo_Authority_Hint.Size(m) +} +func (m *Authority_Hint) XXX_DiscardUnknown() { + xxx_messageInfo_Authority_Hint.DiscardUnknown(m) +} + +var xxx_messageInfo_Authority_Hint proto.InternalMessageInfo + +func (m *Authority_Hint) GetHumanReadableName() string { + if m != nil { + return m.HumanReadableName + } + return "" +} + +// Details of an attestation occurrence. +type Details struct { + // Attestation for the resource. + Attestation *Attestation `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_attestation_c9ed0362441a7a04, []int{2} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetAttestation() *Attestation { + if m != nil { + return m.Attestation + } + return nil +} + +// Occurrence that represents a single "attestation". The authenticity of an +// Attestation can be verified using the attached signature. If the verifier +// trusts the public key of the signer, then verifying the signature is +// sufficient to establish trust. In this circumstance, the Authority to which +// this Attestation is attached is primarily useful for look-up (how to find +// this Attestation if you already know the Authority and artifact to be +// verified) and intent (which authority was this attestation intended to sign +// for). +type Attestation struct { + // The signature, generally over the `resource_url`, that verifies this + // attestation. The semantics of the signature veracity are ultimately + // determined by the verification engine. + // + // Types that are valid to be assigned to Signature: + // *Attestation_PgpSignedAttestation + Signature isAttestation_Signature `protobuf_oneof:"signature"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Attestation) Reset() { *m = Attestation{} } +func (m *Attestation) String() string { return proto.CompactTextString(m) } +func (*Attestation) ProtoMessage() {} +func (*Attestation) Descriptor() ([]byte, []int) { + return fileDescriptor_attestation_c9ed0362441a7a04, []int{3} +} +func (m *Attestation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Attestation.Unmarshal(m, b) +} +func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Attestation.Marshal(b, m, deterministic) +} +func (dst *Attestation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Attestation.Merge(dst, src) +} +func (m *Attestation) XXX_Size() int { + return xxx_messageInfo_Attestation.Size(m) +} +func (m *Attestation) XXX_DiscardUnknown() { + xxx_messageInfo_Attestation.DiscardUnknown(m) +} + +var xxx_messageInfo_Attestation proto.InternalMessageInfo + +type isAttestation_Signature interface { + isAttestation_Signature() +} + +type Attestation_PgpSignedAttestation struct { + PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"` +} + +func (*Attestation_PgpSignedAttestation) isAttestation_Signature() {} + +func (m *Attestation) GetSignature() isAttestation_Signature { + if m != nil { + return m.Signature + } + return nil +} + +func (m *Attestation) GetPgpSignedAttestation() *PgpSignedAttestation { + if x, ok := m.GetSignature().(*Attestation_PgpSignedAttestation); ok { + return x.PgpSignedAttestation + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Attestation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Attestation_OneofMarshaler, _Attestation_OneofUnmarshaler, _Attestation_OneofSizer, []interface{}{ + (*Attestation_PgpSignedAttestation)(nil), + } +} + +func _Attestation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Attestation) + // signature + switch x := m.Signature.(type) { + case *Attestation_PgpSignedAttestation: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PgpSignedAttestation); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Attestation.Signature has unexpected type %T", x) + } + return nil +} + +func _Attestation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Attestation) + switch tag { + case 1: // signature.pgp_signed_attestation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PgpSignedAttestation) + err := b.DecodeMessage(msg) + m.Signature = &Attestation_PgpSignedAttestation{msg} + return true, err + default: + return false, nil + } +} + +func _Attestation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Attestation) + // signature + switch x := m.Signature.(type) { + case *Attestation_PgpSignedAttestation: + s := proto.Size(x.PgpSignedAttestation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*PgpSignedAttestation)(nil), "grafeas.v1beta1.attestation.PgpSignedAttestation") + proto.RegisterType((*Authority)(nil), "grafeas.v1beta1.attestation.Authority") + proto.RegisterType((*Authority_Hint)(nil), "grafeas.v1beta1.attestation.Authority.Hint") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.attestation.Details") + proto.RegisterType((*Attestation)(nil), "grafeas.v1beta1.attestation.Attestation") + proto.RegisterEnum("grafeas.v1beta1.attestation.PgpSignedAttestation_ContentType", PgpSignedAttestation_ContentType_name, PgpSignedAttestation_ContentType_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/attestation/attestation.proto", fileDescriptor_attestation_c9ed0362441a7a04) +} + +var fileDescriptor_attestation_c9ed0362441a7a04 = []byte{ + // 452 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x5d, 0x6f, 0xd3, 0x30, + 0x14, 0x6d, 0xba, 0x69, 0xac, 0x37, 0x08, 0x8d, 0x6c, 0x82, 0x0a, 0xa6, 0x69, 0xca, 0x53, 0x25, + 0x24, 0x47, 0x1d, 0x12, 0x2f, 0x08, 0xa1, 0x7e, 0x84, 0x36, 0x03, 0xb2, 0x28, 0xe9, 0x1e, 0xe0, + 0xc5, 0x73, 0x97, 0x8b, 0x6b, 0x91, 0xda, 0x56, 0xe2, 0x4e, 0xca, 0x3b, 0xf0, 0xc0, 0xcf, 0xe0, + 0x97, 0xa2, 0xa6, 0x85, 0x46, 0xda, 0x54, 0xa9, 0x6f, 0xd7, 0x3e, 0x3e, 0xf7, 0x9c, 0xfb, 0x61, + 0x18, 0x71, 0xa5, 0x78, 0x86, 0x5e, 0x8a, 0x77, 0x46, 0xa9, 0xac, 0xf0, 0x6e, 0x95, 0x34, 0x4c, + 0x48, 0xcc, 0x99, 0x64, 0x59, 0x59, 0x88, 0xc2, 0xbb, 0xeb, 0x4e, 0xd1, 0xb0, 0xae, 0xc7, 0x8c, + 0xc1, 0xc2, 0x30, 0x23, 0x94, 0xac, 0xc7, 0x44, 0xe7, 0xca, 0x28, 0xe7, 0x25, 0xcf, 0xd9, 0x37, + 0x64, 0x05, 0x59, 0x3f, 0x27, 0xb5, 0x27, 0xee, 0xaf, 0x26, 0x9c, 0x44, 0x5c, 0x27, 0x82, 0x4b, + 0x4c, 0x7b, 0x1b, 0xc0, 0x39, 0x85, 0x56, 0x21, 0xb8, 0x64, 0x66, 0x91, 0x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8, 0x5e, 0xc3, 0xa3, 0x21, 0x1a, 0x26, 0xb2, 0xc2, 0xb9, 0x04, 0xbb, 0x26, + 0xb3, 0xb6, 0xd2, 0xd9, 0x6e, 0x65, 0x13, 0xc7, 0x75, 0xb2, 0xfb, 0xd3, 0x02, 0xbb, 0x3e, 0x5d, + 0x01, 0xcf, 0x96, 0xdd, 0x2d, 0xaa, 0x79, 0xd0, 0xfb, 0x32, 0xdd, 0x9d, 0x27, 0x39, 0x6e, 0xc4, + 0x27, 0xfa, 0x81, 0xfb, 0xbe, 0x5d, 0x5b, 0xa4, 0xfe, 0x6f, 0x0b, 0xce, 0x84, 0xda, 0x96, 0x3c, + 0xb2, 0xbe, 0xde, 0xac, 0x36, 0x9f, 0x70, 0x95, 0x31, 0xc9, 0x89, 0xca, 0xb9, 0xc7, 0x51, 0x56, + 0xcb, 0xec, 0xad, 0x20, 0xa6, 0x45, 0xb1, 0xe3, 0xc7, 0x78, 0x5b, 0x8b, 0xff, 0x34, 0xf7, 0x46, + 0x71, 0x6f, 0x7a, 0x50, 0xa5, 0x7c, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0x69, 0x0c, 0x36, 0xf8, + 0x6a, 0x03, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go new file mode 100644 index 000000000..877ddbf4f --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go @@ -0,0 +1,287 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/build/build.proto + +package build // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Public key formats +type BuildSignature_KeyType int32 + +const ( + // `KeyType` is not set. + BuildSignature_KEY_TYPE_UNSPECIFIED BuildSignature_KeyType = 0 + // `PGP ASCII Armored` public key. + BuildSignature_PGP_ASCII_ARMORED BuildSignature_KeyType = 1 + // `PKIX PEM` public key. + BuildSignature_PKIX_PEM BuildSignature_KeyType = 2 +) + +var BuildSignature_KeyType_name = map[int32]string{ + 0: "KEY_TYPE_UNSPECIFIED", + 1: "PGP_ASCII_ARMORED", + 2: "PKIX_PEM", +} +var BuildSignature_KeyType_value = map[string]int32{ + "KEY_TYPE_UNSPECIFIED": 0, + "PGP_ASCII_ARMORED": 1, + "PKIX_PEM": 2, +} + +func (x BuildSignature_KeyType) String() string { + return proto.EnumName(BuildSignature_KeyType_name, int32(x)) +} +func (BuildSignature_KeyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_build_739f6c7d44c8a606, []int{1, 0} +} + +// Note holding the version of the provider's builder and the signature of the +// provenance message in linked BuildDetails. +type Build struct { + // Version of the builder which produced this Note. + BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` + // Signature of the build in Occurrences pointing to the Note containing this + // `BuilderDetails`. + Signature *BuildSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Build) Reset() { *m = Build{} } +func (m *Build) String() string { return proto.CompactTextString(m) } +func (*Build) ProtoMessage() {} +func (*Build) Descriptor() ([]byte, []int) { + return fileDescriptor_build_739f6c7d44c8a606, []int{0} +} +func (m *Build) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Build.Unmarshal(m, b) +} +func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Build.Marshal(b, m, deterministic) +} +func (dst *Build) XXX_Merge(src proto.Message) { + xxx_messageInfo_Build.Merge(dst, src) +} +func (m *Build) XXX_Size() int { + return xxx_messageInfo_Build.Size(m) +} +func (m *Build) XXX_DiscardUnknown() { + xxx_messageInfo_Build.DiscardUnknown(m) +} + +var xxx_messageInfo_Build proto.InternalMessageInfo + +func (m *Build) GetBuilderVersion() string { + if m != nil { + return m.BuilderVersion + } + return "" +} + +func (m *Build) GetSignature() *BuildSignature { + if m != nil { + return m.Signature + } + return nil +} + +// Message encapsulating the signature of the verified build. +type BuildSignature struct { + // Public key of the builder which can be used to verify that the related + // findings are valid and unchanged. If `key_type` is empty, this defaults + // to PEM encoded public keys. + // + // This field may be empty if `key_id` references an external key. + // + // For Cloud Container Builder based signatures, this is a PEM encoded public + // key. To verify the Cloud Container Builder signature, place the contents of + // this field into a file (public.pem). The signature field is base64-decoded + // into its binary representation in signature.bin, and the provenance bytes + // from `BuildDetails` are base64-decoded into a binary representation in + // signed.bin. OpenSSL can then verify the signature: + // `openssl sha256 -verify public.pem -signature signature.bin signed.bin` + PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + // Signature of the related `BuildProvenance`. In JSON, this is base-64 + // encoded. + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + // An ID for the key used to sign. This could be either an Id for the key + // stored in `public_key` (such as the Id or fingerprint for a PGP key, or the + // CN for a cert), or a reference to an external key (such as a reference to a + // key in Cloud Key Management Service). + KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + // The type of the key, either stored in `public_key` or referenced in + // `key_id` + KeyType BuildSignature_KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=grafeas.v1beta1.build.BuildSignature_KeyType" json:"key_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BuildSignature) Reset() { *m = BuildSignature{} } +func (m *BuildSignature) String() string { return proto.CompactTextString(m) } +func (*BuildSignature) ProtoMessage() {} +func (*BuildSignature) Descriptor() ([]byte, []int) { + return fileDescriptor_build_739f6c7d44c8a606, []int{1} +} +func (m *BuildSignature) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BuildSignature.Unmarshal(m, b) +} +func (m *BuildSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BuildSignature.Marshal(b, m, deterministic) +} +func (dst *BuildSignature) XXX_Merge(src proto.Message) { + xxx_messageInfo_BuildSignature.Merge(dst, src) +} +func (m *BuildSignature) XXX_Size() int { + return xxx_messageInfo_BuildSignature.Size(m) +} +func (m *BuildSignature) XXX_DiscardUnknown() { + xxx_messageInfo_BuildSignature.DiscardUnknown(m) +} + +var xxx_messageInfo_BuildSignature proto.InternalMessageInfo + +func (m *BuildSignature) GetPublicKey() string { + if m != nil { + return m.PublicKey + } + return "" +} + +func (m *BuildSignature) GetSignature() []byte { + if m != nil { + return m.Signature + } + return nil +} + +func (m *BuildSignature) GetKeyId() string { + if m != nil { + return m.KeyId + } + return "" +} + +func (m *BuildSignature) GetKeyType() BuildSignature_KeyType { + if m != nil { + return m.KeyType + } + return BuildSignature_KEY_TYPE_UNSPECIFIED +} + +// Details of a build occurrence. +type Details struct { + // The actual provenance for the build. + Provenance *provenance.BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"` + // Serialized JSON representation of the provenance, used in generating the + // `BuildSignature` in the corresponding Result. After verifying the + // signature, `provenance_bytes` can be unmarshalled and compared to the + // provenance to confirm that it is unchanged. A base64-encoded string + // representation of the provenance bytes is used for the signature in order + // to interoperate with openssl which expects this format for signature + // verification. + // + // The serialized form is captured both to avoid ambiguity in how the + // provenance is marshalled to json as well to prevent incompatibilities with + // future changes. + ProvenanceBytes string `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_build_739f6c7d44c8a606, []int{2} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetProvenance() *provenance.BuildProvenance { + if m != nil { + return m.Provenance + } + return nil +} + +func (m *Details) GetProvenanceBytes() string { + if m != nil { + return m.ProvenanceBytes + } + return "" +} + +func init() { + proto.RegisterType((*Build)(nil), "grafeas.v1beta1.build.Build") + proto.RegisterType((*BuildSignature)(nil), "grafeas.v1beta1.build.BuildSignature") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.build.Details") + proto.RegisterEnum("grafeas.v1beta1.build.BuildSignature_KeyType", BuildSignature_KeyType_name, BuildSignature_KeyType_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/build/build.proto", fileDescriptor_build_739f6c7d44c8a606) +} + +var fileDescriptor_build_739f6c7d44c8a606 = []byte{ + // 434 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x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8, 0x78, 0x0b, 0x8f, 0xbf, 0x83, 0xcb, 0xe5, 0xc3, 0x93, 0x88, 0x9d, 0xaf, + 0xf3, 0xea, 0xb4, 0xbc, 0x4c, 0xe6, 0x4c, 0x64, 0x9e, 0x2c, 0x33, 0x3f, 0x43, 0x61, 0xef, 0xc5, + 0xaf, 0x42, 0xac, 0xe0, 0xea, 0xe0, 0x6b, 0xbe, 0xb2, 0xef, 0xcf, 0xc6, 0xd1, 0x75, 0x32, 0x4a, + 0x4f, 0x2c, 0xcd, 0xbb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x06, 0x5a, 0x03, 0x5d, 0x13, 0x03, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common/common.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common/common.pb.go new file mode 100644 index 000000000..8e666ff27 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common/common.pb.go @@ -0,0 +1,152 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/common/common.proto + +package common // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Kind represents the kinds of notes supported. +type NoteKind int32 + +const ( + // Unknown. + NoteKind_NOTE_KIND_UNSPECIFIED NoteKind = 0 + // The note and occurrence represent a package vulnerability. + NoteKind_VULNERABILITY NoteKind = 1 + // The note and occurrence assert build provenance. + NoteKind_BUILD NoteKind = 2 + // This represents an image basis relationship. + NoteKind_IMAGE NoteKind = 3 + // This represents a package installed via a package manager. + NoteKind_PACKAGE NoteKind = 4 + // The note and occurrence track deployment events. + NoteKind_DEPLOYMENT NoteKind = 5 + // The note and occurrence track the initial discovery status of a resource. + NoteKind_DISCOVERY NoteKind = 6 + // This represents a logical "role" that can attest to artifacts. + NoteKind_ATTESTATION NoteKind = 7 +) + +var NoteKind_name = map[int32]string{ + 0: "NOTE_KIND_UNSPECIFIED", + 1: "VULNERABILITY", + 2: "BUILD", + 3: "IMAGE", + 4: "PACKAGE", + 5: "DEPLOYMENT", + 6: "DISCOVERY", + 7: "ATTESTATION", +} +var NoteKind_value = map[string]int32{ + "NOTE_KIND_UNSPECIFIED": 0, + "VULNERABILITY": 1, + "BUILD": 2, + "IMAGE": 3, + "PACKAGE": 4, + "DEPLOYMENT": 5, + "DISCOVERY": 6, + "ATTESTATION": 7, +} + +func (x NoteKind) String() string { + return proto.EnumName(NoteKind_name, int32(x)) +} +func (NoteKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_common_bcbfdeee4a2611b3, []int{0} +} + +// Metadata for any related URL information. +type RelatedUrl struct { + // Specific URL associated with the resource. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Label to describe usage of the URL. + Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RelatedUrl) Reset() { *m = RelatedUrl{} } +func (m *RelatedUrl) String() string { return proto.CompactTextString(m) } +func (*RelatedUrl) ProtoMessage() {} +func (*RelatedUrl) Descriptor() ([]byte, []int) { + return fileDescriptor_common_bcbfdeee4a2611b3, []int{0} +} +func (m *RelatedUrl) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RelatedUrl.Unmarshal(m, b) +} +func (m *RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RelatedUrl.Marshal(b, m, deterministic) +} +func (dst *RelatedUrl) XXX_Merge(src proto.Message) { + xxx_messageInfo_RelatedUrl.Merge(dst, src) +} +func (m *RelatedUrl) XXX_Size() int { + return xxx_messageInfo_RelatedUrl.Size(m) +} +func (m *RelatedUrl) XXX_DiscardUnknown() { + xxx_messageInfo_RelatedUrl.DiscardUnknown(m) +} + +var xxx_messageInfo_RelatedUrl proto.InternalMessageInfo + +func (m *RelatedUrl) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *RelatedUrl) GetLabel() string { + if m != nil { + return m.Label + } + return "" +} + +func init() { + proto.RegisterType((*RelatedUrl)(nil), "grafeas.v1beta1.RelatedUrl") + proto.RegisterEnum("grafeas.v1beta1.NoteKind", NoteKind_name, NoteKind_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/common/common.proto", fileDescriptor_common_bcbfdeee4a2611b3) +} + +var fileDescriptor_common_bcbfdeee4a2611b3 = []byte{ + // 322 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x6b, 0xea, 0x40, + 0x14, 0x85, 0x5f, 0xf4, 0xa9, 0xcf, 0x2b, 0x3e, 0xa7, 0x43, 0x0b, 0xba, 0x2b, 0x5d, 0x95, 0x2e, + 0x12, 0xa4, 0xdd, 0x95, 0x2e, 0xa2, 0x99, 0xca, 0x60, 0x9c, 0x84, 0x38, 0x11, 0xec, 0x46, 0x46, + 0x9d, 0x0e, 0x81, 0x71, 0x46, 0x92, 0x54, 0x28, 0xfd, 0x09, 0xfd, 0x17, 0xfd, 0xa5, 0x45, 0xe3, + 0xaa, 0xab, 0xae, 0xce, 0x39, 0xf7, 0x5e, 0x2e, 0x9c, 0x0f, 0x9e, 0x94, 0xb5, 0x4a, 0x4b, 0x6f, + 0x2b, 0x0f, 0xa5, 0xb5, 0xba, 0xf0, 0x36, 0xd6, 0x94, 0x22, 0x33, 0x32, 0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, 0xa8, 0x90, 0xb9, 0xca, 0x6a, 0x61, 0x94, 0x6b, 0x73, 0xe5, 0x29, 0x69, 0x4e, 0x3c, + 0xbc, 0x6a, 0x25, 0xf6, 0x59, 0xf1, 0x7b, 0xa2, 0x8f, 0x95, 0x7c, 0xd5, 0xea, 0x93, 0xc4, 0x5f, + 0x37, 0x4f, 0x8f, 0xee, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x0a, 0x57, 0x94, 0x99, 0x01, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/containeranalysis.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/containeranalysis.pb.go new file mode 100644 index 000000000..c3220f0da --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/containeranalysis.pb.go @@ -0,0 +1,670 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/containeranalysis.proto + +package containeranalysis // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import v1 "google.golang.org/genproto/googleapis/iam/v1" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A scan configuration specifies whether Cloud components in a project have a +// particular type of analysis being run. For example, it can configure whether +// vulnerability scanning is being done on Docker images or not. +type ScanConfig struct { + // Output only. The name of the scan configuration in the form of + // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Output only. A human-readable description of what the scan configuration + // does. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Whether the scan is enabled. + Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` + // Output only. The time this scan config was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time this scan config was last updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScanConfig) Reset() { *m = ScanConfig{} } +func (m *ScanConfig) String() string { return proto.CompactTextString(m) } +func (*ScanConfig) ProtoMessage() {} +func (*ScanConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_containeranalysis_a170acd3c74dfdfb, []int{0} +} +func (m *ScanConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ScanConfig.Unmarshal(m, b) +} +func (m *ScanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ScanConfig.Marshal(b, m, deterministic) +} +func (dst *ScanConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScanConfig.Merge(dst, src) +} +func (m *ScanConfig) XXX_Size() int { + return xxx_messageInfo_ScanConfig.Size(m) +} +func (m *ScanConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ScanConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ScanConfig proto.InternalMessageInfo + +func (m *ScanConfig) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ScanConfig) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *ScanConfig) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + +func (m *ScanConfig) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *ScanConfig) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +// Request to get a scan configuration. +type GetScanConfigRequest struct { + // The name of the scan configuration in the form of + // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetScanConfigRequest) Reset() { *m = GetScanConfigRequest{} } +func (m *GetScanConfigRequest) String() string { return proto.CompactTextString(m) } +func (*GetScanConfigRequest) ProtoMessage() {} +func (*GetScanConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_containeranalysis_a170acd3c74dfdfb, []int{1} +} +func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetScanConfigRequest.Unmarshal(m, b) +} +func (m *GetScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetScanConfigRequest.Marshal(b, m, deterministic) +} +func (dst *GetScanConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetScanConfigRequest.Merge(dst, src) +} +func (m *GetScanConfigRequest) XXX_Size() int { + return xxx_messageInfo_GetScanConfigRequest.Size(m) +} +func (m *GetScanConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetScanConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetScanConfigRequest proto.InternalMessageInfo + +func (m *GetScanConfigRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request to list scan configurations. +type ListScanConfigsRequest struct { + // The name of the project to list scan configurations for in the form of + // `projects/[PROJECT_ID]`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The filter expression. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // The number of scan configs to return in the list. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Token to provide to skip to a particular spot in the list. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} } +func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) } +func (*ListScanConfigsRequest) ProtoMessage() {} +func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_containeranalysis_a170acd3c74dfdfb, []int{2} +} +func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListScanConfigsRequest.Unmarshal(m, b) +} +func (m *ListScanConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListScanConfigsRequest.Marshal(b, m, deterministic) +} +func (dst *ListScanConfigsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListScanConfigsRequest.Merge(dst, src) +} +func (m *ListScanConfigsRequest) XXX_Size() int { + return xxx_messageInfo_ListScanConfigsRequest.Size(m) +} +func (m *ListScanConfigsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListScanConfigsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListScanConfigsRequest proto.InternalMessageInfo + +func (m *ListScanConfigsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListScanConfigsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListScanConfigsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListScanConfigsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response for listing scan configurations. +type ListScanConfigsResponse struct { + // The scan configurations requested. + ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"` + // The next pagination token in the list response. It should be used as + // `page_token` for the following request. An empty value means no more + // results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse{} } +func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) } +func (*ListScanConfigsResponse) ProtoMessage() {} +func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_containeranalysis_a170acd3c74dfdfb, []int{3} +} +func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListScanConfigsResponse.Unmarshal(m, b) +} +func (m *ListScanConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListScanConfigsResponse.Marshal(b, m, deterministic) +} +func (dst *ListScanConfigsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListScanConfigsResponse.Merge(dst, src) +} +func (m *ListScanConfigsResponse) XXX_Size() int { + return xxx_messageInfo_ListScanConfigsResponse.Size(m) +} +func (m *ListScanConfigsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListScanConfigsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListScanConfigsResponse proto.InternalMessageInfo + +func (m *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig { + if m != nil { + return m.ScanConfigs + } + return nil +} + +func (m *ListScanConfigsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// A request to update a scan configuration. +type UpdateScanConfigRequest struct { + // The name of the scan configuration in the form of + // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The updated scan configuration. + ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest{} } +func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateScanConfigRequest) ProtoMessage() {} +func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_containeranalysis_a170acd3c74dfdfb, []int{4} +} +func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateScanConfigRequest.Unmarshal(m, b) +} +func (m *UpdateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateScanConfigRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateScanConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateScanConfigRequest.Merge(dst, src) +} +func (m *UpdateScanConfigRequest) XXX_Size() int { + return xxx_messageInfo_UpdateScanConfigRequest.Size(m) +} +func (m *UpdateScanConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateScanConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateScanConfigRequest proto.InternalMessageInfo + +func (m *UpdateScanConfigRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateScanConfigRequest) GetScanConfig() *ScanConfig { + if m != nil { + return m.ScanConfig + } + return nil +} + +func init() { + proto.RegisterType((*ScanConfig)(nil), "google.devtools.containeranalysis.v1beta1.ScanConfig") + proto.RegisterType((*GetScanConfigRequest)(nil), "google.devtools.containeranalysis.v1beta1.GetScanConfigRequest") + proto.RegisterType((*ListScanConfigsRequest)(nil), "google.devtools.containeranalysis.v1beta1.ListScanConfigsRequest") + proto.RegisterType((*ListScanConfigsResponse)(nil), "google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse") + proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ContainerAnalysisV1Beta1Client is the client API for ContainerAnalysisV1Beta1 service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ContainerAnalysisV1Beta1Client interface { + // Sets the access control policy on the specified note or occurrence. + // Requires `containeranalysis.notes.setIamPolicy` or + // `containeranalysis.occurrences.setIamPolicy` permission if the resource is + // a note or an occurrence, respectively. + // + // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for + // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for + // occurrences. + SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) + // Gets the access control policy for a note or an occurrence resource. + // Requires `containeranalysis.notes.setIamPolicy` or + // `containeranalysis.occurrences.setIamPolicy` permission if the resource is + // a note or occurrence, respectively. + // + // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for + // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for + // occurrences. + GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) + // Returns the permissions that a caller has on the specified note or + // occurrence. Requires list permission on the project (for example, + // `containeranalysis.notes.list`). + // + // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for + // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for + // occurrences. + TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) + // Gets the specified scan configuration. + GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) + // Lists scan configurations for the specified project. + ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) + // Updates the specified scan configuration. + UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) +} + +type containerAnalysisV1Beta1Client struct { + cc *grpc.ClientConn +} + +func NewContainerAnalysisV1Beta1Client(cc *grpc.ClientConn) ContainerAnalysisV1Beta1Client { + return &containerAnalysisV1Beta1Client{cc} +} + +func (c *containerAnalysisV1Beta1Client) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { + out := new(v1.Policy) + err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/SetIamPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *containerAnalysisV1Beta1Client) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { + out := new(v1.Policy) + err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetIamPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *containerAnalysisV1Beta1Client) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { + out := new(v1.TestIamPermissionsResponse) + err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/TestIamPermissions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *containerAnalysisV1Beta1Client) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { + out := new(ScanConfig) + err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetScanConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *containerAnalysisV1Beta1Client) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) { + out := new(ListScanConfigsResponse) + err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/ListScanConfigs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *containerAnalysisV1Beta1Client) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { + out := new(ScanConfig) + err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/UpdateScanConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ContainerAnalysisV1Beta1Server is the server API for ContainerAnalysisV1Beta1 service. +type ContainerAnalysisV1Beta1Server interface { + // Sets the access control policy on the specified note or occurrence. + // Requires `containeranalysis.notes.setIamPolicy` or + // `containeranalysis.occurrences.setIamPolicy` permission if the resource is + // a note or an occurrence, respectively. + // + // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for + // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for + // occurrences. + SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) + // Gets the access control policy for a note or an occurrence resource. + // Requires `containeranalysis.notes.setIamPolicy` or + // `containeranalysis.occurrences.setIamPolicy` permission if the resource is + // a note or occurrence, respectively. + // + // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for + // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for + // occurrences. + GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) + // Returns the permissions that a caller has on the specified note or + // occurrence. Requires list permission on the project (for example, + // `containeranalysis.notes.list`). + // + // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for + // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for + // occurrences. + TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) + // Gets the specified scan configuration. + GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) + // Lists scan configurations for the specified project. + ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) + // Updates the specified scan configuration. + UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) +} + +func RegisterContainerAnalysisV1Beta1Server(s *grpc.Server, srv ContainerAnalysisV1Beta1Server) { + s.RegisterService(&_ContainerAnalysisV1Beta1_serviceDesc, srv) +} + +func _ContainerAnalysisV1Beta1_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.SetIamPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ContainerAnalysisV1Beta1Server).SetIamPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/SetIamPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ContainerAnalysisV1Beta1Server).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ContainerAnalysisV1Beta1_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.GetIamPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ContainerAnalysisV1Beta1Server).GetIamPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetIamPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ContainerAnalysisV1Beta1Server).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ContainerAnalysisV1Beta1_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1.TestIamPermissionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ContainerAnalysisV1Beta1Server).TestIamPermissions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/TestIamPermissions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ContainerAnalysisV1Beta1Server).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ContainerAnalysisV1Beta1_GetScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetScanConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ContainerAnalysisV1Beta1Server).GetScanConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetScanConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ContainerAnalysisV1Beta1Server).GetScanConfig(ctx, req.(*GetScanConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ContainerAnalysisV1Beta1_ListScanConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListScanConfigsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ContainerAnalysisV1Beta1Server).ListScanConfigs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/ListScanConfigs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ContainerAnalysisV1Beta1Server).ListScanConfigs(ctx, req.(*ListScanConfigsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ContainerAnalysisV1Beta1_UpdateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateScanConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ContainerAnalysisV1Beta1Server).UpdateScanConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/UpdateScanConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ContainerAnalysisV1Beta1Server).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ContainerAnalysisV1Beta1_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + HandlerType: (*ContainerAnalysisV1Beta1Server)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SetIamPolicy", + Handler: _ContainerAnalysisV1Beta1_SetIamPolicy_Handler, + }, + { + MethodName: "GetIamPolicy", + Handler: _ContainerAnalysisV1Beta1_GetIamPolicy_Handler, + }, + { + MethodName: "TestIamPermissions", + Handler: _ContainerAnalysisV1Beta1_TestIamPermissions_Handler, + }, + { + MethodName: "GetScanConfig", + Handler: _ContainerAnalysisV1Beta1_GetScanConfig_Handler, + }, + { + MethodName: "ListScanConfigs", + Handler: _ContainerAnalysisV1Beta1_ListScanConfigs_Handler, + }, + { + MethodName: "UpdateScanConfig", + Handler: _ContainerAnalysisV1Beta1_UpdateScanConfig_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/devtools/containeranalysis/v1beta1/containeranalysis.proto", +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/containeranalysis.proto", fileDescriptor_containeranalysis_a170acd3c74dfdfb) +} + +var fileDescriptor_containeranalysis_a170acd3c74dfdfb = []byte{ + // 766 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcd, 0x4e, 0x1b, 0x49, + 0x10, 0x56, 0xf3, 0xb7, 0xd0, 0x06, 0xb1, 0x6a, 0xed, 0x82, 0x35, 0xfb, 0x67, 0x8d, 0x56, 0x2b, + 0xe3, 0xc3, 0xcc, 0x1a, 0xb4, 0x5a, 0x05, 0x44, 0x90, 0x21, 0x92, 0x15, 0x29, 0x07, 0x64, 0x08, + 0x8a, 0xb8, 0x58, 0xed, 0x71, 0x31, 0xea, 0xc4, 0xd3, 0x3d, 0x99, 0x6e, 0x5b, 0x40, 0x44, 0x0e, + 0x11, 0xb9, 0x24, 0xc7, 0x1c, 0x73, 0xcb, 0x5b, 0xe4, 0x11, 0x12, 0xe5, 0x16, 0x29, 0x4f, 0x90, + 0x77, 0xc8, 0x35, 0x9a, 0x9e, 0x1e, 0x7b, 0xb0, 0x0d, 0xd8, 0xa0, 0x9c, 0xa0, 0xeb, 0xfb, 0xaa, + 0xea, 0xfb, 0xaa, 0xdd, 0x65, 0xe3, 0x8a, 0x2f, 0x84, 0xdf, 0x02, 0xb7, 0x09, 0x1d, 0x25, 0x44, + 0x4b, 0xba, 0x9e, 0xe0, 0x8a, 0x32, 0x0e, 0x11, 0xe5, 0xb4, 0x75, 0x22, 0x99, 0x74, 0x3b, 0xe5, + 0x06, 0x28, 0x5a, 0x1e, 0x44, 0x9c, 0x30, 0x12, 0x4a, 0x90, 0x95, 0xa4, 0x84, 0x93, 0x96, 0x70, + 0x06, 0x89, 0xa6, 0x84, 0xf5, 0xbb, 0xe9, 0x46, 0x43, 0xe6, 0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, 0x7a, 0x76, 0x9f, 0x6e, 0xbf, + 0x42, 0xf8, 0x6f, 0x4f, 0x04, 0x69, 0xef, 0x4b, 0x5b, 0xee, 0xa2, 0xc3, 0x43, 0xc3, 0xf1, 0x45, + 0x8b, 0x72, 0xdf, 0x11, 0x91, 0xef, 0xfa, 0xc0, 0xf5, 0xf7, 0xa7, 0x9b, 0x40, 0x34, 0x64, 0x72, + 0x84, 0xdf, 0x3a, 0x1b, 0x03, 0xc8, 0xbb, 0x89, 0xc9, 0xea, 0x4e, 0xa5, 0x31, 0xa3, 0x8b, 0xad, + 0x7d, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x6c, 0xf6, 0x5c, 0x69, 0x37, 0x09, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go new file mode 100644 index 000000000..c2c57e786 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go @@ -0,0 +1,272 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/deployment/deployment.proto + +package deployment // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Types of platforms. +type Deployment_Platform int32 + +const ( + // Unknown. + Deployment_PLATFORM_UNSPECIFIED Deployment_Platform = 0 + // Google Container Engine. + Deployment_GKE Deployment_Platform = 1 + // Google App Engine: Flexible Environment. + Deployment_FLEX Deployment_Platform = 2 + // Custom user-defined platform. + Deployment_CUSTOM Deployment_Platform = 3 +) + +var Deployment_Platform_name = map[int32]string{ + 0: "PLATFORM_UNSPECIFIED", + 1: "GKE", + 2: "FLEX", + 3: "CUSTOM", +} +var Deployment_Platform_value = map[string]int32{ + "PLATFORM_UNSPECIFIED": 0, + "GKE": 1, + "FLEX": 2, + "CUSTOM": 3, +} + +func (x Deployment_Platform) String() string { + return proto.EnumName(Deployment_Platform_name, int32(x)) +} +func (Deployment_Platform) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_deployment_6b1a45811f125482, []int{2, 0} +} + +// An artifact that can be deployed in some runtime. +type Deployable struct { + // Resource URI for the artifact being deployed. + ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Deployable) Reset() { *m = Deployable{} } +func (m *Deployable) String() string { return proto.CompactTextString(m) } +func (*Deployable) ProtoMessage() {} +func (*Deployable) Descriptor() ([]byte, []int) { + return fileDescriptor_deployment_6b1a45811f125482, []int{0} +} +func (m *Deployable) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Deployable.Unmarshal(m, b) +} +func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Deployable.Marshal(b, m, deterministic) +} +func (dst *Deployable) XXX_Merge(src proto.Message) { + xxx_messageInfo_Deployable.Merge(dst, src) +} +func (m *Deployable) XXX_Size() int { + return xxx_messageInfo_Deployable.Size(m) +} +func (m *Deployable) XXX_DiscardUnknown() { + xxx_messageInfo_Deployable.DiscardUnknown(m) +} + +var xxx_messageInfo_Deployable proto.InternalMessageInfo + +func (m *Deployable) GetResourceUri() []string { + if m != nil { + return m.ResourceUri + } + return nil +} + +// Details of a deployment occurrence. +type Details struct { + // Deployment history for the resource. + Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_deployment_6b1a45811f125482, []int{1} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetDeployment() *Deployment { + if m != nil { + return m.Deployment + } + return nil +} + +// The period during which some deployable was active in a runtime. +type Deployment struct { + // Identity of the user that triggered this deployment. + UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` + // Beginning of the lifetime of this deployment. + DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` + // End of the lifetime of this deployment. + UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"` + // Configuration used to create this deployment. + Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` + // Address of the runtime element hosting this deployment. + Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` + // Output only. Resource URI for the artifact being deployed taken from + // the deployable field with the same name. + ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` + // Platform hosting this deployment. + Platform Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1beta1.deployment.Deployment_Platform" json:"platform,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Deployment) Reset() { *m = Deployment{} } +func (m *Deployment) String() string { return proto.CompactTextString(m) } +func (*Deployment) ProtoMessage() {} +func (*Deployment) Descriptor() ([]byte, []int) { + return fileDescriptor_deployment_6b1a45811f125482, []int{2} +} +func (m *Deployment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Deployment.Unmarshal(m, b) +} +func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Deployment.Marshal(b, m, deterministic) +} +func (dst *Deployment) XXX_Merge(src proto.Message) { + xxx_messageInfo_Deployment.Merge(dst, src) +} +func (m *Deployment) XXX_Size() int { + return xxx_messageInfo_Deployment.Size(m) +} +func (m *Deployment) XXX_DiscardUnknown() { + xxx_messageInfo_Deployment.DiscardUnknown(m) +} + +var xxx_messageInfo_Deployment proto.InternalMessageInfo + +func (m *Deployment) GetUserEmail() string { + if m != nil { + return m.UserEmail + } + return "" +} + +func (m *Deployment) GetDeployTime() *timestamp.Timestamp { + if m != nil { + return m.DeployTime + } + return nil +} + +func (m *Deployment) GetUndeployTime() *timestamp.Timestamp { + if m != nil { + return m.UndeployTime + } + return nil +} + +func (m *Deployment) GetConfig() string { + if m != nil { + return m.Config + } + return "" +} + +func (m *Deployment) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *Deployment) GetResourceUri() []string { + if m != nil { + return m.ResourceUri + } + return nil +} + +func (m *Deployment) GetPlatform() Deployment_Platform { + if m != nil { + return m.Platform + } + return Deployment_PLATFORM_UNSPECIFIED +} + +func init() { + proto.RegisterType((*Deployable)(nil), "grafeas.v1beta1.deployment.Deployable") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.deployment.Details") + proto.RegisterType((*Deployment)(nil), "grafeas.v1beta1.deployment.Deployment") + proto.RegisterEnum("grafeas.v1beta1.deployment.Deployment_Platform", Deployment_Platform_name, Deployment_Platform_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/deployment/deployment.proto", fileDescriptor_deployment_6b1a45811f125482) +} + +var fileDescriptor_deployment_6b1a45811f125482 = []byte{ + // 434 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4d, 0x6b, 0xdb, 0x40, + 0x10, 0xad, 0xac, 0xd4, 0x1f, 0xe3, 0xb4, 0x98, 0xa5, 0x14, 0x61, 0x08, 0x75, 0x7d, 0x28, 0x3e, + 0xed, 0x92, 0xf4, 0x98, 0x43, 0x49, 0x6d, 0x39, 0x84, 0x24, 0x8d, 0xab, 0xd8, 0x50, 0x7a, 0xa8, + 0x59, 0xdb, 0x63, 0xb1, 0xb0, 0xd2, 0x8a, 0xdd, 0x55, 0x20, 0xbf, 0xa0, 0xd7, 0xfe, 0x86, 0xfe, + 0xd2, 0xa2, 0x95, 0x14, 0x1b, 0x4c, 0xbf, 0x6e, 0x33, 0x6f, 0xe7, 0xcd, 0xbc, 0xf7, 0x58, 0x08, + 0x63, 0xa5, 0x62, 0x89, 0x6c, 0x83, 0x0f, 0x56, 0x29, 0x69, 0xd8, 0x5a, 0xa5, 0x96, 0x8b, 0x14, + 0x35, 0x4f, 0xb9, 0x7c, 0x34, 0xc2, 0xb0, 0x87, 0xd3, 0x15, 0x5a, 0x7e, 0xca, 0x36, 0x98, 0x49, + 0xf5, 0x98, 0x60, 0x6a, 0xf7, 0x4a, 0x9a, 0x69, 0x65, 0x15, 0xe9, 0xc7, 0x9a, 0x6f, 0x91, 0x1b, + 0x5a, 0x0d, 0xd3, 0xdd, 0x44, 0xff, 0x4d, 0x75, 0xc2, 0x4d, 0xae, 0xf2, 0x2d, 0xb3, 0x22, 0x41, + 0x63, 0x79, 0x92, 0x95, 0xe4, 0x21, 0x03, 0x98, 0xb8, 0x71, 0xbe, 0x92, 0x48, 0xde, 0xc2, 0xb1, + 0x46, 0xa3, 0x72, 0xbd, 0xc6, 0x65, 0xae, 0x45, 0xe0, 0x0d, 0xfc, 0x51, 0x27, 0xea, 0xd6, 0xd8, + 0x42, 0x8b, 0xe1, 0x67, 0x68, 0x4d, 0xd0, 0x72, 0x21, 0x0d, 0x99, 0x02, 0xec, 0x4e, 0x05, 0xde, + 0xc0, 0x1b, 0x75, 0xcf, 0xde, 0xd1, 0xdf, 0xab, 0xa1, 0x93, 0xa7, 0x32, 0xda, 0x63, 0x0e, 0x7f, + 0xf8, 0xb5, 0x88, 0xa2, 0x25, 0x27, 0x00, 0xb9, 0x41, 0xbd, 0xc4, 0x84, 0x0b, 0xe9, 0xd6, 0x76, + 0xa2, 0x4e, 0x81, 0x84, 0x05, 0x40, 0xce, 0xa1, 0x5b, 0x72, 0x97, 0x85, 0x97, 0xa0, 0xe1, 0xce, + 0xf6, 0x69, 0x69, 0x94, 0xd6, 0x46, 0xe9, 0xbc, 0x36, 0x5a, 0x9f, 0x2a, 0x00, 0xf2, 0x01, 0x5e, + 0xe4, 0xe9, 0x3e, 0xdd, 0xff, 0x2b, 0xfd, 0xb8, 0x26, 0xb8, 0x05, 0xaf, 0xa1, 0xb9, 0x56, 0xe9, + 0x56, 0xc4, 0xc1, 0x91, 0x13, 0x56, 0x75, 0x24, 0x80, 0x16, 0xdf, 0x6c, 0x34, 0x1a, 0x13, 0x3c, + 0x77, 0x0f, 0x75, 0x7b, 0x90, 0x69, 0xf3, 0x20, 0x53, 0x72, 0x0d, 0xed, 0x4c, 0x72, 0xbb, 0x55, + 0x3a, 0x09, 0x5a, 0x03, 0x6f, 0xf4, 0xf2, 0x8c, 0xfd, 0x5b, 0x8c, 0x74, 0x56, 0xd1, 0xa2, 0xa7, + 0x05, 0xc3, 0x31, 0xb4, 0x6b, 0x94, 0x04, 0xf0, 0x6a, 0x76, 0x73, 0x31, 0x9f, 0xde, 0x45, 0xb7, + 0xcb, 0xc5, 0xa7, 0xfb, 0x59, 0x38, 0xbe, 0x9a, 0x5e, 0x85, 0x93, 0xde, 0x33, 0xd2, 0x02, 0xff, + 0xf2, 0x3a, 0xec, 0x79, 0xa4, 0x0d, 0x47, 0xd3, 0x9b, 0xf0, 0x4b, 0xaf, 0x41, 0x00, 0x9a, 0xe3, + 0xc5, 0xfd, 0xfc, 0xee, 0xb6, 0xe7, 0x7f, 0xfc, 0xee, 0xc1, 0x89, 0x50, 0x7f, 0x10, 0x31, 0xf3, + 0xbe, 0x7e, 0xab, 0x32, 0x8b, 0x95, 0xe4, 0x69, 0x4c, 0x95, 0x8e, 0x59, 0x8c, 0xa9, 0x4b, 0x90, + 0x95, 0x4f, 0x3c, 0x13, 0xe6, 0xff, 0x7e, 0xf7, 0xf9, 0xae, 0xfc, 0xd9, 0xf0, 0x2f, 0xa3, 0x8b, + 0x55, 0xd3, 0x2d, 0x7c, 0xff, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x59, 0xd5, 0x23, 0x2d, 0x03, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.pb.go new file mode 100644 index 000000000..29cb6dfe2 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.pb.go @@ -0,0 +1,297 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/discovery/discovery.proto + +package discovery // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" +import status "google.golang.org/genproto/googleapis/rpc/status" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Whether the resource is continuously analyzed. +type Discovered_ContinuousAnalysis int32 + +const ( + // Unknown. + Discovered_CONTINUOUS_ANALYSIS_UNSPECIFIED Discovered_ContinuousAnalysis = 0 + // The resource is continuously analyzed. + Discovered_ACTIVE Discovered_ContinuousAnalysis = 1 + // The resource is ignored for continuous analysis. + Discovered_INACTIVE Discovered_ContinuousAnalysis = 2 +) + +var Discovered_ContinuousAnalysis_name = map[int32]string{ + 0: "CONTINUOUS_ANALYSIS_UNSPECIFIED", + 1: "ACTIVE", + 2: "INACTIVE", +} +var Discovered_ContinuousAnalysis_value = map[string]int32{ + "CONTINUOUS_ANALYSIS_UNSPECIFIED": 0, + "ACTIVE": 1, + "INACTIVE": 2, +} + +func (x Discovered_ContinuousAnalysis) String() string { + return proto.EnumName(Discovered_ContinuousAnalysis_name, int32(x)) +} +func (Discovered_ContinuousAnalysis) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_discovery_35b141f4cbe7efdb, []int{2, 0} +} + +// Analysis status for a resource. Currently for initial analysis only (not +// updated in continuous analysis). +type Discovered_AnalysisStatus int32 + +const ( + // Unknown. + Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovered_AnalysisStatus = 0 + // Resource is known but no action has been taken yet. + Discovered_PENDING Discovered_AnalysisStatus = 1 + // Resource is being analyzed. + Discovered_SCANNING Discovered_AnalysisStatus = 2 + // Analysis has finished successfully. + Discovered_FINISHED_SUCCESS Discovered_AnalysisStatus = 3 + // Analysis has finished unsuccessfully, the analysis itself is in a bad + // state. + Discovered_FINISHED_FAILED Discovered_AnalysisStatus = 4 + // The resource is known not to be supported + Discovered_FINISHED_UNSUPPORTED Discovered_AnalysisStatus = 5 +) + +var Discovered_AnalysisStatus_name = map[int32]string{ + 0: "ANALYSIS_STATUS_UNSPECIFIED", + 1: "PENDING", + 2: "SCANNING", + 3: "FINISHED_SUCCESS", + 4: "FINISHED_FAILED", + 5: "FINISHED_UNSUPPORTED", +} +var Discovered_AnalysisStatus_value = map[string]int32{ + "ANALYSIS_STATUS_UNSPECIFIED": 0, + "PENDING": 1, + "SCANNING": 2, + "FINISHED_SUCCESS": 3, + "FINISHED_FAILED": 4, + "FINISHED_UNSUPPORTED": 5, +} + +func (x Discovered_AnalysisStatus) String() string { + return proto.EnumName(Discovered_AnalysisStatus_name, int32(x)) +} +func (Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_discovery_35b141f4cbe7efdb, []int{2, 1} +} + +// A note that indicates a type of analysis a provider would perform. This note +// exists in a provider's project. A `Discovery` occurrence is created in a +// consumer's project at the start of analysis. +type Discovery struct { + // The kind of analysis that is handled by this discovery. + AnalysisKind common.NoteKind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=grafeas.v1beta1.NoteKind" json:"analysis_kind,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Discovery) Reset() { *m = Discovery{} } +func (m *Discovery) String() string { return proto.CompactTextString(m) } +func (*Discovery) ProtoMessage() {} +func (*Discovery) Descriptor() ([]byte, []int) { + return fileDescriptor_discovery_35b141f4cbe7efdb, []int{0} +} +func (m *Discovery) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Discovery.Unmarshal(m, b) +} +func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Discovery.Marshal(b, m, deterministic) +} +func (dst *Discovery) XXX_Merge(src proto.Message) { + xxx_messageInfo_Discovery.Merge(dst, src) +} +func (m *Discovery) XXX_Size() int { + return xxx_messageInfo_Discovery.Size(m) +} +func (m *Discovery) XXX_DiscardUnknown() { + xxx_messageInfo_Discovery.DiscardUnknown(m) +} + +var xxx_messageInfo_Discovery proto.InternalMessageInfo + +func (m *Discovery) GetAnalysisKind() common.NoteKind { + if m != nil { + return m.AnalysisKind + } + return common.NoteKind_NOTE_KIND_UNSPECIFIED +} + +// Details of a discovery occurrence. +type Details struct { + // Analysis status for the discovered resource. + Discovered *Discovered `protobuf:"bytes,1,opt,name=discovered,proto3" json:"discovered,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_discovery_35b141f4cbe7efdb, []int{1} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetDiscovered() *Discovered { + if m != nil { + return m.Discovered + } + return nil +} + +// Provides information about the analysis status of a discovered resource. +type Discovered struct { + // Whether the resource is continuously analyzed. + ContinuousAnalysis Discovered_ContinuousAnalysis `protobuf:"varint,1,opt,name=continuous_analysis,json=continuousAnalysis,proto3,enum=grafeas.v1beta1.discovery.Discovered_ContinuousAnalysis" json:"continuous_analysis,omitempty"` + // The last time continuous analysis was done for this resource. + LastAnalysisTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_analysis_time,json=lastAnalysisTime,proto3" json:"last_analysis_time,omitempty"` + // The status of discovery for the resource. + AnalysisStatus Discovered_AnalysisStatus `protobuf:"varint,3,opt,name=analysis_status,json=analysisStatus,proto3,enum=grafeas.v1beta1.discovery.Discovered_AnalysisStatus" json:"analysis_status,omitempty"` + // When an error is encountered this will contain a LocalizedMessage under + // details to show to the user. The LocalizedMessage is output only and + // populated by the API. + AnalysisStatusError *status.Status `protobuf:"bytes,4,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Discovered) Reset() { *m = Discovered{} } +func (m *Discovered) String() string { return proto.CompactTextString(m) } +func (*Discovered) ProtoMessage() {} +func (*Discovered) Descriptor() ([]byte, []int) { + return fileDescriptor_discovery_35b141f4cbe7efdb, []int{2} +} +func (m *Discovered) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Discovered.Unmarshal(m, b) +} +func (m *Discovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Discovered.Marshal(b, m, deterministic) +} +func (dst *Discovered) XXX_Merge(src proto.Message) { + xxx_messageInfo_Discovered.Merge(dst, src) +} +func (m *Discovered) XXX_Size() int { + return xxx_messageInfo_Discovered.Size(m) +} +func (m *Discovered) XXX_DiscardUnknown() { + xxx_messageInfo_Discovered.DiscardUnknown(m) +} + +var xxx_messageInfo_Discovered proto.InternalMessageInfo + +func (m *Discovered) GetContinuousAnalysis() Discovered_ContinuousAnalysis { + if m != nil { + return m.ContinuousAnalysis + } + return Discovered_CONTINUOUS_ANALYSIS_UNSPECIFIED +} + +func (m *Discovered) GetLastAnalysisTime() *timestamp.Timestamp { + if m != nil { + return m.LastAnalysisTime + } + return nil +} + +func (m *Discovered) GetAnalysisStatus() Discovered_AnalysisStatus { + if m != nil { + return m.AnalysisStatus + } + return Discovered_ANALYSIS_STATUS_UNSPECIFIED +} + +func (m *Discovered) GetAnalysisStatusError() *status.Status { + if m != nil { + return m.AnalysisStatusError + } + return nil +} + +func init() { + proto.RegisterType((*Discovery)(nil), "grafeas.v1beta1.discovery.Discovery") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.discovery.Details") + proto.RegisterType((*Discovered)(nil), "grafeas.v1beta1.discovery.Discovered") + proto.RegisterEnum("grafeas.v1beta1.discovery.Discovered_ContinuousAnalysis", Discovered_ContinuousAnalysis_name, Discovered_ContinuousAnalysis_value) + proto.RegisterEnum("grafeas.v1beta1.discovery.Discovered_AnalysisStatus", Discovered_AnalysisStatus_name, Discovered_AnalysisStatus_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/discovery/discovery.proto", fileDescriptor_discovery_35b141f4cbe7efdb) +} + +var fileDescriptor_discovery_35b141f4cbe7efdb = []byte{ + // 541 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x6a, 0xdb, 0x4c, + 0x10, 0xc5, 0x3f, 0x39, 0xf9, 0x92, 0x76, 0x92, 0x3a, 0x62, 0x9d, 0x52, 0xc7, 0x2d, 0xb8, 0xb8, + 0x14, 0x7a, 0xb5, 0x22, 0x69, 0x2f, 0x0a, 0xa5, 0x05, 0x55, 0x92, 0x13, 0x91, 0xb0, 0x16, 0x5a, + 0xa9, 0xd0, 0xd2, 0x22, 0xd6, 0xf2, 0x46, 0x88, 0xca, 0x5a, 0xa3, 0x95, 0x0d, 0xb9, 0xef, 0x0b, + 0xf4, 0x15, 0xfa, 0x46, 0x7d, 0xa3, 0xa2, 0xbf, 0xa9, 0x1d, 0x02, 0xee, 0x95, 0x77, 0x66, 0xcf, + 0xfc, 0xe6, 0xec, 0x31, 0x08, 0x8c, 0x48, 0x88, 0x28, 0xe1, 0xda, 0x8c, 0xaf, 0x72, 0x21, 0x12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ca, 0x32, 0xd5, 0x5d, + 0xd4, 0x87, 0xe3, 0xb6, 0xe9, 0x13, 0xea, 0x3b, 0xce, 0xc4, 0xf5, 0x2c, 0x53, 0xfd, 0xff, 0xe3, + 0x0f, 0x05, 0x9e, 0xc5, 0xe2, 0xfe, 0xec, 0x1d, 0xe5, 0xcb, 0xd7, 0x3a, 0xb3, 0x48, 0x24, 0x2c, + 0x8d, 0xb0, 0xc8, 0x22, 0x2d, 0xe2, 0x69, 0xf9, 0x6f, 0x6b, 0xd5, 0x15, 0x5b, 0xc4, 0xf2, 0x9f, + 0xbe, 0x06, 0xef, 0xda, 0xd3, 0xaf, 0xce, 0xce, 0xb9, 0xab, 0x4f, 0xf7, 0x4a, 0xdc, 0xeb, 0x3f, + 0x01, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x60, 0x55, 0x7f, 0x5b, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas/grafeas.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas/grafeas.pb.go new file mode 100644 index 000000000..5b6a13e63 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas/grafeas.pb.go @@ -0,0 +1,2739 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto + +package grafeas // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import empty "github.com/golang/protobuf/ptypes/empty" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import attestation "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation" +import build "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build" +import common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" +import deployment "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment" +import discovery "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery" +import image "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image" +import _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" +import provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" +import vulnerability "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// An instance of an analysis type that has been found on a resource. +type Occurrence struct { + // Output only. The name of the occurrence in the form of + // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. Immutable. The resource for which the occurrence applies. + Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` + // Required. Immutable. The analysis note associated with this occurrence, in + // the form of `projects[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used + // as a filter in list requests. + NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"` + // Output only. This explicitly denotes which of the occurrence details are + // specified. This field can be used as a filter in list requests. + Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"` + // A description of actions that can be taken to remedy the note. + Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"` + // Output only. The time this occurrence was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time this occurrence was last updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Required. Immutable. Describes the details of the note kind found on this + // resource. + // + // Types that are valid to be assigned to Details: + // *Occurrence_Vulnerability + // *Occurrence_Build + // *Occurrence_DerivedImage + // *Occurrence_Installation + // *Occurrence_Deployment + // *Occurrence_Discovered + // *Occurrence_Attestation + Details isOccurrence_Details `protobuf_oneof:"details"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Occurrence) Reset() { *m = Occurrence{} } +func (m *Occurrence) String() string { return proto.CompactTextString(m) } +func (*Occurrence) ProtoMessage() {} +func (*Occurrence) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{0} +} +func (m *Occurrence) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Occurrence.Unmarshal(m, b) +} +func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Occurrence.Marshal(b, m, deterministic) +} +func (dst *Occurrence) XXX_Merge(src proto.Message) { + xxx_messageInfo_Occurrence.Merge(dst, src) +} +func (m *Occurrence) XXX_Size() int { + return xxx_messageInfo_Occurrence.Size(m) +} +func (m *Occurrence) XXX_DiscardUnknown() { + xxx_messageInfo_Occurrence.DiscardUnknown(m) +} + +var xxx_messageInfo_Occurrence proto.InternalMessageInfo + +func (m *Occurrence) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Occurrence) GetResource() *Resource { + if m != nil { + return m.Resource + } + return nil +} + +func (m *Occurrence) GetNoteName() string { + if m != nil { + return m.NoteName + } + return "" +} + +func (m *Occurrence) GetKind() common.NoteKind { + if m != nil { + return m.Kind + } + return common.NoteKind_NOTE_KIND_UNSPECIFIED +} + +func (m *Occurrence) GetRemediation() string { + if m != nil { + return m.Remediation + } + return "" +} + +func (m *Occurrence) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +type isOccurrence_Details interface { + isOccurrence_Details() +} + +type Occurrence_Vulnerability struct { + Vulnerability *vulnerability.Details `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"` +} + +type Occurrence_Build struct { + Build *build.Details `protobuf:"bytes,9,opt,name=build,proto3,oneof"` +} + +type Occurrence_DerivedImage struct { + DerivedImage *image.Details `protobuf:"bytes,10,opt,name=derived_image,json=derivedImage,proto3,oneof"` +} + +type Occurrence_Installation struct { + Installation *_package.Details `protobuf:"bytes,11,opt,name=installation,proto3,oneof"` +} + +type Occurrence_Deployment struct { + Deployment *deployment.Details `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"` +} + +type Occurrence_Discovered struct { + Discovered *discovery.Details `protobuf:"bytes,13,opt,name=discovered,proto3,oneof"` +} + +type Occurrence_Attestation struct { + Attestation *attestation.Details `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"` +} + +func (*Occurrence_Vulnerability) isOccurrence_Details() {} + +func (*Occurrence_Build) isOccurrence_Details() {} + +func (*Occurrence_DerivedImage) isOccurrence_Details() {} + +func (*Occurrence_Installation) isOccurrence_Details() {} + +func (*Occurrence_Deployment) isOccurrence_Details() {} + +func (*Occurrence_Discovered) isOccurrence_Details() {} + +func (*Occurrence_Attestation) isOccurrence_Details() {} + +func (m *Occurrence) GetDetails() isOccurrence_Details { + if m != nil { + return m.Details + } + return nil +} + +func (m *Occurrence) GetVulnerability() *vulnerability.Details { + if x, ok := m.GetDetails().(*Occurrence_Vulnerability); ok { + return x.Vulnerability + } + return nil +} + +func (m *Occurrence) GetBuild() *build.Details { + if x, ok := m.GetDetails().(*Occurrence_Build); ok { + return x.Build + } + return nil +} + +func (m *Occurrence) GetDerivedImage() *image.Details { + if x, ok := m.GetDetails().(*Occurrence_DerivedImage); ok { + return x.DerivedImage + } + return nil +} + +func (m *Occurrence) GetInstallation() *_package.Details { + if x, ok := m.GetDetails().(*Occurrence_Installation); ok { + return x.Installation + } + return nil +} + +func (m *Occurrence) GetDeployment() *deployment.Details { + if x, ok := m.GetDetails().(*Occurrence_Deployment); ok { + return x.Deployment + } + return nil +} + +func (m *Occurrence) GetDiscovered() *discovery.Details { + if x, ok := m.GetDetails().(*Occurrence_Discovered); ok { + return x.Discovered + } + return nil +} + +func (m *Occurrence) GetAttestation() *attestation.Details { + if x, ok := m.GetDetails().(*Occurrence_Attestation); ok { + return x.Attestation + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Occurrence) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Occurrence_OneofMarshaler, _Occurrence_OneofUnmarshaler, _Occurrence_OneofSizer, []interface{}{ + (*Occurrence_Vulnerability)(nil), + (*Occurrence_Build)(nil), + (*Occurrence_DerivedImage)(nil), + (*Occurrence_Installation)(nil), + (*Occurrence_Deployment)(nil), + (*Occurrence_Discovered)(nil), + (*Occurrence_Attestation)(nil), + } +} + +func _Occurrence_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Occurrence) + // details + switch x := m.Details.(type) { + case *Occurrence_Vulnerability: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Vulnerability); err != nil { + return err + } + case *Occurrence_Build: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Build); err != nil { + return err + } + case *Occurrence_DerivedImage: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DerivedImage); err != nil { + return err + } + case *Occurrence_Installation: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Installation); err != nil { + return err + } + case *Occurrence_Deployment: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Deployment); err != nil { + return err + } + case *Occurrence_Discovered: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Discovered); err != nil { + return err + } + case *Occurrence_Attestation: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Attestation); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Occurrence.Details has unexpected type %T", x) + } + return nil +} + +func _Occurrence_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Occurrence) + switch tag { + case 8: // details.vulnerability + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(vulnerability.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_Vulnerability{msg} + return true, err + case 9: // details.build + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(build.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_Build{msg} + return true, err + case 10: // details.derived_image + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(image.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_DerivedImage{msg} + return true, err + case 11: // details.installation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(_package.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_Installation{msg} + return true, err + case 12: // details.deployment + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(deployment.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_Deployment{msg} + return true, err + case 13: // details.discovered + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(discovery.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_Discovered{msg} + return true, err + case 14: // details.attestation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(attestation.Details) + err := b.DecodeMessage(msg) + m.Details = &Occurrence_Attestation{msg} + return true, err + default: + return false, nil + } +} + +func _Occurrence_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Occurrence) + // details + switch x := m.Details.(type) { + case *Occurrence_Vulnerability: + s := proto.Size(x.Vulnerability) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Occurrence_Build: + s := proto.Size(x.Build) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Occurrence_DerivedImage: + s := proto.Size(x.DerivedImage) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Occurrence_Installation: + s := proto.Size(x.Installation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Occurrence_Deployment: + s := proto.Size(x.Deployment) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Occurrence_Discovered: + s := proto.Size(x.Discovered) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Occurrence_Attestation: + s := proto.Size(x.Attestation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An entity that can have metadata. For example, a Docker image. +type Resource struct { + // The name of the resource. For example, the name of a Docker image - + // "Debian". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The unique URI of the resource. For example, + // `https://gcr.io/project/image@sha256:foo` for a Docker image. + Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` + // The hash of the resource content. For example, the Docker digest. + ContentHash *provenance.Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Resource) Reset() { *m = Resource{} } +func (m *Resource) String() string { return proto.CompactTextString(m) } +func (*Resource) ProtoMessage() {} +func (*Resource) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{1} +} +func (m *Resource) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Resource.Unmarshal(m, b) +} +func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Resource.Marshal(b, m, deterministic) +} +func (dst *Resource) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resource.Merge(dst, src) +} +func (m *Resource) XXX_Size() int { + return xxx_messageInfo_Resource.Size(m) +} +func (m *Resource) XXX_DiscardUnknown() { + xxx_messageInfo_Resource.DiscardUnknown(m) +} + +var xxx_messageInfo_Resource proto.InternalMessageInfo + +func (m *Resource) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Resource) GetUri() string { + if m != nil { + return m.Uri + } + return "" +} + +func (m *Resource) GetContentHash() *provenance.Hash { + if m != nil { + return m.ContentHash + } + return nil +} + +// A type of analysis that can be done for a resource. +type Note struct { + // Output only. The name of the note in the form of + // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // A one sentence description of this note. + ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` + // A detailed description of this note. + LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` + // Output only. The type of analysis. This field can be used as a filter in + // list requests. + Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"` + // URLs associated with this note. + RelatedUrl []*common.RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` + // Time of expiration for this note. Empty if note does not expire. + ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` + // Output only. The time this note was created. This field can be used as a + // filter in list requests. + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time this note was last updated. This field can be used as + // a filter in list requests. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Other notes related to this note. + RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"` + // Required. Immutable. The type of analysis this note represents. + // + // Types that are valid to be assigned to Type: + // *Note_Vulnerability + // *Note_Build + // *Note_BaseImage + // *Note_Package + // *Note_Deployable + // *Note_Discovery + // *Note_AttestationAuthority + Type isNote_Type `protobuf_oneof:"type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Note) Reset() { *m = Note{} } +func (m *Note) String() string { return proto.CompactTextString(m) } +func (*Note) ProtoMessage() {} +func (*Note) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{2} +} +func (m *Note) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Note.Unmarshal(m, b) +} +func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Note.Marshal(b, m, deterministic) +} +func (dst *Note) XXX_Merge(src proto.Message) { + xxx_messageInfo_Note.Merge(dst, src) +} +func (m *Note) XXX_Size() int { + return xxx_messageInfo_Note.Size(m) +} +func (m *Note) XXX_DiscardUnknown() { + xxx_messageInfo_Note.DiscardUnknown(m) +} + +var xxx_messageInfo_Note proto.InternalMessageInfo + +func (m *Note) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Note) GetShortDescription() string { + if m != nil { + return m.ShortDescription + } + return "" +} + +func (m *Note) GetLongDescription() string { + if m != nil { + return m.LongDescription + } + return "" +} + +func (m *Note) GetKind() common.NoteKind { + if m != nil { + return m.Kind + } + return common.NoteKind_NOTE_KIND_UNSPECIFIED +} + +func (m *Note) GetRelatedUrl() []*common.RelatedUrl { + if m != nil { + return m.RelatedUrl + } + return nil +} + +func (m *Note) GetExpirationTime() *timestamp.Timestamp { + if m != nil { + return m.ExpirationTime + } + return nil +} + +func (m *Note) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *Note) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +func (m *Note) GetRelatedNoteNames() []string { + if m != nil { + return m.RelatedNoteNames + } + return nil +} + +type isNote_Type interface { + isNote_Type() +} + +type Note_Vulnerability struct { + Vulnerability *vulnerability.Vulnerability `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"` +} + +type Note_Build struct { + Build *build.Build `protobuf:"bytes,11,opt,name=build,proto3,oneof"` +} + +type Note_BaseImage struct { + BaseImage *image.Basis `protobuf:"bytes,12,opt,name=base_image,json=baseImage,proto3,oneof"` +} + +type Note_Package struct { + Package *_package.Package `protobuf:"bytes,13,opt,name=package,proto3,oneof"` +} + +type Note_Deployable struct { + Deployable *deployment.Deployable `protobuf:"bytes,14,opt,name=deployable,proto3,oneof"` +} + +type Note_Discovery struct { + Discovery *discovery.Discovery `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"` +} + +type Note_AttestationAuthority struct { + AttestationAuthority *attestation.Authority `protobuf:"bytes,16,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"` +} + +func (*Note_Vulnerability) isNote_Type() {} + +func (*Note_Build) isNote_Type() {} + +func (*Note_BaseImage) isNote_Type() {} + +func (*Note_Package) isNote_Type() {} + +func (*Note_Deployable) isNote_Type() {} + +func (*Note_Discovery) isNote_Type() {} + +func (*Note_AttestationAuthority) isNote_Type() {} + +func (m *Note) GetType() isNote_Type { + if m != nil { + return m.Type + } + return nil +} + +func (m *Note) GetVulnerability() *vulnerability.Vulnerability { + if x, ok := m.GetType().(*Note_Vulnerability); ok { + return x.Vulnerability + } + return nil +} + +func (m *Note) GetBuild() *build.Build { + if x, ok := m.GetType().(*Note_Build); ok { + return x.Build + } + return nil +} + +func (m *Note) GetBaseImage() *image.Basis { + if x, ok := m.GetType().(*Note_BaseImage); ok { + return x.BaseImage + } + return nil +} + +func (m *Note) GetPackage() *_package.Package { + if x, ok := m.GetType().(*Note_Package); ok { + return x.Package + } + return nil +} + +func (m *Note) GetDeployable() *deployment.Deployable { + if x, ok := m.GetType().(*Note_Deployable); ok { + return x.Deployable + } + return nil +} + +func (m *Note) GetDiscovery() *discovery.Discovery { + if x, ok := m.GetType().(*Note_Discovery); ok { + return x.Discovery + } + return nil +} + +func (m *Note) GetAttestationAuthority() *attestation.Authority { + if x, ok := m.GetType().(*Note_AttestationAuthority); ok { + return x.AttestationAuthority + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Note) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Note_OneofMarshaler, _Note_OneofUnmarshaler, _Note_OneofSizer, []interface{}{ + (*Note_Vulnerability)(nil), + (*Note_Build)(nil), + (*Note_BaseImage)(nil), + (*Note_Package)(nil), + (*Note_Deployable)(nil), + (*Note_Discovery)(nil), + (*Note_AttestationAuthority)(nil), + } +} + +func _Note_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Note) + // type + switch x := m.Type.(type) { + case *Note_Vulnerability: + b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Vulnerability); err != nil { + return err + } + case *Note_Build: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Build); err != nil { + return err + } + case *Note_BaseImage: + b.EncodeVarint(12<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.BaseImage); err != nil { + return err + } + case *Note_Package: + b.EncodeVarint(13<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Package); err != nil { + return err + } + case *Note_Deployable: + b.EncodeVarint(14<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Deployable); err != nil { + return err + } + case *Note_Discovery: + b.EncodeVarint(15<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Discovery); err != nil { + return err + } + case *Note_AttestationAuthority: + b.EncodeVarint(16<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AttestationAuthority); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("Note.Type has unexpected type %T", x) + } + return nil +} + +func _Note_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Note) + switch tag { + case 10: // type.vulnerability + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(vulnerability.Vulnerability) + err := b.DecodeMessage(msg) + m.Type = &Note_Vulnerability{msg} + return true, err + case 11: // type.build + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(build.Build) + err := b.DecodeMessage(msg) + m.Type = &Note_Build{msg} + return true, err + case 12: // type.base_image + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(image.Basis) + err := b.DecodeMessage(msg) + m.Type = &Note_BaseImage{msg} + return true, err + case 13: // type.package + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(_package.Package) + err := b.DecodeMessage(msg) + m.Type = &Note_Package{msg} + return true, err + case 14: // type.deployable + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(deployment.Deployable) + err := b.DecodeMessage(msg) + m.Type = &Note_Deployable{msg} + return true, err + case 15: // type.discovery + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(discovery.Discovery) + err := b.DecodeMessage(msg) + m.Type = &Note_Discovery{msg} + return true, err + case 16: // type.attestation_authority + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(attestation.Authority) + err := b.DecodeMessage(msg) + m.Type = &Note_AttestationAuthority{msg} + return true, err + default: + return false, nil + } +} + +func _Note_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Note) + // type + switch x := m.Type.(type) { + case *Note_Vulnerability: + s := proto.Size(x.Vulnerability) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Note_Build: + s := proto.Size(x.Build) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Note_BaseImage: + s := proto.Size(x.BaseImage) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Note_Package: + s := proto.Size(x.Package) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Note_Deployable: + s := proto.Size(x.Deployable) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Note_Discovery: + s := proto.Size(x.Discovery) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Note_AttestationAuthority: + s := proto.Size(x.AttestationAuthority) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Request to get an occurrence. +type GetOccurrenceRequest struct { + // The name of the occurrence in the form of + // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetOccurrenceRequest) Reset() { *m = GetOccurrenceRequest{} } +func (m *GetOccurrenceRequest) String() string { return proto.CompactTextString(m) } +func (*GetOccurrenceRequest) ProtoMessage() {} +func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{3} +} +func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetOccurrenceRequest.Unmarshal(m, b) +} +func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetOccurrenceRequest.Marshal(b, m, deterministic) +} +func (dst *GetOccurrenceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOccurrenceRequest.Merge(dst, src) +} +func (m *GetOccurrenceRequest) XXX_Size() int { + return xxx_messageInfo_GetOccurrenceRequest.Size(m) +} +func (m *GetOccurrenceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetOccurrenceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetOccurrenceRequest proto.InternalMessageInfo + +func (m *GetOccurrenceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request to list occurrences. +type ListOccurrencesRequest struct { + // The name of the project to list occurrences for in the form of + // `projects/[PROJECT_ID]`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The filter expression. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Number of occurrences to return in the list. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Token to provide to skip to a particular spot in the list. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListOccurrencesRequest) Reset() { *m = ListOccurrencesRequest{} } +func (m *ListOccurrencesRequest) String() string { return proto.CompactTextString(m) } +func (*ListOccurrencesRequest) ProtoMessage() {} +func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{4} +} +func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListOccurrencesRequest.Unmarshal(m, b) +} +func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListOccurrencesRequest.Marshal(b, m, deterministic) +} +func (dst *ListOccurrencesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOccurrencesRequest.Merge(dst, src) +} +func (m *ListOccurrencesRequest) XXX_Size() int { + return xxx_messageInfo_ListOccurrencesRequest.Size(m) +} +func (m *ListOccurrencesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListOccurrencesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListOccurrencesRequest proto.InternalMessageInfo + +func (m *ListOccurrencesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListOccurrencesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListOccurrencesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListOccurrencesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response for listing occurrences. +type ListOccurrencesResponse struct { + // The occurrences requested. + Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` + // The next pagination token in the list response. It should be used as + // `page_token` for the following request. An empty value means no more + // results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListOccurrencesResponse) Reset() { *m = ListOccurrencesResponse{} } +func (m *ListOccurrencesResponse) String() string { return proto.CompactTextString(m) } +func (*ListOccurrencesResponse) ProtoMessage() {} +func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{5} +} +func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListOccurrencesResponse.Unmarshal(m, b) +} +func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListOccurrencesResponse.Marshal(b, m, deterministic) +} +func (dst *ListOccurrencesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOccurrencesResponse.Merge(dst, src) +} +func (m *ListOccurrencesResponse) XXX_Size() int { + return xxx_messageInfo_ListOccurrencesResponse.Size(m) +} +func (m *ListOccurrencesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListOccurrencesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListOccurrencesResponse proto.InternalMessageInfo + +func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence { + if m != nil { + return m.Occurrences + } + return nil +} + +func (m *ListOccurrencesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request to delete a occurrence. +type DeleteOccurrenceRequest struct { + // The name of the occurrence in the form of + // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteOccurrenceRequest) Reset() { *m = DeleteOccurrenceRequest{} } +func (m *DeleteOccurrenceRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteOccurrenceRequest) ProtoMessage() {} +func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{6} +} +func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteOccurrenceRequest.Unmarshal(m, b) +} +func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteOccurrenceRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteOccurrenceRequest.Merge(dst, src) +} +func (m *DeleteOccurrenceRequest) XXX_Size() int { + return xxx_messageInfo_DeleteOccurrenceRequest.Size(m) +} +func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteOccurrenceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteOccurrenceRequest proto.InternalMessageInfo + +func (m *DeleteOccurrenceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request to create a new occurrence. +type CreateOccurrenceRequest struct { + // The name of the project in the form of `projects/[PROJECT_ID]`, under which + // the occurrence is to be created. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The occurrence to create. + Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateOccurrenceRequest) Reset() { *m = CreateOccurrenceRequest{} } +func (m *CreateOccurrenceRequest) String() string { return proto.CompactTextString(m) } +func (*CreateOccurrenceRequest) ProtoMessage() {} +func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{7} +} +func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateOccurrenceRequest.Unmarshal(m, b) +} +func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateOccurrenceRequest.Marshal(b, m, deterministic) +} +func (dst *CreateOccurrenceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateOccurrenceRequest.Merge(dst, src) +} +func (m *CreateOccurrenceRequest) XXX_Size() int { + return xxx_messageInfo_CreateOccurrenceRequest.Size(m) +} +func (m *CreateOccurrenceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateOccurrenceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateOccurrenceRequest proto.InternalMessageInfo + +func (m *CreateOccurrenceRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence { + if m != nil { + return m.Occurrence + } + return nil +} + +// Request to update an occurrence. +type UpdateOccurrenceRequest struct { + // The name of the occurrence in the form of + // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The updated occurrence. + Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` + // The fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateOccurrenceRequest) Reset() { *m = UpdateOccurrenceRequest{} } +func (m *UpdateOccurrenceRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateOccurrenceRequest) ProtoMessage() {} +func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{8} +} +func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateOccurrenceRequest.Unmarshal(m, b) +} +func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateOccurrenceRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateOccurrenceRequest.Merge(dst, src) +} +func (m *UpdateOccurrenceRequest) XXX_Size() int { + return xxx_messageInfo_UpdateOccurrenceRequest.Size(m) +} +func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateOccurrenceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateOccurrenceRequest proto.InternalMessageInfo + +func (m *UpdateOccurrenceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence { + if m != nil { + return m.Occurrence + } + return nil +} + +func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request to get a note. +type GetNoteRequest struct { + // The name of the note in the form of + // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetNoteRequest) Reset() { *m = GetNoteRequest{} } +func (m *GetNoteRequest) String() string { return proto.CompactTextString(m) } +func (*GetNoteRequest) ProtoMessage() {} +func (*GetNoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{9} +} +func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetNoteRequest.Unmarshal(m, b) +} +func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetNoteRequest.Marshal(b, m, deterministic) +} +func (dst *GetNoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNoteRequest.Merge(dst, src) +} +func (m *GetNoteRequest) XXX_Size() int { + return xxx_messageInfo_GetNoteRequest.Size(m) +} +func (m *GetNoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNoteRequest proto.InternalMessageInfo + +func (m *GetNoteRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request to get the note to which the specified occurrence is attached. +type GetOccurrenceNoteRequest struct { + // The name of the occurrence in the form of + // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetOccurrenceNoteRequest) Reset() { *m = GetOccurrenceNoteRequest{} } +func (m *GetOccurrenceNoteRequest) String() string { return proto.CompactTextString(m) } +func (*GetOccurrenceNoteRequest) ProtoMessage() {} +func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{10} +} +func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetOccurrenceNoteRequest.Unmarshal(m, b) +} +func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetOccurrenceNoteRequest.Marshal(b, m, deterministic) +} +func (dst *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOccurrenceNoteRequest.Merge(dst, src) +} +func (m *GetOccurrenceNoteRequest) XXX_Size() int { + return xxx_messageInfo_GetOccurrenceNoteRequest.Size(m) +} +func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetOccurrenceNoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetOccurrenceNoteRequest proto.InternalMessageInfo + +func (m *GetOccurrenceNoteRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request to list notes. +type ListNotesRequest struct { + // The name of the project to list notes for in the form of + // `projects/[PROJECT_ID]`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The filter expression. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Number of notes to return in the list. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Token to provide to skip to a particular spot in the list. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNotesRequest) Reset() { *m = ListNotesRequest{} } +func (m *ListNotesRequest) String() string { return proto.CompactTextString(m) } +func (*ListNotesRequest) ProtoMessage() {} +func (*ListNotesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{11} +} +func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNotesRequest.Unmarshal(m, b) +} +func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNotesRequest.Marshal(b, m, deterministic) +} +func (dst *ListNotesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNotesRequest.Merge(dst, src) +} +func (m *ListNotesRequest) XXX_Size() int { + return xxx_messageInfo_ListNotesRequest.Size(m) +} +func (m *ListNotesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNotesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNotesRequest proto.InternalMessageInfo + +func (m *ListNotesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListNotesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListNotesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListNotesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response for listing notes. +type ListNotesResponse struct { + // The notes requested. + Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` + // The next pagination token in the list response. It should be used as + // `page_token` for the following request. An empty value means no more + // results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNotesResponse) Reset() { *m = ListNotesResponse{} } +func (m *ListNotesResponse) String() string { return proto.CompactTextString(m) } +func (*ListNotesResponse) ProtoMessage() {} +func (*ListNotesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{12} +} +func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNotesResponse.Unmarshal(m, b) +} +func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNotesResponse.Marshal(b, m, deterministic) +} +func (dst *ListNotesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNotesResponse.Merge(dst, src) +} +func (m *ListNotesResponse) XXX_Size() int { + return xxx_messageInfo_ListNotesResponse.Size(m) +} +func (m *ListNotesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNotesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNotesResponse proto.InternalMessageInfo + +func (m *ListNotesResponse) GetNotes() []*Note { + if m != nil { + return m.Notes + } + return nil +} + +func (m *ListNotesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request to delete a note. +type DeleteNoteRequest struct { + // The name of the note in the form of + // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteNoteRequest) Reset() { *m = DeleteNoteRequest{} } +func (m *DeleteNoteRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteNoteRequest) ProtoMessage() {} +func (*DeleteNoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{13} +} +func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteNoteRequest.Unmarshal(m, b) +} +func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteNoteRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteNoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNoteRequest.Merge(dst, src) +} +func (m *DeleteNoteRequest) XXX_Size() int { + return xxx_messageInfo_DeleteNoteRequest.Size(m) +} +func (m *DeleteNoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteNoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteNoteRequest proto.InternalMessageInfo + +func (m *DeleteNoteRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Request to create a new note. +type CreateNoteRequest struct { + // The name of the project in the form of `projects/[PROJECT_ID]`, under which + // the note is to be created. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The ID to use for this note. + NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"` + // The note to create. + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateNoteRequest) Reset() { *m = CreateNoteRequest{} } +func (m *CreateNoteRequest) String() string { return proto.CompactTextString(m) } +func (*CreateNoteRequest) ProtoMessage() {} +func (*CreateNoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{14} +} +func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateNoteRequest.Unmarshal(m, b) +} +func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateNoteRequest.Marshal(b, m, deterministic) +} +func (dst *CreateNoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNoteRequest.Merge(dst, src) +} +func (m *CreateNoteRequest) XXX_Size() int { + return xxx_messageInfo_CreateNoteRequest.Size(m) +} +func (m *CreateNoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNoteRequest proto.InternalMessageInfo + +func (m *CreateNoteRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateNoteRequest) GetNoteId() string { + if m != nil { + return m.NoteId + } + return "" +} + +func (m *CreateNoteRequest) GetNote() *Note { + if m != nil { + return m.Note + } + return nil +} + +// Request to update a note. +type UpdateNoteRequest struct { + // The name of the note in the form of + // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The updated note. + Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` + // The fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateNoteRequest) Reset() { *m = UpdateNoteRequest{} } +func (m *UpdateNoteRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateNoteRequest) ProtoMessage() {} +func (*UpdateNoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{15} +} +func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateNoteRequest.Unmarshal(m, b) +} +func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateNoteRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateNoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNoteRequest.Merge(dst, src) +} +func (m *UpdateNoteRequest) XXX_Size() int { + return xxx_messageInfo_UpdateNoteRequest.Size(m) +} +func (m *UpdateNoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateNoteRequest proto.InternalMessageInfo + +func (m *UpdateNoteRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateNoteRequest) GetNote() *Note { + if m != nil { + return m.Note + } + return nil +} + +func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// Request to list occurrences for a note. +type ListNoteOccurrencesRequest struct { + // The name of the note to list occurrences for in the form of + // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The filter expression. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Number of occurrences to return in the list. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Token to provide to skip to a particular spot in the list. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesRequest{} } +func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) } +func (*ListNoteOccurrencesRequest) ProtoMessage() {} +func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{16} +} +func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNoteOccurrencesRequest.Unmarshal(m, b) +} +func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNoteOccurrencesRequest.Marshal(b, m, deterministic) +} +func (dst *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNoteOccurrencesRequest.Merge(dst, src) +} +func (m *ListNoteOccurrencesRequest) XXX_Size() int { + return xxx_messageInfo_ListNoteOccurrencesRequest.Size(m) +} +func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNoteOccurrencesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNoteOccurrencesRequest proto.InternalMessageInfo + +func (m *ListNoteOccurrencesRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ListNoteOccurrencesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListNoteOccurrencesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListNoteOccurrencesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// Response for listing occurrences for a note. +type ListNoteOccurrencesResponse struct { + // The occurrences attached to the specified note. + Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` + // Token to provide to skip to a particular spot in the list. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNoteOccurrencesResponse) Reset() { *m = ListNoteOccurrencesResponse{} } +func (m *ListNoteOccurrencesResponse) String() string { return proto.CompactTextString(m) } +func (*ListNoteOccurrencesResponse) ProtoMessage() {} +func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{17} +} +func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNoteOccurrencesResponse.Unmarshal(m, b) +} +func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNoteOccurrencesResponse.Marshal(b, m, deterministic) +} +func (dst *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNoteOccurrencesResponse.Merge(dst, src) +} +func (m *ListNoteOccurrencesResponse) XXX_Size() int { + return xxx_messageInfo_ListNoteOccurrencesResponse.Size(m) +} +func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNoteOccurrencesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNoteOccurrencesResponse proto.InternalMessageInfo + +func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence { + if m != nil { + return m.Occurrences + } + return nil +} + +func (m *ListNoteOccurrencesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request to create notes in batch. +type BatchCreateNotesRequest struct { + // The name of the project in the form of `projects/[PROJECT_ID]`, under which + // the notes are to be created. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The notes to create. + Notes map[string]*Note `protobuf:"bytes,2,rep,name=notes,proto3" json:"notes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchCreateNotesRequest) Reset() { *m = BatchCreateNotesRequest{} } +func (m *BatchCreateNotesRequest) String() string { return proto.CompactTextString(m) } +func (*BatchCreateNotesRequest) ProtoMessage() {} +func (*BatchCreateNotesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{18} +} +func (m *BatchCreateNotesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchCreateNotesRequest.Unmarshal(m, b) +} +func (m *BatchCreateNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchCreateNotesRequest.Marshal(b, m, deterministic) +} +func (dst *BatchCreateNotesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchCreateNotesRequest.Merge(dst, src) +} +func (m *BatchCreateNotesRequest) XXX_Size() int { + return xxx_messageInfo_BatchCreateNotesRequest.Size(m) +} +func (m *BatchCreateNotesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BatchCreateNotesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchCreateNotesRequest proto.InternalMessageInfo + +func (m *BatchCreateNotesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *BatchCreateNotesRequest) GetNotes() map[string]*Note { + if m != nil { + return m.Notes + } + return nil +} + +// Response for creating notes in batch. +type BatchCreateNotesResponse struct { + // The notes that were created. + Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchCreateNotesResponse) Reset() { *m = BatchCreateNotesResponse{} } +func (m *BatchCreateNotesResponse) String() string { return proto.CompactTextString(m) } +func (*BatchCreateNotesResponse) ProtoMessage() {} +func (*BatchCreateNotesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{19} +} +func (m *BatchCreateNotesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchCreateNotesResponse.Unmarshal(m, b) +} +func (m *BatchCreateNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchCreateNotesResponse.Marshal(b, m, deterministic) +} +func (dst *BatchCreateNotesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchCreateNotesResponse.Merge(dst, src) +} +func (m *BatchCreateNotesResponse) XXX_Size() int { + return xxx_messageInfo_BatchCreateNotesResponse.Size(m) +} +func (m *BatchCreateNotesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchCreateNotesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchCreateNotesResponse proto.InternalMessageInfo + +func (m *BatchCreateNotesResponse) GetNotes() []*Note { + if m != nil { + return m.Notes + } + return nil +} + +// Request to create occurrences in batch. +type BatchCreateOccurrencesRequest struct { + // The name of the project in the form of `projects/[PROJECT_ID]`, under which + // the occurrences are to be created. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The occurrences to create. + Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchCreateOccurrencesRequest) Reset() { *m = BatchCreateOccurrencesRequest{} } +func (m *BatchCreateOccurrencesRequest) String() string { return proto.CompactTextString(m) } +func (*BatchCreateOccurrencesRequest) ProtoMessage() {} +func (*BatchCreateOccurrencesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{20} +} +func (m *BatchCreateOccurrencesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchCreateOccurrencesRequest.Unmarshal(m, b) +} +func (m *BatchCreateOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchCreateOccurrencesRequest.Marshal(b, m, deterministic) +} +func (dst *BatchCreateOccurrencesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchCreateOccurrencesRequest.Merge(dst, src) +} +func (m *BatchCreateOccurrencesRequest) XXX_Size() int { + return xxx_messageInfo_BatchCreateOccurrencesRequest.Size(m) +} +func (m *BatchCreateOccurrencesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BatchCreateOccurrencesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchCreateOccurrencesRequest proto.InternalMessageInfo + +func (m *BatchCreateOccurrencesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *BatchCreateOccurrencesRequest) GetOccurrences() []*Occurrence { + if m != nil { + return m.Occurrences + } + return nil +} + +// Response for creating occurrences in batch. +type BatchCreateOccurrencesResponse struct { + // The occurrences that were created. + Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchCreateOccurrencesResponse) Reset() { *m = BatchCreateOccurrencesResponse{} } +func (m *BatchCreateOccurrencesResponse) String() string { return proto.CompactTextString(m) } +func (*BatchCreateOccurrencesResponse) ProtoMessage() {} +func (*BatchCreateOccurrencesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{21} +} +func (m *BatchCreateOccurrencesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchCreateOccurrencesResponse.Unmarshal(m, b) +} +func (m *BatchCreateOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchCreateOccurrencesResponse.Marshal(b, m, deterministic) +} +func (dst *BatchCreateOccurrencesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchCreateOccurrencesResponse.Merge(dst, src) +} +func (m *BatchCreateOccurrencesResponse) XXX_Size() int { + return xxx_messageInfo_BatchCreateOccurrencesResponse.Size(m) +} +func (m *BatchCreateOccurrencesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchCreateOccurrencesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchCreateOccurrencesResponse proto.InternalMessageInfo + +func (m *BatchCreateOccurrencesResponse) GetOccurrences() []*Occurrence { + if m != nil { + return m.Occurrences + } + return nil +} + +// Request to get a vulnerability summary for some set of occurrences. +type GetVulnerabilityOccurrencesSummaryRequest struct { + // The name of the project to get a vulnerability summary for in the form of + // `projects/[PROJECT_ID]`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The filter expression. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetVulnerabilityOccurrencesSummaryRequest) Reset() { + *m = GetVulnerabilityOccurrencesSummaryRequest{} +} +func (m *GetVulnerabilityOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) } +func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage() {} +func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{22} +} +func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Unmarshal(m, b) +} +func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Marshal(b, m, deterministic) +} +func (dst *GetVulnerabilityOccurrencesSummaryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Merge(dst, src) +} +func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Size() int { + return xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Size(m) +} +func (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest proto.InternalMessageInfo + +func (m *GetVulnerabilityOccurrencesSummaryRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *GetVulnerabilityOccurrencesSummaryRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +// A summary of how many vulnerability occurrences there are per resource and +// severity type. +type VulnerabilityOccurrencesSummary struct { + // A listing by resource of the number of fixable and total vulnerabilities. + Counts []*VulnerabilityOccurrencesSummary_FixableTotalByDigest `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VulnerabilityOccurrencesSummary) Reset() { *m = VulnerabilityOccurrencesSummary{} } +func (m *VulnerabilityOccurrencesSummary) String() string { return proto.CompactTextString(m) } +func (*VulnerabilityOccurrencesSummary) ProtoMessage() {} +func (*VulnerabilityOccurrencesSummary) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{23} +} +func (m *VulnerabilityOccurrencesSummary) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VulnerabilityOccurrencesSummary.Unmarshal(m, b) +} +func (m *VulnerabilityOccurrencesSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VulnerabilityOccurrencesSummary.Marshal(b, m, deterministic) +} +func (dst *VulnerabilityOccurrencesSummary) XXX_Merge(src proto.Message) { + xxx_messageInfo_VulnerabilityOccurrencesSummary.Merge(dst, src) +} +func (m *VulnerabilityOccurrencesSummary) XXX_Size() int { + return xxx_messageInfo_VulnerabilityOccurrencesSummary.Size(m) +} +func (m *VulnerabilityOccurrencesSummary) XXX_DiscardUnknown() { + xxx_messageInfo_VulnerabilityOccurrencesSummary.DiscardUnknown(m) +} + +var xxx_messageInfo_VulnerabilityOccurrencesSummary proto.InternalMessageInfo + +func (m *VulnerabilityOccurrencesSummary) GetCounts() []*VulnerabilityOccurrencesSummary_FixableTotalByDigest { + if m != nil { + return m.Counts + } + return nil +} + +// Per resource and severity counts of fixable and total vulnerabilites. +type VulnerabilityOccurrencesSummary_FixableTotalByDigest struct { + // The affected resource. + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` + // The severity for this count. SEVERITY_UNSPECIFIED indicates total across + // all severities. + Severity vulnerability.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"` + // The number of fixable vulnerabilities associated with this resource. + FixableCount int64 `protobuf:"varint,3,opt,name=fixable_count,json=fixableCount,proto3" json:"fixable_count,omitempty"` + // The total number of vulnerabilities associated with this resource. + TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset() { + *m = VulnerabilityOccurrencesSummary_FixableTotalByDigest{} +} +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) String() string { + return proto.CompactTextString(m) +} +func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage() {} +func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Descriptor() ([]byte, []int) { + return fileDescriptor_grafeas_a4e3069f0b5ff953, []int{23, 0} +} +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Unmarshal(m, b) +} +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Marshal(b, m, deterministic) +} +func (dst *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Merge(dst, src) +} +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Size() int { + return xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Size(m) +} +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_DiscardUnknown() { + xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.DiscardUnknown(m) +} + +var xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest proto.InternalMessageInfo + +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource() *Resource { + if m != nil { + return m.Resource + } + return nil +} + +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity() vulnerability.Severity { + if m != nil { + return m.Severity + } + return vulnerability.Severity_SEVERITY_UNSPECIFIED +} + +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount() int64 { + if m != nil { + return m.FixableCount + } + return 0 +} + +func (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount() int64 { + if m != nil { + return m.TotalCount + } + return 0 +} + +func init() { + proto.RegisterType((*Occurrence)(nil), "grafeas.v1beta1.Occurrence") + proto.RegisterType((*Resource)(nil), "grafeas.v1beta1.Resource") + proto.RegisterType((*Note)(nil), "grafeas.v1beta1.Note") + proto.RegisterType((*GetOccurrenceRequest)(nil), "grafeas.v1beta1.GetOccurrenceRequest") + proto.RegisterType((*ListOccurrencesRequest)(nil), "grafeas.v1beta1.ListOccurrencesRequest") + proto.RegisterType((*ListOccurrencesResponse)(nil), "grafeas.v1beta1.ListOccurrencesResponse") + proto.RegisterType((*DeleteOccurrenceRequest)(nil), "grafeas.v1beta1.DeleteOccurrenceRequest") + proto.RegisterType((*CreateOccurrenceRequest)(nil), "grafeas.v1beta1.CreateOccurrenceRequest") + proto.RegisterType((*UpdateOccurrenceRequest)(nil), "grafeas.v1beta1.UpdateOccurrenceRequest") + proto.RegisterType((*GetNoteRequest)(nil), "grafeas.v1beta1.GetNoteRequest") + proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "grafeas.v1beta1.GetOccurrenceNoteRequest") + proto.RegisterType((*ListNotesRequest)(nil), "grafeas.v1beta1.ListNotesRequest") + proto.RegisterType((*ListNotesResponse)(nil), "grafeas.v1beta1.ListNotesResponse") + proto.RegisterType((*DeleteNoteRequest)(nil), "grafeas.v1beta1.DeleteNoteRequest") + proto.RegisterType((*CreateNoteRequest)(nil), "grafeas.v1beta1.CreateNoteRequest") + proto.RegisterType((*UpdateNoteRequest)(nil), "grafeas.v1beta1.UpdateNoteRequest") + proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "grafeas.v1beta1.ListNoteOccurrencesRequest") + proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "grafeas.v1beta1.ListNoteOccurrencesResponse") + proto.RegisterType((*BatchCreateNotesRequest)(nil), "grafeas.v1beta1.BatchCreateNotesRequest") + proto.RegisterMapType((map[string]*Note)(nil), "grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry") + proto.RegisterType((*BatchCreateNotesResponse)(nil), "grafeas.v1beta1.BatchCreateNotesResponse") + proto.RegisterType((*BatchCreateOccurrencesRequest)(nil), "grafeas.v1beta1.BatchCreateOccurrencesRequest") + proto.RegisterType((*BatchCreateOccurrencesResponse)(nil), "grafeas.v1beta1.BatchCreateOccurrencesResponse") + proto.RegisterType((*GetVulnerabilityOccurrencesSummaryRequest)(nil), "grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest") + proto.RegisterType((*VulnerabilityOccurrencesSummary)(nil), "grafeas.v1beta1.VulnerabilityOccurrencesSummary") + proto.RegisterType((*VulnerabilityOccurrencesSummary_FixableTotalByDigest)(nil), "grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GrafeasV1Beta1Client interface { + // Gets the specified occurrence. + GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) + // Lists occurrences for the specified project. + ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) + // Deletes the specified occurrence. For example, use this method to delete an + // occurrence when the occurrence is no longer applicable for the given + // resource. + DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Creates a new occurrence. + CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) + // Creates new occurrences in batch. + BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) + // Updates the specified occurrence. + UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) + // Gets the note attached to the specified occurrence. Consumer projects can + // use this method to get a note that belongs to a provider project. + GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) + // Gets the specified note. + GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) + // Lists notes for the specified project. + ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) + // Deletes the specified note. + DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Creates a new note. + CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) + // Creates new notes in batch. + BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) + // Updates the specified note. + UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) + // Lists occurrences referencing the specified note. Provider projects can use + // this method to get all occurrences across consumer projects referencing the + // specified note. + ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) + // Gets a summary of the number and severity of occurrences. + GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) +} + +type grafeasV1Beta1Client struct { + cc *grpc.ClientConn +} + +func NewGrafeasV1Beta1Client(cc *grpc.ClientConn) GrafeasV1Beta1Client { + return &grafeasV1Beta1Client{cc} +} + +func (c *grafeasV1Beta1Client) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { + out := new(Occurrence) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) { + out := new(ListOccurrencesResponse) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { + out := new(Occurrence) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) { + out := new(BatchCreateOccurrencesResponse) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { + out := new(Occurrence) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) { + out := new(Note) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) { + out := new(Note) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) { + out := new(ListNotesResponse) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) { + out := new(Note) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) { + out := new(BatchCreateNotesResponse) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) { + out := new(Note) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) { + out := new(ListNoteOccurrencesResponse) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *grafeasV1Beta1Client) GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) { + out := new(VulnerabilityOccurrencesSummary) + err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service. +type GrafeasV1Beta1Server interface { + // Gets the specified occurrence. + GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) + // Lists occurrences for the specified project. + ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) + // Deletes the specified occurrence. For example, use this method to delete an + // occurrence when the occurrence is no longer applicable for the given + // resource. + DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) + // Creates a new occurrence. + CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) + // Creates new occurrences in batch. + BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error) + // Updates the specified occurrence. + UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) + // Gets the note attached to the specified occurrence. Consumer projects can + // use this method to get a note that belongs to a provider project. + GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) + // Gets the specified note. + GetNote(context.Context, *GetNoteRequest) (*Note, error) + // Lists notes for the specified project. + ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) + // Deletes the specified note. + DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) + // Creates a new note. + CreateNote(context.Context, *CreateNoteRequest) (*Note, error) + // Creates new notes in batch. + BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error) + // Updates the specified note. + UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) + // Lists occurrences referencing the specified note. Provider projects can use + // this method to get all occurrences across consumer projects referencing the + // specified note. + ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) + // Gets a summary of the number and severity of occurrences. + GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error) +} + +func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server) { + s.RegisterService(&_GrafeasV1Beta1_serviceDesc, srv) +} + +func _GrafeasV1Beta1_GetOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOccurrenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, req.(*GetOccurrenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_ListOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListOccurrencesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, req.(*ListOccurrencesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_DeleteOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteOccurrenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_CreateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateOccurrenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_BatchCreateOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BatchCreateOccurrencesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, req.(*BatchCreateOccurrencesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_UpdateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateOccurrenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_GetOccurrenceNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOccurrenceNoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_GetNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).GetNote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).GetNote(ctx, req.(*GetNoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_ListNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListNotesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).ListNotes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).ListNotes(ctx, req.(*ListNotesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_DeleteNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, req.(*DeleteNoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_CreateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).CreateNote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).CreateNote(ctx, req.(*CreateNoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_BatchCreateNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BatchCreateNotesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, req.(*BatchCreateNotesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_UpdateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, req.(*UpdateNoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_ListNoteOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListNoteOccurrencesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetVulnerabilityOccurrencesSummaryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, req.(*GetVulnerabilityOccurrencesSummaryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _GrafeasV1Beta1_serviceDesc = grpc.ServiceDesc{ + ServiceName: "grafeas.v1beta1.GrafeasV1Beta1", + HandlerType: (*GrafeasV1Beta1Server)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOccurrence", + Handler: _GrafeasV1Beta1_GetOccurrence_Handler, + }, + { + MethodName: "ListOccurrences", + Handler: _GrafeasV1Beta1_ListOccurrences_Handler, + }, + { + MethodName: "DeleteOccurrence", + Handler: _GrafeasV1Beta1_DeleteOccurrence_Handler, + }, + { + MethodName: "CreateOccurrence", + Handler: _GrafeasV1Beta1_CreateOccurrence_Handler, + }, + { + MethodName: "BatchCreateOccurrences", + Handler: _GrafeasV1Beta1_BatchCreateOccurrences_Handler, + }, + { + MethodName: "UpdateOccurrence", + Handler: _GrafeasV1Beta1_UpdateOccurrence_Handler, + }, + { + MethodName: "GetOccurrenceNote", + Handler: _GrafeasV1Beta1_GetOccurrenceNote_Handler, + }, + { + MethodName: "GetNote", + Handler: _GrafeasV1Beta1_GetNote_Handler, + }, + { + MethodName: "ListNotes", + Handler: _GrafeasV1Beta1_ListNotes_Handler, + }, + { + MethodName: "DeleteNote", + Handler: _GrafeasV1Beta1_DeleteNote_Handler, + }, + { + MethodName: "CreateNote", + Handler: _GrafeasV1Beta1_CreateNote_Handler, + }, + { + MethodName: "BatchCreateNotes", + Handler: _GrafeasV1Beta1_BatchCreateNotes_Handler, + }, + { + MethodName: "UpdateNote", + Handler: _GrafeasV1Beta1_UpdateNote_Handler, + }, + { + MethodName: "ListNoteOccurrences", + Handler: _GrafeasV1Beta1_ListNoteOccurrences_Handler, + }, + { + MethodName: "GetVulnerabilityOccurrencesSummary", + Handler: _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", fileDescriptor_grafeas_a4e3069f0b5ff953) +} + +var fileDescriptor_grafeas_a4e3069f0b5ff953 = []byte{ + // 1920 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, + 0x15, 0xf7, 0x52, 0x9f, 0x7c, 0xd4, 0x07, 0x35, 0x75, 0xac, 0x2d, 0x9d, 0xc4, 0xec, 0xc6, 0x75, + 0x24, 0xda, 0x21, 0x6d, 0x39, 0x35, 0x1a, 0xd9, 0x82, 0x11, 0x4a, 0xb2, 0x64, 0xa4, 0x75, 0x8c, + 0xb5, 0x12, 0x14, 0x2d, 0x02, 0x62, 0xc8, 0x1d, 0x51, 0x5b, 0x2d, 0x77, 0xb7, 0xbb, 0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x3a, 0x85, 0x1e, 0x42, 0xa9, 0x13, 0x10, 0x4c, + 0x49, 0x8b, 0xed, 0x50, 0x5f, 0xe6, 0x71, 0x56, 0xea, 0x62, 0xfb, 0xf5, 0x68, 0xfb, 0xf5, 0xb3, + 0x68, 0xfb, 0x26, 0x08, 0x73, 0x36, 0xc1, 0x9c, 0xfb, 0xbe, 0x35, 0x72, 0x5e, 0x99, 0xed, 0x2c, + 0xcc, 0xb9, 0xf3, 0x33, 0x58, 0x1f, 0x3b, 0x38, 0x7d, 0x95, 0xbb, 0xdf, 0x4a, 0xec, 0x69, 0xfc, + 0x78, 0x8f, 0x08, 0xc5, 0xb6, 0x13, 0x9e, 0x5e, 0x31, 0xc7, 0xdd, 0xd1, 0x03, 0x58, 0xe2, 0xec, + 0xd6, 0x8b, 0x1c, 0xe7, 0xed, 0x04, 0x8e, 0xe0, 0x7e, 0xec, 0x2f, 0xcc, 0xd1, 0x31, 0xac, 0x5b, + 0x24, 0xb0, 0x07, 0xc4, 0x6a, 0x71, 0x56, 0xe8, 0x90, 0xe1, 0x2f, 0x38, 0x13, 0xfb, 0xaf, 0x49, + 0xb7, 0xa7, 0x6c, 0x1e, 0x3d, 0x81, 0x35, 0xdb, 0x0d, 0x29, 0x76, 0x1c, 0x91, 0xeb, 0x12, 0x47, + 0xa9, 0x26, 0x50, 0x22, 0xea, 0x28, 0x38, 0xaa, 0x1f, 0x3a, 0x06, 0x88, 0x35, 0x42, 0x5f, 0xe3, + 0x28, 0xef, 0x24, 0x50, 0x14, 0x19, 0x89, 0x81, 0x14, 0x47, 0x74, 0x04, 0x10, 0x89, 0x04, 0xb1, + 0xf4, 0x75, 0x0e, 0x63, 0x24, 0x61, 0x46, 0x3a, 0xa2, 0xa2, 0x8c, 0xfc, 0xd0, 0x29, 0x94, 0x14, + 0xd1, 0xd5, 0x37, 0x38, 0xcc, 0xcd, 0x04, 0x8c, 0x2a, 0xcc, 0x31, 0x90, 0xea, 0xda, 0x2c, 0xc2, + 0x8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 0x14, 0xe2, 0xac, 0x94, 0x78, 0xb0, 0x25, 0x4a, 0x50, 0x35, 0xcc, 0xca, 0xc9, + 0x36, 0xac, 0xf0, 0xab, 0xc3, 0xb6, 0xa2, 0xa4, 0xb0, 0xc7, 0xa7, 0x16, 0xda, 0x85, 0x45, 0x36, + 0x92, 0x87, 0x9c, 0xb1, 0x05, 0x6e, 0x62, 0xfc, 0x5a, 0x83, 0x2d, 0x51, 0x83, 0x33, 0x42, 0x1b, + 0x81, 0x16, 0x66, 0x82, 0xbe, 0x5e, 0xad, 0xbd, 0xd2, 0xa0, 0x12, 0x1d, 0x4b, 0x8a, 0x84, 0xa5, + 0x85, 0xf6, 0xdf, 0x28, 0x8e, 0x57, 0x1a, 0x5c, 0x4f, 0x0d, 0xe3, 0x7f, 0x2b, 0x61, 0x7f, 0xd5, + 0x60, 0xbb, 0x89, 0x69, 0xe7, 0x22, 0x2e, 0x8b, 0x99, 0x5c, 0x79, 0x1a, 0x95, 0x70, 0x81, 0x07, + 0x75, 0x3f, 0x11, 0x54, 0x06, 0x20, 0x3f, 0xc2, 0xf0, 0xd8, 0xa5, 0xc1, 0x50, 0x16, 0x78, 0xe5, + 0x63, 0x80, 0x78, 0x92, 0xf5, 0xaa, 0x97, 0x64, 0x28, 0x57, 0x63, 0x43, 0xc6, 0x96, 0x01, 0x76, + 0xfa, 0x33, 0xaa, 0x42, 0xd8, 0xec, 0x17, 0xbe, 0xab, 0x19, 0x27, 0xa0, 0x27, 0x57, 0xff, 0x1a, + 0xd4, 0x33, 0x06, 0xf0, 0x96, 0x02, 0x34, 0xc7, 0x5d, 0x37, 0x71, 0x70, 0x85, 0xf9, 0x0e, 0xce, + 0x68, 0xc1, 0xdb, 0x59, 0xeb, 0xfe, 0x47, 0x2a, 0xc3, 0xf8, 0x11, 0xec, 0x9e, 0x10, 0x3a, 0xd6, + 0xb9, 0x29, 0xab, 0xbc, 0xe8, 0xf7, 0x7a, 0x38, 0x18, 0x7e, 0x4d, 0xb9,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, 0xd8, 0x10, 0xaf, 0xb0, 0x6f, + 0x87, 0x73, 0xfc, 0x57, 0xf5, 0xa1, 0xfc, 0xfc, 0xaa, 0xb0, 0x70, 0x62, 0x7e, 0xd8, 0x5e, 0xe6, + 0x50, 0xf7, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x58, 0x08, 0x46, 0x82, 0x9f, 0x1d, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image/image.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image/image.pb.go new file mode 100644 index 000000000..ec5ace7d5 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image/image.pb.go @@ -0,0 +1,442 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/image/image.proto + +package image // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Instructions from Dockerfile. +type Layer_Directive int32 + +const ( + // Default value for unsupported/missing directive. + Layer_DIRECTIVE_UNSPECIFIED Layer_Directive = 0 + // https://docs.docker.com/reference/builder/#maintainer + Layer_MAINTAINER Layer_Directive = 1 + // https://docs.docker.com/reference/builder/#run + Layer_RUN Layer_Directive = 2 + // https://docs.docker.com/reference/builder/#cmd + Layer_CMD Layer_Directive = 3 + // https://docs.docker.com/reference/builder/#label + Layer_LABEL Layer_Directive = 4 + // https://docs.docker.com/reference/builder/#expose + Layer_EXPOSE Layer_Directive = 5 + // https://docs.docker.com/reference/builder/#env + Layer_ENV Layer_Directive = 6 + // https://docs.docker.com/reference/builder/#add + Layer_ADD Layer_Directive = 7 + // https://docs.docker.com/reference/builder/#copy + Layer_COPY Layer_Directive = 8 + // https://docs.docker.com/reference/builder/#entrypoint + Layer_ENTRYPOINT Layer_Directive = 9 + // https://docs.docker.com/reference/builder/#volume + Layer_VOLUME Layer_Directive = 10 + // https://docs.docker.com/reference/builder/#user + Layer_USER Layer_Directive = 11 + // https://docs.docker.com/reference/builder/#workdir + Layer_WORKDIR Layer_Directive = 12 + // https://docs.docker.com/reference/builder/#arg + Layer_ARG Layer_Directive = 13 + // https://docs.docker.com/reference/builder/#onbuild + Layer_ONBUILD Layer_Directive = 14 + // https://docs.docker.com/reference/builder/#stopsignal + Layer_STOPSIGNAL Layer_Directive = 15 + // https://docs.docker.com/reference/builder/#healthcheck + Layer_HEALTHCHECK Layer_Directive = 16 + // https://docs.docker.com/reference/builder/#shell + Layer_SHELL Layer_Directive = 17 +) + +var Layer_Directive_name = map[int32]string{ + 0: "DIRECTIVE_UNSPECIFIED", + 1: "MAINTAINER", + 2: "RUN", + 3: "CMD", + 4: "LABEL", + 5: "EXPOSE", + 6: "ENV", + 7: "ADD", + 8: "COPY", + 9: "ENTRYPOINT", + 10: "VOLUME", + 11: "USER", + 12: "WORKDIR", + 13: "ARG", + 14: "ONBUILD", + 15: "STOPSIGNAL", + 16: "HEALTHCHECK", + 17: "SHELL", +} +var Layer_Directive_value = map[string]int32{ + "DIRECTIVE_UNSPECIFIED": 0, + "MAINTAINER": 1, + "RUN": 2, + "CMD": 3, + "LABEL": 4, + "EXPOSE": 5, + "ENV": 6, + "ADD": 7, + "COPY": 8, + "ENTRYPOINT": 9, + "VOLUME": 10, + "USER": 11, + "WORKDIR": 12, + "ARG": 13, + "ONBUILD": 14, + "STOPSIGNAL": 15, + "HEALTHCHECK": 16, + "SHELL": 17, +} + +func (x Layer_Directive) String() string { + return proto.EnumName(Layer_Directive_name, int32(x)) +} +func (Layer_Directive) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_image_7b7d3df7358e6057, []int{0, 0} +} + +// Layer holds metadata specific to a layer of a Docker image. +type Layer struct { + // The recovered Dockerfile directive used to construct this layer. + Directive Layer_Directive `protobuf:"varint,1,opt,name=directive,proto3,enum=grafeas.v1beta1.image.Layer_Directive" json:"directive,omitempty"` + // The recovered arguments to the Dockerfile directive. + Arguments string `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Layer) Reset() { *m = Layer{} } +func (m *Layer) String() string { return proto.CompactTextString(m) } +func (*Layer) ProtoMessage() {} +func (*Layer) Descriptor() ([]byte, []int) { + return fileDescriptor_image_7b7d3df7358e6057, []int{0} +} +func (m *Layer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Layer.Unmarshal(m, b) +} +func (m *Layer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Layer.Marshal(b, m, deterministic) +} +func (dst *Layer) XXX_Merge(src proto.Message) { + xxx_messageInfo_Layer.Merge(dst, src) +} +func (m *Layer) XXX_Size() int { + return xxx_messageInfo_Layer.Size(m) +} +func (m *Layer) XXX_DiscardUnknown() { + xxx_messageInfo_Layer.DiscardUnknown(m) +} + +var xxx_messageInfo_Layer proto.InternalMessageInfo + +func (m *Layer) GetDirective() Layer_Directive { + if m != nil { + return m.Directive + } + return Layer_DIRECTIVE_UNSPECIFIED +} + +func (m *Layer) GetArguments() string { + if m != nil { + return m.Arguments + } + return "" +} + +// A set of properties that uniquely identify a given Docker image. +type Fingerprint struct { + // The layer-id of the final layer in the Docker image's v1 representation. + V1Name string `protobuf:"bytes,1,opt,name=v1_name,json=v1Name,proto3" json:"v1_name,omitempty"` + // The ordered list of v2 blobs that represent a given image. + V2Blob []string `protobuf:"bytes,2,rep,name=v2_blob,json=v2Blob,proto3" json:"v2_blob,omitempty"` + // Output only. The name of the image's v2 blobs computed via: + // [bottom] := v2_blob[bottom] + // [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) + // Only the name of the final blob is kept. + V2Name string `protobuf:"bytes,3,opt,name=v2_name,json=v2Name,proto3" json:"v2_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Fingerprint) Reset() { *m = Fingerprint{} } +func (m *Fingerprint) String() string { return proto.CompactTextString(m) } +func (*Fingerprint) ProtoMessage() {} +func (*Fingerprint) Descriptor() ([]byte, []int) { + return fileDescriptor_image_7b7d3df7358e6057, []int{1} +} +func (m *Fingerprint) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Fingerprint.Unmarshal(m, b) +} +func (m *Fingerprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Fingerprint.Marshal(b, m, deterministic) +} +func (dst *Fingerprint) XXX_Merge(src proto.Message) { + xxx_messageInfo_Fingerprint.Merge(dst, src) +} +func (m *Fingerprint) XXX_Size() int { + return xxx_messageInfo_Fingerprint.Size(m) +} +func (m *Fingerprint) XXX_DiscardUnknown() { + xxx_messageInfo_Fingerprint.DiscardUnknown(m) +} + +var xxx_messageInfo_Fingerprint proto.InternalMessageInfo + +func (m *Fingerprint) GetV1Name() string { + if m != nil { + return m.V1Name + } + return "" +} + +func (m *Fingerprint) GetV2Blob() []string { + if m != nil { + return m.V2Blob + } + return nil +} + +func (m *Fingerprint) GetV2Name() string { + if m != nil { + return m.V2Name + } + return "" +} + +// Basis describes the base image portion (Note) of the DockerImage +// relationship. Linked occurrences are derived from this or an +// equivalent image via: +// FROM +// Or an equivalent reference, e.g. a tag of the resource_url. +type Basis struct { + // The resource_url for the resource representing the basis of + // associated occurrence images. + ResourceUrl string `protobuf:"bytes,1,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` + // The fingerprint of the base image. + Fingerprint *Fingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Basis) Reset() { *m = Basis{} } +func (m *Basis) String() string { return proto.CompactTextString(m) } +func (*Basis) ProtoMessage() {} +func (*Basis) Descriptor() ([]byte, []int) { + return fileDescriptor_image_7b7d3df7358e6057, []int{2} +} +func (m *Basis) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Basis.Unmarshal(m, b) +} +func (m *Basis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Basis.Marshal(b, m, deterministic) +} +func (dst *Basis) XXX_Merge(src proto.Message) { + xxx_messageInfo_Basis.Merge(dst, src) +} +func (m *Basis) XXX_Size() int { + return xxx_messageInfo_Basis.Size(m) +} +func (m *Basis) XXX_DiscardUnknown() { + xxx_messageInfo_Basis.DiscardUnknown(m) +} + +var xxx_messageInfo_Basis proto.InternalMessageInfo + +func (m *Basis) GetResourceUrl() string { + if m != nil { + return m.ResourceUrl + } + return "" +} + +func (m *Basis) GetFingerprint() *Fingerprint { + if m != nil { + return m.Fingerprint + } + return nil +} + +// Details of an image occurrence. +type Details struct { + // The child image derived from the base image. + DerivedImage *Derived `protobuf:"bytes,1,opt,name=derived_image,json=derivedImage,proto3" json:"derived_image,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_image_7b7d3df7358e6057, []int{3} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetDerivedImage() *Derived { + if m != nil { + return m.DerivedImage + } + return nil +} + +// Derived describes the derived image portion (Occurrence) of the DockerImage +// relationship. This image would be produced from a Dockerfile with FROM +// . +type Derived struct { + // The fingerprint of the derived image. + Fingerprint *Fingerprint `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + // Output only. The number of layers by which this image differs from the + // associated image basis. + Distance int32 `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"` + // This contains layer-specific metadata, if populated it has length + // "distance" and is ordered with [distance] being the layer immediately + // following the base image and [1] being the final layer. + LayerInfo []*Layer `protobuf:"bytes,3,rep,name=layer_info,json=layerInfo,proto3" json:"layer_info,omitempty"` + // Output only. This contains the base image URL for the derived image + // occurrence. + BaseResourceUrl string `protobuf:"bytes,4,opt,name=base_resource_url,json=baseResourceUrl,proto3" json:"base_resource_url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Derived) Reset() { *m = Derived{} } +func (m *Derived) String() string { return proto.CompactTextString(m) } +func (*Derived) ProtoMessage() {} +func (*Derived) Descriptor() ([]byte, []int) { + return fileDescriptor_image_7b7d3df7358e6057, []int{4} +} +func (m *Derived) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Derived.Unmarshal(m, b) +} +func (m *Derived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Derived.Marshal(b, m, deterministic) +} +func (dst *Derived) XXX_Merge(src proto.Message) { + xxx_messageInfo_Derived.Merge(dst, src) +} +func (m *Derived) XXX_Size() int { + return xxx_messageInfo_Derived.Size(m) +} +func (m *Derived) XXX_DiscardUnknown() { + xxx_messageInfo_Derived.DiscardUnknown(m) +} + +var xxx_messageInfo_Derived proto.InternalMessageInfo + +func (m *Derived) GetFingerprint() *Fingerprint { + if m != nil { + return m.Fingerprint + } + return nil +} + +func (m *Derived) GetDistance() int32 { + if m != nil { + return m.Distance + } + return 0 +} + +func (m *Derived) GetLayerInfo() []*Layer { + if m != nil { + return m.LayerInfo + } + return nil +} + +func (m *Derived) GetBaseResourceUrl() string { + if m != nil { + return m.BaseResourceUrl + } + return "" +} + +func init() { + proto.RegisterType((*Layer)(nil), "grafeas.v1beta1.image.Layer") + proto.RegisterType((*Fingerprint)(nil), "grafeas.v1beta1.image.Fingerprint") + proto.RegisterType((*Basis)(nil), "grafeas.v1beta1.image.Basis") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.image.Details") + proto.RegisterType((*Derived)(nil), "grafeas.v1beta1.image.Derived") + proto.RegisterEnum("grafeas.v1beta1.image.Layer_Directive", Layer_Directive_name, Layer_Directive_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/image/image.proto", fileDescriptor_image_7b7d3df7358e6057) +} + +var fileDescriptor_image_7b7d3df7358e6057 = []byte{ + // 613 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x6e, 0xda, 0x40, + 0x10, 0xc6, 0x6b, 0x08, 0x10, 0x8f, 0xf3, 0x67, 0xb3, 0x52, 0x54, 0x5a, 0x45, 0x15, 0xe5, 0x50, + 0x45, 0x3d, 0x18, 0x41, 0x8f, 0x39, 0x01, 0xde, 0x04, 0x2b, 0x8e, 0x8d, 0x16, 0x93, 0x26, 0xbd, + 0x58, 0x0b, 0x2c, 0xd6, 0x4a, 0xc6, 0x8b, 0xd6, 0x0e, 0x6a, 0x5e, 0xa7, 0xcf, 0xd4, 0x73, 0x9f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x32, 0x2a, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package/package.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package/package.pb.go new file mode 100644 index 000000000..5a5f33155 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package/package.pb.go @@ -0,0 +1,499 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/package/package.proto + +package _package // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Instruction set architectures supported by various package managers. +type Architecture int32 + +const ( + // Unknown architecture. + Architecture_ARCHITECTURE_UNSPECIFIED Architecture = 0 + // X86 architecture. + Architecture_X86 Architecture = 1 + // X64 architecture. + Architecture_X64 Architecture = 2 +) + +var Architecture_name = map[int32]string{ + 0: "ARCHITECTURE_UNSPECIFIED", + 1: "X86", + 2: "X64", +} +var Architecture_value = map[string]int32{ + "ARCHITECTURE_UNSPECIFIED": 0, + "X86": 1, + "X64": 2, +} + +func (x Architecture) String() string { + return proto.EnumName(Architecture_name, int32(x)) +} +func (Architecture) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{0} +} + +// Whether this is an ordinary package version or a sentinel MIN/MAX version. +type Version_VersionKind int32 + +const ( + // Unknown. + Version_VERSION_KIND_UNSPECIFIED Version_VersionKind = 0 + // A standard package version, defined by the other fields. + Version_NORMAL Version_VersionKind = 1 + // A special version representing negative infinity, other fields are + // ignored. + Version_MINIMUM Version_VersionKind = 2 + // A special version representing positive infinity, other fields are + // ignored. + Version_MAXIMUM Version_VersionKind = 3 +) + +var Version_VersionKind_name = map[int32]string{ + 0: "VERSION_KIND_UNSPECIFIED", + 1: "NORMAL", + 2: "MINIMUM", + 3: "MAXIMUM", +} +var Version_VersionKind_value = map[string]int32{ + "VERSION_KIND_UNSPECIFIED": 0, + "NORMAL": 1, + "MINIMUM": 2, + "MAXIMUM": 3, +} + +func (x Version_VersionKind) String() string { + return proto.EnumName(Version_VersionKind_name, int32(x)) +} +func (Version_VersionKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{5, 0} +} + +// This represents a particular channel of distribution for a given package. +// E.g., Debian's jessie-backports dpkg mirror. +type Distribution struct { + // The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) + // denoting the package manager version distributing a package. + CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` + // The CPU architecture for which packages in this distribution channel were + // built. + Architecture Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=grafeas.v1beta1.package.Architecture" json:"architecture,omitempty"` + // The latest available version of this package in this distribution + // channel. + LatestVersion *Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"` + // A freeform string denoting the maintainer of this package. + Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"` + // The distribution channel-specific homepage for this package. + Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` + // The distribution channel-specific description of this package. + Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Distribution) Reset() { *m = Distribution{} } +func (m *Distribution) String() string { return proto.CompactTextString(m) } +func (*Distribution) ProtoMessage() {} +func (*Distribution) Descriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{0} +} +func (m *Distribution) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Distribution.Unmarshal(m, b) +} +func (m *Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Distribution.Marshal(b, m, deterministic) +} +func (dst *Distribution) XXX_Merge(src proto.Message) { + xxx_messageInfo_Distribution.Merge(dst, src) +} +func (m *Distribution) XXX_Size() int { + return xxx_messageInfo_Distribution.Size(m) +} +func (m *Distribution) XXX_DiscardUnknown() { + xxx_messageInfo_Distribution.DiscardUnknown(m) +} + +var xxx_messageInfo_Distribution proto.InternalMessageInfo + +func (m *Distribution) GetCpeUri() string { + if m != nil { + return m.CpeUri + } + return "" +} + +func (m *Distribution) GetArchitecture() Architecture { + if m != nil { + return m.Architecture + } + return Architecture_ARCHITECTURE_UNSPECIFIED +} + +func (m *Distribution) GetLatestVersion() *Version { + if m != nil { + return m.LatestVersion + } + return nil +} + +func (m *Distribution) GetMaintainer() string { + if m != nil { + return m.Maintainer + } + return "" +} + +func (m *Distribution) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *Distribution) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +// An occurrence of a particular package installation found within a system's +// filesystem. E.g., glibc was found in /var/lib/dpkg/status. +type Location struct { + // The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) + // denoting the package manager version distributing a package. + CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` + // The version installed at this location. + Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + // The path from which we gathered that this package/version is installed. + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Location) Reset() { *m = Location{} } +func (m *Location) String() string { return proto.CompactTextString(m) } +func (*Location) ProtoMessage() {} +func (*Location) Descriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{1} +} +func (m *Location) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Location.Unmarshal(m, b) +} +func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Location.Marshal(b, m, deterministic) +} +func (dst *Location) XXX_Merge(src proto.Message) { + xxx_messageInfo_Location.Merge(dst, src) +} +func (m *Location) XXX_Size() int { + return xxx_messageInfo_Location.Size(m) +} +func (m *Location) XXX_DiscardUnknown() { + xxx_messageInfo_Location.DiscardUnknown(m) +} + +var xxx_messageInfo_Location proto.InternalMessageInfo + +func (m *Location) GetCpeUri() string { + if m != nil { + return m.CpeUri + } + return "" +} + +func (m *Location) GetVersion() *Version { + if m != nil { + return m.Version + } + return nil +} + +func (m *Location) GetPath() string { + if m != nil { + return m.Path + } + return "" +} + +// This represents a particular package that is distributed over various +// channels. E.g., glibc (aka libc6) is distributed by many, at various +// versions. +type Package struct { + // The name of the package. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The various channels by which a package is distributed. + Distribution []*Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Package) Reset() { *m = Package{} } +func (m *Package) String() string { return proto.CompactTextString(m) } +func (*Package) ProtoMessage() {} +func (*Package) Descriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{2} +} +func (m *Package) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Package.Unmarshal(m, b) +} +func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Package.Marshal(b, m, deterministic) +} +func (dst *Package) XXX_Merge(src proto.Message) { + xxx_messageInfo_Package.Merge(dst, src) +} +func (m *Package) XXX_Size() int { + return xxx_messageInfo_Package.Size(m) +} +func (m *Package) XXX_DiscardUnknown() { + xxx_messageInfo_Package.DiscardUnknown(m) +} + +var xxx_messageInfo_Package proto.InternalMessageInfo + +func (m *Package) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Package) GetDistribution() []*Distribution { + if m != nil { + return m.Distribution + } + return nil +} + +// Details of a package occurrence. +type Details struct { + // Where the package was installed. + Installation *Installation `protobuf:"bytes,1,opt,name=installation,proto3" json:"installation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{3} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetInstallation() *Installation { + if m != nil { + return m.Installation + } + return nil +} + +// This represents how a particular software package may be installed on a +// system. +type Installation struct { + // Output only. The name of the installed package. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // All of the places within the filesystem versions of this package + // have been found. + Location []*Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Installation) Reset() { *m = Installation{} } +func (m *Installation) String() string { return proto.CompactTextString(m) } +func (*Installation) ProtoMessage() {} +func (*Installation) Descriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{4} +} +func (m *Installation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Installation.Unmarshal(m, b) +} +func (m *Installation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Installation.Marshal(b, m, deterministic) +} +func (dst *Installation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Installation.Merge(dst, src) +} +func (m *Installation) XXX_Size() int { + return xxx_messageInfo_Installation.Size(m) +} +func (m *Installation) XXX_DiscardUnknown() { + xxx_messageInfo_Installation.DiscardUnknown(m) +} + +var xxx_messageInfo_Installation proto.InternalMessageInfo + +func (m *Installation) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Installation) GetLocation() []*Location { + if m != nil { + return m.Location + } + return nil +} + +// Version contains structured information about the version of a package. +type Version struct { + // Used to correct mistakes in the version numbering scheme. + Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` + // The main part of the version name. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // The iteration of the package build from the above version. + Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + // Distinguish between sentinel MIN/MAX versions and normal versions. If + // kind is not NORMAL, then the other fields are ignored. + Kind Version_VersionKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.package.Version_VersionKind" json:"kind,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Version) Reset() { *m = Version{} } +func (m *Version) String() string { return proto.CompactTextString(m) } +func (*Version) ProtoMessage() {} +func (*Version) Descriptor() ([]byte, []int) { + return fileDescriptor_package_98e063c9654a5d86, []int{5} +} +func (m *Version) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Version.Unmarshal(m, b) +} +func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Version.Marshal(b, m, deterministic) +} +func (dst *Version) XXX_Merge(src proto.Message) { + xxx_messageInfo_Version.Merge(dst, src) +} +func (m *Version) XXX_Size() int { + return xxx_messageInfo_Version.Size(m) +} +func (m *Version) XXX_DiscardUnknown() { + xxx_messageInfo_Version.DiscardUnknown(m) +} + +var xxx_messageInfo_Version proto.InternalMessageInfo + +func (m *Version) GetEpoch() int32 { + if m != nil { + return m.Epoch + } + return 0 +} + +func (m *Version) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Version) GetRevision() string { + if m != nil { + return m.Revision + } + return "" +} + +func (m *Version) GetKind() Version_VersionKind { + if m != nil { + return m.Kind + } + return Version_VERSION_KIND_UNSPECIFIED +} + +func init() { + proto.RegisterType((*Distribution)(nil), "grafeas.v1beta1.package.Distribution") + proto.RegisterType((*Location)(nil), "grafeas.v1beta1.package.Location") + proto.RegisterType((*Package)(nil), "grafeas.v1beta1.package.Package") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.package.Details") + proto.RegisterType((*Installation)(nil), "grafeas.v1beta1.package.Installation") + proto.RegisterType((*Version)(nil), "grafeas.v1beta1.package.Version") + proto.RegisterEnum("grafeas.v1beta1.package.Architecture", Architecture_name, Architecture_value) + proto.RegisterEnum("grafeas.v1beta1.package.Version_VersionKind", Version_VersionKind_name, Version_VersionKind_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/package/package.proto", fileDescriptor_package_98e063c9654a5d86) +} + +var fileDescriptor_package_98e063c9654a5d86 = []byte{ + // 575 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xff, 0x6a, 0xd4, 0x40, + 0x10, 0x36, 0x49, 0x7b, 0x69, 0xe7, 0xce, 0x12, 0x16, 0xb1, 0x41, 0x44, 0x62, 0x40, 0x38, 0x44, + 0x12,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, + 0x5e, 0xfa, 0xe8, 0x2d, 0xac, 0x5c, 0xb0, 0x6c, 0xaa, 0xbf, 0x9b, 0x8d, 0xed, 0x27, 0x7f, 0x9b, + 0x60, 0x7d, 0xee, 0xb3, 0x6c, 0x8a, 0x35, 0xd2, 0xff, 0x08, 0xed, 0xc6, 0x25, 0xba, 0x0f, 0xee, + 0xe9, 0x00, 0x1f, 0x47, 0x87, 0xa3, 0xc9, 0x7e, 0x34, 0xea, 0x4f, 0xc6, 0xa3, 0xe3, 0xa3, 0xc1, + 0x6e, 0xf4, 0x3e, 0x1a, 0xf4, 0x9d, 0x5b, 0x08, 0xa0, 0x35, 0x3a, 0xc4, 0xc3, 0xde, 0x81, 0x63, + 0xa0, 0x36, 0xd8, 0xc3, 0x68, 0x14, 0x0d, 0xc7, 0x43, 0xc7, 0xd4, 0x4e, 0xef, 0x4c, 0x3b, 0xd6, + 0xe3, 0xd7, 0xd0, 0x69, 0xfe, 0x39, 0x05, 0x67, 0x0f, 0xef, 0x7e, 0x88, 0x4e, 0x06, 0xbb, 0x27, + 0x63, 0x3c, 0xf8, 0x85, 0xd3, 0x06, 0xeb, 0xec, 0xf9, 0x8e, 0x63, 0x68, 0x63, 0xe7, 0x99, 0x63, + 0xbe, 0xfb, 0x0a, 0x77, 0x19, 0xff, 0x5d, 0xca, 0x45, 0x72, 0x64, 0x7c, 0x3a, 0x2b, 0xd7, 0x48, + 0x90, 0xf0, 0x94, 0x64, 0x49, 0xc0, 0x45, 0x12, 0x26, 0x34, 0xd3, 0x1b, 0x22, 0x2c, 0x43, 0x24, + 0x67, 0xf2, 0x3f, 0xb6, 0xcc, 0xcb, 0xea, 0xfc, 0x6e, 0x5a, 0x7b, 0xb8, 0x77, 0xde, 0xd2, 0x54, + 0x4f, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x78, 0xac, 0x5c, 0xdf, 0xaf, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance/provenance.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance/provenance.pb.go new file mode 100644 index 000000000..513860b58 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance/provenance.pb.go @@ -0,0 +1,592 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/provenance/provenance.proto + +package provenance // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import source "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Specifies the hash algorithm, if any. +type Hash_HashType int32 + +const ( + // Unknown. + Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0 + // A SHA-256 hash. + Hash_SHA256 Hash_HashType = 1 +) + +var Hash_HashType_name = map[int32]string{ + 0: "HASH_TYPE_UNSPECIFIED", + 1: "SHA256", +} +var Hash_HashType_value = map[string]int32{ + "HASH_TYPE_UNSPECIFIED": 0, + "SHA256": 1, +} + +func (x Hash_HashType) String() string { + return proto.EnumName(Hash_HashType_name, int32(x)) +} +func (Hash_HashType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{3, 0} +} + +// Provenance of a build. Contains all information needed to verify the full +// details about the build from source to completion. +type BuildProvenance struct { + // Unique identifier of the build. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // ID of the project. + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // Commands requested by the build. + Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` + // Output of the build. + BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` + // Time at which the build was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Time at which execution of the build was started. + StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // Time at which execution of the build was finished. + EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // E-mail address of the user who initiated this build. Note that this was the + // user's e-mail address at the time the build was initiated; this address may + // not represent the same end-user for all time. + Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` + // URI where any logs for this provenance were written. + LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"` + // Details of the Source input to the build. + SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` + // Trigger identifier if the build was triggered automatically; empty if not. + TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` + // Special options applied to this build. This is a catch-all field where + // build providers can enter any desired additional details. + BuildOptions map[string]string `protobuf:"bytes,12,rep,name=build_options,json=buildOptions,proto3" json:"build_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Version string of the builder at the time this build was executed. + BuilderVersion string `protobuf:"bytes,13,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BuildProvenance) Reset() { *m = BuildProvenance{} } +func (m *BuildProvenance) String() string { return proto.CompactTextString(m) } +func (*BuildProvenance) ProtoMessage() {} +func (*BuildProvenance) Descriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{0} +} +func (m *BuildProvenance) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BuildProvenance.Unmarshal(m, b) +} +func (m *BuildProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BuildProvenance.Marshal(b, m, deterministic) +} +func (dst *BuildProvenance) XXX_Merge(src proto.Message) { + xxx_messageInfo_BuildProvenance.Merge(dst, src) +} +func (m *BuildProvenance) XXX_Size() int { + return xxx_messageInfo_BuildProvenance.Size(m) +} +func (m *BuildProvenance) XXX_DiscardUnknown() { + xxx_messageInfo_BuildProvenance.DiscardUnknown(m) +} + +var xxx_messageInfo_BuildProvenance proto.InternalMessageInfo + +func (m *BuildProvenance) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *BuildProvenance) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *BuildProvenance) GetCommands() []*Command { + if m != nil { + return m.Commands + } + return nil +} + +func (m *BuildProvenance) GetBuiltArtifacts() []*Artifact { + if m != nil { + return m.BuiltArtifacts + } + return nil +} + +func (m *BuildProvenance) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + +func (m *BuildProvenance) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *BuildProvenance) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *BuildProvenance) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *BuildProvenance) GetLogsUri() string { + if m != nil { + return m.LogsUri + } + return "" +} + +func (m *BuildProvenance) GetSourceProvenance() *Source { + if m != nil { + return m.SourceProvenance + } + return nil +} + +func (m *BuildProvenance) GetTriggerId() string { + if m != nil { + return m.TriggerId + } + return "" +} + +func (m *BuildProvenance) GetBuildOptions() map[string]string { + if m != nil { + return m.BuildOptions + } + return nil +} + +func (m *BuildProvenance) GetBuilderVersion() string { + if m != nil { + return m.BuilderVersion + } + return "" +} + +// Source describes the location of the source used for the build. +type Source struct { + // If provided, the input binary artifacts for the build came from this + // location. + ArtifactStorageSourceUri string `protobuf:"bytes,1,opt,name=artifact_storage_source_uri,json=artifactStorageSourceUri,proto3" json:"artifact_storage_source_uri,omitempty"` + // Hash(es) of the build source, which can be used to verify that the original + // source integrity was maintained in the build. + // + // The keys to this map are file paths used as build source and the values + // contain the hash values for those files. + // + // If the build source came in a single package such as a gzipped tarfile + // (.tar.gz), the FileHash will be for the single path to that file. + FileHashes map[string]*FileHashes `protobuf:"bytes,2,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // If provided, the source code used for the build came from this location. + Context *source.SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` + // If provided, some of the source code used for the build may be found in + // these locations, in the case where the source repository had multiple + // remotes or submodules. This list will not include the context specified in + // the context field. + AdditionalContexts []*source.SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Source) Reset() { *m = Source{} } +func (m *Source) String() string { return proto.CompactTextString(m) } +func (*Source) ProtoMessage() {} +func (*Source) Descriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{1} +} +func (m *Source) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Source.Unmarshal(m, b) +} +func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Source.Marshal(b, m, deterministic) +} +func (dst *Source) XXX_Merge(src proto.Message) { + xxx_messageInfo_Source.Merge(dst, src) +} +func (m *Source) XXX_Size() int { + return xxx_messageInfo_Source.Size(m) +} +func (m *Source) XXX_DiscardUnknown() { + xxx_messageInfo_Source.DiscardUnknown(m) +} + +var xxx_messageInfo_Source proto.InternalMessageInfo + +func (m *Source) GetArtifactStorageSourceUri() string { + if m != nil { + return m.ArtifactStorageSourceUri + } + return "" +} + +func (m *Source) GetFileHashes() map[string]*FileHashes { + if m != nil { + return m.FileHashes + } + return nil +} + +func (m *Source) GetContext() *source.SourceContext { + if m != nil { + return m.Context + } + return nil +} + +func (m *Source) GetAdditionalContexts() []*source.SourceContext { + if m != nil { + return m.AdditionalContexts + } + return nil +} + +// Container message for hashes of byte content of files, used in Source +// messages to verify integrity of source input to the build. +type FileHashes struct { + // Collection of file hashes. + FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FileHashes) Reset() { *m = FileHashes{} } +func (m *FileHashes) String() string { return proto.CompactTextString(m) } +func (*FileHashes) ProtoMessage() {} +func (*FileHashes) Descriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{2} +} +func (m *FileHashes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FileHashes.Unmarshal(m, b) +} +func (m *FileHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FileHashes.Marshal(b, m, deterministic) +} +func (dst *FileHashes) XXX_Merge(src proto.Message) { + xxx_messageInfo_FileHashes.Merge(dst, src) +} +func (m *FileHashes) XXX_Size() int { + return xxx_messageInfo_FileHashes.Size(m) +} +func (m *FileHashes) XXX_DiscardUnknown() { + xxx_messageInfo_FileHashes.DiscardUnknown(m) +} + +var xxx_messageInfo_FileHashes proto.InternalMessageInfo + +func (m *FileHashes) GetFileHash() []*Hash { + if m != nil { + return m.FileHash + } + return nil +} + +// Container message for hash values. +type Hash struct { + // The type of hash that was performed. + Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=grafeas.v1beta1.provenance.Hash_HashType" json:"type,omitempty"` + // The hash value. + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Hash) Reset() { *m = Hash{} } +func (m *Hash) String() string { return proto.CompactTextString(m) } +func (*Hash) ProtoMessage() {} +func (*Hash) Descriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{3} +} +func (m *Hash) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Hash.Unmarshal(m, b) +} +func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Hash.Marshal(b, m, deterministic) +} +func (dst *Hash) XXX_Merge(src proto.Message) { + xxx_messageInfo_Hash.Merge(dst, src) +} +func (m *Hash) XXX_Size() int { + return xxx_messageInfo_Hash.Size(m) +} +func (m *Hash) XXX_DiscardUnknown() { + xxx_messageInfo_Hash.DiscardUnknown(m) +} + +var xxx_messageInfo_Hash proto.InternalMessageInfo + +func (m *Hash) GetType() Hash_HashType { + if m != nil { + return m.Type + } + return Hash_HASH_TYPE_UNSPECIFIED +} + +func (m *Hash) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +// Command describes a step performed as part of the build pipeline. +type Command struct { + // Name of the command, as presented on the command line, or if the command is + // packaged as a Docker container, as presented to `docker pull`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Environment variables set before running this command. + Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` + // Command-line arguments used when executing this command. + Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` + // Working directory (relative to project source root) used when running this + // command. + Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` + // Optional unique identifier for this command, used in wait_for to reference + // this command as a dependency. + Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` + // The ID(s) of the command(s) that this command depends on. + WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Command) Reset() { *m = Command{} } +func (m *Command) String() string { return proto.CompactTextString(m) } +func (*Command) ProtoMessage() {} +func (*Command) Descriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{4} +} +func (m *Command) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Command.Unmarshal(m, b) +} +func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Command.Marshal(b, m, deterministic) +} +func (dst *Command) XXX_Merge(src proto.Message) { + xxx_messageInfo_Command.Merge(dst, src) +} +func (m *Command) XXX_Size() int { + return xxx_messageInfo_Command.Size(m) +} +func (m *Command) XXX_DiscardUnknown() { + xxx_messageInfo_Command.DiscardUnknown(m) +} + +var xxx_messageInfo_Command proto.InternalMessageInfo + +func (m *Command) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Command) GetEnv() []string { + if m != nil { + return m.Env + } + return nil +} + +func (m *Command) GetArgs() []string { + if m != nil { + return m.Args + } + return nil +} + +func (m *Command) GetDir() string { + if m != nil { + return m.Dir + } + return "" +} + +func (m *Command) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Command) GetWaitFor() []string { + if m != nil { + return m.WaitFor + } + return nil +} + +// Artifact describes a build product. +type Artifact struct { + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a + // container. + Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` + // Artifact ID, if any; for container images, this will be a URL by digest + // like `gcr.io/projectID/imagename@sha256:123456`. + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // Related artifact names. This may be the path to a binary or jar file, or in + // the case of a container build, the name used to push the container image to + // Google Container Registry, as presented to `docker push`. Note that a + // single Artifact ID can have multiple names, for example if two tags are + // applied to one image. + Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Artifact) Reset() { *m = Artifact{} } +func (m *Artifact) String() string { return proto.CompactTextString(m) } +func (*Artifact) ProtoMessage() {} +func (*Artifact) Descriptor() ([]byte, []int) { + return fileDescriptor_provenance_d5caf2c54405b6af, []int{5} +} +func (m *Artifact) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Artifact.Unmarshal(m, b) +} +func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Artifact.Marshal(b, m, deterministic) +} +func (dst *Artifact) XXX_Merge(src proto.Message) { + xxx_messageInfo_Artifact.Merge(dst, src) +} +func (m *Artifact) XXX_Size() int { + return xxx_messageInfo_Artifact.Size(m) +} +func (m *Artifact) XXX_DiscardUnknown() { + xxx_messageInfo_Artifact.DiscardUnknown(m) +} + +var xxx_messageInfo_Artifact proto.InternalMessageInfo + +func (m *Artifact) GetChecksum() string { + if m != nil { + return m.Checksum + } + return "" +} + +func (m *Artifact) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Artifact) GetNames() []string { + if m != nil { + return m.Names + } + return nil +} + +func init() { + proto.RegisterType((*BuildProvenance)(nil), "grafeas.v1beta1.provenance.BuildProvenance") + proto.RegisterMapType((map[string]string)(nil), "grafeas.v1beta1.provenance.BuildProvenance.BuildOptionsEntry") + proto.RegisterType((*Source)(nil), "grafeas.v1beta1.provenance.Source") + proto.RegisterMapType((map[string]*FileHashes)(nil), "grafeas.v1beta1.provenance.Source.FileHashesEntry") + proto.RegisterType((*FileHashes)(nil), "grafeas.v1beta1.provenance.FileHashes") + proto.RegisterType((*Hash)(nil), "grafeas.v1beta1.provenance.Hash") + proto.RegisterType((*Command)(nil), "grafeas.v1beta1.provenance.Command") + proto.RegisterType((*Artifact)(nil), "grafeas.v1beta1.provenance.Artifact") + proto.RegisterEnum("grafeas.v1beta1.provenance.Hash_HashType", Hash_HashType_name, Hash_HashType_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/provenance/provenance.proto", fileDescriptor_provenance_d5caf2c54405b6af) +} + +var fileDescriptor_provenance_d5caf2c54405b6af = []byte{ + // 848 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4b, 0x6f, 0x23, 0x45, + 0x10, 0x66, 0xfc, 0x1c, 0x97, 0xb3, 0x49, 0xb6, 0x59, 0xa4, 0x8e, 0x51, 0x44, 0x64, 0x5e, 0xe1, + 0x32, 0x56, 0x8c, 0x16, 0x01, 0x8b, 0x15, 0x65, 0x83, 0x43, 0x22, 0x1e, 0x1b, 0x8d, 0xb3, 0x2b, + 0xc1, 0x81, 0x51, 0x7b, 0xba, 0x3d, 0x69, 0x76, 0x3c, 0x6d, 0x75, 0xb7, 0x0d, 0xbe, 0x71, 0xe3, + 0xc6, 0x2f, 0xe0, 0xc4, 0x4f, 0xe4, 0x17, 0xa0, 0x7e, 0x8c, 0x6d, 0x76, 0xc1, 0x09, 0x97, 0xa4, + 0xab, 0xe6, 0xfb, 0xbe, 0xae, 0xf9, 0xaa, 0xa6, 0x0c, 0xc3, 0x4c, 0x88, 0x2c, 0x67, 0x3d, 0xca, + 0x16, 0x5a, 0x88, 0x5c, 0xf5, 0x52, 0x51, 0x68, 0xc2, 0x0b, 0x26, 0x49, 0x41, 0xf2, 0xa5, 0xe2, + 0xaa, 0xb7, 0x38, 0x19, 0x33, 0x4d, 0x4e, 0x7a, 0x33, 0x29, 0x16, 0xac, 0x20, 0x45, 0xca,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 0x74, 0x3d, 0x3c, + 0xbf, 0xba, 0xb8, 0x1a, 0x7e, 0xb9, 0xff, 0x06, 0x02, 0x68, 0x8c, 0x2e, 0xcf, 0xfa, 0x8f, 0x3f, + 0xd9, 0x0f, 0xba, 0xbf, 0x06, 0xd0, 0xf4, 0x3b, 0x10, 0x21, 0xa8, 0x15, 0x64, 0xca, 0xbc, 0x7d, + 0xf6, 0x6c, 0x1c, 0x65, 0xc5, 0xc2, 0x8e, 0x52, 0x2b, 0x36, 0x47, 0x83, 0x22, 0x32, 0x73, 0xcb, + 0xb5, 0x15, 0xdb, 0xb3, 0x41, 0x51, 0x2e, 0x71, 0xcd, 0xf9, 0x4e, 0xb9, 0xf4, 0x5b, 0xbb, 0xbe, + 0xda, 0xda, 0x07, 0x10, 0xfe, 0x4c, 0xb8, 0x4e, 0x26, 0x42, 0xe2, 0x86, 0x65, 0x36, 0x4d, 0x7c, + 0x21, 0x64, 0xf7, 0x1b, 0x08, 0xcb, 0x75, 0x89, 0x3a, 0x10, 0xa6, 0xb7, 0x2c, 0x7d, 0xa9, 0xe6, + 0x53, 0x5f, 0xc6, 0x2a, 0xf6, 0x92, 0x95, 0x95, 0xe4, 0x23, 0xa8, 0x9b, 0x12, 0xcb, 0x4a, 0x5c, + 0xf0, 0xf4, 0xb7, 0x00, 0x0e, 0xb9, 0xd8, 0xe2, 0xe7, 0x75, 0xf0, 0xc3, 0x8f, 0x7e, 0x11, 0x66, + 0x22, 0x27, 0x45, 0x16, 0x09, 0x99, 0xf5, 0x32, 0x56, 0xd8, 0xb5, 0xd8, 0x73, 0x8f, 0xc8, 0x8c, + 0xab, 0xff, 0xf7, 0x43, 0xfa, 0x64, 0x7d, 0xfc, 0xb3, 0x52, 0xfd, 0x2a, 0x3e, 0x1b, 0x37, 0xac, + 0xe0, 0xc7, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x4e, 0x7a, 0xbc, 0x98, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source/source.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source/source.pb.go new file mode 100644 index 000000000..98f8f53fa --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source/source.pb.go @@ -0,0 +1,919 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/source/source.proto + +package source // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The type of an alias. +type AliasContext_Kind int32 + +const ( + // Unknown. + AliasContext_KIND_UNSPECIFIED AliasContext_Kind = 0 + // Git tag. + AliasContext_FIXED AliasContext_Kind = 1 + // Git branch. + AliasContext_MOVABLE AliasContext_Kind = 2 + // Used to specify non-standard aliases. For example, if a Git repo has a + // ref named "refs/foo/bar". + AliasContext_OTHER AliasContext_Kind = 4 +) + +var AliasContext_Kind_name = map[int32]string{ + 0: "KIND_UNSPECIFIED", + 1: "FIXED", + 2: "MOVABLE", + 4: "OTHER", +} +var AliasContext_Kind_value = map[string]int32{ + "KIND_UNSPECIFIED": 0, + "FIXED": 1, + "MOVABLE": 2, + "OTHER": 4, +} + +func (x AliasContext_Kind) String() string { + return proto.EnumName(AliasContext_Kind_name, int32(x)) +} +func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{1, 0} +} + +// A SourceContext is a reference to a tree of files. A SourceContext together +// with a path point to a unique revision of a single file or directory. +type SourceContext struct { + // A SourceContext can refer any one of the following types of repositories. + // + // Types that are valid to be assigned to Context: + // *SourceContext_CloudRepo + // *SourceContext_Gerrit + // *SourceContext_Git + Context isSourceContext_Context `protobuf_oneof:"context"` + // Labels with user defined metadata. + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SourceContext) Reset() { *m = SourceContext{} } +func (m *SourceContext) String() string { return proto.CompactTextString(m) } +func (*SourceContext) ProtoMessage() {} +func (*SourceContext) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{0} +} +func (m *SourceContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourceContext.Unmarshal(m, b) +} +func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourceContext.Marshal(b, m, deterministic) +} +func (dst *SourceContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourceContext.Merge(dst, src) +} +func (m *SourceContext) XXX_Size() int { + return xxx_messageInfo_SourceContext.Size(m) +} +func (m *SourceContext) XXX_DiscardUnknown() { + xxx_messageInfo_SourceContext.DiscardUnknown(m) +} + +var xxx_messageInfo_SourceContext proto.InternalMessageInfo + +type isSourceContext_Context interface { + isSourceContext_Context() +} + +type SourceContext_CloudRepo struct { + CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"` +} + +type SourceContext_Gerrit struct { + Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"` +} + +type SourceContext_Git struct { + Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"` +} + +func (*SourceContext_CloudRepo) isSourceContext_Context() {} + +func (*SourceContext_Gerrit) isSourceContext_Context() {} + +func (*SourceContext_Git) isSourceContext_Context() {} + +func (m *SourceContext) GetContext() isSourceContext_Context { + if m != nil { + return m.Context + } + return nil +} + +func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext { + if x, ok := m.GetContext().(*SourceContext_CloudRepo); ok { + return x.CloudRepo + } + return nil +} + +func (m *SourceContext) GetGerrit() *GerritSourceContext { + if x, ok := m.GetContext().(*SourceContext_Gerrit); ok { + return x.Gerrit + } + return nil +} + +func (m *SourceContext) GetGit() *GitSourceContext { + if x, ok := m.GetContext().(*SourceContext_Git); ok { + return x.Git + } + return nil +} + +func (m *SourceContext) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*SourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _SourceContext_OneofMarshaler, _SourceContext_OneofUnmarshaler, _SourceContext_OneofSizer, []interface{}{ + (*SourceContext_CloudRepo)(nil), + (*SourceContext_Gerrit)(nil), + (*SourceContext_Git)(nil), + } +} + +func _SourceContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*SourceContext) + // context + switch x := m.Context.(type) { + case *SourceContext_CloudRepo: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CloudRepo); err != nil { + return err + } + case *SourceContext_Gerrit: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Gerrit); err != nil { + return err + } + case *SourceContext_Git: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Git); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("SourceContext.Context has unexpected type %T", x) + } + return nil +} + +func _SourceContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*SourceContext) + switch tag { + case 1: // context.cloud_repo + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CloudRepoSourceContext) + err := b.DecodeMessage(msg) + m.Context = &SourceContext_CloudRepo{msg} + return true, err + case 2: // context.gerrit + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(GerritSourceContext) + err := b.DecodeMessage(msg) + m.Context = &SourceContext_Gerrit{msg} + return true, err + case 3: // context.git + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(GitSourceContext) + err := b.DecodeMessage(msg) + m.Context = &SourceContext_Git{msg} + return true, err + default: + return false, nil + } +} + +func _SourceContext_OneofSizer(msg proto.Message) (n int) { + m := msg.(*SourceContext) + // context + switch x := m.Context.(type) { + case *SourceContext_CloudRepo: + s := proto.Size(x.CloudRepo) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SourceContext_Gerrit: + s := proto.Size(x.Gerrit) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *SourceContext_Git: + s := proto.Size(x.Git) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An alias to a repo revision. +type AliasContext struct { + // The alias kind. + Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1beta1.source.AliasContext_Kind" json:"kind,omitempty"` + // The alias name. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AliasContext) Reset() { *m = AliasContext{} } +func (m *AliasContext) String() string { return proto.CompactTextString(m) } +func (*AliasContext) ProtoMessage() {} +func (*AliasContext) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{1} +} +func (m *AliasContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AliasContext.Unmarshal(m, b) +} +func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AliasContext.Marshal(b, m, deterministic) +} +func (dst *AliasContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_AliasContext.Merge(dst, src) +} +func (m *AliasContext) XXX_Size() int { + return xxx_messageInfo_AliasContext.Size(m) +} +func (m *AliasContext) XXX_DiscardUnknown() { + xxx_messageInfo_AliasContext.DiscardUnknown(m) +} + +var xxx_messageInfo_AliasContext proto.InternalMessageInfo + +func (m *AliasContext) GetKind() AliasContext_Kind { + if m != nil { + return m.Kind + } + return AliasContext_KIND_UNSPECIFIED +} + +func (m *AliasContext) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// A CloudRepoSourceContext denotes a particular revision in a Google Cloud +// Source Repo. +type CloudRepoSourceContext struct { + // The ID of the repo. + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + // A revision in a Cloud Repo can be identified by either its revision ID or + // its alias. + // + // Types that are valid to be assigned to Revision: + // *CloudRepoSourceContext_RevisionId + // *CloudRepoSourceContext_AliasContext + Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudRepoSourceContext) Reset() { *m = CloudRepoSourceContext{} } +func (m *CloudRepoSourceContext) String() string { return proto.CompactTextString(m) } +func (*CloudRepoSourceContext) ProtoMessage() {} +func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{2} +} +func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudRepoSourceContext.Unmarshal(m, b) +} +func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudRepoSourceContext.Marshal(b, m, deterministic) +} +func (dst *CloudRepoSourceContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudRepoSourceContext.Merge(dst, src) +} +func (m *CloudRepoSourceContext) XXX_Size() int { + return xxx_messageInfo_CloudRepoSourceContext.Size(m) +} +func (m *CloudRepoSourceContext) XXX_DiscardUnknown() { + xxx_messageInfo_CloudRepoSourceContext.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudRepoSourceContext proto.InternalMessageInfo + +func (m *CloudRepoSourceContext) GetRepoId() *RepoId { + if m != nil { + return m.RepoId + } + return nil +} + +type isCloudRepoSourceContext_Revision interface { + isCloudRepoSourceContext_Revision() +} + +type CloudRepoSourceContext_RevisionId struct { + RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"` +} + +type CloudRepoSourceContext_AliasContext struct { + AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"` +} + +func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} + +func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {} + +func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision { + if m != nil { + return m.Revision + } + return nil +} + +func (m *CloudRepoSourceContext) GetRevisionId() string { + if x, ok := m.GetRevision().(*CloudRepoSourceContext_RevisionId); ok { + return x.RevisionId + } + return "" +} + +func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext { + if x, ok := m.GetRevision().(*CloudRepoSourceContext_AliasContext); ok { + return x.AliasContext + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CloudRepoSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CloudRepoSourceContext_OneofMarshaler, _CloudRepoSourceContext_OneofUnmarshaler, _CloudRepoSourceContext_OneofSizer, []interface{}{ + (*CloudRepoSourceContext_RevisionId)(nil), + (*CloudRepoSourceContext_AliasContext)(nil), + } +} + +func _CloudRepoSourceContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CloudRepoSourceContext) + // revision + switch x := m.Revision.(type) { + case *CloudRepoSourceContext_RevisionId: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeStringBytes(x.RevisionId) + case *CloudRepoSourceContext_AliasContext: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AliasContext); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("CloudRepoSourceContext.Revision has unexpected type %T", x) + } + return nil +} + +func _CloudRepoSourceContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CloudRepoSourceContext) + switch tag { + case 2: // revision.revision_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Revision = &CloudRepoSourceContext_RevisionId{x} + return true, err + case 3: // revision.alias_context + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AliasContext) + err := b.DecodeMessage(msg) + m.Revision = &CloudRepoSourceContext_AliasContext{msg} + return true, err + default: + return false, nil + } +} + +func _CloudRepoSourceContext_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CloudRepoSourceContext) + // revision + switch x := m.Revision.(type) { + case *CloudRepoSourceContext_RevisionId: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.RevisionId))) + n += len(x.RevisionId) + case *CloudRepoSourceContext_AliasContext: + s := proto.Size(x.AliasContext) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A SourceContext referring to a Gerrit project. +type GerritSourceContext struct { + // The URI of a running Gerrit instance. + HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"` + // The full project name within the host. Projects may be nested, so + // "project/subproject" is a valid project name. The "repo name" is the + // hostURI/project. + GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` + // A revision in a Gerrit project can be identified by either its revision ID + // or its alias. + // + // Types that are valid to be assigned to Revision: + // *GerritSourceContext_RevisionId + // *GerritSourceContext_AliasContext + Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GerritSourceContext) Reset() { *m = GerritSourceContext{} } +func (m *GerritSourceContext) String() string { return proto.CompactTextString(m) } +func (*GerritSourceContext) ProtoMessage() {} +func (*GerritSourceContext) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{3} +} +func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GerritSourceContext.Unmarshal(m, b) +} +func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GerritSourceContext.Marshal(b, m, deterministic) +} +func (dst *GerritSourceContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_GerritSourceContext.Merge(dst, src) +} +func (m *GerritSourceContext) XXX_Size() int { + return xxx_messageInfo_GerritSourceContext.Size(m) +} +func (m *GerritSourceContext) XXX_DiscardUnknown() { + xxx_messageInfo_GerritSourceContext.DiscardUnknown(m) +} + +var xxx_messageInfo_GerritSourceContext proto.InternalMessageInfo + +func (m *GerritSourceContext) GetHostUri() string { + if m != nil { + return m.HostUri + } + return "" +} + +func (m *GerritSourceContext) GetGerritProject() string { + if m != nil { + return m.GerritProject + } + return "" +} + +type isGerritSourceContext_Revision interface { + isGerritSourceContext_Revision() +} + +type GerritSourceContext_RevisionId struct { + RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"` +} + +type GerritSourceContext_AliasContext struct { + AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"` +} + +func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} + +func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {} + +func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { + if m != nil { + return m.Revision + } + return nil +} + +func (m *GerritSourceContext) GetRevisionId() string { + if x, ok := m.GetRevision().(*GerritSourceContext_RevisionId); ok { + return x.RevisionId + } + return "" +} + +func (m *GerritSourceContext) GetAliasContext() *AliasContext { + if x, ok := m.GetRevision().(*GerritSourceContext_AliasContext); ok { + return x.AliasContext + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*GerritSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _GerritSourceContext_OneofMarshaler, _GerritSourceContext_OneofUnmarshaler, _GerritSourceContext_OneofSizer, []interface{}{ + (*GerritSourceContext_RevisionId)(nil), + (*GerritSourceContext_AliasContext)(nil), + } +} + +func _GerritSourceContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*GerritSourceContext) + // revision + switch x := m.Revision.(type) { + case *GerritSourceContext_RevisionId: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.RevisionId) + case *GerritSourceContext_AliasContext: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AliasContext); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("GerritSourceContext.Revision has unexpected type %T", x) + } + return nil +} + +func _GerritSourceContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*GerritSourceContext) + switch tag { + case 3: // revision.revision_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Revision = &GerritSourceContext_RevisionId{x} + return true, err + case 4: // revision.alias_context + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AliasContext) + err := b.DecodeMessage(msg) + m.Revision = &GerritSourceContext_AliasContext{msg} + return true, err + default: + return false, nil + } +} + +func _GerritSourceContext_OneofSizer(msg proto.Message) (n int) { + m := msg.(*GerritSourceContext) + // revision + switch x := m.Revision.(type) { + case *GerritSourceContext_RevisionId: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.RevisionId))) + n += len(x.RevisionId) + case *GerritSourceContext_AliasContext: + s := proto.Size(x.AliasContext) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A GitSourceContext denotes a particular revision in a third party Git +// repository (e.g., GitHub). +type GitSourceContext struct { + // Git repository URL. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Git commit hash. + RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GitSourceContext) Reset() { *m = GitSourceContext{} } +func (m *GitSourceContext) String() string { return proto.CompactTextString(m) } +func (*GitSourceContext) ProtoMessage() {} +func (*GitSourceContext) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{4} +} +func (m *GitSourceContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GitSourceContext.Unmarshal(m, b) +} +func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GitSourceContext.Marshal(b, m, deterministic) +} +func (dst *GitSourceContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_GitSourceContext.Merge(dst, src) +} +func (m *GitSourceContext) XXX_Size() int { + return xxx_messageInfo_GitSourceContext.Size(m) +} +func (m *GitSourceContext) XXX_DiscardUnknown() { + xxx_messageInfo_GitSourceContext.DiscardUnknown(m) +} + +var xxx_messageInfo_GitSourceContext proto.InternalMessageInfo + +func (m *GitSourceContext) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *GitSourceContext) GetRevisionId() string { + if m != nil { + return m.RevisionId + } + return "" +} + +// A unique identifier for a Cloud Repo. +type RepoId struct { + // A cloud repo can be identified by either its project ID and repository name + // combination, or its globally unique identifier. + // + // Types that are valid to be assigned to Id: + // *RepoId_ProjectRepoId + // *RepoId_Uid + Id isRepoId_Id `protobuf_oneof:"id"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepoId) Reset() { *m = RepoId{} } +func (m *RepoId) String() string { return proto.CompactTextString(m) } +func (*RepoId) ProtoMessage() {} +func (*RepoId) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{5} +} +func (m *RepoId) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepoId.Unmarshal(m, b) +} +func (m *RepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepoId.Marshal(b, m, deterministic) +} +func (dst *RepoId) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepoId.Merge(dst, src) +} +func (m *RepoId) XXX_Size() int { + return xxx_messageInfo_RepoId.Size(m) +} +func (m *RepoId) XXX_DiscardUnknown() { + xxx_messageInfo_RepoId.DiscardUnknown(m) +} + +var xxx_messageInfo_RepoId proto.InternalMessageInfo + +type isRepoId_Id interface { + isRepoId_Id() +} + +type RepoId_ProjectRepoId struct { + ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"` +} + +type RepoId_Uid struct { + Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"` +} + +func (*RepoId_ProjectRepoId) isRepoId_Id() {} + +func (*RepoId_Uid) isRepoId_Id() {} + +func (m *RepoId) GetId() isRepoId_Id { + if m != nil { + return m.Id + } + return nil +} + +func (m *RepoId) GetProjectRepoId() *ProjectRepoId { + if x, ok := m.GetId().(*RepoId_ProjectRepoId); ok { + return x.ProjectRepoId + } + return nil +} + +func (m *RepoId) GetUid() string { + if x, ok := m.GetId().(*RepoId_Uid); ok { + return x.Uid + } + return "" +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*RepoId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _RepoId_OneofMarshaler, _RepoId_OneofUnmarshaler, _RepoId_OneofSizer, []interface{}{ + (*RepoId_ProjectRepoId)(nil), + (*RepoId_Uid)(nil), + } +} + +func _RepoId_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*RepoId) + // id + switch x := m.Id.(type) { + case *RepoId_ProjectRepoId: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ProjectRepoId); err != nil { + return err + } + case *RepoId_Uid: + b.EncodeVarint(2<<3 | proto.WireBytes) + b.EncodeStringBytes(x.Uid) + case nil: + default: + return fmt.Errorf("RepoId.Id has unexpected type %T", x) + } + return nil +} + +func _RepoId_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*RepoId) + switch tag { + case 1: // id.project_repo_id + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ProjectRepoId) + err := b.DecodeMessage(msg) + m.Id = &RepoId_ProjectRepoId{msg} + return true, err + case 2: // id.uid + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Id = &RepoId_Uid{x} + return true, err + default: + return false, nil + } +} + +func _RepoId_OneofSizer(msg proto.Message) (n int) { + m := msg.(*RepoId) + // id + switch x := m.Id.(type) { + case *RepoId_ProjectRepoId: + s := proto.Size(x.ProjectRepoId) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *RepoId_Uid: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Uid))) + n += len(x.Uid) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Selects a repo using a Google Cloud Platform project ID (e.g., +// winged-cargo-31) and a repo name within that project. +type ProjectRepoId struct { + // The ID of the project. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The name of the repo. Leave empty for the default repo. + RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProjectRepoId) Reset() { *m = ProjectRepoId{} } +func (m *ProjectRepoId) String() string { return proto.CompactTextString(m) } +func (*ProjectRepoId) ProtoMessage() {} +func (*ProjectRepoId) Descriptor() ([]byte, []int) { + return fileDescriptor_source_b7360f0d8c9ed1c8, []int{6} +} +func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProjectRepoId.Unmarshal(m, b) +} +func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProjectRepoId.Marshal(b, m, deterministic) +} +func (dst *ProjectRepoId) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectRepoId.Merge(dst, src) +} +func (m *ProjectRepoId) XXX_Size() int { + return xxx_messageInfo_ProjectRepoId.Size(m) +} +func (m *ProjectRepoId) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectRepoId.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectRepoId proto.InternalMessageInfo + +func (m *ProjectRepoId) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *ProjectRepoId) GetRepoName() string { + if m != nil { + return m.RepoName + } + return "" +} + +func init() { + proto.RegisterType((*SourceContext)(nil), "grafeas.v1beta1.source.SourceContext") + proto.RegisterMapType((map[string]string)(nil), "grafeas.v1beta1.source.SourceContext.LabelsEntry") + proto.RegisterType((*AliasContext)(nil), "grafeas.v1beta1.source.AliasContext") + proto.RegisterType((*CloudRepoSourceContext)(nil), "grafeas.v1beta1.source.CloudRepoSourceContext") + proto.RegisterType((*GerritSourceContext)(nil), "grafeas.v1beta1.source.GerritSourceContext") + proto.RegisterType((*GitSourceContext)(nil), "grafeas.v1beta1.source.GitSourceContext") + proto.RegisterType((*RepoId)(nil), "grafeas.v1beta1.source.RepoId") + proto.RegisterType((*ProjectRepoId)(nil), "grafeas.v1beta1.source.ProjectRepoId") + proto.RegisterEnum("grafeas.v1beta1.source.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/source/source.proto", fileDescriptor_source_b7360f0d8c9ed1c8) +} + +var fileDescriptor_source_b7360f0d8c9ed1c8 = []byte{ + // 640 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x4e, 0xdb, 0x30, + 0x18, 0x6d, 0xda, 0xd0, 0x92, 0xaf, 0x94, 0x45, 0x1e, 0x42, 0x65, 0xd3, 0x36, 0x16, 0x0d, 0x89, + 0x69, 0x52, 0x2a, 0xd8, 0xc5, 0x7e, 0xd1, 0x44, 0x21, 0xd0, 0xa8, 0x8c, 0xa2, 0x30, 0xd0, 0xb4, + 0x9b, 0xc8, 0x34, 0x5e, 0xe6, 0x11, 0xe2, 0xca, 0x49, 0xaa, 0xa1, 0xbd, 0x0d, 0xef, 0xb3, 0xab, + 0xbd, 0xcb, 0xae, 0x27, 0x3b, 0x8e, 0x94, 0xb2, 0x46, 0xe2, 0x62, 0x57, 0xb6, 0x8f, 0xbf, 0x73, + 0xfc, 0xfd, 0x1c, 0x19, 0x76, 0x42, 0xc6, 0xc2, 0x88, 0xf4, 0x02, 0x32, 0x4d, 0x19, 0x8b, 0x92, + 0xde,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0x8c, 0x53, + 0xb4, 0x01, 0xcb, 0xb9, 0x01, 0xfd, 0x09, 0x67, 0xdf, 0xc9, 0x38, 0x55, 0x1d, 0xee, 0xe4, 0xe8, + 0x49, 0x0e, 0xde, 0xae, 0xaa, 0x71, 0x97, 0xaa, 0xf4, 0xff, 0x54, 0x95, 0x03, 0xe6, 0x6d, 0xdb, + 0x0b, 0x57, 0x66, 0x3c, 0x2a, 0x5c, 0x99, 0xf1, 0x08, 0x3d, 0x99, 0xd3, 0xf7, 0x72, 0x7e, 0x56, + 0x02, 0xcd, 0x7c, 0x54, 0x68, 0x04, 0xf7, 0x54, 0xb1, 0xfe, 0xec, 0x8c, 0x37, 0xaa, 0x72, 0x55, + 0x6d, 0xc8, 0xf9, 0x83, 0x9a, 0xd7, 0x99, 0x94, 0x01, 0x84, 0xa0, 0x91, 0x95, 0x66, 0x2d, 0x0e, + 0x7d, 0x1d, 0xea, 0x34, 0xb0, 0x86, 0xd0, 0x99, 0xe1, 0xa2, 0x47, 0x00, 0xc5, 0xdb, 0xea, 0x59, + 0xc3, 0x33, 0x14, 0xe2, 0x06, 0xe8, 0x21, 0x18, 0x32, 0xa5, 0x92, 0xd7, 0x17, 0x05, 0x70, 0x8c, + 0xaf, 0x48, 0xff, 0x27, 0xac, 0x51, 0x56, 0x91, 0xe2, 0x89, 0xf6, 0xe5, 0x3c, 0xff, 0x42, 0xed, + 0x90, 0x45, 0x38, 0x0e, 0x6d, 0xc6, 0xc3, 0x5e, 0x48, 0x62, 0xf9, 0x3f, 0xf6, 0xf2, 0x2b, 0x3c, + 0xa1, 0xc9, 0xdd, 0x7f, 0xd8, 0x77, 0xf9, 0x72, 0x53, 0x6f, 0x1c, 0x7a, 0xbb, 0x17, 0x4d, 0x29, + 0xf4, 0xf2, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x39, 0x33, 0xb6, 0xbe, 0xa9, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.pb.go new file mode 100644 index 000000000..8159faebb --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.pb.go @@ -0,0 +1,520 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto + +package vulnerability // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" +import _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Note provider-assigned severity/impact ranking. +type Severity int32 + +const ( + // Unknown. + Severity_SEVERITY_UNSPECIFIED Severity = 0 + // Minimal severity. + Severity_MINIMAL Severity = 1 + // Low severity. + Severity_LOW Severity = 2 + // Medium severity. + Severity_MEDIUM Severity = 3 + // High severity. + Severity_HIGH Severity = 4 + // Critical severity. + Severity_CRITICAL Severity = 5 +) + +var Severity_name = map[int32]string{ + 0: "SEVERITY_UNSPECIFIED", + 1: "MINIMAL", + 2: "LOW", + 3: "MEDIUM", + 4: "HIGH", + 5: "CRITICAL", +} +var Severity_value = map[string]int32{ + "SEVERITY_UNSPECIFIED": 0, + "MINIMAL": 1, + "LOW": 2, + "MEDIUM": 3, + "HIGH": 4, + "CRITICAL": 5, +} + +func (x Severity) String() string { + return proto.EnumName(Severity_name, int32(x)) +} +func (Severity) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_vulnerability_94d0ea806c1c7d02, []int{0} +} + +// Vulnerability provides metadata about a security vulnerability. +type Vulnerability struct { + // The CVSS score for this vulnerability. + CvssScore float32 `protobuf:"fixed32,1,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` + // Note provider assigned impact of the vulnerability. + Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"` + // All information about the package to specifically identify this + // vulnerability. One entry per (version range and cpe_uri) the package + // vulnerability has manifested in. + Details []*Vulnerability_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Vulnerability) Reset() { *m = Vulnerability{} } +func (m *Vulnerability) String() string { return proto.CompactTextString(m) } +func (*Vulnerability) ProtoMessage() {} +func (*Vulnerability) Descriptor() ([]byte, []int) { + return fileDescriptor_vulnerability_94d0ea806c1c7d02, []int{0} +} +func (m *Vulnerability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Vulnerability.Unmarshal(m, b) +} +func (m *Vulnerability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Vulnerability.Marshal(b, m, deterministic) +} +func (dst *Vulnerability) XXX_Merge(src proto.Message) { + xxx_messageInfo_Vulnerability.Merge(dst, src) +} +func (m *Vulnerability) XXX_Size() int { + return xxx_messageInfo_Vulnerability.Size(m) +} +func (m *Vulnerability) XXX_DiscardUnknown() { + xxx_messageInfo_Vulnerability.DiscardUnknown(m) +} + +var xxx_messageInfo_Vulnerability proto.InternalMessageInfo + +func (m *Vulnerability) GetCvssScore() float32 { + if m != nil { + return m.CvssScore + } + return 0 +} + +func (m *Vulnerability) GetSeverity() Severity { + if m != nil { + return m.Severity + } + return Severity_SEVERITY_UNSPECIFIED +} + +func (m *Vulnerability) GetDetails() []*Vulnerability_Detail { + if m != nil { + return m.Details + } + return nil +} + +// Identifies all occurrences of this vulnerability in the package for a +// specific distro/location. For example: glibc in +// cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2 +type Vulnerability_Detail struct { + // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in + // which the vulnerability manifests. Examples include distro or storage + // location for vulnerable jar. + CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` + // The name of the package where the vulnerability was found. + Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` + // The min version of the package in which the vulnerability exists. + MinAffectedVersion *_package.Version `protobuf:"bytes,3,opt,name=min_affected_version,json=minAffectedVersion,proto3" json:"min_affected_version,omitempty"` + // The max version of the package in which the vulnerability exists. + MaxAffectedVersion *_package.Version `protobuf:"bytes,4,opt,name=max_affected_version,json=maxAffectedVersion,proto3" json:"max_affected_version,omitempty"` + // The severity (eg: distro assigned severity) for this vulnerability. + SeverityName string `protobuf:"bytes,5,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"` + // A vendor-specific description of this note. + Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` + // The fix for this specific package version. + FixedLocation *VulnerabilityLocation `protobuf:"bytes,7,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"` + // The type of package; whether native or non native(ruby gems, node.js + // packages etc). + PackageType string `protobuf:"bytes,8,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"` + // Whether this detail is obsolete. Occurrences are expected not to point to + // obsolete details. + IsObsolete bool `protobuf:"varint,9,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Vulnerability_Detail) Reset() { *m = Vulnerability_Detail{} } +func (m *Vulnerability_Detail) String() string { return proto.CompactTextString(m) } +func (*Vulnerability_Detail) ProtoMessage() {} +func (*Vulnerability_Detail) Descriptor() ([]byte, []int) { + return fileDescriptor_vulnerability_94d0ea806c1c7d02, []int{0, 0} +} +func (m *Vulnerability_Detail) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Vulnerability_Detail.Unmarshal(m, b) +} +func (m *Vulnerability_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Vulnerability_Detail.Marshal(b, m, deterministic) +} +func (dst *Vulnerability_Detail) XXX_Merge(src proto.Message) { + xxx_messageInfo_Vulnerability_Detail.Merge(dst, src) +} +func (m *Vulnerability_Detail) XXX_Size() int { + return xxx_messageInfo_Vulnerability_Detail.Size(m) +} +func (m *Vulnerability_Detail) XXX_DiscardUnknown() { + xxx_messageInfo_Vulnerability_Detail.DiscardUnknown(m) +} + +var xxx_messageInfo_Vulnerability_Detail proto.InternalMessageInfo + +func (m *Vulnerability_Detail) GetCpeUri() string { + if m != nil { + return m.CpeUri + } + return "" +} + +func (m *Vulnerability_Detail) GetPackage() string { + if m != nil { + return m.Package + } + return "" +} + +func (m *Vulnerability_Detail) GetMinAffectedVersion() *_package.Version { + if m != nil { + return m.MinAffectedVersion + } + return nil +} + +func (m *Vulnerability_Detail) GetMaxAffectedVersion() *_package.Version { + if m != nil { + return m.MaxAffectedVersion + } + return nil +} + +func (m *Vulnerability_Detail) GetSeverityName() string { + if m != nil { + return m.SeverityName + } + return "" +} + +func (m *Vulnerability_Detail) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Vulnerability_Detail) GetFixedLocation() *VulnerabilityLocation { + if m != nil { + return m.FixedLocation + } + return nil +} + +func (m *Vulnerability_Detail) GetPackageType() string { + if m != nil { + return m.PackageType + } + return "" +} + +func (m *Vulnerability_Detail) GetIsObsolete() bool { + if m != nil { + return m.IsObsolete + } + return false +} + +// Details of a vulnerability occurrence. +type Details struct { + // The type of package; whether native or non native(ruby gems, node.js + // packages etc) + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // Output only. The note provider assigned Severity of the vulnerability. + Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"` + // Output only. The CVSS score of this vulnerability. CVSS score is on a + // scale of 0-10 where 0 indicates low severity and 10 indicates high + // severity. + CvssScore float32 `protobuf:"fixed32,3,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` + // The set of affected locations and their fixes (if available) within the + // associated resource. + PackageIssue []*PackageIssue `protobuf:"bytes,4,rep,name=package_issue,json=packageIssue,proto3" json:"package_issue,omitempty"` + // Output only. A one sentence description of this vulnerability. + ShortDescription string `protobuf:"bytes,5,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` + // Output only. A detailed description of this vulnerability. + LongDescription string `protobuf:"bytes,6,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` + // Output only. URLs related to this vulnerability. + RelatedUrls []*common.RelatedUrl `protobuf:"bytes,7,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Details) Reset() { *m = Details{} } +func (m *Details) String() string { return proto.CompactTextString(m) } +func (*Details) ProtoMessage() {} +func (*Details) Descriptor() ([]byte, []int) { + return fileDescriptor_vulnerability_94d0ea806c1c7d02, []int{1} +} +func (m *Details) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Details.Unmarshal(m, b) +} +func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Details.Marshal(b, m, deterministic) +} +func (dst *Details) XXX_Merge(src proto.Message) { + xxx_messageInfo_Details.Merge(dst, src) +} +func (m *Details) XXX_Size() int { + return xxx_messageInfo_Details.Size(m) +} +func (m *Details) XXX_DiscardUnknown() { + xxx_messageInfo_Details.DiscardUnknown(m) +} + +var xxx_messageInfo_Details proto.InternalMessageInfo + +func (m *Details) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *Details) GetSeverity() Severity { + if m != nil { + return m.Severity + } + return Severity_SEVERITY_UNSPECIFIED +} + +func (m *Details) GetCvssScore() float32 { + if m != nil { + return m.CvssScore + } + return 0 +} + +func (m *Details) GetPackageIssue() []*PackageIssue { + if m != nil { + return m.PackageIssue + } + return nil +} + +func (m *Details) GetShortDescription() string { + if m != nil { + return m.ShortDescription + } + return "" +} + +func (m *Details) GetLongDescription() string { + if m != nil { + return m.LongDescription + } + return "" +} + +func (m *Details) GetRelatedUrls() []*common.RelatedUrl { + if m != nil { + return m.RelatedUrls + } + return nil +} + +// This message wraps a location affected by a vulnerability and its +// associated fix (if one is available). +type PackageIssue struct { + // The location of the vulnerability. + AffectedLocation *VulnerabilityLocation `protobuf:"bytes,1,opt,name=affected_location,json=affectedLocation,proto3" json:"affected_location,omitempty"` + // The location of the available fix for vulnerability. + FixedLocation *VulnerabilityLocation `protobuf:"bytes,2,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"` + // The severity (e.g., distro assigned severity) for this vulnerability. + SeverityName string `protobuf:"bytes,3,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PackageIssue) Reset() { *m = PackageIssue{} } +func (m *PackageIssue) String() string { return proto.CompactTextString(m) } +func (*PackageIssue) ProtoMessage() {} +func (*PackageIssue) Descriptor() ([]byte, []int) { + return fileDescriptor_vulnerability_94d0ea806c1c7d02, []int{2} +} +func (m *PackageIssue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PackageIssue.Unmarshal(m, b) +} +func (m *PackageIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PackageIssue.Marshal(b, m, deterministic) +} +func (dst *PackageIssue) XXX_Merge(src proto.Message) { + xxx_messageInfo_PackageIssue.Merge(dst, src) +} +func (m *PackageIssue) XXX_Size() int { + return xxx_messageInfo_PackageIssue.Size(m) +} +func (m *PackageIssue) XXX_DiscardUnknown() { + xxx_messageInfo_PackageIssue.DiscardUnknown(m) +} + +var xxx_messageInfo_PackageIssue proto.InternalMessageInfo + +func (m *PackageIssue) GetAffectedLocation() *VulnerabilityLocation { + if m != nil { + return m.AffectedLocation + } + return nil +} + +func (m *PackageIssue) GetFixedLocation() *VulnerabilityLocation { + if m != nil { + return m.FixedLocation + } + return nil +} + +func (m *PackageIssue) GetSeverityName() string { + if m != nil { + return m.SeverityName + } + return "" +} + +// The location of the vulnerability. +type VulnerabilityLocation struct { + // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) + // format. Examples include distro or storage location for vulnerable jar. + CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` + // The package being described. + Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` + // The version of the package being described. + Version *_package.Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VulnerabilityLocation) Reset() { *m = VulnerabilityLocation{} } +func (m *VulnerabilityLocation) String() string { return proto.CompactTextString(m) } +func (*VulnerabilityLocation) ProtoMessage() {} +func (*VulnerabilityLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_vulnerability_94d0ea806c1c7d02, []int{3} +} +func (m *VulnerabilityLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VulnerabilityLocation.Unmarshal(m, b) +} +func (m *VulnerabilityLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VulnerabilityLocation.Marshal(b, m, deterministic) +} +func (dst *VulnerabilityLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_VulnerabilityLocation.Merge(dst, src) +} +func (m *VulnerabilityLocation) XXX_Size() int { + return xxx_messageInfo_VulnerabilityLocation.Size(m) +} +func (m *VulnerabilityLocation) XXX_DiscardUnknown() { + xxx_messageInfo_VulnerabilityLocation.DiscardUnknown(m) +} + +var xxx_messageInfo_VulnerabilityLocation proto.InternalMessageInfo + +func (m *VulnerabilityLocation) GetCpeUri() string { + if m != nil { + return m.CpeUri + } + return "" +} + +func (m *VulnerabilityLocation) GetPackage() string { + if m != nil { + return m.Package + } + return "" +} + +func (m *VulnerabilityLocation) GetVersion() *_package.Version { + if m != nil { + return m.Version + } + return nil +} + +func init() { + proto.RegisterType((*Vulnerability)(nil), "grafeas.v1beta1.vulnerability.Vulnerability") + proto.RegisterType((*Vulnerability_Detail)(nil), "grafeas.v1beta1.vulnerability.Vulnerability.Detail") + proto.RegisterType((*Details)(nil), "grafeas.v1beta1.vulnerability.Details") + proto.RegisterType((*PackageIssue)(nil), "grafeas.v1beta1.vulnerability.PackageIssue") + proto.RegisterType((*VulnerabilityLocation)(nil), "grafeas.v1beta1.vulnerability.VulnerabilityLocation") + proto.RegisterEnum("grafeas.v1beta1.vulnerability.Severity", Severity_name, Severity_value) +} + +func init() { + proto.RegisterFile("google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto", fileDescriptor_vulnerability_94d0ea806c1c7d02) +} + +var fileDescriptor_vulnerability_94d0ea806c1c7d02 = []byte{ + // 727 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x6e, 0xda, 0x48, + 0x14, 0x5e, 0x63, 0x82, 0xe1, 0x00, 0x59, 0x67, 0x94, 0xd5, 0x5a, 0x59, 0x45, 0xeb, 0x65, 0x2f, + 0x4a, 0x1b, 0xc9, 0x28, 0x49, 0xaf, 0x5a, 0xb5, 0x15, 0x05, 0x9a, 0x58, 0x85, 0x04, 0x99, 0x90, + 0xaa, 0xad, 0x54, 0x6b, 0x30, 0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x5b, 0x96, 0x79, 0xf6, 0xd6, 0xee, 0x9f, + 0xf4, 0xba, 0xad, 0x86, 0xf9, 0xca, 0x6c, 0x35, 0xd5, 0x3f, 0x50, 0x11, 0x94, 0x8e, 0x79, 0x62, + 0x76, 0xea, 0x6d, 0x55, 0x42, 0x0a, 0xc8, 0xed, 0xd3, 0x37, 0x6a, 0x06, 0x01, 0xe4, 0x3a, 0xad, + 0xa6, 0xd9, 0xef, 0xa8, 0x32, 0xca, 0x43, 0xf6, 0xd8, 0x3c, 0x3a, 0x56, 0xb3, 0xa8, 0x04, 0xf9, + 0x86, 0x65, 0x9e, 0x99, 0x8d, 0x7a, 0x5b, 0xdd, 0x78, 0x79, 0x29, 0x81, 0x4e, 0xd9, 0xf5, 0xfb, + 0xda, 0x95, 0xde, 0x0d, 0xe3, 0x7b, 0xc4, 0x70, 0x99, 0x87, 0x7d, 0xd7, 0x60, 0xa1, 0x5b, 0x73, + 0x89, 0x2f, 0xae, 0x88, 0x5a, 0xfc, 0x09, 0x07, 0x94, 0xdf, 0xf9, 0x46, 0x7c, 0xba, 0x12, 0x7d, + 0xc9, 0xc8, 0x47, 0x56, 0x7d, 0x90, 0x13, 0xb4, 0x87, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfd, + 0xfb, 0x4c, 0x27, 0x67, 0x07, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/remoteexecution/v1test/remote_execution.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/remoteexecution/v1test/remote_execution.pb.go index 3defc4741..e48f914a6 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteexecution/v1test/remote_execution.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/remoteexecution/v1test/remote_execution.pb.go @@ -61,7 +61,7 @@ func (x ExecuteOperationMetadata_Stage) String() string { return proto.EnumName(ExecuteOperationMetadata_Stage_name, int32(x)) } func (ExecuteOperationMetadata_Stage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{14, 0} + return fileDescriptor_remote_execution_2379da344af471dd, []int{14, 0} } // An `Action` captures all the information about an execution which is required @@ -162,7 +162,7 @@ func (m *Action) Reset() { *m = Action{} } func (m *Action) String() string { return proto.CompactTextString(m) } func (*Action) ProtoMessage() {} func (*Action) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{0} + return fileDescriptor_remote_execution_2379da344af471dd, []int{0} } func (m *Action) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Action.Unmarshal(m, b) @@ -261,7 +261,7 @@ func (m *Command) Reset() { *m = Command{} } func (m *Command) String() string { return proto.CompactTextString(m) } func (*Command) ProtoMessage() {} func (*Command) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{1} + return fileDescriptor_remote_execution_2379da344af471dd, []int{1} } func (m *Command) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Command.Unmarshal(m, b) @@ -311,7 +311,7 @@ func (m *Command_EnvironmentVariable) Reset() { *m = Command_Environment func (m *Command_EnvironmentVariable) String() string { return proto.CompactTextString(m) } func (*Command_EnvironmentVariable) ProtoMessage() {} func (*Command_EnvironmentVariable) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{1, 0} + return fileDescriptor_remote_execution_2379da344af471dd, []int{1, 0} } func (m *Command_EnvironmentVariable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Command_EnvironmentVariable.Unmarshal(m, b) @@ -368,7 +368,7 @@ func (m *Platform) Reset() { *m = Platform{} } func (m *Platform) String() string { return proto.CompactTextString(m) } func (*Platform) ProtoMessage() {} func (*Platform) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{2} + return fileDescriptor_remote_execution_2379da344af471dd, []int{2} } func (m *Platform) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Platform.Unmarshal(m, b) @@ -426,7 +426,7 @@ func (m *Platform_Property) Reset() { *m = Platform_Property{} } func (m *Platform_Property) String() string { return proto.CompactTextString(m) } func (*Platform_Property) ProtoMessage() {} func (*Platform_Property) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{2, 0} + return fileDescriptor_remote_execution_2379da344af471dd, []int{2, 0} } func (m *Platform_Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Platform_Property.Unmarshal(m, b) @@ -534,7 +534,7 @@ func (m *Directory) Reset() { *m = Directory{} } func (m *Directory) String() string { return proto.CompactTextString(m) } func (*Directory) ProtoMessage() {} func (*Directory) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{3} + return fileDescriptor_remote_execution_2379da344af471dd, []int{3} } func (m *Directory) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Directory.Unmarshal(m, b) @@ -585,7 +585,7 @@ func (m *FileNode) Reset() { *m = FileNode{} } func (m *FileNode) String() string { return proto.CompactTextString(m) } func (*FileNode) ProtoMessage() {} func (*FileNode) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{4} + return fileDescriptor_remote_execution_2379da344af471dd, []int{4} } func (m *FileNode) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileNode.Unmarshal(m, b) @@ -646,7 +646,7 @@ func (m *DirectoryNode) Reset() { *m = DirectoryNode{} } func (m *DirectoryNode) String() string { return proto.CompactTextString(m) } func (*DirectoryNode) ProtoMessage() {} func (*DirectoryNode) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{5} + return fileDescriptor_remote_execution_2379da344af471dd, []int{5} } func (m *DirectoryNode) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DirectoryNode.Unmarshal(m, b) @@ -726,7 +726,7 @@ func (m *Digest) Reset() { *m = Digest{} } func (m *Digest) String() string { return proto.CompactTextString(m) } func (*Digest) ProtoMessage() {} func (*Digest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{6} + return fileDescriptor_remote_execution_2379da344af471dd, []int{6} } func (m *Digest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Digest.Unmarshal(m, b) @@ -866,7 +866,7 @@ func (m *ActionResult) Reset() { *m = ActionResult{} } func (m *ActionResult) String() string { return proto.CompactTextString(m) } func (*ActionResult) ProtoMessage() {} func (*ActionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{7} + return fileDescriptor_remote_execution_2379da344af471dd, []int{7} } func (m *ActionResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ActionResult.Unmarshal(m, b) @@ -970,7 +970,7 @@ func (m *OutputFile) Reset() { *m = OutputFile{} } func (m *OutputFile) String() string { return proto.CompactTextString(m) } func (*OutputFile) ProtoMessage() {} func (*OutputFile) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{8} + return fileDescriptor_remote_execution_2379da344af471dd, []int{8} } func (m *OutputFile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputFile.Unmarshal(m, b) @@ -1038,7 +1038,7 @@ func (m *Tree) Reset() { *m = Tree{} } func (m *Tree) String() string { return proto.CompactTextString(m) } func (*Tree) ProtoMessage() {} func (*Tree) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{9} + return fileDescriptor_remote_execution_2379da344af471dd, []int{9} } func (m *Tree) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Tree.Unmarshal(m, b) @@ -1095,7 +1095,7 @@ func (m *OutputDirectory) Reset() { *m = OutputDirectory{} } func (m *OutputDirectory) String() string { return proto.CompactTextString(m) } func (*OutputDirectory) ProtoMessage() {} func (*OutputDirectory) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{10} + return fileDescriptor_remote_execution_2379da344af471dd, []int{10} } func (m *OutputDirectory) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OutputDirectory.Unmarshal(m, b) @@ -1166,7 +1166,7 @@ func (m *ExecuteRequest) Reset() { *m = ExecuteRequest{} } func (m *ExecuteRequest) String() string { return proto.CompactTextString(m) } func (*ExecuteRequest) ProtoMessage() {} func (*ExecuteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{11} + return fileDescriptor_remote_execution_2379da344af471dd, []int{11} } func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecuteRequest.Unmarshal(m, b) @@ -1240,7 +1240,7 @@ func (m *LogFile) Reset() { *m = LogFile{} } func (m *LogFile) String() string { return proto.CompactTextString(m) } func (*LogFile) ProtoMessage() {} func (*LogFile) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{12} + return fileDescriptor_remote_execution_2379da344af471dd, []int{12} } func (m *LogFile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogFile.Unmarshal(m, b) @@ -1312,7 +1312,7 @@ func (m *ExecuteResponse) Reset() { *m = ExecuteResponse{} } func (m *ExecuteResponse) String() string { return proto.CompactTextString(m) } func (*ExecuteResponse) ProtoMessage() {} func (*ExecuteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{13} + return fileDescriptor_remote_execution_2379da344af471dd, []int{13} } func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecuteResponse.Unmarshal(m, b) @@ -1387,7 +1387,7 @@ func (m *ExecuteOperationMetadata) Reset() { *m = ExecuteOperationMetada func (m *ExecuteOperationMetadata) String() string { return proto.CompactTextString(m) } func (*ExecuteOperationMetadata) ProtoMessage() {} func (*ExecuteOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{14} + return fileDescriptor_remote_execution_2379da344af471dd, []int{14} } func (m *ExecuteOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecuteOperationMetadata.Unmarshal(m, b) @@ -1456,7 +1456,7 @@ func (m *GetActionResultRequest) Reset() { *m = GetActionResultRequest{} func (m *GetActionResultRequest) String() string { return proto.CompactTextString(m) } func (*GetActionResultRequest) ProtoMessage() {} func (*GetActionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{15} + return fileDescriptor_remote_execution_2379da344af471dd, []int{15} } func (m *GetActionResultRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetActionResultRequest.Unmarshal(m, b) @@ -1514,7 +1514,7 @@ func (m *UpdateActionResultRequest) Reset() { *m = UpdateActionResultReq func (m *UpdateActionResultRequest) String() string { return proto.CompactTextString(m) } func (*UpdateActionResultRequest) ProtoMessage() {} func (*UpdateActionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{16} + return fileDescriptor_remote_execution_2379da344af471dd, []int{16} } func (m *UpdateActionResultRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateActionResultRequest.Unmarshal(m, b) @@ -1575,7 +1575,7 @@ func (m *FindMissingBlobsRequest) Reset() { *m = FindMissingBlobsRequest func (m *FindMissingBlobsRequest) String() string { return proto.CompactTextString(m) } func (*FindMissingBlobsRequest) ProtoMessage() {} func (*FindMissingBlobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{17} + return fileDescriptor_remote_execution_2379da344af471dd, []int{17} } func (m *FindMissingBlobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindMissingBlobsRequest.Unmarshal(m, b) @@ -1623,7 +1623,7 @@ func (m *FindMissingBlobsResponse) Reset() { *m = FindMissingBlobsRespon func (m *FindMissingBlobsResponse) String() string { return proto.CompactTextString(m) } func (*FindMissingBlobsResponse) ProtoMessage() {} func (*FindMissingBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{18} + return fileDescriptor_remote_execution_2379da344af471dd, []int{18} } func (m *FindMissingBlobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindMissingBlobsResponse.Unmarshal(m, b) @@ -1666,7 +1666,7 @@ func (m *UpdateBlobRequest) Reset() { *m = UpdateBlobRequest{} } func (m *UpdateBlobRequest) String() string { return proto.CompactTextString(m) } func (*UpdateBlobRequest) ProtoMessage() {} func (*UpdateBlobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{19} + return fileDescriptor_remote_execution_2379da344af471dd, []int{19} } func (m *UpdateBlobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateBlobRequest.Unmarshal(m, b) @@ -1720,7 +1720,7 @@ func (m *BatchUpdateBlobsRequest) Reset() { *m = BatchUpdateBlobsRequest func (m *BatchUpdateBlobsRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdateBlobsRequest) ProtoMessage() {} func (*BatchUpdateBlobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{20} + return fileDescriptor_remote_execution_2379da344af471dd, []int{20} } func (m *BatchUpdateBlobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateBlobsRequest.Unmarshal(m, b) @@ -1768,7 +1768,7 @@ func (m *BatchUpdateBlobsResponse) Reset() { *m = BatchUpdateBlobsRespon func (m *BatchUpdateBlobsResponse) String() string { return proto.CompactTextString(m) } func (*BatchUpdateBlobsResponse) ProtoMessage() {} func (*BatchUpdateBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{21} + return fileDescriptor_remote_execution_2379da344af471dd, []int{21} } func (m *BatchUpdateBlobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateBlobsResponse.Unmarshal(m, b) @@ -1810,7 +1810,7 @@ func (m *BatchUpdateBlobsResponse_Response) Reset() { *m = BatchUpdateBl func (m *BatchUpdateBlobsResponse_Response) String() string { return proto.CompactTextString(m) } func (*BatchUpdateBlobsResponse_Response) ProtoMessage() {} func (*BatchUpdateBlobsResponse_Response) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{21, 0} + return fileDescriptor_remote_execution_2379da344af471dd, []int{21, 0} } func (m *BatchUpdateBlobsResponse_Response) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdateBlobsResponse_Response.Unmarshal(m, b) @@ -1876,7 +1876,7 @@ func (m *GetTreeRequest) Reset() { *m = GetTreeRequest{} } func (m *GetTreeRequest) String() string { return proto.CompactTextString(m) } func (*GetTreeRequest) ProtoMessage() {} func (*GetTreeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{22} + return fileDescriptor_remote_execution_2379da344af471dd, []int{22} } func (m *GetTreeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTreeRequest.Unmarshal(m, b) @@ -1943,7 +1943,7 @@ func (m *GetTreeResponse) Reset() { *m = GetTreeResponse{} } func (m *GetTreeResponse) String() string { return proto.CompactTextString(m) } func (*GetTreeResponse) ProtoMessage() {} func (*GetTreeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{23} + return fileDescriptor_remote_execution_2379da344af471dd, []int{23} } func (m *GetTreeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTreeResponse.Unmarshal(m, b) @@ -1992,7 +1992,7 @@ func (m *ToolDetails) Reset() { *m = ToolDetails{} } func (m *ToolDetails) String() string { return proto.CompactTextString(m) } func (*ToolDetails) ProtoMessage() {} func (*ToolDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{24} + return fileDescriptor_remote_execution_2379da344af471dd, []int{24} } func (m *ToolDetails) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ToolDetails.Unmarshal(m, b) @@ -2054,7 +2054,7 @@ func (m *RequestMetadata) Reset() { *m = RequestMetadata{} } func (m *RequestMetadata) String() string { return proto.CompactTextString(m) } func (*RequestMetadata) ProtoMessage() {} func (*RequestMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_remote_execution_25e31fef95c58b43, []int{25} + return fileDescriptor_remote_execution_2379da344af471dd, []int{25} } func (m *RequestMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestMetadata.Unmarshal(m, b) @@ -2672,10 +2672,10 @@ var _ContentAddressableStorage_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/remoteexecution/v1test/remote_execution.proto", fileDescriptor_remote_execution_25e31fef95c58b43) + proto.RegisterFile("google/devtools/remoteexecution/v1test/remote_execution.proto", fileDescriptor_remote_execution_2379da344af471dd) } -var fileDescriptor_remote_execution_25e31fef95c58b43 = []byte{ +var fileDescriptor_remote_execution_2379da344af471dd = []byte{ // 2025 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xdd, 0x6f, 0x23, 0x57, 0x15, 0x67, 0xec, 0x24, 0xb6, 0x8f, 0x9d, 0x75, 0xf6, 0x76, 0xe9, 0x7a, 0xdd, 0x2e, 0x4a, 0xa7, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/bots.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/bots.pb.go index 5b7ca9eba..dc25a7632 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/bots.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/bots.pb.go @@ -65,17 +65,17 @@ var BotStatus_name = map[int32]string{ } var BotStatus_value = map[string]int32{ "BOT_STATUS_UNSPECIFIED": 0, - "OK": 1, - "UNHEALTHY": 2, - "HOST_REBOOTING": 3, - "BOT_TERMINATING": 4, + "OK": 1, + "UNHEALTHY": 2, + "HOST_REBOOTING": 3, + "BOT_TERMINATING": 4, } func (x BotStatus) String() string { return proto.EnumName(BotStatus_name, int32(x)) } func (BotStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{0} + return fileDescriptor_bots_a76feaae86db3e89, []int{0} } // The state of the lease. All leases start in the PENDING state. A bot can @@ -120,7 +120,7 @@ func (x LeaseState) String() string { return proto.EnumName(LeaseState_name, int32(x)) } func (LeaseState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{1} + return fileDescriptor_bots_a76feaae86db3e89, []int{1} } // Possible administration actions. @@ -162,7 +162,7 @@ func (x AdminTemp_Command) String() string { return proto.EnumName(AdminTemp_Command_name, int32(x)) } func (AdminTemp_Command) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{2, 0} + return fileDescriptor_bots_a76feaae86db3e89, []int{2, 0} } // Types of bot events. @@ -192,7 +192,7 @@ func (x PostBotEventTempRequest_Type) String() string { return proto.EnumName(PostBotEventTempRequest_Type_name, int32(x)) } func (PostBotEventTempRequest_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{5, 0} + return fileDescriptor_bots_a76feaae86db3e89, []int{5, 0} } // A bot session represents the state of a bot while in continuous contact with @@ -251,7 +251,7 @@ func (m *BotSession) Reset() { *m = BotSession{} } func (m *BotSession) String() string { return proto.CompactTextString(m) } func (*BotSession) ProtoMessage() {} func (*BotSession) Descriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{0} + return fileDescriptor_bots_a76feaae86db3e89, []int{0} } func (m *BotSession) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BotSession.Unmarshal(m, b) @@ -383,7 +383,7 @@ func (m *Lease) Reset() { *m = Lease{} } func (m *Lease) String() string { return proto.CompactTextString(m) } func (*Lease) ProtoMessage() {} func (*Lease) Descriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{1} + return fileDescriptor_bots_a76feaae86db3e89, []int{1} } func (m *Lease) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Lease.Unmarshal(m, b) @@ -494,7 +494,7 @@ func (m *AdminTemp) Reset() { *m = AdminTemp{} } func (m *AdminTemp) String() string { return proto.CompactTextString(m) } func (*AdminTemp) ProtoMessage() {} func (*AdminTemp) Descriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{2} + return fileDescriptor_bots_a76feaae86db3e89, []int{2} } func (m *AdminTemp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AdminTemp.Unmarshal(m, b) @@ -543,7 +543,7 @@ func (m *CreateBotSessionRequest) Reset() { *m = CreateBotSessionRequest func (m *CreateBotSessionRequest) String() string { return proto.CompactTextString(m) } func (*CreateBotSessionRequest) ProtoMessage() {} func (*CreateBotSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{3} + return fileDescriptor_bots_a76feaae86db3e89, []int{3} } func (m *CreateBotSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBotSessionRequest.Unmarshal(m, b) @@ -595,7 +595,7 @@ func (m *UpdateBotSessionRequest) Reset() { *m = UpdateBotSessionRequest func (m *UpdateBotSessionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateBotSessionRequest) ProtoMessage() {} func (*UpdateBotSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{4} + return fileDescriptor_bots_a76feaae86db3e89, []int{4} } func (m *UpdateBotSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateBotSessionRequest.Unmarshal(m, b) @@ -653,7 +653,7 @@ func (m *PostBotEventTempRequest) Reset() { *m = PostBotEventTempRequest func (m *PostBotEventTempRequest) String() string { return proto.CompactTextString(m) } func (*PostBotEventTempRequest) ProtoMessage() {} func (*PostBotEventTempRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bots_2b3c4d89e519cb0f, []int{5} + return fileDescriptor_bots_a76feaae86db3e89, []int{5} } func (m *PostBotEventTempRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostBotEventTempRequest.Unmarshal(m, b) @@ -866,10 +866,10 @@ var _Bots_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/bots.proto", fileDescriptor_bots_2b3c4d89e519cb0f) + proto.RegisterFile("google/devtools/remoteworkers/v1test2/bots.proto", fileDescriptor_bots_a76feaae86db3e89) } -var fileDescriptor_bots_2b3c4d89e519cb0f = []byte{ +var fileDescriptor_bots_a76feaae86db3e89 = []byte{ // 1075 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x8e, 0xdb, 0x44, 0x14, 0xc6, 0xce, 0x5f, 0x73, 0xd2, 0xa6, 0xee, 0x00, 0x5d, 0x93, 0x22, 0x11, 0x59, 0xaa, 0xb4, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/command.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/command.pb.go index 7e75186a5..d027d8c52 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/command.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/command.pb.go @@ -39,7 +39,7 @@ func (m *CommandTask) Reset() { *m = CommandTask{} } func (m *CommandTask) String() string { return proto.CompactTextString(m) } func (*CommandTask) ProtoMessage() {} func (*CommandTask) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{0} + return fileDescriptor_command_56eedbbbc833397d, []int{0} } func (m *CommandTask) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandTask.Unmarshal(m, b) @@ -114,7 +114,7 @@ func (m *CommandTask_Inputs) Reset() { *m = CommandTask_Inputs{} } func (m *CommandTask_Inputs) String() string { return proto.CompactTextString(m) } func (*CommandTask_Inputs) ProtoMessage() {} func (*CommandTask_Inputs) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{0, 0} + return fileDescriptor_command_56eedbbbc833397d, []int{0, 0} } func (m *CommandTask_Inputs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandTask_Inputs.Unmarshal(m, b) @@ -172,7 +172,7 @@ func (m *CommandTask_Inputs_EnvironmentVariable) Reset() { func (m *CommandTask_Inputs_EnvironmentVariable) String() string { return proto.CompactTextString(m) } func (*CommandTask_Inputs_EnvironmentVariable) ProtoMessage() {} func (*CommandTask_Inputs_EnvironmentVariable) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{0, 0, 0} + return fileDescriptor_command_56eedbbbc833397d, []int{0, 0, 0} } func (m *CommandTask_Inputs_EnvironmentVariable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable.Unmarshal(m, b) @@ -235,7 +235,7 @@ func (m *CommandTask_Outputs) Reset() { *m = CommandTask_Outputs{} } func (m *CommandTask_Outputs) String() string { return proto.CompactTextString(m) } func (*CommandTask_Outputs) ProtoMessage() {} func (*CommandTask_Outputs) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{0, 1} + return fileDescriptor_command_56eedbbbc833397d, []int{0, 1} } func (m *CommandTask_Outputs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandTask_Outputs.Unmarshal(m, b) @@ -310,7 +310,7 @@ func (m *CommandTask_Timeouts) Reset() { *m = CommandTask_Timeouts{} } func (m *CommandTask_Timeouts) String() string { return proto.CompactTextString(m) } func (*CommandTask_Timeouts) ProtoMessage() {} func (*CommandTask_Timeouts) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{0, 2} + return fileDescriptor_command_56eedbbbc833397d, []int{0, 2} } func (m *CommandTask_Timeouts) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandTask_Timeouts.Unmarshal(m, b) @@ -373,7 +373,7 @@ func (m *CommandOutputs) Reset() { *m = CommandOutputs{} } func (m *CommandOutputs) String() string { return proto.CompactTextString(m) } func (*CommandOutputs) ProtoMessage() {} func (*CommandOutputs) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{1} + return fileDescriptor_command_56eedbbbc833397d, []int{1} } func (m *CommandOutputs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandOutputs.Unmarshal(m, b) @@ -427,7 +427,7 @@ func (m *CommandOverhead) Reset() { *m = CommandOverhead{} } func (m *CommandOverhead) String() string { return proto.CompactTextString(m) } func (*CommandOverhead) ProtoMessage() {} func (*CommandOverhead) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{2} + return fileDescriptor_command_56eedbbbc833397d, []int{2} } func (m *CommandOverhead) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandOverhead.Unmarshal(m, b) @@ -499,7 +499,7 @@ func (m *CommandResult) Reset() { *m = CommandResult{} } func (m *CommandResult) String() string { return proto.CompactTextString(m) } func (*CommandResult) ProtoMessage() {} func (*CommandResult) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{3} + return fileDescriptor_command_56eedbbbc833397d, []int{3} } func (m *CommandResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandResult.Unmarshal(m, b) @@ -589,7 +589,7 @@ func (m *FileMetadata) Reset() { *m = FileMetadata{} } func (m *FileMetadata) String() string { return proto.CompactTextString(m) } func (*FileMetadata) ProtoMessage() {} func (*FileMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{4} + return fileDescriptor_command_56eedbbbc833397d, []int{4} } func (m *FileMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileMetadata.Unmarshal(m, b) @@ -654,7 +654,7 @@ func (m *DirectoryMetadata) Reset() { *m = DirectoryMetadata{} } func (m *DirectoryMetadata) String() string { return proto.CompactTextString(m) } func (*DirectoryMetadata) ProtoMessage() {} func (*DirectoryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{5} + return fileDescriptor_command_56eedbbbc833397d, []int{5} } func (m *DirectoryMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DirectoryMetadata.Unmarshal(m, b) @@ -715,7 +715,7 @@ func (m *Digest) Reset() { *m = Digest{} } func (m *Digest) String() string { return proto.CompactTextString(m) } func (*Digest) ProtoMessage() {} func (*Digest) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{6} + return fileDescriptor_command_56eedbbbc833397d, []int{6} } func (m *Digest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Digest.Unmarshal(m, b) @@ -765,7 +765,7 @@ func (m *Directory) Reset() { *m = Directory{} } func (m *Directory) String() string { return proto.CompactTextString(m) } func (*Directory) ProtoMessage() {} func (*Directory) Descriptor() ([]byte, []int) { - return fileDescriptor_command_0b1f53ec822d983a, []int{7} + return fileDescriptor_command_56eedbbbc833397d, []int{7} } func (m *Directory) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Directory.Unmarshal(m, b) @@ -815,10 +815,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/command.proto", fileDescriptor_command_0b1f53ec822d983a) + proto.RegisterFile("google/devtools/remoteworkers/v1test2/command.proto", fileDescriptor_command_56eedbbbc833397d) } -var fileDescriptor_command_0b1f53ec822d983a = []byte{ +var fileDescriptor_command_56eedbbbc833397d = []byte{ // 852 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x5d, 0x6f, 0x1b, 0x45, 0x14, 0xd5, 0xae, 0x3f, 0x62, 0x5f, 0xa7, 0x94, 0x0e, 0xa9, 0x70, 0xcd, 0x87, 0x22, 0xa3, 0x4a, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/tasks.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/tasks.pb.go index 714ed3ff1..ca014f957 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/tasks.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/tasks.pb.go @@ -59,7 +59,7 @@ func (m *Task) Reset() { *m = Task{} } func (m *Task) String() string { return proto.CompactTextString(m) } func (*Task) ProtoMessage() {} func (*Task) Descriptor() ([]byte, []int) { - return fileDescriptor_tasks_f37c4d7f0bc98ca8, []int{0} + return fileDescriptor_tasks_667ae2bf8892e2d4, []int{0} } func (m *Task) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Task.Unmarshal(m, b) @@ -133,7 +133,7 @@ func (m *TaskResult) Reset() { *m = TaskResult{} } func (m *TaskResult) String() string { return proto.CompactTextString(m) } func (*TaskResult) ProtoMessage() {} func (*TaskResult) Descriptor() ([]byte, []int) { - return fileDescriptor_tasks_f37c4d7f0bc98ca8, []int{1} + return fileDescriptor_tasks_667ae2bf8892e2d4, []int{1} } func (m *TaskResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskResult.Unmarshal(m, b) @@ -201,7 +201,7 @@ func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } func (*GetTaskRequest) ProtoMessage() {} func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_tasks_f37c4d7f0bc98ca8, []int{2} + return fileDescriptor_tasks_667ae2bf8892e2d4, []int{2} } func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTaskRequest.Unmarshal(m, b) @@ -249,7 +249,7 @@ func (m *UpdateTaskResultRequest) Reset() { *m = UpdateTaskResultRequest func (m *UpdateTaskResultRequest) String() string { return proto.CompactTextString(m) } func (*UpdateTaskResultRequest) ProtoMessage() {} func (*UpdateTaskResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_tasks_f37c4d7f0bc98ca8, []int{3} + return fileDescriptor_tasks_667ae2bf8892e2d4, []int{3} } func (m *UpdateTaskResultRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateTaskResultRequest.Unmarshal(m, b) @@ -312,7 +312,7 @@ func (m *AddTaskLogRequest) Reset() { *m = AddTaskLogRequest{} } func (m *AddTaskLogRequest) String() string { return proto.CompactTextString(m) } func (*AddTaskLogRequest) ProtoMessage() {} func (*AddTaskLogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_tasks_f37c4d7f0bc98ca8, []int{4} + return fileDescriptor_tasks_667ae2bf8892e2d4, []int{4} } func (m *AddTaskLogRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddTaskLogRequest.Unmarshal(m, b) @@ -359,7 +359,7 @@ func (m *AddTaskLogResponse) Reset() { *m = AddTaskLogResponse{} } func (m *AddTaskLogResponse) String() string { return proto.CompactTextString(m) } func (*AddTaskLogResponse) ProtoMessage() {} func (*AddTaskLogResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_tasks_f37c4d7f0bc98ca8, []int{5} + return fileDescriptor_tasks_667ae2bf8892e2d4, []int{5} } func (m *AddTaskLogResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddTaskLogResponse.Unmarshal(m, b) @@ -557,10 +557,10 @@ var _Tasks_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/tasks.proto", fileDescriptor_tasks_f37c4d7f0bc98ca8) + proto.RegisterFile("google/devtools/remoteworkers/v1test2/tasks.proto", fileDescriptor_tasks_667ae2bf8892e2d4) } -var fileDescriptor_tasks_f37c4d7f0bc98ca8 = []byte{ +var fileDescriptor_tasks_667ae2bf8892e2d4 = []byte{ // 682 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x6b, 0x13, 0x41, 0x14, 0x66, 0x92, 0x34, 0x36, 0x2f, 0x20, 0x75, 0xa8, 0x36, 0x2e, 0x3d, 0xc4, 0xc5, 0x4a, 0x4c, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/worker.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/worker.pb.go index e135fdefe..92b0a7bb3 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/worker.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/worker.pb.go @@ -91,7 +91,7 @@ func (m *Worker) Reset() { *m = Worker{} } func (m *Worker) String() string { return proto.CompactTextString(m) } func (*Worker) ProtoMessage() {} func (*Worker) Descriptor() ([]byte, []int) { - return fileDescriptor_worker_7212f5af86195620, []int{0} + return fileDescriptor_worker_52520c784d3d1f3d, []int{0} } func (m *Worker) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Worker.Unmarshal(m, b) @@ -156,7 +156,7 @@ func (m *Worker_Property) Reset() { *m = Worker_Property{} } func (m *Worker_Property) String() string { return proto.CompactTextString(m) } func (*Worker_Property) ProtoMessage() {} func (*Worker_Property) Descriptor() ([]byte, []int) { - return fileDescriptor_worker_7212f5af86195620, []int{0, 0} + return fileDescriptor_worker_52520c784d3d1f3d, []int{0, 0} } func (m *Worker_Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Worker_Property.Unmarshal(m, b) @@ -214,7 +214,7 @@ func (m *Worker_Config) Reset() { *m = Worker_Config{} } func (m *Worker_Config) String() string { return proto.CompactTextString(m) } func (*Worker_Config) ProtoMessage() {} func (*Worker_Config) Descriptor() ([]byte, []int) { - return fileDescriptor_worker_7212f5af86195620, []int{0, 1} + return fileDescriptor_worker_52520c784d3d1f3d, []int{0, 1} } func (m *Worker_Config) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Worker_Config.Unmarshal(m, b) @@ -281,7 +281,7 @@ func (m *Device) Reset() { *m = Device{} } func (m *Device) String() string { return proto.CompactTextString(m) } func (*Device) ProtoMessage() {} func (*Device) Descriptor() ([]byte, []int) { - return fileDescriptor_worker_7212f5af86195620, []int{1} + return fileDescriptor_worker_52520c784d3d1f3d, []int{1} } func (m *Device) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device.Unmarshal(m, b) @@ -340,7 +340,7 @@ func (m *Device_Property) Reset() { *m = Device_Property{} } func (m *Device_Property) String() string { return proto.CompactTextString(m) } func (*Device_Property) ProtoMessage() {} func (*Device_Property) Descriptor() ([]byte, []int) { - return fileDescriptor_worker_7212f5af86195620, []int{1, 0} + return fileDescriptor_worker_52520c784d3d1f3d, []int{1, 0} } func (m *Device_Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device_Property.Unmarshal(m, b) @@ -383,10 +383,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/worker.proto", fileDescriptor_worker_7212f5af86195620) + proto.RegisterFile("google/devtools/remoteworkers/v1test2/worker.proto", fileDescriptor_worker_52520c784d3d1f3d) } -var fileDescriptor_worker_7212f5af86195620 = []byte{ +var fileDescriptor_worker_52520c784d3d1f3d = []byte{ // 332 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xc1, 0x4a, 0xf3, 0x40, 0x10, 0xc7, 0x49, 0xca, 0x97, 0x7e, 0x8e, 0x17, 0x59, 0x45, 0x42, 0x4f, 0xa5, 0x50, 0xa8, 0x07, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/action.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/action.pb.go index b1419277f..e4475b671 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/action.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/action.pb.go @@ -54,7 +54,7 @@ func (x ExecutionStrategy) String() string { return proto.EnumName(ExecutionStrategy_name, int32(x)) } func (ExecutionStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{0} + return fileDescriptor_action_31062259a26160e9, []int{0} } // Most build systems cache build results to speed up incremental builds. @@ -90,7 +90,7 @@ func (x TestCaching) String() string { return proto.EnumName(TestCaching_name, int32(x)) } func (TestCaching) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{1} + return fileDescriptor_action_31062259a26160e9, []int{1} } // Errors in file post-processing are categorized using this enum. @@ -140,7 +140,7 @@ func (x FileProcessingErrorType) String() string { return proto.EnumName(FileProcessingErrorType_name, int32(x)) } func (FileProcessingErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{2} + return fileDescriptor_action_31062259a26160e9, []int{2} } // An action that happened as part of a configured target. This action could be @@ -211,9 +211,6 @@ type Action struct { // instrumented files and lines, without any lines being executed. This // ensures files that are never covered at all are included. Coverage *ActionCoverage `protobuf:"bytes,11,opt,name=coverage,proto3" json:"coverage,omitempty"` - // Summary of aggregate coverage across all files for this action in. The - // server populates this for you in the post-processing phase. - CoverageSummaries []*LanguageCoverageSummary `protobuf:"bytes,12,rep,name=coverage_summaries,json=coverageSummaries,proto3" json:"coverage_summaries,omitempty"` // ResultStore will read and parse Files with reserved IDs listed above. Read // and parse errors for all these Files are reported here. // This is implemented as a map, with one FileProcessingErrors for each file. @@ -229,7 +226,7 @@ func (m *Action) Reset() { *m = Action{} } func (m *Action) String() string { return proto.CompactTextString(m) } func (*Action) ProtoMessage() {} func (*Action) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{0} + return fileDescriptor_action_31062259a26160e9, []int{0} } func (m *Action) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Action.Unmarshal(m, b) @@ -249,27 +246,6 @@ func (m *Action) XXX_DiscardUnknown() { var xxx_messageInfo_Action proto.InternalMessageInfo -type isAction_ActionType interface { - isAction_ActionType() -} - -type Action_BuildAction struct { - BuildAction *BuildAction `protobuf:"bytes,9,opt,name=build_action,json=buildAction,proto3,oneof"` -} -type Action_TestAction struct { - TestAction *TestAction `protobuf:"bytes,10,opt,name=test_action,json=testAction,proto3,oneof"` -} - -func (*Action_BuildAction) isAction_ActionType() {} -func (*Action_TestAction) isAction_ActionType() {} - -func (m *Action) GetActionType() isAction_ActionType { - if m != nil { - return m.ActionType - } - return nil -} - func (m *Action) GetName() string { if m != nil { return m.Name @@ -298,6 +274,29 @@ func (m *Action) GetTiming() *Timing { return nil } +type isAction_ActionType interface { + isAction_ActionType() +} + +type Action_BuildAction struct { + BuildAction *BuildAction `protobuf:"bytes,9,opt,name=build_action,json=buildAction,proto3,oneof"` +} + +type Action_TestAction struct { + TestAction *TestAction `protobuf:"bytes,10,opt,name=test_action,json=testAction,proto3,oneof"` +} + +func (*Action_BuildAction) isAction_ActionType() {} + +func (*Action_TestAction) isAction_ActionType() {} + +func (m *Action) GetActionType() isAction_ActionType { + if m != nil { + return m.ActionType + } + return nil +} + func (m *Action) GetBuildAction() *BuildAction { if x, ok := m.GetActionType().(*Action_BuildAction); ok { return x.BuildAction @@ -347,13 +346,6 @@ func (m *Action) GetCoverage() *ActionCoverage { return nil } -func (m *Action) GetCoverageSummaries() []*LanguageCoverageSummary { - if m != nil { - return m.CoverageSummaries - } - return nil -} - func (m *Action) GetFileProcessingErrors() []*FileProcessingErrors { if m != nil { return m.FileProcessingErrors @@ -454,7 +446,7 @@ func (m *Action_Id) Reset() { *m = Action_Id{} } func (m *Action_Id) String() string { return proto.CompactTextString(m) } func (*Action_Id) ProtoMessage() {} func (*Action_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{0, 0} + return fileDescriptor_action_31062259a26160e9, []int{0, 0} } func (m *Action_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Action_Id.Unmarshal(m, b) @@ -525,7 +517,7 @@ func (m *BuildAction) Reset() { *m = BuildAction{} } func (m *BuildAction) String() string { return proto.CompactTextString(m) } func (*BuildAction) ProtoMessage() {} func (*BuildAction) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{1} + return fileDescriptor_action_31062259a26160e9, []int{1} } func (m *BuildAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildAction.Unmarshal(m, b) @@ -604,7 +596,7 @@ func (m *TestAction) Reset() { *m = TestAction{} } func (m *TestAction) String() string { return proto.CompactTextString(m) } func (*TestAction) ProtoMessage() {} func (*TestAction) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{2} + return fileDescriptor_action_31062259a26160e9, []int{2} } func (m *TestAction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestAction.Unmarshal(m, b) @@ -694,7 +686,7 @@ func (m *ActionAttributes) Reset() { *m = ActionAttributes{} } func (m *ActionAttributes) String() string { return proto.CompactTextString(m) } func (*ActionAttributes) ProtoMessage() {} func (*ActionAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{3} + return fileDescriptor_action_31062259a26160e9, []int{3} } func (m *ActionAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ActionAttributes.Unmarshal(m, b) @@ -764,7 +756,7 @@ func (m *InputFileInfo) Reset() { *m = InputFileInfo{} } func (m *InputFileInfo) String() string { return proto.CompactTextString(m) } func (*InputFileInfo) ProtoMessage() {} func (*InputFileInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{4} + return fileDescriptor_action_31062259a26160e9, []int{4} } func (m *InputFileInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InputFileInfo.Unmarshal(m, b) @@ -833,7 +825,7 @@ func (m *LocalTestTiming) Reset() { *m = LocalTestTiming{} } func (m *LocalTestTiming) String() string { return proto.CompactTextString(m) } func (*LocalTestTiming) ProtoMessage() {} func (*LocalTestTiming) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{5} + return fileDescriptor_action_31062259a26160e9, []int{5} } func (m *LocalTestTiming) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocalTestTiming.Unmarshal(m, b) @@ -890,7 +882,7 @@ func (m *RemoteTestAttemptTiming) Reset() { *m = RemoteTestAttemptTiming func (m *RemoteTestAttemptTiming) String() string { return proto.CompactTextString(m) } func (*RemoteTestAttemptTiming) ProtoMessage() {} func (*RemoteTestAttemptTiming) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{6} + return fileDescriptor_action_31062259a26160e9, []int{6} } func (m *RemoteTestAttemptTiming) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoteTestAttemptTiming.Unmarshal(m, b) @@ -961,7 +953,7 @@ func (m *RemoteTestTiming) Reset() { *m = RemoteTestTiming{} } func (m *RemoteTestTiming) String() string { return proto.CompactTextString(m) } func (*RemoteTestTiming) ProtoMessage() {} func (*RemoteTestTiming) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{7} + return fileDescriptor_action_31062259a26160e9, []int{7} } func (m *RemoteTestTiming) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoteTestTiming.Unmarshal(m, b) @@ -1026,7 +1018,7 @@ func (m *TestTiming) Reset() { *m = TestTiming{} } func (m *TestTiming) String() string { return proto.CompactTextString(m) } func (*TestTiming) ProtoMessage() {} func (*TestTiming) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{8} + return fileDescriptor_action_31062259a26160e9, []int{8} } func (m *TestTiming) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestTiming.Unmarshal(m, b) @@ -1053,11 +1045,13 @@ type isTestTiming_Location interface { type TestTiming_Local struct { Local *LocalTestTiming `protobuf:"bytes,1,opt,name=local,proto3,oneof"` } + type TestTiming_Remote struct { Remote *RemoteTestTiming `protobuf:"bytes,2,opt,name=remote,proto3,oneof"` } -func (*TestTiming_Local) isTestTiming_Location() {} +func (*TestTiming_Local) isTestTiming_Location() {} + func (*TestTiming_Remote) isTestTiming_Location() {} func (m *TestTiming) GetLocation() isTestTiming_Location { @@ -1189,7 +1183,7 @@ func (m *TestWarning) Reset() { *m = TestWarning{} } func (m *TestWarning) String() string { return proto.CompactTextString(m) } func (*TestWarning) ProtoMessage() {} func (*TestWarning) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{9} + return fileDescriptor_action_31062259a26160e9, []int{9} } func (m *TestWarning) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestWarning.Unmarshal(m, b) @@ -1231,7 +1225,7 @@ func (m *FileProcessingErrors) Reset() { *m = FileProcessingErrors{} } func (m *FileProcessingErrors) String() string { return proto.CompactTextString(m) } func (*FileProcessingErrors) ProtoMessage() {} func (*FileProcessingErrors) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{10} + return fileDescriptor_action_31062259a26160e9, []int{10} } func (m *FileProcessingErrors) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileProcessingErrors.Unmarshal(m, b) @@ -1280,7 +1274,7 @@ func (m *FileProcessingError) Reset() { *m = FileProcessingError{} } func (m *FileProcessingError) String() string { return proto.CompactTextString(m) } func (*FileProcessingError) ProtoMessage() {} func (*FileProcessingError) Descriptor() ([]byte, []int) { - return fileDescriptor_action_d83ec9d6d82ebb41, []int{11} + return fileDescriptor_action_31062259a26160e9, []int{11} } func (m *FileProcessingError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileProcessingError.Unmarshal(m, b) @@ -1334,113 +1328,111 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/action.proto", fileDescriptor_action_d83ec9d6d82ebb41) -} - -var fileDescriptor_action_d83ec9d6d82ebb41 = []byte{ - // 1658 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x5f, 0x6f, 0x23, 0x49, - 0x11, 0x5f, 0xdb, 0x49, 0xd6, 0x2e, 0xc7, 0xce, 0xb8, 0x93, 0xdd, 0xf5, 0x2d, 0x70, 0x2c, 0x06, - 0x8e, 0xdd, 0x2c, 0x67, 0x1f, 0x7b, 0x07, 0x08, 0x90, 0x10, 0x8e, 0xdd, 0x49, 0xe6, 0xd6, 0xb1, - 0x7d, 0xed, 0xc9, 0x71, 0x07, 0x42, 0x7d, 0x13, 0x4f, 0xc7, 0x69, 0xe4, 0x99, 0xf1, 0xcd, 0xf4, - 0xe4, 0xce, 0x12, 0x12, 0x2f, 0x48, 0x3c, 0x80, 0x78, 0xe1, 0x09, 0x89, 0x4f, 0xc2, 0x33, 0x5f, - 0x82, 0x6f, 0x83, 0xfa, 0xcf, 0xf8, 0x1f, 0x09, 0xe3, 0xdd, 0x37, 0x77, 0xd5, 0xef, 0xf7, 0xeb, - 0x9a, 0xea, 0xaa, 0xea, 0x96, 0xe1, 0xe5, 0x24, 0x0c, 0x27, 0x53, 0xd6, 0xf2, 0xd8, 0xad, 0x08, - 0xc3, 0x69, 0xdc, 0x8a, 0x58, 0x9c, 0x4c, 0x45, 0x2c, 0xc2, 0x88, 0xb5, 0x6e, 0x5f, 0xb5, 0xdc, - 0xb1, 0xe0, 0x61, 0xd0, 0x9c, 0x45, 0xa1, 0x08, 0xd1, 0xbb, 0x1a, 0xdc, 0x4c, 0xc1, 0xcd, 0x15, - 0x70, 0xf3, 0xf6, 0xd5, 0xd3, 0x2c, 0xb1, 0x71, 0xe8, 0xfb, 0xa9, 0xd8, 0xd3, 0xf7, 0x33, 0xc1, - 0xb7, 0x2c, 0x72, 0x27, 0x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 0x13, 0x16, 0xa8, 0x2e, 0x37, 0xff, 0x39, 0xb8, 0x33, 0x1e, - 0xdf, 0xf7, 0xbf, 0xc3, 0x2f, 0x56, 0x96, 0x57, 0x7b, 0x8a, 0xf5, 0xe1, 0x7f, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xef, 0xcf, 0x51, 0x38, 0xb7, 0x11, 0x00, 0x00, + proto.RegisterFile("google/devtools/resultstore/v2/action.proto", fileDescriptor_action_31062259a26160e9) +} + +var fileDescriptor_action_31062259a26160e9 = []byte{ + // 1620 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x5f, 0x73, 0x23, 0x47, + 0x11, 0x3f, 0x49, 0xb6, 0x4f, 0x6e, 0x9d, 0xe4, 0xf5, 0xd8, 0x77, 0xa7, 0x1c, 0x10, 0x0e, 0x01, + 0xe1, 0xce, 0x47, 0xa4, 0xe0, 0xa4, 0xa0, 0x80, 0x2a, 0x0a, 0x59, 0x1a, 0xdb, 0x9b, 0x93, 0x25, + 0x65, 0xb4, 0x0a, 0x09, 0x14, 0x35, 0x59, 0x6b, 0xc7, 0xf2, 0x50, 0xda, 0x5d, 0x65, 0x77, 0xd6, + 0x89, 0xaa, 0xa8, 0xe2, 0x85, 0x2a, 0x1e, 0xa0, 0x78, 0xe1, 0x95, 0x2f, 0xc1, 0x2b, 0xcf, 0x7c, + 0x09, 0xbe, 0x0d, 0x35, 0x7f, 0x76, 0x25, 0x0b, 0x3b, 0xab, 0xbb, 0x37, 0x4d, 0xf7, 0xef, 0xf7, + 0x9b, 0xde, 0x9e, 0xee, 0x99, 0x2e, 0xc1, 0xab, 0x69, 0x18, 0x4e, 0x67, 0xac, 0xe5, 0xb1, 0x1b, + 0x11, 0x86, 0xb3, 0xb8, 0x15, 0xb1, 0x38, 0x99, 0x89, 0x58, 0x84, 0x11, 0x6b, 0xdd, 0x1c, 0xb7, + 0xdc, 0x89, 0xe0, 0x61, 0xd0, 0x9c, 0x47, 0xa1, 0x08, 0xd1, 0xbb, 0x1a, 0xdc, 0x4c, 0xc1, 0xcd, + 0x15, 0x70, 0xf3, 0xe6, 0xf8, 0x59, 0x9e, 0xd8, 0x24, 0xf4, 0xfd, 0x54, 0xec, 0xd9, 0xfb, 0xb9, + 0xe0, 0x1b, 0x16, 0xb9, 0x53, 0x66, 0xe0, 0x2f, 0x73, 0xe0, 0x57, 0x7c, 0x96, 0x42, 0x5b, 0x39, + 0x50, 0xc1, 0x62, 0x41, 0xe3, 0x84, 0x8b, 0x94, 0x60, 0xbe, 0xab, 0xa5, 0x56, 0x97, 0xc9, 0x55, + 0xcb, 0x4b, 0x22, 0x77, 0xf9, 0xdd, 0x8d, 0x7f, 0x95, 0x61, 0xa7, 0xad, 0x12, 0x81, 0x10, 0x6c, + 0x05, 0xae, 0xcf, 0xea, 0x85, 0xe7, 0x85, 0x17, 0xbb, 0x44, 0xfd, 0x46, 0x3f, 0x87, 0x22, 0xf7, + 0xea, 0xc5, 0xe7, 0x85, 0x17, 0x95, 0xe3, 0x97, 0xcd, 0x6f, 0xce, 0x51, 0x53, 0xeb, 0x34, 0x6d, + 0x8f, 0x14, 0xb9, 0x87, 0x7e, 0x0f, 0xfb, 0xb1, 0x70, 0x45, 0x12, 0x53, 0x57, 0x88, 0x88, 0x5f, + 0x26, 0x82, 0xc5, 0xf5, 0x92, 0x52, 0xfa, 0x20, 0x4f, 0x69, 0xa4, 0x88, 0xed, 0x8c, 0x47, 0xac, + 0x78, 0xcd, 0x82, 0x7e, 0x05, 0x3b, 0x82, 0xfb, 0x3c, 0x98, 0xd6, 0xb7, 0x94, 0xe6, 0x7b, 0x79, + 0x9a, 0x8e, 0x42, 0x13, 0xc3, 0x42, 0x43, 0x78, 0x74, 0x99, 0xf0, 0x99, 0x47, 0x75, 0x19, 0xd4, + 0x77, 0x95, 0xca, 0xab, 0x3c, 0x95, 0x13, 0xc9, 0xd1, 0x1f, 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, 0x73, 0x1e, 0xdf, 0xf7, 0x7f, 0xc0, 0x2f, 0x57, + 0x96, 0x97, 0x3b, 0x8a, 0xf5, 0xe1, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x09, 0xc6, 0x5f, 0x39, + 0x18, 0x11, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/common.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/common.pb.go index a54da05e1..8673beac7 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/common.pb.go @@ -62,6 +62,10 @@ const ( Language_TS Language = 18 // Webtesting Language_WEB Language = 19 + // Scala + Language_SCALA Language = 20 + // Protocol Buffer + Language_PROTO Language = 21 ) var Language_name = map[int32]string{ @@ -84,6 +88,8 @@ var Language_name = map[int32]string{ 16: "SWIFT", 18: "TS", 19: "WEB", + 20: "SCALA", + 21: "PROTO", } var Language_value = map[string]int32{ "LANGUAGE_UNSPECIFIED": 0, @@ -105,13 +111,15 @@ var Language_value = map[string]int32{ "SWIFT": 16, "TS": 18, "WEB": 19, + "SCALA": 20, + "PROTO": 21, } func (x Language) String() string { return proto.EnumName(Language_name, int32(x)) } func (Language) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_47ffbc3d0eb889a6, []int{0} + return fileDescriptor_common_b6c8e099d7fa62e7, []int{0} } // Status of a resource. @@ -195,7 +203,7 @@ func (x Status) String() string { return proto.EnumName(Status_name, int32(x)) } func (Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_47ffbc3d0eb889a6, []int{1} + return fileDescriptor_common_b6c8e099d7fa62e7, []int{1} } // Describes the status of a resource in both enum and string form. @@ -215,7 +223,7 @@ func (m *StatusAttributes) Reset() { *m = StatusAttributes{} } func (m *StatusAttributes) String() string { return proto.CompactTextString(m) } func (*StatusAttributes) ProtoMessage() {} func (*StatusAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_common_47ffbc3d0eb889a6, []int{0} + return fileDescriptor_common_b6c8e099d7fa62e7, []int{0} } func (m *StatusAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StatusAttributes.Unmarshal(m, b) @@ -264,7 +272,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_common_47ffbc3d0eb889a6, []int{1} + return fileDescriptor_common_b6c8e099d7fa62e7, []int{1} } func (m *Property) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Property.Unmarshal(m, b) @@ -314,7 +322,7 @@ func (m *Timing) Reset() { *m = Timing{} } func (m *Timing) String() string { return proto.CompactTextString(m) } func (*Timing) ProtoMessage() {} func (*Timing) Descriptor() ([]byte, []int) { - return fileDescriptor_common_47ffbc3d0eb889a6, []int{2} + return fileDescriptor_common_b6c8e099d7fa62e7, []int{2} } func (m *Timing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Timing.Unmarshal(m, b) @@ -372,7 +380,7 @@ func (m *Dependency) Reset() { *m = Dependency{} } func (m *Dependency) String() string { return proto.CompactTextString(m) } func (*Dependency) ProtoMessage() {} func (*Dependency) Descriptor() ([]byte, []int) { - return fileDescriptor_common_47ffbc3d0eb889a6, []int{3} + return fileDescriptor_common_b6c8e099d7fa62e7, []int{3} } func (m *Dependency) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Dependency.Unmarshal(m, b) @@ -399,16 +407,20 @@ type isDependency_Resource interface { type Dependency_Target struct { Target string `protobuf:"bytes,1,opt,name=target,proto3,oneof"` } + type Dependency_ConfiguredTarget struct { ConfiguredTarget string `protobuf:"bytes,2,opt,name=configured_target,json=configuredTarget,proto3,oneof"` } + type Dependency_Action struct { Action string `protobuf:"bytes,3,opt,name=action,proto3,oneof"` } -func (*Dependency_Target) isDependency_Resource() {} +func (*Dependency_Target) isDependency_Resource() {} + func (*Dependency_ConfiguredTarget) isDependency_Resource() {} -func (*Dependency_Action) isDependency_Resource() {} + +func (*Dependency_Action) isDependency_Resource() {} func (m *Dependency) GetResource() isDependency_Resource { if m != nil { @@ -536,53 +548,53 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/common.proto", fileDescriptor_common_47ffbc3d0eb889a6) -} - -var fileDescriptor_common_47ffbc3d0eb889a6 = []byte{ - // 690 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcd, 0x8e, 0xe3, 0x44, - 0x10, 0xc7, 0xd7, 0xf9, 0x70, 0x9c, 0xca, 0x7c, 0x14, 0xbd, 0x2b, 0x14, 0xe6, 0x00, 0xa3, 0x1c, - 0xd0, 0x6a, 0x11, 0xb6, 0x14, 0xc4, 0x01, 0x21, 0x21, 0x39, 0xb6, 0x93, 0xf1, 0xc4, 0x6b, 0x5b, - 0xee, 0x0e, 0xd1, 0x72, 0x89, 0x9c, 0xa4, 0xd7, 0xb2, 0x48, 0xec, 0x60, 0xb7, 0x23, 0x0d, 0x6f, - 0xc1, 0x8b, 0x71, 0xe5, 0x75, 0x50, 0xdb, 0x0e, 0x8c, 0x06, 0x01, 0xa7, 0xee, 0x7f, 0xfd, 0x7f, - 0x55, 0x5d, 0xd5, 0x6a, 0x1b, 0xbe, 0x4a, 0xf2, 0x3c, 0x39, 0x70, 0x63, 0xcf, 0xcf, 0x22, 0xcf, - 0x0f, 0xa5, 0x51, 0xf0, 0xb2, 0x3a, 0x88, 0x52, 0xe4, 0x05, 0x37, 0xce, 0x53, 0x63, 0x97, 0x1f, - 0x8f, 0x79, 0xa6, 0x9f, 0x8a, 0x5c, 0xe4, 0xe4, 0xf3, 0x06, 0xd6, 0x2f, 0xb0, 0xfe, 0x0c, 0xd6, - 0xcf, 0xd3, 0xbb, 0xd6, 0x37, 0x6a, 0x7a, 0x5b, 0x7d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 0x99, 0xe1, 0xeb, 0x77, 0x7f, 0x28, 0xa0, 0x36, 0x2f, 0x89, 0x7c, - 0x0a, 0x84, 0x32, 0x93, 0xad, 0xe8, 0x8b, 0x61, 0xae, 0x40, 0x9b, 0xad, 0x5c, 0xcf, 0x76, 0xfd, - 0x05, 0x2a, 0xb2, 0x98, 0x54, 0x0c, 0x3b, 0xe4, 0x35, 0xdc, 0xce, 0x4d, 0xd7, 0x73, 0xec, 0x0d, - 0x0b, 0x36, 0x35, 0x82, 0x5d, 0xd9, 0x2f, 0x73, 0x28, 0x93, 0x70, 0x8f, 0x00, 0xa8, 0xa1, 0x49, - 0xa9, 0x63, 0x63, 0x5f, 0xee, 0x1b, 0x1a, 0x55, 0x72, 0x0d, 0x43, 0xe6, 0xbe, 0x77, 0xec, 0x4d, - 0xb0, 0x62, 0x38, 0x90, 0xd2, 0x32, 0x7d, 0xcb, 0xf1, 0xa4, 0xab, 0x91, 0x5b, 0x18, 0xb1, 0x20, - 0xf0, 0x36, 0x2d, 0x3e, 0x24, 0x37, 0x00, 0xae, 0x6f, 0x05, 0xef, 0x43, 0xcf, 0x61, 0x0e, 0x82, - 0xec, 0x61, 0xee, 0x99, 0xcb, 0x0f, 0x38, 0x92, 0xc7, 0xad, 0xfc, 0xa5, 0x1f, 0xac, 0x7d, 0xbc, - 0x92, 0x82, 0x2e, 0xdd, 0x30, 0x74, 0x6c, 0xbc, 0x9e, 0xfd, 0x02, 0x93, 0x5d, 0x7e, 0xfc, 0x9f, - 0xaf, 0x28, 0x54, 0x7e, 0x72, 0x5b, 0x22, 0xc9, 0x0f, 0x71, 0x96, 0xe8, 0x79, 0x91, 0x18, 0x09, - 0xcf, 0xea, 0x87, 0x69, 0x34, 0x56, 0x7c, 0x4a, 0xcb, 0x7f, 0xfb, 0x73, 0x7c, 0xff, 0x4c, 0x6e, - 0xd5, 0x3a, 0xeb, 0x9b, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xdb, 0xae, 0x2d, 0xfb, 0x6e, 0x04, - 0x00, 0x00, + proto.RegisterFile("google/devtools/resultstore/v2/common.proto", fileDescriptor_common_b6c8e099d7fa62e7) +} + +var fileDescriptor_common_b6c8e099d7fa62e7 = []byte{ + // 704 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xdf, 0x6e, 0xe3, 0x44, + 0x14, 0xc6, 0xd7, 0x49, 0xeb, 0x3a, 0x27, 0xfd, 0x73, 0x98, 0x2d, 0x28, 0xf4, 0x02, 0xaa, 0x5c, + 0xa0, 0xd5, 0x22, 0x6c, 0x29, 0x88, 0x0b, 0x84, 0x84, 0x34, 0xb1, 0xdd, 0xd4, 0xad, 0xd7, 0xb6, + 0x3c, 0x13, 0xa2, 0xe5, 0x26, 0x72, 0x92, 0x59, 0xcb, 0x22, 0xb1, 0x83, 0x3d, 0x8e, 0x54, 0xde, + 0x82, 0xa7, 0xe3, 0x05, 0x78, 0x10, 0x34, 0xb6, 0x03, 0x55, 0x11, 0xec, 0x95, 0xcf, 0x77, 0xbe, + 0xdf, 0x39, 0x73, 0xce, 0x68, 0x12, 0xf8, 0x3a, 0x2d, 0x8a, 0x74, 0x2b, 0xac, 0x8d, 0x38, 0xc8, + 0xa2, 0xd8, 0x56, 0x56, 0x29, 0xaa, 0x7a, 0x2b, 0x2b, 0x59, 0x94, 0xc2, 0x3a, 0x4c, 0xac, 0x75, + 0xb1, 0xdb, 0x15, 0xb9, 0xb9, 0x2f, 0x0b, 0x59, 0x90, 0x2f, 0x5a, 0xd8, 0x3c, 0xc2, 0xe6, 0x33, + 0xd8, 0x3c, 0x4c, 0x6e, 0x3a, 0xdf, 0x6a, 0xe8, 0x55, 0xfd, 0xc1, 0xda, 0xd4, 0x65, 0x22, 0xb3, + 0x63, 0xfd, 0xcd, 0x97, 0x2f, 0x7d, 0x99, 0xed, 0x44, 0x25, 0x93, 0xdd, 0xbe, 0x05, 0xc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84, 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configuration.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configuration.pb.go index 149cc541b..00f20e565 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configuration.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configuration.pb.go @@ -47,7 +47,7 @@ func (m *Configuration) Reset() { *m = Configuration{} } func (m *Configuration) String() string { return proto.CompactTextString(m) } func (*Configuration) ProtoMessage() {} func (*Configuration) Descriptor() ([]byte, []int) { - return fileDescriptor_configuration_4aca4ad29b870e00, []int{0} + return fileDescriptor_configuration_59cffa436ef80fe6, []int{0} } func (m *Configuration) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Configuration.Unmarshal(m, b) @@ -117,7 +117,7 @@ func (m *Configuration_Id) Reset() { *m = Configuration_Id{} } func (m *Configuration_Id) String() string { return proto.CompactTextString(m) } func (*Configuration_Id) ProtoMessage() {} func (*Configuration_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_configuration_4aca4ad29b870e00, []int{0, 0} + return fileDescriptor_configuration_59cffa436ef80fe6, []int{0, 0} } func (m *Configuration_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Configuration_Id.Unmarshal(m, b) @@ -164,7 +164,7 @@ func (m *ConfigurationAttributes) Reset() { *m = ConfigurationAttributes func (m *ConfigurationAttributes) String() string { return proto.CompactTextString(m) } func (*ConfigurationAttributes) ProtoMessage() {} func (*ConfigurationAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_configuration_4aca4ad29b870e00, []int{1} + return fileDescriptor_configuration_59cffa436ef80fe6, []int{1} } func (m *ConfigurationAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigurationAttributes.Unmarshal(m, b) @@ -198,10 +198,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/configuration.proto", fileDescriptor_configuration_4aca4ad29b870e00) + proto.RegisterFile("google/devtools/resultstore/v2/configuration.proto", fileDescriptor_configuration_59cffa436ef80fe6) } -var fileDescriptor_configuration_4aca4ad29b870e00 = []byte{ +var fileDescriptor_configuration_59cffa436ef80fe6 = []byte{ // 335 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x4f, 0xb3, 0x40, 0x10, 0xc6, 0x03, 0xbc, 0x6f, 0x93, 0x4e, 0x6d, 0xac, 0x7b, 0x29, 0xe9, 0xc1, 0x34, 0xf5, 0x82, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configured_target.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configured_target.pb.go index fbf18f2bc..3ecfbe15d 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configured_target.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configured_target.pb.go @@ -48,21 +48,17 @@ type ConfiguredTarget struct { // A list of file references for configured target level files. // The file IDs must be unique within this list. Duplicate file IDs will // result in an error. Files will be returned in lexicographical order by ID. - Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"` - // Summary of aggregate coverage across all test actions for this target in - // this configuration. The server populates this for you in the - // post-processing phase. - CoverageSummaries []*LanguageCoverageSummary `protobuf:"bytes,9,rep,name=coverage_summaries,json=coverageSummaries,proto3" json:"coverage_summaries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ConfiguredTarget) Reset() { *m = ConfiguredTarget{} } func (m *ConfiguredTarget) String() string { return proto.CompactTextString(m) } func (*ConfiguredTarget) ProtoMessage() {} func (*ConfiguredTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_configured_target_076f4fd568a29657, []int{0} + return fileDescriptor_configured_target_dc7d1ae233b30620, []int{0} } func (m *ConfiguredTarget) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfiguredTarget.Unmarshal(m, b) @@ -131,13 +127,6 @@ func (m *ConfiguredTarget) GetFiles() []*File { return nil } -func (m *ConfiguredTarget) GetCoverageSummaries() []*LanguageCoverageSummary { - if m != nil { - return m.CoverageSummaries - } - return nil -} - // The resource ID components that identify the ConfiguredTarget. type ConfiguredTarget_Id struct { // The Invocation ID. @@ -155,7 +144,7 @@ func (m *ConfiguredTarget_Id) Reset() { *m = ConfiguredTarget_Id{} } func (m *ConfiguredTarget_Id) String() string { return proto.CompactTextString(m) } func (*ConfiguredTarget_Id) ProtoMessage() {} func (*ConfiguredTarget_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_configured_target_076f4fd568a29657, []int{0, 0} + return fileDescriptor_configured_target_dc7d1ae233b30620, []int{0, 0} } func (m *ConfiguredTarget_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfiguredTarget_Id.Unmarshal(m, b) @@ -214,7 +203,7 @@ func (m *ConfiguredTestAttributes) Reset() { *m = ConfiguredTestAttribut func (m *ConfiguredTestAttributes) String() string { return proto.CompactTextString(m) } func (*ConfiguredTestAttributes) ProtoMessage() {} func (*ConfiguredTestAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_configured_target_076f4fd568a29657, []int{1} + return fileDescriptor_configured_target_dc7d1ae233b30620, []int{1} } func (m *ConfiguredTestAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfiguredTestAttributes.Unmarshal(m, b) @@ -262,43 +251,40 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/configured_target.proto", fileDescriptor_configured_target_076f4fd568a29657) + proto.RegisterFile("google/devtools/resultstore/v2/configured_target.proto", fileDescriptor_configured_target_dc7d1ae233b30620) } -var fileDescriptor_configured_target_076f4fd568a29657 = []byte{ - // 536 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x8a, 0x13, 0x31, - 0x14, 0xc6, 0x69, 0xbb, 0x5d, 0xb7, 0x59, 0xd7, 0xb6, 0xb9, 0x1a, 0x2b, 0x48, 0xa9, 0xb2, 0x74, - 0x15, 0x66, 0xa4, 0x8b, 0x7f, 0x50, 0x10, 0xb4, 0x8b, 0x38, 0xe0, 0xc5, 0x32, 0xdd, 0x2b, 0x41, - 0x86, 0xb4, 0x49, 0x63, 0x60, 0x26, 0xe9, 0x26, 0x27, 0x85, 0x7d, 0x2f, 0x9f, 0xc3, 0x67, 0x92, - 0x26, 0x99, 0xda, 0x16, 0xd6, 0xc1, 0xbb, 0xe6, 0xeb, 0xf7, 0xfd, 0x72, 0x92, 0x9c, 0x33, 0xe8, - 0x0d, 0x57, 0x8a, 0x17, 0x2c, 0xa1, 0x6c, 0x0d, 0x4a, 0x15, 0x26, 0xd1, 0xcc, 0xd8, 0x02, 0x0c, - 0x28, 0xcd, 0x92, 0xf5, 0x24, 0x59, 0x28, 0xb9, 0x14, 0xdc, 0x6a, 0x46, 0x73, 0x20, 0x9a, 0x33, - 0x88, 0x57, 0x5a, 0x81, 0xc2, 0x4f, 0x7d, 0x2e, 0xae, 0x72, 0xf1, 0x4e, 0x2e, 0x5e, 0x4f, 0x06, - 0x2f, 0x6b, 0xb9, 0x65, 0xa9, 0xa4, 0x87, 0x0d, 0x5e, 0xd7, 0x9a, 0xd7, 0x4c, 0x13, 0xce, 0x72, - 0x63, 0xcb, 0x92, 0xe8, 0xbb, 0x10, 0xbb, 0xa8, 0x89, 0x2d, 0x45, 0xc1, 0x82, 0x35, 0x94, 0x9b, - 0xb8, 0xd5, 0xdc, 0x2e, 0x13, 0x6a, 0x35, 0x01, 0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, 0x0a, 0x05, 0x00, 0x00, +var fileDescriptor_configured_target_dc7d1ae233b30620 = []byte{ + // 488 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xdf, 0x8a, 0x13, 0x31, + 0x14, 0xc6, 0xe9, 0x5f, 0xb7, 0x67, 0x5d, 0xdb, 0xcd, 0xd5, 0x58, 0x41, 0x4a, 0x95, 0xa5, 0xab, + 0x30, 0x23, 0x5d, 0x10, 0x51, 0x10, 0xb4, 0x8b, 0x38, 0x77, 0x4b, 0x76, 0xaf, 0x04, 0x19, 0xd2, + 0x26, 0x1d, 0x03, 0x33, 0x49, 0x37, 0x39, 0x29, 0xf8, 0x5e, 0x3e, 0x93, 0xcf, 0x21, 0x4d, 0x66, + 0x6a, 0x77, 0x61, 0x1d, 0xbc, 0x9b, 0x7c, 0xf3, 0x7d, 0xbf, 0x9c, 0xe4, 0x9c, 0xc0, 0xdb, 0x5c, + 0xeb, 0xbc, 0x10, 0x09, 0x17, 0x5b, 0xd4, 0xba, 0xb0, 0x89, 0x11, 0xd6, 0x15, 0x68, 0x51, 0x1b, + 0x91, 0x6c, 0xe7, 0xc9, 0x4a, 0xab, 0xb5, 0xcc, 0x9d, 0x11, 0x3c, 0x43, 0x66, 0x72, 0x81, 0xf1, + 0xc6, 0x68, 0xd4, 0xe4, 0x79, 0xc8, 0xc5, 0x75, 0x2e, 0x3e, 0xc8, 0xc5, 0xdb, 0xf9, 0xf8, 0x75, + 0x23, 0xb7, 0x2c, 0xb5, 0x0a, 0xb0, 0xf1, 0x79, 0x83, 0x79, 0x2d, 0x0b, 0x51, 0x59, 0xab, 0x7d, + 0x13, 0xbf, 0x5a, 0xba, 0x75, 0xc2, 0x9d, 0x61, 0x28, 0x6b, 0xd4, 0xf4, 0x77, 0x17, 0x46, 0x8b, + 0x7d, 0xcd, 0x37, 0xbe, 0x64, 0x42, 0xa0, 0xab, 0x58, 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xd2, 0xf1, 0x9e, 0xe1, 0x1d, 0x3d, 0xe5, 0xd3, 0x5f, 0x2d, 0x88, 0x1e, 0xba, 0x25, 0x72, 0x06, + 0x43, 0xd4, 0xc8, 0x8a, 0xcc, 0x38, 0x95, 0xad, 0xb4, 0x53, 0xe8, 0xb7, 0xea, 0xd1, 0x13, 0x2f, + 0x53, 0xa7, 0x16, 0x3b, 0x91, 0xbc, 0x82, 0xd3, 0xe0, 0xb3, 0x3f, 0x98, 0xe1, 0x95, 0xb3, 0xe3, + 0x9d, 0x01, 0x70, 0xbd, 0xd3, 0x83, 0xf7, 0x12, 0x46, 0x28, 0x4b, 0xa1, 0x1d, 0x66, 0xf5, 0xcc, + 0x47, 0x3d, 0xdf, 0xcd, 0xa7, 0xf5, 0x55, 0xd5, 0x8f, 0x22, 0xbe, 0xac, 0x0c, 0x74, 0x58, 0x45, + 0x6a, 0xe1, 0xf3, 0x2d, 0x4c, 0x57, 0xba, 0x6c, 0xb8, 0xdb, 0xab, 0xd6, 0xb7, 0xb4, 0x72, 0xe4, + 0xba, 0x60, 0x2a, 0x8f, 0xb5, 0xc9, 0x93, 0x5c, 0x28, 0xbf, 0x41, 0x12, 0x7e, 0xb1, 0x8d, 0xb4, + 0x0f, 0xbd, 0xd8, 0x0f, 0x07, 0xcb, 0x65, 0xdf, 0xa7, 0x2e, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, + 0xe2, 0xc4, 0xd5, 0x45, 0x6b, 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage.pb.go index f268209d0..b6a6886fe 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage.pb.go @@ -49,7 +49,7 @@ func (m *LineCoverage) Reset() { *m = LineCoverage{} } func (m *LineCoverage) String() string { return proto.CompactTextString(m) } func (*LineCoverage) ProtoMessage() {} func (*LineCoverage) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_0d431861e82a62cf, []int{0} + return fileDescriptor_coverage_e65089ff68acaa04, []int{0} } func (m *LineCoverage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LineCoverage.Unmarshal(m, b) @@ -123,7 +123,7 @@ func (m *BranchCoverage) Reset() { *m = BranchCoverage{} } func (m *BranchCoverage) String() string { return proto.CompactTextString(m) } func (*BranchCoverage) ProtoMessage() {} func (*BranchCoverage) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_0d431861e82a62cf, []int{1} + return fileDescriptor_coverage_e65089ff68acaa04, []int{1} } func (m *BranchCoverage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BranchCoverage.Unmarshal(m, b) @@ -188,7 +188,7 @@ func (m *FileCoverage) Reset() { *m = FileCoverage{} } func (m *FileCoverage) String() string { return proto.CompactTextString(m) } func (*FileCoverage) ProtoMessage() {} func (*FileCoverage) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_0d431861e82a62cf, []int{2} + return fileDescriptor_coverage_e65089ff68acaa04, []int{2} } func (m *FileCoverage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileCoverage.Unmarshal(m, b) @@ -243,7 +243,7 @@ func (m *ActionCoverage) Reset() { *m = ActionCoverage{} } func (m *ActionCoverage) String() string { return proto.CompactTextString(m) } func (*ActionCoverage) ProtoMessage() {} func (*ActionCoverage) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_0d431861e82a62cf, []int{3} + return fileDescriptor_coverage_e65089ff68acaa04, []int{3} } func (m *ActionCoverage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ActionCoverage.Unmarshal(m, b) @@ -278,10 +278,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/coverage.proto", fileDescriptor_coverage_0d431861e82a62cf) + proto.RegisterFile("google/devtools/resultstore/v2/coverage.proto", fileDescriptor_coverage_e65089ff68acaa04) } -var fileDescriptor_coverage_0d431861e82a62cf = []byte{ +var fileDescriptor_coverage_e65089ff68acaa04 = []byte{ // 372 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6b, 0xe3, 0x30, 0x10, 0xc5, 0xf9, 0x58, 0x76, 0x67, 0x6d, 0xef, 0xae, 0xd8, 0x83, 0xd9, 0xc3, 0x12, 0x0c, 0x81, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage_summary.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage_summary.pb.go index 5eb6e29d3..45b8a181c 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage_summary.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage_summary.pb.go @@ -33,7 +33,7 @@ func (m *LineCoverageSummary) Reset() { *m = LineCoverageSummary{} } func (m *LineCoverageSummary) String() string { return proto.CompactTextString(m) } func (*LineCoverageSummary) ProtoMessage() {} func (*LineCoverageSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_summary_c482cb7c4cc6b938, []int{0} + return fileDescriptor_coverage_summary_8697a0fedb5da971, []int{0} } func (m *LineCoverageSummary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LineCoverageSummary.Unmarshal(m, b) @@ -92,7 +92,7 @@ func (m *BranchCoverageSummary) Reset() { *m = BranchCoverageSummary{} } func (m *BranchCoverageSummary) String() string { return proto.CompactTextString(m) } func (*BranchCoverageSummary) ProtoMessage() {} func (*BranchCoverageSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_summary_c482cb7c4cc6b938, []int{1} + return fileDescriptor_coverage_summary_8697a0fedb5da971, []int{1} } func (m *BranchCoverageSummary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BranchCoverageSummary.Unmarshal(m, b) @@ -150,7 +150,7 @@ func (m *LanguageCoverageSummary) Reset() { *m = LanguageCoverageSummary func (m *LanguageCoverageSummary) String() string { return proto.CompactTextString(m) } func (*LanguageCoverageSummary) ProtoMessage() {} func (*LanguageCoverageSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_coverage_summary_c482cb7c4cc6b938, []int{2} + return fileDescriptor_coverage_summary_8697a0fedb5da971, []int{2} } func (m *LanguageCoverageSummary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LanguageCoverageSummary.Unmarshal(m, b) @@ -198,10 +198,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/coverage_summary.proto", fileDescriptor_coverage_summary_c482cb7c4cc6b938) + proto.RegisterFile("google/devtools/resultstore/v2/coverage_summary.proto", fileDescriptor_coverage_summary_8697a0fedb5da971) } -var fileDescriptor_coverage_summary_c482cb7c4cc6b938 = []byte{ +var fileDescriptor_coverage_summary_8697a0fedb5da971 = []byte{ // 358 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x4b, 0xeb, 0x40, 0x14, 0x85, 0x49, 0xcb, 0x7b, 0x3c, 0xa6, 0xef, 0x95, 0x67, 0x4a, 0xa9, 0xb8, 0x10, 0xc9, 0xaa, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file.pb.go index 17ac84150..2ad39ce6b 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file.pb.go @@ -19,6 +19,40 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +// If known, the hash function used to compute this digest. +type File_HashType int32 + +const ( + // Unknown + File_HASH_TYPE_UNSPECIFIED File_HashType = 0 + // MD5 + File_MD5 File_HashType = 1 + // SHA-1 + File_SHA1 File_HashType = 2 + // SHA-256 + File_SHA256 File_HashType = 3 +) + +var File_HashType_name = map[int32]string{ + 0: "HASH_TYPE_UNSPECIFIED", + 1: "MD5", + 2: "SHA1", + 3: "SHA256", +} +var File_HashType_value = map[string]int32{ + "HASH_TYPE_UNSPECIFIED": 0, + "MD5": 1, + "SHA1": 2, + "SHA256": 3, +} + +func (x File_HashType) String() string { + return proto.EnumName(File_HashType_name, int32(x)) +} +func (File_HashType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_file_32134ec9e351204a, []int{0, 0} +} + // The metadata for a file or an archive file entry. type File struct { // The identifier of the file or archive entry. @@ -55,17 +89,21 @@ type File struct { // contains. This description should help someone viewing the list of these // files to understand the purpose of this file and what they would want to // view it for. - Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` + // (Optional) digest of this file in hexadecimal-like string if known. + Digest string `protobuf:"bytes,9,opt,name=digest,proto3" json:"digest,omitempty"` + // (Optional) The algorithm corresponding to the digest if known. + HashType File_HashType `protobuf:"varint,10,opt,name=hash_type,json=hashType,proto3,enum=google.devtools.resultstore.v2.File_HashType" json:"hash_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *File) Reset() { *m = File{} } func (m *File) String() string { return proto.CompactTextString(m) } func (*File) ProtoMessage() {} func (*File) Descriptor() ([]byte, []int) { - return fileDescriptor_file_2d7ceba920c83983, []int{0} + return fileDescriptor_file_32134ec9e351204a, []int{0} } func (m *File) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_File.Unmarshal(m, b) @@ -141,6 +179,20 @@ func (m *File) GetDescription() string { return "" } +func (m *File) GetDigest() string { + if m != nil { + return m.Digest + } + return "" +} + +func (m *File) GetHashType() File_HashType { + if m != nil { + return m.HashType + } + return File_HASH_TYPE_UNSPECIFIED +} + // Information specific to an entry in an archive. type ArchiveEntry struct { // The relative path of the entry within the archive. @@ -161,7 +213,7 @@ func (m *ArchiveEntry) Reset() { *m = ArchiveEntry{} } func (m *ArchiveEntry) String() string { return proto.CompactTextString(m) } func (*ArchiveEntry) ProtoMessage() {} func (*ArchiveEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_file_2d7ceba920c83983, []int{1} + return fileDescriptor_file_32134ec9e351204a, []int{1} } func (m *ArchiveEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArchiveEntry.Unmarshal(m, b) @@ -205,34 +257,42 @@ func (m *ArchiveEntry) GetContentType() string { func init() { proto.RegisterType((*File)(nil), "google.devtools.resultstore.v2.File") proto.RegisterType((*ArchiveEntry)(nil), "google.devtools.resultstore.v2.ArchiveEntry") + proto.RegisterEnum("google.devtools.resultstore.v2.File_HashType", File_HashType_name, File_HashType_value) } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/file.proto", fileDescriptor_file_2d7ceba920c83983) -} - -var fileDescriptor_file_2d7ceba920c83983 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xdf, 0x4b, 0xeb, 0x30, - 0x14, 0xa6, 0xdb, 0x6e, 0xef, 0x6e, 0xb6, 0x5d, 0x24, 0x0f, 0x12, 0x14, 0xa4, 0x0e, 0x84, 0x09, - 0x92, 0xc0, 0x26, 0xbe, 0xf8, 0xa4, 0xa0, 0xb0, 0x37, 0x2d, 0xb2, 0x07, 0x5f, 0x46, 0xd7, 0x9e, - 0xb5, 0x81, 0x98, 0xc4, 0x34, 0xed, 0x98, 0x7f, 0x98, 0x7f, 0x9f, 0x2c, 0xcd, 0xa0, 0x20, 0x2a, - 0xf8, 0x76, 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78, 0x96, 0x81, 0x24, 0x7f, 0xa3, 0x60, - 0xd2, 0x8f, 0xfd, 0x86, 0x23, 0x34, 0xc8, 0xa0, 0x4c, 0x0d, 0xd7, 0x96, 0x2b, 0x49, 0xfa, 0xcd, - 0x37, 0xb7, 0xa0, 0xf1, 0x1b, 0x1a, 0xb6, 0xe3, 0x31, 0x46, 0x3d, 0x9d, 0xd8, 0xc2, 0x17, 0xe8, - 0xe6, 0x56, 0x5f, 0x9d, 0xdf, 0xf7, 0xd5, 0xfd, 0xd4, 0xd7, 0xed, 0x2b, 0x1a, 0xa7, 0xea, 0xe5, - 0x87, 0x76, 0x1e, 0x82, 0xe7, 0xb9, 0x67, 0xe4, 0x4a, 0x24, 0x32, 0xa7, 0xca, 0xe4, 0x2c, 0x07, - 0xe9, 0xc2, 0x59, 0x73, 0x4a, 0x34, 0x2f, 0xbf, 0x7a, 0x66, 0xd7, 0xad, 0x75, 0x15, 0x3a, 0xd5, - 0xec, 0x23, 0x00, 0x00, 0xff, 0xff, 0x65, 0xa9, 0x29, 0x4f, 0x9b, 0x02, 0x00, 0x00, + proto.RegisterFile("google/devtools/resultstore/v2/file.proto", fileDescriptor_file_32134ec9e351204a) +} + +var fileDescriptor_file_32134ec9e351204a = []byte{ + // 453 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x61, 0x8b, 0xd3, 0x40, + 0x10, 0x35, 0x4d, 0xed, 0xa5, 0xd3, 0xde, 0x11, 0x16, 0x94, 0xa8, 0x20, 0xb1, 0x20, 0x54, 0xd0, + 0x0d, 0xe6, 0xbc, 0xfb, 0xe2, 0xa7, 0x6a, 0x7b, 0xa4, 0x82, 0x52, 0xd3, 0xf3, 0x40, 0xbf, 0x94, + 0x5c, 0x33, 0x97, 0x2c, 0xc4, 0x6c, 0xdc, 0xdd, 0xe6, 0xa8, 0xbf, 0xd6, 0x9f, 0x22, 0xd9, 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0x31, 0xf9, 0xb7, 0x1f, 0xe2, + 0x6d, 0xa7, 0xbd, 0x1e, 0x68, 0xd5, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x08, 0xc7, 0x53, + 0x67, 0x45, 0x03, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_set.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_set.pb.go index 65adff00e..acf197fe1 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_set.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_set.pb.go @@ -41,7 +41,7 @@ func (m *FileSet) Reset() { *m = FileSet{} } func (m *FileSet) String() string { return proto.CompactTextString(m) } func (*FileSet) ProtoMessage() {} func (*FileSet) Descriptor() ([]byte, []int) { - return fileDescriptor_file_set_7e71c7510a3af0da, []int{0} + return fileDescriptor_file_set_70b528cf8ad8343a, []int{0} } func (m *FileSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileSet.Unmarshal(m, b) @@ -104,7 +104,7 @@ func (m *FileSet_Id) Reset() { *m = FileSet_Id{} } func (m *FileSet_Id) String() string { return proto.CompactTextString(m) } func (*FileSet_Id) ProtoMessage() {} func (*FileSet_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_file_set_7e71c7510a3af0da, []int{0, 0} + return fileDescriptor_file_set_70b528cf8ad8343a, []int{0, 0} } func (m *FileSet_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileSet_Id.Unmarshal(m, b) @@ -144,10 +144,10 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/file_set.proto", fileDescriptor_file_set_7e71c7510a3af0da) + proto.RegisterFile("google/devtools/resultstore/v2/file_set.proto", fileDescriptor_file_set_70b528cf8ad8343a) } -var fileDescriptor_file_set_7e71c7510a3af0da = []byte{ +var fileDescriptor_file_set_70b528cf8ad8343a = []byte{ // 271 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xbb, 0x4f, 0xc3, 0x30, 0x10, 0x87, 0x95, 0xa4, 0x3c, 0x72, 0x81, 0xc5, 0x53, 0x54, 0xa4, 0x2a, 0x2a, 0x0c, 0x01, 0x09, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/invocation.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/invocation.pb.go index caf183439..99ed37995 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/invocation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/invocation.pb.go @@ -57,7 +57,7 @@ func (m *Invocation) Reset() { *m = Invocation{} } func (m *Invocation) String() string { return proto.CompactTextString(m) } func (*Invocation) ProtoMessage() {} func (*Invocation) Descriptor() ([]byte, []int) { - return fileDescriptor_invocation_b6bc8ed548b71603, []int{0} + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{0} } func (m *Invocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Invocation.Unmarshal(m, b) @@ -153,7 +153,7 @@ func (m *Invocation_Id) Reset() { *m = Invocation_Id{} } func (m *Invocation_Id) String() string { return proto.CompactTextString(m) } func (*Invocation_Id) ProtoMessage() {} func (*Invocation_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_invocation_b6bc8ed548b71603, []int{0, 0} + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{0, 0} } func (m *Invocation_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Invocation_Id.Unmarshal(m, b) @@ -191,7 +191,7 @@ func (m *WorkspaceContext) Reset() { *m = WorkspaceContext{} } func (m *WorkspaceContext) String() string { return proto.CompactTextString(m) } func (*WorkspaceContext) ProtoMessage() {} func (*WorkspaceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_invocation_b6bc8ed548b71603, []int{1} + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{1} } func (m *WorkspaceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkspaceContext.Unmarshal(m, b) @@ -236,7 +236,7 @@ func (m *WorkspaceInfo) Reset() { *m = WorkspaceInfo{} } func (m *WorkspaceInfo) String() string { return proto.CompactTextString(m) } func (*WorkspaceInfo) ProtoMessage() {} func (*WorkspaceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_invocation_b6bc8ed548b71603, []int{2} + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{2} } func (m *WorkspaceInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkspaceInfo.Unmarshal(m, b) @@ -312,7 +312,7 @@ func (m *CommandLine) Reset() { *m = CommandLine{} } func (m *CommandLine) String() string { return proto.CompactTextString(m) } func (*CommandLine) ProtoMessage() {} func (*CommandLine) Descriptor() ([]byte, []int) { - return fileDescriptor_invocation_b6bc8ed548b71603, []int{3} + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{3} } func (m *CommandLine) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommandLine.Unmarshal(m, b) @@ -376,17 +376,25 @@ type InvocationAttributes struct { // Labels should match regex \w([- \w]*\w)? // Labels should not be used for unique properties such as unique IDs. // Use properties in cases that don't meet these conditions. - Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` + // This field describes the overall context or purpose of this invocation. + // It will be used in the UI to give users more information about + // how or why this invocation was run. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // If this Invocation was run in the context of a larger Continuous + // Integration build or other automated system, this field may contain more + // information about the greater context. + InvocationContexts []*InvocationContext `protobuf:"bytes,6,rep,name=invocation_contexts,json=invocationContexts,proto3" json:"invocation_contexts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *InvocationAttributes) Reset() { *m = InvocationAttributes{} } func (m *InvocationAttributes) String() string { return proto.CompactTextString(m) } func (*InvocationAttributes) ProtoMessage() {} func (*InvocationAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_invocation_b6bc8ed548b71603, []int{4} + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{4} } func (m *InvocationAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InvocationAttributes.Unmarshal(m, b) @@ -427,6 +435,69 @@ func (m *InvocationAttributes) GetLabels() []string { return nil } +func (m *InvocationAttributes) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *InvocationAttributes) GetInvocationContexts() []*InvocationContext { + if m != nil { + return m.InvocationContexts + } + return nil +} + +// Describes the invocation context which includes a display name and URL. +type InvocationContext struct { + // A human readable name for the context under which this Invocation was run. + DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // A URL pointing to a UI containing more information + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InvocationContext) Reset() { *m = InvocationContext{} } +func (m *InvocationContext) String() string { return proto.CompactTextString(m) } +func (*InvocationContext) ProtoMessage() {} +func (*InvocationContext) Descriptor() ([]byte, []int) { + return fileDescriptor_invocation_5354b4e4e5ac86ad, []int{5} +} +func (m *InvocationContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InvocationContext.Unmarshal(m, b) +} +func (m *InvocationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InvocationContext.Marshal(b, m, deterministic) +} +func (dst *InvocationContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_InvocationContext.Merge(dst, src) +} +func (m *InvocationContext) XXX_Size() int { + return xxx_messageInfo_InvocationContext.Size(m) +} +func (m *InvocationContext) XXX_DiscardUnknown() { + xxx_messageInfo_InvocationContext.DiscardUnknown(m) +} + +var xxx_messageInfo_InvocationContext proto.InternalMessageInfo + +func (m *InvocationContext) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *InvocationContext) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + func init() { proto.RegisterType((*Invocation)(nil), "google.devtools.resultstore.v2.Invocation") proto.RegisterType((*Invocation_Id)(nil), "google.devtools.resultstore.v2.Invocation.Id") @@ -434,52 +505,57 @@ func init() { proto.RegisterType((*WorkspaceInfo)(nil), "google.devtools.resultstore.v2.WorkspaceInfo") proto.RegisterType((*CommandLine)(nil), "google.devtools.resultstore.v2.CommandLine") proto.RegisterType((*InvocationAttributes)(nil), "google.devtools.resultstore.v2.InvocationAttributes") + proto.RegisterType((*InvocationContext)(nil), "google.devtools.resultstore.v2.InvocationContext") } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/invocation.proto", fileDescriptor_invocation_b6bc8ed548b71603) -} - -var fileDescriptor_invocation_b6bc8ed548b71603 = []byte{ - // 631 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0x71, 0x6b, 0x13, 0x3f, - 0x18, 0xc7, 0x69, 0xbb, 0x76, 0xeb, 0xb3, 0xf5, 0xc7, 0x16, 0xf6, 0x93, 0xb3, 0xa0, 0x8c, 0x2a, - 0xd2, 0x31, 0xbc, 0x93, 0xaa, 0x08, 0x8a, 0x82, 0x4e, 0xc4, 0x83, 0xfd, 0x31, 0xb2, 0x81, 0x20, - 0xc8, 0x91, 0xdd, 0xa5, 0x31, 0x7a, 0x97, 0xd4, 0x24, 0xd7, 0xb9, 0xf7, 0xe3, 0x8b, 0xf2, 0xe5, - 0x48, 0x72, 0x77, 0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 0xd5, 0xd3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xfa, - 0x5b, 0x4b, 0x30, 0x3d, 0x06, 0x00, 0x00, + proto.RegisterFile("google/devtools/resultstore/v2/invocation.proto", fileDescriptor_invocation_5354b4e4e5ac86ad) +} + +var fileDescriptor_invocation_5354b4e4e5ac86ad = []byte{ + // 697 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x71, 0x6b, 0x13, 0x31, + 0x14, 0xa7, 0xed, 0xda, 0xad, 0xaf, 0xab, 0x74, 0x71, 0xca, 0x59, 0x50, 0x6a, 0x15, 0xe9, 0x18, + 0x5e, 0xb5, 0x2a, 0x82, 0xa2, 0xa0, 0x13, 0x59, 0x61, 0xc8, 0xb8, 0x0d, 0x04, 0x41, 0x4a, 0x7a, + 0x97, 0xc6, 0xe8, 0x35, 0xa9, 0x49, 0xae, 0xb3, 0xdf, 0xc7, 0x0f, 0xe5, 0x57, 0xf0, 0x5b, 0x48, + 0x72, 0xb9, 0xf6, 0x56, 0xa7, 0xd7, 0xff, 0xf2, 0x7e, 0xf7, 0x7e, 0xbf, 0xbc, 0xbc, 0xfc, 0xf2, + 0x0e, 0xfa, 0x54, 0x08, 0x1a, 0x93, 0x7e, 0x44, 0xe6, 0x5a, 0x88, 0x58, 0xf5, 0x25, 0x51, 0x49, + 0xac, 0x95, 0x16, 0x92, 0xf4, 0xe7, 0x83, 0x3e, 0xe3, 0x73, 0x11, 0x62, 0xcd, 0x04, 0xf7, 0x67, + 0x52, 0x68, 0x81, 0xee, 0xa4, 0x04, 0x3f, 0x23, 0xf8, 0x39, 0x82, 0x3f, 0x1f, 0xb4, 0x0f, 0x0b, + 0x04, 0x43, 0x31, 0x9d, 0x66, 0x62, 0xed, 0x67, 0x85, 0xc9, 0x73, 0x22, 0x31, 0x25, 0x23, 0x95, + 0x4c, 0xa7, 0x58, 0x2e, 0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b, 0x45, 0x22, 0xef, 0x59, 0x4c, + 0x82, 0x94, 0x82, 0x26, 0x80, 0xd6, 0xcc, 0x68, 0xaa, 0xa9, 0x5b, 0xa1, 0xe7, 0x45, 0x42, 0x27, + 0x98, 0xd3, 0x04, 0x53, 0x72, 0xe4, 0x14, 0xce, 0x52, 0x37, 0x07, 0x7b, 0xe1, 0x25, 0x80, 0x11, + 0xd5, 0x3e, 0x80, 0xf2, 0x30, 0x42, 0xf7, 0xa0, 0x99, 0xbb, 0x34, 0x16, 0x39, 0xbf, 0xee, 0xae, + 0xc0, 0x61, 0xd4, 0x45, 0xd0, 0x5a, 0x36, 0xee, 0x48, 0x70, 0x4d, 0x7e, 0xe8, 0xee, 0xcf, 0x32, + 0x34, 0x2f, 0x75, 0xd3, 0xd8, 0x73, 0x75, 0x29, 0x61, 0x9a, 0x66, 0xe5, 0x36, 0xb0, 0xe7, 0xba, + 0x7c, 0xd0, 0xba, 0x58, 0x43, 0x50, 0x1b, 0x76, 0xbe, 0x08, 0xa5, 0xed, 0xa3, 0xaa, 0xd8, 0x22, + 0x97, 0x31, 0x3a, 0x4c, 0xb7, 0x66, 0x9c, 0x8e, 0x22, 0x26, 0x49, 0xa8, 0x85, 0x5c, 0x58, 0x17, + 0xd7, 0x53, 0x21, 0xc6, 0xe9, 0xbb, 0x0c, 0x47, 0xb7, 0x60, 0xc7, 0xd4, 0x30, 0xd2, 0x98, 0x5a, + 0x6b, 0xd6, 0x83, 0x6d, 0x13, 0x9f, 0x63, 0x8a, 0x4e, 0xa1, 0x69, 0xa6, 0x06, 0xe6, 0xd1, 0x28, + 0x66, 0x7c, 0x69, 0x82, 0xc3, 0xa2, 0xf2, 0x8f, 0x52, 0xd2, 0x09, 0xe3, 0x24, 0xd8, 0x0d, 0x57, + 0x81, 0xea, 0x12, 0x68, 0xe4, 0x3e, 0xa2, 0x7d, 0xa8, 0xc6, 0x78, 0x4c, 0x62, 0xd7, 0xe6, 0x34, + 0x30, 0xb3, 0xc2, 0xc8, 0xda, 0xc9, 0x50, 0x0f, 0xec, 0xda, 0x60, 0x58, 0x52, 0xf3, 0xbe, 0x2b, + 0x06, 0x33, 0x6b, 0xe4, 0xc1, 0xb6, 0x13, 0x77, 0x87, 0xcb, 0xc2, 0xee, 0xef, 0x12, 0xec, 0x5f, + 0xf5, 0x7e, 0xd0, 0x6d, 0xeb, 0xe9, 0xaf, 0x24, 0xd4, 0xab, 0xcb, 0xad, 0x3b, 0x64, 0x18, 0x99, + 0x7a, 0x12, 0x45, 0xa4, 0xf2, 0xca, 0x76, 0x9b, 0x34, 0x40, 0x37, 0xa1, 0x66, 0x0b, 0xcb, 0x76, + 0x77, 0x11, 0xea, 0x40, 0x23, 0x22, 0x2a, 0x94, 0x6c, 0x66, 0x76, 0x71, 0x35, 0xe4, 0x21, 0x34, + 0x86, 0xeb, 0x39, 0x3b, 0x39, 0x13, 0x28, 0xaf, 0x66, 0xdb, 0xf8, 0x78, 0xf3, 0x09, 0x90, 0xd9, + 0x00, 0xb1, 0x75, 0x48, 0x75, 0x8f, 0x61, 0xef, 0xaf, 0x44, 0x74, 0x17, 0x76, 0x23, 0xa6, 0x66, + 0x31, 0x5e, 0x8c, 0x72, 0x63, 0xb7, 0xe1, 0xb0, 0x0f, 0xc6, 0x24, 0x2d, 0xa8, 0x24, 0x32, 0x6b, + 0xb2, 0x59, 0xbe, 0xfd, 0x0e, 0xdd, 0x50, 0x4c, 0x0b, 0xaa, 0x3a, 0x2d, 0x7d, 0x1a, 0xba, 0x0c, + 0x2a, 0x62, 0xcc, 0xa9, 0x2f, 0x24, 0xed, 0x53, 0xc2, 0xed, 0xd8, 0x77, 0x7f, 0x35, 0x3c, 0x63, + 0xea, 0x5f, 0x3f, 0x89, 0x97, 0xb9, 0x70, 0x5c, 0xb3, 0xac, 0x27, 0x7f, 0x02, 0x00, 0x00, 0xff, + 0xff, 0xf0, 0x9c, 0x60, 0x5f, 0x0e, 0x07, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_download.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_download.pb.go index dc105e3a7..9b8f6b6b8 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_download.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_download.pb.go @@ -39,7 +39,7 @@ func (m *GetInvocationRequest) Reset() { *m = GetInvocationRequest{} } func (m *GetInvocationRequest) String() string { return proto.CompactTextString(m) } func (*GetInvocationRequest) ProtoMessage() {} func (*GetInvocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{0} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{0} } func (m *GetInvocationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInvocationRequest.Unmarshal(m, b) @@ -90,7 +90,7 @@ func (m *SearchInvocationsRequest) Reset() { *m = SearchInvocationsReque func (m *SearchInvocationsRequest) String() string { return proto.CompactTextString(m) } func (*SearchInvocationsRequest) ProtoMessage() {} func (*SearchInvocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{1} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{1} } func (m *SearchInvocationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchInvocationsRequest.Unmarshal(m, b) @@ -110,6 +110,13 @@ func (m *SearchInvocationsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SearchInvocationsRequest proto.InternalMessageInfo +func (m *SearchInvocationsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + type isSearchInvocationsRequest_PageStart interface { isSearchInvocationsRequest_PageStart() } @@ -117,12 +124,14 @@ type isSearchInvocationsRequest_PageStart interface { type SearchInvocationsRequest_PageToken struct { PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof"` } + type SearchInvocationsRequest_Offset struct { Offset int64 `protobuf:"varint,3,opt,name=offset,proto3,oneof"` } func (*SearchInvocationsRequest_PageToken) isSearchInvocationsRequest_PageStart() {} -func (*SearchInvocationsRequest_Offset) isSearchInvocationsRequest_PageStart() {} + +func (*SearchInvocationsRequest_Offset) isSearchInvocationsRequest_PageStart() {} func (m *SearchInvocationsRequest) GetPageStart() isSearchInvocationsRequest_PageStart { if m != nil { @@ -131,13 +140,6 @@ func (m *SearchInvocationsRequest) GetPageStart() isSearchInvocationsRequest_Pag return nil } -func (m *SearchInvocationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - func (m *SearchInvocationsRequest) GetPageToken() string { if x, ok := m.GetPageStart().(*SearchInvocationsRequest_PageToken); ok { return x.PageToken @@ -248,7 +250,7 @@ func (m *SearchInvocationsResponse) Reset() { *m = SearchInvocationsResp func (m *SearchInvocationsResponse) String() string { return proto.CompactTextString(m) } func (*SearchInvocationsResponse) ProtoMessage() {} func (*SearchInvocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{2} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{2} } func (m *SearchInvocationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchInvocationsResponse.Unmarshal(m, b) @@ -296,7 +298,7 @@ func (m *GetConfigurationRequest) Reset() { *m = GetConfigurationRequest func (m *GetConfigurationRequest) String() string { return proto.CompactTextString(m) } func (*GetConfigurationRequest) ProtoMessage() {} func (*GetConfigurationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{3} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{3} } func (m *GetConfigurationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetConfigurationRequest.Unmarshal(m, b) @@ -346,7 +348,7 @@ func (m *ListConfigurationsRequest) Reset() { *m = ListConfigurationsReq func (m *ListConfigurationsRequest) String() string { return proto.CompactTextString(m) } func (*ListConfigurationsRequest) ProtoMessage() {} func (*ListConfigurationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{4} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{4} } func (m *ListConfigurationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListConfigurationsRequest.Unmarshal(m, b) @@ -366,6 +368,20 @@ func (m *ListConfigurationsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListConfigurationsRequest proto.InternalMessageInfo +func (m *ListConfigurationsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListConfigurationsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + type isListConfigurationsRequest_PageStart interface { isListConfigurationsRequest_PageStart() } @@ -373,12 +389,14 @@ type isListConfigurationsRequest_PageStart interface { type ListConfigurationsRequest_PageToken struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"` } + type ListConfigurationsRequest_Offset struct { Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"` } func (*ListConfigurationsRequest_PageToken) isListConfigurationsRequest_PageStart() {} -func (*ListConfigurationsRequest_Offset) isListConfigurationsRequest_PageStart() {} + +func (*ListConfigurationsRequest_Offset) isListConfigurationsRequest_PageStart() {} func (m *ListConfigurationsRequest) GetPageStart() isListConfigurationsRequest_PageStart { if m != nil { @@ -387,20 +405,6 @@ func (m *ListConfigurationsRequest) GetPageStart() isListConfigurationsRequest_P return nil } -func (m *ListConfigurationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListConfigurationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - func (m *ListConfigurationsRequest) GetPageToken() string { if x, ok := m.GetPageStart().(*ListConfigurationsRequest_PageToken); ok { return x.PageToken @@ -497,7 +501,7 @@ func (m *ListConfigurationsResponse) Reset() { *m = ListConfigurationsRe func (m *ListConfigurationsResponse) String() string { return proto.CompactTextString(m) } func (*ListConfigurationsResponse) ProtoMessage() {} func (*ListConfigurationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{5} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{5} } func (m *ListConfigurationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListConfigurationsResponse.Unmarshal(m, b) @@ -545,7 +549,7 @@ func (m *GetTargetRequest) Reset() { *m = GetTargetRequest{} } func (m *GetTargetRequest) String() string { return proto.CompactTextString(m) } func (*GetTargetRequest) ProtoMessage() {} func (*GetTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{6} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{6} } func (m *GetTargetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTargetRequest.Unmarshal(m, b) @@ -595,7 +599,7 @@ func (m *ListTargetsRequest) Reset() { *m = ListTargetsRequest{} } func (m *ListTargetsRequest) String() string { return proto.CompactTextString(m) } func (*ListTargetsRequest) ProtoMessage() {} func (*ListTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{7} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{7} } func (m *ListTargetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTargetsRequest.Unmarshal(m, b) @@ -615,6 +619,20 @@ func (m *ListTargetsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListTargetsRequest proto.InternalMessageInfo +func (m *ListTargetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListTargetsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + type isListTargetsRequest_PageStart interface { isListTargetsRequest_PageStart() } @@ -622,12 +640,14 @@ type isListTargetsRequest_PageStart interface { type ListTargetsRequest_PageToken struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"` } + type ListTargetsRequest_Offset struct { Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"` } func (*ListTargetsRequest_PageToken) isListTargetsRequest_PageStart() {} -func (*ListTargetsRequest_Offset) isListTargetsRequest_PageStart() {} + +func (*ListTargetsRequest_Offset) isListTargetsRequest_PageStart() {} func (m *ListTargetsRequest) GetPageStart() isListTargetsRequest_PageStart { if m != nil { @@ -636,20 +656,6 @@ func (m *ListTargetsRequest) GetPageStart() isListTargetsRequest_PageStart { return nil } -func (m *ListTargetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTargetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - func (m *ListTargetsRequest) GetPageToken() string { if x, ok := m.GetPageStart().(*ListTargetsRequest_PageToken); ok { return x.PageToken @@ -746,7 +752,7 @@ func (m *ListTargetsResponse) Reset() { *m = ListTargetsResponse{} } func (m *ListTargetsResponse) String() string { return proto.CompactTextString(m) } func (*ListTargetsResponse) ProtoMessage() {} func (*ListTargetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{8} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{8} } func (m *ListTargetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTargetsResponse.Unmarshal(m, b) @@ -794,7 +800,7 @@ func (m *GetConfiguredTargetRequest) Reset() { *m = GetConfiguredTargetR func (m *GetConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } func (*GetConfiguredTargetRequest) ProtoMessage() {} func (*GetConfiguredTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{9} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{9} } func (m *GetConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetConfiguredTargetRequest.Unmarshal(m, b) @@ -845,7 +851,7 @@ func (m *ListConfiguredTargetsRequest) Reset() { *m = ListConfiguredTarg func (m *ListConfiguredTargetsRequest) String() string { return proto.CompactTextString(m) } func (*ListConfiguredTargetsRequest) ProtoMessage() {} func (*ListConfiguredTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{10} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{10} } func (m *ListConfiguredTargetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListConfiguredTargetsRequest.Unmarshal(m, b) @@ -865,6 +871,20 @@ func (m *ListConfiguredTargetsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListConfiguredTargetsRequest proto.InternalMessageInfo +func (m *ListConfiguredTargetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListConfiguredTargetsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + type isListConfiguredTargetsRequest_PageStart interface { isListConfiguredTargetsRequest_PageStart() } @@ -872,12 +892,14 @@ type isListConfiguredTargetsRequest_PageStart interface { type ListConfiguredTargetsRequest_PageToken struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"` } + type ListConfiguredTargetsRequest_Offset struct { Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"` } func (*ListConfiguredTargetsRequest_PageToken) isListConfiguredTargetsRequest_PageStart() {} -func (*ListConfiguredTargetsRequest_Offset) isListConfiguredTargetsRequest_PageStart() {} + +func (*ListConfiguredTargetsRequest_Offset) isListConfiguredTargetsRequest_PageStart() {} func (m *ListConfiguredTargetsRequest) GetPageStart() isListConfiguredTargetsRequest_PageStart { if m != nil { @@ -886,20 +908,6 @@ func (m *ListConfiguredTargetsRequest) GetPageStart() isListConfiguredTargetsReq return nil } -func (m *ListConfiguredTargetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListConfiguredTargetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - func (m *ListConfiguredTargetsRequest) GetPageToken() string { if x, ok := m.GetPageStart().(*ListConfiguredTargetsRequest_PageToken); ok { return x.PageToken @@ -996,7 +1004,7 @@ func (m *ListConfiguredTargetsResponse) Reset() { *m = ListConfiguredTar func (m *ListConfiguredTargetsResponse) String() string { return proto.CompactTextString(m) } func (*ListConfiguredTargetsResponse) ProtoMessage() {} func (*ListConfiguredTargetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{11} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{11} } func (m *ListConfiguredTargetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListConfiguredTargetsResponse.Unmarshal(m, b) @@ -1044,7 +1052,7 @@ func (m *GetActionRequest) Reset() { *m = GetActionRequest{} } func (m *GetActionRequest) String() string { return proto.CompactTextString(m) } func (*GetActionRequest) ProtoMessage() {} func (*GetActionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{12} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{12} } func (m *GetActionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetActionRequest.Unmarshal(m, b) @@ -1095,7 +1103,7 @@ func (m *ListActionsRequest) Reset() { *m = ListActionsRequest{} } func (m *ListActionsRequest) String() string { return proto.CompactTextString(m) } func (*ListActionsRequest) ProtoMessage() {} func (*ListActionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{13} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{13} } func (m *ListActionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListActionsRequest.Unmarshal(m, b) @@ -1115,6 +1123,20 @@ func (m *ListActionsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListActionsRequest proto.InternalMessageInfo +func (m *ListActionsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListActionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + type isListActionsRequest_PageStart interface { isListActionsRequest_PageStart() } @@ -1122,12 +1144,14 @@ type isListActionsRequest_PageStart interface { type ListActionsRequest_PageToken struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"` } + type ListActionsRequest_Offset struct { Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"` } func (*ListActionsRequest_PageToken) isListActionsRequest_PageStart() {} -func (*ListActionsRequest_Offset) isListActionsRequest_PageStart() {} + +func (*ListActionsRequest_Offset) isListActionsRequest_PageStart() {} func (m *ListActionsRequest) GetPageStart() isListActionsRequest_PageStart { if m != nil { @@ -1136,20 +1160,6 @@ func (m *ListActionsRequest) GetPageStart() isListActionsRequest_PageStart { return nil } -func (m *ListActionsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListActionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - func (m *ListActionsRequest) GetPageToken() string { if x, ok := m.GetPageStart().(*ListActionsRequest_PageToken); ok { return x.PageToken @@ -1246,7 +1256,7 @@ func (m *ListActionsResponse) Reset() { *m = ListActionsResponse{} } func (m *ListActionsResponse) String() string { return proto.CompactTextString(m) } func (*ListActionsResponse) ProtoMessage() {} func (*ListActionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{14} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{14} } func (m *ListActionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListActionsResponse.Unmarshal(m, b) @@ -1294,7 +1304,7 @@ func (m *GetFileSetRequest) Reset() { *m = GetFileSetRequest{} } func (m *GetFileSetRequest) String() string { return proto.CompactTextString(m) } func (*GetFileSetRequest) ProtoMessage() {} func (*GetFileSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{15} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{15} } func (m *GetFileSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFileSetRequest.Unmarshal(m, b) @@ -1344,7 +1354,7 @@ func (m *ListFileSetsRequest) Reset() { *m = ListFileSetsRequest{} } func (m *ListFileSetsRequest) String() string { return proto.CompactTextString(m) } func (*ListFileSetsRequest) ProtoMessage() {} func (*ListFileSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{16} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{16} } func (m *ListFileSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFileSetsRequest.Unmarshal(m, b) @@ -1364,6 +1374,20 @@ func (m *ListFileSetsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListFileSetsRequest proto.InternalMessageInfo +func (m *ListFileSetsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListFileSetsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + type isListFileSetsRequest_PageStart interface { isListFileSetsRequest_PageStart() } @@ -1371,12 +1395,14 @@ type isListFileSetsRequest_PageStart interface { type ListFileSetsRequest_PageToken struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"` } + type ListFileSetsRequest_Offset struct { Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"` } func (*ListFileSetsRequest_PageToken) isListFileSetsRequest_PageStart() {} -func (*ListFileSetsRequest_Offset) isListFileSetsRequest_PageStart() {} + +func (*ListFileSetsRequest_Offset) isListFileSetsRequest_PageStart() {} func (m *ListFileSetsRequest) GetPageStart() isListFileSetsRequest_PageStart { if m != nil { @@ -1385,20 +1411,6 @@ func (m *ListFileSetsRequest) GetPageStart() isListFileSetsRequest_PageStart { return nil } -func (m *ListFileSetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListFileSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - func (m *ListFileSetsRequest) GetPageToken() string { if x, ok := m.GetPageStart().(*ListFileSetsRequest_PageToken); ok { return x.PageToken @@ -1495,7 +1507,7 @@ func (m *ListFileSetsResponse) Reset() { *m = ListFileSetsResponse{} } func (m *ListFileSetsResponse) String() string { return proto.CompactTextString(m) } func (*ListFileSetsResponse) ProtoMessage() {} func (*ListFileSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_download_7c774ab49c606fb1, []int{17} + return fileDescriptor_resultstore_download_b0d8e6d616eef8f3, []int{17} } func (m *ListFileSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFileSetsResponse.Unmarshal(m, b) @@ -1567,18 +1579,21 @@ type ResultStoreDownloadClient interface { // An error will be reported in the following cases: // - If the invocation is not found. // - If the given invocation name is badly formatted. + // - If no field mask was given. GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) // Searches for invocations matching the given query parameters. // // // An error will be reported in the following cases: // - If a query string is not provided + // - If no field mask was given. SearchInvocations(ctx context.Context, in *SearchInvocationsRequest, opts ...grpc.CallOption) (*SearchInvocationsResponse, error) // Retrieves the configuration with the given name. // // An error will be reported in the following cases: // - If the configuration or its parent invocation is not found. // - If the given configuration name is badly formatted. + // - If no field mask was given. GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) // Retrieves all configurations for a parent invocation. // This might be limited by user or server, @@ -1587,12 +1602,14 @@ type ResultStoreDownloadClient interface { // An error will be reported in the following cases: // - If the parent invocation is not found. // - If the given parent invocation name is badly formatted. + // - If no field mask was given. ListConfigurations(ctx context.Context, in *ListConfigurationsRequest, opts ...grpc.CallOption) (*ListConfigurationsResponse, error) // Retrieves the target with the given name. // // An error will be reported in the following cases: // - If the target or its parent invocation is not found. // - If the given target name is badly formatted. + // - If no field mask was given. GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*Target, error) // Retrieves all targets for a parent invocation. This might be limited by // user or server, in which case a continuation token is provided. @@ -1600,12 +1617,14 @@ type ResultStoreDownloadClient interface { // An error will be reported in the following cases: // - If the parent is not found. // - If the given parent name is badly formatted. + // - If no field mask was given. ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error) // Retrieves the configured target with the given name. // // An error will be reported in the following cases: // - If the configured target is not found. // - If the given name is badly formatted. + // - If no field mask was given. GetConfiguredTarget(ctx context.Context, in *GetConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) // Retrieves all configured targets for a parent invocation/target. // This might be limited by user or server, in which case a continuation @@ -1614,12 +1633,14 @@ type ResultStoreDownloadClient interface { // An error will be reported in the following cases: // - If the parent is not found. // - If the given parent name is badly formatted. + // - If no field mask was given. ListConfiguredTargets(ctx context.Context, in *ListConfiguredTargetsRequest, opts ...grpc.CallOption) (*ListConfiguredTargetsResponse, error) // Retrieves the action with the given name. // // An error will be reported in the following cases: // - If the action is not found. // - If the given name is badly formatted. + // - If no field mask was given. GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*Action, error) // Retrieves all actions for a parent invocation/target/configuration. // This might be limited by user or server, in which case a continuation @@ -1631,12 +1652,14 @@ type ResultStoreDownloadClient interface { // An error will be reported in the following cases: // - If the parent is not found. // - If the given parent name is badly formatted. + // - If no field mask was given. ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error) // Retrieves the file set with the given name. // // An error will be reported in the following cases: // - If the file set or its parent invocation is not found. // - If the given file set name is badly formatted. + // - If no field mask was given. GetFileSet(ctx context.Context, in *GetFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) // Retrieves all file sets for a parent invocation. // This might be limited by user or server, @@ -1645,6 +1668,7 @@ type ResultStoreDownloadClient interface { // An error will be reported in the following cases: // - If the parent invocation is not found. // - If the given parent invocation name is badly formatted. + // - If no field mask was given. ListFileSets(ctx context.Context, in *ListFileSetsRequest, opts ...grpc.CallOption) (*ListFileSetsResponse, error) } @@ -1771,18 +1795,21 @@ type ResultStoreDownloadServer interface { // An error will be reported in the following cases: // - If the invocation is not found. // - If the given invocation name is badly formatted. + // - If no field mask was given. GetInvocation(context.Context, *GetInvocationRequest) (*Invocation, error) // Searches for invocations matching the given query parameters. // // // An error will be reported in the following cases: // - If a query string is not provided + // - If no field mask was given. SearchInvocations(context.Context, *SearchInvocationsRequest) (*SearchInvocationsResponse, error) // Retrieves the configuration with the given name. // // An error will be reported in the following cases: // - If the configuration or its parent invocation is not found. // - If the given configuration name is badly formatted. + // - If no field mask was given. GetConfiguration(context.Context, *GetConfigurationRequest) (*Configuration, error) // Retrieves all configurations for a parent invocation. // This might be limited by user or server, @@ -1791,12 +1818,14 @@ type ResultStoreDownloadServer interface { // An error will be reported in the following cases: // - If the parent invocation is not found. // - If the given parent invocation name is badly formatted. + // - If no field mask was given. ListConfigurations(context.Context, *ListConfigurationsRequest) (*ListConfigurationsResponse, error) // Retrieves the target with the given name. // // An error will be reported in the following cases: // - If the target or its parent invocation is not found. // - If the given target name is badly formatted. + // - If no field mask was given. GetTarget(context.Context, *GetTargetRequest) (*Target, error) // Retrieves all targets for a parent invocation. This might be limited by // user or server, in which case a continuation token is provided. @@ -1804,12 +1833,14 @@ type ResultStoreDownloadServer interface { // An error will be reported in the following cases: // - If the parent is not found. // - If the given parent name is badly formatted. + // - If no field mask was given. ListTargets(context.Context, *ListTargetsRequest) (*ListTargetsResponse, error) // Retrieves the configured target with the given name. // // An error will be reported in the following cases: // - If the configured target is not found. // - If the given name is badly formatted. + // - If no field mask was given. GetConfiguredTarget(context.Context, *GetConfiguredTargetRequest) (*ConfiguredTarget, error) // Retrieves all configured targets for a parent invocation/target. // This might be limited by user or server, in which case a continuation @@ -1818,12 +1849,14 @@ type ResultStoreDownloadServer interface { // An error will be reported in the following cases: // - If the parent is not found. // - If the given parent name is badly formatted. + // - If no field mask was given. ListConfiguredTargets(context.Context, *ListConfiguredTargetsRequest) (*ListConfiguredTargetsResponse, error) // Retrieves the action with the given name. // // An error will be reported in the following cases: // - If the action is not found. // - If the given name is badly formatted. + // - If no field mask was given. GetAction(context.Context, *GetActionRequest) (*Action, error) // Retrieves all actions for a parent invocation/target/configuration. // This might be limited by user or server, in which case a continuation @@ -1835,12 +1868,14 @@ type ResultStoreDownloadServer interface { // An error will be reported in the following cases: // - If the parent is not found. // - If the given parent name is badly formatted. + // - If no field mask was given. ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error) // Retrieves the file set with the given name. // // An error will be reported in the following cases: // - If the file set or its parent invocation is not found. // - If the given file set name is badly formatted. + // - If no field mask was given. GetFileSet(context.Context, *GetFileSetRequest) (*FileSet, error) // Retrieves all file sets for a parent invocation. // This might be limited by user or server, @@ -1849,6 +1884,7 @@ type ResultStoreDownloadServer interface { // An error will be reported in the following cases: // - If the parent invocation is not found. // - If the given parent invocation name is badly formatted. + // - If no field mask was given. ListFileSets(context.Context, *ListFileSetsRequest) (*ListFileSetsResponse, error) } @@ -2130,10 +2166,10 @@ var _ResultStoreDownload_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/resultstore_download.proto", fileDescriptor_resultstore_download_7c774ab49c606fb1) + proto.RegisterFile("google/devtools/resultstore/v2/resultstore_download.proto", fileDescriptor_resultstore_download_b0d8e6d616eef8f3) } -var fileDescriptor_resultstore_download_7c774ab49c606fb1 = []byte{ +var fileDescriptor_resultstore_download_b0d8e6d616eef8f3 = []byte{ // 1043 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcf, 0x6f, 0xdc, 0x44, 0x14, 0xc7, 0x3b, 0xf9, 0x45, 0xf7, 0xa5, 0x85, 0xe6, 0x25, 0x14, 0xd7, 0xb4, 0x25, 0x32, 0x90, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_file_download.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_file_download.pb.go index f0ab5a2f5..a000701c2 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_file_download.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_file_download.pb.go @@ -51,7 +51,7 @@ func (m *GetFileRequest) Reset() { *m = GetFileRequest{} } func (m *GetFileRequest) String() string { return proto.CompactTextString(m) } func (*GetFileRequest) ProtoMessage() {} func (*GetFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_file_download_02cbdf544c71a6bf, []int{0} + return fileDescriptor_resultstore_file_download_258c94f8298cac64, []int{0} } func (m *GetFileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFileRequest.Unmarshal(m, b) @@ -105,7 +105,7 @@ func (m *GetFileResponse) Reset() { *m = GetFileResponse{} } func (m *GetFileResponse) String() string { return proto.CompactTextString(m) } func (*GetFileResponse) ProtoMessage() {} func (*GetFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_file_download_02cbdf544c71a6bf, []int{1} + return fileDescriptor_resultstore_file_download_258c94f8298cac64, []int{1} } func (m *GetFileResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFileResponse.Unmarshal(m, b) @@ -157,7 +157,7 @@ func (m *GetFileTailRequest) Reset() { *m = GetFileTailRequest{} } func (m *GetFileTailRequest) String() string { return proto.CompactTextString(m) } func (*GetFileTailRequest) ProtoMessage() {} func (*GetFileTailRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_file_download_02cbdf544c71a6bf, []int{2} + return fileDescriptor_resultstore_file_download_258c94f8298cac64, []int{2} } func (m *GetFileTailRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFileTailRequest.Unmarshal(m, b) @@ -211,7 +211,7 @@ func (m *GetFileTailResponse) Reset() { *m = GetFileTailResponse{} } func (m *GetFileTailResponse) String() string { return proto.CompactTextString(m) } func (*GetFileTailResponse) ProtoMessage() {} func (*GetFileTailResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resultstore_file_download_02cbdf544c71a6bf, []int{3} + return fileDescriptor_resultstore_file_download_258c94f8298cac64, []int{3} } func (m *GetFileTailResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFileTailResponse.Unmarshal(m, b) @@ -401,10 +401,10 @@ var _ResultStoreFileDownload_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/resultstore_file_download.proto", fileDescriptor_resultstore_file_download_02cbdf544c71a6bf) + proto.RegisterFile("google/devtools/resultstore/v2/resultstore_file_download.proto", fileDescriptor_resultstore_file_download_258c94f8298cac64) } -var fileDescriptor_resultstore_file_download_02cbdf544c71a6bf = []byte{ +var fileDescriptor_resultstore_file_download_258c94f8298cac64 = []byte{ // 384 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xc1, 0x4a, 0xe3, 0x40, 0x18, 0x26, 0xed, 0xb2, 0x4b, 0xa7, 0xcb, 0x6e, 0x99, 0x65, 0x69, 0x28, 0xdb, 0xb5, 0x04, 0x84, diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_upload.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_upload.pb.go new file mode 100644 index 000000000..51d8f9584 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_upload.pb.go @@ -0,0 +1,2197 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/devtools/resultstore/v2/resultstore_upload.proto + +package resultstore // import "google.golang.org/genproto/googleapis/devtools/resultstore/v2" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Request passed into CreateInvocation +type CreateInvocationRequest struct { + // A unique identifier for this request. Must be set to a different value for + // each request that affects a given resource (eg. a random UUID). Required + // for the operation to be idempotent. This is achieved by ignoring this + // request if the last successful operation on the resource had the same + // request ID. If set, invocation_id must also be provided. + // Restricted to 36 utf-8 bytes. + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The invocation ID. If left empty then a new unique ID will be + // assigned by the server. If populated, a RFC 4122-compliant v4 UUID is + // preferred, but v3 or v5 UUIDs are allowed too. + InvocationId string `protobuf:"bytes,2,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` + // The invocation to create. Its name field will be ignored, since the name + // will be derived from the id field above and assigned by the server. + Invocation *Invocation `protobuf:"bytes,3,opt,name=invocation,proto3" json:"invocation,omitempty"` + // This is a token to authorize upload access to this invocation. It must be + // set to a RFC 4122-compliant v3, v4, or v5 UUID. Once this is set in + // CreateInvocation, all other upload RPCs for that Invocation and any of its + // child resources must also include the exact same token, or they will be + // rejected. The generated token should be unique to this invocation, and it + // should be kept secret. + // + // The purpose of this field is to prevent other users and tools from + // clobbering your upload intentionally or accidentally. The standard way of + // using this token is to create a second v4 UUID when the invocation_id is + // created, and storing them together during the upload. Essentially, this is + // a "password" to the invocation. + AuthorizationToken string `protobuf:"bytes,4,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + // By default, Invocations are auto-finished if they are not modified for 24 + // hours. If you need auto-finish to happen sooner, set this field to the time + // you'd like auto-finish to occur. + AutoFinishTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=auto_finish_time,json=autoFinishTime,proto3" json:"auto_finish_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateInvocationRequest) Reset() { *m = CreateInvocationRequest{} } +func (m *CreateInvocationRequest) String() string { return proto.CompactTextString(m) } +func (*CreateInvocationRequest) ProtoMessage() {} +func (*CreateInvocationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{0} +} +func (m *CreateInvocationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateInvocationRequest.Unmarshal(m, b) +} +func (m *CreateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateInvocationRequest.Marshal(b, m, deterministic) +} +func (dst *CreateInvocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInvocationRequest.Merge(dst, src) +} +func (m *CreateInvocationRequest) XXX_Size() int { + return xxx_messageInfo_CreateInvocationRequest.Size(m) +} +func (m *CreateInvocationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateInvocationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateInvocationRequest proto.InternalMessageInfo + +func (m *CreateInvocationRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateInvocationRequest) GetInvocationId() string { + if m != nil { + return m.InvocationId + } + return "" +} + +func (m *CreateInvocationRequest) GetInvocation() *Invocation { + if m != nil { + return m.Invocation + } + return nil +} + +func (m *CreateInvocationRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +func (m *CreateInvocationRequest) GetAutoFinishTime() *timestamp.Timestamp { + if m != nil { + return m.AutoFinishTime + } + return nil +} + +// Request passed into UpdateInvocation +type UpdateInvocationRequest struct { + // Contains the name and the fields of the invocation to be updated. The + // name format must be: invocations/${INVOCATION_ID} + Invocation *Invocation `protobuf:"bytes,3,opt,name=invocation,proto3" json:"invocation,omitempty"` + // Indicates which fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateInvocationRequest) Reset() { *m = UpdateInvocationRequest{} } +func (m *UpdateInvocationRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateInvocationRequest) ProtoMessage() {} +func (*UpdateInvocationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{1} +} +func (m *UpdateInvocationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateInvocationRequest.Unmarshal(m, b) +} +func (m *UpdateInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateInvocationRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateInvocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInvocationRequest.Merge(dst, src) +} +func (m *UpdateInvocationRequest) XXX_Size() int { + return xxx_messageInfo_UpdateInvocationRequest.Size(m) +} +func (m *UpdateInvocationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateInvocationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateInvocationRequest proto.InternalMessageInfo + +func (m *UpdateInvocationRequest) GetInvocation() *Invocation { + if m != nil { + return m.Invocation + } + return nil +} + +func (m *UpdateInvocationRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateInvocationRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into FinishInvocation +type FinishInvocationRequest struct { + // The name of the invocation. Its format must be: + // invocations/${INVOCATION_ID} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,3,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinishInvocationRequest) Reset() { *m = FinishInvocationRequest{} } +func (m *FinishInvocationRequest) String() string { return proto.CompactTextString(m) } +func (*FinishInvocationRequest) ProtoMessage() {} +func (*FinishInvocationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{2} +} +func (m *FinishInvocationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinishInvocationRequest.Unmarshal(m, b) +} +func (m *FinishInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinishInvocationRequest.Marshal(b, m, deterministic) +} +func (dst *FinishInvocationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinishInvocationRequest.Merge(dst, src) +} +func (m *FinishInvocationRequest) XXX_Size() int { + return xxx_messageInfo_FinishInvocationRequest.Size(m) +} +func (m *FinishInvocationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FinishInvocationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FinishInvocationRequest proto.InternalMessageInfo + +func (m *FinishInvocationRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FinishInvocationRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Response returned from FinishInvocation +type FinishInvocationResponse struct { + // The name of the invocation. Its format will be: + // invocations/${INVOCATION_ID} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The resource ID components that identify the Invocation. + Id *Invocation_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinishInvocationResponse) Reset() { *m = FinishInvocationResponse{} } +func (m *FinishInvocationResponse) String() string { return proto.CompactTextString(m) } +func (*FinishInvocationResponse) ProtoMessage() {} +func (*FinishInvocationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{3} +} +func (m *FinishInvocationResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinishInvocationResponse.Unmarshal(m, b) +} +func (m *FinishInvocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinishInvocationResponse.Marshal(b, m, deterministic) +} +func (dst *FinishInvocationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinishInvocationResponse.Merge(dst, src) +} +func (m *FinishInvocationResponse) XXX_Size() int { + return xxx_messageInfo_FinishInvocationResponse.Size(m) +} +func (m *FinishInvocationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FinishInvocationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FinishInvocationResponse proto.InternalMessageInfo + +func (m *FinishInvocationResponse) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FinishInvocationResponse) GetId() *Invocation_Id { + if m != nil { + return m.Id + } + return nil +} + +// Request passed into CreateTarget +type CreateTargetRequest struct { + // A unique identifier for this request. Must be set to a different value for + // each request that affects a given resource (eg. a random UUID). Required + // for the operation to be idempotent. This is achieved by ignoring this + // request if the last successful operation on the resource had the same + // request ID. Restricted to 36 utf-8 bytes. + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The name of the parent invocation in which the target is created. + // Its format must be invocations/${INVOCATION_ID} + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + // The target identifier. It can be any UTF-8 string up to 1024 bytes long + // except for the reserved id '-'. + TargetId string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` + // The target to create. Its name field will be ignored, since the name will + // be derived from the id field above and assigned by the server. + Target *Target `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateTargetRequest) Reset() { *m = CreateTargetRequest{} } +func (m *CreateTargetRequest) String() string { return proto.CompactTextString(m) } +func (*CreateTargetRequest) ProtoMessage() {} +func (*CreateTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{4} +} +func (m *CreateTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateTargetRequest.Unmarshal(m, b) +} +func (m *CreateTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateTargetRequest.Marshal(b, m, deterministic) +} +func (dst *CreateTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTargetRequest.Merge(dst, src) +} +func (m *CreateTargetRequest) XXX_Size() int { + return xxx_messageInfo_CreateTargetRequest.Size(m) +} +func (m *CreateTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateTargetRequest proto.InternalMessageInfo + +func (m *CreateTargetRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateTargetRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateTargetRequest) GetTargetId() string { + if m != nil { + return m.TargetId + } + return "" +} + +func (m *CreateTargetRequest) GetTarget() *Target { + if m != nil { + return m.Target + } + return nil +} + +func (m *CreateTargetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into UpdateTarget +type UpdateTargetRequest struct { + // Contains the name and the fields of the target to be updated. The name + // format must be: invocations/${INVOCATION_ID}/targets/${TARGET_ID} + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + // Indicates which fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateTargetRequest) Reset() { *m = UpdateTargetRequest{} } +func (m *UpdateTargetRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateTargetRequest) ProtoMessage() {} +func (*UpdateTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{5} +} +func (m *UpdateTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateTargetRequest.Unmarshal(m, b) +} +func (m *UpdateTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateTargetRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTargetRequest.Merge(dst, src) +} +func (m *UpdateTargetRequest) XXX_Size() int { + return xxx_messageInfo_UpdateTargetRequest.Size(m) +} +func (m *UpdateTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTargetRequest proto.InternalMessageInfo + +func (m *UpdateTargetRequest) GetTarget() *Target { + if m != nil { + return m.Target + } + return nil +} + +func (m *UpdateTargetRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateTargetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into FinishTarget +type FinishTargetRequest struct { + // The name of the target. Its format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,3,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinishTargetRequest) Reset() { *m = FinishTargetRequest{} } +func (m *FinishTargetRequest) String() string { return proto.CompactTextString(m) } +func (*FinishTargetRequest) ProtoMessage() {} +func (*FinishTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{6} +} +func (m *FinishTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinishTargetRequest.Unmarshal(m, b) +} +func (m *FinishTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinishTargetRequest.Marshal(b, m, deterministic) +} +func (dst *FinishTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinishTargetRequest.Merge(dst, src) +} +func (m *FinishTargetRequest) XXX_Size() int { + return xxx_messageInfo_FinishTargetRequest.Size(m) +} +func (m *FinishTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FinishTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FinishTargetRequest proto.InternalMessageInfo + +func (m *FinishTargetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FinishTargetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Response returned from FinishTarget +type FinishTargetResponse struct { + // The name of the target. Its format will be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The resource ID components that identify the Target. + Id *Target_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinishTargetResponse) Reset() { *m = FinishTargetResponse{} } +func (m *FinishTargetResponse) String() string { return proto.CompactTextString(m) } +func (*FinishTargetResponse) ProtoMessage() {} +func (*FinishTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{7} +} +func (m *FinishTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinishTargetResponse.Unmarshal(m, b) +} +func (m *FinishTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinishTargetResponse.Marshal(b, m, deterministic) +} +func (dst *FinishTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinishTargetResponse.Merge(dst, src) +} +func (m *FinishTargetResponse) XXX_Size() int { + return xxx_messageInfo_FinishTargetResponse.Size(m) +} +func (m *FinishTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FinishTargetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FinishTargetResponse proto.InternalMessageInfo + +func (m *FinishTargetResponse) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FinishTargetResponse) GetId() *Target_Id { + if m != nil { + return m.Id + } + return nil +} + +// Request passed into CreateConfiguredTarget +type CreateConfiguredTargetRequest struct { + // A unique identifier for this request. Must be set to a different value for + // each request that affects a given resource (eg. a random UUID). Required + // for the operation to be idempotent. This is achieved by ignoring this + // request if the last successful operation on the resource had the same + // request ID. Restricted to 36 utf-8 bytes. + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The name of the parent target in which the configured target is created. + // Its format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID} + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + // The configuration identifier. This must match the ID of an existing + // Configuration under this Invocation. Cannot be the reserved id '-'. + ConfigId string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + // The configured target to create. Its name field will be ignored, since the + // name will be derived from the id field above and assigned by the server. + ConfiguredTarget *ConfiguredTarget `protobuf:"bytes,4,opt,name=configured_target,json=configuredTarget,proto3" json:"configured_target,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateConfiguredTargetRequest) Reset() { *m = CreateConfiguredTargetRequest{} } +func (m *CreateConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } +func (*CreateConfiguredTargetRequest) ProtoMessage() {} +func (*CreateConfiguredTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{8} +} +func (m *CreateConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateConfiguredTargetRequest.Unmarshal(m, b) +} +func (m *CreateConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateConfiguredTargetRequest.Marshal(b, m, deterministic) +} +func (dst *CreateConfiguredTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConfiguredTargetRequest.Merge(dst, src) +} +func (m *CreateConfiguredTargetRequest) XXX_Size() int { + return xxx_messageInfo_CreateConfiguredTargetRequest.Size(m) +} +func (m *CreateConfiguredTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConfiguredTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateConfiguredTargetRequest proto.InternalMessageInfo + +func (m *CreateConfiguredTargetRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateConfiguredTargetRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateConfiguredTargetRequest) GetConfigId() string { + if m != nil { + return m.ConfigId + } + return "" +} + +func (m *CreateConfiguredTargetRequest) GetConfiguredTarget() *ConfiguredTarget { + if m != nil { + return m.ConfiguredTarget + } + return nil +} + +func (m *CreateConfiguredTargetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into UpdateConfiguredTarget +type UpdateConfiguredTargetRequest struct { + // Contains the name and the fields of the configured target to be updated. + // The name format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID} + ConfiguredTarget *ConfiguredTarget `protobuf:"bytes,3,opt,name=configured_target,json=configuredTarget,proto3" json:"configured_target,omitempty"` + // Indicates which fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateConfiguredTargetRequest) Reset() { *m = UpdateConfiguredTargetRequest{} } +func (m *UpdateConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateConfiguredTargetRequest) ProtoMessage() {} +func (*UpdateConfiguredTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{9} +} +func (m *UpdateConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateConfiguredTargetRequest.Unmarshal(m, b) +} +func (m *UpdateConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateConfiguredTargetRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateConfiguredTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfiguredTargetRequest.Merge(dst, src) +} +func (m *UpdateConfiguredTargetRequest) XXX_Size() int { + return xxx_messageInfo_UpdateConfiguredTargetRequest.Size(m) +} +func (m *UpdateConfiguredTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfiguredTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfiguredTargetRequest proto.InternalMessageInfo + +func (m *UpdateConfiguredTargetRequest) GetConfiguredTarget() *ConfiguredTarget { + if m != nil { + return m.ConfiguredTarget + } + return nil +} + +func (m *UpdateConfiguredTargetRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateConfiguredTargetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into FinishConfiguredTarget +type FinishConfiguredTargetRequest struct { + // The name of the configured target. Its format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,3,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinishConfiguredTargetRequest) Reset() { *m = FinishConfiguredTargetRequest{} } +func (m *FinishConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } +func (*FinishConfiguredTargetRequest) ProtoMessage() {} +func (*FinishConfiguredTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{10} +} +func (m *FinishConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinishConfiguredTargetRequest.Unmarshal(m, b) +} +func (m *FinishConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinishConfiguredTargetRequest.Marshal(b, m, deterministic) +} +func (dst *FinishConfiguredTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinishConfiguredTargetRequest.Merge(dst, src) +} +func (m *FinishConfiguredTargetRequest) XXX_Size() int { + return xxx_messageInfo_FinishConfiguredTargetRequest.Size(m) +} +func (m *FinishConfiguredTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FinishConfiguredTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FinishConfiguredTargetRequest proto.InternalMessageInfo + +func (m *FinishConfiguredTargetRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FinishConfiguredTargetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Response returned from FinishConfiguredTarget +type FinishConfiguredTargetResponse struct { + // The name of the configured target. Its format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The resource ID components that identify the ConfiguredTarget. + Id *ConfiguredTarget_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FinishConfiguredTargetResponse) Reset() { *m = FinishConfiguredTargetResponse{} } +func (m *FinishConfiguredTargetResponse) String() string { return proto.CompactTextString(m) } +func (*FinishConfiguredTargetResponse) ProtoMessage() {} +func (*FinishConfiguredTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{11} +} +func (m *FinishConfiguredTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FinishConfiguredTargetResponse.Unmarshal(m, b) +} +func (m *FinishConfiguredTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FinishConfiguredTargetResponse.Marshal(b, m, deterministic) +} +func (dst *FinishConfiguredTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinishConfiguredTargetResponse.Merge(dst, src) +} +func (m *FinishConfiguredTargetResponse) XXX_Size() int { + return xxx_messageInfo_FinishConfiguredTargetResponse.Size(m) +} +func (m *FinishConfiguredTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FinishConfiguredTargetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FinishConfiguredTargetResponse proto.InternalMessageInfo + +func (m *FinishConfiguredTargetResponse) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FinishConfiguredTargetResponse) GetId() *ConfiguredTarget_Id { + if m != nil { + return m.Id + } + return nil +} + +// Request passed into CreateAction +type CreateActionRequest struct { + // A unique identifier for this request. Must be set to a different value for + // each request that affects a given resource (eg. a random UUID). Required + // for the operation to be idempotent. This is achieved by ignoring this + // request if the last successful operation on the resource had the same + // request ID. Restricted to 36 utf-8 bytes. + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The name of the parent configured target in which the action is created. + // Its format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID} + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + // The action identifier. It can be any UTF-8 string up to 512 bytes long, + // except for the reserved id '-'. + ActionId string `protobuf:"bytes,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + // The action to create. Its name field will be ignored, since the + // name will be derived from the id field above and assigned by the server. + Action *Action `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateActionRequest) Reset() { *m = CreateActionRequest{} } +func (m *CreateActionRequest) String() string { return proto.CompactTextString(m) } +func (*CreateActionRequest) ProtoMessage() {} +func (*CreateActionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{12} +} +func (m *CreateActionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateActionRequest.Unmarshal(m, b) +} +func (m *CreateActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateActionRequest.Marshal(b, m, deterministic) +} +func (dst *CreateActionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateActionRequest.Merge(dst, src) +} +func (m *CreateActionRequest) XXX_Size() int { + return xxx_messageInfo_CreateActionRequest.Size(m) +} +func (m *CreateActionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateActionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateActionRequest proto.InternalMessageInfo + +func (m *CreateActionRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateActionRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateActionRequest) GetActionId() string { + if m != nil { + return m.ActionId + } + return "" +} + +func (m *CreateActionRequest) GetAction() *Action { + if m != nil { + return m.Action + } + return nil +} + +func (m *CreateActionRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into UpdateAction +type UpdateActionRequest struct { + // Contains the name and the fields of the action to be updated. The + // name format must be: + // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID}/actions/${ACTION_ID} + Action *Action `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` + // Indicates which fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateActionRequest) Reset() { *m = UpdateActionRequest{} } +func (m *UpdateActionRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateActionRequest) ProtoMessage() {} +func (*UpdateActionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{13} +} +func (m *UpdateActionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateActionRequest.Unmarshal(m, b) +} +func (m *UpdateActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateActionRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateActionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateActionRequest.Merge(dst, src) +} +func (m *UpdateActionRequest) XXX_Size() int { + return xxx_messageInfo_UpdateActionRequest.Size(m) +} +func (m *UpdateActionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateActionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateActionRequest proto.InternalMessageInfo + +func (m *UpdateActionRequest) GetAction() *Action { + if m != nil { + return m.Action + } + return nil +} + +func (m *UpdateActionRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateActionRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into CreateConfiguration +type CreateConfigurationRequest struct { + // A unique identifier for this request. Must be set to a different value for + // each request that affects a given resource (eg. a random UUID). Required + // for the operation to be idempotent. This is achieved by ignoring this + // request if the last successful operation on the resource had the same + // request ID. Restricted to 36 utf-8 bytes. + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The name of the parent invocation in which the configuration is created. + // Its format must be invocations/${INVOCATION_ID} + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + // The configuration identifier. It can be any UTF-8 string up to 256 bytes + // long. The configuration ID of "default" should be preferred for the default + // configuration in a single-config invocation. Cannot be the reserved id '-'. + ConfigId string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + // The configuration to create. Its name field will be ignored, since the name + // will be derived from the id field above and assigned by the server. + Configuration *Configuration `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateConfigurationRequest) Reset() { *m = CreateConfigurationRequest{} } +func (m *CreateConfigurationRequest) String() string { return proto.CompactTextString(m) } +func (*CreateConfigurationRequest) ProtoMessage() {} +func (*CreateConfigurationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{14} +} +func (m *CreateConfigurationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateConfigurationRequest.Unmarshal(m, b) +} +func (m *CreateConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateConfigurationRequest.Marshal(b, m, deterministic) +} +func (dst *CreateConfigurationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConfigurationRequest.Merge(dst, src) +} +func (m *CreateConfigurationRequest) XXX_Size() int { + return xxx_messageInfo_CreateConfigurationRequest.Size(m) +} +func (m *CreateConfigurationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConfigurationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateConfigurationRequest proto.InternalMessageInfo + +func (m *CreateConfigurationRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateConfigurationRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateConfigurationRequest) GetConfigId() string { + if m != nil { + return m.ConfigId + } + return "" +} + +func (m *CreateConfigurationRequest) GetConfiguration() *Configuration { + if m != nil { + return m.Configuration + } + return nil +} + +func (m *CreateConfigurationRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into UpdateConfiguration +type UpdateConfigurationRequest struct { + // Contains the name and fields of the configuration to be updated. The name + // format must be: invocations/${INVOCATION_ID}/configs/${CONFIG_ID} + Configuration *Configuration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` + // Indicates which fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateConfigurationRequest) Reset() { *m = UpdateConfigurationRequest{} } +func (m *UpdateConfigurationRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateConfigurationRequest) ProtoMessage() {} +func (*UpdateConfigurationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{15} +} +func (m *UpdateConfigurationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateConfigurationRequest.Unmarshal(m, b) +} +func (m *UpdateConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateConfigurationRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateConfigurationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfigurationRequest.Merge(dst, src) +} +func (m *UpdateConfigurationRequest) XXX_Size() int { + return xxx_messageInfo_UpdateConfigurationRequest.Size(m) +} +func (m *UpdateConfigurationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfigurationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfigurationRequest proto.InternalMessageInfo + +func (m *UpdateConfigurationRequest) GetConfiguration() *Configuration { + if m != nil { + return m.Configuration + } + return nil +} + +func (m *UpdateConfigurationRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateConfigurationRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into CreateFileSet +type CreateFileSetRequest struct { + // A unique identifier for this request. Must be set to a different value for + // each request that affects a given resource (eg. a random UUID). Required + // for the operation to be idempotent. This is achieved by ignoring this + // request if the last successful operation on the resource had the same + // request ID. Restricted to 36 utf-8 bytes. + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The name of the parent invocation in which the file set is created. + // Its format must be invocations/${INVOCATION_ID} + Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` + // The file set identifier. It can be any UTF-8 string up to 256 bytes long. + FileSetId string `protobuf:"bytes,3,opt,name=file_set_id,json=fileSetId,proto3" json:"file_set_id,omitempty"` + // The file set to create. Its name field will be ignored, since the name will + // be derived from the id field above and assigned by the server. + FileSet *FileSet `protobuf:"bytes,4,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,5,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateFileSetRequest) Reset() { *m = CreateFileSetRequest{} } +func (m *CreateFileSetRequest) String() string { return proto.CompactTextString(m) } +func (*CreateFileSetRequest) ProtoMessage() {} +func (*CreateFileSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{16} +} +func (m *CreateFileSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateFileSetRequest.Unmarshal(m, b) +} +func (m *CreateFileSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateFileSetRequest.Marshal(b, m, deterministic) +} +func (dst *CreateFileSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFileSetRequest.Merge(dst, src) +} +func (m *CreateFileSetRequest) XXX_Size() int { + return xxx_messageInfo_CreateFileSetRequest.Size(m) +} +func (m *CreateFileSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateFileSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateFileSetRequest proto.InternalMessageInfo + +func (m *CreateFileSetRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateFileSetRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *CreateFileSetRequest) GetFileSetId() string { + if m != nil { + return m.FileSetId + } + return "" +} + +func (m *CreateFileSetRequest) GetFileSet() *FileSet { + if m != nil { + return m.FileSet + } + return nil +} + +func (m *CreateFileSetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +// Request passed into UpdateFileSet +type UpdateFileSetRequest struct { + // Contains the name and fields of the file set to be updated. The name format + // must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID} + FileSet *FileSet `protobuf:"bytes,1,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"` + // Indicates which fields to update. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // This is a token to authorize access to this invocation. It must be set to + // the same value that was provided in the CreateInvocationRequest. + AuthorizationToken string `protobuf:"bytes,3,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateFileSetRequest) Reset() { *m = UpdateFileSetRequest{} } +func (m *UpdateFileSetRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateFileSetRequest) ProtoMessage() {} +func (*UpdateFileSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_resultstore_upload_6e83fc95b9ff09ba, []int{17} +} +func (m *UpdateFileSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateFileSetRequest.Unmarshal(m, b) +} +func (m *UpdateFileSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateFileSetRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateFileSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFileSetRequest.Merge(dst, src) +} +func (m *UpdateFileSetRequest) XXX_Size() int { + return xxx_messageInfo_UpdateFileSetRequest.Size(m) +} +func (m *UpdateFileSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateFileSetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateFileSetRequest proto.InternalMessageInfo + +func (m *UpdateFileSetRequest) GetFileSet() *FileSet { + if m != nil { + return m.FileSet + } + return nil +} + +func (m *UpdateFileSetRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateFileSetRequest) GetAuthorizationToken() string { + if m != nil { + return m.AuthorizationToken + } + return "" +} + +func init() { + proto.RegisterType((*CreateInvocationRequest)(nil), "google.devtools.resultstore.v2.CreateInvocationRequest") + proto.RegisterType((*UpdateInvocationRequest)(nil), "google.devtools.resultstore.v2.UpdateInvocationRequest") + proto.RegisterType((*FinishInvocationRequest)(nil), "google.devtools.resultstore.v2.FinishInvocationRequest") + proto.RegisterType((*FinishInvocationResponse)(nil), "google.devtools.resultstore.v2.FinishInvocationResponse") + proto.RegisterType((*CreateTargetRequest)(nil), "google.devtools.resultstore.v2.CreateTargetRequest") + proto.RegisterType((*UpdateTargetRequest)(nil), "google.devtools.resultstore.v2.UpdateTargetRequest") + proto.RegisterType((*FinishTargetRequest)(nil), "google.devtools.resultstore.v2.FinishTargetRequest") + proto.RegisterType((*FinishTargetResponse)(nil), "google.devtools.resultstore.v2.FinishTargetResponse") + proto.RegisterType((*CreateConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.CreateConfiguredTargetRequest") + proto.RegisterType((*UpdateConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.UpdateConfiguredTargetRequest") + proto.RegisterType((*FinishConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.FinishConfiguredTargetRequest") + proto.RegisterType((*FinishConfiguredTargetResponse)(nil), "google.devtools.resultstore.v2.FinishConfiguredTargetResponse") + proto.RegisterType((*CreateActionRequest)(nil), "google.devtools.resultstore.v2.CreateActionRequest") + proto.RegisterType((*UpdateActionRequest)(nil), "google.devtools.resultstore.v2.UpdateActionRequest") + proto.RegisterType((*CreateConfigurationRequest)(nil), "google.devtools.resultstore.v2.CreateConfigurationRequest") + proto.RegisterType((*UpdateConfigurationRequest)(nil), "google.devtools.resultstore.v2.UpdateConfigurationRequest") + proto.RegisterType((*CreateFileSetRequest)(nil), "google.devtools.resultstore.v2.CreateFileSetRequest") + proto.RegisterType((*UpdateFileSetRequest)(nil), "google.devtools.resultstore.v2.UpdateFileSetRequest") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ResultStoreUploadClient is the client API for ResultStoreUpload service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ResultStoreUploadClient interface { + // Creates the given invocation. Generally, a unique ID will be assigned to + // the invocation's name field by the server. This is not an implicitly + // idempotent API, so a request id is required to make it idempotent. + // + // Returns an empty Invocation proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If an invocation with the same ID already exists. + CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) + // Applies a standard update to the invocation identified by the given proto's + // name. For all types of fields (primitive, message, or repeated), replaces + // them with the given proto fields if they are under the given field mask + // paths. Fields that match the mask but aren't populated in the given + // invocation are cleared. This is an implicitly idempotent API. + // + // Returns an empty Invocation proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If the invocation does not exist. + // - If the invocation is finished. + // - If no field mask was given. + UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) + // Declares the invocation with the given name as finished and immutable. + // This is an implicitly idempotent API. + // + // If an Invocation is not updated for 24 hours, some time after that + // this will be called automatically. + // + // An error will be reported in the following cases: + // - If the invocation does not exist. + FinishInvocation(ctx context.Context, in *FinishInvocationRequest, opts ...grpc.CallOption) (*FinishInvocationResponse, error) + // Creates the given target under the given parent invocation. The given + // target ID is URL encoded, converted to the full resource name, and assigned + // to the target's name field. This is not an implicitly idempotent API, so a + // request id is required to make it idempotent. + // + // Returns an empty Target proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If no target ID is provided. + // - If the parent invocation does not exist. + // - If the parent invocation is finished. + // - If a target with the same name already exists. + CreateTarget(ctx context.Context, in *CreateTargetRequest, opts ...grpc.CallOption) (*Target, error) + // Applies a standard update to the target identified by the given proto's + // name. For all types of fields (primitive, message, or repeated), replaces + // them with the given proto fields if they are under the given field mask + // paths. Fields that match the mask but aren't populated in the given + // target are cleared. This is an implicitly idempotent API. + // + // Returns an empty Target proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If the target does not exist. + // - If the target or parent invocation is finished. + // - If no field mask was given. + UpdateTarget(ctx context.Context, in *UpdateTargetRequest, opts ...grpc.CallOption) (*Target, error) + // Declares the target with the given name as finished and immutable. + // This is an implicitly idempotent API. + // + // An error will be reported in the following cases: + // - If the target does not exist. + FinishTarget(ctx context.Context, in *FinishTargetRequest, opts ...grpc.CallOption) (*FinishTargetResponse, error) + // Creates the given configured target under the given parent target. + // The given configured target ID is URL encoded, converted to the full + // resource name, and assigned to the configured target's name field. + // This is not an implicitly idempotent API, so a request id is required + // to make it idempotent. + // + // Returns an empty ConfiguredTarget proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If no config ID is provided. + // - If a configured target with the same ID already exists. + // - If the parent target does not exist. + // - If the parent target or invocation is finished. + CreateConfiguredTarget(ctx context.Context, in *CreateConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) + // Applies a standard update to the configured target identified by the given + // proto's name. For all types of fields (primitive, message, or repeated), + // replaces them with the given proto fields if they are under the given + // field mask paths. Fields that match the mask but aren't populated in the + // given configured target are cleared. This is an implicitly idempotent API. + // + // Returns an empty ConfiguredTarget proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If the configured target does not exist. + // - If the parent target or invocation is finished. + // - If no field mask was given. + UpdateConfiguredTarget(ctx context.Context, in *UpdateConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) + // Declares the configured target with the given name as finished and + // immutable. This is an implicitly idempotent API. + // + // An error will be reported in the following cases: + // - If the configured target does not exist. + FinishConfiguredTarget(ctx context.Context, in *FinishConfiguredTargetRequest, opts ...grpc.CallOption) (*FinishConfiguredTargetResponse, error) + // Creates the given action under the given configured target. The given + // action ID is URL encoded, converted to the full resource name, and + // assigned to the action's name field. This is not an implicitly + // idempotent API, so a request id is required to make it idempotent. + // + // Returns an empty Action proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If no action ID provided. + // - If the parent configured target does not exist. + // - If the parent target or invocation is finished. + // - If an action with the same name already exists. + CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*Action, error) + // Applies a standard update to the action identified by the given + // proto's name. For all types of fields (primitive, message, or repeated), + // replaces them with the given proto fields if they are under the given + // field mask paths. Fields that match the mask but aren't populated in the + // given action are cleared. This is an implicitly idempotent API. + // + // Returns an empty Action proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If the action does not exist. + // - If the parent target or invocation is finished. + // - If no field mask was given. + UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...grpc.CallOption) (*Action, error) + // Creates the given configuration under the given parent invocation. The + // given configuration ID is URL encoded, converted to the full resource name, + // and assigned to the configuration's name field. The configuration ID of + // "default" should be preferred for the default configuration in a + // single-config invocation. This is not an implicitly idempotent API, so a + // request id is required to make it idempotent. + // + // Returns an empty Configuration proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If no configuration ID is provided. + // - If the parent invocation does not exist. + // - If the parent invocation is finished. + // - If a configuration with the same name already exists. + CreateConfiguration(ctx context.Context, in *CreateConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) + // Applies a standard update to the configuration identified by the given + // proto's name. For all types of fields (primitive, message, or repeated), + // replaces them with the given proto fields if they are under the given field + // mask paths. Fields that match the mask but aren't populated in the given + // configuration are cleared. This is an implicitly idempotent API. + // + // Returns an empty Configuration proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If the configuration does not exist. + // - If the parent invocation is finished. + // - If no field mask was given. + // - If a given field mask path is not valid. + UpdateConfiguration(ctx context.Context, in *UpdateConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) + // Creates the given file set under the given parent invocation. The given + // file set ID is URL encoded, converted to the full resource name, and + // assigned to the file set's name field. This is not an implicitly idempotent + // API, so a request id is required to make it idempotent. + // + // Returns an empty FileSet proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If no file set ID is provided. + // - If a file set with the same name already exists. + // - If the parent invocation does not exist. + // - If the parent invocation is finished. + CreateFileSet(ctx context.Context, in *CreateFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) + // Applies a standard update to the file set identified by the given proto's + // name. For all types of fields (primitive, message, or repeated), replaces + // them with the given proto fields if they are under the given field mask + // paths. Fields that match the mask but aren't populated in the given + // configuration are cleared. This is an implicitly idempotent API. + // + // Returns an empty FileSet proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If the file set does not exist. + // - If the parent invocation is finished. + // - If no field mask was given. + // - If a given field mask path is not valid. + UpdateFileSet(ctx context.Context, in *UpdateFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) +} + +type resultStoreUploadClient struct { + cc *grpc.ClientConn +} + +func NewResultStoreUploadClient(cc *grpc.ClientConn) ResultStoreUploadClient { + return &resultStoreUploadClient{cc} +} + +func (c *resultStoreUploadClient) CreateInvocation(ctx context.Context, in *CreateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) { + out := new(Invocation) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/CreateInvocation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) { + out := new(Invocation) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateInvocation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) FinishInvocation(ctx context.Context, in *FinishInvocationRequest, opts ...grpc.CallOption) (*FinishInvocationResponse, error) { + out := new(FinishInvocationResponse) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/FinishInvocation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) CreateTarget(ctx context.Context, in *CreateTargetRequest, opts ...grpc.CallOption) (*Target, error) { + out := new(Target) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/CreateTarget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) UpdateTarget(ctx context.Context, in *UpdateTargetRequest, opts ...grpc.CallOption) (*Target, error) { + out := new(Target) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateTarget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) FinishTarget(ctx context.Context, in *FinishTargetRequest, opts ...grpc.CallOption) (*FinishTargetResponse, error) { + out := new(FinishTargetResponse) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/FinishTarget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) CreateConfiguredTarget(ctx context.Context, in *CreateConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) { + out := new(ConfiguredTarget) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/CreateConfiguredTarget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) UpdateConfiguredTarget(ctx context.Context, in *UpdateConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) { + out := new(ConfiguredTarget) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateConfiguredTarget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) FinishConfiguredTarget(ctx context.Context, in *FinishConfiguredTargetRequest, opts ...grpc.CallOption) (*FinishConfiguredTargetResponse, error) { + out := new(FinishConfiguredTargetResponse) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/FinishConfiguredTarget", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*Action, error) { + out := new(Action) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/CreateAction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...grpc.CallOption) (*Action, error) { + out := new(Action) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateAction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) CreateConfiguration(ctx context.Context, in *CreateConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) { + out := new(Configuration) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/CreateConfiguration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) UpdateConfiguration(ctx context.Context, in *UpdateConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) { + out := new(Configuration) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateConfiguration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) CreateFileSet(ctx context.Context, in *CreateFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) { + out := new(FileSet) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/CreateFileSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resultStoreUploadClient) UpdateFileSet(ctx context.Context, in *UpdateFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) { + out := new(FileSet) + err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateFileSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ResultStoreUploadServer is the server API for ResultStoreUpload service. +type ResultStoreUploadServer interface { + // Creates the given invocation. Generally, a unique ID will be assigned to + // the invocation's name field by the server. This is not an implicitly + // idempotent API, so a request id is required to make it idempotent. + // + // Returns an empty Invocation proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If an invocation with the same ID already exists. + CreateInvocation(context.Context, *CreateInvocationRequest) (*Invocation, error) + // Applies a standard update to the invocation identified by the given proto's + // name. For all types of fields (primitive, message, or repeated), replaces + // them with the given proto fields if they are under the given field mask + // paths. Fields that match the mask but aren't populated in the given + // invocation are cleared. This is an implicitly idempotent API. + // + // Returns an empty Invocation proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If the invocation does not exist. + // - If the invocation is finished. + // - If no field mask was given. + UpdateInvocation(context.Context, *UpdateInvocationRequest) (*Invocation, error) + // Declares the invocation with the given name as finished and immutable. + // This is an implicitly idempotent API. + // + // If an Invocation is not updated for 24 hours, some time after that + // this will be called automatically. + // + // An error will be reported in the following cases: + // - If the invocation does not exist. + FinishInvocation(context.Context, *FinishInvocationRequest) (*FinishInvocationResponse, error) + // Creates the given target under the given parent invocation. The given + // target ID is URL encoded, converted to the full resource name, and assigned + // to the target's name field. This is not an implicitly idempotent API, so a + // request id is required to make it idempotent. + // + // Returns an empty Target proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If no target ID is provided. + // - If the parent invocation does not exist. + // - If the parent invocation is finished. + // - If a target with the same name already exists. + CreateTarget(context.Context, *CreateTargetRequest) (*Target, error) + // Applies a standard update to the target identified by the given proto's + // name. For all types of fields (primitive, message, or repeated), replaces + // them with the given proto fields if they are under the given field mask + // paths. Fields that match the mask but aren't populated in the given + // target are cleared. This is an implicitly idempotent API. + // + // Returns an empty Target proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If the target does not exist. + // - If the target or parent invocation is finished. + // - If no field mask was given. + UpdateTarget(context.Context, *UpdateTargetRequest) (*Target, error) + // Declares the target with the given name as finished and immutable. + // This is an implicitly idempotent API. + // + // An error will be reported in the following cases: + // - If the target does not exist. + FinishTarget(context.Context, *FinishTargetRequest) (*FinishTargetResponse, error) + // Creates the given configured target under the given parent target. + // The given configured target ID is URL encoded, converted to the full + // resource name, and assigned to the configured target's name field. + // This is not an implicitly idempotent API, so a request id is required + // to make it idempotent. + // + // Returns an empty ConfiguredTarget proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If no config ID is provided. + // - If a configured target with the same ID already exists. + // - If the parent target does not exist. + // - If the parent target or invocation is finished. + CreateConfiguredTarget(context.Context, *CreateConfiguredTargetRequest) (*ConfiguredTarget, error) + // Applies a standard update to the configured target identified by the given + // proto's name. For all types of fields (primitive, message, or repeated), + // replaces them with the given proto fields if they are under the given + // field mask paths. Fields that match the mask but aren't populated in the + // given configured target are cleared. This is an implicitly idempotent API. + // + // Returns an empty ConfiguredTarget proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If the configured target does not exist. + // - If the parent target or invocation is finished. + // - If no field mask was given. + UpdateConfiguredTarget(context.Context, *UpdateConfiguredTargetRequest) (*ConfiguredTarget, error) + // Declares the configured target with the given name as finished and + // immutable. This is an implicitly idempotent API. + // + // An error will be reported in the following cases: + // - If the configured target does not exist. + FinishConfiguredTarget(context.Context, *FinishConfiguredTargetRequest) (*FinishConfiguredTargetResponse, error) + // Creates the given action under the given configured target. The given + // action ID is URL encoded, converted to the full resource name, and + // assigned to the action's name field. This is not an implicitly + // idempotent API, so a request id is required to make it idempotent. + // + // Returns an empty Action proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If no action ID provided. + // - If the parent configured target does not exist. + // - If the parent target or invocation is finished. + // - If an action with the same name already exists. + CreateAction(context.Context, *CreateActionRequest) (*Action, error) + // Applies a standard update to the action identified by the given + // proto's name. For all types of fields (primitive, message, or repeated), + // replaces them with the given proto fields if they are under the given + // field mask paths. Fields that match the mask but aren't populated in the + // given action are cleared. This is an implicitly idempotent API. + // + // Returns an empty Action proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If the action does not exist. + // - If the parent target or invocation is finished. + // - If no field mask was given. + UpdateAction(context.Context, *UpdateActionRequest) (*Action, error) + // Creates the given configuration under the given parent invocation. The + // given configuration ID is URL encoded, converted to the full resource name, + // and assigned to the configuration's name field. The configuration ID of + // "default" should be preferred for the default configuration in a + // single-config invocation. This is not an implicitly idempotent API, so a + // request id is required to make it idempotent. + // + // Returns an empty Configuration proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If no configuration ID is provided. + // - If the parent invocation does not exist. + // - If the parent invocation is finished. + // - If a configuration with the same name already exists. + CreateConfiguration(context.Context, *CreateConfigurationRequest) (*Configuration, error) + // Applies a standard update to the configuration identified by the given + // proto's name. For all types of fields (primitive, message, or repeated), + // replaces them with the given proto fields if they are under the given field + // mask paths. Fields that match the mask but aren't populated in the given + // configuration are cleared. This is an implicitly idempotent API. + // + // Returns an empty Configuration proto with only the name and ID fields + // populated. + // + // An error will be reported in the following cases: + // - If the configuration does not exist. + // - If the parent invocation is finished. + // - If no field mask was given. + // - If a given field mask path is not valid. + UpdateConfiguration(context.Context, *UpdateConfigurationRequest) (*Configuration, error) + // Creates the given file set under the given parent invocation. The given + // file set ID is URL encoded, converted to the full resource name, and + // assigned to the file set's name field. This is not an implicitly idempotent + // API, so a request id is required to make it idempotent. + // + // Returns an empty FileSet proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If no file set ID is provided. + // - If a file set with the same name already exists. + // - If the parent invocation does not exist. + // - If the parent invocation is finished. + CreateFileSet(context.Context, *CreateFileSetRequest) (*FileSet, error) + // Applies a standard update to the file set identified by the given proto's + // name. For all types of fields (primitive, message, or repeated), replaces + // them with the given proto fields if they are under the given field mask + // paths. Fields that match the mask but aren't populated in the given + // configuration are cleared. This is an implicitly idempotent API. + // + // Returns an empty FileSet proto with only the name and ID fields populated. + // + // An error will be reported in the following cases: + // - If the file set does not exist. + // - If the parent invocation is finished. + // - If no field mask was given. + // - If a given field mask path is not valid. + UpdateFileSet(context.Context, *UpdateFileSetRequest) (*FileSet, error) +} + +func RegisterResultStoreUploadServer(s *grpc.Server, srv ResultStoreUploadServer) { + s.RegisterService(&_ResultStoreUpload_serviceDesc, srv) +} + +func _ResultStoreUpload_CreateInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateInvocationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).CreateInvocation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/CreateInvocation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).CreateInvocation(ctx, req.(*CreateInvocationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_UpdateInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateInvocationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).UpdateInvocation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateInvocation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).UpdateInvocation(ctx, req.(*UpdateInvocationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_FinishInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FinishInvocationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).FinishInvocation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/FinishInvocation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).FinishInvocation(ctx, req.(*FinishInvocationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_CreateTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTargetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).CreateTarget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/CreateTarget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).CreateTarget(ctx, req.(*CreateTargetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_UpdateTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateTargetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).UpdateTarget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateTarget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).UpdateTarget(ctx, req.(*UpdateTargetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_FinishTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FinishTargetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).FinishTarget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/FinishTarget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).FinishTarget(ctx, req.(*FinishTargetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_CreateConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateConfiguredTargetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).CreateConfiguredTarget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/CreateConfiguredTarget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).CreateConfiguredTarget(ctx, req.(*CreateConfiguredTargetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_UpdateConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateConfiguredTargetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).UpdateConfiguredTarget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateConfiguredTarget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).UpdateConfiguredTarget(ctx, req.(*UpdateConfiguredTargetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_FinishConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FinishConfiguredTargetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).FinishConfiguredTarget(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/FinishConfiguredTarget", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).FinishConfiguredTarget(ctx, req.(*FinishConfiguredTargetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_CreateAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateActionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).CreateAction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/CreateAction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).CreateAction(ctx, req.(*CreateActionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_UpdateAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateActionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).UpdateAction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateAction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).UpdateAction(ctx, req.(*UpdateActionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_CreateConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateConfigurationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).CreateConfiguration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/CreateConfiguration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).CreateConfiguration(ctx, req.(*CreateConfigurationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_UpdateConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateConfigurationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).UpdateConfiguration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateConfiguration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).UpdateConfiguration(ctx, req.(*UpdateConfigurationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_CreateFileSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateFileSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).CreateFileSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/CreateFileSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).CreateFileSet(ctx, req.(*CreateFileSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResultStoreUpload_UpdateFileSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateFileSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResultStoreUploadServer).UpdateFileSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UpdateFileSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResultStoreUploadServer).UpdateFileSet(ctx, req.(*UpdateFileSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ResultStoreUpload_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.devtools.resultstore.v2.ResultStoreUpload", + HandlerType: (*ResultStoreUploadServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateInvocation", + Handler: _ResultStoreUpload_CreateInvocation_Handler, + }, + { + MethodName: "UpdateInvocation", + Handler: _ResultStoreUpload_UpdateInvocation_Handler, + }, + { + MethodName: "FinishInvocation", + Handler: _ResultStoreUpload_FinishInvocation_Handler, + }, + { + MethodName: "CreateTarget", + Handler: _ResultStoreUpload_CreateTarget_Handler, + }, + { + MethodName: "UpdateTarget", + Handler: _ResultStoreUpload_UpdateTarget_Handler, + }, + { + MethodName: "FinishTarget", + Handler: _ResultStoreUpload_FinishTarget_Handler, + }, + { + MethodName: "CreateConfiguredTarget", + Handler: _ResultStoreUpload_CreateConfiguredTarget_Handler, + }, + { + MethodName: "UpdateConfiguredTarget", + Handler: _ResultStoreUpload_UpdateConfiguredTarget_Handler, + }, + { + MethodName: "FinishConfiguredTarget", + Handler: _ResultStoreUpload_FinishConfiguredTarget_Handler, + }, + { + MethodName: "CreateAction", + Handler: _ResultStoreUpload_CreateAction_Handler, + }, + { + MethodName: "UpdateAction", + Handler: _ResultStoreUpload_UpdateAction_Handler, + }, + { + MethodName: "CreateConfiguration", + Handler: _ResultStoreUpload_CreateConfiguration_Handler, + }, + { + MethodName: "UpdateConfiguration", + Handler: _ResultStoreUpload_UpdateConfiguration_Handler, + }, + { + MethodName: "CreateFileSet", + Handler: _ResultStoreUpload_CreateFileSet_Handler, + }, + { + MethodName: "UpdateFileSet", + Handler: _ResultStoreUpload_UpdateFileSet_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/devtools/resultstore/v2/resultstore_upload.proto", +} + +func init() { + proto.RegisterFile("google/devtools/resultstore/v2/resultstore_upload.proto", fileDescriptor_resultstore_upload_6e83fc95b9ff09ba) +} + +var fileDescriptor_resultstore_upload_6e83fc95b9ff09ba = []byte{ + // 1348 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x99, 0xcf, 0x6f, 0xdc, 0x44, + 0x14, 0xc7, 0x35, 0xbb, 0x6d, 0x69, 0x5e, 0x12, 0x48, 0x27, 0x51, 0x12, 0x19, 0x92, 0x46, 0x0e, + 0x82, 0x26, 0x34, 0xeb, 0xe2, 0x84, 0xa6, 0xdd, 0x2a, 0x11, 0x4d, 0x50, 0xda, 0x2d, 0x42, 0x6a, + 0x37, 0xa9, 0x90, 0x2a, 0x95, 0x95, 0xbb, 0x9e, 0xdd, 0x5a, 0xd9, 0xb5, 0xb7, 0x6b, 0x6f, 0x24, + 0x40, 0x5c, 0xe0, 0x4f, 0xe0, 0x8a, 0x04, 0x17, 0x38, 0xf2, 0x43, 0xe2, 0x86, 0x38, 0xc1, 0x01, + 0xce, 0xbd, 0x21, 0x24, 0x04, 0xe2, 0x88, 0x38, 0x72, 0x46, 0x9e, 0x19, 0xef, 0xce, 0xf8, 0xc7, + 0xda, 0xde, 0xae, 0x72, 0xb3, 0xbd, 0xf3, 0xec, 0xcf, 0x77, 0xde, 0xd7, 0x33, 0xef, 0x79, 0x61, + 0xbb, 0xe9, 0x38, 0xcd, 0x16, 0xd1, 0x4c, 0x72, 0xe2, 0x39, 0x4e, 0xcb, 0xd5, 0xba, 0xc4, 0xed, + 0xb5, 0x3c, 0xd7, 0x73, 0xba, 0x44, 0x3b, 0xd1, 0xc5, 0xd3, 0x5a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0x54, 0x8d, + 0xe3, 0xad, 0x6c, 0x39, 0x90, 0xeb, 0x5a, 0x25, 0x6b, 0x15, 0xab, 0xbe, 0x41, 0xc9, 0x35, 0x75, + 0x75, 0xc8, 0xbc, 0xf3, 0x42, 0xd7, 0x2d, 0xf7, 0x6b, 0x65, 0xfc, 0x35, 0x82, 0x69, 0xa9, 0xa0, + 0x4e, 0xe7, 0x8c, 0xab, 0xbf, 0xb3, 0x73, 0xee, 0x52, 0xce, 0x6b, 0xfa, 0x65, 0xca, 0xd9, 0xff, + 0x9b, 0x23, 0x66, 0x72, 0x03, 0x5a, 0x7f, 0x76, 0xfb, 0xc0, 0x7b, 0x4f, 0x40, 0xad, 0x3b, 0xed, + 0x94, 0xa7, 0xdd, 0x45, 0x0f, 0x2a, 0x7c, 0x44, 0xd3, 0x69, 0x19, 0x76, 0xb3, 0xe4, 0x74, 0x9b, + 0x5a, 0x93, 0xd8, 0xb4, 0x88, 0xe7, 0x7f, 0xa6, 0x18, 0x1d, 0xcb, 0x4d, 0xfa, 0x7f, 0xe4, 0x86, + 0x70, 0xfa, 0xe8, 0x1c, 0x8d, 0xda, 0xfc, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xa6, 0x1a, 0x3d, + 0xc4, 0x1a, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go index f2599a305..3fac4b54d 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go @@ -57,7 +57,7 @@ func (x TargetType) String() string { return proto.EnumName(TargetType_name, int32(x)) } func (TargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_target_3b072e177729a29a, []int{0} + return fileDescriptor_target_1e7241cd9d95f916, []int{0} } // Indicates how big the user indicated the test action was. @@ -99,7 +99,7 @@ func (x TestSize) String() string { return proto.EnumName(TestSize_name, int32(x)) } func (TestSize) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_target_3b072e177729a29a, []int{1} + return fileDescriptor_target_1e7241cd9d95f916, []int{1} } // Each Target represents data for a given target in a given Invocation. @@ -132,7 +132,7 @@ type Target struct { // Provides a hint to clients as to whether to display the Target to users. // If true then clients likely want to display the Target by default. // Once set to true, this may not be set back to false. - IsVisible bool `protobuf:"varint,9,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"` + Visible bool `protobuf:"varint,10,opt,name=visible,proto3" json:"visible,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -142,7 +142,7 @@ func (m *Target) Reset() { *m = Target{} } func (m *Target) String() string { return proto.CompactTextString(m) } func (*Target) ProtoMessage() {} func (*Target) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3b072e177729a29a, []int{0} + return fileDescriptor_target_1e7241cd9d95f916, []int{0} } func (m *Target) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Target.Unmarshal(m, b) @@ -218,9 +218,9 @@ func (m *Target) GetFiles() []*File { return nil } -func (m *Target) GetIsVisible() bool { +func (m *Target) GetVisible() bool { if m != nil { - return m.IsVisible + return m.Visible } return false } @@ -240,7 +240,7 @@ func (m *Target_Id) Reset() { *m = Target_Id{} } func (m *Target_Id) String() string { return proto.CompactTextString(m) } func (*Target_Id) ProtoMessage() {} func (*Target_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3b072e177729a29a, []int{0, 0} + return fileDescriptor_target_1e7241cd9d95f916, []int{0, 0} } func (m *Target_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Target_Id.Unmarshal(m, b) @@ -295,7 +295,7 @@ func (m *TargetAttributes) Reset() { *m = TargetAttributes{} } func (m *TargetAttributes) String() string { return proto.CompactTextString(m) } func (*TargetAttributes) ProtoMessage() {} func (*TargetAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3b072e177729a29a, []int{1} + return fileDescriptor_target_1e7241cd9d95f916, []int{1} } func (m *TargetAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TargetAttributes.Unmarshal(m, b) @@ -349,7 +349,7 @@ func (m *TestAttributes) Reset() { *m = TestAttributes{} } func (m *TestAttributes) String() string { return proto.CompactTextString(m) } func (*TestAttributes) ProtoMessage() {} func (*TestAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_target_3b072e177729a29a, []int{2} + return fileDescriptor_target_1e7241cd9d95f916, []int{2} } func (m *TestAttributes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestAttributes.Unmarshal(m, b) @@ -386,49 +386,49 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/target.proto", fileDescriptor_target_3b072e177729a29a) + proto.RegisterFile("google/devtools/resultstore/v2/target.proto", fileDescriptor_target_1e7241cd9d95f916) } -var fileDescriptor_target_3b072e177729a29a = []byte{ - // 634 bytes of a gzipped FileDescriptorProto +var fileDescriptor_target_1e7241cd9d95f916 = []byte{ + // 628 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xed, 0x6a, 0xdb, 0x4a, - 0x10, 0xbd, 0xb2, 0x65, 0x47, 0x1e, 0xe7, 0x3a, 0xba, 0x0b, 0x97, 0xaa, 0x09, 0x2d, 0xc6, 0x2d, - 0xc5, 0x49, 0x41, 0x2e, 0xee, 0xaf, 0x7e, 0x10, 0x50, 0x12, 0x25, 0x11, 0xf5, 0x87, 0x58, 0x29, - 0x2d, 0x09, 0x14, 0xa3, 0x44, 0x5b, 0xb1, 0x45, 0xd6, 0xba, 0xda, 0xb5, 0x21, 0x79, 0x95, 0xbe, - 0x42, 0x1f, 0xb2, 0x68, 0xd7, 0x49, 0x1c, 0x43, 0xab, 0xfc, 0xdb, 0x19, 0x9d, 0x73, 0x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 0xff, 0xc9, 0x5f, 0x96, 0x8a, 0x90, 0x05, 0x00, 0x00, + 0x10, 0xbd, 0xb2, 0x65, 0x47, 0x1e, 0xe7, 0x3a, 0xba, 0x0b, 0x97, 0xaa, 0x09, 0x14, 0xe3, 0x96, + 0xe2, 0xa4, 0x20, 0x17, 0xf7, 0x57, 0x3f, 0x08, 0x28, 0x89, 0x92, 0x2c, 0xf5, 0x87, 0x58, 0x29, + 0x94, 0x04, 0x8a, 0x51, 0xa2, 0xad, 0xd8, 0x22, 0x6b, 0x5d, 0xed, 0xda, 0x90, 0x3c, 0x48, 0x9f, + 0xa2, 0x0f, 0x59, 0xb4, 0xb2, 0x13, 0xc7, 0xd0, 0x2a, 0xff, 0x76, 0x46, 0xe7, 0x9c, 0x39, 0x9a, + 0x99, 0x5d, 0x78, 0x13, 0x73, 0x1e, 0x27, 0xb4, 0x17, 0xd1, 0x85, 0xe4, 0x3c, 0x11, 0xbd, 0x8c, + 0x8a, 0x79, 0x22, 0x85, 0xe4, 0x19, 0xed, 0x2d, 0xfa, 0x3d, 0x19, 0x66, 0x31, 0x95, 0xf6, 0x2c, + 0xe3, 0x92, 0xa3, 0x17, 0x05, 0xd8, 0x5e, 0x81, 0xed, 0x35, 0xb0, 0xbd, 0xe8, 0xef, 0x96, 0x89, + 0xdd, 0xf0, 0xe9, 0x94, 0xa7, 0x85, 0xd8, 0xee, 0x7e, 0x09, 0xf8, 0x1b, 0x4b, 0x68, 0x01, 0xed, + 0xfc, 0xac, 0x41, 0x3d, 0x50, 0x46, 0x10, 0x02, 0x3d, 0x0d, 0xa7, 0xd4, 0xd2, 0xda, 0x5a, 0xb7, + 0x41, 0xd4, 0x19, 0xbd, 0x87, 0x0a, 0x8b, 0xac, 0x4a, 0x5b, 0xeb, 0x36, 0xfb, 0xfb, 0xf6, 0xdf, + 0x3d, 0xda, 0x85, 0x8e, 0x8d, 0x23, 0x52, 0x61, 0x11, 0xfa, 0x0a, 0xff, 0x09, 0x19, 0xca, 0xb9, + 0x98, 0x84, 0x52, 0x66, 0xec, 0x7a, 0x2e, 0xa9, 0xb0, 0xaa, 0x4a, 0xe9, 0x6d, 0x99, 0x92, 0xaf, + 0x88, 0xce, 0x3d, 0x8f, 0x98, 0x62, 0x23, 0x83, 0x0e, 0xa1, 0x2e, 0xd9, 0x94, 0xa5, 0xb1, 0xa5, + 0x2b, 0xcd, 0xd7, 0xa5, 0xee, 0x14, 0x9a, 0x2c, 0x59, 0xb9, 0xbd, 0x62, 0x00, 0xeb, 0xf6, 0x6a, + 0x4f, 0xb3, 0x57, 0xfc, 0xe8, 0xba, 0x3d, 0xb9, 0x91, 0x41, 0x5f, 0x60, 0x47, 0x52, 0xf1, 0x48, + 0xbc, 0xae, 0xc4, 0xed, 0x52, 0x71, 0x2a, 0xd6, 0xa5, 0x5b, 0xf2, 0x51, 0x8c, 0xce, 0x01, 0x66, + 0x19, 0x9f, 0xd1, 0x4c, 0x32, 0x2a, 0xac, 0xad, 0x76, 0xb5, 0xdb, 0xec, 0x77, 0xcb, 0x34, 0xbd, + 0x82, 0x71, 0x4b, 0xd6, 0xb8, 0xe8, 0x03, 0xd4, 0xf2, 0x45, 0x10, 0x96, 0xa1, 0x44, 0x5e, 0x95, + 0x89, 0x9c, 0xb2, 0x84, 0x92, 0x82, 0x82, 0x2c, 0xd8, 0x5a, 0x30, 0xc1, 0xae, 0x13, 0x6a, 0x41, + 0x5b, 0xeb, 0x1a, 0x64, 0x15, 0xee, 0x9e, 0x42, 0x05, 0x47, 0xe8, 0x25, 0xfc, 0xcb, 0xd2, 0x05, + 0xbf, 0x09, 0x25, 0xe3, 0xe9, 0x84, 0x45, 0xcb, 0xa5, 0xda, 0x7e, 0x48, 0xe2, 0x08, 0xed, 0x41, + 0x63, 0x39, 0x82, 0xe5, 0x8e, 0x35, 0x88, 0x51, 0x24, 0x70, 0xd4, 0xf9, 0xa5, 0x81, 0xb9, 0xd9, + 0x67, 0x74, 0x08, 0xba, 0xbc, 0x9d, 0x15, 0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, 0xdc, 0xd1, 0x98, 0x0c, 0xc7, + 0x17, 0xbe, 0xa9, 0xa3, 0x16, 0xc0, 0x38, 0x38, 0x77, 0x89, 0xd2, 0x32, 0x6b, 0x47, 0x3f, 0xa0, + 0x73, 0xc3, 0xa7, 0x25, 0x7d, 0xf0, 0xb4, 0x2b, 0xbc, 0x44, 0xc4, 0x3c, 0xef, 0xb8, 0xcd, 0xb3, + 0xb8, 0x17, 0xd3, 0x54, 0x3d, 0x57, 0xbd, 0xe2, 0x53, 0x38, 0x63, 0xe2, 0x4f, 0x8f, 0xdb, 0xc7, + 0xb5, 0xf0, 0xba, 0xae, 0x58, 0xef, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xce, 0x70, 0x29, 0x31, + 0x8b, 0x05, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/test_suite.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/test_suite.pb.go index 81f6b9c2f..5390f7246 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/test_suite.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/test_suite.pb.go @@ -68,7 +68,7 @@ func (x TestCase_Result) String() string { return proto.EnumName(TestCase_Result_name, int32(x)) } func (TestCase_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_test_suite_ee31d75e3e5b9dce, []int{2, 0} + return fileDescriptor_test_suite_02411b0af16ca4ac, []int{2, 0} } // The result of running a test suite, as reported in a element of @@ -107,7 +107,7 @@ func (m *TestSuite) Reset() { *m = TestSuite{} } func (m *TestSuite) String() string { return proto.CompactTextString(m) } func (*TestSuite) ProtoMessage() {} func (*TestSuite) Descriptor() ([]byte, []int) { - return fileDescriptor_test_suite_ee31d75e3e5b9dce, []int{0} + return fileDescriptor_test_suite_02411b0af16ca4ac, []int{0} } func (m *TestSuite) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestSuite.Unmarshal(m, b) @@ -194,7 +194,7 @@ func (m *Test) Reset() { *m = Test{} } func (m *Test) String() string { return proto.CompactTextString(m) } func (*Test) ProtoMessage() {} func (*Test) Descriptor() ([]byte, []int) { - return fileDescriptor_test_suite_ee31d75e3e5b9dce, []int{1} + return fileDescriptor_test_suite_02411b0af16ca4ac, []int{1} } func (m *Test) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Test.Unmarshal(m, b) @@ -221,11 +221,13 @@ type isTest_TestType interface { type Test_TestCase struct { TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3,oneof"` } + type Test_TestSuite struct { TestSuite *TestSuite `protobuf:"bytes,2,opt,name=test_suite,json=testSuite,proto3,oneof"` } -func (*Test_TestCase) isTest_TestType() {} +func (*Test_TestCase) isTest_TestType() {} + func (*Test_TestSuite) isTest_TestType() {} func (m *Test) GetTestType() isTest_TestType { @@ -361,7 +363,7 @@ func (m *TestCase) Reset() { *m = TestCase{} } func (m *TestCase) String() string { return proto.CompactTextString(m) } func (*TestCase) ProtoMessage() {} func (*TestCase) Descriptor() ([]byte, []int) { - return fileDescriptor_test_suite_ee31d75e3e5b9dce, []int{2} + return fileDescriptor_test_suite_02411b0af16ca4ac, []int{2} } func (m *TestCase) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestCase.Unmarshal(m, b) @@ -453,7 +455,19 @@ type TestFailure struct { // a method/function name, a class/file name, and a line number. Most recent // call is usually first, but not for Python stack traces. May contain the // exception_type and message. - StackTrace string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` + StackTrace string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` + // The expected values. + // + // These values can be diffed against the actual values. Often, there is just + // one actual and one expected value. If there is more than one, they should + // be compared as an unordered collection. + Expected []string `protobuf:"bytes,4,rep,name=expected,proto3" json:"expected,omitempty"` + // The actual values. + // + // These values can be diffed against the expected values. Often, there is + // just one actual and one expected value. If there is more than one, they + // should be compared as an unordered collection. + Actual []string `protobuf:"bytes,5,rep,name=actual,proto3" json:"actual,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -463,7 +477,7 @@ func (m *TestFailure) Reset() { *m = TestFailure{} } func (m *TestFailure) String() string { return proto.CompactTextString(m) } func (*TestFailure) ProtoMessage() {} func (*TestFailure) Descriptor() ([]byte, []int) { - return fileDescriptor_test_suite_ee31d75e3e5b9dce, []int{3} + return fileDescriptor_test_suite_02411b0af16ca4ac, []int{3} } func (m *TestFailure) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestFailure.Unmarshal(m, b) @@ -504,6 +518,20 @@ func (m *TestFailure) GetStackTrace() string { return "" } +func (m *TestFailure) GetExpected() []string { + if m != nil { + return m.Expected + } + return nil +} + +func (m *TestFailure) GetActual() []string { + if m != nil { + return m.Actual + } + return nil +} + // Represents an exception that prevented a test case from completing, as // reported in an element within a . For Java, multiple // TestErrors are used to represent a chained exception. @@ -530,7 +558,7 @@ func (m *TestError) Reset() { *m = TestError{} } func (m *TestError) String() string { return proto.CompactTextString(m) } func (*TestError) ProtoMessage() {} func (*TestError) Descriptor() ([]byte, []int) { - return fileDescriptor_test_suite_ee31d75e3e5b9dce, []int{4} + return fileDescriptor_test_suite_02411b0af16ca4ac, []int{4} } func (m *TestError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestError.Unmarshal(m, b) @@ -581,50 +609,51 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/resultstore/v2/test_suite.proto", fileDescriptor_test_suite_ee31d75e3e5b9dce) -} - -var fileDescriptor_test_suite_ee31d75e3e5b9dce = []byte{ - // 641 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x97, 0xb6, 0xcb,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0x3d, 0x77, 0xdd, 0x73, 0x3a, 0x44, 0xea, 0xa4, 0xc2, 0x7f, 0x89, 0x63, 0x63, 0x33, 0x71, - 0xdc, 0xfe, 0xff, 0x38, 0xee, 0x6c, 0x20, 0x8e, 0xc6, 0x26, 0xe2, 0x68, 0xfe, 0x7b, 0x1c, 0x3f, - 0x83, 0xae, 0xee, 0x18, 0xdd, 0x03, 0x44, 0xb0, 0x3f, 0x1d, 0x07, 0xb3, 0xe9, 0xc4, 0xf7, 0x70, - 0x7f, 0x34, 0x1c, 0xe1, 0x41, 0x6b, 0x0b, 0xed, 0x81, 0xd9, 0x7f, 0x7b, 0xe1, 0x8d, 0x71, 0x80, - 0x07, 0x2d, 0x0d, 0xed, 0x83, 0x35, 0x9a, 0x04, 0x98, 0x90, 0xa9, 0x57, 0x0a, 0x35, 0xb9, 0x7e, - 0x32, 0xe9, 0xe3, 0xf1, 0x18, 0x0f, 0x5a, 0x75, 0xb4, 0x0b, 0xc6, 0x70, 0x34, 0x0e, 0x30, 0xc1, - 0x83, 0x56, 0x03, 0x59, 0xb0, 0xe3, 0xbf, 0x19, 0x79, 0x1e, 0x1e, 0xb4, 0xb6, 0x51, 0x13, 0xc0, - 0x9f, 0x7a, 0x1e, 0xc1, 0xbe, 0x8f, 0x07, 0x2d, 0xbd, 0xf3, 0x05, 0xac, 0xa5, 0xe9, 0xa0, 0x67, - 0xb0, 0x5f, 0xcd, 0x67, 0x96, 0x51, 0xce, 0xc3, 0x78, 0x91, 0xb3, 0x66, 0x25, 0x5f, 0x28, 0x15, - 0x3d, 0x81, 0x26, 0xbd, 0x89, 0x68, 0x2e, 0x12, 0x36, 0x97, 0x49, 0xad, 0x12, 0xb7, 0x77, 0xa7, - 0x06, 0xb7, 0x39, 0x45, 0x0f, 0xc1, 0xe2, 0x22, 0x8c, 0x3e, 0xce, 0x44, 0x11, 0x46, 0x54, 0x46, - 0xcf, 0x24, 0x20, 0xa5, 0xa0, 0x54, 0x3a, 0x37, 0xea, 0x4f, 0x54, 0x8e, 0x15, 0x3d, 0x82, 0x3d, - 0x39, 0xd8, 0xdf, 0x7a, 0xef, 0x4a, 0x71, 0xc3, 0x9d, 0x4f, 0x3f, 0x41, 0x27, 0x62, 0xd9, 0x8a, - 0x39, 0x79, 0xda, 0xbb, 0x51, 0xb5, 0x23, 0x66, 0x69, 0x38, 0x8f, 0x1d, 0x56, 0xc4, 0x6e, 0x4c, - 0xe7, 0xf2, 0x0d, 0xa8, 0xde, 0xaa, 0x30, 0x4f, 0xf8, 0x9f, 0x5e, 0x8c, 0x97, 0x4b, 0x9f, 0xef, - 0x75, 0x49, 0x3d, 0xff, 0x11, 0x00, 0x00, 0xff, 0xff, 0x38, 0x57, 0x5a, 0x20, 0xe4, 0x06, 0x00, - 0x00, + proto.RegisterFile("google/devtools/resultstore/v2/test_suite.proto", fileDescriptor_test_suite_02411b0af16ca4ac) +} + +var fileDescriptor_test_suite_02411b0af16ca4ac = []byte{ + // 671 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x5f, 0x6f, 0xd3, 0x3a, + 0x18, 0xc6, 0x97, 0xb6, 0xcb, 0x92, 0x37, 0x5b, 0x57, 0xf9, 0x62, 0x8a, 0x76, 0xb4, 0x73, 0xaa, + 0x1e, 0xfe, 0x74, 0x9a, 0x94, 0x48, 0xe5, 0x0e, 0x24, 0xa4, 0xad, 0x75, 0xb7, 0x42, 0x57, 0x22, + 0x27, 0xbd, 0xe1, 0xa6, 0x0a, 0x99, 0x17, 0x45, 0x24, 0x75, 0x88, 0xdd, 0x69, 0xe3, 0x13, 0x71, + 0xcd, 0x15, 0x5f, 0x86, 0xef, 0x82, 0x62, 0x67, 0xa3, 0x20, 0x41, 0x8b, 0xe8, 0x5d, 0xfd, 0xd8, + 0xcf, 0xeb, 0x27, 0xef, 0xfb, 0x53, 0x0d, 0x6e, 0xcc, 0x58, 0x9c, 0x52, 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 0x8d, 0x26, 0x01, 0x26, 0x64, 0xea, 0x95, 0x42, + 0x4d, 0xee, 0x9f, 0x4e, 0xfa, 0x78, 0x3c, 0xc6, 0x83, 0x56, 0x1d, 0xed, 0x82, 0x31, 0x1c, 0x8d, + 0x03, 0x4c, 0xf0, 0xa0, 0xd5, 0x40, 0x16, 0xec, 0xf8, 0xaf, 0x47, 0x9e, 0x87, 0x07, 0xad, 0x6d, + 0xd4, 0x04, 0xf0, 0xa7, 0x9e, 0x47, 0xb0, 0xef, 0xe3, 0x41, 0x4b, 0xef, 0x7c, 0xd6, 0xc0, 0x5a, + 0x1a, 0x0f, 0x7a, 0x0a, 0xfb, 0xd5, 0x80, 0x66, 0x19, 0xe5, 0x3c, 0x8c, 0xef, 0x41, 0x6b, 0x56, + 0xf2, 0xa5, 0x52, 0xd1, 0x63, 0x68, 0xd2, 0xdb, 0x88, 0xe6, 0x22, 0x61, 0x73, 0x89, 0x6a, 0x85, + 0xdc, 0xde, 0x83, 0x1a, 0xdc, 0xe5, 0x14, 0xfd, 0x07, 0x16, 0x17, 0x61, 0xf4, 0x7e, 0x26, 0x8a, + 0x30, 0xa2, 0x92, 0x3d, 0x93, 0x80, 0x94, 0x82, 0x52, 0x41, 0x87, 0x60, 0xd0, 0xdb, 0x9c, 0x46, + 0x82, 0x5e, 0x49, 0x9c, 0x4c, 0xf2, 0xb0, 0x46, 0x07, 0xa0, 0x87, 0x91, 0x58, 0x84, 0xa9, 0x24, + 0xc4, 0x24, 0xd5, 0xaa, 0x73, 0xab, 0xfe, 0x79, 0x25, 0x0b, 0xe8, 0x7f, 0xd8, 0x93, 0x34, 0xfc, + 0x94, 0x77, 0x57, 0x8a, 0x1b, 0x4e, 0x7b, 0xf6, 0x01, 0x3a, 0x11, 0xcb, 0x56, 0x0c, 0xd7, 0xd3, + 0xde, 0x8e, 0xaa, 0x13, 0x31, 0x4b, 0xc3, 0x79, 0xec, 0xb0, 0x22, 0x76, 0x63, 0x3a, 0x97, 0x0f, + 0x47, 0xf5, 0xc0, 0x85, 0x79, 0xc2, 0x7f, 0xf5, 0xcc, 0xbc, 0x58, 0x5a, 0xbe, 0xd3, 0xa5, 0xeb, + 0xd9, 0xb7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x4d, 0x9a, 0x00, 0x19, 0x07, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go index da8bccca9..d72f2d8f1 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go @@ -52,7 +52,7 @@ func (x AliasContext_Kind) String() string { return proto.EnumName(AliasContext_Kind_name, int32(x)) } func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{2, 0} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{2, 0} } // A SourceContext is a reference to a tree of files. A SourceContext together @@ -75,7 +75,7 @@ func (m *SourceContext) Reset() { *m = SourceContext{} } func (m *SourceContext) String() string { return proto.CompactTextString(m) } func (*SourceContext) ProtoMessage() {} func (*SourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{0} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{0} } func (m *SourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceContext.Unmarshal(m, b) @@ -102,20 +102,26 @@ type isSourceContext_Context interface { type SourceContext_CloudRepo struct { CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"` } + type SourceContext_CloudWorkspace struct { CloudWorkspace *CloudWorkspaceSourceContext `protobuf:"bytes,2,opt,name=cloud_workspace,json=cloudWorkspace,proto3,oneof"` } + type SourceContext_Gerrit struct { Gerrit *GerritSourceContext `protobuf:"bytes,3,opt,name=gerrit,proto3,oneof"` } + type SourceContext_Git struct { Git *GitSourceContext `protobuf:"bytes,6,opt,name=git,proto3,oneof"` } -func (*SourceContext_CloudRepo) isSourceContext_Context() {} +func (*SourceContext_CloudRepo) isSourceContext_Context() {} + func (*SourceContext_CloudWorkspace) isSourceContext_Context() {} -func (*SourceContext_Gerrit) isSourceContext_Context() {} -func (*SourceContext_Git) isSourceContext_Context() {} + +func (*SourceContext_Gerrit) isSourceContext_Context() {} + +func (*SourceContext_Git) isSourceContext_Context() {} func (m *SourceContext) GetContext() isSourceContext_Context { if m != nil { @@ -280,7 +286,7 @@ func (m *ExtendedSourceContext) Reset() { *m = ExtendedSourceContext{} } func (m *ExtendedSourceContext) String() string { return proto.CompactTextString(m) } func (*ExtendedSourceContext) ProtoMessage() {} func (*ExtendedSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{1} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{1} } func (m *ExtendedSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExtendedSourceContext.Unmarshal(m, b) @@ -329,7 +335,7 @@ func (m *AliasContext) Reset() { *m = AliasContext{} } func (m *AliasContext) String() string { return proto.CompactTextString(m) } func (*AliasContext) ProtoMessage() {} func (*AliasContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{2} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{2} } func (m *AliasContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AliasContext.Unmarshal(m, b) @@ -385,7 +391,7 @@ func (m *CloudRepoSourceContext) Reset() { *m = CloudRepoSourceContext{} func (m *CloudRepoSourceContext) String() string { return proto.CompactTextString(m) } func (*CloudRepoSourceContext) ProtoMessage() {} func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{3} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{3} } func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudRepoSourceContext.Unmarshal(m, b) @@ -405,6 +411,13 @@ func (m *CloudRepoSourceContext) XXX_DiscardUnknown() { var xxx_messageInfo_CloudRepoSourceContext proto.InternalMessageInfo +func (m *CloudRepoSourceContext) GetRepoId() *RepoId { + if m != nil { + return m.RepoId + } + return nil +} + type isCloudRepoSourceContext_Revision interface { isCloudRepoSourceContext_Revision() } @@ -412,15 +425,19 @@ type isCloudRepoSourceContext_Revision interface { type CloudRepoSourceContext_RevisionId struct { RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"` } + type CloudRepoSourceContext_AliasName struct { AliasName string `protobuf:"bytes,3,opt,name=alias_name,json=aliasName,proto3,oneof"` } + type CloudRepoSourceContext_AliasContext struct { AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"` } -func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} -func (*CloudRepoSourceContext_AliasName) isCloudRepoSourceContext_Revision() {} +func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} + +func (*CloudRepoSourceContext_AliasName) isCloudRepoSourceContext_Revision() {} + func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {} func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision { @@ -430,13 +447,6 @@ func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision return nil } -func (m *CloudRepoSourceContext) GetRepoId() *RepoId { - if m != nil { - return m.RepoId - } - return nil -} - func (m *CloudRepoSourceContext) GetRevisionId() string { if x, ok := m.GetRevision().(*CloudRepoSourceContext_RevisionId); ok { return x.RevisionId @@ -559,7 +569,7 @@ func (m *CloudWorkspaceSourceContext) Reset() { *m = CloudWorkspaceSourc func (m *CloudWorkspaceSourceContext) String() string { return proto.CompactTextString(m) } func (*CloudWorkspaceSourceContext) ProtoMessage() {} func (*CloudWorkspaceSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{4} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{4} } func (m *CloudWorkspaceSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudWorkspaceSourceContext.Unmarshal(m, b) @@ -618,7 +628,7 @@ func (m *GerritSourceContext) Reset() { *m = GerritSourceContext{} } func (m *GerritSourceContext) String() string { return proto.CompactTextString(m) } func (*GerritSourceContext) ProtoMessage() {} func (*GerritSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{5} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{5} } func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GerritSourceContext.Unmarshal(m, b) @@ -638,6 +648,20 @@ func (m *GerritSourceContext) XXX_DiscardUnknown() { var xxx_messageInfo_GerritSourceContext proto.InternalMessageInfo +func (m *GerritSourceContext) GetHostUri() string { + if m != nil { + return m.HostUri + } + return "" +} + +func (m *GerritSourceContext) GetGerritProject() string { + if m != nil { + return m.GerritProject + } + return "" +} + type isGerritSourceContext_Revision interface { isGerritSourceContext_Revision() } @@ -645,15 +669,19 @@ type isGerritSourceContext_Revision interface { type GerritSourceContext_RevisionId struct { RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"` } + type GerritSourceContext_AliasName struct { AliasName string `protobuf:"bytes,4,opt,name=alias_name,json=aliasName,proto3,oneof"` } + type GerritSourceContext_AliasContext struct { AliasContext *AliasContext `protobuf:"bytes,5,opt,name=alias_context,json=aliasContext,proto3,oneof"` } -func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} -func (*GerritSourceContext_AliasName) isGerritSourceContext_Revision() {} +func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} + +func (*GerritSourceContext_AliasName) isGerritSourceContext_Revision() {} + func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {} func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { @@ -663,20 +691,6 @@ func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { return nil } -func (m *GerritSourceContext) GetHostUri() string { - if m != nil { - return m.HostUri - } - return "" -} - -func (m *GerritSourceContext) GetGerritProject() string { - if m != nil { - return m.GerritProject - } - return "" -} - func (m *GerritSourceContext) GetRevisionId() string { if x, ok := m.GetRevision().(*GerritSourceContext_RevisionId); ok { return x.RevisionId @@ -800,7 +814,7 @@ func (m *GitSourceContext) Reset() { *m = GitSourceContext{} } func (m *GitSourceContext) String() string { return proto.CompactTextString(m) } func (*GitSourceContext) ProtoMessage() {} func (*GitSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{6} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{6} } func (m *GitSourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GitSourceContext.Unmarshal(m, b) @@ -852,7 +866,7 @@ func (m *RepoId) Reset() { *m = RepoId{} } func (m *RepoId) String() string { return proto.CompactTextString(m) } func (*RepoId) ProtoMessage() {} func (*RepoId) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{7} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{7} } func (m *RepoId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepoId.Unmarshal(m, b) @@ -879,12 +893,14 @@ type isRepoId_Id interface { type RepoId_ProjectRepoId struct { ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"` } + type RepoId_Uid struct { Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"` } func (*RepoId_ProjectRepoId) isRepoId_Id() {} -func (*RepoId_Uid) isRepoId_Id() {} + +func (*RepoId_Uid) isRepoId_Id() {} func (m *RepoId) GetId() isRepoId_Id { if m != nil { @@ -993,7 +1009,7 @@ func (m *ProjectRepoId) Reset() { *m = ProjectRepoId{} } func (m *ProjectRepoId) String() string { return proto.CompactTextString(m) } func (*ProjectRepoId) ProtoMessage() {} func (*ProjectRepoId) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{8} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{8} } func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProjectRepoId.Unmarshal(m, b) @@ -1045,7 +1061,7 @@ func (m *CloudWorkspaceId) Reset() { *m = CloudWorkspaceId{} } func (m *CloudWorkspaceId) String() string { return proto.CompactTextString(m) } func (*CloudWorkspaceId) ProtoMessage() {} func (*CloudWorkspaceId) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_97298317aaf52f69, []int{9} + return fileDescriptor_source_context_e7d60a1a278f0d8f, []int{9} } func (m *CloudWorkspaceId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudWorkspaceId.Unmarshal(m, b) @@ -1095,59 +1111,60 @@ func init() { } func init() { - proto.RegisterFile("google/devtools/source/v1/source_context.proto", fileDescriptor_source_context_97298317aaf52f69) -} - -var fileDescriptor_source_context_97298317aaf52f69 = []byte{ - // 800 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x4e, 0xdb, 0x48, - 0x14, 0x8e, 0xe3, 0x90, 0xe0, 0x13, 0x02, 0xd1, 0xec, 0x8f, 0x02, 0x2c, 0x02, 0x2c, 0xad, 0x16, - 0x89, 0x95, 0xa3, 0x64, 0xa5, 0xd5, 0x2e, 0xad, 0x44, 0x09, 0xa4, 0x24, 0x82, 0x06, 0x34, 0xa5, - 0xf4, 0x47, 0x91, 0x22, 0x63, 0x8f, 0x8c, 0x8b, 0xf1, 0x58, 0xb6, 0x13, 0xe0, 0x25, 0x7a, 0xdd, - 0x67, 0xe8, 0x23, 0xf4, 0x11, 0xfa, 0x0c, 0x7d, 0x84, 0x5e, 0x56, 0xea, 0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d5, 0x50, 0xc3, 0x67, 0xd0, 0x07, 0x90, 0x17, 0x3d, 0x88, 0x30, 0xcc, 0xc9, 0x84, 0xf4, 0x46, - 0xfb, 0x37, 0xed, 0x2a, 0x91, 0xd9, 0x12, 0x12, 0xad, 0x0c, 0x2e, 0x05, 0xc3, 0x06, 0x84, 0x40, - 0xed, 0x0f, 0xf5, 0x31, 0xdb, 0x34, 0x72, 0x90, 0x75, 0x6d, 0x7d, 0x0f, 0x4a, 0x23, 0x5c, 0xb4, - 0x04, 0x90, 0xb8, 0x97, 0x9e, 0x35, 0xac, 0x49, 0x4b, 0xdb, 0x46, 0x8b, 0xa0, 0xf1, 0xa8, 0x86, - 0xa6, 0x77, 0x9a, 0x19, 0x58, 0x9e, 0xf5, 0x13, 0x28, 0x8f, 0xf7, 0xd1, 0x0f, 0x8d, 0xe1, 0x84, - 0x5b, 0xa2, 0xf1, 0x51, 0x81, 0x25, 0x8b, 0x9e, 0xdf, 0x2d, 0xd2, 0x40, 0x23, 0xc5, 0x38, 0x64, - 0x0f, 0xe2, 0xa1, 0xf2, 0x66, 0x53, 0x12, 0x1c, 0xea, 0x99, 0xbe, 0x63, 0xd0, 0xd0, 0xa9, 0x3a, - 0xc4, 0xe7, 0xcf, 0x65, 0x55, 0xfc, 0x32, 0x03, 0x37, 0x9a, 0xf0, 0x34, 0x3f, 0x12, 0xab, 0x0f, - 0xd9, 0xe5, 0x5d, 0xa1, 0xc0, 0x8f, 0x68, 0xec, 0x90, 0xc1, 0x11, 0x77, 0x2c, 0xbc, 0x19, 0xc7, - 0xb5, 0x4f, 0x09, 0xa2, 0xcb, 0x11, 0xdd, 0x04, 0xd1, 0x15, 0x88, 0xee, 0x71, 0xed, 0x24, 0xcf, - 0xfd, 0xfd, 0xf3, 0x3d, 0x00, 0x00, 0xff, 0xff, 0x54, 0x77, 0xc5, 0xa9, 0x09, 0x08, 0x00, 0x00, + proto.RegisterFile("google/devtools/source/v1/source_context.proto", fileDescriptor_source_context_e7d60a1a278f0d8f) +} + +var fileDescriptor_source_context_e7d60a1a278f0d8f = []byte{ + // 809 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x4e, 0xdb, 0x4a, + 0x14, 0x8e, 0x9d, 0x90, 0xe0, 0x13, 0x02, 0xd1, 0xdc, 0x1f, 0x05, 0xb8, 0x08, 0xf0, 0xd5, 0xd5, + 0x45, 0xa2, 0x72, 0x94, 0x54, 0xaa, 0x5a, 0x5a, 0x89, 0x62, 0x48, 0x49, 0x04, 0x0d, 0x68, 0x4a, + 0xe9, 0x8f, 0x22, 0x45, 0xc6, 0x1e, 0x19, 0x17, 0xe3, 0xb1, 0x6c, 0x27, 0xc0, 0x26, 0xfa, 0xdc, + 0x35, 0x74, 0x0f, 0xdd, 0x40, 0xd7, 0xd0, 0x25, 0x74, 0x01, 0x48, 0x7d, 0xa9, 0x66, 0xc6, 0x86, + 0x24, 0x04, 0x83, 0xd4, 0x3e, 0x79, 0xe6, 0xf8, 0xfb, 0xbe, 0x73, 0xe6, 0xfc, 0xcc, 0x80, 0x66, + 0x53, 0x6a, 0xbb, 0xa4, 0x6a, 0x91, 0x7e, 0x44, 0xa9, 0x1b, 0x56, 0x43, 0xda, 0x0b, 0x4c, 0x52, + 0xed, 0xd7, 0xe2, 0x55, 0xd7, 0xa4, 0x5e, 0x44, 0xce, 0x23, 0xcd, 0x0f, 0x68, 0x44, 0xd1, 0xac, + 0xc0, 0x6b, 0x09, 0x5e, 0x13, 0x28, 0xad, 0x5f, 0x9b, 0xfb, 0x27, 0x96, 0x32, 0x7c, 0xa7, 0x6a, + 0x78, 0x1e, 0x8d, 0x8c, 0xc8, 0xa1, 0x5e, 0x28, 0x88, 0xea, 0x37, 0x19, 0x4a, 0xaf, 0x38, 0x76, + 0x53, 0x08, 0x22, 0x0c, 0x60, 0xba, 0xb4, 0x67, 0x75, 0x03, 0xe2, 0xd3, 0x8a, 0xb4, 0x24, 0xad, + 0x14, 0xeb, 0x35, 0xed, 0x56, 0x7d, 0x6d, 0x93, 0x81, 0x31, 0xf1, 0xe9, 0x90, 0x4c, 0x33, 0x83, + 0x15, 0x33, 0xf9, 0x83, 0x0c, 0x98, 0x11, 0x9a, 0x67, 0x34, 0x38, 0x09, 0x7d, 0xc3, 0x24, 0x15, + 0x99, 0x0b, 0x3f, 0xba, 0x4b, 0xf8, 0x4d, 0x42, 0x18, 0x55, 0x9f, 0x36, 0x87, 0x7e, 0xa3, 0x26, + 0xe4, 0x6d, 0x12, 0x04, 0x4e, 0x54, 0xc9, 0x72, 0x65, 0x2d, 0x45, 0x79, 0x9b, 0x03, 0x47, 0x15, + 0x63, 0x3e, 0x5a, 0x87, 0xac, 0xed, 0x44, 0x95, 0x3c, 0x97, 0x59, 0x4d, 0x93, 0xb9, 0xa9, 0xc1, + 0x98, 0xba, 0x02, 0x85, 0xb8, 0x3a, 0xea, 0x77, 0x09, 0xfe, 0x6a, 0x9c, 0x47, 0xc4, 0xb3, 0x88, + 0x35, 0x9c, 0x66, 0xfd, 0x0a, 0x14, 0xe7, 0x78, 0x25, 0xc5, 0xd3, 0x10, 0x15, 0x27, 0x44, 0x74, + 0x00, 0x79, 0xd7, 0x38, 0x22, 0x6e, 0x58, 0x91, 0x97, 0xb2, 0x2b, 0xc5, 0xfa, 0xb3, 0x14, 0x89, + 0xb1, 0x51, 0x68, 0xbb, 0x9c, 0xde, 0xf0, 0xa2, 0xe0, 0x02, 0xc7, 0x5a, 0x73, 0x4f, 0xa0, 0x38, + 0x60, 0x46, 0x65, 0xc8, 0x9e, 0x90, 0x0b, 0x1e, 0xa4, 0x82, 0xd9, 0x12, 0xfd, 0x09, 0x13, 0x7d, + 0xc3, 0xed, 0x89, 0x1a, 0x2a, 0x58, 0x6c, 0xd6, 0xe4, 0xc7, 0x92, 0xfa, 0x49, 0x82, 0xa9, 0x0d, + 0xd7, 0x31, 0xc2, 0xe4, 0x94, 0xcf, 0x21, 0x77, 0xe2, 0x78, 0x16, 0x67, 0x4f, 0xd7, 0x1f, 0xa4, + 0xc4, 0x37, 0x48, 0xd3, 0x76, 0x1c, 0xcf, 0xc2, 0x9c, 0x89, 0x10, 0xe4, 0x3c, 0xe3, 0x34, 0xf1, + 0xc5, 0xd7, 0x6a, 0x1d, 0x72, 0x0c, 0x81, 0x0a, 0x90, 0xdd, 0x68, 0xbf, 0x2b, 0x67, 0x90, 0x02, + 0x13, 0x2f, 0x5a, 0x6f, 0x1b, 0x5b, 0x65, 0x09, 0x15, 0xa1, 0xf0, 0x72, 0xef, 0x70, 0x43, 0xdf, + 0x6d, 0x94, 0x65, 0x66, 0xdf, 0x3b, 0x68, 0x36, 0x70, 0x39, 0xa7, 0x5e, 0x4a, 0xf0, 0xf7, 0xf8, + 0x56, 0x45, 0x6b, 0x50, 0x60, 0xbd, 0xde, 0x75, 0xac, 0xb8, 0x14, 0xcb, 0x29, 0x71, 0x32, 0x7a, + 0xcb, 0xc2, 0xf9, 0x80, 0x7f, 0xd1, 0x32, 0x14, 0x03, 0xd2, 0x77, 0x42, 0x87, 0x7a, 0x8c, 0xcf, + 0xa3, 0x6c, 0x66, 0x30, 0x24, 0xc6, 0x96, 0x85, 0xfe, 0x05, 0x30, 0xd8, 0xe1, 0xba, 0xfc, 0x1c, + 0xac, 0x3b, 0x15, 0x5d, 0xae, 0x48, 0x6c, 0x42, 0xb8, 0xbd, 0x6d, 0x9c, 0x12, 0xd4, 0x86, 0x92, + 0x00, 0x25, 0x4d, 0x91, 0xe3, 0x91, 0xfc, 0x7f, 0xcf, 0x8c, 0x35, 0x33, 0x78, 0xca, 0x18, 0xd8, + 0xeb, 0x00, 0x93, 0x49, 0x08, 0xea, 0x47, 0x09, 0xe6, 0x53, 0x86, 0x09, 0xb5, 0x61, 0xea, 0x6a, + 0x2e, 0xaf, 0x93, 0xb0, 0x7a, 0xef, 0xd1, 0x6c, 0x59, 0xb8, 0x78, 0x76, 0xbd, 0x41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 0xd9, 0xc3, 0xb8, 0x2f, 0xbd, 0x5f, 0x8f, 0x09, 0x36, 0x75, 0x0d, + 0xcf, 0xd6, 0x68, 0x60, 0x57, 0x6d, 0xe2, 0xf1, 0x67, 0xb3, 0x2a, 0x7e, 0x19, 0xbe, 0x13, 0x8e, + 0x79, 0xa2, 0x9f, 0x8a, 0xd5, 0xa5, 0x24, 0x7d, 0x96, 0x17, 0xb7, 0x85, 0x08, 0x3f, 0xa5, 0xb6, + 0x45, 0xfa, 0x07, 0xdc, 0xb7, 0x70, 0xa8, 0x1d, 0xd6, 0xbe, 0x26, 0x88, 0x0e, 0x47, 0x74, 0x12, + 0x44, 0x47, 0x20, 0x3a, 0x87, 0xb5, 0xa3, 0x3c, 0x77, 0xf9, 0xf0, 0x67, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x98, 0x86, 0xf5, 0x6f, 0x14, 0x08, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go index 326d0a844..41d0474c9 100644 --- a/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go @@ -50,7 +50,7 @@ func (m *Repo) Reset() { *m = Repo{} } func (m *Repo) String() string { return proto.CompactTextString(m) } func (*Repo) ProtoMessage() {} func (*Repo) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{0} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{0} } func (m *Repo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Repo.Unmarshal(m, b) @@ -121,7 +121,7 @@ func (m *MirrorConfig) Reset() { *m = MirrorConfig{} } func (m *MirrorConfig) String() string { return proto.CompactTextString(m) } func (*MirrorConfig) ProtoMessage() {} func (*MirrorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{1} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{1} } func (m *MirrorConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MirrorConfig.Unmarshal(m, b) @@ -176,7 +176,7 @@ func (m *GetRepoRequest) Reset() { *m = GetRepoRequest{} } func (m *GetRepoRequest) String() string { return proto.CompactTextString(m) } func (*GetRepoRequest) ProtoMessage() {} func (*GetRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{2} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{2} } func (m *GetRepoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetRepoRequest.Unmarshal(m, b) @@ -224,7 +224,7 @@ func (m *ListReposRequest) Reset() { *m = ListReposRequest{} } func (m *ListReposRequest) String() string { return proto.CompactTextString(m) } func (*ListReposRequest) ProtoMessage() {} func (*ListReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{3} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{3} } func (m *ListReposRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListReposRequest.Unmarshal(m, b) @@ -282,7 +282,7 @@ func (m *ListReposResponse) Reset() { *m = ListReposResponse{} } func (m *ListReposResponse) String() string { return proto.CompactTextString(m) } func (*ListReposResponse) ProtoMessage() {} func (*ListReposResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{4} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{4} } func (m *ListReposResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListReposResponse.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *CreateRepoRequest) Reset() { *m = CreateRepoRequest{} } func (m *CreateRepoRequest) String() string { return proto.CompactTextString(m) } func (*CreateRepoRequest) ProtoMessage() {} func (*CreateRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{5} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{5} } func (m *CreateRepoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRepoRequest.Unmarshal(m, b) @@ -381,7 +381,7 @@ func (m *DeleteRepoRequest) Reset() { *m = DeleteRepoRequest{} } func (m *DeleteRepoRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRepoRequest) ProtoMessage() {} func (*DeleteRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_sourcerepo_d42e6dcb58a0b298, []int{6} + return fileDescriptor_sourcerepo_c3970ced7dbc10e1, []int{6} } func (m *DeleteRepoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRepoRequest.Unmarshal(m, b) @@ -721,10 +721,10 @@ var _SourceRepo_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/devtools/sourcerepo/v1/sourcerepo.proto", fileDescriptor_sourcerepo_d42e6dcb58a0b298) + proto.RegisterFile("google/devtools/sourcerepo/v1/sourcerepo.proto", fileDescriptor_sourcerepo_c3970ced7dbc10e1) } -var fileDescriptor_sourcerepo_d42e6dcb58a0b298 = []byte{ +var fileDescriptor_sourcerepo_c3970ced7dbc10e1 = []byte{ // 743 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xd1, 0x6e, 0xd3, 0x4a, 0x10, 0xd5, 0x36, 0x69, 0x7b, 0x33, 0x4d, 0x6f, 0xdb, 0x95, 0x6e, 0x15, 0xa5, 0x37, 0x55, 0xae, diff --git a/vendor/google.golang.org/genproto/googleapis/example/library/v1/library.pb.go b/vendor/google.golang.org/genproto/googleapis/example/library/v1/library.pb.go index 8039d942d..25c487633 100644 --- a/vendor/google.golang.org/genproto/googleapis/example/library/v1/library.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/example/library/v1/library.pb.go @@ -46,7 +46,7 @@ func (m *Book) Reset() { *m = Book{} } func (m *Book) String() string { return proto.CompactTextString(m) } func (*Book) ProtoMessage() {} func (*Book) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{0} + return fileDescriptor_library_e1452ae13084213f, []int{0} } func (m *Book) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Book.Unmarshal(m, b) @@ -111,7 +111,7 @@ func (m *Shelf) Reset() { *m = Shelf{} } func (m *Shelf) String() string { return proto.CompactTextString(m) } func (*Shelf) ProtoMessage() {} func (*Shelf) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{1} + return fileDescriptor_library_e1452ae13084213f, []int{1} } func (m *Shelf) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Shelf.Unmarshal(m, b) @@ -158,7 +158,7 @@ func (m *CreateShelfRequest) Reset() { *m = CreateShelfRequest{} } func (m *CreateShelfRequest) String() string { return proto.CompactTextString(m) } func (*CreateShelfRequest) ProtoMessage() {} func (*CreateShelfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{2} + return fileDescriptor_library_e1452ae13084213f, []int{2} } func (m *CreateShelfRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateShelfRequest.Unmarshal(m, b) @@ -198,7 +198,7 @@ func (m *GetShelfRequest) Reset() { *m = GetShelfRequest{} } func (m *GetShelfRequest) String() string { return proto.CompactTextString(m) } func (*GetShelfRequest) ProtoMessage() {} func (*GetShelfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{3} + return fileDescriptor_library_e1452ae13084213f, []int{3} } func (m *GetShelfRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetShelfRequest.Unmarshal(m, b) @@ -244,7 +244,7 @@ func (m *ListShelvesRequest) Reset() { *m = ListShelvesRequest{} } func (m *ListShelvesRequest) String() string { return proto.CompactTextString(m) } func (*ListShelvesRequest) ProtoMessage() {} func (*ListShelvesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{4} + return fileDescriptor_library_e1452ae13084213f, []int{4} } func (m *ListShelvesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListShelvesRequest.Unmarshal(m, b) @@ -297,7 +297,7 @@ func (m *ListShelvesResponse) Reset() { *m = ListShelvesResponse{} } func (m *ListShelvesResponse) String() string { return proto.CompactTextString(m) } func (*ListShelvesResponse) ProtoMessage() {} func (*ListShelvesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{5} + return fileDescriptor_library_e1452ae13084213f, []int{5} } func (m *ListShelvesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListShelvesResponse.Unmarshal(m, b) @@ -344,7 +344,7 @@ func (m *DeleteShelfRequest) Reset() { *m = DeleteShelfRequest{} } func (m *DeleteShelfRequest) String() string { return proto.CompactTextString(m) } func (*DeleteShelfRequest) ProtoMessage() {} func (*DeleteShelfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{6} + return fileDescriptor_library_e1452ae13084213f, []int{6} } func (m *DeleteShelfRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteShelfRequest.Unmarshal(m, b) @@ -387,7 +387,7 @@ func (m *MergeShelvesRequest) Reset() { *m = MergeShelvesRequest{} } func (m *MergeShelvesRequest) String() string { return proto.CompactTextString(m) } func (*MergeShelvesRequest) ProtoMessage() {} func (*MergeShelvesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{7} + return fileDescriptor_library_e1452ae13084213f, []int{7} } func (m *MergeShelvesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MergeShelvesRequest.Unmarshal(m, b) @@ -436,7 +436,7 @@ func (m *CreateBookRequest) Reset() { *m = CreateBookRequest{} } func (m *CreateBookRequest) String() string { return proto.CompactTextString(m) } func (*CreateBookRequest) ProtoMessage() {} func (*CreateBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{8} + return fileDescriptor_library_e1452ae13084213f, []int{8} } func (m *CreateBookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBookRequest.Unmarshal(m, b) @@ -483,7 +483,7 @@ func (m *GetBookRequest) Reset() { *m = GetBookRequest{} } func (m *GetBookRequest) String() string { return proto.CompactTextString(m) } func (*GetBookRequest) ProtoMessage() {} func (*GetBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{9} + return fileDescriptor_library_e1452ae13084213f, []int{9} } func (m *GetBookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBookRequest.Unmarshal(m, b) @@ -531,7 +531,7 @@ func (m *ListBooksRequest) Reset() { *m = ListBooksRequest{} } func (m *ListBooksRequest) String() string { return proto.CompactTextString(m) } func (*ListBooksRequest) ProtoMessage() {} func (*ListBooksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{10} + return fileDescriptor_library_e1452ae13084213f, []int{10} } func (m *ListBooksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBooksRequest.Unmarshal(m, b) @@ -591,7 +591,7 @@ func (m *ListBooksResponse) Reset() { *m = ListBooksResponse{} } func (m *ListBooksResponse) String() string { return proto.CompactTextString(m) } func (*ListBooksResponse) ProtoMessage() {} func (*ListBooksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{11} + return fileDescriptor_library_e1452ae13084213f, []int{11} } func (m *ListBooksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBooksResponse.Unmarshal(m, b) @@ -640,7 +640,7 @@ func (m *UpdateBookRequest) Reset() { *m = UpdateBookRequest{} } func (m *UpdateBookRequest) String() string { return proto.CompactTextString(m) } func (*UpdateBookRequest) ProtoMessage() {} func (*UpdateBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{12} + return fileDescriptor_library_e1452ae13084213f, []int{12} } func (m *UpdateBookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateBookRequest.Unmarshal(m, b) @@ -687,7 +687,7 @@ func (m *DeleteBookRequest) Reset() { *m = DeleteBookRequest{} } func (m *DeleteBookRequest) String() string { return proto.CompactTextString(m) } func (*DeleteBookRequest) ProtoMessage() {} func (*DeleteBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{13} + return fileDescriptor_library_e1452ae13084213f, []int{13} } func (m *DeleteBookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBookRequest.Unmarshal(m, b) @@ -730,7 +730,7 @@ func (m *MoveBookRequest) Reset() { *m = MoveBookRequest{} } func (m *MoveBookRequest) String() string { return proto.CompactTextString(m) } func (*MoveBookRequest) ProtoMessage() {} func (*MoveBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_library_e01297b44a7dfe3d, []int{14} + return fileDescriptor_library_e1452ae13084213f, []int{14} } func (m *MoveBookRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveBookRequest.Unmarshal(m, b) @@ -1229,10 +1229,10 @@ var _LibraryService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/example/library/v1/library.proto", fileDescriptor_library_e01297b44a7dfe3d) + proto.RegisterFile("google/example/library/v1/library.proto", fileDescriptor_library_e1452ae13084213f) } -var fileDescriptor_library_e01297b44a7dfe3d = []byte{ +var fileDescriptor_library_e1452ae13084213f = []byte{ // 838 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdb, 0x4e, 0xdb, 0x48, 0x18, 0x96, 0x21, 0x81, 0xf0, 0x87, 0x53, 0x06, 0x84, 0xb2, 0x26, 0x2c, 0xd9, 0x11, 0x87, 0x6c, diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/firestore_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/firestore_admin.pb.go index 09c077a40..ac7f1bee8 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/firestore_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/firestore_admin.pb.go @@ -27,6 +27,58 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +// The various possible states for an ongoing Operation. +type OperationState int32 + +const ( + // Unspecified. + OperationState_STATE_UNSPECIFIED OperationState = 0 + // Request is being prepared for processing. + OperationState_INITIALIZING OperationState = 1 + // Request is actively being processed. + OperationState_PROCESSING OperationState = 2 + // Request is in the process of being cancelled after user called + // google.longrunning.Operations.CancelOperation on the operation. + OperationState_CANCELLING OperationState = 3 + // Request has been processed and is in its finalization stage. + OperationState_FINALIZING OperationState = 4 + // Request has completed successfully. + OperationState_SUCCESSFUL OperationState = 5 + // Request has finished being processed, but encountered an error. + OperationState_FAILED OperationState = 6 + // Request has finished being cancelled after user called + // google.longrunning.Operations.CancelOperation. + OperationState_CANCELLED OperationState = 7 +) + +var OperationState_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "INITIALIZING", + 2: "PROCESSING", + 3: "CANCELLING", + 4: "FINALIZING", + 5: "SUCCESSFUL", + 6: "FAILED", + 7: "CANCELLED", +} +var OperationState_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "INITIALIZING": 1, + "PROCESSING": 2, + "CANCELLING": 3, + "FINALIZING": 4, + "SUCCESSFUL": 5, + "FAILED": 6, + "CANCELLED": 7, +} + +func (x OperationState) String() string { + return proto.EnumName(OperationState_name, int32(x)) +} +func (OperationState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{0} +} + // The type of index operation. type IndexOperationMetadata_OperationType int32 @@ -50,7 +102,7 @@ func (x IndexOperationMetadata_OperationType) String() string { return proto.EnumName(IndexOperationMetadata_OperationType_name, int32(x)) } func (IndexOperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{0, 0} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{0, 0} } // Metadata for index operations. This metadata populates @@ -81,7 +133,7 @@ func (m *IndexOperationMetadata) Reset() { *m = IndexOperationMetadata{} func (m *IndexOperationMetadata) String() string { return proto.CompactTextString(m) } func (*IndexOperationMetadata) ProtoMessage() {} func (*IndexOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{0} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{0} } func (m *IndexOperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IndexOperationMetadata.Unmarshal(m, b) @@ -160,7 +212,7 @@ func (m *Progress) Reset() { *m = Progress{} } func (m *Progress) String() string { return proto.CompactTextString(m) } func (*Progress) ProtoMessage() {} func (*Progress) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{1} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{1} } func (m *Progress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Progress.Unmarshal(m, b) @@ -211,7 +263,7 @@ func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } func (*CreateIndexRequest) ProtoMessage() {} func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{2} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{2} } func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) @@ -259,7 +311,7 @@ func (m *GetIndexRequest) Reset() { *m = GetIndexRequest{} } func (m *GetIndexRequest) String() string { return proto.CompactTextString(m) } func (*GetIndexRequest) ProtoMessage() {} func (*GetIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{3} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{3} } func (m *GetIndexRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetIndexRequest.Unmarshal(m, b) @@ -305,7 +357,7 @@ func (m *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} } func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) } func (*ListIndexesRequest) ProtoMessage() {} func (*ListIndexesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{4} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{4} } func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListIndexesRequest.Unmarshal(m, b) @@ -367,7 +419,7 @@ func (m *DeleteIndexRequest) Reset() { *m = DeleteIndexRequest{} } func (m *DeleteIndexRequest) String() string { return proto.CompactTextString(m) } func (*DeleteIndexRequest) ProtoMessage() {} func (*DeleteIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{5} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{5} } func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteIndexRequest.Unmarshal(m, b) @@ -409,7 +461,7 @@ func (m *ListIndexesResponse) Reset() { *m = ListIndexesResponse{} } func (m *ListIndexesResponse) String() string { return proto.CompactTextString(m) } func (*ListIndexesResponse) ProtoMessage() {} func (*ListIndexesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_admin_bf8d6f204477dd80, []int{6} + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{6} } func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListIndexesResponse.Unmarshal(m, b) @@ -443,6 +495,368 @@ func (m *ListIndexesResponse) GetNextPageToken() string { return "" } +// The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments]. +type ExportDocumentsRequest struct { + // Database to export. Should be of the form: + // `projects/{project_id}/databases/{database_id}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Which collection ids to export. Unspecified means all collections. + CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` + // The output URI. Currently only supports Google Cloud Storage URIs of the + // form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name + // of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional + // Google Cloud Storage namespace path. When + // choosing a name, be sure to consider Google Cloud Storage naming + // guidelines: https://cloud.google.com/storage/docs/naming. + // If the URI is a bucket (without a namespace path), a prefix will be + // generated based on the start time. + OutputUriPrefix string `protobuf:"bytes,4,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExportDocumentsRequest) Reset() { *m = ExportDocumentsRequest{} } +func (m *ExportDocumentsRequest) String() string { return proto.CompactTextString(m) } +func (*ExportDocumentsRequest) ProtoMessage() {} +func (*ExportDocumentsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{7} +} +func (m *ExportDocumentsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportDocumentsRequest.Unmarshal(m, b) +} +func (m *ExportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportDocumentsRequest.Marshal(b, m, deterministic) +} +func (dst *ExportDocumentsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportDocumentsRequest.Merge(dst, src) +} +func (m *ExportDocumentsRequest) XXX_Size() int { + return xxx_messageInfo_ExportDocumentsRequest.Size(m) +} +func (m *ExportDocumentsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ExportDocumentsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportDocumentsRequest proto.InternalMessageInfo + +func (m *ExportDocumentsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ExportDocumentsRequest) GetCollectionIds() []string { + if m != nil { + return m.CollectionIds + } + return nil +} + +func (m *ExportDocumentsRequest) GetOutputUriPrefix() string { + if m != nil { + return m.OutputUriPrefix + } + return "" +} + +// The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments]. +type ImportDocumentsRequest struct { + // Database to import into. Should be of the form: + // `projects/{project_id}/databases/{database_id}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Which collection ids to import. Unspecified means all collections included + // in the import. + CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` + // Location of the exported files. + // This must match the output_uri_prefix of an ExportDocumentsResponse from + // an export that has completed successfully. + // See: + // [google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix]. + InputUriPrefix string `protobuf:"bytes,4,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportDocumentsRequest) Reset() { *m = ImportDocumentsRequest{} } +func (m *ImportDocumentsRequest) String() string { return proto.CompactTextString(m) } +func (*ImportDocumentsRequest) ProtoMessage() {} +func (*ImportDocumentsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{8} +} +func (m *ImportDocumentsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportDocumentsRequest.Unmarshal(m, b) +} +func (m *ImportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportDocumentsRequest.Marshal(b, m, deterministic) +} +func (dst *ImportDocumentsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportDocumentsRequest.Merge(dst, src) +} +func (m *ImportDocumentsRequest) XXX_Size() int { + return xxx_messageInfo_ImportDocumentsRequest.Size(m) +} +func (m *ImportDocumentsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ImportDocumentsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportDocumentsRequest proto.InternalMessageInfo + +func (m *ImportDocumentsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ImportDocumentsRequest) GetCollectionIds() []string { + if m != nil { + return m.CollectionIds + } + return nil +} + +func (m *ImportDocumentsRequest) GetInputUriPrefix() string { + if m != nil { + return m.InputUriPrefix + } + return "" +} + +// Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field. +type ExportDocumentsResponse struct { + // Location of the output files. This can be used to begin an import + // into Cloud Firestore (this project or another project) after the operation + // completes successfully. + OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExportDocumentsResponse) Reset() { *m = ExportDocumentsResponse{} } +func (m *ExportDocumentsResponse) String() string { return proto.CompactTextString(m) } +func (*ExportDocumentsResponse) ProtoMessage() {} +func (*ExportDocumentsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{9} +} +func (m *ExportDocumentsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportDocumentsResponse.Unmarshal(m, b) +} +func (m *ExportDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportDocumentsResponse.Marshal(b, m, deterministic) +} +func (dst *ExportDocumentsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportDocumentsResponse.Merge(dst, src) +} +func (m *ExportDocumentsResponse) XXX_Size() int { + return xxx_messageInfo_ExportDocumentsResponse.Size(m) +} +func (m *ExportDocumentsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ExportDocumentsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportDocumentsResponse proto.InternalMessageInfo + +func (m *ExportDocumentsResponse) GetOutputUriPrefix() string { + if m != nil { + return m.OutputUriPrefix + } + return "" +} + +// Metadata for ExportDocuments operations. +type ExportDocumentsMetadata struct { + // The time that work began on the operation. + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // The time the operation ended, either successfully or otherwise. Unset if + // the operation is still active. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // The state of the export operation. + OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta1.OperationState" json:"operation_state,omitempty"` + // An estimate of the number of documents processed. + ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` + // An estimate of the number of bytes processed. + ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` + // Which collection ids are being exported. + CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` + // Where the entities are being exported to. + OutputUriPrefix string `protobuf:"bytes,7,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExportDocumentsMetadata) Reset() { *m = ExportDocumentsMetadata{} } +func (m *ExportDocumentsMetadata) String() string { return proto.CompactTextString(m) } +func (*ExportDocumentsMetadata) ProtoMessage() {} +func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{10} +} +func (m *ExportDocumentsMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExportDocumentsMetadata.Unmarshal(m, b) +} +func (m *ExportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExportDocumentsMetadata.Marshal(b, m, deterministic) +} +func (dst *ExportDocumentsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportDocumentsMetadata.Merge(dst, src) +} +func (m *ExportDocumentsMetadata) XXX_Size() int { + return xxx_messageInfo_ExportDocumentsMetadata.Size(m) +} +func (m *ExportDocumentsMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_ExportDocumentsMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportDocumentsMetadata proto.InternalMessageInfo + +func (m *ExportDocumentsMetadata) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *ExportDocumentsMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *ExportDocumentsMetadata) GetOperationState() OperationState { + if m != nil { + return m.OperationState + } + return OperationState_STATE_UNSPECIFIED +} + +func (m *ExportDocumentsMetadata) GetProgressDocuments() *Progress { + if m != nil { + return m.ProgressDocuments + } + return nil +} + +func (m *ExportDocumentsMetadata) GetProgressBytes() *Progress { + if m != nil { + return m.ProgressBytes + } + return nil +} + +func (m *ExportDocumentsMetadata) GetCollectionIds() []string { + if m != nil { + return m.CollectionIds + } + return nil +} + +func (m *ExportDocumentsMetadata) GetOutputUriPrefix() string { + if m != nil { + return m.OutputUriPrefix + } + return "" +} + +// Metadata for ImportDocuments operations. +type ImportDocumentsMetadata struct { + // The time that work began on the operation. + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // The time the operation ended, either successfully or otherwise. Unset if + // the operation is still active. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // The state of the import operation. + OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta1.OperationState" json:"operation_state,omitempty"` + // An estimate of the number of documents processed. + ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` + // An estimate of the number of bytes processed. + ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` + // Which collection ids are being imported. + CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` + // The location of the documents being imported. + InputUriPrefix string `protobuf:"bytes,7,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImportDocumentsMetadata) Reset() { *m = ImportDocumentsMetadata{} } +func (m *ImportDocumentsMetadata) String() string { return proto.CompactTextString(m) } +func (*ImportDocumentsMetadata) ProtoMessage() {} +func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_09f1d024c210e695, []int{11} +} +func (m *ImportDocumentsMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImportDocumentsMetadata.Unmarshal(m, b) +} +func (m *ImportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImportDocumentsMetadata.Marshal(b, m, deterministic) +} +func (dst *ImportDocumentsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImportDocumentsMetadata.Merge(dst, src) +} +func (m *ImportDocumentsMetadata) XXX_Size() int { + return xxx_messageInfo_ImportDocumentsMetadata.Size(m) +} +func (m *ImportDocumentsMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_ImportDocumentsMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_ImportDocumentsMetadata proto.InternalMessageInfo + +func (m *ImportDocumentsMetadata) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *ImportDocumentsMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *ImportDocumentsMetadata) GetOperationState() OperationState { + if m != nil { + return m.OperationState + } + return OperationState_STATE_UNSPECIFIED +} + +func (m *ImportDocumentsMetadata) GetProgressDocuments() *Progress { + if m != nil { + return m.ProgressDocuments + } + return nil +} + +func (m *ImportDocumentsMetadata) GetProgressBytes() *Progress { + if m != nil { + return m.ProgressBytes + } + return nil +} + +func (m *ImportDocumentsMetadata) GetCollectionIds() []string { + if m != nil { + return m.CollectionIds + } + return nil +} + +func (m *ImportDocumentsMetadata) GetInputUriPrefix() string { + if m != nil { + return m.InputUriPrefix + } + return "" +} + func init() { proto.RegisterType((*IndexOperationMetadata)(nil), "google.firestore.admin.v1beta1.IndexOperationMetadata") proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1beta1.Progress") @@ -451,6 +865,12 @@ func init() { proto.RegisterType((*ListIndexesRequest)(nil), "google.firestore.admin.v1beta1.ListIndexesRequest") proto.RegisterType((*DeleteIndexRequest)(nil), "google.firestore.admin.v1beta1.DeleteIndexRequest") proto.RegisterType((*ListIndexesResponse)(nil), "google.firestore.admin.v1beta1.ListIndexesResponse") + proto.RegisterType((*ExportDocumentsRequest)(nil), "google.firestore.admin.v1beta1.ExportDocumentsRequest") + proto.RegisterType((*ImportDocumentsRequest)(nil), "google.firestore.admin.v1beta1.ImportDocumentsRequest") + proto.RegisterType((*ExportDocumentsResponse)(nil), "google.firestore.admin.v1beta1.ExportDocumentsResponse") + proto.RegisterType((*ExportDocumentsMetadata)(nil), "google.firestore.admin.v1beta1.ExportDocumentsMetadata") + proto.RegisterType((*ImportDocumentsMetadata)(nil), "google.firestore.admin.v1beta1.ImportDocumentsMetadata") + proto.RegisterEnum("google.firestore.admin.v1beta1.OperationState", OperationState_name, OperationState_value) proto.RegisterEnum("google.firestore.admin.v1beta1.IndexOperationMetadata_OperationType", IndexOperationMetadata_OperationType_name, IndexOperationMetadata_OperationType_value) } @@ -486,6 +906,21 @@ type FirestoreAdminClient interface { GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) // Deletes an index. DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Exports a copy of all or a subset of documents from Google Cloud Firestore + // to another storage system, such as Google Cloud Storage. Recent updates to + // documents may not be reflected in the export. The export occurs in the + // background and its progress can be monitored and managed via the + // Operation resource that is created. The output of an export may only be + // used once the associated operation is done. If an export operation is + // cancelled before completion it may leave partial data behind in Google + // Cloud Storage. + ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Imports documents into Google Cloud Firestore. Existing documents with the + // same name are overwritten. The import occurs in the background and its + // progress can be monitored and managed via the Operation resource that is + // created. If an ImportDocuments operation is cancelled, it is possible + // that a subset of the data has already been imported to Cloud Firestore. + ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) } type firestoreAdminClient struct { @@ -532,6 +967,24 @@ func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexR return out, nil } +func (c *firestoreAdminClient) ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ExportDocuments", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *firestoreAdminClient) ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ImportDocuments", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // FirestoreAdminServer is the server API for FirestoreAdmin service. type FirestoreAdminServer interface { // Creates the specified index. @@ -554,6 +1007,21 @@ type FirestoreAdminServer interface { GetIndex(context.Context, *GetIndexRequest) (*Index, error) // Deletes an index. DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error) + // Exports a copy of all or a subset of documents from Google Cloud Firestore + // to another storage system, such as Google Cloud Storage. Recent updates to + // documents may not be reflected in the export. The export occurs in the + // background and its progress can be monitored and managed via the + // Operation resource that is created. The output of an export may only be + // used once the associated operation is done. If an export operation is + // cancelled before completion it may leave partial data behind in Google + // Cloud Storage. + ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunning.Operation, error) + // Imports documents into Google Cloud Firestore. Existing documents with the + // same name are overwritten. The import occurs in the background and its + // progress can be monitored and managed via the Operation resource that is + // created. If an ImportDocuments operation is cancelled, it is possible + // that a subset of the data has already been imported to Cloud Firestore. + ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error) } func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) { @@ -632,6 +1100,42 @@ func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _FirestoreAdmin_ExportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExportDocumentsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FirestoreAdminServer).ExportDocuments(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ExportDocuments", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FirestoreAdminServer).ExportDocuments(ctx, req.(*ExportDocumentsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FirestoreAdmin_ImportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ImportDocumentsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FirestoreAdminServer).ImportDocuments(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ImportDocuments", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FirestoreAdminServer).ImportDocuments(ctx, req.(*ImportDocumentsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.firestore.admin.v1beta1.FirestoreAdmin", HandlerType: (*FirestoreAdminServer)(nil), @@ -652,68 +1156,97 @@ var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{ MethodName: "DeleteIndex", Handler: _FirestoreAdmin_DeleteIndex_Handler, }, + { + MethodName: "ExportDocuments", + Handler: _FirestoreAdmin_ExportDocuments_Handler, + }, + { + MethodName: "ImportDocuments", + Handler: _FirestoreAdmin_ImportDocuments_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/firestore/admin/v1beta1/firestore_admin.proto", } func init() { - proto.RegisterFile("google/firestore/admin/v1beta1/firestore_admin.proto", fileDescriptor_firestore_admin_bf8d6f204477dd80) -} - -var fileDescriptor_firestore_admin_bf8d6f204477dd80 = []byte{ - // 841 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xc6, 0xe9, 0xcf, 0x26, 0xa7, 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d, 0x5d, 0xed, - 0xfe, 0x69, 0x80, 0x35, 0xe1, 0x69, 0x8d, 0x97, 0xdd, 0x3b, 0x8b, 0x2b, 0x3c, 0x2a, 0xca, 0x8f, - 0x8c, 0x6f, 0xdd, 0x8a, 0x16, 0xf1, 0x84, 0xb2, 0xc8, 0xe6, 0x79, 0xe4, 0x44, 0xc8, 0x94, 0x39, - 0xa7, 0x3c, 0xa2, 0x59, 0x2c, 0xae, 0xfa, 0xb7, 0x7d, 0xac, 0xa2, 0xdf, 0x1b, 0xcb, 0x07, 0xee, - 0xfe, 0xf1, 0x1f, 0x8d, 0x0f, 0x0f, 0x4a, 0x31, 0x37, 0xe1, 0xd3, 0xd0, 0x9e, 0x15, 0xb4, 0x55, - 0x45, 0xfb, 0xeb, 0xed, 0xdd, 0x82, 0x73, 0xb2, 0xaa, 0xd4, 0x1f, 0xfe, 0x17, 0x00, 0x00, 0xff, - 0xff, 0x6b, 0x78, 0x44, 0x07, 0x3e, 0x08, 0x00, 0x00, + proto.RegisterFile("google/firestore/admin/v1beta1/firestore_admin.proto", fileDescriptor_firestore_admin_09f1d024c210e695) +} + +var fileDescriptor_firestore_admin_09f1d024c210e695 = []byte{ + // 1183 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xdd, 0x6e, 0xe3, 0xc4, + 0x17, 0xff, 0x3b, 0x69, 0x93, 0xe6, 0xf4, 0x9f, 0x34, 0x9d, 0x85, 0x6c, 0x94, 0xfd, 0x20, 0x32, + 0x2c, 0x8a, 0x72, 0x61, 0xb3, 0x59, 0x58, 0xb1, 0x5b, 0xa1, 0x55, 0xea, 0x38, 0x95, 0xa5, 0x90, + 0x46, 0x4e, 0xca, 0x2e, 0x7b, 0x63, 0xb9, 0xc9, 0x34, 0x32, 0x4d, 0x3c, 0xc6, 0x33, 0x81, 0x76, + 0x51, 0x01, 0xf1, 0x0a, 0xcb, 0x25, 0x37, 0x70, 0x09, 0x12, 0xe2, 0x2d, 0x78, 0x00, 0x1e, 0x00, + 0x21, 0xf1, 0x10, 0x5c, 0xa2, 0x19, 0xdb, 0xf9, 0xde, 0x75, 0x2b, 0xad, 0x84, 0x90, 0xb8, 0xcb, + 0x39, 0x73, 0x3e, 0x7e, 0xe7, 0x23, 0xe7, 0x1c, 0xc3, 0xbb, 0x43, 0x42, 0x86, 0x23, 0xac, 0x9e, + 0x38, 0x3e, 0xa6, 0x8c, 0xf8, 0x58, 0xb5, 0x07, 0x63, 0xc7, 0x55, 0x3f, 0xbb, 0x7b, 0x8c, 0x99, + 0x7d, 0x77, 0xc6, 0xb7, 0x04, 0x5f, 0xf1, 0x7c, 0xc2, 0x08, 0xba, 0x1d, 0x68, 0x29, 0xd3, 0x57, + 0x25, 0x78, 0x0d, 0xb5, 0x4a, 0x37, 0x43, 0xab, 0xb6, 0xe7, 0xa8, 0xb6, 0xeb, 0x12, 0x66, 0x33, + 0x87, 0xb8, 0x34, 0xd0, 0x2e, 0x55, 0x63, 0x7c, 0x3a, 0xee, 0x00, 0x9f, 0x85, 0xb2, 0x6f, 0x86, + 0xb2, 0x23, 0xe2, 0x0e, 0xfd, 0x89, 0xeb, 0x3a, 0xee, 0x50, 0x25, 0x1e, 0xf6, 0x17, 0x0c, 0xde, + 0x08, 0x85, 0x04, 0x75, 0x3c, 0x39, 0x51, 0xf1, 0xd8, 0x63, 0xe7, 0xe1, 0xe3, 0x1b, 0xcb, 0x8f, + 0xcc, 0x19, 0x63, 0xca, 0xec, 0xb1, 0x17, 0x08, 0xc8, 0xbf, 0x26, 0xa1, 0x60, 0x70, 0x97, 0x87, + 0x91, 0xdd, 0x0f, 0x31, 0xb3, 0x07, 0x36, 0xb3, 0xd1, 0x03, 0x00, 0xca, 0x6c, 0x9f, 0x59, 0x5c, + 0xa7, 0x28, 0x95, 0xa5, 0xca, 0x76, 0xad, 0xa4, 0x84, 0xc1, 0x47, 0x06, 0x95, 0x5e, 0x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, 0x69, 0x66, 0x39, 0x57, 0x8b, 0x98, 0x53, 0x31, 0x4c, 0x99, + 0x33, 0xb6, 0xb9, 0x58, 0x62, 0x26, 0xa6, 0x47, 0x4c, 0xd9, 0x01, 0xa4, 0xf9, 0xd8, 0x66, 0x58, + 0x24, 0xd4, 0xc4, 0x9f, 0x4e, 0x30, 0x65, 0xa8, 0x00, 0x29, 0xcf, 0xf6, 0xb1, 0xcb, 0x84, 0xed, + 0x8c, 0x19, 0x52, 0x68, 0x2f, 0x2a, 0x62, 0x50, 0xf8, 0x3b, 0x97, 0xaa, 0x52, 0x58, 0x6b, 0xf9, + 0x0e, 0xec, 0x1c, 0x60, 0xb6, 0xe0, 0x07, 0xc1, 0x86, 0x6b, 0x87, 0x0d, 0x98, 0x31, 0xc5, 0x6f, + 0xf9, 0x6b, 0x09, 0x50, 0xcb, 0xa1, 0x81, 0x20, 0xa6, 0x71, 0x90, 0x0a, 0x90, 0x3a, 0x71, 0x46, + 0x0c, 0xfb, 0x02, 0x53, 0xc6, 0x0c, 0x29, 0x74, 0x03, 0x32, 0x9e, 0x3d, 0xc4, 0x16, 0x75, 0x9e, + 0x61, 0xd1, 0x73, 0x9b, 0xe6, 0x16, 0x67, 0x74, 0x9d, 0x67, 0x18, 0xdd, 0x02, 0x10, 0x8f, 0x8c, + 0x9c, 0x62, 0x57, 0xb4, 0x5c, 0xc6, 0x14, 0xe2, 0x3d, 0xce, 0x90, 0x2b, 0x80, 0x1a, 0x98, 0xa7, + 0x31, 0x16, 0xec, 0x97, 0x70, 0x6d, 0x01, 0x2b, 0xf5, 0x88, 0x4b, 0x31, 0x7a, 0x04, 0x69, 0x27, + 0x60, 0x15, 0xa5, 0x72, 0xf2, 0xf2, 0x99, 0x8a, 0xb4, 0xd0, 0xdb, 0xb0, 0xe3, 0xe2, 0x33, 0x66, + 0xcd, 0xa1, 0x0c, 0xc2, 0xcb, 0x72, 0x76, 0x67, 0x8a, 0xf4, 0x2b, 0x28, 0xe8, 0x67, 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, 0xf5, + 0x7b, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xab, 0xb1, 0x04, 0xab, 0x3e, 0x0f, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/index.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/index.pb.go index 64d16ec0e..396c7365f 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/index.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/index.pb.go @@ -31,24 +31,29 @@ const ( // The field's values are indexed so as to support sequencing in // descending order and also query by <, >, <=, >=, and =. IndexField_DESCENDING IndexField_Mode = 3 + // The field's array values are indexed so as to support membership using + // ARRAY_CONTAINS queries. + IndexField_ARRAY_CONTAINS IndexField_Mode = 4 ) var IndexField_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 2: "ASCENDING", 3: "DESCENDING", + 4: "ARRAY_CONTAINS", } var IndexField_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "ASCENDING": 2, "DESCENDING": 3, + "ARRAY_CONTAINS": 4, } func (x IndexField_Mode) String() string { return proto.EnumName(IndexField_Mode_name, int32(x)) } func (IndexField_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_index_21a0967fd785e85c, []int{0, 0} + return fileDescriptor_index_1d76a8618e50431f, []int{0, 0} } // The state of an index. During index creation, an index will be in the @@ -94,7 +99,7 @@ func (x Index_State) String() string { return proto.EnumName(Index_State_name, int32(x)) } func (Index_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_index_21a0967fd785e85c, []int{1, 0} + return fileDescriptor_index_1d76a8618e50431f, []int{1, 0} } // A field of an index. @@ -115,7 +120,7 @@ func (m *IndexField) Reset() { *m = IndexField{} } func (m *IndexField) String() string { return proto.CompactTextString(m) } func (*IndexField) ProtoMessage() {} func (*IndexField) Descriptor() ([]byte, []int) { - return fileDescriptor_index_21a0967fd785e85c, []int{0} + return fileDescriptor_index_1d76a8618e50431f, []int{0} } func (m *IndexField) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IndexField.Unmarshal(m, b) @@ -170,7 +175,7 @@ func (m *Index) Reset() { *m = Index{} } func (m *Index) String() string { return proto.CompactTextString(m) } func (*Index) ProtoMessage() {} func (*Index) Descriptor() ([]byte, []int) { - return fileDescriptor_index_21a0967fd785e85c, []int{1} + return fileDescriptor_index_1d76a8618e50431f, []int{1} } func (m *Index) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Index.Unmarshal(m, b) @@ -226,36 +231,37 @@ func init() { } func init() { - proto.RegisterFile("google/firestore/admin/v1beta1/index.proto", fileDescriptor_index_21a0967fd785e85c) + proto.RegisterFile("google/firestore/admin/v1beta1/index.proto", fileDescriptor_index_1d76a8618e50431f) } -var fileDescriptor_index_21a0967fd785e85c = []byte{ - // 422 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x8b, 0x13, 0x31, - 0x1c, 0x75, 0xa6, 0x9d, 0xe2, 0xfc, 0xdc, 0x5d, 0xc6, 0xa0, 0x50, 0x44, 0xa5, 0x8c, 0x1e, 0xca, - 0x0a, 0x19, 0xba, 0x1e, 0xf7, 0x34, 0xff, 0x5a, 0xe6, 0xb0, 0xdd, 0x92, 0xa9, 0x82, 0x5e, 0x4a, - 0xb6, 0xc9, 0xce, 0x06, 0xa6, 0x49, 0x99, 0x89, 0xe2, 0x77, 0xf0, 0x5b, 0x08, 0x5e, 0x04, 0xbf, - 0xa3, 0x24, 0x33, 0x74, 0x41, 0xd0, 0xed, 0xed, 0xf7, 0x92, 0xf7, 0x5e, 0xde, 0x4b, 0x02, 0xe7, - 0x95, 0x52, 0x55, 0xcd, 0xa3, 0x5b, 0xd1, 0xf0, 0x56, 0xab, 0x86, 0x47, 0x94, 0xed, 0x84, 0x8c, - 0xbe, 0xce, 0x6e, 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a, 0x25, 0x8a, 0xc1, 0x6b, 0x35, 0xd5, 0x7c, 0x3c, - 0xb2, 0x37, 0xf1, 0xee, 0x28, 0x0b, 0x5c, 0x1a, 0x09, 0xe9, 0x94, 0x61, 0x02, 0x9e, 0xc5, 0xe8, - 0x39, 0x3c, 0x2d, 0xd7, 0xf1, 0xfa, 0xef, 0x8b, 0x38, 0x81, 0xc7, 0x29, 0xc9, 0xe3, 0xb5, 0xed, - 0x8d, 0x7c, 0xf0, 0x48, 0x1e, 0x67, 0x9f, 0x02, 0xd7, 0x8c, 0x39, 0x21, 0xd7, 0x24, 0xf0, 0x92, - 0x9f, 0x0e, 0x84, 0x5b, 0xb5, 0x7b, 0xe0, 0xf4, 0xa4, 0x7b, 0xe1, 0x95, 0x79, 0xf0, 0x95, 0xf3, - 0x39, 0xed, 0xd9, 0x95, 0xaa, 0xa9, 0xac, 0xb0, 0x6a, 0xaa, 0xa8, 0xe2, 0xd2, 0x7e, 0x87, 0xa8, - 0xdb, 0xa2, 0x7b, 0xd1, 0xfe, 0xeb, 0xef, 0x5d, 0x5a, 0xf4, 0xc3, 0x1d, 0x2e, 0xd2, 0x79, 0xf9, - 0xcb, 0x7d, 0xbb, 0xe8, 0xcc, 0xd2, 0x5a, 0x7d, 0x61, 0x78, 0x7e, 0x08, 0x10, 0xdb, 0x00, 0x1f, - 0x67, 0x89, 0xd1, 0xdc, 0x8c, 0xac, 0xfb, 0xfb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x08, 0xcb, - 0x38, 0x95, 0xd8, 0x02, 0x00, 0x00, +var fileDescriptor_index_1d76a8618e50431f = []byte{ + // 438 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x5d, 0x8b, 0xd3, 0x40, + 0x14, 0x35, 0x69, 0x52, 0xcc, 0x75, 0xb7, 0xc4, 0x41, 0xa1, 0x88, 0x4a, 0x89, 0x3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0x3c, 0x4b, 0x13, 0xff, 0x11, 0x3a, 0x07, 0x8f, 0x14, 0x71, 0x9a, 0x27, 0x59, 0xbe, + 0xf0, 0x6d, 0x34, 0x02, 0x48, 0xd2, 0x23, 0x1e, 0x20, 0x04, 0x23, 0x42, 0x29, 0xb9, 0xde, 0xc4, + 0xcb, 0x7c, 0x4d, 0xb2, 0xbc, 0xf0, 0x9d, 0xe0, 0xbb, 0x0d, 0xae, 0x69, 0x85, 0x10, 0x38, 0x82, + 0xed, 0x78, 0x1f, 0xdc, 0xd4, 0xe8, 0x0d, 0x9c, 0x6f, 0x65, 0xd3, 0xf0, 0xad, 0x1e, 0x7b, 0x53, + 0x97, 0x26, 0xbc, 0x47, 0xcf, 0xee, 0x1f, 0xb3, 0x12, 0x45, 0x30, 0x34, 0x53, 0xb6, 0xe3, 0xc1, + 0x64, 0x30, 0x7d, 0x72, 0x79, 0x71, 0xfa, 0x68, 0xb4, 0x57, 0x22, 0x02, 0x6e, 0xab, 0x98, 0xe2, + 0xe3, 0xa1, 0xd9, 0xce, 0xbb, 0x93, 0x2c, 0x70, 0xa1, 0x25, 0xb4, 0x53, 0x06, 0x11, 0xb8, 0x06, + 0xa3, 0xe7, 0xf0, 0xb4, 0x58, 0x93, 0xf5, 0xdf, 0xcb, 0x39, 0x83, 0xc7, 0x31, 0x4d, 0xc9, 0xba, + 0xdb, 0x85, 0x07, 0x2e, 0x4d, 0x49, 0x72, 0xed, 0xdb, 0xba, 0x4c, 0x29, 0x5d, 0x52, 0xdf, 0x8d, + 0x7e, 0x5a, 0x10, 0x6c, 0xe5, 0xee, 0x81, 0xee, 0x51, 0xf7, 0xd7, 0x57, 0xfa, 0x08, 0x56, 0xd6, + 0xe7, 0xb8, 0x67, 0x57, 0xb2, 0x61, 0xa2, 0xc2, 0xf2, 0x50, 0x85, 0x15, 0x17, 0xe6, 0x44, 0xc2, + 0xee, 0x13, 0xdb, 0xd7, 0xed, 0xbf, 0xee, 0xf1, 0x83, 0x41, 0x3f, 0x6c, 0x67, 0x11, 0xcf, 0x8b, + 0x5f, 0xf6, 0xdb, 0x45, 0x67, 0x16, 0x37, 0xf2, 0x4b, 0x89, 0xe7, 0xc7, 0x00, 0xc4, 0x04, 0xf8, + 0x34, 0x8b, 0xb4, 0xe6, 0x66, 0x68, 0xdc, 0xdf, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xbf, + 0x61, 0xbe, 0xec, 0x02, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/field.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/field.pb.go new file mode 100644 index 000000000..7811b0a9d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/field.pb.go @@ -0,0 +1,213 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/firestore/admin/v1beta2/field.proto + +package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Represents a single field in the database. +// +// Fields are grouped by their "Collection Group", which represent all +// collections in the database with the same id. +type Field struct { + // A field name of the form + // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` + // + // A field path may be a simple field name, e.g. `address` or a path to fields + // within map_value , e.g. `address.city`, + // or a special field path. The only valid special field is `*`, which + // represents any field. + // + // Field paths may be quoted using ` (backtick). The only character that needs + // to be escaped within a quoted field path is the backtick character itself, + // escaped using a backslash. Special characters in field paths that + // must be quoted include: `*`, `.`, + // ``` (backtick), `[`, `]`, as well as any ascii symbolic characters. + // + // Examples: + // (Note: Comments here are written in markdown syntax, so there is an + // additional layer of backticks to represent a code block) + // `\`address.city\`` represents a field named `address.city`, not the map key + // `city` in the field `address`. + // `\`*\`` represents a field named `*`, not any field. + // + // A special `Field` contains the default indexing settings for all fields. + // This field's resource name is: + // `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` + // Indexes defined on this `Field` will be applied to all fields which do not + // have their own `Field` index configuration. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The index configuration for this field. If unset, field indexing will + // revert to the configuration defined by the `ancestor_field`. To + // explicitly remove all indexes for this field, specify an index config + // with an empty list of indexes. + IndexConfig *Field_IndexConfig `protobuf:"bytes,2,opt,name=index_config,json=indexConfig,proto3" json:"index_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Field) Reset() { *m = Field{} } +func (m *Field) String() string { return proto.CompactTextString(m) } +func (*Field) ProtoMessage() {} +func (*Field) Descriptor() ([]byte, []int) { + return fileDescriptor_field_eabd3bc03800743e, []int{0} +} +func (m *Field) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Field.Unmarshal(m, b) +} +func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Field.Marshal(b, m, deterministic) +} +func (dst *Field) XXX_Merge(src proto.Message) { + xxx_messageInfo_Field.Merge(dst, src) +} +func (m *Field) XXX_Size() int { + return xxx_messageInfo_Field.Size(m) +} +func (m *Field) XXX_DiscardUnknown() { + xxx_messageInfo_Field.DiscardUnknown(m) +} + +var xxx_messageInfo_Field proto.InternalMessageInfo + +func (m *Field) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Field) GetIndexConfig() *Field_IndexConfig { + if m != nil { + return m.IndexConfig + } + return nil +} + +// The index configuration for this field. +type Field_IndexConfig struct { + // The indexes supported for this field. + Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` + // Output only. + // When true, the `Field`'s index configuration is set from the + // configuration specified by the `ancestor_field`. + // When false, the `Field`'s index configuration is defined explicitly. + UsesAncestorConfig bool `protobuf:"varint,2,opt,name=uses_ancestor_config,json=usesAncestorConfig,proto3" json:"uses_ancestor_config,omitempty"` + // Output only. + // Specifies the resource name of the `Field` from which this field's + // index configuration is set (when `uses_ancestor_config` is true), + // or from which it *would* be set if this field had no index configuration + // (when `uses_ancestor_config` is false). + AncestorField string `protobuf:"bytes,3,opt,name=ancestor_field,json=ancestorField,proto3" json:"ancestor_field,omitempty"` + // Output only + // When true, the `Field`'s index configuration is in the process of being + // reverted. Once complete, the index config will transition to the same + // state as the field specified by `ancestor_field`, at which point + // `uses_ancestor_config` will be `true` and `reverting` will be `false`. + Reverting bool `protobuf:"varint,4,opt,name=reverting,proto3" json:"reverting,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Field_IndexConfig) Reset() { *m = Field_IndexConfig{} } +func (m *Field_IndexConfig) String() string { return proto.CompactTextString(m) } +func (*Field_IndexConfig) ProtoMessage() {} +func (*Field_IndexConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_field_eabd3bc03800743e, []int{0, 0} +} +func (m *Field_IndexConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Field_IndexConfig.Unmarshal(m, b) +} +func (m *Field_IndexConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Field_IndexConfig.Marshal(b, m, deterministic) +} +func (dst *Field_IndexConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_Field_IndexConfig.Merge(dst, src) +} +func (m *Field_IndexConfig) XXX_Size() int { + return xxx_messageInfo_Field_IndexConfig.Size(m) +} +func (m *Field_IndexConfig) XXX_DiscardUnknown() { + xxx_messageInfo_Field_IndexConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_Field_IndexConfig proto.InternalMessageInfo + +func (m *Field_IndexConfig) GetIndexes() []*Index { + if m != nil { + return m.Indexes + } + return nil +} + +func (m *Field_IndexConfig) GetUsesAncestorConfig() bool { + if m != nil { + return m.UsesAncestorConfig + } + return false +} + +func (m *Field_IndexConfig) GetAncestorField() string { + if m != nil { + return m.AncestorField + } + return "" +} + +func (m *Field_IndexConfig) GetReverting() bool { + if m != nil { + return m.Reverting + } + return false +} + +func init() { + proto.RegisterType((*Field)(nil), "google.firestore.admin.v1beta2.Field") + proto.RegisterType((*Field_IndexConfig)(nil), "google.firestore.admin.v1beta2.Field.IndexConfig") +} + +func init() { + proto.RegisterFile("google/firestore/admin/v1beta2/field.proto", fileDescriptor_field_eabd3bc03800743e) +} + +var fileDescriptor_field_eabd3bc03800743e = []byte{ + // 346 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0x4a, 0xf3, 0x40, + 0x14, 0xc5, 0x99, 0xb4, 0xdf, 0xa7, 0x9d, 0xa8, 0x8b, 0xc1, 0x45, 0x28, 0x45, 0x4a, 0xb1, 0x50, + 0x5c, 0xcc, 0xd8, 0xba, 0x74, 0x21, 0x6d, 0xa0, 0xc5, 0x5d, 0x89, 0xe2, 0xc2, 0x4d, 0x99, 0x36, + 0xd3, 0x61, 0x20, 0x9d, 0x5b, 0x92, 0xb4, 0xf8, 0x3c, 0x82, 0x1b, 0xdf, 0xc0, 0x07, 0xf0, 0xbd, + 0x24, 0x77, 0xd2, 0x3f, 0x1b, 0xcd, 0x2e, 0x33, 0xe7, 0x77, 0xce, 0x3d, 0xb9, 0x43, 0x6f, 0x34, + 0x80, 0x4e, 0x94, 0x58, 0x9a, 0x54, 0x65, 0x39, 0xa4, 0x4a, 0xc8, 0x78, 0x65, 0xac, 0xd8, 0xf6, + 0xe7, 0x2a, 0x97, 0x03, 0xb1, 0x34, 0x2a, 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0xb4, 0x9a, 0x43, 0xaa, + 0x85, 0x56, 0x16, 0x1f, 0x43, 0x38, 0x49, 0xae, 0x4d, 0xf6, 0xdb, 0xdb, 0xdd, 0xe3, 0xe9, 0xdd, + 0xab, 0x4f, 0xc2, 0xf1, 0xd3, 0xa7, 0x77, 0x3d, 0x71, 0x61, 0x61, 0x02, 0x9b, 0x98, 0x8f, 0xf7, + 0x05, 0x86, 0x58, 0xe0, 0xa5, 0x3f, 0x2a, 0x3c, 0xf3, 0xff, 0x98, 0x7e, 0xf7, 0x13, 0x00, 0x00, + 0xff, 0xff, 0x31, 0xd7, 0xaa, 0xc3, 0x82, 0x02, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/firestore_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/firestore_admin.pb.go new file mode 100644 index 000000000..4fe981dd7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/firestore_admin.pb.go @@ -0,0 +1,475 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/firestore/admin/v1beta2/firestore_admin.proto + +package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "github.com/golang/protobuf/ptypes/empty" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import longrunning "google.golang.org/genproto/googleapis/longrunning" +import field_mask "google.golang.org/genproto/protobuf/field_mask" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField]. +type UpdateFieldRequest struct { + // The field to be updated. + Field *Field `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + // A mask, relative to the field. If specified, only configuration specified + // by this field_mask will be updated in the field. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateFieldRequest) Reset() { *m = UpdateFieldRequest{} } +func (m *UpdateFieldRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateFieldRequest) ProtoMessage() {} +func (*UpdateFieldRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{0} +} +func (m *UpdateFieldRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateFieldRequest.Unmarshal(m, b) +} +func (m *UpdateFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateFieldRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateFieldRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFieldRequest.Merge(dst, src) +} +func (m *UpdateFieldRequest) XXX_Size() int { + return xxx_messageInfo_UpdateFieldRequest.Size(m) +} +func (m *UpdateFieldRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateFieldRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateFieldRequest proto.InternalMessageInfo + +func (m *UpdateFieldRequest) GetField() *Field { + if m != nil { + return m.Field + } + return nil +} + +func (m *UpdateFieldRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +// The request for [FirestoreAdmin.GetField][google.firestore.admin.v1beta2.FirestoreAdmin.GetField]. +type GetFieldRequest struct { + // A name of the form + // `/projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFieldRequest) Reset() { *m = GetFieldRequest{} } +func (m *GetFieldRequest) String() string { return proto.CompactTextString(m) } +func (*GetFieldRequest) ProtoMessage() {} +func (*GetFieldRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{1} +} +func (m *GetFieldRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFieldRequest.Unmarshal(m, b) +} +func (m *GetFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFieldRequest.Marshal(b, m, deterministic) +} +func (dst *GetFieldRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFieldRequest.Merge(dst, src) +} +func (m *GetFieldRequest) XXX_Size() int { + return xxx_messageInfo_GetFieldRequest.Size(m) +} +func (m *GetFieldRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFieldRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFieldRequest proto.InternalMessageInfo + +func (m *GetFieldRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields]. +type ListFieldsRequest struct { + // A parent name of the form + // `/projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The filter to apply to list results. Currently, + // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields + // that have been explicitly overridden. To issue this query, call + // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to + // `indexConfig.usesAncestorConfig:false`. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // The number of results to return. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // A page token, returned from a previous call to + // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields], that may be used to get the next + // page of results. + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFieldsRequest) Reset() { *m = ListFieldsRequest{} } +func (m *ListFieldsRequest) String() string { return proto.CompactTextString(m) } +func (*ListFieldsRequest) ProtoMessage() {} +func (*ListFieldsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{2} +} +func (m *ListFieldsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFieldsRequest.Unmarshal(m, b) +} +func (m *ListFieldsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFieldsRequest.Marshal(b, m, deterministic) +} +func (dst *ListFieldsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFieldsRequest.Merge(dst, src) +} +func (m *ListFieldsRequest) XXX_Size() int { + return xxx_messageInfo_ListFieldsRequest.Size(m) +} +func (m *ListFieldsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFieldsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFieldsRequest proto.InternalMessageInfo + +func (m *ListFieldsRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + +func (m *ListFieldsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListFieldsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListFieldsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields]. +type ListFieldsResponse struct { + // The requested fields. + Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + // A page token that may be used to request another page of results. If blank, + // this is the last page. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFieldsResponse) Reset() { *m = ListFieldsResponse{} } +func (m *ListFieldsResponse) String() string { return proto.CompactTextString(m) } +func (*ListFieldsResponse) ProtoMessage() {} +func (*ListFieldsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{3} +} +func (m *ListFieldsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFieldsResponse.Unmarshal(m, b) +} +func (m *ListFieldsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFieldsResponse.Marshal(b, m, deterministic) +} +func (dst *ListFieldsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFieldsResponse.Merge(dst, src) +} +func (m *ListFieldsResponse) XXX_Size() int { + return xxx_messageInfo_ListFieldsResponse.Size(m) +} +func (m *ListFieldsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFieldsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFieldsResponse proto.InternalMessageInfo + +func (m *ListFieldsResponse) GetFields() []*Field { + if m != nil { + return m.Fields + } + return nil +} + +func (m *ListFieldsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func init() { + proto.RegisterType((*UpdateFieldRequest)(nil), "google.firestore.admin.v1beta2.UpdateFieldRequest") + proto.RegisterType((*GetFieldRequest)(nil), "google.firestore.admin.v1beta2.GetFieldRequest") + proto.RegisterType((*ListFieldsRequest)(nil), "google.firestore.admin.v1beta2.ListFieldsRequest") + proto.RegisterType((*ListFieldsResponse)(nil), "google.firestore.admin.v1beta2.ListFieldsResponse") +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// FirestoreAdminClient is the client API for FirestoreAdmin service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type FirestoreAdminClient interface { + // Gets the metadata and configuration for a Field. + GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error) + // Updates a field configuration. Currently, field updates apply only to + // single field index configuration. However, calls to + // [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField] should provide a field mask to avoid + // changing any configuration that the caller isn't aware of. The field mask + // should be specified as: `{ paths: "index_config" }`. + // + // This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to + // track the status of the field update. The metadata for + // the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1beta2.FieldOperationMetadata]. + // + // To configure the default field settings for the database, use + // the special `Field` with resource name: + // `/projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`. + UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Lists the field configuration and metadata for this database. + // + // Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields + // that have been explicitly overridden. To issue this query, call + // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to + // `indexConfig.usesAncestorConfig:false`. + ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error) +} + +type firestoreAdminClient struct { + cc *grpc.ClientConn +} + +func NewFirestoreAdminClient(cc *grpc.ClientConn) FirestoreAdminClient { + return &firestoreAdminClient{cc} +} + +func (c *firestoreAdminClient) GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error) { + out := new(Field) + err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/GetField", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *firestoreAdminClient) UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/UpdateField", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *firestoreAdminClient) ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error) { + out := new(ListFieldsResponse) + err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ListFields", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FirestoreAdminServer is the server API for FirestoreAdmin service. +type FirestoreAdminServer interface { + // Gets the metadata and configuration for a Field. + GetField(context.Context, *GetFieldRequest) (*Field, error) + // Updates a field configuration. Currently, field updates apply only to + // single field index configuration. However, calls to + // [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField] should provide a field mask to avoid + // changing any configuration that the caller isn't aware of. The field mask + // should be specified as: `{ paths: "index_config" }`. + // + // This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to + // track the status of the field update. The metadata for + // the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1beta2.FieldOperationMetadata]. + // + // To configure the default field settings for the database, use + // the special `Field` with resource name: + // `/projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`. + UpdateField(context.Context, *UpdateFieldRequest) (*longrunning.Operation, error) + // Lists the field configuration and metadata for this database. + // + // Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields + // that have been explicitly overridden. To issue this query, call + // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to + // `indexConfig.usesAncestorConfig:false`. + ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error) +} + +func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) { + s.RegisterService(&_FirestoreAdmin_serviceDesc, srv) +} + +func _FirestoreAdmin_GetField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFieldRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FirestoreAdminServer).GetField(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/GetField", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FirestoreAdminServer).GetField(ctx, req.(*GetFieldRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FirestoreAdmin_UpdateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateFieldRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FirestoreAdminServer).UpdateField(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/UpdateField", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FirestoreAdminServer).UpdateField(ctx, req.(*UpdateFieldRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FirestoreAdmin_ListFields_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFieldsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FirestoreAdminServer).ListFields(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ListFields", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FirestoreAdminServer).ListFields(ctx, req.(*ListFieldsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.firestore.admin.v1beta2.FirestoreAdmin", + HandlerType: (*FirestoreAdminServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetField", + Handler: _FirestoreAdmin_GetField_Handler, + }, + { + MethodName: "UpdateField", + Handler: _FirestoreAdmin_UpdateField_Handler, + }, + { + MethodName: "ListFields", + Handler: _FirestoreAdmin_ListFields_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/firestore/admin/v1beta2/firestore_admin.proto", +} + +func init() { + proto.RegisterFile("google/firestore/admin/v1beta2/firestore_admin.proto", fileDescriptor_firestore_admin_1ffbeeca3c483e85) +} + +var fileDescriptor_firestore_admin_1ffbeeca3c483e85 = []byte{ + // 610 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x95, 0xd3, 0xb4, 0x6a, 0xa7, 0xfa, 0xbe, 0x8a, 0x41, 0x42, 0x91, 0x4b, 0x51, 0x64, 0x28, + 0xaa, 0xba, 0xf0, 0x28, 0x86, 0x15, 0x51, 0x17, 0x24, 0x28, 0x41, 0x08, 0x44, 0x48, 0xf9, 0x91, + 0xd8, 0x44, 0x93, 0xf8, 0xc6, 0x32, 0x71, 0x66, 0x8c, 0x67, 0x8c, 0x4a, 0xab, 0x0a, 0x89, 0x07, + 0x60, 0xc3, 0x1b, 0xb0, 0x64, 0xd1, 0x3d, 0xab, 0x3e, 0x04, 0xaf, 0xc0, 0x83, 0xa0, 0xf9, 0x71, + 0x7e, 0x5a, 0x20, 0x81, 0xdd, 0xcc, 0xbd, 0xe7, 0xdc, 0x7b, 0xe6, 0xfa, 0x5c, 0xa3, 0xbb, 0x11, + 0xe7, 0x51, 0x02,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 0x5c, 0xb6, 0xa9, 0xbb, 0x53, 0x70, 0x66, 0x56, 0xc4, 0x7f, 0x5a, 0xac, 0x88, 0xf7, 0x4a, 0xcb, + 0x7d, 0x16, 0x3c, 0x9c, 0xca, 0x35, 0xbb, 0xf8, 0xaf, 0xa2, 0xef, 0x59, 0x87, 0x9f, 0x3b, 0x08, + 0x4d, 0xbf, 0x3e, 0xae, 0x2d, 0x92, 0x7e, 0xc9, 0xaa, 0x6e, 0xf0, 0x37, 0x14, 0x63, 0xae, 0x5f, + 0x4d, 0xdf, 0x18, 0x7c, 0xf9, 0xa7, 0x9c, 0xda, 0xb7, 0x34, 0xce, 0x1c, 0xe4, 0x0d, 0xf8, 0x78, + 0x81, 0x8a, 0xc6, 0xd5, 0x79, 0x97, 0x75, 0xd4, 0xee, 0x76, 0x9c, 0xd7, 0x4d, 0x4b, 0x8b, 0x78, + 0x42, 0x59, 0xe4, 0xf3, 0x2c, 0x22, 0x11, 0x30, 0xbd, 0xd9, 0xc4, 0xa4, 0x68, 0x1a, 0x8b, 0xdf, + 0xfd, 0xe4, 0xea, 0xfa, 0xf6, 0xa5, 0x54, 0x6e, 0x37, 0x5b, 0x87, 0x5f, 0x4b, 0xb7, 0xda, 0xa6, + 0x58, 0x33, 0xe1, 0x79, 0xe8, 0x4f, 0x1a, 0xfa, 0xba, 0xa3, 0xff, 0xb2, 0xd6, 0x50, 0x9c, 0xfe, + 0x9a, 0xae, 0x7e, 0xe7, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0xf6, 0x28, 0xdf, 0xe1, 0x05, + 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/index.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/index.pb.go new file mode 100644 index 000000000..6a6e589bd --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/index.pb.go @@ -0,0 +1,446 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/firestore/admin/v1beta2/index.proto + +package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Query Scope defines the scope at which a query is run. This is specified on +// a StructuredQuery's `from` field. +type Index_QueryScope int32 + +const ( + // The query scope is unspecified. Not a valid option. + Index_QUERY_SCOPE_UNSPECIFIED Index_QueryScope = 0 + // Indexes with a collection query scope specified allow queries + // against a collection that is the child of a specific document, specified + // at query time, and that has the collection id specified by the index. + Index_COLLECTION Index_QueryScope = 1 +) + +var Index_QueryScope_name = map[int32]string{ + 0: "QUERY_SCOPE_UNSPECIFIED", + 1: "COLLECTION", +} +var Index_QueryScope_value = map[string]int32{ + "QUERY_SCOPE_UNSPECIFIED": 0, + "COLLECTION": 1, +} + +func (x Index_QueryScope) String() string { + return proto.EnumName(Index_QueryScope_name, int32(x)) +} +func (Index_QueryScope) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0} +} + +// The state of an index. During index creation, an index will be in the +// `CREATING` state. If the index is created successfully, it will transition +// to the `READY` state. If the index creation encounters a problem, the index +// will transition to the `NEEDS_REPAIR` state. +type Index_State int32 + +const ( + // The state is unspecified. + Index_STATE_UNSPECIFIED Index_State = 0 + // The index is being created. + // There is an active long-running operation for the index. + // The index is updated when writing a document. + // Some index data may exist. + Index_CREATING Index_State = 1 + // The index is ready to be used. + // The index is updated when writing a document. + // The index is fully populated from all stored documents it applies to. + Index_READY Index_State = 2 + // The index was being created, but something went wrong. + // There is no active long-running operation for the index, + // and the most recently finished long-running operation failed. + // The index is not updated when writing a document. + // Some index data may exist. + // Use the google.longrunning.Operations API to determine why the operation + // that last attempted to create this index failed, then re-create the + // index. + Index_NEEDS_REPAIR Index_State = 3 +) + +var Index_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "CREATING", + 2: "READY", + 3: "NEEDS_REPAIR", +} +var Index_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "CREATING": 1, + "READY": 2, + "NEEDS_REPAIR": 3, +} + +func (x Index_State) String() string { + return proto.EnumName(Index_State_name, int32(x)) +} +func (Index_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 1} +} + +// The supported orderings. +type Index_IndexField_Order int32 + +const ( + // The ordering is unspecified. Not a valid option. + Index_IndexField_ORDER_UNSPECIFIED Index_IndexField_Order = 0 + // The field is ordered by ascending field value. + Index_IndexField_ASCENDING Index_IndexField_Order = 1 + // The field is ordered by descending field value. + Index_IndexField_DESCENDING Index_IndexField_Order = 2 +) + +var Index_IndexField_Order_name = map[int32]string{ + 0: "ORDER_UNSPECIFIED", + 1: "ASCENDING", + 2: "DESCENDING", +} +var Index_IndexField_Order_value = map[string]int32{ + "ORDER_UNSPECIFIED": 0, + "ASCENDING": 1, + "DESCENDING": 2, +} + +func (x Index_IndexField_Order) String() string { + return proto.EnumName(Index_IndexField_Order_name, int32(x)) +} +func (Index_IndexField_Order) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0, 0} +} + +// The supported array value configurations. +type Index_IndexField_ArrayConfig int32 + +const ( + // The index does not support additional array queries. + Index_IndexField_ARRAY_CONFIG_UNSPECIFIED Index_IndexField_ArrayConfig = 0 + // The index supports array containment queries. + Index_IndexField_CONTAINS Index_IndexField_ArrayConfig = 1 +) + +var Index_IndexField_ArrayConfig_name = map[int32]string{ + 0: "ARRAY_CONFIG_UNSPECIFIED", + 1: "CONTAINS", +} +var Index_IndexField_ArrayConfig_value = map[string]int32{ + "ARRAY_CONFIG_UNSPECIFIED": 0, + "CONTAINS": 1, +} + +func (x Index_IndexField_ArrayConfig) String() string { + return proto.EnumName(Index_IndexField_ArrayConfig_name, int32(x)) +} +func (Index_IndexField_ArrayConfig) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0, 1} +} + +// Cloud Firestore indexes enable simple and complex queries against +// documents in a database. +type Index struct { + // Output only. + // A server defined name for this index. + // The form of this name for composite indexes will be: + // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{composite_index_id}` + // For single field indexes, this field will be empty. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Indexes with a collection query scope specified allow queries + // against a collection that is the child of a specific document, specified at + // query time, and that has the same collection id. + // + // Indexes with a collection group query scope specified allow queries against + // all collections descended from a specific document, specified at query + // time, and that have the same collection id as this index. + QueryScope Index_QueryScope `protobuf:"varint,2,opt,name=query_scope,json=queryScope,proto3,enum=google.firestore.admin.v1beta2.Index_QueryScope" json:"query_scope,omitempty"` + // The fields supported by this index. + // + // For composite indexes, this is always 2 or more fields. + // The last field entry is always for the field path `__name__`. If, on + // creation, `__name__` was not specified as the last field, it will be added + // automatically with the same direction as that of the last field defined. If + // the final field in a composite index is not directional, the `__name__` + // will be ordered ASCENDING (unless explicitly specified). + // + // For single field indexes, this will always be exactly one entry with a + // field path equal to the field path of the associated field. + Fields []*Index_IndexField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` + // Output only. + // The serving state of the index. + State Index_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.firestore.admin.v1beta2.Index_State" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Index) Reset() { *m = Index{} } +func (m *Index) String() string { return proto.CompactTextString(m) } +func (*Index) ProtoMessage() {} +func (*Index) Descriptor() ([]byte, []int) { + return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0} +} +func (m *Index) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Index.Unmarshal(m, b) +} +func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Index.Marshal(b, m, deterministic) +} +func (dst *Index) XXX_Merge(src proto.Message) { + xxx_messageInfo_Index.Merge(dst, src) +} +func (m *Index) XXX_Size() int { + return xxx_messageInfo_Index.Size(m) +} +func (m *Index) XXX_DiscardUnknown() { + xxx_messageInfo_Index.DiscardUnknown(m) +} + +var xxx_messageInfo_Index proto.InternalMessageInfo + +func (m *Index) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Index) GetQueryScope() Index_QueryScope { + if m != nil { + return m.QueryScope + } + return Index_QUERY_SCOPE_UNSPECIFIED +} + +func (m *Index) GetFields() []*Index_IndexField { + if m != nil { + return m.Fields + } + return nil +} + +func (m *Index) GetState() Index_State { + if m != nil { + return m.State + } + return Index_STATE_UNSPECIFIED +} + +// A field in an index. +// The field_path describes which field is indexed, the value_mode describes +// how the field value is indexed. +type Index_IndexField struct { + // Can be __name__. + // For single field indexes, this must match the name of the field or may + // be omitted. + FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` + // How the field value is indexed. + // + // Types that are valid to be assigned to ValueMode: + // *Index_IndexField_Order_ + // *Index_IndexField_ArrayConfig_ + ValueMode isIndex_IndexField_ValueMode `protobuf_oneof:"value_mode"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Index_IndexField) Reset() { *m = Index_IndexField{} } +func (m *Index_IndexField) String() string { return proto.CompactTextString(m) } +func (*Index_IndexField) ProtoMessage() {} +func (*Index_IndexField) Descriptor() ([]byte, []int) { + return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0} +} +func (m *Index_IndexField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Index_IndexField.Unmarshal(m, b) +} +func (m *Index_IndexField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Index_IndexField.Marshal(b, m, deterministic) +} +func (dst *Index_IndexField) XXX_Merge(src proto.Message) { + xxx_messageInfo_Index_IndexField.Merge(dst, src) +} +func (m *Index_IndexField) XXX_Size() int { + return xxx_messageInfo_Index_IndexField.Size(m) +} +func (m *Index_IndexField) XXX_DiscardUnknown() { + xxx_messageInfo_Index_IndexField.DiscardUnknown(m) +} + +var xxx_messageInfo_Index_IndexField proto.InternalMessageInfo + +func (m *Index_IndexField) GetFieldPath() string { + if m != nil { + return m.FieldPath + } + return "" +} + +type isIndex_IndexField_ValueMode interface { + isIndex_IndexField_ValueMode() +} + +type Index_IndexField_Order_ struct { + Order Index_IndexField_Order `protobuf:"varint,2,opt,name=order,proto3,enum=google.firestore.admin.v1beta2.Index_IndexField_Order,oneof"` +} + +type Index_IndexField_ArrayConfig_ struct { + ArrayConfig Index_IndexField_ArrayConfig `protobuf:"varint,3,opt,name=array_config,json=arrayConfig,proto3,enum=google.firestore.admin.v1beta2.Index_IndexField_ArrayConfig,oneof"` +} + +func (*Index_IndexField_Order_) isIndex_IndexField_ValueMode() {} + +func (*Index_IndexField_ArrayConfig_) isIndex_IndexField_ValueMode() {} + +func (m *Index_IndexField) GetValueMode() isIndex_IndexField_ValueMode { + if m != nil { + return m.ValueMode + } + return nil +} + +func (m *Index_IndexField) GetOrder() Index_IndexField_Order { + if x, ok := m.GetValueMode().(*Index_IndexField_Order_); ok { + return x.Order + } + return Index_IndexField_ORDER_UNSPECIFIED +} + +func (m *Index_IndexField) GetArrayConfig() Index_IndexField_ArrayConfig { + if x, ok := m.GetValueMode().(*Index_IndexField_ArrayConfig_); ok { + return x.ArrayConfig + } + return Index_IndexField_ARRAY_CONFIG_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Index_IndexField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Index_IndexField_OneofMarshaler, _Index_IndexField_OneofUnmarshaler, _Index_IndexField_OneofSizer, []interface{}{ + (*Index_IndexField_Order_)(nil), + (*Index_IndexField_ArrayConfig_)(nil), + } +} + +func _Index_IndexField_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Index_IndexField) + // value_mode + switch x := m.ValueMode.(type) { + case *Index_IndexField_Order_: + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Order)) + case *Index_IndexField_ArrayConfig_: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.ArrayConfig)) + case nil: + default: + return fmt.Errorf("Index_IndexField.ValueMode has unexpected type %T", x) + } + return nil +} + +func _Index_IndexField_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Index_IndexField) + switch tag { + case 2: // value_mode.order + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ValueMode = &Index_IndexField_Order_{Index_IndexField_Order(x)} + return true, err + case 3: // value_mode.array_config + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.ValueMode = &Index_IndexField_ArrayConfig_{Index_IndexField_ArrayConfig(x)} + return true, err + default: + return false, nil + } +} + +func _Index_IndexField_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Index_IndexField) + // value_mode + switch x := m.ValueMode.(type) { + case *Index_IndexField_Order_: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Order)) + case *Index_IndexField_ArrayConfig_: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.ArrayConfig)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +func init() { + proto.RegisterType((*Index)(nil), "google.firestore.admin.v1beta2.Index") + proto.RegisterType((*Index_IndexField)(nil), "google.firestore.admin.v1beta2.Index.IndexField") + proto.RegisterEnum("google.firestore.admin.v1beta2.Index_QueryScope", Index_QueryScope_name, Index_QueryScope_value) + proto.RegisterEnum("google.firestore.admin.v1beta2.Index_State", Index_State_name, Index_State_value) + proto.RegisterEnum("google.firestore.admin.v1beta2.Index_IndexField_Order", Index_IndexField_Order_name, Index_IndexField_Order_value) + proto.RegisterEnum("google.firestore.admin.v1beta2.Index_IndexField_ArrayConfig", Index_IndexField_ArrayConfig_name, Index_IndexField_ArrayConfig_value) +} + +func init() { + proto.RegisterFile("google/firestore/admin/v1beta2/index.proto", fileDescriptor_index_47cf3a5e57bc9ffa) +} + +var fileDescriptor_index_47cf3a5e57bc9ffa = []byte{ + // 545 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x6b, 0xdb, 0x4c, + 0x10, 0xc6, 0x23, 0x39, 0x0a, 0xaf, 0xc7, 0x7e, 0x83, 0xba, 0x50, 0x2a, 0xd2, 0xb4, 0x18, 0xd1, + 0x83, 0x69, 0x41, 0x6a, 0x52, 0x28, 0x84, 0xb6, 0x07, 0x59, 0x5a, 0xdb, 0x82, 0x20, 0xc9, 0x2b, + 0xa7, 0xe0, 0x5e, 0xc4, 0xc6, 0x5a, 0x2b, 0x02, 0x5b, 0xeb, 0x48, 0x72, 0x68, 0xbe, 0x4e, 0xa1, + 0x97, 0x7e, 0xb0, 0x1e, 0xfa, 0x29, 0x8a, 0x56, 0xc2, 0x2e, 0xa1, 0x7f, 0x92, 0x8b, 0xd8, 0x91, + 0x9e, 0xe7, 0x37, 0xb3, 0xa3, 0x19, 0x78, 0x99, 0x70, 0x9e, 0x2c, 0x99, 0xb9, 0x48, 0x73, 0x56, + 0x94, 0x3c, 0x67, 0x26, 0x8d, 0x57, 0x69, 0x66, 0xde, 0x9c, 0x5c, 0xb2, 0x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 0xa4, 0x4f, 0x76, 0xa3, 0x4e, 0xf8, 0x92, 0x66, + 0x89, 0xc1, 0xf3, 0xc4, 0x4c, 0x58, 0x26, 0xb6, 0xc7, 0xac, 0x3f, 0xd1, 0x75, 0x5a, 0xfc, 0x69, + 0x55, 0xdf, 0x89, 0xe8, 0x8b, 0xbc, 0x3f, 0xb2, 0x87, 0xe1, 0x37, 0xf9, 0xc5, 0xa8, 0x86, 0xd9, + 0x4b, 0xbe, 0x89, 0x8d, 0xe1, 0xb6, 0x00, 0x4b, 0x14, 0xf0, 0xf1, 0x64, 0x50, 0x79, 0x2e, 0x0f, + 0x04, 0xfd, 0xcd, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xcd, 0x75, 0x16, 0x07, 0x04, 0x00, + 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/operation.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/operation.pb.go new file mode 100644 index 000000000..6078e43b0 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/operation.pb.go @@ -0,0 +1,361 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/firestore/admin/v1beta2/operation.proto + +package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Describes the state of the operation. +type OperationState int32 + +const ( + // Unspecified. + OperationState_OPERATION_STATE_UNSPECIFIED OperationState = 0 + // Request is being prepared for processing. + OperationState_INITIALIZING OperationState = 1 + // Request is actively being processed. + OperationState_PROCESSING OperationState = 2 + // Request is in the process of being cancelled after user called + // google.longrunning.Operations.CancelOperation on the operation. + OperationState_CANCELLING OperationState = 3 + // Request has been processed and is in its finalization stage. + OperationState_FINALIZING OperationState = 4 + // Request has completed successfully. + OperationState_SUCCESSFUL OperationState = 5 + // Request has finished being processed, but encountered an error. + OperationState_FAILED OperationState = 6 + // Request has finished being cancelled after user called + // google.longrunning.Operations.CancelOperation. + OperationState_CANCELLED OperationState = 7 +) + +var OperationState_name = map[int32]string{ + 0: "OPERATION_STATE_UNSPECIFIED", + 1: "INITIALIZING", + 2: "PROCESSING", + 3: "CANCELLING", + 4: "FINALIZING", + 5: "SUCCESSFUL", + 6: "FAILED", + 7: "CANCELLED", +} +var OperationState_value = map[string]int32{ + "OPERATION_STATE_UNSPECIFIED": 0, + "INITIALIZING": 1, + "PROCESSING": 2, + "CANCELLING": 3, + "FINALIZING": 4, + "SUCCESSFUL": 5, + "FAILED": 6, + "CANCELLED": 7, +} + +func (x OperationState) String() string { + return proto.EnumName(OperationState_name, int32(x)) +} +func (OperationState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_operation_3f6f641f194f3566, []int{0} +} + +// Specifies how the index is changing. +type FieldOperationMetadata_IndexConfigDelta_ChangeType int32 + +const ( + // The type of change is not specified or known. + FieldOperationMetadata_IndexConfigDelta_CHANGE_TYPE_UNSPECIFIED FieldOperationMetadata_IndexConfigDelta_ChangeType = 0 + // The single field index is being added. + FieldOperationMetadata_IndexConfigDelta_ADD FieldOperationMetadata_IndexConfigDelta_ChangeType = 1 + // The single field index is being removed. + FieldOperationMetadata_IndexConfigDelta_REMOVE FieldOperationMetadata_IndexConfigDelta_ChangeType = 2 +) + +var FieldOperationMetadata_IndexConfigDelta_ChangeType_name = map[int32]string{ + 0: "CHANGE_TYPE_UNSPECIFIED", + 1: "ADD", + 2: "REMOVE", +} +var FieldOperationMetadata_IndexConfigDelta_ChangeType_value = map[string]int32{ + "CHANGE_TYPE_UNSPECIFIED": 0, + "ADD": 1, + "REMOVE": 2, +} + +func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) String() string { + return proto.EnumName(FieldOperationMetadata_IndexConfigDelta_ChangeType_name, int32(x)) +} +func (FieldOperationMetadata_IndexConfigDelta_ChangeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_operation_3f6f641f194f3566, []int{0, 0, 0} +} + +// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from +// [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField]. +type FieldOperationMetadata struct { + // The time this operation started. + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // The time this operation completed. Will be unset if operation still in + // progress. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // The field resource that this operation is acting on. For example: + // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` + Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` + // A list of [IndexConfigDelta][google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this + // operation. + IndexConfigDeltas []*FieldOperationMetadata_IndexConfigDelta `protobuf:"bytes,4,rep,name=index_config_deltas,json=indexConfigDeltas,proto3" json:"index_config_deltas,omitempty"` + // The state of the operation. + State OperationState `protobuf:"varint,5,opt,name=state,proto3,enum=google.firestore.admin.v1beta2.OperationState" json:"state,omitempty"` + // The progress, in documents, of this operation. + DocumentProgress *Progress `protobuf:"bytes,6,opt,name=document_progress,json=documentProgress,proto3" json:"document_progress,omitempty"` + // The progress, in bytes, of this operation. + BytesProgress *Progress `protobuf:"bytes,7,opt,name=bytes_progress,json=bytesProgress,proto3" json:"bytes_progress,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldOperationMetadata) Reset() { *m = FieldOperationMetadata{} } +func (m *FieldOperationMetadata) String() string { return proto.CompactTextString(m) } +func (*FieldOperationMetadata) ProtoMessage() {} +func (*FieldOperationMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_operation_3f6f641f194f3566, []int{0} +} +func (m *FieldOperationMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldOperationMetadata.Unmarshal(m, b) +} +func (m *FieldOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldOperationMetadata.Marshal(b, m, deterministic) +} +func (dst *FieldOperationMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldOperationMetadata.Merge(dst, src) +} +func (m *FieldOperationMetadata) XXX_Size() int { + return xxx_messageInfo_FieldOperationMetadata.Size(m) +} +func (m *FieldOperationMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_FieldOperationMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldOperationMetadata proto.InternalMessageInfo + +func (m *FieldOperationMetadata) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *FieldOperationMetadata) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +func (m *FieldOperationMetadata) GetField() string { + if m != nil { + return m.Field + } + return "" +} + +func (m *FieldOperationMetadata) GetIndexConfigDeltas() []*FieldOperationMetadata_IndexConfigDelta { + if m != nil { + return m.IndexConfigDeltas + } + return nil +} + +func (m *FieldOperationMetadata) GetState() OperationState { + if m != nil { + return m.State + } + return OperationState_OPERATION_STATE_UNSPECIFIED +} + +func (m *FieldOperationMetadata) GetDocumentProgress() *Progress { + if m != nil { + return m.DocumentProgress + } + return nil +} + +func (m *FieldOperationMetadata) GetBytesProgress() *Progress { + if m != nil { + return m.BytesProgress + } + return nil +} + +// Information about an index configuration change. +type FieldOperationMetadata_IndexConfigDelta struct { + // Specifies how the index is changing. + ChangeType FieldOperationMetadata_IndexConfigDelta_ChangeType `protobuf:"varint,1,opt,name=change_type,json=changeType,proto3,enum=google.firestore.admin.v1beta2.FieldOperationMetadata_IndexConfigDelta_ChangeType" json:"change_type,omitempty"` + // The index being changed. + Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldOperationMetadata_IndexConfigDelta) Reset() { + *m = FieldOperationMetadata_IndexConfigDelta{} +} +func (m *FieldOperationMetadata_IndexConfigDelta) String() string { return proto.CompactTextString(m) } +func (*FieldOperationMetadata_IndexConfigDelta) ProtoMessage() {} +func (*FieldOperationMetadata_IndexConfigDelta) Descriptor() ([]byte, []int) { + return fileDescriptor_operation_3f6f641f194f3566, []int{0, 0} +} +func (m *FieldOperationMetadata_IndexConfigDelta) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Unmarshal(m, b) +} +func (m *FieldOperationMetadata_IndexConfigDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Marshal(b, m, deterministic) +} +func (dst *FieldOperationMetadata_IndexConfigDelta) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Merge(dst, src) +} +func (m *FieldOperationMetadata_IndexConfigDelta) XXX_Size() int { + return xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Size(m) +} +func (m *FieldOperationMetadata_IndexConfigDelta) XXX_DiscardUnknown() { + xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta proto.InternalMessageInfo + +func (m *FieldOperationMetadata_IndexConfigDelta) GetChangeType() FieldOperationMetadata_IndexConfigDelta_ChangeType { + if m != nil { + return m.ChangeType + } + return FieldOperationMetadata_IndexConfigDelta_CHANGE_TYPE_UNSPECIFIED +} + +func (m *FieldOperationMetadata_IndexConfigDelta) GetIndex() *Index { + if m != nil { + return m.Index + } + return nil +} + +// Describes the progress of the operation. +// Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1beta2.Progress] +// is used. +type Progress struct { + // The amount of work estimated. + EstimatedWork int64 `protobuf:"varint,1,opt,name=estimated_work,json=estimatedWork,proto3" json:"estimated_work,omitempty"` + // The amount of work completed. + CompletedWork int64 `protobuf:"varint,2,opt,name=completed_work,json=completedWork,proto3" json:"completed_work,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Progress) Reset() { *m = Progress{} } +func (m *Progress) String() string { return proto.CompactTextString(m) } +func (*Progress) ProtoMessage() {} +func (*Progress) Descriptor() ([]byte, []int) { + return fileDescriptor_operation_3f6f641f194f3566, []int{1} +} +func (m *Progress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Progress.Unmarshal(m, b) +} +func (m *Progress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Progress.Marshal(b, m, deterministic) +} +func (dst *Progress) XXX_Merge(src proto.Message) { + xxx_messageInfo_Progress.Merge(dst, src) +} +func (m *Progress) XXX_Size() int { + return xxx_messageInfo_Progress.Size(m) +} +func (m *Progress) XXX_DiscardUnknown() { + xxx_messageInfo_Progress.DiscardUnknown(m) +} + +var xxx_messageInfo_Progress proto.InternalMessageInfo + +func (m *Progress) GetEstimatedWork() int64 { + if m != nil { + return m.EstimatedWork + } + return 0 +} + +func (m *Progress) GetCompletedWork() int64 { + if m != nil { + return m.CompletedWork + } + return 0 +} + +func init() { + proto.RegisterType((*FieldOperationMetadata)(nil), "google.firestore.admin.v1beta2.FieldOperationMetadata") + proto.RegisterType((*FieldOperationMetadata_IndexConfigDelta)(nil), "google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta") + proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1beta2.Progress") + proto.RegisterEnum("google.firestore.admin.v1beta2.OperationState", OperationState_name, OperationState_value) + proto.RegisterEnum("google.firestore.admin.v1beta2.FieldOperationMetadata_IndexConfigDelta_ChangeType", FieldOperationMetadata_IndexConfigDelta_ChangeType_name, FieldOperationMetadata_IndexConfigDelta_ChangeType_value) +} + +func init() { + proto.RegisterFile("google/firestore/admin/v1beta2/operation.proto", fileDescriptor_operation_3f6f641f194f3566) +} + +var fileDescriptor_operation_3f6f641f194f3566 = []byte{ + // 665 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4f, 0x6f, 0x12, 0x4f, + 0x1c, 0xc6, 0x7f, 0x0b, 0x05, 0xda, 0x6f, 0x7f, 0x25, 0xdb, 0xd1, 0x28, 0xa1, 0xc6, 0x12, 0x62, + 0x13, 0xd2, 0xc3, 0x6c, 0x8a, 0xf1, 0x60, 0x9a, 0x98, 0x6c, 0x97, 0x05, 0x37, 0xa1, 0x40, 0x16, + 0xa8, 0xda, 0xcb, 0x66, 0x60, 0x87, 0x75, 0x53, 0x76, 0x67, 0xb3, 0x3b, 0xb5, 0xf6, 0xee, 0xd9, + 0x97, 0xe0, 0xc1, 0x9b, 0xbe, 0x4a, 0x33, 0xb3, 0x7f, 0x1a, 0x1b, 0x95, 0x98, 0x78, 0xe3, 0x19, + 0x9e, 0xe7, 0xf3, 0xfd, 0xc3, 0x0c, 0x80, 0x3d, 0xc6, 0xbc, 0x35, 0xd5, 0x56, 0x7e, 0x4c, 0x13, + 0xce, 0x62, 0xaa, 0x11, 0x37, 0xf0, 0x43, 0xed, 0xc3, 0xc9, 0x82, 0x72, 0xd2, 0xd5, 0x58, 0x44, + 0x63, 0xc2, 0x7d, 0x16, 0xe2, 0x28, 0x66, 0x9c, 0xa1, 0xa7, 0xa9, 0x1f, 0x17, 0x7e, 0x2c,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xa0, 0xfe, 0xf3, 0x15, 0x41, 0x87, 0x70, + 0x30, 0x9e, 0x98, 0xb6, 0x3e, 0xb3, 0xc6, 0x23, 0x67, 0x3a, 0xd3, 0x67, 0xf7, 0x5b, 0x54, 0xe1, + 0x7f, 0x6b, 0x64, 0xcd, 0x2c, 0x7d, 0x68, 0x5d, 0x5a, 0xa3, 0x81, 0xaa, 0xa0, 0x3a, 0xc0, 0xc4, + 0x1e, 0x1b, 0xe6, 0x74, 0x2a, 0x74, 0x49, 0x68, 0x43, 0x1f, 0x19, 0xe6, 0x70, 0x28, 0x74, 0x59, + 0xe8, 0xbe, 0x35, 0xca, 0xfd, 0x5b, 0x42, 0x4f, 0xe7, 0x86, 0xf0, 0xf7, 0xe7, 0x43, 0xb5, 0x22, + 0x66, 0xed, 0xeb, 0xd6, 0xd0, 0xec, 0xa9, 0x55, 0xb4, 0x07, 0x3b, 0x59, 0xd6, 0xec, 0xa9, 0xb5, + 0xb3, 0x6f, 0x0a, 0xb4, 0x97, 0x2c, 0xd8, 0xb0, 0xee, 0xb3, 0xbb, 0x21, 0x26, 0xe2, 0x2d, 0x4f, + 0x94, 0x4b, 0x23, 0x4b, 0x78, 0x6c, 0x4d, 0x42, 0x0f, 0xb3, 0xd8, 0xd3, 0x3c, 0x1a, 0xca, 0x97, + 0xae, 0xa5, 0x5f, 0x91, 0xc8, 0x4f, 0x7e, 0xf7, 0x87, 0x75, 0x2a, 0xd5, 0xd7, 0xd2, 0xd6, 0xc0, + 0xe8, 0x4f, 0xbf, 0x97, 0x9e, 0x0d, 0x52, 0x98, 0xb1, 0x66, 0xd7, 0x2e, 0xee, 0x17, 0x4d, 0xe8, + 0xb2, 0x89, 0x8b, 0x93, 0x33, 0x91, 0x59, 0x54, 0x25, 0xfd, 0xf9, 0x8f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x2e, 0x32, 0x9e, 0x39, 0x7b, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/common.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/common.pb.go index ccf88690f..fb29adc85 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/common.pb.go @@ -38,7 +38,7 @@ func (m *DocumentMask) Reset() { *m = DocumentMask{} } func (m *DocumentMask) String() string { return proto.CompactTextString(m) } func (*DocumentMask) ProtoMessage() {} func (*DocumentMask) Descriptor() ([]byte, []int) { - return fileDescriptor_common_8f5cdc8da3ccf6ed, []int{0} + return fileDescriptor_common_ed079c0d96917e99, []int{0} } func (m *DocumentMask) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentMask.Unmarshal(m, b) @@ -82,7 +82,7 @@ func (m *Precondition) Reset() { *m = Precondition{} } func (m *Precondition) String() string { return proto.CompactTextString(m) } func (*Precondition) ProtoMessage() {} func (*Precondition) Descriptor() ([]byte, []int) { - return fileDescriptor_common_8f5cdc8da3ccf6ed, []int{1} + return fileDescriptor_common_ed079c0d96917e99, []int{1} } func (m *Precondition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Precondition.Unmarshal(m, b) @@ -109,11 +109,13 @@ type isPrecondition_ConditionType interface { type Precondition_Exists struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3,oneof"` } + type Precondition_UpdateTime struct { UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3,oneof"` } -func (*Precondition_Exists) isPrecondition_ConditionType() {} +func (*Precondition_Exists) isPrecondition_ConditionType() {} + func (*Precondition_UpdateTime) isPrecondition_ConditionType() {} func (m *Precondition) GetConditionType() isPrecondition_ConditionType { @@ -227,7 +229,7 @@ func (m *TransactionOptions) Reset() { *m = TransactionOptions{} } func (m *TransactionOptions) String() string { return proto.CompactTextString(m) } func (*TransactionOptions) ProtoMessage() {} func (*TransactionOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_common_8f5cdc8da3ccf6ed, []int{2} + return fileDescriptor_common_ed079c0d96917e99, []int{2} } func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) @@ -254,11 +256,13 @@ type isTransactionOptions_Mode interface { type TransactionOptions_ReadOnly_ struct { ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"` } + type TransactionOptions_ReadWrite_ struct { ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,3,opt,name=read_write,json=readWrite,proto3,oneof"` } -func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} +func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} + func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {} func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { @@ -369,7 +373,7 @@ func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadWrite) ProtoMessage() {} func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_common_8f5cdc8da3ccf6ed, []int{2, 0} + return fileDescriptor_common_ed079c0d96917e99, []int{2, 0} } func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) @@ -413,7 +417,7 @@ func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadOnly) ProtoMessage() {} func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_common_8f5cdc8da3ccf6ed, []int{2, 1} + return fileDescriptor_common_ed079c0d96917e99, []int{2, 1} } func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) @@ -521,10 +525,10 @@ func init() { } func init() { - proto.RegisterFile("google/firestore/v1beta1/common.proto", fileDescriptor_common_8f5cdc8da3ccf6ed) + proto.RegisterFile("google/firestore/v1beta1/common.proto", fileDescriptor_common_ed079c0d96917e99) } -var fileDescriptor_common_8f5cdc8da3ccf6ed = []byte{ +var fileDescriptor_common_ed079c0d96917e99 = []byte{ // 468 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xef, 0x8a, 0xd3, 0x40, 0x10, 0x6f, 0x7a, 0xc7, 0xd1, 0x4e, 0x8b, 0x9c, 0x41, 0x24, 0x84, 0xc3, 0x3b, 0x0a, 0x42, 0x41, diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/document.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/document.pb.go index e9bde698c..a134467ae 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/document.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/document.pb.go @@ -34,7 +34,7 @@ type Document struct { // The map keys represent field names. // // A simple field name contains only characters `a` to `z`, `A` to `Z`, - // `0` to `9`, or `_`, and must not start with `0` to `9` or `_`. For example, + // `0` to `9`, or `_`, and must not start with `0` to `9`. For example, // `foo_bar_17`. // // Field names matching the regular expression `__.*__` are reserved. Reserved @@ -62,7 +62,7 @@ type Document struct { CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which the document was last changed. // - // This value is initally set to the `create_time` then increases + // This value is initially set to the `create_time` then increases // monotonically with each change to the document. It can also be // compared to values from other documents and the `read_time` of a query. UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` @@ -75,7 +75,7 @@ func (m *Document) Reset() { *m = Document{} } func (m *Document) String() string { return proto.CompactTextString(m) } func (*Document) ProtoMessage() {} func (*Document) Descriptor() ([]byte, []int) { - return fileDescriptor_document_f332568b22daa44c, []int{0} + return fileDescriptor_document_fe46ba4c8da20ac8, []int{0} } func (m *Document) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Document.Unmarshal(m, b) @@ -149,7 +149,7 @@ func (m *Value) Reset() { *m = Value{} } func (m *Value) String() string { return proto.CompactTextString(m) } func (*Value) ProtoMessage() {} func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_document_f332568b22daa44c, []int{1} + return fileDescriptor_document_fe46ba4c8da20ac8, []int{1} } func (m *Value) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Value.Unmarshal(m, b) @@ -176,48 +176,68 @@ type isValue_ValueType interface { type Value_NullValue struct { NullValue _struct.NullValue `protobuf:"varint,11,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` } + type Value_BooleanValue struct { BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"` } + type Value_IntegerValue struct { IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"` } + type Value_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` } + type Value_TimestampValue struct { TimestampValue *timestamp.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` } + type Value_StringValue struct { StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"` } + type Value_BytesValue struct { BytesValue []byte `protobuf:"bytes,18,opt,name=bytes_value,json=bytesValue,proto3,oneof"` } + type Value_ReferenceValue struct { ReferenceValue string `protobuf:"bytes,5,opt,name=reference_value,json=referenceValue,proto3,oneof"` } + type Value_GeoPointValue struct { GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"` } + type Value_ArrayValue struct { ArrayValue *ArrayValue `protobuf:"bytes,9,opt,name=array_value,json=arrayValue,proto3,oneof"` } + type Value_MapValue struct { MapValue *MapValue `protobuf:"bytes,6,opt,name=map_value,json=mapValue,proto3,oneof"` } -func (*Value_NullValue) isValue_ValueType() {} -func (*Value_BooleanValue) isValue_ValueType() {} -func (*Value_IntegerValue) isValue_ValueType() {} -func (*Value_DoubleValue) isValue_ValueType() {} +func (*Value_NullValue) isValue_ValueType() {} + +func (*Value_BooleanValue) isValue_ValueType() {} + +func (*Value_IntegerValue) isValue_ValueType() {} + +func (*Value_DoubleValue) isValue_ValueType() {} + func (*Value_TimestampValue) isValue_ValueType() {} -func (*Value_StringValue) isValue_ValueType() {} -func (*Value_BytesValue) isValue_ValueType() {} + +func (*Value_StringValue) isValue_ValueType() {} + +func (*Value_BytesValue) isValue_ValueType() {} + func (*Value_ReferenceValue) isValue_ValueType() {} -func (*Value_GeoPointValue) isValue_ValueType() {} -func (*Value_ArrayValue) isValue_ValueType() {} -func (*Value_MapValue) isValue_ValueType() {} + +func (*Value_GeoPointValue) isValue_ValueType() {} + +func (*Value_ArrayValue) isValue_ValueType() {} + +func (*Value_MapValue) isValue_ValueType() {} func (m *Value) GetValueType() isValue_ValueType { if m != nil { @@ -533,7 +553,7 @@ func (m *ArrayValue) Reset() { *m = ArrayValue{} } func (m *ArrayValue) String() string { return proto.CompactTextString(m) } func (*ArrayValue) ProtoMessage() {} func (*ArrayValue) Descriptor() ([]byte, []int) { - return fileDescriptor_document_f332568b22daa44c, []int{2} + return fileDescriptor_document_fe46ba4c8da20ac8, []int{2} } func (m *ArrayValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArrayValue.Unmarshal(m, b) @@ -578,7 +598,7 @@ func (m *MapValue) Reset() { *m = MapValue{} } func (m *MapValue) String() string { return proto.CompactTextString(m) } func (*MapValue) ProtoMessage() {} func (*MapValue) Descriptor() ([]byte, []int) { - return fileDescriptor_document_f332568b22daa44c, []int{3} + return fileDescriptor_document_fe46ba4c8da20ac8, []int{3} } func (m *MapValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MapValue.Unmarshal(m, b) @@ -615,10 +635,10 @@ func init() { } func init() { - proto.RegisterFile("google/firestore/v1beta1/document.proto", fileDescriptor_document_f332568b22daa44c) + proto.RegisterFile("google/firestore/v1beta1/document.proto", fileDescriptor_document_fe46ba4c8da20ac8) } -var fileDescriptor_document_f332568b22daa44c = []byte{ +var fileDescriptor_document_fe46ba4c8da20ac8 = []byte{ // 655 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcf, 0x6e, 0xd3, 0x4c, 0x14, 0xc5, 0xe3, 0x24, 0x8d, 0x92, 0xeb, 0xb4, 0xfd, 0x3e, 0xb3, 0x89, 0xa2, 0x8a, 0x86, 0x00, diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/firestore.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/firestore.pb.go index c953f05ee..e2a279919 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/firestore.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/firestore.pb.go @@ -73,7 +73,7 @@ func (x TargetChange_TargetChangeType) String() string { return proto.EnumName(TargetChange_TargetChangeType_name, int32(x)) } func (TargetChange_TargetChangeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{20, 0} + return fileDescriptor_firestore_6b2b6098f593317e, []int{20, 0} } // The request for [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. @@ -102,7 +102,7 @@ func (m *GetDocumentRequest) Reset() { *m = GetDocumentRequest{} } func (m *GetDocumentRequest) String() string { return proto.CompactTextString(m) } func (*GetDocumentRequest) ProtoMessage() {} func (*GetDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{0} + return fileDescriptor_firestore_6b2b6098f593317e, []int{0} } func (m *GetDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDocumentRequest.Unmarshal(m, b) @@ -122,6 +122,20 @@ func (m *GetDocumentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetDocumentRequest proto.InternalMessageInfo +func (m *GetDocumentRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *GetDocumentRequest) GetMask() *DocumentMask { + if m != nil { + return m.Mask + } + return nil +} + type isGetDocumentRequest_ConsistencySelector interface { isGetDocumentRequest_ConsistencySelector() } @@ -129,12 +143,14 @@ type isGetDocumentRequest_ConsistencySelector interface { type GetDocumentRequest_Transaction struct { Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3,oneof"` } + type GetDocumentRequest_ReadTime struct { ReadTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3,oneof"` } func (*GetDocumentRequest_Transaction) isGetDocumentRequest_ConsistencySelector() {} -func (*GetDocumentRequest_ReadTime) isGetDocumentRequest_ConsistencySelector() {} + +func (*GetDocumentRequest_ReadTime) isGetDocumentRequest_ConsistencySelector() {} func (m *GetDocumentRequest) GetConsistencySelector() isGetDocumentRequest_ConsistencySelector { if m != nil { @@ -143,20 +159,6 @@ func (m *GetDocumentRequest) GetConsistencySelector() isGetDocumentRequest_Consi return nil } -func (m *GetDocumentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetDocumentRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - return nil -} - func (m *GetDocumentRequest) GetTransaction() []byte { if x, ok := m.GetConsistencySelector().(*GetDocumentRequest_Transaction); ok { return x.Transaction @@ -288,7 +290,7 @@ func (m *ListDocumentsRequest) Reset() { *m = ListDocumentsRequest{} } func (m *ListDocumentsRequest) String() string { return proto.CompactTextString(m) } func (*ListDocumentsRequest) ProtoMessage() {} func (*ListDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{1} + return fileDescriptor_firestore_6b2b6098f593317e, []int{1} } func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b) @@ -308,27 +310,6 @@ func (m *ListDocumentsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListDocumentsRequest proto.InternalMessageInfo -type isListDocumentsRequest_ConsistencySelector interface { - isListDocumentsRequest_ConsistencySelector() -} - -type ListDocumentsRequest_Transaction struct { - Transaction []byte `protobuf:"bytes,8,opt,name=transaction,proto3,oneof"` -} -type ListDocumentsRequest_ReadTime struct { - ReadTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=read_time,json=readTime,proto3,oneof"` -} - -func (*ListDocumentsRequest_Transaction) isListDocumentsRequest_ConsistencySelector() {} -func (*ListDocumentsRequest_ReadTime) isListDocumentsRequest_ConsistencySelector() {} - -func (m *ListDocumentsRequest) GetConsistencySelector() isListDocumentsRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - func (m *ListDocumentsRequest) GetParent() string { if m != nil { return m.Parent @@ -371,6 +352,29 @@ func (m *ListDocumentsRequest) GetMask() *DocumentMask { return nil } +type isListDocumentsRequest_ConsistencySelector interface { + isListDocumentsRequest_ConsistencySelector() +} + +type ListDocumentsRequest_Transaction struct { + Transaction []byte `protobuf:"bytes,8,opt,name=transaction,proto3,oneof"` +} + +type ListDocumentsRequest_ReadTime struct { + ReadTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=read_time,json=readTime,proto3,oneof"` +} + +func (*ListDocumentsRequest_Transaction) isListDocumentsRequest_ConsistencySelector() {} + +func (*ListDocumentsRequest_ReadTime) isListDocumentsRequest_ConsistencySelector() {} + +func (m *ListDocumentsRequest) GetConsistencySelector() isListDocumentsRequest_ConsistencySelector { + if m != nil { + return m.ConsistencySelector + } + return nil +} + func (m *ListDocumentsRequest) GetTransaction() []byte { if x, ok := m.GetConsistencySelector().(*ListDocumentsRequest_Transaction); ok { return x.Transaction @@ -477,7 +481,7 @@ func (m *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} } func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) } func (*ListDocumentsResponse) ProtoMessage() {} func (*ListDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{2} + return fileDescriptor_firestore_6b2b6098f593317e, []int{2} } func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b) @@ -539,7 +543,7 @@ func (m *CreateDocumentRequest) Reset() { *m = CreateDocumentRequest{} } func (m *CreateDocumentRequest) String() string { return proto.CompactTextString(m) } func (*CreateDocumentRequest) ProtoMessage() {} func (*CreateDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{3} + return fileDescriptor_firestore_6b2b6098f593317e, []int{3} } func (m *CreateDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDocumentRequest.Unmarshal(m, b) @@ -624,7 +628,7 @@ func (m *UpdateDocumentRequest) Reset() { *m = UpdateDocumentRequest{} } func (m *UpdateDocumentRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDocumentRequest) ProtoMessage() {} func (*UpdateDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{4} + return fileDescriptor_firestore_6b2b6098f593317e, []int{4} } func (m *UpdateDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDocumentRequest.Unmarshal(m, b) @@ -689,7 +693,7 @@ func (m *DeleteDocumentRequest) Reset() { *m = DeleteDocumentRequest{} } func (m *DeleteDocumentRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDocumentRequest) ProtoMessage() {} func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{5} + return fileDescriptor_firestore_6b2b6098f593317e, []int{5} } func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b) @@ -755,7 +759,7 @@ func (m *BatchGetDocumentsRequest) Reset() { *m = BatchGetDocumentsReque func (m *BatchGetDocumentsRequest) String() string { return proto.CompactTextString(m) } func (*BatchGetDocumentsRequest) ProtoMessage() {} func (*BatchGetDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{6} + return fileDescriptor_firestore_6b2b6098f593317e, []int{6} } func (m *BatchGetDocumentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchGetDocumentsRequest.Unmarshal(m, b) @@ -775,6 +779,27 @@ func (m *BatchGetDocumentsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BatchGetDocumentsRequest proto.InternalMessageInfo +func (m *BatchGetDocumentsRequest) GetDatabase() string { + if m != nil { + return m.Database + } + return "" +} + +func (m *BatchGetDocumentsRequest) GetDocuments() []string { + if m != nil { + return m.Documents + } + return nil +} + +func (m *BatchGetDocumentsRequest) GetMask() *DocumentMask { + if m != nil { + return m.Mask + } + return nil +} + type isBatchGetDocumentsRequest_ConsistencySelector interface { isBatchGetDocumentsRequest_ConsistencySelector() } @@ -782,16 +807,20 @@ type isBatchGetDocumentsRequest_ConsistencySelector interface { type BatchGetDocumentsRequest_Transaction struct { Transaction []byte `protobuf:"bytes,4,opt,name=transaction,proto3,oneof"` } + type BatchGetDocumentsRequest_NewTransaction struct { NewTransaction *TransactionOptions `protobuf:"bytes,5,opt,name=new_transaction,json=newTransaction,proto3,oneof"` } + type BatchGetDocumentsRequest_ReadTime struct { ReadTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3,oneof"` } -func (*BatchGetDocumentsRequest_Transaction) isBatchGetDocumentsRequest_ConsistencySelector() {} +func (*BatchGetDocumentsRequest_Transaction) isBatchGetDocumentsRequest_ConsistencySelector() {} + func (*BatchGetDocumentsRequest_NewTransaction) isBatchGetDocumentsRequest_ConsistencySelector() {} -func (*BatchGetDocumentsRequest_ReadTime) isBatchGetDocumentsRequest_ConsistencySelector() {} + +func (*BatchGetDocumentsRequest_ReadTime) isBatchGetDocumentsRequest_ConsistencySelector() {} func (m *BatchGetDocumentsRequest) GetConsistencySelector() isBatchGetDocumentsRequest_ConsistencySelector { if m != nil { @@ -800,27 +829,6 @@ func (m *BatchGetDocumentsRequest) GetConsistencySelector() isBatchGetDocumentsR return nil } -func (m *BatchGetDocumentsRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *BatchGetDocumentsRequest) GetDocuments() []string { - if m != nil { - return m.Documents - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - return nil -} - func (m *BatchGetDocumentsRequest) GetTransaction() []byte { if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_Transaction); ok { return x.Transaction @@ -958,7 +966,7 @@ func (m *BatchGetDocumentsResponse) Reset() { *m = BatchGetDocumentsResp func (m *BatchGetDocumentsResponse) String() string { return proto.CompactTextString(m) } func (*BatchGetDocumentsResponse) ProtoMessage() {} func (*BatchGetDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{7} + return fileDescriptor_firestore_6b2b6098f593317e, []int{7} } func (m *BatchGetDocumentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchGetDocumentsResponse.Unmarshal(m, b) @@ -985,11 +993,13 @@ type isBatchGetDocumentsResponse_Result interface { type BatchGetDocumentsResponse_Found struct { Found *Document `protobuf:"bytes,1,opt,name=found,proto3,oneof"` } + type BatchGetDocumentsResponse_Missing struct { Missing string `protobuf:"bytes,2,opt,name=missing,proto3,oneof"` } -func (*BatchGetDocumentsResponse_Found) isBatchGetDocumentsResponse_Result() {} +func (*BatchGetDocumentsResponse_Found) isBatchGetDocumentsResponse_Result() {} + func (*BatchGetDocumentsResponse_Missing) isBatchGetDocumentsResponse_Result() {} func (m *BatchGetDocumentsResponse) GetResult() isBatchGetDocumentsResponse_Result { @@ -1114,7 +1124,7 @@ func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) } func (*BeginTransactionRequest) ProtoMessage() {} func (*BeginTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{8} + return fileDescriptor_firestore_6b2b6098f593317e, []int{8} } func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) @@ -1161,7 +1171,7 @@ func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionRespon func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } func (*BeginTransactionResponse) ProtoMessage() {} func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{9} + return fileDescriptor_firestore_6b2b6098f593317e, []int{9} } func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) @@ -1208,7 +1218,7 @@ func (m *CommitRequest) Reset() { *m = CommitRequest{} } func (m *CommitRequest) String() string { return proto.CompactTextString(m) } func (*CommitRequest) ProtoMessage() {} func (*CommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{10} + return fileDescriptor_firestore_6b2b6098f593317e, []int{10} } func (m *CommitRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitRequest.Unmarshal(m, b) @@ -1267,7 +1277,7 @@ func (m *CommitResponse) Reset() { *m = CommitResponse{} } func (m *CommitResponse) String() string { return proto.CompactTextString(m) } func (*CommitResponse) ProtoMessage() {} func (*CommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{11} + return fileDescriptor_firestore_6b2b6098f593317e, []int{11} } func (m *CommitResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitResponse.Unmarshal(m, b) @@ -1317,7 +1327,7 @@ func (m *RollbackRequest) Reset() { *m = RollbackRequest{} } func (m *RollbackRequest) String() string { return proto.CompactTextString(m) } func (*RollbackRequest) ProtoMessage() {} func (*RollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{12} + return fileDescriptor_firestore_6b2b6098f593317e, []int{12} } func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) @@ -1382,7 +1392,7 @@ func (m *RunQueryRequest) Reset() { *m = RunQueryRequest{} } func (m *RunQueryRequest) String() string { return proto.CompactTextString(m) } func (*RunQueryRequest) ProtoMessage() {} func (*RunQueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{13} + return fileDescriptor_firestore_6b2b6098f593317e, []int{13} } func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) @@ -1402,37 +1412,59 @@ func (m *RunQueryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_RunQueryRequest proto.InternalMessageInfo +func (m *RunQueryRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isRunQueryRequest_QueryType interface { isRunQueryRequest_QueryType() } -type isRunQueryRequest_ConsistencySelector interface { - isRunQueryRequest_ConsistencySelector() -} type RunQueryRequest_StructuredQuery struct { StructuredQuery *StructuredQuery `protobuf:"bytes,2,opt,name=structured_query,json=structuredQuery,proto3,oneof"` } + +func (*RunQueryRequest_StructuredQuery) isRunQueryRequest_QueryType() {} + +func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { + if m != nil { + return m.QueryType + } + return nil +} + +func (m *RunQueryRequest) GetStructuredQuery() *StructuredQuery { + if x, ok := m.GetQueryType().(*RunQueryRequest_StructuredQuery); ok { + return x.StructuredQuery + } + return nil +} + +type isRunQueryRequest_ConsistencySelector interface { + isRunQueryRequest_ConsistencySelector() +} + type RunQueryRequest_Transaction struct { Transaction []byte `protobuf:"bytes,5,opt,name=transaction,proto3,oneof"` } + type RunQueryRequest_NewTransaction struct { NewTransaction *TransactionOptions `protobuf:"bytes,6,opt,name=new_transaction,json=newTransaction,proto3,oneof"` } + type RunQueryRequest_ReadTime struct { ReadTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3,oneof"` } -func (*RunQueryRequest_StructuredQuery) isRunQueryRequest_QueryType() {} -func (*RunQueryRequest_Transaction) isRunQueryRequest_ConsistencySelector() {} +func (*RunQueryRequest_Transaction) isRunQueryRequest_ConsistencySelector() {} + func (*RunQueryRequest_NewTransaction) isRunQueryRequest_ConsistencySelector() {} -func (*RunQueryRequest_ReadTime) isRunQueryRequest_ConsistencySelector() {} -func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { - if m != nil { - return m.QueryType - } - return nil -} +func (*RunQueryRequest_ReadTime) isRunQueryRequest_ConsistencySelector() {} + func (m *RunQueryRequest) GetConsistencySelector() isRunQueryRequest_ConsistencySelector { if m != nil { return m.ConsistencySelector @@ -1440,20 +1472,6 @@ func (m *RunQueryRequest) GetConsistencySelector() isRunQueryRequest_Consistency return nil } -func (m *RunQueryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *RunQueryRequest) GetStructuredQuery() *StructuredQuery { - if x, ok := m.GetQueryType().(*RunQueryRequest_StructuredQuery); ok { - return x.StructuredQuery - } - return nil -} - func (m *RunQueryRequest) GetTransaction() []byte { if x, ok := m.GetConsistencySelector().(*RunQueryRequest_Transaction); ok { return x.Transaction @@ -1625,7 +1643,7 @@ func (m *RunQueryResponse) Reset() { *m = RunQueryResponse{} } func (m *RunQueryResponse) String() string { return proto.CompactTextString(m) } func (*RunQueryResponse) ProtoMessage() {} func (*RunQueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{14} + return fileDescriptor_firestore_6b2b6098f593317e, []int{14} } func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) @@ -1725,7 +1743,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} } func (m *WriteRequest) String() string { return proto.CompactTextString(m) } func (*WriteRequest) ProtoMessage() {} func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{15} + return fileDescriptor_firestore_6b2b6098f593317e, []int{15} } func (m *WriteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteRequest.Unmarshal(m, b) @@ -1806,7 +1824,7 @@ func (m *WriteResponse) Reset() { *m = WriteResponse{} } func (m *WriteResponse) String() string { return proto.CompactTextString(m) } func (*WriteResponse) ProtoMessage() {} func (*WriteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{16} + return fileDescriptor_firestore_6b2b6098f593317e, []int{16} } func (m *WriteResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteResponse.Unmarshal(m, b) @@ -1876,7 +1894,7 @@ func (m *ListenRequest) Reset() { *m = ListenRequest{} } func (m *ListenRequest) String() string { return proto.CompactTextString(m) } func (*ListenRequest) ProtoMessage() {} func (*ListenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{17} + return fileDescriptor_firestore_6b2b6098f593317e, []int{17} } func (m *ListenRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListenRequest.Unmarshal(m, b) @@ -1896,6 +1914,13 @@ func (m *ListenRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListenRequest proto.InternalMessageInfo +func (m *ListenRequest) GetDatabase() string { + if m != nil { + return m.Database + } + return "" +} + type isListenRequest_TargetChange interface { isListenRequest_TargetChange() } @@ -1903,11 +1928,13 @@ type isListenRequest_TargetChange interface { type ListenRequest_AddTarget struct { AddTarget *Target `protobuf:"bytes,2,opt,name=add_target,json=addTarget,proto3,oneof"` } + type ListenRequest_RemoveTarget struct { RemoveTarget int32 `protobuf:"varint,3,opt,name=remove_target,json=removeTarget,proto3,oneof"` } -func (*ListenRequest_AddTarget) isListenRequest_TargetChange() {} +func (*ListenRequest_AddTarget) isListenRequest_TargetChange() {} + func (*ListenRequest_RemoveTarget) isListenRequest_TargetChange() {} func (m *ListenRequest) GetTargetChange() isListenRequest_TargetChange { @@ -1917,13 +1944,6 @@ func (m *ListenRequest) GetTargetChange() isListenRequest_TargetChange { return nil } -func (m *ListenRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - func (m *ListenRequest) GetAddTarget() *Target { if x, ok := m.GetTargetChange().(*ListenRequest_AddTarget); ok { return x.AddTarget @@ -2034,7 +2054,7 @@ func (m *ListenResponse) Reset() { *m = ListenResponse{} } func (m *ListenResponse) String() string { return proto.CompactTextString(m) } func (*ListenResponse) ProtoMessage() {} func (*ListenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{18} + return fileDescriptor_firestore_6b2b6098f593317e, []int{18} } func (m *ListenResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListenResponse.Unmarshal(m, b) @@ -2061,24 +2081,32 @@ type isListenResponse_ResponseType interface { type ListenResponse_TargetChange struct { TargetChange *TargetChange `protobuf:"bytes,2,opt,name=target_change,json=targetChange,proto3,oneof"` } + type ListenResponse_DocumentChange struct { DocumentChange *DocumentChange `protobuf:"bytes,3,opt,name=document_change,json=documentChange,proto3,oneof"` } + type ListenResponse_DocumentDelete struct { DocumentDelete *DocumentDelete `protobuf:"bytes,4,opt,name=document_delete,json=documentDelete,proto3,oneof"` } + type ListenResponse_DocumentRemove struct { DocumentRemove *DocumentRemove `protobuf:"bytes,6,opt,name=document_remove,json=documentRemove,proto3,oneof"` } + type ListenResponse_Filter struct { Filter *ExistenceFilter `protobuf:"bytes,5,opt,name=filter,proto3,oneof"` } -func (*ListenResponse_TargetChange) isListenResponse_ResponseType() {} +func (*ListenResponse_TargetChange) isListenResponse_ResponseType() {} + func (*ListenResponse_DocumentChange) isListenResponse_ResponseType() {} + func (*ListenResponse_DocumentDelete) isListenResponse_ResponseType() {} + func (*ListenResponse_DocumentRemove) isListenResponse_ResponseType() {} -func (*ListenResponse_Filter) isListenResponse_ResponseType() {} + +func (*ListenResponse_Filter) isListenResponse_ResponseType() {} func (m *ListenResponse) GetResponseType() isListenResponse_ResponseType { if m != nil { @@ -2290,7 +2318,7 @@ func (m *Target) Reset() { *m = Target{} } func (m *Target) String() string { return proto.CompactTextString(m) } func (*Target) ProtoMessage() {} func (*Target) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{19} + return fileDescriptor_firestore_6b2b6098f593317e, []int{19} } func (m *Target) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Target.Unmarshal(m, b) @@ -2313,27 +2341,18 @@ var xxx_messageInfo_Target proto.InternalMessageInfo type isTarget_TargetType interface { isTarget_TargetType() } -type isTarget_ResumeType interface { - isTarget_ResumeType() -} type Target_Query struct { Query *Target_QueryTarget `protobuf:"bytes,2,opt,name=query,proto3,oneof"` } + type Target_Documents struct { Documents *Target_DocumentsTarget `protobuf:"bytes,3,opt,name=documents,proto3,oneof"` } -type Target_ResumeToken struct { - ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3,oneof"` -} -type Target_ReadTime struct { - ReadTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=read_time,json=readTime,proto3,oneof"` -} -func (*Target_Query) isTarget_TargetType() {} -func (*Target_Documents) isTarget_TargetType() {} -func (*Target_ResumeToken) isTarget_ResumeType() {} -func (*Target_ReadTime) isTarget_ResumeType() {} +func (*Target_Query) isTarget_TargetType() {} + +func (*Target_Documents) isTarget_TargetType() {} func (m *Target) GetTargetType() isTarget_TargetType { if m != nil { @@ -2341,12 +2360,6 @@ func (m *Target) GetTargetType() isTarget_TargetType { } return nil } -func (m *Target) GetResumeType() isTarget_ResumeType { - if m != nil { - return m.ResumeType - } - return nil -} func (m *Target) GetQuery() *Target_QueryTarget { if x, ok := m.GetTargetType().(*Target_Query); ok { @@ -2362,6 +2375,29 @@ func (m *Target) GetDocuments() *Target_DocumentsTarget { return nil } +type isTarget_ResumeType interface { + isTarget_ResumeType() +} + +type Target_ResumeToken struct { + ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3,oneof"` +} + +type Target_ReadTime struct { + ReadTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=read_time,json=readTime,proto3,oneof"` +} + +func (*Target_ResumeToken) isTarget_ResumeType() {} + +func (*Target_ReadTime) isTarget_ResumeType() {} + +func (m *Target) GetResumeType() isTarget_ResumeType { + if m != nil { + return m.ResumeType + } + return nil +} + func (m *Target) GetResumeToken() []byte { if x, ok := m.GetResumeType().(*Target_ResumeToken); ok { return x.ResumeToken @@ -2526,7 +2562,7 @@ func (m *Target_DocumentsTarget) Reset() { *m = Target_DocumentsTarget{} func (m *Target_DocumentsTarget) String() string { return proto.CompactTextString(m) } func (*Target_DocumentsTarget) ProtoMessage() {} func (*Target_DocumentsTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{19, 0} + return fileDescriptor_firestore_6b2b6098f593317e, []int{19, 0} } func (m *Target_DocumentsTarget) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Target_DocumentsTarget.Unmarshal(m, b) @@ -2576,7 +2612,7 @@ func (m *Target_QueryTarget) Reset() { *m = Target_QueryTarget{} } func (m *Target_QueryTarget) String() string { return proto.CompactTextString(m) } func (*Target_QueryTarget) ProtoMessage() {} func (*Target_QueryTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{19, 1} + return fileDescriptor_firestore_6b2b6098f593317e, []int{19, 1} } func (m *Target_QueryTarget) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Target_QueryTarget.Unmarshal(m, b) @@ -2596,6 +2632,13 @@ func (m *Target_QueryTarget) XXX_DiscardUnknown() { var xxx_messageInfo_Target_QueryTarget proto.InternalMessageInfo +func (m *Target_QueryTarget) GetParent() string { + if m != nil { + return m.Parent + } + return "" +} + type isTarget_QueryTarget_QueryType interface { isTarget_QueryTarget_QueryType() } @@ -2613,13 +2656,6 @@ func (m *Target_QueryTarget) GetQueryType() isTarget_QueryTarget_QueryType { return nil } -func (m *Target_QueryTarget) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - func (m *Target_QueryTarget) GetStructuredQuery() *StructuredQuery { if x, ok := m.GetQueryType().(*Target_QueryTarget_StructuredQuery); ok { return x.StructuredQuery @@ -2723,7 +2759,7 @@ func (m *TargetChange) Reset() { *m = TargetChange{} } func (m *TargetChange) String() string { return proto.CompactTextString(m) } func (*TargetChange) ProtoMessage() {} func (*TargetChange) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{20} + return fileDescriptor_firestore_6b2b6098f593317e, []int{20} } func (m *TargetChange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TargetChange.Unmarshal(m, b) @@ -2799,7 +2835,7 @@ func (m *ListCollectionIdsRequest) Reset() { *m = ListCollectionIdsReque func (m *ListCollectionIdsRequest) String() string { return proto.CompactTextString(m) } func (*ListCollectionIdsRequest) ProtoMessage() {} func (*ListCollectionIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{21} + return fileDescriptor_firestore_6b2b6098f593317e, []int{21} } func (m *ListCollectionIdsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCollectionIdsRequest.Unmarshal(m, b) @@ -2855,7 +2891,7 @@ func (m *ListCollectionIdsResponse) Reset() { *m = ListCollectionIdsResp func (m *ListCollectionIdsResponse) String() string { return proto.CompactTextString(m) } func (*ListCollectionIdsResponse) ProtoMessage() {} func (*ListCollectionIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_firestore_42af00d8e1a5b915, []int{22} + return fileDescriptor_firestore_6b2b6098f593317e, []int{22} } func (m *ListCollectionIdsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCollectionIdsResponse.Unmarshal(m, b) @@ -3540,146 +3576,148 @@ var _Firestore_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/firestore/v1beta1/firestore.proto", fileDescriptor_firestore_42af00d8e1a5b915) -} - -var fileDescriptor_firestore_42af00d8e1a5b915 = []byte{ - // 2180 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x8f, 0x1b, 0x49, - 0x15, 0x77, 0xf9, 0x6b, 0xec, 0xe7, 0x8f, 0xf1, 0x96, 0x92, 0xac, 0xe3, 0x64, 0xc9, 0xd0, 0x4b, - 0x12, 0x63, 0xad, 0xec, 0x64, 0x22, 0x14, 0xd6, 0x21, 0xcb, 0x66, 0x66, 0x9c, 0xf1, 0x84, 0x24, - 0x33, 0xe9, 0x99, 0x4d, 0x24, 0x14, 0xc9, 0xea, 0xe9, 0xae, 0x38, 0xbd, 0x63, 0x77, 0x7b, 0xbb, - 0xcb, 0x99, 0x9d, 0x5d, 0x0d, 0x02, 0x0e, 0x5c, 0x90, 0xb8, 0x70, 0x00, 0x2e, 0x1c, 0xd8, 0x03, - 0xd2, 0x22, 0xe0, 0x82, 0xc4, 0x05, 0x21, 0x71, 0x43, 0x20, 0x4e, 0x48, 0x08, 0x89, 0x03, 0x1c, - 0x38, 0x71, 0xe3, 0x3f, 0x40, 0x5d, 0x55, 0xdd, 0xee, 0x6e, 0x7f, 0xb5, 0x3d, 0x11, 0xb7, 0xae, - 0xe7, 0x57, 0xaf, 0xde, 0xc7, 0xef, 0xbd, 0x7a, 0xf5, 0x0c, 0xd5, 0xae, 0x69, 0x76, 0x7b, 0xa4, - 0xf1, 0x42, 0xb7, 0x88, 0x4d, 0x4d, 0x8b, 0x34, 0x5e, 0xdd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x78, 0x4e, 0xcd, 0x12, 0x30, 0xd5, 0x35, 0xe6, 0xdb, 0x94, 0x9c, 0xe1, 0x84, 0x1d, 0xcd, 0x79, - 0x22, 0x99, 0x86, 0xca, 0xe3, 0x97, 0x91, 0xd9, 0x77, 0xa5, 0x01, 0xab, 0x21, 0x85, 0x67, 0xbf, - 0x54, 0x2a, 0xdf, 0x47, 0x90, 0xf3, 0x39, 0xeb, 0xff, 0xdd, 0x8b, 0x84, 0xee, 0xf4, 0x02, 0xe4, - 0x84, 0xbd, 0xee, 0xd2, 0x75, 0xaf, 0x03, 0x88, 0xff, 0xc4, 0x21, 0xef, 0x4f, 0x43, 0x4c, 0x00, - 0x07, 0xb2, 0x98, 0xb1, 0x31, 0xc5, 0x8b, 0xeb, 0xb7, 0xa3, 0xa5, 0x72, 0x60, 0x71, 0x70, 0x32, - 0x20, 0x72, 0x89, 0x86, 0x28, 0xf8, 0x2d, 0x00, 0x2f, 0x0a, 0xdc, 0x85, 0x29, 0x39, 0xeb, 0x86, - 0xc1, 0xc6, 0x55, 0x48, 0xa9, 0xca, 0xd0, 0x76, 0x53, 0x1e, 0xbb, 0x07, 0x5b, 0x03, 0xb5, 0xbe, - 0xcf, 0xe6, 0x7e, 0x32, 0x67, 0x70, 0x6e, 0x99, 0x71, 0xb8, 0x04, 0xc1, 0x12, 0x68, 0x23, 0xd2, - 0xd1, 0xdb, 0x08, 0xe9, 0x31, 0x94, 0xc2, 0xa6, 0xe0, 0x02, 0x64, 0x1f, 0xef, 0x76, 0x36, 0xdb, - 0xf7, 0x1e, 0x6f, 0xb7, 0x4a, 0x31, 0xbc, 0x02, 0x89, 0x7b, 0x5b, 0x5b, 0x25, 0x84, 0x01, 0xd2, - 0x72, 0xeb, 0xd1, 0xee, 0xd3, 0x56, 0x29, 0x8e, 0x73, 0xb0, 0xb2, 0xf9, 0x81, 0x2c, 0xb7, 0x1e, - 0x1f, 0x94, 0x12, 0x38, 0x0b, 0x29, 0xb9, 0xb5, 0xdf,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f, 0xff, - 0x2d, 0x82, 0x62, 0x70, 0xb6, 0x37, 0xcb, 0x80, 0x89, 0x53, 0xc0, 0x48, 0x06, 0xec, 0x31, 0x03, - 0x1e, 0xac, 0xbf, 0x37, 0x32, 0xc0, 0xfb, 0x87, 0x63, 0x01, 0xd0, 0xf8, 0x34, 0xff, 0x31, 0x82, - 0x62, 0x70, 0xc8, 0x36, 0x4b, 0xf3, 0x89, 0xe3, 0xb8, 0xca, 0x85, 0xb1, 0x1a, 0xd4, 0xea, 0x0f, - 0xe8, 0x89, 0x8b, 0xec, 0xda, 0x92, 0xc8, 0xfe, 0x23, 0x82, 0x37, 0xc6, 0x66, 0x43, 0x78, 0xc6, - 0x93, 0x61, 0xda, 0xac, 0xae, 0x72, 0x6b, 0xa1, 0x3d, 0x02, 0xe5, 0x6d, 0xa6, 0xfd, 0x86, 0x74, - 0xd7, 0xe7, 0x6b, 0xa1, 0xed, 0x14, 0x0b, 0x4e, 0x47, 0x26, 0x34, 0x0f, 0x85, 0xdc, 0x26, 0xaa, - 0xdd, 0x40, 0xf8, 0xcf, 0x08, 0x4a, 0xe1, 0x69, 0x0c, 0xbe, 0x39, 0x43, 0xab, 0xc9, 0x83, 0xa3, - 0xca, 0xfa, 0x22, 0x5b, 0x84, 0x1d, 0x02, 0x33, 0x7e, 0xd0, 0x2f, 0x62, 0x47, 0x48, 0x6c, 0x13, - 0xd5, 0xf0, 0x67, 0x08, 0xd2, 0x7c, 0x26, 0x83, 0xaf, 0xcf, 0x48, 0x53, 0xff, 0xf8, 0xa8, 0x52, - 0x9d, 0xcf, 0x28, 0xf4, 0xbd, 0xcf, 0xf4, 0x7d, 0x5f, 0xba, 0xb3, 0x94, 0xbe, 0xfc, 0x29, 0xe4, - 0x68, 0xf9, 0x23, 0x04, 0x19, 0x77, 0x3c, 0x83, 0x67, 0xf4, 0x21, 0xa1, 0x11, 0xce, 0x54, 0x34, - 0x9f, 0x0d, 0x0f, 0x96, 0x38, 0xc5, 0xd1, 0xec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 0x52, 0xfd, 0xe9, - 0xcd, 0x0d, 0x67, 0xc7, 0x9f, 0x5c, 0x86, 0xe7, 0x8c, 0xe1, 0xb9, 0xc7, 0xf0, 0xfc, 0x29, 0x17, - 0x79, 0x98, 0x66, 0xc7, 0xde, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xa1, 0x5f, 0x1d, - 0xcd, 0x20, 0x00, 0x00, + proto.RegisterFile("google/firestore/v1beta1/firestore.proto", fileDescriptor_firestore_6b2b6098f593317e) +} + +var fileDescriptor_firestore_6b2b6098f593317e = []byte{ + // 2214 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0xcd, 0x8f, 0x1b, 0x49, + 0x15, 0x77, 0xb5, 0x3f, 0xc6, 0x7e, 0xfe, 0x18, 0x6f, 0x91, 0x64, 0x1d, 0x27, 0x4b, 0x86, 0x5e, + 0x92, 0x18, 0x6b, 0x65, 0x27, 0x13, 0xa1, 0xb0, 0x0e, 0x59, 0x92, 0x99, 0xf1, 0x8c, 0x27, 0x24, + 0x33, 0x93, 0x9e, 0xd9, 0x44, 0x5a, 0x45, 0xb2, 0x7a, 0xba, 0x2b, 0x4e, 0xef, 0xd8, 0xdd, 0xde, + 0xee, 0x76, 0x66, 0x67, 0x57, 0x83, 0x80, 0x03, 0x1c, 0x90, 0xf6, 0xc2, 0x01, 0xf6, 0x02, 0x08, + 0x0e, 0x48, 0x7b, 0x80, 0x0b, 0x12, 0x17, 0x84, 0xc4, 0x6d, 0x05, 0x47, 0x24, 0x84, 0xc4, 0x01, + 0x0e, 0x9c, 0xb8, 0x21, 0xf1, 0x07, 0xa0, 0xae, 0xaa, 0x6e, 0x77, 0xb7, 0xbf, 0xda, 0x9e, 0x68, + 0x6f, 0x5d, 0xcf, 0xaf, 0x5e, 0xbd, 0x8f, 0xdf, 0x7b, 0xf5, 0xea, 0xcd, 0x40,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3, 0x8f, 0x1e, 0xe8, 0x55, 0xca, 0xa8, 0xac, 0x70, 0x04, + 0x6e, 0xbc, 0xec, 0x3c, 0x37, 0x9e, 0x53, 0xb3, 0x38, 0x4c, 0x35, 0x95, 0xfa, 0x36, 0x29, 0xa5, + 0x19, 0x61, 0x5b, 0x75, 0x9e, 0x48, 0x86, 0xae, 0xb0, 0xf8, 0xa5, 0x25, 0xfa, 0x5d, 0xae, 0xc3, + 0x72, 0x48, 0xe1, 0xe9, 0x2f, 0x95, 0xf2, 0x8f, 0x10, 0x64, 0x7d, 0xce, 0xfa, 0xa2, 0x7b, 0x91, + 0xd0, 0x9d, 0x9e, 0x87, 0x2c, 0xb7, 0xd7, 0x5d, 0xba, 0xee, 0x75, 0x00, 0xf1, 0x1f, 0x01, 0x72, + 0xfe, 0x34, 0xc4, 0x04, 0x70, 0x20, 0x8b, 0x29, 0x1b, 0x55, 0xbc, 0xb0, 0x7a, 0x3b, 0x5a, 0x2a, + 0x07, 0x16, 0x07, 0x27, 0x7d, 0x22, 0x15, 0xed, 0x10, 0x05, 0xbf, 0x01, 0xe0, 0x45, 0x81, 0xb9, + 0x30, 0x29, 0x65, 0xdc, 0x30, 0x58, 0xb8, 0x02, 0x49, 0x45, 0x1e, 0x58, 0x6e, 0xca, 0x63, 0xf7, + 0x60, 0xb3, 0xaf, 0xd4, 0xf6, 0xe9, 0xdc, 0x4f, 0x62, 0x0c, 0xce, 0x2d, 0x33, 0x0a, 0x97, 0x20, + 0x58, 0x02, 0x6d, 0x44, 0x2a, 0x7a, 0x1b, 0x21, 0xee, 0x40, 0x31, 0x6c, 0x0a, 0xce, 0x43, 0x66, + 0x67, 0xb7, 0xbd, 0xde, 0xba, 0xbf, 0xb3, 0xd5, 0x2c, 0xc6, 0xf0, 0x12, 0xc4, 0xef, 0x6f, 0x6c, + 0x14, 0x11, 0x06, 0x48, 0x49, 0xcd, 0x47, 0xbb, 0x4f, 0x9a, 0x45, 0x01, 0x67, 0x61, 0x69, 0x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 0xe7, 0xed, 0x18, 0x5d, 0x59, 0xef, 0xd4, 0x0c, 0xb3, 0x53, 0xef, 0x10, 0x9d, 0x96, 0x82, + 0x3a, 0xfb, 0x49, 0xee, 0x6b, 0xd6, 0xe8, 0xbf, 0x06, 0xdc, 0xf1, 0x28, 0xbf, 0x14, 0x12, 0x5b, + 0xeb, 0x9b, 0xfb, 0x9f, 0x09, 0x5f, 0xde, 0x62, 0xa2, 0xd6, 0xbb, 0xc6, 0x40, 0xad, 0x79, 0x27, + 0xd5, 0x9e, 0xdc, 0x5c, 0x73, 0x76, 0xfc, 0xd9, 0x65, 0x78, 0x46, 0x19, 0x9e, 0x79, 0x0c, 0xcf, + 0x9e, 0x30, 0x91, 0x87, 0x29, 0x7a, 0xec, 0xad, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x53, 0x38, + 0xf0, 0x00, 0x68, 0x21, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/query.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/query.pb.go index 83362e74c..8b6d255fa 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/query.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/query.pb.go @@ -47,7 +47,7 @@ func (x StructuredQuery_Direction) String() string { return proto.EnumName(StructuredQuery_Direction_name, int32(x)) } func (StructuredQuery_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 0} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 0} } // A composite filter operator. @@ -66,14 +66,14 @@ var StructuredQuery_CompositeFilter_Operator_name = map[int32]string{ } var StructuredQuery_CompositeFilter_Operator_value = map[string]int32{ "OPERATOR_UNSPECIFIED": 0, - "AND": 1, + "AND": 1, } func (x StructuredQuery_CompositeFilter_Operator) String() string { return proto.EnumName(StructuredQuery_CompositeFilter_Operator_name, int32(x)) } func (StructuredQuery_CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 2, 0} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 2, 0} } // A field filter operator. @@ -93,6 +93,8 @@ const ( StructuredQuery_FieldFilter_GREATER_THAN_OR_EQUAL StructuredQuery_FieldFilter_Operator = 4 // Equal. StructuredQuery_FieldFilter_EQUAL StructuredQuery_FieldFilter_Operator = 5 + // Contains. Requires that the field is an array. + StructuredQuery_FieldFilter_ARRAY_CONTAINS StructuredQuery_FieldFilter_Operator = 7 ) var StructuredQuery_FieldFilter_Operator_name = map[int32]string{ @@ -102,6 +104,7 @@ var StructuredQuery_FieldFilter_Operator_name = map[int32]string{ 3: "GREATER_THAN", 4: "GREATER_THAN_OR_EQUAL", 5: "EQUAL", + 7: "ARRAY_CONTAINS", } var StructuredQuery_FieldFilter_Operator_value = map[string]int32{ "OPERATOR_UNSPECIFIED": 0, @@ -110,13 +113,14 @@ var StructuredQuery_FieldFilter_Operator_value = map[string]int32{ "GREATER_THAN": 3, "GREATER_THAN_OR_EQUAL": 4, "EQUAL": 5, + "ARRAY_CONTAINS": 7, } func (x StructuredQuery_FieldFilter_Operator) String() string { return proto.EnumName(StructuredQuery_FieldFilter_Operator_name, int32(x)) } func (StructuredQuery_FieldFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 3, 0} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 3, 0} } // A unary operator. @@ -146,7 +150,7 @@ func (x StructuredQuery_UnaryFilter_Operator) String() string { return proto.EnumName(StructuredQuery_UnaryFilter_Operator_name, int32(x)) } func (StructuredQuery_UnaryFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 4, 0} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 4, 0} } // A Firestore query. @@ -199,7 +203,7 @@ func (m *StructuredQuery) Reset() { *m = StructuredQuery{} } func (m *StructuredQuery) String() string { return proto.CompactTextString(m) } func (*StructuredQuery) ProtoMessage() {} func (*StructuredQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0} + return fileDescriptor_query_4a614d17d9e42012, []int{0} } func (m *StructuredQuery) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery.Unmarshal(m, b) @@ -293,7 +297,7 @@ func (m *StructuredQuery_CollectionSelector) Reset() { *m = StructuredQu func (m *StructuredQuery_CollectionSelector) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_CollectionSelector) ProtoMessage() {} func (*StructuredQuery_CollectionSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 0} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 0} } func (m *StructuredQuery_CollectionSelector) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_CollectionSelector.Unmarshal(m, b) @@ -345,7 +349,7 @@ func (m *StructuredQuery_Filter) Reset() { *m = StructuredQuery_Filter{} func (m *StructuredQuery_Filter) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_Filter) ProtoMessage() {} func (*StructuredQuery_Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 1} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 1} } func (m *StructuredQuery_Filter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_Filter.Unmarshal(m, b) @@ -372,16 +376,20 @@ type isStructuredQuery_Filter_FilterType interface { type StructuredQuery_Filter_CompositeFilter struct { CompositeFilter *StructuredQuery_CompositeFilter `protobuf:"bytes,1,opt,name=composite_filter,json=compositeFilter,proto3,oneof"` } + type StructuredQuery_Filter_FieldFilter struct { FieldFilter *StructuredQuery_FieldFilter `protobuf:"bytes,2,opt,name=field_filter,json=fieldFilter,proto3,oneof"` } + type StructuredQuery_Filter_UnaryFilter struct { UnaryFilter *StructuredQuery_UnaryFilter `protobuf:"bytes,3,opt,name=unary_filter,json=unaryFilter,proto3,oneof"` } func (*StructuredQuery_Filter_CompositeFilter) isStructuredQuery_Filter_FilterType() {} -func (*StructuredQuery_Filter_FieldFilter) isStructuredQuery_Filter_FilterType() {} -func (*StructuredQuery_Filter_UnaryFilter) isStructuredQuery_Filter_FilterType() {} + +func (*StructuredQuery_Filter_FieldFilter) isStructuredQuery_Filter_FilterType() {} + +func (*StructuredQuery_Filter_UnaryFilter) isStructuredQuery_Filter_FilterType() {} func (m *StructuredQuery_Filter) GetFilterType() isStructuredQuery_Filter_FilterType { if m != nil { @@ -520,7 +528,7 @@ func (m *StructuredQuery_CompositeFilter) Reset() { *m = StructuredQuery func (m *StructuredQuery_CompositeFilter) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_CompositeFilter) ProtoMessage() {} func (*StructuredQuery_CompositeFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 2} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 2} } func (m *StructuredQuery_CompositeFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_CompositeFilter.Unmarshal(m, b) @@ -571,7 +579,7 @@ func (m *StructuredQuery_FieldFilter) Reset() { *m = StructuredQuery_Fie func (m *StructuredQuery_FieldFilter) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_FieldFilter) ProtoMessage() {} func (*StructuredQuery_FieldFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 3} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 3} } func (m *StructuredQuery_FieldFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_FieldFilter.Unmarshal(m, b) @@ -630,7 +638,7 @@ func (m *StructuredQuery_UnaryFilter) Reset() { *m = StructuredQuery_Una func (m *StructuredQuery_UnaryFilter) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_UnaryFilter) ProtoMessage() {} func (*StructuredQuery_UnaryFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 4} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 4} } func (m *StructuredQuery_UnaryFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_UnaryFilter.Unmarshal(m, b) @@ -650,6 +658,13 @@ func (m *StructuredQuery_UnaryFilter) XXX_DiscardUnknown() { var xxx_messageInfo_StructuredQuery_UnaryFilter proto.InternalMessageInfo +func (m *StructuredQuery_UnaryFilter) GetOp() StructuredQuery_UnaryFilter_Operator { + if m != nil { + return m.Op + } + return StructuredQuery_UnaryFilter_OPERATOR_UNSPECIFIED +} + type isStructuredQuery_UnaryFilter_OperandType interface { isStructuredQuery_UnaryFilter_OperandType() } @@ -667,13 +682,6 @@ func (m *StructuredQuery_UnaryFilter) GetOperandType() isStructuredQuery_UnaryFi return nil } -func (m *StructuredQuery_UnaryFilter) GetOp() StructuredQuery_UnaryFilter_Operator { - if m != nil { - return m.Op - } - return StructuredQuery_UnaryFilter_OPERATOR_UNSPECIFIED -} - func (m *StructuredQuery_UnaryFilter) GetField() *StructuredQuery_FieldReference { if x, ok := m.GetOperandType().(*StructuredQuery_UnaryFilter_Field); ok { return x.Field @@ -751,7 +759,7 @@ func (m *StructuredQuery_Order) Reset() { *m = StructuredQuery_Order{} } func (m *StructuredQuery_Order) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_Order) ProtoMessage() {} func (*StructuredQuery_Order) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 5} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 5} } func (m *StructuredQuery_Order) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_Order.Unmarshal(m, b) @@ -797,7 +805,7 @@ func (m *StructuredQuery_FieldReference) Reset() { *m = StructuredQuery_ func (m *StructuredQuery_FieldReference) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_FieldReference) ProtoMessage() {} func (*StructuredQuery_FieldReference) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 6} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 6} } func (m *StructuredQuery_FieldReference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_FieldReference.Unmarshal(m, b) @@ -840,7 +848,7 @@ func (m *StructuredQuery_Projection) Reset() { *m = StructuredQuery_Proj func (m *StructuredQuery_Projection) String() string { return proto.CompactTextString(m) } func (*StructuredQuery_Projection) ProtoMessage() {} func (*StructuredQuery_Projection) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{0, 7} + return fileDescriptor_query_4a614d17d9e42012, []int{0, 7} } func (m *StructuredQuery_Projection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructuredQuery_Projection.Unmarshal(m, b) @@ -886,7 +894,7 @@ func (m *Cursor) Reset() { *m = Cursor{} } func (m *Cursor) String() string { return proto.CompactTextString(m) } func (*Cursor) ProtoMessage() {} func (*Cursor) Descriptor() ([]byte, []int) { - return fileDescriptor_query_42c358c3831cf2d2, []int{1} + return fileDescriptor_query_4a614d17d9e42012, []int{1} } func (m *Cursor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cursor.Unmarshal(m, b) @@ -938,70 +946,71 @@ func init() { } func init() { - proto.RegisterFile("google/firestore/v1beta1/query.proto", fileDescriptor_query_42c358c3831cf2d2) + proto.RegisterFile("google/firestore/v1beta1/query.proto", fileDescriptor_query_4a614d17d9e42012) } -var fileDescriptor_query_42c358c3831cf2d2 = []byte{ - // 970 bytes of a gzipped FileDescriptorProto +var fileDescriptor_query_4a614d17d9e42012 = []byte{ + // 985 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xc7, 0xd7, 0x4e, 0xf3, 0x75, 0xd2, 0x0f, 0x6b, 0x04, 0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0x79, 0xc6, 0xef, 0x65, 0xc0, 0x85, 0x08, - 0xb8, 0x98, 0x07, 0x5c, 0x9c, 0x17, 0xc8, 0x69, 0x4d, 0x1c, 0xbb, 0xff, 0x4f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x4c, 0xc9, 0x73, 0x9b, 0x42, 0x0a, 0x00, 0x00, + 0x14, 0xc7, 0x6b, 0xa7, 0xf9, 0x3a, 0x69, 0xd3, 0x30, 0x82, 0x95, 0x09, 0xcb, 0x52, 0x05, 0xa4, + 0xed, 0x0d, 0x0e, 0x6d, 0x59, 0x01, 0x5a, 0x40, 0x72, 0x12, 0xb7, 0xcd, 0xaa, 0x72, 0xd2, 0x49, + 0x5b, 0x69, 0x57, 0x15, 0x96, 0x63, 0x8f, 0x53, 0x23, 0xd7, 0x63, 0xc6, 0xe3, 0x5d, 0xf5, 0x25, + 0xb8, 0xe5, 0x9e, 0xcb, 0x7d, 0x01, 0x78, 0x06, 0x9e, 0x82, 0x27, 0x59, 0x21, 0x8f, 0xc7, 0x49, + 0xbb, 0x55, 0x45, 0x52, 0xb8, 0xcb, 0x39, 0x3e, 0xe7, 0x37, 0xc7, 0xff, 0x73, 0x8e, 0x27, 0xf0, + 0xc5, 0x8c, 0xd2, 0x59, 0x48, 0xba, 0x7e, 0xc0, 0x48, 0xc2, 0x29, 0x23, 0xdd, 0xd7, 0xbb, 0x53, + 0xc2, 0x9d, 0xdd, 0xee, 0x2f, 0x29, 0x61, 0xd7, 0x7a, 0xcc, 0x28, 0xa7, 0x48, 0xcb, 0xa3, 0xf4, + 0x79, 0x94, 0x2e, 0xa3, 0xda, 0x8f, 0x65, 0xbe, 0x13, 0x07, 0x5d, 0x27, 0x8a, 0x28, 0x77, 0x78, + 0x40, 0xa3, 0x24, 0xcf, 0x6b, 0x3f, 0xbd, 0x97, 0xee, 0x51, 0x37, 0xbd, 0x22, 0x11, 0x97, 0x81, + 0x4f, 0x64, 0xa0, 0xb0, 0xa6, 0xa9, 0xdf, 0x7d, 0xc3, 0x9c, 0x38, 0x26, 0x4c, 0x82, 0x3a, 0xbf, + 0x7e, 0x00, 0x5b, 0x13, 0xce, 0x52, 0x97, 0xa7, 0x8c, 0x78, 0x27, 0x59, 0x69, 0xe8, 0x18, 0x2a, + 0x09, 0x09, 0x89, 0xcb, 0x35, 0x65, 0x5b, 0xd9, 0x69, 0xec, 0x7d, 0xad, 0xdf, 0x57, 0xa5, 0xfe, + 0x5e, 0xaa, 0x3e, 0x66, 0xf4, 0x67, 0xe2, 0x66, 0x95, 0x62, 0xc9, 0x40, 0x63, 0x58, 0xf7, 0x19, + 0xbd, 0xd2, 0xd4, 0xed, 0xd2, 0x4e, 0x63, 0xef, 0xfb, 0xe5, 0x59, 0x7d, 0x1a, 0x86, 0x39, 0x6b, + 0x22, 0x48, 0x94, 0x61, 0x41, 0x42, 0x07, 0x50, 0x7e, 0x73, 0x49, 0x18, 0xd1, 0x4a, 0xa2, 0xbc, + 0xaf, 0x96, 0x47, 0x1e, 0x04, 0x21, 0x27, 0x0c, 0xe7, 0xe9, 0xe8, 0x05, 0xd4, 0x28, 0xf3, 0x08, + 0xb3, 0xa7, 0xd7, 0xda, 0xba, 0xa8, 0xae, 0xbb, 0x3c, 0x6a, 0x94, 0x65, 0xe2, 0xaa, 0x00, 0xf4, + 0xae, 0xd1, 0x73, 0xa8, 0x25, 0xdc, 0x61, 0xdc, 0x76, 0xb8, 0x56, 0x15, 0x65, 0x6d, 0xdf, 0xcf, + 0xea, 0xa7, 0x2c, 0xa1, 0x0c, 0x57, 0x45, 0x86, 0xc1, 0xd1, 0x37, 0x50, 0x21, 0x91, 0x97, 0xa5, + 0xd6, 0x96, 0x4c, 0x2d, 0x93, 0xc8, 0x33, 0x38, 0x7a, 0x04, 0x15, 0xea, 0xfb, 0x09, 0xe1, 0x5a, + 0x65, 0x5b, 0xd9, 0x29, 0x63, 0x69, 0xa1, 0x5d, 0x28, 0x87, 0xc1, 0x55, 0xc0, 0xb5, 0xb2, 0xe0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x49, 0x8e, 0x95, 0x57, 0x86, 0x8c, 0x9b, 0xd1, 0xd0, 0x89, 0x66, 0x3a, 0x65, 0xb3, + 0xee, 0x8c, 0x44, 0xe2, 0x0a, 0xed, 0xe6, 0x8f, 0x9c, 0x38, 0x48, 0xee, 0xfe, 0x05, 0x7b, 0x3e, + 0xf7, 0xfc, 0xae, 0xae, 0x1f, 0xf6, 0x0f, 0x26, 0x6f, 0xd5, 0x27, 0x87, 0x39, 0xaa, 0x1f, 0xd2, + 0xd4, 0xd3, 0x0f, 0xe6, 0x07, 0x9f, 0xef, 0xf6, 0xb2, 0x8c, 0xbf, 0x8a, 0x80, 0x0b, 0x11, 0x70, + 0x31, 0x0f, 0xb8, 0x38, 0xcf, 0x91, 0xd3, 0x8a, 0x38, 0x76, 0xff, 0x9f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x3e, 0x38, 0xb4, 0xc6, 0x56, 0x0a, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/write.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/write.pb.go index 49615c106..fc8360891 100644 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/write.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/write.pb.go @@ -44,7 +44,7 @@ func (x DocumentTransform_FieldTransform_ServerValue) String() string { return proto.EnumName(DocumentTransform_FieldTransform_ServerValue_name, int32(x)) } func (DocumentTransform_FieldTransform_ServerValue) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{1, 0, 0} + return fileDescriptor_write_20ad488dab963f67, []int{1, 0, 0} } // A write on a document. @@ -59,9 +59,10 @@ type Write struct { // The fields to update in this write. // // This field can be set only when the operation is `update`. - // None of the field paths in the mask may contain a reserved name. - // If the document exists on the server and has fields not referenced in the - // mask, they are left unchanged. + // If the mask is not set for an `update` and the document exists, any + // existing data will be overwritten. + // If the mask is set and the document on the server has fields not covered by + // the mask, they are left unchanged. // Fields referenced in the mask, but not present in the input document, are // deleted from the document on the server. // The field paths in this mask must not contain a reserved field name. @@ -79,7 +80,7 @@ func (m *Write) Reset() { *m = Write{} } func (m *Write) String() string { return proto.CompactTextString(m) } func (*Write) ProtoMessage() {} func (*Write) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{0} + return fileDescriptor_write_20ad488dab963f67, []int{0} } func (m *Write) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Write.Unmarshal(m, b) @@ -106,15 +107,19 @@ type isWrite_Operation interface { type Write_Update struct { Update *Document `protobuf:"bytes,1,opt,name=update,proto3,oneof"` } + type Write_Delete struct { Delete string `protobuf:"bytes,2,opt,name=delete,proto3,oneof"` } + type Write_Transform struct { Transform *DocumentTransform `protobuf:"bytes,6,opt,name=transform,proto3,oneof"` } -func (*Write_Update) isWrite_Operation() {} -func (*Write_Delete) isWrite_Operation() {} +func (*Write_Update) isWrite_Operation() {} + +func (*Write_Delete) isWrite_Operation() {} + func (*Write_Transform) isWrite_Operation() {} func (m *Write) GetOperation() isWrite_Operation { @@ -265,7 +270,7 @@ func (m *DocumentTransform) Reset() { *m = DocumentTransform{} } func (m *DocumentTransform) String() string { return proto.CompactTextString(m) } func (*DocumentTransform) ProtoMessage() {} func (*DocumentTransform) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{1} + return fileDescriptor_write_20ad488dab963f67, []int{1} } func (m *DocumentTransform) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentTransform.Unmarshal(m, b) @@ -308,6 +313,8 @@ type DocumentTransform_FieldTransform struct { // // Types that are valid to be assigned to TransformType: // *DocumentTransform_FieldTransform_SetToServerValue + // *DocumentTransform_FieldTransform_AppendMissingElements + // *DocumentTransform_FieldTransform_RemoveAllFromArray TransformType isDocumentTransform_FieldTransform_TransformType `protobuf_oneof:"transform_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -318,7 +325,7 @@ func (m *DocumentTransform_FieldTransform) Reset() { *m = DocumentTransf func (m *DocumentTransform_FieldTransform) String() string { return proto.CompactTextString(m) } func (*DocumentTransform_FieldTransform) ProtoMessage() {} func (*DocumentTransform_FieldTransform) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{1, 0} + return fileDescriptor_write_20ad488dab963f67, []int{1, 0} } func (m *DocumentTransform_FieldTransform) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentTransform_FieldTransform.Unmarshal(m, b) @@ -338,6 +345,13 @@ func (m *DocumentTransform_FieldTransform) XXX_DiscardUnknown() { var xxx_messageInfo_DocumentTransform_FieldTransform proto.InternalMessageInfo +func (m *DocumentTransform_FieldTransform) GetFieldPath() string { + if m != nil { + return m.FieldPath + } + return "" +} + type isDocumentTransform_FieldTransform_TransformType interface { isDocumentTransform_FieldTransform_TransformType() } @@ -346,9 +360,23 @@ type DocumentTransform_FieldTransform_SetToServerValue struct { SetToServerValue DocumentTransform_FieldTransform_ServerValue `protobuf:"varint,2,opt,name=set_to_server_value,json=setToServerValue,proto3,enum=google.firestore.v1beta1.DocumentTransform_FieldTransform_ServerValue,oneof"` } +type DocumentTransform_FieldTransform_AppendMissingElements struct { + AppendMissingElements *ArrayValue `protobuf:"bytes,6,opt,name=append_missing_elements,json=appendMissingElements,proto3,oneof"` +} + +type DocumentTransform_FieldTransform_RemoveAllFromArray struct { + RemoveAllFromArray *ArrayValue `protobuf:"bytes,7,opt,name=remove_all_from_array,json=removeAllFromArray,proto3,oneof"` +} + func (*DocumentTransform_FieldTransform_SetToServerValue) isDocumentTransform_FieldTransform_TransformType() { } +func (*DocumentTransform_FieldTransform_AppendMissingElements) isDocumentTransform_FieldTransform_TransformType() { +} + +func (*DocumentTransform_FieldTransform_RemoveAllFromArray) isDocumentTransform_FieldTransform_TransformType() { +} + func (m *DocumentTransform_FieldTransform) GetTransformType() isDocumentTransform_FieldTransform_TransformType { if m != nil { return m.TransformType @@ -356,13 +384,6 @@ func (m *DocumentTransform_FieldTransform) GetTransformType() isDocumentTransfor return nil } -func (m *DocumentTransform_FieldTransform) GetFieldPath() string { - if m != nil { - return m.FieldPath - } - return "" -} - func (m *DocumentTransform_FieldTransform) GetSetToServerValue() DocumentTransform_FieldTransform_ServerValue { if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_SetToServerValue); ok { return x.SetToServerValue @@ -370,10 +391,26 @@ func (m *DocumentTransform_FieldTransform) GetSetToServerValue() DocumentTransfo return DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED } +func (m *DocumentTransform_FieldTransform) GetAppendMissingElements() *ArrayValue { + if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_AppendMissingElements); ok { + return x.AppendMissingElements + } + return nil +} + +func (m *DocumentTransform_FieldTransform) GetRemoveAllFromArray() *ArrayValue { + if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_RemoveAllFromArray); ok { + return x.RemoveAllFromArray + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*DocumentTransform_FieldTransform) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _DocumentTransform_FieldTransform_OneofMarshaler, _DocumentTransform_FieldTransform_OneofUnmarshaler, _DocumentTransform_FieldTransform_OneofSizer, []interface{}{ (*DocumentTransform_FieldTransform_SetToServerValue)(nil), + (*DocumentTransform_FieldTransform_AppendMissingElements)(nil), + (*DocumentTransform_FieldTransform_RemoveAllFromArray)(nil), } } @@ -384,6 +421,16 @@ func _DocumentTransform_FieldTransform_OneofMarshaler(msg proto.Message, b *prot case *DocumentTransform_FieldTransform_SetToServerValue: b.EncodeVarint(2<<3 | proto.WireVarint) b.EncodeVarint(uint64(x.SetToServerValue)) + case *DocumentTransform_FieldTransform_AppendMissingElements: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.AppendMissingElements); err != nil { + return err + } + case *DocumentTransform_FieldTransform_RemoveAllFromArray: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.RemoveAllFromArray); err != nil { + return err + } case nil: default: return fmt.Errorf("DocumentTransform_FieldTransform.TransformType has unexpected type %T", x) @@ -401,6 +448,22 @@ func _DocumentTransform_FieldTransform_OneofUnmarshaler(msg proto.Message, tag, x, err := b.DecodeVarint() m.TransformType = &DocumentTransform_FieldTransform_SetToServerValue{DocumentTransform_FieldTransform_ServerValue(x)} return true, err + case 6: // transform_type.append_missing_elements + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ArrayValue) + err := b.DecodeMessage(msg) + m.TransformType = &DocumentTransform_FieldTransform_AppendMissingElements{msg} + return true, err + case 7: // transform_type.remove_all_from_array + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ArrayValue) + err := b.DecodeMessage(msg) + m.TransformType = &DocumentTransform_FieldTransform_RemoveAllFromArray{msg} + return true, err default: return false, nil } @@ -413,6 +476,16 @@ func _DocumentTransform_FieldTransform_OneofSizer(msg proto.Message) (n int) { case *DocumentTransform_FieldTransform_SetToServerValue: n += 1 // tag and wire n += proto.SizeVarint(uint64(x.SetToServerValue)) + case *DocumentTransform_FieldTransform_AppendMissingElements: + s := proto.Size(x.AppendMissingElements) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *DocumentTransform_FieldTransform_RemoveAllFromArray: + s := proto.Size(x.RemoveAllFromArray) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -440,7 +513,7 @@ func (m *WriteResult) Reset() { *m = WriteResult{} } func (m *WriteResult) String() string { return proto.CompactTextString(m) } func (*WriteResult) ProtoMessage() {} func (*WriteResult) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{2} + return fileDescriptor_write_20ad488dab963f67, []int{2} } func (m *WriteResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteResult.Unmarshal(m, b) @@ -499,7 +572,7 @@ func (m *DocumentChange) Reset() { *m = DocumentChange{} } func (m *DocumentChange) String() string { return proto.CompactTextString(m) } func (*DocumentChange) ProtoMessage() {} func (*DocumentChange) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{3} + return fileDescriptor_write_20ad488dab963f67, []int{3} } func (m *DocumentChange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentChange.Unmarshal(m, b) @@ -565,7 +638,7 @@ func (m *DocumentDelete) Reset() { *m = DocumentDelete{} } func (m *DocumentDelete) String() string { return proto.CompactTextString(m) } func (*DocumentDelete) ProtoMessage() {} func (*DocumentDelete) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{4} + return fileDescriptor_write_20ad488dab963f67, []int{4} } func (m *DocumentDelete) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentDelete.Unmarshal(m, b) @@ -632,7 +705,7 @@ func (m *DocumentRemove) Reset() { *m = DocumentRemove{} } func (m *DocumentRemove) String() string { return proto.CompactTextString(m) } func (*DocumentRemove) ProtoMessage() {} func (*DocumentRemove) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{5} + return fileDescriptor_write_20ad488dab963f67, []int{5} } func (m *DocumentRemove) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DocumentRemove.Unmarshal(m, b) @@ -691,7 +764,7 @@ func (m *ExistenceFilter) Reset() { *m = ExistenceFilter{} } func (m *ExistenceFilter) String() string { return proto.CompactTextString(m) } func (*ExistenceFilter) ProtoMessage() {} func (*ExistenceFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_write_c8c57c5c377aeb08, []int{6} + return fileDescriptor_write_20ad488dab963f67, []int{6} } func (m *ExistenceFilter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExistenceFilter.Unmarshal(m, b) @@ -738,57 +811,61 @@ func init() { } func init() { - proto.RegisterFile("google/firestore/v1beta1/write.proto", fileDescriptor_write_c8c57c5c377aeb08) -} - -var fileDescriptor_write_c8c57c5c377aeb08 = []byte{ - // 756 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x8e, 0xe3, 0x44, - 0x10, 0x8e, 0x93, 0x49, 0x34, 0xae, 0xa0, 0x8c, 0xb7, 0xe1, 0x60, 0x85, 0x59, 0x36, 0x8a, 0xf8, - 0x89, 0x04, 0x72, 0x34, 0xc3, 0x01, 0x89, 0x05, 0xa4, 0x4d, 0xe2, 0xcc, 0x44, 0xec, 0xa2, 0x6c, - 0x27, 0x13, 0x24, 0x34, 0x92, 0xd5, 0x13, 0x77, 0x3c, 0xd6, 0xda, 0x6e, 0xab, 0xbb, 0x9d, 0x85, - 0xd7, 0x80, 0x0b, 0x17, 0x2e, 0x1c, 0x79, 0x02, 0x9e, 0x81, 0x3b, 0x0f, 0xc3, 0x0d, 0xb9, 0xdb, - 0xf6, 0x66, 0x58, 0x85, 0xb0, 0x23, 0x6e, 0xae, 0xea, 0xaf, 0xbe, 0xfa, 0xea, 0x4f, 0x86, 0xf7, - 0x03, 0xc6, 0x82, 0x88, 0x0e, 0x37, 0x21, 0xa7, 0x42, 0x32, 0x4e, 0x87, 0xdb, 0xb3, 0x1b, 0x2a, - 0xc9, 0xd9, 0xf0, 0x25, 0x0f, 0x25, 0x75, 0x52, 0xce, 0x24, 0x43, 0xb6, 0x46, 0x39, 0x15, 0xca, - 0x29, 0x50, 0xdd, 0xd3, 0x22, 0x9e, 0xa4, 0xe1, 0x90, 0x24, 0x09, 0x93, 0x44, 0x86, 0x2c, 0x11, - 0x3a, 0xae, 0xfb, 0xc1, 0x5e, 0xf6, 0x35, 0x8b, 0x63, 0x96, 0x14, 0xb0, 0x8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a, 0x3f, - 0xba, 0x18, 0x4f, 0x17, 0xbf, 0xd5, 0xdf, 0xbb, 0xd0, 0x54, 0xe3, 0x88, 0x65, 0xbe, 0x33, 0xad, - 0x12, 0xaf, 0xce, 0x46, 0x79, 0xc4, 0x1f, 0x25, 0xe0, 0x5a, 0x01, 0xae, 0x2b, 0xc0, 0xf5, 0x4a, - 0x53, 0xde, 0xb4, 0x54, 0xda, 0x4f, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xba, 0xb7, 0x73, 0xcf, - 0x2c, 0x07, 0x00, 0x00, + proto.RegisterFile("google/firestore/v1beta1/write.proto", fileDescriptor_write_20ad488dab963f67) +} + +var fileDescriptor_write_20ad488dab963f67 = []byte{ + // 826 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x6f, 0xe3, 0x44, + 0x14, 0xc7, 0x9b, 0xb4, 0x09, 0xcd, 0x0b, 0x6a, 0xbd, 0x03, 0x2b, 0xac, 0xd0, 0x65, 0xab, 0x68, + 0x81, 0x4a, 0x20, 0x47, 0x2d, 0x07, 0x24, 0x16, 0x90, 0x9a, 0xd6, 0x69, 0x2b, 0xb6, 0x28, 0x3b, + 0x49, 0x83, 0x40, 0x15, 0xa3, 0x69, 0xfc, 0xe2, 0x5a, 0x6b, 0x7b, 0xac, 0x99, 0x49, 0x97, 0xfd, + 0x1c, 0x5c, 0xb8, 0x70, 0xe1, 0xc8, 0x99, 0x03, 0x9f, 0x01, 0x89, 0x23, 0xdf, 0x07, 0x79, 0xc6, + 0xf6, 0xa6, 0xac, 0x42, 0xe8, 0x8a, 0x5b, 0xde, 0xcc, 0xff, 0xfd, 0xde, 0x7f, 0xe6, 0xcd, 0x73, + 0xe0, 0x51, 0x28, 0x44, 0x18, 0x63, 0x6f, 0x16, 0x49, 0x54, 0x5a, 0x48, 0xec, 0xdd, 0xec, 0x5f, + 0xa1, 0x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0x93, 0xfe, 0x6d, 0x0e, 0xef, 0x04, 0x27, 0x9f, 0x42, 0x4b, 0x22, 0x0f, 0x6c, 0x17, 0x36, + 0x56, 0x76, 0x61, 0x33, 0x17, 0xe7, 0xe1, 0x2d, 0x57, 0xd4, 0x50, 0x5f, 0xc3, 0x55, 0xfd, 0xff, + 0x76, 0x75, 0x0c, 0xdb, 0xfe, 0x0f, 0x91, 0xd2, 0x98, 0x4e, 0x71, 0x10, 0xc5, 0x1a, 0x25, 0x79, + 0x17, 0x5a, 0x55, 0x45, 0x63, 0xab, 0x41, 0x37, 0xcb, 0x56, 0x90, 0xb7, 0xa1, 0x31, 0x15, 0xf3, + 0x54, 0x9b, 0xaf, 0x41, 0x83, 0xda, 0xa0, 0xff, 0x7b, 0x0d, 0x76, 0xa6, 0x22, 0x59, 0xda, 0xf2, + 0x3e, 0x98, 0xa7, 0x3c, 0xcc, 0x9d, 0x0c, 0x6b, 0xdf, 0x1d, 0x16, 0xba, 0x50, 0xc4, 0x3c, 0x0d, + 0x3d, 0x21, 0xc3, 0x5e, 0x88, 0xa9, 0xf1, 0xd9, 0xb3, 0x5b, 0x3c, 0x8b, 0xd4, 0xab, 0x7f, 0x76, + 0x8f, 0xab, 0x95, 0x5f, 0xea, 0x1b, 0x27, 0x47, 0x83, 0xd1, 0xaf, 0xf5, 0xf7, 0x4e, 0x2c, 0xea, + 0x28, 0x16, 0xf3, 0xc0, 0x1b, 0x54, 0x85, 0x27, 0xfb, 0xfd, 0x3c, 0xe3, 0x8f, 0x52, 0x70, 0x69, + 0x04, 0x97, 0x95, 0xe0, 0x72, 0x62, 0x91, 0x57, 0x4d, 0x53, 0xf6, 0x93, 0xbf, 0x03, 0x00, 0x00, + 0xff, 0xff, 0xc3, 0x26, 0x20, 0x51, 0xe7, 0x07, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/annotations.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/annotations.pb.go index cd4ff0264..139f7301b 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/annotations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/annotations.pb.go @@ -71,7 +71,7 @@ func (x AnnotationType) String() string { return proto.EnumName(AnnotationType_name, int32(x)) } func (AnnotationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{0} + return fileDescriptor_annotations_22f61783ae14922a, []int{0} } type VariantAnnotation_Type int32 @@ -123,7 +123,7 @@ func (x VariantAnnotation_Type) String() string { return proto.EnumName(VariantAnnotation_Type_name, int32(x)) } func (VariantAnnotation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{2, 0} + return fileDescriptor_annotations_22f61783ae14922a, []int{2, 0} } type VariantAnnotation_Effect int32 @@ -186,7 +186,7 @@ func (x VariantAnnotation_Effect) String() string { return proto.EnumName(VariantAnnotation_Effect_name, int32(x)) } func (VariantAnnotation_Effect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{2, 1} + return fileDescriptor_annotations_22f61783ae14922a, []int{2, 1} } type VariantAnnotation_ClinicalSignificance int32 @@ -250,7 +250,7 @@ func (x VariantAnnotation_ClinicalSignificance) String() string { return proto.EnumName(VariantAnnotation_ClinicalSignificance_name, int32(x)) } func (VariantAnnotation_ClinicalSignificance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{2, 2} + return fileDescriptor_annotations_22f61783ae14922a, []int{2, 2} } // An annotation set is a logical grouping of annotations that share consistent @@ -283,7 +283,7 @@ func (m *AnnotationSet) Reset() { *m = AnnotationSet{} } func (m *AnnotationSet) String() string { return proto.CompactTextString(m) } func (*AnnotationSet) ProtoMessage() {} func (*AnnotationSet) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{0} + return fileDescriptor_annotations_22f61783ae14922a, []int{0} } func (m *AnnotationSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AnnotationSet.Unmarshal(m, b) @@ -397,7 +397,7 @@ func (m *Annotation) Reset() { *m = Annotation{} } func (m *Annotation) String() string { return proto.CompactTextString(m) } func (*Annotation) ProtoMessage() {} func (*Annotation) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{1} + return fileDescriptor_annotations_22f61783ae14922a, []int{1} } func (m *Annotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Annotation.Unmarshal(m, b) @@ -417,27 +417,6 @@ func (m *Annotation) XXX_DiscardUnknown() { var xxx_messageInfo_Annotation proto.InternalMessageInfo -type isAnnotation_Value interface { - isAnnotation_Value() -} - -type Annotation_Variant struct { - Variant *VariantAnnotation `protobuf:"bytes,10,opt,name=variant,proto3,oneof"` -} -type Annotation_Transcript struct { - Transcript *Transcript `protobuf:"bytes,11,opt,name=transcript,proto3,oneof"` -} - -func (*Annotation_Variant) isAnnotation_Value() {} -func (*Annotation_Transcript) isAnnotation_Value() {} - -func (m *Annotation) GetValue() isAnnotation_Value { - if m != nil { - return m.Value - } - return nil -} - func (m *Annotation) GetId() string { if m != nil { return m.Id @@ -501,6 +480,29 @@ func (m *Annotation) GetType() AnnotationType { return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED } +type isAnnotation_Value interface { + isAnnotation_Value() +} + +type Annotation_Variant struct { + Variant *VariantAnnotation `protobuf:"bytes,10,opt,name=variant,proto3,oneof"` +} + +type Annotation_Transcript struct { + Transcript *Transcript `protobuf:"bytes,11,opt,name=transcript,proto3,oneof"` +} + +func (*Annotation_Variant) isAnnotation_Value() {} + +func (*Annotation_Transcript) isAnnotation_Value() {} + +func (m *Annotation) GetValue() isAnnotation_Value { + if m != nil { + return m.Value + } + return nil +} + func (m *Annotation) GetVariant() *VariantAnnotation { if x, ok := m.GetValue().(*Annotation_Variant); ok { return x.Variant @@ -628,7 +630,7 @@ func (m *VariantAnnotation) Reset() { *m = VariantAnnotation{} } func (m *VariantAnnotation) String() string { return proto.CompactTextString(m) } func (*VariantAnnotation) ProtoMessage() {} func (*VariantAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{2} + return fileDescriptor_annotations_22f61783ae14922a, []int{2} } func (m *VariantAnnotation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VariantAnnotation.Unmarshal(m, b) @@ -717,7 +719,7 @@ func (m *VariantAnnotation_ClinicalCondition) Reset() { *m = VariantAnno func (m *VariantAnnotation_ClinicalCondition) String() string { return proto.CompactTextString(m) } func (*VariantAnnotation_ClinicalCondition) ProtoMessage() {} func (*VariantAnnotation_ClinicalCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{2, 0} + return fileDescriptor_annotations_22f61783ae14922a, []int{2, 0} } func (m *VariantAnnotation_ClinicalCondition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Unmarshal(m, b) @@ -808,7 +810,7 @@ func (m *Transcript) Reset() { *m = Transcript{} } func (m *Transcript) String() string { return proto.CompactTextString(m) } func (*Transcript) ProtoMessage() {} func (*Transcript) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{3} + return fileDescriptor_annotations_22f61783ae14922a, []int{3} } func (m *Transcript) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Transcript.Unmarshal(m, b) @@ -881,7 +883,7 @@ func (m *Transcript_Exon) Reset() { *m = Transcript_Exon{} } func (m *Transcript_Exon) String() string { return proto.CompactTextString(m) } func (*Transcript_Exon) ProtoMessage() {} func (*Transcript_Exon) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{3, 0} + return fileDescriptor_annotations_22f61783ae14922a, []int{3, 0} } func (m *Transcript_Exon) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Transcript_Exon.Unmarshal(m, b) @@ -940,7 +942,7 @@ func (m *Transcript_CodingSequence) Reset() { *m = Transcript_CodingSequ func (m *Transcript_CodingSequence) String() string { return proto.CompactTextString(m) } func (*Transcript_CodingSequence) ProtoMessage() {} func (*Transcript_CodingSequence) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{3, 1} + return fileDescriptor_annotations_22f61783ae14922a, []int{3, 1} } func (m *Transcript_CodingSequence) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Transcript_CodingSequence.Unmarshal(m, b) @@ -988,7 +990,7 @@ func (m *ExternalId) Reset() { *m = ExternalId{} } func (m *ExternalId) String() string { return proto.CompactTextString(m) } func (*ExternalId) ProtoMessage() {} func (*ExternalId) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{4} + return fileDescriptor_annotations_22f61783ae14922a, []int{4} } func (m *ExternalId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExternalId.Unmarshal(m, b) @@ -1034,7 +1036,7 @@ func (m *CreateAnnotationSetRequest) Reset() { *m = CreateAnnotationSetR func (m *CreateAnnotationSetRequest) String() string { return proto.CompactTextString(m) } func (*CreateAnnotationSetRequest) ProtoMessage() {} func (*CreateAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{5} + return fileDescriptor_annotations_22f61783ae14922a, []int{5} } func (m *CreateAnnotationSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAnnotationSetRequest.Unmarshal(m, b) @@ -1073,7 +1075,7 @@ func (m *GetAnnotationSetRequest) Reset() { *m = GetAnnotationSetRequest func (m *GetAnnotationSetRequest) String() string { return proto.CompactTextString(m) } func (*GetAnnotationSetRequest) ProtoMessage() {} func (*GetAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{6} + return fileDescriptor_annotations_22f61783ae14922a, []int{6} } func (m *GetAnnotationSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAnnotationSetRequest.Unmarshal(m, b) @@ -1120,7 +1122,7 @@ func (m *UpdateAnnotationSetRequest) Reset() { *m = UpdateAnnotationSetR func (m *UpdateAnnotationSetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateAnnotationSetRequest) ProtoMessage() {} func (*UpdateAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{7} + return fileDescriptor_annotations_22f61783ae14922a, []int{7} } func (m *UpdateAnnotationSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAnnotationSetRequest.Unmarshal(m, b) @@ -1173,7 +1175,7 @@ func (m *DeleteAnnotationSetRequest) Reset() { *m = DeleteAnnotationSetR func (m *DeleteAnnotationSetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAnnotationSetRequest) ProtoMessage() {} func (*DeleteAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{8} + return fileDescriptor_annotations_22f61783ae14922a, []int{8} } func (m *DeleteAnnotationSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAnnotationSetRequest.Unmarshal(m, b) @@ -1229,7 +1231,7 @@ func (m *SearchAnnotationSetsRequest) Reset() { *m = SearchAnnotationSet func (m *SearchAnnotationSetsRequest) String() string { return proto.CompactTextString(m) } func (*SearchAnnotationSetsRequest) ProtoMessage() {} func (*SearchAnnotationSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{9} + return fileDescriptor_annotations_22f61783ae14922a, []int{9} } func (m *SearchAnnotationSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAnnotationSetsRequest.Unmarshal(m, b) @@ -1307,7 +1309,7 @@ func (m *SearchAnnotationSetsResponse) Reset() { *m = SearchAnnotationSe func (m *SearchAnnotationSetsResponse) String() string { return proto.CompactTextString(m) } func (*SearchAnnotationSetsResponse) ProtoMessage() {} func (*SearchAnnotationSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{10} + return fileDescriptor_annotations_22f61783ae14922a, []int{10} } func (m *SearchAnnotationSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAnnotationSetsResponse.Unmarshal(m, b) @@ -1353,7 +1355,7 @@ func (m *CreateAnnotationRequest) Reset() { *m = CreateAnnotationRequest func (m *CreateAnnotationRequest) String() string { return proto.CompactTextString(m) } func (*CreateAnnotationRequest) ProtoMessage() {} func (*CreateAnnotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{11} + return fileDescriptor_annotations_22f61783ae14922a, []int{11} } func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAnnotationRequest.Unmarshal(m, b) @@ -1401,7 +1403,7 @@ func (m *BatchCreateAnnotationsRequest) Reset() { *m = BatchCreateAnnota func (m *BatchCreateAnnotationsRequest) String() string { return proto.CompactTextString(m) } func (*BatchCreateAnnotationsRequest) ProtoMessage() {} func (*BatchCreateAnnotationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{12} + return fileDescriptor_annotations_22f61783ae14922a, []int{12} } func (m *BatchCreateAnnotationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchCreateAnnotationsRequest.Unmarshal(m, b) @@ -1448,7 +1450,7 @@ func (m *BatchCreateAnnotationsResponse) Reset() { *m = BatchCreateAnnot func (m *BatchCreateAnnotationsResponse) String() string { return proto.CompactTextString(m) } func (*BatchCreateAnnotationsResponse) ProtoMessage() {} func (*BatchCreateAnnotationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{13} + return fileDescriptor_annotations_22f61783ae14922a, []int{13} } func (m *BatchCreateAnnotationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchCreateAnnotationsResponse.Unmarshal(m, b) @@ -1489,7 +1491,7 @@ func (m *BatchCreateAnnotationsResponse_Entry) Reset() { *m = BatchCreat func (m *BatchCreateAnnotationsResponse_Entry) String() string { return proto.CompactTextString(m) } func (*BatchCreateAnnotationsResponse_Entry) ProtoMessage() {} func (*BatchCreateAnnotationsResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{13, 0} + return fileDescriptor_annotations_22f61783ae14922a, []int{13, 0} } func (m *BatchCreateAnnotationsResponse_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Unmarshal(m, b) @@ -1535,7 +1537,7 @@ func (m *GetAnnotationRequest) Reset() { *m = GetAnnotationRequest{} } func (m *GetAnnotationRequest) String() string { return proto.CompactTextString(m) } func (*GetAnnotationRequest) ProtoMessage() {} func (*GetAnnotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{14} + return fileDescriptor_annotations_22f61783ae14922a, []int{14} } func (m *GetAnnotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAnnotationRequest.Unmarshal(m, b) @@ -1583,7 +1585,7 @@ func (m *UpdateAnnotationRequest) Reset() { *m = UpdateAnnotationRequest func (m *UpdateAnnotationRequest) String() string { return proto.CompactTextString(m) } func (*UpdateAnnotationRequest) ProtoMessage() {} func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{15} + return fileDescriptor_annotations_22f61783ae14922a, []int{15} } func (m *UpdateAnnotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAnnotationRequest.Unmarshal(m, b) @@ -1636,7 +1638,7 @@ func (m *DeleteAnnotationRequest) Reset() { *m = DeleteAnnotationRequest func (m *DeleteAnnotationRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAnnotationRequest) ProtoMessage() {} func (*DeleteAnnotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{16} + return fileDescriptor_annotations_22f61783ae14922a, []int{16} } func (m *DeleteAnnotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAnnotationRequest.Unmarshal(m, b) @@ -1701,7 +1703,7 @@ func (m *SearchAnnotationsRequest) Reset() { *m = SearchAnnotationsReque func (m *SearchAnnotationsRequest) String() string { return proto.CompactTextString(m) } func (*SearchAnnotationsRequest) ProtoMessage() {} func (*SearchAnnotationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{17} + return fileDescriptor_annotations_22f61783ae14922a, []int{17} } func (m *SearchAnnotationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAnnotationsRequest.Unmarshal(m, b) @@ -1721,6 +1723,13 @@ func (m *SearchAnnotationsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SearchAnnotationsRequest proto.InternalMessageInfo +func (m *SearchAnnotationsRequest) GetAnnotationSetIds() []string { + if m != nil { + return m.AnnotationSetIds + } + return nil +} + type isSearchAnnotationsRequest_Reference interface { isSearchAnnotationsRequest_Reference() } @@ -1728,11 +1737,13 @@ type isSearchAnnotationsRequest_Reference interface { type SearchAnnotationsRequest_ReferenceId struct { ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,proto3,oneof"` } + type SearchAnnotationsRequest_ReferenceName struct { ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,proto3,oneof"` } -func (*SearchAnnotationsRequest_ReferenceId) isSearchAnnotationsRequest_Reference() {} +func (*SearchAnnotationsRequest_ReferenceId) isSearchAnnotationsRequest_Reference() {} + func (*SearchAnnotationsRequest_ReferenceName) isSearchAnnotationsRequest_Reference() {} func (m *SearchAnnotationsRequest) GetReference() isSearchAnnotationsRequest_Reference { @@ -1742,13 +1753,6 @@ func (m *SearchAnnotationsRequest) GetReference() isSearchAnnotationsRequest_Ref return nil } -func (m *SearchAnnotationsRequest) GetAnnotationSetIds() []string { - if m != nil { - return m.AnnotationSetIds - } - return nil -} - func (m *SearchAnnotationsRequest) GetReferenceId() string { if x, ok := m.GetReference().(*SearchAnnotationsRequest_ReferenceId); ok { return x.ReferenceId @@ -1873,7 +1877,7 @@ func (m *SearchAnnotationsResponse) Reset() { *m = SearchAnnotationsResp func (m *SearchAnnotationsResponse) String() string { return proto.CompactTextString(m) } func (*SearchAnnotationsResponse) ProtoMessage() {} func (*SearchAnnotationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_annotations_255e1b4b7e9b96e2, []int{18} + return fileDescriptor_annotations_22f61783ae14922a, []int{18} } func (m *SearchAnnotationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchAnnotationsResponse.Unmarshal(m, b) @@ -2484,10 +2488,10 @@ var _AnnotationServiceV1_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/genomics/v1/annotations.proto", fileDescriptor_annotations_255e1b4b7e9b96e2) + proto.RegisterFile("google/genomics/v1/annotations.proto", fileDescriptor_annotations_22f61783ae14922a) } -var fileDescriptor_annotations_255e1b4b7e9b96e2 = []byte{ +var fileDescriptor_annotations_22f61783ae14922a = []byte{ // 2188 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x6f, 0xdb, 0xc8, 0x15, 0x0f, 0xf5, 0x69, 0x3f, 0xd9, 0x32, 0x3d, 0xf1, 0xda, 0x5a, 0x39, 0x1f, 0x0e, 0xf3, 0x65, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/cigar.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/cigar.pb.go index 1f346b300..98ca52476 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/cigar.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/cigar.pb.go @@ -100,7 +100,7 @@ func (x CigarUnit_Operation) String() string { return proto.EnumName(CigarUnit_Operation_name, int32(x)) } func (CigarUnit_Operation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cigar_6bcb7013ba611338, []int{0, 0} + return fileDescriptor_cigar_ce8c8036b76f9461, []int{0, 0} } // A single CIGAR operation. @@ -122,7 +122,7 @@ func (m *CigarUnit) Reset() { *m = CigarUnit{} } func (m *CigarUnit) String() string { return proto.CompactTextString(m) } func (*CigarUnit) ProtoMessage() {} func (*CigarUnit) Descriptor() ([]byte, []int) { - return fileDescriptor_cigar_6bcb7013ba611338, []int{0} + return fileDescriptor_cigar_ce8c8036b76f9461, []int{0} } func (m *CigarUnit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CigarUnit.Unmarshal(m, b) @@ -169,10 +169,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/cigar.proto", fileDescriptor_cigar_6bcb7013ba611338) + proto.RegisterFile("google/genomics/v1/cigar.proto", fileDescriptor_cigar_ce8c8036b76f9461) } -var fileDescriptor_cigar_6bcb7013ba611338 = []byte{ +var fileDescriptor_cigar_ce8c8036b76f9461 = []byte{ // 367 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0xcf, 0x0e, 0x93, 0x30, 0x1c, 0xb6, 0x63, 0x6e, 0xe3, 0x97, 0xb8, 0x75, 0x35, 0x33, 0xd3, 0x18, 0xb3, 0xec, 0xe2, 0x3c, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go index b3ad79a4e..8506d4603 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go @@ -50,7 +50,7 @@ func (m *Dataset) Reset() { *m = Dataset{} } func (m *Dataset) String() string { return proto.CompactTextString(m) } func (*Dataset) ProtoMessage() {} func (*Dataset) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{0} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{0} } func (m *Dataset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Dataset.Unmarshal(m, b) @@ -118,7 +118,7 @@ func (m *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } func (*ListDatasetsRequest) ProtoMessage() {} func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{1} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{1} } func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) @@ -176,7 +176,7 @@ func (m *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } func (*ListDatasetsResponse) ProtoMessage() {} func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{2} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{2} } func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) @@ -222,7 +222,7 @@ func (m *CreateDatasetRequest) Reset() { *m = CreateDatasetRequest{} } func (m *CreateDatasetRequest) String() string { return proto.CompactTextString(m) } func (*CreateDatasetRequest) ProtoMessage() {} func (*CreateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{3} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{3} } func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) @@ -268,7 +268,7 @@ func (m *UpdateDatasetRequest) Reset() { *m = UpdateDatasetRequest{} } func (m *UpdateDatasetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDatasetRequest) ProtoMessage() {} func (*UpdateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{4} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{4} } func (m *UpdateDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDatasetRequest.Unmarshal(m, b) @@ -321,7 +321,7 @@ func (m *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} } func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDatasetRequest) ProtoMessage() {} func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{5} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{5} } func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b) @@ -360,7 +360,7 @@ func (m *UndeleteDatasetRequest) Reset() { *m = UndeleteDatasetRequest{} func (m *UndeleteDatasetRequest) String() string { return proto.CompactTextString(m) } func (*UndeleteDatasetRequest) ProtoMessage() {} func (*UndeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{6} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{6} } func (m *UndeleteDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteDatasetRequest.Unmarshal(m, b) @@ -399,7 +399,7 @@ func (m *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } func (*GetDatasetRequest) ProtoMessage() {} func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_datasets_bbb96e8077d77f63, []int{7} + return fileDescriptor_datasets_6135563a56d7e4f8, []int{7} } func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) @@ -902,10 +902,10 @@ var _DatasetServiceV1_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/genomics/v1/datasets.proto", fileDescriptor_datasets_bbb96e8077d77f63) + proto.RegisterFile("google/genomics/v1/datasets.proto", fileDescriptor_datasets_6135563a56d7e4f8) } -var fileDescriptor_datasets_bbb96e8077d77f63 = []byte{ +var fileDescriptor_datasets_6135563a56d7e4f8 = []byte{ // 786 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xd1, 0x4e, 0x13, 0x4d, 0x14, 0xce, 0x16, 0xfe, 0x1f, 0x7a, 0xa0, 0xa0, 0x63, 0xc5, 0xda, 0x8a, 0x96, 0x8d, 0x42, 0xad, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/operations.pb.go index 78c85fe4c..25849dbb4 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/operations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/operations.pb.go @@ -56,7 +56,7 @@ func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } func (*OperationMetadata) ProtoMessage() {} func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_21482a3747ca208f, []int{0} + return fileDescriptor_operations_4f155d6eb213ff75, []int{0} } func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) @@ -157,7 +157,7 @@ func (m *OperationEvent) Reset() { *m = OperationEvent{} } func (m *OperationEvent) String() string { return proto.CompactTextString(m) } func (*OperationEvent) ProtoMessage() {} func (*OperationEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_21482a3747ca208f, []int{1} + return fileDescriptor_operations_4f155d6eb213ff75, []int{1} } func (m *OperationEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationEvent.Unmarshal(m, b) @@ -205,10 +205,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/operations.proto", fileDescriptor_operations_21482a3747ca208f) + proto.RegisterFile("google/genomics/v1/operations.proto", fileDescriptor_operations_4f155d6eb213ff75) } -var fileDescriptor_operations_21482a3747ca208f = []byte{ +var fileDescriptor_operations_4f155d6eb213ff75 = []byte{ // 456 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6f, 0xd3, 0x30, 0x14, 0xc7, 0xe5, 0x76, 0x6b, 0x9b, 0x17, 0x89, 0x0d, 0x6b, 0x42, 0xa1, 0x80, 0xa8, 0xca, 0xa5, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/position.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/position.pb.go index 61d024c94..e4f581776 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/position.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/position.pb.go @@ -40,7 +40,7 @@ func (m *Position) Reset() { *m = Position{} } func (m *Position) String() string { return proto.CompactTextString(m) } func (*Position) ProtoMessage() {} func (*Position) Descriptor() ([]byte, []int) { - return fileDescriptor_position_c03dd355ebc45a7d, []int{0} + return fileDescriptor_position_a03b9f5830126916, []int{0} } func (m *Position) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Position.Unmarshal(m, b) @@ -86,10 +86,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/position.proto", fileDescriptor_position_c03dd355ebc45a7d) + proto.RegisterFile("google/genomics/v1/position.proto", fileDescriptor_position_a03b9f5830126916) } -var fileDescriptor_position_c03dd355ebc45a7d = []byte{ +var fileDescriptor_position_a03b9f5830126916 = []byte{ // 223 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0x03, 0x31, 0x14, 0x84, 0x89, 0x05, 0x59, 0x03, 0xf5, 0xb0, 0x07, 0x59, 0x8a, 0x87, 0x55, 0x10, 0xf6, 0x94, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/range.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/range.pb.go index c4d22fb95..90f51c61b 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/range.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/range.pb.go @@ -37,7 +37,7 @@ func (m *Range) Reset() { *m = Range{} } func (m *Range) String() string { return proto.CompactTextString(m) } func (*Range) ProtoMessage() {} func (*Range) Descriptor() ([]byte, []int) { - return fileDescriptor_range_dd4657d2c1cb1c0e, []int{0} + return fileDescriptor_range_ea4bc4104a5a55de, []int{0} } func (m *Range) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Range.Unmarshal(m, b) @@ -83,10 +83,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/range.proto", fileDescriptor_range_dd4657d2c1cb1c0e) + proto.RegisterFile("google/genomics/v1/range.proto", fileDescriptor_range_ea4bc4104a5a55de) } -var fileDescriptor_range_dd4657d2c1cb1c0e = []byte{ +var fileDescriptor_range_ea4bc4104a5a55de = []byte{ // 209 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x4f, 0x4d, 0x4b, 0xc4, 0x30, 0x10, 0x25, 0x96, 0x15, 0x0c, 0x28, 0x12, 0x44, 0x8a, 0x88, 0x2c, 0x82, 0xb0, 0xa7, 0x84, 0xe2, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readalignment.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/readalignment.pb.go index 3f615fa48..161ed64c9 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readalignment.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/readalignment.pb.go @@ -43,7 +43,7 @@ func (m *LinearAlignment) Reset() { *m = LinearAlignment{} } func (m *LinearAlignment) String() string { return proto.CompactTextString(m) } func (*LinearAlignment) ProtoMessage() {} func (*LinearAlignment) Descriptor() ([]byte, []int) { - return fileDescriptor_readalignment_ff092b0bea51b5ff, []int{0} + return fileDescriptor_readalignment_b0fdaef32d6e6f98, []int{0} } func (m *LinearAlignment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LinearAlignment.Unmarshal(m, b) @@ -249,7 +249,7 @@ func (m *Read) Reset() { *m = Read{} } func (m *Read) String() string { return proto.CompactTextString(m) } func (*Read) ProtoMessage() {} func (*Read) Descriptor() ([]byte, []int) { - return fileDescriptor_readalignment_ff092b0bea51b5ff, []int{1} + return fileDescriptor_readalignment_b0fdaef32d6e6f98, []int{1} } func (m *Read) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Read.Unmarshal(m, b) @@ -395,10 +395,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/readalignment.proto", fileDescriptor_readalignment_ff092b0bea51b5ff) + proto.RegisterFile("google/genomics/v1/readalignment.proto", fileDescriptor_readalignment_b0fdaef32d6e6f98) } -var fileDescriptor_readalignment_ff092b0bea51b5ff = []byte{ +var fileDescriptor_readalignment_b0fdaef32d6e6f98 = []byte{ // 683 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcd, 0x4e, 0xdb, 0x4a, 0x14, 0xc7, 0xe5, 0x84, 0x70, 0xc9, 0x09, 0x24, 0x61, 0xae, 0xc4, 0xf5, 0x8d, 0xb8, 0xb7, 0x21, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroup.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroup.pb.go index a047f6980..b52e66859 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroup.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroup.pb.go @@ -58,7 +58,7 @@ func (m *ReadGroup) Reset() { *m = ReadGroup{} } func (m *ReadGroup) String() string { return proto.CompactTextString(m) } func (*ReadGroup) ProtoMessage() {} func (*ReadGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_readgroup_d68cbd5306b6bb9f, []int{0} + return fileDescriptor_readgroup_d1ee37f21a1efad6, []int{0} } func (m *ReadGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadGroup.Unmarshal(m, b) @@ -172,7 +172,7 @@ func (m *ReadGroup_Experiment) Reset() { *m = ReadGroup_Experiment{} } func (m *ReadGroup_Experiment) String() string { return proto.CompactTextString(m) } func (*ReadGroup_Experiment) ProtoMessage() {} func (*ReadGroup_Experiment) Descriptor() ([]byte, []int) { - return fileDescriptor_readgroup_d68cbd5306b6bb9f, []int{0, 0} + return fileDescriptor_readgroup_d1ee37f21a1efad6, []int{0, 0} } func (m *ReadGroup_Experiment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadGroup_Experiment.Unmarshal(m, b) @@ -242,7 +242,7 @@ func (m *ReadGroup_Program) Reset() { *m = ReadGroup_Program{} } func (m *ReadGroup_Program) String() string { return proto.CompactTextString(m) } func (*ReadGroup_Program) ProtoMessage() {} func (*ReadGroup_Program) Descriptor() ([]byte, []int) { - return fileDescriptor_readgroup_d68cbd5306b6bb9f, []int{0, 1} + return fileDescriptor_readgroup_d1ee37f21a1efad6, []int{0, 1} } func (m *ReadGroup_Program) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadGroup_Program.Unmarshal(m, b) @@ -305,10 +305,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/readgroup.proto", fileDescriptor_readgroup_d68cbd5306b6bb9f) + proto.RegisterFile("google/genomics/v1/readgroup.proto", fileDescriptor_readgroup_d1ee37f21a1efad6) } -var fileDescriptor_readgroup_d68cbd5306b6bb9f = []byte{ +var fileDescriptor_readgroup_d1ee37f21a1efad6 = []byte{ // 585 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcb, 0x6e, 0xd4, 0x30, 0x14, 0x55, 0xa6, 0xcf, 0xb9, 0xd3, 0xc7, 0x60, 0x04, 0x8a, 0x06, 0x90, 0x86, 0x22, 0x60, 0x10, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroupset.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroupset.pb.go index ca22d42cd..c2f47278d 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroupset.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroupset.pb.go @@ -57,7 +57,7 @@ func (m *ReadGroupSet) Reset() { *m = ReadGroupSet{} } func (m *ReadGroupSet) String() string { return proto.CompactTextString(m) } func (*ReadGroupSet) ProtoMessage() {} func (*ReadGroupSet) Descriptor() ([]byte, []int) { - return fileDescriptor_readgroupset_487c199738c104b4, []int{0} + return fileDescriptor_readgroupset_a1ee2d6c49daf62b, []int{0} } func (m *ReadGroupSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadGroupSet.Unmarshal(m, b) @@ -132,10 +132,10 @@ func init() { } func init() { - proto.RegisterFile("google/genomics/v1/readgroupset.proto", fileDescriptor_readgroupset_487c199738c104b4) + proto.RegisterFile("google/genomics/v1/readgroupset.proto", fileDescriptor_readgroupset_a1ee2d6c49daf62b) } -var fileDescriptor_readgroupset_487c199738c104b4 = []byte{ +var fileDescriptor_readgroupset_a1ee2d6c49daf62b = []byte{ // 367 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8b, 0xdb, 0x30, 0x10, 0xc5, 0xb1, 0xf3, 0xa7, 0xcd, 0xa4, 0x84, 0x54, 0x87, 0x62, 0x4c, 0x03, 0x21, 0x50, 0x08, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go index 81c78752c..eac2e2029 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go @@ -61,7 +61,7 @@ func (x ImportReadGroupSetsRequest_PartitionStrategy) String() string { return proto.EnumName(ImportReadGroupSetsRequest_PartitionStrategy_name, int32(x)) } func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{2, 0} + return fileDescriptor_reads_afba1347c0c1059a, []int{2, 0} } // The read group set search request. @@ -88,7 +88,7 @@ func (m *SearchReadGroupSetsRequest) Reset() { *m = SearchReadGroupSetsR func (m *SearchReadGroupSetsRequest) String() string { return proto.CompactTextString(m) } func (*SearchReadGroupSetsRequest) ProtoMessage() {} func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{0} + return fileDescriptor_reads_afba1347c0c1059a, []int{0} } func (m *SearchReadGroupSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReadGroupSetsRequest.Unmarshal(m, b) @@ -153,7 +153,7 @@ func (m *SearchReadGroupSetsResponse) Reset() { *m = SearchReadGroupSets func (m *SearchReadGroupSetsResponse) String() string { return proto.CompactTextString(m) } func (*SearchReadGroupSetsResponse) ProtoMessage() {} func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{1} + return fileDescriptor_reads_afba1347c0c1059a, []int{1} } func (m *SearchReadGroupSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReadGroupSetsResponse.Unmarshal(m, b) @@ -220,7 +220,7 @@ func (m *ImportReadGroupSetsRequest) Reset() { *m = ImportReadGroupSetsR func (m *ImportReadGroupSetsRequest) String() string { return proto.CompactTextString(m) } func (*ImportReadGroupSetsRequest) ProtoMessage() {} func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{2} + return fileDescriptor_reads_afba1347c0c1059a, []int{2} } func (m *ImportReadGroupSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportReadGroupSetsRequest.Unmarshal(m, b) @@ -281,7 +281,7 @@ func (m *ImportReadGroupSetsResponse) Reset() { *m = ImportReadGroupSets func (m *ImportReadGroupSetsResponse) String() string { return proto.CompactTextString(m) } func (*ImportReadGroupSetsResponse) ProtoMessage() {} func (*ImportReadGroupSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{3} + return fileDescriptor_reads_afba1347c0c1059a, []int{3} } func (m *ImportReadGroupSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportReadGroupSetsResponse.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *ExportReadGroupSetRequest) Reset() { *m = ExportReadGroupSetReq func (m *ExportReadGroupSetRequest) String() string { return proto.CompactTextString(m) } func (*ExportReadGroupSetRequest) ProtoMessage() {} func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{4} + return fileDescriptor_reads_afba1347c0c1059a, []int{4} } func (m *ExportReadGroupSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportReadGroupSetRequest.Unmarshal(m, b) @@ -405,7 +405,7 @@ func (m *UpdateReadGroupSetRequest) Reset() { *m = UpdateReadGroupSetReq func (m *UpdateReadGroupSetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateReadGroupSetRequest) ProtoMessage() {} func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{5} + return fileDescriptor_reads_afba1347c0c1059a, []int{5} } func (m *UpdateReadGroupSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateReadGroupSetRequest.Unmarshal(m, b) @@ -459,7 +459,7 @@ func (m *DeleteReadGroupSetRequest) Reset() { *m = DeleteReadGroupSetReq func (m *DeleteReadGroupSetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteReadGroupSetRequest) ProtoMessage() {} func (*DeleteReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{6} + return fileDescriptor_reads_afba1347c0c1059a, []int{6} } func (m *DeleteReadGroupSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteReadGroupSetRequest.Unmarshal(m, b) @@ -498,7 +498,7 @@ func (m *GetReadGroupSetRequest) Reset() { *m = GetReadGroupSetRequest{} func (m *GetReadGroupSetRequest) String() string { return proto.CompactTextString(m) } func (*GetReadGroupSetRequest) ProtoMessage() {} func (*GetReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{7} + return fileDescriptor_reads_afba1347c0c1059a, []int{7} } func (m *GetReadGroupSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetReadGroupSetRequest.Unmarshal(m, b) @@ -562,7 +562,7 @@ func (m *ListCoverageBucketsRequest) Reset() { *m = ListCoverageBucketsR func (m *ListCoverageBucketsRequest) String() string { return proto.CompactTextString(m) } func (*ListCoverageBucketsRequest) ProtoMessage() {} func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{8} + return fileDescriptor_reads_afba1347c0c1059a, []int{8} } func (m *ListCoverageBucketsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCoverageBucketsRequest.Unmarshal(m, b) @@ -648,7 +648,7 @@ func (m *CoverageBucket) Reset() { *m = CoverageBucket{} } func (m *CoverageBucket) String() string { return proto.CompactTextString(m) } func (*CoverageBucket) ProtoMessage() {} func (*CoverageBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{9} + return fileDescriptor_reads_afba1347c0c1059a, []int{9} } func (m *CoverageBucket) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CoverageBucket.Unmarshal(m, b) @@ -706,7 +706,7 @@ func (m *ListCoverageBucketsResponse) Reset() { *m = ListCoverageBuckets func (m *ListCoverageBucketsResponse) String() string { return proto.CompactTextString(m) } func (*ListCoverageBucketsResponse) ProtoMessage() {} func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{10} + return fileDescriptor_reads_afba1347c0c1059a, []int{10} } func (m *ListCoverageBucketsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCoverageBucketsResponse.Unmarshal(m, b) @@ -784,7 +784,7 @@ func (m *SearchReadsRequest) Reset() { *m = SearchReadsRequest{} } func (m *SearchReadsRequest) String() string { return proto.CompactTextString(m) } func (*SearchReadsRequest) ProtoMessage() {} func (*SearchReadsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{11} + return fileDescriptor_reads_afba1347c0c1059a, []int{11} } func (m *SearchReadsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReadsRequest.Unmarshal(m, b) @@ -873,7 +873,7 @@ func (m *SearchReadsResponse) Reset() { *m = SearchReadsResponse{} } func (m *SearchReadsResponse) String() string { return proto.CompactTextString(m) } func (*SearchReadsResponse) ProtoMessage() {} func (*SearchReadsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{12} + return fileDescriptor_reads_afba1347c0c1059a, []int{12} } func (m *SearchReadsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReadsResponse.Unmarshal(m, b) @@ -955,7 +955,7 @@ func (m *StreamReadsRequest) Reset() { *m = StreamReadsRequest{} } func (m *StreamReadsRequest) String() string { return proto.CompactTextString(m) } func (*StreamReadsRequest) ProtoMessage() {} func (*StreamReadsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{13} + return fileDescriptor_reads_afba1347c0c1059a, []int{13} } func (m *StreamReadsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamReadsRequest.Unmarshal(m, b) @@ -1035,7 +1035,7 @@ func (m *StreamReadsResponse) Reset() { *m = StreamReadsResponse{} } func (m *StreamReadsResponse) String() string { return proto.CompactTextString(m) } func (*StreamReadsResponse) ProtoMessage() {} func (*StreamReadsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_reads_3664f05bf43fdf40, []int{14} + return fileDescriptor_reads_afba1347c0c1059a, []int{14} } func (m *StreamReadsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamReadsResponse.Unmarshal(m, b) @@ -1660,10 +1660,10 @@ var _ReadServiceV1_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor_reads_3664f05bf43fdf40) + proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor_reads_afba1347c0c1059a) } -var fileDescriptor_reads_3664f05bf43fdf40 = []byte{ +var fileDescriptor_reads_afba1347c0c1059a = []byte{ // 1333 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, 0x17, 0xff, 0x8e, 0x1d, 0xb7, 0xcd, 0x73, 0x93, 0x38, 0xe3, 0x7e, 0x8b, 0xe3, 0x90, 0x36, 0x6c, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/references.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/references.pb.go index bfc5a96ed..0a8ee62a1 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/references.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/references.pb.go @@ -59,7 +59,7 @@ func (m *Reference) Reset() { *m = Reference{} } func (m *Reference) String() string { return proto.CompactTextString(m) } func (*Reference) ProtoMessage() {} func (*Reference) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{0} + return fileDescriptor_references_4f3354422baff2a6, []int{0} } func (m *Reference) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Reference.Unmarshal(m, b) @@ -172,7 +172,7 @@ func (m *ReferenceSet) Reset() { *m = ReferenceSet{} } func (m *ReferenceSet) String() string { return proto.CompactTextString(m) } func (*ReferenceSet) ProtoMessage() {} func (*ReferenceSet) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{1} + return fileDescriptor_references_4f3354422baff2a6, []int{1} } func (m *ReferenceSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReferenceSet.Unmarshal(m, b) @@ -276,7 +276,7 @@ func (m *SearchReferenceSetsRequest) Reset() { *m = SearchReferenceSetsR func (m *SearchReferenceSetsRequest) String() string { return proto.CompactTextString(m) } func (*SearchReferenceSetsRequest) ProtoMessage() {} func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{2} + return fileDescriptor_references_4f3354422baff2a6, []int{2} } func (m *SearchReferenceSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReferenceSetsRequest.Unmarshal(m, b) @@ -347,7 +347,7 @@ func (m *SearchReferenceSetsResponse) Reset() { *m = SearchReferenceSets func (m *SearchReferenceSetsResponse) String() string { return proto.CompactTextString(m) } func (*SearchReferenceSetsResponse) ProtoMessage() {} func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{3} + return fileDescriptor_references_4f3354422baff2a6, []int{3} } func (m *SearchReferenceSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReferenceSetsResponse.Unmarshal(m, b) @@ -393,7 +393,7 @@ func (m *GetReferenceSetRequest) Reset() { *m = GetReferenceSetRequest{} func (m *GetReferenceSetRequest) String() string { return proto.CompactTextString(m) } func (*GetReferenceSetRequest) ProtoMessage() {} func (*GetReferenceSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{4} + return fileDescriptor_references_4f3354422baff2a6, []int{4} } func (m *GetReferenceSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetReferenceSetRequest.Unmarshal(m, b) @@ -447,7 +447,7 @@ func (m *SearchReferencesRequest) Reset() { *m = SearchReferencesRequest func (m *SearchReferencesRequest) String() string { return proto.CompactTextString(m) } func (*SearchReferencesRequest) ProtoMessage() {} func (*SearchReferencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{5} + return fileDescriptor_references_4f3354422baff2a6, []int{5} } func (m *SearchReferencesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReferencesRequest.Unmarshal(m, b) @@ -518,7 +518,7 @@ func (m *SearchReferencesResponse) Reset() { *m = SearchReferencesRespon func (m *SearchReferencesResponse) String() string { return proto.CompactTextString(m) } func (*SearchReferencesResponse) ProtoMessage() {} func (*SearchReferencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{6} + return fileDescriptor_references_4f3354422baff2a6, []int{6} } func (m *SearchReferencesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchReferencesResponse.Unmarshal(m, b) @@ -564,7 +564,7 @@ func (m *GetReferenceRequest) Reset() { *m = GetReferenceRequest{} } func (m *GetReferenceRequest) String() string { return proto.CompactTextString(m) } func (*GetReferenceRequest) ProtoMessage() {} func (*GetReferenceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{7} + return fileDescriptor_references_4f3354422baff2a6, []int{7} } func (m *GetReferenceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetReferenceRequest.Unmarshal(m, b) @@ -616,7 +616,7 @@ func (m *ListBasesRequest) Reset() { *m = ListBasesRequest{} } func (m *ListBasesRequest) String() string { return proto.CompactTextString(m) } func (*ListBasesRequest) ProtoMessage() {} func (*ListBasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{8} + return fileDescriptor_references_4f3354422baff2a6, []int{8} } func (m *ListBasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBasesRequest.Unmarshal(m, b) @@ -691,7 +691,7 @@ func (m *ListBasesResponse) Reset() { *m = ListBasesResponse{} } func (m *ListBasesResponse) String() string { return proto.CompactTextString(m) } func (*ListBasesResponse) ProtoMessage() {} func (*ListBasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_references_e97e7af900c3590d, []int{9} + return fileDescriptor_references_4f3354422baff2a6, []int{9} } func (m *ListBasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBasesResponse.Unmarshal(m, b) @@ -1030,10 +1030,10 @@ var _ReferenceServiceV1_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/genomics/v1/references.proto", fileDescriptor_references_e97e7af900c3590d) + proto.RegisterFile("google/genomics/v1/references.proto", fileDescriptor_references_4f3354422baff2a6) } -var fileDescriptor_references_e97e7af900c3590d = []byte{ +var fileDescriptor_references_4f3354422baff2a6 = []byte{ // 851 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0x1b, 0x45, 0x14, 0xd6, 0x78, 0x63, 0x37, 0x7e, 0x76, 0x12, 0xf7, 0x15, 0xc2, 0xca, 0x25, 0xd4, 0x6c, 0x9a, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1/variants.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1/variants.pb.go index 3b338b3bd..7b87e5a67 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/variants.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1/variants.pb.go @@ -61,7 +61,7 @@ func (x InfoMergeOperation) String() string { return proto.EnumName(InfoMergeOperation_name, int32(x)) } func (InfoMergeOperation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{0} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{0} } type VariantSetMetadata_Type int32 @@ -96,7 +96,7 @@ func (x VariantSetMetadata_Type) String() string { return proto.EnumName(VariantSetMetadata_Type_name, int32(x)) } func (VariantSetMetadata_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{0, 0} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{0, 0} } type ImportVariantsRequest_Format int32 @@ -126,7 +126,7 @@ func (x ImportVariantsRequest_Format) String() string { return proto.EnumName(ImportVariantsRequest_Format_name, int32(x)) } func (ImportVariantsRequest_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{6, 0} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{6, 0} } type ExportVariantSetRequest_Format int32 @@ -150,7 +150,7 @@ func (x ExportVariantSetRequest_Format) String() string { return proto.EnumName(ExportVariantSetRequest_Format_name, int32(x)) } func (ExportVariantSetRequest_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{9, 0} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{9, 0} } // Metadata describes a single piece of variant call metadata. @@ -186,7 +186,7 @@ func (m *VariantSetMetadata) Reset() { *m = VariantSetMetadata{} } func (m *VariantSetMetadata) String() string { return proto.CompactTextString(m) } func (*VariantSetMetadata) ProtoMessage() {} func (*VariantSetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{0} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{0} } func (m *VariantSetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VariantSetMetadata.Unmarshal(m, b) @@ -294,7 +294,7 @@ func (m *VariantSet) Reset() { *m = VariantSet{} } func (m *VariantSet) String() string { return proto.CompactTextString(m) } func (*VariantSet) ProtoMessage() {} func (*VariantSet) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{1} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{1} } func (m *VariantSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VariantSet.Unmarshal(m, b) @@ -421,7 +421,7 @@ func (m *Variant) Reset() { *m = Variant{} } func (m *Variant) String() string { return proto.CompactTextString(m) } func (*Variant) ProtoMessage() {} func (*Variant) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{2} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{2} } func (m *Variant) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Variant.Unmarshal(m, b) @@ -579,7 +579,7 @@ func (m *VariantCall) Reset() { *m = VariantCall{} } func (m *VariantCall) String() string { return proto.CompactTextString(m) } func (*VariantCall) ProtoMessage() {} func (*VariantCall) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{3} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{3} } func (m *VariantCall) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VariantCall.Unmarshal(m, b) @@ -673,7 +673,7 @@ func (m *CallSet) Reset() { *m = CallSet{} } func (m *CallSet) String() string { return proto.CompactTextString(m) } func (*CallSet) ProtoMessage() {} func (*CallSet) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{4} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{4} } func (m *CallSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CallSet.Unmarshal(m, b) @@ -752,7 +752,7 @@ func (m *ReferenceBound) Reset() { *m = ReferenceBound{} } func (m *ReferenceBound) String() string { return proto.CompactTextString(m) } func (*ReferenceBound) ProtoMessage() {} func (*ReferenceBound) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{5} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{5} } func (m *ReferenceBound) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReferenceBound.Unmarshal(m, b) @@ -820,7 +820,7 @@ func (m *ImportVariantsRequest) Reset() { *m = ImportVariantsRequest{} } func (m *ImportVariantsRequest) String() string { return proto.CompactTextString(m) } func (*ImportVariantsRequest) ProtoMessage() {} func (*ImportVariantsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{6} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{6} } func (m *ImportVariantsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportVariantsRequest.Unmarshal(m, b) @@ -888,7 +888,7 @@ func (m *ImportVariantsResponse) Reset() { *m = ImportVariantsResponse{} func (m *ImportVariantsResponse) String() string { return proto.CompactTextString(m) } func (*ImportVariantsResponse) ProtoMessage() {} func (*ImportVariantsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{7} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{7} } func (m *ImportVariantsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportVariantsResponse.Unmarshal(m, b) @@ -928,7 +928,7 @@ func (m *CreateVariantSetRequest) Reset() { *m = CreateVariantSetRequest func (m *CreateVariantSetRequest) String() string { return proto.CompactTextString(m) } func (*CreateVariantSetRequest) ProtoMessage() {} func (*CreateVariantSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{8} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{8} } func (m *CreateVariantSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVariantSetRequest.Unmarshal(m, b) @@ -985,7 +985,7 @@ func (m *ExportVariantSetRequest) Reset() { *m = ExportVariantSetRequest func (m *ExportVariantSetRequest) String() string { return proto.CompactTextString(m) } func (*ExportVariantSetRequest) ProtoMessage() {} func (*ExportVariantSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{9} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{9} } func (m *ExportVariantSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExportVariantSetRequest.Unmarshal(m, b) @@ -1060,7 +1060,7 @@ func (m *GetVariantSetRequest) Reset() { *m = GetVariantSetRequest{} } func (m *GetVariantSetRequest) String() string { return proto.CompactTextString(m) } func (*GetVariantSetRequest) ProtoMessage() {} func (*GetVariantSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{10} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{10} } func (m *GetVariantSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVariantSetRequest.Unmarshal(m, b) @@ -1108,7 +1108,7 @@ func (m *SearchVariantSetsRequest) Reset() { *m = SearchVariantSetsReque func (m *SearchVariantSetsRequest) String() string { return proto.CompactTextString(m) } func (*SearchVariantSetsRequest) ProtoMessage() {} func (*SearchVariantSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{11} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{11} } func (m *SearchVariantSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchVariantSetsRequest.Unmarshal(m, b) @@ -1166,7 +1166,7 @@ func (m *SearchVariantSetsResponse) Reset() { *m = SearchVariantSetsResp func (m *SearchVariantSetsResponse) String() string { return proto.CompactTextString(m) } func (*SearchVariantSetsResponse) ProtoMessage() {} func (*SearchVariantSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{12} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{12} } func (m *SearchVariantSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchVariantSetsResponse.Unmarshal(m, b) @@ -1213,7 +1213,7 @@ func (m *DeleteVariantSetRequest) Reset() { *m = DeleteVariantSetRequest func (m *DeleteVariantSetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteVariantSetRequest) ProtoMessage() {} func (*DeleteVariantSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{13} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{13} } func (m *DeleteVariantSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVariantSetRequest.Unmarshal(m, b) @@ -1264,7 +1264,7 @@ func (m *UpdateVariantSetRequest) Reset() { *m = UpdateVariantSetRequest func (m *UpdateVariantSetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateVariantSetRequest) ProtoMessage() {} func (*UpdateVariantSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{14} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{14} } func (m *UpdateVariantSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateVariantSetRequest.Unmarshal(m, b) @@ -1346,7 +1346,7 @@ func (m *SearchVariantsRequest) Reset() { *m = SearchVariantsRequest{} } func (m *SearchVariantsRequest) String() string { return proto.CompactTextString(m) } func (*SearchVariantsRequest) ProtoMessage() {} func (*SearchVariantsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{15} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{15} } func (m *SearchVariantsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchVariantsRequest.Unmarshal(m, b) @@ -1446,7 +1446,7 @@ func (m *SearchVariantsResponse) Reset() { *m = SearchVariantsResponse{} func (m *SearchVariantsResponse) String() string { return proto.CompactTextString(m) } func (*SearchVariantsResponse) ProtoMessage() {} func (*SearchVariantsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{16} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{16} } func (m *SearchVariantsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchVariantsResponse.Unmarshal(m, b) @@ -1492,7 +1492,7 @@ func (m *CreateVariantRequest) Reset() { *m = CreateVariantRequest{} } func (m *CreateVariantRequest) String() string { return proto.CompactTextString(m) } func (*CreateVariantRequest) ProtoMessage() {} func (*CreateVariantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{17} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{17} } func (m *CreateVariantRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVariantRequest.Unmarshal(m, b) @@ -1538,7 +1538,7 @@ func (m *UpdateVariantRequest) Reset() { *m = UpdateVariantRequest{} } func (m *UpdateVariantRequest) String() string { return proto.CompactTextString(m) } func (*UpdateVariantRequest) ProtoMessage() {} func (*UpdateVariantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{18} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{18} } func (m *UpdateVariantRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateVariantRequest.Unmarshal(m, b) @@ -1591,7 +1591,7 @@ func (m *DeleteVariantRequest) Reset() { *m = DeleteVariantRequest{} } func (m *DeleteVariantRequest) String() string { return proto.CompactTextString(m) } func (*DeleteVariantRequest) ProtoMessage() {} func (*DeleteVariantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{19} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{19} } func (m *DeleteVariantRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVariantRequest.Unmarshal(m, b) @@ -1630,7 +1630,7 @@ func (m *GetVariantRequest) Reset() { *m = GetVariantRequest{} } func (m *GetVariantRequest) String() string { return proto.CompactTextString(m) } func (*GetVariantRequest) ProtoMessage() {} func (*GetVariantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{20} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{20} } func (m *GetVariantRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetVariantRequest.Unmarshal(m, b) @@ -1674,7 +1674,7 @@ func (m *MergeVariantsRequest) Reset() { *m = MergeVariantsRequest{} } func (m *MergeVariantsRequest) String() string { return proto.CompactTextString(m) } func (*MergeVariantsRequest) ProtoMessage() {} func (*MergeVariantsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{21} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{21} } func (m *MergeVariantsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MergeVariantsRequest.Unmarshal(m, b) @@ -1739,7 +1739,7 @@ func (m *SearchCallSetsRequest) Reset() { *m = SearchCallSetsRequest{} } func (m *SearchCallSetsRequest) String() string { return proto.CompactTextString(m) } func (*SearchCallSetsRequest) ProtoMessage() {} func (*SearchCallSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{22} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{22} } func (m *SearchCallSetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchCallSetsRequest.Unmarshal(m, b) @@ -1804,7 +1804,7 @@ func (m *SearchCallSetsResponse) Reset() { *m = SearchCallSetsResponse{} func (m *SearchCallSetsResponse) String() string { return proto.CompactTextString(m) } func (*SearchCallSetsResponse) ProtoMessage() {} func (*SearchCallSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{23} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{23} } func (m *SearchCallSetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchCallSetsResponse.Unmarshal(m, b) @@ -1850,7 +1850,7 @@ func (m *CreateCallSetRequest) Reset() { *m = CreateCallSetRequest{} } func (m *CreateCallSetRequest) String() string { return proto.CompactTextString(m) } func (*CreateCallSetRequest) ProtoMessage() {} func (*CreateCallSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{24} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{24} } func (m *CreateCallSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateCallSetRequest.Unmarshal(m, b) @@ -1896,7 +1896,7 @@ func (m *UpdateCallSetRequest) Reset() { *m = UpdateCallSetRequest{} } func (m *UpdateCallSetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateCallSetRequest) ProtoMessage() {} func (*UpdateCallSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{25} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{25} } func (m *UpdateCallSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateCallSetRequest.Unmarshal(m, b) @@ -1949,7 +1949,7 @@ func (m *DeleteCallSetRequest) Reset() { *m = DeleteCallSetRequest{} } func (m *DeleteCallSetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteCallSetRequest) ProtoMessage() {} func (*DeleteCallSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{26} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{26} } func (m *DeleteCallSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteCallSetRequest.Unmarshal(m, b) @@ -1988,7 +1988,7 @@ func (m *GetCallSetRequest) Reset() { *m = GetCallSetRequest{} } func (m *GetCallSetRequest) String() string { return proto.CompactTextString(m) } func (*GetCallSetRequest) ProtoMessage() {} func (*GetCallSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{27} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{27} } func (m *GetCallSetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCallSetRequest.Unmarshal(m, b) @@ -2043,7 +2043,7 @@ func (m *StreamVariantsRequest) Reset() { *m = StreamVariantsRequest{} } func (m *StreamVariantsRequest) String() string { return proto.CompactTextString(m) } func (*StreamVariantsRequest) ProtoMessage() {} func (*StreamVariantsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{28} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{28} } func (m *StreamVariantsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamVariantsRequest.Unmarshal(m, b) @@ -2116,7 +2116,7 @@ func (m *StreamVariantsResponse) Reset() { *m = StreamVariantsResponse{} func (m *StreamVariantsResponse) String() string { return proto.CompactTextString(m) } func (*StreamVariantsResponse) ProtoMessage() {} func (*StreamVariantsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_variants_ddf8cc9bb5ba2e7c, []int{29} + return fileDescriptor_variants_8662afc4dcc7ac11, []int{29} } func (m *StreamVariantsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamVariantsResponse.Unmarshal(m, b) @@ -3331,10 +3331,10 @@ var _VariantServiceV1_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/genomics/v1/variants.proto", fileDescriptor_variants_ddf8cc9bb5ba2e7c) + proto.RegisterFile("google/genomics/v1/variants.proto", fileDescriptor_variants_8662afc4dcc7ac11) } -var fileDescriptor_variants_ddf8cc9bb5ba2e7c = []byte{ +var fileDescriptor_variants_8662afc4dcc7ac11 = []byte{ // 2348 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xdd, 0x6e, 0x1b, 0xc7, 0xf5, 0xff, 0xef, 0x92, 0x94, 0xc8, 0x43, 0x91, 0x5a, 0x4f, 0x14, 0x69, 0x43, 0x7f, 0xc9, 0xfb, diff --git a/vendor/google.golang.org/genproto/googleapis/genomics/v1alpha2/pipelines.pb.go b/vendor/google.golang.org/genproto/googleapis/genomics/v1alpha2/pipelines.pb.go index 5ebad6071..62f353f06 100644 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1alpha2/pipelines.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/genomics/v1alpha2/pipelines.pb.go @@ -63,7 +63,7 @@ func (x PipelineResources_Disk_Type) String() string { return proto.EnumName(PipelineResources_Disk_Type_name, int32(x)) } func (PipelineResources_Disk_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{16, 0, 0} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{16, 0, 0} } // Describes a Compute Engine resource that is being managed by a running @@ -86,7 +86,7 @@ func (m *ComputeEngine) Reset() { *m = ComputeEngine{} } func (m *ComputeEngine) String() string { return proto.CompactTextString(m) } func (*ComputeEngine) ProtoMessage() {} func (*ComputeEngine) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{0} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{0} } func (m *ComputeEngine) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ComputeEngine.Unmarshal(m, b) @@ -149,7 +149,7 @@ func (m *RuntimeMetadata) Reset() { *m = RuntimeMetadata{} } func (m *RuntimeMetadata) String() string { return proto.CompactTextString(m) } func (*RuntimeMetadata) ProtoMessage() {} func (*RuntimeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{1} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{1} } func (m *RuntimeMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RuntimeMetadata.Unmarshal(m, b) @@ -224,7 +224,7 @@ func (m *Pipeline) Reset() { *m = Pipeline{} } func (m *Pipeline) String() string { return proto.CompactTextString(m) } func (*Pipeline) ProtoMessage() {} func (*Pipeline) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{2} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{2} } func (m *Pipeline) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Pipeline.Unmarshal(m, b) @@ -244,23 +244,6 @@ func (m *Pipeline) XXX_DiscardUnknown() { var xxx_messageInfo_Pipeline proto.InternalMessageInfo -type isPipeline_Executor interface { - isPipeline_Executor() -} - -type Pipeline_Docker struct { - Docker *DockerExecutor `protobuf:"bytes,5,opt,name=docker,proto3,oneof"` -} - -func (*Pipeline_Docker) isPipeline_Executor() {} - -func (m *Pipeline) GetExecutor() isPipeline_Executor { - if m != nil { - return m.Executor - } - return nil -} - func (m *Pipeline) GetProjectId() string { if m != nil { return m.ProjectId @@ -296,6 +279,23 @@ func (m *Pipeline) GetOutputParameters() []*PipelineParameter { return nil } +type isPipeline_Executor interface { + isPipeline_Executor() +} + +type Pipeline_Docker struct { + Docker *DockerExecutor `protobuf:"bytes,5,opt,name=docker,proto3,oneof"` +} + +func (*Pipeline_Docker) isPipeline_Executor() {} + +func (m *Pipeline) GetExecutor() isPipeline_Executor { + if m != nil { + return m.Executor + } + return nil +} + func (m *Pipeline) GetDocker() *DockerExecutor { if x, ok := m.GetExecutor().(*Pipeline_Docker); ok { return x.Docker @@ -386,7 +386,7 @@ func (m *CreatePipelineRequest) Reset() { *m = CreatePipelineRequest{} } func (m *CreatePipelineRequest) String() string { return proto.CompactTextString(m) } func (*CreatePipelineRequest) ProtoMessage() {} func (*CreatePipelineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{3} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{3} } func (m *CreatePipelineRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreatePipelineRequest.Unmarshal(m, b) @@ -467,7 +467,7 @@ func (m *RunPipelineArgs) Reset() { *m = RunPipelineArgs{} } func (m *RunPipelineArgs) String() string { return proto.CompactTextString(m) } func (*RunPipelineArgs) ProtoMessage() {} func (*RunPipelineArgs) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{4} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{4} } func (m *RunPipelineArgs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunPipelineArgs.Unmarshal(m, b) @@ -573,7 +573,7 @@ func (m *RunPipelineRequest) Reset() { *m = RunPipelineRequest{} } func (m *RunPipelineRequest) String() string { return proto.CompactTextString(m) } func (*RunPipelineRequest) ProtoMessage() {} func (*RunPipelineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{5} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{5} } func (m *RunPipelineRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunPipelineRequest.Unmarshal(m, b) @@ -600,11 +600,13 @@ type isRunPipelineRequest_Pipeline interface { type RunPipelineRequest_PipelineId struct { PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3,oneof"` } + type RunPipelineRequest_EphemeralPipeline struct { EphemeralPipeline *Pipeline `protobuf:"bytes,2,opt,name=ephemeral_pipeline,json=ephemeralPipeline,proto3,oneof"` } -func (*RunPipelineRequest_PipelineId) isRunPipelineRequest_Pipeline() {} +func (*RunPipelineRequest_PipelineId) isRunPipelineRequest_Pipeline() {} + func (*RunPipelineRequest_EphemeralPipeline) isRunPipelineRequest_Pipeline() {} func (m *RunPipelineRequest) GetPipeline() isRunPipelineRequest_Pipeline { @@ -719,7 +721,7 @@ func (m *GetPipelineRequest) Reset() { *m = GetPipelineRequest{} } func (m *GetPipelineRequest) String() string { return proto.CompactTextString(m) } func (*GetPipelineRequest) ProtoMessage() {} func (*GetPipelineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{6} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{6} } func (m *GetPipelineRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPipelineRequest.Unmarshal(m, b) @@ -775,7 +777,7 @@ func (m *ListPipelinesRequest) Reset() { *m = ListPipelinesRequest{} } func (m *ListPipelinesRequest) String() string { return proto.CompactTextString(m) } func (*ListPipelinesRequest) ProtoMessage() {} func (*ListPipelinesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{7} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{7} } func (m *ListPipelinesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListPipelinesRequest.Unmarshal(m, b) @@ -842,7 +844,7 @@ func (m *ListPipelinesResponse) Reset() { *m = ListPipelinesResponse{} } func (m *ListPipelinesResponse) String() string { return proto.CompactTextString(m) } func (*ListPipelinesResponse) ProtoMessage() {} func (*ListPipelinesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{8} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{8} } func (m *ListPipelinesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListPipelinesResponse.Unmarshal(m, b) @@ -890,7 +892,7 @@ func (m *DeletePipelineRequest) Reset() { *m = DeletePipelineRequest{} } func (m *DeletePipelineRequest) String() string { return proto.CompactTextString(m) } func (*DeletePipelineRequest) ProtoMessage() {} func (*DeletePipelineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{9} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{9} } func (m *DeletePipelineRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeletePipelineRequest.Unmarshal(m, b) @@ -932,7 +934,7 @@ func (m *GetControllerConfigRequest) Reset() { *m = GetControllerConfigR func (m *GetControllerConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetControllerConfigRequest) ProtoMessage() {} func (*GetControllerConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{10} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{10} } func (m *GetControllerConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetControllerConfigRequest.Unmarshal(m, b) @@ -987,7 +989,7 @@ func (m *ControllerConfig) Reset() { *m = ControllerConfig{} } func (m *ControllerConfig) String() string { return proto.CompactTextString(m) } func (*ControllerConfig) ProtoMessage() {} func (*ControllerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{11} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{11} } func (m *ControllerConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerConfig.Unmarshal(m, b) @@ -1074,7 +1076,7 @@ func (m *ControllerConfig_RepeatedString) Reset() { *m = ControllerConfi func (m *ControllerConfig_RepeatedString) String() string { return proto.CompactTextString(m) } func (*ControllerConfig_RepeatedString) ProtoMessage() {} func (*ControllerConfig_RepeatedString) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{11, 0} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{11, 0} } func (m *ControllerConfig_RepeatedString) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerConfig_RepeatedString.Unmarshal(m, b) @@ -1117,7 +1119,7 @@ func (m *TimestampEvent) Reset() { *m = TimestampEvent{} } func (m *TimestampEvent) String() string { return proto.CompactTextString(m) } func (*TimestampEvent) ProtoMessage() {} func (*TimestampEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{12} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{12} } func (m *TimestampEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimestampEvent.Unmarshal(m, b) @@ -1168,7 +1170,7 @@ func (m *SetOperationStatusRequest) Reset() { *m = SetOperationStatusReq func (m *SetOperationStatusRequest) String() string { return proto.CompactTextString(m) } func (*SetOperationStatusRequest) ProtoMessage() {} func (*SetOperationStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{13} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{13} } func (m *SetOperationStatusRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetOperationStatusRequest.Unmarshal(m, b) @@ -1246,7 +1248,7 @@ func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } func (m *ServiceAccount) String() string { return proto.CompactTextString(m) } func (*ServiceAccount) ProtoMessage() {} func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{14} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{14} } func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceAccount.Unmarshal(m, b) @@ -1300,7 +1302,7 @@ func (m *LoggingOptions) Reset() { *m = LoggingOptions{} } func (m *LoggingOptions) String() string { return proto.CompactTextString(m) } func (*LoggingOptions) ProtoMessage() {} func (*LoggingOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{15} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{15} } func (m *LoggingOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoggingOptions.Unmarshal(m, b) @@ -1365,7 +1367,7 @@ func (m *PipelineResources) Reset() { *m = PipelineResources{} } func (m *PipelineResources) String() string { return proto.CompactTextString(m) } func (*PipelineResources) ProtoMessage() {} func (*PipelineResources) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{16} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{16} } func (m *PipelineResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PipelineResources.Unmarshal(m, b) @@ -1470,7 +1472,7 @@ func (m *PipelineResources_Disk) Reset() { *m = PipelineResources_Disk{} func (m *PipelineResources_Disk) String() string { return proto.CompactTextString(m) } func (*PipelineResources_Disk) ProtoMessage() {} func (*PipelineResources_Disk) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{16, 0} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{16, 0} } func (m *PipelineResources_Disk) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PipelineResources_Disk.Unmarshal(m, b) @@ -1647,7 +1649,7 @@ func (m *PipelineParameter) Reset() { *m = PipelineParameter{} } func (m *PipelineParameter) String() string { return proto.CompactTextString(m) } func (*PipelineParameter) ProtoMessage() {} func (*PipelineParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{17} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{17} } func (m *PipelineParameter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PipelineParameter.Unmarshal(m, b) @@ -1715,7 +1717,7 @@ func (m *PipelineParameter_LocalCopy) Reset() { *m = PipelineParameter_L func (m *PipelineParameter_LocalCopy) String() string { return proto.CompactTextString(m) } func (*PipelineParameter_LocalCopy) ProtoMessage() {} func (*PipelineParameter_LocalCopy) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{17, 0} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{17, 0} } func (m *PipelineParameter_LocalCopy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PipelineParameter_LocalCopy.Unmarshal(m, b) @@ -1772,7 +1774,7 @@ func (m *DockerExecutor) Reset() { *m = DockerExecutor{} } func (m *DockerExecutor) String() string { return proto.CompactTextString(m) } func (*DockerExecutor) ProtoMessage() {} func (*DockerExecutor) Descriptor() ([]byte, []int) { - return fileDescriptor_pipelines_4f14821fd770c100, []int{18} + return fileDescriptor_pipelines_55609b41fbfd863e, []int{18} } func (m *DockerExecutor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DockerExecutor.Unmarshal(m, b) @@ -2164,10 +2166,10 @@ var _PipelinesV1Alpha2_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/genomics/v1alpha2/pipelines.proto", fileDescriptor_pipelines_4f14821fd770c100) + proto.RegisterFile("google/genomics/v1alpha2/pipelines.proto", fileDescriptor_pipelines_55609b41fbfd863e) } -var fileDescriptor_pipelines_4f14821fd770c100 = []byte{ +var fileDescriptor_pipelines_55609b41fbfd863e = []byte{ // 2065 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4d, 0x73, 0xdb, 0xc8, 0xd1, 0x36, 0x28, 0x4a, 0x22, 0x9a, 0x12, 0x45, 0xcf, 0xda, 0x6b, 0x9a, 0xf6, 0xbe, 0xb6, 0xe1, diff --git a/vendor/google.golang.org/genproto/googleapis/home/graph/v1/device.pb.go b/vendor/google.golang.org/genproto/googleapis/home/graph/v1/device.pb.go index 17c8cf838..bff02243c 100644 --- a/vendor/google.golang.org/genproto/googleapis/home/graph/v1/device.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/home/graph/v1/device.pb.go @@ -55,7 +55,7 @@ func (m *Device) Reset() { *m = Device{} } func (m *Device) String() string { return proto.CompactTextString(m) } func (*Device) ProtoMessage() {} func (*Device) Descriptor() ([]byte, []int) { - return fileDescriptor_device_310b64582597de9b, []int{0} + return fileDescriptor_device_8fc78cb86ce98100, []int{0} } func (m *Device) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device.Unmarshal(m, b) @@ -163,7 +163,7 @@ func (m *DeviceNames) Reset() { *m = DeviceNames{} } func (m *DeviceNames) String() string { return proto.CompactTextString(m) } func (*DeviceNames) ProtoMessage() {} func (*DeviceNames) Descriptor() ([]byte, []int) { - return fileDescriptor_device_310b64582597de9b, []int{1} + return fileDescriptor_device_8fc78cb86ce98100, []int{1} } func (m *DeviceNames) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceNames.Unmarshal(m, b) @@ -223,7 +223,7 @@ func (m *DeviceInfo) Reset() { *m = DeviceInfo{} } func (m *DeviceInfo) String() string { return proto.CompactTextString(m) } func (*DeviceInfo) ProtoMessage() {} func (*DeviceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_device_310b64582597de9b, []int{2} + return fileDescriptor_device_8fc78cb86ce98100, []int{2} } func (m *DeviceInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeviceInfo.Unmarshal(m, b) @@ -278,10 +278,10 @@ func init() { } func init() { - proto.RegisterFile("google/home/graph/v1/device.proto", fileDescriptor_device_310b64582597de9b) + proto.RegisterFile("google/home/graph/v1/device.proto", fileDescriptor_device_8fc78cb86ce98100) } -var fileDescriptor_device_310b64582597de9b = []byte{ +var fileDescriptor_device_8fc78cb86ce98100 = []byte{ // 470 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xc1, 0x6f, 0xd4, 0x3c, 0x10, 0xc5, 0x95, 0xdd, 0xed, 0x7e, 0x9b, 0xd9, 0xb6, 0x9f, 0xb0, 0x2a, 0xb0, 0xa0, 0x88, 0x74, diff --git a/vendor/google.golang.org/genproto/googleapis/home/graph/v1/homegraph.pb.go b/vendor/google.golang.org/genproto/googleapis/home/graph/v1/homegraph.pb.go index f0a139489..87cc494a7 100644 --- a/vendor/google.golang.org/genproto/googleapis/home/graph/v1/homegraph.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/home/graph/v1/homegraph.pb.go @@ -44,7 +44,7 @@ func (m *RequestSyncDevicesRequest) Reset() { *m = RequestSyncDevicesReq func (m *RequestSyncDevicesRequest) String() string { return proto.CompactTextString(m) } func (*RequestSyncDevicesRequest) ProtoMessage() {} func (*RequestSyncDevicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{0} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{0} } func (m *RequestSyncDevicesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestSyncDevicesRequest.Unmarshal(m, b) @@ -90,7 +90,7 @@ func (m *RequestSyncDevicesResponse) Reset() { *m = RequestSyncDevicesRe func (m *RequestSyncDevicesResponse) String() string { return proto.CompactTextString(m) } func (*RequestSyncDevicesResponse) ProtoMessage() {} func (*RequestSyncDevicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{1} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{1} } func (m *RequestSyncDevicesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestSyncDevicesResponse.Unmarshal(m, b) @@ -114,7 +114,7 @@ var xxx_messageInfo_RequestSyncDevicesResponse proto.InternalMessageInfo // defined per device_id (eg: "123" and "456" in the following example): // { // "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", -// "agent_user_id": "1234", +// "agentUserId": "1234", // "payload": { // "devices": { // "states": { @@ -185,7 +185,7 @@ func (m *ReportStateAndNotificationRequest) Reset() { *m = ReportStateAn func (m *ReportStateAndNotificationRequest) String() string { return proto.CompactTextString(m) } func (*ReportStateAndNotificationRequest) ProtoMessage() {} func (*ReportStateAndNotificationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{2} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{2} } func (m *ReportStateAndNotificationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportStateAndNotificationRequest.Unmarshal(m, b) @@ -253,7 +253,7 @@ func (m *ReportStateAndNotificationResponse) Reset() { *m = ReportStateA func (m *ReportStateAndNotificationResponse) String() string { return proto.CompactTextString(m) } func (*ReportStateAndNotificationResponse) ProtoMessage() {} func (*ReportStateAndNotificationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{3} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{3} } func (m *ReportStateAndNotificationResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportStateAndNotificationResponse.Unmarshal(m, b) @@ -293,7 +293,7 @@ func (m *StateAndNotificationPayload) Reset() { *m = StateAndNotificatio func (m *StateAndNotificationPayload) String() string { return proto.CompactTextString(m) } func (*StateAndNotificationPayload) ProtoMessage() {} func (*StateAndNotificationPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{4} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{4} } func (m *StateAndNotificationPayload) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StateAndNotificationPayload.Unmarshal(m, b) @@ -335,7 +335,7 @@ func (m *ReportStateAndNotificationDevice) Reset() { *m = ReportStateAnd func (m *ReportStateAndNotificationDevice) String() string { return proto.CompactTextString(m) } func (*ReportStateAndNotificationDevice) ProtoMessage() {} func (*ReportStateAndNotificationDevice) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{5} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{5} } func (m *ReportStateAndNotificationDevice) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReportStateAndNotificationDevice.Unmarshal(m, b) @@ -384,7 +384,7 @@ func (m *DeleteAgentUserRequest) Reset() { *m = DeleteAgentUserRequest{} func (m *DeleteAgentUserRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAgentUserRequest) ProtoMessage() {} func (*DeleteAgentUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{6} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{6} } func (m *DeleteAgentUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAgentUserRequest.Unmarshal(m, b) @@ -440,7 +440,7 @@ func (m *QueryRequest) Reset() { *m = QueryRequest{} } func (m *QueryRequest) String() string { return proto.CompactTextString(m) } func (*QueryRequest) ProtoMessage() {} func (*QueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{7} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{7} } func (m *QueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryRequest.Unmarshal(m, b) @@ -494,7 +494,7 @@ func (m *QueryRequestInput) Reset() { *m = QueryRequestInput{} } func (m *QueryRequestInput) String() string { return proto.CompactTextString(m) } func (*QueryRequestInput) ProtoMessage() {} func (*QueryRequestInput) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{8} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{8} } func (m *QueryRequestInput) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryRequestInput.Unmarshal(m, b) @@ -534,7 +534,7 @@ func (m *QueryRequestPayload) Reset() { *m = QueryRequestPayload{} } func (m *QueryRequestPayload) String() string { return proto.CompactTextString(m) } func (*QueryRequestPayload) ProtoMessage() {} func (*QueryRequestPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{9} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{9} } func (m *QueryRequestPayload) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryRequestPayload.Unmarshal(m, b) @@ -574,7 +574,7 @@ func (m *AgentDeviceId) Reset() { *m = AgentDeviceId{} } func (m *AgentDeviceId) String() string { return proto.CompactTextString(m) } func (*AgentDeviceId) ProtoMessage() {} func (*AgentDeviceId) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{10} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{10} } func (m *AgentDeviceId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AgentDeviceId.Unmarshal(m, b) @@ -618,7 +618,7 @@ func (m *QueryResponse) Reset() { *m = QueryResponse{} } func (m *QueryResponse) String() string { return proto.CompactTextString(m) } func (*QueryResponse) ProtoMessage() {} func (*QueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{11} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{11} } func (m *QueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResponse.Unmarshal(m, b) @@ -666,7 +666,7 @@ func (m *QueryResponsePayload) Reset() { *m = QueryResponsePayload{} } func (m *QueryResponsePayload) String() string { return proto.CompactTextString(m) } func (*QueryResponsePayload) ProtoMessage() {} func (*QueryResponsePayload) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{12} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{12} } func (m *QueryResponsePayload) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResponsePayload.Unmarshal(m, b) @@ -711,7 +711,7 @@ func (m *SyncRequest) Reset() { *m = SyncRequest{} } func (m *SyncRequest) String() string { return proto.CompactTextString(m) } func (*SyncRequest) ProtoMessage() {} func (*SyncRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{13} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{13} } func (m *SyncRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncRequest.Unmarshal(m, b) @@ -794,7 +794,7 @@ func (m *SyncResponse) Reset() { *m = SyncResponse{} } func (m *SyncResponse) String() string { return proto.CompactTextString(m) } func (*SyncResponse) ProtoMessage() {} func (*SyncResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{14} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{14} } func (m *SyncResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncResponse.Unmarshal(m, b) @@ -843,7 +843,7 @@ func (m *SyncResponsePayload) Reset() { *m = SyncResponsePayload{} } func (m *SyncResponsePayload) String() string { return proto.CompactTextString(m) } func (*SyncResponsePayload) ProtoMessage() {} func (*SyncResponsePayload) Descriptor() ([]byte, []int) { - return fileDescriptor_homegraph_a4685ad05e007acd, []int{15} + return fileDescriptor_homegraph_a63234dfcc84278e, []int{15} } func (m *SyncResponsePayload) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SyncResponsePayload.Unmarshal(m, b) @@ -1194,10 +1194,10 @@ var _HomeGraphApiService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/home/graph/v1/homegraph.proto", fileDescriptor_homegraph_a4685ad05e007acd) + proto.RegisterFile("google/home/graph/v1/homegraph.proto", fileDescriptor_homegraph_a63234dfcc84278e) } -var fileDescriptor_homegraph_a4685ad05e007acd = []byte{ +var fileDescriptor_homegraph_a63234dfcc84278e = []byte{ // 879 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x8f, 0xdb, 0x44, 0x14, 0x97, 0x93, 0x66, 0xb7, 0x7d, 0xd9, 0xd0, 0x76, 0x76, 0xd9, 0xba, 0xd9, 0x20, 0x92, 0x59, diff --git a/vendor/google.golang.org/genproto/googleapis/iam/admin/v1/iam.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/admin/v1/iam.pb.go index fec056089..69fcf08f2 100644 --- a/vendor/google.golang.org/genproto/googleapis/iam/admin/v1/iam.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/iam/admin/v1/iam.pb.go @@ -55,7 +55,7 @@ func (x ServiceAccountKeyAlgorithm) String() string { return proto.EnumName(ServiceAccountKeyAlgorithm_name, int32(x)) } func (ServiceAccountKeyAlgorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{0} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{0} } // Supported private key output formats. @@ -87,7 +87,7 @@ func (x ServiceAccountPrivateKeyType) String() string { return proto.EnumName(ServiceAccountPrivateKeyType_name, int32(x)) } func (ServiceAccountPrivateKeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{1} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{1} } // Supported public key output formats. @@ -117,7 +117,7 @@ func (x ServiceAccountPublicKeyType) String() string { return proto.EnumName(ServiceAccountPublicKeyType_name, int32(x)) } func (ServiceAccountPublicKeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{2} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{2} } // A view for Role objects. @@ -144,7 +144,7 @@ func (x RoleView) String() string { return proto.EnumName(RoleView_name, int32(x)) } func (RoleView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{3} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{3} } // `KeyType` filters to selectively retrieve certain varieties @@ -176,7 +176,7 @@ func (x ListServiceAccountKeysRequest_KeyType) String() string { return proto.EnumName(ListServiceAccountKeysRequest_KeyType_name, int32(x)) } func (ListServiceAccountKeysRequest_KeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{6, 0} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{6, 0} } // A stage representing a role's lifecycle phase. @@ -219,7 +219,7 @@ func (x Role_RoleLaunchStage) String() string { return proto.EnumName(Role_RoleLaunchStage_name, int32(x)) } func (Role_RoleLaunchStage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{16, 0} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{16, 0} } // A stage representing a permission's lifecycle phase. @@ -253,7 +253,7 @@ func (x Permission_PermissionLaunchStage) String() string { return proto.EnumName(Permission_PermissionLaunchStage_name, int32(x)) } func (Permission_PermissionLaunchStage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{26, 0} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{26, 0} } // The state of the permission with regards to custom roles. @@ -283,7 +283,7 @@ func (x Permission_CustomRolesSupportLevel) String() string { return proto.EnumName(Permission_CustomRolesSupportLevel_name, int32(x)) } func (Permission_CustomRolesSupportLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{26, 1} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{26, 1} } // A service account in the Identity and Access Management API. @@ -338,7 +338,7 @@ func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } func (m *ServiceAccount) String() string { return proto.CompactTextString(m) } func (*ServiceAccount) ProtoMessage() {} func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{0} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{0} } func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceAccount.Unmarshal(m, b) @@ -430,7 +430,7 @@ func (m *CreateServiceAccountRequest) Reset() { *m = CreateServiceAccoun func (m *CreateServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*CreateServiceAccountRequest) ProtoMessage() {} func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{1} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{1} } func (m *CreateServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceAccountRequest.Unmarshal(m, b) @@ -493,7 +493,7 @@ func (m *ListServiceAccountsRequest) Reset() { *m = ListServiceAccountsR func (m *ListServiceAccountsRequest) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountsRequest) ProtoMessage() {} func (*ListServiceAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{2} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{2} } func (m *ListServiceAccountsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountsRequest.Unmarshal(m, b) @@ -551,7 +551,7 @@ func (m *ListServiceAccountsResponse) Reset() { *m = ListServiceAccounts func (m *ListServiceAccountsResponse) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountsResponse) ProtoMessage() {} func (*ListServiceAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{3} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{3} } func (m *ListServiceAccountsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountsResponse.Unmarshal(m, b) @@ -602,7 +602,7 @@ func (m *GetServiceAccountRequest) Reset() { *m = GetServiceAccountReque func (m *GetServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceAccountRequest) ProtoMessage() {} func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{4} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{4} } func (m *GetServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceAccountRequest.Unmarshal(m, b) @@ -646,7 +646,7 @@ func (m *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccoun func (m *DeleteServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*DeleteServiceAccountRequest) ProtoMessage() {} func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{5} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{5} } func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteServiceAccountRequest.Unmarshal(m, b) @@ -695,7 +695,7 @@ func (m *ListServiceAccountKeysRequest) Reset() { *m = ListServiceAccoun func (m *ListServiceAccountKeysRequest) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountKeysRequest) ProtoMessage() {} func (*ListServiceAccountKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{6} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{6} } func (m *ListServiceAccountKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountKeysRequest.Unmarshal(m, b) @@ -742,7 +742,7 @@ func (m *ListServiceAccountKeysResponse) Reset() { *m = ListServiceAccou func (m *ListServiceAccountKeysResponse) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountKeysResponse) ProtoMessage() {} func (*ListServiceAccountKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{7} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{7} } func (m *ListServiceAccountKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountKeysResponse.Unmarshal(m, b) @@ -790,7 +790,7 @@ func (m *GetServiceAccountKeyRequest) Reset() { *m = GetServiceAccountKe func (m *GetServiceAccountKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceAccountKeyRequest) ProtoMessage() {} func (*GetServiceAccountKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{8} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{8} } func (m *GetServiceAccountKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceAccountKeyRequest.Unmarshal(m, b) @@ -876,7 +876,7 @@ func (m *ServiceAccountKey) Reset() { *m = ServiceAccountKey{} } func (m *ServiceAccountKey) String() string { return proto.CompactTextString(m) } func (*ServiceAccountKey) ProtoMessage() {} func (*ServiceAccountKey) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{9} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{9} } func (m *ServiceAccountKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceAccountKey.Unmarshal(m, b) @@ -969,7 +969,7 @@ func (m *CreateServiceAccountKeyRequest) Reset() { *m = CreateServiceAcc func (m *CreateServiceAccountKeyRequest) String() string { return proto.CompactTextString(m) } func (*CreateServiceAccountKeyRequest) ProtoMessage() {} func (*CreateServiceAccountKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{10} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{10} } func (m *CreateServiceAccountKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceAccountKeyRequest.Unmarshal(m, b) @@ -1027,7 +1027,7 @@ func (m *DeleteServiceAccountKeyRequest) Reset() { *m = DeleteServiceAcc func (m *DeleteServiceAccountKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteServiceAccountKeyRequest) ProtoMessage() {} func (*DeleteServiceAccountKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{11} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{11} } func (m *DeleteServiceAccountKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteServiceAccountKeyRequest.Unmarshal(m, b) @@ -1073,7 +1073,7 @@ func (m *SignBlobRequest) Reset() { *m = SignBlobRequest{} } func (m *SignBlobRequest) String() string { return proto.CompactTextString(m) } func (*SignBlobRequest) ProtoMessage() {} func (*SignBlobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{12} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{12} } func (m *SignBlobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignBlobRequest.Unmarshal(m, b) @@ -1122,7 +1122,7 @@ func (m *SignBlobResponse) Reset() { *m = SignBlobResponse{} } func (m *SignBlobResponse) String() string { return proto.CompactTextString(m) } func (*SignBlobResponse) ProtoMessage() {} func (*SignBlobResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{13} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{13} } func (m *SignBlobResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignBlobResponse.Unmarshal(m, b) @@ -1175,7 +1175,7 @@ func (m *SignJwtRequest) Reset() { *m = SignJwtRequest{} } func (m *SignJwtRequest) String() string { return proto.CompactTextString(m) } func (*SignJwtRequest) ProtoMessage() {} func (*SignJwtRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{14} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{14} } func (m *SignJwtRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignJwtRequest.Unmarshal(m, b) @@ -1224,7 +1224,7 @@ func (m *SignJwtResponse) Reset() { *m = SignJwtResponse{} } func (m *SignJwtResponse) String() string { return proto.CompactTextString(m) } func (*SignJwtResponse) ProtoMessage() {} func (*SignJwtResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{15} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{15} } func (m *SignJwtResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignJwtResponse.Unmarshal(m, b) @@ -1291,7 +1291,7 @@ func (m *Role) Reset() { *m = Role{} } func (m *Role) String() string { return proto.CompactTextString(m) } func (*Role) ProtoMessage() {} func (*Role) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{16} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{16} } func (m *Role) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Role.Unmarshal(m, b) @@ -1383,7 +1383,7 @@ func (m *QueryGrantableRolesRequest) Reset() { *m = QueryGrantableRolesR func (m *QueryGrantableRolesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGrantableRolesRequest) ProtoMessage() {} func (*QueryGrantableRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{17} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{17} } func (m *QueryGrantableRolesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryGrantableRolesRequest.Unmarshal(m, b) @@ -1447,7 +1447,7 @@ func (m *QueryGrantableRolesResponse) Reset() { *m = QueryGrantableRoles func (m *QueryGrantableRolesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGrantableRolesResponse) ProtoMessage() {} func (*QueryGrantableRolesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{18} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{18} } func (m *QueryGrantableRolesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryGrantableRolesResponse.Unmarshal(m, b) @@ -1505,7 +1505,7 @@ func (m *ListRolesRequest) Reset() { *m = ListRolesRequest{} } func (m *ListRolesRequest) String() string { return proto.CompactTextString(m) } func (*ListRolesRequest) ProtoMessage() {} func (*ListRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{19} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{19} } func (m *ListRolesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRolesRequest.Unmarshal(m, b) @@ -1576,7 +1576,7 @@ func (m *ListRolesResponse) Reset() { *m = ListRolesResponse{} } func (m *ListRolesResponse) String() string { return proto.CompactTextString(m) } func (*ListRolesResponse) ProtoMessage() {} func (*ListRolesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{20} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{20} } func (m *ListRolesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRolesResponse.Unmarshal(m, b) @@ -1626,7 +1626,7 @@ func (m *GetRoleRequest) Reset() { *m = GetRoleRequest{} } func (m *GetRoleRequest) String() string { return proto.CompactTextString(m) } func (*GetRoleRequest) ProtoMessage() {} func (*GetRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{21} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{21} } func (m *GetRoleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetRoleRequest.Unmarshal(m, b) @@ -1672,7 +1672,7 @@ func (m *CreateRoleRequest) Reset() { *m = CreateRoleRequest{} } func (m *CreateRoleRequest) String() string { return proto.CompactTextString(m) } func (*CreateRoleRequest) ProtoMessage() {} func (*CreateRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{22} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{22} } func (m *CreateRoleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRoleRequest.Unmarshal(m, b) @@ -1733,7 +1733,7 @@ func (m *UpdateRoleRequest) Reset() { *m = UpdateRoleRequest{} } func (m *UpdateRoleRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRoleRequest) ProtoMessage() {} func (*UpdateRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{23} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{23} } func (m *UpdateRoleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRoleRequest.Unmarshal(m, b) @@ -1791,7 +1791,7 @@ func (m *DeleteRoleRequest) Reset() { *m = DeleteRoleRequest{} } func (m *DeleteRoleRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRoleRequest) ProtoMessage() {} func (*DeleteRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{24} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{24} } func (m *DeleteRoleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRoleRequest.Unmarshal(m, b) @@ -1842,7 +1842,7 @@ func (m *UndeleteRoleRequest) Reset() { *m = UndeleteRoleRequest{} } func (m *UndeleteRoleRequest) String() string { return proto.CompactTextString(m) } func (*UndeleteRoleRequest) ProtoMessage() {} func (*UndeleteRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{25} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{25} } func (m *UndeleteRoleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UndeleteRoleRequest.Unmarshal(m, b) @@ -1899,7 +1899,7 @@ func (m *Permission) Reset() { *m = Permission{} } func (m *Permission) String() string { return proto.CompactTextString(m) } func (*Permission) ProtoMessage() {} func (*Permission) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{26} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{26} } func (m *Permission) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Permission.Unmarshal(m, b) @@ -1984,7 +1984,7 @@ func (m *QueryTestablePermissionsRequest) Reset() { *m = QueryTestablePe func (m *QueryTestablePermissionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryTestablePermissionsRequest) ProtoMessage() {} func (*QueryTestablePermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{27} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{27} } func (m *QueryTestablePermissionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryTestablePermissionsRequest.Unmarshal(m, b) @@ -2041,7 +2041,7 @@ func (m *QueryTestablePermissionsResponse) Reset() { *m = QueryTestableP func (m *QueryTestablePermissionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryTestablePermissionsResponse) ProtoMessage() {} func (*QueryTestablePermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_dbcc189a3ea5e116, []int{28} + return fileDescriptor_iam_0b2e61fc3ef32ffa, []int{28} } func (m *QueryTestablePermissionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryTestablePermissionsResponse.Unmarshal(m, b) @@ -2970,9 +2970,9 @@ var _IAM_serviceDesc = grpc.ServiceDesc{ Metadata: "google/iam/admin/v1/iam.proto", } -func init() { proto.RegisterFile("google/iam/admin/v1/iam.proto", fileDescriptor_iam_dbcc189a3ea5e116) } +func init() { proto.RegisterFile("google/iam/admin/v1/iam.proto", fileDescriptor_iam_0b2e61fc3ef32ffa) } -var fileDescriptor_iam_dbcc189a3ea5e116 = []byte{ +var fileDescriptor_iam_0b2e61fc3ef32ffa = []byte{ // 2430 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0x4f, 0x73, 0xdb, 0xc6, 0x15, 0x37, 0x28, 0xea, 0x0f, 0x9f, 0x24, 0x0a, 0x5a, 0xc9, 0x16, 0x4b, 0x59, 0xb6, 0xb2, 0xb5, diff --git a/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/common.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/common.pb.go new file mode 100644 index 000000000..cc5b9d48d --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/common.pb.go @@ -0,0 +1,716 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/iam/credentials/v1/common.proto + +package credentials // import "google.golang.org/genproto/googleapis/iam/credentials/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import duration "github.com/golang/protobuf/ptypes/duration" +import timestamp "github.com/golang/protobuf/ptypes/timestamp" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +type GenerateAccessTokenRequest struct { + // The resource name of the service account for which the credentials + // are requested, in the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The sequence of service accounts in a delegation chain. Each service + // account must be granted the `roles/iam.serviceAccountTokenCreator` role + // on its next service account in the chain. The last service account in the + // chain must be granted the `roles/iam.serviceAccountTokenCreator` role + // on the service account that is specified in the `name` field of the + // request. + // + // The delegates must have the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + Delegates []string `protobuf:"bytes,2,rep,name=delegates,proto3" json:"delegates,omitempty"` + // Code to identify the scopes to be included in the OAuth 2.0 access token. + // See https://developers.google.com/identity/protocols/googlescopes for more + // information. + // At least one value required. + Scope []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"` + // The desired lifetime duration of the access token in seconds. + // Must be set to a value less than or equal to 3600 (1 hour). If a value is + // not specified, the token's lifetime will be set to a default value of one + // hour. + Lifetime *duration.Duration `protobuf:"bytes,7,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateAccessTokenRequest) Reset() { *m = GenerateAccessTokenRequest{} } +func (m *GenerateAccessTokenRequest) String() string { return proto.CompactTextString(m) } +func (*GenerateAccessTokenRequest) ProtoMessage() {} +func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{0} +} +func (m *GenerateAccessTokenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateAccessTokenRequest.Unmarshal(m, b) +} +func (m *GenerateAccessTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateAccessTokenRequest.Marshal(b, m, deterministic) +} +func (dst *GenerateAccessTokenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateAccessTokenRequest.Merge(dst, src) +} +func (m *GenerateAccessTokenRequest) XXX_Size() int { + return xxx_messageInfo_GenerateAccessTokenRequest.Size(m) +} +func (m *GenerateAccessTokenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateAccessTokenRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateAccessTokenRequest proto.InternalMessageInfo + +func (m *GenerateAccessTokenRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *GenerateAccessTokenRequest) GetDelegates() []string { + if m != nil { + return m.Delegates + } + return nil +} + +func (m *GenerateAccessTokenRequest) GetScope() []string { + if m != nil { + return m.Scope + } + return nil +} + +func (m *GenerateAccessTokenRequest) GetLifetime() *duration.Duration { + if m != nil { + return m.Lifetime + } + return nil +} + +type GenerateAccessTokenResponse struct { + // The OAuth 2.0 access token. + AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` + // Token expiration time. + // The expiration time is always set. + ExpireTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateAccessTokenResponse) Reset() { *m = GenerateAccessTokenResponse{} } +func (m *GenerateAccessTokenResponse) String() string { return proto.CompactTextString(m) } +func (*GenerateAccessTokenResponse) ProtoMessage() {} +func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{1} +} +func (m *GenerateAccessTokenResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateAccessTokenResponse.Unmarshal(m, b) +} +func (m *GenerateAccessTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateAccessTokenResponse.Marshal(b, m, deterministic) +} +func (dst *GenerateAccessTokenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateAccessTokenResponse.Merge(dst, src) +} +func (m *GenerateAccessTokenResponse) XXX_Size() int { + return xxx_messageInfo_GenerateAccessTokenResponse.Size(m) +} +func (m *GenerateAccessTokenResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateAccessTokenResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateAccessTokenResponse proto.InternalMessageInfo + +func (m *GenerateAccessTokenResponse) GetAccessToken() string { + if m != nil { + return m.AccessToken + } + return "" +} + +func (m *GenerateAccessTokenResponse) GetExpireTime() *timestamp.Timestamp { + if m != nil { + return m.ExpireTime + } + return nil +} + +type SignBlobRequest struct { + // The resource name of the service account for which the credentials + // are requested, in the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The sequence of service accounts in a delegation chain. Each service + // account must be granted the `roles/iam.serviceAccountTokenCreator` role + // on its next service account in the chain. The last service account in the + // chain must be granted the `roles/iam.serviceAccountTokenCreator` role + // on the service account that is specified in the `name` field of the + // request. + // + // The delegates must have the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + Delegates []string `protobuf:"bytes,3,rep,name=delegates,proto3" json:"delegates,omitempty"` + // The bytes to sign. + Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignBlobRequest) Reset() { *m = SignBlobRequest{} } +func (m *SignBlobRequest) String() string { return proto.CompactTextString(m) } +func (*SignBlobRequest) ProtoMessage() {} +func (*SignBlobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{2} +} +func (m *SignBlobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignBlobRequest.Unmarshal(m, b) +} +func (m *SignBlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignBlobRequest.Marshal(b, m, deterministic) +} +func (dst *SignBlobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignBlobRequest.Merge(dst, src) +} +func (m *SignBlobRequest) XXX_Size() int { + return xxx_messageInfo_SignBlobRequest.Size(m) +} +func (m *SignBlobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SignBlobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SignBlobRequest proto.InternalMessageInfo + +func (m *SignBlobRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *SignBlobRequest) GetDelegates() []string { + if m != nil { + return m.Delegates + } + return nil +} + +func (m *SignBlobRequest) GetPayload() []byte { + if m != nil { + return m.Payload + } + return nil +} + +type SignBlobResponse struct { + // The ID of the key used to sign the blob. + KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + // The signed blob. + SignedBlob []byte `protobuf:"bytes,4,opt,name=signed_blob,json=signedBlob,proto3" json:"signed_blob,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignBlobResponse) Reset() { *m = SignBlobResponse{} } +func (m *SignBlobResponse) String() string { return proto.CompactTextString(m) } +func (*SignBlobResponse) ProtoMessage() {} +func (*SignBlobResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{3} +} +func (m *SignBlobResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignBlobResponse.Unmarshal(m, b) +} +func (m *SignBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignBlobResponse.Marshal(b, m, deterministic) +} +func (dst *SignBlobResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignBlobResponse.Merge(dst, src) +} +func (m *SignBlobResponse) XXX_Size() int { + return xxx_messageInfo_SignBlobResponse.Size(m) +} +func (m *SignBlobResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SignBlobResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SignBlobResponse proto.InternalMessageInfo + +func (m *SignBlobResponse) GetKeyId() string { + if m != nil { + return m.KeyId + } + return "" +} + +func (m *SignBlobResponse) GetSignedBlob() []byte { + if m != nil { + return m.SignedBlob + } + return nil +} + +type SignJwtRequest struct { + // The resource name of the service account for which the credentials + // are requested, in the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The sequence of service accounts in a delegation chain. Each service + // account must be granted the `roles/iam.serviceAccountTokenCreator` role + // on its next service account in the chain. The last service account in the + // chain must be granted the `roles/iam.serviceAccountTokenCreator` role + // on the service account that is specified in the `name` field of the + // request. + // + // The delegates must have the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + Delegates []string `protobuf:"bytes,3,rep,name=delegates,proto3" json:"delegates,omitempty"` + // The JWT payload to sign: a JSON object that contains a JWT Claims Set. + Payload string `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignJwtRequest) Reset() { *m = SignJwtRequest{} } +func (m *SignJwtRequest) String() string { return proto.CompactTextString(m) } +func (*SignJwtRequest) ProtoMessage() {} +func (*SignJwtRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{4} +} +func (m *SignJwtRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignJwtRequest.Unmarshal(m, b) +} +func (m *SignJwtRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignJwtRequest.Marshal(b, m, deterministic) +} +func (dst *SignJwtRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignJwtRequest.Merge(dst, src) +} +func (m *SignJwtRequest) XXX_Size() int { + return xxx_messageInfo_SignJwtRequest.Size(m) +} +func (m *SignJwtRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SignJwtRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SignJwtRequest proto.InternalMessageInfo + +func (m *SignJwtRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *SignJwtRequest) GetDelegates() []string { + if m != nil { + return m.Delegates + } + return nil +} + +func (m *SignJwtRequest) GetPayload() string { + if m != nil { + return m.Payload + } + return "" +} + +type SignJwtResponse struct { + // The ID of the key used to sign the JWT. + KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + // The signed JWT. + SignedJwt string `protobuf:"bytes,2,opt,name=signed_jwt,json=signedJwt,proto3" json:"signed_jwt,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignJwtResponse) Reset() { *m = SignJwtResponse{} } +func (m *SignJwtResponse) String() string { return proto.CompactTextString(m) } +func (*SignJwtResponse) ProtoMessage() {} +func (*SignJwtResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{5} +} +func (m *SignJwtResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignJwtResponse.Unmarshal(m, b) +} +func (m *SignJwtResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignJwtResponse.Marshal(b, m, deterministic) +} +func (dst *SignJwtResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignJwtResponse.Merge(dst, src) +} +func (m *SignJwtResponse) XXX_Size() int { + return xxx_messageInfo_SignJwtResponse.Size(m) +} +func (m *SignJwtResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SignJwtResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SignJwtResponse proto.InternalMessageInfo + +func (m *SignJwtResponse) GetKeyId() string { + if m != nil { + return m.KeyId + } + return "" +} + +func (m *SignJwtResponse) GetSignedJwt() string { + if m != nil { + return m.SignedJwt + } + return "" +} + +type GenerateIdTokenRequest struct { + // The resource name of the service account for which the credentials + // are requested, in the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The sequence of service accounts in a delegation chain. Each service + // account must be granted the `roles/iam.serviceAccountTokenCreator` role + // on its next service account in the chain. The last service account in the + // chain must be granted the `roles/iam.serviceAccountTokenCreator` role + // on the service account that is specified in the `name` field of the + // request. + // + // The delegates must have the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + Delegates []string `protobuf:"bytes,2,rep,name=delegates,proto3" json:"delegates,omitempty"` + // The audience for the token, such as the API or account that this token + // grants access to. + Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"` + // Include the service account email in the token. If set to `true`, the + // token will contain `email` and `email_verified` claims. + IncludeEmail bool `protobuf:"varint,4,opt,name=include_email,json=includeEmail,proto3" json:"include_email,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateIdTokenRequest) Reset() { *m = GenerateIdTokenRequest{} } +func (m *GenerateIdTokenRequest) String() string { return proto.CompactTextString(m) } +func (*GenerateIdTokenRequest) ProtoMessage() {} +func (*GenerateIdTokenRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{6} +} +func (m *GenerateIdTokenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateIdTokenRequest.Unmarshal(m, b) +} +func (m *GenerateIdTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateIdTokenRequest.Marshal(b, m, deterministic) +} +func (dst *GenerateIdTokenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateIdTokenRequest.Merge(dst, src) +} +func (m *GenerateIdTokenRequest) XXX_Size() int { + return xxx_messageInfo_GenerateIdTokenRequest.Size(m) +} +func (m *GenerateIdTokenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateIdTokenRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateIdTokenRequest proto.InternalMessageInfo + +func (m *GenerateIdTokenRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *GenerateIdTokenRequest) GetDelegates() []string { + if m != nil { + return m.Delegates + } + return nil +} + +func (m *GenerateIdTokenRequest) GetAudience() string { + if m != nil { + return m.Audience + } + return "" +} + +func (m *GenerateIdTokenRequest) GetIncludeEmail() bool { + if m != nil { + return m.IncludeEmail + } + return false +} + +type GenerateIdTokenResponse struct { + // The OpenId Connect ID token. + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateIdTokenResponse) Reset() { *m = GenerateIdTokenResponse{} } +func (m *GenerateIdTokenResponse) String() string { return proto.CompactTextString(m) } +func (*GenerateIdTokenResponse) ProtoMessage() {} +func (*GenerateIdTokenResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{7} +} +func (m *GenerateIdTokenResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateIdTokenResponse.Unmarshal(m, b) +} +func (m *GenerateIdTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateIdTokenResponse.Marshal(b, m, deterministic) +} +func (dst *GenerateIdTokenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateIdTokenResponse.Merge(dst, src) +} +func (m *GenerateIdTokenResponse) XXX_Size() int { + return xxx_messageInfo_GenerateIdTokenResponse.Size(m) +} +func (m *GenerateIdTokenResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateIdTokenResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateIdTokenResponse proto.InternalMessageInfo + +func (m *GenerateIdTokenResponse) GetToken() string { + if m != nil { + return m.Token + } + return "" +} + +type GenerateIdentityBindingAccessTokenRequest struct { + // The resource name of the service account for which the credentials + // are requested, in the following format: + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Code to identify the scopes to be included in the OAuth 2.0 access token. + // See https://developers.google.com/identity/protocols/googlescopes for more + // information. + // At least one value required. + Scope []string `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"` + // Required. Input token. + // Must be in JWT format according to + // RFC7523 (https://tools.ietf.org/html/rfc7523) + // and must have 'kid' field in the header. + // Supported signing algorithms: RS256 (RS512, ES256, ES512 coming soon). + // Mandatory payload fields (along the lines of RFC 7523, section 3): + // - iss: issuer of the token. Must provide a discovery document at + // $iss/.well-known/openid-configuration . The document needs to be + // formatted according to section 4.2 of the OpenID Connect Discovery + // 1.0 specification. + // - iat: Issue time in seconds since epoch. Must be in the past. + // - exp: Expiration time in seconds since epoch. Must be less than 48 hours + // after iat. We recommend to create tokens that last shorter than 6 + // hours to improve security unless business reasons mandate longer + // expiration times. Shorter token lifetimes are generally more secure + // since tokens that have been exfiltrated by attackers can be used for + // a shorter time. you can configure the maximum lifetime of the + // incoming token in the configuration of the mapper. + // The resulting Google token will expire within an hour or at "exp", + // whichever is earlier. + // - sub: JWT subject, identity asserted in the JWT. + // - aud: Configured in the mapper policy. By default the service account + // email. + // + // Claims from the incoming token can be transferred into the output token + // accoding to the mapper configuration. The outgoing claim size is limited. + // Outgoing claims size must be less than 4kB serialized as JSON without + // whitespace. + // + // Example header: + // { + // "alg": "RS256", + // "kid": "92a4265e14ab04d4d228a48d10d4ca31610936f8" + // } + // Example payload: + // { + // "iss": "https://accounts.google.com", + // "iat": 1517963104, + // "exp": 1517966704, + // "aud": "https://iamcredentials.googleapis.com/", + // "sub": "113475438248934895348", + // "my_claims": { + // "additional_claim": "value" + // } + // } + Jwt string `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateIdentityBindingAccessTokenRequest) Reset() { + *m = GenerateIdentityBindingAccessTokenRequest{} +} +func (m *GenerateIdentityBindingAccessTokenRequest) String() string { return proto.CompactTextString(m) } +func (*GenerateIdentityBindingAccessTokenRequest) ProtoMessage() {} +func (*GenerateIdentityBindingAccessTokenRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{8} +} +func (m *GenerateIdentityBindingAccessTokenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateIdentityBindingAccessTokenRequest.Unmarshal(m, b) +} +func (m *GenerateIdentityBindingAccessTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateIdentityBindingAccessTokenRequest.Marshal(b, m, deterministic) +} +func (dst *GenerateIdentityBindingAccessTokenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateIdentityBindingAccessTokenRequest.Merge(dst, src) +} +func (m *GenerateIdentityBindingAccessTokenRequest) XXX_Size() int { + return xxx_messageInfo_GenerateIdentityBindingAccessTokenRequest.Size(m) +} +func (m *GenerateIdentityBindingAccessTokenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateIdentityBindingAccessTokenRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateIdentityBindingAccessTokenRequest proto.InternalMessageInfo + +func (m *GenerateIdentityBindingAccessTokenRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *GenerateIdentityBindingAccessTokenRequest) GetScope() []string { + if m != nil { + return m.Scope + } + return nil +} + +func (m *GenerateIdentityBindingAccessTokenRequest) GetJwt() string { + if m != nil { + return m.Jwt + } + return "" +} + +type GenerateIdentityBindingAccessTokenResponse struct { + // The OAuth 2.0 access token. + AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` + // Token expiration time. + // The expiration time is always set. + ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GenerateIdentityBindingAccessTokenResponse) Reset() { + *m = GenerateIdentityBindingAccessTokenResponse{} +} +func (m *GenerateIdentityBindingAccessTokenResponse) String() string { + return proto.CompactTextString(m) +} +func (*GenerateIdentityBindingAccessTokenResponse) ProtoMessage() {} +func (*GenerateIdentityBindingAccessTokenResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_common_8cf8a86b4991d464, []int{9} +} +func (m *GenerateIdentityBindingAccessTokenResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GenerateIdentityBindingAccessTokenResponse.Unmarshal(m, b) +} +func (m *GenerateIdentityBindingAccessTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GenerateIdentityBindingAccessTokenResponse.Marshal(b, m, deterministic) +} +func (dst *GenerateIdentityBindingAccessTokenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenerateIdentityBindingAccessTokenResponse.Merge(dst, src) +} +func (m *GenerateIdentityBindingAccessTokenResponse) XXX_Size() int { + return xxx_messageInfo_GenerateIdentityBindingAccessTokenResponse.Size(m) +} +func (m *GenerateIdentityBindingAccessTokenResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GenerateIdentityBindingAccessTokenResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GenerateIdentityBindingAccessTokenResponse proto.InternalMessageInfo + +func (m *GenerateIdentityBindingAccessTokenResponse) GetAccessToken() string { + if m != nil { + return m.AccessToken + } + return "" +} + +func (m *GenerateIdentityBindingAccessTokenResponse) GetExpireTime() *timestamp.Timestamp { + if m != nil { + return m.ExpireTime + } + return nil +} + +func init() { + proto.RegisterType((*GenerateAccessTokenRequest)(nil), "google.iam.credentials.v1.GenerateAccessTokenRequest") + proto.RegisterType((*GenerateAccessTokenResponse)(nil), "google.iam.credentials.v1.GenerateAccessTokenResponse") + proto.RegisterType((*SignBlobRequest)(nil), "google.iam.credentials.v1.SignBlobRequest") + proto.RegisterType((*SignBlobResponse)(nil), "google.iam.credentials.v1.SignBlobResponse") + proto.RegisterType((*SignJwtRequest)(nil), "google.iam.credentials.v1.SignJwtRequest") + proto.RegisterType((*SignJwtResponse)(nil), "google.iam.credentials.v1.SignJwtResponse") + proto.RegisterType((*GenerateIdTokenRequest)(nil), "google.iam.credentials.v1.GenerateIdTokenRequest") + proto.RegisterType((*GenerateIdTokenResponse)(nil), "google.iam.credentials.v1.GenerateIdTokenResponse") + proto.RegisterType((*GenerateIdentityBindingAccessTokenRequest)(nil), "google.iam.credentials.v1.GenerateIdentityBindingAccessTokenRequest") + proto.RegisterType((*GenerateIdentityBindingAccessTokenResponse)(nil), "google.iam.credentials.v1.GenerateIdentityBindingAccessTokenResponse") +} + +func init() { + proto.RegisterFile("google/iam/credentials/v1/common.proto", fileDescriptor_common_8cf8a86b4991d464) +} + +var fileDescriptor_common_8cf8a86b4991d464 = []byte{ + // 560 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4d, 0x6f, 0xd3, 0x4c, + 0x10, 0x96, 0xf3, 0xd1, 0xc6, 0x93, 0xbc, 0x2f, 0x95, 0x55, 0xc0, 0x09, 0x94, 0x06, 0x23, 0xa1, + 0xc0, 0xc1, 0x56, 0x41, 0x9c, 0x7a, 0x6a, 0x5a, 0x54, 0x25, 0x12, 0x52, 0x65, 0x7a, 0x42, 0x20, + 0x6b, 0x63, 0x4f, 0xad, 0x25, 0xf6, 0xae, 0xf1, 0x6e, 0x1a, 0x72, 0xe0, 0xc8, 0x09, 0xfe, 0x01, + 0x7f, 0x94, 0x23, 0xf2, 0xae, 0x13, 0x47, 0x6d, 0x41, 0xe1, 0xe3, 0xb6, 0xf3, 0xcc, 0xc7, 0xf3, + 0xcc, 0xec, 0xce, 0xc2, 0xe3, 0x98, 0xf3, 0x38, 0x41, 0x8f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0x77, 0x8d, 0xfb, 0x7c, 0x39, 0x16, 0x1f, 0x74, 0x78, 0x01, 0x38, 0xef, 0xe0, 0xd6, 0x6b, 0x1a, + 0xb3, 0x61, 0xc2, 0x27, 0x1b, 0x0f, 0xa4, 0x7e, 0x75, 0x20, 0x36, 0x6c, 0x67, 0x64, 0x91, 0x70, + 0x12, 0xd9, 0xcd, 0xbe, 0x31, 0xe8, 0xf8, 0x4b, 0xd3, 0x19, 0xc3, 0x4e, 0x55, 0xbe, 0x6c, 0xe9, + 0x36, 0x6c, 0x4d, 0x71, 0x11, 0xd0, 0xa8, 0x64, 0x68, 0x4e, 0x71, 0x31, 0x8a, 0xac, 0x7d, 0x68, + 0x0b, 0x1a, 0x33, 0x8c, 0x82, 0x49, 0xc2, 0x27, 0x76, 0x43, 0x15, 0x02, 0x0d, 0x15, 0xf9, 0xce, + 0x5b, 0xf8, 0xbf, 0xa8, 0x35, 0x9e, 0xcb, 0x7f, 0xa6, 0xd4, 0xac, 0x94, 0x9e, 0xea, 0x41, 0xa8, + 0xea, 0xbf, 0x16, 0xba, 0x07, 0xa5, 0xaa, 0xe0, 0xfd, 0x5c, 0xda, 0x35, 0xe5, 0x32, 0x35, 0x32, + 0x9e, 0x4b, 0xe7, 0x8b, 0x01, 0x77, 0x96, 0x37, 0x3a, 0x8a, 0xfe, 0xf2, 0xa9, 0xf5, 0xa0, 0x45, + 0x66, 0x11, 0x45, 0x16, 0xea, 0x8b, 0x35, 0xfd, 0x95, 0x6d, 0x3d, 0x82, 0xff, 0x28, 0x0b, 0x93, + 0x59, 0x84, 0x01, 0xa6, 0x84, 0x26, 0x6a, 0x64, 0x2d, 0xbf, 0x53, 0x82, 0x2f, 0x0b, 0xcc, 0xf1, + 0xe0, 0xee, 0x35, 0x31, 0x65, 0x7b, 0xbb, 0xd0, 0x5c, 0x7f, 0x53, 0xda, 0x70, 0x62, 0x78, 0x52, + 0x25, 0x14, 0x6b, 0x28, 0x17, 0x43, 0xca, 0x22, 0xca, 0xe2, 0x0d, 0x77, 0x67, 0xb5, 0x1d, 0xb5, + 0xf5, 0xed, 0xd8, 0x81, 0x7a, 0x31, 0x2d, 0xdd, 0x43, 0x71, 0x74, 0xbe, 0x1a, 0xf0, 0x74, 0x13, + 0xa6, 0x3f, 0x5e, 0x84, 0xda, 0xef, 0x2c, 0xc2, 0xf0, 0xb3, 0x01, 0x7b, 0x21, 0x4f, 0xdd, 0x9f, + 0x7e, 0x44, 0xc3, 0xee, 0xe8, 0xe8, 0xd5, 0x71, 0x05, 0x1d, 0xab, 0xff, 0xeb, 0xac, 0xa8, 0x7a, + 0x66, 0xbc, 0x39, 0x29, 0xf3, 0x62, 0x9e, 0x10, 0x16, 0xbb, 0x3c, 0x8f, 0xbd, 0x18, 0x99, 0xe2, + 0xf4, 0xb4, 0x8b, 0x64, 0x54, 0xdc, 0xf0, 0x0f, 0x1e, 0xae, 0x99, 0xdf, 0x0d, 0x63, 0xb2, 0xa5, + 0x72, 0x9e, 0xff, 0x08, 0x00, 0x00, 0xff, 0xff, 0x19, 0x24, 0xb3, 0xc7, 0x3a, 0x05, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/iamcredentials.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/iamcredentials.pb.go new file mode 100644 index 000000000..3afacbdf3 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/iamcredentials.pb.go @@ -0,0 +1,276 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/iam/credentials/v1/iamcredentials.proto + +package credentials // import "google.golang.org/genproto/googleapis/iam/credentials/v1" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +import ( + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// IAMCredentialsClient is the client API for IAMCredentials service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type IAMCredentialsClient interface { + // Generates an OAuth 2.0 access token for a service account. + GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error) + // Generates an OpenID Connect ID token for a service account. + GenerateIdToken(ctx context.Context, in *GenerateIdTokenRequest, opts ...grpc.CallOption) (*GenerateIdTokenResponse, error) + // Signs a blob using a service account's system-managed private key. + SignBlob(ctx context.Context, in *SignBlobRequest, opts ...grpc.CallOption) (*SignBlobResponse, error) + // Signs a JWT using a service account's system-managed private key. + SignJwt(ctx context.Context, in *SignJwtRequest, opts ...grpc.CallOption) (*SignJwtResponse, error) + // Exchange a JWT signed by third party identity provider to an OAuth 2.0 + // access token + GenerateIdentityBindingAccessToken(ctx context.Context, in *GenerateIdentityBindingAccessTokenRequest, opts ...grpc.CallOption) (*GenerateIdentityBindingAccessTokenResponse, error) +} + +type iAMCredentialsClient struct { + cc *grpc.ClientConn +} + +func NewIAMCredentialsClient(cc *grpc.ClientConn) IAMCredentialsClient { + return &iAMCredentialsClient{cc} +} + +func (c *iAMCredentialsClient) GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error) { + out := new(GenerateAccessTokenResponse) + err := c.cc.Invoke(ctx, "/google.iam.credentials.v1.IAMCredentials/GenerateAccessToken", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *iAMCredentialsClient) GenerateIdToken(ctx context.Context, in *GenerateIdTokenRequest, opts ...grpc.CallOption) (*GenerateIdTokenResponse, error) { + out := new(GenerateIdTokenResponse) + err := c.cc.Invoke(ctx, "/google.iam.credentials.v1.IAMCredentials/GenerateIdToken", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *iAMCredentialsClient) SignBlob(ctx context.Context, in *SignBlobRequest, opts ...grpc.CallOption) (*SignBlobResponse, error) { + out := new(SignBlobResponse) + err := c.cc.Invoke(ctx, "/google.iam.credentials.v1.IAMCredentials/SignBlob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *iAMCredentialsClient) SignJwt(ctx context.Context, in *SignJwtRequest, opts ...grpc.CallOption) (*SignJwtResponse, error) { + out := new(SignJwtResponse) + err := c.cc.Invoke(ctx, "/google.iam.credentials.v1.IAMCredentials/SignJwt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *iAMCredentialsClient) GenerateIdentityBindingAccessToken(ctx context.Context, in *GenerateIdentityBindingAccessTokenRequest, opts ...grpc.CallOption) (*GenerateIdentityBindingAccessTokenResponse, error) { + out := new(GenerateIdentityBindingAccessTokenResponse) + err := c.cc.Invoke(ctx, "/google.iam.credentials.v1.IAMCredentials/GenerateIdentityBindingAccessToken", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// IAMCredentialsServer is the server API for IAMCredentials service. +type IAMCredentialsServer interface { + // Generates an OAuth 2.0 access token for a service account. + GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error) + // Generates an OpenID Connect ID token for a service account. + GenerateIdToken(context.Context, *GenerateIdTokenRequest) (*GenerateIdTokenResponse, error) + // Signs a blob using a service account's system-managed private key. + SignBlob(context.Context, *SignBlobRequest) (*SignBlobResponse, error) + // Signs a JWT using a service account's system-managed private key. + SignJwt(context.Context, *SignJwtRequest) (*SignJwtResponse, error) + // Exchange a JWT signed by third party identity provider to an OAuth 2.0 + // access token + GenerateIdentityBindingAccessToken(context.Context, *GenerateIdentityBindingAccessTokenRequest) (*GenerateIdentityBindingAccessTokenResponse, error) +} + +func RegisterIAMCredentialsServer(s *grpc.Server, srv IAMCredentialsServer) { + s.RegisterService(&_IAMCredentials_serviceDesc, srv) +} + +func _IAMCredentials_GenerateAccessToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateAccessTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IAMCredentialsServer).GenerateAccessToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.iam.credentials.v1.IAMCredentials/GenerateAccessToken", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IAMCredentialsServer).GenerateAccessToken(ctx, req.(*GenerateAccessTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IAMCredentials_GenerateIdToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateIdTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IAMCredentialsServer).GenerateIdToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.iam.credentials.v1.IAMCredentials/GenerateIdToken", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IAMCredentialsServer).GenerateIdToken(ctx, req.(*GenerateIdTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IAMCredentials_SignBlob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SignBlobRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IAMCredentialsServer).SignBlob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.iam.credentials.v1.IAMCredentials/SignBlob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IAMCredentialsServer).SignBlob(ctx, req.(*SignBlobRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IAMCredentials_SignJwt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SignJwtRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IAMCredentialsServer).SignJwt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.iam.credentials.v1.IAMCredentials/SignJwt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IAMCredentialsServer).SignJwt(ctx, req.(*SignJwtRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _IAMCredentials_GenerateIdentityBindingAccessToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateIdentityBindingAccessTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IAMCredentialsServer).GenerateIdentityBindingAccessToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.iam.credentials.v1.IAMCredentials/GenerateIdentityBindingAccessToken", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IAMCredentialsServer).GenerateIdentityBindingAccessToken(ctx, req.(*GenerateIdentityBindingAccessTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _IAMCredentials_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.iam.credentials.v1.IAMCredentials", + HandlerType: (*IAMCredentialsServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GenerateAccessToken", + Handler: _IAMCredentials_GenerateAccessToken_Handler, + }, + { + MethodName: "GenerateIdToken", + Handler: _IAMCredentials_GenerateIdToken_Handler, + }, + { + MethodName: "SignBlob", + Handler: _IAMCredentials_SignBlob_Handler, + }, + { + MethodName: "SignJwt", + Handler: _IAMCredentials_SignJwt_Handler, + }, + { + MethodName: "GenerateIdentityBindingAccessToken", + Handler: _IAMCredentials_GenerateIdentityBindingAccessToken_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/iam/credentials/v1/iamcredentials.proto", +} + +func init() { + proto.RegisterFile("google/iam/credentials/v1/iamcredentials.proto", fileDescriptor_iamcredentials_c860f4c52834cce8) +} + +var fileDescriptor_iamcredentials_c860f4c52834cce8 = []byte{ + // 421 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x4b, 0xe3, 0x40, + 0x18, 0xc6, 0x99, 0x1e, 0xb6, 0x4b, 0x0e, 0xbb, 0x90, 0x3d, 0x6d, 0xd9, 0x53, 0x0e, 0x0b, 0x9b, + 0x85, 0x8c, 0xad, 0x56, 0x21, 0x55, 0xb0, 0xb1, 0x2a, 0x0d, 0x88, 0xe0, 0x9f, 0x8b, 0xb7, 0x69, + 0x3a, 0x0c, 0xa3, 0xc9, 0x4c, 0xcc, 0x4c, 0x5b, 0x44, 0xbc, 0x78, 0xf2, 0xee, 0xd5, 0x83, 0x1f, + 0xc4, 0x8f, 0xe0, 0xcd, 0xaf, 0xe0, 0xcd, 0x2f, 0xe0, 0x51, 0x26, 0x99, 0xd0, 0x80, 0x8d, 0x26, + 0x78, 0xcc, 0x9b, 0xe7, 0x79, 0xde, 0xdf, 0xc3, 0x0c, 0x63, 0x38, 0x84, 0x73, 0x12, 0x62, 0x48, + 0x51, 0x04, 0x83, 0x04, 0x8f, 0x31, 0x93, 0x14, 0x85, 0x02, 0x4e, 0xdb, 0x6a, 0x54, 0x98, 0x38, + 0x71, 0xc2, 0x25, 0x37, 0x7f, 0x67, 0x7a, 0x87, 0xa2, 0xc8, 0x29, 0xfe, 0x9d, 0xb6, 0x5b, 0x7f, + 0x74, 0x14, 0x8a, 0x29, 0x44,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0xe6, 0x80, 0x76, 0x15, 0xa9, + 0xe6, 0x73, 0x53, 0xbe, 0x15, 0x0b, 0xd6, 0xe1, 0xf3, 0x67, 0x52, 0xe1, 0xdd, 0x34, 0x0c, 0x6b, + 0x7e, 0x42, 0x6a, 0x89, 0xbc, 0xf0, 0x28, 0x1b, 0x53, 0x46, 0x8a, 0xd7, 0x7b, 0x50, 0xe9, 0x80, + 0xcb, 0xec, 0x79, 0xa9, 0xed, 0x2f, 0xa6, 0xe8, 0xbe, 0xc7, 0x69, 0xdf, 0x7d, 0xcb, 0xaf, 0x7f, + 0x73, 0xca, 0xb2, 0x5d, 0x60, 0x7b, 0xc3, 0x93, 0x81, 0xc6, 0x23, 0x3c, 0x44, 0x8c, 0x38, 0x3c, + 0x21, 0x90, 0x60, 0x96, 0xbe, 0x05, 0x30, 0xfb, 0x85, 0x62, 0x2a, 0x16, 0x3c, 0x1b, 0xbd, 0xc2, + 0xe7, 0x2b, 0x00, 0xa3, 0x6f, 0xa9, 0x67, 0xf9, 0x2d, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x1f, 0xfe, + 0xa1, 0xd2, 0x04, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go index 7334ac2de..dfc87966b 100644 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go @@ -44,7 +44,7 @@ func (m *SetIamPolicyRequest) Reset() { *m = SetIamPolicyRequest{} } func (m *SetIamPolicyRequest) String() string { return proto.CompactTextString(m) } func (*SetIamPolicyRequest) ProtoMessage() {} func (*SetIamPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_policy_511a6b0802f7199d, []int{0} + return fileDescriptor_iam_policy_58547b5cf2e9d67a, []int{0} } func (m *SetIamPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetIamPolicyRequest.Unmarshal(m, b) @@ -93,7 +93,7 @@ func (m *GetIamPolicyRequest) Reset() { *m = GetIamPolicyRequest{} } func (m *GetIamPolicyRequest) String() string { return proto.CompactTextString(m) } func (*GetIamPolicyRequest) ProtoMessage() {} func (*GetIamPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_policy_511a6b0802f7199d, []int{1} + return fileDescriptor_iam_policy_58547b5cf2e9d67a, []int{1} } func (m *GetIamPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetIamPolicyRequest.Unmarshal(m, b) @@ -140,7 +140,7 @@ func (m *TestIamPermissionsRequest) Reset() { *m = TestIamPermissionsReq func (m *TestIamPermissionsRequest) String() string { return proto.CompactTextString(m) } func (*TestIamPermissionsRequest) ProtoMessage() {} func (*TestIamPermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_policy_511a6b0802f7199d, []int{2} + return fileDescriptor_iam_policy_58547b5cf2e9d67a, []int{2} } func (m *TestIamPermissionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestIamPermissionsRequest.Unmarshal(m, b) @@ -188,7 +188,7 @@ func (m *TestIamPermissionsResponse) Reset() { *m = TestIamPermissionsRe func (m *TestIamPermissionsResponse) String() string { return proto.CompactTextString(m) } func (*TestIamPermissionsResponse) ProtoMessage() {} func (*TestIamPermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_policy_511a6b0802f7199d, []int{3} + return fileDescriptor_iam_policy_58547b5cf2e9d67a, []int{3} } func (m *TestIamPermissionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TestIamPermissionsResponse.Unmarshal(m, b) @@ -377,10 +377,10 @@ var _IAMPolicy_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/iam/v1/iam_policy.proto", fileDescriptor_iam_policy_511a6b0802f7199d) + proto.RegisterFile("google/iam/v1/iam_policy.proto", fileDescriptor_iam_policy_58547b5cf2e9d67a) } -var fileDescriptor_iam_policy_511a6b0802f7199d = []byte{ +var fileDescriptor_iam_policy_58547b5cf2e9d67a = []byte{ // 411 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0x04, 0x51, 0xf1, 0x05, 0xf9, 0x39, 0x99, diff --git a/vendor/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go index 63b6a775e..afa29fbb3 100644 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go @@ -35,7 +35,7 @@ func (m *AuditData) Reset() { *m = AuditData{} } func (m *AuditData) String() string { return proto.CompactTextString(m) } func (*AuditData) ProtoMessage() {} func (*AuditData) Descriptor() ([]byte, []int) { - return fileDescriptor_audit_data_523ae98100f6a456, []int{0} + return fileDescriptor_audit_data_2e30197e021fa53a, []int{0} } func (m *AuditData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AuditData.Unmarshal(m, b) @@ -67,10 +67,10 @@ func init() { } func init() { - proto.RegisterFile("google/iam/v1/logging/audit_data.proto", fileDescriptor_audit_data_523ae98100f6a456) + proto.RegisterFile("google/iam/v1/logging/audit_data.proto", fileDescriptor_audit_data_2e30197e021fa53a) } -var fileDescriptor_audit_data_523ae98100f6a456 = []byte{ +var fileDescriptor_audit_data_2e30197e021fa53a = []byte{ // 236 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4a, 0x04, 0x31, 0x10, 0x86, 0xd9, 0x2b, 0x04, 0x73, 0x62, 0x71, 0x20, 0x68, 0xb4, 0x10, 0x0b, 0xb1, 0x9a, 0xb0, diff --git a/vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go index a4805ece2..99dd75f26 100644 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go @@ -46,7 +46,7 @@ func (x BindingDelta_Action) String() string { return proto.EnumName(BindingDelta_Action_name, int32(x)) } func (BindingDelta_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_policy_d61b385c3386eaea, []int{3, 0} + return fileDescriptor_policy_6ba2a3dcbcdd909c, []int{3, 0} } // Defines an Identity and Access Management (IAM) policy. It is used to @@ -107,7 +107,7 @@ func (m *Policy) Reset() { *m = Policy{} } func (m *Policy) String() string { return proto.CompactTextString(m) } func (*Policy) ProtoMessage() {} func (*Policy) Descriptor() ([]byte, []int) { - return fileDescriptor_policy_d61b385c3386eaea, []int{0} + return fileDescriptor_policy_6ba2a3dcbcdd909c, []int{0} } func (m *Policy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Policy.Unmarshal(m, b) @@ -187,7 +187,7 @@ func (m *Binding) Reset() { *m = Binding{} } func (m *Binding) String() string { return proto.CompactTextString(m) } func (*Binding) ProtoMessage() {} func (*Binding) Descriptor() ([]byte, []int) { - return fileDescriptor_policy_d61b385c3386eaea, []int{1} + return fileDescriptor_policy_6ba2a3dcbcdd909c, []int{1} } func (m *Binding) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Binding.Unmarshal(m, b) @@ -234,7 +234,7 @@ func (m *PolicyDelta) Reset() { *m = PolicyDelta{} } func (m *PolicyDelta) String() string { return proto.CompactTextString(m) } func (*PolicyDelta) ProtoMessage() {} func (*PolicyDelta) Descriptor() ([]byte, []int) { - return fileDescriptor_policy_d61b385c3386eaea, []int{2} + return fileDescriptor_policy_6ba2a3dcbcdd909c, []int{2} } func (m *PolicyDelta) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PolicyDelta.Unmarshal(m, b) @@ -284,7 +284,7 @@ func (m *BindingDelta) Reset() { *m = BindingDelta{} } func (m *BindingDelta) String() string { return proto.CompactTextString(m) } func (*BindingDelta) ProtoMessage() {} func (*BindingDelta) Descriptor() ([]byte, []int) { - return fileDescriptor_policy_d61b385c3386eaea, []int{3} + return fileDescriptor_policy_6ba2a3dcbcdd909c, []int{3} } func (m *BindingDelta) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BindingDelta.Unmarshal(m, b) @@ -333,9 +333,9 @@ func init() { proto.RegisterEnum("google.iam.v1.BindingDelta_Action", BindingDelta_Action_name, BindingDelta_Action_value) } -func init() { proto.RegisterFile("google/iam/v1/policy.proto", fileDescriptor_policy_d61b385c3386eaea) } +func init() { proto.RegisterFile("google/iam/v1/policy.proto", fileDescriptor_policy_6ba2a3dcbcdd909c) } -var fileDescriptor_policy_d61b385c3386eaea = []byte{ +var fileDescriptor_policy_6ba2a3dcbcdd909c = []byte{ // 403 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0xab, 0x13, 0x31, 0x14, 0x35, 0xed, 0x73, 0x6a, 0xef, 0xfb, 0xa0, 0x46, 0x28, 0xc3, 0xd3, 0x45, 0x99, 0x55, 0x57, diff --git a/vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go b/vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go index 90e81ffd1..1ee91aeac 100644 --- a/vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go @@ -77,7 +77,7 @@ func (m *HttpRequest) Reset() { *m = HttpRequest{} } func (m *HttpRequest) String() string { return proto.CompactTextString(m) } func (*HttpRequest) ProtoMessage() {} func (*HttpRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_http_request_512b09169cdf78ff, []int{0} + return fileDescriptor_http_request_33a66c45032c6856, []int{0} } func (m *HttpRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpRequest.Unmarshal(m, b) @@ -207,10 +207,10 @@ func init() { } func init() { - proto.RegisterFile("google/logging/type/http_request.proto", fileDescriptor_http_request_512b09169cdf78ff) + proto.RegisterFile("google/logging/type/http_request.proto", fileDescriptor_http_request_33a66c45032c6856) } -var fileDescriptor_http_request_512b09169cdf78ff = []byte{ +var fileDescriptor_http_request_33a66c45032c6856 = []byte{ // 511 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5b, 0x6b, 0x14, 0x31, 0x18, 0x86, 0x99, 0x1e, 0xf6, 0x90, 0x3d, 0x58, 0x22, 0x68, 0xba, 0x6a, 0x5d, 0x2b, 0xca, 0x5c, diff --git a/vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go b/vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go index 374f50281..a28f5dbbd 100644 --- a/vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go @@ -85,7 +85,7 @@ func (x LogSeverity) String() string { return proto.EnumName(LogSeverity_name, int32(x)) } func (LogSeverity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_log_severity_6ec6ee905a000c23, []int{0} + return fileDescriptor_log_severity_690c3c95c38315a0, []int{0} } func init() { @@ -93,10 +93,10 @@ func init() { } func init() { - proto.RegisterFile("google/logging/type/log_severity.proto", fileDescriptor_log_severity_6ec6ee905a000c23) + proto.RegisterFile("google/logging/type/log_severity.proto", fileDescriptor_log_severity_690c3c95c38315a0) } -var fileDescriptor_log_severity_6ec6ee905a000c23 = []byte{ +var fileDescriptor_log_severity_690c3c95c38315a0 = []byte{ // 309 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0xcf, 0xc9, 0x4f, 0x4f, 0xcf, 0xcc, 0x4b, 0xd7, 0x2f, 0xa9, 0x2c, 0x00, 0x73, diff --git a/vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go b/vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go index fc989d469..0a5f3e7d9 100644 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go @@ -64,7 +64,7 @@ type LogEntry struct { // Optional. The time the event described by the log entry occurred. // This time is used to compute the log entry's age and to enforce // the logs retention period. If this field is omitted in a new log - // entry, then Stackdriver Logging assigns it the current time. + // entry, then Logging assigns it the current time. // Timestamps have nanosecond accuracy, but trailing zeros in the fractional // seconds might be omitted when the timestamp is displayed. // @@ -75,15 +75,15 @@ type LogEntry struct { // those log entries can still be exported with // [LogSinks](/logging/docs/api/tasks/exporting-logs). Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Output only. The time the log entry was received by Stackdriver Logging. + // Output only. The time the log entry was received by Logging. ReceiveTimestamp *timestamp.Timestamp `protobuf:"bytes,24,opt,name=receive_timestamp,json=receiveTimestamp,proto3" json:"receive_timestamp,omitempty"` // Optional. The severity of the log entry. The default value is // `LogSeverity.DEFAULT`. Severity _type.LogSeverity `protobuf:"varint,10,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"` // Optional. A unique identifier for the log entry. If you provide a value, - // then Stackdriver Logging considers other log entries in the same project, + // then Logging considers other log entries in the same project, // with the same `timestamp`, and with the same `insert_id` to be duplicates - // which can be removed. If omitted in new log entries, then Stackdriver + // which can be removed. If omitted in new log entries, then // Logging assigns its own unique identifier. The `insert_id` is also used // to order log entries that have the same `timestamp` value. InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"` @@ -105,11 +105,18 @@ type LogEntry struct { // to `//tracing.googleapis.com`. Example: // `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` Trace string `protobuf:"bytes,22,opt,name=trace,proto3" json:"trace,omitempty"` - // Optional. The span ID within the trace associated with the log entry. For - // Stackdriver Trace spans, this is the same format that the Stackdriver Trace + // Optional. The span ID within the trace associated with the log entry. + // For Trace spans, this is the same format that the Trace // API v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such // as "000000000000004a". SpanId string `protobuf:"bytes,27,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` + // Optional. The sampling decision of the trace associated with the log entry. + // True means that the trace resource name in the `trace` field was sampled + // for storage in a trace backend. False means that the trace was not sampled + // for storage when this log entry was written, or the sampling decision was + // unknown at the time. A non-sampled `trace` value is still useful as a + // request correlation identifier. The default is False. + TraceSampled bool `protobuf:"varint,30,opt,name=trace_sampled,json=traceSampled,proto3" json:"trace_sampled,omitempty"` // Optional. Source code location information associated with the log entry, // if any. SourceLocation *LogEntrySourceLocation `protobuf:"bytes,23,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` @@ -122,7 +129,7 @@ func (m *LogEntry) Reset() { *m = LogEntry{} } func (m *LogEntry) String() string { return proto.CompactTextString(m) } func (*LogEntry) ProtoMessage() {} func (*LogEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_log_entry_63c24caaf3e31aeb, []int{0} + return fileDescriptor_log_entry_b08f6591d9b77388, []int{0} } func (m *LogEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogEntry.Unmarshal(m, b) @@ -142,6 +149,20 @@ func (m *LogEntry) XXX_DiscardUnknown() { var xxx_messageInfo_LogEntry proto.InternalMessageInfo +func (m *LogEntry) GetLogName() string { + if m != nil { + return m.LogName + } + return "" +} + +func (m *LogEntry) GetResource() *monitoredres.MonitoredResource { + if m != nil { + return m.Resource + } + return nil +} + type isLogEntry_Payload interface { isLogEntry_Payload() } @@ -149,34 +170,24 @@ type isLogEntry_Payload interface { type LogEntry_ProtoPayload struct { ProtoPayload *any.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,proto3,oneof"` } + type LogEntry_TextPayload struct { TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"` } + type LogEntry_JsonPayload struct { JsonPayload *_struct.Struct `protobuf:"bytes,6,opt,name=json_payload,json=jsonPayload,proto3,oneof"` } func (*LogEntry_ProtoPayload) isLogEntry_Payload() {} -func (*LogEntry_TextPayload) isLogEntry_Payload() {} -func (*LogEntry_JsonPayload) isLogEntry_Payload() {} -func (m *LogEntry) GetPayload() isLogEntry_Payload { - if m != nil { - return m.Payload - } - return nil -} +func (*LogEntry_TextPayload) isLogEntry_Payload() {} -func (m *LogEntry) GetLogName() string { - if m != nil { - return m.LogName - } - return "" -} +func (*LogEntry_JsonPayload) isLogEntry_Payload() {} -func (m *LogEntry) GetResource() *monitoredres.MonitoredResource { +func (m *LogEntry) GetPayload() isLogEntry_Payload { if m != nil { - return m.Resource + return m.Payload } return nil } @@ -272,6 +283,13 @@ func (m *LogEntry) GetSpanId() string { return "" } +func (m *LogEntry) GetTraceSampled() bool { + if m != nil { + return m.TraceSampled + } + return false +} + func (m *LogEntry) GetSourceLocation() *LogEntrySourceLocation { if m != nil { return m.SourceLocation @@ -391,7 +409,7 @@ func (m *LogEntryOperation) Reset() { *m = LogEntryOperation{} } func (m *LogEntryOperation) String() string { return proto.CompactTextString(m) } func (*LogEntryOperation) ProtoMessage() {} func (*LogEntryOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_log_entry_63c24caaf3e31aeb, []int{1} + return fileDescriptor_log_entry_b08f6591d9b77388, []int{1} } func (m *LogEntryOperation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogEntryOperation.Unmarshal(m, b) @@ -464,7 +482,7 @@ func (m *LogEntrySourceLocation) Reset() { *m = LogEntrySourceLocation{} func (m *LogEntrySourceLocation) String() string { return proto.CompactTextString(m) } func (*LogEntrySourceLocation) ProtoMessage() {} func (*LogEntrySourceLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_log_entry_63c24caaf3e31aeb, []int{2} + return fileDescriptor_log_entry_b08f6591d9b77388, []int{2} } func (m *LogEntrySourceLocation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogEntrySourceLocation.Unmarshal(m, b) @@ -513,56 +531,58 @@ func init() { } func init() { - proto.RegisterFile("google/logging/v2/log_entry.proto", fileDescriptor_log_entry_63c24caaf3e31aeb) -} - -var fileDescriptor_log_entry_63c24caaf3e31aeb = []byte{ - // 748 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x6f, 0xf3, 0x34, - 0x14, 0x7e, 0xd3, 0xbe, 0xb4, 0xa9, 0xdb, 0x77, 0x1f, 0xd6, 0x58, 0xb3, 0x6e, 0x88, 0xb2, 0xf1, - 0x51, 0x6e, 0x52, 0xa9, 0xdc, 0x6c, 0x6c, 0x12, 0x5a, 0x27, 0xb4, 0x4d, 0xea, 0x60, 0xf2, 0xd0, - 0x2e, 0x50, 0xa5, 0xca, 0x4b, 0xdc, 0xcc, 0x90, 0xda, 0xc1, 0x71, 0x2a, 0xfa, 0x53, 0xf8, 0x0b, - 0x5c, 0xf3, 0x2b, 0xf8, 0x45, 0x5c, 0x22, 0x9f, 0x38, 0x69, 0x69, 0xa7, 0x72, 0x77, 0x8e, 0xcf, - 0xf3, 0x9c, 0xe7, 0xc9, 0xf1, 0x71, 0xd0, 0x67, 0x91, 0x94, 0x51, 0xcc, 0xfa, 0xb1, 0x8c, 0x22, - 0x2e, 0xa2, 0xfe, 0x7c, 0x60, 0xc2, 0x09, 0x13, 0x5a, 0x2d, 0xfc, 0x44, 0x49, 0x2d, 0xf1, 0x7e, - 0x0e, 0xf1, 0x2d, 0xc4, 0x9f, 0x0f, 0x3a, 0x27, 0x96, 0x45, 0x13, 0xde, 0xa7, 0x42, 0x48, 0x4d, - 0x35, 0x97, 0x22, 0xcd, 0x09, 0x9d, 0xb3, 0x95, 0xea, 0x4c, 0x0a, 0xae, 0xa5, 0x62, 0xe1, 0x44, - 0xb1, 0x54, 0x66, 0x2a, 0x60, 0x16, 0xf4, 0xe5, 0x9a, 0xb0, 0x5e, 0x24, 0xac, 0xff, 0xaa, 0x75, - 0x32, 0x51, 0xec, 0xb7, 0x8c, 0xa5, 0x7a, 0x1b, 0xce, 0x58, 0x4c, 0xd9, 0x9c, 0x29, 0xae, 0xad, - 0xcb, 0xce, 0x91, 0xc5, 0x41, 0xf6, 0x92, 0x4d, 0xfb, 0x54, 0x14, 0xa5, 0x93, 0xf5, 0x52, 0xaa, - 0x55, 0x16, 0x14, 0x02, 0x9f, 0xae, 0x57, 0x35, 0x9f, 0xb1, 0x54, 0xd3, 0x59, 0x92, 0x03, 0x4e, - 0xff, 0xaa, 0x23, 0x77, 0x24, 0xa3, 0xef, 0xcd, 0x48, 0xf0, 0x11, 0x72, 0x8d, 0xb8, 0xa0, 0x33, - 0xe6, 0xb5, 0xba, 0x4e, 0xaf, 0x41, 0xea, 0xb1, 0x8c, 0x7e, 0xa0, 0x33, 0x86, 0x2f, 0x90, 0x5b, - 0x7c, 0xa3, 0xe7, 0x76, 0x9d, 0x5e, 0x73, 0xf0, 0x89, 0x6f, 0x47, 0x47, 0x13, 0xee, 0x3f, 0x14, - 0x93, 0x20, 0x16, 0x44, 0x4a, 0x38, 0xbe, 0x44, 0x1f, 0x40, 0x6b, 0x92, 0xd0, 0x45, 0x2c, 0x69, - 0xe8, 0x55, 0x80, 0x7f, 0x50, 0xf0, 0x0b, 0x6f, 0xfe, 0xb5, 0x58, 0xdc, 0xbd, 0x23, 0x2d, 0xc8, - 0x1f, 0x73, 0x2c, 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xbf, 0x6a, 0xee, - 0xa3, 0xc8, 0x87, 0x7f, 0x38, 0xe8, 0xe3, 0x40, 0xce, 0x36, 0xe7, 0x39, 0xfc, 0x50, 0xa8, 0x3e, - 0xc2, 0xff, 0xc0, 0xf9, 0xf9, 0xdc, 0x62, 0x22, 0x19, 0x53, 0x11, 0xf9, 0x52, 0x45, 0xfd, 0x88, - 0x09, 0x78, 0x5f, 0xfd, 0xbc, 0x44, 0x13, 0x9e, 0xae, 0xfc, 0xec, 0x2f, 0x6d, 0xf8, 0x8f, 0xe3, - 0xfc, 0x59, 0x69, 0xdf, 0xe6, 0xec, 0x9b, 0x58, 0x66, 0xa1, 0xb9, 0x2c, 0xd0, 0x79, 0x1e, 0xfc, - 0x5d, 0x54, 0xc6, 0x50, 0x19, 0xdb, 0xca, 0xf8, 0x79, 0xf0, 0x52, 0x83, 0xde, 0xdf, 0xfc, 0x1b, - 0x00, 0x00, 0xff, 0xff, 0xc7, 0x91, 0xad, 0xed, 0x47, 0x06, 0x00, 0x00, + proto.RegisterFile("google/logging/v2/log_entry.proto", fileDescriptor_log_entry_b08f6591d9b77388) +} + +var fileDescriptor_log_entry_b08f6591d9b77388 = []byte{ + // 772 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xdd, 0x8e, 0xdb, 0x44, + 0x14, 0xae, 0x93, 0xb2, 0x71, 0x26, 0xd9, 0x6d, 0x77, 0x54, 0x1a, 0x6f, 0x5a, 0x20, 0x6c, 0xf9, + 0x09, 0x37, 0x8e, 0x14, 0x6e, 0xb6, 0xb4, 0x12, 0x6a, 0x2a, 0xd4, 0xad, 0x94, 0x42, 0x35, 0x41, + 0xbd, 0x40, 0x91, 0xac, 0x59, 0x7b, 0xe2, 0x0e, 0xd8, 0x33, 0x66, 0x3c, 0x8e, 0xc8, 0xa3, 0xf0, + 0x0a, 0x3c, 0x0a, 0x6f, 0xc0, 0x9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, 0x10, 0xf9, 0x85, 0x92, 0x49, 0x15, + 0x33, 0xe5, 0x8a, 0x35, 0xbe, 0xe9, 0xb2, 0xe2, 0xaa, 0xd4, 0x70, 0x75, 0x3e, 0xb1, 0x0e, 0xc6, + 0xe8, 0x6e, 0x46, 0x4b, 0x0d, 0x9b, 0xe6, 0x13, 0xb0, 0x2f, 0x97, 0xe8, 0xe1, 0xed, 0x9f, 0x66, + 0xd0, 0x2b, 0x9e, 0x31, 0xd7, 0x11, 0x6c, 0xa8, 0xc0, 0x85, 0x15, 0xdf, 0x26, 0x60, 0x1b, 0x1d, + 0xab, 0x4a, 0xc4, 0x30, 0xbf, 0xb6, 0xd5, 0x51, 0xfb, 0xb3, 0x3f, 0x3d, 0xf4, 0x71, 0x2c, 0xf3, + 0xc3, 0x79, 0xce, 0x4e, 0xeb, 0xae, 0x6f, 0xe1, 0x47, 0xc3, 0xfb, 0xe5, 0xca, 0x61, 0x52, 0x99, + 0x51, 0x91, 0x86, 0x52, 0xa5, 0x93, 0x94, 0x09, 0x38, 0xc2, 0x89, 0x4d, 0xd1, 0x82, 0x97, 0x3b, + 0xff, 0x08, 0xcf, 0x9c, 0xf9, 0xaf, 0xe7, 0xfd, 0xd5, 0x1a, 0xbc, 0xb2, 0xec, 0x97, 0x99, 0xac, + 0x12, 0xf3, 0x58, 0xd0, 0xe7, 0xdd, 0xf4, 0xef, 0x3a, 0xb3, 0x84, 0xcc, 0xd2, 0x65, 0x96, 0xef, + 0xa6, 0x37, 0x27, 0x50, 0xfb, 0xdb, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x7b, 0xdc, 0xd5, + 0x6c, 0x06, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go b/vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go index ce8c746cc..529912a0d 100644 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go @@ -53,7 +53,7 @@ func (m *DeleteLogRequest) Reset() { *m = DeleteLogRequest{} } func (m *DeleteLogRequest) String() string { return proto.CompactTextString(m) } func (*DeleteLogRequest) ProtoMessage() {} func (*DeleteLogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{0} + return fileDescriptor_logging_ba6906a83b9b9890, []int{0} } func (m *DeleteLogRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteLogRequest.Unmarshal(m, b) @@ -90,11 +90,15 @@ type WriteLogEntriesRequest struct { // "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" // "folders/[FOLDER_ID]/logs/[LOG_ID]" // - // `[LOG_ID]` must be URL-encoded. For example, - // `"projects/my-project-id/logs/syslog"` or - // `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - // For more information about log names, see - // [LogEntry][google.logging.v2.LogEntry]. + // `[LOG_ID]` must be URL-encoded. For example: + // + // "projects/my-project-id/logs/syslog" + // "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity" + // + // The permission logging.logEntries.create is needed on each + // project, organization, billing account, or folder that is receiving + // new log entries, whether the resource is specified in + // logName or in an individual log entry. LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` // Optional. A default monitored resource object that is assigned to all log // entries in `entries` that do not specify a value for `resource`. Example: @@ -110,7 +114,7 @@ type WriteLogEntriesRequest struct { // as a label in this parameter, then the log entry's label is not changed. // See [LogEntry][google.logging.v2.LogEntry]. Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Required. The log entries to send to Stackdriver Logging. The order of log + // Required. The log entries to send to Logging. The order of log // entries in this list does not matter. Values supplied in this method's // `log_name`, `resource`, and `labels` fields are copied into those log // entries in this list that do not include values for their corresponding @@ -153,7 +157,7 @@ func (m *WriteLogEntriesRequest) Reset() { *m = WriteLogEntriesRequest{} func (m *WriteLogEntriesRequest) String() string { return proto.CompactTextString(m) } func (*WriteLogEntriesRequest) ProtoMessage() {} func (*WriteLogEntriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{1} + return fileDescriptor_logging_ba6906a83b9b9890, []int{1} } func (m *WriteLogEntriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteLogEntriesRequest.Unmarshal(m, b) @@ -227,7 +231,7 @@ func (m *WriteLogEntriesResponse) Reset() { *m = WriteLogEntriesResponse func (m *WriteLogEntriesResponse) String() string { return proto.CompactTextString(m) } func (*WriteLogEntriesResponse) ProtoMessage() {} func (*WriteLogEntriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{2} + return fileDescriptor_logging_ba6906a83b9b9890, []int{2} } func (m *WriteLogEntriesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteLogEntriesResponse.Unmarshal(m, b) @@ -265,7 +269,7 @@ func (m *WriteLogEntriesPartialErrors) Reset() { *m = WriteLogEntriesPar func (m *WriteLogEntriesPartialErrors) String() string { return proto.CompactTextString(m) } func (*WriteLogEntriesPartialErrors) ProtoMessage() {} func (*WriteLogEntriesPartialErrors) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{3} + return fileDescriptor_logging_ba6906a83b9b9890, []int{3} } func (m *WriteLogEntriesPartialErrors) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteLogEntriesPartialErrors.Unmarshal(m, b) @@ -343,7 +347,7 @@ func (m *ListLogEntriesRequest) Reset() { *m = ListLogEntriesRequest{} } func (m *ListLogEntriesRequest) String() string { return proto.CompactTextString(m) } func (*ListLogEntriesRequest) ProtoMessage() {} func (*ListLogEntriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{4} + return fileDescriptor_logging_ba6906a83b9b9890, []int{4} } func (m *ListLogEntriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLogEntriesRequest.Unmarshal(m, b) @@ -432,7 +436,7 @@ func (m *ListLogEntriesResponse) Reset() { *m = ListLogEntriesResponse{} func (m *ListLogEntriesResponse) String() string { return proto.CompactTextString(m) } func (*ListLogEntriesResponse) ProtoMessage() {} func (*ListLogEntriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{5} + return fileDescriptor_logging_ba6906a83b9b9890, []int{5} } func (m *ListLogEntriesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLogEntriesResponse.Unmarshal(m, b) @@ -488,7 +492,7 @@ func (m *ListMonitoredResourceDescriptorsRequest) Reset() { func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) } func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {} func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{6} + return fileDescriptor_logging_ba6906a83b9b9890, []int{6} } func (m *ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Unmarshal(m, b) @@ -541,7 +545,7 @@ func (m *ListMonitoredResourceDescriptorsResponse) Reset() { func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) } func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {} func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{7} + return fileDescriptor_logging_ba6906a83b9b9890, []int{7} } func (m *ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Unmarshal(m, b) @@ -602,7 +606,7 @@ func (m *ListLogsRequest) Reset() { *m = ListLogsRequest{} } func (m *ListLogsRequest) String() string { return proto.CompactTextString(m) } func (*ListLogsRequest) ProtoMessage() {} func (*ListLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{8} + return fileDescriptor_logging_ba6906a83b9b9890, []int{8} } func (m *ListLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLogsRequest.Unmarshal(m, b) @@ -662,7 +666,7 @@ func (m *ListLogsResponse) Reset() { *m = ListLogsResponse{} } func (m *ListLogsResponse) String() string { return proto.CompactTextString(m) } func (*ListLogsResponse) ProtoMessage() {} func (*ListLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_38da0f0e8dbb26ee, []int{9} + return fileDescriptor_logging_ba6906a83b9b9890, []int{9} } func (m *ListLogsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLogsResponse.Unmarshal(m, b) @@ -728,21 +732,19 @@ type LoggingServiceV2Client interface { // Log entries written shortly before the delete operation might not be // deleted. DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Writes log entries to Stackdriver Logging. This API method is the - // only way to send log entries to Stackdriver Logging. This method - // is used, directly or indirectly, by the Stackdriver Logging agent - // (fluentd) and all logging libraries configured to use Stackdriver - // Logging. + // Writes log entries to Logging. This API method is the + // only way to send log entries to Logging. This method + // is used, directly or indirectly, by the Logging agent + // (fluentd) and all logging libraries configured to use Logging. // A single request may contain log entries for a maximum of 1000 // different resources (projects, organizations, billing accounts or // folders) WriteLogEntries(ctx context.Context, in *WriteLogEntriesRequest, opts ...grpc.CallOption) (*WriteLogEntriesResponse, error) // Lists log entries. Use this method to retrieve log entries from - // Stackdriver Logging. For ways to export log entries, see + // Logging. For ways to export log entries, see // [Exporting Logs](/logging/docs/export). ListLogEntries(ctx context.Context, in *ListLogEntriesRequest, opts ...grpc.CallOption) (*ListLogEntriesResponse, error) - // Lists the descriptors for monitored resource types used by Stackdriver - // Logging. + // Lists the descriptors for monitored resource types used by Logging. ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error) // Lists the logs in projects, organizations, folders, or billing accounts. // Only logs that have entries are listed. @@ -809,21 +811,19 @@ type LoggingServiceV2Server interface { // Log entries written shortly before the delete operation might not be // deleted. DeleteLog(context.Context, *DeleteLogRequest) (*empty.Empty, error) - // Writes log entries to Stackdriver Logging. This API method is the - // only way to send log entries to Stackdriver Logging. This method - // is used, directly or indirectly, by the Stackdriver Logging agent - // (fluentd) and all logging libraries configured to use Stackdriver - // Logging. + // Writes log entries to Logging. This API method is the + // only way to send log entries to Logging. This method + // is used, directly or indirectly, by the Logging agent + // (fluentd) and all logging libraries configured to use Logging. // A single request may contain log entries for a maximum of 1000 // different resources (projects, organizations, billing accounts or // folders) WriteLogEntries(context.Context, *WriteLogEntriesRequest) (*WriteLogEntriesResponse, error) // Lists log entries. Use this method to retrieve log entries from - // Stackdriver Logging. For ways to export log entries, see + // Logging. For ways to export log entries, see // [Exporting Logs](/logging/docs/export). ListLogEntries(context.Context, *ListLogEntriesRequest) (*ListLogEntriesResponse, error) - // Lists the descriptors for monitored resource types used by Stackdriver - // Logging. + // Lists the descriptors for monitored resource types used by Logging. ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error) // Lists the logs in projects, organizations, folders, or billing accounts. // Only logs that have entries are listed. @@ -954,10 +954,10 @@ var _LoggingServiceV2_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/logging/v2/logging.proto", fileDescriptor_logging_38da0f0e8dbb26ee) + proto.RegisterFile("google/logging/v2/logging.proto", fileDescriptor_logging_ba6906a83b9b9890) } -var fileDescriptor_logging_38da0f0e8dbb26ee = []byte{ +var fileDescriptor_logging_ba6906a83b9b9890 = []byte{ // 1093 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0xdc, 0x44, 0x14, 0xd7, 0x6c, 0x9a, 0xcd, 0xee, 0x84, 0x26, 0xdb, 0x69, 0xb3, 0x71, 0x77, 0x93, 0x66, 0xb3, diff --git a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go b/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go index 8f55753c9..bdb9e9048 100644 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go @@ -27,7 +27,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -// Available log entry formats. Log entries can be written to Stackdriver +// Available log entry formats. Log entries can be written to // Logging in either format and can be exported in either format. // Version 2 is the preferred format. type LogSink_VersionFormat int32 @@ -48,15 +48,15 @@ var LogSink_VersionFormat_name = map[int32]string{ } var LogSink_VersionFormat_value = map[string]int32{ "VERSION_FORMAT_UNSPECIFIED": 0, - "V2": 1, - "V1": 2, + "V2": 1, + "V1": 2, } func (x LogSink_VersionFormat) String() string { return proto.EnumName(LogSink_VersionFormat_name, int32(x)) } func (LogSink_VersionFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{0, 0} + return fileDescriptor_logging_config_5737f9be5c535814, []int{0, 0} } // Describes a sink used to export log entries to one of the following @@ -93,7 +93,7 @@ type LogSink struct { // entries. The v2 format is used by default and cannot be changed. OutputVersionFormat LogSink_VersionFormat `protobuf:"varint,6,opt,name=output_version_format,json=outputVersionFormat,proto3,enum=google.logging.v2.LogSink_VersionFormat" json:"output_version_format,omitempty"` // Deprecated: Do not use. // Output only. An IAM identity—a service account or group—under - // which Stackdriver Logging writes the exported log entries to the sink's + // which Logging writes the exported log entries to the sink's // destination. This field is set by // [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create) // and @@ -134,7 +134,7 @@ func (m *LogSink) Reset() { *m = LogSink{} } func (m *LogSink) String() string { return proto.CompactTextString(m) } func (*LogSink) ProtoMessage() {} func (*LogSink) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{0} + return fileDescriptor_logging_config_5737f9be5c535814, []int{0} } func (m *LogSink) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogSink.Unmarshal(m, b) @@ -240,7 +240,7 @@ func (m *ListSinksRequest) Reset() { *m = ListSinksRequest{} } func (m *ListSinksRequest) String() string { return proto.CompactTextString(m) } func (*ListSinksRequest) ProtoMessage() {} func (*ListSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{1} + return fileDescriptor_logging_config_5737f9be5c535814, []int{1} } func (m *ListSinksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSinksRequest.Unmarshal(m, b) @@ -298,7 +298,7 @@ func (m *ListSinksResponse) Reset() { *m = ListSinksResponse{} } func (m *ListSinksResponse) String() string { return proto.CompactTextString(m) } func (*ListSinksResponse) ProtoMessage() {} func (*ListSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{2} + return fileDescriptor_logging_config_5737f9be5c535814, []int{2} } func (m *ListSinksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSinksResponse.Unmarshal(m, b) @@ -352,7 +352,7 @@ func (m *GetSinkRequest) Reset() { *m = GetSinkRequest{} } func (m *GetSinkRequest) String() string { return proto.CompactTextString(m) } func (*GetSinkRequest) ProtoMessage() {} func (*GetSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{3} + return fileDescriptor_logging_config_5737f9be5c535814, []int{3} } func (m *GetSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSinkRequest.Unmarshal(m, b) @@ -396,7 +396,7 @@ type CreateSinkRequest struct { // Optional. Determines the kind of IAM identity returned as `writer_identity` // in the new sink. If this value is omitted or set to false, and if the // sink's parent is a project, then the value returned as `writer_identity` is - // the same group or service account used by Stackdriver Logging before the + // the same group or service account used by Logging before the // addition of writer identities to this API. The sink's destination must be // in the same project as the sink itself. // @@ -414,7 +414,7 @@ func (m *CreateSinkRequest) Reset() { *m = CreateSinkRequest{} } func (m *CreateSinkRequest) String() string { return proto.CompactTextString(m) } func (*CreateSinkRequest) ProtoMessage() {} func (*CreateSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{4} + return fileDescriptor_logging_config_5737f9be5c535814, []int{4} } func (m *CreateSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSinkRequest.Unmarshal(m, b) @@ -494,7 +494,7 @@ type UpdateSinkRequest struct { // empty updateMask will be an error. // // For a detailed `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask // // Example: `updateMask=filter`. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` @@ -507,7 +507,7 @@ func (m *UpdateSinkRequest) Reset() { *m = UpdateSinkRequest{} } func (m *UpdateSinkRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSinkRequest) ProtoMessage() {} func (*UpdateSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{5} + return fileDescriptor_logging_config_5737f9be5c535814, []int{5} } func (m *UpdateSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSinkRequest.Unmarshal(m, b) @@ -576,7 +576,7 @@ func (m *DeleteSinkRequest) Reset() { *m = DeleteSinkRequest{} } func (m *DeleteSinkRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSinkRequest) ProtoMessage() {} func (*DeleteSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{6} + return fileDescriptor_logging_config_5737f9be5c535814, []int{6} } func (m *DeleteSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSinkRequest.Unmarshal(m, b) @@ -603,7 +603,7 @@ func (m *DeleteSinkRequest) GetSinkName() string { return "" } -// Specifies a set of log entries that are not to be stored in Stackdriver +// Specifies a set of log entries that are not to be stored in // Logging. If your project receives a large volume of logs, you might be able // to use exclusions to reduce your chargeable logs. Exclusions are processed // after log sinks, so you can export log entries before they are excluded. @@ -640,7 +640,7 @@ func (m *LogExclusion) Reset() { *m = LogExclusion{} } func (m *LogExclusion) String() string { return proto.CompactTextString(m) } func (*LogExclusion) ProtoMessage() {} func (*LogExclusion) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{7} + return fileDescriptor_logging_config_5737f9be5c535814, []int{7} } func (m *LogExclusion) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogExclusion.Unmarshal(m, b) @@ -715,7 +715,7 @@ func (m *ListExclusionsRequest) Reset() { *m = ListExclusionsRequest{} } func (m *ListExclusionsRequest) String() string { return proto.CompactTextString(m) } func (*ListExclusionsRequest) ProtoMessage() {} func (*ListExclusionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{8} + return fileDescriptor_logging_config_5737f9be5c535814, []int{8} } func (m *ListExclusionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListExclusionsRequest.Unmarshal(m, b) @@ -773,7 +773,7 @@ func (m *ListExclusionsResponse) Reset() { *m = ListExclusionsResponse{} func (m *ListExclusionsResponse) String() string { return proto.CompactTextString(m) } func (*ListExclusionsResponse) ProtoMessage() {} func (*ListExclusionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{9} + return fileDescriptor_logging_config_5737f9be5c535814, []int{9} } func (m *ListExclusionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListExclusionsResponse.Unmarshal(m, b) @@ -827,7 +827,7 @@ func (m *GetExclusionRequest) Reset() { *m = GetExclusionRequest{} } func (m *GetExclusionRequest) String() string { return proto.CompactTextString(m) } func (*GetExclusionRequest) ProtoMessage() {} func (*GetExclusionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{10} + return fileDescriptor_logging_config_5737f9be5c535814, []int{10} } func (m *GetExclusionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetExclusionRequest.Unmarshal(m, b) @@ -877,7 +877,7 @@ func (m *CreateExclusionRequest) Reset() { *m = CreateExclusionRequest{} func (m *CreateExclusionRequest) String() string { return proto.CompactTextString(m) } func (*CreateExclusionRequest) ProtoMessage() {} func (*CreateExclusionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{11} + return fileDescriptor_logging_config_5737f9be5c535814, []int{11} } func (m *CreateExclusionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateExclusionRequest.Unmarshal(m, b) @@ -942,7 +942,7 @@ func (m *UpdateExclusionRequest) Reset() { *m = UpdateExclusionRequest{} func (m *UpdateExclusionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateExclusionRequest) ProtoMessage() {} func (*UpdateExclusionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{12} + return fileDescriptor_logging_config_5737f9be5c535814, []int{12} } func (m *UpdateExclusionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateExclusionRequest.Unmarshal(m, b) @@ -1003,7 +1003,7 @@ func (m *DeleteExclusionRequest) Reset() { *m = DeleteExclusionRequest{} func (m *DeleteExclusionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteExclusionRequest) ProtoMessage() {} func (*DeleteExclusionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_config_1517a6dec11632fb, []int{13} + return fileDescriptor_logging_config_5737f9be5c535814, []int{13} } func (m *DeleteExclusionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteExclusionRequest.Unmarshal(m, b) @@ -1456,10 +1456,10 @@ var _ConfigServiceV2_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/logging/v2/logging_config.proto", fileDescriptor_logging_config_1517a6dec11632fb) + proto.RegisterFile("google/logging/v2/logging_config.proto", fileDescriptor_logging_config_5737f9be5c535814) } -var fileDescriptor_logging_config_1517a6dec11632fb = []byte{ +var fileDescriptor_logging_config_5737f9be5c535814 = []byte{ // 1446 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x6f, 0xdc, 0x44, 0x14, 0xc6, 0xde, 0x36, 0xcd, 0xbe, 0xb4, 0xf9, 0x31, 0xa5, 0xcb, 0xe2, 0xf4, 0xc7, 0xd6, 0x0d, diff --git a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go b/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go index 76fffe54c..1306b9331 100644 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go @@ -7,6 +7,7 @@ import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import empty "github.com/golang/protobuf/ptypes/empty" +import _ "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import distribution "google.golang.org/genproto/googleapis/api/distribution" import metric "google.golang.org/genproto/googleapis/api/metric" @@ -28,13 +29,13 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -// Stackdriver Logging API version. +// Logging API version. type LogMetric_ApiVersion int32 const ( - // Stackdriver Logging API v2. + // Logging API v2. LogMetric_V2 LogMetric_ApiVersion = 0 - // Stackdriver Logging API v1. + // Logging API v1. LogMetric_V1 LogMetric_ApiVersion = 1 ) @@ -51,7 +52,7 @@ func (x LogMetric_ApiVersion) String() string { return proto.EnumName(LogMetric_ApiVersion_name, int32(x)) } func (LogMetric_ApiVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{0, 0} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{0, 0} } // Describes a logs-based metric. The value of the metric is the @@ -161,7 +162,7 @@ func (m *LogMetric) Reset() { *m = LogMetric{} } func (m *LogMetric) String() string { return proto.CompactTextString(m) } func (*LogMetric) ProtoMessage() {} func (*LogMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{0} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{0} } func (m *LogMetric) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogMetric.Unmarshal(m, b) @@ -262,7 +263,7 @@ func (m *ListLogMetricsRequest) Reset() { *m = ListLogMetricsRequest{} } func (m *ListLogMetricsRequest) String() string { return proto.CompactTextString(m) } func (*ListLogMetricsRequest) ProtoMessage() {} func (*ListLogMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{1} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{1} } func (m *ListLogMetricsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLogMetricsRequest.Unmarshal(m, b) @@ -320,7 +321,7 @@ func (m *ListLogMetricsResponse) Reset() { *m = ListLogMetricsResponse{} func (m *ListLogMetricsResponse) String() string { return proto.CompactTextString(m) } func (*ListLogMetricsResponse) ProtoMessage() {} func (*ListLogMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{2} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{2} } func (m *ListLogMetricsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListLogMetricsResponse.Unmarshal(m, b) @@ -369,7 +370,7 @@ func (m *GetLogMetricRequest) Reset() { *m = GetLogMetricRequest{} } func (m *GetLogMetricRequest) String() string { return proto.CompactTextString(m) } func (*GetLogMetricRequest) ProtoMessage() {} func (*GetLogMetricRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{3} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{3} } func (m *GetLogMetricRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLogMetricRequest.Unmarshal(m, b) @@ -416,7 +417,7 @@ func (m *CreateLogMetricRequest) Reset() { *m = CreateLogMetricRequest{} func (m *CreateLogMetricRequest) String() string { return proto.CompactTextString(m) } func (*CreateLogMetricRequest) ProtoMessage() {} func (*CreateLogMetricRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{4} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{4} } func (m *CreateLogMetricRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateLogMetricRequest.Unmarshal(m, b) @@ -471,7 +472,7 @@ func (m *UpdateLogMetricRequest) Reset() { *m = UpdateLogMetricRequest{} func (m *UpdateLogMetricRequest) String() string { return proto.CompactTextString(m) } func (*UpdateLogMetricRequest) ProtoMessage() {} func (*UpdateLogMetricRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{5} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{5} } func (m *UpdateLogMetricRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateLogMetricRequest.Unmarshal(m, b) @@ -520,7 +521,7 @@ func (m *DeleteLogMetricRequest) Reset() { *m = DeleteLogMetricRequest{} func (m *DeleteLogMetricRequest) String() string { return proto.CompactTextString(m) } func (*DeleteLogMetricRequest) ProtoMessage() {} func (*DeleteLogMetricRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_logging_metrics_2af73e5e02c8b3e5, []int{6} + return fileDescriptor_logging_metrics_6c8e9bf6f41c8035, []int{6} } func (m *DeleteLogMetricRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteLogMetricRequest.Unmarshal(m, b) @@ -774,63 +775,63 @@ var _MetricsServiceV2_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/logging/v2/logging_metrics.proto", fileDescriptor_logging_metrics_2af73e5e02c8b3e5) -} - -var fileDescriptor_logging_metrics_2af73e5e02c8b3e5 = []byte{ - // 850 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0x66, 0x9c, 0xc4, 0x69, 0x5e, 0x68, 0xec, 0x4e, 0x5b, 0x77, 0xe5, 0xa6, 0xaa, 0xd9, 0x43, - 0xe2, 0xe6, 0xb0, 0x4b, 0x17, 0x14, 0x95, 0x22, 0x0e, 0xb8, 0x89, 0x2a, 0x24, 0x17, 0xa2, 0x2d, - 0xf8, 0x80, 0x2c, 0xad, 0xd6, 0xf6, 0xf3, 0x6a, 0xf0, 0x7a, 0x67, 0xd9, 0x19, 0x5b, 0x49, 0x51, - 0x2f, 0xa8, 0x37, 0x24, 0x0e, 0xf0, 0x03, 0x38, 0x70, 0xe3, 0xa7, 0x70, 0x85, 0x9f, 0xc0, 0x8f, - 0xe0, 0x88, 0x76, 0x76, 0xd6, 0xd9, 0xda, 0x4b, 0x1c, 0xf5, 0x94, 0x99, 0xf7, 0xbd, 0x37, 0xdf, - 0xf7, 0xde, 0xfb, 0x1c, 0x1b, 0x0e, 0x03, 0xce, 0x83, 0x10, 0xed, 0x90, 0x07, 0x01, 0x8b, 0x02, - 0x7b, 0xee, 0xe4, 0x47, 0x6f, 0x8a, 0x32, 0x61, 0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0xab, 0x08, - 0x00, 0x00, + proto.RegisterFile("google/logging/v2/logging_metrics.proto", fileDescriptor_logging_metrics_6c8e9bf6f41c8035) +} + +var fileDescriptor_logging_metrics_6c8e9bf6f41c8035 = []byte{ + // 861 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0x67, 0x9c, 0xc4, 0x69, 0x5e, 0x68, 0xec, 0x4e, 0x5b, 0xd7, 0x72, 0x53, 0xc5, 0xec, 0x21, + 0x71, 0x73, 0xd8, 0xa5, 0x0b, 0x8a, 0x4a, 0x11, 0x07, 0xdc, 0x44, 0x15, 0x52, 0x0a, 0x91, 0x0b, + 0x3e, 0xa0, 0x48, 0xab, 0xb1, 0xfd, 0xb2, 0x1a, 0xbc, 0xbb, 0xb3, 0xec, 0x8c, 0xad, 0xa4, 0xa8, + 0x17, 0xd4, 0x1b, 0x12, 0x07, 0xf8, 0x00, 0x1c, 0xb8, 0xf1, 0x51, 0xb8, 0xc2, 0x47, 0xe0, 0x43, + 0x70, 0x44, 0x3b, 0x3b, 0xeb, 0x6c, 0xed, 0x25, 0x8e, 0x72, 0xca, 0xcc, 0xfb, 0xfd, 0xde, 0xfc, + 0x7e, 0xef, 0x8f, 0x63, 0xc3, 0x9e, 0x2f, 0x84, 0x1f, 0xa0, 0x13, 0x08, 0xdf, 0xe7, 0x91, 0xef, + 0x4c, 0xdd, 0xfc, 0xe8, 0x85, 0xa8, 0x12, 0x3e, 0x94, 0x76, 0x9c, 0x08, 0x25, 0xe8, 0x9d, 0x8c, + 0x68, 0x1b, 0xd4, 0x9e, 0xba, 0xad, 0x6d, 0x93, 0xcb, 0x62, 0xee, 0xb0, 0x28, 0x12, 0x8a, 0x29, + 0x2e, 0x22, 0x93, 0xd0, 0x7a, 0x54, 0x40, 0x47, 0x5c, 0xaa, 0x84, 0x0f, 0x26, 0x29,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 0xac, 0xdc, + 0xf2, 0x2d, 0x5b, 0x62, 0xc6, 0xd1, 0x66, 0x1e, 0x5b, 0xcb, 0x9a, 0xf1, 0xcc, 0x4c, 0x9d, 0xfe, + 0x42, 0xa0, 0x36, 0xb7, 0x67, 0xa5, 0x6e, 0xca, 0x77, 0x71, 0x89, 0x9b, 0x03, 0xed, 0xe6, 0xc3, + 0xd6, 0x35, 0x5b, 0x33, 0x33, 0xf5, 0x96, 0x40, 0x6d, 0x6e, 0x17, 0x4b, 0x4d, 0x95, 0xef, 0x6b, + 0xab, 0x91, 0x53, 0xf3, 0x6f, 0x42, 0xfb, 0x28, 0xfd, 0x22, 0xcd, 0x27, 0xb5, 0x7f, 0x4d, 0x3b, + 0xdd, 0xdf, 0x08, 0xdc, 0x1f, 0x8a, 0x70, 0x51, 0xb8, 0x7b, 0xf7, 0x38, 0x3b, 0x9b, 0x5d, 0x3c, + 0x49, 0x75, 0x4e, 0xc8, 0xb7, 0x4f, 0x0d, 0xd3, 0x17, 0x01, 0x8b, 0x7c, 0x5b, 0x24, 0xbe, 0xe3, + 0x63, 0xa4, 0x5d, 0x38, 0x19, 0xc4, 0x62, 0x2e, 0x0b, 0xbf, 0x38, 0x3e, 0x35, 0xc7, 0x7f, 0x09, + 0xf9, 0xa3, 0xf2, 0xe0, 0x45, 0x96, 0xfd, 0x3c, 0x10, 0x93, 0x91, 0x6d, 0x14, 0xec, 0xbe, 0xfb, + 0x67, 0x8e, 0x9c, 0x6a, 0xe4, 0xd4, 0x20, 0xa7, 0x7d, 0x77, 0x50, 0xd5, 0x6f, 0x7f, 0xf4, 0x5f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xca, 0x84, 0x19, 0x3d, 0xcc, 0x08, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go index 7944499fb..06eed24bd 100644 --- a/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go @@ -60,7 +60,7 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_0c6406358b950625, []int{0} + return fileDescriptor_operations_6e3ea16d34200c2d, []int{0} } func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) @@ -80,27 +80,6 @@ func (m *Operation) XXX_DiscardUnknown() { var xxx_messageInfo_Operation proto.InternalMessageInfo -type isOperation_Result interface { - isOperation_Result() -} - -type Operation_Error struct { - Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3,oneof"` -} -type Operation_Response struct { - Response *any.Any `protobuf:"bytes,5,opt,name=response,proto3,oneof"` -} - -func (*Operation_Error) isOperation_Result() {} -func (*Operation_Response) isOperation_Result() {} - -func (m *Operation) GetResult() isOperation_Result { - if m != nil { - return m.Result - } - return nil -} - func (m *Operation) GetName() string { if m != nil { return m.Name @@ -122,6 +101,29 @@ func (m *Operation) GetDone() bool { return false } +type isOperation_Result interface { + isOperation_Result() +} + +type Operation_Error struct { + Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3,oneof"` +} + +type Operation_Response struct { + Response *any.Any `protobuf:"bytes,5,opt,name=response,proto3,oneof"` +} + +func (*Operation_Error) isOperation_Result() {} + +func (*Operation_Response) isOperation_Result() {} + +func (m *Operation) GetResult() isOperation_Result { + if m != nil { + return m.Result + } + return nil +} + func (m *Operation) GetError() *status.Status { if x, ok := m.GetResult().(*Operation_Error); ok { return x.Error @@ -223,7 +225,7 @@ func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} } func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } func (*GetOperationRequest) ProtoMessage() {} func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_0c6406358b950625, []int{1} + return fileDescriptor_operations_6e3ea16d34200c2d, []int{1} } func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) @@ -269,7 +271,7 @@ func (m *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListOperationsRequest) ProtoMessage() {} func (*ListOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_0c6406358b950625, []int{2} + return fileDescriptor_operations_6e3ea16d34200c2d, []int{2} } func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) @@ -332,7 +334,7 @@ func (m *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListOperationsResponse) ProtoMessage() {} func (*ListOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_0c6406358b950625, []int{3} + return fileDescriptor_operations_6e3ea16d34200c2d, []int{3} } func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListOperationsResponse.Unmarshal(m, b) @@ -379,7 +381,7 @@ func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } func (*CancelOperationRequest) ProtoMessage() {} func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_0c6406358b950625, []int{4} + return fileDescriptor_operations_6e3ea16d34200c2d, []int{4} } func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b) @@ -419,7 +421,7 @@ func (m *DeleteOperationRequest) Reset() { *m = DeleteOperationRequest{} func (m *DeleteOperationRequest) String() string { return proto.CompactTextString(m) } func (*DeleteOperationRequest) ProtoMessage() {} func (*DeleteOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_operations_0c6406358b950625, []int{5} + return fileDescriptor_operations_6e3ea16d34200c2d, []int{5} } func (m *DeleteOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteOperationRequest.Unmarshal(m, b) @@ -671,10 +673,10 @@ var _Operations_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/longrunning/operations.proto", fileDescriptor_operations_0c6406358b950625) + proto.RegisterFile("google/longrunning/operations.proto", fileDescriptor_operations_6e3ea16d34200c2d) } -var fileDescriptor_operations_0c6406358b950625 = []byte{ +var fileDescriptor_operations_6e3ea16d34200c2d = []byte{ // 597 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xc1, 0x6e, 0xd3, 0x4c, 0x10, 0xae, 0xd3, 0xb4, 0x4a, 0xa6, 0xff, 0x4f, 0xa4, 0x85, 0xba, 0xc6, 0x25, 0x22, 0x32, 0x08, diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go index 7b320e1bf..d134a3cb9 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go @@ -48,9 +48,9 @@ var AlertPolicy_ConditionCombinerType_name = map[int32]string{ 3: "AND_WITH_MATCHING_RESOURCE", } var AlertPolicy_ConditionCombinerType_value = map[string]int32{ - "COMBINE_UNSPECIFIED": 0, - "AND": 1, - "OR": 2, + "COMBINE_UNSPECIFIED": 0, + "AND": 1, + "OR": 2, "AND_WITH_MATCHING_RESOURCE": 3, } @@ -58,7 +58,7 @@ func (x AlertPolicy_ConditionCombinerType) String() string { return proto.EnumName(AlertPolicy_ConditionCombinerType_name, int32(x)) } func (AlertPolicy_ConditionCombinerType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0, 0} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0, 0} } // A description of the conditions under which some aspect of your system is @@ -136,7 +136,7 @@ func (m *AlertPolicy) Reset() { *m = AlertPolicy{} } func (m *AlertPolicy) String() string { return proto.CompactTextString(m) } func (*AlertPolicy) ProtoMessage() {} func (*AlertPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0} } func (m *AlertPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlertPolicy.Unmarshal(m, b) @@ -247,7 +247,7 @@ func (m *AlertPolicy_Documentation) Reset() { *m = AlertPolicy_Documenta func (m *AlertPolicy_Documentation) String() string { return proto.CompactTextString(m) } func (*AlertPolicy_Documentation) ProtoMessage() {} func (*AlertPolicy_Documentation) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0, 0} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0, 0} } func (m *AlertPolicy_Documentation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlertPolicy_Documentation.Unmarshal(m, b) @@ -330,7 +330,7 @@ func (m *AlertPolicy_Condition) Reset() { *m = AlertPolicy_Condition{} } func (m *AlertPolicy_Condition) String() string { return proto.CompactTextString(m) } func (*AlertPolicy_Condition) ProtoMessage() {} func (*AlertPolicy_Condition) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0, 1} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0, 1} } func (m *AlertPolicy_Condition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlertPolicy_Condition.Unmarshal(m, b) @@ -350,6 +350,20 @@ func (m *AlertPolicy_Condition) XXX_DiscardUnknown() { var xxx_messageInfo_AlertPolicy_Condition proto.InternalMessageInfo +func (m *AlertPolicy_Condition) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *AlertPolicy_Condition) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + type isAlertPolicy_Condition_Condition interface { isAlertPolicy_Condition_Condition() } @@ -357,12 +371,14 @@ type isAlertPolicy_Condition_Condition interface { type AlertPolicy_Condition_ConditionThreshold struct { ConditionThreshold *AlertPolicy_Condition_MetricThreshold `protobuf:"bytes,1,opt,name=condition_threshold,json=conditionThreshold,proto3,oneof"` } + type AlertPolicy_Condition_ConditionAbsent struct { ConditionAbsent *AlertPolicy_Condition_MetricAbsence `protobuf:"bytes,2,opt,name=condition_absent,json=conditionAbsent,proto3,oneof"` } func (*AlertPolicy_Condition_ConditionThreshold) isAlertPolicy_Condition_Condition() {} -func (*AlertPolicy_Condition_ConditionAbsent) isAlertPolicy_Condition_Condition() {} + +func (*AlertPolicy_Condition_ConditionAbsent) isAlertPolicy_Condition_Condition() {} func (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition { if m != nil { @@ -371,20 +387,6 @@ func (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition return nil } -func (m *AlertPolicy_Condition) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AlertPolicy_Condition) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - func (m *AlertPolicy_Condition) GetConditionThreshold() *AlertPolicy_Condition_MetricThreshold { if x, ok := m.GetCondition().(*AlertPolicy_Condition_ConditionThreshold); ok { return x.ConditionThreshold @@ -491,7 +493,7 @@ func (m *AlertPolicy_Condition_Trigger) Reset() { *m = AlertPolicy_Condi func (m *AlertPolicy_Condition_Trigger) String() string { return proto.CompactTextString(m) } func (*AlertPolicy_Condition_Trigger) ProtoMessage() {} func (*AlertPolicy_Condition_Trigger) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0, 1, 0} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0, 1, 0} } func (m *AlertPolicy_Condition_Trigger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlertPolicy_Condition_Trigger.Unmarshal(m, b) @@ -518,11 +520,13 @@ type isAlertPolicy_Condition_Trigger_Type interface { type AlertPolicy_Condition_Trigger_Count struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3,oneof"` } + type AlertPolicy_Condition_Trigger_Percent struct { Percent float64 `protobuf:"fixed64,2,opt,name=percent,proto3,oneof"` } -func (*AlertPolicy_Condition_Trigger_Count) isAlertPolicy_Condition_Trigger_Type() {} +func (*AlertPolicy_Condition_Trigger_Count) isAlertPolicy_Condition_Trigger_Type() {} + func (*AlertPolicy_Condition_Trigger_Percent) isAlertPolicy_Condition_Trigger_Type() {} func (m *AlertPolicy_Condition_Trigger) GetType() isAlertPolicy_Condition_Trigger_Type { @@ -677,15 +681,14 @@ type AlertPolicy_Condition_MetricThreshold struct { ThresholdValue float64 `protobuf:"fixed64,5,opt,name=threshold_value,json=thresholdValue,proto3" json:"threshold_value,omitempty"` // The amount of time that a time series must violate the // threshold to be considered failing. Currently, only values - // that are a multiple of a minute--e.g. 60, 120, or 300 + // that are a multiple of a minute--e.g., 0, 60, 120, or 300 // seconds--are supported. If an invalid value is given, an - // error will be returned. The `Duration.nanos` field is - // ignored. When choosing a duration, it is useful to keep in mind the - // frequency of the underlying time series data (which may also be - // affected by any alignments specified in the `aggregation` field); - // a good duration is long enough so that a single outlier does not - // generate spurious alerts, but short enough that unhealthy states - // are detected and alerted on quickly. + // error will be returned. When choosing a duration, it is useful to + // keep in mind the frequency of the underlying time series data + // (which may also be affected by any alignments specified in the + // `aggregations` field); a good duration is long enough so that a single + // outlier does not generate spurious alerts, but short enough that + // unhealthy states are detected and alerted on quickly. Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` // The number/percent of time series for which the comparison must hold // in order for the condition to trigger. If unspecified, then the @@ -703,7 +706,7 @@ func (m *AlertPolicy_Condition_MetricThreshold) Reset() { *m = AlertPoli func (m *AlertPolicy_Condition_MetricThreshold) String() string { return proto.CompactTextString(m) } func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage() {} func (*AlertPolicy_Condition_MetricThreshold) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0, 1, 1} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0, 1, 1} } func (m *AlertPolicy_Condition_MetricThreshold) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Unmarshal(m, b) @@ -828,7 +831,7 @@ func (m *AlertPolicy_Condition_MetricAbsence) Reset() { *m = AlertPolicy func (m *AlertPolicy_Condition_MetricAbsence) String() string { return proto.CompactTextString(m) } func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage() {} func (*AlertPolicy_Condition_MetricAbsence) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_17949719c044e638, []int{0, 1, 2} + return fileDescriptor_alert_9e390b6dbd40ea14, []int{0, 1, 2} } func (m *AlertPolicy_Condition_MetricAbsence) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Unmarshal(m, b) @@ -888,10 +891,10 @@ func init() { } func init() { - proto.RegisterFile("google/monitoring/v3/alert.proto", fileDescriptor_alert_17949719c044e638) + proto.RegisterFile("google/monitoring/v3/alert.proto", fileDescriptor_alert_9e390b6dbd40ea14) } -var fileDescriptor_alert_17949719c044e638 = []byte{ +var fileDescriptor_alert_9e390b6dbd40ea14 = []byte{ // 941 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xeb, 0x6e, 0xe3, 0x44, 0x14, 0xae, 0x93, 0xe6, 0x76, 0xd2, 0x36, 0xd9, 0xd9, 0xee, 0xae, 0x31, 0x68, 0x95, 0xae, 0x90, diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go index e7551b31c..ad711c915 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go @@ -50,7 +50,7 @@ func (m *CreateAlertPolicyRequest) Reset() { *m = CreateAlertPolicyReque func (m *CreateAlertPolicyRequest) String() string { return proto.CompactTextString(m) } func (*CreateAlertPolicyRequest) ProtoMessage() {} func (*CreateAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_service_2f734ae33022c87f, []int{0} + return fileDescriptor_alert_service_4a748eee76dab644, []int{0} } func (m *CreateAlertPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAlertPolicyRequest.Unmarshal(m, b) @@ -99,7 +99,7 @@ func (m *GetAlertPolicyRequest) Reset() { *m = GetAlertPolicyRequest{} } func (m *GetAlertPolicyRequest) String() string { return proto.CompactTextString(m) } func (*GetAlertPolicyRequest) ProtoMessage() {} func (*GetAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_service_2f734ae33022c87f, []int{1} + return fileDescriptor_alert_service_4a748eee76dab644, []int{1} } func (m *GetAlertPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAlertPolicyRequest.Unmarshal(m, b) @@ -166,7 +166,7 @@ func (m *ListAlertPoliciesRequest) Reset() { *m = ListAlertPoliciesReque func (m *ListAlertPoliciesRequest) String() string { return proto.CompactTextString(m) } func (*ListAlertPoliciesRequest) ProtoMessage() {} func (*ListAlertPoliciesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_service_2f734ae33022c87f, []int{2} + return fileDescriptor_alert_service_4a748eee76dab644, []int{2} } func (m *ListAlertPoliciesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAlertPoliciesRequest.Unmarshal(m, b) @@ -238,7 +238,7 @@ func (m *ListAlertPoliciesResponse) Reset() { *m = ListAlertPoliciesResp func (m *ListAlertPoliciesResponse) String() string { return proto.CompactTextString(m) } func (*ListAlertPoliciesResponse) ProtoMessage() {} func (*ListAlertPoliciesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_service_2f734ae33022c87f, []int{3} + return fileDescriptor_alert_service_4a748eee76dab644, []int{3} } func (m *ListAlertPoliciesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAlertPoliciesResponse.Unmarshal(m, b) @@ -310,7 +310,7 @@ func (m *UpdateAlertPolicyRequest) Reset() { *m = UpdateAlertPolicyReque func (m *UpdateAlertPolicyRequest) String() string { return proto.CompactTextString(m) } func (*UpdateAlertPolicyRequest) ProtoMessage() {} func (*UpdateAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_service_2f734ae33022c87f, []int{4} + return fileDescriptor_alert_service_4a748eee76dab644, []int{4} } func (m *UpdateAlertPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAlertPolicyRequest.Unmarshal(m, b) @@ -361,7 +361,7 @@ func (m *DeleteAlertPolicyRequest) Reset() { *m = DeleteAlertPolicyReque func (m *DeleteAlertPolicyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAlertPolicyRequest) ProtoMessage() {} func (*DeleteAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_alert_service_2f734ae33022c87f, []int{5} + return fileDescriptor_alert_service_4a748eee76dab644, []int{5} } func (m *DeleteAlertPolicyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAlertPolicyRequest.Unmarshal(m, b) @@ -618,10 +618,10 @@ var _AlertPolicyService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/monitoring/v3/alert_service.proto", fileDescriptor_alert_service_2f734ae33022c87f) + proto.RegisterFile("google/monitoring/v3/alert_service.proto", fileDescriptor_alert_service_4a748eee76dab644) } -var fileDescriptor_alert_service_2f734ae33022c87f = []byte{ +var fileDescriptor_alert_service_4a748eee76dab644 = []byte{ // 656 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x6f, 0xd3, 0x4c, 0x10, 0x95, 0x93, 0x36, 0x5f, 0xbb, 0xfd, 0x5a, 0x94, 0x15, 0x54, 0xae, 0x0b, 0x52, 0x30, 0x2a, diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go index d4d0e7528..d2792b520 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go @@ -66,14 +66,13 @@ func (x ComparisonType) String() string { return proto.EnumName(ComparisonType_name, int32(x)) } func (ComparisonType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{0} + return fileDescriptor_common_8becd78c7e1e8452, []int{0} } -// The tier of service for a Stackdriver account. Please see the -// [service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers) +// The tier of service for a Workspace. Please see the +// [service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers) // for more details. -type ServiceTier int32 - +type ServiceTier int32 // Deprecated: Do not use. const ( // An invalid sentinel value, used to indicate that a tier has not // been provided explicitly. @@ -81,12 +80,12 @@ const ( // The Stackdriver Basic tier, a free tier of service that provides basic // features, a moderate allotment of logs, and access to built-in metrics. // A number of features are not available in this tier. For more details, - // see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + // see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). ServiceTier_SERVICE_TIER_BASIC ServiceTier = 1 // The Stackdriver Premium tier, a higher, more expensive tier of service // that provides access to all Stackdriver features, lets you use Stackdriver // with AWS accounts, and has a larger allotments for logs and metrics. For - // more details, see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + // more details, see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). ServiceTier_SERVICE_TIER_PREMIUM ServiceTier = 2 ) @@ -105,7 +104,7 @@ func (x ServiceTier) String() string { return proto.EnumName(ServiceTier_name, int32(x)) } func (ServiceTier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{1} + return fileDescriptor_common_8becd78c7e1e8452, []int{1} } // The Aligner describes how to bring the data points in a single @@ -292,7 +291,7 @@ func (x Aggregation_Aligner) String() string { return proto.EnumName(Aggregation_Aligner_name, int32(x)) } func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{2, 0} + return fileDescriptor_common_8becd78c7e1e8452, []int{2, 0} } // A Reducer describes how to aggregate data points from multiple @@ -409,7 +408,7 @@ func (x Aggregation_Reducer) String() string { return proto.EnumName(Aggregation_Reducer_name, int32(x)) } func (Aggregation_Reducer) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{2, 1} + return fileDescriptor_common_8becd78c7e1e8452, []int{2, 1} } // A single strongly-typed value. @@ -432,7 +431,7 @@ func (m *TypedValue) Reset() { *m = TypedValue{} } func (m *TypedValue) String() string { return proto.CompactTextString(m) } func (*TypedValue) ProtoMessage() {} func (*TypedValue) Descriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{0} + return fileDescriptor_common_8becd78c7e1e8452, []int{0} } func (m *TypedValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TypedValue.Unmarshal(m, b) @@ -459,23 +458,31 @@ type isTypedValue_Value interface { type TypedValue_BoolValue struct { BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"` } + type TypedValue_Int64Value struct { Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"` } + type TypedValue_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` } + type TypedValue_StringValue struct { StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` } + type TypedValue_DistributionValue struct { DistributionValue *distribution.Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,proto3,oneof"` } -func (*TypedValue_BoolValue) isTypedValue_Value() {} -func (*TypedValue_Int64Value) isTypedValue_Value() {} -func (*TypedValue_DoubleValue) isTypedValue_Value() {} -func (*TypedValue_StringValue) isTypedValue_Value() {} +func (*TypedValue_BoolValue) isTypedValue_Value() {} + +func (*TypedValue_Int64Value) isTypedValue_Value() {} + +func (*TypedValue_DoubleValue) isTypedValue_Value() {} + +func (*TypedValue_StringValue) isTypedValue_Value() {} + func (*TypedValue_DistributionValue) isTypedValue_Value() {} func (m *TypedValue) GetValue() isTypedValue_Value { @@ -655,7 +662,7 @@ func (m *TimeInterval) Reset() { *m = TimeInterval{} } func (m *TimeInterval) String() string { return proto.CompactTextString(m) } func (*TimeInterval) ProtoMessage() {} func (*TimeInterval) Descriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{1} + return fileDescriptor_common_8becd78c7e1e8452, []int{1} } func (m *TimeInterval) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimeInterval.Unmarshal(m, b) @@ -753,7 +760,7 @@ func (m *Aggregation) Reset() { *m = Aggregation{} } func (m *Aggregation) String() string { return proto.CompactTextString(m) } func (*Aggregation) ProtoMessage() {} func (*Aggregation) Descriptor() ([]byte, []int) { - return fileDescriptor_common_006e316316847821, []int{2} + return fileDescriptor_common_8becd78c7e1e8452, []int{2} } func (m *Aggregation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Aggregation.Unmarshal(m, b) @@ -812,69 +819,69 @@ func init() { } func init() { - proto.RegisterFile("google/monitoring/v3/common.proto", fileDescriptor_common_006e316316847821) + proto.RegisterFile("google/monitoring/v3/common.proto", fileDescriptor_common_8becd78c7e1e8452) } -var fileDescriptor_common_006e316316847821 = []byte{ - // 954 bytes of a gzipped FileDescriptorProto +var fileDescriptor_common_8becd78c7e1e8452 = []byte{ + // 957 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xc1, 0x6e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, 0x1a, 0x8f, 0xbc, + 0x8e, 0xc7, 0x02, 0xf1, 0x10, 0x76, 0xa4, 0xe4, 0x86, 0x7e, 0xbc, 0xfe, 0xbf, 0xfd, 0x26, 0xaf, + 0x7e, 0x2b, 0x37, 0x6f, 0xe4, 0x00, 0x63, 0xce, 0x97, 0x33, 0x6d, 0x90, 0xaf, 0x75, 0x77, 0xf1, + 0xc7, 0x4a, 0x7c, 0x10, 0xe2, 0x43, 0x2e, 0x3e, 0xdc, 0x5d, 0x4c, 0x77, 0xc5, 0x22, 0x17, 0x7f, + 0x07, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x78, 0xd9, 0x96, 0xd3, 0x07, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go new file mode 100644 index 000000000..04fe18243 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go @@ -0,0 +1,101 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/monitoring/v3/dropped_labels.proto + +package monitoring // import "google.golang.org/genproto/googleapis/monitoring/v3" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// A set of (label, value) pairs which were dropped during aggregation, attached +// to google.api.Distribution.Exemplars in google.api.Distribution values during +// aggregation. +// +// These values are used in combination with the label values that remain on the +// aggregated Distribution timeseries to construct the full label set for the +// exemplar values. The resulting full label set may be used to identify the +// specific task/job/instance (for example) which may be contributing to a +// long-tail, while allowing the storage savings of only storing aggregated +// distribution values for a large group. +// +// Note that there are no guarantees on ordering of the labels from +// exemplar-to-exemplar and from distribution-to-distribution in the same +// stream, and there may be duplicates. It is up to clients to resolve any +// ambiguities. +type DroppedLabels struct { + // Map from label to its value, for all labels dropped in any aggregation. + Label map[string]string `protobuf:"bytes,1,rep,name=label,proto3" json:"label,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DroppedLabels) Reset() { *m = DroppedLabels{} } +func (m *DroppedLabels) String() string { return proto.CompactTextString(m) } +func (*DroppedLabels) ProtoMessage() {} +func (*DroppedLabels) Descriptor() ([]byte, []int) { + return fileDescriptor_dropped_labels_bce6164464203600, []int{0} +} +func (m *DroppedLabels) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DroppedLabels.Unmarshal(m, b) +} +func (m *DroppedLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DroppedLabels.Marshal(b, m, deterministic) +} +func (dst *DroppedLabels) XXX_Merge(src proto.Message) { + xxx_messageInfo_DroppedLabels.Merge(dst, src) +} +func (m *DroppedLabels) XXX_Size() int { + return xxx_messageInfo_DroppedLabels.Size(m) +} +func (m *DroppedLabels) XXX_DiscardUnknown() { + xxx_messageInfo_DroppedLabels.DiscardUnknown(m) +} + +var xxx_messageInfo_DroppedLabels proto.InternalMessageInfo + +func (m *DroppedLabels) GetLabel() map[string]string { + if m != nil { + return m.Label + } + return nil +} + +func init() { + proto.RegisterType((*DroppedLabels)(nil), "google.monitoring.v3.DroppedLabels") + proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.DroppedLabels.LabelEntry") +} + +func init() { + proto.RegisterFile("google/monitoring/v3/dropped_labels.proto", fileDescriptor_dropped_labels_bce6164464203600) +} + +var fileDescriptor_dropped_labels_bce6164464203600 = []byte{ + // 219 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, + 0xd6, 0x4f, 0x29, 0xca, 0x2f, 0x28, 0x48, 0x4d, 0x89, 0xcf, 0x49, 0x4c, 0x4a, 0xcd, 0x29, 0xd6, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x28, 0xd5, 0x43, 0x28, 0xd5, 0x2b, 0x33, 0x96, + 0x92, 0x81, 0x1a, 0x90, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, 0x58, 0x92, 0x99, + 0x9f, 0x07, 0xd5, 0xa3, 0xd4, 0xcf, 0xc8, 0xc5, 0xeb, 0x02, 0x31, 0xcc, 0x07, 0x6c, 0x96, 0x90, + 0x0b, 0x17, 0x2b, 0xd8, 0x54, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x3d, 0x3d, 0x6c, 0xa6, + 0xea, 0xa1, 0xe8, 0xd1, 0x03, 0x53, 0xae, 0x79, 0x25, 0x45, 0x95, 0x41, 0x10, 0xcd, 0x52, 0x16, + 0x5c, 0x5c, 0x08, 0x41, 0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d, + 0xce, 0x20, 0x10, 0x53, 0x48, 0x84, 0x8b, 0xb5, 0x2c, 0x31, 0xa7, 0x34, 0x55, 0x82, 0x09, 0x2c, + 0x06, 0xe1, 0x58, 0x31, 0x59, 0x30, 0x3a, 0x39, 0x44, 0xd9, 0x41, 0x6d, 0x4c, 0xcf, 0xcf, 0x49, + 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0xbb, 0x57, 0x1f, 0x22, 0x95, + 0x58, 0x90, 0x59, 0x8c, 0x1a, 0x22, 0xd6, 0x08, 0x5e, 0x12, 0x1b, 0x58, 0xa9, 0x31, 0x20, 0x00, + 0x00, 0xff, 0xff, 0x7e, 0x29, 0xf8, 0x00, 0x3b, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go index 9ae9f756d..e4f6948a7 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go @@ -71,7 +71,7 @@ func (m *Group) Reset() { *m = Group{} } func (m *Group) String() string { return proto.CompactTextString(m) } func (*Group) ProtoMessage() {} func (*Group) Descriptor() ([]byte, []int) { - return fileDescriptor_group_1b3b789bd5fc032e, []int{0} + return fileDescriptor_group_da6702aeb6854c5f, []int{0} } func (m *Group) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Group.Unmarshal(m, b) @@ -131,10 +131,10 @@ func init() { } func init() { - proto.RegisterFile("google/monitoring/v3/group.proto", fileDescriptor_group_1b3b789bd5fc032e) + proto.RegisterFile("google/monitoring/v3/group.proto", fileDescriptor_group_da6702aeb6854c5f) } -var fileDescriptor_group_1b3b789bd5fc032e = []byte{ +var fileDescriptor_group_da6702aeb6854c5f = []byte{ // 261 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xcf, 0x4a, 0x2b, 0x31, 0x14, 0x87, 0x49, 0xef, 0xed, 0x60, 0x4f, 0x5d, 0x0d, 0x22, 0x83, 0x20, 0x8e, 0xae, 0xba, 0xca, diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go index 57d11175d..d17da9a79 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go @@ -55,7 +55,7 @@ func (m *ListGroupsRequest) Reset() { *m = ListGroupsRequest{} } func (m *ListGroupsRequest) String() string { return proto.CompactTextString(m) } func (*ListGroupsRequest) ProtoMessage() {} func (*ListGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{0} + return fileDescriptor_group_service_c051ad810375e8ee, []int{0} } func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListGroupsRequest.Unmarshal(m, b) @@ -75,6 +75,13 @@ func (m *ListGroupsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListGroupsRequest proto.InternalMessageInfo +func (m *ListGroupsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + type isListGroupsRequest_Filter interface { isListGroupsRequest_Filter() } @@ -82,15 +89,19 @@ type isListGroupsRequest_Filter interface { type ListGroupsRequest_ChildrenOfGroup struct { ChildrenOfGroup string `protobuf:"bytes,2,opt,name=children_of_group,json=childrenOfGroup,proto3,oneof"` } + type ListGroupsRequest_AncestorsOfGroup struct { AncestorsOfGroup string `protobuf:"bytes,3,opt,name=ancestors_of_group,json=ancestorsOfGroup,proto3,oneof"` } + type ListGroupsRequest_DescendantsOfGroup struct { DescendantsOfGroup string `protobuf:"bytes,4,opt,name=descendants_of_group,json=descendantsOfGroup,proto3,oneof"` } -func (*ListGroupsRequest_ChildrenOfGroup) isListGroupsRequest_Filter() {} -func (*ListGroupsRequest_AncestorsOfGroup) isListGroupsRequest_Filter() {} +func (*ListGroupsRequest_ChildrenOfGroup) isListGroupsRequest_Filter() {} + +func (*ListGroupsRequest_AncestorsOfGroup) isListGroupsRequest_Filter() {} + func (*ListGroupsRequest_DescendantsOfGroup) isListGroupsRequest_Filter() {} func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter { @@ -100,13 +111,6 @@ func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter { return nil } -func (m *ListGroupsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - func (m *ListGroupsRequest) GetChildrenOfGroup() string { if x, ok := m.GetFilter().(*ListGroupsRequest_ChildrenOfGroup); ok { return x.ChildrenOfGroup @@ -240,7 +244,7 @@ func (m *ListGroupsResponse) Reset() { *m = ListGroupsResponse{} } func (m *ListGroupsResponse) String() string { return proto.CompactTextString(m) } func (*ListGroupsResponse) ProtoMessage() {} func (*ListGroupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{1} + return fileDescriptor_group_service_c051ad810375e8ee, []int{1} } func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListGroupsResponse.Unmarshal(m, b) @@ -288,7 +292,7 @@ func (m *GetGroupRequest) Reset() { *m = GetGroupRequest{} } func (m *GetGroupRequest) String() string { return proto.CompactTextString(m) } func (*GetGroupRequest) ProtoMessage() {} func (*GetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{2} + return fileDescriptor_group_service_c051ad810375e8ee, []int{2} } func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupRequest.Unmarshal(m, b) @@ -334,7 +338,7 @@ func (m *CreateGroupRequest) Reset() { *m = CreateGroupRequest{} } func (m *CreateGroupRequest) String() string { return proto.CompactTextString(m) } func (*CreateGroupRequest) ProtoMessage() {} func (*CreateGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{3} + return fileDescriptor_group_service_c051ad810375e8ee, []int{3} } func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateGroupRequest.Unmarshal(m, b) @@ -391,7 +395,7 @@ func (m *UpdateGroupRequest) Reset() { *m = UpdateGroupRequest{} } func (m *UpdateGroupRequest) String() string { return proto.CompactTextString(m) } func (*UpdateGroupRequest) ProtoMessage() {} func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{4} + return fileDescriptor_group_service_c051ad810375e8ee, []int{4} } func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateGroupRequest.Unmarshal(m, b) @@ -439,7 +443,7 @@ func (m *DeleteGroupRequest) Reset() { *m = DeleteGroupRequest{} } func (m *DeleteGroupRequest) String() string { return proto.CompactTextString(m) } func (*DeleteGroupRequest) ProtoMessage() {} func (*DeleteGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{5} + return fileDescriptor_group_service_c051ad810375e8ee, []int{5} } func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteGroupRequest.Unmarshal(m, b) @@ -499,7 +503,7 @@ func (m *ListGroupMembersRequest) Reset() { *m = ListGroupMembersRequest func (m *ListGroupMembersRequest) String() string { return proto.CompactTextString(m) } func (*ListGroupMembersRequest) ProtoMessage() {} func (*ListGroupMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{6} + return fileDescriptor_group_service_c051ad810375e8ee, []int{6} } func (m *ListGroupMembersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListGroupMembersRequest.Unmarshal(m, b) @@ -573,7 +577,7 @@ func (m *ListGroupMembersResponse) Reset() { *m = ListGroupMembersRespon func (m *ListGroupMembersResponse) String() string { return proto.CompactTextString(m) } func (*ListGroupMembersResponse) ProtoMessage() {} func (*ListGroupMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_group_service_9b35a79e21b496f3, []int{7} + return fileDescriptor_group_service_c051ad810375e8ee, []int{7} } func (m *ListGroupMembersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListGroupMembersResponse.Unmarshal(m, b) @@ -877,10 +881,10 @@ var _GroupService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/monitoring/v3/group_service.proto", fileDescriptor_group_service_9b35a79e21b496f3) + proto.RegisterFile("google/monitoring/v3/group_service.proto", fileDescriptor_group_service_c051ad810375e8ee) } -var fileDescriptor_group_service_9b35a79e21b496f3 = []byte{ +var fileDescriptor_group_service_c051ad810375e8ee = []byte{ // 826 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x4c, 0x10, 0x7e, 0xdd, 0xa4, 0x69, 0xb2, 0x69, 0xd5, 0x76, 0x55, 0xf5, 0x8d, 0xdc, 0x0f, 0x05, 0xf7, diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go index b448a2ceb..d01dc19d8 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go @@ -6,6 +6,8 @@ package monitoring // import "google.golang.org/genproto/googleapis/monitoring/v import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" +import _ "google.golang.org/genproto/googleapis/api/annotations" +import _ "google.golang.org/genproto/googleapis/api/label" import metric "google.golang.org/genproto/googleapis/api/metric" import monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" @@ -22,14 +24,14 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // A single data point in a time series. type Point struct { - // The time interval to which the data point applies. For GAUGE metrics, only - // the end time of the interval is used. For DELTA metrics, the start and end - // time should specify a non-zero interval, with subsequent points specifying - // contiguous and non-overlapping intervals. For CUMULATIVE metrics, the - // start and end time should specify a non-zero interval, with subsequent - // points specifying the same start time and increasing end times, until an - // event resets the cumulative value to zero and sets a new start time for the - // following points. + // The time interval to which the data point applies. For `GAUGE` metrics, + // only the end time of the interval is used. For `DELTA` metrics, the start + // and end time should specify a non-zero interval, with subsequent points + // specifying contiguous and non-overlapping intervals. For `CUMULATIVE` + // metrics, the start and end time should specify a non-zero interval, with + // subsequent points specifying the same start time and increasing end times, + // until an event resets the cumulative value to zero and sets a new start + // time for the following points. Interval *TimeInterval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` // The value of the data point. Value *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` @@ -42,7 +44,7 @@ func (m *Point) Reset() { *m = Point{} } func (m *Point) String() string { return proto.CompactTextString(m) } func (*Point) ProtoMessage() {} func (*Point) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_d0e473d254297f3e, []int{0} + return fileDescriptor_metric_27948d2d9b5c61d2, []int{0} } func (m *Point) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Point.Unmarshal(m, b) @@ -84,9 +86,13 @@ type TimeSeries struct { // The associated metric. A fully-specified metric used to identify the time // series. Metric *metric.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - // The associated resource. A fully-specified monitored resource used to - // identify the time series. + // The associated monitored resource. Custom metrics can use only certain + // monitored resource types in their time series data. Resource *monitoredres.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` + // Output only. The associated monitored resource metadata. When reading a + // a timeseries, this field will include metadata labels that are explicitly + // named in the reduction. When creating a timeseries, this field is ignored. + Metadata *monitoredres.MonitoredResourceMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // The metric kind of the time series. When listing time series, this metric // kind might be different from the metric kind of the associated metric if // this time series is an alignment or reduction of other time series. @@ -104,8 +110,8 @@ type TimeSeries struct { // When creating a time series, this field is optional. If present, it must be // the same as the type of the data in the `points` field. ValueType metric.MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"` - // The data points of this time series. When listing time series, the order of - // the points is specified by the list method. + // The data points of this time series. When listing time series, points are + // returned in reverse time order. // // When creating a time series, this field must contain exactly one point and // the point's type must be the same as the value type of the associated @@ -122,7 +128,7 @@ func (m *TimeSeries) Reset() { *m = TimeSeries{} } func (m *TimeSeries) String() string { return proto.CompactTextString(m) } func (*TimeSeries) ProtoMessage() {} func (*TimeSeries) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_d0e473d254297f3e, []int{1} + return fileDescriptor_metric_27948d2d9b5c61d2, []int{1} } func (m *TimeSeries) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimeSeries.Unmarshal(m, b) @@ -156,6 +162,13 @@ func (m *TimeSeries) GetResource() *monitoredres.MonitoredResource { return nil } +func (m *TimeSeries) GetMetadata() *monitoredres.MonitoredResourceMetadata { + if m != nil { + return m.Metadata + } + return nil +} + func (m *TimeSeries) GetMetricKind() metric.MetricDescriptor_MetricKind { if m != nil { return m.MetricKind @@ -183,34 +196,37 @@ func init() { } func init() { - proto.RegisterFile("google/monitoring/v3/metric.proto", fileDescriptor_metric_d0e473d254297f3e) -} - -var fileDescriptor_metric_d0e473d254297f3e = []byte{ - // 396 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x7b, 0x5b, 0x7a, 0x27, 0x70, 0x17, 0xc3, 0x05, 0x43, 0x45, 0x88, 0x15, 0xb4, - 0xb8, 0x48, 0xa0, 0x01, 0x41, 0x84, 0x2e, 0xaa, 0xa2, 0x22, 0x42, 0x19, 0xa5, 0x0b, 0x29, 0x94, - 0x98, 0x0c, 0x61, 0x30, 0x99, 0x33, 0x4c, 0xd2, 0x40, 0x57, 0x3e, 0x8c, 0x3b, 0xdf, 0xc0, 0x57, - 0xf0, 0xa9, 0x24, 0x33, 0x93, 0xd6, 0x62,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2e, 0x68, - 0x1e, 0x49, 0x26, 0x0a, 0x90, 0xe6, 0xc7, 0x2d, 0xe3, 0x31, 0x41, 0xd9, 0xfa, 0x8c, 0x2f, 0x11, - 0x52, 0x8d, 0x2c, 0x8a, 0x95, 0xa0, 0xce, 0x1f, 0x65, 0x74, 0xf8, 0xab, 0x91, 0x6a, 0xbf, 0x1a, - 0x04, 0xf9, 0x5b, 0xd6, 0x47, 0x1c, 0xa0, 0xae, 0xa8, 0xf6, 0x90, 0x3b, 0x1d, 0xb7, 0x3d, 0xb4, - 0x47, 0xbb, 0xcd, 0xf3, 0x53, 0xbb, 0x22, 0x06, 0x9d, 0xbc, 0x5a, 0xc8, 0x89, 0x20, 0x6b, 0x44, - 0x27, 0xb6, 0x0e, 0x9e, 0x56, 0x6b, 0x9e, 0x5a, 0x8f, 0x63, 0x03, 0x25, 0x90, 0x86, 0x3c, 0xf1, - 0x40, 0x26, 0x7e, 0x42, 0xb9, 0x7a, 0x04, 0xbe, 0x96, 0x42, 0xc1, 0xf2, 0xed, 0xa7, 0x72, 0xb6, - 0xf9, 0x7a, 0x6b, 0xf5, 0xaf, 0xb4, 0xc1, 0x79, 0x0a, 0xcb, 0xb8, 0x1e, 0x6e, 0x95, 0x35, 0x0b, - 0x3e, 0x6a, 0x71, 0xae, 0xc4, 0xf9, 0x46, 0x9c, 0xcf, 0x82, 0xa7, 0xae, 0x0a, 0x09, 0x3e, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x28, 0x45, 0x7a, 0x13, 0x05, 0x03, 0x00, 0x00, + proto.RegisterFile("google/monitoring/v3/metric.proto", fileDescriptor_metric_27948d2d9b5c61d2) +} + +var fileDescriptor_metric_27948d2d9b5c61d2 = []byte{ + // 441 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x51, 0xab, 0xd3, 0x30, + 0x14, 0xc7, 0xe9, 0xae, 0x9b, 0x33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xa5, 0x5e, 0xe2, 0x5a, 0xd4, 0x57, 0xb7, 0xed, 0xcd, 0xe1, 0xef, 0xf7, 0x60, + 0xfa, 0xd1, 0x17, 0x78, 0x57, 0xe1, 0xae, 0xe8, 0x86, 0xdc, 0x66, 0xad, 0xb3, 0x3f, 0x9d, 0xb8, + 0x71, 0xe2, 0xe6, 0x20, 0x6e, 0xd6, 0xd9, 0xc5, 0xc8, 0x85, 0x64, 0xff, 0x02, 0x00, 0x00, 0xff, + 0xff, 0x5a, 0x88, 0xc9, 0x0b, 0x7e, 0x03, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go index 8a538ab46..38b5c770f 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go @@ -6,6 +6,7 @@ package monitoring // import "google.golang.org/genproto/googleapis/monitoring/v import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" +import _ "github.com/golang/protobuf/ptypes/duration" import empty "github.com/golang/protobuf/ptypes/empty" import _ "google.golang.org/genproto/googleapis/api/annotations" import metric "google.golang.org/genproto/googleapis/api/metric" @@ -53,7 +54,7 @@ func (x ListTimeSeriesRequest_TimeSeriesView) String() string { return proto.EnumName(ListTimeSeriesRequest_TimeSeriesView_name, int32(x)) } func (ListTimeSeriesRequest_TimeSeriesView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{8, 0} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{8, 0} } // The `ListMonitoredResourceDescriptors` request. @@ -86,7 +87,7 @@ func (m *ListMonitoredResourceDescriptorsRequest) Reset() { func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) } func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {} func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{0} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{0} } func (m *ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Unmarshal(m, b) @@ -134,7 +135,7 @@ func (m *ListMonitoredResourceDescriptorsRequest) GetPageToken() string { return "" } -// The `ListMonitoredResourcDescriptors` response. +// The `ListMonitoredResourceDescriptors` response. type ListMonitoredResourceDescriptorsResponse struct { // The monitored resource descriptors that are available to this project // and that match `filter`, if present. @@ -154,7 +155,7 @@ func (m *ListMonitoredResourceDescriptorsResponse) Reset() { func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) } func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {} func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{1} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{1} } func (m *ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Unmarshal(m, b) @@ -204,7 +205,7 @@ func (m *GetMonitoredResourceDescriptorRequest) Reset() { *m = GetMonito func (m *GetMonitoredResourceDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetMonitoredResourceDescriptorRequest) ProtoMessage() {} func (*GetMonitoredResourceDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{2} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{2} } func (m *GetMonitoredResourceDescriptorRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Unmarshal(m, b) @@ -260,7 +261,7 @@ func (m *ListMetricDescriptorsRequest) Reset() { *m = ListMetricDescript func (m *ListMetricDescriptorsRequest) String() string { return proto.CompactTextString(m) } func (*ListMetricDescriptorsRequest) ProtoMessage() {} func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{3} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{3} } func (m *ListMetricDescriptorsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMetricDescriptorsRequest.Unmarshal(m, b) @@ -326,7 +327,7 @@ func (m *ListMetricDescriptorsResponse) Reset() { *m = ListMetricDescrip func (m *ListMetricDescriptorsResponse) String() string { return proto.CompactTextString(m) } func (*ListMetricDescriptorsResponse) ProtoMessage() {} func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{4} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{4} } func (m *ListMetricDescriptorsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListMetricDescriptorsResponse.Unmarshal(m, b) @@ -376,7 +377,7 @@ func (m *GetMetricDescriptorRequest) Reset() { *m = GetMetricDescriptorR func (m *GetMetricDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetMetricDescriptorRequest) ProtoMessage() {} func (*GetMetricDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{5} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{5} } func (m *GetMetricDescriptorRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMetricDescriptorRequest.Unmarshal(m, b) @@ -420,7 +421,7 @@ func (m *CreateMetricDescriptorRequest) Reset() { *m = CreateMetricDescr func (m *CreateMetricDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*CreateMetricDescriptorRequest) ProtoMessage() {} func (*CreateMetricDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{6} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{6} } func (m *CreateMetricDescriptorRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateMetricDescriptorRequest.Unmarshal(m, b) @@ -470,7 +471,7 @@ func (m *DeleteMetricDescriptorRequest) Reset() { *m = DeleteMetricDescr func (m *DeleteMetricDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*DeleteMetricDescriptorRequest) ProtoMessage() {} func (*DeleteMetricDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{7} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{7} } func (m *DeleteMetricDescriptorRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteMetricDescriptorRequest.Unmarshal(m, b) @@ -518,16 +519,16 @@ type ListTimeSeriesRequest struct { // Use this field to combine multiple time series for different // views of the data. Aggregation *Aggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - // Specifies the order in which the points of the time series should - // be returned. By default, results are not ordered. Currently, - // this field must be left blank. + // Unsupported: must be left blank. The points in each time series are + // returned in reverse time order. OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Specifies which information is returned about the time series. View ListTimeSeriesRequest_TimeSeriesView `protobuf:"varint,7,opt,name=view,proto3,enum=google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView" json:"view,omitempty"` - // A positive number that is the maximum number of results to return. - // When `view` field sets to `FULL`, it limits the number of `Points` server - // will return; if `view` field is `HEADERS`, it limits the number of - // `TimeSeries` server will return. + // A positive number that is the maximum number of results to return. If + // `page_size` is empty or more than 100,000 results, the effective + // `page_size` is 100,000 results. If `view` is set to `FULL`, this is the + // maximum number of `Points` returned. If `view` is set to `HEADERS`, this is + // the maximum number of `TimeSeries` returned. PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // If this field is not empty then it must contain the `nextPageToken` value // returned by a previous call to this method. Using this field causes the @@ -542,7 +543,7 @@ func (m *ListTimeSeriesRequest) Reset() { *m = ListTimeSeriesRequest{} } func (m *ListTimeSeriesRequest) String() string { return proto.CompactTextString(m) } func (*ListTimeSeriesRequest) ProtoMessage() {} func (*ListTimeSeriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{8} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{8} } func (m *ListTimeSeriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTimeSeriesRequest.Unmarshal(m, b) @@ -625,17 +626,20 @@ type ListTimeSeriesResponse struct { // If there are more results than have been returned, then this field is set // to a non-empty value. To see the additional results, // use that value as `pageToken` in the next call to this method. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // Query execution errors that may have caused the time series data returned + // to be incomplete. + ExecutionErrors []*status.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ListTimeSeriesResponse) Reset() { *m = ListTimeSeriesResponse{} } func (m *ListTimeSeriesResponse) String() string { return proto.CompactTextString(m) } func (*ListTimeSeriesResponse) ProtoMessage() {} func (*ListTimeSeriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{9} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{9} } func (m *ListTimeSeriesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTimeSeriesResponse.Unmarshal(m, b) @@ -669,6 +673,13 @@ func (m *ListTimeSeriesResponse) GetNextPageToken() string { return "" } +func (m *ListTimeSeriesResponse) GetExecutionErrors() []*status.Status { + if m != nil { + return m.ExecutionErrors + } + return nil +} + // The `CreateTimeSeries` request. type CreateTimeSeriesRequest struct { // The project on which to execute the request. The format is @@ -689,7 +700,7 @@ func (m *CreateTimeSeriesRequest) Reset() { *m = CreateTimeSeriesRequest func (m *CreateTimeSeriesRequest) String() string { return proto.CompactTextString(m) } func (*CreateTimeSeriesRequest) ProtoMessage() {} func (*CreateTimeSeriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{10} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{10} } func (m *CreateTimeSeriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTimeSeriesRequest.Unmarshal(m, b) @@ -741,7 +752,7 @@ func (m *CreateTimeSeriesError) Reset() { *m = CreateTimeSeriesError{} } func (m *CreateTimeSeriesError) String() string { return proto.CompactTextString(m) } func (*CreateTimeSeriesError) ProtoMessage() {} func (*CreateTimeSeriesError) Descriptor() ([]byte, []int) { - return fileDescriptor_metric_service_3e2367d768532ae0, []int{11} + return fileDescriptor_metric_service_6b0c3991af8d9a29, []int{11} } func (m *CreateTimeSeriesError) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTimeSeriesError.Unmarshal(m, b) @@ -1123,73 +1134,75 @@ var _MetricService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/monitoring/v3/metric_service.proto", fileDescriptor_metric_service_3e2367d768532ae0) -} - -var fileDescriptor_metric_service_3e2367d768532ae0 = []byte{ - // 1011 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0x1b, 0x45, - 0x18, 0x66, 0x92, 0x34, 0x1f, 0xaf, 0xd5, 0x90, 0x4e, 0x5b, 0xd7, 0x6c, 0x13, 0xe4, 0x2e, 0x2a, - 0x71, 0xdd, 0xb2, 0x5b, 0xd9, 0x15, 0x87, 0x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, 0x3a, 0xc4, 0x93, 0x20, 0xcc, 0xc8, 0x64, 0xfb, 0x34, 0x18, - 0xfd, 0x1f, 0xb3, 0x39, 0x78, 0x7a, 0x3d, 0xa3, 0x3d, 0x8e, 0x12, 0xec, 0x76, 0x59, 0xef, 0x34, - 0x5e, 0x4d, 0x61, 0xc9, 0xa3, 0xe6, 0x1f, 0xb1, 0xf1, 0x58, 0x1a, 0x8f, 0x07, 0xc6, 0xe3, 0xa3, - 0xe6, 0xc9, 0xbc, 0x2c, 0xd2, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x96, 0x3c, 0x74, 0xeb, - 0x0d, 0x00, 0x00, + proto.RegisterFile("google/monitoring/v3/metric_service.proto", fileDescriptor_metric_service_6b0c3991af8d9a29) +} + +var fileDescriptor_metric_service_6b0c3991af8d9a29 = []byte{ + // 1049 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0x67, 0xe2, 0x34, 0x71, 0x9e, 0xd5, 0xd4, 0x9d, 0xb6, 0xae, 0xd9, 0x26, 0x95, 0xbb, 0xa8, + 0xc4, 0x75, 0xcb, 0x6e, 0x65, 0x57, 0x1c, 0x92, 0x26, 0x52, 0xfe, 0x51, 0x2a, 0x02, 0x8a, 0xd6, + 0x25, 0x87, 0x2a, 0x92, 0xb5, 0xb1, 0xa7, 0xab, 0x01, 0xef, 0xce, 0x32, 0x3b, 0x76, 0x9b, 0xa2, + 0x70, 0xe0, 0xd0, 0x3b, 0x02, 0x24, 0xf8, 0x0a, 0x39, 0x80, 0xf8, 0x0a, 0x88, 0x13, 0x57, 0xce, + 0xdc, 0xf8, 0x0a, 0xdc, 0xd1, 0xce, 0xee, 0xc6, 0xf6, 0x7a, 0x77, 0x6d, 0x73, 0xe9, 0xcd, 0x3b, + 0xef, 0xcd, 0x7b, 0xbf, 0x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+ 0x04, 0xd8, 0xed, 0xb2, 0x5e, 0x27, 0x1a, 0x4d, 0x7e, 0xca, 0xa3, 0xc6, 0x9f, 0x91, 0xf1, 0x58, + 0x1a, 0x8f, 0x07, 0xc6, 0xe3, 0xa3, 0xc6, 0xc9, 0x82, 0x4c, 0xd2, 0xf8, 0x2f, 0x00, 0x00, 0xff, + 0xff, 0x79, 0x2b, 0x3b, 0x90, 0x4a, 0x0e, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go index f59cba8af..dbace7899 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go @@ -34,7 +34,7 @@ func (m *MutationRecord) Reset() { *m = MutationRecord{} } func (m *MutationRecord) String() string { return proto.CompactTextString(m) } func (*MutationRecord) ProtoMessage() {} func (*MutationRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_mutation_record_7a7b59a768928dc9, []int{0} + return fileDescriptor_mutation_record_c4e4f383b5193b81, []int{0} } func (m *MutationRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MutationRecord.Unmarshal(m, b) @@ -73,10 +73,10 @@ func init() { } func init() { - proto.RegisterFile("google/monitoring/v3/mutation_record.proto", fileDescriptor_mutation_record_7a7b59a768928dc9) + proto.RegisterFile("google/monitoring/v3/mutation_record.proto", fileDescriptor_mutation_record_c4e4f383b5193b81) } -var fileDescriptor_mutation_record_7a7b59a768928dc9 = []byte{ +var fileDescriptor_mutation_record_c4e4f383b5193b81 = []byte{ // 251 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go index 8895769ad..a3d70d842 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go @@ -60,7 +60,7 @@ func (x NotificationChannel_VerificationStatus) String() string { return proto.EnumName(NotificationChannel_VerificationStatus_name, int32(x)) } func (NotificationChannel_VerificationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_notification_22cdd47ecea3076c, []int{1, 0} + return fileDescriptor_notification_5449d40305a71b45, []int{1, 0} } // A description of a notification channel. The descriptor includes @@ -89,7 +89,7 @@ type NotificationChannelDescriptor struct { Labels []*label.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` // The tiers that support this notification channel; the project service tier // must be one of the supported_tiers. - SupportedTiers []ServiceTier `protobuf:"varint,5,rep,packed,name=supported_tiers,json=supportedTiers,proto3,enum=google.monitoring.v3.ServiceTier" json:"supported_tiers,omitempty"` + SupportedTiers []ServiceTier `protobuf:"varint,5,rep,packed,name=supported_tiers,json=supportedTiers,proto3,enum=google.monitoring.v3.ServiceTier" json:"supported_tiers,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -99,7 +99,7 @@ func (m *NotificationChannelDescriptor) Reset() { *m = NotificationChann func (m *NotificationChannelDescriptor) String() string { return proto.CompactTextString(m) } func (*NotificationChannelDescriptor) ProtoMessage() {} func (*NotificationChannelDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_22cdd47ecea3076c, []int{0} + return fileDescriptor_notification_5449d40305a71b45, []int{0} } func (m *NotificationChannelDescriptor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NotificationChannelDescriptor.Unmarshal(m, b) @@ -154,6 +154,7 @@ func (m *NotificationChannelDescriptor) GetLabels() []*label.LabelDescriptor { return nil } +// Deprecated: Do not use. func (m *NotificationChannelDescriptor) GetSupportedTiers() []ServiceTier { if m != nil { return m.SupportedTiers @@ -236,7 +237,7 @@ func (m *NotificationChannel) Reset() { *m = NotificationChannel{} } func (m *NotificationChannel) String() string { return proto.CompactTextString(m) } func (*NotificationChannel) ProtoMessage() {} func (*NotificationChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_22cdd47ecea3076c, []int{1} + return fileDescriptor_notification_5449d40305a71b45, []int{1} } func (m *NotificationChannel) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NotificationChannel.Unmarshal(m, b) @@ -321,47 +322,47 @@ func init() { } func init() { - proto.RegisterFile("google/monitoring/v3/notification.proto", fileDescriptor_notification_22cdd47ecea3076c) + proto.RegisterFile("google/monitoring/v3/notification.proto", fileDescriptor_notification_5449d40305a71b45) } -var fileDescriptor_notification_22cdd47ecea3076c = []byte{ - // 599 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0xc7, 0x49, 0xbb, 0x8e, 0xcd, 0x99, 0xba, 0xe1, 0x4d, 0x28, 0x0a, 0x5f, 0xdd, 0xb8, 0xa0, - 0x57, 0x89, 0xd4, 0x82, 0xc4, 0xf8, 0x92, 0xb6, 0xae, 0x43, 0x45, 0xac, 0x4c, 0xfd, 0x42, 0x9a, - 0x26, 0x55, 0x6e, 0xeb, 0x05, 0x8b, 0xc4, 0x8e, 0x6c, 0x27, 0xa8, 0x0f, 0xc1, 0x63, 0x70, 0x01, - 0x8f, 0xc2, 0x53, 0xa1, 0x38, 0x6e, 0x12, 0xb6, 0x48, 0x8c, 0x3b, 0x9f, 0x73, 0xfe, 0xe7, 0x7f, - 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 0xa5, - 0x61, 0xbf, 0x05, 0xdb, 0xd7, 0xce, 0xff, 0x9f, 0xf6, 0x83, 0xcf, 0x00, 0xde, 0xbc, 0x0c, 0x3e, - 0x05, 0x4f, 0x26, 0xdd, 0x41, 0xef, 0xb4, 0xd7, 0x39, 0x1a, 0xf5, 0x3e, 0xf5, 0xa7, 0xc3, 0xd1, - 0xd1, 0x68, 0x3c, 0x9c, 0x8e, 0xfb, 0xc3, 0xf3, 0x6e, 0xa7, 0x77, 0xda, 0xeb, 0x9e, 0xec, 0xdc, - 0x81, 0x75, 0x00, 0xc6, 0xfd, 0x54, 0xd6, 0x3d, 0xd9, 0x31, 0xe0, 0x16, 0xd8, 0xc8, 0xa2, 0xca, - 0xf1, 0x4f, 0x03, 0x58, 0x73, 0x16, 0x94, 0x02, 0x3e, 0xbe, 0x57, 0x24, 0x7c, 0x9e, 0x80, 0x39, - 0x37, 0x2e, 0xde, 0x69, 0xa9, 0xc7, 0x7c, 0x44, 0x3d, 0x87, 0x71, 0xcf, 0xf5, 0x30, 0x55, 0xd8, - 0xdc, 0xb4, 0x84, 0x42, 0x22, 0xfe, 0xfe, 0x2f, 0x79, 0x9d, 0x47, 0xbf, 0x2a, 0xf6, 0xfb, 0xd4, - 0xa0, 0xe3, 0xb3, 0x68, 0xe1, 0x9c, 0xe5, 0x13, 0x27, 0xed, 0xdf, 0xab, 0xe2, 0xa5, 0x2a, 0x5e, - 0xe6, 0xc5, 0xcb, 0x49, 0x7b, 0xb6, 0xae, 0x86, 0xb4, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xdf, - 0xb9, 0x3f, 0x8b, 0x24, 0x05, 0x00, 0x00, +var fileDescriptor_notification_5449d40305a71b45 = []byte{ + // 602 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x6d, 0x6b, 0xdb, 0x3c, + 0x14, 0x7d, 0x9c, 0x34, 0x7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0x9e, 0x4f, 0x9c, 0xb6, 0x7f, 0xad, 0x9b, + 0x57, 0xaa, 0x79, 0x95, 0x37, 0xaf, 0xa6, 0xed, 0xf9, 0xa6, 0x1a, 0xd2, 0xfe, 0x1d, 0x00, 0x00, + 0xff, 0xff, 0xf7, 0x1b, 0x09, 0x21, 0x28, 0x05, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go index 7a14f9aca..4dbcd8c68 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go @@ -7,6 +7,7 @@ import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import empty "github.com/golang/protobuf/ptypes/empty" +import _ "github.com/golang/protobuf/ptypes/struct" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import field_mask "google.golang.org/genproto/protobuf/field_mask" @@ -58,7 +59,7 @@ func (m *ListNotificationChannelDescriptorsRequest) Reset() { func (m *ListNotificationChannelDescriptorsRequest) String() string { return proto.CompactTextString(m) } func (*ListNotificationChannelDescriptorsRequest) ProtoMessage() {} func (*ListNotificationChannelDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{0} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{0} } func (m *ListNotificationChannelDescriptorsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Unmarshal(m, b) @@ -122,7 +123,7 @@ func (m *ListNotificationChannelDescriptorsResponse) String() string { } func (*ListNotificationChannelDescriptorsResponse) ProtoMessage() {} func (*ListNotificationChannelDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{1} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{1} } func (m *ListNotificationChannelDescriptorsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Unmarshal(m, b) @@ -172,7 +173,7 @@ func (m *GetNotificationChannelDescriptorRequest) Reset() { func (m *GetNotificationChannelDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetNotificationChannelDescriptorRequest) ProtoMessage() {} func (*GetNotificationChannelDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{2} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{2} } func (m *GetNotificationChannelDescriptorRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Unmarshal(m, b) @@ -221,7 +222,7 @@ func (m *CreateNotificationChannelRequest) Reset() { *m = CreateNotifica func (m *CreateNotificationChannelRequest) String() string { return proto.CompactTextString(m) } func (*CreateNotificationChannelRequest) ProtoMessage() {} func (*CreateNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{3} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{3} } func (m *CreateNotificationChannelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNotificationChannelRequest.Unmarshal(m, b) @@ -294,7 +295,7 @@ func (m *ListNotificationChannelsRequest) Reset() { *m = ListNotificatio func (m *ListNotificationChannelsRequest) String() string { return proto.CompactTextString(m) } func (*ListNotificationChannelsRequest) ProtoMessage() {} func (*ListNotificationChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{4} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{4} } func (m *ListNotificationChannelsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNotificationChannelsRequest.Unmarshal(m, b) @@ -367,7 +368,7 @@ func (m *ListNotificationChannelsResponse) Reset() { *m = ListNotificati func (m *ListNotificationChannelsResponse) String() string { return proto.CompactTextString(m) } func (*ListNotificationChannelsResponse) ProtoMessage() {} func (*ListNotificationChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{5} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{5} } func (m *ListNotificationChannelsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNotificationChannelsResponse.Unmarshal(m, b) @@ -415,7 +416,7 @@ func (m *GetNotificationChannelRequest) Reset() { *m = GetNotificationCh func (m *GetNotificationChannelRequest) String() string { return proto.CompactTextString(m) } func (*GetNotificationChannelRequest) ProtoMessage() {} func (*GetNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{6} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{6} } func (m *GetNotificationChannelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNotificationChannelRequest.Unmarshal(m, b) @@ -460,7 +461,7 @@ func (m *UpdateNotificationChannelRequest) Reset() { *m = UpdateNotifica func (m *UpdateNotificationChannelRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNotificationChannelRequest) ProtoMessage() {} func (*UpdateNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{7} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{7} } func (m *UpdateNotificationChannelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNotificationChannelRequest.Unmarshal(m, b) @@ -513,7 +514,7 @@ func (m *DeleteNotificationChannelRequest) Reset() { *m = DeleteNotifica func (m *DeleteNotificationChannelRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNotificationChannelRequest) ProtoMessage() {} func (*DeleteNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{8} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{8} } func (m *DeleteNotificationChannelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNotificationChannelRequest.Unmarshal(m, b) @@ -564,7 +565,7 @@ func (m *SendNotificationChannelVerificationCodeRequest) String() string { } func (*SendNotificationChannelVerificationCodeRequest) ProtoMessage() {} func (*SendNotificationChannelVerificationCodeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{9} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{9} } func (m *SendNotificationChannelVerificationCodeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Unmarshal(m, b) @@ -620,7 +621,7 @@ func (m *GetNotificationChannelVerificationCodeRequest) String() string { } func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage() {} func (*GetNotificationChannelVerificationCodeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{10} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{10} } func (m *GetNotificationChannelVerificationCodeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Unmarshal(m, b) @@ -678,7 +679,7 @@ func (m *GetNotificationChannelVerificationCodeResponse) String() string { } func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage() {} func (*GetNotificationChannelVerificationCodeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{11} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{11} } func (m *GetNotificationChannelVerificationCodeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Unmarshal(m, b) @@ -733,7 +734,7 @@ func (m *VerifyNotificationChannelRequest) Reset() { *m = VerifyNotifica func (m *VerifyNotificationChannelRequest) String() string { return proto.CompactTextString(m) } func (*VerifyNotificationChannelRequest) ProtoMessage() {} func (*VerifyNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_notification_service_12081d5e6a810871, []int{12} + return fileDescriptor_notification_service_e0bdcc277cafcf7d, []int{12} } func (m *VerifyNotificationChannelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VerifyNotificationChannelRequest.Unmarshal(m, b) @@ -810,7 +811,7 @@ type NotificationChannelServiceClient interface { // that was supplied in the call to the create method. GetNotificationChannel(ctx context.Context, in *GetNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) // Creates a new notification channel, representing a single notification - // endpoint such as an email address, SMS number, or pagerduty service. + // endpoint such as an email address, SMS number, or PagerDuty service. CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) // Updates a notification channel. Fields not specified in the field mask // remain unchanged. @@ -963,7 +964,7 @@ type NotificationChannelServiceServer interface { // that was supplied in the call to the create method. GetNotificationChannel(context.Context, *GetNotificationChannelRequest) (*NotificationChannel, error) // Creates a new notification channel, representing a single notification - // endpoint such as an email address, SMS number, or pagerduty service. + // endpoint such as an email address, SMS number, or PagerDuty service. CreateNotificationChannel(context.Context, *CreateNotificationChannelRequest) (*NotificationChannel, error) // Updates a notification channel. Fields not specified in the field mask // remain unchanged. @@ -1235,73 +1236,73 @@ var _NotificationChannelService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/monitoring/v3/notification_service.proto", fileDescriptor_notification_service_12081d5e6a810871) + proto.RegisterFile("google/monitoring/v3/notification_service.proto", fileDescriptor_notification_service_e0bdcc277cafcf7d) } -var fileDescriptor_notification_service_12081d5e6a810871 = []byte{ - // 1011 bytes of a gzipped FileDescriptorProto +var fileDescriptor_notification_service_e0bdcc277cafcf7d = []byte{ + // 1020 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0xd6, 0xec, 0x26, 0x69, 0xfa, 0x22, 0x04, 0x9a, 0x86, 0xc8, 0xbb, 0xa5, 0xaa, 0xe5, 0x43, + 0x14, 0xd6, 0xec, 0x26, 0x69, 0xfa, 0x22, 0x04, 0x9a, 0x86, 0xc8, 0xd9, 0xb6, 0xaa, 0xe5, 0x43, 0x93, 0xae, 0x8a, 0x2d, 0xad, 0x4b, 0x84, 0x52, 0x52, 0xda, 0x64, 0xdb, 0x22, 0x48, 0x51, 0xb4, - 0x29, 0x91, 0x40, 0x11, 0x2b, 0xc7, 0x7e, 0x6b, 0x4c, 0x76, 0x67, 0x8c, 0x3d, 0x89, 0x9a, 0x56, - 0x95, 0x0a, 0x7f, 0x01, 0xfe, 0x00, 0x12, 0xa7, 0x1e, 0x10, 0x67, 0x50, 0x39, 0x23, 0xae, 0x08, - 0xae, 0x5c, 0xe0, 0x7f, 0x20, 0x8f, 0xbd, 0xd9, 0xcd, 0x66, 0xbc, 0x6b, 0x37, 0xdc, 0x3c, 0xf3, - 0xde, 0xbc, 0xf7, 0xbd, 0xef, 0x7d, 0x9e, 0x67, 0x83, 0xe5, 0x73, 0xee, 0xf7, 0xd0, 0xea, 0x73, - 0x16, 0x08, 0x1e, 0x05, 0xcc, 0xb7, 0x8e, 0x6c, 0x8b, 0x71, 0x11, 0x74, 0x03, 0xd7, 0x11, 0x01, - 0x67, 0x9d, 0x18, 0xa3, 0xa3, 0xc0, 0x45, 0x33, 0x8c, 0xb8, 0xe0, 0x74, 0x31, 0x3d, 0x60, 0x0e, - 0x0f, 0x98, 0x47, 0x76, 0xfd, 0xad, 0x2c, 0x8c, 0x13, 0x06, 0x96, 0xc3, 0x18, 0x17, 0xf2, 0x68, - 0x9c, 0x9e, 0xa9, 0x2f, 0x4f, 0x4d, 0x92, 0x39, 0x5e, 0xce, 0x1c, 0xe5, 0x6a, 0xff, 0xb0, 0x6b, - 0x61, 0x3f, 0x14, 0xc7, 0x99, 0x51, 0x1f, 0x37, 0x76, 0x03, 0xec, 0x79, 0x9d, 0xbe, 0x13, 0x1f, - 0x64, 0x1e, 0x57, 0xc7, 0x3d, 0x44, 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0x65, + 0xde, 0xf4, 0xbc, 0xac, 0x9a, 0xaf, 0xe6, 0x44, 0xf5, 0xb0, 0x8f, 0x25, 0x07, 0x77, 0xad, 0xdb, + 0xa5, 0x38, 0x08, 0x89, 0xd0, 0x51, 0xf0, 0x1b, 0x82, 0xe5, 0xdc, 0x49, 0x9e, 0x27, 0xbf, 0x69, + 0xa3, 0xbf, 0xcc, 0x0b, 0xa6, 0xa6, 0x8b, 0xe5, 0x96, 0xca, 0xe6, 0x48, 0x22, 0x58, 0x47, 0xf5, + 0xcd, 0x9f, 0x11, 0x18, 0x3e, 0xeb, 0x69, 0x03, 0x6e, 0x1a, 0xa3, 0x11, 0xd5, 0x07, 0xc5, 0x4e, + 0xaa, 0xa8, 0x1d, 0xf4, 0xf9, 0x2d, 0x75, 0x23, 0x64, 0x5d, 0x8f, 0x86, 0x36, 0x4b, 0x42, 0x27, + 0x24, 0x54, 0xea, 0x4d, 0xfd, 0xdd, 0x7b, 0x71, 0xc4, 0x4f, 0xff, 0x7c, 0xdf, 0x1c, 0xae, 0x9e, + 0x57, 0x6a, 0xf7, 0x33, 0x07, 0x5b, 0x5d, 0xd6, 0x0f, 0xec, 0x07, 0xc3, 0xc0, 0x7b, 0xee, 0x1f, + 0x03, 0xe3, 0xbe, 0x34, 0xee, 0x0f, 0x8d, 0xfb, 0x7b, 0xee, 0xc1, 0x9c, 0x0c, 0xe2, 0xfe, 0x1f, + 0x00, 0x00, 0xff, 0xff, 0x57, 0x01, 0xd1, 0x1c, 0x45, 0x10, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go new file mode 100644 index 000000000..9778aa43e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go @@ -0,0 +1,96 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/monitoring/v3/span_context.proto + +package monitoring // import "google.golang.org/genproto/googleapis/monitoring/v3" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +// The context of a span, attached to google.api.Distribution.Exemplars +// in google.api.Distribution values during aggregation. +// +// It contains the name of a span with format: +// projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] +type SpanContext struct { + // The resource name of the span in the following format: + // + // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] + // + // [TRACE_ID] is a unique identifier for a trace within a project; + // it is a 32-character hexadecimal encoding of a 16-byte array. + // + // [SPAN_ID] is a unique identifier for a span within a trace; it + // is a 16-character hexadecimal encoding of an 8-byte array. + SpanName string `protobuf:"bytes,1,opt,name=span_name,json=spanName,proto3" json:"span_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SpanContext) Reset() { *m = SpanContext{} } +func (m *SpanContext) String() string { return proto.CompactTextString(m) } +func (*SpanContext) ProtoMessage() {} +func (*SpanContext) Descriptor() ([]byte, []int) { + return fileDescriptor_span_context_0c1dbe9c6f1a1a54, []int{0} +} +func (m *SpanContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SpanContext.Unmarshal(m, b) +} +func (m *SpanContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SpanContext.Marshal(b, m, deterministic) +} +func (dst *SpanContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpanContext.Merge(dst, src) +} +func (m *SpanContext) XXX_Size() int { + return xxx_messageInfo_SpanContext.Size(m) +} +func (m *SpanContext) XXX_DiscardUnknown() { + xxx_messageInfo_SpanContext.DiscardUnknown(m) +} + +var xxx_messageInfo_SpanContext proto.InternalMessageInfo + +func (m *SpanContext) GetSpanName() string { + if m != nil { + return m.SpanName + } + return "" +} + +func init() { + proto.RegisterType((*SpanContext)(nil), "google.monitoring.v3.SpanContext") +} + +func init() { + proto.RegisterFile("google/monitoring/v3/span_context.proto", fileDescriptor_span_context_0c1dbe9c6f1a1a54) +} + +var fileDescriptor_span_context_0c1dbe9c6f1a1a54 = []byte{ + // 197 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, + 0xd6, 0x2f, 0x2e, 0x48, 0xcc, 0x8b, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xad, 0x28, 0xd1, 0x2b, 0x28, + 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x28, 0xd4, 0x43, 0x28, 0xd4, 0x2b, 0x33, 0x56, 0xd2, 0xe2, + 0xe2, 0x0e, 0x2e, 0x48, 0xcc, 0x73, 0x86, 0x28, 0x15, 0x92, 0xe6, 0xe2, 0x04, 0x6b, 0xcd, 0x4b, + 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x00, 0x09, 0xf8, 0x25, 0xe6, 0xa6, + 0x3a, 0xad, 0x60, 0xe4, 0x92, 0x48, 0xce, 0xcf, 0xd5, 0xc3, 0x66, 0x90, 0x93, 0x00, 0x92, 0x31, + 0x01, 0x20, 0x0b, 0x03, 0x18, 0xa3, 0xec, 0xa0, 0x2a, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, + 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xce, 0xd1, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, + 0xa3, 0x3a, 0xdd, 0x1a, 0xc1, 0x5b, 0xc5, 0x24, 0xe5, 0x0e, 0x31, 0xc0, 0x39, 0x27, 0xbf, 0x34, + 0x45, 0xcf, 0x17, 0x61, 0x61, 0x98, 0xf1, 0x29, 0x98, 0x64, 0x0c, 0x58, 0x32, 0x06, 0x21, 0x19, + 0x13, 0x66, 0x9c, 0xc4, 0x06, 0xb6, 0xc4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x19, 0x01, + 0xcb, 0x1e, 0x01, 0x00, 0x00, +} diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go index cb1cf7ee4..9326d663f 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go @@ -58,20 +58,23 @@ func (x UptimeCheckRegion) String() string { return proto.EnumName(UptimeCheckRegion_name, int32(x)) } func (UptimeCheckRegion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{0} } // The supported resource types that can be used as values of -// group_resource.resource_type. gae_app and uptime_url are not allowed -// because group checks on App Engine modules and URLs are not allowed. +// `group_resource.resource_type`. +// `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. +// The resource types `gae_app` and `uptime_url` are not valid here because +// group checks on App Engine modules and URLs are not allowed. type GroupResourceType int32 const ( // Default value (not valid). GroupResourceType_RESOURCE_TYPE_UNSPECIFIED GroupResourceType = 0 - // A group of instances (could be either GCE or AWS_EC2). + // A group of instances from Google Cloud Platform (GCP) or + // Amazon Web Services (AWS). GroupResourceType_INSTANCE GroupResourceType = 1 - // A group of AWS load balancers. + // A group of Amazon ELB load balancers. GroupResourceType_AWS_ELB_LOAD_BALANCER GroupResourceType = 2 ) @@ -90,7 +93,95 @@ func (x GroupResourceType) String() string { return proto.EnumName(GroupResourceType_name, int32(x)) } func (GroupResourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{1} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1} +} + +// An internal checker allows uptime checks to run on private/internal GCP +// resources. +type InternalChecker struct { + // A unique resource name for this InternalChecker. The format is: + // + // + // `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`. + // + // PROJECT_ID is the stackdriver workspace project for the + // uptime check config associated with the internal checker. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The checker's human-readable name. The display name + // should be unique within a Stackdriver Workspace in order to make it easier + // to identify; however, uniqueness is not enforced. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the + // internal resource lives (ex: "default"). + Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` + // The GCP zone the uptime check should egress from. Only respected for + // internal uptime checks, where internal_network is specified. + GcpZone string `protobuf:"bytes,4,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"` + // The GCP project_id where the internal checker lives. Not necessary + // the same as the workspace project. + PeerProjectId string `protobuf:"bytes,6,opt,name=peer_project_id,json=peerProjectId,proto3" json:"peer_project_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InternalChecker) Reset() { *m = InternalChecker{} } +func (m *InternalChecker) String() string { return proto.CompactTextString(m) } +func (*InternalChecker) ProtoMessage() {} +func (*InternalChecker) Descriptor() ([]byte, []int) { + return fileDescriptor_uptime_9dda9bdcd2304945, []int{0} +} +func (m *InternalChecker) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InternalChecker.Unmarshal(m, b) +} +func (m *InternalChecker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InternalChecker.Marshal(b, m, deterministic) +} +func (dst *InternalChecker) XXX_Merge(src proto.Message) { + xxx_messageInfo_InternalChecker.Merge(dst, src) +} +func (m *InternalChecker) XXX_Size() int { + return xxx_messageInfo_InternalChecker.Size(m) +} +func (m *InternalChecker) XXX_DiscardUnknown() { + xxx_messageInfo_InternalChecker.DiscardUnknown(m) +} + +var xxx_messageInfo_InternalChecker proto.InternalMessageInfo + +func (m *InternalChecker) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *InternalChecker) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *InternalChecker) GetNetwork() string { + if m != nil { + return m.Network + } + return "" +} + +func (m *InternalChecker) GetGcpZone() string { + if m != nil { + return m.GcpZone + } + return "" +} + +func (m *InternalChecker) GetPeerProjectId() string { + if m != nil { + return m.PeerProjectId + } + return "" } // This message configures which resources and services to monitor for @@ -106,7 +197,7 @@ type UptimeCheckConfig struct { // response. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A human-friendly name for the uptime check configuration. The display name - // should be unique within a Stackdriver Account in order to make it easier + // should be unique within a Stackdriver Workspace in order to make it easier // to identify; however, uniqueness is not enforced. Required. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The resource the check is checking. Required. @@ -121,8 +212,10 @@ type UptimeCheckConfig struct { // *UptimeCheckConfig_HttpCheck_ // *UptimeCheckConfig_TcpCheck_ CheckRequestType isUptimeCheckConfig_CheckRequestType `protobuf_oneof:"check_request_type"` - // How often the uptime check is performed. - // Currently, only 1, 5, 10, and 15 minutes are supported. Required. + // How often, in seconds, the uptime check is performed. + // Currently, the only supported values are `60s` (1 minute), `300s` + // (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, + // defaults to `300s`. Period *duration.Duration `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"` // The maximum amount of time to wait for the request to complete (must be // between 1 and 60 seconds). Required. @@ -134,23 +227,31 @@ type UptimeCheckConfig struct { // specified if a content match is required. ContentMatchers []*UptimeCheckConfig_ContentMatcher `protobuf:"bytes,9,rep,name=content_matchers,json=contentMatchers,proto3" json:"content_matchers,omitempty"` // The list of regions from which the check will be run. + // Some regions contain one location, and others contain more than one. // If this field is specified, enough regions to include a minimum of // 3 locations must be provided, or an error message is returned. // Not specifying this field will result in uptime checks running from all // regions. SelectedRegions []UptimeCheckRegion `protobuf:"varint,10,rep,packed,name=selected_regions,json=selectedRegions,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"selected_regions,omitempty"` - // The internal checkers that this check will egress from. - InternalCheckers []*UptimeCheckConfig_InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // If this is true, then checks are made only from the 'internal_checkers'. + // If it is false, then checks are made only from the 'selected_regions'. + // It is an error to provide 'selected_regions' when is_internal is true, + // or to provide 'internal_checkers' when is_internal is false. + IsInternal bool `protobuf:"varint,15,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"` + // The internal checkers that this check will egress from. If `is_internal` is + // true and this list is empty, the check will egress from all the + // InternalCheckers configured for the project that owns this CheckConfig. + InternalCheckers []*InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UptimeCheckConfig) Reset() { *m = UptimeCheckConfig{} } func (m *UptimeCheckConfig) String() string { return proto.CompactTextString(m) } func (*UptimeCheckConfig) ProtoMessage() {} func (*UptimeCheckConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1} } func (m *UptimeCheckConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckConfig.Unmarshal(m, b) @@ -170,30 +271,35 @@ func (m *UptimeCheckConfig) XXX_DiscardUnknown() { var xxx_messageInfo_UptimeCheckConfig proto.InternalMessageInfo +func (m *UptimeCheckConfig) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UptimeCheckConfig) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + type isUptimeCheckConfig_Resource interface { isUptimeCheckConfig_Resource() } -type isUptimeCheckConfig_CheckRequestType interface { - isUptimeCheckConfig_CheckRequestType() -} type UptimeCheckConfig_MonitoredResource struct { MonitoredResource *monitoredres.MonitoredResource `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3,oneof"` } + type UptimeCheckConfig_ResourceGroup_ struct { ResourceGroup *UptimeCheckConfig_ResourceGroup `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3,oneof"` } -type UptimeCheckConfig_HttpCheck_ struct { - HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,proto3,oneof"` -} -type UptimeCheckConfig_TcpCheck_ struct { - TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,proto3,oneof"` -} -func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {} -func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {} -func (*UptimeCheckConfig_HttpCheck_) isUptimeCheckConfig_CheckRequestType() {} -func (*UptimeCheckConfig_TcpCheck_) isUptimeCheckConfig_CheckRequestType() {} +func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {} + +func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {} func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource { if m != nil { @@ -201,26 +307,6 @@ func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource { } return nil } -func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType { - if m != nil { - return m.CheckRequestType - } - return nil -} - -func (m *UptimeCheckConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UptimeCheckConfig) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} func (m *UptimeCheckConfig) GetMonitoredResource() *monitoredres.MonitoredResource { if x, ok := m.GetResource().(*UptimeCheckConfig_MonitoredResource); ok { @@ -236,6 +322,29 @@ func (m *UptimeCheckConfig) GetResourceGroup() *UptimeCheckConfig_ResourceGroup return nil } +type isUptimeCheckConfig_CheckRequestType interface { + isUptimeCheckConfig_CheckRequestType() +} + +type UptimeCheckConfig_HttpCheck_ struct { + HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,proto3,oneof"` +} + +type UptimeCheckConfig_TcpCheck_ struct { + TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,proto3,oneof"` +} + +func (*UptimeCheckConfig_HttpCheck_) isUptimeCheckConfig_CheckRequestType() {} + +func (*UptimeCheckConfig_TcpCheck_) isUptimeCheckConfig_CheckRequestType() {} + +func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType { + if m != nil { + return m.CheckRequestType + } + return nil +} + func (m *UptimeCheckConfig) GetHttpCheck() *UptimeCheckConfig_HttpCheck { if x, ok := m.GetCheckRequestType().(*UptimeCheckConfig_HttpCheck_); ok { return x.HttpCheck @@ -278,7 +387,14 @@ func (m *UptimeCheckConfig) GetSelectedRegions() []UptimeCheckRegion { return nil } -func (m *UptimeCheckConfig) GetInternalCheckers() []*UptimeCheckConfig_InternalChecker { +func (m *UptimeCheckConfig) GetIsInternal() bool { + if m != nil { + return m.IsInternal + } + return false +} + +func (m *UptimeCheckConfig) GetInternalCheckers() []*InternalChecker { if m != nil { return m.InternalCheckers } @@ -426,7 +542,7 @@ func (m *UptimeCheckConfig_ResourceGroup) Reset() { *m = UptimeCheckConf func (m *UptimeCheckConfig_ResourceGroup) String() string { return proto.CompactTextString(m) } func (*UptimeCheckConfig_ResourceGroup) ProtoMessage() {} func (*UptimeCheckConfig_ResourceGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0, 0} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1, 0} } func (m *UptimeCheckConfig_ResourceGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Unmarshal(m, b) @@ -489,6 +605,7 @@ type UptimeCheckConfig_HttpCheck struct { // https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). // Entering two separate headers with the same key in a Create call will // cause the first to be overwritten by the second. + // The maximum number of headers allowed is 100. Headers map[string]string `protobuf:"bytes,6,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -499,7 +616,7 @@ func (m *UptimeCheckConfig_HttpCheck) Reset() { *m = UptimeCheckConfig_H func (m *UptimeCheckConfig_HttpCheck) String() string { return proto.CompactTextString(m) } func (*UptimeCheckConfig_HttpCheck) ProtoMessage() {} func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0, 1} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1, 1} } func (m *UptimeCheckConfig_HttpCheck) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Unmarshal(m, b) @@ -582,7 +699,7 @@ func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) String() string { } func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage() {} func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0, 1, 0} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1, 1, 0} } func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Unmarshal(m, b) @@ -631,7 +748,7 @@ func (m *UptimeCheckConfig_TcpCheck) Reset() { *m = UptimeCheckConfig_Tc func (m *UptimeCheckConfig_TcpCheck) String() string { return proto.CompactTextString(m) } func (*UptimeCheckConfig_TcpCheck) ProtoMessage() {} func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0, 2} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1, 2} } func (m *UptimeCheckConfig_TcpCheck) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Unmarshal(m, b) @@ -658,11 +775,10 @@ func (m *UptimeCheckConfig_TcpCheck) GetPort() int32 { return 0 } -// Used to perform string matching. Currently, this matches on the exact -// content. In the future, it can be expanded to allow for regular expressions -// and more complex matching. +// Used to perform string matching. It allows substring and regular +// expressions, together with their negations. type UptimeCheckConfig_ContentMatcher struct { - // String content to match + // String or regex content to match (max 1024 bytes) Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -673,7 +789,7 @@ func (m *UptimeCheckConfig_ContentMatcher) Reset() { *m = UptimeCheckCon func (m *UptimeCheckConfig_ContentMatcher) String() string { return proto.CompactTextString(m) } func (*UptimeCheckConfig_ContentMatcher) ProtoMessage() {} func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0, 3} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{1, 3} } func (m *UptimeCheckConfig_ContentMatcher) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Unmarshal(m, b) @@ -700,83 +816,6 @@ func (m *UptimeCheckConfig_ContentMatcher) GetContent() string { return "" } -// Nimbus InternalCheckers. -type UptimeCheckConfig_InternalChecker struct { - // The GCP project ID. Not necessarily the same as the project_id for the config. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The internal network to perform this uptime check on. - Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` - // The GCP zone the uptime check should egress from. Only respected for - // internal uptime checks, where internal_network is specified. - GcpZone string `protobuf:"bytes,3,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"` - // The checker ID. - CheckerId string `protobuf:"bytes,4,opt,name=checker_id,json=checkerId,proto3" json:"checker_id,omitempty"` - // The checker's human-readable name. - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UptimeCheckConfig_InternalChecker) Reset() { *m = UptimeCheckConfig_InternalChecker{} } -func (m *UptimeCheckConfig_InternalChecker) String() string { return proto.CompactTextString(m) } -func (*UptimeCheckConfig_InternalChecker) ProtoMessage() {} -func (*UptimeCheckConfig_InternalChecker) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{0, 4} -} -func (m *UptimeCheckConfig_InternalChecker) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig_InternalChecker.Unmarshal(m, b) -} -func (m *UptimeCheckConfig_InternalChecker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig_InternalChecker.Marshal(b, m, deterministic) -} -func (dst *UptimeCheckConfig_InternalChecker) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig_InternalChecker.Merge(dst, src) -} -func (m *UptimeCheckConfig_InternalChecker) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig_InternalChecker.Size(m) -} -func (m *UptimeCheckConfig_InternalChecker) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig_InternalChecker.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckConfig_InternalChecker proto.InternalMessageInfo - -func (m *UptimeCheckConfig_InternalChecker) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UptimeCheckConfig_InternalChecker) GetNetwork() string { - if m != nil { - return m.Network - } - return "" -} - -func (m *UptimeCheckConfig_InternalChecker) GetGcpZone() string { - if m != nil { - return m.GcpZone - } - return "" -} - -func (m *UptimeCheckConfig_InternalChecker) GetCheckerId() string { - if m != nil { - return m.CheckerId - } - return "" -} - -func (m *UptimeCheckConfig_InternalChecker) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - // Contains the region, location, and list of IP // addresses where checkers in the location run from. type UptimeCheckIp struct { @@ -801,7 +840,7 @@ func (m *UptimeCheckIp) Reset() { *m = UptimeCheckIp{} } func (m *UptimeCheckIp) String() string { return proto.CompactTextString(m) } func (*UptimeCheckIp) ProtoMessage() {} func (*UptimeCheckIp) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_70741699aaca8abd, []int{1} + return fileDescriptor_uptime_9dda9bdcd2304945, []int{2} } func (m *UptimeCheckIp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UptimeCheckIp.Unmarshal(m, b) @@ -843,6 +882,7 @@ func (m *UptimeCheckIp) GetIpAddress() string { } func init() { + proto.RegisterType((*InternalChecker)(nil), "google.monitoring.v3.InternalChecker") proto.RegisterType((*UptimeCheckConfig)(nil), "google.monitoring.v3.UptimeCheckConfig") proto.RegisterType((*UptimeCheckConfig_ResourceGroup)(nil), "google.monitoring.v3.UptimeCheckConfig.ResourceGroup") proto.RegisterType((*UptimeCheckConfig_HttpCheck)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck") @@ -850,80 +890,80 @@ func init() { proto.RegisterType((*UptimeCheckConfig_HttpCheck_BasicAuthentication)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication") proto.RegisterType((*UptimeCheckConfig_TcpCheck)(nil), "google.monitoring.v3.UptimeCheckConfig.TcpCheck") proto.RegisterType((*UptimeCheckConfig_ContentMatcher)(nil), "google.monitoring.v3.UptimeCheckConfig.ContentMatcher") - proto.RegisterType((*UptimeCheckConfig_InternalChecker)(nil), "google.monitoring.v3.UptimeCheckConfig.InternalChecker") proto.RegisterType((*UptimeCheckIp)(nil), "google.monitoring.v3.UptimeCheckIp") proto.RegisterEnum("google.monitoring.v3.UptimeCheckRegion", UptimeCheckRegion_name, UptimeCheckRegion_value) proto.RegisterEnum("google.monitoring.v3.GroupResourceType", GroupResourceType_name, GroupResourceType_value) } func init() { - proto.RegisterFile("google/monitoring/v3/uptime.proto", fileDescriptor_uptime_70741699aaca8abd) -} - -var fileDescriptor_uptime_70741699aaca8abd = []byte{ - // 1021 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x4e, 0xe3, 0x46, - 0x14, 0x5e, 0x13, 0xc8, 0xcf, 0x21, 0xb0, 0x66, 0x4a, 0xdb, 0x60, 0x89, 0x15, 0xbb, 0xbd, 0x28, - 0xe2, 0xc2, 0xe9, 0x12, 0xf5, 0x47, 0x5b, 0x69, 0x2b, 0x27, 0xb8, 0xc4, 0x12, 0x24, 0xd1, 0x84, - 0x6c, 0xdb, 0x2d, 0xaa, 0x65, 0xec, 0x21, 0x71, 0x49, 0x3c, 0xae, 0x67, 0xcc, 0x96, 0xbe, 0x42, - 0x1f, 0xa3, 0x17, 0x95, 0xfa, 0x04, 0x7d, 0x86, 0xbe, 0x4d, 0xdf,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0xad, 0x99, 0x0e, 0x85, 0x73, 0xf7, 0x09, 0x5e, 0xcb, 0x6e, 0x0a, 0x10, 0x06, 0x98, 0x70, - 0x9e, 0xfa, 0xa1, 0x70, 0x69, 0xac, 0x48, 0xee, 0x97, 0x0f, 0xe5, 0xee, 0x72, 0x9e, 0x4a, 0xdc, - 0x35, 0x70, 0x6d, 0xa2, 0x01, 0xea, 0x43, 0x8d, 0x87, 0x9a, 0xb2, 0x2c, 0x29, 0x3f, 0x7b, 0x28, - 0xe5, 0x49, 0x38, 0x67, 0xac, 0x72, 0x75, 0x46, 0x2f, 0xa1, 0x9c, 0x92, 0x2c, 0xa6, 0x51, 0xa3, - 0x22, 0xd9, 0xb6, 0x34, 0x9b, 0x2e, 0xa9, 0x7d, 0xa0, 0x4a, 0x8a, 0x95, 0x21, 0x6a, 0x41, 0x45, - 0x50, 0xd3, 0x9c, 0x37, 0xaa, 0xef, 0xf3, 0xd1, 0x96, 0x28, 0x00, 0x33, 0xa4, 0x09, 0x27, 0x09, - 0xf7, 0x67, 0x01, 0x0f, 0x27, 0x24, 0x63, 0x8d, 0xda, 0x4e, 0x69, 0x77, 0x75, 0xff, 0x8b, 0x87, - 0xc6, 0xdf, 0x29, 0xfc, 0x8f, 0x0b, 0x77, 0xfc, 0x34, 0x5c, 0xc0, 0x0c, 0x61, 0x30, 0x19, 0x99, - 0x92, 0x90, 0xcb, 0xf6, 0x18, 0xc7, 0x34, 0x61, 0x0d, 0xd8, 0x29, 0xed, 0xae, 0xef, 0x7f, 0xfa, - 0xde, 0x2b, 0xb0, 0xb4, 0xc7, 0x4f, 0x35, 0x41, 0x81, 0x19, 0x8a, 0x60, 0x23, 0x4e, 0x38, 0xc9, - 0x92, 0x60, 0x5a, 0x7c, 0x74, 0x11, 0xf7, 0xba, 0x8c, 0xfb, 0xcb, 0x87, 0xc6, 0xed, 0x29, 0x82, - 0x4e, 0xe1, 0x8f, 0xcd, 0x78, 0x51, 0xc0, 0xac, 0x5f, 0x61, 0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e, - 0xd1, 0xca, 0x53, 0xa9, 0x3c, 0xbd, 0x56, 0x9e, 0xbe, 0x69, 0x9d, 0x95, 0xe5, 0x25, 0xad, 0xff, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xa5, 0xbc, 0x87, 0xf2, 0x08, 0x00, 0x00, + proto.RegisterFile("google/monitoring/v3/uptime.proto", fileDescriptor_uptime_9dda9bdcd2304945) +} + +var fileDescriptor_uptime_9dda9bdcd2304945 = []byte{ + // 1036 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xed, 0x6e, 0xe3, 0x44, + 0x17, 0xae, 0x9b, 0x36, 0x1f, 0x27, 0xfd, 0x70, 0xe7, 0xed, 0x0b, 0x6e, 0xa4, 0x2e, 0xdd, 0x22, + 0xa0, 0xea, 0x8f, 0x84, 0x6d, 0x04, 0x42, 0x8b, 0xb4, 0xc8, 0x49, 0x4d, 0x13, 0xa9, 0x4d, 0xa2, + 0x49, 0xb3, 0xc0, 0x52, 0x31, 0x72, 0xed, 0xa9, 0x63, 0x9a, 0x78, 0x8c, 0x67, 0xdc, 0xa5, 0xdc, + 0x02, 0x97, 0x81, 0xf8, 0xc3, 0x15, 0x70, 0x0d, 0x5c, 0x00, 0xd7, 0x83, 0x66, 0xec, 0x49, 0x9b, + 0xb6, 0x68, 0x5b, 0xfe, 0xcd, 0x73, 0x3e, 0x9e, 0x39, 0x73, 0xe6, 0x3c, 0x63, 0xc3, 0xf3, 0x80, + 0xb1, 0x60, 0x42, 0x1b, 0x53, 0x16, 0x85, 0x82, 0x25, 0x61, 0x14, 0x34, 0xae, 0x9a, 0x8d, 0x34, + 0x16, 0xe1, 0x94, 0xd6, 0xe3, 0x84, 0x09, 0x86, 0x36, 0xb3, 0x90, 0xfa, 0x4d, 0x48, 0xfd, 0xaa, + 0x59, 0xfb, 0x30, 0x4f, 0x74, 0xe3, 0x50, 0x27,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a3, 0xd3, 0x0e, 0xb1, 0x4f, 0x1c, 0xdc, 0x6d, 0xdb, 0x66, 0x01, 0x99, 0xb0, + 0x62, 0x0f, 0xbb, 0x36, 0x19, 0xd8, 0x32, 0xb5, 0x6d, 0x2e, 0xed, 0x7f, 0x0f, 0x1b, 0xf7, 0x04, + 0x84, 0xb6, 0x61, 0x0b, 0x3b, 0xc3, 0xfe, 0x08, 0xb7, 0x1d, 0x72, 0xfa, 0xdd, 0xc0, 0xb9, 0xb3, + 0xdb, 0x0a, 0x94, 0xbb, 0xbd, 0xe1, 0xa9, 0xdd, 0x6b, 0x3b, 0xa6, 0x81, 0xb6, 0xe0, 0xff, 0xf6, + 0x37, 0x43, 0xe2, 0x1c, 0xb7, 0xc8, 0x71, 0xdf, 0x3e, 0x24, 0x2d, 0xfb, 0x58, 0x7a, 0xb0, 0xb9, + 0xd8, 0xfa, 0xcd, 0x00, 0xcb, 0x63, 0xd3, 0x07, 0xbb, 0xd6, 0xaa, 0x66, 0xc7, 0x1b, 0xc8, 0xf7, + 0x75, 0x60, 0xbc, 0x79, 0x95, 0x07, 0x05, 0x6c, 0xe2, 0x46, 0x41, 0x9d, 0x25, 0x41, 0x23, 0xa0, + 0x91, 0x7a, 0x7d, 0x1b, 0x99, 0xcb, 0x8d, 0x43, 0x3e, 0xff, 0x6f, 0xf2, 0xe5, 0x0d, 0xfa, 0x63, + 0xb1, 0x76, 0x94, 0x11, 0xb4, 0x27, 0x2c, 0xf5, 0xf5, 0xf7, 0x52, 0xee, 0xf5, 0xba, 0xf9, 0x97, + 0x76, 0x9e, 0x29, 0xe7, 0xd9, 0x8d, 0xf3, 0xec, 0x75, 0xf3, 0xbc, 0xa8, 0x36, 0x69, 0xfe, 0x13, + 0x00, 0x00, 0xff, 0xff, 0x0a, 0x0a, 0xbb, 0x6b, 0xff, 0x08, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go index 23fe5ef45..5192f4a18 100644 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go @@ -28,9 +28,8 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // The protocol for the `ListUptimeCheckConfigs` request. type ListUptimeCheckConfigsRequest struct { - // The project whose uptime check configurations are listed. The format is - // - // `projects/[PROJECT_ID]`. + // The project whose uptime check configurations are listed. The format + // is `projects/[PROJECT_ID]`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of results to return in a single response. The server // may further constrain the maximum number of results returned in a single @@ -50,7 +49,7 @@ func (m *ListUptimeCheckConfigsRequest) Reset() { *m = ListUptimeCheckCo func (m *ListUptimeCheckConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListUptimeCheckConfigsRequest) ProtoMessage() {} func (*ListUptimeCheckConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{0} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{0} } func (m *ListUptimeCheckConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUptimeCheckConfigsRequest.Unmarshal(m, b) @@ -100,7 +99,10 @@ type ListUptimeCheckConfigsResponse struct { // request. To retrieve the next page of results, the value of the // next_page_token is passed to the subsequent List method call (in the // request message's page_token field). - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // The total number of uptime check configurations for the project, + // irrespective of any pagination. + TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -110,7 +112,7 @@ func (m *ListUptimeCheckConfigsResponse) Reset() { *m = ListUptimeCheckC func (m *ListUptimeCheckConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListUptimeCheckConfigsResponse) ProtoMessage() {} func (*ListUptimeCheckConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{1} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{1} } func (m *ListUptimeCheckConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUptimeCheckConfigsResponse.Unmarshal(m, b) @@ -144,11 +146,17 @@ func (m *ListUptimeCheckConfigsResponse) GetNextPageToken() string { return "" } +func (m *ListUptimeCheckConfigsResponse) GetTotalSize() int32 { + if m != nil { + return m.TotalSize + } + return 0 +} + // The protocol for the `GetUptimeCheckConfig` request. type GetUptimeCheckConfigRequest struct { - // The uptime check configuration to retrieve. The format is - // - // `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. + // The uptime check configuration to retrieve. The format + // is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -159,7 +167,7 @@ func (m *GetUptimeCheckConfigRequest) Reset() { *m = GetUptimeCheckConfi func (m *GetUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetUptimeCheckConfigRequest) ProtoMessage() {} func (*GetUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{2} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{2} } func (m *GetUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUptimeCheckConfigRequest.Unmarshal(m, b) @@ -188,9 +196,8 @@ func (m *GetUptimeCheckConfigRequest) GetName() string { // The protocol for the `CreateUptimeCheckConfig` request. type CreateUptimeCheckConfigRequest struct { - // The project in which to create the uptime check. The format is: - // - // `projects/[PROJECT_ID]`. + // The project in which to create the uptime check. The format + // is `projects/[PROJECT_ID]`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The new uptime check configuration. UptimeCheckConfig *UptimeCheckConfig `protobuf:"bytes,2,opt,name=uptime_check_config,json=uptimeCheckConfig,proto3" json:"uptime_check_config,omitempty"` @@ -203,7 +210,7 @@ func (m *CreateUptimeCheckConfigRequest) Reset() { *m = CreateUptimeChec func (m *CreateUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } func (*CreateUptimeCheckConfigRequest) ProtoMessage() {} func (*CreateUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{3} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{3} } func (m *CreateUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUptimeCheckConfigRequest.Unmarshal(m, b) @@ -247,10 +254,14 @@ type UpdateUptimeCheckConfigRequest struct { // Required. If an `"updateMask"` has been specified, this field gives // the values for the set of fields mentioned in the `"updateMask"`. If an // `"updateMask"` has not been given, this uptime check configuration replaces - // the current configuration. If a field is mentioned in `"updateMask`" but + // the current configuration. If a field is mentioned in `"updateMask"` but // the corresonding field is omitted in this partial uptime check // configuration, it has the effect of deleting/clearing the field from the // configuration on the server. + // + // The following fields can be updated: `display_name`, + // `http_check`, `tcp_check`, `timeout`, `content_matchers`, and + // `selected_regions`. UptimeCheckConfig *UptimeCheckConfig `protobuf:"bytes,3,opt,name=uptime_check_config,json=uptimeCheckConfig,proto3" json:"uptime_check_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -261,7 +272,7 @@ func (m *UpdateUptimeCheckConfigRequest) Reset() { *m = UpdateUptimeChec func (m *UpdateUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateUptimeCheckConfigRequest) ProtoMessage() {} func (*UpdateUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{4} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{4} } func (m *UpdateUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUptimeCheckConfigRequest.Unmarshal(m, b) @@ -297,9 +308,8 @@ func (m *UpdateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConf // The protocol for the `DeleteUptimeCheckConfig` request. type DeleteUptimeCheckConfigRequest struct { - // The uptime check configuration to delete. The format is - // - // `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. + // The uptime check configuration to delete. The format + // is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -310,7 +320,7 @@ func (m *DeleteUptimeCheckConfigRequest) Reset() { *m = DeleteUptimeChec func (m *DeleteUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } func (*DeleteUptimeCheckConfigRequest) ProtoMessage() {} func (*DeleteUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{5} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{5} } func (m *DeleteUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUptimeCheckConfigRequest.Unmarshal(m, b) @@ -359,7 +369,7 @@ func (m *ListUptimeCheckIpsRequest) Reset() { *m = ListUptimeCheckIpsReq func (m *ListUptimeCheckIpsRequest) String() string { return proto.CompactTextString(m) } func (*ListUptimeCheckIpsRequest) ProtoMessage() {} func (*ListUptimeCheckIpsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{6} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{6} } func (m *ListUptimeCheckIpsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUptimeCheckIpsRequest.Unmarshal(m, b) @@ -414,7 +424,7 @@ func (m *ListUptimeCheckIpsResponse) Reset() { *m = ListUptimeCheckIpsRe func (m *ListUptimeCheckIpsResponse) String() string { return proto.CompactTextString(m) } func (*ListUptimeCheckIpsResponse) ProtoMessage() {} func (*ListUptimeCheckIpsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_uptime_service_3d7db44c876ec85d, []int{7} + return fileDescriptor_uptime_service_c74f83143a8cb5a4, []int{7} } func (m *ListUptimeCheckIpsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUptimeCheckIpsResponse.Unmarshal(m, b) @@ -721,55 +731,56 @@ var _UptimeCheckService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/monitoring/v3/uptime_service.proto", fileDescriptor_uptime_service_3d7db44c876ec85d) -} - -var fileDescriptor_uptime_service_3d7db44c876ec85d = []byte{ - // 735 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdf, 0x4e, 0x13, 0x4f, - 0x14, 0xce, 0xb4, 0xfc, 0x08, 0x1c, 0xf2, 0xf3, 0xcf, 0xd8, 0x40, 0x5d, 0xa4, 0xa9, 0x35, 0x51, - 0x6c, 0xcc, 0xae, 0xb4, 0x5c, 0x49, 0x24, 0x91, 0xaa, 0x84, 0x44, 0x12, 0x52, 0x04, 0xa2, 0x92, - 0x34, 0x4b, 0x19, 0xd6, 0xb5, 0xed, 0xce, 0xd8, 0x99, 0x25, 0x8a, 0xe1, 0xc6, 0x37, 0x30, 0x5c, - 0x7a, 0x69, 0xe2, 0x05, 0x0f, 0xa0, 0xd7, 0x5e, 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, 0x3b, 0x09, 0xb6, - 0x52, 0xed, 0x58, 0xcf, 0xcd, 0x8c, 0xbb, 0xe9, 0x2f, 0xa8, 0x85, 0x34, 0x24, 0xda, 0x1c, 0xc6, - 0xbd, 0xcf, 0x88, 0x28, 0x67, 0xe5, 0x14, 0x41, 0xbe, 0x49, 0x3b, 0xda, 0x9a, 0x2b, 0xca, 0x63, - 0x94, 0xbd, 0x6c, 0x04, 0x1c, 0x6c, 0xa0, 0xe7, 0xcb, 0x2a, 0xd7, 0xa1, 0x6d, 0xdb, 0x73, 0x4c, - 0xda, 0x75, 0x2c, 0x87, 0x78, 0x92, 0x21, 0x2b, 0x0c, 0xd9, 0xcc, 0xe5, 0xfd, 0x5f, 0x2f, 0x4b, - 0xbd, 0xa7, 0xd3, 0x8c, 0xb1, 0x1a, 0x16, 0xa8, 0xb5, 0xa9, 0xbf, 0x6f, 0xae, 0xf7, 0x5a, 0x6e, - 0x57, 0x7f, 0x44, 0xc1, 0x5d, 0x19, 0xdc, 0xed, 0x05, 0x77, 0xb7, 0xab, 0x7b, 0xe3, 0xb2, 0x49, - 0xf5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x1d, 0x15, 0x69, 0x80, 0x09, 0x00, 0x00, + proto.RegisterFile("google/monitoring/v3/uptime_service.proto", fileDescriptor_uptime_service_c74f83143a8cb5a4) +} + +var fileDescriptor_uptime_service_c74f83143a8cb5a4 = []byte{ + // 747 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcd, 0x6e, 0xd3, 0x4a, + 0x14, 0xd6, 0x24, 0xbd, 0x55, 0x7b, 0xaa, 0x7b, 0x2f, 0x0c, 0x51, 0x1b, 0x5c, 0x1a, 0x05, 0x23, + 0x41, 0x89, 0x90, 0x4d, 0x93, 0xae, 0xa8, 0xa8, 0x44, 0x03, 0x54, 0x95, 0xa8, 0x54, 0xa5, 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 0xf8, 0x32, 0x94, + 0xee, 0x93, 0x0e, 0x49, 0xc1, 0xad, 0x7a, 0x05, 0x7b, 0x70, 0x79, 0x48, 0x79, 0x1b, 0xde, 0x6f, + 0xad, 0x0f, 0x68, 0x3a, 0x97, 0xaa, 0xe9, 0xfc, 0xb0, 0xa6, 0xcf, 0x10, 0x68, 0xaa, 0xca, 0x52, + 0xcf, 0x9b, 0x70, 0x61, 0x80, 0x06, 0xc7, 0x8b, 0xb5, 0x7c, 0xed, 0x8f, 0x1c, 0x6c, 0x78, 0x8d, + 0xff, 0x82, 0x81, 0xb2, 0x59, 0x35, 0x5c, 0xfd, 0x3a, 0x05, 0xb8, 0xaf, 0xd2, 0x76, 0xe4, 0x48, + 0xf8, 0x13, 0x82, 0x59, 0xf5, 0x02, 0xe2, 0x9a, 0x1a, 0x4e, 0xaa, 0x49, 0x68, 0xcb, 0xe3, 0x5d, + 0x8a, 0x38, 0xd1, 0xab, 0x6f, 0xbf, 0xff, 0x3c, 0xcb, 0xdd, 0xc2, 0x95, 0xd0, 0xd4, 0xde, 0x44, + 0x42, 0xbf, 0xeb, 0xf9, 0xf4, 0x05, 0x69, 0x71, 0x66, 0x56, 0x4e, 0x4d, 0xc5, 0xf2, 0x7e, 0x40, + 0x50, 0x50, 0xad, 0x1d, 0x5e, 0x52, 0x43, 0x48, 0x59, 0x51, 0x2d, 0xab, 0xfa, 0x86, 0x80, 0x86, + 0x3a, 0xea, 0x83, 0xa9, 0x40, 0x69, 0x56, 0x4e, 0xf1, 0x67, 0x04, 0x73, 0x09, 0xbb, 0x8e, 0x13, + 0xe8, 0x4a, 0xb7, 0x86, 0xec, 0x70, 0xd7, 0x05, 0xdc, 0x7b, 0xfa, 0x18, 0xbc, 0xde, 0x51, 0x2d, + 0x29, 0xfe, 0x81, 0x60, 0x2e, 0xc1, 0x1b, 0x92, 0x66, 0x48, 0xb7, 0x92, 0xec, 0x33, 0x3c, 0x13, + 0x33, 0xec, 0x54, 0x57, 0xc5, 0x0c, 0x0a, 0x70, 0x46, 0xa6, 0xd7, 0xa0, 0x9e, 0xeb, 0x3d, 0x82, + 0xb9, 0x04, 0xef, 0x48, 0x9a, 0x2b, 0xdd, 0x6a, 0xb4, 0xd9, 0x11, 0x37, 0x7c, 0x10, 0xfe, 0x0d, + 0xc7, 0xca, 0xa9, 0x8c, 0xa3, 0x9c, 0x33, 0x04, 0x78, 0xd4, 0x49, 0xb0, 0x99, 0x69, 0xc7, 0x7a, + 0x6e, 0xa6, 0xdd, 0xce, 0x7e, 0x41, 0x2e, 0xa4, 0x26, 0xd0, 0x16, 0x30, 0xee, 0x7d, 0x65, 0xc4, + 0x39, 0x6b, 0xe7, 0x08, 0x8a, 0x2d, 0xda, 0x55, 0xd6, 0x5c, 0x93, 0x1e, 0x23, 0xed, 0x65, 0x2b, + 0xe4, 0x60, 0x0b, 0x3d, 0x5d, 0x95, 0xb9, 0x36, 0xed, 0x58, 0xae, 0x6d, 0x50, 0xdf, 0x36, 0x6d, + 0xe2, 0x0a, 0x86, 0xcc, 0x28, 0x64, 0x79, 0x0e, 0x1b, 0xfc, 0xb8, 0x59, 0xe9, 0x3d, 0x9d, 0xe7, + 0xb4, 0xf5, 0xa8, 0x40, 0xbd, 0x43, 0x83, 0x43, 0x63, 0xb3, 0xd7, 0x72, 0xb7, 0xf6, 0x2d, 0x0e, + 0xee, 0x8b, 0xe0, 0x7e, 0x2f, 0xb8, 0xbf, 0x5b, 0x3b, 0x98, 0x14, 0x4d, 0x6a, 0xbf, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x27, 0xb8, 0x65, 0x92, 0x9f, 0x09, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/dlp.pb.go b/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/dlp.pb.go index 234993e2e..8e2750fc4 100644 --- a/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/dlp.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/dlp.pb.go @@ -59,7 +59,55 @@ func (x ContentOption) String() string { return proto.EnumName(ContentOption_name, int32(x)) } func (ContentOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{0} +} + +// Type of the match which can be applied to different ways of matching, like +// Dictionary, regular expression and intersecting with findings of another +// info type. +type MatchingType int32 + +const ( + // Invalid. + MatchingType_MATCHING_TYPE_UNSPECIFIED MatchingType = 0 + // Full match. + // + // - Dictionary: join of Dictionary results matched complete finding quote + // - Regex: all regex matches fill a finding quote start to end + // - Exclude info type: completely inside affecting info types findings + MatchingType_MATCHING_TYPE_FULL_MATCH MatchingType = 1 + // Partial match. + // + // - Dictionary: at least one of the tokens in the finding matches + // - Regex: substring of the finding matches + // - Exclude info type: intersects with affecting info types findings + MatchingType_MATCHING_TYPE_PARTIAL_MATCH MatchingType = 2 + // Inverse match. + // + // - Dictionary: no tokens in the finding match the dictionary + // - Regex: finding doesn't match the regex + // - Exclude info type: no intersection with affecting info types findings + MatchingType_MATCHING_TYPE_INVERSE_MATCH MatchingType = 3 +) + +var MatchingType_name = map[int32]string{ + 0: "MATCHING_TYPE_UNSPECIFIED", + 1: "MATCHING_TYPE_FULL_MATCH", + 2: "MATCHING_TYPE_PARTIAL_MATCH", + 3: "MATCHING_TYPE_INVERSE_MATCH", +} +var MatchingType_value = map[string]int32{ + "MATCHING_TYPE_UNSPECIFIED": 0, + "MATCHING_TYPE_FULL_MATCH": 1, + "MATCHING_TYPE_PARTIAL_MATCH": 2, + "MATCHING_TYPE_INVERSE_MATCH": 3, +} + +func (x MatchingType) String() string { + return proto.EnumName(MatchingType_name, int32(x)) +} +func (MatchingType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{1} } // Parts of the APIs which use certain infoTypes. @@ -88,7 +136,7 @@ func (x InfoTypeSupportedBy) String() string { return proto.EnumName(InfoTypeSupportedBy_name, int32(x)) } func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{1} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{2} } // Operators available for comparing the value of fields. @@ -137,7 +185,7 @@ func (x RelationalOperator) String() string { return proto.EnumName(RelationalOperator_name, int32(x)) } func (RelationalOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{2} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{3} } // An enum to represent the various type of DLP jobs. @@ -166,7 +214,47 @@ func (x DlpJobType) String() string { return proto.EnumName(DlpJobType_name, int32(x)) } func (DlpJobType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{3} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{4} +} + +// State of a StoredInfoType version. +type StoredInfoTypeState int32 + +const ( + StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED StoredInfoTypeState = 0 + // StoredInfoType version is being created. + StoredInfoTypeState_PENDING StoredInfoTypeState = 1 + // StoredInfoType version is ready for use. + StoredInfoTypeState_READY StoredInfoTypeState = 2 + // StoredInfoType creation failed. All relevant error messages are returned in + // the `StoredInfoTypeVersion` message. + StoredInfoTypeState_FAILED StoredInfoTypeState = 3 + // StoredInfoType is no longer valid because artifacts stored in + // user-controlled storage were modified. To fix an invalid StoredInfoType, + // use the `UpdateStoredInfoType` method to create a new version. + StoredInfoTypeState_INVALID StoredInfoTypeState = 4 +) + +var StoredInfoTypeState_name = map[int32]string{ + 0: "STORED_INFO_TYPE_STATE_UNSPECIFIED", + 1: "PENDING", + 2: "READY", + 3: "FAILED", + 4: "INVALID", +} +var StoredInfoTypeState_value = map[string]int32{ + "STORED_INFO_TYPE_STATE_UNSPECIFIED": 0, + "PENDING": 1, + "READY": 2, + "FAILED": 3, + "INVALID": 4, +} + +func (x StoredInfoTypeState) String() string { + return proto.EnumName(StoredInfoTypeState_name, int32(x)) +} +func (StoredInfoTypeState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{5} } type ByteContentItem_BytesType int32 @@ -204,7 +292,7 @@ func (x ByteContentItem_BytesType) String() string { return proto.EnumName(ByteContentItem_BytesType_name, int32(x)) } func (ByteContentItem_BytesType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{1, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{5, 0} } // Predefined schemas for storing findings. @@ -246,7 +334,7 @@ func (x OutputStorageConfig_OutputSchema) String() string { return proto.EnumName(OutputStorageConfig_OutputSchema_name, int32(x)) } func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{23, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{27, 0} } type TimePartConfig_TimePart int32 @@ -290,7 +378,7 @@ func (x TimePartConfig_TimePart) String() string { return proto.EnumName(TimePartConfig_TimePart_name, int32(x)) } func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{40, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{44, 0} } type CharsToIgnore_CommonCharsToIgnore int32 @@ -319,18 +407,18 @@ var CharsToIgnore_CommonCharsToIgnore_name = map[int32]string{ } var CharsToIgnore_CommonCharsToIgnore_value = map[string]int32{ "COMMON_CHARS_TO_IGNORE_UNSPECIFIED": 0, - "NUMERIC": 1, - "ALPHA_UPPER_CASE": 2, - "ALPHA_LOWER_CASE": 3, - "PUNCTUATION": 4, - "WHITESPACE": 5, + "NUMERIC": 1, + "ALPHA_UPPER_CASE": 2, + "ALPHA_LOWER_CASE": 3, + "PUNCTUATION": 4, + "WHITESPACE": 5, } func (x CharsToIgnore_CommonCharsToIgnore) String() string { return proto.EnumName(CharsToIgnore_CommonCharsToIgnore_name, int32(x)) } func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{45, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{49, 0} } // These are commonly used subsets of the alphabet that the FFX mode @@ -359,17 +447,17 @@ var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name = map[int32]string{ } var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value = map[string]int32{ "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED": 0, - "NUMERIC": 1, - "HEXADECIMAL": 2, - "UPPER_CASE_ALPHA_NUMERIC": 3, - "ALPHA_NUMERIC": 4, + "NUMERIC": 1, + "HEXADECIMAL": 2, + "UPPER_CASE_ALPHA_NUMERIC": 3, + "ALPHA_NUMERIC": 4, } func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string { return proto.EnumName(CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name, int32(x)) } func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{49, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{53, 0} } type RecordCondition_Expressions_LogicalOperator int32 @@ -385,14 +473,14 @@ var RecordCondition_Expressions_LogicalOperator_name = map[int32]string{ } var RecordCondition_Expressions_LogicalOperator_value = map[string]int32{ "LOGICAL_OPERATOR_UNSPECIFIED": 0, - "AND": 1, + "AND": 1, } func (x RecordCondition_Expressions_LogicalOperator) String() string { return proto.EnumName(RecordCondition_Expressions_LogicalOperator_name, int32(x)) } func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{59, 2, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{63, 2, 0} } // Possible outcomes of transformations. @@ -411,15 +499,15 @@ var TransformationSummary_TransformationResultCode_name = map[int32]string{ } var TransformationSummary_TransformationResultCode_value = map[string]int32{ "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0, - "SUCCESS": 1, - "ERROR": 2, + "SUCCESS": 1, + "ERROR": 2, } func (x TransformationSummary_TransformationResultCode) String() string { return proto.EnumName(TransformationSummary_TransformationResultCode_name, int32(x)) } func (TransformationSummary_TransformationResultCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{61, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{65, 0} } // Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs @@ -455,7 +543,7 @@ func (x JobTrigger_Status) String() string { return proto.EnumName(JobTrigger_Status_name, int32(x)) } func (JobTrigger_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{66, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{70, 0} } type DlpJob_JobState int32 @@ -495,444 +583,382 @@ func (x DlpJob_JobState) String() string { return proto.EnumName(DlpJob_JobState_name, int32(x)) } func (DlpJob_JobState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{82, 0} + return fileDescriptor_dlp_6e712ed06404fc1d, []int{86, 0} } -// Configuration description of the scanning process. -// When used with redactContent only info_types and min_likelihood are currently -// used. -type InspectConfig struct { - // Restricts what info_types to look for. The values must correspond to - // InfoType values returned by ListInfoTypes or listed at - // https://cloud.google.com/dlp/docs/infotypes-reference. - // - // When no InfoTypes or CustomInfoTypes are specified in a request, the - // system may automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` - // Only returns findings equal or above this threshold. The default is - // POSSIBLE. - // See https://cloud.google.com/dlp/docs/likelihood to learn more. - MinLikelihood Likelihood `protobuf:"varint,2,opt,name=min_likelihood,json=minLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"min_likelihood,omitempty"` - Limits *InspectConfig_FindingLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"` - // When true, a contextual quote from the data that triggered a finding is - // included in the response; see Finding.quote. - IncludeQuote bool `protobuf:"varint,4,opt,name=include_quote,json=includeQuote,proto3" json:"include_quote,omitempty"` - // When true, excludes type information of the findings. - ExcludeInfoTypes bool `protobuf:"varint,5,opt,name=exclude_info_types,json=excludeInfoTypes,proto3" json:"exclude_info_types,omitempty"` - // CustomInfoTypes provided by the user. See - // https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. - CustomInfoTypes []*CustomInfoType `protobuf:"bytes,6,rep,name=custom_info_types,json=customInfoTypes,proto3" json:"custom_info_types,omitempty"` - // List of options defining data content to scan. - // If empty, text, images, and other content will be included. - ContentOptions []ContentOption `protobuf:"varint,8,rep,packed,name=content_options,json=contentOptions,proto3,enum=google.privacy.dlp.v2.ContentOption" json:"content_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// List of exclude infoTypes. +type ExcludeInfoTypes struct { + // InfoType list in ExclusionRule rule drops a finding when it overlaps or + // contained within with a finding of an infoType from this list. For + // example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and + // `exclusion_rule` containing `exclude_info_types.info_types` with + // "EMAIL_ADDRESS" the phone number findings are dropped if they overlap + // with EMAIL_ADDRESS finding. + // That leads to "555-222-2222@example.org" to generate only a single + // finding, namely email address. + InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectConfig) Reset() { *m = InspectConfig{} } -func (m *InspectConfig) String() string { return proto.CompactTextString(m) } -func (*InspectConfig) ProtoMessage() {} -func (*InspectConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{0} +func (m *ExcludeInfoTypes) Reset() { *m = ExcludeInfoTypes{} } +func (m *ExcludeInfoTypes) String() string { return proto.CompactTextString(m) } +func (*ExcludeInfoTypes) ProtoMessage() {} +func (*ExcludeInfoTypes) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{0} } -func (m *InspectConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectConfig.Unmarshal(m, b) +func (m *ExcludeInfoTypes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExcludeInfoTypes.Unmarshal(m, b) } -func (m *InspectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectConfig.Marshal(b, m, deterministic) +func (m *ExcludeInfoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExcludeInfoTypes.Marshal(b, m, deterministic) } -func (dst *InspectConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectConfig.Merge(dst, src) +func (dst *ExcludeInfoTypes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExcludeInfoTypes.Merge(dst, src) } -func (m *InspectConfig) XXX_Size() int { - return xxx_messageInfo_InspectConfig.Size(m) +func (m *ExcludeInfoTypes) XXX_Size() int { + return xxx_messageInfo_ExcludeInfoTypes.Size(m) } -func (m *InspectConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InspectConfig.DiscardUnknown(m) +func (m *ExcludeInfoTypes) XXX_DiscardUnknown() { + xxx_messageInfo_ExcludeInfoTypes.DiscardUnknown(m) } -var xxx_messageInfo_InspectConfig proto.InternalMessageInfo +var xxx_messageInfo_ExcludeInfoTypes proto.InternalMessageInfo -func (m *InspectConfig) GetInfoTypes() []*InfoType { +func (m *ExcludeInfoTypes) GetInfoTypes() []*InfoType { if m != nil { return m.InfoTypes } return nil } -func (m *InspectConfig) GetMinLikelihood() Likelihood { - if m != nil { - return m.MinLikelihood - } - return Likelihood_LIKELIHOOD_UNSPECIFIED +// The rule that specifies conditions when findings of infoTypes specified in +// `InspectionRuleSet` are removed from results. +type ExclusionRule struct { + // Types that are valid to be assigned to Type: + // *ExclusionRule_Dictionary + // *ExclusionRule_Regex + // *ExclusionRule_ExcludeInfoTypes + Type isExclusionRule_Type `protobuf_oneof:"type"` + // How the rule is applied, see MatchingType documentation for details. + MatchingType MatchingType `protobuf:"varint,4,opt,name=matching_type,json=matchingType,proto3,enum=google.privacy.dlp.v2.MatchingType" json:"matching_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectConfig) GetLimits() *InspectConfig_FindingLimits { - if m != nil { - return m.Limits - } - return nil +func (m *ExclusionRule) Reset() { *m = ExclusionRule{} } +func (m *ExclusionRule) String() string { return proto.CompactTextString(m) } +func (*ExclusionRule) ProtoMessage() {} +func (*ExclusionRule) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{1} +} +func (m *ExclusionRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExclusionRule.Unmarshal(m, b) +} +func (m *ExclusionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExclusionRule.Marshal(b, m, deterministic) +} +func (dst *ExclusionRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExclusionRule.Merge(dst, src) +} +func (m *ExclusionRule) XXX_Size() int { + return xxx_messageInfo_ExclusionRule.Size(m) +} +func (m *ExclusionRule) XXX_DiscardUnknown() { + xxx_messageInfo_ExclusionRule.DiscardUnknown(m) } -func (m *InspectConfig) GetIncludeQuote() bool { - if m != nil { - return m.IncludeQuote - } - return false +var xxx_messageInfo_ExclusionRule proto.InternalMessageInfo + +type isExclusionRule_Type interface { + isExclusionRule_Type() } -func (m *InspectConfig) GetExcludeInfoTypes() bool { - if m != nil { - return m.ExcludeInfoTypes - } - return false +type ExclusionRule_Dictionary struct { + Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,1,opt,name=dictionary,proto3,oneof"` } -func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType { +type ExclusionRule_Regex struct { + Regex *CustomInfoType_Regex `protobuf:"bytes,2,opt,name=regex,proto3,oneof"` +} + +type ExclusionRule_ExcludeInfoTypes struct { + ExcludeInfoTypes *ExcludeInfoTypes `protobuf:"bytes,3,opt,name=exclude_info_types,json=excludeInfoTypes,proto3,oneof"` +} + +func (*ExclusionRule_Dictionary) isExclusionRule_Type() {} + +func (*ExclusionRule_Regex) isExclusionRule_Type() {} + +func (*ExclusionRule_ExcludeInfoTypes) isExclusionRule_Type() {} + +func (m *ExclusionRule) GetType() isExclusionRule_Type { if m != nil { - return m.CustomInfoTypes + return m.Type } return nil } -func (m *InspectConfig) GetContentOptions() []ContentOption { - if m != nil { - return m.ContentOptions +func (m *ExclusionRule) GetDictionary() *CustomInfoType_Dictionary { + if x, ok := m.GetType().(*ExclusionRule_Dictionary); ok { + return x.Dictionary } return nil } -type InspectConfig_FindingLimits struct { - // Max number of findings that will be returned for each item scanned. - // When set within `InspectDataSourceRequest`, - // the maximum returned is 1000 regardless if this is set higher. - // When set within `InspectContentRequest`, this field is ignored. - MaxFindingsPerItem int32 `protobuf:"varint,1,opt,name=max_findings_per_item,json=maxFindingsPerItem,proto3" json:"max_findings_per_item,omitempty"` - // Max number of findings that will be returned per request/job. - // When set within `InspectContentRequest`, the maximum returned is 1000 - // regardless if this is set higher. - MaxFindingsPerRequest int32 `protobuf:"varint,2,opt,name=max_findings_per_request,json=maxFindingsPerRequest,proto3" json:"max_findings_per_request,omitempty"` - // Configuration of findings limit given for specified infoTypes. - MaxFindingsPerInfoType []*InspectConfig_FindingLimits_InfoTypeLimit `protobuf:"bytes,3,rep,name=max_findings_per_info_type,json=maxFindingsPerInfoType,proto3" json:"max_findings_per_info_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *ExclusionRule) GetRegex() *CustomInfoType_Regex { + if x, ok := m.GetType().(*ExclusionRule_Regex); ok { + return x.Regex + } + return nil } -func (m *InspectConfig_FindingLimits) Reset() { *m = InspectConfig_FindingLimits{} } -func (m *InspectConfig_FindingLimits) String() string { return proto.CompactTextString(m) } -func (*InspectConfig_FindingLimits) ProtoMessage() {} -func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{0, 0} -} -func (m *InspectConfig_FindingLimits) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectConfig_FindingLimits.Unmarshal(m, b) -} -func (m *InspectConfig_FindingLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectConfig_FindingLimits.Marshal(b, m, deterministic) -} -func (dst *InspectConfig_FindingLimits) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectConfig_FindingLimits.Merge(dst, src) -} -func (m *InspectConfig_FindingLimits) XXX_Size() int { - return xxx_messageInfo_InspectConfig_FindingLimits.Size(m) -} -func (m *InspectConfig_FindingLimits) XXX_DiscardUnknown() { - xxx_messageInfo_InspectConfig_FindingLimits.DiscardUnknown(m) +func (m *ExclusionRule) GetExcludeInfoTypes() *ExcludeInfoTypes { + if x, ok := m.GetType().(*ExclusionRule_ExcludeInfoTypes); ok { + return x.ExcludeInfoTypes + } + return nil } -var xxx_messageInfo_InspectConfig_FindingLimits proto.InternalMessageInfo - -func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32 { +func (m *ExclusionRule) GetMatchingType() MatchingType { if m != nil { - return m.MaxFindingsPerItem + return m.MatchingType } - return 0 + return MatchingType_MATCHING_TYPE_UNSPECIFIED } -func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32 { - if m != nil { - return m.MaxFindingsPerRequest +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ExclusionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ExclusionRule_OneofMarshaler, _ExclusionRule_OneofUnmarshaler, _ExclusionRule_OneofSizer, []interface{}{ + (*ExclusionRule_Dictionary)(nil), + (*ExclusionRule_Regex)(nil), + (*ExclusionRule_ExcludeInfoTypes)(nil), } - return 0 } -func (m *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit { - if m != nil { - return m.MaxFindingsPerInfoType +func _ExclusionRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ExclusionRule) + // type + switch x := m.Type.(type) { + case *ExclusionRule_Dictionary: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Dictionary); err != nil { + return err + } + case *ExclusionRule_Regex: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Regex); err != nil { + return err + } + case *ExclusionRule_ExcludeInfoTypes: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ExcludeInfoTypes); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("ExclusionRule.Type has unexpected type %T", x) } return nil } -// Max findings configuration per infoType, per content item or long -// running DlpJob. -type InspectConfig_FindingLimits_InfoTypeLimit struct { - // Type of information the findings limit applies to. Only one limit per - // info_type should be provided. If InfoTypeLimit does not have an - // info_type, the DLP API applies the limit against all info_types that - // are found but not specified in another InfoTypeLimit. - InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` - // Max findings limit for the given infoType. - MaxFindings int32 `protobuf:"varint,2,opt,name=max_findings,json=maxFindings,proto3" json:"max_findings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func _ExclusionRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ExclusionRule) + switch tag { + case 1: // type.dictionary + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CustomInfoType_Dictionary) + err := b.DecodeMessage(msg) + m.Type = &ExclusionRule_Dictionary{msg} + return true, err + case 2: // type.regex + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CustomInfoType_Regex) + err := b.DecodeMessage(msg) + m.Type = &ExclusionRule_Regex{msg} + return true, err + case 3: // type.exclude_info_types + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ExcludeInfoTypes) + err := b.DecodeMessage(msg) + m.Type = &ExclusionRule_ExcludeInfoTypes{msg} + return true, err + default: + return false, nil + } } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) Reset() { - *m = InspectConfig_FindingLimits_InfoTypeLimit{} +func _ExclusionRule_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ExclusionRule) + // type + switch x := m.Type.(type) { + case *ExclusionRule_Dictionary: + s := proto.Size(x.Dictionary) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ExclusionRule_Regex: + s := proto.Size(x.Regex) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ExclusionRule_ExcludeInfoTypes: + s := proto.Size(x.ExcludeInfoTypes) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) String() string { return proto.CompactTextString(m) } -func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage() {} -func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{0, 0, 0} + +// A single inspection rule to be applied to infoTypes, specified in +// `InspectionRuleSet`. +type InspectionRule struct { + // Types that are valid to be assigned to Type: + // *InspectionRule_HotwordRule + // *InspectionRule_ExclusionRule + Type isInspectionRule_Type `protobuf_oneof:"type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Unmarshal(m, b) + +func (m *InspectionRule) Reset() { *m = InspectionRule{} } +func (m *InspectionRule) String() string { return proto.CompactTextString(m) } +func (*InspectionRule) ProtoMessage() {} +func (*InspectionRule) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{2} } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Marshal(b, m, deterministic) +func (m *InspectionRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectionRule.Unmarshal(m, b) } -func (dst *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Merge(dst, src) +func (m *InspectionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectionRule.Marshal(b, m, deterministic) } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Size() int { - return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Size(m) +func (dst *InspectionRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectionRule.Merge(dst, src) } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_DiscardUnknown() { - xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.DiscardUnknown(m) +func (m *InspectionRule) XXX_Size() int { + return xxx_messageInfo_InspectionRule.Size(m) +} +func (m *InspectionRule) XXX_DiscardUnknown() { + xxx_messageInfo_InspectionRule.DiscardUnknown(m) } -var xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit proto.InternalMessageInfo +var xxx_messageInfo_InspectionRule proto.InternalMessageInfo -func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil +type isInspectionRule_Type interface { + isInspectionRule_Type() } -func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32 { - if m != nil { - return m.MaxFindings - } - return 0 +type InspectionRule_HotwordRule struct { + HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"` } -// Container for bytes to inspect or redact. -type ByteContentItem struct { - // The type of data stored in the bytes string. Default will be TEXT_UTF8. - Type ByteContentItem_BytesType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.ByteContentItem_BytesType" json:"type,omitempty"` - // Content data to inspect or redact. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type InspectionRule_ExclusionRule struct { + ExclusionRule *ExclusionRule `protobuf:"bytes,2,opt,name=exclusion_rule,json=exclusionRule,proto3,oneof"` } -func (m *ByteContentItem) Reset() { *m = ByteContentItem{} } -func (m *ByteContentItem) String() string { return proto.CompactTextString(m) } -func (*ByteContentItem) ProtoMessage() {} -func (*ByteContentItem) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{1} -} -func (m *ByteContentItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ByteContentItem.Unmarshal(m, b) -} -func (m *ByteContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ByteContentItem.Marshal(b, m, deterministic) -} -func (dst *ByteContentItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_ByteContentItem.Merge(dst, src) -} -func (m *ByteContentItem) XXX_Size() int { - return xxx_messageInfo_ByteContentItem.Size(m) -} -func (m *ByteContentItem) XXX_DiscardUnknown() { - xxx_messageInfo_ByteContentItem.DiscardUnknown(m) -} +func (*InspectionRule_HotwordRule) isInspectionRule_Type() {} -var xxx_messageInfo_ByteContentItem proto.InternalMessageInfo +func (*InspectionRule_ExclusionRule) isInspectionRule_Type() {} -func (m *ByteContentItem) GetType() ByteContentItem_BytesType { +func (m *InspectionRule) GetType() isInspectionRule_Type { if m != nil { return m.Type } - return ByteContentItem_BYTES_TYPE_UNSPECIFIED -} - -func (m *ByteContentItem) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// Container structure for the content to inspect. -type ContentItem struct { - // Data of the item either in the byte array or UTF-8 string form, or table. - // - // Types that are valid to be assigned to DataItem: - // *ContentItem_Value - // *ContentItem_Table - // *ContentItem_ByteItem - DataItem isContentItem_DataItem `protobuf_oneof:"data_item"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ContentItem) Reset() { *m = ContentItem{} } -func (m *ContentItem) String() string { return proto.CompactTextString(m) } -func (*ContentItem) ProtoMessage() {} -func (*ContentItem) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{2} -} -func (m *ContentItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContentItem.Unmarshal(m, b) -} -func (m *ContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContentItem.Marshal(b, m, deterministic) -} -func (dst *ContentItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentItem.Merge(dst, src) -} -func (m *ContentItem) XXX_Size() int { - return xxx_messageInfo_ContentItem.Size(m) -} -func (m *ContentItem) XXX_DiscardUnknown() { - xxx_messageInfo_ContentItem.DiscardUnknown(m) -} - -var xxx_messageInfo_ContentItem proto.InternalMessageInfo - -type isContentItem_DataItem interface { - isContentItem_DataItem() -} - -type ContentItem_Value struct { - Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"` -} -type ContentItem_Table struct { - Table *Table `protobuf:"bytes,4,opt,name=table,proto3,oneof"` -} -type ContentItem_ByteItem struct { - ByteItem *ByteContentItem `protobuf:"bytes,5,opt,name=byte_item,json=byteItem,proto3,oneof"` -} - -func (*ContentItem_Value) isContentItem_DataItem() {} -func (*ContentItem_Table) isContentItem_DataItem() {} -func (*ContentItem_ByteItem) isContentItem_DataItem() {} - -func (m *ContentItem) GetDataItem() isContentItem_DataItem { - if m != nil { - return m.DataItem - } return nil } -func (m *ContentItem) GetValue() string { - if x, ok := m.GetDataItem().(*ContentItem_Value); ok { - return x.Value - } - return "" -} - -func (m *ContentItem) GetTable() *Table { - if x, ok := m.GetDataItem().(*ContentItem_Table); ok { - return x.Table +func (m *InspectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule { + if x, ok := m.GetType().(*InspectionRule_HotwordRule); ok { + return x.HotwordRule } return nil } -func (m *ContentItem) GetByteItem() *ByteContentItem { - if x, ok := m.GetDataItem().(*ContentItem_ByteItem); ok { - return x.ByteItem +func (m *InspectionRule) GetExclusionRule() *ExclusionRule { + if x, ok := m.GetType().(*InspectionRule_ExclusionRule); ok { + return x.ExclusionRule } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*ContentItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ContentItem_OneofMarshaler, _ContentItem_OneofUnmarshaler, _ContentItem_OneofSizer, []interface{}{ - (*ContentItem_Value)(nil), - (*ContentItem_Table)(nil), - (*ContentItem_ByteItem)(nil), +func (*InspectionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _InspectionRule_OneofMarshaler, _InspectionRule_OneofUnmarshaler, _InspectionRule_OneofSizer, []interface{}{ + (*InspectionRule_HotwordRule)(nil), + (*InspectionRule_ExclusionRule)(nil), } } -func _ContentItem_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ContentItem) - // data_item - switch x := m.DataItem.(type) { - case *ContentItem_Value: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Value) - case *ContentItem_Table: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Table); err != nil { +func _InspectionRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*InspectionRule) + // type + switch x := m.Type.(type) { + case *InspectionRule_HotwordRule: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.HotwordRule); err != nil { return err } - case *ContentItem_ByteItem: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ByteItem); err != nil { + case *InspectionRule_ExclusionRule: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ExclusionRule); err != nil { return err } case nil: default: - return fmt.Errorf("ContentItem.DataItem has unexpected type %T", x) + return fmt.Errorf("InspectionRule.Type has unexpected type %T", x) } return nil } -func _ContentItem_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ContentItem) +func _InspectionRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*InspectionRule) switch tag { - case 3: // data_item.value - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.DataItem = &ContentItem_Value{x} - return true, err - case 4: // data_item.table + case 1: // type.hotword_rule if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(Table) + msg := new(CustomInfoType_DetectionRule_HotwordRule) err := b.DecodeMessage(msg) - m.DataItem = &ContentItem_Table{msg} + m.Type = &InspectionRule_HotwordRule{msg} return true, err - case 5: // data_item.byte_item + case 2: // type.exclusion_rule if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(ByteContentItem) + msg := new(ExclusionRule) err := b.DecodeMessage(msg) - m.DataItem = &ContentItem_ByteItem{msg} + m.Type = &InspectionRule_ExclusionRule{msg} return true, err default: return false, nil } } -func _ContentItem_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ContentItem) - // data_item - switch x := m.DataItem.(type) { - case *ContentItem_Value: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Value))) - n += len(x.Value) - case *ContentItem_Table: - s := proto.Size(x.Table) +func _InspectionRule_OneofSizer(msg proto.Message) (n int) { + m := msg.(*InspectionRule) + // type + switch x := m.Type.(type) { + case *InspectionRule_HotwordRule: + s := proto.Size(x.HotwordRule) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *ContentItem_ByteItem: - s := proto.Size(x.ByteItem) + case *InspectionRule_ExclusionRule: + s := proto.Size(x.ExclusionRule) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -943,505 +969,511 @@ func _ContentItem_OneofSizer(msg proto.Message) (n int) { return n } -// Structured content to inspect. Up to 50,000 `Value`s per request allowed. -// See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to -// learn more. -type Table struct { - Headers []*FieldId `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` - Rows []*Table_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Rule set for modifying a set of infoTypes to alter behavior under certain +// circumstances, depending on the specific details of the rules within the set. +type InspectionRuleSet struct { + // List of infoTypes this rule set is applied to. + InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` + // Set of rules to be applied to infoTypes. The rules are applied in order. + Rules []*InspectionRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Table) Reset() { *m = Table{} } -func (m *Table) String() string { return proto.CompactTextString(m) } -func (*Table) ProtoMessage() {} -func (*Table) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{3} +func (m *InspectionRuleSet) Reset() { *m = InspectionRuleSet{} } +func (m *InspectionRuleSet) String() string { return proto.CompactTextString(m) } +func (*InspectionRuleSet) ProtoMessage() {} +func (*InspectionRuleSet) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{3} } -func (m *Table) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table.Unmarshal(m, b) +func (m *InspectionRuleSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectionRuleSet.Unmarshal(m, b) } -func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table.Marshal(b, m, deterministic) +func (m *InspectionRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectionRuleSet.Marshal(b, m, deterministic) } -func (dst *Table) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table.Merge(dst, src) +func (dst *InspectionRuleSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectionRuleSet.Merge(dst, src) } -func (m *Table) XXX_Size() int { - return xxx_messageInfo_Table.Size(m) +func (m *InspectionRuleSet) XXX_Size() int { + return xxx_messageInfo_InspectionRuleSet.Size(m) } -func (m *Table) XXX_DiscardUnknown() { - xxx_messageInfo_Table.DiscardUnknown(m) +func (m *InspectionRuleSet) XXX_DiscardUnknown() { + xxx_messageInfo_InspectionRuleSet.DiscardUnknown(m) } -var xxx_messageInfo_Table proto.InternalMessageInfo +var xxx_messageInfo_InspectionRuleSet proto.InternalMessageInfo -func (m *Table) GetHeaders() []*FieldId { +func (m *InspectionRuleSet) GetInfoTypes() []*InfoType { if m != nil { - return m.Headers + return m.InfoTypes } return nil } -func (m *Table) GetRows() []*Table_Row { +func (m *InspectionRuleSet) GetRules() []*InspectionRule { if m != nil { - return m.Rows + return m.Rules } return nil } -type Table_Row struct { - Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Configuration description of the scanning process. +// When used with redactContent only info_types and min_likelihood are currently +// used. +type InspectConfig struct { + // Restricts what info_types to look for. The values must correspond to + // InfoType values returned by ListInfoTypes or listed at + // https://cloud.google.com/dlp/docs/infotypes-reference. + // + // When no InfoTypes or CustomInfoTypes are specified in a request, the + // system may automatically choose what detectors to run. By default this may + // be all types, but may change over time as detectors are updated. + // + // The special InfoType name "ALL_BASIC" can be used to trigger all detectors, + // but may change over time as new InfoTypes are added. If you need precise + // control and predictability as to what detectors are run you should specify + // specific InfoTypes listed in the reference. + InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` + // Only returns findings equal or above this threshold. The default is + // POSSIBLE. + // See https://cloud.google.com/dlp/docs/likelihood to learn more. + MinLikelihood Likelihood `protobuf:"varint,2,opt,name=min_likelihood,json=minLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"min_likelihood,omitempty"` + Limits *InspectConfig_FindingLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"` + // When true, a contextual quote from the data that triggered a finding is + // included in the response; see Finding.quote. + IncludeQuote bool `protobuf:"varint,4,opt,name=include_quote,json=includeQuote,proto3" json:"include_quote,omitempty"` + // When true, excludes type information of the findings. + ExcludeInfoTypes bool `protobuf:"varint,5,opt,name=exclude_info_types,json=excludeInfoTypes,proto3" json:"exclude_info_types,omitempty"` + // CustomInfoTypes provided by the user. See + // https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. + CustomInfoTypes []*CustomInfoType `protobuf:"bytes,6,rep,name=custom_info_types,json=customInfoTypes,proto3" json:"custom_info_types,omitempty"` + // List of options defining data content to scan. + // If empty, text, images, and other content will be included. + ContentOptions []ContentOption `protobuf:"varint,8,rep,packed,name=content_options,json=contentOptions,proto3,enum=google.privacy.dlp.v2.ContentOption" json:"content_options,omitempty"` + // Set of rules to apply to the findings for this InspectConfig. + // Exclusion rules, contained in the set are executed in the end, other + // rules are executed in the order they are specified for each info type. + RuleSet []*InspectionRuleSet `protobuf:"bytes,10,rep,name=rule_set,json=ruleSet,proto3" json:"rule_set,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Table_Row) Reset() { *m = Table_Row{} } -func (m *Table_Row) String() string { return proto.CompactTextString(m) } -func (*Table_Row) ProtoMessage() {} -func (*Table_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{3, 0} +func (m *InspectConfig) Reset() { *m = InspectConfig{} } +func (m *InspectConfig) String() string { return proto.CompactTextString(m) } +func (*InspectConfig) ProtoMessage() {} +func (*InspectConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{4} } -func (m *Table_Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table_Row.Unmarshal(m, b) +func (m *InspectConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectConfig.Unmarshal(m, b) } -func (m *Table_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table_Row.Marshal(b, m, deterministic) +func (m *InspectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectConfig.Marshal(b, m, deterministic) } -func (dst *Table_Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table_Row.Merge(dst, src) +func (dst *InspectConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectConfig.Merge(dst, src) } -func (m *Table_Row) XXX_Size() int { - return xxx_messageInfo_Table_Row.Size(m) -} -func (m *Table_Row) XXX_DiscardUnknown() { - xxx_messageInfo_Table_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_Table_Row proto.InternalMessageInfo - -func (m *Table_Row) GetValues() []*Value { - if m != nil { - return m.Values - } - return nil -} - -// All the findings for a single scanned item. -type InspectResult struct { - // List of findings for an item. - Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` - // If true, then this item might have more findings than were returned, - // and the findings returned are an arbitrary subset of all findings. - // The findings list might be truncated because the input items were too - // large, or because the server reached the maximum amount of resources - // allowed for a single API call. For best results, divide the input into - // smaller batches. - FindingsTruncated bool `protobuf:"varint,2,opt,name=findings_truncated,json=findingsTruncated,proto3" json:"findings_truncated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InspectResult) Reset() { *m = InspectResult{} } -func (m *InspectResult) String() string { return proto.CompactTextString(m) } -func (*InspectResult) ProtoMessage() {} -func (*InspectResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{4} -} -func (m *InspectResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectResult.Unmarshal(m, b) -} -func (m *InspectResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectResult.Marshal(b, m, deterministic) -} -func (dst *InspectResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectResult.Merge(dst, src) -} -func (m *InspectResult) XXX_Size() int { - return xxx_messageInfo_InspectResult.Size(m) +func (m *InspectConfig) XXX_Size() int { + return xxx_messageInfo_InspectConfig.Size(m) } -func (m *InspectResult) XXX_DiscardUnknown() { - xxx_messageInfo_InspectResult.DiscardUnknown(m) +func (m *InspectConfig) XXX_DiscardUnknown() { + xxx_messageInfo_InspectConfig.DiscardUnknown(m) } -var xxx_messageInfo_InspectResult proto.InternalMessageInfo +var xxx_messageInfo_InspectConfig proto.InternalMessageInfo -func (m *InspectResult) GetFindings() []*Finding { +func (m *InspectConfig) GetInfoTypes() []*InfoType { if m != nil { - return m.Findings + return m.InfoTypes } return nil } -func (m *InspectResult) GetFindingsTruncated() bool { +func (m *InspectConfig) GetMinLikelihood() Likelihood { if m != nil { - return m.FindingsTruncated + return m.MinLikelihood } - return false -} - -// Represents a piece of potentially sensitive content. -type Finding struct { - // The content that was found. Even if the content is not textual, it - // may be converted to a textual representation here. - // Provided if `include_quote` is true and the finding is - // less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes - // in length, the quote may be omitted. - Quote string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"` - // The type of content that might have been found. - // Provided if `excluded_types` is false. - InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` - // Confidence of how likely it is that the `info_type` is correct. - Likelihood Likelihood `protobuf:"varint,3,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"` - // Where the content was found. - Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` - // Timestamp when finding was detected. - CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Contains data parsed from quotes. Only populated if include_quote was set - // to true and a supported infoType was requested. Currently supported - // infoTypes: DATE, DATE_OF_BIRTH and TIME. - QuoteInfo *QuoteInfo `protobuf:"bytes,7,opt,name=quote_info,json=quoteInfo,proto3" json:"quote_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Finding) Reset() { *m = Finding{} } -func (m *Finding) String() string { return proto.CompactTextString(m) } -func (*Finding) ProtoMessage() {} -func (*Finding) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{5} -} -func (m *Finding) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Finding.Unmarshal(m, b) -} -func (m *Finding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Finding.Marshal(b, m, deterministic) -} -func (dst *Finding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Finding.Merge(dst, src) -} -func (m *Finding) XXX_Size() int { - return xxx_messageInfo_Finding.Size(m) -} -func (m *Finding) XXX_DiscardUnknown() { - xxx_messageInfo_Finding.DiscardUnknown(m) + return Likelihood_LIKELIHOOD_UNSPECIFIED } -var xxx_messageInfo_Finding proto.InternalMessageInfo - -func (m *Finding) GetQuote() string { +func (m *InspectConfig) GetLimits() *InspectConfig_FindingLimits { if m != nil { - return m.Quote + return m.Limits } - return "" + return nil } -func (m *Finding) GetInfoType() *InfoType { +func (m *InspectConfig) GetIncludeQuote() bool { if m != nil { - return m.InfoType + return m.IncludeQuote } - return nil + return false } -func (m *Finding) GetLikelihood() Likelihood { +func (m *InspectConfig) GetExcludeInfoTypes() bool { if m != nil { - return m.Likelihood + return m.ExcludeInfoTypes } - return Likelihood_LIKELIHOOD_UNSPECIFIED + return false } -func (m *Finding) GetLocation() *Location { +func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType { if m != nil { - return m.Location + return m.CustomInfoTypes } return nil } -func (m *Finding) GetCreateTime() *timestamp.Timestamp { +func (m *InspectConfig) GetContentOptions() []ContentOption { if m != nil { - return m.CreateTime + return m.ContentOptions } return nil } -func (m *Finding) GetQuoteInfo() *QuoteInfo { +func (m *InspectConfig) GetRuleSet() []*InspectionRuleSet { if m != nil { - return m.QuoteInfo + return m.RuleSet } return nil } -// Specifies the location of the finding. -type Location struct { - // Zero-based byte offsets delimiting the finding. - // These are relative to the finding's containing element. - // Note that when the content is not textual, this references - // the UTF-8 encoded textual representation of the content. - // Omitted if content is an image. - ByteRange *Range `protobuf:"bytes,1,opt,name=byte_range,json=byteRange,proto3" json:"byte_range,omitempty"` - // Unicode character offsets delimiting the finding. - // These are relative to the finding's containing element. - // Provided when the content is text. - CodepointRange *Range `protobuf:"bytes,2,opt,name=codepoint_range,json=codepointRange,proto3" json:"codepoint_range,omitempty"` - // List of nested objects pointing to the precise location of the finding - // within the file or record. - ContentLocations []*ContentLocation `protobuf:"bytes,7,rep,name=content_locations,json=contentLocations,proto3" json:"content_locations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type InspectConfig_FindingLimits struct { + // Max number of findings that will be returned for each item scanned. + // When set within `InspectDataSourceRequest`, + // the maximum returned is 1000 regardless if this is set higher. + // When set within `InspectContentRequest`, this field is ignored. + MaxFindingsPerItem int32 `protobuf:"varint,1,opt,name=max_findings_per_item,json=maxFindingsPerItem,proto3" json:"max_findings_per_item,omitempty"` + // Max number of findings that will be returned per request/job. + // When set within `InspectContentRequest`, the maximum returned is 1000 + // regardless if this is set higher. + MaxFindingsPerRequest int32 `protobuf:"varint,2,opt,name=max_findings_per_request,json=maxFindingsPerRequest,proto3" json:"max_findings_per_request,omitempty"` + // Configuration of findings limit given for specified infoTypes. + MaxFindingsPerInfoType []*InspectConfig_FindingLimits_InfoTypeLimit `protobuf:"bytes,3,rep,name=max_findings_per_info_type,json=maxFindingsPerInfoType,proto3" json:"max_findings_per_info_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Location) Reset() { *m = Location{} } -func (m *Location) String() string { return proto.CompactTextString(m) } -func (*Location) ProtoMessage() {} -func (*Location) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{6} +func (m *InspectConfig_FindingLimits) Reset() { *m = InspectConfig_FindingLimits{} } +func (m *InspectConfig_FindingLimits) String() string { return proto.CompactTextString(m) } +func (*InspectConfig_FindingLimits) ProtoMessage() {} +func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{4, 0} } -func (m *Location) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Location.Unmarshal(m, b) +func (m *InspectConfig_FindingLimits) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectConfig_FindingLimits.Unmarshal(m, b) } -func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Location.Marshal(b, m, deterministic) +func (m *InspectConfig_FindingLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectConfig_FindingLimits.Marshal(b, m, deterministic) } -func (dst *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(dst, src) +func (dst *InspectConfig_FindingLimits) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectConfig_FindingLimits.Merge(dst, src) } -func (m *Location) XXX_Size() int { - return xxx_messageInfo_Location.Size(m) +func (m *InspectConfig_FindingLimits) XXX_Size() int { + return xxx_messageInfo_InspectConfig_FindingLimits.Size(m) } -func (m *Location) XXX_DiscardUnknown() { - xxx_messageInfo_Location.DiscardUnknown(m) +func (m *InspectConfig_FindingLimits) XXX_DiscardUnknown() { + xxx_messageInfo_InspectConfig_FindingLimits.DiscardUnknown(m) } -var xxx_messageInfo_Location proto.InternalMessageInfo +var xxx_messageInfo_InspectConfig_FindingLimits proto.InternalMessageInfo -func (m *Location) GetByteRange() *Range { +func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32 { if m != nil { - return m.ByteRange + return m.MaxFindingsPerItem } - return nil + return 0 } -func (m *Location) GetCodepointRange() *Range { +func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32 { if m != nil { - return m.CodepointRange + return m.MaxFindingsPerRequest } - return nil + return 0 } -func (m *Location) GetContentLocations() []*ContentLocation { +func (m *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit { if m != nil { - return m.ContentLocations + return m.MaxFindingsPerInfoType } return nil } -// Findings container location data. -type ContentLocation struct { - // Name of the container where the finding is located. - // The top level name is the source file name or table name. Nested names - // could be absent if the embedded object has no string identifier - // (for an example an image contained within a document). - ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` - // Type of the container within the file with location of the finding. - // - // Types that are valid to be assigned to Location: - // *ContentLocation_RecordLocation - // *ContentLocation_ImageLocation - // *ContentLocation_DocumentLocation - Location isContentLocation_Location `protobuf_oneof:"location"` - // Findings container modification timestamp, if applicable. - // For Google Cloud Storage contains last file modification timestamp. - // For BigQuery table contains last_modified_time property. - // For Datastore - not populated. - ContainerTimestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"` - // Findings container version, if available - // ("generation" for Google Cloud Storage). - ContainerVersion string `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"` +// Max findings configuration per infoType, per content item or long +// running DlpJob. +type InspectConfig_FindingLimits_InfoTypeLimit struct { + // Type of information the findings limit applies to. Only one limit per + // info_type should be provided. If InfoTypeLimit does not have an + // info_type, the DLP API applies the limit against all info_types that + // are found but not specified in another InfoTypeLimit. + InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` + // Max findings limit for the given infoType. + MaxFindings int32 `protobuf:"varint,2,opt,name=max_findings,json=maxFindings,proto3" json:"max_findings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ContentLocation) Reset() { *m = ContentLocation{} } -func (m *ContentLocation) String() string { return proto.CompactTextString(m) } -func (*ContentLocation) ProtoMessage() {} -func (*ContentLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{7} +func (m *InspectConfig_FindingLimits_InfoTypeLimit) Reset() { + *m = InspectConfig_FindingLimits_InfoTypeLimit{} } -func (m *ContentLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContentLocation.Unmarshal(m, b) +func (m *InspectConfig_FindingLimits_InfoTypeLimit) String() string { return proto.CompactTextString(m) } +func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage() {} +func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{4, 0, 0} } -func (m *ContentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContentLocation.Marshal(b, m, deterministic) +func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Unmarshal(m, b) } -func (dst *ContentLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentLocation.Merge(dst, src) +func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Marshal(b, m, deterministic) } -func (m *ContentLocation) XXX_Size() int { - return xxx_messageInfo_ContentLocation.Size(m) +func (dst *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Merge(dst, src) } -func (m *ContentLocation) XXX_DiscardUnknown() { - xxx_messageInfo_ContentLocation.DiscardUnknown(m) +func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Size() int { + return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Size(m) +} +func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_DiscardUnknown() { + xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.DiscardUnknown(m) } -var xxx_messageInfo_ContentLocation proto.InternalMessageInfo +var xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit proto.InternalMessageInfo -type isContentLocation_Location interface { - isContentLocation_Location() +func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType { + if m != nil { + return m.InfoType + } + return nil } -type ContentLocation_RecordLocation struct { - RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"` +func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32 { + if m != nil { + return m.MaxFindings + } + return 0 } -type ContentLocation_ImageLocation struct { - ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"` + +// Container for bytes to inspect or redact. +type ByteContentItem struct { + // The type of data stored in the bytes string. Default will be TEXT_UTF8. + Type ByteContentItem_BytesType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.ByteContentItem_BytesType" json:"type,omitempty"` + // Content data to inspect or redact. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type ContentLocation_DocumentLocation struct { - DocumentLocation *DocumentLocation `protobuf:"bytes,5,opt,name=document_location,json=documentLocation,proto3,oneof"` + +func (m *ByteContentItem) Reset() { *m = ByteContentItem{} } +func (m *ByteContentItem) String() string { return proto.CompactTextString(m) } +func (*ByteContentItem) ProtoMessage() {} +func (*ByteContentItem) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{5} +} +func (m *ByteContentItem) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ByteContentItem.Unmarshal(m, b) +} +func (m *ByteContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ByteContentItem.Marshal(b, m, deterministic) +} +func (dst *ByteContentItem) XXX_Merge(src proto.Message) { + xxx_messageInfo_ByteContentItem.Merge(dst, src) +} +func (m *ByteContentItem) XXX_Size() int { + return xxx_messageInfo_ByteContentItem.Size(m) +} +func (m *ByteContentItem) XXX_DiscardUnknown() { + xxx_messageInfo_ByteContentItem.DiscardUnknown(m) } -func (*ContentLocation_RecordLocation) isContentLocation_Location() {} -func (*ContentLocation_ImageLocation) isContentLocation_Location() {} -func (*ContentLocation_DocumentLocation) isContentLocation_Location() {} +var xxx_messageInfo_ByteContentItem proto.InternalMessageInfo -func (m *ContentLocation) GetLocation() isContentLocation_Location { +func (m *ByteContentItem) GetType() ByteContentItem_BytesType { if m != nil { - return m.Location + return m.Type } - return nil + return ByteContentItem_BYTES_TYPE_UNSPECIFIED } -func (m *ContentLocation) GetContainerName() string { +func (m *ByteContentItem) GetData() []byte { if m != nil { - return m.ContainerName + return m.Data } - return "" + return nil } -func (m *ContentLocation) GetRecordLocation() *RecordLocation { - if x, ok := m.GetLocation().(*ContentLocation_RecordLocation); ok { - return x.RecordLocation - } - return nil +// Container structure for the content to inspect. +type ContentItem struct { + // Data of the item either in the byte array or UTF-8 string form, or table. + // + // Types that are valid to be assigned to DataItem: + // *ContentItem_Value + // *ContentItem_Table + // *ContentItem_ByteItem + DataItem isContentItem_DataItem `protobuf_oneof:"data_item"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ContentLocation) GetImageLocation() *ImageLocation { - if x, ok := m.GetLocation().(*ContentLocation_ImageLocation); ok { - return x.ImageLocation +func (m *ContentItem) Reset() { *m = ContentItem{} } +func (m *ContentItem) String() string { return proto.CompactTextString(m) } +func (*ContentItem) ProtoMessage() {} +func (*ContentItem) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{6} +} +func (m *ContentItem) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContentItem.Unmarshal(m, b) +} +func (m *ContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContentItem.Marshal(b, m, deterministic) +} +func (dst *ContentItem) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContentItem.Merge(dst, src) +} +func (m *ContentItem) XXX_Size() int { + return xxx_messageInfo_ContentItem.Size(m) +} +func (m *ContentItem) XXX_DiscardUnknown() { + xxx_messageInfo_ContentItem.DiscardUnknown(m) +} + +var xxx_messageInfo_ContentItem proto.InternalMessageInfo + +type isContentItem_DataItem interface { + isContentItem_DataItem() +} + +type ContentItem_Value struct { + Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"` +} + +type ContentItem_Table struct { + Table *Table `protobuf:"bytes,4,opt,name=table,proto3,oneof"` +} + +type ContentItem_ByteItem struct { + ByteItem *ByteContentItem `protobuf:"bytes,5,opt,name=byte_item,json=byteItem,proto3,oneof"` +} + +func (*ContentItem_Value) isContentItem_DataItem() {} + +func (*ContentItem_Table) isContentItem_DataItem() {} + +func (*ContentItem_ByteItem) isContentItem_DataItem() {} + +func (m *ContentItem) GetDataItem() isContentItem_DataItem { + if m != nil { + return m.DataItem } return nil } -func (m *ContentLocation) GetDocumentLocation() *DocumentLocation { - if x, ok := m.GetLocation().(*ContentLocation_DocumentLocation); ok { - return x.DocumentLocation +func (m *ContentItem) GetValue() string { + if x, ok := m.GetDataItem().(*ContentItem_Value); ok { + return x.Value } - return nil + return "" } -func (m *ContentLocation) GetContainerTimestamp() *timestamp.Timestamp { - if m != nil { - return m.ContainerTimestamp +func (m *ContentItem) GetTable() *Table { + if x, ok := m.GetDataItem().(*ContentItem_Table); ok { + return x.Table } return nil } -func (m *ContentLocation) GetContainerVersion() string { - if m != nil { - return m.ContainerVersion +func (m *ContentItem) GetByteItem() *ByteContentItem { + if x, ok := m.GetDataItem().(*ContentItem_ByteItem); ok { + return x.ByteItem } - return "" + return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*ContentLocation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ContentLocation_OneofMarshaler, _ContentLocation_OneofUnmarshaler, _ContentLocation_OneofSizer, []interface{}{ - (*ContentLocation_RecordLocation)(nil), - (*ContentLocation_ImageLocation)(nil), - (*ContentLocation_DocumentLocation)(nil), +func (*ContentItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ContentItem_OneofMarshaler, _ContentItem_OneofUnmarshaler, _ContentItem_OneofSizer, []interface{}{ + (*ContentItem_Value)(nil), + (*ContentItem_Table)(nil), + (*ContentItem_ByteItem)(nil), } } -func _ContentLocation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ContentLocation) - // location - switch x := m.Location.(type) { - case *ContentLocation_RecordLocation: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RecordLocation); err != nil { - return err - } - case *ContentLocation_ImageLocation: +func _ContentItem_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ContentItem) + // data_item + switch x := m.DataItem.(type) { + case *ContentItem_Value: b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ImageLocation); err != nil { + b.EncodeStringBytes(x.Value) + case *ContentItem_Table: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Table); err != nil { return err } - case *ContentLocation_DocumentLocation: + case *ContentItem_ByteItem: b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DocumentLocation); err != nil { + if err := b.EncodeMessage(x.ByteItem); err != nil { return err } case nil: default: - return fmt.Errorf("ContentLocation.Location has unexpected type %T", x) + return fmt.Errorf("ContentItem.DataItem has unexpected type %T", x) } return nil } -func _ContentLocation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ContentLocation) +func _ContentItem_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ContentItem) switch tag { - case 2: // location.record_location + case 3: // data_item.value if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(RecordLocation) - err := b.DecodeMessage(msg) - m.Location = &ContentLocation_RecordLocation{msg} + x, err := b.DecodeStringBytes() + m.DataItem = &ContentItem_Value{x} return true, err - case 3: // location.image_location + case 4: // data_item.table if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(ImageLocation) + msg := new(Table) err := b.DecodeMessage(msg) - m.Location = &ContentLocation_ImageLocation{msg} + m.DataItem = &ContentItem_Table{msg} return true, err - case 5: // location.document_location + case 5: // data_item.byte_item if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(DocumentLocation) + msg := new(ByteContentItem) err := b.DecodeMessage(msg) - m.Location = &ContentLocation_DocumentLocation{msg} + m.DataItem = &ContentItem_ByteItem{msg} return true, err default: return false, nil } } -func _ContentLocation_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ContentLocation) - // location - switch x := m.Location.(type) { - case *ContentLocation_RecordLocation: - s := proto.Size(x.RecordLocation) +func _ContentItem_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ContentItem) + // data_item + switch x := m.DataItem.(type) { + case *ContentItem_Value: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.Value))) + n += len(x.Value) + case *ContentItem_Table: + s := proto.Size(x.Table) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *ContentLocation_ImageLocation: - s := proto.Size(x.ImageLocation) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ContentLocation_DocumentLocation: - s := proto.Size(x.DocumentLocation) + case *ContentItem_ByteItem: + s := proto.Size(x.ByteItem) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -1452,531 +1484,518 @@ func _ContentLocation_OneofSizer(msg proto.Message) (n int) { return n } -// Location of a finding within a document. -type DocumentLocation struct { - // Offset of the line, from the beginning of the file, where the finding - // is located. - FileOffset int64 `protobuf:"varint,1,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DocumentLocation) Reset() { *m = DocumentLocation{} } -func (m *DocumentLocation) String() string { return proto.CompactTextString(m) } -func (*DocumentLocation) ProtoMessage() {} -func (*DocumentLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{8} -} -func (m *DocumentLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentLocation.Unmarshal(m, b) -} -func (m *DocumentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentLocation.Marshal(b, m, deterministic) -} -func (dst *DocumentLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentLocation.Merge(dst, src) -} -func (m *DocumentLocation) XXX_Size() int { - return xxx_messageInfo_DocumentLocation.Size(m) -} -func (m *DocumentLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentLocation proto.InternalMessageInfo - -func (m *DocumentLocation) GetFileOffset() int64 { - if m != nil { - return m.FileOffset - } - return 0 -} - -// Location of a finding within a row or record. -type RecordLocation struct { - // Key of the finding. - RecordKey *RecordKey `protobuf:"bytes,1,opt,name=record_key,json=recordKey,proto3" json:"record_key,omitempty"` - // Field id of the field containing the finding. - FieldId *FieldId `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` - // Location within a `ContentItem.Table`. - TableLocation *TableLocation `protobuf:"bytes,3,opt,name=table_location,json=tableLocation,proto3" json:"table_location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Structured content to inspect. Up to 50,000 `Value`s per request allowed. +// See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to +// learn more. +type Table struct { + Headers []*FieldId `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` + Rows []*Table_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RecordLocation) Reset() { *m = RecordLocation{} } -func (m *RecordLocation) String() string { return proto.CompactTextString(m) } -func (*RecordLocation) ProtoMessage() {} -func (*RecordLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{9} +func (m *Table) Reset() { *m = Table{} } +func (m *Table) String() string { return proto.CompactTextString(m) } +func (*Table) ProtoMessage() {} +func (*Table) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{7} } -func (m *RecordLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordLocation.Unmarshal(m, b) +func (m *Table) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Table.Unmarshal(m, b) } -func (m *RecordLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordLocation.Marshal(b, m, deterministic) +func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Table.Marshal(b, m, deterministic) } -func (dst *RecordLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordLocation.Merge(dst, src) +func (dst *Table) XXX_Merge(src proto.Message) { + xxx_messageInfo_Table.Merge(dst, src) } -func (m *RecordLocation) XXX_Size() int { - return xxx_messageInfo_RecordLocation.Size(m) +func (m *Table) XXX_Size() int { + return xxx_messageInfo_Table.Size(m) } -func (m *RecordLocation) XXX_DiscardUnknown() { - xxx_messageInfo_RecordLocation.DiscardUnknown(m) +func (m *Table) XXX_DiscardUnknown() { + xxx_messageInfo_Table.DiscardUnknown(m) } -var xxx_messageInfo_RecordLocation proto.InternalMessageInfo - -func (m *RecordLocation) GetRecordKey() *RecordKey { - if m != nil { - return m.RecordKey - } - return nil -} +var xxx_messageInfo_Table proto.InternalMessageInfo -func (m *RecordLocation) GetFieldId() *FieldId { +func (m *Table) GetHeaders() []*FieldId { if m != nil { - return m.FieldId + return m.Headers } return nil } -func (m *RecordLocation) GetTableLocation() *TableLocation { +func (m *Table) GetRows() []*Table_Row { if m != nil { - return m.TableLocation + return m.Rows } return nil } -// Location of a finding within a table. -type TableLocation struct { - // The zero-based index of the row where the finding is located. - RowIndex int64 `protobuf:"varint,1,opt,name=row_index,json=rowIndex,proto3" json:"row_index,omitempty"` +type Table_Row struct { + Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *TableLocation) Reset() { *m = TableLocation{} } -func (m *TableLocation) String() string { return proto.CompactTextString(m) } -func (*TableLocation) ProtoMessage() {} -func (*TableLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{10} +func (m *Table_Row) Reset() { *m = Table_Row{} } +func (m *Table_Row) String() string { return proto.CompactTextString(m) } +func (*Table_Row) ProtoMessage() {} +func (*Table_Row) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{7, 0} } -func (m *TableLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableLocation.Unmarshal(m, b) +func (m *Table_Row) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Table_Row.Unmarshal(m, b) } -func (m *TableLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableLocation.Marshal(b, m, deterministic) +func (m *Table_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Table_Row.Marshal(b, m, deterministic) } -func (dst *TableLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableLocation.Merge(dst, src) +func (dst *Table_Row) XXX_Merge(src proto.Message) { + xxx_messageInfo_Table_Row.Merge(dst, src) } -func (m *TableLocation) XXX_Size() int { - return xxx_messageInfo_TableLocation.Size(m) +func (m *Table_Row) XXX_Size() int { + return xxx_messageInfo_Table_Row.Size(m) } -func (m *TableLocation) XXX_DiscardUnknown() { - xxx_messageInfo_TableLocation.DiscardUnknown(m) +func (m *Table_Row) XXX_DiscardUnknown() { + xxx_messageInfo_Table_Row.DiscardUnknown(m) } -var xxx_messageInfo_TableLocation proto.InternalMessageInfo +var xxx_messageInfo_Table_Row proto.InternalMessageInfo -func (m *TableLocation) GetRowIndex() int64 { +func (m *Table_Row) GetValues() []*Value { if m != nil { - return m.RowIndex + return m.Values } - return 0 + return nil } -// Generic half-open interval [start, end) -type Range struct { - // Index of the first character of the range (inclusive). - Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` - // Index of the last character of the range (exclusive). - End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` +// All the findings for a single scanned item. +type InspectResult struct { + // List of findings for an item. + Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` + // If true, then this item might have more findings than were returned, + // and the findings returned are an arbitrary subset of all findings. + // The findings list might be truncated because the input items were too + // large, or because the server reached the maximum amount of resources + // allowed for a single API call. For best results, divide the input into + // smaller batches. + FindingsTruncated bool `protobuf:"varint,2,opt,name=findings_truncated,json=findingsTruncated,proto3" json:"findings_truncated,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *Range) Reset() { *m = Range{} } -func (m *Range) String() string { return proto.CompactTextString(m) } -func (*Range) ProtoMessage() {} -func (*Range) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{11} +func (m *InspectResult) Reset() { *m = InspectResult{} } +func (m *InspectResult) String() string { return proto.CompactTextString(m) } +func (*InspectResult) ProtoMessage() {} +func (*InspectResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{8} } -func (m *Range) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Range.Unmarshal(m, b) +func (m *InspectResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectResult.Unmarshal(m, b) } -func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Range.Marshal(b, m, deterministic) +func (m *InspectResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectResult.Marshal(b, m, deterministic) } -func (dst *Range) XXX_Merge(src proto.Message) { - xxx_messageInfo_Range.Merge(dst, src) +func (dst *InspectResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectResult.Merge(dst, src) } -func (m *Range) XXX_Size() int { - return xxx_messageInfo_Range.Size(m) +func (m *InspectResult) XXX_Size() int { + return xxx_messageInfo_InspectResult.Size(m) } -func (m *Range) XXX_DiscardUnknown() { - xxx_messageInfo_Range.DiscardUnknown(m) +func (m *InspectResult) XXX_DiscardUnknown() { + xxx_messageInfo_InspectResult.DiscardUnknown(m) } -var xxx_messageInfo_Range proto.InternalMessageInfo +var xxx_messageInfo_InspectResult proto.InternalMessageInfo -func (m *Range) GetStart() int64 { +func (m *InspectResult) GetFindings() []*Finding { if m != nil { - return m.Start + return m.Findings } - return 0 + return nil } -func (m *Range) GetEnd() int64 { +func (m *InspectResult) GetFindingsTruncated() bool { if m != nil { - return m.End + return m.FindingsTruncated } - return 0 + return false } -// Location of the finding within an image. -type ImageLocation struct { - // Bounding boxes locating the pixels within the image containing the finding. - BoundingBoxes []*BoundingBox `protobuf:"bytes,1,rep,name=bounding_boxes,json=boundingBoxes,proto3" json:"bounding_boxes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Represents a piece of potentially sensitive content. +type Finding struct { + // The content that was found. Even if the content is not textual, it + // may be converted to a textual representation here. + // Provided if `include_quote` is true and the finding is + // less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes + // in length, the quote may be omitted. + Quote string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"` + // The type of content that might have been found. + // Provided if `excluded_types` is false. + InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` + // Confidence of how likely it is that the `info_type` is correct. + Likelihood Likelihood `protobuf:"varint,3,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"` + // Where the content was found. + Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` + // Timestamp when finding was detected. + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Contains data parsed from quotes. Only populated if include_quote was set + // to true and a supported infoType was requested. Currently supported + // infoTypes: DATE, DATE_OF_BIRTH and TIME. + QuoteInfo *QuoteInfo `protobuf:"bytes,7,opt,name=quote_info,json=quoteInfo,proto3" json:"quote_info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ImageLocation) Reset() { *m = ImageLocation{} } -func (m *ImageLocation) String() string { return proto.CompactTextString(m) } -func (*ImageLocation) ProtoMessage() {} -func (*ImageLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{12} +func (m *Finding) Reset() { *m = Finding{} } +func (m *Finding) String() string { return proto.CompactTextString(m) } +func (*Finding) ProtoMessage() {} +func (*Finding) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{9} } -func (m *ImageLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageLocation.Unmarshal(m, b) +func (m *Finding) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Finding.Unmarshal(m, b) } -func (m *ImageLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageLocation.Marshal(b, m, deterministic) +func (m *Finding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Finding.Marshal(b, m, deterministic) } -func (dst *ImageLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageLocation.Merge(dst, src) +func (dst *Finding) XXX_Merge(src proto.Message) { + xxx_messageInfo_Finding.Merge(dst, src) } -func (m *ImageLocation) XXX_Size() int { - return xxx_messageInfo_ImageLocation.Size(m) +func (m *Finding) XXX_Size() int { + return xxx_messageInfo_Finding.Size(m) } -func (m *ImageLocation) XXX_DiscardUnknown() { - xxx_messageInfo_ImageLocation.DiscardUnknown(m) +func (m *Finding) XXX_DiscardUnknown() { + xxx_messageInfo_Finding.DiscardUnknown(m) } -var xxx_messageInfo_ImageLocation proto.InternalMessageInfo +var xxx_messageInfo_Finding proto.InternalMessageInfo -func (m *ImageLocation) GetBoundingBoxes() []*BoundingBox { +func (m *Finding) GetQuote() string { if m != nil { - return m.BoundingBoxes + return m.Quote } - return nil -} - -// Bounding box encompassing detected text within an image. -type BoundingBox struct { - // Top coordinate of the bounding box. (0,0) is upper left. - Top int32 `protobuf:"varint,1,opt,name=top,proto3" json:"top,omitempty"` - // Left coordinate of the bounding box. (0,0) is upper left. - Left int32 `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"` - // Width of the bounding box in pixels. - Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - // Height of the bounding box in pixels. - Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return "" } -func (m *BoundingBox) Reset() { *m = BoundingBox{} } -func (m *BoundingBox) String() string { return proto.CompactTextString(m) } -func (*BoundingBox) ProtoMessage() {} -func (*BoundingBox) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{13} -} -func (m *BoundingBox) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingBox.Unmarshal(m, b) -} -func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingBox.Marshal(b, m, deterministic) -} -func (dst *BoundingBox) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingBox.Merge(dst, src) -} -func (m *BoundingBox) XXX_Size() int { - return xxx_messageInfo_BoundingBox.Size(m) -} -func (m *BoundingBox) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingBox.DiscardUnknown(m) +func (m *Finding) GetInfoType() *InfoType { + if m != nil { + return m.InfoType + } + return nil } -var xxx_messageInfo_BoundingBox proto.InternalMessageInfo - -func (m *BoundingBox) GetTop() int32 { +func (m *Finding) GetLikelihood() Likelihood { if m != nil { - return m.Top + return m.Likelihood } - return 0 + return Likelihood_LIKELIHOOD_UNSPECIFIED } -func (m *BoundingBox) GetLeft() int32 { +func (m *Finding) GetLocation() *Location { if m != nil { - return m.Left + return m.Location } - return 0 + return nil } -func (m *BoundingBox) GetWidth() int32 { +func (m *Finding) GetCreateTime() *timestamp.Timestamp { if m != nil { - return m.Width + return m.CreateTime } - return 0 + return nil } -func (m *BoundingBox) GetHeight() int32 { +func (m *Finding) GetQuoteInfo() *QuoteInfo { if m != nil { - return m.Height + return m.QuoteInfo } - return 0 + return nil } -// Request to search for potentially sensitive info in an image and redact it -// by covering it with a colored rectangle. -type RedactImageRequest struct { - // The parent resource name, for example projects/my-project-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Configuration for the inspector. - InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` - // The configuration for specifying what content to redact from images. - ImageRedactionConfigs []*RedactImageRequest_ImageRedactionConfig `protobuf:"bytes,5,rep,name=image_redaction_configs,json=imageRedactionConfigs,proto3" json:"image_redaction_configs,omitempty"` - // Whether the response should include findings along with the redacted - // image. - IncludeFindings bool `protobuf:"varint,6,opt,name=include_findings,json=includeFindings,proto3" json:"include_findings,omitempty"` - // The content must be PNG, JPEG, SVG or BMP. - ByteItem *ByteContentItem `protobuf:"bytes,7,opt,name=byte_item,json=byteItem,proto3" json:"byte_item,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Specifies the location of the finding. +type Location struct { + // Zero-based byte offsets delimiting the finding. + // These are relative to the finding's containing element. + // Note that when the content is not textual, this references + // the UTF-8 encoded textual representation of the content. + // Omitted if content is an image. + ByteRange *Range `protobuf:"bytes,1,opt,name=byte_range,json=byteRange,proto3" json:"byte_range,omitempty"` + // Unicode character offsets delimiting the finding. + // These are relative to the finding's containing element. + // Provided when the content is text. + CodepointRange *Range `protobuf:"bytes,2,opt,name=codepoint_range,json=codepointRange,proto3" json:"codepoint_range,omitempty"` + // List of nested objects pointing to the precise location of the finding + // within the file or record. + ContentLocations []*ContentLocation `protobuf:"bytes,7,rep,name=content_locations,json=contentLocations,proto3" json:"content_locations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RedactImageRequest) Reset() { *m = RedactImageRequest{} } -func (m *RedactImageRequest) String() string { return proto.CompactTextString(m) } -func (*RedactImageRequest) ProtoMessage() {} -func (*RedactImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{14} +func (m *Location) Reset() { *m = Location{} } +func (m *Location) String() string { return proto.CompactTextString(m) } +func (*Location) ProtoMessage() {} +func (*Location) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{10} } -func (m *RedactImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactImageRequest.Unmarshal(m, b) +func (m *Location) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Location.Unmarshal(m, b) } -func (m *RedactImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RedactImageRequest.Marshal(b, m, deterministic) +func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Location.Marshal(b, m, deterministic) } -func (dst *RedactImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactImageRequest.Merge(dst, src) +func (dst *Location) XXX_Merge(src proto.Message) { + xxx_messageInfo_Location.Merge(dst, src) } -func (m *RedactImageRequest) XXX_Size() int { - return xxx_messageInfo_RedactImageRequest.Size(m) +func (m *Location) XXX_Size() int { + return xxx_messageInfo_Location.Size(m) } -func (m *RedactImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RedactImageRequest.DiscardUnknown(m) +func (m *Location) XXX_DiscardUnknown() { + xxx_messageInfo_Location.DiscardUnknown(m) } -var xxx_messageInfo_RedactImageRequest proto.InternalMessageInfo - -func (m *RedactImageRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} +var xxx_messageInfo_Location proto.InternalMessageInfo -func (m *RedactImageRequest) GetInspectConfig() *InspectConfig { +func (m *Location) GetByteRange() *Range { if m != nil { - return m.InspectConfig + return m.ByteRange } return nil } -func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig { +func (m *Location) GetCodepointRange() *Range { if m != nil { - return m.ImageRedactionConfigs + return m.CodepointRange } return nil } -func (m *RedactImageRequest) GetIncludeFindings() bool { - if m != nil { - return m.IncludeFindings - } - return false -} - -func (m *RedactImageRequest) GetByteItem() *ByteContentItem { +func (m *Location) GetContentLocations() []*ContentLocation { if m != nil { - return m.ByteItem + return m.ContentLocations } return nil } -// Configuration for determining how redaction of images should occur. -type RedactImageRequest_ImageRedactionConfig struct { - // Type of information to redact from images. +// Findings container location data. +type ContentLocation struct { + // Name of the container where the finding is located. + // The top level name is the source file name or table name. Names of some + // common storage containers are formatted as follows: // - // Types that are valid to be assigned to Target: - // *RedactImageRequest_ImageRedactionConfig_InfoType - // *RedactImageRequest_ImageRedactionConfig_RedactAllText - Target isRedactImageRequest_ImageRedactionConfig_Target `protobuf_oneof:"target"` - // The color to use when redacting content from an image. If not specified, - // the default is black. - RedactionColor *Color `protobuf:"bytes,3,opt,name=redaction_color,json=redactionColor,proto3" json:"redaction_color,omitempty"` + // * BigQuery tables: `:.` + // * Cloud Storage files: `gs:///` + // * Datastore namespace: + // + // Nested names could be absent if the embedded object has no string + // identifier (for an example an image contained within a document). + ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` + // Type of the container within the file with location of the finding. + // + // Types that are valid to be assigned to Location: + // *ContentLocation_RecordLocation + // *ContentLocation_ImageLocation + // *ContentLocation_DocumentLocation + Location isContentLocation_Location `protobuf_oneof:"location"` + // Findings container modification timestamp, if applicable. + // For Google Cloud Storage contains last file modification timestamp. + // For BigQuery table contains last_modified_time property. + // For Datastore - not populated. + ContainerTimestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"` + // Findings container version, if available + // ("generation" for Google Cloud Storage). + ContainerVersion string `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *RedactImageRequest_ImageRedactionConfig) Reset() { - *m = RedactImageRequest_ImageRedactionConfig{} -} -func (m *RedactImageRequest_ImageRedactionConfig) String() string { return proto.CompactTextString(m) } -func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage() {} -func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{14, 0} +func (m *ContentLocation) Reset() { *m = ContentLocation{} } +func (m *ContentLocation) String() string { return proto.CompactTextString(m) } +func (*ContentLocation) ProtoMessage() {} +func (*ContentLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{11} } -func (m *RedactImageRequest_ImageRedactionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Unmarshal(m, b) +func (m *ContentLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContentLocation.Unmarshal(m, b) } -func (m *RedactImageRequest_ImageRedactionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Marshal(b, m, deterministic) +func (m *ContentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContentLocation.Marshal(b, m, deterministic) } -func (dst *RedactImageRequest_ImageRedactionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Merge(dst, src) +func (dst *ContentLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContentLocation.Merge(dst, src) } -func (m *RedactImageRequest_ImageRedactionConfig) XXX_Size() int { - return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Size(m) +func (m *ContentLocation) XXX_Size() int { + return xxx_messageInfo_ContentLocation.Size(m) } -func (m *RedactImageRequest_ImageRedactionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.DiscardUnknown(m) +func (m *ContentLocation) XXX_DiscardUnknown() { + xxx_messageInfo_ContentLocation.DiscardUnknown(m) } -var xxx_messageInfo_RedactImageRequest_ImageRedactionConfig proto.InternalMessageInfo +var xxx_messageInfo_ContentLocation proto.InternalMessageInfo -type isRedactImageRequest_ImageRedactionConfig_Target interface { - isRedactImageRequest_ImageRedactionConfig_Target() +func (m *ContentLocation) GetContainerName() string { + if m != nil { + return m.ContainerName + } + return "" } -type RedactImageRequest_ImageRedactionConfig_InfoType struct { - InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3,oneof"` -} -type RedactImageRequest_ImageRedactionConfig_RedactAllText struct { - RedactAllText bool `protobuf:"varint,2,opt,name=redact_all_text,json=redactAllText,proto3,oneof"` +type isContentLocation_Location interface { + isContentLocation_Location() } -func (*RedactImageRequest_ImageRedactionConfig_InfoType) isRedactImageRequest_ImageRedactionConfig_Target() { +type ContentLocation_RecordLocation struct { + RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"` } -func (*RedactImageRequest_ImageRedactionConfig_RedactAllText) isRedactImageRequest_ImageRedactionConfig_Target() { + +type ContentLocation_ImageLocation struct { + ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"` } -func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target { +type ContentLocation_DocumentLocation struct { + DocumentLocation *DocumentLocation `protobuf:"bytes,5,opt,name=document_location,json=documentLocation,proto3,oneof"` +} + +func (*ContentLocation_RecordLocation) isContentLocation_Location() {} + +func (*ContentLocation_ImageLocation) isContentLocation_Location() {} + +func (*ContentLocation_DocumentLocation) isContentLocation_Location() {} + +func (m *ContentLocation) GetLocation() isContentLocation_Location { if m != nil { - return m.Target + return m.Location } return nil } -func (m *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType { - if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_InfoType); ok { - return x.InfoType +func (m *ContentLocation) GetRecordLocation() *RecordLocation { + if x, ok := m.GetLocation().(*ContentLocation_RecordLocation); ok { + return x.RecordLocation } return nil } -func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool { - if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_RedactAllText); ok { - return x.RedactAllText +func (m *ContentLocation) GetImageLocation() *ImageLocation { + if x, ok := m.GetLocation().(*ContentLocation_ImageLocation); ok { + return x.ImageLocation } - return false + return nil } -func (m *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color { +func (m *ContentLocation) GetDocumentLocation() *DocumentLocation { + if x, ok := m.GetLocation().(*ContentLocation_DocumentLocation); ok { + return x.DocumentLocation + } + return nil +} + +func (m *ContentLocation) GetContainerTimestamp() *timestamp.Timestamp { if m != nil { - return m.RedactionColor + return m.ContainerTimestamp } return nil } +func (m *ContentLocation) GetContainerVersion() string { + if m != nil { + return m.ContainerVersion + } + return "" +} + // XXX_OneofFuncs is for the internal use of the proto package. -func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _RedactImageRequest_ImageRedactionConfig_OneofMarshaler, _RedactImageRequest_ImageRedactionConfig_OneofUnmarshaler, _RedactImageRequest_ImageRedactionConfig_OneofSizer, []interface{}{ - (*RedactImageRequest_ImageRedactionConfig_InfoType)(nil), - (*RedactImageRequest_ImageRedactionConfig_RedactAllText)(nil), +func (*ContentLocation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ContentLocation_OneofMarshaler, _ContentLocation_OneofUnmarshaler, _ContentLocation_OneofSizer, []interface{}{ + (*ContentLocation_RecordLocation)(nil), + (*ContentLocation_ImageLocation)(nil), + (*ContentLocation_DocumentLocation)(nil), } } -func _RedactImageRequest_ImageRedactionConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*RedactImageRequest_ImageRedactionConfig) - // target - switch x := m.Target.(type) { - case *RedactImageRequest_ImageRedactionConfig_InfoType: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InfoType); err != nil { +func _ContentLocation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ContentLocation) + // location + switch x := m.Location.(type) { + case *ContentLocation_RecordLocation: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.RecordLocation); err != nil { return err } - case *RedactImageRequest_ImageRedactionConfig_RedactAllText: - t := uint64(0) - if x.RedactAllText { - t = 1 + case *ContentLocation_ImageLocation: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ImageLocation); err != nil { + return err + } + case *ContentLocation_DocumentLocation: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DocumentLocation); err != nil { + return err } - b.EncodeVarint(2<<3 | proto.WireVarint) - b.EncodeVarint(t) case nil: default: - return fmt.Errorf("RedactImageRequest_ImageRedactionConfig.Target has unexpected type %T", x) + return fmt.Errorf("ContentLocation.Location has unexpected type %T", x) } return nil } -func _RedactImageRequest_ImageRedactionConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*RedactImageRequest_ImageRedactionConfig) +func _ContentLocation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ContentLocation) switch tag { - case 1: // target.info_type + case 2: // location.record_location if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(InfoType) + msg := new(RecordLocation) err := b.DecodeMessage(msg) - m.Target = &RedactImageRequest_ImageRedactionConfig_InfoType{msg} + m.Location = &ContentLocation_RecordLocation{msg} return true, err - case 2: // target.redact_all_text - if wire != proto.WireVarint { + case 3: // location.image_location + if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - x, err := b.DecodeVarint() - m.Target = &RedactImageRequest_ImageRedactionConfig_RedactAllText{x != 0} + msg := new(ImageLocation) + err := b.DecodeMessage(msg) + m.Location = &ContentLocation_ImageLocation{msg} + return true, err + case 5: // location.document_location + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(DocumentLocation) + err := b.DecodeMessage(msg) + m.Location = &ContentLocation_DocumentLocation{msg} return true, err default: return false, nil } } -func _RedactImageRequest_ImageRedactionConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*RedactImageRequest_ImageRedactionConfig) - // target - switch x := m.Target.(type) { - case *RedactImageRequest_ImageRedactionConfig_InfoType: - s := proto.Size(x.InfoType) +func _ContentLocation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ContentLocation) + // location + switch x := m.Location.(type) { + case *ContentLocation_RecordLocation: + s := proto.Size(x.RecordLocation) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *RedactImageRequest_ImageRedactionConfig_RedactAllText: + case *ContentLocation_ImageLocation: + s := proto.Size(x.ImageLocation) n += 1 // tag and wire - n += 1 + n += proto.SizeVarint(uint64(s)) + n += s + case *ContentLocation_DocumentLocation: + s := proto.Size(x.DocumentLocation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -1984,655 +2003,533 @@ func _RedactImageRequest_ImageRedactionConfig_OneofSizer(msg proto.Message) (n i return n } -// Represents a color in the RGB color space. -type Color struct { - // The amount of red in the color as a value in the interval [0, 1]. - Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"` - // The amount of green in the color as a value in the interval [0, 1]. - Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"` - // The amount of blue in the color as a value in the interval [0, 1]. - Blue float32 `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"` +// Location of a finding within a document. +type DocumentLocation struct { + // Offset of the line, from the beginning of the file, where the finding + // is located. + FileOffset int64 `protobuf:"varint,1,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *Color) Reset() { *m = Color{} } -func (m *Color) String() string { return proto.CompactTextString(m) } -func (*Color) ProtoMessage() {} -func (*Color) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{15} -} -func (m *Color) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Color.Unmarshal(m, b) +func (m *DocumentLocation) Reset() { *m = DocumentLocation{} } +func (m *DocumentLocation) String() string { return proto.CompactTextString(m) } +func (*DocumentLocation) ProtoMessage() {} +func (*DocumentLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{12} } -func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Color.Marshal(b, m, deterministic) +func (m *DocumentLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DocumentLocation.Unmarshal(m, b) } -func (dst *Color) XXX_Merge(src proto.Message) { - xxx_messageInfo_Color.Merge(dst, src) +func (m *DocumentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DocumentLocation.Marshal(b, m, deterministic) } -func (m *Color) XXX_Size() int { - return xxx_messageInfo_Color.Size(m) +func (dst *DocumentLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DocumentLocation.Merge(dst, src) } -func (m *Color) XXX_DiscardUnknown() { - xxx_messageInfo_Color.DiscardUnknown(m) +func (m *DocumentLocation) XXX_Size() int { + return xxx_messageInfo_DocumentLocation.Size(m) } - -var xxx_messageInfo_Color proto.InternalMessageInfo - -func (m *Color) GetRed() float32 { - if m != nil { - return m.Red - } - return 0 +func (m *DocumentLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DocumentLocation.DiscardUnknown(m) } -func (m *Color) GetGreen() float32 { - if m != nil { - return m.Green - } - return 0 -} +var xxx_messageInfo_DocumentLocation proto.InternalMessageInfo -func (m *Color) GetBlue() float32 { +func (m *DocumentLocation) GetFileOffset() int64 { if m != nil { - return m.Blue + return m.FileOffset } return 0 } -// Results of redacting an image. -type RedactImageResponse struct { - // The redacted image. The type will be the same as the original image. - RedactedImage []byte `protobuf:"bytes,1,opt,name=redacted_image,json=redactedImage,proto3" json:"redacted_image,omitempty"` - // If an image was being inspected and the InspectConfig's include_quote was - // set to true, then this field will include all text, if any, that was found - // in the image. - ExtractedText string `protobuf:"bytes,2,opt,name=extracted_text,json=extractedText,proto3" json:"extracted_text,omitempty"` - // The findings. Populated when include_findings in the request is true. - InspectResult *InspectResult `protobuf:"bytes,3,opt,name=inspect_result,json=inspectResult,proto3" json:"inspect_result,omitempty"` +// Location of a finding within a row or record. +type RecordLocation struct { + // Key of the finding. + RecordKey *RecordKey `protobuf:"bytes,1,opt,name=record_key,json=recordKey,proto3" json:"record_key,omitempty"` + // Field id of the field containing the finding. + FieldId *FieldId `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` + // Location within a `ContentItem.Table`. + TableLocation *TableLocation `protobuf:"bytes,3,opt,name=table_location,json=tableLocation,proto3" json:"table_location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *RedactImageResponse) Reset() { *m = RedactImageResponse{} } -func (m *RedactImageResponse) String() string { return proto.CompactTextString(m) } -func (*RedactImageResponse) ProtoMessage() {} -func (*RedactImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{16} +func (m *RecordLocation) Reset() { *m = RecordLocation{} } +func (m *RecordLocation) String() string { return proto.CompactTextString(m) } +func (*RecordLocation) ProtoMessage() {} +func (*RecordLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{13} } -func (m *RedactImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactImageResponse.Unmarshal(m, b) +func (m *RecordLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordLocation.Unmarshal(m, b) } -func (m *RedactImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RedactImageResponse.Marshal(b, m, deterministic) +func (m *RecordLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordLocation.Marshal(b, m, deterministic) } -func (dst *RedactImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactImageResponse.Merge(dst, src) +func (dst *RecordLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordLocation.Merge(dst, src) } -func (m *RedactImageResponse) XXX_Size() int { - return xxx_messageInfo_RedactImageResponse.Size(m) +func (m *RecordLocation) XXX_Size() int { + return xxx_messageInfo_RecordLocation.Size(m) } -func (m *RedactImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RedactImageResponse.DiscardUnknown(m) +func (m *RecordLocation) XXX_DiscardUnknown() { + xxx_messageInfo_RecordLocation.DiscardUnknown(m) } -var xxx_messageInfo_RedactImageResponse proto.InternalMessageInfo +var xxx_messageInfo_RecordLocation proto.InternalMessageInfo -func (m *RedactImageResponse) GetRedactedImage() []byte { +func (m *RecordLocation) GetRecordKey() *RecordKey { if m != nil { - return m.RedactedImage + return m.RecordKey } return nil } -func (m *RedactImageResponse) GetExtractedText() string { +func (m *RecordLocation) GetFieldId() *FieldId { if m != nil { - return m.ExtractedText + return m.FieldId } - return "" + return nil } -func (m *RedactImageResponse) GetInspectResult() *InspectResult { +func (m *RecordLocation) GetTableLocation() *TableLocation { if m != nil { - return m.InspectResult + return m.TableLocation } return nil } -// Request to de-identify a list of items. -type DeidentifyContentRequest struct { - // The parent resource name, for example projects/my-project-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Configuration for the de-identification of the content item. - // Items specified here will override the template referenced by the - // deidentify_template_name argument. - DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"` - // Configuration for the inspector. - // Items specified here will override the template referenced by the - // inspect_template_name argument. - InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` - // The item to de-identify. Will be treated as text. - Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` - // Optional template to use. Any configuration directly specified in - // inspect_config will override those set in the template. Singular fields - // that are set in this request will replace their corresponding fields in the - // template. Repeated fields are appended. Singular sub-messages and groups - // are recursively merged. - InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` - // Optional template to use. Any configuration directly specified in - // deidentify_config will override those set in the template. Singular fields - // that are set in this request will replace their corresponding fields in the - // template. Repeated fields are appended. Singular sub-messages and groups - // are recursively merged. - DeidentifyTemplateName string `protobuf:"bytes,6,opt,name=deidentify_template_name,json=deidentifyTemplateName,proto3" json:"deidentify_template_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Location of a finding within a table. +type TableLocation struct { + // The zero-based index of the row where the finding is located. + RowIndex int64 `protobuf:"varint,1,opt,name=row_index,json=rowIndex,proto3" json:"row_index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeidentifyContentRequest) Reset() { *m = DeidentifyContentRequest{} } -func (m *DeidentifyContentRequest) String() string { return proto.CompactTextString(m) } -func (*DeidentifyContentRequest) ProtoMessage() {} -func (*DeidentifyContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{17} +func (m *TableLocation) Reset() { *m = TableLocation{} } +func (m *TableLocation) String() string { return proto.CompactTextString(m) } +func (*TableLocation) ProtoMessage() {} +func (*TableLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{14} } -func (m *DeidentifyContentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyContentRequest.Unmarshal(m, b) +func (m *TableLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TableLocation.Unmarshal(m, b) } -func (m *DeidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyContentRequest.Marshal(b, m, deterministic) +func (m *TableLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TableLocation.Marshal(b, m, deterministic) } -func (dst *DeidentifyContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyContentRequest.Merge(dst, src) +func (dst *TableLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_TableLocation.Merge(dst, src) } -func (m *DeidentifyContentRequest) XXX_Size() int { - return xxx_messageInfo_DeidentifyContentRequest.Size(m) +func (m *TableLocation) XXX_Size() int { + return xxx_messageInfo_TableLocation.Size(m) } -func (m *DeidentifyContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeidentifyContentRequest.DiscardUnknown(m) +func (m *TableLocation) XXX_DiscardUnknown() { + xxx_messageInfo_TableLocation.DiscardUnknown(m) } -var xxx_messageInfo_DeidentifyContentRequest proto.InternalMessageInfo +var xxx_messageInfo_TableLocation proto.InternalMessageInfo -func (m *DeidentifyContentRequest) GetParent() string { +func (m *TableLocation) GetRowIndex() int64 { if m != nil { - return m.Parent + return m.RowIndex } - return "" + return 0 } -func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig { - if m != nil { - return m.DeidentifyConfig - } - return nil +// Generic half-open interval [start, end) +type Range struct { + // Index of the first character of the range (inclusive). + Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` + // Index of the last character of the range (exclusive). + End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig - } - return nil +func (m *Range) Reset() { *m = Range{} } +func (m *Range) String() string { return proto.CompactTextString(m) } +func (*Range) ProtoMessage() {} +func (*Range) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{15} +} +func (m *Range) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Range.Unmarshal(m, b) +} +func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Range.Marshal(b, m, deterministic) +} +func (dst *Range) XXX_Merge(src proto.Message) { + xxx_messageInfo_Range.Merge(dst, src) +} +func (m *Range) XXX_Size() int { + return xxx_messageInfo_Range.Size(m) +} +func (m *Range) XXX_DiscardUnknown() { + xxx_messageInfo_Range.DiscardUnknown(m) } -func (m *DeidentifyContentRequest) GetItem() *ContentItem { +var xxx_messageInfo_Range proto.InternalMessageInfo + +func (m *Range) GetStart() int64 { if m != nil { - return m.Item + return m.Start } - return nil + return 0 } -func (m *DeidentifyContentRequest) GetInspectTemplateName() string { +func (m *Range) GetEnd() int64 { if m != nil { - return m.InspectTemplateName + return m.End } - return "" + return 0 } -func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string { +// Location of the finding within an image. +type ImageLocation struct { + // Bounding boxes locating the pixels within the image containing the finding. + BoundingBoxes []*BoundingBox `protobuf:"bytes,1,rep,name=bounding_boxes,json=boundingBoxes,proto3" json:"bounding_boxes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ImageLocation) Reset() { *m = ImageLocation{} } +func (m *ImageLocation) String() string { return proto.CompactTextString(m) } +func (*ImageLocation) ProtoMessage() {} +func (*ImageLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{16} +} +func (m *ImageLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImageLocation.Unmarshal(m, b) +} +func (m *ImageLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImageLocation.Marshal(b, m, deterministic) +} +func (dst *ImageLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImageLocation.Merge(dst, src) +} +func (m *ImageLocation) XXX_Size() int { + return xxx_messageInfo_ImageLocation.Size(m) +} +func (m *ImageLocation) XXX_DiscardUnknown() { + xxx_messageInfo_ImageLocation.DiscardUnknown(m) +} + +var xxx_messageInfo_ImageLocation proto.InternalMessageInfo + +func (m *ImageLocation) GetBoundingBoxes() []*BoundingBox { if m != nil { - return m.DeidentifyTemplateName + return m.BoundingBoxes } - return "" + return nil } -// Results of de-identifying a ContentItem. -type DeidentifyContentResponse struct { - // The de-identified item. - Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` - // An overview of the changes that were made on the `item`. - Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Bounding box encompassing detected text within an image. +type BoundingBox struct { + // Top coordinate of the bounding box. (0,0) is upper left. + Top int32 `protobuf:"varint,1,opt,name=top,proto3" json:"top,omitempty"` + // Left coordinate of the bounding box. (0,0) is upper left. + Left int32 `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"` + // Width of the bounding box in pixels. + Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + // Height of the bounding box in pixels. + Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeidentifyContentResponse) Reset() { *m = DeidentifyContentResponse{} } -func (m *DeidentifyContentResponse) String() string { return proto.CompactTextString(m) } -func (*DeidentifyContentResponse) ProtoMessage() {} -func (*DeidentifyContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{18} +func (m *BoundingBox) Reset() { *m = BoundingBox{} } +func (m *BoundingBox) String() string { return proto.CompactTextString(m) } +func (*BoundingBox) ProtoMessage() {} +func (*BoundingBox) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{17} } -func (m *DeidentifyContentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyContentResponse.Unmarshal(m, b) +func (m *BoundingBox) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BoundingBox.Unmarshal(m, b) } -func (m *DeidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyContentResponse.Marshal(b, m, deterministic) +func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BoundingBox.Marshal(b, m, deterministic) } -func (dst *DeidentifyContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyContentResponse.Merge(dst, src) +func (dst *BoundingBox) XXX_Merge(src proto.Message) { + xxx_messageInfo_BoundingBox.Merge(dst, src) } -func (m *DeidentifyContentResponse) XXX_Size() int { - return xxx_messageInfo_DeidentifyContentResponse.Size(m) +func (m *BoundingBox) XXX_Size() int { + return xxx_messageInfo_BoundingBox.Size(m) } -func (m *DeidentifyContentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeidentifyContentResponse.DiscardUnknown(m) +func (m *BoundingBox) XXX_DiscardUnknown() { + xxx_messageInfo_BoundingBox.DiscardUnknown(m) } -var xxx_messageInfo_DeidentifyContentResponse proto.InternalMessageInfo +var xxx_messageInfo_BoundingBox proto.InternalMessageInfo -func (m *DeidentifyContentResponse) GetItem() *ContentItem { +func (m *BoundingBox) GetTop() int32 { if m != nil { - return m.Item + return m.Top } - return nil + return 0 } -func (m *DeidentifyContentResponse) GetOverview() *TransformationOverview { +func (m *BoundingBox) GetLeft() int32 { if m != nil { - return m.Overview + return m.Left } - return nil + return 0 } -// Request to re-identify an item. -type ReidentifyContentRequest struct { - // The parent resource name. +func (m *BoundingBox) GetWidth() int32 { + if m != nil { + return m.Width + } + return 0 +} + +func (m *BoundingBox) GetHeight() int32 { + if m != nil { + return m.Height + } + return 0 +} + +// Request to search for potentially sensitive info in an image and redact it +// by covering it with a colored rectangle. +type RedactImageRequest struct { + // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Configuration for the re-identification of the content item. - // This field shares the same proto message type that is used for - // de-identification, however its usage here is for the reversal of the - // previous de-identification. Re-identification is performed by examining - // the transformations used to de-identify the items and executing the - // reverse. This requires that only reversible transformations - // be provided here. The reversible transformations are: - // - // - `CryptoReplaceFfxFpeConfig` - ReidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=reidentify_config,json=reidentifyConfig,proto3" json:"reidentify_config,omitempty"` // Configuration for the inspector. - InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` - // The item to re-identify. Will be treated as text. - Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` - // Optional template to use. Any configuration directly specified in - // `inspect_config` will override those set in the template. Singular fields - // that are set in this request will replace their corresponding fields in the - // template. Repeated fields are appended. Singular sub-messages and groups - // are recursively merged. - InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` - // Optional template to use. References an instance of `DeidentifyTemplate`. - // Any configuration directly specified in `reidentify_config` or - // `inspect_config` will override those set in the template. Singular fields - // that are set in this request will replace their corresponding fields in the - // template. Repeated fields are appended. Singular sub-messages and groups - // are recursively merged. - ReidentifyTemplateName string `protobuf:"bytes,6,opt,name=reidentify_template_name,json=reidentifyTemplateName,proto3" json:"reidentify_template_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` + // The configuration for specifying what content to redact from images. + ImageRedactionConfigs []*RedactImageRequest_ImageRedactionConfig `protobuf:"bytes,5,rep,name=image_redaction_configs,json=imageRedactionConfigs,proto3" json:"image_redaction_configs,omitempty"` + // Whether the response should include findings along with the redacted + // image. + IncludeFindings bool `protobuf:"varint,6,opt,name=include_findings,json=includeFindings,proto3" json:"include_findings,omitempty"` + // The content must be PNG, JPEG, SVG or BMP. + ByteItem *ByteContentItem `protobuf:"bytes,7,opt,name=byte_item,json=byteItem,proto3" json:"byte_item,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ReidentifyContentRequest) Reset() { *m = ReidentifyContentRequest{} } -func (m *ReidentifyContentRequest) String() string { return proto.CompactTextString(m) } -func (*ReidentifyContentRequest) ProtoMessage() {} -func (*ReidentifyContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{19} +func (m *RedactImageRequest) Reset() { *m = RedactImageRequest{} } +func (m *RedactImageRequest) String() string { return proto.CompactTextString(m) } +func (*RedactImageRequest) ProtoMessage() {} +func (*RedactImageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{18} } -func (m *ReidentifyContentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReidentifyContentRequest.Unmarshal(m, b) +func (m *RedactImageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedactImageRequest.Unmarshal(m, b) } -func (m *ReidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReidentifyContentRequest.Marshal(b, m, deterministic) +func (m *RedactImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedactImageRequest.Marshal(b, m, deterministic) } -func (dst *ReidentifyContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReidentifyContentRequest.Merge(dst, src) +func (dst *RedactImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedactImageRequest.Merge(dst, src) } -func (m *ReidentifyContentRequest) XXX_Size() int { - return xxx_messageInfo_ReidentifyContentRequest.Size(m) +func (m *RedactImageRequest) XXX_Size() int { + return xxx_messageInfo_RedactImageRequest.Size(m) } -func (m *ReidentifyContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReidentifyContentRequest.DiscardUnknown(m) +func (m *RedactImageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RedactImageRequest.DiscardUnknown(m) } -var xxx_messageInfo_ReidentifyContentRequest proto.InternalMessageInfo +var xxx_messageInfo_RedactImageRequest proto.InternalMessageInfo -func (m *ReidentifyContentRequest) GetParent() string { +func (m *RedactImageRequest) GetParent() string { if m != nil { return m.Parent } return "" } -func (m *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig { - if m != nil { - return m.ReidentifyConfig - } - return nil -} - -func (m *ReidentifyContentRequest) GetInspectConfig() *InspectConfig { +func (m *RedactImageRequest) GetInspectConfig() *InspectConfig { if m != nil { return m.InspectConfig } return nil } -func (m *ReidentifyContentRequest) GetItem() *ContentItem { +func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig { if m != nil { - return m.Item + return m.ImageRedactionConfigs } return nil } -func (m *ReidentifyContentRequest) GetInspectTemplateName() string { +func (m *RedactImageRequest) GetIncludeFindings() bool { if m != nil { - return m.InspectTemplateName + return m.IncludeFindings } - return "" + return false } -func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string { +func (m *RedactImageRequest) GetByteItem() *ByteContentItem { if m != nil { - return m.ReidentifyTemplateName + return m.ByteItem } - return "" + return nil } -// Results of re-identifying a item. -type ReidentifyContentResponse struct { - // The re-identified item. - Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` - // An overview of the changes that were made to the `item`. - Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Configuration for determining how redaction of images should occur. +type RedactImageRequest_ImageRedactionConfig struct { + // Type of information to redact from images. + // + // Types that are valid to be assigned to Target: + // *RedactImageRequest_ImageRedactionConfig_InfoType + // *RedactImageRequest_ImageRedactionConfig_RedactAllText + Target isRedactImageRequest_ImageRedactionConfig_Target `protobuf_oneof:"target"` + // The color to use when redacting content from an image. If not specified, + // the default is black. + RedactionColor *Color `protobuf:"bytes,3,opt,name=redaction_color,json=redactionColor,proto3" json:"redaction_color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ReidentifyContentResponse) Reset() { *m = ReidentifyContentResponse{} } -func (m *ReidentifyContentResponse) String() string { return proto.CompactTextString(m) } -func (*ReidentifyContentResponse) ProtoMessage() {} -func (*ReidentifyContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{20} +func (m *RedactImageRequest_ImageRedactionConfig) Reset() { + *m = RedactImageRequest_ImageRedactionConfig{} } -func (m *ReidentifyContentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReidentifyContentResponse.Unmarshal(m, b) +func (m *RedactImageRequest_ImageRedactionConfig) String() string { return proto.CompactTextString(m) } +func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage() {} +func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{18, 0} } -func (m *ReidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReidentifyContentResponse.Marshal(b, m, deterministic) +func (m *RedactImageRequest_ImageRedactionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Unmarshal(m, b) } -func (dst *ReidentifyContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReidentifyContentResponse.Merge(dst, src) +func (m *RedactImageRequest_ImageRedactionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Marshal(b, m, deterministic) } -func (m *ReidentifyContentResponse) XXX_Size() int { - return xxx_messageInfo_ReidentifyContentResponse.Size(m) +func (dst *RedactImageRequest_ImageRedactionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Merge(dst, src) } -func (m *ReidentifyContentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReidentifyContentResponse.DiscardUnknown(m) +func (m *RedactImageRequest_ImageRedactionConfig) XXX_Size() int { + return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Size(m) +} +func (m *RedactImageRequest_ImageRedactionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.DiscardUnknown(m) } -var xxx_messageInfo_ReidentifyContentResponse proto.InternalMessageInfo +var xxx_messageInfo_RedactImageRequest_ImageRedactionConfig proto.InternalMessageInfo -func (m *ReidentifyContentResponse) GetItem() *ContentItem { - if m != nil { - return m.Item - } - return nil +type isRedactImageRequest_ImageRedactionConfig_Target interface { + isRedactImageRequest_ImageRedactionConfig_Target() } -func (m *ReidentifyContentResponse) GetOverview() *TransformationOverview { - if m != nil { - return m.Overview - } - return nil +type RedactImageRequest_ImageRedactionConfig_InfoType struct { + InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3,oneof"` } -// Request to search for potentially sensitive info in a ContentItem. -type InspectContentRequest struct { - // The parent resource name, for example projects/my-project-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Configuration for the inspector. What specified here will override - // the template referenced by the inspect_template_name argument. - InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` - // The item to inspect. - Item *ContentItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` - // Optional template to use. Any configuration directly specified in - // inspect_config will override those set in the template. Singular fields - // that are set in this request will replace their corresponding fields in the - // template. Repeated fields are appended. Singular sub-messages and groups - // are recursively merged. - InspectTemplateName string `protobuf:"bytes,4,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type RedactImageRequest_ImageRedactionConfig_RedactAllText struct { + RedactAllText bool `protobuf:"varint,2,opt,name=redact_all_text,json=redactAllText,proto3,oneof"` } -func (m *InspectContentRequest) Reset() { *m = InspectContentRequest{} } -func (m *InspectContentRequest) String() string { return proto.CompactTextString(m) } -func (*InspectContentRequest) ProtoMessage() {} -func (*InspectContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{21} -} -func (m *InspectContentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectContentRequest.Unmarshal(m, b) -} -func (m *InspectContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectContentRequest.Marshal(b, m, deterministic) -} -func (dst *InspectContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectContentRequest.Merge(dst, src) -} -func (m *InspectContentRequest) XXX_Size() int { - return xxx_messageInfo_InspectContentRequest.Size(m) -} -func (m *InspectContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InspectContentRequest.DiscardUnknown(m) +func (*RedactImageRequest_ImageRedactionConfig_InfoType) isRedactImageRequest_ImageRedactionConfig_Target() { } -var xxx_messageInfo_InspectContentRequest proto.InternalMessageInfo +func (*RedactImageRequest_ImageRedactionConfig_RedactAllText) isRedactImageRequest_ImageRedactionConfig_Target() { +} -func (m *InspectContentRequest) GetParent() string { +func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target { if m != nil { - return m.Parent + return m.Target } - return "" + return nil } -func (m *InspectContentRequest) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig +func (m *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType { + if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_InfoType); ok { + return x.InfoType } return nil } -func (m *InspectContentRequest) GetItem() *ContentItem { - if m != nil { - return m.Item +func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool { + if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_RedactAllText); ok { + return x.RedactAllText } - return nil + return false } -func (m *InspectContentRequest) GetInspectTemplateName() string { +func (m *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color { if m != nil { - return m.InspectTemplateName + return m.RedactionColor } - return "" + return nil } -// Results of inspecting an item. -type InspectContentResponse struct { - // The findings. - Result *InspectResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// XXX_OneofFuncs is for the internal use of the proto package. +func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _RedactImageRequest_ImageRedactionConfig_OneofMarshaler, _RedactImageRequest_ImageRedactionConfig_OneofUnmarshaler, _RedactImageRequest_ImageRedactionConfig_OneofSizer, []interface{}{ + (*RedactImageRequest_ImageRedactionConfig_InfoType)(nil), + (*RedactImageRequest_ImageRedactionConfig_RedactAllText)(nil), + } } -func (m *InspectContentResponse) Reset() { *m = InspectContentResponse{} } -func (m *InspectContentResponse) String() string { return proto.CompactTextString(m) } -func (*InspectContentResponse) ProtoMessage() {} -func (*InspectContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{22} -} -func (m *InspectContentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectContentResponse.Unmarshal(m, b) -} -func (m *InspectContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectContentResponse.Marshal(b, m, deterministic) -} -func (dst *InspectContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectContentResponse.Merge(dst, src) -} -func (m *InspectContentResponse) XXX_Size() int { - return xxx_messageInfo_InspectContentResponse.Size(m) -} -func (m *InspectContentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InspectContentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectContentResponse proto.InternalMessageInfo - -func (m *InspectContentResponse) GetResult() *InspectResult { - if m != nil { - return m.Result - } - return nil -} - -// Cloud repository for storing output. -type OutputStorageConfig struct { - // Types that are valid to be assigned to Type: - // *OutputStorageConfig_Table - Type isOutputStorageConfig_Type `protobuf_oneof:"type"` - // Schema used for writing the findings for Inspect jobs. This field is only - // used for Inspect and must be unspecified for Risk jobs. Columns are derived - // from the `Finding` object. If appending to an existing table, any columns - // from the predefined schema that are missing will be added. No columns in - // the existing table will be deleted. - // - // If unspecified, then all available columns will be used for a new table, - // and no changes will be made to an existing table. - OutputSchema OutputStorageConfig_OutputSchema `protobuf:"varint,3,opt,name=output_schema,json=outputSchema,proto3,enum=google.privacy.dlp.v2.OutputStorageConfig_OutputSchema" json:"output_schema,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OutputStorageConfig) Reset() { *m = OutputStorageConfig{} } -func (m *OutputStorageConfig) String() string { return proto.CompactTextString(m) } -func (*OutputStorageConfig) ProtoMessage() {} -func (*OutputStorageConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{23} -} -func (m *OutputStorageConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputStorageConfig.Unmarshal(m, b) -} -func (m *OutputStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputStorageConfig.Marshal(b, m, deterministic) -} -func (dst *OutputStorageConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputStorageConfig.Merge(dst, src) -} -func (m *OutputStorageConfig) XXX_Size() int { - return xxx_messageInfo_OutputStorageConfig.Size(m) -} -func (m *OutputStorageConfig) XXX_DiscardUnknown() { - xxx_messageInfo_OutputStorageConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_OutputStorageConfig proto.InternalMessageInfo - -type isOutputStorageConfig_Type interface { - isOutputStorageConfig_Type() -} - -type OutputStorageConfig_Table struct { - Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3,oneof"` -} - -func (*OutputStorageConfig_Table) isOutputStorageConfig_Type() {} - -func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *OutputStorageConfig) GetTable() *BigQueryTable { - if x, ok := m.GetType().(*OutputStorageConfig_Table); ok { - return x.Table - } - return nil -} - -func (m *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema { - if m != nil { - return m.OutputSchema - } - return OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*OutputStorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _OutputStorageConfig_OneofMarshaler, _OutputStorageConfig_OneofUnmarshaler, _OutputStorageConfig_OneofSizer, []interface{}{ - (*OutputStorageConfig_Table)(nil), - } -} - -func _OutputStorageConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*OutputStorageConfig) - // type - switch x := m.Type.(type) { - case *OutputStorageConfig_Table: +func _RedactImageRequest_ImageRedactionConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*RedactImageRequest_ImageRedactionConfig) + // target + switch x := m.Target.(type) { + case *RedactImageRequest_ImageRedactionConfig_InfoType: b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Table); err != nil { + if err := b.EncodeMessage(x.InfoType); err != nil { return err } + case *RedactImageRequest_ImageRedactionConfig_RedactAllText: + t := uint64(0) + if x.RedactAllText { + t = 1 + } + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(t) case nil: default: - return fmt.Errorf("OutputStorageConfig.Type has unexpected type %T", x) + return fmt.Errorf("RedactImageRequest_ImageRedactionConfig.Target has unexpected type %T", x) } return nil } -func _OutputStorageConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*OutputStorageConfig) +func _RedactImageRequest_ImageRedactionConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*RedactImageRequest_ImageRedactionConfig) switch tag { - case 1: // type.table + case 1: // target.info_type if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(BigQueryTable) + msg := new(InfoType) err := b.DecodeMessage(msg) - m.Type = &OutputStorageConfig_Table{msg} + m.Target = &RedactImageRequest_ImageRedactionConfig_InfoType{msg} + return true, err + case 2: // target.redact_all_text + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Target = &RedactImageRequest_ImageRedactionConfig_RedactAllText{x != 0} return true, err default: return false, nil } } -func _OutputStorageConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*OutputStorageConfig) - // type - switch x := m.Type.(type) { - case *OutputStorageConfig_Table: - s := proto.Size(x.Table) +func _RedactImageRequest_ImageRedactionConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*RedactImageRequest_ImageRedactionConfig) + // target + switch x := m.Target.(type) { + case *RedactImageRequest_ImageRedactionConfig_InfoType: + s := proto.Size(x.InfoType) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *RedactImageRequest_ImageRedactionConfig_RedactAllText: + n += 1 // tag and wire + n += 1 case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -2640,978 +2537,653 @@ func _OutputStorageConfig_OneofSizer(msg proto.Message) (n int) { return n } -// Statistics regarding a specific InfoType. -type InfoTypeStats struct { - // The type of finding this stat is for. - InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` - // Number of findings for this infoType. - Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +// Represents a color in the RGB color space. +type Color struct { + // The amount of red in the color as a value in the interval [0, 1]. + Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"` + // The amount of green in the color as a value in the interval [0, 1]. + Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"` + // The amount of blue in the color as a value in the interval [0, 1]. + Blue float32 `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *InfoTypeStats) Reset() { *m = InfoTypeStats{} } -func (m *InfoTypeStats) String() string { return proto.CompactTextString(m) } -func (*InfoTypeStats) ProtoMessage() {} -func (*InfoTypeStats) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{24} +func (m *Color) Reset() { *m = Color{} } +func (m *Color) String() string { return proto.CompactTextString(m) } +func (*Color) ProtoMessage() {} +func (*Color) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{19} } -func (m *InfoTypeStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoTypeStats.Unmarshal(m, b) +func (m *Color) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Color.Unmarshal(m, b) } -func (m *InfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoTypeStats.Marshal(b, m, deterministic) +func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Color.Marshal(b, m, deterministic) } -func (dst *InfoTypeStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeStats.Merge(dst, src) +func (dst *Color) XXX_Merge(src proto.Message) { + xxx_messageInfo_Color.Merge(dst, src) } -func (m *InfoTypeStats) XXX_Size() int { - return xxx_messageInfo_InfoTypeStats.Size(m) +func (m *Color) XXX_Size() int { + return xxx_messageInfo_Color.Size(m) } -func (m *InfoTypeStats) XXX_DiscardUnknown() { - xxx_messageInfo_InfoTypeStats.DiscardUnknown(m) +func (m *Color) XXX_DiscardUnknown() { + xxx_messageInfo_Color.DiscardUnknown(m) } -var xxx_messageInfo_InfoTypeStats proto.InternalMessageInfo +var xxx_messageInfo_Color proto.InternalMessageInfo -func (m *InfoTypeStats) GetInfoType() *InfoType { +func (m *Color) GetRed() float32 { if m != nil { - return m.InfoType + return m.Red } - return nil + return 0 } -func (m *InfoTypeStats) GetCount() int64 { +func (m *Color) GetGreen() float32 { if m != nil { - return m.Count + return m.Green } return 0 } -// The results of an inspect DataSource job. -type InspectDataSourceDetails struct { - // The configuration used for this job. - RequestedOptions *InspectDataSourceDetails_RequestedOptions `protobuf:"bytes,2,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"` - // A summary of the outcome of this inspect job. - Result *InspectDataSourceDetails_Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *Color) GetBlue() float32 { + if m != nil { + return m.Blue + } + return 0 } -func (m *InspectDataSourceDetails) Reset() { *m = InspectDataSourceDetails{} } -func (m *InspectDataSourceDetails) String() string { return proto.CompactTextString(m) } -func (*InspectDataSourceDetails) ProtoMessage() {} -func (*InspectDataSourceDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{25} +// Results of redacting an image. +type RedactImageResponse struct { + // The redacted image. The type will be the same as the original image. + RedactedImage []byte `protobuf:"bytes,1,opt,name=redacted_image,json=redactedImage,proto3" json:"redacted_image,omitempty"` + // If an image was being inspected and the InspectConfig's include_quote was + // set to true, then this field will include all text, if any, that was found + // in the image. + ExtractedText string `protobuf:"bytes,2,opt,name=extracted_text,json=extractedText,proto3" json:"extracted_text,omitempty"` + // The findings. Populated when include_findings in the request is true. + InspectResult *InspectResult `protobuf:"bytes,3,opt,name=inspect_result,json=inspectResult,proto3" json:"inspect_result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectDataSourceDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectDataSourceDetails.Unmarshal(m, b) + +func (m *RedactImageResponse) Reset() { *m = RedactImageResponse{} } +func (m *RedactImageResponse) String() string { return proto.CompactTextString(m) } +func (*RedactImageResponse) ProtoMessage() {} +func (*RedactImageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{20} } -func (m *InspectDataSourceDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectDataSourceDetails.Marshal(b, m, deterministic) +func (m *RedactImageResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedactImageResponse.Unmarshal(m, b) } -func (dst *InspectDataSourceDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectDataSourceDetails.Merge(dst, src) +func (m *RedactImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedactImageResponse.Marshal(b, m, deterministic) } -func (m *InspectDataSourceDetails) XXX_Size() int { - return xxx_messageInfo_InspectDataSourceDetails.Size(m) +func (dst *RedactImageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedactImageResponse.Merge(dst, src) } -func (m *InspectDataSourceDetails) XXX_DiscardUnknown() { - xxx_messageInfo_InspectDataSourceDetails.DiscardUnknown(m) +func (m *RedactImageResponse) XXX_Size() int { + return xxx_messageInfo_RedactImageResponse.Size(m) } - -var xxx_messageInfo_InspectDataSourceDetails proto.InternalMessageInfo - -func (m *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions { - if m != nil { - return m.RequestedOptions - } - return nil +func (m *RedactImageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RedactImageResponse.DiscardUnknown(m) } -func (m *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result { +var xxx_messageInfo_RedactImageResponse proto.InternalMessageInfo + +func (m *RedactImageResponse) GetRedactedImage() []byte { if m != nil { - return m.Result + return m.RedactedImage } return nil } -type InspectDataSourceDetails_RequestedOptions struct { - // If run with an InspectTemplate, a snapshot of its state at the time of - // this run. - SnapshotInspectTemplate *InspectTemplate `protobuf:"bytes,1,opt,name=snapshot_inspect_template,json=snapshotInspectTemplate,proto3" json:"snapshot_inspect_template,omitempty"` - JobConfig *InspectJobConfig `protobuf:"bytes,3,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InspectDataSourceDetails_RequestedOptions) Reset() { - *m = InspectDataSourceDetails_RequestedOptions{} -} -func (m *InspectDataSourceDetails_RequestedOptions) String() string { return proto.CompactTextString(m) } -func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage() {} -func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{25, 0} -} -func (m *InspectDataSourceDetails_RequestedOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Unmarshal(m, b) -} -func (m *InspectDataSourceDetails_RequestedOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Marshal(b, m, deterministic) -} -func (dst *InspectDataSourceDetails_RequestedOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Merge(dst, src) -} -func (m *InspectDataSourceDetails_RequestedOptions) XXX_Size() int { - return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Size(m) -} -func (m *InspectDataSourceDetails_RequestedOptions) XXX_DiscardUnknown() { - xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectDataSourceDetails_RequestedOptions proto.InternalMessageInfo - -func (m *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate { +func (m *RedactImageResponse) GetExtractedText() string { if m != nil { - return m.SnapshotInspectTemplate + return m.ExtractedText } - return nil + return "" } -func (m *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig { +func (m *RedactImageResponse) GetInspectResult() *InspectResult { if m != nil { - return m.JobConfig + return m.InspectResult } return nil } -type InspectDataSourceDetails_Result struct { - // Total size in bytes that were processed. - ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"` - // Estimate of the number of bytes to process. - TotalEstimatedBytes int64 `protobuf:"varint,2,opt,name=total_estimated_bytes,json=totalEstimatedBytes,proto3" json:"total_estimated_bytes,omitempty"` - // Statistics of how many instances of each info type were found during - // inspect job. - InfoTypeStats []*InfoTypeStats `protobuf:"bytes,3,rep,name=info_type_stats,json=infoTypeStats,proto3" json:"info_type_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request to de-identify a list of items. +type DeidentifyContentRequest struct { + // The parent resource name, for example projects/my-project-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Configuration for the de-identification of the content item. + // Items specified here will override the template referenced by the + // deidentify_template_name argument. + DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"` + // Configuration for the inspector. + // Items specified here will override the template referenced by the + // inspect_template_name argument. + InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` + // The item to de-identify. Will be treated as text. + Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` + // Optional template to use. Any configuration directly specified in + // inspect_config will override those set in the template. Singular fields + // that are set in this request will replace their corresponding fields in the + // template. Repeated fields are appended. Singular sub-messages and groups + // are recursively merged. + InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` + // Optional template to use. Any configuration directly specified in + // deidentify_config will override those set in the template. Singular fields + // that are set in this request will replace their corresponding fields in the + // template. Repeated fields are appended. Singular sub-messages and groups + // are recursively merged. + DeidentifyTemplateName string `protobuf:"bytes,6,opt,name=deidentify_template_name,json=deidentifyTemplateName,proto3" json:"deidentify_template_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectDataSourceDetails_Result) Reset() { *m = InspectDataSourceDetails_Result{} } -func (m *InspectDataSourceDetails_Result) String() string { return proto.CompactTextString(m) } -func (*InspectDataSourceDetails_Result) ProtoMessage() {} -func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{25, 1} +func (m *DeidentifyContentRequest) Reset() { *m = DeidentifyContentRequest{} } +func (m *DeidentifyContentRequest) String() string { return proto.CompactTextString(m) } +func (*DeidentifyContentRequest) ProtoMessage() {} +func (*DeidentifyContentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{21} } -func (m *InspectDataSourceDetails_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectDataSourceDetails_Result.Unmarshal(m, b) +func (m *DeidentifyContentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeidentifyContentRequest.Unmarshal(m, b) } -func (m *InspectDataSourceDetails_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectDataSourceDetails_Result.Marshal(b, m, deterministic) +func (m *DeidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeidentifyContentRequest.Marshal(b, m, deterministic) } -func (dst *InspectDataSourceDetails_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectDataSourceDetails_Result.Merge(dst, src) +func (dst *DeidentifyContentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeidentifyContentRequest.Merge(dst, src) } -func (m *InspectDataSourceDetails_Result) XXX_Size() int { - return xxx_messageInfo_InspectDataSourceDetails_Result.Size(m) +func (m *DeidentifyContentRequest) XXX_Size() int { + return xxx_messageInfo_DeidentifyContentRequest.Size(m) } -func (m *InspectDataSourceDetails_Result) XXX_DiscardUnknown() { - xxx_messageInfo_InspectDataSourceDetails_Result.DiscardUnknown(m) +func (m *DeidentifyContentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeidentifyContentRequest.DiscardUnknown(m) } -var xxx_messageInfo_InspectDataSourceDetails_Result proto.InternalMessageInfo +var xxx_messageInfo_DeidentifyContentRequest proto.InternalMessageInfo -func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64 { +func (m *DeidentifyContentRequest) GetParent() string { if m != nil { - return m.ProcessedBytes + return m.Parent } - return 0 + return "" } -func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64 { +func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig { if m != nil { - return m.TotalEstimatedBytes + return m.DeidentifyConfig } - return 0 + return nil } -func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats { +func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig { if m != nil { - return m.InfoTypeStats + return m.InspectConfig } return nil } -// InfoType description. -type InfoTypeDescription struct { - // Internal name of the infoType. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Human readable form of the infoType name. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Which parts of the API supports this InfoType. - SupportedBy []InfoTypeSupportedBy `protobuf:"varint,3,rep,packed,name=supported_by,json=supportedBy,proto3,enum=google.privacy.dlp.v2.InfoTypeSupportedBy" json:"supported_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InfoTypeDescription) Reset() { *m = InfoTypeDescription{} } -func (m *InfoTypeDescription) String() string { return proto.CompactTextString(m) } -func (*InfoTypeDescription) ProtoMessage() {} -func (*InfoTypeDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{26} -} -func (m *InfoTypeDescription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoTypeDescription.Unmarshal(m, b) -} -func (m *InfoTypeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoTypeDescription.Marshal(b, m, deterministic) -} -func (dst *InfoTypeDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeDescription.Merge(dst, src) -} -func (m *InfoTypeDescription) XXX_Size() int { - return xxx_messageInfo_InfoTypeDescription.Size(m) -} -func (m *InfoTypeDescription) XXX_DiscardUnknown() { - xxx_messageInfo_InfoTypeDescription.DiscardUnknown(m) -} - -var xxx_messageInfo_InfoTypeDescription proto.InternalMessageInfo - -func (m *InfoTypeDescription) GetName() string { +func (m *DeidentifyContentRequest) GetItem() *ContentItem { if m != nil { - return m.Name + return m.Item } - return "" + return nil } -func (m *InfoTypeDescription) GetDisplayName() string { +func (m *DeidentifyContentRequest) GetInspectTemplateName() string { if m != nil { - return m.DisplayName + return m.InspectTemplateName } return "" } -func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy { +func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string { if m != nil { - return m.SupportedBy + return m.DeidentifyTemplateName } - return nil + return "" } -// Request for the list of infoTypes. -type ListInfoTypesRequest struct { - // Optional BCP-47 language code for localized infoType friendly - // names. If omitted, or if localized strings are not available, - // en-US strings will be returned. - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional filter to only return infoTypes supported by certain parts of the - // API. Defaults to supported_by=INSPECT. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Results of de-identifying a ContentItem. +type DeidentifyContentResponse struct { + // The de-identified item. + Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` + // An overview of the changes that were made on the `item`. + Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListInfoTypesRequest) Reset() { *m = ListInfoTypesRequest{} } -func (m *ListInfoTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListInfoTypesRequest) ProtoMessage() {} -func (*ListInfoTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{27} +func (m *DeidentifyContentResponse) Reset() { *m = DeidentifyContentResponse{} } +func (m *DeidentifyContentResponse) String() string { return proto.CompactTextString(m) } +func (*DeidentifyContentResponse) ProtoMessage() {} +func (*DeidentifyContentResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{22} } -func (m *ListInfoTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInfoTypesRequest.Unmarshal(m, b) +func (m *DeidentifyContentResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeidentifyContentResponse.Unmarshal(m, b) } -func (m *ListInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInfoTypesRequest.Marshal(b, m, deterministic) +func (m *DeidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeidentifyContentResponse.Marshal(b, m, deterministic) } -func (dst *ListInfoTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInfoTypesRequest.Merge(dst, src) +func (dst *DeidentifyContentResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeidentifyContentResponse.Merge(dst, src) } -func (m *ListInfoTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListInfoTypesRequest.Size(m) +func (m *DeidentifyContentResponse) XXX_Size() int { + return xxx_messageInfo_DeidentifyContentResponse.Size(m) } -func (m *ListInfoTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInfoTypesRequest.DiscardUnknown(m) +func (m *DeidentifyContentResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeidentifyContentResponse.DiscardUnknown(m) } -var xxx_messageInfo_ListInfoTypesRequest proto.InternalMessageInfo +var xxx_messageInfo_DeidentifyContentResponse proto.InternalMessageInfo -func (m *ListInfoTypesRequest) GetLanguageCode() string { +func (m *DeidentifyContentResponse) GetItem() *ContentItem { if m != nil { - return m.LanguageCode + return m.Item } - return "" + return nil } -func (m *ListInfoTypesRequest) GetFilter() string { +func (m *DeidentifyContentResponse) GetOverview() *TransformationOverview { if m != nil { - return m.Filter + return m.Overview } - return "" + return nil } -// Response to the ListInfoTypes request. -type ListInfoTypesResponse struct { - // Set of sensitive infoTypes. - InfoTypes []*InfoTypeDescription `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request to re-identify an item. +type ReidentifyContentRequest struct { + // The parent resource name. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Configuration for the re-identification of the content item. + // This field shares the same proto message type that is used for + // de-identification, however its usage here is for the reversal of the + // previous de-identification. Re-identification is performed by examining + // the transformations used to de-identify the items and executing the + // reverse. This requires that only reversible transformations + // be provided here. The reversible transformations are: + // + // - `CryptoReplaceFfxFpeConfig` + ReidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=reidentify_config,json=reidentifyConfig,proto3" json:"reidentify_config,omitempty"` + // Configuration for the inspector. + InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` + // The item to re-identify. Will be treated as text. + Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` + // Optional template to use. Any configuration directly specified in + // `inspect_config` will override those set in the template. Singular fields + // that are set in this request will replace their corresponding fields in the + // template. Repeated fields are appended. Singular sub-messages and groups + // are recursively merged. + InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` + // Optional template to use. References an instance of `DeidentifyTemplate`. + // Any configuration directly specified in `reidentify_config` or + // `inspect_config` will override those set in the template. Singular fields + // that are set in this request will replace their corresponding fields in the + // template. Repeated fields are appended. Singular sub-messages and groups + // are recursively merged. + ReidentifyTemplateName string `protobuf:"bytes,6,opt,name=reidentify_template_name,json=reidentifyTemplateName,proto3" json:"reidentify_template_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListInfoTypesResponse) Reset() { *m = ListInfoTypesResponse{} } -func (m *ListInfoTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListInfoTypesResponse) ProtoMessage() {} -func (*ListInfoTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{28} +func (m *ReidentifyContentRequest) Reset() { *m = ReidentifyContentRequest{} } +func (m *ReidentifyContentRequest) String() string { return proto.CompactTextString(m) } +func (*ReidentifyContentRequest) ProtoMessage() {} +func (*ReidentifyContentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{23} } -func (m *ListInfoTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInfoTypesResponse.Unmarshal(m, b) +func (m *ReidentifyContentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReidentifyContentRequest.Unmarshal(m, b) } -func (m *ListInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInfoTypesResponse.Marshal(b, m, deterministic) +func (m *ReidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReidentifyContentRequest.Marshal(b, m, deterministic) } -func (dst *ListInfoTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInfoTypesResponse.Merge(dst, src) +func (dst *ReidentifyContentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReidentifyContentRequest.Merge(dst, src) } -func (m *ListInfoTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListInfoTypesResponse.Size(m) +func (m *ReidentifyContentRequest) XXX_Size() int { + return xxx_messageInfo_ReidentifyContentRequest.Size(m) } -func (m *ListInfoTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInfoTypesResponse.DiscardUnknown(m) +func (m *ReidentifyContentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReidentifyContentRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListInfoTypesResponse proto.InternalMessageInfo +var xxx_messageInfo_ReidentifyContentRequest proto.InternalMessageInfo -func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription { +func (m *ReidentifyContentRequest) GetParent() string { if m != nil { - return m.InfoTypes + return m.Parent } - return nil -} - -// Configuration for a risk analysis job. See -// https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more. -type RiskAnalysisJobConfig struct { - // Privacy metric to compute. - PrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=privacy_metric,json=privacyMetric,proto3" json:"privacy_metric,omitempty"` - // Input dataset to compute metrics over. - SourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"` - // Actions to execute at the completion of the job. Are executed in the order - // provided. - Actions []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RiskAnalysisJobConfig) Reset() { *m = RiskAnalysisJobConfig{} } -func (m *RiskAnalysisJobConfig) String() string { return proto.CompactTextString(m) } -func (*RiskAnalysisJobConfig) ProtoMessage() {} -func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{29} -} -func (m *RiskAnalysisJobConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RiskAnalysisJobConfig.Unmarshal(m, b) -} -func (m *RiskAnalysisJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RiskAnalysisJobConfig.Marshal(b, m, deterministic) -} -func (dst *RiskAnalysisJobConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RiskAnalysisJobConfig.Merge(dst, src) -} -func (m *RiskAnalysisJobConfig) XXX_Size() int { - return xxx_messageInfo_RiskAnalysisJobConfig.Size(m) -} -func (m *RiskAnalysisJobConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RiskAnalysisJobConfig.DiscardUnknown(m) + return "" } -var xxx_messageInfo_RiskAnalysisJobConfig proto.InternalMessageInfo - -func (m *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric { +func (m *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig { if m != nil { - return m.PrivacyMetric + return m.ReidentifyConfig } return nil } -func (m *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable { +func (m *ReidentifyContentRequest) GetInspectConfig() *InspectConfig { if m != nil { - return m.SourceTable + return m.InspectConfig } return nil } -func (m *RiskAnalysisJobConfig) GetActions() []*Action { +func (m *ReidentifyContentRequest) GetItem() *ContentItem { if m != nil { - return m.Actions + return m.Item } return nil } -// A column with a semantic tag attached. -type QuasiId struct { - // Identifies the column. [required] - Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // Semantic tag that identifies what a column contains, to determine which - // statistical model to use to estimate the reidentifiability of each - // value. [required] - // - // Types that are valid to be assigned to Tag: - // *QuasiId_InfoType - // *QuasiId_CustomTag - // *QuasiId_Inferred - Tag isQuasiId_Tag `protobuf_oneof:"tag"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *ReidentifyContentRequest) GetInspectTemplateName() string { + if m != nil { + return m.InspectTemplateName + } + return "" } -func (m *QuasiId) Reset() { *m = QuasiId{} } -func (m *QuasiId) String() string { return proto.CompactTextString(m) } -func (*QuasiId) ProtoMessage() {} -func (*QuasiId) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{30} -} -func (m *QuasiId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuasiId.Unmarshal(m, b) -} -func (m *QuasiId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuasiId.Marshal(b, m, deterministic) +func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string { + if m != nil { + return m.ReidentifyTemplateName + } + return "" } -func (dst *QuasiId) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuasiId.Merge(dst, src) + +// Results of re-identifying a item. +type ReidentifyContentResponse struct { + // The re-identified item. + Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` + // An overview of the changes that were made to the `item`. + Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *QuasiId) XXX_Size() int { - return xxx_messageInfo_QuasiId.Size(m) + +func (m *ReidentifyContentResponse) Reset() { *m = ReidentifyContentResponse{} } +func (m *ReidentifyContentResponse) String() string { return proto.CompactTextString(m) } +func (*ReidentifyContentResponse) ProtoMessage() {} +func (*ReidentifyContentResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{24} } -func (m *QuasiId) XXX_DiscardUnknown() { - xxx_messageInfo_QuasiId.DiscardUnknown(m) +func (m *ReidentifyContentResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReidentifyContentResponse.Unmarshal(m, b) } - -var xxx_messageInfo_QuasiId proto.InternalMessageInfo - -type isQuasiId_Tag interface { - isQuasiId_Tag() +func (m *ReidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReidentifyContentResponse.Marshal(b, m, deterministic) } - -type QuasiId_InfoType struct { - InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` +func (dst *ReidentifyContentResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReidentifyContentResponse.Merge(dst, src) } -type QuasiId_CustomTag struct { - CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` +func (m *ReidentifyContentResponse) XXX_Size() int { + return xxx_messageInfo_ReidentifyContentResponse.Size(m) } -type QuasiId_Inferred struct { - Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"` +func (m *ReidentifyContentResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ReidentifyContentResponse.DiscardUnknown(m) } -func (*QuasiId_InfoType) isQuasiId_Tag() {} -func (*QuasiId_CustomTag) isQuasiId_Tag() {} -func (*QuasiId_Inferred) isQuasiId_Tag() {} +var xxx_messageInfo_ReidentifyContentResponse proto.InternalMessageInfo -func (m *QuasiId) GetTag() isQuasiId_Tag { +func (m *ReidentifyContentResponse) GetItem() *ContentItem { if m != nil { - return m.Tag + return m.Item } return nil } -func (m *QuasiId) GetField() *FieldId { +func (m *ReidentifyContentResponse) GetOverview() *TransformationOverview { if m != nil { - return m.Field + return m.Overview } return nil } -func (m *QuasiId) GetInfoType() *InfoType { - if x, ok := m.GetTag().(*QuasiId_InfoType); ok { - return x.InfoType - } - return nil +// Request to search for potentially sensitive info in a ContentItem. +type InspectContentRequest struct { + // The parent resource name, for example projects/my-project-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Configuration for the inspector. What specified here will override + // the template referenced by the inspect_template_name argument. + InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` + // The item to inspect. + Item *ContentItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` + // Optional template to use. Any configuration directly specified in + // inspect_config will override those set in the template. Singular fields + // that are set in this request will replace their corresponding fields in the + // template. Repeated fields are appended. Singular sub-messages and groups + // are recursively merged. + InspectTemplateName string `protobuf:"bytes,4,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *QuasiId) GetCustomTag() string { - if x, ok := m.GetTag().(*QuasiId_CustomTag); ok { - return x.CustomTag - } - return "" +func (m *InspectContentRequest) Reset() { *m = InspectContentRequest{} } +func (m *InspectContentRequest) String() string { return proto.CompactTextString(m) } +func (*InspectContentRequest) ProtoMessage() {} +func (*InspectContentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{25} } - -func (m *QuasiId) GetInferred() *empty.Empty { - if x, ok := m.GetTag().(*QuasiId_Inferred); ok { - return x.Inferred - } - return nil +func (m *InspectContentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectContentRequest.Unmarshal(m, b) +} +func (m *InspectContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectContentRequest.Marshal(b, m, deterministic) +} +func (dst *InspectContentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectContentRequest.Merge(dst, src) +} +func (m *InspectContentRequest) XXX_Size() int { + return xxx_messageInfo_InspectContentRequest.Size(m) +} +func (m *InspectContentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InspectContentRequest.DiscardUnknown(m) } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*QuasiId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _QuasiId_OneofMarshaler, _QuasiId_OneofUnmarshaler, _QuasiId_OneofSizer, []interface{}{ - (*QuasiId_InfoType)(nil), - (*QuasiId_CustomTag)(nil), - (*QuasiId_Inferred)(nil), +var xxx_messageInfo_InspectContentRequest proto.InternalMessageInfo + +func (m *InspectContentRequest) GetParent() string { + if m != nil { + return m.Parent } + return "" } -func _QuasiId_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*QuasiId) - // tag - switch x := m.Tag.(type) { - case *QuasiId_InfoType: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InfoType); err != nil { - return err - } - case *QuasiId_CustomTag: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.CustomTag) - case *QuasiId_Inferred: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Inferred); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("QuasiId.Tag has unexpected type %T", x) +func (m *InspectContentRequest) GetInspectConfig() *InspectConfig { + if m != nil { + return m.InspectConfig } return nil } -func _QuasiId_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*QuasiId) - switch tag { - case 2: // tag.info_type - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(InfoType) - err := b.DecodeMessage(msg) - m.Tag = &QuasiId_InfoType{msg} - return true, err - case 3: // tag.custom_tag - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Tag = &QuasiId_CustomTag{x} - return true, err - case 4: // tag.inferred - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(empty.Empty) - err := b.DecodeMessage(msg) - m.Tag = &QuasiId_Inferred{msg} - return true, err - default: - return false, nil +func (m *InspectContentRequest) GetItem() *ContentItem { + if m != nil { + return m.Item } + return nil } -func _QuasiId_OneofSizer(msg proto.Message) (n int) { - m := msg.(*QuasiId) - // tag - switch x := m.Tag.(type) { - case *QuasiId_InfoType: - s := proto.Size(x.InfoType) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *QuasiId_CustomTag: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.CustomTag))) - n += len(x.CustomTag) - case *QuasiId_Inferred: - s := proto.Size(x.Inferred) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +func (m *InspectContentRequest) GetInspectTemplateName() string { + if m != nil { + return m.InspectTemplateName } - return n + return "" } -// An auxiliary table containing statistical information on the relative -// frequency of different quasi-identifiers values. It has one or several -// quasi-identifiers columns, and one column that indicates the relative -// frequency of each quasi-identifier tuple. -// If a tuple is present in the data but not in the auxiliary table, the -// corresponding relative frequency is assumed to be zero (and thus, the -// tuple is highly reidentifiable). -type StatisticalTable struct { - // Auxiliary table location. [required] - Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - // Quasi-identifier columns. [required] - QuasiIds []*StatisticalTable_QuasiIdentifierField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` - // The relative frequency column must contain a floating-point number - // between 0 and 1 (inclusive). Null values are assumed to be zero. - // [required] - RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Results of inspecting an item. +type InspectContentResponse struct { + // The findings. + Result *InspectResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *StatisticalTable) Reset() { *m = StatisticalTable{} } -func (m *StatisticalTable) String() string { return proto.CompactTextString(m) } -func (*StatisticalTable) ProtoMessage() {} -func (*StatisticalTable) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{31} +func (m *InspectContentResponse) Reset() { *m = InspectContentResponse{} } +func (m *InspectContentResponse) String() string { return proto.CompactTextString(m) } +func (*InspectContentResponse) ProtoMessage() {} +func (*InspectContentResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{26} } -func (m *StatisticalTable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatisticalTable.Unmarshal(m, b) +func (m *InspectContentResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectContentResponse.Unmarshal(m, b) } -func (m *StatisticalTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatisticalTable.Marshal(b, m, deterministic) +func (m *InspectContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectContentResponse.Marshal(b, m, deterministic) } -func (dst *StatisticalTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatisticalTable.Merge(dst, src) +func (dst *InspectContentResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectContentResponse.Merge(dst, src) } -func (m *StatisticalTable) XXX_Size() int { - return xxx_messageInfo_StatisticalTable.Size(m) +func (m *InspectContentResponse) XXX_Size() int { + return xxx_messageInfo_InspectContentResponse.Size(m) } -func (m *StatisticalTable) XXX_DiscardUnknown() { - xxx_messageInfo_StatisticalTable.DiscardUnknown(m) +func (m *InspectContentResponse) XXX_DiscardUnknown() { + xxx_messageInfo_InspectContentResponse.DiscardUnknown(m) } -var xxx_messageInfo_StatisticalTable proto.InternalMessageInfo +var xxx_messageInfo_InspectContentResponse proto.InternalMessageInfo -func (m *StatisticalTable) GetTable() *BigQueryTable { +func (m *InspectContentResponse) GetResult() *InspectResult { if m != nil { - return m.Table + return m.Result } return nil } -func (m *StatisticalTable) GetQuasiIds() []*StatisticalTable_QuasiIdentifierField { - if m != nil { - return m.QuasiIds - } - return nil +// Cloud repository for storing output. +type OutputStorageConfig struct { + // Types that are valid to be assigned to Type: + // *OutputStorageConfig_Table + Type isOutputStorageConfig_Type `protobuf_oneof:"type"` + // Schema used for writing the findings for Inspect jobs. This field is only + // used for Inspect and must be unspecified for Risk jobs. Columns are derived + // from the `Finding` object. If appending to an existing table, any columns + // from the predefined schema that are missing will be added. No columns in + // the existing table will be deleted. + // + // If unspecified, then all available columns will be used for a new table or + // an (existing) table with no schema, and no changes will be made to an + // existing table that has a schema. + OutputSchema OutputStorageConfig_OutputSchema `protobuf:"varint,3,opt,name=output_schema,json=outputSchema,proto3,enum=google.privacy.dlp.v2.OutputStorageConfig_OutputSchema" json:"output_schema,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *StatisticalTable) GetRelativeFrequency() *FieldId { - if m != nil { - return m.RelativeFrequency - } - return nil +func (m *OutputStorageConfig) Reset() { *m = OutputStorageConfig{} } +func (m *OutputStorageConfig) String() string { return proto.CompactTextString(m) } +func (*OutputStorageConfig) ProtoMessage() {} +func (*OutputStorageConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{27} } - -// A quasi-identifier column has a custom_tag, used to know which column -// in the data corresponds to which column in the statistical model. -type StatisticalTable_QuasiIdentifierField struct { - Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *OutputStorageConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OutputStorageConfig.Unmarshal(m, b) } - -func (m *StatisticalTable_QuasiIdentifierField) Reset() { *m = StatisticalTable_QuasiIdentifierField{} } -func (m *StatisticalTable_QuasiIdentifierField) String() string { return proto.CompactTextString(m) } -func (*StatisticalTable_QuasiIdentifierField) ProtoMessage() {} -func (*StatisticalTable_QuasiIdentifierField) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{31, 0} +func (m *OutputStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OutputStorageConfig.Marshal(b, m, deterministic) } -func (m *StatisticalTable_QuasiIdentifierField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Unmarshal(m, b) +func (dst *OutputStorageConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_OutputStorageConfig.Merge(dst, src) } -func (m *StatisticalTable_QuasiIdentifierField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Marshal(b, m, deterministic) +func (m *OutputStorageConfig) XXX_Size() int { + return xxx_messageInfo_OutputStorageConfig.Size(m) } -func (dst *StatisticalTable_QuasiIdentifierField) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Merge(dst, src) +func (m *OutputStorageConfig) XXX_DiscardUnknown() { + xxx_messageInfo_OutputStorageConfig.DiscardUnknown(m) } -func (m *StatisticalTable_QuasiIdentifierField) XXX_Size() int { - return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Size(m) + +var xxx_messageInfo_OutputStorageConfig proto.InternalMessageInfo + +type isOutputStorageConfig_Type interface { + isOutputStorageConfig_Type() } -func (m *StatisticalTable_QuasiIdentifierField) XXX_DiscardUnknown() { - xxx_messageInfo_StatisticalTable_QuasiIdentifierField.DiscardUnknown(m) + +type OutputStorageConfig_Table struct { + Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3,oneof"` } -var xxx_messageInfo_StatisticalTable_QuasiIdentifierField proto.InternalMessageInfo +func (*OutputStorageConfig_Table) isOutputStorageConfig_Type() {} -func (m *StatisticalTable_QuasiIdentifierField) GetField() *FieldId { +func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type { if m != nil { - return m.Field + return m.Type } return nil } -func (m *StatisticalTable_QuasiIdentifierField) GetCustomTag() string { - if m != nil { - return m.CustomTag +func (m *OutputStorageConfig) GetTable() *BigQueryTable { + if x, ok := m.GetType().(*OutputStorageConfig_Table); ok { + return x.Table } - return "" + return nil } -// Privacy metric to compute for reidentification risk analysis. -type PrivacyMetric struct { - // Types that are valid to be assigned to Type: - // *PrivacyMetric_NumericalStatsConfig_ - // *PrivacyMetric_CategoricalStatsConfig_ - // *PrivacyMetric_KAnonymityConfig_ - // *PrivacyMetric_LDiversityConfig_ - // *PrivacyMetric_KMapEstimationConfig_ - // *PrivacyMetric_DeltaPresenceEstimationConfig_ - Type isPrivacyMetric_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PrivacyMetric) Reset() { *m = PrivacyMetric{} } -func (m *PrivacyMetric) String() string { return proto.CompactTextString(m) } -func (*PrivacyMetric) ProtoMessage() {} -func (*PrivacyMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32} -} -func (m *PrivacyMetric) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric.Unmarshal(m, b) -} -func (m *PrivacyMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric.Marshal(b, m, deterministic) -} -func (dst *PrivacyMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric.Merge(dst, src) -} -func (m *PrivacyMetric) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric.Size(m) -} -func (m *PrivacyMetric) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric proto.InternalMessageInfo - -type isPrivacyMetric_Type interface { - isPrivacyMetric_Type() -} - -type PrivacyMetric_NumericalStatsConfig_ struct { - NumericalStatsConfig *PrivacyMetric_NumericalStatsConfig `protobuf:"bytes,1,opt,name=numerical_stats_config,json=numericalStatsConfig,proto3,oneof"` -} -type PrivacyMetric_CategoricalStatsConfig_ struct { - CategoricalStatsConfig *PrivacyMetric_CategoricalStatsConfig `protobuf:"bytes,2,opt,name=categorical_stats_config,json=categoricalStatsConfig,proto3,oneof"` -} -type PrivacyMetric_KAnonymityConfig_ struct { - KAnonymityConfig *PrivacyMetric_KAnonymityConfig `protobuf:"bytes,3,opt,name=k_anonymity_config,json=kAnonymityConfig,proto3,oneof"` -} -type PrivacyMetric_LDiversityConfig_ struct { - LDiversityConfig *PrivacyMetric_LDiversityConfig `protobuf:"bytes,4,opt,name=l_diversity_config,json=lDiversityConfig,proto3,oneof"` -} -type PrivacyMetric_KMapEstimationConfig_ struct { - KMapEstimationConfig *PrivacyMetric_KMapEstimationConfig `protobuf:"bytes,5,opt,name=k_map_estimation_config,json=kMapEstimationConfig,proto3,oneof"` -} -type PrivacyMetric_DeltaPresenceEstimationConfig_ struct { - DeltaPresenceEstimationConfig *PrivacyMetric_DeltaPresenceEstimationConfig `protobuf:"bytes,6,opt,name=delta_presence_estimation_config,json=deltaPresenceEstimationConfig,proto3,oneof"` -} - -func (*PrivacyMetric_NumericalStatsConfig_) isPrivacyMetric_Type() {} -func (*PrivacyMetric_CategoricalStatsConfig_) isPrivacyMetric_Type() {} -func (*PrivacyMetric_KAnonymityConfig_) isPrivacyMetric_Type() {} -func (*PrivacyMetric_LDiversityConfig_) isPrivacyMetric_Type() {} -func (*PrivacyMetric_KMapEstimationConfig_) isPrivacyMetric_Type() {} -func (*PrivacyMetric_DeltaPresenceEstimationConfig_) isPrivacyMetric_Type() {} - -func (m *PrivacyMetric) GetType() isPrivacyMetric_Type { +func (m *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema { if m != nil { - return m.Type - } - return nil -} - -func (m *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig { - if x, ok := m.GetType().(*PrivacyMetric_NumericalStatsConfig_); ok { - return x.NumericalStatsConfig - } - return nil -} - -func (m *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig { - if x, ok := m.GetType().(*PrivacyMetric_CategoricalStatsConfig_); ok { - return x.CategoricalStatsConfig - } - return nil -} - -func (m *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig { - if x, ok := m.GetType().(*PrivacyMetric_KAnonymityConfig_); ok { - return x.KAnonymityConfig - } - return nil -} - -func (m *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig { - if x, ok := m.GetType().(*PrivacyMetric_LDiversityConfig_); ok { - return x.LDiversityConfig - } - return nil -} - -func (m *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig { - if x, ok := m.GetType().(*PrivacyMetric_KMapEstimationConfig_); ok { - return x.KMapEstimationConfig - } - return nil -} - -func (m *PrivacyMetric) GetDeltaPresenceEstimationConfig() *PrivacyMetric_DeltaPresenceEstimationConfig { - if x, ok := m.GetType().(*PrivacyMetric_DeltaPresenceEstimationConfig_); ok { - return x.DeltaPresenceEstimationConfig + return m.OutputSchema } - return nil + return OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED } // XXX_OneofFuncs is for the internal use of the proto package. -func (*PrivacyMetric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _PrivacyMetric_OneofMarshaler, _PrivacyMetric_OneofUnmarshaler, _PrivacyMetric_OneofSizer, []interface{}{ - (*PrivacyMetric_NumericalStatsConfig_)(nil), - (*PrivacyMetric_CategoricalStatsConfig_)(nil), - (*PrivacyMetric_KAnonymityConfig_)(nil), - (*PrivacyMetric_LDiversityConfig_)(nil), - (*PrivacyMetric_KMapEstimationConfig_)(nil), - (*PrivacyMetric_DeltaPresenceEstimationConfig_)(nil), +func (*OutputStorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _OutputStorageConfig_OneofMarshaler, _OutputStorageConfig_OneofUnmarshaler, _OutputStorageConfig_OneofSizer, []interface{}{ + (*OutputStorageConfig_Table)(nil), } } -func _PrivacyMetric_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*PrivacyMetric) +func _OutputStorageConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*OutputStorageConfig) // type switch x := m.Type.(type) { - case *PrivacyMetric_NumericalStatsConfig_: + case *OutputStorageConfig_Table: b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.NumericalStatsConfig); err != nil { - return err - } - case *PrivacyMetric_CategoricalStatsConfig_: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CategoricalStatsConfig); err != nil { - return err - } - case *PrivacyMetric_KAnonymityConfig_: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.KAnonymityConfig); err != nil { - return err - } - case *PrivacyMetric_LDiversityConfig_: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.LDiversityConfig); err != nil { - return err - } - case *PrivacyMetric_KMapEstimationConfig_: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.KMapEstimationConfig); err != nil { - return err - } - case *PrivacyMetric_DeltaPresenceEstimationConfig_: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DeltaPresenceEstimationConfig); err != nil { + if err := b.EncodeMessage(x.Table); err != nil { return err } case nil: default: - return fmt.Errorf("PrivacyMetric.Type has unexpected type %T", x) + return fmt.Errorf("OutputStorageConfig.Type has unexpected type %T", x) } return nil } -func _PrivacyMetric_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*PrivacyMetric) +func _OutputStorageConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*OutputStorageConfig) switch tag { - case 1: // type.numerical_stats_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(PrivacyMetric_NumericalStatsConfig) - err := b.DecodeMessage(msg) - m.Type = &PrivacyMetric_NumericalStatsConfig_{msg} - return true, err - case 2: // type.categorical_stats_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(PrivacyMetric_CategoricalStatsConfig) - err := b.DecodeMessage(msg) - m.Type = &PrivacyMetric_CategoricalStatsConfig_{msg} - return true, err - case 3: // type.k_anonymity_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(PrivacyMetric_KAnonymityConfig) - err := b.DecodeMessage(msg) - m.Type = &PrivacyMetric_KAnonymityConfig_{msg} - return true, err - case 4: // type.l_diversity_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(PrivacyMetric_LDiversityConfig) - err := b.DecodeMessage(msg) - m.Type = &PrivacyMetric_LDiversityConfig_{msg} - return true, err - case 5: // type.k_map_estimation_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(PrivacyMetric_KMapEstimationConfig) - err := b.DecodeMessage(msg) - m.Type = &PrivacyMetric_KMapEstimationConfig_{msg} - return true, err - case 6: // type.delta_presence_estimation_config + case 1: // type.table if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(PrivacyMetric_DeltaPresenceEstimationConfig) + msg := new(BigQueryTable) err := b.DecodeMessage(msg) - m.Type = &PrivacyMetric_DeltaPresenceEstimationConfig_{msg} + m.Type = &OutputStorageConfig_Table{msg} return true, err default: return false, nil } } -func _PrivacyMetric_OneofSizer(msg proto.Message) (n int) { - m := msg.(*PrivacyMetric) +func _OutputStorageConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*OutputStorageConfig) // type switch x := m.Type.(type) { - case *PrivacyMetric_NumericalStatsConfig_: - s := proto.Size(x.NumericalStatsConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrivacyMetric_CategoricalStatsConfig_: - s := proto.Size(x.CategoricalStatsConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrivacyMetric_KAnonymityConfig_: - s := proto.Size(x.KAnonymityConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrivacyMetric_LDiversityConfig_: - s := proto.Size(x.LDiversityConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrivacyMetric_KMapEstimationConfig_: - s := proto.Size(x.KMapEstimationConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrivacyMetric_DeltaPresenceEstimationConfig_: - s := proto.Size(x.DeltaPresenceEstimationConfig) + case *OutputStorageConfig_Table: + s := proto.Size(x.Table) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -3622,410 +3194,556 @@ func _PrivacyMetric_OneofSizer(msg proto.Message) (n int) { return n } -// Compute numerical stats over an individual column, including -// min, max, and quantiles. -type PrivacyMetric_NumericalStatsConfig struct { - // Field to compute numerical stats on. Supported types are - // integer, float, date, datetime, timestamp, time. - Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` +// Statistics regarding a specific InfoType. +type InfoTypeStats struct { + // The type of finding this stat is for. + InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` + // Number of findings for this infoType. + Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_NumericalStatsConfig) Reset() { *m = PrivacyMetric_NumericalStatsConfig{} } -func (m *PrivacyMetric_NumericalStatsConfig) String() string { return proto.CompactTextString(m) } -func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage() {} -func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 0} +func (m *InfoTypeStats) Reset() { *m = InfoTypeStats{} } +func (m *InfoTypeStats) String() string { return proto.CompactTextString(m) } +func (*InfoTypeStats) ProtoMessage() {} +func (*InfoTypeStats) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{28} } -func (m *PrivacyMetric_NumericalStatsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Unmarshal(m, b) +func (m *InfoTypeStats) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InfoTypeStats.Unmarshal(m, b) } -func (m *PrivacyMetric_NumericalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Marshal(b, m, deterministic) +func (m *InfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InfoTypeStats.Marshal(b, m, deterministic) } -func (dst *PrivacyMetric_NumericalStatsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Merge(dst, src) +func (dst *InfoTypeStats) XXX_Merge(src proto.Message) { + xxx_messageInfo_InfoTypeStats.Merge(dst, src) } -func (m *PrivacyMetric_NumericalStatsConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Size(m) +func (m *InfoTypeStats) XXX_Size() int { + return xxx_messageInfo_InfoTypeStats.Size(m) } -func (m *PrivacyMetric_NumericalStatsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.DiscardUnknown(m) +func (m *InfoTypeStats) XXX_DiscardUnknown() { + xxx_messageInfo_InfoTypeStats.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_NumericalStatsConfig proto.InternalMessageInfo +var xxx_messageInfo_InfoTypeStats proto.InternalMessageInfo -func (m *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId { +func (m *InfoTypeStats) GetInfoType() *InfoType { if m != nil { - return m.Field + return m.InfoType } return nil } -// Compute numerical stats over an individual column, including -// number of distinct values and value count distribution. -type PrivacyMetric_CategoricalStatsConfig struct { - // Field to compute categorical stats on. All column types are - // supported except for arrays and structs. However, it may be more - // informative to use NumericalStats when the field type is supported, - // depending on the data. - Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *InfoTypeStats) GetCount() int64 { + if m != nil { + return m.Count + } + return 0 } -func (m *PrivacyMetric_CategoricalStatsConfig) Reset() { *m = PrivacyMetric_CategoricalStatsConfig{} } -func (m *PrivacyMetric_CategoricalStatsConfig) String() string { return proto.CompactTextString(m) } -func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage() {} -func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 1} +// The results of an inspect DataSource job. +type InspectDataSourceDetails struct { + // The configuration used for this job. + RequestedOptions *InspectDataSourceDetails_RequestedOptions `protobuf:"bytes,2,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"` + // A summary of the outcome of this inspect job. + Result *InspectDataSourceDetails_Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Unmarshal(m, b) + +func (m *InspectDataSourceDetails) Reset() { *m = InspectDataSourceDetails{} } +func (m *InspectDataSourceDetails) String() string { return proto.CompactTextString(m) } +func (*InspectDataSourceDetails) ProtoMessage() {} +func (*InspectDataSourceDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{29} } -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Marshal(b, m, deterministic) +func (m *InspectDataSourceDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectDataSourceDetails.Unmarshal(m, b) } -func (dst *PrivacyMetric_CategoricalStatsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Merge(dst, src) +func (m *InspectDataSourceDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectDataSourceDetails.Marshal(b, m, deterministic) } -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Size(m) +func (dst *InspectDataSourceDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectDataSourceDetails.Merge(dst, src) } -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.DiscardUnknown(m) +func (m *InspectDataSourceDetails) XXX_Size() int { + return xxx_messageInfo_InspectDataSourceDetails.Size(m) +} +func (m *InspectDataSourceDetails) XXX_DiscardUnknown() { + xxx_messageInfo_InspectDataSourceDetails.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig proto.InternalMessageInfo +var xxx_messageInfo_InspectDataSourceDetails proto.InternalMessageInfo -func (m *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId { +func (m *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions { if m != nil { - return m.Field + return m.RequestedOptions } return nil } -// k-anonymity metric, used for analysis of reidentification risk. -type PrivacyMetric_KAnonymityConfig struct { - // Set of fields to compute k-anonymity over. When multiple fields are - // specified, they are considered a single composite key. Structs and - // repeated data types are not supported; however, nested fields are - // supported so long as they are not structs themselves or nested within - // a repeated field. - QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` - // Optional message indicating that multiple rows might be associated to a - // single individual. If the same entity_id is associated to multiple - // quasi-identifier tuples over distict rows, we consider the entire - // collection of tuples as the composite quasi-identifier. This collection - // is a multiset: the order in which the different tuples appear in the - // dataset is ignored, but their frequency is taken into account. - // - // Important note: a maximum of 1000 rows can be associated to a single - // entity ID. If more rows are associated with the same entity ID, some - // might be ignored. - EntityId *EntityId `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result { + if m != nil { + return m.Result + } + return nil } -func (m *PrivacyMetric_KAnonymityConfig) Reset() { *m = PrivacyMetric_KAnonymityConfig{} } -func (m *PrivacyMetric_KAnonymityConfig) String() string { return proto.CompactTextString(m) } -func (*PrivacyMetric_KAnonymityConfig) ProtoMessage() {} -func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 2} +type InspectDataSourceDetails_RequestedOptions struct { + // If run with an InspectTemplate, a snapshot of its state at the time of + // this run. + SnapshotInspectTemplate *InspectTemplate `protobuf:"bytes,1,opt,name=snapshot_inspect_template,json=snapshotInspectTemplate,proto3" json:"snapshot_inspect_template,omitempty"` + JobConfig *InspectJobConfig `protobuf:"bytes,3,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_KAnonymityConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Unmarshal(m, b) + +func (m *InspectDataSourceDetails_RequestedOptions) Reset() { + *m = InspectDataSourceDetails_RequestedOptions{} } -func (m *PrivacyMetric_KAnonymityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Marshal(b, m, deterministic) +func (m *InspectDataSourceDetails_RequestedOptions) String() string { return proto.CompactTextString(m) } +func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage() {} +func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{29, 0} } -func (dst *PrivacyMetric_KAnonymityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Merge(dst, src) +func (m *InspectDataSourceDetails_RequestedOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Unmarshal(m, b) } -func (m *PrivacyMetric_KAnonymityConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Size(m) +func (m *InspectDataSourceDetails_RequestedOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Marshal(b, m, deterministic) } -func (m *PrivacyMetric_KAnonymityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KAnonymityConfig.DiscardUnknown(m) +func (dst *InspectDataSourceDetails_RequestedOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Merge(dst, src) +} +func (m *InspectDataSourceDetails_RequestedOptions) XXX_Size() int { + return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Size(m) +} +func (m *InspectDataSourceDetails_RequestedOptions) XXX_DiscardUnknown() { + xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_KAnonymityConfig proto.InternalMessageInfo +var xxx_messageInfo_InspectDataSourceDetails_RequestedOptions proto.InternalMessageInfo -func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId { +func (m *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate { if m != nil { - return m.QuasiIds + return m.SnapshotInspectTemplate } return nil } -func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId { +func (m *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig { if m != nil { - return m.EntityId + return m.JobConfig } return nil } -// l-diversity metric, used for analysis of reidentification risk. -type PrivacyMetric_LDiversityConfig struct { - // Set of quasi-identifiers indicating how equivalence classes are - // defined for the l-diversity computation. When multiple fields are - // specified, they are considered a single composite key. - QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` - // Sensitive field for computing the l-value. - SensitiveAttribute *FieldId `protobuf:"bytes,2,opt,name=sensitive_attribute,json=sensitiveAttribute,proto3" json:"sensitive_attribute,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type InspectDataSourceDetails_Result struct { + // Total size in bytes that were processed. + ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"` + // Estimate of the number of bytes to process. + TotalEstimatedBytes int64 `protobuf:"varint,2,opt,name=total_estimated_bytes,json=totalEstimatedBytes,proto3" json:"total_estimated_bytes,omitempty"` + // Statistics of how many instances of each info type were found during + // inspect job. + InfoTypeStats []*InfoTypeStats `protobuf:"bytes,3,rep,name=info_type_stats,json=infoTypeStats,proto3" json:"info_type_stats,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_LDiversityConfig) Reset() { *m = PrivacyMetric_LDiversityConfig{} } -func (m *PrivacyMetric_LDiversityConfig) String() string { return proto.CompactTextString(m) } -func (*PrivacyMetric_LDiversityConfig) ProtoMessage() {} -func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 3} +func (m *InspectDataSourceDetails_Result) Reset() { *m = InspectDataSourceDetails_Result{} } +func (m *InspectDataSourceDetails_Result) String() string { return proto.CompactTextString(m) } +func (*InspectDataSourceDetails_Result) ProtoMessage() {} +func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{29, 1} } -func (m *PrivacyMetric_LDiversityConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Unmarshal(m, b) +func (m *InspectDataSourceDetails_Result) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectDataSourceDetails_Result.Unmarshal(m, b) } -func (m *PrivacyMetric_LDiversityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Marshal(b, m, deterministic) +func (m *InspectDataSourceDetails_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectDataSourceDetails_Result.Marshal(b, m, deterministic) } -func (dst *PrivacyMetric_LDiversityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_LDiversityConfig.Merge(dst, src) +func (dst *InspectDataSourceDetails_Result) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectDataSourceDetails_Result.Merge(dst, src) } -func (m *PrivacyMetric_LDiversityConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Size(m) +func (m *InspectDataSourceDetails_Result) XXX_Size() int { + return xxx_messageInfo_InspectDataSourceDetails_Result.Size(m) } -func (m *PrivacyMetric_LDiversityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_LDiversityConfig.DiscardUnknown(m) +func (m *InspectDataSourceDetails_Result) XXX_DiscardUnknown() { + xxx_messageInfo_InspectDataSourceDetails_Result.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_LDiversityConfig proto.InternalMessageInfo +var xxx_messageInfo_InspectDataSourceDetails_Result proto.InternalMessageInfo -func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId { +func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64 { if m != nil { - return m.QuasiIds + return m.ProcessedBytes } - return nil + return 0 } -func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId { +func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64 { if m != nil { - return m.SensitiveAttribute + return m.TotalEstimatedBytes + } + return 0 +} + +func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats { + if m != nil { + return m.InfoTypeStats } return nil } -// Reidentifiability metric. This corresponds to a risk model similar to what -// is called "journalist risk" in the literature, except the attack dataset is -// statistically modeled instead of being perfectly known. This can be done -// using publicly available data (like the US Census), or using a custom -// statistical model (indicated as one or several BigQuery tables), or by -// extrapolating from the distribution of values in the input dataset. -// A column with a semantic tag attached. -type PrivacyMetric_KMapEstimationConfig struct { - // Fields considered to be quasi-identifiers. No two columns can have the - // same tag. [required] - QuasiIds []*PrivacyMetric_KMapEstimationConfig_TaggedField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` - // ISO 3166-1 alpha-2 region code to use in the statistical modeling. - // Required if no column is tagged with a region-specific InfoType (like - // US_ZIP_5) or a region code. - RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` - // Several auxiliary tables can be used in the analysis. Each custom_tag - // used to tag a quasi-identifiers column must appear in exactly one column - // of one auxiliary table. - AuxiliaryTables []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// InfoType description. +type InfoTypeDescription struct { + // Internal name of the infoType. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Human readable form of the infoType name. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Which parts of the API supports this InfoType. + SupportedBy []InfoTypeSupportedBy `protobuf:"varint,3,rep,packed,name=supported_by,json=supportedBy,proto3,enum=google.privacy.dlp.v2.InfoTypeSupportedBy" json:"supported_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_KMapEstimationConfig) Reset() { *m = PrivacyMetric_KMapEstimationConfig{} } -func (m *PrivacyMetric_KMapEstimationConfig) String() string { return proto.CompactTextString(m) } -func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage() {} -func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 4} +func (m *InfoTypeDescription) Reset() { *m = InfoTypeDescription{} } +func (m *InfoTypeDescription) String() string { return proto.CompactTextString(m) } +func (*InfoTypeDescription) ProtoMessage() {} +func (*InfoTypeDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{30} } -func (m *PrivacyMetric_KMapEstimationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Unmarshal(m, b) +func (m *InfoTypeDescription) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InfoTypeDescription.Unmarshal(m, b) } -func (m *PrivacyMetric_KMapEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Marshal(b, m, deterministic) +func (m *InfoTypeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InfoTypeDescription.Marshal(b, m, deterministic) } -func (dst *PrivacyMetric_KMapEstimationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Merge(dst, src) +func (dst *InfoTypeDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_InfoTypeDescription.Merge(dst, src) } -func (m *PrivacyMetric_KMapEstimationConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Size(m) +func (m *InfoTypeDescription) XXX_Size() int { + return xxx_messageInfo_InfoTypeDescription.Size(m) } -func (m *PrivacyMetric_KMapEstimationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.DiscardUnknown(m) +func (m *InfoTypeDescription) XXX_DiscardUnknown() { + xxx_messageInfo_InfoTypeDescription.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig proto.InternalMessageInfo +var xxx_messageInfo_InfoTypeDescription proto.InternalMessageInfo -func (m *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField { +func (m *InfoTypeDescription) GetName() string { if m != nil { - return m.QuasiIds + return m.Name } - return nil + return "" } -func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string { +func (m *InfoTypeDescription) GetDisplayName() string { if m != nil { - return m.RegionCode + return m.DisplayName } return "" } -func (m *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable { +func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy { if m != nil { - return m.AuxiliaryTables + return m.SupportedBy } return nil } -type PrivacyMetric_KMapEstimationConfig_TaggedField struct { - // Identifies the column. [required] - Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // Semantic tag that identifies what a column contains, to determine which - // statistical model to use to estimate the reidentifiability of each - // value. [required] - // - // Types that are valid to be assigned to Tag: - // *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType - // *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag - // *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred - Tag isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag `protobuf_oneof:"tag"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request for the list of infoTypes. +type ListInfoTypesRequest struct { + // Optional BCP-47 language code for localized infoType friendly + // names. If omitted, or if localized strings are not available, + // en-US strings will be returned. + LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` + // Optional filter to only return infoTypes supported by certain parts of the + // API. Defaults to supported_by=INSPECT. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset() { - *m = PrivacyMetric_KMapEstimationConfig_TaggedField{} -} -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string { - return proto.CompactTextString(m) +func (m *ListInfoTypesRequest) Reset() { *m = ListInfoTypesRequest{} } +func (m *ListInfoTypesRequest) String() string { return proto.CompactTextString(m) } +func (*ListInfoTypesRequest) ProtoMessage() {} +func (*ListInfoTypesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{31} } -func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage() {} -func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 4, 0} +func (m *ListInfoTypesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInfoTypesRequest.Unmarshal(m, b) } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Unmarshal(m, b) +func (m *ListInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInfoTypesRequest.Marshal(b, m, deterministic) } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Marshal(b, m, deterministic) +func (dst *ListInfoTypesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInfoTypesRequest.Merge(dst, src) } -func (dst *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Merge(dst, src) +func (m *ListInfoTypesRequest) XXX_Size() int { + return xxx_messageInfo_ListInfoTypesRequest.Size(m) } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Size(m) +func (m *ListInfoTypesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInfoTypesRequest.DiscardUnknown(m) } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.DiscardUnknown(m) + +var xxx_messageInfo_ListInfoTypesRequest proto.InternalMessageInfo + +func (m *ListInfoTypesRequest) GetLanguageCode() string { + if m != nil { + return m.LanguageCode + } + return "" } -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField proto.InternalMessageInfo +func (m *ListInfoTypesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} -type isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag interface { - isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() +// Response to the ListInfoTypes request. +type ListInfoTypesResponse struct { + // Set of sensitive infoTypes. + InfoTypes []*InfoTypeDescription `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct { - InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` +func (m *ListInfoTypesResponse) Reset() { *m = ListInfoTypesResponse{} } +func (m *ListInfoTypesResponse) String() string { return proto.CompactTextString(m) } +func (*ListInfoTypesResponse) ProtoMessage() {} +func (*ListInfoTypesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{32} } -type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct { - CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` +func (m *ListInfoTypesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInfoTypesResponse.Unmarshal(m, b) } -type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred struct { - Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"` +func (m *ListInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInfoTypesResponse.Marshal(b, m, deterministic) } - -func (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { +func (dst *ListInfoTypesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInfoTypesResponse.Merge(dst, src) } -func (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { +func (m *ListInfoTypesResponse) XXX_Size() int { + return xxx_messageInfo_ListInfoTypesResponse.Size(m) } -func (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { +func (m *ListInfoTypesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInfoTypesResponse.DiscardUnknown(m) } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag { +var xxx_messageInfo_ListInfoTypesResponse proto.InternalMessageInfo + +func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription { if m != nil { - return m.Tag + return m.InfoTypes } return nil } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId { - if m != nil { - return m.Field - } - return nil +// Configuration for a risk analysis job. See +// https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more. +type RiskAnalysisJobConfig struct { + // Privacy metric to compute. + PrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=privacy_metric,json=privacyMetric,proto3" json:"privacy_metric,omitempty"` + // Input dataset to compute metrics over. + SourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"` + // Actions to execute at the completion of the job. Are executed in the order + // provided. + Actions []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType { - if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType); ok { - return x.InfoType +func (m *RiskAnalysisJobConfig) Reset() { *m = RiskAnalysisJobConfig{} } +func (m *RiskAnalysisJobConfig) String() string { return proto.CompactTextString(m) } +func (*RiskAnalysisJobConfig) ProtoMessage() {} +func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{33} +} +func (m *RiskAnalysisJobConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RiskAnalysisJobConfig.Unmarshal(m, b) +} +func (m *RiskAnalysisJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RiskAnalysisJobConfig.Marshal(b, m, deterministic) +} +func (dst *RiskAnalysisJobConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RiskAnalysisJobConfig.Merge(dst, src) +} +func (m *RiskAnalysisJobConfig) XXX_Size() int { + return xxx_messageInfo_RiskAnalysisJobConfig.Size(m) +} +func (m *RiskAnalysisJobConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RiskAnalysisJobConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RiskAnalysisJobConfig proto.InternalMessageInfo + +func (m *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric { + if m != nil { + return m.PrivacyMetric } return nil } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string { - if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag); ok { - return x.CustomTag +func (m *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable { + if m != nil { + return m.SourceTable } - return "" + return nil } -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *empty.Empty { - if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred); ok { - return x.Inferred +func (m *RiskAnalysisJobConfig) GetActions() []*Action { + if m != nil { + return m.Actions } return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofMarshaler, _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler, _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer, []interface{}{ - (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType)(nil), - (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag)(nil), - (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred)(nil), - } +// A column with a semantic tag attached. +type QuasiId struct { + // Identifies the column. [required] + Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + // Semantic tag that identifies what a column contains, to determine which + // statistical model to use to estimate the reidentifiability of each + // value. [required] + // + // Types that are valid to be assigned to Tag: + // *QuasiId_InfoType + // *QuasiId_CustomTag + // *QuasiId_Inferred + Tag isQuasiId_Tag `protobuf_oneof:"tag"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField) - // tag +func (m *QuasiId) Reset() { *m = QuasiId{} } +func (m *QuasiId) String() string { return proto.CompactTextString(m) } +func (*QuasiId) ProtoMessage() {} +func (*QuasiId) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{34} +} +func (m *QuasiId) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuasiId.Unmarshal(m, b) +} +func (m *QuasiId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuasiId.Marshal(b, m, deterministic) +} +func (dst *QuasiId) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuasiId.Merge(dst, src) +} +func (m *QuasiId) XXX_Size() int { + return xxx_messageInfo_QuasiId.Size(m) +} +func (m *QuasiId) XXX_DiscardUnknown() { + xxx_messageInfo_QuasiId.DiscardUnknown(m) +} + +var xxx_messageInfo_QuasiId proto.InternalMessageInfo + +func (m *QuasiId) GetField() *FieldId { + if m != nil { + return m.Field + } + return nil +} + +type isQuasiId_Tag interface { + isQuasiId_Tag() +} + +type QuasiId_InfoType struct { + InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` +} + +type QuasiId_CustomTag struct { + CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` +} + +type QuasiId_Inferred struct { + Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"` +} + +func (*QuasiId_InfoType) isQuasiId_Tag() {} + +func (*QuasiId_CustomTag) isQuasiId_Tag() {} + +func (*QuasiId_Inferred) isQuasiId_Tag() {} + +func (m *QuasiId) GetTag() isQuasiId_Tag { + if m != nil { + return m.Tag + } + return nil +} + +func (m *QuasiId) GetInfoType() *InfoType { + if x, ok := m.GetTag().(*QuasiId_InfoType); ok { + return x.InfoType + } + return nil +} + +func (m *QuasiId) GetCustomTag() string { + if x, ok := m.GetTag().(*QuasiId_CustomTag); ok { + return x.CustomTag + } + return "" +} + +func (m *QuasiId) GetInferred() *empty.Empty { + if x, ok := m.GetTag().(*QuasiId_Inferred); ok { + return x.Inferred + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*QuasiId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _QuasiId_OneofMarshaler, _QuasiId_OneofUnmarshaler, _QuasiId_OneofSizer, []interface{}{ + (*QuasiId_InfoType)(nil), + (*QuasiId_CustomTag)(nil), + (*QuasiId_Inferred)(nil), + } +} + +func _QuasiId_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*QuasiId) + // tag switch x := m.Tag.(type) { - case *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType: + case *QuasiId_InfoType: b.EncodeVarint(2<<3 | proto.WireBytes) if err := b.EncodeMessage(x.InfoType); err != nil { return err } - case *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag: + case *QuasiId_CustomTag: b.EncodeVarint(3<<3 | proto.WireBytes) b.EncodeStringBytes(x.CustomTag) - case *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred: + case *QuasiId_Inferred: b.EncodeVarint(4<<3 | proto.WireBytes) if err := b.EncodeMessage(x.Inferred); err != nil { return err } case nil: default: - return fmt.Errorf("PrivacyMetric_KMapEstimationConfig_TaggedField.Tag has unexpected type %T", x) + return fmt.Errorf("QuasiId.Tag has unexpected type %T", x) } return nil } -func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField) +func _QuasiId_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*QuasiId) switch tag { case 2: // tag.info_type if wire != proto.WireBytes { @@ -4033,14 +3751,14 @@ func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler(msg proto. } msg := new(InfoType) err := b.DecodeMessage(msg) - m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType{msg} + m.Tag = &QuasiId_InfoType{msg} return true, err case 3: // tag.custom_tag if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeStringBytes() - m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag{x} + m.Tag = &QuasiId_CustomTag{x} return true, err case 4: // tag.inferred if wire != proto.WireBytes { @@ -4048,27 +3766,27 @@ func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler(msg proto. } msg := new(empty.Empty) err := b.DecodeMessage(msg) - m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred{msg} + m.Tag = &QuasiId_Inferred{msg} return true, err default: return false, nil } } -func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer(msg proto.Message) (n int) { - m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField) +func _QuasiId_OneofSizer(msg proto.Message) (n int) { + m := msg.(*QuasiId) // tag switch x := m.Tag.(type) { - case *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType: + case *QuasiId_InfoType: s := proto.Size(x.InfoType) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag: + case *QuasiId_CustomTag: n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.CustomTag))) n += len(x.CustomTag) - case *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred: + case *QuasiId_Inferred: s := proto.Size(x.Inferred) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) @@ -4080,18 +3798,18 @@ func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer(msg proto.Messag return n } -// An auxiliary table contains statistical information on the relative +// An auxiliary table containing statistical information on the relative // frequency of different quasi-identifiers values. It has one or several // quasi-identifiers columns, and one column that indicates the relative // frequency of each quasi-identifier tuple. // If a tuple is present in the data but not in the auxiliary table, the // corresponding relative frequency is assumed to be zero (and thus, the // tuple is highly reidentifiable). -type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct { +type StatisticalTable struct { // Auxiliary table location. [required] Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Quasi-identifier columns. [required] - QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` + QuasiIds []*StatisticalTable_QuasiIdentifierField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // The relative frequency column must contain a floating-point number // between 0 and 1 (inclusive). Null values are assumed to be zero. // [required] @@ -4101,49 +3819,45 @@ type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct { XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset() { - *m = PrivacyMetric_KMapEstimationConfig_AuxiliaryTable{} -} -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string { - return proto.CompactTextString(m) -} -func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage() {} -func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 4, 1} +func (m *StatisticalTable) Reset() { *m = StatisticalTable{} } +func (m *StatisticalTable) String() string { return proto.CompactTextString(m) } +func (*StatisticalTable) ProtoMessage() {} +func (*StatisticalTable) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{35} } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Unmarshal(m, b) +func (m *StatisticalTable) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatisticalTable.Unmarshal(m, b) } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Marshal(b, m, deterministic) +func (m *StatisticalTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatisticalTable.Marshal(b, m, deterministic) } -func (dst *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Merge(dst, src) +func (dst *StatisticalTable) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatisticalTable.Merge(dst, src) } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Size(m) +func (m *StatisticalTable) XXX_Size() int { + return xxx_messageInfo_StatisticalTable.Size(m) } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.DiscardUnknown(m) +func (m *StatisticalTable) XXX_DiscardUnknown() { + xxx_messageInfo_StatisticalTable.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable proto.InternalMessageInfo +var xxx_messageInfo_StatisticalTable proto.InternalMessageInfo -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable { +func (m *StatisticalTable) GetTable() *BigQueryTable { if m != nil { return m.Table } return nil } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField { +func (m *StatisticalTable) GetQuasiIds() []*StatisticalTable_QuasiIdentifierField { if m != nil { return m.QuasiIds } return nil } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId { +func (m *StatisticalTable) GetRelativeFrequency() *FieldId { if m != nil { return m.RelativeFrequency } @@ -4152,7 +3866,7 @@ func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency // A quasi-identifier column has a custom_tag, used to know which column // in the data corresponds to which column in the statistical model. -type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct { +type StatisticalTable_QuasiIdentifierField struct { Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -4160,397 +3874,312 @@ type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct { XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset() { - *m = PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField{} -} -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string { - return proto.CompactTextString(m) -} -func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage() {} -func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 4, 1, 0} +func (m *StatisticalTable_QuasiIdentifierField) Reset() { *m = StatisticalTable_QuasiIdentifierField{} } +func (m *StatisticalTable_QuasiIdentifierField) String() string { return proto.CompactTextString(m) } +func (*StatisticalTable_QuasiIdentifierField) ProtoMessage() {} +func (*StatisticalTable_QuasiIdentifierField) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{35, 0} } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Unmarshal(m, b) +func (m *StatisticalTable_QuasiIdentifierField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Unmarshal(m, b) } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Marshal(b, m, deterministic) +func (m *StatisticalTable_QuasiIdentifierField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Marshal(b, m, deterministic) } -func (dst *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Merge(dst, src) +func (dst *StatisticalTable_QuasiIdentifierField) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Merge(dst, src) } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Size(m) +func (m *StatisticalTable_QuasiIdentifierField) XXX_Size() int { + return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Size(m) } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.DiscardUnknown(m) +func (m *StatisticalTable_QuasiIdentifierField) XXX_DiscardUnknown() { + xxx_messageInfo_StatisticalTable_QuasiIdentifierField.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField proto.InternalMessageInfo +var xxx_messageInfo_StatisticalTable_QuasiIdentifierField proto.InternalMessageInfo -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId { +func (m *StatisticalTable_QuasiIdentifierField) GetField() *FieldId { if m != nil { return m.Field } return nil } -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string { +func (m *StatisticalTable_QuasiIdentifierField) GetCustomTag() string { if m != nil { return m.CustomTag } return "" } -// δ-presence metric, used to estimate how likely it is for an attacker to -// figure out that one given individual appears in a de-identified dataset. -// Similarly to the k-map metric, we cannot compute δ-presence exactly without -// knowing the attack dataset, so we use a statistical model instead. -type PrivacyMetric_DeltaPresenceEstimationConfig struct { - // Fields considered to be quasi-identifiers. No two fields can have the - // same tag. [required] - QuasiIds []*QuasiId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` - // ISO 3166-1 alpha-2 region code to use in the statistical modeling. - // Required if no column is tagged with a region-specific InfoType (like - // US_ZIP_5) or a region code. - RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` - // Several auxiliary tables can be used in the analysis. Each custom_tag - // used to tag a quasi-identifiers field must appear in exactly one - // field of one auxiliary table. - AuxiliaryTables []*StatisticalTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Privacy metric to compute for reidentification risk analysis. +type PrivacyMetric struct { + // Types that are valid to be assigned to Type: + // *PrivacyMetric_NumericalStatsConfig_ + // *PrivacyMetric_CategoricalStatsConfig_ + // *PrivacyMetric_KAnonymityConfig_ + // *PrivacyMetric_LDiversityConfig_ + // *PrivacyMetric_KMapEstimationConfig_ + // *PrivacyMetric_DeltaPresenceEstimationConfig_ + Type isPrivacyMetric_Type `protobuf_oneof:"type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) Reset() { - *m = PrivacyMetric_DeltaPresenceEstimationConfig{} +func (m *PrivacyMetric) Reset() { *m = PrivacyMetric{} } +func (m *PrivacyMetric) String() string { return proto.CompactTextString(m) } +func (*PrivacyMetric) ProtoMessage() {} +func (*PrivacyMetric) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36} } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) String() string { - return proto.CompactTextString(m) +func (m *PrivacyMetric) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric.Unmarshal(m, b) } -func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage() {} -func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{32, 5} +func (m *PrivacyMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric.Marshal(b, m, deterministic) } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Unmarshal(m, b) +func (dst *PrivacyMetric) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric.Merge(dst, src) } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Marshal(b, m, deterministic) -} -func (dst *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Merge(dst, src) -} -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Size(m) +func (m *PrivacyMetric) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric.Size(m) } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.DiscardUnknown(m) +func (m *PrivacyMetric) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric.DiscardUnknown(m) } -var xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric proto.InternalMessageInfo -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds() []*QuasiId { - if m != nil { - return m.QuasiIds - } - return nil +type isPrivacyMetric_Type interface { + isPrivacyMetric_Type() } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode() string { - if m != nil { - return m.RegionCode - } - return "" +type PrivacyMetric_NumericalStatsConfig_ struct { + NumericalStatsConfig *PrivacyMetric_NumericalStatsConfig `protobuf:"bytes,1,opt,name=numerical_stats_config,json=numericalStatsConfig,proto3,oneof"` } -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables() []*StatisticalTable { - if m != nil { - return m.AuxiliaryTables - } - return nil +type PrivacyMetric_CategoricalStatsConfig_ struct { + CategoricalStatsConfig *PrivacyMetric_CategoricalStatsConfig `protobuf:"bytes,2,opt,name=categorical_stats_config,json=categoricalStatsConfig,proto3,oneof"` } -// Result of a risk analysis operation request. -type AnalyzeDataSourceRiskDetails struct { - // Privacy metric to compute. - RequestedPrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=requested_privacy_metric,json=requestedPrivacyMetric,proto3" json:"requested_privacy_metric,omitempty"` - // Input dataset to compute metrics over. - RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"` - // Values associated with this metric. - // - // Types that are valid to be assigned to Result: - // *AnalyzeDataSourceRiskDetails_NumericalStatsResult_ - // *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ - // *AnalyzeDataSourceRiskDetails_KAnonymityResult_ - // *AnalyzeDataSourceRiskDetails_LDiversityResult_ - // *AnalyzeDataSourceRiskDetails_KMapEstimationResult_ - // *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ - Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type PrivacyMetric_KAnonymityConfig_ struct { + KAnonymityConfig *PrivacyMetric_KAnonymityConfig `protobuf:"bytes,3,opt,name=k_anonymity_config,json=kAnonymityConfig,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails) Reset() { *m = AnalyzeDataSourceRiskDetails{} } -func (m *AnalyzeDataSourceRiskDetails) String() string { return proto.CompactTextString(m) } -func (*AnalyzeDataSourceRiskDetails) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33} -} -func (m *AnalyzeDataSourceRiskDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Marshal(b, m, deterministic) -} -func (dst *AnalyzeDataSourceRiskDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails.Merge(dst, src) +type PrivacyMetric_LDiversityConfig_ struct { + LDiversityConfig *PrivacyMetric_LDiversityConfig `protobuf:"bytes,4,opt,name=l_diversity_config,json=lDiversityConfig,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Size(m) + +type PrivacyMetric_KMapEstimationConfig_ struct { + KMapEstimationConfig *PrivacyMetric_KMapEstimationConfig `protobuf:"bytes,5,opt,name=k_map_estimation_config,json=kMapEstimationConfig,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails.DiscardUnknown(m) + +type PrivacyMetric_DeltaPresenceEstimationConfig_ struct { + DeltaPresenceEstimationConfig *PrivacyMetric_DeltaPresenceEstimationConfig `protobuf:"bytes,6,opt,name=delta_presence_estimation_config,json=deltaPresenceEstimationConfig,proto3,oneof"` } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails proto.InternalMessageInfo +func (*PrivacyMetric_NumericalStatsConfig_) isPrivacyMetric_Type() {} -type isAnalyzeDataSourceRiskDetails_Result interface { - isAnalyzeDataSourceRiskDetails_Result() -} +func (*PrivacyMetric_CategoricalStatsConfig_) isPrivacyMetric_Type() {} -type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ struct { - NumericalStatsResult *AnalyzeDataSourceRiskDetails_NumericalStatsResult `protobuf:"bytes,3,opt,name=numerical_stats_result,json=numericalStatsResult,proto3,oneof"` -} -type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ struct { - CategoricalStatsResult *AnalyzeDataSourceRiskDetails_CategoricalStatsResult `protobuf:"bytes,4,opt,name=categorical_stats_result,json=categoricalStatsResult,proto3,oneof"` -} -type AnalyzeDataSourceRiskDetails_KAnonymityResult_ struct { - KAnonymityResult *AnalyzeDataSourceRiskDetails_KAnonymityResult `protobuf:"bytes,5,opt,name=k_anonymity_result,json=kAnonymityResult,proto3,oneof"` -} -type AnalyzeDataSourceRiskDetails_LDiversityResult_ struct { - LDiversityResult *AnalyzeDataSourceRiskDetails_LDiversityResult `protobuf:"bytes,6,opt,name=l_diversity_result,json=lDiversityResult,proto3,oneof"` -} -type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ struct { - KMapEstimationResult *AnalyzeDataSourceRiskDetails_KMapEstimationResult `protobuf:"bytes,7,opt,name=k_map_estimation_result,json=kMapEstimationResult,proto3,oneof"` -} -type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ struct { - DeltaPresenceEstimationResult *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult `protobuf:"bytes,9,opt,name=delta_presence_estimation_result,json=deltaPresenceEstimationResult,proto3,oneof"` -} +func (*PrivacyMetric_KAnonymityConfig_) isPrivacyMetric_Type() {} -func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (*AnalyzeDataSourceRiskDetails_LDiversityResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_) isAnalyzeDataSourceRiskDetails_Result() { -} +func (*PrivacyMetric_LDiversityConfig_) isPrivacyMetric_Type() {} -func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result { - if m != nil { - return m.Result - } - return nil -} +func (*PrivacyMetric_KMapEstimationConfig_) isPrivacyMetric_Type() {} -func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric { - if m != nil { - return m.RequestedPrivacyMetric - } - return nil -} +func (*PrivacyMetric_DeltaPresenceEstimationConfig_) isPrivacyMetric_Type() {} -func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable { +func (m *PrivacyMetric) GetType() isPrivacyMetric_Type { if m != nil { - return m.RequestedSourceTable + return m.Type } return nil } -func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_NumericalStatsResult_); ok { - return x.NumericalStatsResult +func (m *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig { + if x, ok := m.GetType().(*PrivacyMetric_NumericalStatsConfig_); ok { + return x.NumericalStatsConfig } return nil } -func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_); ok { - return x.CategoricalStatsResult +func (m *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig { + if x, ok := m.GetType().(*PrivacyMetric_CategoricalStatsConfig_); ok { + return x.CategoricalStatsConfig } return nil } -func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KAnonymityResult_); ok { - return x.KAnonymityResult +func (m *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig { + if x, ok := m.GetType().(*PrivacyMetric_KAnonymityConfig_); ok { + return x.KAnonymityConfig } return nil } -func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_LDiversityResult_); ok { - return x.LDiversityResult +func (m *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig { + if x, ok := m.GetType().(*PrivacyMetric_LDiversityConfig_); ok { + return x.LDiversityConfig } return nil } -func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KMapEstimationResult_); ok { - return x.KMapEstimationResult +func (m *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig { + if x, ok := m.GetType().(*PrivacyMetric_KMapEstimationConfig_); ok { + return x.KMapEstimationConfig } return nil } -func (m *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_); ok { - return x.DeltaPresenceEstimationResult +func (m *PrivacyMetric) GetDeltaPresenceEstimationConfig() *PrivacyMetric_DeltaPresenceEstimationConfig { + if x, ok := m.GetType().(*PrivacyMetric_DeltaPresenceEstimationConfig_); ok { + return x.DeltaPresenceEstimationConfig } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _AnalyzeDataSourceRiskDetails_OneofMarshaler, _AnalyzeDataSourceRiskDetails_OneofUnmarshaler, _AnalyzeDataSourceRiskDetails_OneofSizer, []interface{}{ - (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_)(nil), - (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_)(nil), - (*AnalyzeDataSourceRiskDetails_KAnonymityResult_)(nil), - (*AnalyzeDataSourceRiskDetails_LDiversityResult_)(nil), - (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_)(nil), - (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_)(nil), +func (*PrivacyMetric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _PrivacyMetric_OneofMarshaler, _PrivacyMetric_OneofUnmarshaler, _PrivacyMetric_OneofSizer, []interface{}{ + (*PrivacyMetric_NumericalStatsConfig_)(nil), + (*PrivacyMetric_CategoricalStatsConfig_)(nil), + (*PrivacyMetric_KAnonymityConfig_)(nil), + (*PrivacyMetric_LDiversityConfig_)(nil), + (*PrivacyMetric_KMapEstimationConfig_)(nil), + (*PrivacyMetric_DeltaPresenceEstimationConfig_)(nil), } } -func _AnalyzeDataSourceRiskDetails_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*AnalyzeDataSourceRiskDetails) - // result - switch x := m.Result.(type) { - case *AnalyzeDataSourceRiskDetails_NumericalStatsResult_: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.NumericalStatsResult); err != nil { +func _PrivacyMetric_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*PrivacyMetric) + // type + switch x := m.Type.(type) { + case *PrivacyMetric_NumericalStatsConfig_: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.NumericalStatsConfig); err != nil { return err } - case *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CategoricalStatsResult); err != nil { + case *PrivacyMetric_CategoricalStatsConfig_: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CategoricalStatsConfig); err != nil { return err } - case *AnalyzeDataSourceRiskDetails_KAnonymityResult_: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.KAnonymityResult); err != nil { + case *PrivacyMetric_KAnonymityConfig_: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.KAnonymityConfig); err != nil { return err } - case *AnalyzeDataSourceRiskDetails_LDiversityResult_: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.LDiversityResult); err != nil { + case *PrivacyMetric_LDiversityConfig_: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.LDiversityConfig); err != nil { return err } - case *AnalyzeDataSourceRiskDetails_KMapEstimationResult_: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.KMapEstimationResult); err != nil { + case *PrivacyMetric_KMapEstimationConfig_: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.KMapEstimationConfig); err != nil { return err } - case *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DeltaPresenceEstimationResult); err != nil { + case *PrivacyMetric_DeltaPresenceEstimationConfig_: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DeltaPresenceEstimationConfig); err != nil { return err } case nil: default: - return fmt.Errorf("AnalyzeDataSourceRiskDetails.Result has unexpected type %T", x) + return fmt.Errorf("PrivacyMetric.Type has unexpected type %T", x) } return nil } -func _AnalyzeDataSourceRiskDetails_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*AnalyzeDataSourceRiskDetails) +func _PrivacyMetric_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*PrivacyMetric) switch tag { - case 3: // result.numerical_stats_result + case 1: // type.numerical_stats_config if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails_NumericalStatsResult) + msg := new(PrivacyMetric_NumericalStatsConfig) err := b.DecodeMessage(msg) - m.Result = &AnalyzeDataSourceRiskDetails_NumericalStatsResult_{msg} + m.Type = &PrivacyMetric_NumericalStatsConfig_{msg} return true, err - case 4: // result.categorical_stats_result + case 2: // type.categorical_stats_config if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails_CategoricalStatsResult) + msg := new(PrivacyMetric_CategoricalStatsConfig) err := b.DecodeMessage(msg) - m.Result = &AnalyzeDataSourceRiskDetails_CategoricalStatsResult_{msg} + m.Type = &PrivacyMetric_CategoricalStatsConfig_{msg} return true, err - case 5: // result.k_anonymity_result + case 3: // type.k_anonymity_config if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails_KAnonymityResult) + msg := new(PrivacyMetric_KAnonymityConfig) err := b.DecodeMessage(msg) - m.Result = &AnalyzeDataSourceRiskDetails_KAnonymityResult_{msg} + m.Type = &PrivacyMetric_KAnonymityConfig_{msg} return true, err - case 6: // result.l_diversity_result + case 4: // type.l_diversity_config if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails_LDiversityResult) + msg := new(PrivacyMetric_LDiversityConfig) err := b.DecodeMessage(msg) - m.Result = &AnalyzeDataSourceRiskDetails_LDiversityResult_{msg} + m.Type = &PrivacyMetric_LDiversityConfig_{msg} return true, err - case 7: // result.k_map_estimation_result + case 5: // type.k_map_estimation_config if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails_KMapEstimationResult) + msg := new(PrivacyMetric_KMapEstimationConfig) err := b.DecodeMessage(msg) - m.Result = &AnalyzeDataSourceRiskDetails_KMapEstimationResult_{msg} + m.Type = &PrivacyMetric_KMapEstimationConfig_{msg} return true, err - case 9: // result.delta_presence_estimation_result + case 6: // type.delta_presence_estimation_config if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) + msg := new(PrivacyMetric_DeltaPresenceEstimationConfig) err := b.DecodeMessage(msg) - m.Result = &AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_{msg} + m.Type = &PrivacyMetric_DeltaPresenceEstimationConfig_{msg} return true, err default: return false, nil } } -func _AnalyzeDataSourceRiskDetails_OneofSizer(msg proto.Message) (n int) { - m := msg.(*AnalyzeDataSourceRiskDetails) - // result - switch x := m.Result.(type) { - case *AnalyzeDataSourceRiskDetails_NumericalStatsResult_: - s := proto.Size(x.NumericalStatsResult) +func _PrivacyMetric_OneofSizer(msg proto.Message) (n int) { + m := msg.(*PrivacyMetric) + // type + switch x := m.Type.(type) { + case *PrivacyMetric_NumericalStatsConfig_: + s := proto.Size(x.NumericalStatsConfig) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_: - s := proto.Size(x.CategoricalStatsResult) + case *PrivacyMetric_CategoricalStatsConfig_: + s := proto.Size(x.CategoricalStatsConfig) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *AnalyzeDataSourceRiskDetails_KAnonymityResult_: - s := proto.Size(x.KAnonymityResult) + case *PrivacyMetric_KAnonymityConfig_: + s := proto.Size(x.KAnonymityConfig) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *AnalyzeDataSourceRiskDetails_LDiversityResult_: - s := proto.Size(x.LDiversityResult) + case *PrivacyMetric_LDiversityConfig_: + s := proto.Size(x.LDiversityConfig) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *AnalyzeDataSourceRiskDetails_KMapEstimationResult_: - s := proto.Size(x.KMapEstimationResult) + case *PrivacyMetric_KMapEstimationConfig_: + s := proto.Size(x.KMapEstimationConfig) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_: - s := proto.Size(x.DeltaPresenceEstimationResult) + case *PrivacyMetric_DeltaPresenceEstimationConfig_: + s := proto.Size(x.DeltaPresenceEstimationConfig) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -4561,1326 +4190,952 @@ func _AnalyzeDataSourceRiskDetails_OneofSizer(msg proto.Message) (n int) { return n } -// Result of the numerical stats computation. -type AnalyzeDataSourceRiskDetails_NumericalStatsResult struct { - // Minimum value appearing in the column. - MinValue *Value `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` - // Maximum value appearing in the column. - MaxValue *Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` - // List of 99 values that partition the set of field values into 100 equal - // sized buckets. - QuantileValues []*Value `protobuf:"bytes,4,rep,name=quantile_values,json=quantileValues,proto3" json:"quantile_values,omitempty"` +// Compute numerical stats over an individual column, including +// min, max, and quantiles. +type PrivacyMetric_NumericalStatsConfig struct { + // Field to compute numerical stats on. Supported types are + // integer, float, date, datetime, timestamp, time. + Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset() { - *m = AnalyzeDataSourceRiskDetails_NumericalStatsResult{} -} -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 0} -} -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Unmarshal(m, b) +func (m *PrivacyMetric_NumericalStatsConfig) Reset() { *m = PrivacyMetric_NumericalStatsConfig{} } +func (m *PrivacyMetric_NumericalStatsConfig) String() string { return proto.CompactTextString(m) } +func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage() {} +func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 0} } -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Marshal(b, m, deterministic) +func (m *PrivacyMetric_NumericalStatsConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Unmarshal(m, b) } -func (dst *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Merge(dst, src) +func (m *PrivacyMetric_NumericalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Marshal(b, m, deterministic) } -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Size(m) +func (dst *PrivacyMetric_NumericalStatsConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.DiscardUnknown(m) +func (m *PrivacyMetric_NumericalStatsConfig) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Size(m) } - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value { - if m != nil { - return m.MinValue - } - return nil +func (m *PrivacyMetric_NumericalStatsConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.DiscardUnknown(m) } -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value { - if m != nil { - return m.MaxValue - } - return nil -} +var xxx_messageInfo_PrivacyMetric_NumericalStatsConfig proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value { +func (m *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId { if m != nil { - return m.QuantileValues + return m.Field } return nil } -// Result of the categorical stats computation. -type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct { - // Histogram of value frequencies in the column. - ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `protobuf:"bytes,5,rep,name=value_frequency_histogram_buckets,json=valueFrequencyHistogramBuckets,proto3" json:"value_frequency_histogram_buckets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Compute numerical stats over an individual column, including +// number of distinct values and value count distribution. +type PrivacyMetric_CategoricalStatsConfig struct { + // Field to compute categorical stats on. All column types are + // supported except for arrays and structs. However, it may be more + // informative to use NumericalStats when the field type is supported, + // depending on the data. + Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset() { - *m = AnalyzeDataSourceRiskDetails_CategoricalStatsResult{} -} -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 1} +func (m *PrivacyMetric_CategoricalStatsConfig) Reset() { *m = PrivacyMetric_CategoricalStatsConfig{} } +func (m *PrivacyMetric_CategoricalStatsConfig) String() string { return proto.CompactTextString(m) } +func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage() {} +func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 1} } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Unmarshal(m, b) +func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Marshal(b, m, deterministic) +func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Merge(dst, src) +func (dst *PrivacyMetric_CategoricalStatsConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Size(m) +func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.DiscardUnknown(m) +func (m *PrivacyMetric_CategoricalStatsConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket { +func (m *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId { if m != nil { - return m.ValueFrequencyHistogramBuckets + return m.Field } return nil } -type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct { - // Lower bound on the value frequency of the values in this bucket. - ValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=value_frequency_lower_bound,json=valueFrequencyLowerBound,proto3" json:"value_frequency_lower_bound,omitempty"` - // Upper bound on the value frequency of the values in this bucket. - ValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=value_frequency_upper_bound,json=valueFrequencyUpperBound,proto3" json:"value_frequency_upper_bound,omitempty"` - // Total number of values in this bucket. - BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` - // Sample of value frequencies in this bucket. The total number of - // values returned per bucket is capped at 20. - BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` - // Total number of distinct values in this bucket. - BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// k-anonymity metric, used for analysis of reidentification risk. +type PrivacyMetric_KAnonymityConfig struct { + // Set of fields to compute k-anonymity over. When multiple fields are + // specified, they are considered a single composite key. Structs and + // repeated data types are not supported; however, nested fields are + // supported so long as they are not structs themselves or nested within + // a repeated field. + QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` + // Optional message indicating that multiple rows might be associated to a + // single individual. If the same entity_id is associated to multiple + // quasi-identifier tuples over distinct rows, we consider the entire + // collection of tuples as the composite quasi-identifier. This collection + // is a multiset: the order in which the different tuples appear in the + // dataset is ignored, but their frequency is taken into account. + // + // Important note: a maximum of 1000 rows can be associated to a single + // entity ID. If more rows are associated with the same entity ID, some + // might be ignored. + EntityId *EntityId `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset() { - *m = AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket{} -} -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage() { -} -func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 1, 0} -} -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Unmarshal(m, b) +func (m *PrivacyMetric_KAnonymityConfig) Reset() { *m = PrivacyMetric_KAnonymityConfig{} } +func (m *PrivacyMetric_KAnonymityConfig) String() string { return proto.CompactTextString(m) } +func (*PrivacyMetric_KAnonymityConfig) ProtoMessage() {} +func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 2} } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Marshal(b, m, deterministic) +func (m *PrivacyMetric_KAnonymityConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Unmarshal(m, b) } -func (dst *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Merge(dst, src) +func (m *PrivacyMetric_KAnonymityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Marshal(b, m, deterministic) } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Size(m) +func (dst *PrivacyMetric_KAnonymityConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.DiscardUnknown(m) +func (m *PrivacyMetric_KAnonymityConfig) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Size(m) } - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64 { - if m != nil { - return m.ValueFrequencyLowerBound - } - return 0 +func (m *PrivacyMetric_KAnonymityConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_KAnonymityConfig.DiscardUnknown(m) } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64 { - if m != nil { - return m.ValueFrequencyUpperBound - } - return 0 -} +var xxx_messageInfo_PrivacyMetric_KAnonymityConfig proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64 { +func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId { if m != nil { - return m.BucketSize + return m.QuasiIds } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency { +func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId { if m != nil { - return m.BucketValues + return m.EntityId } return nil } -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64 { - if m != nil { - return m.BucketValueCount - } - return 0 -} - -// Result of the k-anonymity computation. -type AnalyzeDataSourceRiskDetails_KAnonymityResult struct { - // Histogram of k-anonymity equivalence classes. - EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `protobuf:"bytes,5,rep,name=equivalence_class_histogram_buckets,json=equivalenceClassHistogramBuckets,proto3" json:"equivalence_class_histogram_buckets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// l-diversity metric, used for analysis of reidentification risk. +type PrivacyMetric_LDiversityConfig struct { + // Set of quasi-identifiers indicating how equivalence classes are + // defined for the l-diversity computation. When multiple fields are + // specified, they are considered a single composite key. + QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` + // Sensitive field for computing the l-value. + SensitiveAttribute *FieldId `protobuf:"bytes,2,opt,name=sensitive_attribute,json=sensitiveAttribute,proto3" json:"sensitive_attribute,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset() { - *m = AnalyzeDataSourceRiskDetails_KAnonymityResult{} -} -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 2} +func (m *PrivacyMetric_LDiversityConfig) Reset() { *m = PrivacyMetric_LDiversityConfig{} } +func (m *PrivacyMetric_LDiversityConfig) String() string { return proto.CompactTextString(m) } +func (*PrivacyMetric_LDiversityConfig) ProtoMessage() {} +func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 3} } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Unmarshal(m, b) +func (m *PrivacyMetric_LDiversityConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Marshal(b, m, deterministic) +func (m *PrivacyMetric_LDiversityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Merge(dst, src) +func (dst *PrivacyMetric_LDiversityConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_LDiversityConfig.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Size(m) +func (m *PrivacyMetric_LDiversityConfig) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.DiscardUnknown(m) +func (m *PrivacyMetric_LDiversityConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_LDiversityConfig.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_LDiversityConfig proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket { +func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId { if m != nil { - return m.EquivalenceClassHistogramBuckets + return m.QuasiIds } return nil } -// The set of columns' values that share the same ldiversity value -type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass struct { - // Set of values defining the equivalence class. One value per - // quasi-identifier column in the original KAnonymity metric message. - // The order is always the same as the original request. - QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` - // Size of the equivalence class, for example number of rows with the - // above set of values. - EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId { + if m != nil { + return m.SensitiveAttribute + } + return nil } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset() { - *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass{} -} -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string { - return proto.CompactTextString(m) +// Reidentifiability metric. This corresponds to a risk model similar to what +// is called "journalist risk" in the literature, except the attack dataset is +// statistically modeled instead of being perfectly known. This can be done +// using publicly available data (like the US Census), or using a custom +// statistical model (indicated as one or several BigQuery tables), or by +// extrapolating from the distribution of values in the input dataset. +// A column with a semantic tag attached. +type PrivacyMetric_KMapEstimationConfig struct { + // Fields considered to be quasi-identifiers. No two columns can have the + // same tag. [required] + QuasiIds []*PrivacyMetric_KMapEstimationConfig_TaggedField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` + // ISO 3166-1 alpha-2 region code to use in the statistical modeling. + // Required if no column is tagged with a region-specific InfoType (like + // US_ZIP_5) or a region code. + RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` + // Several auxiliary tables can be used in the analysis. Each custom_tag + // used to tag a quasi-identifiers column must appear in exactly one column + // of one auxiliary table. + AuxiliaryTables []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 2, 0} + +func (m *PrivacyMetric_KMapEstimationConfig) Reset() { *m = PrivacyMetric_KMapEstimationConfig{} } +func (m *PrivacyMetric_KMapEstimationConfig) String() string { return proto.CompactTextString(m) } +func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage() {} +func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 4} } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Unmarshal(m, b) +func (m *PrivacyMetric_KMapEstimationConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Marshal(b, m, deterministic) +func (m *PrivacyMetric_KMapEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Merge(dst, src) +func (dst *PrivacyMetric_KMapEstimationConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Size(m) +func (m *PrivacyMetric_KMapEstimationConfig) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.DiscardUnknown(m) +func (m *PrivacyMetric_KMapEstimationConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value { +func (m *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField { if m != nil { - return m.QuasiIdsValues + return m.QuasiIds } return nil } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64 { +func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string { if m != nil { - return m.EquivalenceClassSize + return m.RegionCode } - return 0 + return "" } -type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct { - // Lower bound on the size of the equivalence classes in this bucket. - EquivalenceClassSizeLowerBound int64 `protobuf:"varint,1,opt,name=equivalence_class_size_lower_bound,json=equivalenceClassSizeLowerBound,proto3" json:"equivalence_class_size_lower_bound,omitempty"` - // Upper bound on the size of the equivalence classes in this bucket. - EquivalenceClassSizeUpperBound int64 `protobuf:"varint,2,opt,name=equivalence_class_size_upper_bound,json=equivalenceClassSizeUpperBound,proto3" json:"equivalence_class_size_upper_bound,omitempty"` - // Total number of equivalence classes in this bucket. - BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` - // Sample of equivalence classes in this bucket. The total number of - // classes returned per bucket is capped at 20. - BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` - // Total number of distinct equivalence classes in this bucket. - BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable { + if m != nil { + return m.AuxiliaryTables + } + return nil } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset() { - *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket{} +type PrivacyMetric_KMapEstimationConfig_TaggedField struct { + // Identifies the column. [required] + Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + // Semantic tag that identifies what a column contains, to determine which + // statistical model to use to estimate the reidentifiability of each + // value. [required] + // + // Types that are valid to be assigned to Tag: + // *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType + // *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag + // *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred + Tag isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag `protobuf_oneof:"tag"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string { + +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset() { + *m = PrivacyMetric_KMapEstimationConfig_TaggedField{} +} +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string { return proto.CompactTextString(m) } -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 2, 1} +func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage() {} +func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 4, 0} } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Unmarshal(m, b) +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Marshal(b, m, deterministic) +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Merge(dst, src) +func (dst *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Size(m) +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.DiscardUnknown(m) +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64 { +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId { if m != nil { - return m.EquivalenceClassSizeLowerBound + return m.Field } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64 { - if m != nil { - return m.EquivalenceClassSizeUpperBound - } - return 0 +type isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag interface { + isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64 { - if m != nil { - return m.BucketSize - } - return 0 +type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct { + InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass { - if m != nil { - return m.BucketValues - } - return nil +type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct { + CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64 { - if m != nil { - return m.BucketValueCount - } - return 0 +type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred struct { + Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"` } -// Result of the l-diversity computation. -type AnalyzeDataSourceRiskDetails_LDiversityResult struct { - // Histogram of l-diversity equivalence class sensitive value frequencies. - SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `protobuf:"bytes,5,rep,name=sensitive_value_frequency_histogram_buckets,json=sensitiveValueFrequencyHistogramBuckets,proto3" json:"sensitive_value_frequency_histogram_buckets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset() { - *m = AnalyzeDataSourceRiskDetails_LDiversityResult{} -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 3} -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Marshal(b, m, deterministic) -} -func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Merge(dst, src) -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.DiscardUnknown(m) +func (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult proto.InternalMessageInfo +func (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { +} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket { +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag { if m != nil { - return m.SensitiveValueFrequencyHistogramBuckets + return m.Tag } return nil } -// The set of columns' values that share the same ldiversity value. -type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct { - // Quasi-identifier values defining the k-anonymity equivalence - // class. The order is always the same as the original request. - QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` - // Size of the k-anonymity equivalence class. - EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"` - // Number of distinct sensitive values in this equivalence class. - NumDistinctSensitiveValues int64 `protobuf:"varint,3,opt,name=num_distinct_sensitive_values,json=numDistinctSensitiveValues,proto3" json:"num_distinct_sensitive_values,omitempty"` - // Estimated frequencies of top sensitive values. - TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType { + if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType); ok { + return x.InfoType + } + return nil } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset() { - *m = AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass{} -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 3, 0} -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Marshal(b, m, deterministic) -} -func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Merge(dst, src) -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.DiscardUnknown(m) +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string { + if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag); ok { + return x.CustomTag + } + return "" } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value { - if m != nil { - return m.QuasiIdsValues +func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *empty.Empty { + if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred); ok { + return x.Inferred } return nil } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64 { - if m != nil { - return m.EquivalenceClassSize +// XXX_OneofFuncs is for the internal use of the proto package. +func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofMarshaler, _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler, _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer, []interface{}{ + (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType)(nil), + (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag)(nil), + (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred)(nil), } - return 0 } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64 { - if m != nil { - return m.NumDistinctSensitiveValues +func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField) + // tag + switch x := m.Tag.(type) { + case *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.InfoType); err != nil { + return err + } + case *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.CustomTag) + case *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Inferred); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("PrivacyMetric_KMapEstimationConfig_TaggedField.Tag has unexpected type %T", x) } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency { - if m != nil { - return m.TopSensitiveValues +func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField) + switch tag { + case 2: // tag.info_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(InfoType) + err := b.DecodeMessage(msg) + m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType{msg} + return true, err + case 3: // tag.custom_tag + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag{x} + return true, err + case 4: // tag.inferred + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(empty.Empty) + err := b.DecodeMessage(msg) + m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred{msg} + return true, err + default: + return false, nil } - return nil } -type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct { - // Lower bound on the sensitive value frequencies of the equivalence - // classes in this bucket. - SensitiveValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=sensitive_value_frequency_lower_bound,json=sensitiveValueFrequencyLowerBound,proto3" json:"sensitive_value_frequency_lower_bound,omitempty"` - // Upper bound on the sensitive value frequencies of the equivalence - // classes in this bucket. - SensitiveValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=sensitive_value_frequency_upper_bound,json=sensitiveValueFrequencyUpperBound,proto3" json:"sensitive_value_frequency_upper_bound,omitempty"` - // Total number of equivalence classes in this bucket. - BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` - // Sample of equivalence classes in this bucket. The total number of - // classes returned per bucket is capped at 20. - BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` - // Total number of distinct equivalence classes in this bucket. - BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` +func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer(msg proto.Message) (n int) { + m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField) + // tag + switch x := m.Tag.(type) { + case *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType: + s := proto.Size(x.InfoType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.CustomTag))) + n += len(x.CustomTag) + case *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred: + s := proto.Size(x.Inferred) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// An auxiliary table contains statistical information on the relative +// frequency of different quasi-identifiers values. It has one or several +// quasi-identifiers columns, and one column that indicates the relative +// frequency of each quasi-identifier tuple. +// If a tuple is present in the data but not in the auxiliary table, the +// corresponding relative frequency is assumed to be zero (and thus, the +// tuple is highly reidentifiable). +type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct { + // Auxiliary table location. [required] + Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` + // Quasi-identifier columns. [required] + QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` + // The relative frequency column must contain a floating-point number + // between 0 and 1 (inclusive). Null values are assumed to be zero. + // [required] + RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset() { - *m = AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket{} +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset() { + *m = PrivacyMetric_KMapEstimationConfig_AuxiliaryTable{} } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string { +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string { return proto.CompactTextString(m) } -func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 3, 1} +func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage() {} +func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 4, 1} } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Unmarshal(m, b) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Marshal(b, m, deterministic) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Merge(dst, src) +func (dst *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Size(m) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.DiscardUnknown(m) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64 { +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable { if m != nil { - return m.SensitiveValueFrequencyLowerBound + return m.Table } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64 { +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField { if m != nil { - return m.SensitiveValueFrequencyUpperBound + return m.QuasiIds } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64 { +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId { if m != nil { - return m.BucketSize - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass { - if m != nil { - return m.BucketValues + return m.RelativeFrequency } return nil } -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64 { - if m != nil { - return m.BucketValueCount - } - return 0 -} - -// Result of the reidentifiability analysis. Note that these results are an -// estimation, not exact values. -type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct { - // The intervals [min_anonymity, max_anonymity] do not overlap. If a value - // doesn't correspond to any such interval, the associated frequency is - // zero. For example, the following records: - // {min_anonymity: 1, max_anonymity: 1, frequency: 17} - // {min_anonymity: 2, max_anonymity: 3, frequency: 42} - // {min_anonymity: 5, max_anonymity: 10, frequency: 99} - // mean that there are no record with an estimated anonymity of 4, 5, or - // larger than 10. - KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket `protobuf:"bytes,1,rep,name=k_map_estimation_histogram,json=kMapEstimationHistogram,proto3" json:"k_map_estimation_histogram,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// A quasi-identifier column has a custom_tag, used to know which column +// in the data corresponds to which column in the statistical model. +type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct { + Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset() { - *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult{} +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset() { + *m = PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField{} } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string { +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string { return proto.CompactTextString(m) } -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 4} +func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage() {} +func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 4, 1, 0} } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Unmarshal(m, b) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Marshal(b, m, deterministic) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Merge(dst, src) +func (dst *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Size(m) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.DiscardUnknown(m) +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket { +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId { if m != nil { - return m.KMapEstimationHistogram + return m.Field } return nil } -// A tuple of values for the quasi-identifier columns. -type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues struct { - // The quasi-identifier values. - QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` - // The estimated anonymity for these quasi-identifier values. - EstimatedAnonymity int64 `protobuf:"varint,2,opt,name=estimated_anonymity,json=estimatedAnonymity,proto3" json:"estimated_anonymity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string { + if m != nil { + return m.CustomTag + } + return "" } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset() { - *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues{} +// δ-presence metric, used to estimate how likely it is for an attacker to +// figure out that one given individual appears in a de-identified dataset. +// Similarly to the k-map metric, we cannot compute δ-presence exactly without +// knowing the attack dataset, so we use a statistical model instead. +type PrivacyMetric_DeltaPresenceEstimationConfig struct { + // Fields considered to be quasi-identifiers. No two fields can have the + // same tag. [required] + QuasiIds []*QuasiId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` + // ISO 3166-1 alpha-2 region code to use in the statistical modeling. + // Required if no column is tagged with a region-specific InfoType (like + // US_ZIP_5) or a region code. + RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` + // Several auxiliary tables can be used in the analysis. Each custom_tag + // used to tag a quasi-identifiers field must appear in exactly one + // field of one auxiliary table. + AuxiliaryTables []*StatisticalTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string { + +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) Reset() { + *m = PrivacyMetric_DeltaPresenceEstimationConfig{} +} +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) String() string { return proto.CompactTextString(m) } -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 4, 0} +func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage() {} +func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{36, 5} } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Unmarshal(m, b) +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Marshal(b, m, deterministic) +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Merge(dst, src) +func (dst *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Size(m) +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Size() int { + return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.DiscardUnknown(m) +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues proto.InternalMessageInfo +var xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value { +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds() []*QuasiId { if m != nil { - return m.QuasiIdsValues + return m.QuasiIds } return nil } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64 { +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode() string { if m != nil { - return m.EstimatedAnonymity + return m.RegionCode } - return 0 + return "" } -// A KMapEstimationHistogramBucket message with the following values: -// min_anonymity: 3 -// max_anonymity: 5 -// frequency: 42 -// means that there are 42 records whose quasi-identifier values correspond -// to 3, 4 or 5 people in the overlying population. An important particular -// case is when min_anonymity = max_anonymity = 1: the frequency field then -// corresponds to the number of uniquely identifiable records. -type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket struct { - // Always positive. - MinAnonymity int64 `protobuf:"varint,1,opt,name=min_anonymity,json=minAnonymity,proto3" json:"min_anonymity,omitempty"` - // Always greater than or equal to min_anonymity. - MaxAnonymity int64 `protobuf:"varint,2,opt,name=max_anonymity,json=maxAnonymity,proto3" json:"max_anonymity,omitempty"` - // Number of records within these anonymity bounds. - BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` - // Sample of quasi-identifier tuple values in this bucket. The total - // number of classes returned per bucket is capped at 20. - BucketValues []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` - // Total number of distinct quasi-identifier tuple values in this bucket. - BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables() []*StatisticalTable { + if m != nil { + return m.AuxiliaryTables + } + return nil } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset() { - *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket{} -} -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage() { +// Result of a risk analysis operation request. +type AnalyzeDataSourceRiskDetails struct { + // Privacy metric to compute. + RequestedPrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=requested_privacy_metric,json=requestedPrivacyMetric,proto3" json:"requested_privacy_metric,omitempty"` + // Input dataset to compute metrics over. + RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"` + // Values associated with this metric. + // + // Types that are valid to be assigned to Result: + // *AnalyzeDataSourceRiskDetails_NumericalStatsResult_ + // *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ + // *AnalyzeDataSourceRiskDetails_KAnonymityResult_ + // *AnalyzeDataSourceRiskDetails_LDiversityResult_ + // *AnalyzeDataSourceRiskDetails_KMapEstimationResult_ + // *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ + Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 4, 1} + +func (m *AnalyzeDataSourceRiskDetails) Reset() { *m = AnalyzeDataSourceRiskDetails{} } +func (m *AnalyzeDataSourceRiskDetails) String() string { return proto.CompactTextString(m) } +func (*AnalyzeDataSourceRiskDetails) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37} } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Unmarshal(m, b) +func (m *AnalyzeDataSourceRiskDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Unmarshal(m, b) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Marshal(b, m, deterministic) +func (m *AnalyzeDataSourceRiskDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Marshal(b, m, deterministic) } -func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Merge(dst, src) +func (dst *AnalyzeDataSourceRiskDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails.Merge(dst, src) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Size(m) +func (m *AnalyzeDataSourceRiskDetails) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Size(m) } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.DiscardUnknown(m) +func (m *AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails.DiscardUnknown(m) } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket proto.InternalMessageInfo +var xxx_messageInfo_AnalyzeDataSourceRiskDetails proto.InternalMessageInfo -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64 { +func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric { if m != nil { - return m.MinAnonymity + return m.RequestedPrivacyMetric } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64 { +func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable { if m != nil { - return m.MaxAnonymity + return m.RequestedSourceTable } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64 { - if m != nil { - return m.BucketSize - } - return 0 +type isAnalyzeDataSourceRiskDetails_Result interface { + isAnalyzeDataSourceRiskDetails_Result() } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues { - if m != nil { - return m.BucketValues - } - return nil +type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ struct { + NumericalStatsResult *AnalyzeDataSourceRiskDetails_NumericalStatsResult `protobuf:"bytes,3,opt,name=numerical_stats_result,json=numericalStatsResult,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64 { - if m != nil { - return m.BucketValueCount - } - return 0 +type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ struct { + CategoricalStatsResult *AnalyzeDataSourceRiskDetails_CategoricalStatsResult `protobuf:"bytes,4,opt,name=categorical_stats_result,json=categoricalStatsResult,proto3,oneof"` } -// Result of the δ-presence computation. Note that these results are an -// estimation, not exact values. -type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct { - // The intervals [min_probability, max_probability) do not overlap. If a - // value doesn't correspond to any such interval, the associated frequency - // is zero. For example, the following records: - // {min_probability: 0, max_probability: 0.1, frequency: 17} - // {min_probability: 0.2, max_probability: 0.3, frequency: 42} - // {min_probability: 0.3, max_probability: 0.4, frequency: 99} - // mean that there are no record with an estimated probability in [0.1, 0.2) - // nor larger or equal to 0.4. - DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket `protobuf:"bytes,1,rep,name=delta_presence_estimation_histogram,json=deltaPresenceEstimationHistogram,proto3" json:"delta_presence_estimation_histogram,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type AnalyzeDataSourceRiskDetails_KAnonymityResult_ struct { + KAnonymityResult *AnalyzeDataSourceRiskDetails_KAnonymityResult `protobuf:"bytes,5,opt,name=k_anonymity_result,json=kAnonymityResult,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset() { - *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult{} -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 5} -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Marshal(b, m, deterministic) -} -func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Merge(dst, src) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.DiscardUnknown(m) +type AnalyzeDataSourceRiskDetails_LDiversityResult_ struct { + LDiversityResult *AnalyzeDataSourceRiskDetails_LDiversityResult `protobuf:"bytes,6,opt,name=l_diversity_result,json=lDiversityResult,proto3,oneof"` } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket { - if m != nil { - return m.DeltaPresenceEstimationHistogram - } - return nil +type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ struct { + KMapEstimationResult *AnalyzeDataSourceRiskDetails_KMapEstimationResult `protobuf:"bytes,7,opt,name=k_map_estimation_result,json=kMapEstimationResult,proto3,oneof"` } -// A tuple of values for the quasi-identifier columns. -type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues struct { - // The quasi-identifier values. - QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` - // The estimated probability that a given individual sharing these - // quasi-identifier values is in the dataset. This value, typically called - // δ, is the ratio between the number of records in the dataset with these - // quasi-identifier values, and the total number of individuals (inside - // *and* outside the dataset) with these quasi-identifier values. - // For example, if there are 15 individuals in the dataset who share the - // same quasi-identifier values, and an estimated 100 people in the entire - // population with these values, then δ is 0.15. - EstimatedProbability float64 `protobuf:"fixed64,2,opt,name=estimated_probability,json=estimatedProbability,proto3" json:"estimated_probability,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ struct { + DeltaPresenceEstimationResult *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult `protobuf:"bytes,9,opt,name=delta_presence_estimation_result,json=deltaPresenceEstimationResult,proto3,oneof"` } -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset() { - *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues{} -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage() { -} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 5, 0} -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Marshal(b, m, deterministic) -} -func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Merge(dst, src) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.DiscardUnknown(m) -} +func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_) isAnalyzeDataSourceRiskDetails_Result() {} -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues proto.InternalMessageInfo +func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value { - if m != nil { - return m.QuasiIdsValues - } - return nil -} +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64 { - if m != nil { - return m.EstimatedProbability - } - return 0 -} +func (*AnalyzeDataSourceRiskDetails_LDiversityResult_) isAnalyzeDataSourceRiskDetails_Result() {} -// A DeltaPresenceEstimationHistogramBucket message with the following -// values: -// min_probability: 0.1 -// max_probability: 0.2 -// frequency: 42 -// means that there are 42 records for which δ is in [0.1, 0.2). An -// important particular case is when min_probability = max_probability = 1: -// then, every individual who shares this quasi-identifier combination is in -// the dataset. -type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket struct { - // Between 0 and 1. - MinProbability float64 `protobuf:"fixed64,1,opt,name=min_probability,json=minProbability,proto3" json:"min_probability,omitempty"` - // Always greater than or equal to min_probability. - MaxProbability float64 `protobuf:"fixed64,2,opt,name=max_probability,json=maxProbability,proto3" json:"max_probability,omitempty"` - // Number of records within these probability bounds. - BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` - // Sample of quasi-identifier tuple values in this bucket. The total - // number of classes returned per bucket is capped at 20. - BucketValues []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` - // Total number of distinct quasi-identifier tuple values in this bucket. - BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_) isAnalyzeDataSourceRiskDetails_Result() {} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset() { - *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket{} -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage() { -} -func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{33, 5, 1} -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Marshal(b, m, deterministic) -} -func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Merge(dst, src) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.DiscardUnknown(m) +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_) isAnalyzeDataSourceRiskDetails_Result() { } -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64 { +func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result { if m != nil { - return m.MinProbability + return m.Result } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64 { - if m != nil { - return m.MaxProbability +func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult { + if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_NumericalStatsResult_); ok { + return x.NumericalStatsResult } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64 { - if m != nil { - return m.BucketSize +func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult { + if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_); ok { + return x.CategoricalStatsResult } - return 0 + return nil } -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues { - if m != nil { - return m.BucketValues +func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult { + if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KAnonymityResult_); ok { + return x.KAnonymityResult } return nil } -func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64 { - if m != nil { - return m.BucketValueCount +func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult { + if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_LDiversityResult_); ok { + return x.LDiversityResult } - return 0 -} - -// A value of a field, including its frequency. -type ValueFrequency struct { - // A value contained in the field in question. - Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // How many times the value is contained in the field. - Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValueFrequency) Reset() { *m = ValueFrequency{} } -func (m *ValueFrequency) String() string { return proto.CompactTextString(m) } -func (*ValueFrequency) ProtoMessage() {} -func (*ValueFrequency) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{34} -} -func (m *ValueFrequency) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValueFrequency.Unmarshal(m, b) -} -func (m *ValueFrequency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValueFrequency.Marshal(b, m, deterministic) -} -func (dst *ValueFrequency) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValueFrequency.Merge(dst, src) -} -func (m *ValueFrequency) XXX_Size() int { - return xxx_messageInfo_ValueFrequency.Size(m) -} -func (m *ValueFrequency) XXX_DiscardUnknown() { - xxx_messageInfo_ValueFrequency.DiscardUnknown(m) + return nil } -var xxx_messageInfo_ValueFrequency proto.InternalMessageInfo - -func (m *ValueFrequency) GetValue() *Value { - if m != nil { - return m.Value +func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult { + if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KMapEstimationResult_); ok { + return x.KMapEstimationResult } return nil } -func (m *ValueFrequency) GetCount() int64 { - if m != nil { - return m.Count +func (m *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult { + if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_); ok { + return x.DeltaPresenceEstimationResult } - return 0 -} - -// Set of primitive values supported by the system. -// Note that for the purposes of inspection or transformation, the number -// of bytes considered to comprise a 'Value' is based on its representation -// as a UTF-8 encoded string. For example, if 'integer_value' is set to -// 123456789, the number of bytes would be counted as 9, even though an -// int64 only holds up to 8 bytes of data. -type Value struct { - // Types that are valid to be assigned to Type: - // *Value_IntegerValue - // *Value_FloatValue - // *Value_StringValue - // *Value_BooleanValue - // *Value_TimestampValue - // *Value_TimeValue - // *Value_DateValue - // *Value_DayOfWeekValue - Type isValue_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Value) Reset() { *m = Value{} } -func (m *Value) String() string { return proto.CompactTextString(m) } -func (*Value) ProtoMessage() {} -func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{35} -} -func (m *Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Value.Unmarshal(m, b) -} -func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Value.Marshal(b, m, deterministic) -} -func (dst *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(dst, src) -} -func (m *Value) XXX_Size() int { - return xxx_messageInfo_Value.Size(m) -} -func (m *Value) XXX_DiscardUnknown() { - xxx_messageInfo_Value.DiscardUnknown(m) -} - -var xxx_messageInfo_Value proto.InternalMessageInfo - -type isValue_Type interface { - isValue_Type() -} - -type Value_IntegerValue struct { - IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,proto3,oneof"` -} -type Value_FloatValue struct { - FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"` -} -type Value_StringValue struct { - StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` -} -type Value_BooleanValue struct { - BooleanValue bool `protobuf:"varint,4,opt,name=boolean_value,json=booleanValue,proto3,oneof"` -} -type Value_TimestampValue struct { - TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` -} -type Value_TimeValue struct { - TimeValue *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=time_value,json=timeValue,proto3,oneof"` -} -type Value_DateValue struct { - DateValue *date.Date `protobuf:"bytes,7,opt,name=date_value,json=dateValue,proto3,oneof"` -} -type Value_DayOfWeekValue struct { - DayOfWeekValue dayofweek.DayOfWeek `protobuf:"varint,8,opt,name=day_of_week_value,json=dayOfWeekValue,proto3,enum=google.type.DayOfWeek,oneof"` -} - -func (*Value_IntegerValue) isValue_Type() {} -func (*Value_FloatValue) isValue_Type() {} -func (*Value_StringValue) isValue_Type() {} -func (*Value_BooleanValue) isValue_Type() {} -func (*Value_TimestampValue) isValue_Type() {} -func (*Value_TimeValue) isValue_Type() {} -func (*Value_DateValue) isValue_Type() {} -func (*Value_DayOfWeekValue) isValue_Type() {} - -func (m *Value) GetType() isValue_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *Value) GetIntegerValue() int64 { - if x, ok := m.GetType().(*Value_IntegerValue); ok { - return x.IntegerValue - } - return 0 -} - -func (m *Value) GetFloatValue() float64 { - if x, ok := m.GetType().(*Value_FloatValue); ok { - return x.FloatValue - } - return 0 -} - -func (m *Value) GetStringValue() string { - if x, ok := m.GetType().(*Value_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *Value) GetBooleanValue() bool { - if x, ok := m.GetType().(*Value_BooleanValue); ok { - return x.BooleanValue - } - return false -} - -func (m *Value) GetTimestampValue() *timestamp.Timestamp { - if x, ok := m.GetType().(*Value_TimestampValue); ok { - return x.TimestampValue - } - return nil -} - -func (m *Value) GetTimeValue() *timeofday.TimeOfDay { - if x, ok := m.GetType().(*Value_TimeValue); ok { - return x.TimeValue - } - return nil -} - -func (m *Value) GetDateValue() *date.Date { - if x, ok := m.GetType().(*Value_DateValue); ok { - return x.DateValue - } - return nil -} - -func (m *Value) GetDayOfWeekValue() dayofweek.DayOfWeek { - if x, ok := m.GetType().(*Value_DayOfWeekValue); ok { - return x.DayOfWeekValue - } - return dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED + return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{ - (*Value_IntegerValue)(nil), - (*Value_FloatValue)(nil), - (*Value_StringValue)(nil), - (*Value_BooleanValue)(nil), - (*Value_TimestampValue)(nil), - (*Value_TimeValue)(nil), - (*Value_DateValue)(nil), - (*Value_DayOfWeekValue)(nil), +func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _AnalyzeDataSourceRiskDetails_OneofMarshaler, _AnalyzeDataSourceRiskDetails_OneofUnmarshaler, _AnalyzeDataSourceRiskDetails_OneofSizer, []interface{}{ + (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_)(nil), + (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_)(nil), + (*AnalyzeDataSourceRiskDetails_KAnonymityResult_)(nil), + (*AnalyzeDataSourceRiskDetails_LDiversityResult_)(nil), + (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_)(nil), + (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_)(nil), } } -func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Value) - // type - switch x := m.Type.(type) { - case *Value_IntegerValue: - b.EncodeVarint(1<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.IntegerValue)) - case *Value_FloatValue: - b.EncodeVarint(2<<3 | proto.WireFixed64) - b.EncodeFixed64(math.Float64bits(x.FloatValue)) - case *Value_StringValue: +func _AnalyzeDataSourceRiskDetails_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*AnalyzeDataSourceRiskDetails) + // result + switch x := m.Result.(type) { + case *AnalyzeDataSourceRiskDetails_NumericalStatsResult_: b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.StringValue) - case *Value_BooleanValue: - t := uint64(0) - if x.BooleanValue { - t = 1 + if err := b.EncodeMessage(x.NumericalStatsResult); err != nil { + return err } - b.EncodeVarint(4<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *Value_TimestampValue: + case *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CategoricalStatsResult); err != nil { + return err + } + case *AnalyzeDataSourceRiskDetails_KAnonymityResult_: b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TimestampValue); err != nil { + if err := b.EncodeMessage(x.KAnonymityResult); err != nil { return err } - case *Value_TimeValue: + case *AnalyzeDataSourceRiskDetails_LDiversityResult_: b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TimeValue); err != nil { + if err := b.EncodeMessage(x.LDiversityResult); err != nil { return err } - case *Value_DateValue: + case *AnalyzeDataSourceRiskDetails_KMapEstimationResult_: b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DateValue); err != nil { + if err := b.EncodeMessage(x.KMapEstimationResult); err != nil { + return err + } + case *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DeltaPresenceEstimationResult); err != nil { return err } - case *Value_DayOfWeekValue: - b.EncodeVarint(8<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.DayOfWeekValue)) case nil: default: - return fmt.Errorf("Value.Type has unexpected type %T", x) + return fmt.Errorf("AnalyzeDataSourceRiskDetails.Result has unexpected type %T", x) } return nil } -func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Value) +func _AnalyzeDataSourceRiskDetails_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*AnalyzeDataSourceRiskDetails) switch tag { - case 1: // type.integer_value - if wire != proto.WireVarint { + case 3: // result.numerical_stats_result + if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - x, err := b.DecodeVarint() - m.Type = &Value_IntegerValue{int64(x)} + msg := new(AnalyzeDataSourceRiskDetails_NumericalStatsResult) + err := b.DecodeMessage(msg) + m.Result = &AnalyzeDataSourceRiskDetails_NumericalStatsResult_{msg} return true, err - case 2: // type.float_value - if wire != proto.WireFixed64 { + case 4: // result.categorical_stats_result + if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - x, err := b.DecodeFixed64() - m.Type = &Value_FloatValue{math.Float64frombits(x)} + msg := new(AnalyzeDataSourceRiskDetails_CategoricalStatsResult) + err := b.DecodeMessage(msg) + m.Result = &AnalyzeDataSourceRiskDetails_CategoricalStatsResult_{msg} return true, err - case 3: // type.string_value + case 5: // result.k_anonymity_result if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - x, err := b.DecodeStringBytes() - m.Type = &Value_StringValue{x} + msg := new(AnalyzeDataSourceRiskDetails_KAnonymityResult) + err := b.DecodeMessage(msg) + m.Result = &AnalyzeDataSourceRiskDetails_KAnonymityResult_{msg} return true, err - case 4: // type.boolean_value - if wire != proto.WireVarint { + case 6: // result.l_diversity_result + if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - x, err := b.DecodeVarint() - m.Type = &Value_BooleanValue{x != 0} + msg := new(AnalyzeDataSourceRiskDetails_LDiversityResult) + err := b.DecodeMessage(msg) + m.Result = &AnalyzeDataSourceRiskDetails_LDiversityResult_{msg} return true, err - case 5: // type.timestamp_value + case 7: // result.k_map_estimation_result if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(timestamp.Timestamp) + msg := new(AnalyzeDataSourceRiskDetails_KMapEstimationResult) err := b.DecodeMessage(msg) - m.Type = &Value_TimestampValue{msg} + m.Result = &AnalyzeDataSourceRiskDetails_KMapEstimationResult_{msg} return true, err - case 6: // type.time_value + case 9: // result.delta_presence_estimation_result if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(timeofday.TimeOfDay) + msg := new(AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) err := b.DecodeMessage(msg) - m.Type = &Value_TimeValue{msg} - return true, err - case 7: // type.date_value - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(date.Date) - err := b.DecodeMessage(msg) - m.Type = &Value_DateValue{msg} - return true, err - case 8: // type.day_of_week_value - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Type = &Value_DayOfWeekValue{dayofweek.DayOfWeek(x)} + m.Result = &AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_{msg} return true, err default: return false, nil } } -func _Value_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Value) - // type - switch x := m.Type.(type) { - case *Value_IntegerValue: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.IntegerValue)) - case *Value_FloatValue: - n += 1 // tag and wire - n += 8 - case *Value_StringValue: +func _AnalyzeDataSourceRiskDetails_OneofSizer(msg proto.Message) (n int) { + m := msg.(*AnalyzeDataSourceRiskDetails) + // result + switch x := m.Result.(type) { + case *AnalyzeDataSourceRiskDetails_NumericalStatsResult_: + s := proto.Size(x.NumericalStatsResult) n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.StringValue))) - n += len(x.StringValue) - case *Value_BooleanValue: + n += proto.SizeVarint(uint64(s)) + n += s + case *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_: + s := proto.Size(x.CategoricalStatsResult) n += 1 // tag and wire - n += 1 - case *Value_TimestampValue: - s := proto.Size(x.TimestampValue) + n += proto.SizeVarint(uint64(s)) + n += s + case *AnalyzeDataSourceRiskDetails_KAnonymityResult_: + s := proto.Size(x.KAnonymityResult) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *Value_TimeValue: - s := proto.Size(x.TimeValue) + case *AnalyzeDataSourceRiskDetails_LDiversityResult_: + s := proto.Size(x.LDiversityResult) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *Value_DateValue: - s := proto.Size(x.DateValue) + case *AnalyzeDataSourceRiskDetails_KMapEstimationResult_: + s := proto.Size(x.KMapEstimationResult) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *Value_DayOfWeekValue: + case *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_: + s := proto.Size(x.DeltaPresenceEstimationResult) n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.DayOfWeekValue)) + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -5888,752 +5143,3139 @@ func _Value_OneofSizer(msg proto.Message) (n int) { return n } -// Message for infoType-dependent details parsed from quote. -type QuoteInfo struct { - // Object representation of the quote. - // - // Types that are valid to be assigned to ParsedQuote: - // *QuoteInfo_DateTime - ParsedQuote isQuoteInfo_ParsedQuote `protobuf_oneof:"parsed_quote"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Result of the numerical stats computation. +type AnalyzeDataSourceRiskDetails_NumericalStatsResult struct { + // Minimum value appearing in the column. + MinValue *Value `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` + // Maximum value appearing in the column. + MaxValue *Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` + // List of 99 values that partition the set of field values into 100 equal + // sized buckets. + QuantileValues []*Value `protobuf:"bytes,4,rep,name=quantile_values,json=quantileValues,proto3" json:"quantile_values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *QuoteInfo) Reset() { *m = QuoteInfo{} } -func (m *QuoteInfo) String() string { return proto.CompactTextString(m) } -func (*QuoteInfo) ProtoMessage() {} -func (*QuoteInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{36} +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset() { + *m = AnalyzeDataSourceRiskDetails_NumericalStatsResult{} } -func (m *QuoteInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuoteInfo.Unmarshal(m, b) +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string { + return proto.CompactTextString(m) } -func (m *QuoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuoteInfo.Marshal(b, m, deterministic) +func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 0} } -func (dst *QuoteInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuoteInfo.Merge(dst, src) +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Unmarshal(m, b) } -func (m *QuoteInfo) XXX_Size() int { - return xxx_messageInfo_QuoteInfo.Size(m) +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Marshal(b, m, deterministic) } -func (m *QuoteInfo) XXX_DiscardUnknown() { - xxx_messageInfo_QuoteInfo.DiscardUnknown(m) +func (dst *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Merge(dst, src) } - -var xxx_messageInfo_QuoteInfo proto.InternalMessageInfo - -type isQuoteInfo_ParsedQuote interface { - isQuoteInfo_ParsedQuote() +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Size(m) } - -type QuoteInfo_DateTime struct { - DateTime *DateTime `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.DiscardUnknown(m) } -func (*QuoteInfo_DateTime) isQuoteInfo_ParsedQuote() {} +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult proto.InternalMessageInfo -func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote { +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value { if m != nil { - return m.ParsedQuote + return m.MinValue } return nil } -func (m *QuoteInfo) GetDateTime() *DateTime { - if x, ok := m.GetParsedQuote().(*QuoteInfo_DateTime); ok { - return x.DateTime +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value { + if m != nil { + return m.MaxValue } return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*QuoteInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _QuoteInfo_OneofMarshaler, _QuoteInfo_OneofUnmarshaler, _QuoteInfo_OneofSizer, []interface{}{ - (*QuoteInfo_DateTime)(nil), - } -} - -func _QuoteInfo_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*QuoteInfo) - // parsed_quote - switch x := m.ParsedQuote.(type) { - case *QuoteInfo_DateTime: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DateTime); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("QuoteInfo.ParsedQuote has unexpected type %T", x) +func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value { + if m != nil { + return m.QuantileValues } return nil } -func _QuoteInfo_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*QuoteInfo) - switch tag { - case 2: // parsed_quote.date_time - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(DateTime) - err := b.DecodeMessage(msg) - m.ParsedQuote = &QuoteInfo_DateTime{msg} - return true, err - default: - return false, nil - } -} - -func _QuoteInfo_OneofSizer(msg proto.Message) (n int) { - m := msg.(*QuoteInfo) - // parsed_quote - switch x := m.ParsedQuote.(type) { - case *QuoteInfo_DateTime: - s := proto.Size(x.DateTime) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n +// Result of the categorical stats computation. +type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct { + // Histogram of value frequencies in the column. + ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `protobuf:"bytes,5,rep,name=value_frequency_histogram_buckets,json=valueFrequencyHistogramBuckets,proto3" json:"value_frequency_histogram_buckets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Message for a date time object. -type DateTime struct { - // One or more of the following must be set. All fields are optional, but - // when set must be valid date or time values. - Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` - DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` - Time *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` - TimeZone *DateTime_TimeZone `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset() { + *m = AnalyzeDataSourceRiskDetails_CategoricalStatsResult{} } - -func (m *DateTime) Reset() { *m = DateTime{} } -func (m *DateTime) String() string { return proto.CompactTextString(m) } -func (*DateTime) ProtoMessage() {} -func (*DateTime) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{37} +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string { + return proto.CompactTextString(m) } -func (m *DateTime) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateTime.Unmarshal(m, b) +func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 1} } -func (m *DateTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateTime.Marshal(b, m, deterministic) +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Unmarshal(m, b) } -func (dst *DateTime) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateTime.Merge(dst, src) +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Marshal(b, m, deterministic) } -func (m *DateTime) XXX_Size() int { - return xxx_messageInfo_DateTime.Size(m) +func (dst *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Merge(dst, src) } -func (m *DateTime) XXX_DiscardUnknown() { - xxx_messageInfo_DateTime.DiscardUnknown(m) +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Size(m) } - -var xxx_messageInfo_DateTime proto.InternalMessageInfo - -func (m *DateTime) GetDate() *date.Date { - if m != nil { - return m.Date - } - return nil +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.DiscardUnknown(m) } -func (m *DateTime) GetDayOfWeek() dayofweek.DayOfWeek { - if m != nil { - return m.DayOfWeek - } - return dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED -} +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult proto.InternalMessageInfo -func (m *DateTime) GetTime() *timeofday.TimeOfDay { +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket { if m != nil { - return m.Time + return m.ValueFrequencyHistogramBuckets } return nil } -func (m *DateTime) GetTimeZone() *DateTime_TimeZone { - if m != nil { - return m.TimeZone - } - return nil -} - -type DateTime_TimeZone struct { - // Set only if the offset can be determined. Positive for time ahead of UTC. - // E.g. For "UTC-9", this value is -540. - OffsetMinutes int32 `protobuf:"varint,1,opt,name=offset_minutes,json=offsetMinutes,proto3" json:"offset_minutes,omitempty"` +type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct { + // Lower bound on the value frequency of the values in this bucket. + ValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=value_frequency_lower_bound,json=valueFrequencyLowerBound,proto3" json:"value_frequency_lower_bound,omitempty"` + // Upper bound on the value frequency of the values in this bucket. + ValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=value_frequency_upper_bound,json=valueFrequencyUpperBound,proto3" json:"value_frequency_upper_bound,omitempty"` + // Total number of values in this bucket. + BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` + // Sample of value frequencies in this bucket. The total number of + // values returned per bucket is capped at 20. + BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` + // Total number of distinct values in this bucket. + BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DateTime_TimeZone) Reset() { *m = DateTime_TimeZone{} } -func (m *DateTime_TimeZone) String() string { return proto.CompactTextString(m) } -func (*DateTime_TimeZone) ProtoMessage() {} -func (*DateTime_TimeZone) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{37, 0} +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset() { + *m = AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket{} } -func (m *DateTime_TimeZone) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateTime_TimeZone.Unmarshal(m, b) +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string { + return proto.CompactTextString(m) } -func (m *DateTime_TimeZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateTime_TimeZone.Marshal(b, m, deterministic) +func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage() { } -func (dst *DateTime_TimeZone) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateTime_TimeZone.Merge(dst, src) +func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 1, 0} } -func (m *DateTime_TimeZone) XXX_Size() int { - return xxx_messageInfo_DateTime_TimeZone.Size(m) +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Unmarshal(m, b) } -func (m *DateTime_TimeZone) XXX_DiscardUnknown() { - xxx_messageInfo_DateTime_TimeZone.DiscardUnknown(m) +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.DiscardUnknown(m) } -var xxx_messageInfo_DateTime_TimeZone proto.InternalMessageInfo +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket proto.InternalMessageInfo -func (m *DateTime_TimeZone) GetOffsetMinutes() int32 { +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64 { if m != nil { - return m.OffsetMinutes + return m.ValueFrequencyLowerBound } return 0 } -// The configuration that controls how the data will change. -type DeidentifyConfig struct { - // Types that are valid to be assigned to Transformation: - // *DeidentifyConfig_InfoTypeTransformations - // *DeidentifyConfig_RecordTransformations - Transformation isDeidentifyConfig_Transformation `protobuf_oneof:"transformation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64 { + if m != nil { + return m.ValueFrequencyUpperBound + } + return 0 } -func (m *DeidentifyConfig) Reset() { *m = DeidentifyConfig{} } -func (m *DeidentifyConfig) String() string { return proto.CompactTextString(m) } -func (*DeidentifyConfig) ProtoMessage() {} -func (*DeidentifyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{38} +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64 { + if m != nil { + return m.BucketSize + } + return 0 } -func (m *DeidentifyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyConfig.Unmarshal(m, b) + +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency { + if m != nil { + return m.BucketValues + } + return nil } -func (m *DeidentifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyConfig.Marshal(b, m, deterministic) + +func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64 { + if m != nil { + return m.BucketValueCount + } + return 0 } -func (dst *DeidentifyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyConfig.Merge(dst, src) + +// Result of the k-anonymity computation. +type AnalyzeDataSourceRiskDetails_KAnonymityResult struct { + // Histogram of k-anonymity equivalence classes. + EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `protobuf:"bytes,5,rep,name=equivalence_class_histogram_buckets,json=equivalenceClassHistogramBuckets,proto3" json:"equivalence_class_histogram_buckets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeidentifyConfig) XXX_Size() int { - return xxx_messageInfo_DeidentifyConfig.Size(m) + +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset() { + *m = AnalyzeDataSourceRiskDetails_KAnonymityResult{} } -func (m *DeidentifyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DeidentifyConfig.DiscardUnknown(m) +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string { + return proto.CompactTextString(m) } - -var xxx_messageInfo_DeidentifyConfig proto.InternalMessageInfo - -type isDeidentifyConfig_Transformation interface { - isDeidentifyConfig_Transformation() +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 2} } - -type DeidentifyConfig_InfoTypeTransformations struct { - InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,1,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Unmarshal(m, b) } -type DeidentifyConfig_RecordTransformations struct { - RecordTransformations *RecordTransformations `protobuf:"bytes,2,opt,name=record_transformations,json=recordTransformations,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.DiscardUnknown(m) } -func (*DeidentifyConfig_InfoTypeTransformations) isDeidentifyConfig_Transformation() {} -func (*DeidentifyConfig_RecordTransformations) isDeidentifyConfig_Transformation() {} +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult proto.InternalMessageInfo -func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation { +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket { if m != nil { - return m.Transformation + return m.EquivalenceClassHistogramBuckets } return nil } -func (m *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations { - if x, ok := m.GetTransformation().(*DeidentifyConfig_InfoTypeTransformations); ok { - return x.InfoTypeTransformations - } - return nil +// The set of columns' values that share the same ldiversity value +type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass struct { + // Set of values defining the equivalence class. One value per + // quasi-identifier column in the original KAnonymity metric message. + // The order is always the same as the original request. + QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` + // Size of the equivalence class, for example number of rows with the + // above set of values. + EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeidentifyConfig) GetRecordTransformations() *RecordTransformations { - if x, ok := m.GetTransformation().(*DeidentifyConfig_RecordTransformations); ok { - return x.RecordTransformations - } - return nil +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset() { + *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass{} } - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*DeidentifyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _DeidentifyConfig_OneofMarshaler, _DeidentifyConfig_OneofUnmarshaler, _DeidentifyConfig_OneofSizer, []interface{}{ - (*DeidentifyConfig_InfoTypeTransformations)(nil), - (*DeidentifyConfig_RecordTransformations)(nil), - } +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 2, 0} +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.DiscardUnknown(m) } -func _DeidentifyConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*DeidentifyConfig) - // transformation - switch x := m.Transformation.(type) { - case *DeidentifyConfig_InfoTypeTransformations: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InfoTypeTransformations); err != nil { - return err - } - case *DeidentifyConfig_RecordTransformations: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RecordTransformations); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("DeidentifyConfig.Transformation has unexpected type %T", x) +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value { + if m != nil { + return m.QuasiIdsValues } return nil } -func _DeidentifyConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*DeidentifyConfig) - switch tag { - case 1: // transformation.info_type_transformations - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(InfoTypeTransformations) - err := b.DecodeMessage(msg) - m.Transformation = &DeidentifyConfig_InfoTypeTransformations{msg} - return true, err - case 2: // transformation.record_transformations - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(RecordTransformations) - err := b.DecodeMessage(msg) - m.Transformation = &DeidentifyConfig_RecordTransformations{msg} - return true, err - default: - return false, nil +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64 { + if m != nil { + return m.EquivalenceClassSize } + return 0 } -func _DeidentifyConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*DeidentifyConfig) - // transformation - switch x := m.Transformation.(type) { - case *DeidentifyConfig_InfoTypeTransformations: - s := proto.Size(x.InfoTypeTransformations) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *DeidentifyConfig_RecordTransformations: - s := proto.Size(x.RecordTransformations) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n +type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct { + // Lower bound on the size of the equivalence classes in this bucket. + EquivalenceClassSizeLowerBound int64 `protobuf:"varint,1,opt,name=equivalence_class_size_lower_bound,json=equivalenceClassSizeLowerBound,proto3" json:"equivalence_class_size_lower_bound,omitempty"` + // Upper bound on the size of the equivalence classes in this bucket. + EquivalenceClassSizeUpperBound int64 `protobuf:"varint,2,opt,name=equivalence_class_size_upper_bound,json=equivalenceClassSizeUpperBound,proto3" json:"equivalence_class_size_upper_bound,omitempty"` + // Total number of equivalence classes in this bucket. + BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` + // Sample of equivalence classes in this bucket. The total number of + // classes returned per bucket is capped at 20. + BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` + // Total number of distinct equivalence classes in this bucket. + BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// A rule for transforming a value. -type PrimitiveTransformation struct { - // Types that are valid to be assigned to Transformation: - // *PrimitiveTransformation_ReplaceConfig - // *PrimitiveTransformation_RedactConfig - // *PrimitiveTransformation_CharacterMaskConfig - // *PrimitiveTransformation_CryptoReplaceFfxFpeConfig - // *PrimitiveTransformation_FixedSizeBucketingConfig - // *PrimitiveTransformation_BucketingConfig - // *PrimitiveTransformation_ReplaceWithInfoTypeConfig - // *PrimitiveTransformation_TimePartConfig - // *PrimitiveTransformation_CryptoHashConfig - // *PrimitiveTransformation_DateShiftConfig - Transformation isPrimitiveTransformation_Transformation `protobuf_oneof:"transformation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset() { + *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket{} } - -func (m *PrimitiveTransformation) Reset() { *m = PrimitiveTransformation{} } -func (m *PrimitiveTransformation) String() string { return proto.CompactTextString(m) } -func (*PrimitiveTransformation) ProtoMessage() {} -func (*PrimitiveTransformation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{39} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string { + return proto.CompactTextString(m) } -func (m *PrimitiveTransformation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrimitiveTransformation.Unmarshal(m, b) +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 2, 1} } -func (m *PrimitiveTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrimitiveTransformation.Marshal(b, m, deterministic) +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Unmarshal(m, b) } -func (dst *PrimitiveTransformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrimitiveTransformation.Merge(dst, src) +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Marshal(b, m, deterministic) } -func (m *PrimitiveTransformation) XXX_Size() int { - return xxx_messageInfo_PrimitiveTransformation.Size(m) +func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Merge(dst, src) } -func (m *PrimitiveTransformation) XXX_DiscardUnknown() { - xxx_messageInfo_PrimitiveTransformation.DiscardUnknown(m) +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.DiscardUnknown(m) } -var xxx_messageInfo_PrimitiveTransformation proto.InternalMessageInfo +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket proto.InternalMessageInfo -type isPrimitiveTransformation_Transformation interface { - isPrimitiveTransformation_Transformation() +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64 { + if m != nil { + return m.EquivalenceClassSizeLowerBound + } + return 0 } -type PrimitiveTransformation_ReplaceConfig struct { - ReplaceConfig *ReplaceValueConfig `protobuf:"bytes,1,opt,name=replace_config,json=replaceConfig,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64 { + if m != nil { + return m.EquivalenceClassSizeUpperBound + } + return 0 } -type PrimitiveTransformation_RedactConfig struct { - RedactConfig *RedactConfig `protobuf:"bytes,2,opt,name=redact_config,json=redactConfig,proto3,oneof"` + +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64 { + if m != nil { + return m.BucketSize + } + return 0 } -type PrimitiveTransformation_CharacterMaskConfig struct { - CharacterMaskConfig *CharacterMaskConfig `protobuf:"bytes,3,opt,name=character_mask_config,json=characterMaskConfig,proto3,oneof"` + +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass { + if m != nil { + return m.BucketValues + } + return nil } -type PrimitiveTransformation_CryptoReplaceFfxFpeConfig struct { - CryptoReplaceFfxFpeConfig *CryptoReplaceFfxFpeConfig `protobuf:"bytes,4,opt,name=crypto_replace_ffx_fpe_config,json=cryptoReplaceFfxFpeConfig,proto3,oneof"` + +func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64 { + if m != nil { + return m.BucketValueCount + } + return 0 } -type PrimitiveTransformation_FixedSizeBucketingConfig struct { - FixedSizeBucketingConfig *FixedSizeBucketingConfig `protobuf:"bytes,5,opt,name=fixed_size_bucketing_config,json=fixedSizeBucketingConfig,proto3,oneof"` + +// Result of the l-diversity computation. +type AnalyzeDataSourceRiskDetails_LDiversityResult struct { + // Histogram of l-diversity equivalence class sensitive value frequencies. + SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `protobuf:"bytes,5,rep,name=sensitive_value_frequency_histogram_buckets,json=sensitiveValueFrequencyHistogramBuckets,proto3" json:"sensitive_value_frequency_histogram_buckets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type PrimitiveTransformation_BucketingConfig struct { - BucketingConfig *BucketingConfig `protobuf:"bytes,6,opt,name=bucketing_config,json=bucketingConfig,proto3,oneof"` + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset() { + *m = AnalyzeDataSourceRiskDetails_LDiversityResult{} } -type PrimitiveTransformation_ReplaceWithInfoTypeConfig struct { - ReplaceWithInfoTypeConfig *ReplaceWithInfoTypeConfig `protobuf:"bytes,7,opt,name=replace_with_info_type_config,json=replaceWithInfoTypeConfig,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string { + return proto.CompactTextString(m) } -type PrimitiveTransformation_TimePartConfig struct { - TimePartConfig *TimePartConfig `protobuf:"bytes,8,opt,name=time_part_config,json=timePartConfig,proto3,oneof"` +func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 3} } -type PrimitiveTransformation_CryptoHashConfig struct { - CryptoHashConfig *CryptoHashConfig `protobuf:"bytes,9,opt,name=crypto_hash_config,json=cryptoHashConfig,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Unmarshal(m, b) } -type PrimitiveTransformation_DateShiftConfig struct { - DateShiftConfig *DateShiftConfig `protobuf:"bytes,11,opt,name=date_shift_config,json=dateShiftConfig,proto3,oneof"` +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.DiscardUnknown(m) } -func (*PrimitiveTransformation_ReplaceConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_RedactConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_CharacterMaskConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_CryptoReplaceFfxFpeConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_FixedSizeBucketingConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_BucketingConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_ReplaceWithInfoTypeConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_TimePartConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_CryptoHashConfig) isPrimitiveTransformation_Transformation() {} -func (*PrimitiveTransformation_DateShiftConfig) isPrimitiveTransformation_Transformation() {} +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult proto.InternalMessageInfo -func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation { +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket { if m != nil { - return m.Transformation + return m.SensitiveValueFrequencyHistogramBuckets } return nil } -func (m *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_ReplaceConfig); ok { - return x.ReplaceConfig - } - return nil +// The set of columns' values that share the same ldiversity value. +type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct { + // Quasi-identifier values defining the k-anonymity equivalence + // class. The order is always the same as the original request. + QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` + // Size of the k-anonymity equivalence class. + EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"` + // Number of distinct sensitive values in this equivalence class. + NumDistinctSensitiveValues int64 `protobuf:"varint,3,opt,name=num_distinct_sensitive_values,json=numDistinctSensitiveValues,proto3" json:"num_distinct_sensitive_values,omitempty"` + // Estimated frequencies of top sensitive values. + TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *PrimitiveTransformation) GetRedactConfig() *RedactConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_RedactConfig); ok { - return x.RedactConfig - } - return nil +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset() { + *m = AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass{} } - -func (m *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_CharacterMaskConfig); ok { - return x.CharacterMaskConfig - } - return nil +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string { + return proto.CompactTextString(m) } - -func (m *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoReplaceFfxFpeConfig); ok { - return x.CryptoReplaceFfxFpeConfig - } - return nil +func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 3, 0} } - -func (m *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_FixedSizeBucketingConfig); ok { - return x.FixedSizeBucketingConfig - } - return nil +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.DiscardUnknown(m) } -func (m *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_BucketingConfig); ok { - return x.BucketingConfig +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value { + if m != nil { + return m.QuasiIdsValues } return nil } -func (m *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_ReplaceWithInfoTypeConfig); ok { - return x.ReplaceWithInfoTypeConfig +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64 { + if m != nil { + return m.EquivalenceClassSize } - return nil + return 0 } -func (m *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_TimePartConfig); ok { - return x.TimePartConfig +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64 { + if m != nil { + return m.NumDistinctSensitiveValues } - return nil + return 0 } -func (m *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoHashConfig); ok { - return x.CryptoHashConfig +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency { + if m != nil { + return m.TopSensitiveValues } return nil } -func (m *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_DateShiftConfig); ok { - return x.DateShiftConfig - } +type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct { + // Lower bound on the sensitive value frequencies of the equivalence + // classes in this bucket. + SensitiveValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=sensitive_value_frequency_lower_bound,json=sensitiveValueFrequencyLowerBound,proto3" json:"sensitive_value_frequency_lower_bound,omitempty"` + // Upper bound on the sensitive value frequencies of the equivalence + // classes in this bucket. + SensitiveValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=sensitive_value_frequency_upper_bound,json=sensitiveValueFrequencyUpperBound,proto3" json:"sensitive_value_frequency_upper_bound,omitempty"` + // Total number of equivalence classes in this bucket. + BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` + // Sample of equivalence classes in this bucket. The total number of + // classes returned per bucket is capped at 20. + BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` + // Total number of distinct equivalence classes in this bucket. + BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset() { + *m = AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket{} +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 3, 1} +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64 { + if m != nil { + return m.SensitiveValueFrequencyLowerBound + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64 { + if m != nil { + return m.SensitiveValueFrequencyUpperBound + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64 { + if m != nil { + return m.BucketSize + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass { + if m != nil { + return m.BucketValues + } + return nil +} + +func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64 { + if m != nil { + return m.BucketValueCount + } + return 0 +} + +// Result of the reidentifiability analysis. Note that these results are an +// estimation, not exact values. +type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct { + // The intervals [min_anonymity, max_anonymity] do not overlap. If a value + // doesn't correspond to any such interval, the associated frequency is + // zero. For example, the following records: + // {min_anonymity: 1, max_anonymity: 1, frequency: 17} + // {min_anonymity: 2, max_anonymity: 3, frequency: 42} + // {min_anonymity: 5, max_anonymity: 10, frequency: 99} + // mean that there are no record with an estimated anonymity of 4, 5, or + // larger than 10. + KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket `protobuf:"bytes,1,rep,name=k_map_estimation_histogram,json=kMapEstimationHistogram,proto3" json:"k_map_estimation_histogram,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset() { + *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult{} +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 4} +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket { + if m != nil { + return m.KMapEstimationHistogram + } + return nil +} + +// A tuple of values for the quasi-identifier columns. +type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues struct { + // The quasi-identifier values. + QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` + // The estimated anonymity for these quasi-identifier values. + EstimatedAnonymity int64 `protobuf:"varint,2,opt,name=estimated_anonymity,json=estimatedAnonymity,proto3" json:"estimated_anonymity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset() { + *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues{} +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 4, 0} +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value { + if m != nil { + return m.QuasiIdsValues + } + return nil +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64 { + if m != nil { + return m.EstimatedAnonymity + } + return 0 +} + +// A KMapEstimationHistogramBucket message with the following values: +// min_anonymity: 3 +// max_anonymity: 5 +// frequency: 42 +// means that there are 42 records whose quasi-identifier values correspond +// to 3, 4 or 5 people in the overlying population. An important particular +// case is when min_anonymity = max_anonymity = 1: the frequency field then +// corresponds to the number of uniquely identifiable records. +type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket struct { + // Always positive. + MinAnonymity int64 `protobuf:"varint,1,opt,name=min_anonymity,json=minAnonymity,proto3" json:"min_anonymity,omitempty"` + // Always greater than or equal to min_anonymity. + MaxAnonymity int64 `protobuf:"varint,2,opt,name=max_anonymity,json=maxAnonymity,proto3" json:"max_anonymity,omitempty"` + // Number of records within these anonymity bounds. + BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` + // Sample of quasi-identifier tuple values in this bucket. The total + // number of classes returned per bucket is capped at 20. + BucketValues []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` + // Total number of distinct quasi-identifier tuple values in this bucket. + BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset() { + *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket{} +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage() { +} +func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 4, 1} +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64 { + if m != nil { + return m.MinAnonymity + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64 { + if m != nil { + return m.MaxAnonymity + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64 { + if m != nil { + return m.BucketSize + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues { + if m != nil { + return m.BucketValues + } + return nil +} + +func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64 { + if m != nil { + return m.BucketValueCount + } + return 0 +} + +// Result of the δ-presence computation. Note that these results are an +// estimation, not exact values. +type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct { + // The intervals [min_probability, max_probability) do not overlap. If a + // value doesn't correspond to any such interval, the associated frequency + // is zero. For example, the following records: + // {min_probability: 0, max_probability: 0.1, frequency: 17} + // {min_probability: 0.2, max_probability: 0.3, frequency: 42} + // {min_probability: 0.3, max_probability: 0.4, frequency: 99} + // mean that there are no record with an estimated probability in [0.1, 0.2) + // nor larger or equal to 0.4. + DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket `protobuf:"bytes,1,rep,name=delta_presence_estimation_histogram,json=deltaPresenceEstimationHistogram,proto3" json:"delta_presence_estimation_histogram,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset() { + *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult{} +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage() {} +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 5} +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket { + if m != nil { + return m.DeltaPresenceEstimationHistogram + } + return nil +} + +// A tuple of values for the quasi-identifier columns. +type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues struct { + // The quasi-identifier values. + QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` + // The estimated probability that a given individual sharing these + // quasi-identifier values is in the dataset. This value, typically called + // δ, is the ratio between the number of records in the dataset with these + // quasi-identifier values, and the total number of individuals (inside + // *and* outside the dataset) with these quasi-identifier values. + // For example, if there are 15 individuals in the dataset who share the + // same quasi-identifier values, and an estimated 100 people in the entire + // population with these values, then δ is 0.15. + EstimatedProbability float64 `protobuf:"fixed64,2,opt,name=estimated_probability,json=estimatedProbability,proto3" json:"estimated_probability,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset() { + *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues{} +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage() { +} +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 5, 0} +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value { + if m != nil { + return m.QuasiIdsValues + } + return nil +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64 { + if m != nil { + return m.EstimatedProbability + } + return 0 +} + +// A DeltaPresenceEstimationHistogramBucket message with the following +// values: +// min_probability: 0.1 +// max_probability: 0.2 +// frequency: 42 +// means that there are 42 records for which δ is in [0.1, 0.2). An +// important particular case is when min_probability = max_probability = 1: +// then, every individual who shares this quasi-identifier combination is in +// the dataset. +type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket struct { + // Between 0 and 1. + MinProbability float64 `protobuf:"fixed64,1,opt,name=min_probability,json=minProbability,proto3" json:"min_probability,omitempty"` + // Always greater than or equal to min_probability. + MaxProbability float64 `protobuf:"fixed64,2,opt,name=max_probability,json=maxProbability,proto3" json:"max_probability,omitempty"` + // Number of records within these probability bounds. + BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` + // Sample of quasi-identifier tuple values in this bucket. The total + // number of classes returned per bucket is capped at 20. + BucketValues []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` + // Total number of distinct quasi-identifier tuple values in this bucket. + BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset() { + *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket{} +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() string { + return proto.CompactTextString(m) +} +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage() { +} +func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{37, 5, 1} +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Unmarshal(m, b) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Marshal(b, m, deterministic) +} +func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Merge(dst, src) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Size() int { + return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Size(m) +} +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_DiscardUnknown() { + xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.DiscardUnknown(m) +} + +var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket proto.InternalMessageInfo + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64 { + if m != nil { + return m.MinProbability + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64 { + if m != nil { + return m.MaxProbability + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64 { + if m != nil { + return m.BucketSize + } + return 0 +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues { + if m != nil { + return m.BucketValues + } + return nil +} + +func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64 { + if m != nil { + return m.BucketValueCount + } + return 0 +} + +// A value of a field, including its frequency. +type ValueFrequency struct { + // A value contained in the field in question. + Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // How many times the value is contained in the field. + Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ValueFrequency) Reset() { *m = ValueFrequency{} } +func (m *ValueFrequency) String() string { return proto.CompactTextString(m) } +func (*ValueFrequency) ProtoMessage() {} +func (*ValueFrequency) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{38} +} +func (m *ValueFrequency) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ValueFrequency.Unmarshal(m, b) +} +func (m *ValueFrequency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ValueFrequency.Marshal(b, m, deterministic) +} +func (dst *ValueFrequency) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValueFrequency.Merge(dst, src) +} +func (m *ValueFrequency) XXX_Size() int { + return xxx_messageInfo_ValueFrequency.Size(m) +} +func (m *ValueFrequency) XXX_DiscardUnknown() { + xxx_messageInfo_ValueFrequency.DiscardUnknown(m) +} + +var xxx_messageInfo_ValueFrequency proto.InternalMessageInfo + +func (m *ValueFrequency) GetValue() *Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *ValueFrequency) GetCount() int64 { + if m != nil { + return m.Count + } + return 0 +} + +// Set of primitive values supported by the system. +// Note that for the purposes of inspection or transformation, the number +// of bytes considered to comprise a 'Value' is based on its representation +// as a UTF-8 encoded string. For example, if 'integer_value' is set to +// 123456789, the number of bytes would be counted as 9, even though an +// int64 only holds up to 8 bytes of data. +type Value struct { + // Types that are valid to be assigned to Type: + // *Value_IntegerValue + // *Value_FloatValue + // *Value_StringValue + // *Value_BooleanValue + // *Value_TimestampValue + // *Value_TimeValue + // *Value_DateValue + // *Value_DayOfWeekValue + Type isValue_Type `protobuf_oneof:"type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Value) Reset() { *m = Value{} } +func (m *Value) String() string { return proto.CompactTextString(m) } +func (*Value) ProtoMessage() {} +func (*Value) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{39} +} +func (m *Value) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Value.Unmarshal(m, b) +} +func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Value.Marshal(b, m, deterministic) +} +func (dst *Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_Value.Merge(dst, src) +} +func (m *Value) XXX_Size() int { + return xxx_messageInfo_Value.Size(m) +} +func (m *Value) XXX_DiscardUnknown() { + xxx_messageInfo_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_Value proto.InternalMessageInfo + +type isValue_Type interface { + isValue_Type() +} + +type Value_IntegerValue struct { + IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,proto3,oneof"` +} + +type Value_FloatValue struct { + FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"` +} + +type Value_StringValue struct { + StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type Value_BooleanValue struct { + BooleanValue bool `protobuf:"varint,4,opt,name=boolean_value,json=booleanValue,proto3,oneof"` +} + +type Value_TimestampValue struct { + TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` +} + +type Value_TimeValue struct { + TimeValue *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=time_value,json=timeValue,proto3,oneof"` +} + +type Value_DateValue struct { + DateValue *date.Date `protobuf:"bytes,7,opt,name=date_value,json=dateValue,proto3,oneof"` +} + +type Value_DayOfWeekValue struct { + DayOfWeekValue dayofweek.DayOfWeek `protobuf:"varint,8,opt,name=day_of_week_value,json=dayOfWeekValue,proto3,enum=google.type.DayOfWeek,oneof"` +} + +func (*Value_IntegerValue) isValue_Type() {} + +func (*Value_FloatValue) isValue_Type() {} + +func (*Value_StringValue) isValue_Type() {} + +func (*Value_BooleanValue) isValue_Type() {} + +func (*Value_TimestampValue) isValue_Type() {} + +func (*Value_TimeValue) isValue_Type() {} + +func (*Value_DateValue) isValue_Type() {} + +func (*Value_DayOfWeekValue) isValue_Type() {} + +func (m *Value) GetType() isValue_Type { + if m != nil { + return m.Type + } + return nil +} + +func (m *Value) GetIntegerValue() int64 { + if x, ok := m.GetType().(*Value_IntegerValue); ok { + return x.IntegerValue + } + return 0 +} + +func (m *Value) GetFloatValue() float64 { + if x, ok := m.GetType().(*Value_FloatValue); ok { + return x.FloatValue + } + return 0 +} + +func (m *Value) GetStringValue() string { + if x, ok := m.GetType().(*Value_StringValue); ok { + return x.StringValue + } + return "" +} + +func (m *Value) GetBooleanValue() bool { + if x, ok := m.GetType().(*Value_BooleanValue); ok { + return x.BooleanValue + } + return false +} + +func (m *Value) GetTimestampValue() *timestamp.Timestamp { + if x, ok := m.GetType().(*Value_TimestampValue); ok { + return x.TimestampValue + } + return nil +} + +func (m *Value) GetTimeValue() *timeofday.TimeOfDay { + if x, ok := m.GetType().(*Value_TimeValue); ok { + return x.TimeValue + } + return nil +} + +func (m *Value) GetDateValue() *date.Date { + if x, ok := m.GetType().(*Value_DateValue); ok { + return x.DateValue + } + return nil +} + +func (m *Value) GetDayOfWeekValue() dayofweek.DayOfWeek { + if x, ok := m.GetType().(*Value_DayOfWeekValue); ok { + return x.DayOfWeekValue + } + return dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{ + (*Value_IntegerValue)(nil), + (*Value_FloatValue)(nil), + (*Value_StringValue)(nil), + (*Value_BooleanValue)(nil), + (*Value_TimestampValue)(nil), + (*Value_TimeValue)(nil), + (*Value_DateValue)(nil), + (*Value_DayOfWeekValue)(nil), + } +} + +func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Value) + // type + switch x := m.Type.(type) { + case *Value_IntegerValue: + b.EncodeVarint(1<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.IntegerValue)) + case *Value_FloatValue: + b.EncodeVarint(2<<3 | proto.WireFixed64) + b.EncodeFixed64(math.Float64bits(x.FloatValue)) + case *Value_StringValue: + b.EncodeVarint(3<<3 | proto.WireBytes) + b.EncodeStringBytes(x.StringValue) + case *Value_BooleanValue: + t := uint64(0) + if x.BooleanValue { + t = 1 + } + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(t) + case *Value_TimestampValue: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TimestampValue); err != nil { + return err + } + case *Value_TimeValue: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TimeValue); err != nil { + return err + } + case *Value_DateValue: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DateValue); err != nil { + return err + } + case *Value_DayOfWeekValue: + b.EncodeVarint(8<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.DayOfWeekValue)) + case nil: + default: + return fmt.Errorf("Value.Type has unexpected type %T", x) + } + return nil +} + +func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Value) + switch tag { + case 1: // type.integer_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Type = &Value_IntegerValue{int64(x)} + return true, err + case 2: // type.float_value + if wire != proto.WireFixed64 { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeFixed64() + m.Type = &Value_FloatValue{math.Float64frombits(x)} + return true, err + case 3: // type.string_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Type = &Value_StringValue{x} + return true, err + case 4: // type.boolean_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Type = &Value_BooleanValue{x != 0} + return true, err + case 5: // type.timestamp_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(timestamp.Timestamp) + err := b.DecodeMessage(msg) + m.Type = &Value_TimestampValue{msg} + return true, err + case 6: // type.time_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(timeofday.TimeOfDay) + err := b.DecodeMessage(msg) + m.Type = &Value_TimeValue{msg} + return true, err + case 7: // type.date_value + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(date.Date) + err := b.DecodeMessage(msg) + m.Type = &Value_DateValue{msg} + return true, err + case 8: // type.day_of_week_value + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Type = &Value_DayOfWeekValue{dayofweek.DayOfWeek(x)} + return true, err + default: + return false, nil + } +} + +func _Value_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Value) + // type + switch x := m.Type.(type) { + case *Value_IntegerValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.IntegerValue)) + case *Value_FloatValue: + n += 1 // tag and wire + n += 8 + case *Value_StringValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.StringValue))) + n += len(x.StringValue) + case *Value_BooleanValue: + n += 1 // tag and wire + n += 1 + case *Value_TimestampValue: + s := proto.Size(x.TimestampValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_TimeValue: + s := proto.Size(x.TimeValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_DateValue: + s := proto.Size(x.DateValue) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Value_DayOfWeekValue: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.DayOfWeekValue)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Message for infoType-dependent details parsed from quote. +type QuoteInfo struct { + // Object representation of the quote. + // + // Types that are valid to be assigned to ParsedQuote: + // *QuoteInfo_DateTime + ParsedQuote isQuoteInfo_ParsedQuote `protobuf_oneof:"parsed_quote"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QuoteInfo) Reset() { *m = QuoteInfo{} } +func (m *QuoteInfo) String() string { return proto.CompactTextString(m) } +func (*QuoteInfo) ProtoMessage() {} +func (*QuoteInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{40} +} +func (m *QuoteInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuoteInfo.Unmarshal(m, b) +} +func (m *QuoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuoteInfo.Marshal(b, m, deterministic) +} +func (dst *QuoteInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuoteInfo.Merge(dst, src) +} +func (m *QuoteInfo) XXX_Size() int { + return xxx_messageInfo_QuoteInfo.Size(m) +} +func (m *QuoteInfo) XXX_DiscardUnknown() { + xxx_messageInfo_QuoteInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_QuoteInfo proto.InternalMessageInfo + +type isQuoteInfo_ParsedQuote interface { + isQuoteInfo_ParsedQuote() +} + +type QuoteInfo_DateTime struct { + DateTime *DateTime `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3,oneof"` +} + +func (*QuoteInfo_DateTime) isQuoteInfo_ParsedQuote() {} + +func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote { + if m != nil { + return m.ParsedQuote + } + return nil +} + +func (m *QuoteInfo) GetDateTime() *DateTime { + if x, ok := m.GetParsedQuote().(*QuoteInfo_DateTime); ok { + return x.DateTime + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*QuoteInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _QuoteInfo_OneofMarshaler, _QuoteInfo_OneofUnmarshaler, _QuoteInfo_OneofSizer, []interface{}{ + (*QuoteInfo_DateTime)(nil), + } +} + +func _QuoteInfo_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*QuoteInfo) + // parsed_quote + switch x := m.ParsedQuote.(type) { + case *QuoteInfo_DateTime: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DateTime); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("QuoteInfo.ParsedQuote has unexpected type %T", x) + } + return nil +} + +func _QuoteInfo_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*QuoteInfo) + switch tag { + case 2: // parsed_quote.date_time + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(DateTime) + err := b.DecodeMessage(msg) + m.ParsedQuote = &QuoteInfo_DateTime{msg} + return true, err + default: + return false, nil + } +} + +func _QuoteInfo_OneofSizer(msg proto.Message) (n int) { + m := msg.(*QuoteInfo) + // parsed_quote + switch x := m.ParsedQuote.(type) { + case *QuoteInfo_DateTime: + s := proto.Size(x.DateTime) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Message for a date time object. +// e.g. 2018-01-01, 5th August. +type DateTime struct { + // One or more of the following must be set. All fields are optional, but + // when set must be valid date or time values. + Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` + DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` + Time *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + TimeZone *DateTime_TimeZone `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DateTime) Reset() { *m = DateTime{} } +func (m *DateTime) String() string { return proto.CompactTextString(m) } +func (*DateTime) ProtoMessage() {} +func (*DateTime) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{41} +} +func (m *DateTime) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateTime.Unmarshal(m, b) +} +func (m *DateTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateTime.Marshal(b, m, deterministic) +} +func (dst *DateTime) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateTime.Merge(dst, src) +} +func (m *DateTime) XXX_Size() int { + return xxx_messageInfo_DateTime.Size(m) +} +func (m *DateTime) XXX_DiscardUnknown() { + xxx_messageInfo_DateTime.DiscardUnknown(m) +} + +var xxx_messageInfo_DateTime proto.InternalMessageInfo + +func (m *DateTime) GetDate() *date.Date { + if m != nil { + return m.Date + } + return nil +} + +func (m *DateTime) GetDayOfWeek() dayofweek.DayOfWeek { + if m != nil { + return m.DayOfWeek + } + return dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED +} + +func (m *DateTime) GetTime() *timeofday.TimeOfDay { + if m != nil { + return m.Time + } + return nil +} + +func (m *DateTime) GetTimeZone() *DateTime_TimeZone { + if m != nil { + return m.TimeZone + } + return nil +} + +type DateTime_TimeZone struct { + // Set only if the offset can be determined. Positive for time ahead of UTC. + // E.g. For "UTC-9", this value is -540. + OffsetMinutes int32 `protobuf:"varint,1,opt,name=offset_minutes,json=offsetMinutes,proto3" json:"offset_minutes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DateTime_TimeZone) Reset() { *m = DateTime_TimeZone{} } +func (m *DateTime_TimeZone) String() string { return proto.CompactTextString(m) } +func (*DateTime_TimeZone) ProtoMessage() {} +func (*DateTime_TimeZone) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{41, 0} +} +func (m *DateTime_TimeZone) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateTime_TimeZone.Unmarshal(m, b) +} +func (m *DateTime_TimeZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateTime_TimeZone.Marshal(b, m, deterministic) +} +func (dst *DateTime_TimeZone) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateTime_TimeZone.Merge(dst, src) +} +func (m *DateTime_TimeZone) XXX_Size() int { + return xxx_messageInfo_DateTime_TimeZone.Size(m) +} +func (m *DateTime_TimeZone) XXX_DiscardUnknown() { + xxx_messageInfo_DateTime_TimeZone.DiscardUnknown(m) +} + +var xxx_messageInfo_DateTime_TimeZone proto.InternalMessageInfo + +func (m *DateTime_TimeZone) GetOffsetMinutes() int32 { + if m != nil { + return m.OffsetMinutes + } + return 0 +} + +// The configuration that controls how the data will change. +type DeidentifyConfig struct { + // Types that are valid to be assigned to Transformation: + // *DeidentifyConfig_InfoTypeTransformations + // *DeidentifyConfig_RecordTransformations + Transformation isDeidentifyConfig_Transformation `protobuf_oneof:"transformation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeidentifyConfig) Reset() { *m = DeidentifyConfig{} } +func (m *DeidentifyConfig) String() string { return proto.CompactTextString(m) } +func (*DeidentifyConfig) ProtoMessage() {} +func (*DeidentifyConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{42} +} +func (m *DeidentifyConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeidentifyConfig.Unmarshal(m, b) +} +func (m *DeidentifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeidentifyConfig.Marshal(b, m, deterministic) +} +func (dst *DeidentifyConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeidentifyConfig.Merge(dst, src) +} +func (m *DeidentifyConfig) XXX_Size() int { + return xxx_messageInfo_DeidentifyConfig.Size(m) +} +func (m *DeidentifyConfig) XXX_DiscardUnknown() { + xxx_messageInfo_DeidentifyConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_DeidentifyConfig proto.InternalMessageInfo + +type isDeidentifyConfig_Transformation interface { + isDeidentifyConfig_Transformation() +} + +type DeidentifyConfig_InfoTypeTransformations struct { + InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,1,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` +} + +type DeidentifyConfig_RecordTransformations struct { + RecordTransformations *RecordTransformations `protobuf:"bytes,2,opt,name=record_transformations,json=recordTransformations,proto3,oneof"` +} + +func (*DeidentifyConfig_InfoTypeTransformations) isDeidentifyConfig_Transformation() {} + +func (*DeidentifyConfig_RecordTransformations) isDeidentifyConfig_Transformation() {} + +func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation { + if m != nil { + return m.Transformation + } + return nil +} + +func (m *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations { + if x, ok := m.GetTransformation().(*DeidentifyConfig_InfoTypeTransformations); ok { + return x.InfoTypeTransformations + } + return nil +} + +func (m *DeidentifyConfig) GetRecordTransformations() *RecordTransformations { + if x, ok := m.GetTransformation().(*DeidentifyConfig_RecordTransformations); ok { + return x.RecordTransformations + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*DeidentifyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _DeidentifyConfig_OneofMarshaler, _DeidentifyConfig_OneofUnmarshaler, _DeidentifyConfig_OneofSizer, []interface{}{ + (*DeidentifyConfig_InfoTypeTransformations)(nil), + (*DeidentifyConfig_RecordTransformations)(nil), + } +} + +func _DeidentifyConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*DeidentifyConfig) + // transformation + switch x := m.Transformation.(type) { + case *DeidentifyConfig_InfoTypeTransformations: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.InfoTypeTransformations); err != nil { + return err + } + case *DeidentifyConfig_RecordTransformations: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.RecordTransformations); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("DeidentifyConfig.Transformation has unexpected type %T", x) + } + return nil +} + +func _DeidentifyConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*DeidentifyConfig) + switch tag { + case 1: // transformation.info_type_transformations + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(InfoTypeTransformations) + err := b.DecodeMessage(msg) + m.Transformation = &DeidentifyConfig_InfoTypeTransformations{msg} + return true, err + case 2: // transformation.record_transformations + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(RecordTransformations) + err := b.DecodeMessage(msg) + m.Transformation = &DeidentifyConfig_RecordTransformations{msg} + return true, err + default: + return false, nil + } +} + +func _DeidentifyConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*DeidentifyConfig) + // transformation + switch x := m.Transformation.(type) { + case *DeidentifyConfig_InfoTypeTransformations: + s := proto.Size(x.InfoTypeTransformations) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *DeidentifyConfig_RecordTransformations: + s := proto.Size(x.RecordTransformations) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// A rule for transforming a value. +type PrimitiveTransformation struct { + // Types that are valid to be assigned to Transformation: + // *PrimitiveTransformation_ReplaceConfig + // *PrimitiveTransformation_RedactConfig + // *PrimitiveTransformation_CharacterMaskConfig + // *PrimitiveTransformation_CryptoReplaceFfxFpeConfig + // *PrimitiveTransformation_FixedSizeBucketingConfig + // *PrimitiveTransformation_BucketingConfig + // *PrimitiveTransformation_ReplaceWithInfoTypeConfig + // *PrimitiveTransformation_TimePartConfig + // *PrimitiveTransformation_CryptoHashConfig + // *PrimitiveTransformation_DateShiftConfig + Transformation isPrimitiveTransformation_Transformation `protobuf_oneof:"transformation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrimitiveTransformation) Reset() { *m = PrimitiveTransformation{} } +func (m *PrimitiveTransformation) String() string { return proto.CompactTextString(m) } +func (*PrimitiveTransformation) ProtoMessage() {} +func (*PrimitiveTransformation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{43} +} +func (m *PrimitiveTransformation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrimitiveTransformation.Unmarshal(m, b) +} +func (m *PrimitiveTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrimitiveTransformation.Marshal(b, m, deterministic) +} +func (dst *PrimitiveTransformation) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrimitiveTransformation.Merge(dst, src) +} +func (m *PrimitiveTransformation) XXX_Size() int { + return xxx_messageInfo_PrimitiveTransformation.Size(m) +} +func (m *PrimitiveTransformation) XXX_DiscardUnknown() { + xxx_messageInfo_PrimitiveTransformation.DiscardUnknown(m) +} + +var xxx_messageInfo_PrimitiveTransformation proto.InternalMessageInfo + +type isPrimitiveTransformation_Transformation interface { + isPrimitiveTransformation_Transformation() +} + +type PrimitiveTransformation_ReplaceConfig struct { + ReplaceConfig *ReplaceValueConfig `protobuf:"bytes,1,opt,name=replace_config,json=replaceConfig,proto3,oneof"` +} + +type PrimitiveTransformation_RedactConfig struct { + RedactConfig *RedactConfig `protobuf:"bytes,2,opt,name=redact_config,json=redactConfig,proto3,oneof"` +} + +type PrimitiveTransformation_CharacterMaskConfig struct { + CharacterMaskConfig *CharacterMaskConfig `protobuf:"bytes,3,opt,name=character_mask_config,json=characterMaskConfig,proto3,oneof"` +} + +type PrimitiveTransformation_CryptoReplaceFfxFpeConfig struct { + CryptoReplaceFfxFpeConfig *CryptoReplaceFfxFpeConfig `protobuf:"bytes,4,opt,name=crypto_replace_ffx_fpe_config,json=cryptoReplaceFfxFpeConfig,proto3,oneof"` +} + +type PrimitiveTransformation_FixedSizeBucketingConfig struct { + FixedSizeBucketingConfig *FixedSizeBucketingConfig `protobuf:"bytes,5,opt,name=fixed_size_bucketing_config,json=fixedSizeBucketingConfig,proto3,oneof"` +} + +type PrimitiveTransformation_BucketingConfig struct { + BucketingConfig *BucketingConfig `protobuf:"bytes,6,opt,name=bucketing_config,json=bucketingConfig,proto3,oneof"` +} + +type PrimitiveTransformation_ReplaceWithInfoTypeConfig struct { + ReplaceWithInfoTypeConfig *ReplaceWithInfoTypeConfig `protobuf:"bytes,7,opt,name=replace_with_info_type_config,json=replaceWithInfoTypeConfig,proto3,oneof"` +} + +type PrimitiveTransformation_TimePartConfig struct { + TimePartConfig *TimePartConfig `protobuf:"bytes,8,opt,name=time_part_config,json=timePartConfig,proto3,oneof"` +} + +type PrimitiveTransformation_CryptoHashConfig struct { + CryptoHashConfig *CryptoHashConfig `protobuf:"bytes,9,opt,name=crypto_hash_config,json=cryptoHashConfig,proto3,oneof"` +} + +type PrimitiveTransformation_DateShiftConfig struct { + DateShiftConfig *DateShiftConfig `protobuf:"bytes,11,opt,name=date_shift_config,json=dateShiftConfig,proto3,oneof"` +} + +func (*PrimitiveTransformation_ReplaceConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_RedactConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_CharacterMaskConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_CryptoReplaceFfxFpeConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_FixedSizeBucketingConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_BucketingConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_ReplaceWithInfoTypeConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_TimePartConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_CryptoHashConfig) isPrimitiveTransformation_Transformation() {} + +func (*PrimitiveTransformation_DateShiftConfig) isPrimitiveTransformation_Transformation() {} + +func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation { + if m != nil { + return m.Transformation + } + return nil +} + +func (m *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_ReplaceConfig); ok { + return x.ReplaceConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetRedactConfig() *RedactConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_RedactConfig); ok { + return x.RedactConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_CharacterMaskConfig); ok { + return x.CharacterMaskConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoReplaceFfxFpeConfig); ok { + return x.CryptoReplaceFfxFpeConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_FixedSizeBucketingConfig); ok { + return x.FixedSizeBucketingConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_BucketingConfig); ok { + return x.BucketingConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_ReplaceWithInfoTypeConfig); ok { + return x.ReplaceWithInfoTypeConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_TimePartConfig); ok { + return x.TimePartConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoHashConfig); ok { + return x.CryptoHashConfig + } + return nil +} + +func (m *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig { + if x, ok := m.GetTransformation().(*PrimitiveTransformation_DateShiftConfig); ok { + return x.DateShiftConfig + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*PrimitiveTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _PrimitiveTransformation_OneofMarshaler, _PrimitiveTransformation_OneofUnmarshaler, _PrimitiveTransformation_OneofSizer, []interface{}{ + (*PrimitiveTransformation_ReplaceConfig)(nil), + (*PrimitiveTransformation_RedactConfig)(nil), + (*PrimitiveTransformation_CharacterMaskConfig)(nil), + (*PrimitiveTransformation_CryptoReplaceFfxFpeConfig)(nil), + (*PrimitiveTransformation_FixedSizeBucketingConfig)(nil), + (*PrimitiveTransformation_BucketingConfig)(nil), + (*PrimitiveTransformation_ReplaceWithInfoTypeConfig)(nil), + (*PrimitiveTransformation_TimePartConfig)(nil), + (*PrimitiveTransformation_CryptoHashConfig)(nil), + (*PrimitiveTransformation_DateShiftConfig)(nil), + } +} + +func _PrimitiveTransformation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*PrimitiveTransformation) + // transformation + switch x := m.Transformation.(type) { + case *PrimitiveTransformation_ReplaceConfig: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ReplaceConfig); err != nil { + return err + } + case *PrimitiveTransformation_RedactConfig: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.RedactConfig); err != nil { + return err + } + case *PrimitiveTransformation_CharacterMaskConfig: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CharacterMaskConfig); err != nil { + return err + } + case *PrimitiveTransformation_CryptoReplaceFfxFpeConfig: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CryptoReplaceFfxFpeConfig); err != nil { + return err + } + case *PrimitiveTransformation_FixedSizeBucketingConfig: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.FixedSizeBucketingConfig); err != nil { + return err + } + case *PrimitiveTransformation_BucketingConfig: + b.EncodeVarint(6<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.BucketingConfig); err != nil { + return err + } + case *PrimitiveTransformation_ReplaceWithInfoTypeConfig: + b.EncodeVarint(7<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ReplaceWithInfoTypeConfig); err != nil { + return err + } + case *PrimitiveTransformation_TimePartConfig: + b.EncodeVarint(8<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.TimePartConfig); err != nil { + return err + } + case *PrimitiveTransformation_CryptoHashConfig: + b.EncodeVarint(9<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CryptoHashConfig); err != nil { + return err + } + case *PrimitiveTransformation_DateShiftConfig: + b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.DateShiftConfig); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("PrimitiveTransformation.Transformation has unexpected type %T", x) + } + return nil +} + +func _PrimitiveTransformation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*PrimitiveTransformation) + switch tag { + case 1: // transformation.replace_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ReplaceValueConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_ReplaceConfig{msg} + return true, err + case 2: // transformation.redact_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(RedactConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_RedactConfig{msg} + return true, err + case 3: // transformation.character_mask_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CharacterMaskConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_CharacterMaskConfig{msg} + return true, err + case 4: // transformation.crypto_replace_ffx_fpe_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CryptoReplaceFfxFpeConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_CryptoReplaceFfxFpeConfig{msg} + return true, err + case 5: // transformation.fixed_size_bucketing_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(FixedSizeBucketingConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_FixedSizeBucketingConfig{msg} + return true, err + case 6: // transformation.bucketing_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(BucketingConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_BucketingConfig{msg} + return true, err + case 7: // transformation.replace_with_info_type_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ReplaceWithInfoTypeConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_ReplaceWithInfoTypeConfig{msg} + return true, err + case 8: // transformation.time_part_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(TimePartConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_TimePartConfig{msg} + return true, err + case 9: // transformation.crypto_hash_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(CryptoHashConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_CryptoHashConfig{msg} + return true, err + case 11: // transformation.date_shift_config + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(DateShiftConfig) + err := b.DecodeMessage(msg) + m.Transformation = &PrimitiveTransformation_DateShiftConfig{msg} + return true, err + default: + return false, nil + } +} + +func _PrimitiveTransformation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*PrimitiveTransformation) + // transformation + switch x := m.Transformation.(type) { + case *PrimitiveTransformation_ReplaceConfig: + s := proto.Size(x.ReplaceConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_RedactConfig: + s := proto.Size(x.RedactConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_CharacterMaskConfig: + s := proto.Size(x.CharacterMaskConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_CryptoReplaceFfxFpeConfig: + s := proto.Size(x.CryptoReplaceFfxFpeConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_FixedSizeBucketingConfig: + s := proto.Size(x.FixedSizeBucketingConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_BucketingConfig: + s := proto.Size(x.BucketingConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_ReplaceWithInfoTypeConfig: + s := proto.Size(x.ReplaceWithInfoTypeConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_TimePartConfig: + s := proto.Size(x.TimePartConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_CryptoHashConfig: + s := proto.Size(x.CryptoHashConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *PrimitiveTransformation_DateShiftConfig: + s := proto.Size(x.DateShiftConfig) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a +// portion of the value. +type TimePartConfig struct { + PartToExtract TimePartConfig_TimePart `protobuf:"varint,1,opt,name=part_to_extract,json=partToExtract,proto3,enum=google.privacy.dlp.v2.TimePartConfig_TimePart" json:"part_to_extract,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimePartConfig) Reset() { *m = TimePartConfig{} } +func (m *TimePartConfig) String() string { return proto.CompactTextString(m) } +func (*TimePartConfig) ProtoMessage() {} +func (*TimePartConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{44} +} +func (m *TimePartConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimePartConfig.Unmarshal(m, b) +} +func (m *TimePartConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimePartConfig.Marshal(b, m, deterministic) +} +func (dst *TimePartConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimePartConfig.Merge(dst, src) +} +func (m *TimePartConfig) XXX_Size() int { + return xxx_messageInfo_TimePartConfig.Size(m) +} +func (m *TimePartConfig) XXX_DiscardUnknown() { + xxx_messageInfo_TimePartConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_TimePartConfig proto.InternalMessageInfo + +func (m *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart { + if m != nil { + return m.PartToExtract + } + return TimePartConfig_TIME_PART_UNSPECIFIED +} + +// Pseudonymization method that generates surrogates via cryptographic hashing. +// Uses SHA-256. +// The key size must be either 32 or 64 bytes. +// Outputs a 32 byte digest as an uppercase hex string +// (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). +// Currently, only string and integer values can be hashed. +type CryptoHashConfig struct { + // The key used by the hash function. + CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CryptoHashConfig) Reset() { *m = CryptoHashConfig{} } +func (m *CryptoHashConfig) String() string { return proto.CompactTextString(m) } +func (*CryptoHashConfig) ProtoMessage() {} +func (*CryptoHashConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{45} +} +func (m *CryptoHashConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CryptoHashConfig.Unmarshal(m, b) +} +func (m *CryptoHashConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CryptoHashConfig.Marshal(b, m, deterministic) +} +func (dst *CryptoHashConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CryptoHashConfig.Merge(dst, src) +} +func (m *CryptoHashConfig) XXX_Size() int { + return xxx_messageInfo_CryptoHashConfig.Size(m) +} +func (m *CryptoHashConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CryptoHashConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CryptoHashConfig proto.InternalMessageInfo + +func (m *CryptoHashConfig) GetCryptoKey() *CryptoKey { + if m != nil { + return m.CryptoKey + } + return nil +} + +// Replace each input value with a given `Value`. +type ReplaceValueConfig struct { + // Value to replace it with. + NewValue *Value `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReplaceValueConfig) Reset() { *m = ReplaceValueConfig{} } +func (m *ReplaceValueConfig) String() string { return proto.CompactTextString(m) } +func (*ReplaceValueConfig) ProtoMessage() {} +func (*ReplaceValueConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{46} +} +func (m *ReplaceValueConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReplaceValueConfig.Unmarshal(m, b) +} +func (m *ReplaceValueConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReplaceValueConfig.Marshal(b, m, deterministic) +} +func (dst *ReplaceValueConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplaceValueConfig.Merge(dst, src) +} +func (m *ReplaceValueConfig) XXX_Size() int { + return xxx_messageInfo_ReplaceValueConfig.Size(m) +} +func (m *ReplaceValueConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ReplaceValueConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplaceValueConfig proto.InternalMessageInfo + +func (m *ReplaceValueConfig) GetNewValue() *Value { + if m != nil { + return m.NewValue + } + return nil +} + +// Replace each matching finding with the name of the info_type. +type ReplaceWithInfoTypeConfig struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReplaceWithInfoTypeConfig) Reset() { *m = ReplaceWithInfoTypeConfig{} } +func (m *ReplaceWithInfoTypeConfig) String() string { return proto.CompactTextString(m) } +func (*ReplaceWithInfoTypeConfig) ProtoMessage() {} +func (*ReplaceWithInfoTypeConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{47} +} +func (m *ReplaceWithInfoTypeConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReplaceWithInfoTypeConfig.Unmarshal(m, b) +} +func (m *ReplaceWithInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReplaceWithInfoTypeConfig.Marshal(b, m, deterministic) +} +func (dst *ReplaceWithInfoTypeConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplaceWithInfoTypeConfig.Merge(dst, src) +} +func (m *ReplaceWithInfoTypeConfig) XXX_Size() int { + return xxx_messageInfo_ReplaceWithInfoTypeConfig.Size(m) +} +func (m *ReplaceWithInfoTypeConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ReplaceWithInfoTypeConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplaceWithInfoTypeConfig proto.InternalMessageInfo + +// Redact a given value. For example, if used with an `InfoTypeTransformation` +// transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the +// output would be 'My phone number is '. +type RedactConfig struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RedactConfig) Reset() { *m = RedactConfig{} } +func (m *RedactConfig) String() string { return proto.CompactTextString(m) } +func (*RedactConfig) ProtoMessage() {} +func (*RedactConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{48} +} +func (m *RedactConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedactConfig.Unmarshal(m, b) +} +func (m *RedactConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedactConfig.Marshal(b, m, deterministic) +} +func (dst *RedactConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedactConfig.Merge(dst, src) +} +func (m *RedactConfig) XXX_Size() int { + return xxx_messageInfo_RedactConfig.Size(m) +} +func (m *RedactConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RedactConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RedactConfig proto.InternalMessageInfo + +// Characters to skip when doing deidentification of a value. These will be left +// alone and skipped. +type CharsToIgnore struct { + // Types that are valid to be assigned to Characters: + // *CharsToIgnore_CharactersToSkip + // *CharsToIgnore_CommonCharactersToIgnore + Characters isCharsToIgnore_Characters `protobuf_oneof:"characters"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CharsToIgnore) Reset() { *m = CharsToIgnore{} } +func (m *CharsToIgnore) String() string { return proto.CompactTextString(m) } +func (*CharsToIgnore) ProtoMessage() {} +func (*CharsToIgnore) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{49} +} +func (m *CharsToIgnore) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CharsToIgnore.Unmarshal(m, b) +} +func (m *CharsToIgnore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CharsToIgnore.Marshal(b, m, deterministic) +} +func (dst *CharsToIgnore) XXX_Merge(src proto.Message) { + xxx_messageInfo_CharsToIgnore.Merge(dst, src) +} +func (m *CharsToIgnore) XXX_Size() int { + return xxx_messageInfo_CharsToIgnore.Size(m) +} +func (m *CharsToIgnore) XXX_DiscardUnknown() { + xxx_messageInfo_CharsToIgnore.DiscardUnknown(m) +} + +var xxx_messageInfo_CharsToIgnore proto.InternalMessageInfo + +type isCharsToIgnore_Characters interface { + isCharsToIgnore_Characters() +} + +type CharsToIgnore_CharactersToSkip struct { + CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,proto3,oneof"` +} + +type CharsToIgnore_CommonCharactersToIgnore struct { + CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `protobuf:"varint,2,opt,name=common_characters_to_ignore,json=commonCharactersToIgnore,proto3,enum=google.privacy.dlp.v2.CharsToIgnore_CommonCharsToIgnore,oneof"` +} + +func (*CharsToIgnore_CharactersToSkip) isCharsToIgnore_Characters() {} + +func (*CharsToIgnore_CommonCharactersToIgnore) isCharsToIgnore_Characters() {} + +func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters { + if m != nil { + return m.Characters + } + return nil +} + +func (m *CharsToIgnore) GetCharactersToSkip() string { + if x, ok := m.GetCharacters().(*CharsToIgnore_CharactersToSkip); ok { + return x.CharactersToSkip + } + return "" +} + +func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore { + if x, ok := m.GetCharacters().(*CharsToIgnore_CommonCharactersToIgnore); ok { + return x.CommonCharactersToIgnore + } + return CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CharsToIgnore) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CharsToIgnore_OneofMarshaler, _CharsToIgnore_OneofUnmarshaler, _CharsToIgnore_OneofSizer, []interface{}{ + (*CharsToIgnore_CharactersToSkip)(nil), + (*CharsToIgnore_CommonCharactersToIgnore)(nil), + } +} + +func _CharsToIgnore_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CharsToIgnore) + // characters + switch x := m.Characters.(type) { + case *CharsToIgnore_CharactersToSkip: + b.EncodeVarint(1<<3 | proto.WireBytes) + b.EncodeStringBytes(x.CharactersToSkip) + case *CharsToIgnore_CommonCharactersToIgnore: + b.EncodeVarint(2<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CommonCharactersToIgnore)) + case nil: + default: + return fmt.Errorf("CharsToIgnore.Characters has unexpected type %T", x) + } + return nil +} + +func _CharsToIgnore_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CharsToIgnore) + switch tag { + case 1: // characters.characters_to_skip + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Characters = &CharsToIgnore_CharactersToSkip{x} + return true, err + case 2: // characters.common_characters_to_ignore + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Characters = &CharsToIgnore_CommonCharactersToIgnore{CharsToIgnore_CommonCharsToIgnore(x)} + return true, err + default: + return false, nil + } +} + +func _CharsToIgnore_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CharsToIgnore) + // characters + switch x := m.Characters.(type) { + case *CharsToIgnore_CharactersToSkip: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.CharactersToSkip))) + n += len(x.CharactersToSkip) + case *CharsToIgnore_CommonCharactersToIgnore: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CommonCharactersToIgnore)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Partially mask a string by replacing a given number of characters with a +// fixed character. Masking can start from the beginning or end of the string. +// This can be used on data of any type (numbers, longs, and so on) and when +// de-identifying structured data we'll attempt to preserve the original data's +// type. (This allows you to take a long like 123 and modify it to a string like +// **3. +type CharacterMaskConfig struct { + // Character to mask the sensitive values—for example, "*" for an + // alphabetic string such as name, or "0" for a numeric string such as ZIP + // code or credit card number. String must have length 1. If not supplied, we + // will default to "*" for strings, 0 for digits. + MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter,proto3" json:"masking_character,omitempty"` + // Number of characters to mask. If not set, all matching chars will be + // masked. Skipped characters do not count towards this tally. + NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask,proto3" json:"number_to_mask,omitempty"` + // Mask characters in reverse order. For example, if `masking_character` is + // '0', number_to_mask is 14, and `reverse_order` is false, then + // 1234-5678-9012-3456 -> 00000000000000-3456 + // If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` + // is true, then 12345 -> 12*** + ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder,proto3" json:"reverse_order,omitempty"` + // When masking a string, items in this list will be skipped when replacing. + // For example, if your string is 555-555-5555 and you ask us to skip `-` and + // mask 5 chars with * we would produce ***-*55-5555. + CharactersToIgnore []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore,proto3" json:"characters_to_ignore,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CharacterMaskConfig) Reset() { *m = CharacterMaskConfig{} } +func (m *CharacterMaskConfig) String() string { return proto.CompactTextString(m) } +func (*CharacterMaskConfig) ProtoMessage() {} +func (*CharacterMaskConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{50} +} +func (m *CharacterMaskConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CharacterMaskConfig.Unmarshal(m, b) +} +func (m *CharacterMaskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CharacterMaskConfig.Marshal(b, m, deterministic) +} +func (dst *CharacterMaskConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CharacterMaskConfig.Merge(dst, src) +} +func (m *CharacterMaskConfig) XXX_Size() int { + return xxx_messageInfo_CharacterMaskConfig.Size(m) +} +func (m *CharacterMaskConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CharacterMaskConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CharacterMaskConfig proto.InternalMessageInfo + +func (m *CharacterMaskConfig) GetMaskingCharacter() string { + if m != nil { + return m.MaskingCharacter + } + return "" +} + +func (m *CharacterMaskConfig) GetNumberToMask() int32 { + if m != nil { + return m.NumberToMask + } + return 0 +} + +func (m *CharacterMaskConfig) GetReverseOrder() bool { + if m != nil { + return m.ReverseOrder + } + return false +} + +func (m *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore { + if m != nil { + return m.CharactersToIgnore + } + return nil +} + +// Buckets values based on fixed size ranges. The +// Bucketing transformation can provide all of this functionality, +// but requires more configuration. This message is provided as a convenience to +// the user for simple bucketing strategies. +// +// The transformed value will be a hyphenated string of +// -, i.e if lower_bound = 10 and upper_bound = 20 +// all values that are within this bucket will be replaced with "10-20". +// +// This can be used on data of type: double, long. +// +// If the bound Value type differs from the type of data +// being transformed, we will first attempt converting the type of the data to +// be transformed to match the type of the bound before comparing. +// +// See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. +type FixedSizeBucketingConfig struct { + // Lower bound value of buckets. All values less than `lower_bound` are + // grouped together into a single bucket; for example if `lower_bound` = 10, + // then all values less than 10 are replaced with the value “-10”. [Required]. + LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"` + // Upper bound value of buckets. All values greater than upper_bound are + // grouped together into a single bucket; for example if `upper_bound` = 89, + // then all values greater than 89 are replaced with the value “89+”. + // [Required]. + UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` + // Size of each bucket (except for minimum and maximum buckets). So if + // `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the + // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, + // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. [Required]. + BucketSize float64 `protobuf:"fixed64,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FixedSizeBucketingConfig) Reset() { *m = FixedSizeBucketingConfig{} } +func (m *FixedSizeBucketingConfig) String() string { return proto.CompactTextString(m) } +func (*FixedSizeBucketingConfig) ProtoMessage() {} +func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{51} +} +func (m *FixedSizeBucketingConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FixedSizeBucketingConfig.Unmarshal(m, b) +} +func (m *FixedSizeBucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FixedSizeBucketingConfig.Marshal(b, m, deterministic) +} +func (dst *FixedSizeBucketingConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_FixedSizeBucketingConfig.Merge(dst, src) +} +func (m *FixedSizeBucketingConfig) XXX_Size() int { + return xxx_messageInfo_FixedSizeBucketingConfig.Size(m) +} +func (m *FixedSizeBucketingConfig) XXX_DiscardUnknown() { + xxx_messageInfo_FixedSizeBucketingConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_FixedSizeBucketingConfig proto.InternalMessageInfo + +func (m *FixedSizeBucketingConfig) GetLowerBound() *Value { + if m != nil { + return m.LowerBound + } + return nil +} + +func (m *FixedSizeBucketingConfig) GetUpperBound() *Value { + if m != nil { + return m.UpperBound + } + return nil +} + +func (m *FixedSizeBucketingConfig) GetBucketSize() float64 { + if m != nil { + return m.BucketSize + } + return 0 +} + +// Generalization function that buckets values based on ranges. The ranges and +// replacement values are dynamically provided by the user for custom behavior, +// such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH +// This can be used on +// data of type: number, long, string, timestamp. +// If the bound `Value` type differs from the type of data being transformed, we +// will first attempt converting the type of the data to be transformed to match +// the type of the bound before comparing. +// See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. +type BucketingConfig struct { + // Set of buckets. Ranges must be non-overlapping. + Buckets []*BucketingConfig_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BucketingConfig) Reset() { *m = BucketingConfig{} } +func (m *BucketingConfig) String() string { return proto.CompactTextString(m) } +func (*BucketingConfig) ProtoMessage() {} +func (*BucketingConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{52} +} +func (m *BucketingConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BucketingConfig.Unmarshal(m, b) +} +func (m *BucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BucketingConfig.Marshal(b, m, deterministic) +} +func (dst *BucketingConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_BucketingConfig.Merge(dst, src) +} +func (m *BucketingConfig) XXX_Size() int { + return xxx_messageInfo_BucketingConfig.Size(m) +} +func (m *BucketingConfig) XXX_DiscardUnknown() { + xxx_messageInfo_BucketingConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_BucketingConfig proto.InternalMessageInfo + +func (m *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket { + if m != nil { + return m.Buckets + } + return nil +} + +// Bucket is represented as a range, along with replacement values. +type BucketingConfig_Bucket struct { + // Lower bound of the range, inclusive. Type should be the same as max if + // used. + Min *Value `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` + // Upper bound of the range, exclusive; type must match min. + Max *Value `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"` + // Replacement value for this bucket. If not provided + // the default behavior will be to hyphenate the min-max range. + ReplacementValue *Value `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BucketingConfig_Bucket) Reset() { *m = BucketingConfig_Bucket{} } +func (m *BucketingConfig_Bucket) String() string { return proto.CompactTextString(m) } +func (*BucketingConfig_Bucket) ProtoMessage() {} +func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{52, 0} +} +func (m *BucketingConfig_Bucket) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BucketingConfig_Bucket.Unmarshal(m, b) +} +func (m *BucketingConfig_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BucketingConfig_Bucket.Marshal(b, m, deterministic) +} +func (dst *BucketingConfig_Bucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_BucketingConfig_Bucket.Merge(dst, src) +} +func (m *BucketingConfig_Bucket) XXX_Size() int { + return xxx_messageInfo_BucketingConfig_Bucket.Size(m) +} +func (m *BucketingConfig_Bucket) XXX_DiscardUnknown() { + xxx_messageInfo_BucketingConfig_Bucket.DiscardUnknown(m) +} + +var xxx_messageInfo_BucketingConfig_Bucket proto.InternalMessageInfo + +func (m *BucketingConfig_Bucket) GetMin() *Value { + if m != nil { + return m.Min + } + return nil +} + +func (m *BucketingConfig_Bucket) GetMax() *Value { + if m != nil { + return m.Max + } + return nil +} + +func (m *BucketingConfig_Bucket) GetReplacementValue() *Value { + if m != nil { + return m.ReplacementValue + } + return nil +} + +// Replaces an identifier with a surrogate using FPE with the FFX +// mode of operation; however when used in the `ReidentifyContent` API method, +// it serves the opposite function by reversing the surrogate back into +// the original identifier. +// The identifier must be encoded as ASCII. +// For a given crypto key and context, the same identifier will be +// replaced with the same surrogate. +// Identifiers must be at least two characters long. +// In the case that the identifier is the empty string, it will be skipped. +// See https://cloud.google.com/dlp/docs/pseudonymization to learn more. +type CryptoReplaceFfxFpeConfig struct { + // The key used by the encryption algorithm. [required] + CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` + // The 'tweak', a context may be used for higher security since the same + // identifier in two different contexts won't be given the same surrogate. If + // the context is not set, a default tweak will be used. + // + // If the context is set but: + // + // 1. there is no record present when transforming a given value or + // 1. the field is not present when transforming a given value, + // + // a default tweak will be used. + // + // Note that case (1) is expected when an `InfoTypeTransformation` is + // applied to both structured and non-structured `ContentItem`s. + // Currently, the referenced field may be of value type integer or string. + // + // The tweak is constructed as a sequence of bytes in big endian byte order + // such that: + // + // - a 64 bit integer is encoded followed by a single byte of value 1 + // - a string is encoded in UTF-8 format followed by a single byte of value 2 + Context *FieldId `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` + // Types that are valid to be assigned to Alphabet: + // *CryptoReplaceFfxFpeConfig_CommonAlphabet + // *CryptoReplaceFfxFpeConfig_CustomAlphabet + // *CryptoReplaceFfxFpeConfig_Radix + Alphabet isCryptoReplaceFfxFpeConfig_Alphabet `protobuf_oneof:"alphabet"` + // The custom infoType to annotate the surrogate with. + // This annotation will be applied to the surrogate by prefixing it with + // the name of the custom infoType followed by the number of + // characters comprising the surrogate. The following scheme defines the + // format: info_type_name(surrogate_character_count):surrogate + // + // For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and + // the surrogate is 'abc', the full replacement value + // will be: 'MY_TOKEN_INFO_TYPE(3):abc' + // + // This annotation identifies the surrogate when inspecting content using the + // custom infoType + // [`SurrogateType`](/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype). + // This facilitates reversal of the surrogate when it occurs in free text. + // + // In order for inspection to work properly, the name of this infoType must + // not occur naturally anywhere in your data; otherwise, inspection may + // find a surrogate that does not correspond to an actual identifier. + // Therefore, choose your custom infoType name carefully after considering + // what your data looks like. One way to select a name that has a high chance + // of yielding reliable detection is to include one or more unicode characters + // that are highly improbable to exist in your data. + // For example, assuming your data is entered from a regular ASCII keyboard, + // the symbol with the hex code point 29DD might be used like so: + // ⧝MY_TOKEN_TYPE + SurrogateInfoType *InfoType `protobuf:"bytes,8,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CryptoReplaceFfxFpeConfig) Reset() { *m = CryptoReplaceFfxFpeConfig{} } +func (m *CryptoReplaceFfxFpeConfig) String() string { return proto.CompactTextString(m) } +func (*CryptoReplaceFfxFpeConfig) ProtoMessage() {} +func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{53} +} +func (m *CryptoReplaceFfxFpeConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Unmarshal(m, b) +} +func (m *CryptoReplaceFfxFpeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Marshal(b, m, deterministic) +} +func (dst *CryptoReplaceFfxFpeConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CryptoReplaceFfxFpeConfig.Merge(dst, src) +} +func (m *CryptoReplaceFfxFpeConfig) XXX_Size() int { + return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Size(m) +} +func (m *CryptoReplaceFfxFpeConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CryptoReplaceFfxFpeConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CryptoReplaceFfxFpeConfig proto.InternalMessageInfo + +func (m *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey { + if m != nil { + return m.CryptoKey + } + return nil +} + +func (m *CryptoReplaceFfxFpeConfig) GetContext() *FieldId { + if m != nil { + return m.Context + } + return nil +} + +type isCryptoReplaceFfxFpeConfig_Alphabet interface { + isCryptoReplaceFfxFpeConfig_Alphabet() +} + +type CryptoReplaceFfxFpeConfig_CommonAlphabet struct { + CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `protobuf:"varint,4,opt,name=common_alphabet,json=commonAlphabet,proto3,enum=google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet,oneof"` +} + +type CryptoReplaceFfxFpeConfig_CustomAlphabet struct { + CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"` +} + +type CryptoReplaceFfxFpeConfig_Radix struct { + Radix int32 `protobuf:"varint,6,opt,name=radix,proto3,oneof"` +} + +func (*CryptoReplaceFfxFpeConfig_CommonAlphabet) isCryptoReplaceFfxFpeConfig_Alphabet() {} + +func (*CryptoReplaceFfxFpeConfig_CustomAlphabet) isCryptoReplaceFfxFpeConfig_Alphabet() {} + +func (*CryptoReplaceFfxFpeConfig_Radix) isCryptoReplaceFfxFpeConfig_Alphabet() {} + +func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet { + if m != nil { + return m.Alphabet + } + return nil +} + +func (m *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet { + if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_CommonAlphabet); ok { + return x.CommonAlphabet + } + return CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED +} + +func (m *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string { + if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_CustomAlphabet); ok { + return x.CustomAlphabet + } + return "" +} + +func (m *CryptoReplaceFfxFpeConfig) GetRadix() int32 { + if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_Radix); ok { + return x.Radix + } + return 0 +} + +func (m *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType { + if m != nil { + return m.SurrogateInfoType + } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*PrimitiveTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _PrimitiveTransformation_OneofMarshaler, _PrimitiveTransformation_OneofUnmarshaler, _PrimitiveTransformation_OneofSizer, []interface{}{ - (*PrimitiveTransformation_ReplaceConfig)(nil), - (*PrimitiveTransformation_RedactConfig)(nil), - (*PrimitiveTransformation_CharacterMaskConfig)(nil), - (*PrimitiveTransformation_CryptoReplaceFfxFpeConfig)(nil), - (*PrimitiveTransformation_FixedSizeBucketingConfig)(nil), - (*PrimitiveTransformation_BucketingConfig)(nil), - (*PrimitiveTransformation_ReplaceWithInfoTypeConfig)(nil), - (*PrimitiveTransformation_TimePartConfig)(nil), - (*PrimitiveTransformation_CryptoHashConfig)(nil), - (*PrimitiveTransformation_DateShiftConfig)(nil), +func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CryptoReplaceFfxFpeConfig_OneofMarshaler, _CryptoReplaceFfxFpeConfig_OneofUnmarshaler, _CryptoReplaceFfxFpeConfig_OneofSizer, []interface{}{ + (*CryptoReplaceFfxFpeConfig_CommonAlphabet)(nil), + (*CryptoReplaceFfxFpeConfig_CustomAlphabet)(nil), + (*CryptoReplaceFfxFpeConfig_Radix)(nil), + } +} + +func _CryptoReplaceFfxFpeConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CryptoReplaceFfxFpeConfig) + // alphabet + switch x := m.Alphabet.(type) { + case *CryptoReplaceFfxFpeConfig_CommonAlphabet: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.CommonAlphabet)) + case *CryptoReplaceFfxFpeConfig_CustomAlphabet: + b.EncodeVarint(5<<3 | proto.WireBytes) + b.EncodeStringBytes(x.CustomAlphabet) + case *CryptoReplaceFfxFpeConfig_Radix: + b.EncodeVarint(6<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.Radix)) + case nil: + default: + return fmt.Errorf("CryptoReplaceFfxFpeConfig.Alphabet has unexpected type %T", x) + } + return nil +} + +func _CryptoReplaceFfxFpeConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CryptoReplaceFfxFpeConfig) + switch tag { + case 4: // alphabet.common_alphabet + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Alphabet = &CryptoReplaceFfxFpeConfig_CommonAlphabet{CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet(x)} + return true, err + case 5: // alphabet.custom_alphabet + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeStringBytes() + m.Alphabet = &CryptoReplaceFfxFpeConfig_CustomAlphabet{x} + return true, err + case 6: // alphabet.radix + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.Alphabet = &CryptoReplaceFfxFpeConfig_Radix{int32(x)} + return true, err + default: + return false, nil + } +} + +func _CryptoReplaceFfxFpeConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CryptoReplaceFfxFpeConfig) + // alphabet + switch x := m.Alphabet.(type) { + case *CryptoReplaceFfxFpeConfig_CommonAlphabet: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.CommonAlphabet)) + case *CryptoReplaceFfxFpeConfig_CustomAlphabet: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(len(x.CustomAlphabet))) + n += len(x.CustomAlphabet) + case *CryptoReplaceFfxFpeConfig_Radix: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.Radix)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// This is a data encryption key (DEK) (as opposed to +// a key encryption key (KEK) stored by KMS). +// When using KMS to wrap/unwrap DEKs, be sure to set an appropriate +// IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot +// unwrap the data crypto key. +type CryptoKey struct { + // Types that are valid to be assigned to Source: + // *CryptoKey_Transient + // *CryptoKey_Unwrapped + // *CryptoKey_KmsWrapped + Source isCryptoKey_Source `protobuf_oneof:"source"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CryptoKey) Reset() { *m = CryptoKey{} } +func (m *CryptoKey) String() string { return proto.CompactTextString(m) } +func (*CryptoKey) ProtoMessage() {} +func (*CryptoKey) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{54} +} +func (m *CryptoKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CryptoKey.Unmarshal(m, b) +} +func (m *CryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CryptoKey.Marshal(b, m, deterministic) +} +func (dst *CryptoKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_CryptoKey.Merge(dst, src) +} +func (m *CryptoKey) XXX_Size() int { + return xxx_messageInfo_CryptoKey.Size(m) +} +func (m *CryptoKey) XXX_DiscardUnknown() { + xxx_messageInfo_CryptoKey.DiscardUnknown(m) +} + +var xxx_messageInfo_CryptoKey proto.InternalMessageInfo + +type isCryptoKey_Source interface { + isCryptoKey_Source() +} + +type CryptoKey_Transient struct { + Transient *TransientCryptoKey `protobuf:"bytes,1,opt,name=transient,proto3,oneof"` +} + +type CryptoKey_Unwrapped struct { + Unwrapped *UnwrappedCryptoKey `protobuf:"bytes,2,opt,name=unwrapped,proto3,oneof"` +} + +type CryptoKey_KmsWrapped struct { + KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,proto3,oneof"` +} + +func (*CryptoKey_Transient) isCryptoKey_Source() {} + +func (*CryptoKey_Unwrapped) isCryptoKey_Source() {} + +func (*CryptoKey_KmsWrapped) isCryptoKey_Source() {} + +func (m *CryptoKey) GetSource() isCryptoKey_Source { + if m != nil { + return m.Source + } + return nil +} + +func (m *CryptoKey) GetTransient() *TransientCryptoKey { + if x, ok := m.GetSource().(*CryptoKey_Transient); ok { + return x.Transient + } + return nil +} + +func (m *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey { + if x, ok := m.GetSource().(*CryptoKey_Unwrapped); ok { + return x.Unwrapped + } + return nil +} + +func (m *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey { + if x, ok := m.GetSource().(*CryptoKey_KmsWrapped); ok { + return x.KmsWrapped + } + return nil +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*CryptoKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CryptoKey_OneofMarshaler, _CryptoKey_OneofUnmarshaler, _CryptoKey_OneofSizer, []interface{}{ + (*CryptoKey_Transient)(nil), + (*CryptoKey_Unwrapped)(nil), + (*CryptoKey_KmsWrapped)(nil), } } -func _PrimitiveTransformation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*PrimitiveTransformation) - // transformation - switch x := m.Transformation.(type) { - case *PrimitiveTransformation_ReplaceConfig: +func _CryptoKey_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CryptoKey) + // source + switch x := m.Source.(type) { + case *CryptoKey_Transient: b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ReplaceConfig); err != nil { + if err := b.EncodeMessage(x.Transient); err != nil { return err } - case *PrimitiveTransformation_RedactConfig: + case *CryptoKey_Unwrapped: b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RedactConfig); err != nil { + if err := b.EncodeMessage(x.Unwrapped); err != nil { return err } - case *PrimitiveTransformation_CharacterMaskConfig: + case *CryptoKey_KmsWrapped: b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CharacterMaskConfig); err != nil { - return err - } - case *PrimitiveTransformation_CryptoReplaceFfxFpeConfig: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CryptoReplaceFfxFpeConfig); err != nil { - return err - } - case *PrimitiveTransformation_FixedSizeBucketingConfig: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.FixedSizeBucketingConfig); err != nil { - return err - } - case *PrimitiveTransformation_BucketingConfig: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.BucketingConfig); err != nil { - return err - } - case *PrimitiveTransformation_ReplaceWithInfoTypeConfig: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ReplaceWithInfoTypeConfig); err != nil { - return err - } - case *PrimitiveTransformation_TimePartConfig: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TimePartConfig); err != nil { - return err - } - case *PrimitiveTransformation_CryptoHashConfig: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CryptoHashConfig); err != nil { - return err - } - case *PrimitiveTransformation_DateShiftConfig: - b.EncodeVarint(11<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DateShiftConfig); err != nil { + if err := b.EncodeMessage(x.KmsWrapped); err != nil { return err } case nil: default: - return fmt.Errorf("PrimitiveTransformation.Transformation has unexpected type %T", x) + return fmt.Errorf("CryptoKey.Source has unexpected type %T", x) } return nil } -func _PrimitiveTransformation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*PrimitiveTransformation) +func _CryptoKey_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CryptoKey) switch tag { - case 1: // transformation.replace_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ReplaceValueConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_ReplaceConfig{msg} - return true, err - case 2: // transformation.redact_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(RedactConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_RedactConfig{msg} - return true, err - case 3: // transformation.character_mask_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(CharacterMaskConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_CharacterMaskConfig{msg} - return true, err - case 4: // transformation.crypto_replace_ffx_fpe_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(CryptoReplaceFfxFpeConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_CryptoReplaceFfxFpeConfig{msg} - return true, err - case 5: // transformation.fixed_size_bucketing_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(FixedSizeBucketingConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_FixedSizeBucketingConfig{msg} - return true, err - case 6: // transformation.bucketing_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(BucketingConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_BucketingConfig{msg} - return true, err - case 7: // transformation.replace_with_info_type_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ReplaceWithInfoTypeConfig) - err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_ReplaceWithInfoTypeConfig{msg} - return true, err - case 8: // transformation.time_part_config + case 1: // source.transient if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(TimePartConfig) + msg := new(TransientCryptoKey) err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_TimePartConfig{msg} + m.Source = &CryptoKey_Transient{msg} return true, err - case 9: // transformation.crypto_hash_config + case 2: // source.unwrapped if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(CryptoHashConfig) + msg := new(UnwrappedCryptoKey) err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_CryptoHashConfig{msg} + m.Source = &CryptoKey_Unwrapped{msg} return true, err - case 11: // transformation.date_shift_config + case 3: // source.kms_wrapped if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(DateShiftConfig) + msg := new(KmsWrappedCryptoKey) err := b.DecodeMessage(msg) - m.Transformation = &PrimitiveTransformation_DateShiftConfig{msg} + m.Source = &CryptoKey_KmsWrapped{msg} return true, err default: return false, nil } } -func _PrimitiveTransformation_OneofSizer(msg proto.Message) (n int) { - m := msg.(*PrimitiveTransformation) - // transformation - switch x := m.Transformation.(type) { - case *PrimitiveTransformation_ReplaceConfig: - s := proto.Size(x.ReplaceConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_RedactConfig: - s := proto.Size(x.RedactConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_CharacterMaskConfig: - s := proto.Size(x.CharacterMaskConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_CryptoReplaceFfxFpeConfig: - s := proto.Size(x.CryptoReplaceFfxFpeConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_FixedSizeBucketingConfig: - s := proto.Size(x.FixedSizeBucketingConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_BucketingConfig: - s := proto.Size(x.BucketingConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_ReplaceWithInfoTypeConfig: - s := proto.Size(x.ReplaceWithInfoTypeConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *PrimitiveTransformation_TimePartConfig: - s := proto.Size(x.TimePartConfig) +func _CryptoKey_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CryptoKey) + // source + switch x := m.Source.(type) { + case *CryptoKey_Transient: + s := proto.Size(x.Transient) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *PrimitiveTransformation_CryptoHashConfig: - s := proto.Size(x.CryptoHashConfig) + case *CryptoKey_Unwrapped: + s := proto.Size(x.Unwrapped) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *PrimitiveTransformation_DateShiftConfig: - s := proto.Size(x.DateShiftConfig) + case *CryptoKey_KmsWrapped: + s := proto.Size(x.KmsWrapped) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -6644,324 +8286,291 @@ func _PrimitiveTransformation_OneofSizer(msg proto.Message) (n int) { return n } -// For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a -// portion of the value. -type TimePartConfig struct { - PartToExtract TimePartConfig_TimePart `protobuf:"varint,1,opt,name=part_to_extract,json=partToExtract,proto3,enum=google.privacy.dlp.v2.TimePartConfig_TimePart" json:"part_to_extract,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TimePartConfig) Reset() { *m = TimePartConfig{} } -func (m *TimePartConfig) String() string { return proto.CompactTextString(m) } -func (*TimePartConfig) ProtoMessage() {} -func (*TimePartConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{40} -} -func (m *TimePartConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimePartConfig.Unmarshal(m, b) -} -func (m *TimePartConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimePartConfig.Marshal(b, m, deterministic) -} -func (dst *TimePartConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimePartConfig.Merge(dst, src) -} -func (m *TimePartConfig) XXX_Size() int { - return xxx_messageInfo_TimePartConfig.Size(m) -} -func (m *TimePartConfig) XXX_DiscardUnknown() { - xxx_messageInfo_TimePartConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_TimePartConfig proto.InternalMessageInfo - -func (m *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart { - if m != nil { - return m.PartToExtract - } - return TimePartConfig_TIME_PART_UNSPECIFIED -} - -// Pseudonymization method that generates surrogates via cryptographic hashing. -// Uses SHA-256. -// The key size must be either 32 or 64 bytes. -// Outputs a 32 byte digest as an uppercase hex string -// (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). -// Currently, only string and integer values can be hashed. -type CryptoHashConfig struct { - // The key used by the hash function. - CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Use this to have a random data crypto key generated. +// It will be discarded after the request finishes. +type TransientCryptoKey struct { + // Name of the key. [required] + // This is an arbitrary string used to differentiate different keys. + // A unique key is generated per name: two separate `TransientCryptoKey` + // protos share the same generated key if their names are the same. + // When the data crypto key is generated, this name is not used in any way + // (repeating the api call will result in a different key being generated). + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CryptoHashConfig) Reset() { *m = CryptoHashConfig{} } -func (m *CryptoHashConfig) String() string { return proto.CompactTextString(m) } -func (*CryptoHashConfig) ProtoMessage() {} -func (*CryptoHashConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{41} +func (m *TransientCryptoKey) Reset() { *m = TransientCryptoKey{} } +func (m *TransientCryptoKey) String() string { return proto.CompactTextString(m) } +func (*TransientCryptoKey) ProtoMessage() {} +func (*TransientCryptoKey) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{55} } -func (m *CryptoHashConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CryptoHashConfig.Unmarshal(m, b) +func (m *TransientCryptoKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TransientCryptoKey.Unmarshal(m, b) } -func (m *CryptoHashConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CryptoHashConfig.Marshal(b, m, deterministic) +func (m *TransientCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TransientCryptoKey.Marshal(b, m, deterministic) } -func (dst *CryptoHashConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoHashConfig.Merge(dst, src) +func (dst *TransientCryptoKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransientCryptoKey.Merge(dst, src) } -func (m *CryptoHashConfig) XXX_Size() int { - return xxx_messageInfo_CryptoHashConfig.Size(m) +func (m *TransientCryptoKey) XXX_Size() int { + return xxx_messageInfo_TransientCryptoKey.Size(m) } -func (m *CryptoHashConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CryptoHashConfig.DiscardUnknown(m) +func (m *TransientCryptoKey) XXX_DiscardUnknown() { + xxx_messageInfo_TransientCryptoKey.DiscardUnknown(m) } -var xxx_messageInfo_CryptoHashConfig proto.InternalMessageInfo +var xxx_messageInfo_TransientCryptoKey proto.InternalMessageInfo -func (m *CryptoHashConfig) GetCryptoKey() *CryptoKey { +func (m *TransientCryptoKey) GetName() string { if m != nil { - return m.CryptoKey + return m.Name } - return nil + return "" } -// Replace each input value with a given `Value`. -type ReplaceValueConfig struct { - // Value to replace it with. - NewValue *Value `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` +// Using raw keys is prone to security risks due to accidentally +// leaking the key. Choose another type of key if possible. +type UnwrappedCryptoKey struct { + // The AES 128/192/256 bit key. [required] + Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ReplaceValueConfig) Reset() { *m = ReplaceValueConfig{} } -func (m *ReplaceValueConfig) String() string { return proto.CompactTextString(m) } -func (*ReplaceValueConfig) ProtoMessage() {} -func (*ReplaceValueConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{42} +func (m *UnwrappedCryptoKey) Reset() { *m = UnwrappedCryptoKey{} } +func (m *UnwrappedCryptoKey) String() string { return proto.CompactTextString(m) } +func (*UnwrappedCryptoKey) ProtoMessage() {} +func (*UnwrappedCryptoKey) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{56} } -func (m *ReplaceValueConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReplaceValueConfig.Unmarshal(m, b) +func (m *UnwrappedCryptoKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnwrappedCryptoKey.Unmarshal(m, b) } -func (m *ReplaceValueConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReplaceValueConfig.Marshal(b, m, deterministic) +func (m *UnwrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnwrappedCryptoKey.Marshal(b, m, deterministic) } -func (dst *ReplaceValueConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplaceValueConfig.Merge(dst, src) +func (dst *UnwrappedCryptoKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnwrappedCryptoKey.Merge(dst, src) } -func (m *ReplaceValueConfig) XXX_Size() int { - return xxx_messageInfo_ReplaceValueConfig.Size(m) +func (m *UnwrappedCryptoKey) XXX_Size() int { + return xxx_messageInfo_UnwrappedCryptoKey.Size(m) } -func (m *ReplaceValueConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ReplaceValueConfig.DiscardUnknown(m) +func (m *UnwrappedCryptoKey) XXX_DiscardUnknown() { + xxx_messageInfo_UnwrappedCryptoKey.DiscardUnknown(m) } -var xxx_messageInfo_ReplaceValueConfig proto.InternalMessageInfo +var xxx_messageInfo_UnwrappedCryptoKey proto.InternalMessageInfo -func (m *ReplaceValueConfig) GetNewValue() *Value { +func (m *UnwrappedCryptoKey) GetKey() []byte { if m != nil { - return m.NewValue + return m.Key } return nil } -// Replace each matching finding with the name of the info_type. -type ReplaceWithInfoTypeConfig struct { +// Include to use an existing data crypto key wrapped by KMS. +// Authorization requires the following IAM permissions when sending a request +// to perform a crypto transformation using a kms-wrapped crypto key: +// dlp.kms.encrypt +type KmsWrappedCryptoKey struct { + // The wrapped data crypto key. [required] + WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"` + // The resource name of the KMS CryptoKey to use for unwrapping. [required] + CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ReplaceWithInfoTypeConfig) Reset() { *m = ReplaceWithInfoTypeConfig{} } -func (m *ReplaceWithInfoTypeConfig) String() string { return proto.CompactTextString(m) } -func (*ReplaceWithInfoTypeConfig) ProtoMessage() {} -func (*ReplaceWithInfoTypeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{43} +func (m *KmsWrappedCryptoKey) Reset() { *m = KmsWrappedCryptoKey{} } +func (m *KmsWrappedCryptoKey) String() string { return proto.CompactTextString(m) } +func (*KmsWrappedCryptoKey) ProtoMessage() {} +func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{57} } -func (m *ReplaceWithInfoTypeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReplaceWithInfoTypeConfig.Unmarshal(m, b) +func (m *KmsWrappedCryptoKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KmsWrappedCryptoKey.Unmarshal(m, b) } -func (m *ReplaceWithInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReplaceWithInfoTypeConfig.Marshal(b, m, deterministic) +func (m *KmsWrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KmsWrappedCryptoKey.Marshal(b, m, deterministic) } -func (dst *ReplaceWithInfoTypeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplaceWithInfoTypeConfig.Merge(dst, src) +func (dst *KmsWrappedCryptoKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_KmsWrappedCryptoKey.Merge(dst, src) } -func (m *ReplaceWithInfoTypeConfig) XXX_Size() int { - return xxx_messageInfo_ReplaceWithInfoTypeConfig.Size(m) +func (m *KmsWrappedCryptoKey) XXX_Size() int { + return xxx_messageInfo_KmsWrappedCryptoKey.Size(m) } -func (m *ReplaceWithInfoTypeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ReplaceWithInfoTypeConfig.DiscardUnknown(m) +func (m *KmsWrappedCryptoKey) XXX_DiscardUnknown() { + xxx_messageInfo_KmsWrappedCryptoKey.DiscardUnknown(m) } -var xxx_messageInfo_ReplaceWithInfoTypeConfig proto.InternalMessageInfo +var xxx_messageInfo_KmsWrappedCryptoKey proto.InternalMessageInfo -// Redact a given value. For example, if used with an `InfoTypeTransformation` -// transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the -// output would be 'My phone number is '. -type RedactConfig struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *KmsWrappedCryptoKey) GetWrappedKey() []byte { + if m != nil { + return m.WrappedKey + } + return nil } -func (m *RedactConfig) Reset() { *m = RedactConfig{} } -func (m *RedactConfig) String() string { return proto.CompactTextString(m) } -func (*RedactConfig) ProtoMessage() {} -func (*RedactConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{44} -} -func (m *RedactConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactConfig.Unmarshal(m, b) -} -func (m *RedactConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RedactConfig.Marshal(b, m, deterministic) -} -func (dst *RedactConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactConfig.Merge(dst, src) -} -func (m *RedactConfig) XXX_Size() int { - return xxx_messageInfo_RedactConfig.Size(m) -} -func (m *RedactConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RedactConfig.DiscardUnknown(m) +func (m *KmsWrappedCryptoKey) GetCryptoKeyName() string { + if m != nil { + return m.CryptoKeyName + } + return "" } -var xxx_messageInfo_RedactConfig proto.InternalMessageInfo - -// Characters to skip when doing deidentification of a value. These will be left -// alone and skipped. -type CharsToIgnore struct { - // Types that are valid to be assigned to Characters: - // *CharsToIgnore_CharactersToSkip - // *CharsToIgnore_CommonCharactersToIgnore - Characters isCharsToIgnore_Characters `protobuf_oneof:"characters"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Shifts dates by random number of days, with option to be consistent for the +// same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting +// to learn more. +type DateShiftConfig struct { + // Range of shift in days. Actual shift will be selected at random within this + // range (inclusive ends). Negative means shift to earlier in time. Must not + // be more than 365250 days (1000 years) each direction. + // + // For example, 3 means shift date to at most 3 days into the future. + // [Required] + UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays,proto3" json:"upper_bound_days,omitempty"` + // For example, -5 means shift date to at most 5 days back in the past. + // [Required] + LowerBoundDays int32 `protobuf:"varint,2,opt,name=lower_bound_days,json=lowerBoundDays,proto3" json:"lower_bound_days,omitempty"` + // Points to the field that contains the context, for example, an entity id. + // If set, must also set method. If set, shift will be consistent for the + // given context. + Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` + // Method for calculating shift that takes context into consideration. If + // set, must also set context. Can only be applied to table items. + // + // Types that are valid to be assigned to Method: + // *DateShiftConfig_CryptoKey + Method isDateShiftConfig_Method `protobuf_oneof:"method"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CharsToIgnore) Reset() { *m = CharsToIgnore{} } -func (m *CharsToIgnore) String() string { return proto.CompactTextString(m) } -func (*CharsToIgnore) ProtoMessage() {} -func (*CharsToIgnore) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{45} +func (m *DateShiftConfig) Reset() { *m = DateShiftConfig{} } +func (m *DateShiftConfig) String() string { return proto.CompactTextString(m) } +func (*DateShiftConfig) ProtoMessage() {} +func (*DateShiftConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{58} } -func (m *CharsToIgnore) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CharsToIgnore.Unmarshal(m, b) +func (m *DateShiftConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateShiftConfig.Unmarshal(m, b) } -func (m *CharsToIgnore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CharsToIgnore.Marshal(b, m, deterministic) +func (m *DateShiftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateShiftConfig.Marshal(b, m, deterministic) } -func (dst *CharsToIgnore) XXX_Merge(src proto.Message) { - xxx_messageInfo_CharsToIgnore.Merge(dst, src) +func (dst *DateShiftConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateShiftConfig.Merge(dst, src) } -func (m *CharsToIgnore) XXX_Size() int { - return xxx_messageInfo_CharsToIgnore.Size(m) +func (m *DateShiftConfig) XXX_Size() int { + return xxx_messageInfo_DateShiftConfig.Size(m) } -func (m *CharsToIgnore) XXX_DiscardUnknown() { - xxx_messageInfo_CharsToIgnore.DiscardUnknown(m) +func (m *DateShiftConfig) XXX_DiscardUnknown() { + xxx_messageInfo_DateShiftConfig.DiscardUnknown(m) } -var xxx_messageInfo_CharsToIgnore proto.InternalMessageInfo +var xxx_messageInfo_DateShiftConfig proto.InternalMessageInfo -type isCharsToIgnore_Characters interface { - isCharsToIgnore_Characters() +func (m *DateShiftConfig) GetUpperBoundDays() int32 { + if m != nil { + return m.UpperBoundDays + } + return 0 } -type CharsToIgnore_CharactersToSkip struct { - CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,proto3,oneof"` -} -type CharsToIgnore_CommonCharactersToIgnore struct { - CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `protobuf:"varint,2,opt,name=common_characters_to_ignore,json=commonCharactersToIgnore,proto3,enum=google.privacy.dlp.v2.CharsToIgnore_CommonCharsToIgnore,oneof"` +func (m *DateShiftConfig) GetLowerBoundDays() int32 { + if m != nil { + return m.LowerBoundDays + } + return 0 } -func (*CharsToIgnore_CharactersToSkip) isCharsToIgnore_Characters() {} -func (*CharsToIgnore_CommonCharactersToIgnore) isCharsToIgnore_Characters() {} - -func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters { +func (m *DateShiftConfig) GetContext() *FieldId { if m != nil { - return m.Characters + return m.Context } return nil } -func (m *CharsToIgnore) GetCharactersToSkip() string { - if x, ok := m.GetCharacters().(*CharsToIgnore_CharactersToSkip); ok { - return x.CharactersToSkip +type isDateShiftConfig_Method interface { + isDateShiftConfig_Method() +} + +type DateShiftConfig_CryptoKey struct { + CryptoKey *CryptoKey `protobuf:"bytes,4,opt,name=crypto_key,json=cryptoKey,proto3,oneof"` +} + +func (*DateShiftConfig_CryptoKey) isDateShiftConfig_Method() {} + +func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method { + if m != nil { + return m.Method } - return "" + return nil } -func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore { - if x, ok := m.GetCharacters().(*CharsToIgnore_CommonCharactersToIgnore); ok { - return x.CommonCharactersToIgnore +func (m *DateShiftConfig) GetCryptoKey() *CryptoKey { + if x, ok := m.GetMethod().(*DateShiftConfig_CryptoKey); ok { + return x.CryptoKey } - return CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED + return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*CharsToIgnore) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CharsToIgnore_OneofMarshaler, _CharsToIgnore_OneofUnmarshaler, _CharsToIgnore_OneofSizer, []interface{}{ - (*CharsToIgnore_CharactersToSkip)(nil), - (*CharsToIgnore_CommonCharactersToIgnore)(nil), +func (*DateShiftConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _DateShiftConfig_OneofMarshaler, _DateShiftConfig_OneofUnmarshaler, _DateShiftConfig_OneofSizer, []interface{}{ + (*DateShiftConfig_CryptoKey)(nil), } } -func _CharsToIgnore_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CharsToIgnore) - // characters - switch x := m.Characters.(type) { - case *CharsToIgnore_CharactersToSkip: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.CharactersToSkip) - case *CharsToIgnore_CommonCharactersToIgnore: - b.EncodeVarint(2<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.CommonCharactersToIgnore)) +func _DateShiftConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*DateShiftConfig) + // method + switch x := m.Method.(type) { + case *DateShiftConfig_CryptoKey: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CryptoKey); err != nil { + return err + } case nil: default: - return fmt.Errorf("CharsToIgnore.Characters has unexpected type %T", x) + return fmt.Errorf("DateShiftConfig.Method has unexpected type %T", x) } return nil } -func _CharsToIgnore_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CharsToIgnore) +func _DateShiftConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*DateShiftConfig) switch tag { - case 1: // characters.characters_to_skip + case 4: // method.crypto_key if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - x, err := b.DecodeStringBytes() - m.Characters = &CharsToIgnore_CharactersToSkip{x} - return true, err - case 2: // characters.common_characters_to_ignore - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Characters = &CharsToIgnore_CommonCharactersToIgnore{CharsToIgnore_CommonCharsToIgnore(x)} + msg := new(CryptoKey) + err := b.DecodeMessage(msg) + m.Method = &DateShiftConfig_CryptoKey{msg} return true, err default: return false, nil } } -func _CharsToIgnore_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CharsToIgnore) - // characters - switch x := m.Characters.(type) { - case *CharsToIgnore_CharactersToSkip: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.CharactersToSkip))) - n += len(x.CharactersToSkip) - case *CharsToIgnore_CommonCharactersToIgnore: +func _DateShiftConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*DateShiftConfig) + // method + switch x := m.Method.(type) { + case *DateShiftConfig_CryptoKey: + s := proto.Size(x.CryptoKey) n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.CommonCharactersToIgnore)) + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -6969,686 +8578,641 @@ func _CharsToIgnore_OneofSizer(msg proto.Message) (n int) { return n } -// Partially mask a string by replacing a given number of characters with a -// fixed character. Masking can start from the beginning or end of the string. -// This can be used on data of any type (numbers, longs, and so on) and when -// de-identifying structured data we'll attempt to preserve the original data's -// type. (This allows you to take a long like 123 and modify it to a string like -// **3. -type CharacterMaskConfig struct { - // Character to mask the sensitive values—for example, "*" for an - // alphabetic string such as name, or "0" for a numeric string such as ZIP - // code or credit card number. String must have length 1. If not supplied, we - // will default to "*" for strings, 0 for digits. - MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter,proto3" json:"masking_character,omitempty"` - // Number of characters to mask. If not set, all matching chars will be - // masked. Skipped characters do not count towards this tally. - NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask,proto3" json:"number_to_mask,omitempty"` - // Mask characters in reverse order. For example, if `masking_character` is - // '0', number_to_mask is 14, and `reverse_order` is false, then - // 1234-5678-9012-3456 -> 00000000000000-3456 - // If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` - // is true, then 12345 -> 12*** - ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder,proto3" json:"reverse_order,omitempty"` - // When masking a string, items in this list will be skipped when replacing. - // For example, if your string is 555-555-5555 and you ask us to skip `-` and - // mask 5 chars with * we would produce ***-*55-5555. - CharactersToIgnore []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore,proto3" json:"characters_to_ignore,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// A type of transformation that will scan unstructured text and +// apply various `PrimitiveTransformation`s to each finding, where the +// transformation is applied to only values that were identified as a specific +// info_type. +type InfoTypeTransformations struct { + // Transformation for each infoType. Cannot specify more than one + // for a given infoType. [required] + Transformations []*InfoTypeTransformations_InfoTypeTransformation `protobuf:"bytes,1,rep,name=transformations,proto3" json:"transformations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CharacterMaskConfig) Reset() { *m = CharacterMaskConfig{} } -func (m *CharacterMaskConfig) String() string { return proto.CompactTextString(m) } -func (*CharacterMaskConfig) ProtoMessage() {} -func (*CharacterMaskConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{46} +func (m *InfoTypeTransformations) Reset() { *m = InfoTypeTransformations{} } +func (m *InfoTypeTransformations) String() string { return proto.CompactTextString(m) } +func (*InfoTypeTransformations) ProtoMessage() {} +func (*InfoTypeTransformations) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{59} } -func (m *CharacterMaskConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CharacterMaskConfig.Unmarshal(m, b) +func (m *InfoTypeTransformations) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InfoTypeTransformations.Unmarshal(m, b) } -func (m *CharacterMaskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CharacterMaskConfig.Marshal(b, m, deterministic) +func (m *InfoTypeTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InfoTypeTransformations.Marshal(b, m, deterministic) } -func (dst *CharacterMaskConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CharacterMaskConfig.Merge(dst, src) +func (dst *InfoTypeTransformations) XXX_Merge(src proto.Message) { + xxx_messageInfo_InfoTypeTransformations.Merge(dst, src) } -func (m *CharacterMaskConfig) XXX_Size() int { - return xxx_messageInfo_CharacterMaskConfig.Size(m) +func (m *InfoTypeTransformations) XXX_Size() int { + return xxx_messageInfo_InfoTypeTransformations.Size(m) } -func (m *CharacterMaskConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CharacterMaskConfig.DiscardUnknown(m) +func (m *InfoTypeTransformations) XXX_DiscardUnknown() { + xxx_messageInfo_InfoTypeTransformations.DiscardUnknown(m) } -var xxx_messageInfo_CharacterMaskConfig proto.InternalMessageInfo +var xxx_messageInfo_InfoTypeTransformations proto.InternalMessageInfo -func (m *CharacterMaskConfig) GetMaskingCharacter() string { +func (m *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation { if m != nil { - return m.MaskingCharacter + return m.Transformations } - return "" + return nil +} + +// A transformation to apply to text that is identified as a specific +// info_type. +type InfoTypeTransformations_InfoTypeTransformation struct { + // InfoTypes to apply the transformation to. An empty list will cause + // this transformation to apply to all findings that correspond to + // infoTypes that were requested in `InspectConfig`. + InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` + // Primitive transformation to apply to the infoType. [required] + PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,2,opt,name=primitive_transformation,json=primitiveTransformation,proto3" json:"primitive_transformation,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InfoTypeTransformations_InfoTypeTransformation) Reset() { + *m = InfoTypeTransformations_InfoTypeTransformation{} +} +func (m *InfoTypeTransformations_InfoTypeTransformation) String() string { + return proto.CompactTextString(m) +} +func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage() {} +func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{59, 0} +} +func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Unmarshal(m, b) +} +func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Marshal(b, m, deterministic) +} +func (dst *InfoTypeTransformations_InfoTypeTransformation) XXX_Merge(src proto.Message) { + xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Merge(dst, src) +} +func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Size() int { + return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Size(m) +} +func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_DiscardUnknown() { + xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.DiscardUnknown(m) +} + +var xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation proto.InternalMessageInfo + +func (m *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType { + if m != nil { + return m.InfoTypes + } + return nil +} + +func (m *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation { + if m != nil { + return m.PrimitiveTransformation + } + return nil +} + +// The transformation to apply to the field. +type FieldTransformation struct { + // Input field(s) to apply the transformation to. [required] + Fields []*FieldId `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + // Only apply the transformation if the condition evaluates to true for the + // given `RecordCondition`. The conditions are allowed to reference fields + // that are not used in the actual transformation. [optional] + // + // Example Use Cases: + // + // - Apply a different bucket transformation to an age column if the zip code + // column for the same record is within a specific range. + // - Redact a field if the date of birth field is greater than 85. + Condition *RecordCondition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` + // Transformation to apply. [required] + // + // Types that are valid to be assigned to Transformation: + // *FieldTransformation_PrimitiveTransformation + // *FieldTransformation_InfoTypeTransformations + Transformation isFieldTransformation_Transformation `protobuf_oneof:"transformation"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldTransformation) Reset() { *m = FieldTransformation{} } +func (m *FieldTransformation) String() string { return proto.CompactTextString(m) } +func (*FieldTransformation) ProtoMessage() {} +func (*FieldTransformation) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{60} +} +func (m *FieldTransformation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldTransformation.Unmarshal(m, b) +} +func (m *FieldTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldTransformation.Marshal(b, m, deterministic) +} +func (dst *FieldTransformation) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldTransformation.Merge(dst, src) +} +func (m *FieldTransformation) XXX_Size() int { + return xxx_messageInfo_FieldTransformation.Size(m) +} +func (m *FieldTransformation) XXX_DiscardUnknown() { + xxx_messageInfo_FieldTransformation.DiscardUnknown(m) } -func (m *CharacterMaskConfig) GetNumberToMask() int32 { - if m != nil { - return m.NumberToMask - } - return 0 -} +var xxx_messageInfo_FieldTransformation proto.InternalMessageInfo -func (m *CharacterMaskConfig) GetReverseOrder() bool { +func (m *FieldTransformation) GetFields() []*FieldId { if m != nil { - return m.ReverseOrder + return m.Fields } - return false + return nil } -func (m *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore { +func (m *FieldTransformation) GetCondition() *RecordCondition { if m != nil { - return m.CharactersToIgnore + return m.Condition } return nil } -// Buckets values based on fixed size ranges. The -// Bucketing transformation can provide all of this functionality, -// but requires more configuration. This message is provided as a convenience to -// the user for simple bucketing strategies. -// -// The transformed value will be a hyphenated string of -// -, i.e if lower_bound = 10 and upper_bound = 20 -// all values that are within this bucket will be replaced with "10-20". -// -// This can be used on data of type: double, long. -// -// If the bound Value type differs from the type of data -// being transformed, we will first attempt converting the type of the data to -// be transformed to match the type of the bound before comparing. -// -// See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. -type FixedSizeBucketingConfig struct { - // Lower bound value of buckets. All values less than `lower_bound` are - // grouped together into a single bucket; for example if `lower_bound` = 10, - // then all values less than 10 are replaced with the value “-10”. [Required]. - LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"` - // Upper bound value of buckets. All values greater than upper_bound are - // grouped together into a single bucket; for example if `upper_bound` = 89, - // then all values greater than 89 are replaced with the value “89+”. - // [Required]. - UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` - // Size of each bucket (except for minimum and maximum buckets). So if - // `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the - // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, - // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. [Required]. - BucketSize float64 `protobuf:"fixed64,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type isFieldTransformation_Transformation interface { + isFieldTransformation_Transformation() } -func (m *FixedSizeBucketingConfig) Reset() { *m = FixedSizeBucketingConfig{} } -func (m *FixedSizeBucketingConfig) String() string { return proto.CompactTextString(m) } -func (*FixedSizeBucketingConfig) ProtoMessage() {} -func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{47} -} -func (m *FixedSizeBucketingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FixedSizeBucketingConfig.Unmarshal(m, b) -} -func (m *FixedSizeBucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FixedSizeBucketingConfig.Marshal(b, m, deterministic) -} -func (dst *FixedSizeBucketingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_FixedSizeBucketingConfig.Merge(dst, src) -} -func (m *FixedSizeBucketingConfig) XXX_Size() int { - return xxx_messageInfo_FixedSizeBucketingConfig.Size(m) +type FieldTransformation_PrimitiveTransformation struct { + PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,proto3,oneof"` } -func (m *FixedSizeBucketingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_FixedSizeBucketingConfig.DiscardUnknown(m) + +type FieldTransformation_InfoTypeTransformations struct { + InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` } -var xxx_messageInfo_FixedSizeBucketingConfig proto.InternalMessageInfo +func (*FieldTransformation_PrimitiveTransformation) isFieldTransformation_Transformation() {} -func (m *FixedSizeBucketingConfig) GetLowerBound() *Value { +func (*FieldTransformation_InfoTypeTransformations) isFieldTransformation_Transformation() {} + +func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation { if m != nil { - return m.LowerBound + return m.Transformation } return nil } -func (m *FixedSizeBucketingConfig) GetUpperBound() *Value { - if m != nil { - return m.UpperBound +func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation { + if x, ok := m.GetTransformation().(*FieldTransformation_PrimitiveTransformation); ok { + return x.PrimitiveTransformation } return nil } -func (m *FixedSizeBucketingConfig) GetBucketSize() float64 { - if m != nil { - return m.BucketSize +func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations { + if x, ok := m.GetTransformation().(*FieldTransformation_InfoTypeTransformations); ok { + return x.InfoTypeTransformations } - return 0 + return nil } -// Generalization function that buckets values based on ranges. The ranges and -// replacement values are dynamically provided by the user for custom behavior, -// such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH -// This can be used on -// data of type: number, long, string, timestamp. -// If the bound `Value` type differs from the type of data being transformed, we -// will first attempt converting the type of the data to be transformed to match -// the type of the bound before comparing. -// See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. -type BucketingConfig struct { - // Set of buckets. Ranges must be non-overlapping. - Buckets []*BucketingConfig_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// XXX_OneofFuncs is for the internal use of the proto package. +func (*FieldTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _FieldTransformation_OneofMarshaler, _FieldTransformation_OneofUnmarshaler, _FieldTransformation_OneofSizer, []interface{}{ + (*FieldTransformation_PrimitiveTransformation)(nil), + (*FieldTransformation_InfoTypeTransformations)(nil), + } } -func (m *BucketingConfig) Reset() { *m = BucketingConfig{} } -func (m *BucketingConfig) String() string { return proto.CompactTextString(m) } -func (*BucketingConfig) ProtoMessage() {} -func (*BucketingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{48} -} -func (m *BucketingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BucketingConfig.Unmarshal(m, b) -} -func (m *BucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BucketingConfig.Marshal(b, m, deterministic) -} -func (dst *BucketingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BucketingConfig.Merge(dst, src) -} -func (m *BucketingConfig) XXX_Size() int { - return xxx_messageInfo_BucketingConfig.Size(m) -} -func (m *BucketingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BucketingConfig.DiscardUnknown(m) +func _FieldTransformation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*FieldTransformation) + // transformation + switch x := m.Transformation.(type) { + case *FieldTransformation_PrimitiveTransformation: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PrimitiveTransformation); err != nil { + return err + } + case *FieldTransformation_InfoTypeTransformations: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.InfoTypeTransformations); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("FieldTransformation.Transformation has unexpected type %T", x) + } + return nil } -var xxx_messageInfo_BucketingConfig proto.InternalMessageInfo - -func (m *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket { - if m != nil { - return m.Buckets +func _FieldTransformation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*FieldTransformation) + switch tag { + case 4: // transformation.primitive_transformation + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(PrimitiveTransformation) + err := b.DecodeMessage(msg) + m.Transformation = &FieldTransformation_PrimitiveTransformation{msg} + return true, err + case 5: // transformation.info_type_transformations + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(InfoTypeTransformations) + err := b.DecodeMessage(msg) + m.Transformation = &FieldTransformation_InfoTypeTransformations{msg} + return true, err + default: + return false, nil } - return nil } -// Bucket is represented as a range, along with replacement values. -type BucketingConfig_Bucket struct { - // Lower bound of the range, inclusive. Type should be the same as max if - // used. - Min *Value `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` - // Upper bound of the range, exclusive; type must match min. - Max *Value `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"` - // Replacement value for this bucket. If not provided - // the default behavior will be to hyphenate the min-max range. - ReplacementValue *Value `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func _FieldTransformation_OneofSizer(msg proto.Message) (n int) { + m := msg.(*FieldTransformation) + // transformation + switch x := m.Transformation.(type) { + case *FieldTransformation_PrimitiveTransformation: + s := proto.Size(x.PrimitiveTransformation) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *FieldTransformation_InfoTypeTransformations: + s := proto.Size(x.InfoTypeTransformations) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n } -func (m *BucketingConfig_Bucket) Reset() { *m = BucketingConfig_Bucket{} } -func (m *BucketingConfig_Bucket) String() string { return proto.CompactTextString(m) } -func (*BucketingConfig_Bucket) ProtoMessage() {} -func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{48, 0} +// A type of transformation that is applied over structured data such as a +// table. +type RecordTransformations struct { + // Transform the record by applying various field transformations. + FieldTransformations []*FieldTransformation `protobuf:"bytes,1,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"` + // Configuration defining which records get suppressed entirely. Records that + // match any suppression rule are omitted from the output [optional]. + RecordSuppressions []*RecordSuppression `protobuf:"bytes,2,rep,name=record_suppressions,json=recordSuppressions,proto3" json:"record_suppressions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *BucketingConfig_Bucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BucketingConfig_Bucket.Unmarshal(m, b) + +func (m *RecordTransformations) Reset() { *m = RecordTransformations{} } +func (m *RecordTransformations) String() string { return proto.CompactTextString(m) } +func (*RecordTransformations) ProtoMessage() {} +func (*RecordTransformations) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{61} } -func (m *BucketingConfig_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BucketingConfig_Bucket.Marshal(b, m, deterministic) +func (m *RecordTransformations) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordTransformations.Unmarshal(m, b) } -func (dst *BucketingConfig_Bucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_BucketingConfig_Bucket.Merge(dst, src) +func (m *RecordTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordTransformations.Marshal(b, m, deterministic) } -func (m *BucketingConfig_Bucket) XXX_Size() int { - return xxx_messageInfo_BucketingConfig_Bucket.Size(m) +func (dst *RecordTransformations) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordTransformations.Merge(dst, src) } -func (m *BucketingConfig_Bucket) XXX_DiscardUnknown() { - xxx_messageInfo_BucketingConfig_Bucket.DiscardUnknown(m) +func (m *RecordTransformations) XXX_Size() int { + return xxx_messageInfo_RecordTransformations.Size(m) } - -var xxx_messageInfo_BucketingConfig_Bucket proto.InternalMessageInfo - -func (m *BucketingConfig_Bucket) GetMin() *Value { - if m != nil { - return m.Min - } - return nil +func (m *RecordTransformations) XXX_DiscardUnknown() { + xxx_messageInfo_RecordTransformations.DiscardUnknown(m) } -func (m *BucketingConfig_Bucket) GetMax() *Value { +var xxx_messageInfo_RecordTransformations proto.InternalMessageInfo + +func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation { if m != nil { - return m.Max + return m.FieldTransformations } return nil } -func (m *BucketingConfig_Bucket) GetReplacementValue() *Value { +func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression { if m != nil { - return m.ReplacementValue + return m.RecordSuppressions } return nil } -// Replaces an identifier with a surrogate using FPE with the FFX -// mode of operation; however when used in the `ReidentifyContent` API method, -// it serves the opposite function by reversing the surrogate back into -// the original identifier. -// The identifier must be encoded as ASCII. -// For a given crypto key and context, the same identifier will be -// replaced with the same surrogate. -// Identifiers must be at least two characters long. -// In the case that the identifier is the empty string, it will be skipped. -// See https://cloud.google.com/dlp/docs/pseudonymization to learn more. -type CryptoReplaceFfxFpeConfig struct { - // The key used by the encryption algorithm. [required] - CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` - // The 'tweak', a context may be used for higher security since the same - // identifier in two different contexts won't be given the same surrogate. If - // the context is not set, a default tweak will be used. - // - // If the context is set but: - // - // 1. there is no record present when transforming a given value or - // 1. the field is not present when transforming a given value, - // - // a default tweak will be used. - // - // Note that case (1) is expected when an `InfoTypeTransformation` is - // applied to both structured and non-structured `ContentItem`s. - // Currently, the referenced field may be of value type integer or string. - // - // The tweak is constructed as a sequence of bytes in big endian byte order - // such that: - // - // - a 64 bit integer is encoded followed by a single byte of value 1 - // - a string is encoded in UTF-8 format followed by a single byte of value 2 - Context *FieldId `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` - // Types that are valid to be assigned to Alphabet: - // *CryptoReplaceFfxFpeConfig_CommonAlphabet - // *CryptoReplaceFfxFpeConfig_CustomAlphabet - // *CryptoReplaceFfxFpeConfig_Radix - Alphabet isCryptoReplaceFfxFpeConfig_Alphabet `protobuf_oneof:"alphabet"` - // The custom infoType to annotate the surrogate with. - // This annotation will be applied to the surrogate by prefixing it with - // the name of the custom infoType followed by the number of - // characters comprising the surrogate. The following scheme defines the - // format: info_type_name(surrogate_character_count):surrogate - // - // For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and - // the surrogate is 'abc', the full replacement value - // will be: 'MY_TOKEN_INFO_TYPE(3):abc' - // - // This annotation identifies the surrogate when inspecting content using the - // custom infoType - // [`SurrogateType`](/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype). - // This facilitates reversal of the surrogate when it occurs in free text. - // - // In order for inspection to work properly, the name of this infoType must - // not occur naturally anywhere in your data; otherwise, inspection may - // find a surrogate that does not correspond to an actual identifier. - // Therefore, choose your custom infoType name carefully after considering - // what your data looks like. One way to select a name that has a high chance - // of yielding reliable detection is to include one or more unicode characters - // that are highly improbable to exist in your data. - // For example, assuming your data is entered from a regular ASCII keyboard, - // the symbol with the hex code point 29DD might be used like so: - // ⧝MY_TOKEN_TYPE - SurrogateInfoType *InfoType `protobuf:"bytes,8,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Configuration to suppress records whose suppression conditions evaluate to +// true. +type RecordSuppression struct { + // A condition that when it evaluates to true will result in the record being + // evaluated to be suppressed from the transformed content. + Condition *RecordCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CryptoReplaceFfxFpeConfig) Reset() { *m = CryptoReplaceFfxFpeConfig{} } -func (m *CryptoReplaceFfxFpeConfig) String() string { return proto.CompactTextString(m) } -func (*CryptoReplaceFfxFpeConfig) ProtoMessage() {} -func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{49} +func (m *RecordSuppression) Reset() { *m = RecordSuppression{} } +func (m *RecordSuppression) String() string { return proto.CompactTextString(m) } +func (*RecordSuppression) ProtoMessage() {} +func (*RecordSuppression) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{62} } -func (m *CryptoReplaceFfxFpeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Unmarshal(m, b) +func (m *RecordSuppression) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordSuppression.Unmarshal(m, b) } -func (m *CryptoReplaceFfxFpeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Marshal(b, m, deterministic) +func (m *RecordSuppression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordSuppression.Marshal(b, m, deterministic) } -func (dst *CryptoReplaceFfxFpeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoReplaceFfxFpeConfig.Merge(dst, src) +func (dst *RecordSuppression) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordSuppression.Merge(dst, src) } -func (m *CryptoReplaceFfxFpeConfig) XXX_Size() int { - return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Size(m) +func (m *RecordSuppression) XXX_Size() int { + return xxx_messageInfo_RecordSuppression.Size(m) } -func (m *CryptoReplaceFfxFpeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CryptoReplaceFfxFpeConfig.DiscardUnknown(m) +func (m *RecordSuppression) XXX_DiscardUnknown() { + xxx_messageInfo_RecordSuppression.DiscardUnknown(m) } -var xxx_messageInfo_CryptoReplaceFfxFpeConfig proto.InternalMessageInfo +var xxx_messageInfo_RecordSuppression proto.InternalMessageInfo -type isCryptoReplaceFfxFpeConfig_Alphabet interface { - isCryptoReplaceFfxFpeConfig_Alphabet() +func (m *RecordSuppression) GetCondition() *RecordCondition { + if m != nil { + return m.Condition + } + return nil } -type CryptoReplaceFfxFpeConfig_CommonAlphabet struct { - CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `protobuf:"varint,4,opt,name=common_alphabet,json=commonAlphabet,proto3,enum=google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet,oneof"` +// A condition for determining whether a transformation should be applied to +// a field. +type RecordCondition struct { + // An expression. + Expressions *RecordCondition_Expressions `protobuf:"bytes,3,opt,name=expressions,proto3" json:"expressions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type CryptoReplaceFfxFpeConfig_CustomAlphabet struct { - CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"` + +func (m *RecordCondition) Reset() { *m = RecordCondition{} } +func (m *RecordCondition) String() string { return proto.CompactTextString(m) } +func (*RecordCondition) ProtoMessage() {} +func (*RecordCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{63} } -type CryptoReplaceFfxFpeConfig_Radix struct { - Radix int32 `protobuf:"varint,6,opt,name=radix,proto3,oneof"` +func (m *RecordCondition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordCondition.Unmarshal(m, b) +} +func (m *RecordCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordCondition.Marshal(b, m, deterministic) +} +func (dst *RecordCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordCondition.Merge(dst, src) +} +func (m *RecordCondition) XXX_Size() int { + return xxx_messageInfo_RecordCondition.Size(m) +} +func (m *RecordCondition) XXX_DiscardUnknown() { + xxx_messageInfo_RecordCondition.DiscardUnknown(m) } -func (*CryptoReplaceFfxFpeConfig_CommonAlphabet) isCryptoReplaceFfxFpeConfig_Alphabet() {} -func (*CryptoReplaceFfxFpeConfig_CustomAlphabet) isCryptoReplaceFfxFpeConfig_Alphabet() {} -func (*CryptoReplaceFfxFpeConfig_Radix) isCryptoReplaceFfxFpeConfig_Alphabet() {} +var xxx_messageInfo_RecordCondition proto.InternalMessageInfo -func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet { +func (m *RecordCondition) GetExpressions() *RecordCondition_Expressions { if m != nil { - return m.Alphabet + return m.Expressions } return nil } -func (m *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey { - if m != nil { - return m.CryptoKey - } - return nil +// The field type of `value` and `field` do not need to match to be +// considered equal, but not all comparisons are possible. +// +// A `value` of type: +// +// - `string` can be compared against all other types +// - `boolean` can only be compared against other booleans +// - `integer` can be compared against doubles or a string if the string value +// can be parsed as an integer. +// - `double` can be compared against integers or a string if the string can +// be parsed as a double. +// - `Timestamp` can be compared against strings in RFC 3339 date string +// format. +// - `TimeOfDay` can be compared against timestamps and strings in the format +// of 'HH:mm:ss'. +// +// If we fail to compare do to type mismatch, a warning will be given and +// the condition will evaluate to false. +type RecordCondition_Condition struct { + // Field within the record this condition is evaluated against. [required] + Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + // Operator used to compare the field or infoType to the value. [required] + Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=google.privacy.dlp.v2.RelationalOperator" json:"operator,omitempty"` + // Value to compare against. [Required, except for `EXISTS` tests.] + Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CryptoReplaceFfxFpeConfig) GetContext() *FieldId { - if m != nil { - return m.Context - } - return nil +func (m *RecordCondition_Condition) Reset() { *m = RecordCondition_Condition{} } +func (m *RecordCondition_Condition) String() string { return proto.CompactTextString(m) } +func (*RecordCondition_Condition) ProtoMessage() {} +func (*RecordCondition_Condition) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{63, 0} } - -func (m *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet { - if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_CommonAlphabet); ok { - return x.CommonAlphabet - } - return CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED +func (m *RecordCondition_Condition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordCondition_Condition.Unmarshal(m, b) } - -func (m *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string { - if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_CustomAlphabet); ok { - return x.CustomAlphabet - } - return "" +func (m *RecordCondition_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordCondition_Condition.Marshal(b, m, deterministic) } - -func (m *CryptoReplaceFfxFpeConfig) GetRadix() int32 { - if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_Radix); ok { - return x.Radix - } - return 0 +func (dst *RecordCondition_Condition) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordCondition_Condition.Merge(dst, src) } - -func (m *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType { - if m != nil { - return m.SurrogateInfoType - } - return nil +func (m *RecordCondition_Condition) XXX_Size() int { + return xxx_messageInfo_RecordCondition_Condition.Size(m) } - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CryptoReplaceFfxFpeConfig_OneofMarshaler, _CryptoReplaceFfxFpeConfig_OneofUnmarshaler, _CryptoReplaceFfxFpeConfig_OneofSizer, []interface{}{ - (*CryptoReplaceFfxFpeConfig_CommonAlphabet)(nil), - (*CryptoReplaceFfxFpeConfig_CustomAlphabet)(nil), - (*CryptoReplaceFfxFpeConfig_Radix)(nil), - } +func (m *RecordCondition_Condition) XXX_DiscardUnknown() { + xxx_messageInfo_RecordCondition_Condition.DiscardUnknown(m) } -func _CryptoReplaceFfxFpeConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CryptoReplaceFfxFpeConfig) - // alphabet - switch x := m.Alphabet.(type) { - case *CryptoReplaceFfxFpeConfig_CommonAlphabet: - b.EncodeVarint(4<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.CommonAlphabet)) - case *CryptoReplaceFfxFpeConfig_CustomAlphabet: - b.EncodeVarint(5<<3 | proto.WireBytes) - b.EncodeStringBytes(x.CustomAlphabet) - case *CryptoReplaceFfxFpeConfig_Radix: - b.EncodeVarint(6<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.Radix)) - case nil: - default: - return fmt.Errorf("CryptoReplaceFfxFpeConfig.Alphabet has unexpected type %T", x) +var xxx_messageInfo_RecordCondition_Condition proto.InternalMessageInfo + +func (m *RecordCondition_Condition) GetField() *FieldId { + if m != nil { + return m.Field } return nil } -func _CryptoReplaceFfxFpeConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CryptoReplaceFfxFpeConfig) - switch tag { - case 4: // alphabet.common_alphabet - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Alphabet = &CryptoReplaceFfxFpeConfig_CommonAlphabet{CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet(x)} - return true, err - case 5: // alphabet.custom_alphabet - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Alphabet = &CryptoReplaceFfxFpeConfig_CustomAlphabet{x} - return true, err - case 6: // alphabet.radix - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Alphabet = &CryptoReplaceFfxFpeConfig_Radix{int32(x)} - return true, err - default: - return false, nil +func (m *RecordCondition_Condition) GetOperator() RelationalOperator { + if m != nil { + return m.Operator } + return RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED } -func _CryptoReplaceFfxFpeConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CryptoReplaceFfxFpeConfig) - // alphabet - switch x := m.Alphabet.(type) { - case *CryptoReplaceFfxFpeConfig_CommonAlphabet: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.CommonAlphabet)) - case *CryptoReplaceFfxFpeConfig_CustomAlphabet: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.CustomAlphabet))) - n += len(x.CustomAlphabet) - case *CryptoReplaceFfxFpeConfig_Radix: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.Radix)) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +func (m *RecordCondition_Condition) GetValue() *Value { + if m != nil { + return m.Value } - return n + return nil } -// This is a data encryption key (DEK) (as opposed to -// a key encryption key (KEK) stored by KMS). -// When using KMS to wrap/unwrap DEKs, be sure to set an appropriate -// IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot -// unwrap the data crypto key. -type CryptoKey struct { - // Types that are valid to be assigned to Source: - // *CryptoKey_Transient - // *CryptoKey_Unwrapped - // *CryptoKey_KmsWrapped - Source isCryptoKey_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// A collection of conditions. +type RecordCondition_Conditions struct { + Conditions []*RecordCondition_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CryptoKey) Reset() { *m = CryptoKey{} } -func (m *CryptoKey) String() string { return proto.CompactTextString(m) } -func (*CryptoKey) ProtoMessage() {} -func (*CryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{50} +func (m *RecordCondition_Conditions) Reset() { *m = RecordCondition_Conditions{} } +func (m *RecordCondition_Conditions) String() string { return proto.CompactTextString(m) } +func (*RecordCondition_Conditions) ProtoMessage() {} +func (*RecordCondition_Conditions) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{63, 1} } -func (m *CryptoKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CryptoKey.Unmarshal(m, b) +func (m *RecordCondition_Conditions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordCondition_Conditions.Unmarshal(m, b) } -func (m *CryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CryptoKey.Marshal(b, m, deterministic) +func (m *RecordCondition_Conditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordCondition_Conditions.Marshal(b, m, deterministic) } -func (dst *CryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoKey.Merge(dst, src) +func (dst *RecordCondition_Conditions) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordCondition_Conditions.Merge(dst, src) } -func (m *CryptoKey) XXX_Size() int { - return xxx_messageInfo_CryptoKey.Size(m) +func (m *RecordCondition_Conditions) XXX_Size() int { + return xxx_messageInfo_RecordCondition_Conditions.Size(m) } -func (m *CryptoKey) XXX_DiscardUnknown() { - xxx_messageInfo_CryptoKey.DiscardUnknown(m) +func (m *RecordCondition_Conditions) XXX_DiscardUnknown() { + xxx_messageInfo_RecordCondition_Conditions.DiscardUnknown(m) } -var xxx_messageInfo_CryptoKey proto.InternalMessageInfo +var xxx_messageInfo_RecordCondition_Conditions proto.InternalMessageInfo -type isCryptoKey_Source interface { - isCryptoKey_Source() +func (m *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition { + if m != nil { + return m.Conditions + } + return nil } -type CryptoKey_Transient struct { - Transient *TransientCryptoKey `protobuf:"bytes,1,opt,name=transient,proto3,oneof"` +// An expression, consisting or an operator and conditions. +type RecordCondition_Expressions struct { + // The operator to apply to the result of conditions. Default and currently + // only supported value is `AND`. + LogicalOperator RecordCondition_Expressions_LogicalOperator `protobuf:"varint,1,opt,name=logical_operator,json=logicalOperator,proto3,enum=google.privacy.dlp.v2.RecordCondition_Expressions_LogicalOperator" json:"logical_operator,omitempty"` + // Types that are valid to be assigned to Type: + // *RecordCondition_Expressions_Conditions + Type isRecordCondition_Expressions_Type `protobuf_oneof:"type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type CryptoKey_Unwrapped struct { - Unwrapped *UnwrappedCryptoKey `protobuf:"bytes,2,opt,name=unwrapped,proto3,oneof"` + +func (m *RecordCondition_Expressions) Reset() { *m = RecordCondition_Expressions{} } +func (m *RecordCondition_Expressions) String() string { return proto.CompactTextString(m) } +func (*RecordCondition_Expressions) ProtoMessage() {} +func (*RecordCondition_Expressions) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{63, 2} } -type CryptoKey_KmsWrapped struct { - KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,proto3,oneof"` +func (m *RecordCondition_Expressions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecordCondition_Expressions.Unmarshal(m, b) +} +func (m *RecordCondition_Expressions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecordCondition_Expressions.Marshal(b, m, deterministic) +} +func (dst *RecordCondition_Expressions) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordCondition_Expressions.Merge(dst, src) +} +func (m *RecordCondition_Expressions) XXX_Size() int { + return xxx_messageInfo_RecordCondition_Expressions.Size(m) +} +func (m *RecordCondition_Expressions) XXX_DiscardUnknown() { + xxx_messageInfo_RecordCondition_Expressions.DiscardUnknown(m) } -func (*CryptoKey_Transient) isCryptoKey_Source() {} -func (*CryptoKey_Unwrapped) isCryptoKey_Source() {} -func (*CryptoKey_KmsWrapped) isCryptoKey_Source() {} +var xxx_messageInfo_RecordCondition_Expressions proto.InternalMessageInfo -func (m *CryptoKey) GetSource() isCryptoKey_Source { +func (m *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator { if m != nil { - return m.Source + return m.LogicalOperator } - return nil + return RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED } -func (m *CryptoKey) GetTransient() *TransientCryptoKey { - if x, ok := m.GetSource().(*CryptoKey_Transient); ok { - return x.Transient - } - return nil +type isRecordCondition_Expressions_Type interface { + isRecordCondition_Expressions_Type() } -func (m *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey { - if x, ok := m.GetSource().(*CryptoKey_Unwrapped); ok { - return x.Unwrapped +type RecordCondition_Expressions_Conditions struct { + Conditions *RecordCondition_Conditions `protobuf:"bytes,3,opt,name=conditions,proto3,oneof"` +} + +func (*RecordCondition_Expressions_Conditions) isRecordCondition_Expressions_Type() {} + +func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type { + if m != nil { + return m.Type } return nil } -func (m *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey { - if x, ok := m.GetSource().(*CryptoKey_KmsWrapped); ok { - return x.KmsWrapped +func (m *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions { + if x, ok := m.GetType().(*RecordCondition_Expressions_Conditions); ok { + return x.Conditions } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*CryptoKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CryptoKey_OneofMarshaler, _CryptoKey_OneofUnmarshaler, _CryptoKey_OneofSizer, []interface{}{ - (*CryptoKey_Transient)(nil), - (*CryptoKey_Unwrapped)(nil), - (*CryptoKey_KmsWrapped)(nil), +func (*RecordCondition_Expressions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _RecordCondition_Expressions_OneofMarshaler, _RecordCondition_Expressions_OneofUnmarshaler, _RecordCondition_Expressions_OneofSizer, []interface{}{ + (*RecordCondition_Expressions_Conditions)(nil), } } -func _CryptoKey_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CryptoKey) - // source - switch x := m.Source.(type) { - case *CryptoKey_Transient: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Transient); err != nil { - return err - } - case *CryptoKey_Unwrapped: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Unwrapped); err != nil { - return err - } - case *CryptoKey_KmsWrapped: +func _RecordCondition_Expressions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*RecordCondition_Expressions) + // type + switch x := m.Type.(type) { + case *RecordCondition_Expressions_Conditions: b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.KmsWrapped); err != nil { + if err := b.EncodeMessage(x.Conditions); err != nil { return err } case nil: default: - return fmt.Errorf("CryptoKey.Source has unexpected type %T", x) + return fmt.Errorf("RecordCondition_Expressions.Type has unexpected type %T", x) } return nil } -func _CryptoKey_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CryptoKey) +func _RecordCondition_Expressions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*RecordCondition_Expressions) switch tag { - case 1: // source.transient - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(TransientCryptoKey) - err := b.DecodeMessage(msg) - m.Source = &CryptoKey_Transient{msg} - return true, err - case 2: // source.unwrapped - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(UnwrappedCryptoKey) - err := b.DecodeMessage(msg) - m.Source = &CryptoKey_Unwrapped{msg} - return true, err - case 3: // source.kms_wrapped + case 3: // type.conditions if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(KmsWrappedCryptoKey) + msg := new(RecordCondition_Conditions) err := b.DecodeMessage(msg) - m.Source = &CryptoKey_KmsWrapped{msg} + m.Type = &RecordCondition_Expressions_Conditions{msg} return true, err default: return false, nil } } -func _CryptoKey_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CryptoKey) - // source - switch x := m.Source.(type) { - case *CryptoKey_Transient: - s := proto.Size(x.Transient) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *CryptoKey_Unwrapped: - s := proto.Size(x.Unwrapped) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *CryptoKey_KmsWrapped: - s := proto.Size(x.KmsWrapped) +func _RecordCondition_Expressions_OneofSizer(msg proto.Message) (n int) { + m := msg.(*RecordCondition_Expressions) + // type + switch x := m.Type.(type) { + case *RecordCondition_Expressions_Conditions: + s := proto.Size(x.Conditions) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -7659,560 +9223,313 @@ func _CryptoKey_OneofSizer(msg proto.Message) (n int) { return n } -// Use this to have a random data crypto key generated. -// It will be discarded after the request finishes. -type TransientCryptoKey struct { - // Name of the key. [required] - // This is an arbitrary string used to differentiate different keys. - // A unique key is generated per name: two separate `TransientCryptoKey` - // protos share the same generated key if their names are the same. - // When the data crypto key is generated, this name is not used in any way - // (repeating the api call will result in a different key being generated). - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Overview of the modifications that occurred. +type TransformationOverview struct { + // Total size in bytes that were transformed in some way. + TransformedBytes int64 `protobuf:"varint,2,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` + // Transformations applied to the dataset. + TransformationSummaries []*TransformationSummary `protobuf:"bytes,3,rep,name=transformation_summaries,json=transformationSummaries,proto3" json:"transformation_summaries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *TransientCryptoKey) Reset() { *m = TransientCryptoKey{} } -func (m *TransientCryptoKey) String() string { return proto.CompactTextString(m) } -func (*TransientCryptoKey) ProtoMessage() {} -func (*TransientCryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{51} +func (m *TransformationOverview) Reset() { *m = TransformationOverview{} } +func (m *TransformationOverview) String() string { return proto.CompactTextString(m) } +func (*TransformationOverview) ProtoMessage() {} +func (*TransformationOverview) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{64} } -func (m *TransientCryptoKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransientCryptoKey.Unmarshal(m, b) +func (m *TransformationOverview) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TransformationOverview.Unmarshal(m, b) } -func (m *TransientCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransientCryptoKey.Marshal(b, m, deterministic) +func (m *TransformationOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TransformationOverview.Marshal(b, m, deterministic) } -func (dst *TransientCryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransientCryptoKey.Merge(dst, src) +func (dst *TransformationOverview) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransformationOverview.Merge(dst, src) } -func (m *TransientCryptoKey) XXX_Size() int { - return xxx_messageInfo_TransientCryptoKey.Size(m) +func (m *TransformationOverview) XXX_Size() int { + return xxx_messageInfo_TransformationOverview.Size(m) } -func (m *TransientCryptoKey) XXX_DiscardUnknown() { - xxx_messageInfo_TransientCryptoKey.DiscardUnknown(m) +func (m *TransformationOverview) XXX_DiscardUnknown() { + xxx_messageInfo_TransformationOverview.DiscardUnknown(m) } -var xxx_messageInfo_TransientCryptoKey proto.InternalMessageInfo +var xxx_messageInfo_TransformationOverview proto.InternalMessageInfo -func (m *TransientCryptoKey) GetName() string { +func (m *TransformationOverview) GetTransformedBytes() int64 { if m != nil { - return m.Name + return m.TransformedBytes } - return "" -} - -// Using raw keys is prone to security risks due to accidentally -// leaking the key. Choose another type of key if possible. -type UnwrappedCryptoKey struct { - // The AES 128/192/256 bit key. [required] - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UnwrappedCryptoKey) Reset() { *m = UnwrappedCryptoKey{} } -func (m *UnwrappedCryptoKey) String() string { return proto.CompactTextString(m) } -func (*UnwrappedCryptoKey) ProtoMessage() {} -func (*UnwrappedCryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{52} -} -func (m *UnwrappedCryptoKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnwrappedCryptoKey.Unmarshal(m, b) -} -func (m *UnwrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnwrappedCryptoKey.Marshal(b, m, deterministic) -} -func (dst *UnwrappedCryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnwrappedCryptoKey.Merge(dst, src) -} -func (m *UnwrappedCryptoKey) XXX_Size() int { - return xxx_messageInfo_UnwrappedCryptoKey.Size(m) -} -func (m *UnwrappedCryptoKey) XXX_DiscardUnknown() { - xxx_messageInfo_UnwrappedCryptoKey.DiscardUnknown(m) + return 0 } -var xxx_messageInfo_UnwrappedCryptoKey proto.InternalMessageInfo - -func (m *UnwrappedCryptoKey) GetKey() []byte { +func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary { if m != nil { - return m.Key + return m.TransformationSummaries } return nil } -// Include to use an existing data crypto key wrapped by KMS. -// Authorization requires the following IAM permissions when sending a request -// to perform a crypto transformation using a kms-wrapped crypto key: -// dlp.kms.encrypt -type KmsWrappedCryptoKey struct { - // The wrapped data crypto key. [required] - WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"` - // The resource name of the KMS CryptoKey to use for unwrapping. [required] - CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"` +// Summary of a single tranformation. +// Only one of 'transformation', 'field_transformation', or 'record_suppress' +// will be set. +type TransformationSummary struct { + // Set if the transformation was limited to a specific info_type. + InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` + // Set if the transformation was limited to a specific FieldId. + Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` + // The specific transformation these stats apply to. + Transformation *PrimitiveTransformation `protobuf:"bytes,3,opt,name=transformation,proto3" json:"transformation,omitempty"` + // The field transformation that was applied. + // If multiple field transformations are requested for a single field, + // this list will contain all of them; otherwise, only one is supplied. + FieldTransformations []*FieldTransformation `protobuf:"bytes,5,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"` + // The specific suppression option these stats apply to. + RecordSuppress *RecordSuppression `protobuf:"bytes,6,opt,name=record_suppress,json=recordSuppress,proto3" json:"record_suppress,omitempty"` + Results []*TransformationSummary_SummaryResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"` + // Total size in bytes that were transformed in some way. + TransformedBytes int64 `protobuf:"varint,7,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *KmsWrappedCryptoKey) Reset() { *m = KmsWrappedCryptoKey{} } -func (m *KmsWrappedCryptoKey) String() string { return proto.CompactTextString(m) } -func (*KmsWrappedCryptoKey) ProtoMessage() {} -func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{53} -} -func (m *KmsWrappedCryptoKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KmsWrappedCryptoKey.Unmarshal(m, b) -} -func (m *KmsWrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KmsWrappedCryptoKey.Marshal(b, m, deterministic) -} -func (dst *KmsWrappedCryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_KmsWrappedCryptoKey.Merge(dst, src) -} -func (m *KmsWrappedCryptoKey) XXX_Size() int { - return xxx_messageInfo_KmsWrappedCryptoKey.Size(m) -} -func (m *KmsWrappedCryptoKey) XXX_DiscardUnknown() { - xxx_messageInfo_KmsWrappedCryptoKey.DiscardUnknown(m) -} - -var xxx_messageInfo_KmsWrappedCryptoKey proto.InternalMessageInfo - -func (m *KmsWrappedCryptoKey) GetWrappedKey() []byte { - if m != nil { - return m.WrappedKey - } - return nil -} - -func (m *KmsWrappedCryptoKey) GetCryptoKeyName() string { - if m != nil { - return m.CryptoKeyName - } - return "" -} - -// Shifts dates by random number of days, with option to be consistent for the -// same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting -// to learn more. -type DateShiftConfig struct { - // Range of shift in days. Actual shift will be selected at random within this - // range (inclusive ends). Negative means shift to earlier in time. Must not - // be more than 365250 days (1000 years) each direction. - // - // For example, 3 means shift date to at most 3 days into the future. - // [Required] - UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays,proto3" json:"upper_bound_days,omitempty"` - // For example, -5 means shift date to at most 5 days back in the past. - // [Required] - LowerBoundDays int32 `protobuf:"varint,2,opt,name=lower_bound_days,json=lowerBoundDays,proto3" json:"lower_bound_days,omitempty"` - // Points to the field that contains the context, for example, an entity id. - // If set, must also set method. If set, shift will be consistent for the - // given context. - Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` - // Method for calculating shift that takes context into consideration. If - // set, must also set context. Can only be applied to table items. - // - // Types that are valid to be assigned to Method: - // *DateShiftConfig_CryptoKey - Method isDateShiftConfig_Method `protobuf_oneof:"method"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DateShiftConfig) Reset() { *m = DateShiftConfig{} } -func (m *DateShiftConfig) String() string { return proto.CompactTextString(m) } -func (*DateShiftConfig) ProtoMessage() {} -func (*DateShiftConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{54} -} -func (m *DateShiftConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateShiftConfig.Unmarshal(m, b) -} -func (m *DateShiftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateShiftConfig.Marshal(b, m, deterministic) +func (m *TransformationSummary) Reset() { *m = TransformationSummary{} } +func (m *TransformationSummary) String() string { return proto.CompactTextString(m) } +func (*TransformationSummary) ProtoMessage() {} +func (*TransformationSummary) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{65} } -func (dst *DateShiftConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateShiftConfig.Merge(dst, src) +func (m *TransformationSummary) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TransformationSummary.Unmarshal(m, b) } -func (m *DateShiftConfig) XXX_Size() int { - return xxx_messageInfo_DateShiftConfig.Size(m) +func (m *TransformationSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TransformationSummary.Marshal(b, m, deterministic) } -func (m *DateShiftConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DateShiftConfig.DiscardUnknown(m) +func (dst *TransformationSummary) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransformationSummary.Merge(dst, src) } - -var xxx_messageInfo_DateShiftConfig proto.InternalMessageInfo - -type isDateShiftConfig_Method interface { - isDateShiftConfig_Method() +func (m *TransformationSummary) XXX_Size() int { + return xxx_messageInfo_TransformationSummary.Size(m) } - -type DateShiftConfig_CryptoKey struct { - CryptoKey *CryptoKey `protobuf:"bytes,4,opt,name=crypto_key,json=cryptoKey,proto3,oneof"` +func (m *TransformationSummary) XXX_DiscardUnknown() { + xxx_messageInfo_TransformationSummary.DiscardUnknown(m) } -func (*DateShiftConfig_CryptoKey) isDateShiftConfig_Method() {} +var xxx_messageInfo_TransformationSummary proto.InternalMessageInfo -func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method { +func (m *TransformationSummary) GetInfoType() *InfoType { if m != nil { - return m.Method + return m.InfoType } return nil } -func (m *DateShiftConfig) GetUpperBoundDays() int32 { +func (m *TransformationSummary) GetField() *FieldId { if m != nil { - return m.UpperBoundDays + return m.Field } - return 0 + return nil } -func (m *DateShiftConfig) GetLowerBoundDays() int32 { +func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation { if m != nil { - return m.LowerBoundDays + return m.Transformation } - return 0 + return nil } -func (m *DateShiftConfig) GetContext() *FieldId { +func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation { if m != nil { - return m.Context + return m.FieldTransformations } return nil } -func (m *DateShiftConfig) GetCryptoKey() *CryptoKey { - if x, ok := m.GetMethod().(*DateShiftConfig_CryptoKey); ok { - return x.CryptoKey +func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression { + if m != nil { + return m.RecordSuppress } return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*DateShiftConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _DateShiftConfig_OneofMarshaler, _DateShiftConfig_OneofUnmarshaler, _DateShiftConfig_OneofSizer, []interface{}{ - (*DateShiftConfig_CryptoKey)(nil), - } -} - -func _DateShiftConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*DateShiftConfig) - // method - switch x := m.Method.(type) { - case *DateShiftConfig_CryptoKey: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CryptoKey); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("DateShiftConfig.Method has unexpected type %T", x) +func (m *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult { + if m != nil { + return m.Results } return nil } -func _DateShiftConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*DateShiftConfig) - switch tag { - case 4: // method.crypto_key - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(CryptoKey) - err := b.DecodeMessage(msg) - m.Method = &DateShiftConfig_CryptoKey{msg} - return true, err - default: - return false, nil - } -} - -func _DateShiftConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*DateShiftConfig) - // method - switch x := m.Method.(type) { - case *DateShiftConfig_CryptoKey: - s := proto.Size(x.CryptoKey) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +func (m *TransformationSummary) GetTransformedBytes() int64 { + if m != nil { + return m.TransformedBytes } - return n + return 0 } -// A type of transformation that will scan unstructured text and -// apply various `PrimitiveTransformation`s to each finding, where the -// transformation is applied to only values that were identified as a specific -// info_type. -type InfoTypeTransformations struct { - // Transformation for each infoType. Cannot specify more than one - // for a given infoType. [required] - Transformations []*InfoTypeTransformations_InfoTypeTransformation `protobuf:"bytes,1,rep,name=transformations,proto3" json:"transformations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// A collection that informs the user the number of times a particular +// `TransformationResultCode` and error details occurred. +type TransformationSummary_SummaryResult struct { + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + Code TransformationSummary_TransformationResultCode `protobuf:"varint,2,opt,name=code,proto3,enum=google.privacy.dlp.v2.TransformationSummary_TransformationResultCode" json:"code,omitempty"` + // A place for warnings or errors to show up if a transformation didn't + // work as expected. + Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InfoTypeTransformations) Reset() { *m = InfoTypeTransformations{} } -func (m *InfoTypeTransformations) String() string { return proto.CompactTextString(m) } -func (*InfoTypeTransformations) ProtoMessage() {} -func (*InfoTypeTransformations) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{55} +func (m *TransformationSummary_SummaryResult) Reset() { *m = TransformationSummary_SummaryResult{} } +func (m *TransformationSummary_SummaryResult) String() string { return proto.CompactTextString(m) } +func (*TransformationSummary_SummaryResult) ProtoMessage() {} +func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{65, 0} } -func (m *InfoTypeTransformations) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoTypeTransformations.Unmarshal(m, b) +func (m *TransformationSummary_SummaryResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TransformationSummary_SummaryResult.Unmarshal(m, b) } -func (m *InfoTypeTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoTypeTransformations.Marshal(b, m, deterministic) +func (m *TransformationSummary_SummaryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TransformationSummary_SummaryResult.Marshal(b, m, deterministic) } -func (dst *InfoTypeTransformations) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeTransformations.Merge(dst, src) +func (dst *TransformationSummary_SummaryResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransformationSummary_SummaryResult.Merge(dst, src) } -func (m *InfoTypeTransformations) XXX_Size() int { - return xxx_messageInfo_InfoTypeTransformations.Size(m) +func (m *TransformationSummary_SummaryResult) XXX_Size() int { + return xxx_messageInfo_TransformationSummary_SummaryResult.Size(m) } -func (m *InfoTypeTransformations) XXX_DiscardUnknown() { - xxx_messageInfo_InfoTypeTransformations.DiscardUnknown(m) +func (m *TransformationSummary_SummaryResult) XXX_DiscardUnknown() { + xxx_messageInfo_TransformationSummary_SummaryResult.DiscardUnknown(m) } -var xxx_messageInfo_InfoTypeTransformations proto.InternalMessageInfo +var xxx_messageInfo_TransformationSummary_SummaryResult proto.InternalMessageInfo -func (m *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation { +func (m *TransformationSummary_SummaryResult) GetCount() int64 { if m != nil { - return m.Transformations + return m.Count } - return nil -} - -// A transformation to apply to text that is identified as a specific -// info_type. -type InfoTypeTransformations_InfoTypeTransformation struct { - // InfoTypes to apply the transformation to. An empty list will cause - // this transformation to apply to all findings that correspond to - // infoTypes that were requested in `InspectConfig`. - InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` - // Primitive transformation to apply to the infoType. [required] - PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,2,opt,name=primitive_transformation,json=primitiveTransformation,proto3" json:"primitive_transformation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InfoTypeTransformations_InfoTypeTransformation) Reset() { - *m = InfoTypeTransformations_InfoTypeTransformation{} -} -func (m *InfoTypeTransformations_InfoTypeTransformation) String() string { - return proto.CompactTextString(m) -} -func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage() {} -func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{55, 0} -} -func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Unmarshal(m, b) -} -func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Marshal(b, m, deterministic) -} -func (dst *InfoTypeTransformations_InfoTypeTransformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Merge(dst, src) -} -func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Size() int { - return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Size(m) -} -func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_DiscardUnknown() { - xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.DiscardUnknown(m) + return 0 } -var xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation proto.InternalMessageInfo - -func (m *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType { +func (m *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode { if m != nil { - return m.InfoTypes + return m.Code } - return nil + return TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED } -func (m *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation { +func (m *TransformationSummary_SummaryResult) GetDetails() string { if m != nil { - return m.PrimitiveTransformation + return m.Details } - return nil + return "" } -// The transformation to apply to the field. -type FieldTransformation struct { - // Input field(s) to apply the transformation to. [required] - Fields []*FieldId `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` - // Only apply the transformation if the condition evaluates to true for the - // given `RecordCondition`. The conditions are allowed to reference fields - // that are not used in the actual transformation. [optional] - // - // Example Use Cases: - // - // - Apply a different bucket transformation to an age column if the zip code - // column for the same record is within a specific range. - // - Redact a field if the date of birth field is greater than 85. - Condition *RecordCondition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` - // Transformation to apply. [required] - // - // Types that are valid to be assigned to Transformation: - // *FieldTransformation_PrimitiveTransformation - // *FieldTransformation_InfoTypeTransformations - Transformation isFieldTransformation_Transformation `protobuf_oneof:"transformation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Schedule for triggeredJobs. +type Schedule struct { + // Types that are valid to be assigned to Option: + // *Schedule_RecurrencePeriodDuration + Option isSchedule_Option `protobuf_oneof:"option"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *FieldTransformation) Reset() { *m = FieldTransformation{} } -func (m *FieldTransformation) String() string { return proto.CompactTextString(m) } -func (*FieldTransformation) ProtoMessage() {} -func (*FieldTransformation) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{56} -} -func (m *FieldTransformation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldTransformation.Unmarshal(m, b) -} -func (m *FieldTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldTransformation.Marshal(b, m, deterministic) -} -func (dst *FieldTransformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldTransformation.Merge(dst, src) -} -func (m *FieldTransformation) XXX_Size() int { - return xxx_messageInfo_FieldTransformation.Size(m) +func (m *Schedule) Reset() { *m = Schedule{} } +func (m *Schedule) String() string { return proto.CompactTextString(m) } +func (*Schedule) ProtoMessage() {} +func (*Schedule) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{66} } -func (m *FieldTransformation) XXX_DiscardUnknown() { - xxx_messageInfo_FieldTransformation.DiscardUnknown(m) +func (m *Schedule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Schedule.Unmarshal(m, b) } - -var xxx_messageInfo_FieldTransformation proto.InternalMessageInfo - -type isFieldTransformation_Transformation interface { - isFieldTransformation_Transformation() +func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Schedule.Marshal(b, m, deterministic) } - -type FieldTransformation_PrimitiveTransformation struct { - PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,proto3,oneof"` +func (dst *Schedule) XXX_Merge(src proto.Message) { + xxx_messageInfo_Schedule.Merge(dst, src) } -type FieldTransformation_InfoTypeTransformations struct { - InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` +func (m *Schedule) XXX_Size() int { + return xxx_messageInfo_Schedule.Size(m) +} +func (m *Schedule) XXX_DiscardUnknown() { + xxx_messageInfo_Schedule.DiscardUnknown(m) } -func (*FieldTransformation_PrimitiveTransformation) isFieldTransformation_Transformation() {} -func (*FieldTransformation_InfoTypeTransformations) isFieldTransformation_Transformation() {} +var xxx_messageInfo_Schedule proto.InternalMessageInfo -func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation { - if m != nil { - return m.Transformation - } - return nil +type isSchedule_Option interface { + isSchedule_Option() } -func (m *FieldTransformation) GetFields() []*FieldId { - if m != nil { - return m.Fields - } - return nil +type Schedule_RecurrencePeriodDuration struct { + RecurrencePeriodDuration *duration.Duration `protobuf:"bytes,1,opt,name=recurrence_period_duration,json=recurrencePeriodDuration,proto3,oneof"` } -func (m *FieldTransformation) GetCondition() *RecordCondition { - if m != nil { - return m.Condition - } - return nil -} +func (*Schedule_RecurrencePeriodDuration) isSchedule_Option() {} -func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation { - if x, ok := m.GetTransformation().(*FieldTransformation_PrimitiveTransformation); ok { - return x.PrimitiveTransformation +func (m *Schedule) GetOption() isSchedule_Option { + if m != nil { + return m.Option } return nil } -func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations { - if x, ok := m.GetTransformation().(*FieldTransformation_InfoTypeTransformations); ok { - return x.InfoTypeTransformations +func (m *Schedule) GetRecurrencePeriodDuration() *duration.Duration { + if x, ok := m.GetOption().(*Schedule_RecurrencePeriodDuration); ok { + return x.RecurrencePeriodDuration } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*FieldTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _FieldTransformation_OneofMarshaler, _FieldTransformation_OneofUnmarshaler, _FieldTransformation_OneofSizer, []interface{}{ - (*FieldTransformation_PrimitiveTransformation)(nil), - (*FieldTransformation_InfoTypeTransformations)(nil), +func (*Schedule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Schedule_OneofMarshaler, _Schedule_OneofUnmarshaler, _Schedule_OneofSizer, []interface{}{ + (*Schedule_RecurrencePeriodDuration)(nil), } } -func _FieldTransformation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*FieldTransformation) - // transformation - switch x := m.Transformation.(type) { - case *FieldTransformation_PrimitiveTransformation: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PrimitiveTransformation); err != nil { - return err - } - case *FieldTransformation_InfoTypeTransformations: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InfoTypeTransformations); err != nil { +func _Schedule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Schedule) + // option + switch x := m.Option.(type) { + case *Schedule_RecurrencePeriodDuration: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.RecurrencePeriodDuration); err != nil { return err } case nil: default: - return fmt.Errorf("FieldTransformation.Transformation has unexpected type %T", x) + return fmt.Errorf("Schedule.Option has unexpected type %T", x) } return nil } -func _FieldTransformation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*FieldTransformation) +func _Schedule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Schedule) switch tag { - case 4: // transformation.primitive_transformation - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(PrimitiveTransformation) - err := b.DecodeMessage(msg) - m.Transformation = &FieldTransformation_PrimitiveTransformation{msg} - return true, err - case 5: // transformation.info_type_transformations + case 1: // option.recurrence_period_duration if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(InfoTypeTransformations) + msg := new(duration.Duration) err := b.DecodeMessage(msg) - m.Transformation = &FieldTransformation_InfoTypeTransformations{msg} + m.Option = &Schedule_RecurrencePeriodDuration{msg} return true, err default: return false, nil } } -func _FieldTransformation_OneofSizer(msg proto.Message) (n int) { - m := msg.(*FieldTransformation) - // transformation - switch x := m.Transformation.(type) { - case *FieldTransformation_PrimitiveTransformation: - s := proto.Size(x.PrimitiveTransformation) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldTransformation_InfoTypeTransformations: - s := proto.Size(x.InfoTypeTransformations) +func _Schedule_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Schedule) + // option + switch x := m.Option.(type) { + case *Schedule_RecurrencePeriodDuration: + s := proto.Size(x.RecurrencePeriodDuration) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -8223,367 +9540,432 @@ func _FieldTransformation_OneofSizer(msg proto.Message) (n int) { return n } -// A type of transformation that is applied over structured data such as a -// table. -type RecordTransformations struct { - // Transform the record by applying various field transformations. - FieldTransformations []*FieldTransformation `protobuf:"bytes,1,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"` - // Configuration defining which records get suppressed entirely. Records that - // match any suppression rule are omitted from the output [optional]. - RecordSuppressions []*RecordSuppression `protobuf:"bytes,2,rep,name=record_suppressions,json=recordSuppressions,proto3" json:"record_suppressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// The inspectTemplate contains a configuration (set of types of sensitive data +// to be detected) to be used anywhere you otherwise would normally specify +// InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates +// to learn more. +type InspectTemplate struct { + // The template name. Output only. + // + // The template will have one of the following formats: + // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR + // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Display name (max 256 chars). + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Short description (max 256 chars). + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // The creation timestamp of a inspectTemplate, output only field. + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // The last update timestamp of a inspectTemplate, output only field. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // The core content of the template. Configuration of the scanning process. + InspectConfig *InspectConfig `protobuf:"bytes,6,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RecordTransformations) Reset() { *m = RecordTransformations{} } -func (m *RecordTransformations) String() string { return proto.CompactTextString(m) } -func (*RecordTransformations) ProtoMessage() {} -func (*RecordTransformations) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{57} +func (m *InspectTemplate) Reset() { *m = InspectTemplate{} } +func (m *InspectTemplate) String() string { return proto.CompactTextString(m) } +func (*InspectTemplate) ProtoMessage() {} +func (*InspectTemplate) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{67} } -func (m *RecordTransformations) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordTransformations.Unmarshal(m, b) +func (m *InspectTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectTemplate.Unmarshal(m, b) } -func (m *RecordTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordTransformations.Marshal(b, m, deterministic) +func (m *InspectTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectTemplate.Marshal(b, m, deterministic) } -func (dst *RecordTransformations) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordTransformations.Merge(dst, src) +func (dst *InspectTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectTemplate.Merge(dst, src) } -func (m *RecordTransformations) XXX_Size() int { - return xxx_messageInfo_RecordTransformations.Size(m) +func (m *InspectTemplate) XXX_Size() int { + return xxx_messageInfo_InspectTemplate.Size(m) } -func (m *RecordTransformations) XXX_DiscardUnknown() { - xxx_messageInfo_RecordTransformations.DiscardUnknown(m) +func (m *InspectTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_InspectTemplate.DiscardUnknown(m) } -var xxx_messageInfo_RecordTransformations proto.InternalMessageInfo +var xxx_messageInfo_InspectTemplate proto.InternalMessageInfo -func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation { +func (m *InspectTemplate) GetName() string { if m != nil { - return m.FieldTransformations + return m.Name + } + return "" +} + +func (m *InspectTemplate) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *InspectTemplate) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *InspectTemplate) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime } return nil } -func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression { +func (m *InspectTemplate) GetUpdateTime() *timestamp.Timestamp { if m != nil { - return m.RecordSuppressions + return m.UpdateTime } return nil } -// Configuration to suppress records whose suppression conditions evaluate to -// true. -type RecordSuppression struct { - // A condition that when it evaluates to true will result in the record being - // evaluated to be suppressed from the transformed content. - Condition *RecordCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *InspectTemplate) GetInspectConfig() *InspectConfig { + if m != nil { + return m.InspectConfig + } + return nil } -func (m *RecordSuppression) Reset() { *m = RecordSuppression{} } -func (m *RecordSuppression) String() string { return proto.CompactTextString(m) } -func (*RecordSuppression) ProtoMessage() {} -func (*RecordSuppression) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{58} +// The DeidentifyTemplates contains instructions on how to deidentify content. +// See https://cloud.google.com/dlp/docs/concepts-templates to learn more. +type DeidentifyTemplate struct { + // The template name. Output only. + // + // The template will have one of the following formats: + // `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR + // `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Display name (max 256 chars). + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Short description (max 256 chars). + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // The creation timestamp of a inspectTemplate, output only field. + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // The last update timestamp of a inspectTemplate, output only field. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // ///////////// // The core content of the template // /////////////// + DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,6,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RecordSuppression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordSuppression.Unmarshal(m, b) + +func (m *DeidentifyTemplate) Reset() { *m = DeidentifyTemplate{} } +func (m *DeidentifyTemplate) String() string { return proto.CompactTextString(m) } +func (*DeidentifyTemplate) ProtoMessage() {} +func (*DeidentifyTemplate) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{68} } -func (m *RecordSuppression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordSuppression.Marshal(b, m, deterministic) +func (m *DeidentifyTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeidentifyTemplate.Unmarshal(m, b) } -func (dst *RecordSuppression) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordSuppression.Merge(dst, src) +func (m *DeidentifyTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeidentifyTemplate.Marshal(b, m, deterministic) } -func (m *RecordSuppression) XXX_Size() int { - return xxx_messageInfo_RecordSuppression.Size(m) +func (dst *DeidentifyTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeidentifyTemplate.Merge(dst, src) } -func (m *RecordSuppression) XXX_DiscardUnknown() { - xxx_messageInfo_RecordSuppression.DiscardUnknown(m) +func (m *DeidentifyTemplate) XXX_Size() int { + return xxx_messageInfo_DeidentifyTemplate.Size(m) +} +func (m *DeidentifyTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_DeidentifyTemplate.DiscardUnknown(m) } -var xxx_messageInfo_RecordSuppression proto.InternalMessageInfo +var xxx_messageInfo_DeidentifyTemplate proto.InternalMessageInfo -func (m *RecordSuppression) GetCondition() *RecordCondition { +func (m *DeidentifyTemplate) GetName() string { if m != nil { - return m.Condition + return m.Name } - return nil + return "" } -// A condition for determining whether a transformation should be applied to -// a field. -type RecordCondition struct { - // An expression. - Expressions *RecordCondition_Expressions `protobuf:"bytes,3,opt,name=expressions,proto3" json:"expressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *DeidentifyTemplate) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" } -func (m *RecordCondition) Reset() { *m = RecordCondition{} } -func (m *RecordCondition) String() string { return proto.CompactTextString(m) } -func (*RecordCondition) ProtoMessage() {} -func (*RecordCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{59} -} -func (m *RecordCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordCondition.Unmarshal(m, b) -} -func (m *RecordCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordCondition.Marshal(b, m, deterministic) -} -func (dst *RecordCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition.Merge(dst, src) -} -func (m *RecordCondition) XXX_Size() int { - return xxx_messageInfo_RecordCondition.Size(m) +func (m *DeidentifyTemplate) GetDescription() string { + if m != nil { + return m.Description + } + return "" } -func (m *RecordCondition) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition.DiscardUnknown(m) + +func (m *DeidentifyTemplate) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil } -var xxx_messageInfo_RecordCondition proto.InternalMessageInfo +func (m *DeidentifyTemplate) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} -func (m *RecordCondition) GetExpressions() *RecordCondition_Expressions { +func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig { if m != nil { - return m.Expressions + return m.DeidentifyConfig } return nil } -// The field type of `value` and `field` do not need to match to be -// considered equal, but not all comparisons are possible. -// -// A `value` of type: -// -// - `string` can be compared against all other types -// - `boolean` can only be compared against other booleans -// - `integer` can be compared against doubles or a string if the string value -// can be parsed as an integer. -// - `double` can be compared against integers or a string if the string can -// be parsed as a double. -// - `Timestamp` can be compared against strings in RFC 3339 date string -// format. -// - `TimeOfDay` can be compared against timestamps and strings in the format -// of 'HH:mm:ss'. -// -// If we fail to compare do to type mismatch, a warning will be given and -// the condition will evaluate to false. -type RecordCondition_Condition struct { - // Field within the record this condition is evaluated against. [required] - Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // Operator used to compare the field or infoType to the value. [required] - Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=google.privacy.dlp.v2.RelationalOperator" json:"operator,omitempty"` - // Value to compare against. [Required, except for `EXISTS` tests.] - Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Details information about an error encountered during job execution or +// the results of an unsuccessful activation of the JobTrigger. +// Output only field. +type Error struct { + Details *status.Status `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // The times the error occurred. + Timestamps []*timestamp.Timestamp `protobuf:"bytes,2,rep,name=timestamps,proto3" json:"timestamps,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RecordCondition_Condition) Reset() { *m = RecordCondition_Condition{} } -func (m *RecordCondition_Condition) String() string { return proto.CompactTextString(m) } -func (*RecordCondition_Condition) ProtoMessage() {} -func (*RecordCondition_Condition) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{59, 0} +func (m *Error) Reset() { *m = Error{} } +func (m *Error) String() string { return proto.CompactTextString(m) } +func (*Error) ProtoMessage() {} +func (*Error) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{69} } -func (m *RecordCondition_Condition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordCondition_Condition.Unmarshal(m, b) +func (m *Error) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Error.Unmarshal(m, b) } -func (m *RecordCondition_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordCondition_Condition.Marshal(b, m, deterministic) +func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Error.Marshal(b, m, deterministic) } -func (dst *RecordCondition_Condition) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition_Condition.Merge(dst, src) +func (dst *Error) XXX_Merge(src proto.Message) { + xxx_messageInfo_Error.Merge(dst, src) } -func (m *RecordCondition_Condition) XXX_Size() int { - return xxx_messageInfo_RecordCondition_Condition.Size(m) +func (m *Error) XXX_Size() int { + return xxx_messageInfo_Error.Size(m) } -func (m *RecordCondition_Condition) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition_Condition.DiscardUnknown(m) +func (m *Error) XXX_DiscardUnknown() { + xxx_messageInfo_Error.DiscardUnknown(m) } -var xxx_messageInfo_RecordCondition_Condition proto.InternalMessageInfo +var xxx_messageInfo_Error proto.InternalMessageInfo -func (m *RecordCondition_Condition) GetField() *FieldId { +func (m *Error) GetDetails() *status.Status { if m != nil { - return m.Field + return m.Details } return nil } -func (m *RecordCondition_Condition) GetOperator() RelationalOperator { - if m != nil { - return m.Operator - } - return RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED -} - -func (m *RecordCondition_Condition) GetValue() *Value { +func (m *Error) GetTimestamps() []*timestamp.Timestamp { if m != nil { - return m.Value + return m.Timestamps } return nil } -// A collection of conditions. -type RecordCondition_Conditions struct { - Conditions []*RecordCondition_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Contains a configuration to make dlp api calls on a repeating basis. +// See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more. +type JobTrigger struct { + // Unique resource name for the triggeredJob, assigned by the service when the + // triggeredJob is created, for example + // `projects/dlp-test-project/triggeredJobs/53234423`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Display name (max 100 chars) + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // User provided description (max 256 chars) + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // The configuration details for the specific type of job to run. + // + // Types that are valid to be assigned to Job: + // *JobTrigger_InspectJob + Job isJobTrigger_Job `protobuf_oneof:"job"` + // A list of triggers which will be OR'ed together. Only one in the list + // needs to trigger for a job to be started. The list may contain only + // a single Schedule trigger and must have at least one object. + Triggers []*JobTrigger_Trigger `protobuf:"bytes,5,rep,name=triggers,proto3" json:"triggers,omitempty"` + // A stream of errors encountered when the trigger was activated. Repeated + // errors may result in the JobTrigger automatically being paused. + // Will return the last 100 errors. Whenever the JobTrigger is modified + // this list will be cleared. Output only field. + Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` + // The creation timestamp of a triggeredJob, output only field. + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // The last update timestamp of a triggeredJob, output only field. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // The timestamp of the last time this trigger executed, output only field. + LastRunTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"` + // A status for this trigger. [required] + Status JobTrigger_Status `protobuf:"varint,10,opt,name=status,proto3,enum=google.privacy.dlp.v2.JobTrigger_Status" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RecordCondition_Conditions) Reset() { *m = RecordCondition_Conditions{} } -func (m *RecordCondition_Conditions) String() string { return proto.CompactTextString(m) } -func (*RecordCondition_Conditions) ProtoMessage() {} -func (*RecordCondition_Conditions) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{59, 1} +func (m *JobTrigger) Reset() { *m = JobTrigger{} } +func (m *JobTrigger) String() string { return proto.CompactTextString(m) } +func (*JobTrigger) ProtoMessage() {} +func (*JobTrigger) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{70} } -func (m *RecordCondition_Conditions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordCondition_Conditions.Unmarshal(m, b) +func (m *JobTrigger) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_JobTrigger.Unmarshal(m, b) } -func (m *RecordCondition_Conditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordCondition_Conditions.Marshal(b, m, deterministic) +func (m *JobTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_JobTrigger.Marshal(b, m, deterministic) } -func (dst *RecordCondition_Conditions) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition_Conditions.Merge(dst, src) +func (dst *JobTrigger) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobTrigger.Merge(dst, src) } -func (m *RecordCondition_Conditions) XXX_Size() int { - return xxx_messageInfo_RecordCondition_Conditions.Size(m) +func (m *JobTrigger) XXX_Size() int { + return xxx_messageInfo_JobTrigger.Size(m) } -func (m *RecordCondition_Conditions) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition_Conditions.DiscardUnknown(m) +func (m *JobTrigger) XXX_DiscardUnknown() { + xxx_messageInfo_JobTrigger.DiscardUnknown(m) } -var xxx_messageInfo_RecordCondition_Conditions proto.InternalMessageInfo +var xxx_messageInfo_JobTrigger proto.InternalMessageInfo -func (m *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition { +func (m *JobTrigger) GetName() string { if m != nil { - return m.Conditions + return m.Name } - return nil -} - -// An expression, consisting or an operator and conditions. -type RecordCondition_Expressions struct { - // The operator to apply to the result of conditions. Default and currently - // only supported value is `AND`. - LogicalOperator RecordCondition_Expressions_LogicalOperator `protobuf:"varint,1,opt,name=logical_operator,json=logicalOperator,proto3,enum=google.privacy.dlp.v2.RecordCondition_Expressions_LogicalOperator" json:"logical_operator,omitempty"` - // Types that are valid to be assigned to Type: - // *RecordCondition_Expressions_Conditions - Type isRecordCondition_Expressions_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return "" } -func (m *RecordCondition_Expressions) Reset() { *m = RecordCondition_Expressions{} } -func (m *RecordCondition_Expressions) String() string { return proto.CompactTextString(m) } -func (*RecordCondition_Expressions) ProtoMessage() {} -func (*RecordCondition_Expressions) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{59, 2} -} -func (m *RecordCondition_Expressions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordCondition_Expressions.Unmarshal(m, b) -} -func (m *RecordCondition_Expressions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordCondition_Expressions.Marshal(b, m, deterministic) +func (m *JobTrigger) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" } -func (dst *RecordCondition_Expressions) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition_Expressions.Merge(dst, src) + +func (m *JobTrigger) GetDescription() string { + if m != nil { + return m.Description + } + return "" } -func (m *RecordCondition_Expressions) XXX_Size() int { - return xxx_messageInfo_RecordCondition_Expressions.Size(m) + +type isJobTrigger_Job interface { + isJobTrigger_Job() } -func (m *RecordCondition_Expressions) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition_Expressions.DiscardUnknown(m) + +type JobTrigger_InspectJob struct { + InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,proto3,oneof"` } -var xxx_messageInfo_RecordCondition_Expressions proto.InternalMessageInfo +func (*JobTrigger_InspectJob) isJobTrigger_Job() {} -type isRecordCondition_Expressions_Type interface { - isRecordCondition_Expressions_Type() +func (m *JobTrigger) GetJob() isJobTrigger_Job { + if m != nil { + return m.Job + } + return nil } -type RecordCondition_Expressions_Conditions struct { - Conditions *RecordCondition_Conditions `protobuf:"bytes,3,opt,name=conditions,proto3,oneof"` +func (m *JobTrigger) GetInspectJob() *InspectJobConfig { + if x, ok := m.GetJob().(*JobTrigger_InspectJob); ok { + return x.InspectJob + } + return nil } -func (*RecordCondition_Expressions_Conditions) isRecordCondition_Expressions_Type() {} +func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger { + if m != nil { + return m.Triggers + } + return nil +} -func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type { +func (m *JobTrigger) GetErrors() []*Error { if m != nil { - return m.Type + return m.Errors } return nil } -func (m *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator { +func (m *JobTrigger) GetCreateTime() *timestamp.Timestamp { if m != nil { - return m.LogicalOperator + return m.CreateTime } - return RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED + return nil } -func (m *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions { - if x, ok := m.GetType().(*RecordCondition_Expressions_Conditions); ok { - return x.Conditions +func (m *JobTrigger) GetUpdateTime() *timestamp.Timestamp { + if m != nil { + return m.UpdateTime + } + return nil +} + +func (m *JobTrigger) GetLastRunTime() *timestamp.Timestamp { + if m != nil { + return m.LastRunTime } return nil } +func (m *JobTrigger) GetStatus() JobTrigger_Status { + if m != nil { + return m.Status + } + return JobTrigger_STATUS_UNSPECIFIED +} + // XXX_OneofFuncs is for the internal use of the proto package. -func (*RecordCondition_Expressions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _RecordCondition_Expressions_OneofMarshaler, _RecordCondition_Expressions_OneofUnmarshaler, _RecordCondition_Expressions_OneofSizer, []interface{}{ - (*RecordCondition_Expressions_Conditions)(nil), +func (*JobTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _JobTrigger_OneofMarshaler, _JobTrigger_OneofUnmarshaler, _JobTrigger_OneofSizer, []interface{}{ + (*JobTrigger_InspectJob)(nil), } } -func _RecordCondition_Expressions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*RecordCondition_Expressions) - // type - switch x := m.Type.(type) { - case *RecordCondition_Expressions_Conditions: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Conditions); err != nil { +func _JobTrigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*JobTrigger) + // job + switch x := m.Job.(type) { + case *JobTrigger_InspectJob: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.InspectJob); err != nil { return err } case nil: default: - return fmt.Errorf("RecordCondition_Expressions.Type has unexpected type %T", x) + return fmt.Errorf("JobTrigger.Job has unexpected type %T", x) } return nil } -func _RecordCondition_Expressions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*RecordCondition_Expressions) +func _JobTrigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*JobTrigger) switch tag { - case 3: // type.conditions + case 4: // job.inspect_job if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(RecordCondition_Conditions) + msg := new(InspectJobConfig) err := b.DecodeMessage(msg) - m.Type = &RecordCondition_Expressions_Conditions{msg} + m.Job = &JobTrigger_InspectJob{msg} return true, err default: return false, nil } } -func _RecordCondition_Expressions_OneofSizer(msg proto.Message) (n int) { - m := msg.(*RecordCondition_Expressions) - // type - switch x := m.Type.(type) { - case *RecordCondition_Expressions_Conditions: - s := proto.Size(x.Conditions) +func _JobTrigger_OneofSizer(msg proto.Message) (n int) { + m := msg.(*JobTrigger) + // job + switch x := m.Job.(type) { + case *JobTrigger_InspectJob: + s := proto.Size(x.InspectJob) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -8594,313 +9976,289 @@ func _RecordCondition_Expressions_OneofSizer(msg proto.Message) (n int) { return n } -// Overview of the modifications that occurred. -type TransformationOverview struct { - // Total size in bytes that were transformed in some way. - TransformedBytes int64 `protobuf:"varint,2,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` - // Transformations applied to the dataset. - TransformationSummaries []*TransformationSummary `protobuf:"bytes,3,rep,name=transformation_summaries,json=transformationSummaries,proto3" json:"transformation_summaries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// What event needs to occur for a new job to be started. +type JobTrigger_Trigger struct { + // Types that are valid to be assigned to Trigger: + // *JobTrigger_Trigger_Schedule + Trigger isJobTrigger_Trigger_Trigger `protobuf_oneof:"trigger"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *TransformationOverview) Reset() { *m = TransformationOverview{} } -func (m *TransformationOverview) String() string { return proto.CompactTextString(m) } -func (*TransformationOverview) ProtoMessage() {} -func (*TransformationOverview) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{60} -} -func (m *TransformationOverview) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransformationOverview.Unmarshal(m, b) +func (m *JobTrigger_Trigger) Reset() { *m = JobTrigger_Trigger{} } +func (m *JobTrigger_Trigger) String() string { return proto.CompactTextString(m) } +func (*JobTrigger_Trigger) ProtoMessage() {} +func (*JobTrigger_Trigger) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{70, 0} } -func (m *TransformationOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransformationOverview.Marshal(b, m, deterministic) +func (m *JobTrigger_Trigger) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_JobTrigger_Trigger.Unmarshal(m, b) } -func (dst *TransformationOverview) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransformationOverview.Merge(dst, src) +func (m *JobTrigger_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_JobTrigger_Trigger.Marshal(b, m, deterministic) } -func (m *TransformationOverview) XXX_Size() int { - return xxx_messageInfo_TransformationOverview.Size(m) +func (dst *JobTrigger_Trigger) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobTrigger_Trigger.Merge(dst, src) } -func (m *TransformationOverview) XXX_DiscardUnknown() { - xxx_messageInfo_TransformationOverview.DiscardUnknown(m) +func (m *JobTrigger_Trigger) XXX_Size() int { + return xxx_messageInfo_JobTrigger_Trigger.Size(m) } - -var xxx_messageInfo_TransformationOverview proto.InternalMessageInfo - -func (m *TransformationOverview) GetTransformedBytes() int64 { - if m != nil { - return m.TransformedBytes - } - return 0 +func (m *JobTrigger_Trigger) XXX_DiscardUnknown() { + xxx_messageInfo_JobTrigger_Trigger.DiscardUnknown(m) } -func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary { - if m != nil { - return m.TransformationSummaries - } - return nil -} +var xxx_messageInfo_JobTrigger_Trigger proto.InternalMessageInfo -// Summary of a single tranformation. -// Only one of 'transformation', 'field_transformation', or 'record_suppress' -// will be set. -type TransformationSummary struct { - // Set if the transformation was limited to a specific info_type. - InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` - // Set if the transformation was limited to a specific FieldId. - Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` - // The specific transformation these stats apply to. - Transformation *PrimitiveTransformation `protobuf:"bytes,3,opt,name=transformation,proto3" json:"transformation,omitempty"` - // The field transformation that was applied. - // If multiple field transformations are requested for a single field, - // this list will contain all of them; otherwise, only one is supplied. - FieldTransformations []*FieldTransformation `protobuf:"bytes,5,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"` - // The specific suppression option these stats apply to. - RecordSuppress *RecordSuppression `protobuf:"bytes,6,opt,name=record_suppress,json=recordSuppress,proto3" json:"record_suppress,omitempty"` - Results []*TransformationSummary_SummaryResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"` - // Total size in bytes that were transformed in some way. - TransformedBytes int64 `protobuf:"varint,7,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type isJobTrigger_Trigger_Trigger interface { + isJobTrigger_Trigger_Trigger() } -func (m *TransformationSummary) Reset() { *m = TransformationSummary{} } -func (m *TransformationSummary) String() string { return proto.CompactTextString(m) } -func (*TransformationSummary) ProtoMessage() {} -func (*TransformationSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{61} -} -func (m *TransformationSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransformationSummary.Unmarshal(m, b) -} -func (m *TransformationSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransformationSummary.Marshal(b, m, deterministic) -} -func (dst *TransformationSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransformationSummary.Merge(dst, src) -} -func (m *TransformationSummary) XXX_Size() int { - return xxx_messageInfo_TransformationSummary.Size(m) -} -func (m *TransformationSummary) XXX_DiscardUnknown() { - xxx_messageInfo_TransformationSummary.DiscardUnknown(m) +type JobTrigger_Trigger_Schedule struct { + Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3,oneof"` } -var xxx_messageInfo_TransformationSummary proto.InternalMessageInfo - -func (m *TransformationSummary) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil -} +func (*JobTrigger_Trigger_Schedule) isJobTrigger_Trigger_Trigger() {} -func (m *TransformationSummary) GetField() *FieldId { +func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger { if m != nil { - return m.Field + return m.Trigger } return nil } -func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation { - if m != nil { - return m.Transformation +func (m *JobTrigger_Trigger) GetSchedule() *Schedule { + if x, ok := m.GetTrigger().(*JobTrigger_Trigger_Schedule); ok { + return x.Schedule } return nil } -func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation { - if m != nil { - return m.FieldTransformations +// XXX_OneofFuncs is for the internal use of the proto package. +func (*JobTrigger_Trigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _JobTrigger_Trigger_OneofMarshaler, _JobTrigger_Trigger_OneofUnmarshaler, _JobTrigger_Trigger_OneofSizer, []interface{}{ + (*JobTrigger_Trigger_Schedule)(nil), } - return nil } - -func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression { - if m != nil { - return m.RecordSuppress + +func _JobTrigger_Trigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*JobTrigger_Trigger) + // trigger + switch x := m.Trigger.(type) { + case *JobTrigger_Trigger_Schedule: + b.EncodeVarint(1<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.Schedule); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("JobTrigger_Trigger.Trigger has unexpected type %T", x) } return nil } -func (m *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult { - if m != nil { - return m.Results +func _JobTrigger_Trigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*JobTrigger_Trigger) + switch tag { + case 1: // trigger.schedule + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Schedule) + err := b.DecodeMessage(msg) + m.Trigger = &JobTrigger_Trigger_Schedule{msg} + return true, err + default: + return false, nil } - return nil } -func (m *TransformationSummary) GetTransformedBytes() int64 { - if m != nil { - return m.TransformedBytes +func _JobTrigger_Trigger_OneofSizer(msg proto.Message) (n int) { + m := msg.(*JobTrigger_Trigger) + // trigger + switch x := m.Trigger.(type) { + case *JobTrigger_Trigger_Schedule: + s := proto.Size(x.Schedule) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } - return 0 + return n } -// A collection that informs the user the number of times a particular -// `TransformationResultCode` and error details occurred. -type TransformationSummary_SummaryResult struct { - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - Code TransformationSummary_TransformationResultCode `protobuf:"varint,2,opt,name=code,proto3,enum=google.privacy.dlp.v2.TransformationSummary_TransformationResultCode" json:"code,omitempty"` - // A place for warnings or errors to show up if a transformation didn't - // work as expected. - Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// A task to execute on the completion of a job. +// See https://cloud.google.com/dlp/docs/concepts-actions to learn more. +type Action struct { + // Types that are valid to be assigned to Action: + // *Action_SaveFindings_ + // *Action_PubSub + // *Action_PublishSummaryToCscc_ + Action isAction_Action `protobuf_oneof:"action"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *TransformationSummary_SummaryResult) Reset() { *m = TransformationSummary_SummaryResult{} } -func (m *TransformationSummary_SummaryResult) String() string { return proto.CompactTextString(m) } -func (*TransformationSummary_SummaryResult) ProtoMessage() {} -func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{61, 0} +func (m *Action) Reset() { *m = Action{} } +func (m *Action) String() string { return proto.CompactTextString(m) } +func (*Action) ProtoMessage() {} +func (*Action) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{71} } -func (m *TransformationSummary_SummaryResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransformationSummary_SummaryResult.Unmarshal(m, b) +func (m *Action) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Action.Unmarshal(m, b) } -func (m *TransformationSummary_SummaryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransformationSummary_SummaryResult.Marshal(b, m, deterministic) +func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Action.Marshal(b, m, deterministic) } -func (dst *TransformationSummary_SummaryResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransformationSummary_SummaryResult.Merge(dst, src) +func (dst *Action) XXX_Merge(src proto.Message) { + xxx_messageInfo_Action.Merge(dst, src) } -func (m *TransformationSummary_SummaryResult) XXX_Size() int { - return xxx_messageInfo_TransformationSummary_SummaryResult.Size(m) +func (m *Action) XXX_Size() int { + return xxx_messageInfo_Action.Size(m) } -func (m *TransformationSummary_SummaryResult) XXX_DiscardUnknown() { - xxx_messageInfo_TransformationSummary_SummaryResult.DiscardUnknown(m) +func (m *Action) XXX_DiscardUnknown() { + xxx_messageInfo_Action.DiscardUnknown(m) } -var xxx_messageInfo_TransformationSummary_SummaryResult proto.InternalMessageInfo +var xxx_messageInfo_Action proto.InternalMessageInfo -func (m *TransformationSummary_SummaryResult) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 +type isAction_Action interface { + isAction_Action() } -func (m *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode { - if m != nil { - return m.Code - } - return TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED +type Action_SaveFindings_ struct { + SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"` } -func (m *TransformationSummary_SummaryResult) GetDetails() string { - if m != nil { - return m.Details - } - return "" +type Action_PubSub struct { + PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"` } -// Schedule for triggeredJobs. -type Schedule struct { - // Types that are valid to be assigned to Option: - // *Schedule_RecurrencePeriodDuration - Option isSchedule_Option `protobuf_oneof:"option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type Action_PublishSummaryToCscc_ struct { + PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"` } -func (m *Schedule) Reset() { *m = Schedule{} } -func (m *Schedule) String() string { return proto.CompactTextString(m) } -func (*Schedule) ProtoMessage() {} -func (*Schedule) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{62} -} -func (m *Schedule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Schedule.Unmarshal(m, b) -} -func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Schedule.Marshal(b, m, deterministic) -} -func (dst *Schedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schedule.Merge(dst, src) -} -func (m *Schedule) XXX_Size() int { - return xxx_messageInfo_Schedule.Size(m) -} -func (m *Schedule) XXX_DiscardUnknown() { - xxx_messageInfo_Schedule.DiscardUnknown(m) -} +func (*Action_SaveFindings_) isAction_Action() {} -var xxx_messageInfo_Schedule proto.InternalMessageInfo +func (*Action_PubSub) isAction_Action() {} -type isSchedule_Option interface { - isSchedule_Option() -} +func (*Action_PublishSummaryToCscc_) isAction_Action() {} -type Schedule_RecurrencePeriodDuration struct { - RecurrencePeriodDuration *duration.Duration `protobuf:"bytes,1,opt,name=recurrence_period_duration,json=recurrencePeriodDuration,proto3,oneof"` +func (m *Action) GetAction() isAction_Action { + if m != nil { + return m.Action + } + return nil } -func (*Schedule_RecurrencePeriodDuration) isSchedule_Option() {} +func (m *Action) GetSaveFindings() *Action_SaveFindings { + if x, ok := m.GetAction().(*Action_SaveFindings_); ok { + return x.SaveFindings + } + return nil +} -func (m *Schedule) GetOption() isSchedule_Option { - if m != nil { - return m.Option +func (m *Action) GetPubSub() *Action_PublishToPubSub { + if x, ok := m.GetAction().(*Action_PubSub); ok { + return x.PubSub } return nil } -func (m *Schedule) GetRecurrencePeriodDuration() *duration.Duration { - if x, ok := m.GetOption().(*Schedule_RecurrencePeriodDuration); ok { - return x.RecurrencePeriodDuration +func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc { + if x, ok := m.GetAction().(*Action_PublishSummaryToCscc_); ok { + return x.PublishSummaryToCscc } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*Schedule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Schedule_OneofMarshaler, _Schedule_OneofUnmarshaler, _Schedule_OneofSizer, []interface{}{ - (*Schedule_RecurrencePeriodDuration)(nil), +func (*Action) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _Action_OneofMarshaler, _Action_OneofUnmarshaler, _Action_OneofSizer, []interface{}{ + (*Action_SaveFindings_)(nil), + (*Action_PubSub)(nil), + (*Action_PublishSummaryToCscc_)(nil), } } -func _Schedule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Schedule) - // option - switch x := m.Option.(type) { - case *Schedule_RecurrencePeriodDuration: +func _Action_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*Action) + // action + switch x := m.Action.(type) { + case *Action_SaveFindings_: b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RecurrencePeriodDuration); err != nil { + if err := b.EncodeMessage(x.SaveFindings); err != nil { + return err + } + case *Action_PubSub: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PubSub); err != nil { + return err + } + case *Action_PublishSummaryToCscc_: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PublishSummaryToCscc); err != nil { return err } case nil: default: - return fmt.Errorf("Schedule.Option has unexpected type %T", x) + return fmt.Errorf("Action.Action has unexpected type %T", x) } return nil } -func _Schedule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Schedule) +func _Action_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*Action) switch tag { - case 1: // option.recurrence_period_duration + case 1: // action.save_findings if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(duration.Duration) + msg := new(Action_SaveFindings) err := b.DecodeMessage(msg) - m.Option = &Schedule_RecurrencePeriodDuration{msg} + m.Action = &Action_SaveFindings_{msg} + return true, err + case 2: // action.pub_sub + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Action_PublishToPubSub) + err := b.DecodeMessage(msg) + m.Action = &Action_PubSub{msg} + return true, err + case 3: // action.publish_summary_to_cscc + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(Action_PublishSummaryToCscc) + err := b.DecodeMessage(msg) + m.Action = &Action_PublishSummaryToCscc_{msg} return true, err default: return false, nil } } -func _Schedule_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Schedule) - // option - switch x := m.Option.(type) { - case *Schedule_RecurrencePeriodDuration: - s := proto.Size(x.RecurrencePeriodDuration) +func _Action_OneofSizer(msg proto.Message) (n int) { + m := msg.(*Action) + // action + switch x := m.Action.(type) { + case *Action_SaveFindings_: + s := proto.Size(x.SaveFindings) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Action_PubSub: + s := proto.Size(x.PubSub) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *Action_PublishSummaryToCscc_: + s := proto.Size(x.PublishSummaryToCscc) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -8911,721 +10269,792 @@ func _Schedule_OneofSizer(msg proto.Message) (n int) { return n } -// The inspectTemplate contains a configuration (set of types of sensitive data -// to be detected) to be used anywhere you otherwise would normally specify -// InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates -// to learn more. -type InspectTemplate struct { - // The template name. Output only. - // - // The template will have one of the following formats: - // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Display name (max 256 chars). - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Short description (max 256 chars). - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The creation timestamp of a inspectTemplate, output only field. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The last update timestamp of a inspectTemplate, output only field. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The core content of the template. Configuration of the scanning process. - InspectConfig *InspectConfig `protobuf:"bytes,6,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// If set, the detailed findings will be persisted to the specified +// OutputStorageConfig. Only a single instance of this action can be +// specified. +// Compatible with: Inspect, Risk +type Action_SaveFindings struct { + OutputConfig *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectTemplate) Reset() { *m = InspectTemplate{} } -func (m *InspectTemplate) String() string { return proto.CompactTextString(m) } -func (*InspectTemplate) ProtoMessage() {} -func (*InspectTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{63} +func (m *Action_SaveFindings) Reset() { *m = Action_SaveFindings{} } +func (m *Action_SaveFindings) String() string { return proto.CompactTextString(m) } +func (*Action_SaveFindings) ProtoMessage() {} +func (*Action_SaveFindings) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{71, 0} } -func (m *InspectTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectTemplate.Unmarshal(m, b) +func (m *Action_SaveFindings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Action_SaveFindings.Unmarshal(m, b) } -func (m *InspectTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectTemplate.Marshal(b, m, deterministic) +func (m *Action_SaveFindings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Action_SaveFindings.Marshal(b, m, deterministic) } -func (dst *InspectTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectTemplate.Merge(dst, src) +func (dst *Action_SaveFindings) XXX_Merge(src proto.Message) { + xxx_messageInfo_Action_SaveFindings.Merge(dst, src) } -func (m *InspectTemplate) XXX_Size() int { - return xxx_messageInfo_InspectTemplate.Size(m) +func (m *Action_SaveFindings) XXX_Size() int { + return xxx_messageInfo_Action_SaveFindings.Size(m) } -func (m *InspectTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_InspectTemplate.DiscardUnknown(m) +func (m *Action_SaveFindings) XXX_DiscardUnknown() { + xxx_messageInfo_Action_SaveFindings.DiscardUnknown(m) } -var xxx_messageInfo_InspectTemplate proto.InternalMessageInfo +var xxx_messageInfo_Action_SaveFindings proto.InternalMessageInfo -func (m *InspectTemplate) GetName() string { +func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig { if m != nil { - return m.Name + return m.OutputConfig } - return "" + return nil } -func (m *InspectTemplate) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" +// Publish the results of a DlpJob to a pub sub channel. +// Compatible with: Inspect, Risk +type Action_PublishToPubSub struct { + // Cloud Pub/Sub topic to send notifications to. The topic must have given + // publishing access rights to the DLP API service account executing + // the long running DlpJob sending the notifications. + // Format is projects/{project}/topics/{topic}. + Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectTemplate) GetDescription() string { +func (m *Action_PublishToPubSub) Reset() { *m = Action_PublishToPubSub{} } +func (m *Action_PublishToPubSub) String() string { return proto.CompactTextString(m) } +func (*Action_PublishToPubSub) ProtoMessage() {} +func (*Action_PublishToPubSub) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{71, 1} +} +func (m *Action_PublishToPubSub) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Action_PublishToPubSub.Unmarshal(m, b) +} +func (m *Action_PublishToPubSub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Action_PublishToPubSub.Marshal(b, m, deterministic) +} +func (dst *Action_PublishToPubSub) XXX_Merge(src proto.Message) { + xxx_messageInfo_Action_PublishToPubSub.Merge(dst, src) +} +func (m *Action_PublishToPubSub) XXX_Size() int { + return xxx_messageInfo_Action_PublishToPubSub.Size(m) +} +func (m *Action_PublishToPubSub) XXX_DiscardUnknown() { + xxx_messageInfo_Action_PublishToPubSub.DiscardUnknown(m) +} + +var xxx_messageInfo_Action_PublishToPubSub proto.InternalMessageInfo + +func (m *Action_PublishToPubSub) GetTopic() string { if m != nil { - return m.Description + return m.Topic } return "" } -func (m *InspectTemplate) GetCreateTime() *timestamp.Timestamp { +// Publish the result summary of a DlpJob to the Cloud Security +// Command Center (CSCC Alpha). +// This action is only available for projects which are parts of +// an organization and whitelisted for the alpha Cloud Security Command +// Center. +// The action will publish count of finding instances and their info types. +// The summary of findings will be persisted in CSCC and are governed by CSCC +// service-specific policy, see https://cloud.google.com/terms/service-terms +// Only a single instance of this action can be specified. +// Compatible with: Inspect +type Action_PublishSummaryToCscc struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Action_PublishSummaryToCscc) Reset() { *m = Action_PublishSummaryToCscc{} } +func (m *Action_PublishSummaryToCscc) String() string { return proto.CompactTextString(m) } +func (*Action_PublishSummaryToCscc) ProtoMessage() {} +func (*Action_PublishSummaryToCscc) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{71, 2} +} +func (m *Action_PublishSummaryToCscc) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Action_PublishSummaryToCscc.Unmarshal(m, b) +} +func (m *Action_PublishSummaryToCscc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Action_PublishSummaryToCscc.Marshal(b, m, deterministic) +} +func (dst *Action_PublishSummaryToCscc) XXX_Merge(src proto.Message) { + xxx_messageInfo_Action_PublishSummaryToCscc.Merge(dst, src) +} +func (m *Action_PublishSummaryToCscc) XXX_Size() int { + return xxx_messageInfo_Action_PublishSummaryToCscc.Size(m) +} +func (m *Action_PublishSummaryToCscc) XXX_DiscardUnknown() { + xxx_messageInfo_Action_PublishSummaryToCscc.DiscardUnknown(m) +} + +var xxx_messageInfo_Action_PublishSummaryToCscc proto.InternalMessageInfo + +// Request message for CreateInspectTemplate. +type CreateInspectTemplateRequest struct { + // The parent resource name, for example projects/my-project-id or + // organizations/my-org-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The InspectTemplate to create. + InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` + // The template id can contain uppercase and lowercase letters, + // numbers, and hyphens; that is, it must match the regular + // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + // characters. Can be empty to allow the system to generate one. + TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateInspectTemplateRequest) Reset() { *m = CreateInspectTemplateRequest{} } +func (m *CreateInspectTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*CreateInspectTemplateRequest) ProtoMessage() {} +func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{72} +} +func (m *CreateInspectTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateInspectTemplateRequest.Unmarshal(m, b) +} +func (m *CreateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateInspectTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *CreateInspectTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInspectTemplateRequest.Merge(dst, src) +} +func (m *CreateInspectTemplateRequest) XXX_Size() int { + return xxx_messageInfo_CreateInspectTemplateRequest.Size(m) +} +func (m *CreateInspectTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateInspectTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateInspectTemplateRequest proto.InternalMessageInfo + +func (m *CreateInspectTemplateRequest) GetParent() string { if m != nil { - return m.CreateTime + return m.Parent } - return nil + return "" } -func (m *InspectTemplate) GetUpdateTime() *timestamp.Timestamp { +func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate { if m != nil { - return m.UpdateTime + return m.InspectTemplate } return nil } -func (m *InspectTemplate) GetInspectConfig() *InspectConfig { +func (m *CreateInspectTemplateRequest) GetTemplateId() string { if m != nil { - return m.InspectConfig + return m.TemplateId } - return nil + return "" } -// The DeidentifyTemplates contains instructions on how to deidentify content. -// See https://cloud.google.com/dlp/docs/concepts-templates to learn more. -type DeidentifyTemplate struct { - // The template name. Output only. - // - // The template will have one of the following formats: - // `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR - // `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID` +// Request message for UpdateInspectTemplate. +type UpdateInspectTemplateRequest struct { + // Resource name of organization and inspectTemplate to be updated, for + // example `organizations/433245324/inspectTemplates/432452342` or + // projects/project-id/inspectTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Display name (max 256 chars). - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Short description (max 256 chars). - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The creation timestamp of a inspectTemplate, output only field. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The last update timestamp of a inspectTemplate, output only field. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // ///////////// // The core content of the template // /////////////// - DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,6,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // New InspectTemplate value. + InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` + // Mask to control which fields get updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeidentifyTemplate) Reset() { *m = DeidentifyTemplate{} } -func (m *DeidentifyTemplate) String() string { return proto.CompactTextString(m) } -func (*DeidentifyTemplate) ProtoMessage() {} -func (*DeidentifyTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{64} +func (m *UpdateInspectTemplateRequest) Reset() { *m = UpdateInspectTemplateRequest{} } +func (m *UpdateInspectTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateInspectTemplateRequest) ProtoMessage() {} +func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{73} } -func (m *DeidentifyTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyTemplate.Unmarshal(m, b) +func (m *UpdateInspectTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateInspectTemplateRequest.Unmarshal(m, b) } -func (m *DeidentifyTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyTemplate.Marshal(b, m, deterministic) +func (m *UpdateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateInspectTemplateRequest.Marshal(b, m, deterministic) } -func (dst *DeidentifyTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyTemplate.Merge(dst, src) +func (dst *UpdateInspectTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInspectTemplateRequest.Merge(dst, src) } -func (m *DeidentifyTemplate) XXX_Size() int { - return xxx_messageInfo_DeidentifyTemplate.Size(m) +func (m *UpdateInspectTemplateRequest) XXX_Size() int { + return xxx_messageInfo_UpdateInspectTemplateRequest.Size(m) } -func (m *DeidentifyTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_DeidentifyTemplate.DiscardUnknown(m) +func (m *UpdateInspectTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateInspectTemplateRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeidentifyTemplate proto.InternalMessageInfo +var xxx_messageInfo_UpdateInspectTemplateRequest proto.InternalMessageInfo -func (m *DeidentifyTemplate) GetName() string { +func (m *UpdateInspectTemplateRequest) GetName() string { if m != nil { return m.Name } return "" } -func (m *DeidentifyTemplate) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *DeidentifyTemplate) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *DeidentifyTemplate) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *DeidentifyTemplate) GetUpdateTime() *timestamp.Timestamp { +func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate { if m != nil { - return m.UpdateTime + return m.InspectTemplate } return nil } -func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig { +func (m *UpdateInspectTemplateRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { - return m.DeidentifyConfig + return m.UpdateMask } return nil } -// Details information about an error encountered during job execution or -// the results of an unsuccessful activation of the JobTrigger. -// Output only field. -type Error struct { - Details *status.Status `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` - // The times the error occurred. - Timestamps []*timestamp.Timestamp `protobuf:"bytes,2,rep,name=timestamps,proto3" json:"timestamps,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request message for GetInspectTemplate. +type GetInspectTemplateRequest struct { + // Resource name of the organization and inspectTemplate to be read, for + // example `organizations/433245324/inspectTemplates/432452342` or + // projects/project-id/inspectTemplates/432452342. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Error) Reset() { *m = Error{} } -func (m *Error) String() string { return proto.CompactTextString(m) } -func (*Error) ProtoMessage() {} -func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{65} +func (m *GetInspectTemplateRequest) Reset() { *m = GetInspectTemplateRequest{} } +func (m *GetInspectTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*GetInspectTemplateRequest) ProtoMessage() {} +func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{74} } -func (m *Error) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Error.Unmarshal(m, b) +func (m *GetInspectTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetInspectTemplateRequest.Unmarshal(m, b) } -func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Error.Marshal(b, m, deterministic) +func (m *GetInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetInspectTemplateRequest.Marshal(b, m, deterministic) } -func (dst *Error) XXX_Merge(src proto.Message) { - xxx_messageInfo_Error.Merge(dst, src) +func (dst *GetInspectTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInspectTemplateRequest.Merge(dst, src) } -func (m *Error) XXX_Size() int { - return xxx_messageInfo_Error.Size(m) +func (m *GetInspectTemplateRequest) XXX_Size() int { + return xxx_messageInfo_GetInspectTemplateRequest.Size(m) } -func (m *Error) XXX_DiscardUnknown() { - xxx_messageInfo_Error.DiscardUnknown(m) +func (m *GetInspectTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetInspectTemplateRequest.DiscardUnknown(m) } -var xxx_messageInfo_Error proto.InternalMessageInfo - -func (m *Error) GetDetails() *status.Status { - if m != nil { - return m.Details - } - return nil -} +var xxx_messageInfo_GetInspectTemplateRequest proto.InternalMessageInfo -func (m *Error) GetTimestamps() []*timestamp.Timestamp { +func (m *GetInspectTemplateRequest) GetName() string { if m != nil { - return m.Timestamps + return m.Name } - return nil + return "" } -// Contains a configuration to make dlp api calls on a repeating basis. -// See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more. -type JobTrigger struct { - // Unique resource name for the triggeredJob, assigned by the service when the - // triggeredJob is created, for example - // `projects/dlp-test-project/triggeredJobs/53234423`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Display name (max 100 chars) - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // User provided description (max 256 chars) - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The configuration details for the specific type of job to run. +// Request message for ListInspectTemplates. +type ListInspectTemplatesRequest struct { + // The parent resource name, for example projects/my-project-id or + // organizations/my-org-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional page token to continue retrieval. Comes from previous call + // to `ListInspectTemplates`. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional size of the page, can be limited by server. If zero server returns + // a page of max size 100. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional comma separated list of fields to order by, + // followed by `asc` or `desc` postfix. This list is case-insensitive, + // default sorting order is ascending, redundant space characters are + // insignificant. // - // Types that are valid to be assigned to Job: - // *JobTrigger_InspectJob - Job isJobTrigger_Job `protobuf_oneof:"job"` - // A list of triggers which will be OR'ed together. Only one in the list - // needs to trigger for a job to be started. The list may contain only - // a single Schedule trigger and must have at least one object. - Triggers []*JobTrigger_Trigger `protobuf:"bytes,5,rep,name=triggers,proto3" json:"triggers,omitempty"` - // A stream of errors encountered when the trigger was activated. Repeated - // errors may result in the JobTrigger automaticaly being paused. - // Will return the last 100 errors. Whenever the JobTrigger is modified - // this list will be cleared. Output only field. - Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` - // The creation timestamp of a triggeredJob, output only field. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The last update timestamp of a triggeredJob, output only field. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The timestamp of the last time this trigger executed, output only field. - LastRunTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"` - // A status for this trigger. [required] - Status JobTrigger_Status `protobuf:"varint,10,opt,name=status,proto3,enum=google.privacy.dlp.v2.JobTrigger_Status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Example: `name asc,update_time, create_time desc` + // + // Supported fields are: + // + // - `create_time`: corresponds to time the template was created. + // - `update_time`: corresponds to time the template was last updated. + // - `name`: corresponds to template's name. + // - `display_name`: corresponds to template's display name. + OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *JobTrigger) Reset() { *m = JobTrigger{} } -func (m *JobTrigger) String() string { return proto.CompactTextString(m) } -func (*JobTrigger) ProtoMessage() {} -func (*JobTrigger) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{66} +func (m *ListInspectTemplatesRequest) Reset() { *m = ListInspectTemplatesRequest{} } +func (m *ListInspectTemplatesRequest) String() string { return proto.CompactTextString(m) } +func (*ListInspectTemplatesRequest) ProtoMessage() {} +func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{75} } -func (m *JobTrigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobTrigger.Unmarshal(m, b) +func (m *ListInspectTemplatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInspectTemplatesRequest.Unmarshal(m, b) } -func (m *JobTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobTrigger.Marshal(b, m, deterministic) +func (m *ListInspectTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInspectTemplatesRequest.Marshal(b, m, deterministic) } -func (dst *JobTrigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTrigger.Merge(dst, src) +func (dst *ListInspectTemplatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInspectTemplatesRequest.Merge(dst, src) } -func (m *JobTrigger) XXX_Size() int { - return xxx_messageInfo_JobTrigger.Size(m) +func (m *ListInspectTemplatesRequest) XXX_Size() int { + return xxx_messageInfo_ListInspectTemplatesRequest.Size(m) } -func (m *JobTrigger) XXX_DiscardUnknown() { - xxx_messageInfo_JobTrigger.DiscardUnknown(m) +func (m *ListInspectTemplatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInspectTemplatesRequest.DiscardUnknown(m) } -var xxx_messageInfo_JobTrigger proto.InternalMessageInfo - -type isJobTrigger_Job interface { - isJobTrigger_Job() -} +var xxx_messageInfo_ListInspectTemplatesRequest proto.InternalMessageInfo -type JobTrigger_InspectJob struct { - InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,proto3,oneof"` +func (m *ListInspectTemplatesRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" } -func (*JobTrigger_InspectJob) isJobTrigger_Job() {} - -func (m *JobTrigger) GetJob() isJobTrigger_Job { +func (m *ListInspectTemplatesRequest) GetPageToken() string { if m != nil { - return m.Job + return m.PageToken } - return nil + return "" } -func (m *JobTrigger) GetName() string { +func (m *ListInspectTemplatesRequest) GetPageSize() int32 { if m != nil { - return m.Name + return m.PageSize } - return "" + return 0 } -func (m *JobTrigger) GetDisplayName() string { +func (m *ListInspectTemplatesRequest) GetOrderBy() string { if m != nil { - return m.DisplayName + return m.OrderBy } return "" } - -func (m *JobTrigger) GetDescription() string { - if m != nil { - return m.Description - } - return "" + +// Response message for ListInspectTemplates. +type ListInspectTemplatesResponse struct { + // List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. + InspectTemplates []*InspectTemplate `protobuf:"bytes,1,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"` + // If the next page is available then the next page token to be used + // in following ListInspectTemplates request. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInspectTemplatesResponse) Reset() { *m = ListInspectTemplatesResponse{} } +func (m *ListInspectTemplatesResponse) String() string { return proto.CompactTextString(m) } +func (*ListInspectTemplatesResponse) ProtoMessage() {} +func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{76} +} +func (m *ListInspectTemplatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInspectTemplatesResponse.Unmarshal(m, b) +} +func (m *ListInspectTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInspectTemplatesResponse.Marshal(b, m, deterministic) +} +func (dst *ListInspectTemplatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInspectTemplatesResponse.Merge(dst, src) +} +func (m *ListInspectTemplatesResponse) XXX_Size() int { + return xxx_messageInfo_ListInspectTemplatesResponse.Size(m) +} +func (m *ListInspectTemplatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInspectTemplatesResponse.DiscardUnknown(m) } -func (m *JobTrigger) GetInspectJob() *InspectJobConfig { - if x, ok := m.GetJob().(*JobTrigger_InspectJob); ok { - return x.InspectJob - } - return nil -} +var xxx_messageInfo_ListInspectTemplatesResponse proto.InternalMessageInfo -func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger { +func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate { if m != nil { - return m.Triggers + return m.InspectTemplates } return nil } -func (m *JobTrigger) GetErrors() []*Error { +func (m *ListInspectTemplatesResponse) GetNextPageToken() string { if m != nil { - return m.Errors + return m.NextPageToken } - return nil + return "" } -func (m *JobTrigger) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil +// Request message for DeleteInspectTemplate. +type DeleteInspectTemplateRequest struct { + // Resource name of the organization and inspectTemplate to be deleted, for + // example `organizations/433245324/inspectTemplates/432452342` or + // projects/project-id/inspectTemplates/432452342. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *JobTrigger) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil +func (m *DeleteInspectTemplateRequest) Reset() { *m = DeleteInspectTemplateRequest{} } +func (m *DeleteInspectTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteInspectTemplateRequest) ProtoMessage() {} +func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{77} } - -func (m *JobTrigger) GetLastRunTime() *timestamp.Timestamp { - if m != nil { - return m.LastRunTime - } - return nil +func (m *DeleteInspectTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteInspectTemplateRequest.Unmarshal(m, b) } - -func (m *JobTrigger) GetStatus() JobTrigger_Status { - if m != nil { - return m.Status - } - return JobTrigger_STATUS_UNSPECIFIED +func (m *DeleteInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteInspectTemplateRequest.Marshal(b, m, deterministic) } - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*JobTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _JobTrigger_OneofMarshaler, _JobTrigger_OneofUnmarshaler, _JobTrigger_OneofSizer, []interface{}{ - (*JobTrigger_InspectJob)(nil), - } +func (dst *DeleteInspectTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInspectTemplateRequest.Merge(dst, src) } - -func _JobTrigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*JobTrigger) - // job - switch x := m.Job.(type) { - case *JobTrigger_InspectJob: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InspectJob); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("JobTrigger.Job has unexpected type %T", x) - } - return nil +func (m *DeleteInspectTemplateRequest) XXX_Size() int { + return xxx_messageInfo_DeleteInspectTemplateRequest.Size(m) } - -func _JobTrigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*JobTrigger) - switch tag { - case 4: // job.inspect_job - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(InspectJobConfig) - err := b.DecodeMessage(msg) - m.Job = &JobTrigger_InspectJob{msg} - return true, err - default: - return false, nil - } +func (m *DeleteInspectTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteInspectTemplateRequest.DiscardUnknown(m) } -func _JobTrigger_OneofSizer(msg proto.Message) (n int) { - m := msg.(*JobTrigger) - // job - switch x := m.Job.(type) { - case *JobTrigger_InspectJob: - s := proto.Size(x.InspectJob) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +var xxx_messageInfo_DeleteInspectTemplateRequest proto.InternalMessageInfo + +func (m *DeleteInspectTemplateRequest) GetName() string { + if m != nil { + return m.Name } - return n + return "" } -// What event needs to occur for a new job to be started. -type JobTrigger_Trigger struct { - // Types that are valid to be assigned to Trigger: - // *JobTrigger_Trigger_Schedule - Trigger isJobTrigger_Trigger_Trigger `protobuf_oneof:"trigger"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request message for CreateJobTrigger. +type CreateJobTriggerRequest struct { + // The parent resource name, for example projects/my-project-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The JobTrigger to create. + JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` + // The trigger id can contain uppercase and lowercase letters, + // numbers, and hyphens; that is, it must match the regular + // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + // characters. Can be empty to allow the system to generate one. + TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *JobTrigger_Trigger) Reset() { *m = JobTrigger_Trigger{} } -func (m *JobTrigger_Trigger) String() string { return proto.CompactTextString(m) } -func (*JobTrigger_Trigger) ProtoMessage() {} -func (*JobTrigger_Trigger) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{66, 0} +func (m *CreateJobTriggerRequest) Reset() { *m = CreateJobTriggerRequest{} } +func (m *CreateJobTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*CreateJobTriggerRequest) ProtoMessage() {} +func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{78} } -func (m *JobTrigger_Trigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobTrigger_Trigger.Unmarshal(m, b) +func (m *CreateJobTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateJobTriggerRequest.Unmarshal(m, b) } -func (m *JobTrigger_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobTrigger_Trigger.Marshal(b, m, deterministic) +func (m *CreateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateJobTriggerRequest.Marshal(b, m, deterministic) } -func (dst *JobTrigger_Trigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTrigger_Trigger.Merge(dst, src) +func (dst *CreateJobTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateJobTriggerRequest.Merge(dst, src) } -func (m *JobTrigger_Trigger) XXX_Size() int { - return xxx_messageInfo_JobTrigger_Trigger.Size(m) +func (m *CreateJobTriggerRequest) XXX_Size() int { + return xxx_messageInfo_CreateJobTriggerRequest.Size(m) } -func (m *JobTrigger_Trigger) XXX_DiscardUnknown() { - xxx_messageInfo_JobTrigger_Trigger.DiscardUnknown(m) +func (m *CreateJobTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateJobTriggerRequest.DiscardUnknown(m) } -var xxx_messageInfo_JobTrigger_Trigger proto.InternalMessageInfo - -type isJobTrigger_Trigger_Trigger interface { - isJobTrigger_Trigger_Trigger() -} +var xxx_messageInfo_CreateJobTriggerRequest proto.InternalMessageInfo -type JobTrigger_Trigger_Schedule struct { - Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3,oneof"` +func (m *CreateJobTriggerRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" } -func (*JobTrigger_Trigger_Schedule) isJobTrigger_Trigger_Trigger() {} - -func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger { +func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger { if m != nil { - return m.Trigger + return m.JobTrigger } return nil } -func (m *JobTrigger_Trigger) GetSchedule() *Schedule { - if x, ok := m.GetTrigger().(*JobTrigger_Trigger_Schedule); ok { - return x.Schedule +func (m *CreateJobTriggerRequest) GetTriggerId() string { + if m != nil { + return m.TriggerId } - return nil + return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*JobTrigger_Trigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _JobTrigger_Trigger_OneofMarshaler, _JobTrigger_Trigger_OneofUnmarshaler, _JobTrigger_Trigger_OneofSizer, []interface{}{ - (*JobTrigger_Trigger_Schedule)(nil), - } +// Request message for UpdateJobTrigger. +type UpdateJobTriggerRequest struct { + // Resource name of the project and the triggeredJob, for example + // `projects/dlp-test-project/jobTriggers/53234423`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // New JobTrigger value. + JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` + // Mask to control which fields get updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func _JobTrigger_Trigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*JobTrigger_Trigger) - // trigger - switch x := m.Trigger.(type) { - case *JobTrigger_Trigger_Schedule: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Schedule); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("JobTrigger_Trigger.Trigger has unexpected type %T", x) +func (m *UpdateJobTriggerRequest) Reset() { *m = UpdateJobTriggerRequest{} } +func (m *UpdateJobTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateJobTriggerRequest) ProtoMessage() {} +func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{79} +} +func (m *UpdateJobTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateJobTriggerRequest.Unmarshal(m, b) +} +func (m *UpdateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateJobTriggerRequest.Marshal(b, m, deterministic) +} +func (dst *UpdateJobTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateJobTriggerRequest.Merge(dst, src) +} +func (m *UpdateJobTriggerRequest) XXX_Size() int { + return xxx_messageInfo_UpdateJobTriggerRequest.Size(m) +} +func (m *UpdateJobTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateJobTriggerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateJobTriggerRequest proto.InternalMessageInfo + +func (m *UpdateJobTriggerRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger { + if m != nil { + return m.JobTrigger } return nil } -func _JobTrigger_Trigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*JobTrigger_Trigger) - switch tag { - case 1: // trigger.schedule - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Schedule) - err := b.DecodeMessage(msg) - m.Trigger = &JobTrigger_Trigger_Schedule{msg} - return true, err - default: - return false, nil +func (m *UpdateJobTriggerRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask } + return nil } -func _JobTrigger_Trigger_OneofSizer(msg proto.Message) (n int) { - m := msg.(*JobTrigger_Trigger) - // trigger - switch x := m.Trigger.(type) { - case *JobTrigger_Trigger_Schedule: - s := proto.Size(x.Schedule) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +// Request message for GetJobTrigger. +type GetJobTriggerRequest struct { + // Resource name of the project and the triggeredJob, for example + // `projects/dlp-test-project/jobTriggers/53234423`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetJobTriggerRequest) Reset() { *m = GetJobTriggerRequest{} } +func (m *GetJobTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*GetJobTriggerRequest) ProtoMessage() {} +func (*GetJobTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{80} +} +func (m *GetJobTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetJobTriggerRequest.Unmarshal(m, b) +} +func (m *GetJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetJobTriggerRequest.Marshal(b, m, deterministic) +} +func (dst *GetJobTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetJobTriggerRequest.Merge(dst, src) +} +func (m *GetJobTriggerRequest) XXX_Size() int { + return xxx_messageInfo_GetJobTriggerRequest.Size(m) +} +func (m *GetJobTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetJobTriggerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetJobTriggerRequest proto.InternalMessageInfo + +func (m *GetJobTriggerRequest) GetName() string { + if m != nil { + return m.Name } - return n + return "" } -// A task to execute on the completion of a job. -// See https://cloud.google.com/dlp/docs/concepts-actions to learn more. -type Action struct { - // Types that are valid to be assigned to Action: - // *Action_SaveFindings_ - // *Action_PubSub - // *Action_PublishSummaryToCscc_ - Action isAction_Action `protobuf_oneof:"action"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request message for CreateDlpJobRequest. Used to initiate long running +// jobs such as calculating risk metrics or inspecting Google Cloud +// Storage. +type CreateDlpJobRequest struct { + // The parent resource name, for example projects/my-project-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // The configuration details for the specific type of job to run. + // + // Types that are valid to be assigned to Job: + // *CreateDlpJobRequest_InspectJob + // *CreateDlpJobRequest_RiskJob + Job isCreateDlpJobRequest_Job `protobuf_oneof:"job"` + // The job id can contain uppercase and lowercase letters, + // numbers, and hyphens; that is, it must match the regular + // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + // characters. Can be empty to allow the system to generate one. + JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Action) Reset() { *m = Action{} } -func (m *Action) String() string { return proto.CompactTextString(m) } -func (*Action) ProtoMessage() {} -func (*Action) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{67} +func (m *CreateDlpJobRequest) Reset() { *m = CreateDlpJobRequest{} } +func (m *CreateDlpJobRequest) String() string { return proto.CompactTextString(m) } +func (*CreateDlpJobRequest) ProtoMessage() {} +func (*CreateDlpJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{81} } -func (m *Action) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action.Unmarshal(m, b) +func (m *CreateDlpJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDlpJobRequest.Unmarshal(m, b) } -func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action.Marshal(b, m, deterministic) +func (m *CreateDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDlpJobRequest.Marshal(b, m, deterministic) } -func (dst *Action) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action.Merge(dst, src) +func (dst *CreateDlpJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDlpJobRequest.Merge(dst, src) } -func (m *Action) XXX_Size() int { - return xxx_messageInfo_Action.Size(m) +func (m *CreateDlpJobRequest) XXX_Size() int { + return xxx_messageInfo_CreateDlpJobRequest.Size(m) } -func (m *Action) XXX_DiscardUnknown() { - xxx_messageInfo_Action.DiscardUnknown(m) +func (m *CreateDlpJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDlpJobRequest.DiscardUnknown(m) } -var xxx_messageInfo_Action proto.InternalMessageInfo +var xxx_messageInfo_CreateDlpJobRequest proto.InternalMessageInfo -type isAction_Action interface { - isAction_Action() +func (m *CreateDlpJobRequest) GetParent() string { + if m != nil { + return m.Parent + } + return "" } -type Action_SaveFindings_ struct { - SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"` +type isCreateDlpJobRequest_Job interface { + isCreateDlpJobRequest_Job() } -type Action_PubSub struct { - PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"` + +type CreateDlpJobRequest_InspectJob struct { + InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"` } -type Action_PublishSummaryToCscc_ struct { - PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"` + +type CreateDlpJobRequest_RiskJob struct { + RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"` } -func (*Action_SaveFindings_) isAction_Action() {} -func (*Action_PubSub) isAction_Action() {} -func (*Action_PublishSummaryToCscc_) isAction_Action() {} +func (*CreateDlpJobRequest_InspectJob) isCreateDlpJobRequest_Job() {} -func (m *Action) GetAction() isAction_Action { +func (*CreateDlpJobRequest_RiskJob) isCreateDlpJobRequest_Job() {} + +func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job { if m != nil { - return m.Action + return m.Job } return nil } -func (m *Action) GetSaveFindings() *Action_SaveFindings { - if x, ok := m.GetAction().(*Action_SaveFindings_); ok { - return x.SaveFindings +func (m *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig { + if x, ok := m.GetJob().(*CreateDlpJobRequest_InspectJob); ok { + return x.InspectJob } return nil } -func (m *Action) GetPubSub() *Action_PublishToPubSub { - if x, ok := m.GetAction().(*Action_PubSub); ok { - return x.PubSub +func (m *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig { + if x, ok := m.GetJob().(*CreateDlpJobRequest_RiskJob); ok { + return x.RiskJob } return nil } -func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc { - if x, ok := m.GetAction().(*Action_PublishSummaryToCscc_); ok { - return x.PublishSummaryToCscc +func (m *CreateDlpJobRequest) GetJobId() string { + if m != nil { + return m.JobId } - return nil + return "" } // XXX_OneofFuncs is for the internal use of the proto package. -func (*Action) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Action_OneofMarshaler, _Action_OneofUnmarshaler, _Action_OneofSizer, []interface{}{ - (*Action_SaveFindings_)(nil), - (*Action_PubSub)(nil), - (*Action_PublishSummaryToCscc_)(nil), +func (*CreateDlpJobRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _CreateDlpJobRequest_OneofMarshaler, _CreateDlpJobRequest_OneofUnmarshaler, _CreateDlpJobRequest_OneofSizer, []interface{}{ + (*CreateDlpJobRequest_InspectJob)(nil), + (*CreateDlpJobRequest_RiskJob)(nil), } } -func _Action_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Action) - // action - switch x := m.Action.(type) { - case *Action_SaveFindings_: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.SaveFindings); err != nil { - return err - } - case *Action_PubSub: +func _CreateDlpJobRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*CreateDlpJobRequest) + // job + switch x := m.Job.(type) { + case *CreateDlpJobRequest_InspectJob: b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PubSub); err != nil { + if err := b.EncodeMessage(x.InspectJob); err != nil { return err } - case *Action_PublishSummaryToCscc_: + case *CreateDlpJobRequest_RiskJob: b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PublishSummaryToCscc); err != nil { + if err := b.EncodeMessage(x.RiskJob); err != nil { return err } case nil: default: - return fmt.Errorf("Action.Action has unexpected type %T", x) + return fmt.Errorf("CreateDlpJobRequest.Job has unexpected type %T", x) } return nil } -func _Action_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Action) +func _CreateDlpJobRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*CreateDlpJobRequest) switch tag { - case 1: // action.save_findings - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Action_SaveFindings) - err := b.DecodeMessage(msg) - m.Action = &Action_SaveFindings_{msg} - return true, err - case 2: // action.pub_sub + case 2: // job.inspect_job if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(Action_PublishToPubSub) + msg := new(InspectJobConfig) err := b.DecodeMessage(msg) - m.Action = &Action_PubSub{msg} + m.Job = &CreateDlpJobRequest_InspectJob{msg} return true, err - case 3: // action.publish_summary_to_cscc + case 3: // job.risk_job if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(Action_PublishSummaryToCscc) - err := b.DecodeMessage(msg) - m.Action = &Action_PublishSummaryToCscc_{msg} - return true, err - default: - return false, nil - } -} - -func _Action_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Action) - // action - switch x := m.Action.(type) { - case *Action_SaveFindings_: - s := proto.Size(x.SaveFindings) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Action_PubSub: - s := proto.Size(x.PubSub) + msg := new(RiskAnalysisJobConfig) + err := b.DecodeMessage(msg) + m.Job = &CreateDlpJobRequest_RiskJob{msg} + return true, err + default: + return false, nil + } +} + +func _CreateDlpJobRequest_OneofSizer(msg proto.Message) (n int) { + m := msg.(*CreateDlpJobRequest) + // job + switch x := m.Job.(type) { + case *CreateDlpJobRequest_InspectJob: + s := proto.Size(x.InspectJob) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *Action_PublishSummaryToCscc_: - s := proto.Size(x.PublishSummaryToCscc) + case *CreateDlpJobRequest_RiskJob: + s := proto.Size(x.RiskJob) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -9636,1226 +11065,1247 @@ func _Action_OneofSizer(msg proto.Message) (n int) { return n } -// If set, the detailed findings will be persisted to the specified -// OutputStorageConfig. Only a single instance of this action can be -// specified. -// Compatible with: Inspect, Risk -type Action_SaveFindings struct { - OutputConfig *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request message for ListJobTriggers. +type ListJobTriggersRequest struct { + // The parent resource name, for example `projects/my-project-id`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional page token to continue retrieval. Comes from previous call + // to ListJobTriggers. `order_by` field must not + // change for subsequent calls. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional size of the page, can be limited by a server. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional comma separated list of triggeredJob fields to order by, + // followed by `asc` or `desc` postfix. This list is case-insensitive, + // default sorting order is ascending, redundant space characters are + // insignificant. + // + // Example: `name asc,update_time, create_time desc` + // + // Supported fields are: + // + // - `create_time`: corresponds to time the JobTrigger was created. + // - `update_time`: corresponds to time the JobTrigger was last updated. + // - `name`: corresponds to JobTrigger's name. + // - `display_name`: corresponds to JobTrigger's display name. + // - `status`: corresponds to JobTrigger's status. + OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Action_SaveFindings) Reset() { *m = Action_SaveFindings{} } -func (m *Action_SaveFindings) String() string { return proto.CompactTextString(m) } -func (*Action_SaveFindings) ProtoMessage() {} -func (*Action_SaveFindings) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{67, 0} +func (m *ListJobTriggersRequest) Reset() { *m = ListJobTriggersRequest{} } +func (m *ListJobTriggersRequest) String() string { return proto.CompactTextString(m) } +func (*ListJobTriggersRequest) ProtoMessage() {} +func (*ListJobTriggersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{82} } -func (m *Action_SaveFindings) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_SaveFindings.Unmarshal(m, b) +func (m *ListJobTriggersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListJobTriggersRequest.Unmarshal(m, b) } -func (m *Action_SaveFindings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action_SaveFindings.Marshal(b, m, deterministic) +func (m *ListJobTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListJobTriggersRequest.Marshal(b, m, deterministic) } -func (dst *Action_SaveFindings) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_SaveFindings.Merge(dst, src) +func (dst *ListJobTriggersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListJobTriggersRequest.Merge(dst, src) } -func (m *Action_SaveFindings) XXX_Size() int { - return xxx_messageInfo_Action_SaveFindings.Size(m) +func (m *ListJobTriggersRequest) XXX_Size() int { + return xxx_messageInfo_ListJobTriggersRequest.Size(m) } -func (m *Action_SaveFindings) XXX_DiscardUnknown() { - xxx_messageInfo_Action_SaveFindings.DiscardUnknown(m) +func (m *ListJobTriggersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListJobTriggersRequest.DiscardUnknown(m) } -var xxx_messageInfo_Action_SaveFindings proto.InternalMessageInfo +var xxx_messageInfo_ListJobTriggersRequest proto.InternalMessageInfo -func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig { +func (m *ListJobTriggersRequest) GetParent() string { if m != nil { - return m.OutputConfig + return m.Parent } - return nil + return "" } -// Publish the results of a DlpJob to a pub sub channel. -// Compatible with: Inspect, Risk -type Action_PublishToPubSub struct { - // Cloud Pub/Sub topic to send notifications to. The topic must have given - // publishing access rights to the DLP API service account executing - // the long running DlpJob sending the notifications. - // Format is projects/{project}/topics/{topic}. - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *ListJobTriggersRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" } -func (m *Action_PublishToPubSub) Reset() { *m = Action_PublishToPubSub{} } -func (m *Action_PublishToPubSub) String() string { return proto.CompactTextString(m) } -func (*Action_PublishToPubSub) ProtoMessage() {} -func (*Action_PublishToPubSub) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{67, 1} -} -func (m *Action_PublishToPubSub) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_PublishToPubSub.Unmarshal(m, b) -} -func (m *Action_PublishToPubSub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action_PublishToPubSub.Marshal(b, m, deterministic) -} -func (dst *Action_PublishToPubSub) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_PublishToPubSub.Merge(dst, src) -} -func (m *Action_PublishToPubSub) XXX_Size() int { - return xxx_messageInfo_Action_PublishToPubSub.Size(m) -} -func (m *Action_PublishToPubSub) XXX_DiscardUnknown() { - xxx_messageInfo_Action_PublishToPubSub.DiscardUnknown(m) +func (m *ListJobTriggersRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 } -var xxx_messageInfo_Action_PublishToPubSub proto.InternalMessageInfo - -func (m *Action_PublishToPubSub) GetTopic() string { +func (m *ListJobTriggersRequest) GetOrderBy() string { if m != nil { - return m.Topic + return m.OrderBy } return "" } -// Publish the result summary of a DlpJob to the Cloud Security -// Command Center (CSCC Alpha). -// This action is only available for projects which are parts of -// an organization and whitelisted for the alpha Cloud Security Command -// Center. -// The action will publish count of finding instances and their info types. -// The summary of findings will be persisted in CSCC and are governed by CSCC -// service-specific policy, see https://cloud.google.com/terms/service-terms -// Only a single instance of this action can be specified. -// Compatible with: Inspect -type Action_PublishSummaryToCscc struct { +// Response message for ListJobTriggers. +type ListJobTriggersResponse struct { + // List of triggeredJobs, up to page_size in ListJobTriggersRequest. + JobTriggers []*JobTrigger `protobuf:"bytes,1,rep,name=job_triggers,json=jobTriggers,proto3" json:"job_triggers,omitempty"` + // If the next page is available then the next page token to be used + // in following ListJobTriggers request. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *Action_PublishSummaryToCscc) Reset() { *m = Action_PublishSummaryToCscc{} } -func (m *Action_PublishSummaryToCscc) String() string { return proto.CompactTextString(m) } -func (*Action_PublishSummaryToCscc) ProtoMessage() {} -func (*Action_PublishSummaryToCscc) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{67, 2} +func (m *ListJobTriggersResponse) Reset() { *m = ListJobTriggersResponse{} } +func (m *ListJobTriggersResponse) String() string { return proto.CompactTextString(m) } +func (*ListJobTriggersResponse) ProtoMessage() {} +func (*ListJobTriggersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{83} } -func (m *Action_PublishSummaryToCscc) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_PublishSummaryToCscc.Unmarshal(m, b) +func (m *ListJobTriggersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListJobTriggersResponse.Unmarshal(m, b) } -func (m *Action_PublishSummaryToCscc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action_PublishSummaryToCscc.Marshal(b, m, deterministic) +func (m *ListJobTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListJobTriggersResponse.Marshal(b, m, deterministic) } -func (dst *Action_PublishSummaryToCscc) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_PublishSummaryToCscc.Merge(dst, src) +func (dst *ListJobTriggersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListJobTriggersResponse.Merge(dst, src) } -func (m *Action_PublishSummaryToCscc) XXX_Size() int { - return xxx_messageInfo_Action_PublishSummaryToCscc.Size(m) +func (m *ListJobTriggersResponse) XXX_Size() int { + return xxx_messageInfo_ListJobTriggersResponse.Size(m) } -func (m *Action_PublishSummaryToCscc) XXX_DiscardUnknown() { - xxx_messageInfo_Action_PublishSummaryToCscc.DiscardUnknown(m) +func (m *ListJobTriggersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListJobTriggersResponse.DiscardUnknown(m) } -var xxx_messageInfo_Action_PublishSummaryToCscc proto.InternalMessageInfo +var xxx_messageInfo_ListJobTriggersResponse proto.InternalMessageInfo -// Request message for CreateInspectTemplate. -type CreateInspectTemplateRequest struct { - // The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The InspectTemplate to create. - InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` - // The template id can contain uppercase and lowercase letters, - // numbers, and hyphens; that is, it must match the regular - // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 - // characters. Can be empty to allow the system to generate one. - TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` +func (m *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger { + if m != nil { + return m.JobTriggers + } + return nil +} + +func (m *ListJobTriggersResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// Request message for DeleteJobTrigger. +type DeleteJobTriggerRequest struct { + // Resource name of the project and the triggeredJob, for example + // `projects/dlp-test-project/jobTriggers/53234423`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CreateInspectTemplateRequest) Reset() { *m = CreateInspectTemplateRequest{} } -func (m *CreateInspectTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateInspectTemplateRequest) ProtoMessage() {} -func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{68} -} -func (m *CreateInspectTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateInspectTemplateRequest.Unmarshal(m, b) +func (m *DeleteJobTriggerRequest) Reset() { *m = DeleteJobTriggerRequest{} } +func (m *DeleteJobTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteJobTriggerRequest) ProtoMessage() {} +func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{84} } -func (m *CreateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateInspectTemplateRequest.Marshal(b, m, deterministic) +func (m *DeleteJobTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteJobTriggerRequest.Unmarshal(m, b) } -func (dst *CreateInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInspectTemplateRequest.Merge(dst, src) +func (m *DeleteJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteJobTriggerRequest.Marshal(b, m, deterministic) } -func (m *CreateInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_CreateInspectTemplateRequest.Size(m) +func (dst *DeleteJobTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteJobTriggerRequest.Merge(dst, src) } -func (m *CreateInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateInspectTemplateRequest.DiscardUnknown(m) +func (m *DeleteJobTriggerRequest) XXX_Size() int { + return xxx_messageInfo_DeleteJobTriggerRequest.Size(m) } - -var xxx_messageInfo_CreateInspectTemplateRequest proto.InternalMessageInfo - -func (m *CreateInspectTemplateRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" +func (m *DeleteJobTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteJobTriggerRequest.DiscardUnknown(m) } -func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate { - if m != nil { - return m.InspectTemplate - } - return nil -} +var xxx_messageInfo_DeleteJobTriggerRequest proto.InternalMessageInfo -func (m *CreateInspectTemplateRequest) GetTemplateId() string { +func (m *DeleteJobTriggerRequest) GetName() string { if m != nil { - return m.TemplateId + return m.Name } return "" } -// Request message for UpdateInspectTemplate. -type UpdateInspectTemplateRequest struct { - // Resource name of organization and inspectTemplate to be updated, for - // example `organizations/433245324/inspectTemplates/432452342` or - // projects/project-id/inspectTemplates/432452342. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // New InspectTemplate value. - InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` - // Mask to control which fields get updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type InspectJobConfig struct { + // The data to scan. + StorageConfig *StorageConfig `protobuf:"bytes,1,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` + // How and what to scan for. + InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` + // If provided, will be used as the default for all values in InspectConfig. + // `inspect_config` will be merged into the values persisted as part of the + // template. + InspectTemplateName string `protobuf:"bytes,3,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` + // Actions to execute at the completion of the job. Are executed in the order + // provided. + Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *UpdateInspectTemplateRequest) Reset() { *m = UpdateInspectTemplateRequest{} } -func (m *UpdateInspectTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateInspectTemplateRequest) ProtoMessage() {} -func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{69} +func (m *InspectJobConfig) Reset() { *m = InspectJobConfig{} } +func (m *InspectJobConfig) String() string { return proto.CompactTextString(m) } +func (*InspectJobConfig) ProtoMessage() {} +func (*InspectJobConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{85} } -func (m *UpdateInspectTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateInspectTemplateRequest.Unmarshal(m, b) +func (m *InspectJobConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InspectJobConfig.Unmarshal(m, b) } -func (m *UpdateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateInspectTemplateRequest.Marshal(b, m, deterministic) +func (m *InspectJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InspectJobConfig.Marshal(b, m, deterministic) } -func (dst *UpdateInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInspectTemplateRequest.Merge(dst, src) +func (dst *InspectJobConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_InspectJobConfig.Merge(dst, src) } -func (m *UpdateInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_UpdateInspectTemplateRequest.Size(m) +func (m *InspectJobConfig) XXX_Size() int { + return xxx_messageInfo_InspectJobConfig.Size(m) } -func (m *UpdateInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateInspectTemplateRequest.DiscardUnknown(m) +func (m *InspectJobConfig) XXX_DiscardUnknown() { + xxx_messageInfo_InspectJobConfig.DiscardUnknown(m) } -var xxx_messageInfo_UpdateInspectTemplateRequest proto.InternalMessageInfo +var xxx_messageInfo_InspectJobConfig proto.InternalMessageInfo -func (m *UpdateInspectTemplateRequest) GetName() string { +func (m *InspectJobConfig) GetStorageConfig() *StorageConfig { if m != nil { - return m.Name + return m.StorageConfig } - return "" + return nil } -func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate { +func (m *InspectJobConfig) GetInspectConfig() *InspectConfig { if m != nil { - return m.InspectTemplate + return m.InspectConfig } return nil } -func (m *UpdateInspectTemplateRequest) GetUpdateMask() *field_mask.FieldMask { +func (m *InspectJobConfig) GetInspectTemplateName() string { if m != nil { - return m.UpdateMask + return m.InspectTemplateName + } + return "" +} + +func (m *InspectJobConfig) GetActions() []*Action { + if m != nil { + return m.Actions } return nil } -// Request message for GetInspectTemplate. -type GetInspectTemplateRequest struct { - // Resource name of the organization and inspectTemplate to be read, for - // example `organizations/433245324/inspectTemplates/432452342` or - // projects/project-id/inspectTemplates/432452342. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +// Combines all of the information about a DLP job. +type DlpJob struct { + // The server-assigned name. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The type of job. + Type DlpJobType `protobuf:"varint,2,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` + // State of a job. + State DlpJob_JobState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.DlpJob_JobState" json:"state,omitempty"` + // Types that are valid to be assigned to Details: + // *DlpJob_RiskDetails + // *DlpJob_InspectDetails + Details isDlpJob_Details `protobuf_oneof:"details"` + // Time when the job was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Time when the job started. + StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // Time when the job finished. + EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // If created by a job trigger, the resource name of the trigger that + // instantiated the job. + JobTriggerName string `protobuf:"bytes,10,opt,name=job_trigger_name,json=jobTriggerName,proto3" json:"job_trigger_name,omitempty"` + // A stream of errors encountered running the job. + Errors []*Error `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *GetInspectTemplateRequest) Reset() { *m = GetInspectTemplateRequest{} } -func (m *GetInspectTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*GetInspectTemplateRequest) ProtoMessage() {} -func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{70} +func (m *DlpJob) Reset() { *m = DlpJob{} } +func (m *DlpJob) String() string { return proto.CompactTextString(m) } +func (*DlpJob) ProtoMessage() {} +func (*DlpJob) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{86} } -func (m *GetInspectTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInspectTemplateRequest.Unmarshal(m, b) +func (m *DlpJob) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DlpJob.Unmarshal(m, b) } -func (m *GetInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInspectTemplateRequest.Marshal(b, m, deterministic) +func (m *DlpJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DlpJob.Marshal(b, m, deterministic) } -func (dst *GetInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInspectTemplateRequest.Merge(dst, src) +func (dst *DlpJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_DlpJob.Merge(dst, src) } -func (m *GetInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_GetInspectTemplateRequest.Size(m) +func (m *DlpJob) XXX_Size() int { + return xxx_messageInfo_DlpJob.Size(m) } -func (m *GetInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInspectTemplateRequest.DiscardUnknown(m) +func (m *DlpJob) XXX_DiscardUnknown() { + xxx_messageInfo_DlpJob.DiscardUnknown(m) } -var xxx_messageInfo_GetInspectTemplateRequest proto.InternalMessageInfo +var xxx_messageInfo_DlpJob proto.InternalMessageInfo -func (m *GetInspectTemplateRequest) GetName() string { +func (m *DlpJob) GetName() string { if m != nil { return m.Name } return "" } -// Request message for ListInspectTemplates. -type ListInspectTemplatesRequest struct { - // The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional page token to continue retrieval. Comes from previous call - // to `ListInspectTemplates`. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional size of the page, can be limited by server. If zero server returns - // a page of max size 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *DlpJob) GetType() DlpJobType { + if m != nil { + return m.Type + } + return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED } -func (m *ListInspectTemplatesRequest) Reset() { *m = ListInspectTemplatesRequest{} } -func (m *ListInspectTemplatesRequest) String() string { return proto.CompactTextString(m) } -func (*ListInspectTemplatesRequest) ProtoMessage() {} -func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{71} -} -func (m *ListInspectTemplatesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInspectTemplatesRequest.Unmarshal(m, b) -} -func (m *ListInspectTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInspectTemplatesRequest.Marshal(b, m, deterministic) +func (m *DlpJob) GetState() DlpJob_JobState { + if m != nil { + return m.State + } + return DlpJob_JOB_STATE_UNSPECIFIED } -func (dst *ListInspectTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInspectTemplatesRequest.Merge(dst, src) + +type isDlpJob_Details interface { + isDlpJob_Details() } -func (m *ListInspectTemplatesRequest) XXX_Size() int { - return xxx_messageInfo_ListInspectTemplatesRequest.Size(m) + +type DlpJob_RiskDetails struct { + RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,proto3,oneof"` } -func (m *ListInspectTemplatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInspectTemplatesRequest.DiscardUnknown(m) + +type DlpJob_InspectDetails struct { + InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,proto3,oneof"` } -var xxx_messageInfo_ListInspectTemplatesRequest proto.InternalMessageInfo +func (*DlpJob_RiskDetails) isDlpJob_Details() {} -func (m *ListInspectTemplatesRequest) GetParent() string { +func (*DlpJob_InspectDetails) isDlpJob_Details() {} + +func (m *DlpJob) GetDetails() isDlpJob_Details { if m != nil { - return m.Parent + return m.Details } - return "" + return nil } -func (m *ListInspectTemplatesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails { + if x, ok := m.GetDetails().(*DlpJob_RiskDetails); ok { + return x.RiskDetails } - return "" + return nil } -func (m *ListInspectTemplatesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails { + if x, ok := m.GetDetails().(*DlpJob_InspectDetails); ok { + return x.InspectDetails } - return 0 + return nil } -// Response message for ListInspectTemplates. -type ListInspectTemplatesResponse struct { - // List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. - InspectTemplates []*InspectTemplate `protobuf:"bytes,1,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"` - // If the next page is available then the next page token to be used - // in following ListInspectTemplates request. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *DlpJob) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil } -func (m *ListInspectTemplatesResponse) Reset() { *m = ListInspectTemplatesResponse{} } -func (m *ListInspectTemplatesResponse) String() string { return proto.CompactTextString(m) } -func (*ListInspectTemplatesResponse) ProtoMessage() {} -func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{72} -} -func (m *ListInspectTemplatesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInspectTemplatesResponse.Unmarshal(m, b) -} -func (m *ListInspectTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInspectTemplatesResponse.Marshal(b, m, deterministic) -} -func (dst *ListInspectTemplatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInspectTemplatesResponse.Merge(dst, src) -} -func (m *ListInspectTemplatesResponse) XXX_Size() int { - return xxx_messageInfo_ListInspectTemplatesResponse.Size(m) -} -func (m *ListInspectTemplatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInspectTemplatesResponse.DiscardUnknown(m) +func (m *DlpJob) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil } -var xxx_messageInfo_ListInspectTemplatesResponse proto.InternalMessageInfo - -func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate { +func (m *DlpJob) GetEndTime() *timestamp.Timestamp { if m != nil { - return m.InspectTemplates + return m.EndTime } return nil } -func (m *ListInspectTemplatesResponse) GetNextPageToken() string { +func (m *DlpJob) GetJobTriggerName() string { if m != nil { - return m.NextPageToken + return m.JobTriggerName } return "" } -// Request message for DeleteInspectTemplate. -type DeleteInspectTemplateRequest struct { - // Resource name of the organization and inspectTemplate to be deleted, for - // example `organizations/433245324/inspectTemplates/432452342` or - // projects/project-id/inspectTemplates/432452342. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *DlpJob) GetErrors() []*Error { + if m != nil { + return m.Errors + } + return nil } -func (m *DeleteInspectTemplateRequest) Reset() { *m = DeleteInspectTemplateRequest{} } -func (m *DeleteInspectTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteInspectTemplateRequest) ProtoMessage() {} -func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{73} -} -func (m *DeleteInspectTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteInspectTemplateRequest.Unmarshal(m, b) -} -func (m *DeleteInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteInspectTemplateRequest.Marshal(b, m, deterministic) -} -func (dst *DeleteInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInspectTemplateRequest.Merge(dst, src) -} -func (m *DeleteInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_DeleteInspectTemplateRequest.Size(m) +// XXX_OneofFuncs is for the internal use of the proto package. +func (*DlpJob) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _DlpJob_OneofMarshaler, _DlpJob_OneofUnmarshaler, _DlpJob_OneofSizer, []interface{}{ + (*DlpJob_RiskDetails)(nil), + (*DlpJob_InspectDetails)(nil), + } } -func (m *DeleteInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteInspectTemplateRequest.DiscardUnknown(m) + +func _DlpJob_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*DlpJob) + // details + switch x := m.Details.(type) { + case *DlpJob_RiskDetails: + b.EncodeVarint(4<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.RiskDetails); err != nil { + return err + } + case *DlpJob_InspectDetails: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.InspectDetails); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("DlpJob.Details has unexpected type %T", x) + } + return nil } -var xxx_messageInfo_DeleteInspectTemplateRequest proto.InternalMessageInfo +func _DlpJob_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*DlpJob) + switch tag { + case 4: // details.risk_details + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(AnalyzeDataSourceRiskDetails) + err := b.DecodeMessage(msg) + m.Details = &DlpJob_RiskDetails{msg} + return true, err + case 5: // details.inspect_details + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(InspectDataSourceDetails) + err := b.DecodeMessage(msg) + m.Details = &DlpJob_InspectDetails{msg} + return true, err + default: + return false, nil + } +} -func (m *DeleteInspectTemplateRequest) GetName() string { - if m != nil { - return m.Name +func _DlpJob_OneofSizer(msg proto.Message) (n int) { + m := msg.(*DlpJob) + // details + switch x := m.Details.(type) { + case *DlpJob_RiskDetails: + s := proto.Size(x.RiskDetails) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *DlpJob_InspectDetails: + s := proto.Size(x.InspectDetails) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } - return "" + return n } -// Request message for CreateJobTrigger. -type CreateJobTriggerRequest struct { - // The parent resource name, for example projects/my-project-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The JobTrigger to create. - JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` - // The trigger id can contain uppercase and lowercase letters, - // numbers, and hyphens; that is, it must match the regular - // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 - // characters. Can be empty to allow the system to generate one. - TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` +// The request message for [DlpJobs.GetDlpJob][]. +type GetDlpJobRequest struct { + // The name of the DlpJob resource. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CreateJobTriggerRequest) Reset() { *m = CreateJobTriggerRequest{} } -func (m *CreateJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*CreateJobTriggerRequest) ProtoMessage() {} -func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{74} -} -func (m *CreateJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateJobTriggerRequest.Unmarshal(m, b) +func (m *GetDlpJobRequest) Reset() { *m = GetDlpJobRequest{} } +func (m *GetDlpJobRequest) String() string { return proto.CompactTextString(m) } +func (*GetDlpJobRequest) ProtoMessage() {} +func (*GetDlpJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{87} } -func (m *CreateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateJobTriggerRequest.Marshal(b, m, deterministic) +func (m *GetDlpJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDlpJobRequest.Unmarshal(m, b) } -func (dst *CreateJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobTriggerRequest.Merge(dst, src) +func (m *GetDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDlpJobRequest.Marshal(b, m, deterministic) } -func (m *CreateJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_CreateJobTriggerRequest.Size(m) +func (dst *GetDlpJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDlpJobRequest.Merge(dst, src) } -func (m *CreateJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateJobTriggerRequest.DiscardUnknown(m) +func (m *GetDlpJobRequest) XXX_Size() int { + return xxx_messageInfo_GetDlpJobRequest.Size(m) } - -var xxx_messageInfo_CreateJobTriggerRequest proto.InternalMessageInfo - -func (m *CreateJobTriggerRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" +func (m *GetDlpJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDlpJobRequest.DiscardUnknown(m) } -func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger { - if m != nil { - return m.JobTrigger - } - return nil -} +var xxx_messageInfo_GetDlpJobRequest proto.InternalMessageInfo -func (m *CreateJobTriggerRequest) GetTriggerId() string { +func (m *GetDlpJobRequest) GetName() string { if m != nil { - return m.TriggerId + return m.Name } return "" } -// Request message for UpdateJobTrigger. -type UpdateJobTriggerRequest struct { - // Resource name of the project and the triggeredJob, for example - // `projects/dlp-test-project/jobTriggers/53234423`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // New JobTrigger value. - JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` - // Mask to control which fields get updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// The request message for listing DLP jobs. +type ListDlpJobsRequest struct { + // The parent resource name, for example projects/my-project-id. + Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. Allows filtering. + // + // Supported syntax: + // + // * Filter expressions are made up of one or more restrictions. + // * Restrictions can be combined by `AND` or `OR` logical operators. A + // sequence of restrictions implicitly uses `AND`. + // * A restriction has the form of ` `. + // * Supported fields/values for inspect jobs: + // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED + // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY + // - `trigger_name` - The resource name of the trigger that created job. + // * Supported fields for risk analysis jobs: + // - `state` - RUNNING|CANCELED|FINISHED|FAILED + // * The operator must be `=` or `!=`. + // + // Examples: + // + // * inspected_storage = cloud_storage AND state = done + // * inspected_storage = cloud_storage OR inspected_storage = bigquery + // * inspected_storage = cloud_storage AND (state = done OR state = canceled) + // + // The length of this field should be no more than 500 characters. + Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` + // The standard list page size. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The standard list page token. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // The type of job. Defaults to `DlpJobType.INSPECT` + Type DlpJobType `protobuf:"varint,5,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` + // Optional comma separated list of fields to order by, + // followed by `asc` or `desc` postfix. This list is case-insensitive, + // default sorting order is ascending, redundant space characters are + // insignificant. + // + // Example: `name asc, end_time asc, create_time desc` + // + // Supported fields are: + // + // - `create_time`: corresponds to time the job was created. + // - `end_time`: corresponds to time the job ended. + // - `name`: corresponds to job's name. + // - `state`: corresponds to `state` + OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *UpdateJobTriggerRequest) Reset() { *m = UpdateJobTriggerRequest{} } -func (m *UpdateJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateJobTriggerRequest) ProtoMessage() {} -func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{75} +func (m *ListDlpJobsRequest) Reset() { *m = ListDlpJobsRequest{} } +func (m *ListDlpJobsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDlpJobsRequest) ProtoMessage() {} +func (*ListDlpJobsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{88} } -func (m *UpdateJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateJobTriggerRequest.Unmarshal(m, b) +func (m *ListDlpJobsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDlpJobsRequest.Unmarshal(m, b) } -func (m *UpdateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateJobTriggerRequest.Marshal(b, m, deterministic) +func (m *ListDlpJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDlpJobsRequest.Marshal(b, m, deterministic) } -func (dst *UpdateJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobTriggerRequest.Merge(dst, src) +func (dst *ListDlpJobsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDlpJobsRequest.Merge(dst, src) } -func (m *UpdateJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_UpdateJobTriggerRequest.Size(m) +func (m *ListDlpJobsRequest) XXX_Size() int { + return xxx_messageInfo_ListDlpJobsRequest.Size(m) } -func (m *UpdateJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateJobTriggerRequest.DiscardUnknown(m) +func (m *ListDlpJobsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDlpJobsRequest.DiscardUnknown(m) } -var xxx_messageInfo_UpdateJobTriggerRequest proto.InternalMessageInfo +var xxx_messageInfo_ListDlpJobsRequest proto.InternalMessageInfo -func (m *UpdateJobTriggerRequest) GetName() string { +func (m *ListDlpJobsRequest) GetParent() string { if m != nil { - return m.Name + return m.Parent } return "" } -func (m *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger { +func (m *ListDlpJobsRequest) GetFilter() string { if m != nil { - return m.JobTrigger + return m.Filter } - return nil + return "" } -func (m *UpdateJobTriggerRequest) GetUpdateMask() *field_mask.FieldMask { +func (m *ListDlpJobsRequest) GetPageSize() int32 { if m != nil { - return m.UpdateMask + return m.PageSize } - return nil + return 0 } -// Request message for GetJobTrigger. -type GetJobTriggerRequest struct { - // Resource name of the project and the triggeredJob, for example - // `projects/dlp-test-project/jobTriggers/53234423`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *ListDlpJobsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" } -func (m *GetJobTriggerRequest) Reset() { *m = GetJobTriggerRequest{} } -func (m *GetJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*GetJobTriggerRequest) ProtoMessage() {} -func (*GetJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{76} -} -func (m *GetJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJobTriggerRequest.Unmarshal(m, b) -} -func (m *GetJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJobTriggerRequest.Marshal(b, m, deterministic) -} -func (dst *GetJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobTriggerRequest.Merge(dst, src) -} -func (m *GetJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_GetJobTriggerRequest.Size(m) -} -func (m *GetJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetJobTriggerRequest.DiscardUnknown(m) +func (m *ListDlpJobsRequest) GetType() DlpJobType { + if m != nil { + return m.Type + } + return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED } -var xxx_messageInfo_GetJobTriggerRequest proto.InternalMessageInfo - -func (m *GetJobTriggerRequest) GetName() string { +func (m *ListDlpJobsRequest) GetOrderBy() string { if m != nil { - return m.Name + return m.OrderBy } return "" } -// Request message for CreateDlpJobRequest. Used to initiate long running -// jobs such as calculating risk metrics or inspecting Google Cloud -// Storage. -type CreateDlpJobRequest struct { - // The parent resource name, for example projects/my-project-id. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The configuration details for the specific type of job to run. - // - // Types that are valid to be assigned to Job: - // *CreateDlpJobRequest_InspectJob - // *CreateDlpJobRequest_RiskJob - Job isCreateDlpJobRequest_Job `protobuf_oneof:"job"` - // The job id can contain uppercase and lowercase letters, - // numbers, and hyphens; that is, it must match the regular - // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 - // characters. Can be empty to allow the system to generate one. - JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` +// The response message for listing DLP jobs. +type ListDlpJobsResponse struct { + // A list of DlpJobs that matches the specified filter in the request. + Jobs []*DlpJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` + // The standard List next-page token. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CreateDlpJobRequest) Reset() { *m = CreateDlpJobRequest{} } -func (m *CreateDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDlpJobRequest) ProtoMessage() {} -func (*CreateDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{77} -} -func (m *CreateDlpJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDlpJobRequest.Unmarshal(m, b) -} -func (m *CreateDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDlpJobRequest.Marshal(b, m, deterministic) -} -func (dst *CreateDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDlpJobRequest.Merge(dst, src) +func (m *ListDlpJobsResponse) Reset() { *m = ListDlpJobsResponse{} } +func (m *ListDlpJobsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDlpJobsResponse) ProtoMessage() {} +func (*ListDlpJobsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{89} } -func (m *CreateDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateDlpJobRequest.Size(m) +func (m *ListDlpJobsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDlpJobsResponse.Unmarshal(m, b) } -func (m *CreateDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDlpJobRequest.DiscardUnknown(m) +func (m *ListDlpJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDlpJobsResponse.Marshal(b, m, deterministic) } - -var xxx_messageInfo_CreateDlpJobRequest proto.InternalMessageInfo - -type isCreateDlpJobRequest_Job interface { - isCreateDlpJobRequest_Job() +func (dst *ListDlpJobsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDlpJobsResponse.Merge(dst, src) } - -type CreateDlpJobRequest_InspectJob struct { - InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"` +func (m *ListDlpJobsResponse) XXX_Size() int { + return xxx_messageInfo_ListDlpJobsResponse.Size(m) } -type CreateDlpJobRequest_RiskJob struct { - RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"` +func (m *ListDlpJobsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDlpJobsResponse.DiscardUnknown(m) } -func (*CreateDlpJobRequest_InspectJob) isCreateDlpJobRequest_Job() {} -func (*CreateDlpJobRequest_RiskJob) isCreateDlpJobRequest_Job() {} +var xxx_messageInfo_ListDlpJobsResponse proto.InternalMessageInfo -func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job { +func (m *ListDlpJobsResponse) GetJobs() []*DlpJob { if m != nil { - return m.Job + return m.Jobs } return nil } -func (m *CreateDlpJobRequest) GetParent() string { +func (m *ListDlpJobsResponse) GetNextPageToken() string { if m != nil { - return m.Parent + return m.NextPageToken } return "" } -func (m *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig { - if x, ok := m.GetJob().(*CreateDlpJobRequest_InspectJob); ok { - return x.InspectJob - } - return nil +// The request message for canceling a DLP job. +type CancelDlpJobRequest struct { + // The name of the DlpJob resource to be cancelled. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig { - if x, ok := m.GetJob().(*CreateDlpJobRequest_RiskJob); ok { - return x.RiskJob - } - return nil +func (m *CancelDlpJobRequest) Reset() { *m = CancelDlpJobRequest{} } +func (m *CancelDlpJobRequest) String() string { return proto.CompactTextString(m) } +func (*CancelDlpJobRequest) ProtoMessage() {} +func (*CancelDlpJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{90} +} +func (m *CancelDlpJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CancelDlpJobRequest.Unmarshal(m, b) +} +func (m *CancelDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CancelDlpJobRequest.Marshal(b, m, deterministic) +} +func (dst *CancelDlpJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelDlpJobRequest.Merge(dst, src) +} +func (m *CancelDlpJobRequest) XXX_Size() int { + return xxx_messageInfo_CancelDlpJobRequest.Size(m) +} +func (m *CancelDlpJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CancelDlpJobRequest.DiscardUnknown(m) } -func (m *CreateDlpJobRequest) GetJobId() string { +var xxx_messageInfo_CancelDlpJobRequest proto.InternalMessageInfo + +func (m *CancelDlpJobRequest) GetName() string { if m != nil { - return m.JobId + return m.Name } return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*CreateDlpJobRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CreateDlpJobRequest_OneofMarshaler, _CreateDlpJobRequest_OneofUnmarshaler, _CreateDlpJobRequest_OneofSizer, []interface{}{ - (*CreateDlpJobRequest_InspectJob)(nil), - (*CreateDlpJobRequest_RiskJob)(nil), - } +// The request message for deleting a DLP job. +type DeleteDlpJobRequest struct { + // The name of the DlpJob resource to be deleted. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func _CreateDlpJobRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CreateDlpJobRequest) - // job - switch x := m.Job.(type) { - case *CreateDlpJobRequest_InspectJob: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InspectJob); err != nil { - return err - } - case *CreateDlpJobRequest_RiskJob: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RiskJob); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("CreateDlpJobRequest.Job has unexpected type %T", x) - } - return nil +func (m *DeleteDlpJobRequest) Reset() { *m = DeleteDlpJobRequest{} } +func (m *DeleteDlpJobRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteDlpJobRequest) ProtoMessage() {} +func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{91} } - -func _CreateDlpJobRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CreateDlpJobRequest) - switch tag { - case 2: // job.inspect_job - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(InspectJobConfig) - err := b.DecodeMessage(msg) - m.Job = &CreateDlpJobRequest_InspectJob{msg} - return true, err - case 3: // job.risk_job - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(RiskAnalysisJobConfig) - err := b.DecodeMessage(msg) - m.Job = &CreateDlpJobRequest_RiskJob{msg} - return true, err - default: - return false, nil - } +func (m *DeleteDlpJobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDlpJobRequest.Unmarshal(m, b) +} +func (m *DeleteDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDlpJobRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteDlpJobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDlpJobRequest.Merge(dst, src) } +func (m *DeleteDlpJobRequest) XXX_Size() int { + return xxx_messageInfo_DeleteDlpJobRequest.Size(m) +} +func (m *DeleteDlpJobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDlpJobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDlpJobRequest proto.InternalMessageInfo -func _CreateDlpJobRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CreateDlpJobRequest) - // job - switch x := m.Job.(type) { - case *CreateDlpJobRequest_InspectJob: - s := proto.Size(x.InspectJob) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *CreateDlpJobRequest_RiskJob: - s := proto.Size(x.RiskJob) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +func (m *DeleteDlpJobRequest) GetName() string { + if m != nil { + return m.Name } - return n + return "" } -// Request message for ListJobTriggers. -type ListJobTriggersRequest struct { - // The parent resource name, for example `projects/my-project-id`. +// Request message for CreateDeidentifyTemplate. +type CreateDeidentifyTemplateRequest struct { + // The parent resource name, for example projects/my-project-id or + // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional page token to continue retrieval. Comes from previous call - // to ListJobTriggers. `order_by` field must not - // change for subsequent calls. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional size of the page, can be limited by a server. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional comma separated list of triggeredJob fields to order by, - // followed by `asc` or `desc` postfix. This list is case-insensitive, - // default sorting order is ascending, redundant space characters are - // insignificant. - // - // Example: `name asc,update_time, create_time desc` - // - // Supported fields are: - // - // - `create_time`: corresponds to time the triggeredJob was created. - // - `update_time`: corresponds to time the triggeredJob was last updated. - // - `name`: corresponds to JobTrigger's name. - OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + // The DeidentifyTemplate to create. + DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` + // The template id can contain uppercase and lowercase letters, + // numbers, and hyphens; that is, it must match the regular + // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + // characters. Can be empty to allow the system to generate one. + TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListJobTriggersRequest) Reset() { *m = ListJobTriggersRequest{} } -func (m *ListJobTriggersRequest) String() string { return proto.CompactTextString(m) } -func (*ListJobTriggersRequest) ProtoMessage() {} -func (*ListJobTriggersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{78} +func (m *CreateDeidentifyTemplateRequest) Reset() { *m = CreateDeidentifyTemplateRequest{} } +func (m *CreateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*CreateDeidentifyTemplateRequest) ProtoMessage() {} +func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{92} } -func (m *ListJobTriggersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListJobTriggersRequest.Unmarshal(m, b) +func (m *CreateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDeidentifyTemplateRequest.Unmarshal(m, b) } -func (m *ListJobTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListJobTriggersRequest.Marshal(b, m, deterministic) +func (m *CreateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDeidentifyTemplateRequest.Marshal(b, m, deterministic) } -func (dst *ListJobTriggersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobTriggersRequest.Merge(dst, src) +func (dst *CreateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDeidentifyTemplateRequest.Merge(dst, src) } -func (m *ListJobTriggersRequest) XXX_Size() int { - return xxx_messageInfo_ListJobTriggersRequest.Size(m) +func (m *CreateDeidentifyTemplateRequest) XXX_Size() int { + return xxx_messageInfo_CreateDeidentifyTemplateRequest.Size(m) } -func (m *ListJobTriggersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListJobTriggersRequest.DiscardUnknown(m) +func (m *CreateDeidentifyTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDeidentifyTemplateRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListJobTriggersRequest proto.InternalMessageInfo +var xxx_messageInfo_CreateDeidentifyTemplateRequest proto.InternalMessageInfo -func (m *ListJobTriggersRequest) GetParent() string { +func (m *CreateDeidentifyTemplateRequest) GetParent() string { if m != nil { return m.Parent } return "" } -func (m *ListJobTriggersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListJobTriggersRequest) GetPageSize() int32 { +func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate { if m != nil { - return m.PageSize + return m.DeidentifyTemplate } - return 0 + return nil } -func (m *ListJobTriggersRequest) GetOrderBy() string { +func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string { if m != nil { - return m.OrderBy + return m.TemplateId } return "" } -// Response message for ListJobTriggers. -type ListJobTriggersResponse struct { - // List of triggeredJobs, up to page_size in ListJobTriggersRequest. - JobTriggers []*JobTrigger `protobuf:"bytes,1,rep,name=job_triggers,json=jobTriggers,proto3" json:"job_triggers,omitempty"` - // If the next page is available then the next page token to be used - // in following ListJobTriggers request. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Request message for UpdateDeidentifyTemplate. +type UpdateDeidentifyTemplateRequest struct { + // Resource name of organization and deidentify template to be updated, for + // example `organizations/433245324/deidentifyTemplates/432452342` or + // projects/project-id/deidentifyTemplates/432452342. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // New DeidentifyTemplate value. + DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` + // Mask to control which fields get updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListJobTriggersResponse) Reset() { *m = ListJobTriggersResponse{} } -func (m *ListJobTriggersResponse) String() string { return proto.CompactTextString(m) } -func (*ListJobTriggersResponse) ProtoMessage() {} -func (*ListJobTriggersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{79} +func (m *UpdateDeidentifyTemplateRequest) Reset() { *m = UpdateDeidentifyTemplateRequest{} } +func (m *UpdateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateDeidentifyTemplateRequest) ProtoMessage() {} +func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{93} } -func (m *ListJobTriggersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListJobTriggersResponse.Unmarshal(m, b) +func (m *UpdateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Unmarshal(m, b) } -func (m *ListJobTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListJobTriggersResponse.Marshal(b, m, deterministic) +func (m *UpdateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Marshal(b, m, deterministic) } -func (dst *ListJobTriggersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobTriggersResponse.Merge(dst, src) +func (dst *UpdateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDeidentifyTemplateRequest.Merge(dst, src) } -func (m *ListJobTriggersResponse) XXX_Size() int { - return xxx_messageInfo_ListJobTriggersResponse.Size(m) +func (m *UpdateDeidentifyTemplateRequest) XXX_Size() int { + return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Size(m) } -func (m *ListJobTriggersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListJobTriggersResponse.DiscardUnknown(m) +func (m *UpdateDeidentifyTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateDeidentifyTemplateRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListJobTriggersResponse proto.InternalMessageInfo +var xxx_messageInfo_UpdateDeidentifyTemplateRequest proto.InternalMessageInfo -func (m *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger { +func (m *UpdateDeidentifyTemplateRequest) GetName() string { if m != nil { - return m.JobTriggers + return m.Name + } + return "" +} + +func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate { + if m != nil { + return m.DeidentifyTemplate } return nil } -func (m *ListJobTriggersResponse) GetNextPageToken() string { +func (m *UpdateDeidentifyTemplateRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { - return m.NextPageToken + return m.UpdateMask } - return "" + return nil } -// Request message for DeleteJobTrigger. -type DeleteJobTriggerRequest struct { - // Resource name of the project and the triggeredJob, for example - // `projects/dlp-test-project/jobTriggers/53234423`. +// Request message for GetDeidentifyTemplate. +type GetDeidentifyTemplateRequest struct { + // Resource name of the organization and deidentify template to be read, for + // example `organizations/433245324/deidentifyTemplates/432452342` or + // projects/project-id/deidentifyTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteJobTriggerRequest) Reset() { *m = DeleteJobTriggerRequest{} } -func (m *DeleteJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteJobTriggerRequest) ProtoMessage() {} -func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{80} +func (m *GetDeidentifyTemplateRequest) Reset() { *m = GetDeidentifyTemplateRequest{} } +func (m *GetDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*GetDeidentifyTemplateRequest) ProtoMessage() {} +func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{94} } -func (m *DeleteJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteJobTriggerRequest.Unmarshal(m, b) +func (m *GetDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDeidentifyTemplateRequest.Unmarshal(m, b) } -func (m *DeleteJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteJobTriggerRequest.Marshal(b, m, deterministic) +func (m *GetDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDeidentifyTemplateRequest.Marshal(b, m, deterministic) } -func (dst *DeleteJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobTriggerRequest.Merge(dst, src) +func (dst *GetDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDeidentifyTemplateRequest.Merge(dst, src) } -func (m *DeleteJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_DeleteJobTriggerRequest.Size(m) +func (m *GetDeidentifyTemplateRequest) XXX_Size() int { + return xxx_messageInfo_GetDeidentifyTemplateRequest.Size(m) } -func (m *DeleteJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteJobTriggerRequest.DiscardUnknown(m) +func (m *GetDeidentifyTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDeidentifyTemplateRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteJobTriggerRequest proto.InternalMessageInfo +var xxx_messageInfo_GetDeidentifyTemplateRequest proto.InternalMessageInfo -func (m *DeleteJobTriggerRequest) GetName() string { +func (m *GetDeidentifyTemplateRequest) GetName() string { if m != nil { return m.Name } return "" } -type InspectJobConfig struct { - // The data to scan. - StorageConfig *StorageConfig `protobuf:"bytes,1,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` - // How and what to scan for. - InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` - // If provided, will be used as the default for all values in InspectConfig. - // `inspect_config` will be merged into the values persisted as part of the - // template. - InspectTemplateName string `protobuf:"bytes,3,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` - // Actions to execute at the completion of the job. Are executed in the order - // provided. - Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InspectJobConfig) Reset() { *m = InspectJobConfig{} } -func (m *InspectJobConfig) String() string { return proto.CompactTextString(m) } -func (*InspectJobConfig) ProtoMessage() {} -func (*InspectJobConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{81} +// Request message for ListDeidentifyTemplates. +type ListDeidentifyTemplatesRequest struct { + // The parent resource name, for example projects/my-project-id or + // organizations/my-org-id. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional page token to continue retrieval. Comes from previous call + // to `ListDeidentifyTemplates`. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional size of the page, can be limited by server. If zero server returns + // a page of max size 100. + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional comma separated list of fields to order by, + // followed by `asc` or `desc` postfix. This list is case-insensitive, + // default sorting order is ascending, redundant space characters are + // insignificant. + // + // Example: `name asc,update_time, create_time desc` + // + // Supported fields are: + // + // - `create_time`: corresponds to time the template was created. + // - `update_time`: corresponds to time the template was last updated. + // - `name`: corresponds to template's name. + // - `display_name`: corresponds to template's display name. + OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *InspectJobConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectJobConfig.Unmarshal(m, b) + +func (m *ListDeidentifyTemplatesRequest) Reset() { *m = ListDeidentifyTemplatesRequest{} } +func (m *ListDeidentifyTemplatesRequest) String() string { return proto.CompactTextString(m) } +func (*ListDeidentifyTemplatesRequest) ProtoMessage() {} +func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{95} } -func (m *InspectJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectJobConfig.Marshal(b, m, deterministic) +func (m *ListDeidentifyTemplatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeidentifyTemplatesRequest.Unmarshal(m, b) } -func (dst *InspectJobConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectJobConfig.Merge(dst, src) +func (m *ListDeidentifyTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeidentifyTemplatesRequest.Marshal(b, m, deterministic) } -func (m *InspectJobConfig) XXX_Size() int { - return xxx_messageInfo_InspectJobConfig.Size(m) +func (dst *ListDeidentifyTemplatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeidentifyTemplatesRequest.Merge(dst, src) } -func (m *InspectJobConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InspectJobConfig.DiscardUnknown(m) +func (m *ListDeidentifyTemplatesRequest) XXX_Size() int { + return xxx_messageInfo_ListDeidentifyTemplatesRequest.Size(m) +} +func (m *ListDeidentifyTemplatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeidentifyTemplatesRequest.DiscardUnknown(m) } -var xxx_messageInfo_InspectJobConfig proto.InternalMessageInfo +var xxx_messageInfo_ListDeidentifyTemplatesRequest proto.InternalMessageInfo -func (m *InspectJobConfig) GetStorageConfig() *StorageConfig { +func (m *ListDeidentifyTemplatesRequest) GetParent() string { if m != nil { - return m.StorageConfig + return m.Parent } - return nil + return "" } -func (m *InspectJobConfig) GetInspectConfig() *InspectConfig { +func (m *ListDeidentifyTemplatesRequest) GetPageToken() string { if m != nil { - return m.InspectConfig + return m.PageToken } - return nil + return "" } -func (m *InspectJobConfig) GetInspectTemplateName() string { +func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32 { if m != nil { - return m.InspectTemplateName + return m.PageSize } - return "" + return 0 } -func (m *InspectJobConfig) GetActions() []*Action { +func (m *ListDeidentifyTemplatesRequest) GetOrderBy() string { if m != nil { - return m.Actions + return m.OrderBy } - return nil + return "" } -// Combines all of the information about a DLP job. -type DlpJob struct { - // The server-assigned name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The type of job. - Type DlpJobType `protobuf:"varint,2,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` - // State of a job. - State DlpJob_JobState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.DlpJob_JobState" json:"state,omitempty"` - // Types that are valid to be assigned to Details: - // *DlpJob_RiskDetails - // *DlpJob_InspectDetails - Details isDlpJob_Details `protobuf_oneof:"details"` - // Time when the job was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Time when the job started. - StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time when the job finished. - EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // If created by a job trigger, the resource name of the trigger that - // instantiated the job. - JobTriggerName string `protobuf:"bytes,10,opt,name=job_trigger_name,json=jobTriggerName,proto3" json:"job_trigger_name,omitempty"` - // A stream of errors encountered running the job. - Errors []*Error `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"` +// Response message for ListDeidentifyTemplates. +type ListDeidentifyTemplatesResponse struct { + // List of deidentify templates, up to page_size in + // ListDeidentifyTemplatesRequest. + DeidentifyTemplates []*DeidentifyTemplate `protobuf:"bytes,1,rep,name=deidentify_templates,json=deidentifyTemplates,proto3" json:"deidentify_templates,omitempty"` + // If the next page is available then the next page token to be used + // in following ListDeidentifyTemplates request. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DlpJob) Reset() { *m = DlpJob{} } -func (m *DlpJob) String() string { return proto.CompactTextString(m) } -func (*DlpJob) ProtoMessage() {} -func (*DlpJob) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{82} -} -func (m *DlpJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DlpJob.Unmarshal(m, b) -} -func (m *DlpJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DlpJob.Marshal(b, m, deterministic) -} -func (dst *DlpJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_DlpJob.Merge(dst, src) +func (m *ListDeidentifyTemplatesResponse) Reset() { *m = ListDeidentifyTemplatesResponse{} } +func (m *ListDeidentifyTemplatesResponse) String() string { return proto.CompactTextString(m) } +func (*ListDeidentifyTemplatesResponse) ProtoMessage() {} +func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{96} } -func (m *DlpJob) XXX_Size() int { - return xxx_messageInfo_DlpJob.Size(m) +func (m *ListDeidentifyTemplatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeidentifyTemplatesResponse.Unmarshal(m, b) } -func (m *DlpJob) XXX_DiscardUnknown() { - xxx_messageInfo_DlpJob.DiscardUnknown(m) +func (m *ListDeidentifyTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeidentifyTemplatesResponse.Marshal(b, m, deterministic) } - -var xxx_messageInfo_DlpJob proto.InternalMessageInfo - -type isDlpJob_Details interface { - isDlpJob_Details() +func (dst *ListDeidentifyTemplatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeidentifyTemplatesResponse.Merge(dst, src) } - -type DlpJob_RiskDetails struct { - RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,proto3,oneof"` +func (m *ListDeidentifyTemplatesResponse) XXX_Size() int { + return xxx_messageInfo_ListDeidentifyTemplatesResponse.Size(m) } -type DlpJob_InspectDetails struct { - InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,proto3,oneof"` +func (m *ListDeidentifyTemplatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeidentifyTemplatesResponse.DiscardUnknown(m) } -func (*DlpJob_RiskDetails) isDlpJob_Details() {} -func (*DlpJob_InspectDetails) isDlpJob_Details() {} +var xxx_messageInfo_ListDeidentifyTemplatesResponse proto.InternalMessageInfo -func (m *DlpJob) GetDetails() isDlpJob_Details { +func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate { if m != nil { - return m.Details + return m.DeidentifyTemplates } return nil } -func (m *DlpJob) GetName() string { +func (m *ListDeidentifyTemplatesResponse) GetNextPageToken() string { if m != nil { - return m.Name + return m.NextPageToken } return "" } -func (m *DlpJob) GetType() DlpJobType { - if m != nil { - return m.Type - } - return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED +// Request message for DeleteDeidentifyTemplate. +type DeleteDeidentifyTemplateRequest struct { + // Resource name of the organization and deidentify template to be deleted, + // for example `organizations/433245324/deidentifyTemplates/432452342` or + // projects/project-id/deidentifyTemplates/432452342. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DlpJob) GetState() DlpJob_JobState { +func (m *DeleteDeidentifyTemplateRequest) Reset() { *m = DeleteDeidentifyTemplateRequest{} } +func (m *DeleteDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteDeidentifyTemplateRequest) ProtoMessage() {} +func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{97} +} +func (m *DeleteDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Unmarshal(m, b) +} +func (m *DeleteDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Marshal(b, m, deterministic) +} +func (dst *DeleteDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDeidentifyTemplateRequest.Merge(dst, src) +} +func (m *DeleteDeidentifyTemplateRequest) XXX_Size() int { + return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Size(m) +} +func (m *DeleteDeidentifyTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDeidentifyTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDeidentifyTemplateRequest proto.InternalMessageInfo + +func (m *DeleteDeidentifyTemplateRequest) GetName() string { if m != nil { - return m.State + return m.Name } - return DlpJob_JOB_STATE_UNSPECIFIED + return "" } -func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails { - if x, ok := m.GetDetails().(*DlpJob_RiskDetails); ok { - return x.RiskDetails - } - return nil +// Configuration for a custom dictionary created from a data source of any size +// up to the maximum size defined in the +// [limits](https://cloud.google.com/dlp/limits) page. The artifacts of +// dictionary creation are stored in the specified Google Cloud Storage +// location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries +// that satisfy the size requirements. +type LargeCustomDictionaryConfig struct { + // Location to store dictionary artifacts in Google Cloud Storage. These files + // will only be accessible by project owners and the DLP API. If any of these + // artifacts are modified, the dictionary is considered invalid and can no + // longer be used. + OutputPath *CloudStoragePath `protobuf:"bytes,1,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` + // Types that are valid to be assigned to Source: + // *LargeCustomDictionaryConfig_CloudStorageFileSet + // *LargeCustomDictionaryConfig_BigQueryField + Source isLargeCustomDictionaryConfig_Source `protobuf_oneof:"source"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails { - if x, ok := m.GetDetails().(*DlpJob_InspectDetails); ok { - return x.InspectDetails - } - return nil +func (m *LargeCustomDictionaryConfig) Reset() { *m = LargeCustomDictionaryConfig{} } +func (m *LargeCustomDictionaryConfig) String() string { return proto.CompactTextString(m) } +func (*LargeCustomDictionaryConfig) ProtoMessage() {} +func (*LargeCustomDictionaryConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{98} +} +func (m *LargeCustomDictionaryConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LargeCustomDictionaryConfig.Unmarshal(m, b) +} +func (m *LargeCustomDictionaryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LargeCustomDictionaryConfig.Marshal(b, m, deterministic) +} +func (dst *LargeCustomDictionaryConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_LargeCustomDictionaryConfig.Merge(dst, src) +} +func (m *LargeCustomDictionaryConfig) XXX_Size() int { + return xxx_messageInfo_LargeCustomDictionaryConfig.Size(m) +} +func (m *LargeCustomDictionaryConfig) XXX_DiscardUnknown() { + xxx_messageInfo_LargeCustomDictionaryConfig.DiscardUnknown(m) } -func (m *DlpJob) GetCreateTime() *timestamp.Timestamp { +var xxx_messageInfo_LargeCustomDictionaryConfig proto.InternalMessageInfo + +func (m *LargeCustomDictionaryConfig) GetOutputPath() *CloudStoragePath { if m != nil { - return m.CreateTime + return m.OutputPath } return nil } -func (m *DlpJob) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil +type isLargeCustomDictionaryConfig_Source interface { + isLargeCustomDictionaryConfig_Source() } -func (m *DlpJob) GetEndTime() *timestamp.Timestamp { +type LargeCustomDictionaryConfig_CloudStorageFileSet struct { + CloudStorageFileSet *CloudStorageFileSet `protobuf:"bytes,2,opt,name=cloud_storage_file_set,json=cloudStorageFileSet,proto3,oneof"` +} + +type LargeCustomDictionaryConfig_BigQueryField struct { + BigQueryField *BigQueryField `protobuf:"bytes,3,opt,name=big_query_field,json=bigQueryField,proto3,oneof"` +} + +func (*LargeCustomDictionaryConfig_CloudStorageFileSet) isLargeCustomDictionaryConfig_Source() {} + +func (*LargeCustomDictionaryConfig_BigQueryField) isLargeCustomDictionaryConfig_Source() {} + +func (m *LargeCustomDictionaryConfig) GetSource() isLargeCustomDictionaryConfig_Source { if m != nil { - return m.EndTime + return m.Source } return nil } -func (m *DlpJob) GetJobTriggerName() string { - if m != nil { - return m.JobTriggerName +func (m *LargeCustomDictionaryConfig) GetCloudStorageFileSet() *CloudStorageFileSet { + if x, ok := m.GetSource().(*LargeCustomDictionaryConfig_CloudStorageFileSet); ok { + return x.CloudStorageFileSet } - return "" + return nil } -func (m *DlpJob) GetErrors() []*Error { - if m != nil { - return m.Errors +func (m *LargeCustomDictionaryConfig) GetBigQueryField() *BigQueryField { + if x, ok := m.GetSource().(*LargeCustomDictionaryConfig_BigQueryField); ok { + return x.BigQueryField } return nil } // XXX_OneofFuncs is for the internal use of the proto package. -func (*DlpJob) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _DlpJob_OneofMarshaler, _DlpJob_OneofUnmarshaler, _DlpJob_OneofSizer, []interface{}{ - (*DlpJob_RiskDetails)(nil), - (*DlpJob_InspectDetails)(nil), +func (*LargeCustomDictionaryConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _LargeCustomDictionaryConfig_OneofMarshaler, _LargeCustomDictionaryConfig_OneofUnmarshaler, _LargeCustomDictionaryConfig_OneofSizer, []interface{}{ + (*LargeCustomDictionaryConfig_CloudStorageFileSet)(nil), + (*LargeCustomDictionaryConfig_BigQueryField)(nil), } } -func _DlpJob_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*DlpJob) - // details - switch x := m.Details.(type) { - case *DlpJob_RiskDetails: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RiskDetails); err != nil { +func _LargeCustomDictionaryConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*LargeCustomDictionaryConfig) + // source + switch x := m.Source.(type) { + case *LargeCustomDictionaryConfig_CloudStorageFileSet: + b.EncodeVarint(2<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CloudStorageFileSet); err != nil { return err } - case *DlpJob_InspectDetails: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InspectDetails); err != nil { + case *LargeCustomDictionaryConfig_BigQueryField: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.BigQueryField); err != nil { return err } case nil: default: - return fmt.Errorf("DlpJob.Details has unexpected type %T", x) + return fmt.Errorf("LargeCustomDictionaryConfig.Source has unexpected type %T", x) } return nil } -func _DlpJob_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*DlpJob) +func _LargeCustomDictionaryConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*LargeCustomDictionaryConfig) switch tag { - case 4: // details.risk_details + case 2: // source.cloud_storage_file_set if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(AnalyzeDataSourceRiskDetails) + msg := new(CloudStorageFileSet) err := b.DecodeMessage(msg) - m.Details = &DlpJob_RiskDetails{msg} + m.Source = &LargeCustomDictionaryConfig_CloudStorageFileSet{msg} return true, err - case 5: // details.inspect_details + case 3: // source.big_query_field if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } - msg := new(InspectDataSourceDetails) + msg := new(BigQueryField) err := b.DecodeMessage(msg) - m.Details = &DlpJob_InspectDetails{msg} + m.Source = &LargeCustomDictionaryConfig_BigQueryField{msg} return true, err default: return false, nil } } -func _DlpJob_OneofSizer(msg proto.Message) (n int) { - m := msg.(*DlpJob) - // details - switch x := m.Details.(type) { - case *DlpJob_RiskDetails: - s := proto.Size(x.RiskDetails) +func _LargeCustomDictionaryConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*LargeCustomDictionaryConfig) + // source + switch x := m.Source.(type) { + case *LargeCustomDictionaryConfig_CloudStorageFileSet: + s := proto.Size(x.CloudStorageFileSet) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s - case *DlpJob_InspectDetails: - s := proto.Size(x.InspectDetails) + case *LargeCustomDictionaryConfig_BigQueryField: + s := proto.Size(x.BigQueryField) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s @@ -10866,343 +12316,349 @@ func _DlpJob_OneofSizer(msg proto.Message) (n int) { return n } -// The request message for [DlpJobs.GetDlpJob][]. -type GetDlpJobRequest struct { - // The name of the DlpJob resource. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Configuration for a StoredInfoType. +type StoredInfoTypeConfig struct { + // Display name of the StoredInfoType (max 256 characters). + DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Description of the StoredInfoType (max 256 characters). + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Types that are valid to be assigned to Type: + // *StoredInfoTypeConfig_LargeCustomDictionary + Type isStoredInfoTypeConfig_Type `protobuf_oneof:"type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GetDlpJobRequest) Reset() { *m = GetDlpJobRequest{} } -func (m *GetDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetDlpJobRequest) ProtoMessage() {} -func (*GetDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{83} +func (m *StoredInfoTypeConfig) Reset() { *m = StoredInfoTypeConfig{} } +func (m *StoredInfoTypeConfig) String() string { return proto.CompactTextString(m) } +func (*StoredInfoTypeConfig) ProtoMessage() {} +func (*StoredInfoTypeConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{99} } -func (m *GetDlpJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDlpJobRequest.Unmarshal(m, b) +func (m *StoredInfoTypeConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StoredInfoTypeConfig.Unmarshal(m, b) } -func (m *GetDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDlpJobRequest.Marshal(b, m, deterministic) +func (m *StoredInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StoredInfoTypeConfig.Marshal(b, m, deterministic) } -func (dst *GetDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDlpJobRequest.Merge(dst, src) +func (dst *StoredInfoTypeConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoredInfoTypeConfig.Merge(dst, src) } -func (m *GetDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_GetDlpJobRequest.Size(m) +func (m *StoredInfoTypeConfig) XXX_Size() int { + return xxx_messageInfo_StoredInfoTypeConfig.Size(m) } -func (m *GetDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDlpJobRequest.DiscardUnknown(m) +func (m *StoredInfoTypeConfig) XXX_DiscardUnknown() { + xxx_messageInfo_StoredInfoTypeConfig.DiscardUnknown(m) } -var xxx_messageInfo_GetDlpJobRequest proto.InternalMessageInfo +var xxx_messageInfo_StoredInfoTypeConfig proto.InternalMessageInfo -func (m *GetDlpJobRequest) GetName() string { +func (m *StoredInfoTypeConfig) GetDisplayName() string { if m != nil { - return m.Name + return m.DisplayName } return "" } -// The request message for listing DLP jobs. -type ListDlpJobsRequest struct { - // The parent resource name, for example projects/my-project-id. - Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Allows filtering. - // - // Supported syntax: - // - // * Filter expressions are made up of one or more restrictions. - // * Restrictions can be combined by `AND` or `OR` logical operators. A - // sequence of restrictions implicitly uses `AND`. - // * A restriction has the form of ` `. - // * Supported fields/values for inspect jobs: - // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - // - `trigger_name` - The resource name of the trigger that created job. - // * Supported fields for risk analysis jobs: - // - `state` - RUNNING|CANCELED|FINISHED|FAILED - // * The operator must be `=` or `!=`. - // - // Examples: - // - // * inspected_storage = cloud_storage AND state = done - // * inspected_storage = cloud_storage OR inspected_storage = bigquery - // * inspected_storage = cloud_storage AND (state = done OR state = canceled) - // - // The length of this field should be no more than 500 characters. - Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - // The standard list page size. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The standard list page token. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The type of job. Defaults to `DlpJobType.INSPECT` - Type DlpJobType `protobuf:"varint,5,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *StoredInfoTypeConfig) GetDescription() string { + if m != nil { + return m.Description + } + return "" } -func (m *ListDlpJobsRequest) Reset() { *m = ListDlpJobsRequest{} } -func (m *ListDlpJobsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDlpJobsRequest) ProtoMessage() {} -func (*ListDlpJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{84} -} -func (m *ListDlpJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDlpJobsRequest.Unmarshal(m, b) -} -func (m *ListDlpJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDlpJobsRequest.Marshal(b, m, deterministic) -} -func (dst *ListDlpJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDlpJobsRequest.Merge(dst, src) -} -func (m *ListDlpJobsRequest) XXX_Size() int { - return xxx_messageInfo_ListDlpJobsRequest.Size(m) +type isStoredInfoTypeConfig_Type interface { + isStoredInfoTypeConfig_Type() } -func (m *ListDlpJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDlpJobsRequest.DiscardUnknown(m) + +type StoredInfoTypeConfig_LargeCustomDictionary struct { + LargeCustomDictionary *LargeCustomDictionaryConfig `protobuf:"bytes,3,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"` } -var xxx_messageInfo_ListDlpJobsRequest proto.InternalMessageInfo +func (*StoredInfoTypeConfig_LargeCustomDictionary) isStoredInfoTypeConfig_Type() {} -func (m *ListDlpJobsRequest) GetParent() string { +func (m *StoredInfoTypeConfig) GetType() isStoredInfoTypeConfig_Type { if m != nil { - return m.Parent + return m.Type } - return "" + return nil } -func (m *ListDlpJobsRequest) GetFilter() string { - if m != nil { - return m.Filter +func (m *StoredInfoTypeConfig) GetLargeCustomDictionary() *LargeCustomDictionaryConfig { + if x, ok := m.GetType().(*StoredInfoTypeConfig_LargeCustomDictionary); ok { + return x.LargeCustomDictionary } - return "" + return nil } -func (m *ListDlpJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +// XXX_OneofFuncs is for the internal use of the proto package. +func (*StoredInfoTypeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _StoredInfoTypeConfig_OneofMarshaler, _StoredInfoTypeConfig_OneofUnmarshaler, _StoredInfoTypeConfig_OneofSizer, []interface{}{ + (*StoredInfoTypeConfig_LargeCustomDictionary)(nil), } - return 0 } -func (m *ListDlpJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func _StoredInfoTypeConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*StoredInfoTypeConfig) + // type + switch x := m.Type.(type) { + case *StoredInfoTypeConfig_LargeCustomDictionary: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.LargeCustomDictionary); err != nil { + return err + } + case nil: + default: + return fmt.Errorf("StoredInfoTypeConfig.Type has unexpected type %T", x) } - return "" + return nil } -func (m *ListDlpJobsRequest) GetType() DlpJobType { - if m != nil { - return m.Type +func _StoredInfoTypeConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*StoredInfoTypeConfig) + switch tag { + case 3: // type.large_custom_dictionary + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(LargeCustomDictionaryConfig) + err := b.DecodeMessage(msg) + m.Type = &StoredInfoTypeConfig_LargeCustomDictionary{msg} + return true, err + default: + return false, nil } - return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED } -// The response message for listing DLP jobs. -type ListDlpJobsResponse struct { - // A list of DlpJobs that matches the specified filter in the request. - Jobs []*DlpJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - // The standard List next-page token. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +func _StoredInfoTypeConfig_OneofSizer(msg proto.Message) (n int) { + m := msg.(*StoredInfoTypeConfig) + // type + switch x := m.Type.(type) { + case *StoredInfoTypeConfig_LargeCustomDictionary: + s := proto.Size(x.LargeCustomDictionary) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + +// Version of a StoredInfoType, including the configuration used to build it, +// create timestamp, and current state. +type StoredInfoTypeVersion struct { + // StoredInfoType configuration. + Config *StoredInfoTypeConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Create timestamp of the version. Read-only, determined by the system + // when the version is created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Stored info type version state. Read-only, updated by the system + // during dictionary creation. + State StoredInfoTypeState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.StoredInfoTypeState" json:"state,omitempty"` + // Errors that occurred when creating this storedInfoType version, or + // anomalies detected in the storedInfoType data that render it unusable. Only + // the five most recent errors will be displayed, with the most recent error + // appearing first. + //

For example, some of the data for stored custom dictionaries is put in + // the user's Google Cloud Storage bucket, and if this data is modified or + // deleted by the user or another system, the dictionary becomes invalid. + //

If any errors occur, fix the problem indicated by the error message and + // use the UpdateStoredInfoType API method to create another version of the + // storedInfoType to continue using it, reusing the same `config` if it was + // not the source of the error. + Errors []*Error `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListDlpJobsResponse) Reset() { *m = ListDlpJobsResponse{} } -func (m *ListDlpJobsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDlpJobsResponse) ProtoMessage() {} -func (*ListDlpJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{85} +func (m *StoredInfoTypeVersion) Reset() { *m = StoredInfoTypeVersion{} } +func (m *StoredInfoTypeVersion) String() string { return proto.CompactTextString(m) } +func (*StoredInfoTypeVersion) ProtoMessage() {} +func (*StoredInfoTypeVersion) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{100} } -func (m *ListDlpJobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDlpJobsResponse.Unmarshal(m, b) +func (m *StoredInfoTypeVersion) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StoredInfoTypeVersion.Unmarshal(m, b) } -func (m *ListDlpJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDlpJobsResponse.Marshal(b, m, deterministic) +func (m *StoredInfoTypeVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StoredInfoTypeVersion.Marshal(b, m, deterministic) } -func (dst *ListDlpJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDlpJobsResponse.Merge(dst, src) +func (dst *StoredInfoTypeVersion) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoredInfoTypeVersion.Merge(dst, src) } -func (m *ListDlpJobsResponse) XXX_Size() int { - return xxx_messageInfo_ListDlpJobsResponse.Size(m) +func (m *StoredInfoTypeVersion) XXX_Size() int { + return xxx_messageInfo_StoredInfoTypeVersion.Size(m) } -func (m *ListDlpJobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDlpJobsResponse.DiscardUnknown(m) +func (m *StoredInfoTypeVersion) XXX_DiscardUnknown() { + xxx_messageInfo_StoredInfoTypeVersion.DiscardUnknown(m) } -var xxx_messageInfo_ListDlpJobsResponse proto.InternalMessageInfo +var xxx_messageInfo_StoredInfoTypeVersion proto.InternalMessageInfo -func (m *ListDlpJobsResponse) GetJobs() []*DlpJob { +func (m *StoredInfoTypeVersion) GetConfig() *StoredInfoTypeConfig { if m != nil { - return m.Jobs + return m.Config } return nil } -func (m *ListDlpJobsResponse) GetNextPageToken() string { +func (m *StoredInfoTypeVersion) GetCreateTime() *timestamp.Timestamp { if m != nil { - return m.NextPageToken + return m.CreateTime } - return "" -} - -// The request message for canceling a DLP job. -type CancelDlpJobRequest struct { - // The name of the DlpJob resource to be cancelled. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return nil } -func (m *CancelDlpJobRequest) Reset() { *m = CancelDlpJobRequest{} } -func (m *CancelDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*CancelDlpJobRequest) ProtoMessage() {} -func (*CancelDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{86} -} -func (m *CancelDlpJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelDlpJobRequest.Unmarshal(m, b) -} -func (m *CancelDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelDlpJobRequest.Marshal(b, m, deterministic) -} -func (dst *CancelDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelDlpJobRequest.Merge(dst, src) -} -func (m *CancelDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_CancelDlpJobRequest.Size(m) -} -func (m *CancelDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelDlpJobRequest.DiscardUnknown(m) +func (m *StoredInfoTypeVersion) GetState() StoredInfoTypeState { + if m != nil { + return m.State + } + return StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED } -var xxx_messageInfo_CancelDlpJobRequest proto.InternalMessageInfo - -func (m *CancelDlpJobRequest) GetName() string { +func (m *StoredInfoTypeVersion) GetErrors() []*Error { if m != nil { - return m.Name + return m.Errors } - return "" + return nil } -// The request message for deleting a DLP job. -type DeleteDlpJobRequest struct { - // The name of the DlpJob resource to be deleted. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// StoredInfoType resource message that contains information about the current +// version and any pending updates. +type StoredInfoType struct { + // Resource name. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Current version of the stored info type. + CurrentVersion *StoredInfoTypeVersion `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` + // Pending versions of the stored info type. Empty if no versions are + // pending. + PendingVersions []*StoredInfoTypeVersion `protobuf:"bytes,3,rep,name=pending_versions,json=pendingVersions,proto3" json:"pending_versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DeleteDlpJobRequest) Reset() { *m = DeleteDlpJobRequest{} } -func (m *DeleteDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDlpJobRequest) ProtoMessage() {} -func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{87} +func (m *StoredInfoType) Reset() { *m = StoredInfoType{} } +func (m *StoredInfoType) String() string { return proto.CompactTextString(m) } +func (*StoredInfoType) ProtoMessage() {} +func (*StoredInfoType) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{101} } -func (m *DeleteDlpJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDlpJobRequest.Unmarshal(m, b) +func (m *StoredInfoType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StoredInfoType.Unmarshal(m, b) } -func (m *DeleteDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDlpJobRequest.Marshal(b, m, deterministic) +func (m *StoredInfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StoredInfoType.Marshal(b, m, deterministic) } -func (dst *DeleteDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDlpJobRequest.Merge(dst, src) +func (dst *StoredInfoType) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoredInfoType.Merge(dst, src) } -func (m *DeleteDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDlpJobRequest.Size(m) +func (m *StoredInfoType) XXX_Size() int { + return xxx_messageInfo_StoredInfoType.Size(m) } -func (m *DeleteDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDlpJobRequest.DiscardUnknown(m) +func (m *StoredInfoType) XXX_DiscardUnknown() { + xxx_messageInfo_StoredInfoType.DiscardUnknown(m) } -var xxx_messageInfo_DeleteDlpJobRequest proto.InternalMessageInfo +var xxx_messageInfo_StoredInfoType proto.InternalMessageInfo -func (m *DeleteDlpJobRequest) GetName() string { +func (m *StoredInfoType) GetName() string { if m != nil { return m.Name } return "" } -// Request message for CreateDeidentifyTemplate. -type CreateDeidentifyTemplateRequest struct { +func (m *StoredInfoType) GetCurrentVersion() *StoredInfoTypeVersion { + if m != nil { + return m.CurrentVersion + } + return nil +} + +func (m *StoredInfoType) GetPendingVersions() []*StoredInfoTypeVersion { + if m != nil { + return m.PendingVersions + } + return nil +} + +// Request message for CreateStoredInfoType. +type CreateStoredInfoTypeRequest struct { // The parent resource name, for example projects/my-project-id or // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The DeidentifyTemplate to create. - DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` - // The template id can contain uppercase and lowercase letters, + // Configuration of the storedInfoType to create. + Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + // The storedInfoType ID can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\\d-]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. - TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` + StoredInfoTypeId string `protobuf:"bytes,3,opt,name=stored_info_type_id,json=storedInfoTypeId,proto3" json:"stored_info_type_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *CreateDeidentifyTemplateRequest) Reset() { *m = CreateDeidentifyTemplateRequest{} } -func (m *CreateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDeidentifyTemplateRequest) ProtoMessage() {} -func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{88} +func (m *CreateStoredInfoTypeRequest) Reset() { *m = CreateStoredInfoTypeRequest{} } +func (m *CreateStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } +func (*CreateStoredInfoTypeRequest) ProtoMessage() {} +func (*CreateStoredInfoTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{102} } -func (m *CreateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDeidentifyTemplateRequest.Unmarshal(m, b) +func (m *CreateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateStoredInfoTypeRequest.Unmarshal(m, b) } -func (m *CreateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDeidentifyTemplateRequest.Marshal(b, m, deterministic) +func (m *CreateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateStoredInfoTypeRequest.Marshal(b, m, deterministic) } -func (dst *CreateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDeidentifyTemplateRequest.Merge(dst, src) +func (dst *CreateStoredInfoTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateStoredInfoTypeRequest.Merge(dst, src) } -func (m *CreateDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_CreateDeidentifyTemplateRequest.Size(m) +func (m *CreateStoredInfoTypeRequest) XXX_Size() int { + return xxx_messageInfo_CreateStoredInfoTypeRequest.Size(m) } -func (m *CreateDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDeidentifyTemplateRequest.DiscardUnknown(m) +func (m *CreateStoredInfoTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateStoredInfoTypeRequest.DiscardUnknown(m) } -var xxx_messageInfo_CreateDeidentifyTemplateRequest proto.InternalMessageInfo +var xxx_messageInfo_CreateStoredInfoTypeRequest proto.InternalMessageInfo -func (m *CreateDeidentifyTemplateRequest) GetParent() string { +func (m *CreateStoredInfoTypeRequest) GetParent() string { if m != nil { return m.Parent } return "" } -func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate { +func (m *CreateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig { if m != nil { - return m.DeidentifyTemplate + return m.Config } return nil } -func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string { +func (m *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string { if m != nil { - return m.TemplateId + return m.StoredInfoTypeId } return "" } -// Request message for UpdateDeidentifyTemplate. -type UpdateDeidentifyTemplateRequest struct { - // Resource name of organization and deidentify template to be updated, for - // example `organizations/433245324/deidentifyTemplates/432452342` or - // projects/project-id/deidentifyTemplates/432452342. +// Request message for UpdateStoredInfoType. +type UpdateStoredInfoTypeRequest struct { + // Resource name of organization and storedInfoType to be updated, for + // example `organizations/433245324/storedInfoTypes/432452342` or + // projects/project-id/storedInfoTypes/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // New DeidentifyTemplate value. - DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` + // Updated configuration for the storedInfoType. If not provided, a new + // version of the storedInfoType will be created with the existing + // configuration. + Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Mask to control which fields get updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -11210,241 +12666,262 @@ type UpdateDeidentifyTemplateRequest struct { XXX_sizecache int32 `json:"-"` } -func (m *UpdateDeidentifyTemplateRequest) Reset() { *m = UpdateDeidentifyTemplateRequest{} } -func (m *UpdateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDeidentifyTemplateRequest) ProtoMessage() {} -func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{89} +func (m *UpdateStoredInfoTypeRequest) Reset() { *m = UpdateStoredInfoTypeRequest{} } +func (m *UpdateStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateStoredInfoTypeRequest) ProtoMessage() {} +func (*UpdateStoredInfoTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{103} } -func (m *UpdateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Unmarshal(m, b) +func (m *UpdateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateStoredInfoTypeRequest.Unmarshal(m, b) } -func (m *UpdateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Marshal(b, m, deterministic) +func (m *UpdateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateStoredInfoTypeRequest.Marshal(b, m, deterministic) } -func (dst *UpdateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDeidentifyTemplateRequest.Merge(dst, src) +func (dst *UpdateStoredInfoTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateStoredInfoTypeRequest.Merge(dst, src) } -func (m *UpdateDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Size(m) +func (m *UpdateStoredInfoTypeRequest) XXX_Size() int { + return xxx_messageInfo_UpdateStoredInfoTypeRequest.Size(m) } -func (m *UpdateDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDeidentifyTemplateRequest.DiscardUnknown(m) +func (m *UpdateStoredInfoTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateStoredInfoTypeRequest.DiscardUnknown(m) } -var xxx_messageInfo_UpdateDeidentifyTemplateRequest proto.InternalMessageInfo +var xxx_messageInfo_UpdateStoredInfoTypeRequest proto.InternalMessageInfo -func (m *UpdateDeidentifyTemplateRequest) GetName() string { +func (m *UpdateStoredInfoTypeRequest) GetName() string { if m != nil { return m.Name } return "" } -func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate { +func (m *UpdateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig { if m != nil { - return m.DeidentifyTemplate + return m.Config } return nil } -func (m *UpdateDeidentifyTemplateRequest) GetUpdateMask() *field_mask.FieldMask { +func (m *UpdateStoredInfoTypeRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { return m.UpdateMask } return nil } -// Request message for GetDeidentifyTemplate. -type GetDeidentifyTemplateRequest struct { - // Resource name of the organization and deidentify template to be read, for - // example `organizations/433245324/deidentifyTemplates/432452342` or - // projects/project-id/deidentifyTemplates/432452342. +// Request message for GetStoredInfoType. +type GetStoredInfoTypeRequest struct { + // Resource name of the organization and storedInfoType to be read, for + // example `organizations/433245324/storedInfoTypes/432452342` or + // projects/project-id/storedInfoTypes/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *GetDeidentifyTemplateRequest) Reset() { *m = GetDeidentifyTemplateRequest{} } -func (m *GetDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*GetDeidentifyTemplateRequest) ProtoMessage() {} -func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{90} +func (m *GetStoredInfoTypeRequest) Reset() { *m = GetStoredInfoTypeRequest{} } +func (m *GetStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } +func (*GetStoredInfoTypeRequest) ProtoMessage() {} +func (*GetStoredInfoTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{104} } -func (m *GetDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDeidentifyTemplateRequest.Unmarshal(m, b) +func (m *GetStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetStoredInfoTypeRequest.Unmarshal(m, b) } -func (m *GetDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDeidentifyTemplateRequest.Marshal(b, m, deterministic) +func (m *GetStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetStoredInfoTypeRequest.Marshal(b, m, deterministic) } -func (dst *GetDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDeidentifyTemplateRequest.Merge(dst, src) +func (dst *GetStoredInfoTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetStoredInfoTypeRequest.Merge(dst, src) } -func (m *GetDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_GetDeidentifyTemplateRequest.Size(m) +func (m *GetStoredInfoTypeRequest) XXX_Size() int { + return xxx_messageInfo_GetStoredInfoTypeRequest.Size(m) } -func (m *GetDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDeidentifyTemplateRequest.DiscardUnknown(m) +func (m *GetStoredInfoTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetStoredInfoTypeRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetDeidentifyTemplateRequest proto.InternalMessageInfo +var xxx_messageInfo_GetStoredInfoTypeRequest proto.InternalMessageInfo -func (m *GetDeidentifyTemplateRequest) GetName() string { +func (m *GetStoredInfoTypeRequest) GetName() string { if m != nil { return m.Name } return "" } -// Request message for ListDeidentifyTemplates. -type ListDeidentifyTemplatesRequest struct { +// Request message for ListStoredInfoTypes. +type ListStoredInfoTypesRequest struct { // The parent resource name, for example projects/my-project-id or // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional page token to continue retrieval. Comes from previous call - // to `ListDeidentifyTemplates`. + // to `ListStoredInfoTypes`. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional size of the page, can be limited by server. If zero server returns // a page of max size 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional comma separated list of fields to order by, + // followed by `asc` or `desc` postfix. This list is case-insensitive, + // default sorting order is ascending, redundant space characters are + // insignificant. + // + // Example: `name asc, display_name, create_time desc` + // + // Supported fields are: + // + // - `create_time`: corresponds to time the most recent version of the + // resource was created. + // - `state`: corresponds to the state of the resource. + // - `name`: corresponds to resource name. + // - `display_name`: corresponds to info type's display name. + OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListDeidentifyTemplatesRequest) Reset() { *m = ListDeidentifyTemplatesRequest{} } -func (m *ListDeidentifyTemplatesRequest) String() string { return proto.CompactTextString(m) } -func (*ListDeidentifyTemplatesRequest) ProtoMessage() {} -func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{91} +func (m *ListStoredInfoTypesRequest) Reset() { *m = ListStoredInfoTypesRequest{} } +func (m *ListStoredInfoTypesRequest) String() string { return proto.CompactTextString(m) } +func (*ListStoredInfoTypesRequest) ProtoMessage() {} +func (*ListStoredInfoTypesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{105} } -func (m *ListDeidentifyTemplatesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeidentifyTemplatesRequest.Unmarshal(m, b) +func (m *ListStoredInfoTypesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListStoredInfoTypesRequest.Unmarshal(m, b) } -func (m *ListDeidentifyTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeidentifyTemplatesRequest.Marshal(b, m, deterministic) +func (m *ListStoredInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListStoredInfoTypesRequest.Marshal(b, m, deterministic) } -func (dst *ListDeidentifyTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeidentifyTemplatesRequest.Merge(dst, src) +func (dst *ListStoredInfoTypesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListStoredInfoTypesRequest.Merge(dst, src) } -func (m *ListDeidentifyTemplatesRequest) XXX_Size() int { - return xxx_messageInfo_ListDeidentifyTemplatesRequest.Size(m) +func (m *ListStoredInfoTypesRequest) XXX_Size() int { + return xxx_messageInfo_ListStoredInfoTypesRequest.Size(m) } -func (m *ListDeidentifyTemplatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeidentifyTemplatesRequest.DiscardUnknown(m) +func (m *ListStoredInfoTypesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListStoredInfoTypesRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListDeidentifyTemplatesRequest proto.InternalMessageInfo +var xxx_messageInfo_ListStoredInfoTypesRequest proto.InternalMessageInfo -func (m *ListDeidentifyTemplatesRequest) GetParent() string { +func (m *ListStoredInfoTypesRequest) GetParent() string { if m != nil { return m.Parent } return "" } -func (m *ListDeidentifyTemplatesRequest) GetPageToken() string { +func (m *ListStoredInfoTypesRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } -func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32 { +func (m *ListStoredInfoTypesRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } -// Response message for ListDeidentifyTemplates. -type ListDeidentifyTemplatesResponse struct { - // List of deidentify templates, up to page_size in - // ListDeidentifyTemplatesRequest. - DeidentifyTemplates []*DeidentifyTemplate `protobuf:"bytes,1,rep,name=deidentify_templates,json=deidentifyTemplates,proto3" json:"deidentify_templates,omitempty"` +func (m *ListStoredInfoTypesRequest) GetOrderBy() string { + if m != nil { + return m.OrderBy + } + return "" +} + +// Response message for ListStoredInfoTypes. +type ListStoredInfoTypesResponse struct { + // List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. + StoredInfoTypes []*StoredInfoType `protobuf:"bytes,1,rep,name=stored_info_types,json=storedInfoTypes,proto3" json:"stored_info_types,omitempty"` // If the next page is available then the next page token to be used - // in following ListDeidentifyTemplates request. + // in following ListStoredInfoTypes request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *ListDeidentifyTemplatesResponse) Reset() { *m = ListDeidentifyTemplatesResponse{} } -func (m *ListDeidentifyTemplatesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDeidentifyTemplatesResponse) ProtoMessage() {} -func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{92} +func (m *ListStoredInfoTypesResponse) Reset() { *m = ListStoredInfoTypesResponse{} } +func (m *ListStoredInfoTypesResponse) String() string { return proto.CompactTextString(m) } +func (*ListStoredInfoTypesResponse) ProtoMessage() {} +func (*ListStoredInfoTypesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{106} } -func (m *ListDeidentifyTemplatesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeidentifyTemplatesResponse.Unmarshal(m, b) +func (m *ListStoredInfoTypesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListStoredInfoTypesResponse.Unmarshal(m, b) } -func (m *ListDeidentifyTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeidentifyTemplatesResponse.Marshal(b, m, deterministic) +func (m *ListStoredInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListStoredInfoTypesResponse.Marshal(b, m, deterministic) } -func (dst *ListDeidentifyTemplatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeidentifyTemplatesResponse.Merge(dst, src) +func (dst *ListStoredInfoTypesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListStoredInfoTypesResponse.Merge(dst, src) } -func (m *ListDeidentifyTemplatesResponse) XXX_Size() int { - return xxx_messageInfo_ListDeidentifyTemplatesResponse.Size(m) +func (m *ListStoredInfoTypesResponse) XXX_Size() int { + return xxx_messageInfo_ListStoredInfoTypesResponse.Size(m) } -func (m *ListDeidentifyTemplatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeidentifyTemplatesResponse.DiscardUnknown(m) +func (m *ListStoredInfoTypesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListStoredInfoTypesResponse.DiscardUnknown(m) } -var xxx_messageInfo_ListDeidentifyTemplatesResponse proto.InternalMessageInfo +var xxx_messageInfo_ListStoredInfoTypesResponse proto.InternalMessageInfo -func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate { +func (m *ListStoredInfoTypesResponse) GetStoredInfoTypes() []*StoredInfoType { if m != nil { - return m.DeidentifyTemplates + return m.StoredInfoTypes } return nil } -func (m *ListDeidentifyTemplatesResponse) GetNextPageToken() string { +func (m *ListStoredInfoTypesResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } -// Request message for DeleteDeidentifyTemplate. -type DeleteDeidentifyTemplateRequest struct { - // Resource name of the organization and deidentify template to be deleted, - // for example `organizations/433245324/deidentifyTemplates/432452342` or - // projects/project-id/deidentifyTemplates/432452342. +// Request message for DeleteStoredInfoType. +type DeleteStoredInfoTypeRequest struct { + // Resource name of the organization and storedInfoType to be deleted, for + // example `organizations/433245324/storedInfoTypes/432452342` or + // projects/project-id/storedInfoTypes/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteDeidentifyTemplateRequest) Reset() { *m = DeleteDeidentifyTemplateRequest{} } -func (m *DeleteDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDeidentifyTemplateRequest) ProtoMessage() {} -func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dlp_536657b46c30097f, []int{93} +func (m *DeleteStoredInfoTypeRequest) Reset() { *m = DeleteStoredInfoTypeRequest{} } +func (m *DeleteStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteStoredInfoTypeRequest) ProtoMessage() {} +func (*DeleteStoredInfoTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dlp_6e712ed06404fc1d, []int{107} } -func (m *DeleteDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Unmarshal(m, b) +func (m *DeleteStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteStoredInfoTypeRequest.Unmarshal(m, b) } -func (m *DeleteDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Marshal(b, m, deterministic) +func (m *DeleteStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteStoredInfoTypeRequest.Marshal(b, m, deterministic) } -func (dst *DeleteDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDeidentifyTemplateRequest.Merge(dst, src) +func (dst *DeleteStoredInfoTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteStoredInfoTypeRequest.Merge(dst, src) } -func (m *DeleteDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Size(m) +func (m *DeleteStoredInfoTypeRequest) XXX_Size() int { + return xxx_messageInfo_DeleteStoredInfoTypeRequest.Size(m) } -func (m *DeleteDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDeidentifyTemplateRequest.DiscardUnknown(m) +func (m *DeleteStoredInfoTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteStoredInfoTypeRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteDeidentifyTemplateRequest proto.InternalMessageInfo +var xxx_messageInfo_DeleteStoredInfoTypeRequest proto.InternalMessageInfo -func (m *DeleteDeidentifyTemplateRequest) GetName() string { +func (m *DeleteStoredInfoTypeRequest) GetName() string { if m != nil { return m.Name } @@ -11452,6 +12929,10 @@ func (m *DeleteDeidentifyTemplateRequest) GetName() string { } func init() { + proto.RegisterType((*ExcludeInfoTypes)(nil), "google.privacy.dlp.v2.ExcludeInfoTypes") + proto.RegisterType((*ExclusionRule)(nil), "google.privacy.dlp.v2.ExclusionRule") + proto.RegisterType((*InspectionRule)(nil), "google.privacy.dlp.v2.InspectionRule") + proto.RegisterType((*InspectionRuleSet)(nil), "google.privacy.dlp.v2.InspectionRuleSet") proto.RegisterType((*InspectConfig)(nil), "google.privacy.dlp.v2.InspectConfig") proto.RegisterType((*InspectConfig_FindingLimits)(nil), "google.privacy.dlp.v2.InspectConfig.FindingLimits") proto.RegisterType((*InspectConfig_FindingLimits_InfoTypeLimit)(nil), "google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit") @@ -11588,10 +13069,22 @@ func init() { proto.RegisterType((*ListDeidentifyTemplatesRequest)(nil), "google.privacy.dlp.v2.ListDeidentifyTemplatesRequest") proto.RegisterType((*ListDeidentifyTemplatesResponse)(nil), "google.privacy.dlp.v2.ListDeidentifyTemplatesResponse") proto.RegisterType((*DeleteDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest") + proto.RegisterType((*LargeCustomDictionaryConfig)(nil), "google.privacy.dlp.v2.LargeCustomDictionaryConfig") + proto.RegisterType((*StoredInfoTypeConfig)(nil), "google.privacy.dlp.v2.StoredInfoTypeConfig") + proto.RegisterType((*StoredInfoTypeVersion)(nil), "google.privacy.dlp.v2.StoredInfoTypeVersion") + proto.RegisterType((*StoredInfoType)(nil), "google.privacy.dlp.v2.StoredInfoType") + proto.RegisterType((*CreateStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.CreateStoredInfoTypeRequest") + proto.RegisterType((*UpdateStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.UpdateStoredInfoTypeRequest") + proto.RegisterType((*GetStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.GetStoredInfoTypeRequest") + proto.RegisterType((*ListStoredInfoTypesRequest)(nil), "google.privacy.dlp.v2.ListStoredInfoTypesRequest") + proto.RegisterType((*ListStoredInfoTypesResponse)(nil), "google.privacy.dlp.v2.ListStoredInfoTypesResponse") + proto.RegisterType((*DeleteStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.DeleteStoredInfoTypeRequest") proto.RegisterEnum("google.privacy.dlp.v2.ContentOption", ContentOption_name, ContentOption_value) + proto.RegisterEnum("google.privacy.dlp.v2.MatchingType", MatchingType_name, MatchingType_value) proto.RegisterEnum("google.privacy.dlp.v2.InfoTypeSupportedBy", InfoTypeSupportedBy_name, InfoTypeSupportedBy_value) proto.RegisterEnum("google.privacy.dlp.v2.RelationalOperator", RelationalOperator_name, RelationalOperator_value) proto.RegisterEnum("google.privacy.dlp.v2.DlpJobType", DlpJobType_name, DlpJobType_value) + proto.RegisterEnum("google.privacy.dlp.v2.StoredInfoTypeState", StoredInfoTypeState_name, StoredInfoTypeState_value) proto.RegisterEnum("google.privacy.dlp.v2.ByteContentItem_BytesType", ByteContentItem_BytesType_name, ByteContentItem_BytesType_value) proto.RegisterEnum("google.privacy.dlp.v2.OutputStorageConfig_OutputSchema", OutputStorageConfig_OutputSchema_name, OutputStorageConfig_OutputSchema_value) proto.RegisterEnum("google.privacy.dlp.v2.TimePartConfig_TimePart", TimePartConfig_TimePart_name, TimePartConfig_TimePart_value) @@ -11733,6 +13226,27 @@ type DlpServiceClient interface { // See https://cloud.google.com/dlp/docs/inspecting-storage and // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) + // Creates a pre-built stored infoType to be used for inspection. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + CreateStoredInfoType(ctx context.Context, in *CreateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) + // Updates the stored infoType by creating a new version. The existing version + // will continue to be used until the new version is ready. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + UpdateStoredInfoType(ctx context.Context, in *UpdateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) + // Gets a stored infoType. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + GetStoredInfoType(ctx context.Context, in *GetStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) + // Lists stored infoTypes. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + ListStoredInfoTypes(ctx context.Context, in *ListStoredInfoTypesRequest, opts ...grpc.CallOption) (*ListStoredInfoTypesResponse, error) + // Deletes a stored infoType. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + DeleteStoredInfoType(ctx context.Context, in *DeleteStoredInfoTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type dlpServiceClient struct { @@ -11968,6 +13482,51 @@ func (c *dlpServiceClient) CancelDlpJob(ctx context.Context, in *CancelDlpJobReq return out, nil } +func (c *dlpServiceClient) CreateStoredInfoType(ctx context.Context, in *CreateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) { + out := new(StoredInfoType) + err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateStoredInfoType", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dlpServiceClient) UpdateStoredInfoType(ctx context.Context, in *UpdateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) { + out := new(StoredInfoType) + err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateStoredInfoType", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dlpServiceClient) GetStoredInfoType(ctx context.Context, in *GetStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) { + out := new(StoredInfoType) + err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetStoredInfoType", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dlpServiceClient) ListStoredInfoTypes(ctx context.Context, in *ListStoredInfoTypesRequest, opts ...grpc.CallOption) (*ListStoredInfoTypesResponse, error) { + out := new(ListStoredInfoTypesResponse) + err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListStoredInfoTypes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dlpServiceClient) DeleteStoredInfoType(ctx context.Context, in *DeleteStoredInfoTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteStoredInfoType", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DlpServiceServer is the server API for DlpService service. type DlpServiceServer interface { // Finds potentially sensitive info in content. @@ -12088,6 +13647,27 @@ type DlpServiceServer interface { // See https://cloud.google.com/dlp/docs/inspecting-storage and // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. CancelDlpJob(context.Context, *CancelDlpJobRequest) (*empty.Empty, error) + // Creates a pre-built stored infoType to be used for inspection. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + CreateStoredInfoType(context.Context, *CreateStoredInfoTypeRequest) (*StoredInfoType, error) + // Updates the stored infoType by creating a new version. The existing version + // will continue to be used until the new version is ready. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + UpdateStoredInfoType(context.Context, *UpdateStoredInfoTypeRequest) (*StoredInfoType, error) + // Gets a stored infoType. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + GetStoredInfoType(context.Context, *GetStoredInfoTypeRequest) (*StoredInfoType, error) + // Lists stored infoTypes. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + ListStoredInfoTypes(context.Context, *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error) + // Deletes a stored infoType. + // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to + // learn more. + DeleteStoredInfoType(context.Context, *DeleteStoredInfoTypeRequest) (*empty.Empty, error) } func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer) { @@ -12544,6 +14124,96 @@ func _DlpService_CancelDlpJob_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _DlpService_CreateStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateStoredInfoTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DlpServiceServer).CreateStoredInfoType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.privacy.dlp.v2.DlpService/CreateStoredInfoType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DlpServiceServer).CreateStoredInfoType(ctx, req.(*CreateStoredInfoTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DlpService_UpdateStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateStoredInfoTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DlpServiceServer).UpdateStoredInfoType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateStoredInfoType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DlpServiceServer).UpdateStoredInfoType(ctx, req.(*UpdateStoredInfoTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DlpService_GetStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStoredInfoTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DlpServiceServer).GetStoredInfoType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.privacy.dlp.v2.DlpService/GetStoredInfoType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DlpServiceServer).GetStoredInfoType(ctx, req.(*GetStoredInfoTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DlpService_ListStoredInfoTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListStoredInfoTypesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DlpServiceServer).ListStoredInfoTypes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.privacy.dlp.v2.DlpService/ListStoredInfoTypes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DlpServiceServer).ListStoredInfoTypes(ctx, req.(*ListStoredInfoTypesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DlpService_DeleteStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteStoredInfoTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DlpServiceServer).DeleteStoredInfoType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteStoredInfoType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DlpServiceServer).DeleteStoredInfoType(ctx, req.(*DeleteStoredInfoTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _DlpService_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.privacy.dlp.v2.DlpService", HandlerType: (*DlpServiceServer)(nil), @@ -12648,537 +14318,608 @@ var _DlpService_serviceDesc = grpc.ServiceDesc{ MethodName: "CancelDlpJob", Handler: _DlpService_CancelDlpJob_Handler, }, + { + MethodName: "CreateStoredInfoType", + Handler: _DlpService_CreateStoredInfoType_Handler, + }, + { + MethodName: "UpdateStoredInfoType", + Handler: _DlpService_UpdateStoredInfoType_Handler, + }, + { + MethodName: "GetStoredInfoType", + Handler: _DlpService_GetStoredInfoType_Handler, + }, + { + MethodName: "ListStoredInfoTypes", + Handler: _DlpService_ListStoredInfoTypes_Handler, + }, + { + MethodName: "DeleteStoredInfoType", + Handler: _DlpService_DeleteStoredInfoType_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/privacy/dlp/v2/dlp.proto", } func init() { - proto.RegisterFile("google/privacy/dlp/v2/dlp.proto", fileDescriptor_dlp_536657b46c30097f) -} - -var fileDescriptor_dlp_536657b46c30097f = []byte{ - // 8339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x7d, 0x6d, 0x6c, 0x1b, 0xd9, - 0x76, 0x98, 0x86, 0x14, 0x29, 0xf2, 0x50, 0xa4, 0xa8, 0xab, 0x0f, 0xcb, 0xb4, 0xbd, 0xf6, 0x8e, - 0x77, 0x6d, 0xaf, 0xd6, 0x96, 0x76, 0xb5, 0x1f, 0x6f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, 0x7e, 0x48, 0x6d, 0xa3, - 0xa3, 0x45, 0x69, 0xd5, 0x27, 0x32, 0xaf, 0xcc, 0xf5, 0x89, 0x5d, 0xbb, 0x10, 0xd1, 0xc7, 0x90, - 0x74, 0x5a, 0x17, 0xa8, 0x41, 0x8d, 0x35, 0xeb, 0x84, 0x65, 0xd6, 0xe8, 0x55, 0x98, 0x77, 0x77, - 0x86, 0xf7, 0x3c, 0xe5, 0x6a, 0x5c, 0xfc, 0x46, 0x80, 0x85, 0xed, 0x53, 0x13, 0xf3, 0x31, 0xa1, - 0xca, 0x2b, 0xc2, 0xac, 0xdd, 0x5e, 0x66, 0xeb, 0xad, 0x90, 0xf6, 0x7c, 0x54, 0xb4, 0x6c, 0x50, - 0x01, 0x28, 0x35, 0x42, 0x30, 0xdb, 0x52, 0x4c, 0x85, 0x36, 0x3a, 0x2f, 0xd1, 0xdf, 0xe2, 0x5f, - 0x84, 0xa4, 0x8d, 0x86, 0x72, 0xb0, 0xba, 0xfd, 0xb0, 0x5e, 0xaa, 0xc9, 0xf5, 0x87, 0xfb, 0x25, - 0xf9, 0x60, 0xaf, 0xb6, 0x5f, 0x2a, 0x54, 0xee, 0x54, 0x4a, 0xc5, 0xec, 0x0c, 0x4a, 0x42, 0xac, - 0xb2, 0x9b, 0xbf, 0x5b, 0xca, 0xc6, 0x51, 0x06, 0x80, 0xfe, 0x94, 0xef, 0xed, 0x97, 0xee, 0x66, - 0x05, 0x94, 0x86, 0x24, 0x2b, 0x6f, 0xef, 0xee, 0x67, 0x23, 0x4e, 0x71, 0x7f, 0xef, 0x6e, 0x36, - 0xea, 0x14, 0x6b, 0x0f, 0xee, 0x66, 0x67, 0x49, 0xb1, 0x5e, 0xfa, 0xbc, 0x2e, 0x1f, 0xd4, 0xef, - 0x7c, 0x90, 0x8d, 0x89, 0xff, 0x40, 0x80, 0x94, 0xbb, 0xa7, 0xab, 0x10, 0x7b, 0xaa, 0x74, 0x06, - 0x98, 0xce, 0xd5, 0x64, 0x79, 0x46, 0x62, 0x45, 0xf4, 0x2e, 0xc4, 0x4c, 0xa5, 0xd1, 0x61, 0x13, - 0x2e, 0xb5, 0x75, 0x31, 0x44, 0x05, 0x75, 0x82, 0x43, 0xa8, 0x28, 0x32, 0x2a, 0x41, 0xb2, 0x71, - 0x6a, 0x62, 0x66, 0x9b, 0x31, 0x4a, 0x79, 0x6d, 0x32, 0xe5, 0x95, 0x67, 0xa4, 0x04, 0x21, 0x25, - 0xbf, 0xb7, 0x53, 0x90, 0x24, 0xca, 0xa2, 0x6c, 0xc4, 0x7f, 0x22, 0x40, 0x8c, 0x36, 0x83, 0x3e, - 0x80, 0xb9, 0x23, 0xac, 0xb4, 0xb0, 0x6e, 0xf9, 0xb7, 0x57, 0x42, 0x78, 0xdf, 0x21, 0xae, 0xbb, - 0xd2, 0x92, 0x2c, 0x74, 0xf4, 0x2e, 0xcc, 0xea, 0xda, 0x33, 0x32, 0xfc, 0x84, 0xec, 0xca, 0xa8, - 0xce, 0x6c, 0x48, 0xda, 0x33, 0x89, 0x62, 0xe7, 0x3e, 0x82, 0xa8, 0xa4, 0x3d, 0x43, 0xef, 0x42, - 0x9c, 0xea, 0xc4, 0x6a, 0x35, 0x4c, 0x17, 0x0f, 0x08, 0x92, 0xc4, 0x71, 0xc5, 0xaf, 0x6c, 0x07, - 0x2d, 0x61, 0x63, 0xd0, 0x31, 0xd1, 0x6d, 0x48, 0xd8, 0x66, 0x38, 0x4e, 0x7c, 0x8a, 0x26, 0xd9, - 0xf8, 0xe8, 0x16, 0x20, 0x7b, 0x3e, 0x9a, 0xfa, 0xa0, 0xd7, 0x54, 0x4c, 0xcc, 0x1c, 0x74, 0x42, - 0x5a, 0xb4, 0x6a, 0xea, 0x56, 0x85, 0xf8, 0x1f, 0x23, 0x30, 0xc7, 0x99, 0xa0, 0x65, 0x88, 0x31, - 0xcf, 0x49, 0x6c, 0x39, 0x29, 0xb1, 0x82, 0x77, 0x56, 0x45, 0xa6, 0x9d, 0x55, 0x79, 0x00, 0xd7, - 0x3a, 0x11, 0x9d, 0x74, 0x9d, 0x70, 0x11, 0xa1, 0x8f, 0x20, 0xd1, 0xd1, 0x9a, 0x74, 0x75, 0xe6, - 0x26, 0x16, 0xd6, 0xfe, 0x0e, 0x47, 0x93, 0x6c, 0x02, 0xf4, 0x11, 0xa4, 0x9a, 0x3a, 0x56, 0x4c, - 0x2c, 0x93, 0x75, 0x71, 0x2d, 0x4e, 0xe9, 0x73, 0x0e, 0x3d, 0x5b, 0x9f, 0x37, 0xea, 0xd6, 0xfa, - 0x2c, 0x01, 0x43, 0x27, 0x00, 0xf4, 0x13, 0x00, 0x54, 0x07, 0xd4, 0xa9, 0xad, 0xcd, 0x51, 0xda, - 0x30, 0x8b, 0xa0, 0xeb, 0x0b, 0x51, 0x80, 0x94, 0x7c, 0x62, 0xfd, 0x14, 0xff, 0x8b, 0x00, 0x89, - 0x1d, 0x47, 0x14, 0xa0, 0x16, 0xaf, 0x2b, 0xbd, 0xb6, 0xe5, 0x9f, 0xc2, 0x0c, 0x44, 0x22, 0x38, - 0x12, 0x9d, 0x21, 0xf4, 0x27, 0x2a, 0x91, 0x75, 0xa3, 0x85, 0xfb, 0x9a, 0xda, 0x33, 0x39, 0x87, - 0xc8, 0x04, 0x1c, 0x32, 0x36, 0x11, 0x63, 0x53, 0x83, 0x45, 0x6b, 0xf9, 0xb1, 0x54, 0x64, 0xac, - 0xcd, 0x51, 0x13, 0xbb, 0x36, 0x7a, 0x01, 0xb2, 0x75, 0x9b, 0x6d, 0x7a, 0x01, 0x86, 0xf8, 0xbb, - 0x51, 0x58, 0xf0, 0x61, 0xa1, 0xd7, 0x81, 0x2e, 0x55, 0x8a, 0xda, 0xc3, 0xba, 0xdc, 0x53, 0xba, - 0x96, 0x51, 0xa5, 0x6d, 0xe8, 0x9e, 0xd2, 0xc5, 0x68, 0x1f, 0x16, 0x74, 0xdc, 0xd4, 0xf4, 0x96, - 0x2d, 0x0e, 0xef, 0x56, 0xd8, 0xf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 0xa3, 0x0b, 0x90, - 0xd4, 0xb5, 0x67, 0xb2, 0xda, 0x6b, 0xe1, 0x13, 0xae, 0x8b, 0x84, 0xae, 0x3d, 0xab, 0x90, 0xb2, - 0xb8, 0x09, 0x31, 0x36, 0xad, 0x96, 0x21, 0x66, 0x98, 0x8a, 0x6e, 0x69, 0x8b, 0x15, 0x50, 0x16, - 0xa2, 0xb8, 0xc7, 0xfa, 0x13, 0x95, 0xc8, 0x4f, 0xf1, 0x11, 0xa4, 0x3d, 0xf6, 0x86, 0x2a, 0x90, - 0x69, 0x68, 0x03, 0xea, 0x7e, 0xe5, 0x86, 0x76, 0x62, 0x2f, 0x1c, 0x62, 0xd8, 0x52, 0xc8, 0x91, - 0xb7, 0xb5, 0x13, 0x29, 0xdd, 0x70, 0x0a, 0xd8, 0x10, 0x15, 0x48, 0xb9, 0x6a, 0x49, 0xe3, 0xa6, - 0xd6, 0xe7, 0x51, 0x1f, 0xf9, 0x49, 0x62, 0x8c, 0x0e, 0x3e, 0xb4, 0x42, 0x3a, 0xfa, 0x9b, 0x08, - 0xfe, 0x4c, 0x6d, 0x99, 0x47, 0x54, 0x67, 0x31, 0x89, 0x15, 0xd0, 0x2a, 0xc4, 0x8f, 0xb0, 0xda, - 0x3e, 0x32, 0xa9, 0xbf, 0x8d, 0x49, 0xbc, 0x24, 0xfe, 0xf6, 0x2c, 0x20, 0x09, 0xb7, 0x94, 0xa6, - 0x49, 0x7b, 0x61, 0x85, 0x81, 0xab, 0x10, 0xef, 0x2b, 0x3a, 0xee, 0x99, 0x7c, 0x8e, 0xf3, 0x12, - 0x19, 0x19, 0x95, 0xad, 0x6b, 0x72, 0x93, 0x86, 0x79, 0x7c, 0x68, 0x5f, 0x9b, 0x24, 0x24, 0x94, - 0xd2, 0xaa, 0x67, 0xd3, 0xf2, 0x14, 0xce, 0xb1, 0x79, 0xad, 0x53, 0x01, 0x54, 0xad, 0xc7, 0x99, - 0x92, 0xf0, 0x9d, 0xa8, 0xec, 0x93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7, 0x07, - 0x43, 0x3f, 0x2f, 0x04, 0x04, 0x7d, 0xbc, 0xed, 0xb9, 0xb3, 0x0f, 0xbc, 0xd7, 0xed, 0x39, 0x03, - 0x7f, 0x1c, 0x00, 0x47, 0xbf, 0x3a, 0x32, 0x06, 0xe4, 0xc2, 0x24, 0xa9, 0x30, 0xf7, 0xcf, 0x22, - 0x4c, 0x88, 0x43, 0xb2, 0xa5, 0x0a, 0x0b, 0x09, 0x19, 0x42, 0xee, 0x87, 0x82, 0x3f, 0x26, 0xe4, - 0x72, 0x7f, 0x08, 0xc9, 0xae, 0xda, 0x93, 0xd9, 0x09, 0xb2, 0xd1, 0x87, 0x5f, 0xd8, 0xe9, 0xa8, - 0x44, 0x57, 0xed, 0xd1, 0x5f, 0x94, 0x54, 0x39, 0xe1, 0xa4, 0x91, 0x89, 0x48, 0x95, 0x13, 0x46, - 0x5a, 0x82, 0x85, 0x27, 0x03, 0xa5, 0x67, 0xaa, 0x1d, 0x2c, 0xf3, 0x93, 0x59, 0xb3, 0x13, 0x9c, - 0xcc, 0xca, 0x58, 0x44, 0xb4, 0x68, 0xe4, 0xbe, 0x9e, 0x1d, 0x8e, 0x4d, 0x79, 0xbf, 0x7e, 0x5b, - 0x80, 0x57, 0x29, 0x67, 0x67, 0xd9, 0x91, 0x8f, 0x54, 0xc3, 0xd4, 0xda, 0xba, 0xd2, 0x95, 0x1b, - 0x83, 0xe6, 0x31, 0x36, 0xad, 0x4f, 0xd4, 0x8f, 0x5f, 0xdc, 0x8c, 0x1c, 0x02, 0x97, 0xad, 0x36, - 0xb7, 0x69, 0x93, 0xd2, 0x2b, 0x54, 0x28, 0x7b, 0x45, 0xf3, 0x55, 0x1b, 0xb9, 0x7f, 0x16, 0x81, - 0xcb, 0x63, 0x78, 0xa0, 0x6f, 0xc3, 0x05, 0x7f, 0xd7, 0x3a, 0xda, 0x33, 0xac, 0xcb, 0xf4, 0xe4, - 0x01, 0x4f, 0xf7, 0xad, 0x79, 0x1b, 0x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 0x18, - 0x1f, 0x13, 0x89, 0x5b, 0x56, 0x81, 0x32, 0xb1, 0x53, 0xa2, 0x3f, 0x05, 0x49, 0xfb, 0x92, 0x10, - 0xfa, 0x84, 0xde, 0x5b, 0xe3, 0xb7, 0x92, 0x46, 0x7f, 0x10, 0x28, 0xf2, 0xeb, 0x48, 0xe5, 0x19, - 0x29, 0xd1, 0xe2, 0xbf, 0xb7, 0x33, 0x30, 0xdf, 0x57, 0x74, 0x03, 0xb7, 0xd8, 0x65, 0x57, 0xf1, - 0xaf, 0x47, 0x20, 0x61, 0x21, 0xa2, 0xd7, 0xe9, 0x6d, 0x42, 0xcb, 0xa6, 0x86, 0x3b, 0x49, 0x2f, - 0x18, 0x62, 0xf4, 0x3e, 0xa4, 0x5c, 0xbd, 0xe3, 0x97, 0x78, 0x43, 0xfa, 0x45, 0xb4, 0xc2, 0x7f, - 0xa2, 0x75, 0x98, 0xa5, 0x62, 0x47, 0x47, 0x29, 0x5f, 0xa2, 0x38, 0xa8, 0x04, 0x74, 0x08, 0xe4, - 0xaf, 0xb4, 0x9e, 0x75, 0x41, 0xf0, 0xc6, 0x98, 0x7e, 0x52, 0x1e, 0x8f, 0xb4, 0x1e, 0x96, 0x12, - 0x26, 0xff, 0x95, 0x7b, 0x1b, 0x12, 0x16, 0x14, 0xbd, 0x0e, 0x19, 0x76, 0x37, 0x45, 0xee, 0xaa, - 0xbd, 0x81, 0x75, 0xee, 0x28, 0x26, 0xa5, 0x19, 0x74, 0x97, 0x01, 0xc5, 0x3f, 0x13, 0x20, 0xeb, - 0x3f, 0xf9, 0x8a, 0x3a, 0x70, 0xde, 0x39, 0x57, 0x64, 0x7a, 0x4e, 0x60, 0x1a, 0x5c, 0x5d, 0x1b, - 0x63, 0xbe, 0xcb, 0x78, 0xcf, 0x6d, 0x1a, 0xe5, 0x19, 0xe9, 0x9c, 0x1a, 0x5c, 0x85, 0x30, 0xac, - 0xf2, 0x6b, 0x31, 0xfe, 0xa6, 0xd8, 0x88,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97, 0xb3, 0x11, 0x94, 0x85, 0xf9, 0x62, 0xfe, 0xa1, 0x5c, 0xbd, 0x23, - 0x33, 0x48, 0x14, 0x2d, 0x40, 0x8a, 0x43, 0x3e, 0x2b, 0x95, 0x3e, 0xcd, 0xce, 0x12, 0x14, 0xf2, - 0x8b, 0x40, 0x28, 0x7d, 0x8c, 0xa0, 0x94, 0xab, 0x07, 0x12, 0x81, 0x14, 0xf3, 0x0f, 0xb3, 0x71, - 0xb1, 0x06, 0x59, 0xbf, 0xf6, 0xd1, 0x4f, 0x00, 0xf0, 0x21, 0x1c, 0x7f, 0xed, 0x90, 0x11, 0xd3, - 0x6b, 0x87, 0x4d, 0xeb, 0xa7, 0x58, 0x05, 0x34, 0xec, 0xde, 0xd0, 0x87, 0x90, 0xec, 0xe1, 0x67, - 0xd3, 0x7c, 0xaa, 0xe8, 0xe1, 0x67, 0xf4, 0x97, 0x78, 0x01, 0xce, 0x87, 0x5a, 0xb8, 0x98, 0x81, - 0x79, 0xb7, 0xe7, 0x13, 0x7f, 0x14, 0x81, 0x34, 0x71, 0x5b, 0x46, 0x5d, 0xab, 0xb4, 0x7b, 0x9a, - 0x8e, 0xd1, 0x06, 0x20, 0xdb, 0x61, 0x19, 0x64, 0x14, 0x8d, 0x63, 0x95, 0xdd, 0xe1, 0x4b, 0x52, - 0x53, 0xb3, 0xeb, 0xea, 0x5a, 0xed, 0x58, 0xed, 0xa3, 0x53, 0xb8, 0xd0, 0xd4, 0xba, 0x5d, 0xad, - 0x27, 0x7b, 0xc9, 0x54, 0xca, 0x8e, 0xaf, 0xe8, 0x1f, 0x8c, 0xf0, 0x98, 0x76, 0xd3, 0x1b, 0x05, - 0xca, 0xc7, 0x03, 0x23, 0xce, 0xa5, 0x69, 0x83, 0xad, 0x86, 0x59, 0x9d, 0xf8, 0x5d, 0x01, 0x96, - 0x02, 0x68, 0xd0, 0x35, 0x10, 0x0b, 0xd5, 0xdd, 0xdd, 0xea, 0x9e, 0x5c, 0x28, 0x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, 0xef, 0x95, 0x4f, 0xba, 0x11, 0x49, 0x52, 0x6c, 0x4a, 0xfa, 0x1e, 0x24, - 0x70, 0xaf, 0x35, 0xe9, 0x26, 0x64, 0x0e, 0xf7, 0x5a, 0x94, 0xec, 0x06, 0x64, 0x5d, 0x33, 0x96, - 0x19, 0x18, 0xd0, 0x91, 0xcf, 0x38, 0x53, 0x92, 0xda, 0x96, 0xb3, 0xb7, 0x4a, 0x4d, 0xbe, 0xb7, - 0x12, 0x9b, 0x90, 0xb0, 0xc6, 0x15, 0x9d, 0x87, 0x95, 0x7b, 0xd5, 0x6d, 0x99, 0x6c, 0x08, 0x02, - 0x72, 0x44, 0xfb, 0xa5, 0xbd, 0x62, 0x65, 0xef, 0x6e, 0x56, 0x20, 0x05, 0xe9, 0x60, 0x6f, 0x8f, - 0x14, 0x22, 0x28, 0x01, 0xb3, 0xc5, 0xea, 0x5e, 0x29, 0x1b, 0x45, 0xf3, 0x90, 0x60, 0x5b, 0x83, - 0x52, 0x31, 0x3b, 0x4b, 0x36, 0x0d, 0x77, 0xf2, 0x15, 0xf2, 0x3b, 0x46, 0xb6, 0x1e, 0x56, 0xd2, - 0xea, 0x1a, 0x64, 0xef, 0x62, 0xd3, 0xbb, 0x10, 0x04, 0x39, 0x83, 0xdf, 0x15, 0x00, 0x11, 0x2f, - 0xc6, 0x30, 0x03, 0x7c, 0xe9, 0xac, 0xc7, 0x97, 0x3a, 0x6f, 0xfb, 0x09, 0xee, 0xb7, 0xfd, 0xbc, - 0x4e, 0x34, 0xe2, 0x73, 0xa2, 0x5e, 0x07, 0x1c, 0xf5, 0x3b, 0x60, 0x6b, 0x52, 0xc5, 0xa6, 0x9a, - 0x54, 0x62, 0x1f, 0x96, 0x3c, 0x82, 0x73, 0xd7, 0xfb, 0x36, 0xcc, 0x3e, 0xd6, 0x1a, 0x96, 0xcb, - 0xbd, 0x34, 0x92, 0x9b, 0x44, 0x51, 0x27, 0xf6, 0xb3, 0x6f, 0xc0, 0x52, 0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0x27, 0x6d, 0xec, 0x0b, - 0x8f, 0x3e, 0xe0, 0x28, 0x6d, 0xad, 0xa3, 0xf4, 0xda, 0x1b, 0x9a, 0xde, 0xde, 0x6c, 0xe3, 0x1e, - 0x95, 0x60, 0x93, 0x55, 0x29, 0x7d, 0xd5, 0xd8, 0xe4, 0x1c, 0x48, 0x6b, 0x9b, 0x4f, 0xb7, 0x3e, - 0x6a, 0x75, 0xfa, 0xbf, 0x19, 0x59, 0xba, 0xcb, 0x48, 0x0b, 0x1d, 0x6d, 0xd0, 0x22, 0xe3, 0xb4, - 0xf1, 0x60, 0xeb, 0xdf, 0x5a, 0xd0, 0x2f, 0x28, 0xf4, 0x8b, 0x62, 0xa7, 0xff, 0xc5, 0x83, 0xad, - 0x46, 0x9c, 0x32, 0x7c, 0xe7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x69, 0x25, 0xf9, 0x3d, 0x54, - 0x83, 0x00, 0x00, + proto.RegisterFile("google/privacy/dlp/v2/dlp.proto", fileDescriptor_dlp_6e712ed06404fc1d) +} + +var fileDescriptor_dlp_6e712ed06404fc1d = []byte{ + // 9166 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x7d, 0x5b, 0x8c, 0x1b, 0x59, + 0x76, 0x58, 0x17, 0xd9, 0xec, 0x26, 0x0f, 0x9b, 0x6c, 0xf6, 0xed, 0x87, 0x5a, 0x94, 0x34, 0xd2, + 0x94, 0x66, 0x24, 0x4d, 0x4b, 0xea, 0x9e, 0xe9, 0x79, 0xec, 0xbc, 0x76, 0x76, 0xd9, 0x24, 0x25, + 0x52, 0xd3, 0x2f, 0x15, 0xd9, 0xd2, 0x48, 0x1e, 0x4c, 0xa5, 0x9a, 0xbc, 0xcd, 0x2e, 0x35, 0xc9, + 0xa2, 0xaa, 0x8a, 0x52, 0xf7, 0xd8, 0x0e, 0xd6, 0x41, 0x92, 0x85, 0x11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, 0xed, 0x3e, 0xa6, 0x1d, 0x3e, 0x45, 0xc6, 0x2c, + 0x9a, 0x44, 0x6f, 0x40, 0xc2, 0x54, 0xf6, 0xdb, 0xac, 0xd7, 0xa6, 0xd7, 0xcf, 0x87, 0xa8, 0xa0, + 0x4e, 0x70, 0x08, 0x15, 0x45, 0x46, 0x65, 0x48, 0xed, 0x9f, 0x98, 0x98, 0xd9, 0x66, 0x82, 0x52, + 0x5e, 0x89, 0xa6, 0xbc, 0xca, 0x84, 0x94, 0x24, 0xa4, 0xe4, 0xff, 0x46, 0x1a, 0x52, 0x44, 0x59, + 0x94, 0x8d, 0xf8, 0x4f, 0x05, 0x48, 0xd0, 0x62, 0xd0, 0xdb, 0x30, 0x7d, 0x88, 0x95, 0x26, 0xd6, + 0x2d, 0x27, 0xf9, 0x42, 0x08, 0xef, 0x5b, 0x24, 0x18, 0xaa, 0x36, 0x25, 0x0b, 0x1d, 0xbd, 0x01, + 0x93, 0xba, 0xf6, 0xd4, 0xf2, 0xd7, 0x97, 0x86, 0x55, 0x66, 0x55, 0xd2, 0x9e, 0x4a, 0x14, 0x3b, + 0xff, 0x1e, 0xc4, 0x25, 0xed, 0x29, 0x7a, 0x03, 0xa6, 0xa8, 0x4e, 0xac, 0x52, 0xc3, 0x74, 0x71, + 0x8f, 0x20, 0x49, 0x1c, 0x57, 0xfc, 0xd4, 0xf6, 0xf2, 0x12, 0x36, 0xfa, 0x6d, 0x13, 0xbd, 0x0b, + 0x49, 0xdb, 0x0c, 0x47, 0x89, 0x4f, 0xd1, 0x24, 0x1b, 0x1f, 0xdd, 0x04, 0x64, 0xf7, 0x47, 0x53, + 0xef, 0x77, 0x1b, 0x8a, 0x89, 0x99, 0x97, 0x4f, 0x4a, 0x73, 0x56, 0x4e, 0xdd, 0xca, 0x10, 0xff, + 0x4b, 0x0c, 0xa6, 0x39, 0x13, 0xb4, 0x00, 0x09, 0xe6, 0x7e, 0x89, 0x2d, 0xa7, 0x24, 0x96, 0xf0, + 0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 0xe2, + 0x0d, 0xc8, 0x78, 0xf2, 0xd1, 0x39, 0x48, 0xe9, 0xda, 0x53, 0x59, 0xed, 0x36, 0xf1, 0x31, 0xd7, + 0x45, 0x52, 0xd7, 0x9e, 0x56, 0x49, 0x5a, 0x5c, 0x83, 0x04, 0xeb, 0x56, 0x0b, 0x90, 0x30, 0x4c, + 0x45, 0xb7, 0xb4, 0xc5, 0x12, 0x28, 0x07, 0x71, 0xdc, 0x65, 0xf5, 0x89, 0x4b, 0xe4, 0xaf, 0xf8, + 0x10, 0x32, 0x1e, 0x7b, 0x43, 0x55, 0xc8, 0xee, 0x6b, 0x7d, 0xea, 0x7e, 0xe5, 0x7d, 0xed, 0xd8, + 0x1e, 0x38, 0xc4, 0xb0, 0xa1, 0x90, 0x23, 0x6f, 0x68, 0xc7, 0x52, 0x66, 0xdf, 0x49, 0x60, 0x43, + 0x54, 0x20, 0xed, 0xca, 0x25, 0x85, 0x9b, 0x5a, 0x8f, 0x47, 0x7d, 0xe4, 0x2f, 0x89, 0x31, 0xda, + 0xf8, 0xc0, 0x0a, 0xe9, 0xe8, 0x7f, 0x22, 0xf8, 0x53, 0xb5, 0x69, 0x1e, 0x52, 0x9d, 0x25, 0x24, + 0x96, 0x40, 0x4b, 0x30, 0x75, 0x88, 0xd5, 0xd6, 0xa1, 0x49, 0xfd, 0x6d, 0x42, 0xe2, 0x29, 0xf1, + 0xb7, 0x26, 0x01, 0x49, 0xb8, 0xa9, 0x34, 0x4c, 0x5a, 0x0b, 0x2b, 0x0c, 0x5c, 0x82, 0xa9, 0x9e, + 0xa2, 0xe3, 0xae, 0xc9, 0xfb, 0x38, 0x4f, 0x91, 0x96, 0x51, 0xd9, 0xb8, 0x26, 0x37, 0x68, 0x98, + 0x37, 0x62, 0xa2, 0xe6, 0x09, 0x09, 0xa5, 0x8c, 0xea, 0x99, 0xf9, 0x3c, 0x81, 0x33, 0xac, 0x5f, + 0xeb, 0x54, 0x00, 0x32, 0xf7, 0x63, 0x4c,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be, 0x65, 0x6f, 0x41, 0x9b, 0x04, + 0x81, 0x1e, 0x44, 0x08, 0x22, 0xef, 0xf7, 0x7a, 0x36, 0x79, 0x2c, 0x88, 0x7c, 0x8f, 0x20, 0x30, + 0xf2, 0x8b, 0x90, 0x66, 0xea, 0x93, 0x0d, 0xf5, 0x53, 0x16, 0x88, 0xc4, 0x25, 0x60, 0xa0, 0x9a, + 0xfa, 0x29, 0x46, 0x77, 0x20, 0xc3, 0x11, 0x3c, 0x4d, 0xfb, 0xf2, 0xb0, 0xa6, 0xb5, 0x0b, 0x92, + 0x66, 0x18, 0x2d, 0x6b, 0x61, 0x74, 0x03, 0x90, 0x9b, 0x97, 0xcc, 0x16, 0xa6, 0x13, 0xb4, 0xcc, + 0x9c, 0x0b, 0xb3, 0x48, 0xe0, 0xf9, 0x2f, 0x12, 0xee, 0xa9, 0x05, 0xb7, 0x84, 0xdf, 0x10, 0xe0, + 0x32, 0x7e, 0xdc, 0x57, 0x9f, 0x28, 0x6d, 0xda, 0x2d, 0x1b, 0x6d, 0xc5, 0x30, 0x42, 0x6d, 0xe1, + 0x93, 0xe7, 0xe1, 0x1b, 0x5d, 0x00, 0x7f, 0xfb, 0x5f, 0x72, 0x89, 0x52, 0x24, 0x92, 0x0c, 0x58, + 0xc0, 0x2f, 0x0a, 0x90, 0x77, 0xe8, 0xcb, 0x3e, 0x74, 0x74, 0x0b, 0x72, 0x76, 0xec, 0x21, 0x8f, + 0x71, 0xaa, 0x31, 0x6b, 0x05, 0x20, 0x5c, 0xb3, 0x6f, 0xc0, 0xd2, 0xa0, 0x56, 0x68, 0x8b, 0x32, + 0x03, 0x58, 0xf0, 0x0b, 0x4a, 0xda, 0x36, 0xff, 0xb3, 0x71, 0x38, 0x1b, 0x5a, 0x39, 0x74, 0x07, + 0xc4, 0x60, 0x9e, 0x01, 0xf6, 0xf9, 0x42, 0x10, 0x7f, 0x97, 0x95, 0x86, 0xf3, 0x1a, 0x34, 0xd6, + 0x40, 0x5e, 0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 0xb7, 0x78, 0x3f, 0xd3, 0x17, 0x10, 0xde, 0x01, 0xa0, 0x6f, 0x99, + 0x47, 0x9d, 0xa4, 0xa4, 0x28, 0x36, 0x25, 0x7d, 0x13, 0x92, 0xb8, 0xdb, 0x8c, 0x3a, 0x41, 0x99, + 0xc6, 0xdd, 0x26, 0x25, 0xbb, 0x06, 0x39, 0x57, 0x8f, 0x65, 0x06, 0x06, 0xb4, 0xe5, 0xb3, 0x4e, + 0x97, 0xa4, 0xb6, 0xe5, 0xcc, 0xbb, 0xd2, 0xd1, 0xe7, 0x5d, 0x62, 0x03, 0x92, 0x56, 0xbb, 0xa2, + 0xb3, 0xb0, 0x78, 0x67, 0x67, 0x43, 0x26, 0x93, 0x85, 0x80, 0xf5, 0xa3, 0xdd, 0xf2, 0x76, 0xa9, + 0xba, 0x7d, 0x3b, 0x27, 0x90, 0x84, 0xb4, 0xb7, 0xbd, 0x4d, 0x12, 0x31, 0x94, 0x84, 0xc9, 0xd2, + 0xce, 0x76, 0x39, 0x17, 0x47, 0x33, 0x90, 0x64, 0xd3, 0x86, 0x72, 0x29, 0x37, 0x49, 0x26, 0x14, + 0xb7, 0x0a, 0x55, 0xf2, 0x3f, 0x41, 0xa6, 0x25, 0xd6, 0x82, 0xd6, 0x15, 0xc8, 0xdd, 0xc6, 0xa6, + 0x77, 0x20, 0x08, 0x72, 0x06, 0xff, 0x41, 0x00, 0x44, 0xbc, 0x18, 0xc3, 0x0c, 0xf0, 0xa5, 0x93, + 0x1e, 0x5f, 0xea, 0xbc, 0xfb, 0x27, 0xb8, 0xdf, 0xfd, 0xf3, 0x3a, 0xd1, 0x98, 0xcf, 0x89, 0x7a, + 0x1d, 0x70, 0xdc, 0xef, 0x80, 0xad, 0x4e, 0x95, 0x18, 0xaf, 0x53, 0xb9, 0x5d, 0xf3, 0x94, 0xd7, + 0x35, 0xf7, 0x60, 0xde, 0x53, 0x27, 0xee, 0x95, 0x5f, 0x83, 0xc9, 0x47, 0xda, 0xbe,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0x5a, 0x23, 0x32, 0xed, 0x9f, 0x0f, 0x58, 0x86, 0x47, 0xaf, 0x0d, 0x71, 0x3a, 0xc1, 0x1b, 0x08, + 0xf9, 0xf5, 0x71, 0x48, 0xb8, 0xbf, 0xf2, 0xd6, 0x2f, 0xa2, 0x3d, 0xda, 0xf5, 0x1b, 0x6d, 0x8c, + 0xe8, 0xf7, 0x05, 0x58, 0x08, 0x5a, 0xcc, 0x0f, 0xb5, 0xc4, 0x21, 0x2b, 0xff, 0xa1, 0x9d, 0x9f, + 0xd7, 0x62, 0x65, 0xcc, 0x56, 0x5a, 0x89, 0xda, 0x4a, 0x1b, 0x9f, 0x09, 0x70, 0xb6, 0xa1, 0x75, + 0x82, 0x45, 0xde, 0x48, 0x96, 0xda, 0xbd, 0x5d, 0x22, 0xd1, 0xae, 0xf0, 0xf0, 0x6d, 0x8e, 0xd2, + 0xd2, 0xda, 0x4a, 0xb7, 0xb5, 0xaa, 0xe9, 0xad, 0xb5, 0x16, 0xee, 0x52, 0x79, 0xd7, 0x58, 0x96, + 0xd2, 0x53, 0x8d, 0x35, 0xce, 0x81, 0x38, 0xa6, 0xb5, 0x27, 0xeb, 0xef, 0x35, 0xdb, 0xbd, 0x5f, + 0x8f, 0xcd, 0xdf, 0x66, 0xa4, 0x74, 0xf7, 0x9b, 0xb8, 0xf4, 0xd5, 0x7b, 0xeb, 0xff, 0xd6, 0x82, + 0x7e, 0x4c, 0xa1, 0x1f, 0x97, 0xda, 0xbd, 0x8f, 0xef, 0xad, 0xef, 0x4f, 0x51, 0x86, 0xaf, 0xff, + 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x33, 0x95, 0xb1, 0xf8, 0x92, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/storage.pb.go b/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/storage.pb.go index 470aa610b..d59b57f5f 100644 --- a/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/storage.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/storage.pb.go @@ -58,7 +58,7 @@ func (x Likelihood) String() string { return proto.EnumName(Likelihood_name, int32(x)) } func (Likelihood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{0} + return fileDescriptor_storage_9014a5ebee41d259, []int{0} } // Definitions of file type groups to scan. @@ -93,7 +93,33 @@ func (x FileType) String() string { return proto.EnumName(FileType_name, int32(x)) } func (FileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1} + return fileDescriptor_storage_9014a5ebee41d259, []int{1} +} + +type CustomInfoType_ExclusionType int32 + +const ( + // A finding of this custom info type will not be excluded from results. + CustomInfoType_EXCLUSION_TYPE_UNSPECIFIED CustomInfoType_ExclusionType = 0 + // A finding of this custom info type will be excluded from final results, + // but can still affect rule execution. + CustomInfoType_EXCLUSION_TYPE_EXCLUDE CustomInfoType_ExclusionType = 1 +) + +var CustomInfoType_ExclusionType_name = map[int32]string{ + 0: "EXCLUSION_TYPE_UNSPECIFIED", + 1: "EXCLUSION_TYPE_EXCLUDE", +} +var CustomInfoType_ExclusionType_value = map[string]int32{ + "EXCLUSION_TYPE_UNSPECIFIED": 0, + "EXCLUSION_TYPE_EXCLUDE": 1, +} + +func (x CustomInfoType_ExclusionType) String() string { + return proto.EnumName(CustomInfoType_ExclusionType_name, int32(x)) +} +func (CustomInfoType_ExclusionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 0} } // How to sample bytes if not all bytes are scanned. Meaningful only when used @@ -117,15 +143,15 @@ var CloudStorageOptions_SampleMethod_name = map[int32]string{ } var CloudStorageOptions_SampleMethod_value = map[string]int32{ "SAMPLE_METHOD_UNSPECIFIED": 0, - "TOP": 1, - "RANDOM_START": 2, + "TOP": 1, + "RANDOM_START": 2, } func (x CloudStorageOptions_SampleMethod) String() string { return proto.EnumName(CloudStorageOptions_SampleMethod_name, int32(x)) } func (CloudStorageOptions_SampleMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{6, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{8, 0} } // How to sample rows if not all rows are scanned. Meaningful only when used @@ -148,15 +174,15 @@ var BigQueryOptions_SampleMethod_name = map[int32]string{ } var BigQueryOptions_SampleMethod_value = map[string]int32{ "SAMPLE_METHOD_UNSPECIFIED": 0, - "TOP": 1, - "RANDOM_START": 2, + "TOP": 1, + "RANDOM_START": 2, } func (x BigQueryOptions_SampleMethod) String() string { return proto.EnumName(BigQueryOptions_SampleMethod_name, int32(x)) } func (BigQueryOptions_SampleMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{8, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{11, 0} } // Type of information detected by the API. @@ -164,7 +190,8 @@ type InfoType struct { // Name of the information type. Either a name of your choosing when // creating a CustomInfoType, or one of the names listed // at https://cloud.google.com/dlp/docs/infotypes-reference when specifying - // a built-in type. + // a built-in type. InfoType names should conform to the pattern + // [a-zA-Z0-9_]{1,64}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -175,7 +202,7 @@ func (m *InfoType) Reset() { *m = InfoType{} } func (m *InfoType) String() string { return proto.CompactTextString(m) } func (*InfoType) ProtoMessage() {} func (*InfoType) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{0} + return fileDescriptor_storage_9014a5ebee41d259, []int{0} } func (m *InfoType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InfoType.Unmarshal(m, b) @@ -202,11 +229,67 @@ func (m *InfoType) GetName() string { return "" } +// A reference to a StoredInfoType to use with scanning. +type StoredType struct { + // Resource name of the requested `StoredInfoType`, for example + // `organizations/433245324/storedInfoTypes/432452342` or + // `projects/project-id/storedInfoTypes/432452342`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Timestamp indicating when the version of the `StoredInfoType` used for + // inspection was created. Output-only field, populated by the system. + CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StoredType) Reset() { *m = StoredType{} } +func (m *StoredType) String() string { return proto.CompactTextString(m) } +func (*StoredType) ProtoMessage() {} +func (*StoredType) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_9014a5ebee41d259, []int{1} +} +func (m *StoredType) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StoredType.Unmarshal(m, b) +} +func (m *StoredType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StoredType.Marshal(b, m, deterministic) +} +func (dst *StoredType) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoredType.Merge(dst, src) +} +func (m *StoredType) XXX_Size() int { + return xxx_messageInfo_StoredType.Size(m) +} +func (m *StoredType) XXX_DiscardUnknown() { + xxx_messageInfo_StoredType.DiscardUnknown(m) +} + +var xxx_messageInfo_StoredType proto.InternalMessageInfo + +func (m *StoredType) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *StoredType) GetCreateTime() *timestamp.Timestamp { + if m != nil { + return m.CreateTime + } + return nil +} + // Custom information type provided by the user. Used to find domain-specific // sensitive information configurable to the data in question. type CustomInfoType struct { - // All CustomInfoTypes must have a name - // that does not conflict with built-in InfoTypes or other CustomInfoTypes. + // CustomInfoType can either be a new infoType, or an extension of built-in + // infoType, when the name matches one of existing infoTypes and that infoType + // is specified in `InspectContent.info_types` field. Specifying the latter + // adds findings to the one detected by the system. If built-in info type is + // not specified in `InspectContent.info_types` list then the name is treated + // as a custom info type. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Likelihood to return for this CustomInfoType. This base value can be // altered by a detection rule if the finding meets the criteria specified by @@ -216,21 +299,25 @@ type CustomInfoType struct { // *CustomInfoType_Dictionary_ // *CustomInfoType_Regex_ // *CustomInfoType_SurrogateType_ + // *CustomInfoType_StoredType Type isCustomInfoType_Type `protobuf_oneof:"type"` // Set of detection rules to apply to all findings of this CustomInfoType. // Rules are applied in order that they are specified. Not supported for the // `surrogate_type` CustomInfoType. - DetectionRules []*CustomInfoType_DetectionRule `protobuf:"bytes,7,rep,name=detection_rules,json=detectionRules,proto3" json:"detection_rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DetectionRules []*CustomInfoType_DetectionRule `protobuf:"bytes,7,rep,name=detection_rules,json=detectionRules,proto3" json:"detection_rules,omitempty"` + // If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding + // to be returned. It still can be used for rules matching. + ExclusionType CustomInfoType_ExclusionType `protobuf:"varint,8,opt,name=exclusion_type,json=exclusionType,proto3,enum=google.privacy.dlp.v2.CustomInfoType_ExclusionType" json:"exclusion_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CustomInfoType) Reset() { *m = CustomInfoType{} } func (m *CustomInfoType) String() string { return proto.CompactTextString(m) } func (*CustomInfoType) ProtoMessage() {} func (*CustomInfoType) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1} + return fileDescriptor_storage_9014a5ebee41d259, []int{2} } func (m *CustomInfoType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType.Unmarshal(m, b) @@ -250,6 +337,20 @@ func (m *CustomInfoType) XXX_DiscardUnknown() { var xxx_messageInfo_CustomInfoType proto.InternalMessageInfo +func (m *CustomInfoType) GetInfoType() *InfoType { + if m != nil { + return m.InfoType + } + return nil +} + +func (m *CustomInfoType) GetLikelihood() Likelihood { + if m != nil { + return m.Likelihood + } + return Likelihood_LIKELIHOOD_UNSPECIFIED +} + type isCustomInfoType_Type interface { isCustomInfoType_Type() } @@ -257,17 +358,27 @@ type isCustomInfoType_Type interface { type CustomInfoType_Dictionary_ struct { Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,2,opt,name=dictionary,proto3,oneof"` } + type CustomInfoType_Regex_ struct { Regex *CustomInfoType_Regex `protobuf:"bytes,3,opt,name=regex,proto3,oneof"` } + type CustomInfoType_SurrogateType_ struct { SurrogateType *CustomInfoType_SurrogateType `protobuf:"bytes,4,opt,name=surrogate_type,json=surrogateType,proto3,oneof"` } -func (*CustomInfoType_Dictionary_) isCustomInfoType_Type() {} -func (*CustomInfoType_Regex_) isCustomInfoType_Type() {} +type CustomInfoType_StoredType struct { + StoredType *StoredType `protobuf:"bytes,5,opt,name=stored_type,json=storedType,proto3,oneof"` +} + +func (*CustomInfoType_Dictionary_) isCustomInfoType_Type() {} + +func (*CustomInfoType_Regex_) isCustomInfoType_Type() {} + func (*CustomInfoType_SurrogateType_) isCustomInfoType_Type() {} +func (*CustomInfoType_StoredType) isCustomInfoType_Type() {} + func (m *CustomInfoType) GetType() isCustomInfoType_Type { if m != nil { return m.Type @@ -275,20 +386,6 @@ func (m *CustomInfoType) GetType() isCustomInfoType_Type { return nil } -func (m *CustomInfoType) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil -} - -func (m *CustomInfoType) GetLikelihood() Likelihood { - if m != nil { - return m.Likelihood - } - return Likelihood_LIKELIHOOD_UNSPECIFIED -} - func (m *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary { if x, ok := m.GetType().(*CustomInfoType_Dictionary_); ok { return x.Dictionary @@ -310,6 +407,13 @@ func (m *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType { return nil } +func (m *CustomInfoType) GetStoredType() *StoredType { + if x, ok := m.GetType().(*CustomInfoType_StoredType); ok { + return x.StoredType + } + return nil +} + func (m *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule { if m != nil { return m.DetectionRules @@ -317,12 +421,20 @@ func (m *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule { return nil } +func (m *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType { + if m != nil { + return m.ExclusionType + } + return CustomInfoType_EXCLUSION_TYPE_UNSPECIFIED +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*CustomInfoType) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _CustomInfoType_OneofMarshaler, _CustomInfoType_OneofUnmarshaler, _CustomInfoType_OneofSizer, []interface{}{ (*CustomInfoType_Dictionary_)(nil), (*CustomInfoType_Regex_)(nil), (*CustomInfoType_SurrogateType_)(nil), + (*CustomInfoType_StoredType)(nil), } } @@ -345,6 +457,11 @@ func _CustomInfoType_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { if err := b.EncodeMessage(x.SurrogateType); err != nil { return err } + case *CustomInfoType_StoredType: + b.EncodeVarint(5<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.StoredType); err != nil { + return err + } case nil: default: return fmt.Errorf("CustomInfoType.Type has unexpected type %T", x) @@ -379,6 +496,14 @@ func _CustomInfoType_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto err := b.DecodeMessage(msg) m.Type = &CustomInfoType_SurrogateType_{msg} return true, err + case 5: // type.stored_type + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(StoredType) + err := b.DecodeMessage(msg) + m.Type = &CustomInfoType_StoredType{msg} + return true, err default: return false, nil } @@ -403,6 +528,11 @@ func _CustomInfoType_OneofSizer(msg proto.Message) (n int) { n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *CustomInfoType_StoredType: + s := proto.Size(x.StoredType) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -428,7 +558,11 @@ func _CustomInfoType_OneofSizer(msg proto.Message) (n int) { // // Dictionary words containing a large number of characters that are not // letters or digits may result in unexpected findings because such characters -// are treated as whitespace. +// are treated as whitespace. The +// [limits](https://cloud.google.com/dlp/limits) page contains details about +// the size limits of dictionaries. For dictionaries that do not fit within +// these constraints, consider using `LargeCustomDictionaryConfig` in the +// `StoredInfoType` API. type CustomInfoType_Dictionary struct { // Types that are valid to be assigned to Source: // *CustomInfoType_Dictionary_WordList_ @@ -443,7 +577,7 @@ func (m *CustomInfoType_Dictionary) Reset() { *m = CustomInfoType_Dictio func (m *CustomInfoType_Dictionary) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_Dictionary) ProtoMessage() {} func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 0} } func (m *CustomInfoType_Dictionary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_Dictionary.Unmarshal(m, b) @@ -470,11 +604,13 @@ type isCustomInfoType_Dictionary_Source interface { type CustomInfoType_Dictionary_WordList_ struct { WordList *CustomInfoType_Dictionary_WordList `protobuf:"bytes,1,opt,name=word_list,json=wordList,proto3,oneof"` } + type CustomInfoType_Dictionary_CloudStoragePath struct { CloudStoragePath *CloudStoragePath `protobuf:"bytes,3,opt,name=cloud_storage_path,json=cloudStoragePath,proto3,oneof"` } -func (*CustomInfoType_Dictionary_WordList_) isCustomInfoType_Dictionary_Source() {} +func (*CustomInfoType_Dictionary_WordList_) isCustomInfoType_Dictionary_Source() {} + func (*CustomInfoType_Dictionary_CloudStoragePath) isCustomInfoType_Dictionary_Source() {} func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source { @@ -587,7 +723,7 @@ func (m *CustomInfoType_Dictionary_WordList) Reset() { *m = CustomInfoTy func (m *CustomInfoType_Dictionary_WordList) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_Dictionary_WordList) ProtoMessage() {} func (*CustomInfoType_Dictionary_WordList) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 0, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 0, 0} } func (m *CustomInfoType_Dictionary_WordList) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_Dictionary_WordList.Unmarshal(m, b) @@ -616,7 +752,9 @@ func (m *CustomInfoType_Dictionary_WordList) GetWords() []string { // Message defining a custom regular expression. type CustomInfoType_Regex struct { - // Pattern defining the regular expression. + // Pattern defining the regular expression. Its syntax + // (https://github.com/google/re2/wiki/Syntax) can be found under the + // google/re2 repository on GitHub. Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -627,7 +765,7 @@ func (m *CustomInfoType_Regex) Reset() { *m = CustomInfoType_Regex{} } func (m *CustomInfoType_Regex) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_Regex) ProtoMessage() {} func (*CustomInfoType_Regex) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 1} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 1} } func (m *CustomInfoType_Regex) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_Regex.Unmarshal(m, b) @@ -672,7 +810,7 @@ func (m *CustomInfoType_SurrogateType) Reset() { *m = CustomInfoType_Sur func (m *CustomInfoType_SurrogateType) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_SurrogateType) ProtoMessage() {} func (*CustomInfoType_SurrogateType) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 2} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 2} } func (m *CustomInfoType_SurrogateType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_SurrogateType.Unmarshal(m, b) @@ -708,7 +846,7 @@ func (m *CustomInfoType_DetectionRule) Reset() { *m = CustomInfoType_Det func (m *CustomInfoType_DetectionRule) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_DetectionRule) ProtoMessage() {} func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 3} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 3} } func (m *CustomInfoType_DetectionRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_DetectionRule.Unmarshal(m, b) @@ -825,7 +963,7 @@ func (m *CustomInfoType_DetectionRule_Proximity) Reset() { func (m *CustomInfoType_DetectionRule_Proximity) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage() {} func (*CustomInfoType_DetectionRule_Proximity) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 3, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 3, 0} } func (m *CustomInfoType_DetectionRule_Proximity) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_DetectionRule_Proximity.Unmarshal(m, b) @@ -879,7 +1017,7 @@ func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string { } func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage() {} func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 3, 1} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 3, 1} } func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment.Unmarshal(m, b) @@ -906,12 +1044,14 @@ type isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment interface { type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood struct { FixedLikelihood Likelihood `protobuf:"varint,1,opt,name=fixed_likelihood,json=fixedLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood,oneof"` } + type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood struct { RelativeLikelihood int32 `protobuf:"varint,2,opt,name=relative_likelihood,json=relativeLikelihood,proto3,oneof"` } func (*CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood) isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment() { } + func (*CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood) isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment() { } @@ -1027,7 +1167,7 @@ func (m *CustomInfoType_DetectionRule_HotwordRule) Reset() { func (m *CustomInfoType_DetectionRule_HotwordRule) String() string { return proto.CompactTextString(m) } func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage() {} func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{1, 3, 2} + return fileDescriptor_storage_9014a5ebee41d259, []int{2, 3, 2} } func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule.Unmarshal(m, b) @@ -1081,7 +1221,7 @@ func (m *FieldId) Reset() { *m = FieldId{} } func (m *FieldId) String() string { return proto.CompactTextString(m) } func (*FieldId) ProtoMessage() {} func (*FieldId) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{2} + return fileDescriptor_storage_9014a5ebee41d259, []int{3} } func (m *FieldId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FieldId.Unmarshal(m, b) @@ -1128,7 +1268,7 @@ func (m *PartitionId) Reset() { *m = PartitionId{} } func (m *PartitionId) String() string { return proto.CompactTextString(m) } func (*PartitionId) ProtoMessage() {} func (*PartitionId) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{3} + return fileDescriptor_storage_9014a5ebee41d259, []int{4} } func (m *PartitionId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionId.Unmarshal(m, b) @@ -1175,7 +1315,7 @@ func (m *KindExpression) Reset() { *m = KindExpression{} } func (m *KindExpression) String() string { return proto.CompactTextString(m) } func (*KindExpression) ProtoMessage() {} func (*KindExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{4} + return fileDescriptor_storage_9014a5ebee41d259, []int{5} } func (m *KindExpression) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KindExpression.Unmarshal(m, b) @@ -1218,7 +1358,7 @@ func (m *DatastoreOptions) Reset() { *m = DatastoreOptions{} } func (m *DatastoreOptions) String() string { return proto.CompactTextString(m) } func (*DatastoreOptions) ProtoMessage() {} func (*DatastoreOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{5} + return fileDescriptor_storage_9014a5ebee41d259, []int{6} } func (m *DatastoreOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatastoreOptions.Unmarshal(m, b) @@ -1252,16 +1392,127 @@ func (m *DatastoreOptions) GetKind() *KindExpression { return nil } -// Options defining a file or a set of files (path ending with *) within -// a Google Cloud Storage bucket. +// Message representing a set of files in a Cloud Storage bucket. Regular +// expressions are used to allow fine-grained control over which files in the +// bucket to include. +// +// Included files are those that match at least one item in `include_regex` and +// do not match any items in `exclude_regex`. Note that a file that matches +// items from both lists will _not_ be included. For a match to occur, the +// entire file path (i.e., everything in the url after the bucket name) must +// match the regular expression. +// +// For example, given the input `{bucket_name: "mybucket", include_regex: +// ["directory1/.*"], exclude_regex: +// ["directory1/excluded.*"]}`: +// +// * `gs://mybucket/directory1/myfile` will be included +// * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches +// across `/`) +// * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the +// full path doesn't match any items in `include_regex`) +// * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path +// matches an item in `exclude_regex`) +// +// If `include_regex` is left empty, it will match all files by default +// (this is equivalent to setting `include_regex: [".*"]`). +// +// Some other common use cases: +// +// * `{bucket_name: "mybucket", exclude_regex: [".*\.pdf"]}` will include all +// files in `mybucket` except for .pdf files +// * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will +// include all files directly under `gs://mybucket/directory/`, without matching +// across `/` +type CloudStorageRegexFileSet struct { + // The name of a Cloud Storage bucket. Required. + BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + // A list of regular expressions matching file paths to include. All files in + // the bucket that match at least one of these regular expressions will be + // included in the set of files, except for those that also match an item in + // `exclude_regex`. Leaving this field empty will match all files by default + // (this is equivalent to including `.*` in the list). + // + // Regular expressions use RE2 + // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found + // under the google/re2 repository on GitHub. + IncludeRegex []string `protobuf:"bytes,2,rep,name=include_regex,json=includeRegex,proto3" json:"include_regex,omitempty"` + // A list of regular expressions matching file paths to exclude. All files in + // the bucket that match at least one of these regular expressions will be + // excluded from the scan. + // + // Regular expressions use RE2 + // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found + // under the google/re2 repository on GitHub. + ExcludeRegex []string `protobuf:"bytes,3,rep,name=exclude_regex,json=excludeRegex,proto3" json:"exclude_regex,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudStorageRegexFileSet) Reset() { *m = CloudStorageRegexFileSet{} } +func (m *CloudStorageRegexFileSet) String() string { return proto.CompactTextString(m) } +func (*CloudStorageRegexFileSet) ProtoMessage() {} +func (*CloudStorageRegexFileSet) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_9014a5ebee41d259, []int{7} +} +func (m *CloudStorageRegexFileSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudStorageRegexFileSet.Unmarshal(m, b) +} +func (m *CloudStorageRegexFileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudStorageRegexFileSet.Marshal(b, m, deterministic) +} +func (dst *CloudStorageRegexFileSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudStorageRegexFileSet.Merge(dst, src) +} +func (m *CloudStorageRegexFileSet) XXX_Size() int { + return xxx_messageInfo_CloudStorageRegexFileSet.Size(m) +} +func (m *CloudStorageRegexFileSet) XXX_DiscardUnknown() { + xxx_messageInfo_CloudStorageRegexFileSet.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudStorageRegexFileSet proto.InternalMessageInfo + +func (m *CloudStorageRegexFileSet) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +func (m *CloudStorageRegexFileSet) GetIncludeRegex() []string { + if m != nil { + return m.IncludeRegex + } + return nil +} + +func (m *CloudStorageRegexFileSet) GetExcludeRegex() []string { + if m != nil { + return m.ExcludeRegex + } + return nil +} + +// Options defining a file or a set of files within a Google Cloud Storage +// bucket. type CloudStorageOptions struct { + // The set of one or more files to scan. FileSet *CloudStorageOptions_FileSet `protobuf:"bytes,1,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"` // Max number of bytes to scan from a file. If a scanned file's size is bigger - // than this value then the rest of the bytes are omitted. + // than this value then the rest of the bytes are omitted. Only one + // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. BytesLimitPerFile int64 `protobuf:"varint,4,opt,name=bytes_limit_per_file,json=bytesLimitPerFile,proto3" json:"bytes_limit_per_file,omitempty"` + // Max percentage of bytes to scan from a file. The rest are omitted. The + // number of bytes scanned is rounded down. Must be between 0 and 100, + // inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one + // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + BytesLimitPerFilePercent int32 `protobuf:"varint,8,opt,name=bytes_limit_per_file_percent,json=bytesLimitPerFilePercent,proto3" json:"bytes_limit_per_file_percent,omitempty"` // List of file type groups to include in the scan. // If empty, all files are scanned and available data format processors - // are applied. + // are applied. In addition, the binary content of the selected files + // is always scanned as well. FileTypes []FileType `protobuf:"varint,5,rep,packed,name=file_types,json=fileTypes,proto3,enum=google.privacy.dlp.v2.FileType" json:"file_types,omitempty"` SampleMethod CloudStorageOptions_SampleMethod `protobuf:"varint,6,opt,name=sample_method,json=sampleMethod,proto3,enum=google.privacy.dlp.v2.CloudStorageOptions_SampleMethod" json:"sample_method,omitempty"` // Limits the number of files to scan to this percentage of the input FileSet. @@ -1277,7 +1528,7 @@ func (m *CloudStorageOptions) Reset() { *m = CloudStorageOptions{} } func (m *CloudStorageOptions) String() string { return proto.CompactTextString(m) } func (*CloudStorageOptions) ProtoMessage() {} func (*CloudStorageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{6} + return fileDescriptor_storage_9014a5ebee41d259, []int{8} } func (m *CloudStorageOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudStorageOptions.Unmarshal(m, b) @@ -1311,6 +1562,13 @@ func (m *CloudStorageOptions) GetBytesLimitPerFile() int64 { return 0 } +func (m *CloudStorageOptions) GetBytesLimitPerFilePercent() int32 { + if m != nil { + return m.BytesLimitPerFilePercent + } + return 0 +} + func (m *CloudStorageOptions) GetFileTypes() []FileType { if m != nil { return m.FileTypes @@ -1334,19 +1592,23 @@ func (m *CloudStorageOptions) GetFilesLimitPercent() int32 { // Set of files to scan. type CloudStorageOptions_FileSet struct { - // The url, in the format `gs:///`. Trailing wildcard in the - // path is allowed. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // The Cloud Storage url of the file(s) to scan, in the format + // `gs:///`. Trailing wildcard in the path is allowed. Exactly + // one of `url` or `regex_file_set` must be set. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // The regex-filtered set of files to scan. Exactly one of `url` or + // `regex_file_set` must be set. + RegexFileSet *CloudStorageRegexFileSet `protobuf:"bytes,2,opt,name=regex_file_set,json=regexFileSet,proto3" json:"regex_file_set,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CloudStorageOptions_FileSet) Reset() { *m = CloudStorageOptions_FileSet{} } func (m *CloudStorageOptions_FileSet) String() string { return proto.CompactTextString(m) } func (*CloudStorageOptions_FileSet) ProtoMessage() {} func (*CloudStorageOptions_FileSet) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{6, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{8, 0} } func (m *CloudStorageOptions_FileSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudStorageOptions_FileSet.Unmarshal(m, b) @@ -1373,6 +1635,54 @@ func (m *CloudStorageOptions_FileSet) GetUrl() string { return "" } +func (m *CloudStorageOptions_FileSet) GetRegexFileSet() *CloudStorageRegexFileSet { + if m != nil { + return m.RegexFileSet + } + return nil +} + +// Message representing a set of files in Cloud Storage. +type CloudStorageFileSet struct { + // The url, in the format `gs:///`. Trailing wildcard in the + // path is allowed. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudStorageFileSet) Reset() { *m = CloudStorageFileSet{} } +func (m *CloudStorageFileSet) String() string { return proto.CompactTextString(m) } +func (*CloudStorageFileSet) ProtoMessage() {} +func (*CloudStorageFileSet) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_9014a5ebee41d259, []int{9} +} +func (m *CloudStorageFileSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudStorageFileSet.Unmarshal(m, b) +} +func (m *CloudStorageFileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudStorageFileSet.Marshal(b, m, deterministic) +} +func (dst *CloudStorageFileSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudStorageFileSet.Merge(dst, src) +} +func (m *CloudStorageFileSet) XXX_Size() int { + return xxx_messageInfo_CloudStorageFileSet.Size(m) +} +func (m *CloudStorageFileSet) XXX_DiscardUnknown() { + xxx_messageInfo_CloudStorageFileSet.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudStorageFileSet proto.InternalMessageInfo + +func (m *CloudStorageFileSet) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + // Message representing a single file or path in Cloud Storage. type CloudStoragePath struct { // A url representing a file or path (no wildcards) in Cloud Storage. @@ -1387,7 +1697,7 @@ func (m *CloudStoragePath) Reset() { *m = CloudStoragePath{} } func (m *CloudStoragePath) String() string { return proto.CompactTextString(m) } func (*CloudStoragePath) ProtoMessage() {} func (*CloudStoragePath) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{7} + return fileDescriptor_storage_9014a5ebee41d259, []int{10} } func (m *CloudStoragePath) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CloudStoragePath.Unmarshal(m, b) @@ -1423,19 +1733,29 @@ type BigQueryOptions struct { IdentifyingFields []*FieldId `protobuf:"bytes,2,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"` // Max number of rows to scan. If the table has more rows than this value, the // rest of the rows are omitted. If not set, or if set to 0, all rows will be - // scanned. Cannot be used in conjunction with TimespanConfig. - RowsLimit int64 `protobuf:"varint,3,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"` - SampleMethod BigQueryOptions_SampleMethod `protobuf:"varint,4,opt,name=sample_method,json=sampleMethod,proto3,enum=google.privacy.dlp.v2.BigQueryOptions_SampleMethod" json:"sample_method,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // scanned. Only one of rows_limit and rows_limit_percent can be specified. + // Cannot be used in conjunction with TimespanConfig. + RowsLimit int64 `protobuf:"varint,3,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"` + // Max percentage of rows to scan. The rest are omitted. The number of rows + // scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and + // 100 means no limit. Defaults to 0. Only one of rows_limit and + // rows_limit_percent can be specified. Cannot be used in conjunction with + // TimespanConfig. + RowsLimitPercent int32 `protobuf:"varint,6,opt,name=rows_limit_percent,json=rowsLimitPercent,proto3" json:"rows_limit_percent,omitempty"` + SampleMethod BigQueryOptions_SampleMethod `protobuf:"varint,4,opt,name=sample_method,json=sampleMethod,proto3,enum=google.privacy.dlp.v2.BigQueryOptions_SampleMethod" json:"sample_method,omitempty"` + // References to fields excluded from scanning. This allows you to skip + // inspection of entire columns which you know have no findings. + ExcludedFields []*FieldId `protobuf:"bytes,5,rep,name=excluded_fields,json=excludedFields,proto3" json:"excluded_fields,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *BigQueryOptions) Reset() { *m = BigQueryOptions{} } func (m *BigQueryOptions) String() string { return proto.CompactTextString(m) } func (*BigQueryOptions) ProtoMessage() {} func (*BigQueryOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{8} + return fileDescriptor_storage_9014a5ebee41d259, []int{11} } func (m *BigQueryOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BigQueryOptions.Unmarshal(m, b) @@ -1476,6 +1796,13 @@ func (m *BigQueryOptions) GetRowsLimit() int64 { return 0 } +func (m *BigQueryOptions) GetRowsLimitPercent() int32 { + if m != nil { + return m.RowsLimitPercent + } + return 0 +} + func (m *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod { if m != nil { return m.SampleMethod @@ -1483,6 +1810,13 @@ func (m *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod { return BigQueryOptions_SAMPLE_METHOD_UNSPECIFIED } +func (m *BigQueryOptions) GetExcludedFields() []*FieldId { + if m != nil { + return m.ExcludedFields + } + return nil +} + // Shared message indicating Cloud storage type. type StorageConfig struct { // Types that are valid to be assigned to Type: @@ -1500,7 +1834,7 @@ func (m *StorageConfig) Reset() { *m = StorageConfig{} } func (m *StorageConfig) String() string { return proto.CompactTextString(m) } func (*StorageConfig) ProtoMessage() {} func (*StorageConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{9} + return fileDescriptor_storage_9014a5ebee41d259, []int{12} } func (m *StorageConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StorageConfig.Unmarshal(m, b) @@ -1527,16 +1861,20 @@ type isStorageConfig_Type interface { type StorageConfig_DatastoreOptions struct { DatastoreOptions *DatastoreOptions `protobuf:"bytes,2,opt,name=datastore_options,json=datastoreOptions,proto3,oneof"` } + type StorageConfig_CloudStorageOptions struct { CloudStorageOptions *CloudStorageOptions `protobuf:"bytes,3,opt,name=cloud_storage_options,json=cloudStorageOptions,proto3,oneof"` } + type StorageConfig_BigQueryOptions struct { BigQueryOptions *BigQueryOptions `protobuf:"bytes,4,opt,name=big_query_options,json=bigQueryOptions,proto3,oneof"` } -func (*StorageConfig_DatastoreOptions) isStorageConfig_Type() {} +func (*StorageConfig_DatastoreOptions) isStorageConfig_Type() {} + func (*StorageConfig_CloudStorageOptions) isStorageConfig_Type() {} -func (*StorageConfig_BigQueryOptions) isStorageConfig_Type() {} + +func (*StorageConfig_BigQueryOptions) isStorageConfig_Type() {} func (m *StorageConfig) GetType() isStorageConfig_Type { if m != nil { @@ -1669,13 +2007,15 @@ func _StorageConfig_OneofSizer(msg proto.Message) (n int) { // Configuration of the timespan of the items to include in scanning. // Currently only supported when inspecting Google Cloud Storage and BigQuery. type StorageConfig_TimespanConfig struct { - // Exclude files older than this value. + // Exclude files or rows older than this value. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Exclude files newer than this value. + // Exclude files or rows newer than this value. // If set to zero, no upper time limit is applied. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Specification of the field containing the timestamp of scanned items. - // Required for data sources like Datastore or BigQuery. + // Used for data sources like Datastore or BigQuery. + // If not specified for BigQuery, table last modification timestamp + // is checked against given time span. // The valid data types of the timestamp field are: // for BigQuery - timestamp, date, datetime; // for Datastore - timestamp. @@ -1696,7 +2036,7 @@ func (m *StorageConfig_TimespanConfig) Reset() { *m = StorageConfig_Time func (m *StorageConfig_TimespanConfig) String() string { return proto.CompactTextString(m) } func (*StorageConfig_TimespanConfig) ProtoMessage() {} func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{9, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{12, 0} } func (m *StorageConfig_TimespanConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StorageConfig_TimespanConfig.Unmarshal(m, b) @@ -1760,7 +2100,7 @@ func (m *BigQueryKey) Reset() { *m = BigQueryKey{} } func (m *BigQueryKey) String() string { return proto.CompactTextString(m) } func (*BigQueryKey) ProtoMessage() {} func (*BigQueryKey) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{10} + return fileDescriptor_storage_9014a5ebee41d259, []int{13} } func (m *BigQueryKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BigQueryKey.Unmarshal(m, b) @@ -1807,7 +2147,7 @@ func (m *DatastoreKey) Reset() { *m = DatastoreKey{} } func (m *DatastoreKey) String() string { return proto.CompactTextString(m) } func (*DatastoreKey) ProtoMessage() {} func (*DatastoreKey) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{11} + return fileDescriptor_storage_9014a5ebee41d259, []int{14} } func (m *DatastoreKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatastoreKey.Unmarshal(m, b) @@ -1862,7 +2202,7 @@ func (m *Key) Reset() { *m = Key{} } func (m *Key) String() string { return proto.CompactTextString(m) } func (*Key) ProtoMessage() {} func (*Key) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{12} + return fileDescriptor_storage_9014a5ebee41d259, []int{15} } func (m *Key) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key.Unmarshal(m, b) @@ -1921,7 +2261,7 @@ func (m *Key_PathElement) Reset() { *m = Key_PathElement{} } func (m *Key_PathElement) String() string { return proto.CompactTextString(m) } func (*Key_PathElement) ProtoMessage() {} func (*Key_PathElement) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{12, 0} + return fileDescriptor_storage_9014a5ebee41d259, []int{15, 0} } func (m *Key_PathElement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key_PathElement.Unmarshal(m, b) @@ -1941,6 +2281,13 @@ func (m *Key_PathElement) XXX_DiscardUnknown() { var xxx_messageInfo_Key_PathElement proto.InternalMessageInfo +func (m *Key_PathElement) GetKind() string { + if m != nil { + return m.Kind + } + return "" +} + type isKey_PathElement_IdType interface { isKey_PathElement_IdType() } @@ -1948,11 +2295,13 @@ type isKey_PathElement_IdType interface { type Key_PathElement_Id struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"` } + type Key_PathElement_Name struct { Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"` } -func (*Key_PathElement_Id) isKey_PathElement_IdType() {} +func (*Key_PathElement_Id) isKey_PathElement_IdType() {} + func (*Key_PathElement_Name) isKey_PathElement_IdType() {} func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { @@ -1962,13 +2311,6 @@ func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { return nil } -func (m *Key_PathElement) GetKind() string { - if m != nil { - return m.Kind - } - return "" -} - func (m *Key_PathElement) GetId() int64 { if x, ok := m.GetIdType().(*Key_PathElement_Id); ok { return x.Id @@ -2063,7 +2405,7 @@ func (m *RecordKey) Reset() { *m = RecordKey{} } func (m *RecordKey) String() string { return proto.CompactTextString(m) } func (*RecordKey) ProtoMessage() {} func (*RecordKey) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{13} + return fileDescriptor_storage_9014a5ebee41d259, []int{16} } func (m *RecordKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecordKey.Unmarshal(m, b) @@ -2090,12 +2432,14 @@ type isRecordKey_Type interface { type RecordKey_DatastoreKey struct { DatastoreKey *DatastoreKey `protobuf:"bytes,2,opt,name=datastore_key,json=datastoreKey,proto3,oneof"` } + type RecordKey_BigQueryKey struct { BigQueryKey *BigQueryKey `protobuf:"bytes,3,opt,name=big_query_key,json=bigQueryKey,proto3,oneof"` } func (*RecordKey_DatastoreKey) isRecordKey_Type() {} -func (*RecordKey_BigQueryKey) isRecordKey_Type() {} + +func (*RecordKey_BigQueryKey) isRecordKey_Type() {} func (m *RecordKey) GetType() isRecordKey_Type { if m != nil { @@ -2214,7 +2558,7 @@ func (m *BigQueryTable) Reset() { *m = BigQueryTable{} } func (m *BigQueryTable) String() string { return proto.CompactTextString(m) } func (*BigQueryTable) ProtoMessage() {} func (*BigQueryTable) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{14} + return fileDescriptor_storage_9014a5ebee41d259, []int{17} } func (m *BigQueryTable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BigQueryTable.Unmarshal(m, b) @@ -2255,6 +2599,55 @@ func (m *BigQueryTable) GetTableId() string { return "" } +// Message defining a field of a BigQuery table. +type BigQueryField struct { + // Source table of the field. + Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` + // Designated field in the BigQuery table. + Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BigQueryField) Reset() { *m = BigQueryField{} } +func (m *BigQueryField) String() string { return proto.CompactTextString(m) } +func (*BigQueryField) ProtoMessage() {} +func (*BigQueryField) Descriptor() ([]byte, []int) { + return fileDescriptor_storage_9014a5ebee41d259, []int{18} +} +func (m *BigQueryField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BigQueryField.Unmarshal(m, b) +} +func (m *BigQueryField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BigQueryField.Marshal(b, m, deterministic) +} +func (dst *BigQueryField) XXX_Merge(src proto.Message) { + xxx_messageInfo_BigQueryField.Merge(dst, src) +} +func (m *BigQueryField) XXX_Size() int { + return xxx_messageInfo_BigQueryField.Size(m) +} +func (m *BigQueryField) XXX_DiscardUnknown() { + xxx_messageInfo_BigQueryField.DiscardUnknown(m) +} + +var xxx_messageInfo_BigQueryField proto.InternalMessageInfo + +func (m *BigQueryField) GetTable() *BigQueryTable { + if m != nil { + return m.Table + } + return nil +} + +func (m *BigQueryField) GetField() *FieldId { + if m != nil { + return m.Field + } + return nil +} + // An entity in a dataset is a field or set of fields that correspond to a // single person. For example, in medical records the `EntityId` might be a // patient identifier, or for financial records it might be an account @@ -2272,7 +2665,7 @@ func (m *EntityId) Reset() { *m = EntityId{} } func (m *EntityId) String() string { return proto.CompactTextString(m) } func (*EntityId) ProtoMessage() {} func (*EntityId) Descriptor() ([]byte, []int) { - return fileDescriptor_storage_fb7f209e00c99d61, []int{15} + return fileDescriptor_storage_9014a5ebee41d259, []int{19} } func (m *EntityId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntityId.Unmarshal(m, b) @@ -2301,6 +2694,7 @@ func (m *EntityId) GetField() *FieldId { func init() { proto.RegisterType((*InfoType)(nil), "google.privacy.dlp.v2.InfoType") + proto.RegisterType((*StoredType)(nil), "google.privacy.dlp.v2.StoredType") proto.RegisterType((*CustomInfoType)(nil), "google.privacy.dlp.v2.CustomInfoType") proto.RegisterType((*CustomInfoType_Dictionary)(nil), "google.privacy.dlp.v2.CustomInfoType.Dictionary") proto.RegisterType((*CustomInfoType_Dictionary_WordList)(nil), "google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList") @@ -2314,8 +2708,10 @@ func init() { proto.RegisterType((*PartitionId)(nil), "google.privacy.dlp.v2.PartitionId") proto.RegisterType((*KindExpression)(nil), "google.privacy.dlp.v2.KindExpression") proto.RegisterType((*DatastoreOptions)(nil), "google.privacy.dlp.v2.DatastoreOptions") + proto.RegisterType((*CloudStorageRegexFileSet)(nil), "google.privacy.dlp.v2.CloudStorageRegexFileSet") proto.RegisterType((*CloudStorageOptions)(nil), "google.privacy.dlp.v2.CloudStorageOptions") proto.RegisterType((*CloudStorageOptions_FileSet)(nil), "google.privacy.dlp.v2.CloudStorageOptions.FileSet") + proto.RegisterType((*CloudStorageFileSet)(nil), "google.privacy.dlp.v2.CloudStorageFileSet") proto.RegisterType((*CloudStoragePath)(nil), "google.privacy.dlp.v2.CloudStoragePath") proto.RegisterType((*BigQueryOptions)(nil), "google.privacy.dlp.v2.BigQueryOptions") proto.RegisterType((*StorageConfig)(nil), "google.privacy.dlp.v2.StorageConfig") @@ -2326,127 +2722,145 @@ func init() { proto.RegisterType((*Key_PathElement)(nil), "google.privacy.dlp.v2.Key.PathElement") proto.RegisterType((*RecordKey)(nil), "google.privacy.dlp.v2.RecordKey") proto.RegisterType((*BigQueryTable)(nil), "google.privacy.dlp.v2.BigQueryTable") + proto.RegisterType((*BigQueryField)(nil), "google.privacy.dlp.v2.BigQueryField") proto.RegisterType((*EntityId)(nil), "google.privacy.dlp.v2.EntityId") proto.RegisterEnum("google.privacy.dlp.v2.Likelihood", Likelihood_name, Likelihood_value) proto.RegisterEnum("google.privacy.dlp.v2.FileType", FileType_name, FileType_value) + proto.RegisterEnum("google.privacy.dlp.v2.CustomInfoType_ExclusionType", CustomInfoType_ExclusionType_name, CustomInfoType_ExclusionType_value) proto.RegisterEnum("google.privacy.dlp.v2.CloudStorageOptions_SampleMethod", CloudStorageOptions_SampleMethod_name, CloudStorageOptions_SampleMethod_value) proto.RegisterEnum("google.privacy.dlp.v2.BigQueryOptions_SampleMethod", BigQueryOptions_SampleMethod_name, BigQueryOptions_SampleMethod_value) } func init() { - proto.RegisterFile("google/privacy/dlp/v2/storage.proto", fileDescriptor_storage_fb7f209e00c99d61) -} - -var fileDescriptor_storage_fb7f209e00c99d61 = []byte{ - // 1753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xfd, 0x92, 0x1a, 0x4b, - 0x15, 0x67, 0x60, 0x59, 0xe0, 0xf0, 0xb1, 0x6c, 0xef, 0xc6, 0x22, 0x68, 0xee, 0xdd, 0x90, 0x18, - 0x63, 0xac, 0x02, 0xdd, 0x68, 0x69, 0xfc, 0x5e, 0x02, 0xb9, 0x33, 0xee, 0x17, 0x36, 0xdc, 0x7c, - 0xe8, 0x56, 0x8d, 0x03, 0xd3, 0xb0, 0x7d, 0x33, 0x4c, 0x8f, 0x33, 0x4d, 0x36, 0x94, 0xe5, 0x33, - 0xf8, 0x8f, 0x8f, 0x60, 0x95, 0xa5, 0xe5, 0x13, 0xe8, 0x1b, 0xdc, 0x2a, 0x5f, 0xc1, 0x17, 0xf0, - 0x3f, 0x9f, 0xc0, 0xea, 0xee, 0x99, 0x61, 0x20, 0xcb, 0x5d, 0x92, 0xca, 0x5f, 0x3b, 0xe7, 0xf4, - 0xf9, 0x9d, 0x3e, 0x7d, 0xbe, 0x59, 0xb8, 0x37, 0x61, 0x6c, 0xe2, 0x90, 0x96, 0xe7, 0xd3, 0x37, - 0xd6, 0x68, 0xde, 0xb2, 0x1d, 0xaf, 0xf5, 0xe6,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1, 0x53, 0x58, 0x61, - 0xd1, 0x05, 0x54, 0x82, 0x99, 0xef, 0xb3, 0x89, 0xc5, 0x89, 0x72, 0xcf, 0x96, 0xd4, 0xf6, 0x78, - 0x33, 0x6d, 0xfd, 0x08, 0x2b, 0x28, 0x3d, 0x85, 0xcb, 0x41, 0x92, 0x81, 0x2e, 0x60, 0xc7, 0x26, - 0x9c, 0x48, 0x93, 0x4d, 0x7f, 0xe6, 0x90, 0xa0, 0x96, 0x3b, 0xc8, 0x6c, 0xae, 0xbe, 0x13, 0x81, - 0xf1, 0xcc, 0x21, 0xb8, 0x62, 0x27, 0xc9, 0xa0, 0xfe, 0x5f, 0x0d, 0x60, 0xe1, 0x1d, 0xf4, 0x12, - 0x0a, 0x57, 0xcc, 0xb7, 0x4d, 0x87, 0x06, 0x3c, 0x0c, 0xf2, 0x93, 0xf7, 0x75, 0x71, 0xf3, 0x05, - 0xf3, 0xed, 0x13, 0x1a, 0x70, 0x3d, 0x85, 0xf3, 0x57, 0xe1, 0x37, 0x7a, 0x01, 0x68, 0xe4, 0xb0, - 0x99, 0x6d, 0x86, 0xe9, 0x6d, 0x7a, 0x16, 0xbf, 0x0c, 0xdd, 0xfe, 0xad, 0x75, 0x57, 0x08, 0x40, - 0x5f, 0xc9, 0xf7, 0x2c, 0x7e, 0xa9, 0xa7, 0x70, 0x75, 0xb4, 0xc2, 0xab, 0x1f, 0x40, 0x3e, 0xba, - 0x10, 0xed, 0x43, 0x56, 0x5c, 0x18, 0xd4, 0xb4, 0x83, 0xcc, 0xc3, 0x02, 0x56, 0x44, 0x3b, 0x0f, - 0xdb, 0x01, 0x9b, 0xf9, 0x23, 0x52, 0xbf, 0x0b, 0x59, 0x19, 0x3b, 0x54, 0x83, 0x9c, 0x67, 0x71, - 0x4e, 0x7c, 0x37, 0x4c, 0xfb, 0x88, 0xac, 0xef, 0x40, 0x79, 0x29, 0x20, 0xf5, 0x7f, 0x66, 0xa1, - 0xbc, 0xe4, 0x43, 0x64, 0x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f, 0xa7, 0xe9, 0xef, 0x42, 0xf9, 0x79, 0x17, - 0xbf, 0x32, 0x3f, 0x3f, 0x93, 0x22, 0xaf, 0xaa, 0x1a, 0x2a, 0x41, 0x3e, 0xa6, 0xd2, 0x82, 0xea, - 0x9d, 0xf7, 0xfb, 0x46, 0xfb, 0xa4, 0x5b, 0xcd, 0x20, 0x80, 0xed, 0xf0, 0x64, 0x0b, 0xed, 0x40, - 0x51, 0x42, 0x43, 0x46, 0xf6, 0x51, 0x17, 0xf2, 0xd1, 0x3a, 0x83, 0x6e, 0xc3, 0xad, 0x67, 0xc6, - 0x49, 0xd7, 0x1c, 0xbc, 0xea, 0x75, 0x57, 0xae, 0xdc, 0x81, 0x62, 0xdb, 0x38, 0x3b, 0xc2, 0xaf, - 0x4c, 0x21, 0x51, 0xd5, 0x50, 0x19, 0x0a, 0x83, 0xee, 0xcb, 0x81, 0x22, 0xd3, 0xed, 0x3f, 0x69, - 0x70, 0x7b, 0xc4, 0xa6, 0xd7, 0xbf, 0xb4, 0x0d, 0x1d, 0xc7, 0x8b, 0x76, 0x04, 0xed, 0x37, 0x3f, - 0x0a, 0x85, 0x26, 0xcc, 0xb1, 0xdc, 0x49, 0x93, 0xf9, 0x93, 0xd6, 0x84, 0xb8, 0xb2, 0x8b, 0xb5, - 0xd4, 0x91, 0xe5, 0xd1, 0x60, 0xe5, 0x3f, 0x37, 0x3f, 0xb1, 0x1d, 0xef, 0xef, 0xe9, 0xbd, 0xcf, - 0x14, 0x54, 0x8e, 0x8e, 0x66, 0xc7, 0xf1, 0x9a, 0xcf, 0x0f, 0xbf, 0x8c, 0xb8, 0x17, 0x92, 0x7b, - 0xd1, 0x71, 0xbc, 0x8b, 0xe7, 0x87, 0xc3, 0x6d, 0xa9, 0xf0, 0xf1, 0xff, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x69, 0x7c, 0xa2, 0x7a, 0x09, 0x12, 0x00, 0x00, + proto.RegisterFile("google/privacy/dlp/v2/storage.proto", fileDescriptor_storage_9014a5ebee41d259) +} + +var fileDescriptor_storage_9014a5ebee41d259 = []byte{ + // 2014 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x72, 0x1b, 0x49, + 0x15, 0xd6, 0x48, 0x96, 0x2d, 0x1d, 0xfd, 0x58, 0x6e, 0x3b, 0x5b, 0x8a, 0x6a, 0xb3, 0x71, 0xe4, + 0x90, 0x35, 0x81, 0x92, 0xc0, 0x0b, 0x05, 0xd9, 0x85, 0x05, 0xcb, 0x52, 0x22, 0xe1, 0x3f, 0xd1, + 0x52, 0xfe, 0x16, 0x53, 0xc3, 0x48, 0xd3, 0x92, 0x67, 0x33, 0x9a, 0x1e, 0x66, 0x5a, 0xb1, 0x55, + 0x14, 0x17, 0x5c, 0x70, 0xcd, 0x0d, 0x8f, 0x40, 0x15, 0x05, 0xc5, 0x13, 0x00, 0x4f, 0xc0, 0x43, + 0x50, 0xc5, 0x25, 0xc5, 0x4b, 0x50, 0xfd, 0x33, 0xa3, 0x91, 0x22, 0x25, 0x72, 0x2a, 0x77, 0xd3, + 0xa7, 0xcf, 0x77, 0xba, 0xcf, 0x39, 0x5f, 0x9f, 0x3e, 0x3d, 0xb0, 0x37, 0xa4, 0x74, 0x68, 0x93, + 0xaa, 0xeb, 0x59, 0xaf, 0x8d, 0xfe, 0xa4, 0x6a, 0xda, 0x6e, 0xf5, 0xf5, 0x41, 0xd5, 0x67, 0xd4, + 0x33, 0x86, 0xa4, 0xe2, 0x7a, 0x94, 0x51, 0x74, 0x4b, 0x2a, 0x55, 0x94, 0x52, 0xc5, 0xb4, 0xdd, + 0xca, 0xeb, 0x83, 0xd2, 0xc7, 0x0a, 0x6b, 0xb8, 0x56, 0xd5, 0x70, 0x1c, 0xca, 0x0c, 0x66, 0x51, + 0xc7, 0x97, 0xa0, 0xd2, 0xdd, 0xd0, 0x32, 0x65, 0xb4, 0x37,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b, 0x17, 0xcf, 0x0e, 0x7a, 0xeb, 0xc2, 0xe0, 0x67, + 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x58, 0x67, 0x11, 0x9a, 0x15, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/pubsub/v1/pubsub.pb.go b/vendor/google.golang.org/genproto/googleapis/pubsub/v1/pubsub.pb.go index 4b6cf03a6..2141a984e 100644 --- a/vendor/google.golang.org/genproto/googleapis/pubsub/v1/pubsub.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/pubsub/v1/pubsub.pb.go @@ -45,7 +45,7 @@ func (m *MessageStoragePolicy) Reset() { *m = MessageStoragePolicy{} } func (m *MessageStoragePolicy) String() string { return proto.CompactTextString(m) } func (*MessageStoragePolicy) ProtoMessage() {} func (*MessageStoragePolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{0} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{0} } func (m *MessageStoragePolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MessageStoragePolicy.Unmarshal(m, b) @@ -81,7 +81,7 @@ type Topic struct { // signs (`%`). It must be between 3 and 255 characters in length, and it // must not start with `"goog"`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // User labels. + // See Creating and managing labels. Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Policy constraining how messages published to the topic may be stored. It // is determined when the topic is created based on the policy configured at @@ -99,7 +99,7 @@ func (m *Topic) Reset() { *m = Topic{} } func (m *Topic) String() string { return proto.CompactTextString(m) } func (*Topic) ProtoMessage() {} func (*Topic) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{1} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{1} } func (m *Topic) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Topic.Unmarshal(m, b) @@ -140,10 +140,13 @@ func (m *Topic) GetMessageStoragePolicy() *MessageStoragePolicy { return nil } -// A message data and its attributes. The message payload must not be empty; -// it must contain either a non-empty data field, or at least one attribute. +// A message that is published by publishers and consumed by subscribers. The +// message must contain either a non-empty data field or at least one attribute. +// See Quotas and limits for more information about +// message limits. type PubsubMessage struct { - // The message payload. + // The message data field. If this field is empty, the message must contain + // at least one attribute. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Optional attributes for this message. Attributes map[string]string `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -165,7 +168,7 @@ func (m *PubsubMessage) Reset() { *m = PubsubMessage{} } func (m *PubsubMessage) String() string { return proto.CompactTextString(m) } func (*PubsubMessage) ProtoMessage() {} func (*PubsubMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{2} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{2} } func (m *PubsubMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PubsubMessage.Unmarshal(m, b) @@ -227,7 +230,7 @@ func (m *GetTopicRequest) Reset() { *m = GetTopicRequest{} } func (m *GetTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicRequest) ProtoMessage() {} func (*GetTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{3} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{3} } func (m *GetTopicRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTopicRequest.Unmarshal(m, b) @@ -273,7 +276,7 @@ func (m *UpdateTopicRequest) Reset() { *m = UpdateTopicRequest{} } func (m *UpdateTopicRequest) String() string { return proto.CompactTextString(m) } func (*UpdateTopicRequest) ProtoMessage() {} func (*UpdateTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{4} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{4} } func (m *UpdateTopicRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateTopicRequest.Unmarshal(m, b) @@ -323,7 +326,7 @@ func (m *PublishRequest) Reset() { *m = PublishRequest{} } func (m *PublishRequest) String() string { return proto.CompactTextString(m) } func (*PublishRequest) ProtoMessage() {} func (*PublishRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{5} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{5} } func (m *PublishRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishRequest.Unmarshal(m, b) @@ -372,7 +375,7 @@ func (m *PublishResponse) Reset() { *m = PublishResponse{} } func (m *PublishResponse) String() string { return proto.CompactTextString(m) } func (*PublishResponse) ProtoMessage() {} func (*PublishResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{6} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{6} } func (m *PublishResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishResponse.Unmarshal(m, b) @@ -401,8 +404,8 @@ func (m *PublishResponse) GetMessageIds() []string { // Request for the `ListTopics` method. type ListTopicsRequest struct { - // The name of the cloud project that topics belong to. - // Format is `projects/{project}`. + // The name of the project in which to list topics. + // Format is `projects/{project-id}`. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Maximum number of topics to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -419,7 +422,7 @@ func (m *ListTopicsRequest) Reset() { *m = ListTopicsRequest{} } func (m *ListTopicsRequest) String() string { return proto.CompactTextString(m) } func (*ListTopicsRequest) ProtoMessage() {} func (*ListTopicsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{7} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{7} } func (m *ListTopicsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicsRequest.Unmarshal(m, b) @@ -476,7 +479,7 @@ func (m *ListTopicsResponse) Reset() { *m = ListTopicsResponse{} } func (m *ListTopicsResponse) String() string { return proto.CompactTextString(m) } func (*ListTopicsResponse) ProtoMessage() {} func (*ListTopicsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{8} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{8} } func (m *ListTopicsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicsResponse.Unmarshal(m, b) @@ -530,7 +533,7 @@ func (m *ListTopicSubscriptionsRequest) Reset() { *m = ListTopicSubscrip func (m *ListTopicSubscriptionsRequest) String() string { return proto.CompactTextString(m) } func (*ListTopicSubscriptionsRequest) ProtoMessage() {} func (*ListTopicSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{9} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{9} } func (m *ListTopicSubscriptionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicSubscriptionsRequest.Unmarshal(m, b) @@ -588,7 +591,7 @@ func (m *ListTopicSubscriptionsResponse) Reset() { *m = ListTopicSubscri func (m *ListTopicSubscriptionsResponse) String() string { return proto.CompactTextString(m) } func (*ListTopicSubscriptionsResponse) ProtoMessage() {} func (*ListTopicSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{10} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{10} } func (m *ListTopicSubscriptionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicSubscriptionsResponse.Unmarshal(m, b) @@ -645,7 +648,7 @@ func (m *ListTopicSnapshotsRequest) Reset() { *m = ListTopicSnapshotsReq func (m *ListTopicSnapshotsRequest) String() string { return proto.CompactTextString(m) } func (*ListTopicSnapshotsRequest) ProtoMessage() {} func (*ListTopicSnapshotsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{11} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{11} } func (m *ListTopicSnapshotsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicSnapshotsRequest.Unmarshal(m, b) @@ -706,7 +709,7 @@ func (m *ListTopicSnapshotsResponse) Reset() { *m = ListTopicSnapshotsRe func (m *ListTopicSnapshotsResponse) String() string { return proto.CompactTextString(m) } func (*ListTopicSnapshotsResponse) ProtoMessage() {} func (*ListTopicSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{12} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{12} } func (m *ListTopicSnapshotsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicSnapshotsResponse.Unmarshal(m, b) @@ -754,7 +757,7 @@ func (m *DeleteTopicRequest) Reset() { *m = DeleteTopicRequest{} } func (m *DeleteTopicRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTopicRequest) ProtoMessage() {} func (*DeleteTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{13} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{13} } func (m *DeleteTopicRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTopicRequest.Unmarshal(m, b) @@ -838,8 +841,18 @@ type Subscription struct { // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. MessageRetentionDuration *duration.Duration `protobuf:"bytes,8,opt,name=message_retention_duration,json=messageRetentionDuration,proto3" json:"message_retention_duration,omitempty"` - // User labels. - Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // See Creating and managing labels. + Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A policy that specifies the conditions for this subscription's expiration. + // A subscription is considered active as long as any connected subscriber is + // successfully consuming messages from the subscription or is issuing + // operations on the subscription. If `expiration_policy` is not set, a + // *default policy* with `ttl` of 31 days will be used. The minimum allowed + // value for `expiration_policy.ttl` is 1 day. + // BETA: This feature is part of a beta release. This API might be + // changed in backward-incompatible ways and is not recommended for production + // use. It is not subject to any SLA or deprecation policy. + ExpirationPolicy *ExpirationPolicy `protobuf:"bytes,11,opt,name=expiration_policy,json=expirationPolicy,proto3" json:"expiration_policy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -849,7 +862,7 @@ func (m *Subscription) Reset() { *m = Subscription{} } func (m *Subscription) String() string { return proto.CompactTextString(m) } func (*Subscription) ProtoMessage() {} func (*Subscription) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{14} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{14} } func (m *Subscription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Subscription.Unmarshal(m, b) @@ -918,6 +931,59 @@ func (m *Subscription) GetLabels() map[string]string { return nil } +func (m *Subscription) GetExpirationPolicy() *ExpirationPolicy { + if m != nil { + return m.ExpirationPolicy + } + return nil +} + +// A policy that specifies the conditions for resource expiration (i.e., +// automatic resource deletion). +type ExpirationPolicy struct { + // Specifies the "time-to-live" duration for an associated resource. The + // resource expires if it is not active for a period of `ttl`. The definition + // of "activity" depends on the type of the associated resource. The minimum + // and maximum allowed values for `ttl` depend on the type of the associated + // resource, as well. If `ttl` is not set, the associated resource never + // expires. + Ttl *duration.Duration `protobuf:"bytes,1,opt,name=ttl,proto3" json:"ttl,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExpirationPolicy) Reset() { *m = ExpirationPolicy{} } +func (m *ExpirationPolicy) String() string { return proto.CompactTextString(m) } +func (*ExpirationPolicy) ProtoMessage() {} +func (*ExpirationPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{15} +} +func (m *ExpirationPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExpirationPolicy.Unmarshal(m, b) +} +func (m *ExpirationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExpirationPolicy.Marshal(b, m, deterministic) +} +func (dst *ExpirationPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExpirationPolicy.Merge(dst, src) +} +func (m *ExpirationPolicy) XXX_Size() int { + return xxx_messageInfo_ExpirationPolicy.Size(m) +} +func (m *ExpirationPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_ExpirationPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_ExpirationPolicy proto.InternalMessageInfo + +func (m *ExpirationPolicy) GetTtl() *duration.Duration { + if m != nil { + return m.Ttl + } + return nil +} + // Configuration for a push delivery endpoint. type PushConfig struct { // A URL locating the endpoint to which messages should be pushed. @@ -954,7 +1020,7 @@ func (m *PushConfig) Reset() { *m = PushConfig{} } func (m *PushConfig) String() string { return proto.CompactTextString(m) } func (*PushConfig) ProtoMessage() {} func (*PushConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{15} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{16} } func (m *PushConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PushConfig.Unmarshal(m, b) @@ -1003,7 +1069,7 @@ func (m *ReceivedMessage) Reset() { *m = ReceivedMessage{} } func (m *ReceivedMessage) String() string { return proto.CompactTextString(m) } func (*ReceivedMessage) ProtoMessage() {} func (*ReceivedMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{16} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{17} } func (m *ReceivedMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReceivedMessage.Unmarshal(m, b) @@ -1051,7 +1117,7 @@ func (m *GetSubscriptionRequest) Reset() { *m = GetSubscriptionRequest{} func (m *GetSubscriptionRequest) String() string { return proto.CompactTextString(m) } func (*GetSubscriptionRequest) ProtoMessage() {} func (*GetSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{17} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{18} } func (m *GetSubscriptionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSubscriptionRequest.Unmarshal(m, b) @@ -1094,7 +1160,7 @@ func (m *UpdateSubscriptionRequest) Reset() { *m = UpdateSubscriptionReq func (m *UpdateSubscriptionRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSubscriptionRequest) ProtoMessage() {} func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{18} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{19} } func (m *UpdateSubscriptionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSubscriptionRequest.Unmarshal(m, b) @@ -1130,8 +1196,8 @@ func (m *UpdateSubscriptionRequest) GetUpdateMask() *field_mask.FieldMask { // Request for the `ListSubscriptions` method. type ListSubscriptionsRequest struct { - // The name of the cloud project that subscriptions belong to. - // Format is `projects/{project}`. + // The name of the project in which to list subscriptions. + // Format is `projects/{project-id}`. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Maximum number of subscriptions to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1148,7 +1214,7 @@ func (m *ListSubscriptionsRequest) Reset() { *m = ListSubscriptionsReque func (m *ListSubscriptionsRequest) String() string { return proto.CompactTextString(m) } func (*ListSubscriptionsRequest) ProtoMessage() {} func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{19} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{20} } func (m *ListSubscriptionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubscriptionsRequest.Unmarshal(m, b) @@ -1206,7 +1272,7 @@ func (m *ListSubscriptionsResponse) Reset() { *m = ListSubscriptionsResp func (m *ListSubscriptionsResponse) String() string { return proto.CompactTextString(m) } func (*ListSubscriptionsResponse) ProtoMessage() {} func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{20} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{21} } func (m *ListSubscriptionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubscriptionsResponse.Unmarshal(m, b) @@ -1254,7 +1320,7 @@ func (m *DeleteSubscriptionRequest) Reset() { *m = DeleteSubscriptionReq func (m *DeleteSubscriptionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSubscriptionRequest) ProtoMessage() {} func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{21} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{22} } func (m *DeleteSubscriptionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSubscriptionRequest.Unmarshal(m, b) @@ -1302,7 +1368,7 @@ func (m *ModifyPushConfigRequest) Reset() { *m = ModifyPushConfigRequest func (m *ModifyPushConfigRequest) String() string { return proto.CompactTextString(m) } func (*ModifyPushConfigRequest) ProtoMessage() {} func (*ModifyPushConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{22} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{23} } func (m *ModifyPushConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyPushConfigRequest.Unmarshal(m, b) @@ -1344,9 +1410,7 @@ type PullRequest struct { // If this field set to true, the system will respond immediately even if // it there are no messages available to return in the `Pull` response. // Otherwise, the system may wait (for a bounded amount of time) until at - // least one message is available, rather than returning no messages. The - // client may cancel the request if it does not wish to wait any longer for - // the response. + // least one message is available, rather than returning no messages. ReturnImmediately bool `protobuf:"varint,2,opt,name=return_immediately,json=returnImmediately,proto3" json:"return_immediately,omitempty"` // The maximum number of messages returned for this request. The Pub/Sub // system may return fewer than the number specified. @@ -1360,7 +1424,7 @@ func (m *PullRequest) Reset() { *m = PullRequest{} } func (m *PullRequest) String() string { return proto.CompactTextString(m) } func (*PullRequest) ProtoMessage() {} func (*PullRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{23} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{24} } func (m *PullRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PullRequest.Unmarshal(m, b) @@ -1403,10 +1467,10 @@ func (m *PullRequest) GetMaxMessages() int32 { // Response for the `Pull` method. type PullResponse struct { - // Received Pub/Sub messages. The Pub/Sub system will return zero messages if - // there are no more available in the backlog. The Pub/Sub system may return - // fewer than the `maxMessages` requested even if there are more messages - // available in the backlog. + // Received Pub/Sub messages. The list will be empty if there are no more + // messages available in the backlog. For JSON, the response can be entirely + // empty. The Pub/Sub system may return fewer than the `maxMessages` requested + // even if there are more messages available in the backlog. ReceivedMessages []*ReceivedMessage `protobuf:"bytes,1,rep,name=received_messages,json=receivedMessages,proto3" json:"received_messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1417,7 +1481,7 @@ func (m *PullResponse) Reset() { *m = PullResponse{} } func (m *PullResponse) String() string { return proto.CompactTextString(m) } func (*PullResponse) ProtoMessage() {} func (*PullResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{24} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{25} } func (m *PullResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PullResponse.Unmarshal(m, b) @@ -1468,7 +1532,7 @@ func (m *ModifyAckDeadlineRequest) Reset() { *m = ModifyAckDeadlineReque func (m *ModifyAckDeadlineRequest) String() string { return proto.CompactTextString(m) } func (*ModifyAckDeadlineRequest) ProtoMessage() {} func (*ModifyAckDeadlineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{25} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{26} } func (m *ModifyAckDeadlineRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyAckDeadlineRequest.Unmarshal(m, b) @@ -1526,7 +1590,7 @@ func (m *AcknowledgeRequest) Reset() { *m = AcknowledgeRequest{} } func (m *AcknowledgeRequest) String() string { return proto.CompactTextString(m) } func (*AcknowledgeRequest) ProtoMessage() {} func (*AcknowledgeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{26} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{27} } func (m *AcknowledgeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcknowledgeRequest.Unmarshal(m, b) @@ -1607,7 +1671,7 @@ func (m *StreamingPullRequest) Reset() { *m = StreamingPullRequest{} } func (m *StreamingPullRequest) String() string { return proto.CompactTextString(m) } func (*StreamingPullRequest) ProtoMessage() {} func (*StreamingPullRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{27} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{28} } func (m *StreamingPullRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingPullRequest.Unmarshal(m, b) @@ -1676,7 +1740,7 @@ func (m *StreamingPullResponse) Reset() { *m = StreamingPullResponse{} } func (m *StreamingPullResponse) String() string { return proto.CompactTextString(m) } func (*StreamingPullResponse) ProtoMessage() {} func (*StreamingPullResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{28} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{29} } func (m *StreamingPullResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingPullResponse.Unmarshal(m, b) @@ -1711,7 +1775,8 @@ type CreateSnapshotRequest struct { // Optional user-provided name for this snapshot. // If the name is not provided in the request, the server will assign a random // name for this snapshot on the same project as the subscription. - // Note that for REST API requests, you must specify a name. + // Note that for REST API requests, you must specify a name. See the + // resource name rules. // Format is `projects/{project}/snapshots/{snap}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The subscription whose backlog the snapshot retains. @@ -1724,7 +1789,7 @@ type CreateSnapshotRequest struct { // successful completion of the CreateSnapshot request. // Format is `projects/{project}/subscriptions/{sub}`. Subscription string `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` - // User labels. + // See Creating and managing labels. Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1735,7 +1800,7 @@ func (m *CreateSnapshotRequest) Reset() { *m = CreateSnapshotRequest{} } func (m *CreateSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*CreateSnapshotRequest) ProtoMessage() {} func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{29} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{30} } func (m *CreateSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSnapshotRequest.Unmarshal(m, b) @@ -1795,7 +1860,7 @@ func (m *UpdateSnapshotRequest) Reset() { *m = UpdateSnapshotRequest{} } func (m *UpdateSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSnapshotRequest) ProtoMessage() {} func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{30} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{31} } func (m *UpdateSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSnapshotRequest.Unmarshal(m, b) @@ -1849,7 +1914,7 @@ type Snapshot struct { // exists -- will expire in 4 days. The service will refuse to create a // snapshot that would expire in less than 1 hour after creation. ExpireTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - // User labels. + // See Creating and managing labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1860,7 +1925,7 @@ func (m *Snapshot) Reset() { *m = Snapshot{} } func (m *Snapshot) String() string { return proto.CompactTextString(m) } func (*Snapshot) ProtoMessage() {} func (*Snapshot) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{31} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{32} } func (m *Snapshot) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Snapshot.Unmarshal(m, b) @@ -1925,7 +1990,7 @@ func (m *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} } func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*GetSnapshotRequest) ProtoMessage() {} func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{32} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{33} } func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) @@ -1957,8 +2022,8 @@ func (m *GetSnapshotRequest) GetSnapshot() string { // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. type ListSnapshotsRequest struct { - // The name of the cloud project that snapshots belong to. - // Format is `projects/{project}`. + // The name of the project in which to list snapshots. + // Format is `projects/{project-id}`. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Maximum number of snapshots to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1975,7 +2040,7 @@ func (m *ListSnapshotsRequest) Reset() { *m = ListSnapshotsRequest{} } func (m *ListSnapshotsRequest) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsRequest) ProtoMessage() {} func (*ListSnapshotsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{33} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{34} } func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsRequest.Unmarshal(m, b) @@ -2035,7 +2100,7 @@ func (m *ListSnapshotsResponse) Reset() { *m = ListSnapshotsResponse{} } func (m *ListSnapshotsResponse) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsResponse) ProtoMessage() {} func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{34} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{35} } func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsResponse.Unmarshal(m, b) @@ -2086,7 +2151,7 @@ func (m *DeleteSnapshotRequest) Reset() { *m = DeleteSnapshotRequest{} } func (m *DeleteSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSnapshotRequest) ProtoMessage() {} func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{35} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{36} } func (m *DeleteSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSnapshotRequest.Unmarshal(m, b) @@ -2133,7 +2198,7 @@ func (m *SeekRequest) Reset() { *m = SeekRequest{} } func (m *SeekRequest) String() string { return proto.CompactTextString(m) } func (*SeekRequest) ProtoMessage() {} func (*SeekRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{36} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{37} } func (m *SeekRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SeekRequest.Unmarshal(m, b) @@ -2153,6 +2218,13 @@ func (m *SeekRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SeekRequest proto.InternalMessageInfo +func (m *SeekRequest) GetSubscription() string { + if m != nil { + return m.Subscription + } + return "" +} + type isSeekRequest_Target interface { isSeekRequest_Target() } @@ -2160,11 +2232,13 @@ type isSeekRequest_Target interface { type SeekRequest_Time struct { Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3,oneof"` } + type SeekRequest_Snapshot struct { Snapshot string `protobuf:"bytes,3,opt,name=snapshot,proto3,oneof"` } -func (*SeekRequest_Time) isSeekRequest_Target() {} +func (*SeekRequest_Time) isSeekRequest_Target() {} + func (*SeekRequest_Snapshot) isSeekRequest_Target() {} func (m *SeekRequest) GetTarget() isSeekRequest_Target { @@ -2174,13 +2248,6 @@ func (m *SeekRequest) GetTarget() isSeekRequest_Target { return nil } -func (m *SeekRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - func (m *SeekRequest) GetTime() *timestamp.Timestamp { if x, ok := m.GetTarget().(*SeekRequest_Time); ok { return x.Time @@ -2265,6 +2332,7 @@ func _SeekRequest_OneofSizer(msg proto.Message) (n int) { return n } +// Response for the `Seek` method (this response is empty). type SeekResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2275,7 +2343,7 @@ func (m *SeekResponse) Reset() { *m = SeekResponse{} } func (m *SeekResponse) String() string { return proto.CompactTextString(m) } func (*SeekResponse) ProtoMessage() {} func (*SeekResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_ccb5b83827ebb62b, []int{37} + return fileDescriptor_pubsub_521f7d0e4d12b453, []int{38} } func (m *SeekResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SeekResponse.Unmarshal(m, b) @@ -2314,6 +2382,7 @@ func init() { proto.RegisterType((*DeleteTopicRequest)(nil), "google.pubsub.v1.DeleteTopicRequest") proto.RegisterType((*Subscription)(nil), "google.pubsub.v1.Subscription") proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1.Subscription.LabelsEntry") + proto.RegisterType((*ExpirationPolicy)(nil), "google.pubsub.v1.ExpirationPolicy") proto.RegisterType((*PushConfig)(nil), "google.pubsub.v1.PushConfig") proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1.PushConfig.AttributesEntry") proto.RegisterType((*ReceivedMessage)(nil), "google.pubsub.v1.ReceivedMessage") @@ -2361,8 +2430,7 @@ type PublisherClient interface { // topic are not modifiable. UpdateTopic(ctx context.Context, in *UpdateTopicRequest, opts ...grpc.CallOption) (*Topic, error) // Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic - // does not exist. The message payload must not be empty; it must contain - // either a non-empty data field, or at least one attribute. + // does not exist. Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) // Gets the configuration of a topic. GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*Topic, error) @@ -2472,8 +2540,7 @@ type PublisherServer interface { // topic are not modifiable. UpdateTopic(context.Context, *UpdateTopicRequest) (*Topic, error) // Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic - // does not exist. The message payload must not be empty; it must contain - // either a non-empty data field, or at least one attribute. + // does not exist. Publish(context.Context, *PublishRequest) (*PublishResponse, error) // Gets the configuration of a topic. GetTopic(context.Context, *GetTopicRequest) (*Topic, error) @@ -2726,8 +2793,7 @@ type SubscriberClient interface { // but such a message may be redelivered later. Acknowledging a message more // than once will not result in an error. Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Pulls messages from the server. Returns an empty list if there are no - // messages available in the backlog. The server may return `UNAVAILABLE` if + // Pulls messages from the server. The server may return `UNAVAILABLE` if // there are too many concurrent pull requests pending for the given // subscription. Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) @@ -2759,7 +2825,7 @@ type SubscriberClient interface { // Creates a snapshot from the requested subscription.

// ALPHA: This feature is part of an alpha release. This API might be // changed in backward-incompatible ways and is not recommended for production - // use. It is not subject to any SLA or deprecation policy. + // use. It is not subject to any SLA or deprecation policy.

// If the snapshot already exists, returns `ALREADY_EXISTS`. // If the requested subscription doesn't exist, returns `NOT_FOUND`. // If the backlog in the subscription is too old -- and the resulting snapshot @@ -3010,8 +3076,7 @@ type SubscriberServer interface { // but such a message may be redelivered later. Acknowledging a message more // than once will not result in an error. Acknowledge(context.Context, *AcknowledgeRequest) (*empty.Empty, error) - // Pulls messages from the server. Returns an empty list if there are no - // messages available in the backlog. The server may return `UNAVAILABLE` if + // Pulls messages from the server. The server may return `UNAVAILABLE` if // there are too many concurrent pull requests pending for the given // subscription. Pull(context.Context, *PullRequest) (*PullResponse, error) @@ -3043,7 +3108,7 @@ type SubscriberServer interface { // Creates a snapshot from the requested subscription.

// ALPHA: This feature is part of an alpha release. This API might be // changed in backward-incompatible ways and is not recommended for production - // use. It is not subject to any SLA or deprecation policy. + // use. It is not subject to any SLA or deprecation policy.

// If the snapshot already exists, returns `ALREADY_EXISTS`. // If the requested subscription doesn't exist, returns `NOT_FOUND`. // If the backlog in the subscription is too old -- and the resulting snapshot @@ -3456,147 +3521,150 @@ var _Subscriber_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/pubsub/v1/pubsub.proto", fileDescriptor_pubsub_ccb5b83827ebb62b) + proto.RegisterFile("google/pubsub/v1/pubsub.proto", fileDescriptor_pubsub_521f7d0e4d12b453) } -var fileDescriptor_pubsub_ccb5b83827ebb62b = []byte{ - // 2199 bytes of a gzipped FileDescriptorProto +var fileDescriptor_pubsub_521f7d0e4d12b453 = []byte{ + // 2244 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x73, 0x1b, 0x49, - 0x15, 0xdf, 0x96, 0x1c, 0x47, 0x7e, 0xb2, 0xe3, 0xb8, 0xb1, 0x1d, 0x79, 0xf2, 0x65, 0x4f, 0x8c, - 0xed, 0x28, 0x89, 0x64, 0x2b, 0xb5, 0x61, 0x13, 0xe3, 0x6c, 0xd9, 0x71, 0xc8, 0x06, 0x12, 0x30, - 0xe3, 0x10, 0xaa, 0xa8, 0x14, 0xaa, 0x91, 0xd4, 0x51, 0x66, 0x35, 0x9a, 0x99, 0x9d, 0x19, 0x79, - 0xe3, 0x85, 0x50, 0x61, 0x97, 0xa2, 0x8a, 0x22, 0x07, 0x76, 0xb9, 0xee, 0x81, 0x82, 0x1b, 0x47, - 0xaa, 0xb8, 0xc2, 0x9d, 0x2b, 0x07, 0xfe, 0x01, 0x8e, 0x5c, 0x38, 0xc1, 0x71, 0xab, 0x3f, 0x66, - 0x34, 0x1f, 0x3d, 0x92, 0x65, 0x6f, 0x6e, 0xa3, 0xee, 0xd7, 0xfd, 0x7e, 0xef, 0xbb, 0xdf, 0x2b, - 0xc1, 0xc5, 0xb6, 0x6d, 0xb7, 0x4d, 0x52, 0x75, 0x7a, 0x0d, 0xaf, 0xd7, 0xa8, 0x1e, 0x6c, 0x88, - 0xaf, 0x8a, 0xe3, 0xda, 0xbe, 0x8d, 0xcf, 0xf2, 0xed, 0x8a, 0x58, 0x3c, 0xd8, 0x50, 0x2e, 0x88, - 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0, 0x91, 0xad, - 0xde, 0x60, 0xd8, 0x56, 0x31, 0x4f, 0xdb, 0x41, 0xa9, 0x8a, 0xe1, 0x0a, 0xca, 0x17, 0x8d, 0xa4, - 0x37, 0x08, 0xa6, 0x62, 0x8f, 0x7b, 0x99, 0x25, 0x64, 0xbd, 0x86, 0xcc, 0x12, 0xd2, 0x2e, 0x41, - 0x2d, 0x33, 0x44, 0xcb, 0x58, 0xcd, 0xce, 0x37, 0x21, 0xf3, 0xcf, 0x10, 0x9c, 0x89, 0x77, 0xbc, - 0x78, 0xf5, 0x88, 0x3d, 0xf1, 0x40, 0xad, 0x5c, 0x67, 0x18, 0x56, 0x94, 0x25, 0x79, 0x31, 0x8b, - 0x68, 0x84, 0x1a, 0xe5, 0x0d, 0x82, 0x33, 0xf1, 0x76, 0x58, 0x86, 0x42, 0xda, 0x30, 0x0f, 0x44, - 0x21, 0xb2, 0x5d, 0xad, 0x1c, 0xb3, 0x4d, 0x65, 0x18, 0x9c, 0xd7, 0x08, 0xce, 0xc4, 0xbb, 0x20, - 0x19, 0x1c, 0x69, 0x9f, 0x94, 0xe9, 0xc2, 0xc2, 0x4d, 0xca, 0x47, 0x74, 0x13, 0x9a, 0x36, 0x68, - 0x17, 0x23, 0x4b, 0x1b, 0x91, 0x56, 0x4b, 0x5a, 0x29, 0x23, 0xcd, 0xcf, 0x71, 0xd3, 0x86, 0x47, - 0x48, 0xe7, 0x0e, 0x2a, 0xef, 0x7c, 0x81, 0x60, 0xb6, 0x69, 0x77, 0x53, 0x4c, 0x76, 0x8a, 0x7c, - 0xfc, 0xbe, 0x47, 0x85, 0xdc, 0x43, 0x3f, 0xb9, 0x25, 0x08, 0xda, 0xb6, 0xa9, 0x5b, 0xed, 0x8a, - 0xed, 0xb6, 0xab, 0x6d, 0x62, 0x31, 0x15, 0x54, 0xf9, 0x96, 0xee, 0x18, 0x5e, 0xff, 0x2f, 0x1a, - 0x9b, 0xfc, 0xeb, 0xff, 0x08, 0xfd, 0x39, 0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0x9b, 0x20, 0x77, 0xe9, 0x25, 0x34, 0x08, 0x28, 0x1c, 0x91, 0xac, 0xdf, 0x23, 0x71, 0xf2, 0x54, + 0xf7, 0xda, 0x1a, 0x30, 0x72, 0xf2, 0xad, 0x36, 0xe0, 0xfc, 0x1e, 0x93, 0xbc, 0x2f, 0x54, 0xb4, + 0x09, 0x05, 0xae, 0xde, 0xc0, 0x7e, 0x57, 0x07, 0xd8, 0x4f, 0x0b, 0x0f, 0xa8, 0x55, 0x98, 0x0c, + 0x99, 0x78, 0x8e, 0x6d, 0x79, 0x18, 0x5d, 0x05, 0xb9, 0x67, 0xc0, 0x20, 0xb6, 0x20, 0xb4, 0xa0, + 0xa7, 0x1a, 0x30, 0xfd, 0xc4, 0xf0, 0x98, 0x16, 0xbd, 0x00, 0x5b, 0x11, 0xce, 0x39, 0xae, 0xfd, + 0x11, 0x6e, 0xf8, 0x1c, 0x5d, 0xf0, 0x13, 0x5d, 0x84, 0x31, 0x87, 0x46, 0x87, 0xf1, 0x29, 0xb3, + 0xc8, 0x59, 0xad, 0x40, 0x16, 0xf6, 0x8d, 0x4f, 0x31, 0xf1, 0x16, 0xba, 0xe9, 0xdb, 0x6d, 0x6c, + 0x05, 0xde, 0x42, 0x56, 0x9e, 0x91, 0x05, 0xb5, 0x03, 0x28, 0xca, 0x8a, 0x23, 0xac, 0xc0, 0x28, + 0x15, 0x9d, 0x81, 0xeb, 0x63, 0x06, 0x4e, 0x86, 0x96, 0x61, 0xd2, 0xc2, 0xaf, 0xfc, 0x5a, 0x84, + 0x15, 0x73, 0x8d, 0x09, 0xb2, 0xbc, 0x17, 0xb2, 0xfb, 0x18, 0x2e, 0x87, 0xec, 0xf6, 0xbb, 0x75, + 0xaf, 0xe1, 0x1a, 0x0e, 0x4d, 0x8f, 0xfd, 0x2d, 0x70, 0x1a, 0x09, 0x2d, 0xb8, 0x92, 0xc5, 0x92, + 0x4b, 0xbb, 0x04, 0x13, 0x5e, 0x74, 0x83, 0x5b, 0x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x06, 0xf0, 0x7b, 0x44, + 0xc8, 0x3d, 0xe9, 0xa7, 0xb7, 0x39, 0x41, 0xcb, 0x36, 0x75, 0xab, 0x55, 0xb6, 0xdd, 0x56, 0xa5, + 0x85, 0x2d, 0xaa, 0x82, 0x0a, 0xdb, 0xd2, 0x1d, 0xc3, 0xeb, 0xfd, 0x6d, 0x64, 0x93, 0x7d, 0xfd, + 0x57, 0x92, 0xfe, 0x9c, 0x9b, 0x7b, 0xc4, 0xce, 0x3e, 0x30, 0xed, 0x6e, 0x93, 0x74, 0x1d, 0xfb, + 0xdd, 0x7a, 0xf9, 0xf9, 0xc6, 0xdf, 0x83, 0x8d, 0x17, 0x74, 0xe3, 0x05, 0xdb, 0x78, 0xf1, 0x7c, + 0xa3, 0x3e, 0x4a, 0xef, 0xbd, 0xf5, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, 0xd4, 0x01, 0xbe, + 0x8d, 0x22, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/pubsub/v1beta2/pubsub.pb.go b/vendor/google.golang.org/genproto/googleapis/pubsub/v1beta2/pubsub.pb.go index d68a598b9..ed4c83444 100644 --- a/vendor/google.golang.org/genproto/googleapis/pubsub/v1beta2/pubsub.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/pubsub/v1beta2/pubsub.pb.go @@ -37,7 +37,7 @@ func (m *Topic) Reset() { *m = Topic{} } func (m *Topic) String() string { return proto.CompactTextString(m) } func (*Topic) ProtoMessage() {} func (*Topic) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{0} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{0} } func (m *Topic) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Topic.Unmarshal(m, b) @@ -85,7 +85,7 @@ func (m *PubsubMessage) Reset() { *m = PubsubMessage{} } func (m *PubsubMessage) String() string { return proto.CompactTextString(m) } func (*PubsubMessage) ProtoMessage() {} func (*PubsubMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{1} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{1} } func (m *PubsubMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PubsubMessage.Unmarshal(m, b) @@ -139,7 +139,7 @@ func (m *GetTopicRequest) Reset() { *m = GetTopicRequest{} } func (m *GetTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicRequest) ProtoMessage() {} func (*GetTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{2} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{2} } func (m *GetTopicRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTopicRequest.Unmarshal(m, b) @@ -181,7 +181,7 @@ func (m *PublishRequest) Reset() { *m = PublishRequest{} } func (m *PublishRequest) String() string { return proto.CompactTextString(m) } func (*PublishRequest) ProtoMessage() {} func (*PublishRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{3} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{3} } func (m *PublishRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishRequest.Unmarshal(m, b) @@ -230,7 +230,7 @@ func (m *PublishResponse) Reset() { *m = PublishResponse{} } func (m *PublishResponse) String() string { return proto.CompactTextString(m) } func (*PublishResponse) ProtoMessage() {} func (*PublishResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{4} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{4} } func (m *PublishResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishResponse.Unmarshal(m, b) @@ -276,7 +276,7 @@ func (m *ListTopicsRequest) Reset() { *m = ListTopicsRequest{} } func (m *ListTopicsRequest) String() string { return proto.CompactTextString(m) } func (*ListTopicsRequest) ProtoMessage() {} func (*ListTopicsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{5} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{5} } func (m *ListTopicsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicsRequest.Unmarshal(m, b) @@ -333,7 +333,7 @@ func (m *ListTopicsResponse) Reset() { *m = ListTopicsResponse{} } func (m *ListTopicsResponse) String() string { return proto.CompactTextString(m) } func (*ListTopicsResponse) ProtoMessage() {} func (*ListTopicsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{6} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{6} } func (m *ListTopicsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicsResponse.Unmarshal(m, b) @@ -386,7 +386,7 @@ func (m *ListTopicSubscriptionsRequest) Reset() { *m = ListTopicSubscrip func (m *ListTopicSubscriptionsRequest) String() string { return proto.CompactTextString(m) } func (*ListTopicSubscriptionsRequest) ProtoMessage() {} func (*ListTopicSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{7} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{7} } func (m *ListTopicSubscriptionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicSubscriptionsRequest.Unmarshal(m, b) @@ -444,7 +444,7 @@ func (m *ListTopicSubscriptionsResponse) Reset() { *m = ListTopicSubscri func (m *ListTopicSubscriptionsResponse) String() string { return proto.CompactTextString(m) } func (*ListTopicSubscriptionsResponse) ProtoMessage() {} func (*ListTopicSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{8} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{8} } func (m *ListTopicSubscriptionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTopicSubscriptionsResponse.Unmarshal(m, b) @@ -491,7 +491,7 @@ func (m *DeleteTopicRequest) Reset() { *m = DeleteTopicRequest{} } func (m *DeleteTopicRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTopicRequest) ProtoMessage() {} func (*DeleteTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{9} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{9} } func (m *DeleteTopicRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTopicRequest.Unmarshal(m, b) @@ -555,7 +555,7 @@ func (m *Subscription) Reset() { *m = Subscription{} } func (m *Subscription) String() string { return proto.CompactTextString(m) } func (*Subscription) ProtoMessage() {} func (*Subscription) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{10} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{10} } func (m *Subscription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Subscription.Unmarshal(m, b) @@ -641,7 +641,7 @@ func (m *PushConfig) Reset() { *m = PushConfig{} } func (m *PushConfig) String() string { return proto.CompactTextString(m) } func (*PushConfig) ProtoMessage() {} func (*PushConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{11} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{11} } func (m *PushConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PushConfig.Unmarshal(m, b) @@ -690,7 +690,7 @@ func (m *ReceivedMessage) Reset() { *m = ReceivedMessage{} } func (m *ReceivedMessage) String() string { return proto.CompactTextString(m) } func (*ReceivedMessage) ProtoMessage() {} func (*ReceivedMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{12} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{12} } func (m *ReceivedMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReceivedMessage.Unmarshal(m, b) @@ -737,7 +737,7 @@ func (m *GetSubscriptionRequest) Reset() { *m = GetSubscriptionRequest{} func (m *GetSubscriptionRequest) String() string { return proto.CompactTextString(m) } func (*GetSubscriptionRequest) ProtoMessage() {} func (*GetSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{13} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{13} } func (m *GetSubscriptionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSubscriptionRequest.Unmarshal(m, b) @@ -783,7 +783,7 @@ func (m *ListSubscriptionsRequest) Reset() { *m = ListSubscriptionsReque func (m *ListSubscriptionsRequest) String() string { return proto.CompactTextString(m) } func (*ListSubscriptionsRequest) ProtoMessage() {} func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{14} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{14} } func (m *ListSubscriptionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubscriptionsRequest.Unmarshal(m, b) @@ -841,7 +841,7 @@ func (m *ListSubscriptionsResponse) Reset() { *m = ListSubscriptionsResp func (m *ListSubscriptionsResponse) String() string { return proto.CompactTextString(m) } func (*ListSubscriptionsResponse) ProtoMessage() {} func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{15} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{15} } func (m *ListSubscriptionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubscriptionsResponse.Unmarshal(m, b) @@ -888,7 +888,7 @@ func (m *DeleteSubscriptionRequest) Reset() { *m = DeleteSubscriptionReq func (m *DeleteSubscriptionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSubscriptionRequest) ProtoMessage() {} func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{16} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{16} } func (m *DeleteSubscriptionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSubscriptionRequest.Unmarshal(m, b) @@ -935,7 +935,7 @@ func (m *ModifyPushConfigRequest) Reset() { *m = ModifyPushConfigRequest func (m *ModifyPushConfigRequest) String() string { return proto.CompactTextString(m) } func (*ModifyPushConfigRequest) ProtoMessage() {} func (*ModifyPushConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{17} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{17} } func (m *ModifyPushConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyPushConfigRequest.Unmarshal(m, b) @@ -991,7 +991,7 @@ func (m *PullRequest) Reset() { *m = PullRequest{} } func (m *PullRequest) String() string { return proto.CompactTextString(m) } func (*PullRequest) ProtoMessage() {} func (*PullRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{18} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{18} } func (m *PullRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PullRequest.Unmarshal(m, b) @@ -1048,7 +1048,7 @@ func (m *PullResponse) Reset() { *m = PullResponse{} } func (m *PullResponse) String() string { return proto.CompactTextString(m) } func (*PullResponse) ProtoMessage() {} func (*PullResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{19} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{19} } func (m *PullResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PullResponse.Unmarshal(m, b) @@ -1096,7 +1096,7 @@ func (m *ModifyAckDeadlineRequest) Reset() { *m = ModifyAckDeadlineReque func (m *ModifyAckDeadlineRequest) String() string { return proto.CompactTextString(m) } func (*ModifyAckDeadlineRequest) ProtoMessage() {} func (*ModifyAckDeadlineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{20} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{20} } func (m *ModifyAckDeadlineRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyAckDeadlineRequest.Unmarshal(m, b) @@ -1153,7 +1153,7 @@ func (m *AcknowledgeRequest) Reset() { *m = AcknowledgeRequest{} } func (m *AcknowledgeRequest) String() string { return proto.CompactTextString(m) } func (*AcknowledgeRequest) ProtoMessage() {} func (*AcknowledgeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pubsub_03050ed00729a104, []int{21} + return fileDescriptor_pubsub_53f7bdab0b836696, []int{21} } func (m *AcknowledgeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AcknowledgeRequest.Unmarshal(m, b) @@ -1839,10 +1839,10 @@ var _Publisher_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/pubsub/v1beta2/pubsub.proto", fileDescriptor_pubsub_03050ed00729a104) + proto.RegisterFile("google/pubsub/v1beta2/pubsub.proto", fileDescriptor_pubsub_53f7bdab0b836696) } -var fileDescriptor_pubsub_03050ed00729a104 = []byte{ +var fileDescriptor_pubsub_53f7bdab0b836696 = []byte{ // 1107 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5f, 0x6f, 0xdb, 0x54, 0x14, 0x97, 0x93, 0xfe, 0xcb, 0x71, 0x4a, 0xda, 0xab, 0xad, 0x73, 0x53, 0x06, 0x9d, 0x37, 0x4a, diff --git a/vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go b/vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go index 45fc390f4..410e374c8 100644 --- a/vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go @@ -209,16 +209,16 @@ func (x Code) String() string { return proto.EnumName(Code_name, int32(x)) } func (Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_code_ca8055d4ba0f2bcc, []int{0} + return fileDescriptor_code_932ba152e0df0902, []int{0} } func init() { proto.RegisterEnum("google.rpc.Code", Code_name, Code_value) } -func init() { proto.RegisterFile("google/rpc/code.proto", fileDescriptor_code_ca8055d4ba0f2bcc) } +func init() { proto.RegisterFile("google/rpc/code.proto", fileDescriptor_code_932ba152e0df0902) } -var fileDescriptor_code_ca8055d4ba0f2bcc = []byte{ +var fileDescriptor_code_932ba152e0df0902 = []byte{ // 362 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x51, 0xcd, 0x6e, 0x93, 0x31, 0x10, 0xa4, 0x69, 0x49, 0x9b, 0xcd, 0xdf, 0xd6, 0xa5, 0xf0, 0x0e, 0x1c, 0x92, 0x43, 0x8f, 0x9c, diff --git a/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go b/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go index c65f8b40f..81a8155d4 100644 --- a/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go @@ -44,7 +44,7 @@ func (m *RetryInfo) Reset() { *m = RetryInfo{} } func (m *RetryInfo) String() string { return proto.CompactTextString(m) } func (*RetryInfo) ProtoMessage() {} func (*RetryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{0} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{0} } func (m *RetryInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RetryInfo.Unmarshal(m, b) @@ -86,7 +86,7 @@ func (m *DebugInfo) Reset() { *m = DebugInfo{} } func (m *DebugInfo) String() string { return proto.CompactTextString(m) } func (*DebugInfo) ProtoMessage() {} func (*DebugInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{1} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{1} } func (m *DebugInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugInfo.Unmarshal(m, b) @@ -143,7 +143,7 @@ func (m *QuotaFailure) Reset() { *m = QuotaFailure{} } func (m *QuotaFailure) String() string { return proto.CompactTextString(m) } func (*QuotaFailure) ProtoMessage() {} func (*QuotaFailure) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{2} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{2} } func (m *QuotaFailure) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuotaFailure.Unmarshal(m, b) @@ -194,7 +194,7 @@ func (m *QuotaFailure_Violation) Reset() { *m = QuotaFailure_Violation{} func (m *QuotaFailure_Violation) String() string { return proto.CompactTextString(m) } func (*QuotaFailure_Violation) ProtoMessage() {} func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{2, 0} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{2, 0} } func (m *QuotaFailure_Violation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuotaFailure_Violation.Unmarshal(m, b) @@ -245,7 +245,7 @@ func (m *PreconditionFailure) Reset() { *m = PreconditionFailure{} } func (m *PreconditionFailure) String() string { return proto.CompactTextString(m) } func (*PreconditionFailure) ProtoMessage() {} func (*PreconditionFailure) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{3} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{3} } func (m *PreconditionFailure) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PreconditionFailure.Unmarshal(m, b) @@ -296,7 +296,7 @@ func (m *PreconditionFailure_Violation) Reset() { *m = PreconditionFailu func (m *PreconditionFailure_Violation) String() string { return proto.CompactTextString(m) } func (*PreconditionFailure_Violation) ProtoMessage() {} func (*PreconditionFailure_Violation) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{3, 0} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{3, 0} } func (m *PreconditionFailure_Violation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PreconditionFailure_Violation.Unmarshal(m, b) @@ -351,7 +351,7 @@ func (m *BadRequest) Reset() { *m = BadRequest{} } func (m *BadRequest) String() string { return proto.CompactTextString(m) } func (*BadRequest) ProtoMessage() {} func (*BadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{4} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{4} } func (m *BadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BadRequest.Unmarshal(m, b) @@ -395,7 +395,7 @@ func (m *BadRequest_FieldViolation) Reset() { *m = BadRequest_FieldViola func (m *BadRequest_FieldViolation) String() string { return proto.CompactTextString(m) } func (*BadRequest_FieldViolation) ProtoMessage() {} func (*BadRequest_FieldViolation) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{4, 0} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{4, 0} } func (m *BadRequest_FieldViolation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BadRequest_FieldViolation.Unmarshal(m, b) @@ -447,7 +447,7 @@ func (m *RequestInfo) Reset() { *m = RequestInfo{} } func (m *RequestInfo) String() string { return proto.CompactTextString(m) } func (*RequestInfo) ProtoMessage() {} func (*RequestInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{5} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{5} } func (m *RequestInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RequestInfo.Unmarshal(m, b) @@ -508,7 +508,7 @@ func (m *ResourceInfo) Reset() { *m = ResourceInfo{} } func (m *ResourceInfo) String() string { return proto.CompactTextString(m) } func (*ResourceInfo) ProtoMessage() {} func (*ResourceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{6} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{6} } func (m *ResourceInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResourceInfo.Unmarshal(m, b) @@ -573,7 +573,7 @@ func (m *Help) Reset() { *m = Help{} } func (m *Help) String() string { return proto.CompactTextString(m) } func (*Help) ProtoMessage() {} func (*Help) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{7} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{7} } func (m *Help) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Help.Unmarshal(m, b) @@ -615,7 +615,7 @@ func (m *Help_Link) Reset() { *m = Help_Link{} } func (m *Help_Link) String() string { return proto.CompactTextString(m) } func (*Help_Link) ProtoMessage() {} func (*Help_Link) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{7, 0} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{7, 0} } func (m *Help_Link) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Help_Link.Unmarshal(m, b) @@ -667,7 +667,7 @@ func (m *LocalizedMessage) Reset() { *m = LocalizedMessage{} } func (m *LocalizedMessage) String() string { return proto.CompactTextString(m) } func (*LocalizedMessage) ProtoMessage() {} func (*LocalizedMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_error_details_4199ce9006de828a, []int{8} + return fileDescriptor_error_details_816025d2d1ab7c4c, []int{8} } func (m *LocalizedMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LocalizedMessage.Unmarshal(m, b) @@ -718,10 +718,10 @@ func init() { } func init() { - proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor_error_details_4199ce9006de828a) + proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor_error_details_816025d2d1ab7c4c) } -var fileDescriptor_error_details_4199ce9006de828a = []byte{ +var fileDescriptor_error_details_816025d2d1ab7c4c = []byte{ // 595 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, 0x14, 0x95, 0x9b, 0xb4, 0x9f, 0x7c, 0x93, 0xaf, 0x14, 0xf3, 0xa3, 0x10, 0x09, 0x14, 0x8c, 0x90, diff --git a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go b/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go index 3b07a25b7..7bfe37a3d 100644 --- a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go @@ -90,7 +90,7 @@ func (m *Status) Reset() { *m = Status{} } func (m *Status) String() string { return proto.CompactTextString(m) } func (*Status) ProtoMessage() {} func (*Status) Descriptor() ([]byte, []int) { - return fileDescriptor_status_c656c685916bdf47, []int{0} + return fileDescriptor_status_c6e4de62dcdf2edf, []int{0} } func (m *Status) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Status.Unmarshal(m, b) @@ -135,9 +135,9 @@ func init() { proto.RegisterType((*Status)(nil), "google.rpc.Status") } -func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor_status_c656c685916bdf47) } +func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor_status_c6e4de62dcdf2edf) } -var fileDescriptor_status_c656c685916bdf47 = []byte{ +var fileDescriptor_status_c6e4de62dcdf2edf = []byte{ // 209 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28, diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/admin/database/v1/spanner_database_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/admin/database/v1/spanner_database_admin.pb.go index f381072fc..e92eedcf5 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/admin/database/v1/spanner_database_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/admin/database/v1/spanner_database_admin.pb.go @@ -56,7 +56,7 @@ func (x Database_State) String() string { return proto.EnumName(Database_State_name, int32(x)) } func (Database_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{0, 0} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{0, 0} } // A Cloud Spanner database. @@ -78,7 +78,7 @@ func (m *Database) Reset() { *m = Database{} } func (m *Database) String() string { return proto.CompactTextString(m) } func (*Database) ProtoMessage() {} func (*Database) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{0} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{0} } func (m *Database) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Database.Unmarshal(m, b) @@ -133,7 +133,7 @@ func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} } func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) } func (*ListDatabasesRequest) ProtoMessage() {} func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{1} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{1} } func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b) @@ -191,7 +191,7 @@ func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} } func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) } func (*ListDatabasesResponse) ProtoMessage() {} func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{2} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{2} } func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b) @@ -250,7 +250,7 @@ func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} } func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseRequest) ProtoMessage() {} func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{3} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{3} } func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b) @@ -305,7 +305,7 @@ func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseMetadata) ProtoMessage() {} func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{4} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{4} } func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b) @@ -346,7 +346,7 @@ func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} } func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*GetDatabaseRequest) ProtoMessage() {} func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{5} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{5} } func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b) @@ -423,7 +423,7 @@ func (m *UpdateDatabaseDdlRequest) Reset() { *m = UpdateDatabaseDdlReque func (m *UpdateDatabaseDdlRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDatabaseDdlRequest) ProtoMessage() {} func (*UpdateDatabaseDdlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{6} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{6} } func (m *UpdateDatabaseDdlRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDatabaseDdlRequest.Unmarshal(m, b) @@ -485,7 +485,7 @@ func (m *UpdateDatabaseDdlMetadata) Reset() { *m = UpdateDatabaseDdlMeta func (m *UpdateDatabaseDdlMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateDatabaseDdlMetadata) ProtoMessage() {} func (*UpdateDatabaseDdlMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{7} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{7} } func (m *UpdateDatabaseDdlMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDatabaseDdlMetadata.Unmarshal(m, b) @@ -539,7 +539,7 @@ func (m *DropDatabaseRequest) Reset() { *m = DropDatabaseRequest{} } func (m *DropDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*DropDatabaseRequest) ProtoMessage() {} func (*DropDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{8} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{8} } func (m *DropDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DropDatabaseRequest.Unmarshal(m, b) @@ -579,7 +579,7 @@ func (m *GetDatabaseDdlRequest) Reset() { *m = GetDatabaseDdlRequest{} } func (m *GetDatabaseDdlRequest) String() string { return proto.CompactTextString(m) } func (*GetDatabaseDdlRequest) ProtoMessage() {} func (*GetDatabaseDdlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{9} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{9} } func (m *GetDatabaseDdlRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatabaseDdlRequest.Unmarshal(m, b) @@ -620,7 +620,7 @@ func (m *GetDatabaseDdlResponse) Reset() { *m = GetDatabaseDdlResponse{} func (m *GetDatabaseDdlResponse) String() string { return proto.CompactTextString(m) } func (*GetDatabaseDdlResponse) ProtoMessage() {} func (*GetDatabaseDdlResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_database_admin_02dee0ac7a4fa885, []int{10} + return fileDescriptor_spanner_database_admin_db75fb46f8a72a5d, []int{10} } func (m *GetDatabaseDdlResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatabaseDdlResponse.Unmarshal(m, b) @@ -1073,10 +1073,10 @@ var _DatabaseAdmin_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/spanner/admin/database/v1/spanner_database_admin.proto", fileDescriptor_spanner_database_admin_02dee0ac7a4fa885) + proto.RegisterFile("google/spanner/admin/database/v1/spanner_database_admin.proto", fileDescriptor_spanner_database_admin_db75fb46f8a72a5d) } -var fileDescriptor_spanner_database_admin_02dee0ac7a4fa885 = []byte{ +var fileDescriptor_spanner_database_admin_db75fb46f8a72a5d = []byte{ // 1033 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xc7, 0x19, 0xa7, 0xa9, 0x92, 0x17, 0x27, 0x75, 0x06, 0x1c, 0xb9, 0x5b, 0x5a, 0xcc, 0x82, diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/admin/instance/v1/spanner_instance_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/admin/instance/v1/spanner_instance_admin.pb.go index 56dfcb240..ae3cbfaa3 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/admin/instance/v1/spanner_instance_admin.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/admin/instance/v1/spanner_instance_admin.pb.go @@ -59,7 +59,7 @@ func (x Instance_State) String() string { return proto.EnumName(Instance_State_name, int32(x)) } func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{1, 0} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{1, 0} } // A possible configuration for a Cloud Spanner instance. Configurations @@ -80,7 +80,7 @@ func (m *InstanceConfig) Reset() { *m = InstanceConfig{} } func (m *InstanceConfig) String() string { return proto.CompactTextString(m) } func (*InstanceConfig) ProtoMessage() {} func (*InstanceConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{0} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{0} } func (m *InstanceConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InstanceConfig.Unmarshal(m, b) @@ -172,7 +172,7 @@ func (m *Instance) Reset() { *m = Instance{} } func (m *Instance) String() string { return proto.CompactTextString(m) } func (*Instance) ProtoMessage() {} func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{1} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{1} } func (m *Instance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Instance.Unmarshal(m, b) @@ -256,7 +256,7 @@ func (m *ListInstanceConfigsRequest) Reset() { *m = ListInstanceConfigsR func (m *ListInstanceConfigsRequest) String() string { return proto.CompactTextString(m) } func (*ListInstanceConfigsRequest) ProtoMessage() {} func (*ListInstanceConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{2} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{2} } func (m *ListInstanceConfigsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstanceConfigsRequest.Unmarshal(m, b) @@ -314,7 +314,7 @@ func (m *ListInstanceConfigsResponse) Reset() { *m = ListInstanceConfigs func (m *ListInstanceConfigsResponse) String() string { return proto.CompactTextString(m) } func (*ListInstanceConfigsResponse) ProtoMessage() {} func (*ListInstanceConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{3} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{3} } func (m *ListInstanceConfigsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstanceConfigsResponse.Unmarshal(m, b) @@ -363,7 +363,7 @@ func (m *GetInstanceConfigRequest) Reset() { *m = GetInstanceConfigReque func (m *GetInstanceConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceConfigRequest) ProtoMessage() {} func (*GetInstanceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{4} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{4} } func (m *GetInstanceConfigRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceConfigRequest.Unmarshal(m, b) @@ -404,7 +404,7 @@ func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceRequest) ProtoMessage() {} func (*GetInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{5} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{5} } func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) @@ -452,7 +452,7 @@ func (m *CreateInstanceRequest) Reset() { *m = CreateInstanceRequest{} } func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*CreateInstanceRequest) ProtoMessage() {} func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{6} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{6} } func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b) @@ -534,7 +534,7 @@ func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } func (*ListInstancesRequest) ProtoMessage() {} func (*ListInstancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{7} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{7} } func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) @@ -599,7 +599,7 @@ func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } func (*ListInstancesResponse) ProtoMessage() {} func (*ListInstancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{8} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{8} } func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) @@ -652,7 +652,7 @@ func (m *UpdateInstanceRequest) Reset() { *m = UpdateInstanceRequest{} } func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceRequest) ProtoMessage() {} func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{9} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{9} } func (m *UpdateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceRequest.Unmarshal(m, b) @@ -700,7 +700,7 @@ func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteInstanceRequest) ProtoMessage() {} func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{10} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{10} } func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) @@ -751,7 +751,7 @@ func (m *CreateInstanceMetadata) Reset() { *m = CreateInstanceMetadata{} func (m *CreateInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*CreateInstanceMetadata) ProtoMessage() {} func (*CreateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{11} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{11} } func (m *CreateInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceMetadata.Unmarshal(m, b) @@ -822,7 +822,7 @@ func (m *UpdateInstanceMetadata) Reset() { *m = UpdateInstanceMetadata{} func (m *UpdateInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceMetadata) ProtoMessage() {} func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_instance_admin_5b5a46734047df3a, []int{12} + return fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5, []int{12} } func (m *UpdateInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceMetadata.Unmarshal(m, b) @@ -1468,10 +1468,10 @@ var _InstanceAdmin_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/spanner/admin/instance/v1/spanner_instance_admin.proto", fileDescriptor_spanner_instance_admin_5b5a46734047df3a) + proto.RegisterFile("google/spanner/admin/instance/v1/spanner_instance_admin.proto", fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5) } -var fileDescriptor_spanner_instance_admin_5b5a46734047df3a = []byte{ +var fileDescriptor_spanner_instance_admin_f41fd7f1c9ba0ed5 = []byte{ // 1210 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x57, 0x4f, 0x6f, 0x1b, 0x45, 0x14, 0x67, 0x92, 0x3a, 0x8d, 0x9f, 0xd3, 0x34, 0x1d, 0x9a, 0xca, 0xb8, 0x94, 0xa6, 0x5b, 0x54, diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/keys.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/keys.pb.go index c93e58987..cb0e5dc49 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/keys.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/keys.pb.go @@ -129,7 +129,7 @@ func (m *KeyRange) Reset() { *m = KeyRange{} } func (m *KeyRange) String() string { return proto.CompactTextString(m) } func (*KeyRange) ProtoMessage() {} func (*KeyRange) Descriptor() ([]byte, []int) { - return fileDescriptor_keys_663ac4cd84aabc34, []int{0} + return fileDescriptor_keys_7ddb6edaafe45a51, []int{0} } func (m *KeyRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KeyRange.Unmarshal(m, b) @@ -152,27 +152,18 @@ var xxx_messageInfo_KeyRange proto.InternalMessageInfo type isKeyRange_StartKeyType interface { isKeyRange_StartKeyType() } -type isKeyRange_EndKeyType interface { - isKeyRange_EndKeyType() -} type KeyRange_StartClosed struct { StartClosed *_struct.ListValue `protobuf:"bytes,1,opt,name=start_closed,json=startClosed,proto3,oneof"` } + type KeyRange_StartOpen struct { StartOpen *_struct.ListValue `protobuf:"bytes,2,opt,name=start_open,json=startOpen,proto3,oneof"` } -type KeyRange_EndClosed struct { - EndClosed *_struct.ListValue `protobuf:"bytes,3,opt,name=end_closed,json=endClosed,proto3,oneof"` -} -type KeyRange_EndOpen struct { - EndOpen *_struct.ListValue `protobuf:"bytes,4,opt,name=end_open,json=endOpen,proto3,oneof"` -} func (*KeyRange_StartClosed) isKeyRange_StartKeyType() {} -func (*KeyRange_StartOpen) isKeyRange_StartKeyType() {} -func (*KeyRange_EndClosed) isKeyRange_EndKeyType() {} -func (*KeyRange_EndOpen) isKeyRange_EndKeyType() {} + +func (*KeyRange_StartOpen) isKeyRange_StartKeyType() {} func (m *KeyRange) GetStartKeyType() isKeyRange_StartKeyType { if m != nil { @@ -180,12 +171,6 @@ func (m *KeyRange) GetStartKeyType() isKeyRange_StartKeyType { } return nil } -func (m *KeyRange) GetEndKeyType() isKeyRange_EndKeyType { - if m != nil { - return m.EndKeyType - } - return nil -} func (m *KeyRange) GetStartClosed() *_struct.ListValue { if x, ok := m.GetStartKeyType().(*KeyRange_StartClosed); ok { @@ -201,6 +186,29 @@ func (m *KeyRange) GetStartOpen() *_struct.ListValue { return nil } +type isKeyRange_EndKeyType interface { + isKeyRange_EndKeyType() +} + +type KeyRange_EndClosed struct { + EndClosed *_struct.ListValue `protobuf:"bytes,3,opt,name=end_closed,json=endClosed,proto3,oneof"` +} + +type KeyRange_EndOpen struct { + EndOpen *_struct.ListValue `protobuf:"bytes,4,opt,name=end_open,json=endOpen,proto3,oneof"` +} + +func (*KeyRange_EndClosed) isKeyRange_EndKeyType() {} + +func (*KeyRange_EndOpen) isKeyRange_EndKeyType() {} + +func (m *KeyRange) GetEndKeyType() isKeyRange_EndKeyType { + if m != nil { + return m.EndKeyType + } + return nil +} + func (m *KeyRange) GetEndClosed() *_struct.ListValue { if x, ok := m.GetEndKeyType().(*KeyRange_EndClosed); ok { return x.EndClosed @@ -368,7 +376,7 @@ func (m *KeySet) Reset() { *m = KeySet{} } func (m *KeySet) String() string { return proto.CompactTextString(m) } func (*KeySet) ProtoMessage() {} func (*KeySet) Descriptor() ([]byte, []int) { - return fileDescriptor_keys_663ac4cd84aabc34, []int{1} + return fileDescriptor_keys_7ddb6edaafe45a51, []int{1} } func (m *KeySet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KeySet.Unmarshal(m, b) @@ -414,9 +422,9 @@ func init() { proto.RegisterType((*KeySet)(nil), "google.spanner.v1.KeySet") } -func init() { proto.RegisterFile("google/spanner/v1/keys.proto", fileDescriptor_keys_663ac4cd84aabc34) } +func init() { proto.RegisterFile("google/spanner/v1/keys.proto", fileDescriptor_keys_7ddb6edaafe45a51) } -var fileDescriptor_keys_663ac4cd84aabc34 = []byte{ +var fileDescriptor_keys_7ddb6edaafe45a51 = []byte{ // 371 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6b, 0xea, 0x30, 0x1c, 0xc7, 0x5f, 0xab, 0xf8, 0x34, 0x8a, 0xf8, 0x0a, 0x8f, 0x57, 0x7c, 0x3b, 0x88, 0xa7, 0x9d, diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go index e6564cf5d..497cf8de7 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go @@ -42,7 +42,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_mutation_fd5c830afe968207, []int{0} + return fileDescriptor_mutation_5be28dee7fa669f8, []int{0} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation.Unmarshal(m, b) @@ -69,24 +69,32 @@ type isMutation_Operation interface { type Mutation_Insert struct { Insert *Mutation_Write `protobuf:"bytes,1,opt,name=insert,proto3,oneof"` } + type Mutation_Update struct { Update *Mutation_Write `protobuf:"bytes,2,opt,name=update,proto3,oneof"` } + type Mutation_InsertOrUpdate struct { InsertOrUpdate *Mutation_Write `protobuf:"bytes,3,opt,name=insert_or_update,json=insertOrUpdate,proto3,oneof"` } + type Mutation_Replace struct { Replace *Mutation_Write `protobuf:"bytes,4,opt,name=replace,proto3,oneof"` } + type Mutation_Delete_ struct { Delete *Mutation_Delete `protobuf:"bytes,5,opt,name=delete,proto3,oneof"` } -func (*Mutation_Insert) isMutation_Operation() {} -func (*Mutation_Update) isMutation_Operation() {} +func (*Mutation_Insert) isMutation_Operation() {} + +func (*Mutation_Update) isMutation_Operation() {} + func (*Mutation_InsertOrUpdate) isMutation_Operation() {} -func (*Mutation_Replace) isMutation_Operation() {} -func (*Mutation_Delete_) isMutation_Operation() {} + +func (*Mutation_Replace) isMutation_Operation() {} + +func (*Mutation_Delete_) isMutation_Operation() {} func (m *Mutation) GetOperation() isMutation_Operation { if m != nil { @@ -290,7 +298,7 @@ func (m *Mutation_Write) Reset() { *m = Mutation_Write{} } func (m *Mutation_Write) String() string { return proto.CompactTextString(m) } func (*Mutation_Write) ProtoMessage() {} func (*Mutation_Write) Descriptor() ([]byte, []int) { - return fileDescriptor_mutation_fd5c830afe968207, []int{0, 0} + return fileDescriptor_mutation_5be28dee7fa669f8, []int{0, 0} } func (m *Mutation_Write) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_Write.Unmarshal(m, b) @@ -348,7 +356,7 @@ func (m *Mutation_Delete) Reset() { *m = Mutation_Delete{} } func (m *Mutation_Delete) String() string { return proto.CompactTextString(m) } func (*Mutation_Delete) ProtoMessage() {} func (*Mutation_Delete) Descriptor() ([]byte, []int) { - return fileDescriptor_mutation_fd5c830afe968207, []int{0, 1} + return fileDescriptor_mutation_5be28dee7fa669f8, []int{0, 1} } func (m *Mutation_Delete) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mutation_Delete.Unmarshal(m, b) @@ -389,10 +397,10 @@ func init() { } func init() { - proto.RegisterFile("google/spanner/v1/mutation.proto", fileDescriptor_mutation_fd5c830afe968207) + proto.RegisterFile("google/spanner/v1/mutation.proto", fileDescriptor_mutation_5be28dee7fa669f8) } -var fileDescriptor_mutation_fd5c830afe968207 = []byte{ +var fileDescriptor_mutation_5be28dee7fa669f8 = []byte{ // 413 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xd1, 0xea, 0xd3, 0x30, 0x14, 0xc6, 0xed, 0xba, 0x75, 0x2e, 0x43, 0xd1, 0xa2, 0x58, 0x8b, 0x17, 0x75, 0x57, 0xbb, 0x4a, diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/query_plan.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/query_plan.pb.go index cc528a7d6..5da8fa9a5 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/query_plan.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/query_plan.pb.go @@ -53,7 +53,7 @@ func (x PlanNode_Kind) String() string { return proto.EnumName(PlanNode_Kind_name, int32(x)) } func (PlanNode_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_query_plan_e7b865c0e2b6e862, []int{0, 0} + return fileDescriptor_query_plan_4358903c1626addf, []int{0, 0} } // Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes]. @@ -95,7 +95,7 @@ func (m *PlanNode) Reset() { *m = PlanNode{} } func (m *PlanNode) String() string { return proto.CompactTextString(m) } func (*PlanNode) ProtoMessage() {} func (*PlanNode) Descriptor() ([]byte, []int) { - return fileDescriptor_query_plan_e7b865c0e2b6e862, []int{0} + return fileDescriptor_query_plan_4358903c1626addf, []int{0} } func (m *PlanNode) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PlanNode.Unmarshal(m, b) @@ -192,7 +192,7 @@ func (m *PlanNode_ChildLink) Reset() { *m = PlanNode_ChildLink{} } func (m *PlanNode_ChildLink) String() string { return proto.CompactTextString(m) } func (*PlanNode_ChildLink) ProtoMessage() {} func (*PlanNode_ChildLink) Descriptor() ([]byte, []int) { - return fileDescriptor_query_plan_e7b865c0e2b6e862, []int{0, 0} + return fileDescriptor_query_plan_4358903c1626addf, []int{0, 0} } func (m *PlanNode_ChildLink) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PlanNode_ChildLink.Unmarshal(m, b) @@ -253,7 +253,7 @@ func (m *PlanNode_ShortRepresentation) Reset() { *m = PlanNode_ShortRepr func (m *PlanNode_ShortRepresentation) String() string { return proto.CompactTextString(m) } func (*PlanNode_ShortRepresentation) ProtoMessage() {} func (*PlanNode_ShortRepresentation) Descriptor() ([]byte, []int) { - return fileDescriptor_query_plan_e7b865c0e2b6e862, []int{0, 1} + return fileDescriptor_query_plan_4358903c1626addf, []int{0, 1} } func (m *PlanNode_ShortRepresentation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PlanNode_ShortRepresentation.Unmarshal(m, b) @@ -302,7 +302,7 @@ func (m *QueryPlan) Reset() { *m = QueryPlan{} } func (m *QueryPlan) String() string { return proto.CompactTextString(m) } func (*QueryPlan) ProtoMessage() {} func (*QueryPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_query_plan_e7b865c0e2b6e862, []int{1} + return fileDescriptor_query_plan_4358903c1626addf, []int{1} } func (m *QueryPlan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryPlan.Unmarshal(m, b) @@ -339,10 +339,10 @@ func init() { } func init() { - proto.RegisterFile("google/spanner/v1/query_plan.proto", fileDescriptor_query_plan_e7b865c0e2b6e862) + proto.RegisterFile("google/spanner/v1/query_plan.proto", fileDescriptor_query_plan_4358903c1626addf) } -var fileDescriptor_query_plan_e7b865c0e2b6e862 = []byte{ +var fileDescriptor_query_plan_4358903c1626addf = []byte{ // 604 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xd3, 0x4c, 0x10, 0xfd, 0x9c, 0x26, 0xf9, 0x9a, 0x09, 0x4a, 0xc3, 0xb6, 0xa8, 0x56, 0x40, 0xc2, 0x44, 0x42, diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/result_set.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/result_set.pb.go index 50f498fff..784b9a29f 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/result_set.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/result_set.pb.go @@ -32,8 +32,13 @@ type ResultSet struct { // encoded based on type as described // [here][google.spanner.v1.TypeCode]. Rows []*_struct.ListValue `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` - // Query plan and execution statistics for the query that produced this - // result set. These can be requested by setting + // Query plan and execution statistics for the SQL statement that + // produced this result set. These can be requested by setting + // [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. + // DML statements always produce stats containing the number of rows + // modified, unless executed using the + // [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. + // Other fields may or may not be populated, based on the // [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Stats *ResultSetStats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -45,7 +50,7 @@ func (m *ResultSet) Reset() { *m = ResultSet{} } func (m *ResultSet) String() string { return proto.CompactTextString(m) } func (*ResultSet) ProtoMessage() {} func (*ResultSet) Descriptor() ([]byte, []int) { - return fileDescriptor_result_set_77baee03a3bdbfba, []int{0} + return fileDescriptor_result_set_3e9de0c6b2df2a7c, []int{0} } func (m *ResultSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResultSet.Unmarshal(m, b) @@ -177,10 +182,12 @@ type PartialResultSet struct { // `resume_token`. Note that executing any other transaction in the // same session invalidates the token. ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` - // Query plan and execution statistics for the query that produced this + // Query plan and execution statistics for the statement that produced this // streaming result set. These can be requested by setting // [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] and are sent // only once with the last response in the stream. + // This field will also be present in the last response for DML + // statements. Stats *ResultSetStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -191,7 +198,7 @@ func (m *PartialResultSet) Reset() { *m = PartialResultSet{} } func (m *PartialResultSet) String() string { return proto.CompactTextString(m) } func (*PartialResultSet) ProtoMessage() {} func (*PartialResultSet) Descriptor() ([]byte, []int) { - return fileDescriptor_result_set_77baee03a3bdbfba, []int{1} + return fileDescriptor_result_set_3e9de0c6b2df2a7c, []int{1} } func (m *PartialResultSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartialResultSet.Unmarshal(m, b) @@ -269,7 +276,7 @@ func (m *ResultSetMetadata) Reset() { *m = ResultSetMetadata{} } func (m *ResultSetMetadata) String() string { return proto.CompactTextString(m) } func (*ResultSetMetadata) ProtoMessage() {} func (*ResultSetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_result_set_77baee03a3bdbfba, []int{2} + return fileDescriptor_result_set_3e9de0c6b2df2a7c, []int{2} } func (m *ResultSetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResultSetMetadata.Unmarshal(m, b) @@ -316,17 +323,23 @@ type ResultSetStats struct { // "elapsed_time": "1.22 secs", // "cpu_time": "1.19 secs" // } - QueryStats *_struct.Struct `protobuf:"bytes,2,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryStats *_struct.Struct `protobuf:"bytes,2,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"` + // The number of rows modified by the DML statement. + // + // Types that are valid to be assigned to RowCount: + // *ResultSetStats_RowCountExact + // *ResultSetStats_RowCountLowerBound + RowCount isResultSetStats_RowCount `protobuf_oneof:"row_count"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ResultSetStats) Reset() { *m = ResultSetStats{} } func (m *ResultSetStats) String() string { return proto.CompactTextString(m) } func (*ResultSetStats) ProtoMessage() {} func (*ResultSetStats) Descriptor() ([]byte, []int) { - return fileDescriptor_result_set_77baee03a3bdbfba, []int{3} + return fileDescriptor_result_set_3e9de0c6b2df2a7c, []int{3} } func (m *ResultSetStats) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResultSetStats.Unmarshal(m, b) @@ -360,6 +373,107 @@ func (m *ResultSetStats) GetQueryStats() *_struct.Struct { return nil } +type isResultSetStats_RowCount interface { + isResultSetStats_RowCount() +} + +type ResultSetStats_RowCountExact struct { + RowCountExact int64 `protobuf:"varint,3,opt,name=row_count_exact,json=rowCountExact,proto3,oneof"` +} + +type ResultSetStats_RowCountLowerBound struct { + RowCountLowerBound int64 `protobuf:"varint,4,opt,name=row_count_lower_bound,json=rowCountLowerBound,proto3,oneof"` +} + +func (*ResultSetStats_RowCountExact) isResultSetStats_RowCount() {} + +func (*ResultSetStats_RowCountLowerBound) isResultSetStats_RowCount() {} + +func (m *ResultSetStats) GetRowCount() isResultSetStats_RowCount { + if m != nil { + return m.RowCount + } + return nil +} + +func (m *ResultSetStats) GetRowCountExact() int64 { + if x, ok := m.GetRowCount().(*ResultSetStats_RowCountExact); ok { + return x.RowCountExact + } + return 0 +} + +func (m *ResultSetStats) GetRowCountLowerBound() int64 { + if x, ok := m.GetRowCount().(*ResultSetStats_RowCountLowerBound); ok { + return x.RowCountLowerBound + } + return 0 +} + +// XXX_OneofFuncs is for the internal use of the proto package. +func (*ResultSetStats) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { + return _ResultSetStats_OneofMarshaler, _ResultSetStats_OneofUnmarshaler, _ResultSetStats_OneofSizer, []interface{}{ + (*ResultSetStats_RowCountExact)(nil), + (*ResultSetStats_RowCountLowerBound)(nil), + } +} + +func _ResultSetStats_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { + m := msg.(*ResultSetStats) + // row_count + switch x := m.RowCount.(type) { + case *ResultSetStats_RowCountExact: + b.EncodeVarint(3<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RowCountExact)) + case *ResultSetStats_RowCountLowerBound: + b.EncodeVarint(4<<3 | proto.WireVarint) + b.EncodeVarint(uint64(x.RowCountLowerBound)) + case nil: + default: + return fmt.Errorf("ResultSetStats.RowCount has unexpected type %T", x) + } + return nil +} + +func _ResultSetStats_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { + m := msg.(*ResultSetStats) + switch tag { + case 3: // row_count.row_count_exact + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.RowCount = &ResultSetStats_RowCountExact{int64(x)} + return true, err + case 4: // row_count.row_count_lower_bound + if wire != proto.WireVarint { + return true, proto.ErrInternalBadWireType + } + x, err := b.DecodeVarint() + m.RowCount = &ResultSetStats_RowCountLowerBound{int64(x)} + return true, err + default: + return false, nil + } +} + +func _ResultSetStats_OneofSizer(msg proto.Message) (n int) { + m := msg.(*ResultSetStats) + // row_count + switch x := m.RowCount.(type) { + case *ResultSetStats_RowCountExact: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.RowCountExact)) + case *ResultSetStats_RowCountLowerBound: + n += 1 // tag and wire + n += proto.SizeVarint(uint64(x.RowCountLowerBound)) + case nil: + default: + panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) + } + return n +} + func init() { proto.RegisterType((*ResultSet)(nil), "google.spanner.v1.ResultSet") proto.RegisterType((*PartialResultSet)(nil), "google.spanner.v1.PartialResultSet") @@ -368,41 +482,44 @@ func init() { } func init() { - proto.RegisterFile("google/spanner/v1/result_set.proto", fileDescriptor_result_set_77baee03a3bdbfba) -} - -var fileDescriptor_result_set_77baee03a3bdbfba = []byte{ - // 501 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcd, 0x6e, 0x13, 0x31, - 0x14, 0x85, 0xe5, 0xf4, 0x87, 0xd4, 0x13, 0x10, 0xb5, 0x04, 0x1d, 0x45, 0x05, 0xa5, 0x29, 0x8b, - 0xac, 0x3c, 0x4a, 0x59, 0x10, 0xa9, 0x9b, 0xaa, 0x2c, 0xd8, 0x80, 0x14, 0x9c, 0x28, 0x0b, 0x14, - 0x69, 0xe4, 0x26, 0x66, 0x18, 0x75, 0x62, 0x4f, 0x6d, 0x4f, 0xa2, 0x3c, 0x00, 0x62, 0xc9, 0x9e, - 0x47, 0xe0, 0x01, 0x78, 0x08, 0x9e, 0x88, 0x25, 0xf2, 0xcf, 0x24, 0x81, 0x19, 0x21, 0x21, 0x75, - 0xe7, 0xf8, 0x7e, 0xe7, 0x9e, 0x7b, 0x3c, 0x37, 0xb0, 0x9b, 0x08, 0x91, 0x64, 0x2c, 0x52, 0x39, - 0xe5, 0x9c, 0xc9, 0x68, 0xd9, 0x8f, 0x24, 0x53, 0x45, 0xa6, 0x63, 0xc5, 0x34, 0xce, 0xa5, 0xd0, - 0x02, 0x1d, 0x3b, 0x06, 0x7b, 0x06, 0x2f, 0xfb, 0xed, 0x53, 0x2f, 0xa3, 0x79, 0x1a, 0x51, 0xce, - 0x85, 0xa6, 0x3a, 0x15, 0x5c, 0x39, 0xc1, 0xa6, 0x6a, 0x7f, 0xdd, 0x14, 0x1f, 0x23, 0xa5, 0x65, - 0x31, 0xf3, 0xed, 0xda, 0x35, 0x96, 0x77, 0x05, 0x93, 0xeb, 0x38, 0xcf, 0x28, 0xf7, 0xcc, 0x79, - 0x95, 0xd1, 0x92, 0x72, 0x45, 0x67, 0xc6, 0xe7, 0x2f, 0x9b, 0x5d, 0x68, 0x9d, 0x33, 0x57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, 0xd8, 0xd9, 0xa1, 0xb0, 0x61, 0xc5, 0xcf, 0x6b, 0xc4, 0xe3, 0x2d, 0x45, - 0x76, 0x25, 0xdd, 0x2f, 0x00, 0x3e, 0xfa, 0x73, 0x56, 0x74, 0x09, 0xe1, 0x76, 0x79, 0xfd, 0x40, - 0xa7, 0x35, 0x3d, 0xdf, 0x1b, 0x68, 0x98, 0x51, 0x4e, 0x8e, 0xee, 0xca, 0x23, 0x1a, 0xc0, 0xc0, - 0x89, 0xdd, 0x03, 0xb9, 0x89, 0x4e, 0x2a, 0xdf, 0xc5, 0x85, 0x21, 0xce, 0xc8, 0xda, 0x5e, 0x7f, - 0x03, 0xf0, 0xc9, 0x4c, 0x2c, 0xaa, 0x46, 0xd7, 0xdb, 0x01, 0x87, 0x46, 0x3f, 0x04, 0x1f, 0x06, - 0x1e, 0x4a, 0x44, 0x46, 0x79, 0x82, 0x85, 0x4c, 0xa2, 0x84, 0x71, 0xdb, 0x3d, 0x72, 0x25, 0x9a, - 0xa7, 0x6a, 0xe7, 0x5f, 0x74, 0xe9, 0x8f, 0xbf, 0x00, 0xf8, 0xde, 0x38, 0x79, 0xe3, 0xd4, 0xaf, - 0x33, 0x51, 0xcc, 0xf1, 0xc8, 0x1b, 0x4d, 0xfa, 0x3f, 0xcb, 0xca, 0xd4, 0x56, 0xa6, 0xbe, 0x32, - 0x9d, 0xf4, 0x6f, 0x0e, 0x6d, 0xef, 0x97, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x06, 0x67, 0x6c, - 0xee, 0x5c, 0x04, 0x00, 0x00, + proto.RegisterFile("google/spanner/v1/result_set.proto", fileDescriptor_result_set_3e9de0c6b2df2a7c) +} + +var fileDescriptor_result_set_3e9de0c6b2df2a7c = []byte{ + // 560 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcf, 0x6e, 0x13, 0x3f, + 0x10, 0xc7, 0x7f, 0x4e, 0xda, 0xfe, 0x12, 0x6f, 0x0a, 0xd4, 0x52, 0x69, 0x14, 0x15, 0x94, 0xa6, + 0x1c, 0x72, 0xda, 0x55, 0xda, 0x03, 0x91, 0x7a, 0xa9, 0x52, 0x21, 0x38, 0x14, 0x29, 0x38, 0x51, + 0x0e, 0x28, 0xd2, 0xca, 0xd9, 0x98, 0x25, 0xea, 0xc6, 0xde, 0xda, 0xde, 0x84, 0x3c, 0x00, 0x67, + 0xee, 0x3c, 0x02, 0x0f, 0xc0, 0x43, 0xf0, 0x3a, 0x5c, 0x38, 0x22, 0xff, 0xd9, 0x24, 0xb0, 0x11, + 0x12, 0x12, 0x37, 0xef, 0xcc, 0xe7, 0xeb, 0x99, 0xef, 0x78, 0x16, 0xb6, 0x62, 0xce, 0xe3, 0x84, + 0x06, 0x32, 0x25, 0x8c, 0x51, 0x11, 0x2c, 0x3a, 0x81, 0xa0, 0x32, 0x4b, 0x54, 0x28, 0xa9, 0xf2, + 0x53, 0xc1, 0x15, 0x47, 0x47, 0x96, 0xf1, 0x1d, 0xe3, 0x2f, 0x3a, 0x8d, 0x53, 0x27, 0x23, 0xe9, + 0x2c, 0x20, 0x8c, 0x71, 0x45, 0xd4, 0x8c, 0x33, 0x69, 0x05, 0xeb, 0xac, 0xf9, 0x9a, 0x64, 0xef, + 0x02, 0xa9, 0x44, 0x16, 0xb9, 0xeb, 0x1a, 0x3b, 0x4a, 0xde, 0x67, 0x54, 0xac, 0xc2, 0x34, 0x21, + 0xcc, 0x31, 0xe7, 0x45, 0x46, 0x09, 0xc2, 0x24, 0x89, 0x74, 0x9d, 0xdf, 0xca, 0x6c, 0x43, 0xab, + 0x94, 0xda, 0x6c, 0xeb, 0x2b, 0x80, 0x55, 0x6c, 0xac, 0x0c, 0xa8, 0x42, 0xd7, 0xb0, 0x32, 0xa7, + 0x8a, 0x4c, 0x89, 0x22, 0x75, 0xd0, 0x04, 0x6d, 0xef, 0xe2, 0x99, 0x5f, 0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bc, 0xae, 0xa1, 0xd3, 0x1d, 0x77, 0xbe, 0xd1, 0x50, 0x3f, 0x21, 0x0c, 0x57, 0xef, 0xf3, + 0x23, 0xea, 0x42, 0xcf, 0x8a, 0xed, 0x80, 0x6c, 0x47, 0x27, 0x85, 0x77, 0xb1, 0x66, 0xb0, 0x2d, + 0x64, 0xcb, 0xb6, 0xe1, 0x43, 0x3d, 0x85, 0x88, 0x67, 0x4c, 0x85, 0xf4, 0x03, 0x89, 0x94, 0x79, + 0x9e, 0xf2, 0xab, 0xff, 0xf0, 0xa1, 0xe0, 0xcb, 0x1b, 0x1d, 0x7f, 0xa1, 0xc3, 0xe8, 0x12, 0x1e, + 0x6f, 0xc8, 0x84, 0x2f, 0xa9, 0x08, 0x27, 0x3c, 0x63, 0x53, 0xf3, 0x54, 0x9a, 0x47, 0x39, 0x7f, + 0xab, 0x93, 0x3d, 0x9d, 0xeb, 0x79, 0xb0, 0xba, 0x16, 0xf5, 0x3e, 0x03, 0x78, 0x1c, 0xf1, 0x79, + 0xd1, 0x54, 0x6f, 0x33, 0x8c, 0xbe, 0xee, 0xb5, 0x0f, 0xde, 0x76, 0x1d, 0x14, 0xf3, 0x84, 0xb0, + 0xd8, 0xe7, 0x22, 0x0e, 0x62, 0xca, 0x8c, 0x93, 0xc0, 0xa6, 0x48, 0x3a, 0x93, 0x5b, 0x7f, 0xec, + 0x95, 0x3b, 0xfe, 0x00, 0xe0, 0x4b, 0xe9, 0xe4, 0xa5, 0x55, 0xdf, 0x24, 0x3c, 0x9b, 0xfa, 0x03, + 0x57, 0x68, 0xd4, 0xf9, 0x96, 0x67, 0xc6, 0x26, 0x33, 0x76, 0x99, 0xf1, 0xa8, 0x33, 0x39, 0x30, + 0x77, 0x5f, 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x73, 0xdc, 0x50, 0xf9, 0xc8, 0x04, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/spanner.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/spanner.pb.go index 59adfb7b4..1791f28d2 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/spanner.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/spanner.pb.go @@ -27,18 +27,17 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -// Mode in which the query must be processed. +// Mode in which the statement must be processed. type ExecuteSqlRequest_QueryMode int32 const ( - // The default mode where only the query result, without any information - // about the query plan is returned. + // The default mode. Only the statement results are returned. ExecuteSqlRequest_NORMAL ExecuteSqlRequest_QueryMode = 0 - // This mode returns only the query plan, without any result rows or + // This mode returns only the query plan, without any results or // execution statistics information. ExecuteSqlRequest_PLAN ExecuteSqlRequest_QueryMode = 1 // This mode returns both the query plan and the execution statistics along - // with the result rows. + // with the results. ExecuteSqlRequest_PROFILE ExecuteSqlRequest_QueryMode = 2 ) @@ -57,7 +56,7 @@ func (x ExecuteSqlRequest_QueryMode) String() string { return proto.EnumName(ExecuteSqlRequest_QueryMode_name, int32(x)) } func (ExecuteSqlRequest_QueryMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{6, 0} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{6, 0} } // The request for [CreateSession][google.spanner.v1.Spanner.CreateSession]. @@ -75,7 +74,7 @@ func (m *CreateSessionRequest) Reset() { *m = CreateSessionRequest{} } func (m *CreateSessionRequest) String() string { return proto.CompactTextString(m) } func (*CreateSessionRequest) ProtoMessage() {} func (*CreateSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{0} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{0} } func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSessionRequest.Unmarshal(m, b) @@ -138,7 +137,7 @@ func (m *Session) Reset() { *m = Session{} } func (m *Session) String() string { return proto.CompactTextString(m) } func (*Session) ProtoMessage() {} func (*Session) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{1} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{1} } func (m *Session) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Session.Unmarshal(m, b) @@ -199,7 +198,7 @@ func (m *GetSessionRequest) Reset() { *m = GetSessionRequest{} } func (m *GetSessionRequest) String() string { return proto.CompactTextString(m) } func (*GetSessionRequest) ProtoMessage() {} func (*GetSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{2} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{2} } func (m *GetSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSessionRequest.Unmarshal(m, b) @@ -257,7 +256,7 @@ func (m *ListSessionsRequest) Reset() { *m = ListSessionsRequest{} } func (m *ListSessionsRequest) String() string { return proto.CompactTextString(m) } func (*ListSessionsRequest) ProtoMessage() {} func (*ListSessionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{3} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{3} } func (m *ListSessionsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSessionsRequest.Unmarshal(m, b) @@ -322,7 +321,7 @@ func (m *ListSessionsResponse) Reset() { *m = ListSessionsResponse{} } func (m *ListSessionsResponse) String() string { return proto.CompactTextString(m) } func (*ListSessionsResponse) ProtoMessage() {} func (*ListSessionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{4} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{4} } func (m *ListSessionsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSessionsResponse.Unmarshal(m, b) @@ -369,7 +368,7 @@ func (m *DeleteSessionRequest) Reset() { *m = DeleteSessionRequest{} } func (m *DeleteSessionRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSessionRequest) ProtoMessage() {} func (*DeleteSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{5} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{5} } func (m *DeleteSessionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSessionRequest.Unmarshal(m, b) @@ -403,10 +402,21 @@ type ExecuteSqlRequest struct { Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // The transaction to use. If none is provided, the default is a // temporary read-only transaction with strong concurrency. + // + // The transaction to use. + // + // For queries, if none is provided, the default is a temporary read-only + // transaction with strong concurrency. + // + // Standard DML statements require a ReadWrite transaction. Single-use + // transactions are not supported (to avoid replay). The caller must + // either supply an existing transaction ID or begin a new transaction. + // + // Partitioned DML requires an existing PartitionedDml transaction ID. Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // Required. The SQL query string. + // Required. The SQL string. Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` - // The SQL query string can contain parameter placeholders. A parameter + // The SQL string can contain parameter placeholders. A parameter // placeholder consists of `'@'` followed by the parameter // name. Parameter names consist of any combination of letters, // numbers, and underscores. @@ -415,7 +425,7 @@ type ExecuteSqlRequest struct { // parameter name can be used more than once, for example: // `"WHERE id > @msg_id AND id < @msg_id + 100"` // - // It is an error to execute an SQL query with unbound parameters. + // It is an error to execute an SQL statement with unbound parameters. // // Parameter values are specified using `params`, which is a JSON // object whose keys are parameter names, and whose values are the @@ -426,14 +436,14 @@ type ExecuteSqlRequest struct { // of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings. // // In these cases, `param_types` can be used to specify the exact - // SQL type for some or all of the SQL query parameters. See the + // SQL type for some or all of the SQL statement parameters. See the // definition of [Type][google.spanner.v1.Type] for more information // about SQL types. ParamTypes map[string]*Type `protobuf:"bytes,5,rep,name=param_types,json=paramTypes,proto3" json:"param_types,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // If this request is resuming a previously interrupted SQL query + // If this request is resuming a previously interrupted SQL statement // execution, `resume_token` should be copied from the last // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this - // enables the new SQL query execution to resume where the last one left + // enables the new SQL statement execution to resume where the last one left // off. The rest of the request parameters must exactly match the // request that yielded this token. ResumeToken []byte `protobuf:"bytes,6,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` @@ -445,7 +455,18 @@ type ExecuteSqlRequest struct { // previously created using PartitionQuery(). There must be an exact // match for the values of fields common to this message and the // PartitionQueryRequest message used to create this partition_token. - PartitionToken []byte `protobuf:"bytes,8,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"` + PartitionToken []byte `protobuf:"bytes,8,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"` + // A per-transaction sequence number used to identify this request. This + // makes each request idempotent such that if the request is received multiple + // times, at most one will succeed. + // + // The sequence number must be monotonically increasing within the + // transaction. If a request arrives for the first time with an out-of-order + // sequence number, the transaction may be aborted. Replays of previously + // handled requests will yield the same response as the first execution. + // + // Required for DML statements. Ignored for queries. + Seqno int64 `protobuf:"varint,9,opt,name=seqno,proto3" json:"seqno,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -455,7 +476,7 @@ func (m *ExecuteSqlRequest) Reset() { *m = ExecuteSqlRequest{} } func (m *ExecuteSqlRequest) String() string { return proto.CompactTextString(m) } func (*ExecuteSqlRequest) ProtoMessage() {} func (*ExecuteSqlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{6} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{6} } func (m *ExecuteSqlRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecuteSqlRequest.Unmarshal(m, b) @@ -531,6 +552,13 @@ func (m *ExecuteSqlRequest) GetPartitionToken() []byte { return nil } +func (m *ExecuteSqlRequest) GetSeqno() int64 { + if m != nil { + return m.Seqno + } + return 0 +} + // Options for a PartitionQueryRequest and // PartitionReadRequest. type PartitionOptions struct { @@ -559,7 +587,7 @@ func (m *PartitionOptions) Reset() { *m = PartitionOptions{} } func (m *PartitionOptions) String() string { return proto.CompactTextString(m) } func (*PartitionOptions) ProtoMessage() {} func (*PartitionOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{7} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{7} } func (m *PartitionOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionOptions.Unmarshal(m, b) @@ -606,6 +634,10 @@ type PartitionQueryRequest struct { // union operator conceptually divides one or more tables into multiple // splits, remotely evaluates a subquery independently on each split, and // then unions all results. + // + // This must not contain DML commands, such as INSERT, UPDATE, or + // DELETE. Use [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] with a + // PartitionedDml transaction for large, partition-friendly DML operations. Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` // The SQL query string can contain parameter placeholders. A parameter // placeholder consists of `'@'` followed by the parameter @@ -642,7 +674,7 @@ func (m *PartitionQueryRequest) Reset() { *m = PartitionQueryRequest{} } func (m *PartitionQueryRequest) String() string { return proto.CompactTextString(m) } func (*PartitionQueryRequest) ProtoMessage() {} func (*PartitionQueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{8} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{8} } func (m *PartitionQueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionQueryRequest.Unmarshal(m, b) @@ -739,7 +771,7 @@ func (m *PartitionReadRequest) Reset() { *m = PartitionReadRequest{} } func (m *PartitionReadRequest) String() string { return proto.CompactTextString(m) } func (*PartitionReadRequest) ProtoMessage() {} func (*PartitionReadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{9} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{9} } func (m *PartitionReadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionReadRequest.Unmarshal(m, b) @@ -824,7 +856,7 @@ func (m *Partition) Reset() { *m = Partition{} } func (m *Partition) String() string { return proto.CompactTextString(m) } func (*Partition) ProtoMessage() {} func (*Partition) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{10} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{10} } func (m *Partition) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Partition.Unmarshal(m, b) @@ -867,7 +899,7 @@ func (m *PartitionResponse) Reset() { *m = PartitionResponse{} } func (m *PartitionResponse) String() string { return proto.CompactTextString(m) } func (*PartitionResponse) ProtoMessage() {} func (*PartitionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{11} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{11} } func (m *PartitionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionResponse.Unmarshal(m, b) @@ -956,7 +988,7 @@ func (m *ReadRequest) Reset() { *m = ReadRequest{} } func (m *ReadRequest) String() string { return proto.CompactTextString(m) } func (*ReadRequest) ProtoMessage() {} func (*ReadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{12} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{12} } func (m *ReadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRequest.Unmarshal(m, b) @@ -1054,7 +1086,7 @@ func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) } func (*BeginTransactionRequest) ProtoMessage() {} func (*BeginTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{13} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{13} } func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) @@ -1111,7 +1143,7 @@ func (m *CommitRequest) Reset() { *m = CommitRequest{} } func (m *CommitRequest) String() string { return proto.CompactTextString(m) } func (*CommitRequest) ProtoMessage() {} func (*CommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{14} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{14} } func (m *CommitRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitRequest.Unmarshal(m, b) @@ -1131,6 +1163,13 @@ func (m *CommitRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CommitRequest proto.InternalMessageInfo +func (m *CommitRequest) GetSession() string { + if m != nil { + return m.Session + } + return "" +} + type isCommitRequest_Transaction interface { isCommitRequest_Transaction() } @@ -1138,11 +1177,13 @@ type isCommitRequest_Transaction interface { type CommitRequest_TransactionId struct { TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3,oneof"` } + type CommitRequest_SingleUseTransaction struct { SingleUseTransaction *TransactionOptions `protobuf:"bytes,3,opt,name=single_use_transaction,json=singleUseTransaction,proto3,oneof"` } -func (*CommitRequest_TransactionId) isCommitRequest_Transaction() {} +func (*CommitRequest_TransactionId) isCommitRequest_Transaction() {} + func (*CommitRequest_SingleUseTransaction) isCommitRequest_Transaction() {} func (m *CommitRequest) GetTransaction() isCommitRequest_Transaction { @@ -1152,13 +1193,6 @@ func (m *CommitRequest) GetTransaction() isCommitRequest_Transaction { return nil } -func (m *CommitRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - func (m *CommitRequest) GetTransactionId() []byte { if x, ok := m.GetTransaction().(*CommitRequest_TransactionId); ok { return x.TransactionId @@ -1263,7 +1297,7 @@ func (m *CommitResponse) Reset() { *m = CommitResponse{} } func (m *CommitResponse) String() string { return proto.CompactTextString(m) } func (*CommitResponse) ProtoMessage() {} func (*CommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{15} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{15} } func (m *CommitResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitResponse.Unmarshal(m, b) @@ -1305,7 +1339,7 @@ func (m *RollbackRequest) Reset() { *m = RollbackRequest{} } func (m *RollbackRequest) String() string { return proto.CompactTextString(m) } func (*RollbackRequest) ProtoMessage() {} func (*RollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_spanner_2868e2a3b5f0aa05, []int{16} + return fileDescriptor_spanner_3c084839ce4aa03b, []int{16} } func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) @@ -1403,12 +1437,12 @@ type SpannerClient interface { ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) // Ends a session, releasing server resources associated with it. DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Executes an SQL query, returning all rows in a single reply. This + // Executes an SQL statement, returning all results in a single reply. This // method cannot be used to return a result set larger than 10 MiB; // if the query yields more data than that, the query fails with // a `FAILED_PRECONDITION` error. // - // Queries inside read-write transactions might return `ABORTED`. If + // Operations inside read-write transactions might return `ABORTED`. If // this occurs, the application should restart the transaction from // the beginning. See [Transaction][google.spanner.v1.Transaction] for more details. // @@ -1470,17 +1504,25 @@ type SpannerClient interface { // of the query result to read. The same session and read-only transaction // must be used by the PartitionQueryRequest used to create the // partition tokens and the ExecuteSqlRequests that use the partition tokens. + // // Partition tokens become invalid when the session used to create them - // is deleted or begins a new transaction. + // is deleted, is idle for too long, begins a new transaction, or becomes too + // old. When any of these happen, it is not possible to resume the query, and + // the whole operation must be restarted from the beginning. PartitionQuery(ctx context.Context, in *PartitionQueryRequest, opts ...grpc.CallOption) (*PartitionResponse, error) // Creates a set of partition tokens that can be used to execute a read // operation in parallel. Each of the returned partition tokens can be used // by [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a subset of the read // result to read. The same session and read-only transaction must be used by // the PartitionReadRequest used to create the partition tokens and the - // ReadRequests that use the partition tokens. + // ReadRequests that use the partition tokens. There are no ordering + // guarantees on rows returned among the returned partition tokens, or even + // within each individual StreamingRead call issued with a partition_token. + // // Partition tokens become invalid when the session used to create them - // is deleted or begins a new transaction. + // is deleted, is idle for too long, begins a new transaction, or becomes too + // old. When any of these happen, it is not possible to resume the read, and + // the whole operation must be restarted from the beginning. PartitionRead(ctx context.Context, in *PartitionReadRequest, opts ...grpc.CallOption) (*PartitionResponse, error) } @@ -1685,12 +1727,12 @@ type SpannerServer interface { ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) // Ends a session, releasing server resources associated with it. DeleteSession(context.Context, *DeleteSessionRequest) (*empty.Empty, error) - // Executes an SQL query, returning all rows in a single reply. This + // Executes an SQL statement, returning all results in a single reply. This // method cannot be used to return a result set larger than 10 MiB; // if the query yields more data than that, the query fails with // a `FAILED_PRECONDITION` error. // - // Queries inside read-write transactions might return `ABORTED`. If + // Operations inside read-write transactions might return `ABORTED`. If // this occurs, the application should restart the transaction from // the beginning. See [Transaction][google.spanner.v1.Transaction] for more details. // @@ -1752,17 +1794,25 @@ type SpannerServer interface { // of the query result to read. The same session and read-only transaction // must be used by the PartitionQueryRequest used to create the // partition tokens and the ExecuteSqlRequests that use the partition tokens. + // // Partition tokens become invalid when the session used to create them - // is deleted or begins a new transaction. + // is deleted, is idle for too long, begins a new transaction, or becomes too + // old. When any of these happen, it is not possible to resume the query, and + // the whole operation must be restarted from the beginning. PartitionQuery(context.Context, *PartitionQueryRequest) (*PartitionResponse, error) // Creates a set of partition tokens that can be used to execute a read // operation in parallel. Each of the returned partition tokens can be used // by [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a subset of the read // result to read. The same session and read-only transaction must be used by // the PartitionReadRequest used to create the partition tokens and the - // ReadRequests that use the partition tokens. + // ReadRequests that use the partition tokens. There are no ordering + // guarantees on rows returned among the returned partition tokens, or even + // within each individual StreamingRead call issued with a partition_token. + // // Partition tokens become invalid when the session used to create them - // is deleted or begins a new transaction. + // is deleted, is idle for too long, begins a new transaction, or becomes too + // old. When any of these happen, it is not possible to resume the read, and + // the whole operation must be restarted from the beginning. PartitionRead(context.Context, *PartitionReadRequest) (*PartitionResponse, error) } @@ -2075,113 +2125,114 @@ var _Spanner_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/spanner/v1/spanner.proto", fileDescriptor_spanner_2868e2a3b5f0aa05) -} - -var fileDescriptor_spanner_2868e2a3b5f0aa05 = []byte{ - // 1657 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xdd, 0x6f, 0x53, 0xc9, - 0x15, 0xe7, 0xda, 0x89, 0x13, 0x1f, 0xc7, 0x89, 0x33, 0x98, 0x60, 0x0c, 0x85, 0x70, 0xf9, 0x48, - 0x64, 0xa9, 0x36, 0x49, 0x51, 0x15, 0x02, 0x2d, 0x10, 0x08, 0x90, 0x92, 0x10, 0x73, 0x9d, 0x80, - 0x8a, 0xa8, 0xac, 0xb1, 0x3d, 0xb8, 0xb7, 0xb9, 0x5f, 0xb9, 0x33, 0x8e, 0x62, 0x2a, 0x5e, 0x5a, - 0xf5, 0xbd, 0x2d, 0xaa, 0xfa, 0xd0, 0xbe, 0xed, 0xdb, 0x8a, 0x47, 0x24, 0xde, 0xf6, 0x65, 0xa5, - 0x7d, 0x58, 0x69, 0x9f, 0xf6, 0x5f, 0xd8, 0xff, 0x62, 0x5f, 0x56, 0x33, 0xf7, 0xc3, 0xd7, 0xf6, - 0xc4, 0x31, 0x32, 0xbb, 0xd2, 0x6a, 0x9f, 0x3c, 0x33, 0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0x4d, 0xa8, 0xef, 0xf0, 0x05, 0x34, 0x07, 0x89, 0x57, 0xba, - 0xc1, 0x88, 0x2b, 0x78, 0x49, 0x6a, 0xfe, 0x4c, 0x3d, 0x80, 0x6c, 0x37, 0x0c, 0xea, 0xd8, 0x16, - 0x25, 0xe8, 0xb7, 0x30, 0xe9, 0x87, 0x00, 0xcd, 0x29, 0xc2, 0xb3, 0x83, 0xc2, 0x25, 0xd4, 0x45, - 0x57, 0x61, 0xc6, 0x22, 0x87, 0xac, 0x1a, 0xc1, 0xe2, 0x91, 0x94, 0xe6, 0xcb, 0xe5, 0x00, 0x8f, - 0x5a, 0x80, 0xec, 0x7d, 0x62, 0x90, 0xbe, 0x08, 0x96, 0x71, 0xf5, 0x7e, 0x0c, 0x66, 0xd7, 0x0f, - 0x49, 0xbd, 0xc5, 0x48, 0x65, 0xdf, 0x08, 0x34, 0x73, 0x9d, 0x78, 0xf6, 0x94, 0x83, 0x29, 0x7a, - 0x04, 0xa9, 0xc8, 0x85, 0xf2, 0xa3, 0x5d, 0x16, 0x98, 0x3b, 0x1d, 0xad, 0x0a, 0x31, 0x48, 0x9d, - 0xd9, 0xae, 0x16, 0xdd, 0xca, 0x5d, 0x4f, 0xf7, 0x0d, 0x9f, 0x4d, 0x3e, 0x44, 0x25, 0x48, 0x38, - 0xd8, 0xc5, 0x26, 0xf5, 0xe3, 0xeb, 0x74, 0x5f, 0x7c, 0x55, 0xc4, 0x83, 0xa3, 0xf9, 0x6a, 0x68, - 0x17, 0x52, 0x62, 0x54, 0xe5, 0xd7, 0x97, 0xe6, 0xc6, 0x05, 0x97, 0xd7, 0x25, 0x60, 0xfa, 0xbe, - 0xb0, 0x58, 0xe6, 0xfb, 0x76, 0xf8, 0x36, 0xef, 0xce, 0x80, 0x13, 0x2e, 0xa0, 0x8b, 0x30, 0xc5, - 0x1f, 0x16, 0x33, 0x20, 0x39, 0x31, 0xaf, 0x2c, 0x4e, 0x69, 0x29, 0x6f, 0xcd, 0x73, 0xf9, 0x16, - 0xc0, 0x7e, 0x8b, 0xb8, 0xed, 0xaa, 0x69, 0x37, 0x48, 0x6e, 0x62, 0x5e, 0x59, 0x9c, 0x5e, 0x2e, - 0x0e, 0x65, 0xf8, 0x29, 0xdf, 0xb6, 0x65, 0x37, 0x88, 0x96, 0xdc, 0x0f, 0x86, 0x68, 0x01, 0x66, - 0x1c, 0xec, 0x32, 0x9d, 0x13, 0xe3, 0x1b, 0x9d, 0x14, 0x46, 0xa7, 0xc3, 0x65, 0x61, 0x37, 0xff, - 0x0c, 0x66, 0x7a, 0x90, 0x4b, 0xae, 0xd0, 0xaf, 0xa3, 0x57, 0x28, 0x42, 0x63, 0xd4, 0x3b, 0x6d, - 0x87, 0x44, 0xef, 0x56, 0x11, 0x92, 0x21, 0x30, 0x04, 0x90, 0x78, 0xb2, 0xad, 0x6d, 0xdd, 0xdd, - 0xcc, 0x9c, 0x40, 0x93, 0x30, 0x56, 0xde, 0xbc, 0xfb, 0x24, 0xa3, 0xa0, 0x14, 0x4c, 0x94, 0xb5, - 0xed, 0x07, 0x1b, 0x9b, 0xeb, 0x99, 0x98, 0xba, 0x07, 0x99, 0x72, 0x80, 0x6c, 0xdb, 0x11, 0x19, - 0x04, 0x5d, 0x83, 0x6c, 0xe7, 0x23, 0xf8, 0x3d, 0xaa, 0xd6, 0xda, 0x8c, 0x50, 0x81, 0x2c, 0xae, - 0xa1, 0x50, 0xc6, 0xaf, 0xd4, 0x1a, 0x97, 0xa0, 0x2b, 0x30, 0x6d, 0xe2, 0xc3, 0x6a, 0x28, 0xa1, - 0x02, 0x71, 0x5c, 0x4b, 0x9b, 0xf8, 0x30, 0x3c, 0x9e, 0xaa, 0x5f, 0xc6, 0xe1, 0x54, 0x38, 0x15, - 0x30, 0x7f, 0x66, 0x71, 0xfa, 0x47, 0x59, 0x9c, 0xae, 0x48, 0xc0, 0x48, 0xbf, 0x72, 0x60, 0xac, - 0x96, 0x61, 0xb6, 0x43, 0xba, 0xed, 0x79, 0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x43, 0xed, 0x63, 0x01, 0x72, 0x5d, 0xbd, - 0x33, 0x0a, 0x48, 0x97, 0xe0, 0x06, 0x27, 0xf5, 0x9d, 0x02, 0xe9, 0x10, 0xe9, 0x50, 0xe0, 0x86, - 0x22, 0x72, 0x47, 0x60, 0x7c, 0xa2, 0x6e, 0x8c, 0x82, 0x91, 0x46, 0x71, 0x79, 0x14, 0x7e, 0x50, - 0x20, 0xd3, 0x9b, 0x43, 0x51, 0x41, 0x82, 0xe8, 0x88, 0x44, 0x9b, 0x3f, 0xa6, 0x00, 0x52, 0x9f, - 0x0b, 0xe0, 0x4f, 0xd5, 0xcd, 0x51, 0x80, 0xd7, 0x7a, 0x8c, 0x73, 0xa2, 0xff, 0xaf, 0x40, 0xc2, - 0xcb, 0x44, 0x68, 0x5e, 0xf6, 0x90, 0x47, 0x33, 0x74, 0xfe, 0xe2, 0x00, 0x0d, 0xff, 0x31, 0xda, - 0x12, 0x40, 0x1f, 0xaa, 0x6b, 0xa3, 0x00, 0xf5, 0x92, 0x1a, 0x87, 0xf7, 0x5f, 0x05, 0x26, 0x83, - 0x7c, 0x86, 0x54, 0x59, 0x08, 0x74, 0x27, 0xbb, 0x23, 0x5f, 0xa3, 0x6d, 0x81, 0x6b, 0x43, 0xbd, - 0x3f, 0x52, 0x74, 0xfa, 0xc6, 0x38, 0xb2, 0x0f, 0x0a, 0x4c, 0x77, 0xb7, 0x5e, 0x68, 0x71, 0xd8, - 0xee, 0x2c, 0x7f, 0x79, 0x60, 0xb9, 0x1c, 0x70, 0xb9, 0x2b, 0x30, 0x6f, 0xab, 0x7f, 0x18, 0x05, - 0xb3, 0xd3, 0x05, 0x80, 0x23, 0x7f, 0xaf, 0x40, 0xba, 0xab, 0xa9, 0x92, 0xbe, 0xf5, 0xb2, 0xb6, - 0x6b, 0x48, 0xdc, 0x9f, 0xe4, 0x96, 0x39, 0x51, 0xfb, 0xab, 0x4a, 0x61, 0xed, 0x3f, 0x0a, 0x9c, - 0xaa, 0xdb, 0x66, 0x3f, 0x82, 0xb5, 0x29, 0xbf, 0x38, 0x29, 0x73, 0x97, 0x97, 0x95, 0x17, 0x2b, - 0xbe, 0x4a, 0xd3, 0x36, 0xb0, 0xd5, 0x2c, 0xda, 0x6e, 0xb3, 0xd4, 0x24, 0x96, 0x08, 0x88, 0x92, - 0x27, 0xc2, 0x8e, 0x4e, 0x23, 0x7f, 0xe5, 0xde, 0xf4, 0x87, 0x9f, 0xc7, 0x4e, 0x3f, 0xf4, 0xb6, - 0xde, 0x33, 0xec, 0x56, 0xa3, 0xe8, 0x9f, 0x5b, 0x7c, 0xb6, 0xf4, 0x75, 0x20, 0x79, 0x29, 0x24, - 0x2f, 0x7d, 0xc9, 0xcb, 0x67, 0x4b, 0xb5, 0x84, 0x38, 0xf8, 0x37, 0x3f, 0x04, 0x00, 0x00, 0xff, - 0xff, 0x92, 0x18, 0x4b, 0x1c, 0x59, 0x17, 0x00, 0x00, + proto.RegisterFile("google/spanner/v1/spanner.proto", fileDescriptor_spanner_3c084839ce4aa03b) +} + +var fileDescriptor_spanner_3c084839ce4aa03b = []byte{ + // 1673 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x4f, 0x6f, 0x1b, 0xb9, + 0x15, 0xcf, 0x48, 0xb6, 0x6c, 0x3d, 0x59, 0xb6, 0xcc, 0xd5, 0x3a, 0x5a, 0x25, 0xdd, 0xd5, 0xce, + 0x6e, 0xd6, 0x86, 0x80, 0x4a, 0x6b, 0x37, 0x28, 0xbc, 0xde, 0x6d, 0x93, 0x38, 0x71, 0x12, 0x37, + 0x76, 0xac, 0x8c, 0xec, 0x04, 0x0d, 0x52, 0x08, 0x94, 0xc4, 0xa8, 0x53, 0xcf, 0x3f, 0x0f, 0x29, + 0xc3, 0x4a, 0x91, 0x4b, 0x8b, 0xde, 0xdb, 0x06, 0x45, 0x0f, 0xed, 0xad, 0xb7, 0x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c3, 0x4d, 0x4c, 0x49, 0x41, 0x2b, 0x69, 0x6b, 0x69, 0x23, 0x1a, 0xa3, + 0xeb, 0x30, 0x47, 0xa5, 0x76, 0x21, 0x51, 0xd2, 0xd6, 0x32, 0x1b, 0xc5, 0xca, 0x08, 0xf3, 0x95, + 0x70, 0xbf, 0x50, 0x55, 0x7f, 0x9d, 0x80, 0xb9, 0x60, 0x12, 0x21, 0x98, 0x71, 0xb0, 0x1d, 0xee, + 0x2c, 0xbe, 0xd1, 0x0f, 0x21, 0x65, 0xe1, 0x26, 0xb1, 0x68, 0x21, 0x51, 0x4a, 0xae, 0x65, 0x36, + 0xbe, 0x38, 0x7f, 0xd3, 0xca, 0x9e, 0x50, 0xdc, 0x71, 0x98, 0xdf, 0x33, 0x82, 0x55, 0xe8, 0x6b, + 0xc8, 0xb4, 0xc4, 0x49, 0x1a, 0xdc, 0x15, 0x85, 0xe4, 0x20, 0xb2, 0xd0, 0x4f, 0x95, 0xc3, 0xd0, + 0x4f, 0x06, 0x48, 0x75, 0x3e, 0x81, 0x8e, 0xe0, 0x23, 0xec, 0x79, 0xbe, 0x7b, 0x66, 0xda, 0x7c, + 0x07, 0x0b, 0x53, 0xd6, 0xe8, 0xd2, 0x60, 0xab, 0x99, 0x0b, 0xb7, 0x5a, 0x89, 0x2d, 0xde, 0xc3, + 0x94, 0x1d, 0x51, 0xb1, 0x6d, 0xf1, 0x2b, 0xc8, 0xc4, 0xa0, 0xa2, 0x1c, 0x24, 0x8f, 0x49, 0x2f, + 0x38, 0x35, 0xff, 0x44, 0x79, 0x98, 0x3d, 0xc5, 0x56, 0x97, 0x08, 0x22, 0xd3, 0x86, 0x1c, 0x6c, + 0x25, 0x36, 0x35, 0x7d, 0x15, 0x96, 0xef, 0x11, 0x36, 0xe4, 0x15, 0x05, 0x6f, 0xfa, 0xaf, 0x34, + 0xf8, 0x60, 0xcf, 0xa4, 0xa1, 0x2a, 0x9d, 0xc4, 0x83, 0x57, 0x20, 0xed, 0xe1, 0x0e, 0x69, 0x50, + 0xf3, 0x85, 0x34, 0x3d, 0x6b, 0xcc, 0xf3, 0x89, 0xba, 0xf9, 0x82, 0xa0, 0xef, 0x00, 0x08, 0x21, + 0x73, 0x8f, 0x89, 0x23, 0x78, 0x4c, 0x1b, 0x42, 0xfd, 0x90, 0x4f, 0xa0, 0x15, 0x48, 0x3d, 0x37, + 0x2d, 0x46, 0x7c, 0xc1, 0x4b, 0xda, 0x08, 0x46, 0xfa, 0x29, 0xe4, 0x07, 0x61, 0x50, 0xcf, 0x75, + 0x28, 0x41, 0xdf, 0x87, 0xf9, 0x20, 0x04, 0x68, 0x41, 0x13, 0x9e, 0x1d, 0x17, 0x2e, 0x91, 0x2e, + 0xfa, 0x02, 0x96, 0x1c, 0x72, 0xc6, 0x1a, 0x31, 0x2c, 0x92, 0xa4, 0x2c, 0x9f, 0xae, 0x85, 0x78, + 0xf4, 0x32, 0xe4, 0xef, 0x10, 0x8b, 0x8c, 0x44, 0xb0, 0x8a, 0xab, 0xb7, 0x33, 0xb0, 0xbc, 0x73, + 0x46, 0x5a, 0x5d, 0x46, 0xea, 0x27, 0x56, 0xa8, 0x59, 0xe8, 0xc7, 0xb3, 0x54, 0x0e, 0x87, 0xe8, + 0x3e, 0x64, 0x62, 0x17, 0x2a, 0x88, 0x76, 0x55, 0x60, 0x1e, 0xf6, 0xb5, 0xea, 0xc4, 0x22, 0x2d, + 0xe6, 0xfa, 0x46, 0x7c, 0x29, 0x77, 0x3d, 0x3d, 0xb1, 0x02, 0x36, 0xf9, 0x27, 0xaa, 0x42, 0xca, + 0xc3, 0x3e, 0xb6, 0x69, 0x10, 0x5f, 0x97, 0x47, 0xe2, 0xab, 0x2e, 0x1e, 0x1c, 0x23, 0x50, 0x43, + 0x47, 0x90, 0x11, 0x5f, 0x0d, 0x7e, 0x7d, 0x69, 0x61, 0x56, 0x70, 0x79, 0x5d, 0x01, 0x66, 0xe4, + 0x84, 0x95, 0x1a, 0x5f, 0x77, 0xc8, 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 0x9d, 0xce, 0xe4, 0x70, 0xcf, 0xcd, 0xe7, 0xd8, 0xea, 0xa3, 0x7e, 0x2a, 0x50, 0x1f, + 0xea, 0x07, 0xef, 0x03, 0x75, 0x0c, 0xe3, 0x96, 0x56, 0xfe, 0x52, 0x43, 0xbf, 0xd1, 0x60, 0x86, + 0xe7, 0x53, 0xf4, 0xb1, 0x92, 0xba, 0x28, 0xd1, 0x5e, 0x40, 0xed, 0x03, 0x01, 0x72, 0x47, 0xbf, + 0x39, 0x0d, 0x48, 0x9f, 0xe0, 0x36, 0x27, 0xf5, 0xb5, 0x06, 0xd9, 0x08, 0xe9, 0x44, 0xe0, 0x26, + 0x22, 0xf2, 0x50, 0x60, 0x7c, 0xa8, 0xef, 0x4e, 0x83, 0x91, 0xc6, 0x71, 0x49, 0x0a, 0xdf, 0x68, + 0x90, 0x1b, 0xce, 0xa1, 0xa8, 0xac, 0x40, 0x74, 0x4e, 0xa2, 0x2d, 0x5e, 0x50, 0x00, 0xe9, 0x4f, + 0x04, 0xf0, 0x47, 0xfa, 0xde, 0x34, 0xc0, 0x9b, 0x43, 0xc6, 0x39, 0xd1, 0x7f, 0xd4, 0x20, 0x25, + 0x33, 0x11, 0x2a, 0xa9, 0x1e, 0xf2, 0x78, 0x86, 0x2e, 0x7e, 0x3a, 0x46, 0x23, 0x78, 0x8c, 0xf6, + 0x05, 0xd0, 0x7b, 0xfa, 0xf6, 0x34, 0x40, 0x65, 0x52, 0xe3, 0xf0, 0x7e, 0xaf, 0xc1, 0x7c, 0x98, + 0xcf, 0x90, 0xae, 0x0a, 0x81, 0xc1, 0x64, 0x77, 0xee, 0x6b, 0x74, 0x20, 0x70, 0xed, 0xea, 0x77, + 0xa6, 0x8a, 0xce, 0xc0, 0x18, 0x47, 0xf6, 0x46, 0x83, 0xc5, 0xc1, 0xd6, 0x0b, 0xad, 0x4d, 0xda, + 0x9d, 0x15, 0x3f, 0x1f, 0x5b, 0x2e, 0x87, 0x5c, 0x1e, 0x09, 0xcc, 0x07, 0xfa, 0x8f, 0xa6, 0xc1, + 0xec, 0x0d, 0x00, 0xe0, 0xc8, 0xff, 0xa2, 0x41, 0x76, 0xa0, 0xa9, 0x52, 0xbe, 0xf5, 0xaa, 0xb6, + 0x6b, 0x42, 0xdc, 0xef, 0xe5, 0x96, 0x79, 0x71, 0xfb, 0x5b, 0x5a, 0x79, 0xfb, 0x77, 0x1a, 0x7c, + 0xd8, 0x72, 0xed, 0x51, 0x04, 0xdb, 0x0b, 0x41, 0x71, 0x52, 0xe3, 0x2e, 0xaf, 0x69, 0x4f, 0x37, + 0x03, 0x95, 0x8e, 0x6b, 0x61, 0xa7, 0x53, 0x71, 0xfd, 0x4e, 0xb5, 0x43, 0x1c, 0x11, 0x10, 0x55, + 0x29, 0xc2, 0x9e, 0x49, 0x63, 0x7f, 0xf0, 0x7e, 0x1d, 0x7c, 0xfe, 0x39, 0x71, 0xf9, 0x9e, 0x5c, + 0x7a, 0xdb, 0x72, 0xbb, 0xed, 0x4a, 0xb0, 0x6f, 0xe5, 0xf1, 0xfa, 0xdb, 0x50, 0xf2, 0x4c, 0x48, + 0x9e, 0x05, 0x92, 0x67, 0x8f, 0xd7, 0x9b, 0x29, 0xb1, 0xf1, 0xf7, 0xfe, 0x13, 0x00, 0x00, 0xff, + 0xff, 0x06, 0xd0, 0xcf, 0xc4, 0x6f, 0x17, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/transaction.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/transaction.pb.go index 18e92887c..339ef17a4 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/transaction.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/transaction.pb.go @@ -31,7 +31,7 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // // # Transaction Modes // -// Cloud Spanner supports two transaction modes: +// Cloud Spanner supports three transaction modes: // // 1. Locking read-write. This type of transaction is the only way // to write data into Cloud Spanner. These transactions rely on @@ -45,6 +45,13 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // read at timestamps in the past. Snapshot read-only // transactions do not need to be committed. // +// 3. Partitioned DML. This type of transaction is used to execute +// a single Partitioned DML statement. Partitioned DML partitions +// the key space and runs the DML statement over each partition +// in parallel using separate, internal transactions that commit +// independently. Partitioned DML transactions do not need to be +// committed. +// // For transactions that only read, snapshot read-only transactions // provide simpler semantics and are almost always faster. In // particular, read-only transactions do not take locks, so they do @@ -71,11 +78,8 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // inactivity at the client may cause Cloud Spanner to release a // transaction's locks and abort it. // -// Reads performed within a transaction acquire locks on the data -// being read. Writes can only be done at commit time, after all reads -// have been completed. // Conceptually, a read-write transaction consists of zero or more -// reads or SQL queries followed by +// reads or SQL statements followed by // [Commit][google.spanner.v1.Spanner.Commit]. At any time before // [Commit][google.spanner.v1.Spanner.Commit], the client can send a // [Rollback][google.spanner.v1.Spanner.Rollback] request to abort the @@ -238,11 +242,68 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // restriction also applies to in-progress reads and/or SQL queries whose // timestamp become too old while executing. Reads and SQL queries with // too-old read timestamps fail with the error `FAILED_PRECONDITION`. +// +// ## Partitioned DML Transactions +// +// Partitioned DML transactions are used to execute DML statements with a +// different execution strategy that provides different, and often better, +// scalability properties for large, table-wide operations than DML in a +// ReadWrite transaction. Smaller scoped statements, such as an OLTP workload, +// should prefer using ReadWrite transactions. +// +// Partitioned DML partitions the keyspace and runs the DML statement on each +// partition in separate, internal transactions. These transactions commit +// automatically when complete, and run independently from one another. +// +// To reduce lock contention, this execution strategy only acquires read locks +// on rows that match the WHERE clause of the statement. Additionally, the +// smaller per-partition transactions hold locks for less time. +// +// That said, Partitioned DML is not a drop-in replacement for standard DML used +// in ReadWrite transactions. +// +// - The DML statement must be fully-partitionable. Specifically, the statement +// must be expressible as the union of many statements which each access only +// a single row of the table. +// +// - The statement is not applied atomically to all rows of the table. Rather, +// the statement is applied atomically to partitions of the table, in +// independent transactions. Secondary index rows are updated atomically +// with the base table rows. +// +// - Partitioned DML does not guarantee exactly-once execution semantics +// against a partition. The statement will be applied at least once to each +// partition. It is strongly recommended that the DML statement should be +// idempotent to avoid unexpected results. For instance, it is potentially +// dangerous to run a statement such as +// `UPDATE table SET column = column + 1` as it could be run multiple times +// against some rows. +// +// - The partitions are committed automatically - there is no support for +// Commit or Rollback. If the call returns an error, or if the client issuing +// the ExecuteSql call dies, it is possible that some rows had the statement +// executed on them successfully. It is also possible that statement was +// never executed against other rows. +// +// - Partitioned DML transactions may only contain the execution of a single +// DML statement via ExecuteSql or ExecuteStreamingSql. +// +// - If any error is encountered during the execution of the partitioned DML +// operation (for instance, a UNIQUE INDEX violation, division by zero, or a +// value that cannot be stored due to schema constraints), then the +// operation is stopped at that point and an error is returned. It is +// possible that at this point, some partitions have been committed (or even +// committed multiple times), and other partitions have not been run at all. +// +// Given the above, Partitioned DML is good fit for large, database-wide, +// operations that are idempotent, such as deleting old rows from a very large +// table. type TransactionOptions struct { // Required. The type of transaction. // // Types that are valid to be assigned to Mode: // *TransactionOptions_ReadWrite_ + // *TransactionOptions_PartitionedDml_ // *TransactionOptions_ReadOnly_ Mode isTransactionOptions_Mode `protobuf_oneof:"mode"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -254,7 +315,7 @@ func (m *TransactionOptions) Reset() { *m = TransactionOptions{} } func (m *TransactionOptions) String() string { return proto.CompactTextString(m) } func (*TransactionOptions) ProtoMessage() {} func (*TransactionOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_transaction_ec0699010b3c5244, []int{0} + return fileDescriptor_transaction_4c490d83ade001ee, []int{0} } func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) @@ -281,12 +342,20 @@ type isTransactionOptions_Mode interface { type TransactionOptions_ReadWrite_ struct { ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,1,opt,name=read_write,json=readWrite,proto3,oneof"` } + +type TransactionOptions_PartitionedDml_ struct { + PartitionedDml *TransactionOptions_PartitionedDml `protobuf:"bytes,3,opt,name=partitioned_dml,json=partitionedDml,proto3,oneof"` +} + type TransactionOptions_ReadOnly_ struct { ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"` } func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {} -func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} + +func (*TransactionOptions_PartitionedDml_) isTransactionOptions_Mode() {} + +func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { if m != nil { @@ -302,6 +371,13 @@ func (m *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { return nil } +func (m *TransactionOptions) GetPartitionedDml() *TransactionOptions_PartitionedDml { + if x, ok := m.GetMode().(*TransactionOptions_PartitionedDml_); ok { + return x.PartitionedDml + } + return nil +} + func (m *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { if x, ok := m.GetMode().(*TransactionOptions_ReadOnly_); ok { return x.ReadOnly @@ -313,6 +389,7 @@ func (m *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { func (*TransactionOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _TransactionOptions_OneofMarshaler, _TransactionOptions_OneofUnmarshaler, _TransactionOptions_OneofSizer, []interface{}{ (*TransactionOptions_ReadWrite_)(nil), + (*TransactionOptions_PartitionedDml_)(nil), (*TransactionOptions_ReadOnly_)(nil), } } @@ -326,6 +403,11 @@ func _TransactionOptions_OneofMarshaler(msg proto.Message, b *proto.Buffer) erro if err := b.EncodeMessage(x.ReadWrite); err != nil { return err } + case *TransactionOptions_PartitionedDml_: + b.EncodeVarint(3<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.PartitionedDml); err != nil { + return err + } case *TransactionOptions_ReadOnly_: b.EncodeVarint(2<<3 | proto.WireBytes) if err := b.EncodeMessage(x.ReadOnly); err != nil { @@ -349,6 +431,14 @@ func _TransactionOptions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *p err := b.DecodeMessage(msg) m.Mode = &TransactionOptions_ReadWrite_{msg} return true, err + case 3: // mode.partitioned_dml + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(TransactionOptions_PartitionedDml) + err := b.DecodeMessage(msg) + m.Mode = &TransactionOptions_PartitionedDml_{msg} + return true, err case 2: // mode.read_only if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType @@ -371,6 +461,11 @@ func _TransactionOptions_OneofSizer(msg proto.Message) (n int) { n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *TransactionOptions_PartitionedDml_: + s := proto.Size(x.PartitionedDml) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case *TransactionOptions_ReadOnly_: s := proto.Size(x.ReadOnly) n += 1 // tag and wire @@ -395,7 +490,7 @@ func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadWrite) ProtoMessage() {} func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_transaction_ec0699010b3c5244, []int{0, 0} + return fileDescriptor_transaction_4c490d83ade001ee, []int{0, 0} } func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) @@ -415,6 +510,37 @@ func (m *TransactionOptions_ReadWrite) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionOptions_ReadWrite proto.InternalMessageInfo +// Message type to initiate a Partitioned DML transaction. +type TransactionOptions_PartitionedDml struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TransactionOptions_PartitionedDml) Reset() { *m = TransactionOptions_PartitionedDml{} } +func (m *TransactionOptions_PartitionedDml) String() string { return proto.CompactTextString(m) } +func (*TransactionOptions_PartitionedDml) ProtoMessage() {} +func (*TransactionOptions_PartitionedDml) Descriptor() ([]byte, []int) { + return fileDescriptor_transaction_4c490d83ade001ee, []int{0, 1} +} +func (m *TransactionOptions_PartitionedDml) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TransactionOptions_PartitionedDml.Unmarshal(m, b) +} +func (m *TransactionOptions_PartitionedDml) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TransactionOptions_PartitionedDml.Marshal(b, m, deterministic) +} +func (dst *TransactionOptions_PartitionedDml) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionOptions_PartitionedDml.Merge(dst, src) +} +func (m *TransactionOptions_PartitionedDml) XXX_Size() int { + return xxx_messageInfo_TransactionOptions_PartitionedDml.Size(m) +} +func (m *TransactionOptions_PartitionedDml) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionOptions_PartitionedDml.DiscardUnknown(m) +} + +var xxx_messageInfo_TransactionOptions_PartitionedDml proto.InternalMessageInfo + // Message type to initiate a read-only transaction. type TransactionOptions_ReadOnly struct { // How to choose the timestamp for the read-only transaction. @@ -438,7 +564,7 @@ func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } func (*TransactionOptions_ReadOnly) ProtoMessage() {} func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_transaction_ec0699010b3c5244, []int{0, 1} + return fileDescriptor_transaction_4c490d83ade001ee, []int{0, 2} } func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) @@ -465,24 +591,32 @@ type isTransactionOptions_ReadOnly_TimestampBound interface { type TransactionOptions_ReadOnly_Strong struct { Strong bool `protobuf:"varint,1,opt,name=strong,proto3,oneof"` } + type TransactionOptions_ReadOnly_MinReadTimestamp struct { MinReadTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=min_read_timestamp,json=minReadTimestamp,proto3,oneof"` } + type TransactionOptions_ReadOnly_MaxStaleness struct { MaxStaleness *duration.Duration `protobuf:"bytes,3,opt,name=max_staleness,json=maxStaleness,proto3,oneof"` } + type TransactionOptions_ReadOnly_ReadTimestamp struct { ReadTimestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_timestamp,json=readTimestamp,proto3,oneof"` } + type TransactionOptions_ReadOnly_ExactStaleness struct { ExactStaleness *duration.Duration `protobuf:"bytes,5,opt,name=exact_staleness,json=exactStaleness,proto3,oneof"` } -func (*TransactionOptions_ReadOnly_Strong) isTransactionOptions_ReadOnly_TimestampBound() {} +func (*TransactionOptions_ReadOnly_Strong) isTransactionOptions_ReadOnly_TimestampBound() {} + func (*TransactionOptions_ReadOnly_MinReadTimestamp) isTransactionOptions_ReadOnly_TimestampBound() {} -func (*TransactionOptions_ReadOnly_MaxStaleness) isTransactionOptions_ReadOnly_TimestampBound() {} -func (*TransactionOptions_ReadOnly_ReadTimestamp) isTransactionOptions_ReadOnly_TimestampBound() {} -func (*TransactionOptions_ReadOnly_ExactStaleness) isTransactionOptions_ReadOnly_TimestampBound() {} + +func (*TransactionOptions_ReadOnly_MaxStaleness) isTransactionOptions_ReadOnly_TimestampBound() {} + +func (*TransactionOptions_ReadOnly_ReadTimestamp) isTransactionOptions_ReadOnly_TimestampBound() {} + +func (*TransactionOptions_ReadOnly_ExactStaleness) isTransactionOptions_ReadOnly_TimestampBound() {} func (m *TransactionOptions_ReadOnly) GetTimestampBound() isTransactionOptions_ReadOnly_TimestampBound { if m != nil { @@ -690,7 +824,7 @@ func (m *Transaction) Reset() { *m = Transaction{} } func (m *Transaction) String() string { return proto.CompactTextString(m) } func (*Transaction) ProtoMessage() {} func (*Transaction) Descriptor() ([]byte, []int) { - return fileDescriptor_transaction_ec0699010b3c5244, []int{1} + return fileDescriptor_transaction_4c490d83ade001ee, []int{1} } func (m *Transaction) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Transaction.Unmarshal(m, b) @@ -747,7 +881,7 @@ func (m *TransactionSelector) Reset() { *m = TransactionSelector{} } func (m *TransactionSelector) String() string { return proto.CompactTextString(m) } func (*TransactionSelector) ProtoMessage() {} func (*TransactionSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_transaction_ec0699010b3c5244, []int{2} + return fileDescriptor_transaction_4c490d83ade001ee, []int{2} } func (m *TransactionSelector) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransactionSelector.Unmarshal(m, b) @@ -774,16 +908,20 @@ type isTransactionSelector_Selector interface { type TransactionSelector_SingleUse struct { SingleUse *TransactionOptions `protobuf:"bytes,1,opt,name=single_use,json=singleUse,proto3,oneof"` } + type TransactionSelector_Id struct { Id []byte `protobuf:"bytes,2,opt,name=id,proto3,oneof"` } + type TransactionSelector_Begin struct { Begin *TransactionOptions `protobuf:"bytes,3,opt,name=begin,proto3,oneof"` } func (*TransactionSelector_SingleUse) isTransactionSelector_Selector() {} -func (*TransactionSelector_Id) isTransactionSelector_Selector() {} -func (*TransactionSelector_Begin) isTransactionSelector_Selector() {} + +func (*TransactionSelector_Id) isTransactionSelector_Selector() {} + +func (*TransactionSelector_Begin) isTransactionSelector_Selector() {} func (m *TransactionSelector) GetSelector() isTransactionSelector_Selector { if m != nil { @@ -905,49 +1043,52 @@ func _TransactionSelector_OneofSizer(msg proto.Message) (n int) { func init() { proto.RegisterType((*TransactionOptions)(nil), "google.spanner.v1.TransactionOptions") proto.RegisterType((*TransactionOptions_ReadWrite)(nil), "google.spanner.v1.TransactionOptions.ReadWrite") + proto.RegisterType((*TransactionOptions_PartitionedDml)(nil), "google.spanner.v1.TransactionOptions.PartitionedDml") proto.RegisterType((*TransactionOptions_ReadOnly)(nil), "google.spanner.v1.TransactionOptions.ReadOnly") proto.RegisterType((*Transaction)(nil), "google.spanner.v1.Transaction") proto.RegisterType((*TransactionSelector)(nil), "google.spanner.v1.TransactionSelector") } func init() { - proto.RegisterFile("google/spanner/v1/transaction.proto", fileDescriptor_transaction_ec0699010b3c5244) -} - -var fileDescriptor_transaction_ec0699010b3c5244 = []byte{ - // 537 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xd1, 0x8a, 0xd3, 0x40, - 0x14, 0x86, 0xd3, 0x6e, 0xb7, 0x74, 0x4f, 0xbb, 0xdd, 0xee, 0x2c, 0x8b, 0x35, 0x88, 0x4a, 0x45, - 0xf0, 0x2a, 0xa1, 0xeb, 0x8d, 0x20, 0x82, 0x76, 0x17, 0x0d, 0x82, 0x6c, 0x49, 0xd7, 0x15, 0xa4, - 0x10, 0xa7, 0xcd, 0x18, 0x06, 0x92, 0x99, 0x30, 0x33, 0x59, 0xbb, 0xf7, 0xbe, 0x84, 0xaf, 0xe0, - 0x23, 0xf8, 0x08, 0xde, 0xf9, 0x46, 0x92, 0xc9, 0xa4, 0xcd, 0x36, 0x17, 0xdb, 0xbb, 0x4c, 0xcf, - 0xff, 0xff, 0xe7, 0x9b, 0x73, 0x86, 0xc2, 0xb3, 0x88, 0xf3, 0x28, 0x26, 0xae, 0x4c, 0x31, 0x63, - 0x44, 0xb8, 0x37, 0x63, 0x57, 0x09, 0xcc, 0x24, 0x5e, 0x2a, 0xca, 0x99, 0x93, 0x0a, 0xae, 0x38, - 0x3a, 0x2e, 0x44, 0x8e, 0x11, 0x39, 0x37, 0x63, 0xfb, 0x91, 0xf1, 0xe1, 0x94, 0xba, 0x98, 0x31, - 0xae, 0x70, 0xae, 0x97, 0x85, 0xc1, 0x7e, 0x6c, 0xaa, 0xfa, 0xb4, 0xc8, 0xbe, 0xbb, 0x61, 0x26, - 0xf0, 0x26, 0x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- 0xae, 0xcc, 0x4d, 0x65, 0x7e, 0x3d, 0x5e, 0xb4, 0x75, 0xf0, 0xcb, 0xff, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xa6, 0x28, 0x2f, 0x4a, 0xae, 0x04, 0x00, 0x00, + proto.RegisterFile("google/spanner/v1/transaction.proto", fileDescriptor_transaction_4c490d83ade001ee) +} + +var fileDescriptor_transaction_4c490d83ade001ee = []byte{ + // 573 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6e, 0xd3, 0x3e, + 0x14, 0xc7, 0xd3, 0x6e, 0xab, 0xba, 0xd3, 0xae, 0xed, 0x3c, 0x4d, 0xbf, 0xfe, 0x22, 0x04, 0xa8, + 0x08, 0x89, 0xab, 0x44, 0x1d, 0x5c, 0x20, 0x21, 0x24, 0xe8, 0x2a, 0x88, 0x90, 0xd0, 0xaa, 0x74, + 0x0c, 0x09, 0x55, 0x0a, 0x6e, 0x63, 0x22, 0x4b, 0x89, 0x1d, 0xd9, 0xce, 0xe8, 0xee, 0x79, 0x09, + 0x5e, 0x81, 0x47, 0xe0, 0x9a, 0x2b, 0x9e, 0x0a, 0xc5, 0x71, 0xfa, 0x2f, 0x17, 0xeb, 0x5d, 0xec, + 0x73, 0xbe, 0xdf, 0xf3, 0xf1, 0x39, 0x76, 0xe0, 0x49, 0xc4, 0x79, 0x14, 0x13, 0x57, 0xa6, 0x98, + 0x31, 0x22, 0xdc, 0xdb, 0xa1, 0xab, 0x04, 0x66, 0x12, 0x2f, 0x14, 0xe5, 0xcc, 0x49, 0x05, 0x57, + 0x1c, 0x9d, 0x16, 0x49, 0x8e, 0x49, 0x72, 0x6e, 0x87, 0xf6, 0x03, 0xa3, 0xc3, 0x29, 0x75, 0x31, + 0x63, 0x5c, 0xe1, 0x3c, 0x5f, 0x16, 0x02, 0xfb, 0xa1, 0x89, 0xea, 0xd5, 0x3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, 0x45, 0x3c, 0xc6, 0x2c, 0x72, + 0xb8, 0x88, 0xdc, 0x88, 0x30, 0xdd, 0x22, 0xb7, 0x08, 0xe1, 0x94, 0xca, 0x8d, 0x3f, 0xd9, 0x2b, + 0xf3, 0xf9, 0xab, 0xfe, 0xdf, 0xfb, 0x42, 0x7a, 0x19, 0xf3, 0x2c, 0x74, 0xa6, 0xa6, 0xce, 0xcd, + 0xf0, 0x6f, 0x19, 0x99, 0xe9, 0xc8, 0xcc, 0x44, 0x66, 0x37, 0xc3, 0x79, 0x43, 0x1b, 0x3f, 0xff, + 0x17, 0x00, 0x00, 0xff, 0xff, 0x81, 0xd7, 0x1c, 0x8e, 0x21, 0x05, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/googleapis/spanner/v1/type.pb.go b/vendor/google.golang.org/genproto/googleapis/spanner/v1/type.pb.go index 688c94174..2fa29cbcc 100644 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/type.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/spanner/v1/type.pb.go @@ -91,7 +91,7 @@ func (x TypeCode) String() string { return proto.EnumName(TypeCode_name, int32(x)) } func (TypeCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_type_21d6699da980b19e, []int{0} + return fileDescriptor_type_d133eaa08ead4011, []int{0} } // `Type` indicates the type of a Cloud Spanner value, as might be stored in a @@ -114,7 +114,7 @@ func (m *Type) Reset() { *m = Type{} } func (m *Type) String() string { return proto.CompactTextString(m) } func (*Type) ProtoMessage() {} func (*Type) Descriptor() ([]byte, []int) { - return fileDescriptor_type_21d6699da980b19e, []int{0} + return fileDescriptor_type_d133eaa08ead4011, []int{0} } func (m *Type) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Type.Unmarshal(m, b) @@ -173,7 +173,7 @@ func (m *StructType) Reset() { *m = StructType{} } func (m *StructType) String() string { return proto.CompactTextString(m) } func (*StructType) ProtoMessage() {} func (*StructType) Descriptor() ([]byte, []int) { - return fileDescriptor_type_21d6699da980b19e, []int{1} + return fileDescriptor_type_d133eaa08ead4011, []int{1} } func (m *StructType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructType.Unmarshal(m, b) @@ -221,7 +221,7 @@ func (m *StructType_Field) Reset() { *m = StructType_Field{} } func (m *StructType_Field) String() string { return proto.CompactTextString(m) } func (*StructType_Field) ProtoMessage() {} func (*StructType_Field) Descriptor() ([]byte, []int) { - return fileDescriptor_type_21d6699da980b19e, []int{1, 0} + return fileDescriptor_type_d133eaa08ead4011, []int{1, 0} } func (m *StructType_Field) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StructType_Field.Unmarshal(m, b) @@ -262,9 +262,9 @@ func init() { proto.RegisterEnum("google.spanner.v1.TypeCode", TypeCode_name, TypeCode_value) } -func init() { proto.RegisterFile("google/spanner/v1/type.proto", fileDescriptor_type_21d6699da980b19e) } +func init() { proto.RegisterFile("google/spanner/v1/type.proto", fileDescriptor_type_d133eaa08ead4011) } -var fileDescriptor_type_21d6699da980b19e = []byte{ +var fileDescriptor_type_d133eaa08ead4011 = []byte{ // 444 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x8a, 0xd3, 0x40, 0x14, 0x86, 0x9d, 0x6d, 0xda, 0x6d, 0x4e, 0x51, 0xc6, 0x81, 0x65, 0xeb, 0xaa, 0x50, 0xd6, 0x9b, diff --git a/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer.pb.go b/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer.pb.go index ea86ef7f4..32c8fe803 100644 --- a/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer.pb.go @@ -41,7 +41,7 @@ func (m *GetGoogleServiceAccountRequest) Reset() { *m = GetGoogleService func (m *GetGoogleServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetGoogleServiceAccountRequest) ProtoMessage() {} func (*GetGoogleServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{0} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{0} } func (m *GetGoogleServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGoogleServiceAccountRequest.Unmarshal(m, b) @@ -82,7 +82,7 @@ func (m *CreateTransferJobRequest) Reset() { *m = CreateTransferJobReque func (m *CreateTransferJobRequest) String() string { return proto.CompactTextString(m) } func (*CreateTransferJobRequest) ProtoMessage() {} func (*CreateTransferJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{1} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{1} } func (m *CreateTransferJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTransferJobRequest.Unmarshal(m, b) @@ -139,7 +139,7 @@ func (m *UpdateTransferJobRequest) Reset() { *m = UpdateTransferJobReque func (m *UpdateTransferJobRequest) String() string { return proto.CompactTextString(m) } func (*UpdateTransferJobRequest) ProtoMessage() {} func (*UpdateTransferJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{2} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{2} } func (m *UpdateTransferJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateTransferJobRequest.Unmarshal(m, b) @@ -204,7 +204,7 @@ func (m *GetTransferJobRequest) Reset() { *m = GetTransferJobRequest{} } func (m *GetTransferJobRequest) String() string { return proto.CompactTextString(m) } func (*GetTransferJobRequest) ProtoMessage() {} func (*GetTransferJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{3} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{3} } func (m *GetTransferJobRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTransferJobRequest.Unmarshal(m, b) @@ -263,7 +263,7 @@ func (m *ListTransferJobsRequest) Reset() { *m = ListTransferJobsRequest func (m *ListTransferJobsRequest) String() string { return proto.CompactTextString(m) } func (*ListTransferJobsRequest) ProtoMessage() {} func (*ListTransferJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{4} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{4} } func (m *ListTransferJobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferJobsRequest.Unmarshal(m, b) @@ -319,7 +319,7 @@ func (m *ListTransferJobsResponse) Reset() { *m = ListTransferJobsRespon func (m *ListTransferJobsResponse) String() string { return proto.CompactTextString(m) } func (*ListTransferJobsResponse) ProtoMessage() {} func (*ListTransferJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{5} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{5} } func (m *ListTransferJobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTransferJobsResponse.Unmarshal(m, b) @@ -367,7 +367,7 @@ func (m *PauseTransferOperationRequest) Reset() { *m = PauseTransferOper func (m *PauseTransferOperationRequest) String() string { return proto.CompactTextString(m) } func (*PauseTransferOperationRequest) ProtoMessage() {} func (*PauseTransferOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{6} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{6} } func (m *PauseTransferOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PauseTransferOperationRequest.Unmarshal(m, b) @@ -408,7 +408,7 @@ func (m *ResumeTransferOperationRequest) Reset() { *m = ResumeTransferOp func (m *ResumeTransferOperationRequest) String() string { return proto.CompactTextString(m) } func (*ResumeTransferOperationRequest) ProtoMessage() {} func (*ResumeTransferOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_154adba6b3223554, []int{7} + return fileDescriptor_transfer_fe1aac113c6727f1, []int{7} } func (m *ResumeTransferOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResumeTransferOperationRequest.Unmarshal(m, b) @@ -749,10 +749,10 @@ var _StorageTransferService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/storagetransfer/v1/transfer.proto", fileDescriptor_transfer_154adba6b3223554) + proto.RegisterFile("google/storagetransfer/v1/transfer.proto", fileDescriptor_transfer_fe1aac113c6727f1) } -var fileDescriptor_transfer_154adba6b3223554 = []byte{ +var fileDescriptor_transfer_fe1aac113c6727f1 = []byte{ // 786 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdf, 0x4e, 0x13, 0x4f, 0x14, 0xce, 0xf0, 0xef, 0x07, 0x03, 0xfc, 0x84, 0x49, 0x2c, 0x4b, 0x91, 0xda, 0x2c, 0x49, 0xc5, diff --git a/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer_types.pb.go b/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer_types.pb.go index 3c1d3aa28..12911ab1a 100644 --- a/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer_types.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer_types.pb.go @@ -57,7 +57,7 @@ func (x TransferJob_Status) String() string { return proto.EnumName(TransferJob_Status_name, int32(x)) } func (TransferJob_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{9, 0} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{9, 0} } // The status of a TransferOperation. @@ -99,7 +99,7 @@ func (x TransferOperation_Status) String() string { return proto.EnumName(TransferOperation_Status_name, int32(x)) } func (TransferOperation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{13, 0} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{13, 0} } // Google service account @@ -115,7 +115,7 @@ func (m *GoogleServiceAccount) Reset() { *m = GoogleServiceAccount{} } func (m *GoogleServiceAccount) String() string { return proto.CompactTextString(m) } func (*GoogleServiceAccount) ProtoMessage() {} func (*GoogleServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{0} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{0} } func (m *GoogleServiceAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GoogleServiceAccount.Unmarshal(m, b) @@ -160,7 +160,7 @@ func (m *AwsAccessKey) Reset() { *m = AwsAccessKey{} } func (m *AwsAccessKey) String() string { return proto.CompactTextString(m) } func (*AwsAccessKey) ProtoMessage() {} func (*AwsAccessKey) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{1} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{1} } func (m *AwsAccessKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AwsAccessKey.Unmarshal(m, b) @@ -255,7 +255,7 @@ func (m *ObjectConditions) Reset() { *m = ObjectConditions{} } func (m *ObjectConditions) String() string { return proto.CompactTextString(m) } func (*ObjectConditions) ProtoMessage() {} func (*ObjectConditions) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{2} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{2} } func (m *ObjectConditions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ObjectConditions.Unmarshal(m, b) @@ -320,7 +320,7 @@ func (m *GcsData) Reset() { *m = GcsData{} } func (m *GcsData) String() string { return proto.CompactTextString(m) } func (*GcsData) ProtoMessage() {} func (*GcsData) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{3} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{3} } func (m *GcsData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GcsData.Unmarshal(m, b) @@ -368,7 +368,7 @@ func (m *AwsS3Data) Reset() { *m = AwsS3Data{} } func (m *AwsS3Data) String() string { return proto.CompactTextString(m) } func (*AwsS3Data) ProtoMessage() {} func (*AwsS3Data) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{4} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{4} } func (m *AwsS3Data) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AwsS3Data.Unmarshal(m, b) @@ -458,7 +458,7 @@ func (m *HttpData) Reset() { *m = HttpData{} } func (m *HttpData) String() string { return proto.CompactTextString(m) } func (*HttpData) ProtoMessage() {} func (*HttpData) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{5} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{5} } func (m *HttpData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HttpData.Unmarshal(m, b) @@ -507,7 +507,7 @@ func (m *TransferOptions) Reset() { *m = TransferOptions{} } func (m *TransferOptions) String() string { return proto.CompactTextString(m) } func (*TransferOptions) ProtoMessage() {} func (*TransferOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{6} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{6} } func (m *TransferOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferOptions.Unmarshal(m, b) @@ -579,7 +579,7 @@ func (m *TransferSpec) Reset() { *m = TransferSpec{} } func (m *TransferSpec) String() string { return proto.CompactTextString(m) } func (*TransferSpec) ProtoMessage() {} func (*TransferSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{7} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{7} } func (m *TransferSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferSpec.Unmarshal(m, b) @@ -602,27 +602,24 @@ var xxx_messageInfo_TransferSpec proto.InternalMessageInfo type isTransferSpec_DataSource interface { isTransferSpec_DataSource() } -type isTransferSpec_DataSink interface { - isTransferSpec_DataSink() -} type TransferSpec_GcsDataSource struct { GcsDataSource *GcsData `protobuf:"bytes,1,opt,name=gcs_data_source,json=gcsDataSource,proto3,oneof"` } + type TransferSpec_AwsS3DataSource struct { AwsS3DataSource *AwsS3Data `protobuf:"bytes,2,opt,name=aws_s3_data_source,json=awsS3DataSource,proto3,oneof"` } + type TransferSpec_HttpDataSource struct { HttpDataSource *HttpData `protobuf:"bytes,3,opt,name=http_data_source,json=httpDataSource,proto3,oneof"` } -type TransferSpec_GcsDataSink struct { - GcsDataSink *GcsData `protobuf:"bytes,4,opt,name=gcs_data_sink,json=gcsDataSink,proto3,oneof"` -} -func (*TransferSpec_GcsDataSource) isTransferSpec_DataSource() {} +func (*TransferSpec_GcsDataSource) isTransferSpec_DataSource() {} + func (*TransferSpec_AwsS3DataSource) isTransferSpec_DataSource() {} -func (*TransferSpec_HttpDataSource) isTransferSpec_DataSource() {} -func (*TransferSpec_GcsDataSink) isTransferSpec_DataSink() {} + +func (*TransferSpec_HttpDataSource) isTransferSpec_DataSource() {} func (m *TransferSpec) GetDataSource() isTransferSpec_DataSource { if m != nil { @@ -630,12 +627,6 @@ func (m *TransferSpec) GetDataSource() isTransferSpec_DataSource { } return nil } -func (m *TransferSpec) GetDataSink() isTransferSpec_DataSink { - if m != nil { - return m.DataSink - } - return nil -} func (m *TransferSpec) GetGcsDataSource() *GcsData { if x, ok := m.GetDataSource().(*TransferSpec_GcsDataSource); ok { @@ -658,6 +649,23 @@ func (m *TransferSpec) GetHttpDataSource() *HttpData { return nil } +type isTransferSpec_DataSink interface { + isTransferSpec_DataSink() +} + +type TransferSpec_GcsDataSink struct { + GcsDataSink *GcsData `protobuf:"bytes,4,opt,name=gcs_data_sink,json=gcsDataSink,proto3,oneof"` +} + +func (*TransferSpec_GcsDataSink) isTransferSpec_DataSink() {} + +func (m *TransferSpec) GetDataSink() isTransferSpec_DataSink { + if m != nil { + return m.DataSink + } + return nil +} + func (m *TransferSpec) GetGcsDataSink() *GcsData { if x, ok := m.GetDataSink().(*TransferSpec_GcsDataSink); ok { return x.GcsDataSink @@ -831,7 +839,7 @@ func (m *Schedule) Reset() { *m = Schedule{} } func (m *Schedule) String() string { return proto.CompactTextString(m) } func (*Schedule) ProtoMessage() {} func (*Schedule) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{8} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{8} } func (m *Schedule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Schedule.Unmarshal(m, b) @@ -912,7 +920,7 @@ func (m *TransferJob) Reset() { *m = TransferJob{} } func (m *TransferJob) String() string { return proto.CompactTextString(m) } func (*TransferJob) ProtoMessage() {} func (*TransferJob) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{9} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{9} } func (m *TransferJob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferJob.Unmarshal(m, b) @@ -1012,7 +1020,7 @@ func (m *ErrorLogEntry) Reset() { *m = ErrorLogEntry{} } func (m *ErrorLogEntry) String() string { return proto.CompactTextString(m) } func (*ErrorLogEntry) ProtoMessage() {} func (*ErrorLogEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{10} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{10} } func (m *ErrorLogEntry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorLogEntry.Unmarshal(m, b) @@ -1065,7 +1073,7 @@ func (m *ErrorSummary) Reset() { *m = ErrorSummary{} } func (m *ErrorSummary) String() string { return proto.CompactTextString(m) } func (*ErrorSummary) ProtoMessage() {} func (*ErrorSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{11} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{11} } func (m *ErrorSummary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorSummary.Unmarshal(m, b) @@ -1155,7 +1163,7 @@ func (m *TransferCounters) Reset() { *m = TransferCounters{} } func (m *TransferCounters) String() string { return proto.CompactTextString(m) } func (*TransferCounters) ProtoMessage() {} func (*TransferCounters) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{12} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{12} } func (m *TransferCounters) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferCounters.Unmarshal(m, b) @@ -1318,7 +1326,7 @@ func (m *TransferOperation) Reset() { *m = TransferOperation{} } func (m *TransferOperation) String() string { return proto.CompactTextString(m) } func (*TransferOperation) ProtoMessage() {} func (*TransferOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_transfer_types_21ff7ededba25812, []int{13} + return fileDescriptor_transfer_types_86dab7ad4ac5c425, []int{13} } func (m *TransferOperation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferOperation.Unmarshal(m, b) @@ -1421,10 +1429,10 @@ func init() { } func init() { - proto.RegisterFile("google/storagetransfer/v1/transfer_types.proto", fileDescriptor_transfer_types_21ff7ededba25812) + proto.RegisterFile("google/storagetransfer/v1/transfer_types.proto", fileDescriptor_transfer_types_86dab7ad4ac5c425) } -var fileDescriptor_transfer_types_21ff7ededba25812 = []byte{ +var fileDescriptor_transfer_types_86dab7ad4ac5c425 = []byte{ // 1767 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x6e, 0xdb, 0xc8, 0x15, 0x8e, 0x24, 0xc7, 0x96, 0x8e, 0x24, 0x4b, 0x9e, 0xcd, 0x7a, 0x65, 0x27, 0xd9, 0xa4, 0xf4, diff --git a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/resources.pb.go b/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/resources.pb.go index 78c8f9f0b..933fd59d5 100644 --- a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/resources.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/resources.pb.go @@ -36,7 +36,7 @@ func (m *UploadRef) Reset() { *m = UploadRef{} } func (m *UploadRef) String() string { return proto.CompactTextString(m) } func (*UploadRef) ProtoMessage() {} func (*UploadRef) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{0} + return fileDescriptor_resources_8db553b896211977, []int{0} } func (m *UploadRef) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UploadRef.Unmarshal(m, b) @@ -76,7 +76,7 @@ func (m *PhotoId) Reset() { *m = PhotoId{} } func (m *PhotoId) String() string { return proto.CompactTextString(m) } func (*PhotoId) ProtoMessage() {} func (*PhotoId) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{1} + return fileDescriptor_resources_8db553b896211977, []int{1} } func (m *PhotoId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PhotoId.Unmarshal(m, b) @@ -122,7 +122,7 @@ func (m *Level) Reset() { *m = Level{} } func (m *Level) String() string { return proto.CompactTextString(m) } func (*Level) ProtoMessage() {} func (*Level) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{2} + return fileDescriptor_resources_8db553b896211977, []int{2} } func (m *Level) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Level.Unmarshal(m, b) @@ -192,7 +192,7 @@ func (m *Pose) Reset() { *m = Pose{} } func (m *Pose) String() string { return proto.CompactTextString(m) } func (*Pose) ProtoMessage() {} func (*Pose) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{3} + return fileDescriptor_resources_8db553b896211977, []int{3} } func (m *Pose) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Pose.Unmarshal(m, b) @@ -268,7 +268,7 @@ func (m *Place) Reset() { *m = Place{} } func (m *Place) String() string { return proto.CompactTextString(m) } func (*Place) ProtoMessage() {} func (*Place) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{4} + return fileDescriptor_resources_8db553b896211977, []int{4} } func (m *Place) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Place.Unmarshal(m, b) @@ -309,7 +309,7 @@ func (m *Connection) Reset() { *m = Connection{} } func (m *Connection) String() string { return proto.CompactTextString(m) } func (*Connection) ProtoMessage() {} func (*Connection) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{5} + return fileDescriptor_resources_8db553b896211977, []int{5} } func (m *Connection) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Connection.Unmarshal(m, b) @@ -374,7 +374,7 @@ func (m *Photo) Reset() { *m = Photo{} } func (m *Photo) String() string { return proto.CompactTextString(m) } func (*Photo) ProtoMessage() {} func (*Photo) Descriptor() ([]byte, []int) { - return fileDescriptor_resources_3e1f0ecf29102852, []int{6} + return fileDescriptor_resources_8db553b896211977, []int{6} } func (m *Photo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Photo.Unmarshal(m, b) @@ -475,10 +475,10 @@ func init() { } func init() { - proto.RegisterFile("google/streetview/publish/v1/resources.proto", fileDescriptor_resources_3e1f0ecf29102852) + proto.RegisterFile("google/streetview/publish/v1/resources.proto", fileDescriptor_resources_8db553b896211977) } -var fileDescriptor_resources_3e1f0ecf29102852 = []byte{ +var fileDescriptor_resources_8db553b896211977 = []byte{ // 651 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdb, 0x6a, 0xdb, 0x4c, 0x10, 0xc6, 0xf1, 0x29, 0x1e, 0xf9, 0x3f, 0xb0, 0xff, 0x4f, 0x51, 0x4c, 0x43, 0x53, 0x85, 0x52, diff --git a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/rpcmessages.pb.go b/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/rpcmessages.pb.go index 12056a0ea..f3a330d1b 100644 --- a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/rpcmessages.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/rpcmessages.pb.go @@ -44,7 +44,7 @@ func (x PhotoView) String() string { return proto.EnumName(PhotoView_name, int32(x)) } func (PhotoView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{0} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{0} } // Request to create a photo. @@ -60,7 +60,7 @@ func (m *CreatePhotoRequest) Reset() { *m = CreatePhotoRequest{} } func (m *CreatePhotoRequest) String() string { return proto.CompactTextString(m) } func (*CreatePhotoRequest) ProtoMessage() {} func (*CreatePhotoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{0} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{0} } func (m *CreatePhotoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreatePhotoRequest.Unmarshal(m, b) @@ -109,7 +109,7 @@ func (m *GetPhotoRequest) Reset() { *m = GetPhotoRequest{} } func (m *GetPhotoRequest) String() string { return proto.CompactTextString(m) } func (*GetPhotoRequest) ProtoMessage() {} func (*GetPhotoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{1} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{1} } func (m *GetPhotoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPhotoRequest.Unmarshal(m, b) @@ -164,7 +164,7 @@ func (m *BatchGetPhotosRequest) Reset() { *m = BatchGetPhotosRequest{} } func (m *BatchGetPhotosRequest) String() string { return proto.CompactTextString(m) } func (*BatchGetPhotosRequest) ProtoMessage() {} func (*BatchGetPhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{2} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{2} } func (m *BatchGetPhotosRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchGetPhotosRequest.Unmarshal(m, b) @@ -212,7 +212,7 @@ func (m *BatchGetPhotosResponse) Reset() { *m = BatchGetPhotosResponse{} func (m *BatchGetPhotosResponse) String() string { return proto.CompactTextString(m) } func (*BatchGetPhotosResponse) ProtoMessage() {} func (*BatchGetPhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{3} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{3} } func (m *BatchGetPhotosResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchGetPhotosResponse.Unmarshal(m, b) @@ -256,7 +256,7 @@ func (m *PhotoResponse) Reset() { *m = PhotoResponse{} } func (m *PhotoResponse) String() string { return proto.CompactTextString(m) } func (*PhotoResponse) ProtoMessage() {} func (*PhotoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{4} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{4} } func (m *PhotoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PhotoResponse.Unmarshal(m, b) @@ -324,7 +324,7 @@ func (m *ListPhotosRequest) Reset() { *m = ListPhotosRequest{} } func (m *ListPhotosRequest) String() string { return proto.CompactTextString(m) } func (*ListPhotosRequest) ProtoMessage() {} func (*ListPhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{5} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{5} } func (m *ListPhotosRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListPhotosRequest.Unmarshal(m, b) @@ -389,7 +389,7 @@ func (m *ListPhotosResponse) Reset() { *m = ListPhotosResponse{} } func (m *ListPhotosResponse) String() string { return proto.CompactTextString(m) } func (*ListPhotosResponse) ProtoMessage() {} func (*ListPhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{6} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{6} } func (m *ListPhotosResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListPhotosResponse.Unmarshal(m, b) @@ -464,7 +464,7 @@ func (m *UpdatePhotoRequest) Reset() { *m = UpdatePhotoRequest{} } func (m *UpdatePhotoRequest) String() string { return proto.CompactTextString(m) } func (*UpdatePhotoRequest) ProtoMessage() {} func (*UpdatePhotoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{7} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{7} } func (m *UpdatePhotoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdatePhotoRequest.Unmarshal(m, b) @@ -512,7 +512,7 @@ func (m *BatchUpdatePhotosRequest) Reset() { *m = BatchUpdatePhotosReque func (m *BatchUpdatePhotosRequest) String() string { return proto.CompactTextString(m) } func (*BatchUpdatePhotosRequest) ProtoMessage() {} func (*BatchUpdatePhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{8} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{8} } func (m *BatchUpdatePhotosRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdatePhotosRequest.Unmarshal(m, b) @@ -553,7 +553,7 @@ func (m *BatchUpdatePhotosResponse) Reset() { *m = BatchUpdatePhotosResp func (m *BatchUpdatePhotosResponse) String() string { return proto.CompactTextString(m) } func (*BatchUpdatePhotosResponse) ProtoMessage() {} func (*BatchUpdatePhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{9} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{9} } func (m *BatchUpdatePhotosResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchUpdatePhotosResponse.Unmarshal(m, b) @@ -593,7 +593,7 @@ func (m *DeletePhotoRequest) Reset() { *m = DeletePhotoRequest{} } func (m *DeletePhotoRequest) String() string { return proto.CompactTextString(m) } func (*DeletePhotoRequest) ProtoMessage() {} func (*DeletePhotoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{10} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{10} } func (m *DeletePhotoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeletePhotoRequest.Unmarshal(m, b) @@ -633,7 +633,7 @@ func (m *BatchDeletePhotosRequest) Reset() { *m = BatchDeletePhotosReque func (m *BatchDeletePhotosRequest) String() string { return proto.CompactTextString(m) } func (*BatchDeletePhotosRequest) ProtoMessage() {} func (*BatchDeletePhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{11} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{11} } func (m *BatchDeletePhotosRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeletePhotosRequest.Unmarshal(m, b) @@ -673,7 +673,7 @@ func (m *BatchDeletePhotosResponse) Reset() { *m = BatchDeletePhotosResp func (m *BatchDeletePhotosResponse) String() string { return proto.CompactTextString(m) } func (*BatchDeletePhotosResponse) ProtoMessage() {} func (*BatchDeletePhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_rpcmessages_d38e067cf9604ca9, []int{12} + return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{12} } func (m *BatchDeletePhotosResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BatchDeletePhotosResponse.Unmarshal(m, b) @@ -718,10 +718,10 @@ func init() { } func init() { - proto.RegisterFile("google/streetview/publish/v1/rpcmessages.proto", fileDescriptor_rpcmessages_d38e067cf9604ca9) + proto.RegisterFile("google/streetview/publish/v1/rpcmessages.proto", fileDescriptor_rpcmessages_f5aa79e45963eccc) } -var fileDescriptor_rpcmessages_d38e067cf9604ca9 = []byte{ +var fileDescriptor_rpcmessages_f5aa79e45963eccc = []byte{ // 639 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x6e, 0xd3, 0x40, 0x14, 0xc5, 0x7d, 0xa4, 0xcd, 0xad, 0x4a, 0xcb, 0x40, 0x8b, 0x1b, 0x8a, 0x14, 0x19, 0x09, 0xa2, diff --git a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/streetview_publish.pb.go b/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/streetview_publish.pb.go index e8ced687b..8ef3084fc 100644 --- a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/streetview_publish.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/streetview_publish.pb.go @@ -488,10 +488,10 @@ var _StreetViewPublishService_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/streetview/publish/v1/streetview_publish.proto", fileDescriptor_streetview_publish_c124bcab571c3e8a) + proto.RegisterFile("google/streetview/publish/v1/streetview_publish.proto", fileDescriptor_streetview_publish_6fe4a239917591dc) } -var fileDescriptor_streetview_publish_c124bcab571c3e8a = []byte{ +var fileDescriptor_streetview_publish_6fe4a239917591dc = []byte{ // 533 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x15, 0x24, 0x10, 0xb8, 0x08, 0x69, 0x86, 0x55, 0x53, 0x3a, 0x24, 0x08, 0x12, 0xa0, diff --git a/vendor/google.golang.org/genproto/googleapis/type/color/color.pb.go b/vendor/google.golang.org/genproto/googleapis/type/color/color.pb.go index d55342f6a..82ba0399e 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/color/color.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/color/color.pb.go @@ -161,7 +161,7 @@ func (m *Color) Reset() { *m = Color{} } func (m *Color) String() string { return proto.CompactTextString(m) } func (*Color) ProtoMessage() {} func (*Color) Descriptor() ([]byte, []int) { - return fileDescriptor_color_da9ed1af0772a999, []int{0} + return fileDescriptor_color_8eaf754e0972446d, []int{0} } func (m *Color) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Color.Unmarshal(m, b) @@ -213,9 +213,9 @@ func init() { proto.RegisterType((*Color)(nil), "google.type.Color") } -func init() { proto.RegisterFile("google/type/color.proto", fileDescriptor_color_da9ed1af0772a999) } +func init() { proto.RegisterFile("google/type/color.proto", fileDescriptor_color_8eaf754e0972446d) } -var fileDescriptor_color_da9ed1af0772a999 = []byte{ +var fileDescriptor_color_8eaf754e0972446d = []byte{ // 224 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8f, 0x31, 0x4b, 0xc5, 0x30, 0x10, 0xc7, 0x49, 0xfb, 0xea, 0x70, 0x6f, 0x50, 0x82, 0x60, 0x50, 0x90, 0x87, 0xd3, 0x9b, 0x12, diff --git a/vendor/google.golang.org/genproto/googleapis/type/date/date.pb.go b/vendor/google.golang.org/genproto/googleapis/type/date/date.pb.go index feb17fe42..7cfd6ccb7 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/date/date.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/date/date.pb.go @@ -43,7 +43,7 @@ func (m *Date) Reset() { *m = Date{} } func (m *Date) String() string { return proto.CompactTextString(m) } func (*Date) ProtoMessage() {} func (*Date) Descriptor() ([]byte, []int) { - return fileDescriptor_date_1417e3cf3a81fa0e, []int{0} + return fileDescriptor_date_7d25862cee0f408d, []int{0} } func (m *Date) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Date.Unmarshal(m, b) @@ -88,9 +88,9 @@ func init() { proto.RegisterType((*Date)(nil), "google.type.Date") } -func init() { proto.RegisterFile("google/type/date.proto", fileDescriptor_date_1417e3cf3a81fa0e) } +func init() { proto.RegisterFile("google/type/date.proto", fileDescriptor_date_7d25862cee0f408d) } -var fileDescriptor_date_1417e3cf3a81fa0e = []byte{ +var fileDescriptor_date_7d25862cee0f408d = []byte{ // 172 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x4f, 0x49, 0x2c, 0x49, 0xd5, 0x2b, 0x28, 0xca, diff --git a/vendor/google.golang.org/genproto/googleapis/type/dayofweek/dayofweek.pb.go b/vendor/google.golang.org/genproto/googleapis/type/dayofweek/dayofweek.pb.go index 42b92379e..110cc7eb5 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/dayofweek/dayofweek.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/dayofweek/dayofweek.pb.go @@ -65,7 +65,7 @@ func (x DayOfWeek) String() string { return proto.EnumName(DayOfWeek_name, int32(x)) } func (DayOfWeek) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dayofweek_7c0e789205fdc297, []int{0} + return fileDescriptor_dayofweek_65556e97092f8975, []int{0} } func init() { @@ -73,10 +73,10 @@ func init() { } func init() { - proto.RegisterFile("google/type/dayofweek.proto", fileDescriptor_dayofweek_7c0e789205fdc297) + proto.RegisterFile("google/type/dayofweek.proto", fileDescriptor_dayofweek_65556e97092f8975) } -var fileDescriptor_dayofweek_7c0e789205fdc297 = []byte{ +var fileDescriptor_dayofweek_65556e97092f8975 = []byte{ // 235 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x4f, 0x49, 0xac, 0xcc, 0x4f, 0x2b, 0x4f, 0x4d, diff --git a/vendor/google.golang.org/genproto/googleapis/type/latlng/latlng.pb.go b/vendor/google.golang.org/genproto/googleapis/type/latlng/latlng.pb.go index 2fd90d437..d8e979b49 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/latlng/latlng.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/latlng/latlng.pb.go @@ -71,7 +71,7 @@ func (m *LatLng) Reset() { *m = LatLng{} } func (m *LatLng) String() string { return proto.CompactTextString(m) } func (*LatLng) ProtoMessage() {} func (*LatLng) Descriptor() ([]byte, []int) { - return fileDescriptor_latlng_a1204f65a3325fc3, []int{0} + return fileDescriptor_latlng_c1d6506011cbaf0c, []int{0} } func (m *LatLng) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatLng.Unmarshal(m, b) @@ -109,9 +109,9 @@ func init() { proto.RegisterType((*LatLng)(nil), "google.type.LatLng") } -func init() { proto.RegisterFile("google/type/latlng.proto", fileDescriptor_latlng_a1204f65a3325fc3) } +func init() { proto.RegisterFile("google/type/latlng.proto", fileDescriptor_latlng_c1d6506011cbaf0c) } -var fileDescriptor_latlng_a1204f65a3325fc3 = []byte{ +var fileDescriptor_latlng_c1d6506011cbaf0c = []byte{ // 165 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0xcf, 0x49, 0x2c, 0xc9, 0xc9, 0x4b, 0xd7, 0x2b, diff --git a/vendor/google.golang.org/genproto/googleapis/type/money/money.pb.go b/vendor/google.golang.org/genproto/googleapis/type/money/money.pb.go index 9187be69c..0b1596779 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/money/money.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/money/money.pb.go @@ -41,7 +41,7 @@ func (m *Money) Reset() { *m = Money{} } func (m *Money) String() string { return proto.CompactTextString(m) } func (*Money) ProtoMessage() {} func (*Money) Descriptor() ([]byte, []int) { - return fileDescriptor_money_18791ea938b3a377, []int{0} + return fileDescriptor_money_608c90f64d8c0d93, []int{0} } func (m *Money) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Money.Unmarshal(m, b) @@ -86,9 +86,9 @@ func init() { proto.RegisterType((*Money)(nil), "google.type.Money") } -func init() { proto.RegisterFile("google/type/money.proto", fileDescriptor_money_18791ea938b3a377) } +func init() { proto.RegisterFile("google/type/money.proto", fileDescriptor_money_608c90f64d8c0d93) } -var fileDescriptor_money_18791ea938b3a377 = []byte{ +var fileDescriptor_money_608c90f64d8c0d93 = []byte{ // 190 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0xcf, 0xcd, 0xcf, 0x4b, 0xad, 0xd4, 0x2b, 0x28, diff --git a/vendor/google.golang.org/genproto/googleapis/type/postaladdress/postal_address.pb.go b/vendor/google.golang.org/genproto/googleapis/type/postaladdress/postal_address.pb.go index 68ff4a2b7..3c2704b12 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/postaladdress/postal_address.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/postaladdress/postal_address.pb.go @@ -123,7 +123,7 @@ func (m *PostalAddress) Reset() { *m = PostalAddress{} } func (m *PostalAddress) String() string { return proto.CompactTextString(m) } func (*PostalAddress) ProtoMessage() {} func (*PostalAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_postal_address_51c2f9766dbf4352, []int{0} + return fileDescriptor_postal_address_dc3389450c08c04a, []int{0} } func (m *PostalAddress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostalAddress.Unmarshal(m, b) @@ -225,10 +225,10 @@ func init() { } func init() { - proto.RegisterFile("google/type/postal_address.proto", fileDescriptor_postal_address_51c2f9766dbf4352) + proto.RegisterFile("google/type/postal_address.proto", fileDescriptor_postal_address_dc3389450c08c04a) } -var fileDescriptor_postal_address_51c2f9766dbf4352 = []byte{ +var fileDescriptor_postal_address_dc3389450c08c04a = []byte{ // 338 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0x31, 0x6f, 0xea, 0x30, 0x10, 0xc7, 0x15, 0xf2, 0xe0, 0xc1, 0x05, 0xf4, 0x24, 0xbf, 0x25, 0xea, 0x50, 0x52, 0xba, 0x30, diff --git a/vendor/google.golang.org/genproto/googleapis/type/timeofday/timeofday.pb.go b/vendor/google.golang.org/genproto/googleapis/type/timeofday/timeofday.pb.go index 7a2122b25..0ab10a748 100644 --- a/vendor/google.golang.org/genproto/googleapis/type/timeofday/timeofday.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/type/timeofday/timeofday.pb.go @@ -41,7 +41,7 @@ func (m *TimeOfDay) Reset() { *m = TimeOfDay{} } func (m *TimeOfDay) String() string { return proto.CompactTextString(m) } func (*TimeOfDay) ProtoMessage() {} func (*TimeOfDay) Descriptor() ([]byte, []int) { - return fileDescriptor_timeofday_58c0e62d134325fe, []int{0} + return fileDescriptor_timeofday_99fd81ba301b1e70, []int{0} } func (m *TimeOfDay) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TimeOfDay.Unmarshal(m, b) @@ -94,10 +94,10 @@ func init() { } func init() { - proto.RegisterFile("google/type/timeofday.proto", fileDescriptor_timeofday_58c0e62d134325fe) + proto.RegisterFile("google/type/timeofday.proto", fileDescriptor_timeofday_99fd81ba301b1e70) } -var fileDescriptor_timeofday_58c0e62d134325fe = []byte{ +var fileDescriptor_timeofday_99fd81ba301b1e70 = []byte{ // 198 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0xc9, 0xcc, 0x4d, 0xcd, 0x4f, 0x4b, 0x49, diff --git a/vendor/google.golang.org/genproto/googleapis/watcher/v1/watch.pb.go b/vendor/google.golang.org/genproto/googleapis/watcher/v1/watch.pb.go index 2babad420..6490c08b6 100644 --- a/vendor/google.golang.org/genproto/googleapis/watcher/v1/watch.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/watcher/v1/watch.pb.go @@ -61,7 +61,7 @@ func (x Change_State) String() string { return proto.EnumName(Change_State_name, int32(x)) } func (Change_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_watch_f784578f17c1fdc6, []int{2, 0} + return fileDescriptor_watch_40ce6762a23e7042, []int{2, 0} } // The message used by the client to register interest in an entity. @@ -130,7 +130,7 @@ func (m *Request) Reset() { *m = Request{} } func (m *Request) String() string { return proto.CompactTextString(m) } func (*Request) ProtoMessage() {} func (*Request) Descriptor() ([]byte, []int) { - return fileDescriptor_watch_f784578f17c1fdc6, []int{0} + return fileDescriptor_watch_40ce6762a23e7042, []int{0} } func (m *Request) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Request.Unmarshal(m, b) @@ -177,7 +177,7 @@ func (m *ChangeBatch) Reset() { *m = ChangeBatch{} } func (m *ChangeBatch) String() string { return proto.CompactTextString(m) } func (*ChangeBatch) ProtoMessage() {} func (*ChangeBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_watch_f784578f17c1fdc6, []int{1} + return fileDescriptor_watch_40ce6762a23e7042, []int{1} } func (m *ChangeBatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ChangeBatch.Unmarshal(m, b) @@ -234,7 +234,7 @@ func (m *Change) Reset() { *m = Change{} } func (m *Change) String() string { return proto.CompactTextString(m) } func (*Change) ProtoMessage() {} func (*Change) Descriptor() ([]byte, []int) { - return fileDescriptor_watch_f784578f17c1fdc6, []int{2} + return fileDescriptor_watch_40ce6762a23e7042, []int{2} } func (m *Change) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Change.Unmarshal(m, b) @@ -398,10 +398,10 @@ var _Watcher_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor_watch_f784578f17c1fdc6) + proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor_watch_40ce6762a23e7042) } -var fileDescriptor_watch_f784578f17c1fdc6 = []byte{ +var fileDescriptor_watch_40ce6762a23e7042 = []byte{ // 449 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xdd, 0x6e, 0xd3, 0x30, 0x14, 0xc6, 0xdd, 0x92, 0xd2, 0xd3, 0x31, 0x75, 0x16, 0x43, 0x69, 0x19, 0x10, 0x85, 0x9b, 0x5c, diff --git a/vendor/google.golang.org/genproto/internal/kokoro/check_incompat_changes.sh b/vendor/google.golang.org/genproto/internal/kokoro/check_incompat_changes.sh new file mode 100755 index 000000000..c185f3eaa --- /dev/null +++ b/vendor/google.golang.org/genproto/internal/kokoro/check_incompat_changes.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# Display commands being run +set -x + +# Only run apidiff checks on go1.11 (we only need it once). +# TODO(deklerk) We should pass an environment variable from kokoro to decide +# this logic instead. +if [[ `go version` != *"go1.11"* ]]; then + exit 0 +fi + +try3() { eval "$*" || eval "$*" || eval "$*"; } + +try3 go get -u golang.org/x/exp/cmd/apidiff + +# We compare against master@HEAD. This is unfortunate in some cases: if you're +# working on an out-of-date branch, and master gets some new feature (that has +# nothing to do with your work on your branch), you'll get an error message. +# Thankfully the fix is quite simple: rebase your branch. +git clone https://github.com/google/go-genproto /tmp/genproto + +V1_DIRS=`find . -type d -regex '.*v1$'` +V1_SUBDIRS=`find . -type d -regex '.*v1\/.*'` +for dir in $V1_DIRS $V1_SUBDIRS; do + # turns things like ./foo/bar into foo/bar + dir_without_junk=`echo $dir | sed -n "s#\(\.\/\)\(.*\)#\2#p"` + pkg="google.golang.org/genproto/$dir_without_junk" + echo "Testing $pkg" + + cd /tmp/genproto + apidiff -w /tmp/pkg.master $pkg + cd - > /dev/null + + # TODO(deklerk) there's probably a nicer way to do this that doesn't require + # two invocations + if ! apidiff -incompatible /tmp/pkg.master $pkg | (! read); then + apidiff -incompatible /tmp/pkg.master $pkg + exit 1 + fi +done diff --git a/vendor/google.golang.org/genproto/internal/kokoro/test.sh b/vendor/google.golang.org/genproto/internal/kokoro/test.sh new file mode 100755 index 000000000..23fdc2b18 --- /dev/null +++ b/vendor/google.golang.org/genproto/internal/kokoro/test.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Fail on any error +set -eo pipefail + +# Display commands being run +set -x + +# cd to project dir on Kokoro instance +cd github/go-genproto + +go version + +# Set $GOPATH +export GOPATH="$HOME/go" +export GENPROTO_HOME=$GOPATH/src/google.golang.org/genproto +export PATH="$GOPATH/bin:$PATH" +mkdir -p $GENPROTO_HOME + +# Move code into $GOPATH and get dependencies +git clone . $GENPROTO_HOME +cd $GENPROTO_HOME + +try3() { eval "$*" || eval "$*" || eval "$*"; } +try3 go get -v -t ./... + +./internal/kokoro/vet.sh +./internal/kokoro/check_incompat_changes.sh + +# Run tests and tee output to log file, to be pushed to GCS as artifact. +go test -race -v ./... 2>&1 | tee $KOKORO_ARTIFACTS_DIR/$KOKORO_GERRIT_CHANGE_NUMBER.txt diff --git a/vendor/google.golang.org/genproto/internal/kokoro/trampoline.sh b/vendor/google.golang.org/genproto/internal/kokoro/trampoline.sh new file mode 100644 index 000000000..ba17ce014 --- /dev/null +++ b/vendor/google.golang.org/genproto/internal/kokoro/trampoline.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# 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 +# +# http://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. +set -eo pipefail +# Always run the cleanup script, regardless of the success of bouncing into +# the container. +function cleanup() { + chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + echo "cleanup"; +} +trap cleanup EXIT +python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/vendor/google.golang.org/genproto/internal/kokoro/vet.sh b/vendor/google.golang.org/genproto/internal/kokoro/vet.sh new file mode 100755 index 000000000..2c38fc129 --- /dev/null +++ b/vendor/google.golang.org/genproto/internal/kokoro/vet.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# Fail on any error +set -eo pipefail + +# Display commands being run +set -x + +# Only run the linter on go1.11, since it needs type aliases (and we only care +# about its output once). +# TODO(deklerk) We should pass an environment variable from kokoro to decide +# this logic instead. +if [[ `go version` != *"go1.11"* ]]; then + exit 0 +fi + +pwd + +try3() { eval "$*" || eval "$*" || eval "$*"; } + +try3 go get -u \ + golang.org/x/lint/golint \ + golang.org/x/tools/cmd/goimports \ + golang.org/x/lint/golint \ + honnef.co/go/tools/cmd/staticcheck + +# Look at all .go files (ignoring .pb.go files) and make sure they have a Copyright. Fail if any don't. +git ls-files "*[^.pb].go" | xargs grep -L "\(Copyright [0-9]\{4,\}\)" 2>&1 | tee /dev/stderr | (! read) +gofmt -s -d -l . 2>&1 | tee /dev/stderr | (! read) +goimports -l . 2>&1 | tee /dev/stderr | (! read) + +# No need to golint / staticcheck when it's just proto-generated files diff --git a/vendor/google.golang.org/genproto/protobuf/api/api.pb.go b/vendor/google.golang.org/genproto/protobuf/api/api.pb.go index 617934549..51c709274 100644 --- a/vendor/google.golang.org/genproto/protobuf/api/api.pb.go +++ b/vendor/google.golang.org/genproto/protobuf/api/api.pb.go @@ -75,7 +75,7 @@ func (m *Api) Reset() { *m = Api{} } func (m *Api) String() string { return proto.CompactTextString(m) } func (*Api) ProtoMessage() {} func (*Api) Descriptor() ([]byte, []int) { - return fileDescriptor_api_7a06bc78ea9d5395, []int{0} + return fileDescriptor_api_3a57081c831903d2, []int{0} } func (m *Api) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Api.Unmarshal(m, b) @@ -169,7 +169,7 @@ func (m *Method) Reset() { *m = Method{} } func (m *Method) String() string { return proto.CompactTextString(m) } func (*Method) ProtoMessage() {} func (*Method) Descriptor() ([]byte, []int) { - return fileDescriptor_api_7a06bc78ea9d5395, []int{1} + return fileDescriptor_api_3a57081c831903d2, []int{1} } func (m *Method) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Method.Unmarshal(m, b) @@ -331,7 +331,7 @@ func (m *Mixin) Reset() { *m = Mixin{} } func (m *Mixin) String() string { return proto.CompactTextString(m) } func (*Mixin) ProtoMessage() {} func (*Mixin) Descriptor() ([]byte, []int) { - return fileDescriptor_api_7a06bc78ea9d5395, []int{2} + return fileDescriptor_api_3a57081c831903d2, []int{2} } func (m *Mixin) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mixin.Unmarshal(m, b) @@ -371,9 +371,9 @@ func init() { proto.RegisterType((*Mixin)(nil), "google.protobuf.Mixin") } -func init() { proto.RegisterFile("google/protobuf/api.proto", fileDescriptor_api_7a06bc78ea9d5395) } +func init() { proto.RegisterFile("google/protobuf/api.proto", fileDescriptor_api_3a57081c831903d2) } -var fileDescriptor_api_7a06bc78ea9d5395 = []byte{ +var fileDescriptor_api_3a57081c831903d2 = []byte{ // 432 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcf, 0x8e, 0xd3, 0x30, 0x10, 0xc6, 0x95, 0xa4, 0x4d, 0x17, 0xaf, 0xe8, 0x82, 0x91, 0xc0, 0xf4, 0xb0, 0x8a, 0x56, 0x1c, diff --git a/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go b/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go index f7059620b..86886693f 100644 --- a/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go +++ b/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go @@ -86,57 +86,49 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // describe the updated values, the API ignores the values of all // fields not covered by the mask. // -// If a repeated field is specified for an update operation, the existing -// repeated values in the target resource will be overwritten by the new values. -// Note that a repeated field is only allowed in the last position of a `paths` -// string. +// If a repeated field is specified for an update operation, new values will +// be appended to the existing repeated field in the target resource. Note that +// a repeated field is only allowed in the last position of a `paths` string. // // If a sub-message is specified in the last position of the field mask for an -// update operation, then the existing sub-message in the target resource is -// overwritten. Given the target message: +// update operation, then new value will be merged into the existing sub-message +// in the target resource. +// +// For example, given the target message: // // f { // b { -// d : 1 -// x : 2 +// d: 1 +// x: 2 // } -// c : 1 +// c: [1] // } // // And an update message: // // f { // b { -// d : 10 +// d: 10 // } +// c: [2] // } // // then if the field mask is: // -// paths: "f.b" +// paths: ["f.b", "f.c"] // // then the result will be: // // f { // b { -// d : 10 +// d: 10 +// x: 2 // } -// c : 1 +// c: [1, 2] // } // -// However, if the update mask was: -// -// paths: "f.b.d" -// -// then the result would be: -// -// f { -// b { -// d : 10 -// x : 2 -// } -// c : 1 -// } +// An implementation may provide options to override this default behavior for +// repeated and message fields. // // In order to reset a field's value to the default, the field must // be in the mask and set to the default value in the provided resource. @@ -237,7 +229,7 @@ func (m *FieldMask) Reset() { *m = FieldMask{} } func (m *FieldMask) String() string { return proto.CompactTextString(m) } func (*FieldMask) ProtoMessage() {} func (*FieldMask) Descriptor() ([]byte, []int) { - return fileDescriptor_field_mask_56ec45e1ddac5c77, []int{0} + return fileDescriptor_field_mask_02a8b0c0831edcce, []int{0} } func (m *FieldMask) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FieldMask.Unmarshal(m, b) @@ -269,20 +261,20 @@ func init() { } func init() { - proto.RegisterFile("google/protobuf/field_mask.proto", fileDescriptor_field_mask_56ec45e1ddac5c77) + proto.RegisterFile("google/protobuf/field_mask.proto", fileDescriptor_field_mask_02a8b0c0831edcce) } -var fileDescriptor_field_mask_56ec45e1ddac5c77 = []byte{ - // 171 bytes of a gzipped FileDescriptorProto +var fileDescriptor_field_mask_02a8b0c0831edcce = []byte{ + // 175 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcb, 0x4c, 0xcd, 0x49, 0x89, 0xcf, 0x4d, 0x2c, 0xce, 0xd6, 0x03, 0x8b, 0x09, 0xf1, 0x43, 0x54, 0xe8, 0xc1, 0x54, 0x28, 0x29, 0x72, 0x71, 0xba, 0x81, 0x14, 0xf9, 0x26, 0x16, 0x67, 0x0b, 0x89, 0x70, 0xb1, 0x16, - 0x24, 0x96, 0x64, 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x06, 0x41, 0x38, 0x4e, 0x9d, 0x8c, + 0x24, 0x96, 0x64, 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x06, 0x41, 0x38, 0x4e, 0x3d, 0x8c, 0x5c, 0xc2, 0xc9, 0xf9, 0xb9, 0x7a, 0x68, 0x5a, 0x9d, 0xf8, 0xe0, 0x1a, 0x03, 0x40, 0x42, 0x01, 0x8c, 0x51, 0x96, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, - 0xe9, 0xa9, 0x79, 0x60, 0x0d, 0xd8, 0xdc, 0x64, 0x8d, 0x60, 0x2e, 0x62, 0x62, 0x76, 0x0f, 0x70, - 0x5a, 0xc5, 0x24, 0xe7, 0x0e, 0x31, 0x21, 0x00, 0xaa, 0x5a, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x3b, - 0x2f, 0xbf, 0x3c, 0x2f, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x6c, 0x8c, 0x31, 0x20, 0x00, - 0x00, 0xff, 0xff, 0x5a, 0xdb, 0x3a, 0xc0, 0xea, 0x00, 0x00, 0x00, + 0xe9, 0xa9, 0x79, 0x60, 0x0d, 0xd8, 0xdc, 0x64, 0x8d, 0x60, 0xfe, 0x60, 0x64, 0x5c, 0xc4, 0xc4, + 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x48, 0x00, 0x54, 0x83, 0x5e, 0x78, 0x6a, + 0x4e, 0x8e, 0x77, 0x5e, 0x7e, 0x79, 0x5e, 0x48, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x24, + 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xda, 0xb7, 0xa8, 0xed, 0x00, 0x00, 0x00, } diff --git a/vendor/google.golang.org/genproto/protobuf/ptype/type.pb.go b/vendor/google.golang.org/genproto/protobuf/ptype/type.pb.go index 6a88e1d8c..519faab82 100644 --- a/vendor/google.golang.org/genproto/protobuf/ptype/type.pb.go +++ b/vendor/google.golang.org/genproto/protobuf/ptype/type.pb.go @@ -43,7 +43,7 @@ func (x Syntax) String() string { return proto.EnumName(Syntax_name, int32(x)) } func (Syntax) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{0} + return fileDescriptor_type_de958d9f8682c896, []int{0} } // Basic field types. @@ -137,7 +137,7 @@ func (x Field_Kind) String() string { return proto.EnumName(Field_Kind_name, int32(x)) } func (Field_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{1, 0} + return fileDescriptor_type_de958d9f8682c896, []int{1, 0} } // Whether a field is optional, required, or repeated. @@ -171,7 +171,7 @@ func (x Field_Cardinality) String() string { return proto.EnumName(Field_Cardinality_name, int32(x)) } func (Field_Cardinality) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{1, 1} + return fileDescriptor_type_de958d9f8682c896, []int{1, 1} } // A protocol buffer message type. @@ -197,7 +197,7 @@ func (m *Type) Reset() { *m = Type{} } func (m *Type) String() string { return proto.CompactTextString(m) } func (*Type) ProtoMessage() {} func (*Type) Descriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{0} + return fileDescriptor_type_de958d9f8682c896, []int{0} } func (m *Type) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Type.Unmarshal(m, b) @@ -292,7 +292,7 @@ func (m *Field) Reset() { *m = Field{} } func (m *Field) String() string { return proto.CompactTextString(m) } func (*Field) ProtoMessage() {} func (*Field) Descriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{1} + return fileDescriptor_type_de958d9f8682c896, []int{1} } func (m *Field) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Field.Unmarshal(m, b) @@ -403,7 +403,7 @@ func (m *Enum) Reset() { *m = Enum{} } func (m *Enum) String() string { return proto.CompactTextString(m) } func (*Enum) ProtoMessage() {} func (*Enum) Descriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{2} + return fileDescriptor_type_de958d9f8682c896, []int{2} } func (m *Enum) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Enum.Unmarshal(m, b) @@ -475,7 +475,7 @@ func (m *EnumValue) Reset() { *m = EnumValue{} } func (m *EnumValue) String() string { return proto.CompactTextString(m) } func (*EnumValue) ProtoMessage() {} func (*EnumValue) Descriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{3} + return fileDescriptor_type_de958d9f8682c896, []int{3} } func (m *EnumValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnumValue.Unmarshal(m, b) @@ -538,7 +538,7 @@ func (m *Option) Reset() { *m = Option{} } func (m *Option) String() string { return proto.CompactTextString(m) } func (*Option) ProtoMessage() {} func (*Option) Descriptor() ([]byte, []int) { - return fileDescriptor_type_10c42822293fcdc4, []int{4} + return fileDescriptor_type_de958d9f8682c896, []int{4} } func (m *Option) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Option.Unmarshal(m, b) @@ -583,9 +583,9 @@ func init() { proto.RegisterEnum("google.protobuf.Field_Cardinality", Field_Cardinality_name, Field_Cardinality_value) } -func init() { proto.RegisterFile("google/protobuf/type.proto", fileDescriptor_type_10c42822293fcdc4) } +func init() { proto.RegisterFile("google/protobuf/type.proto", fileDescriptor_type_de958d9f8682c896) } -var fileDescriptor_type_10c42822293fcdc4 = []byte{ +var fileDescriptor_type_de958d9f8682c896 = []byte{ // 810 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x8e, 0xda, 0x56, 0x14, 0x8e, 0x8d, 0xf1, 0xe0, 0xc3, 0xc0, 0xdc, 0xdc, 0x44, 0x89, 0x33, 0x91, 0x52, 0x44, 0xbb, diff --git a/vendor/google.golang.org/genproto/protobuf/source_context/source_context.pb.go b/vendor/google.golang.org/genproto/protobuf/source_context/source_context.pb.go index 67a8873c1..c073ffb6b 100644 --- a/vendor/google.golang.org/genproto/protobuf/source_context/source_context.pb.go +++ b/vendor/google.golang.org/genproto/protobuf/source_context/source_context.pb.go @@ -33,7 +33,7 @@ func (m *SourceContext) Reset() { *m = SourceContext{} } func (m *SourceContext) String() string { return proto.CompactTextString(m) } func (*SourceContext) ProtoMessage() {} func (*SourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_source_context_c4575de8496ee6ca, []int{0} + return fileDescriptor_source_context_4ade4e806de19b22, []int{0} } func (m *SourceContext) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceContext.Unmarshal(m, b) @@ -65,10 +65,10 @@ func init() { } func init() { - proto.RegisterFile("google/protobuf/source_context.proto", fileDescriptor_source_context_c4575de8496ee6ca) + proto.RegisterFile("google/protobuf/source_context.proto", fileDescriptor_source_context_4ade4e806de19b22) } -var fileDescriptor_source_context_c4575de8496ee6ca = []byte{ +var fileDescriptor_source_context_4ade4e806de19b22 = []byte{ // 184 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xce, 0x2f, 0x2d, -- GitLab